diff --git a/404.html b/404.html index e105049..4f87901 100644 --- a/404.html +++ b/404.html @@ -20,7 +20,7 @@ Grafana Debugger | Monitoring Artist - + diff --git a/assets/Default-643eb6d5.js b/assets/Default-bfba87ab.js similarity index 98% rename from assets/Default-643eb6d5.js rename to assets/Default-bfba87ab.js index 98a08ad..7023432 100644 --- a/assets/Default-643eb6d5.js +++ b/assets/Default-bfba87ab.js @@ -1 +1 @@ -import{p as R,i as ee,c as u,r as te,a as U,g as ce,s as B,o as de,b as ve,d as De,e as Fe,f as Oe,h as me,j as P,k as je,l as N,m as a,u as fe,n as ge,q as he,t as ye,w as b,v as Ue,x as ae,y as le,z as be,A as q,B as qe,C as Ge,D as K,E as Ke,F as Ze,G as pe,H as Xe,I as T,J as M}from"./index-5de8a41c.js";import{u as _e,m as G,a as X,b as E,c as xe,d as Se,e as Ve,f as ke,g as Ie,h as we,i as Te,V as Ye,j as Q,k as Je,l as We,n as D,o as Qe,p as et,q as tt,r as C}from"./VRow-a513640b.js";import{u as Ce}from"./ssrBoot-48bd8e84.js";const Z=Symbol.for("vuetify:layout"),Be=Symbol.for("vuetify:layout-item"),ue=1e3,at=R({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),$e=R({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function lt(){const e=ee(Z);if(!e)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:e.getLayoutItem,mainRect:e.mainRect,mainStyles:e.mainStyles}}function Pe(e){const n=ee(Z);if(!n)throw new Error("[Vuetify] Could not find injected layout");const t=e.id??`layout-item-${De()}`,s=ce("useLayoutItem");ve(Be,{id:t});const o=B(!1);Fe(()=>o.value=!0),Oe(()=>o.value=!1);const{layoutItemStyles:l,layoutItemScrimStyles:i}=n.register(s,{...e,active:u(()=>o.value?!1:e.active.value),id:t});return me(()=>n.unregister(t)),{layoutItemStyles:l,layoutRect:n.layoutRect,layoutItemScrimStyles:i}}const ot=(e,n,t,s)=>{let o={top:0,left:0,right:0,bottom:0};const l=[{id:"",layer:{...o}}];for(const i of e){const c=n.get(i),g=t.get(i),h=s.get(i);if(!c||!g||!h)continue;const d={...o,[c.value]:parseInt(o[c.value],10)+(h.value?parseInt(g.value,10):0)};l.push({id:i,layer:d}),o=d}return l};function nt(e){const n=ee(Z,null),t=u(()=>n?n.rootZIndex.value-100:ue),s=te([]),o=U(new Map),l=U(new Map),i=U(new Map),c=U(new Map),g=U(new Map),{resizeRef:h,contentRect:d}=_e(),S=u(()=>{const f=new Map,V=e.overlaps??[];for(const r of V.filter(_=>_.includes(":"))){const[_,p]=r.split(":");if(!s.value.includes(_)||!s.value.includes(p))continue;const $=o.get(_),H=o.get(p),F=l.get(_),O=l.get(p);!$||!H||!F||!O||(f.set(p,{position:$.value,amount:parseInt(F.value,10)}),f.set(_,{position:H.value,amount:-parseInt(O.value,10)}))}return f}),y=u(()=>{const f=[...new Set([...i.values()].map(r=>r.value))].sort((r,_)=>r-_),V=[];for(const r of f){const _=s.value.filter(p=>{var $;return(($=i.get(p))==null?void 0:$.value)===r});V.push(..._)}return ot(V,o,l,c)}),v=u(()=>!Array.from(g.values()).some(f=>f.value)),x=u(()=>y.value[y.value.length-1].layer),z=u(()=>({"--v-layout-left":P(x.value.left),"--v-layout-right":P(x.value.right),"--v-layout-top":P(x.value.top),"--v-layout-bottom":P(x.value.bottom),...v.value?void 0:{transition:"none"}})),I=u(()=>y.value.slice(1).map((f,V)=>{let{id:r}=f;const{layer:_}=y.value[V],p=l.get(r),$=o.get(r);return{id:r,..._,size:Number(p.value),position:$.value}})),m=f=>I.value.find(V=>V.id===f),k=ce("createLayout"),A=B(!1);de(()=>{A.value=!0}),ve(Z,{register:(f,V)=>{let{id:r,order:_,position:p,layoutSize:$,elementSize:H,active:F,disableTransitions:O,absolute:He}=V;i.set(r,_),o.set(r,p),l.set(r,$),c.set(r,F),O&&g.set(r,O);const oe=je(Be,k==null?void 0:k.vnode).indexOf(f);oe>-1?s.value.splice(oe,0,r):s.value.push(r);const ne=u(()=>I.value.findIndex(j=>j.id===r)),Y=u(()=>t.value+y.value.length*2-ne.value*2),Me=u(()=>{const j=p.value==="left"||p.value==="right",J=p.value==="right",Ee=p.value==="bottom",se={[p.value]:0,zIndex:Y.value,transform:`translate${j?"X":"Y"}(${(F.value?0:-110)*(J||Ee?-1:1)}%)`,position:He.value||t.value!==ue?"absolute":"fixed",...v.value?void 0:{transition:"none"}};if(!A.value)return se;const w=I.value[ne.value];if(!w)throw new Error(`[Vuetify] Could not find layout item "${r}"`);const W=S.value.get(r);return W&&(w[W.position]+=W.amount),{...se,height:j?`calc(100% - ${w.top}px - ${w.bottom}px)`:H.value?`${H.value}px`:void 0,left:J?void 0:`${w.left}px`,right:J?`${w.right}px`:void 0,top:p.value!=="bottom"?`${w.top}px`:void 0,bottom:p.value!=="top"?`${w.bottom}px`:void 0,width:j?H.value?`${H.value}px`:void 0:`calc(100% - ${w.left}px - ${w.right}px)`}}),Ne=u(()=>({zIndex:Y.value-1}));return{layoutItemStyles:Me,layoutItemScrimStyles:Ne,zIndex:Y}},unregister:f=>{i.delete(f),o.delete(f),l.delete(f),c.delete(f),g.delete(f),s.value=s.value.filter(V=>V!==f)},mainRect:x,mainStyles:z,getLayoutItem:m,items:I,layoutRect:d,rootZIndex:t});const L=u(()=>["v-layout",{"v-layout--full-height":e.fullHeight}]),Le=u(()=>({zIndex:n?t.value:void 0,position:n?"relative":void 0,overflow:n?"hidden":void 0}));return{layoutClasses:L,layoutStyles:Le,getLayoutItem:m,items:I,layoutRect:d,layoutRef:h}}const st=R({scrollable:Boolean,...G(),...X({tag:"main"})},"VMain"),ut=N()({name:"VMain",props:st(),setup(e,n){let{slots:t}=n;const{mainStyles:s}=lt(),{ssrBootStyles:o}=Ce();return E(()=>a(e.tag,{class:["v-main",{"v-main--scrollable":e.scrollable},e.class],style:[s.value,o.value,e.style]},{default:()=>{var l,i;return[e.scrollable?a("div",{class:"v-main__scroller"},[(l=t.default)==null?void 0:l.call(t)]):(i=t.default)==null?void 0:i.call(t)]}})),{}}}),it={__name:"View",setup(e){const n=fe();function t(){return n.global.current.value.dark?"bg-grey-darken-4":"bg-white"}return(s,o)=>{const l=ge("router-view");return he(),ye(ut,{class:Ue(t())},{default:b(()=>[a(l)]),_:1},8,["class"])}}};const rt=R({...G(),...at({fullHeight:!0}),...ae()},"VApp"),ct=N()({name:"VApp",props:rt(),setup(e,n){let{slots:t}=n;const s=le(e),{layoutClasses:o,getLayoutItem:l,items:i,layoutRef:c}=nt(e),{rtlClasses:g}=be();return E(()=>{var h;return a("div",{ref:c,class:["v-application",s.themeClasses.value,o.value,g.value,e.class],style:[e.style]},[a("div",{class:"v-application__wrap"},[(h=t.default)==null?void 0:h.call(t)])])}),{getLayoutItem:l,items:i,theme:s}}});const Re=R({text:String,...G(),...X()},"VToolbarTitle"),ze=N()({name:"VToolbarTitle",props:Re(),setup(e,n){let{slots:t}=n;return E(()=>{const s=!!(t.default||t.text||e.text);return a(e.tag,{class:["v-toolbar-title",e.class],style:e.style},{default:()=>{var o;return[s&&a("div",{class:"v-toolbar-title__placeholder"},[t.text?t.text():e.text,(o=t.default)==null?void 0:o.call(t)])]}})}),{}}}),dt=[null,"prominent","default","comfortable","compact"],Ae=R({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:e=>dt.includes(e)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...xe(),...G(),...Se(),...Ve(),...X({tag:"header"}),...ae()},"VToolbar"),ie=N()({name:"VToolbar",props:Ae(),setup(e,n){var v;let{slots:t}=n;const{backgroundColorClasses:s,backgroundColorStyles:o}=ke(q(e,"color")),{borderClasses:l}=Ie(e),{elevationClasses:i}=we(e),{roundedClasses:c}=Te(e),{themeClasses:g}=le(e),{rtlClasses:h}=be(),d=B(!!(e.extended||(v=t.extension)!=null&&v.call(t))),S=u(()=>parseInt(Number(e.height)+(e.density==="prominent"?Number(e.height):0)-(e.density==="comfortable"?8:0)-(e.density==="compact"?16:0),10)),y=u(()=>d.value?parseInt(Number(e.extensionHeight)+(e.density==="prominent"?Number(e.extensionHeight):0)-(e.density==="comfortable"?4:0)-(e.density==="compact"?8:0),10):0);return qe({VBtn:{variant:"text"}}),E(()=>{var m;const x=!!(e.title||t.title),z=!!(t.image||e.image),I=(m=t.extension)==null?void 0:m.call(t);return d.value=!!(e.extended||I),a(e.tag,{class:["v-toolbar",{"v-toolbar--absolute":e.absolute,"v-toolbar--collapse":e.collapse,"v-toolbar--flat":e.flat,"v-toolbar--floating":e.floating,[`v-toolbar--density-${e.density}`]:!0},s.value,l.value,i.value,c.value,g.value,h.value,e.class],style:[o.value,e.style]},{default:()=>[z&&a("div",{key:"image",class:"v-toolbar__image"},[t.image?a(Q,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},t.image):a(Ye,{key:"image-img",cover:!0,src:e.image},null)]),a(Q,{defaults:{VTabs:{height:P(S.value)}}},{default:()=>{var k,A,L;return[a("div",{class:"v-toolbar__content",style:{height:P(S.value)}},[t.prepend&&a("div",{class:"v-toolbar__prepend"},[(k=t.prepend)==null?void 0:k.call(t)]),x&&a(ze,{key:"title",text:e.title},{text:t.title}),(A=t.default)==null?void 0:A.call(t),t.append&&a("div",{class:"v-toolbar__append"},[(L=t.append)==null?void 0:L.call(t)])])]}}),a(Q,{defaults:{VTabs:{height:P(y.value)}}},{default:()=>[a(Je,null,{default:()=>[d.value&&a("div",{class:"v-toolbar__extension",style:{height:P(y.value)}},[I])]})]})]})}),{contentHeight:S,extensionHeight:y}}}),vt=R({scrollTarget:{type:String},scrollThreshold:{type:[String,Number],default:300}},"scroll");function mt(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{canScroll:t}=n;let s=0;const o=te(null),l=B(0),i=B(0),c=B(0),g=B(!1),h=B(!1),d=u(()=>Number(e.scrollThreshold)),S=u(()=>Ge((d.value-l.value)/d.value||0)),y=()=>{const v=o.value;!v||t&&!t.value||(s=l.value,l.value="window"in v?v.pageYOffset:v.scrollTop,h.value=l.value{i.value=i.value||l.value}),K(g,()=>{i.value=0}),de(()=>{K(()=>e.scrollTarget,v=>{var z;const x=v?document.querySelector(v):window;x&&x!==o.value&&((z=o.value)==null||z.removeEventListener("scroll",y),o.value=x,o.value.addEventListener("scroll",y,{passive:!0}))},{immediate:!0})}),me(()=>{var v;(v=o.value)==null||v.removeEventListener("scroll",y)}),t&&K(t,y,{immediate:!0}),{scrollThreshold:d,currentScroll:l,currentThreshold:c,isScrollActive:g,scrollRatio:S,isScrollingUp:h,savedScroll:i}}const ft=R({scrollBehavior:String,modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:e=>["top","bottom"].includes(e)},...Ae(),...$e(),...vt(),height:{type:[Number,String],default:64}},"VAppBar"),gt=N()({name:"VAppBar",props:ft(),emits:{"update:modelValue":e=>!0},setup(e,n){let{slots:t}=n;const s=te(),o=Ke(e,"modelValue"),l=u(()=>{var k;const m=new Set(((k=e.scrollBehavior)==null?void 0:k.split(" "))??[]);return{hide:m.has("hide"),inverted:m.has("inverted"),collapse:m.has("collapse"),elevate:m.has("elevate"),fadeImage:m.has("fade-image")}}),i=u(()=>{const m=l.value;return m.hide||m.inverted||m.collapse||m.elevate||m.fadeImage||!o.value}),{currentScroll:c,scrollThreshold:g,isScrollingUp:h,scrollRatio:d}=mt(e,{canScroll:i}),S=u(()=>e.collapse||l.value.collapse&&(l.value.inverted?d.value>0:d.value===0)),y=u(()=>e.flat||l.value.elevate&&(l.value.inverted?c.value>0:c.value===0)),v=u(()=>l.value.fadeImage?l.value.inverted?1-d.value:d.value:void 0),x=u(()=>{var A,L;if(l.value.hide&&l.value.inverted)return 0;const m=((A=s.value)==null?void 0:A.contentHeight)??0,k=((L=s.value)==null?void 0:L.extensionHeight)??0;return m+k});Ze(u(()=>!!e.scrollBehavior),()=>{Xe(()=>{l.value.hide?l.value.inverted?o.value=c.value>g.value:o.value=h.value||c.valueparseInt(e.order,10)),position:q(e,"location"),layoutSize:x,elementSize:B(void 0),active:o,absolute:q(e,"absolute")});return E(()=>{const m=ie.filterProps(e);return a(ie,pe({ref:s,class:["v-app-bar",{"v-app-bar--bottom":e.location==="bottom"},e.class],style:[{...I.value,"--v-toolbar-image-opacity":v.value,height:void 0,...z.value},e.style]},m,{collapse:S.value,flat:y.value}),t)}),{}}}),ht=N()({name:"VAppBarTitle",props:Re(),setup(e,n){let{slots:t}=n;return E(()=>a(ze,pe(e,{class:"v-app-bar-title"}),t)),{}}});const yt=R({app:Boolean,color:String,height:{type:[Number,String],default:"auto"},...xe(),...G(),...Se(),...$e(),...Ve(),...X({tag:"footer"}),...ae()},"VFooter"),bt=N()({name:"VFooter",props:yt(),setup(e,n){let{slots:t}=n;const{themeClasses:s}=le(e),{backgroundColorClasses:o,backgroundColorStyles:l}=ke(q(e,"color")),{borderClasses:i}=Ie(e),{elevationClasses:c}=we(e),{roundedClasses:g}=Te(e),h=B(32),{resizeRef:d}=_e(v=>{v.length&&(h.value=v[0].target.clientHeight)}),S=u(()=>e.height==="auto"?h.value:parseInt(e.height,10)),{layoutItemStyles:y}=Pe({id:e.name,order:u(()=>parseInt(e.order,10)),position:u(()=>"bottom"),layoutSize:S,elementSize:u(()=>e.height==="auto"?void 0:S.value),active:u(()=>e.app),absolute:q(e,"absolute")});return E(()=>a(e.tag,{ref:d,class:["v-footer",s.value,o.value,i.value,c.value,g.value,e.class],style:[l.value,e.app?y.value:{height:P(e.height)},e.style]},t)),{}}}),re=We("v-spacer","div","VSpacer"),pt={class:"text-no-wrap"},_t={class:"footer text-decoration-none",href:"https://monitoringartist.com",_target:"_blank"},xt={class:"text-no-wrap"},St={class:"footer text-decoration-none",target:"_blank",href:"https://github.com/monitoringartist/grafana-debugger"},Vt={class:"text-no-wrap"},kt={class:"footer text-decoration-none",target:"_blank",href:"todo"},It={class:"text-no-wrap"},wt={mounted(){const e=localStorage.getItem("theme");e?this.$vuetify.theme.dark=e==="dark":this.$vuetify.theme.dark=window.matchMedia("(prefers-color-scheme: dark)").matches},methods:{toggle_dark_mode:function(){this.$vuetify.theme.dark=!this.$vuetify.theme.dark,localStorage.setItem("theme",this.$vuetify.theme.dark.toString())}}},Pt=Object.assign(wt,{__name:"Default",setup(e){const n=fe();function t(){n.global.name.value=n.global.current.value.dark?"light":"dark",localStorage.setItem("theme",n.global.name.value)}return(s,o)=>{const l=ge("router-link");return he(),ye(ct,null,{default:b(()=>[a(gt,{flat:"","scroll-behavior":"hide","scroll-threshold":"10"},{default:b(()=>[a(ht,null,{default:b(()=>[a(l,{to:"/",class:"text-decoration-none logo"},{default:b(()=>[a(D,{icon:"mdi-bug",size:"x-large"}),T(" Grafana Debugger ")]),_:1})]),_:1}),a(Qe,{onClick:t},{default:b(()=>[a(D,null,{default:b(()=>[T("mdi-theme-light-dark")]),_:1})]),_:1})]),_:1}),a(it),a(bt,{class:"text-center"},{default:b(()=>[a(et,{tile:"",flat:"",width:"100%",class:"d-flex align-center justify-center",style:{"font-size":"0.75rem"}},{default:b(()=>[a(tt,{justify:"center"},{default:b(()=>[a(C,{cols:"3"}),a(re),a(C,null,{default:b(()=>[M("div",pt,[M("a",_t,[T("Crafted with "),a(D,{icon:"mdi-cards-heart",color:"red"}),T(" by Monitoring Artist")])])]),_:1}),a(C),a(C,null,{default:b(()=>[T(" | ")]),_:1}),a(C,null,{default:b(()=>[M("div",xt,[M("a",St,[a(D,{icon:"mdi-github"}),T(" GitHub repository")])])]),_:1}),a(C,null,{default:b(()=>[T(" | ")]),_:1}),a(C,null,{default:b(()=>[M("div",Vt,[M("a",kt,[a(D,{icon:"mdi-scale-balance"}),T(" Legal")])])]),_:1}),a(C,null,{default:b(()=>[T(" | ")]),_:1}),a(C,null,{default:b(()=>[M("div",It,[a(l,{class:"footer text-decoration-none",to:"/grot"},{default:b(()=>[a(D,{icon:"mdi-chat"}),T(" Grot")]),_:1})])]),_:1}),a(re),a(C,{cols:"3"})]),_:1})]),_:1})]),_:1})]),_:1})}}});export{Pt as default}; +import{p as R,i as ee,c as u,r as te,a as U,g as ce,s as B,o as de,b as ve,d as De,e as Fe,f as Oe,h as me,j as P,k as je,l as N,m as a,u as fe,n as ge,q as he,t as ye,w as b,v as Ue,x as ae,y as le,z as be,A as q,B as qe,C as Ge,D as K,E as Ke,F as Ze,G as pe,H as Xe,I as T,J as M}from"./index-92c8c5cd.js";import{u as _e,m as G,a as X,b as E,c as xe,d as Se,e as Ve,f as ke,g as Ie,h as we,i as Te,V as Ye,j as Q,k as Je,l as We,n as D,o as Qe,p as et,q as tt,r as C}from"./VRow-c001e689.js";import{u as Ce}from"./ssrBoot-5d57507b.js";const Z=Symbol.for("vuetify:layout"),Be=Symbol.for("vuetify:layout-item"),ue=1e3,at=R({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),$e=R({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function lt(){const e=ee(Z);if(!e)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:e.getLayoutItem,mainRect:e.mainRect,mainStyles:e.mainStyles}}function Pe(e){const n=ee(Z);if(!n)throw new Error("[Vuetify] Could not find injected layout");const t=e.id??`layout-item-${De()}`,s=ce("useLayoutItem");ve(Be,{id:t});const o=B(!1);Fe(()=>o.value=!0),Oe(()=>o.value=!1);const{layoutItemStyles:l,layoutItemScrimStyles:i}=n.register(s,{...e,active:u(()=>o.value?!1:e.active.value),id:t});return me(()=>n.unregister(t)),{layoutItemStyles:l,layoutRect:n.layoutRect,layoutItemScrimStyles:i}}const ot=(e,n,t,s)=>{let o={top:0,left:0,right:0,bottom:0};const l=[{id:"",layer:{...o}}];for(const i of e){const c=n.get(i),g=t.get(i),h=s.get(i);if(!c||!g||!h)continue;const d={...o,[c.value]:parseInt(o[c.value],10)+(h.value?parseInt(g.value,10):0)};l.push({id:i,layer:d}),o=d}return l};function nt(e){const n=ee(Z,null),t=u(()=>n?n.rootZIndex.value-100:ue),s=te([]),o=U(new Map),l=U(new Map),i=U(new Map),c=U(new Map),g=U(new Map),{resizeRef:h,contentRect:d}=_e(),S=u(()=>{const f=new Map,V=e.overlaps??[];for(const r of V.filter(_=>_.includes(":"))){const[_,p]=r.split(":");if(!s.value.includes(_)||!s.value.includes(p))continue;const $=o.get(_),H=o.get(p),F=l.get(_),O=l.get(p);!$||!H||!F||!O||(f.set(p,{position:$.value,amount:parseInt(F.value,10)}),f.set(_,{position:H.value,amount:-parseInt(O.value,10)}))}return f}),y=u(()=>{const f=[...new Set([...i.values()].map(r=>r.value))].sort((r,_)=>r-_),V=[];for(const r of f){const _=s.value.filter(p=>{var $;return(($=i.get(p))==null?void 0:$.value)===r});V.push(..._)}return ot(V,o,l,c)}),v=u(()=>!Array.from(g.values()).some(f=>f.value)),x=u(()=>y.value[y.value.length-1].layer),z=u(()=>({"--v-layout-left":P(x.value.left),"--v-layout-right":P(x.value.right),"--v-layout-top":P(x.value.top),"--v-layout-bottom":P(x.value.bottom),...v.value?void 0:{transition:"none"}})),I=u(()=>y.value.slice(1).map((f,V)=>{let{id:r}=f;const{layer:_}=y.value[V],p=l.get(r),$=o.get(r);return{id:r,..._,size:Number(p.value),position:$.value}})),m=f=>I.value.find(V=>V.id===f),k=ce("createLayout"),A=B(!1);de(()=>{A.value=!0}),ve(Z,{register:(f,V)=>{let{id:r,order:_,position:p,layoutSize:$,elementSize:H,active:F,disableTransitions:O,absolute:He}=V;i.set(r,_),o.set(r,p),l.set(r,$),c.set(r,F),O&&g.set(r,O);const oe=je(Be,k==null?void 0:k.vnode).indexOf(f);oe>-1?s.value.splice(oe,0,r):s.value.push(r);const ne=u(()=>I.value.findIndex(j=>j.id===r)),Y=u(()=>t.value+y.value.length*2-ne.value*2),Me=u(()=>{const j=p.value==="left"||p.value==="right",J=p.value==="right",Ee=p.value==="bottom",se={[p.value]:0,zIndex:Y.value,transform:`translate${j?"X":"Y"}(${(F.value?0:-110)*(J||Ee?-1:1)}%)`,position:He.value||t.value!==ue?"absolute":"fixed",...v.value?void 0:{transition:"none"}};if(!A.value)return se;const w=I.value[ne.value];if(!w)throw new Error(`[Vuetify] Could not find layout item "${r}"`);const W=S.value.get(r);return W&&(w[W.position]+=W.amount),{...se,height:j?`calc(100% - ${w.top}px - ${w.bottom}px)`:H.value?`${H.value}px`:void 0,left:J?void 0:`${w.left}px`,right:J?`${w.right}px`:void 0,top:p.value!=="bottom"?`${w.top}px`:void 0,bottom:p.value!=="top"?`${w.bottom}px`:void 0,width:j?H.value?`${H.value}px`:void 0:`calc(100% - ${w.left}px - ${w.right}px)`}}),Ne=u(()=>({zIndex:Y.value-1}));return{layoutItemStyles:Me,layoutItemScrimStyles:Ne,zIndex:Y}},unregister:f=>{i.delete(f),o.delete(f),l.delete(f),c.delete(f),g.delete(f),s.value=s.value.filter(V=>V!==f)},mainRect:x,mainStyles:z,getLayoutItem:m,items:I,layoutRect:d,rootZIndex:t});const L=u(()=>["v-layout",{"v-layout--full-height":e.fullHeight}]),Le=u(()=>({zIndex:n?t.value:void 0,position:n?"relative":void 0,overflow:n?"hidden":void 0}));return{layoutClasses:L,layoutStyles:Le,getLayoutItem:m,items:I,layoutRect:d,layoutRef:h}}const st=R({scrollable:Boolean,...G(),...X({tag:"main"})},"VMain"),ut=N()({name:"VMain",props:st(),setup(e,n){let{slots:t}=n;const{mainStyles:s}=lt(),{ssrBootStyles:o}=Ce();return E(()=>a(e.tag,{class:["v-main",{"v-main--scrollable":e.scrollable},e.class],style:[s.value,o.value,e.style]},{default:()=>{var l,i;return[e.scrollable?a("div",{class:"v-main__scroller"},[(l=t.default)==null?void 0:l.call(t)]):(i=t.default)==null?void 0:i.call(t)]}})),{}}}),it={__name:"View",setup(e){const n=fe();function t(){return n.global.current.value.dark?"bg-grey-darken-4":"bg-white"}return(s,o)=>{const l=ge("router-view");return he(),ye(ut,{class:Ue(t())},{default:b(()=>[a(l)]),_:1},8,["class"])}}};const rt=R({...G(),...at({fullHeight:!0}),...ae()},"VApp"),ct=N()({name:"VApp",props:rt(),setup(e,n){let{slots:t}=n;const s=le(e),{layoutClasses:o,getLayoutItem:l,items:i,layoutRef:c}=nt(e),{rtlClasses:g}=be();return E(()=>{var h;return a("div",{ref:c,class:["v-application",s.themeClasses.value,o.value,g.value,e.class],style:[e.style]},[a("div",{class:"v-application__wrap"},[(h=t.default)==null?void 0:h.call(t)])])}),{getLayoutItem:l,items:i,theme:s}}});const Re=R({text:String,...G(),...X()},"VToolbarTitle"),ze=N()({name:"VToolbarTitle",props:Re(),setup(e,n){let{slots:t}=n;return E(()=>{const s=!!(t.default||t.text||e.text);return a(e.tag,{class:["v-toolbar-title",e.class],style:e.style},{default:()=>{var o;return[s&&a("div",{class:"v-toolbar-title__placeholder"},[t.text?t.text():e.text,(o=t.default)==null?void 0:o.call(t)])]}})}),{}}}),dt=[null,"prominent","default","comfortable","compact"],Ae=R({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:e=>dt.includes(e)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...xe(),...G(),...Se(),...Ve(),...X({tag:"header"}),...ae()},"VToolbar"),ie=N()({name:"VToolbar",props:Ae(),setup(e,n){var v;let{slots:t}=n;const{backgroundColorClasses:s,backgroundColorStyles:o}=ke(q(e,"color")),{borderClasses:l}=Ie(e),{elevationClasses:i}=we(e),{roundedClasses:c}=Te(e),{themeClasses:g}=le(e),{rtlClasses:h}=be(),d=B(!!(e.extended||(v=t.extension)!=null&&v.call(t))),S=u(()=>parseInt(Number(e.height)+(e.density==="prominent"?Number(e.height):0)-(e.density==="comfortable"?8:0)-(e.density==="compact"?16:0),10)),y=u(()=>d.value?parseInt(Number(e.extensionHeight)+(e.density==="prominent"?Number(e.extensionHeight):0)-(e.density==="comfortable"?4:0)-(e.density==="compact"?8:0),10):0);return qe({VBtn:{variant:"text"}}),E(()=>{var m;const x=!!(e.title||t.title),z=!!(t.image||e.image),I=(m=t.extension)==null?void 0:m.call(t);return d.value=!!(e.extended||I),a(e.tag,{class:["v-toolbar",{"v-toolbar--absolute":e.absolute,"v-toolbar--collapse":e.collapse,"v-toolbar--flat":e.flat,"v-toolbar--floating":e.floating,[`v-toolbar--density-${e.density}`]:!0},s.value,l.value,i.value,c.value,g.value,h.value,e.class],style:[o.value,e.style]},{default:()=>[z&&a("div",{key:"image",class:"v-toolbar__image"},[t.image?a(Q,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},t.image):a(Ye,{key:"image-img",cover:!0,src:e.image},null)]),a(Q,{defaults:{VTabs:{height:P(S.value)}}},{default:()=>{var k,A,L;return[a("div",{class:"v-toolbar__content",style:{height:P(S.value)}},[t.prepend&&a("div",{class:"v-toolbar__prepend"},[(k=t.prepend)==null?void 0:k.call(t)]),x&&a(ze,{key:"title",text:e.title},{text:t.title}),(A=t.default)==null?void 0:A.call(t),t.append&&a("div",{class:"v-toolbar__append"},[(L=t.append)==null?void 0:L.call(t)])])]}}),a(Q,{defaults:{VTabs:{height:P(y.value)}}},{default:()=>[a(Je,null,{default:()=>[d.value&&a("div",{class:"v-toolbar__extension",style:{height:P(y.value)}},[I])]})]})]})}),{contentHeight:S,extensionHeight:y}}}),vt=R({scrollTarget:{type:String},scrollThreshold:{type:[String,Number],default:300}},"scroll");function mt(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{canScroll:t}=n;let s=0;const o=te(null),l=B(0),i=B(0),c=B(0),g=B(!1),h=B(!1),d=u(()=>Number(e.scrollThreshold)),S=u(()=>Ge((d.value-l.value)/d.value||0)),y=()=>{const v=o.value;!v||t&&!t.value||(s=l.value,l.value="window"in v?v.pageYOffset:v.scrollTop,h.value=l.value{i.value=i.value||l.value}),K(g,()=>{i.value=0}),de(()=>{K(()=>e.scrollTarget,v=>{var z;const x=v?document.querySelector(v):window;x&&x!==o.value&&((z=o.value)==null||z.removeEventListener("scroll",y),o.value=x,o.value.addEventListener("scroll",y,{passive:!0}))},{immediate:!0})}),me(()=>{var v;(v=o.value)==null||v.removeEventListener("scroll",y)}),t&&K(t,y,{immediate:!0}),{scrollThreshold:d,currentScroll:l,currentThreshold:c,isScrollActive:g,scrollRatio:S,isScrollingUp:h,savedScroll:i}}const ft=R({scrollBehavior:String,modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:e=>["top","bottom"].includes(e)},...Ae(),...$e(),...vt(),height:{type:[Number,String],default:64}},"VAppBar"),gt=N()({name:"VAppBar",props:ft(),emits:{"update:modelValue":e=>!0},setup(e,n){let{slots:t}=n;const s=te(),o=Ke(e,"modelValue"),l=u(()=>{var k;const m=new Set(((k=e.scrollBehavior)==null?void 0:k.split(" "))??[]);return{hide:m.has("hide"),inverted:m.has("inverted"),collapse:m.has("collapse"),elevate:m.has("elevate"),fadeImage:m.has("fade-image")}}),i=u(()=>{const m=l.value;return m.hide||m.inverted||m.collapse||m.elevate||m.fadeImage||!o.value}),{currentScroll:c,scrollThreshold:g,isScrollingUp:h,scrollRatio:d}=mt(e,{canScroll:i}),S=u(()=>e.collapse||l.value.collapse&&(l.value.inverted?d.value>0:d.value===0)),y=u(()=>e.flat||l.value.elevate&&(l.value.inverted?c.value>0:c.value===0)),v=u(()=>l.value.fadeImage?l.value.inverted?1-d.value:d.value:void 0),x=u(()=>{var A,L;if(l.value.hide&&l.value.inverted)return 0;const m=((A=s.value)==null?void 0:A.contentHeight)??0,k=((L=s.value)==null?void 0:L.extensionHeight)??0;return m+k});Ze(u(()=>!!e.scrollBehavior),()=>{Xe(()=>{l.value.hide?l.value.inverted?o.value=c.value>g.value:o.value=h.value||c.valueparseInt(e.order,10)),position:q(e,"location"),layoutSize:x,elementSize:B(void 0),active:o,absolute:q(e,"absolute")});return E(()=>{const m=ie.filterProps(e);return a(ie,pe({ref:s,class:["v-app-bar",{"v-app-bar--bottom":e.location==="bottom"},e.class],style:[{...I.value,"--v-toolbar-image-opacity":v.value,height:void 0,...z.value},e.style]},m,{collapse:S.value,flat:y.value}),t)}),{}}}),ht=N()({name:"VAppBarTitle",props:Re(),setup(e,n){let{slots:t}=n;return E(()=>a(ze,pe(e,{class:"v-app-bar-title"}),t)),{}}});const yt=R({app:Boolean,color:String,height:{type:[Number,String],default:"auto"},...xe(),...G(),...Se(),...$e(),...Ve(),...X({tag:"footer"}),...ae()},"VFooter"),bt=N()({name:"VFooter",props:yt(),setup(e,n){let{slots:t}=n;const{themeClasses:s}=le(e),{backgroundColorClasses:o,backgroundColorStyles:l}=ke(q(e,"color")),{borderClasses:i}=Ie(e),{elevationClasses:c}=we(e),{roundedClasses:g}=Te(e),h=B(32),{resizeRef:d}=_e(v=>{v.length&&(h.value=v[0].target.clientHeight)}),S=u(()=>e.height==="auto"?h.value:parseInt(e.height,10)),{layoutItemStyles:y}=Pe({id:e.name,order:u(()=>parseInt(e.order,10)),position:u(()=>"bottom"),layoutSize:S,elementSize:u(()=>e.height==="auto"?void 0:S.value),active:u(()=>e.app),absolute:q(e,"absolute")});return E(()=>a(e.tag,{ref:d,class:["v-footer",s.value,o.value,i.value,c.value,g.value,e.class],style:[l.value,e.app?y.value:{height:P(e.height)},e.style]},t)),{}}}),re=We("v-spacer","div","VSpacer"),pt={class:"text-no-wrap"},_t={class:"footer text-decoration-none",href:"https://monitoringartist.com",_target:"_blank"},xt={class:"text-no-wrap"},St={class:"footer text-decoration-none",target:"_blank",href:"https://github.com/monitoringartist/grafana-debugger"},Vt={class:"text-no-wrap"},kt={class:"footer text-decoration-none",target:"_blank",href:"todo"},It={class:"text-no-wrap"},wt={mounted(){const e=localStorage.getItem("theme");e?this.$vuetify.theme.dark=e==="dark":this.$vuetify.theme.dark=window.matchMedia("(prefers-color-scheme: dark)").matches},methods:{toggle_dark_mode:function(){this.$vuetify.theme.dark=!this.$vuetify.theme.dark,localStorage.setItem("theme",this.$vuetify.theme.dark.toString())}}},Pt=Object.assign(wt,{__name:"Default",setup(e){const n=fe();function t(){n.global.name.value=n.global.current.value.dark?"light":"dark",localStorage.setItem("theme",n.global.name.value)}return(s,o)=>{const l=ge("router-link");return he(),ye(ct,null,{default:b(()=>[a(gt,{flat:"","scroll-behavior":"hide","scroll-threshold":"10"},{default:b(()=>[a(ht,null,{default:b(()=>[a(l,{to:"/",class:"text-decoration-none logo"},{default:b(()=>[a(D,{icon:"mdi-bug",size:"x-large"}),T(" Grafana Debugger ")]),_:1})]),_:1}),a(Qe,{onClick:t},{default:b(()=>[a(D,null,{default:b(()=>[T("mdi-theme-light-dark")]),_:1})]),_:1})]),_:1}),a(it),a(bt,{class:"text-center"},{default:b(()=>[a(et,{tile:"",flat:"",width:"100%",class:"d-flex align-center justify-center",style:{"font-size":"0.75rem"}},{default:b(()=>[a(tt,{justify:"center"},{default:b(()=>[a(C,{cols:"3"}),a(re),a(C,null,{default:b(()=>[M("div",pt,[M("a",_t,[T("Crafted with "),a(D,{icon:"mdi-cards-heart",color:"red"}),T(" by Monitoring Artist")])])]),_:1}),a(C),a(C,null,{default:b(()=>[T(" | ")]),_:1}),a(C,null,{default:b(()=>[M("div",xt,[M("a",St,[a(D,{icon:"mdi-github"}),T(" GitHub repository")])])]),_:1}),a(C,null,{default:b(()=>[T(" | ")]),_:1}),a(C,null,{default:b(()=>[M("div",Vt,[M("a",kt,[a(D,{icon:"mdi-scale-balance"}),T(" Legal")])])]),_:1}),a(C,null,{default:b(()=>[T(" | ")]),_:1}),a(C,null,{default:b(()=>[M("div",It,[a(l,{class:"footer text-decoration-none",to:"/grot"},{default:b(()=>[a(D,{icon:"mdi-chat"}),T(" Grot")]),_:1})])]),_:1}),a(re),a(C,{cols:"3"})]),_:1})]),_:1})]),_:1})]),_:1})}}});export{Pt as default}; diff --git a/assets/Grot-04a1c34f.js b/assets/Grot-6cbc2871.js similarity index 64% rename from assets/Grot-04a1c34f.js rename to assets/Grot-6cbc2871.js index b560ac3..3760412 100644 --- a/assets/Grot-04a1c34f.js +++ b/assets/Grot-6cbc2871.js @@ -1 +1 @@ -import{q as n,a5 as l,m as o,w as a,a6 as C,u as T,O as I,aa as S,J as g,ab as G,a9 as d,t as m,I as p,a8 as R,v as f,ac as F,a7 as h}from"./index-5de8a41c.js";import{a4 as z,a3 as N,m as w,a5 as U}from"./VTextField-a6744798.js";import{p as j,Q as q,q as b,r as v,n as c,o as k,H as y}from"./VRow-a513640b.js";const A={key:0},B={key:1,class:"rounded ml-3 bg-grey-darken-3"},D={key:3,class:"rounded ml-3 bg-grey-darken-3"},E={class:"d-flex flex-row align-center"},L={class:"mb-4"},_=window.SpeechRecognition||window.webkitSpeechRecognition,i=_?new _:!1,M={mounted(){this.setVariablesFromHash()},created(){window.addEventListener("resize",this.setMobile()),this.setMobile()},beforeDestroy(){i.stop(),i.abort()},data:()=>({lang:"en_US",error:!1,speaking:!1,toggle:!1,micIcon:"mdi-microphone",mobile:!1,loading:!1,theme:"dark",grotApplicationId:"06a226e5-ecb6-4193-8996-aab4460a15e0",grotConversationId:null,grotShow:!0,chat:[],msg:""}),watch:{msg:function(t){if(t==null||t.trim().replace(/\.$/,"").trim()==""){this.msg="";return}else{if(this.loading)return;var e=t.toLowerCase().trim().replace(/\.$/,"").trim();e.endsWith("send")|e.endsWith("sent")&&(this.msg=this.msg.trim(),this.msg=this.msg.split(" ").slice(0,-1).join(" "),this.sendToGrot())}}},methods:{scrollDown(){},endSpeechRecognition(){this.toggle=!1,this.speaking=!1,this.micIcon="mdi-microphone",i.stop(),i.abort()},startSpeechRecognition(){this.toggle=!0,this.micIcon="mdi-microphone-off",i.lang=this.lang,i.continuous=!0,i.interimResults=!1,i.maxAlternatives=1,i.onend=t=>{this.toggle?this.startSpeechRecognition():(this.toggle=!1,this.speaking=!1,this.micIcon="mdi-microphone")},i.onresult=t=>{if(typeof t.results>"u"){i.stop();return}for(var e=t.resultIndex;es.json()).then(s=>{this.grotConversationId=s.conversationId,this.chat.pop(),this.chat.push({from:"grot",msg:s.messages[s.messages.length-1].content}),this.loading=!1,this.scrollDown()}).catch(s=>{console.error("Error:",s),this.chat.pop(),this.chat.push({from:"grot",msg:"Error during communication with Grot: "+s}),this.loading=!1})},getCurrentTheme(){return T().global.current.value.dark?"dark":"light"}}},J=Object.assign(M,{__name:"Grot",setup(t){return(e,r)=>(n(),l("div",null,[o(j,{flat:""},{default:a(()=>[o(q,null,{default:a(()=>[e.grotShow?(n(),l("div",A,[o(z,null,{default:a(()=>[o(b,null,{default:a(()=>[o(v,null,{default:a(()=>[(n(!0),l(I,null,S(e.chat,(s,u)=>(n(),l("div",{key:u,class:f(["d-flex flex-row my-2"])},[s.from=="user"?(n(),m(y,{key:0,color:s.from=="user"?"transparent":"red",size:"36"},{default:a(()=>[o(c,{icon:"mdi-account-circle"})]),_:2},1032,["color"])):h("",!0),s.from=="user"?(n(),l("span",B,[o(d(w),{modelValue:s.msg,theme:e.getCurrentTheme(),language:"en-US",toolbars:["code","preview"],footers:[],previewTheme:"github",codeTheme:"github"},null,8,["modelValue","theme"])])):h("",!0),s.from!="user"?(n(),m(y,{key:2,color:s.from=="user"?"indigo":"transparent",image:U,size:"36"},null,8,["color"])):h("",!0),s.from!="user"?(n(),l("span",D,[o(d(w),{modelValue:s.msg,theme:e.getCurrentTheme(),language:"en-US",toolbars:["code","preview"],footers:[],previewTheme:"github",codeTheme:"github"},null,8,["modelValue","theme"])])):h("",!0)]))),128))]),_:1})]),_:1}),o(b,{"no-gutters":""},{default:a(()=>[o(v,null,{default:a(()=>[g("div",E,[o(N,{ref:"chat",modelValue:e.msg,"onUpdate:modelValue":r[0]||(r[0]=s=>e.msg=s),clearable:"",placeholder:"Discuss with Grot",onKeypress:r[1]||(r[1]=G(s=>e.sendToGrot(),["enter"]))},null,8,["modelValue"]),g("div",L,[d(i)?(n(),m(k,{key:0,class:f(["ml-2",{pulse:e.toggle}]),"d-flex":"",onClick:r[2]||(r[2]=F(s=>e.toggle?e.endSpeechRecognition():e.startSpeechRecognition(),["stop"])),icon:"",color:e.toggle?e.speaking?"red lighten-2":"red darken-4":"primary"},{default:a(()=>[o(c,null,{default:a(()=>[p(R(e.micIcon),1)]),_:1})]),_:1},8,["color","class"])):h("",!0),o(k,{icon:"",class:"ml-4",onClick:r[3]||(r[3]=s=>e.sendToGrot()),loading:e.loading,color:"primary"},{default:a(()=>[o(c,null,{default:a(()=>[p("mdi-send")]),_:1})]),_:1},8,["loading"])])])]),_:1})]),_:1})]),_:1})])):h("",!0)]),_:1})]),_:1})]))}});export{J as default}; +import{q as n,a5 as l,m as o,w as a,a6 as C,u as T,O as I,aa as S,J as g,ab as G,a9 as d,t as m,I as p,a8 as R,v as f,ac as z,a7 as h}from"./index-92c8c5cd.js";import{a4 as F,a3 as N,m as w,a5 as U}from"./VTextField-37dfe157.js";import{p as j,Q as q,q as b,r as v,n as c,o as k,H as y}from"./VRow-c001e689.js";const A={key:0},B={key:1,class:"rounded ml-3 bg-grey-darken-3"},D={key:3,class:"rounded ml-3 bg-grey-darken-3"},E={class:"d-flex flex-row align-center"},L={class:"mb-4"},_=window.SpeechRecognition||window.webkitSpeechRecognition,i=_?new _:!1,M={mounted(){this.setVariablesFromHash()},created(){window.addEventListener("resize",this.setMobile()),this.setMobile()},beforeDestroy(){i.stop(),i.abort()},data:()=>({lang:"en_US",error:!1,speaking:!1,toggle:!1,micIcon:"mdi-microphone",mobile:!1,loading:!1,theme:"dark",grotApplicationId:"06a226e5-ecb6-4193-8996-aab4460a15e0",grotConversationId:null,grotShow:!0,chat:[],msg:""}),watch:{msg:function(t){if(t==null||t.trim().replace(/\.$/,"").trim()==""){this.msg="";return}else{if(this.loading)return;var e=t.toLowerCase().trim().replace(/\.$/,"").trim();e.endsWith("send")|e.endsWith("sent")&&(this.msg=this.msg.trim(),this.msg=this.msg.split(" ").slice(0,-1).join(" "),this.sendToGrot())}}},methods:{scrollDown(){},endSpeechRecognition(){this.toggle=!1,this.speaking=!1,this.micIcon="mdi-microphone",i.stop(),i.abort()},startSpeechRecognition(){this.toggle=!0,this.micIcon="mdi-microphone-off",i.lang=this.lang,i.continuous=!0,i.interimResults=!1,i.maxAlternatives=1,i.onend=t=>{this.toggle?this.startSpeechRecognition():(this.toggle=!1,this.speaking=!1,this.micIcon="mdi-microphone")},i.onresult=t=>{if(typeof t.results>"u"){i.stop();return}for(var e=t.resultIndex;es.json()).then(s=>{this.grotConversationId=s.conversationId,this.chat.pop(),this.chat.push({from:"grot",msg:s.messages[s.messages.length-1].content}),this.loading=!1,this.scrollDown()}).catch(s=>{console.error("Error:",s),this.chat.pop(),this.chat.push({from:"grot",msg:"Error during communication with Grot: "+s}),this.loading=!1})},getCurrentTheme(){return T().global.current.value.dark?"dark":"light"}}},J=Object.assign(M,{__name:"Grot",setup(t){return(e,r)=>(n(),l("div",null,[o(j,{flat:""},{default:a(()=>[o(q,null,{default:a(()=>[e.grotShow?(n(),l("div",A,[o(F,null,{default:a(()=>[o(b,null,{default:a(()=>[o(v,null,{default:a(()=>[(n(!0),l(I,null,S(e.chat,(s,u)=>(n(),l("div",{key:u,class:f(["d-flex flex-row my-2"])},[s.from=="user"?(n(),m(y,{key:0,color:s.from=="user"?"transparent":"red",size:"36"},{default:a(()=>[o(c,{size:"36",icon:"mdi-account-circle"})]),_:2},1032,["color"])):h("",!0),s.from=="user"?(n(),l("span",B,[o(d(w),{modelValue:s.msg,theme:e.getCurrentTheme(),language:"en-US",toolbars:["code","preview"],footers:[],previewTheme:"github",codeTheme:"github"},null,8,["modelValue","theme"])])):h("",!0),s.from!="user"?(n(),m(y,{key:2,color:s.from=="user"?"indigo":"transparent",image:U,size:"36"},null,8,["color"])):h("",!0),s.from!="user"?(n(),l("span",D,[o(d(w),{modelValue:s.msg,theme:e.getCurrentTheme(),language:"en-US",toolbars:["code","preview"],footers:[],previewTheme:"github",codeTheme:"github"},null,8,["modelValue","theme"])])):h("",!0)]))),128))]),_:1})]),_:1}),o(b,{"no-gutters":""},{default:a(()=>[o(v,null,{default:a(()=>[g("div",E,[o(N,{ref:"chat",modelValue:e.msg,"onUpdate:modelValue":r[0]||(r[0]=s=>e.msg=s),clearable:"",placeholder:"Discuss with Grot",onKeypress:r[1]||(r[1]=G(s=>e.sendToGrot(),["enter"]))},null,8,["modelValue"]),g("div",L,[d(i)?(n(),m(k,{key:0,class:f(["ml-2",{pulse:e.toggle}]),"d-flex":"",onClick:r[2]||(r[2]=z(s=>e.toggle?e.endSpeechRecognition():e.startSpeechRecognition(),["stop"])),icon:"",color:e.toggle?e.speaking?"red lighten-2":"red darken-4":"primary"},{default:a(()=>[o(c,null,{default:a(()=>[p(R(e.micIcon),1)]),_:1})]),_:1},8,["color","class"])):h("",!0),o(k,{icon:"",class:"ml-4",onClick:r[3]||(r[3]=s=>e.sendToGrot()),loading:e.loading,color:"primary"},{default:a(()=>[o(c,null,{default:a(()=>[p("mdi-send")]),_:1})]),_:1},8,["loading"])])])]),_:1})]),_:1})]),_:1})])):h("",!0)]),_:1})]),_:1})]))}});export{J as default}; diff --git a/assets/Main-15c2df80.js b/assets/Main-0c1859ef.js similarity index 98% rename from assets/Main-15c2df80.js rename to assets/Main-0c1859ef.js index 675f8d1..5180f38 100644 --- a/assets/Main-15c2df80.js +++ b/assets/Main-0c1859ef.js @@ -1,4 +1,4 @@ -import{K as ve,i as te,m as p,a as lt,r as J,D as de,o as yt,h as $i,L as go,c as X,M as Bi,N as GO,_ as w,s as St,O as Mt,P as NO,A as ne,p as ke,Q as Qu,x as ui,l as Xe,y as di,B as ml,R as Dt,S as Ns,T as gl,E as Us,U as yi,V as fr,W as bl,G as qi,j as Yn,b as ns,X as on,g as UO,d as FO,Y as HO,Z as KO,$ as JO,a0 as mi,a1 as Pu,a2 as $u,z as em,a3 as tm,a4 as im,q as he,a5 as st,w as T,a6 as Ka,u as nm,I as V,J as A,a7 as ge,t as rt,a8 as ds,a9 as Xt,aa as sm,ab as rm,v as Ja,ac as om}from"./index-5de8a41c.js";import{a as y,L as eh,l as si,t as lm,b,N as zt,s as ln,c as me,I as pr,T as ce,h as am,d as Es,P as Or,e as mr,f as hm,p as Cu,D as cm,g as Tu,C as Y,i as um,j as dm,k as fm,m as bo,n as pm,_ as Om,o as mm,$ as gm,q as bm,r as vm,S as ym,E as Sm,u as km,v as vo,w as wm,x as xm,y as Qm,z as Pm,A as $m,B as Cm,G as ue,H as vl,F as Tm,J as Zm,K as Am,M as Zu,O as Au,Q as _u,R as _m,U as an,V as Rm,W as Em,X as Vm,Y as Xm,Z as fs,a0 as Im,a1 as Wm,a2 as Dm,a3 as th,a4 as Lm,a5 as Ym}from"./VTextField-a6744798.js";import{m as xt,s as Ru,a as Gt,t as gr,v as yl,b as qe,c as br,w as vr,d as yr,x as Sl,e as Sr,y as Eu,z as Mm,R as kl,g as kr,A as Vu,B as wr,h as xr,i as Qr,C as jm,D as wl,E as Xu,F as Iu,G as Bm,n as Zt,j as Lt,H as Si,I as Wu,M as Du,k as qm,l as xl,J as Ql,K as Pl,f as Lu,o as H,L as zm,N as Gm,O as Nm,P as Um,p as pn,Q as On,q as ps,r as Fe}from"./VRow-a513640b.js";import{u as Yu}from"./ssrBoot-48bd8e84.js";const at=({instance:i,ctx:e,props:t={}},n="default")=>{const s=(i==null?void 0:i.$slots[n])||(e==null?void 0:e.slots[n]);return(s?s(i):"")||t[n]},Fm={overlay:{type:[String,Object],default:""},visible:{type:Boolean,default:!1},onChange:{type:Function,default:()=>{}},relative:{type:String,default:"html"}},_i=ve({props:Fm,setup(i,e){const t=`${y}-dropdown-hidden`,n=lt({overlayClass:[t],overlayStyle:{},triggerHover:!1,overlayHover:!1}),s=J(),r=J(),o=()=>{var c;n.triggerHover=!0;const u=s.value,d=r.value;if(!u||!d)return;const f=u.getBoundingClientRect(),O=u.offsetTop,m=u.offsetLeft,g=f.height,v=f.width,k=((c=document.querySelector(i.relative))==null?void 0:c.scrollLeft)||0;n.overlayStyle={...n.overlayStyle,top:O+g+"px",left:m-d.offsetWidth/2+v/2-k+"px"},i.onChange(!0)},l=()=>{n.overlayHover=!0};de(()=>i.visible,c=>{c?n.overlayClass=n.overlayClass.filter(u=>u!==t):n.overlayClass.push(t)});let a=-1;const h=c=>{s.value===c.target?n.triggerHover=!1:n.overlayHover=!1,clearTimeout(a),a=window.setTimeout(()=>{!n.overlayHover&&!n.triggerHover&&i.onChange(!1)},10)};return yt(()=>{s.value.addEventListener("mouseenter",o),s.value.addEventListener("mouseleave",h),r.value.addEventListener("mouseenter",l),r.value.addEventListener("mouseleave",h)}),$i(()=>{s.value.removeEventListener("mouseenter",o),s.value.removeEventListener("mouseleave",h),r.value.removeEventListener("mouseenter",l),r.value.removeEventListener("mouseleave",h)}),()=>{const c=at({ctx:e}),u=at({props:i,ctx:e},"overlay"),d=go(c instanceof Array?c[0]:c,{ref:s}),f=p("div",{class:[`${y}-dropdown`,n.overlayClass],style:n.overlayStyle,ref:r},[p("div",{class:`${y}-dropdown-overlay`},[u instanceof Array?u[0]:u])]);return[d,f]}}}),Hm={title:{type:String,default:""},visible:{type:Boolean},trigger:{type:[String,Object]},onChange:{type:Function},overlay:{type:[String,Object]},insert:{type:Function},language:{type:String},theme:{type:String},default:{type:[String,Object]}},Vs=ve({name:"DropdownToolbar",props:Hm,emits:["onChange"],setup(i,e){const t=te("editorId");return()=>{const n=at({props:i,ctx:e},"trigger"),s=at({props:i,ctx:e},"overlay"),r=at({props:i,ctx:e});return p(_i,{relative:`#${t}-toolbar-wrapper`,visible:i.visible,onChange:o=>{i.onChange instanceof Function?i.onChange(o):e.emit("onChange",o)},overlay:s},{default:()=>[p("div",{class:`${y}-toolbar-item`,title:i.title||""},[n,r])]})}}});Vs.install=i=>(i.component(Vs.name,Vs),i);const Km=ve({props:{name:{type:String,default:""}},setup(i){return()=>si.iconfontType==="svg"?p("svg",{class:`${y}-icon`,"aria-hidden":"true"},[p("use",{"xlink:href":`#${y}-icon-${i.name}`},null)]):p("i",{class:`${y}-iconfont ${y}-icon-${i.name}`},null)}}),B=ve({props:{name:{type:String,default:""}},setup(i){const e=te("customIcon");return()=>{const t=e.value[i.name];return typeof t=="object"?typeof t.component=="object"?GO(t.component,t.props):p("span",{innerHTML:t.component},null):p(Km,{name:i.name},null)}}}),Jm={title:{type:String,default:""},visible:{type:Boolean,default:!1},width:{type:String,default:"auto"},height:{type:String,default:"auto"},onClose:{type:Function},showAdjust:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},onAdjust:{type:Function,default:()=>{}}},Ii=ve({name:"MdModal",props:Jm,emits:["onClose"],setup(i,e){const t=J(i.visible),n=J([`${y}-modal`]),s=J(),r=J();let o=()=>{};const l=lt({initPos:{left:"0px",top:"0px"},historyPos:{left:"0px",top:"0px"}}),a=X(()=>i.isFullscreen?{width:"100%",height:"100%"}:{width:i.width,height:i.height});return yt(()=>{o=eh(r.value,(h,c)=>{l.initPos.left=h+"px",l.initPos.top=c+"px"})}),$i(()=>{o()}),de(()=>i.isFullscreen,h=>{h?o():o=eh(r.value,(c,u)=>{l.initPos.left=c+"px",l.initPos.top=u+"px"})}),de(()=>i.visible,h=>{h?(n.value.push("zoom-in"),t.value=h,Bi(()=>{const c=s.value.offsetWidth/2,u=s.value.offsetHeight/2,d=document.documentElement.clientWidth/2,f=document.documentElement.clientHeight/2;l.initPos.left=d-c+"px",l.initPos.top=f-u+"px"}),setTimeout(()=>{n.value=n.value.filter(c=>c!=="zoom-in")},140)):(n.value.push("zoom-out"),setTimeout(()=>{n.value=n.value.filter(c=>c!=="zoom-out"),t.value=h},130))}),()=>{const h=at({ctx:e}),c=at({props:i,ctx:e},"title");return p("div",{style:{display:t.value?"block":"none"}},[p("div",{class:`${y}-modal-mask`,onClick:()=>{i.onClose?i.onClose():e.emit("onClose")}},null),p("div",{class:n.value,style:{...l.initPos,...a.value},ref:s},[p("div",{class:`${y}-modal-header`,ref:r},[c||""]),p("div",{class:`${y}-modal-body`},[h]),p("div",{class:`${y}-modal-func`},[i.showAdjust&&p("div",{class:`${y}-modal-adjust`,onClick:u=>{u.stopPropagation(),i.isFullscreen?l.initPos=l.historyPos:(l.historyPos=l.initPos,l.initPos={left:"0",top:"0"}),i.onAdjust(!i.isFullscreen)}},[p(B,{name:i.isFullscreen?"suoxiao":"fangda"},null)]),p("div",{class:`${y}-modal-close`,onClick:u=>{u.stopPropagation(),i.onClose?i.onClose():e.emit("onClose")}},[p(B,{name:"close"},null)])])])])}}});Ii.install=i=>(i.component(Ii.name,Ii),i);class G{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,n){[e,t]=zi(this,e,t);let s=[];return this.decompose(0,e,s,2),n.length&&n.decompose(0,n.length,s,3),this.decompose(t,this.length,s,1),Ct.from(s,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){[e,t]=zi(this,e,t);let n=[];return this.decompose(e,t,n,0),Ct.from(n,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),s=new Rn(this),r=new Rn(e);for(let o=t,l=t;;){if(s.next(o),r.next(o),o=0,s.lineBreak!=r.lineBreak||s.done!=r.done||s.value!=r.value)return!1;if(l+=s.value.length,s.done||l>=n)return!0}}iter(e=1){return new Rn(this,e)}iterRange(e,t=this.length){return new Mu(this,e,t)}iterLines(e,t){let n;if(e==null)n=this.iter();else{t==null&&(t=this.lines+1);let s=this.line(e).from;n=this.iterRange(s,Math.max(s,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new ju(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?G.empty:e.length<=32?new be(e):Ct.from(be.split(e,[]))}}class be extends G{constructor(e,t=eg(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,s){for(let r=0;;r++){let o=this.text[r],l=s+o.length;if((t?n:l)>=e)return new tg(s,l,n,o);s=l+1,n++}}decompose(e,t,n,s){let r=e<=0&&t>=this.length?this:new be(ih(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(s&1){let o=n.pop(),l=Xs(r.text,o.text.slice(),0,r.length);if(l.length<=32)n.push(new be(l,o.length+r.length));else{let a=l.length>>1;n.push(new be(l.slice(0,a)),new be(l.slice(a)))}}else n.push(r)}replace(e,t,n){if(!(n instanceof be))return super.replace(e,t,n);[e,t]=zi(this,e,t);let s=Xs(this.text,Xs(n.text,ih(this.text,0,e)),t),r=this.length+n.length-(t-e);return s.length<=32?new be(s,r):Ct.from(be.split(s,[]),r)}sliceString(e,t=this.length,n=` +import{K as ve,i as te,m as p,a as lt,r as J,D as de,o as yt,h as $i,L as go,c as X,M as Bi,N as GO,_ as w,s as St,O as Mt,P as NO,A as ne,p as ke,Q as Qu,x as ui,l as Xe,y as di,B as ml,R as Dt,S as Ns,T as gl,E as Us,U as yi,V as fr,W as bl,G as qi,j as Yn,b as ns,X as on,g as UO,d as FO,Y as HO,Z as KO,$ as JO,a0 as mi,a1 as Pu,a2 as $u,z as em,a3 as tm,a4 as im,q as he,a5 as st,w as T,a6 as Ka,u as nm,I as V,J as A,a7 as ge,t as rt,a8 as ds,a9 as Xt,aa as sm,ab as rm,v as Ja,ac as om}from"./index-92c8c5cd.js";import{a as y,L as eh,l as si,t as lm,b,N as zt,s as ln,c as me,I as pr,T as ce,h as am,d as Es,P as Or,e as mr,f as hm,p as Cu,D as cm,g as Tu,C as Y,i as um,j as dm,k as fm,m as bo,n as pm,_ as Om,o as mm,$ as gm,q as bm,r as vm,S as ym,E as Sm,u as km,v as vo,w as wm,x as xm,y as Qm,z as Pm,A as $m,B as Cm,G as ue,H as vl,F as Tm,J as Zm,K as Am,M as Zu,O as Au,Q as _u,R as _m,U as an,V as Rm,W as Em,X as Vm,Y as Xm,Z as fs,a0 as Im,a1 as Wm,a2 as Dm,a3 as th,a4 as Lm,a5 as Ym}from"./VTextField-37dfe157.js";import{m as xt,s as Ru,a as Gt,t as gr,v as yl,b as qe,c as br,w as vr,d as yr,x as Sl,e as Sr,y as Eu,z as Mm,R as kl,g as kr,A as Vu,B as wr,h as xr,i as Qr,C as jm,D as wl,E as Xu,F as Iu,G as Bm,n as Zt,j as Lt,H as Si,I as Wu,M as Du,k as qm,l as xl,J as Ql,K as Pl,f as Lu,o as H,L as zm,N as Gm,O as Nm,P as Um,p as pn,Q as On,q as ps,r as Fe}from"./VRow-c001e689.js";import{u as Yu}from"./ssrBoot-5d57507b.js";const at=({instance:i,ctx:e,props:t={}},n="default")=>{const s=(i==null?void 0:i.$slots[n])||(e==null?void 0:e.slots[n]);return(s?s(i):"")||t[n]},Fm={overlay:{type:[String,Object],default:""},visible:{type:Boolean,default:!1},onChange:{type:Function,default:()=>{}},relative:{type:String,default:"html"}},_i=ve({props:Fm,setup(i,e){const t=`${y}-dropdown-hidden`,n=lt({overlayClass:[t],overlayStyle:{},triggerHover:!1,overlayHover:!1}),s=J(),r=J(),o=()=>{var c;n.triggerHover=!0;const u=s.value,d=r.value;if(!u||!d)return;const f=u.getBoundingClientRect(),O=u.offsetTop,m=u.offsetLeft,g=f.height,v=f.width,k=((c=document.querySelector(i.relative))==null?void 0:c.scrollLeft)||0;n.overlayStyle={...n.overlayStyle,top:O+g+"px",left:m-d.offsetWidth/2+v/2-k+"px"},i.onChange(!0)},l=()=>{n.overlayHover=!0};de(()=>i.visible,c=>{c?n.overlayClass=n.overlayClass.filter(u=>u!==t):n.overlayClass.push(t)});let a=-1;const h=c=>{s.value===c.target?n.triggerHover=!1:n.overlayHover=!1,clearTimeout(a),a=window.setTimeout(()=>{!n.overlayHover&&!n.triggerHover&&i.onChange(!1)},10)};return yt(()=>{s.value.addEventListener("mouseenter",o),s.value.addEventListener("mouseleave",h),r.value.addEventListener("mouseenter",l),r.value.addEventListener("mouseleave",h)}),$i(()=>{s.value.removeEventListener("mouseenter",o),s.value.removeEventListener("mouseleave",h),r.value.removeEventListener("mouseenter",l),r.value.removeEventListener("mouseleave",h)}),()=>{const c=at({ctx:e}),u=at({props:i,ctx:e},"overlay"),d=go(c instanceof Array?c[0]:c,{ref:s}),f=p("div",{class:[`${y}-dropdown`,n.overlayClass],style:n.overlayStyle,ref:r},[p("div",{class:`${y}-dropdown-overlay`},[u instanceof Array?u[0]:u])]);return[d,f]}}}),Hm={title:{type:String,default:""},visible:{type:Boolean},trigger:{type:[String,Object]},onChange:{type:Function},overlay:{type:[String,Object]},insert:{type:Function},language:{type:String},theme:{type:String},default:{type:[String,Object]}},Vs=ve({name:"DropdownToolbar",props:Hm,emits:["onChange"],setup(i,e){const t=te("editorId");return()=>{const n=at({props:i,ctx:e},"trigger"),s=at({props:i,ctx:e},"overlay"),r=at({props:i,ctx:e});return p(_i,{relative:`#${t}-toolbar-wrapper`,visible:i.visible,onChange:o=>{i.onChange instanceof Function?i.onChange(o):e.emit("onChange",o)},overlay:s},{default:()=>[p("div",{class:`${y}-toolbar-item`,title:i.title||""},[n,r])]})}}});Vs.install=i=>(i.component(Vs.name,Vs),i);const Km=ve({props:{name:{type:String,default:""}},setup(i){return()=>si.iconfontType==="svg"?p("svg",{class:`${y}-icon`,"aria-hidden":"true"},[p("use",{"xlink:href":`#${y}-icon-${i.name}`},null)]):p("i",{class:`${y}-iconfont ${y}-icon-${i.name}`},null)}}),B=ve({props:{name:{type:String,default:""}},setup(i){const e=te("customIcon");return()=>{const t=e.value[i.name];return typeof t=="object"?typeof t.component=="object"?GO(t.component,t.props):p("span",{innerHTML:t.component},null):p(Km,{name:i.name},null)}}}),Jm={title:{type:String,default:""},visible:{type:Boolean,default:!1},width:{type:String,default:"auto"},height:{type:String,default:"auto"},onClose:{type:Function},showAdjust:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},onAdjust:{type:Function,default:()=>{}}},Ii=ve({name:"MdModal",props:Jm,emits:["onClose"],setup(i,e){const t=J(i.visible),n=J([`${y}-modal`]),s=J(),r=J();let o=()=>{};const l=lt({initPos:{left:"0px",top:"0px"},historyPos:{left:"0px",top:"0px"}}),a=X(()=>i.isFullscreen?{width:"100%",height:"100%"}:{width:i.width,height:i.height});return yt(()=>{o=eh(r.value,(h,c)=>{l.initPos.left=h+"px",l.initPos.top=c+"px"})}),$i(()=>{o()}),de(()=>i.isFullscreen,h=>{h?o():o=eh(r.value,(c,u)=>{l.initPos.left=c+"px",l.initPos.top=u+"px"})}),de(()=>i.visible,h=>{h?(n.value.push("zoom-in"),t.value=h,Bi(()=>{const c=s.value.offsetWidth/2,u=s.value.offsetHeight/2,d=document.documentElement.clientWidth/2,f=document.documentElement.clientHeight/2;l.initPos.left=d-c+"px",l.initPos.top=f-u+"px"}),setTimeout(()=>{n.value=n.value.filter(c=>c!=="zoom-in")},140)):(n.value.push("zoom-out"),setTimeout(()=>{n.value=n.value.filter(c=>c!=="zoom-out"),t.value=h},130))}),()=>{const h=at({ctx:e}),c=at({props:i,ctx:e},"title");return p("div",{style:{display:t.value?"block":"none"}},[p("div",{class:`${y}-modal-mask`,onClick:()=>{i.onClose?i.onClose():e.emit("onClose")}},null),p("div",{class:n.value,style:{...l.initPos,...a.value},ref:s},[p("div",{class:`${y}-modal-header`,ref:r},[c||""]),p("div",{class:`${y}-modal-body`},[h]),p("div",{class:`${y}-modal-func`},[i.showAdjust&&p("div",{class:`${y}-modal-adjust`,onClick:u=>{u.stopPropagation(),i.isFullscreen?l.initPos=l.historyPos:(l.historyPos=l.initPos,l.initPos={left:"0",top:"0"}),i.onAdjust(!i.isFullscreen)}},[p(B,{name:i.isFullscreen?"suoxiao":"fangda"},null)]),p("div",{class:`${y}-modal-close`,onClick:u=>{u.stopPropagation(),i.onClose?i.onClose():e.emit("onClose")}},[p(B,{name:"close"},null)])])])])}}});Ii.install=i=>(i.component(Ii.name,Ii),i);class G{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,n){[e,t]=zi(this,e,t);let s=[];return this.decompose(0,e,s,2),n.length&&n.decompose(0,n.length,s,3),this.decompose(t,this.length,s,1),Ct.from(s,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){[e,t]=zi(this,e,t);let n=[];return this.decompose(e,t,n,0),Ct.from(n,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),s=new Rn(this),r=new Rn(e);for(let o=t,l=t;;){if(s.next(o),r.next(o),o=0,s.lineBreak!=r.lineBreak||s.done!=r.done||s.value!=r.value)return!1;if(l+=s.value.length,s.done||l>=n)return!0}}iter(e=1){return new Rn(this,e)}iterRange(e,t=this.length){return new Mu(this,e,t)}iterLines(e,t){let n;if(e==null)n=this.iter();else{t==null&&(t=this.lines+1);let s=this.line(e).from;n=this.iterRange(s,Math.max(s,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new ju(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?G.empty:e.length<=32?new be(e):Ct.from(be.split(e,[]))}}class be extends G{constructor(e,t=eg(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,s){for(let r=0;;r++){let o=this.text[r],l=s+o.length;if((t?n:l)>=e)return new tg(s,l,n,o);s=l+1,n++}}decompose(e,t,n,s){let r=e<=0&&t>=this.length?this:new be(ih(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(s&1){let o=n.pop(),l=Xs(r.text,o.text.slice(),0,r.length);if(l.length<=32)n.push(new be(l,o.length+r.length));else{let a=l.length>>1;n.push(new be(l.slice(0,a)),new be(l.slice(a)))}}else n.push(r)}replace(e,t,n){if(!(n instanceof be))return super.replace(e,t,n);[e,t]=zi(this,e,t);let s=Xs(this.text,Xs(n.text,ih(this.text,0,e)),t),r=this.length+n.length-(t-e);return s.length<=32?new be(s,r):Ct.from(be.split(s,[]),r)}sliceString(e,t=this.length,n=` `){[e,t]=zi(this,e,t);let s="";for(let r=0,o=0;r<=t&&oe&&o&&(s+=n),er&&(s+=l.slice(Math.max(0,e-r),t-r)),r=a+1}return s}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let n=[],s=-1;for(let r of e)n.push(r),s+=r.length+1,n.length==32&&(t.push(new be(n,s)),n=[],s=-1);return s>-1&&t.push(new be(n,s)),t}}class Ct extends G{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let n of e)this.lines+=n.lines}lineInner(e,t,n,s){for(let r=0;;r++){let o=this.children[r],l=s+o.length,a=n+o.lines-1;if((t?a:l)>=e)return o.lineInner(e,t,n,s);s=l+1,n=a+1}}decompose(e,t,n,s){for(let r=0,o=0;o<=t&&r=o){let h=s&((o<=e?1:0)|(a>=t?2:0));o>=e&&a<=t&&!h?n.push(l):l.decompose(e-o,t-o,n,h)}o=a+1}}replace(e,t,n){if([e,t]=zi(this,e,t),n.lines=r&&t<=l){let a=o.replace(e-r,t-r,n),h=this.lines-o.lines+a.lines;if(a.lines>5-1&&a.lines>h>>5+1){let c=this.children.slice();return c[s]=a,new Ct(c,this.length-(t-e)+n.length)}return super.replace(r,l,a)}r=l+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n=` `){[e,t]=zi(this,e,t);let s="";for(let r=0,o=0;re&&r&&(s+=n),eo&&(s+=l.sliceString(e-o,t-o,n)),o=a+1}return s}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof Ct))return 0;let n=0,[s,r,o,l]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;s+=t,r+=t){if(s==o||r==l)return n;let a=this.children[s],h=e.children[r];if(a!=h)return n+a.scanIdentical(h,t);n+=a.length+1}}static from(e,t=e.reduce((n,s)=>n+s.length+1,-1)){let n=0;for(let f of e)n+=f.lines;if(n<32){let f=[];for(let O of e)O.flatten(f);return new be(f,t)}let s=Math.max(32,n>>5),r=s<<1,o=s>>1,l=[],a=0,h=-1,c=[];function u(f){let O;if(f.lines>r&&f instanceof Ct)for(let m of f.children)u(m);else f.lines>o&&(a>o||!a)?(d(),l.push(f)):f instanceof be&&a&&(O=c[c.length-1])instanceof be&&f.lines+O.lines<=32?(a+=f.lines,h+=f.length+1,c[c.length-1]=new be(O.text.concat(f.text),O.length+1+f.length)):(a+f.lines>s&&d(),a+=f.lines,h+=f.length+1,c.push(f))}function d(){a!=0&&(l.push(c.length==1?c[0]:Ct.from(c,h)),h=-1,a=c.length=0)}for(let f of e)u(f);return d(),l.length==1?l[0]:new Ct(l,t)}}G.empty=new be([""],0);function eg(i){let e=-1;for(let t of i)e+=t.length+1;return e}function Xs(i,e,t=0,n=1e9){for(let s=0,r=0,o=!0;r=t&&(a>n&&(l=l.slice(0,n-s)),s0?1:(e instanceof be?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,s=this.nodes[n],r=this.offsets[n],o=r>>1,l=s instanceof be?s.text.length:s.children.length;if(o==(t>0?l:0)){if(n==0)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((r&1)==(t>0?0:1)){if(this.offsets[n]+=t,e==0)return this.lineBreak=!0,this.value=` `,this;e--}else if(s instanceof be){let a=s.text[o+(t<0?-1:0)];if(this.offsets[n]+=t,a.length>Math.max(0,e))return this.value=e==0?a:t>0?a.slice(e):a.slice(0,a.length-e),this;e-=a.length}else{let a=s.children[o+(t<0?-1:0)];e>a.length?(e-=a.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(a),this.offsets.push(t>0?1:(a instanceof be?a.text.length:a.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class Mu{constructor(e,t,n){this.value="",this.done=!1,this.cursor=new Rn(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:s}=this.cursor.next(e);return this.pos+=(s.length+e)*t,this.value=s.length<=n?s:t<0?s.slice(s.length-n):s.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class ju{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:n,value:s}=this.inner.next(e);return t&&this.afterBreak?(this.value="",this.afterBreak=!1):t?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=s,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(G.prototype[Symbol.iterator]=function(){return this.iter()},Rn.prototype[Symbol.iterator]=Mu.prototype[Symbol.iterator]=ju.prototype[Symbol.iterator]=function(){return this});let tg=class{constructor(e,t,n,s){this.from=e,this.to=t,this.number=n,this.text=s}get length(){return this.to-this.from}};function zi(i,e,t){return e=Math.max(0,Math.min(i.length,e)),[e,Math.max(e,Math.min(i.length,t))]}let Wi="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7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,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(i=>i?parseInt(i,36):1);for(let i=1;ii)return Wi[e-1]<=i;return!1}function nh(i){return i>=127462&&i<=127487}const sh=8205;function je(i,e,t=!0,n=!0){return(t?Bu:ng)(i,e,n)}function Bu(i,e,t){if(e==i.length)return e;e&&qu(i.charCodeAt(e))&&zu(i.charCodeAt(e-1))&&e--;let n=gt(i,e);for(e+=Jt(n);e=0&&nh(gt(i,o));)r++,o-=2;if(r%2==0)break;e+=2}else break}return e}function ng(i,e,t){for(;e>0;){let n=Bu(i,e-2,t);if(n=56320&&i<57344}function zu(i){return i>=55296&&i<56320}function gt(i,e){let t=i.charCodeAt(e);if(!zu(t)||e+1==i.length)return t;let n=i.charCodeAt(e+1);return qu(n)?(t-55296<<10)+(n-56320)+65536:t}function sg(i){return i<=65535?String.fromCharCode(i):(i-=65536,String.fromCharCode((i>>10)+55296,(i&1023)+56320))}function Jt(i){return i<65536?1:2}const yo=/\r\n?|\n/;var Me=function(i){return i[i.Simple=0]="Simple",i[i.TrackDel=1]="TrackDel",i[i.TrackBefore=2]="TrackBefore",i[i.TrackAfter=3]="TrackAfter",i}(Me||(Me={}));class _t{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;te)return r+(e-s);r+=l}else{if(n!=Me.Simple&&h>=e&&(n==Me.TrackDel&&se||n==Me.TrackBefore&&se))return null;if(h>e||h==e&&t<0&&!l)return e==s||t<0?r:r+a;r+=a}s=h}if(e>s)throw new RangeError(`Position ${e} is out of range for changeset of length ${s}`);return r}touchesRange(e,t=e){for(let n=0,s=0;n=0&&s<=t&&l>=e)return st?"cover":!0;s=l}return!1}toString(){let e="";for(let t=0;t=0?":"+s:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(t=>typeof t!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new _t(e)}static create(e){return new _t(e)}}class Pe extends _t{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return So(this,(t,n,s,r,o)=>e=e.replace(s,s+(n-t),o),!1),e}mapDesc(e,t=!1){return ko(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[];for(let s=0,r=0;s=0){t[s]=l,t[s+1]=o;let a=s>>1;for(;n.length0&&ti(n,t,r.text),r.forward(c),l+=c}let h=e[o++];for(;l>1].toJSON()))}return e}static of(e,t,n){let s=[],r=[],o=0,l=null;function a(c=!1){if(!c&&!s.length)return;od||u<0||d>t)throw new RangeError(`Invalid change range ${u} to ${d} (in doc of length ${t})`);let O=f?typeof f=="string"?G.of(f.split(n||yo)):f:G.empty,m=O.length;if(u==d&&m==0)return;uo&&Ie(s,u-o,-1),Ie(s,d-u,m),ti(r,s,O),o=d}}return h(e),a(!l),l}static empty(e){return new Pe(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let t=[],n=[];for(let s=0;sl&&typeof o!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(r.length==1)t.push(r[0],0);else{for(;n.length=0&&t<=0&&t==i[s+1]?i[s]+=e:e==0&&i[s]==0?i[s+1]+=t:n?(i[s]+=e,i[s+1]+=t):i.push(e,t)}function ti(i,e,t){if(t.length==0)return;let n=e.length-2>>1;if(n>1])),!(t||o==i.sections.length||i.sections[o+1]<0);)l=i.sections[o++],a=i.sections[o++];e(s,h,r,c,u),s=h,r=c}}}function ko(i,e,t,n=!1){let s=[],r=n?[]:null,o=new Mn(i),l=new Mn(e);for(let a=-1;;)if(o.ins==-1&&l.ins==-1){let h=Math.min(o.len,l.len);Ie(s,h,-1),o.forward(h),l.forward(h)}else if(l.ins>=0&&(o.ins<0||a==o.i||o.off==0&&(l.len=0&&a=0){let h=0,c=o.len;for(;c;)if(l.ins==-1){let u=Math.min(c,l.len);h+=u,c-=u,l.forward(u)}else if(l.ins==0&&l.lena||o.ins>=0&&o.len>a)&&(l||n.length>h),r.forward2(a),o.forward(a)}}}}class Mn{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return t>=e.length?G.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?G.empty:t[n].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class bi{constructor(e,t,n){this.from=e,this.to=t,this.flags=n}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let e=this.flags&7;return e==7?null:e}get goalColumn(){let e=this.flags>>6;return e==16777215?void 0:e}map(e,t=-1){let n,s;return this.empty?n=s=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),s=e.mapPos(this.to,-1)),n==this.from&&s==this.to?this:new bi(n,s,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return P.range(e,t);let n=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return P.range(this.anchor,n)}eq(e,t=!1){return this.anchor==e.anchor&&this.head==e.head&&(!t||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return P.range(e.anchor,e.head)}static create(e,t,n){return new bi(e,t,n)}}class P{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:P.create(this.ranges.map(n=>n.map(e,t)),this.mainIndex)}eq(e,t=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let n=0;ne.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new P(e.ranges.map(t=>bi.fromJSON(t)),e.main)}static single(e,t=e){return new P([P.range(e,t)],0)}static create(e,t=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let n=0,s=0;se?8:0)|r)}static normalized(e,t=0){let n=e[t];e.sort((s,r)=>s.from-r.from),t=e.indexOf(n);for(let s=1;sr.head?P.range(a,l):P.range(l,a))}}return new P(e,t)}}function Nu(i,e){for(let t of i.ranges)if(t.to>e)throw new RangeError("Selection points outside of document")}let $l=0;class W{constructor(e,t,n,s,r){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=s,this.id=$l++,this.default=e([]),this.extensions=typeof r=="function"?r(this):r}get reader(){return this}static define(e={}){return new W(e.combine||(t=>t),e.compareInput||((t,n)=>t===n),e.compare||(e.combine?(t,n)=>t===n:Cl),!!e.static,e.enables)}of(e){return new Is([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new Is(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new Is(e,this,2,t)}from(e,t){return t||(t=n=>n),this.compute([e],n=>t(n.field(e)))}}function Cl(i,e){return i==e||i.length==e.length&&i.every((t,n)=>t===e[n])}class Is{constructor(e,t,n,s){this.dependencies=e,this.facet=t,this.type=n,this.value=s,this.id=$l++}dynamicSlot(e){var t;let n=this.value,s=this.facet.compareInput,r=this.id,o=e[r]>>1,l=this.type==2,a=!1,h=!1,c=[];for(let u of this.dependencies)u=="doc"?a=!0:u=="selection"?h=!0:((t=e[u.id])!==null&&t!==void 0?t:1)&1||c.push(e[u.id]);return{create(u){return u.values[o]=n(u),1},update(u,d){if(a&&d.docChanged||h&&(d.docChanged||d.selection)||wo(u,c)){let f=n(u);if(l?!rh(f,u.values[o],s):!s(f,u.values[o]))return u.values[o]=f,1}return 0},reconfigure:(u,d)=>{let f,O=d.config.address[r];if(O!=null){let m=Hs(d,O);if(this.dependencies.every(g=>g instanceof W?d.facet(g)===u.facet(g):g instanceof Et?d.field(g,!1)==u.field(g,!1):!0)||(l?rh(f=n(u),m,s):s(f=n(u),m)))return u.values[o]=m,0}else f=n(u);return u.values[o]=f,1}}}}function rh(i,e,t){if(i.length!=e.length)return!1;for(let n=0;ni[a.id]),s=t.map(a=>a.type),r=n.filter(a=>!(a&1)),o=i[e.id]>>1;function l(a){let h=[];for(let c=0;cn===s),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(oh).find(n=>n.field==this);return((t==null?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:n=>(n.values[t]=this.create(n),1),update:(n,s)=>{let r=n.values[t],o=this.updateF(r,s);return this.compareF(r,o)?0:(n.values[t]=o,1)},reconfigure:(n,s)=>s.config.address[this.id]!=null?(n.values[t]=s.field(this),0):(n.values[t]=this.create(n),1)}}init(e){return[this,oh.of({field:this,create:e})]}get extension(){return this}}const gi={lowest:4,low:3,default:2,high:1,highest:0};function mn(i){return e=>new Uu(e,i)}const Ci={highest:mn(gi.highest),high:mn(gi.high),default:mn(gi.default),low:mn(gi.low),lowest:mn(gi.lowest)};class Uu{constructor(e,t){this.inner=e,this.prec=t}}class ri{of(e){return new xo(this,e)}reconfigure(e){return ri.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class xo{constructor(e,t){this.compartment=e,this.inner=t}}class Fs{constructor(e,t,n,s,r,o){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=s,this.staticValues=r,this.facets=o,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,t,n){let s=[],r=Object.create(null),o=new Map;for(let d of og(e,t,o))d instanceof Et?s.push(d):(r[d.facet.id]||(r[d.facet.id]=[])).push(d);let l=Object.create(null),a=[],h=[];for(let d of s)l[d.id]=h.length<<1,h.push(f=>d.slot(f));let c=n==null?void 0:n.config.facets;for(let d in r){let f=r[d],O=f[0].facet,m=c&&c[d]||[];if(f.every(g=>g.type==0))if(l[O.id]=a.length<<1|1,Cl(m,f))a.push(n.facet(O));else{let g=O.combine(f.map(v=>v.value));a.push(n&&O.compare(g,n.facet(O))?n.facet(O):g)}else{for(let g of f)g.type==0?(l[g.id]=a.length<<1|1,a.push(g.value)):(l[g.id]=h.length<<1,h.push(v=>g.dynamicSlot(v)));l[O.id]=h.length<<1,h.push(g=>rg(g,O,f))}}let u=h.map(d=>d(l));return new Fs(e,o,u,l,a,r)}}function og(i,e,t){let n=[[],[],[],[],[]],s=new Map;function r(o,l){let a=s.get(o);if(a!=null){if(a<=l)return;let h=n[a].indexOf(o);h>-1&&n[a].splice(h,1),o instanceof xo&&t.delete(o.compartment)}if(s.set(o,l),Array.isArray(o))for(let h of o)r(h,l);else if(o instanceof xo){if(t.has(o.compartment))throw new RangeError("Duplicate use of compartment in extensions");let h=e.get(o.compartment)||o.inner;t.set(o.compartment,h),r(h,l)}else if(o instanceof Uu)r(o.inner,o.prec);else if(o instanceof Et)n[l].push(o),o.provides&&r(o.provides,l);else if(o instanceof Is)n[l].push(o),o.facet.extensions&&r(o.facet.extensions,gi.default);else{let h=o.extension;if(!h)throw new Error(`Unrecognized extension value in extension set (${o}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);r(h,l)}}return r(i,gi.default),n.reduce((o,l)=>o.concat(l))}function En(i,e){if(e&1)return 2;let t=e>>1,n=i.status[t];if(n==4)throw new Error("Cyclic dependency between fields and/or facets");if(n&2)return n;i.status[t]=4;let s=i.computeSlot(i,i.config.dynamicSlots[t]);return i.status[t]=2|s}function Hs(i,e){return e&1?i.config.staticValues[e>>1]:i.values[e>>1]}const Fu=W.define(),Qo=W.define({combine:i=>i.some(e=>e),static:!0}),Hu=W.define({combine:i=>i.length?i[0]:void 0,static:!0}),Ku=W.define(),Ju=W.define(),ed=W.define(),td=W.define({combine:i=>i.length?i[0]:!1});class Nt{constructor(e,t){this.type=e,this.value=t}static define(){return new lg}}class lg{of(e){return new Nt(this,e)}}class ag{constructor(e){this.map=e}of(e){return new ee(this,e)}}class ee{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return t===void 0?void 0:t==this.value?this:new ee(this.type,t)}is(e){return this.type==e}static define(e={}){return new ag(e.map||(t=>t))}static mapEffects(e,t){if(!e.length)return e;let n=[];for(let s of e){let r=s.map(t);r&&n.push(r)}return n}}ee.reconfigure=ee.define();ee.appendConfig=ee.define();class $e{constructor(e,t,n,s,r,o){this.startState=e,this.changes=t,this.selection=n,this.effects=s,this.annotations=r,this.scrollIntoView=o,this._doc=null,this._state=null,n&&Nu(n,t.newLength),r.some(l=>l.type==$e.time)||(this.annotations=r.concat($e.time.of(Date.now())))}static create(e,t,n,s,r,o){return new $e(e,t,n,s,r,o)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation($e.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&t[e.length]=="."))}}$e.time=Nt.define();$e.userEvent=Nt.define();$e.addToHistory=Nt.define();$e.remote=Nt.define();function hg(i,e){let t=[];for(let n=0,s=0;;){let r,o;if(n=i[n]))r=i[n++],o=i[n++];else if(s=0;s--){let r=n[s](i);r instanceof $e?i=r:Array.isArray(r)&&r.length==1&&r[0]instanceof $e?i=r[0]:i=nd(e,Di(r),!1)}return i}function ug(i){let e=i.startState,t=e.facet(ed),n=i;for(let s=t.length-1;s>=0;s--){let r=t[s](i);r&&Object.keys(r).length&&(n=id(n,Po(e,r,i.changes.newLength),!0))}return n==i?i:$e.create(e,i.changes,i.selection,n.effects,n.annotations,n.scrollIntoView)}const dg=[];function Di(i){return i==null?dg:Array.isArray(i)?i:[i]}var Yt=function(i){return i[i.Word=0]="Word",i[i.Space=1]="Space",i[i.Other=2]="Other",i}(Yt||(Yt={}));const fg=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let $o;try{$o=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function pg(i){if($o)return $o.test(i);for(let e=0;e"€"&&(t.toUpperCase()!=t.toLowerCase()||fg.test(t)))return!0}return!1}function Og(i){return e=>{if(!/\S/.test(e))return Yt.Space;if(pg(e))return Yt.Word;for(let t=0;t-1)return Yt.Word;return Yt.Other}}class q{constructor(e,t,n,s,r,o){this.config=e,this.doc=t,this.selection=n,this.values=s,this.status=e.statusTemplate.slice(),this.computeSlot=r,o&&(o._state=this);for(let l=0;ls.set(h,a)),t=null),s.set(l.value.compartment,l.value.extension)):l.is(ee.reconfigure)?(t=null,n=l.value):l.is(ee.appendConfig)&&(t=null,n=Di(n).concat(l.value));let r;t?r=e.startState.values.slice():(t=Fs.resolve(n,s,this),r=new q(t,this.doc,this.selection,t.dynamicSlots.map(()=>null),(a,h)=>h.reconfigure(a,this),null).values);let o=e.startState.facet(Qo)?e.newSelection:e.newSelection.asSingle();new q(t,e.newDoc,o,r,(l,a)=>a.update(l,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:P.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),s=this.changes(n.changes),r=[n.range],o=Di(n.effects);for(let l=1;lo.spec.fromJSON(l,a)))}}return q.create({doc:e.doc,selection:P.fromJSON(e.selection),extensions:t.extensions?s.concat([t.extensions]):s})}static create(e={}){let t=Fs.resolve(e.extensions||[],new Map),n=e.doc instanceof G?e.doc:G.of((e.doc||"").split(t.staticFacet(q.lineSeparator)||yo)),s=e.selection?e.selection instanceof P?e.selection:P.single(e.selection.anchor,e.selection.head):P.single(0);return Nu(s,n.length),t.staticFacet(Qo)||(s=s.asSingle()),new q(t,n,s,t.dynamicSlots.map(()=>null),(r,o)=>o.create(r),null)}get tabSize(){return this.facet(q.tabSize)}get lineBreak(){return this.facet(q.lineSeparator)||` @@ -9,7 +9,7 @@ import{K as ve,i as te,m as p,a as lt,r as J,D as de,o as yt,h as $i,L as go,c a `&&i.lineWrapping&&(n&&(n=P.single(n.main.anchor-1,n.main.head-1)),t={from:s.from,to:s.to,insert:G.of([" "])}),t){if(R.ios&&i.inputState.flushIOSKey()||R.android&&(t.from==s.from&&t.to==s.to&&t.insert.length==1&&t.insert.lines==2&&Li(i.contentDOM,"Enter",13)||(t.from==s.from-1&&t.to==s.to&&t.insert.length==0||r==8&&t.insert.lengths.head)&&Li(i.contentDOM,"Backspace",8)||t.from==s.from&&t.to==s.to+1&&t.insert.length==0&&Li(i.contentDOM,"Delete",46)))return!0;let o=t.insert.toString();i.inputState.composing>=0&&i.inputState.composing++;let l,a=()=>l||(l=W0(i,t,n));return i.state.facet($d).some(h=>h(i,t.from,t.to,o,a))||i.dispatch(a()),!0}else if(n&&!n.main.eq(s)){let o=!1,l="select";return i.inputState.lastSelectionTime>Date.now()-50&&(i.inputState.lastSelectionOrigin=="select"&&(o=!0),l=i.inputState.lastSelectionOrigin),i.dispatch({selection:n,scrollIntoView:o,userEvent:l}),!0}else return!1}function W0(i,e,t){let n,s=i.state,r=s.selection.main;if(e.from>=r.from&&e.to<=r.to&&e.to-e.from>=(r.to-r.from)/3&&(!t||t.main.empty&&t.main.from==e.from+e.insert.length)&&i.inputState.composing<0){let l=r.frome.to?s.sliceDoc(e.to,r.to):"";n=s.replaceSelection(i.state.toText(l+e.insert.sliceString(0,void 0,i.state.lineBreak)+a))}else{let l=s.changes(e),a=t&&t.main.to<=l.newLength?t.main:void 0;if(s.selection.ranges.length>1&&i.inputState.composing>=0&&e.to<=r.to&&e.to>=r.to-10){let h=i.state.sliceDoc(e.from,e.to),c,u=t&&Xd(i,t.main.head);if(u){let O=e.insert.length-(e.to-e.from);c={from:u.from,to:u.to-O}}else c=i.state.doc.lineAt(r.head);let d=r.to-e.to,f=r.to-r.from;n=s.changeByRange(O=>{if(O.from==r.from&&O.to==r.to)return{changes:l,range:a||O.map(l)};let m=O.to-d,g=m-h.length;if(O.to-O.from!=f||i.state.sliceDoc(g,m)!=h||O.to>=c.from&&O.from<=c.to)return{range:O};let v=s.changes({from:g,to:m,insert:e.insert}),k=O.to-r.to;return{changes:v,range:a?P.range(Math.max(0,a.anchor+k),Math.max(0,a.head+k)):O.map(v)}})}else n={changes:l,selection:a&&s.selection.replaceRange(a)}}let o="input.type";return(i.composing||i.inputState.compositionPendingChange&&i.inputState.compositionEndedAt>Date.now()-50)&&(i.inputState.compositionPendingChange=!1,o+=".compose",i.inputState.compositionFirstChange&&(o+=".start",i.inputState.compositionFirstChange=!1)),s.update(n,{userEvent:o,scrollIntoView:!0})}function D0(i,e,t,n){let s=Math.min(i.length,e.length),r=0;for(;r0&&l>0&&i.charCodeAt(o-1)==e.charCodeAt(l-1);)o--,l--;if(n=="end"){let a=Math.max(0,r-Math.min(o,l));t-=o+a-r}if(o=o?r-t:0;r-=a,l=r+(l-o),o=r}else if(l=l?r-t:0;r-=a,o=r+(o-l),l=r}return{from:r,toA:o,toB:l}}function L0(i){let e=[];if(i.root.activeElement!=i.contentDOM)return e;let{anchorNode:t,anchorOffset:n,focusNode:s,focusOffset:r}=i.observer.selectionRange;return t&&(e.push(new jh(t,n)),(s!=t||r!=n)&&e.push(new jh(s,r))),e}function Y0(i,e){if(i.length==0)return null;let t=i[0].pos,n=i.length==2?i[1].pos:t;return t>-1&&n>-1?P.single(t+e,n+e):null}const M0={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},Br=R.ie&&R.ie_version<=11;class j0{constructor(e){this.view=e,this.active=!1,this.selectionRange=new Pg,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(t=>{for(let n of t)this.queue.push(n);(R.ie&&R.ie_version<=11||R.ios&&e.composing)&&t.some(n=>n.type=="childList"&&n.removedNodes.length||n.type=="characterData"&&n.oldValue.length>n.target.nodeValue.length)?this.flushSoon():this.flush()}),Br&&(this.onCharData=t=>{this.queue.push({target:t.target,type:"characterData",oldValue:t.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var t;((t=this.view.docView)===null||t===void 0?void 0:t.lastUpdate){this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),t.length>0&&t[t.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(t=>{t.length>0&&t[t.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(){this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500)}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((t,n)=>t!=e[n]))){this.gapIntersection.disconnect();for(let t of e)this.gapIntersection.observe(t);this.gaps=e}}onSelectionChange(e){let t=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:n}=this,s=this.selectionRange;if(n.state.facet(Tr)?n.root.activeElement!=this.dom:!Ws(n.dom,s))return;let r=s.anchorNode&&n.docView.nearest(s.anchorNode);if(r&&r.ignoreEvent(e)){t||(this.selectionChanged=!1);return}(R.ie&&R.ie_version<=11||R.android&&R.chrome)&&!n.state.selection.main.empty&&s.focusNode&&Vn(s.focusNode,s.focusOffset,s.anchorNode,s.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,t=R.safari&&e.root.nodeType==11&&kg(this.dom.ownerDocument)==this.dom&&B0(this.view)||Ks(e.root);if(!t||this.selectionRange.eq(t))return!1;let n=Ws(this.dom,t);return n&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime{let r=this.delayedAndroidKey;r&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=r.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&r.force&&Li(this.dom,r.key,r.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(s)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:t,force:this.lastChange{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let t=-1,n=-1,s=!1;for(let r of e){let o=this.readMutation(r);o&&(o.typeOver&&(s=!0),t==-1?{from:t,to:n}=o:(t=Math.min(o.from,t),n=Math.max(o.to,n)))}return{from:t,to:n,typeOver:s}}readChange(){let{from:e,to:t,typeOver:n}=this.processRecords(),s=this.selectionChanged&&Ws(this.dom,this.selectionRange);if(e<0&&!s)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let r=new I0(this.view,e,t,n);return this.view.docView.domChanged={newSel:r.newSel?r.newSel.main:null},r}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let t=this.readChange();if(!t)return this.view.requestMeasure(),!1;let n=this.view.state,s=Kd(this.view,t);return this.view.state==n&&this.view.update([]),s}readMutation(e){let t=this.view.docView.nearest(e.target);if(!t||t.ignoreMutation(e))return null;if(t.markDirty(e.type=="attributes"),e.type=="attributes"&&(t.flags|=4),e.type=="childList"){let n=Bh(t,e.previousSibling||e.target.previousSibling,-1),s=Bh(t,e.nextSibling||e.target.nextSibling,1);return{from:n?t.posAfter(n):t.posAtStart,to:s?t.posBefore(s):t.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:t.posAtStart,to:t.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}destroy(){var e,t,n;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(t=this.gapIntersection)===null||t===void 0||t.disconnect(),(n=this.resizeScroll)===null||n===void 0||n.disconnect();for(let s of this.scrollTargets)s.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey)}}function Bh(i,e,t){for(;e;){let n=oe.get(e);if(n&&n.parent==i)return n;let s=e.parentNode;e=s!=i.dom?s:t>0?e.nextSibling:e.previousSibling}return null}function B0(i){let e=null;function t(a){a.preventDefault(),a.stopImmediatePropagation(),e=a.getTargetRanges()[0]}if(i.contentDOM.addEventListener("beforeinput",t,!0),i.dom.ownerDocument.execCommand("indent"),i.contentDOM.removeEventListener("beforeinput",t,!0),!e)return null;let n=e.startContainer,s=e.startOffset,r=e.endContainer,o=e.endOffset,l=i.docView.domAtPos(i.state.selection.main.anchor);return Vn(l.node,l.offset,r,o)&&([n,s,r,o]=[r,o,n,s]),{anchorNode:n,anchorOffset:s,focusNode:r,focusOffset:o}}class D{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),e.parent&&e.parent.appendChild(this.dom);let{dispatch:t}=e;this.dispatchTransactions=e.dispatchTransactions||t&&(n=>n.forEach(s=>t(s,this)))||(n=>this.update(n)),this.dispatch=this.dispatch.bind(this),this._root=e.root||$g(e.parent)||document,this.viewState=new Lh(e.state||q.create(e)),e.scrollTo&&e.scrollTo.is(bs)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(Pn).map(n=>new Lr(n));for(let n of this.plugins)n.update(this);this.observer=new j0(this),this.inputState=new r0(this),this.inputState.ensureHandlers(this.plugins),this.docView=new kh(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure()}dispatch(...e){let t=e.length==1&&e[0]instanceof $e?e:e.length==1&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(t,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let t=!1,n=!1,s,r=this.state;for(let d of e){if(d.startState!=r)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");r=d.state}if(this.destroyed){this.viewState.state=r;return}let o=this.hasFocus,l=0,a=null;e.some(d=>d.annotation(qd))?(this.inputState.notifiedFocused=o,l=1):o!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=o,a=zd(r,o),a||(l=1));let h=this.observer.delayedAndroidKey,c=null;if(h?(this.observer.clearDelayedAndroidKey(),c=this.observer.readChange(),(c&&!this.state.doc.eq(r.doc)||!this.state.selection.eq(r.selection))&&(c=null)):this.observer.clear(),r.facet(q.phrases)!=this.state.facet(q.phrases))return this.setState(r);s=Js.create(this,r,e),s.flags|=l;let u=this.viewState.scrollTarget;try{this.updateState=2;for(let d of e){if(u&&(u=u.map(d.changes)),d.scrollIntoView){let{main:f}=d.state.selection;u=new Yi(f.empty?f:P.cursor(f.head,f.head>f.anchor?-1:1))}for(let f of d.effects)f.is(bs)&&(u=f.value.clip(this.state))}this.viewState.update(s,u),this.bidiCache=er.update(this.bidiCache,s.changes),s.empty||(this.updatePlugins(s),this.inputState.update(s)),t=this.docView.update(s),this.state.facet($n)!=this.styleModules&&this.mountStyles(),n=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(t,e.some(d=>d.isUserEvent("select.pointer")))}finally{this.updateState=0}if(s.startState.facet(xs)!=s.state.facet(xs)&&(this.viewState.mustMeasureContent=!0),(t||n||u||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),!s.empty)for(let d of this.state.facet(Mo))try{d(s)}catch(f){vt(this.state,f,"update listener")}(a||c)&&Promise.resolve().then(()=>{a&&this.state==a.startState&&this.dispatch(a),c&&!Kd(this,c)&&h.force&&Li(this.contentDOM,h.key,h.keyCode)})}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let t=this.hasFocus;try{for(let n of this.plugins)n.destroy(this);this.viewState=new Lh(e),this.plugins=e.facet(Pn).map(n=>new Lr(n)),this.pluginMap.clear();for(let n of this.plugins)n.update(this);this.docView.destroy(),this.docView=new kh(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}t&&this.focus(),this.requestMeasure()}updatePlugins(e){let t=e.startState.facet(Pn),n=e.state.facet(Pn);if(t!=n){let s=[];for(let r of n){let o=t.indexOf(r);if(o<0)s.push(new Lr(r));else{let l=this.plugins[o];l.mustUpdate=e,s.push(l)}}for(let r of this.plugins)r.mustUpdate!=e&&r.destroy(this);this.plugins=s,this.pluginMap.clear()}else for(let s of this.plugins)s.mustUpdate=e;for(let s=0;s-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,e&&this.observer.forceFlush();let t=null,n=this.scrollDOM,s=n.scrollTop*this.scaleY,{scrollAnchorPos:r,scrollAnchorHeight:o}=this.viewState;Math.abs(s-this.viewState.scrollTop)>1&&(o=-1),this.viewState.scrollAnchorHeight=-1;try{for(let l=0;;l++){if(o<0)if(ad(n))r=-1,o=this.viewState.heightMap.height;else{let f=this.viewState.scrollAnchorAt(s);r=f.from,o=f.top}this.updateState=1;let a=this.viewState.measure(this);if(!a&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(l>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let h=[];a&4||([this.measureRequests,h]=[h,this.measureRequests]);let c=h.map(f=>{try{return f.read(this)}catch(O){return vt(this.state,O),qh}}),u=Js.create(this,this.state,[]),d=!1;u.flags|=a,t?t.flags|=a:t=u,this.updateState=2,u.empty||(this.updatePlugins(u),this.inputState.update(u),this.updateAttrs(),d=this.docView.update(u));for(let f=0;f1||O<-1){s=s+O,n.scrollTop=s/this.scaleY,o=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(t&&!t.empty)for(let l of this.state.facet(Mo))l(t)}get themeClasses(){return Go+" "+(this.state.facet(zo)?Fd:Ud)+" "+this.state.facet(xs)}updateAttrs(){let e=zh(this,Ad,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(Tr)?"true":"false",class:"cm-content",style:`${R.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(t["aria-readonly"]="true"),zh(this,Rl,t);let n=this.observer.ignore(()=>{let s=Io(this.contentDOM,this.contentAttrs,t),r=Io(this.dom,this.editorAttrs,e);return s||r});return this.editorAttrs=e,this.contentAttrs=t,n}showAnnouncements(e){let t=!0;for(let n of e)for(let s of n.effects)if(s.is(D.announce)){t&&(this.announceDOM.textContent=""),t=!1;let r=this.announceDOM.appendChild(document.createElement("div"));r.textContent=s.value}}mountStyles(){this.styleModules=this.state.facet($n);let e=this.state.facet(D.cspNonce);ai.mount(this.root,this.styleModules.concat(E0).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let t=0;tn.spec==e)||null),t&&t.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,t,n){return Mr(this,e,Ch(this,e,t,n))}moveByGroup(e,t){return Mr(this,e,Ch(this,e,t,n=>n0(this,e.head,n)))}visualLineSide(e,t){let n=this.bidiSpans(e),s=this.textDirectionAt(e.from),r=n[t?n.length-1:0];return P.cursor(r.side(t,s)+e.from,r.forward(!t,s)?1:-1)}moveToLineBoundary(e,t,n=!0){return i0(this,e,t,n)}moveVertically(e,t,n){return Mr(this,e,s0(this,e,t,n))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,t=0){return this.docView.posFromDOM(e,t)}posAtCoords(e,t=!0){return this.readMeasured(),Wd(this,e,t)}coordsAtPos(e,t=1){this.readMeasured();let n=this.docView.coordsAt(e,t);if(!n||n.left==n.right)return n;let s=this.state.doc.lineAt(e),r=this.bidiSpans(s),o=r[ii.find(r,e-s.from,-1,t)];return $r(n,o.dir==fe.LTR==t>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(Td)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>q0)return Sd(e.length);let t=this.textDirectionAt(e.from),n;for(let r of this.bidiCache)if(r.from==e.from&&r.dir==t&&(r.fresh||yd(r.isolates,n=Sh(this,e))))return r.order;n||(n=Sh(this,e));let s=Lg(e.text,t,n);return this.bidiCache.push(new er(e.from,e.to,t,n,!0,s)),s}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||R.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{od(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,t={}){return bs.of(new Yi(typeof e=="number"?P.cursor(e):e,t.y,t.x,t.yMargin,t.xMargin))}scrollSnapshot(){let{scrollTop:e,scrollLeft:t}=this.scrollDOM,n=this.viewState.scrollAnchorAt(e);return bs.of(new Yi(P.cursor(n.from),"start","start",n.top-e,t,!0))}static domEventHandlers(e){return ut.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return ut.define(()=>({}),{eventObservers:e})}static theme(e,t){let n=ai.newName(),s=[xs.of(n),$n.of(No(`.${n}`,e))];return t&&t.dark&&s.push(zo.of(!0)),s}static baseTheme(e){return Ci.lowest($n.of(No("."+Go,e,Hd)))}static findFromDOM(e){var t;let n=e.querySelector(".cm-content"),s=n&&oe.get(n)||oe.get(e);return((t=s==null?void 0:s.rootView)===null||t===void 0?void 0:t.view)||null}}D.styleModule=$n;D.inputHandler=$d;D.focusChangeEffect=Cd;D.perLineTextDirection=Td;D.exceptionSink=Pd;D.updateListener=Mo;D.editable=Tr;D.mouseSelectionStyle=Qd;D.dragMovesSelection=xd;D.clickAddsSelectionRange=wd;D.decorations=Gn;D.outerDecorations=_d;D.atomicRanges=El;D.bidiIsolatedRanges=Rd;D.scrollMargins=Ed;D.darkTheme=zo;D.cspNonce=W.define({combine:i=>i.length?i[0]:""});D.contentAttributes=Rl;D.editorAttributes=Ad;D.lineWrapping=D.contentAttributes.of({class:"cm-lineWrapping"});D.announce=ee.define();const q0=4096,qh={};class er{constructor(e,t,n,s,r,o){this.from=e,this.to=t,this.dir=n,this.isolates=s,this.fresh=r,this.order=o}static update(e,t){if(t.empty&&!e.some(r=>r.fresh))return e;let n=[],s=e.length?e[e.length-1].dir:fe.LTR;for(let r=Math.max(0,e.length-10);r=0;s--){let r=n[s],o=typeof r=="function"?r(i):r;o&&Xo(o,t)}return t}const z0=R.mac?"mac":R.windows?"win":R.linux?"linux":"key";function G0(i,e){const t=i.split(/-(?!$)/);let n=t[t.length-1];n=="Space"&&(n=" ");let s,r,o,l;for(let a=0;an.concat(s),[]))),t}let ei=null;const F0=4e3;function H0(i,e=z0){let t=Object.create(null),n=Object.create(null),s=(o,l)=>{let a=n[o];if(a==null)n[o]=l;else if(a!=l)throw new Error("Key binding "+o+" is used both as a regular binding and as a multi-stroke prefix")},r=(o,l,a,h,c)=>{var u,d;let f=t[o]||(t[o]=Object.create(null)),O=l.split(/ (?!$)/).map(v=>G0(v,e));for(let v=1;v{let Q=ei={view:$,prefix:k,scope:o};return setTimeout(()=>{ei==Q&&(ei=null)},F0),!0}]})}let m=O.join(" ");s(m,!1);let g=f[m]||(f[m]={preventDefault:!1,stopPropagation:!1,run:((d=(u=f._any)===null||u===void 0?void 0:u.run)===null||d===void 0?void 0:d.slice())||[]});a&&g.run.push(a),h&&(g.preventDefault=!0),c&&(g.stopPropagation=!0)};for(let o of i){let l=o.scope?o.scope.split(" "):["editor"];if(o.any)for(let h of l){let c=t[h]||(t[h]=Object.create(null));c._any||(c._any={preventDefault:!1,stopPropagation:!1,run:[]});for(let u in c)c[u].run.push(o.any)}let a=o[e]||o.key;if(a)for(let h of l)r(h,a,o.run,o.preventDefault,o.stopPropagation),o.shift&&r(h,"Shift-"+a,o.shift,o.preventDefault,o.stopPropagation)}return t}function K0(i,e,t,n){let s=Sg(e),r=gt(s,0),o=Jt(r)==s.length&&s!=" ",l="",a=!1,h=!1,c=!1;ei&&ei.view==t&&ei.scope==n&&(l=ei.prefix+" ",Ld.indexOf(e.keyCode)<0&&(h=!0,ei=null));let u=new Set,d=g=>{if(g){for(let v of g.run)if(!u.has(v)&&(u.add(v),v(t,e)))return g.stopPropagation&&(c=!0),!0;g.preventDefault&&(g.stopPropagation&&(c=!0),h=!0)}return!1},f=i[n],O,m;return f&&(d(f[l+Qs(s,e,!o)])?a=!0:o&&(e.altKey||e.metaKey||e.ctrlKey)&&!(R.windows&&e.ctrlKey&&e.altKey)&&(O=hi[e.keyCode])&&O!=s?(d(f[l+Qs(O,e,!0)])||e.shiftKey&&(m=qn[e.keyCode])!=s&&m!=O&&d(f[l+Qs(m,e,!1)]))&&(a=!0):o&&e.shiftKey&&d(f[l+Qs(s,e,!0)])&&(a=!0),!a&&d(f._any)&&(a=!0)),h&&(a=!0),a&&c&&e.stopPropagation(),a}class os{constructor(e,t,n,s,r){this.className=e,this.left=t,this.top=n,this.width=s,this.height=r}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,t){return t.className!=this.className?!1:(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",this.width!=null&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,t,n){if(n.empty){let s=e.coordsAtPos(n.head,n.assoc||1);if(!s)return[];let r=Jd(e);return[new os(t,s.left-r.left,s.top-r.top,null,s.bottom-s.top)]}else return J0(e,t,n)}}function Jd(i){let e=i.scrollDOM.getBoundingClientRect();return{left:(i.textDirection==fe.LTR?e.left:e.right-i.scrollDOM.clientWidth*i.scaleX)-i.scrollDOM.scrollLeft*i.scaleX,top:e.top-i.scrollDOM.scrollTop*i.scaleY}}function Nh(i,e,t){let n=P.cursor(e);return{from:Math.max(t.from,i.moveToLineBoundary(n,!1,!0).from),to:Math.min(t.to,i.moveToLineBoundary(n,!0,!0).from),type:nt.Text}}function J0(i,e,t){if(t.to<=i.viewport.from||t.from>=i.viewport.to)return[];let n=Math.max(t.from,i.viewport.from),s=Math.min(t.to,i.viewport.to),r=i.textDirection==fe.LTR,o=i.contentDOM,l=o.getBoundingClientRect(),a=Jd(i),h=o.querySelector(".cm-line"),c=h&&window.getComputedStyle(h),u=l.left+(c?parseInt(c.paddingLeft)+Math.min(0,parseInt(c.textIndent)):0),d=l.right-(c?parseInt(c.paddingRight):0),f=Bo(i,n),O=Bo(i,s),m=f.type==nt.Text?f:null,g=O.type==nt.Text?O:null;if(m&&(i.lineWrapping||f.widgetLineBreaks)&&(m=Nh(i,n,m)),g&&(i.lineWrapping||O.widgetLineBreaks)&&(g=Nh(i,s,g)),m&&g&&m.from==g.from)return k($(t.from,t.to,m));{let C=m?$(t.from,null,m):Q(f,!1),_=g?$(null,t.to,g):Q(O,!0),I=[];return(m||f).to<(g||O).from-(m&&g?1:0)||f.widgetLineBreaks>1&&C.bottom+i.defaultLineHeight/2<_.top?I.push(v(u,C.bottom,d,_.top)):C.bottom<_.top&&i.elementAtHeight((C.bottom+_.top)/2).type==nt.Text&&(C.bottom=_.top=(C.bottom+_.top)/2),k(C).concat(I).concat(k(_))}function v(C,_,I,L){return new os(e,C-a.left,_-a.top-.01,I-C,L-_+.01)}function k({top:C,bottom:_,horizontal:I}){let L=[];for(let M=0;Mle&&F.from=Ce)break;xe>U&&we(Math.max(ye,U),C==null&&ye<=le,Math.min(xe,Ce),_==null&&xe>=ae,N.dir)}if(U=Ze.to+1,U>=Ce)break}return Oe.length==0&&we(le,C==null,ae,_==null,i.textDirection),{top:L,bottom:M,horizontal:Oe}}function Q(C,_){let I=l.top+(_?C.top:C.bottom);return{top:I,bottom:I,horizontal:[]}}}function eb(i,e){return i.constructor==e.constructor&&i.eq(e)}class tb{constructor(e,t){this.view=e,this.layer=t,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),t.above&&this.dom.classList.add("cm-layer-above"),t.class&&this.dom.classList.add(t.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),t.mount&&t.mount(this.dom,e)}update(e){e.startState.facet(Ys)!=e.state.facet(Ys)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&(this.scale(),e.view.requestMeasure(this.measureReq))}setOrder(e){let t=0,n=e.facet(Ys);for(;t!eb(t,this.drawn[n]))){let t=this.dom.firstChild,n=0;for(let s of e)s.update&&t&&s.constructor&&this.drawn[n].constructor&&s.update(t,this.drawn[n])?(t=t.nextSibling,n++):this.dom.insertBefore(s.draw(),t);for(;t;){let s=t.nextSibling;t.remove(),t=s}this.drawn=e}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const Ys=W.define();function ef(i){return[ut.define(e=>new tb(e,i)),Ys.of(i)]}const tf=!R.ios,Nn=W.define({combine(i){return Pr(i,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,t)=>Math.min(e,t),drawRangeCursor:(e,t)=>e||t})}});function ib(i={}){return[Nn.of(i),nb,sb,rb,Zd.of(!0)]}function nf(i){return i.startState.facet(Nn)!=i.state.facet(Nn)}const nb=ef({above:!0,markers(i){let{state:e}=i,t=e.facet(Nn),n=[];for(let s of e.selection.ranges){let r=s==e.selection.main;if(s.empty?!r||tf:t.drawRangeCursor){let o=r?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",l=s.empty?s:P.cursor(s.head,s.head>s.anchor?-1:1);for(let a of os.forRange(i,o,l))n.push(a)}}return n},update(i,e){i.transactions.some(n=>n.selection)&&(e.style.animationName=e.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let t=nf(i);return t&&Uh(i.state,e),i.docChanged||i.selectionSet||t},mount(i,e){Uh(e.state,i)},class:"cm-cursorLayer"});function Uh(i,e){e.style.animationDuration=i.facet(Nn).cursorBlinkRate+"ms"}const sb=ef({above:!1,markers(i){return i.state.selection.ranges.map(e=>e.empty?[]:os.forRange(i,"cm-selectionBackground",e)).reduce((e,t)=>e.concat(t))},update(i,e){return i.docChanged||i.selectionSet||i.viewportChanged||nf(i)},class:"cm-selectionLayer"}),Uo={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};tf&&(Uo[".cm-line"].caretColor="transparent !important",Uo[".cm-content"]={caretColor:"transparent !important"});const rb=Ci.highest(D.theme(Uo));function Fh(i,e,t,n,s){e.lastIndex=0;for(let r=i.iterRange(t,n),o=t,l;!r.next().done;o+=r.value.length)if(!r.lineBreak)for(;l=e.exec(r.value);)s(o+l.index,l)}function ob(i,e){let t=i.visibleRanges;if(t.length==1&&t[0].from==i.viewport.from&&t[0].to==i.viewport.to)return t;let n=[];for(let{from:s,to:r}of t)s=Math.max(i.state.doc.lineAt(s).from,s-e),r=Math.min(i.state.doc.lineAt(r).to,r+e),n.length&&n[n.length-1].to>=s?n[n.length-1].to=r:n.push({from:s,to:r});return n}class lb{constructor(e){const{regexp:t,decoration:n,decorate:s,boundary:r,maxLength:o=1e3}=e;if(!t.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=t,s)this.addMatch=(l,a,h,c)=>s(c,h,h+l[0].length,l,a);else if(typeof n=="function")this.addMatch=(l,a,h,c)=>{let u=n(l,a,h);u&&c(h,h+l[0].length,u)};else if(n)this.addMatch=(l,a,h,c)=>c(h,h+l[0].length,n);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=r,this.maxLength=o}createDeco(e){let t=new Gi,n=t.add.bind(t);for(let{from:s,to:r}of ob(e,this.maxLength))Fh(e.state.doc,this.regexp,s,r,(o,l)=>this.addMatch(l,e,o,n));return t.finish()}updateDeco(e,t){let n=1e9,s=-1;return e.docChanged&&e.changes.iterChanges((r,o,l,a)=>{a>e.view.viewport.from&&l1e3?this.createDeco(e.view):s>-1?this.updateRange(e.view,t.map(e.changes),n,s):t}updateRange(e,t,n,s){for(let r of e.visibleRanges){let o=Math.max(r.from,n),l=Math.min(r.to,s);if(l>o){let a=e.state.doc.lineAt(o),h=a.toa.from;o--)if(this.boundary.test(a.text[o-1-a.from])){c=o;break}for(;ld.push(v.range(m,g));if(a==h)for(this.regexp.lastIndex=c-a.from;(f=this.regexp.exec(a.text))&&f.indexthis.addMatch(g,e,m,O));t=t.update({filterFrom:c,filterTo:u,filter:(m,g)=>mu,add:d})}}return t}}const Fo=/x/.unicode!=null?"gu":"g",ab=new RegExp(`[\0-\b --Ÿ­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\uFEFF-]`,Fo),hb={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let qr=null;function cb(){var i;if(qr==null&&typeof document<"u"&&document.body){let e=document.body.style;qr=((i=e.tabSize)!==null&&i!==void 0?i:e.MozTabSize)!=null}return qr||!1}const Ms=W.define({combine(i){let e=Pr(i,{render:null,specialChars:ab,addSpecialChars:null});return(e.replaceTabs=!cb())&&(e.specialChars=new RegExp(" |"+e.specialChars.source,Fo)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,Fo)),e}});function ub(i={}){return[Ms.of(i),db()]}let Hh=null;function db(){return Hh||(Hh=ut.fromClass(class{constructor(i){this.view=i,this.decorations=ie.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(i.state.facet(Ms)),this.decorations=this.decorator.createDeco(i)}makeDecorator(i){return new lb({regexp:i.specialChars,decoration:(e,t,n)=>{let{doc:s}=t.state,r=gt(e[0],0);if(r==9){let o=s.lineAt(n),l=t.state.tabSize,a=Rt(o.text,l,n-o.from);return ie.replace({widget:new mb((l-a%l)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[r]||(this.decorationCache[r]=ie.replace({widget:new Ob(i,r)}))},boundary:i.replaceTabs?void 0:/[^]/})}update(i){let e=i.state.facet(Ms);i.startState.facet(Ms)!=e?(this.decorator=this.makeDecorator(e),this.decorations=this.decorator.createDeco(i.view)):this.decorations=this.decorator.updateDeco(i,this.decorations)}},{decorations:i=>i.decorations}))}const fb="•";function pb(i){return i>=32?fb:i==10?"␤":String.fromCharCode(9216+i)}class Ob extends Ti{constructor(e,t){super(),this.options=e,this.code=t}eq(e){return e.code==this.code}toDOM(e){let t=pb(this.code),n=e.state.phrase("Control character")+" "+(hb[this.code]||"0x"+this.code.toString(16)),s=this.options.render&&this.options.render(this.code,n,t);if(s)return s;let r=document.createElement("span");return r.textContent=t,r.title=n,r.setAttribute("aria-label",n),r.className="cm-specialChar",r}ignoreEvent(){return!1}}class mb extends Ti{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement("span");return e.textContent=" ",e.className="cm-tab",e.style.width=this.width+"px",e}ignoreEvent(){return!1}}class gb extends Ti{constructor(e){super(),this.content=e}toDOM(){let e=document.createElement("span");return e.className="cm-placeholder",e.style.pointerEvents="none",e.appendChild(typeof this.content=="string"?document.createTextNode(this.content):this.content),typeof this.content=="string"?e.setAttribute("aria-label","placeholder "+this.content):e.setAttribute("aria-hidden","true"),e}coordsAt(e){let t=e.firstChild?Ni(e.firstChild):[];if(!t.length)return null;let n=window.getComputedStyle(e.parentNode),s=$r(t[0],n.direction!="rtl"),r=parseInt(n.lineHeight);return s.bottom-s.top>r*1.5?{left:s.left,right:s.right,top:s.top,bottom:s.top+r}:s}ignoreEvent(){return!1}}function bb(i){return ut.fromClass(class{constructor(e){this.view=e,this.placeholder=i?ie.set([ie.widget({widget:new gb(i),side:1}).range(0)]):ie.none}get decorations(){return this.view.state.doc.length?ie.none:this.placeholder}},{decorations:e=>e.decorations})}const bn="-10000px";class vb{constructor(e,t,n){this.facet=t,this.createTooltipView=n,this.input=e.state.facet(t),this.tooltips=this.input.filter(s=>s),this.tooltipViews=this.tooltips.map(n)}update(e,t){var n;let s=e.state.facet(this.facet),r=s.filter(a=>a);if(s===this.input){for(let a of this.tooltipViews)a.update&&a.update(e);return!1}let o=[],l=t?[]:null;for(let a=0;at[h]=a),t.length=l.length),this.input=s,this.tooltips=r,this.tooltipViews=o,!0}}function yb(i){let{win:e}=i;return{top:0,left:0,bottom:e.innerHeight,right:e.innerWidth}}const zr=W.define({combine:i=>{var e,t,n;return{position:R.ios?"absolute":((e=i.find(s=>s.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((t=i.find(s=>s.parent))===null||t===void 0?void 0:t.parent)||null,tooltipSpace:((n=i.find(s=>s.tooltipSpace))===null||n===void 0?void 0:n.tooltipSpace)||yb}}}),Kh=new WeakMap,sf=ut.fromClass(class{constructor(i){this.view=i,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let e=i.state.facet(zr);this.position=e.position,this.parent=e.parent,this.classes=i.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.manager=new vb(i,rf,t=>this.createTooltip(t)),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(t=>{Date.now()>this.lastTransaction-50&&t.length>0&&t[t.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),i.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let i of this.manager.tooltipViews)this.intersectionObserver.observe(i.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(i){i.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(i,this.above);e&&this.observeIntersection();let t=e||i.geometryChanged,n=i.state.facet(zr);if(n.position!=this.position&&!this.madeAbsolute){this.position=n.position;for(let s of this.manager.tooltipViews)s.dom.style.position=this.position;t=!0}if(n.parent!=this.parent){this.parent&&this.container.remove(),this.parent=n.parent,this.createContainer();for(let s of this.manager.tooltipViews)this.container.appendChild(s.dom);t=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);t&&this.maybeMeasure()}createTooltip(i){let e=i.create(this.view);if(e.dom.classList.add("cm-tooltip"),i.arrow&&!e.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let t=document.createElement("div");t.className="cm-tooltip-arrow",e.dom.appendChild(t)}return e.dom.style.position=this.position,e.dom.style.top=bn,e.dom.style.left="0px",this.container.appendChild(e.dom),e.mount&&e.mount(this.view),e}destroy(){var i,e;this.view.win.removeEventListener("resize",this.measureSoon);for(let t of this.manager.tooltipViews)t.dom.remove(),(i=t.destroy)===null||i===void 0||i.call(t);this.parent&&this.container.remove(),(e=this.intersectionObserver)===null||e===void 0||e.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let i=this.view.dom.getBoundingClientRect(),e=1,t=1,n=!1;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:s}=this.manager.tooltipViews[0];if(R.gecko)n=s.offsetParent!=this.container.ownerDocument.body;else if(s.style.top==bn&&s.style.left=="0px"){let r=s.getBoundingClientRect();n=Math.abs(r.top+1e4)>1||Math.abs(r.left)>1}}if(n||this.position=="absolute")if(this.parent){let s=this.parent.getBoundingClientRect();s.width&&s.height&&(e=s.width/this.parent.offsetWidth,t=s.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:t}=this.view.viewState);return{editor:i,parent:this.parent?this.container.getBoundingClientRect():i,pos:this.manager.tooltips.map((s,r)=>{let o=this.manager.tooltipViews[r];return o.getCoords?o.getCoords(s.pos):this.view.coordsAtPos(s.pos)}),size:this.manager.tooltipViews.map(({dom:s})=>s.getBoundingClientRect()),space:this.view.state.facet(zr).tooltipSpace(this.view),scaleX:e,scaleY:t,makeAbsolute:n}}writeMeasure(i){var e;if(i.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let l of this.manager.tooltipViews)l.dom.style.position="absolute"}let{editor:t,space:n,scaleX:s,scaleY:r}=i,o=[];for(let l=0;l=Math.min(t.bottom,n.bottom)||u.rightMath.min(t.right,n.right)+.1){c.style.top=bn;continue}let f=a.arrow?h.dom.querySelector(".cm-tooltip-arrow"):null,O=f?7:0,m=d.right-d.left,g=(e=Kh.get(h))!==null&&e!==void 0?e:d.bottom-d.top,v=h.offset||kb,k=this.view.textDirection==fe.LTR,$=d.width>n.right-n.left?k?n.left:n.right-d.width:k?Math.min(u.left-(f?14:0)+v.x,n.right-m):Math.max(n.left,u.left-m+(f?14:0)-v.x),Q=this.above[l];!a.strictSide&&(Q?u.top-(d.bottom-d.top)-v.yn.bottom)&&Q==n.bottom-u.bottom>u.top-n.top&&(Q=this.above[l]=!Q);let C=(Q?u.top-n.top:n.bottom-u.bottom)-O;if(C$&&L.top<_+g&&L.bottom>_&&(_=Q?L.top-g-2-O:L.bottom+O+2);if(this.position=="absolute"?(c.style.top=(_-i.parent.top)/r+"px",c.style.left=($-i.parent.left)/s+"px"):(c.style.top=_/r+"px",c.style.left=$/s+"px"),f){let L=u.left+(k?v.x:-v.x)-($+14-7);f.style.left=L/s+"px"}h.overlap!==!0&&o.push({left:$,top:_,right:I,bottom:_+g}),c.classList.toggle("cm-tooltip-above",Q),c.classList.toggle("cm-tooltip-below",!Q),h.positioned&&h.positioned(i.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let i of this.manager.tooltipViews)i.dom.style.top=bn}},{eventObservers:{scroll(){this.maybeMeasure()}}}),Sb=D.baseTheme({".cm-tooltip":{zIndex:100,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:`${7*2}px`,position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),kb={x:0,y:0},rf=W.define({enables:[sf,Sb]});function of(i,e){let t=i.plugin(sf);if(!t)return null;let n=t.manager.tooltips.indexOf(e);return n<0?null:t.manager.tooltipViews[n]}class Fi extends ki{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}Fi.prototype.elementClass="";Fi.prototype.toDOM=void 0;Fi.prototype.mapMode=Me.TrackBefore;Fi.prototype.startSide=Fi.prototype.endSide=-1;Fi.prototype.point=!0;var Gr;const ni=new me;function Zr(i){return W.define({combine:i?e=>e.concat(i):void 0})}const Xl=new me;class it{constructor(e,t,n=[],s=""){this.data=e,this.name=s,q.prototype.hasOwnProperty("tree")||Object.defineProperty(q.prototype,"tree",{get(){return pe(this)}}),this.parser=t,this.extension=[Ji.of(this),q.languageData.of((r,o,l)=>{let a=Jh(r,o,l),h=a.type.prop(ni);if(!h)return[];let c=r.facet(h),u=a.type.prop(Xl);if(u){let d=a.resolve(o-a.from,l);for(let f of u)if(f.test(d,r)){let O=r.facet(f.facet);return f.type=="replace"?O:O.concat(c)}}return c})].concat(n)}isActiveAt(e,t,n=-1){return Jh(e,t,n).type.prop(ni)==this.data}findRegions(e){let t=e.facet(Ji);if((t==null?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],s=(r,o)=>{if(r.prop(ni)==this.data){n.push({from:o,to:o+r.length});return}let l=r.prop(me.mounted);if(l){if(l.tree.prop(ni)==this.data){if(l.overlay)for(let a of l.overlay)n.push({from:a.from+o,to:a.to+o});else n.push({from:o,to:o+r.length});return}else if(l.overlay){let a=n.length;if(s(l.tree,l.overlay[0].from+o),n.length>a)return}}for(let a=0;an.isTop?t:void 0)]}),e.name)}configure(e,t){return new Hi(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function pe(i){let e=i.field(it.state,!1);return e?e.tree:ce.empty}class wb{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let n=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}}let vn=null;class Qi{constructor(e,t,n=[],s,r,o,l,a){this.parser=e,this.state=t,this.fragments=n,this.tree=s,this.treeLen=r,this.viewport=o,this.skipped=l,this.scheduleOn=a,this.parse=null,this.tempSkipped=[]}static create(e,t,n){return new Qi(e,t,[],ce.empty,0,n,[],null)}startParse(){return this.parser.startParse(new wb(this.state.doc),this.fragments)}work(e,t){return t!=null&&t>=this.state.doc.length&&(t=void 0),this.tree!=ce.empty&&this.isDone(t??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var n;if(typeof e=="number"){let s=Date.now()+e;e=()=>Date.now()>s}for(this.parse||(this.parse=this.startParse()),t!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>t)&&t=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(Es.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=vn;vn=this;try{return e()}finally{vn=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=ec(e,t.from,t.to);return e}changes(e,t){let{fragments:n,tree:s,treeLen:r,viewport:o,skipped:l}=this;if(this.takeTree(),!e.empty){let a=[];if(e.iterChangedRanges((h,c,u,d)=>a.push({fromA:h,toA:c,fromB:u,toB:d})),n=Es.applyChanges(n,a),s=ce.empty,r=0,o={from:e.mapPos(o.from,-1),to:e.mapPos(o.to,1)},this.skipped.length){l=[];for(let h of this.skipped){let c=e.mapPos(h.from,1),u=e.mapPos(h.to,-1);ce.from&&(this.fragments=ec(this.fragments,s,r),this.skipped.splice(n--,1))}return this.skipped.length>=t?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends Or{createParse(t,n,s){let r=s[0].from,o=s[s.length-1].to;return{parsedPos:r,advance(){let a=vn;if(a){for(let h of s)a.tempSkipped.push(h);e&&(a.scheduleOn=a.scheduleOn?Promise.all([a.scheduleOn,e]):e)}return this.parsedPos=o,new ce(zt.none,[],[],o-r)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&t[0].from==0&&t[0].to>=e}static get(){return vn}}function ec(i,e,t){return Es.applyChanges(i,[{fromA:e,toA:t,fromB:e,toB:t}])}class Ki{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,n)||t.takeTree(),new Ki(t)}static init(e){let t=Math.min(3e3,e.doc.length),n=Qi.create(e.facet(Ji).parser,e,{from:0,to:t});return n.work(20,t)||n.takeTree(),new Ki(n)}}it.state=Et.define({create:Ki.init,update(i,e){for(let t of e.effects)if(t.is(it.setState))return t.value;return e.startState.facet(Ji)!=e.state.facet(Ji)?Ki.init(e.state):i.apply(e)}});let lf=i=>{let e=setTimeout(()=>i(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(lf=i=>{let e=-1,t=setTimeout(()=>{e=requestIdleCallback(i,{timeout:500-100})},100);return()=>e<0?clearTimeout(t):cancelIdleCallback(e)});const Nr=typeof navigator<"u"&&(!((Gr=navigator.scheduling)===null||Gr===void 0)&&Gr.isInputPending)?()=>navigator.scheduling.isInputPending():null,xb=ut.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(it.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(it.state);(t.tree!=t.context.tree||!t.context.isDone(e.doc.length))&&(this.working=lf(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEnds+1e3,a=r.context.work(()=>Nr&&Nr()||Date.now()>o,s+(l?0:1e5));this.chunkBudget-=Date.now()-t,(a||this.chunkBudget<=0)&&(r.context.takeTree(),this.view.dispatch({effects:it.setState.of(new Ki(r.context))})),this.chunkBudget>0&&!(a&&!l)&&this.scheduleWork(),this.checkAsyncSchedule(r.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(t=>vt(this.view.state,t)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),Ji=W.define({combine(i){return i.length?i[0]:null},enables:i=>[it.state,xb,D.contentAttributes.compute([i],e=>{let t=e.facet(i);return t&&t.name?{"data-language":t.name}:{}})]});class en{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}class S{constructor(e,t,n,s,r,o=void 0){this.name=e,this.alias=t,this.extensions=n,this.filename=s,this.loadFunc=r,this.support=o,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(e=>this.support=e,e=>{throw this.loading=null,e}))}static of(e){let{load:t,support:n}=e;if(!t){if(!n)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");t=()=>Promise.resolve(n)}return new S(e.name,(e.alias||[]).concat(e.name).map(s=>s.toLowerCase()),e.extensions||[],e.filename,t,n)}static matchFilename(e,t){for(let s of e)if(s.filename&&s.filename.test(t))return s;let n=/\.([^.]+)$/.exec(t);if(n){for(let s of e)if(s.extensions.indexOf(n[1])>-1)return s}return null}static matchLanguageName(e,t,n=!0){t=t.toLowerCase();for(let s of e)if(s.alias.some(r=>r==t))return s;if(n)for(let s of e)for(let r of s.alias){let o=t.indexOf(r);if(o>-1&&(r.length>2||!/\w/.test(t[o-1])&&!/\w/.test(t[o+r.length])))return s}return null}}const af=W.define(),cn=W.define({combine:i=>{if(!i.length)return" ";let e=i[0];if(!e||/\S/.test(e)||Array.from(e).some(t=>t!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(i[0]));return e}});function Pi(i){let e=i.facet(cn);return e.charCodeAt(0)==9?i.tabSize*e.length:e.length}function tr(i,e){let t="",n=i.tabSize,s=i.facet(cn)[0];if(s==" "){for(;e>=n;)t+=" ",e-=n;s=" "}for(let r=0;r=e?Qb(i,t,e):null}class Ar{constructor(e,t={}){this.state=e,this.options=t,this.unit=Pi(e)}lineAt(e,t=1){let n=this.state.doc.lineAt(e),{simulateBreak:s,simulateDoubleBreak:r}=this.options;return s!=null&&s>=n.from&&s<=n.to?r&&s==e?{text:"",from:e}:(t<0?s-1&&(r+=o-this.countColumn(n,n.search(/\S|$/))),r}countColumn(e,t=e.length){return Rt(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:n,from:s}=this.lineAt(e,t),r=this.options.overrideIndentation;if(r){let o=r(s);if(o>-1)return o}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const ls=new me;function Qb(i,e,t){let n=e.resolveStack(t),s=n.node.enterUnfinishedNodesBefore(t);if(s!=n.node){let r=[];for(let o=s;o!=n.node;o=o.parent)r.push(o);for(let o=r.length-1;o>=0;o--)n={node:r[o],next:n}}return cf(n,i,t)}function cf(i,e,t){for(let n=i;n;n=n.next){let s=$b(n.node);if(s)return s(Il.create(e,t,n))}return 0}function Pb(i){return i.pos==i.options.simulateBreak&&i.options.simulateDoubleBreak}function $b(i){let e=i.type.prop(ls);if(e)return e;let t=i.firstChild,n;if(t&&(n=t.type.prop(me.closedBy))){let s=i.lastChild,r=s&&n.indexOf(s.name)>-1;return o=>uf(o,!0,1,void 0,r&&!Pb(o)?s.from:void 0)}return i.parent==null?Cb:null}function Cb(){return 0}class Il extends Ar{constructor(e,t,n){super(e.state,e.options),this.base=e,this.pos=t,this.context=n}get node(){return this.context.node}static create(e,t,n){return new Il(e,t,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let t=this.state.doc.lineAt(e.from);for(;;){let n=e.resolve(t.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(Tb(n,e))break;t=this.state.doc.lineAt(n.from)}return this.lineIndent(t.from)}continue(){return cf(this.context.next,this.base,this.pos)}}function Tb(i,e){for(let t=e;t;t=t.parent)if(i==t)return!0;return!1}function Zb(i){let e=i.node,t=e.childAfter(e.from),n=e.lastChild;if(!t)return null;let s=i.options.simulateBreak,r=i.state.doc.lineAt(t.from),o=s==null||s<=r.from?r.to:Math.min(r.to,s);for(let l=t.to;;){let a=e.childAfter(l);if(!a||a==n)return null;if(!a.type.isSkipped)return a.fromuf(n,e,t,i)}function uf(i,e,t,n,s){let r=i.textAfter,o=r.match(/^\s*/)[0].length,l=n&&r.slice(o,o+n.length)==n||s==i.pos+o,a=e?Zb(i):null;return a?l?i.column(a.from):i.column(a.to):i.baseIndent+(l?0:i.unit*t)}const _b=i=>i.baseIndent;function js({except:i,units:e=1}={}){return t=>{let n=i&&i.test(t.textAfter);return t.baseIndent+(n?0:e*t.unit)}}const Rb=W.define(),as=new me;function df(i){let e=i.firstChild,t=i.lastChild;return e&&e.tol.prop(ni)==o.data:o?l=>l==o:void 0,this.style=lm(e.map(l=>({tag:l.tag,class:l.class||s(Object.assign({},l,{tag:null}))})),{all:r}).style,this.module=n?new ai(n):null,this.themeType=t.themeType}static define(e,t){return new un(e,t||{})}}const Ho=W.define(),ff=W.define({combine(i){return i.length?[i[0]]:null}});function Ur(i){let e=i.facet(Ho);return e.length?e:i.facet(ff)}function Wl(i,e){let t=[Vb],n;return i instanceof un&&(i.module&&t.push(D.styleModule.of(i.module)),n=i.themeType),e!=null&&e.fallback?t.push(ff.of(i)):n?t.push(Ho.computeN([D.darkTheme],s=>s.facet(D.darkTheme)==(n=="dark")?[i]:[])):t.push(Ho.of(i)),t}class Eb{constructor(e){this.markCache=Object.create(null),this.tree=pe(e.state),this.decorations=this.buildDeco(e,Ur(e.state))}update(e){let t=pe(e.state),n=Ur(e.state),s=n!=Ur(e.startState);t.length{n.add(o,l,this.markCache[a]||(this.markCache[a]=ie.mark({class:a})))},s,r);return n.finish()}}const Vb=Ci.high(ut.fromClass(Eb,{decorations:i=>i.decorations})),Xb=un.define([{tag:b.meta,color:"#404740"},{tag:b.link,textDecoration:"underline"},{tag:b.heading,textDecoration:"underline",fontWeight:"bold"},{tag:b.emphasis,fontStyle:"italic"},{tag:b.strong,fontWeight:"bold"},{tag:b.strikethrough,textDecoration:"line-through"},{tag:b.keyword,color:"#708"},{tag:[b.atom,b.bool,b.url,b.contentSeparator,b.labelName],color:"#219"},{tag:[b.literal,b.inserted],color:"#164"},{tag:[b.string,b.deleted],color:"#a11"},{tag:[b.regexp,b.escape,b.special(b.string)],color:"#e40"},{tag:b.definition(b.variableName),color:"#00f"},{tag:b.local(b.variableName),color:"#30a"},{tag:[b.typeName,b.namespace],color:"#085"},{tag:b.className,color:"#167"},{tag:[b.special(b.variableName),b.macroName],color:"#256"},{tag:b.definition(b.propertyName),color:"#00c"},{tag:b.comment,color:"#940"},{tag:b.invalid,color:"#f00"}]),Ib=1e4,Wb="()[]{}",pf=new me;function Ko(i,e,t){let n=i.prop(e<0?me.openedBy:me.closedBy);if(n)return n;if(i.name.length==1){let s=t.indexOf(i.name);if(s>-1&&s%2==(e<0?1:0))return[t[s+e]]}return null}function Jo(i){let e=i.type.prop(pf);return e?e(i.node):i}function Vi(i,e,t,n={}){let s=n.maxScanDistance||Ib,r=n.brackets||Wb,o=pe(i),l=o.resolveInner(e,t);for(let a=l;a;a=a.parent){let h=Ko(a.type,t,r);if(h&&a.from0?e>=c.from&&ec.from&&e<=c.to))return Db(i,e,t,a,c,h,r)}}return Lb(i,e,t,o,l.type,s,r)}function Db(i,e,t,n,s,r,o){let l=n.parent,a={from:s.from,to:s.to},h=0,c=l==null?void 0:l.cursor();if(c&&(t<0?c.childBefore(n.from):c.childAfter(n.to)))do if(t<0?c.to<=n.from:c.from>=n.to){if(h==0&&r.indexOf(c.type.name)>-1&&c.from0)return null;let h={from:t<0?e-1:e,to:t>0?e+1:e},c=i.doc.iterRange(e,t>0?i.doc.length:0),u=0;for(let d=0;!c.next().done&&d<=r;){let f=c.value;t<0&&(d+=f.length);let O=e+d*t;for(let m=t>0?0:f.length-1,g=t>0?f.length:-1;m!=g;m+=t){let v=o.indexOf(f[m]);if(!(v<0||n.resolveInner(O+m,1).type!=s))if(v%2==0==t>0)u++;else{if(u==1)return{start:h,end:{from:O+m,to:O+m+1},matched:v>>1==a>>1};u--}}t>0&&(d+=f.length)}return c.done?{start:h,matched:!1}:null}function tc(i,e,t,n=0,s=0){e==null&&(e=i.search(/[^\s\u00a0]/),e==-1&&(e=i.length));let r=s;for(let o=n;o=this.string.length}sol(){return this.pos==0}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.post}eatSpace(){let e=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e}skipToEnd(){this.pos=this.string.length}skipTo(e){let t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0}backUp(e){this.pos-=e}column(){return this.lastColumnPosn?o.toLowerCase():o,r=this.string.substr(this.pos,e.length);return s(r)==s(e)?(t!==!1&&(this.pos+=e.length),!0):null}else{let s=this.string.slice(this.pos).match(e);return s&&s.index>0?null:(s&&t!==!1&&(this.pos+=s[0].length),s)}}current(){return this.string.slice(this.start,this.pos)}}function Yb(i){return{name:i.name||"",token:i.token,blankLine:i.blankLine||(()=>{}),startState:i.startState||(()=>!0),copyState:i.copyState||Mb,indent:i.indent||(()=>null),languageData:i.languageData||{},tokenTable:i.tokenTable||Yl}}function Mb(i){if(typeof i!="object")return i;let e={};for(let t in i){let n=i[t];e[t]=n instanceof Array?n.slice():n}return e}const ic=new WeakMap;class Dl extends it{constructor(e){let t=Zr(e.languageData),n=Yb(e),s,r=new class extends Or{createParse(o,l,a){return new Bb(s,o,l,a)}};super(t,r,[af.of((o,l)=>this.getIndent(o,l))],e.name),this.topNode=Gb(t),s=this,this.streamParser=n,this.stateAfter=new me({perNode:!0}),this.tokenTable=e.tokenTable?new vf(n.tokenTable):zb}static define(e){return new Dl(e)}getIndent(e,t){let n=pe(e.state),s=n.resolve(t);for(;s&&s.type!=this.topNode;)s=s.parent;if(!s)return null;let r,{overrideIndentation:o}=e.options;o&&(r=ic.get(e.state),r!=null&&r1e4)return null;for(;a=n&&t+e.length<=s&&e.prop(i.stateAfter);if(r)return{state:i.streamParser.copyState(r),pos:t+e.length};for(let o=e.children.length-1;o>=0;o--){let l=e.children[o],a=t+e.positions[o],h=l instanceof ce&&a=e.length)return e;!s&&e.type==i.topNode&&(s=!0);for(let r=e.children.length-1;r>=0;r--){let o=e.positions[r],l=e.children[r],a;if(ot&&Ll(i,s.tree,0-s.offset,t,o),a;if(l&&(a=mf(i,s.tree,t+s.offset,l.pos+s.offset,!1)))return{state:l.state,tree:a}}return{state:i.streamParser.startState(n?Pi(n):4),tree:ce.empty}}let Bb=class{constructor(e,t,n,s){this.lang=e,this.input=t,this.fragments=n,this.ranges=s,this.stoppedAt=null,this.chunks=[],this.chunkPos=[],this.chunk=[],this.chunkReused=void 0,this.rangeIndex=0,this.to=s[s.length-1].to;let r=Qi.get(),o=s[0].from,{state:l,tree:a}=jb(e,n,o,r==null?void 0:r.state);this.state=l,this.parsedPos=this.chunkStart=o+a.length;for(let h=0;h=t?this.finish():e&&this.parsedPos>=e.viewport.to?(e.skipUntilInView(this.parsedPos,t),this.finish()):null}stopAt(e){this.stoppedAt=e}lineAfter(e){let t=this.input.chunk(e);if(this.input.lineChunks)t==` `&&(t="");else{let n=t.indexOf(` -`);n>-1&&(t=t.slice(0,n))}return e+t.length<=this.to?t:t.slice(0,this.to-e)}nextLine(){let e=this.parsedPos,t=this.lineAfter(e),n=e+t.length;for(let s=this.rangeIndex;;){let r=this.ranges[s].to;if(r>=n||(t=t.slice(0,r-(n-t.length)),s++,s==this.ranges.length))break;let o=this.ranges[s].from,l=this.lineAfter(o);t+=l,n=o+l.length}return{line:t,end:n}}skipGapsTo(e,t,n){for(;;){let s=this.ranges[this.rangeIndex].to,r=e+t;if(n>0?s>r:s>=r)break;let o=this.ranges[++this.rangeIndex].from;t+=o-s}return t}moveRangeIndex(){for(;this.ranges[this.rangeIndex].to1){r=this.skipGapsTo(t,r,1),t+=r;let o=this.chunk.length;r=this.skipGapsTo(n,r,-1),n+=r,s+=this.chunk.length-o}return this.chunk.push(e,t,n,s),r}parseLine(e){let{line:t,end:n}=this.nextLine(),s=0,{streamParser:r}=this.lang,o=new Of(t,e?e.state.tabSize:4,e?Pi(e.state):2);if(o.eol())r.blankLine(this.state,o.indentUnit);else for(;!o.eol();){let l=gf(r.token,o,this.state);if(l&&(s=this.emitToken(this.lang.tokenTable.resolve(l),this.parsedPos+o.start,this.parsedPos+o.pos,4,s)),o.start>1e4)break}this.parsedPos=n,this.moveRangeIndex(),this.parsedPose.start)return s}throw new Error("Stream parser failed to advance stream.")}const Yl=Object.create(null),Un=[zt.none],qb=new mr(Un),nc=[],sc=Object.create(null),bf=Object.create(null);for(let[i,e]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])bf[i]=yf(Yl,e);class vf{constructor(e){this.extra=e,this.table=Object.assign(Object.create(null),bf)}resolve(e){return e?this.table[e]||(this.table[e]=yf(this.extra,e)):0}}const zb=new vf(Yl);function Fr(i,e){nc.indexOf(i)>-1||(nc.push(i),console.warn(e))}function yf(i,e){let t=[];for(let l of e.split(" ")){let a=[];for(let h of l.split(".")){let c=i[h]||b[h];c?typeof c=="function"?a.length?a=a.map(c):Fr(h,`Modifier ${h} used at start of tag`):a.length?Fr(h,`Tag ${h} used as modifier`):a=Array.isArray(c)?c:[c]:Fr(h,`Unknown highlighting tag ${h}`)}for(let h of a)t.push(h)}if(!t.length)return 0;let n=e.replace(/ /g,"_"),s=n+" "+t.map(l=>l.id),r=sc[s];if(r)return r.id;let o=sc[s]=zt.define({id:Un.length,name:n,props:[ln({[n]:t})]});return Un.push(o),o.id}function Gb(i){let e=zt.define({id:Un.length,name:"Document",props:[ni.add(()=>i)],top:!0});return Un.push(e),e}fe.RTL,fe.LTR;const Nb=i=>{let{state:e}=i,t=e.doc.lineAt(e.selection.main.from),n=jl(i.state,t.from);return n.line?Ub(i):n.block?Hb(i):!1};function Ml(i,e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let s=i(e,t);return s?(n(t.update(s)),!0):!1}}const Ub=Ml(ev,0),Fb=Ml(Sf,0),Hb=Ml((i,e)=>Sf(i,e,Jb(e)),0);function jl(i,e){let t=i.languageDataAt("commentTokens",e);return t.length?t[0]:{}}const yn=50;function Kb(i,{open:e,close:t},n,s){let r=i.sliceDoc(n-yn,n),o=i.sliceDoc(s,s+yn),l=/\s*$/.exec(r)[0].length,a=/^\s*/.exec(o)[0].length,h=r.length-l;if(r.slice(h-e.length,h)==e&&o.slice(a,a+t.length)==t)return{open:{pos:n-l,margin:l&&1},close:{pos:s+a,margin:a&&1}};let c,u;s-n<=2*yn?c=u=i.sliceDoc(n,s):(c=i.sliceDoc(n,n+yn),u=i.sliceDoc(s-yn,s));let d=/^\s*/.exec(c)[0].length,f=/\s*$/.exec(u)[0].length,O=u.length-f-t.length;return c.slice(d,d+e.length)==e&&u.slice(O,O+t.length)==t?{open:{pos:n+d+e.length,margin:/\s/.test(c.charAt(d+e.length))?1:0},close:{pos:s-f-t.length,margin:/\s/.test(u.charAt(O-1))?1:0}}:null}function Jb(i){let e=[];for(let t of i.selection.ranges){let n=i.doc.lineAt(t.from),s=t.to<=n.to?n:i.doc.lineAt(t.to),r=e.length-1;r>=0&&e[r].to>n.from?e[r].to=s.to:e.push({from:n.from+/^\s*/.exec(n.text)[0].length,to:s.to})}return e}function Sf(i,e,t=e.selection.ranges){let n=t.map(r=>jl(e,r.from).block);if(!n.every(r=>r))return null;let s=t.map((r,o)=>Kb(e,n[o],r.from,r.to));if(i!=2&&!s.every(r=>r))return{changes:e.changes(t.map((r,o)=>s[o]?[]:[{from:r.from,insert:n[o].open+" "},{from:r.to,insert:" "+n[o].close}]))};if(i!=1&&s.some(r=>r)){let r=[];for(let o=0,l;os&&(r==o||o>u.from)){s=u.from;let d=/^\s*/.exec(u.text)[0].length,f=d==u.length,O=u.text.slice(d,d+h.length)==h?d:-1;dr.comment<0&&(!r.empty||r.single))){let r=[];for(let{line:l,token:a,indent:h,empty:c,single:u}of n)(u||!c)&&r.push({from:l.from+h,insert:a+" "});let o=e.changes(r);return{changes:o,selection:e.selection.map(o,1)}}else if(i!=1&&n.some(r=>r.comment>=0)){let r=[];for(let{line:o,comment:l,token:a}of n)if(l>=0){let h=o.from+l,c=h+a.length;o.text[c-o.from]==" "&&c++,r.push({from:h,to:c})}return{changes:r}}return null}const el=Nt.define(),tv=Nt.define(),iv=W.define(),kf=W.define({combine(i){return Pr(i,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(n,s)=>e(n,s)||t(n,s)})}}),wf=Et.define({create(){return At.empty},update(i,e){let t=e.state.facet(kf),n=e.annotation(el);if(n){let a=Ue.fromTransaction(e,n.selection),h=n.side,c=h==0?i.undone:i.done;return a?c=nr(c,c.length,t.minDepth,a):c=Qf(c,e.startState.selection),new At(h==0?n.rest:c,h==0?c:n.rest)}let s=e.annotation(tv);if((s=="full"||s=="before")&&(i=i.isolate()),e.annotation($e.addToHistory)===!1)return e.changes.empty?i:i.addMapping(e.changes.desc);let r=Ue.fromTransaction(e),o=e.annotation($e.time),l=e.annotation($e.userEvent);return r?i=i.addChanges(r,o,l,t,e):e.selection&&(i=i.addSelection(e.startState.selection,o,l,t.newGroupDelay)),(s=="full"||s=="after")&&(i=i.isolate()),i},toJSON(i){return{done:i.done.map(e=>e.toJSON()),undone:i.undone.map(e=>e.toJSON())}},fromJSON(i){return new At(i.done.map(Ue.fromJSON),i.undone.map(Ue.fromJSON))}});function nv(i={}){return[wf,kf.of(i),D.domEventHandlers({beforeinput(e,t){let n=e.inputType=="historyUndo"?Bl:e.inputType=="historyRedo"?ir:null;return n?(e.preventDefault(),n(t)):!1}})]}function _r(i,e){return function({state:t,dispatch:n}){if(!e&&t.readOnly)return!1;let s=t.field(wf,!1);if(!s)return!1;let r=s.pop(i,t,e);return r?(n(r),!0):!1}}const Bl=_r(0,!1),ir=_r(1,!1),sv=_r(0,!0),rv=_r(1,!0);class Ue{constructor(e,t,n,s,r){this.changes=e,this.effects=t,this.mapped=n,this.startSelection=s,this.selectionsAfter=r}setSelAfter(e){return new Ue(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,n;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(t=this.mapped)===null||t===void 0?void 0:t.toJSON(),startSelection:(n=this.startSelection)===null||n===void 0?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map(s=>s.toJSON())}}static fromJSON(e){return new Ue(e.changes&&Pe.fromJSON(e.changes),[],e.mapped&&_t.fromJSON(e.mapped),e.startSelection&&P.fromJSON(e.startSelection),e.selectionsAfter.map(P.fromJSON))}static fromTransaction(e,t){let n=ot;for(let s of e.startState.facet(iv)){let r=s(e);r.length&&(n=n.concat(r))}return!n.length&&e.changes.empty?null:new Ue(e.changes.invert(e.startState.doc),n,void 0,t||e.startState.selection,ot)}static selection(e){return new Ue(void 0,ot,void 0,void 0,e)}}function nr(i,e,t,n){let s=e+1>t+20?e-t-1:0,r=i.slice(s,e);return r.push(n),r}function ov(i,e){let t=[],n=!1;return i.iterChangedRanges((s,r)=>t.push(s,r)),e.iterChangedRanges((s,r,o,l)=>{for(let a=0;a=h&&o<=c&&(n=!0)}}),n}function lv(i,e){return i.ranges.length==e.ranges.length&&i.ranges.filter((t,n)=>t.empty!=e.ranges[n].empty).length===0}function xf(i,e){return i.length?e.length?i.concat(e):i:e}const ot=[],av=200;function Qf(i,e){if(i.length){let t=i[i.length-1],n=t.selectionsAfter.slice(Math.max(0,t.selectionsAfter.length-av));return n.length&&n[n.length-1].eq(e)?i:(n.push(e),nr(i,i.length-1,1e9,t.setSelAfter(n)))}else return[Ue.selection([e])]}function hv(i){let e=i[i.length-1],t=i.slice();return t[i.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),t}function Hr(i,e){if(!i.length)return i;let t=i.length,n=ot;for(;t;){let s=cv(i[t-1],e,n);if(s.changes&&!s.changes.empty||s.effects.length){let r=i.slice(0,t);return r[t-1]=s,r}else e=s.mapped,t--,n=s.selectionsAfter}return n.length?[Ue.selection(n)]:ot}function cv(i,e,t){let n=xf(i.selectionsAfter.length?i.selectionsAfter.map(l=>l.map(e)):ot,t);if(!i.changes)return Ue.selection(n);let s=i.changes.map(e),r=e.mapDesc(i.changes,!0),o=i.mapped?i.mapped.composeDesc(r):r;return new Ue(s,ee.mapEffects(i.effects,e),o,i.startSelection.map(r),n)}const uv=/^(input\.type|delete)($|\.)/;class At{constructor(e,t,n=0,s=void 0){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=s}isolate(){return this.prevTime?new At(this.done,this.undone):this}addChanges(e,t,n,s,r){let o=this.done,l=o[o.length-1];return l&&l.changes&&!l.changes.empty&&e.changes&&(!n||uv.test(n))&&(!l.selectionsAfter.length&&t-this.prevTime0&&t-this.prevTimet.empty?i.moveByChar(t,e):Rr(t,e))}function Le(i){return i.textDirectionAt(i.state.selection.main.head)==fe.LTR}const $f=i=>Pf(i,!Le(i)),Cf=i=>Pf(i,Le(i));function Tf(i,e){return Qt(i,t=>t.empty?i.moveByGroup(t,e):Rr(t,e))}const fv=i=>Tf(i,!Le(i)),pv=i=>Tf(i,Le(i));function Ov(i,e,t){if(e.type.prop(t))return!0;let n=e.to-e.from;return n&&(n>2||/[^\s,.;:]/.test(i.sliceDoc(e.from,e.to)))||e.firstChild}function Er(i,e,t){let n=pe(i).resolveInner(e.head),s=t?me.closedBy:me.openedBy;for(let a=e.head;;){let h=t?n.childAfter(a):n.childBefore(a);if(!h)break;Ov(i,h,s)?n=h:a=t?h.to:h.from}let r=n.type.prop(s),o,l;return r&&(o=t?Vi(i,n.from,1):Vi(i,n.to,-1))&&o.matched?l=t?o.end.to:o.end.from:l=t?n.to:n.from,P.cursor(l,t?-1:1)}const mv=i=>Qt(i,e=>Er(i.state,e,!Le(i))),gv=i=>Qt(i,e=>Er(i.state,e,Le(i)));function Zf(i,e){return Qt(i,t=>{if(!t.empty)return Rr(t,e);let n=i.moveVertically(t,e);return n.head!=t.head?n:i.moveToLineBoundary(t,e)})}const Af=i=>Zf(i,!1),_f=i=>Zf(i,!0);function Rf(i){let e=i.scrollDOM.clientHeighto.empty?i.moveVertically(o,e,t.height):Rr(o,e));if(s.eq(n.selection))return!1;let r;if(t.selfScroll){let o=i.coordsAtPos(n.selection.main.head),l=i.scrollDOM.getBoundingClientRect(),a=l.top+t.marginTop,h=l.bottom-t.marginBottom;o&&o.top>a&&o.bottomEf(i,!1),tl=i=>Ef(i,!0);function fi(i,e,t){let n=i.lineBlockAt(e.head),s=i.moveToLineBoundary(e,t);if(s.head==e.head&&s.head!=(t?n.to:n.from)&&(s=i.moveToLineBoundary(e,t,!1)),!t&&s.head==n.from&&n.length){let r=/^\s*/.exec(i.state.sliceDoc(n.from,Math.min(n.from+100,n.to)))[0].length;r&&e.head!=n.from+r&&(s=P.cursor(n.from+r))}return s}const bv=i=>Qt(i,e=>fi(i,e,!0)),vv=i=>Qt(i,e=>fi(i,e,!1)),yv=i=>Qt(i,e=>fi(i,e,!Le(i))),Sv=i=>Qt(i,e=>fi(i,e,Le(i))),kv=i=>Qt(i,e=>P.cursor(i.lineBlockAt(e.head).from,1)),wv=i=>Qt(i,e=>P.cursor(i.lineBlockAt(e.head).to,-1));function xv(i,e,t){let n=!1,s=dn(i.selection,r=>{let o=Vi(i,r.head,-1)||Vi(i,r.head,1)||r.head>0&&Vi(i,r.head-1,1)||r.headxv(i,e,!1);function dt(i,e){let t=dn(i.state.selection,n=>{let s=e(n);return P.range(n.anchor,s.head,s.goalColumn,s.bidiLevel||void 0)});return t.eq(i.state.selection)?!1:(i.dispatch(Vt(i.state,t)),!0)}function Vf(i,e){return dt(i,t=>i.moveByChar(t,e))}const Xf=i=>Vf(i,!Le(i)),If=i=>Vf(i,Le(i));function Wf(i,e){return dt(i,t=>i.moveByGroup(t,e))}const Pv=i=>Wf(i,!Le(i)),$v=i=>Wf(i,Le(i)),Cv=i=>dt(i,e=>Er(i.state,e,!Le(i))),Tv=i=>dt(i,e=>Er(i.state,e,Le(i)));function Df(i,e){return dt(i,t=>i.moveVertically(t,e))}const Lf=i=>Df(i,!1),Yf=i=>Df(i,!0);function Mf(i,e){return dt(i,t=>i.moveVertically(t,e,Rf(i).height))}const oc=i=>Mf(i,!1),lc=i=>Mf(i,!0),Zv=i=>dt(i,e=>fi(i,e,!0)),Av=i=>dt(i,e=>fi(i,e,!1)),_v=i=>dt(i,e=>fi(i,e,!Le(i))),Rv=i=>dt(i,e=>fi(i,e,Le(i))),Ev=i=>dt(i,e=>P.cursor(i.lineBlockAt(e.head).from)),Vv=i=>dt(i,e=>P.cursor(i.lineBlockAt(e.head).to)),ac=({state:i,dispatch:e})=>(e(Vt(i,{anchor:0})),!0),hc=({state:i,dispatch:e})=>(e(Vt(i,{anchor:i.doc.length})),!0),cc=({state:i,dispatch:e})=>(e(Vt(i,{anchor:i.selection.main.anchor,head:0})),!0),uc=({state:i,dispatch:e})=>(e(Vt(i,{anchor:i.selection.main.anchor,head:i.doc.length})),!0),Xv=({state:i,dispatch:e})=>(e(i.update({selection:{anchor:0,head:i.doc.length},userEvent:"select"})),!0),Iv=({state:i,dispatch:e})=>{let t=Vr(i).map(({from:n,to:s})=>P.range(n,Math.min(s+1,i.doc.length)));return e(i.update({selection:P.create(t),userEvent:"select"})),!0},Wv=({state:i,dispatch:e})=>{let t=dn(i.selection,n=>{var s;let r=pe(i).resolveStack(n.from,1);for(let o=r;o;o=o.next){let{node:l}=o;if((l.from=n.to||l.to>n.to&&l.from<=n.from)&&(!((s=l.parent)===null||s===void 0)&&s.parent))return P.range(l.to,l.from)}return n});return e(Vt(i,t)),!0},Dv=({state:i,dispatch:e})=>{let t=i.selection,n=null;return t.ranges.length>1?n=P.create([t.main]):t.main.empty||(n=P.create([P.cursor(t.main.head)])),n?(e(Vt(i,n)),!0):!1};function hs(i,e){if(i.state.readOnly)return!1;let t="delete.selection",{state:n}=i,s=n.changeByRange(r=>{let{from:o,to:l}=r;if(o==l){let a=e(r);ao&&(t="delete.forward",a=Ps(i,a,!0)),o=Math.min(o,a),l=Math.max(l,a)}else o=Ps(i,o,!1),l=Ps(i,l,!0);return o==l?{range:r}:{changes:{from:o,to:l},range:P.cursor(o,os(i)))n.between(e,e,(s,r)=>{se&&(e=t?r:s)});return e}const jf=(i,e)=>hs(i,t=>{let n=t.from,{state:s}=i,r=s.doc.lineAt(n),o,l;if(!e&&n>r.from&&njf(i,!1),Bf=i=>jf(i,!0),qf=(i,e)=>hs(i,t=>{let n=t.head,{state:s}=i,r=s.doc.lineAt(n),o=s.charCategorizer(n);for(let l=null;;){if(n==(e?r.to:r.from)){n==t.head&&r.number!=(e?s.doc.lines:1)&&(n+=e?1:-1);break}let a=je(r.text,n-r.from,e)+r.from,h=r.text.slice(Math.min(n,a)-r.from,Math.max(n,a)-r.from),c=o(h);if(l!=null&&c!=l)break;(h!=" "||n!=t.head)&&(l=c),n=a}return n}),zf=i=>qf(i,!1),Lv=i=>qf(i,!0),Yv=i=>hs(i,e=>{let t=i.lineBlockAt(e.head).to;return e.headhs(i,e=>{let t=i.moveToLineBoundary(e,!1).head;return e.head>t?t:Math.max(0,e.head-1)}),jv=i=>hs(i,e=>{let t=i.moveToLineBoundary(e,!0).head;return e.head{if(i.readOnly)return!1;let t=i.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:G.of(["",""])},range:P.cursor(n.from)}));return e(i.update(t,{scrollIntoView:!0,userEvent:"input"})),!0},qv=({state:i,dispatch:e})=>{if(i.readOnly)return!1;let t=i.changeByRange(n=>{if(!n.empty||n.from==0||n.from==i.doc.length)return{range:n};let s=n.from,r=i.doc.lineAt(s),o=s==r.from?s-1:je(r.text,s-r.from,!1)+r.from,l=s==r.to?s+1:je(r.text,s-r.from,!0)+r.from;return{changes:{from:o,to:l,insert:i.doc.slice(s,l).append(i.doc.slice(o,s))},range:P.cursor(l)}});return t.changes.empty?!1:(e(i.update(t,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function Vr(i){let e=[],t=-1;for(let n of i.selection.ranges){let s=i.doc.lineAt(n.from),r=i.doc.lineAt(n.to);if(!n.empty&&n.to==r.from&&(r=i.doc.lineAt(n.to-1)),t>=s.number){let o=e[e.length-1];o.to=r.to,o.ranges.push(n)}else e.push({from:s.from,to:r.to,ranges:[n]});t=r.number+1}return e}function Gf(i,e,t){if(i.readOnly)return!1;let n=[],s=[];for(let r of Vr(i)){if(t?r.to==i.doc.length:r.from==0)continue;let o=i.doc.lineAt(t?r.to+1:r.from-1),l=o.length+1;if(t){n.push({from:r.to,to:o.to},{from:r.from,insert:o.text+i.lineBreak});for(let a of r.ranges)s.push(P.range(Math.min(i.doc.length,a.anchor+l),Math.min(i.doc.length,a.head+l)))}else{n.push({from:o.from,to:r.from},{from:r.to,insert:i.lineBreak+o.text});for(let a of r.ranges)s.push(P.range(a.anchor-l,a.head-l))}}return n.length?(e(i.update({changes:n,scrollIntoView:!0,selection:P.create(s,i.selection.mainIndex),userEvent:"move.line"})),!0):!1}const zv=({state:i,dispatch:e})=>Gf(i,e,!1),Gv=({state:i,dispatch:e})=>Gf(i,e,!0);function Nf(i,e,t){if(i.readOnly)return!1;let n=[];for(let s of Vr(i))t?n.push({from:s.from,insert:i.doc.slice(s.from,s.to)+i.lineBreak}):n.push({from:s.to,insert:i.lineBreak+i.doc.slice(s.from,s.to)});return e(i.update({changes:n,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const Nv=({state:i,dispatch:e})=>Nf(i,e,!1),Uv=({state:i,dispatch:e})=>Nf(i,e,!0),Uf=i=>{if(i.state.readOnly)return!1;let{state:e}=i,t=e.changes(Vr(e).map(({from:s,to:r})=>(s>0?s--:ri.moveVertically(s,!0)).map(t);return i.dispatch({changes:t,selection:n,scrollIntoView:!0,userEvent:"delete.line"}),!0};function Fv(i,e){if(/\(\)|\[\]|\{\}/.test(i.sliceDoc(e-1,e+1)))return{from:e,to:e};let t=pe(i).resolveInner(e),n=t.childBefore(e),s=t.childAfter(e),r;return n&&s&&n.to<=e&&s.from>=e&&(r=n.type.prop(me.closedBy))&&r.indexOf(s.name)>-1&&i.doc.lineAt(n.to).from==i.doc.lineAt(s.from).from&&!/\S/.test(i.sliceDoc(n.to,s.from))?{from:n.to,to:s.from}:null}const Hv=Ff(!1),Kv=Ff(!0);function Ff(i){return({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(s=>{let{from:r,to:o}=s,l=e.doc.lineAt(r),a=!i&&r==o&&Fv(e,r);i&&(r=o=(o<=l.to?l:e.doc.lineAt(o)).to);let h=new Ar(e,{simulateBreak:r,simulateDoubleBreak:!!a}),c=hf(h,r);for(c==null&&(c=Rt(/^\s*/.exec(e.doc.lineAt(r).text)[0],e.tabSize));ol.from&&r{let s=[];for(let o=n.from;o<=n.to;){let l=i.doc.lineAt(o);l.number>t&&(n.empty||n.to>l.from)&&(e(l,s,n),t=l.number),o=l.to+1}let r=i.changes(s);return{changes:s,range:P.range(r.mapPos(n.anchor,1),r.mapPos(n.head,1))}})}const Jv=({state:i,dispatch:e})=>{if(i.readOnly)return!1;let t=Object.create(null),n=new Ar(i,{overrideIndentation:r=>{let o=t[r];return o??-1}}),s=ql(i,(r,o,l)=>{let a=hf(n,r.from);if(a==null)return;/\S/.test(r.text)||(a=0);let h=/^\s*/.exec(r.text)[0],c=tr(i,a);(h!=c||l.fromi.readOnly?!1:(e(i.update(ql(i,(t,n)=>{n.push({from:t.from,insert:i.facet(cn)})}),{userEvent:"input.indent"})),!0),Kf=({state:i,dispatch:e})=>i.readOnly?!1:(e(i.update(ql(i,(t,n)=>{let s=/^\s*/.exec(t.text)[0];if(!s)return;let r=Rt(s,i.tabSize),o=0,l=tr(i,Math.max(0,r-Pi(i)));for(;o({mac:i.key,run:i.run,shift:i.shift}))),iy=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:mv,shift:Cv},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:gv,shift:Tv},{key:"Alt-ArrowUp",run:zv},{key:"Shift-Alt-ArrowUp",run:Nv},{key:"Alt-ArrowDown",run:Gv},{key:"Shift-Alt-ArrowDown",run:Uv},{key:"Escape",run:Dv},{key:"Mod-Enter",run:Kv},{key:"Alt-l",mac:"Ctrl-l",run:Iv},{key:"Mod-i",run:Wv,preventDefault:!0},{key:"Mod-[",run:Kf},{key:"Mod-]",run:Hf},{key:"Mod-Alt-\\",run:Jv},{key:"Shift-Mod-k",run:Uf},{key:"Shift-Mod-\\",run:Qv},{key:"Mod-/",run:Nb},{key:"Alt-A",run:Fb}].concat(ty),ny={key:"Tab",run:Hf,shift:Kf};class zl{constructor(e,t,n){this.state=e,this.pos=t,this.explicit=n,this.abortListeners=[]}tokenBefore(e){let t=pe(this.state).resolveInner(this.pos,-1);for(;t&&e.indexOf(t.name)<0;)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),n=Math.max(t.from,this.pos-250),s=t.text.slice(n-t.from,this.pos-t.from),r=s.search(ep(e,!1));return r<0?null:{from:n+r,to:this.pos,text:s.slice(r)}}get aborted(){return this.abortListeners==null}addEventListener(e,t){e=="abort"&&this.abortListeners&&this.abortListeners.push(t)}}function dc(i){let e=Object.keys(i).join(""),t=/\w/.test(e);return t&&(e=e.replace(/\w/g,"")),`[${t?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function sy(i){let e=Object.create(null),t=Object.create(null);for(let{label:s}of i){e[s[0]]=!0;for(let r=1;rtypeof s=="string"?{label:s}:s),[t,n]=e.every(s=>/^\w+$/.test(s.label))?[/\w*$/,/\w+$/]:sy(e);return s=>{let r=s.matchBefore(n);return r||s.explicit?{from:r?r.from:s.pos,options:e,validFor:t}:null}}function ry(i,e){return t=>{for(let n=pe(t.state).resolveInner(t.pos,-1);n;n=n.parent){if(i.indexOf(n.name)>-1)return null;if(n.type.isTop)break}return e(t)}}class fc{constructor(e,t,n,s){this.completion=e,this.source=t,this.match=n,this.score=s}}function li(i){return i.selection.main.from}function ep(i,e){var t;let{source:n}=i,s=e&&n[0]!="^",r=n[n.length-1]!="$";return!s&&!r?i:new RegExp(`${s?"^":""}(?:${n})${r?"$":""}`,(t=i.flags)!==null&&t!==void 0?t:i.ignoreCase?"i":"")}const tp=Nt.define();function oy(i,e,t,n){let{main:s}=i.selection,r=t-s.from,o=n-s.from;return Object.assign(Object.assign({},i.changeByRange(l=>l!=s&&t!=n&&i.sliceDoc(l.from+r,l.from+o)!=i.sliceDoc(t,n)?{range:l}:{changes:{from:l.from+r,to:n==s.from?l.to:l.from+o,insert:e},range:P.cursor(l.from+r+e.length)})),{scrollIntoView:!0,userEvent:"input.complete"})}const pc=new WeakMap;function ly(i){if(!Array.isArray(i))return i;let e=pc.get(i);return e||pc.set(i,e=Jf(i)),e}const Gl=ee.define(),Fn=ee.define();class ay{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let t=0;t=48&&C<=57||C>=97&&C<=122?2:C>=65&&C<=90?1:0:(_=sg(C))!=_.toLowerCase()?1:_!=_.toUpperCase()?2:0;(!k||I==1&&g||Q==0&&I!=0)&&(t[u]==C||n[u]==C&&(d=!0)?o[u++]=k:o.length&&(v=!1)),Q=I,k+=Jt(C)}return u==a&&o[0]==0&&v?this.result(-100+(d?-200:0),o,e):f==a&&O==0?this.ret(-200-e.length+(m==e.length?0:-100),[0,m]):l>-1?this.ret(-700-e.length,[l,l+this.pattern.length]):f==a?this.ret(-200+-700-e.length,[O,m]):u==a?this.result(-100+(d?-200:0)+-700+(v?0:-1100),o,e):t.length==2?!1:this.result((s[0]?-700:0)+-200+-1100,s,e)}result(e,t,n){let s=[],r=0;for(let o of t){let l=o+(this.astral?Jt(gt(n,o)):1);r&&s[r-1]==o?s[r-1]=l:(s[r++]=o,s[r++]=l)}return this.ret(e-n.length,s)}}const De=W.define({combine(i){return Pr(i,{activateOnTyping:!0,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:hy,compareCompletions:(e,t)=>e.label.localeCompare(t.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,tooltipClass:(e,t)=>n=>Oc(e(n),t(n)),optionClass:(e,t)=>n=>Oc(e(n),t(n)),addToOptions:(e,t)=>e.concat(t)})}});function Oc(i,e){return i?e?i+" "+e:i:e}function hy(i,e,t,n,s,r){let o=i.textDirection==fe.RTL,l=o,a=!1,h="top",c,u,d=e.left-s.left,f=s.right-e.right,O=n.right-n.left,m=n.bottom-n.top;if(l&&d=m||k>e.top?c=t.bottom-e.top:(h="bottom",c=e.bottom-t.top)}let g=(e.bottom-e.top)/r.offsetHeight,v=(e.right-e.left)/r.offsetWidth;return{style:`${h}: ${c/g}px; max-width: ${u/v}px`,class:"cm-completionInfo-"+(a?o?"left-narrow":"right-narrow":l?"left":"right")}}function cy(i){let e=i.addToOptions.slice();return i.icons&&e.push({render(t){let n=document.createElement("div");return n.classList.add("cm-completionIcon"),t.type&&n.classList.add(...t.type.split(/\s+/g).map(s=>"cm-completionIcon-"+s)),n.setAttribute("aria-hidden","true"),n},position:20}),e.push({render(t,n,s,r){let o=document.createElement("span");o.className="cm-completionLabel";let l=t.displayLabel||t.label,a=0;for(let h=0;ha&&o.appendChild(document.createTextNode(l.slice(a,c)));let d=o.appendChild(document.createElement("span"));d.appendChild(document.createTextNode(l.slice(c,u))),d.className="cm-completionMatchedText",a=u}return at.position-n.position).map(t=>t.render)}function Kr(i,e,t){if(i<=t)return{from:0,to:i};if(e<0&&(e=0),e<=i>>1){let s=Math.floor(e/t);return{from:s*t,to:(s+1)*t}}let n=Math.floor((i-e)/t);return{from:i-(n+1)*t,to:i-n*t}}class uy{constructor(e,t,n){this.view=e,this.stateField=t,this.applyCompletion=n,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:a=>this.placeInfo(a),key:this},this.space=null,this.currentClass="";let s=e.state.field(t),{options:r,selected:o}=s.open,l=e.state.facet(De);this.optionContent=cy(l),this.optionClass=l.optionClass,this.tooltipClass=l.tooltipClass,this.range=Kr(r.length,o,l.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",a=>{let{options:h}=e.state.field(t).open;for(let c=a.target,u;c&&c!=this.dom;c=c.parentNode)if(c.nodeName=="LI"&&(u=/-(\d+)$/.exec(c.id))&&+u[1]{let h=e.state.field(this.stateField,!1);h&&h.tooltip&&e.state.facet(De).closeOnBlur&&a.relatedTarget!=e.contentDOM&&e.dispatch({effects:Fn.of(null)})}),this.showOptions(r,s.id)}mount(){this.updateSel()}showOptions(e,t){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,t,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var t;let n=e.state.field(this.stateField),s=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),n!=s){let{options:r,selected:o,disabled:l}=n.open;(!s.open||s.open.options!=r)&&(this.range=Kr(r.length,o,e.state.facet(De).maxRenderedOptions),this.showOptions(r,n.id)),this.updateSel(),l!=((t=s.open)===null||t===void 0?void 0:t.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!l)}}updateTooltipClass(e){let t=this.tooltipClass(e);if(t!=this.currentClass){for(let n of this.currentClass.split(" "))n&&this.dom.classList.remove(n);for(let n of t.split(" "))n&&this.dom.classList.add(n);this.currentClass=t}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;if((t.selected>-1&&t.selected=this.range.to)&&(this.range=Kr(t.options.length,t.selected,this.view.state.facet(De).maxRenderedOptions),this.showOptions(t.options,e.id)),this.updateSelectedOption(t.selected)){this.destroyInfo();let{completion:n}=t.options[t.selected],{info:s}=n;if(!s)return;let r=typeof s=="string"?document.createTextNode(s):s(n);if(!r)return;"then"in r?r.then(o=>{o&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(o,n)}).catch(o=>vt(this.view.state,o,"completion info")):this.addInfoPane(r,n)}}addInfoPane(e,t){this.destroyInfo();let n=this.info=document.createElement("div");if(n.className="cm-tooltip cm-completionInfo",e.nodeType!=null)n.appendChild(e),this.infoDestroy=null;else{let{dom:s,destroy:r}=e;n.appendChild(s),this.infoDestroy=r||null}this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let t=null;for(let n=this.list.firstChild,s=this.range.from;n;n=n.nextSibling,s++)n.nodeName!="LI"||!n.id?s--:s==e?n.hasAttribute("aria-selected")||(n.setAttribute("aria-selected","true"),t=n):n.hasAttribute("aria-selected")&&n.removeAttribute("aria-selected");return t&&fy(this.list,t),t}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),s=e.getBoundingClientRect(),r=this.space;if(!r){let o=this.dom.ownerDocument.defaultView||window;r={left:0,top:0,right:o.innerWidth,bottom:o.innerHeight}}return s.top>Math.min(r.bottom,t.bottom)-10||s.bottomn.from||n.from==0))if(r=d,typeof h!="string"&&h.header)s.appendChild(h.header(h));else{let f=s.appendChild(document.createElement("completion-section"));f.textContent=d}}const c=s.appendChild(document.createElement("li"));c.id=t+"-"+o,c.setAttribute("role","option");let u=this.optionClass(l);u&&(c.className=u);for(let d of this.optionContent){let f=d(l,this.view.state,this.view,a);f&&c.appendChild(f)}}return n.from&&s.classList.add("cm-completionListIncompleteTop"),n.tonew uy(t,i,e)}function fy(i,e){let t=i.getBoundingClientRect(),n=e.getBoundingClientRect(),s=t.height/i.offsetHeight;n.topt.bottom&&(i.scrollTop+=(n.bottom-t.bottom)/s)}function mc(i){return(i.boost||0)*100+(i.apply?10:0)+(i.info?5:0)+(i.type?1:0)}function py(i,e){let t=[],n=null,s=a=>{t.push(a);let{section:h}=a.completion;if(h){n||(n=[]);let c=typeof h=="string"?h:h.name;n.some(u=>u.name==c)||n.push(typeof h=="string"?{name:c}:h)}};for(let a of i)if(a.hasResult()){let h=a.result.getMatch;if(a.result.filter===!1)for(let c of a.result.options)s(new fc(c,a.source,h?h(c):[],1e9-t.length));else{let c=new ay(e.sliceDoc(a.from,a.to));for(let u of a.result.options)if(c.match(u.label)){let d=u.displayLabel?h?h(u,c.matched):[]:c.matched;s(new fc(u,a.source,d,c.score+(u.boost||0)))}}}if(n){let a=Object.create(null),h=0,c=(u,d)=>{var f,O;return((f=u.rank)!==null&&f!==void 0?f:1e9)-((O=d.rank)!==null&&O!==void 0?O:1e9)||(u.namec.score-h.score||l(h.completion,c.completion))){let h=a.completion;!o||o.label!=h.label||o.detail!=h.detail||o.type!=null&&h.type!=null&&o.type!=h.type||o.apply!=h.apply||o.boost!=h.boost?r.push(a):mc(a.completion)>mc(o)&&(r[r.length-1]=a),o=a.completion}return r}class Xi{constructor(e,t,n,s,r,o){this.options=e,this.attrs=t,this.tooltip=n,this.timestamp=s,this.selected=r,this.disabled=o}setSelected(e,t){return e==this.selected||e>=this.options.length?this:new Xi(this.options,gc(t,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,t,n,s,r){let o=py(e,t);if(!o.length)return s&&e.some(a=>a.state==1)?new Xi(s.options,s.attrs,s.tooltip,s.timestamp,s.selected,!0):null;let l=t.facet(De).selectOnOpen?0:-1;if(s&&s.selected!=l&&s.selected!=-1){let a=s.options[s.selected].completion;for(let h=0;hh.hasResult()?Math.min(a,h.from):a,1e8),create:vy,above:r.aboveCursor},s?s.timestamp:Date.now(),l,!1)}map(e){return new Xi(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}class sr{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){return new sr(gy,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:t}=e,n=t.facet(De),r=(n.override||t.languageDataAt("autocomplete",li(t)).map(ly)).map(l=>(this.active.find(h=>h.source==l)||new Ne(l,this.active.some(h=>h.state!=0)?1:0)).update(e,n));r.length==this.active.length&&r.every((l,a)=>l==this.active[a])&&(r=this.active);let o=this.open;o&&e.docChanged&&(o=o.map(e.changes)),e.selection||r.some(l=>l.hasResult()&&e.changes.touchesRange(l.from,l.to))||!Oy(r,this.active)?o=Xi.build(r,t,this.id,o,n):o&&o.disabled&&!r.some(l=>l.state==1)&&(o=null),!o&&r.every(l=>l.state!=1)&&r.some(l=>l.hasResult())&&(r=r.map(l=>l.hasResult()?new Ne(l.source,0):l));for(let l of e.effects)l.is(np)&&(o=o&&o.setSelected(l.value,this.id));return r==this.active&&o==this.open?this:new sr(r,this.id,o)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:my}}function Oy(i,e){if(i==e)return!0;for(let t=0,n=0;;){for(;t-1&&(t["aria-activedescendant"]=i+"-"+e),t}const gy=[];function nl(i){return i.isUserEvent("input.type")?"input":i.isUserEvent("delete.backward")?"delete":null}class Ne{constructor(e,t,n=-1){this.source=e,this.state=t,this.explicitPos=n}hasResult(){return!1}update(e,t){let n=nl(e),s=this;n?s=s.handleUserEvent(e,n,t):e.docChanged?s=s.handleChange(e):e.selection&&s.state!=0&&(s=new Ne(s.source,0));for(let r of e.effects)if(r.is(Gl))s=new Ne(s.source,1,r.value?li(e.state):-1);else if(r.is(Fn))s=new Ne(s.source,0);else if(r.is(ip))for(let o of r.value)o.source==s.source&&(s=o);return s}handleUserEvent(e,t,n){return t=="delete"||!n.activateOnTyping?this.map(e.changes):new Ne(this.source,1)}handleChange(e){return e.changes.touchesRange(li(e.startState))?new Ne(this.source,0):this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new Ne(this.source,this.state,e.mapPos(this.explicitPos))}}class Mi extends Ne{constructor(e,t,n,s,r){super(e,2,t),this.result=n,this.from=s,this.to=r}hasResult(){return!0}handleUserEvent(e,t,n){var s;let r=e.changes.mapPos(this.from),o=e.changes.mapPos(this.to,1),l=li(e.state);if((this.explicitPos<0?l<=r:lo||t=="delete"&&li(e.startState)==this.from)return new Ne(this.source,t=="input"&&n.activateOnTyping?1:0);let a=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos),h;return by(this.result.validFor,e.state,r,o)?new Mi(this.source,a,this.result,r,o):this.result.update&&(h=this.result.update(this.result,r,o,new zl(e.state,l,a>=0)))?new Mi(this.source,a,h,h.from,(s=h.to)!==null&&s!==void 0?s:li(e.state)):new Ne(this.source,1,a)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new Ne(this.source,0):this.map(e.changes)}map(e){return e.empty?this:new Mi(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1))}}function by(i,e,t,n){if(!i)return!1;let s=e.sliceDoc(t,n);return typeof i=="function"?i(s,t,n,e):ep(i,!0).test(s)}const ip=ee.define({map(i,e){return i.map(t=>t.map(e))}}),np=ee.define(),et=Et.define({create(){return sr.start()},update(i,e){return i.update(e)},provide:i=>[rf.from(i,e=>e.tooltip),D.contentAttributes.from(i,e=>e.attrs)]});function sp(i,e){const t=e.completion.apply||e.completion.label;let n=i.state.field(et).active.find(s=>s.source==e.source);return n instanceof Mi?(typeof t=="string"?i.dispatch(Object.assign(Object.assign({},oy(i.state,t,n.from,n.to)),{annotations:tp.of(e.completion)})):t(i,e.completion,n.from,n.to),!0):!1}const vy=dy(et,sp);function $s(i,e="option"){return t=>{let n=t.state.field(et,!1);if(!n||!n.open||n.open.disabled||Date.now()-n.open.timestamp-1?n.open.selected+s*(i?1:-1):i?0:o-1;return l<0?l=e=="page"?0:o-1:l>=o&&(l=e=="page"?o-1:0),t.dispatch({effects:np.of(l)}),!0}}const yy=i=>{let e=i.state.field(et,!1);return i.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestampi.state.field(et,!1)?(i.dispatch({effects:Gl.of(!0)}),!0):!1,ky=i=>{let e=i.state.field(et,!1);return!e||!e.active.some(t=>t.state!=0)?!1:(i.dispatch({effects:Fn.of(null)}),!0)};class wy{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}const xy=50,Qy=1e3,Py=ut.fromClass(class{constructor(i){this.view=i,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.composing=0;for(let e of i.state.field(et).active)e.state==1&&this.startQuery(e)}update(i){let e=i.state.field(et);if(!i.selectionSet&&!i.docChanged&&i.startState.field(et)==e)return;let t=i.transactions.some(n=>(n.selection||n.docChanged)&&!nl(n));for(let n=0;nxy&&Date.now()-s.time>Qy){for(let r of s.context.abortListeners)try{r()}catch(o){vt(this.view.state,o)}s.context.abortListeners=null,this.running.splice(n--,1)}else s.updates.push(...i.transactions)}if(this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),this.debounceUpdate=e.active.some(n=>n.state==1&&!this.running.some(s=>s.active.source==n.source))?setTimeout(()=>this.startUpdate(),50):-1,this.composing!=0)for(let n of i.transactions)nl(n)=="input"?this.composing=2:this.composing==2&&n.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1;let{state:i}=this.view,e=i.field(et);for(let t of e.active)t.state==1&&!this.running.some(n=>n.active.source==t.source)&&this.startQuery(t)}startQuery(i){let{state:e}=this.view,t=li(e),n=new zl(e,t,i.explicitPos==t),s=new wy(i,n);this.running.push(s),Promise.resolve(i.source(n)).then(r=>{s.context.aborted||(s.done=r||null,this.scheduleAccept())},r=>{this.view.dispatch({effects:Fn.of(null)}),vt(this.view.state,r)})}scheduleAccept(){this.running.every(i=>i.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(De).updateSyncTime))}accept(){var i;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],t=this.view.state.facet(De);for(let n=0;no.source==s.active.source);if(r&&r.state==1)if(s.done==null){let o=new Ne(s.active.source,0);for(let l of s.updates)o=o.update(l,t);o.state!=1&&e.push(o)}else this.startQuery(r)}e.length&&this.view.dispatch({effects:ip.of(e)})}},{eventHandlers:{blur(i){let e=this.view.state.field(et,!1);if(e&&e.tooltip&&this.view.state.facet(De).closeOnBlur){let t=e.open&&of(this.view,e.open.tooltip);(!t||!t.dom.contains(i.relatedTarget))&&this.view.dispatch({effects:Fn.of(null)})}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:Gl.of(!1)}),20),this.composing=0}}}),rp=D.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class $y{constructor(e,t,n,s){this.field=e,this.line=t,this.from=n,this.to=s}}class Nl{constructor(e,t,n){this.field=e,this.from=t,this.to=n}map(e){let t=e.mapPos(this.from,-1,Me.TrackDel),n=e.mapPos(this.to,1,Me.TrackDel);return t==null||n==null?null:new Nl(this.field,t,n)}}class Ul{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let n=[],s=[t],r=e.doc.lineAt(t),o=/^\s*/.exec(r.text)[0];for(let a of this.lines){if(n.length){let h=o,c=/^\t*/.exec(a)[0].length;for(let u=0;unew Nl(a.field,s[a.line]+a.from,s[a.line]+a.to));return{text:n,ranges:l}}static parse(e){let t=[],n=[],s=[],r;for(let o of e.split(/\r\n?|\n/)){for(;r=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(o);){let l=r[1]?+r[1]:null,a=r[2]||r[3]||"",h=-1;for(let c=0;c=h&&u.field++}s.push(new $y(h,n.length,r.index,r.index+a.length)),o=o.slice(0,r.index)+a+o.slice(r.index+r[0].length)}for(let l;l=/\\([{}])/.exec(o);){o=o.slice(0,l.index)+l[1]+o.slice(l.index+l[0].length);for(let a of s)a.line==n.length&&a.from>l.index&&(a.from--,a.to--)}n.push(o)}return new Ul(n,s)}}let Cy=ie.widget({widget:new class extends Ti{toDOM(){let i=document.createElement("span");return i.className="cm-snippetFieldPosition",i}ignoreEvent(){return!1}}}),Ty=ie.mark({class:"cm-snippetField"});class fn{constructor(e,t){this.ranges=e,this.active=t,this.deco=ie.set(e.map(n=>(n.from==n.to?Cy:Ty).range(n.from,n.to)))}map(e){let t=[];for(let n of this.ranges){let s=n.map(e);if(!s)return null;t.push(s)}return new fn(t,this.active)}selectionInsideField(e){return e.ranges.every(t=>this.ranges.some(n=>n.field==this.active&&n.from<=t.from&&n.to>=t.to))}}const cs=ee.define({map(i,e){return i&&i.map(e)}}),Zy=ee.define(),Hn=Et.define({create(){return null},update(i,e){for(let t of e.effects){if(t.is(cs))return t.value;if(t.is(Zy)&&i)return new fn(i.ranges,t.value)}return i&&e.docChanged&&(i=i.map(e.changes)),i&&e.selection&&!i.selectionInsideField(e.selection)&&(i=null),i},provide:i=>D.decorations.from(i,e=>e?e.deco:ie.none)});function Fl(i,e){return P.create(i.filter(t=>t.field==e).map(t=>P.range(t.from,t.to)))}function Ay(i){let e=Ul.parse(i);return(t,n,s,r)=>{let{text:o,ranges:l}=e.instantiate(t.state,s),a={changes:{from:s,to:r,insert:G.of(o)},scrollIntoView:!0,annotations:n?tp.of(n):void 0};if(l.length&&(a.selection=Fl(l,0)),l.length>1){let h=new fn(l,0),c=a.effects=[cs.of(h)];t.state.field(Hn,!1)===void 0&&c.push(ee.appendConfig.of([Hn,Xy,Iy,rp]))}t.dispatch(t.state.update(a))}}function op(i){return({state:e,dispatch:t})=>{let n=e.field(Hn,!1);if(!n||i<0&&n.active==0)return!1;let s=n.active+i,r=i>0&&!n.ranges.some(o=>o.field==s+i);return t(e.update({selection:Fl(n.ranges,s),effects:cs.of(r?null:new fn(n.ranges,s)),scrollIntoView:!0})),!0}}const _y=({state:i,dispatch:e})=>i.field(Hn,!1)?(e(i.update({effects:cs.of(null)})),!0):!1,Ry=op(1),Ey=op(-1),Vy=[{key:"Tab",run:Ry,shift:Ey},{key:"Escape",run:_y}],bc=W.define({combine(i){return i.length?i[0]:Vy}}),Xy=Ci.highest(hn.compute([bc],i=>i.facet(bc)));function Ge(i,e){return Object.assign(Object.assign({},e),{apply:Ay(i)})}const Iy=D.domEventHandlers({mousedown(i,e){let t=e.state.field(Hn,!1),n;if(!t||(n=e.posAtCoords({x:i.clientX,y:i.clientY}))==null)return!1;let s=t.ranges.find(r=>r.from<=n&&r.to>=n);return!s||s.field==t.active?!1:(e.dispatch({selection:Fl(t.ranges,s.field),effects:cs.of(t.ranges.some(r=>r.field>s.field)?new fn(t.ranges,s.field):null),scrollIntoView:!0}),!0)}}),lp=new class extends ki{};lp.startSide=1;lp.endSide=-1;function Wy(i={}){return[et,De.of(i),Py,Ly,rp]}const Dy=[{key:"Ctrl-Space",run:Sy},{key:"Escape",run:ky},{key:"ArrowDown",run:$s(!0)},{key:"ArrowUp",run:$s(!1)},{key:"PageDown",run:$s(!0,"page")},{key:"PageUp",run:$s(!1,"page")},{key:"Enter",run:yy}],Ly=Ci.highest(hn.computeN([De],i=>i.facet(De).defaultKeymap?[Dy]:[])),Yy=(()=>[ub(),nv(),ib(),Wl(Xb,{fallback:!0}),hn.of([...iy,...dv])])();function x(i){return new en(Dl.define(i))}function Ut(i){return w(()=>import("./index-a3481d3a.js"),["assets/index-a3481d3a.js","assets/VTextField-a6744798.js","assets/VRow-a513640b.js","assets/index-5de8a41c.js","assets/index-2f9def03.css","assets/VRow-b18b73b0.css","assets/VTextField-fd58b571.css","assets/ssrBoot-48bd8e84.js"]).then(e=>e.sql({dialect:e[i]}))}const My=[S.of({name:"C",extensions:["c","h","ino"],load(){return w(()=>import("./index-6f26eaf1.js"),["assets/index-6f26eaf1.js","assets/VTextField-a6744798.js","assets/VRow-a513640b.js","assets/index-5de8a41c.js","assets/index-2f9def03.css","assets/VRow-b18b73b0.css","assets/VTextField-fd58b571.css","assets/ssrBoot-48bd8e84.js"]).then(i=>i.cpp())}}),S.of({name:"C++",alias:["cpp"],extensions:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],load(){return w(()=>import("./index-6f26eaf1.js"),["assets/index-6f26eaf1.js","assets/VTextField-a6744798.js","assets/VRow-a513640b.js","assets/index-5de8a41c.js","assets/index-2f9def03.css","assets/VRow-b18b73b0.css","assets/VTextField-fd58b571.css","assets/ssrBoot-48bd8e84.js"]).then(i=>i.cpp())}}),S.of({name:"CQL",alias:["cassandra"],extensions:["cql"],load(){return Ut("Cassandra")}}),S.of({name:"CSS",extensions:["css"],load(){return w(()=>Promise.resolve().then(()=>ES),void 0).then(i=>i.css())}}),S.of({name:"HTML",alias:["xhtml"],extensions:["html","htm","handlebars","hbs"],load(){return w(()=>Promise.resolve().then(()=>yk),void 0).then(i=>i.html())}}),S.of({name:"Java",extensions:["java"],load(){return w(()=>import("./index-4768441f.js"),["assets/index-4768441f.js","assets/VTextField-a6744798.js","assets/VRow-a513640b.js","assets/index-5de8a41c.js","assets/index-2f9def03.css","assets/VRow-b18b73b0.css","assets/VTextField-fd58b571.css","assets/ssrBoot-48bd8e84.js"]).then(i=>i.java())}}),S.of({name:"JavaScript",alias:["ecmascript","js","node"],extensions:["js","mjs","cjs"],load(){return w(()=>Promise.resolve().then(()=>Zs),void 0).then(i=>i.javascript())}}),S.of({name:"JSON",alias:["json5"],extensions:["json","map"],load(){return w(()=>import("./index-c7c62f8b.js"),["assets/index-c7c62f8b.js","assets/VTextField-a6744798.js","assets/VRow-a513640b.js","assets/index-5de8a41c.js","assets/index-2f9def03.css","assets/VRow-b18b73b0.css","assets/VTextField-fd58b571.css","assets/ssrBoot-48bd8e84.js"]).then(i=>i.json())}}),S.of({name:"JSX",extensions:["jsx"],load(){return w(()=>Promise.resolve().then(()=>Zs),void 0).then(i=>i.javascript({jsx:!0}))}}),S.of({name:"LESS",extensions:["less"],load(){return w(()=>import("./index-2d3fd095.js"),["assets/index-2d3fd095.js","assets/VTextField-a6744798.js","assets/VRow-a513640b.js","assets/index-5de8a41c.js","assets/index-2f9def03.css","assets/VRow-b18b73b0.css","assets/VTextField-fd58b571.css","assets/ssrBoot-48bd8e84.js"]).then(i=>i.less())}}),S.of({name:"MariaDB SQL",load(){return Ut("MariaSQL")}}),S.of({name:"Markdown",extensions:["md","markdown","mkd"],load(){return w(()=>Promise.resolve().then(()=>Ck),void 0).then(i=>i.markdown())}}),S.of({name:"MS SQL",load(){return Ut("MSSQL")}}),S.of({name:"MySQL",load(){return Ut("MySQL")}}),S.of({name:"PHP",extensions:["php","php3","php4","php5","php7","phtml"],load(){return w(()=>import("./index-3a0decb4.js"),["assets/index-3a0decb4.js","assets/VTextField-a6744798.js","assets/VRow-a513640b.js","assets/index-5de8a41c.js","assets/index-2f9def03.css","assets/VRow-b18b73b0.css","assets/VTextField-fd58b571.css","assets/ssrBoot-48bd8e84.js"]).then(i=>i.php())}}),S.of({name:"PLSQL",extensions:["pls"],load(){return Ut("PLSQL")}}),S.of({name:"PostgreSQL",load(){return Ut("PostgreSQL")}}),S.of({name:"Python",extensions:["BUILD","bzl","py","pyw"],filename:/^(BUCK|BUILD)$/,load(){return w(()=>import("./index-27f690b7.js"),["assets/index-27f690b7.js","assets/VTextField-a6744798.js","assets/VRow-a513640b.js","assets/index-5de8a41c.js","assets/index-2f9def03.css","assets/VRow-b18b73b0.css","assets/VTextField-fd58b571.css","assets/ssrBoot-48bd8e84.js"]).then(i=>i.python())}}),S.of({name:"Rust",extensions:["rs"],load(){return w(()=>import("./index-a341065b.js"),["assets/index-a341065b.js","assets/VTextField-a6744798.js","assets/VRow-a513640b.js","assets/index-5de8a41c.js","assets/index-2f9def03.css","assets/VRow-b18b73b0.css","assets/VTextField-fd58b571.css","assets/ssrBoot-48bd8e84.js"]).then(i=>i.rust())}}),S.of({name:"Sass",extensions:["sass"],load(){return w(()=>import("./index-ef1227ea.js"),["assets/index-ef1227ea.js","assets/VTextField-a6744798.js","assets/VRow-a513640b.js","assets/index-5de8a41c.js","assets/index-2f9def03.css","assets/VRow-b18b73b0.css","assets/VTextField-fd58b571.css","assets/ssrBoot-48bd8e84.js"]).then(i=>i.sass({indented:!0}))}}),S.of({name:"SCSS",extensions:["scss"],load(){return w(()=>import("./index-ef1227ea.js"),["assets/index-ef1227ea.js","assets/VTextField-a6744798.js","assets/VRow-a513640b.js","assets/index-5de8a41c.js","assets/index-2f9def03.css","assets/VRow-b18b73b0.css","assets/VTextField-fd58b571.css","assets/ssrBoot-48bd8e84.js"]).then(i=>i.sass())}}),S.of({name:"SQL",extensions:["sql"],load(){return Ut("StandardSQL")}}),S.of({name:"SQLite",load(){return Ut("SQLite")}}),S.of({name:"TSX",extensions:["tsx"],load(){return w(()=>Promise.resolve().then(()=>Zs),void 0).then(i=>i.javascript({jsx:!0,typescript:!0}))}}),S.of({name:"TypeScript",alias:["ts"],extensions:["ts"],load(){return w(()=>Promise.resolve().then(()=>Zs),void 0).then(i=>i.javascript({typescript:!0}))}}),S.of({name:"WebAssembly",extensions:["wat","wast"],load(){return w(()=>import("./index-8260ec8d.js"),["assets/index-8260ec8d.js","assets/VTextField-a6744798.js","assets/VRow-a513640b.js","assets/index-5de8a41c.js","assets/index-2f9def03.css","assets/VRow-b18b73b0.css","assets/VTextField-fd58b571.css","assets/ssrBoot-48bd8e84.js"]).then(i=>i.wast())}}),S.of({name:"XML",alias:["rss","wsdl","xsd"],extensions:["xml","xsl","xsd","svg"],load(){return w(()=>import("./index-87f73163.js"),["assets/index-87f73163.js","assets/VTextField-a6744798.js","assets/VRow-a513640b.js","assets/index-5de8a41c.js","assets/index-2f9def03.css","assets/VRow-b18b73b0.css","assets/VTextField-fd58b571.css","assets/ssrBoot-48bd8e84.js"]).then(i=>i.xml())}}),S.of({name:"APL",extensions:["dyalog","apl"],load(){return w(()=>import("./apl-f73da2d7.js"),[]).then(i=>x(i.apl))}}),S.of({name:"PGP",alias:["asciiarmor"],extensions:["asc","pgp","sig"],load(){return w(()=>import("./asciiarmor-e7973ceb.js"),[]).then(i=>x(i.asciiArmor))}}),S.of({name:"ASN.1",extensions:["asn","asn1"],load(){return w(()=>import("./asn1-f9c290f0.js"),[]).then(i=>x(i.asn1({})))}}),S.of({name:"Asterisk",filename:/^extensions\.conf$/i,load(){return w(()=>import("./asterisk-9c249b4c.js"),[]).then(i=>x(i.asterisk))}}),S.of({name:"Brainfuck",extensions:["b","bf"],load(){return w(()=>import("./brainfuck-637b9bf0.js"),[]).then(i=>x(i.brainfuck))}}),S.of({name:"Cobol",extensions:["cob","cpy"],load(){return w(()=>import("./cobol-3c0e8dcf.js"),[]).then(i=>x(i.cobol))}}),S.of({name:"C#",alias:["csharp","cs"],extensions:["cs"],load(){return w(()=>import("./clike-c6a401fb.js"),[]).then(i=>x(i.csharp))}}),S.of({name:"Clojure",extensions:["clj","cljc","cljx"],load(){return w(()=>import("./clojure-46c215dd.js"),[]).then(i=>x(i.clojure))}}),S.of({name:"ClojureScript",extensions:["cljs"],load(){return w(()=>import("./clojure-46c215dd.js"),[]).then(i=>x(i.clojure))}}),S.of({name:"Closure Stylesheets (GSS)",extensions:["gss"],load(){return w(()=>import("./css-ae0ae1d0.js"),[]).then(i=>x(i.gss))}}),S.of({name:"CMake",extensions:["cmake","cmake.in"],filename:/^CMakeLists\.txt$/,load(){return w(()=>import("./cmake-f314e514.js"),[]).then(i=>x(i.cmake))}}),S.of({name:"CoffeeScript",alias:["coffee","coffee-script"],extensions:["coffee"],load(){return w(()=>import("./coffeescript-cf6fb77c.js"),[]).then(i=>x(i.coffeeScript))}}),S.of({name:"Common Lisp",alias:["lisp"],extensions:["cl","lisp","el"],load(){return w(()=>import("./commonlisp-0ea12945.js"),[]).then(i=>x(i.commonLisp))}}),S.of({name:"Cypher",extensions:["cyp","cypher"],load(){return w(()=>import("./cypher-236a65ad.js"),[]).then(i=>x(i.cypher))}}),S.of({name:"Cython",extensions:["pyx","pxd","pxi"],load(){return w(()=>import("./python-fa45e8d1.js"),[]).then(i=>x(i.cython))}}),S.of({name:"Crystal",extensions:["cr"],load(){return w(()=>import("./crystal-594a913c.js"),[]).then(i=>x(i.crystal))}}),S.of({name:"D",extensions:["d"],load(){return w(()=>import("./d-76ab4361.js"),[]).then(i=>x(i.d))}}),S.of({name:"Dart",extensions:["dart"],load(){return w(()=>import("./clike-c6a401fb.js"),[]).then(i=>x(i.dart))}}),S.of({name:"diff",extensions:["diff","patch"],load(){return w(()=>import("./diff-1bf42f34.js"),[]).then(i=>x(i.diff))}}),S.of({name:"Dockerfile",filename:/^Dockerfile$/,load(){return w(()=>import("./dockerfile-c8a8b9da.js"),["assets/dockerfile-c8a8b9da.js","assets/simple-mode-851e42ff.js"]).then(i=>x(i.dockerFile))}}),S.of({name:"DTD",extensions:["dtd"],load(){return w(()=>import("./dtd-8d673f3f.js"),[]).then(i=>x(i.dtd))}}),S.of({name:"Dylan",extensions:["dylan","dyl","intr"],load(){return w(()=>import("./dylan-94e68d48.js"),[]).then(i=>x(i.dylan))}}),S.of({name:"EBNF",load(){return w(()=>import("./ebnf-9a58f677.js"),[]).then(i=>x(i.ebnf))}}),S.of({name:"ECL",extensions:["ecl"],load(){return w(()=>import("./ecl-8c848bde.js"),[]).then(i=>x(i.ecl))}}),S.of({name:"edn",extensions:["edn"],load(){return w(()=>import("./clojure-46c215dd.js"),[]).then(i=>x(i.clojure))}}),S.of({name:"Eiffel",extensions:["e"],load(){return w(()=>import("./eiffel-c812667a.js"),[]).then(i=>x(i.eiffel))}}),S.of({name:"Elm",extensions:["elm"],load(){return w(()=>import("./elm-389625db.js"),[]).then(i=>x(i.elm))}}),S.of({name:"Erlang",extensions:["erl"],load(){return w(()=>import("./erlang-72724d5c.js"),[]).then(i=>x(i.erlang))}}),S.of({name:"Esper",load(){return w(()=>import("./sql-62feda9f.js"),[]).then(i=>x(i.esper))}}),S.of({name:"Factor",extensions:["factor"],load(){return w(()=>import("./factor-7bfcb4fc.js"),["assets/factor-7bfcb4fc.js","assets/simple-mode-851e42ff.js"]).then(i=>x(i.factor))}}),S.of({name:"FCL",load(){return w(()=>import("./fcl-d5e95185.js"),[]).then(i=>x(i.fcl))}}),S.of({name:"Forth",extensions:["forth","fth","4th"],load(){return w(()=>import("./forth-a6c07be1.js"),[]).then(i=>x(i.forth))}}),S.of({name:"Fortran",extensions:["f","for","f77","f90","f95"],load(){return w(()=>import("./fortran-b746f455.js"),[]).then(i=>x(i.fortran))}}),S.of({name:"F#",alias:["fsharp"],extensions:["fs"],load(){return w(()=>import("./mllike-1f866598.js"),[]).then(i=>x(i.fSharp))}}),S.of({name:"Gas",extensions:["s"],load(){return w(()=>import("./gas-a519128b.js"),[]).then(i=>x(i.gas))}}),S.of({name:"Gherkin",extensions:["feature"],load(){return w(()=>import("./gherkin-0efe02ac.js"),[]).then(i=>x(i.gherkin))}}),S.of({name:"Go",extensions:["go"],load(){return w(()=>import("./go-8a088acb.js"),[]).then(i=>x(i.go))}}),S.of({name:"Groovy",extensions:["groovy","gradle"],filename:/^Jenkinsfile$/,load(){return w(()=>import("./groovy-4592a472.js"),[]).then(i=>x(i.groovy))}}),S.of({name:"Haskell",extensions:["hs"],load(){return w(()=>import("./haskell-b620645c.js"),[]).then(i=>x(i.haskell))}}),S.of({name:"Haxe",extensions:["hx"],load(){return w(()=>import("./haxe-7215664e.js"),[]).then(i=>x(i.haxe))}}),S.of({name:"HXML",extensions:["hxml"],load(){return w(()=>import("./haxe-7215664e.js"),[]).then(i=>x(i.hxml))}}),S.of({name:"HTTP",load(){return w(()=>import("./http-e091c18d.js"),[]).then(i=>x(i.http))}}),S.of({name:"IDL",extensions:["pro"],load(){return w(()=>import("./idl-91cb7788.js"),[]).then(i=>x(i.idl))}}),S.of({name:"JSON-LD",alias:["jsonld"],extensions:["jsonld"],load(){return w(()=>import("./javascript-da64953c.js"),[]).then(i=>x(i.jsonld))}}),S.of({name:"Jinja2",extensions:["j2","jinja","jinja2"],load(){return w(()=>import("./jinja2-580c43a7.js"),[]).then(i=>x(i.jinja2))}}),S.of({name:"Julia",extensions:["jl"],load(){return w(()=>import("./julia-2f39a740.js"),[]).then(i=>x(i.julia))}}),S.of({name:"Kotlin",extensions:["kt"],load(){return w(()=>import("./clike-c6a401fb.js"),[]).then(i=>x(i.kotlin))}}),S.of({name:"LiveScript",alias:["ls"],extensions:["ls"],load(){return w(()=>import("./livescript-a3318e59.js"),[]).then(i=>x(i.liveScript))}}),S.of({name:"Lua",extensions:["lua"],load(){return w(()=>import("./lua-ee237842.js"),[]).then(i=>x(i.lua))}}),S.of({name:"mIRC",extensions:["mrc"],load(){return w(()=>import("./mirc-c043bc0a.js"),[]).then(i=>x(i.mirc))}}),S.of({name:"Mathematica",extensions:["m","nb","wl","wls"],load(){return w(()=>import("./mathematica-4db1ec63.js"),[]).then(i=>x(i.mathematica))}}),S.of({name:"Modelica",extensions:["mo"],load(){return w(()=>import("./modelica-c19c47b8.js"),[]).then(i=>x(i.modelica))}}),S.of({name:"MUMPS",extensions:["mps"],load(){return w(()=>import("./mumps-82310ef4.js"),[]).then(i=>x(i.mumps))}}),S.of({name:"Mbox",extensions:["mbox"],load(){return w(()=>import("./mbox-b40e52ca.js"),[]).then(i=>x(i.mbox))}}),S.of({name:"Nginx",filename:/nginx.*\.conf$/i,load(){return w(()=>import("./nginx-0992a7c8.js"),[]).then(i=>x(i.nginx))}}),S.of({name:"NSIS",extensions:["nsh","nsi"],load(){return w(()=>import("./nsis-419655c7.js"),["assets/nsis-419655c7.js","assets/simple-mode-851e42ff.js"]).then(i=>x(i.nsis))}}),S.of({name:"NTriples",extensions:["nt","nq"],load(){return w(()=>import("./ntriples-8490b09b.js"),[]).then(i=>x(i.ntriples))}}),S.of({name:"Objective-C",alias:["objective-c","objc"],extensions:["m"],load(){return w(()=>import("./clike-c6a401fb.js"),[]).then(i=>x(i.objectiveC))}}),S.of({name:"Objective-C++",alias:["objective-c++","objc++"],extensions:["mm"],load(){return w(()=>import("./clike-c6a401fb.js"),[]).then(i=>x(i.objectiveCpp))}}),S.of({name:"OCaml",extensions:["ml","mli","mll","mly"],load(){return w(()=>import("./mllike-1f866598.js"),[]).then(i=>x(i.oCaml))}}),S.of({name:"Octave",extensions:["m"],load(){return w(()=>import("./octave-3f516c2f.js"),[]).then(i=>x(i.octave))}}),S.of({name:"Oz",extensions:["oz"],load(){return w(()=>import("./oz-a640e05c.js"),[]).then(i=>x(i.oz))}}),S.of({name:"Pascal",extensions:["p","pas"],load(){return w(()=>import("./pascal-bcac1c04.js"),[]).then(i=>x(i.pascal))}}),S.of({name:"Perl",extensions:["pl","pm"],load(){return w(()=>import("./perl-a9455719.js"),[]).then(i=>x(i.perl))}}),S.of({name:"Pig",extensions:["pig"],load(){return w(()=>import("./pig-3510ca5f.js"),[]).then(i=>x(i.pig))}}),S.of({name:"PowerShell",extensions:["ps1","psd1","psm1"],load(){return w(()=>import("./powershell-c2c54630.js"),[]).then(i=>x(i.powerShell))}}),S.of({name:"Properties files",alias:["ini","properties"],extensions:["properties","ini","in"],load(){return w(()=>import("./properties-aba123c1.js"),[]).then(i=>x(i.properties))}}),S.of({name:"ProtoBuf",extensions:["proto"],load(){return w(()=>import("./protobuf-1713bf80.js"),[]).then(i=>x(i.protobuf))}}),S.of({name:"Puppet",extensions:["pp"],load(){return w(()=>import("./puppet-3229bfe4.js"),[]).then(i=>x(i.puppet))}}),S.of({name:"Q",extensions:["q"],load(){return w(()=>import("./q-887a0cfa.js"),[]).then(i=>x(i.q))}}),S.of({name:"R",alias:["rscript"],extensions:["r","R"],load(){return w(()=>import("./r-3ca97919.js"),[]).then(i=>x(i.r))}}),S.of({name:"RPM Changes",load(){return w(()=>import("./rpm-aa81b362.js"),[]).then(i=>x(i.rpmChanges))}}),S.of({name:"RPM Spec",extensions:["spec"],load(){return w(()=>import("./rpm-aa81b362.js"),[]).then(i=>x(i.rpmSpec))}}),S.of({name:"Ruby",alias:["jruby","macruby","rake","rb","rbx"],extensions:["rb"],filename:/^(Gemfile|Rakefile)$/,load(){return w(()=>import("./ruby-e88f1f8d.js"),[]).then(i=>x(i.ruby))}}),S.of({name:"SAS",extensions:["sas"],load(){return w(()=>import("./sas-4096b960.js"),[]).then(i=>x(i.sas))}}),S.of({name:"Scala",extensions:["scala"],load(){return w(()=>import("./clike-c6a401fb.js"),[]).then(i=>x(i.scala))}}),S.of({name:"Scheme",extensions:["scm","ss"],load(){return w(()=>import("./scheme-ca3e6863.js"),[]).then(i=>x(i.scheme))}}),S.of({name:"Shell",alias:["bash","sh","zsh"],extensions:["sh","ksh","bash"],filename:/^PKGBUILD$/,load(){return w(()=>import("./shell-61e14131.js"),[]).then(i=>x(i.shell))}}),S.of({name:"Sieve",extensions:["siv","sieve"],load(){return w(()=>import("./sieve-4b1eb6fb.js"),[]).then(i=>x(i.sieve))}}),S.of({name:"Smalltalk",extensions:["st"],load(){return w(()=>import("./smalltalk-b41561ee.js"),[]).then(i=>x(i.smalltalk))}}),S.of({name:"Solr",load(){return w(()=>import("./solr-7928d730.js"),[]).then(i=>x(i.solr))}}),S.of({name:"SML",extensions:["sml","sig","fun","smackspec"],load(){return w(()=>import("./mllike-1f866598.js"),[]).then(i=>x(i.sml))}}),S.of({name:"SPARQL",alias:["sparul"],extensions:["rq","sparql"],load(){return w(()=>import("./sparql-a1ae2f33.js"),[]).then(i=>x(i.sparql))}}),S.of({name:"Spreadsheet",alias:["excel","formula"],load(){return w(()=>import("./spreadsheet-9f4dc4c6.js"),[]).then(i=>x(i.spreadsheet))}}),S.of({name:"Squirrel",extensions:["nut"],load(){return w(()=>import("./clike-c6a401fb.js"),[]).then(i=>x(i.squirrel))}}),S.of({name:"Stylus",extensions:["styl"],load(){return w(()=>import("./stylus-2d29a832.js"),[]).then(i=>x(i.stylus))}}),S.of({name:"Swift",extensions:["swift"],load(){return w(()=>import("./swift-b6dd686e.js"),[]).then(i=>x(i.swift))}}),S.of({name:"sTeX",load(){return w(()=>import("./stex-611747c4.js"),[]).then(i=>x(i.stex))}}),S.of({name:"LaTeX",alias:["tex"],extensions:["text","ltx","tex"],load(){return w(()=>import("./stex-611747c4.js"),[]).then(i=>x(i.stex))}}),S.of({name:"SystemVerilog",extensions:["v","sv","svh"],load(){return w(()=>import("./verilog-701759f4.js"),[]).then(i=>x(i.verilog))}}),S.of({name:"Tcl",extensions:["tcl"],load(){return w(()=>import("./tcl-9a9d281f.js"),[]).then(i=>x(i.tcl))}}),S.of({name:"Textile",extensions:["textile"],load(){return w(()=>import("./textile-27197230.js"),[]).then(i=>x(i.textile))}}),S.of({name:"TiddlyWiki",load(){return w(()=>import("./tiddlywiki-053c4b39.js"),[]).then(i=>x(i.tiddlyWiki))}}),S.of({name:"Tiki wiki",load(){return w(()=>import("./tiki-f8970e14.js"),[]).then(i=>x(i.tiki))}}),S.of({name:"TOML",extensions:["toml"],load(){return w(()=>import("./toml-fed73c05.js"),[]).then(i=>x(i.toml))}}),S.of({name:"Troff",extensions:["1","2","3","4","5","6","7","8","9"],load(){return w(()=>import("./troff-1c50c70f.js"),[]).then(i=>x(i.troff))}}),S.of({name:"TTCN",extensions:["ttcn","ttcn3","ttcnpp"],load(){return w(()=>import("./ttcn-a4846d83.js"),[]).then(i=>x(i.ttcn))}}),S.of({name:"TTCN_CFG",extensions:["cfg"],load(){return w(()=>import("./ttcn-cfg-0c96bcc1.js"),[]).then(i=>x(i.ttcnCfg))}}),S.of({name:"Turtle",extensions:["ttl"],load(){return w(()=>import("./turtle-b550492d.js"),[]).then(i=>x(i.turtle))}}),S.of({name:"Web IDL",extensions:["webidl"],load(){return w(()=>import("./webidl-beade871.js"),[]).then(i=>x(i.webIDL))}}),S.of({name:"VB.NET",extensions:["vb"],load(){return w(()=>import("./vb-e9655ff4.js"),[]).then(i=>x(i.vb))}}),S.of({name:"VBScript",extensions:["vbs"],load(){return w(()=>import("./vbscript-e62417ba.js"),[]).then(i=>x(i.vbScript))}}),S.of({name:"Velocity",extensions:["vtl"],load(){return w(()=>import("./velocity-5bdd1b6a.js"),[]).then(i=>x(i.velocity))}}),S.of({name:"Verilog",extensions:["v"],load(){return w(()=>import("./verilog-701759f4.js"),[]).then(i=>x(i.verilog))}}),S.of({name:"VHDL",extensions:["vhd","vhdl"],load(){return w(()=>import("./vhdl-288f0dde.js"),[]).then(i=>x(i.vhdl))}}),S.of({name:"XQuery",extensions:["xy","xquery"],load(){return w(()=>import("./xquery-f004ff15.js"),[]).then(i=>x(i.xQuery))}}),S.of({name:"Yacas",extensions:["ys"],load(){return w(()=>import("./yacas-d031e2ab.js"),[]).then(i=>x(i.yacas))}}),S.of({name:"YAML",alias:["yml"],extensions:["yaml","yml"],load(){return w(()=>import("./yaml-95012b83.js"),[]).then(i=>x(i.yaml))}}),S.of({name:"Z80",extensions:["z80"],load(){return w(()=>import("./z80-bb7f2654.js"),[]).then(i=>x(i.z80))}}),S.of({name:"MscGen",extensions:["mscgen","mscin","msc"],load(){return w(()=>import("./mscgen-96577242.js"),[]).then(i=>x(i.mscgen))}}),S.of({name:"Xù",extensions:["xu"],load(){return w(()=>import("./mscgen-96577242.js"),[]).then(i=>x(i.xu))}}),S.of({name:"MsGenny",extensions:["msgenny"],load(){return w(()=>import("./mscgen-96577242.js"),[]).then(i=>x(i.msgenny))}}),S.of({name:"Vue",extensions:["vue"],load(){return w(()=>import("./index-f27e5478.js"),["assets/index-f27e5478.js","assets/VTextField-a6744798.js","assets/VRow-a513640b.js","assets/index-5de8a41c.js","assets/index-2f9def03.css","assets/VRow-b18b73b0.css","assets/VTextField-fd58b571.css","assets/ssrBoot-48bd8e84.js"]).then(i=>i.vue())}}),S.of({name:"Angular Template",load(){return w(()=>import("./index-5b04aeef.js"),["assets/index-5b04aeef.js","assets/VTextField-a6744798.js","assets/VRow-a513640b.js","assets/index-5de8a41c.js","assets/index-2f9def03.css","assets/VRow-b18b73b0.css","assets/VTextField-fd58b571.css","assets/ssrBoot-48bd8e84.js"]).then(i=>i.angular())}})];class rr{static create(e,t,n,s,r){let o=s+(s<<8)+e+(t<<4)|0;return new rr(e,t,n,o,r,[],[])}constructor(e,t,n,s,r,o,l){this.type=e,this.value=t,this.from=n,this.hash=s,this.end=r,this.children=o,this.positions=l,this.hashProp=[[me.contextHash,s]]}addChild(e,t){e.prop(me.contextHash)!=this.hash&&(e=new ce(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(t)}toTree(e,t=this.end){let n=this.children.length-1;return n>=0&&(t=Math.max(t,this.positions[n]+this.children[n].length+this.from)),new ce(e.types[this.type],this.children,this.positions,t-this.from).balance({makeTree:(s,r,o)=>new ce(zt.none,s,r,o,this.hashProp)})}}var Z;(function(i){i[i.Document=1]="Document",i[i.CodeBlock=2]="CodeBlock",i[i.FencedCode=3]="FencedCode",i[i.Blockquote=4]="Blockquote",i[i.HorizontalRule=5]="HorizontalRule",i[i.BulletList=6]="BulletList",i[i.OrderedList=7]="OrderedList",i[i.ListItem=8]="ListItem",i[i.ATXHeading1=9]="ATXHeading1",i[i.ATXHeading2=10]="ATXHeading2",i[i.ATXHeading3=11]="ATXHeading3",i[i.ATXHeading4=12]="ATXHeading4",i[i.ATXHeading5=13]="ATXHeading5",i[i.ATXHeading6=14]="ATXHeading6",i[i.SetextHeading1=15]="SetextHeading1",i[i.SetextHeading2=16]="SetextHeading2",i[i.HTMLBlock=17]="HTMLBlock",i[i.LinkReference=18]="LinkReference",i[i.Paragraph=19]="Paragraph",i[i.CommentBlock=20]="CommentBlock",i[i.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",i[i.Escape=22]="Escape",i[i.Entity=23]="Entity",i[i.HardBreak=24]="HardBreak",i[i.Emphasis=25]="Emphasis",i[i.StrongEmphasis=26]="StrongEmphasis",i[i.Link=27]="Link",i[i.Image=28]="Image",i[i.InlineCode=29]="InlineCode",i[i.HTMLTag=30]="HTMLTag",i[i.Comment=31]="Comment",i[i.ProcessingInstruction=32]="ProcessingInstruction",i[i.Autolink=33]="Autolink",i[i.HeaderMark=34]="HeaderMark",i[i.QuoteMark=35]="QuoteMark",i[i.ListMark=36]="ListMark",i[i.LinkMark=37]="LinkMark",i[i.EmphasisMark=38]="EmphasisMark",i[i.CodeMark=39]="CodeMark",i[i.CodeText=40]="CodeText",i[i.CodeInfo=41]="CodeInfo",i[i.LinkTitle=42]="LinkTitle",i[i.LinkLabel=43]="LinkLabel",i[i.URL=44]="URL"})(Z||(Z={}));class jy{constructor(e,t){this.start=e,this.content=t,this.marks=[],this.parsers=[]}}class By{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return In(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,t=0,n=0){for(let s=t;s=e.stack[t.depth+1].value+t.baseIndent)return!0;if(t.indent>=t.baseIndent+4)return!1;let n=(i.type==Z.OrderedList?Jl:Kl)(t,e,!1);return n>0&&(i.type!=Z.BulletList||Hl(t,e,!1)<0)&&t.text.charCodeAt(t.pos+n-1)==i.value}const ap={[Z.Blockquote](i,e,t){return t.next!=62?!1:(t.markers.push(j(Z.QuoteMark,e.lineStart+t.pos,e.lineStart+t.pos+1)),t.moveBase(t.pos+(ft(t.text.charCodeAt(t.pos+1))?2:1)),i.end=e.lineStart+t.text.length,!0)},[Z.ListItem](i,e,t){return t.indent-1?!1:(t.moveBaseColumn(t.baseIndent+i.value),!0)},[Z.OrderedList]:vc,[Z.BulletList]:vc,[Z.Document](){return!0}};function ft(i){return i==32||i==9||i==10||i==13}function In(i,e=0){for(;et&&ft(i.charCodeAt(e-1));)e--;return e}function hp(i){if(i.next!=96&&i.next!=126)return-1;let e=i.pos+1;for(;e-1&&i.depth==e.stack.length||n<3?-1:1}function up(i,e){for(let t=i.stack.length-1;t>=0;t--)if(i.stack[t].type==e)return!0;return!1}function Kl(i,e,t){return(i.next==45||i.next==43||i.next==42)&&(i.pos==i.text.length-1||ft(i.text.charCodeAt(i.pos+1)))&&(!t||up(e,Z.BulletList)||i.skipSpace(i.pos+2)=48&&s<=57;){n++;if(n==i.text.length)return-1;s=i.text.charCodeAt(n)}return n==i.pos||n>i.pos+9||s!=46&&s!=41||ni.pos+1||i.next!=49)?-1:n+1-i.pos}function dp(i){if(i.next!=35)return-1;let e=i.pos+1;for(;e6?-1:t}function fp(i){if(i.next!=45&&i.next!=61||i.indent>=i.baseIndent+4)return-1;let e=i.pos+1;for(;e/,Op=/\?>/,rl=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*/,Op=/\?>/,rl=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*"),le=W(H,"?>"),oe=W(L,"]]>"),se=q({Text:$.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":$.angleBracket,TagName:$.tagName,"MismatchedCloseTag/Tagname":[$.tagName,$.invalid],AttributeName:$.attributeName,AttributeValue:$.attributeValue,Is:$.definitionOperator,"EntityReference CharacterReference":$.character,Comment:$.blockComment,ProcessingInst:$.processingInstruction,DoctypeDecl:$.document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AwV{WOr%ysv%yw#c%y#c#dB^#d;'S%y;'S;=`&_<%lO%yXBcV{WOr%ysv%yw#V%y#V#WBx#W;'S%y;'S;=`&_<%lO%yXB}V{WOr%ysv%yw#h%y#h#iCd#i;'S%y;'S;=`&_<%lO%yXCiV{WOr%ysv%yw#m%y#m#nDO#n;'S%y;'S;=`&_<%lO%yXDTV{WOr%ysv%yw#d%y#d#eDj#e;'S%y;'S;=`&_<%lO%yXDoV{WOr%ysv%yw#X%y#X#Y9i#Y;'S%y;'S;=`&_<%lO%yXE]T!PP{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yZEuWaQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n_FhW[UVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZGXYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aGw!a;'S$n;'S;=`&e<%lO$nZHQW!OQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZHqYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_#P$n#P#QIa#Q;'S$n;'S;=`&e<%lO$nZIhYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aJW!a;'S$n;'S;=`&e<%lO$nZJaWwQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n",tokenizers:[ae,re,le,oe,0,1,2,3],topRules:{Document:[0,6]},tokenPrec:0});function T(e,t){let n=t&&t.getChild("TagName");return n?e.sliceString(n.from,n.to):""}function _(e,t){let n=t&&t.firstChild;return!n||n.name!="OpenTag"?"":T(e,n)}function ye(e,t,n){let O=t&&t.getChildren("Attribute").find(r=>r.from<=n&&r.to>=n),a=O&&O.getChild("AttributeName");return a?e.sliceString(a.from,a.to):""}function h(e){for(let t=e&&e.parent;t;t=t.parent)if(t.name=="Element")return t;return null}function $e(e,t){var n;let O=z(e).resolveInner(t,-1),a=null;for(let r=O;!a&&r.parent;r=r.parent)(r.name=="OpenTag"||r.name=="CloseTag"||r.name=="SelfClosingTag"||r.name=="MismatchedCloseTag")&&(a=r);if(a&&(a.to>t||a.lastChild.type.isError)){let r=a.parent;if(O.name=="TagName")return a.name=="CloseTag"||a.name=="MismatchedCloseTag"?{type:"closeTag",from:O.from,context:r}:{type:"openTag",from:O.from,context:h(r)};if(O.name=="AttributeName")return{type:"attrName",from:O.from,context:a};if(O.name=="AttributeValue")return{type:"attrValue",from:O.from,context:a};let i=O==a||O.name=="Attribute"?O.childBefore(t):O;return(i==null?void 0:i.name)=="StartTag"?{type:"openTag",from:t,context:h(r)}:(i==null?void 0:i.name)=="StartCloseTag"&&i.to<=t?{type:"closeTag",from:t,context:r}:(i==null?void 0:i.name)=="Is"?{type:"attrValue",from:t,context:a}:i?{type:"attrName",from:t,context:a}:null}else if(O.name=="StartCloseTag")return{type:"closeTag",from:t,context:O.parent};for(;O.parent&&O.to==t&&!(!((n=O.lastChild)===null||n===void 0)&&n.type.isError);)O=O.parent;return O.name=="Element"||O.name=="Text"||O.name=="Document"?{type:"tag",from:t,context:O.name=="Element"?O:h(O)}:null}class me{constructor(t,n,O){this.attrs=n,this.attrValues=O,this.children=[],this.name=t.name,this.completion=Object.assign(Object.assign({type:"type"},t.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=t.textContent?t.textContent.map(a=>({label:a,type:"text"})):[]}}const C=/^[:\-\.\w\u00b7-\uffff]*$/;function E(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function G(e){return typeof e=="string"?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function ge(e,t){let n=[],O=[],a=Object.create(null);for(let l of t){let m=E(l);n.push(m),l.global&&O.push(m),l.values&&(a[l.name]=l.values.map(G))}let r=[],i=[],u=Object.create(null);for(let l of e){let m=O,o=a;l.attributes&&(m=m.concat(l.attributes.map(g=>typeof g=="string"?n.find(f=>f.label==g)||{label:g,type:"property"}:(g.values&&(o==a&&(o=Object.create(o)),o[g.name]=g.values.map(G)),E(g)))));let S=new me(l,m,o);u[S.name]=S,r.push(S),l.top&&i.push(S)}i.length||(i=r);for(let l=0;l{var m;let{doc:o}=l.state,S=$e(l.state,l.pos);if(!S||S.type=="tag"&&!l.explicit)return null;let{type:g,from:f,context:p}=S;if(g=="openTag"){let s=i,y=_(o,p);if(y){let c=u[y];s=(c==null?void 0:c.children)||r}return{from:f,options:s.map(c=>c.completion),validFor:C}}else if(g=="closeTag"){let s=_(o,p);return s?{from:f,to:l.pos+(o.sliceString(l.pos,l.pos+1)==">"?1:0),options:[((m=u[s])===null||m===void 0?void 0:m.closeNameCompletion)||{label:s+">",type:"type"}],validFor:C}:null}else if(g=="attrName"){let s=u[T(o,p)];return{from:f,options:(s==null?void 0:s.attrs)||O,validFor:C}}else if(g=="attrValue"){let s=ye(o,p,f);if(!s)return null;let y=u[T(o,p)],c=((y==null?void 0:y.attrValues)||a)[s];return!c||!c.length?null:{from:f,to:l.pos+(o.sliceString(l.pos,l.pos+1)=='"'?1:0),options:c,validFor:/^"[^"]*"?$/}}else if(g=="tag"){let s=_(o,p),y=u[s],c=[],P=p&&p.lastChild;s&&(!P||P.name!="CloseTag"||T(o,P)!=s)&&c.push(y?y.closeCompletion:{label:"",type:"type",boost:2});let V=c.concat(((y==null?void 0:y.children)||(p?r:i)).map(d=>d.openCompletion));if(p&&(y!=null&&y.text.length)){let d=p.firstChild;d.to>l.pos-20&&!/\S/.test(l.state.sliceDoc(d.to,l.pos))&&(V=V.concat(y.text))}return{from:f,options:V,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}else return null}}const R=Y.define({name:"xml",parser:ie.configure({props:[A.add({Element(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),I.add({Element(e){let t=e.firstChild,n=e.lastChild;return!t||t.name!="OpenTag"?null:{from:t.to,to:n.name=="CloseTag"?n.from:e.to}}}),j.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/$/}});function de(e={}){return new U(R,R.data.of({autocomplete:ge(e.elements||[],e.attributes||[])}))}export{ge as completeFromSchema,de as xml,R as xmlLanguage}; +import{C as Z,E as k,b as N,L as Y,i as A,f as I,n as j,a as U,s as z}from"./Main-0c1859ef.js";import{s as q,b as $}from"./VTextField-37dfe157.js";import"./index-92c8c5cd.js";import"./VRow-c001e689.js";import"./ssrBoot-5d57507b.js";const v=1,D=2,M=3,B=4,F=5,J=35,H=36,L=37,K=11,ee=13;function te(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}function Oe(e){return e==9||e==10||e==13||e==32}let w=null,X=null,Q=0;function b(e,t){let n=e.pos+t;if(X==e&&Q==n)return w;for(;Oe(e.peek(t));)t++;let O="";for(;;){let a=e.peek(t);if(!te(a))break;O+=String.fromCharCode(a),t++}return X=e,Q=n,w=O||null}function x(e,t){this.name=e,this.parent=t,this.hash=t?t.hash:0;for(let n=0;n{if(e.next==60){if(e.advance(),e.next==47){e.advance();let n=b(e,0);if(!n)return e.acceptToken(F);if(t.context&&n==t.context.name)return e.acceptToken(D);for(let O=t.context;O;O=O.parent)if(O.name==n)return e.acceptToken(M,-2);e.acceptToken(B)}else if(e.next!=33&&e.next!=63)return e.acceptToken(v)}},{contextual:!0});function W(e,t){return new k(n=>{let O=0,a=t.charCodeAt(0);e:for(;!(n.next<0);n.advance(),O++)if(n.next==a){for(let r=1;r"),le=W(H,"?>"),oe=W(L,"]]>"),se=q({Text:$.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":$.angleBracket,TagName:$.tagName,"MismatchedCloseTag/Tagname":[$.tagName,$.invalid],AttributeName:$.attributeName,AttributeValue:$.attributeValue,Is:$.definitionOperator,"EntityReference CharacterReference":$.character,Comment:$.blockComment,ProcessingInst:$.processingInstruction,DoctypeDecl:$.documentMeta,Cdata:$.special($.string)}),ie=N.deserialize({version:14,states:",SOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DS'#DSOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C{'#C{O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C|'#C|O$dOrO,59^OOOP,59^,59^OOOS'#C}'#C}O$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6y-E6yOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6z-E6zOOOP1G.x1G.xOOOS-E6{-E6{OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'jO!bO,59eOOOO-E6w-E6wO'xOpO1G.uO'xOpO1G.uOOOP1G.u1G.uO(QOpO7+$fOOOP7+$f7+$fO(YO!bO<d!d;'S%y;'S;=`&_<%lO%yX>iV{WOr%ysv%yw!}%y!}#O?O#O;'S%y;'S;=`&_<%lO%yX?VT{WxPOr%ysv%yw;'S%y;'S;=`&_<%lO%yX?kV{WOr%ysv%yw#W%y#W#X@Q#X;'S%y;'S;=`&_<%lO%yX@VV{WOr%ysv%yw#T%y#T#U@l#U;'S%y;'S;=`&_<%lO%yX@qV{WOr%ysv%yw#h%y#h#iAW#i;'S%y;'S;=`&_<%lO%yXA]V{WOr%ysv%yw#T%y#T#U>d#U;'S%y;'S;=`&_<%lO%yXAwV{WOr%ysv%yw#c%y#c#dB^#d;'S%y;'S;=`&_<%lO%yXBcV{WOr%ysv%yw#V%y#V#WBx#W;'S%y;'S;=`&_<%lO%yXB}V{WOr%ysv%yw#h%y#h#iCd#i;'S%y;'S;=`&_<%lO%yXCiV{WOr%ysv%yw#m%y#m#nDO#n;'S%y;'S;=`&_<%lO%yXDTV{WOr%ysv%yw#d%y#d#eDj#e;'S%y;'S;=`&_<%lO%yXDoV{WOr%ysv%yw#X%y#X#Y9i#Y;'S%y;'S;=`&_<%lO%yXE]T!PP{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yZEuWaQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n_FhW[UVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZGXYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aGw!a;'S$n;'S;=`&e<%lO$nZHQW!OQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZHqYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_#P$n#P#QIa#Q;'S$n;'S;=`&e<%lO$nZIhYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aJW!a;'S$n;'S;=`&e<%lO$nZJaWwQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n",tokenizers:[ae,re,le,oe,0,1,2,3],topRules:{Document:[0,6]},tokenPrec:0});function T(e,t){let n=t&&t.getChild("TagName");return n?e.sliceString(n.from,n.to):""}function _(e,t){let n=t&&t.firstChild;return!n||n.name!="OpenTag"?"":T(e,n)}function ye(e,t,n){let O=t&&t.getChildren("Attribute").find(r=>r.from<=n&&r.to>=n),a=O&&O.getChild("AttributeName");return a?e.sliceString(a.from,a.to):""}function h(e){for(let t=e&&e.parent;t;t=t.parent)if(t.name=="Element")return t;return null}function $e(e,t){var n;let O=z(e).resolveInner(t,-1),a=null;for(let r=O;!a&&r.parent;r=r.parent)(r.name=="OpenTag"||r.name=="CloseTag"||r.name=="SelfClosingTag"||r.name=="MismatchedCloseTag")&&(a=r);if(a&&(a.to>t||a.lastChild.type.isError)){let r=a.parent;if(O.name=="TagName")return a.name=="CloseTag"||a.name=="MismatchedCloseTag"?{type:"closeTag",from:O.from,context:r}:{type:"openTag",from:O.from,context:h(r)};if(O.name=="AttributeName")return{type:"attrName",from:O.from,context:a};if(O.name=="AttributeValue")return{type:"attrValue",from:O.from,context:a};let i=O==a||O.name=="Attribute"?O.childBefore(t):O;return(i==null?void 0:i.name)=="StartTag"?{type:"openTag",from:t,context:h(r)}:(i==null?void 0:i.name)=="StartCloseTag"&&i.to<=t?{type:"closeTag",from:t,context:r}:(i==null?void 0:i.name)=="Is"?{type:"attrValue",from:t,context:a}:i?{type:"attrName",from:t,context:a}:null}else if(O.name=="StartCloseTag")return{type:"closeTag",from:t,context:O.parent};for(;O.parent&&O.to==t&&!(!((n=O.lastChild)===null||n===void 0)&&n.type.isError);)O=O.parent;return O.name=="Element"||O.name=="Text"||O.name=="Document"?{type:"tag",from:t,context:O.name=="Element"?O:h(O)}:null}class me{constructor(t,n,O){this.attrs=n,this.attrValues=O,this.children=[],this.name=t.name,this.completion=Object.assign(Object.assign({type:"type"},t.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=t.textContent?t.textContent.map(a=>({label:a,type:"text"})):[]}}const C=/^[:\-\.\w\u00b7-\uffff]*$/;function E(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function G(e){return typeof e=="string"?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function ge(e,t){let n=[],O=[],a=Object.create(null);for(let l of t){let m=E(l);n.push(m),l.global&&O.push(m),l.values&&(a[l.name]=l.values.map(G))}let r=[],i=[],u=Object.create(null);for(let l of e){let m=O,o=a;l.attributes&&(m=m.concat(l.attributes.map(g=>typeof g=="string"?n.find(f=>f.label==g)||{label:g,type:"property"}:(g.values&&(o==a&&(o=Object.create(o)),o[g.name]=g.values.map(G)),E(g)))));let S=new me(l,m,o);u[S.name]=S,r.push(S),l.top&&i.push(S)}i.length||(i=r);for(let l=0;l{var m;let{doc:o}=l.state,S=$e(l.state,l.pos);if(!S||S.type=="tag"&&!l.explicit)return null;let{type:g,from:f,context:p}=S;if(g=="openTag"){let s=i,y=_(o,p);if(y){let c=u[y];s=(c==null?void 0:c.children)||r}return{from:f,options:s.map(c=>c.completion),validFor:C}}else if(g=="closeTag"){let s=_(o,p);return s?{from:f,to:l.pos+(o.sliceString(l.pos,l.pos+1)==">"?1:0),options:[((m=u[s])===null||m===void 0?void 0:m.closeNameCompletion)||{label:s+">",type:"type"}],validFor:C}:null}else if(g=="attrName"){let s=u[T(o,p)];return{from:f,options:(s==null?void 0:s.attrs)||O,validFor:C}}else if(g=="attrValue"){let s=ye(o,p,f);if(!s)return null;let y=u[T(o,p)],c=((y==null?void 0:y.attrValues)||a)[s];return!c||!c.length?null:{from:f,to:l.pos+(o.sliceString(l.pos,l.pos+1)=='"'?1:0),options:c,validFor:/^"[^"]*"?$/}}else if(g=="tag"){let s=_(o,p),y=u[s],c=[],P=p&&p.lastChild;s&&(!P||P.name!="CloseTag"||T(o,P)!=s)&&c.push(y?y.closeCompletion:{label:"",type:"type",boost:2});let V=c.concat(((y==null?void 0:y.children)||(p?r:i)).map(d=>d.openCompletion));if(p&&(y!=null&&y.text.length)){let d=p.firstChild;d.to>l.pos-20&&!/\S/.test(l.state.sliceDoc(d.to,l.pos))&&(V=V.concat(y.text))}return{from:f,options:V,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}else return null}}const R=Y.define({name:"xml",parser:ie.configure({props:[A.add({Element(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),I.add({Element(e){let t=e.firstChild,n=e.lastChild;return!t||t.name!="OpenTag"?null:{from:t.to,to:n.name=="CloseTag"?n.from:e.to}}}),j.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/$/}});function de(e={}){return new U(R,R.data.of({autocomplete:ge(e.elements||[],e.attributes||[])}))}export{ge as completeFromSchema,de as xml,R as xmlLanguage}; diff --git a/assets/index-a3481d3a.js b/assets/index-b5125bef.js similarity index 99% rename from assets/index-a3481d3a.js rename to assets/index-b5125bef.js index ce787f0..fb05b16 100644 --- a/assets/index-a3481d3a.js +++ b/assets/index-b5125bef.js @@ -1,2 +1,2 @@ -import{i as J,c as ee,f as te,L as ae,a as re,E as ne,b as ie,d as se,e as oe,s as le}from"./Main-15c2df80.js";import{s as ce,b as i}from"./VTextField-a6744798.js";import"./index-5de8a41c.js";import"./VRow-a513640b.js";import"./ssrBoot-48bd8e84.js";const de=36,B=1,me=2,k=3,C=4,ue=5,fe=6,pe=7,ge=8,he=9,_e=10,be=11,ve=12,ye=13,ke=14,xe=15,Oe=16,we=17,X=18,Qe=19,V=20,$=21,R=22,Se=23,Ce=24;function q(t){return t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57}function Pe(t){return t>=48&&t<=57||t>=97&&t<=102||t>=65&&t<=70}function h(t,e,r){for(let a=!1;;){if(t.next<0)return;if(t.next==e&&!a){t.advance();return}a=r&&!a&&t.next==92,t.advance()}}function qe(t){for(;;){if(t.next<0||t.peek(1)<0)return;if(t.next==36&&t.peek(1)==36){t.advance(2);return}t.advance()}}function Te(t,e){let r="[{<(".indexOf(String.fromCharCode(e)),a=r<0?e:"]}>)".charCodeAt(r);for(;;){if(t.next<0)return;if(t.next==a&&t.peek(1)==39){t.advance(2);return}t.advance()}}function E(t,e){for(;!(t.next!=95&&!q(t.next));)e!=null&&(e+=String.fromCharCode(t.next)),t.advance();return e}function Ue(t){if(t.next==39||t.next==34||t.next==96){let e=t.next;t.advance(),h(t,e,!1)}else E(t)}function D(t,e){for(;t.next==48||t.next==49;)t.advance();e&&t.next==e&&t.advance()}function j(t,e){for(;;){if(t.next==46){if(e)break;e=!0}else if(t.next<48||t.next>57)break;t.advance()}if(t.next==69||t.next==101)for(t.advance(),(t.next==43||t.next==45)&&t.advance();t.next>=48&&t.next<=57;)t.advance()}function I(t){for(;!(t.next<0||t.next==10);)t.advance()}function g(t,e){for(let r=0;r=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57}function Pe(t){return t>=48&&t<=57||t>=97&&t<=102||t>=65&&t<=70}function h(t,e,r){for(let a=!1;;){if(t.next<0)return;if(t.next==e&&!a){t.advance();return}a=r&&!a&&t.next==92,t.advance()}}function qe(t){for(;;){if(t.next<0||t.peek(1)<0)return;if(t.next==36&&t.peek(1)==36){t.advance(2);return}t.advance()}}function Te(t,e){let r="[{<(".indexOf(String.fromCharCode(e)),a=r<0?e:"]}>)".charCodeAt(r);for(;;){if(t.next<0)return;if(t.next==a&&t.peek(1)==39){t.advance(2);return}t.advance()}}function E(t,e){for(;!(t.next!=95&&!q(t.next));)e!=null&&(e+=String.fromCharCode(t.next)),t.advance();return e}function Ue(t){if(t.next==39||t.next==34||t.next==96){let e=t.next;t.advance(),h(t,e,!1)}else E(t)}function D(t,e){for(;t.next==48||t.next==49;)t.advance();e&&t.next==e&&t.advance()}function j(t,e){for(;;){if(t.next==46){if(e)break;e=!0}else if(t.next<48||t.next>57)break;t.advance()}if(t.next==69||t.next==101)for(t.advance(),(t.next==43||t.next==45)&&t.advance();t.next>=48&&t.next<=57;)t.advance()}function I(t){for(;!(t.next<0||t.next==10);)t.advance()}function g(t,e){for(let r=0;r!=&|~^/",specialVar:"?",identifierQuotes:'"',words:N(b,_)};function ze(t,e,r,a){let n={};for(let o in T)n[o]=(t.hasOwnProperty(o)?t:T)[o];return e&&(n.words=N(e,r||"",a)),n}function W(t){return new ne(e=>{var r;let{next:a}=e;if(e.advance(),g(a,P)){for(;g(e.next,P);)e.advance();e.acceptToken(de)}else if(a==36&&e.next==36&&t.doubleDollarQuotedStrings)qe(e),e.acceptToken(k);else if(a==39||a==34&&t.doubleQuotedStrings)h(e,a,t.backslashEscapes),e.acceptToken(k);else if(a==35&&t.hashComments||a==47&&e.next==47&&t.slashComments)I(e),e.acceptToken(B);else if(a==45&&e.next==45&&(!t.spaceAfterDashes||e.peek(1)==32))I(e),e.acceptToken(B);else if(a==47&&e.next==42){e.advance();for(let n=1;;){let o=e.next;if(e.next<0)break;if(e.advance(),o==42&&e.next==47){if(n--,e.advance(),!n)break}else o==47&&e.next==42&&(n++,e.advance())}e.acceptToken(me)}else if((a==101||a==69)&&e.next==39)e.advance(),h(e,39,!0);else if((a==110||a==78)&&e.next==39&&t.charSetCasts)e.advance(),h(e,39,t.backslashEscapes),e.acceptToken(k);else if(a==95&&t.charSetCasts)for(let n=0;;n++){if(e.next==39&&n>1){e.advance(),h(e,39,t.backslashEscapes),e.acceptToken(k);break}if(!q(e.next))break;e.advance()}else if(t.plsqlQuotingMechanism&&(a==113||a==81)&&e.next==39&&e.peek(1)>0&&!g(e.peek(1),P)){let n=e.peek(1);e.advance(2),Te(e,n),e.acceptToken(k)}else if(a==40)e.acceptToken(pe);else if(a==41)e.acceptToken(ge);else if(a==123)e.acceptToken(he);else if(a==125)e.acceptToken(_e);else if(a==91)e.acceptToken(be);else if(a==93)e.acceptToken(ve);else if(a==59)e.acceptToken(ye);else if(t.unquotedBitLiterals&&a==48&&e.next==98)e.advance(),D(e),e.acceptToken(R);else if((a==98||a==66)&&(e.next==39||e.next==34)){const n=e.next;e.advance(),t.treatBitsAsBytes?(h(e,n,t.backslashEscapes),e.acceptToken(Se)):(D(e,n),e.acceptToken(R))}else if(a==48&&(e.next==120||e.next==88)||(a==120||a==88)&&e.next==39){let n=e.next==39;for(e.advance();Pe(e.next);)e.advance();n&&e.next==39&&e.advance(),e.acceptToken(C)}else if(a==46&&e.next>=48&&e.next<=57)j(e,!0),e.acceptToken(C);else if(a==46)e.acceptToken(ke);else if(a>=48&&a<=57)j(e,!1),e.acceptToken(C);else if(g(a,t.operatorChars)){for(;g(e.next,t.operatorChars);)e.advance();e.acceptToken(xe)}else if(g(a,t.specialVar))e.next==a&&e.advance(),Ue(e),e.acceptToken(we);else if(g(a,t.identifierQuotes))h(e,a,!1),e.acceptToken(Qe);else if(a==58||a==44)e.acceptToken(Oe);else if(q(a)){let n=E(e,String.fromCharCode(a));e.acceptToken(e.next==46?X:(r=t.words[n.toLowerCase()])!==null&&r!==void 0?r:X)}})}const A=W(T),Le=ie.deserialize({version:14,states:"%vQ]QQOOO#wQRO'#DSO$OQQO'#CwO%eQQO'#CxO%lQQO'#CyO%sQQO'#CzOOQQ'#DS'#DSOOQQ'#C}'#C}O'UQRO'#C{OOQQ'#Cv'#CvOOQQ'#C|'#C|Q]QQOOQOQQOOO'`QQO'#DOO(xQRO,59cO)PQQO,59cO)UQQO'#DSOOQQ,59d,59dO)cQQO,59dOOQQ,59e,59eO)jQQO,59eOOQQ,59f,59fO)qQQO,59fOOQQ-E6{-E6{OOQQ,59b,59bOOQQ-E6z-E6zOOQQ,59j,59jOOQQ-E6|-E6|O+VQRO1G.}O+^QQO,59cOOQQ1G/O1G/OOOQQ1G/P1G/POOQQ1G/Q1G/QP+kQQO'#C}O+rQQO1G.}O)PQQO,59cO,PQQO'#Cw",stateData:",[~OtOSPOSQOS~ORUOSUOTUOUUOVROXSOZTO]XO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O^]ORvXSvXTvXUvXVvXXvXZvX]vX_vX`vXavXbvXcvXdvXevXfvXgvXhvX~OsvX~P!jOa_Ob_Oc_O~ORUOSUOTUOUUOVROXSOZTO^tO_UO`UOa`Ob`Oc`OdUOeUOfUOgUOhUO~OWaO~P$ZOYcO~P$ZO[eO~P$ZORUOSUOTUOUUOVROXSOZTO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O]hOsoX~P%zOajObjOcjO~O^]ORkaSkaTkaUkaVkaXkaZka]ka_ka`kaakabkackadkaekafkagkahka~Oska~P'kO^]O~OWvXYvX[vX~P!jOWnO~P$ZOYoO~P$ZO[pO~P$ZO^]ORkiSkiTkiUkiVkiXkiZki]ki_ki`kiakibkickidkiekifkigkihki~Oski~P)xOWkaYka[ka~P'kO]hO~P$ZOWkiYki[ki~P)xOasObsOcsO~O",goto:"#hwPPPPPPPPPPPPPPPPPPPPPPPPPPx||||!Y!^!d!xPPP#[TYOZeUORSTWZbdfqT[OZQZORiZSWOZQbRQdSQfTZgWbdfqQ^PWk^lmrQl_Qm`RrseVORSTWZbdfq",nodeNames:"⚠ LineComment BlockComment String Number Bool Null ( ) { } [ ] ; . Operator Punctuation SpecialVar Identifier QuotedIdentifier Keyword Type Bits Bytes Builtin Script Statement CompositeIdentifier Parens Braces Brackets Statement",maxTerm:38,nodeProps:[["isolate",-4,1,2,3,19,""]],skippedNodes:[0,1,2],repeatNodeCount:3,tokenData:"RORO",tokenizers:[0,A],topRules:{Script:[0,25]},tokenPrec:0});function U(t){let e=t.cursor().moveTo(t.from,-1);for(;/Comment/.test(e.name);)e.moveTo(e.from,-1);return e.node}function x(t,e){let r=t.sliceString(e.from,e.to),a=/^([`'"])(.*)\1$/.exec(r);return a?a[2]:r}function Q(t){return t&&(t.name=="Identifier"||t.name=="QuotedIdentifier")}function Be(t,e){if(e.name=="CompositeIdentifier"){let r=[];for(let a=e.firstChild;a;a=a.nextSibling)Q(a)&&r.push(x(t,a));return r}return[x(t,e)]}function Z(t,e){for(let r=[];;){if(!e||e.name!=".")return r;let a=U(e);if(!Q(a))return r;r.unshift(x(t,a)),e=U(a)}}function Xe(t,e){let r=le(t).resolveInner(e,-1),a=De(t.doc,r);return r.name=="Identifier"||r.name=="QuotedIdentifier"||r.name=="Keyword"?{from:r.from,quoted:r.name=="QuotedIdentifier"?t.doc.sliceString(r.from,r.from+1):null,parents:Z(t.doc,U(r)),aliases:a}:r.name=="."?{from:e,quoted:null,parents:Z(t.doc,r),aliases:a}:{from:e,quoted:null,parents:[],empty:!0,aliases:a}}const Re=new Set("where group having order union intersect except all distinct limit offset fetch for".split(" "));function De(t,e){let r;for(let n=e;!r;n=n.parent){if(!n)return null;n.name=="Statement"&&(r=n)}let a=null;for(let n=r.firstChild,o=!1,f=null;n;n=n.nextSibling){let l=n.name=="Keyword"?t.sliceString(n.from,n.to).toLowerCase():null,c=null;if(!o)o=l=="from";else if(l=="as"&&f&&Q(n.nextSibling))c=x(t,n.nextSibling);else{if(l&&Re.has(l))break;f&&Q(n)&&(c=x(t,n))}c&&(a||(a=Object.create(null)),a[c]=Be(t,f)),f=/Identifier$/.test(n.name)?n:null}return a}function je(t,e){return t?e.map(r=>Object.assign(Object.assign({},r),{label:r.label[0]==t?r.label:t+r.label+t,apply:void 0})):e}const Ie=/^\w*$/,Ze=/^[`'"]?\w*[`'"]?$/;class z{constructor(){this.list=[],this.children=void 0}child(e,r){let a=this.children||(this.children=Object.create(null)),n=a[e];return n||(e&&this.list.push(K(e,"type",r)),a[e]=new z)}addCompletions(e){for(let r of e){let a=this.list.findIndex(n=>n.label==r.label);a>-1?this.list[a]=r:this.list.push(r)}}}function K(t,e,r){return/^[a-z_][a-z_\d]*$/.test(t)?{label:t,type:e}:{label:t,type:e,apply:r+t+r}}function Ve(t,e,r,a,n,o){var f;let l=new z,c=((f=o==null?void 0:o.spec.identifierQuotes)===null||f===void 0?void 0:f[0])||'"',v=l.child(n||"",c);for(let m in t){let p=m.replace(/\\?\./g,s=>s=="."?"\0":s).split("\0"),y=p.length==1?v:l;for(let s of p)y=y.child(s.replace(/\\\./g,"."),c);for(let s of t[m])s&&y.list.push(typeof s=="string"?K(s,"property",c):s)}return e&&v.addCompletions(e),r&&l.addCompletions(r),l.addCompletions(v.list),a&&l.addCompletions(v.child(a,c).list),m=>{let{parents:p,from:y,quoted:s,empty:Y,aliases:O}=Xe(m.state,m.pos);if(Y&&!m.explicit)return null;O&&p.length==1&&(p=O[p[0]]||p);let d=l;for(let w of p){for(;!d.children||!d.children[w];)if(d==l)d=v;else if(d==v&&a)d=d.child(a,c);else return null;d=d.child(w,c)}let H=s&&m.state.sliceDoc(m.pos,m.pos+1)==s,S=d.list;return d==l&&O&&(S=S.concat(Object.keys(O).map(w=>({label:w,type:"constant"})))),{from:y,to:H?m.pos+1:void 0,options:je(s,S),validFor:s?Ze:Ie}}}function $e(t,e){let r=Object.keys(t).map(a=>({label:e?a.toUpperCase():a,type:t[a]==$?"type":t[a]==V?"keyword":"variable",boost:-1}));return se(["QuotedIdentifier","SpecialVar","String","LineComment","BlockComment","."],oe(r))}let Ee=Le.configure({props:[J.add({Statement:ee()}),te.add({Statement(t){return{from:t.firstChild.to,to:t.to}},BlockComment(t){return{from:t.from+2,to:t.to-2}}}),ce({Keyword:i.keyword,Type:i.typeName,Builtin:i.standard(i.name),Bits:i.number,Bytes:i.string,Bool:i.bool,Null:i.null,Number:i.number,String:i.string,Identifier:i.name,QuotedIdentifier:i.special(i.string),SpecialVar:i.special(i.name),LineComment:i.lineComment,BlockComment:i.blockComment,Operator:i.operator,"Semi Punctuation":i.punctuation,"( )":i.paren,"{ }":i.brace,"[ ]":i.squareBracket})]});class u{constructor(e,r,a){this.dialect=e,this.language=r,this.spec=a}get extension(){return this.language.extension}static define(e){let r=ze(e,e.keywords,e.types,e.builtin),a=ae.define({name:"sql",parser:Ee.configure({tokenizers:[{from:A,to:W(r)}]}),languageData:{commentTokens:{line:"--",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}});return new u(r,a,e)}}function Ne(t,e=!1){return $e(t.dialect.words,e)}function We(t,e=!1){return t.language.data.of({autocomplete:Ne(t,e)})}function Ae(t){return t.schema?Ve(t.schema,t.tables,t.schemas,t.defaultTable,t.defaultSchema,t.dialect||L):()=>null}function Ke(t){return t.schema?(t.dialect||L).language.data.of({autocomplete:Ae(t)}):[]}function Je(t={}){let e=t.dialect||L;return new re(e.language,[Ke(t),We(e,!!t.upperCaseKeywords)])}const L=u.define({}),et=u.define({charSetCasts:!0,doubleDollarQuotedStrings:!0,operatorChars:"+-*/<>=~!@#%^&|`?",specialVar:"",keywords:b+"a abort abs absent access according ada admin aggregate alias also always analyse analyze array_agg array_max_cardinality asensitive assert assignment asymmetric atomic attach attribute attributes avg backward base64 begin_frame begin_partition bernoulli bit_length blocked bom c cache called cardinality catalog_name ceil ceiling chain char_length character_length character_set_catalog character_set_name character_set_schema characteristics characters checkpoint class class_origin cluster coalesce cobol collation_catalog collation_name collation_schema collect column_name columns command_function command_function_code comment comments committed concurrently condition_number configuration conflict connection_name constant constraint_catalog constraint_name constraint_schema contains content control conversion convert copy corr cost covar_pop covar_samp csv cume_dist current_catalog current_row current_schema cursor_name database datalink datatype datetime_interval_code datetime_interval_precision db debug defaults defined definer degree delimiter delimiters dense_rank depends derived detach detail dictionary disable discard dispatch dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue document dump dynamic_function dynamic_function_code element elsif empty enable encoding encrypted end_frame end_partition endexec enforced enum errcode error event every exclude excluding exclusive exp explain expression extension extract family file filter final first_value flag floor following force foreach fortran forward frame_row freeze fs functions fusion g generated granted greatest groups handler header hex hierarchy hint id ignore ilike immediately immutable implementation implicit import include including increment indent index indexes info inherit inherits inline insensitive instance instantiable instead integrity intersection invoker isnull k key_member key_type label lag last_value lead leakproof least length library like_regex link listen ln load location lock locked log logged lower m mapping matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text min minvalue mod mode more move multiset mumps name namespace nfc nfd nfkc nfkd nil normalize normalized nothing notice notify notnull nowait nth_value ntile nullable nullif nulls number occurrences_regex octet_length octets off offset oids operator options ordering others over overlay overriding owned owner p parallel parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partition pascal passing passthrough password percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding prepared print_strict_params procedural procedures program publication query quote raise range rank reassign recheck recovery refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex rename repeatable replace replica requiring reset respect restart restore result_oid returned_cardinality returned_length returned_octet_length returned_sqlstate returning reverse routine_catalog routine_name routine_schema routines row_count row_number rowtype rule scale schema_name schemas scope scope_catalog scope_name scope_schema security selective self sensitive sequence sequences serializable server server_name setof share show simple skip slice snapshot source specific_name sqlcode sqlerror sqrt stable stacked standalone statement statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time t table_name tables tablesample tablespace temp template ties token top_level_count transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex trigger_catalog trigger_name trigger_schema trim trim_array truncate trusted type types uescape unbounded uncommitted unencrypted unlink unlisten unlogged unnamed untyped upper uri use_column use_variable user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema vacuum valid validate validator value_of var_pop var_samp varbinary variable_conflict variadic verbose version versioning views volatile warning whitespace width_bucket window within wrapper xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate yes",types:_+"bigint int8 bigserial serial8 varbit bool box bytea cidr circle precision float8 inet int4 json jsonb line lseg macaddr macaddr8 money numeric pg_lsn point polygon float4 int2 smallserial serial2 serial serial4 text timetz timestamptz tsquery tsvector txid_snapshot uuid xml"}),M="accessible algorithm analyze asensitive authors auto_increment autocommit avg avg_row_length binlog btree cache catalog_name chain change changed checkpoint checksum class_origin client_statistics coalesce code collations columns comment committed completion concurrent consistent contains contributors convert database databases day_hour day_microsecond day_minute day_second delay_key_write delayed delimiter des_key_file dev_pop dev_samp deviance directory disable discard distinctrow div dual dumpfile enable enclosed ends engine engines enum errors escaped even event events every explain extended fast field fields flush force found_rows fulltext grants handler hash high_priority hosts hour_microsecond hour_minute hour_second ignore ignore_server_ids import index index_statistics infile innodb insensitive insert_method install invoker iterate keys kill linear lines list load lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modify mutex mysql_errno no_write_to_binlog offline offset one online optimize optionally outfile pack_keys parser partition partitions password phase plugin plugins prev processlist profile profiles purge query quick range read_write rebuild recover regexp relaylog remove rename reorganize repair repeatable replace require resume rlike row_format rtree schedule schema_name schemas second_microsecond security sensitive separator serializable server share show slave slow snapshot soname spatial sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result ssl starting starts std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace terminated triggers truncate uncommitted uninstall unlock upgrade use use_frm user_resources user_statistics utc_date utc_time utc_timestamp variables views warnings xa xor year_month zerofill",F=_+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int1 int2 int3 int4 int8 float4 float8 varbinary varcharacter precision datetime unsigned signed",G="charset clear edit ego help nopager notee nowarning pager print prompt quit rehash source status system tee",tt=u.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:b+"group_concat "+M,types:F,builtin:G}),at=u.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:b+"always generated groupby_concat hard persistent shutdown soft virtual "+M,types:F,builtin:G}),rt=u.define({keywords:b+"trigger proc view index for add constraint key primary foreign collate clustered nonclustered declare exec go if use index holdlock nolock nowait paglock pivot readcommitted readcommittedlock readpast readuncommitted repeatableread rowlock serializable snapshot tablock tablockx unpivot updlock with",types:_+"bigint smallint smallmoney tinyint money real text nvarchar ntext varbinary image hierarchyid uniqueidentifier sql_variant xml",builtin:"binary_checksum checksum connectionproperty context_info current_request_id error_line error_message error_number error_procedure error_severity error_state formatmessage get_filestream_transaction_context getansinull host_id host_name isnull isnumeric min_active_rowversion newid newsequentialid rowcount_big xact_state object_id",operatorChars:"*+-%<>!=^&|/",specialVar:"@"}),nt=u.define({keywords:b+"abort analyze attach autoincrement conflict database detach exclusive fail glob ignore index indexed instead isnull notnull offset plan pragma query raise regexp reindex rename replace temp vacuum virtual",types:_+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int2 int8 unsigned signed real",builtin:"auth backup bail changes clone databases dbinfo dump echo eqp explain fullschema headers help import imposter indexes iotrace lint load log mode nullvalue once print prompt quit restore save scanstats separator shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width",operatorChars:"*+-%<>!=&|/~",identifierQuotes:'`"',specialVar:"@:?$"}),it=u.define({keywords:"add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime infinity NaN",types:_+"ascii bigint blob counter frozen inet list map static text timeuuid tuple uuid varint",slashComments:!0}),st=u.define({keywords:b+"abort accept access add all alter and any arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body by case cast char_base check close cluster clusters colauth column comment commit compress connected constant constraint crash create current currval cursor data_base database dba deallocate debugoff debugon declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry exception exception_init exchange exclusive exists external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base of off offline on online only option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw rebuild record ref references refresh rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work",builtin:"appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define echo editfile embedded feedback flagger flush heading headsep instance linesize lno loboffset logsource longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar repfooter repheader serveroutput shiftinout show showmode spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout timing trimout trimspool ttitle underline verify version wrap",types:_+"ascii bfile bfilename bigserial bit blob dec long number nvarchar nvarchar2 serial smallint string text uid varchar2 xml",operatorChars:"*/+-%<>!=~",doubleQuotedStrings:!0,charSetCasts:!0,plsqlQuotingMechanism:!0});export{it as Cassandra,rt as MSSQL,at as MariaSQL,tt as MySQL,st as PLSQL,et as PostgreSQL,u as SQLDialect,nt as SQLite,L as StandardSQL,We as keywordCompletion,Ne as keywordCompletionSource,Ke as schemaCompletion,Ae as schemaCompletionSource,Je as sql}; diff --git a/assets/index-a341065b.js b/assets/index-c1392cfe.js similarity index 99% rename from assets/index-a341065b.js rename to assets/index-c1392cfe.js index 68debc8..96bfd30 100644 --- a/assets/index-a341065b.js +++ b/assets/index-c1392cfe.js @@ -1 +1 @@ -import{E as a,b as o,L as Z,i as _,c as r,f as q,j as l,a as w}from"./Main-15c2df80.js";import{s as V,b as Q}from"./VTextField-a6744798.js";import"./index-5de8a41c.js";import"./VRow-a513640b.js";import"./ssrBoot-48bd8e84.js";const R=1,g=2,b=3,y=4,T=5,s=98,c=101,p=102,t=114,v=69,X=48,W=46,d=43,f=45,Y=35,z=34,x=124,U=60,h=62;function n(O){return O>=48&&O<=57}function e(O){return n(O)||O==95}const G=new a((O,i)=>{if(n(O.next)){let P=!1;do O.advance();while(e(O.next));if(O.next==W){if(P=!0,O.advance(),n(O.next))do O.advance();while(e(O.next));else if(O.next==W||O.next>127||/\w/.test(String.fromCharCode(O.next)))return}if(O.next==c||O.next==v){if(P=!0,O.advance(),(O.next==d||O.next==f)&&O.advance(),!e(O.next))return;do O.advance();while(e(O.next))}if(O.next==p){let $=O.peek(1);if($==X+3&&O.peek(2)==X+2||$==X+6&&O.peek(2)==X+4)O.advance(3),P=!0;else return}P&&O.acceptToken(T)}else if(O.next==s||O.next==t){if(O.next==s&&O.advance(),O.next!=t)return;O.advance();let P=0;for(;O.next==Y;)P++,O.advance();if(O.next!=z)return;O.advance();O:for(;;){if(O.next<0)return;let $=O.next==z;if(O.advance(),$){for(let S=0;S{O.next==x&&O.acceptToken(R,1)}),u=new a(O=>{O.next==U?O.acceptToken(g,1):O.next==h&&O.acceptToken(b,1)}),k=V({"const macro_rules struct union enum type fn impl trait let static":Q.definitionKeyword,"mod use crate":Q.moduleKeyword,"pub unsafe async mut extern default move":Q.modifier,"for if else loop while match continue break return await":Q.controlKeyword,"as in ref":Q.operatorKeyword,"where _ crate super dyn":Q.keyword,self:Q.self,String:Q.string,Char:Q.character,RawString:Q.special(Q.string),Boolean:Q.bool,Identifier:Q.variableName,"CallExpression/Identifier":Q.function(Q.variableName),BoundIdentifier:Q.definition(Q.variableName),"FunctionItem/BoundIdentifier":Q.function(Q.definition(Q.variableName)),LoopLabel:Q.labelName,FieldIdentifier:Q.propertyName,"CallExpression/FieldExpression/FieldIdentifier":Q.function(Q.propertyName),Lifetime:Q.special(Q.variableName),ScopeIdentifier:Q.namespace,TypeIdentifier:Q.typeName,"MacroInvocation/Identifier MacroInvocation/ScopedIdentifier/Identifier":Q.macroName,"MacroInvocation/TypeIdentifier MacroInvocation/ScopedIdentifier/TypeIdentifier":Q.macroName,'"!"':Q.macroName,UpdateOp:Q.updateOperator,LineComment:Q.lineComment,BlockComment:Q.blockComment,Integer:Q.integer,Float:Q.float,ArithOp:Q.arithmeticOperator,LogicOp:Q.logicOperator,BitOp:Q.bitwiseOperator,CompareOp:Q.compareOperator,"=":Q.definitionOperator,".. ... => ->":Q.punctuation,"( )":Q.paren,"[ ]":Q.squareBracket,"{ }":Q.brace,". DerefOp":Q.derefOperator,"&":Q.operator,", ; ::":Q.separator,"Attribute/...":Q.meta}),j={__proto__:null,self:28,super:32,crate:34,impl:46,true:72,false:72,pub:88,in:92,const:96,unsafe:104,async:108,move:110,if:114,let:118,ref:142,mut:144,_:198,else:200,match:204,as:248,return:252,await:262,break:270,continue:276,while:312,loop:316,for:320,macro_rules:327,mod:334,extern:342,struct:346,where:364,union:379,enum:382,type:390,default:395,fn:396,trait:412,use:420,static:438,dyn:476},E=o.deserialize({version:14,states:"$2xQ]Q_OOP$wOWOOO&sQWO'#CnO)WQWO'#I`OOQP'#I`'#I`OOQQ'#Ie'#IeO)hO`O'#C}OOQR'#Ih'#IhO)sQWO'#IuOOQO'#Hk'#HkO)xQWO'#DpOOQR'#Iw'#IwO)xQWO'#DpO*ZQWO'#DpOOQO'#Iv'#IvO,SQWO'#J`O,ZQWO'#EiOOQV'#Hp'#HpO,cQYO'#F{OOQV'#El'#ElOOQV'#Em'#EmOOQV'#En'#EnO.YQ_O'#EkO0_Q_O'#EoO2gQWOOO4QQ_O'#FPO7hQWO'#J`OOQV'#FY'#FYO7{Q_O'#F^O:WQ_O'#FaOOQO'#F`'#F`O=sQ_O'#FcO=}Q_O'#Fb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Attribute ! [ MetaItem self Metavariable super crate Identifier ScopedIdentifier :: QualifiedScope AbstractType impl SelfType MetaType TypeIdentifier ScopedTypeIdentifier ScopeIdentifier TypeArgList TypeBinding = Lifetime String Escape Char Boolean Integer } { Block ; ConstItem Vis pub ( in ) const BoundIdentifier : UnsafeBlock unsafe AsyncBlock async move IfExpression if LetDeclaration let LiteralPattern ArithOp MetaPattern SelfPattern ScopedIdentifier TuplePattern ScopedTypeIdentifier , StructPattern FieldPatternList FieldPattern ref mut FieldIdentifier .. RefPattern SlicePattern CapturedPattern ReferencePattern & MutPattern RangePattern ... OrPattern MacroPattern ParenthesizedTokens TokenBinding Identifier TokenRepetition ArithOp BitOp LogicOp UpdateOp CompareOp -> => ArithOp BracketedTokens BracedTokens _ else MatchExpression match MatchBlock MatchArm Attribute Guard UnaryExpression ArithOp DerefOp LogicOp ReferenceExpression TryExpression BinaryExpression ArithOp ArithOp BitOp BitOp BitOp BitOp LogicOp LogicOp AssignmentExpression TypeCastExpression as ReturnExpression return RangeExpression CallExpression ArgList AwaitExpression await FieldExpression GenericFunction BreakExpression break LoopLabel ContinueExpression continue IndexExpression ArrayExpression TupleExpression MacroInvocation UnitExpression ClosureExpression ParamList Parameter Parameter ParenthesizedExpression StructExpression FieldInitializerList ShorthandFieldInitializer FieldInitializer BaseFieldInitializer MatchArm WhileExpression while LoopExpression loop ForExpression for MacroInvocation MacroDefinition macro_rules MacroRule EmptyStatement ModItem mod DeclarationList AttributeItem ForeignModItem extern StructItem struct TypeParamList ConstrainedTypeParameter TraitBounds HigherRankedTraitBound RemovedTraitBound OptionalTypeParameter ConstParameter WhereClause where LifetimeClause TypeBoundClause FieldDeclarationList FieldDeclaration OrderedFieldDeclarationList UnionItem union EnumItem enum EnumVariantList EnumVariant TypeItem type FunctionItem default fn ParamList Parameter SelfParameter VariadicParameter VariadicParameter ImplItem TraitItem trait AssociatedType LetDeclaration UseDeclaration use ScopedIdentifier UseAsClause ScopedIdentifier UseList ScopedUseList UseWildcard ExternCrateDeclaration StaticItem static ExpressionStatement ExpressionStatement GenericType FunctionType ForLifetimes ParamList VariadicParameter Parameter VariadicParameter Parameter ReferenceType PointerType TupleType UnitType ArrayType MacroInvocation EmptyType DynamicType dyn BoundedType",maxTerm:359,nodeProps:[["isolate",-4,4,6,7,33,""],["group",-42,4,5,14,15,16,17,18,19,33,35,36,37,40,51,53,56,101,107,111,112,113,122,123,125,127,128,130,132,133,134,137,139,140,141,142,143,144,148,149,155,157,159,"Expression",-16,22,24,25,26,27,222,223,230,231,232,233,234,235,236,237,239,"Type",-20,42,161,162,165,166,169,170,172,188,190,194,196,204,205,207,208,209,217,218,220,"Statement",-17,49,60,62,63,64,65,68,74,75,76,77,78,80,81,83,84,99,"Pattern"],["openedBy",9,"[",38,"{",47,"("],["closedBy",12,"]",39,"}",45,")"]],propSources:[k],skippedNodes:[0,6,7,240],repeatNodeCount:32,tokenData:"$%h_R!XOX$nXY5gYZ6iZ]$n]^5g^p$npq5gqr7Xrs9cst:Rtu;Tuv>vvwAQwxCbxy!+Tyz!,Vz{!-X{|!/_|}!0g}!O!1i!O!P!3v!P!Q!8[!Q!R!Bw!R![!Dr![!]#+q!]!^#-{!^!_#.}!_!`#1b!`!a#3o!a!b#6S!b!c#7U!c!}#8W!}#O#:T#O#P#;V#P#Q#Cb#Q#R#Dd#R#S#8W#S#T$n#T#U#8W#U#V#El#V#f#8W#f#g#Ic#g#o#8W#o#p$ S#p#q$!U#q#r$$f#r${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`4s<%lO$nU$u]'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$nU%uV'_Q'OSOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[S&aV'OSOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[S&yVOz'`z{&v{!P'`!P!Q*y!Q;'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c$n!c!}#8W!}#O$n#O#P&[#P#R$n#R#S#8W#S#T$n#T#o#8W#o${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`4s<%lO$nV#Kji'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!c$n!c!}#MX!}#O$n#O#P&[#P#R$n#R#S#MX#S#T$n#T#o#MX#o${$n${$|#MX$|4w$n4w5b#MX5b5i$n5i6S#MX6S;'S$n;'S;=`4s<%lO$nV#Mbj'_Q'OS'TPOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q![#MX![!c$n!c!}#MX!}#O$n#O#P&[#P#R$n#R#S#MX#S#T$n#T#o#MX#o${$n${$|#MX$|4w$n4w5b#MX5b5i$n5i6S#MX6S;'S$n;'S;=`4s<%lO$n_$ ]]wX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_$!_a'rX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P#p$n#p#q$#d#q;'S$n;'S;=`4s<%lO$n_$#m]'|X'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_$$o]vX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n",tokenizers:[m,u,G,0,1,2,3],topRules:{SourceFile:[0,8]},specialized:[{term:281,get:O=>j[O]||-1}],tokenPrec:15596}),I=Z.define({name:"rust",parser:E.configure({props:[_.add({IfExpression:r({except:/^\s*({|else\b)/}),"String BlockComment":()=>null,AttributeItem:O=>O.continue(),"Statement MatchArm":r()}),q.add(O=>{if(/(Block|edTokens|List)$/.test(O.name))return l;if(O.name=="BlockComment")return i=>({from:i.from+2,to:i.to-2})})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:\{|\})$/,closeBrackets:{stringPrefixes:["b","r","br"]}}});function F(){return new w(I)}export{F as rust,I as rustLanguage}; +import{E as a,b as o,L as Z,i as _,c as r,f as q,j as l,a as w}from"./Main-0c1859ef.js";import{s as V,b as Q}from"./VTextField-37dfe157.js";import"./index-92c8c5cd.js";import"./VRow-c001e689.js";import"./ssrBoot-5d57507b.js";const R=1,g=2,b=3,y=4,T=5,s=98,c=101,p=102,t=114,v=69,X=48,W=46,d=43,f=45,Y=35,z=34,x=124,U=60,h=62;function n(O){return O>=48&&O<=57}function e(O){return n(O)||O==95}const G=new a((O,i)=>{if(n(O.next)){let P=!1;do O.advance();while(e(O.next));if(O.next==W){if(P=!0,O.advance(),n(O.next))do O.advance();while(e(O.next));else if(O.next==W||O.next>127||/\w/.test(String.fromCharCode(O.next)))return}if(O.next==c||O.next==v){if(P=!0,O.advance(),(O.next==d||O.next==f)&&O.advance(),!e(O.next))return;do O.advance();while(e(O.next))}if(O.next==p){let $=O.peek(1);if($==X+3&&O.peek(2)==X+2||$==X+6&&O.peek(2)==X+4)O.advance(3),P=!0;else return}P&&O.acceptToken(T)}else if(O.next==s||O.next==t){if(O.next==s&&O.advance(),O.next!=t)return;O.advance();let P=0;for(;O.next==Y;)P++,O.advance();if(O.next!=z)return;O.advance();O:for(;;){if(O.next<0)return;let $=O.next==z;if(O.advance(),$){for(let S=0;S{O.next==x&&O.acceptToken(R,1)}),u=new a(O=>{O.next==U?O.acceptToken(g,1):O.next==h&&O.acceptToken(b,1)}),k=V({"const macro_rules struct union enum type fn impl trait let static":Q.definitionKeyword,"mod use crate":Q.moduleKeyword,"pub unsafe async mut extern default move":Q.modifier,"for if else loop while match continue break return await":Q.controlKeyword,"as in ref":Q.operatorKeyword,"where _ crate super dyn":Q.keyword,self:Q.self,String:Q.string,Char:Q.character,RawString:Q.special(Q.string),Boolean:Q.bool,Identifier:Q.variableName,"CallExpression/Identifier":Q.function(Q.variableName),BoundIdentifier:Q.definition(Q.variableName),"FunctionItem/BoundIdentifier":Q.function(Q.definition(Q.variableName)),LoopLabel:Q.labelName,FieldIdentifier:Q.propertyName,"CallExpression/FieldExpression/FieldIdentifier":Q.function(Q.propertyName),Lifetime:Q.special(Q.variableName),ScopeIdentifier:Q.namespace,TypeIdentifier:Q.typeName,"MacroInvocation/Identifier MacroInvocation/ScopedIdentifier/Identifier":Q.macroName,"MacroInvocation/TypeIdentifier MacroInvocation/ScopedIdentifier/TypeIdentifier":Q.macroName,'"!"':Q.macroName,UpdateOp:Q.updateOperator,LineComment:Q.lineComment,BlockComment:Q.blockComment,Integer:Q.integer,Float:Q.float,ArithOp:Q.arithmeticOperator,LogicOp:Q.logicOperator,BitOp:Q.bitwiseOperator,CompareOp:Q.compareOperator,"=":Q.definitionOperator,".. ... => ->":Q.punctuation,"( )":Q.paren,"[ ]":Q.squareBracket,"{ }":Q.brace,". DerefOp":Q.derefOperator,"&":Q.operator,", ; ::":Q.separator,"Attribute/...":Q.meta}),j={__proto__:null,self:28,super:32,crate:34,impl:46,true:72,false:72,pub:88,in:92,const:96,unsafe:104,async:108,move:110,if:114,let:118,ref:142,mut:144,_:198,else:200,match:204,as:248,return:252,await:262,break:270,continue:276,while:312,loop:316,for:320,macro_rules:327,mod:334,extern:342,struct:346,where:364,union:379,enum:382,type:390,default:395,fn:396,trait:412,use:420,static:438,dyn:476},E=o.deserialize({version:14,states:"$2xQ]Q_OOP$wOWOOO&sQWO'#CnO)WQWO'#I`OOQP'#I`'#I`OOQQ'#Ie'#IeO)hO`O'#C}OOQR'#Ih'#IhO)sQWO'#IuOOQO'#Hk'#HkO)xQWO'#DpOOQR'#Iw'#IwO)xQWO'#DpO*ZQWO'#DpOOQO'#Iv'#IvO,SQWO'#J`O,ZQWO'#EiOOQV'#Hp'#HpO,cQYO'#F{OOQV'#El'#ElOOQV'#Em'#EmOOQV'#En'#EnO.YQ_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Q'R!qQ)c%XQ+w&|R4y1PX'Q!q%X&|1PR+y&|R+x&|T/S*S4TT/R*S4TR.o)sR.n)sR){%p",nodeNames:"⚠ | < > RawString Float LineComment BlockComment SourceFile ] InnerAttribute ! [ MetaItem self Metavariable super crate Identifier ScopedIdentifier :: QualifiedScope AbstractType impl SelfType MetaType TypeIdentifier ScopedTypeIdentifier ScopeIdentifier TypeArgList TypeBinding = Lifetime String Escape Char Boolean Integer } { Block ; ConstItem Vis pub ( in ) const BoundIdentifier : UnsafeBlock unsafe AsyncBlock async move IfExpression if LetDeclaration let LiteralPattern ArithOp MetaPattern SelfPattern ScopedIdentifier TuplePattern ScopedTypeIdentifier , StructPattern FieldPatternList FieldPattern ref mut FieldIdentifier .. RefPattern SlicePattern CapturedPattern ReferencePattern & MutPattern RangePattern ... OrPattern MacroPattern ParenthesizedTokens TokenBinding Identifier TokenRepetition ArithOp BitOp LogicOp UpdateOp CompareOp -> => ArithOp BracketedTokens BracedTokens _ else MatchExpression match MatchBlock MatchArm Attribute Guard UnaryExpression ArithOp DerefOp LogicOp ReferenceExpression TryExpression BinaryExpression ArithOp ArithOp BitOp BitOp BitOp BitOp LogicOp LogicOp AssignmentExpression TypeCastExpression as ReturnExpression return RangeExpression CallExpression ArgList AwaitExpression await FieldExpression GenericFunction BreakExpression break LoopLabel ContinueExpression continue IndexExpression ArrayExpression TupleExpression MacroInvocation UnitExpression ClosureExpression ParamList Parameter Parameter ParenthesizedExpression StructExpression FieldInitializerList ShorthandFieldInitializer FieldInitializer BaseFieldInitializer MatchArm WhileExpression while LoopExpression loop ForExpression for MacroInvocation MacroDefinition macro_rules MacroRule EmptyStatement ModItem mod DeclarationList AttributeItem ForeignModItem extern StructItem struct TypeParamList ConstrainedTypeParameter TraitBounds HigherRankedTraitBound RemovedTraitBound OptionalTypeParameter ConstParameter WhereClause where LifetimeClause TypeBoundClause FieldDeclarationList FieldDeclaration OrderedFieldDeclarationList UnionItem union EnumItem enum EnumVariantList EnumVariant TypeItem type FunctionItem default fn ParamList Parameter SelfParameter VariadicParameter VariadicParameter ImplItem TraitItem trait AssociatedType LetDeclaration UseDeclaration use ScopedIdentifier UseAsClause ScopedIdentifier UseList ScopedUseList UseWildcard ExternCrateDeclaration StaticItem static ExpressionStatement ExpressionStatement GenericType FunctionType ForLifetimes ParamList VariadicParameter Parameter VariadicParameter Parameter ReferenceType PointerType TupleType UnitType ArrayType MacroInvocation EmptyType DynamicType dyn BoundedType",maxTerm:359,nodeProps:[["isolate",-4,4,6,7,33,""],["group",-42,4,5,14,15,16,17,18,19,33,35,36,37,40,51,53,56,101,107,111,112,113,122,123,125,127,128,130,132,133,134,137,139,140,141,142,143,144,148,149,155,157,159,"Expression",-16,22,24,25,26,27,222,223,230,231,232,233,234,235,236,237,239,"Type",-20,42,161,162,165,166,169,170,172,188,190,194,196,204,205,207,208,209,217,218,220,"Statement",-17,49,60,62,63,64,65,68,74,75,76,77,78,80,81,83,84,99,"Pattern"],["openedBy",9,"[",38,"{",47,"("],["closedBy",12,"]",39,"}",45,")"]],propSources:[k],skippedNodes:[0,6,7,240],repeatNodeCount:32,tokenData:"$%h_R!XOX$nXY5gYZ6iZ]$n]^5g^p$npq5gqr7Xrs9cst:Rtu;Tuv>vvwAQwxCbxy!+Tyz!,Vz{!-X{|!/_|}!0g}!O!1i!O!P!3v!P!Q!8[!Q!R!Bw!R![!Dr![!]#+q!]!^#-{!^!_#.}!_!`#1b!`!a#3o!a!b#6S!b!c#7U!c!}#8W!}#O#:T#O#P#;V#P#Q#Cb#Q#R#Dd#R#S#8W#S#T$n#T#U#8W#U#V#El#V#f#8W#f#g#Ic#g#o#8W#o#p$ S#p#q$!U#q#r$$f#r${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`4s<%lO$nU$u]'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$nU%uV'_Q'OSOz&[z{&v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:/^\s*({|else\b)/}),"String BlockComment":()=>null,AttributeItem:O=>O.continue(),"Statement MatchArm":r()}),q.add(O=>{if(/(Block|edTokens|List)$/.test(O.name))return l;if(O.name=="BlockComment")return i=>({from:i.from+2,to:i.to-2})})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:\{|\})$/,closeBrackets:{stringPrefixes:["b","r","br"]}}});function F(){return new w(I)}export{F as rust,I as rustLanguage}; diff --git a/assets/index-8260ec8d.js b/assets/index-d2154165.js similarity index 90% rename from assets/index-8260ec8d.js rename to assets/index-d2154165.js index 0240428..2522f3a 100644 --- a/assets/index-8260ec8d.js +++ b/assets/index-d2154165.js @@ -1 +1 @@ -import{L as O,i as r,h as b,f as s,j as t,a,b as P}from"./Main-15c2df80.js";import{s as n,b as e}from"./VTextField-a6744798.js";import"./index-5de8a41c.js";import"./VRow-a513640b.js";import"./ssrBoot-48bd8e84.js";const S={__proto__:null,anyref:34,dataref:34,eqref:34,externref:34,i31ref:34,funcref:34,i8:34,i16:34,i32:34,i64:34,f32:34,f64:34},i=P.deserialize({version:14,states:"!^Q]QPOOOqQPO'#CbOOQO'#Cd'#CdOOQO'#Cl'#ClOOQO'#Ch'#ChQ]QPOOOOQO,58|,58|OxQPO,58|OOQO-E6f-E6fOOQO1G.h1G.h",stateData:"!P~O_OSPOSQOS~OTPOVROXROYROZROaQO~OSUO~P]OSXO~P]O",goto:"xaPPPPPPbPbPPPhPPPrXROPTVQTOQVPTWTVXSOPTV",nodeNames:"⚠ LineComment BlockComment Module ) ( App Identifier Type Keyword Number String",maxTerm:17,nodeProps:[["isolate",-3,1,2,11,""],["openedBy",4,"("],["closedBy",5,")"],["group",-6,6,7,8,9,10,11,"Expression"]],skippedNodes:[0,1,2],repeatNodeCount:1,tokenData:"0o~R^XY}YZ}]^}pq}rs!Stu#pxy'Uyz(e{|(j}!O(j!Q!R(s!R![*p!]!^.^#T#o.{~!SO_~~!VVOr!Srs!ls#O!S#O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.xP;=`<%l.d~/QiX~qr.{st.{tu.{uv.{vw.{wx.{z{.{{|.{}!O.{!O!P.{!P!Q.{!Q![.{![!].{!^!_.{!_!`.{!`!a.{!a!b.{!b!c.{!c!}.{#Q#R.{#R#S.{#S#T.{#T#o.{#p#q.{#r#s.{",tokenizers:[0],topRules:{Module:[0,3]},specialized:[{term:9,get:o=>S[o]||-1}],tokenPrec:0}),Q=O.define({name:"wast",parser:i.configure({props:[r.add({App:b({closing:")",align:!1})}),s.add({App:t,BlockComment(o){return{from:o.from+2,to:o.to-2}}}),n({Keyword:e.keyword,Type:e.typeName,Number:e.number,String:e.string,Identifier:e.variableName,LineComment:e.lineComment,BlockComment:e.blockComment,"( )":e.paren})]}),languageData:{commentTokens:{line:";;",block:{open:"(;",close:";)"}},closeBrackets:{brackets:["(",'"']}}});function R(){return new a(Q)}export{R as wast,Q as wastLanguage}; +import{L as O,i as r,h as b,f as s,j as t,a,b as P}from"./Main-0c1859ef.js";import{s as n,b as e}from"./VTextField-37dfe157.js";import"./index-92c8c5cd.js";import"./VRow-c001e689.js";import"./ssrBoot-5d57507b.js";const S={__proto__:null,anyref:34,dataref:34,eqref:34,externref:34,i31ref:34,funcref:34,i8:34,i16:34,i32:34,i64:34,f32:34,f64:34},i=P.deserialize({version:14,states:"!^Q]QPOOOqQPO'#CbOOQO'#Cd'#CdOOQO'#Cl'#ClOOQO'#Ch'#ChQ]QPOOOOQO,58|,58|OxQPO,58|OOQO-E6f-E6fOOQO1G.h1G.h",stateData:"!P~O_OSPOSQOS~OTPOVROXROYROZROaQO~OSUO~P]OSXO~P]O",goto:"xaPPPPPPbPbPPPhPPPrXROPTVQTOQVPTWTVXSOPTV",nodeNames:"⚠ LineComment BlockComment Module ) ( App Identifier Type Keyword Number String",maxTerm:17,nodeProps:[["isolate",-3,1,2,11,""],["openedBy",4,"("],["closedBy",5,")"],["group",-6,6,7,8,9,10,11,"Expression"]],skippedNodes:[0,1,2],repeatNodeCount:1,tokenData:"0o~R^XY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-o!c!i-o#R#S-c#T#Z-o~.TR!Q![,h!c!i,h#T#Z,h~.aP!]!^.d~.iSP~OY.dZ;'S.d;'S;=`.u<%lO.d~.xP;=`<%l.d~/QiX~qr.{st.{tu.{uv.{vw.{wx.{z{.{{|.{}!O.{!O!P.{!P!Q.{!Q![.{![!].{!^!_.{!_!`.{!`!a.{!a!b.{!b!c.{!c!}.{#Q#R.{#R#S.{#S#T.{#T#o.{#p#q.{#r#s.{",tokenizers:[0],topRules:{Module:[0,3]},specialized:[{term:9,get:o=>S[o]||-1}],tokenPrec:0}),Q=O.define({name:"wast",parser:i.configure({props:[r.add({App:b({closing:")",align:!1})}),s.add({App:t,BlockComment(o){return{from:o.from+2,to:o.to-2}}}),n({Keyword:e.keyword,Type:e.typeName,Number:e.number,String:e.string,Identifier:e.variableName,LineComment:e.lineComment,BlockComment:e.blockComment,"( )":e.paren})]}),languageData:{commentTokens:{line:";;",block:{open:"(;",close:";)"}},closeBrackets:{brackets:["(",'"']}}});function R(){return new a(Q)}export{R as wast,Q as wastLanguage}; diff --git a/assets/ssrBoot-48bd8e84.js b/assets/ssrBoot-5d57507b.js similarity index 73% rename from assets/ssrBoot-48bd8e84.js rename to assets/ssrBoot-5d57507b.js index d9e5137..4dc9bb7 100644 --- a/assets/ssrBoot-48bd8e84.js +++ b/assets/ssrBoot-5d57507b.js @@ -1 +1 @@ -import{s,o as t,c as e,ad as n}from"./index-5de8a41c.js";function i(){const o=s(!1);return t(()=>{window.requestAnimationFrame(()=>{o.value=!0})}),{ssrBootStyles:e(()=>o.value?void 0:{transition:"none !important"}),isBooted:n(o)}}export{i as u}; +import{s,o as t,c as e,ad as n}from"./index-92c8c5cd.js";function i(){const o=s(!1);return t(()=>{window.requestAnimationFrame(()=>{o.value=!0})}),{ssrBootStyles:e(()=>o.value?void 0:{transition:"none !important"}),isBooted:n(o)}}export{i as u}; diff --git a/index.html b/index.html index e105049..4f87901 100644 --- a/index.html +++ b/index.html @@ -20,7 +20,7 @@ Grafana Debugger | Monitoring Artist - +