diff --git a/200.html b/200.html index 22b0b27..488a826 100644 --- a/200.html +++ b/200.html @@ -8,14 +8,14 @@ - + - - + + - -
\ No newline at end of file diff --git a/404.html b/404.html index 22b0b27..488a826 100644 --- a/404.html +++ b/404.html @@ -8,14 +8,14 @@ - + - - + + - -
\ No newline at end of file diff --git a/_payload.json b/_payload.json index d898ac6..9be8fb4 100644 --- a/_payload.json +++ b/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":3},["Reactive",2],{},1714711251605] \ No newline at end of file +[{"data":1,"prerenderedAt":3},["Reactive",2],{},1714711990202] \ No newline at end of file diff --git a/assets/D8U817WZ.js b/assets/270FioHT.js similarity index 97% rename from assets/D8U817WZ.js rename to assets/270FioHT.js index d060cd3..a721706 100644 --- a/assets/D8U817WZ.js +++ b/assets/270FioHT.js @@ -1,4 +1,4 @@ -import{m}from"./DlKjphzx.js";import"./Dln5YeVe.js";/*!----------------------------------------------------------------------------- +import{m}from"./CSm8Qi0c.js";import"./BPRoNp8L.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license diff --git a/assets/CxkHN6oT.js b/assets/3ker-Bu6.js similarity index 99% rename from assets/CxkHN6oT.js rename to assets/3ker-Bu6.js index 2c8605c..189e58f 100644 --- a/assets/CxkHN6oT.js +++ b/assets/3ker-Bu6.js @@ -1,4 +1,4 @@ -import{m as et}from"./DlKjphzx.js";import"./Dln5YeVe.js";/*!----------------------------------------------------------------------------- +import{m as et}from"./CSm8Qi0c.js";import"./BPRoNp8L.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license diff --git a/assets/RrYsET18.js b/assets/B3LgLfDG.js similarity index 99% rename from assets/RrYsET18.js rename to assets/B3LgLfDG.js index 0da960b..30eea1e 100644 --- a/assets/RrYsET18.js +++ b/assets/B3LgLfDG.js @@ -1,4 +1,4 @@ -import{m as F}from"./DlKjphzx.js";import"./Dln5YeVe.js";/*!----------------------------------------------------------------------------- +import{m as F}from"./CSm8Qi0c.js";import"./BPRoNp8L.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license diff --git a/assets/NlesULI2.js b/assets/BMIsZxAP.js similarity index 83% rename from assets/NlesULI2.js rename to assets/BMIsZxAP.js index 379eda7..52b16c3 100644 --- a/assets/NlesULI2.js +++ b/assets/BMIsZxAP.js @@ -1,10 +1,10 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./DlKjphzx.js","./Dln5YeVe.js","./entry.BR_O2Prr.css","./editor.ChyOjXgx.css"] + __vite__mapDeps.viteFileDeps = ["./CSm8Qi0c.js","./BPRoNp8L.js","./entry.BR_O2Prr.css","./editor.ChyOjXgx.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{u as Ke,r as vr,_ as yr,a as Pe,b as Ir,s as Er,g as Cr,c as fn,i as Sr,d as hn,e as Yn,f as wr,h as mn,j as Tr,t as Pr,k as Or,P as Rr,l as kr,T as Ar,m as _r,C as xr,n as Zn,E as Qn,o as eo,p as Nr,q as Fr,v as Lr}from"./0vF3UBZ8.js";import{f as q,o as M,g as be,h as E,c as Z,i as Vr,a as y,j as rt,v as it,k as qe,l as Je,q as Ge,m as Dr,n as $r,r as Mr,s as Hr,x as zr,y as Me,z as Xe,A as K,B as bn,C as we,D as ve,E as S,F as xo,G as at,H as Br,I as Kt,J as Ur,K as Ne,L as on,M as Gr,N as _n,O as pe,P as Wr,Q as Ye,R as te,S as qt,T as xn,U,d as No,t as Y,V as Ze,W as to,b as V,w as ae,p as jr,e as Kr,_ as Jt,X as It,Y as _e,Z as ye,$ as Ie,a0 as St,a1 as qr,a2 as Jr,a3 as Xr,a4 as Yr,a5 as Fo,a6 as no,a7 as Zr,a8 as Ft,a9 as vn,aa as Nn,ab as Qr,ac as ei,ad as ti,ae as ni,af as oi,ag as Lo,ah as nt,ai as Et,aj as ri,ak as yn,al as ii,am as ai,an as Lt,ao as Fn,ap as si,aq as li,ar as ci,as as In,at as En,au as Vt,av as ui,aw as di}from"./Dln5YeVe.js";import{_ as gi}from"./kFzsb1UL.js";import"./BnZW0xzS.js";const pi=q({__name:"RenameResume",setup(e){const{data:n}=Ke(),t=o=>{n.curResumeName=o,vr(n.curResumeId,o)};return(o,r)=>{const i=yr;return M(),be(i,{id:"edit-rename",class:"w-50 mx-2 text-sm md:text-base",default:E(n).curResumeName,"on-value-commit":t},null,8,["default"])}}}),fi=y("span",{"i-ic:baseline-save":"","md:text-lg":""},null,-1),hi=[fi],mi=q({__name:"SaveResume",setup(e){const{data:n}=Ke(),{styles:t}=Pe(),o=()=>{const r=n.curResumeId,i=new Date().getTime().toString(),a={name:n.curResumeName,markdown:n.mdContent,css:n.cssContent,styles:Vr(t),update:i};Er(r,a)};return Ir("ctrl+s",o),(r,i)=>(M(),Z("button",{class:"round-btn",onClick:o},hi))}}),bi={"i-tabler:layout-sidebar-right-collapse":"","md:text-lg":""},vi={"i-tabler:layout-sidebar-right-expand":"","md:text-lg":""},yi=q({__name:"ToggleToolbar",props:{isToolbarOpen:{type:Boolean}},emits:["toggleToolbar"],setup(e){return(n,t)=>(M(),Z("button",{class:"round-btn",onClick:t[0]||(t[0]=o=>n.$emit("toggleToolbar"))},[rt(y("span",bi,null,512),[[it,n.isToolbarOpen]]),rt(y("span",vi,null,512),[[it,!n.isToolbarOpen]])]))}});var Cn,Be=new Map,Ii=e=>e.getBoundingClientRect();function Ei(e,n){const{scope:t="rect",getRect:o=Ii,onChange:r}=n,i=Ci({scope:t,getRect:o}),a=Be.get(e);return a?(a.callbacks.push(r),r(o(e))):(Be.set(e,{rect:{},callbacks:[r]}),Be.size===1&&(Cn=requestAnimationFrame(i))),function(){const s=Be.get(e);if(!s)return;const c=s.callbacks.indexOf(r);c>-1&&s.callbacks.splice(c,1),s.callbacks.length===0&&(Be.delete(e),Be.size===0&&cancelAnimationFrame(Cn))}}function Ci(e){const{scope:n,getRect:t}=e,o=wi(n);return function r(){const i=[];Be.forEach((a,l)=>{const s=t(l);o(a.rect,s)||(a.rect=s,i.push(a))}),i.forEach(a=>{a.callbacks.forEach(l=>l(a.rect))}),Cn=requestAnimationFrame(r)}}var Vo=(e,n)=>e.width===n.width&&e.height===n.height,Do=(e,n)=>e.top===n.top&&e.left===n.left,Si=(e,n)=>Vo(e,n)&&Do(e,n);function wi(e){return e==="size"?Vo:e==="position"?Do:Si}var Ti=qe("tabs").parts("root","list","trigger","content","indicator"),gt=Ti.build(),R=Je({getRootId:e=>{var n;return((n=e.ids)==null?void 0:n.root)??`tabs:${e.id}`},getListId:e=>{var n;return((n=e.ids)==null?void 0:n.list)??`tabs:${e.id}:list`},getContentId:(e,n)=>{var t;return((t=e.ids)==null?void 0:t.content)??`tabs:${e.id}:content-${n}`},getTriggerId:(e,n)=>{var t;return((t=e.ids)==null?void 0:t.trigger)??`tabs:${e.id}:trigger-${n}`},getIndicatorId:e=>{var n;return((n=e.ids)==null?void 0:n.indicator)??`tabs:${e.id}:indicator`},getListEl:e=>R.getById(e,R.getListId(e)),getContentEl:(e,n)=>R.getById(e,R.getContentId(e,n)),getTriggerEl:(e,n)=>R.getById(e,R.getTriggerId(e,n)),getIndicatorEl:e=>R.getById(e,R.getIndicatorId(e)),getElements:e=>{const t=`[role=tab][data-ownedby='${CSS.escape(R.getListId(e))}']:not([disabled])`;return Ge(R.getListEl(e),t)},getFirstEl:e=>Dr(R.getElements(e)),getLastEl:e=>$r(R.getElements(e)),getNextEl:(e,n)=>Mr(R.getElements(e),R.getTriggerId(e,n),e.loop),getPrevEl:(e,n)=>Hr(R.getElements(e),R.getTriggerId(e,n),e.loop),getActiveContentEl:e=>{if(e.value)return R.getContentEl(e,e.value)},getActiveTabEl:e=>{if(e.value)return R.getTriggerEl(e,e.value)},getOffsetRect:e=>({left:(e==null?void 0:e.offsetLeft)??0,top:(e==null?void 0:e.offsetTop)??0,width:(e==null?void 0:e.offsetWidth)??0,height:(e==null?void 0:e.offsetHeight)??0}),getRectById:(e,n)=>{const t=zr(R.getElements(e),R.getTriggerId(e,n));return R.resolveRect(R.getOffsetRect(t))},resolveRect:e=>({width:`${e.width}px`,height:`${e.height}px`,left:`${e.left}px`,top:`${e.top}px`})});function Pi(e,n,t){var a,l,s,c;const o=e.context.translations,r=e.matches("focused");function i(d){return{isSelected:e.context.value===d.value,isFocused:e.context.focusedValue===d.value,isDisabled:!!d.disabled}}return{value:e.context.value,focusedValue:e.context.focusedValue,setValue(d){n({type:"SET_VALUE",value:d})},clearValue(){n({type:"CLEAR_VALUE"})},setIndicatorRect(d){const p=R.getTriggerId(e.context,d);n({type:"SET_INDICATOR_RECT",id:p})},getTriggerState:i,rootProps:t.element({...gt.root.attrs,id:R.getRootId(e.context),"data-orientation":e.context.orientation,"data-focus":S(r),dir:e.context.dir}),listProps:t.element({...gt.list.attrs,id:R.getListId(e.context),role:"tablist",dir:e.context.dir,"data-focus":S(r),"aria-orientation":e.context.orientation,"data-orientation":e.context.orientation,"aria-label":o.listLabel,onKeyDown(d){const p=d.nativeEvent||d;if(!xo(p))return;const h={ArrowDown(){n("ARROW_DOWN")},ArrowUp(){n("ARROW_UP")},ArrowLeft(){n("ARROW_LEFT")},ArrowRight(){n("ARROW_RIGHT")},Home(){n("HOME")},End(){n("END")},Enter(){n({type:"ENTER",value:e.context.focusedValue})}};let u=at(d,e.context);const g=h[u];g&&(d.preventDefault(),g(d))}}),getTriggerProps(d){const{value:p,disabled:h}=d,u=i(d);return t.button({...gt.trigger.attrs,role:"tab",type:"button",disabled:h,dir:e.context.dir,"data-orientation":e.context.orientation,"data-disabled":S(h),"aria-disabled":h,"data-value":p,"aria-selected":u.isSelected,"data-selected":S(u.isSelected),"data-focus":S(u.isFocused),"aria-controls":R.getContentId(e.context,p),"data-ownedby":R.getListId(e.context),id:R.getTriggerId(e.context,p),tabIndex:u.isSelected?0:-1,onFocus(){n({type:"TAB_FOCUS",value:p})},onBlur(g){const f=g.relatedTarget;(f==null?void 0:f.getAttribute("role"))!=="tab"&&n({type:"TAB_BLUR"})},onClick(g){h||(Br()&&g.currentTarget.focus(),n({type:"TAB_CLICK",value:p}))}})},getContentProps(d){const{value:p}=d,h=e.context.value===p;return t.element({...gt.content.attrs,dir:e.context.dir,id:R.getContentId(e.context,p),tabIndex:0,"aria-labelledby":R.getTriggerId(e.context,p),role:"tabpanel","data-ownedby":R.getListId(e.context),"data-selected":S(h),"data-orientation":e.context.orientation,hidden:!h})},indicatorProps:t.element({id:R.getIndicatorId(e.context),...gt.indicator.attrs,dir:e.context.dir,"data-orientation":e.context.orientation,style:{"--transition-property":"left, right, top, bottom, width, height","--left":(a=e.context.indicatorRect)==null?void 0:a.left,"--top":(l=e.context.indicatorRect)==null?void 0:l.top,"--width":(s=e.context.indicatorRect)==null?void 0:s.width,"--height":(c=e.context.indicatorRect)==null?void 0:c.height,position:"absolute",willChange:"var(--transition-property)",transitionProperty:"var(--transition-property)",transitionDuration:e.context.canIndicatorTransition?"var(--transition-duration, 150ms)":"0ms",transitionTimingFunction:"var(--transition-timing-function)",[e.context.orientation==="horizontal"?"left":"top"]:e.context.orientation==="horizontal"?"var(--left)":"var(--top)"}})}}var{not:Oi}=Kt;function Ri(e){const n=Me(e);return Xe({initial:"idle",context:{dir:"ltr",orientation:"horizontal",activationMode:"automatic",value:null,focusedValue:null,indicatorRect:{left:"0px",top:"0px",width:"0px",height:"0px"},canIndicatorTransition:!1,isIndicatorRendered:!1,loop:!0,translations:{},...n},computed:{isHorizontal:t=>t.orientation==="horizontal",isVertical:t=>t.orientation==="vertical"},entry:["checkRenderedElements","syncIndicatorRect","setContentTabIndex"],exit:["cleanupObserver"],watch:{value:["enableIndicatorTransition","syncIndicatorRect","setContentTabIndex"],dir:["syncIndicatorRect"],orientation:["syncIndicatorRect"]},on:{SET_VALUE:{actions:"setValue"},CLEAR_VALUE:{actions:"clearValue"},SET_INDICATOR_RECT:{actions:"setIndicatorRect"}},states:{idle:{on:{TAB_FOCUS:[{guard:"selectOnFocus",target:"focused",actions:["setFocusedValue","setValue"]},{target:"focused",actions:"setFocusedValue"}],TAB_CLICK:{target:"focused",actions:["setFocusedValue","setValue"]}}},focused:{on:{TAB_CLICK:{target:"focused",actions:["setFocusedValue","setValue"]},ARROW_LEFT:{guard:"isHorizontal",actions:"focusPrevTab"},ARROW_RIGHT:{guard:"isHorizontal",actions:"focusNextTab"},ARROW_UP:{guard:"isVertical",actions:"focusPrevTab"},ARROW_DOWN:{guard:"isVertical",actions:"focusNextTab"},HOME:{actions:"focusFirstTab"},END:{actions:"focusLastTab"},ENTER:{guard:Oi("selectOnFocus"),actions:"setValue"},TAB_FOCUS:[{guard:"selectOnFocus",actions:["setFocusedValue","setValue"]},{actions:"setFocusedValue"}],TAB_BLUR:{target:"idle",actions:"clearFocusedValue"}}}}},{guards:{isVertical:t=>t.isVertical,isHorizontal:t=>t.isHorizontal,selectOnFocus:t=>t.activationMode==="automatic"},actions:{setFocusedValue(t,o){Pt.focusedValue(t,o.value)},clearFocusedValue(t){Pt.focusedValue(t,null)},setValue(t,o){Pt.value(t,o.value)},clearValue(t){Pt.value(t,null)},focusFirstTab(t){K(()=>{var o;return(o=R.getFirstEl(t))==null?void 0:o.focus()})},focusLastTab(t){K(()=>{var o;return(o=R.getLastEl(t))==null?void 0:o.focus()})},focusNextTab(t){if(!t.focusedValue)return;const o=R.getNextEl(t,t.focusedValue);K(()=>o==null?void 0:o.focus())},focusPrevTab(t){if(!t.focusedValue)return;const o=R.getPrevEl(t,t.focusedValue);K(()=>o==null?void 0:o.focus())},checkRenderedElements(t){t.isIndicatorRendered=!!R.getIndicatorEl(t)},setContentTabIndex(t){K(()=>{const o=R.getActiveContentEl(t);if(!o)return;Cr(o).length>0?o.removeAttribute("tabindex"):o.setAttribute("tabindex","0")})},cleanupObserver(t){var o;(o=t.indicatorCleanup)==null||o.call(t)},enableIndicatorTransition(t){t.canIndicatorTransition=!0},setIndicatorRect(t,o){const r=o.id??t.value;!t.isIndicatorRendered||!r||!R.getTriggerEl(t,r)||(t.indicatorRect=R.getRectById(t,r),bn(()=>{t.canIndicatorTransition=!1}))},syncIndicatorRect(t){var i;(i=t.indicatorCleanup)==null||i.call(t);const o=t.value;if(!t.isIndicatorRendered||!o)return;const r=R.getActiveTabEl(t);r&&(t.indicatorCleanup=Ei(r,{getRect(a){return R.getOffsetRect(a)},onChange(a){t.indicatorRect=R.resolveRect(a),bn(()=>{t.canIndicatorTransition=!1})}}))}}})}var oo={change:e=>{var n;e.value!=null&&((n=e.onValueChange)==null||n.call(e,{value:e.value}))},focusChange:e=>{var n;e.focusedValue!=null&&((n=e.onFocusChange)==null||n.call(e,{focusedValue:e.focusedValue}))}},Pt={value:(e,n)=>{we(n,e.value)||(e.value=n,oo.change(e))},focusedValue:(e,n)=>{we(n,e.focusedValue)||(e.focusedValue=n,oo.focusChange(e))}};ve()(["activationMode","dir","getRootNode","id","ids","loop","onFocusChange","onValueChange","orientation","translations","value"]);ve()(["disabled","value"]);ve()(["value"]);const ki=async()=>{if(window.monaco)return{monaco:window.monaco};const e=await on(()=>import("./DlKjphzx.js").then(n=>n.e),__vite__mapDeps([0,1,2,3]),import.meta.url);return window.monaco=e,await(async()=>{const[{default:n},{default:t}]=await Promise.all([on(()=>import("./CaUdfbQS.js"),[],import.meta.url),on(()=>import("./C__SbcrF.js"),[],import.meta.url)]);window.MonacoEnvironment={getWorker(o,r){switch(r){case"editorWorkerService":return new n;case"css":return new t;default:throw new Error(`Unknown label ${r}`)}}}})(),Gr()&&await new Promise(n=>_n(n)),{monaco:e}},ro=(e,n,t,o,r)=>{const i=[],a=e.editor.createModel(o,t);return i.push(a),i.push(a.onDidChangeContent(r)),{getModel:()=>a,activate:()=>{n.setModel(a)},dispose:()=>{i.forEach(l=>l.dispose())}}},Ai=async e=>{const n=[],{data:t,setData:o}=Ke(),{monaco:r}=await ki(),i=r.editor.create(e,{wordWrap:"on",fontSize:13,fontFamily:'Menlo, Monaco, "Courier New", monospace',lineHeight:1.5,automaticLayout:!0});n.push(i),r.editor.defineTheme("vs-dark-dimmed",{base:"vs-dark",inherit:!0,rules:[],colors:{"editor.background":"#334155","editor.lineHighlightBorder":"#4b5563","dropdown.background":"#4b5563","menu.separatorBackground":"#6b7280"}});const a=Ur();r.editor.setTheme(a.preference==="dark"?"vs-dark-dimmed":"vs"),Ne(()=>a.preference,c=>{r.editor.setTheme(c==="dark"?"vs-dark-dimmed":"vs")});const l=ro(r,i,"markdown",t.mdContent,fn(()=>{o("mdContent",l.getModel().getValue())},200));n.push(l);const s=ro(r,i,"css",t.cssContent,fn(()=>{o("cssContent",s.getModel().getValue())},200));return n.push(s),{editor:i,models:{markdown:l,css:s},dispose:()=>{n.forEach(c=>c.dispose())}}},_i={class:"absolute w-full h-0.4 bg-blue-500 dark:bg-blue-400 left-0 bottom-0 rounded"},xi=q({__name:"Editor",setup(e){const n=pe();let t;_n(async()=>{Sr&&n.value&&!t&&(t=await Ai(n.value),a("markdown"))}),Wr(()=>t==null?void 0:t.dispose());const{data:o,toggleMdFlag:r,toggleCssFlag:i}=Ke();Ne(()=>o.mdFlag,()=>{o.mdFlag&&(t==null||t.models.markdown.getModel().setValue(o.mdContent),r(!1))}),Ne(()=>o.cssFlag,()=>{o.cssFlag&&(t==null||t.models.css.getModel().setValue(o.cssContent),i(!1))});const a=p=>{t==null||t.models[p].activate()},l=[{value:"markdown",label:"Markdown"},{value:"css",label:"CSS"}],[s,c]=Ye(Ri({id:"editor",value:"markdown",onValueChange:p=>{a(p.value)}})),d=te(()=>Pi(s.value,c,Ze));return(p,h)=>(M(),Z("div",U({class:"pane-container"},E(d).rootProps),[y("div",U(E(d).listProps,{class:"hstack h-9 text-sm md:h-10 md:text-base w-full text-c bg-c border-b border-c px-4 space-x-2"}),[(M(),Z(qt,null,xn(l,u=>y("button",U(E(d).getTriggerProps({value:u.value}),{key:u.value,class:"relative leading-9 md:leading-10 px-2"}),[No(Y(u.label)+" ",1),rt(y("span",_i,null,512),[[it,E(d).value==u.value]])],16)),64))],16),y("div",{ref_key:"editorRef",ref:n,"h-full":""},null,512)],16))}});var Ni=q({name:"Zoom",props:{scale:{type:Number,required:!0}},setup(e,{slots:n}){const t=pe(),o=pe(),r=hn(t),i=hn(o),a=te(()=>Math.max(0,(r.width.value-e.scale*i.width.value)/2));return()=>to("div",{class:"vue-zoom-container",ref:t,style:{height:"100%"}},[to("div",{class:"vue-zoom",ref:o,style:{width:"fit-content",transformOrigin:"top left",transform:`scale(${e.scale})`,marginLeft:`${a.value}px`}},[n.default()])])}});const Xt=e=>(jr("data-v-7ebff9d5"),e=e(),Kr(),e),Fi={class:"pane-container"},Li={class:"zoom-bar hstack fixed bottom-4 lg:bottom-auto lg:top-15 ml-2 shadow-c rounded-full overflow-hidden text-white bg-blue-500 lg:opacity-0 hover:opacity-100"},Vi=Xt(()=>y("span",{"i-lucide:zoom-in":""},null,-1)),Di=[Vi],$i=Xt(()=>y("span",{"i-lucide:zoom-out":""},null,-1)),Mi=[$i],Hi=Xt(()=>y("span",{"i-fluent:arrow-autofit-width-20-filled":""},null,-1)),zi=[Hi],Bi=Xt(()=>y("span",{"i-fluent:arrow-autofit-height-20-filled":""},null,-1)),Ui=[Bi],Gi=q({__name:"Preview",setup(e){const n=pe(1),t=pe(),{width:o,height:r}=hn(t),{styles:i}=Pe(),{data:a}=Ke(),l=()=>{n.value=o.value/Yn(i.paper,"w")},s=()=>{n.value=r.value/Yn(i.paper,"h")};return Ne(o,()=>fn(l,100)()),(c,d)=>{const p=wr;return M(),Z("div",Fi,[V(E(Ni),{ref_key:"zoom",ref:t,scale:E(n)},{default:ae(()=>[V(p,{id:"preview",markdown:E(a).mdContent,css:E(a).cssContent,styles:E(i)},null,8,["markdown","css","styles"])]),_:1},8,["scale"]),y("div",Li,[y("button",{onClick:d[0]||(d[0]=h=>n.value*=1.1)},Di),y("button",{onClick:d[1]||(d[1]=h=>n.value/=1.1)},Mi),y("button",{onClick:l},zi),y("button",{onClick:s},Ui)])])}}}),Wi=Jt(Gi,[["__scopeId","data-v-7ebff9d5"]]);function ji(e){const n=new Map;return function(o,r){const i=o+(r?Object.entries(r).sort((l,s)=>l[0]{if(isNaN(e))return"";if(e===0)return"0 B";const{unit:o="byte",unitDisplay:r="short"}=t,i=o==="bit"?Ji:Xi,a=Math.max(0,Math.min(Math.floor(Math.log10(e)/3),i.length-1)),l=i[a]+o,s=r||"short",c=parseFloat((e/Math.pow(1e3,a)).toPrecision(3));return qi(c,n,{style:"unit",unit:l,unitDisplay:s})},$o={border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"};function Zi(e){return e==="audio/*"||e==="video/*"||e==="image/*"||e==="text/*"||/\w+\/[-+.\w]+/g.test(e)}function Qi(e){return/^.*\.[\w]+$/.test(e)}function ea(e){if(e)return typeof e=="string"?e:Object.entries(e).reduce((n,[t,o])=>[...n,t,...o],[]).filter(n=>Zi(n)||Qi(n)).join(",")}var ta=(e,n)=>e.name===n.name&&e.size===n.size&&e.type===n.type,pt=e=>e!=null;function na(e,n,t){if(pt(e.size))if(pt(n)&&pt(t)){if(e.size>t)return[!1,"FILE_TOO_LARGE"];if(e.sizet)return[!1,"FILE_TOO_LARGE"]}return[!0,null]}function oa(e,n){if(e&&n){const t=Array.isArray(n)?n:n.split(","),o=e.name||"",r=(e.type||"").toLowerCase(),i=r.replace(/\/.*$/,"");return t.some(a=>{const l=a.trim().toLowerCase();return l.charAt(0)==="."?o.toLowerCase().endsWith(l):l.endsWith("/*")?i===l.replace(/\/.*$/,""):r===l})}return!0}function ra(e,n){const t=e.type==="application/x-moz-file"||oa(e,n);return[t,t?null:"FILE_INVALID_TYPE"]}var ia=qe("file-upload").parts("root","dropzone","item","itemDeleteTrigger","itemGroup","itemName","itemPreview","itemPreviewImage","itemSizeText","label","trigger"),he=ia.build(),ee=Je({getRootId:e=>{var n;return((n=e.ids)==null?void 0:n.root)??`file:${e.id}`},getDropzoneId:e=>{var n;return((n=e.ids)==null?void 0:n.dropzone)??`file:${e.id}:dropzone`},getHiddenInputId:e=>{var n;return((n=e.ids)==null?void 0:n.hiddenInput)??`file:${e.id}:input`},getTriggerId:e=>{var n;return((n=e.ids)==null?void 0:n.trigger)??`file:${e.id}:trigger`},getLabelId:e=>{var n;return((n=e.ids)==null?void 0:n.label)??`file:${e.id}:label`},getItemId:(e,n)=>{var t,o;return((o=(t=e.ids)==null?void 0:t.item)==null?void 0:o.call(t,n))??`file:${e.id}:item:${n}`},getItemNameId:(e,n)=>{var t,o;return((o=(t=e.ids)==null?void 0:t.itemName)==null?void 0:o.call(t,n))??`file:${e.id}:item-name:${n}`},getItemSizeTextId:(e,n)=>{var t,o;return((o=(t=e.ids)==null?void 0:t.itemSizeText)==null?void 0:o.call(t,n))??`file:${e.id}:item-size:${n}`},getItemPreviewId:(e,n)=>{var t,o;return((o=(t=e.ids)==null?void 0:t.itemPreview)==null?void 0:o.call(t,n))??`file:${e.id}:item-preview:${n}`},getHiddenInputEl:e=>ee.getById(e,ee.getHiddenInputId(e)),getDropzoneEl:e=>ee.getById(e,ee.getDropzoneId(e))});function io(e){return e.dataTransfer?e.dataTransfer.types.some(n=>n==="Files"||n==="application/x-moz-file"):!!e.target&&"files"in e.target}function Mo(e,n){return!e.multiple&&n>1?!1:!e.multiple&&n+e.acceptedFiles.length===2?!0:!(n+e.acceptedFiles.length>e.maxFiles)}function aa(e,n){const t=[],o=[];return n.forEach(r=>{var p;const[i,a]=ra(r,e.acceptAttr),[l,s]=na(r,e.minFileSize,e.maxFileSize),c=(p=e.validate)==null?void 0:p.call(e,r),d=c?c.length===0:!0;if(i&&l&&d)t.push(r);else{const h=[a,s];d||h.push(...c??[]),o.push({file:r,errors:h.filter(Boolean)})}}),Mo(e,t.length)||(t.forEach(r=>{o.push({file:r,errors:["TOO_MANY_FILES"]})}),t.splice(0)),{acceptedFiles:t,rejectedFiles:o}}function sa(e,n,t){const o=e.context.disabled,r=e.context.allowDrop,i=e.context.translations,a=e.matches("dragging"),l=e.matches("focused")&&!o;return{isDragging:a,isFocused:l,open(){n("OPEN")},deleteFile(s){n({type:"FILE.DELETE",file:s})},acceptedFiles:e.context.acceptedFiles,rejectedFiles:e.context.rejectedFiles,setFiles(s){const c=s.length;n({type:"FILES.SET",files:s,count:c})},clearFiles(){n({type:"FILES.CLEAR"})},getFileSize(s){return Yi(s.size,e.context.locale)},createFileUrl(s,c){const d=ee.getWin(e.context),p=d.URL.createObjectURL(s);return c(p),()=>d.URL.revokeObjectURL(p)},rootProps:t.element({...he.root.attrs,dir:e.context.dir,id:ee.getRootId(e.context),"data-disabled":S(o),"data-dragging":S(a)}),dropzoneProps:t.element({...he.dropzone.attrs,dir:e.context.dir,id:ee.getDropzoneId(e.context),tabIndex:o?void 0:0,"aria-disabled":o,"aria-invalid":e.context.invalid,"data-invalid":S(e.context.invalid),"data-disabled":S(o),"data-dragging":S(a),onKeyDown(s){const c=s.nativeEvent||s;xo(c)&&(s.key!=="Enter"&&s.key!==" "||n({type:"DROPZONE.CLICK",src:"keydown"}))},onClick(s){s.currentTarget.localName==="label"&&s.preventDefault(),n("DROPZONE.CLICK")},onDragOver(s){if(!r)return;s.preventDefault(),s.stopPropagation();try{s.dataTransfer.dropEffect="copy"}catch{}if(!io(s))return;const d=s.dataTransfer.items.length;n({type:"DROPZONE.DRAG_OVER",count:d})},onDragLeave(s){!r||o||It(s.currentTarget,s.relatedTarget)||n({type:"DROPZONE.DRAG_LEAVE"})},onDrop(s){r&&(s.preventDefault(),s.stopPropagation());const c=io(s);o||!c||n({type:"DROPZONE.DROP",files:Array.from(s.dataTransfer.files)})},onFocus(){n("DROPZONE.FOCUS")},onBlur(){n("DROPZONE.BLUR")}}),triggerProps:t.button({...he.trigger.attrs,dir:e.context.dir,id:ee.getTriggerId(e.context),disabled:o,"data-disabled":S(o),type:"button",onClick(s){o||(It(ee.getDropzoneEl(e.context),s.currentTarget)&&s.stopPropagation(),n("OPEN"))}}),hiddenInputProps:t.input({id:ee.getHiddenInputId(e.context),tabIndex:-1,disabled:o,type:"file",capture:e.context.capture,name:e.context.name,accept:e.context.acceptAttr,webkitdirectory:e.context.capture?"":void 0,multiple:e.context.multiple||e.context.maxFiles>1,onClick(s){s.stopPropagation(),s.currentTarget.value=""},onChange(s){if(o)return;const{files:c}=s.currentTarget;n({type:"FILES.SET",files:c?Array.from(c):[]})},style:$o}),itemGroupProps:t.element({...he.itemGroup.attrs,dir:e.context.dir,"data-disabled":S(o)}),getItemProps(s){const{file:c}=s;return t.element({...he.item.attrs,dir:e.context.dir,id:ee.getItemId(e.context,c.name),"data-disabled":S(o)})},getItemNameProps(s){const{file:c}=s;return t.element({...he.itemName.attrs,dir:e.context.dir,id:ee.getItemNameId(e.context,c.name),"data-disabled":S(o)})},getItemSizeTextProps(s){const{file:c}=s;return t.element({...he.itemSizeText.attrs,dir:e.context.dir,id:ee.getItemSizeTextId(e.context,c.name),"data-disabled":S(o)})},getItemPreviewProps(s){const{file:c}=s;return t.element({...he.itemPreview.attrs,dir:e.context.dir,id:ee.getItemPreviewId(e.context,c.name),"data-disabled":S(o)})},getItemPreviewImageProps(s){const{file:c,url:d}=s;if(!c.type.startsWith("image/"))throw new Error("Preview Image is only supported for image files");return t.img({...he.itemPreviewImage.attrs,alt:i.itemPreview(c),src:d,"data-disabled":S(o)})},getItemDeleteTriggerProps(s){const{file:c}=s;return t.button({...he.itemDeleteTrigger.attrs,dir:e.context.dir,type:"button",disabled:o,"data-disabled":S(o),"aria-label":i.deleteFile(c),onClick(){o||n({type:"FILE.DELETE",file:c})}})},labelProps:t.label({...he.label.attrs,dir:e.context.dir,id:ee.getLabelId(e.context),htmlFor:ee.getHiddenInputId(e.context),"data-disabled":S(o)})}}var{not:ao}=Kt;function la(e){const n=Me(e);return Xe({id:"fileupload",initial:"idle",context:{minFileSize:0,maxFileSize:1/0,maxFiles:1,allowDrop:!0,...n,acceptedFiles:_e([]),rejectedFiles:_e([]),invalid:!1,translations:{itemPreview:t=>`preview of ${t.name}`,deleteFile:t=>`delete file ${t.name}`,...n.translations}},computed:{acceptAttr:t=>ea(t.accept),multiple:t=>t.maxFiles>1},on:{"FILES.SET":{actions:["setFilesFromEvent"]},"FILE.DELETE":{actions:["removeFile"]},"FILES.CLEAR":{actions:["clearFiles"]}},states:{idle:{on:{OPEN:{actions:["openFilePicker"]},"DROPZONE.CLICK":{actions:["openFilePicker"]},"DROPZONE.FOCUS":"focused","DROPZONE.DRAG_OVER":[{guard:ao("isWithinRange"),target:"dragging",actions:["setInvalid"]},{target:"dragging"}]}},focused:{on:{"DROPZONE.BLUR":"idle",OPEN:{actions:["openFilePicker"]},"DROPZONE.CLICK":{actions:["openFilePicker"]},"DROPZONE.DRAG_OVER":[{guard:ao("isWithinRange"),target:"dragging",actions:["setInvalid"]},{target:"dragging"}]}},dragging:{on:{"DROPZONE.DROP":{target:"idle",actions:["clearInvalid","setFilesFromEvent"]},"DROPZONE.DRAG_LEAVE":{target:"idle",actions:["clearInvalid"]}}}}},{guards:{isWithinRange:(t,o)=>Mo(t,o.count)},actions:{openFilePicker(t){K(()=>{var o;(o=ee.getHiddenInputEl(t))==null||o.click()})},setInvalid(t){t.invalid=!0},clearInvalid(t){t.invalid=!1},setFilesFromEvent(t,o){const r=aa(t,o.files),{acceptedFiles:i,rejectedFiles:a}=r;if(t.multiple){const l=_e([...t.acceptedFiles,...i]);ft.files(t,l,a);return}if(i.length){const l=_e([i[0]]);ft.files(t,l,a)}else a.length&&ft.files(t,[],a)},removeFile(t,o){const r=t.acceptedFiles.filter(i=>i!==o.file);ft.files(t,r)},clearFiles(t){ft.files(t,[])}},compareFns:{acceptedFiles:(t,o)=>t.length===o.length&&t.every((r,i)=>ta(r,o[i]))}})}var rn={change:e=>{var n;(n=e.onFileChange)==null||n.call(e,{acceptedFiles:e.acceptedFiles,rejectedFiles:e.rejectedFiles})},accept:e=>{var n;(n=e.onFileAccept)==null||n.call(e,{files:e.acceptedFiles})},reject:e=>{var n;(n=e.onFileReject)==null||n.call(e,{files:e.rejectedFiles})}},ft={files:(e,n,t)=>{e.acceptedFiles=_e(n),rn.accept(e),t&&(e.rejectedFiles=_e(t),rn.reject(e)),rn.change(e)}};ve()(["accept","allowDrop","capture","dir","directory","disabled","getRootNode","id","ids","locale","maxFiles","maxFileSize","minFileSize","name","onFileAccept","onFileReject","onFileChange","translations","validate"]);ve()(["file"]);const ca={"flex-1":"","px-4":"","py-6":"","space-y-6":"","bg-dark-c":"","text-sm":""},ua={"text-center":""},da={key:0,class:"bg-darker-c rounded py-1 px-2"},ga=y("div",{hstack:""},[y("div",{"flex-1":"",border:"t c"}),y("div",{"px-5":""},"OR"),y("div",{"flex-1":"",border:"t c"})],-1),pa={class:"hstack w-full space-x-1.5"},fa=["value","placeholder"],ha=y("span",{"i-line-md:confirm":""},null,-1),ma=[ha],ba=q({__name:"ImportDialogContent",setup(e){const n=pe(null),[t,o]=Ye(la({id:"import-dialog",accept:".md",onFileAccept:({files:l})=>{const s=new FileReader;s.onloadend=()=>{const c=s.result;mn(c)},s.readAsText(l[0]),n.value=l[0].name,i.value=""}})),r=te(()=>sa(t.value,o,Ze)),i=pe(""),a=()=>{i.value.trim()!==""&&Tr(i.value).then(l=>{mn(l),n.value=null})};return(l,s)=>(M(),Z("div",ca,[y("div",U(E(r).rootProps,{class:"w-full space-y-2"}),[y("div",U(E(r).dropzoneProps,{class:"py-12 hover:bg-darker-c cursor-pointer",border:"~ c dashed rounded"}),[y("input",ye(Ie(E(r).hiddenInputProps)),null,16),y("div",ua,Y(l.$t("import.from_local")),1)],16),E(n)?(M(),Z("div",da,Y(E(n)),1)):St("",!0)],16),ga,y("div",pa,[y("input",{class:"flex-1 h-7 px-2 rounded-sm outline-none bg-c",value:E(i),placeholder:l.$t("import.from_url"),onChange:s[0]||(s[0]=c=>i.value=c.target.value),onKeyup:qr(a,["enter"])},null,40,fa),y("button",{class:"flex-center w-8 h-7 bg-blue-500 hover:bg-blue-600 text-white rounded-sm",onClick:a},ma)])]))}});var ht=new WeakMap,de=[];function va(e,n={}){const{rootEl:t}=n,o=e.filter(Boolean);if(o.length===0)return;const r=o[0].ownerDocument||document,i=r.defaultView??window,a=new Set(o),l=new Set,s=t??r.body;let c=u=>{for(let b of u.querySelectorAll("[data-live-announcer], [data-zag-top-layer]"))a.add(b);let g=b=>{if(a.has(b)||l.has(b.parentElement)&&b.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let C of a)if(b.contains(C))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},f=r.createTreeWalker(u,NodeFilter.SHOW_ELEMENT,{acceptNode:g}),m=g(u);if(m===NodeFilter.FILTER_ACCEPT&&d(u),m!==NodeFilter.FILTER_REJECT){let b=f.nextNode();for(;b!=null;)d(b),b=f.nextNode()}},d=u=>{let g=ht.get(u)??0;u.getAttribute("aria-hidden")==="true"&&g===0||(g===0&&u.setAttribute("aria-hidden","true"),l.add(u),ht.set(u,g+1))};de.length&&de[de.length-1].disconnect(),c(s);const p=new i.MutationObserver(u=>{for(let g of u)if(!(g.type!=="childList"||g.addedNodes.length===0)&&![...a,...l].some(f=>f.contains(g.target))){for(let f of g.removedNodes)f instanceof i.Element&&(a.delete(f),l.delete(f));for(let f of g.addedNodes)(f instanceof i.HTMLElement||f instanceof i.SVGElement)&&(f.dataset.liveAnnouncer==="true"||f.dataset.zagTopLayer==="true")?a.add(f):f instanceof i.Element&&c(f)}});p.observe(s,{childList:!0,subtree:!0});let h={observe(){p.observe(s,{childList:!0,subtree:!0})},disconnect(){p.disconnect()}};return de.push(h),()=>{p.disconnect();for(let u of l){let g=ht.get(u);g===1?(u.removeAttribute("aria-hidden"),ht.delete(u)):ht.set(u,g-1)}h===de[de.length-1]?(de.pop(),de.length&&de[de.length-1].observe()):de.splice(de.indexOf(h),1)}}function Ho(e,n={}){const{defer:t}=n,o=t?K:i=>i(),r=[];return r.push(o(()=>{const i=typeof e=="function"?e():e;r.push(va(i,n))})),()=>{r.forEach(i=>i==null?void 0:i())}}function ya(e,n){const t=o=>{o.key==="Escape"&&(n==null||n(o))};return Yr(Fo(e),"keydown",t,{capture:!0})}var me={layers:[],branches:[],count(){return this.layers.length},pointerBlockingLayers(){return this.layers.filter(e=>e.pointerBlocking)},topMostPointerBlockingLayer(){return[...this.pointerBlockingLayers()].slice(-1)[0]},hasPointerBlockingLayer(){return this.pointerBlockingLayers().length>0},isBelowPointerBlockingLayer(e){var o;const n=this.indexOf(e),t=this.topMostPointerBlockingLayer()?this.indexOf((o=this.topMostPointerBlockingLayer())==null?void 0:o.node):-1;return nIt(t.node,n))},isInBranch(e){return Array.from(this.branches).some(n=>It(n,e))},add(e){const n=this.layers.push(e);e.node.style.setProperty("--layer-index",`${n}`)},addBranch(e){this.branches.push(e)},remove(e){const n=this.indexOf(e);n<0||(no.dismiss()),this.layers.splice(n,1),e.style.removeProperty("--layer-index"))},removeBranch(e){const n=this.branches.indexOf(e);n>=0&&this.branches.splice(n,1)},indexOf(e){return this.layers.findIndex(n=>n.node===e)},dismiss(e){var n;(n=this.layers[this.indexOf(e)])==null||n.dismiss()},clear(){this.remove(this.layers[0].node)}},so;function lo(){me.layers.forEach(({node:e})=>{e.style.pointerEvents=me.isBelowPointerBlockingLayer(e)?"none":"auto"})}function Ia(e){e.style.pointerEvents=""}var an="data-inert";function Ea(e){const n=Fo(e);return me.hasPointerBlockingLayer()&&!n.body.hasAttribute(an)&&(so=document.body.style.pointerEvents,n.body.style.pointerEvents="none",n.body.setAttribute(an,"")),()=>{me.hasPointerBlockingLayer()||(n.body.style.pointerEvents=so,n.body.removeAttribute(an),n.body.style.length===0&&n.body.removeAttribute("style"))}}function Ca(e,n){if(!e){Xr("[@zag-js/dismissable] node is `null` or `undefined`");return}const{onDismiss:t,pointerBlocking:o,exclude:r,debug:i}=n,a={dismiss:t,node:e,pointerBlocking:o};me.add(a),lo();function l(h){var g,f;const u=no(h.detail.originalEvent);me.isBelowPointerBlockingLayer(e)||me.isInBranch(u)||((g=n.onPointerDownOutside)==null||g.call(n,h),(f=n.onInteractOutside)==null||f.call(n,h),!h.defaultPrevented&&(i&&console.log("onPointerDownOutside:",h.detail.originalEvent),t==null||t()))}function s(h){var g,f;const u=no(h.detail.originalEvent);me.isInBranch(u)||((g=n.onFocusOutside)==null||g.call(n,h),(f=n.onInteractOutside)==null||f.call(n,h),!h.defaultPrevented&&(i&&console.log("onFocusOutside:",h.detail.originalEvent),t==null||t()))}function c(h){var u;me.isTopMost(e)&&((u=n.onEscapeKeyDown)==null||u.call(n,h),!h.defaultPrevented&&t&&(h.preventDefault(),t()))}function d(h){if(!e)return!1;const u=typeof r=="function"?r():r;return(Array.isArray(u)?u:[u]).some(f=>It(f,h))||me.isInNestedLayer(e,h)}const p=[o?Ea(e):void 0,ya(e,c),Pr(e,{exclude:d,onFocusOutside:s,onPointerDownOutside:l,defer:n.defer})];return()=>{me.remove(e),lo(),Ia(e),p.forEach(h=>h==null?void 0:h())}}function Ln(e,n){const{defer:t}=n,o=t?K:i=>i(),r=[];return r.push(o(()=>{const i=Jr(e)?e():e;r.push(Ca(i,n))})),()=>{r.forEach(i=>i==null?void 0:i())}}var sn="data-zag-scroll-lock";function co(e,n){if(!e)return;const t=e.style.cssText;return Object.assign(e.style,n),()=>{e.style.cssText=t}}function Sa(e,n,t){if(!e)return;const o=e.style.getPropertyValue(n);return e.style.setProperty(n,t),()=>{o?e.style.setProperty(n,o):e.style.removeProperty(n)}}function wa(e){const n=e.getBoundingClientRect().left;return Math.round(n)+e.scrollLeft?"paddingLeft":"paddingRight"}function Ta(e){const n=e??document,t=n.defaultView??window,{documentElement:o,body:r}=n;if(r.hasAttribute(sn))return;r.setAttribute(sn,"");const a=t.innerWidth-o.clientWidth,l=()=>Sa(o,"--scrollbar-width",`${a}px`),s=wa(o),c=()=>co(r,{overflow:"hidden",[s]:`${a}px`}),d=()=>{const{scrollX:h,scrollY:u,visualViewport:g}=t,f=(g==null?void 0:g.offsetLeft)??0,m=(g==null?void 0:g.offsetTop)??0,b=co(r,{position:"fixed",overflow:"hidden",top:`${-(u-Math.floor(m))}px`,left:`${-(h-Math.floor(f))}px`,right:"0",[s]:`${a}px`});return()=>{b==null||b(),t.scrollTo({left:h,top:u,behavior:"instant"})}},p=[l(),Zr()?d():c()];return()=>{p.forEach(h=>h==null?void 0:h()),r.removeAttribute(sn)}}/*! +import{u as Ke,r as vr,_ as yr,a as Pe,b as Ir,s as Er,g as Cr,c as fn,i as Sr,d as hn,e as Yn,f as wr,h as mn,j as Tr,t as Pr,k as Or,P as Rr,l as kr,T as Ar,m as _r,C as xr,n as Zn,E as Qn,o as eo,p as Nr,q as Fr,v as Lr}from"./Tkxs5xfc.js";import{f as q,o as M,g as be,h as E,c as Z,i as Vr,a as y,j as rt,v as it,k as qe,l as Je,q as Ge,m as Dr,s as $r,x as Mr,y as Hr,z as zr,A as Me,B as Xe,C as K,D as bn,E as we,G as ve,H as S,I as xo,J as at,K as Br,L as Kt,M as Ur,N as Ne,O as on,P as Gr,Q as _n,R as pe,S as Wr,T as Ye,U as te,F as qt,r as xn,V as U,d as No,t as Y,W as Ze,X as to,b as V,w as ae,p as jr,e as Kr,_ as Jt,Y as It,Z as _e,$ as ye,a0 as Ie,a1 as St,a2 as qr,a3 as Jr,a4 as Xr,a5 as Yr,a6 as Fo,a7 as no,a8 as Zr,a9 as Ft,aa as vn,n as Nn,ab as Qr,ac as ei,ad as ti,ae as ni,af as oi,ag as Lo,ah as nt,ai as Et,aj as ri,ak as yn,al as ii,am as ai,an as Lt,ao as Fn,ap as si,aq as li,ar as ci,as as In,at as En,au as Vt,av as ui,aw as di}from"./BPRoNp8L.js";import{_ as gi}from"./Y1k7zYV_.js";import"./CXg0UUxL.js";const pi=q({__name:"RenameResume",setup(e){const{data:n}=Ke(),t=o=>{n.curResumeName=o,vr(n.curResumeId,o)};return(o,r)=>{const i=yr;return M(),be(i,{id:"edit-rename",class:"w-50 mx-2 text-sm md:text-base",default:E(n).curResumeName,"on-value-commit":t},null,8,["default"])}}}),fi=y("span",{"i-ic:baseline-save":"","md:text-lg":""},null,-1),hi=[fi],mi=q({__name:"SaveResume",setup(e){const{data:n}=Ke(),{styles:t}=Pe(),o=()=>{const r=n.curResumeId,i=new Date().getTime().toString(),a={name:n.curResumeName,markdown:n.mdContent,css:n.cssContent,styles:Vr(t),update:i};Er(r,a)};return Ir("ctrl+s",o),(r,i)=>(M(),Z("button",{class:"round-btn",onClick:o},hi))}}),bi={"i-tabler:layout-sidebar-right-collapse":"","md:text-lg":""},vi={"i-tabler:layout-sidebar-right-expand":"","md:text-lg":""},yi=q({__name:"ToggleToolbar",props:{isToolbarOpen:{type:Boolean}},emits:["toggleToolbar"],setup(e){return(n,t)=>(M(),Z("button",{class:"round-btn",onClick:t[0]||(t[0]=o=>n.$emit("toggleToolbar"))},[rt(y("span",bi,null,512),[[it,n.isToolbarOpen]]),rt(y("span",vi,null,512),[[it,!n.isToolbarOpen]])]))}});var Cn,Be=new Map,Ii=e=>e.getBoundingClientRect();function Ei(e,n){const{scope:t="rect",getRect:o=Ii,onChange:r}=n,i=Ci({scope:t,getRect:o}),a=Be.get(e);return a?(a.callbacks.push(r),r(o(e))):(Be.set(e,{rect:{},callbacks:[r]}),Be.size===1&&(Cn=requestAnimationFrame(i))),function(){const s=Be.get(e);if(!s)return;const c=s.callbacks.indexOf(r);c>-1&&s.callbacks.splice(c,1),s.callbacks.length===0&&(Be.delete(e),Be.size===0&&cancelAnimationFrame(Cn))}}function Ci(e){const{scope:n,getRect:t}=e,o=wi(n);return function r(){const i=[];Be.forEach((a,l)=>{const s=t(l);o(a.rect,s)||(a.rect=s,i.push(a))}),i.forEach(a=>{a.callbacks.forEach(l=>l(a.rect))}),Cn=requestAnimationFrame(r)}}var Vo=(e,n)=>e.width===n.width&&e.height===n.height,Do=(e,n)=>e.top===n.top&&e.left===n.left,Si=(e,n)=>Vo(e,n)&&Do(e,n);function wi(e){return e==="size"?Vo:e==="position"?Do:Si}var Ti=qe("tabs").parts("root","list","trigger","content","indicator"),gt=Ti.build(),R=Je({getRootId:e=>{var n;return((n=e.ids)==null?void 0:n.root)??`tabs:${e.id}`},getListId:e=>{var n;return((n=e.ids)==null?void 0:n.list)??`tabs:${e.id}:list`},getContentId:(e,n)=>{var t;return((t=e.ids)==null?void 0:t.content)??`tabs:${e.id}:content-${n}`},getTriggerId:(e,n)=>{var t;return((t=e.ids)==null?void 0:t.trigger)??`tabs:${e.id}:trigger-${n}`},getIndicatorId:e=>{var n;return((n=e.ids)==null?void 0:n.indicator)??`tabs:${e.id}:indicator`},getListEl:e=>R.getById(e,R.getListId(e)),getContentEl:(e,n)=>R.getById(e,R.getContentId(e,n)),getTriggerEl:(e,n)=>R.getById(e,R.getTriggerId(e,n)),getIndicatorEl:e=>R.getById(e,R.getIndicatorId(e)),getElements:e=>{const t=`[role=tab][data-ownedby='${CSS.escape(R.getListId(e))}']:not([disabled])`;return Ge(R.getListEl(e),t)},getFirstEl:e=>Dr(R.getElements(e)),getLastEl:e=>$r(R.getElements(e)),getNextEl:(e,n)=>Mr(R.getElements(e),R.getTriggerId(e,n),e.loop),getPrevEl:(e,n)=>Hr(R.getElements(e),R.getTriggerId(e,n),e.loop),getActiveContentEl:e=>{if(e.value)return R.getContentEl(e,e.value)},getActiveTabEl:e=>{if(e.value)return R.getTriggerEl(e,e.value)},getOffsetRect:e=>({left:(e==null?void 0:e.offsetLeft)??0,top:(e==null?void 0:e.offsetTop)??0,width:(e==null?void 0:e.offsetWidth)??0,height:(e==null?void 0:e.offsetHeight)??0}),getRectById:(e,n)=>{const t=zr(R.getElements(e),R.getTriggerId(e,n));return R.resolveRect(R.getOffsetRect(t))},resolveRect:e=>({width:`${e.width}px`,height:`${e.height}px`,left:`${e.left}px`,top:`${e.top}px`})});function Pi(e,n,t){var a,l,s,c;const o=e.context.translations,r=e.matches("focused");function i(d){return{isSelected:e.context.value===d.value,isFocused:e.context.focusedValue===d.value,isDisabled:!!d.disabled}}return{value:e.context.value,focusedValue:e.context.focusedValue,setValue(d){n({type:"SET_VALUE",value:d})},clearValue(){n({type:"CLEAR_VALUE"})},setIndicatorRect(d){const p=R.getTriggerId(e.context,d);n({type:"SET_INDICATOR_RECT",id:p})},getTriggerState:i,rootProps:t.element({...gt.root.attrs,id:R.getRootId(e.context),"data-orientation":e.context.orientation,"data-focus":S(r),dir:e.context.dir}),listProps:t.element({...gt.list.attrs,id:R.getListId(e.context),role:"tablist",dir:e.context.dir,"data-focus":S(r),"aria-orientation":e.context.orientation,"data-orientation":e.context.orientation,"aria-label":o.listLabel,onKeyDown(d){const p=d.nativeEvent||d;if(!xo(p))return;const h={ArrowDown(){n("ARROW_DOWN")},ArrowUp(){n("ARROW_UP")},ArrowLeft(){n("ARROW_LEFT")},ArrowRight(){n("ARROW_RIGHT")},Home(){n("HOME")},End(){n("END")},Enter(){n({type:"ENTER",value:e.context.focusedValue})}};let u=at(d,e.context);const g=h[u];g&&(d.preventDefault(),g(d))}}),getTriggerProps(d){const{value:p,disabled:h}=d,u=i(d);return t.button({...gt.trigger.attrs,role:"tab",type:"button",disabled:h,dir:e.context.dir,"data-orientation":e.context.orientation,"data-disabled":S(h),"aria-disabled":h,"data-value":p,"aria-selected":u.isSelected,"data-selected":S(u.isSelected),"data-focus":S(u.isFocused),"aria-controls":R.getContentId(e.context,p),"data-ownedby":R.getListId(e.context),id:R.getTriggerId(e.context,p),tabIndex:u.isSelected?0:-1,onFocus(){n({type:"TAB_FOCUS",value:p})},onBlur(g){const f=g.relatedTarget;(f==null?void 0:f.getAttribute("role"))!=="tab"&&n({type:"TAB_BLUR"})},onClick(g){h||(Br()&&g.currentTarget.focus(),n({type:"TAB_CLICK",value:p}))}})},getContentProps(d){const{value:p}=d,h=e.context.value===p;return t.element({...gt.content.attrs,dir:e.context.dir,id:R.getContentId(e.context,p),tabIndex:0,"aria-labelledby":R.getTriggerId(e.context,p),role:"tabpanel","data-ownedby":R.getListId(e.context),"data-selected":S(h),"data-orientation":e.context.orientation,hidden:!h})},indicatorProps:t.element({id:R.getIndicatorId(e.context),...gt.indicator.attrs,dir:e.context.dir,"data-orientation":e.context.orientation,style:{"--transition-property":"left, right, top, bottom, width, height","--left":(a=e.context.indicatorRect)==null?void 0:a.left,"--top":(l=e.context.indicatorRect)==null?void 0:l.top,"--width":(s=e.context.indicatorRect)==null?void 0:s.width,"--height":(c=e.context.indicatorRect)==null?void 0:c.height,position:"absolute",willChange:"var(--transition-property)",transitionProperty:"var(--transition-property)",transitionDuration:e.context.canIndicatorTransition?"var(--transition-duration, 150ms)":"0ms",transitionTimingFunction:"var(--transition-timing-function)",[e.context.orientation==="horizontal"?"left":"top"]:e.context.orientation==="horizontal"?"var(--left)":"var(--top)"}})}}var{not:Oi}=Kt;function Ri(e){const n=Me(e);return Xe({initial:"idle",context:{dir:"ltr",orientation:"horizontal",activationMode:"automatic",value:null,focusedValue:null,indicatorRect:{left:"0px",top:"0px",width:"0px",height:"0px"},canIndicatorTransition:!1,isIndicatorRendered:!1,loop:!0,translations:{},...n},computed:{isHorizontal:t=>t.orientation==="horizontal",isVertical:t=>t.orientation==="vertical"},entry:["checkRenderedElements","syncIndicatorRect","setContentTabIndex"],exit:["cleanupObserver"],watch:{value:["enableIndicatorTransition","syncIndicatorRect","setContentTabIndex"],dir:["syncIndicatorRect"],orientation:["syncIndicatorRect"]},on:{SET_VALUE:{actions:"setValue"},CLEAR_VALUE:{actions:"clearValue"},SET_INDICATOR_RECT:{actions:"setIndicatorRect"}},states:{idle:{on:{TAB_FOCUS:[{guard:"selectOnFocus",target:"focused",actions:["setFocusedValue","setValue"]},{target:"focused",actions:"setFocusedValue"}],TAB_CLICK:{target:"focused",actions:["setFocusedValue","setValue"]}}},focused:{on:{TAB_CLICK:{target:"focused",actions:["setFocusedValue","setValue"]},ARROW_LEFT:{guard:"isHorizontal",actions:"focusPrevTab"},ARROW_RIGHT:{guard:"isHorizontal",actions:"focusNextTab"},ARROW_UP:{guard:"isVertical",actions:"focusPrevTab"},ARROW_DOWN:{guard:"isVertical",actions:"focusNextTab"},HOME:{actions:"focusFirstTab"},END:{actions:"focusLastTab"},ENTER:{guard:Oi("selectOnFocus"),actions:"setValue"},TAB_FOCUS:[{guard:"selectOnFocus",actions:["setFocusedValue","setValue"]},{actions:"setFocusedValue"}],TAB_BLUR:{target:"idle",actions:"clearFocusedValue"}}}}},{guards:{isVertical:t=>t.isVertical,isHorizontal:t=>t.isHorizontal,selectOnFocus:t=>t.activationMode==="automatic"},actions:{setFocusedValue(t,o){Pt.focusedValue(t,o.value)},clearFocusedValue(t){Pt.focusedValue(t,null)},setValue(t,o){Pt.value(t,o.value)},clearValue(t){Pt.value(t,null)},focusFirstTab(t){K(()=>{var o;return(o=R.getFirstEl(t))==null?void 0:o.focus()})},focusLastTab(t){K(()=>{var o;return(o=R.getLastEl(t))==null?void 0:o.focus()})},focusNextTab(t){if(!t.focusedValue)return;const o=R.getNextEl(t,t.focusedValue);K(()=>o==null?void 0:o.focus())},focusPrevTab(t){if(!t.focusedValue)return;const o=R.getPrevEl(t,t.focusedValue);K(()=>o==null?void 0:o.focus())},checkRenderedElements(t){t.isIndicatorRendered=!!R.getIndicatorEl(t)},setContentTabIndex(t){K(()=>{const o=R.getActiveContentEl(t);if(!o)return;Cr(o).length>0?o.removeAttribute("tabindex"):o.setAttribute("tabindex","0")})},cleanupObserver(t){var o;(o=t.indicatorCleanup)==null||o.call(t)},enableIndicatorTransition(t){t.canIndicatorTransition=!0},setIndicatorRect(t,o){const r=o.id??t.value;!t.isIndicatorRendered||!r||!R.getTriggerEl(t,r)||(t.indicatorRect=R.getRectById(t,r),bn(()=>{t.canIndicatorTransition=!1}))},syncIndicatorRect(t){var i;(i=t.indicatorCleanup)==null||i.call(t);const o=t.value;if(!t.isIndicatorRendered||!o)return;const r=R.getActiveTabEl(t);r&&(t.indicatorCleanup=Ei(r,{getRect(a){return R.getOffsetRect(a)},onChange(a){t.indicatorRect=R.resolveRect(a),bn(()=>{t.canIndicatorTransition=!1})}}))}}})}var oo={change:e=>{var n;e.value!=null&&((n=e.onValueChange)==null||n.call(e,{value:e.value}))},focusChange:e=>{var n;e.focusedValue!=null&&((n=e.onFocusChange)==null||n.call(e,{focusedValue:e.focusedValue}))}},Pt={value:(e,n)=>{we(n,e.value)||(e.value=n,oo.change(e))},focusedValue:(e,n)=>{we(n,e.focusedValue)||(e.focusedValue=n,oo.focusChange(e))}};ve()(["activationMode","dir","getRootNode","id","ids","loop","onFocusChange","onValueChange","orientation","translations","value"]);ve()(["disabled","value"]);ve()(["value"]);const ki=async()=>{if(window.monaco)return{monaco:window.monaco};const e=await on(()=>import("./CSm8Qi0c.js").then(n=>n.e),__vite__mapDeps([0,1,2,3]),import.meta.url);return window.monaco=e,await(async()=>{const[{default:n},{default:t}]=await Promise.all([on(()=>import("./CaUdfbQS.js"),[],import.meta.url),on(()=>import("./C__SbcrF.js"),[],import.meta.url)]);window.MonacoEnvironment={getWorker(o,r){switch(r){case"editorWorkerService":return new n;case"css":return new t;default:throw new Error(`Unknown label ${r}`)}}}})(),Gr()&&await new Promise(n=>_n(n)),{monaco:e}},ro=(e,n,t,o,r)=>{const i=[],a=e.editor.createModel(o,t);return i.push(a),i.push(a.onDidChangeContent(r)),{getModel:()=>a,activate:()=>{n.setModel(a)},dispose:()=>{i.forEach(l=>l.dispose())}}},Ai=async e=>{const n=[],{data:t,setData:o}=Ke(),{monaco:r}=await ki(),i=r.editor.create(e,{wordWrap:"on",fontSize:13,fontFamily:'Menlo, Monaco, "Courier New", monospace',lineHeight:1.5,automaticLayout:!0});n.push(i),r.editor.defineTheme("vs-dark-dimmed",{base:"vs-dark",inherit:!0,rules:[],colors:{"editor.background":"#334155","editor.lineHighlightBorder":"#4b5563","dropdown.background":"#4b5563","menu.separatorBackground":"#6b7280"}});const a=Ur();r.editor.setTheme(a.preference==="dark"?"vs-dark-dimmed":"vs"),Ne(()=>a.preference,c=>{r.editor.setTheme(c==="dark"?"vs-dark-dimmed":"vs")});const l=ro(r,i,"markdown",t.mdContent,fn(()=>{o("mdContent",l.getModel().getValue())},200));n.push(l);const s=ro(r,i,"css",t.cssContent,fn(()=>{o("cssContent",s.getModel().getValue())},200));return n.push(s),{editor:i,models:{markdown:l,css:s},dispose:()=>{n.forEach(c=>c.dispose())}}},_i={class:"absolute w-full h-0.4 bg-blue-500 dark:bg-blue-400 left-0 bottom-0 rounded"},xi=q({__name:"Editor",setup(e){const n=pe();let t;_n(async()=>{Sr&&n.value&&!t&&(t=await Ai(n.value),a("markdown"))}),Wr(()=>t==null?void 0:t.dispose());const{data:o,toggleMdFlag:r,toggleCssFlag:i}=Ke();Ne(()=>o.mdFlag,()=>{o.mdFlag&&(t==null||t.models.markdown.getModel().setValue(o.mdContent),r(!1))}),Ne(()=>o.cssFlag,()=>{o.cssFlag&&(t==null||t.models.css.getModel().setValue(o.cssContent),i(!1))});const a=p=>{t==null||t.models[p].activate()},l=[{value:"markdown",label:"Markdown"},{value:"css",label:"CSS"}],[s,c]=Ye(Ri({id:"editor",value:"markdown",onValueChange:p=>{a(p.value)}})),d=te(()=>Pi(s.value,c,Ze));return(p,h)=>(M(),Z("div",U({class:"pane-container"},E(d).rootProps),[y("div",U(E(d).listProps,{class:"hstack h-9 text-sm md:h-10 md:text-base w-full text-c bg-c border-b border-c px-4 space-x-2"}),[(M(),Z(qt,null,xn(l,u=>y("button",U(E(d).getTriggerProps({value:u.value}),{key:u.value,class:"relative leading-9 md:leading-10 px-2"}),[No(Y(u.label)+" ",1),rt(y("span",_i,null,512),[[it,E(d).value==u.value]])],16)),64))],16),y("div",{ref_key:"editorRef",ref:n,"h-full":""},null,512)],16))}});var Ni=q({name:"Zoom",props:{scale:{type:Number,required:!0}},setup(e,{slots:n}){const t=pe(),o=pe(),r=hn(t),i=hn(o),a=te(()=>Math.max(0,(r.width.value-e.scale*i.width.value)/2));return()=>to("div",{class:"vue-zoom-container",ref:t,style:{height:"100%"}},[to("div",{class:"vue-zoom",ref:o,style:{width:"fit-content",transformOrigin:"top left",transform:`scale(${e.scale})`,marginLeft:`${a.value}px`}},[n.default()])])}});const Xt=e=>(jr("data-v-7ebff9d5"),e=e(),Kr(),e),Fi={class:"pane-container"},Li={class:"zoom-bar hstack fixed bottom-4 lg:bottom-auto lg:top-15 ml-2 shadow-c rounded-full overflow-hidden text-white bg-blue-500 lg:opacity-0 hover:opacity-100"},Vi=Xt(()=>y("span",{"i-lucide:zoom-in":""},null,-1)),Di=[Vi],$i=Xt(()=>y("span",{"i-lucide:zoom-out":""},null,-1)),Mi=[$i],Hi=Xt(()=>y("span",{"i-fluent:arrow-autofit-width-20-filled":""},null,-1)),zi=[Hi],Bi=Xt(()=>y("span",{"i-fluent:arrow-autofit-height-20-filled":""},null,-1)),Ui=[Bi],Gi=q({__name:"Preview",setup(e){const n=pe(1),t=pe(),{width:o,height:r}=hn(t),{styles:i}=Pe(),{data:a}=Ke(),l=()=>{n.value=o.value/Yn(i.paper,"w")},s=()=>{n.value=r.value/Yn(i.paper,"h")};return Ne(o,()=>fn(l,100)()),(c,d)=>{const p=wr;return M(),Z("div",Fi,[V(E(Ni),{ref_key:"zoom",ref:t,scale:E(n)},{default:ae(()=>[V(p,{id:"preview",markdown:E(a).mdContent,css:E(a).cssContent,styles:E(i)},null,8,["markdown","css","styles"])]),_:1},8,["scale"]),y("div",Li,[y("button",{onClick:d[0]||(d[0]=h=>n.value*=1.1)},Di),y("button",{onClick:d[1]||(d[1]=h=>n.value/=1.1)},Mi),y("button",{onClick:l},zi),y("button",{onClick:s},Ui)])])}}}),Wi=Jt(Gi,[["__scopeId","data-v-7ebff9d5"]]);function ji(e){const n=new Map;return function(o,r){const i=o+(r?Object.entries(r).sort((l,s)=>l[0]{if(isNaN(e))return"";if(e===0)return"0 B";const{unit:o="byte",unitDisplay:r="short"}=t,i=o==="bit"?Ji:Xi,a=Math.max(0,Math.min(Math.floor(Math.log10(e)/3),i.length-1)),l=i[a]+o,s=r||"short",c=parseFloat((e/Math.pow(1e3,a)).toPrecision(3));return qi(c,n,{style:"unit",unit:l,unitDisplay:s})},$o={border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"};function Zi(e){return e==="audio/*"||e==="video/*"||e==="image/*"||e==="text/*"||/\w+\/[-+.\w]+/g.test(e)}function Qi(e){return/^.*\.[\w]+$/.test(e)}function ea(e){if(e)return typeof e=="string"?e:Object.entries(e).reduce((n,[t,o])=>[...n,t,...o],[]).filter(n=>Zi(n)||Qi(n)).join(",")}var ta=(e,n)=>e.name===n.name&&e.size===n.size&&e.type===n.type,pt=e=>e!=null;function na(e,n,t){if(pt(e.size))if(pt(n)&&pt(t)){if(e.size>t)return[!1,"FILE_TOO_LARGE"];if(e.sizet)return[!1,"FILE_TOO_LARGE"]}return[!0,null]}function oa(e,n){if(e&&n){const t=Array.isArray(n)?n:n.split(","),o=e.name||"",r=(e.type||"").toLowerCase(),i=r.replace(/\/.*$/,"");return t.some(a=>{const l=a.trim().toLowerCase();return l.charAt(0)==="."?o.toLowerCase().endsWith(l):l.endsWith("/*")?i===l.replace(/\/.*$/,""):r===l})}return!0}function ra(e,n){const t=e.type==="application/x-moz-file"||oa(e,n);return[t,t?null:"FILE_INVALID_TYPE"]}var ia=qe("file-upload").parts("root","dropzone","item","itemDeleteTrigger","itemGroup","itemName","itemPreview","itemPreviewImage","itemSizeText","label","trigger"),he=ia.build(),ee=Je({getRootId:e=>{var n;return((n=e.ids)==null?void 0:n.root)??`file:${e.id}`},getDropzoneId:e=>{var n;return((n=e.ids)==null?void 0:n.dropzone)??`file:${e.id}:dropzone`},getHiddenInputId:e=>{var n;return((n=e.ids)==null?void 0:n.hiddenInput)??`file:${e.id}:input`},getTriggerId:e=>{var n;return((n=e.ids)==null?void 0:n.trigger)??`file:${e.id}:trigger`},getLabelId:e=>{var n;return((n=e.ids)==null?void 0:n.label)??`file:${e.id}:label`},getItemId:(e,n)=>{var t,o;return((o=(t=e.ids)==null?void 0:t.item)==null?void 0:o.call(t,n))??`file:${e.id}:item:${n}`},getItemNameId:(e,n)=>{var t,o;return((o=(t=e.ids)==null?void 0:t.itemName)==null?void 0:o.call(t,n))??`file:${e.id}:item-name:${n}`},getItemSizeTextId:(e,n)=>{var t,o;return((o=(t=e.ids)==null?void 0:t.itemSizeText)==null?void 0:o.call(t,n))??`file:${e.id}:item-size:${n}`},getItemPreviewId:(e,n)=>{var t,o;return((o=(t=e.ids)==null?void 0:t.itemPreview)==null?void 0:o.call(t,n))??`file:${e.id}:item-preview:${n}`},getHiddenInputEl:e=>ee.getById(e,ee.getHiddenInputId(e)),getDropzoneEl:e=>ee.getById(e,ee.getDropzoneId(e))});function io(e){return e.dataTransfer?e.dataTransfer.types.some(n=>n==="Files"||n==="application/x-moz-file"):!!e.target&&"files"in e.target}function Mo(e,n){return!e.multiple&&n>1?!1:!e.multiple&&n+e.acceptedFiles.length===2?!0:!(n+e.acceptedFiles.length>e.maxFiles)}function aa(e,n){const t=[],o=[];return n.forEach(r=>{var p;const[i,a]=ra(r,e.acceptAttr),[l,s]=na(r,e.minFileSize,e.maxFileSize),c=(p=e.validate)==null?void 0:p.call(e,r),d=c?c.length===0:!0;if(i&&l&&d)t.push(r);else{const h=[a,s];d||h.push(...c??[]),o.push({file:r,errors:h.filter(Boolean)})}}),Mo(e,t.length)||(t.forEach(r=>{o.push({file:r,errors:["TOO_MANY_FILES"]})}),t.splice(0)),{acceptedFiles:t,rejectedFiles:o}}function sa(e,n,t){const o=e.context.disabled,r=e.context.allowDrop,i=e.context.translations,a=e.matches("dragging"),l=e.matches("focused")&&!o;return{isDragging:a,isFocused:l,open(){n("OPEN")},deleteFile(s){n({type:"FILE.DELETE",file:s})},acceptedFiles:e.context.acceptedFiles,rejectedFiles:e.context.rejectedFiles,setFiles(s){const c=s.length;n({type:"FILES.SET",files:s,count:c})},clearFiles(){n({type:"FILES.CLEAR"})},getFileSize(s){return Yi(s.size,e.context.locale)},createFileUrl(s,c){const d=ee.getWin(e.context),p=d.URL.createObjectURL(s);return c(p),()=>d.URL.revokeObjectURL(p)},rootProps:t.element({...he.root.attrs,dir:e.context.dir,id:ee.getRootId(e.context),"data-disabled":S(o),"data-dragging":S(a)}),dropzoneProps:t.element({...he.dropzone.attrs,dir:e.context.dir,id:ee.getDropzoneId(e.context),tabIndex:o?void 0:0,"aria-disabled":o,"aria-invalid":e.context.invalid,"data-invalid":S(e.context.invalid),"data-disabled":S(o),"data-dragging":S(a),onKeyDown(s){const c=s.nativeEvent||s;xo(c)&&(s.key!=="Enter"&&s.key!==" "||n({type:"DROPZONE.CLICK",src:"keydown"}))},onClick(s){s.currentTarget.localName==="label"&&s.preventDefault(),n("DROPZONE.CLICK")},onDragOver(s){if(!r)return;s.preventDefault(),s.stopPropagation();try{s.dataTransfer.dropEffect="copy"}catch{}if(!io(s))return;const d=s.dataTransfer.items.length;n({type:"DROPZONE.DRAG_OVER",count:d})},onDragLeave(s){!r||o||It(s.currentTarget,s.relatedTarget)||n({type:"DROPZONE.DRAG_LEAVE"})},onDrop(s){r&&(s.preventDefault(),s.stopPropagation());const c=io(s);o||!c||n({type:"DROPZONE.DROP",files:Array.from(s.dataTransfer.files)})},onFocus(){n("DROPZONE.FOCUS")},onBlur(){n("DROPZONE.BLUR")}}),triggerProps:t.button({...he.trigger.attrs,dir:e.context.dir,id:ee.getTriggerId(e.context),disabled:o,"data-disabled":S(o),type:"button",onClick(s){o||(It(ee.getDropzoneEl(e.context),s.currentTarget)&&s.stopPropagation(),n("OPEN"))}}),hiddenInputProps:t.input({id:ee.getHiddenInputId(e.context),tabIndex:-1,disabled:o,type:"file",capture:e.context.capture,name:e.context.name,accept:e.context.acceptAttr,webkitdirectory:e.context.capture?"":void 0,multiple:e.context.multiple||e.context.maxFiles>1,onClick(s){s.stopPropagation(),s.currentTarget.value=""},onChange(s){if(o)return;const{files:c}=s.currentTarget;n({type:"FILES.SET",files:c?Array.from(c):[]})},style:$o}),itemGroupProps:t.element({...he.itemGroup.attrs,dir:e.context.dir,"data-disabled":S(o)}),getItemProps(s){const{file:c}=s;return t.element({...he.item.attrs,dir:e.context.dir,id:ee.getItemId(e.context,c.name),"data-disabled":S(o)})},getItemNameProps(s){const{file:c}=s;return t.element({...he.itemName.attrs,dir:e.context.dir,id:ee.getItemNameId(e.context,c.name),"data-disabled":S(o)})},getItemSizeTextProps(s){const{file:c}=s;return t.element({...he.itemSizeText.attrs,dir:e.context.dir,id:ee.getItemSizeTextId(e.context,c.name),"data-disabled":S(o)})},getItemPreviewProps(s){const{file:c}=s;return t.element({...he.itemPreview.attrs,dir:e.context.dir,id:ee.getItemPreviewId(e.context,c.name),"data-disabled":S(o)})},getItemPreviewImageProps(s){const{file:c,url:d}=s;if(!c.type.startsWith("image/"))throw new Error("Preview Image is only supported for image files");return t.img({...he.itemPreviewImage.attrs,alt:i.itemPreview(c),src:d,"data-disabled":S(o)})},getItemDeleteTriggerProps(s){const{file:c}=s;return t.button({...he.itemDeleteTrigger.attrs,dir:e.context.dir,type:"button",disabled:o,"data-disabled":S(o),"aria-label":i.deleteFile(c),onClick(){o||n({type:"FILE.DELETE",file:c})}})},labelProps:t.label({...he.label.attrs,dir:e.context.dir,id:ee.getLabelId(e.context),htmlFor:ee.getHiddenInputId(e.context),"data-disabled":S(o)})}}var{not:ao}=Kt;function la(e){const n=Me(e);return Xe({id:"fileupload",initial:"idle",context:{minFileSize:0,maxFileSize:1/0,maxFiles:1,allowDrop:!0,...n,acceptedFiles:_e([]),rejectedFiles:_e([]),invalid:!1,translations:{itemPreview:t=>`preview of ${t.name}`,deleteFile:t=>`delete file ${t.name}`,...n.translations}},computed:{acceptAttr:t=>ea(t.accept),multiple:t=>t.maxFiles>1},on:{"FILES.SET":{actions:["setFilesFromEvent"]},"FILE.DELETE":{actions:["removeFile"]},"FILES.CLEAR":{actions:["clearFiles"]}},states:{idle:{on:{OPEN:{actions:["openFilePicker"]},"DROPZONE.CLICK":{actions:["openFilePicker"]},"DROPZONE.FOCUS":"focused","DROPZONE.DRAG_OVER":[{guard:ao("isWithinRange"),target:"dragging",actions:["setInvalid"]},{target:"dragging"}]}},focused:{on:{"DROPZONE.BLUR":"idle",OPEN:{actions:["openFilePicker"]},"DROPZONE.CLICK":{actions:["openFilePicker"]},"DROPZONE.DRAG_OVER":[{guard:ao("isWithinRange"),target:"dragging",actions:["setInvalid"]},{target:"dragging"}]}},dragging:{on:{"DROPZONE.DROP":{target:"idle",actions:["clearInvalid","setFilesFromEvent"]},"DROPZONE.DRAG_LEAVE":{target:"idle",actions:["clearInvalid"]}}}}},{guards:{isWithinRange:(t,o)=>Mo(t,o.count)},actions:{openFilePicker(t){K(()=>{var o;(o=ee.getHiddenInputEl(t))==null||o.click()})},setInvalid(t){t.invalid=!0},clearInvalid(t){t.invalid=!1},setFilesFromEvent(t,o){const r=aa(t,o.files),{acceptedFiles:i,rejectedFiles:a}=r;if(t.multiple){const l=_e([...t.acceptedFiles,...i]);ft.files(t,l,a);return}if(i.length){const l=_e([i[0]]);ft.files(t,l,a)}else a.length&&ft.files(t,[],a)},removeFile(t,o){const r=t.acceptedFiles.filter(i=>i!==o.file);ft.files(t,r)},clearFiles(t){ft.files(t,[])}},compareFns:{acceptedFiles:(t,o)=>t.length===o.length&&t.every((r,i)=>ta(r,o[i]))}})}var rn={change:e=>{var n;(n=e.onFileChange)==null||n.call(e,{acceptedFiles:e.acceptedFiles,rejectedFiles:e.rejectedFiles})},accept:e=>{var n;(n=e.onFileAccept)==null||n.call(e,{files:e.acceptedFiles})},reject:e=>{var n;(n=e.onFileReject)==null||n.call(e,{files:e.rejectedFiles})}},ft={files:(e,n,t)=>{e.acceptedFiles=_e(n),rn.accept(e),t&&(e.rejectedFiles=_e(t),rn.reject(e)),rn.change(e)}};ve()(["accept","allowDrop","capture","dir","directory","disabled","getRootNode","id","ids","locale","maxFiles","maxFileSize","minFileSize","name","onFileAccept","onFileReject","onFileChange","translations","validate"]);ve()(["file"]);const ca={"flex-1":"","px-4":"","py-6":"","space-y-6":"","bg-dark-c":"","text-sm":""},ua={"text-center":""},da={key:0,class:"bg-darker-c rounded py-1 px-2"},ga=y("div",{hstack:""},[y("div",{"flex-1":"",border:"t c"}),y("div",{"px-5":""},"OR"),y("div",{"flex-1":"",border:"t c"})],-1),pa={class:"hstack w-full space-x-1.5"},fa=["value","placeholder"],ha=y("span",{"i-line-md:confirm":""},null,-1),ma=[ha],ba=q({__name:"ImportDialogContent",setup(e){const n=pe(null),[t,o]=Ye(la({id:"import-dialog",accept:".md",onFileAccept:({files:l})=>{const s=new FileReader;s.onloadend=()=>{const c=s.result;mn(c)},s.readAsText(l[0]),n.value=l[0].name,i.value=""}})),r=te(()=>sa(t.value,o,Ze)),i=pe(""),a=()=>{i.value.trim()!==""&&Tr(i.value).then(l=>{mn(l),n.value=null})};return(l,s)=>(M(),Z("div",ca,[y("div",U(E(r).rootProps,{class:"w-full space-y-2"}),[y("div",U(E(r).dropzoneProps,{class:"py-12 hover:bg-darker-c cursor-pointer",border:"~ c dashed rounded"}),[y("input",ye(Ie(E(r).hiddenInputProps)),null,16),y("div",ua,Y(l.$t("import.from_local")),1)],16),E(n)?(M(),Z("div",da,Y(E(n)),1)):St("",!0)],16),ga,y("div",pa,[y("input",{class:"flex-1 h-7 px-2 rounded-sm outline-none bg-c",value:E(i),placeholder:l.$t("import.from_url"),onChange:s[0]||(s[0]=c=>i.value=c.target.value),onKeyup:qr(a,["enter"])},null,40,fa),y("button",{class:"flex-center w-8 h-7 bg-blue-500 hover:bg-blue-600 text-white rounded-sm",onClick:a},ma)])]))}});var ht=new WeakMap,de=[];function va(e,n={}){const{rootEl:t}=n,o=e.filter(Boolean);if(o.length===0)return;const r=o[0].ownerDocument||document,i=r.defaultView??window,a=new Set(o),l=new Set,s=t??r.body;let c=u=>{for(let b of u.querySelectorAll("[data-live-announcer], [data-zag-top-layer]"))a.add(b);let g=b=>{if(a.has(b)||l.has(b.parentElement)&&b.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let C of a)if(b.contains(C))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},f=r.createTreeWalker(u,NodeFilter.SHOW_ELEMENT,{acceptNode:g}),m=g(u);if(m===NodeFilter.FILTER_ACCEPT&&d(u),m!==NodeFilter.FILTER_REJECT){let b=f.nextNode();for(;b!=null;)d(b),b=f.nextNode()}},d=u=>{let g=ht.get(u)??0;u.getAttribute("aria-hidden")==="true"&&g===0||(g===0&&u.setAttribute("aria-hidden","true"),l.add(u),ht.set(u,g+1))};de.length&&de[de.length-1].disconnect(),c(s);const p=new i.MutationObserver(u=>{for(let g of u)if(!(g.type!=="childList"||g.addedNodes.length===0)&&![...a,...l].some(f=>f.contains(g.target))){for(let f of g.removedNodes)f instanceof i.Element&&(a.delete(f),l.delete(f));for(let f of g.addedNodes)(f instanceof i.HTMLElement||f instanceof i.SVGElement)&&(f.dataset.liveAnnouncer==="true"||f.dataset.zagTopLayer==="true")?a.add(f):f instanceof i.Element&&c(f)}});p.observe(s,{childList:!0,subtree:!0});let h={observe(){p.observe(s,{childList:!0,subtree:!0})},disconnect(){p.disconnect()}};return de.push(h),()=>{p.disconnect();for(let u of l){let g=ht.get(u);g===1?(u.removeAttribute("aria-hidden"),ht.delete(u)):ht.set(u,g-1)}h===de[de.length-1]?(de.pop(),de.length&&de[de.length-1].observe()):de.splice(de.indexOf(h),1)}}function Ho(e,n={}){const{defer:t}=n,o=t?K:i=>i(),r=[];return r.push(o(()=>{const i=typeof e=="function"?e():e;r.push(va(i,n))})),()=>{r.forEach(i=>i==null?void 0:i())}}function ya(e,n){const t=o=>{o.key==="Escape"&&(n==null||n(o))};return Yr(Fo(e),"keydown",t,{capture:!0})}var me={layers:[],branches:[],count(){return this.layers.length},pointerBlockingLayers(){return this.layers.filter(e=>e.pointerBlocking)},topMostPointerBlockingLayer(){return[...this.pointerBlockingLayers()].slice(-1)[0]},hasPointerBlockingLayer(){return this.pointerBlockingLayers().length>0},isBelowPointerBlockingLayer(e){var o;const n=this.indexOf(e),t=this.topMostPointerBlockingLayer()?this.indexOf((o=this.topMostPointerBlockingLayer())==null?void 0:o.node):-1;return nIt(t.node,n))},isInBranch(e){return Array.from(this.branches).some(n=>It(n,e))},add(e){const n=this.layers.push(e);e.node.style.setProperty("--layer-index",`${n}`)},addBranch(e){this.branches.push(e)},remove(e){const n=this.indexOf(e);n<0||(no.dismiss()),this.layers.splice(n,1),e.style.removeProperty("--layer-index"))},removeBranch(e){const n=this.branches.indexOf(e);n>=0&&this.branches.splice(n,1)},indexOf(e){return this.layers.findIndex(n=>n.node===e)},dismiss(e){var n;(n=this.layers[this.indexOf(e)])==null||n.dismiss()},clear(){this.remove(this.layers[0].node)}},so;function lo(){me.layers.forEach(({node:e})=>{e.style.pointerEvents=me.isBelowPointerBlockingLayer(e)?"none":"auto"})}function Ia(e){e.style.pointerEvents=""}var an="data-inert";function Ea(e){const n=Fo(e);return me.hasPointerBlockingLayer()&&!n.body.hasAttribute(an)&&(so=document.body.style.pointerEvents,n.body.style.pointerEvents="none",n.body.setAttribute(an,"")),()=>{me.hasPointerBlockingLayer()||(n.body.style.pointerEvents=so,n.body.removeAttribute(an),n.body.style.length===0&&n.body.removeAttribute("style"))}}function Ca(e,n){if(!e){Xr("[@zag-js/dismissable] node is `null` or `undefined`");return}const{onDismiss:t,pointerBlocking:o,exclude:r,debug:i}=n,a={dismiss:t,node:e,pointerBlocking:o};me.add(a),lo();function l(h){var g,f;const u=no(h.detail.originalEvent);me.isBelowPointerBlockingLayer(e)||me.isInBranch(u)||((g=n.onPointerDownOutside)==null||g.call(n,h),(f=n.onInteractOutside)==null||f.call(n,h),!h.defaultPrevented&&(i&&console.log("onPointerDownOutside:",h.detail.originalEvent),t==null||t()))}function s(h){var g,f;const u=no(h.detail.originalEvent);me.isInBranch(u)||((g=n.onFocusOutside)==null||g.call(n,h),(f=n.onInteractOutside)==null||f.call(n,h),!h.defaultPrevented&&(i&&console.log("onFocusOutside:",h.detail.originalEvent),t==null||t()))}function c(h){var u;me.isTopMost(e)&&((u=n.onEscapeKeyDown)==null||u.call(n,h),!h.defaultPrevented&&t&&(h.preventDefault(),t()))}function d(h){if(!e)return!1;const u=typeof r=="function"?r():r;return(Array.isArray(u)?u:[u]).some(f=>It(f,h))||me.isInNestedLayer(e,h)}const p=[o?Ea(e):void 0,ya(e,c),Pr(e,{exclude:d,onFocusOutside:s,onPointerDownOutside:l,defer:n.defer})];return()=>{me.remove(e),lo(),Ia(e),p.forEach(h=>h==null?void 0:h())}}function Ln(e,n){const{defer:t}=n,o=t?K:i=>i(),r=[];return r.push(o(()=>{const i=Jr(e)?e():e;r.push(Ca(i,n))})),()=>{r.forEach(i=>i==null?void 0:i())}}var sn="data-zag-scroll-lock";function co(e,n){if(!e)return;const t=e.style.cssText;return Object.assign(e.style,n),()=>{e.style.cssText=t}}function Sa(e,n,t){if(!e)return;const o=e.style.getPropertyValue(n);return e.style.setProperty(n,t),()=>{o?e.style.setProperty(n,o):e.style.removeProperty(n)}}function wa(e){const n=e.getBoundingClientRect().left;return Math.round(n)+e.scrollLeft?"paddingLeft":"paddingRight"}function Ta(e){const n=e??document,t=n.defaultView??window,{documentElement:o,body:r}=n;if(r.hasAttribute(sn))return;r.setAttribute(sn,"");const a=t.innerWidth-o.clientWidth,l=()=>Sa(o,"--scrollbar-width",`${a}px`),s=wa(o),c=()=>co(r,{overflow:"hidden",[s]:`${a}px`}),d=()=>{const{scrollX:h,scrollY:u,visualViewport:g}=t,f=(g==null?void 0:g.offsetLeft)??0,m=(g==null?void 0:g.offsetTop)??0,b=co(r,{position:"fixed",overflow:"hidden",top:`${-(u-Math.floor(m))}px`,left:`${-(h-Math.floor(f))}px`,right:"0",[s]:`${a}px`});return()=>{b==null||b(),t.scrollTo({left:h,top:u,behavior:"instant"})}},p=[l(),Zr()?d():c()];return()=>{p.forEach(h=>h==null?void 0:h()),r.removeAttribute(sn)}}/*! * tabbable 6.2.0 * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE */var zo=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Dt=zo.join(","),Bo=typeof Element>"u",We=Bo?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,$t=!Bo&&Element.prototype.getRootNode?function(e){var n;return e==null||(n=e.getRootNode)===null||n===void 0?void 0:n.call(e)}:function(e){return e==null?void 0:e.ownerDocument},Mt=function e(n,t){var o;t===void 0&&(t=!0);var r=n==null||(o=n.getAttribute)===null||o===void 0?void 0:o.call(n,"inert"),i=r===""||r==="true",a=i||t&&n&&e(n.parentNode);return a},Pa=function(n){var t,o=n==null||(t=n.getAttribute)===null||t===void 0?void 0:t.call(n,"contenteditable");return o===""||o==="true"},Uo=function(n,t,o){if(Mt(n))return[];var r=Array.prototype.slice.apply(n.querySelectorAll(Dt));return t&&We.call(n,Dt)&&r.unshift(n),r=r.filter(o),r},Go=function e(n,t,o){for(var r=[],i=Array.from(n);i.length;){var a=i.shift();if(!Mt(a,!1))if(a.tagName==="SLOT"){var l=a.assignedElements(),s=l.length?l:a.children,c=e(s,!0,o);o.flatten?r.push.apply(r,c):r.push({scopeParent:a,candidates:c})}else{var d=We.call(a,Dt);d&&o.filter(a)&&(t||!n.includes(a))&&r.push(a);var p=a.shadowRoot||typeof o.getShadowRoot=="function"&&o.getShadowRoot(a),h=!Mt(p,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(a));if(p&&h){var u=e(p===!0?a.children:p.children,!0,o);o.flatten?r.push.apply(r,u):r.push({scopeParent:a,candidates:u})}else i.unshift.apply(i,a.children)}}return r},Wo=function(n){return!isNaN(parseInt(n.getAttribute("tabindex"),10))},Ue=function(n){if(!n)throw new Error("No node provided");return n.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(n.tagName)||Pa(n))&&!Wo(n)?0:n.tabIndex},Oa=function(n,t){var o=Ue(n);return o<0&&t&&!Wo(n)?0:o},Ra=function(n,t){return n.tabIndex===t.tabIndex?n.documentOrder-t.documentOrder:n.tabIndex-t.tabIndex},jo=function(n){return n.tagName==="INPUT"},ka=function(n){return jo(n)&&n.type==="hidden"},Aa=function(n){var t=n.tagName==="DETAILS"&&Array.prototype.slice.apply(n.children).some(function(o){return o.tagName==="SUMMARY"});return t},_a=function(n,t){for(var o=0;osummary:first-of-type"),a=i?n.parentElement:n;if(We.call(a,"details:not([open]) *"))return!0;if(!o||o==="full"||o==="legacy-full"){if(typeof r=="function"){for(var l=n;n;){var s=n.parentElement,c=$t(n);if(s&&!s.shadowRoot&&r(s)===!0)return uo(n);n.assignedSlot?n=n.assignedSlot:!s&&c!==n.ownerDocument?n=c.host:n=s}n=l}if(La(n))return!n.getClientRects().length;if(o!=="legacy-full")return!0}else if(o==="non-zero-area")return uo(n);return!1},Da=function(n){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(n.tagName))for(var t=n.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var o=0;o=0)},Ma=function e(n){var t=[],o=[];return n.forEach(function(r,i){var a=!!r.scopeParent,l=a?r.scopeParent:r,s=Oa(l,a),c=a?e(r.candidates):l;s===0?a?t.push.apply(t,c):t.push(l):o.push({documentOrder:i,tabIndex:s,item:r,isScope:a,content:c})}),o.sort(Ra).reduce(function(r,i){return i.isScope?r.push.apply(r,i.content):r.push(i.content),r},[]).concat(t)},Ha=function(n,t){t=t||{};var o;return t.getShadowRoot?o=Go([n],t.includeContainer,{filter:Sn.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:$a}):o=Uo(n,t.includeContainer,Sn.bind(null,t)),Ma(o)},za=function(n,t){t=t||{};var o;return t.getShadowRoot?o=Go([n],t.includeContainer,{filter:Ht.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):o=Uo(n,t.includeContainer,Ht.bind(null,t)),o},Qe=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return We.call(n,Dt)===!1?!1:Sn(t,n)},Ba=zo.concat("iframe").join(","),ln=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return We.call(n,Ba)===!1?!1:Ht(t,n)};/*! diff --git a/assets/Dln5YeVe.js b/assets/BPRoNp8L.js similarity index 79% rename from assets/Dln5YeVe.js rename to assets/BPRoNp8L.js index 04ad8b9..fa9824b 100644 --- a/assets/Dln5YeVe.js +++ b/assets/BPRoNp8L.js @@ -1,6 +1,6 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./NlesULI2.js","./0vF3UBZ8.js","./kFzsb1UL.js","./BnZW0xzS.js","./_id_.B2wLhRfn.css","./iEvso_UL.js","./Cx8wtMdZ.js","./resumes.CxMfCn6q.css","./CJarhp0e.js","./error-404.DtbKAVpD.css","./BngAsCmt.js","./error-500.7_wNPYQ_.css"] + __vite__mapDeps.viteFileDeps = ["./B_WREhsM.js","./Y1k7zYV_.js","./CXg0UUxL.js","./BMIsZxAP.js","./Tkxs5xfc.js","./_id_.B2wLhRfn.css","./Dnn-_RCQ.js","./index.CxMfCn6q.css","./C57j_BQR.js","./error-404.DtbKAVpD.css","./Bklsg5LV.js","./error-500.7_wNPYQ_.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } @@ -12,42 +12,42 @@ function __vite__mapDeps(indexes) { * @vue/reactivity v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let tt;class xu{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=tt,!t&&tt&&(this.index=(tt.scopes||(tt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=tt;try{return tt=this,t()}finally{tt=n}}}on(){tt=this}off(){tt=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Mn()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=an,n=Tn;try{return an=!0,Tn=this,this._runnings++,qa(this),this.fn()}finally{Ya(this),this._runnings--,Tn=n,an=t}}stop(){var t;this.active&&(qa(this),Ya(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Gh(e){return e.value}function qa(e){e._trackId++,e._depsLength=0}function Ya(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},Os=new WeakMap,Ln=Symbol(""),oi=Symbol("");function Je(e,t,n){if(an&&Tn){let r=Os.get(e);r||Os.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=Uu(()=>r.delete(n))),Fu(Tn,s)}}function Vt(e,t,n,r,s,o){const i=Os.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&te(e)){const c=Number(r);i.forEach((l,u)=>{(u==="length"||!lr(u)&&u>=c)&&a.push(l)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":te(e)?Zi(n)&&a.push(i.get("length")):(a.push(i.get(Ln)),Yn(e)&&a.push(i.get(oi)));break;case"delete":te(e)||(a.push(i.get(Ln)),Yn(e)&&a.push(i.get(oi)));break;case"set":Yn(e)&&a.push(i.get(Ln));break}na();for(const c of a)c&&$u(c,4);ra()}function qh(e,t){var n;return(n=Os.get(e))==null?void 0:n.get(t)}const Yh=zi("__proto__,__v_isRef,__isVue"),ju=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(lr)),Xa=Xh();function Xh(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ue(this);for(let o=0,i=this.length;o{e[t]=function(...n){xn(),na();const r=ue(this)[t].apply(this,n);return ra(),Mn(),r}}),e}function zh(e){const t=ue(this);return Je(t,"has",e),t.hasOwnProperty(e)}class Hu{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?lp:Ku:o?Wu:Vu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=te(t);if(!s){if(i&&fe(Xa,n))return Reflect.get(Xa,n,r);if(n==="hasOwnProperty")return zh}const a=Reflect.get(t,n,r);return(lr(n)?ju.has(n):Yh(n))||(s||Je(t,"get",n),o)?a:Ce(a)?i&&Zi(n)?a:a.value:ve(a)?s?Gu(a):wt(a):a}}class Bu extends Hu{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const c=kn(o);if(!Is(r)&&!kn(r)&&(o=ue(o),r=ue(r)),!te(t)&&Ce(o)&&!Ce(r))return c?!1:(o.value=r,!0)}const i=te(t)&&Zi(n)?Number(n)e,co=e=>Reflect.getPrototypeOf(e);function ss(e,t,n=!1,r=!1){e=e.__v_raw;const s=ue(e),o=ue(t);n||(un(t,o)&&Je(s,"get",t),Je(s,"get",o));const{has:i}=co(s),a=r?sa:n?aa:xr;if(i.call(s,t))return a(e.get(t));if(i.call(s,o))return a(e.get(o));e!==s&&e.get(t)}function os(e,t=!1){const n=this.__v_raw,r=ue(n),s=ue(e);return t||(un(e,s)&&Je(r,"has",e),Je(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function is(e,t=!1){return e=e.__v_raw,!t&&Je(ue(e),"iterate",Ln),Reflect.get(e,"size",e)}function za(e){e=ue(e);const t=ue(this);return co(t).has.call(t,e)||(t.add(e),Vt(t,"add",e,e)),this}function Ja(e,t){t=ue(t);const n=ue(this),{has:r,get:s}=co(n);let o=r.call(n,e);o||(e=ue(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?un(t,i)&&Vt(n,"set",e,t):Vt(n,"add",e,t),this}function Qa(e){const t=ue(this),{has:n,get:r}=co(t);let s=n.call(t,e);s||(e=ue(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&Vt(t,"delete",e,void 0),o}function Za(){const e=ue(this),t=e.size!==0,n=e.clear();return t&&Vt(e,"clear",void 0,void 0),n}function as(e,t){return function(r,s){const o=this,i=o.__v_raw,a=ue(i),c=t?sa:e?aa:xr;return!e&&Je(a,"iterate",Ln),i.forEach((l,u)=>r.call(s,c(l),c(u),o))}}function cs(e,t,n){return function(...r){const s=this.__v_raw,o=ue(s),i=Yn(o),a=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,l=s[e](...r),u=n?sa:t?aa:xr;return!t&&Je(o,"iterate",c?oi:Ln),{next(){const{value:f,done:d}=l.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function qt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function tp(){const e={get(o){return ss(this,o)},get size(){return is(this)},has:os,add:za,set:Ja,delete:Qa,clear:Za,forEach:as(!1,!1)},t={get(o){return ss(this,o,!1,!0)},get size(){return is(this)},has:os,add:za,set:Ja,delete:Qa,clear:Za,forEach:as(!1,!0)},n={get(o){return ss(this,o,!0)},get size(){return is(this,!0)},has(o){return os.call(this,o,!0)},add:qt("add"),set:qt("set"),delete:qt("delete"),clear:qt("clear"),forEach:as(!0,!1)},r={get(o){return ss(this,o,!0,!0)},get size(){return is(this,!0)},has(o){return os.call(this,o,!0)},add:qt("add"),set:qt("set"),delete:qt("delete"),clear:qt("clear"),forEach:as(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=cs(o,!1,!1),n[o]=cs(o,!0,!1),t[o]=cs(o,!1,!0),r[o]=cs(o,!0,!0)}),[e,n,t,r]}const[np,rp,sp,op]=tp();function oa(e,t){const n=t?e?op:sp:e?rp:np;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(fe(n,s)&&s in r?n:r,s,o)}const ip={get:oa(!1,!1)},ap={get:oa(!1,!0)},cp={get:oa(!0,!1)},Vu=new WeakMap,Wu=new WeakMap,Ku=new WeakMap,lp=new WeakMap;function up(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function fp(e){return e.__v_skip||!Object.isExtensible(e)?0:up(xh(e))}function wt(e){return kn(e)?e:ia(e,!1,Qh,ip,Vu)}function qr(e){return ia(e,!1,ep,ap,Wu)}function Gu(e){return ia(e,!0,Zh,cp,Ku)}function ia(e,t,n,r,s){if(!ve(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=fp(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function cn(e){return kn(e)?cn(e.__v_raw):!!(e&&e.__v_isReactive)}function kn(e){return!!(e&&e.__v_isReadonly)}function Is(e){return!!(e&&e.__v_isShallow)}function qu(e){return cn(e)||kn(e)}function ue(e){const t=e&&e.__v_raw;return t?ue(t):e}function lo(e){return Object.isExtensible(e)&&As(e,"__v_skip",!0),e}const xr=e=>ve(e)?wt(e):e,aa=e=>ve(e)?Gu(e):e;class Yu{constructor(t,n,r,s){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new ta(()=>t(this._value),()=>Sr(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=ue(this);return(!t._cacheable||t.effect.dirty)&&un(t._value,t._value=t.effect.run())&&Sr(t,4),ca(t),t.effect._dirtyLevel>=2&&Sr(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function dp(e,t,n=!1){let r,s;const o=se(e);return o?(r=e,s=lt):(r=e.get,s=e.set),new Yu(r,s,o||!s,n)}function ca(e){var t;an&&Tn&&(e=ue(e),Fu(Tn,(t=e.dep)!=null?t:e.dep=Uu(()=>e.dep=void 0,e instanceof Yu?e:void 0)))}function Sr(e,t=4,n){e=ue(e);const r=e.dep;r&&$u(r,t)}function Ce(e){return!!(e&&e.__v_isRef===!0)}function be(e){return Xu(e,!1)}function An(e){return Xu(e,!0)}function Xu(e,t){return Ce(e)?e:new hp(e,t)}class hp{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ue(t),this._value=n?t:xr(t)}get value(){return ca(this),this._value}set value(t){const n=this.__v_isShallow||Is(t)||kn(t);t=n?t:ue(t),un(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:xr(t),Sr(this,4))}}function ne(e){return Ce(e)?e.value:e}const pp={get:(e,t,n)=>ne(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Ce(s)&&!Ce(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function zu(e){return cn(e)?e:new Proxy(e,pp)}class mp{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>ca(this),()=>Sr(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function gp(e){return new mp(e)}function yp(e){const t=te(e)?new Array(e.length):{};for(const n in e)t[n]=Qu(e,n);return t}class _p{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return qh(ue(this._object),this._key)}}class bp{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Ju(e,t,n){return Ce(e)?e:se(e)?new bp(e):ve(e)&&arguments.length>1?Qu(e,t,n):be(e)}function Qu(e,t,n){const r=e[t];return Ce(r)?r:new _p(e,t,n)}/** +**/let tt;class xu{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=tt,!t&&tt&&(this.index=(tt.scopes||(tt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=tt;try{return tt=this,t()}finally{tt=n}}}on(){tt=this}off(){tt=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Mn()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=an,n=Tn;try{return an=!0,Tn=this,this._runnings++,qa(this),this.fn()}finally{Ya(this),this._runnings--,Tn=n,an=t}}stop(){var t;this.active&&(qa(this),Ya(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Gh(e){return e.value}function qa(e){e._trackId++,e._depsLength=0}function Ya(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},Os=new WeakMap,Ln=Symbol(""),oi=Symbol("");function Je(e,t,n){if(an&&Tn){let r=Os.get(e);r||Os.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=Uu(()=>r.delete(n))),Fu(Tn,s)}}function Vt(e,t,n,r,s,o){const i=Os.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&te(e)){const c=Number(r);i.forEach((l,u)=>{(u==="length"||!lr(u)&&u>=c)&&a.push(l)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":te(e)?Zi(n)&&a.push(i.get("length")):(a.push(i.get(Ln)),Yn(e)&&a.push(i.get(oi)));break;case"delete":te(e)||(a.push(i.get(Ln)),Yn(e)&&a.push(i.get(oi)));break;case"set":Yn(e)&&a.push(i.get(Ln));break}na();for(const c of a)c&&$u(c,4);ra()}function qh(e,t){var n;return(n=Os.get(e))==null?void 0:n.get(t)}const Yh=zi("__proto__,__v_isRef,__isVue"),ju=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(lr)),Xa=Xh();function Xh(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ue(this);for(let o=0,i=this.length;o{e[t]=function(...n){xn(),na();const r=ue(this)[t].apply(this,n);return ra(),Mn(),r}}),e}function zh(e){const t=ue(this);return Je(t,"has",e),t.hasOwnProperty(e)}class Hu{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?lp:Ku:o?Wu:Vu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=te(t);if(!s){if(i&&fe(Xa,n))return Reflect.get(Xa,n,r);if(n==="hasOwnProperty")return zh}const a=Reflect.get(t,n,r);return(lr(n)?ju.has(n):Yh(n))||(s||Je(t,"get",n),o)?a:Ce(a)?i&&Zi(n)?a:a.value:ve(a)?s?Gu(a):wt(a):a}}class Bu extends Hu{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const c=kn(o);if(!Is(r)&&!kn(r)&&(o=ue(o),r=ue(r)),!te(t)&&Ce(o)&&!Ce(r))return c?!1:(o.value=r,!0)}const i=te(t)&&Zi(n)?Number(n)e,co=e=>Reflect.getPrototypeOf(e);function ss(e,t,n=!1,r=!1){e=e.__v_raw;const s=ue(e),o=ue(t);n||(un(t,o)&&Je(s,"get",t),Je(s,"get",o));const{has:i}=co(s),a=r?sa:n?aa:xr;if(i.call(s,t))return a(e.get(t));if(i.call(s,o))return a(e.get(o));e!==s&&e.get(t)}function os(e,t=!1){const n=this.__v_raw,r=ue(n),s=ue(e);return t||(un(e,s)&&Je(r,"has",e),Je(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function is(e,t=!1){return e=e.__v_raw,!t&&Je(ue(e),"iterate",Ln),Reflect.get(e,"size",e)}function za(e){e=ue(e);const t=ue(this);return co(t).has.call(t,e)||(t.add(e),Vt(t,"add",e,e)),this}function Ja(e,t){t=ue(t);const n=ue(this),{has:r,get:s}=co(n);let o=r.call(n,e);o||(e=ue(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?un(t,i)&&Vt(n,"set",e,t):Vt(n,"add",e,t),this}function Qa(e){const t=ue(this),{has:n,get:r}=co(t);let s=n.call(t,e);s||(e=ue(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&Vt(t,"delete",e,void 0),o}function Za(){const e=ue(this),t=e.size!==0,n=e.clear();return t&&Vt(e,"clear",void 0,void 0),n}function as(e,t){return function(r,s){const o=this,i=o.__v_raw,a=ue(i),c=t?sa:e?aa:xr;return!e&&Je(a,"iterate",Ln),i.forEach((l,u)=>r.call(s,c(l),c(u),o))}}function cs(e,t,n){return function(...r){const s=this.__v_raw,o=ue(s),i=Yn(o),a=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,l=s[e](...r),u=n?sa:t?aa:xr;return!t&&Je(o,"iterate",c?oi:Ln),{next(){const{value:f,done:d}=l.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function qt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function tp(){const e={get(o){return ss(this,o)},get size(){return is(this)},has:os,add:za,set:Ja,delete:Qa,clear:Za,forEach:as(!1,!1)},t={get(o){return ss(this,o,!1,!0)},get size(){return is(this)},has:os,add:za,set:Ja,delete:Qa,clear:Za,forEach:as(!1,!0)},n={get(o){return ss(this,o,!0)},get size(){return is(this,!0)},has(o){return os.call(this,o,!0)},add:qt("add"),set:qt("set"),delete:qt("delete"),clear:qt("clear"),forEach:as(!0,!1)},r={get(o){return ss(this,o,!0,!0)},get size(){return is(this,!0)},has(o){return os.call(this,o,!0)},add:qt("add"),set:qt("set"),delete:qt("delete"),clear:qt("clear"),forEach:as(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=cs(o,!1,!1),n[o]=cs(o,!0,!1),t[o]=cs(o,!1,!0),r[o]=cs(o,!0,!0)}),[e,n,t,r]}const[np,rp,sp,op]=tp();function oa(e,t){const n=t?e?op:sp:e?rp:np;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(fe(n,s)&&s in r?n:r,s,o)}const ip={get:oa(!1,!1)},ap={get:oa(!1,!0)},cp={get:oa(!0,!1)},Vu=new WeakMap,Wu=new WeakMap,Ku=new WeakMap,lp=new WeakMap;function up(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function fp(e){return e.__v_skip||!Object.isExtensible(e)?0:up(xh(e))}function wt(e){return kn(e)?e:ia(e,!1,Qh,ip,Vu)}function qr(e){return ia(e,!1,ep,ap,Wu)}function Gu(e){return ia(e,!0,Zh,cp,Ku)}function ia(e,t,n,r,s){if(!ve(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=fp(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function cn(e){return kn(e)?cn(e.__v_raw):!!(e&&e.__v_isReactive)}function kn(e){return!!(e&&e.__v_isReadonly)}function Is(e){return!!(e&&e.__v_isShallow)}function qu(e){return cn(e)||kn(e)}function ue(e){const t=e&&e.__v_raw;return t?ue(t):e}function lo(e){return Object.isExtensible(e)&&As(e,"__v_skip",!0),e}const xr=e=>ve(e)?wt(e):e,aa=e=>ve(e)?Gu(e):e;class Yu{constructor(t,n,r,s){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new ta(()=>t(this._value),()=>Sr(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=ue(this);return(!t._cacheable||t.effect.dirty)&&un(t._value,t._value=t.effect.run())&&Sr(t,4),ca(t),t.effect._dirtyLevel>=2&&Sr(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function dp(e,t,n=!1){let r,s;const o=se(e);return o?(r=e,s=lt):(r=e.get,s=e.set),new Yu(r,s,o||!s,n)}function ca(e){var t;an&&Tn&&(e=ue(e),Fu(Tn,(t=e.dep)!=null?t:e.dep=Uu(()=>e.dep=void 0,e instanceof Yu?e:void 0)))}function Sr(e,t=4,n){e=ue(e);const r=e.dep;r&&$u(r,t)}function Ce(e){return!!(e&&e.__v_isRef===!0)}function be(e){return Xu(e,!1)}function An(e){return Xu(e,!0)}function Xu(e,t){return Ce(e)?e:new hp(e,t)}class hp{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ue(t),this._value=n?t:xr(t)}get value(){return ca(this),this._value}set value(t){const n=this.__v_isShallow||Is(t)||kn(t);t=n?t:ue(t),un(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:xr(t),Sr(this,4))}}function ne(e){return Ce(e)?e.value:e}const pp={get:(e,t,n)=>ne(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Ce(s)&&!Ce(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function zu(e){return cn(e)?e:new Proxy(e,pp)}class gp{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>ca(this),()=>Sr(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function mp(e){return new gp(e)}function yp(e){const t=te(e)?new Array(e.length):{};for(const n in e)t[n]=Qu(e,n);return t}class _p{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return qh(ue(this._object),this._key)}}class bp{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Ju(e,t,n){return Ce(e)?e:se(e)?new bp(e):ve(e)&&arguments.length>1?Qu(e,t,n):be(e)}function Qu(e,t,n){const r=e[t];return Ce(r)?r:new _p(e,t,n)}/** * @vue/runtime-core v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function ln(e,t,n,r){try{return r?e(...r):e()}catch(s){ur(s,t,n)}}function ft(e,t,n,r){if(se(e)){const o=ln(e,t,n,r);return o&&Lu(o)&&o.catch(i=>{ur(i,t,n)}),o}const s=[];for(let o=0;o>>1,s=Be[r],o=Dr(s);okt&&Be.splice(t,1)}function ai(e){te(e)?zn.push(...e):(!tn||!tn.includes(e,e.allowRecurse?vn+1:vn))&&zn.push(e),ef()}function ec(e,t,n=Mr?kt+1:0){for(;nDr(n)-Dr(r));if(zn.length=0,tn){tn.push(...t);return}for(tn=t,vn=0;vne.id==null?1/0:e.id,Sp=(e,t)=>{const n=Dr(e)-Dr(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function tf(e){ii=!1,Mr=!0,Be.sort(Sp);try{for(kt=0;ktSe(m)?m.trim():m)),f&&(s=n.map(Fh))}let a,c=r[a=xo(t)]||r[a=xo(Nt(t))];!c&&o&&(c=r[a=xo(Nn(t))]),c&&ft(c,e,6,s);const l=r[a+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,ft(l,e,6,s)}}function nf(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},a=!1;if(!se(e)){const c=l=>{const u=nf(l,t,!0);u&&(a=!0,xe(i,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!a?(ve(e)&&r.set(e,null),null):(te(o)?o.forEach(c=>i[c]=null):xe(i,o),ve(e)&&r.set(e,i),i)}function fo(e,t){return!e||!Wr(t)?!1:(t=t.slice(2).replace(/Once$/,""),fe(e,t[0].toLowerCase()+t.slice(1))||fe(e,Nn(t))||fe(e,t))}let Ae=null,ho=null;function xs(e){const t=Ae;return Ae=e,ho=e&&e.type.__scopeId||null,t}function Tp(e){ho=e}function Lp(){ho=null}function rf(e,t=Ae,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&yc(-1);const o=xs(t);let i;try{i=e(...s)}finally{xs(o),r._d&&yc(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Do(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[i],slots:a,attrs:c,emit:l,render:u,renderCache:f,data:d,setupState:m,ctx:b,inheritAttrs:S}=e;let L,_;const v=xs(e);try{if(n.shapeFlag&4){const g=s||r,E=g;L=at(u.call(E,g,f,o,m,d,b)),_=c}else{const g=t;L=at(g.length>1?g(o,{attrs:c,slots:a,emit:l}):g(o,null)),_=t.props?c:Rp(c)}}catch(g){Lr.length=0,ur(g,e,1),L=we(Ge)}let y=L;if(_&&S!==!1){const g=Object.keys(_),{shapeFlag:E}=y;g.length&&E&7&&(i&&g.some(Ji)&&(_=kp(_,i)),y=Wt(y,_))}return n.dirs&&(y=Wt(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),L=y,xs(v),L}function Pp(e,t=!0){let n;for(let r=0;r{let t;for(const n in e)(n==="class"||n==="style"||Wr(n))&&((t||(t={}))[n]=e[n]);return t},kp=(e,t)=>{const n={};for(const r in e)(!Ji(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ap(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:c}=t,l=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?tc(r,i,l):!!i;if(c&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense;let ci=0;const Ip={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,c,l){if(e==null)Np(t,n,r,s,o,i,a,c,l);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}xp(e,t,n,r,s,i,a,c,l)}},hydrate:Mp,create:da,normalize:Dp},cf=Ip;function Fr(e,t){const n=e.props&&e.props[t];se(n)&&n()}function Np(e,t,n,r,s,o,i,a,c){const{p:l,o:{createElement:u}}=c,f=u("div"),d=e.suspense=da(e,s,r,t,f,n,o,i,a,c);l(null,d.pendingBranch=e.ssContent,f,null,r,d,o,i),d.deps>0?(Fr(e,"onPending"),Fr(e,"onFallback"),l(null,e.ssFallback,t,n,r,null,o,i),Jn(d,e.ssFallback)):d.resolve(!1,!0)}function xp(e,t,n,r,s,o,i,a,{p:c,um:l,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,m=t.ssFallback,{activeBranch:b,pendingBranch:S,isInFallback:L,isHydrating:_}=f;if(S)f.pendingBranch=d,_t(d,S)?(c(S,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():L&&(_||(c(b,m,n,r,s,null,o,i,a),Jn(f,m)))):(f.pendingId=ci++,_?(f.isHydrating=!1,f.activeBranch=S):l(S,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),L?(c(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():(c(b,m,n,r,s,null,o,i,a),Jn(f,m))):b&&_t(d,b)?(c(b,d,n,r,s,f,o,i,a),f.resolve(!0)):(c(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0&&f.resolve()));else if(b&&_t(d,b))c(b,d,n,r,s,f,o,i,a),Jn(f,d);else if(Fr(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=ci++,c(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0)f.resolve();else{const{timeout:v,pendingId:y}=f;v>0?setTimeout(()=>{f.pendingId===y&&f.fallback(m)},v):v===0&&f.fallback(m)}}function da(e,t,n,r,s,o,i,a,c,l,u=!1){const{p:f,m:d,um:m,n:b,o:{parentNode:S,remove:L}}=l;let _;const v=Fp(e);v&&t!=null&&t.pendingBranch&&(_=t.pendingId,t.deps++);const y=e.props?ku(e.props.timeout):void 0,g=o,E={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:s,deps:0,pendingId:ci++,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(C=!1,R=!1){const{vnode:k,activeBranch:T,pendingBranch:I,pendingId:F,effects:x,parentComponent:q,container:ie}=E;let oe=!1;E.isHydrating?E.isHydrating=!1:C||(oe=T&&I.transition&&I.transition.mode==="out-in",oe&&(T.transition.afterLeave=()=>{F===E.pendingId&&(d(I,ie,o===g?b(T):o,0),ai(x))}),T&&(S(T.el)!==E.hiddenContainer&&(o=b(T)),m(T,q,E,!0)),oe||d(I,ie,o,0)),Jn(E,I),E.pendingBranch=null,E.isInFallback=!1;let H=E.parent,Q=!1;for(;H;){if(H.pendingBranch){H.effects.push(...x),Q=!0;break}H=H.parent}!Q&&!oe&&ai(x),E.effects=[],v&&t&&t.pendingBranch&&_===t.pendingId&&(t.deps--,t.deps===0&&!R&&t.resolve()),Fr(k,"onResolve")},fallback(C){if(!E.pendingBranch)return;const{vnode:R,activeBranch:k,parentComponent:T,container:I,namespace:F}=E;Fr(R,"onFallback");const x=b(k),q=()=>{E.isInFallback&&(f(null,C,I,x,T,null,F,a,c),Jn(E,C))},ie=C.transition&&C.transition.mode==="out-in";ie&&(k.transition.afterLeave=q),E.isInFallback=!0,m(k,T,null,!0),ie||q()},move(C,R,k){E.activeBranch&&d(E.activeBranch,C,R,k),E.container=C},next(){return E.activeBranch&&b(E.activeBranch)},registerDep(C,R){const k=!!E.pendingBranch;k&&E.deps++;const T=C.vnode.el;C.asyncDep.catch(I=>{ur(I,C,0)}).then(I=>{if(C.isUnmounted||E.isUnmounted||E.pendingId!==C.suspenseId)return;C.asyncResolved=!0;const{vnode:F}=C;gi(C,I,!1),T&&(F.el=T);const x=!T&&C.subTree.el;R(C,F,S(T||C.subTree.el),T?null:b(C.subTree),E,i,c),x&&L(x),ua(C,F.el),k&&--E.deps===0&&E.resolve()})},unmount(C,R){E.isUnmounted=!0,E.activeBranch&&m(E.activeBranch,n,C,R),E.pendingBranch&&m(E.pendingBranch,n,C,R)}};return E}function Mp(e,t,n,r,s,o,i,a,c){const l=t.suspense=da(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,a,!0),u=c(e,l.pendingBranch=t.ssContent,n,l,o,i);return l.deps===0&&l.resolve(!1,!0),u}function Dp(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=rc(r?n.default:n),e.ssFallback=r?rc(n.fallback):we(Ge)}function rc(e){let t;if(se(e)){const n=er&&e._c;n&&(e._d=!1,Ie()),e=e(),n&&(e._d=!0,t=ut,If())}return te(e)&&(e=Pp(e)),e=at(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function lf(e,t){t&&t.pendingBranch?te(e)?t.effects.push(...e):t.effects.push(e):ai(e)}function Jn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,r&&r.subTree===n&&(r.vnode.el=s,ua(r,s))}function Fp(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const $p=Symbol.for("v-scx"),Up=()=>Ke($p);function uf(e,t){return ha(e,null,t)}const ls={};function $e(e,t,n){return ha(e,t,n)}function ha(e,t,{immediate:n,deep:r,flush:s,once:o,onTrack:i,onTrigger:a}=Ee){if(t&&o){const C=t;t=(...R)=>{C(...R),E()}}const c=Ne,l=C=>r===!0?C:wn(C,r===!1?1:void 0);let u,f=!1,d=!1;if(Ce(e)?(u=()=>e.value,f=Is(e)):cn(e)?(u=()=>l(e),f=!0):te(e)?(d=!0,f=e.some(C=>cn(C)||Is(C)),u=()=>e.map(C=>{if(Ce(C))return C.value;if(cn(C))return l(C);if(se(C))return ln(C,c,2)})):se(e)?t?u=()=>ln(e,c,2):u=()=>(m&&m(),ft(e,c,3,[b])):u=lt,t&&r){const C=u;u=()=>wn(C())}let m,b=C=>{m=y.onStop=()=>{ln(C,c,4),m=y.onStop=void 0}},S;if(Qr)if(b=lt,t?n&&ft(t,c,3,[u(),d?[]:void 0,b]):u(),s==="sync"){const C=Up();S=C.__watcherHandles||(C.__watcherHandles=[])}else return lt;let L=d?new Array(e.length).fill(ls):ls;const _=()=>{if(!(!y.active||!y.dirty))if(t){const C=y.run();(r||f||(d?C.some((R,k)=>un(R,L[k])):un(C,L)))&&(m&&m(),ft(t,c,3,[C,L===ls?void 0:d&&L[0]===ls?[]:L,b]),L=C)}else y.run()};_.allowRecurse=!!t;let v;s==="sync"?v=_:s==="post"?v=()=>Fe(_,c&&c.suspense):(_.pre=!0,c&&(_.id=c.uid),v=()=>uo(_));const y=new ta(u,lt,v),g=ao(),E=()=>{y.stop(),g&&Qi(g.effects,y)};return t?n?_():L=y.run():s==="post"?Fe(y.run.bind(y),c&&c.suspense):y.run(),S&&S.push(E),E}function jp(e,t,n){const r=this.proxy,s=Se(e)?e.includes(".")?ff(r,e):()=>r[e]:e.bind(r,r);let o;se(t)?o=t:(o=t.handler,n=t);const i=Jr(this),a=ha(s,o.bind(r),n);return i(),a}function ff(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),Ce(e))wn(e.value,t,n,r);else if(te(e))for(let s=0;s{wn(s,t,n,r)});else if(Ru(e))for(const s in e)wn(e[s],t,n,r);return e}function CC(e,t){if(Ae===null)return e;const n=yo(Ae)||Ae.proxy,r=e.dirs||(e.dirs=[]);for(let s=0;s{e.isMounted=!0}),zr(()=>{e.isUnmounting=!0}),e}const rt=[Function,Array],df={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:rt,onEnter:rt,onAfterEnter:rt,onEnterCancelled:rt,onBeforeLeave:rt,onLeave:rt,onAfterLeave:rt,onLeaveCancelled:rt,onBeforeAppear:rt,onAppear:rt,onAfterAppear:rt,onAppearCancelled:rt},Bp={name:"BaseTransition",props:df,setup(e,{slots:t}){const n=Dn(),r=Hp();return()=>{const s=t.default&&pf(t.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const d of s)if(d.type!==Ge){o=d;break}}const i=ue(e),{mode:a}=i;if(r.isLeaving)return Fo(o);const c=sc(o);if(!c)return Fo(o);const l=li(c,i,r,n);Ms(c,l);const u=n.subTree,f=u&&sc(u);if(f&&f.type!==Ge&&!_t(c,f)){const d=li(f,i,r,n);if(Ms(f,d),a==="out-in")return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Fo(o);a==="in-out"&&c.type!==Ge&&(d.delayLeave=(m,b,S)=>{const L=hf(r,f);L[String(f.key)]=f,m[nn]=()=>{b(),m[nn]=void 0,delete l.delayedLeave},l.delayedLeave=S})}return o}}},Vp=Bp;function hf(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function li(e,t,n,r){const{appear:s,mode:o,persisted:i=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:l,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:m,onLeaveCancelled:b,onBeforeAppear:S,onAppear:L,onAfterAppear:_,onAppearCancelled:v}=t,y=String(e.key),g=hf(n,e),E=(k,T)=>{k&&ft(k,r,9,T)},C=(k,T)=>{const I=T[1];E(k,T),te(k)?k.every(F=>F.length<=1)&&I():k.length<=1&&I()},R={mode:o,persisted:i,beforeEnter(k){let T=a;if(!n.isMounted)if(s)T=S||a;else return;k[nn]&&k[nn](!0);const I=g[y];I&&_t(e,I)&&I.el[nn]&&I.el[nn](),E(T,[k])},enter(k){let T=c,I=l,F=u;if(!n.isMounted)if(s)T=L||c,I=_||l,F=v||u;else return;let x=!1;const q=k[us]=ie=>{x||(x=!0,ie?E(F,[k]):E(I,[k]),R.delayedLeave&&R.delayedLeave(),k[us]=void 0)};T?C(T,[k,q]):q()},leave(k,T){const I=String(e.key);if(k[us]&&k[us](!0),n.isUnmounting)return T();E(f,[k]);let F=!1;const x=k[nn]=q=>{F||(F=!0,T(),q?E(b,[k]):E(m,[k]),k[nn]=void 0,g[I]===e&&delete g[I])};g[I]=e,d?C(d,[k,x]):x()},clone(k){return li(k,t,n,r)}};return R}function Fo(e){if(Yr(e))return e=Wt(e),e.children=null,e}function sc(e){return Yr(e)?e.children?e.children[0]:void 0:e}function Ms(e,t){e.shapeFlag&6&&e.component?Ms(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function pf(e,t=!1,n){let r=[],s=0;for(let o=0;o1)for(let o=0;o!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function oc(e){se(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:o,suspensible:i=!0,onError:a}=e;let c=null,l,u=0;const f=()=>(u++,c=null,d()),d=()=>{let m;return c||(m=c=t().catch(b=>{if(b=b instanceof Error?b:new Error(String(b)),a)return new Promise((S,L)=>{a(b,()=>S(f()),()=>L(b),u+1)});throw b}).then(b=>m!==c&&c?c:(b&&(b.__esModule||b[Symbol.toStringTag]==="Module")&&(b=b.default),l=b,b)))};return ht({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const m=Ne;if(l)return()=>$o(l,m);const b=v=>{c=null,ur(v,m,13,!r)};if(i&&m.suspense||Qr)return d().then(v=>()=>$o(v,m)).catch(v=>(b(v),()=>r?we(r,{error:v}):null));const S=be(!1),L=be(),_=be(!!s);return s&&setTimeout(()=>{_.value=!1},s),o!=null&&setTimeout(()=>{if(!S.value&&!L.value){const v=new Error(`Async component timed out after ${o}ms.`);b(v),L.value=v}},o),d().then(()=>{S.value=!0,m.parent&&Yr(m.parent.vnode)&&(m.parent.effect.dirty=!0,uo(m.parent.update))}).catch(v=>{b(v),L.value=v}),()=>{if(S.value&&l)return $o(l,m);if(L.value&&r)return we(r,{error:L.value});if(n&&!_.value)return we(n)}}})}function $o(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=we(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const Yr=e=>e.type.__isKeepAlive,Wp={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Dn(),r=n.ctx;if(!r.renderer)return()=>{const v=t.default&&t.default();return v&&v.length===1?v[0]:v};const s=new Map,o=new Set;let i=null;const a=n.suspense,{renderer:{p:c,m:l,um:u,o:{createElement:f}}}=r,d=f("div");r.activate=(v,y,g,E,C)=>{const R=v.component;l(v,y,g,0,a),c(R.vnode,v,y,g,R,a,E,v.slotScopeIds,C),Fe(()=>{R.isDeactivated=!1,R.a&&wr(R.a);const k=v.props&&v.props.onVnodeMounted;k&&Xe(k,R.parent,v)},a)},r.deactivate=v=>{const y=v.component;l(v,d,null,1,a),Fe(()=>{y.da&&wr(y.da);const g=v.props&&v.props.onVnodeUnmounted;g&&Xe(g,y.parent,v),y.isDeactivated=!0},a)};function m(v){Uo(v),u(v,n,a,!0)}function b(v){s.forEach((y,g)=>{const E=yi(y.type);E&&(!v||!v(E))&&S(g)})}function S(v){const y=s.get(v);!i||!_t(y,i)?m(y):i&&Uo(i),s.delete(v),o.delete(v)}$e(()=>[e.include,e.exclude],([v,y])=>{v&&b(g=>yr(v,g)),y&&b(g=>!yr(y,g))},{flush:"post",deep:!0});let L=null;const _=()=>{L!=null&&s.set(L,jo(n.subTree))};return Xr(_),_f(_),zr(()=>{s.forEach(v=>{const{subTree:y,suspense:g}=n,E=jo(y);if(v.type===E.type&&v.key===E.key){Uo(E);const C=E.component.da;C&&Fe(C,g);return}m(v)})}),()=>{if(L=null,!t.default)return null;const v=t.default(),y=v[0];if(v.length>1)return i=null,v;if(!tr(y)||!(y.shapeFlag&4)&&!(y.shapeFlag&128))return i=null,y;let g=jo(y);const E=g.type,C=yi(Pn(g)?g.type.__asyncResolved||{}:E),{include:R,exclude:k,max:T}=e;if(R&&(!C||!yr(R,C))||k&&C&&yr(k,C))return i=g,y;const I=g.key==null?E:g.key,F=s.get(I);return g.el&&(g=Wt(g),y.shapeFlag&128&&(y.ssContent=g)),L=I,F?(g.el=F.el,g.component=F.component,g.transition&&Ms(g,g.transition),g.shapeFlag|=512,o.delete(I),o.add(I)):(o.add(I),T&&o.size>parseInt(T,10)&&S(o.values().next().value)),g.shapeFlag|=256,i=g,af(y.type)?y:g}}},Kp=Wp;function yr(e,t){return te(e)?e.some(n=>yr(n,t)):Se(e)?e.split(",").includes(t):Nh(e)?e.test(t):!1}function mf(e,t){yf(e,"a",t)}function gf(e,t){yf(e,"da",t)}function yf(e,t,n=Ne){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(po(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Yr(s.parent.vnode)&&Gp(r,t,n,s),s=s.parent}}function Gp(e,t,n,r){const s=po(t,e,r,!0);mo(()=>{Qi(r[t],s)},n)}function Uo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function jo(e){return e.shapeFlag&128?e.ssContent:e}function po(e,t,n=Ne,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;xn();const a=Jr(n),c=ft(t,n,e,i);return a(),Mn(),c});return r?s.unshift(o):s.push(o),o}}const Kt=e=>(t,n=Ne)=>(!Qr||e==="sp")&&po(e,(...r)=>t(...r),n),qp=Kt("bm"),Xr=Kt("m"),Yp=Kt("bu"),_f=Kt("u"),zr=Kt("bum"),mo=Kt("um"),Xp=Kt("sp"),zp=Kt("rtg"),Jp=Kt("rtc");function bf(e,t=Ne){po("ec",e,t)}function ic(e,t,n,r){let s;const o=n&&n[r];if(te(e)||Se(e)){s=new Array(e.length);for(let i=0,a=e.length;it(i,a,void 0,o&&o[a]));else{const i=Object.keys(e);s=new Array(i.length);for(let a=0,c=i.length;atr(t)?!(t.type===Ge||t.type===Me&&!vf(t.children)):!0)?e:null}const ui=e=>e?Df(e)?yo(e)||e.proxy:ui(e.parent):null,Cr=xe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ui(e.parent),$root:e=>ui(e.root),$emit:e=>e.emit,$options:e=>pa(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,uo(e.update)}),$nextTick:e=>e.n||(e.n=fn.bind(e.proxy)),$watch:e=>jp.bind(e)}),Ho=(e,t)=>e!==Ee&&!e.__isScriptSetup&&fe(e,t),Qp={get({_:e},t){const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:a,appContext:c}=e;let l;if(t[0]!=="$"){const m=i[t];if(m!==void 0)switch(m){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Ho(r,t))return i[t]=1,r[t];if(s!==Ee&&fe(s,t))return i[t]=2,s[t];if((l=e.propsOptions[0])&&fe(l,t))return i[t]=3,o[t];if(n!==Ee&&fe(n,t))return i[t]=4,n[t];fi&&(i[t]=0)}}const u=Cr[t];let f,d;if(u)return t==="$attrs"&&Je(e,"get",t),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==Ee&&fe(n,t))return i[t]=4,n[t];if(d=c.config.globalProperties,fe(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Ho(s,t)?(s[t]=n,!0):r!==Ee&&fe(r,t)?(r[t]=n,!0):fe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let a;return!!n[i]||e!==Ee&&fe(e,i)||Ho(t,i)||(a=o[0])&&fe(a,i)||fe(r,i)||fe(Cr,i)||fe(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:fe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ac(e){return te(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let fi=!0;function Zp(e){const t=pa(e),n=e.proxy,r=e.ctx;fi=!1,t.beforeCreate&&cc(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:c,inject:l,created:u,beforeMount:f,mounted:d,beforeUpdate:m,updated:b,activated:S,deactivated:L,beforeDestroy:_,beforeUnmount:v,destroyed:y,unmounted:g,render:E,renderTracked:C,renderTriggered:R,errorCaptured:k,serverPrefetch:T,expose:I,inheritAttrs:F,components:x,directives:q,filters:ie}=t;if(l&&em(l,r,null),i)for(const Q in i){const z=i[Q];se(z)&&(r[Q]=z.bind(n))}if(s){const Q=s.call(n,n);ve(Q)&&(e.data=wt(Q))}if(fi=!0,o)for(const Q in o){const z=o[Q],Ue=se(z)?z.bind(n,n):se(z.get)?z.get.bind(n,n):lt,nt=!se(z)&&se(z.set)?z.set.bind(n):lt,Re=ge({get:Ue,set:nt});Object.defineProperty(r,Q,{enumerable:!0,configurable:!0,get:()=>Re.value,set:Oe=>Re.value=Oe})}if(a)for(const Q in a)Ef(a[Q],r,n,Q);if(c){const Q=se(c)?c.call(n):c;Reflect.ownKeys(Q).forEach(z=>{Zn(z,Q[z])})}u&&cc(u,e,"c");function H(Q,z){te(z)?z.forEach(Ue=>Q(Ue.bind(n))):z&&Q(z.bind(n))}if(H(qp,f),H(Xr,d),H(Yp,m),H(_f,b),H(mf,S),H(gf,L),H(bf,k),H(Jp,C),H(zp,R),H(zr,v),H(mo,g),H(Xp,T),te(I))if(I.length){const Q=e.exposed||(e.exposed={});I.forEach(z=>{Object.defineProperty(Q,z,{get:()=>n[z],set:Ue=>n[z]=Ue})})}else e.exposed||(e.exposed={});E&&e.render===lt&&(e.render=E),F!=null&&(e.inheritAttrs=F),x&&(e.components=x),q&&(e.directives=q)}function em(e,t,n=lt){te(e)&&(e=di(e));for(const r in e){const s=e[r];let o;ve(s)?"default"in s?o=Ke(s.from||r,s.default,!0):o=Ke(s.from||r):o=Ke(s),Ce(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function cc(e,t,n){ft(te(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ef(e,t,n,r){const s=r.includes(".")?ff(n,r):()=>n[r];if(Se(e)){const o=t[e];se(o)&&$e(s,o)}else if(se(e))$e(s,e.bind(n));else if(ve(e))if(te(e))e.forEach(o=>Ef(o,t,n,r));else{const o=se(e.handler)?e.handler.bind(n):t[e.handler];se(o)&&$e(s,o,e)}}function pa(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let c;return a?c=a:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(l=>Ds(c,l,i,!0)),Ds(c,t,i)),ve(t)&&o.set(t,c),c}function Ds(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&Ds(e,o,n,!0),s&&s.forEach(i=>Ds(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=tm[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const tm={data:lc,props:uc,emits:uc,methods:_r,computed:_r,beforeCreate:Ve,created:Ve,beforeMount:Ve,mounted:Ve,beforeUpdate:Ve,updated:Ve,beforeDestroy:Ve,beforeUnmount:Ve,destroyed:Ve,unmounted:Ve,activated:Ve,deactivated:Ve,errorCaptured:Ve,serverPrefetch:Ve,components:_r,directives:_r,watch:rm,provide:lc,inject:nm};function lc(e,t){return t?e?function(){return xe(se(e)?e.call(this,this):e,se(t)?t.call(this,this):t)}:t:e}function nm(e,t){return _r(di(e),di(t))}function di(e){if(te(e)){const t={};for(let n=0;n1)return n&&se(t)?t.call(r&&r.proxy):t}}function ma(){return!!(Ne||Ae||Qn)}function im(e,t,n,r=!1){const s={},o={};As(o,go,1),e.propsDefaults=Object.create(null),Sf(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:qr(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function am(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=ue(s),[c]=e.propsOptions;let l=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f{c=!0;const[d,m]=Cf(f,t,!0);xe(i,d),m&&a.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!c)return ve(e)&&r.set(e,qn),qn;if(te(o))for(let u=0;u-1,m[1]=S<0||b-1||fe(m,"default"))&&a.push(f)}}}const l=[i,a];return ve(e)&&r.set(e,l),l}function fc(e){return e[0]!=="$"&&!Xn(e)}function dc(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function hc(e,t){return dc(e)===dc(t)}function pc(e,t){return te(t)?t.findIndex(n=>hc(n,e)):se(t)&&hc(t,e)?0:-1}const Tf=e=>e[0]==="_"||e==="$stable",ga=e=>te(e)?e.map(at):[at(e)],cm=(e,t,n)=>{if(t._n)return t;const r=rf((...s)=>ga(t(...s)),n);return r._c=!1,r},Lf=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Tf(s))continue;const o=e[s];if(se(o))t[s]=cm(s,o,r);else if(o!=null){const i=ga(o);t[s]=()=>i}}},Pf=(e,t)=>{const n=ga(t);e.slots.default=()=>n},lm=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ue(t),As(t,"_",n)):Lf(t,e.slots={})}else e.slots={},t&&Pf(e,t);As(e.slots,go,1)},um=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=Ee;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:(xe(s,t),!n&&a===1&&delete s._):(o=!t.$stable,Lf(t,s)),i=t}else t&&(Pf(e,t),i={default:1});if(o)for(const a in s)!Tf(a)&&i[a]==null&&delete s[a]};function Fs(e,t,n,r,s=!1){if(te(e)){e.forEach((d,m)=>Fs(d,t&&(te(t)?t[m]:t),n,r,s));return}if(Pn(r)&&!s)return;const o=r.shapeFlag&4?yo(r.component)||r.component.proxy:r.el,i=s?null:o,{i:a,r:c}=e,l=t&&t.r,u=a.refs===Ee?a.refs={}:a.refs,f=a.setupState;if(l!=null&&l!==c&&(Se(l)?(u[l]=null,fe(f,l)&&(f[l]=null)):Ce(l)&&(l.value=null)),se(c))ln(c,a,12,[i,u]);else{const d=Se(c),m=Ce(c);if(d||m){const b=()=>{if(e.f){const S=d?fe(f,c)?f[c]:u[c]:c.value;s?te(S)&&Qi(S,o):te(S)?S.includes(o)||S.push(o):d?(u[c]=[o],fe(f,c)&&(f[c]=u[c])):(c.value=[o],e.k&&(u[e.k]=c.value))}else d?(u[c]=i,fe(f,c)&&(f[c]=i)):m&&(c.value=i,e.k&&(u[e.k]=i))};i?(b.id=-1,Fe(b,n)):b()}}}let Yt=!1;const fm=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",dm=e=>e.namespaceURI.includes("MathML"),fs=e=>{if(fm(e))return"svg";if(dm(e))return"mathml"},ds=e=>e.nodeType===8;function hm(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:a,insert:c,createComment:l}}=e,u=(y,g)=>{if(!g.hasChildNodes()){n(null,y,g),Ns(),g._vnode=y;return}Yt=!1,f(g.firstChild,y,null,null,null),Ns(),g._vnode=y,Yt&&console.error("Hydration completed but contains mismatches.")},f=(y,g,E,C,R,k=!1)=>{const T=ds(y)&&y.data==="[",I=()=>S(y,g,E,C,R,T),{type:F,ref:x,shapeFlag:q,patchFlag:ie}=g;let oe=y.nodeType;g.el=y,ie===-2&&(k=!1,g.dynamicChildren=null);let H=null;switch(F){case On:oe!==3?g.children===""?(c(g.el=s(""),i(y),y),H=y):H=I():(y.data!==g.children&&(Yt=!0,y.data=g.children),H=o(y));break;case Ge:v(y)?(H=o(y),_(g.el=y.content.firstChild,y,E)):oe!==8||T?H=I():H=o(y);break;case Es:if(T&&(y=o(y),oe=y.nodeType),oe===1||oe===3){H=y;const Q=!g.children.length;for(let z=0;z{k=k||!!g.dynamicChildren;const{type:T,props:I,patchFlag:F,shapeFlag:x,dirs:q,transition:ie}=g,oe=T==="input"||T==="option";if(oe||F!==-1){q&&Rt(g,null,E,"created");let H=!1;if(v(y)){H=kf(C,ie)&&E&&E.vnode.props&&E.vnode.props.appear;const z=y.content.firstChild;H&&ie.beforeEnter(z),_(z,y,E),g.el=y=z}if(x&16&&!(I&&(I.innerHTML||I.textContent))){let z=m(y.firstChild,g,y,E,C,R,k);for(;z;){Yt=!0;const Ue=z;z=z.nextSibling,a(Ue)}}else x&8&&y.textContent!==g.children&&(Yt=!0,y.textContent=g.children);if(I)if(oe||!k||F&48)for(const z in I)(oe&&(z.endsWith("value")||z==="indeterminate")||Wr(z)&&!Xn(z)||z[0]===".")&&r(y,z,null,I[z],void 0,void 0,E);else I.onClick&&r(y,"onClick",null,I.onClick,void 0,void 0,E);let Q;(Q=I&&I.onVnodeBeforeMount)&&Xe(Q,E,g),q&&Rt(g,null,E,"beforeMount"),((Q=I&&I.onVnodeMounted)||q||H)&&lf(()=>{Q&&Xe(Q,E,g),H&&ie.enter(y),q&&Rt(g,null,E,"mounted")},C)}return y.nextSibling},m=(y,g,E,C,R,k,T)=>{T=T||!!g.dynamicChildren;const I=g.children,F=I.length;for(let x=0;x{const{slotScopeIds:T}=g;T&&(R=R?R.concat(T):T);const I=i(y),F=m(o(y),g,I,E,C,R,k);return F&&ds(F)&&F.data==="]"?o(g.anchor=F):(Yt=!0,c(g.anchor=l("]"),I,F),F)},S=(y,g,E,C,R,k)=>{if(Yt=!0,g.el=null,k){const F=L(y);for(;;){const x=o(y);if(x&&x!==F)a(x);else break}}const T=o(y),I=i(y);return a(y),n(null,g,I,T,E,C,fs(I),R),T},L=(y,g="[",E="]")=>{let C=0;for(;y;)if(y=o(y),y&&ds(y)&&(y.data===g&&C++,y.data===E)){if(C===0)return o(y);C--}return y},_=(y,g,E)=>{const C=g.parentNode;C&&C.replaceChild(y,g);let R=E;for(;R;)R.vnode.el===g&&(R.vnode.el=R.subTree.el=y),R=R.parent},v=y=>y.nodeType===1&&y.tagName.toLowerCase()==="template";return[u,f]}const Fe=lf;function pm(e){return Rf(e)}function mm(e){return Rf(e,hm)}function Rf(e,t){const n=Au();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:c,setText:l,setElementText:u,parentNode:f,nextSibling:d,setScopeId:m=lt,insertStaticContent:b}=e,S=(h,p,w,P=null,A=null,M=null,j=void 0,U=null,B=!!p.dynamicChildren)=>{if(h===p)return;h&&!_t(h,p)&&(P=D(h),Oe(h,A,M,!0),h=null),p.patchFlag===-2&&(B=!1,p.dynamicChildren=null);const{type:$,ref:Y,shapeFlag:ee}=p;switch($){case On:L(h,p,w,P);break;case Ge:_(h,p,w,P);break;case Es:h==null&&v(p,w,P,j);break;case Me:x(h,p,w,P,A,M,j,U,B);break;default:ee&1?E(h,p,w,P,A,M,j,U,B):ee&6?q(h,p,w,P,A,M,j,U,B):(ee&64||ee&128)&&$.process(h,p,w,P,A,M,j,U,B,X)}Y!=null&&A&&Fs(Y,h&&h.ref,M,p||h,!p)},L=(h,p,w,P)=>{if(h==null)r(p.el=a(p.children),w,P);else{const A=p.el=h.el;p.children!==h.children&&l(A,p.children)}},_=(h,p,w,P)=>{h==null?r(p.el=c(p.children||""),w,P):p.el=h.el},v=(h,p,w,P)=>{[h.el,h.anchor]=b(h.children,p,w,P,h.el,h.anchor)},y=({el:h,anchor:p},w,P)=>{let A;for(;h&&h!==p;)A=d(h),r(h,w,P),h=A;r(p,w,P)},g=({el:h,anchor:p})=>{let w;for(;h&&h!==p;)w=d(h),s(h),h=w;s(p)},E=(h,p,w,P,A,M,j,U,B)=>{p.type==="svg"?j="svg":p.type==="math"&&(j="mathml"),h==null?C(p,w,P,A,M,j,U,B):T(h,p,A,M,j,U,B)},C=(h,p,w,P,A,M,j,U)=>{let B,$;const{props:Y,shapeFlag:ee,transition:K,dirs:O}=h;if(B=h.el=i(h.type,M,Y&&Y.is,Y),ee&8?u(B,h.children):ee&16&&k(h.children,B,null,P,A,Bo(h,M),j,U),O&&Rt(h,null,P,"created"),R(B,h,h.scopeId,j,P),Y){for(const Z in Y)Z!=="value"&&!Xn(Z)&&o(B,Z,null,Y[Z],M,h.children,P,A,ke);"value"in Y&&o(B,"value",null,Y.value,M),($=Y.onVnodeBeforeMount)&&Xe($,P,h)}O&&Rt(h,null,P,"beforeMount");const N=kf(A,K);N&&K.beforeEnter(B),r(B,p,w),(($=Y&&Y.onVnodeMounted)||N||O)&&Fe(()=>{$&&Xe($,P,h),N&&K.enter(B),O&&Rt(h,null,P,"mounted")},A)},R=(h,p,w,P,A)=>{if(w&&m(h,w),P)for(let M=0;M{for(let $=B;${const U=p.el=h.el;let{patchFlag:B,dynamicChildren:$,dirs:Y}=p;B|=h.patchFlag&16;const ee=h.props||Ee,K=p.props||Ee;let O;if(w&&mn(w,!1),(O=K.onVnodeBeforeUpdate)&&Xe(O,w,p,h),Y&&Rt(p,h,w,"beforeUpdate"),w&&mn(w,!0),$?I(h.dynamicChildren,$,U,w,P,Bo(p,A),M):j||z(h,p,U,null,w,P,Bo(p,A),M,!1),B>0){if(B&16)F(U,p,ee,K,w,P,A);else if(B&2&&ee.class!==K.class&&o(U,"class",null,K.class,A),B&4&&o(U,"style",ee.style,K.style,A),B&8){const N=p.dynamicProps;for(let Z=0;Z{O&&Xe(O,w,p,h),Y&&Rt(p,h,w,"updated")},P)},I=(h,p,w,P,A,M,j)=>{for(let U=0;U{if(w!==P){if(w!==Ee)for(const U in w)!Xn(U)&&!(U in P)&&o(h,U,w[U],null,j,p.children,A,M,ke);for(const U in P){if(Xn(U))continue;const B=P[U],$=w[U];B!==$&&U!=="value"&&o(h,U,$,B,j,p.children,A,M,ke)}"value"in P&&o(h,"value",w.value,P.value,j)}},x=(h,p,w,P,A,M,j,U,B)=>{const $=p.el=h?h.el:a(""),Y=p.anchor=h?h.anchor:a("");let{patchFlag:ee,dynamicChildren:K,slotScopeIds:O}=p;O&&(U=U?U.concat(O):O),h==null?(r($,w,P),r(Y,w,P),k(p.children||[],w,Y,A,M,j,U,B)):ee>0&&ee&64&&K&&h.dynamicChildren?(I(h.dynamicChildren,K,w,A,M,j,U),(p.key!=null||A&&p===A.subTree)&&ya(h,p,!0)):z(h,p,w,Y,A,M,j,U,B)},q=(h,p,w,P,A,M,j,U,B)=>{p.slotScopeIds=U,h==null?p.shapeFlag&512?A.ctx.activate(p,w,P,j,B):ie(p,w,P,A,M,j,B):oe(h,p,B)},ie=(h,p,w,P,A,M,j)=>{const U=h.component=Cm(h,P,A);if(Yr(h)&&(U.ctx.renderer=X),Tm(U),U.asyncDep){if(A&&A.registerDep(U,H),!h.el){const B=U.subTree=we(Ge);_(null,B,p,w)}}else H(U,h,p,w,A,M,j)},oe=(h,p,w)=>{const P=p.component=h.component;if(Ap(h,p,w))if(P.asyncDep&&!P.asyncResolved){Q(P,p,w);return}else P.next=p,wp(P.update),P.effect.dirty=!0,P.update();else p.el=h.el,P.vnode=p},H=(h,p,w,P,A,M,j)=>{const U=()=>{if(h.isMounted){let{next:Y,bu:ee,u:K,parent:O,vnode:N}=h;{const Qe=Af(h);if(Qe){Y&&(Y.el=N.el,Q(h,Y,j)),Qe.asyncDep.then(()=>{h.isUnmounted||U()});return}}let Z=Y,re;mn(h,!1),Y?(Y.el=N.el,Q(h,Y,j)):Y=N,ee&&wr(ee),(re=Y.props&&Y.props.onVnodeBeforeUpdate)&&Xe(re,O,Y,N),mn(h,!0);const _e=Do(h),je=h.subTree;h.subTree=_e,S(je,_e,f(je.el),D(je),h,A,M),Y.el=_e.el,Z===null&&ua(h,_e.el),K&&Fe(K,A),(re=Y.props&&Y.props.onVnodeUpdated)&&Fe(()=>Xe(re,O,Y,N),A)}else{let Y;const{el:ee,props:K}=p,{bm:O,m:N,parent:Z}=h,re=Pn(p);if(mn(h,!1),O&&wr(O),!re&&(Y=K&&K.onVnodeBeforeMount)&&Xe(Y,Z,p),mn(h,!0),ee&&ye){const _e=()=>{h.subTree=Do(h),ye(ee,h.subTree,h,A,null)};re?p.type.__asyncLoader().then(()=>!h.isUnmounted&&_e()):_e()}else{const _e=h.subTree=Do(h);S(null,_e,w,P,h,A,M),p.el=_e.el}if(N&&Fe(N,A),!re&&(Y=K&&K.onVnodeMounted)){const _e=p;Fe(()=>Xe(Y,Z,_e),A)}(p.shapeFlag&256||Z&&Pn(Z.vnode)&&Z.vnode.shapeFlag&256)&&h.a&&Fe(h.a,A),h.isMounted=!0,p=w=P=null}},B=h.effect=new ta(U,lt,()=>uo($),h.scope),$=h.update=()=>{B.dirty&&B.run()};$.id=h.uid,mn(h,!0),$()},Q=(h,p,w)=>{p.component=h;const P=h.vnode.props;h.vnode=p,h.next=null,am(h,p.props,P,w),um(h,p.children,w),xn(),ec(h),Mn()},z=(h,p,w,P,A,M,j,U,B=!1)=>{const $=h&&h.children,Y=h?h.shapeFlag:0,ee=p.children,{patchFlag:K,shapeFlag:O}=p;if(K>0){if(K&128){nt($,ee,w,P,A,M,j,U,B);return}else if(K&256){Ue($,ee,w,P,A,M,j,U,B);return}}O&8?(Y&16&&ke($,A,M),ee!==$&&u(w,ee)):Y&16?O&16?nt($,ee,w,P,A,M,j,U,B):ke($,A,M,!0):(Y&8&&u(w,""),O&16&&k(ee,w,P,A,M,j,U,B))},Ue=(h,p,w,P,A,M,j,U,B)=>{h=h||qn,p=p||qn;const $=h.length,Y=p.length,ee=Math.min($,Y);let K;for(K=0;KY?ke(h,A,M,!0,!1,ee):k(p,w,P,A,M,j,U,B,ee)},nt=(h,p,w,P,A,M,j,U,B)=>{let $=0;const Y=p.length;let ee=h.length-1,K=Y-1;for(;$<=ee&&$<=K;){const O=h[$],N=p[$]=B?rn(p[$]):at(p[$]);if(_t(O,N))S(O,N,w,null,A,M,j,U,B);else break;$++}for(;$<=ee&&$<=K;){const O=h[ee],N=p[K]=B?rn(p[K]):at(p[K]);if(_t(O,N))S(O,N,w,null,A,M,j,U,B);else break;ee--,K--}if($>ee){if($<=K){const O=K+1,N=OK)for(;$<=ee;)Oe(h[$],A,M,!0),$++;else{const O=$,N=$,Z=new Map;for($=N;$<=K;$++){const Ze=p[$]=B?rn(p[$]):at(p[$]);Ze.key!=null&&Z.set(Ze.key,$)}let re,_e=0;const je=K-N+1;let Qe=!1,rs=0;const Fn=new Array(je);for($=0;$=je){Oe(Ze,A,M,!0);continue}let Tt;if(Ze.key!=null)Tt=Z.get(Ze.key);else for(re=N;re<=K;re++)if(Fn[re-N]===0&&_t(Ze,p[re])){Tt=re;break}Tt===void 0?Oe(Ze,A,M,!0):(Fn[Tt-N]=$+1,Tt>=rs?rs=Tt:Qe=!0,S(Ze,p[Tt],w,null,A,M,j,U,B),_e++)}const Wa=Qe?gm(Fn):qn;for(re=Wa.length-1,$=je-1;$>=0;$--){const Ze=N+$,Tt=p[Ze],Ka=Ze+1{const{el:M,type:j,transition:U,children:B,shapeFlag:$}=h;if($&6){Re(h.component.subTree,p,w,P);return}if($&128){h.suspense.move(p,w,P);return}if($&64){j.move(h,p,w,X);return}if(j===Me){r(M,p,w);for(let ee=0;eeU.enter(M),A);else{const{leave:ee,delayLeave:K,afterLeave:O}=U,N=()=>r(M,p,w),Z=()=>{ee(M,()=>{N(),O&&O()})};K?K(M,N,Z):Z()}else r(M,p,w)},Oe=(h,p,w,P=!1,A=!1)=>{const{type:M,props:j,ref:U,children:B,dynamicChildren:$,shapeFlag:Y,patchFlag:ee,dirs:K}=h;if(U!=null&&Fs(U,null,w,h,!0),Y&256){p.ctx.deactivate(h);return}const O=Y&1&&K,N=!Pn(h);let Z;if(N&&(Z=j&&j.onVnodeBeforeUnmount)&&Xe(Z,p,h),Y&6)Gt(h.component,w,P);else{if(Y&128){h.suspense.unmount(w,P);return}O&&Rt(h,null,p,"beforeUnmount"),Y&64?h.type.remove(h,p,w,A,X,P):$&&(M!==Me||ee>0&&ee&64)?ke($,p,w,!1,!0):(M===Me&&ee&384||!A&&Y&16)&&ke(B,p,w),P&&Ct(h)}(N&&(Z=j&&j.onVnodeUnmounted)||O)&&Fe(()=>{Z&&Xe(Z,p,h),O&&Rt(h,null,p,"unmounted")},w)},Ct=h=>{const{type:p,el:w,anchor:P,transition:A}=h;if(p===Me){mt(w,P);return}if(p===Es){g(h);return}const M=()=>{s(w),A&&!A.persisted&&A.afterLeave&&A.afterLeave()};if(h.shapeFlag&1&&A&&!A.persisted){const{leave:j,delayLeave:U}=A,B=()=>j(w,M);U?U(h.el,M,B):B()}else M()},mt=(h,p)=>{let w;for(;h!==p;)w=d(h),s(h),h=w;s(p)},Gt=(h,p,w)=>{const{bum:P,scope:A,update:M,subTree:j,um:U}=h;P&&wr(P),A.stop(),M&&(M.active=!1,Oe(j,h,p,w)),U&&Fe(U,p),Fe(()=>{h.isUnmounted=!0},p),p&&p.pendingBranch&&!p.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===p.pendingId&&(p.deps--,p.deps===0&&p.resolve())},ke=(h,p,w,P=!1,A=!1,M=0)=>{for(let j=M;jh.shapeFlag&6?D(h.component.subTree):h.shapeFlag&128?h.suspense.next():d(h.anchor||h.el);let G=!1;const V=(h,p,w)=>{h==null?p._vnode&&Oe(p._vnode,null,null,!0):S(p._vnode||null,h,p,null,null,null,w),G||(G=!0,ec(),Ns(),G=!1),p._vnode=h},X={p:S,um:Oe,m:Re,r:Ct,mt:ie,mc:k,pc:z,pbc:I,n:D,o:e};let ae,ye;return t&&([ae,ye]=t(X)),{render:V,hydrate:ae,createApp:om(V,ae)}}function Bo({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function mn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function kf(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ya(e,t,n=!1){const r=e.children,s=t.children;if(te(r)&&te(s))for(let o=0;o>1,e[n[a]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Af(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Af(t)}const ym=e=>e.__isTeleport,Tr=e=>e&&(e.disabled||e.disabled===""),mc=e=>typeof SVGElement<"u"&&e instanceof SVGElement,gc=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,pi=(e,t)=>{const n=e&&e.to;return Se(n)?t?t(n):null:n},_m={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,i,a,c,l){const{mc:u,pc:f,pbc:d,o:{insert:m,querySelector:b,createText:S,createComment:L}}=l,_=Tr(t.props);let{shapeFlag:v,children:y,dynamicChildren:g}=t;if(e==null){const E=t.el=S(""),C=t.anchor=S("");m(E,n,r),m(C,n,r);const R=t.target=pi(t.props,b),k=t.targetAnchor=S("");R&&(m(k,R),i==="svg"||mc(R)?i="svg":(i==="mathml"||gc(R))&&(i="mathml"));const T=(I,F)=>{v&16&&u(y,I,F,s,o,i,a,c)};_?T(n,C):R&&T(R,k)}else{t.el=e.el;const E=t.anchor=e.anchor,C=t.target=e.target,R=t.targetAnchor=e.targetAnchor,k=Tr(e.props),T=k?n:C,I=k?E:R;if(i==="svg"||mc(C)?i="svg":(i==="mathml"||gc(C))&&(i="mathml"),g?(d(e.dynamicChildren,g,T,s,o,i,a),ya(e,t,!0)):c||f(e,t,T,I,s,o,i,a,!1),_)k?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):hs(t,n,E,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const F=t.target=pi(t.props,b);F&&hs(t,F,null,l,0)}else k&&hs(t,C,R,l,1)}Of(t)},remove(e,t,n,r,{um:s,o:{remove:o}},i){const{shapeFlag:a,children:c,anchor:l,targetAnchor:u,target:f,props:d}=e;if(f&&o(u),i&&o(l),a&16){const m=i||!Tr(d);for(let b=0;b0?ut||qn:null,If(),er>0&&ut&&ut.push(e),e}function Ht(e,t,n,r,s,o){return Nf(Sn(e,t,n,r,s,o,!0))}function jt(e,t,n,r,s){return Nf(we(e,t,n,r,s,!0))}function tr(e){return e?e.__v_isVNode===!0:!1}function _t(e,t){return e.type===t.type&&e.key===t.key}const go="__vInternal",xf=({key:e})=>e??null,ws=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Se(e)||Ce(e)||se(e)?{i:Ae,r:e,k:t,f:!!n}:e:null);function Sn(e,t=null,n=null,r=0,s=null,o=e===Me?0:1,i=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&xf(t),ref:t&&ws(t),scopeId:ho,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Ae};return a?(ba(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=Se(n)?8:16),er>0&&!i&&ut&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&ut.push(c),c}const we=vm;function vm(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===sf)&&(e=Ge),tr(e)){const a=Wt(e,t,!0);return n&&ba(a,n),er>0&&!o&&ut&&(a.shapeFlag&6?ut[ut.indexOf(e)]=a:ut.push(a)),a.patchFlag|=-2,a}if(km(e)&&(e=e.__vccOpts),t){t=_a(t);let{class:a,style:c}=t;a&&!Se(a)&&(t.class=io(a)),ve(c)&&(qu(c)&&!te(c)&&(c=xe({},c)),t.style=oo(c))}const i=Se(e)?1:af(e)?128:ym(e)?64:ve(e)?4:se(e)?2:0;return Sn(e,t,n,r,s,i,o,!0)}function _a(e){return e?qu(e)||go in e?xe({},e):e:null}function Wt(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:i}=e,a=t?va(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&xf(a),ref:t&&t.ref?n&&s?te(s)?s.concat(ws(t)):[s,ws(t)]:ws(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Me?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Wt(e.ssContent),ssFallback:e.ssFallback&&Wt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Mf(e=" ",t=0){return we(On,null,e,t)}function Em(e="",t=!1){return t?(Ie(),jt(Ge,null,e)):we(Ge,null,e)}function at(e){return e==null||typeof e=="boolean"?we(Ge):te(e)?we(Me,null,e.slice()):typeof e=="object"?rn(e):we(On,null,String(e))}function rn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Wt(e)}function ba(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(te(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),ba(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(go in t)?t._ctx=Ae:s===3&&Ae&&(Ae.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else se(t)?(t={default:t,_ctx:Ae},n=32):(t=String(t),r&64?(n=16,t=[Mf(t)]):n=8);e.children=t,e.shapeFlag|=n}function va(...e){const t={};for(let n=0;nNe||Ae;let $s,mi;{const e=Au(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};$s=t("__VUE_INSTANCE_SETTERS__",n=>Ne=n),mi=t("__VUE_SSR_SETTERS__",n=>Qr=n)}const Jr=e=>{const t=Ne;return $s(e),e.scope.on(),()=>{e.scope.off(),$s(t)}},_c=()=>{Ne&&Ne.scope.off(),$s(null)};function Df(e){return e.vnode.shapeFlag&4}let Qr=!1;function Tm(e,t=!1){t&&mi(t);const{props:n,children:r}=e.vnode,s=Df(e);im(e,n,s,t),lm(e,r);const o=s?Lm(e,t):void 0;return t&&mi(!1),o}function Lm(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=lo(new Proxy(e.ctx,Qp));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?Rm(e):null,o=Jr(e);xn();const i=ln(r,e,0,[e.props,s]);if(Mn(),o(),Lu(i)){if(i.then(_c,_c),t)return i.then(a=>{gi(e,a,t)}).catch(a=>{ur(a,e,0)});e.asyncDep=i}else gi(e,i,t)}else Ff(e,t)}function gi(e,t,n){se(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ve(t)&&(e.setupState=zu(t)),Ff(e,n)}let bc;function Ff(e,t,n){const r=e.type;if(!e.render){if(!t&&bc&&!r.render){const s=r.template||pa(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:c}=r,l=xe(xe({isCustomElement:o,delimiters:a},i),c);r.render=bc(s,l)}}e.render=r.render||lt}{const s=Jr(e);xn();try{Zp(e)}finally{Mn(),s()}}}function Pm(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Je(e,"get","$attrs"),t[n]}}))}function Rm(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Pm(e)},slots:e.slots,emit:e.emit,expose:t}}function yo(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(zu(lo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Cr)return Cr[n](e)},has(t,n){return n in t||n in Cr}}))}function yi(e,t=!0){return se(e)?e.displayName||e.name:e.name||t&&e.__name}function km(e){return se(e)&&"__vccOpts"in e}const ge=(e,t)=>dp(e,t,Qr);function bt(e,t,n){const r=arguments.length;return r===2?ve(t)&&!te(t)?tr(t)?we(e,null,[t]):we(e,t):we(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&tr(n)&&(n=[n]),we(e,t,n))}const $f="3.4.21";/** +**/function ln(e,t,n,r){try{return r?e(...r):e()}catch(s){ur(s,t,n)}}function ft(e,t,n,r){if(se(e)){const o=ln(e,t,n,r);return o&&Lu(o)&&o.catch(i=>{ur(i,t,n)}),o}const s=[];for(let o=0;o>>1,s=Be[r],o=Dr(s);okt&&Be.splice(t,1)}function ai(e){te(e)?zn.push(...e):(!tn||!tn.includes(e,e.allowRecurse?vn+1:vn))&&zn.push(e),ef()}function ec(e,t,n=Mr?kt+1:0){for(;nDr(n)-Dr(r));if(zn.length=0,tn){tn.push(...t);return}for(tn=t,vn=0;vne.id==null?1/0:e.id,Sp=(e,t)=>{const n=Dr(e)-Dr(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function tf(e){ii=!1,Mr=!0,Be.sort(Sp);try{for(kt=0;ktSe(g)?g.trim():g)),f&&(s=n.map(Fh))}let a,c=r[a=xo(t)]||r[a=xo(Nt(t))];!c&&o&&(c=r[a=xo(Nn(t))]),c&&ft(c,e,6,s);const l=r[a+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,ft(l,e,6,s)}}function nf(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},a=!1;if(!se(e)){const c=l=>{const u=nf(l,t,!0);u&&(a=!0,xe(i,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!a?(ve(e)&&r.set(e,null),null):(te(o)?o.forEach(c=>i[c]=null):xe(i,o),ve(e)&&r.set(e,i),i)}function fo(e,t){return!e||!Wr(t)?!1:(t=t.slice(2).replace(/Once$/,""),fe(e,t[0].toLowerCase()+t.slice(1))||fe(e,Nn(t))||fe(e,t))}let Ae=null,ho=null;function xs(e){const t=Ae;return Ae=e,ho=e&&e.type.__scopeId||null,t}function Tp(e){ho=e}function Lp(){ho=null}function rf(e,t=Ae,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&yc(-1);const o=xs(t);let i;try{i=e(...s)}finally{xs(o),r._d&&yc(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Do(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[i],slots:a,attrs:c,emit:l,render:u,renderCache:f,data:d,setupState:g,ctx:b,inheritAttrs:S}=e;let L,_;const v=xs(e);try{if(n.shapeFlag&4){const m=s||r,E=m;L=at(u.call(E,m,f,o,g,d,b)),_=c}else{const m=t;L=at(m.length>1?m(o,{attrs:c,slots:a,emit:l}):m(o,null)),_=t.props?c:Rp(c)}}catch(m){Lr.length=0,ur(m,e,1),L=we(Ge)}let y=L;if(_&&S!==!1){const m=Object.keys(_),{shapeFlag:E}=y;m.length&&E&7&&(i&&m.some(Ji)&&(_=kp(_,i)),y=Wt(y,_))}return n.dirs&&(y=Wt(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),L=y,xs(v),L}function Pp(e,t=!0){let n;for(let r=0;r{let t;for(const n in e)(n==="class"||n==="style"||Wr(n))&&((t||(t={}))[n]=e[n]);return t},kp=(e,t)=>{const n={};for(const r in e)(!Ji(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ap(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:c}=t,l=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?tc(r,i,l):!!i;if(c&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense;let ci=0;const Ip={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,c,l){if(e==null)Np(t,n,r,s,o,i,a,c,l);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}xp(e,t,n,r,s,i,a,c,l)}},hydrate:Mp,create:da,normalize:Dp},cf=Ip;function Fr(e,t){const n=e.props&&e.props[t];se(n)&&n()}function Np(e,t,n,r,s,o,i,a,c){const{p:l,o:{createElement:u}}=c,f=u("div"),d=e.suspense=da(e,s,r,t,f,n,o,i,a,c);l(null,d.pendingBranch=e.ssContent,f,null,r,d,o,i),d.deps>0?(Fr(e,"onPending"),Fr(e,"onFallback"),l(null,e.ssFallback,t,n,r,null,o,i),Jn(d,e.ssFallback)):d.resolve(!1,!0)}function xp(e,t,n,r,s,o,i,a,{p:c,um:l,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,g=t.ssFallback,{activeBranch:b,pendingBranch:S,isInFallback:L,isHydrating:_}=f;if(S)f.pendingBranch=d,_t(d,S)?(c(S,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():L&&(_||(c(b,g,n,r,s,null,o,i,a),Jn(f,g)))):(f.pendingId=ci++,_?(f.isHydrating=!1,f.activeBranch=S):l(S,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),L?(c(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():(c(b,g,n,r,s,null,o,i,a),Jn(f,g))):b&&_t(d,b)?(c(b,d,n,r,s,f,o,i,a),f.resolve(!0)):(c(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0&&f.resolve()));else if(b&&_t(d,b))c(b,d,n,r,s,f,o,i,a),Jn(f,d);else if(Fr(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=ci++,c(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0)f.resolve();else{const{timeout:v,pendingId:y}=f;v>0?setTimeout(()=>{f.pendingId===y&&f.fallback(g)},v):v===0&&f.fallback(g)}}function da(e,t,n,r,s,o,i,a,c,l,u=!1){const{p:f,m:d,um:g,n:b,o:{parentNode:S,remove:L}}=l;let _;const v=Fp(e);v&&t!=null&&t.pendingBranch&&(_=t.pendingId,t.deps++);const y=e.props?ku(e.props.timeout):void 0,m=o,E={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:s,deps:0,pendingId:ci++,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(C=!1,R=!1){const{vnode:k,activeBranch:T,pendingBranch:I,pendingId:F,effects:x,parentComponent:q,container:ie}=E;let oe=!1;E.isHydrating?E.isHydrating=!1:C||(oe=T&&I.transition&&I.transition.mode==="out-in",oe&&(T.transition.afterLeave=()=>{F===E.pendingId&&(d(I,ie,o===m?b(T):o,0),ai(x))}),T&&(S(T.el)!==E.hiddenContainer&&(o=b(T)),g(T,q,E,!0)),oe||d(I,ie,o,0)),Jn(E,I),E.pendingBranch=null,E.isInFallback=!1;let H=E.parent,Q=!1;for(;H;){if(H.pendingBranch){H.effects.push(...x),Q=!0;break}H=H.parent}!Q&&!oe&&ai(x),E.effects=[],v&&t&&t.pendingBranch&&_===t.pendingId&&(t.deps--,t.deps===0&&!R&&t.resolve()),Fr(k,"onResolve")},fallback(C){if(!E.pendingBranch)return;const{vnode:R,activeBranch:k,parentComponent:T,container:I,namespace:F}=E;Fr(R,"onFallback");const x=b(k),q=()=>{E.isInFallback&&(f(null,C,I,x,T,null,F,a,c),Jn(E,C))},ie=C.transition&&C.transition.mode==="out-in";ie&&(k.transition.afterLeave=q),E.isInFallback=!0,g(k,T,null,!0),ie||q()},move(C,R,k){E.activeBranch&&d(E.activeBranch,C,R,k),E.container=C},next(){return E.activeBranch&&b(E.activeBranch)},registerDep(C,R){const k=!!E.pendingBranch;k&&E.deps++;const T=C.vnode.el;C.asyncDep.catch(I=>{ur(I,C,0)}).then(I=>{if(C.isUnmounted||E.isUnmounted||E.pendingId!==C.suspenseId)return;C.asyncResolved=!0;const{vnode:F}=C;mi(C,I,!1),T&&(F.el=T);const x=!T&&C.subTree.el;R(C,F,S(T||C.subTree.el),T?null:b(C.subTree),E,i,c),x&&L(x),ua(C,F.el),k&&--E.deps===0&&E.resolve()})},unmount(C,R){E.isUnmounted=!0,E.activeBranch&&g(E.activeBranch,n,C,R),E.pendingBranch&&g(E.pendingBranch,n,C,R)}};return E}function Mp(e,t,n,r,s,o,i,a,c){const l=t.suspense=da(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,a,!0),u=c(e,l.pendingBranch=t.ssContent,n,l,o,i);return l.deps===0&&l.resolve(!1,!0),u}function Dp(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=rc(r?n.default:n),e.ssFallback=r?rc(n.fallback):we(Ge)}function rc(e){let t;if(se(e)){const n=er&&e._c;n&&(e._d=!1,Ie()),e=e(),n&&(e._d=!0,t=ut,If())}return te(e)&&(e=Pp(e)),e=at(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function lf(e,t){t&&t.pendingBranch?te(e)?t.effects.push(...e):t.effects.push(e):ai(e)}function Jn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,r&&r.subTree===n&&(r.vnode.el=s,ua(r,s))}function Fp(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const $p=Symbol.for("v-scx"),Up=()=>Ke($p);function uf(e,t){return ha(e,null,t)}const ls={};function $e(e,t,n){return ha(e,t,n)}function ha(e,t,{immediate:n,deep:r,flush:s,once:o,onTrack:i,onTrigger:a}=Ee){if(t&&o){const C=t;t=(...R)=>{C(...R),E()}}const c=Ne,l=C=>r===!0?C:wn(C,r===!1?1:void 0);let u,f=!1,d=!1;if(Ce(e)?(u=()=>e.value,f=Is(e)):cn(e)?(u=()=>l(e),f=!0):te(e)?(d=!0,f=e.some(C=>cn(C)||Is(C)),u=()=>e.map(C=>{if(Ce(C))return C.value;if(cn(C))return l(C);if(se(C))return ln(C,c,2)})):se(e)?t?u=()=>ln(e,c,2):u=()=>(g&&g(),ft(e,c,3,[b])):u=lt,t&&r){const C=u;u=()=>wn(C())}let g,b=C=>{g=y.onStop=()=>{ln(C,c,4),g=y.onStop=void 0}},S;if(Qr)if(b=lt,t?n&&ft(t,c,3,[u(),d?[]:void 0,b]):u(),s==="sync"){const C=Up();S=C.__watcherHandles||(C.__watcherHandles=[])}else return lt;let L=d?new Array(e.length).fill(ls):ls;const _=()=>{if(!(!y.active||!y.dirty))if(t){const C=y.run();(r||f||(d?C.some((R,k)=>un(R,L[k])):un(C,L)))&&(g&&g(),ft(t,c,3,[C,L===ls?void 0:d&&L[0]===ls?[]:L,b]),L=C)}else y.run()};_.allowRecurse=!!t;let v;s==="sync"?v=_:s==="post"?v=()=>Fe(_,c&&c.suspense):(_.pre=!0,c&&(_.id=c.uid),v=()=>uo(_));const y=new ta(u,lt,v),m=ao(),E=()=>{y.stop(),m&&Qi(m.effects,y)};return t?n?_():L=y.run():s==="post"?Fe(y.run.bind(y),c&&c.suspense):y.run(),S&&S.push(E),E}function jp(e,t,n){const r=this.proxy,s=Se(e)?e.includes(".")?ff(r,e):()=>r[e]:e.bind(r,r);let o;se(t)?o=t:(o=t.handler,n=t);const i=Jr(this),a=ha(s,o.bind(r),n);return i(),a}function ff(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),Ce(e))wn(e.value,t,n,r);else if(te(e))for(let s=0;s{wn(s,t,n,r)});else if(Ru(e))for(const s in e)wn(e[s],t,n,r);return e}function CC(e,t){if(Ae===null)return e;const n=yo(Ae)||Ae.proxy,r=e.dirs||(e.dirs=[]);for(let s=0;s{e.isMounted=!0}),zr(()=>{e.isUnmounting=!0}),e}const rt=[Function,Array],df={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:rt,onEnter:rt,onAfterEnter:rt,onEnterCancelled:rt,onBeforeLeave:rt,onLeave:rt,onAfterLeave:rt,onLeaveCancelled:rt,onBeforeAppear:rt,onAppear:rt,onAfterAppear:rt,onAppearCancelled:rt},Bp={name:"BaseTransition",props:df,setup(e,{slots:t}){const n=Dn(),r=Hp();return()=>{const s=t.default&&pf(t.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const d of s)if(d.type!==Ge){o=d;break}}const i=ue(e),{mode:a}=i;if(r.isLeaving)return Fo(o);const c=sc(o);if(!c)return Fo(o);const l=li(c,i,r,n);Ms(c,l);const u=n.subTree,f=u&&sc(u);if(f&&f.type!==Ge&&!_t(c,f)){const d=li(f,i,r,n);if(Ms(f,d),a==="out-in")return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Fo(o);a==="in-out"&&c.type!==Ge&&(d.delayLeave=(g,b,S)=>{const L=hf(r,f);L[String(f.key)]=f,g[nn]=()=>{b(),g[nn]=void 0,delete l.delayedLeave},l.delayedLeave=S})}return o}}},Vp=Bp;function hf(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function li(e,t,n,r){const{appear:s,mode:o,persisted:i=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:l,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:g,onLeaveCancelled:b,onBeforeAppear:S,onAppear:L,onAfterAppear:_,onAppearCancelled:v}=t,y=String(e.key),m=hf(n,e),E=(k,T)=>{k&&ft(k,r,9,T)},C=(k,T)=>{const I=T[1];E(k,T),te(k)?k.every(F=>F.length<=1)&&I():k.length<=1&&I()},R={mode:o,persisted:i,beforeEnter(k){let T=a;if(!n.isMounted)if(s)T=S||a;else return;k[nn]&&k[nn](!0);const I=m[y];I&&_t(e,I)&&I.el[nn]&&I.el[nn](),E(T,[k])},enter(k){let T=c,I=l,F=u;if(!n.isMounted)if(s)T=L||c,I=_||l,F=v||u;else return;let x=!1;const q=k[us]=ie=>{x||(x=!0,ie?E(F,[k]):E(I,[k]),R.delayedLeave&&R.delayedLeave(),k[us]=void 0)};T?C(T,[k,q]):q()},leave(k,T){const I=String(e.key);if(k[us]&&k[us](!0),n.isUnmounting)return T();E(f,[k]);let F=!1;const x=k[nn]=q=>{F||(F=!0,T(),q?E(b,[k]):E(g,[k]),k[nn]=void 0,m[I]===e&&delete m[I])};m[I]=e,d?C(d,[k,x]):x()},clone(k){return li(k,t,n,r)}};return R}function Fo(e){if(Yr(e))return e=Wt(e),e.children=null,e}function sc(e){return Yr(e)?e.children?e.children[0]:void 0:e}function Ms(e,t){e.shapeFlag&6&&e.component?Ms(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function pf(e,t=!1,n){let r=[],s=0;for(let o=0;o1)for(let o=0;o!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function oc(e){se(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:o,suspensible:i=!0,onError:a}=e;let c=null,l,u=0;const f=()=>(u++,c=null,d()),d=()=>{let g;return c||(g=c=t().catch(b=>{if(b=b instanceof Error?b:new Error(String(b)),a)return new Promise((S,L)=>{a(b,()=>S(f()),()=>L(b),u+1)});throw b}).then(b=>g!==c&&c?c:(b&&(b.__esModule||b[Symbol.toStringTag]==="Module")&&(b=b.default),l=b,b)))};return ht({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const g=Ne;if(l)return()=>$o(l,g);const b=v=>{c=null,ur(v,g,13,!r)};if(i&&g.suspense||Qr)return d().then(v=>()=>$o(v,g)).catch(v=>(b(v),()=>r?we(r,{error:v}):null));const S=be(!1),L=be(),_=be(!!s);return s&&setTimeout(()=>{_.value=!1},s),o!=null&&setTimeout(()=>{if(!S.value&&!L.value){const v=new Error(`Async component timed out after ${o}ms.`);b(v),L.value=v}},o),d().then(()=>{S.value=!0,g.parent&&Yr(g.parent.vnode)&&(g.parent.effect.dirty=!0,uo(g.parent.update))}).catch(v=>{b(v),L.value=v}),()=>{if(S.value&&l)return $o(l,g);if(L.value&&r)return we(r,{error:L.value});if(n&&!_.value)return we(n)}}})}function $o(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=we(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const Yr=e=>e.type.__isKeepAlive,Wp={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Dn(),r=n.ctx;if(!r.renderer)return()=>{const v=t.default&&t.default();return v&&v.length===1?v[0]:v};const s=new Map,o=new Set;let i=null;const a=n.suspense,{renderer:{p:c,m:l,um:u,o:{createElement:f}}}=r,d=f("div");r.activate=(v,y,m,E,C)=>{const R=v.component;l(v,y,m,0,a),c(R.vnode,v,y,m,R,a,E,v.slotScopeIds,C),Fe(()=>{R.isDeactivated=!1,R.a&&wr(R.a);const k=v.props&&v.props.onVnodeMounted;k&&Xe(k,R.parent,v)},a)},r.deactivate=v=>{const y=v.component;l(v,d,null,1,a),Fe(()=>{y.da&&wr(y.da);const m=v.props&&v.props.onVnodeUnmounted;m&&Xe(m,y.parent,v),y.isDeactivated=!0},a)};function g(v){Uo(v),u(v,n,a,!0)}function b(v){s.forEach((y,m)=>{const E=yi(y.type);E&&(!v||!v(E))&&S(m)})}function S(v){const y=s.get(v);!i||!_t(y,i)?g(y):i&&Uo(i),s.delete(v),o.delete(v)}$e(()=>[e.include,e.exclude],([v,y])=>{v&&b(m=>yr(v,m)),y&&b(m=>!yr(y,m))},{flush:"post",deep:!0});let L=null;const _=()=>{L!=null&&s.set(L,jo(n.subTree))};return Xr(_),_f(_),zr(()=>{s.forEach(v=>{const{subTree:y,suspense:m}=n,E=jo(y);if(v.type===E.type&&v.key===E.key){Uo(E);const C=E.component.da;C&&Fe(C,m);return}g(v)})}),()=>{if(L=null,!t.default)return null;const v=t.default(),y=v[0];if(v.length>1)return i=null,v;if(!tr(y)||!(y.shapeFlag&4)&&!(y.shapeFlag&128))return i=null,y;let m=jo(y);const E=m.type,C=yi(Pn(m)?m.type.__asyncResolved||{}:E),{include:R,exclude:k,max:T}=e;if(R&&(!C||!yr(R,C))||k&&C&&yr(k,C))return i=m,y;const I=m.key==null?E:m.key,F=s.get(I);return m.el&&(m=Wt(m),y.shapeFlag&128&&(y.ssContent=m)),L=I,F?(m.el=F.el,m.component=F.component,m.transition&&Ms(m,m.transition),m.shapeFlag|=512,o.delete(I),o.add(I)):(o.add(I),T&&o.size>parseInt(T,10)&&S(o.values().next().value)),m.shapeFlag|=256,i=m,af(y.type)?y:m}}},Kp=Wp;function yr(e,t){return te(e)?e.some(n=>yr(n,t)):Se(e)?e.split(",").includes(t):Nh(e)?e.test(t):!1}function gf(e,t){yf(e,"a",t)}function mf(e,t){yf(e,"da",t)}function yf(e,t,n=Ne){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(po(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Yr(s.parent.vnode)&&Gp(r,t,n,s),s=s.parent}}function Gp(e,t,n,r){const s=po(t,e,r,!0);go(()=>{Qi(r[t],s)},n)}function Uo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function jo(e){return e.shapeFlag&128?e.ssContent:e}function po(e,t,n=Ne,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;xn();const a=Jr(n),c=ft(t,n,e,i);return a(),Mn(),c});return r?s.unshift(o):s.push(o),o}}const Kt=e=>(t,n=Ne)=>(!Qr||e==="sp")&&po(e,(...r)=>t(...r),n),qp=Kt("bm"),Xr=Kt("m"),Yp=Kt("bu"),_f=Kt("u"),zr=Kt("bum"),go=Kt("um"),Xp=Kt("sp"),zp=Kt("rtg"),Jp=Kt("rtc");function bf(e,t=Ne){po("ec",e,t)}function ic(e,t,n,r){let s;const o=n&&n[r];if(te(e)||Se(e)){s=new Array(e.length);for(let i=0,a=e.length;it(i,a,void 0,o&&o[a]));else{const i=Object.keys(e);s=new Array(i.length);for(let a=0,c=i.length;atr(t)?!(t.type===Ge||t.type===Me&&!vf(t.children)):!0)?e:null}const ui=e=>e?Df(e)?yo(e)||e.proxy:ui(e.parent):null,Cr=xe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ui(e.parent),$root:e=>ui(e.root),$emit:e=>e.emit,$options:e=>pa(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,uo(e.update)}),$nextTick:e=>e.n||(e.n=fn.bind(e.proxy)),$watch:e=>jp.bind(e)}),Ho=(e,t)=>e!==Ee&&!e.__isScriptSetup&&fe(e,t),Qp={get({_:e},t){const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:a,appContext:c}=e;let l;if(t[0]!=="$"){const g=i[t];if(g!==void 0)switch(g){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Ho(r,t))return i[t]=1,r[t];if(s!==Ee&&fe(s,t))return i[t]=2,s[t];if((l=e.propsOptions[0])&&fe(l,t))return i[t]=3,o[t];if(n!==Ee&&fe(n,t))return i[t]=4,n[t];fi&&(i[t]=0)}}const u=Cr[t];let f,d;if(u)return t==="$attrs"&&Je(e,"get",t),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==Ee&&fe(n,t))return i[t]=4,n[t];if(d=c.config.globalProperties,fe(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Ho(s,t)?(s[t]=n,!0):r!==Ee&&fe(r,t)?(r[t]=n,!0):fe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let a;return!!n[i]||e!==Ee&&fe(e,i)||Ho(t,i)||(a=o[0])&&fe(a,i)||fe(r,i)||fe(Cr,i)||fe(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:fe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ac(e){return te(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let fi=!0;function Zp(e){const t=pa(e),n=e.proxy,r=e.ctx;fi=!1,t.beforeCreate&&cc(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:c,inject:l,created:u,beforeMount:f,mounted:d,beforeUpdate:g,updated:b,activated:S,deactivated:L,beforeDestroy:_,beforeUnmount:v,destroyed:y,unmounted:m,render:E,renderTracked:C,renderTriggered:R,errorCaptured:k,serverPrefetch:T,expose:I,inheritAttrs:F,components:x,directives:q,filters:ie}=t;if(l&&eg(l,r,null),i)for(const Q in i){const z=i[Q];se(z)&&(r[Q]=z.bind(n))}if(s){const Q=s.call(n,n);ve(Q)&&(e.data=wt(Q))}if(fi=!0,o)for(const Q in o){const z=o[Q],Ue=se(z)?z.bind(n,n):se(z.get)?z.get.bind(n,n):lt,nt=!se(z)&&se(z.set)?z.set.bind(n):lt,Re=me({get:Ue,set:nt});Object.defineProperty(r,Q,{enumerable:!0,configurable:!0,get:()=>Re.value,set:Oe=>Re.value=Oe})}if(a)for(const Q in a)Ef(a[Q],r,n,Q);if(c){const Q=se(c)?c.call(n):c;Reflect.ownKeys(Q).forEach(z=>{Zn(z,Q[z])})}u&&cc(u,e,"c");function H(Q,z){te(z)?z.forEach(Ue=>Q(Ue.bind(n))):z&&Q(z.bind(n))}if(H(qp,f),H(Xr,d),H(Yp,g),H(_f,b),H(gf,S),H(mf,L),H(bf,k),H(Jp,C),H(zp,R),H(zr,v),H(go,m),H(Xp,T),te(I))if(I.length){const Q=e.exposed||(e.exposed={});I.forEach(z=>{Object.defineProperty(Q,z,{get:()=>n[z],set:Ue=>n[z]=Ue})})}else e.exposed||(e.exposed={});E&&e.render===lt&&(e.render=E),F!=null&&(e.inheritAttrs=F),x&&(e.components=x),q&&(e.directives=q)}function eg(e,t,n=lt){te(e)&&(e=di(e));for(const r in e){const s=e[r];let o;ve(s)?"default"in s?o=Ke(s.from||r,s.default,!0):o=Ke(s.from||r):o=Ke(s),Ce(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function cc(e,t,n){ft(te(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ef(e,t,n,r){const s=r.includes(".")?ff(n,r):()=>n[r];if(Se(e)){const o=t[e];se(o)&&$e(s,o)}else if(se(e))$e(s,e.bind(n));else if(ve(e))if(te(e))e.forEach(o=>Ef(o,t,n,r));else{const o=se(e.handler)?e.handler.bind(n):t[e.handler];se(o)&&$e(s,o,e)}}function pa(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let c;return a?c=a:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(l=>Ds(c,l,i,!0)),Ds(c,t,i)),ve(t)&&o.set(t,c),c}function Ds(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&Ds(e,o,n,!0),s&&s.forEach(i=>Ds(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=tg[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const tg={data:lc,props:uc,emits:uc,methods:_r,computed:_r,beforeCreate:Ve,created:Ve,beforeMount:Ve,mounted:Ve,beforeUpdate:Ve,updated:Ve,beforeDestroy:Ve,beforeUnmount:Ve,destroyed:Ve,unmounted:Ve,activated:Ve,deactivated:Ve,errorCaptured:Ve,serverPrefetch:Ve,components:_r,directives:_r,watch:rg,provide:lc,inject:ng};function lc(e,t){return t?e?function(){return xe(se(e)?e.call(this,this):e,se(t)?t.call(this,this):t)}:t:e}function ng(e,t){return _r(di(e),di(t))}function di(e){if(te(e)){const t={};for(let n=0;n1)return n&&se(t)?t.call(r&&r.proxy):t}}function ga(){return!!(Ne||Ae||Qn)}function ig(e,t,n,r=!1){const s={},o={};As(o,mo,1),e.propsDefaults=Object.create(null),Sf(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:qr(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function ag(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=ue(s),[c]=e.propsOptions;let l=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f{c=!0;const[d,g]=Cf(f,t,!0);xe(i,d),g&&a.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!c)return ve(e)&&r.set(e,qn),qn;if(te(o))for(let u=0;u-1,g[1]=S<0||b-1||fe(g,"default"))&&a.push(f)}}}const l=[i,a];return ve(e)&&r.set(e,l),l}function fc(e){return e[0]!=="$"&&!Xn(e)}function dc(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function hc(e,t){return dc(e)===dc(t)}function pc(e,t){return te(t)?t.findIndex(n=>hc(n,e)):se(t)&&hc(t,e)?0:-1}const Tf=e=>e[0]==="_"||e==="$stable",ma=e=>te(e)?e.map(at):[at(e)],cg=(e,t,n)=>{if(t._n)return t;const r=rf((...s)=>ma(t(...s)),n);return r._c=!1,r},Lf=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Tf(s))continue;const o=e[s];if(se(o))t[s]=cg(s,o,r);else if(o!=null){const i=ma(o);t[s]=()=>i}}},Pf=(e,t)=>{const n=ma(t);e.slots.default=()=>n},lg=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ue(t),As(t,"_",n)):Lf(t,e.slots={})}else e.slots={},t&&Pf(e,t);As(e.slots,mo,1)},ug=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=Ee;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:(xe(s,t),!n&&a===1&&delete s._):(o=!t.$stable,Lf(t,s)),i=t}else t&&(Pf(e,t),i={default:1});if(o)for(const a in s)!Tf(a)&&i[a]==null&&delete s[a]};function Fs(e,t,n,r,s=!1){if(te(e)){e.forEach((d,g)=>Fs(d,t&&(te(t)?t[g]:t),n,r,s));return}if(Pn(r)&&!s)return;const o=r.shapeFlag&4?yo(r.component)||r.component.proxy:r.el,i=s?null:o,{i:a,r:c}=e,l=t&&t.r,u=a.refs===Ee?a.refs={}:a.refs,f=a.setupState;if(l!=null&&l!==c&&(Se(l)?(u[l]=null,fe(f,l)&&(f[l]=null)):Ce(l)&&(l.value=null)),se(c))ln(c,a,12,[i,u]);else{const d=Se(c),g=Ce(c);if(d||g){const b=()=>{if(e.f){const S=d?fe(f,c)?f[c]:u[c]:c.value;s?te(S)&&Qi(S,o):te(S)?S.includes(o)||S.push(o):d?(u[c]=[o],fe(f,c)&&(f[c]=u[c])):(c.value=[o],e.k&&(u[e.k]=c.value))}else d?(u[c]=i,fe(f,c)&&(f[c]=i)):g&&(c.value=i,e.k&&(u[e.k]=i))};i?(b.id=-1,Fe(b,n)):b()}}}let Yt=!1;const fg=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",dg=e=>e.namespaceURI.includes("MathML"),fs=e=>{if(fg(e))return"svg";if(dg(e))return"mathml"},ds=e=>e.nodeType===8;function hg(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:a,insert:c,createComment:l}}=e,u=(y,m)=>{if(!m.hasChildNodes()){n(null,y,m),Ns(),m._vnode=y;return}Yt=!1,f(m.firstChild,y,null,null,null),Ns(),m._vnode=y,Yt&&console.error("Hydration completed but contains mismatches.")},f=(y,m,E,C,R,k=!1)=>{const T=ds(y)&&y.data==="[",I=()=>S(y,m,E,C,R,T),{type:F,ref:x,shapeFlag:q,patchFlag:ie}=m;let oe=y.nodeType;m.el=y,ie===-2&&(k=!1,m.dynamicChildren=null);let H=null;switch(F){case On:oe!==3?m.children===""?(c(m.el=s(""),i(y),y),H=y):H=I():(y.data!==m.children&&(Yt=!0,y.data=m.children),H=o(y));break;case Ge:v(y)?(H=o(y),_(m.el=y.content.firstChild,y,E)):oe!==8||T?H=I():H=o(y);break;case Es:if(T&&(y=o(y),oe=y.nodeType),oe===1||oe===3){H=y;const Q=!m.children.length;for(let z=0;z{k=k||!!m.dynamicChildren;const{type:T,props:I,patchFlag:F,shapeFlag:x,dirs:q,transition:ie}=m,oe=T==="input"||T==="option";if(oe||F!==-1){q&&Rt(m,null,E,"created");let H=!1;if(v(y)){H=kf(C,ie)&&E&&E.vnode.props&&E.vnode.props.appear;const z=y.content.firstChild;H&&ie.beforeEnter(z),_(z,y,E),m.el=y=z}if(x&16&&!(I&&(I.innerHTML||I.textContent))){let z=g(y.firstChild,m,y,E,C,R,k);for(;z;){Yt=!0;const Ue=z;z=z.nextSibling,a(Ue)}}else x&8&&y.textContent!==m.children&&(Yt=!0,y.textContent=m.children);if(I)if(oe||!k||F&48)for(const z in I)(oe&&(z.endsWith("value")||z==="indeterminate")||Wr(z)&&!Xn(z)||z[0]===".")&&r(y,z,null,I[z],void 0,void 0,E);else I.onClick&&r(y,"onClick",null,I.onClick,void 0,void 0,E);let Q;(Q=I&&I.onVnodeBeforeMount)&&Xe(Q,E,m),q&&Rt(m,null,E,"beforeMount"),((Q=I&&I.onVnodeMounted)||q||H)&&lf(()=>{Q&&Xe(Q,E,m),H&&ie.enter(y),q&&Rt(m,null,E,"mounted")},C)}return y.nextSibling},g=(y,m,E,C,R,k,T)=>{T=T||!!m.dynamicChildren;const I=m.children,F=I.length;for(let x=0;x{const{slotScopeIds:T}=m;T&&(R=R?R.concat(T):T);const I=i(y),F=g(o(y),m,I,E,C,R,k);return F&&ds(F)&&F.data==="]"?o(m.anchor=F):(Yt=!0,c(m.anchor=l("]"),I,F),F)},S=(y,m,E,C,R,k)=>{if(Yt=!0,m.el=null,k){const F=L(y);for(;;){const x=o(y);if(x&&x!==F)a(x);else break}}const T=o(y),I=i(y);return a(y),n(null,m,I,T,E,C,fs(I),R),T},L=(y,m="[",E="]")=>{let C=0;for(;y;)if(y=o(y),y&&ds(y)&&(y.data===m&&C++,y.data===E)){if(C===0)return o(y);C--}return y},_=(y,m,E)=>{const C=m.parentNode;C&&C.replaceChild(y,m);let R=E;for(;R;)R.vnode.el===m&&(R.vnode.el=R.subTree.el=y),R=R.parent},v=y=>y.nodeType===1&&y.tagName.toLowerCase()==="template";return[u,f]}const Fe=lf;function pg(e){return Rf(e)}function gg(e){return Rf(e,hg)}function Rf(e,t){const n=Au();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:c,setText:l,setElementText:u,parentNode:f,nextSibling:d,setScopeId:g=lt,insertStaticContent:b}=e,S=(h,p,w,P=null,A=null,M=null,j=void 0,U=null,B=!!p.dynamicChildren)=>{if(h===p)return;h&&!_t(h,p)&&(P=D(h),Oe(h,A,M,!0),h=null),p.patchFlag===-2&&(B=!1,p.dynamicChildren=null);const{type:$,ref:Y,shapeFlag:ee}=p;switch($){case On:L(h,p,w,P);break;case Ge:_(h,p,w,P);break;case Es:h==null&&v(p,w,P,j);break;case Me:x(h,p,w,P,A,M,j,U,B);break;default:ee&1?E(h,p,w,P,A,M,j,U,B):ee&6?q(h,p,w,P,A,M,j,U,B):(ee&64||ee&128)&&$.process(h,p,w,P,A,M,j,U,B,X)}Y!=null&&A&&Fs(Y,h&&h.ref,M,p||h,!p)},L=(h,p,w,P)=>{if(h==null)r(p.el=a(p.children),w,P);else{const A=p.el=h.el;p.children!==h.children&&l(A,p.children)}},_=(h,p,w,P)=>{h==null?r(p.el=c(p.children||""),w,P):p.el=h.el},v=(h,p,w,P)=>{[h.el,h.anchor]=b(h.children,p,w,P,h.el,h.anchor)},y=({el:h,anchor:p},w,P)=>{let A;for(;h&&h!==p;)A=d(h),r(h,w,P),h=A;r(p,w,P)},m=({el:h,anchor:p})=>{let w;for(;h&&h!==p;)w=d(h),s(h),h=w;s(p)},E=(h,p,w,P,A,M,j,U,B)=>{p.type==="svg"?j="svg":p.type==="math"&&(j="mathml"),h==null?C(p,w,P,A,M,j,U,B):T(h,p,A,M,j,U,B)},C=(h,p,w,P,A,M,j,U)=>{let B,$;const{props:Y,shapeFlag:ee,transition:K,dirs:O}=h;if(B=h.el=i(h.type,M,Y&&Y.is,Y),ee&8?u(B,h.children):ee&16&&k(h.children,B,null,P,A,Bo(h,M),j,U),O&&Rt(h,null,P,"created"),R(B,h,h.scopeId,j,P),Y){for(const Z in Y)Z!=="value"&&!Xn(Z)&&o(B,Z,null,Y[Z],M,h.children,P,A,ke);"value"in Y&&o(B,"value",null,Y.value,M),($=Y.onVnodeBeforeMount)&&Xe($,P,h)}O&&Rt(h,null,P,"beforeMount");const N=kf(A,K);N&&K.beforeEnter(B),r(B,p,w),(($=Y&&Y.onVnodeMounted)||N||O)&&Fe(()=>{$&&Xe($,P,h),N&&K.enter(B),O&&Rt(h,null,P,"mounted")},A)},R=(h,p,w,P,A)=>{if(w&&g(h,w),P)for(let M=0;M{for(let $=B;${const U=p.el=h.el;let{patchFlag:B,dynamicChildren:$,dirs:Y}=p;B|=h.patchFlag&16;const ee=h.props||Ee,K=p.props||Ee;let O;if(w&&gn(w,!1),(O=K.onVnodeBeforeUpdate)&&Xe(O,w,p,h),Y&&Rt(p,h,w,"beforeUpdate"),w&&gn(w,!0),$?I(h.dynamicChildren,$,U,w,P,Bo(p,A),M):j||z(h,p,U,null,w,P,Bo(p,A),M,!1),B>0){if(B&16)F(U,p,ee,K,w,P,A);else if(B&2&&ee.class!==K.class&&o(U,"class",null,K.class,A),B&4&&o(U,"style",ee.style,K.style,A),B&8){const N=p.dynamicProps;for(let Z=0;Z{O&&Xe(O,w,p,h),Y&&Rt(p,h,w,"updated")},P)},I=(h,p,w,P,A,M,j)=>{for(let U=0;U{if(w!==P){if(w!==Ee)for(const U in w)!Xn(U)&&!(U in P)&&o(h,U,w[U],null,j,p.children,A,M,ke);for(const U in P){if(Xn(U))continue;const B=P[U],$=w[U];B!==$&&U!=="value"&&o(h,U,$,B,j,p.children,A,M,ke)}"value"in P&&o(h,"value",w.value,P.value,j)}},x=(h,p,w,P,A,M,j,U,B)=>{const $=p.el=h?h.el:a(""),Y=p.anchor=h?h.anchor:a("");let{patchFlag:ee,dynamicChildren:K,slotScopeIds:O}=p;O&&(U=U?U.concat(O):O),h==null?(r($,w,P),r(Y,w,P),k(p.children||[],w,Y,A,M,j,U,B)):ee>0&&ee&64&&K&&h.dynamicChildren?(I(h.dynamicChildren,K,w,A,M,j,U),(p.key!=null||A&&p===A.subTree)&&ya(h,p,!0)):z(h,p,w,Y,A,M,j,U,B)},q=(h,p,w,P,A,M,j,U,B)=>{p.slotScopeIds=U,h==null?p.shapeFlag&512?A.ctx.activate(p,w,P,j,B):ie(p,w,P,A,M,j,B):oe(h,p,B)},ie=(h,p,w,P,A,M,j)=>{const U=h.component=Cg(h,P,A);if(Yr(h)&&(U.ctx.renderer=X),Tg(U),U.asyncDep){if(A&&A.registerDep(U,H),!h.el){const B=U.subTree=we(Ge);_(null,B,p,w)}}else H(U,h,p,w,A,M,j)},oe=(h,p,w)=>{const P=p.component=h.component;if(Ap(h,p,w))if(P.asyncDep&&!P.asyncResolved){Q(P,p,w);return}else P.next=p,wp(P.update),P.effect.dirty=!0,P.update();else p.el=h.el,P.vnode=p},H=(h,p,w,P,A,M,j)=>{const U=()=>{if(h.isMounted){let{next:Y,bu:ee,u:K,parent:O,vnode:N}=h;{const Qe=Af(h);if(Qe){Y&&(Y.el=N.el,Q(h,Y,j)),Qe.asyncDep.then(()=>{h.isUnmounted||U()});return}}let Z=Y,re;gn(h,!1),Y?(Y.el=N.el,Q(h,Y,j)):Y=N,ee&&wr(ee),(re=Y.props&&Y.props.onVnodeBeforeUpdate)&&Xe(re,O,Y,N),gn(h,!0);const _e=Do(h),je=h.subTree;h.subTree=_e,S(je,_e,f(je.el),D(je),h,A,M),Y.el=_e.el,Z===null&&ua(h,_e.el),K&&Fe(K,A),(re=Y.props&&Y.props.onVnodeUpdated)&&Fe(()=>Xe(re,O,Y,N),A)}else{let Y;const{el:ee,props:K}=p,{bm:O,m:N,parent:Z}=h,re=Pn(p);if(gn(h,!1),O&&wr(O),!re&&(Y=K&&K.onVnodeBeforeMount)&&Xe(Y,Z,p),gn(h,!0),ee&&ye){const _e=()=>{h.subTree=Do(h),ye(ee,h.subTree,h,A,null)};re?p.type.__asyncLoader().then(()=>!h.isUnmounted&&_e()):_e()}else{const _e=h.subTree=Do(h);S(null,_e,w,P,h,A,M),p.el=_e.el}if(N&&Fe(N,A),!re&&(Y=K&&K.onVnodeMounted)){const _e=p;Fe(()=>Xe(Y,Z,_e),A)}(p.shapeFlag&256||Z&&Pn(Z.vnode)&&Z.vnode.shapeFlag&256)&&h.a&&Fe(h.a,A),h.isMounted=!0,p=w=P=null}},B=h.effect=new ta(U,lt,()=>uo($),h.scope),$=h.update=()=>{B.dirty&&B.run()};$.id=h.uid,gn(h,!0),$()},Q=(h,p,w)=>{p.component=h;const P=h.vnode.props;h.vnode=p,h.next=null,ag(h,p.props,P,w),ug(h,p.children,w),xn(),ec(h),Mn()},z=(h,p,w,P,A,M,j,U,B=!1)=>{const $=h&&h.children,Y=h?h.shapeFlag:0,ee=p.children,{patchFlag:K,shapeFlag:O}=p;if(K>0){if(K&128){nt($,ee,w,P,A,M,j,U,B);return}else if(K&256){Ue($,ee,w,P,A,M,j,U,B);return}}O&8?(Y&16&&ke($,A,M),ee!==$&&u(w,ee)):Y&16?O&16?nt($,ee,w,P,A,M,j,U,B):ke($,A,M,!0):(Y&8&&u(w,""),O&16&&k(ee,w,P,A,M,j,U,B))},Ue=(h,p,w,P,A,M,j,U,B)=>{h=h||qn,p=p||qn;const $=h.length,Y=p.length,ee=Math.min($,Y);let K;for(K=0;KY?ke(h,A,M,!0,!1,ee):k(p,w,P,A,M,j,U,B,ee)},nt=(h,p,w,P,A,M,j,U,B)=>{let $=0;const Y=p.length;let ee=h.length-1,K=Y-1;for(;$<=ee&&$<=K;){const O=h[$],N=p[$]=B?rn(p[$]):at(p[$]);if(_t(O,N))S(O,N,w,null,A,M,j,U,B);else break;$++}for(;$<=ee&&$<=K;){const O=h[ee],N=p[K]=B?rn(p[K]):at(p[K]);if(_t(O,N))S(O,N,w,null,A,M,j,U,B);else break;ee--,K--}if($>ee){if($<=K){const O=K+1,N=OK)for(;$<=ee;)Oe(h[$],A,M,!0),$++;else{const O=$,N=$,Z=new Map;for($=N;$<=K;$++){const Ze=p[$]=B?rn(p[$]):at(p[$]);Ze.key!=null&&Z.set(Ze.key,$)}let re,_e=0;const je=K-N+1;let Qe=!1,rs=0;const Fn=new Array(je);for($=0;$=je){Oe(Ze,A,M,!0);continue}let Tt;if(Ze.key!=null)Tt=Z.get(Ze.key);else for(re=N;re<=K;re++)if(Fn[re-N]===0&&_t(Ze,p[re])){Tt=re;break}Tt===void 0?Oe(Ze,A,M,!0):(Fn[Tt-N]=$+1,Tt>=rs?rs=Tt:Qe=!0,S(Ze,p[Tt],w,null,A,M,j,U,B),_e++)}const Wa=Qe?mg(Fn):qn;for(re=Wa.length-1,$=je-1;$>=0;$--){const Ze=N+$,Tt=p[Ze],Ka=Ze+1{const{el:M,type:j,transition:U,children:B,shapeFlag:$}=h;if($&6){Re(h.component.subTree,p,w,P);return}if($&128){h.suspense.move(p,w,P);return}if($&64){j.move(h,p,w,X);return}if(j===Me){r(M,p,w);for(let ee=0;eeU.enter(M),A);else{const{leave:ee,delayLeave:K,afterLeave:O}=U,N=()=>r(M,p,w),Z=()=>{ee(M,()=>{N(),O&&O()})};K?K(M,N,Z):Z()}else r(M,p,w)},Oe=(h,p,w,P=!1,A=!1)=>{const{type:M,props:j,ref:U,children:B,dynamicChildren:$,shapeFlag:Y,patchFlag:ee,dirs:K}=h;if(U!=null&&Fs(U,null,w,h,!0),Y&256){p.ctx.deactivate(h);return}const O=Y&1&&K,N=!Pn(h);let Z;if(N&&(Z=j&&j.onVnodeBeforeUnmount)&&Xe(Z,p,h),Y&6)Gt(h.component,w,P);else{if(Y&128){h.suspense.unmount(w,P);return}O&&Rt(h,null,p,"beforeUnmount"),Y&64?h.type.remove(h,p,w,A,X,P):$&&(M!==Me||ee>0&&ee&64)?ke($,p,w,!1,!0):(M===Me&&ee&384||!A&&Y&16)&&ke(B,p,w),P&&Ct(h)}(N&&(Z=j&&j.onVnodeUnmounted)||O)&&Fe(()=>{Z&&Xe(Z,p,h),O&&Rt(h,null,p,"unmounted")},w)},Ct=h=>{const{type:p,el:w,anchor:P,transition:A}=h;if(p===Me){gt(w,P);return}if(p===Es){m(h);return}const M=()=>{s(w),A&&!A.persisted&&A.afterLeave&&A.afterLeave()};if(h.shapeFlag&1&&A&&!A.persisted){const{leave:j,delayLeave:U}=A,B=()=>j(w,M);U?U(h.el,M,B):B()}else M()},gt=(h,p)=>{let w;for(;h!==p;)w=d(h),s(h),h=w;s(p)},Gt=(h,p,w)=>{const{bum:P,scope:A,update:M,subTree:j,um:U}=h;P&&wr(P),A.stop(),M&&(M.active=!1,Oe(j,h,p,w)),U&&Fe(U,p),Fe(()=>{h.isUnmounted=!0},p),p&&p.pendingBranch&&!p.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===p.pendingId&&(p.deps--,p.deps===0&&p.resolve())},ke=(h,p,w,P=!1,A=!1,M=0)=>{for(let j=M;jh.shapeFlag&6?D(h.component.subTree):h.shapeFlag&128?h.suspense.next():d(h.anchor||h.el);let G=!1;const V=(h,p,w)=>{h==null?p._vnode&&Oe(p._vnode,null,null,!0):S(p._vnode||null,h,p,null,null,null,w),G||(G=!0,ec(),Ns(),G=!1),p._vnode=h},X={p:S,um:Oe,m:Re,r:Ct,mt:ie,mc:k,pc:z,pbc:I,n:D,o:e};let ae,ye;return t&&([ae,ye]=t(X)),{render:V,hydrate:ae,createApp:og(V,ae)}}function Bo({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function gn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function kf(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ya(e,t,n=!1){const r=e.children,s=t.children;if(te(r)&&te(s))for(let o=0;o>1,e[n[a]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Af(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Af(t)}const yg=e=>e.__isTeleport,Tr=e=>e&&(e.disabled||e.disabled===""),gc=e=>typeof SVGElement<"u"&&e instanceof SVGElement,mc=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,pi=(e,t)=>{const n=e&&e.to;return Se(n)?t?t(n):null:n},_g={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,i,a,c,l){const{mc:u,pc:f,pbc:d,o:{insert:g,querySelector:b,createText:S,createComment:L}}=l,_=Tr(t.props);let{shapeFlag:v,children:y,dynamicChildren:m}=t;if(e==null){const E=t.el=S(""),C=t.anchor=S("");g(E,n,r),g(C,n,r);const R=t.target=pi(t.props,b),k=t.targetAnchor=S("");R&&(g(k,R),i==="svg"||gc(R)?i="svg":(i==="mathml"||mc(R))&&(i="mathml"));const T=(I,F)=>{v&16&&u(y,I,F,s,o,i,a,c)};_?T(n,C):R&&T(R,k)}else{t.el=e.el;const E=t.anchor=e.anchor,C=t.target=e.target,R=t.targetAnchor=e.targetAnchor,k=Tr(e.props),T=k?n:C,I=k?E:R;if(i==="svg"||gc(C)?i="svg":(i==="mathml"||mc(C))&&(i="mathml"),m?(d(e.dynamicChildren,m,T,s,o,i,a),ya(e,t,!0)):c||f(e,t,T,I,s,o,i,a,!1),_)k?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):hs(t,n,E,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const F=t.target=pi(t.props,b);F&&hs(t,F,null,l,0)}else k&&hs(t,C,R,l,1)}Of(t)},remove(e,t,n,r,{um:s,o:{remove:o}},i){const{shapeFlag:a,children:c,anchor:l,targetAnchor:u,target:f,props:d}=e;if(f&&o(u),i&&o(l),a&16){const g=i||!Tr(d);for(let b=0;b0?ut||qn:null,If(),er>0&&ut&&ut.push(e),e}function Ht(e,t,n,r,s,o){return Nf(Sn(e,t,n,r,s,o,!0))}function jt(e,t,n,r,s){return Nf(we(e,t,n,r,s,!0))}function tr(e){return e?e.__v_isVNode===!0:!1}function _t(e,t){return e.type===t.type&&e.key===t.key}const mo="__vInternal",xf=({key:e})=>e??null,ws=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Se(e)||Ce(e)||se(e)?{i:Ae,r:e,k:t,f:!!n}:e:null);function Sn(e,t=null,n=null,r=0,s=null,o=e===Me?0:1,i=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&xf(t),ref:t&&ws(t),scopeId:ho,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Ae};return a?(ba(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=Se(n)?8:16),er>0&&!i&&ut&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&ut.push(c),c}const we=vg;function vg(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===sf)&&(e=Ge),tr(e)){const a=Wt(e,t,!0);return n&&ba(a,n),er>0&&!o&&ut&&(a.shapeFlag&6?ut[ut.indexOf(e)]=a:ut.push(a)),a.patchFlag|=-2,a}if(kg(e)&&(e=e.__vccOpts),t){t=_a(t);let{class:a,style:c}=t;a&&!Se(a)&&(t.class=io(a)),ve(c)&&(qu(c)&&!te(c)&&(c=xe({},c)),t.style=oo(c))}const i=Se(e)?1:af(e)?128:yg(e)?64:ve(e)?4:se(e)?2:0;return Sn(e,t,n,r,s,i,o,!0)}function _a(e){return e?qu(e)||mo in e?xe({},e):e:null}function Wt(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:i}=e,a=t?va(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&xf(a),ref:t&&t.ref?n&&s?te(s)?s.concat(ws(t)):[s,ws(t)]:ws(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Me?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Wt(e.ssContent),ssFallback:e.ssFallback&&Wt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Mf(e=" ",t=0){return we(On,null,e,t)}function Eg(e="",t=!1){return t?(Ie(),jt(Ge,null,e)):we(Ge,null,e)}function at(e){return e==null||typeof e=="boolean"?we(Ge):te(e)?we(Me,null,e.slice()):typeof e=="object"?rn(e):we(On,null,String(e))}function rn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Wt(e)}function ba(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(te(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),ba(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(mo in t)?t._ctx=Ae:s===3&&Ae&&(Ae.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else se(t)?(t={default:t,_ctx:Ae},n=32):(t=String(t),r&64?(n=16,t=[Mf(t)]):n=8);e.children=t,e.shapeFlag|=n}function va(...e){const t={};for(let n=0;nNe||Ae;let $s,gi;{const e=Au(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};$s=t("__VUE_INSTANCE_SETTERS__",n=>Ne=n),gi=t("__VUE_SSR_SETTERS__",n=>Qr=n)}const Jr=e=>{const t=Ne;return $s(e),e.scope.on(),()=>{e.scope.off(),$s(t)}},_c=()=>{Ne&&Ne.scope.off(),$s(null)};function Df(e){return e.vnode.shapeFlag&4}let Qr=!1;function Tg(e,t=!1){t&&gi(t);const{props:n,children:r}=e.vnode,s=Df(e);ig(e,n,s,t),lg(e,r);const o=s?Lg(e,t):void 0;return t&&gi(!1),o}function Lg(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=lo(new Proxy(e.ctx,Qp));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?Rg(e):null,o=Jr(e);xn();const i=ln(r,e,0,[e.props,s]);if(Mn(),o(),Lu(i)){if(i.then(_c,_c),t)return i.then(a=>{mi(e,a,t)}).catch(a=>{ur(a,e,0)});e.asyncDep=i}else mi(e,i,t)}else Ff(e,t)}function mi(e,t,n){se(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ve(t)&&(e.setupState=zu(t)),Ff(e,n)}let bc;function Ff(e,t,n){const r=e.type;if(!e.render){if(!t&&bc&&!r.render){const s=r.template||pa(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:c}=r,l=xe(xe({isCustomElement:o,delimiters:a},i),c);r.render=bc(s,l)}}e.render=r.render||lt}{const s=Jr(e);xn();try{Zp(e)}finally{Mn(),s()}}}function Pg(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Je(e,"get","$attrs"),t[n]}}))}function Rg(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Pg(e)},slots:e.slots,emit:e.emit,expose:t}}function yo(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(zu(lo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Cr)return Cr[n](e)},has(t,n){return n in t||n in Cr}}))}function yi(e,t=!0){return se(e)?e.displayName||e.name:e.name||t&&e.__name}function kg(e){return se(e)&&"__vccOpts"in e}const me=(e,t)=>dp(e,t,Qr);function bt(e,t,n){const r=arguments.length;return r===2?ve(t)&&!te(t)?tr(t)?we(e,null,[t]):we(e,t):we(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&tr(n)&&(n=[n]),we(e,t,n))}const $f="3.4.21";/** * @vue/runtime-dom v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const Am="http://www.w3.org/2000/svg",Om="http://www.w3.org/1998/Math/MathML",sn=typeof document<"u"?document:null,vc=sn&&sn.createElement("template"),Im={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?sn.createElementNS(Am,e):t==="mathml"?sn.createElementNS(Om,e):sn.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>sn.createTextNode(e),createComment:e=>sn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>sn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{vc.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const a=vc.content;if(r==="svg"||r==="mathml"){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Xt="transition",fr="animation",$r=Symbol("_vtc"),Ea=(e,{slots:t})=>bt(Vp,Nm(e),t);Ea.displayName="Transition";const Uf={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Ea.props=xe({},df,Uf);const gn=(e,t=[])=>{te(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ec=e=>e?te(e)?e.some(t=>t.length>1):e.length>1:!1;function Nm(e){const t={};for(const x in e)x in Uf||(t[x]=e[x]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:l=i,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,b=xm(s),S=b&&b[0],L=b&&b[1],{onBeforeEnter:_,onEnter:v,onEnterCancelled:y,onLeave:g,onLeaveCancelled:E,onBeforeAppear:C=_,onAppear:R=v,onAppearCancelled:k=y}=t,T=(x,q,ie)=>{yn(x,q?u:a),yn(x,q?l:i),ie&&ie()},I=(x,q)=>{x._isLeaving=!1,yn(x,f),yn(x,m),yn(x,d),q&&q()},F=x=>(q,ie)=>{const oe=x?R:v,H=()=>T(q,x,ie);gn(oe,[q,H]),wc(()=>{yn(q,x?c:o),zt(q,x?u:a),Ec(oe)||Sc(q,r,S,H)})};return xe(t,{onBeforeEnter(x){gn(_,[x]),zt(x,o),zt(x,i)},onBeforeAppear(x){gn(C,[x]),zt(x,c),zt(x,l)},onEnter:F(!1),onAppear:F(!0),onLeave(x,q){x._isLeaving=!0;const ie=()=>I(x,q);zt(x,f),Fm(),zt(x,d),wc(()=>{x._isLeaving&&(yn(x,f),zt(x,m),Ec(g)||Sc(x,r,L,ie))}),gn(g,[x,ie])},onEnterCancelled(x){T(x,!1),gn(y,[x])},onAppearCancelled(x){T(x,!0),gn(k,[x])},onLeaveCancelled(x){I(x),gn(E,[x])}})}function xm(e){if(e==null)return null;if(ve(e))return[Vo(e.enter),Vo(e.leave)];{const t=Vo(e);return[t,t]}}function Vo(e){return ku(e)}function zt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[$r]||(e[$r]=new Set)).add(t)}function yn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[$r];n&&(n.delete(t),n.size||(e[$r]=void 0))}function wc(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Mm=0;function Sc(e,t,n,r){const s=e._endId=++Mm,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:a,propCount:c}=Dm(e,t);if(!i)return r();const l=i+"end";let u=0;const f=()=>{e.removeEventListener(l,d),o()},d=m=>{m.target===e&&++u>=c&&f()};setTimeout(()=>{u(n[b]||"").split(", "),s=r(`${Xt}Delay`),o=r(`${Xt}Duration`),i=Cc(s,o),a=r(`${fr}Delay`),c=r(`${fr}Duration`),l=Cc(a,c);let u=null,f=0,d=0;t===Xt?i>0&&(u=Xt,f=i,d=o.length):t===fr?l>0&&(u=fr,f=l,d=c.length):(f=Math.max(i,l),u=f>0?i>l?Xt:fr:null,d=u?u===Xt?o.length:c.length:0);const m=u===Xt&&/\b(transform|all)(,|$)/.test(r(`${Xt}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:m}}function Cc(e,t){for(;e.lengthTc(n)+Tc(e[r])))}function Tc(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Fm(){return document.body.offsetHeight}function $m(e,t,n){const r=e[$r];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Us=Symbol("_vod"),jf=Symbol("_vsh"),PC={beforeMount(e,{value:t},{transition:n}){e[Us]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):dr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),dr(e,!0),r.enter(e)):r.leave(e,()=>{dr(e,!1)}):dr(e,t))},beforeUnmount(e,{value:t}){dr(e,t)}};function dr(e,t){e.style.display=t?e[Us]:"none",e[jf]=!t}const Um=Symbol(""),jm=/(^|;)\s*display\s*:/;function Hm(e,t,n){const r=e.style,s=Se(n);let o=!1;if(n&&!s){if(t)if(Se(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Ss(r,a,"")}else for(const i in t)n[i]==null&&Ss(r,i,"");for(const i in n)i==="display"&&(o=!0),Ss(r,i,n[i])}else if(s){if(t!==n){const i=r[Um];i&&(n+=";"+i),r.cssText=n,o=jm.test(n)}}else t&&e.removeAttribute("style");Us in e&&(e[Us]=o?r.display:"",e[jf]&&(r.display="none"))}const Lc=/\s*!important$/;function Ss(e,t,n){if(te(n))n.forEach(r=>Ss(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Bm(e,t);Lc.test(n)?e.setProperty(Nn(r),n.replace(Lc,""),"important"):e[r]=n}}const Pc=["Webkit","Moz","ms"],Wo={};function Bm(e,t){const n=Wo[t];if(n)return n;let r=Nt(t);if(r!=="filter"&&r in e)return Wo[t]=r;r=so(r);for(let s=0;sKo||(Xm.then(()=>Ko=0),Ko=Date.now());function Jm(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;ft(Qm(r,n.value),t,5,[r])};return n.value=e,n.attached=zm(),n}function Qm(e,t){if(te(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const Oc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Zm=(e,t,n,r,s,o,i,a,c)=>{const l=s==="svg";t==="class"?$m(e,r,l):t==="style"?Hm(e,n,r):Wr(t)?Ji(t)||qm(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):eg(e,t,r,l))?Wm(e,t,r,o,i,a,c):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Vm(e,t,r,l))};function eg(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Oc(t)&&se(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Oc(t)&&Se(n)?!1:t in e}const tg={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},RC=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const o=Nn(s.key);if(t.some(i=>i===o||tg[i]===o))return e(s)})},Hf=xe({patchProp:Zm},Im);let Pr,Ic=!1;function ng(){return Pr||(Pr=pm(Hf))}function rg(){return Pr=Ic?Pr:mm(Hf),Ic=!0,Pr}const sg=(...e)=>{const t=ng().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Vf(r);if(!s)return;const o=t._component;!se(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,Bf(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},og=(...e)=>{const t=rg().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Vf(r);if(s)return n(s,!0,Bf(s))},t};function Bf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Vf(e){return Se(e)?document.querySelector(e):e}const ig=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,ag=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,cg=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function lg(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){ug(e);return}return t}function ug(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Ur(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!cg.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(ig.test(e)||ag.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,lg)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const fg=/#/g,dg=/&/g,hg=/\//g,pg=/=/g,wa=/\+/g,mg=/%5e/gi,gg=/%60/gi,yg=/%7c/gi,_g=/%20/gi;function bg(e){return encodeURI(""+e).replace(yg,"|")}function _i(e){return bg(typeof e=="string"?e:JSON.stringify(e)).replace(wa,"%2B").replace(_g,"+").replace(fg,"%23").replace(dg,"%26").replace(gg,"`").replace(mg,"^").replace(hg,"%2F")}function Go(e){return _i(e).replace(pg,"%3D")}function js(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function vg(e){return js(e.replace(wa," "))}function Eg(e){return js(e.replace(wa," "))}function Wf(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=vg(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=Eg(r[2]||"");t[s]===void 0?t[s]=o:Array.isArray(t[s])?t[s].push(o):t[s]=[t[s],o]}return t}function wg(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Go(e)}=${_i(n)}`).join("&"):`${Go(e)}=${_i(t)}`:Go(e)}function Sg(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>wg(t,e[t])).filter(Boolean).join("&")}const Cg=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Tg=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Lg=/^([/\\]\s*){2,}[^/\\]/,Pg=/^[\s\0]*(blob|data|javascript|vbscript):$/i,Rg=/\/$|\/\?|\/#/,kg=/^\.?\//;function xt(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Cg.test(e):Tg.test(e)||(t.acceptRelative?Lg.test(e):!1)}function Ag(e){return!!e&&Pg.test(e)}function bi(e="",t){return t?Rg.test(e):e.endsWith("/")}function _o(e="",t){if(!t)return(bi(e)?e.slice(0,-1):e)||"/";if(!bi(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");s>=0&&(n=e.slice(0,s),r=e.slice(s));const[o,...i]=n.split("?");return((o.endsWith("/")?o.slice(0,-1):o)||"/")+(i.length>0?`?${i.join("?")}`:"")+r}function Hs(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(bi(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");if(s>=0&&(n=e.slice(0,s),r=e.slice(s),!n))return r;const[o,...i]=n.split("?");return o+"/"+(i.length>0?`?${i.join("?")}`:"")+r}function Og(e=""){return e.startsWith("/")}function Nc(e=""){return Og(e)?e:"/"+e}function Ig(e,t){if(Gf(t)||xt(e))return e;const n=_o(t);return e.startsWith(n)?e:bo(n,e)}function xc(e,t){if(Gf(t))return e;const n=_o(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function Kf(e,t){const n=vo(e),r={...Wf(n.search),...t};return n.search=Sg(r),xg(n)}function Gf(e){return!e||e==="/"}function Ng(e){return e&&e!=="/"}function bo(e,...t){let n=e||"";for(const r of t.filter(s=>Ng(s)))if(n){const s=r.replace(kg,"");n=Hs(n)+s}else n=r;return n}function qf(...e){var i,a,c,l;const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let s=0;for(const u of n)if(!(!u||u==="/")){for(const[f,d]of u.split(t).entries())if(!(!d||d===".")){if(d===".."){if(r.length===1&&xt(r[0]))continue;r.pop(),s--;continue}if(f===1&&((i=r[r.length-1])!=null&&i.endsWith(":/"))){r[r.length-1]+="/"+d;continue}r.push(d),s++}}let o=r.join("/");return s>=0?(a=n[0])!=null&&a.startsWith("/")&&!o.startsWith("/")?o="/"+o:(c=n[0])!=null&&c.startsWith("./")&&!o.startsWith("./")&&(o="./"+o):o="../".repeat(-1*s)+o,(l=n[n.length-1])!=null&&l.endsWith("/")&&!o.endsWith("/")&&(o+="/"),o}function vi(e,t,n={}){return n.trailingSlash||(e=Hs(e),t=Hs(t)),n.leadingSlash||(e=Nc(e),t=Nc(t)),n.encoding||(e=js(e),t=js(t)),e===t}const Yf=Symbol.for("ufo:protocolRelative");function vo(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!xt(e,{acceptRelative:!0}))return t?vo(t+e):Ei(e);const[,r="",s,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,i="",a=""]=o.match(/([^#/?]*)(.*)?/)||[],{pathname:c,search:l,hash:u}=Ei(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:c,search:l,hash:u,[Yf]:!r}}function Ei(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function xg(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",s=e.auth?e.auth+"@":"",o=e.host||"";return(e.protocol||e[Yf]?(e.protocol||"")+"//":"")+s+o+t+n+r}class Mg extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function Dg(e){var c,l,u,f,d;const t=((c=e.error)==null?void 0:c.message)||((l=e.error)==null?void 0:l.toString())||"",n=((u=e.request)==null?void 0:u.method)||((f=e.options)==null?void 0:f.method)||"GET",r=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",s=`[${n}] ${JSON.stringify(r)}`,o=e.response?`${e.response.status} ${e.response.statusText}`:"",i=`${s}: ${o}${t?` ${t}`:""}`,a=new Mg(i,e.error?{cause:e.error}:void 0);for(const m of["request","options","response"])Object.defineProperty(a,m,{get(){return e[m]}});for(const[m,b]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,m,{get(){return e.response&&e.response[b]}});return a}const Fg=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Mc(e="GET"){return Fg.has(e.toUpperCase())}function $g(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Ug=new Set(["image/svg","application/xml","application/xhtml","application/html"]),jg=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Hg(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return jg.test(t)?"json":Ug.has(t)||t.startsWith("text/")?"text":"blob"}function Bg(e,t,n=globalThis.Headers){const r={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(r.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(r.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){r.headers=new n((t==null?void 0:t.headers)||{});for(const[s,o]of new n((e==null?void 0:e.headers)||{}))r.headers.set(s,o)}return r}const Vg=new Set([408,409,425,429,500,502,503,504]),Wg=new Set([101,204,205,304]);function Xf(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function s(a){const c=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!c){let u;typeof a.options.retry=="number"?u=a.options.retry:u=Mc(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):Vg.has(f))){const d=a.options.retryDelay||0;return d>0&&await new Promise(m=>setTimeout(m,d)),o(a.request,{...a.options,retry:u-1})}}const l=Dg(a);throw Error.captureStackTrace&&Error.captureStackTrace(l,o),l}const o=async function(c,l={}){var m;const u={request:c,options:Bg(l,e.defaults,n),response:void 0,error:void 0};u.options.method=(m=u.options.method)==null?void 0:m.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=Ig(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=Kf(u.request,{...u.options.params,...u.options.query}))),u.options.body&&Mc(u.options.method)&&($g(u.options.body)?(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half")));let f;if(!u.options.signal&&u.options.timeout){const b=new r;f=setTimeout(()=>b.abort(),u.options.timeout),u.options.signal=b.signal}try{u.response=await t(u.request,u.options)}catch(b){return u.error=b,u.options.onRequestError&&await u.options.onRequestError(u),await s(u)}finally{f&&clearTimeout(f)}if(u.response.body&&!Wg.has(u.response.status)&&u.options.method!=="HEAD"){const b=(u.options.parseResponse?"json":u.options.responseType)||Hg(u.response.headers.get("content-type")||"");switch(b){case"json":{const S=await u.response.text(),L=u.options.parseResponse||Ur;u.response._data=L(S);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[b]()}}return u.options.onResponse&&await u.options.onResponse(u),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await u.options.onResponseError(u),await s(u)):u.response},i=async function(c,l){return(await o(c,l))._data};return i.raw=o,i.native=(...a)=>t(...a),i.create=(a={})=>Xf({...e,defaults:{...e.defaults,...a}}),i}const Sa=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),Kg=Sa.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),Gg=Sa.Headers,qg=Sa.AbortController,Yg=Xf({fetch:Kg,Headers:Gg,AbortController:qg}),Xg=Yg,zg=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},Bs=zg().app,Jg=()=>Bs.baseURL,Qg=()=>Bs.buildAssetsDir,Ca=(...e)=>qf(zf(),Qg(),...e),zf=(...e)=>{const t=Bs.cdnURL||Bs.baseURL;return e.length?qf(t,...e):t};globalThis.__buildAssetsURL=Ca,globalThis.__publicAssetsURL=zf;globalThis.$fetch||(globalThis.$fetch=Xg.create({baseURL:Jg()}));function wi(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?wi(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const Zg={run:e=>e()},ey=()=>Zg,Jf=typeof console.createTask<"u"?console.createTask:ey;function ty(e,t){const n=t.shift(),r=Jf(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function ny(e,t){const n=t.shift(),r=Jf(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function qo(e,t){for(const n of[...e])n(t)}class ry{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const s=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!r.allowDeprecated){let i=o.message;i||(i=`${s} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,s=(...o)=>(typeof r=="function"&&r(),r=void 0,s=void 0,n(...o));return r=this.hook(t,s),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const s of r)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=wi(t),r=Object.keys(n).map(s=>this.hook(s,n[s]));return()=>{for(const s of r.splice(0,r.length))s()}}removeHooks(t){const n=wi(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(ty,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(ny,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&qo(this._before,s);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&qo(this._after,s)}):(this._after&&s&&qo(this._after,s),o)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Qf(){return new ry}function sy(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let s;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?s=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const o=()=>{if(s&&t===void 0){const i=s.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=o();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>o(),set:(i,a)=>{a||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{r(i),t=i;try{return s?s.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const c=()=>{t=i},l=()=>t===i?c:void 0;Si.add(l);try{const u=s?s.run(i,a):a();return n||(t=void 0),await u}finally{Si.delete(l)}}}}function oy(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=sy({...e,...r})),t[n],t[n]}}}const Vs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Dc="__unctx__",iy=Vs[Dc]||(Vs[Dc]=oy()),ay=(e,t={})=>iy.get(e,t),Fc="__unctx_async_handlers__",Si=Vs[Fc]||(Vs[Fc]=new Set);function At(e){const t=[];for(const s of Si){const o=s();o&&t.push(o)}const n=()=>{for(const s of t)s()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(s=>{throw n(),s})),[r,n]}const Zf=ay("nuxt-app",{asyncContext:!1}),cy="__nuxt_plugin";function ly(e){let t=0;const n={_scope:Gr(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.11.2"},get vue(){return n.vueApp.version}},payload:wt({data:{},state:{},once:new Set,_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:s=>n._scope.run(()=>dy(n,s)),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let s=!1;return()=>{if(!s&&(s=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=Qf(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,o)=>{const i="$"+s;ps(n,i,o),ps(n.vueApp.config.globalProperties,i,o)},ps(n.vueApp,"$nuxt",n),ps(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",o=>{n.callHook("app:chunkError",{error:o.payload})}),window.useNuxtApp=window.useNuxtApp||he;const s=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",s)}const r=n.payload.config;return n.provide("config",r),n}async function uy(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function fy(e,t){const n=[],r=[],s=[],o=[];let i=0;async function a(c){var u;const l=((u=c.dependsOn)==null?void 0:u.filter(f=>t.some(d=>d._name===f)&&!n.includes(f)))??[];if(l.length>0)r.push([new Set(l),c]);else{const f=uy(e,c).then(async()=>{c._name&&(n.push(c._name),await Promise.all(r.map(async([d,m])=>{d.has(c._name)&&(d.delete(c._name),d.size===0&&(i++,await a(m)))})))});c.parallel?s.push(f.catch(d=>o.push(d))):await f}}for(const c of t)await a(c);if(await Promise.all(s),i)for(let c=0;c{}),e,{[cy]:!0,_name:t})}function dy(e,t,n){const r=()=>n?t(...n):t();return Zf.set(e),e.vueApp.runWithContext(r)}function hy(){var t;let e;return ma()&&(e=(t=Dn())==null?void 0:t.appContext.app.$nuxt),e=e||Zf.tryUse(),e||null}function he(){const e=hy();if(!e)throw new Error("[nuxt] instance unavailable");return e}function pt(e){return he().$config}function ps(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const ms=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function py(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},s=(t||{}).decode||yy;let o=0;for(;o{t+=s};return{toString(){return t},getContext(){return n},dispatch(s){return e.replacer&&(s=e.replacer(s)),this[s===null?"null":typeof s](s)},object(s){if(s&&typeof s.toJSON=="function")return this.object(s.toJSON());const o=Object.prototype.toString.call(s);let i="";const a=o.length;a<10?i="unknown:["+o+"]":i=o.slice(8,a-1),i=i.toLowerCase();let c=null;if((c=n.get(s))===void 0)n.set(s,n.size);else return this.dispatch("[CIRCULAR:"+c+"]");if(typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(s))return r("buffer:"),r(s.toString("utf8"));if(i!=="object"&&i!=="function"&&i!=="asyncfunction")this[i]?this[i](s):e.ignoreUnknown||this.unkown(s,i);else{let l=Object.keys(s);e.unorderedObjects&&(l=l.sort());let u=[];e.respectType!==!1&&!Hc(s)&&(u=by),e.excludeKeys&&(l=l.filter(d=>!e.excludeKeys(d)),u=u.filter(d=>!e.excludeKeys(d))),r("object:"+(l.length+u.length)+":");const f=d=>{this.dispatch(d),r(":"),e.excludeValues||this.dispatch(s[d]),r(",")};for(const d of l)f(d);for(const d of u)f(d)}},array(s,o){if(o=o===void 0?e.unorderedArrays!==!1:o,r("array:"+s.length+":"),!o||s.length<=1){for(const c of s)this.dispatch(c);return}const i=new Map,a=s.map(c=>{const l=ed(e);l.dispatch(c);for(const[u,f]of l.getContext())i.set(u,f);return l.toString()});return n=i,a.sort(),this.array(a,!1)},date(s){return r("date:"+s.toJSON())},symbol(s){return r("symbol:"+s.toString())},unkown(s,o){if(r(o),!!s&&(r(":"),s&&typeof s.entries=="function"))return this.array(Array.from(s.entries()),!0)},error(s){return r("error:"+s.toString())},boolean(s){return r("bool:"+s)},string(s){r("string:"+s.length+":"),r(s)},function(s){r("fn:"),Hc(s)?this.dispatch("[native]"):this.dispatch(s.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(s.name)),e.respectFunctionProperties&&this.object(s)},number(s){return r("number:"+s)},xml(s){return r("xml:"+s.toString())},null(){return r("Null")},undefined(){return r("Undefined")},regexp(s){return r("regex:"+s.toString())},uint8array(s){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(s))},uint8clampedarray(s){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(s))},int8array(s){return r("int8array:"),this.dispatch(Array.prototype.slice.call(s))},uint16array(s){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(s))},int16array(s){return r("int16array:"),this.dispatch(Array.prototype.slice.call(s))},uint32array(s){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(s))},int32array(s){return r("int32array:"),this.dispatch(Array.prototype.slice.call(s))},float32array(s){return r("float32array:"),this.dispatch(Array.prototype.slice.call(s))},float64array(s){return r("float64array:"),this.dispatch(Array.prototype.slice.call(s))},arraybuffer(s){return r("arraybuffer:"),this.dispatch(new Uint8Array(s))},url(s){return r("url:"+s.toString())},map(s){r("map:");const o=[...s];return this.array(o,e.unorderedSets!==!1)},set(s){r("set:");const o=[...s];return this.array(o,e.unorderedSets!==!1)},file(s){return r("file:"),this.dispatch([s.name,s.size,s.type,s.lastModfied])},blob(){if(e.ignoreUnknown)return r("[blob]");throw new Error(`Hashing Blob objects is currently not supported +**/const Ag="http://www.w3.org/2000/svg",Og="http://www.w3.org/1998/Math/MathML",sn=typeof document<"u"?document:null,vc=sn&&sn.createElement("template"),Ig={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?sn.createElementNS(Ag,e):t==="mathml"?sn.createElementNS(Og,e):sn.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>sn.createTextNode(e),createComment:e=>sn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>sn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{vc.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const a=vc.content;if(r==="svg"||r==="mathml"){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Xt="transition",fr="animation",$r=Symbol("_vtc"),Ea=(e,{slots:t})=>bt(Vp,Ng(e),t);Ea.displayName="Transition";const Uf={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Ea.props=xe({},df,Uf);const mn=(e,t=[])=>{te(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ec=e=>e?te(e)?e.some(t=>t.length>1):e.length>1:!1;function Ng(e){const t={};for(const x in e)x in Uf||(t[x]=e[x]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:l=i,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,b=xg(s),S=b&&b[0],L=b&&b[1],{onBeforeEnter:_,onEnter:v,onEnterCancelled:y,onLeave:m,onLeaveCancelled:E,onBeforeAppear:C=_,onAppear:R=v,onAppearCancelled:k=y}=t,T=(x,q,ie)=>{yn(x,q?u:a),yn(x,q?l:i),ie&&ie()},I=(x,q)=>{x._isLeaving=!1,yn(x,f),yn(x,g),yn(x,d),q&&q()},F=x=>(q,ie)=>{const oe=x?R:v,H=()=>T(q,x,ie);mn(oe,[q,H]),wc(()=>{yn(q,x?c:o),zt(q,x?u:a),Ec(oe)||Sc(q,r,S,H)})};return xe(t,{onBeforeEnter(x){mn(_,[x]),zt(x,o),zt(x,i)},onBeforeAppear(x){mn(C,[x]),zt(x,c),zt(x,l)},onEnter:F(!1),onAppear:F(!0),onLeave(x,q){x._isLeaving=!0;const ie=()=>I(x,q);zt(x,f),Fg(),zt(x,d),wc(()=>{x._isLeaving&&(yn(x,f),zt(x,g),Ec(m)||Sc(x,r,L,ie))}),mn(m,[x,ie])},onEnterCancelled(x){T(x,!1),mn(y,[x])},onAppearCancelled(x){T(x,!0),mn(k,[x])},onLeaveCancelled(x){I(x),mn(E,[x])}})}function xg(e){if(e==null)return null;if(ve(e))return[Vo(e.enter),Vo(e.leave)];{const t=Vo(e);return[t,t]}}function Vo(e){return ku(e)}function zt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[$r]||(e[$r]=new Set)).add(t)}function yn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[$r];n&&(n.delete(t),n.size||(e[$r]=void 0))}function wc(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Mg=0;function Sc(e,t,n,r){const s=e._endId=++Mg,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:a,propCount:c}=Dg(e,t);if(!i)return r();const l=i+"end";let u=0;const f=()=>{e.removeEventListener(l,d),o()},d=g=>{g.target===e&&++u>=c&&f()};setTimeout(()=>{u(n[b]||"").split(", "),s=r(`${Xt}Delay`),o=r(`${Xt}Duration`),i=Cc(s,o),a=r(`${fr}Delay`),c=r(`${fr}Duration`),l=Cc(a,c);let u=null,f=0,d=0;t===Xt?i>0&&(u=Xt,f=i,d=o.length):t===fr?l>0&&(u=fr,f=l,d=c.length):(f=Math.max(i,l),u=f>0?i>l?Xt:fr:null,d=u?u===Xt?o.length:c.length:0);const g=u===Xt&&/\b(transform|all)(,|$)/.test(r(`${Xt}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:g}}function Cc(e,t){for(;e.lengthTc(n)+Tc(e[r])))}function Tc(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Fg(){return document.body.offsetHeight}function $g(e,t,n){const r=e[$r];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Us=Symbol("_vod"),jf=Symbol("_vsh"),PC={beforeMount(e,{value:t},{transition:n}){e[Us]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):dr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),dr(e,!0),r.enter(e)):r.leave(e,()=>{dr(e,!1)}):dr(e,t))},beforeUnmount(e,{value:t}){dr(e,t)}};function dr(e,t){e.style.display=t?e[Us]:"none",e[jf]=!t}const Ug=Symbol(""),jg=/(^|;)\s*display\s*:/;function Hg(e,t,n){const r=e.style,s=Se(n);let o=!1;if(n&&!s){if(t)if(Se(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Ss(r,a,"")}else for(const i in t)n[i]==null&&Ss(r,i,"");for(const i in n)i==="display"&&(o=!0),Ss(r,i,n[i])}else if(s){if(t!==n){const i=r[Ug];i&&(n+=";"+i),r.cssText=n,o=jg.test(n)}}else t&&e.removeAttribute("style");Us in e&&(e[Us]=o?r.display:"",e[jf]&&(r.display="none"))}const Lc=/\s*!important$/;function Ss(e,t,n){if(te(n))n.forEach(r=>Ss(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Bg(e,t);Lc.test(n)?e.setProperty(Nn(r),n.replace(Lc,""),"important"):e[r]=n}}const Pc=["Webkit","Moz","ms"],Wo={};function Bg(e,t){const n=Wo[t];if(n)return n;let r=Nt(t);if(r!=="filter"&&r in e)return Wo[t]=r;r=so(r);for(let s=0;sKo||(Xg.then(()=>Ko=0),Ko=Date.now());function Jg(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;ft(Qg(r,n.value),t,5,[r])};return n.value=e,n.attached=zg(),n}function Qg(e,t){if(te(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const Oc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Zg=(e,t,n,r,s,o,i,a,c)=>{const l=s==="svg";t==="class"?$g(e,r,l):t==="style"?Hg(e,n,r):Wr(t)?Ji(t)||qg(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):em(e,t,r,l))?Wg(e,t,r,o,i,a,c):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Vg(e,t,r,l))};function em(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Oc(t)&&se(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Oc(t)&&Se(n)?!1:t in e}const tm={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},RC=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const o=Nn(s.key);if(t.some(i=>i===o||tm[i]===o))return e(s)})},Hf=xe({patchProp:Zg},Ig);let Pr,Ic=!1;function nm(){return Pr||(Pr=pg(Hf))}function rm(){return Pr=Ic?Pr:gg(Hf),Ic=!0,Pr}const sm=(...e)=>{const t=nm().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Vf(r);if(!s)return;const o=t._component;!se(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,Bf(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},om=(...e)=>{const t=rm().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Vf(r);if(s)return n(s,!0,Bf(s))},t};function Bf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Vf(e){return Se(e)?document.querySelector(e):e}const im=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,am=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,cm=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function lm(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){um(e);return}return t}function um(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Ur(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!cm.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(im.test(e)||am.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,lm)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const fm=/#/g,dm=/&/g,hm=/\//g,pm=/=/g,wa=/\+/g,gm=/%5e/gi,mm=/%60/gi,ym=/%7c/gi,_m=/%20/gi;function bm(e){return encodeURI(""+e).replace(ym,"|")}function _i(e){return bm(typeof e=="string"?e:JSON.stringify(e)).replace(wa,"%2B").replace(_m,"+").replace(fm,"%23").replace(dm,"%26").replace(mm,"`").replace(gm,"^").replace(hm,"%2F")}function Go(e){return _i(e).replace(pm,"%3D")}function js(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function vm(e){return js(e.replace(wa," "))}function Em(e){return js(e.replace(wa," "))}function Wf(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=vm(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=Em(r[2]||"");t[s]===void 0?t[s]=o:Array.isArray(t[s])?t[s].push(o):t[s]=[t[s],o]}return t}function wm(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Go(e)}=${_i(n)}`).join("&"):`${Go(e)}=${_i(t)}`:Go(e)}function Sm(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>wm(t,e[t])).filter(Boolean).join("&")}const Cm=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Tm=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Lm=/^([/\\]\s*){2,}[^/\\]/,Pm=/^[\s\0]*(blob|data|javascript|vbscript):$/i,Rm=/\/$|\/\?|\/#/,km=/^\.?\//;function xt(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Cm.test(e):Tm.test(e)||(t.acceptRelative?Lm.test(e):!1)}function Am(e){return!!e&&Pm.test(e)}function bi(e="",t){return t?Rm.test(e):e.endsWith("/")}function _o(e="",t){if(!t)return(bi(e)?e.slice(0,-1):e)||"/";if(!bi(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");s>=0&&(n=e.slice(0,s),r=e.slice(s));const[o,...i]=n.split("?");return((o.endsWith("/")?o.slice(0,-1):o)||"/")+(i.length>0?`?${i.join("?")}`:"")+r}function Hs(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(bi(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");if(s>=0&&(n=e.slice(0,s),r=e.slice(s),!n))return r;const[o,...i]=n.split("?");return o+"/"+(i.length>0?`?${i.join("?")}`:"")+r}function Om(e=""){return e.startsWith("/")}function Nc(e=""){return Om(e)?e:"/"+e}function Im(e,t){if(Gf(t)||xt(e))return e;const n=_o(t);return e.startsWith(n)?e:bo(n,e)}function xc(e,t){if(Gf(t))return e;const n=_o(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function Kf(e,t){const n=vo(e),r={...Wf(n.search),...t};return n.search=Sm(r),xm(n)}function Gf(e){return!e||e==="/"}function Nm(e){return e&&e!=="/"}function bo(e,...t){let n=e||"";for(const r of t.filter(s=>Nm(s)))if(n){const s=r.replace(km,"");n=Hs(n)+s}else n=r;return n}function qf(...e){var i,a,c,l;const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let s=0;for(const u of n)if(!(!u||u==="/")){for(const[f,d]of u.split(t).entries())if(!(!d||d===".")){if(d===".."){if(r.length===1&&xt(r[0]))continue;r.pop(),s--;continue}if(f===1&&((i=r[r.length-1])!=null&&i.endsWith(":/"))){r[r.length-1]+="/"+d;continue}r.push(d),s++}}let o=r.join("/");return s>=0?(a=n[0])!=null&&a.startsWith("/")&&!o.startsWith("/")?o="/"+o:(c=n[0])!=null&&c.startsWith("./")&&!o.startsWith("./")&&(o="./"+o):o="../".repeat(-1*s)+o,(l=n[n.length-1])!=null&&l.endsWith("/")&&!o.endsWith("/")&&(o+="/"),o}function vi(e,t,n={}){return n.trailingSlash||(e=Hs(e),t=Hs(t)),n.leadingSlash||(e=Nc(e),t=Nc(t)),n.encoding||(e=js(e),t=js(t)),e===t}const Yf=Symbol.for("ufo:protocolRelative");function vo(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!xt(e,{acceptRelative:!0}))return t?vo(t+e):Ei(e);const[,r="",s,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,i="",a=""]=o.match(/([^#/?]*)(.*)?/)||[],{pathname:c,search:l,hash:u}=Ei(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:c,search:l,hash:u,[Yf]:!r}}function Ei(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function xm(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",s=e.auth?e.auth+"@":"",o=e.host||"";return(e.protocol||e[Yf]?(e.protocol||"")+"//":"")+s+o+t+n+r}class Mm extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function Dm(e){var c,l,u,f,d;const t=((c=e.error)==null?void 0:c.message)||((l=e.error)==null?void 0:l.toString())||"",n=((u=e.request)==null?void 0:u.method)||((f=e.options)==null?void 0:f.method)||"GET",r=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",s=`[${n}] ${JSON.stringify(r)}`,o=e.response?`${e.response.status} ${e.response.statusText}`:"",i=`${s}: ${o}${t?` ${t}`:""}`,a=new Mm(i,e.error?{cause:e.error}:void 0);for(const g of["request","options","response"])Object.defineProperty(a,g,{get(){return e[g]}});for(const[g,b]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,g,{get(){return e.response&&e.response[b]}});return a}const Fm=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Mc(e="GET"){return Fm.has(e.toUpperCase())}function $m(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Um=new Set(["image/svg","application/xml","application/xhtml","application/html"]),jm=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Hm(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return jm.test(t)?"json":Um.has(t)||t.startsWith("text/")?"text":"blob"}function Bm(e,t,n=globalThis.Headers){const r={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(r.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(r.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){r.headers=new n((t==null?void 0:t.headers)||{});for(const[s,o]of new n((e==null?void 0:e.headers)||{}))r.headers.set(s,o)}return r}const Vm=new Set([408,409,425,429,500,502,503,504]),Wm=new Set([101,204,205,304]);function Xf(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function s(a){const c=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!c){let u;typeof a.options.retry=="number"?u=a.options.retry:u=Mc(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):Vm.has(f))){const d=a.options.retryDelay||0;return d>0&&await new Promise(g=>setTimeout(g,d)),o(a.request,{...a.options,retry:u-1})}}const l=Dm(a);throw Error.captureStackTrace&&Error.captureStackTrace(l,o),l}const o=async function(c,l={}){var g;const u={request:c,options:Bm(l,e.defaults,n),response:void 0,error:void 0};u.options.method=(g=u.options.method)==null?void 0:g.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=Im(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=Kf(u.request,{...u.options.params,...u.options.query}))),u.options.body&&Mc(u.options.method)&&($m(u.options.body)?(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half")));let f;if(!u.options.signal&&u.options.timeout){const b=new r;f=setTimeout(()=>b.abort(),u.options.timeout),u.options.signal=b.signal}try{u.response=await t(u.request,u.options)}catch(b){return u.error=b,u.options.onRequestError&&await u.options.onRequestError(u),await s(u)}finally{f&&clearTimeout(f)}if(u.response.body&&!Wm.has(u.response.status)&&u.options.method!=="HEAD"){const b=(u.options.parseResponse?"json":u.options.responseType)||Hm(u.response.headers.get("content-type")||"");switch(b){case"json":{const S=await u.response.text(),L=u.options.parseResponse||Ur;u.response._data=L(S);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[b]()}}return u.options.onResponse&&await u.options.onResponse(u),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await u.options.onResponseError(u),await s(u)):u.response},i=async function(c,l){return(await o(c,l))._data};return i.raw=o,i.native=(...a)=>t(...a),i.create=(a={})=>Xf({...e,defaults:{...e.defaults,...a}}),i}const Sa=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),Km=Sa.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),Gm=Sa.Headers,qm=Sa.AbortController,Ym=Xf({fetch:Km,Headers:Gm,AbortController:qm}),Xm=Ym,zm=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},Bs=zm().app,Jm=()=>Bs.baseURL,Qm=()=>Bs.buildAssetsDir,Ca=(...e)=>qf(zf(),Qm(),...e),zf=(...e)=>{const t=Bs.cdnURL||Bs.baseURL;return e.length?qf(t,...e):t};globalThis.__buildAssetsURL=Ca,globalThis.__publicAssetsURL=zf;globalThis.$fetch||(globalThis.$fetch=Xm.create({baseURL:Jm()}));function wi(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?wi(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const Zm={run:e=>e()},ey=()=>Zm,Jf=typeof console.createTask<"u"?console.createTask:ey;function ty(e,t){const n=t.shift(),r=Jf(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function ny(e,t){const n=t.shift(),r=Jf(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function qo(e,t){for(const n of[...e])n(t)}class ry{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const s=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!r.allowDeprecated){let i=o.message;i||(i=`${s} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,s=(...o)=>(typeof r=="function"&&r(),r=void 0,s=void 0,n(...o));return r=this.hook(t,s),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const s of r)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=wi(t),r=Object.keys(n).map(s=>this.hook(s,n[s]));return()=>{for(const s of r.splice(0,r.length))s()}}removeHooks(t){const n=wi(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(ty,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(ny,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&qo(this._before,s);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&qo(this._after,s)}):(this._after&&s&&qo(this._after,s),o)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Qf(){return new ry}function sy(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let s;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?s=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const o=()=>{if(s&&t===void 0){const i=s.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=o();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>o(),set:(i,a)=>{a||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{r(i),t=i;try{return s?s.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const c=()=>{t=i},l=()=>t===i?c:void 0;Si.add(l);try{const u=s?s.run(i,a):a();return n||(t=void 0),await u}finally{Si.delete(l)}}}}function oy(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=sy({...e,...r})),t[n],t[n]}}}const Vs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Dc="__unctx__",iy=Vs[Dc]||(Vs[Dc]=oy()),ay=(e,t={})=>iy.get(e,t),Fc="__unctx_async_handlers__",Si=Vs[Fc]||(Vs[Fc]=new Set);function At(e){const t=[];for(const s of Si){const o=s();o&&t.push(o)}const n=()=>{for(const s of t)s()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(s=>{throw n(),s})),[r,n]}const Zf=ay("nuxt-app",{asyncContext:!1}),cy="__nuxt_plugin";function ly(e){let t=0;const n={_scope:Gr(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.11.2"},get vue(){return n.vueApp.version}},payload:wt({data:{},state:{},once:new Set,_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:s=>n._scope.run(()=>dy(n,s)),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let s=!1;return()=>{if(!s&&(s=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=Qf(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,o)=>{const i="$"+s;ps(n,i,o),ps(n.vueApp.config.globalProperties,i,o)},ps(n.vueApp,"$nuxt",n),ps(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",o=>{n.callHook("app:chunkError",{error:o.payload})}),window.useNuxtApp=window.useNuxtApp||he;const s=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",s)}const r=n.payload.config;return n.provide("config",r),n}async function uy(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function fy(e,t){const n=[],r=[],s=[],o=[];let i=0;async function a(c){var u;const l=((u=c.dependsOn)==null?void 0:u.filter(f=>t.some(d=>d._name===f)&&!n.includes(f)))??[];if(l.length>0)r.push([new Set(l),c]);else{const f=uy(e,c).then(async()=>{c._name&&(n.push(c._name),await Promise.all(r.map(async([d,g])=>{d.has(c._name)&&(d.delete(c._name),d.size===0&&(i++,await a(g)))})))});c.parallel?s.push(f.catch(d=>o.push(d))):await f}}for(const c of t)await a(c);if(await Promise.all(s),i)for(let c=0;c{}),e,{[cy]:!0,_name:t})}function dy(e,t,n){const r=()=>n?t(...n):t();return Zf.set(e),e.vueApp.runWithContext(r)}function hy(){var t;let e;return ga()&&(e=(t=Dn())==null?void 0:t.appContext.app.$nuxt),e=e||Zf.tryUse(),e||null}function he(){const e=hy();if(!e)throw new Error("[nuxt] instance unavailable");return e}function pt(e){return he().$config}function ps(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const gs=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function py(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},s=(t||{}).decode||yy;let o=0;for(;o{t+=s};return{toString(){return t},getContext(){return n},dispatch(s){return e.replacer&&(s=e.replacer(s)),this[s===null?"null":typeof s](s)},object(s){if(s&&typeof s.toJSON=="function")return this.object(s.toJSON());const o=Object.prototype.toString.call(s);let i="";const a=o.length;a<10?i="unknown:["+o+"]":i=o.slice(8,a-1),i=i.toLowerCase();let c=null;if((c=n.get(s))===void 0)n.set(s,n.size);else return this.dispatch("[CIRCULAR:"+c+"]");if(typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(s))return r("buffer:"),r(s.toString("utf8"));if(i!=="object"&&i!=="function"&&i!=="asyncfunction")this[i]?this[i](s):e.ignoreUnknown||this.unkown(s,i);else{let l=Object.keys(s);e.unorderedObjects&&(l=l.sort());let u=[];e.respectType!==!1&&!Hc(s)&&(u=by),e.excludeKeys&&(l=l.filter(d=>!e.excludeKeys(d)),u=u.filter(d=>!e.excludeKeys(d))),r("object:"+(l.length+u.length)+":");const f=d=>{this.dispatch(d),r(":"),e.excludeValues||this.dispatch(s[d]),r(",")};for(const d of l)f(d);for(const d of u)f(d)}},array(s,o){if(o=o===void 0?e.unorderedArrays!==!1:o,r("array:"+s.length+":"),!o||s.length<=1){for(const c of s)this.dispatch(c);return}const i=new Map,a=s.map(c=>{const l=ed(e);l.dispatch(c);for(const[u,f]of l.getContext())i.set(u,f);return l.toString()});return n=i,a.sort(),this.array(a,!1)},date(s){return r("date:"+s.toJSON())},symbol(s){return r("symbol:"+s.toString())},unkown(s,o){if(r(o),!!s&&(r(":"),s&&typeof s.entries=="function"))return this.array(Array.from(s.entries()),!0)},error(s){return r("error:"+s.toString())},boolean(s){return r("bool:"+s)},string(s){r("string:"+s.length+":"),r(s)},function(s){r("fn:"),Hc(s)?this.dispatch("[native]"):this.dispatch(s.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(s.name)),e.respectFunctionProperties&&this.object(s)},number(s){return r("number:"+s)},xml(s){return r("xml:"+s.toString())},null(){return r("Null")},undefined(){return r("Undefined")},regexp(s){return r("regex:"+s.toString())},uint8array(s){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(s))},uint8clampedarray(s){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(s))},int8array(s){return r("int8array:"),this.dispatch(Array.prototype.slice.call(s))},uint16array(s){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(s))},int16array(s){return r("int16array:"),this.dispatch(Array.prototype.slice.call(s))},uint32array(s){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(s))},int32array(s){return r("int32array:"),this.dispatch(Array.prototype.slice.call(s))},float32array(s){return r("float32array:"),this.dispatch(Array.prototype.slice.call(s))},float64array(s){return r("float64array:"),this.dispatch(Array.prototype.slice.call(s))},arraybuffer(s){return r("arraybuffer:"),this.dispatch(new Uint8Array(s))},url(s){return r("url:"+s.toString())},map(s){r("map:");const o=[...s];return this.array(o,e.unorderedSets!==!1)},set(s){r("set:");const o=[...s];return this.array(o,e.unorderedSets!==!1)},file(s){return r("file:"),this.dispatch([s.name,s.size,s.type,s.lastModfied])},blob(){if(e.ignoreUnknown)return r("[blob]");throw new Error(`Hashing Blob objects is currently not supported Use "options.replacer" or "options.ignoreUnknown" -`)},domwindow(){return r("domwindow")},bigint(s){return r("bigint:"+s.toString())},process(){return r("process")},timer(){return r("timer")},pipe(){return r("pipe")},tcp(){return r("tcp")},udp(){return r("udp")},tty(){return r("tty")},statwatcher(){return r("statwatcher")},securecontext(){return r("securecontext")},connection(){return r("connection")},zlib(){return r("zlib")},context(){return r("context")},nodescript(){return r("nodescript")},httpparser(){return r("httpparser")},dataview(){return r("dataview")},signal(){return r("signal")},fsevent(){return r("fsevent")},tlswrap(){return r("tlswrap")}}}const td="[native code] }",vy=td.length;function Hc(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-vy)===td}function Ey(e,t,n={}){return e===t||jc(e,n)===jc(t,n)}function wy(e,t){return{ctx:{table:e},matchAll:n=>rd(n,e,t)}}function nd(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,s])=>[r,nd(s)])):new Map(Object.entries(e[n]));return t}function Sy(e){return wy(nd(e))}function rd(e,t,n){n!==!0&&e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[o,i]of Bc(t.wildcard))(e===o||e.startsWith(o+"/"))&&r.push(i);for(const[o,i]of Bc(t.dynamic))if(e.startsWith(o+"/")){const a="/"+e.slice(o.length).split("/").splice(2).join("/");r.push(...rd(a,i))}const s=t.static.get(e);return s&&r.push(s),r.filter(Boolean)}function Bc(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Yo(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Ci(e,t,n=".",r){if(!Yo(t))return Ci(e,{},n,r);const s=Object.assign({},t);for(const o in e){if(o==="__proto__"||o==="constructor")continue;const i=e[o];i!=null&&(r&&r(s,o,i,n)||(Array.isArray(i)&&Array.isArray(s[o])?s[o]=[...i,...s[o]]:Yo(i)&&Yo(s[o])?s[o]=Ci(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function sd(e){return(...t)=>t.reduce((n,r)=>Ci(n,r,"",e),{})}const od=sd(),Cy=sd((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function Ty(e,t){try{return t in e}catch{return!1}}var Ly=Object.defineProperty,Py=(e,t,n)=>t in e?Ly(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bn=(e,t,n)=>(Py(e,typeof t!="symbol"?t+"":t,n),n);class Ti extends Error{constructor(t,n={}){super(t,n),bn(this,"statusCode",500),bn(this,"fatal",!1),bn(this,"unhandled",!1),bn(this,"statusMessage"),bn(this,"data"),bn(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Pi(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=id(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}bn(Ti,"__h3_error__",!0);function Li(e){if(typeof e=="string")return new Ti(e);if(Ry(e))return e;const t=new Ti(e.message??e.statusMessage??"",{cause:e.cause||e});if(Ty(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=Pi(e.statusCode,t.statusCode):e.status&&(t.statusCode=Pi(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;id(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Ry(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const ky=/[^\u0009\u0020-\u007E]/g;function id(e=""){return e.replace(ky,"")}function Pi(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Ay=Symbol("layout-meta"),Eo=Symbol("route"),St=()=>{var e;return(e=he())==null?void 0:e.$router},Ta=()=>ma()?Ke(Eo,he()._route):he()._route;const Oy=(e,t,n={})=>{const r=he(),s=n.global||typeof e!="string",o=typeof e!="string"?e:t;if(!o){console.warn("[nuxt] No route middleware passed to `addRouteMiddleware`.",e);return}s?r._middleware.global.push(o):r._middleware.named[e]=o},Iy=()=>{try{if(he()._processingMiddleware)return!0}catch{return!1}return!1},Ny=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:Kf(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){const{target:a="_blank",windowFeatures:c={}}=t.open,l=Object.entries(c).filter(([u,f])=>f!==void 0).map(([u,f])=>`${u.toLowerCase()}=${f}`).join(", ");return open(n,a,l),Promise.resolve()}const r=(t==null?void 0:t.external)||xt(n,{acceptRelative:!0});if(r){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const a=vo(n).protocol;if(a&&Ag(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const s=Iy();if(!r&&s)return e;const o=St(),i=he();return r?(i._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,s?i.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?o.replace(e):o.push(e)},ad="__nuxt_error",wo=()=>Ju(he().payload,"error"),Vn=e=>{const t=So(e);try{const n=he(),r=wo();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},xy=async(e={})=>{const t=he(),n=wo();t.callHook("app:error:cleared",e),e.redirect&&await St().replace(e.redirect),n.value=null},My=e=>!!e&&typeof e=="object"&&ad in e,So=e=>{const t=Li(e);return Object.defineProperty(t,ad,{value:!0,configurable:!1,writable:!1}),t},Dy="modulepreload",Fy=function(e,t){return e[0]==="."?new URL(e,t).href:e},Vc={},$y=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){const o=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),a=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));s=Promise.all(n.map(c=>{if(c=Fy(c,r),c in Vc)return;Vc[c]=!0;const l=c.endsWith(".css"),u=l?'[rel="stylesheet"]':"";if(!!r)for(let m=o.length-1;m>=0;m--){const b=o[m];if(b.href===c&&(!l||b.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${u}`))return;const d=document.createElement("link");if(d.rel=l?"stylesheet":Dy,l||(d.as="script",d.crossOrigin=""),d.href=c,a&&d.setAttribute("nonce",a),document.head.appendChild(d),l)return new Promise((m,b)=>{d.addEventListener("load",m),d.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${c}`)))})}))}return s.then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},He=(...e)=>$y(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Uy=-1,jy=-2,Hy=-3,By=-4,Vy=-5,Wy=-6;function Ky(e,t){return Gy(JSON.parse(e),t)}function Gy(e,t){if(typeof e=="number")return s(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function s(o,i=!1){if(o===Uy)return;if(o===Hy)return NaN;if(o===By)return 1/0;if(o===Vy)return-1/0;if(o===Wy)return-0;if(i)throw new Error("Invalid input");if(o in r)return r[o];const a=n[o];if(!a||typeof a!="object")r[o]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const c=a[0],l=t==null?void 0:t[c];if(l)return r[o]=l(s(a[1]));switch(c){case"Date":r[o]=new Date(a[1]);break;case"Set":const u=new Set;r[o]=u;for(let m=1;m>>9)+65536).toString(16).substring(1,8).toLowerCase()}function Wc(e){return e._h||La(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function ld(e,t){const{props:n,tag:r}=e;if(zy.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const s=["id"];r==="meta"&&s.push("name","property","http-equiv");for(const o of s)if(typeof n[o]<"u"){const i=String(n[o]);return t&&!t(i)?!1:`${r}:${o}:${i}`}return!1}function Kc(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function Qy(e,t,n){const r={tag:e,props:await ud(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return cd.forEach(s=>{const o=typeof r.props[s]<"u"?r.props[s]:n[s];typeof o<"u"&&((!["innerHTML","textContent","children"].includes(s)||Yy.includes(r.tag))&&(r[s==="children"?"innerHTML":s]=o),delete r.props[s])}),r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(s=>({...r,props:{...r.props,content:s}})):r}function Zy(e,t){const n=e==="class"?" ":";";return typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,r])=>r).map(([r,s])=>e==="style"?`${r}:${s}`:r)),(Array.isArray(t)?t.join(n):t).split(n).filter(r=>r.trim()).filter(Boolean).join(n)}async function ud(e,t){for(const n of Object.keys(e)){if(["class","style"].includes(n)){e[n]=Zy(n,e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!cd.includes(n)){const r=String(e[n]),s=n.startsWith("data-");r==="true"||r===""?e[n]=s?"true":!0:e[n]||(s&&r==="false"?e[n]="false":delete e[n])}}return e}const e_=10;async function t_(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&Xy.includes(n)).forEach(([n,r])=>{const s=qy(r);t.push(...s.map(o=>Qy(n,o,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<c&&c[l]||void 0,t):a=t[i],typeof a<"u"?(a||"").replace(/"/g,'\\"'):!1}let s=e;try{s=decodeURI(e)}catch{}return(s.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(i=>{const a=r(i.slice(1));typeof a=="string"&&(e=e.replace(new RegExp(`\\${i}(\\W|$)`,"g"),(c,l)=>`${a}${l}`).trim())}),e.includes(Jt)&&(e.endsWith(Jt)&&(e=e.slice(0,-Jt.length).trim()),e.startsWith(Jt)&&(e=e.slice(Jt.length).trim()),e=e.replace(new RegExp(`\\${Jt}\\s*\\${Jt}`,"g"),Jt),e=Ts(e,{separator:n},n)),e}async function fd(e,t={}){var u;const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const s=(await e.resolveTags()).map(f=>({tag:f,id:Cs.includes(f.tag)?Wc(f):f.tag,shouldRender:!0}));let o=e._dom;if(!o){o={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const d=(u=n[f])==null?void 0:u.children,m=[];for(const b of[...d].filter(S=>Cs.includes(S.tagName.toLowerCase()))){const S={tag:b.tagName.toLowerCase(),props:await ud(b.getAttributeNames().reduce((v,y)=>({...v,[y]:b.getAttribute(y)}),{})),innerHTML:b.innerHTML};let L=1,_=ld(S);for(;_&&m.find(v=>v._d===_);)_=`${_}:${L++}`;S._d=_||void 0,m.push(S),o.elMap[b.getAttribute("data-hid")||Wc(S)]=b}}}o.pendingSideEffects={...o.sideEffects||{}},o.sideEffects={};function i(f,d,m){const b=`${f}:${d}`;o.sideEffects[b]=m,delete o.pendingSideEffects[b]}function a({id:f,$el:d,tag:m}){const b=m.tag.endsWith("Attrs");o.elMap[f]=d,b||(["textContent","innerHTML"].forEach(S=>{m[S]&&m[S]!==d[S]&&(d[S]=m[S])}),i(f,"el",()=>{var S;(S=o.elMap[f])==null||S.remove(),delete o.elMap[f]}));for(const[S,L]of Object.entries(m._eventHandlers||{}))d.getAttribute(`data-${S}`)!==""&&((m.tag==="bodyAttrs"?n.defaultView:d).addEventListener(S.replace("on",""),L.bind(d)),d.setAttribute(`data-${S}`,""));Object.entries(m.props).forEach(([S,L])=>{const _=`attr:${S}`;if(S==="class")for(const v of(L||"").split(" ").filter(Boolean))b&&i(f,`${_}:${v}`,()=>d.classList.remove(v)),!d.classList.contains(v)&&d.classList.add(v);else if(S==="style")for(const v of(L||"").split(";").filter(Boolean)){const[y,...g]=v.split(":").map(E=>E.trim());i(f,`${_}:${v}:${y}`,()=>{d.style.removeProperty(y)}),d.style.setProperty(y,g.join(":"))}else d.getAttribute(S)!==L&&d.setAttribute(S,L===!0?"":String(L)),b&&i(f,_,()=>d.removeAttribute(S))})}const c=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of s){const{tag:d,shouldRender:m,id:b}=f;if(m){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||o.elMap[b],f.$el?a(f):Cs.includes(d.tag)&&c.push(f)}}for(const f of c){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),a(f),l[d]=l[d]||n.createDocumentFragment(),l[d].appendChild(f.$el)}for(const f of s)await e.hooks.callHook("dom:renderTag",f,n,i);l.head&&n.head.appendChild(l.head),l.bodyOpen&&n.body.insertBefore(l.bodyOpen,n.body.firstChild),l.bodyClose&&n.body.appendChild(l.bodyClose),Object.values(o.pendingSideEffects).forEach(f=>f()),e._dom=o,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:s})}async function r_(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await fd(e,t),delete e._domUpdatePromise,r()}))}function s_(e){return t=>{var r,s;const n=((s=(r=t.resolvedOptions.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:s.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(o){r_(o,e)}}}}}const o_=["templateParams","htmlAttrs","bodyAttrs"],i_={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(r=>{e.props[r]&&(e.key=e.props[r],delete e.props[r])});const n=ld(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(r=>{const s=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,o=t[s];if(o){let a=r==null?void 0:r.tagDuplicateStrategy;if(!a&&o_.includes(r.tag)&&(a="merge"),a==="merge"){const c=o.props;["class","style"].forEach(l=>{c[l]&&(r.props[l]?(l==="style"&&!c[l].endsWith(";")&&(c[l]+=";"),r.props[l]=`${c[l]} ${r.props[l]}`):r.props[l]=c[l])}),t[s].props={...c,...r.props};return}else if(r._e===o._e){o._duped=o._duped||[],r._d=`${o._d}:${o._duped.length+1}`,o._duped.push(r);return}else if(Ws(r)>Ws(o))return}const i=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(Cs.includes(r.tag)&&i===0){delete t[s];return}t[s]=r});const n=[];Object.values(t).forEach(r=>{const s=r._duped;delete r._duped,n.push(r),s&&n.push(...s)}),e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},a_={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},c_=["script","link","bodyAttrs"],l_=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags.filter(r=>c_.includes(r.tag)))Object.entries(n.props).forEach(([r,s])=>{r.startsWith("on")&&typeof s=="function"&&(e.ssr&&Yc.includes(r)?n.props[r]=`this.dataset.${r}fired = true`:delete n.props[r],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[r]=s)}),e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||La(n.props.src||n.props.href))},"dom:renderTag":function({$el:t,tag:n}){var r,s;for(const o of Object.keys((t==null?void 0:t.dataset)||{}).filter(i=>Yc.some(a=>`${a}fired`===i))){const i=o.replace("fired","");(s=(r=n._eventHandlers)==null?void 0:r[i])==null||s.call(t,new Event(i.replace("on","")))}}}}),u_=["link","style","script","noscript"],f_={hooks:{"tag:normalise":({tag:e})=>{e.key&&u_.includes(e.tag)&&(e.props["data-hid"]=e._h=La(e.key))}}},d_={hooks:{"tags:resolve":e=>{const t=n=>{var r;return(r=e.tags.find(s=>s._d===n))==null?void 0:r._p};for(const{prefix:n,offset:r}of n_)for(const s of e.tags.filter(o=>typeof o.tagPriority=="string"&&o.tagPriority.startsWith(n))){const o=t(s.tagPriority.replace(n,""));typeof o<"u"&&(s._p=o+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>Ws(n)-Ws(r))}}},h_={meta:"content",link:"href",htmlAttrs:"lang"},p_=e=>({hooks:{"tags:resolve":t=>{var a;const{tags:n}=t,r=(a=n.find(c=>c.tag==="title"))==null?void 0:a.textContent,s=n.findIndex(c=>c.tag==="templateParams"),o=s!==-1?n[s].props:{},i=o.separator||"|";delete o.separator,o.pageTitle=Ts(o.pageTitle||r||"",o,i);for(const c of n.filter(l=>l.processTemplateParams!==!1)){const l=h_[c.tag];l&&typeof c.props[l]=="string"?c.props[l]=Ts(c.props[l],o,i):(c.processTemplateParams===!0||["titleTemplate","title"].includes(c.tag))&&["innerHTML","textContent"].forEach(u=>{typeof c[u]=="string"&&(c[u]=Ts(c[u],o,i))})}e._templateParams=o,e._separator=i,t.tags=n.filter(c=>c.tag!=="templateParams")}}}),m_={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(s=>s.tag==="titleTemplate");const r=t.findIndex(s=>s.tag==="title");if(r!==-1&&n!==-1){const s=Kc(t[n].textContent,t[r].textContent);s!==null?t[r].textContent=s||t[r].textContent:delete t[r]}else if(n!==-1){const s=Kc(t[n].textContent);s!==null&&(t[n].textContent=s,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}},g_={hooks:{"tags:afterResolve":function(e){for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&["application/ld+json","application/json"].includes(t.props.type)?t.innerHTML=t.innerHTML.replace(/{a.dirty=!0,t.callHook("entries:updated",a)};let s=0,o=[];const i=[],a={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return o},use(c){const l=typeof c=="function"?c(a):c;(!l.key||!i.some(u=>u.key===l.key))&&(i.push(l),Xc(l.mode,n)&&t.addHooks(l.hooks||{}))},push(c,l){l==null||delete l.head;const u={_i:s++,input:c,...l};return Xc(u.mode,n)&&(o.push(u),r()),{dispose(){o=o.filter(f=>f._i!==u._i),t.callHook("entries:updated",a),r()},patch(f){o=o.map(d=>(d._i===u._i&&(d.input=u.input=f),d)),r()}}},async resolveTags(){const c={tags:[],entries:[...o]};await t.callHook("entries:resolve",c);for(const l of c.entries){const u=l.resolvedInput||l.input;if(l.resolvedInput=await(l.transform?l.transform(u):u),l.resolvedInput)for(const f of await t_(l)){const d={tag:f,entry:l,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",d),c.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",c),await t.callHook("tags:resolve",c),await t.callHook("tags:afterResolve",c),c.tags},ssr:n};return[i_,a_,l_,f_,d_,p_,m_,g_,...(e==null?void 0:e.plugins)||[]].forEach(c=>a.use(c)),a.hooks.callHook("init",a),a}function b_(){return dd}const v_=$f.startsWith("3");function E_(e){return typeof e=="function"?e():ne(e)}function Ks(e,t=""){if(e instanceof Promise)return e;const n=E_(e);return!e||!n?n:Array.isArray(n)?n.map(r=>Ks(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,s])=>r==="titleTemplate"||r.startsWith("on")?[r,ne(s)]:[r,Ks(s,r)])):n}const w_={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Ks(t.input)}}},hd="usehead";function S_(e){return{install(n){v_&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(hd,e))}}.install}function C_(e={}){e.domDelayFn=e.domDelayFn||(n=>fn(()=>setTimeout(()=>n(),0)));const t=y_(e);return t.use(w_),t.install=S_(t),t}const Ri=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ki="__unhead_injection_handler__";function T_(e){Ri[ki]=e}function L_(){if(ki in Ri)return Ri[ki]();const e=Ke(hd);return e||b_()}function pd(e,t={}){const n=t.head||L_();if(n)return n.ssr?n.push(e,t):P_(n,e,t)}function P_(e,t,n={}){const r=be(!1),s=be({});uf(()=>{s.value=r.value?{}:Ks(t)});const o=e.push(s.value,n);return $e(s,a=>{o.patch(a)}),Dn()&&(zr(()=>{o.dispose()}),gf(()=>{r.value=!0}),mf(()=>{r.value=!1})),o}function Pt(e){if(typeof e!="object")return e;var t,n,r=Object.prototype.toString.call(e);if(r==="[object Object]"){if(e.constructor!==Object&&typeof e.constructor=="function"){n=new e.constructor;for(t in e)e.hasOwnProperty(t)&&n[t]!==e[t]&&(n[t]=Pt(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:Pt(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=Pt(e[t])}return n}if(r==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=Pt(e[t]);return n}return r==="[object Set]"?(n=new Set,e.forEach(function(s){n.add(Pt(s))}),n):r==="[object Map]"?(n=new Map,e.forEach(function(s,o){n.set(Pt(o),Pt(s))}),n):r==="[object Date]"?new Date(+e):r==="[object RegExp]"?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):r==="[object DataView]"?new e.constructor(Pt(e.buffer)):r==="[object ArrayBuffer]"?e.slice(0):r.slice(-6)==="Array]"?new e.constructor(e):e}const R_={nuxt:{buildId:"8f753354-3c87-4105-be84-9ca9cace284c"}},k_=Cy(R_);function md(){const e=he();return e._appConfig||(e._appConfig=wt(k_)),e._appConfig}const Ai=!1,A_=!1,kC={componentName:"NuxtLink"},O_="#__nuxt";let Ls,gd;function I_(){var t;const e=(t=md().nuxt)==null?void 0:t.buildId;return Ls=$fetch(Ca(`builds/meta/${e}.json`)),Ls.then(n=>{gd=Sy(n.matcher)}),Ls}function Co(){return Ls||I_()}async function Pa(e){return await Co(),od({},...gd.matchAll(e).reverse())}function zc(e,t={}){const n=x_(e,t),r=he(),s=r._payloadCache=r._payloadCache||{};return n in s||(s[n]=M_(e).then(o=>o?yd(n).then(i=>i||(delete s[n],null)):(s[n]=null,null))),s[n]}const N_="_payload.json";function x_(e,t={}){var s;const n=new URL(e,"http://localhost");if(n.host!=="localhost"||xt(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():(s=md().nuxt)==null?void 0:s.buildId);return bo(pt().app.baseURL,n.pathname,N_+(r?`?${r}`:""))}async function yd(e){const t=fetch(e).then(n=>n.text().then(_d));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function M_(e=Ta().path){if(e=_o(e),(await Co()).prerendered.includes(e))return!0;const n=await Pa(e);return!!n.prerender&&!n.redirect}let gs=null;async function D_(){if(gs)return gs;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await _d(e.textContent||""),n=e.dataset.src?await yd(e.dataset.src):void 0;return gs={...t,...n,...window.__NUXT__},gs}async function _d(e){return await Ky(e,he()._payloadRevivers)}function F_(e,t){he()._payloadRevivers[e]=t}const Jc={NuxtError:e=>So(e),EmptyShallowRef:e=>An(e==="_"?void 0:e==="0n"?BigInt(0):Ur(e)),EmptyRef:e=>be(e==="_"?void 0:e==="0n"?BigInt(0):Ur(e)),ShallowRef:e=>An(e),ShallowReactive:e=>qr(e),Ref:e=>be(e),Reactive:e=>wt(e)},$_=qe({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in Jc)F_(r,Jc[r]);Object.assign(e.payload,([t,n]=At(()=>e.runWithContext(D_)),t=await t,n(),t)),window.__NUXT__=e.payload}}),U_=[],j_=qe({name:"nuxt:head",enforce:"pre",setup(e){const t=C_({plugins:U_});T_(()=>he().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await fd(t)};t.hooks.hook("dom:beforeRender",s=>{s.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});/*! +`)},domwindow(){return r("domwindow")},bigint(s){return r("bigint:"+s.toString())},process(){return r("process")},timer(){return r("timer")},pipe(){return r("pipe")},tcp(){return r("tcp")},udp(){return r("udp")},tty(){return r("tty")},statwatcher(){return r("statwatcher")},securecontext(){return r("securecontext")},connection(){return r("connection")},zlib(){return r("zlib")},context(){return r("context")},nodescript(){return r("nodescript")},httpparser(){return r("httpparser")},dataview(){return r("dataview")},signal(){return r("signal")},fsevent(){return r("fsevent")},tlswrap(){return r("tlswrap")}}}const td="[native code] }",vy=td.length;function Hc(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-vy)===td}function Ey(e,t,n={}){return e===t||jc(e,n)===jc(t,n)}function wy(e,t){return{ctx:{table:e},matchAll:n=>rd(n,e,t)}}function nd(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,s])=>[r,nd(s)])):new Map(Object.entries(e[n]));return t}function Sy(e){return wy(nd(e))}function rd(e,t,n){n!==!0&&e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[o,i]of Bc(t.wildcard))(e===o||e.startsWith(o+"/"))&&r.push(i);for(const[o,i]of Bc(t.dynamic))if(e.startsWith(o+"/")){const a="/"+e.slice(o.length).split("/").splice(2).join("/");r.push(...rd(a,i))}const s=t.static.get(e);return s&&r.push(s),r.filter(Boolean)}function Bc(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Yo(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Ci(e,t,n=".",r){if(!Yo(t))return Ci(e,{},n,r);const s=Object.assign({},t);for(const o in e){if(o==="__proto__"||o==="constructor")continue;const i=e[o];i!=null&&(r&&r(s,o,i,n)||(Array.isArray(i)&&Array.isArray(s[o])?s[o]=[...i,...s[o]]:Yo(i)&&Yo(s[o])?s[o]=Ci(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function sd(e){return(...t)=>t.reduce((n,r)=>Ci(n,r,"",e),{})}const od=sd(),Cy=sd((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function Ty(e,t){try{return t in e}catch{return!1}}var Ly=Object.defineProperty,Py=(e,t,n)=>t in e?Ly(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bn=(e,t,n)=>(Py(e,typeof t!="symbol"?t+"":t,n),n);class Ti extends Error{constructor(t,n={}){super(t,n),bn(this,"statusCode",500),bn(this,"fatal",!1),bn(this,"unhandled",!1),bn(this,"statusMessage"),bn(this,"data"),bn(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Pi(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=id(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}bn(Ti,"__h3_error__",!0);function Li(e){if(typeof e=="string")return new Ti(e);if(Ry(e))return e;const t=new Ti(e.message??e.statusMessage??"",{cause:e.cause||e});if(Ty(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=Pi(e.statusCode,t.statusCode):e.status&&(t.statusCode=Pi(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;id(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Ry(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const ky=/[^\u0009\u0020-\u007E]/g;function id(e=""){return e.replace(ky,"")}function Pi(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Ay=Symbol("layout-meta"),Eo=Symbol("route"),St=()=>{var e;return(e=he())==null?void 0:e.$router},Ta=()=>ga()?Ke(Eo,he()._route):he()._route;const Oy=(e,t,n={})=>{const r=he(),s=n.global||typeof e!="string",o=typeof e!="string"?e:t;if(!o){console.warn("[nuxt] No route middleware passed to `addRouteMiddleware`.",e);return}s?r._middleware.global.push(o):r._middleware.named[e]=o},Iy=()=>{try{if(he()._processingMiddleware)return!0}catch{return!1}return!1},Ny=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:Kf(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){const{target:a="_blank",windowFeatures:c={}}=t.open,l=Object.entries(c).filter(([u,f])=>f!==void 0).map(([u,f])=>`${u.toLowerCase()}=${f}`).join(", ");return open(n,a,l),Promise.resolve()}const r=(t==null?void 0:t.external)||xt(n,{acceptRelative:!0});if(r){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const a=vo(n).protocol;if(a&&Am(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const s=Iy();if(!r&&s)return e;const o=St(),i=he();return r?(i._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,s?i.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?o.replace(e):o.push(e)},ad="__nuxt_error",wo=()=>Ju(he().payload,"error"),Vn=e=>{const t=So(e);try{const n=he(),r=wo();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},xy=async(e={})=>{const t=he(),n=wo();t.callHook("app:error:cleared",e),e.redirect&&await St().replace(e.redirect),n.value=null},My=e=>!!e&&typeof e=="object"&&ad in e,So=e=>{const t=Li(e);return Object.defineProperty(t,ad,{value:!0,configurable:!1,writable:!1}),t},Dy="modulepreload",Fy=function(e,t){return e[0]==="."?new URL(e,t).href:e},Vc={},$y=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){const o=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),a=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));s=Promise.all(n.map(c=>{if(c=Fy(c,r),c in Vc)return;Vc[c]=!0;const l=c.endsWith(".css"),u=l?'[rel="stylesheet"]':"";if(!!r)for(let g=o.length-1;g>=0;g--){const b=o[g];if(b.href===c&&(!l||b.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${u}`))return;const d=document.createElement("link");if(d.rel=l?"stylesheet":Dy,l||(d.as="script",d.crossOrigin=""),d.href=c,a&&d.setAttribute("nonce",a),document.head.appendChild(d),l)return new Promise((g,b)=>{d.addEventListener("load",g),d.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${c}`)))})}))}return s.then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},He=(...e)=>$y(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Uy=-1,jy=-2,Hy=-3,By=-4,Vy=-5,Wy=-6;function Ky(e,t){return Gy(JSON.parse(e),t)}function Gy(e,t){if(typeof e=="number")return s(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function s(o,i=!1){if(o===Uy)return;if(o===Hy)return NaN;if(o===By)return 1/0;if(o===Vy)return-1/0;if(o===Wy)return-0;if(i)throw new Error("Invalid input");if(o in r)return r[o];const a=n[o];if(!a||typeof a!="object")r[o]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const c=a[0],l=t==null?void 0:t[c];if(l)return r[o]=l(s(a[1]));switch(c){case"Date":r[o]=new Date(a[1]);break;case"Set":const u=new Set;r[o]=u;for(let g=1;g>>9)+65536).toString(16).substring(1,8).toLowerCase()}function Wc(e){return e._h||La(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function ld(e,t){const{props:n,tag:r}=e;if(zy.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const s=["id"];r==="meta"&&s.push("name","property","http-equiv");for(const o of s)if(typeof n[o]<"u"){const i=String(n[o]);return t&&!t(i)?!1:`${r}:${o}:${i}`}return!1}function Kc(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function Qy(e,t,n){const r={tag:e,props:await ud(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return cd.forEach(s=>{const o=typeof r.props[s]<"u"?r.props[s]:n[s];typeof o<"u"&&((!["innerHTML","textContent","children"].includes(s)||Yy.includes(r.tag))&&(r[s==="children"?"innerHTML":s]=o),delete r.props[s])}),r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(s=>({...r,props:{...r.props,content:s}})):r}function Zy(e,t){const n=e==="class"?" ":";";return typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,r])=>r).map(([r,s])=>e==="style"?`${r}:${s}`:r)),(Array.isArray(t)?t.join(n):t).split(n).filter(r=>r.trim()).filter(Boolean).join(n)}async function ud(e,t){for(const n of Object.keys(e)){if(["class","style"].includes(n)){e[n]=Zy(n,e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!cd.includes(n)){const r=String(e[n]),s=n.startsWith("data-");r==="true"||r===""?e[n]=s?"true":!0:e[n]||(s&&r==="false"?e[n]="false":delete e[n])}}return e}const e_=10;async function t_(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&Xy.includes(n)).forEach(([n,r])=>{const s=qy(r);t.push(...s.map(o=>Qy(n,o,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<c&&c[l]||void 0,t):a=t[i],typeof a<"u"?(a||"").replace(/"/g,'\\"'):!1}let s=e;try{s=decodeURI(e)}catch{}return(s.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(i=>{const a=r(i.slice(1));typeof a=="string"&&(e=e.replace(new RegExp(`\\${i}(\\W|$)`,"g"),(c,l)=>`${a}${l}`).trim())}),e.includes(Jt)&&(e.endsWith(Jt)&&(e=e.slice(0,-Jt.length).trim()),e.startsWith(Jt)&&(e=e.slice(Jt.length).trim()),e=e.replace(new RegExp(`\\${Jt}\\s*\\${Jt}`,"g"),Jt),e=Ts(e,{separator:n},n)),e}async function fd(e,t={}){var u;const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const s=(await e.resolveTags()).map(f=>({tag:f,id:Cs.includes(f.tag)?Wc(f):f.tag,shouldRender:!0}));let o=e._dom;if(!o){o={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const d=(u=n[f])==null?void 0:u.children,g=[];for(const b of[...d].filter(S=>Cs.includes(S.tagName.toLowerCase()))){const S={tag:b.tagName.toLowerCase(),props:await ud(b.getAttributeNames().reduce((v,y)=>({...v,[y]:b.getAttribute(y)}),{})),innerHTML:b.innerHTML};let L=1,_=ld(S);for(;_&&g.find(v=>v._d===_);)_=`${_}:${L++}`;S._d=_||void 0,g.push(S),o.elMap[b.getAttribute("data-hid")||Wc(S)]=b}}}o.pendingSideEffects={...o.sideEffects||{}},o.sideEffects={};function i(f,d,g){const b=`${f}:${d}`;o.sideEffects[b]=g,delete o.pendingSideEffects[b]}function a({id:f,$el:d,tag:g}){const b=g.tag.endsWith("Attrs");o.elMap[f]=d,b||(["textContent","innerHTML"].forEach(S=>{g[S]&&g[S]!==d[S]&&(d[S]=g[S])}),i(f,"el",()=>{var S;(S=o.elMap[f])==null||S.remove(),delete o.elMap[f]}));for(const[S,L]of Object.entries(g._eventHandlers||{}))d.getAttribute(`data-${S}`)!==""&&((g.tag==="bodyAttrs"?n.defaultView:d).addEventListener(S.replace("on",""),L.bind(d)),d.setAttribute(`data-${S}`,""));Object.entries(g.props).forEach(([S,L])=>{const _=`attr:${S}`;if(S==="class")for(const v of(L||"").split(" ").filter(Boolean))b&&i(f,`${_}:${v}`,()=>d.classList.remove(v)),!d.classList.contains(v)&&d.classList.add(v);else if(S==="style")for(const v of(L||"").split(";").filter(Boolean)){const[y,...m]=v.split(":").map(E=>E.trim());i(f,`${_}:${v}:${y}`,()=>{d.style.removeProperty(y)}),d.style.setProperty(y,m.join(":"))}else d.getAttribute(S)!==L&&d.setAttribute(S,L===!0?"":String(L)),b&&i(f,_,()=>d.removeAttribute(S))})}const c=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of s){const{tag:d,shouldRender:g,id:b}=f;if(g){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||o.elMap[b],f.$el?a(f):Cs.includes(d.tag)&&c.push(f)}}for(const f of c){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),a(f),l[d]=l[d]||n.createDocumentFragment(),l[d].appendChild(f.$el)}for(const f of s)await e.hooks.callHook("dom:renderTag",f,n,i);l.head&&n.head.appendChild(l.head),l.bodyOpen&&n.body.insertBefore(l.bodyOpen,n.body.firstChild),l.bodyClose&&n.body.appendChild(l.bodyClose),Object.values(o.pendingSideEffects).forEach(f=>f()),e._dom=o,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:s})}async function r_(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await fd(e,t),delete e._domUpdatePromise,r()}))}function s_(e){return t=>{var r,s;const n=((s=(r=t.resolvedOptions.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:s.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(o){r_(o,e)}}}}}const o_=["templateParams","htmlAttrs","bodyAttrs"],i_={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(r=>{e.props[r]&&(e.key=e.props[r],delete e.props[r])});const n=ld(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(r=>{const s=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,o=t[s];if(o){let a=r==null?void 0:r.tagDuplicateStrategy;if(!a&&o_.includes(r.tag)&&(a="merge"),a==="merge"){const c=o.props;["class","style"].forEach(l=>{c[l]&&(r.props[l]?(l==="style"&&!c[l].endsWith(";")&&(c[l]+=";"),r.props[l]=`${c[l]} ${r.props[l]}`):r.props[l]=c[l])}),t[s].props={...c,...r.props};return}else if(r._e===o._e){o._duped=o._duped||[],r._d=`${o._d}:${o._duped.length+1}`,o._duped.push(r);return}else if(Ws(r)>Ws(o))return}const i=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(Cs.includes(r.tag)&&i===0){delete t[s];return}t[s]=r});const n=[];Object.values(t).forEach(r=>{const s=r._duped;delete r._duped,n.push(r),s&&n.push(...s)}),e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},a_={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},c_=["script","link","bodyAttrs"],l_=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags.filter(r=>c_.includes(r.tag)))Object.entries(n.props).forEach(([r,s])=>{r.startsWith("on")&&typeof s=="function"&&(e.ssr&&Yc.includes(r)?n.props[r]=`this.dataset.${r}fired = true`:delete n.props[r],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[r]=s)}),e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||La(n.props.src||n.props.href))},"dom:renderTag":function({$el:t,tag:n}){var r,s;for(const o of Object.keys((t==null?void 0:t.dataset)||{}).filter(i=>Yc.some(a=>`${a}fired`===i))){const i=o.replace("fired","");(s=(r=n._eventHandlers)==null?void 0:r[i])==null||s.call(t,new Event(i.replace("on","")))}}}}),u_=["link","style","script","noscript"],f_={hooks:{"tag:normalise":({tag:e})=>{e.key&&u_.includes(e.tag)&&(e.props["data-hid"]=e._h=La(e.key))}}},d_={hooks:{"tags:resolve":e=>{const t=n=>{var r;return(r=e.tags.find(s=>s._d===n))==null?void 0:r._p};for(const{prefix:n,offset:r}of n_)for(const s of e.tags.filter(o=>typeof o.tagPriority=="string"&&o.tagPriority.startsWith(n))){const o=t(s.tagPriority.replace(n,""));typeof o<"u"&&(s._p=o+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>Ws(n)-Ws(r))}}},h_={meta:"content",link:"href",htmlAttrs:"lang"},p_=e=>({hooks:{"tags:resolve":t=>{var a;const{tags:n}=t,r=(a=n.find(c=>c.tag==="title"))==null?void 0:a.textContent,s=n.findIndex(c=>c.tag==="templateParams"),o=s!==-1?n[s].props:{},i=o.separator||"|";delete o.separator,o.pageTitle=Ts(o.pageTitle||r||"",o,i);for(const c of n.filter(l=>l.processTemplateParams!==!1)){const l=h_[c.tag];l&&typeof c.props[l]=="string"?c.props[l]=Ts(c.props[l],o,i):(c.processTemplateParams===!0||["titleTemplate","title"].includes(c.tag))&&["innerHTML","textContent"].forEach(u=>{typeof c[u]=="string"&&(c[u]=Ts(c[u],o,i))})}e._templateParams=o,e._separator=i,t.tags=n.filter(c=>c.tag!=="templateParams")}}}),g_={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(s=>s.tag==="titleTemplate");const r=t.findIndex(s=>s.tag==="title");if(r!==-1&&n!==-1){const s=Kc(t[n].textContent,t[r].textContent);s!==null?t[r].textContent=s||t[r].textContent:delete t[r]}else if(n!==-1){const s=Kc(t[n].textContent);s!==null&&(t[n].textContent=s,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}},m_={hooks:{"tags:afterResolve":function(e){for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&["application/ld+json","application/json"].includes(t.props.type)?t.innerHTML=t.innerHTML.replace(/{a.dirty=!0,t.callHook("entries:updated",a)};let s=0,o=[];const i=[],a={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return o},use(c){const l=typeof c=="function"?c(a):c;(!l.key||!i.some(u=>u.key===l.key))&&(i.push(l),Xc(l.mode,n)&&t.addHooks(l.hooks||{}))},push(c,l){l==null||delete l.head;const u={_i:s++,input:c,...l};return Xc(u.mode,n)&&(o.push(u),r()),{dispose(){o=o.filter(f=>f._i!==u._i),t.callHook("entries:updated",a),r()},patch(f){o=o.map(d=>(d._i===u._i&&(d.input=u.input=f),d)),r()}}},async resolveTags(){const c={tags:[],entries:[...o]};await t.callHook("entries:resolve",c);for(const l of c.entries){const u=l.resolvedInput||l.input;if(l.resolvedInput=await(l.transform?l.transform(u):u),l.resolvedInput)for(const f of await t_(l)){const d={tag:f,entry:l,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",d),c.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",c),await t.callHook("tags:resolve",c),await t.callHook("tags:afterResolve",c),c.tags},ssr:n};return[i_,a_,l_,f_,d_,p_,g_,m_,...(e==null?void 0:e.plugins)||[]].forEach(c=>a.use(c)),a.hooks.callHook("init",a),a}function b_(){return dd}const v_=$f.startsWith("3");function E_(e){return typeof e=="function"?e():ne(e)}function Ks(e,t=""){if(e instanceof Promise)return e;const n=E_(e);return!e||!n?n:Array.isArray(n)?n.map(r=>Ks(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,s])=>r==="titleTemplate"||r.startsWith("on")?[r,ne(s)]:[r,Ks(s,r)])):n}const w_={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Ks(t.input)}}},hd="usehead";function S_(e){return{install(n){v_&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(hd,e))}}.install}function C_(e={}){e.domDelayFn=e.domDelayFn||(n=>fn(()=>setTimeout(()=>n(),0)));const t=y_(e);return t.use(w_),t.install=S_(t),t}const Ri=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ki="__unhead_injection_handler__";function T_(e){Ri[ki]=e}function L_(){if(ki in Ri)return Ri[ki]();const e=Ke(hd);return e||b_()}function pd(e,t={}){const n=t.head||L_();if(n)return n.ssr?n.push(e,t):P_(n,e,t)}function P_(e,t,n={}){const r=be(!1),s=be({});uf(()=>{s.value=r.value?{}:Ks(t)});const o=e.push(s.value,n);return $e(s,a=>{o.patch(a)}),Dn()&&(zr(()=>{o.dispose()}),mf(()=>{r.value=!0}),gf(()=>{r.value=!1})),o}function Pt(e){if(typeof e!="object")return e;var t,n,r=Object.prototype.toString.call(e);if(r==="[object Object]"){if(e.constructor!==Object&&typeof e.constructor=="function"){n=new e.constructor;for(t in e)e.hasOwnProperty(t)&&n[t]!==e[t]&&(n[t]=Pt(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:Pt(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=Pt(e[t])}return n}if(r==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=Pt(e[t]);return n}return r==="[object Set]"?(n=new Set,e.forEach(function(s){n.add(Pt(s))}),n):r==="[object Map]"?(n=new Map,e.forEach(function(s,o){n.set(Pt(o),Pt(s))}),n):r==="[object Date]"?new Date(+e):r==="[object RegExp]"?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):r==="[object DataView]"?new e.constructor(Pt(e.buffer)):r==="[object ArrayBuffer]"?e.slice(0):r.slice(-6)==="Array]"?new e.constructor(e):e}const R_={nuxt:{buildId:"28f1fd2c-4d03-469d-9c0d-216b5b0d34d4"}},k_=Cy(R_);function gd(){const e=he();return e._appConfig||(e._appConfig=wt(k_)),e._appConfig}const Ai=!1,A_=!1,kC={componentName:"NuxtLink"},O_="#__nuxt";let Ls,md;function I_(){var t;const e=(t=gd().nuxt)==null?void 0:t.buildId;return Ls=$fetch(Ca(`builds/meta/${e}.json`)),Ls.then(n=>{md=Sy(n.matcher)}),Ls}function Co(){return Ls||I_()}async function Pa(e){return await Co(),od({},...md.matchAll(e).reverse())}function zc(e,t={}){const n=x_(e,t),r=he(),s=r._payloadCache=r._payloadCache||{};return n in s||(s[n]=M_(e).then(o=>o?yd(n).then(i=>i||(delete s[n],null)):(s[n]=null,null))),s[n]}const N_="_payload.json";function x_(e,t={}){var s;const n=new URL(e,"http://localhost");if(n.host!=="localhost"||xt(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():(s=gd().nuxt)==null?void 0:s.buildId);return bo(pt().app.baseURL,n.pathname,N_+(r?`?${r}`:""))}async function yd(e){const t=fetch(e).then(n=>n.text().then(_d));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function M_(e=Ta().path){if(e=_o(e),(await Co()).prerendered.includes(e))return!0;const n=await Pa(e);return!!n.prerender&&!n.redirect}let ms=null;async function D_(){if(ms)return ms;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await _d(e.textContent||""),n=e.dataset.src?await yd(e.dataset.src):void 0;return ms={...t,...n,...window.__NUXT__},ms}async function _d(e){return await Ky(e,he()._payloadRevivers)}function F_(e,t){he()._payloadRevivers[e]=t}const Jc={NuxtError:e=>So(e),EmptyShallowRef:e=>An(e==="_"?void 0:e==="0n"?BigInt(0):Ur(e)),EmptyRef:e=>be(e==="_"?void 0:e==="0n"?BigInt(0):Ur(e)),ShallowRef:e=>An(e),ShallowReactive:e=>qr(e),Ref:e=>be(e),Reactive:e=>wt(e)},$_=qe({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in Jc)F_(r,Jc[r]);Object.assign(e.payload,([t,n]=At(()=>e.runWithContext(D_)),t=await t,n(),t)),window.__NUXT__=e.payload}}),U_=[],j_=qe({name:"nuxt:head",enforce:"pre",setup(e){const t=C_({plugins:U_});T_(()=>he().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await fd(t)};t.hooks.hook("dom:beforeRender",s=>{s.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});/*! * vue-router v4.3.0 * (c) 2024 Eduardo San Martin Morote * @license MIT - */const Hn=typeof document<"u";function H_(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const pe=Object.assign;function Xo(e,t){const n={};for(const r in t){const s=t[r];n[r]=vt(s)?s.map(e):e(s)}return n}const Rr=()=>{},vt=Array.isArray,bd=/#/g,B_=/&/g,V_=/\//g,W_=/=/g,K_=/\?/g,vd=/\+/g,G_=/%5B/g,q_=/%5D/g,Ed=/%5E/g,Y_=/%60/g,wd=/%7B/g,X_=/%7C/g,Sd=/%7D/g,z_=/%20/g;function Ra(e){return encodeURI(""+e).replace(X_,"|").replace(G_,"[").replace(q_,"]")}function J_(e){return Ra(e).replace(wd,"{").replace(Sd,"}").replace(Ed,"^")}function Oi(e){return Ra(e).replace(vd,"%2B").replace(z_,"+").replace(bd,"%23").replace(B_,"%26").replace(Y_,"`").replace(wd,"{").replace(Sd,"}").replace(Ed,"^")}function Q_(e){return Oi(e).replace(W_,"%3D")}function Z_(e){return Ra(e).replace(bd,"%23").replace(K_,"%3F")}function eb(e){return e==null?"":Z_(e).replace(V_,"%2F")}function jr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const tb=/\/$/,nb=e=>e.replace(tb,"");function zo(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let c=t.indexOf("?");return a=0&&(c=-1),c>-1&&(r=t.slice(0,c),o=t.slice(c+1,a>-1?a:t.length),s=e(o)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=ib(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:jr(i)}}function rb(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Qc(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function sb(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&nr(t.matched[r],n.matched[s])&&Cd(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function nr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Cd(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!ob(e[n],t[n]))return!1;return!0}function ob(e,t){return vt(e)?Zc(e,t):vt(t)?Zc(t,e):e===t}function Zc(e,t){return vt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function ib(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,a;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}var Hr;(function(e){e.pop="pop",e.push="push"})(Hr||(Hr={}));var kr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(kr||(kr={}));function ab(e){if(!e)if(Hn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),nb(e)}const cb=/^[^#]+#/;function lb(e,t){return e.replace(cb,"#")+t}function ub(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const To=()=>({left:window.scrollX,top:window.scrollY});function fb(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=ub(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function el(e,t){return(history.state?history.state.position-t:-1)+e}const Ii=new Map;function db(e,t){Ii.set(e,t)}function hb(e){const t=Ii.get(e);return Ii.delete(e),t}let pb=()=>location.protocol+"//"+location.host;function Td(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,c=s.slice(a);return c[0]!=="/"&&(c="/"+c),Qc(c,"")}return Qc(n,e)+r+s}function mb(e,t,n,r){let s=[],o=[],i=null;const a=({state:d})=>{const m=Td(e,location),b=n.value,S=t.value;let L=0;if(d){if(n.value=m,t.value=d,i&&i===b){i=null;return}L=S?d.position-S.position:0}else r(m);s.forEach(_=>{_(n.value,b,{delta:L,type:Hr.pop,direction:L?L>0?kr.forward:kr.back:kr.unknown})})};function c(){i=n.value}function l(d){s.push(d);const m=()=>{const b=s.indexOf(d);b>-1&&s.splice(b,1)};return o.push(m),m}function u(){const{history:d}=window;d.state&&d.replaceState(pe({},d.state,{scroll:To()}),"")}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:c,listen:l,destroy:f}}function tl(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?To():null}}function gb(e){const{history:t,location:n}=window,r={value:Td(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,l,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:pb()+e+c;try{t[u?"replaceState":"pushState"](l,"",d),s.value=l}catch(m){console.error(m),n[u?"replace":"assign"](d)}}function i(c,l){const u=pe({},t.state,tl(s.value.back,c,s.value.forward,!0),l,{position:s.value.position});o(c,u,!0),r.value=c}function a(c,l){const u=pe({},s.value,t.state,{forward:c,scroll:To()});o(u.current,u,!0);const f=pe({},tl(r.value,c,null),{position:u.position+1},l);o(c,f,!1),r.value=c}return{location:r,state:s,push:a,replace:i}}function Ld(e){e=ab(e);const t=gb(e),n=mb(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=pe({location:"",base:e,go:r,createHref:lb.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function yb(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Ld(e)}function _b(e){return typeof e=="string"||e&&typeof e=="object"}function Pd(e){return typeof e=="string"||typeof e=="symbol"}const yt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Rd=Symbol("");var nl;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(nl||(nl={}));function rr(e,t){return pe(new Error,{type:e,[Rd]:!0},t)}function Mt(e,t){return e instanceof Error&&Rd in e&&(t==null||!!(e.type&t))}const rl="[^/]+?",bb={sensitive:!1,strict:!1,start:!0,end:!0},vb=/[.+*?^${}()[\]/\\]/g;function Eb(e,t){const n=pe({},bb,t),r=[];let s=n.start?"^":"";const o=[];for(const l of e){const u=l.length?[]:[90];n.strict&&!l.length&&(s+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function Sb(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const Cb={type:0,value:""},Tb=/[a-zA-Z0-9_]/;function Lb(e){if(!e)return[[]];if(e==="/")return[[Cb]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${l}": ${m}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,c,l="",u="";function f(){l&&(n===0?o.push({type:0,value:l}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:l,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),l="")}function d(){l+=c}for(;a{i(v)}:Rr}function i(u){if(Pd(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function a(){return n}function c(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!kd(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!il(u)&&r.set(u.record.name,u)}function l(u,f){let d,m={},b,S;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw rr(1,{location:u});S=d.record.name,m=pe(ol(f.params,d.keys.filter(v=>!v.optional).concat(d.parent?d.parent.keys.filter(v=>v.optional):[]).map(v=>v.name)),u.params&&ol(u.params,d.keys.map(v=>v.name))),b=d.stringify(m)}else if(u.path!=null)b=u.path,d=n.find(v=>v.re.test(b)),d&&(m=d.parse(b),S=d.record.name);else{if(d=f.name?r.get(f.name):n.find(v=>v.re.test(f.path)),!d)throw rr(1,{location:u,currentLocation:f});S=d.record.name,m=pe({},f.params,u.params),b=d.stringify(m)}const L=[];let _=d;for(;_;)L.unshift(_.record),_=_.parent;return{name:S,path:b,params:m,matched:L,meta:Ob(L)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:l,removeRoute:i,getRoutes:a,getRecordMatcher:s}}function ol(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function kb(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Ab(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Ab(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function il(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ob(e){return e.reduce((t,n)=>pe(t,n.meta),{})}function al(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function kd(e,t){return t.children.some(n=>n===e||kd(e,n))}function Ib(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;so&&Oi(o)):[r&&Oi(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Nb(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=vt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const xb=Symbol(""),ll=Symbol(""),ka=Symbol(""),Ad=Symbol(""),Ni=Symbol("");function hr(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function on(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,c)=>{const l=d=>{d===!1?c(rr(4,{from:n,to:t})):d instanceof Error?c(d):_b(d)?c(rr(2,{from:t,to:d})):(i&&r.enterCallbacks[s]===i&&typeof d=="function"&&i.push(d),a())},u=o(()=>e.call(r&&r.instances[s],t,n,l));let f=Promise.resolve(u);e.length<3&&(f=f.then(l)),f.catch(d=>c(d))})}function Jo(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const a in i.components){let c=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(Mb(c)){const u=(c.__vccOpts||c)[t];u&&o.push(on(u,n,r,i,a,s))}else{let l=c();o.push(()=>l.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const f=H_(u)?u.default:u;i.components[a]=f;const m=(f.__vccOpts||f)[t];return m&&on(m,n,r,i,a,s)()}))}}return o}function Mb(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ul(e){const t=Ke(ka),n=Ke(Ad),r=ge(()=>t.resolve(ne(e.to))),s=ge(()=>{const{matched:c}=r.value,{length:l}=c,u=c[l-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(nr.bind(null,u));if(d>-1)return d;const m=fl(c[l-2]);return l>1&&fl(u)===m&&f[f.length-1].path!==m?f.findIndex(nr.bind(null,c[l-2])):d}),o=ge(()=>s.value>-1&&Ub(n.params,r.value.params)),i=ge(()=>s.value>-1&&s.value===n.matched.length-1&&Cd(n.params,r.value.params));function a(c={}){return $b(c)?t[ne(e.replace)?"replace":"push"](ne(e.to)).catch(Rr):Promise.resolve()}return{route:r,href:ge(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}const Db=ht({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:ul,setup(e,{slots:t}){const n=wt(ul(e)),{options:r}=Ke(ka),s=ge(()=>({[dl(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[dl(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:bt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),Fb=Db;function $b(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Ub(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!vt(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function fl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const dl=(e,t,n)=>e??t??n,jb=ht({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ke(Ni),s=ge(()=>e.route||r.value),o=Ke(ll,0),i=ge(()=>{let l=ne(o);const{matched:u}=s.value;let f;for(;(f=u[l])&&!f.components;)l++;return l}),a=ge(()=>s.value.matched[i.value]);Zn(ll,ge(()=>i.value+1)),Zn(xb,a),Zn(Ni,s);const c=be();return $e(()=>[c.value,a.value,e.name],([l,u,f],[d,m,b])=>{u&&(u.instances[f]=l,m&&m!==u&&l&&l===d&&(u.leaveGuards.size||(u.leaveGuards=m.leaveGuards),u.updateGuards.size||(u.updateGuards=m.updateGuards))),l&&u&&(!m||!nr(u,m)||!d)&&(u.enterCallbacks[f]||[]).forEach(S=>S(l))},{flush:"post"}),()=>{const l=s.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return hl(n.default,{Component:d,route:l});const m=f.props[u],b=m?m===!0?l.params:typeof m=="function"?m(l):m:null,L=bt(d,pe({},b,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[u]=null)},ref:c}));return hl(n.default,{Component:L,route:l})||L}}});function hl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Od=jb;function Hb(e){const t=Rb(e.routes,e),n=e.parseQuery||Ib,r=e.stringifyQuery||cl,s=e.history,o=hr(),i=hr(),a=hr(),c=An(yt);let l=yt;Hn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Xo.bind(null,D=>""+D),f=Xo.bind(null,eb),d=Xo.bind(null,jr);function m(D,G){let V,X;return Pd(D)?(V=t.getRecordMatcher(D),X=G):X=D,t.addRoute(X,V)}function b(D){const G=t.getRecordMatcher(D);G&&t.removeRoute(G)}function S(){return t.getRoutes().map(D=>D.record)}function L(D){return!!t.getRecordMatcher(D)}function _(D,G){if(G=pe({},G||c.value),typeof D=="string"){const p=zo(n,D,G.path),w=t.resolve({path:p.path},G),P=s.createHref(p.fullPath);return pe(p,w,{params:d(w.params),hash:jr(p.hash),redirectedFrom:void 0,href:P})}let V;if(D.path!=null)V=pe({},D,{path:zo(n,D.path,G.path).path});else{const p=pe({},D.params);for(const w in p)p[w]==null&&delete p[w];V=pe({},D,{params:f(p)}),G.params=f(G.params)}const X=t.resolve(V,G),ae=D.hash||"";X.params=u(d(X.params));const ye=rb(r,pe({},D,{hash:J_(ae),path:X.path})),h=s.createHref(ye);return pe({fullPath:ye,hash:ae,query:r===cl?Nb(D.query):D.query||{}},X,{redirectedFrom:void 0,href:h})}function v(D){return typeof D=="string"?zo(n,D,c.value.path):pe({},D)}function y(D,G){if(l!==D)return rr(8,{from:G,to:D})}function g(D){return R(D)}function E(D){return g(pe(v(D),{replace:!0}))}function C(D){const G=D.matched[D.matched.length-1];if(G&&G.redirect){const{redirect:V}=G;let X=typeof V=="function"?V(D):V;return typeof X=="string"&&(X=X.includes("?")||X.includes("#")?X=v(X):{path:X},X.params={}),pe({query:D.query,hash:D.hash,params:X.path!=null?{}:D.params},X)}}function R(D,G){const V=l=_(D),X=c.value,ae=D.state,ye=D.force,h=D.replace===!0,p=C(V);if(p)return R(pe(v(p),{state:typeof p=="object"?pe({},ae,p.state):ae,force:ye,replace:h}),G||V);const w=V;w.redirectedFrom=G;let P;return!ye&&sb(r,X,V)&&(P=rr(16,{to:w,from:X}),Re(X,X,!0,!1)),(P?Promise.resolve(P):I(w,X)).catch(A=>Mt(A)?Mt(A,2)?A:nt(A):z(A,w,X)).then(A=>{if(A){if(Mt(A,2))return R(pe({replace:h},v(A.to),{state:typeof A.to=="object"?pe({},ae,A.to.state):ae,force:ye}),G||w)}else A=x(w,X,!0,h,ae);return F(w,X,A),A})}function k(D,G){const V=y(D,G);return V?Promise.reject(V):Promise.resolve()}function T(D){const G=mt.values().next().value;return G&&typeof G.runWithContext=="function"?G.runWithContext(D):D()}function I(D,G){let V;const[X,ae,ye]=Bb(D,G);V=Jo(X.reverse(),"beforeRouteLeave",D,G);for(const p of X)p.leaveGuards.forEach(w=>{V.push(on(w,D,G))});const h=k.bind(null,D,G);return V.push(h),ke(V).then(()=>{V=[];for(const p of o.list())V.push(on(p,D,G));return V.push(h),ke(V)}).then(()=>{V=Jo(ae,"beforeRouteUpdate",D,G);for(const p of ae)p.updateGuards.forEach(w=>{V.push(on(w,D,G))});return V.push(h),ke(V)}).then(()=>{V=[];for(const p of ye)if(p.beforeEnter)if(vt(p.beforeEnter))for(const w of p.beforeEnter)V.push(on(w,D,G));else V.push(on(p.beforeEnter,D,G));return V.push(h),ke(V)}).then(()=>(D.matched.forEach(p=>p.enterCallbacks={}),V=Jo(ye,"beforeRouteEnter",D,G,T),V.push(h),ke(V))).then(()=>{V=[];for(const p of i.list())V.push(on(p,D,G));return V.push(h),ke(V)}).catch(p=>Mt(p,8)?p:Promise.reject(p))}function F(D,G,V){a.list().forEach(X=>T(()=>X(D,G,V)))}function x(D,G,V,X,ae){const ye=y(D,G);if(ye)return ye;const h=G===yt,p=Hn?history.state:{};V&&(X||h?s.replace(D.fullPath,pe({scroll:h&&p&&p.scroll},ae)):s.push(D.fullPath,ae)),c.value=D,Re(D,G,V,h),nt()}let q;function ie(){q||(q=s.listen((D,G,V)=>{if(!Gt.listening)return;const X=_(D),ae=C(X);if(ae){R(pe(ae,{replace:!0}),X).catch(Rr);return}l=X;const ye=c.value;Hn&&db(el(ye.fullPath,V.delta),To()),I(X,ye).catch(h=>Mt(h,12)?h:Mt(h,2)?(R(h.to,X).then(p=>{Mt(p,20)&&!V.delta&&V.type===Hr.pop&&s.go(-1,!1)}).catch(Rr),Promise.reject()):(V.delta&&s.go(-V.delta,!1),z(h,X,ye))).then(h=>{h=h||x(X,ye,!1),h&&(V.delta&&!Mt(h,8)?s.go(-V.delta,!1):V.type===Hr.pop&&Mt(h,20)&&s.go(-1,!1)),F(X,ye,h)}).catch(Rr)}))}let oe=hr(),H=hr(),Q;function z(D,G,V){nt(D);const X=H.list();return X.length?X.forEach(ae=>ae(D,G,V)):console.error(D),Promise.reject(D)}function Ue(){return Q&&c.value!==yt?Promise.resolve():new Promise((D,G)=>{oe.add([D,G])})}function nt(D){return Q||(Q=!D,ie(),oe.list().forEach(([G,V])=>D?V(D):G()),oe.reset()),D}function Re(D,G,V,X){const{scrollBehavior:ae}=e;if(!Hn||!ae)return Promise.resolve();const ye=!V&&hb(el(D.fullPath,0))||(X||!V)&&history.state&&history.state.scroll||null;return fn().then(()=>ae(D,G,ye)).then(h=>h&&fb(h)).catch(h=>z(h,D,G))}const Oe=D=>s.go(D);let Ct;const mt=new Set,Gt={currentRoute:c,listening:!0,addRoute:m,removeRoute:b,hasRoute:L,getRoutes:S,resolve:_,options:e,push:g,replace:E,go:Oe,back:()=>Oe(-1),forward:()=>Oe(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:H.add,isReady:Ue,install(D){const G=this;D.component("RouterLink",Fb),D.component("RouterView",Od),D.config.globalProperties.$router=G,Object.defineProperty(D.config.globalProperties,"$route",{enumerable:!0,get:()=>ne(c)}),Hn&&!Ct&&c.value===yt&&(Ct=!0,g(s.location).catch(ae=>{}));const V={};for(const ae in yt)Object.defineProperty(V,ae,{get:()=>c.value[ae],enumerable:!0});D.provide(ka,G),D.provide(Ad,qr(V)),D.provide(Ni,c);const X=D.unmount;mt.add(D),D.unmount=function(){mt.delete(D),mt.size<1&&(l=yt,q&&q(),q=null,c.value=yt,Ct=!1,Q=!1),X()}}};function ke(D){return D.reduce((G,V)=>G.then(()=>T(V)),Promise.resolve())}return Gt}function Bb(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;inr(l,a))?r.push(a):n.push(a));const c=e.matched[i];c&&(t.matched.find(l=>nr(l,c))||s.push(c))}return[n,r,s]}const Vb=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),xi=(e,t)=>{const n=e.route.matched.find(s=>{var o;return((o=s.components)==null?void 0:o.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&Vb(e.route,n));return typeof r=="function"?r(e.route):r},Wb=(e,t)=>({default:()=>e?bt(Kp,e===!0?{}:e,t):t});function Aa(e){return Array.isArray(e)?e:[e]}const st=null,ot=null,it=null,pl=[{name:"lang-edit-id___en___default",path:"/:lang(.*)*/edit/:id()",meta:{},alias:[],redirect:st==null?void 0:st.redirect,component:()=>He(()=>import("./NlesULI2.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url).then(e=>e.default||e)},{name:"lang-edit-id___en",path:"/en/:lang(.*)*/edit/:id()",meta:{},alias:[],redirect:st==null?void 0:st.redirect,component:()=>He(()=>import("./NlesULI2.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url).then(e=>e.default||e)},{name:"lang-edit-id___sp",path:"/sp/:lang(.*)*/edit/:id()",meta:{},alias:[],redirect:st==null?void 0:st.redirect,component:()=>He(()=>import("./NlesULI2.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url).then(e=>e.default||e)},{name:"lang-edit-id___zh-cn",path:"/zh-cn/:lang(.*)*/edit/:id()",meta:{},alias:[],redirect:st==null?void 0:st.redirect,component:()=>He(()=>import("./NlesULI2.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url).then(e=>e.default||e)},{name:"lang___en___default",path:"/:lang(.*)*",meta:{},alias:[],redirect:ot==null?void 0:ot.redirect,component:()=>He(()=>import("./iEvso_UL.js"),__vite__mapDeps([5,2,3]),import.meta.url).then(e=>e.default||e)},{name:"lang___en",path:"/en/:lang(.*)*",meta:{},alias:[],redirect:ot==null?void 0:ot.redirect,component:()=>He(()=>import("./iEvso_UL.js"),__vite__mapDeps([5,2,3]),import.meta.url).then(e=>e.default||e)},{name:"lang___sp",path:"/sp/:lang(.*)*",meta:{},alias:[],redirect:ot==null?void 0:ot.redirect,component:()=>He(()=>import("./iEvso_UL.js"),__vite__mapDeps([5,2,3]),import.meta.url).then(e=>e.default||e)},{name:"lang___zh-cn",path:"/zh-cn/:lang(.*)*",meta:{},alias:[],redirect:ot==null?void 0:ot.redirect,component:()=>He(()=>import("./iEvso_UL.js"),__vite__mapDeps([5,2,3]),import.meta.url).then(e=>e.default||e)},{name:"lang-resumes___en___default",path:"/:lang(.*)*/resumes",meta:{},alias:[],redirect:it==null?void 0:it.redirect,component:()=>He(()=>import("./Cx8wtMdZ.js"),__vite__mapDeps([6,2,3,1,7]),import.meta.url).then(e=>e.default||e)},{name:"lang-resumes___en",path:"/en/:lang(.*)*/resumes",meta:{},alias:[],redirect:it==null?void 0:it.redirect,component:()=>He(()=>import("./Cx8wtMdZ.js"),__vite__mapDeps([6,2,3,1,7]),import.meta.url).then(e=>e.default||e)},{name:"lang-resumes___sp",path:"/sp/:lang(.*)*/resumes",meta:{},alias:[],redirect:it==null?void 0:it.redirect,component:()=>He(()=>import("./Cx8wtMdZ.js"),__vite__mapDeps([6,2,3,1,7]),import.meta.url).then(e=>e.default||e)},{name:"lang-resumes___zh-cn",path:"/zh-cn/:lang(.*)*/resumes",meta:{},alias:[],redirect:it==null?void 0:it.redirect,component:()=>He(()=>import("./Cx8wtMdZ.js"),__vite__mapDeps([6,2,3,1,7]),import.meta.url).then(e=>e.default||e)}],Kb=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var r;return t?bt(e,t,n):(r=n.default)==null?void 0:r.call(n)}});function ml(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""});return typeof t=="function"?t(e):t}function Gb(e,t){return e===t||t===yt?!1:ml(e)!==ml(t)?!0:!e.matched.every((r,s)=>{var o,i;return r.components&&r.components.default===((i=(o=t.matched[s])==null?void 0:o.components)==null?void 0:i.default)})}const qb={scrollBehavior(e,t,n){var l;const r=he(),s=((l=St().options)==null?void 0:l.scrollBehaviorType)??"auto";let o=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!o&&t&&e&&i!==!1&&Gb(e,t)&&(o={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:gl(e.hash),behavior:s}:!1;const a=u=>!!(u.meta.pageTransition??Ai),c=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(u=>{r.hooks.hookOnce(c,async()=>{await new Promise(f=>setTimeout(f,0)),e.hash&&(o={el:e.hash,top:gl(e.hash),behavior:s}),u(o)})})}};function gl(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}const Yb={hashMode:!1,scrollBehaviorType:"auto"},et={...Yb,...qb},Xb=async e=>{var c;let t,n;if(!((c=e.meta)!=null&&c.validate))return;const r=he(),s=St();if(([t,n]=At(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=So({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),a=s.beforeResolve(l=>{if(a(),l===e){const u=s.afterEach(async()=>{u(),await r.runWithContext(()=>Vn(i)),window.history.pushState({},"",e.fullPath)});return!1}})},zb=async e=>{let t,n;const r=([t,n]=At(()=>Pa(e.path)),t=await t,n(),t);if(r.redirect)return xt(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},Jb=[Xb,zb],Ar={};function Qb(e,t,n){const{pathname:r,search:s,hash:o}=t,i=e.indexOf("#");if(i>-1){const l=o.includes(e.slice(i))?e.slice(i).length:1;let u=o.slice(l);return u[0]!=="/"&&(u="/"+u),xc(u,"")}const a=xc(r,e),c=!n||vi(a,n,{trailingSlash:!0})?a:n;return c+(c.includes("?")?"":s)+o}const Zb=qe({name:"nuxt:router",enforce:"pre",async setup(e){var L,_;let t,n,r=pt().app.baseURL;et.hashMode&&!r.includes("#")&&(r+="#");const s=((L=et.history)==null?void 0:L.call(et,r))??(et.hashMode?yb(r):Ld(r)),o=((_=et.routes)==null?void 0:_.call(et,pl))??pl;let i;const a=Hb({...et,scrollBehavior:(v,y,g)=>{if(y===yt){i=g;return}if(et.scrollBehavior){if(a.options.scrollBehavior=et.scrollBehavior,"scrollRestoration"in window.history){const E=a.beforeEach(()=>{E(),window.history.scrollRestoration="manual"})}return et.scrollBehavior(v,yt,i||g)}},history:s,routes:o});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const c=An(a.currentRoute.value);a.afterEach((v,y)=>{c.value=y}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const l=Qb(r,window.location,e.payload.path),u=An(a.currentRoute.value),f=()=>{u.value=a.currentRoute.value};e.hook("page:finish",f),a.afterEach((v,y)=>{var g,E,C,R;((E=(g=v.matched[0])==null?void 0:g.components)==null?void 0:E.default)===((R=(C=y.matched[0])==null?void 0:C.components)==null?void 0:R.default)&&f()});const d={};for(const v in u.value)Object.defineProperty(d,v,{get:()=>u.value[v]});e._route=qr(d),e._middleware=e._middleware||{global:[],named:{}};try{[t,n]=At(()=>a.isReady()),await t,n()}catch(v){[t,n]=At(()=>e.runWithContext(()=>Vn(v))),await t,n()}const m=l!==a.currentRoute.value.fullPath?a.resolve(l):a.currentRoute.value;f();const b=e.payload.state._layout;a.beforeEach(async(v,y)=>{var g;await e.callHook("page:loading:start"),v.meta=wt(v.meta),e.isHydrating&&b&&!kn(v.meta.layout)&&(v.meta.layout=b),e._processingMiddleware=!0;{const E=new Set([...Jb,...e._middleware.global]);for(const C of v.matched){const R=C.meta.middleware;if(R)for(const k of Aa(R))E.add(k)}{const C=await e.runWithContext(()=>Pa(v.path));if(C.appMiddleware)for(const R in C.appMiddleware)C.appMiddleware[R]?E.add(R):E.delete(R)}for(const C of E){const R=typeof C=="string"?e._middleware.named[C]||await((g=Ar[C])==null?void 0:g.call(Ar).then(T=>T.default||T)):C;if(!R)throw new Error(`Unknown route middleware: '${C}'.`);const k=await e.runWithContext(()=>R(v,y));if(!e.payload.serverRendered&&e.isHydrating&&(k===!1||k instanceof Error)){const T=k||Li({statusCode:404,statusMessage:`Page Not Found: ${l}`});return await e.runWithContext(()=>Vn(T)),!1}if(k!==!0&&(k||k===!1))return k}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")});const S=wo();return a.afterEach(async(v,y,g)=>{delete e._processingMiddleware,!e.isHydrating&&S.value&&await e.runWithContext(xy),g&&await e.callHook("page:loading:end"),v.matched.length===0&&await e.runWithContext(()=>Vn(Li({statusCode:404,fatal:!1,statusMessage:`Page not found: ${v.fullPath}`,data:{path:v.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in m&&(m.name=void 0),await a.replace({...m,force:!0}),a.options.scrollBehavior=et.scrollBehavior}catch(v){await e.runWithContext(()=>Vn(v))}}),{provide:{router:a}}}}),ev="$s";function Zr(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const s=ev+n,o=he(),i=Ju(o.payload.state,s);if(i.value===void 0&&r){const a=r();if(Ce(a))return o.payload.state[s]=a,a;i.value=a}return i}const tv=qe({name:"nuxt-site-config:init",enforce:"pre",async setup(e){const t=Zr("site-config");let n={};return n=t.value||window.__NUXT_SITE_CONFIG__,{provide:{nuxtSiteConfig:n}}}}),yl=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),AC=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Id=e=>{const t=he();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{yl(e)}):yl(e)},nv=qe({name:"nuxt:payload",setup(e){St().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await zc(t.path);r&&Object.assign(e.static.data,r.data)}),Id(()=>{var t;e.hooks.hook("link:prefetch",async n=>{vo(n).protocol||await zc(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(Co,1e3)})}}),rv=qe(e=>{let t;async function n(){const r=await Co();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);try{const s=await $fetch(Ca("builds/latest.json")+`?${Date.now()}`);s.id!==r.id&&e.hooks.callHook("app:manifest:update",s)}catch{}}Id(()=>{t=setTimeout(n,1e3*60*60)})}),sv=!1;/*! + */const Hn=typeof document<"u";function H_(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const pe=Object.assign;function Xo(e,t){const n={};for(const r in t){const s=t[r];n[r]=vt(s)?s.map(e):e(s)}return n}const Rr=()=>{},vt=Array.isArray,bd=/#/g,B_=/&/g,V_=/\//g,W_=/=/g,K_=/\?/g,vd=/\+/g,G_=/%5B/g,q_=/%5D/g,Ed=/%5E/g,Y_=/%60/g,wd=/%7B/g,X_=/%7C/g,Sd=/%7D/g,z_=/%20/g;function Ra(e){return encodeURI(""+e).replace(X_,"|").replace(G_,"[").replace(q_,"]")}function J_(e){return Ra(e).replace(wd,"{").replace(Sd,"}").replace(Ed,"^")}function Oi(e){return Ra(e).replace(vd,"%2B").replace(z_,"+").replace(bd,"%23").replace(B_,"%26").replace(Y_,"`").replace(wd,"{").replace(Sd,"}").replace(Ed,"^")}function Q_(e){return Oi(e).replace(W_,"%3D")}function Z_(e){return Ra(e).replace(bd,"%23").replace(K_,"%3F")}function eb(e){return e==null?"":Z_(e).replace(V_,"%2F")}function jr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const tb=/\/$/,nb=e=>e.replace(tb,"");function zo(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let c=t.indexOf("?");return a=0&&(c=-1),c>-1&&(r=t.slice(0,c),o=t.slice(c+1,a>-1?a:t.length),s=e(o)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=ib(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:jr(i)}}function rb(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Qc(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function sb(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&nr(t.matched[r],n.matched[s])&&Cd(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function nr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Cd(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!ob(e[n],t[n]))return!1;return!0}function ob(e,t){return vt(e)?Zc(e,t):vt(t)?Zc(t,e):e===t}function Zc(e,t){return vt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function ib(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,a;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}var Hr;(function(e){e.pop="pop",e.push="push"})(Hr||(Hr={}));var kr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(kr||(kr={}));function ab(e){if(!e)if(Hn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),nb(e)}const cb=/^[^#]+#/;function lb(e,t){return e.replace(cb,"#")+t}function ub(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const To=()=>({left:window.scrollX,top:window.scrollY});function fb(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=ub(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function el(e,t){return(history.state?history.state.position-t:-1)+e}const Ii=new Map;function db(e,t){Ii.set(e,t)}function hb(e){const t=Ii.get(e);return Ii.delete(e),t}let pb=()=>location.protocol+"//"+location.host;function Td(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,c=s.slice(a);return c[0]!=="/"&&(c="/"+c),Qc(c,"")}return Qc(n,e)+r+s}function gb(e,t,n,r){let s=[],o=[],i=null;const a=({state:d})=>{const g=Td(e,location),b=n.value,S=t.value;let L=0;if(d){if(n.value=g,t.value=d,i&&i===b){i=null;return}L=S?d.position-S.position:0}else r(g);s.forEach(_=>{_(n.value,b,{delta:L,type:Hr.pop,direction:L?L>0?kr.forward:kr.back:kr.unknown})})};function c(){i=n.value}function l(d){s.push(d);const g=()=>{const b=s.indexOf(d);b>-1&&s.splice(b,1)};return o.push(g),g}function u(){const{history:d}=window;d.state&&d.replaceState(pe({},d.state,{scroll:To()}),"")}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:c,listen:l,destroy:f}}function tl(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?To():null}}function mb(e){const{history:t,location:n}=window,r={value:Td(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,l,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:pb()+e+c;try{t[u?"replaceState":"pushState"](l,"",d),s.value=l}catch(g){console.error(g),n[u?"replace":"assign"](d)}}function i(c,l){const u=pe({},t.state,tl(s.value.back,c,s.value.forward,!0),l,{position:s.value.position});o(c,u,!0),r.value=c}function a(c,l){const u=pe({},s.value,t.state,{forward:c,scroll:To()});o(u.current,u,!0);const f=pe({},tl(r.value,c,null),{position:u.position+1},l);o(c,f,!1),r.value=c}return{location:r,state:s,push:a,replace:i}}function Ld(e){e=ab(e);const t=mb(e),n=gb(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=pe({location:"",base:e,go:r,createHref:lb.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function yb(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Ld(e)}function _b(e){return typeof e=="string"||e&&typeof e=="object"}function Pd(e){return typeof e=="string"||typeof e=="symbol"}const yt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Rd=Symbol("");var nl;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(nl||(nl={}));function rr(e,t){return pe(new Error,{type:e,[Rd]:!0},t)}function Mt(e,t){return e instanceof Error&&Rd in e&&(t==null||!!(e.type&t))}const rl="[^/]+?",bb={sensitive:!1,strict:!1,start:!0,end:!0},vb=/[.+*?^${}()[\]/\\]/g;function Eb(e,t){const n=pe({},bb,t),r=[];let s=n.start?"^":"";const o=[];for(const l of e){const u=l.length?[]:[90];n.strict&&!l.length&&(s+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function Sb(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const Cb={type:0,value:""},Tb=/[a-zA-Z0-9_]/;function Lb(e){if(!e)return[[]];if(e==="/")return[[Cb]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${l}": ${g}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,c,l="",u="";function f(){l&&(n===0?o.push({type:0,value:l}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:l,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),l="")}function d(){l+=c}for(;a{i(v)}:Rr}function i(u){if(Pd(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function a(){return n}function c(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!kd(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!il(u)&&r.set(u.record.name,u)}function l(u,f){let d,g={},b,S;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw rr(1,{location:u});S=d.record.name,g=pe(ol(f.params,d.keys.filter(v=>!v.optional).concat(d.parent?d.parent.keys.filter(v=>v.optional):[]).map(v=>v.name)),u.params&&ol(u.params,d.keys.map(v=>v.name))),b=d.stringify(g)}else if(u.path!=null)b=u.path,d=n.find(v=>v.re.test(b)),d&&(g=d.parse(b),S=d.record.name);else{if(d=f.name?r.get(f.name):n.find(v=>v.re.test(f.path)),!d)throw rr(1,{location:u,currentLocation:f});S=d.record.name,g=pe({},f.params,u.params),b=d.stringify(g)}const L=[];let _=d;for(;_;)L.unshift(_.record),_=_.parent;return{name:S,path:b,params:g,matched:L,meta:Ob(L)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:l,removeRoute:i,getRoutes:a,getRecordMatcher:s}}function ol(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function kb(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Ab(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Ab(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function il(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ob(e){return e.reduce((t,n)=>pe(t,n.meta),{})}function al(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function kd(e,t){return t.children.some(n=>n===e||kd(e,n))}function Ib(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;so&&Oi(o)):[r&&Oi(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Nb(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=vt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const xb=Symbol(""),ll=Symbol(""),ka=Symbol(""),Ad=Symbol(""),Ni=Symbol("");function hr(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function on(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,c)=>{const l=d=>{d===!1?c(rr(4,{from:n,to:t})):d instanceof Error?c(d):_b(d)?c(rr(2,{from:t,to:d})):(i&&r.enterCallbacks[s]===i&&typeof d=="function"&&i.push(d),a())},u=o(()=>e.call(r&&r.instances[s],t,n,l));let f=Promise.resolve(u);e.length<3&&(f=f.then(l)),f.catch(d=>c(d))})}function Jo(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const a in i.components){let c=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(Mb(c)){const u=(c.__vccOpts||c)[t];u&&o.push(on(u,n,r,i,a,s))}else{let l=c();o.push(()=>l.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const f=H_(u)?u.default:u;i.components[a]=f;const g=(f.__vccOpts||f)[t];return g&&on(g,n,r,i,a,s)()}))}}return o}function Mb(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ul(e){const t=Ke(ka),n=Ke(Ad),r=me(()=>t.resolve(ne(e.to))),s=me(()=>{const{matched:c}=r.value,{length:l}=c,u=c[l-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(nr.bind(null,u));if(d>-1)return d;const g=fl(c[l-2]);return l>1&&fl(u)===g&&f[f.length-1].path!==g?f.findIndex(nr.bind(null,c[l-2])):d}),o=me(()=>s.value>-1&&Ub(n.params,r.value.params)),i=me(()=>s.value>-1&&s.value===n.matched.length-1&&Cd(n.params,r.value.params));function a(c={}){return $b(c)?t[ne(e.replace)?"replace":"push"](ne(e.to)).catch(Rr):Promise.resolve()}return{route:r,href:me(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}const Db=ht({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:ul,setup(e,{slots:t}){const n=wt(ul(e)),{options:r}=Ke(ka),s=me(()=>({[dl(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[dl(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:bt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),Fb=Db;function $b(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Ub(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!vt(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function fl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const dl=(e,t,n)=>e??t??n,jb=ht({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ke(Ni),s=me(()=>e.route||r.value),o=Ke(ll,0),i=me(()=>{let l=ne(o);const{matched:u}=s.value;let f;for(;(f=u[l])&&!f.components;)l++;return l}),a=me(()=>s.value.matched[i.value]);Zn(ll,me(()=>i.value+1)),Zn(xb,a),Zn(Ni,s);const c=be();return $e(()=>[c.value,a.value,e.name],([l,u,f],[d,g,b])=>{u&&(u.instances[f]=l,g&&g!==u&&l&&l===d&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),l&&u&&(!g||!nr(u,g)||!d)&&(u.enterCallbacks[f]||[]).forEach(S=>S(l))},{flush:"post"}),()=>{const l=s.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return hl(n.default,{Component:d,route:l});const g=f.props[u],b=g?g===!0?l.params:typeof g=="function"?g(l):g:null,L=bt(d,pe({},b,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[u]=null)},ref:c}));return hl(n.default,{Component:L,route:l})||L}}});function hl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Od=jb;function Hb(e){const t=Rb(e.routes,e),n=e.parseQuery||Ib,r=e.stringifyQuery||cl,s=e.history,o=hr(),i=hr(),a=hr(),c=An(yt);let l=yt;Hn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Xo.bind(null,D=>""+D),f=Xo.bind(null,eb),d=Xo.bind(null,jr);function g(D,G){let V,X;return Pd(D)?(V=t.getRecordMatcher(D),X=G):X=D,t.addRoute(X,V)}function b(D){const G=t.getRecordMatcher(D);G&&t.removeRoute(G)}function S(){return t.getRoutes().map(D=>D.record)}function L(D){return!!t.getRecordMatcher(D)}function _(D,G){if(G=pe({},G||c.value),typeof D=="string"){const p=zo(n,D,G.path),w=t.resolve({path:p.path},G),P=s.createHref(p.fullPath);return pe(p,w,{params:d(w.params),hash:jr(p.hash),redirectedFrom:void 0,href:P})}let V;if(D.path!=null)V=pe({},D,{path:zo(n,D.path,G.path).path});else{const p=pe({},D.params);for(const w in p)p[w]==null&&delete p[w];V=pe({},D,{params:f(p)}),G.params=f(G.params)}const X=t.resolve(V,G),ae=D.hash||"";X.params=u(d(X.params));const ye=rb(r,pe({},D,{hash:J_(ae),path:X.path})),h=s.createHref(ye);return pe({fullPath:ye,hash:ae,query:r===cl?Nb(D.query):D.query||{}},X,{redirectedFrom:void 0,href:h})}function v(D){return typeof D=="string"?zo(n,D,c.value.path):pe({},D)}function y(D,G){if(l!==D)return rr(8,{from:G,to:D})}function m(D){return R(D)}function E(D){return m(pe(v(D),{replace:!0}))}function C(D){const G=D.matched[D.matched.length-1];if(G&&G.redirect){const{redirect:V}=G;let X=typeof V=="function"?V(D):V;return typeof X=="string"&&(X=X.includes("?")||X.includes("#")?X=v(X):{path:X},X.params={}),pe({query:D.query,hash:D.hash,params:X.path!=null?{}:D.params},X)}}function R(D,G){const V=l=_(D),X=c.value,ae=D.state,ye=D.force,h=D.replace===!0,p=C(V);if(p)return R(pe(v(p),{state:typeof p=="object"?pe({},ae,p.state):ae,force:ye,replace:h}),G||V);const w=V;w.redirectedFrom=G;let P;return!ye&&sb(r,X,V)&&(P=rr(16,{to:w,from:X}),Re(X,X,!0,!1)),(P?Promise.resolve(P):I(w,X)).catch(A=>Mt(A)?Mt(A,2)?A:nt(A):z(A,w,X)).then(A=>{if(A){if(Mt(A,2))return R(pe({replace:h},v(A.to),{state:typeof A.to=="object"?pe({},ae,A.to.state):ae,force:ye}),G||w)}else A=x(w,X,!0,h,ae);return F(w,X,A),A})}function k(D,G){const V=y(D,G);return V?Promise.reject(V):Promise.resolve()}function T(D){const G=gt.values().next().value;return G&&typeof G.runWithContext=="function"?G.runWithContext(D):D()}function I(D,G){let V;const[X,ae,ye]=Bb(D,G);V=Jo(X.reverse(),"beforeRouteLeave",D,G);for(const p of X)p.leaveGuards.forEach(w=>{V.push(on(w,D,G))});const h=k.bind(null,D,G);return V.push(h),ke(V).then(()=>{V=[];for(const p of o.list())V.push(on(p,D,G));return V.push(h),ke(V)}).then(()=>{V=Jo(ae,"beforeRouteUpdate",D,G);for(const p of ae)p.updateGuards.forEach(w=>{V.push(on(w,D,G))});return V.push(h),ke(V)}).then(()=>{V=[];for(const p of ye)if(p.beforeEnter)if(vt(p.beforeEnter))for(const w of p.beforeEnter)V.push(on(w,D,G));else V.push(on(p.beforeEnter,D,G));return V.push(h),ke(V)}).then(()=>(D.matched.forEach(p=>p.enterCallbacks={}),V=Jo(ye,"beforeRouteEnter",D,G,T),V.push(h),ke(V))).then(()=>{V=[];for(const p of i.list())V.push(on(p,D,G));return V.push(h),ke(V)}).catch(p=>Mt(p,8)?p:Promise.reject(p))}function F(D,G,V){a.list().forEach(X=>T(()=>X(D,G,V)))}function x(D,G,V,X,ae){const ye=y(D,G);if(ye)return ye;const h=G===yt,p=Hn?history.state:{};V&&(X||h?s.replace(D.fullPath,pe({scroll:h&&p&&p.scroll},ae)):s.push(D.fullPath,ae)),c.value=D,Re(D,G,V,h),nt()}let q;function ie(){q||(q=s.listen((D,G,V)=>{if(!Gt.listening)return;const X=_(D),ae=C(X);if(ae){R(pe(ae,{replace:!0}),X).catch(Rr);return}l=X;const ye=c.value;Hn&&db(el(ye.fullPath,V.delta),To()),I(X,ye).catch(h=>Mt(h,12)?h:Mt(h,2)?(R(h.to,X).then(p=>{Mt(p,20)&&!V.delta&&V.type===Hr.pop&&s.go(-1,!1)}).catch(Rr),Promise.reject()):(V.delta&&s.go(-V.delta,!1),z(h,X,ye))).then(h=>{h=h||x(X,ye,!1),h&&(V.delta&&!Mt(h,8)?s.go(-V.delta,!1):V.type===Hr.pop&&Mt(h,20)&&s.go(-1,!1)),F(X,ye,h)}).catch(Rr)}))}let oe=hr(),H=hr(),Q;function z(D,G,V){nt(D);const X=H.list();return X.length?X.forEach(ae=>ae(D,G,V)):console.error(D),Promise.reject(D)}function Ue(){return Q&&c.value!==yt?Promise.resolve():new Promise((D,G)=>{oe.add([D,G])})}function nt(D){return Q||(Q=!D,ie(),oe.list().forEach(([G,V])=>D?V(D):G()),oe.reset()),D}function Re(D,G,V,X){const{scrollBehavior:ae}=e;if(!Hn||!ae)return Promise.resolve();const ye=!V&&hb(el(D.fullPath,0))||(X||!V)&&history.state&&history.state.scroll||null;return fn().then(()=>ae(D,G,ye)).then(h=>h&&fb(h)).catch(h=>z(h,D,G))}const Oe=D=>s.go(D);let Ct;const gt=new Set,Gt={currentRoute:c,listening:!0,addRoute:g,removeRoute:b,hasRoute:L,getRoutes:S,resolve:_,options:e,push:m,replace:E,go:Oe,back:()=>Oe(-1),forward:()=>Oe(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:H.add,isReady:Ue,install(D){const G=this;D.component("RouterLink",Fb),D.component("RouterView",Od),D.config.globalProperties.$router=G,Object.defineProperty(D.config.globalProperties,"$route",{enumerable:!0,get:()=>ne(c)}),Hn&&!Ct&&c.value===yt&&(Ct=!0,m(s.location).catch(ae=>{}));const V={};for(const ae in yt)Object.defineProperty(V,ae,{get:()=>c.value[ae],enumerable:!0});D.provide(ka,G),D.provide(Ad,qr(V)),D.provide(Ni,c);const X=D.unmount;gt.add(D),D.unmount=function(){gt.delete(D),gt.size<1&&(l=yt,q&&q(),q=null,c.value=yt,Ct=!1,Q=!1),X()}}};function ke(D){return D.reduce((G,V)=>G.then(()=>T(V)),Promise.resolve())}return Gt}function Bb(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;inr(l,a))?r.push(a):n.push(a));const c=e.matched[i];c&&(t.matched.find(l=>nr(l,c))||s.push(c))}return[n,r,s]}const Vb=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),xi=(e,t)=>{const n=e.route.matched.find(s=>{var o;return((o=s.components)==null?void 0:o.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&Vb(e.route,n));return typeof r=="function"?r(e.route):r},Wb=(e,t)=>({default:()=>e?bt(Kp,e===!0?{}:e,t):t});function Aa(e){return Array.isArray(e)?e:[e]}const st=null,ot=null,it=null,pl=[{name:"lang-about___en___default",path:"/:lang(.*)*/about",meta:{},alias:[],redirect:st==null?void 0:st.redirect,component:()=>He(()=>import("./B_WREhsM.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(e=>e.default||e)},{name:"lang-about___en",path:"/en/:lang(.*)*/about",meta:{},alias:[],redirect:st==null?void 0:st.redirect,component:()=>He(()=>import("./B_WREhsM.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(e=>e.default||e)},{name:"lang-about___sp",path:"/sp/:lang(.*)*/about",meta:{},alias:[],redirect:st==null?void 0:st.redirect,component:()=>He(()=>import("./B_WREhsM.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(e=>e.default||e)},{name:"lang-about___zh-cn",path:"/zh-cn/:lang(.*)*/about",meta:{},alias:[],redirect:st==null?void 0:st.redirect,component:()=>He(()=>import("./B_WREhsM.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(e=>e.default||e)},{name:"lang-edit-id___en___default",path:"/:lang(.*)*/edit/:id()",meta:{},alias:[],redirect:ot==null?void 0:ot.redirect,component:()=>He(()=>import("./BMIsZxAP.js"),__vite__mapDeps([3,4,1,2,5]),import.meta.url).then(e=>e.default||e)},{name:"lang-edit-id___en",path:"/en/:lang(.*)*/edit/:id()",meta:{},alias:[],redirect:ot==null?void 0:ot.redirect,component:()=>He(()=>import("./BMIsZxAP.js"),__vite__mapDeps([3,4,1,2,5]),import.meta.url).then(e=>e.default||e)},{name:"lang-edit-id___sp",path:"/sp/:lang(.*)*/edit/:id()",meta:{},alias:[],redirect:ot==null?void 0:ot.redirect,component:()=>He(()=>import("./BMIsZxAP.js"),__vite__mapDeps([3,4,1,2,5]),import.meta.url).then(e=>e.default||e)},{name:"lang-edit-id___zh-cn",path:"/zh-cn/:lang(.*)*/edit/:id()",meta:{},alias:[],redirect:ot==null?void 0:ot.redirect,component:()=>He(()=>import("./BMIsZxAP.js"),__vite__mapDeps([3,4,1,2,5]),import.meta.url).then(e=>e.default||e)},{name:"lang___en___default",path:"/:lang(.*)*",meta:{},alias:[],redirect:it==null?void 0:it.redirect,component:()=>He(()=>import("./Dnn-_RCQ.js"),__vite__mapDeps([6,1,2,4,7]),import.meta.url).then(e=>e.default||e)},{name:"lang___en",path:"/en/:lang(.*)*",meta:{},alias:[],redirect:it==null?void 0:it.redirect,component:()=>He(()=>import("./Dnn-_RCQ.js"),__vite__mapDeps([6,1,2,4,7]),import.meta.url).then(e=>e.default||e)},{name:"lang___sp",path:"/sp/:lang(.*)*",meta:{},alias:[],redirect:it==null?void 0:it.redirect,component:()=>He(()=>import("./Dnn-_RCQ.js"),__vite__mapDeps([6,1,2,4,7]),import.meta.url).then(e=>e.default||e)},{name:"lang___zh-cn",path:"/zh-cn/:lang(.*)*",meta:{},alias:[],redirect:it==null?void 0:it.redirect,component:()=>He(()=>import("./Dnn-_RCQ.js"),__vite__mapDeps([6,1,2,4,7]),import.meta.url).then(e=>e.default||e)}],Kb=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var r;return t?bt(e,t,n):(r=n.default)==null?void 0:r.call(n)}});function gl(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""});return typeof t=="function"?t(e):t}function Gb(e,t){return e===t||t===yt?!1:gl(e)!==gl(t)?!0:!e.matched.every((r,s)=>{var o,i;return r.components&&r.components.default===((i=(o=t.matched[s])==null?void 0:o.components)==null?void 0:i.default)})}const qb={scrollBehavior(e,t,n){var l;const r=he(),s=((l=St().options)==null?void 0:l.scrollBehaviorType)??"auto";let o=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!o&&t&&e&&i!==!1&&Gb(e,t)&&(o={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:ml(e.hash),behavior:s}:!1;const a=u=>!!(u.meta.pageTransition??Ai),c=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(u=>{r.hooks.hookOnce(c,async()=>{await new Promise(f=>setTimeout(f,0)),e.hash&&(o={el:e.hash,top:ml(e.hash),behavior:s}),u(o)})})}};function ml(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}const Yb={hashMode:!1,scrollBehaviorType:"auto"},et={...Yb,...qb},Xb=async e=>{var c;let t,n;if(!((c=e.meta)!=null&&c.validate))return;const r=he(),s=St();if(([t,n]=At(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=So({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),a=s.beforeResolve(l=>{if(a(),l===e){const u=s.afterEach(async()=>{u(),await r.runWithContext(()=>Vn(i)),window.history.pushState({},"",e.fullPath)});return!1}})},zb=async e=>{let t,n;const r=([t,n]=At(()=>Pa(e.path)),t=await t,n(),t);if(r.redirect)return xt(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},Jb=[Xb,zb],Ar={};function Qb(e,t,n){const{pathname:r,search:s,hash:o}=t,i=e.indexOf("#");if(i>-1){const l=o.includes(e.slice(i))?e.slice(i).length:1;let u=o.slice(l);return u[0]!=="/"&&(u="/"+u),xc(u,"")}const a=xc(r,e),c=!n||vi(a,n,{trailingSlash:!0})?a:n;return c+(c.includes("?")?"":s)+o}const Zb=qe({name:"nuxt:router",enforce:"pre",async setup(e){var L,_;let t,n,r=pt().app.baseURL;et.hashMode&&!r.includes("#")&&(r+="#");const s=((L=et.history)==null?void 0:L.call(et,r))??(et.hashMode?yb(r):Ld(r)),o=((_=et.routes)==null?void 0:_.call(et,pl))??pl;let i;const a=Hb({...et,scrollBehavior:(v,y,m)=>{if(y===yt){i=m;return}if(et.scrollBehavior){if(a.options.scrollBehavior=et.scrollBehavior,"scrollRestoration"in window.history){const E=a.beforeEach(()=>{E(),window.history.scrollRestoration="manual"})}return et.scrollBehavior(v,yt,i||m)}},history:s,routes:o});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const c=An(a.currentRoute.value);a.afterEach((v,y)=>{c.value=y}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const l=Qb(r,window.location,e.payload.path),u=An(a.currentRoute.value),f=()=>{u.value=a.currentRoute.value};e.hook("page:finish",f),a.afterEach((v,y)=>{var m,E,C,R;((E=(m=v.matched[0])==null?void 0:m.components)==null?void 0:E.default)===((R=(C=y.matched[0])==null?void 0:C.components)==null?void 0:R.default)&&f()});const d={};for(const v in u.value)Object.defineProperty(d,v,{get:()=>u.value[v]});e._route=qr(d),e._middleware=e._middleware||{global:[],named:{}};try{[t,n]=At(()=>a.isReady()),await t,n()}catch(v){[t,n]=At(()=>e.runWithContext(()=>Vn(v))),await t,n()}const g=l!==a.currentRoute.value.fullPath?a.resolve(l):a.currentRoute.value;f();const b=e.payload.state._layout;a.beforeEach(async(v,y)=>{var m;await e.callHook("page:loading:start"),v.meta=wt(v.meta),e.isHydrating&&b&&!kn(v.meta.layout)&&(v.meta.layout=b),e._processingMiddleware=!0;{const E=new Set([...Jb,...e._middleware.global]);for(const C of v.matched){const R=C.meta.middleware;if(R)for(const k of Aa(R))E.add(k)}{const C=await e.runWithContext(()=>Pa(v.path));if(C.appMiddleware)for(const R in C.appMiddleware)C.appMiddleware[R]?E.add(R):E.delete(R)}for(const C of E){const R=typeof C=="string"?e._middleware.named[C]||await((m=Ar[C])==null?void 0:m.call(Ar).then(T=>T.default||T)):C;if(!R)throw new Error(`Unknown route middleware: '${C}'.`);const k=await e.runWithContext(()=>R(v,y));if(!e.payload.serverRendered&&e.isHydrating&&(k===!1||k instanceof Error)){const T=k||Li({statusCode:404,statusMessage:`Page Not Found: ${l}`});return await e.runWithContext(()=>Vn(T)),!1}if(k!==!0&&(k||k===!1))return k}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")});const S=wo();return a.afterEach(async(v,y,m)=>{delete e._processingMiddleware,!e.isHydrating&&S.value&&await e.runWithContext(xy),m&&await e.callHook("page:loading:end"),v.matched.length===0&&await e.runWithContext(()=>Vn(Li({statusCode:404,fatal:!1,statusMessage:`Page not found: ${v.fullPath}`,data:{path:v.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in g&&(g.name=void 0),await a.replace({...g,force:!0}),a.options.scrollBehavior=et.scrollBehavior}catch(v){await e.runWithContext(()=>Vn(v))}}),{provide:{router:a}}}}),ev="$s";function Zr(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const s=ev+n,o=he(),i=Ju(o.payload.state,s);if(i.value===void 0&&r){const a=r();if(Ce(a))return o.payload.state[s]=a,a;i.value=a}return i}const tv=qe({name:"nuxt-site-config:init",enforce:"pre",async setup(e){const t=Zr("site-config");let n={};return n=t.value||window.__NUXT_SITE_CONFIG__,{provide:{nuxtSiteConfig:n}}}}),yl=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),AC=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Id=e=>{const t=he();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{yl(e)}):yl(e)},nv=qe({name:"nuxt:payload",setup(e){St().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await zc(t.path);r&&Object.assign(e.static.data,r.data)}),Id(()=>{var t;e.hooks.hook("link:prefetch",async n=>{vo(n).protocol||await zc(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(Co,1e3)})}}),rv=qe(e=>{let t;async function n(){const r=await Co();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);try{const s=await $fetch(Ca("builds/latest.json")+`?${Date.now()}`);s.id!==r.id&&e.hooks.callHook("app:manifest:update",s)}catch{}}Id(()=>{t=setTimeout(n,1e3*60*60)})}),sv=!1;/*! * pinia v2.1.7 * (c) 2023 Eduardo San Martin Morote * @license MIT - */let Nd;const es=e=>Nd=e,xd=Symbol();function Mi(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Or;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Or||(Or={}));function ov(){const e=Gr(!0),t=e.run(()=>be({}));let n=[],r=[];const s=lo({install(o){es(s),s._a=o,o.provide(xd,s),o.config.globalProperties.$pinia=s,r.forEach(i=>n.push(i)),r=[]},use(o){return!this._a&&!sv?r.push(o):n.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const Md=()=>{};function _l(e,t,n,r=Md){e.push(t);const s=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),r())};return!n&&ao()&&ea(s),s}function $n(e,...t){e.slice().forEach(n=>{n(...t)})}const iv=e=>e();function Di(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,r)=>e.set(r,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],s=e[n];Mi(s)&&Mi(r)&&e.hasOwnProperty(n)&&!Ce(r)&&!cn(r)?e[n]=Di(s,r):e[n]=r}return e}const av=Symbol();function cv(e){return!Mi(e)||!e.hasOwnProperty(av)}const{assign:Zt}=Object;function lv(e){return!!(Ce(e)&&e.effect)}function uv(e,t,n,r){const{state:s,actions:o,getters:i}=t,a=n.state.value[e];let c;function l(){a||(n.state.value[e]=s?s():{});const u=yp(n.state.value[e]);return Zt(u,o,Object.keys(i||{}).reduce((f,d)=>(f[d]=lo(ge(()=>{es(n);const m=n._s.get(e);return i[d].call(m,m)})),f),{}))}return c=Dd(e,l,t,n,r,!0),c}function Dd(e,t,n={},r,s,o){let i;const a=Zt({actions:{}},n),c={deep:!0};let l,u,f=[],d=[],m;const b=r.state.value[e];!o&&!b&&(r.state.value[e]={}),be({});let S;function L(k){let T;l=u=!1,typeof k=="function"?(k(r.state.value[e]),T={type:Or.patchFunction,storeId:e,events:m}):(Di(r.state.value[e],k),T={type:Or.patchObject,payload:k,storeId:e,events:m});const I=S=Symbol();fn().then(()=>{S===I&&(l=!0)}),u=!0,$n(f,T,r.state.value[e])}const _=o?function(){const{state:T}=n,I=T?T():{};this.$patch(F=>{Zt(F,I)})}:Md;function v(){i.stop(),f=[],d=[],r._s.delete(e)}function y(k,T){return function(){es(r);const I=Array.from(arguments),F=[],x=[];function q(H){F.push(H)}function ie(H){x.push(H)}$n(d,{args:I,name:k,store:E,after:q,onError:ie});let oe;try{oe=T.apply(this&&this.$id===e?this:E,I)}catch(H){throw $n(x,H),H}return oe instanceof Promise?oe.then(H=>($n(F,H),H)).catch(H=>($n(x,H),Promise.reject(H))):($n(F,oe),oe)}}const g={_p:r,$id:e,$onAction:_l.bind(null,d),$patch:L,$reset:_,$subscribe(k,T={}){const I=_l(f,k,T.detached,()=>F()),F=i.run(()=>$e(()=>r.state.value[e],x=>{(T.flush==="sync"?u:l)&&k({storeId:e,type:Or.direct,events:m},x)},Zt({},c,T)));return I},$dispose:v},E=wt(g);r._s.set(e,E);const R=(r._a&&r._a.runWithContext||iv)(()=>r._e.run(()=>(i=Gr()).run(t)));for(const k in R){const T=R[k];if(Ce(T)&&!lv(T)||cn(T))o||(b&&cv(T)&&(Ce(T)?T.value=b[k]:Di(T,b[k])),r.state.value[e][k]=T);else if(typeof T=="function"){const I=y(k,T);R[k]=I,a.actions[k]=T}}return Zt(E,R),Zt(ue(E),R),Object.defineProperty(E,"$state",{get:()=>r.state.value[e],set:k=>{L(T=>{Zt(T,k)})}}),r._p.forEach(k=>{Zt(E,i.run(()=>k({store:E,app:r._a,pinia:r,options:a})))}),b&&o&&n.hydrate&&n.hydrate(E.$state,b),l=!0,u=!0,E}function OC(e,t,n){let r,s;const o=typeof t=="function";typeof e=="string"?(r=e,s=o?n:t):(s=e,r=e.id);function i(a,c){const l=ma();return a=a||(l?Ke(xd,null):null),a&&es(a),a=Nd,a._s.has(r)||(o?Dd(r,t,s,a):uv(r,s,a)),a._s.get(r)}return i.$id=r,i}const fv={path:"/",watch:!0,decode:e=>Ur(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},dv=void 0;function hv(e,t){var c;const n={...fv,...t},r=bl(n)||{};let s;n.maxAge!==void 0?s=n.maxAge*1e3:n.expires&&(s=n.expires.getTime()-Date.now());const o=s!==void 0&&s<=0,i=Pt(o?void 0:r[e]??((c=n.default)==null?void 0:c.call(n))),a=s&&!o?gv(i,s,n.watch&&n.watch!=="shallow"):be(i);{let l=null;try{!dv&&typeof BroadcastChannel<"u"&&(l=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const u=()=>{n.readonly||Ey(a.value,r[e])||(mv(e,a.value,n),r[e]=Pt(a.value),l==null||l.postMessage({value:n.encode(a.value)}))},f=m=>{var S;const b=m.refresh?(S=bl(n))==null?void 0:S[e]:n.decode(m.value);d=!0,r[e]=a.value=b,fn(()=>{d=!1})};let d=!1;ao()&&ea(()=>{d=!0,u(),l==null||l.close()}),l&&(l.onmessage=({data:m})=>f(m)),n.watch?$e(a,()=>{d||u()},{deep:n.watch!=="shallow"}):u()}return a}function bl(e={}){return py(document.cookie,e)}function pv(e,t,n={}){return t==null?$c(e,t,{...n,maxAge:-1}):$c(e,t,n)}function mv(e,t,n={}){document.cookie=pv(e,t,n)}const vl=2147483647;function gv(e,t,n){let r,s,o=0;const i=n?be(e):{value:e};return ao()&&ea(()=>{s==null||s(),clearTimeout(r)}),gp((a,c)=>{n&&(s=$e(i,c));function l(){clearTimeout(r);const u=t-o,f=u{if(o+=f,o{const t=ov();return e.vueApp.use(t),es(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}}),bv=qe({name:"nuxt:global-components"}),ys={},vv=qe({name:"nuxt:prefetch",setup(e){const t=St();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var s;const r=(s=n==null?void 0:n.meta)==null?void 0:s.layout;r&&typeof ys[r]=="function"&&await ys[r]()})}),e.hooks.hook("link:prefetch",n=>{if(xt(n))return;const r=t.resolve(n);if(!r)return;const s=r.meta.layout;let o=Aa(r.meta.middleware);o=o.filter(i=>typeof i=="string");for(const i of o)typeof Ar[i]=="function"&&Ar[i]();s&&typeof ys[s]=="function"&&ys[s]()})}}),Ev={favicon:{},transparent:{},maskable:{},apple:{},appleSplashScreen:{}},wv=qe(()=>{const e={};return pr(e,"transparent"),pr(e,"maskable"),pr(e,"favicon"),pr(e,"apple"),pr(e,"appleSplashScreen"),{provide:{pwaIcons:e}}});function pr(e,t){e[t]=Object.values(Ev[t]??{}).reduce((n,r)=>{const s={...r,asImage:{src:r.url,key:`${t}-${r.name}`}};return r.width&&r.height&&(s.asImage.width=r.width,s.asImage.height=r.height),n[r.name]=s,n},{})}function Sv(e={}){const{immediate:t=!1,onNeedRefresh:n,onOfflineReady:r,onRegistered:s,onRegisteredSW:o,onRegisterError:i}=e;let a,c;const l=async(f=!0)=>{await c};async function u(){if("serviceWorker"in navigator){if(a=await He(()=>import("./DFjpnwFp.js"),[],import.meta.url).then(({Workbox:f})=>new f("/sw.js",{scope:"/",type:"classic"})).catch(f=>{i==null||i(f)}),!a)return;a.addEventListener("activated",f=>{(f.isUpdate||f.isExternal)&&window.location.reload()}),a.addEventListener("installed",f=>{f.isUpdate||r==null||r()}),a.register({immediate:t}).then(f=>{o?o("/sw.js",f):s==null||s(f)}).catch(f=>{i==null||i(f)})}}return c=u(),l}function Cv(e={}){const{immediate:t=!0,onNeedRefresh:n,onOfflineReady:r,onRegistered:s,onRegisteredSW:o,onRegisterError:i}=e,a=be(!1),c=be(!1);return{updateServiceWorker:Sv({immediate:t,onNeedRefresh(){a.value=!0,n==null||n()},onOfflineReady(){c.value=!0,r==null||r()},onRegistered:s,onRegisteredSW:o,onRegisterError:i}),offlineReady:c,needRefresh:a}}const Tv="standalone",Lv=void 0,Pv=qe(()=>{const e=be(!1),t=be(!1),n=be(!1),r=be(!0),s=navigator.userAgent,o=s.match(/iPhone|iPad|iPod/),i=`${Tv}`,a=window.matchMedia(`(display-mode: ${i})`).matches,c=be(!!(a||o&&!s.match(/Safari/))),l=be(c.value);window.matchMedia(`(display-mode: ${i})`).addEventListener("change",v=>{!l.value&&v.matches&&(l.value=!0)});let u;const f=()=>u,{offlineReady:d,needRefresh:m,updateServiceWorker:b}=Cv({immediate:!0,onRegisterError(){e.value=!0},onRegisteredSW(v,y){u=y}}),S=async()=>{d.value=!1,m.value=!1};let L=()=>Promise.resolve(),_=()=>{};if(!r.value){let v;const y=g=>{g.preventDefault(),v=g,n.value=!0};window.addEventListener("beforeinstallprompt",y),window.addEventListener("appinstalled",()=>{v=void 0,n.value=!1}),_=()=>{v=void 0,n.value=!1,window.removeEventListener("beforeinstallprompt",y),r.value=!0,localStorage.setItem(Lv,"true")},L=async()=>{if(!n.value||!v){n.value=!1;return}n.value=!1,await fn(),v.prompt(),await v.userChoice}}return{provide:{pwa:wt({isInstalled:c,isPWAInstalled:l,showInstallPrompt:n,cancelInstall:_,install:L,swActivated:t,registrationError:e,offlineReady:d,needRefresh:m,updateServiceWorker:b,cancelPrompt:S,getSWRegistration:f})}}}),Rv="__NUXT_COLOR_MODE__",kv="nuxt-color-mode",Dt=window[Rv]||{},Av=qe(e=>{const t=Zr("color-mode",()=>wt({preference:Dt.preference,value:Dt.value,unknown:!1,forced:!1})).value;St().afterEach(s=>{const o=s.meta.colorMode;o&&o!=="system"?(t.value=o,t.forced=!0):(o==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?Dt.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=Dt.getColorScheme())}))}$e(()=>t.preference,s=>{var o;t.forced||(s==="system"?(t.value=Dt.getColorScheme(),r()):t.value=s,(o=window.localStorage)==null||o.setItem(kv,s))},{immediate:!0}),$e(()=>t.value,(s,o)=>{Dt.removeColorScheme(o),Dt.addColorScheme(s)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=Dt.preference,t.value=Dt.value,t.unknown=!1)}),e.provide("colorMode",t)});/*! + */let Nd;const es=e=>Nd=e,xd=Symbol();function Mi(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Or;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Or||(Or={}));function ov(){const e=Gr(!0),t=e.run(()=>be({}));let n=[],r=[];const s=lo({install(o){es(s),s._a=o,o.provide(xd,s),o.config.globalProperties.$pinia=s,r.forEach(i=>n.push(i)),r=[]},use(o){return!this._a&&!sv?r.push(o):n.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const Md=()=>{};function _l(e,t,n,r=Md){e.push(t);const s=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),r())};return!n&&ao()&&ea(s),s}function $n(e,...t){e.slice().forEach(n=>{n(...t)})}const iv=e=>e();function Di(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,r)=>e.set(r,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],s=e[n];Mi(s)&&Mi(r)&&e.hasOwnProperty(n)&&!Ce(r)&&!cn(r)?e[n]=Di(s,r):e[n]=r}return e}const av=Symbol();function cv(e){return!Mi(e)||!e.hasOwnProperty(av)}const{assign:Zt}=Object;function lv(e){return!!(Ce(e)&&e.effect)}function uv(e,t,n,r){const{state:s,actions:o,getters:i}=t,a=n.state.value[e];let c;function l(){a||(n.state.value[e]=s?s():{});const u=yp(n.state.value[e]);return Zt(u,o,Object.keys(i||{}).reduce((f,d)=>(f[d]=lo(me(()=>{es(n);const g=n._s.get(e);return i[d].call(g,g)})),f),{}))}return c=Dd(e,l,t,n,r,!0),c}function Dd(e,t,n={},r,s,o){let i;const a=Zt({actions:{}},n),c={deep:!0};let l,u,f=[],d=[],g;const b=r.state.value[e];!o&&!b&&(r.state.value[e]={}),be({});let S;function L(k){let T;l=u=!1,typeof k=="function"?(k(r.state.value[e]),T={type:Or.patchFunction,storeId:e,events:g}):(Di(r.state.value[e],k),T={type:Or.patchObject,payload:k,storeId:e,events:g});const I=S=Symbol();fn().then(()=>{S===I&&(l=!0)}),u=!0,$n(f,T,r.state.value[e])}const _=o?function(){const{state:T}=n,I=T?T():{};this.$patch(F=>{Zt(F,I)})}:Md;function v(){i.stop(),f=[],d=[],r._s.delete(e)}function y(k,T){return function(){es(r);const I=Array.from(arguments),F=[],x=[];function q(H){F.push(H)}function ie(H){x.push(H)}$n(d,{args:I,name:k,store:E,after:q,onError:ie});let oe;try{oe=T.apply(this&&this.$id===e?this:E,I)}catch(H){throw $n(x,H),H}return oe instanceof Promise?oe.then(H=>($n(F,H),H)).catch(H=>($n(x,H),Promise.reject(H))):($n(F,oe),oe)}}const m={_p:r,$id:e,$onAction:_l.bind(null,d),$patch:L,$reset:_,$subscribe(k,T={}){const I=_l(f,k,T.detached,()=>F()),F=i.run(()=>$e(()=>r.state.value[e],x=>{(T.flush==="sync"?u:l)&&k({storeId:e,type:Or.direct,events:g},x)},Zt({},c,T)));return I},$dispose:v},E=wt(m);r._s.set(e,E);const R=(r._a&&r._a.runWithContext||iv)(()=>r._e.run(()=>(i=Gr()).run(t)));for(const k in R){const T=R[k];if(Ce(T)&&!lv(T)||cn(T))o||(b&&cv(T)&&(Ce(T)?T.value=b[k]:Di(T,b[k])),r.state.value[e][k]=T);else if(typeof T=="function"){const I=y(k,T);R[k]=I,a.actions[k]=T}}return Zt(E,R),Zt(ue(E),R),Object.defineProperty(E,"$state",{get:()=>r.state.value[e],set:k=>{L(T=>{Zt(T,k)})}}),r._p.forEach(k=>{Zt(E,i.run(()=>k({store:E,app:r._a,pinia:r,options:a})))}),b&&o&&n.hydrate&&n.hydrate(E.$state,b),l=!0,u=!0,E}function OC(e,t,n){let r,s;const o=typeof t=="function";typeof e=="string"?(r=e,s=o?n:t):(s=e,r=e.id);function i(a,c){const l=ga();return a=a||(l?Ke(xd,null):null),a&&es(a),a=Nd,a._s.has(r)||(o?Dd(r,t,s,a):uv(r,s,a)),a._s.get(r)}return i.$id=r,i}const fv={path:"/",watch:!0,decode:e=>Ur(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},dv=void 0;function hv(e,t){var c;const n={...fv,...t},r=bl(n)||{};let s;n.maxAge!==void 0?s=n.maxAge*1e3:n.expires&&(s=n.expires.getTime()-Date.now());const o=s!==void 0&&s<=0,i=Pt(o?void 0:r[e]??((c=n.default)==null?void 0:c.call(n))),a=s&&!o?mv(i,s,n.watch&&n.watch!=="shallow"):be(i);{let l=null;try{!dv&&typeof BroadcastChannel<"u"&&(l=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const u=()=>{n.readonly||Ey(a.value,r[e])||(gv(e,a.value,n),r[e]=Pt(a.value),l==null||l.postMessage({value:n.encode(a.value)}))},f=g=>{var S;const b=g.refresh?(S=bl(n))==null?void 0:S[e]:n.decode(g.value);d=!0,r[e]=a.value=b,fn(()=>{d=!1})};let d=!1;ao()&&ea(()=>{d=!0,u(),l==null||l.close()}),l&&(l.onmessage=({data:g})=>f(g)),n.watch?$e(a,()=>{d||u()},{deep:n.watch!=="shallow"}):u()}return a}function bl(e={}){return py(document.cookie,e)}function pv(e,t,n={}){return t==null?$c(e,t,{...n,maxAge:-1}):$c(e,t,n)}function gv(e,t,n={}){document.cookie=pv(e,t,n)}const vl=2147483647;function mv(e,t,n){let r,s,o=0;const i=n?be(e):{value:e};return ao()&&ea(()=>{s==null||s(),clearTimeout(r)}),mp((a,c)=>{n&&(s=$e(i,c));function l(){clearTimeout(r);const u=t-o,f=u{if(o+=f,o{const t=ov();return e.vueApp.use(t),es(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}}),bv=qe({name:"nuxt:global-components"}),ys={},vv=qe({name:"nuxt:prefetch",setup(e){const t=St();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var s;const r=(s=n==null?void 0:n.meta)==null?void 0:s.layout;r&&typeof ys[r]=="function"&&await ys[r]()})}),e.hooks.hook("link:prefetch",n=>{if(xt(n))return;const r=t.resolve(n);if(!r)return;const s=r.meta.layout;let o=Aa(r.meta.middleware);o=o.filter(i=>typeof i=="string");for(const i of o)typeof Ar[i]=="function"&&Ar[i]();s&&typeof ys[s]=="function"&&ys[s]()})}}),Ev={favicon:{},transparent:{},maskable:{},apple:{},appleSplashScreen:{}},wv=qe(()=>{const e={};return pr(e,"transparent"),pr(e,"maskable"),pr(e,"favicon"),pr(e,"apple"),pr(e,"appleSplashScreen"),{provide:{pwaIcons:e}}});function pr(e,t){e[t]=Object.values(Ev[t]??{}).reduce((n,r)=>{const s={...r,asImage:{src:r.url,key:`${t}-${r.name}`}};return r.width&&r.height&&(s.asImage.width=r.width,s.asImage.height=r.height),n[r.name]=s,n},{})}function Sv(e={}){const{immediate:t=!1,onNeedRefresh:n,onOfflineReady:r,onRegistered:s,onRegisteredSW:o,onRegisterError:i}=e;let a,c;const l=async(f=!0)=>{await c};async function u(){if("serviceWorker"in navigator){if(a=await He(()=>import("./DFjpnwFp.js"),[],import.meta.url).then(({Workbox:f})=>new f("/sw.js",{scope:"/",type:"classic"})).catch(f=>{i==null||i(f)}),!a)return;a.addEventListener("activated",f=>{(f.isUpdate||f.isExternal)&&window.location.reload()}),a.addEventListener("installed",f=>{f.isUpdate||r==null||r()}),a.register({immediate:t}).then(f=>{o?o("/sw.js",f):s==null||s(f)}).catch(f=>{i==null||i(f)})}}return c=u(),l}function Cv(e={}){const{immediate:t=!0,onNeedRefresh:n,onOfflineReady:r,onRegistered:s,onRegisteredSW:o,onRegisterError:i}=e,a=be(!1),c=be(!1);return{updateServiceWorker:Sv({immediate:t,onNeedRefresh(){a.value=!0,n==null||n()},onOfflineReady(){c.value=!0,r==null||r()},onRegistered:s,onRegisteredSW:o,onRegisterError:i}),offlineReady:c,needRefresh:a}}const Tv="standalone",Lv=void 0,Pv=qe(()=>{const e=be(!1),t=be(!1),n=be(!1),r=be(!0),s=navigator.userAgent,o=s.match(/iPhone|iPad|iPod/),i=`${Tv}`,a=window.matchMedia(`(display-mode: ${i})`).matches,c=be(!!(a||o&&!s.match(/Safari/))),l=be(c.value);window.matchMedia(`(display-mode: ${i})`).addEventListener("change",v=>{!l.value&&v.matches&&(l.value=!0)});let u;const f=()=>u,{offlineReady:d,needRefresh:g,updateServiceWorker:b}=Cv({immediate:!0,onRegisterError(){e.value=!0},onRegisteredSW(v,y){u=y}}),S=async()=>{d.value=!1,g.value=!1};let L=()=>Promise.resolve(),_=()=>{};if(!r.value){let v;const y=m=>{m.preventDefault(),v=m,n.value=!0};window.addEventListener("beforeinstallprompt",y),window.addEventListener("appinstalled",()=>{v=void 0,n.value=!1}),_=()=>{v=void 0,n.value=!1,window.removeEventListener("beforeinstallprompt",y),r.value=!0,localStorage.setItem(Lv,"true")},L=async()=>{if(!n.value||!v){n.value=!1;return}n.value=!1,await fn(),v.prompt(),await v.userChoice}}return{provide:{pwa:wt({isInstalled:c,isPWAInstalled:l,showInstallPrompt:n,cancelInstall:_,install:L,swActivated:t,registrationError:e,offlineReady:d,needRefresh:g,updateServiceWorker:b,cancelPrompt:S,getSWRegistration:f})}}}),Rv="__NUXT_COLOR_MODE__",kv="nuxt-color-mode",Dt=window[Rv]||{},Av=qe(e=>{const t=Zr("color-mode",()=>wt({preference:Dt.preference,value:Dt.value,unknown:!1,forced:!1})).value;St().afterEach(s=>{const o=s.meta.colorMode;o&&o!=="system"?(t.value=o,t.forced=!0):(o==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?Dt.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=Dt.getColorScheme())}))}$e(()=>t.preference,s=>{var o;t.forced||(s==="system"?(t.value=Dt.getColorScheme(),r()):t.value=s,(o=window.localStorage)==null||o.setItem(kv,s))},{immediate:!0}),$e(()=>t.value,(s,o)=>{Dt.removeColorScheme(o),Dt.addColorScheme(s)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=Dt.preference,t.value=Dt.value,t.unknown=!1)}),e.provide("colorMode",t)});/*! * shared v9.11.1 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */const Gs=typeof window<"u",dn=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Ov=(e,t,n)=>Iv({l:e,k:t,s:n}),Iv=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),De=e=>typeof e=="number"&&isFinite(e),Nv=e=>$d(e)==="[object Date]",qs=e=>$d(e)==="[object RegExp]",Lo=e=>le(e)&&Object.keys(e).length===0,Pe=Object.assign;let El;const Oa=()=>El||(El=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function wl(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const xv=Object.prototype.hasOwnProperty;function Ys(e,t){return xv.call(e,t)}const Le=Array.isArray,me=e=>typeof e=="function",W=e=>typeof e=="string",Te=e=>typeof e=="boolean",Mv=e=>typeof e=="symbol",ce=e=>e!==null&&typeof e=="object",Dv=e=>ce(e)&&me(e.then)&&me(e.catch),Fd=Object.prototype.toString,$d=e=>Fd.call(e),le=e=>{if(!ce(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Fv=e=>e==null?"":Le(e)||le(e)&&e.toString===Fd?JSON.stringify(e,null,2):String(e);function Ia(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}function Na(e){let t=e;return()=>++t}function $v(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const _s=e=>!ce(e)||Le(e);function Rn(e,t){if(_s(e)||_s(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:s}=n.pop();Object.keys(r).forEach(o=>{_s(r[o])||_s(s[o])?s[o]=r[o]:n.push({src:r[o],des:s[o]})})}}/*! + */const Gs=typeof window<"u",dn=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Ov=(e,t,n)=>Iv({l:e,k:t,s:n}),Iv=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),De=e=>typeof e=="number"&&isFinite(e),Nv=e=>$d(e)==="[object Date]",qs=e=>$d(e)==="[object RegExp]",Lo=e=>le(e)&&Object.keys(e).length===0,Pe=Object.assign;let El;const Oa=()=>El||(El=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function wl(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const xv=Object.prototype.hasOwnProperty;function Ys(e,t){return xv.call(e,t)}const Le=Array.isArray,ge=e=>typeof e=="function",W=e=>typeof e=="string",Te=e=>typeof e=="boolean",Mv=e=>typeof e=="symbol",ce=e=>e!==null&&typeof e=="object",Dv=e=>ce(e)&&ge(e.then)&&ge(e.catch),Fd=Object.prototype.toString,$d=e=>Fd.call(e),le=e=>{if(!ce(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Fv=e=>e==null?"":Le(e)||le(e)&&e.toString===Fd?JSON.stringify(e,null,2):String(e);function Ia(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}function Na(e){let t=e;return()=>++t}function $v(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const _s=e=>!ce(e)||Le(e);function Rn(e,t){if(_s(e)||_s(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:s}=n.pop();Object.keys(r).forEach(o=>{_s(r[o])||_s(s[o])?s[o]=r[o]:n.push({src:r[o],des:s[o]})})}}/*! * message-compiler v9.11.1 * (c) 2024 kazuya kawaguchi * Released under the MIT License. */function Uv(e,t,n){return{line:e,column:t,offset:n}}function Fi(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const de={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17};function Po(e,t,n={}){const{domain:r,messages:s,args:o}=n,i=e,a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=r,a}function jv(e){throw e}const Ft=" ",Hv="\r",We=` -`,Bv="\u2028",Vv="\u2029";function Wv(e){const t=e;let n=0,r=1,s=1,o=0;const i=R=>t[R]===Hv&&t[R+1]===We,a=R=>t[R]===We,c=R=>t[R]===Vv,l=R=>t[R]===Bv,u=R=>i(R)||a(R)||c(R)||l(R),f=()=>n,d=()=>r,m=()=>s,b=()=>o,S=R=>i(R)||c(R)||l(R)?We:t[R],L=()=>S(n),_=()=>S(n+o);function v(){return o=0,u(n)&&(r++,s=0),i(n)&&n++,n++,s++,t[n]}function y(){return i(n+o)&&o++,o++,t[n+o]}function g(){n=0,r=1,s=1,o=0}function E(R=0){o=R}function C(){const R=n+o;for(;R!==n;)v();o=0}return{index:f,line:d,column:m,peekOffset:b,charAt:S,currentChar:L,currentPeek:_,next:v,peek:y,reset:g,resetPeek:E,skipToPeek:C}}const Qt=void 0,Kv=".",Sl="'",Gv="tokenizer";function qv(e,t={}){const n=t.location!==!1,r=Wv(e),s=()=>r.index(),o=()=>Uv(r.line(),r.column(),r.index()),i=o(),a=s(),c={currentType:14,offset:a,startLoc:i,endLoc:i,lastType:14,lastOffset:a,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},l=()=>c,{onError:u}=t;function f(h,p,w,...P){const A=l();if(p.column+=w,p.offset+=w,u){const M=n?Fi(A.startLoc,p):null,j=Po(h,M,{domain:Gv,args:P});u(j)}}function d(h,p,w){h.endLoc=o(),h.currentType=p;const P={type:p};return n&&(P.loc=Fi(h.startLoc,h.endLoc)),w!=null&&(P.value=w),P}const m=h=>d(h,14);function b(h,p){return h.currentChar()===p?(h.next(),p):(f(de.EXPECTED_TOKEN,o(),0,p),"")}function S(h){let p="";for(;h.currentPeek()===Ft||h.currentPeek()===We;)p+=h.currentPeek(),h.peek();return p}function L(h){const p=S(h);return h.skipToPeek(),p}function _(h){if(h===Qt)return!1;const p=h.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p===95}function v(h){if(h===Qt)return!1;const p=h.charCodeAt(0);return p>=48&&p<=57}function y(h,p){const{currentType:w}=p;if(w!==2)return!1;S(h);const P=_(h.currentPeek());return h.resetPeek(),P}function g(h,p){const{currentType:w}=p;if(w!==2)return!1;S(h);const P=h.currentPeek()==="-"?h.peek():h.currentPeek(),A=v(P);return h.resetPeek(),A}function E(h,p){const{currentType:w}=p;if(w!==2)return!1;S(h);const P=h.currentPeek()===Sl;return h.resetPeek(),P}function C(h,p){const{currentType:w}=p;if(w!==8)return!1;S(h);const P=h.currentPeek()===".";return h.resetPeek(),P}function R(h,p){const{currentType:w}=p;if(w!==9)return!1;S(h);const P=_(h.currentPeek());return h.resetPeek(),P}function k(h,p){const{currentType:w}=p;if(!(w===8||w===12))return!1;S(h);const P=h.currentPeek()===":";return h.resetPeek(),P}function T(h,p){const{currentType:w}=p;if(w!==10)return!1;const P=()=>{const M=h.currentPeek();return M==="{"?_(h.peek()):M==="@"||M==="%"||M==="|"||M===":"||M==="."||M===Ft||!M?!1:M===We?(h.peek(),P()):_(M)},A=P();return h.resetPeek(),A}function I(h){S(h);const p=h.currentPeek()==="|";return h.resetPeek(),p}function F(h){const p=S(h),w=h.currentPeek()==="%"&&h.peek()==="{";return h.resetPeek(),{isModulo:w,hasSpace:p.length>0}}function x(h,p=!0){const w=(A=!1,M="",j=!1)=>{const U=h.currentPeek();return U==="{"?M==="%"?!1:A:U==="@"||!U?M==="%"?!0:A:U==="%"?(h.peek(),w(A,"%",!0)):U==="|"?M==="%"||j?!0:!(M===Ft||M===We):U===Ft?(h.peek(),w(!0,Ft,j)):U===We?(h.peek(),w(!0,We,j)):!0},P=w();return p&&h.resetPeek(),P}function q(h,p){const w=h.currentChar();return w===Qt?Qt:p(w)?(h.next(),w):null}function ie(h){return q(h,w=>{const P=w.charCodeAt(0);return P>=97&&P<=122||P>=65&&P<=90||P>=48&&P<=57||P===95||P===36})}function oe(h){return q(h,w=>{const P=w.charCodeAt(0);return P>=48&&P<=57})}function H(h){return q(h,w=>{const P=w.charCodeAt(0);return P>=48&&P<=57||P>=65&&P<=70||P>=97&&P<=102})}function Q(h){let p="",w="";for(;p=oe(h);)w+=p;return w}function z(h){L(h);const p=h.currentChar();return p!=="%"&&f(de.EXPECTED_TOKEN,o(),0,p),h.next(),"%"}function Ue(h){let p="";for(;;){const w=h.currentChar();if(w==="{"||w==="}"||w==="@"||w==="|"||!w)break;if(w==="%")if(x(h))p+=w,h.next();else break;else if(w===Ft||w===We)if(x(h))p+=w,h.next();else{if(I(h))break;p+=w,h.next()}else p+=w,h.next()}return p}function nt(h){L(h);let p="",w="";for(;p=ie(h);)w+=p;return h.currentChar()===Qt&&f(de.UNTERMINATED_CLOSING_BRACE,o(),0),w}function Re(h){L(h);let p="";return h.currentChar()==="-"?(h.next(),p+=`-${Q(h)}`):p+=Q(h),h.currentChar()===Qt&&f(de.UNTERMINATED_CLOSING_BRACE,o(),0),p}function Oe(h){L(h),b(h,"'");let p="",w="";const P=M=>M!==Sl&&M!==We;for(;p=q(h,P);)p==="\\"?w+=Ct(h):w+=p;const A=h.currentChar();return A===We||A===Qt?(f(de.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),A===We&&(h.next(),b(h,"'")),w):(b(h,"'"),w)}function Ct(h){const p=h.currentChar();switch(p){case"\\":case"'":return h.next(),`\\${p}`;case"u":return mt(h,p,4);case"U":return mt(h,p,6);default:return f(de.UNKNOWN_ESCAPE_SEQUENCE,o(),0,p),""}}function mt(h,p,w){b(h,p);let P="";for(let A=0;AA!=="{"&&A!=="}"&&A!==Ft&&A!==We;for(;p=q(h,P);)w+=p;return w}function ke(h){let p="",w="";for(;p=ie(h);)w+=p;return w}function D(h){const p=(w=!1,P)=>{const A=h.currentChar();return A==="{"||A==="%"||A==="@"||A==="|"||A==="("||A===")"||!A||A===Ft?P:A===We||A===Kv?(P+=A,h.next(),p(w,P)):(P+=A,h.next(),p(!0,P))};return p(!1,"")}function G(h){L(h);const p=b(h,"|");return L(h),p}function V(h,p){let w=null;switch(h.currentChar()){case"{":return p.braceNest>=1&&f(de.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),h.next(),w=d(p,2,"{"),L(h),p.braceNest++,w;case"}":return p.braceNest>0&&p.currentType===2&&f(de.EMPTY_PLACEHOLDER,o(),0),h.next(),w=d(p,3,"}"),p.braceNest--,p.braceNest>0&&L(h),p.inLinked&&p.braceNest===0&&(p.inLinked=!1),w;case"@":return p.braceNest>0&&f(de.UNTERMINATED_CLOSING_BRACE,o(),0),w=X(h,p)||m(p),p.braceNest=0,w;default:{let A=!0,M=!0,j=!0;if(I(h))return p.braceNest>0&&f(de.UNTERMINATED_CLOSING_BRACE,o(),0),w=d(p,1,G(h)),p.braceNest=0,p.inLinked=!1,w;if(p.braceNest>0&&(p.currentType===5||p.currentType===6||p.currentType===7))return f(de.UNTERMINATED_CLOSING_BRACE,o(),0),p.braceNest=0,ae(h,p);if(A=y(h,p))return w=d(p,5,nt(h)),L(h),w;if(M=g(h,p))return w=d(p,6,Re(h)),L(h),w;if(j=E(h,p))return w=d(p,7,Oe(h)),L(h),w;if(!A&&!M&&!j)return w=d(p,13,Gt(h)),f(de.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,w.value),L(h),w;break}}return w}function X(h,p){const{currentType:w}=p;let P=null;const A=h.currentChar();switch((w===8||w===9||w===12||w===10)&&(A===We||A===Ft)&&f(de.INVALID_LINKED_FORMAT,o(),0),A){case"@":return h.next(),P=d(p,8,"@"),p.inLinked=!0,P;case".":return L(h),h.next(),d(p,9,".");case":":return L(h),h.next(),d(p,10,":");default:return I(h)?(P=d(p,1,G(h)),p.braceNest=0,p.inLinked=!1,P):C(h,p)||k(h,p)?(L(h),X(h,p)):R(h,p)?(L(h),d(p,12,ke(h))):T(h,p)?(L(h),A==="{"?V(h,p)||P:d(p,11,D(h))):(w===8&&f(de.INVALID_LINKED_FORMAT,o(),0),p.braceNest=0,p.inLinked=!1,ae(h,p))}}function ae(h,p){let w={type:14};if(p.braceNest>0)return V(h,p)||m(p);if(p.inLinked)return X(h,p)||m(p);switch(h.currentChar()){case"{":return V(h,p)||m(p);case"}":return f(de.UNBALANCED_CLOSING_BRACE,o(),0),h.next(),d(p,3,"}");case"@":return X(h,p)||m(p);default:{if(I(h))return w=d(p,1,G(h)),p.braceNest=0,p.inLinked=!1,w;const{isModulo:A,hasSpace:M}=F(h);if(A)return M?d(p,0,Ue(h)):d(p,4,z(h));if(x(h))return d(p,0,Ue(h));break}}return w}function ye(){const{currentType:h,offset:p,startLoc:w,endLoc:P}=c;return c.lastType=h,c.lastOffset=p,c.lastStartLoc=w,c.lastEndLoc=P,c.offset=s(),c.startLoc=o(),r.currentChar()===Qt?d(c,14):ae(r,c)}return{nextToken:ye,currentOffset:s,currentPosition:o,context:l}}const Yv="parser",Xv=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function zv(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function Jv(e={}){const t=e.location!==!1,{onError:n}=e;function r(_,v,y,g,...E){const C=_.currentPosition();if(C.offset+=g,C.column+=g,n){const R=t?Fi(y,C):null,k=Po(v,R,{domain:Yv,args:E});n(k)}}function s(_,v,y){const g={type:_};return t&&(g.start=v,g.end=v,g.loc={start:y,end:y}),g}function o(_,v,y,g){g&&(_.type=g),t&&(_.end=v,_.loc&&(_.loc.end=y))}function i(_,v){const y=_.context(),g=s(3,y.offset,y.startLoc);return g.value=v,o(g,_.currentOffset(),_.currentPosition()),g}function a(_,v){const y=_.context(),{lastOffset:g,lastStartLoc:E}=y,C=s(5,g,E);return C.index=parseInt(v,10),_.nextToken(),o(C,_.currentOffset(),_.currentPosition()),C}function c(_,v){const y=_.context(),{lastOffset:g,lastStartLoc:E}=y,C=s(4,g,E);return C.key=v,_.nextToken(),o(C,_.currentOffset(),_.currentPosition()),C}function l(_,v){const y=_.context(),{lastOffset:g,lastStartLoc:E}=y,C=s(9,g,E);return C.value=v.replace(Xv,zv),_.nextToken(),o(C,_.currentOffset(),_.currentPosition()),C}function u(_){const v=_.nextToken(),y=_.context(),{lastOffset:g,lastStartLoc:E}=y,C=s(8,g,E);return v.type!==12?(r(_,de.UNEXPECTED_EMPTY_LINKED_MODIFIER,y.lastStartLoc,0),C.value="",o(C,g,E),{nextConsumeToken:v,node:C}):(v.value==null&&r(_,de.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Lt(v)),C.value=v.value||"",o(C,_.currentOffset(),_.currentPosition()),{node:C})}function f(_,v){const y=_.context(),g=s(7,y.offset,y.startLoc);return g.value=v,o(g,_.currentOffset(),_.currentPosition()),g}function d(_){const v=_.context(),y=s(6,v.offset,v.startLoc);let g=_.nextToken();if(g.type===9){const E=u(_);y.modifier=E.node,g=E.nextConsumeToken||_.nextToken()}switch(g.type!==10&&r(_,de.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Lt(g)),g=_.nextToken(),g.type===2&&(g=_.nextToken()),g.type){case 11:g.value==null&&r(_,de.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Lt(g)),y.key=f(_,g.value||"");break;case 5:g.value==null&&r(_,de.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Lt(g)),y.key=c(_,g.value||"");break;case 6:g.value==null&&r(_,de.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Lt(g)),y.key=a(_,g.value||"");break;case 7:g.value==null&&r(_,de.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Lt(g)),y.key=l(_,g.value||"");break;default:{r(_,de.UNEXPECTED_EMPTY_LINKED_KEY,v.lastStartLoc,0);const E=_.context(),C=s(7,E.offset,E.startLoc);return C.value="",o(C,E.offset,E.startLoc),y.key=C,o(y,E.offset,E.startLoc),{nextConsumeToken:g,node:y}}}return o(y,_.currentOffset(),_.currentPosition()),{node:y}}function m(_){const v=_.context(),y=v.currentType===1?_.currentOffset():v.offset,g=v.currentType===1?v.endLoc:v.startLoc,E=s(2,y,g);E.items=[];let C=null;do{const T=C||_.nextToken();switch(C=null,T.type){case 0:T.value==null&&r(_,de.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Lt(T)),E.items.push(i(_,T.value||""));break;case 6:T.value==null&&r(_,de.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Lt(T)),E.items.push(a(_,T.value||""));break;case 5:T.value==null&&r(_,de.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Lt(T)),E.items.push(c(_,T.value||""));break;case 7:T.value==null&&r(_,de.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Lt(T)),E.items.push(l(_,T.value||""));break;case 8:{const I=d(_);E.items.push(I.node),C=I.nextConsumeToken||null;break}}}while(v.currentType!==14&&v.currentType!==1);const R=v.currentType===1?v.lastOffset:_.currentOffset(),k=v.currentType===1?v.lastEndLoc:_.currentPosition();return o(E,R,k),E}function b(_,v,y,g){const E=_.context();let C=g.items.length===0;const R=s(1,v,y);R.cases=[],R.cases.push(g);do{const k=m(_);C||(C=k.items.length===0),R.cases.push(k)}while(E.currentType!==14);return C&&r(_,de.MUST_HAVE_MESSAGES_IN_PLURAL,y,0),o(R,_.currentOffset(),_.currentPosition()),R}function S(_){const v=_.context(),{offset:y,startLoc:g}=v,E=m(_);return v.currentType===14?E:b(_,y,g,E)}function L(_){const v=qv(_,Pe({},e)),y=v.context(),g=s(0,y.offset,y.startLoc);return t&&g.loc&&(g.loc.source=_),g.body=S(v),e.onCacheKey&&(g.cacheKey=e.onCacheKey(_)),y.currentType!==14&&r(v,de.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,_[y.offset]||""),o(g,v.currentOffset(),v.currentPosition()),g}return{parse:L}}function Lt(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Qv(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:o=>(n.helpers.add(o),o)}}function Cl(e,t){for(let n=0;nTl(n)),e}function Tl(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;na;function l(L,_){a.code+=L}function u(L,_=!0){const v=_?s:"";l(o?v+" ".repeat(L):v)}function f(L=!0){const _=++a.indentLevel;L&&u(_)}function d(L=!0){const _=--a.indentLevel;L&&u(_)}function m(){u(a.indentLevel)}return{context:c,push:l,indent:f,deindent:d,newline:m,helper:L=>`_${L}`,needIndent:()=>a.needIndent}}function nE(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),sr(e,t.key),t.modifier?(e.push(", "),sr(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function rE(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const s=t.items.length;for(let o=0;o1){e.push(`${n("plural")}([`),e.indent(r());const s=t.cases.length;for(let o=0;o{const n=W(t.mode)?t.mode:"normal",r=W(t.filename)?t.filename:"message.intl",s=!!t.sourceMap,o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` +`,Bv="\u2028",Vv="\u2029";function Wv(e){const t=e;let n=0,r=1,s=1,o=0;const i=R=>t[R]===Hv&&t[R+1]===We,a=R=>t[R]===We,c=R=>t[R]===Vv,l=R=>t[R]===Bv,u=R=>i(R)||a(R)||c(R)||l(R),f=()=>n,d=()=>r,g=()=>s,b=()=>o,S=R=>i(R)||c(R)||l(R)?We:t[R],L=()=>S(n),_=()=>S(n+o);function v(){return o=0,u(n)&&(r++,s=0),i(n)&&n++,n++,s++,t[n]}function y(){return i(n+o)&&o++,o++,t[n+o]}function m(){n=0,r=1,s=1,o=0}function E(R=0){o=R}function C(){const R=n+o;for(;R!==n;)v();o=0}return{index:f,line:d,column:g,peekOffset:b,charAt:S,currentChar:L,currentPeek:_,next:v,peek:y,reset:m,resetPeek:E,skipToPeek:C}}const Qt=void 0,Kv=".",Sl="'",Gv="tokenizer";function qv(e,t={}){const n=t.location!==!1,r=Wv(e),s=()=>r.index(),o=()=>Uv(r.line(),r.column(),r.index()),i=o(),a=s(),c={currentType:14,offset:a,startLoc:i,endLoc:i,lastType:14,lastOffset:a,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},l=()=>c,{onError:u}=t;function f(h,p,w,...P){const A=l();if(p.column+=w,p.offset+=w,u){const M=n?Fi(A.startLoc,p):null,j=Po(h,M,{domain:Gv,args:P});u(j)}}function d(h,p,w){h.endLoc=o(),h.currentType=p;const P={type:p};return n&&(P.loc=Fi(h.startLoc,h.endLoc)),w!=null&&(P.value=w),P}const g=h=>d(h,14);function b(h,p){return h.currentChar()===p?(h.next(),p):(f(de.EXPECTED_TOKEN,o(),0,p),"")}function S(h){let p="";for(;h.currentPeek()===Ft||h.currentPeek()===We;)p+=h.currentPeek(),h.peek();return p}function L(h){const p=S(h);return h.skipToPeek(),p}function _(h){if(h===Qt)return!1;const p=h.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p===95}function v(h){if(h===Qt)return!1;const p=h.charCodeAt(0);return p>=48&&p<=57}function y(h,p){const{currentType:w}=p;if(w!==2)return!1;S(h);const P=_(h.currentPeek());return h.resetPeek(),P}function m(h,p){const{currentType:w}=p;if(w!==2)return!1;S(h);const P=h.currentPeek()==="-"?h.peek():h.currentPeek(),A=v(P);return h.resetPeek(),A}function E(h,p){const{currentType:w}=p;if(w!==2)return!1;S(h);const P=h.currentPeek()===Sl;return h.resetPeek(),P}function C(h,p){const{currentType:w}=p;if(w!==8)return!1;S(h);const P=h.currentPeek()===".";return h.resetPeek(),P}function R(h,p){const{currentType:w}=p;if(w!==9)return!1;S(h);const P=_(h.currentPeek());return h.resetPeek(),P}function k(h,p){const{currentType:w}=p;if(!(w===8||w===12))return!1;S(h);const P=h.currentPeek()===":";return h.resetPeek(),P}function T(h,p){const{currentType:w}=p;if(w!==10)return!1;const P=()=>{const M=h.currentPeek();return M==="{"?_(h.peek()):M==="@"||M==="%"||M==="|"||M===":"||M==="."||M===Ft||!M?!1:M===We?(h.peek(),P()):_(M)},A=P();return h.resetPeek(),A}function I(h){S(h);const p=h.currentPeek()==="|";return h.resetPeek(),p}function F(h){const p=S(h),w=h.currentPeek()==="%"&&h.peek()==="{";return h.resetPeek(),{isModulo:w,hasSpace:p.length>0}}function x(h,p=!0){const w=(A=!1,M="",j=!1)=>{const U=h.currentPeek();return U==="{"?M==="%"?!1:A:U==="@"||!U?M==="%"?!0:A:U==="%"?(h.peek(),w(A,"%",!0)):U==="|"?M==="%"||j?!0:!(M===Ft||M===We):U===Ft?(h.peek(),w(!0,Ft,j)):U===We?(h.peek(),w(!0,We,j)):!0},P=w();return p&&h.resetPeek(),P}function q(h,p){const w=h.currentChar();return w===Qt?Qt:p(w)?(h.next(),w):null}function ie(h){return q(h,w=>{const P=w.charCodeAt(0);return P>=97&&P<=122||P>=65&&P<=90||P>=48&&P<=57||P===95||P===36})}function oe(h){return q(h,w=>{const P=w.charCodeAt(0);return P>=48&&P<=57})}function H(h){return q(h,w=>{const P=w.charCodeAt(0);return P>=48&&P<=57||P>=65&&P<=70||P>=97&&P<=102})}function Q(h){let p="",w="";for(;p=oe(h);)w+=p;return w}function z(h){L(h);const p=h.currentChar();return p!=="%"&&f(de.EXPECTED_TOKEN,o(),0,p),h.next(),"%"}function Ue(h){let p="";for(;;){const w=h.currentChar();if(w==="{"||w==="}"||w==="@"||w==="|"||!w)break;if(w==="%")if(x(h))p+=w,h.next();else break;else if(w===Ft||w===We)if(x(h))p+=w,h.next();else{if(I(h))break;p+=w,h.next()}else p+=w,h.next()}return p}function nt(h){L(h);let p="",w="";for(;p=ie(h);)w+=p;return h.currentChar()===Qt&&f(de.UNTERMINATED_CLOSING_BRACE,o(),0),w}function Re(h){L(h);let p="";return h.currentChar()==="-"?(h.next(),p+=`-${Q(h)}`):p+=Q(h),h.currentChar()===Qt&&f(de.UNTERMINATED_CLOSING_BRACE,o(),0),p}function Oe(h){L(h),b(h,"'");let p="",w="";const P=M=>M!==Sl&&M!==We;for(;p=q(h,P);)p==="\\"?w+=Ct(h):w+=p;const A=h.currentChar();return A===We||A===Qt?(f(de.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),A===We&&(h.next(),b(h,"'")),w):(b(h,"'"),w)}function Ct(h){const p=h.currentChar();switch(p){case"\\":case"'":return h.next(),`\\${p}`;case"u":return gt(h,p,4);case"U":return gt(h,p,6);default:return f(de.UNKNOWN_ESCAPE_SEQUENCE,o(),0,p),""}}function gt(h,p,w){b(h,p);let P="";for(let A=0;AA!=="{"&&A!=="}"&&A!==Ft&&A!==We;for(;p=q(h,P);)w+=p;return w}function ke(h){let p="",w="";for(;p=ie(h);)w+=p;return w}function D(h){const p=(w=!1,P)=>{const A=h.currentChar();return A==="{"||A==="%"||A==="@"||A==="|"||A==="("||A===")"||!A||A===Ft?P:A===We||A===Kv?(P+=A,h.next(),p(w,P)):(P+=A,h.next(),p(!0,P))};return p(!1,"")}function G(h){L(h);const p=b(h,"|");return L(h),p}function V(h,p){let w=null;switch(h.currentChar()){case"{":return p.braceNest>=1&&f(de.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),h.next(),w=d(p,2,"{"),L(h),p.braceNest++,w;case"}":return p.braceNest>0&&p.currentType===2&&f(de.EMPTY_PLACEHOLDER,o(),0),h.next(),w=d(p,3,"}"),p.braceNest--,p.braceNest>0&&L(h),p.inLinked&&p.braceNest===0&&(p.inLinked=!1),w;case"@":return p.braceNest>0&&f(de.UNTERMINATED_CLOSING_BRACE,o(),0),w=X(h,p)||g(p),p.braceNest=0,w;default:{let A=!0,M=!0,j=!0;if(I(h))return p.braceNest>0&&f(de.UNTERMINATED_CLOSING_BRACE,o(),0),w=d(p,1,G(h)),p.braceNest=0,p.inLinked=!1,w;if(p.braceNest>0&&(p.currentType===5||p.currentType===6||p.currentType===7))return f(de.UNTERMINATED_CLOSING_BRACE,o(),0),p.braceNest=0,ae(h,p);if(A=y(h,p))return w=d(p,5,nt(h)),L(h),w;if(M=m(h,p))return w=d(p,6,Re(h)),L(h),w;if(j=E(h,p))return w=d(p,7,Oe(h)),L(h),w;if(!A&&!M&&!j)return w=d(p,13,Gt(h)),f(de.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,w.value),L(h),w;break}}return w}function X(h,p){const{currentType:w}=p;let P=null;const A=h.currentChar();switch((w===8||w===9||w===12||w===10)&&(A===We||A===Ft)&&f(de.INVALID_LINKED_FORMAT,o(),0),A){case"@":return h.next(),P=d(p,8,"@"),p.inLinked=!0,P;case".":return L(h),h.next(),d(p,9,".");case":":return L(h),h.next(),d(p,10,":");default:return I(h)?(P=d(p,1,G(h)),p.braceNest=0,p.inLinked=!1,P):C(h,p)||k(h,p)?(L(h),X(h,p)):R(h,p)?(L(h),d(p,12,ke(h))):T(h,p)?(L(h),A==="{"?V(h,p)||P:d(p,11,D(h))):(w===8&&f(de.INVALID_LINKED_FORMAT,o(),0),p.braceNest=0,p.inLinked=!1,ae(h,p))}}function ae(h,p){let w={type:14};if(p.braceNest>0)return V(h,p)||g(p);if(p.inLinked)return X(h,p)||g(p);switch(h.currentChar()){case"{":return V(h,p)||g(p);case"}":return f(de.UNBALANCED_CLOSING_BRACE,o(),0),h.next(),d(p,3,"}");case"@":return X(h,p)||g(p);default:{if(I(h))return w=d(p,1,G(h)),p.braceNest=0,p.inLinked=!1,w;const{isModulo:A,hasSpace:M}=F(h);if(A)return M?d(p,0,Ue(h)):d(p,4,z(h));if(x(h))return d(p,0,Ue(h));break}}return w}function ye(){const{currentType:h,offset:p,startLoc:w,endLoc:P}=c;return c.lastType=h,c.lastOffset=p,c.lastStartLoc=w,c.lastEndLoc=P,c.offset=s(),c.startLoc=o(),r.currentChar()===Qt?d(c,14):ae(r,c)}return{nextToken:ye,currentOffset:s,currentPosition:o,context:l}}const Yv="parser",Xv=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function zv(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function Jv(e={}){const t=e.location!==!1,{onError:n}=e;function r(_,v,y,m,...E){const C=_.currentPosition();if(C.offset+=m,C.column+=m,n){const R=t?Fi(y,C):null,k=Po(v,R,{domain:Yv,args:E});n(k)}}function s(_,v,y){const m={type:_};return t&&(m.start=v,m.end=v,m.loc={start:y,end:y}),m}function o(_,v,y,m){m&&(_.type=m),t&&(_.end=v,_.loc&&(_.loc.end=y))}function i(_,v){const y=_.context(),m=s(3,y.offset,y.startLoc);return m.value=v,o(m,_.currentOffset(),_.currentPosition()),m}function a(_,v){const y=_.context(),{lastOffset:m,lastStartLoc:E}=y,C=s(5,m,E);return C.index=parseInt(v,10),_.nextToken(),o(C,_.currentOffset(),_.currentPosition()),C}function c(_,v){const y=_.context(),{lastOffset:m,lastStartLoc:E}=y,C=s(4,m,E);return C.key=v,_.nextToken(),o(C,_.currentOffset(),_.currentPosition()),C}function l(_,v){const y=_.context(),{lastOffset:m,lastStartLoc:E}=y,C=s(9,m,E);return C.value=v.replace(Xv,zv),_.nextToken(),o(C,_.currentOffset(),_.currentPosition()),C}function u(_){const v=_.nextToken(),y=_.context(),{lastOffset:m,lastStartLoc:E}=y,C=s(8,m,E);return v.type!==12?(r(_,de.UNEXPECTED_EMPTY_LINKED_MODIFIER,y.lastStartLoc,0),C.value="",o(C,m,E),{nextConsumeToken:v,node:C}):(v.value==null&&r(_,de.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Lt(v)),C.value=v.value||"",o(C,_.currentOffset(),_.currentPosition()),{node:C})}function f(_,v){const y=_.context(),m=s(7,y.offset,y.startLoc);return m.value=v,o(m,_.currentOffset(),_.currentPosition()),m}function d(_){const v=_.context(),y=s(6,v.offset,v.startLoc);let m=_.nextToken();if(m.type===9){const E=u(_);y.modifier=E.node,m=E.nextConsumeToken||_.nextToken()}switch(m.type!==10&&r(_,de.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Lt(m)),m=_.nextToken(),m.type===2&&(m=_.nextToken()),m.type){case 11:m.value==null&&r(_,de.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Lt(m)),y.key=f(_,m.value||"");break;case 5:m.value==null&&r(_,de.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Lt(m)),y.key=c(_,m.value||"");break;case 6:m.value==null&&r(_,de.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Lt(m)),y.key=a(_,m.value||"");break;case 7:m.value==null&&r(_,de.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Lt(m)),y.key=l(_,m.value||"");break;default:{r(_,de.UNEXPECTED_EMPTY_LINKED_KEY,v.lastStartLoc,0);const E=_.context(),C=s(7,E.offset,E.startLoc);return C.value="",o(C,E.offset,E.startLoc),y.key=C,o(y,E.offset,E.startLoc),{nextConsumeToken:m,node:y}}}return o(y,_.currentOffset(),_.currentPosition()),{node:y}}function g(_){const v=_.context(),y=v.currentType===1?_.currentOffset():v.offset,m=v.currentType===1?v.endLoc:v.startLoc,E=s(2,y,m);E.items=[];let C=null;do{const T=C||_.nextToken();switch(C=null,T.type){case 0:T.value==null&&r(_,de.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Lt(T)),E.items.push(i(_,T.value||""));break;case 6:T.value==null&&r(_,de.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Lt(T)),E.items.push(a(_,T.value||""));break;case 5:T.value==null&&r(_,de.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Lt(T)),E.items.push(c(_,T.value||""));break;case 7:T.value==null&&r(_,de.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Lt(T)),E.items.push(l(_,T.value||""));break;case 8:{const I=d(_);E.items.push(I.node),C=I.nextConsumeToken||null;break}}}while(v.currentType!==14&&v.currentType!==1);const R=v.currentType===1?v.lastOffset:_.currentOffset(),k=v.currentType===1?v.lastEndLoc:_.currentPosition();return o(E,R,k),E}function b(_,v,y,m){const E=_.context();let C=m.items.length===0;const R=s(1,v,y);R.cases=[],R.cases.push(m);do{const k=g(_);C||(C=k.items.length===0),R.cases.push(k)}while(E.currentType!==14);return C&&r(_,de.MUST_HAVE_MESSAGES_IN_PLURAL,y,0),o(R,_.currentOffset(),_.currentPosition()),R}function S(_){const v=_.context(),{offset:y,startLoc:m}=v,E=g(_);return v.currentType===14?E:b(_,y,m,E)}function L(_){const v=qv(_,Pe({},e)),y=v.context(),m=s(0,y.offset,y.startLoc);return t&&m.loc&&(m.loc.source=_),m.body=S(v),e.onCacheKey&&(m.cacheKey=e.onCacheKey(_)),y.currentType!==14&&r(v,de.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,_[y.offset]||""),o(m,v.currentOffset(),v.currentPosition()),m}return{parse:L}}function Lt(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Qv(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:o=>(n.helpers.add(o),o)}}function Cl(e,t){for(let n=0;nTl(n)),e}function Tl(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;na;function l(L,_){a.code+=L}function u(L,_=!0){const v=_?s:"";l(o?v+" ".repeat(L):v)}function f(L=!0){const _=++a.indentLevel;L&&u(_)}function d(L=!0){const _=--a.indentLevel;L&&u(_)}function g(){u(a.indentLevel)}return{context:c,push:l,indent:f,deindent:d,newline:g,helper:L=>`_${L}`,needIndent:()=>a.needIndent}}function nE(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),sr(e,t.key),t.modifier?(e.push(", "),sr(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function rE(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const s=t.items.length;for(let o=0;o1){e.push(`${n("plural")}([`),e.indent(r());const s=t.cases.length;for(let o=0;o{const n=W(t.mode)?t.mode:"normal",r=W(t.filename)?t.filename:"message.intl",s=!!t.sourceMap,o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` `,i=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],c=tE(e,{mode:n,filename:r,sourceMap:s,breakLineCode:o,needIndent:i});c.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),c.indent(i),a.length>0&&(c.push(`const { ${Ia(a.map(f=>`${f}: _${f}`),", ")} } = ctx`),c.newline()),c.push("return "),sr(c,e),c.deindent(i),c.push("}"),delete e.helpers;const{code:l,map:u}=c.context();return{ast:e,code:l,map:u?u.toJSON():void 0}};function aE(e,t={}){const n=Pe({},t),r=!!n.jit,s=!!n.minify,o=n.optimize==null?!0:n.optimize,a=Jv(n).parse(e);return r?(o&&eE(a),s&&Bn(a),{ast:a,code:""}):(Zv(a,n),iE(a,n))}/*! * core-base v9.11.1 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */function cE(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Oa().__INTLIFY_PROD_DEVTOOLS__=!1)}const hn=[];hn[0]={w:[0],i:[3,0],"[":[4],o:[7]};hn[1]={w:[1],".":[2],"[":[4],o:[7]};hn[2]={w:[2],i:[3,0],0:[3,0]};hn[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};hn[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};hn[5]={"'":[4,0],o:8,l:[5,0]};hn[6]={'"':[4,0],o:8,l:[6,0]};const lE=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function uE(e){return lE.test(e)}function fE(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function dE(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function hE(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:uE(t)?fE(t):"*"+t}function pE(e){const t=[];let n=-1,r=0,s=0,o,i,a,c,l,u,f;const d=[];d[0]=()=>{i===void 0?i=a:i+=a},d[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},d[2]=()=>{d[0](),s++},d[3]=()=>{if(s>0)s--,r=4,d[0]();else{if(s=0,i===void 0||(i=hE(i),i===!1))return!1;d[1]()}};function m(){const b=e[n+1];if(r===5&&b==="'"||r===6&&b==='"')return n++,a="\\"+b,d[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&m())){if(c=dE(o),f=hn[r],l=f[c]||f.l||8,l===8||(r=l[0],l[1]!==void 0&&(u=d[l[1]],u&&(a=o,u()===!1))))return;if(r===7)return t}}const Ll=new Map;function mE(e,t){return ce(e)?e[t]:null}function gE(e,t){if(!ce(e))return null;let n=Ll.get(t);if(n||(n=pE(t),n&&Ll.set(t,n)),!n)return null;const r=n.length;let s=e,o=0;for(;oe,_E=e=>"",bE="text",vE=e=>e.length===0?"":Ia(e),EE=Fv;function Pl(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function wE(e){const t=De(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(De(e.named.count)||De(e.named.n))?De(e.named.count)?e.named.count:De(e.named.n)?e.named.n:t:t}function SE(e,t){t.count||(t.count=e),t.n||(t.n=e)}function CE(e={}){const t=e.locale,n=wE(e),r=ce(e.pluralRules)&&W(t)&&me(e.pluralRules[t])?e.pluralRules[t]:Pl,s=ce(e.pluralRules)&&W(t)&&me(e.pluralRules[t])?Pl:void 0,o=_=>_[r(n,_.length,s)],i=e.list||[],a=_=>i[_],c=e.named||{};De(e.pluralIndex)&&SE(n,c);const l=_=>c[_];function u(_){const v=me(e.messages)?e.messages(_):ce(e.messages)?e.messages[_]:!1;return v||(e.parent?e.parent.message(_):_E)}const f=_=>e.modifiers?e.modifiers[_]:yE,d=le(e.processor)&&me(e.processor.normalize)?e.processor.normalize:vE,m=le(e.processor)&&me(e.processor.interpolate)?e.processor.interpolate:EE,b=le(e.processor)&&W(e.processor.type)?e.processor.type:bE,L={list:a,named:l,plural:o,linked:(_,...v)=>{const[y,g]=v;let E="text",C="";v.length===1?ce(y)?(C=y.modifier||C,E=y.type||E):W(y)&&(C=y||C):v.length===2&&(W(y)&&(C=y||C),W(g)&&(E=g||E));const R=u(_)(L),k=E==="vnode"&&Le(R)&&C?R[0]:R;return C?f(C)(k,E):k},message:u,type:b,interpolate:m,normalize:d,values:Pe({},i,c)};return L}let Br=null;function TE(e){Br=e}function LE(e,t,n){Br&&Br.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const PE=RE("function:translate");function RE(e){return t=>Br&&Br.emit(e,t)}const kE={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},Ud=de.__EXTEND_POINT__,_n=Na(Ud),It={INVALID_ARGUMENT:Ud,INVALID_DATE_ARGUMENT:_n(),INVALID_ISO_DATE_ARGUMENT:_n(),NOT_SUPPORT_NON_STRING_MESSAGE:_n(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:_n(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:_n(),NOT_SUPPORT_LOCALE_TYPE:_n(),__EXTEND_POINT__:_n()};function Bt(e){return Po(e,null,void 0)}function Ma(e,t){return t.locale!=null?Rl(t.locale):Rl(e.locale)}let Qo;function Rl(e){if(W(e))return e;if(me(e)){if(e.resolvedOnce&&Qo!=null)return Qo;if(e.constructor.name==="Function"){const t=e();if(Dv(t))throw Bt(It.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Qo=t}else throw Bt(It.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Bt(It.NOT_SUPPORT_LOCALE_TYPE)}function AE(e,t,n){return[...new Set([n,...Le(t)?t:ce(t)?Object.keys(t):W(t)?[t]:[n]])]}function jd(e,t,n){const r=W(n)?n:Xs,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let o=s.__localeChainCache.get(r);if(!o){o=[];let i=[n];for(;Le(i);)i=kl(o,i,t);const a=Le(t)||!le(t)?t:t.default?t.default:null;i=W(a)?[a]:a,Le(i)&&kl(o,i,!1),s.__localeChainCache.set(r,o)}return o}function kl(e,t,n){let r=!0;for(let s=0;s`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function xE(){return{upper:(e,t)=>t==="text"&&W(e)?e.toUpperCase():t==="vnode"&&ce(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&W(e)?e.toLowerCase():t==="vnode"&&ce(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&W(e)?Ol(e):t==="vnode"&&ce(e)&&"__v_isVNode"in e?Ol(e.children):e}}let Hd;function ME(e){Hd=e}let Bd;function DE(e){Bd=e}let Vd;function FE(e){Vd=e}let Wd=null;const $E=e=>{Wd=e},UE=()=>Wd;let Kd=null;const Il=e=>{Kd=e},jE=()=>Kd;let Nl=0;function HE(e={}){const t=me(e.onWarn)?e.onWarn:$v,n=W(e.version)?e.version:NE,r=W(e.locale)||me(e.locale)?e.locale:Xs,s=me(r)?Xs:r,o=Le(e.fallbackLocale)||le(e.fallbackLocale)||W(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,i=le(e.messages)?e.messages:{[s]:{}},a=le(e.datetimeFormats)?e.datetimeFormats:{[s]:{}},c=le(e.numberFormats)?e.numberFormats:{[s]:{}},l=Pe({},e.modifiers||{},xE()),u=e.pluralRules||{},f=me(e.missing)?e.missing:null,d=Te(e.missingWarn)||qs(e.missingWarn)?e.missingWarn:!0,m=Te(e.fallbackWarn)||qs(e.fallbackWarn)?e.fallbackWarn:!0,b=!!e.fallbackFormat,S=!!e.unresolving,L=me(e.postTranslation)?e.postTranslation:null,_=le(e.processor)?e.processor:null,v=Te(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,g=me(e.messageCompiler)?e.messageCompiler:Hd,E=me(e.messageResolver)?e.messageResolver:Bd||mE,C=me(e.localeFallbacker)?e.localeFallbacker:Vd||AE,R=ce(e.fallbackContext)?e.fallbackContext:void 0,k=e,T=ce(k.__datetimeFormatters)?k.__datetimeFormatters:new Map,I=ce(k.__numberFormatters)?k.__numberFormatters:new Map,F=ce(k.__meta)?k.__meta:{};Nl++;const x={version:n,cid:Nl,locale:r,fallbackLocale:o,messages:i,modifiers:l,pluralRules:u,missing:f,missingWarn:d,fallbackWarn:m,fallbackFormat:b,unresolving:S,postTranslation:L,processor:_,warnHtmlMessage:v,escapeParameter:y,messageCompiler:g,messageResolver:E,localeFallbacker:C,fallbackContext:R,onWarn:t,__meta:F};return x.datetimeFormats=a,x.numberFormats=c,x.__datetimeFormatters=T,x.__numberFormatters=I,__INTLIFY_PROD_DEVTOOLS__&&LE(x,n,F),x}function Da(e,t,n,r,s){const{missing:o,onWarn:i}=e;if(o!==null){const a=o(e,n,t,s);return W(a)?a:t}else return t}function mr(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Zo(e){return n=>BE(n,e)}function BE(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,s=r.c||r.cases;return e.plural(s.reduce((o,i)=>[...o,xl(e,i)],[]))}else return xl(e,n)}function xl(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const r=(t.i||t.items).reduce((s,o)=>[...s,$i(e,o)],[]);return e.normalize(r)}}function $i(e,t){const n=t.t||t.type;switch(n){case 3:{const r=t;return r.v||r.value}case 9:{const r=t;return r.v||r.value}case 4:{const r=t;return e.interpolate(e.named(r.k||r.key))}case 5:{const r=t;return e.interpolate(e.list(r.i!=null?r.i:r.index))}case 6:{const r=t,s=r.m||r.modifier;return e.linked($i(e,r.k||r.key),s?$i(e,s):void 0,e.type)}case 7:{const r=t;return r.v||r.value}case 8:{const r=t;return r.v||r.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const VE=e=>e;let bs=Object.create(null);const or=e=>ce(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function WE(e,t={}){let n=!1;const r=t.onError||jv;return t.onError=s=>{n=!0,r(s)},{...aE(e,t),detectError:n}}function KE(e,t){if(W(e)){Te(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||VE)(e),s=bs[r];if(s)return s;const{ast:o,detectError:i}=WE(e,{...t,location:!1,jit:!0}),a=Zo(o);return i?a:bs[r]=a}else{const n=e.cacheKey;if(n){const r=bs[n];return r||(bs[n]=Zo(e))}else return Zo(e)}}const Ml=()=>"",ct=e=>me(e);function Dl(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:o,fallbackLocale:i,messages:a}=e,[c,l]=Ui(...t),u=Te(l.missingWarn)?l.missingWarn:e.missingWarn,f=Te(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,d=Te(l.escapeParameter)?l.escapeParameter:e.escapeParameter,m=!!l.resolvedMessage,b=W(l.default)||Te(l.default)?Te(l.default)?o?c:()=>c:l.default:n?o?c:()=>c:"",S=n||b!=="",L=Ma(e,l);d&&GE(l);let[_,v,y]=m?[c,L,a[L]||{}]:Gd(e,c,L,i,f,u),g=_,E=c;if(!m&&!(W(g)||or(g)||ct(g))&&S&&(g=b,E=g),!m&&(!(W(g)||or(g)||ct(g))||!W(v)))return s?Ro:c;let C=!1;const R=()=>{C=!0},k=ct(g)?g:qd(e,c,v,g,E,R);if(C)return g;const T=XE(e,v,y,l),I=CE(T),F=qE(e,k,I),x=r?r(F,c):F;if(__INTLIFY_PROD_DEVTOOLS__){const q={timestamp:Date.now(),key:W(c)?c:ct(g)?g.key:"",locale:v||(ct(g)?g.locale:""),format:W(g)?g:ct(g)?g.source:"",message:x};q.meta=Pe({},e.__meta,UE()||{}),PE(q)}return x}function GE(e){Le(e.list)?e.list=e.list.map(t=>W(t)?wl(t):t):ce(e.named)&&Object.keys(e.named).forEach(t=>{W(e.named[t])&&(e.named[t]=wl(e.named[t]))})}function Gd(e,t,n,r,s,o){const{messages:i,onWarn:a,messageResolver:c,localeFallbacker:l}=e,u=l(e,r,n);let f={},d,m=null;const b="translate";for(let S=0;Sr;return l.locale=n,l.key=t,l}const c=i(r,YE(e,n,s,r,a,o));return c.locale=n,c.key=t,c.source=r,c}function qE(e,t,n){return t(n)}function Ui(...e){const[t,n,r]=e,s={};if(!W(t)&&!De(t)&&!ct(t)&&!or(t))throw Bt(It.INVALID_ARGUMENT);const o=De(t)?String(t):(ct(t),t);return De(n)?s.plural=n:W(n)?s.default=n:le(n)&&!Lo(n)?s.named=n:Le(n)&&(s.list=n),De(r)?s.plural=r:W(r)?s.default=r:le(r)&&Pe(s,r),[o,s]}function YE(e,t,n,r,s,o){return{locale:t,key:n,warnHtmlMessage:s,onError:i=>{throw o&&o(i),i},onCacheKey:i=>Ov(t,n,i)}}function XE(e,t,n,r){const{modifiers:s,pluralRules:o,messageResolver:i,fallbackLocale:a,fallbackWarn:c,missingWarn:l,fallbackContext:u}=e,d={locale:t,modifiers:s,pluralRules:o,messages:m=>{let b=i(n,m);if(b==null&&u){const[,,S]=Gd(u,m,t,a,c,l);b=i(S,m)}if(W(b)||or(b)){let S=!1;const _=qd(e,m,t,b,m,()=>{S=!0});return S?Ml:_}else return ct(b)?b:Ml}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),De(r.plural)&&(d.pluralIndex=r.plural),d}function Fl(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:i}=e,{__datetimeFormatters:a}=e,[c,l,u,f]=ji(...t),d=Te(u.missingWarn)?u.missingWarn:e.missingWarn;Te(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const m=!!u.part,b=Ma(e,u),S=i(e,s,b);if(!W(c)||c==="")return new Intl.DateTimeFormat(b,f).format(l);let L={},_,v=null;const y="datetime format";for(let C=0;C{Yd.includes(c)?i[c]=n[c]:o[c]=n[c]}),W(r)?o.locale=r:le(r)&&(i=r),le(s)&&(i=s),[o.key||"",a,o,i]}function $l(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__datetimeFormatters.has(o)&&r.__datetimeFormatters.delete(o)}}function Ul(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:i}=e,{__numberFormatters:a}=e,[c,l,u,f]=Hi(...t),d=Te(u.missingWarn)?u.missingWarn:e.missingWarn;Te(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const m=!!u.part,b=Ma(e,u),S=i(e,s,b);if(!W(c)||c==="")return new Intl.NumberFormat(b,f).format(l);let L={},_,v=null;const y="number format";for(let C=0;C{Xd.includes(c)?i[c]=n[c]:o[c]=n[c]}),W(r)?o.locale=r:le(r)&&(i=r),le(s)&&(i=s),[o.key||"",a,o,i]}function jl(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__numberFormatters.has(o)&&r.__numberFormatters.delete(o)}}cE();/*! + */function cE(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Oa().__INTLIFY_PROD_DEVTOOLS__=!1)}const hn=[];hn[0]={w:[0],i:[3,0],"[":[4],o:[7]};hn[1]={w:[1],".":[2],"[":[4],o:[7]};hn[2]={w:[2],i:[3,0],0:[3,0]};hn[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};hn[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};hn[5]={"'":[4,0],o:8,l:[5,0]};hn[6]={'"':[4,0],o:8,l:[6,0]};const lE=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function uE(e){return lE.test(e)}function fE(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function dE(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function hE(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:uE(t)?fE(t):"*"+t}function pE(e){const t=[];let n=-1,r=0,s=0,o,i,a,c,l,u,f;const d=[];d[0]=()=>{i===void 0?i=a:i+=a},d[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},d[2]=()=>{d[0](),s++},d[3]=()=>{if(s>0)s--,r=4,d[0]();else{if(s=0,i===void 0||(i=hE(i),i===!1))return!1;d[1]()}};function g(){const b=e[n+1];if(r===5&&b==="'"||r===6&&b==='"')return n++,a="\\"+b,d[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&g())){if(c=dE(o),f=hn[r],l=f[c]||f.l||8,l===8||(r=l[0],l[1]!==void 0&&(u=d[l[1]],u&&(a=o,u()===!1))))return;if(r===7)return t}}const Ll=new Map;function gE(e,t){return ce(e)?e[t]:null}function mE(e,t){if(!ce(e))return null;let n=Ll.get(t);if(n||(n=pE(t),n&&Ll.set(t,n)),!n)return null;const r=n.length;let s=e,o=0;for(;oe,_E=e=>"",bE="text",vE=e=>e.length===0?"":Ia(e),EE=Fv;function Pl(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function wE(e){const t=De(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(De(e.named.count)||De(e.named.n))?De(e.named.count)?e.named.count:De(e.named.n)?e.named.n:t:t}function SE(e,t){t.count||(t.count=e),t.n||(t.n=e)}function CE(e={}){const t=e.locale,n=wE(e),r=ce(e.pluralRules)&&W(t)&&ge(e.pluralRules[t])?e.pluralRules[t]:Pl,s=ce(e.pluralRules)&&W(t)&&ge(e.pluralRules[t])?Pl:void 0,o=_=>_[r(n,_.length,s)],i=e.list||[],a=_=>i[_],c=e.named||{};De(e.pluralIndex)&&SE(n,c);const l=_=>c[_];function u(_){const v=ge(e.messages)?e.messages(_):ce(e.messages)?e.messages[_]:!1;return v||(e.parent?e.parent.message(_):_E)}const f=_=>e.modifiers?e.modifiers[_]:yE,d=le(e.processor)&&ge(e.processor.normalize)?e.processor.normalize:vE,g=le(e.processor)&&ge(e.processor.interpolate)?e.processor.interpolate:EE,b=le(e.processor)&&W(e.processor.type)?e.processor.type:bE,L={list:a,named:l,plural:o,linked:(_,...v)=>{const[y,m]=v;let E="text",C="";v.length===1?ce(y)?(C=y.modifier||C,E=y.type||E):W(y)&&(C=y||C):v.length===2&&(W(y)&&(C=y||C),W(m)&&(E=m||E));const R=u(_)(L),k=E==="vnode"&&Le(R)&&C?R[0]:R;return C?f(C)(k,E):k},message:u,type:b,interpolate:g,normalize:d,values:Pe({},i,c)};return L}let Br=null;function TE(e){Br=e}function LE(e,t,n){Br&&Br.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const PE=RE("function:translate");function RE(e){return t=>Br&&Br.emit(e,t)}const kE={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},Ud=de.__EXTEND_POINT__,_n=Na(Ud),It={INVALID_ARGUMENT:Ud,INVALID_DATE_ARGUMENT:_n(),INVALID_ISO_DATE_ARGUMENT:_n(),NOT_SUPPORT_NON_STRING_MESSAGE:_n(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:_n(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:_n(),NOT_SUPPORT_LOCALE_TYPE:_n(),__EXTEND_POINT__:_n()};function Bt(e){return Po(e,null,void 0)}function Ma(e,t){return t.locale!=null?Rl(t.locale):Rl(e.locale)}let Qo;function Rl(e){if(W(e))return e;if(ge(e)){if(e.resolvedOnce&&Qo!=null)return Qo;if(e.constructor.name==="Function"){const t=e();if(Dv(t))throw Bt(It.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Qo=t}else throw Bt(It.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Bt(It.NOT_SUPPORT_LOCALE_TYPE)}function AE(e,t,n){return[...new Set([n,...Le(t)?t:ce(t)?Object.keys(t):W(t)?[t]:[n]])]}function jd(e,t,n){const r=W(n)?n:Xs,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let o=s.__localeChainCache.get(r);if(!o){o=[];let i=[n];for(;Le(i);)i=kl(o,i,t);const a=Le(t)||!le(t)?t:t.default?t.default:null;i=W(a)?[a]:a,Le(i)&&kl(o,i,!1),s.__localeChainCache.set(r,o)}return o}function kl(e,t,n){let r=!0;for(let s=0;s`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function xE(){return{upper:(e,t)=>t==="text"&&W(e)?e.toUpperCase():t==="vnode"&&ce(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&W(e)?e.toLowerCase():t==="vnode"&&ce(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&W(e)?Ol(e):t==="vnode"&&ce(e)&&"__v_isVNode"in e?Ol(e.children):e}}let Hd;function ME(e){Hd=e}let Bd;function DE(e){Bd=e}let Vd;function FE(e){Vd=e}let Wd=null;const $E=e=>{Wd=e},UE=()=>Wd;let Kd=null;const Il=e=>{Kd=e},jE=()=>Kd;let Nl=0;function HE(e={}){const t=ge(e.onWarn)?e.onWarn:$v,n=W(e.version)?e.version:NE,r=W(e.locale)||ge(e.locale)?e.locale:Xs,s=ge(r)?Xs:r,o=Le(e.fallbackLocale)||le(e.fallbackLocale)||W(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,i=le(e.messages)?e.messages:{[s]:{}},a=le(e.datetimeFormats)?e.datetimeFormats:{[s]:{}},c=le(e.numberFormats)?e.numberFormats:{[s]:{}},l=Pe({},e.modifiers||{},xE()),u=e.pluralRules||{},f=ge(e.missing)?e.missing:null,d=Te(e.missingWarn)||qs(e.missingWarn)?e.missingWarn:!0,g=Te(e.fallbackWarn)||qs(e.fallbackWarn)?e.fallbackWarn:!0,b=!!e.fallbackFormat,S=!!e.unresolving,L=ge(e.postTranslation)?e.postTranslation:null,_=le(e.processor)?e.processor:null,v=Te(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,m=ge(e.messageCompiler)?e.messageCompiler:Hd,E=ge(e.messageResolver)?e.messageResolver:Bd||gE,C=ge(e.localeFallbacker)?e.localeFallbacker:Vd||AE,R=ce(e.fallbackContext)?e.fallbackContext:void 0,k=e,T=ce(k.__datetimeFormatters)?k.__datetimeFormatters:new Map,I=ce(k.__numberFormatters)?k.__numberFormatters:new Map,F=ce(k.__meta)?k.__meta:{};Nl++;const x={version:n,cid:Nl,locale:r,fallbackLocale:o,messages:i,modifiers:l,pluralRules:u,missing:f,missingWarn:d,fallbackWarn:g,fallbackFormat:b,unresolving:S,postTranslation:L,processor:_,warnHtmlMessage:v,escapeParameter:y,messageCompiler:m,messageResolver:E,localeFallbacker:C,fallbackContext:R,onWarn:t,__meta:F};return x.datetimeFormats=a,x.numberFormats=c,x.__datetimeFormatters=T,x.__numberFormatters=I,__INTLIFY_PROD_DEVTOOLS__&&LE(x,n,F),x}function Da(e,t,n,r,s){const{missing:o,onWarn:i}=e;if(o!==null){const a=o(e,n,t,s);return W(a)?a:t}else return t}function gr(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Zo(e){return n=>BE(n,e)}function BE(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,s=r.c||r.cases;return e.plural(s.reduce((o,i)=>[...o,xl(e,i)],[]))}else return xl(e,n)}function xl(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const r=(t.i||t.items).reduce((s,o)=>[...s,$i(e,o)],[]);return e.normalize(r)}}function $i(e,t){const n=t.t||t.type;switch(n){case 3:{const r=t;return r.v||r.value}case 9:{const r=t;return r.v||r.value}case 4:{const r=t;return e.interpolate(e.named(r.k||r.key))}case 5:{const r=t;return e.interpolate(e.list(r.i!=null?r.i:r.index))}case 6:{const r=t,s=r.m||r.modifier;return e.linked($i(e,r.k||r.key),s?$i(e,s):void 0,e.type)}case 7:{const r=t;return r.v||r.value}case 8:{const r=t;return r.v||r.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const VE=e=>e;let bs=Object.create(null);const or=e=>ce(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function WE(e,t={}){let n=!1;const r=t.onError||jv;return t.onError=s=>{n=!0,r(s)},{...aE(e,t),detectError:n}}function KE(e,t){if(W(e)){Te(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||VE)(e),s=bs[r];if(s)return s;const{ast:o,detectError:i}=WE(e,{...t,location:!1,jit:!0}),a=Zo(o);return i?a:bs[r]=a}else{const n=e.cacheKey;if(n){const r=bs[n];return r||(bs[n]=Zo(e))}else return Zo(e)}}const Ml=()=>"",ct=e=>ge(e);function Dl(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:o,fallbackLocale:i,messages:a}=e,[c,l]=Ui(...t),u=Te(l.missingWarn)?l.missingWarn:e.missingWarn,f=Te(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,d=Te(l.escapeParameter)?l.escapeParameter:e.escapeParameter,g=!!l.resolvedMessage,b=W(l.default)||Te(l.default)?Te(l.default)?o?c:()=>c:l.default:n?o?c:()=>c:"",S=n||b!=="",L=Ma(e,l);d&&GE(l);let[_,v,y]=g?[c,L,a[L]||{}]:Gd(e,c,L,i,f,u),m=_,E=c;if(!g&&!(W(m)||or(m)||ct(m))&&S&&(m=b,E=m),!g&&(!(W(m)||or(m)||ct(m))||!W(v)))return s?Ro:c;let C=!1;const R=()=>{C=!0},k=ct(m)?m:qd(e,c,v,m,E,R);if(C)return m;const T=XE(e,v,y,l),I=CE(T),F=qE(e,k,I),x=r?r(F,c):F;if(__INTLIFY_PROD_DEVTOOLS__){const q={timestamp:Date.now(),key:W(c)?c:ct(m)?m.key:"",locale:v||(ct(m)?m.locale:""),format:W(m)?m:ct(m)?m.source:"",message:x};q.meta=Pe({},e.__meta,UE()||{}),PE(q)}return x}function GE(e){Le(e.list)?e.list=e.list.map(t=>W(t)?wl(t):t):ce(e.named)&&Object.keys(e.named).forEach(t=>{W(e.named[t])&&(e.named[t]=wl(e.named[t]))})}function Gd(e,t,n,r,s,o){const{messages:i,onWarn:a,messageResolver:c,localeFallbacker:l}=e,u=l(e,r,n);let f={},d,g=null;const b="translate";for(let S=0;Sr;return l.locale=n,l.key=t,l}const c=i(r,YE(e,n,s,r,a,o));return c.locale=n,c.key=t,c.source=r,c}function qE(e,t,n){return t(n)}function Ui(...e){const[t,n,r]=e,s={};if(!W(t)&&!De(t)&&!ct(t)&&!or(t))throw Bt(It.INVALID_ARGUMENT);const o=De(t)?String(t):(ct(t),t);return De(n)?s.plural=n:W(n)?s.default=n:le(n)&&!Lo(n)?s.named=n:Le(n)&&(s.list=n),De(r)?s.plural=r:W(r)?s.default=r:le(r)&&Pe(s,r),[o,s]}function YE(e,t,n,r,s,o){return{locale:t,key:n,warnHtmlMessage:s,onError:i=>{throw o&&o(i),i},onCacheKey:i=>Ov(t,n,i)}}function XE(e,t,n,r){const{modifiers:s,pluralRules:o,messageResolver:i,fallbackLocale:a,fallbackWarn:c,missingWarn:l,fallbackContext:u}=e,d={locale:t,modifiers:s,pluralRules:o,messages:g=>{let b=i(n,g);if(b==null&&u){const[,,S]=Gd(u,g,t,a,c,l);b=i(S,g)}if(W(b)||or(b)){let S=!1;const _=qd(e,g,t,b,g,()=>{S=!0});return S?Ml:_}else return ct(b)?b:Ml}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),De(r.plural)&&(d.pluralIndex=r.plural),d}function Fl(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:i}=e,{__datetimeFormatters:a}=e,[c,l,u,f]=ji(...t),d=Te(u.missingWarn)?u.missingWarn:e.missingWarn;Te(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const g=!!u.part,b=Ma(e,u),S=i(e,s,b);if(!W(c)||c==="")return new Intl.DateTimeFormat(b,f).format(l);let L={},_,v=null;const y="datetime format";for(let C=0;C{Yd.includes(c)?i[c]=n[c]:o[c]=n[c]}),W(r)?o.locale=r:le(r)&&(i=r),le(s)&&(i=s),[o.key||"",a,o,i]}function $l(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__datetimeFormatters.has(o)&&r.__datetimeFormatters.delete(o)}}function Ul(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:i}=e,{__numberFormatters:a}=e,[c,l,u,f]=Hi(...t),d=Te(u.missingWarn)?u.missingWarn:e.missingWarn;Te(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const g=!!u.part,b=Ma(e,u),S=i(e,s,b);if(!W(c)||c==="")return new Intl.NumberFormat(b,f).format(l);let L={},_,v=null;const y="number format";for(let C=0;C{Xd.includes(c)?i[c]=n[c]:o[c]=n[c]}),W(r)?o.locale=r:le(r)&&(i=r),le(s)&&(i=s),[o.key||"",a,o,i]}function jl(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__numberFormatters.has(o)&&r.__numberFormatters.delete(o)}}cE();/*! * vue-i18n v9.11.1 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */const zE="9.11.1";function JE(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Oa().__INTLIFY_PROD_DEVTOOLS__=!1)}const zd=kE.__EXTEND_POINT__,$t=Na(zd);$t(),$t(),$t(),$t(),$t(),$t(),$t(),$t(),$t();const Jd=It.__EXTEND_POINT__,Ye=Na(Jd),dt={UNEXPECTED_RETURN_TYPE:Jd,INVALID_ARGUMENT:Ye(),MUST_BE_CALL_SETUP_TOP:Ye(),NOT_INSTALLED:Ye(),NOT_AVAILABLE_IN_LEGACY_MODE:Ye(),REQUIRED_VALUE:Ye(),INVALID_VALUE:Ye(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Ye(),NOT_INSTALLED_WITH_PROVIDE:Ye(),UNEXPECTED_ERROR:Ye(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Ye(),BRIDGE_SUPPORT_VUE_2_ONLY:Ye(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Ye(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Ye(),__EXTEND_POINT__:Ye()};function Et(e,...t){return Po(e,null,void 0)}const Bi=dn("__translateVNode"),Vi=dn("__datetimeParts"),Wi=dn("__numberParts"),QE=dn("__setPluralRules"),ZE=dn("__injectWithOption"),Ki=dn("__dispose");function Vr(e){if(!ce(e))return e;for(const t in e)if(Ys(e,t))if(!t.includes("."))ce(e[t])&&Vr(e[t]);else{const n=t.split("."),r=n.length-1;let s=e,o=!1;for(let i=0;i{if("locale"in a&&"resource"in a){const{locale:c,resource:l}=a;c?(i[c]=i[c]||{},Rn(l,i[c])):Rn(l,i)}else W(a)&&Rn(JSON.parse(a),i)}),s==null&&o)for(const a in i)Ys(i,a)&&Vr(i[a]);return i}function Zd(e){return e.type}function ew(e,t,n){let r=ce(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Qd(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(ce(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(ce(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Hl(e){return we(On,null,e,0)}const Bl="__INTLIFY_META__",Vl=()=>[],tw=()=>!1;let Wl=0;function Kl(e){return(t,n,r,s)=>e(n,r,Dn()||void 0,s)}const nw=()=>{const e=Dn();let t=null;return e&&(t=Zd(e)[Bl])?{[Bl]:t}:null};function eh(e={},t){const{__root:n,__injectWithOption:r}=e,s=n===void 0,o=e.flatJson,i=Gs?be:An,a=!!e.translateExistCompatible;let c=Te(e.inheritLocale)?e.inheritLocale:!0;const l=i(n&&c?n.locale.value:W(e.locale)?e.locale:Xs),u=i(n&&c?n.fallbackLocale.value:W(e.fallbackLocale)||Le(e.fallbackLocale)||le(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),f=i(Qd(l.value,e)),d=i(le(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),m=i(le(e.numberFormats)?e.numberFormats:{[l.value]:{}});let b=n?n.missingWarn:Te(e.missingWarn)||qs(e.missingWarn)?e.missingWarn:!0,S=n?n.fallbackWarn:Te(e.fallbackWarn)||qs(e.fallbackWarn)?e.fallbackWarn:!0,L=n?n.fallbackRoot:Te(e.fallbackRoot)?e.fallbackRoot:!0,_=!!e.fallbackFormat,v=me(e.missing)?e.missing:null,y=me(e.missing)?Kl(e.missing):null,g=me(e.postTranslation)?e.postTranslation:null,E=n?n.warnHtmlMessage:Te(e.warnHtmlMessage)?e.warnHtmlMessage:!0,C=!!e.escapeParameter;const R=n?n.modifiers:le(e.modifiers)?e.modifiers:{};let k=e.pluralRules||n&&n.pluralRules,T;T=(()=>{s&&Il(null);const O={version:zE,locale:l.value,fallbackLocale:u.value,messages:f.value,modifiers:R,pluralRules:k,missing:y===null?void 0:y,missingWarn:b,fallbackWarn:S,fallbackFormat:_,unresolving:!0,postTranslation:g===null?void 0:g,warnHtmlMessage:E,escapeParameter:C,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};O.datetimeFormats=d.value,O.numberFormats=m.value,O.__datetimeFormatters=le(T)?T.__datetimeFormatters:void 0,O.__numberFormatters=le(T)?T.__numberFormatters:void 0;const N=HE(O);return s&&Il(N),N})(),mr(T,l.value,u.value);function F(){return[l.value,u.value,f.value,d.value,m.value]}const x=ge({get:()=>l.value,set:O=>{l.value=O,T.locale=l.value}}),q=ge({get:()=>u.value,set:O=>{u.value=O,T.fallbackLocale=u.value,mr(T,l.value,O)}}),ie=ge(()=>f.value),oe=ge(()=>d.value),H=ge(()=>m.value);function Q(){return me(g)?g:null}function z(O){g=O,T.postTranslation=O}function Ue(){return v}function nt(O){O!==null&&(y=Kl(O)),v=O,T.missing=y}const Re=(O,N,Z,re,_e,je)=>{F();let Qe;try{__INTLIFY_PROD_DEVTOOLS__,s||(T.fallbackContext=n?jE():void 0),Qe=O(T)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(T.fallbackContext=void 0)}if(Z!=="translate exists"&&De(Qe)&&Qe===Ro||Z==="translate exists"&&!Qe){const[rs,Fn]=N();return n&&L?re(n):_e(rs)}else{if(je(Qe))return Qe;throw Et(dt.UNEXPECTED_RETURN_TYPE)}};function Oe(...O){return Re(N=>Reflect.apply(Dl,null,[N,...O]),()=>Ui(...O),"translate",N=>Reflect.apply(N.t,N,[...O]),N=>N,N=>W(N))}function Ct(...O){const[N,Z,re]=O;if(re&&!ce(re))throw Et(dt.INVALID_ARGUMENT);return Oe(N,Z,Pe({resolvedMessage:!0},re||{}))}function mt(...O){return Re(N=>Reflect.apply(Fl,null,[N,...O]),()=>ji(...O),"datetime format",N=>Reflect.apply(N.d,N,[...O]),()=>Al,N=>W(N))}function Gt(...O){return Re(N=>Reflect.apply(Ul,null,[N,...O]),()=>Hi(...O),"number format",N=>Reflect.apply(N.n,N,[...O]),()=>Al,N=>W(N))}function ke(O){return O.map(N=>W(N)||De(N)||Te(N)?Hl(String(N)):N)}const G={normalize:ke,interpolate:O=>O,type:"vnode"};function V(...O){return Re(N=>{let Z;const re=N;try{re.processor=G,Z=Reflect.apply(Dl,null,[re,...O])}finally{re.processor=null}return Z},()=>Ui(...O),"translate",N=>N[Bi](...O),N=>[Hl(N)],N=>Le(N))}function X(...O){return Re(N=>Reflect.apply(Ul,null,[N,...O]),()=>Hi(...O),"number format",N=>N[Wi](...O),Vl,N=>W(N)||Le(N))}function ae(...O){return Re(N=>Reflect.apply(Fl,null,[N,...O]),()=>ji(...O),"datetime format",N=>N[Vi](...O),Vl,N=>W(N)||Le(N))}function ye(O){k=O,T.pluralRules=k}function h(O,N){return Re(()=>{if(!O)return!1;const Z=W(N)?N:l.value,re=P(Z),_e=T.messageResolver(re,O);return a?_e!=null:or(_e)||ct(_e)||W(_e)},()=>[O],"translate exists",Z=>Reflect.apply(Z.te,Z,[O,N]),tw,Z=>Te(Z))}function p(O){let N=null;const Z=jd(T,u.value,l.value);for(let re=0;re{c&&(l.value=O,T.locale=O,mr(T,l.value,u.value))}),$e(n.fallbackLocale,O=>{c&&(u.value=O,T.fallbackLocale=O,mr(T,l.value,u.value))}));const K={id:Wl,locale:x,fallbackLocale:q,get inheritLocale(){return c},set inheritLocale(O){c=O,O&&n&&(l.value=n.locale.value,u.value=n.fallbackLocale.value,mr(T,l.value,u.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:ie,get modifiers(){return R},get pluralRules(){return k||{}},get isGlobal(){return s},get missingWarn(){return b},set missingWarn(O){b=O,T.missingWarn=b},get fallbackWarn(){return S},set fallbackWarn(O){S=O,T.fallbackWarn=S},get fallbackRoot(){return L},set fallbackRoot(O){L=O},get fallbackFormat(){return _},set fallbackFormat(O){_=O,T.fallbackFormat=_},get warnHtmlMessage(){return E},set warnHtmlMessage(O){E=O,T.warnHtmlMessage=O},get escapeParameter(){return C},set escapeParameter(O){C=O,T.escapeParameter=O},t:Oe,getLocaleMessage:P,setLocaleMessage:A,mergeLocaleMessage:M,getPostTranslationHandler:Q,setPostTranslationHandler:z,getMissingHandler:Ue,setMissingHandler:nt,[QE]:ye};return K.datetimeFormats=oe,K.numberFormats=H,K.rt=Ct,K.te=h,K.tm=w,K.d=mt,K.n=Gt,K.getDateTimeFormat=j,K.setDateTimeFormat=U,K.mergeDateTimeFormat=B,K.getNumberFormat=$,K.setNumberFormat=Y,K.mergeNumberFormat=ee,K[ZE]=r,K[Bi]=V,K[Vi]=ae,K[Wi]=X,K}const Fa={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function rw({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>[...r,...s.type===Me?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},{})}function th(e){return Me}const sw=ht({name:"i18n-t",props:Pe({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>De(e)||!isNaN(e)}},Fa),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||ko({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(f=>f!=="_"),i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=W(e.plural)?+e.plural:e.plural);const a=rw(t,o),c=s[Bi](e.keypath,a,i),l=Pe({},r),u=W(e.tag)||ce(e.tag)?e.tag:th();return bt(u,l,c)}}}),Gl=sw;function ow(e){return Le(e)&&!W(e[0])}function nh(e,t,n,r){const{slots:s,attrs:o}=t;return()=>{const i={part:!0};let a={};e.locale&&(i.locale=e.locale),W(e.format)?i.key=e.format:ce(e.format)&&(W(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((d,m)=>n.includes(m)?Pe({},d,{[m]:e.format[m]}):d,{}));const c=r(e.value,i,a);let l=[i.key];Le(c)?l=c.map((d,m)=>{const b=s[d.type],S=b?b({[d.type]:d.value,index:m,parts:c}):[d.value];return ow(S)&&(S[0].key=`${d.type}-${m}`),S}):W(c)&&(l=[c]);const u=Pe({},o),f=W(e.tag)||ce(e.tag)?e.tag:th();return bt(f,u,l)}}const iw=ht({name:"i18n-n",props:Pe({value:{type:Number,required:!0},format:{type:[String,Object]}},Fa),setup(e,t){const n=e.i18n||ko({useScope:e.scope,__useComponent:!0});return nh(e,t,Xd,(...r)=>n[Wi](...r))}}),ql=iw,aw=ht({name:"i18n-d",props:Pe({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Fa),setup(e,t){const n=e.i18n||ko({useScope:e.scope,__useComponent:!0});return nh(e,t,Yd,(...r)=>n[Vi](...r))}}),Yl=aw;function cw(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function lw(e){const t=i=>{const{instance:a,modifiers:c,value:l}=i;if(!a||!a.$)throw Et(dt.UNEXPECTED_ERROR);const u=cw(e,a.$),f=Xl(l);return[Reflect.apply(u.t,u,[...zl(f)]),u]};return{created:(i,a)=>{const[c,l]=t(a);Gs&&e.global===l&&(i.__i18nWatcher=$e(l.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=l,i.textContent=c},unmounted:i=>{Gs&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:a})=>{if(i.__composer){const c=i.__composer,l=Xl(a);i.textContent=Reflect.apply(c.t,c,[...zl(l)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function Xl(e){if(W(e))return{path:e};if(le(e)){if(!("path"in e))throw Et(dt.REQUIRED_VALUE,"path");return e}else throw Et(dt.INVALID_VALUE)}function zl(e){const{path:t,locale:n,args:r,choice:s,plural:o}=e,i={},a=r||{};return W(n)&&(i.locale=n),De(s)&&(i.plural=s),De(o)&&(i.plural=o),[t,a,i]}function uw(e,t,...n){const r=le(n[0])?n[0]:{},s=!!r.useI18nComponentName;(Te(r.globalInstall)?r.globalInstall:!0)&&([s?"i18n":Gl.name,"I18nT"].forEach(i=>e.component(i,Gl)),[ql.name,"I18nN"].forEach(i=>e.component(i,ql)),[Yl.name,"I18nD"].forEach(i=>e.component(i,Yl))),e.directive("t",lw(t))}const fw=dn("global-vue-i18n");function dw(e={},t){const n=Te(e.globalInjection)?e.globalInjection:!0,r=!0,s=new Map,[o,i]=hw(e),a=dn("");function c(f){return s.get(f)||null}function l(f,d){s.set(f,d)}function u(f){s.delete(f)}{const f={get mode(){return"composition"},get allowComposition(){return r},async install(d,...m){if(d.__VUE_I18N_SYMBOL__=a,d.provide(d.__VUE_I18N_SYMBOL__,f),le(m[0])){const L=m[0];f.__composerExtend=L.__composerExtend,f.__vueI18nExtend=L.__vueI18nExtend}let b=null;n&&(b=Ew(d,f.global)),uw(d,f,...m);const S=d.unmount;d.unmount=()=>{b&&b(),f.dispose(),S()}},get global(){return i},dispose(){o.stop()},__instances:s,__getInstance:c,__setInstance:l,__deleteInstance:u};return f}}function ko(e={}){const t=Dn();if(t==null)throw Et(dt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Et(dt.NOT_INSTALLED);const n=pw(t),r=gw(n),s=Zd(t),o=mw(e,s);if(o==="global")return ew(r,e,s),r;if(o==="parent"){let c=yw(n,t,e.__useComponent);return c==null&&(c=r),c}const i=n;let a=i.__getInstance(t);if(a==null){const c=Pe({},e);"__i18n"in s&&(c.__i18n=s.__i18n),r&&(c.__root=r),a=eh(c),i.__composerExtend&&(a[Ki]=i.__composerExtend(a)),bw(i,t,a),i.__setInstance(t,a)}return a}function hw(e,t,n){const r=Gr();{const s=r.run(()=>eh(e));if(s==null)throw Et(dt.UNEXPECTED_ERROR);return[r,s]}}function pw(e){{const t=Ke(e.isCE?fw:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Et(e.isCE?dt.NOT_INSTALLED_WITH_PROVIDE:dt.UNEXPECTED_ERROR);return t}}function mw(e,t){return Lo(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function gw(e){return e.mode==="composition"?e.global:e.global.__composer}function yw(e,t,n=!1){let r=null;const s=t.root;let o=_w(t,n);for(;o!=null;){const i=e;if(e.mode==="composition"&&(r=i.__getInstance(o)),r!=null||s===o)break;o=o.parent}return r}function _w(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function bw(e,t,n){Xr(()=>{},t),mo(()=>{const r=n;e.__deleteInstance(t);const s=r[Ki];s&&(s(),delete r[Ki])},t)}const vw=["locale","fallbackLocale","availableLocales"],Jl=["t","rt","d","n","tm","te"];function Ew(e,t){const n=Object.create(null);return vw.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o)throw Et(dt.UNEXPECTED_ERROR);const i=Ce(o.value)?{get(){return o.value.value},set(a){o.value.value=a}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,s,i)}),e.config.globalProperties.$i18n=n,Jl.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o||!o.value)throw Et(dt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,o)}),()=>{delete e.config.globalProperties.$i18n,Jl.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}JE();ME(KE);DE(gE);FE(jd);if(__INTLIFY_PROD_DEVTOOLS__){const e=Oa();e.__INTLIFY__=!0,TE(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const ww={lang:{t:0,b:{t:2,i:[{t:3}],s:"Language"}},toggle_dark:{t:0,b:{t:2,i:[{t:3}],s:"Toggle dark mode"}},head:{title:{t:0,b:{t:2,i:[{t:3}],s:"Markdown Resume - Free Online Markdown Resume Maker"}},desc:{t:0,b:{t:2,i:[{t:3}],s:"Free online resume maker, allows you to create your resume in minutes with Markdown!"}},keywords:{t:0,b:{t:2,i:[{t:3}],s:"resume maker, cv maker, curriculum vitae maker, markdown resume, resume.md"}}},landing:{hero:{t:0,b:{t:2,i:[{t:3}],s:"Write your resume in Markdown!"}},desc:{t:0,b:{t:2,i:[{t:3}],s:"is a free and open source tool created to build and manage your resumes as easy as possible, without losing the privacy of your data."}},start:{t:0,b:{t:2,i:[{t:3}],s:"Create My Resume"}},feats:[{title:{t:0,b:{t:2,i:[{t:3}],s:"Simple and Powerful"}},items:{t:0,b:{t:2,i:[{t:3}],s:'Manage multiple resumes
Real-time preview
Export to PDF format
Fully customizable
Pick fonts and add icons
And more features'}}},{title:{t:0,b:{t:2,i:[{t:3}],s:"Privacy First"}},items:{t:0,b:{t:2,i:[{t:3}],s:"Open source and free
Data are saved locally
No login or registration required
No user tracking
No ads"}}}]},resumes:{my_resumes:{t:0,b:{t:2,i:[{t:3}],s:"My Resumes"}},created:{t:0,b:{t:2,i:[{t:3}],s:"Created: "}},updated:{t:0,b:{t:2,i:[{t:3}],s:"Updated: "}},new:{t:0,b:{t:2,i:[{t:3}],s:"New"}},save:{t:0,b:{t:2,i:[{t:3}],s:"Save"}},saveas:{t:0,b:{t:2,i:[{t:3}],s:"Save as..."}},import:{t:0,b:{t:2,i:[{t:3}],s:"Import from..."}},rename:{t:0,b:{t:2,i:[{t:3}],s:"Rename"}},duplicate:{t:0,b:{t:2,i:[{t:3}],s:"Duplicate"}},delete:{t:0,b:{t:2,i:[{t:3}],s:"Delete"}}},import:{title:{t:0,b:{t:2,i:[{t:3}],s:"Import a Markdown file"}},from_local:{t:0,b:{t:2,i:[{t:3}],s:"Drag your file here, or click here to choose a file"}},from_url:{t:0,b:{t:2,i:[{t:3}],s:"Paste file URL"}}},toolbar:{file:{text:{t:0,b:{t:2,i:[{t:3}],s:"Import / Export"}},import:{t:0,b:{t:2,i:[{t:3}],s:"Import Markdown"}},export_pdf:{t:0,b:{t:2,i:[{t:3}],s:"Export PDF"}},export_md:{t:0,b:{t:2,i:[{t:3}],s:"Export Markdown"}}},correct_case:{text:{t:0,b:{t:2,i:[{t:3}],s:"Correct Case"}},desc:{t:0,b:{t:2,i:[{t:3}],s:'Example: "Github" → "GitHub"
Note: the words only including uppercase or lowercase ("GITHUB" or "github") will be left untouched'}},btn:{t:0,b:{t:2,i:[{t:3}],s:"Correct it!"}}},paper:{t:0,b:{t:2,i:[{t:3}],s:"Paper Size"}},font_family:{t:0,b:{t:2,i:[{t:3}],s:"Font Family"}},font_size:{t:0,b:{t:2,i:[{t:3}],s:"Font Size"}},cjk:{t:0,b:{t:2,i:[{t:3}],s:"CJK"}},en:{t:0,b:{t:2,i:[{t:3}],s:"English"}},theme_color:{t:0,b:{t:2,i:[{t:3}],s:"Theme Color"}},paragraph:{t:0,b:{t:2,i:[{t:3}],s:"Paragraph Spacing"}},line:{t:0,b:{t:2,i:[{t:3}],s:"Line Spacing"}},margin:{t:0,b:{t:2,i:[{t:3}],s:"Margin"}},vertical:{t:0,b:{t:2,i:[{t:3}],s:"Top & Bottom"}},horizontal:{t:0,b:{t:2,i:[{t:3}],s:"Left & Right"}}},notification:{save:{t:0,b:{t:2,i:[{t:3}],s:"Your changes have been saved"}},switch:{t:0,b:{t:2,i:[{t:3,v:'Switched to resume "'},{t:4,k:"msg"},{t:3,v:'"'}]}},delete:{t:0,b:{t:2,i:[{t:3,v:'Resume "'},{t:4,k:"msg"},{t:3,v:'" has been deleted'}]}},new:{t:0,b:{t:2,i:[{t:3}],s:"New resume created"}},duplicate:{t:0,b:{t:2,i:[{t:3,v:'Created resume "'},{t:4,k:"old"},{t:3,v:`"'s duplication "`},{t:4,k:"new"},{t:3,v:'"'}]}},correct:{yes:{t:0,b:{t:2,i:[{t:3,v:"Corrected "},{t:4,k:"num"},{t:3,v:" words"}]}},no:{t:0,b:{t:2,i:[{t:3}],s:"All case are correct!"}}},import:{yes:{t:0,b:{t:2,i:[{t:3}],s:"Data has been successfully imported!"}},no:{t:0,b:{t:2,i:[{t:3}],s:"Data format is invalid."}}}}},Sw={lang:{t:0,b:{t:2,i:[{t:3}],s:"Idioma"}},toggle_dark:{t:0,b:{t:2,i:[{t:3}],s:"Cambiar tema claro/oscuro"}},head:{title:{t:0,b:{t:2,i:[{t:3}],s:"Markdown Resume - Generador de CV online GRATUITO!!"}},desc:{t:0,b:{t:2,i:[{t:3}],s:"El creador de currículums vitae en línea gratuito le permite crear su currículum en minutos con Markdown!"}},keywords:{t:0,b:{t:2,i:[{t:3}],s:"generador curriculum, generador cv, generador curriculum vitae, curriculum markdown, markdown cv"}}},landing:{hero:{t:0,b:{t:2,i:[{t:3}],s:"Escribe tu curriculum vitae en Markdown!"}},desc:{t:0,b:{t:2,i:[{t:3}],s:"es una herramienta gratuita y de código abierto creada para crear y administrar sus currículums de la manera más fácil posible, sin perder la privacidad de sus datos."}},start:{t:0,b:{t:2,i:[{t:3}],s:"Crear My Resumen"}},feats:[{title:{t:0,b:{t:2,i:[{t:3}],s:"Simple y poderoso"}},items:{t:0,b:{t:2,i:[{t:3}],s:'Administra multiples curriculums con
Vista previa en tiempo real
Exportar a PDF format
Completamente configurable
Elige fuentes y agrega íconos
Y más funciones'}}},{title:{t:0,b:{t:2,i:[{t:3}],s:"Primero tu privacidad"}},items:{t:0,b:{t:2,i:[{t:3}],s:"Open source, libre y gratuito
Información guardada en tu equipo
No necesita que te registres
No realizamos ningún trackeo ni mostramos publicidad
No ads"}}}]},resumes:{my_resumes:{t:0,b:{t:2,i:[{t:3}],s:"Mis CVs"}},created:{t:0,b:{t:2,i:[{t:3}],s:"Creado: "}},updated:{t:0,b:{t:2,i:[{t:3}],s:"Actualizado: "}},new:{t:0,b:{t:2,i:[{t:3}],s:"Nuevo"}},save:{t:0,b:{t:2,i:[{t:3}],s:"Guardar"}},saveas:{t:0,b:{t:2,i:[{t:3}],s:"Guardar como..."}},import:{t:0,b:{t:2,i:[{t:3}],s:"Importar desde..."}},rename:{t:0,b:{t:2,i:[{t:3}],s:"Renombrar"}},duplicate:{t:0,b:{t:2,i:[{t:3}],s:"Duplicar"}},delete:{t:0,b:{t:2,i:[{t:3}],s:"Eliminar"}}},import:{title:{t:0,b:{t:2,i:[{t:3}],s:"Importar un archivo Markdown"}},from_local:{t:0,b:{t:2,i:[{t:3}],s:"Subir archivo"}},from_url:{t:0,b:{t:2,i:[{t:3}],s:"Pegar desde URL"}}},toolbar:{file:{text:{t:0,b:{t:2,i:[{t:3}],s:"Importar / Exportar"}},import:{t:0,b:{t:2,i:[{t:3}],s:"Importar Markdown"}},export_pdf:{t:0,b:{t:2,i:[{t:3}],s:"Exportar PDF"}},export_md:{t:0,b:{t:2,i:[{t:3}],s:"Exportar Markdown"}}},correct_case:{text:{t:0,b:{t:2,i:[{t:3}],s:"Corregir Mayusculas"}},desc:{t:0,b:{t:2,i:[{t:3}],s:'Ejemplo: "Github" → "GitHub"
Nota: No se modificarán las palabras que sólo contengan mayúsculas o minúsculas ("GITHUB" or "github")'}},btn:{t:0,b:{t:2,i:[{t:3}],s:"Corrígelo!"}}},paper:{t:0,b:{t:2,i:[{t:3}],s:"Tamaño de hoja"}},font_family:{t:0,b:{t:2,i:[{t:3}],s:"Fuente"}},font_size:{t:0,b:{t:2,i:[{t:3}],s:"Tamaño de Fuente"}},cjk:{t:0,b:{t:2,i:[{t:3}],s:"CJK"}},en:{t:0,b:{t:2,i:[{t:3}],s:"Inglés"}},theme_color:{t:0,b:{t:2,i:[{t:3}],s:"Color y tema"}},paragraph:{t:0,b:{t:2,i:[{t:3}],s:"Espaciado de párrafo"}},line:{t:0,b:{t:2,i:[{t:3}],s:"Espaciado de línea"}},margin:{t:0,b:{t:2,i:[{t:3}],s:"Margenes"}},vertical:{t:0,b:{t:2,i:[{t:3}],s:"Arriba & Abajo"}},horizontal:{t:0,b:{t:2,i:[{t:3}],s:"Izquierdo & Derecho"}}},notification:{save:{t:0,b:{t:2,i:[{t:3}],s:"Cambios Guardados"}},switch:{t:0,b:{t:2,i:[{t:3,v:'Cambiando a curriculum "'},{t:4,k:"msg"},{t:3,v:'"'}]}},delete:{t:0,b:{t:2,i:[{t:3,v:'Curriculum "'},{t:4,k:"msg"},{t:3,v:'" has been deleted'}]}},new:{t:0,b:{t:2,i:[{t:3}],s:"Creado nuevo resumen"}},duplicate:{t:0,b:{t:2,i:[{t:3,v:'Created resume "'},{t:4,k:"old"},{t:3,v:`"'s duplication "`},{t:4,k:"new"},{t:3,v:'"'}]}},correct:{yes:{t:0,b:{t:2,i:[{t:3,v:"Corregidos "},{t:4,k:"num"},{t:3,v:" palabras"}]}},no:{t:0,b:{t:2,i:[{t:3}],s:"Buen trabajo, no hubo nada que corregir!"}}},import:{yes:{t:0,b:{t:2,i:[{t:3}],s:"Datos importados correctamente!"}},no:{t:0,b:{t:2,i:[{t:3}],s:"Formato de datos inválido."}}}}},Cw={lang:{t:0,b:{t:2,i:[{t:3}],s:"语言"}},toggle_dark:{t:0,b:{t:2,i:[{t:3}],s:"切换深色模式"}},head:{title:{t:0,b:{t:2,i:[{t:3}],s:"Markdown Resume - 免费的在线简历制作工具"}},desc:{t:0,b:{t:2,i:[{t:3}],s:"免费的在线简历制作工具,使用 Markdown 来轻松制作您的简历!"}},keywords:{t:0,b:{t:2,i:[{t:3}],s:"Markdown 简历, 简历制作, 在线简历"}}},landing:{hero:{t:0,b:{t:2,i:[{t:3}],s:"用 Markdown 写简历!"}},desc:{t:0,b:{t:2,i:[{t:3}],s:"能让您轻松的制作和管理简历,它开源免费,且绝不会(也无法)收集您的数据"}},start:{t:0,b:{t:2,i:[{t:3}],s:"开始制作简历"}},feats:[{title:{t:0,b:{t:2,i:[{t:3}],s:"简单且强大"}},items:{t:0,b:{t:2,i:[{t:3}],s:'创建并管理多份简历
实时预览
导出为 PDF 格式
可定制程度高
轻松切换字体和添加图标
以及更多特性'}}},{title:{t:0,b:{t:2,i:[{t:3}],s:"隐私优先"}},items:{t:0,b:{t:2,i:[{t:3}],s:"开源免费
数据保存在本地
无需登录或注册
没有用户追踪
没有广告"}}}]},resumes:{my_resumes:{t:0,b:{t:2,i:[{t:3}],s:"我的简历"}},created:{t:0,b:{t:2,i:[{t:3}],s:"创建于:"}},updated:{t:0,b:{t:2,i:[{t:3}],s:"更新于:"}},new:{t:0,b:{t:2,i:[{t:3}],s:"新建"}},save:{t:0,b:{t:2,i:[{t:3}],s:"保存"}},saveas:{t:0,b:{t:2,i:[{t:3}],s:"另存为..."}},import:{t:0,b:{t:2,i:[{t:3}],s:"从...导入"}},duplicate:{t:0,b:{t:2,i:[{t:3}],s:"创建副本"}},rename:{t:0,b:{t:2,i:[{t:3}],s:"重命名"}},delete:{t:0,b:{t:2,i:[{t:3}],s:"删除"}}},import:{title:{t:0,b:{t:2,i:[{t:3}],s:"上传一个 Markdown 文件"}},from_local:{t:0,b:{t:2,i:[{t:3}],s:"将文件拖拽至这里,或点击这里以选择文件"}},from_url:{t:0,b:{t:2,i:[{t:3}],s:"粘贴文件 URL"}}},toolbar:{file:{text:{t:0,b:{t:2,i:[{t:3}],s:"导入 / 导出"}},import:{t:0,b:{t:2,i:[{t:3}],s:"导入 Markdown"}},export_pdf:{t:0,b:{t:2,i:[{t:3}],s:"导出为 PDF"}},export_md:{t:0,b:{t:2,i:[{t:3}],s:"导出为 Markdown"}}},correct_case:{text:{t:0,b:{t:2,i:[{t:3}],s:"专有名词大小写修正"}},desc:{t:0,b:{t:2,i:[{t:3}],s:'例如:"Github" → "GitHub"
注意:不会修正全为大写或小写字母的单词(如 "GITHUB" 或 "github")'}},btn:{t:0,b:{t:2,i:[{t:3}],s:"修正"}}},paper:{t:0,b:{t:2,i:[{t:3}],s:"纸张尺寸"}},font_family:{t:0,b:{t:2,i:[{t:3}],s:"字体"}},font_size:{t:0,b:{t:2,i:[{t:3}],s:"字号"}},cjk:{t:0,b:{t:2,i:[{t:3}],s:"中日韩"}},en:{t:0,b:{t:2,i:[{t:3}],s:"英文"}},theme_color:{t:0,b:{t:2,i:[{t:3}],s:"主题色"}},paragraph:{t:0,b:{t:2,i:[{t:3}],s:"段间距"}},line:{t:0,b:{t:2,i:[{t:3}],s:"行间距"}},margin:{t:0,b:{t:2,i:[{t:3}],s:"页边距"}},vertical:{t:0,b:{t:2,i:[{t:3}],s:"上下"}},horizontal:{t:0,b:{t:2,i:[{t:3}],s:"左右"}}},notification:{save:{t:0,b:{t:2,i:[{t:3}],s:"保存成功"}},switch:{t:0,b:{t:2,i:[{t:3,v:'已切换到简历 "'},{t:4,k:"msg"},{t:3,v:'"'}]}},delete:{t:0,b:{t:2,i:[{t:3,v:'已删除简历 "'},{t:4,k:"msg"},{t:3,v:'"'}]}},new:{t:0,b:{t:2,i:[{t:3}],s:"新建成功"}},duplicate:{t:0,b:{t:2,i:[{t:3,v:'已创建简历 "'},{t:4,k:"old"},{t:3,v:'" 的副本 "'},{t:4,k:"new"},{t:3,v:'"'}]}},correct:{yes:{t:0,b:{t:2,i:[{t:3,v:"成功修正 "},{t:4,k:"num"},{t:3,v:" 个单词"}]}},no:{t:0,b:{t:2,i:[{t:3}],s:"您的所有拼写都是正确的!"}}},import:{yes:{t:0,b:{t:2,i:[{t:3}],s:"已成功导入数据!"}},no:{t:0,b:{t:2,i:[{t:3}],s:"数据格式不正确"}}}}},In=["en","sp","zh-cn"],zs={en:[{key:"../src/i18n/en.yaml",load:()=>Promise.resolve(ww),cache:!0}],sp:[{key:"../src/i18n/sp.yaml",load:()=>Promise.resolve(Sw),cache:!0}],"zh-cn":[{key:"../src/i18n/zh-cn.yaml",load:()=>Promise.resolve(Cw),cache:!0}]},Tw=[()=>He(()=>import("./bC257e71.js"),[],import.meta.url)],Ao=[{code:"en",name:"English",icon:"i-icon-park-outline:english",files:[{path:"i18n/en.yaml"}]},{code:"sp",name:"Spanish",icon:"i-material-symbols:language-spanish",files:[{path:"i18n/sp.yaml"}]},{code:"zh-cn",name:"简体中文",icon:"i-icon-park-outline:chinese",files:[{path:"i18n/zh-cn.yaml"}]}],rh="@nuxtjs/i18n",Lw=!1,Pw="nuxtI18n",Rw="i18n_redirected",Ql="nuxt-i18n-slp",Ir=new Map;async function kw(e,t){const n={messages:{}};for(const r of e){const{default:s}=await r(),o=typeof s=="function"?await t.runWithContext(async()=>await s()):s;Rn(o,n)}return n}function sh(e,t){let n=[];if(Le(e))n=e;else if(ce(e)){const r=[...t,"default"];for(const s of r)e[s]&&(n=[...n,...e[s].filter(Boolean)])}else W(e)&&t.every(r=>r!==e)&&n.push(e);return n}async function Aw(e,t,n){const{defaultLocale:r,initialLocale:s,localeCodes:o,fallbackLocale:i,lazy:a}=n;if(a&&i){const l=sh(i,[r,s]);await Promise.all(l.map(u=>Zl(u,t,e)))}const c=a?[...new Set().add(r).add(s)]:o;return await Promise.all(c.map(l=>Zl(l,t,e))),e}async function Ow(e,{key:t,load:n}){let r=null;try{const s=await n().then(o=>o.default||o);me(s)?r=await s(e):(r=s,r!=null&&Ir&&Ir.set(t,r))}catch(s){console.error("Failed locale loading: "+s.message)}return r}async function Js(e,t,n){const r=t[e];if(r==null){console.warn("Could not find messages for locale code: "+e);return}const s={};for(const o of r){let i=null;Ir&&Ir.has(o.key)&&o.cache?i=Ir.get(o.key):i=await Ow(e,o),i!=null&&Rn(i,s)}n(e,s)}async function Zl(e,t,n){await Js(e,t,(s,o)=>{const i=n[s]||{};Rn(o,i),n[s]=i})}const Iw=typeof window<"u";function Nw(e){e=e||[];const t=[];for(const n of e)W(n)?t.push({code:n}):t.push(n);return t}function xw(e){return e!=null&&"global"in e&&"mode"in e}function Mw(e){return e!=null&&!("__composer"in e)&&"locale"in e&&Ce(e.locale)}function oh(e){return e!=null&&"__composer"in e}function pn(e){return xw(e)?e.global:e}function ir(e){const t=pn(e);return Mw(t)?t:oh(t)?t.__composer:t}function Oo(e){return ne(pn(e).locale)}function Dw(e){return ne(pn(e).locales)}function Fw(e){return ne(pn(e).localeCodes)}function ih(e,t){const n=pn(e);Ce(n.locale)?n.locale.value=t:n.locale=t}function ah(e){return W(e)?e:Mv(e)?e.toString():"(null)"}function eu(e,t,{defaultLocale:n,strategy:r,routesNameSeparator:s,defaultLocaleRouteNameSuffix:o}){let i=ah(e)+(r==="no_prefix"?"":s+t);return t===n&&r==="prefix_and_default"&&(i+=s+o),i}function tu(e,t){return me(e)?e(t):e}function $w(e,t){const n=[];for(const[r,s]of t.entries()){const o=e.find(i=>i.iso.toLowerCase()===s.toLowerCase());if(o){n.push({code:o.code,score:1-r/t.length});break}}for(const[r,s]of t.entries()){const o=s.split("-")[0].toLowerCase(),i=e.find(a=>a.iso.split("-")[0].toLowerCase()===o);if(i){n.push({code:i.code,score:.999-r/t.length});break}}return n}const Uw=$w;function jw(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}const Hw=jw;function Bw(e,t,{matcher:n=Uw,comparer:r=Hw}={}){const s=[];for(const i of e){const{code:a}=i,c=i.iso||a;s.push({code:a,iso:c})}const o=n(s,t);return o.length>1&&o.sort(r),o.length?o[0].code:""}function Qs(e){return new RegExp(`^/(${e.join("|")})(?:/|$)`,"i")}function Vw(e,t){return[e.slice(0,t),e.slice(t)]}function Ww(e){const{fullPath:t,query:n,hash:r,name:s,path:o,params:i,meta:a,redirectedFrom:c,matched:l}=e;return{fullPath:t,params:i,query:n,hash:r,name:s,path:o,meta:a,matched:l,redirectedFrom:c}}function Kw({router:e},t,n,r){var l,u;if(n!=="prefix")return e.resolve(t);const[s,o]=Vw(t.path,1),i=`${s}${r}${o===""?o:`/${o}`}`,a=(u=(l=e.options)==null?void 0:l.routes)==null?void 0:u.find(f=>f.path===i);if(a==null)return t;const c=Pe({},t,a);return c.path=i,e.resolve(c)}const Gw=new Set(["prefix_and_default","prefix_except_default"]);function qw(e){const{currentLocale:t,defaultLocale:n,strategy:r}=e;return!(t===n&&Gw.has(r))&&r!=="no_prefix"}const Yw=qw;function ar(e,t){const{routesNameSeparator:n}=e.runtimeConfig.public.i18n,r=ne(t);return r==null||!r.name?void 0:ah(r.name).split(n)[0]}function Io(e,t,n){var s;if(typeof t=="string"&&xt(t,{acceptRelative:!0}))return t;const r=No(e,t,n);return r==null?"":((s=r.redirectedFrom)==null?void 0:s.fullPath)||r.fullPath}function $a(e,t,n){return No(e,t,n)??void 0}function Xw(e,t,n){return No(e,t,n)??void 0}function No(e,t,n){const{router:r,i18n:s}=e,o=n||Oo(s),{routesNameSeparator:i,defaultLocale:a,defaultLocaleRouteNameSuffix:c,strategy:l,trailingSlash:u}=e.runtimeConfig.public.i18n,f=u0(e.runtimeConfig);let d;if(W(t))if(t[0]==="/"){const{pathname:S,search:L,hash:_}=Ei(t),v=Wf(L);d={path:S,query:v,hash:_}}else d={name:t};else d=t;let m=Pe({},d);if((S=>"path"in S&&!!S.path&&!("name"in S))(m)){const S=Kw(e,m,l,o),L=ar(e,S);W(L)?(m={name:eu(L,o,{defaultLocale:a,strategy:l,routesNameSeparator:i,defaultLocaleRouteNameSuffix:c}),params:S.params,query:S.query,hash:S.hash},m.state=S.state):(f({currentLocale:o,defaultLocale:a,strategy:l})&&(m.path=`/${o}${m.path}`),m.path=u?Hs(m.path,!0):_o(m.path,!0))}else!m.name&&!("path"in m)&&(m.name=ar(e,r.currentRoute.value)),m.name=eu(m.name,o,{defaultLocale:a,strategy:l,routesNameSeparator:i,defaultLocaleRouteNameSuffix:c});try{const S=r.resolve(m);return S.name?S:r.resolve(t)}catch(S){if(typeof S=="object"&&"type"in S&&S.type===1)return null}}const zw=e=>e;function Jw(e,t){var r;if(e.runtimeConfig.public.i18n.experimental.switchLocalePathLinkSSR)return ne(e.metaState.value);const n=t.meta||{};return((r=ne(n))==null?void 0:r[Pw])||{}}function cr(e,t,n){const r=n??e.router.currentRoute.value,s=ar(e,r);if(!s)return"";const o=f0(e.runtimeConfig),i=Ww(r),a=Jw(e,r)[t],c={...i,name:s,params:{...i.params,...a}},l=Io(e,c,t);return o(l,t)}function ch(e,{addDirAttribute:t=!1,addSeoAttributes:n=!0,identifierAttribute:r="hid"}){const{defaultDirection:s}=pt().public.i18n,o=ir(e.i18n),i={htmlAttrs:{},link:[],meta:[]};if(ne(o.locales)==null||ne(o.baseUrl)==null)return i;const a=Oo(e.i18n),c=Dw(e.i18n),l=Nw(c).find(d=>d.code===a)||{code:a},u=l.iso,f=l.dir||s;return t&&(i.htmlAttrs.dir=f),n&&a&&ne(o.locales)&&(u&&(i.htmlAttrs.lang=u),i.link.push(...Qw(e,ne(c),r),...Zw(e,r,n)),i.meta.push(...e0(e,r,n),...t0(l,u,r),...n0(ne(c),u,r))),i}function Ua(){const e=ir(he().$i18n);return ne(e.baseUrl)}function Qw(e,t,n){const r=Ua(),{defaultLocale:s,strategy:o}=pt().public.i18n,i=[];if(o==="no_prefix")return i;const a=new Map;for(const c of t){const l=c.iso;if(!l){console.warn("Locale ISO code is required to generate alternate link");continue}const[u,f]=l.split("-");u&&f&&(c.isCatchallLocale||!a.has(u))&&a.set(u,c),a.set(l,c)}for(const[c,l]of a.entries()){const u=cr(e,l.code);u&&i.push({[n]:`i18n-alt-${c}`,rel:"alternate",href:Gi(u,r),hreflang:c})}if(s){const c=cr(e,s);c&&i.push({[n]:"i18n-xd",rel:"alternate",href:Gi(c,r),hreflang:"x-default"})}return i}function lh(e,t,n){const r=e.router.currentRoute.value,s=$a(e,{...r,path:void 0,name:ar(e,r)});if(!s)return"";let o=Gi(s.path,t);const i=ce(n)&&n.canonicalQueries||[],a=s.query,c=new URLSearchParams;for(const u of i)if(u in a){const f=a[u];Le(f)?f.forEach(d=>c.append(u,d||"")):c.append(u,f||"")}const l=c.toString();return l&&(o=`${o}?${l}`),o}function Zw(e,t,n){const r=Ua(),s=lh(e,r,n);return s?[{[t]:"i18n-can",rel:"canonical",href:s}]:[]}function e0(e,t,n){const r=Ua(),s=lh(e,r,n);return s?[{[t]:"i18n-og-url",property:"og:url",content:s}]:[]}function t0(e,t,n){return!e||!t?[]:[{[n]:"i18n-og",property:"og:locale",content:uh(t)}]}function n0(e,t,n){return e.filter(s=>s.iso&&s.iso!==t).map(s=>({[n]:`i18n-og-alt-${s.iso}`,property:"og:locale:alternate",content:uh(s.iso)}))}function uh(e){return(e||"").replace(/-/g,"_")}function Gi(e,t){return e.match(/^https?:\/\//)?e:t+e}function r0(e,t){return ts(e,"setLocale",t)}function s0(e,t){return ts(e,"setLocaleCookie",t)}function fh(e,t,n){return ts(e,"mergeLocaleMessage",t,n)}function o0(e,t,n,r,s){return ts(e,"onBeforeLanguageSwitch",t,n,r,s)}function i0(e,t,n){return ts(e,"onLanguageSwitched",t,n)}function ja(e){return{i18n:e??he().$i18n,router:St(),runtimeConfig:pt(),metaState:Zr("nuxt-i18n-meta",()=>({}))}}async function nu(e,t,n,r=!1){const{differentDomains:s,skipSettingLocaleOnNavigate:o,lazy:i}=n,a=ns(n),c=he(),l=Oo(t),u=Fw(t);function f(m=l){a===!1||!a.useCookie||o||s0(t,m)}if(!e||!r&&s||l===e)return f(),!1;const d=await o0(t,l,e,r,c);if(d&&u.includes(d)){if(l===d)return f(),!1;e=d}if(i){const m=h0(t,"fallbackLocale"),b=(S,L)=>fh(t,S,L);if(m){const S=sh(m,[e]);await Promise.all(S.map(L=>Js(L,zs,b)))}await Js(e,zs,b)}return o?!1:(f(e),ih(t,e),await i0(t,l,e),!0)}function ru(e,t,n,r,s,o){const{strategy:i,defaultLocale:a,differentDomains:c}=o,l=ns(o),u=me(r)?r():r,{ssg:f,callType:d,firstAccess:m,localeCookie:b}=s,{locale:S,stat:L,reason:_,from:v}=l?mh(e,n,s,u):ph;if(_==="detect_ignore_on_ssg")return u;if((v==="navigator_or_header"||v==="cookie"||v==="fallback")&&S)return S;let y=S;return y||(c?y=y0(Ao,i,e):i!=="no_prefix"?y=t(e):l||(y=u)),!y&&l&&l.useCookie&&(y=b||""),y||(y=a||""),y}function su({route:e,targetLocale:t,routeLocaleGetter:n,calledWithRouting:r=!1}){const s=he(),o=ja(),{strategy:i,differentDomains:a}=o.runtimeConfig.public.i18n;let c="";const{fullPath:l}=e.to;if(!a&&(r||i!=="no_prefix")&&n(e.to)!==t){const u=s.$switchLocalePath(t)||s.$localePath(l,t);W(u)&&u&&!vi(u,l)&&!u.startsWith("//")&&(c=e.from&&e.from.fullPath===u?"":u)}if((a||!0)&&n(e.to)!==t){const u=cr(o,t,e.to);W(u)&&u&&!vi(u,l)&&!u.startsWith("//")&&(c=u)}return c}function a0(e){return ce(e)&&"path"in e&&"statusCode"in e}const c0=()=>Zr(rh+":redirect",()=>"");function ou(e,t){return Ny(e,{redirectCode:t})}async function iu(e,{status:t=302,enableNavigate:n=!1}={}){const{nuxtApp:r,i18n:s,locale:o,route:i}=e,{rootRedirect:a,differentDomains:c,skipSettingLocaleOnNavigate:l}=r.$config.public.i18n;let{redirectPath:u}=e;if(i.path==="/"&&a)return W(a)?u="/"+a:a0(a)&&(u="/"+a.path,t=a.statusCode),u=r.$localePath(u,o),ou(u,t);if(!(l&&(s.__pendingLocale=o,s.__pendingLocalePromise=new Promise(f=>{s.__resolvePendingLocalePromise=f}),!n))){if(c){const f=c0();f.value&&f.value!==u&&(f.value="",window.location.assign(u))}else if(u)return ou(u,t)}}function l0(e,t){Un(e,"$i18n",pn(t)),Un(e,"$getRouteBaseName",ze(ar)),Un(e,"$localePath",ze(Io)),Un(e,"$localeRoute",ze($a)),Un(e,"$switchLocalePath",ze(cr)),Un(e,"$localeHead",ze(ch))}function u0(e=pt()){return t=>Yw(t)&&!e.public.i18n.differentDomains}function f0(e=pt()){return(t,n)=>{if(e.public.i18n.differentDomains){const r=gh(n);return r?bo(r,t):t}else return zw(t)}}function d0(){return()=>{const e=he(),{baseUrl:t,defaultLocale:n,differentDomains:r}=e.$config.public.i18n;if(me(t))return t(e);const s=me(n)?n():n;if(r&&s){const o=gh(s);if(o)return o}return t}}function dh(e){return rh+" "+e}function ts(e,t,...n){const r=pn(e),[s,o]=[r,r[t]];return Reflect.apply(o,s,[...n])}function h0(e,t){const n=pn(e);return ne(n[t])}function Un(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function ze(e,t=ja()){return(...n)=>e(t,...n)}function hh(){let e;return navigator.languages&&(e=Bw(Ao,navigator.languages)),e}function p0(){const e=ns(),t=e&&e.cookieKey||Rw,n=new Date,r={expires:new Date(n.setDate(n.getDate()+365)),path:"/",sameSite:e&&e.cookieCrossOrigin?"none":"lax",secure:e&&e.cookieCrossOrigin||e&&e.cookieSecure};return e&&e.cookieDomain&&(r.domain=e.cookieDomain),hv(t,r)}function vs(e,t,n){if(t===!1||!t.useCookie)return;const r=e.value??void 0;if(r!=null){if(In.includes(r))return r;if(n)return e.value=n,n;e.value=void 0}}function m0(e,t,n){n===!1||!n.useCookie||(e.value=t)}const ph={locale:"",stat:!1,reason:"unknown",from:"unknown"};function mh(e,t,n,r=""){const{strategy:s}=pt().public.i18n,{ssg:o,callType:i,firstAccess:a,localeCookie:c}=n;if(s==="no_prefix"&&o==="ssg_ignore")return{locale:"",stat:!0,reason:"detect_ignore_on_ssg"};if(!a)return{locale:s==="no_prefix"?r:"",stat:!1,reason:"first_access_only"};const{redirectOn:l,alwaysRedirect:u,useCookie:f,fallbackLocale:d}=ns(),m=W(e)?e:e.path;if(s!=="no_prefix"){if(l==="root"){if(m!=="/")return{locale:"",stat:!1,reason:"not_redirect_on_root"}}else if(l==="no prefix"&&!u&&m.match(Qs(In)))return{locale:"",stat:!1,reason:"not_redirect_on_no_prefix"}}let b="unknown",S,L;f&&(L=S=c,b="cookie"),L||(L=hh(),b="navigator_or_header");const _=L||d;!L&&d&&(b="fallback");const v=r||t;if(_&&(!f||u||!S)){if(s==="no_prefix")return{locale:_,stat:!0,from:b};if(i==="setup"&&_!==v)return{locale:_,stat:!0,from:b};if(u){const y=m==="/",g=l==="all",E=l==="no prefix"&&!m.match(Qs(In));if(y||g||E)return{locale:_,stat:!0,from:b}}}return o==="ssg_setup"&&_?{locale:_,stat:!0,from:b}:(b==="navigator_or_header"||b==="cookie")&&_?{locale:_,stat:!0,from:b}:{locale:"",stat:!1,reason:"not_found_match"}}function g0(){let e;return e=window.location.host,e}function y0(e,t,n){let r=g0()||"";if(r){let s;const o=e.filter(i=>{if(i&&i.domain){let a=i.domain;return xt(i.domain)&&(a=i.domain.replace(/(http|https):\/\//,"")),a===r}return!1});if(o.length===1)s=o[0];else if(o.length>1)if(t==="no_prefix")console.warn(dh("Multiple matching domains found! This is not supported for no_prefix strategy in combination with differentDomains!")),s=o[0];else{if(n){const i=ce(n)?n.path:W(n)?n:"";if(i&&i!==""){const a=i.match(Qs(o.map(c=>c.code)));a&&a.length>1&&(s=o.find(c=>c.code===a[1]))}}s||(s=o.find(i=>i.domainDefault))}if(s)return s.code;r=""}return r}function gh(e){var o,i;const n=pt().public.i18n,r=Ao.find(a=>a.code===e),s=((i=(o=n==null?void 0:n.locales)==null?void 0:o[e])==null?void 0:i.domain)??(r==null?void 0:r.domain);if(s){if(xt(s,{strict:!0}))return s;let a;return a=new URL(window.location.origin).protocol,a+"//"+s}console.warn(dh("Could not find domain name for locale "+e))}const ns=(e=pt().public.i18n)=>(e==null?void 0:e.detectBrowserLanguage)===!1?!1:e==null?void 0:e.detectBrowserLanguage;function IC(){return ze(Io)}function _0(){return ze(cr)}function b0(e,{locales:t=[],localeCodes:n=[],baseUrl:r="",hooks:s={},context:o={}}={}){const i=Gr(),a=e.install;return e.install=(c,...l)=>{const u=w0(l[0])?Pe({},l[0]):{inject:!0};u.inject==null&&(u.inject=!0);const f=u.__composerExtend;if(u.__composerExtend=S=>{const L=ir(e);S.locales=ge(()=>L.locales.value),S.localeCodes=ge(()=>L.localeCodes.value),S.baseUrl=ge(()=>L.baseUrl.value);let _;return me(f)&&(_=Reflect.apply(f,u,[S])),()=>{_&&_()}},e.mode==="legacy"){const S=u.__vueI18nExtend;u.__vueI18nExtend=L=>{au(L,s.onExtendVueI18n);let _;return me(S)&&(_=Reflect.apply(S,u,[L])),()=>{_&&_()}}}l[0]=u,Reflect.apply(a,e,[c,...l]);const d=ir(e);i.run(()=>{v0(d,{locales:t,localeCodes:n,baseUrl:r,hooks:s,context:o}),e.mode==="legacy"&&oh(e.global)&&au(e.global,s.onExtendVueI18n)});const m=c,b=e.mode==="composition"?m.config.globalProperties.$i18n:null;if(b&&E0(b,d,s.onExtendExportedGlobal),u.inject){const S=ja(e);c.mixin({methods:{getRouteBaseName:ze(ar,S),resolveRoute:ze(No,S),localePath:ze(Io,S),localeRoute:ze($a,S),localeLocation:ze(Xw,S),switchLocalePath:ze(cr,S),localeHead:ze(ch,S)}})}if(m.unmount){const S=m.unmount;m.unmount=()=>{i.stop(),S()}}},i}function v0(e,t){const{locales:n,localeCodes:r,baseUrl:s,context:o}=t,i=be(n),a=be(r),c=be("");e.locales=ge(()=>i.value),e.localeCodes=ge(()=>a.value),e.baseUrl=ge(()=>c.value),Iw?$e(e.locale,()=>{c.value=tu(s,o)},{immediate:!0}):c.value=tu(s,o),t.hooks&&t.hooks.onExtendComposer&&t.hooks.onExtendComposer(e)}function yh(e,t,n){const r=[{locales:{get(){return e.locales.value}},localeCodes:{get(){return e.localeCodes.value}},baseUrl:{get(){return e.baseUrl.value}}}];n&&r.push(n(e));for(const s of r)for(const[o,i]of Object.entries(s))Object.defineProperty(t,o,i)}function E0(e,t,n){yh(t,e,n)}function au(e,t){const n=ir(e);yh(n,e,t)}function w0(e){return ce(e)&&("inject"in e||"__composerExtend"in e||"__vueI18nExtend"in e)}function S0(){const{routesNameSeparator:e,defaultLocaleRouteNameSuffix:t}=pt().public.i18n,n=`(${In.join("|")})`,r=`(?:${e}${t})?`,s=new RegExp(`${e}${n}${r}$`,"i"),o=Qs(In);return a=>{if(ce(a)){if(a.name){const l=(W(a.name)?a.name:a.name.toString()).match(s);if(l&&l.length>1)return l[1]}else if(a.path){const c=a.path.match(o);if(c&&c.length>1)return c[1]}}else if(W(a)){const c=a.match(o);if(c&&c.length>1)return c[1]}return""}}const C0=qe({name:"i18n:plugin",parallel:Lw,async setup(e){let t,n;const r=Ta(),{vueApp:s}=e,o=e,i={...o.$config.public.i18n};i.baseUrl=d0();const a=ns(),c=([t,n]=At(()=>kw(Tw,he())),t=await t,n(),t);c.messages=c.messages||{},c.fallbackLocale=c.fallbackLocale??!1;const l=S0(),u=g=>g||c.locale||"en-US",f=p0();let d=ru(r,l,c.locale,u(i.defaultLocale),{ssg:i.strategy==="no_prefix"?"ssg_ignore":"normal",callType:"setup",firstAccess:!0,localeCookie:vs(f,a,i.defaultLocale)},i);c.messages=([t,n]=At(()=>Aw(c.messages,zs,{localeCodes:In,initialLocale:d,lazy:i.lazy,defaultLocale:i.defaultLocale,fallbackLocale:c.fallbackLocale})),t=await t,n(),t),d=u(d);const m=dw({...c,locale:d});let b=!0;const S=g=>d!==g&&b;let L=!0;const _=()=>L;_()&&i.strategy==="no_prefix"&&e.hook("app:mounted",async()=>{const{locale:g,stat:E,reason:C,from:R}=a?mh(r,c.locale,{ssg:"ssg_setup",callType:"setup",firstAccess:!0,localeCookie:vs(f,a,i.defaultLocale)},d):ph;r0(m,g),L=!1}),b0(m,{locales:i.configLocales,localeCodes:In,baseUrl:i.baseUrl,context:o,hooks:{onExtendComposer(g){g.strategy=i.strategy,g.localeProperties=ge(()=>Ao.find(E=>E.code===g.locale.value)||{code:g.locale.value}),g.setLocale=async E=>{const C=S(E);await nu(E,m,i,C)&&C&&(b=!1);const k=await o.runWithContext(()=>su({route:{to:r},targetLocale:E,routeLocaleGetter:l}));await o.runWithContext(async()=>await iu({nuxtApp:o,i18n:m,redirectPath:k,locale:E,route:r},{enableNavigate:!0}))},g.loadLocaleMessages=async E=>{await Js(E,zs,(R,k)=>fh(m,R,k))},g.differentDomains=i.differentDomains,g.defaultLocale=i.defaultLocale,g.getBrowserLocale=()=>hh(),g.getLocaleCookie=()=>vs(f,a,i.defaultLocale),g.setLocaleCookie=E=>m0(f,E,a),g.onBeforeLanguageSwitch=(E,C,R,k)=>e.callHook("i18n:beforeLocaleSwitch",{oldLocale:E,newLocale:C,initialSetup:R,context:k}),g.onLanguageSwitched=(E,C)=>e.callHook("i18n:localeSwitched",{oldLocale:E,newLocale:C}),g.finalizePendingLocaleChange=async()=>{m.__pendingLocale&&(ih(m,m.__pendingLocale),m.__resolvePendingLocalePromise&&await m.__resolvePendingLocalePromise(),m.__pendingLocale=void 0)},g.waitForPendingLocaleChange=async()=>{m.__pendingLocale&&m.__pendingLocalePromise&&await m.__pendingLocalePromise}},onExtendExportedGlobal(g){return{strategy:{get(){return g.strategy}},localeProperties:{get(){return g.localeProperties.value}},setLocale:{get(){return async E=>Reflect.apply(g.setLocale,g,[E])}},differentDomains:{get(){return g.differentDomains}},defaultLocale:{get(){return g.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(g.getBrowserLocale,g,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(g.getLocaleCookie,g,[])}},setLocaleCookie:{get(){return E=>Reflect.apply(g.setLocaleCookie,g,[E])}},onBeforeLanguageSwitch:{get(){return(E,C,R,k)=>Reflect.apply(g.onBeforeLanguageSwitch,g,[E,C,R,k])}},onLanguageSwitched:{get(){return(E,C)=>Reflect.apply(g.onLanguageSwitched,g,[E,C])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(g.finalizePendingLocaleChange,g,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(g.waitForPendingLocaleChange,g,[])}}}},onExtendVueI18n(g){return{strategy:{get(){return g.strategy}},localeProperties:{get(){return g.localeProperties.value}},setLocale:{get(){return async E=>Reflect.apply(g.setLocale,g,[E])}},loadLocaleMessages:{get(){return async E=>Reflect.apply(g.loadLocaleMessages,g,[E])}},differentDomains:{get(){return g.differentDomains}},defaultLocale:{get(){return g.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(g.getBrowserLocale,g,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(g.getLocaleCookie,g,[])}},setLocaleCookie:{get(){return E=>Reflect.apply(g.setLocaleCookie,g,[E])}},onBeforeLanguageSwitch:{get(){return(E,C,R,k)=>Reflect.apply(g.onBeforeLanguageSwitch,g,[E,C,R,k])}},onLanguageSwitched:{get(){return(E,C)=>Reflect.apply(g.onLanguageSwitched,g,[E,C])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(g.finalizePendingLocaleChange,g,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(g.waitForPendingLocaleChange,g,[])}}}}}});const v={__composerExtend:g=>{const E=ir(m);return g.strategy=E.strategy,g.localeProperties=ge(()=>E.localeProperties.value),g.setLocale=E.setLocale,g.differentDomains=E.differentDomains,g.getBrowserLocale=E.getBrowserLocale,g.getLocaleCookie=E.getLocaleCookie,g.setLocaleCookie=E.setLocaleCookie,g.onBeforeLanguageSwitch=E.onBeforeLanguageSwitch,g.onLanguageSwitched=E.onLanguageSwitched,g.finalizePendingLocaleChange=E.finalizePendingLocaleChange,g.waitForPendingLocaleChange=E.waitForPendingLocaleChange,()=>{}}};if(s.use(m,v),l0(o,m),i.experimental.switchLocalePathLinkSSR===!0){const g=_0(),E=new RegExp([``,".+?",``].join(""),"g");e.hook("app:rendered",C=>{var R;((R=C.renderResult)==null?void 0:R.html)!=null&&(C.renderResult.html=C.renderResult.html.replaceAll(E,(k,T)=>k.replace(/href="([^"]+)"/,`href="${g(T??"")}"`)))})}let y=0;Oy("locale-changing",async(g,E)=>{let C,R;const k=ru(g,l,c.locale,()=>Oo(m)||u(i.defaultLocale),{ssg:_()&&i.strategy==="no_prefix"?"ssg_ignore":"normal",callType:"routing",firstAccess:y===0,localeCookie:vs(f,a,i.defaultLocale)},i),T=S(k);([C,R]=At(()=>nu(k,m,i,T)),C=await C,R(),C)&&T&&(b=!1);const F=([C,R]=At(()=>o.runWithContext(()=>su({route:{to:g,from:E},targetLocale:k,routeLocaleGetter:i.strategy==="no_prefix"?()=>k:l,calledWithRouting:!0}))),C=await C,R(),C);return y++,[C,R]=At(()=>o.runWithContext(async()=>iu({nuxtApp:o,i18n:m,redirectPath:F,locale:k,route:g}))),C=await C,R(),C},{global:!0})}}),T0=qe(()=>{}),L0=qe({name:"nuxt:chunk-reload",setup(e){const t=St(),n=pt(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:o})=>{r.add(o)});function s(o){const a="href"in o&&o.href[0]==="#"?n.app.baseURL+o.href:bo(n.app.baseURL,o.fullPath);yv({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}}),P0=[$_,j_,Zb,tv,nv,rv,_v,bv,vv,wv,Pv,Av,C0,T0,L0],cu={pwaInDevEnvironment:!1,webManifest:{href:"/manifest.webmanifest",useCredentials:!1,linkTag:''}},R0=ht({async setup(){if(cu){const e=be({link:[]});pd(e);const{webManifest:t}=cu;if(t){const{href:n,useCredentials:r}=t;r?e.value.link.push({rel:"manifest",href:n,crossorigin:"use-credentials"}):e.value.link.push({rel:"manifest",href:n})}}return()=>null}}),k0=ht({props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,r={};for(const s in e.route)Object.defineProperty(r,s,{get:()=>t===e.renderKey?e.route[s]:n[s]});return Zn(Eo,qr(r)),()=>bt(e.vnode,{ref:e.vnodeRef})}}),A0=ht({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,expose:n}){const r=he(),s=be(),o=Ke(Eo,null);let i;n({pageRef:s});const a=Ke(Ay,null);let c;const l=r.deferHydration();if(r.isHydrating){const u=r.hooks.hookOnce("app:error",l);St().beforeEach(u)}return e.pageKey&&$e(()=>e.pageKey,(u,f)=>{u!==f&&r.callHook("page:loading:start")}),()=>bt(Od,{name:e.name,route:e.route,...t},{default:u=>{const f=I0(o,u.route,u.Component),d=o&&o.matched.length===u.route.matched.length;if(!u.Component){if(c&&!d)return c;l();return}if(c&&a&&!a.isCurrent(u.route))return c;if(f&&o&&(!a||a!=null&&a.isCurrent(o)))return d?c:null;const m=xi(u,e.pageKey);!r.isHydrating&&!N0(o,u.route,u.Component)&&i===m&&r.callHook("page:loading:end"),i=m;const b=!!(e.transition??u.route.meta.pageTransition??Ai),S=b&&O0([e.transition,u.route.meta.pageTransition,Ai,{onAfterLeave:()=>{r.callHook("page:transition:finish",u.Component)}}].filter(Boolean)),L=e.keepalive??u.route.meta.keepalive??A_;return c=Kb(Ea,b&&S,Wb(L,bt(cf,{suspensible:!0,onPending:()=>r.callHook("page:start",u.Component),onResolve:()=>{fn(()=>r.callHook("page:finish",u.Component).then(()=>r.callHook("page:loading:end")).finally(l))}},{default:()=>{const _=bt(k0,{key:m||void 0,vnode:u.Component,route:u.route,renderKey:m||void 0,trackRootNodes:b,vnodeRef:s});return L&&(_.type.name=u.Component.type.name||u.Component.type.__name||"RouteProvider"),_}}))).default(),c}})}});function O0(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?Aa(n.onAfterLeave):void 0}));return od(...t)}function I0(e,t,n){if(!e)return!1;const r=t.matched.findIndex(s=>{var o;return((o=s.components)==null?void 0:o.default)===(n==null?void 0:n.type)});return!r||r===-1?!1:t.matched.slice(0,r).some((s,o)=>{var i,a,c;return((i=s.components)==null?void 0:i.default)!==((c=(a=e.matched[o])==null?void 0:a.components)==null?void 0:c.default)})||n&&xi({route:t,Component:n})!==xi({route:e,Component:n})}function N0(e,t,n){return e?t.matched.findIndex(s=>{var o;return((o=s.components)==null?void 0:o.default)===(n==null?void 0:n.type)})e&&(qi.has(e)?qi.get(e):lu(e)===Object.prototype||lu(e)===Array.prototype),D0=e=>M0(e)&&e[x0]||null,uu=(e,t=!0)=>{qi.set(e,t)};var ei=e=>typeof e=="object"&&e!==null,En=new WeakMap,br=new WeakSet,F0=(e=Object.is,t=(l,u)=>new Proxy(l,u),n=l=>ei(l)&&!br.has(l)&&(Array.isArray(l)||!(Symbol.iterator in l))&&!(l instanceof WeakMap)&&!(l instanceof WeakSet)&&!(l instanceof Error)&&!(l instanceof Number)&&!(l instanceof Date)&&!(l instanceof String)&&!(l instanceof RegExp)&&!(l instanceof ArrayBuffer),r=l=>{switch(l.status){case"fulfilled":return l.value;case"rejected":throw l.reason;default:throw l}},s=new WeakMap,o=(l,u,f=r)=>{const d=s.get(l);if((d==null?void 0:d[0])===u)return d[1];const m=Array.isArray(l)?[]:Object.create(Object.getPrototypeOf(l));return uu(m,!0),s.set(l,[u,m]),Reflect.ownKeys(l).forEach(b=>{const S=Reflect.get(l,b);br.has(S)?(uu(S,!1),m[b]=S):S instanceof Promise?Object.defineProperty(m,b,{get(){return f(S)}}):En.has(S)?m[b]=Cn(S,f):m[b]=S}),Object.freeze(m)},i=new WeakMap,a=[1,1],c=l=>{if(!ei(l))throw new Error("object required");const u=i.get(l);if(u)return u;let f=a[0];const d=new Set,m=(T,I=++a[0])=>{f!==I&&(f=I,d.forEach(F=>F(T,I)))};let b=a[1];const S=(T=++a[1])=>(b!==T&&!d.size&&(b=T,_.forEach(([I])=>{const F=I[1](T);F>f&&(f=F)})),f),L=T=>(I,F)=>{const x=[...I];x[1]=[T,...x[1]],m(x,F)},_=new Map,v=(T,I)=>{if(d.size){const F=I[3](L(T));_.set(T,[I,F])}else _.set(T,[I])},y=T=>{var F;const I=_.get(T);I&&(_.delete(T),(F=I[1])==null||F.call(I))},g=T=>(d.add(T),d.size===1&&_.forEach(([F,x],q)=>{const ie=F[3](L(q));_.set(q,[F,ie])}),()=>{d.delete(T),d.size===0&&_.forEach(([F,x],q)=>{x&&(x(),_.set(q,[F]))})}),E=Array.isArray(l)?[]:Object.create(Object.getPrototypeOf(l)),R=t(E,{deleteProperty(T,I){const F=Reflect.get(T,I);y(I);const x=Reflect.deleteProperty(T,I);return x&&m(["delete",[I],F]),x},set(T,I,F,x){var H;const q=Reflect.has(T,I),ie=Reflect.get(T,I,x);if(q&&(e(ie,F)||i.has(F)&&e(ie,i.get(F))))return!0;y(I),ei(F)&&(F=D0(F)||F);let oe=F;if(!((H=Object.getOwnPropertyDescriptor(T,I))!=null&&H.set))if(F instanceof Promise)F.then(Q=>{Object.assign(F,{status:"fulfilled",value:Q}),m(["resolve",[I],Q])}).catch(Q=>{Object.assign(F,{status:"rejected",reason:Q}),m(["reject",[I],Q])});else{!En.has(F)&&n(F)&&(oe=Ha(F));const Q=!br.has(oe)&&En.get(oe);Q&&v(I,Q)}return Reflect.set(T,I,oe,x),m(["set",[I],F,ie]),!0}});i.set(l,R);const k=[E,S,o,g];return En.set(R,k),Reflect.ownKeys(l).forEach(T=>{const I=Object.getOwnPropertyDescriptor(l,T);I.get||I.set?Object.defineProperty(E,T,I):R[T]=l[T]}),R})=>[c,En,br,e,t,n,r,s,o,i,a],[$0]=F0();function Ha(e={}){return $0(e)}function Zs(e,t,n){const r=En.get(e);let s;const o=[],i=r[3];let a=!1;const l=i(u=>{if(o.push(u),n){t(o.splice(0));return}s||(s=Promise.resolve().then(()=>{s=void 0,a&&t(o.splice(0))}))});return a=!0,()=>{a=!1,l()}}function Cn(e,t){const n=En.get(e),[r,s,o]=n;return o(r,s(),t)}function fu(e){return br.add(e),e}function U0(e,t){Object.keys(t).forEach(s=>{if(Object.getOwnPropertyDescriptor(e,s))throw new Error("object property already defined");const o=t[s],{get:i,set:a}=typeof o=="function"?{get:o}:o,c={};c.get=()=>i(Cn(r)),a&&(c.set=l=>a(r,l)),Object.defineProperty(e,s,c)});const r=Ha(e);return r}function du(e,t,n){typeof n.value=="object"&&(n.value=Wn(n.value)),!n.enumerable||n.get||n.set||!n.configurable||!n.writable||t==="__proto__"?Object.defineProperty(e,t,n):e[t]=n.value}function Wn(e){if(typeof e!="object")return e;var t=0,n,r,s,o=Object.prototype.toString.call(e);if(o==="[object Object]"?s=Object.create(e.__proto__||null):o==="[object Array]"?s=Array(e.length):o==="[object Set]"?(s=new Set,e.forEach(function(i){s.add(Wn(i))})):o==="[object Map]"?(s=new Map,e.forEach(function(i,a){s.set(Wn(a),Wn(i))})):o==="[object Date]"?s=new Date(+e):o==="[object RegExp]"?s=new RegExp(e.source,e.flags):o==="[object DataView]"?s=new e.constructor(Wn(e.buffer)):o==="[object ArrayBuffer]"?s=e.slice(0):o.slice(-6)==="Array]"&&(s=new e.constructor(e)),s){for(r=Object.getOwnPropertySymbols(e);tt in e?j0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,J=(e,t,n)=>(H0(e,typeof t!="symbol"?t+"":t,n),n);function B0(e){for(;e.length>0;)e.pop();return e}var hu=(e,...t)=>(typeof e=="function"?e(...t):e)??void 0,Ut=e=>e,V0=()=>{},pu=(()=>{let e=0;return()=>(e++,e.toString(36))})(),eo=e=>Array.isArray(e),Nr=e=>!(e==null||typeof e!="object"||eo(e)),W0=e=>typeof e=="number"&&!Number.isNaN(e),Ot=e=>typeof e=="string",to=e=>typeof e=="function",K0=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);function no(e){if(!G0(e)||e===void 0)return e;const t=Reflect.ownKeys(e).filter(r=>typeof r=="string"),n={};for(const r of t){const s=e[r];s!==void 0&&(n[r]=no(s))}return n}var G0=e=>e&&typeof e=="object"&&e.constructor===Object;function ti(...e){const t=e.length===1?e[0]:e[1],n=e.length===2?e[0]:!0}function Ps(...e){const t=e.length===1?e[0]:e[1],n=e.length===2?e[0]:!0}function _h(e,...t){for(const n of t){const r=no(n);for(const s in r)Nr(n[s])?(e[s]||(e[s]={}),_h(e[s],n[s])):e[s]=n[s]}return e}function mu(e){return Wn(e)}function gt(e){return Ot(e)?{type:e}:e}function en(e){return e?eo(e)?e.slice():[e]:[]}function bh(e){return Nr(e)&&e.predicate!=null}var q0=()=>!0;function Ba(e,t,n,r){return s=>{var o;return Ot(s)?!!((o=e[s])!=null&&o.call(e,t,n,r)):to(s)?s(t,n,r):s.predicate(e)(t,n,r)}}function Y0(...e){return{predicate:t=>(n,r,s)=>e.map(Ba(t,n,r,s)).some(Boolean)}}function X0(...e){return{predicate:t=>(n,r,s)=>e.map(Ba(t,n,r,s)).every(Boolean)}}function z0(e){return{predicate:t=>(n,r,s)=>!Ba(t,n,r,s)(e)}}function J0(...e){return(t,n,r)=>r.state.matches(...e)}var Q0={or:Y0,and:X0,not:z0,stateIn:J0};function vh(e,t){return e=e??q0,(n,r,s)=>{if(Ot(e)){const o=t[e];return to(o)?o(n,r,s):o}return bh(e)?e.predicate(t)(n,r,s):e==null?void 0:e(n,r,s)}}function ni(e,t){return(n,r,s)=>bh(e)?e.predicate(t)(n,r,s):e}function Z0(e){var o,i;const t=e.computed??Ut({}),n=e.context??Ut({}),r=e.initial?(i=(o=e.states)==null?void 0:o[e.initial])==null?void 0:i.tags:[],s=Ha({value:e.initial??"",previousValue:"",event:Ut({}),previousEvent:Ut({}),context:U0(n,t),done:!1,tags:r??[],hasTag(a){return this.tags.includes(a)},matches(...a){return a.includes(this.value)},can(a){return Ut(this).nextEvents.includes(a)},get nextEvents(){var l,u;const a=((u=(l=e.states)==null?void 0:l[this.value])==null?void 0:u.on)??{},c=(e==null?void 0:e.on)??{};return Object.keys({...a,...c})},get changed(){return this.event.value==="machine.init"||!this.previousValue?!1:this.value!==this.previousValue}});return Ut(s)}function gr(e,t){return(n,r)=>{if(W0(e))return e;if(to(e))return e(n,r);if(Ot(e)){const s=Number.parseFloat(e);if(!Number.isNaN(s))return s;if(t){const o=t==null?void 0:t[e];return Ps(o==null,`[@zag-js/core > determine-delay] Cannot determine delay for \`${e}\`. It doesn't exist in \`options.delays\``),to(o)?o(n,r):o}}}}function eS(e){return Ot(e)?{target:e}:e}function tS(e,t){return(n,r,s)=>en(e).map(eS).find(o=>vh(o.guard,t)(n,r,s)??o.target??o.actions)}var nS=class{constructor(e,t){var n,r,s,o,i;J(this,"status","Not Started"),J(this,"state"),J(this,"initialState"),J(this,"initialContext"),J(this,"id"),J(this,"type","machine"),J(this,"activityEvents",new Map),J(this,"delayedEvents",new Map),J(this,"stateListeners",new Set),J(this,"doneListeners",new Set),J(this,"contextWatchers",new Set),J(this,"removeStateListener",V0),J(this,"parent"),J(this,"children",new Map),J(this,"guardMap"),J(this,"actionMap"),J(this,"delayMap"),J(this,"activityMap"),J(this,"sync"),J(this,"options"),J(this,"config"),J(this,"_created",()=>{var c;const a=gt("machine.created");this.executeActions((c=this.config)==null?void 0:c.created,a)}),J(this,"start",a=>{if(this.state.value="",this.state.tags=[],this.status==="Running")return this;this.status="Running",this.removeStateListener=Zs(this.state,()=>{this.stateListeners.forEach(m=>{m(this.stateSnapshot)})},this.sync),this.setupContextWatchers(),this.executeActivities(gt("machine.start"),en(this.config.activities),"machine.start"),this.executeActions(this.config.entry,gt("machine.start"));const c=gt("machine.init"),l=Nr(a)?a.value:a,u=Nr(a)?a.context:void 0;u&&this.setContext(u);const f={target:l??this.config.initial},d=this.getNextStateInfo(f,c);return this.initialState=d,this.performStateChangeEffects(this.state.value,d,c),this}),J(this,"setupContextWatchers",()=>{const{watch:a}=this.config;if(!a)return;let c=Cn(this.state.context);const l=Zs(this.state.context,()=>{var f;const u=Cn(this.state.context);for(const[d,m]of Object.entries(a))(((f=this.options.compareFns)==null?void 0:f[d])??Object.is)(c[d],u[d])||this.executeActions(m,this.state.event);c=u});this.contextWatchers.add(l)}),J(this,"stop",()=>{if(this.status!=="Stopped")return this.performExitEffects(this.state.value,gt("machine.stop")),this.executeActions(this.config.exit,gt("machine.stop")),this.setState(""),this.setEvent("machine.stop"),this.stopStateListeners(),this.stopChildren(),this.stopActivities(),this.stopDelayedEvents(),this.stopContextWatchers(),this.status="Stopped",this}),J(this,"stopStateListeners",()=>{this.removeStateListener(),this.stateListeners.clear()}),J(this,"stopContextWatchers",()=>{this.contextWatchers.forEach(a=>a()),this.contextWatchers.clear()}),J(this,"stopDelayedEvents",()=>{this.delayedEvents.forEach(a=>{a.forEach(c=>c())}),this.delayedEvents.clear()}),J(this,"stopActivities",a=>{var c,l;a?((c=this.activityEvents.get(a))==null||c.forEach(u=>u()),(l=this.activityEvents.get(a))==null||l.clear(),this.activityEvents.delete(a)):(this.activityEvents.forEach(u=>{u.forEach(f=>f()),u.clear()}),this.activityEvents.clear())}),J(this,"sendChild",(a,c)=>{const l=gt(a),u=hu(c,this.contextSnapshot),f=this.children.get(u);f||Ps(`[@zag-js/core] Cannot send '${l.type}' event to unknown child`),f.send(l)}),J(this,"stopChild",a=>{this.children.has(a)||Ps(`[@zag-js/core > stop-child] Cannot stop unknown child ${a}`),this.children.get(a).stop(),this.children.delete(a)}),J(this,"removeChild",a=>{this.children.delete(a)}),J(this,"stopChildren",()=>{this.children.forEach(a=>a.stop()),this.children.clear()}),J(this,"setParent",a=>{this.parent=a}),J(this,"spawn",(a,c)=>{const l=hu(a);return c&&(l.id=c),l.type="machine.actor",l.setParent(this),this.children.set(l.id,Ut(l)),l.onDone(()=>{this.removeChild(l.id)}).start(),Ut(fu(l))}),J(this,"stopActivity",a=>{var l;if(!this.state.value)return;const c=this.activityEvents.get(this.state.value);(l=c==null?void 0:c.get(a))==null||l(),c==null||c.delete(a)}),J(this,"addActivityCleanup",(a,c,l)=>{var u;a&&(this.activityEvents.has(a)?(u=this.activityEvents.get(a))==null||u.set(c,l):this.activityEvents.set(a,new Map([[c,l]])))}),J(this,"setState",a=>{this.state.previousValue=this.state.value,this.state.value=a;const c=this.getStateNode(a);a==null?B0(this.state.tags):this.state.tags=en(c==null?void 0:c.tags)}),J(this,"setContext",a=>{a&&_h(this.state.context,no(a))}),J(this,"setOptions",a=>{const c=no(a);this.actionMap={...this.actionMap,...c.actions},this.delayMap={...this.delayMap,...c.delays},this.activityMap={...this.activityMap,...c.activities},this.guardMap={...this.guardMap,...c.guards}}),J(this,"getStateNode",a=>{var c;if(a)return(c=this.config.states)==null?void 0:c[a]}),J(this,"getNextStateInfo",(a,c)=>{const l=this.determineTransition(a,c),u=!(l!=null&&l.target),f=(l==null?void 0:l.target)??this.state.value,d=this.state.value!==f,m=this.getStateNode(f),S={reenter:!u&&!d&&!(l!=null&&l.internal),transition:l,stateNode:m,target:f,changed:d};return this.log("NextState:",`[${c.type}]`,this.state.value,"---->",S.target),S}),J(this,"getAfterActions",(a,c)=>{let l;return{entry:()=>{l=globalThis.setTimeout(()=>{const u=this.getNextStateInfo(a,this.state.event);this.performStateChangeEffects(this.state.value,u,this.state.event)},c)},exit:()=>{globalThis.clearTimeout(l)}}}),J(this,"getDelayedEventActions",a=>{const c=this.getStateNode(a),l=this.state.event;if(!c||!c.after)return;const u=[],f=[];if(eo(c.after)){const d=this.determineTransition(c.after,l);if(!d)return;if(!K0(d,"delay"))throw new Error(`[@zag-js/core > after] Delay is required for after transition: ${JSON.stringify(d)}`);const b=gr(d.delay,this.delayMap)(this.contextSnapshot,l),S=this.getAfterActions(d,b);return u.push(S.entry),f.push(S.exit),{entries:u,exits:f}}if(Nr(c.after))for(const d in c.after){const m=c.after[d],S=gr(d,this.delayMap)(this.contextSnapshot,l),L=this.getAfterActions(m,S);u.push(L.entry),f.push(L.exit)}return{entries:u,exits:f}}),J(this,"executeActions",(a,c)=>{var u;const l=ni(a,this.guardMap)(this.contextSnapshot,c,this.guardMeta);for(const f of en(l)){const d=Ot(f)?(u=this.actionMap)==null?void 0:u[f]:f;ti(Ot(f)&&!d,`[@zag-js/core > execute-actions] No implementation found for action: \`${f}\``),d==null||d(this.state.context,c,this.meta)}}),J(this,"executeActivities",(a,c,l)=>{var u;for(const f of c){const d=Ot(f)?(u=this.activityMap)==null?void 0:u[f]:f;if(!d){ti(`[@zag-js/core > execute-activity] No implementation found for activity: \`${f}\``);continue}const m=d(this.state.context,a,this.meta);if(m){const b=Ot(f)?f:f.name||pu();this.addActivityCleanup(l??this.state.value,b,m)}}}),J(this,"createEveryActivities",(a,c)=>{if(a)if(eo(a)){const l=en(a).find(m=>{const b=m.delay,L=gr(b,this.delayMap)(this.contextSnapshot,this.state.event);return vh(m.guard,this.guardMap)(this.contextSnapshot,this.state.event,this.guardMeta)??L!=null});if(!l)return;const f=gr(l.delay,this.delayMap)(this.contextSnapshot,this.state.event);c(()=>{const m=globalThis.setInterval(()=>{this.executeActions(l.actions,this.state.event)},f);return()=>{globalThis.clearInterval(m)}})}else for(const l in a){const u=a==null?void 0:a[l],d=gr(l,this.delayMap)(this.contextSnapshot,this.state.event);c(()=>{const b=globalThis.setInterval(()=>{this.executeActions(u,this.state.event)},d);return()=>{globalThis.clearInterval(b)}})}}),J(this,"setEvent",a=>{this.state.previousEvent=this.state.event,this.state.event=fu(gt(a))}),J(this,"performExitEffects",(a,c)=>{const l=this.state.value;if(l==="")return;const u=a?this.getStateNode(a):void 0;this.stopActivities(l);const f=ni(u==null?void 0:u.exit,this.guardMap)(this.contextSnapshot,c,this.guardMeta),d=en(f),m=this.delayedEvents.get(l);m&&d.push(...m),this.executeActions(d,c)}),J(this,"performEntryEffects",(a,c)=>{const l=this.getStateNode(a),u=en(l==null?void 0:l.activities);this.createEveryActivities(l==null?void 0:l.every,b=>{u.unshift(b)}),u.length>0&&this.executeActivities(c,u);const f=ni(l==null?void 0:l.entry,this.guardMap)(this.contextSnapshot,c,this.guardMeta),d=en(f),m=this.getDelayedEventActions(a);l!=null&&l.after&&m&&(this.delayedEvents.set(a,m==null?void 0:m.exits),d.push(...m.entries)),this.executeActions(d,c),(l==null?void 0:l.type)==="final"&&(this.state.done=!0,this.doneListeners.forEach(b=>{b(this.stateSnapshot)}),this.stop())}),J(this,"performTransitionEffects",(a,c)=>{const l=this.determineTransition(a,c);this.executeActions(l==null?void 0:l.actions,c)}),J(this,"performStateChangeEffects",(a,c,l)=>{this.setEvent(l);const u=c.changed||c.reenter;u&&this.performExitEffects(a,l),this.performTransitionEffects(c.transition,l),this.setState(c.target),u&&this.performEntryEffects(c.target,l)}),J(this,"determineTransition",(a,c)=>{const l=tS(a,this.guardMap);return l==null?void 0:l(this.contextSnapshot,c,this.guardMeta)}),J(this,"sendParent",a=>{var l;this.parent||Ps("[@zag-js/core > send-parent] Cannot send event to an unknown parent");const c=gt(a);(l=this.parent)==null||l.send(c)}),J(this,"log",(...a)=>{}),J(this,"send",a=>{const c=gt(a);this.transition(this.state.value,c)}),J(this,"transition",(a,c)=>{var m,b;const l=Ot(a)?this.getStateNode(a):a==null?void 0:a.stateNode,u=gt(c);if(!l&&!this.config.on){const S=this.status==="Stopped"?"[@zag-js/core > transition] Cannot transition a stopped machine":`[@zag-js/core > transition] State does not have a definition for \`state\`: ${a}, \`event\`: ${u.type}`;ti(S);return}const f=((m=l==null?void 0:l.on)==null?void 0:m[u.type])??((b=this.config.on)==null?void 0:b[u.type]),d=this.getNextStateInfo(f,u);return this.performStateChangeEffects(this.state.value,d,u),d.stateNode}),J(this,"subscribe",a=>(this.stateListeners.add(a),this.status==="Running"&&a(this.stateSnapshot),()=>{this.stateListeners.delete(a)})),J(this,"onDone",a=>(this.doneListeners.add(a),this)),J(this,"onTransition",a=>(this.stateListeners.add(a),this.status==="Running"&&a(this.stateSnapshot),this)),this.config=mu(e),this.options=mu(t??{}),this.id=this.config.id??`machine-${pu()}`,this.guardMap=((n=this.options)==null?void 0:n.guards)??{},this.actionMap=((r=this.options)==null?void 0:r.actions)??{},this.delayMap=((s=this.options)==null?void 0:s.delays)??{},this.activityMap=((o=this.options)==null?void 0:o.activities)??{},this.sync=((i=this.options)==null?void 0:i.sync)??!1,this.state=Z0(this.config),this.initialContext=Cn(this.state.context)}get stateSnapshot(){return Ut(Cn(this.state))}getState(){return this.stateSnapshot}get contextSnapshot(){return this.stateSnapshot.context}get self(){const e=this;return{id:this.id,send:this.send.bind(this),sendParent:this.sendParent.bind(this),sendChild:this.sendChild.bind(this),stop:this.stop.bind(this),stopChild:this.stopChild.bind(this),spawn:this.spawn.bind(this),stopActivity:this.stopActivity.bind(this),get state(){return e.stateSnapshot},get initialContext(){return e.initialContext},get initialState(){var t;return((t=e.initialState)==null?void 0:t.target)??""}}}get meta(){var e;return{state:this.stateSnapshot,guards:this.guardMap,send:this.send.bind(this),self:this.self,initialContext:this.initialContext,initialState:((e=this.initialState)==null?void 0:e.target)??"",getState:()=>this.stateSnapshot,getAction:t=>this.actionMap[t],getGuard:t=>this.guardMap[t]}}get guardMeta(){return{state:this.stateSnapshot}}get[Symbol.toStringTag](){return"Machine"}},Eh=(e,t)=>new nS(e,t),NC=e=>e[0],xC=e=>e[e.length-1],rS=(e,t)=>e.indexOf(t)!==-1,sS=(e,...t)=>e.concat(t),oS=(e,t)=>e.filter(n=>n!==t),MC=(e,t)=>rS(e,t)?oS(e,t):sS(e,t),gu=e=>(e==null?void 0:e.constructor.name)==="Array",iS=(e,t)=>{if(Object.is(e,t))return!0;if(e==null&&t!=null||e!=null&&t==null)return!1;if(typeof(e==null?void 0:e.isEqual)=="function"&&typeof(t==null?void 0:t.isEqual)=="function")return e.isEqual(t);if(typeof e=="function"&&typeof t=="function")return e.toString()===t.toString();if(gu(e)&&gu(t))return Array.from(e).toString()===Array.from(t).toString();if(typeof e!="object"||typeof t!="object")return!1;const n=Object.keys(t??Object.create(null)),r=n.length;for(let s=0;s(typeof e=="function"?e(...t):e)??void 0,DC=()=>{},FC=(...e)=>(...t)=>{e.forEach(function(n){n==null||n(...t)})},aS=(()=>{let e=0;return()=>(e++,e.toString(36))})();function cS(e,t,...n){var s;if(e in t){const o=t[e];return typeof o=="function"?o(...n):o}const r=new Error(`No matching key: ${JSON.stringify(e)} in ${JSON.stringify(Object.keys(t))}`);throw(s=Error.captureStackTrace)==null||s.call(Error,r,cS),r}var lS=(e,t)=>{var n;try{return e()}catch(r){return r instanceof Error&&((n=Error.captureStackTrace)==null||n.call(Error,r,lS)),t==null?void 0:t()}},$C=e=>typeof e=="function",UC=e=>e==null;function Va(e){if(!uS(e)||e===void 0)return e;const t=Reflect.ownKeys(e).filter(r=>typeof r=="string"),n={};for(const r of t){const s=e[r];s!==void 0&&(n[r]=Va(s))}return n}var uS=e=>e&&typeof e=="object"&&e.constructor===Object;function jC(...e){const t=e.length===1?e[0]:e[1],n=e.length===2?e[0]:!0}var Rs=(e,t=[])=>({parts:(...n)=>{if(fS(t))return Rs(e,n);throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?")},extendWith:(...n)=>Rs(e,[...t,...n]),rename:n=>Rs(n,t),keys:()=>t,build:()=>[...new Set(t)].reduce((n,r)=>Object.assign(n,{[r]:{selector:[`&[data-scope="${jn(e)}"][data-part="${jn(r)}"]`,`& [data-scope="${jn(e)}"][data-part="${jn(r)}"]`].join(", "),attrs:{"data-scope":jn(e),"data-part":jn(r)}}}),{})}),jn=e=>e.replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),fS=e=>e.length===0,HC=e=>e?"":void 0,BC=e=>e?"true":void 0,dS=2147483647,Yi=e=>typeof e=="object"&&(e==null?void 0:e.nodeType)===Node.ELEMENT_NODE&&typeof(e==null?void 0:e.nodeName)=="string",wh=e=>e.nodeType===Node.DOCUMENT_NODE,hS=e=>e!=null&&e===e.window,pS=e=>e.nodeType!==void 0,mS=e=>e&&pS(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e;function gS(e,t){return!e||!t||!Yi(e)||!Yi(t)?!1:e===t||e.contains(t)}function yS(e){return wh(e)?e:hS(e)?e.document:(e==null?void 0:e.ownerDocument)??document}function Sh(e){var t;return mS(e)?Sh(e.host):wh(e)?e.defaultView??window:Yi(e)?((t=e.ownerDocument)==null?void 0:t.defaultView)??window:window}function _S(e){var t;return((t=e.composedPath)==null?void 0:t.call(e)[0])??e.target}var VC=e=>gS(e.currentTarget,_S(e)),Ch=e=>e.id;function bS(e,t,n=Ch){return e.find(r=>n(r)===t)}function Th(e,t,n=Ch){const r=bS(e,t,n);return r?e.indexOf(r):-1}function WC(e,t,n=!0){let r=Th(e,t);return r=n?(r+1)%e.length:Math.min(r+1,e.length-1),e[r]}function KC(e,t,n=!0){let r=Th(e,t);return r===-1?n?e[e.length-1]:null:(r=n?(r-1+e.length)%e.length:Math.max(0,r-1),e[r])}var vS=/auto|scroll|overlay|hidden|clip/;function ES(e){const t=Sh(e),{overflow:n,overflowX:r,overflowY:s,display:o}=t.getComputedStyle(e);return vS.test(n+s+r)&&!["inline","contents"].includes(o)}var Lh=()=>typeof document<"u";function wS(){const e=navigator.userAgentData;return(e==null?void 0:e.platform)??navigator.platform}var Ph=e=>Lh()&&e.test(wS()),SS=e=>Lh()&&e.test(navigator.vendor),GC=()=>CS()&&SS(/apple/i),CS=()=>Ph(/mac|iphone|ipad|ipod/i),Rh=()=>Ph(/iP(hone|ad|od)|iOS/);function qC(e,t){return Array.from((e==null?void 0:e.querySelectorAll(t))??[])}function YC(e,t){return(e==null?void 0:e.querySelector(t))??null}function TS(e){const t=new Set;function n(r){const s=globalThis.requestAnimationFrame(r);t.add(()=>globalThis.cancelAnimationFrame(s))}return n(()=>n(e)),function(){t.forEach(s=>s())}}function LS(e){const t=globalThis.requestAnimationFrame(e);return()=>{globalThis.cancelAnimationFrame(t)}}function PS(e){const t={getRootNode:n=>{var r;return((r=n.getRootNode)==null?void 0:r.call(n))??document},getDoc:n=>yS(t.getRootNode(n)),getWin:n=>t.getDoc(n).defaultView??window,getActiveElement:n=>t.getDoc(n).activeElement,isActiveElement:(n,r)=>r===t.getActiveElement(n),getById:(n,r)=>t.getRootNode(n).getElementById(r),setValue:(n,r)=>{if(n==null||r==null)return;const s=r.toString();n.value!==s&&(n.value=r.toString())}};return{...t,...e}}function RS(e){return e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth}function XC(e,t){const{rootEl:n,...r}=t||{};!e||!n||!ES(n)||!RS(n)||e.scrollIntoView(r)}var Kn="default",Xi="",ks=new WeakMap;function kS(e={}){const{target:t,doc:n}=e,r=n??document,s=r.documentElement;return Rh()?(Kn==="default"&&(Xi=s.style.webkitUserSelect,s.style.webkitUserSelect="none"),Kn="disabled"):t&&(ks.set(t,t.style.userSelect),t.style.userSelect="none"),()=>AS({target:t,doc:r})}function AS(e={}){const{target:t,doc:n}=e,s=(n??document).documentElement;if(Rh()){if(Kn!=="disabled")return;Kn="restoring",setTimeout(()=>{TS(()=>{Kn==="restoring"&&(s.style.webkitUserSelect==="none"&&(s.style.webkitUserSelect=Xi||""),Xi="",Kn="default")})},300)}else if(t&&ks.has(t)){const o=ks.get(t);t.style.userSelect==="none"&&(t.style.userSelect=o??""),t.getAttribute("style")===""&&t.removeAttribute("style"),ks.delete(t)}}function OS(e={}){const{defer:t,target:n,...r}=e,s=t?LS:i=>i(),o=[];return o.push(s(()=>{const i=typeof n=="function"?n():n;o.push(kS({...r,target:i}))})),()=>{o.forEach(i=>i==null?void 0:i())}}var vr=(e,t,n,r)=>{const s=typeof e=="function"?e():e;return s==null||s.addEventListener(t,n,r),()=>{s==null||s.removeEventListener(t,n,r)}},zC=e=>e.button===0,JC=e=>e.button===2||IS()&&e.ctrlKey&&e.button===0,QC=e=>e.ctrlKey||e.altKey||e.metaKey,IS=()=>/Mac|iPod|iPhone|iPad/.test(window.navigator.platform);function ZC(e,t,n){if(!e)return;const r=e.ownerDocument.defaultView||window,s=new r.CustomEvent(t,n);return e.dispatchEvent(s)}var NS={Up:"ArrowUp",Down:"ArrowDown",Esc:"Escape"," ":"Space",",":"Comma",Left:"ArrowLeft",Right:"ArrowRight"},_u={ArrowLeft:"ArrowRight",ArrowRight:"ArrowLeft"};function eT(e,t={}){const{dir:n="ltr",orientation:r="horizontal"}=t;let{key:s}=e;return s=NS[s]??s,n==="rtl"&&r==="horizontal"&&s in _u&&(s=_u[s]),s}function xS(e,t="client"){const n=e.touches[0]||e.changedTouches[0];return{x:n[`${t}X`],y:n[`${t}Y`]}}function MS(e,t="client"){return{x:e[`${t}X`],y:e[`${t}Y`]}}var DS=e=>"touches"in e&&e.touches.length>0;function FS(e,t="client"){return DS(e)?xS(e,t):MS(e,t)}var $S=new Set(["PageUp","PageDown"]),US=new Set(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"]);function tT(e){return e.ctrlKey||e.metaKey?.1:$S.has(e.key)||e.shiftKey&&US.has(e.key)?10:1}function nT(e){return e.nativeEvent??e}function bu(e){return Math.max(0,Math.min(1,e))}function rT(e,t){const{left:n,top:r,width:s,height:o}=t.getBoundingClientRect(),i={x:e.x-n,y:e.y-r},a={x:bu(i.x/s),y:bu(i.y/o)};function c(l={}){const{dir:u="ltr",orientation:f="horizontal",inverted:d}=l,m=typeof d=="object"?d.x:d,b=typeof d=="object"?d.y:d;return f==="horizontal"?u==="rtl"||m?1-a.x:a.x:b?1-a.y:a.y}return{offset:i,percent:a,getPercentValue:c}}function sT(e,t){const{onPointerMove:n,onPointerUp:r}=t,s=[],i=[vr(e,"pointermove",a=>{const c=FS(a);s.push({...c,timestamp:performance.now()});const l=Math.sqrt(c.x**2+c.y**2),u=a.pointerType==="touch"?10:5;if(!(l{i.forEach(a=>a()),s.length=0}}function jS(e){return e[e.length-1]}function HS(e){return e*1e3}function BS(e){return e/1e3}function VS(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const s=jS(e);for(;n>=0&&(r=e[n],!(s.timestamp-r.timestamp>HS(t)));)n--;if(!r)return{x:0,y:0};const o=BS(s.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const i={x:(s.x-r.x)/o,y:(s.y-r.y)/o};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),{x:Math.abs(i.x),y:Math.abs(i.y)}}var WS=Rs("toast").parts("group","root","title","description","closeTrigger"),Er=WS.build(),Gn=PS({getGroupId:e=>`toast-group:${e}`,getRootId:e=>`toast:${e.id}`,getTitleId:e=>`toast:${e.id}:title`,getDescriptionId:e=>`toast:${e.id}:description`,getCloseTriggerId:e=>`toast${e.id}:close`});function KS(e){const t={};for(const n of e){const r=n.state.context.placement;t[r]||(t[r]=[]),t[r].push(n)}return t}var GS={info:5e3,error:5e3,success:2e3,loading:1/0,custom:5e3};function vu(e,t){return e??GS[t]}function qS(e,t){const n=e.offsets,r=typeof n=="string"?{left:n,right:n,bottom:n,top:n}:n,s=e.dir==="rtl",o=t.replace("-start",s?"-right":"-left").replace("-end",s?"-left":"-right"),i=o.includes("right"),a=o.includes("left"),c={position:"fixed",pointerEvents:e.count>0?void 0:"none",display:"flex",flexDirection:"column","--toast-gutter":e.gutter,zIndex:e.zIndex};let l="center";if(i&&(l="flex-end"),a&&(l="flex-start"),c.alignItems=l,o.includes("top")){const u=r.top;c.top=`calc(env(safe-area-inset-top, 0px) + ${u})`}if(o.includes("bottom")){const u=r.bottom;c.bottom=`calc(env(safe-area-inset-bottom, 0px) + ${u})`}if(!o.includes("left")){const u=r.right;c.right=`calc(env(safe-area-inset-right, 0px) + ${u})`}if(!o.includes("right")){const u=r.left;c.left=`calc(env(safe-area-inset-left, 0px) + ${u})`}return c}function YS(e,t,n){const r=KS(e.context.toasts);function s(l){return e.context.toasts.length?!!e.context.toasts.find(u=>u.id==l):!1}function o(l){const u=`toast:${aS()}`,f=l.id?l.id:u;if(!s(f))return t({type:"ADD_TOAST",toast:{...l,id:f}}),f}function i(l,u){if(s(l))return t({type:"UPDATE_TOAST",id:l,toast:u}),l}function a(l){const{id:u}=l;return(u?s(u):!1)&&u!=null?i(u,l):o(l)}function c(l){l==null?t("DISMISS_ALL"):s(l)&&t({type:"DISMISS_TOAST",id:l})}return{count:e.context.count,toasts:e.context.toasts,toastsByPlacement:r,isVisible:s,create:o,update:i,upsert:a,dismiss:c,remove(l){l==null?t("REMOVE_ALL"):s(l)&&t({type:"REMOVE_TOAST",id:l})},dismissByPlacement(l){const u=r[l];u&&u.forEach(f=>c(f.id))},loading(l){return a({...l,type:"loading"})},success(l){return a({...l,type:"success"})},error(l){return a({...l,type:"error"})},promise(l,u,f={}){const d=a({...f,...u.loading,type:"loading"});return l.then(m=>{const b=yu(u.success,m);a({...f,...b,id:d,type:"success"})}).catch(m=>{const b=yu(u.error,m);a({...f,...b,id:d,type:"error"})}),l},pause(l){l==null?t("PAUSE_ALL"):s(l)&&t({type:"PAUSE_TOAST",id:l})},resume(l){l==null?t("RESUME_ALL"):s(l)&&t({type:"RESUME_TOAST",id:l})},getGroupProps(l){const{placement:u,label:f="Notifications"}=l;return n.element({...Er.group.attrs,dir:e.context.dir,tabIndex:-1,"aria-label":`${u} ${f}`,id:Gn.getGroupId(u),"data-placement":u,"aria-live":"polite",role:"region",style:qS(e.context,u)})},subscribe(l){return Zs(e.context.toasts,()=>l(e.context.toasts))}}}var{not:XS,and:zS,or:JS}=Q0;function QS(e={}){const{type:t="info",duration:n,id:r="toast",placement:s="bottom",removeDelay:o=0,...i}=e,a=Va(i),c=vu(n,t);return Eh({id:r,entry:"invokeOnOpen",initial:t==="loading"?"persist":"active",context:{id:r,type:t,remaining:c,duration:c,removeDelay:o,createdAt:Date.now(),placement:s,...a},on:{UPDATE:[{guard:zS("hasTypeChanged","isChangingToLoading"),target:"persist",actions:["setContext","invokeOnUpdate"]},{guard:JS("hasDurationChanged","hasTypeChanged"),target:"active:temp",actions:["setContext","invokeOnUpdate"]},{actions:["setContext","invokeOnUpdate"]}]},states:{"active:temp":{tags:["visible","updating"],after:{0:"active"}},persist:{tags:["visible","paused"],activities:"trackDocumentVisibility",on:{RESUME:{guard:XS("isLoadingType"),target:"active",actions:["setCreatedAt"]},DISMISS:"dismissing"}},active:{tags:["visible"],activities:"trackDocumentVisibility",after:{VISIBLE_DURATION:"dismissing"},on:{DISMISS:"dismissing",PAUSE:{target:"persist",actions:"setRemainingDuration"}}},dismissing:{entry:"invokeOnClosing",after:{REMOVE_DELAY:{target:"inactive",actions:"notifyParentToRemove"}}},inactive:{entry:"invokeOnClose",type:"final"}}},{activities:{trackDocumentVisibility(l,u,{send:f}){if(!l.pauseOnPageIdle)return;const d=Gn.getDoc(l);return vr(d,"visibilitychange",()=>{f(d.visibilityState==="hidden"?"PAUSE":"RESUME")})}},guards:{isChangingToLoading:(l,u)=>{var f;return((f=u.toast)==null?void 0:f.type)==="loading"},isLoadingType:l=>l.type==="loading",hasTypeChanged:(l,u)=>{var f;return((f=u.toast)==null?void 0:f.type)!==l.type},hasDurationChanged:(l,u)=>{var f;return((f=u.toast)==null?void 0:f.duration)!==l.duration}},delays:{VISIBLE_DURATION:l=>l.remaining,REMOVE_DELAY:l=>l.removeDelay},actions:{setRemainingDuration(l){l.remaining-=Date.now()-l.createdAt},setCreatedAt(l){l.createdAt=Date.now()},notifyParentToRemove(l,u,{self:f}){f.sendParent({type:"REMOVE_TOAST",id:f.id})},invokeOnClosing(l){var u;(u=l.onClosing)==null||u.call(l)},invokeOnClose(l){var u;(u=l.onClose)==null||u.call(l)},invokeOnOpen(l){var u;(u=l.onOpen)==null||u.call(l)},invokeOnUpdate(l){var u;(u=l.onUpdate)==null||u.call(l)},setContext(l,u){const{duration:f,type:d}=u.toast,m=vu(f,d);Object.assign(l,{...u.toast,duration:m,remaining:m})}}})}function ZS(e){const t=Va(e);return Eh({id:"toaster",initial:"active",context:{dir:"ltr",max:Number.MAX_SAFE_INTEGER,toasts:[],gutter:"1rem",zIndex:dS,pauseOnPageIdle:!1,pauseOnInteraction:!0,offsets:{left:"0px",right:"0px",top:"0px",bottom:"0px"},...t},computed:{count:n=>n.toasts.length},on:{PAUSE_TOAST:{actions:(n,r,{self:s})=>{s.sendChild("PAUSE",r.id)}},PAUSE_ALL:{actions:n=>{n.toasts.forEach(r=>r.send("PAUSE"))}},RESUME_TOAST:{actions:(n,r,{self:s})=>{s.sendChild("RESUME",r.id)}},RESUME_ALL:{actions:n=>{n.toasts.forEach(r=>r.send("RESUME"))}},ADD_TOAST:{guard:n=>n.toasts.length{const o={placement:n.placement,duration:n.duration,removeDelay:n.removeDelay,render:n.render,...r.toast,pauseOnPageIdle:n.pauseOnPageIdle,pauseOnInteraction:n.pauseOnInteraction,dir:n.dir,getRootNode:n.getRootNode},i=QS(o),a=s.spawn(i);n.toasts.push(a)}},UPDATE_TOAST:{actions:(n,r,{self:s})=>{s.sendChild({type:"UPDATE",toast:r.toast},r.id)}},DISMISS_TOAST:{actions:(n,r,{self:s})=>{s.sendChild("DISMISS",r.id)}},DISMISS_ALL:{actions:n=>{n.toasts.forEach(r=>r.send("DISMISS"))}},REMOVE_TOAST:{actions:(n,r,{self:s})=>{s.stopChild(r.id);const o=n.toasts.findIndex(i=>i.id===r.id);n.toasts.splice(o,1)}},REMOVE_ALL:{actions:(n,r,{self:s})=>{for(n.toasts.forEach(o=>s.stopChild(o.id));n.toasts.length;)n.toasts.pop()}}}})}function eC(e,t,n){const r=e.hasTag("visible"),s=e.hasTag("paused"),o=e.context.pauseOnInteraction,i=e.context.placement;return{type:e.context.type,title:e.context.title,description:e.context.description,placement:i,isVisible:r,isPaused:s,isRtl:e.context.dir==="rtl",pause(){t("PAUSE")},resume(){t("RESUME")},dismiss(){t("DISMISS")},rootProps:n.element({...Er.root.attrs,dir:e.context.dir,id:Gn.getRootId(e.context),"data-state":r?"open":"closed","data-type":e.context.type,"data-placement":i,role:"status","aria-atomic":"true",tabIndex:0,style:{position:"relative",pointerEvents:"auto",margin:"calc(var(--toast-gutter) / 2)","--remove-delay":`${e.context.removeDelay}ms`,"--duration":`${e.context.duration}ms`},onKeyDown(a){a.key=="Escape"&&(t("DISMISS"),a.preventDefault())},onFocus(){o&&t("PAUSE")},onBlur(){o&&t("RESUME")},onPointerEnter(){o&&t("PAUSE")},onPointerLeave(){o&&t("RESUME")}}),titleProps:n.element({...Er.title.attrs,id:Gn.getTitleId(e.context)}),descriptionProps:n.element({...Er.description.attrs,id:Gn.getDescriptionId(e.context)}),closeTriggerProps:n.button({id:Gn.getCloseTriggerId(e.context),...Er.closeTrigger.attrs,type:"button","aria-label":"Dismiss notification",onClick(){t("DISMISS")}})}}var Eu={connect:YS,machine:ZS};function tC(e){return new Proxy({},{get(){return e}})}var oT=()=>e=>Array.from(new Set(e));function nC(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()}var wu={htmlFor:"for",className:"class",onDoubleClick:"onDblclick",onChange:"onInput",onFocus:"onFocusin",onBlur:"onFocusout",defaultValue:"value",defaultChecked:"checked"};function rC(e){return e in wu?wu[e]:e.startsWith("on")?`on${nC(e.substr(2))}`:e.toLowerCase()}var kh=tC(e=>{const t={};for(const n in e){const r=e[n];n==="children"?typeof r=="string"&&(t.innerHTML=r):t[rC(n)]=e[n]}return t});function Ah(e,t){const{actions:n,context:r}=t??{},s=An(e.state),o=Zs(e.state,()=>{s.value=Cn(e.state)});return mo(()=>{o==null||o()}),uf(()=>{e.setOptions({actions:n})}),r&&$e(r,i=>{e.setContext(ne(i))},{deep:!0}),s}function sC(e){return[Ah(e),e.send]}function oC(e,t){const{state:n,context:r}=t??{},s=typeof e=="function"?e():e;return r&&s.setContext(ne(r)),s._created(),Xr(()=>{s.start(n),zr(()=>{s.stop()})}),s}function iC(e,t){const n=oC(e,t);return[Ah(n,t),n.send,n]}const aC=e=>(Tp("data-v-ba384b17"),e=e(),Lp(),e),cC={"flex-1":"",hstack:"","space-x-2":""},lC={"size-6":"","flex-center":""},uC={key:0,"i-ep:success-filled":""},fC={key:1,"i-material-symbols:info-rounded":"","text-lg":""},dC={key:2,"i-bx:bxs-error":""},hC=aC(()=>Sn("span",{class:"i-ep:close-bold duration-200 opacity-50 hover:opacity-100"},null,-1)),pC=[hC],mC=ht({__name:"Toast",props:{actor:{}},setup(e){const t=e,[n,r]=sC(t.actor),s=ge(()=>eC(n.value,r,kh)),o=ge(()=>{switch(s.value.type){case"success":return"bg-emerald-500";case"info":return"bg-blue-500";case"error":return"bg-red-500";default:return"bg-blue-500"}});return(i,a)=>(Ie(),Ht("div",va(ne(s).rootProps,{class:["hstack space-x-5 min-w-80 text-white rounded-md shadow-c px-4 py-3",ne(o)]}),[Sn("div",cC,[Sn("div",lC,[ne(s).type==="success"?(Ie(),Ht("span",uC)):ne(s).type==="info"?(Ie(),Ht("span",fC)):ne(s).type==="error"?(Ie(),Ht("span",dC)):Em("",!0)]),Sn("p",Ou(_a(ne(s).descriptionProps)),Wh(ne(s).description),17)]),Sn("button",{"size-6":"","flex-center":"",onClick:a[0]||(a[0]=c=>ne(s).dismiss())},pC)],16))}}),gC=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},yC=gC(mC,[["__scopeId","data-v-ba384b17"]]),_C=ht({__name:"ToastList",setup(e){const t=he(),[n,r]=iC(Eu.machine({id:"toast",placement:"bottom-end",duration:2500,removeDelay:750})),s=ge(()=>Eu.connect(n.value,r,kh));t.provide("toast",s);const o=ge(()=>t.$toast.value);return(i,a)=>{const c=yC;return Ie(!0),Ht(Me,null,ic(ne(o).toastsByPlacement,(l,u,f)=>(Ie(),Ht("div",{key:f,class:"toast-container"},[(Ie(),Ht("div",va({key:u},ne(o).getGroupProps({placement:u})),[(Ie(!0),Ht(Me,null,ic(l,d=>(Ie(),jt(c,{key:d.id,actor:d},null,8,["actor"]))),128))],16))]))),128)}}}),bC=()=>Zr("color-mode").value,vC={class:"font-ui"},EC=ht({__name:"app",setup(e){const{t,locale:n}=ko(),r=bC();return pd({title:t("head.title"),meta:[{name:"keywords",content:t("head.keywords")},{name:"description",content:t("head.desc")},{property:"og:title",content:t("head.title")},{property:"og:description",content:t("head.desc")},{property:"og:locale",content:n},{name:"theme-color",content:()=>(r==null?void 0:r.preference)==="dark"?"#475569":"#f3f4f6"}],link:[{rel:"icon",type:"image/svg+xml",href:()=>"/favicon.svg"}],script:[{src:"https://code.iconify.design/2/2.2.1/iconify.min.js",type:"module",tagPosition:"bodyClose"}]}),(s,o)=>{const i=R0,a=A0,c=_C;return Ie(),Ht("div",vC,[we(i),we(a),we(c)])}}}),wC={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(` + */const zE="9.11.1";function JE(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Oa().__INTLIFY_PROD_DEVTOOLS__=!1)}const zd=kE.__EXTEND_POINT__,$t=Na(zd);$t(),$t(),$t(),$t(),$t(),$t(),$t(),$t(),$t();const Jd=It.__EXTEND_POINT__,Ye=Na(Jd),dt={UNEXPECTED_RETURN_TYPE:Jd,INVALID_ARGUMENT:Ye(),MUST_BE_CALL_SETUP_TOP:Ye(),NOT_INSTALLED:Ye(),NOT_AVAILABLE_IN_LEGACY_MODE:Ye(),REQUIRED_VALUE:Ye(),INVALID_VALUE:Ye(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Ye(),NOT_INSTALLED_WITH_PROVIDE:Ye(),UNEXPECTED_ERROR:Ye(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Ye(),BRIDGE_SUPPORT_VUE_2_ONLY:Ye(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Ye(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Ye(),__EXTEND_POINT__:Ye()};function Et(e,...t){return Po(e,null,void 0)}const Bi=dn("__translateVNode"),Vi=dn("__datetimeParts"),Wi=dn("__numberParts"),QE=dn("__setPluralRules"),ZE=dn("__injectWithOption"),Ki=dn("__dispose");function Vr(e){if(!ce(e))return e;for(const t in e)if(Ys(e,t))if(!t.includes("."))ce(e[t])&&Vr(e[t]);else{const n=t.split("."),r=n.length-1;let s=e,o=!1;for(let i=0;i{if("locale"in a&&"resource"in a){const{locale:c,resource:l}=a;c?(i[c]=i[c]||{},Rn(l,i[c])):Rn(l,i)}else W(a)&&Rn(JSON.parse(a),i)}),s==null&&o)for(const a in i)Ys(i,a)&&Vr(i[a]);return i}function Zd(e){return e.type}function ew(e,t,n){let r=ce(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Qd(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(ce(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(ce(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Hl(e){return we(On,null,e,0)}const Bl="__INTLIFY_META__",Vl=()=>[],tw=()=>!1;let Wl=0;function Kl(e){return(t,n,r,s)=>e(n,r,Dn()||void 0,s)}const nw=()=>{const e=Dn();let t=null;return e&&(t=Zd(e)[Bl])?{[Bl]:t}:null};function eh(e={},t){const{__root:n,__injectWithOption:r}=e,s=n===void 0,o=e.flatJson,i=Gs?be:An,a=!!e.translateExistCompatible;let c=Te(e.inheritLocale)?e.inheritLocale:!0;const l=i(n&&c?n.locale.value:W(e.locale)?e.locale:Xs),u=i(n&&c?n.fallbackLocale.value:W(e.fallbackLocale)||Le(e.fallbackLocale)||le(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),f=i(Qd(l.value,e)),d=i(le(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),g=i(le(e.numberFormats)?e.numberFormats:{[l.value]:{}});let b=n?n.missingWarn:Te(e.missingWarn)||qs(e.missingWarn)?e.missingWarn:!0,S=n?n.fallbackWarn:Te(e.fallbackWarn)||qs(e.fallbackWarn)?e.fallbackWarn:!0,L=n?n.fallbackRoot:Te(e.fallbackRoot)?e.fallbackRoot:!0,_=!!e.fallbackFormat,v=ge(e.missing)?e.missing:null,y=ge(e.missing)?Kl(e.missing):null,m=ge(e.postTranslation)?e.postTranslation:null,E=n?n.warnHtmlMessage:Te(e.warnHtmlMessage)?e.warnHtmlMessage:!0,C=!!e.escapeParameter;const R=n?n.modifiers:le(e.modifiers)?e.modifiers:{};let k=e.pluralRules||n&&n.pluralRules,T;T=(()=>{s&&Il(null);const O={version:zE,locale:l.value,fallbackLocale:u.value,messages:f.value,modifiers:R,pluralRules:k,missing:y===null?void 0:y,missingWarn:b,fallbackWarn:S,fallbackFormat:_,unresolving:!0,postTranslation:m===null?void 0:m,warnHtmlMessage:E,escapeParameter:C,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};O.datetimeFormats=d.value,O.numberFormats=g.value,O.__datetimeFormatters=le(T)?T.__datetimeFormatters:void 0,O.__numberFormatters=le(T)?T.__numberFormatters:void 0;const N=HE(O);return s&&Il(N),N})(),gr(T,l.value,u.value);function F(){return[l.value,u.value,f.value,d.value,g.value]}const x=me({get:()=>l.value,set:O=>{l.value=O,T.locale=l.value}}),q=me({get:()=>u.value,set:O=>{u.value=O,T.fallbackLocale=u.value,gr(T,l.value,O)}}),ie=me(()=>f.value),oe=me(()=>d.value),H=me(()=>g.value);function Q(){return ge(m)?m:null}function z(O){m=O,T.postTranslation=O}function Ue(){return v}function nt(O){O!==null&&(y=Kl(O)),v=O,T.missing=y}const Re=(O,N,Z,re,_e,je)=>{F();let Qe;try{__INTLIFY_PROD_DEVTOOLS__,s||(T.fallbackContext=n?jE():void 0),Qe=O(T)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(T.fallbackContext=void 0)}if(Z!=="translate exists"&&De(Qe)&&Qe===Ro||Z==="translate exists"&&!Qe){const[rs,Fn]=N();return n&&L?re(n):_e(rs)}else{if(je(Qe))return Qe;throw Et(dt.UNEXPECTED_RETURN_TYPE)}};function Oe(...O){return Re(N=>Reflect.apply(Dl,null,[N,...O]),()=>Ui(...O),"translate",N=>Reflect.apply(N.t,N,[...O]),N=>N,N=>W(N))}function Ct(...O){const[N,Z,re]=O;if(re&&!ce(re))throw Et(dt.INVALID_ARGUMENT);return Oe(N,Z,Pe({resolvedMessage:!0},re||{}))}function gt(...O){return Re(N=>Reflect.apply(Fl,null,[N,...O]),()=>ji(...O),"datetime format",N=>Reflect.apply(N.d,N,[...O]),()=>Al,N=>W(N))}function Gt(...O){return Re(N=>Reflect.apply(Ul,null,[N,...O]),()=>Hi(...O),"number format",N=>Reflect.apply(N.n,N,[...O]),()=>Al,N=>W(N))}function ke(O){return O.map(N=>W(N)||De(N)||Te(N)?Hl(String(N)):N)}const G={normalize:ke,interpolate:O=>O,type:"vnode"};function V(...O){return Re(N=>{let Z;const re=N;try{re.processor=G,Z=Reflect.apply(Dl,null,[re,...O])}finally{re.processor=null}return Z},()=>Ui(...O),"translate",N=>N[Bi](...O),N=>[Hl(N)],N=>Le(N))}function X(...O){return Re(N=>Reflect.apply(Ul,null,[N,...O]),()=>Hi(...O),"number format",N=>N[Wi](...O),Vl,N=>W(N)||Le(N))}function ae(...O){return Re(N=>Reflect.apply(Fl,null,[N,...O]),()=>ji(...O),"datetime format",N=>N[Vi](...O),Vl,N=>W(N)||Le(N))}function ye(O){k=O,T.pluralRules=k}function h(O,N){return Re(()=>{if(!O)return!1;const Z=W(N)?N:l.value,re=P(Z),_e=T.messageResolver(re,O);return a?_e!=null:or(_e)||ct(_e)||W(_e)},()=>[O],"translate exists",Z=>Reflect.apply(Z.te,Z,[O,N]),tw,Z=>Te(Z))}function p(O){let N=null;const Z=jd(T,u.value,l.value);for(let re=0;re{c&&(l.value=O,T.locale=O,gr(T,l.value,u.value))}),$e(n.fallbackLocale,O=>{c&&(u.value=O,T.fallbackLocale=O,gr(T,l.value,u.value))}));const K={id:Wl,locale:x,fallbackLocale:q,get inheritLocale(){return c},set inheritLocale(O){c=O,O&&n&&(l.value=n.locale.value,u.value=n.fallbackLocale.value,gr(T,l.value,u.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:ie,get modifiers(){return R},get pluralRules(){return k||{}},get isGlobal(){return s},get missingWarn(){return b},set missingWarn(O){b=O,T.missingWarn=b},get fallbackWarn(){return S},set fallbackWarn(O){S=O,T.fallbackWarn=S},get fallbackRoot(){return L},set fallbackRoot(O){L=O},get fallbackFormat(){return _},set fallbackFormat(O){_=O,T.fallbackFormat=_},get warnHtmlMessage(){return E},set warnHtmlMessage(O){E=O,T.warnHtmlMessage=O},get escapeParameter(){return C},set escapeParameter(O){C=O,T.escapeParameter=O},t:Oe,getLocaleMessage:P,setLocaleMessage:A,mergeLocaleMessage:M,getPostTranslationHandler:Q,setPostTranslationHandler:z,getMissingHandler:Ue,setMissingHandler:nt,[QE]:ye};return K.datetimeFormats=oe,K.numberFormats=H,K.rt=Ct,K.te=h,K.tm=w,K.d=gt,K.n=Gt,K.getDateTimeFormat=j,K.setDateTimeFormat=U,K.mergeDateTimeFormat=B,K.getNumberFormat=$,K.setNumberFormat=Y,K.mergeNumberFormat=ee,K[ZE]=r,K[Bi]=V,K[Vi]=ae,K[Wi]=X,K}const Fa={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function rw({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>[...r,...s.type===Me?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},{})}function th(e){return Me}const sw=ht({name:"i18n-t",props:Pe({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>De(e)||!isNaN(e)}},Fa),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||ko({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(f=>f!=="_"),i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=W(e.plural)?+e.plural:e.plural);const a=rw(t,o),c=s[Bi](e.keypath,a,i),l=Pe({},r),u=W(e.tag)||ce(e.tag)?e.tag:th();return bt(u,l,c)}}}),Gl=sw;function ow(e){return Le(e)&&!W(e[0])}function nh(e,t,n,r){const{slots:s,attrs:o}=t;return()=>{const i={part:!0};let a={};e.locale&&(i.locale=e.locale),W(e.format)?i.key=e.format:ce(e.format)&&(W(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((d,g)=>n.includes(g)?Pe({},d,{[g]:e.format[g]}):d,{}));const c=r(e.value,i,a);let l=[i.key];Le(c)?l=c.map((d,g)=>{const b=s[d.type],S=b?b({[d.type]:d.value,index:g,parts:c}):[d.value];return ow(S)&&(S[0].key=`${d.type}-${g}`),S}):W(c)&&(l=[c]);const u=Pe({},o),f=W(e.tag)||ce(e.tag)?e.tag:th();return bt(f,u,l)}}const iw=ht({name:"i18n-n",props:Pe({value:{type:Number,required:!0},format:{type:[String,Object]}},Fa),setup(e,t){const n=e.i18n||ko({useScope:e.scope,__useComponent:!0});return nh(e,t,Xd,(...r)=>n[Wi](...r))}}),ql=iw,aw=ht({name:"i18n-d",props:Pe({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Fa),setup(e,t){const n=e.i18n||ko({useScope:e.scope,__useComponent:!0});return nh(e,t,Yd,(...r)=>n[Vi](...r))}}),Yl=aw;function cw(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function lw(e){const t=i=>{const{instance:a,modifiers:c,value:l}=i;if(!a||!a.$)throw Et(dt.UNEXPECTED_ERROR);const u=cw(e,a.$),f=Xl(l);return[Reflect.apply(u.t,u,[...zl(f)]),u]};return{created:(i,a)=>{const[c,l]=t(a);Gs&&e.global===l&&(i.__i18nWatcher=$e(l.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=l,i.textContent=c},unmounted:i=>{Gs&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:a})=>{if(i.__composer){const c=i.__composer,l=Xl(a);i.textContent=Reflect.apply(c.t,c,[...zl(l)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function Xl(e){if(W(e))return{path:e};if(le(e)){if(!("path"in e))throw Et(dt.REQUIRED_VALUE,"path");return e}else throw Et(dt.INVALID_VALUE)}function zl(e){const{path:t,locale:n,args:r,choice:s,plural:o}=e,i={},a=r||{};return W(n)&&(i.locale=n),De(s)&&(i.plural=s),De(o)&&(i.plural=o),[t,a,i]}function uw(e,t,...n){const r=le(n[0])?n[0]:{},s=!!r.useI18nComponentName;(Te(r.globalInstall)?r.globalInstall:!0)&&([s?"i18n":Gl.name,"I18nT"].forEach(i=>e.component(i,Gl)),[ql.name,"I18nN"].forEach(i=>e.component(i,ql)),[Yl.name,"I18nD"].forEach(i=>e.component(i,Yl))),e.directive("t",lw(t))}const fw=dn("global-vue-i18n");function dw(e={},t){const n=Te(e.globalInjection)?e.globalInjection:!0,r=!0,s=new Map,[o,i]=hw(e),a=dn("");function c(f){return s.get(f)||null}function l(f,d){s.set(f,d)}function u(f){s.delete(f)}{const f={get mode(){return"composition"},get allowComposition(){return r},async install(d,...g){if(d.__VUE_I18N_SYMBOL__=a,d.provide(d.__VUE_I18N_SYMBOL__,f),le(g[0])){const L=g[0];f.__composerExtend=L.__composerExtend,f.__vueI18nExtend=L.__vueI18nExtend}let b=null;n&&(b=Ew(d,f.global)),uw(d,f,...g);const S=d.unmount;d.unmount=()=>{b&&b(),f.dispose(),S()}},get global(){return i},dispose(){o.stop()},__instances:s,__getInstance:c,__setInstance:l,__deleteInstance:u};return f}}function ko(e={}){const t=Dn();if(t==null)throw Et(dt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Et(dt.NOT_INSTALLED);const n=pw(t),r=mw(n),s=Zd(t),o=gw(e,s);if(o==="global")return ew(r,e,s),r;if(o==="parent"){let c=yw(n,t,e.__useComponent);return c==null&&(c=r),c}const i=n;let a=i.__getInstance(t);if(a==null){const c=Pe({},e);"__i18n"in s&&(c.__i18n=s.__i18n),r&&(c.__root=r),a=eh(c),i.__composerExtend&&(a[Ki]=i.__composerExtend(a)),bw(i,t,a),i.__setInstance(t,a)}return a}function hw(e,t,n){const r=Gr();{const s=r.run(()=>eh(e));if(s==null)throw Et(dt.UNEXPECTED_ERROR);return[r,s]}}function pw(e){{const t=Ke(e.isCE?fw:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Et(e.isCE?dt.NOT_INSTALLED_WITH_PROVIDE:dt.UNEXPECTED_ERROR);return t}}function gw(e,t){return Lo(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function mw(e){return e.mode==="composition"?e.global:e.global.__composer}function yw(e,t,n=!1){let r=null;const s=t.root;let o=_w(t,n);for(;o!=null;){const i=e;if(e.mode==="composition"&&(r=i.__getInstance(o)),r!=null||s===o)break;o=o.parent}return r}function _w(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function bw(e,t,n){Xr(()=>{},t),go(()=>{const r=n;e.__deleteInstance(t);const s=r[Ki];s&&(s(),delete r[Ki])},t)}const vw=["locale","fallbackLocale","availableLocales"],Jl=["t","rt","d","n","tm","te"];function Ew(e,t){const n=Object.create(null);return vw.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o)throw Et(dt.UNEXPECTED_ERROR);const i=Ce(o.value)?{get(){return o.value.value},set(a){o.value.value=a}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,s,i)}),e.config.globalProperties.$i18n=n,Jl.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o||!o.value)throw Et(dt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,o)}),()=>{delete e.config.globalProperties.$i18n,Jl.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}JE();ME(KE);DE(mE);FE(jd);if(__INTLIFY_PROD_DEVTOOLS__){const e=Oa();e.__INTLIFY__=!0,TE(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const ww={lang:{t:0,b:{t:2,i:[{t:3}],s:"Language"}},toggle_dark:{t:0,b:{t:2,i:[{t:3}],s:"Toggle dark mode"}},head:{title:{t:0,b:{t:2,i:[{t:3}],s:"Markdown Resume - Free Online Markdown Resume Maker"}},desc:{t:0,b:{t:2,i:[{t:3}],s:"Free online resume maker, allows you to create your resume in minutes with Markdown!"}},keywords:{t:0,b:{t:2,i:[{t:3}],s:"resume maker, cv maker, curriculum vitae maker, markdown resume, resume.md"}}},landing:{hero:{t:0,b:{t:2,i:[{t:3}],s:"Write your resume in Markdown!"}},desc:{t:0,b:{t:2,i:[{t:3}],s:"is a free and open source tool created to build and manage your resumes as easy as possible, without losing the privacy of your data."}},start:{t:0,b:{t:2,i:[{t:3}],s:"Create My Resume"}},feats:[{title:{t:0,b:{t:2,i:[{t:3}],s:"Simple and Powerful"}},items:{t:0,b:{t:2,i:[{t:3}],s:'Manage multiple resumes
Real-time preview
Export to PDF format
Fully customizable
Pick fonts and add icons
And more features'}}},{title:{t:0,b:{t:2,i:[{t:3}],s:"Privacy First"}},items:{t:0,b:{t:2,i:[{t:3}],s:"Open source and free
Data are saved locally
No login or registration required
No user tracking
No ads"}}}]},resumes:{my_resumes:{t:0,b:{t:2,i:[{t:3}],s:"My Resumes"}},created:{t:0,b:{t:2,i:[{t:3}],s:"Created: "}},updated:{t:0,b:{t:2,i:[{t:3}],s:"Updated: "}},new:{t:0,b:{t:2,i:[{t:3}],s:"New"}},save:{t:0,b:{t:2,i:[{t:3}],s:"Save"}},saveas:{t:0,b:{t:2,i:[{t:3}],s:"Save as..."}},import:{t:0,b:{t:2,i:[{t:3}],s:"Import from..."}},rename:{t:0,b:{t:2,i:[{t:3}],s:"Rename"}},duplicate:{t:0,b:{t:2,i:[{t:3}],s:"Duplicate"}},delete:{t:0,b:{t:2,i:[{t:3}],s:"Delete"}}},import:{title:{t:0,b:{t:2,i:[{t:3}],s:"Import a Markdown file"}},from_local:{t:0,b:{t:2,i:[{t:3}],s:"Drag your file here, or click here to choose a file"}},from_url:{t:0,b:{t:2,i:[{t:3}],s:"Paste file URL"}}},toolbar:{file:{text:{t:0,b:{t:2,i:[{t:3}],s:"Import / Export"}},import:{t:0,b:{t:2,i:[{t:3}],s:"Import Markdown"}},export_pdf:{t:0,b:{t:2,i:[{t:3}],s:"Export PDF"}},export_md:{t:0,b:{t:2,i:[{t:3}],s:"Export Markdown"}}},correct_case:{text:{t:0,b:{t:2,i:[{t:3}],s:"Correct Case"}},desc:{t:0,b:{t:2,i:[{t:3}],s:'Example: "Github" → "GitHub"
Note: the words only including uppercase or lowercase ("GITHUB" or "github") will be left untouched'}},btn:{t:0,b:{t:2,i:[{t:3}],s:"Correct it!"}}},paper:{t:0,b:{t:2,i:[{t:3}],s:"Paper Size"}},font_family:{t:0,b:{t:2,i:[{t:3}],s:"Font Family"}},font_size:{t:0,b:{t:2,i:[{t:3}],s:"Font Size"}},cjk:{t:0,b:{t:2,i:[{t:3}],s:"CJK"}},en:{t:0,b:{t:2,i:[{t:3}],s:"English"}},theme_color:{t:0,b:{t:2,i:[{t:3}],s:"Theme Color"}},paragraph:{t:0,b:{t:2,i:[{t:3}],s:"Paragraph Spacing"}},line:{t:0,b:{t:2,i:[{t:3}],s:"Line Spacing"}},margin:{t:0,b:{t:2,i:[{t:3}],s:"Margin"}},vertical:{t:0,b:{t:2,i:[{t:3}],s:"Top & Bottom"}},horizontal:{t:0,b:{t:2,i:[{t:3}],s:"Left & Right"}}},notification:{save:{t:0,b:{t:2,i:[{t:3}],s:"Your changes have been saved"}},switch:{t:0,b:{t:2,i:[{t:3,v:'Switched to resume "'},{t:4,k:"msg"},{t:3,v:'"'}]}},delete:{t:0,b:{t:2,i:[{t:3,v:'Resume "'},{t:4,k:"msg"},{t:3,v:'" has been deleted'}]}},new:{t:0,b:{t:2,i:[{t:3}],s:"New resume created"}},duplicate:{t:0,b:{t:2,i:[{t:3,v:'Created resume "'},{t:4,k:"old"},{t:3,v:`"'s duplication "`},{t:4,k:"new"},{t:3,v:'"'}]}},correct:{yes:{t:0,b:{t:2,i:[{t:3,v:"Corrected "},{t:4,k:"num"},{t:3,v:" words"}]}},no:{t:0,b:{t:2,i:[{t:3}],s:"All case are correct!"}}},import:{yes:{t:0,b:{t:2,i:[{t:3}],s:"Data has been successfully imported!"}},no:{t:0,b:{t:2,i:[{t:3}],s:"Data format is invalid."}}}}},Sw={lang:{t:0,b:{t:2,i:[{t:3}],s:"Idioma"}},toggle_dark:{t:0,b:{t:2,i:[{t:3}],s:"Cambiar tema claro/oscuro"}},head:{title:{t:0,b:{t:2,i:[{t:3}],s:"Markdown Resume - Generador de CV online GRATUITO!!"}},desc:{t:0,b:{t:2,i:[{t:3}],s:"El creador de currículums vitae en línea gratuito le permite crear su currículum en minutos con Markdown!"}},keywords:{t:0,b:{t:2,i:[{t:3}],s:"generador curriculum, generador cv, generador curriculum vitae, curriculum markdown, markdown cv"}}},landing:{hero:{t:0,b:{t:2,i:[{t:3}],s:"Escribe tu curriculum vitae en Markdown!"}},desc:{t:0,b:{t:2,i:[{t:3}],s:"es una herramienta gratuita y de código abierto creada para crear y administrar sus currículums de la manera más fácil posible, sin perder la privacidad de sus datos."}},start:{t:0,b:{t:2,i:[{t:3}],s:"Crear My Resumen"}},feats:[{title:{t:0,b:{t:2,i:[{t:3}],s:"Simple y poderoso"}},items:{t:0,b:{t:2,i:[{t:3}],s:'Administra multiples curriculums con
Vista previa en tiempo real
Exportar a PDF format
Completamente configurable
Elige fuentes y agrega íconos
Y más funciones'}}},{title:{t:0,b:{t:2,i:[{t:3}],s:"Primero tu privacidad"}},items:{t:0,b:{t:2,i:[{t:3}],s:"Open source, libre y gratuito
Información guardada en tu equipo
No necesita que te registres
No realizamos ningún trackeo ni mostramos publicidad
No ads"}}}]},resumes:{my_resumes:{t:0,b:{t:2,i:[{t:3}],s:"Mis CVs"}},created:{t:0,b:{t:2,i:[{t:3}],s:"Creado: "}},updated:{t:0,b:{t:2,i:[{t:3}],s:"Actualizado: "}},new:{t:0,b:{t:2,i:[{t:3}],s:"Nuevo"}},save:{t:0,b:{t:2,i:[{t:3}],s:"Guardar"}},saveas:{t:0,b:{t:2,i:[{t:3}],s:"Guardar como..."}},import:{t:0,b:{t:2,i:[{t:3}],s:"Importar desde..."}},rename:{t:0,b:{t:2,i:[{t:3}],s:"Renombrar"}},duplicate:{t:0,b:{t:2,i:[{t:3}],s:"Duplicar"}},delete:{t:0,b:{t:2,i:[{t:3}],s:"Eliminar"}}},import:{title:{t:0,b:{t:2,i:[{t:3}],s:"Importar un archivo Markdown"}},from_local:{t:0,b:{t:2,i:[{t:3}],s:"Subir archivo"}},from_url:{t:0,b:{t:2,i:[{t:3}],s:"Pegar desde URL"}}},toolbar:{file:{text:{t:0,b:{t:2,i:[{t:3}],s:"Importar / Exportar"}},import:{t:0,b:{t:2,i:[{t:3}],s:"Importar Markdown"}},export_pdf:{t:0,b:{t:2,i:[{t:3}],s:"Exportar PDF"}},export_md:{t:0,b:{t:2,i:[{t:3}],s:"Exportar Markdown"}}},correct_case:{text:{t:0,b:{t:2,i:[{t:3}],s:"Corregir Mayusculas"}},desc:{t:0,b:{t:2,i:[{t:3}],s:'Ejemplo: "Github" → "GitHub"
Nota: No se modificarán las palabras que sólo contengan mayúsculas o minúsculas ("GITHUB" or "github")'}},btn:{t:0,b:{t:2,i:[{t:3}],s:"Corrígelo!"}}},paper:{t:0,b:{t:2,i:[{t:3}],s:"Tamaño de hoja"}},font_family:{t:0,b:{t:2,i:[{t:3}],s:"Fuente"}},font_size:{t:0,b:{t:2,i:[{t:3}],s:"Tamaño de Fuente"}},cjk:{t:0,b:{t:2,i:[{t:3}],s:"CJK"}},en:{t:0,b:{t:2,i:[{t:3}],s:"Inglés"}},theme_color:{t:0,b:{t:2,i:[{t:3}],s:"Color y tema"}},paragraph:{t:0,b:{t:2,i:[{t:3}],s:"Espaciado de párrafo"}},line:{t:0,b:{t:2,i:[{t:3}],s:"Espaciado de línea"}},margin:{t:0,b:{t:2,i:[{t:3}],s:"Margenes"}},vertical:{t:0,b:{t:2,i:[{t:3}],s:"Arriba & Abajo"}},horizontal:{t:0,b:{t:2,i:[{t:3}],s:"Izquierdo & Derecho"}}},notification:{save:{t:0,b:{t:2,i:[{t:3}],s:"Cambios Guardados"}},switch:{t:0,b:{t:2,i:[{t:3,v:'Cambiando a curriculum "'},{t:4,k:"msg"},{t:3,v:'"'}]}},delete:{t:0,b:{t:2,i:[{t:3,v:'Curriculum "'},{t:4,k:"msg"},{t:3,v:'" has been deleted'}]}},new:{t:0,b:{t:2,i:[{t:3}],s:"Creado nuevo resumen"}},duplicate:{t:0,b:{t:2,i:[{t:3,v:'Created resume "'},{t:4,k:"old"},{t:3,v:`"'s duplication "`},{t:4,k:"new"},{t:3,v:'"'}]}},correct:{yes:{t:0,b:{t:2,i:[{t:3,v:"Corregidos "},{t:4,k:"num"},{t:3,v:" palabras"}]}},no:{t:0,b:{t:2,i:[{t:3}],s:"Buen trabajo, no hubo nada que corregir!"}}},import:{yes:{t:0,b:{t:2,i:[{t:3}],s:"Datos importados correctamente!"}},no:{t:0,b:{t:2,i:[{t:3}],s:"Formato de datos inválido."}}}}},Cw={lang:{t:0,b:{t:2,i:[{t:3}],s:"语言"}},toggle_dark:{t:0,b:{t:2,i:[{t:3}],s:"切换深色模式"}},head:{title:{t:0,b:{t:2,i:[{t:3}],s:"Markdown Resume - 免费的在线简历制作工具"}},desc:{t:0,b:{t:2,i:[{t:3}],s:"免费的在线简历制作工具,使用 Markdown 来轻松制作您的简历!"}},keywords:{t:0,b:{t:2,i:[{t:3}],s:"Markdown 简历, 简历制作, 在线简历"}}},landing:{hero:{t:0,b:{t:2,i:[{t:3}],s:"用 Markdown 写简历!"}},desc:{t:0,b:{t:2,i:[{t:3}],s:"能让您轻松的制作和管理简历,它开源免费,且绝不会(也无法)收集您的数据"}},start:{t:0,b:{t:2,i:[{t:3}],s:"开始制作简历"}},feats:[{title:{t:0,b:{t:2,i:[{t:3}],s:"简单且强大"}},items:{t:0,b:{t:2,i:[{t:3}],s:'创建并管理多份简历
实时预览
导出为 PDF 格式
可定制程度高
轻松切换字体和添加图标
以及更多特性'}}},{title:{t:0,b:{t:2,i:[{t:3}],s:"隐私优先"}},items:{t:0,b:{t:2,i:[{t:3}],s:"开源免费
数据保存在本地
无需登录或注册
没有用户追踪
没有广告"}}}]},resumes:{my_resumes:{t:0,b:{t:2,i:[{t:3}],s:"我的简历"}},created:{t:0,b:{t:2,i:[{t:3}],s:"创建于:"}},updated:{t:0,b:{t:2,i:[{t:3}],s:"更新于:"}},new:{t:0,b:{t:2,i:[{t:3}],s:"新建"}},save:{t:0,b:{t:2,i:[{t:3}],s:"保存"}},saveas:{t:0,b:{t:2,i:[{t:3}],s:"另存为..."}},import:{t:0,b:{t:2,i:[{t:3}],s:"从...导入"}},duplicate:{t:0,b:{t:2,i:[{t:3}],s:"创建副本"}},rename:{t:0,b:{t:2,i:[{t:3}],s:"重命名"}},delete:{t:0,b:{t:2,i:[{t:3}],s:"删除"}}},import:{title:{t:0,b:{t:2,i:[{t:3}],s:"上传一个 Markdown 文件"}},from_local:{t:0,b:{t:2,i:[{t:3}],s:"将文件拖拽至这里,或点击这里以选择文件"}},from_url:{t:0,b:{t:2,i:[{t:3}],s:"粘贴文件 URL"}}},toolbar:{file:{text:{t:0,b:{t:2,i:[{t:3}],s:"导入 / 导出"}},import:{t:0,b:{t:2,i:[{t:3}],s:"导入 Markdown"}},export_pdf:{t:0,b:{t:2,i:[{t:3}],s:"导出为 PDF"}},export_md:{t:0,b:{t:2,i:[{t:3}],s:"导出为 Markdown"}}},correct_case:{text:{t:0,b:{t:2,i:[{t:3}],s:"专有名词大小写修正"}},desc:{t:0,b:{t:2,i:[{t:3}],s:'例如:"Github" → "GitHub"
注意:不会修正全为大写或小写字母的单词(如 "GITHUB" 或 "github")'}},btn:{t:0,b:{t:2,i:[{t:3}],s:"修正"}}},paper:{t:0,b:{t:2,i:[{t:3}],s:"纸张尺寸"}},font_family:{t:0,b:{t:2,i:[{t:3}],s:"字体"}},font_size:{t:0,b:{t:2,i:[{t:3}],s:"字号"}},cjk:{t:0,b:{t:2,i:[{t:3}],s:"中日韩"}},en:{t:0,b:{t:2,i:[{t:3}],s:"英文"}},theme_color:{t:0,b:{t:2,i:[{t:3}],s:"主题色"}},paragraph:{t:0,b:{t:2,i:[{t:3}],s:"段间距"}},line:{t:0,b:{t:2,i:[{t:3}],s:"行间距"}},margin:{t:0,b:{t:2,i:[{t:3}],s:"页边距"}},vertical:{t:0,b:{t:2,i:[{t:3}],s:"上下"}},horizontal:{t:0,b:{t:2,i:[{t:3}],s:"左右"}}},notification:{save:{t:0,b:{t:2,i:[{t:3}],s:"保存成功"}},switch:{t:0,b:{t:2,i:[{t:3,v:'已切换到简历 "'},{t:4,k:"msg"},{t:3,v:'"'}]}},delete:{t:0,b:{t:2,i:[{t:3,v:'已删除简历 "'},{t:4,k:"msg"},{t:3,v:'"'}]}},new:{t:0,b:{t:2,i:[{t:3}],s:"新建成功"}},duplicate:{t:0,b:{t:2,i:[{t:3,v:'已创建简历 "'},{t:4,k:"old"},{t:3,v:'" 的副本 "'},{t:4,k:"new"},{t:3,v:'"'}]}},correct:{yes:{t:0,b:{t:2,i:[{t:3,v:"成功修正 "},{t:4,k:"num"},{t:3,v:" 个单词"}]}},no:{t:0,b:{t:2,i:[{t:3}],s:"您的所有拼写都是正确的!"}}},import:{yes:{t:0,b:{t:2,i:[{t:3}],s:"已成功导入数据!"}},no:{t:0,b:{t:2,i:[{t:3}],s:"数据格式不正确"}}}}},In=["en","sp","zh-cn"],zs={en:[{key:"../src/i18n/en.yaml",load:()=>Promise.resolve(ww),cache:!0}],sp:[{key:"../src/i18n/sp.yaml",load:()=>Promise.resolve(Sw),cache:!0}],"zh-cn":[{key:"../src/i18n/zh-cn.yaml",load:()=>Promise.resolve(Cw),cache:!0}]},Tw=[()=>He(()=>import("./bC257e71.js"),[],import.meta.url)],Ao=[{code:"en",name:"English",icon:"i-icon-park-outline:english",files:[{path:"i18n/en.yaml"}]},{code:"sp",name:"Spanish",icon:"i-material-symbols:language-spanish",files:[{path:"i18n/sp.yaml"}]},{code:"zh-cn",name:"简体中文",icon:"i-icon-park-outline:chinese",files:[{path:"i18n/zh-cn.yaml"}]}],rh="@nuxtjs/i18n",Lw=!1,Pw="nuxtI18n",Rw="i18n_redirected",Ql="nuxt-i18n-slp",Ir=new Map;async function kw(e,t){const n={messages:{}};for(const r of e){const{default:s}=await r(),o=typeof s=="function"?await t.runWithContext(async()=>await s()):s;Rn(o,n)}return n}function sh(e,t){let n=[];if(Le(e))n=e;else if(ce(e)){const r=[...t,"default"];for(const s of r)e[s]&&(n=[...n,...e[s].filter(Boolean)])}else W(e)&&t.every(r=>r!==e)&&n.push(e);return n}async function Aw(e,t,n){const{defaultLocale:r,initialLocale:s,localeCodes:o,fallbackLocale:i,lazy:a}=n;if(a&&i){const l=sh(i,[r,s]);await Promise.all(l.map(u=>Zl(u,t,e)))}const c=a?[...new Set().add(r).add(s)]:o;return await Promise.all(c.map(l=>Zl(l,t,e))),e}async function Ow(e,{key:t,load:n}){let r=null;try{const s=await n().then(o=>o.default||o);ge(s)?r=await s(e):(r=s,r!=null&&Ir&&Ir.set(t,r))}catch(s){console.error("Failed locale loading: "+s.message)}return r}async function Js(e,t,n){const r=t[e];if(r==null){console.warn("Could not find messages for locale code: "+e);return}const s={};for(const o of r){let i=null;Ir&&Ir.has(o.key)&&o.cache?i=Ir.get(o.key):i=await Ow(e,o),i!=null&&Rn(i,s)}n(e,s)}async function Zl(e,t,n){await Js(e,t,(s,o)=>{const i=n[s]||{};Rn(o,i),n[s]=i})}const Iw=typeof window<"u";function Nw(e){e=e||[];const t=[];for(const n of e)W(n)?t.push({code:n}):t.push(n);return t}function xw(e){return e!=null&&"global"in e&&"mode"in e}function Mw(e){return e!=null&&!("__composer"in e)&&"locale"in e&&Ce(e.locale)}function oh(e){return e!=null&&"__composer"in e}function pn(e){return xw(e)?e.global:e}function ir(e){const t=pn(e);return Mw(t)?t:oh(t)?t.__composer:t}function Oo(e){return ne(pn(e).locale)}function Dw(e){return ne(pn(e).locales)}function Fw(e){return ne(pn(e).localeCodes)}function ih(e,t){const n=pn(e);Ce(n.locale)?n.locale.value=t:n.locale=t}function ah(e){return W(e)?e:Mv(e)?e.toString():"(null)"}function eu(e,t,{defaultLocale:n,strategy:r,routesNameSeparator:s,defaultLocaleRouteNameSuffix:o}){let i=ah(e)+(r==="no_prefix"?"":s+t);return t===n&&r==="prefix_and_default"&&(i+=s+o),i}function tu(e,t){return ge(e)?e(t):e}function $w(e,t){const n=[];for(const[r,s]of t.entries()){const o=e.find(i=>i.iso.toLowerCase()===s.toLowerCase());if(o){n.push({code:o.code,score:1-r/t.length});break}}for(const[r,s]of t.entries()){const o=s.split("-")[0].toLowerCase(),i=e.find(a=>a.iso.split("-")[0].toLowerCase()===o);if(i){n.push({code:i.code,score:.999-r/t.length});break}}return n}const Uw=$w;function jw(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}const Hw=jw;function Bw(e,t,{matcher:n=Uw,comparer:r=Hw}={}){const s=[];for(const i of e){const{code:a}=i,c=i.iso||a;s.push({code:a,iso:c})}const o=n(s,t);return o.length>1&&o.sort(r),o.length?o[0].code:""}function Qs(e){return new RegExp(`^/(${e.join("|")})(?:/|$)`,"i")}function Vw(e,t){return[e.slice(0,t),e.slice(t)]}function Ww(e){const{fullPath:t,query:n,hash:r,name:s,path:o,params:i,meta:a,redirectedFrom:c,matched:l}=e;return{fullPath:t,params:i,query:n,hash:r,name:s,path:o,meta:a,matched:l,redirectedFrom:c}}function Kw({router:e},t,n,r){var l,u;if(n!=="prefix")return e.resolve(t);const[s,o]=Vw(t.path,1),i=`${s}${r}${o===""?o:`/${o}`}`,a=(u=(l=e.options)==null?void 0:l.routes)==null?void 0:u.find(f=>f.path===i);if(a==null)return t;const c=Pe({},t,a);return c.path=i,e.resolve(c)}const Gw=new Set(["prefix_and_default","prefix_except_default"]);function qw(e){const{currentLocale:t,defaultLocale:n,strategy:r}=e;return!(t===n&&Gw.has(r))&&r!=="no_prefix"}const Yw=qw;function ar(e,t){const{routesNameSeparator:n}=e.runtimeConfig.public.i18n,r=ne(t);return r==null||!r.name?void 0:ah(r.name).split(n)[0]}function Io(e,t,n){var s;if(typeof t=="string"&&xt(t,{acceptRelative:!0}))return t;const r=No(e,t,n);return r==null?"":((s=r.redirectedFrom)==null?void 0:s.fullPath)||r.fullPath}function $a(e,t,n){return No(e,t,n)??void 0}function Xw(e,t,n){return No(e,t,n)??void 0}function No(e,t,n){const{router:r,i18n:s}=e,o=n||Oo(s),{routesNameSeparator:i,defaultLocale:a,defaultLocaleRouteNameSuffix:c,strategy:l,trailingSlash:u}=e.runtimeConfig.public.i18n,f=u0(e.runtimeConfig);let d;if(W(t))if(t[0]==="/"){const{pathname:S,search:L,hash:_}=Ei(t),v=Wf(L);d={path:S,query:v,hash:_}}else d={name:t};else d=t;let g=Pe({},d);if((S=>"path"in S&&!!S.path&&!("name"in S))(g)){const S=Kw(e,g,l,o),L=ar(e,S);W(L)?(g={name:eu(L,o,{defaultLocale:a,strategy:l,routesNameSeparator:i,defaultLocaleRouteNameSuffix:c}),params:S.params,query:S.query,hash:S.hash},g.state=S.state):(f({currentLocale:o,defaultLocale:a,strategy:l})&&(g.path=`/${o}${g.path}`),g.path=u?Hs(g.path,!0):_o(g.path,!0))}else!g.name&&!("path"in g)&&(g.name=ar(e,r.currentRoute.value)),g.name=eu(g.name,o,{defaultLocale:a,strategy:l,routesNameSeparator:i,defaultLocaleRouteNameSuffix:c});try{const S=r.resolve(g);return S.name?S:r.resolve(t)}catch(S){if(typeof S=="object"&&"type"in S&&S.type===1)return null}}const zw=e=>e;function Jw(e,t){var r;if(e.runtimeConfig.public.i18n.experimental.switchLocalePathLinkSSR)return ne(e.metaState.value);const n=t.meta||{};return((r=ne(n))==null?void 0:r[Pw])||{}}function cr(e,t,n){const r=n??e.router.currentRoute.value,s=ar(e,r);if(!s)return"";const o=f0(e.runtimeConfig),i=Ww(r),a=Jw(e,r)[t],c={...i,name:s,params:{...i.params,...a}},l=Io(e,c,t);return o(l,t)}function ch(e,{addDirAttribute:t=!1,addSeoAttributes:n=!0,identifierAttribute:r="hid"}){const{defaultDirection:s}=pt().public.i18n,o=ir(e.i18n),i={htmlAttrs:{},link:[],meta:[]};if(ne(o.locales)==null||ne(o.baseUrl)==null)return i;const a=Oo(e.i18n),c=Dw(e.i18n),l=Nw(c).find(d=>d.code===a)||{code:a},u=l.iso,f=l.dir||s;return t&&(i.htmlAttrs.dir=f),n&&a&&ne(o.locales)&&(u&&(i.htmlAttrs.lang=u),i.link.push(...Qw(e,ne(c),r),...Zw(e,r,n)),i.meta.push(...e0(e,r,n),...t0(l,u,r),...n0(ne(c),u,r))),i}function Ua(){const e=ir(he().$i18n);return ne(e.baseUrl)}function Qw(e,t,n){const r=Ua(),{defaultLocale:s,strategy:o}=pt().public.i18n,i=[];if(o==="no_prefix")return i;const a=new Map;for(const c of t){const l=c.iso;if(!l){console.warn("Locale ISO code is required to generate alternate link");continue}const[u,f]=l.split("-");u&&f&&(c.isCatchallLocale||!a.has(u))&&a.set(u,c),a.set(l,c)}for(const[c,l]of a.entries()){const u=cr(e,l.code);u&&i.push({[n]:`i18n-alt-${c}`,rel:"alternate",href:Gi(u,r),hreflang:c})}if(s){const c=cr(e,s);c&&i.push({[n]:"i18n-xd",rel:"alternate",href:Gi(c,r),hreflang:"x-default"})}return i}function lh(e,t,n){const r=e.router.currentRoute.value,s=$a(e,{...r,path:void 0,name:ar(e,r)});if(!s)return"";let o=Gi(s.path,t);const i=ce(n)&&n.canonicalQueries||[],a=s.query,c=new URLSearchParams;for(const u of i)if(u in a){const f=a[u];Le(f)?f.forEach(d=>c.append(u,d||"")):c.append(u,f||"")}const l=c.toString();return l&&(o=`${o}?${l}`),o}function Zw(e,t,n){const r=Ua(),s=lh(e,r,n);return s?[{[t]:"i18n-can",rel:"canonical",href:s}]:[]}function e0(e,t,n){const r=Ua(),s=lh(e,r,n);return s?[{[t]:"i18n-og-url",property:"og:url",content:s}]:[]}function t0(e,t,n){return!e||!t?[]:[{[n]:"i18n-og",property:"og:locale",content:uh(t)}]}function n0(e,t,n){return e.filter(s=>s.iso&&s.iso!==t).map(s=>({[n]:`i18n-og-alt-${s.iso}`,property:"og:locale:alternate",content:uh(s.iso)}))}function uh(e){return(e||"").replace(/-/g,"_")}function Gi(e,t){return e.match(/^https?:\/\//)?e:t+e}function r0(e,t){return ts(e,"setLocale",t)}function s0(e,t){return ts(e,"setLocaleCookie",t)}function fh(e,t,n){return ts(e,"mergeLocaleMessage",t,n)}function o0(e,t,n,r,s){return ts(e,"onBeforeLanguageSwitch",t,n,r,s)}function i0(e,t,n){return ts(e,"onLanguageSwitched",t,n)}function ja(e){return{i18n:e??he().$i18n,router:St(),runtimeConfig:pt(),metaState:Zr("nuxt-i18n-meta",()=>({}))}}async function nu(e,t,n,r=!1){const{differentDomains:s,skipSettingLocaleOnNavigate:o,lazy:i}=n,a=ns(n),c=he(),l=Oo(t),u=Fw(t);function f(g=l){a===!1||!a.useCookie||o||s0(t,g)}if(!e||!r&&s||l===e)return f(),!1;const d=await o0(t,l,e,r,c);if(d&&u.includes(d)){if(l===d)return f(),!1;e=d}if(i){const g=h0(t,"fallbackLocale"),b=(S,L)=>fh(t,S,L);if(g){const S=sh(g,[e]);await Promise.all(S.map(L=>Js(L,zs,b)))}await Js(e,zs,b)}return o?!1:(f(e),ih(t,e),await i0(t,l,e),!0)}function ru(e,t,n,r,s,o){const{strategy:i,defaultLocale:a,differentDomains:c}=o,l=ns(o),u=ge(r)?r():r,{ssg:f,callType:d,firstAccess:g,localeCookie:b}=s,{locale:S,stat:L,reason:_,from:v}=l?gh(e,n,s,u):ph;if(_==="detect_ignore_on_ssg")return u;if((v==="navigator_or_header"||v==="cookie"||v==="fallback")&&S)return S;let y=S;return y||(c?y=y0(Ao,i,e):i!=="no_prefix"?y=t(e):l||(y=u)),!y&&l&&l.useCookie&&(y=b||""),y||(y=a||""),y}function su({route:e,targetLocale:t,routeLocaleGetter:n,calledWithRouting:r=!1}){const s=he(),o=ja(),{strategy:i,differentDomains:a}=o.runtimeConfig.public.i18n;let c="";const{fullPath:l}=e.to;if(!a&&(r||i!=="no_prefix")&&n(e.to)!==t){const u=s.$switchLocalePath(t)||s.$localePath(l,t);W(u)&&u&&!vi(u,l)&&!u.startsWith("//")&&(c=e.from&&e.from.fullPath===u?"":u)}if((a||!0)&&n(e.to)!==t){const u=cr(o,t,e.to);W(u)&&u&&!vi(u,l)&&!u.startsWith("//")&&(c=u)}return c}function a0(e){return ce(e)&&"path"in e&&"statusCode"in e}const c0=()=>Zr(rh+":redirect",()=>"");function ou(e,t){return Ny(e,{redirectCode:t})}async function iu(e,{status:t=302,enableNavigate:n=!1}={}){const{nuxtApp:r,i18n:s,locale:o,route:i}=e,{rootRedirect:a,differentDomains:c,skipSettingLocaleOnNavigate:l}=r.$config.public.i18n;let{redirectPath:u}=e;if(i.path==="/"&&a)return W(a)?u="/"+a:a0(a)&&(u="/"+a.path,t=a.statusCode),u=r.$localePath(u,o),ou(u,t);if(!(l&&(s.__pendingLocale=o,s.__pendingLocalePromise=new Promise(f=>{s.__resolvePendingLocalePromise=f}),!n))){if(c){const f=c0();f.value&&f.value!==u&&(f.value="",window.location.assign(u))}else if(u)return ou(u,t)}}function l0(e,t){Un(e,"$i18n",pn(t)),Un(e,"$getRouteBaseName",ze(ar)),Un(e,"$localePath",ze(Io)),Un(e,"$localeRoute",ze($a)),Un(e,"$switchLocalePath",ze(cr)),Un(e,"$localeHead",ze(ch))}function u0(e=pt()){return t=>Yw(t)&&!e.public.i18n.differentDomains}function f0(e=pt()){return(t,n)=>{if(e.public.i18n.differentDomains){const r=mh(n);return r?bo(r,t):t}else return zw(t)}}function d0(){return()=>{const e=he(),{baseUrl:t,defaultLocale:n,differentDomains:r}=e.$config.public.i18n;if(ge(t))return t(e);const s=ge(n)?n():n;if(r&&s){const o=mh(s);if(o)return o}return t}}function dh(e){return rh+" "+e}function ts(e,t,...n){const r=pn(e),[s,o]=[r,r[t]];return Reflect.apply(o,s,[...n])}function h0(e,t){const n=pn(e);return ne(n[t])}function Un(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function ze(e,t=ja()){return(...n)=>e(t,...n)}function hh(){let e;return navigator.languages&&(e=Bw(Ao,navigator.languages)),e}function p0(){const e=ns(),t=e&&e.cookieKey||Rw,n=new Date,r={expires:new Date(n.setDate(n.getDate()+365)),path:"/",sameSite:e&&e.cookieCrossOrigin?"none":"lax",secure:e&&e.cookieCrossOrigin||e&&e.cookieSecure};return e&&e.cookieDomain&&(r.domain=e.cookieDomain),hv(t,r)}function vs(e,t,n){if(t===!1||!t.useCookie)return;const r=e.value??void 0;if(r!=null){if(In.includes(r))return r;if(n)return e.value=n,n;e.value=void 0}}function g0(e,t,n){n===!1||!n.useCookie||(e.value=t)}const ph={locale:"",stat:!1,reason:"unknown",from:"unknown"};function gh(e,t,n,r=""){const{strategy:s}=pt().public.i18n,{ssg:o,callType:i,firstAccess:a,localeCookie:c}=n;if(s==="no_prefix"&&o==="ssg_ignore")return{locale:"",stat:!0,reason:"detect_ignore_on_ssg"};if(!a)return{locale:s==="no_prefix"?r:"",stat:!1,reason:"first_access_only"};const{redirectOn:l,alwaysRedirect:u,useCookie:f,fallbackLocale:d}=ns(),g=W(e)?e:e.path;if(s!=="no_prefix"){if(l==="root"){if(g!=="/")return{locale:"",stat:!1,reason:"not_redirect_on_root"}}else if(l==="no prefix"&&!u&&g.match(Qs(In)))return{locale:"",stat:!1,reason:"not_redirect_on_no_prefix"}}let b="unknown",S,L;f&&(L=S=c,b="cookie"),L||(L=hh(),b="navigator_or_header");const _=L||d;!L&&d&&(b="fallback");const v=r||t;if(_&&(!f||u||!S)){if(s==="no_prefix")return{locale:_,stat:!0,from:b};if(i==="setup"&&_!==v)return{locale:_,stat:!0,from:b};if(u){const y=g==="/",m=l==="all",E=l==="no prefix"&&!g.match(Qs(In));if(y||m||E)return{locale:_,stat:!0,from:b}}}return o==="ssg_setup"&&_?{locale:_,stat:!0,from:b}:(b==="navigator_or_header"||b==="cookie")&&_?{locale:_,stat:!0,from:b}:{locale:"",stat:!1,reason:"not_found_match"}}function m0(){let e;return e=window.location.host,e}function y0(e,t,n){let r=m0()||"";if(r){let s;const o=e.filter(i=>{if(i&&i.domain){let a=i.domain;return xt(i.domain)&&(a=i.domain.replace(/(http|https):\/\//,"")),a===r}return!1});if(o.length===1)s=o[0];else if(o.length>1)if(t==="no_prefix")console.warn(dh("Multiple matching domains found! This is not supported for no_prefix strategy in combination with differentDomains!")),s=o[0];else{if(n){const i=ce(n)?n.path:W(n)?n:"";if(i&&i!==""){const a=i.match(Qs(o.map(c=>c.code)));a&&a.length>1&&(s=o.find(c=>c.code===a[1]))}}s||(s=o.find(i=>i.domainDefault))}if(s)return s.code;r=""}return r}function mh(e){var o,i;const n=pt().public.i18n,r=Ao.find(a=>a.code===e),s=((i=(o=n==null?void 0:n.locales)==null?void 0:o[e])==null?void 0:i.domain)??(r==null?void 0:r.domain);if(s){if(xt(s,{strict:!0}))return s;let a;return a=new URL(window.location.origin).protocol,a+"//"+s}console.warn(dh("Could not find domain name for locale "+e))}const ns=(e=pt().public.i18n)=>(e==null?void 0:e.detectBrowserLanguage)===!1?!1:e==null?void 0:e.detectBrowserLanguage;function IC(){return ze(Io)}function _0(){return ze(cr)}function b0(e,{locales:t=[],localeCodes:n=[],baseUrl:r="",hooks:s={},context:o={}}={}){const i=Gr(),a=e.install;return e.install=(c,...l)=>{const u=w0(l[0])?Pe({},l[0]):{inject:!0};u.inject==null&&(u.inject=!0);const f=u.__composerExtend;if(u.__composerExtend=S=>{const L=ir(e);S.locales=me(()=>L.locales.value),S.localeCodes=me(()=>L.localeCodes.value),S.baseUrl=me(()=>L.baseUrl.value);let _;return ge(f)&&(_=Reflect.apply(f,u,[S])),()=>{_&&_()}},e.mode==="legacy"){const S=u.__vueI18nExtend;u.__vueI18nExtend=L=>{au(L,s.onExtendVueI18n);let _;return ge(S)&&(_=Reflect.apply(S,u,[L])),()=>{_&&_()}}}l[0]=u,Reflect.apply(a,e,[c,...l]);const d=ir(e);i.run(()=>{v0(d,{locales:t,localeCodes:n,baseUrl:r,hooks:s,context:o}),e.mode==="legacy"&&oh(e.global)&&au(e.global,s.onExtendVueI18n)});const g=c,b=e.mode==="composition"?g.config.globalProperties.$i18n:null;if(b&&E0(b,d,s.onExtendExportedGlobal),u.inject){const S=ja(e);c.mixin({methods:{getRouteBaseName:ze(ar,S),resolveRoute:ze(No,S),localePath:ze(Io,S),localeRoute:ze($a,S),localeLocation:ze(Xw,S),switchLocalePath:ze(cr,S),localeHead:ze(ch,S)}})}if(g.unmount){const S=g.unmount;g.unmount=()=>{i.stop(),S()}}},i}function v0(e,t){const{locales:n,localeCodes:r,baseUrl:s,context:o}=t,i=be(n),a=be(r),c=be("");e.locales=me(()=>i.value),e.localeCodes=me(()=>a.value),e.baseUrl=me(()=>c.value),Iw?$e(e.locale,()=>{c.value=tu(s,o)},{immediate:!0}):c.value=tu(s,o),t.hooks&&t.hooks.onExtendComposer&&t.hooks.onExtendComposer(e)}function yh(e,t,n){const r=[{locales:{get(){return e.locales.value}},localeCodes:{get(){return e.localeCodes.value}},baseUrl:{get(){return e.baseUrl.value}}}];n&&r.push(n(e));for(const s of r)for(const[o,i]of Object.entries(s))Object.defineProperty(t,o,i)}function E0(e,t,n){yh(t,e,n)}function au(e,t){const n=ir(e);yh(n,e,t)}function w0(e){return ce(e)&&("inject"in e||"__composerExtend"in e||"__vueI18nExtend"in e)}function S0(){const{routesNameSeparator:e,defaultLocaleRouteNameSuffix:t}=pt().public.i18n,n=`(${In.join("|")})`,r=`(?:${e}${t})?`,s=new RegExp(`${e}${n}${r}$`,"i"),o=Qs(In);return a=>{if(ce(a)){if(a.name){const l=(W(a.name)?a.name:a.name.toString()).match(s);if(l&&l.length>1)return l[1]}else if(a.path){const c=a.path.match(o);if(c&&c.length>1)return c[1]}}else if(W(a)){const c=a.match(o);if(c&&c.length>1)return c[1]}return""}}const C0=qe({name:"i18n:plugin",parallel:Lw,async setup(e){let t,n;const r=Ta(),{vueApp:s}=e,o=e,i={...o.$config.public.i18n};i.baseUrl=d0();const a=ns(),c=([t,n]=At(()=>kw(Tw,he())),t=await t,n(),t);c.messages=c.messages||{},c.fallbackLocale=c.fallbackLocale??!1;const l=S0(),u=m=>m||c.locale||"en-US",f=p0();let d=ru(r,l,c.locale,u(i.defaultLocale),{ssg:i.strategy==="no_prefix"?"ssg_ignore":"normal",callType:"setup",firstAccess:!0,localeCookie:vs(f,a,i.defaultLocale)},i);c.messages=([t,n]=At(()=>Aw(c.messages,zs,{localeCodes:In,initialLocale:d,lazy:i.lazy,defaultLocale:i.defaultLocale,fallbackLocale:c.fallbackLocale})),t=await t,n(),t),d=u(d);const g=dw({...c,locale:d});let b=!0;const S=m=>d!==m&&b;let L=!0;const _=()=>L;_()&&i.strategy==="no_prefix"&&e.hook("app:mounted",async()=>{const{locale:m,stat:E,reason:C,from:R}=a?gh(r,c.locale,{ssg:"ssg_setup",callType:"setup",firstAccess:!0,localeCookie:vs(f,a,i.defaultLocale)},d):ph;r0(g,m),L=!1}),b0(g,{locales:i.configLocales,localeCodes:In,baseUrl:i.baseUrl,context:o,hooks:{onExtendComposer(m){m.strategy=i.strategy,m.localeProperties=me(()=>Ao.find(E=>E.code===m.locale.value)||{code:m.locale.value}),m.setLocale=async E=>{const C=S(E);await nu(E,g,i,C)&&C&&(b=!1);const k=await o.runWithContext(()=>su({route:{to:r},targetLocale:E,routeLocaleGetter:l}));await o.runWithContext(async()=>await iu({nuxtApp:o,i18n:g,redirectPath:k,locale:E,route:r},{enableNavigate:!0}))},m.loadLocaleMessages=async E=>{await Js(E,zs,(R,k)=>fh(g,R,k))},m.differentDomains=i.differentDomains,m.defaultLocale=i.defaultLocale,m.getBrowserLocale=()=>hh(),m.getLocaleCookie=()=>vs(f,a,i.defaultLocale),m.setLocaleCookie=E=>g0(f,E,a),m.onBeforeLanguageSwitch=(E,C,R,k)=>e.callHook("i18n:beforeLocaleSwitch",{oldLocale:E,newLocale:C,initialSetup:R,context:k}),m.onLanguageSwitched=(E,C)=>e.callHook("i18n:localeSwitched",{oldLocale:E,newLocale:C}),m.finalizePendingLocaleChange=async()=>{g.__pendingLocale&&(ih(g,g.__pendingLocale),g.__resolvePendingLocalePromise&&await g.__resolvePendingLocalePromise(),g.__pendingLocale=void 0)},m.waitForPendingLocaleChange=async()=>{g.__pendingLocale&&g.__pendingLocalePromise&&await g.__pendingLocalePromise}},onExtendExportedGlobal(m){return{strategy:{get(){return m.strategy}},localeProperties:{get(){return m.localeProperties.value}},setLocale:{get(){return async E=>Reflect.apply(m.setLocale,m,[E])}},differentDomains:{get(){return m.differentDomains}},defaultLocale:{get(){return m.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(m.getBrowserLocale,m,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(m.getLocaleCookie,m,[])}},setLocaleCookie:{get(){return E=>Reflect.apply(m.setLocaleCookie,m,[E])}},onBeforeLanguageSwitch:{get(){return(E,C,R,k)=>Reflect.apply(m.onBeforeLanguageSwitch,m,[E,C,R,k])}},onLanguageSwitched:{get(){return(E,C)=>Reflect.apply(m.onLanguageSwitched,m,[E,C])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(m.finalizePendingLocaleChange,m,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(m.waitForPendingLocaleChange,m,[])}}}},onExtendVueI18n(m){return{strategy:{get(){return m.strategy}},localeProperties:{get(){return m.localeProperties.value}},setLocale:{get(){return async E=>Reflect.apply(m.setLocale,m,[E])}},loadLocaleMessages:{get(){return async E=>Reflect.apply(m.loadLocaleMessages,m,[E])}},differentDomains:{get(){return m.differentDomains}},defaultLocale:{get(){return m.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(m.getBrowserLocale,m,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(m.getLocaleCookie,m,[])}},setLocaleCookie:{get(){return E=>Reflect.apply(m.setLocaleCookie,m,[E])}},onBeforeLanguageSwitch:{get(){return(E,C,R,k)=>Reflect.apply(m.onBeforeLanguageSwitch,m,[E,C,R,k])}},onLanguageSwitched:{get(){return(E,C)=>Reflect.apply(m.onLanguageSwitched,m,[E,C])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(m.finalizePendingLocaleChange,m,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(m.waitForPendingLocaleChange,m,[])}}}}}});const v={__composerExtend:m=>{const E=ir(g);return m.strategy=E.strategy,m.localeProperties=me(()=>E.localeProperties.value),m.setLocale=E.setLocale,m.differentDomains=E.differentDomains,m.getBrowserLocale=E.getBrowserLocale,m.getLocaleCookie=E.getLocaleCookie,m.setLocaleCookie=E.setLocaleCookie,m.onBeforeLanguageSwitch=E.onBeforeLanguageSwitch,m.onLanguageSwitched=E.onLanguageSwitched,m.finalizePendingLocaleChange=E.finalizePendingLocaleChange,m.waitForPendingLocaleChange=E.waitForPendingLocaleChange,()=>{}}};if(s.use(g,v),l0(o,g),i.experimental.switchLocalePathLinkSSR===!0){const m=_0(),E=new RegExp([``,".+?",``].join(""),"g");e.hook("app:rendered",C=>{var R;((R=C.renderResult)==null?void 0:R.html)!=null&&(C.renderResult.html=C.renderResult.html.replaceAll(E,(k,T)=>k.replace(/href="([^"]+)"/,`href="${m(T??"")}"`)))})}let y=0;Oy("locale-changing",async(m,E)=>{let C,R;const k=ru(m,l,c.locale,()=>Oo(g)||u(i.defaultLocale),{ssg:_()&&i.strategy==="no_prefix"?"ssg_ignore":"normal",callType:"routing",firstAccess:y===0,localeCookie:vs(f,a,i.defaultLocale)},i),T=S(k);([C,R]=At(()=>nu(k,g,i,T)),C=await C,R(),C)&&T&&(b=!1);const F=([C,R]=At(()=>o.runWithContext(()=>su({route:{to:m,from:E},targetLocale:k,routeLocaleGetter:i.strategy==="no_prefix"?()=>k:l,calledWithRouting:!0}))),C=await C,R(),C);return y++,[C,R]=At(()=>o.runWithContext(async()=>iu({nuxtApp:o,i18n:g,redirectPath:F,locale:k,route:m}))),C=await C,R(),C},{global:!0})}}),T0=qe(()=>{}),L0=qe({name:"nuxt:chunk-reload",setup(e){const t=St(),n=pt(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:o})=>{r.add(o)});function s(o){const a="href"in o&&o.href[0]==="#"?n.app.baseURL+o.href:bo(n.app.baseURL,o.fullPath);yv({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}}),P0=[$_,j_,Zb,tv,nv,rv,_v,bv,vv,wv,Pv,Av,C0,T0,L0],cu={pwaInDevEnvironment:!1,webManifest:{href:"/manifest.webmanifest",useCredentials:!1,linkTag:''}},R0=ht({async setup(){if(cu){const e=be({link:[]});pd(e);const{webManifest:t}=cu;if(t){const{href:n,useCredentials:r}=t;r?e.value.link.push({rel:"manifest",href:n,crossorigin:"use-credentials"}):e.value.link.push({rel:"manifest",href:n})}}return()=>null}}),k0=ht({props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,r={};for(const s in e.route)Object.defineProperty(r,s,{get:()=>t===e.renderKey?e.route[s]:n[s]});return Zn(Eo,qr(r)),()=>bt(e.vnode,{ref:e.vnodeRef})}}),A0=ht({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,expose:n}){const r=he(),s=be(),o=Ke(Eo,null);let i;n({pageRef:s});const a=Ke(Ay,null);let c;const l=r.deferHydration();if(r.isHydrating){const u=r.hooks.hookOnce("app:error",l);St().beforeEach(u)}return e.pageKey&&$e(()=>e.pageKey,(u,f)=>{u!==f&&r.callHook("page:loading:start")}),()=>bt(Od,{name:e.name,route:e.route,...t},{default:u=>{const f=I0(o,u.route,u.Component),d=o&&o.matched.length===u.route.matched.length;if(!u.Component){if(c&&!d)return c;l();return}if(c&&a&&!a.isCurrent(u.route))return c;if(f&&o&&(!a||a!=null&&a.isCurrent(o)))return d?c:null;const g=xi(u,e.pageKey);!r.isHydrating&&!N0(o,u.route,u.Component)&&i===g&&r.callHook("page:loading:end"),i=g;const b=!!(e.transition??u.route.meta.pageTransition??Ai),S=b&&O0([e.transition,u.route.meta.pageTransition,Ai,{onAfterLeave:()=>{r.callHook("page:transition:finish",u.Component)}}].filter(Boolean)),L=e.keepalive??u.route.meta.keepalive??A_;return c=Kb(Ea,b&&S,Wb(L,bt(cf,{suspensible:!0,onPending:()=>r.callHook("page:start",u.Component),onResolve:()=>{fn(()=>r.callHook("page:finish",u.Component).then(()=>r.callHook("page:loading:end")).finally(l))}},{default:()=>{const _=bt(k0,{key:g||void 0,vnode:u.Component,route:u.route,renderKey:g||void 0,trackRootNodes:b,vnodeRef:s});return L&&(_.type.name=u.Component.type.name||u.Component.type.__name||"RouteProvider"),_}}))).default(),c}})}});function O0(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?Aa(n.onAfterLeave):void 0}));return od(...t)}function I0(e,t,n){if(!e)return!1;const r=t.matched.findIndex(s=>{var o;return((o=s.components)==null?void 0:o.default)===(n==null?void 0:n.type)});return!r||r===-1?!1:t.matched.slice(0,r).some((s,o)=>{var i,a,c;return((i=s.components)==null?void 0:i.default)!==((c=(a=e.matched[o])==null?void 0:a.components)==null?void 0:c.default)})||n&&xi({route:t,Component:n})!==xi({route:e,Component:n})}function N0(e,t,n){return e?t.matched.findIndex(s=>{var o;return((o=s.components)==null?void 0:o.default)===(n==null?void 0:n.type)})e&&(qi.has(e)?qi.get(e):lu(e)===Object.prototype||lu(e)===Array.prototype),D0=e=>M0(e)&&e[x0]||null,uu=(e,t=!0)=>{qi.set(e,t)};var ei=e=>typeof e=="object"&&e!==null,En=new WeakMap,br=new WeakSet,F0=(e=Object.is,t=(l,u)=>new Proxy(l,u),n=l=>ei(l)&&!br.has(l)&&(Array.isArray(l)||!(Symbol.iterator in l))&&!(l instanceof WeakMap)&&!(l instanceof WeakSet)&&!(l instanceof Error)&&!(l instanceof Number)&&!(l instanceof Date)&&!(l instanceof String)&&!(l instanceof RegExp)&&!(l instanceof ArrayBuffer),r=l=>{switch(l.status){case"fulfilled":return l.value;case"rejected":throw l.reason;default:throw l}},s=new WeakMap,o=(l,u,f=r)=>{const d=s.get(l);if((d==null?void 0:d[0])===u)return d[1];const g=Array.isArray(l)?[]:Object.create(Object.getPrototypeOf(l));return uu(g,!0),s.set(l,[u,g]),Reflect.ownKeys(l).forEach(b=>{const S=Reflect.get(l,b);br.has(S)?(uu(S,!1),g[b]=S):S instanceof Promise?Object.defineProperty(g,b,{get(){return f(S)}}):En.has(S)?g[b]=Cn(S,f):g[b]=S}),Object.freeze(g)},i=new WeakMap,a=[1,1],c=l=>{if(!ei(l))throw new Error("object required");const u=i.get(l);if(u)return u;let f=a[0];const d=new Set,g=(T,I=++a[0])=>{f!==I&&(f=I,d.forEach(F=>F(T,I)))};let b=a[1];const S=(T=++a[1])=>(b!==T&&!d.size&&(b=T,_.forEach(([I])=>{const F=I[1](T);F>f&&(f=F)})),f),L=T=>(I,F)=>{const x=[...I];x[1]=[T,...x[1]],g(x,F)},_=new Map,v=(T,I)=>{if(d.size){const F=I[3](L(T));_.set(T,[I,F])}else _.set(T,[I])},y=T=>{var F;const I=_.get(T);I&&(_.delete(T),(F=I[1])==null||F.call(I))},m=T=>(d.add(T),d.size===1&&_.forEach(([F,x],q)=>{const ie=F[3](L(q));_.set(q,[F,ie])}),()=>{d.delete(T),d.size===0&&_.forEach(([F,x],q)=>{x&&(x(),_.set(q,[F]))})}),E=Array.isArray(l)?[]:Object.create(Object.getPrototypeOf(l)),R=t(E,{deleteProperty(T,I){const F=Reflect.get(T,I);y(I);const x=Reflect.deleteProperty(T,I);return x&&g(["delete",[I],F]),x},set(T,I,F,x){var H;const q=Reflect.has(T,I),ie=Reflect.get(T,I,x);if(q&&(e(ie,F)||i.has(F)&&e(ie,i.get(F))))return!0;y(I),ei(F)&&(F=D0(F)||F);let oe=F;if(!((H=Object.getOwnPropertyDescriptor(T,I))!=null&&H.set))if(F instanceof Promise)F.then(Q=>{Object.assign(F,{status:"fulfilled",value:Q}),g(["resolve",[I],Q])}).catch(Q=>{Object.assign(F,{status:"rejected",reason:Q}),g(["reject",[I],Q])});else{!En.has(F)&&n(F)&&(oe=Ha(F));const Q=!br.has(oe)&&En.get(oe);Q&&v(I,Q)}return Reflect.set(T,I,oe,x),g(["set",[I],F,ie]),!0}});i.set(l,R);const k=[E,S,o,m];return En.set(R,k),Reflect.ownKeys(l).forEach(T=>{const I=Object.getOwnPropertyDescriptor(l,T);I.get||I.set?Object.defineProperty(E,T,I):R[T]=l[T]}),R})=>[c,En,br,e,t,n,r,s,o,i,a],[$0]=F0();function Ha(e={}){return $0(e)}function Zs(e,t,n){const r=En.get(e);let s;const o=[],i=r[3];let a=!1;const l=i(u=>{if(o.push(u),n){t(o.splice(0));return}s||(s=Promise.resolve().then(()=>{s=void 0,a&&t(o.splice(0))}))});return a=!0,()=>{a=!1,l()}}function Cn(e,t){const n=En.get(e),[r,s,o]=n;return o(r,s(),t)}function fu(e){return br.add(e),e}function U0(e,t){Object.keys(t).forEach(s=>{if(Object.getOwnPropertyDescriptor(e,s))throw new Error("object property already defined");const o=t[s],{get:i,set:a}=typeof o=="function"?{get:o}:o,c={};c.get=()=>i(Cn(r)),a&&(c.set=l=>a(r,l)),Object.defineProperty(e,s,c)});const r=Ha(e);return r}function du(e,t,n){typeof n.value=="object"&&(n.value=Wn(n.value)),!n.enumerable||n.get||n.set||!n.configurable||!n.writable||t==="__proto__"?Object.defineProperty(e,t,n):e[t]=n.value}function Wn(e){if(typeof e!="object")return e;var t=0,n,r,s,o=Object.prototype.toString.call(e);if(o==="[object Object]"?s=Object.create(e.__proto__||null):o==="[object Array]"?s=Array(e.length):o==="[object Set]"?(s=new Set,e.forEach(function(i){s.add(Wn(i))})):o==="[object Map]"?(s=new Map,e.forEach(function(i,a){s.set(Wn(a),Wn(i))})):o==="[object Date]"?s=new Date(+e):o==="[object RegExp]"?s=new RegExp(e.source,e.flags):o==="[object DataView]"?s=new e.constructor(Wn(e.buffer)):o==="[object ArrayBuffer]"?s=e.slice(0):o.slice(-6)==="Array]"&&(s=new e.constructor(e)),s){for(r=Object.getOwnPropertySymbols(e);tt in e?j0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,J=(e,t,n)=>(H0(e,typeof t!="symbol"?t+"":t,n),n);function B0(e){for(;e.length>0;)e.pop();return e}var hu=(e,...t)=>(typeof e=="function"?e(...t):e)??void 0,Ut=e=>e,V0=()=>{},pu=(()=>{let e=0;return()=>(e++,e.toString(36))})(),eo=e=>Array.isArray(e),Nr=e=>!(e==null||typeof e!="object"||eo(e)),W0=e=>typeof e=="number"&&!Number.isNaN(e),Ot=e=>typeof e=="string",to=e=>typeof e=="function",K0=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);function no(e){if(!G0(e)||e===void 0)return e;const t=Reflect.ownKeys(e).filter(r=>typeof r=="string"),n={};for(const r of t){const s=e[r];s!==void 0&&(n[r]=no(s))}return n}var G0=e=>e&&typeof e=="object"&&e.constructor===Object;function ti(...e){const t=e.length===1?e[0]:e[1],n=e.length===2?e[0]:!0}function Ps(...e){const t=e.length===1?e[0]:e[1],n=e.length===2?e[0]:!0}function _h(e,...t){for(const n of t){const r=no(n);for(const s in r)Nr(n[s])?(e[s]||(e[s]={}),_h(e[s],n[s])):e[s]=n[s]}return e}function gu(e){return Wn(e)}function mt(e){return Ot(e)?{type:e}:e}function en(e){return e?eo(e)?e.slice():[e]:[]}function bh(e){return Nr(e)&&e.predicate!=null}var q0=()=>!0;function Ba(e,t,n,r){return s=>{var o;return Ot(s)?!!((o=e[s])!=null&&o.call(e,t,n,r)):to(s)?s(t,n,r):s.predicate(e)(t,n,r)}}function Y0(...e){return{predicate:t=>(n,r,s)=>e.map(Ba(t,n,r,s)).some(Boolean)}}function X0(...e){return{predicate:t=>(n,r,s)=>e.map(Ba(t,n,r,s)).every(Boolean)}}function z0(e){return{predicate:t=>(n,r,s)=>!Ba(t,n,r,s)(e)}}function J0(...e){return(t,n,r)=>r.state.matches(...e)}var Q0={or:Y0,and:X0,not:z0,stateIn:J0};function vh(e,t){return e=e??q0,(n,r,s)=>{if(Ot(e)){const o=t[e];return to(o)?o(n,r,s):o}return bh(e)?e.predicate(t)(n,r,s):e==null?void 0:e(n,r,s)}}function ni(e,t){return(n,r,s)=>bh(e)?e.predicate(t)(n,r,s):e}function Z0(e){var o,i;const t=e.computed??Ut({}),n=e.context??Ut({}),r=e.initial?(i=(o=e.states)==null?void 0:o[e.initial])==null?void 0:i.tags:[],s=Ha({value:e.initial??"",previousValue:"",event:Ut({}),previousEvent:Ut({}),context:U0(n,t),done:!1,tags:r??[],hasTag(a){return this.tags.includes(a)},matches(...a){return a.includes(this.value)},can(a){return Ut(this).nextEvents.includes(a)},get nextEvents(){var l,u;const a=((u=(l=e.states)==null?void 0:l[this.value])==null?void 0:u.on)??{},c=(e==null?void 0:e.on)??{};return Object.keys({...a,...c})},get changed(){return this.event.value==="machine.init"||!this.previousValue?!1:this.value!==this.previousValue}});return Ut(s)}function mr(e,t){return(n,r)=>{if(W0(e))return e;if(to(e))return e(n,r);if(Ot(e)){const s=Number.parseFloat(e);if(!Number.isNaN(s))return s;if(t){const o=t==null?void 0:t[e];return Ps(o==null,`[@zag-js/core > determine-delay] Cannot determine delay for \`${e}\`. It doesn't exist in \`options.delays\``),to(o)?o(n,r):o}}}}function eS(e){return Ot(e)?{target:e}:e}function tS(e,t){return(n,r,s)=>en(e).map(eS).find(o=>vh(o.guard,t)(n,r,s)??o.target??o.actions)}var nS=class{constructor(e,t){var n,r,s,o,i;J(this,"status","Not Started"),J(this,"state"),J(this,"initialState"),J(this,"initialContext"),J(this,"id"),J(this,"type","machine"),J(this,"activityEvents",new Map),J(this,"delayedEvents",new Map),J(this,"stateListeners",new Set),J(this,"doneListeners",new Set),J(this,"contextWatchers",new Set),J(this,"removeStateListener",V0),J(this,"parent"),J(this,"children",new Map),J(this,"guardMap"),J(this,"actionMap"),J(this,"delayMap"),J(this,"activityMap"),J(this,"sync"),J(this,"options"),J(this,"config"),J(this,"_created",()=>{var c;const a=mt("machine.created");this.executeActions((c=this.config)==null?void 0:c.created,a)}),J(this,"start",a=>{if(this.state.value="",this.state.tags=[],this.status==="Running")return this;this.status="Running",this.removeStateListener=Zs(this.state,()=>{this.stateListeners.forEach(g=>{g(this.stateSnapshot)})},this.sync),this.setupContextWatchers(),this.executeActivities(mt("machine.start"),en(this.config.activities),"machine.start"),this.executeActions(this.config.entry,mt("machine.start"));const c=mt("machine.init"),l=Nr(a)?a.value:a,u=Nr(a)?a.context:void 0;u&&this.setContext(u);const f={target:l??this.config.initial},d=this.getNextStateInfo(f,c);return this.initialState=d,this.performStateChangeEffects(this.state.value,d,c),this}),J(this,"setupContextWatchers",()=>{const{watch:a}=this.config;if(!a)return;let c=Cn(this.state.context);const l=Zs(this.state.context,()=>{var f;const u=Cn(this.state.context);for(const[d,g]of Object.entries(a))(((f=this.options.compareFns)==null?void 0:f[d])??Object.is)(c[d],u[d])||this.executeActions(g,this.state.event);c=u});this.contextWatchers.add(l)}),J(this,"stop",()=>{if(this.status!=="Stopped")return this.performExitEffects(this.state.value,mt("machine.stop")),this.executeActions(this.config.exit,mt("machine.stop")),this.setState(""),this.setEvent("machine.stop"),this.stopStateListeners(),this.stopChildren(),this.stopActivities(),this.stopDelayedEvents(),this.stopContextWatchers(),this.status="Stopped",this}),J(this,"stopStateListeners",()=>{this.removeStateListener(),this.stateListeners.clear()}),J(this,"stopContextWatchers",()=>{this.contextWatchers.forEach(a=>a()),this.contextWatchers.clear()}),J(this,"stopDelayedEvents",()=>{this.delayedEvents.forEach(a=>{a.forEach(c=>c())}),this.delayedEvents.clear()}),J(this,"stopActivities",a=>{var c,l;a?((c=this.activityEvents.get(a))==null||c.forEach(u=>u()),(l=this.activityEvents.get(a))==null||l.clear(),this.activityEvents.delete(a)):(this.activityEvents.forEach(u=>{u.forEach(f=>f()),u.clear()}),this.activityEvents.clear())}),J(this,"sendChild",(a,c)=>{const l=mt(a),u=hu(c,this.contextSnapshot),f=this.children.get(u);f||Ps(`[@zag-js/core] Cannot send '${l.type}' event to unknown child`),f.send(l)}),J(this,"stopChild",a=>{this.children.has(a)||Ps(`[@zag-js/core > stop-child] Cannot stop unknown child ${a}`),this.children.get(a).stop(),this.children.delete(a)}),J(this,"removeChild",a=>{this.children.delete(a)}),J(this,"stopChildren",()=>{this.children.forEach(a=>a.stop()),this.children.clear()}),J(this,"setParent",a=>{this.parent=a}),J(this,"spawn",(a,c)=>{const l=hu(a);return c&&(l.id=c),l.type="machine.actor",l.setParent(this),this.children.set(l.id,Ut(l)),l.onDone(()=>{this.removeChild(l.id)}).start(),Ut(fu(l))}),J(this,"stopActivity",a=>{var l;if(!this.state.value)return;const c=this.activityEvents.get(this.state.value);(l=c==null?void 0:c.get(a))==null||l(),c==null||c.delete(a)}),J(this,"addActivityCleanup",(a,c,l)=>{var u;a&&(this.activityEvents.has(a)?(u=this.activityEvents.get(a))==null||u.set(c,l):this.activityEvents.set(a,new Map([[c,l]])))}),J(this,"setState",a=>{this.state.previousValue=this.state.value,this.state.value=a;const c=this.getStateNode(a);a==null?B0(this.state.tags):this.state.tags=en(c==null?void 0:c.tags)}),J(this,"setContext",a=>{a&&_h(this.state.context,no(a))}),J(this,"setOptions",a=>{const c=no(a);this.actionMap={...this.actionMap,...c.actions},this.delayMap={...this.delayMap,...c.delays},this.activityMap={...this.activityMap,...c.activities},this.guardMap={...this.guardMap,...c.guards}}),J(this,"getStateNode",a=>{var c;if(a)return(c=this.config.states)==null?void 0:c[a]}),J(this,"getNextStateInfo",(a,c)=>{const l=this.determineTransition(a,c),u=!(l!=null&&l.target),f=(l==null?void 0:l.target)??this.state.value,d=this.state.value!==f,g=this.getStateNode(f),S={reenter:!u&&!d&&!(l!=null&&l.internal),transition:l,stateNode:g,target:f,changed:d};return this.log("NextState:",`[${c.type}]`,this.state.value,"---->",S.target),S}),J(this,"getAfterActions",(a,c)=>{let l;return{entry:()=>{l=globalThis.setTimeout(()=>{const u=this.getNextStateInfo(a,this.state.event);this.performStateChangeEffects(this.state.value,u,this.state.event)},c)},exit:()=>{globalThis.clearTimeout(l)}}}),J(this,"getDelayedEventActions",a=>{const c=this.getStateNode(a),l=this.state.event;if(!c||!c.after)return;const u=[],f=[];if(eo(c.after)){const d=this.determineTransition(c.after,l);if(!d)return;if(!K0(d,"delay"))throw new Error(`[@zag-js/core > after] Delay is required for after transition: ${JSON.stringify(d)}`);const b=mr(d.delay,this.delayMap)(this.contextSnapshot,l),S=this.getAfterActions(d,b);return u.push(S.entry),f.push(S.exit),{entries:u,exits:f}}if(Nr(c.after))for(const d in c.after){const g=c.after[d],S=mr(d,this.delayMap)(this.contextSnapshot,l),L=this.getAfterActions(g,S);u.push(L.entry),f.push(L.exit)}return{entries:u,exits:f}}),J(this,"executeActions",(a,c)=>{var u;const l=ni(a,this.guardMap)(this.contextSnapshot,c,this.guardMeta);for(const f of en(l)){const d=Ot(f)?(u=this.actionMap)==null?void 0:u[f]:f;ti(Ot(f)&&!d,`[@zag-js/core > execute-actions] No implementation found for action: \`${f}\``),d==null||d(this.state.context,c,this.meta)}}),J(this,"executeActivities",(a,c,l)=>{var u;for(const f of c){const d=Ot(f)?(u=this.activityMap)==null?void 0:u[f]:f;if(!d){ti(`[@zag-js/core > execute-activity] No implementation found for activity: \`${f}\``);continue}const g=d(this.state.context,a,this.meta);if(g){const b=Ot(f)?f:f.name||pu();this.addActivityCleanup(l??this.state.value,b,g)}}}),J(this,"createEveryActivities",(a,c)=>{if(a)if(eo(a)){const l=en(a).find(g=>{const b=g.delay,L=mr(b,this.delayMap)(this.contextSnapshot,this.state.event);return vh(g.guard,this.guardMap)(this.contextSnapshot,this.state.event,this.guardMeta)??L!=null});if(!l)return;const f=mr(l.delay,this.delayMap)(this.contextSnapshot,this.state.event);c(()=>{const g=globalThis.setInterval(()=>{this.executeActions(l.actions,this.state.event)},f);return()=>{globalThis.clearInterval(g)}})}else for(const l in a){const u=a==null?void 0:a[l],d=mr(l,this.delayMap)(this.contextSnapshot,this.state.event);c(()=>{const b=globalThis.setInterval(()=>{this.executeActions(u,this.state.event)},d);return()=>{globalThis.clearInterval(b)}})}}),J(this,"setEvent",a=>{this.state.previousEvent=this.state.event,this.state.event=fu(mt(a))}),J(this,"performExitEffects",(a,c)=>{const l=this.state.value;if(l==="")return;const u=a?this.getStateNode(a):void 0;this.stopActivities(l);const f=ni(u==null?void 0:u.exit,this.guardMap)(this.contextSnapshot,c,this.guardMeta),d=en(f),g=this.delayedEvents.get(l);g&&d.push(...g),this.executeActions(d,c)}),J(this,"performEntryEffects",(a,c)=>{const l=this.getStateNode(a),u=en(l==null?void 0:l.activities);this.createEveryActivities(l==null?void 0:l.every,b=>{u.unshift(b)}),u.length>0&&this.executeActivities(c,u);const f=ni(l==null?void 0:l.entry,this.guardMap)(this.contextSnapshot,c,this.guardMeta),d=en(f),g=this.getDelayedEventActions(a);l!=null&&l.after&&g&&(this.delayedEvents.set(a,g==null?void 0:g.exits),d.push(...g.entries)),this.executeActions(d,c),(l==null?void 0:l.type)==="final"&&(this.state.done=!0,this.doneListeners.forEach(b=>{b(this.stateSnapshot)}),this.stop())}),J(this,"performTransitionEffects",(a,c)=>{const l=this.determineTransition(a,c);this.executeActions(l==null?void 0:l.actions,c)}),J(this,"performStateChangeEffects",(a,c,l)=>{this.setEvent(l);const u=c.changed||c.reenter;u&&this.performExitEffects(a,l),this.performTransitionEffects(c.transition,l),this.setState(c.target),u&&this.performEntryEffects(c.target,l)}),J(this,"determineTransition",(a,c)=>{const l=tS(a,this.guardMap);return l==null?void 0:l(this.contextSnapshot,c,this.guardMeta)}),J(this,"sendParent",a=>{var l;this.parent||Ps("[@zag-js/core > send-parent] Cannot send event to an unknown parent");const c=mt(a);(l=this.parent)==null||l.send(c)}),J(this,"log",(...a)=>{}),J(this,"send",a=>{const c=mt(a);this.transition(this.state.value,c)}),J(this,"transition",(a,c)=>{var g,b;const l=Ot(a)?this.getStateNode(a):a==null?void 0:a.stateNode,u=mt(c);if(!l&&!this.config.on){const S=this.status==="Stopped"?"[@zag-js/core > transition] Cannot transition a stopped machine":`[@zag-js/core > transition] State does not have a definition for \`state\`: ${a}, \`event\`: ${u.type}`;ti(S);return}const f=((g=l==null?void 0:l.on)==null?void 0:g[u.type])??((b=this.config.on)==null?void 0:b[u.type]),d=this.getNextStateInfo(f,u);return this.performStateChangeEffects(this.state.value,d,u),d.stateNode}),J(this,"subscribe",a=>(this.stateListeners.add(a),this.status==="Running"&&a(this.stateSnapshot),()=>{this.stateListeners.delete(a)})),J(this,"onDone",a=>(this.doneListeners.add(a),this)),J(this,"onTransition",a=>(this.stateListeners.add(a),this.status==="Running"&&a(this.stateSnapshot),this)),this.config=gu(e),this.options=gu(t??{}),this.id=this.config.id??`machine-${pu()}`,this.guardMap=((n=this.options)==null?void 0:n.guards)??{},this.actionMap=((r=this.options)==null?void 0:r.actions)??{},this.delayMap=((s=this.options)==null?void 0:s.delays)??{},this.activityMap=((o=this.options)==null?void 0:o.activities)??{},this.sync=((i=this.options)==null?void 0:i.sync)??!1,this.state=Z0(this.config),this.initialContext=Cn(this.state.context)}get stateSnapshot(){return Ut(Cn(this.state))}getState(){return this.stateSnapshot}get contextSnapshot(){return this.stateSnapshot.context}get self(){const e=this;return{id:this.id,send:this.send.bind(this),sendParent:this.sendParent.bind(this),sendChild:this.sendChild.bind(this),stop:this.stop.bind(this),stopChild:this.stopChild.bind(this),spawn:this.spawn.bind(this),stopActivity:this.stopActivity.bind(this),get state(){return e.stateSnapshot},get initialContext(){return e.initialContext},get initialState(){var t;return((t=e.initialState)==null?void 0:t.target)??""}}}get meta(){var e;return{state:this.stateSnapshot,guards:this.guardMap,send:this.send.bind(this),self:this.self,initialContext:this.initialContext,initialState:((e=this.initialState)==null?void 0:e.target)??"",getState:()=>this.stateSnapshot,getAction:t=>this.actionMap[t],getGuard:t=>this.guardMap[t]}}get guardMeta(){return{state:this.stateSnapshot}}get[Symbol.toStringTag](){return"Machine"}},Eh=(e,t)=>new nS(e,t),NC=e=>e[0],xC=e=>e[e.length-1],rS=(e,t)=>e.indexOf(t)!==-1,sS=(e,...t)=>e.concat(t),oS=(e,t)=>e.filter(n=>n!==t),MC=(e,t)=>rS(e,t)?oS(e,t):sS(e,t),mu=e=>(e==null?void 0:e.constructor.name)==="Array",iS=(e,t)=>{if(Object.is(e,t))return!0;if(e==null&&t!=null||e!=null&&t==null)return!1;if(typeof(e==null?void 0:e.isEqual)=="function"&&typeof(t==null?void 0:t.isEqual)=="function")return e.isEqual(t);if(typeof e=="function"&&typeof t=="function")return e.toString()===t.toString();if(mu(e)&&mu(t))return Array.from(e).toString()===Array.from(t).toString();if(typeof e!="object"||typeof t!="object")return!1;const n=Object.keys(t??Object.create(null)),r=n.length;for(let s=0;s(typeof e=="function"?e(...t):e)??void 0,DC=()=>{},FC=(...e)=>(...t)=>{e.forEach(function(n){n==null||n(...t)})},aS=(()=>{let e=0;return()=>(e++,e.toString(36))})();function cS(e,t,...n){var s;if(e in t){const o=t[e];return typeof o=="function"?o(...n):o}const r=new Error(`No matching key: ${JSON.stringify(e)} in ${JSON.stringify(Object.keys(t))}`);throw(s=Error.captureStackTrace)==null||s.call(Error,r,cS),r}var lS=(e,t)=>{var n;try{return e()}catch(r){return r instanceof Error&&((n=Error.captureStackTrace)==null||n.call(Error,r,lS)),t==null?void 0:t()}},$C=e=>typeof e=="function",UC=e=>e==null;function Va(e){if(!uS(e)||e===void 0)return e;const t=Reflect.ownKeys(e).filter(r=>typeof r=="string"),n={};for(const r of t){const s=e[r];s!==void 0&&(n[r]=Va(s))}return n}var uS=e=>e&&typeof e=="object"&&e.constructor===Object;function jC(...e){const t=e.length===1?e[0]:e[1],n=e.length===2?e[0]:!0}var Rs=(e,t=[])=>({parts:(...n)=>{if(fS(t))return Rs(e,n);throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?")},extendWith:(...n)=>Rs(e,[...t,...n]),rename:n=>Rs(n,t),keys:()=>t,build:()=>[...new Set(t)].reduce((n,r)=>Object.assign(n,{[r]:{selector:[`&[data-scope="${jn(e)}"][data-part="${jn(r)}"]`,`& [data-scope="${jn(e)}"][data-part="${jn(r)}"]`].join(", "),attrs:{"data-scope":jn(e),"data-part":jn(r)}}}),{})}),jn=e=>e.replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),fS=e=>e.length===0,HC=e=>e?"":void 0,BC=e=>e?"true":void 0,dS=2147483647,Yi=e=>typeof e=="object"&&(e==null?void 0:e.nodeType)===Node.ELEMENT_NODE&&typeof(e==null?void 0:e.nodeName)=="string",wh=e=>e.nodeType===Node.DOCUMENT_NODE,hS=e=>e!=null&&e===e.window,pS=e=>e.nodeType!==void 0,gS=e=>e&&pS(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e;function mS(e,t){return!e||!t||!Yi(e)||!Yi(t)?!1:e===t||e.contains(t)}function yS(e){return wh(e)?e:hS(e)?e.document:(e==null?void 0:e.ownerDocument)??document}function Sh(e){var t;return gS(e)?Sh(e.host):wh(e)?e.defaultView??window:Yi(e)?((t=e.ownerDocument)==null?void 0:t.defaultView)??window:window}function _S(e){var t;return((t=e.composedPath)==null?void 0:t.call(e)[0])??e.target}var VC=e=>mS(e.currentTarget,_S(e)),Ch=e=>e.id;function bS(e,t,n=Ch){return e.find(r=>n(r)===t)}function Th(e,t,n=Ch){const r=bS(e,t,n);return r?e.indexOf(r):-1}function WC(e,t,n=!0){let r=Th(e,t);return r=n?(r+1)%e.length:Math.min(r+1,e.length-1),e[r]}function KC(e,t,n=!0){let r=Th(e,t);return r===-1?n?e[e.length-1]:null:(r=n?(r-1+e.length)%e.length:Math.max(0,r-1),e[r])}var vS=/auto|scroll|overlay|hidden|clip/;function ES(e){const t=Sh(e),{overflow:n,overflowX:r,overflowY:s,display:o}=t.getComputedStyle(e);return vS.test(n+s+r)&&!["inline","contents"].includes(o)}var Lh=()=>typeof document<"u";function wS(){const e=navigator.userAgentData;return(e==null?void 0:e.platform)??navigator.platform}var Ph=e=>Lh()&&e.test(wS()),SS=e=>Lh()&&e.test(navigator.vendor),GC=()=>CS()&&SS(/apple/i),CS=()=>Ph(/mac|iphone|ipad|ipod/i),Rh=()=>Ph(/iP(hone|ad|od)|iOS/);function qC(e,t){return Array.from((e==null?void 0:e.querySelectorAll(t))??[])}function YC(e,t){return(e==null?void 0:e.querySelector(t))??null}function TS(e){const t=new Set;function n(r){const s=globalThis.requestAnimationFrame(r);t.add(()=>globalThis.cancelAnimationFrame(s))}return n(()=>n(e)),function(){t.forEach(s=>s())}}function LS(e){const t=globalThis.requestAnimationFrame(e);return()=>{globalThis.cancelAnimationFrame(t)}}function PS(e){const t={getRootNode:n=>{var r;return((r=n.getRootNode)==null?void 0:r.call(n))??document},getDoc:n=>yS(t.getRootNode(n)),getWin:n=>t.getDoc(n).defaultView??window,getActiveElement:n=>t.getDoc(n).activeElement,isActiveElement:(n,r)=>r===t.getActiveElement(n),getById:(n,r)=>t.getRootNode(n).getElementById(r),setValue:(n,r)=>{if(n==null||r==null)return;const s=r.toString();n.value!==s&&(n.value=r.toString())}};return{...t,...e}}function RS(e){return e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth}function XC(e,t){const{rootEl:n,...r}=t||{};!e||!n||!ES(n)||!RS(n)||e.scrollIntoView(r)}var Kn="default",Xi="",ks=new WeakMap;function kS(e={}){const{target:t,doc:n}=e,r=n??document,s=r.documentElement;return Rh()?(Kn==="default"&&(Xi=s.style.webkitUserSelect,s.style.webkitUserSelect="none"),Kn="disabled"):t&&(ks.set(t,t.style.userSelect),t.style.userSelect="none"),()=>AS({target:t,doc:r})}function AS(e={}){const{target:t,doc:n}=e,s=(n??document).documentElement;if(Rh()){if(Kn!=="disabled")return;Kn="restoring",setTimeout(()=>{TS(()=>{Kn==="restoring"&&(s.style.webkitUserSelect==="none"&&(s.style.webkitUserSelect=Xi||""),Xi="",Kn="default")})},300)}else if(t&&ks.has(t)){const o=ks.get(t);t.style.userSelect==="none"&&(t.style.userSelect=o??""),t.getAttribute("style")===""&&t.removeAttribute("style"),ks.delete(t)}}function OS(e={}){const{defer:t,target:n,...r}=e,s=t?LS:i=>i(),o=[];return o.push(s(()=>{const i=typeof n=="function"?n():n;o.push(kS({...r,target:i}))})),()=>{o.forEach(i=>i==null?void 0:i())}}var vr=(e,t,n,r)=>{const s=typeof e=="function"?e():e;return s==null||s.addEventListener(t,n,r),()=>{s==null||s.removeEventListener(t,n,r)}},zC=e=>e.button===0,JC=e=>e.button===2||IS()&&e.ctrlKey&&e.button===0,QC=e=>e.ctrlKey||e.altKey||e.metaKey,IS=()=>/Mac|iPod|iPhone|iPad/.test(window.navigator.platform);function ZC(e,t,n){if(!e)return;const r=e.ownerDocument.defaultView||window,s=new r.CustomEvent(t,n);return e.dispatchEvent(s)}var NS={Up:"ArrowUp",Down:"ArrowDown",Esc:"Escape"," ":"Space",",":"Comma",Left:"ArrowLeft",Right:"ArrowRight"},_u={ArrowLeft:"ArrowRight",ArrowRight:"ArrowLeft"};function eT(e,t={}){const{dir:n="ltr",orientation:r="horizontal"}=t;let{key:s}=e;return s=NS[s]??s,n==="rtl"&&r==="horizontal"&&s in _u&&(s=_u[s]),s}function xS(e,t="client"){const n=e.touches[0]||e.changedTouches[0];return{x:n[`${t}X`],y:n[`${t}Y`]}}function MS(e,t="client"){return{x:e[`${t}X`],y:e[`${t}Y`]}}var DS=e=>"touches"in e&&e.touches.length>0;function FS(e,t="client"){return DS(e)?xS(e,t):MS(e,t)}var $S=new Set(["PageUp","PageDown"]),US=new Set(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"]);function tT(e){return e.ctrlKey||e.metaKey?.1:$S.has(e.key)||e.shiftKey&&US.has(e.key)?10:1}function nT(e){return e.nativeEvent??e}function bu(e){return Math.max(0,Math.min(1,e))}function rT(e,t){const{left:n,top:r,width:s,height:o}=t.getBoundingClientRect(),i={x:e.x-n,y:e.y-r},a={x:bu(i.x/s),y:bu(i.y/o)};function c(l={}){const{dir:u="ltr",orientation:f="horizontal",inverted:d}=l,g=typeof d=="object"?d.x:d,b=typeof d=="object"?d.y:d;return f==="horizontal"?u==="rtl"||g?1-a.x:a.x:b?1-a.y:a.y}return{offset:i,percent:a,getPercentValue:c}}function sT(e,t){const{onPointerMove:n,onPointerUp:r}=t,s=[],i=[vr(e,"pointermove",a=>{const c=FS(a);s.push({...c,timestamp:performance.now()});const l=Math.sqrt(c.x**2+c.y**2),u=a.pointerType==="touch"?10:5;if(!(l{i.forEach(a=>a()),s.length=0}}function jS(e){return e[e.length-1]}function HS(e){return e*1e3}function BS(e){return e/1e3}function VS(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const s=jS(e);for(;n>=0&&(r=e[n],!(s.timestamp-r.timestamp>HS(t)));)n--;if(!r)return{x:0,y:0};const o=BS(s.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const i={x:(s.x-r.x)/o,y:(s.y-r.y)/o};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),{x:Math.abs(i.x),y:Math.abs(i.y)}}var WS=Rs("toast").parts("group","root","title","description","closeTrigger"),Er=WS.build(),Gn=PS({getGroupId:e=>`toast-group:${e}`,getRootId:e=>`toast:${e.id}`,getTitleId:e=>`toast:${e.id}:title`,getDescriptionId:e=>`toast:${e.id}:description`,getCloseTriggerId:e=>`toast${e.id}:close`});function KS(e){const t={};for(const n of e){const r=n.state.context.placement;t[r]||(t[r]=[]),t[r].push(n)}return t}var GS={info:5e3,error:5e3,success:2e3,loading:1/0,custom:5e3};function vu(e,t){return e??GS[t]}function qS(e,t){const n=e.offsets,r=typeof n=="string"?{left:n,right:n,bottom:n,top:n}:n,s=e.dir==="rtl",o=t.replace("-start",s?"-right":"-left").replace("-end",s?"-left":"-right"),i=o.includes("right"),a=o.includes("left"),c={position:"fixed",pointerEvents:e.count>0?void 0:"none",display:"flex",flexDirection:"column","--toast-gutter":e.gutter,zIndex:e.zIndex};let l="center";if(i&&(l="flex-end"),a&&(l="flex-start"),c.alignItems=l,o.includes("top")){const u=r.top;c.top=`calc(env(safe-area-inset-top, 0px) + ${u})`}if(o.includes("bottom")){const u=r.bottom;c.bottom=`calc(env(safe-area-inset-bottom, 0px) + ${u})`}if(!o.includes("left")){const u=r.right;c.right=`calc(env(safe-area-inset-right, 0px) + ${u})`}if(!o.includes("right")){const u=r.left;c.left=`calc(env(safe-area-inset-left, 0px) + ${u})`}return c}function YS(e,t,n){const r=KS(e.context.toasts);function s(l){return e.context.toasts.length?!!e.context.toasts.find(u=>u.id==l):!1}function o(l){const u=`toast:${aS()}`,f=l.id?l.id:u;if(!s(f))return t({type:"ADD_TOAST",toast:{...l,id:f}}),f}function i(l,u){if(s(l))return t({type:"UPDATE_TOAST",id:l,toast:u}),l}function a(l){const{id:u}=l;return(u?s(u):!1)&&u!=null?i(u,l):o(l)}function c(l){l==null?t("DISMISS_ALL"):s(l)&&t({type:"DISMISS_TOAST",id:l})}return{count:e.context.count,toasts:e.context.toasts,toastsByPlacement:r,isVisible:s,create:o,update:i,upsert:a,dismiss:c,remove(l){l==null?t("REMOVE_ALL"):s(l)&&t({type:"REMOVE_TOAST",id:l})},dismissByPlacement(l){const u=r[l];u&&u.forEach(f=>c(f.id))},loading(l){return a({...l,type:"loading"})},success(l){return a({...l,type:"success"})},error(l){return a({...l,type:"error"})},promise(l,u,f={}){const d=a({...f,...u.loading,type:"loading"});return l.then(g=>{const b=yu(u.success,g);a({...f,...b,id:d,type:"success"})}).catch(g=>{const b=yu(u.error,g);a({...f,...b,id:d,type:"error"})}),l},pause(l){l==null?t("PAUSE_ALL"):s(l)&&t({type:"PAUSE_TOAST",id:l})},resume(l){l==null?t("RESUME_ALL"):s(l)&&t({type:"RESUME_TOAST",id:l})},getGroupProps(l){const{placement:u,label:f="Notifications"}=l;return n.element({...Er.group.attrs,dir:e.context.dir,tabIndex:-1,"aria-label":`${u} ${f}`,id:Gn.getGroupId(u),"data-placement":u,"aria-live":"polite",role:"region",style:qS(e.context,u)})},subscribe(l){return Zs(e.context.toasts,()=>l(e.context.toasts))}}}var{not:XS,and:zS,or:JS}=Q0;function QS(e={}){const{type:t="info",duration:n,id:r="toast",placement:s="bottom",removeDelay:o=0,...i}=e,a=Va(i),c=vu(n,t);return Eh({id:r,entry:"invokeOnOpen",initial:t==="loading"?"persist":"active",context:{id:r,type:t,remaining:c,duration:c,removeDelay:o,createdAt:Date.now(),placement:s,...a},on:{UPDATE:[{guard:zS("hasTypeChanged","isChangingToLoading"),target:"persist",actions:["setContext","invokeOnUpdate"]},{guard:JS("hasDurationChanged","hasTypeChanged"),target:"active:temp",actions:["setContext","invokeOnUpdate"]},{actions:["setContext","invokeOnUpdate"]}]},states:{"active:temp":{tags:["visible","updating"],after:{0:"active"}},persist:{tags:["visible","paused"],activities:"trackDocumentVisibility",on:{RESUME:{guard:XS("isLoadingType"),target:"active",actions:["setCreatedAt"]},DISMISS:"dismissing"}},active:{tags:["visible"],activities:"trackDocumentVisibility",after:{VISIBLE_DURATION:"dismissing"},on:{DISMISS:"dismissing",PAUSE:{target:"persist",actions:"setRemainingDuration"}}},dismissing:{entry:"invokeOnClosing",after:{REMOVE_DELAY:{target:"inactive",actions:"notifyParentToRemove"}}},inactive:{entry:"invokeOnClose",type:"final"}}},{activities:{trackDocumentVisibility(l,u,{send:f}){if(!l.pauseOnPageIdle)return;const d=Gn.getDoc(l);return vr(d,"visibilitychange",()=>{f(d.visibilityState==="hidden"?"PAUSE":"RESUME")})}},guards:{isChangingToLoading:(l,u)=>{var f;return((f=u.toast)==null?void 0:f.type)==="loading"},isLoadingType:l=>l.type==="loading",hasTypeChanged:(l,u)=>{var f;return((f=u.toast)==null?void 0:f.type)!==l.type},hasDurationChanged:(l,u)=>{var f;return((f=u.toast)==null?void 0:f.duration)!==l.duration}},delays:{VISIBLE_DURATION:l=>l.remaining,REMOVE_DELAY:l=>l.removeDelay},actions:{setRemainingDuration(l){l.remaining-=Date.now()-l.createdAt},setCreatedAt(l){l.createdAt=Date.now()},notifyParentToRemove(l,u,{self:f}){f.sendParent({type:"REMOVE_TOAST",id:f.id})},invokeOnClosing(l){var u;(u=l.onClosing)==null||u.call(l)},invokeOnClose(l){var u;(u=l.onClose)==null||u.call(l)},invokeOnOpen(l){var u;(u=l.onOpen)==null||u.call(l)},invokeOnUpdate(l){var u;(u=l.onUpdate)==null||u.call(l)},setContext(l,u){const{duration:f,type:d}=u.toast,g=vu(f,d);Object.assign(l,{...u.toast,duration:g,remaining:g})}}})}function ZS(e){const t=Va(e);return Eh({id:"toaster",initial:"active",context:{dir:"ltr",max:Number.MAX_SAFE_INTEGER,toasts:[],gutter:"1rem",zIndex:dS,pauseOnPageIdle:!1,pauseOnInteraction:!0,offsets:{left:"0px",right:"0px",top:"0px",bottom:"0px"},...t},computed:{count:n=>n.toasts.length},on:{PAUSE_TOAST:{actions:(n,r,{self:s})=>{s.sendChild("PAUSE",r.id)}},PAUSE_ALL:{actions:n=>{n.toasts.forEach(r=>r.send("PAUSE"))}},RESUME_TOAST:{actions:(n,r,{self:s})=>{s.sendChild("RESUME",r.id)}},RESUME_ALL:{actions:n=>{n.toasts.forEach(r=>r.send("RESUME"))}},ADD_TOAST:{guard:n=>n.toasts.length{const o={placement:n.placement,duration:n.duration,removeDelay:n.removeDelay,render:n.render,...r.toast,pauseOnPageIdle:n.pauseOnPageIdle,pauseOnInteraction:n.pauseOnInteraction,dir:n.dir,getRootNode:n.getRootNode},i=QS(o),a=s.spawn(i);n.toasts.push(a)}},UPDATE_TOAST:{actions:(n,r,{self:s})=>{s.sendChild({type:"UPDATE",toast:r.toast},r.id)}},DISMISS_TOAST:{actions:(n,r,{self:s})=>{s.sendChild("DISMISS",r.id)}},DISMISS_ALL:{actions:n=>{n.toasts.forEach(r=>r.send("DISMISS"))}},REMOVE_TOAST:{actions:(n,r,{self:s})=>{s.stopChild(r.id);const o=n.toasts.findIndex(i=>i.id===r.id);n.toasts.splice(o,1)}},REMOVE_ALL:{actions:(n,r,{self:s})=>{for(n.toasts.forEach(o=>s.stopChild(o.id));n.toasts.length;)n.toasts.pop()}}}})}function eC(e,t,n){const r=e.hasTag("visible"),s=e.hasTag("paused"),o=e.context.pauseOnInteraction,i=e.context.placement;return{type:e.context.type,title:e.context.title,description:e.context.description,placement:i,isVisible:r,isPaused:s,isRtl:e.context.dir==="rtl",pause(){t("PAUSE")},resume(){t("RESUME")},dismiss(){t("DISMISS")},rootProps:n.element({...Er.root.attrs,dir:e.context.dir,id:Gn.getRootId(e.context),"data-state":r?"open":"closed","data-type":e.context.type,"data-placement":i,role:"status","aria-atomic":"true",tabIndex:0,style:{position:"relative",pointerEvents:"auto",margin:"calc(var(--toast-gutter) / 2)","--remove-delay":`${e.context.removeDelay}ms`,"--duration":`${e.context.duration}ms`},onKeyDown(a){a.key=="Escape"&&(t("DISMISS"),a.preventDefault())},onFocus(){o&&t("PAUSE")},onBlur(){o&&t("RESUME")},onPointerEnter(){o&&t("PAUSE")},onPointerLeave(){o&&t("RESUME")}}),titleProps:n.element({...Er.title.attrs,id:Gn.getTitleId(e.context)}),descriptionProps:n.element({...Er.description.attrs,id:Gn.getDescriptionId(e.context)}),closeTriggerProps:n.button({id:Gn.getCloseTriggerId(e.context),...Er.closeTrigger.attrs,type:"button","aria-label":"Dismiss notification",onClick(){t("DISMISS")}})}}var Eu={connect:YS,machine:ZS};function tC(e){return new Proxy({},{get(){return e}})}var oT=()=>e=>Array.from(new Set(e));function nC(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()}var wu={htmlFor:"for",className:"class",onDoubleClick:"onDblclick",onChange:"onInput",onFocus:"onFocusin",onBlur:"onFocusout",defaultValue:"value",defaultChecked:"checked"};function rC(e){return e in wu?wu[e]:e.startsWith("on")?`on${nC(e.substr(2))}`:e.toLowerCase()}var kh=tC(e=>{const t={};for(const n in e){const r=e[n];n==="children"?typeof r=="string"&&(t.innerHTML=r):t[rC(n)]=e[n]}return t});function Ah(e,t){const{actions:n,context:r}=t??{},s=An(e.state),o=Zs(e.state,()=>{s.value=Cn(e.state)});return go(()=>{o==null||o()}),uf(()=>{e.setOptions({actions:n})}),r&&$e(r,i=>{e.setContext(ne(i))},{deep:!0}),s}function sC(e){return[Ah(e),e.send]}function oC(e,t){const{state:n,context:r}=t??{},s=typeof e=="function"?e():e;return r&&s.setContext(ne(r)),s._created(),Xr(()=>{s.start(n),zr(()=>{s.stop()})}),s}function iC(e,t){const n=oC(e,t);return[Ah(n,t),n.send,n]}const aC=e=>(Tp("data-v-ba384b17"),e=e(),Lp(),e),cC={"flex-1":"",hstack:"","space-x-2":""},lC={"size-6":"","flex-center":""},uC={key:0,"i-ep:success-filled":""},fC={key:1,"i-material-symbols:info-rounded":"","text-lg":""},dC={key:2,"i-bx:bxs-error":""},hC=aC(()=>Sn("span",{class:"i-ep:close-bold duration-200 opacity-50 hover:opacity-100"},null,-1)),pC=[hC],gC=ht({__name:"Toast",props:{actor:{}},setup(e){const t=e,[n,r]=sC(t.actor),s=me(()=>eC(n.value,r,kh)),o=me(()=>{switch(s.value.type){case"success":return"bg-emerald-500";case"info":return"bg-blue-500";case"error":return"bg-red-500";default:return"bg-blue-500"}});return(i,a)=>(Ie(),Ht("div",va(ne(s).rootProps,{class:["hstack space-x-5 min-w-80 text-white rounded-md shadow-c px-4 py-3",ne(o)]}),[Sn("div",cC,[Sn("div",lC,[ne(s).type==="success"?(Ie(),Ht("span",uC)):ne(s).type==="info"?(Ie(),Ht("span",fC)):ne(s).type==="error"?(Ie(),Ht("span",dC)):Eg("",!0)]),Sn("p",Ou(_a(ne(s).descriptionProps)),Wh(ne(s).description),17)]),Sn("button",{"size-6":"","flex-center":"",onClick:a[0]||(a[0]=c=>ne(s).dismiss())},pC)],16))}}),mC=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},yC=mC(gC,[["__scopeId","data-v-ba384b17"]]),_C=ht({__name:"ToastList",setup(e){const t=he(),[n,r]=iC(Eu.machine({id:"toast",placement:"bottom-end",duration:2500,removeDelay:750})),s=me(()=>Eu.connect(n.value,r,kh));t.provide("toast",s);const o=me(()=>t.$toast.value);return(i,a)=>{const c=yC;return Ie(!0),Ht(Me,null,ic(ne(o).toastsByPlacement,(l,u,f)=>(Ie(),Ht("div",{key:f,class:"toast-container"},[(Ie(),Ht("div",va({key:u},ne(o).getGroupProps({placement:u})),[(Ie(!0),Ht(Me,null,ic(l,d=>(Ie(),jt(c,{key:d.id,actor:d},null,8,["actor"]))),128))],16))]))),128)}}}),bC=()=>Zr("color-mode").value,vC={class:"font-ui"},EC=ht({__name:"app",setup(e){const{t,locale:n}=ko(),r=bC();return pd({title:t("head.title"),meta:[{name:"keywords",content:t("head.keywords")},{name:"description",content:t("head.desc")},{property:"og:title",content:t("head.title")},{property:"og:description",content:t("head.desc")},{property:"og:locale",content:n},{name:"theme-color",content:()=>(r==null?void 0:r.preference)==="dark"?"#475569":"#f3f4f6"}],link:[{rel:"icon",type:"image/svg+xml",href:()=>"/favicon.svg"}],script:[{src:"https://code.iconify.design/2/2.2.1/iconify.min.js",type:"module",tagPosition:"bodyClose"}]}),(s,o)=>{const i=R0,a=A0,c=_C;return Ie(),Ht("div",vC,[we(i),we(a),we(c)])}}}),wC={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(` `).splice(1).map(f=>({text:f.replace("webpack:/","").replace(".vue",".js").trim(),internal:f.includes("node_modules")&&!f.includes(".cache")||f.includes("internal")||f.includes("new Promise")})).map(f=>`${f.text}`).join(` -`);const r=Number(n.statusCode||500),s=r===404,o=n.statusMessage??(s?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,u=s?oc(()=>He(()=>import("./CJarhp0e.js"),__vite__mapDeps([8,3,9]),import.meta.url).then(f=>f.default||f)):oc(()=>He(()=>import("./BngAsCmt.js"),__vite__mapDeps([10,11]),import.meta.url).then(f=>f.default||f));return(f,d)=>(Ie(),jt(ne(u),Ou(_a({statusCode:ne(r),statusMessage:ne(o),description:ne(i),stack:ne(a)})),null,16))}},Su={__name:"nuxt-root",setup(e){const t=()=>null,n=he(),r=n.deferHydration();if(n.isHydrating){const a=n.hooks.hookOnce("app:error",r);St().beforeEach(a)}const s=!1;Zn(Eo,Ta()),n.hooks.callHookWith(a=>a.map(c=>c()),"vue:setup");const o=wo();bf((a,c,l)=>{if(n.hooks.callHook("vue:error",a,c,l).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),My(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>Vn(a)),!1});const i=!1;return(a,c)=>(Ie(),jt(cf,{onResolve:ne(r)},{default:rf(()=>[ne(o)?(Ie(),jt(ne(wC),{key:0,error:ne(o)},null,8,["error"])):ne(i)?(Ie(),jt(ne(t),{key:1,context:ne(i)},null,8,["context"])):ne(s)?(Ie(),jt(Op(ne(s)),{key:2})):(Ie(),jt(ne(EC),{key:3}))]),_:1},8,["onResolve"]))}};let Cu;{let e;Cu=async function(){var i,a;if(e)return e;const r=!!((i=window.__NUXT__)!=null&&i.serverRendered||((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?og(Su):sg(Su),s=ly({vueApp:r});async function o(c){await s.callHook("app:error",c),s.payload.error=s.payload.error||So(c)}r.config.errorHandler=o;try{await fy(s,P0)}catch(c){o(c)}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(O_),await s.hooks.callHook("app:mounted",r),await fn()}catch(c){o(c)}return r.config.errorHandler===o&&(r.config.errorHandler=void 0),r},e=Cu().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{_a as $,LS as A,TS as B,iS as C,oT as D,HC as E,VC as F,eT as G,GC as H,Q0 as I,bC as J,$e as K,He as L,Dn as M,Xr as N,be as O,zr as P,iC as Q,ge as R,Me as S,ic as T,va as U,kh as V,bt as W,gS as X,fu as Y,Ou as Z,gC as _,Sn as a,Em as a0,RC as a1,$C as a2,jC as a3,vr as a4,yS as a5,_S as a6,Rh as a7,yu as a8,TC as a9,ZC as aA,FC as aB,OC as aC,wt as aD,pt as aE,he as aF,fn as aG,ao as aH,ea as aI,uf as aJ,Id as aK,yl as aL,AC as aM,SC as aN,bo as aO,vo as aP,Wf as aQ,kC as aR,xt as aS,Ny as aT,Hs as aU,_o as aV,io as aa,LC as ab,DC as ac,Yi as ad,UC as ae,Sh as af,BC as ag,nT as ah,zC as ai,JC as aj,cS as ak,MC as al,XC as am,rT as an,sT as ao,OS as ap,lS as aq,YC as ar,QC as as,FS as at,tT as au,oo as av,Ta as aw,St as ax,IC as ay,_f as az,we as b,Ht as c,Mf as d,Lp as e,ht as f,jt as g,ne as h,ue as i,CC as j,Rs as k,PS as l,NC as m,xC as n,Ie as o,Tp as p,qC as q,WC as r,KC as s,Wh as t,pd as u,PC as v,rf as w,bS as x,Va as y,Eh as z}; +`);const r=Number(n.statusCode||500),s=r===404,o=n.statusMessage??(s?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,u=s?oc(()=>He(()=>import("./C57j_BQR.js"),__vite__mapDeps([8,2,9]),import.meta.url).then(f=>f.default||f)):oc(()=>He(()=>import("./Bklsg5LV.js"),__vite__mapDeps([10,11]),import.meta.url).then(f=>f.default||f));return(f,d)=>(Ie(),jt(ne(u),Ou(_a({statusCode:ne(r),statusMessage:ne(o),description:ne(i),stack:ne(a)})),null,16))}},Su={__name:"nuxt-root",setup(e){const t=()=>null,n=he(),r=n.deferHydration();if(n.isHydrating){const a=n.hooks.hookOnce("app:error",r);St().beforeEach(a)}const s=!1;Zn(Eo,Ta()),n.hooks.callHookWith(a=>a.map(c=>c()),"vue:setup");const o=wo();bf((a,c,l)=>{if(n.hooks.callHook("vue:error",a,c,l).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),My(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>Vn(a)),!1});const i=!1;return(a,c)=>(Ie(),jt(cf,{onResolve:ne(r)},{default:rf(()=>[ne(o)?(Ie(),jt(ne(wC),{key:0,error:ne(o)},null,8,["error"])):ne(i)?(Ie(),jt(ne(t),{key:1,context:ne(i)},null,8,["context"])):ne(s)?(Ie(),jt(Op(ne(s)),{key:2})):(Ie(),jt(ne(EC),{key:3}))]),_:1},8,["onResolve"]))}};let Cu;{let e;Cu=async function(){var i,a;if(e)return e;const r=!!((i=window.__NUXT__)!=null&&i.serverRendered||((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?om(Su):sm(Su),s=ly({vueApp:r});async function o(c){await s.callHook("app:error",c),s.payload.error=s.payload.error||So(c)}r.config.errorHandler=o;try{await fy(s,P0)}catch(c){o(c)}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(O_),await s.hooks.callHook("app:mounted",r),await fn()}catch(c){o(c)}return r.config.errorHandler===o&&(r.config.errorHandler=void 0),r},e=Cu().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Ou as $,Va as A,Eh as B,LS as C,TS as D,iS as E,Me as F,oT as G,HC as H,VC as I,eT as J,GC as K,Q0 as L,bC as M,$e as N,He as O,Dn as P,Xr as Q,be as R,zr as S,iC as T,me as U,va as V,kh as W,bt as X,mS as Y,fu as Z,mC as _,Sn as a,_a as a0,Eg as a1,RC as a2,$C as a3,jC as a4,vr as a5,yS as a6,_S as a7,Rh as a8,yu as a9,ZC as aA,FC as aB,OC as aC,wt as aD,pt as aE,he as aF,fn as aG,ao as aH,ea as aI,uf as aJ,Id as aK,yl as aL,AC as aM,SC as aN,bo as aO,vo as aP,Wf as aQ,kC as aR,xt as aS,Ny as aT,Hs as aU,_o as aV,TC as aa,LC as ab,DC as ac,Yi as ad,UC as ae,Sh as af,BC as ag,nT as ah,zC as ai,JC as aj,cS as ak,MC as al,XC as am,rT as an,sT as ao,OS as ap,lS as aq,YC as ar,QC as as,FS as at,tT as au,oo as av,Ta as aw,St as ax,IC as ay,_f as az,we as b,Ht as c,Mf as d,Lp as e,ht as f,jt as g,ne as h,ue as i,CC as j,Rs as k,PS as l,NC as m,io as n,Ie as o,Tp as p,qC as q,ic as r,xC as s,Wh as t,pd as u,PC as v,rf as w,WC as x,KC as y,bS as z}; diff --git a/assets/DXk0n8Ee.js b/assets/BXBBJ0Rc.js similarity index 89% rename from assets/DXk0n8Ee.js rename to assets/BXBBJ0Rc.js index 9cdc5d6..5df6b22 100644 --- a/assets/DXk0n8Ee.js +++ b/assets/BXBBJ0Rc.js @@ -1,4 +1,4 @@ -import{conf as t,language as e}from"./C5qsztzZ.js";import"./DlKjphzx.js";import"./Dln5YeVe.js";/*!----------------------------------------------------------------------------- +import{conf as t,language as e}from"./CJAPUX2G.js";import"./CSm8Qi0c.js";import"./BPRoNp8L.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license diff --git a/assets/CUDIMWkK.js b/assets/BXEMZu0q.js similarity index 98% rename from assets/CUDIMWkK.js rename to assets/BXEMZu0q.js index 1368ec6..5dd42ce 100644 --- a/assets/CUDIMWkK.js +++ b/assets/BXEMZu0q.js @@ -1,4 +1,4 @@ -import{m as d}from"./DlKjphzx.js";import"./Dln5YeVe.js";/*!----------------------------------------------------------------------------- +import{m as d}from"./CSm8Qi0c.js";import"./BPRoNp8L.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license diff --git a/assets/B8Y-amhX.js b/assets/BXlVqijL.js similarity index 99% rename from assets/B8Y-amhX.js rename to assets/BXlVqijL.js index d97885d..335e650 100644 --- a/assets/B8Y-amhX.js +++ b/assets/BXlVqijL.js @@ -1,4 +1,4 @@ -import{m as s}from"./DlKjphzx.js";import"./Dln5YeVe.js";/*!----------------------------------------------------------------------------- +import{m as s}from"./CSm8Qi0c.js";import"./BPRoNp8L.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license diff --git a/assets/B_WREhsM.js b/assets/B_WREhsM.js new file mode 100644 index 0000000..1ff548a --- /dev/null +++ b/assets/B_WREhsM.js @@ -0,0 +1 @@ +import{_ as h,a as u}from"./Y1k7zYV_.js";import{_ as p}from"./CXg0UUxL.js";import{_ as x,c as e,b as a,a as t,d as g,t as i,w as f,F as _,r,o as n,n as b}from"./BPRoNp8L.js";const v={},k={class:"landing-page"},$={class:"workspace"},w={class:"h-fit max-w-240 sm:absolute sm:inset-0 sm:m-auto",p:"x-5 t-40 md:x-20 lt-sm:b-10"},y={"text-center":""},H=["innerHTML"],L={"my-10":"","text-light-c":"","sm:text-lg":""},T={class:"text-white bg-brand rounded-lg mx-auto duration-200",p:"x-4 y-3",outline:"~ 4 transparent hover:rose-300/50"},B={m:"t-15 x-auto",grid:"~ cols-1 sm:cols-2 gap-y-10","text-light-c":"","max-w-150":""},M={"w-fit":"","sm:mx-auto":""},N={hstack:"","mb-3":"","space-x-1.5":""},V={key:0,"i-wpf:privacy":""},z={key:1,"i-mdi:rocket-launch":""},C={"text-c":""},F={"text-sm":"","pl-2":"","ml-4.5":"","list-disc":""},D=["innerHTML"];function E(s,P){const d=h,l=u,m=p;return n(),e("div",k,[a(d),t("div",$,[t("div",w,[t("div",y,[t("h1",{text:"c 3xl sm:4xl",innerHTML:s.$t("landing.hero")},null,8,H),t("div",L,[a(l),g(" "+i(s.$t("landing.desc")),1)]),a(m,{to:s.$nuxt.$localePath("/resumes")},{default:f(()=>[t("span",T,i(s.$t("landing.start")),1)]),_:1},8,["to"])]),t("div",B,[(n(),e(_,null,r([0,1],o=>t("div",{key:o},[t("div",M,[t("div",N,[t("span",{class:b(["circle size-5 text-white text-xs",o?"bg-blue-400":"bg-brand"])},[o?(n(),e("span",V)):(n(),e("span",z))],2),t("h2",C,i(s.$t(`landing.feats[${o}].title`)),1)]),t("ul",F,[(n(!0),e(_,null,r(s.$t(`landing.feats[${o}].items`).split("
"),c=>(n(),e("li",{key:c,innerHTML:c},null,8,D))),128))])])])),64))])])])])}const A=x(v,[["render",E]]);export{A as default}; diff --git a/assets/BngAsCmt.js b/assets/Bklsg5LV.js similarity index 97% rename from assets/BngAsCmt.js rename to assets/Bklsg5LV.js index 7a61990..97e3ffb 100644 --- a/assets/BngAsCmt.js +++ b/assets/Bklsg5LV.js @@ -1 +1 @@ -import{_ as a,u as o,o as s,c as i,a as e,t as r,p as u,e as c}from"./Dln5YeVe.js";const l=t=>(u("data-v-ec33ee19"),t=t(),c(),t),d={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},p=l(()=>e("div",{class:"fixed -bottom-1/2 left-0 right-0 h-1/2 spotlight"},null,-1)),h={class:"max-w-520px text-center"},g=["textContent"],b=["textContent"],f={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const n=t;return o({title:`${n.statusCode} - ${n.statusMessage} | ${n.appName}`,script:[],style:[{children:'*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--un-default-border-color, #e5e7eb)}:before,:after{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}h1{font-size:inherit;font-weight:inherit}h1,p{margin:0}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(m,x)=>(s(),i("div",d,[p,e("div",h,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:r(t.statusCode)},null,8,g),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:r(t.description)},null,8,b)])]))}},k=a(f,[["__scopeId","data-v-ec33ee19"]]);export{k as default}; +import{_ as a,u as o,o as s,c as i,a as e,t as r,p as u,e as c}from"./BPRoNp8L.js";const l=t=>(u("data-v-ec33ee19"),t=t(),c(),t),d={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},p=l(()=>e("div",{class:"fixed -bottom-1/2 left-0 right-0 h-1/2 spotlight"},null,-1)),h={class:"max-w-520px text-center"},g=["textContent"],b=["textContent"],f={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const n=t;return o({title:`${n.statusCode} - ${n.statusMessage} | ${n.appName}`,script:[],style:[{children:'*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--un-default-border-color, #e5e7eb)}:before,:after{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}h1{font-size:inherit;font-weight:inherit}h1,p{margin:0}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(m,x)=>(s(),i("div",d,[p,e("div",h,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:r(t.statusCode)},null,8,g),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:r(t.description)},null,8,b)])]))}},k=a(f,[["__scopeId","data-v-ec33ee19"]]);export{k as default}; diff --git a/assets/CJarhp0e.js b/assets/C57j_BQR.js similarity index 95% rename from assets/CJarhp0e.js rename to assets/C57j_BQR.js index 818d6a0..bd9f1cd 100644 --- a/assets/CJarhp0e.js +++ b/assets/C57j_BQR.js @@ -1 +1 @@ -import{_ as a}from"./BnZW0xzS.js";import{_ as s,u as i,o as u,c,a as e,t as o,b as d,w as l,d as p,p as h,e as b}from"./Dln5YeVe.js";const f=t=>(h("data-v-865b13d2"),t=t(),b(),t),g={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},x=f(()=>e("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),m={class:"max-w-520px text-center z-20"},y=["textContent"],_=["textContent"],k={class:"w-full flex items-center justify-center"},w={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Not Found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(t){const n=t;return i({title:`${n.statusCode} - ${n.statusMessage} | ${n.appName}`,script:[],style:[{children:'*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--un-default-border-color, #e5e7eb)}:before,:after{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}h1{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,p{margin:0}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(z,S)=>{const r=a;return u(),c("div",g,[x,e("div",m,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:o(t.statusCode)},null,8,y),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:o(t.description)},null,8,_),e("div",k,[d(r,{to:"/",class:"gradient-border text-md sm:text-xl py-2 px-4 sm:py-3 sm:px-6 cursor-pointer"},{default:l(()=>[p(o(t.backHome),1)]),_:1})])])])}}},N=s(w,[["__scopeId","data-v-865b13d2"]]);export{N as default}; +import{_ as a}from"./CXg0UUxL.js";import{_ as s,u as i,o as u,c,a as e,t as o,b as d,w as l,d as p,p as h,e as b}from"./BPRoNp8L.js";const f=t=>(h("data-v-865b13d2"),t=t(),b(),t),g={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},x=f(()=>e("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),m={class:"max-w-520px text-center z-20"},y=["textContent"],_=["textContent"],k={class:"w-full flex items-center justify-center"},w={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Not Found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(t){const n=t;return i({title:`${n.statusCode} - ${n.statusMessage} | ${n.appName}`,script:[],style:[{children:'*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--un-default-border-color, #e5e7eb)}:before,:after{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}h1{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,p{margin:0}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(z,S)=>{const r=a;return u(),c("div",g,[x,e("div",m,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:o(t.statusCode)},null,8,y),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:o(t.description)},null,8,_),e("div",k,[d(r,{to:"/",class:"gradient-border text-md sm:text-xl py-2 px-4 sm:py-3 sm:px-6 cursor-pointer"},{default:l(()=>[p(o(t.backHome),1)]),_:1})])])])}}},N=s(w,[["__scopeId","data-v-865b13d2"]]);export{N as default}; diff --git a/assets/C5qsztzZ.js b/assets/CJAPUX2G.js similarity index 98% rename from assets/C5qsztzZ.js rename to assets/CJAPUX2G.js index ae53468..332e4b9 100644 --- a/assets/C5qsztzZ.js +++ b/assets/CJAPUX2G.js @@ -1,4 +1,4 @@ -import{m as a}from"./DlKjphzx.js";import"./Dln5YeVe.js";/*!----------------------------------------------------------------------------- +import{m as a}from"./CSm8Qi0c.js";import"./BPRoNp8L.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license diff --git a/assets/DlKjphzx.js b/assets/CSm8Qi0c.js similarity index 99% rename from assets/DlKjphzx.js rename to assets/CSm8Qi0c.js index 1ec024f..ac6fbe6 100644 --- a/assets/DlKjphzx.js +++ b/assets/CSm8Qi0c.js @@ -1,10 +1,10 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./RrYsET18.js","./Dln5YeVe.js","./entry.BR_O2Prr.css","./CUbwzJXA.js","./CkfV88j3.js","./DXk0n8Ee.js","./C5qsztzZ.js","./CUDIMWkK.js","./kS1a4axV.js","./7tQbjCa0.js","./B8Y-amhX.js","./D8U817WZ.js","./BcKiSp9X.js","./CRIStmI6.js","./Bo4w8WvM.js","./CxkHN6oT.js","./9lSzqoBv.js"] + __vite__mapDeps.viteFileDeps = ["./B3LgLfDG.js","./BPRoNp8L.js","./entry.BR_O2Prr.css","./DQOICLIX.js","./Cb467khh.js","./BXBBJ0Rc.js","./CJAPUX2G.js","./BXEMZu0q.js","./CaVt64gb.js","./j1IFKjJD.js","./BXlVqijL.js","./270FioHT.js","./DqbTTvN1.js","./hBvKrcbX.js","./CnHGZjNE.js","./3ker-Bu6.js","./CoWul4yg.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{L as be}from"./Dln5YeVe.js";function Mo(o,e=0){return o[o.length-(1+e)]}function Xz(o){if(o.length===0)throw new Error("Invalid tail call");return[o.slice(0,o.length-1),o[o.length-1]]}function ri(o,e,t=(i,n)=>i===n){if(o===e)return!0;if(!o||!e||o.length!==e.length)return!1;for(let i=0,n=o.length;it(o[i],e))}function Jz(o,e){let t=0,i=o-1;for(;t<=i;){const n=(t+i)/2|0,s=e(n);if(s<0)t=n+1;else if(s>0)i=n-1;else return n}return-(t+1)}function xk(o,e,t){if(o=o|0,o>=e.length)throw new TypeError("invalid index");const i=e[Math.floor(e.length*Math.random())],n=[],s=[],r=[];for(const a of e){const l=t(a,i);l<0?n.push(a):l>0?s.push(a):r.push(a)}return o!!e)}function SP(o){let e=0;for(let t=0;t0}function Ld(o,e=t=>t){const t=new Set;return o.filter(i=>{const n=e(i);return t.has(n)?!1:(t.add(n),!0)})}function KM(o,e){return o.length>0?o[0]:e}function ss(o,e){let t=typeof e=="number"?o:0;typeof e=="number"?t=o:(t=0,e=o);const i=[];if(t<=e)for(let n=t;ne;n--)i.push(n);return i}function QS(o,e,t){const i=o.slice(0,e),n=o.slice(e);return i.concat(t,n)}function wD(o,e){const t=o.indexOf(e);t>-1&&(o.splice(t,1),o.unshift(e))}function B0(o,e){const t=o.indexOf(e);t>-1&&(o.splice(t,1),o.push(e))}function kk(o,e){for(const t of e)o.push(t)}function qM(o){return Array.isArray(o)?o:[o]}function tU(o,e,t){const i=O7(o,e),n=o.length,s=t.length;o.length=n+s;for(let r=n-1;r>=i;r--)o[r+s]=o[r];for(let r=0;r0}o.isGreaterThan=i;function n(s){return s===0}o.isNeitherLessOrGreaterThan=n,o.greaterThan=1,o.lessThan=-1,o.neitherLessOrGreaterThan=0})(rv||(rv={}));function Uo(o,e){return(t,i)=>e(o(t),o(i))}function iU(...o){return(e,t)=>{for(const i of o){const n=i(e,t);if(!rv.isNeitherLessOrGreaterThan(n))return n}return rv.neitherLessOrGreaterThan}}const md=(o,e)=>o-e,nU=(o,e)=>md(o?1:0,e?1:0);function F7(o){return(e,t)=>-o(e,t)}class Dd{constructor(e){this.items=e,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(e){let t=this.firstIdx;for(;t=0&&e(this.items[t]);)t--;const i=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,i}peek(){if(this.length!==0)return this.items[this.firstIdx]}dequeue(){const e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){const t=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,t}}class nl{constructor(e){this.iterate=e}toArray(){const e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new nl(t=>this.iterate(i=>e(i)?t(i):!0))}map(e){return new nl(t=>this.iterate(i=>t(e(i))))}findLast(e){let t;return this.iterate(i=>(e(i)&&(t=i),!0)),t}findLastMaxBy(e){let t,i=!0;return this.iterate(n=>((i||rv.isGreaterThan(e(n,t)))&&(i=!1,t=n),!0)),t}}nl.empty=new nl(o=>{});function vs(o){return typeof o=="string"}function gs(o){return typeof o=="object"&&o!==null&&!Array.isArray(o)&&!(o instanceof RegExp)&&!(o instanceof Date)}function sU(o){const e=Object.getPrototypeOf(Uint8Array);return typeof o=="object"&&o instanceof e}function Uc(o){return typeof o=="number"&&!isNaN(o)}function LP(o){return!!o&&typeof o[Symbol.iterator]=="function"}function B7(o){return o===!0||o===!1}function Ks(o){return typeof o>"u"}function sl(o){return!mo(o)}function mo(o){return Ks(o)||o===null}function wt(o,e){if(!o)throw new Error(e?`Unexpected type, expected '${e}'`:"Unexpected type")}function cc(o){if(mo(o))throw new Error("Assertion Failed: argument is undefined or null");return o}function av(o){return typeof o=="function"}function oU(o,e){const t=Math.min(o.length,e.length);for(let i=0;i{e[t]=i&&typeof i=="object"?zl(i):i}),e}function aU(o){if(!o||typeof o!="object")return o;const e=[o];for(;e.length>0;){const t=e.shift();Object.freeze(t);for(const i in t)if(W7.call(t,i)){const n=t[i];typeof n=="object"&&!Object.isFrozen(n)&&!sU(n)&&e.push(n)}}return o}const W7=Object.prototype.hasOwnProperty;function V7(o,e){return Ik(o,e,new Set)}function Ik(o,e,t){if(mo(o))return o;const i=e(o);if(typeof i<"u")return i;if(Array.isArray(o)){const n=[];for(const s of o)n.push(Ik(s,e,t));return n}if(gs(o)){if(t.has(o))throw new Error("Cannot clone recursive data-structure");t.add(o);const n={};for(const s in o)W7.call(o,s)&&(n[s]=Ik(o[s],e,t));return t.delete(o),n}return o}function JS(o,e,t=!0){return gs(o)?(gs(e)&&Object.keys(e).forEach(i=>{i in o?t&&(gs(o[i])&&gs(e[i])?JS(o[i],e[i],t):o[i]=e[i]):o[i]=e[i]}),o):e}function Co(o,e){if(o===e)return!0;if(o==null||e===null||e===void 0||typeof o!=typeof e||typeof o!="object"||Array.isArray(o)!==Array.isArray(e))return!1;let t,i;if(Array.isArray(o)){if(o.length!==e.length)return!1;for(t=0;tfunction(){const s=Array.prototype.slice.call(arguments,0);return e(n,s)},i={};for(const n of o)i[n]=t(n);return i}let cU=typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function H7(o,e){let t;return e.length===0?t=o:t=o.replace(/\{(\d+)\}/g,(i,n)=>{const s=n[0],r=e[s];let a=i;return typeof r=="string"?a=r:(typeof r=="number"||typeof r=="boolean"||r===void 0||r===null)&&(a=String(r)),a}),cU&&(t="["+t.replace(/[aouei]/g,"$&$&")+"]"),t}function m(o,e,...t){return H7(e,t)}function mt(o,e,...t){const i=H7(e,t);return{value:i,original:i}}var SD;const rf="en";let G1=!1,Z1=!1,l1=!1,z7=!1,ZM=!1,YM=!1,U7=!1,W0,d1=rf,DP=rf,hU,Rr;const pd=globalThis;let os;typeof pd.vscode<"u"&&typeof pd.vscode.process<"u"?os=pd.vscode.process:typeof process<"u"&&(os=process);const uU=typeof((SD=os==null?void 0:os.versions)===null||SD===void 0?void 0:SD.electron)=="string",gU=uU&&(os==null?void 0:os.type)==="renderer";if(typeof os=="object"){G1=os.platform==="win32",Z1=os.platform==="darwin",l1=os.platform==="linux",l1&&os.env.SNAP&&os.env.SNAP_REVISION,os.env.CI||os.env.BUILD_ARTIFACTSTAGINGDIRECTORY,W0=rf,d1=rf;const o=os.env.VSCODE_NLS_CONFIG;if(o)try{const e=JSON.parse(o),t=e.availableLanguages["*"];W0=e.locale,DP=e.osLocale,d1=t||rf,hU=e._translationsConfigFile}catch{}z7=!0}else typeof navigator=="object"&&!gU?(Rr=navigator.userAgent,G1=Rr.indexOf("Windows")>=0,Z1=Rr.indexOf("Macintosh")>=0,YM=(Rr.indexOf("Macintosh")>=0||Rr.indexOf("iPad")>=0||Rr.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,l1=Rr.indexOf("Linux")>=0,U7=(Rr==null?void 0:Rr.indexOf("Mobi"))>=0,ZM=!0,m({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"),W0=rf,d1=W0,DP=navigator.language):console.error("Unable to resolve platform.");const Vn=G1,lt=Z1,Cs=l1,Jr=z7,bh=ZM,fU=ZM&&typeof pd.importScripts=="function",mU=fU?pd.origin:void 0,ra=YM,$7=U7,hl=Rr,pU=d1,_U=typeof pd.postMessage=="function"&&!pd.importScripts,j7=(()=>{if(_U){const o=[];pd.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let i=0,n=o.length;i{const i=++e;o.push({id:i,callback:t}),pd.postMessage({vscodeScheduleAsyncWork:i},"*")}}return o=>setTimeout(o)})(),qs=Z1||YM?2:G1?1:3;let xP=!0,kP=!1;function K7(){if(!kP){kP=!0;const o=new Uint8Array(2);o[0]=1,o[1]=2,xP=new Uint16Array(o.buffer)[0]===513}return xP}const q7=!!(hl&&hl.indexOf("Chrome")>=0),vU=!!(hl&&hl.indexOf("Firefox")>=0),bU=!!(!q7&&hl&&hl.indexOf("Safari")>=0),CU=!!(hl&&hl.indexOf("Edg/")>=0),wU=!!(hl&&hl.indexOf("Android")>=0),On={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!0,independentColorPoolPerBracketType:!1}};var dt;(function(o){function e(C){return C&&typeof C=="object"&&typeof C[Symbol.iterator]=="function"}o.is=e;const t=Object.freeze([]);function i(){return t}o.empty=i;function*n(C){yield C}o.single=n;function s(C){return e(C)?C:n(C)}o.wrap=s;function r(C){return C||t}o.from=r;function*a(C){for(let w=C.length-1;w>=0;w--)yield C[w]}o.reverse=a;function l(C){return!C||C[Symbol.iterator]().next().done===!0}o.isEmpty=l;function d(C){return C[Symbol.iterator]().next().value}o.first=d;function c(C,w){for(const S of C)if(w(S))return!0;return!1}o.some=c;function h(C,w){for(const S of C)if(w(S))return S}o.find=h;function*u(C,w){for(const S of C)w(S)&&(yield S)}o.filter=u;function*g(C,w){let S=0;for(const L of C)yield w(L,S++)}o.map=g;function*f(...C){for(const w of C)yield*w}o.concat=f;function p(C,w,S){let L=S;for(const x of C)L=w(L,x);return L}o.reduce=p;function*_(C,w,S=C.length){for(w<0&&(w+=C.length),S<0?S+=C.length:S>C.length&&(S=C.length);w{n||(n=!0,this._remove(i))}}shift(){if(this._first!==Wi.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==Wi.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==Wi.Undefined&&e.next!==Wi.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===Wi.Undefined&&e.next===Wi.Undefined?(this._first=Wi.Undefined,this._last=Wi.Undefined):e.next===Wi.Undefined?(this._last=this._last.prev,this._last.next=Wi.Undefined):e.prev===Wi.Undefined&&(this._first=this._first.next,this._first.prev=Wi.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==Wi.Undefined;)yield e.element,e=e.next}}const G7="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function SU(o=""){let e="(-?\\d*\\.\\d\\w*)|([^";for(const t of G7)o.indexOf(t)>=0||(e+="\\"+t);return e+="\\s]+)",new RegExp(e,"g")}const XM=SU();function QM(o){let e=XM;if(o&&o instanceof RegExp)if(o.global)e=o;else{let t="g";o.ignoreCase&&(t+="i"),o.multiline&&(t+="m"),o.unicode&&(t+="u"),e=new RegExp(o.source,t)}return e.lastIndex=0,e}const Z7=new fs;Z7.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function lv(o,e,t,i,n){if(e=QM(e),n||(n=dt.first(Z7)),t.length>n.maxLen){let d=o-n.maxLen/2;return d<0?d=0:i+=d,t=t.substring(d,o+n.maxLen/2),lv(o,e,t,i,n)}const s=Date.now(),r=o-1-i;let a=-1,l=null;for(let d=1;!(Date.now()-s>=n.timeBudget);d++){const c=r-n.windowSize*d;e.lastIndex=Math.max(0,c);const h=yU(e,t,r,a);if(!h&&l||(l=h,c<=0))break;a=c}if(l){const d={word:l[0],startColumn:i+1+l.index,endColumn:i+1+l.index+l[0].length};return e.lastIndex=0,d}return null}function yU(o,e,t,i){let n;for(;n=o.exec(e);){const s=n.index||0;if(s<=t&&o.lastIndex>=t)return n;if(i>0&&s>i)return null}return null}const qd=8;class Y7{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class X7{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class ni{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return ey(e,t)}compute(e,t,i){return i}}class D_{constructor(e,t){this.newValue=e,this.didChange=t}}function ey(o,e){if(typeof o!="object"||typeof e!="object"||!o||!e)return new D_(e,o!==e);if(Array.isArray(o)||Array.isArray(e)){const i=Array.isArray(o)&&Array.isArray(e)&&ri(o,e);return new D_(e,!i)}let t=!1;for(const i in e)if(e.hasOwnProperty(i)){const n=ey(o[i],e[i]);n.didChange&&(o[i]=n.newValue,t=!0)}return new D_(o,t)}class Hb{constructor(e){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0}applyUpdate(e,t){return ey(e,t)}validate(e){return this.defaultValue}}class Gm{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return ey(e,t)}validate(e){return typeof e>"u"?this.defaultValue:e}compute(e,t,i){return i}}function ve(o,e){return typeof o>"u"?e:o==="false"?!1:!!o}class gt extends Gm{constructor(e,t,i,n=void 0){typeof n<"u"&&(n.type="boolean",n.default=i),super(e,t,i,n)}validate(e){return ve(e,this.defaultValue)}}function Yh(o,e,t,i){if(typeof o>"u")return e;let n=parseInt(o,10);return isNaN(n)?e:(n=Math.max(t,n),n=Math.min(i,n),n|0)}class Pt extends Gm{static clampedInt(e,t,i,n){return Yh(e,t,i,n)}constructor(e,t,i,n,s,r=void 0){typeof r<"u"&&(r.type="integer",r.default=i,r.minimum=n,r.maximum=s),super(e,t,i,r),this.minimum=n,this.maximum=s}validate(e){return Pt.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}function LU(o,e,t,i){if(typeof o>"u")return e;const n=fr.float(o,e);return fr.clamp(n,t,i)}class fr extends Gm{static clamp(e,t,i){return ei?i:e}static float(e,t){if(typeof e=="number")return e;if(typeof e>"u")return t;const i=parseFloat(e);return isNaN(i)?t:i}constructor(e,t,i,n,s){typeof s<"u"&&(s.type="number",s.default=i),super(e,t,i,s),this.validationFn=n}validate(e){return this.validationFn(fr.float(e,this.defaultValue))}}class ls extends Gm{static string(e,t){return typeof e!="string"?t:e}constructor(e,t,i,n=void 0){typeof n<"u"&&(n.type="string",n.default=i),super(e,t,i,n)}validate(e){return ls.string(e,this.defaultValue)}}function mi(o,e,t,i){return typeof o!="string"?e:i&&o in i?i[o]:t.indexOf(o)===-1?e:o}class di extends Gm{constructor(e,t,i,n,s=void 0){typeof s<"u"&&(s.type="string",s.enum=n,s.default=i),super(e,t,i,s),this._allowedValues=n}validate(e){return mi(e,this.defaultValue,this._allowedValues)}}class V0 extends ni{constructor(e,t,i,n,s,r,a=void 0){typeof a<"u"&&(a.type="string",a.enum=s,a.default=n),super(e,t,i,a),this._allowedValues=s,this._convert=r}validate(e){return typeof e!="string"?this.defaultValue:this._allowedValues.indexOf(e)===-1?this.defaultValue:this._convert(e)}}function DU(o){switch(o){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}class xU extends ni{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[m("accessibilitySupport.auto","Use platform APIs to detect when a Screen Reader is attached."),m("accessibilitySupport.on","Optimize for usage with a Screen Reader."),m("accessibilitySupport.off","Assume a screen reader is not attached.")],default:"auto",tags:["accessibility"],description:m("accessibilitySupport","Controls if the UI should run in a mode where it is optimized for screen readers.")})}validate(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(e,t,i){return i===0?e.accessibilitySupport:i}}class kU extends ni{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(23,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:m("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:m("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{insertSpace:ve(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:ve(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}function IU(o){switch(o){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}var vn;(function(o){o[o.Line=1]="Line",o[o.Block=2]="Block",o[o.Underline=3]="Underline",o[o.LineThin=4]="LineThin",o[o.BlockOutline=5]="BlockOutline",o[o.UnderlineThin=6]="UnderlineThin"})(vn||(vn={}));function EU(o){switch(o){case"line":return vn.Line;case"block":return vn.Block;case"underline":return vn.Underline;case"line-thin":return vn.LineThin;case"block-outline":return vn.BlockOutline;case"underline-thin":return vn.UnderlineThin}}class NU extends Hb{constructor(){super(141)}compute(e,t,i){const n=["monaco-editor"];return t.get(39)&&n.push(t.get(39)),e.extraEditorClassName&&n.push(e.extraEditorClassName),t.get(74)==="default"?n.push("mouse-default"):t.get(74)==="copy"&&n.push("mouse-copy"),t.get(111)&&n.push("showUnused"),t.get(139)&&n.push("showDeprecated"),n.join(" ")}}class TU extends gt{constructor(){super(37,"emptySelectionClipboard",!0,{description:m("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,i){return i&&e.emptySelectionClipboard}}class MU extends ni{constructor(){const e={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(41,"find",e,{"editor.find.cursorMoveOnType":{type:"boolean",default:e.cursorMoveOnType,description:m("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:e.seedSearchStringFromSelection,enumDescriptions:[m("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),m("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),m("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:m("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:e.autoFindInSelection,enumDescriptions:[m("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),m("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),m("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:m("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:m("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:lt},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:m("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:e.loop,description:m("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{cursorMoveOnType:ve(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof e.seedSearchStringFromSelection=="boolean"?e.seedSearchStringFromSelection?"always":"never":mi(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:typeof e.autoFindInSelection=="boolean"?e.autoFindInSelection?"always":"never":mi(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:ve(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:ve(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:ve(t.loop,this.defaultValue.loop)}}}class po extends ni{constructor(){super(51,"fontLigatures",po.OFF,{anyOf:[{type:"boolean",description:m("fontLigatures","Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.")},{type:"string",description:m("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:m("fontLigaturesGeneral","Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."),default:!1})}validate(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e==="false"||e.length===0?po.OFF:e==="true"?po.ON:e:e?po.ON:po.OFF}}po.OFF='"liga" off, "calt" off';po.ON='"liga" on, "calt" on';class Gr extends ni{constructor(){super(54,"fontVariations",Gr.OFF,{anyOf:[{type:"boolean",description:m("fontVariations","Enables/Disables the translation from font-weight to font-variation-settings. Change this to a string for fine-grained control of the 'font-variation-settings' CSS property.")},{type:"string",description:m("fontVariationSettings","Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings.")}],description:m("fontVariationsGeneral","Configures font variations. Can be either a boolean to enable/disable the translation from font-weight to font-variation-settings or a string for the value of the CSS 'font-variation-settings' property."),default:!1})}validate(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e==="false"?Gr.OFF:e==="true"?Gr.TRANSLATE:e:e?Gr.TRANSLATE:Gr.OFF}compute(e,t,i){return e.fontInfo.fontVariationSettings}}Gr.OFF="normal";Gr.TRANSLATE="translate";class RU extends Hb{constructor(){super(50)}compute(e,t,i){return e.fontInfo}}class AU extends Gm{constructor(){super(52,"fontSize",As.fontSize,{type:"number",minimum:6,maximum:100,default:As.fontSize,description:m("fontSize","Controls the font size in pixels.")})}validate(e){const t=fr.float(e,this.defaultValue);return t===0?As.fontSize:fr.clamp(t,6,100)}compute(e,t,i){return e.fontInfo.fontSize}}class za extends ni{constructor(){super(53,"fontWeight",As.fontWeight,{anyOf:[{type:"number",minimum:za.MINIMUM_VALUE,maximum:za.MAXIMUM_VALUE,errorMessage:m("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:za.SUGGESTION_VALUES}],default:As.fontWeight,description:m("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(e){return e==="normal"||e==="bold"?e:String(Pt.clampedInt(e,As.fontWeight,za.MINIMUM_VALUE,za.MAXIMUM_VALUE))}}za.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"];za.MINIMUM_VALUE=1;za.MAXIMUM_VALUE=1e3;class PU extends ni{constructor(){const e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},t={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[m("editor.gotoLocation.multiple.peek","Show Peek view of the results (default)"),m("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a Peek view"),m("editor.gotoLocation.multiple.goto","Go to the primary result and enable Peek-less navigation to others")]},i=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];super(58,"gotoLocation",e,{"editor.gotoLocation.multiple":{deprecationMessage:m("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":{description:m("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleTypeDefinitions":{description:m("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleDeclarations":{description:m("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleImplementations":{description:m("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleReferences":{description:m("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist."),...t},"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:e.alternativeDefinitionCommand,enum:i,description:m("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:e.alternativeTypeDefinitionCommand,enum:i,description:m("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:e.alternativeDeclarationCommand,enum:i,description:m("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:e.alternativeImplementationCommand,enum:i,description:m("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:e.alternativeReferenceCommand,enum:i,description:m("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){var t,i,n,s,r;if(!e||typeof e!="object")return this.defaultValue;const a=e;return{multiple:mi(a.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:(t=a.multipleDefinitions)!==null&&t!==void 0?t:mi(a.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:(i=a.multipleTypeDefinitions)!==null&&i!==void 0?i:mi(a.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:(n=a.multipleDeclarations)!==null&&n!==void 0?n:mi(a.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:(s=a.multipleImplementations)!==null&&s!==void 0?s:mi(a.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:(r=a.multipleReferences)!==null&&r!==void 0?r:mi(a.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:ls.string(a.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:ls.string(a.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:ls.string(a.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:ls.string(a.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:ls.string(a.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}}}class OU extends ni{constructor(){const e={enabled:!0,delay:300,hidingDelay:300,sticky:!0,above:!0};super(60,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:m("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,minimum:0,maximum:1e4,description:m("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:m("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")},"editor.hover.hidingDelay":{type:"integer",minimum:0,default:e.hidingDelay,description:m("hover.hidingDelay","Controls the delay in milliseconds after which the hover is hidden. Requires `editor.hover.sticky` to be enabled.")},"editor.hover.above":{type:"boolean",default:e.above,description:m("hover.above","Prefer showing hovers above the line, if there's space.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:ve(t.enabled,this.defaultValue.enabled),delay:Pt.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:ve(t.sticky,this.defaultValue.sticky),hidingDelay:Pt.clampedInt(t.hidingDelay,this.defaultValue.hidingDelay,0,6e5),above:ve(t.above,this.defaultValue.above)}}}class Nf extends Hb{constructor(){super(144)}compute(e,t,i){return Nf.computeLayout(t,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio,glyphMarginDecorationLaneCount:e.glyphMarginDecorationLaneCount})}static computeContainedMinimapLineCount(e){const t=e.height/e.lineHeight,i=Math.floor(e.paddingTop/e.lineHeight);let n=Math.floor(e.paddingBottom/e.lineHeight);e.scrollBeyondLastLine&&(n=Math.max(n,t-1));const s=(i+e.viewLineCount+n)/(e.pixelRatio*e.height),r=Math.floor(e.viewLineCount/s);return{typicalViewportLineCount:t,extraLinesBeforeFirstLine:i,extraLinesBeyondLastLine:n,desiredRatio:s,minimapLineCount:r}}static _computeMinimapLayout(e,t){const i=e.outerWidth,n=e.outerHeight,s=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(s*n),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:n};const r=t.stableMinimapLayoutInput,a=r&&e.outerHeight===r.outerHeight&&e.lineHeight===r.lineHeight&&e.typicalHalfwidthCharacterWidth===r.typicalHalfwidthCharacterWidth&&e.pixelRatio===r.pixelRatio&&e.scrollBeyondLastLine===r.scrollBeyondLastLine&&e.paddingTop===r.paddingTop&&e.paddingBottom===r.paddingBottom&&e.minimap.enabled===r.minimap.enabled&&e.minimap.side===r.minimap.side&&e.minimap.size===r.minimap.size&&e.minimap.showSlider===r.minimap.showSlider&&e.minimap.renderCharacters===r.minimap.renderCharacters&&e.minimap.maxColumn===r.minimap.maxColumn&&e.minimap.scale===r.minimap.scale&&e.verticalScrollbarWidth===r.verticalScrollbarWidth&&e.isViewportWrapping===r.isViewportWrapping,l=e.lineHeight,d=e.typicalHalfwidthCharacterWidth,c=e.scrollBeyondLastLine,h=e.minimap.renderCharacters;let u=s>=2?Math.round(e.minimap.scale*2):e.minimap.scale;const g=e.minimap.maxColumn,f=e.minimap.size,p=e.minimap.side,_=e.verticalScrollbarWidth,v=e.viewLineCount,b=e.remainingWidth,C=e.isViewportWrapping,w=h?2:3;let S=Math.floor(s*n);const L=S/s;let x=!1,I=!1,T=w*u,H=u/s,P=1;if(f==="fill"||f==="fit"){const{typicalViewportLineCount:Me,extraLinesBeforeFirstLine:me,extraLinesBeyondLastLine:Ge,desiredRatio:Ze,minimapLineCount:Ee}=Nf.computeContainedMinimapLineCount({viewLineCount:v,scrollBeyondLastLine:c,paddingTop:e.paddingTop,paddingBottom:e.paddingBottom,height:n,lineHeight:l,pixelRatio:s});if(v/Ee>1)x=!0,I=!0,u=1,T=1,H=u/s;else{let Ei=!1,ts=u+1;if(f==="fit"){const $i=Math.ceil((me+v+Ge)*T);C&&a&&b<=t.stableFitRemainingWidth?(Ei=!0,ts=t.stableFitMaxMinimapScale):Ei=$i>S}if(f==="fill"||Ei){x=!0;const $i=u;T=Math.min(l*s,Math.max(1,Math.floor(1/Ze))),C&&a&&b<=t.stableFitRemainingWidth&&(ts=t.stableFitMaxMinimapScale),u=Math.min(ts,Math.max(1,Math.floor(T/w))),u>$i&&(P=Math.min(2,u/$i)),H=u/s/P,S=Math.ceil(Math.max(Me,me+v+Ge)*T),C?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=b,t.stableFitMaxMinimapScale=u):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0)}}}const A=Math.floor(g*H),B=Math.min(A,Math.max(0,Math.floor((b-_-2)*H/(d+H)))+qd);let Z=Math.floor(s*B);const ne=Z/s;Z=Math.floor(Z*P);const pe=h?1:2,Se=p==="left"?0:i-B-_;return{renderMinimap:pe,minimapLeft:Se,minimapWidth:B,minimapHeightIsEditorHeight:x,minimapIsSampling:I,minimapScale:u,minimapLineHeight:T,minimapCanvasInnerWidth:Z,minimapCanvasInnerHeight:S,minimapCanvasOuterWidth:ne,minimapCanvasOuterHeight:L}}static computeLayout(e,t){const i=t.outerWidth|0,n=t.outerHeight|0,s=t.lineHeight|0,r=t.lineNumbersDigitCount|0,a=t.typicalHalfwidthCharacterWidth,l=t.maxDigitWidth,d=t.pixelRatio,c=t.viewLineCount,h=e.get(136),u=h==="inherit"?e.get(135):h,g=u==="inherit"?e.get(131):u,f=e.get(134),p=t.isDominatedByLongLines,_=e.get(57),v=e.get(68).renderType!==0,b=e.get(69),C=e.get(105),w=e.get(84),S=e.get(73),L=e.get(103),x=L.verticalScrollbarSize,I=L.verticalHasArrows,T=L.arrowSize,H=L.horizontalScrollbarSize,P=e.get(43),A=e.get(110)!=="never";let B=e.get(66);P&&A&&(B+=16);let Z=0;if(v){const Zi=Math.max(r,b);Z=Math.round(Zi*l)}let ne=0;_&&(ne=s*t.glyphMarginDecorationLaneCount);let pe=0,Se=pe+ne,Me=Se+Z,me=Me+B;const Ge=i-ne-Z-B;let Ze=!1,Ee=!1,ge=-1;u==="inherit"&&p?(Ze=!0,Ee=!0):g==="on"||g==="bounded"?Ee=!0:g==="wordWrapColumn"&&(ge=f);const Ei=Nf._computeMinimapLayout({outerWidth:i,outerHeight:n,lineHeight:s,typicalHalfwidthCharacterWidth:a,pixelRatio:d,scrollBeyondLastLine:C,paddingTop:w.top,paddingBottom:w.bottom,minimap:S,verticalScrollbarWidth:x,viewLineCount:c,remainingWidth:Ge,isViewportWrapping:Ee},t.memory||new X7);Ei.renderMinimap!==0&&Ei.minimapLeft===0&&(pe+=Ei.minimapWidth,Se+=Ei.minimapWidth,Me+=Ei.minimapWidth,me+=Ei.minimapWidth);const ts=Ge-Ei.minimapWidth,$i=Math.max(1,Math.floor((ts-x-2)/a)),Lt=I?T:0;return Ee&&(ge=Math.max(1,$i),g==="bounded"&&(ge=Math.min(ge,f))),{width:i,height:n,glyphMarginLeft:pe,glyphMarginWidth:ne,glyphMarginDecorationLaneCount:t.glyphMarginDecorationLaneCount,lineNumbersLeft:Se,lineNumbersWidth:Z,decorationsLeft:Me,decorationsWidth:B,contentLeft:me,contentWidth:ts,minimap:Ei,viewportColumn:$i,isWordWrapMinified:Ze,isViewportWrapping:Ee,wrappingColumn:ge,verticalScrollbarWidth:x,horizontalScrollbarHeight:H,overviewRuler:{top:Lt,width:x,height:n-2*Lt,right:0}}}}class FU extends ni{constructor(){super(138,"wrappingStrategy","simple",{"editor.wrappingStrategy":{enumDescriptions:[m("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),m("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],type:"string",enum:["simple","advanced"],default:"simple",description:m("wrappingStrategy","Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience.")}})}validate(e){return mi(e,"simple",["simple","advanced"])}compute(e,t,i){return t.get(2)===2?"advanced":i}}var hr;(function(o){o.Off="off",o.OnCode="onCode",o.On="on"})(hr||(hr={}));class BU extends ni{constructor(){const e={enabled:hr.OnCode};super(65,"lightbulb",e,{"editor.lightbulb.enabled":{type:"string",tags:["experimental"],enum:[hr.Off,hr.OnCode,hr.On],default:e.enabled,enumDescriptions:[m("editor.lightbulb.enabled.off","Disable the code action menu."),m("editor.lightbulb.enabled.onCode","Show the code action menu when the cursor is on lines with code."),m("editor.lightbulb.enabled.on","Show the code action menu when the cursor is on lines with code or on empty lines.")],description:m("enabled","Enables the Code Action lightbulb in the editor.")}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{enabled:mi(e.enabled,this.defaultValue.enabled,[hr.Off,hr.OnCode,hr.On])}}}class WU extends ni{constructor(){const e={enabled:!0,maxLineCount:5,defaultModel:"outlineModel",scrollWithEditor:!0};super(115,"stickyScroll",e,{"editor.stickyScroll.enabled":{type:"boolean",default:e.enabled,description:m("editor.stickyScroll.enabled","Shows the nested current scopes during the scroll at the top of the editor."),tags:["experimental"]},"editor.stickyScroll.maxLineCount":{type:"number",default:e.maxLineCount,minimum:1,maximum:20,description:m("editor.stickyScroll.maxLineCount","Defines the maximum number of sticky lines to show.")},"editor.stickyScroll.defaultModel":{type:"string",enum:["outlineModel","foldingProviderModel","indentationModel"],default:e.defaultModel,description:m("editor.stickyScroll.defaultModel","Defines the model to use for determining which lines to stick. If the outline model does not exist, it will fall back on the folding provider model which falls back on the indentation model. This order is respected in all three cases.")},"editor.stickyScroll.scrollWithEditor":{type:"boolean",default:e.scrollWithEditor,description:m("editor.stickyScroll.scrollWithEditor","Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:ve(t.enabled,this.defaultValue.enabled),maxLineCount:Pt.clampedInt(t.maxLineCount,this.defaultValue.maxLineCount,1,20),defaultModel:mi(t.defaultModel,this.defaultValue.defaultModel,["outlineModel","foldingProviderModel","indentationModel"]),scrollWithEditor:ve(t.scrollWithEditor,this.defaultValue.scrollWithEditor)}}}class VU extends ni{constructor(){const e={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(140,"inlayHints",e,{"editor.inlayHints.enabled":{type:"string",default:e.enabled,description:m("inlayHints.enable","Enables the inlay hints in the editor."),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[m("editor.inlayHints.on","Inlay hints are enabled"),m("editor.inlayHints.onUnlessPressed","Inlay hints are showing by default and hide when holding {0}",lt?"Ctrl+Option":"Ctrl+Alt"),m("editor.inlayHints.offUnlessPressed","Inlay hints are hidden by default and show when holding {0}",lt?"Ctrl+Option":"Ctrl+Alt"),m("editor.inlayHints.off","Inlay hints are disabled")]},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:m("inlayHints.fontSize","Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.","`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:"string",default:e.fontFamily,markdownDescription:m("inlayHints.fontFamily","Controls font family of inlay hints in the editor. When set to empty, the {0} is used.","`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:"boolean",default:e.padding,description:m("inlayHints.padding","Enables the padding around the inlay hints in the editor.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return typeof t.enabled=="boolean"&&(t.enabled=t.enabled?"on":"off"),{enabled:mi(t.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:Pt.clampedInt(t.fontSize,this.defaultValue.fontSize,0,100),fontFamily:ls.string(t.fontFamily,this.defaultValue.fontFamily),padding:ve(t.padding,this.defaultValue.padding)}}}class HU extends ni{constructor(){super(66,"lineDecorationsWidth",10)}validate(e){return typeof e=="string"&&/^\d+(\.\d+)?ch$/.test(e)?-parseFloat(e.substring(0,e.length-2)):Pt.clampedInt(e,this.defaultValue,0,1e3)}compute(e,t,i){return i<0?Pt.clampedInt(-i*e.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):i}}class zU extends fr{constructor(){super(67,"lineHeight",As.lineHeight,e=>fr.clamp(e,0,150),{markdownDescription:m("lineHeight",`Controls the line height. +import{O as be}from"./BPRoNp8L.js";function Mo(o,e=0){return o[o.length-(1+e)]}function Xz(o){if(o.length===0)throw new Error("Invalid tail call");return[o.slice(0,o.length-1),o[o.length-1]]}function ri(o,e,t=(i,n)=>i===n){if(o===e)return!0;if(!o||!e||o.length!==e.length)return!1;for(let i=0,n=o.length;it(o[i],e))}function Jz(o,e){let t=0,i=o-1;for(;t<=i;){const n=(t+i)/2|0,s=e(n);if(s<0)t=n+1;else if(s>0)i=n-1;else return n}return-(t+1)}function xk(o,e,t){if(o=o|0,o>=e.length)throw new TypeError("invalid index");const i=e[Math.floor(e.length*Math.random())],n=[],s=[],r=[];for(const a of e){const l=t(a,i);l<0?n.push(a):l>0?s.push(a):r.push(a)}return o!!e)}function SP(o){let e=0;for(let t=0;t0}function Ld(o,e=t=>t){const t=new Set;return o.filter(i=>{const n=e(i);return t.has(n)?!1:(t.add(n),!0)})}function KM(o,e){return o.length>0?o[0]:e}function ss(o,e){let t=typeof e=="number"?o:0;typeof e=="number"?t=o:(t=0,e=o);const i=[];if(t<=e)for(let n=t;ne;n--)i.push(n);return i}function QS(o,e,t){const i=o.slice(0,e),n=o.slice(e);return i.concat(t,n)}function wD(o,e){const t=o.indexOf(e);t>-1&&(o.splice(t,1),o.unshift(e))}function B0(o,e){const t=o.indexOf(e);t>-1&&(o.splice(t,1),o.push(e))}function kk(o,e){for(const t of e)o.push(t)}function qM(o){return Array.isArray(o)?o:[o]}function tU(o,e,t){const i=O7(o,e),n=o.length,s=t.length;o.length=n+s;for(let r=n-1;r>=i;r--)o[r+s]=o[r];for(let r=0;r0}o.isGreaterThan=i;function n(s){return s===0}o.isNeitherLessOrGreaterThan=n,o.greaterThan=1,o.lessThan=-1,o.neitherLessOrGreaterThan=0})(rv||(rv={}));function Uo(o,e){return(t,i)=>e(o(t),o(i))}function iU(...o){return(e,t)=>{for(const i of o){const n=i(e,t);if(!rv.isNeitherLessOrGreaterThan(n))return n}return rv.neitherLessOrGreaterThan}}const md=(o,e)=>o-e,nU=(o,e)=>md(o?1:0,e?1:0);function F7(o){return(e,t)=>-o(e,t)}class Dd{constructor(e){this.items=e,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(e){let t=this.firstIdx;for(;t=0&&e(this.items[t]);)t--;const i=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,i}peek(){if(this.length!==0)return this.items[this.firstIdx]}dequeue(){const e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){const t=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,t}}class nl{constructor(e){this.iterate=e}toArray(){const e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new nl(t=>this.iterate(i=>e(i)?t(i):!0))}map(e){return new nl(t=>this.iterate(i=>t(e(i))))}findLast(e){let t;return this.iterate(i=>(e(i)&&(t=i),!0)),t}findLastMaxBy(e){let t,i=!0;return this.iterate(n=>((i||rv.isGreaterThan(e(n,t)))&&(i=!1,t=n),!0)),t}}nl.empty=new nl(o=>{});function vs(o){return typeof o=="string"}function gs(o){return typeof o=="object"&&o!==null&&!Array.isArray(o)&&!(o instanceof RegExp)&&!(o instanceof Date)}function sU(o){const e=Object.getPrototypeOf(Uint8Array);return typeof o=="object"&&o instanceof e}function Uc(o){return typeof o=="number"&&!isNaN(o)}function LP(o){return!!o&&typeof o[Symbol.iterator]=="function"}function B7(o){return o===!0||o===!1}function Ks(o){return typeof o>"u"}function sl(o){return!mo(o)}function mo(o){return Ks(o)||o===null}function wt(o,e){if(!o)throw new Error(e?`Unexpected type, expected '${e}'`:"Unexpected type")}function cc(o){if(mo(o))throw new Error("Assertion Failed: argument is undefined or null");return o}function av(o){return typeof o=="function"}function oU(o,e){const t=Math.min(o.length,e.length);for(let i=0;i{e[t]=i&&typeof i=="object"?zl(i):i}),e}function aU(o){if(!o||typeof o!="object")return o;const e=[o];for(;e.length>0;){const t=e.shift();Object.freeze(t);for(const i in t)if(W7.call(t,i)){const n=t[i];typeof n=="object"&&!Object.isFrozen(n)&&!sU(n)&&e.push(n)}}return o}const W7=Object.prototype.hasOwnProperty;function V7(o,e){return Ik(o,e,new Set)}function Ik(o,e,t){if(mo(o))return o;const i=e(o);if(typeof i<"u")return i;if(Array.isArray(o)){const n=[];for(const s of o)n.push(Ik(s,e,t));return n}if(gs(o)){if(t.has(o))throw new Error("Cannot clone recursive data-structure");t.add(o);const n={};for(const s in o)W7.call(o,s)&&(n[s]=Ik(o[s],e,t));return t.delete(o),n}return o}function JS(o,e,t=!0){return gs(o)?(gs(e)&&Object.keys(e).forEach(i=>{i in o?t&&(gs(o[i])&&gs(e[i])?JS(o[i],e[i],t):o[i]=e[i]):o[i]=e[i]}),o):e}function Co(o,e){if(o===e)return!0;if(o==null||e===null||e===void 0||typeof o!=typeof e||typeof o!="object"||Array.isArray(o)!==Array.isArray(e))return!1;let t,i;if(Array.isArray(o)){if(o.length!==e.length)return!1;for(t=0;tfunction(){const s=Array.prototype.slice.call(arguments,0);return e(n,s)},i={};for(const n of o)i[n]=t(n);return i}let cU=typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function H7(o,e){let t;return e.length===0?t=o:t=o.replace(/\{(\d+)\}/g,(i,n)=>{const s=n[0],r=e[s];let a=i;return typeof r=="string"?a=r:(typeof r=="number"||typeof r=="boolean"||r===void 0||r===null)&&(a=String(r)),a}),cU&&(t="["+t.replace(/[aouei]/g,"$&$&")+"]"),t}function m(o,e,...t){return H7(e,t)}function mt(o,e,...t){const i=H7(e,t);return{value:i,original:i}}var SD;const rf="en";let G1=!1,Z1=!1,l1=!1,z7=!1,ZM=!1,YM=!1,U7=!1,W0,d1=rf,DP=rf,hU,Rr;const pd=globalThis;let os;typeof pd.vscode<"u"&&typeof pd.vscode.process<"u"?os=pd.vscode.process:typeof process<"u"&&(os=process);const uU=typeof((SD=os==null?void 0:os.versions)===null||SD===void 0?void 0:SD.electron)=="string",gU=uU&&(os==null?void 0:os.type)==="renderer";if(typeof os=="object"){G1=os.platform==="win32",Z1=os.platform==="darwin",l1=os.platform==="linux",l1&&os.env.SNAP&&os.env.SNAP_REVISION,os.env.CI||os.env.BUILD_ARTIFACTSTAGINGDIRECTORY,W0=rf,d1=rf;const o=os.env.VSCODE_NLS_CONFIG;if(o)try{const e=JSON.parse(o),t=e.availableLanguages["*"];W0=e.locale,DP=e.osLocale,d1=t||rf,hU=e._translationsConfigFile}catch{}z7=!0}else typeof navigator=="object"&&!gU?(Rr=navigator.userAgent,G1=Rr.indexOf("Windows")>=0,Z1=Rr.indexOf("Macintosh")>=0,YM=(Rr.indexOf("Macintosh")>=0||Rr.indexOf("iPad")>=0||Rr.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,l1=Rr.indexOf("Linux")>=0,U7=(Rr==null?void 0:Rr.indexOf("Mobi"))>=0,ZM=!0,m({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"),W0=rf,d1=W0,DP=navigator.language):console.error("Unable to resolve platform.");const Vn=G1,lt=Z1,Cs=l1,Jr=z7,bh=ZM,fU=ZM&&typeof pd.importScripts=="function",mU=fU?pd.origin:void 0,ra=YM,$7=U7,hl=Rr,pU=d1,_U=typeof pd.postMessage=="function"&&!pd.importScripts,j7=(()=>{if(_U){const o=[];pd.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let i=0,n=o.length;i{const i=++e;o.push({id:i,callback:t}),pd.postMessage({vscodeScheduleAsyncWork:i},"*")}}return o=>setTimeout(o)})(),qs=Z1||YM?2:G1?1:3;let xP=!0,kP=!1;function K7(){if(!kP){kP=!0;const o=new Uint8Array(2);o[0]=1,o[1]=2,xP=new Uint16Array(o.buffer)[0]===513}return xP}const q7=!!(hl&&hl.indexOf("Chrome")>=0),vU=!!(hl&&hl.indexOf("Firefox")>=0),bU=!!(!q7&&hl&&hl.indexOf("Safari")>=0),CU=!!(hl&&hl.indexOf("Edg/")>=0),wU=!!(hl&&hl.indexOf("Android")>=0),On={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!0,independentColorPoolPerBracketType:!1}};var dt;(function(o){function e(C){return C&&typeof C=="object"&&typeof C[Symbol.iterator]=="function"}o.is=e;const t=Object.freeze([]);function i(){return t}o.empty=i;function*n(C){yield C}o.single=n;function s(C){return e(C)?C:n(C)}o.wrap=s;function r(C){return C||t}o.from=r;function*a(C){for(let w=C.length-1;w>=0;w--)yield C[w]}o.reverse=a;function l(C){return!C||C[Symbol.iterator]().next().done===!0}o.isEmpty=l;function d(C){return C[Symbol.iterator]().next().value}o.first=d;function c(C,w){for(const S of C)if(w(S))return!0;return!1}o.some=c;function h(C,w){for(const S of C)if(w(S))return S}o.find=h;function*u(C,w){for(const S of C)w(S)&&(yield S)}o.filter=u;function*g(C,w){let S=0;for(const L of C)yield w(L,S++)}o.map=g;function*f(...C){for(const w of C)yield*w}o.concat=f;function p(C,w,S){let L=S;for(const x of C)L=w(L,x);return L}o.reduce=p;function*_(C,w,S=C.length){for(w<0&&(w+=C.length),S<0?S+=C.length:S>C.length&&(S=C.length);w{n||(n=!0,this._remove(i))}}shift(){if(this._first!==Wi.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==Wi.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==Wi.Undefined&&e.next!==Wi.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===Wi.Undefined&&e.next===Wi.Undefined?(this._first=Wi.Undefined,this._last=Wi.Undefined):e.next===Wi.Undefined?(this._last=this._last.prev,this._last.next=Wi.Undefined):e.prev===Wi.Undefined&&(this._first=this._first.next,this._first.prev=Wi.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==Wi.Undefined;)yield e.element,e=e.next}}const G7="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function SU(o=""){let e="(-?\\d*\\.\\d\\w*)|([^";for(const t of G7)o.indexOf(t)>=0||(e+="\\"+t);return e+="\\s]+)",new RegExp(e,"g")}const XM=SU();function QM(o){let e=XM;if(o&&o instanceof RegExp)if(o.global)e=o;else{let t="g";o.ignoreCase&&(t+="i"),o.multiline&&(t+="m"),o.unicode&&(t+="u"),e=new RegExp(o.source,t)}return e.lastIndex=0,e}const Z7=new fs;Z7.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function lv(o,e,t,i,n){if(e=QM(e),n||(n=dt.first(Z7)),t.length>n.maxLen){let d=o-n.maxLen/2;return d<0?d=0:i+=d,t=t.substring(d,o+n.maxLen/2),lv(o,e,t,i,n)}const s=Date.now(),r=o-1-i;let a=-1,l=null;for(let d=1;!(Date.now()-s>=n.timeBudget);d++){const c=r-n.windowSize*d;e.lastIndex=Math.max(0,c);const h=yU(e,t,r,a);if(!h&&l||(l=h,c<=0))break;a=c}if(l){const d={word:l[0],startColumn:i+1+l.index,endColumn:i+1+l.index+l[0].length};return e.lastIndex=0,d}return null}function yU(o,e,t,i){let n;for(;n=o.exec(e);){const s=n.index||0;if(s<=t&&o.lastIndex>=t)return n;if(i>0&&s>i)return null}return null}const qd=8;class Y7{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class X7{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class ni{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return ey(e,t)}compute(e,t,i){return i}}class D_{constructor(e,t){this.newValue=e,this.didChange=t}}function ey(o,e){if(typeof o!="object"||typeof e!="object"||!o||!e)return new D_(e,o!==e);if(Array.isArray(o)||Array.isArray(e)){const i=Array.isArray(o)&&Array.isArray(e)&&ri(o,e);return new D_(e,!i)}let t=!1;for(const i in e)if(e.hasOwnProperty(i)){const n=ey(o[i],e[i]);n.didChange&&(o[i]=n.newValue,t=!0)}return new D_(o,t)}class Hb{constructor(e){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0}applyUpdate(e,t){return ey(e,t)}validate(e){return this.defaultValue}}class Gm{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return ey(e,t)}validate(e){return typeof e>"u"?this.defaultValue:e}compute(e,t,i){return i}}function ve(o,e){return typeof o>"u"?e:o==="false"?!1:!!o}class gt extends Gm{constructor(e,t,i,n=void 0){typeof n<"u"&&(n.type="boolean",n.default=i),super(e,t,i,n)}validate(e){return ve(e,this.defaultValue)}}function Yh(o,e,t,i){if(typeof o>"u")return e;let n=parseInt(o,10);return isNaN(n)?e:(n=Math.max(t,n),n=Math.min(i,n),n|0)}class Pt extends Gm{static clampedInt(e,t,i,n){return Yh(e,t,i,n)}constructor(e,t,i,n,s,r=void 0){typeof r<"u"&&(r.type="integer",r.default=i,r.minimum=n,r.maximum=s),super(e,t,i,r),this.minimum=n,this.maximum=s}validate(e){return Pt.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}function LU(o,e,t,i){if(typeof o>"u")return e;const n=fr.float(o,e);return fr.clamp(n,t,i)}class fr extends Gm{static clamp(e,t,i){return ei?i:e}static float(e,t){if(typeof e=="number")return e;if(typeof e>"u")return t;const i=parseFloat(e);return isNaN(i)?t:i}constructor(e,t,i,n,s){typeof s<"u"&&(s.type="number",s.default=i),super(e,t,i,s),this.validationFn=n}validate(e){return this.validationFn(fr.float(e,this.defaultValue))}}class ls extends Gm{static string(e,t){return typeof e!="string"?t:e}constructor(e,t,i,n=void 0){typeof n<"u"&&(n.type="string",n.default=i),super(e,t,i,n)}validate(e){return ls.string(e,this.defaultValue)}}function mi(o,e,t,i){return typeof o!="string"?e:i&&o in i?i[o]:t.indexOf(o)===-1?e:o}class di extends Gm{constructor(e,t,i,n,s=void 0){typeof s<"u"&&(s.type="string",s.enum=n,s.default=i),super(e,t,i,s),this._allowedValues=n}validate(e){return mi(e,this.defaultValue,this._allowedValues)}}class V0 extends ni{constructor(e,t,i,n,s,r,a=void 0){typeof a<"u"&&(a.type="string",a.enum=s,a.default=n),super(e,t,i,a),this._allowedValues=s,this._convert=r}validate(e){return typeof e!="string"?this.defaultValue:this._allowedValues.indexOf(e)===-1?this.defaultValue:this._convert(e)}}function DU(o){switch(o){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}class xU extends ni{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[m("accessibilitySupport.auto","Use platform APIs to detect when a Screen Reader is attached."),m("accessibilitySupport.on","Optimize for usage with a Screen Reader."),m("accessibilitySupport.off","Assume a screen reader is not attached.")],default:"auto",tags:["accessibility"],description:m("accessibilitySupport","Controls if the UI should run in a mode where it is optimized for screen readers.")})}validate(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(e,t,i){return i===0?e.accessibilitySupport:i}}class kU extends ni{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(23,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:m("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:m("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{insertSpace:ve(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:ve(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}function IU(o){switch(o){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}var vn;(function(o){o[o.Line=1]="Line",o[o.Block=2]="Block",o[o.Underline=3]="Underline",o[o.LineThin=4]="LineThin",o[o.BlockOutline=5]="BlockOutline",o[o.UnderlineThin=6]="UnderlineThin"})(vn||(vn={}));function EU(o){switch(o){case"line":return vn.Line;case"block":return vn.Block;case"underline":return vn.Underline;case"line-thin":return vn.LineThin;case"block-outline":return vn.BlockOutline;case"underline-thin":return vn.UnderlineThin}}class NU extends Hb{constructor(){super(141)}compute(e,t,i){const n=["monaco-editor"];return t.get(39)&&n.push(t.get(39)),e.extraEditorClassName&&n.push(e.extraEditorClassName),t.get(74)==="default"?n.push("mouse-default"):t.get(74)==="copy"&&n.push("mouse-copy"),t.get(111)&&n.push("showUnused"),t.get(139)&&n.push("showDeprecated"),n.join(" ")}}class TU extends gt{constructor(){super(37,"emptySelectionClipboard",!0,{description:m("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,i){return i&&e.emptySelectionClipboard}}class MU extends ni{constructor(){const e={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(41,"find",e,{"editor.find.cursorMoveOnType":{type:"boolean",default:e.cursorMoveOnType,description:m("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:e.seedSearchStringFromSelection,enumDescriptions:[m("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),m("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),m("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:m("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:e.autoFindInSelection,enumDescriptions:[m("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),m("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),m("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:m("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:m("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:lt},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:m("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:e.loop,description:m("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{cursorMoveOnType:ve(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof e.seedSearchStringFromSelection=="boolean"?e.seedSearchStringFromSelection?"always":"never":mi(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:typeof e.autoFindInSelection=="boolean"?e.autoFindInSelection?"always":"never":mi(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:ve(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:ve(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:ve(t.loop,this.defaultValue.loop)}}}class po extends ni{constructor(){super(51,"fontLigatures",po.OFF,{anyOf:[{type:"boolean",description:m("fontLigatures","Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.")},{type:"string",description:m("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:m("fontLigaturesGeneral","Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."),default:!1})}validate(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e==="false"||e.length===0?po.OFF:e==="true"?po.ON:e:e?po.ON:po.OFF}}po.OFF='"liga" off, "calt" off';po.ON='"liga" on, "calt" on';class Gr extends ni{constructor(){super(54,"fontVariations",Gr.OFF,{anyOf:[{type:"boolean",description:m("fontVariations","Enables/Disables the translation from font-weight to font-variation-settings. Change this to a string for fine-grained control of the 'font-variation-settings' CSS property.")},{type:"string",description:m("fontVariationSettings","Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings.")}],description:m("fontVariationsGeneral","Configures font variations. Can be either a boolean to enable/disable the translation from font-weight to font-variation-settings or a string for the value of the CSS 'font-variation-settings' property."),default:!1})}validate(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e==="false"?Gr.OFF:e==="true"?Gr.TRANSLATE:e:e?Gr.TRANSLATE:Gr.OFF}compute(e,t,i){return e.fontInfo.fontVariationSettings}}Gr.OFF="normal";Gr.TRANSLATE="translate";class RU extends Hb{constructor(){super(50)}compute(e,t,i){return e.fontInfo}}class AU extends Gm{constructor(){super(52,"fontSize",As.fontSize,{type:"number",minimum:6,maximum:100,default:As.fontSize,description:m("fontSize","Controls the font size in pixels.")})}validate(e){const t=fr.float(e,this.defaultValue);return t===0?As.fontSize:fr.clamp(t,6,100)}compute(e,t,i){return e.fontInfo.fontSize}}class za extends ni{constructor(){super(53,"fontWeight",As.fontWeight,{anyOf:[{type:"number",minimum:za.MINIMUM_VALUE,maximum:za.MAXIMUM_VALUE,errorMessage:m("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:za.SUGGESTION_VALUES}],default:As.fontWeight,description:m("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(e){return e==="normal"||e==="bold"?e:String(Pt.clampedInt(e,As.fontWeight,za.MINIMUM_VALUE,za.MAXIMUM_VALUE))}}za.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"];za.MINIMUM_VALUE=1;za.MAXIMUM_VALUE=1e3;class PU extends ni{constructor(){const e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},t={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[m("editor.gotoLocation.multiple.peek","Show Peek view of the results (default)"),m("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a Peek view"),m("editor.gotoLocation.multiple.goto","Go to the primary result and enable Peek-less navigation to others")]},i=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];super(58,"gotoLocation",e,{"editor.gotoLocation.multiple":{deprecationMessage:m("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":{description:m("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleTypeDefinitions":{description:m("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleDeclarations":{description:m("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleImplementations":{description:m("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleReferences":{description:m("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist."),...t},"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:e.alternativeDefinitionCommand,enum:i,description:m("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:e.alternativeTypeDefinitionCommand,enum:i,description:m("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:e.alternativeDeclarationCommand,enum:i,description:m("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:e.alternativeImplementationCommand,enum:i,description:m("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:e.alternativeReferenceCommand,enum:i,description:m("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){var t,i,n,s,r;if(!e||typeof e!="object")return this.defaultValue;const a=e;return{multiple:mi(a.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:(t=a.multipleDefinitions)!==null&&t!==void 0?t:mi(a.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:(i=a.multipleTypeDefinitions)!==null&&i!==void 0?i:mi(a.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:(n=a.multipleDeclarations)!==null&&n!==void 0?n:mi(a.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:(s=a.multipleImplementations)!==null&&s!==void 0?s:mi(a.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:(r=a.multipleReferences)!==null&&r!==void 0?r:mi(a.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:ls.string(a.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:ls.string(a.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:ls.string(a.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:ls.string(a.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:ls.string(a.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}}}class OU extends ni{constructor(){const e={enabled:!0,delay:300,hidingDelay:300,sticky:!0,above:!0};super(60,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:m("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,minimum:0,maximum:1e4,description:m("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:m("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")},"editor.hover.hidingDelay":{type:"integer",minimum:0,default:e.hidingDelay,description:m("hover.hidingDelay","Controls the delay in milliseconds after which the hover is hidden. Requires `editor.hover.sticky` to be enabled.")},"editor.hover.above":{type:"boolean",default:e.above,description:m("hover.above","Prefer showing hovers above the line, if there's space.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:ve(t.enabled,this.defaultValue.enabled),delay:Pt.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:ve(t.sticky,this.defaultValue.sticky),hidingDelay:Pt.clampedInt(t.hidingDelay,this.defaultValue.hidingDelay,0,6e5),above:ve(t.above,this.defaultValue.above)}}}class Nf extends Hb{constructor(){super(144)}compute(e,t,i){return Nf.computeLayout(t,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio,glyphMarginDecorationLaneCount:e.glyphMarginDecorationLaneCount})}static computeContainedMinimapLineCount(e){const t=e.height/e.lineHeight,i=Math.floor(e.paddingTop/e.lineHeight);let n=Math.floor(e.paddingBottom/e.lineHeight);e.scrollBeyondLastLine&&(n=Math.max(n,t-1));const s=(i+e.viewLineCount+n)/(e.pixelRatio*e.height),r=Math.floor(e.viewLineCount/s);return{typicalViewportLineCount:t,extraLinesBeforeFirstLine:i,extraLinesBeyondLastLine:n,desiredRatio:s,minimapLineCount:r}}static _computeMinimapLayout(e,t){const i=e.outerWidth,n=e.outerHeight,s=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(s*n),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:n};const r=t.stableMinimapLayoutInput,a=r&&e.outerHeight===r.outerHeight&&e.lineHeight===r.lineHeight&&e.typicalHalfwidthCharacterWidth===r.typicalHalfwidthCharacterWidth&&e.pixelRatio===r.pixelRatio&&e.scrollBeyondLastLine===r.scrollBeyondLastLine&&e.paddingTop===r.paddingTop&&e.paddingBottom===r.paddingBottom&&e.minimap.enabled===r.minimap.enabled&&e.minimap.side===r.minimap.side&&e.minimap.size===r.minimap.size&&e.minimap.showSlider===r.minimap.showSlider&&e.minimap.renderCharacters===r.minimap.renderCharacters&&e.minimap.maxColumn===r.minimap.maxColumn&&e.minimap.scale===r.minimap.scale&&e.verticalScrollbarWidth===r.verticalScrollbarWidth&&e.isViewportWrapping===r.isViewportWrapping,l=e.lineHeight,d=e.typicalHalfwidthCharacterWidth,c=e.scrollBeyondLastLine,h=e.minimap.renderCharacters;let u=s>=2?Math.round(e.minimap.scale*2):e.minimap.scale;const g=e.minimap.maxColumn,f=e.minimap.size,p=e.minimap.side,_=e.verticalScrollbarWidth,v=e.viewLineCount,b=e.remainingWidth,C=e.isViewportWrapping,w=h?2:3;let S=Math.floor(s*n);const L=S/s;let x=!1,I=!1,T=w*u,H=u/s,P=1;if(f==="fill"||f==="fit"){const{typicalViewportLineCount:Me,extraLinesBeforeFirstLine:me,extraLinesBeyondLastLine:Ge,desiredRatio:Ze,minimapLineCount:Ee}=Nf.computeContainedMinimapLineCount({viewLineCount:v,scrollBeyondLastLine:c,paddingTop:e.paddingTop,paddingBottom:e.paddingBottom,height:n,lineHeight:l,pixelRatio:s});if(v/Ee>1)x=!0,I=!0,u=1,T=1,H=u/s;else{let Ei=!1,ts=u+1;if(f==="fit"){const $i=Math.ceil((me+v+Ge)*T);C&&a&&b<=t.stableFitRemainingWidth?(Ei=!0,ts=t.stableFitMaxMinimapScale):Ei=$i>S}if(f==="fill"||Ei){x=!0;const $i=u;T=Math.min(l*s,Math.max(1,Math.floor(1/Ze))),C&&a&&b<=t.stableFitRemainingWidth&&(ts=t.stableFitMaxMinimapScale),u=Math.min(ts,Math.max(1,Math.floor(T/w))),u>$i&&(P=Math.min(2,u/$i)),H=u/s/P,S=Math.ceil(Math.max(Me,me+v+Ge)*T),C?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=b,t.stableFitMaxMinimapScale=u):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0)}}}const A=Math.floor(g*H),B=Math.min(A,Math.max(0,Math.floor((b-_-2)*H/(d+H)))+qd);let Z=Math.floor(s*B);const ne=Z/s;Z=Math.floor(Z*P);const pe=h?1:2,Se=p==="left"?0:i-B-_;return{renderMinimap:pe,minimapLeft:Se,minimapWidth:B,minimapHeightIsEditorHeight:x,minimapIsSampling:I,minimapScale:u,minimapLineHeight:T,minimapCanvasInnerWidth:Z,minimapCanvasInnerHeight:S,minimapCanvasOuterWidth:ne,minimapCanvasOuterHeight:L}}static computeLayout(e,t){const i=t.outerWidth|0,n=t.outerHeight|0,s=t.lineHeight|0,r=t.lineNumbersDigitCount|0,a=t.typicalHalfwidthCharacterWidth,l=t.maxDigitWidth,d=t.pixelRatio,c=t.viewLineCount,h=e.get(136),u=h==="inherit"?e.get(135):h,g=u==="inherit"?e.get(131):u,f=e.get(134),p=t.isDominatedByLongLines,_=e.get(57),v=e.get(68).renderType!==0,b=e.get(69),C=e.get(105),w=e.get(84),S=e.get(73),L=e.get(103),x=L.verticalScrollbarSize,I=L.verticalHasArrows,T=L.arrowSize,H=L.horizontalScrollbarSize,P=e.get(43),A=e.get(110)!=="never";let B=e.get(66);P&&A&&(B+=16);let Z=0;if(v){const Zi=Math.max(r,b);Z=Math.round(Zi*l)}let ne=0;_&&(ne=s*t.glyphMarginDecorationLaneCount);let pe=0,Se=pe+ne,Me=Se+Z,me=Me+B;const Ge=i-ne-Z-B;let Ze=!1,Ee=!1,ge=-1;u==="inherit"&&p?(Ze=!0,Ee=!0):g==="on"||g==="bounded"?Ee=!0:g==="wordWrapColumn"&&(ge=f);const Ei=Nf._computeMinimapLayout({outerWidth:i,outerHeight:n,lineHeight:s,typicalHalfwidthCharacterWidth:a,pixelRatio:d,scrollBeyondLastLine:C,paddingTop:w.top,paddingBottom:w.bottom,minimap:S,verticalScrollbarWidth:x,viewLineCount:c,remainingWidth:Ge,isViewportWrapping:Ee},t.memory||new X7);Ei.renderMinimap!==0&&Ei.minimapLeft===0&&(pe+=Ei.minimapWidth,Se+=Ei.minimapWidth,Me+=Ei.minimapWidth,me+=Ei.minimapWidth);const ts=Ge-Ei.minimapWidth,$i=Math.max(1,Math.floor((ts-x-2)/a)),Lt=I?T:0;return Ee&&(ge=Math.max(1,$i),g==="bounded"&&(ge=Math.min(ge,f))),{width:i,height:n,glyphMarginLeft:pe,glyphMarginWidth:ne,glyphMarginDecorationLaneCount:t.glyphMarginDecorationLaneCount,lineNumbersLeft:Se,lineNumbersWidth:Z,decorationsLeft:Me,decorationsWidth:B,contentLeft:me,contentWidth:ts,minimap:Ei,viewportColumn:$i,isWordWrapMinified:Ze,isViewportWrapping:Ee,wrappingColumn:ge,verticalScrollbarWidth:x,horizontalScrollbarHeight:H,overviewRuler:{top:Lt,width:x,height:n-2*Lt,right:0}}}}class FU extends ni{constructor(){super(138,"wrappingStrategy","simple",{"editor.wrappingStrategy":{enumDescriptions:[m("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),m("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],type:"string",enum:["simple","advanced"],default:"simple",description:m("wrappingStrategy","Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience.")}})}validate(e){return mi(e,"simple",["simple","advanced"])}compute(e,t,i){return t.get(2)===2?"advanced":i}}var hr;(function(o){o.Off="off",o.OnCode="onCode",o.On="on"})(hr||(hr={}));class BU extends ni{constructor(){const e={enabled:hr.OnCode};super(65,"lightbulb",e,{"editor.lightbulb.enabled":{type:"string",tags:["experimental"],enum:[hr.Off,hr.OnCode,hr.On],default:e.enabled,enumDescriptions:[m("editor.lightbulb.enabled.off","Disable the code action menu."),m("editor.lightbulb.enabled.onCode","Show the code action menu when the cursor is on lines with code."),m("editor.lightbulb.enabled.on","Show the code action menu when the cursor is on lines with code or on empty lines.")],description:m("enabled","Enables the Code Action lightbulb in the editor.")}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{enabled:mi(e.enabled,this.defaultValue.enabled,[hr.Off,hr.OnCode,hr.On])}}}class WU extends ni{constructor(){const e={enabled:!0,maxLineCount:5,defaultModel:"outlineModel",scrollWithEditor:!0};super(115,"stickyScroll",e,{"editor.stickyScroll.enabled":{type:"boolean",default:e.enabled,description:m("editor.stickyScroll.enabled","Shows the nested current scopes during the scroll at the top of the editor."),tags:["experimental"]},"editor.stickyScroll.maxLineCount":{type:"number",default:e.maxLineCount,minimum:1,maximum:20,description:m("editor.stickyScroll.maxLineCount","Defines the maximum number of sticky lines to show.")},"editor.stickyScroll.defaultModel":{type:"string",enum:["outlineModel","foldingProviderModel","indentationModel"],default:e.defaultModel,description:m("editor.stickyScroll.defaultModel","Defines the model to use for determining which lines to stick. If the outline model does not exist, it will fall back on the folding provider model which falls back on the indentation model. This order is respected in all three cases.")},"editor.stickyScroll.scrollWithEditor":{type:"boolean",default:e.scrollWithEditor,description:m("editor.stickyScroll.scrollWithEditor","Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:ve(t.enabled,this.defaultValue.enabled),maxLineCount:Pt.clampedInt(t.maxLineCount,this.defaultValue.maxLineCount,1,20),defaultModel:mi(t.defaultModel,this.defaultValue.defaultModel,["outlineModel","foldingProviderModel","indentationModel"]),scrollWithEditor:ve(t.scrollWithEditor,this.defaultValue.scrollWithEditor)}}}class VU extends ni{constructor(){const e={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(140,"inlayHints",e,{"editor.inlayHints.enabled":{type:"string",default:e.enabled,description:m("inlayHints.enable","Enables the inlay hints in the editor."),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[m("editor.inlayHints.on","Inlay hints are enabled"),m("editor.inlayHints.onUnlessPressed","Inlay hints are showing by default and hide when holding {0}",lt?"Ctrl+Option":"Ctrl+Alt"),m("editor.inlayHints.offUnlessPressed","Inlay hints are hidden by default and show when holding {0}",lt?"Ctrl+Option":"Ctrl+Alt"),m("editor.inlayHints.off","Inlay hints are disabled")]},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:m("inlayHints.fontSize","Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.","`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:"string",default:e.fontFamily,markdownDescription:m("inlayHints.fontFamily","Controls font family of inlay hints in the editor. When set to empty, the {0} is used.","`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:"boolean",default:e.padding,description:m("inlayHints.padding","Enables the padding around the inlay hints in the editor.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return typeof t.enabled=="boolean"&&(t.enabled=t.enabled?"on":"off"),{enabled:mi(t.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:Pt.clampedInt(t.fontSize,this.defaultValue.fontSize,0,100),fontFamily:ls.string(t.fontFamily,this.defaultValue.fontFamily),padding:ve(t.padding,this.defaultValue.padding)}}}class HU extends ni{constructor(){super(66,"lineDecorationsWidth",10)}validate(e){return typeof e=="string"&&/^\d+(\.\d+)?ch$/.test(e)?-parseFloat(e.substring(0,e.length-2)):Pt.clampedInt(e,this.defaultValue,0,1e3)}compute(e,t,i){return i<0?Pt.clampedInt(-i*e.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):i}}class zU extends fr{constructor(){super(67,"lineHeight",As.lineHeight,e=>fr.clamp(e,0,150),{markdownDescription:m("lineHeight",`Controls the line height. - Use 0 to automatically compute the line height from the font size. - Values between 0 and 8 will be used as a multiplier with the font size. - Values greater than or equal to 8 will be used as effective values.`)})}compute(e,t,i){return e.fontInfo.lineHeight}}class UU extends ni{constructor(){const e={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",autohide:!1,renderCharacters:!0,maxColumn:120,scale:1};super(73,"minimap",e,{"editor.minimap.enabled":{type:"boolean",default:e.enabled,description:m("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.autohide":{type:"boolean",default:e.autohide,description:m("minimap.autohide","Controls whether the minimap is hidden automatically.")},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[m("minimap.size.proportional","The minimap has the same size as the editor contents (and might scroll)."),m("minimap.size.fill","The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),m("minimap.size.fit","The minimap will shrink as necessary to never be larger than the editor (no scrolling).")],default:e.size,description:m("minimap.size","Controls the size of the minimap.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:e.side,description:m("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:e.showSlider,description:m("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:e.scale,minimum:1,maximum:3,enum:[1,2,3],description:m("minimap.scale","Scale of content drawn in the minimap: 1, 2 or 3.")},"editor.minimap.renderCharacters":{type:"boolean",default:e.renderCharacters,description:m("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:e.maxColumn,description:m("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:ve(t.enabled,this.defaultValue.enabled),autohide:ve(t.autohide,this.defaultValue.autohide),size:mi(t.size,this.defaultValue.size,["proportional","fill","fit"]),side:mi(t.side,this.defaultValue.side,["right","left"]),showSlider:mi(t.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:ve(t.renderCharacters,this.defaultValue.renderCharacters),scale:Pt.clampedInt(t.scale,1,1,3),maxColumn:Pt.clampedInt(t.maxColumn,this.defaultValue.maxColumn,1,1e4)}}}function $U(o){return o==="ctrlCmd"?lt?"metaKey":"ctrlKey":"altKey"}class jU extends ni{constructor(){super(84,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:m("padding.top","Controls the amount of space between the top edge of the editor and the first line.")},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:m("padding.bottom","Controls the amount of space between the bottom edge of the editor and the last line.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{top:Pt.clampedInt(t.top,0,0,1e3),bottom:Pt.clampedInt(t.bottom,0,0,1e3)}}}class KU extends ni{constructor(){const e={enabled:!0,cycle:!0};super(86,"parameterHints",e,{"editor.parameterHints.enabled":{type:"boolean",default:e.enabled,description:m("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:e.cycle,description:m("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:ve(t.enabled,this.defaultValue.enabled),cycle:ve(t.cycle,this.defaultValue.cycle)}}}class qU extends Hb{constructor(){super(142)}compute(e,t,i){return e.pixelRatio}}class GU extends ni{constructor(){const e={other:"on",comments:"off",strings:"off"},t=[{type:"boolean"},{type:"string",enum:["on","inline","off"],enumDescriptions:[m("on","Quick suggestions show inside the suggest widget"),m("inline","Quick suggestions show as ghost text"),m("off","Quick suggestions are disabled")]}];super(89,"quickSuggestions",e,{type:"object",additionalProperties:!1,properties:{strings:{anyOf:t,default:e.strings,description:m("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{anyOf:t,default:e.comments,description:m("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{anyOf:t,default:e.other,description:m("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}},default:e,markdownDescription:m("quickSuggestions","Controls whether suggestions should automatically show up while typing. This can be controlled for typing in comments, strings, and other code. Quick suggestion can be configured to show as ghost text or with the suggest widget. Also be aware of the '{0}'-setting which controls if suggestions are triggered by special characters.","#editor.suggestOnTriggerCharacters#")}),this.defaultValue=e}validate(e){if(typeof e=="boolean"){const d=e?"on":"off";return{comments:d,strings:d,other:d}}if(!e||typeof e!="object")return this.defaultValue;const{other:t,comments:i,strings:n}=e,s=["on","inline","off"];let r,a,l;return typeof t=="boolean"?r=t?"on":"off":r=mi(t,this.defaultValue.other,s),typeof i=="boolean"?a=i?"on":"off":a=mi(i,this.defaultValue.comments,s),typeof n=="boolean"?l=n?"on":"off":l=mi(n,this.defaultValue.strings,s),{other:r,comments:a,strings:l}}}class ZU extends ni{constructor(){super(68,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[m("lineNumbers.off","Line numbers are not rendered."),m("lineNumbers.on","Line numbers are rendered as absolute number."),m("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),m("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:m("lineNumbers","Controls the display of line numbers.")})}validate(e){let t=this.defaultValue.renderType,i=this.defaultValue.renderFn;return typeof e<"u"&&(typeof e=="function"?(t=4,i=e):e==="interval"?t=3:e==="relative"?t=2:e==="on"?t=1:t=0),{renderType:t,renderFn:i}}}function Y1(o){const e=o.get(98);return e==="editable"?o.get(91):e!=="on"}class YU extends ni{constructor(){const e=[],t={type:"number",description:m("rulers.size","Number of monospace characters at which this editor ruler will render.")};super(102,"rulers",e,{type:"array",items:{anyOf:[t,{type:["object"],properties:{column:t,color:{type:"string",description:m("rulers.color","Color of this editor ruler."),format:"color-hex"}}}]},default:e,description:m("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})}validate(e){if(Array.isArray(e)){const t=[];for(const i of e)if(typeof i=="number")t.push({column:Pt.clampedInt(i,0,0,1e4),color:null});else if(i&&typeof i=="object"){const n=i;t.push({column:Pt.clampedInt(n.column,0,0,1e4),color:n.color})}return t.sort((i,n)=>i.column-n.column),t}return this.defaultValue}}class XU extends ni{constructor(){super(92,"readOnlyMessage",void 0)}validate(e){return!e||typeof e!="object"?this.defaultValue:e}}function IP(o,e){if(typeof o!="string")return e;switch(o){case"hidden":return 2;case"visible":return 3;default:return 1}}let QU=class extends ni{constructor(){const e={vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0,scrollByPage:!1,ignoreHorizontalScrollbarInContentHeight:!1};super(103,"scrollbar",e,{"editor.scrollbar.vertical":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[m("scrollbar.vertical.auto","The vertical scrollbar will be visible only when necessary."),m("scrollbar.vertical.visible","The vertical scrollbar will always be visible."),m("scrollbar.vertical.fit","The vertical scrollbar will always be hidden.")],default:"auto",description:m("scrollbar.vertical","Controls the visibility of the vertical scrollbar.")},"editor.scrollbar.horizontal":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[m("scrollbar.horizontal.auto","The horizontal scrollbar will be visible only when necessary."),m("scrollbar.horizontal.visible","The horizontal scrollbar will always be visible."),m("scrollbar.horizontal.fit","The horizontal scrollbar will always be hidden.")],default:"auto",description:m("scrollbar.horizontal","Controls the visibility of the horizontal scrollbar.")},"editor.scrollbar.verticalScrollbarSize":{type:"number",default:e.verticalScrollbarSize,description:m("scrollbar.verticalScrollbarSize","The width of the vertical scrollbar.")},"editor.scrollbar.horizontalScrollbarSize":{type:"number",default:e.horizontalScrollbarSize,description:m("scrollbar.horizontalScrollbarSize","The height of the horizontal scrollbar.")},"editor.scrollbar.scrollByPage":{type:"boolean",default:e.scrollByPage,description:m("scrollbar.scrollByPage","Controls whether clicks scroll by page or jump to click position.")},"editor.scrollbar.ignoreHorizontalScrollbarInContentHeight":{type:"boolean",default:e.ignoreHorizontalScrollbarInContentHeight,description:m("scrollbar.ignoreHorizontalScrollbarInContentHeight","When set, the horizontal scrollbar will not increase the size of the editor's content.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e,i=Pt.clampedInt(t.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),n=Pt.clampedInt(t.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:Pt.clampedInt(t.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:IP(t.vertical,this.defaultValue.vertical),horizontal:IP(t.horizontal,this.defaultValue.horizontal),useShadows:ve(t.useShadows,this.defaultValue.useShadows),verticalHasArrows:ve(t.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:ve(t.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:ve(t.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:ve(t.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:i,horizontalSliderSize:Pt.clampedInt(t.horizontalSliderSize,i,0,1e3),verticalScrollbarSize:n,verticalSliderSize:Pt.clampedInt(t.verticalSliderSize,n,0,1e3),scrollByPage:ve(t.scrollByPage,this.defaultValue.scrollByPage),ignoreHorizontalScrollbarInContentHeight:ve(t.ignoreHorizontalScrollbarInContentHeight,this.defaultValue.ignoreHorizontalScrollbarInContentHeight)}}};const lo="inUntrustedWorkspace",Ns={allowedCharacters:"editor.unicodeHighlight.allowedCharacters",invisibleCharacters:"editor.unicodeHighlight.invisibleCharacters",nonBasicASCII:"editor.unicodeHighlight.nonBasicASCII",ambiguousCharacters:"editor.unicodeHighlight.ambiguousCharacters",includeComments:"editor.unicodeHighlight.includeComments",includeStrings:"editor.unicodeHighlight.includeStrings",allowedLocales:"editor.unicodeHighlight.allowedLocales"};class JU extends ni{constructor(){const e={nonBasicASCII:lo,invisibleCharacters:!0,ambiguousCharacters:!0,includeComments:lo,includeStrings:!0,allowedCharacters:{},allowedLocales:{_os:!0,_vscode:!0}};super(125,"unicodeHighlight",e,{[Ns.nonBasicASCII]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,lo],default:e.nonBasicASCII,description:m("unicodeHighlight.nonBasicASCII","Controls whether all non-basic ASCII characters are highlighted. Only characters between U+0020 and U+007E, tab, line-feed and carriage-return are considered basic ASCII.")},[Ns.invisibleCharacters]:{restricted:!0,type:"boolean",default:e.invisibleCharacters,description:m("unicodeHighlight.invisibleCharacters","Controls whether characters that just reserve space or have no width at all are highlighted.")},[Ns.ambiguousCharacters]:{restricted:!0,type:"boolean",default:e.ambiguousCharacters,description:m("unicodeHighlight.ambiguousCharacters","Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale.")},[Ns.includeComments]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,lo],default:e.includeComments,description:m("unicodeHighlight.includeComments","Controls whether characters in comments should also be subject to Unicode highlighting.")},[Ns.includeStrings]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,lo],default:e.includeStrings,description:m("unicodeHighlight.includeStrings","Controls whether characters in strings should also be subject to Unicode highlighting.")},[Ns.allowedCharacters]:{restricted:!0,type:"object",default:e.allowedCharacters,description:m("unicodeHighlight.allowedCharacters","Defines allowed characters that are not being highlighted."),additionalProperties:{type:"boolean"}},[Ns.allowedLocales]:{restricted:!0,type:"object",additionalProperties:{type:"boolean"},default:e.allowedLocales,description:m("unicodeHighlight.allowedLocales","Unicode characters that are common in allowed locales are not being highlighted.")}})}applyUpdate(e,t){let i=!1;t.allowedCharacters&&e&&(Co(e.allowedCharacters,t.allowedCharacters)||(e={...e,allowedCharacters:t.allowedCharacters},i=!0)),t.allowedLocales&&e&&(Co(e.allowedLocales,t.allowedLocales)||(e={...e,allowedLocales:t.allowedLocales},i=!0));const n=super.applyUpdate(e,t);return i?new D_(n.newValue,!0):n}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{nonBasicASCII:Tf(t.nonBasicASCII,lo,[!0,!1,lo]),invisibleCharacters:ve(t.invisibleCharacters,this.defaultValue.invisibleCharacters),ambiguousCharacters:ve(t.ambiguousCharacters,this.defaultValue.ambiguousCharacters),includeComments:Tf(t.includeComments,lo,[!0,!1,lo]),includeStrings:Tf(t.includeStrings,lo,[!0,!1,lo]),allowedCharacters:this.validateBooleanMap(e.allowedCharacters,this.defaultValue.allowedCharacters),allowedLocales:this.validateBooleanMap(e.allowedLocales,this.defaultValue.allowedLocales)}}validateBooleanMap(e,t){if(typeof e!="object"||!e)return t;const i={};for(const[n,s]of Object.entries(e))s===!0&&(i[n]=!0);return i}}class e$ extends ni{constructor(){const e={enabled:!0,mode:"subwordSmart",showToolbar:"onHover",suppressSuggestions:!1,keepOnBlur:!1,fontFamily:"default"};super(62,"inlineSuggest",e,{"editor.inlineSuggest.enabled":{type:"boolean",default:e.enabled,description:m("inlineSuggest.enabled","Controls whether to automatically show inline suggestions in the editor.")},"editor.inlineSuggest.showToolbar":{type:"string",default:e.showToolbar,enum:["always","onHover","never"],enumDescriptions:[m("inlineSuggest.showToolbar.always","Show the inline suggestion toolbar whenever an inline suggestion is shown."),m("inlineSuggest.showToolbar.onHover","Show the inline suggestion toolbar when hovering over an inline suggestion."),m("inlineSuggest.showToolbar.never","Never show the inline suggestion toolbar.")],description:m("inlineSuggest.showToolbar","Controls when to show the inline suggestion toolbar.")},"editor.inlineSuggest.suppressSuggestions":{type:"boolean",default:e.suppressSuggestions,description:m("inlineSuggest.suppressSuggestions","Controls how inline suggestions interact with the suggest widget. If enabled, the suggest widget is not shown automatically when inline suggestions are available.")},"editor.inlineSuggest.fontFamily":{type:"string",default:e.fontFamily,description:m("inlineSuggest.fontFamily","Controls the font family of the inline suggestions.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:ve(t.enabled,this.defaultValue.enabled),mode:mi(t.mode,this.defaultValue.mode,["prefix","subword","subwordSmart"]),showToolbar:mi(t.showToolbar,this.defaultValue.showToolbar,["always","onHover","never"]),suppressSuggestions:ve(t.suppressSuggestions,this.defaultValue.suppressSuggestions),keepOnBlur:ve(t.keepOnBlur,this.defaultValue.keepOnBlur),fontFamily:ls.string(t.fontFamily,this.defaultValue.fontFamily)}}}class t$ extends ni{constructor(){const e={enabled:!1,showToolbar:"onHover",fontFamily:"default",keepOnBlur:!1,backgroundColoring:!1};super(63,"experimentalInlineEdit",e,{"editor.experimentalInlineEdit.enabled":{type:"boolean",default:e.enabled,description:m("inlineEdit.enabled","Controls whether to show inline edits in the editor.")},"editor.experimentalInlineEdit.showToolbar":{type:"string",default:e.showToolbar,enum:["always","onHover","never"],enumDescriptions:[m("inlineEdit.showToolbar.always","Show the inline edit toolbar whenever an inline suggestion is shown."),m("inlineEdit.showToolbar.onHover","Show the inline edit toolbar when hovering over an inline suggestion."),m("inlineEdit.showToolbar.never","Never show the inline edit toolbar.")],description:m("inlineEdit.showToolbar","Controls when to show the inline edit toolbar.")},"editor.experimentalInlineEdit.fontFamily":{type:"string",default:e.fontFamily,description:m("inlineEdit.fontFamily","Controls the font family of the inline edit.")},"editor.experimentalInlineEdit.backgroundColoring":{type:"boolean",default:e.backgroundColoring,description:m("inlineEdit.backgroundColoring","Controls whether to color the background of inline edits.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:ve(t.enabled,this.defaultValue.enabled),showToolbar:mi(t.showToolbar,this.defaultValue.showToolbar,["always","onHover","never"]),fontFamily:ls.string(t.fontFamily,this.defaultValue.fontFamily),keepOnBlur:ve(t.keepOnBlur,this.defaultValue.keepOnBlur),backgroundColoring:ve(t.backgroundColoring,this.defaultValue.backgroundColoring)}}}class i$ extends ni{constructor(){const e={enabled:On.bracketPairColorizationOptions.enabled,independentColorPoolPerBracketType:On.bracketPairColorizationOptions.independentColorPoolPerBracketType};super(15,"bracketPairColorization",e,{"editor.bracketPairColorization.enabled":{type:"boolean",default:e.enabled,markdownDescription:m("bracketPairColorization.enabled","Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.","`#workbench.colorCustomizations#`")},"editor.bracketPairColorization.independentColorPoolPerBracketType":{type:"boolean",default:e.independentColorPoolPerBracketType,description:m("bracketPairColorization.independentColorPoolPerBracketType","Controls whether each bracket type has its own independent color pool.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:ve(t.enabled,this.defaultValue.enabled),independentColorPoolPerBracketType:ve(t.independentColorPoolPerBracketType,this.defaultValue.independentColorPoolPerBracketType)}}}class n$ extends ni{constructor(){const e={bracketPairs:!1,bracketPairsHorizontal:"active",highlightActiveBracketPair:!0,indentation:!0,highlightActiveIndentation:!0};super(16,"guides",e,{"editor.guides.bracketPairs":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[m("editor.guides.bracketPairs.true","Enables bracket pair guides."),m("editor.guides.bracketPairs.active","Enables bracket pair guides only for the active bracket pair."),m("editor.guides.bracketPairs.false","Disables bracket pair guides.")],default:e.bracketPairs,description:m("editor.guides.bracketPairs","Controls whether bracket pair guides are enabled or not.")},"editor.guides.bracketPairsHorizontal":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[m("editor.guides.bracketPairsHorizontal.true","Enables horizontal guides as addition to vertical bracket pair guides."),m("editor.guides.bracketPairsHorizontal.active","Enables horizontal guides only for the active bracket pair."),m("editor.guides.bracketPairsHorizontal.false","Disables horizontal bracket pair guides.")],default:e.bracketPairsHorizontal,description:m("editor.guides.bracketPairsHorizontal","Controls whether horizontal bracket pair guides are enabled or not.")},"editor.guides.highlightActiveBracketPair":{type:"boolean",default:e.highlightActiveBracketPair,description:m("editor.guides.highlightActiveBracketPair","Controls whether the editor should highlight the active bracket pair.")},"editor.guides.indentation":{type:"boolean",default:e.indentation,description:m("editor.guides.indentation","Controls whether the editor should render indent guides.")},"editor.guides.highlightActiveIndentation":{type:["boolean","string"],enum:[!0,"always",!1],enumDescriptions:[m("editor.guides.highlightActiveIndentation.true","Highlights the active indent guide."),m("editor.guides.highlightActiveIndentation.always","Highlights the active indent guide even if bracket guides are highlighted."),m("editor.guides.highlightActiveIndentation.false","Do not highlight the active indent guide.")],default:e.highlightActiveIndentation,description:m("editor.guides.highlightActiveIndentation","Controls whether the editor should highlight the active indent guide.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{bracketPairs:Tf(t.bracketPairs,this.defaultValue.bracketPairs,[!0,!1,"active"]),bracketPairsHorizontal:Tf(t.bracketPairsHorizontal,this.defaultValue.bracketPairsHorizontal,[!0,!1,"active"]),highlightActiveBracketPair:ve(t.highlightActiveBracketPair,this.defaultValue.highlightActiveBracketPair),indentation:ve(t.indentation,this.defaultValue.indentation),highlightActiveIndentation:Tf(t.highlightActiveIndentation,this.defaultValue.highlightActiveIndentation,[!0,!1,"always"])}}}function Tf(o,e,t){const i=t.indexOf(o);return i===-1?e:t[i]}class s$ extends ni{constructor(){const e={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!1,localityBonus:!1,shareSuggestSelections:!1,selectionMode:"always",showIcons:!0,showStatusBar:!1,preview:!1,previewMode:"subwordSmart",showInlineDetails:!0,showMethods:!0,showFunctions:!0,showConstructors:!0,showDeprecated:!0,matchOnWordStartOnly:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0};super(118,"suggest",e,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[m("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),m("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:e.insertMode,description:m("suggest.insertMode","Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")},"editor.suggest.filterGraceful":{type:"boolean",default:e.filterGraceful,description:m("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:e.localityBonus,description:m("suggest.localityBonus","Controls whether sorting favors words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:e.shareSuggestSelections,markdownDescription:m("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.selectionMode":{type:"string",enum:["always","never","whenTriggerCharacter","whenQuickSuggestion"],enumDescriptions:[m("suggest.insertMode.always","Always select a suggestion when automatically triggering IntelliSense."),m("suggest.insertMode.never","Never select a suggestion when automatically triggering IntelliSense."),m("suggest.insertMode.whenTriggerCharacter","Select a suggestion only when triggering IntelliSense from a trigger character."),m("suggest.insertMode.whenQuickSuggestion","Select a suggestion only when triggering IntelliSense as you type.")],default:e.selectionMode,markdownDescription:m("suggest.selectionMode","Controls whether a suggestion is selected when the widget shows. Note that this only applies to automatically triggered suggestions (`#editor.quickSuggestions#` and `#editor.suggestOnTriggerCharacters#`) and that a suggestion is always selected when explicitly invoked, e.g via `Ctrl+Space`.")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:e.snippetsPreventQuickSuggestions,description:m("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:e.showIcons,description:m("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.showStatusBar":{type:"boolean",default:e.showStatusBar,description:m("suggest.showStatusBar","Controls the visibility of the status bar at the bottom of the suggest widget.")},"editor.suggest.preview":{type:"boolean",default:e.preview,description:m("suggest.preview","Controls whether to preview the suggestion outcome in the editor.")},"editor.suggest.showInlineDetails":{type:"boolean",default:e.showInlineDetails,description:m("suggest.showInlineDetails","Controls whether suggest details show inline with the label or only in the details widget.")},"editor.suggest.maxVisibleSuggestions":{type:"number",deprecationMessage:m("suggest.maxVisibleSuggestions.dep","This setting is deprecated. The suggest widget can now be resized.")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:m("deprecated","This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showDeprecated":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showDeprecated","When enabled IntelliSense shows `deprecated`-suggestions.")},"editor.suggest.matchOnWordStartOnly":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.matchOnWordStartOnly","When enabled IntelliSense filtering requires that the first character matches on a word start. For example, `c` on `Console` or `WebContext` but _not_ on `description`. When disabled IntelliSense will show more results but still sorts them by match quality.")},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showUsers","When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showIssues","When enabled IntelliSense shows `issues`-suggestions.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{insertMode:mi(t.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:ve(t.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:ve(t.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:ve(t.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:ve(t.shareSuggestSelections,this.defaultValue.shareSuggestSelections),selectionMode:mi(t.selectionMode,this.defaultValue.selectionMode,["always","never","whenQuickSuggestion","whenTriggerCharacter"]),showIcons:ve(t.showIcons,this.defaultValue.showIcons),showStatusBar:ve(t.showStatusBar,this.defaultValue.showStatusBar),preview:ve(t.preview,this.defaultValue.preview),previewMode:mi(t.previewMode,this.defaultValue.previewMode,["prefix","subword","subwordSmart"]),showInlineDetails:ve(t.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:ve(t.showMethods,this.defaultValue.showMethods),showFunctions:ve(t.showFunctions,this.defaultValue.showFunctions),showConstructors:ve(t.showConstructors,this.defaultValue.showConstructors),showDeprecated:ve(t.showDeprecated,this.defaultValue.showDeprecated),matchOnWordStartOnly:ve(t.matchOnWordStartOnly,this.defaultValue.matchOnWordStartOnly),showFields:ve(t.showFields,this.defaultValue.showFields),showVariables:ve(t.showVariables,this.defaultValue.showVariables),showClasses:ve(t.showClasses,this.defaultValue.showClasses),showStructs:ve(t.showStructs,this.defaultValue.showStructs),showInterfaces:ve(t.showInterfaces,this.defaultValue.showInterfaces),showModules:ve(t.showModules,this.defaultValue.showModules),showProperties:ve(t.showProperties,this.defaultValue.showProperties),showEvents:ve(t.showEvents,this.defaultValue.showEvents),showOperators:ve(t.showOperators,this.defaultValue.showOperators),showUnits:ve(t.showUnits,this.defaultValue.showUnits),showValues:ve(t.showValues,this.defaultValue.showValues),showConstants:ve(t.showConstants,this.defaultValue.showConstants),showEnums:ve(t.showEnums,this.defaultValue.showEnums),showEnumMembers:ve(t.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:ve(t.showKeywords,this.defaultValue.showKeywords),showWords:ve(t.showWords,this.defaultValue.showWords),showColors:ve(t.showColors,this.defaultValue.showColors),showFiles:ve(t.showFiles,this.defaultValue.showFiles),showReferences:ve(t.showReferences,this.defaultValue.showReferences),showFolders:ve(t.showFolders,this.defaultValue.showFolders),showTypeParameters:ve(t.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:ve(t.showSnippets,this.defaultValue.showSnippets),showUsers:ve(t.showUsers,this.defaultValue.showUsers),showIssues:ve(t.showIssues,this.defaultValue.showIssues)}}}class o$ extends ni{constructor(){super(113,"smartSelect",{selectLeadingAndTrailingWhitespace:!0,selectSubwords:!0},{"editor.smartSelect.selectLeadingAndTrailingWhitespace":{description:m("selectLeadingAndTrailingWhitespace","Whether leading and trailing whitespace should always be selected."),default:!0,type:"boolean"},"editor.smartSelect.selectSubwords":{description:m("selectSubwords","Whether subwords (like 'foo' in 'fooBar' or 'foo_bar') should be selected."),default:!0,type:"boolean"}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{selectLeadingAndTrailingWhitespace:ve(e.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace),selectSubwords:ve(e.selectSubwords,this.defaultValue.selectSubwords)}}}class r$ extends ni{constructor(){super(137,"wrappingIndent",1,{"editor.wrappingIndent":{type:"string",enum:["none","same","indent","deepIndent"],enumDescriptions:[m("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),m("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),m("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),m("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:m("wrappingIndent","Controls the indentation of wrapped lines."),default:"same"}})}validate(e){switch(e){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}return 1}compute(e,t,i){return t.get(2)===2?0:i}}class a$ extends Hb{constructor(){super(145)}compute(e,t,i){const n=t.get(144);return{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:n.isWordWrapMinified,isViewportWrapping:n.isViewportWrapping,wrappingColumn:n.wrappingColumn}}}class l$ extends ni{constructor(){const e={enabled:!0,showDropSelector:"afterDrop"};super(36,"dropIntoEditor",e,{"editor.dropIntoEditor.enabled":{type:"boolean",default:e.enabled,markdownDescription:m("dropIntoEditor.enabled","Controls whether you can drag and drop a file into a text editor by holding down the `Shift` key (instead of opening the file in an editor).")},"editor.dropIntoEditor.showDropSelector":{type:"string",markdownDescription:m("dropIntoEditor.showDropSelector","Controls if a widget is shown when dropping files into the editor. This widget lets you control how the file is dropped."),enum:["afterDrop","never"],enumDescriptions:[m("dropIntoEditor.showDropSelector.afterDrop","Show the drop selector widget after a file is dropped into the editor."),m("dropIntoEditor.showDropSelector.never","Never show the drop selector widget. Instead the default drop provider is always used.")],default:"afterDrop"}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:ve(t.enabled,this.defaultValue.enabled),showDropSelector:mi(t.showDropSelector,this.defaultValue.showDropSelector,["afterDrop","never"])}}}class d$ extends ni{constructor(){const e={enabled:!0,showPasteSelector:"afterPaste"};super(85,"pasteAs",e,{"editor.pasteAs.enabled":{type:"boolean",default:e.enabled,markdownDescription:m("pasteAs.enabled","Controls whether you can paste content in different ways.")},"editor.pasteAs.showPasteSelector":{type:"string",markdownDescription:m("pasteAs.showPasteSelector","Controls if a widget is shown when pasting content in to the editor. This widget lets you control how the file is pasted."),enum:["afterPaste","never"],enumDescriptions:[m("pasteAs.showPasteSelector.afterPaste","Show the paste selector widget after content is pasted into the editor."),m("pasteAs.showPasteSelector.never","Never show the paste selector widget. Instead the default pasting behavior is always used.")],default:"afterPaste"}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:ve(t.enabled,this.defaultValue.enabled),showPasteSelector:mi(t.showPasteSelector,this.defaultValue.showPasteSelector,["afterPaste","never"])}}}const c$="Consolas, 'Courier New', monospace",h$="Menlo, Monaco, 'Courier New', monospace",u$="'Droid Sans Mono', 'monospace', monospace",As={fontFamily:lt?h$:Cs?u$:c$,fontWeight:"normal",fontSize:lt?12:14,lineHeight:0,letterSpacing:0},af=[];function ie(o){return af[o.id]=o,o}const pa={acceptSuggestionOnCommitCharacter:ie(new gt(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:m("acceptSuggestionOnCommitCharacter","Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.")})),acceptSuggestionOnEnter:ie(new di(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",m("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:m("acceptSuggestionOnEnter","Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")})),accessibilitySupport:ie(new xU),accessibilityPageSize:ie(new Pt(3,"accessibilityPageSize",10,1,1073741824,{description:m("accessibilityPageSize","Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default."),tags:["accessibility"]})),ariaLabel:ie(new ls(4,"ariaLabel",m("editorViewAccessibleLabel","Editor content"))),ariaRequired:ie(new gt(5,"ariaRequired",!1,void 0)),screenReaderAnnounceInlineSuggestion:ie(new gt(8,"screenReaderAnnounceInlineSuggestion",!0,{description:m("screenReaderAnnounceInlineSuggestion","Control whether inline suggestions are announced by a screen reader."),tags:["accessibility"]})),autoClosingBrackets:ie(new di(6,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",m("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),m("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],description:m("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingComments:ie(new di(7,"autoClosingComments","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",m("editor.autoClosingComments.languageDefined","Use language configurations to determine when to autoclose comments."),m("editor.autoClosingComments.beforeWhitespace","Autoclose comments only when the cursor is to the left of whitespace."),""],description:m("autoClosingComments","Controls whether the editor should automatically close comments after the user adds an opening comment.")})),autoClosingDelete:ie(new di(9,"autoClosingDelete","auto",["always","auto","never"],{enumDescriptions:["",m("editor.autoClosingDelete.auto","Remove adjacent closing quotes or brackets only if they were automatically inserted."),""],description:m("autoClosingDelete","Controls whether the editor should remove adjacent closing quotes or brackets when deleting.")})),autoClosingOvertype:ie(new di(10,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",m("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:m("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:ie(new di(11,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",m("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),m("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],description:m("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:ie(new V0(12,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],DU,{enumDescriptions:[m("editor.autoIndent.none","The editor will not insert indentation automatically."),m("editor.autoIndent.keep","The editor will keep the current line's indentation."),m("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),m("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),m("editor.autoIndent.full","The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.")],description:m("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:ie(new gt(13,"automaticLayout",!1)),autoSurround:ie(new di(14,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[m("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),m("editor.autoSurround.quotes","Surround with quotes but not brackets."),m("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:m("autoSurround","Controls whether the editor should automatically surround selections when typing quotes or brackets.")})),bracketPairColorization:ie(new i$),bracketPairGuides:ie(new n$),stickyTabStops:ie(new gt(116,"stickyTabStops",!1,{description:m("stickyTabStops","Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.")})),codeLens:ie(new gt(17,"codeLens",!0,{description:m("codeLens","Controls whether the editor shows CodeLens.")})),codeLensFontFamily:ie(new ls(18,"codeLensFontFamily","",{description:m("codeLensFontFamily","Controls the font family for CodeLens.")})),codeLensFontSize:ie(new Pt(19,"codeLensFontSize",0,0,100,{type:"number",default:0,minimum:0,maximum:100,markdownDescription:m("codeLensFontSize","Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used.")})),colorDecorators:ie(new gt(20,"colorDecorators",!0,{description:m("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),colorDecoratorActivatedOn:ie(new di(147,"colorDecoratorsActivatedOn","clickAndHover",["clickAndHover","hover","click"],{enumDescriptions:[m("editor.colorDecoratorActivatedOn.clickAndHover","Make the color picker appear both on click and hover of the color decorator"),m("editor.colorDecoratorActivatedOn.hover","Make the color picker appear on hover of the color decorator"),m("editor.colorDecoratorActivatedOn.click","Make the color picker appear on click of the color decorator")],description:m("colorDecoratorActivatedOn","Controls the condition to make a color picker appear from a color decorator")})),colorDecoratorsLimit:ie(new Pt(21,"colorDecoratorsLimit",500,1,1e6,{markdownDescription:m("colorDecoratorsLimit","Controls the max number of color decorators that can be rendered in an editor at once.")})),columnSelection:ie(new gt(22,"columnSelection",!1,{description:m("columnSelection","Enable that the selection with the mouse and keys is doing column selection.")})),comments:ie(new kU),contextmenu:ie(new gt(24,"contextmenu",!0)),copyWithSyntaxHighlighting:ie(new gt(25,"copyWithSyntaxHighlighting",!0,{description:m("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:ie(new V0(26,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],IU,{description:m("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:ie(new di(27,"cursorSmoothCaretAnimation","off",["off","explicit","on"],{enumDescriptions:[m("cursorSmoothCaretAnimation.off","Smooth caret animation is disabled."),m("cursorSmoothCaretAnimation.explicit","Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture."),m("cursorSmoothCaretAnimation.on","Smooth caret animation is always enabled.")],description:m("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:ie(new V0(28,"cursorStyle",vn.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],EU,{description:m("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:ie(new Pt(29,"cursorSurroundingLines",0,0,1073741824,{description:m("cursorSurroundingLines","Controls the minimal number of visible leading lines (minimum 0) and trailing lines (minimum 1) surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.")})),cursorSurroundingLinesStyle:ie(new di(30,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[m("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),m("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],markdownDescription:m("cursorSurroundingLinesStyle","Controls when `#cursorSurroundingLines#` should be enforced.")})),cursorWidth:ie(new Pt(31,"cursorWidth",0,0,1073741824,{markdownDescription:m("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:ie(new gt(32,"disableLayerHinting",!1)),disableMonospaceOptimizations:ie(new gt(33,"disableMonospaceOptimizations",!1)),domReadOnly:ie(new gt(34,"domReadOnly",!1)),dragAndDrop:ie(new gt(35,"dragAndDrop",!0,{description:m("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:ie(new TU),dropIntoEditor:ie(new l$),stickyScroll:ie(new WU),experimentalWhitespaceRendering:ie(new di(38,"experimentalWhitespaceRendering","svg",["svg","font","off"],{enumDescriptions:[m("experimentalWhitespaceRendering.svg","Use a new rendering method with svgs."),m("experimentalWhitespaceRendering.font","Use a new rendering method with font characters."),m("experimentalWhitespaceRendering.off","Use the stable rendering method.")],description:m("experimentalWhitespaceRendering","Controls whether whitespace is rendered with a new, experimental method.")})),extraEditorClassName:ie(new ls(39,"extraEditorClassName","")),fastScrollSensitivity:ie(new fr(40,"fastScrollSensitivity",5,o=>o<=0?5:o,{markdownDescription:m("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:ie(new MU),fixedOverflowWidgets:ie(new gt(42,"fixedOverflowWidgets",!1)),folding:ie(new gt(43,"folding",!0,{description:m("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:ie(new di(44,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[m("foldingStrategy.auto","Use a language-specific folding strategy if available, else the indentation-based one."),m("foldingStrategy.indentation","Use the indentation-based folding strategy.")],description:m("foldingStrategy","Controls the strategy for computing folding ranges.")})),foldingHighlight:ie(new gt(45,"foldingHighlight",!0,{description:m("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),foldingImportsByDefault:ie(new gt(46,"foldingImportsByDefault",!1,{description:m("foldingImportsByDefault","Controls whether the editor automatically collapses import ranges.")})),foldingMaximumRegions:ie(new Pt(47,"foldingMaximumRegions",5e3,10,65e3,{description:m("foldingMaximumRegions","The maximum number of foldable regions. Increasing this value may result in the editor becoming less responsive when the current source has a large number of foldable regions.")})),unfoldOnClickAfterEndOfLine:ie(new gt(48,"unfoldOnClickAfterEndOfLine",!1,{description:m("unfoldOnClickAfterEndOfLine","Controls whether clicking on the empty content after a folded line will unfold the line.")})),fontFamily:ie(new ls(49,"fontFamily",As.fontFamily,{description:m("fontFamily","Controls the font family.")})),fontInfo:ie(new RU),fontLigatures2:ie(new po),fontSize:ie(new AU),fontWeight:ie(new za),fontVariations:ie(new Gr),formatOnPaste:ie(new gt(55,"formatOnPaste",!1,{description:m("formatOnPaste","Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.")})),formatOnType:ie(new gt(56,"formatOnType",!1,{description:m("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:ie(new gt(57,"glyphMargin",!0,{description:m("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:ie(new PU),hideCursorInOverviewRuler:ie(new gt(59,"hideCursorInOverviewRuler",!1,{description:m("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),hover:ie(new OU),inDiffEditor:ie(new gt(61,"inDiffEditor",!1)),letterSpacing:ie(new fr(64,"letterSpacing",As.letterSpacing,o=>fr.clamp(o,-5,20),{description:m("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:ie(new BU),lineDecorationsWidth:ie(new HU),lineHeight:ie(new zU),lineNumbers:ie(new ZU),lineNumbersMinChars:ie(new Pt(69,"lineNumbersMinChars",5,1,300)),linkedEditing:ie(new gt(70,"linkedEditing",!1,{description:m("linkedEditing","Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing.")})),links:ie(new gt(71,"links",!0,{description:m("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:ie(new di(72,"matchBrackets","always",["always","near","never"],{description:m("matchBrackets","Highlight matching brackets.")})),minimap:ie(new UU),mouseStyle:ie(new di(74,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:ie(new fr(75,"mouseWheelScrollSensitivity",1,o=>o===0?1:o,{markdownDescription:m("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:ie(new gt(76,"mouseWheelZoom",!1,{markdownDescription:lt?m("mouseWheelZoom.mac","Zoom the font of the editor when using mouse wheel and holding `Cmd`."):m("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:ie(new gt(77,"multiCursorMergeOverlapping",!0,{description:m("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:ie(new V0(78,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],$U,{markdownEnumDescriptions:[m("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),m("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:m({key:"multiCursorModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add multiple cursors with the mouse. The Go to Definition and Open Link mouse gestures will adapt such that they do not conflict with the [multicursor modifier](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")})),multiCursorPaste:ie(new di(79,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[m("multiCursorPaste.spread","Each cursor pastes a single line of the text."),m("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:m("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),multiCursorLimit:ie(new Pt(80,"multiCursorLimit",1e4,1,1e5,{markdownDescription:m("multiCursorLimit","Controls the max number of cursors that can be in an active editor at once.")})),occurrencesHighlight:ie(new di(81,"occurrencesHighlight","singleFile",["off","singleFile","multiFile"],{markdownEnumDescriptions:[m("occurrencesHighlight.off","Does not highlight occurrences."),m("occurrencesHighlight.singleFile","Highlights occurrences only in the current file."),m("occurrencesHighlight.multiFile","Experimental: Highlights occurrences across all valid open files.")],markdownDescription:m("occurrencesHighlight","Controls whether occurrences should be highlighted across open files.")})),overviewRulerBorder:ie(new gt(82,"overviewRulerBorder",!0,{description:m("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:ie(new Pt(83,"overviewRulerLanes",3,0,3)),padding:ie(new jU),pasteAs:ie(new d$),parameterHints:ie(new KU),peekWidgetDefaultFocus:ie(new di(87,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[m("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),m("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:m("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),definitionLinkOpensInPeek:ie(new gt(88,"definitionLinkOpensInPeek",!1,{description:m("definitionLinkOpensInPeek","Controls whether the Go to Definition mouse gesture always opens the peek widget.")})),quickSuggestions:ie(new GU),quickSuggestionsDelay:ie(new Pt(90,"quickSuggestionsDelay",10,0,1073741824,{description:m("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:ie(new gt(91,"readOnly",!1)),readOnlyMessage:ie(new XU),renameOnType:ie(new gt(93,"renameOnType",!1,{description:m("renameOnType","Controls whether the editor auto renames on type."),markdownDeprecationMessage:m("renameOnTypeDeprecate","Deprecated, use `editor.linkedEditing` instead.")})),renderControlCharacters:ie(new gt(94,"renderControlCharacters",!0,{description:m("renderControlCharacters","Controls whether the editor should render control characters."),restricted:!0})),renderFinalNewline:ie(new di(95,"renderFinalNewline",Cs?"dimmed":"on",["off","on","dimmed"],{description:m("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:ie(new di(96,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",m("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:m("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderLineHighlightOnlyWhenFocus:ie(new gt(97,"renderLineHighlightOnlyWhenFocus",!1,{description:m("renderLineHighlightOnlyWhenFocus","Controls if the editor should render the current line highlight only when the editor is focused.")})),renderValidationDecorations:ie(new di(98,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:ie(new di(99,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",m("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),m("renderWhitespace.selection","Render whitespace characters only on selected text."),m("renderWhitespace.trailing","Render only trailing whitespace characters."),""],description:m("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:ie(new Pt(100,"revealHorizontalRightPadding",15,0,1e3)),roundedSelection:ie(new gt(101,"roundedSelection",!0,{description:m("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:ie(new YU),scrollbar:ie(new QU),scrollBeyondLastColumn:ie(new Pt(104,"scrollBeyondLastColumn",4,0,1073741824,{description:m("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:ie(new gt(105,"scrollBeyondLastLine",!0,{description:m("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),scrollPredominantAxis:ie(new gt(106,"scrollPredominantAxis",!0,{description:m("scrollPredominantAxis","Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.")})),selectionClipboard:ie(new gt(107,"selectionClipboard",!0,{description:m("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:Cs})),selectionHighlight:ie(new gt(108,"selectionHighlight",!0,{description:m("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:ie(new gt(109,"selectOnLineNumbers",!0)),showFoldingControls:ie(new di(110,"showFoldingControls","mouseover",["always","never","mouseover"],{enumDescriptions:[m("showFoldingControls.always","Always show the folding controls."),m("showFoldingControls.never","Never show the folding controls and reduce the gutter size."),m("showFoldingControls.mouseover","Only show the folding controls when the mouse is over the gutter.")],description:m("showFoldingControls","Controls when the folding controls on the gutter are shown.")})),showUnused:ie(new gt(111,"showUnused",!0,{description:m("showUnused","Controls fading out of unused code.")})),showDeprecated:ie(new gt(139,"showDeprecated",!0,{description:m("showDeprecated","Controls strikethrough deprecated variables.")})),inlayHints:ie(new VU),snippetSuggestions:ie(new di(112,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[m("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),m("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),m("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),m("snippetSuggestions.none","Do not show snippet suggestions.")],description:m("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smartSelect:ie(new o$),smoothScrolling:ie(new gt(114,"smoothScrolling",!1,{description:m("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:ie(new Pt(117,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:ie(new s$),inlineSuggest:ie(new e$),inlineEdit:ie(new t$),inlineCompletionsAccessibilityVerbose:ie(new gt(148,"inlineCompletionsAccessibilityVerbose",!1,{description:m("inlineCompletionsAccessibilityVerbose","Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown.")})),suggestFontSize:ie(new Pt(119,"suggestFontSize",0,0,1e3,{markdownDescription:m("suggestFontSize","Font size for the suggest widget. When set to {0}, the value of {1} is used.","`0`","`#editor.fontSize#`")})),suggestLineHeight:ie(new Pt(120,"suggestLineHeight",0,0,1e3,{markdownDescription:m("suggestLineHeight","Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.","`0`","`#editor.lineHeight#`")})),suggestOnTriggerCharacters:ie(new gt(121,"suggestOnTriggerCharacters",!0,{description:m("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:ie(new di(122,"suggestSelection","first",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[m("suggestSelection.first","Always select the first suggestion."),m("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),m("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:m("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:ie(new di(123,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[m("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),m("tabCompletion.off","Disable tab completions."),m("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:m("tabCompletion","Enables tab completions.")})),tabIndex:ie(new Pt(124,"tabIndex",0,-1,1073741824)),unicodeHighlight:ie(new JU),unusualLineTerminators:ie(new di(126,"unusualLineTerminators","prompt",["auto","off","prompt"],{enumDescriptions:[m("unusualLineTerminators.auto","Unusual line terminators are automatically removed."),m("unusualLineTerminators.off","Unusual line terminators are ignored."),m("unusualLineTerminators.prompt","Unusual line terminators prompt to be removed.")],description:m("unusualLineTerminators","Remove unusual line terminators that might cause problems.")})),useShadowDOM:ie(new gt(127,"useShadowDOM",!0)),useTabStops:ie(new gt(128,"useTabStops",!0,{description:m("useTabStops","Inserting and deleting whitespace follows tab stops.")})),wordBreak:ie(new di(129,"wordBreak","normal",["normal","keepAll"],{markdownEnumDescriptions:[m("wordBreak.normal","Use the default line break rule."),m("wordBreak.keepAll","Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal.")],description:m("wordBreak","Controls the word break rules used for Chinese/Japanese/Korean (CJK) text.")})),wordSeparators:ie(new ls(130,"wordSeparators",G7,{description:m("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:ie(new di(131,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[m("wordWrap.off","Lines will never wrap."),m("wordWrap.on","Lines will wrap at the viewport width."),m({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),m({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:m({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:ie(new ls(132,"wordWrapBreakAfterCharacters"," })]?|/&.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」")),wordWrapBreakBeforeCharacters:ie(new ls(133,"wordWrapBreakBeforeCharacters","([{‘“〈《「『【〔([{「£¥$£¥++")),wordWrapColumn:ie(new Pt(134,"wordWrapColumn",80,1,1073741824,{markdownDescription:m({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapOverride1:ie(new di(135,"wordWrapOverride1","inherit",["off","on","inherit"])),wordWrapOverride2:ie(new di(136,"wordWrapOverride2","inherit",["off","on","inherit"])),editorClassName:ie(new NU),defaultColorDecorators:ie(new gt(146,"defaultColorDecorators",!1,{markdownDescription:m("defaultColorDecorators","Controls whether inline color decorations should be shown using the default document color provider")})),pixelRatio:ie(new qU),tabFocusMode:ie(new gt(143,"tabFocusMode",!1,{markdownDescription:m("tabFocusMode","Controls whether the editor receives tabs or defers them to the workbench for navigation.")})),layoutInfo:ie(new Nf),wrappingInfo:ie(new a$),wrappingIndent:ie(new r$),wrappingStrategy:ie(new FU)};class g${constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{throw e.stack?om.isErrorNoTelemetry(e)?new om(e.message+` @@ -654,22 +654,22 @@ ${e.toString()}`}}class vS{constructor(e=new a0,t=!1,i,n=Ele){var s;this._servic * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var Uhe=Object.defineProperty,$he=Object.getOwnPropertyDescriptor,jhe=Object.getOwnPropertyNames,Khe=Object.prototype.hasOwnProperty,Q5=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of jhe(e))!Khe.call(o,n)&&n!==t&&Uhe(o,n,{get:()=>e[n],enumerable:!(i=$he(e,n))||i.enumerable});return o},qhe=(o,e,t)=>(Q5(o,e,"default"),t&&Q5(t,e,"default")),__={};qhe(__,vL);var Y6={},Gx={},Ghe=class X6{static getOrCreate(e){return Gx[e]||(Gx[e]=new X6(e)),Gx[e]}constructor(e){this._languageId=e,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((t,i)=>{this._lazyLoadPromiseResolve=t,this._lazyLoadPromiseReject=i})}load(){return this._loadingTriggered||(this._loadingTriggered=!0,Y6[this._languageId].loader().then(e=>this._lazyLoadPromiseResolve(e),e=>this._lazyLoadPromiseReject(e))),this._lazyLoadPromise}};function ye(o){const e=o.id;Y6[e]=o,__.languages.register(o);const t=Ghe.getOrCreate(e);__.languages.registerTokensProviderFactory(e,{create:async()=>(await t.load()).language}),__.languages.onLanguageEncountered(e,async()=>{const i=await t.load();__.languages.setLanguageConfiguration(e,i.conf)})}ye({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:()=>be(()=>import("./D8nrxEjS.js"),[],import.meta.url)});ye({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:()=>be(()=>import("./BrXDlLUW.js"),[],import.meta.url)});ye({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:()=>be(()=>import("./CElzELwZ.js"),[],import.meta.url)});ye({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:()=>be(()=>import("./CUsyEhik.js"),[],import.meta.url)});ye({id:"bicep",extensions:[".bicep"],aliases:["Bicep"],loader:()=>be(()=>import("./BtxyJn6H.js"),[],import.meta.url)});ye({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:()=>be(()=>import("./ClBCoF8h.js"),[],import.meta.url)});ye({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:()=>be(()=>import("./B9TqLHAk.js"),[],import.meta.url)});ye({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:()=>be(()=>import("./DYsfeylR.js"),[],import.meta.url)});ye({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:()=>be(()=>import("./VVGvvgir.js"),[],import.meta.url)});ye({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:()=>be(()=>import("./VVGvvgir.js"),[],import.meta.url)});ye({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:()=>be(()=>import("./Z6z2stHy.js"),[],import.meta.url)});ye({id:"csp",extensions:[],aliases:["CSP","csp"],loader:()=>be(()=>import("./DgZoLDI1.js"),[],import.meta.url)});ye({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:()=>be(()=>import("./KqQ96-gC.js"),[],import.meta.url)});ye({id:"cypher",extensions:[".cypher",".cyp"],aliases:["Cypher","OpenCypher"],loader:()=>be(()=>import("./CYoSlgTu.js"),[],import.meta.url)});ye({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:()=>be(()=>import("./BGDl7St1.js"),[],import.meta.url)});ye({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:()=>be(()=>import("./CuCtxA7T.js"),[],import.meta.url)});ye({id:"ecl",extensions:[".ecl"],aliases:["ECL","Ecl","ecl"],loader:()=>be(()=>import("./BCTFAUpS.js"),[],import.meta.url)});ye({id:"elixir",extensions:[".ex",".exs"],aliases:["Elixir","elixir","ex"],loader:()=>be(()=>import("./C7hRTYZ9.js"),[],import.meta.url)});ye({id:"flow9",extensions:[".flow"],aliases:["Flow9","Flow","flow9","flow"],loader:()=>be(()=>import("./Bi_qi707.js"),[],import.meta.url)});ye({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:()=>be(()=>import("./CxaaEKKi.js"),[],import.meta.url)});ye({id:"freemarker2",extensions:[".ftl",".ftlh",".ftlx"],aliases:["FreeMarker2","Apache FreeMarker2"],loader:()=>be(()=>import("./RrYsET18.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(o=>o.TagAutoInterpolationDollar)});ye({id:"freemarker2.tag-angle.interpolation-dollar",aliases:["FreeMarker2 (Angle/Dollar)","Apache FreeMarker2 (Angle/Dollar)"],loader:()=>be(()=>import("./RrYsET18.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(o=>o.TagAngleInterpolationDollar)});ye({id:"freemarker2.tag-bracket.interpolation-dollar",aliases:["FreeMarker2 (Bracket/Dollar)","Apache FreeMarker2 (Bracket/Dollar)"],loader:()=>be(()=>import("./RrYsET18.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(o=>o.TagBracketInterpolationDollar)});ye({id:"freemarker2.tag-angle.interpolation-bracket",aliases:["FreeMarker2 (Angle/Bracket)","Apache FreeMarker2 (Angle/Bracket)"],loader:()=>be(()=>import("./RrYsET18.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(o=>o.TagAngleInterpolationBracket)});ye({id:"freemarker2.tag-bracket.interpolation-bracket",aliases:["FreeMarker2 (Bracket/Bracket)","Apache FreeMarker2 (Bracket/Bracket)"],loader:()=>be(()=>import("./RrYsET18.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(o=>o.TagBracketInterpolationBracket)});ye({id:"freemarker2.tag-auto.interpolation-dollar",aliases:["FreeMarker2 (Auto/Dollar)","Apache FreeMarker2 (Auto/Dollar)"],loader:()=>be(()=>import("./RrYsET18.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(o=>o.TagAutoInterpolationDollar)});ye({id:"freemarker2.tag-auto.interpolation-bracket",aliases:["FreeMarker2 (Auto/Bracket)","Apache FreeMarker2 (Auto/Bracket)"],loader:()=>be(()=>import("./RrYsET18.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(o=>o.TagAutoInterpolationBracket)});ye({id:"go",extensions:[".go"],aliases:["Go"],loader:()=>be(()=>import("./DUImKuGY.js"),[],import.meta.url)});ye({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:()=>be(()=>import("./D5sGVkLV.js"),[],import.meta.url)});ye({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars","hbs"],mimetypes:["text/x-handlebars-template"],loader:()=>be(()=>import("./CUbwzJXA.js"),__vite__mapDeps([3,1,2]),import.meta.url)});ye({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:()=>be(()=>import("./zD_CCkZ1.js"),[],import.meta.url)});ye({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:()=>be(()=>import("./CkfV88j3.js"),__vite__mapDeps([4,1,2]),import.meta.url)});ye({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:()=>be(()=>import("./8kKHd4ZL.js"),[],import.meta.url)});ye({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:()=>be(()=>import("./De1axCfe.js"),[],import.meta.url)});ye({id:"javascript",extensions:[".js",".es6",".jsx",".mjs",".cjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:()=>be(()=>import("./DXk0n8Ee.js"),__vite__mapDeps([5,6,1,2]),import.meta.url)});ye({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:()=>be(()=>import("./D3ApGBxz.js"),[],import.meta.url)});ye({id:"kotlin",extensions:[".kt",".kts"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:()=>be(()=>import("./GbSrCElU.js"),[],import.meta.url)});ye({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:()=>be(()=>import("./DNUaDNdz.js"),[],import.meta.url)});ye({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:()=>be(()=>import("./Bg9QKxBu.js"),[],import.meta.url)});ye({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:()=>be(()=>import("./Crkvc3mc.js"),[],import.meta.url)});ye({id:"liquid",extensions:[".liquid",".html.liquid"],aliases:["Liquid","liquid"],mimetypes:["application/liquid"],loader:()=>be(()=>import("./CUDIMWkK.js"),__vite__mapDeps([7,1,2]),import.meta.url)});ye({id:"m3",extensions:[".m3",".i3",".mg",".ig"],aliases:["Modula-3","Modula3","modula3","m3"],loader:()=>be(()=>import("./DsrzVyM1.js"),[],import.meta.url)});ye({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:()=>be(()=>import("./CY5IOZuu.js"),[],import.meta.url)});ye({id:"mdx",extensions:[".mdx"],aliases:["MDX","mdx"],loader:()=>be(()=>import("./kS1a4axV.js"),__vite__mapDeps([8,1,2]),import.meta.url)});ye({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:()=>be(()=>import("./BE8RsGBA.js"),[],import.meta.url)});ye({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:()=>be(()=>import("./N5ajIiFQ.js"),[],import.meta.url)});ye({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:()=>be(()=>import("./DRxbB97D.js"),[],import.meta.url)});ye({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:()=>be(()=>import("./BHUZy23s.js"),[],import.meta.url)});ye({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:()=>be(()=>import("./BemVzBTY.js"),[],import.meta.url)});ye({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:()=>be(()=>import("./BACCcnx_.js"),[],import.meta.url)});ye({id:"perl",extensions:[".pl",".pm"],aliases:["Perl","pl"],loader:()=>be(()=>import("./CuU66Ptk.js"),[],import.meta.url)});ye({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:()=>be(()=>import("./CQ6TMH2r.js"),[],import.meta.url)});ye({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:()=>be(()=>import("./BvyzZa65.js"),[],import.meta.url)});ye({id:"pla",extensions:[".pla"],loader:()=>be(()=>import("./DrIuu9u1.js"),[],import.meta.url)});ye({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:()=>be(()=>import("./BR_hrfni.js"),[],import.meta.url)});ye({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:()=>be(()=>import("./CKDUeRmd.js"),[],import.meta.url)});ye({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:()=>be(()=>import("./Dsa4rhA_.js"),[],import.meta.url)});ye({id:"proto",extensions:[".proto"],aliases:["protobuf","Protocol Buffers"],loader:()=>be(()=>import("./CGsvhooB.js"),[],import.meta.url)});ye({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:()=>be(()=>import("./D2p3uOX2.js"),[],import.meta.url)});ye({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:()=>be(()=>import("./7tQbjCa0.js"),__vite__mapDeps([9,1,2]),import.meta.url)});ye({id:"qsharp",extensions:[".qs"],aliases:["Q#","qsharp"],loader:()=>be(()=>import("./B7F3HtPF.js"),[],import.meta.url)});ye({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:()=>be(()=>import("./3aLoi2fs.js"),[],import.meta.url)});ye({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:()=>be(()=>import("./B8Y-amhX.js"),__vite__mapDeps([10,1,2]),import.meta.url)});ye({id:"redis",extensions:[".redis"],aliases:["redis"],loader:()=>be(()=>import("./jqFeRM5s.js"),[],import.meta.url)});ye({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:()=>be(()=>import("./BriwQgXR.js"),[],import.meta.url)});ye({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:()=>be(()=>import("./hbBFZ0w9.js"),[],import.meta.url)});ye({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:()=>be(()=>import("./ByThyB2Q.js"),[],import.meta.url)});ye({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:()=>be(()=>import("./DIEZMp5R.js"),[],import.meta.url)});ye({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:()=>be(()=>import("./C6Gjjw_x.js"),[],import.meta.url)});ye({id:"scala",extensions:[".scala",".sc",".sbt"],aliases:["Scala","scala","SBT","Sbt","sbt","Dotty","dotty"],mimetypes:["text/x-scala-source","text/x-scala","text/x-sbt","text/x-dotty"],loader:()=>be(()=>import("./DZNw3jJB.js"),[],import.meta.url)});ye({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:()=>be(()=>import("./55eqh71t.js"),[],import.meta.url)});ye({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:()=>be(()=>import("./D-OVkc4F.js"),[],import.meta.url)});ye({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:()=>be(()=>import("./DSpi8_qN.js"),[],import.meta.url)});ye({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:()=>be(()=>import("./BHddiNFS.js"),[],import.meta.url)});ye({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:()=>be(()=>import("./D6taVZFb.js"),[],import.meta.url)});ye({id:"sparql",extensions:[".rq"],aliases:["sparql","SPARQL"],loader:()=>be(()=>import("./LA0C7mUc.js"),[],import.meta.url)});ye({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:()=>be(()=>import("./C3-3IcFM.js"),[],import.meta.url)});ye({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib",".TcPOU",".TcDUT",".TcGVL",".TcIO"],aliases:["StructuredText","scl","stl"],loader:()=>be(()=>import("./C4g7059C.js"),[],import.meta.url)});ye({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:()=>be(()=>import("./DNI1vH3h.js"),[],import.meta.url)});ye({id:"systemverilog",extensions:[".sv",".svh"],aliases:["SV","sv","SystemVerilog","systemverilog"],loader:()=>be(()=>import("./DL_FVbcQ.js"),[],import.meta.url)});ye({id:"verilog",extensions:[".v",".vh"],aliases:["V","v","Verilog","verilog"],loader:()=>be(()=>import("./DL_FVbcQ.js"),[],import.meta.url)});ye({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:()=>be(()=>import("./DVJXmIwd.js"),[],import.meta.url)});ye({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:()=>be(()=>import("./BVWDLtw5.js"),[],import.meta.url)});ye({id:"typescript",extensions:[".ts",".tsx",".cts",".mts"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:()=>be(()=>import("./C5qsztzZ.js"),__vite__mapDeps([6,1,2]),import.meta.url)});ye({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:()=>be(()=>import("./Btz91-7U.js"),[],import.meta.url)});ye({id:"wgsl",extensions:[".wgsl"],aliases:["WebGPU Shading Language","WGSL","wgsl"],loader:()=>be(()=>import("./D8V_buCG.js"),[],import.meta.url)});ye({id:"xml",extensions:[".xml",".xsd",".dtd",".ascx",".csproj",".config",".props",".targets",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xslt",".xsl"],firstLine:"(\\<\\?xml.*)|(\\be(()=>import("./D8U817WZ.js"),__vite__mapDeps([11,1,2]),import.meta.url)});ye({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml","text/x-yaml"],loader:()=>be(()=>import("./BcKiSp9X.js"),__vite__mapDeps([12,1,2]),import.meta.url)});/*!----------------------------------------------------------------------------- + *-----------------------------------------------------------------------------*/var Uhe=Object.defineProperty,$he=Object.getOwnPropertyDescriptor,jhe=Object.getOwnPropertyNames,Khe=Object.prototype.hasOwnProperty,Q5=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of jhe(e))!Khe.call(o,n)&&n!==t&&Uhe(o,n,{get:()=>e[n],enumerable:!(i=$he(e,n))||i.enumerable});return o},qhe=(o,e,t)=>(Q5(o,e,"default"),t&&Q5(t,e,"default")),__={};qhe(__,vL);var Y6={},Gx={},Ghe=class X6{static getOrCreate(e){return Gx[e]||(Gx[e]=new X6(e)),Gx[e]}constructor(e){this._languageId=e,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((t,i)=>{this._lazyLoadPromiseResolve=t,this._lazyLoadPromiseReject=i})}load(){return this._loadingTriggered||(this._loadingTriggered=!0,Y6[this._languageId].loader().then(e=>this._lazyLoadPromiseResolve(e),e=>this._lazyLoadPromiseReject(e))),this._lazyLoadPromise}};function ye(o){const e=o.id;Y6[e]=o,__.languages.register(o);const t=Ghe.getOrCreate(e);__.languages.registerTokensProviderFactory(e,{create:async()=>(await t.load()).language}),__.languages.onLanguageEncountered(e,async()=>{const i=await t.load();__.languages.setLanguageConfiguration(e,i.conf)})}ye({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:()=>be(()=>import("./D8nrxEjS.js"),[],import.meta.url)});ye({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:()=>be(()=>import("./BrXDlLUW.js"),[],import.meta.url)});ye({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:()=>be(()=>import("./CElzELwZ.js"),[],import.meta.url)});ye({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:()=>be(()=>import("./CUsyEhik.js"),[],import.meta.url)});ye({id:"bicep",extensions:[".bicep"],aliases:["Bicep"],loader:()=>be(()=>import("./BtxyJn6H.js"),[],import.meta.url)});ye({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:()=>be(()=>import("./ClBCoF8h.js"),[],import.meta.url)});ye({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:()=>be(()=>import("./B9TqLHAk.js"),[],import.meta.url)});ye({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:()=>be(()=>import("./DYsfeylR.js"),[],import.meta.url)});ye({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:()=>be(()=>import("./VVGvvgir.js"),[],import.meta.url)});ye({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:()=>be(()=>import("./VVGvvgir.js"),[],import.meta.url)});ye({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:()=>be(()=>import("./Z6z2stHy.js"),[],import.meta.url)});ye({id:"csp",extensions:[],aliases:["CSP","csp"],loader:()=>be(()=>import("./DgZoLDI1.js"),[],import.meta.url)});ye({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:()=>be(()=>import("./KqQ96-gC.js"),[],import.meta.url)});ye({id:"cypher",extensions:[".cypher",".cyp"],aliases:["Cypher","OpenCypher"],loader:()=>be(()=>import("./CYoSlgTu.js"),[],import.meta.url)});ye({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:()=>be(()=>import("./BGDl7St1.js"),[],import.meta.url)});ye({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:()=>be(()=>import("./CuCtxA7T.js"),[],import.meta.url)});ye({id:"ecl",extensions:[".ecl"],aliases:["ECL","Ecl","ecl"],loader:()=>be(()=>import("./BCTFAUpS.js"),[],import.meta.url)});ye({id:"elixir",extensions:[".ex",".exs"],aliases:["Elixir","elixir","ex"],loader:()=>be(()=>import("./C7hRTYZ9.js"),[],import.meta.url)});ye({id:"flow9",extensions:[".flow"],aliases:["Flow9","Flow","flow9","flow"],loader:()=>be(()=>import("./Bi_qi707.js"),[],import.meta.url)});ye({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:()=>be(()=>import("./CxaaEKKi.js"),[],import.meta.url)});ye({id:"freemarker2",extensions:[".ftl",".ftlh",".ftlx"],aliases:["FreeMarker2","Apache FreeMarker2"],loader:()=>be(()=>import("./B3LgLfDG.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(o=>o.TagAutoInterpolationDollar)});ye({id:"freemarker2.tag-angle.interpolation-dollar",aliases:["FreeMarker2 (Angle/Dollar)","Apache FreeMarker2 (Angle/Dollar)"],loader:()=>be(()=>import("./B3LgLfDG.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(o=>o.TagAngleInterpolationDollar)});ye({id:"freemarker2.tag-bracket.interpolation-dollar",aliases:["FreeMarker2 (Bracket/Dollar)","Apache FreeMarker2 (Bracket/Dollar)"],loader:()=>be(()=>import("./B3LgLfDG.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(o=>o.TagBracketInterpolationDollar)});ye({id:"freemarker2.tag-angle.interpolation-bracket",aliases:["FreeMarker2 (Angle/Bracket)","Apache FreeMarker2 (Angle/Bracket)"],loader:()=>be(()=>import("./B3LgLfDG.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(o=>o.TagAngleInterpolationBracket)});ye({id:"freemarker2.tag-bracket.interpolation-bracket",aliases:["FreeMarker2 (Bracket/Bracket)","Apache FreeMarker2 (Bracket/Bracket)"],loader:()=>be(()=>import("./B3LgLfDG.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(o=>o.TagBracketInterpolationBracket)});ye({id:"freemarker2.tag-auto.interpolation-dollar",aliases:["FreeMarker2 (Auto/Dollar)","Apache FreeMarker2 (Auto/Dollar)"],loader:()=>be(()=>import("./B3LgLfDG.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(o=>o.TagAutoInterpolationDollar)});ye({id:"freemarker2.tag-auto.interpolation-bracket",aliases:["FreeMarker2 (Auto/Bracket)","Apache FreeMarker2 (Auto/Bracket)"],loader:()=>be(()=>import("./B3LgLfDG.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(o=>o.TagAutoInterpolationBracket)});ye({id:"go",extensions:[".go"],aliases:["Go"],loader:()=>be(()=>import("./DUImKuGY.js"),[],import.meta.url)});ye({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:()=>be(()=>import("./D5sGVkLV.js"),[],import.meta.url)});ye({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars","hbs"],mimetypes:["text/x-handlebars-template"],loader:()=>be(()=>import("./DQOICLIX.js"),__vite__mapDeps([3,1,2]),import.meta.url)});ye({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:()=>be(()=>import("./zD_CCkZ1.js"),[],import.meta.url)});ye({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:()=>be(()=>import("./Cb467khh.js"),__vite__mapDeps([4,1,2]),import.meta.url)});ye({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:()=>be(()=>import("./8kKHd4ZL.js"),[],import.meta.url)});ye({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:()=>be(()=>import("./De1axCfe.js"),[],import.meta.url)});ye({id:"javascript",extensions:[".js",".es6",".jsx",".mjs",".cjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:()=>be(()=>import("./BXBBJ0Rc.js"),__vite__mapDeps([5,6,1,2]),import.meta.url)});ye({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:()=>be(()=>import("./D3ApGBxz.js"),[],import.meta.url)});ye({id:"kotlin",extensions:[".kt",".kts"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:()=>be(()=>import("./GbSrCElU.js"),[],import.meta.url)});ye({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:()=>be(()=>import("./DNUaDNdz.js"),[],import.meta.url)});ye({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:()=>be(()=>import("./Bg9QKxBu.js"),[],import.meta.url)});ye({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:()=>be(()=>import("./Crkvc3mc.js"),[],import.meta.url)});ye({id:"liquid",extensions:[".liquid",".html.liquid"],aliases:["Liquid","liquid"],mimetypes:["application/liquid"],loader:()=>be(()=>import("./BXEMZu0q.js"),__vite__mapDeps([7,1,2]),import.meta.url)});ye({id:"m3",extensions:[".m3",".i3",".mg",".ig"],aliases:["Modula-3","Modula3","modula3","m3"],loader:()=>be(()=>import("./DsrzVyM1.js"),[],import.meta.url)});ye({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:()=>be(()=>import("./CY5IOZuu.js"),[],import.meta.url)});ye({id:"mdx",extensions:[".mdx"],aliases:["MDX","mdx"],loader:()=>be(()=>import("./CaVt64gb.js"),__vite__mapDeps([8,1,2]),import.meta.url)});ye({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:()=>be(()=>import("./BE8RsGBA.js"),[],import.meta.url)});ye({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:()=>be(()=>import("./N5ajIiFQ.js"),[],import.meta.url)});ye({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:()=>be(()=>import("./DRxbB97D.js"),[],import.meta.url)});ye({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:()=>be(()=>import("./BHUZy23s.js"),[],import.meta.url)});ye({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:()=>be(()=>import("./BemVzBTY.js"),[],import.meta.url)});ye({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:()=>be(()=>import("./BACCcnx_.js"),[],import.meta.url)});ye({id:"perl",extensions:[".pl",".pm"],aliases:["Perl","pl"],loader:()=>be(()=>import("./CuU66Ptk.js"),[],import.meta.url)});ye({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:()=>be(()=>import("./CQ6TMH2r.js"),[],import.meta.url)});ye({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:()=>be(()=>import("./BvyzZa65.js"),[],import.meta.url)});ye({id:"pla",extensions:[".pla"],loader:()=>be(()=>import("./DrIuu9u1.js"),[],import.meta.url)});ye({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:()=>be(()=>import("./BR_hrfni.js"),[],import.meta.url)});ye({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:()=>be(()=>import("./CKDUeRmd.js"),[],import.meta.url)});ye({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:()=>be(()=>import("./Dsa4rhA_.js"),[],import.meta.url)});ye({id:"proto",extensions:[".proto"],aliases:["protobuf","Protocol Buffers"],loader:()=>be(()=>import("./CGsvhooB.js"),[],import.meta.url)});ye({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:()=>be(()=>import("./D2p3uOX2.js"),[],import.meta.url)});ye({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:()=>be(()=>import("./j1IFKjJD.js"),__vite__mapDeps([9,1,2]),import.meta.url)});ye({id:"qsharp",extensions:[".qs"],aliases:["Q#","qsharp"],loader:()=>be(()=>import("./B7F3HtPF.js"),[],import.meta.url)});ye({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:()=>be(()=>import("./3aLoi2fs.js"),[],import.meta.url)});ye({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:()=>be(()=>import("./BXlVqijL.js"),__vite__mapDeps([10,1,2]),import.meta.url)});ye({id:"redis",extensions:[".redis"],aliases:["redis"],loader:()=>be(()=>import("./jqFeRM5s.js"),[],import.meta.url)});ye({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:()=>be(()=>import("./BriwQgXR.js"),[],import.meta.url)});ye({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:()=>be(()=>import("./hbBFZ0w9.js"),[],import.meta.url)});ye({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:()=>be(()=>import("./ByThyB2Q.js"),[],import.meta.url)});ye({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:()=>be(()=>import("./DIEZMp5R.js"),[],import.meta.url)});ye({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:()=>be(()=>import("./C6Gjjw_x.js"),[],import.meta.url)});ye({id:"scala",extensions:[".scala",".sc",".sbt"],aliases:["Scala","scala","SBT","Sbt","sbt","Dotty","dotty"],mimetypes:["text/x-scala-source","text/x-scala","text/x-sbt","text/x-dotty"],loader:()=>be(()=>import("./DZNw3jJB.js"),[],import.meta.url)});ye({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:()=>be(()=>import("./55eqh71t.js"),[],import.meta.url)});ye({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:()=>be(()=>import("./D-OVkc4F.js"),[],import.meta.url)});ye({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:()=>be(()=>import("./DSpi8_qN.js"),[],import.meta.url)});ye({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:()=>be(()=>import("./BHddiNFS.js"),[],import.meta.url)});ye({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:()=>be(()=>import("./D6taVZFb.js"),[],import.meta.url)});ye({id:"sparql",extensions:[".rq"],aliases:["sparql","SPARQL"],loader:()=>be(()=>import("./LA0C7mUc.js"),[],import.meta.url)});ye({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:()=>be(()=>import("./C3-3IcFM.js"),[],import.meta.url)});ye({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib",".TcPOU",".TcDUT",".TcGVL",".TcIO"],aliases:["StructuredText","scl","stl"],loader:()=>be(()=>import("./C4g7059C.js"),[],import.meta.url)});ye({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:()=>be(()=>import("./DNI1vH3h.js"),[],import.meta.url)});ye({id:"systemverilog",extensions:[".sv",".svh"],aliases:["SV","sv","SystemVerilog","systemverilog"],loader:()=>be(()=>import("./DL_FVbcQ.js"),[],import.meta.url)});ye({id:"verilog",extensions:[".v",".vh"],aliases:["V","v","Verilog","verilog"],loader:()=>be(()=>import("./DL_FVbcQ.js"),[],import.meta.url)});ye({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:()=>be(()=>import("./DVJXmIwd.js"),[],import.meta.url)});ye({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:()=>be(()=>import("./BVWDLtw5.js"),[],import.meta.url)});ye({id:"typescript",extensions:[".ts",".tsx",".cts",".mts"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:()=>be(()=>import("./CJAPUX2G.js"),__vite__mapDeps([6,1,2]),import.meta.url)});ye({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:()=>be(()=>import("./Btz91-7U.js"),[],import.meta.url)});ye({id:"wgsl",extensions:[".wgsl"],aliases:["WebGPU Shading Language","WGSL","wgsl"],loader:()=>be(()=>import("./D8V_buCG.js"),[],import.meta.url)});ye({id:"xml",extensions:[".xml",".xsd",".dtd",".ascx",".csproj",".config",".props",".targets",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xslt",".xsl"],firstLine:"(\\<\\?xml.*)|(\\be(()=>import("./270FioHT.js"),__vite__mapDeps([11,1,2]),import.meta.url)});ye({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml","text/x-yaml"],loader:()=>be(()=>import("./DqbTTvN1.js"),__vite__mapDeps([12,1,2]),import.meta.url)});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var Zhe=Object.defineProperty,Yhe=Object.getOwnPropertyDescriptor,Xhe=Object.getOwnPropertyNames,Qhe=Object.prototype.hasOwnProperty,J5=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Xhe(e))!Qhe.call(o,n)&&n!==t&&Zhe(o,n,{get:()=>e[n],enumerable:!(i=Yhe(e,n))||i.enumerable});return o},Jhe=(o,e,t)=>(J5(o,e,"default"),t&&J5(t,e,"default")),dp={};Jhe(dp,vL);var wA=class{constructor(e,t,i){this._onDidChange=new dp.Emitter,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this.options}get options(){return this._options}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setDiagnosticsOptions(e){this.setOptions(e)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},SA={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"},data:{useDefaultDataProvider:!0},format:{newlineBetweenSelectors:!0,newlineBetweenRules:!0,spaceAroundSelectorSeparator:!1,braceStyle:"collapse",maxPreserveNewLines:void 0,preserveNewLines:!0}},yA={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0,documentFormattingEdits:!0,documentRangeFormattingEdits:!0},Q6=new wA("css",SA,yA),J6=new wA("scss",SA,yA),eV=new wA("less",SA,yA);dp.languages.css={cssDefaults:Q6,lessDefaults:eV,scssDefaults:J6};function LA(){return be(()=>import("./CRIStmI6.js"),__vite__mapDeps([13,1,2]),import.meta.url)}dp.languages.onLanguage("less",()=>{LA().then(o=>o.setupMode(eV))});dp.languages.onLanguage("scss",()=>{LA().then(o=>o.setupMode(J6))});dp.languages.onLanguage("css",()=>{LA().then(o=>o.setupMode(Q6))});/*!----------------------------------------------------------------------------- + *-----------------------------------------------------------------------------*/var Zhe=Object.defineProperty,Yhe=Object.getOwnPropertyDescriptor,Xhe=Object.getOwnPropertyNames,Qhe=Object.prototype.hasOwnProperty,J5=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Xhe(e))!Qhe.call(o,n)&&n!==t&&Zhe(o,n,{get:()=>e[n],enumerable:!(i=Yhe(e,n))||i.enumerable});return o},Jhe=(o,e,t)=>(J5(o,e,"default"),t&&J5(t,e,"default")),dp={};Jhe(dp,vL);var wA=class{constructor(e,t,i){this._onDidChange=new dp.Emitter,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this.options}get options(){return this._options}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setDiagnosticsOptions(e){this.setOptions(e)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},SA={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"},data:{useDefaultDataProvider:!0},format:{newlineBetweenSelectors:!0,newlineBetweenRules:!0,spaceAroundSelectorSeparator:!1,braceStyle:"collapse",maxPreserveNewLines:void 0,preserveNewLines:!0}},yA={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0,documentFormattingEdits:!0,documentRangeFormattingEdits:!0},Q6=new wA("css",SA,yA),J6=new wA("scss",SA,yA),eV=new wA("less",SA,yA);dp.languages.css={cssDefaults:Q6,lessDefaults:eV,scssDefaults:J6};function LA(){return be(()=>import("./hBvKrcbX.js"),__vite__mapDeps([13,1,2]),import.meta.url)}dp.languages.onLanguage("less",()=>{LA().then(o=>o.setupMode(eV))});dp.languages.onLanguage("scss",()=>{LA().then(o=>o.setupMode(J6))});dp.languages.onLanguage("css",()=>{LA().then(o=>o.setupMode(Q6))});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var eue=Object.defineProperty,tue=Object.getOwnPropertyDescriptor,iue=Object.getOwnPropertyNames,nue=Object.prototype.hasOwnProperty,e3=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of iue(e))!nue.call(o,n)&&n!==t&&eue(o,n,{get:()=>e[n],enumerable:!(i=tue(e,n))||i.enumerable});return o},sue=(o,e,t)=>(e3(o,e,"default"),t&&e3(t,e,"default")),bL={};sue(bL,vL);var oue=class{constructor(e,t,i){this._onDidChange=new bL.Emitter,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get options(){return this._options}get modeConfiguration(){return this._modeConfiguration}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},rue={tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:void 0,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},CL={format:rue,suggest:{},data:{useDefaultDataProvider:!0}};function wL(o){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:o===G_,documentFormattingEdits:o===G_,documentRangeFormattingEdits:o===G_}}var G_="html",t3="handlebars",i3="razor",tV=SL(G_,CL,wL(G_)),aue=tV.defaults,iV=SL(t3,CL,wL(t3)),lue=iV.defaults,nV=SL(i3,CL,wL(i3)),due=nV.defaults;bL.languages.html={htmlDefaults:aue,razorDefaults:due,handlebarDefaults:lue,htmlLanguageService:tV,handlebarLanguageService:iV,razorLanguageService:nV,registerHTMLLanguageService:SL};function cue(){return be(()=>import("./Bo4w8WvM.js"),__vite__mapDeps([14,1,2]),import.meta.url)}function SL(o,e=CL,t=wL(o)){const i=new oue(o,e,t);let n;const s=bL.languages.onLanguage(o,async()=>{n=(await cue()).setupMode(i)});return{defaults:i,dispose(){s.dispose(),n==null||n.dispose(),n=void 0}}}var hue=class{constructor(e,t,i){this._onDidChange=new CA,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},uue={validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning",comments:"error",trailingCommas:"error"},gue={documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},sV=new hue("json",uue,gue),fue=()=>oV().then(o=>o.getWorker());w0.json={jsonDefaults:sV,getWorker:fue};function oV(){return be(()=>import("./CxkHN6oT.js"),__vite__mapDeps([15,1,2]),import.meta.url)}w0.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]});w0.onLanguage("json",()=>{oV().then(o=>o.setupMode(sV))});/*!----------------------------------------------------------------------------- + *-----------------------------------------------------------------------------*/var eue=Object.defineProperty,tue=Object.getOwnPropertyDescriptor,iue=Object.getOwnPropertyNames,nue=Object.prototype.hasOwnProperty,e3=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of iue(e))!nue.call(o,n)&&n!==t&&eue(o,n,{get:()=>e[n],enumerable:!(i=tue(e,n))||i.enumerable});return o},sue=(o,e,t)=>(e3(o,e,"default"),t&&e3(t,e,"default")),bL={};sue(bL,vL);var oue=class{constructor(e,t,i){this._onDidChange=new bL.Emitter,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get options(){return this._options}get modeConfiguration(){return this._modeConfiguration}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},rue={tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:void 0,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},CL={format:rue,suggest:{},data:{useDefaultDataProvider:!0}};function wL(o){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:o===G_,documentFormattingEdits:o===G_,documentRangeFormattingEdits:o===G_}}var G_="html",t3="handlebars",i3="razor",tV=SL(G_,CL,wL(G_)),aue=tV.defaults,iV=SL(t3,CL,wL(t3)),lue=iV.defaults,nV=SL(i3,CL,wL(i3)),due=nV.defaults;bL.languages.html={htmlDefaults:aue,razorDefaults:due,handlebarDefaults:lue,htmlLanguageService:tV,handlebarLanguageService:iV,razorLanguageService:nV,registerHTMLLanguageService:SL};function cue(){return be(()=>import("./CnHGZjNE.js"),__vite__mapDeps([14,1,2]),import.meta.url)}function SL(o,e=CL,t=wL(o)){const i=new oue(o,e,t);let n;const s=bL.languages.onLanguage(o,async()=>{n=(await cue()).setupMode(i)});return{defaults:i,dispose(){s.dispose(),n==null||n.dispose(),n=void 0}}}var hue=class{constructor(e,t,i){this._onDidChange=new CA,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},uue={validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning",comments:"error",trailingCommas:"error"},gue={documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},sV=new hue("json",uue,gue),fue=()=>oV().then(o=>o.getWorker());w0.json={jsonDefaults:sV,getWorker:fue};function oV(){return be(()=>import("./3ker-Bu6.js"),__vite__mapDeps([15,1,2]),import.meta.url)}w0.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]});w0.onLanguage("json",()=>{oV().then(o=>o.setupMode(sV))});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var mue=Object.defineProperty,pue=Object.getOwnPropertyDescriptor,_ue=Object.getOwnPropertyNames,vue=Object.prototype.hasOwnProperty,n3=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of _ue(e))!vue.call(o,n)&&n!==t&&mue(o,n,{get:()=>e[n],enumerable:!(i=pue(e,n))||i.enumerable});return o},bue=(o,e,t)=>(n3(o,e,"default"),t&&n3(t,e,"default")),Cue="5.0.2",Om={};bue(Om,vL);var rV=(o=>(o[o.None=0]="None",o[o.CommonJS=1]="CommonJS",o[o.AMD=2]="AMD",o[o.UMD=3]="UMD",o[o.System=4]="System",o[o.ES2015=5]="ES2015",o[o.ESNext=99]="ESNext",o))(rV||{}),aV=(o=>(o[o.None=0]="None",o[o.Preserve=1]="Preserve",o[o.React=2]="React",o[o.ReactNative=3]="ReactNative",o[o.ReactJSX=4]="ReactJSX",o[o.ReactJSXDev=5]="ReactJSXDev",o))(aV||{}),lV=(o=>(o[o.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",o[o.LineFeed=1]="LineFeed",o))(lV||{}),dV=(o=>(o[o.ES3=0]="ES3",o[o.ES5=1]="ES5",o[o.ES2015=2]="ES2015",o[o.ES2016=3]="ES2016",o[o.ES2017=4]="ES2017",o[o.ES2018=5]="ES2018",o[o.ES2019=6]="ES2019",o[o.ES2020=7]="ES2020",o[o.ESNext=99]="ESNext",o[o.JSON=100]="JSON",o[o.Latest=99]="Latest",o))(dV||{}),cV=(o=>(o[o.Classic=1]="Classic",o[o.NodeJs=2]="NodeJs",o))(cV||{}),hV=class{constructor(o,e,t,i,n){this._onDidChange=new Om.Emitter,this._onDidExtraLibsChange=new Om.Emitter,this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(o),this.setDiagnosticsOptions(e),this.setWorkerOptions(t),this.setInlayHintsOptions(i),this.setModeConfiguration(n),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get modeConfiguration(){return this._modeConfiguration}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(o,e){let t;if(typeof e>"u"?t=`ts:extralib-${Math.random().toString(36).substring(2,15)}`:t=e,this._extraLibs[t]&&this._extraLibs[t].content===o)return{dispose:()=>{}};let i=1;return this._removedExtraLibs[t]&&(i=this._removedExtraLibs[t]+1),this._extraLibs[t]&&(i=this._extraLibs[t].version+1),this._extraLibs[t]={content:o,version:i},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let n=this._extraLibs[t];n&&n.version===i&&(delete this._extraLibs[t],this._removedExtraLibs[t]=i,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(o){for(const e in this._extraLibs)this._removedExtraLibs[e]=this._extraLibs[e].version;if(this._extraLibs=Object.create(null),o&&o.length>0)for(const e of o){const t=e.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,i=e.content;let n=1;this._removedExtraLibs[t]&&(n=this._removedExtraLibs[t]+1),this._extraLibs[t]={content:i,version:n}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){this._onDidExtraLibsChangeTimeout===-1&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(o){this._compilerOptions=o||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(o){this._diagnosticsOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(o){this._workerOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(o){this._inlayHintsOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(o){}setEagerModelSync(o){this._eagerModelSync=o}getEagerModelSync(){return this._eagerModelSync}setModeConfiguration(o){this._modeConfiguration=o||Object.create(null),this._onDidChange.fire(void 0)}},wue=Cue,uV={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,diagnostics:!0,documentRangeFormattingEdits:!0,signatureHelp:!0,onTypeFormattingEdits:!0,codeActions:!0,inlayHints:!0},gV=new hV({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{},uV),fV=new hV({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{},uV),Sue=()=>yL().then(o=>o.getTypeScriptWorker()),yue=()=>yL().then(o=>o.getJavaScriptWorker());Om.languages.typescript={ModuleKind:rV,JsxEmit:aV,NewLineKind:lV,ScriptTarget:dV,ModuleResolutionKind:cV,typescriptVersion:wue,typescriptDefaults:gV,javascriptDefaults:fV,getTypeScriptWorker:Sue,getJavaScriptWorker:yue};function yL(){return be(()=>import("./9lSzqoBv.js"),__vite__mapDeps([16,1,2]),import.meta.url)}Om.languages.onLanguage("typescript",()=>yL().then(o=>o.setupTypeScript(gV)));Om.languages.onLanguage("javascript",()=>yL().then(o=>o.setupJavaScript(fV)));class Lue extends Vs{constructor(){super({id:"diffEditor.toggleCollapseUnchangedRegions",title:mt("toggleCollapseUnchangedRegions","Toggle Collapse Unchanged Regions"),icon:re.map,toggled:q.has("config.diffEditor.hideUnchangedRegions.enabled"),precondition:q.has("isInDiffEditor"),menu:{when:q.has("isInDiffEditor"),id:k.EditorTitle,order:22,group:"navigation"}})}run(e,...t){const i=e.get(Qe),n=!i.getValue("diffEditor.hideUnchangedRegions.enabled");i.updateValue("diffEditor.hideUnchangedRegions.enabled",n)}}Wt(Lue);class mV extends Vs{constructor(){super({id:"diffEditor.toggleShowMovedCodeBlocks",title:mt("toggleShowMovedCodeBlocks","Toggle Show Moved Code Blocks"),precondition:q.has("isInDiffEditor")})}run(e,...t){const i=e.get(Qe),n=!i.getValue("diffEditor.experimental.showMoves");i.updateValue("diffEditor.experimental.showMoves",n)}}Wt(mV);class pV extends Vs{constructor(){super({id:"diffEditor.toggleUseInlineViewWhenSpaceIsLimited",title:mt("toggleUseInlineViewWhenSpaceIsLimited","Toggle Use Inline View When Space Is Limited"),precondition:q.has("isInDiffEditor")})}run(e,...t){const i=e.get(Qe),n=!i.getValue("diffEditor.useInlineViewWhenSpaceIsLimited");i.updateValue("diffEditor.useInlineViewWhenSpaceIsLimited",n)}}Wt(pV);wn.appendMenuItem(k.EditorTitle,{command:{id:new pV().desc.id,title:m("useInlineViewWhenSpaceIsLimited","Use Inline View When Space Is Limited"),toggled:q.has("config.diffEditor.useInlineViewWhenSpaceIsLimited"),precondition:q.has("isInDiffEditor")},order:11,group:"1_diff",when:q.and(E.diffEditorRenderSideBySideInlineBreakpointReached,q.has("isInDiffEditor"))});wn.appendMenuItem(k.EditorTitle,{command:{id:new mV().desc.id,title:m("showMoves","Show Moved Code Blocks"),icon:re.move,toggled:Xm.create("config.diffEditor.experimental.showMoves",!0),precondition:q.has("isInDiffEditor")},order:10,group:"1_diff",when:q.has("isInDiffEditor")});const LL=mt("diffEditor","Diff Editor");class Due extends va{constructor(){super({id:"diffEditor.switchSide",title:mt("switchSide","Switch Side"),icon:re.arrowSwap,precondition:q.has("isInDiffEditor"),f1:!0,category:LL})}runEditorCommand(e,t,i){const n=hp(e);if(n instanceof sh){if(i&&i.dryRun)return{destinationSelection:n.mapToOtherSide().destinationSelection};n.switchSide()}}}Wt(Due);class xue extends va{constructor(){super({id:"diffEditor.exitCompareMove",title:mt("exitCompareMove","Exit Compare Move"),icon:re.close,precondition:E.comparingMovedCode,f1:!1,category:LL,keybinding:{weight:1e4,primary:9}})}runEditorCommand(e,t,...i){const n=hp(e);n instanceof sh&&n.exitCompareMove()}}Wt(xue);class kue extends va{constructor(){super({id:"diffEditor.collapseAllUnchangedRegions",title:mt("collapseAllUnchangedRegions","Collapse All Unchanged Regions"),icon:re.fold,precondition:q.has("isInDiffEditor"),f1:!0,category:LL})}runEditorCommand(e,t,...i){const n=hp(e);n instanceof sh&&n.collapseAllUnchangedRegions()}}Wt(kue);class Iue extends va{constructor(){super({id:"diffEditor.showAllUnchangedRegions",title:mt("showAllUnchangedRegions","Show All Unchanged Regions"),icon:re.unfold,precondition:q.has("isInDiffEditor"),f1:!0,category:LL})}runEditorCommand(e,t,...i){const n=hp(e);n instanceof sh&&n.showAllUnchangedRegions()}}Wt(Iue);const _V=mt("accessibleDiffViewer","Accessible Diff Viewer");class cp extends Vs{constructor(){super({id:cp.id,title:mt("editor.action.accessibleDiffViewer.next","Go to Next Difference"),category:_V,precondition:q.has("isInDiffEditor"),keybinding:{primary:65,weight:100},f1:!0})}run(e){const t=hp(e);t==null||t.accessibleDiffViewerNext()}}cp.id="editor.action.accessibleDiffViewer.next";wn.appendMenuItem(k.EditorTitle,{command:{id:cp.id,title:m("Open Accessible Diff Viewer","Open Accessible Diff Viewer"),precondition:q.has("isInDiffEditor")},order:10,group:"2_diff",when:q.and(E.accessibleDiffViewerVisible.negate(),q.has("isInDiffEditor"))});class S0 extends Vs{constructor(){super({id:S0.id,title:mt("editor.action.accessibleDiffViewer.prev","Go to Previous Difference"),category:_V,precondition:q.has("isInDiffEditor"),keybinding:{primary:1089,weight:100},f1:!0})}run(e){const t=hp(e);t==null||t.accessibleDiffViewerPrev()}}S0.id="editor.action.accessibleDiffViewer.prev";function hp(o){const t=o.get(_t).listDiffEditors(),i=Nn();if(i)for(const n of t){const s=n.getContainerDomNode();if(Eue(s,i))return n}return null}function Eue(o,e){let t=e;for(;t;){if(t===o)return!0;t=t.parentElement}return!1}ct.registerCommandAlias("editor.action.diffReview.next",cp.id);Wt(cp);ct.registerCommandAlias("editor.action.diffReview.prev",S0.id);Wt(S0);var Nue=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Tue=function(o,e){return function(t,i){e(t,i,o)}},sT;const DL=new de("selectionAnchorSet",!1);let Ed=sT=class{static get(e){return e.getContribution(sT.ID)}constructor(e,t){this.editor=e,this.selectionAnchorSetContextKey=DL.bindTo(t),this.modelChangeListener=e.onDidChangeModel(()=>this.selectionAnchorSetContextKey.reset())}setSelectionAnchor(){if(this.editor.hasModel()){const e=this.editor.getPosition();this.editor.changeDecorations(t=>{this.decorationId&&t.removeDecoration(this.decorationId),this.decorationId=t.addDecoration(_e.fromPositions(e,e),{description:"selection-anchor",stickiness:1,hoverMessage:new Fn().appendText(m("selectionAnchor","Selection Anchor")),className:"selection-anchor"})}),this.selectionAnchorSetContextKey.set(!!this.decorationId),eo(m("anchorSet","Anchor set at {0}:{1}",e.lineNumber,e.column))}}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);e&&this.editor.setPosition(e.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);if(e){const t=this.editor.getPosition();this.editor.setSelection(_e.fromPositions(e.getStartPosition(),t)),this.cancelSelectionAnchor()}}}cancelSelectionAnchor(){if(this.decorationId){const e=this.decorationId;this.editor.changeDecorations(t=>{t.removeDecoration(e),this.decorationId=void 0}),this.selectionAnchorSetContextKey.set(!1)}}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}};Ed.ID="editor.contrib.selectionAnchorController";Ed=sT=Nue([Tue(1,Ae)],Ed);class Mue extends he{constructor(){super({id:"editor.action.setSelectionAnchor",label:m("setSelectionAnchor","Set Selection Anchor"),alias:"Set Selection Anchor",precondition:void 0,kbOpts:{kbExpr:E.editorTextFocus,primary:Ui(2089,2080),weight:100}})}async run(e,t){var i;(i=Ed.get(t))===null||i===void 0||i.setSelectionAnchor()}}class Rue extends he{constructor(){super({id:"editor.action.goToSelectionAnchor",label:m("goToSelectionAnchor","Go to Selection Anchor"),alias:"Go to Selection Anchor",precondition:DL})}async run(e,t){var i;(i=Ed.get(t))===null||i===void 0||i.goToSelectionAnchor()}}class Aue extends he{constructor(){super({id:"editor.action.selectFromAnchorToCursor",label:m("selectFromAnchorToCursor","Select from Anchor to Cursor"),alias:"Select from Anchor to Cursor",precondition:DL,kbOpts:{kbExpr:E.editorTextFocus,primary:Ui(2089,2089),weight:100}})}async run(e,t){var i;(i=Ed.get(t))===null||i===void 0||i.selectFromAnchorToCursor()}}class Pue extends he{constructor(){super({id:"editor.action.cancelSelectionAnchor",label:m("cancelSelectionAnchor","Cancel Selection Anchor"),alias:"Cancel Selection Anchor",precondition:DL,kbOpts:{kbExpr:E.editorTextFocus,primary:9,weight:100}})}async run(e,t){var i;(i=Ed.get(t))===null||i===void 0||i.cancelSelectionAnchor()}}vt(Ed.ID,Ed,4);Q(Mue);Q(Rue);Q(Aue);Q(Pue);const Oue=N("editorOverviewRuler.bracketMatchForeground",{dark:"#A0A0A0",light:"#A0A0A0",hcDark:"#A0A0A0",hcLight:"#A0A0A0"},m("overviewRulerBracketMatchForeground","Overview ruler marker color for matching brackets."));class Fue extends he{constructor(){super({id:"editor.action.jumpToBracket",label:m("smartSelect.jumpBracket","Go to Bracket"),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:E.editorTextFocus,primary:3165,weight:100}})}run(e,t){var i;(i=Sr.get(t))===null||i===void 0||i.jumpToBracket()}}class Bue extends he{constructor(){super({id:"editor.action.selectToBracket",label:m("smartSelect.selectToBracket","Select to Bracket"),alias:"Select to Bracket",precondition:void 0,metadata:{description:mt("smartSelect.selectToBracketDescription","Select the text inside and including the brackets or curly braces"),args:[{name:"args",schema:{type:"object",properties:{selectBrackets:{type:"boolean",default:!0}}}}]}})}run(e,t,i){var n;let s=!0;i&&i.selectBrackets===!1&&(s=!1),(n=Sr.get(t))===null||n===void 0||n.selectToBracket(s)}}class Wue extends he{constructor(){super({id:"editor.action.removeBrackets",label:m("smartSelect.removeBrackets","Remove Brackets"),alias:"Remove Brackets",precondition:void 0,kbOpts:{kbExpr:E.editorTextFocus,primary:2561,weight:100}})}run(e,t){var i;(i=Sr.get(t))===null||i===void 0||i.removeBrackets(this.id)}}class Vue{constructor(e,t,i){this.position=e,this.brackets=t,this.options=i}}class Sr extends V{static get(e){return e.getContribution(Sr.ID)}constructor(e){super(),this._editor=e,this._lastBracketsData=[],this._lastVersionId=0,this._decorations=this._editor.createDecorationsCollection(),this._updateBracketsSoon=this._register(new Rt(()=>this._updateBrackets(),50)),this._matchBrackets=this._editor.getOption(72),this._updateBracketsSoon.schedule(),this._register(e.onDidChangeCursorPosition(t=>{this._matchBrackets!=="never"&&this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelContent(t=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModel(t=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelLanguageConfiguration(t=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeConfiguration(t=>{t.hasChanged(72)&&(this._matchBrackets=this._editor.getOption(72),this._decorations.clear(),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())})),this._register(e.onDidBlurEditorWidget(()=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidFocusEditorWidget(()=>{this._updateBracketsSoon.schedule()}))}jumpToBracket(){if(!this._editor.hasModel())return;const e=this._editor.getModel(),t=this._editor.getSelections().map(i=>{const n=i.getStartPosition(),s=e.bracketPairs.matchBracket(n);let r=null;if(s)s[0].containsPosition(n)&&!s[1].containsPosition(n)?r=s[1].getStartPosition():s[1].containsPosition(n)&&(r=s[0].getStartPosition());else{const a=e.bracketPairs.findEnclosingBrackets(n);if(a)r=a[1].getStartPosition();else{const l=e.bracketPairs.findNextBracket(n);l&&l.range&&(r=l.range.getStartPosition())}}return r?new _e(r.lineNumber,r.column,r.lineNumber,r.column):new _e(n.lineNumber,n.column,n.lineNumber,n.column)});this._editor.setSelections(t),this._editor.revealRange(t[0])}selectToBracket(e){if(!this._editor.hasModel())return;const t=this._editor.getModel(),i=[];this._editor.getSelections().forEach(n=>{const s=n.getStartPosition();let r=t.bracketPairs.matchBracket(s);if(!r&&(r=t.bracketPairs.findEnclosingBrackets(s),!r)){const d=t.bracketPairs.findNextBracket(s);d&&d.range&&(r=t.bracketPairs.matchBracket(d.range.getStartPosition()))}let a=null,l=null;if(r){r.sort(D.compareRangesUsingStarts);const[d,c]=r;if(a=e?d.getStartPosition():d.getEndPosition(),l=e?c.getEndPosition():c.getStartPosition(),c.containsPosition(s)){const h=a;a=l,l=h}}a&&l&&i.push(new _e(a.lineNumber,a.column,l.lineNumber,l.column))}),i.length>0&&(this._editor.setSelections(i),this._editor.revealRange(i[0]))}removeBrackets(e){if(!this._editor.hasModel())return;const t=this._editor.getModel();this._editor.getSelections().forEach(i=>{const n=i.getPosition();let s=t.bracketPairs.matchBracket(n);s||(s=t.bracketPairs.findEnclosingBrackets(n)),s&&(this._editor.pushUndoStop(),this._editor.executeEdits(e,[{range:s[0],text:""},{range:s[1],text:""}]),this._editor.pushUndoStop())})}_updateBrackets(){if(this._matchBrackets==="never")return;this._recomputeBrackets();const e=[];let t=0;for(const i of this._lastBracketsData){const n=i.brackets;n&&(e[t++]={range:n[0],options:i.options},e[t++]={range:n[1],options:i.options})}this._decorations.set(e)}_recomputeBrackets(){if(!this._editor.hasModel()||!this._editor.hasWidgetFocus()){this._lastBracketsData=[],this._lastVersionId=0;return}const e=this._editor.getSelections();if(e.length>100){this._lastBracketsData=[],this._lastVersionId=0;return}const t=this._editor.getModel(),i=t.getVersionId();let n=[];this._lastVersionId===i&&(n=this._lastBracketsData);const s=[];let r=0;for(let h=0,u=e.length;h1&&s.sort(F.compare);const a=[];let l=0,d=0;const c=n.length;for(let h=0,u=s.length;h0&&(t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop())}}Q($ue);const xL=function(){if(typeof crypto=="object"&&typeof crypto.randomUUID=="function")return crypto.randomUUID.bind(crypto);let o;typeof crypto=="object"&&typeof crypto.getRandomValues=="function"?o=crypto.getRandomValues.bind(crypto):o=function(i){for(let n=0;no,asFile:()=>{},value:typeof o=="string"?o:void 0}}function jue(o,e,t){const i={id:xL(),name:o,uri:e,data:t};return{asString:async()=>"",asFile:()=>i,value:void 0}}class bV{constructor(){this._entries=new Map}get size(){let e=0;for(const t of this._entries)e++;return e}has(e){return this._entries.has(this.toKey(e))}matches(e){const t=[...this._entries.keys()];return dt.some(this,([i,n])=>n.asFile())&&t.push("files"),wV(xS(e),t)}get(e){var t;return(t=this._entries.get(this.toKey(e)))===null||t===void 0?void 0:t[0]}append(e,t){const i=this._entries.get(e);i?i.push(t):this._entries.set(this.toKey(e),[t])}replace(e,t){this._entries.set(this.toKey(e),[t])}delete(e){this._entries.delete(this.toKey(e))}*[Symbol.iterator](){for(const[e,t]of this._entries)for(const i of t)yield[e,i]}toKey(e){return xS(e)}}function xS(o){return o.toLowerCase()}function CV(o,e){return wV(xS(o),e.map(xS))}function wV(o,e){if(o==="*/*")return e.length>0;if(e.includes(o))return!0;const t=o.match(/^([a-z]+)\/([a-z]+|\*)$/i);if(!t)return!1;const[i,n,s]=t;return s==="*"?e.some(r=>r.startsWith(n+"/")):!1}const kL=Object.freeze({create:o=>Ld(o.map(e=>e.toString())).join(`\r + *-----------------------------------------------------------------------------*/var mue=Object.defineProperty,pue=Object.getOwnPropertyDescriptor,_ue=Object.getOwnPropertyNames,vue=Object.prototype.hasOwnProperty,n3=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of _ue(e))!vue.call(o,n)&&n!==t&&mue(o,n,{get:()=>e[n],enumerable:!(i=pue(e,n))||i.enumerable});return o},bue=(o,e,t)=>(n3(o,e,"default"),t&&n3(t,e,"default")),Cue="5.0.2",Om={};bue(Om,vL);var rV=(o=>(o[o.None=0]="None",o[o.CommonJS=1]="CommonJS",o[o.AMD=2]="AMD",o[o.UMD=3]="UMD",o[o.System=4]="System",o[o.ES2015=5]="ES2015",o[o.ESNext=99]="ESNext",o))(rV||{}),aV=(o=>(o[o.None=0]="None",o[o.Preserve=1]="Preserve",o[o.React=2]="React",o[o.ReactNative=3]="ReactNative",o[o.ReactJSX=4]="ReactJSX",o[o.ReactJSXDev=5]="ReactJSXDev",o))(aV||{}),lV=(o=>(o[o.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",o[o.LineFeed=1]="LineFeed",o))(lV||{}),dV=(o=>(o[o.ES3=0]="ES3",o[o.ES5=1]="ES5",o[o.ES2015=2]="ES2015",o[o.ES2016=3]="ES2016",o[o.ES2017=4]="ES2017",o[o.ES2018=5]="ES2018",o[o.ES2019=6]="ES2019",o[o.ES2020=7]="ES2020",o[o.ESNext=99]="ESNext",o[o.JSON=100]="JSON",o[o.Latest=99]="Latest",o))(dV||{}),cV=(o=>(o[o.Classic=1]="Classic",o[o.NodeJs=2]="NodeJs",o))(cV||{}),hV=class{constructor(o,e,t,i,n){this._onDidChange=new Om.Emitter,this._onDidExtraLibsChange=new Om.Emitter,this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(o),this.setDiagnosticsOptions(e),this.setWorkerOptions(t),this.setInlayHintsOptions(i),this.setModeConfiguration(n),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get modeConfiguration(){return this._modeConfiguration}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(o,e){let t;if(typeof e>"u"?t=`ts:extralib-${Math.random().toString(36).substring(2,15)}`:t=e,this._extraLibs[t]&&this._extraLibs[t].content===o)return{dispose:()=>{}};let i=1;return this._removedExtraLibs[t]&&(i=this._removedExtraLibs[t]+1),this._extraLibs[t]&&(i=this._extraLibs[t].version+1),this._extraLibs[t]={content:o,version:i},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let n=this._extraLibs[t];n&&n.version===i&&(delete this._extraLibs[t],this._removedExtraLibs[t]=i,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(o){for(const e in this._extraLibs)this._removedExtraLibs[e]=this._extraLibs[e].version;if(this._extraLibs=Object.create(null),o&&o.length>0)for(const e of o){const t=e.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,i=e.content;let n=1;this._removedExtraLibs[t]&&(n=this._removedExtraLibs[t]+1),this._extraLibs[t]={content:i,version:n}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){this._onDidExtraLibsChangeTimeout===-1&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(o){this._compilerOptions=o||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(o){this._diagnosticsOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(o){this._workerOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(o){this._inlayHintsOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(o){}setEagerModelSync(o){this._eagerModelSync=o}getEagerModelSync(){return this._eagerModelSync}setModeConfiguration(o){this._modeConfiguration=o||Object.create(null),this._onDidChange.fire(void 0)}},wue=Cue,uV={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,diagnostics:!0,documentRangeFormattingEdits:!0,signatureHelp:!0,onTypeFormattingEdits:!0,codeActions:!0,inlayHints:!0},gV=new hV({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{},uV),fV=new hV({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{},uV),Sue=()=>yL().then(o=>o.getTypeScriptWorker()),yue=()=>yL().then(o=>o.getJavaScriptWorker());Om.languages.typescript={ModuleKind:rV,JsxEmit:aV,NewLineKind:lV,ScriptTarget:dV,ModuleResolutionKind:cV,typescriptVersion:wue,typescriptDefaults:gV,javascriptDefaults:fV,getTypeScriptWorker:Sue,getJavaScriptWorker:yue};function yL(){return be(()=>import("./CoWul4yg.js"),__vite__mapDeps([16,1,2]),import.meta.url)}Om.languages.onLanguage("typescript",()=>yL().then(o=>o.setupTypeScript(gV)));Om.languages.onLanguage("javascript",()=>yL().then(o=>o.setupJavaScript(fV)));class Lue extends Vs{constructor(){super({id:"diffEditor.toggleCollapseUnchangedRegions",title:mt("toggleCollapseUnchangedRegions","Toggle Collapse Unchanged Regions"),icon:re.map,toggled:q.has("config.diffEditor.hideUnchangedRegions.enabled"),precondition:q.has("isInDiffEditor"),menu:{when:q.has("isInDiffEditor"),id:k.EditorTitle,order:22,group:"navigation"}})}run(e,...t){const i=e.get(Qe),n=!i.getValue("diffEditor.hideUnchangedRegions.enabled");i.updateValue("diffEditor.hideUnchangedRegions.enabled",n)}}Wt(Lue);class mV extends Vs{constructor(){super({id:"diffEditor.toggleShowMovedCodeBlocks",title:mt("toggleShowMovedCodeBlocks","Toggle Show Moved Code Blocks"),precondition:q.has("isInDiffEditor")})}run(e,...t){const i=e.get(Qe),n=!i.getValue("diffEditor.experimental.showMoves");i.updateValue("diffEditor.experimental.showMoves",n)}}Wt(mV);class pV extends Vs{constructor(){super({id:"diffEditor.toggleUseInlineViewWhenSpaceIsLimited",title:mt("toggleUseInlineViewWhenSpaceIsLimited","Toggle Use Inline View When Space Is Limited"),precondition:q.has("isInDiffEditor")})}run(e,...t){const i=e.get(Qe),n=!i.getValue("diffEditor.useInlineViewWhenSpaceIsLimited");i.updateValue("diffEditor.useInlineViewWhenSpaceIsLimited",n)}}Wt(pV);wn.appendMenuItem(k.EditorTitle,{command:{id:new pV().desc.id,title:m("useInlineViewWhenSpaceIsLimited","Use Inline View When Space Is Limited"),toggled:q.has("config.diffEditor.useInlineViewWhenSpaceIsLimited"),precondition:q.has("isInDiffEditor")},order:11,group:"1_diff",when:q.and(E.diffEditorRenderSideBySideInlineBreakpointReached,q.has("isInDiffEditor"))});wn.appendMenuItem(k.EditorTitle,{command:{id:new mV().desc.id,title:m("showMoves","Show Moved Code Blocks"),icon:re.move,toggled:Xm.create("config.diffEditor.experimental.showMoves",!0),precondition:q.has("isInDiffEditor")},order:10,group:"1_diff",when:q.has("isInDiffEditor")});const LL=mt("diffEditor","Diff Editor");class Due extends va{constructor(){super({id:"diffEditor.switchSide",title:mt("switchSide","Switch Side"),icon:re.arrowSwap,precondition:q.has("isInDiffEditor"),f1:!0,category:LL})}runEditorCommand(e,t,i){const n=hp(e);if(n instanceof sh){if(i&&i.dryRun)return{destinationSelection:n.mapToOtherSide().destinationSelection};n.switchSide()}}}Wt(Due);class xue extends va{constructor(){super({id:"diffEditor.exitCompareMove",title:mt("exitCompareMove","Exit Compare Move"),icon:re.close,precondition:E.comparingMovedCode,f1:!1,category:LL,keybinding:{weight:1e4,primary:9}})}runEditorCommand(e,t,...i){const n=hp(e);n instanceof sh&&n.exitCompareMove()}}Wt(xue);class kue extends va{constructor(){super({id:"diffEditor.collapseAllUnchangedRegions",title:mt("collapseAllUnchangedRegions","Collapse All Unchanged Regions"),icon:re.fold,precondition:q.has("isInDiffEditor"),f1:!0,category:LL})}runEditorCommand(e,t,...i){const n=hp(e);n instanceof sh&&n.collapseAllUnchangedRegions()}}Wt(kue);class Iue extends va{constructor(){super({id:"diffEditor.showAllUnchangedRegions",title:mt("showAllUnchangedRegions","Show All Unchanged Regions"),icon:re.unfold,precondition:q.has("isInDiffEditor"),f1:!0,category:LL})}runEditorCommand(e,t,...i){const n=hp(e);n instanceof sh&&n.showAllUnchangedRegions()}}Wt(Iue);const _V=mt("accessibleDiffViewer","Accessible Diff Viewer");class cp extends Vs{constructor(){super({id:cp.id,title:mt("editor.action.accessibleDiffViewer.next","Go to Next Difference"),category:_V,precondition:q.has("isInDiffEditor"),keybinding:{primary:65,weight:100},f1:!0})}run(e){const t=hp(e);t==null||t.accessibleDiffViewerNext()}}cp.id="editor.action.accessibleDiffViewer.next";wn.appendMenuItem(k.EditorTitle,{command:{id:cp.id,title:m("Open Accessible Diff Viewer","Open Accessible Diff Viewer"),precondition:q.has("isInDiffEditor")},order:10,group:"2_diff",when:q.and(E.accessibleDiffViewerVisible.negate(),q.has("isInDiffEditor"))});class S0 extends Vs{constructor(){super({id:S0.id,title:mt("editor.action.accessibleDiffViewer.prev","Go to Previous Difference"),category:_V,precondition:q.has("isInDiffEditor"),keybinding:{primary:1089,weight:100},f1:!0})}run(e){const t=hp(e);t==null||t.accessibleDiffViewerPrev()}}S0.id="editor.action.accessibleDiffViewer.prev";function hp(o){const t=o.get(_t).listDiffEditors(),i=Nn();if(i)for(const n of t){const s=n.getContainerDomNode();if(Eue(s,i))return n}return null}function Eue(o,e){let t=e;for(;t;){if(t===o)return!0;t=t.parentElement}return!1}ct.registerCommandAlias("editor.action.diffReview.next",cp.id);Wt(cp);ct.registerCommandAlias("editor.action.diffReview.prev",S0.id);Wt(S0);var Nue=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Tue=function(o,e){return function(t,i){e(t,i,o)}},sT;const DL=new de("selectionAnchorSet",!1);let Ed=sT=class{static get(e){return e.getContribution(sT.ID)}constructor(e,t){this.editor=e,this.selectionAnchorSetContextKey=DL.bindTo(t),this.modelChangeListener=e.onDidChangeModel(()=>this.selectionAnchorSetContextKey.reset())}setSelectionAnchor(){if(this.editor.hasModel()){const e=this.editor.getPosition();this.editor.changeDecorations(t=>{this.decorationId&&t.removeDecoration(this.decorationId),this.decorationId=t.addDecoration(_e.fromPositions(e,e),{description:"selection-anchor",stickiness:1,hoverMessage:new Fn().appendText(m("selectionAnchor","Selection Anchor")),className:"selection-anchor"})}),this.selectionAnchorSetContextKey.set(!!this.decorationId),eo(m("anchorSet","Anchor set at {0}:{1}",e.lineNumber,e.column))}}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);e&&this.editor.setPosition(e.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);if(e){const t=this.editor.getPosition();this.editor.setSelection(_e.fromPositions(e.getStartPosition(),t)),this.cancelSelectionAnchor()}}}cancelSelectionAnchor(){if(this.decorationId){const e=this.decorationId;this.editor.changeDecorations(t=>{t.removeDecoration(e),this.decorationId=void 0}),this.selectionAnchorSetContextKey.set(!1)}}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}};Ed.ID="editor.contrib.selectionAnchorController";Ed=sT=Nue([Tue(1,Ae)],Ed);class Mue extends he{constructor(){super({id:"editor.action.setSelectionAnchor",label:m("setSelectionAnchor","Set Selection Anchor"),alias:"Set Selection Anchor",precondition:void 0,kbOpts:{kbExpr:E.editorTextFocus,primary:Ui(2089,2080),weight:100}})}async run(e,t){var i;(i=Ed.get(t))===null||i===void 0||i.setSelectionAnchor()}}class Rue extends he{constructor(){super({id:"editor.action.goToSelectionAnchor",label:m("goToSelectionAnchor","Go to Selection Anchor"),alias:"Go to Selection Anchor",precondition:DL})}async run(e,t){var i;(i=Ed.get(t))===null||i===void 0||i.goToSelectionAnchor()}}class Aue extends he{constructor(){super({id:"editor.action.selectFromAnchorToCursor",label:m("selectFromAnchorToCursor","Select from Anchor to Cursor"),alias:"Select from Anchor to Cursor",precondition:DL,kbOpts:{kbExpr:E.editorTextFocus,primary:Ui(2089,2089),weight:100}})}async run(e,t){var i;(i=Ed.get(t))===null||i===void 0||i.selectFromAnchorToCursor()}}class Pue extends he{constructor(){super({id:"editor.action.cancelSelectionAnchor",label:m("cancelSelectionAnchor","Cancel Selection Anchor"),alias:"Cancel Selection Anchor",precondition:DL,kbOpts:{kbExpr:E.editorTextFocus,primary:9,weight:100}})}async run(e,t){var i;(i=Ed.get(t))===null||i===void 0||i.cancelSelectionAnchor()}}vt(Ed.ID,Ed,4);Q(Mue);Q(Rue);Q(Aue);Q(Pue);const Oue=N("editorOverviewRuler.bracketMatchForeground",{dark:"#A0A0A0",light:"#A0A0A0",hcDark:"#A0A0A0",hcLight:"#A0A0A0"},m("overviewRulerBracketMatchForeground","Overview ruler marker color for matching brackets."));class Fue extends he{constructor(){super({id:"editor.action.jumpToBracket",label:m("smartSelect.jumpBracket","Go to Bracket"),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:E.editorTextFocus,primary:3165,weight:100}})}run(e,t){var i;(i=Sr.get(t))===null||i===void 0||i.jumpToBracket()}}class Bue extends he{constructor(){super({id:"editor.action.selectToBracket",label:m("smartSelect.selectToBracket","Select to Bracket"),alias:"Select to Bracket",precondition:void 0,metadata:{description:mt("smartSelect.selectToBracketDescription","Select the text inside and including the brackets or curly braces"),args:[{name:"args",schema:{type:"object",properties:{selectBrackets:{type:"boolean",default:!0}}}}]}})}run(e,t,i){var n;let s=!0;i&&i.selectBrackets===!1&&(s=!1),(n=Sr.get(t))===null||n===void 0||n.selectToBracket(s)}}class Wue extends he{constructor(){super({id:"editor.action.removeBrackets",label:m("smartSelect.removeBrackets","Remove Brackets"),alias:"Remove Brackets",precondition:void 0,kbOpts:{kbExpr:E.editorTextFocus,primary:2561,weight:100}})}run(e,t){var i;(i=Sr.get(t))===null||i===void 0||i.removeBrackets(this.id)}}class Vue{constructor(e,t,i){this.position=e,this.brackets=t,this.options=i}}class Sr extends V{static get(e){return e.getContribution(Sr.ID)}constructor(e){super(),this._editor=e,this._lastBracketsData=[],this._lastVersionId=0,this._decorations=this._editor.createDecorationsCollection(),this._updateBracketsSoon=this._register(new Rt(()=>this._updateBrackets(),50)),this._matchBrackets=this._editor.getOption(72),this._updateBracketsSoon.schedule(),this._register(e.onDidChangeCursorPosition(t=>{this._matchBrackets!=="never"&&this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelContent(t=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModel(t=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelLanguageConfiguration(t=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeConfiguration(t=>{t.hasChanged(72)&&(this._matchBrackets=this._editor.getOption(72),this._decorations.clear(),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())})),this._register(e.onDidBlurEditorWidget(()=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidFocusEditorWidget(()=>{this._updateBracketsSoon.schedule()}))}jumpToBracket(){if(!this._editor.hasModel())return;const e=this._editor.getModel(),t=this._editor.getSelections().map(i=>{const n=i.getStartPosition(),s=e.bracketPairs.matchBracket(n);let r=null;if(s)s[0].containsPosition(n)&&!s[1].containsPosition(n)?r=s[1].getStartPosition():s[1].containsPosition(n)&&(r=s[0].getStartPosition());else{const a=e.bracketPairs.findEnclosingBrackets(n);if(a)r=a[1].getStartPosition();else{const l=e.bracketPairs.findNextBracket(n);l&&l.range&&(r=l.range.getStartPosition())}}return r?new _e(r.lineNumber,r.column,r.lineNumber,r.column):new _e(n.lineNumber,n.column,n.lineNumber,n.column)});this._editor.setSelections(t),this._editor.revealRange(t[0])}selectToBracket(e){if(!this._editor.hasModel())return;const t=this._editor.getModel(),i=[];this._editor.getSelections().forEach(n=>{const s=n.getStartPosition();let r=t.bracketPairs.matchBracket(s);if(!r&&(r=t.bracketPairs.findEnclosingBrackets(s),!r)){const d=t.bracketPairs.findNextBracket(s);d&&d.range&&(r=t.bracketPairs.matchBracket(d.range.getStartPosition()))}let a=null,l=null;if(r){r.sort(D.compareRangesUsingStarts);const[d,c]=r;if(a=e?d.getStartPosition():d.getEndPosition(),l=e?c.getEndPosition():c.getStartPosition(),c.containsPosition(s)){const h=a;a=l,l=h}}a&&l&&i.push(new _e(a.lineNumber,a.column,l.lineNumber,l.column))}),i.length>0&&(this._editor.setSelections(i),this._editor.revealRange(i[0]))}removeBrackets(e){if(!this._editor.hasModel())return;const t=this._editor.getModel();this._editor.getSelections().forEach(i=>{const n=i.getPosition();let s=t.bracketPairs.matchBracket(n);s||(s=t.bracketPairs.findEnclosingBrackets(n)),s&&(this._editor.pushUndoStop(),this._editor.executeEdits(e,[{range:s[0],text:""},{range:s[1],text:""}]),this._editor.pushUndoStop())})}_updateBrackets(){if(this._matchBrackets==="never")return;this._recomputeBrackets();const e=[];let t=0;for(const i of this._lastBracketsData){const n=i.brackets;n&&(e[t++]={range:n[0],options:i.options},e[t++]={range:n[1],options:i.options})}this._decorations.set(e)}_recomputeBrackets(){if(!this._editor.hasModel()||!this._editor.hasWidgetFocus()){this._lastBracketsData=[],this._lastVersionId=0;return}const e=this._editor.getSelections();if(e.length>100){this._lastBracketsData=[],this._lastVersionId=0;return}const t=this._editor.getModel(),i=t.getVersionId();let n=[];this._lastVersionId===i&&(n=this._lastBracketsData);const s=[];let r=0;for(let h=0,u=e.length;h1&&s.sort(F.compare);const a=[];let l=0,d=0;const c=n.length;for(let h=0,u=s.length;h0&&(t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop())}}Q($ue);const xL=function(){if(typeof crypto=="object"&&typeof crypto.randomUUID=="function")return crypto.randomUUID.bind(crypto);let o;typeof crypto=="object"&&typeof crypto.getRandomValues=="function"?o=crypto.getRandomValues.bind(crypto):o=function(i){for(let n=0;no,asFile:()=>{},value:typeof o=="string"?o:void 0}}function jue(o,e,t){const i={id:xL(),name:o,uri:e,data:t};return{asString:async()=>"",asFile:()=>i,value:void 0}}class bV{constructor(){this._entries=new Map}get size(){let e=0;for(const t of this._entries)e++;return e}has(e){return this._entries.has(this.toKey(e))}matches(e){const t=[...this._entries.keys()];return dt.some(this,([i,n])=>n.asFile())&&t.push("files"),wV(xS(e),t)}get(e){var t;return(t=this._entries.get(this.toKey(e)))===null||t===void 0?void 0:t[0]}append(e,t){const i=this._entries.get(e);i?i.push(t):this._entries.set(this.toKey(e),[t])}replace(e,t){this._entries.set(this.toKey(e),[t])}delete(e){this._entries.delete(this.toKey(e))}*[Symbol.iterator](){for(const[e,t]of this._entries)for(const i of t)yield[e,i]}toKey(e){return xS(e)}}function xS(o){return o.toLowerCase()}function CV(o,e){return wV(xS(o),e.map(xS))}function wV(o,e){if(o==="*/*")return e.length>0;if(e.includes(o))return!0;const t=o.match(/^([a-z]+)\/([a-z]+|\*)$/i);if(!t)return!1;const[i,n,s]=t;return s==="*"?e.some(r=>r.startsWith(n+"/")):!1}const kL=Object.freeze({create:o=>Ld(o.map(e=>e.toString())).join(`\r `),split:o=>o.split(`\r `),parse:o=>kL.split(o).filter(e=>!e.startsWith("#"))}),s3={EDITORS:"CodeEditors",FILES:"CodeFiles"};class Kue{}const que={DragAndDropContribution:"workbench.contributions.dragAndDrop"};li.add(que.DragAndDropContribution,new Kue);class fb{constructor(){}static getInstance(){return fb.INSTANCE}hasData(e){return e&&e===this.proto}getData(e){if(this.hasData(e))return this.data}}fb.INSTANCE=new fb;function SV(o){const e=new bV;for(const t of o.items){const i=t.type;if(t.kind==="string"){const n=new Promise(s=>t.getAsString(s));e.append(i,DA(n))}else if(t.kind==="file"){const n=t.getAsFile();n&&e.append(i,Gue(n))}}return e}function Gue(o){const e=o.path?xe.parse(o.path):void 0;return jue(o.name,e,async()=>new Uint8Array(await o.arrayBuffer()))}const Zue=Object.freeze([s3.EDITORS,s3.FILES,Zv.RESOURCES,Zv.INTERNAL_URI_LIST]);function yV(o,e=!1){const t=SV(o),i=t.get(Zv.INTERNAL_URI_LIST);if(i)t.replace(pi.uriList,i);else if(e||!t.has(pi.uriList)){const n=[];for(const s of o.items){const r=s.getAsFile();if(r){const a=r.path;try{a?n.push(xe.file(a).toString()):n.push(xe.parse(r.name,!0).toString())}catch{}}}n.length&&t.replace(pi.uriList,DA(kL.create(n)))}for(const n of Zue)t.delete(n);return t}class cr{constructor(){this.value="",this.pos=0}static isDigitCharacter(e){return e>=48&&e<=57}static isVariableCharacter(e){return e===95||e>=97&&e<=122||e>=65&&e<=90}text(e){this.value=e,this.pos=0}tokenText(e){return this.value.substr(e.pos,e.len)}next(){if(this.pos>=this.value.length)return{type:14,pos:this.pos,len:0};const e=this.pos;let t=0,i=this.value.charCodeAt(e),n;if(n=cr._table[i],typeof n=="number")return this.pos+=1,{type:n,pos:e,len:1};if(cr.isDigitCharacter(i)){n=8;do t+=1,i=this.value.charCodeAt(e+t);while(cr.isDigitCharacter(i));return this.pos+=t,{type:n,pos:e,len:t}}if(cr.isVariableCharacter(i)){n=9;do i=this.value.charCodeAt(e+ ++t);while(cr.isVariableCharacter(i)||cr.isDigitCharacter(i));return this.pos+=t,{type:n,pos:e,len:t}}n=10;do t+=1,i=this.value.charCodeAt(e+t);while(!isNaN(i)&&typeof cr._table[i]>"u"&&!cr.isDigitCharacter(i)&&!cr.isVariableCharacter(i));return this.pos+=t,{type:n,pos:e,len:t}}}cr._table={36:0,58:1,44:2,123:3,125:4,92:5,47:6,124:7,43:11,45:12,63:13};class up{constructor(){this._children=[]}appendChild(e){return e instanceof hs&&this._children[this._children.length-1]instanceof hs?this._children[this._children.length-1].value+=e.value:(e.parent=this,this._children.push(e)),this}replace(e,t){const{parent:i}=e,n=i.children.indexOf(e),s=i.children.slice(0);s.splice(n,1,...t),i._children=s,function r(a,l){for(const d of a)d.parent=l,r(d.children,d)}(t,i)}get children(){return this._children}get rightMostDescendant(){return this._children.length>0?this._children[this._children.length-1].rightMostDescendant:this}get snippet(){let e=this;for(;;){if(!e)return;if(e instanceof y0)return e;e=e.parent}}toString(){return this.children.reduce((e,t)=>e+t.toString(),"")}len(){return 0}}class hs extends up{constructor(e){super(),this.value=e}toString(){return this.value}len(){return this.value.length}clone(){return new hs(this.value)}}class LV extends up{}class Po extends LV{static compareByIndex(e,t){return e.index===t.index?0:e.isFinalTabstop?1:t.isFinalTabstop||e.indext.index?1:0}constructor(e){super(),this.index=e}get isFinalTabstop(){return this.index===0}get choice(){return this._children.length===1&&this._children[0]instanceof gp?this._children[0]:void 0}clone(){const e=new Po(this.index);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map(t=>t.clone()),e}}class gp extends up{constructor(){super(...arguments),this.options=[]}appendChild(e){return e instanceof hs&&(e.parent=this,this.options.push(e)),this}toString(){return this.options[0].value}len(){return this.options[0].len()}clone(){const e=new gp;return this.options.forEach(e.appendChild,e),e}}class xA extends up{constructor(){super(...arguments),this.regexp=new RegExp("")}resolve(e){const t=this;let i=!1,n=e.replace(this.regexp,function(){return i=!0,t._replace(Array.prototype.slice.call(arguments,0,-2))});return!i&&this._children.some(s=>s instanceof Hr&&!!s.elseValue)&&(n=this._replace([])),n}_replace(e){let t="";for(const i of this._children)if(i instanceof Hr){let n=e[i.index]||"";n=i.resolve(n),t+=n}else t+=i.toString();return t}toString(){return""}clone(){const e=new xA;return e.regexp=new RegExp(this.regexp.source,(this.regexp.ignoreCase?"i":"")+(this.regexp.global?"g":"")),e._children=this.children.map(t=>t.clone()),e}}class Hr extends up{constructor(e,t,i,n){super(),this.index=e,this.shorthandName=t,this.ifValue=i,this.elseValue=n}resolve(e){return this.shorthandName==="upcase"?e?e.toLocaleUpperCase():"":this.shorthandName==="downcase"?e?e.toLocaleLowerCase():"":this.shorthandName==="capitalize"?e?e[0].toLocaleUpperCase()+e.substr(1):"":this.shorthandName==="pascalcase"?e?this._toPascalCase(e):"":this.shorthandName==="camelcase"?e?this._toCamelCase(e):"":e&&typeof this.ifValue=="string"?this.ifValue:!e&&typeof this.elseValue=="string"?this.elseValue:e||""}_toPascalCase(e){const t=e.match(/[a-z0-9]+/gi);return t?t.map(i=>i.charAt(0).toUpperCase()+i.substr(1)).join(""):e}_toCamelCase(e){const t=e.match(/[a-z0-9]+/gi);return t?t.map((i,n)=>n===0?i.charAt(0).toLowerCase()+i.substr(1):i.charAt(0).toUpperCase()+i.substr(1)).join(""):e}clone(){return new Hr(this.index,this.shorthandName,this.ifValue,this.elseValue)}}class mb extends LV{constructor(e){super(),this.name=e}resolve(e){let t=e.resolve(this);return this.transform&&(t=this.transform.resolve(t||"")),t!==void 0?(this._children=[new hs(t)],!0):!1}clone(){const e=new mb(this.name);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map(t=>t.clone()),e}}function o3(o,e){const t=[...o];for(;t.length>0;){const i=t.shift();if(!e(i))break;t.unshift(...i.children)}}class y0 extends up{get placeholderInfo(){if(!this._placeholders){const e=[];let t;this.walk(function(i){return i instanceof Po&&(e.push(i),t=!t||t.indexn===e?(i=!0,!1):(t+=n.len(),!0)),i?t:-1}fullLen(e){let t=0;return o3([e],i=>(t+=i.len(),!0)),t}enclosingPlaceholders(e){const t=[];let{parent:i}=e;for(;i;)i instanceof Po&&t.push(i),i=i.parent;return t}resolveVariables(e){return this.walk(t=>(t instanceof mb&&t.resolve(e)&&(this._placeholders=void 0),!0)),this}appendChild(e){return this._placeholders=void 0,super.appendChild(e)}replace(e,t){return this._placeholders=void 0,super.replace(e,t)}clone(){const e=new y0;return this._children=this.children.map(t=>t.clone()),e}walk(e){o3(this.children,e)}}class Ju{constructor(){this._scanner=new cr,this._token={type:14,pos:0,len:0}}static escape(e){return e.replace(/\$|}|\\/g,"\\$&")}static guessNeedsClipboard(e){return/\${?CLIPBOARD/.test(e)}parse(e,t,i){const n=new y0;return this.parseFragment(e,n),this.ensureFinalTabstop(n,i??!1,t??!1),n}parseFragment(e,t){const i=t.children.length;for(this._scanner.text(e),this._token=this._scanner.next();this._parse(t););const n=new Map,s=[];t.walk(l=>(l instanceof Po&&(l.isFinalTabstop?n.set(0,void 0):!n.has(l.index)&&l.children.length>0?n.set(l.index,l.children):s.push(l)),!0));const r=(l,d)=>{const c=n.get(l.index);if(!c)return;const h=new Po(l.index);h.transform=l.transform;for(const u of c){const g=u.clone();h.appendChild(g),g instanceof Po&&n.has(g.index)&&!d.has(g.index)&&(d.add(g.index),r(g,d),d.delete(g.index))}t.replace(l,[h])},a=new Set;for(const l of s)r(l,a);return t.children.slice(i)}ensureFinalTabstop(e,t,i){(t||i&&e.placeholders.length>0)&&(e.placeholders.find(s=>s.index===0)||e.appendChild(new Po(0)))}_accept(e,t){if(e===void 0||this._token.type===e){const i=t?this._scanner.tokenText(this._token):!0;return this._token=this._scanner.next(),i}return!1}_backTo(e){return this._scanner.pos=e.pos+e.len,this._token=e,!1}_until(e){const t=this._token;for(;this._token.type!==e;){if(this._token.type===14)return!1;if(this._token.type===5){const n=this._scanner.next();if(n.type!==0&&n.type!==4&&n.type!==5)return!1}this._token=this._scanner.next()}const i=this._scanner.value.substring(t.pos,this._token.pos).replace(/\\(\$|}|\\)/g,"$1");return this._token=this._scanner.next(),i}_parse(e){return this._parseEscaped(e)||this._parseTabstopOrVariableName(e)||this._parseComplexPlaceholder(e)||this._parseComplexVariable(e)||this._parseAnything(e)}_parseEscaped(e){let t;return(t=this._accept(5,!0))?(t=this._accept(0,!0)||this._accept(4,!0)||this._accept(5,!0)||t,e.appendChild(new hs(t)),!0):!1}_parseTabstopOrVariableName(e){let t;const i=this._token;return this._accept(0)&&(t=this._accept(9,!0)||this._accept(8,!0))?(e.appendChild(/^\d+$/.test(t)?new Po(Number(t)):new mb(t)),!0):this._backTo(i)}_parseComplexPlaceholder(e){let t;const i=this._token;if(!(this._accept(0)&&this._accept(3)&&(t=this._accept(8,!0))))return this._backTo(i);const s=new Po(Number(t));if(this._accept(1))for(;;){if(this._accept(4))return e.appendChild(s),!0;if(!this._parse(s))return e.appendChild(new hs("${"+t+":")),s.children.forEach(e.appendChild,e),!0}else if(s.index>0&&this._accept(7)){const r=new gp;for(;;){if(this._parseChoiceElement(r)){if(this._accept(2))continue;if(this._accept(7)&&(s.appendChild(r),this._accept(4)))return e.appendChild(s),!0}return this._backTo(i),!1}}else return this._accept(6)?this._parseTransform(s)?(e.appendChild(s),!0):(this._backTo(i),!1):this._accept(4)?(e.appendChild(s),!0):this._backTo(i)}_parseChoiceElement(e){const t=this._token,i=[];for(;!(this._token.type===2||this._token.type===7);){let n;if((n=this._accept(5,!0))?n=this._accept(2,!0)||this._accept(7,!0)||this._accept(5,!0)||n:n=this._accept(void 0,!0),!n)return this._backTo(t),!1;i.push(n)}return i.length===0?(this._backTo(t),!1):(e.appendChild(new hs(i.join(""))),!0)}_parseComplexVariable(e){let t;const i=this._token;if(!(this._accept(0)&&this._accept(3)&&(t=this._accept(9,!0))))return this._backTo(i);const s=new mb(t);if(this._accept(1))for(;;){if(this._accept(4))return e.appendChild(s),!0;if(!this._parse(s))return e.appendChild(new hs("${"+t+":")),s.children.forEach(e.appendChild,e),!0}else return this._accept(6)?this._parseTransform(s)?(e.appendChild(s),!0):(this._backTo(i),!1):this._accept(4)?(e.appendChild(s),!0):this._backTo(i)}_parseTransform(e){const t=new xA;let i="",n="";for(;!this._accept(6);){let s;if(s=this._accept(5,!0)){s=this._accept(6,!0)||s,i+=s;continue}if(this._token.type!==14){i+=this._accept(void 0,!0);continue}return!1}for(;!this._accept(6);){let s;if(s=this._accept(5,!0)){s=this._accept(5,!0)||this._accept(6,!0)||s,t.appendChild(new hs(s));continue}if(!(this._parseFormatString(t)||this._parseAnything(t)))return!1}for(;!this._accept(4);){if(this._token.type!==14){n+=this._accept(void 0,!0);continue}return!1}try{t.regexp=new RegExp(i,n)}catch{return!1}return e.transform=t,!0}_parseFormatString(e){const t=this._token;if(!this._accept(0))return!1;let i=!1;this._accept(3)&&(i=!0);const n=this._accept(8,!0);if(n)if(i){if(this._accept(4))return e.appendChild(new Hr(Number(n))),!0;if(!this._accept(1))return this._backTo(t),!1}else return e.appendChild(new Hr(Number(n))),!0;else return this._backTo(t),!1;if(this._accept(6)){const s=this._accept(9,!0);return!s||!this._accept(4)?(this._backTo(t),!1):(e.appendChild(new Hr(Number(n),s)),!0)}else if(this._accept(11)){const s=this._until(4);if(s)return e.appendChild(new Hr(Number(n),void 0,s,void 0)),!0}else if(this._accept(12)){const s=this._until(4);if(s)return e.appendChild(new Hr(Number(n),void 0,void 0,s)),!0}else if(this._accept(13)){const s=this._until(1);if(s){const r=this._until(4);if(r)return e.appendChild(new Hr(Number(n),void 0,s,r)),!0}}else{const s=this._until(4);if(s)return e.appendChild(new Hr(Number(n),void 0,void 0,s)),!0}return this._backTo(t),!1}_parseAnything(e){return this._token.type!==14?(e.appendChild(new hs(this._scanner.tokenText(this._token))),this._accept(void 0),!0):!1}}function DV(o,e,t){var i,n,s,r;return(typeof t.insertText=="string"?t.insertText==="":t.insertText.snippet==="")?{edits:(n=(i=t.additionalEdit)===null||i===void 0?void 0:i.edits)!==null&&n!==void 0?n:[]}:{edits:[...e.map(a=>new Rc(o,{range:a,text:typeof t.insertText=="string"?Ju.escape(t.insertText)+"$0":t.insertText.snippet,insertAsSnippet:!0})),...(r=(s=t.additionalEdit)===null||s===void 0?void 0:s.edits)!==null&&r!==void 0?r:[]]}}function xV(o){var e;function t(a,l){return"providerId"in a&&a.providerId===l.providerId||"mimeType"in a&&a.mimeType===l.handledMimeType}const i=new Map;for(const a of o)for(const l of(e=a.yieldTo)!==null&&e!==void 0?e:[])for(const d of o)if(d!==a&&t(l,d)){let c=i.get(a);c||(c=[],i.set(a,c)),c.push(d)}if(!i.size)return Array.from(o);const n=new Set,s=[];function r(a){if(!a.length)return[];const l=a[0];if(s.includes(l))return console.warn(`Yield to cycle detected for ${l.providerId}`),a;if(n.has(l))return r(a.slice(1));let d=[];const c=i.get(l);return c&&(s.push(l),d=r(c),s.pop()),n.add(l),[...d,l,...r(a.slice(1))]}return r(Array.from(o))}var Yue=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Xue=function(o,e){return function(t,i){e(t,i,o)}};const Que=ze.register({description:"inline-progress-widget",stickiness:1,showIfCollapsed:!0,after:{content:C9,inlineClassName:"inline-editor-progress-decoration",inlineClassNameAffectsLetterSpacing:!0}});class IL extends V{constructor(e,t,i,n,s){super(),this.typeId=e,this.editor=t,this.range=i,this.delegate=s,this.allowEditorOverflow=!1,this.suppressMouseDown=!0,this.create(n),this.editor.addContentWidget(this),this.editor.layoutContentWidget(this)}create(e){this.domNode=J(".inline-progress-widget"),this.domNode.role="button",this.domNode.title=e;const t=J("span.icon");this.domNode.append(t),t.classList.add(...Ne.asClassNameArray(re.loading),"codicon-modifier-spin");const i=()=>{const n=this.editor.getOption(67);this.domNode.style.height=`${n}px`,this.domNode.style.width=`${Math.ceil(.8*n)}px`};i(),this._register(this.editor.onDidChangeConfiguration(n=>{(n.hasChanged(52)||n.hasChanged(67))&&i()})),this._register($(this.domNode,se.CLICK,n=>{this.delegate.cancel()}))}getId(){return IL.baseId+"."+this.typeId}getDomNode(){return this.domNode}getPosition(){return{position:{lineNumber:this.range.startLineNumber,column:this.range.startColumn},preference:[0]}}dispose(){super.dispose(),this.editor.removeContentWidget(this)}}IL.baseId="editor.widget.inlineProgressWidget";let kS=class extends V{constructor(e,t,i){super(),this.id=e,this._editor=t,this._instantiationService=i,this._showDelay=500,this._showPromise=this._register(new hn),this._currentWidget=new hn,this._operationIdPool=0,this._currentDecorations=t.createDecorationsCollection()}async showWhile(e,t,i){const n=this._operationIdPool++;this._currentOperation=n,this.clear(),this._showPromise.value=Gc(()=>{const s=D.fromPositions(e);this._currentDecorations.set([{range:s,options:Que}]).length>0&&(this._currentWidget.value=this._instantiationService.createInstance(IL,this.id,this._editor,s,t,i))},this._showDelay);try{return await i}finally{this._currentOperation===n&&(this.clear(),this._currentOperation=void 0)}}clear(){this._showPromise.clear(),this._currentDecorations.clear(),this._currentWidget.clear()}};kS=Yue([Xue(2,Ie)],kS);var kV=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Z_=function(o,e){return function(t,i){e(t,i,o)}},oT;let IS=oT=class extends V{constructor(e,t,i,n,s,r,a,l,d,c){super(),this.typeId=e,this.editor=t,this.showCommand=n,this.range=s,this.edits=r,this.onSelectNewEdit=a,this._contextMenuService=l,this._keybindingService=c,this.allowEditorOverflow=!0,this.suppressMouseDown=!0,this.create(),this.visibleContext=i.bindTo(d),this.visibleContext.set(!0),this._register(Le(()=>this.visibleContext.reset())),this.editor.addContentWidget(this),this.editor.layoutContentWidget(this),this._register(Le(()=>this.editor.removeContentWidget(this))),this._register(this.editor.onDidChangeCursorPosition(h=>{s.containsPosition(h.position)||this.dispose()})),this._register(ae.runAndSubscribe(c.onDidUpdateKeybindings,()=>{this._updateButtonTitle()}))}_updateButtonTitle(){var e;const t=(e=this._keybindingService.lookupKeybinding(this.showCommand.id))===null||e===void 0?void 0:e.getLabel();this.button.element.title=this.showCommand.label+(t?` (${t})`:"")}create(){this.domNode=J(".post-edit-widget"),this.button=this._register(new mS(this.domNode,{supportIcons:!0})),this.button.label="$(insert)",this._register($(this.domNode,se.CLICK,()=>this.showSelector()))}getId(){return oT.baseId+"."+this.typeId}getDomNode(){return this.domNode}getPosition(){return{position:this.range.getEndPosition(),preference:[2]}}showSelector(){this._contextMenuService.showContextMenu({getAnchor:()=>{const e=Mi(this.button.element);return{x:e.left+e.width,y:e.top+e.height}},getActions:()=>this.edits.allEdits.map((e,t)=>Rf({id:"",label:e.label,checked:t===this.edits.activeEditIndex,run:()=>{if(t!==this.edits.activeEditIndex)return this.onSelectNewEdit(t)}}))})}};IS.baseId="editor.widget.postEditWidget";IS=oT=kV([Z_(7,so),Z_(8,Ae),Z_(9,Et)],IS);let ES=class extends V{constructor(e,t,i,n,s,r){super(),this._id=e,this._editor=t,this._visibleContext=i,this._showCommand=n,this._instantiationService=s,this._bulkEditService=r,this._currentWidget=this._register(new hn),this._register(ae.any(t.onDidChangeModel,t.onDidChangeModelContent)(()=>this.clear()))}async applyEditAndShowIfNeeded(e,t,i,n){const s=this._editor.getModel();if(!s||!e.length)return;const r=t.allEdits[t.activeEditIndex];if(!r)return;const a=DV(s.uri,e,r),l=e[0],d=s.deltaDecorations([],[{range:l,options:{description:"paste-line-suffix",stickiness:0}}]);let c,h;try{c=await this._bulkEditService.apply(a,{editor:this._editor,token:n}),h=s.getDecorationRange(d[0])}finally{s.deltaDecorations(d,[])}i&&c.isApplied&&t.allEdits.length>1&&this.show(h??l,t,async u=>{const g=this._editor.getModel();g&&(await g.undo(),this.applyEditAndShowIfNeeded(e,{activeEditIndex:u,allEdits:t.allEdits},i,n))})}show(e,t,i){this.clear(),this._editor.hasModel()&&(this._currentWidget.value=this._instantiationService.createInstance(IS,this._id,this._editor,this._visibleContext,this._showCommand,e,t,i))}clear(){this._currentWidget.clear()}tryShowSelector(){var e;(e=this._currentWidget.value)===null||e===void 0||e.showSelector()}};ES=kV([Z_(4,Ie),Z_(5,c0)],ES);var Jue=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},r3=function(o,e){return function(t,i){e(t,i,o)}},F1;let bs=F1=class{static get(e){return e.getContribution(F1.ID)}constructor(e,t,i){this._openerService=i,this._messageWidget=new hn,this._messageListeners=new X,this._mouseOverMessage=!1,this._editor=e,this._visible=F1.MESSAGE_VISIBLE.bindTo(t)}dispose(){var e;(e=this._message)===null||e===void 0||e.dispose(),this._messageListeners.dispose(),this._messageWidget.dispose(),this._visible.reset()}showMessage(e,t){eo(ll(e)?e.value:e),this._visible.set(!0),this._messageWidget.clear(),this._messageListeners.clear(),this._message=ll(e)?jy(e,{actionHandler:{callback:n=>{this.closeMessage(),A2(this._openerService,n,ll(e)?e.isTrusted:void 0)},disposables:this._messageListeners}}):void 0,this._messageWidget.value=new a3(this._editor,t,typeof e=="string"?e:this._message.element),this._messageListeners.add(ae.debounce(this._editor.onDidBlurEditorText,(n,s)=>s,0)(()=>{this._mouseOverMessage||this._messageWidget.value&&Cn(Nn(),this._messageWidget.value.getDomNode())||this.closeMessage()})),this._messageListeners.add(this._editor.onDidChangeCursorPosition(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidDispose(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeModel(()=>this.closeMessage())),this._messageListeners.add($(this._messageWidget.value.getDomNode(),se.MOUSE_ENTER,()=>this._mouseOverMessage=!0,!0)),this._messageListeners.add($(this._messageWidget.value.getDomNode(),se.MOUSE_LEAVE,()=>this._mouseOverMessage=!1,!0));let i;this._messageListeners.add(this._editor.onMouseMove(n=>{n.target.position&&(i?i.containsPosition(n.target.position)||this.closeMessage():i=new D(t.lineNumber-3,1,n.target.position.lineNumber+3,1))}))}closeMessage(){this._visible.reset(),this._messageListeners.clear(),this._messageWidget.value&&this._messageListeners.add(a3.fadeOut(this._messageWidget.value))}};bs.ID="editor.contrib.messageController";bs.MESSAGE_VISIBLE=new de("messageVisible",!1,m("messageVisible","Whether the editor is currently showing an inline message"));bs=F1=Jue([r3(1,Ae),r3(2,Hs)],bs);const ege=un.bindToContribution(bs.get);le(new ege({id:"leaveEditorMessage",precondition:bs.MESSAGE_VISIBLE,handler:o=>o.closeMessage(),kbOpts:{weight:130,primary:9}}));let a3=class{static fadeOut(e){const t=()=>{e.dispose(),clearTimeout(i),e.getDomNode().removeEventListener("animationend",t)},i=setTimeout(t,110);return e.getDomNode().addEventListener("animationend",t),e.getDomNode().classList.add("fadeOut"),{dispose:t}}constructor(e,{lineNumber:t,column:i},n){this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._editor=e,this._editor.revealLinesInCenterIfOutsideViewport(t,t,0),this._position={lineNumber:t,column:i},this._domNode=document.createElement("div"),this._domNode.classList.add("monaco-editor-overlaymessage"),this._domNode.style.marginLeft="-6px";const s=document.createElement("div");s.classList.add("anchor","top"),this._domNode.appendChild(s);const r=document.createElement("div");typeof n=="string"?(r.classList.add("message"),r.textContent=n):(n.classList.add("message"),r.appendChild(n)),this._domNode.appendChild(r);const a=document.createElement("div");a.classList.add("anchor","below"),this._domNode.appendChild(a),this._editor.addContentWidget(this),this._domNode.classList.add("fadeIn")}dispose(){this._editor.removeContentWidget(this)}getId(){return"messageoverlay"}getDomNode(){return this._domNode}getPosition(){return{position:this._position,preference:[1,2],positionAffinity:1}}afterRender(e){this._domNode.classList.toggle("below",e===2)}};vt(bs.ID,bs,4);var tge=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Hg=function(o,e){return function(t,i){e(t,i,o)}},rT;const IV="editor.changePasteType",EV=new de("pasteWidgetVisible",!1,m("pasteWidgetVisible","Whether the paste widget is showing")),Zx="application/vnd.code.copyMetadata";let Nd=rT=class extends V{static get(e){return e.getContribution(rT.ID)}constructor(e,t,i,n,s,r,a){super(),this._bulkEditService=i,this._clipboardService=n,this._languageFeaturesService=s,this._quickInputService=r,this._progressService=a,this._editor=e;const l=e.getContainerDomNode();this._register($(l,"copy",d=>this.handleCopy(d))),this._register($(l,"cut",d=>this.handleCopy(d))),this._register($(l,"paste",d=>this.handlePaste(d),!0)),this._pasteProgressManager=this._register(new kS("pasteIntoEditor",e,t)),this._postPasteWidgetManager=this._register(t.createInstance(ES,"pasteIntoEditor",e,EV,{id:IV,label:m("postPasteWidgetTitle","Show paste options...")}))}changePasteType(){this._postPasteWidgetManager.tryShowSelector()}pasteAs(e){this._editor.focus();try{this._pasteAsActionContext={preferredId:e},Ym().execCommand("paste")}finally{this._pasteAsActionContext=void 0}}isPasteAsEnabled(){return this._editor.getOption(85).enabled&&!this._editor.getOption(91)}async finishedPaste(){await this._currentPasteOperation}handleCopy(e){var t,i;if(!this._editor.hasTextFocus()||(bh&&this._clipboardService.writeResources([]),!e.clipboardData||!this.isPasteAsEnabled()))return;const n=this._editor.getModel(),s=this._editor.getSelections();if(!n||!(s!=null&&s.length))return;const r=this._editor.getOption(37);let a=s;const l=s.length===1&&s[0].isEmpty();if(l){if(!r)return;a=[new D(a[0].startLineNumber,1,a[0].startLineNumber,1+n.getLineLength(a[0].startLineNumber))]}const d=(t=this._editor._getViewModel())===null||t===void 0?void 0:t.getPlainTextToCopy(s,r,Vn),h={multicursorText:Array.isArray(d)?d:null,pasteOnNewLine:l,mode:null},u=this._languageFeaturesService.documentPasteEditProvider.ordered(n).filter(v=>!!v.prepareDocumentPaste);if(!u.length){this.setCopyMetadata(e.clipboardData,{defaultPastePayload:h});return}const g=SV(e.clipboardData),f=u.flatMap(v=>{var b;return(b=v.copyMimeTypes)!==null&&b!==void 0?b:[]}),p=xL();this.setCopyMetadata(e.clipboardData,{id:p,providerCopyMimeTypes:f,defaultPastePayload:h});const _=tn(async v=>{const b=oa(await Promise.all(u.map(async C=>{try{return await C.prepareDocumentPaste(n,a,g,v)}catch(w){console.error(w);return}})));b.reverse();for(const C of b)for(const[w,S]of C)g.replace(w,S);return g});(i=this._currentCopyOperation)===null||i===void 0||i.dataTransferPromise.cancel(),this._currentCopyOperation={handle:p,dataTransferPromise:_}}async handlePaste(e){var t,i,n,s,r;if(!e.clipboardData||!this._editor.hasTextFocus())return;(t=bs.get(this._editor))===null||t===void 0||t.closeMessage(),(i=this._currentPasteOperation)===null||i===void 0||i.cancel(),this._currentPasteOperation=void 0;const a=this._editor.getModel(),l=this._editor.getSelections();if(!(l!=null&&l.length)||!a||!this.isPasteAsEnabled()&&!this._pasteAsActionContext)return;const d=this.fetchCopyMetadata(e),c=yV(e.clipboardData);c.delete(Zx);const h=[...e.clipboardData.types,...(n=d==null?void 0:d.providerCopyMimeTypes)!==null&&n!==void 0?n:[],pi.uriList],u=this._languageFeaturesService.documentPasteEditProvider.ordered(a).filter(g=>{var f,p;return!((f=this._pasteAsActionContext)===null||f===void 0)&&f.preferredId&&this._pasteAsActionContext.preferredId!==g.id?!1:(p=g.pasteMimeTypes)===null||p===void 0?void 0:p.some(_=>CV(_,h))});if(!u.length){!((s=this._pasteAsActionContext)===null||s===void 0)&&s.preferredId&&this.showPasteAsNoEditMessage(l,(r=this._pasteAsActionContext)===null||r===void 0?void 0:r.preferredId);return}e.preventDefault(),e.stopImmediatePropagation(),this._pasteAsActionContext?this.showPasteAsPick(this._pasteAsActionContext.preferredId,u,l,c,d,{trigger:"explicit",only:this._pasteAsActionContext.preferredId}):this.doPasteInline(u,l,c,d,{trigger:"implicit"})}showPasteAsNoEditMessage(e,t){var i;(i=bs.get(this._editor))===null||i===void 0||i.showMessage(m("pasteAsError","No paste edits for '{0}' found",t),e[0].getStartPosition())}doPasteInline(e,t,i,n,s){const r=tn(async a=>{const l=this._editor;if(!l.hasModel())return;const d=l.getModel(),c=new oh(l,3,void 0,a);try{if(await this.mergeInDataFromCopy(i,n,c.token),c.token.isCancellationRequested)return;const h=e.filter(g=>l3(g,i));if(!h.length||h.length===1&&h[0].id==="text"){await this.applyDefaultPasteHandler(i,n,c.token);return}const u=await this.getPasteEdits(h,i,d,t,s,c.token);if(c.token.isCancellationRequested)return;if(u.length===1&&u[0].providerId==="text"){await this.applyDefaultPasteHandler(i,n,c.token);return}if(u.length){const g=l.getOption(85).showPasteSelector==="afterPaste";return this._postPasteWidgetManager.applyEditAndShowIfNeeded(t,{activeEditIndex:0,allEdits:u},g,c.token)}await this.applyDefaultPasteHandler(i,n,c.token)}finally{c.dispose(),this._currentPasteOperation===r&&(this._currentPasteOperation=void 0)}});this._pasteProgressManager.showWhile(t[0].getEndPosition(),m("pasteIntoEditorProgress","Running paste handlers. Click to cancel"),r),this._currentPasteOperation=r}showPasteAsPick(e,t,i,n,s,r){const a=tn(async l=>{const d=this._editor;if(!d.hasModel())return;const c=d.getModel(),h=new oh(d,3,void 0,l);try{if(await this.mergeInDataFromCopy(n,s,h.token),h.token.isCancellationRequested)return;let u=t.filter(_=>l3(_,n));e&&(u=u.filter(_=>_.id===e));const g=await this.getPasteEdits(u,n,c,i,r,h.token);if(h.token.isCancellationRequested)return;if(!g.length){r.only&&this.showPasteAsNoEditMessage(i,r.only);return}let f;if(e)f=g.at(0);else{const _=await this._quickInputService.pick(g.map(v=>({label:v.label,description:v.providerId,detail:v.detail,edit:v})),{placeHolder:m("pasteAsPickerPlaceholder","Select Paste Action")});f=_==null?void 0:_.edit}if(!f)return;const p=DV(c.uri,i,f);await this._bulkEditService.apply(p,{editor:this._editor})}finally{h.dispose(),this._currentPasteOperation===a&&(this._currentPasteOperation=void 0)}});this._progressService.withProgress({location:10,title:m("pasteAsProgress","Running paste handlers")},()=>a)}setCopyMetadata(e,t){e.setData(Zx,JSON.stringify(t))}fetchCopyMetadata(e){var t;if(!e.clipboardData)return;const i=e.clipboardData.getData(Zx);if(i)try{return JSON.parse(i)}catch{return}const[n,s]=oE.getTextData(e.clipboardData);if(s)return{defaultPastePayload:{mode:s.mode,multicursorText:(t=s.multicursorText)!==null&&t!==void 0?t:null,pasteOnNewLine:!!s.isFromEmptySelection}}}async mergeInDataFromCopy(e,t,i){var n;if(t!=null&&t.id&&((n=this._currentCopyOperation)===null||n===void 0?void 0:n.handle)===t.id){const s=await this._currentCopyOperation.dataTransferPromise;if(i.isCancellationRequested)return;for(const[r,a]of s)e.replace(r,a)}if(!e.has(pi.uriList)){const s=await this._clipboardService.readResources();if(i.isCancellationRequested)return;s.length&&e.append(pi.uriList,DA(kL.create(s)))}}async getPasteEdits(e,t,i,n,s,r){const a=await qb(Promise.all(e.map(async d=>{var c;try{const h=await((c=d.provideDocumentPasteEdits)===null||c===void 0?void 0:c.call(d,i,n,t,s,r));if(h)return{...h,providerId:d.id}}catch(h){console.error(h)}})),r),l=oa(a??[]);return xV(l)}async applyDefaultPasteHandler(e,t,i){var n,s,r;const a=(n=e.get(pi.text))!==null&&n!==void 0?n:e.get("text");if(!a)return;const l=await a.asString();if(i.isCancellationRequested)return;const d={text:l,pasteOnNewLine:(s=t==null?void 0:t.defaultPastePayload.pasteOnNewLine)!==null&&s!==void 0?s:!1,multicursorText:(r=t==null?void 0:t.defaultPastePayload.multicursorText)!==null&&r!==void 0?r:null,mode:null};this._editor.trigger("keyboard","paste",d)}};Nd.ID="editor.contrib.copyPasteActionController";Nd=rT=tge([Hg(1,Ie),Hg(2,c0),Hg(3,Fd),Hg(4,fe),Hg(5,wa),Hg(6,pW)],Nd);function l3(o,e){var t;return!!(!((t=o.pasteMimeTypes)===null||t===void 0)&&t.some(i=>e.matches(i)))}const eg="9_cutcopypaste",ige=Jr||document.queryCommandSupported("cut"),NV=Jr||document.queryCommandSupported("copy"),nge=typeof navigator.clipboard>"u"||qo?document.queryCommandSupported("paste"):!0;function kA(o){return o.register(),o}const sge=ige?kA(new Qm({id:"editor.action.clipboardCutAction",precondition:void 0,kbOpts:Jr?{primary:2102,win:{primary:2102,secondary:[1044]},weight:100}:void 0,menuOpts:[{menuId:k.MenubarEditMenu,group:"2_ccp",title:m({key:"miCut",comment:["&& denotes a mnemonic"]},"Cu&&t"),order:1},{menuId:k.EditorContext,group:eg,title:m("actions.clipboard.cutLabel","Cut"),when:E.writable,order:1},{menuId:k.CommandPalette,group:"",title:m("actions.clipboard.cutLabel","Cut"),order:1},{menuId:k.SimpleEditorContext,group:eg,title:m("actions.clipboard.cutLabel","Cut"),when:E.writable,order:1}]})):void 0,oge=NV?kA(new Qm({id:"editor.action.clipboardCopyAction",precondition:void 0,kbOpts:Jr?{primary:2081,win:{primary:2081,secondary:[2067]},weight:100}:void 0,menuOpts:[{menuId:k.MenubarEditMenu,group:"2_ccp",title:m({key:"miCopy",comment:["&& denotes a mnemonic"]},"&&Copy"),order:2},{menuId:k.EditorContext,group:eg,title:m("actions.clipboard.copyLabel","Copy"),order:2},{menuId:k.CommandPalette,group:"",title:m("actions.clipboard.copyLabel","Copy"),order:1},{menuId:k.SimpleEditorContext,group:eg,title:m("actions.clipboard.copyLabel","Copy"),order:2}]})):void 0;wn.appendMenuItem(k.MenubarEditMenu,{submenu:k.MenubarCopy,title:mt("copy as","Copy As"),group:"2_ccp",order:3});wn.appendMenuItem(k.EditorContext,{submenu:k.EditorContextCopy,title:mt("copy as","Copy As"),group:eg,order:3});wn.appendMenuItem(k.EditorContext,{submenu:k.EditorContextShare,title:mt("share","Share"),group:"11_share",order:-1,when:q.and(q.notEquals("resourceScheme","output"),E.editorTextFocus)});wn.appendMenuItem(k.EditorTitleContext,{submenu:k.EditorTitleContextShare,title:mt("share","Share"),group:"11_share",order:-1});wn.appendMenuItem(k.ExplorerContext,{submenu:k.ExplorerContextShare,title:mt("share","Share"),group:"11_share",order:-1});const Yx=nge?kA(new Qm({id:"editor.action.clipboardPasteAction",precondition:void 0,kbOpts:Jr?{primary:2100,win:{primary:2100,secondary:[1043]},linux:{primary:2100,secondary:[1043]},weight:100}:void 0,menuOpts:[{menuId:k.MenubarEditMenu,group:"2_ccp",title:m({key:"miPaste",comment:["&& denotes a mnemonic"]},"&&Paste"),order:4},{menuId:k.EditorContext,group:eg,title:m("actions.clipboard.pasteLabel","Paste"),when:E.writable,order:4},{menuId:k.CommandPalette,group:"",title:m("actions.clipboard.pasteLabel","Paste"),order:1},{menuId:k.SimpleEditorContext,group:eg,title:m("actions.clipboard.pasteLabel","Paste"),when:E.writable,order:4}]})):void 0;class rge extends he{constructor(){super({id:"editor.action.clipboardCopyWithSyntaxHighlightingAction",label:m("actions.clipboard.copyWithSyntaxHighlightingLabel","Copy With Syntax Highlighting"),alias:"Copy With Syntax Highlighting",precondition:void 0,kbOpts:{kbExpr:E.textInputFocus,primary:0,weight:100}})}run(e,t){!t.hasModel()||!t.getOption(37)&&t.getSelection().isEmpty()||(nE.forceCopyWithSyntaxHighlighting=!0,t.focus(),t.getContainerDomNode().ownerDocument.execCommand("copy"),nE.forceCopyWithSyntaxHighlighting=!1)}}function TV(o,e){o&&(o.addImplementation(1e4,"code-editor",(t,i)=>{const n=t.get(_t).getFocusedCodeEditor();if(n&&n.hasTextFocus()){const s=n.getOption(37),r=n.getSelection();return r&&r.isEmpty()&&!s||n.getContainerDomNode().ownerDocument.execCommand(e),!0}return!1}),o.addImplementation(0,"generic-dom",(t,i)=>(Ym().execCommand(e),!0)))}TV(sge,"cut");TV(oge,"copy");Yx&&(Yx.addImplementation(1e4,"code-editor",(o,e)=>{var t,i;const n=o.get(_t),s=o.get(Fd),r=n.getFocusedCodeEditor();return r&&r.hasTextFocus()?r.getContainerDomNode().ownerDocument.execCommand("paste")?(i=(t=Nd.get(r))===null||t===void 0?void 0:t.finishedPaste())!==null&&i!==void 0?i:Promise.resolve():bh?(async()=>{const l=await s.readText();if(l!==""){const d=Mv.INSTANCE.get(l);let c=!1,h=null,u=null;d&&(c=r.getOption(37)&&!!d.isFromEmptySelection,h=typeof d.multicursorText<"u"?d.multicursorText:null,u=d.mode),r.trigger("keyboard","paste",{text:l,pasteOnNewLine:c,multicursorText:h,mode:u})}})():!0:!1}),Yx.addImplementation(0,"generic-dom",(o,e)=>(Ym().execCommand("paste"),!0)));NV&&Q(rge);class Pe{constructor(e){this.value=e}equals(e){return this.value===e.value}contains(e){return this.equals(e)||this.value===""||e.value.startsWith(this.value+Pe.sep)}intersects(e){return this.contains(e)||e.contains(this)}append(e){return new Pe(this.value+Pe.sep+e)}}Pe.sep=".";Pe.None=new Pe("@@none@@");Pe.Empty=new Pe("");Pe.QuickFix=new Pe("quickfix");Pe.Refactor=new Pe("refactor");Pe.RefactorExtract=Pe.Refactor.append("extract");Pe.RefactorInline=Pe.Refactor.append("inline");Pe.RefactorMove=Pe.Refactor.append("move");Pe.RefactorRewrite=Pe.Refactor.append("rewrite");Pe.Notebook=new Pe("notebook");Pe.Source=new Pe("source");Pe.SourceOrganizeImports=Pe.Source.append("organizeImports");Pe.SourceFixAll=Pe.Source.append("fixAll");Pe.SurroundWith=Pe.Refactor.append("surround");var to;(function(o){o.Refactor="refactor",o.RefactorPreview="refactor preview",o.Lightbulb="lightbulb",o.Default="other (default)",o.SourceAction="source action",o.QuickFix="quick fix action",o.FixAll="fix all",o.OrganizeImports="organize imports",o.AutoFix="auto fix",o.QuickFixHover="quick fix hover window",o.OnSave="save participants",o.ProblemsView="problems view"})(to||(to={}));function age(o,e){return!(o.include&&!o.include.intersects(e)||o.excludes&&o.excludes.some(t=>MV(e,t,o.include))||!o.includeSourceActions&&Pe.Source.contains(e))}function lge(o,e){const t=e.kind?new Pe(e.kind):void 0;return!(o.include&&(!t||!o.include.contains(t))||o.excludes&&t&&o.excludes.some(i=>MV(t,i,o.include))||!o.includeSourceActions&&t&&Pe.Source.contains(t)||o.onlyIncludePreferredActions&&!e.isPreferred)}function MV(o,e,t){return!(!e.contains(o)||t&&e.contains(t))}class Ya{static fromUser(e,t){return!e||typeof e!="object"?new Ya(t.kind,t.apply,!1):new Ya(Ya.getKindFromUser(e,t.kind),Ya.getApplyFromUser(e,t.apply),Ya.getPreferredUser(e))}static getApplyFromUser(e,t){switch(typeof e.apply=="string"?e.apply.toLowerCase():""){case"first":return"first";case"never":return"never";case"ifsingle":return"ifSingle";default:return t}}static getKindFromUser(e,t){return typeof e.kind=="string"?new Pe(e.kind):t}static getPreferredUser(e){return typeof e.preferred=="boolean"?e.preferred:!1}constructor(e,t,i){this.kind=e,this.apply=t,this.preferred=i}}class dge{constructor(e,t,i){this.action=e,this.provider=t,this.highlightRange=i}async resolve(e){var t;if(!((t=this.provider)===null||t===void 0)&&t.resolveCodeAction&&!this.action.edit){let i;try{i=await this.provider.resolveCodeAction(this.action,e)}catch(n){Fi(n)}i&&(this.action.edit=i.edit)}return this}}const RV="editor.action.codeAction",IA="editor.action.quickFix",AV="editor.action.autoFix",PV="editor.action.refactor",OV="editor.action.sourceAction",EA="editor.action.organizeImports",NA="editor.action.fixAll";class Y_ extends V{static codeActionsPreferredComparator(e,t){return e.isPreferred&&!t.isPreferred?-1:!e.isPreferred&&t.isPreferred?1:0}static codeActionsComparator({action:e},{action:t}){return e.isAI&&!t.isAI?1:!e.isAI&&t.isAI?-1:Bn(e.diagnostics)?Bn(t.diagnostics)?Y_.codeActionsPreferredComparator(e,t):-1:Bn(t.diagnostics)?1:Y_.codeActionsPreferredComparator(e,t)}constructor(e,t,i){super(),this.documentation=t,this._register(i),this.allActions=[...e].sort(Y_.codeActionsComparator),this.validActions=this.allActions.filter(({action:n})=>!n.disabled)}get hasAutoFix(){return this.validActions.some(({action:e})=>!!e.kind&&Pe.QuickFix.contains(new Pe(e.kind))&&!!e.isPreferred)}get hasAIFix(){return this.validActions.some(({action:e})=>!!e.isAI)}get allAIFixes(){return this.validActions.every(({action:e})=>!!e.isAI)}}const d3={actions:[],documentation:void 0};async function X_(o,e,t,i,n,s){var r;const a=i.filter||{},l={...a,excludes:[...a.excludes||[],Pe.Notebook]},d={only:(r=a.include)===null||r===void 0?void 0:r.value,trigger:i.type},c=new vA(e,s),h=i.type===2,u=cge(o,e,h?l:a),g=new X,f=u.map(async _=>{try{n.report(_);const v=await _.provideCodeActions(e,t,d,c.token);if(v&&g.add(v),c.token.isCancellationRequested)return d3;const b=((v==null?void 0:v.actions)||[]).filter(w=>w&&lge(a,w)),C=uge(_,b,a.include);return{actions:b.map(w=>new dge(w,_)),documentation:C}}catch(v){if(_a(v))throw v;return Fi(v),d3}}),p=o.onDidChange(()=>{const _=o.all(e);ri(_,u)||c.cancel()});try{const _=await Promise.all(f),v=_.map(C=>C.actions).flat(),b=[...oa(_.map(C=>C.documentation)),...hge(o,e,i,v)];return new Y_(v,b,g)}finally{p.dispose(),c.dispose()}}function cge(o,e,t){return o.all(e).filter(i=>i.providedCodeActionKinds?i.providedCodeActionKinds.some(n=>age(t,new Pe(n))):!0)}function*hge(o,e,t,i){var n,s,r;if(e&&i.length)for(const a of o.all(e))a._getAdditionalMenuItems&&(yield*(n=a._getAdditionalMenuItems)===null||n===void 0?void 0:n.call(a,{trigger:t.type,only:(r=(s=t.filter)===null||s===void 0?void 0:s.include)===null||r===void 0?void 0:r.value},i.map(l=>l.action)))}function uge(o,e,t){if(!o.documentation)return;const i=o.documentation.map(n=>({kind:new Pe(n.kind),command:n.command}));if(t){let n;for(const s of i)s.kind.contains(t)&&(n?n.kind.contains(s.kind)&&(n=s):n=s);if(n)return n==null?void 0:n.command}for(const n of e)if(n.kind){for(const s of i)if(s.kind.contains(new Pe(n.kind)))return s.command}}var em;(function(o){o.OnSave="onSave",o.FromProblemsView="fromProblemsView",o.FromCodeActions="fromCodeActions",o.FromAILightbulb="fromAILightbulb"})(em||(em={}));async function gge(o,e,t,i,n=st.None){var s;const r=o.get(c0),a=o.get(ai),l=o.get(Jn),d=o.get(Ri);if(l.publicLog2("codeAction.applyCodeAction",{codeActionTitle:e.action.title,codeActionKind:e.action.kind,codeActionIsPreferred:!!e.action.isPreferred,reason:t}),await e.resolve(n),!n.isCancellationRequested&&!(!((s=e.action.edit)===null||s===void 0)&&s.edits.length&&!(await r.apply(e.action.edit,{editor:i==null?void 0:i.editor,label:e.action.title,quotableLabel:e.action.title,code:"undoredo.codeAction",respectAutoSaveConfig:t!==em.OnSave,showPreview:i==null?void 0:i.preview})).isApplied)&&e.action.command)try{await a.executeCommand(e.action.command.id,...e.action.command.arguments||[])}catch(c){const h=fge(c);d.error(typeof h=="string"?h:m("applyCodeActionFailed","An unknown error occurred while applying the code action"))}}function fge(o){return typeof o=="string"?o:o instanceof Error&&typeof o.message=="string"?o.message:void 0}ct.registerCommand("_executeCodeActionProvider",async function(o,e,t,i,n){if(!(e instanceof xe))throw $o();const{codeActionProvider:s}=o.get(fe),r=o.get(si).getModel(e);if(!r)throw $o();const a=_e.isISelection(t)?_e.liftSelection(t):D.isIRange(t)?r.validateRange(t):void 0;if(!a)throw $o();const l=typeof i=="string"?new Pe(i):void 0,d=await X_(s,r,a,{type:1,triggerAction:to.Default,filter:{includeSourceActions:!0,include:l}},Cd.None,st.None),c=[],h=Math.min(d.validActions.length,typeof n=="number"?n:0);for(let u=0;uu.action)}finally{setTimeout(()=>d.dispose(),100)}});var mge=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},pge=function(o,e){return function(t,i){e(t,i,o)}},aT;let NS=aT=class{constructor(e){this.keybindingService=e}getResolver(){const e=new yl(()=>this.keybindingService.getKeybindings().filter(t=>aT.codeActionCommands.indexOf(t.command)>=0).filter(t=>t.resolvedKeybinding).map(t=>{let i=t.commandArgs;return t.command===EA?i={kind:Pe.SourceOrganizeImports.value}:t.command===NA&&(i={kind:Pe.SourceFixAll.value}),{resolvedKeybinding:t.resolvedKeybinding,...Ya.fromUser(i,{kind:Pe.None,apply:"never"})}}));return t=>{if(t.kind){const i=this.bestKeybindingForCodeAction(t,e.value);return i==null?void 0:i.resolvedKeybinding}}}bestKeybindingForCodeAction(e,t){if(!e.kind)return;const i=new Pe(e.kind);return t.filter(n=>n.kind.contains(i)).filter(n=>n.preferred?e.isPreferred:!0).reduceRight((n,s)=>n?n.kind.contains(s.kind)?s:n:s,void 0)}};NS.codeActionCommands=[PV,RV,OV,EA,NA];NS=aT=mge([pge(0,Et)],NS);N("symbolIcon.arrayForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.arrayForeground","The foreground color for array symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.booleanForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.booleanForeground","The foreground color for boolean symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.classForeground",{dark:"#EE9D28",light:"#D67E00",hcDark:"#EE9D28",hcLight:"#D67E00"},m("symbolIcon.classForeground","The foreground color for class symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.colorForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.colorForeground","The foreground color for color symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.constantForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.constantForeground","The foreground color for constant symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.constructorForeground",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},m("symbolIcon.constructorForeground","The foreground color for constructor symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.enumeratorForeground",{dark:"#EE9D28",light:"#D67E00",hcDark:"#EE9D28",hcLight:"#D67E00"},m("symbolIcon.enumeratorForeground","The foreground color for enumerator symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.enumeratorMemberForeground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},m("symbolIcon.enumeratorMemberForeground","The foreground color for enumerator member symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.eventForeground",{dark:"#EE9D28",light:"#D67E00",hcDark:"#EE9D28",hcLight:"#D67E00"},m("symbolIcon.eventForeground","The foreground color for event symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.fieldForeground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},m("symbolIcon.fieldForeground","The foreground color for field symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.fileForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.fileForeground","The foreground color for file symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.folderForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.folderForeground","The foreground color for folder symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.functionForeground",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},m("symbolIcon.functionForeground","The foreground color for function symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.interfaceForeground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},m("symbolIcon.interfaceForeground","The foreground color for interface symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.keyForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.keyForeground","The foreground color for key symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.keywordForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.keywordForeground","The foreground color for keyword symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.methodForeground",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},m("symbolIcon.methodForeground","The foreground color for method symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.moduleForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.moduleForeground","The foreground color for module symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.namespaceForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.namespaceForeground","The foreground color for namespace symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.nullForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.nullForeground","The foreground color for null symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.numberForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.numberForeground","The foreground color for number symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.objectForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.objectForeground","The foreground color for object symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.operatorForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.operatorForeground","The foreground color for operator symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.packageForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.packageForeground","The foreground color for package symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.propertyForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.propertyForeground","The foreground color for property symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.referenceForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.referenceForeground","The foreground color for reference symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.snippetForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.snippetForeground","The foreground color for snippet symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.stringForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.stringForeground","The foreground color for string symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.structForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.structForeground","The foreground color for struct symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.textForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.textForeground","The foreground color for text symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.typeParameterForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.typeParameterForeground","The foreground color for type parameter symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.unitForeground",{dark:oe,light:oe,hcDark:oe,hcLight:oe},m("symbolIcon.unitForeground","The foreground color for unit symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));N("symbolIcon.variableForeground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},m("symbolIcon.variableForeground","The foreground color for variable symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));const FV=Object.freeze({kind:Pe.Empty,title:m("codeAction.widget.id.more","More Actions...")}),_ge=Object.freeze([{kind:Pe.QuickFix,title:m("codeAction.widget.id.quickfix","Quick Fix")},{kind:Pe.RefactorExtract,title:m("codeAction.widget.id.extract","Extract"),icon:re.wrench},{kind:Pe.RefactorInline,title:m("codeAction.widget.id.inline","Inline"),icon:re.wrench},{kind:Pe.RefactorRewrite,title:m("codeAction.widget.id.convert","Rewrite"),icon:re.wrench},{kind:Pe.RefactorMove,title:m("codeAction.widget.id.move","Move"),icon:re.wrench},{kind:Pe.SurroundWith,title:m("codeAction.widget.id.surround","Surround With"),icon:re.surroundWith},{kind:Pe.Source,title:m("codeAction.widget.id.source","Source Action"),icon:re.symbolFile},FV]);function vge(o,e,t){if(!e)return o.map(s=>{var r;return{kind:"action",item:s,group:FV,disabled:!!s.action.disabled,label:s.action.disabled||s.action.title,canPreview:!!(!((r=s.action.edit)===null||r===void 0)&&r.edits.length)}});const i=_ge.map(s=>({group:s,actions:[]}));for(const s of o){const r=s.action.kind?new Pe(s.action.kind):Pe.None;for(const a of i)if(a.group.kind.contains(r)){a.actions.push(s);break}}const n=[];for(const s of i)if(s.actions.length){n.push({kind:"header",group:s.group});for(const r of s.actions){const a=s.group;n.push({kind:"action",item:r,group:r.action.isAI?{title:a.title,kind:a.kind,icon:re.sparkle}:a,label:r.action.title,disabled:!!r.action.disabled,keybinding:t(r.action)})}}return n}var bge=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},c3=function(o,e){return function(t,i){e(t,i,o)}},lT,xf;(function(o){o.Hidden={type:0};class e{constructor(i,n,s,r){this.actions=i,this.trigger=n,this.editorPosition=s,this.widgetPosition=r,this.type=1}}o.Showing=e})(xf||(xf={}));let tg=lT=class extends V{constructor(e,t,i){super(),this._editor=e,this._keybindingService=t,this._onClick=this._register(new O),this.onClick=this._onClick.event,this._state=xf.Hidden,this._iconClasses=[],this._domNode=J("div.lightBulbWidget"),this._register(Ft.ignoreTarget(this._domNode)),this._editor.addContentWidget(this),this._register(this._editor.onDidChangeModelContent(n=>{const s=this._editor.getModel();(this.state.type!==1||!s||this.state.editorPosition.lineNumber>=s.getLineCount())&&this.hide()})),this._register(gK(this._domNode,n=>{if(this.state.type!==1)return;this._editor.focus(),n.preventDefault();const{top:s,height:r}=Mi(this._domNode),a=this._editor.getOption(67);let l=Math.floor(a/3);this.state.widgetPosition.position!==null&&this.state.widgetPosition.position.lineNumber{(n.buttons&1)===1&&this.hide()})),this._register(ae.runAndSubscribe(this._keybindingService.onDidUpdateKeybindings,()=>{var n,s,r,a;this._preferredKbLabel=(s=(n=this._keybindingService.lookupKeybinding(AV))===null||n===void 0?void 0:n.getLabel())!==null&&s!==void 0?s:void 0,this._quickFixKbLabel=(a=(r=this._keybindingService.lookupKeybinding(IA))===null||r===void 0?void 0:r.getLabel())!==null&&a!==void 0?a:void 0,this._updateLightBulbTitleAndIcon()}))}dispose(){super.dispose(),this._editor.removeContentWidget(this)}getId(){return"LightBulbWidget"}getDomNode(){return this._domNode}getPosition(){return this._state.type===1?this._state.widgetPosition:null}update(e,t,i){if(e.validActions.length<=0)return this.hide();if(!this._editor.getOptions().get(65).enabled)return this.hide();const s=this._editor.getModel();if(!s)return this.hide();const{lineNumber:r,column:a}=s.validatePosition(i),l=s.getOptions().tabSize,d=this._editor.getOptions().get(50),c=s.getLineContent(r),h=Oy(c,l),u=d.spaceWidth*h>22,g=_=>_>2&&this._editor.getTopForLineNumber(_)===this._editor.getTopForLineNumber(_-1);let f=r,p=1;if(!u){if(r>1&&!g(r-1))f-=1;else if(r=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},dT=function(o,e){return function(t,i){e(t,i,o)}};const WV="acceptSelectedCodeAction",VV="previewSelectedCodeAction";class Cge{get templateId(){return"header"}renderTemplate(e){e.classList.add("group-header");const t=document.createElement("span");return e.append(t),{container:e,text:t}}renderElement(e,t,i){var n,s;i.text.textContent=(s=(n=e.group)===null||n===void 0?void 0:n.title)!==null&&s!==void 0?s:""}disposeTemplate(e){}}let cT=class{get templateId(){return"action"}constructor(e,t){this._supportsPreview=e,this._keybindingService=t}renderTemplate(e){e.classList.add(this.templateId);const t=document.createElement("div");t.className="icon",e.append(t);const i=document.createElement("span");i.className="title",e.append(i);const n=new ap(e,qs);return{container:e,icon:t,text:i,keybinding:n}}renderElement(e,t,i){var n,s,r;if(!((n=e.group)===null||n===void 0)&&n.icon?(i.icon.className=Ne.asClassName(e.group.icon),e.group.icon.color&&(i.icon.style.color=ce(e.group.icon.color.id))):(i.icon.className=Ne.asClassName(re.lightBulb),i.icon.style.color="var(--vscode-editorLightBulb-foreground)"),!e.item||!e.label)return;i.text.textContent=HV(e.label),i.keybinding.set(e.keybinding),IK(!!e.keybinding,i.keybinding.element);const a=(s=this._keybindingService.lookupKeybinding(WV))===null||s===void 0?void 0:s.getLabel(),l=(r=this._keybindingService.lookupKeybinding(VV))===null||r===void 0?void 0:r.getLabel();i.container.classList.toggle("option-disabled",e.disabled),e.disabled?i.container.title=e.label:a&&l?this._supportsPreview&&e.canPreview?i.container.title=m({key:"label-preview",comment:['placeholders are keybindings, e.g "F2 to apply, Shift+F2 to preview"']},"{0} to apply, {1} to preview",a,l):i.container.title=m({key:"label",comment:['placeholder is a keybinding, e.g "F2 to apply"']},"{0} to apply",a):i.container.title=""}disposeTemplate(e){}};cT=BV([dT(1,Et)],cT);class wge extends UIEvent{constructor(){super("acceptSelectedAction")}}class h3 extends UIEvent{constructor(){super("previewSelectedAction")}}function Sge(o){if(o.kind==="action")return o.label}let hT=class extends V{constructor(e,t,i,n,s,r){super(),this._delegate=n,this._contextViewService=s,this._keybindingService=r,this._actionLineHeight=24,this._headerLineHeight=26,this.cts=this._register(new _i),this.domNode=document.createElement("div"),this.domNode.classList.add("actionList");const a={getHeight:l=>l.kind==="header"?this._headerLineHeight:this._actionLineHeight,getTemplateId:l=>l.kind};this._list=this._register(new No(e,this.domNode,a,[new cT(t,this._keybindingService),new Cge],{keyboardSupport:!1,typeNavigationEnabled:!0,keyboardNavigationLabelProvider:{getKeyboardNavigationLabel:Sge},accessibilityProvider:{getAriaLabel:l=>{if(l.kind==="action"){let d=l.label?HV(l==null?void 0:l.label):"";return l.disabled&&(d=m({key:"customQuickFixWidget.labels",comment:["Action widget labels for accessibility."]},"{0}, Disabled Reason: {1}",d,l.disabled)),d}return null},getWidgetAriaLabel:()=>m({key:"customQuickFixWidget",comment:["An action widget option"]},"Action Widget"),getRole:l=>l.kind==="action"?"option":"separator",getWidgetRole:()=>"listbox"}})),this._list.style(kh),this._register(this._list.onMouseClick(l=>this.onListClick(l))),this._register(this._list.onMouseOver(l=>this.onListHover(l))),this._register(this._list.onDidChangeFocus(()=>this.onFocus())),this._register(this._list.onDidChangeSelection(l=>this.onListSelection(l))),this._allMenuItems=i,this._list.splice(0,this._list.length,this._allMenuItems),this._list.length&&this.focusNext()}focusCondition(e){return!e.disabled&&e.kind==="action"}hide(e){this._delegate.onHide(e),this.cts.cancel(),this._contextViewService.hideContextView()}layout(e){const t=this._allMenuItems.filter(l=>l.kind==="header").length,n=this._allMenuItems.length*this._actionLineHeight+t*this._headerLineHeight-t*this._actionLineHeight;this._list.layout(n);let s=e;if(this._allMenuItems.length>=50)s=380;else{const l=this._allMenuItems.map((d,c)=>{const h=this.domNode.ownerDocument.getElementById(this._list.getElementID(c));if(h){h.style.width="auto";const u=h.getBoundingClientRect().width;return h.style.width="",u}return 0});s=Math.max(...l,e)}const a=Math.min(n,this.domNode.ownerDocument.body.clientHeight*.7);return this._list.layout(a,s),this.domNode.style.height=`${a}px`,this._list.domFocus(),s}focusPrevious(){this._list.focusPrevious(1,!0,void 0,this.focusCondition)}focusNext(){this._list.focusNext(1,!0,void 0,this.focusCondition)}acceptSelected(e){const t=this._list.getFocus();if(t.length===0)return;const i=t[0],n=this._list.element(i);if(!this.focusCondition(n))return;const s=e?new h3:new wge;this._list.setSelection([i],s)}onListSelection(e){if(!e.elements.length)return;const t=e.elements[0];t.item&&this.focusCondition(t)?this._delegate.onSelect(t.item,e.browserEvent instanceof h3):this._list.setSelection([])}onFocus(){var e,t;const i=this._list.getFocus();if(i.length===0)return;const n=i[0],s=this._list.element(n);(t=(e=this._delegate).onFocus)===null||t===void 0||t.call(e,s.item)}async onListHover(e){const t=e.element;if(t&&t.item&&this.focusCondition(t)){if(this._delegate.onHover&&!t.disabled&&t.kind==="action"){const i=await this._delegate.onHover(t.item,this.cts.token);t.canPreview=i?i.canPreview:void 0}e.index&&this._list.splice(e.index,1,[t])}this._list.setFocus(typeof e.index=="number"?[e.index]:[])}onListClick(e){e.element&&this.focusCondition(e.element)&&this._list.setFocus([])}};hT=BV([dT(4,kl),dT(5,Et)],hT);function HV(o){return o.replace(/\r\n|\r|\n/g," ")}var yge=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Xx=function(o,e){return function(t,i){e(t,i,o)}};N("actionBar.toggledBackground",{dark:mu,light:mu,hcDark:mu,hcLight:mu},m("actionBar.toggledBackground","Background color for toggled action items in action bar."));const ig={Visible:new de("codeActionMenuVisible",!1,m("codeActionMenuVisible","Whether the action widget list is visible"))},Lg=ot("actionWidgetService");let ng=class extends V{get isVisible(){return ig.Visible.getValue(this._contextKeyService)||!1}constructor(e,t,i){super(),this._contextViewService=e,this._contextKeyService=t,this._instantiationService=i,this._list=this._register(new hn)}show(e,t,i,n,s,r,a){const l=ig.Visible.bindTo(this._contextKeyService),d=this._instantiationService.createInstance(hT,e,t,i,n);this._contextViewService.showContextView({getAnchor:()=>s,render:c=>(l.set(!0),this._renderWidget(c,d,a??[])),onHide:c=>{l.reset(),this._onWidgetClosed(c)}},r,!1)}acceptSelected(e){var t;(t=this._list.value)===null||t===void 0||t.acceptSelected(e)}focusPrevious(){var e,t;(t=(e=this._list)===null||e===void 0?void 0:e.value)===null||t===void 0||t.focusPrevious()}focusNext(){var e,t;(t=(e=this._list)===null||e===void 0?void 0:e.value)===null||t===void 0||t.focusNext()}hide(){var e;(e=this._list.value)===null||e===void 0||e.hide(),this._list.clear()}_renderWidget(e,t,i){var n;const s=document.createElement("div");if(s.classList.add("action-widget"),e.appendChild(s),this._list.value=t,this._list.value)s.appendChild(this._list.value.domNode);else throw new Error("List has no value");const r=new X,a=document.createElement("div"),l=e.appendChild(a);l.classList.add("context-view-block"),r.add($(l,se.MOUSE_DOWN,f=>f.stopPropagation()));const d=document.createElement("div"),c=e.appendChild(d);c.classList.add("context-view-pointerBlock"),r.add($(c,se.POINTER_MOVE,()=>c.remove())),r.add($(c,se.MOUSE_DOWN,()=>c.remove()));let h=0;if(i.length){const f=this._createActionBar(".action-widget-action-bar",i);f&&(s.appendChild(f.getContainer().parentElement),r.add(f),h=f.getContainer().offsetWidth)}const u=(n=this._list.value)===null||n===void 0?void 0:n.layout(h);s.style.width=`${u}px`;const g=r.add(la(e));return r.add(g.onDidBlur(()=>this.hide())),r}_createActionBar(e,t){if(!t.length)return;const i=J(e),n=new Yo(i);return n.push(t,{icon:!1,label:!0}),n}_onWidgetClosed(e){var t;(t=this._list.value)===null||t===void 0||t.hide(e)}};ng=yge([Xx(0,kl),Xx(1,Ae),Xx(2,Ie)],ng);ht(Lg,ng,1);const L0=1100;Wt(class extends Vs{constructor(){super({id:"hideCodeActionWidget",title:mt("hideCodeActionWidget.title","Hide action widget"),precondition:ig.Visible,keybinding:{weight:L0,primary:9,secondary:[1033]}})}run(o){o.get(Lg).hide()}});Wt(class extends Vs{constructor(){super({id:"selectPrevCodeAction",title:mt("selectPrevCodeAction.title","Select previous action"),precondition:ig.Visible,keybinding:{weight:L0,primary:16,secondary:[2064],mac:{primary:16,secondary:[2064,302]}}})}run(o){const e=o.get(Lg);e instanceof ng&&e.focusPrevious()}});Wt(class extends Vs{constructor(){super({id:"selectNextCodeAction",title:mt("selectNextCodeAction.title","Select next action"),precondition:ig.Visible,keybinding:{weight:L0,primary:18,secondary:[2066],mac:{primary:18,secondary:[2066,300]}}})}run(o){const e=o.get(Lg);e instanceof ng&&e.focusNext()}});Wt(class extends Vs{constructor(){super({id:WV,title:mt("acceptSelected.title","Accept selected action"),precondition:ig.Visible,keybinding:{weight:L0,primary:3,secondary:[2137]}})}run(o){const e=o.get(Lg);e instanceof ng&&e.acceptSelected()}});Wt(class extends Vs{constructor(){super({id:VV,title:mt("previewSelected.title","Preview selected action"),precondition:ig.Visible,keybinding:{weight:L0,primary:2051}})}run(o){const e=o.get(Lg);e instanceof ng&&e.acceptSelected(!0)}});const zV=new de("supportedCodeAction",""),u3="_typescript.applyFixAllCodeAction";class Lge extends V{constructor(e,t,i,n=250){super(),this._editor=e,this._markerService=t,this._signalChange=i,this._delay=n,this._autoTriggerTimer=this._register(new Dr),this._register(this._markerService.onMarkerChanged(s=>this._onMarkerChanges(s))),this._register(this._editor.onDidChangeCursorPosition(()=>this._tryAutoTrigger()))}trigger(e){const t=this._getRangeOfSelectionUnlessWhitespaceEnclosed(e);this._signalChange(t?{trigger:e,selection:t}:void 0)}_onMarkerChanges(e){const t=this._editor.getModel();t&&e.some(i=>o2(i,t.uri))&&this._tryAutoTrigger()}_tryAutoTrigger(){this._autoTriggerTimer.cancelAndSet(()=>{this.trigger({type:2,triggerAction:to.Default})},this._delay)}_getRangeOfSelectionUnlessWhitespaceEnclosed(e){if(!this._editor.hasModel())return;const t=this._editor.getSelection();if(e.type===1)return t;const i=this._editor.getOption(65).enabled;if(i!==hr.Off){{if(i===hr.On)return t;if(i===hr.OnCode){if(!t.isEmpty())return t;const s=this._editor.getModel(),{lineNumber:r,column:a}=t.getPosition(),l=s.getLineContent(r);if(l.length===0)return;if(a===1){if(/\s/.test(l[0]))return}else if(a===s.getLineMaxColumn(r)){if(/\s/.test(l[l.length-1]))return}else if(/\s/.test(l[a-2])&&/\s/.test(l[a-1]))return}}return t}}}var uu;(function(o){o.Empty={type:0};class e{constructor(i,n,s){this.trigger=i,this.position=n,this._cancellablePromise=s,this.type=1,this.actions=s.catch(r=>{if(_a(r))return UV;throw r})}cancel(){this._cancellablePromise.cancel()}}o.Triggered=e})(uu||(uu={}));const UV=Object.freeze({allActions:[],validActions:[],dispose:()=>{},documentation:[],hasAutoFix:!1,hasAIFix:!1,allAIFixes:!1});class Dge extends V{constructor(e,t,i,n,s,r){super(),this._editor=e,this._registry=t,this._markerService=i,this._progressService=s,this._configurationService=r,this._codeActionOracle=this._register(new hn),this._state=uu.Empty,this._onDidChangeState=this._register(new O),this.onDidChangeState=this._onDidChangeState.event,this._disposed=!1,this._supportedCodeActions=zV.bindTo(n),this._register(this._editor.onDidChangeModel(()=>this._update())),this._register(this._editor.onDidChangeModelLanguage(()=>this._update())),this._register(this._registry.onDidChange(()=>this._update())),this._register(this._editor.onDidChangeConfiguration(a=>{a.hasChanged(65)&&this._update()})),this._update()}dispose(){this._disposed||(this._disposed=!0,super.dispose(),this.setState(uu.Empty,!0))}_settingEnabledNearbyQuickfixes(){var e;const t=(e=this._editor)===null||e===void 0?void 0:e.getModel();return this._configurationService?this._configurationService.getValue("editor.codeActionWidget.includeNearbyQuickFixes",{resource:t==null?void 0:t.uri}):!1}_update(){if(this._disposed)return;this._codeActionOracle.value=void 0,this.setState(uu.Empty);const e=this._editor.getModel();if(e&&this._registry.has(e)&&!this._editor.getOption(91)){const t=this._registry.all(e).flatMap(i=>{var n;return(n=i.providedCodeActionKinds)!==null&&n!==void 0?n:[]});this._supportedCodeActions.set(t.join(" ")),this._codeActionOracle.value=new Lge(this._editor,this._markerService,i=>{var n;if(!i){this.setState(uu.Empty);return}const s=i.selection.getStartPosition(),r=tn(async a=>{var l,d,c,h,u,g,f,p,_,v;if(this._settingEnabledNearbyQuickfixes()&&i.trigger.type===1&&(i.trigger.triggerAction===to.QuickFix||!((d=(l=i.trigger.filter)===null||l===void 0?void 0:l.include)===null||d===void 0)&&d.contains(Pe.QuickFix))){const b=await X_(this._registry,e,i.selection,i.trigger,Cd.None,a),C=[...b.allActions];if(a.isCancellationRequested)return UV;const w=(c=b.validActions)===null||c===void 0?void 0:c.some(L=>L.action.kind?Pe.QuickFix.contains(new Pe(L.action.kind)):!1),S=this._markerService.read({resource:e.uri});if(w){for(const L of b.validActions)!((u=(h=L.action.command)===null||h===void 0?void 0:h.arguments)===null||u===void 0)&&u.some(x=>typeof x=="string"&&x.includes(u3))&&(L.action.diagnostics=[...S.filter(x=>x.relatedInformation)]);return{validActions:b.validActions,allActions:C,documentation:b.documentation,hasAutoFix:b.hasAutoFix,hasAIFix:b.hasAIFix,allAIFixes:b.allAIFixes,dispose:()=>{b.dispose()}}}else if(!w&&S.length>0){const L=i.selection.getPosition();let x=L,I=Number.MAX_VALUE;const T=[...b.validActions];for(const P of S){const A=P.endColumn,B=P.endLineNumber,Z=P.startLineNumber;if(B===L.lineNumber||Z===L.lineNumber){x=new F(B,A);const ne={type:i.trigger.type,triggerAction:i.trigger.triggerAction,filter:{include:!((g=i.trigger.filter)===null||g===void 0)&&g.include?(f=i.trigger.filter)===null||f===void 0?void 0:f.include:Pe.QuickFix},autoApply:i.trigger.autoApply,context:{notAvailableMessage:((p=i.trigger.context)===null||p===void 0?void 0:p.notAvailableMessage)||"",position:x}},pe=new _e(x.lineNumber,x.column,x.lineNumber,x.column),Se=await X_(this._registry,e,pe,ne,Cd.None,a);if(Se.validActions.length!==0){for(const Me of Se.validActions)!((v=(_=Me.action.command)===null||_===void 0?void 0:_.arguments)===null||v===void 0)&&v.some(me=>typeof me=="string"&&me.includes(u3))&&(Me.action.diagnostics=[...S.filter(me=>me.relatedInformation)]);b.allActions.length===0&&C.push(...Se.allActions),Math.abs(L.column-A)B.findIndex(Z=>Z.action.title===P.action.title)===A);return H.sort((P,A)=>P.action.isPreferred&&!A.action.isPreferred?-1:!P.action.isPreferred&&A.action.isPreferred||P.action.isAI&&!A.action.isAI?1:!P.action.isAI&&A.action.isAI?-1:0),{validActions:H,allActions:C,documentation:b.documentation,hasAutoFix:b.hasAutoFix,hasAIFix:b.hasAIFix,allAIFixes:b.allAIFixes,dispose:()=>{b.dispose()}}}}return X_(this._registry,e,i.selection,i.trigger,Cd.None,a)});i.trigger.type===1&&((n=this._progressService)===null||n===void 0||n.showWhile(r,250)),this.setState(new uu.Triggered(i.trigger,s,r))},void 0),this._codeActionOracle.value.trigger({type:2,triggerAction:to.Default})}else this._supportedCodeActions.reset()}trigger(e){var t;(t=this._codeActionOracle.value)===null||t===void 0||t.trigger(e)}setState(e,t){e!==this._state&&(this._state.type===1&&this._state.cancel(),this._state=e,!t&&!this._disposed&&this._onDidChangeState.fire(e))}}var xge=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Al=function(o,e){return function(t,i){e(t,i,o)}},ef;const kge="quickfix-edit-highlight";let rh=ef=class extends V{static get(e){return e.getContribution(ef.ID)}constructor(e,t,i,n,s,r,a,l,d,c){super(),this._commandService=a,this._configurationService=l,this._actionWidgetService=d,this._instantiationService=c,this._activeCodeActions=this._register(new hn),this._showDisabled=!1,this._disposed=!1,this._editor=e,this._model=this._register(new Dge(this._editor,s.codeActionProvider,t,i,r,l)),this._register(this._model.onDidChangeState(h=>this.update(h))),this._lightBulbWidget=new yl(()=>{const h=this._editor.getContribution(tg.ID);return h&&this._register(h.onClick(u=>this.showCodeActionsFromLightbulb(u.actions,u))),h}),this._resolver=n.createInstance(NS),this._register(this._editor.onDidLayoutChange(()=>this._actionWidgetService.hide()))}dispose(){this._disposed=!0,super.dispose()}async showCodeActionsFromLightbulb(e,t){if(e.allAIFixes&&e.validActions.length===1){const i=e.validActions[0],n=i.action.command;n&&n.id==="inlineChat.start"&&n.arguments&&n.arguments.length>=1&&(n.arguments[0]={...n.arguments[0],autoSend:!1}),await this._applyCodeAction(i,!1,!1,em.FromAILightbulb);return}await this.showCodeActionList(e,t,{includeDisabledActions:!1,fromLightbulb:!0})}showCodeActions(e,t,i){return this.showCodeActionList(t,i,{includeDisabledActions:!1,fromLightbulb:!1})}manualTriggerAtCurrentPosition(e,t,i,n){var s;if(!this._editor.hasModel())return;(s=bs.get(this._editor))===null||s===void 0||s.closeMessage();const r=this._editor.getPosition();this._trigger({type:1,triggerAction:t,filter:i,autoApply:n,context:{notAvailableMessage:e,position:r}})}_trigger(e){return this._model.trigger(e)}async _applyCodeAction(e,t,i,n){try{await this._instantiationService.invokeFunction(gge,e,n,{preview:i,editor:this._editor})}finally{t&&this._trigger({type:2,triggerAction:to.QuickFix,filter:{}})}}async update(e){var t,i,n,s,r,a,l;if(e.type!==1){(t=this._lightBulbWidget.rawValue)===null||t===void 0||t.hide();return}let d;try{d=await e.actions}catch(c){Ve(c);return}if(!this._disposed)if((i=this._lightBulbWidget.value)===null||i===void 0||i.update(d,e.trigger,e.position),e.trigger.type===1){if(!((n=e.trigger.filter)===null||n===void 0)&&n.include){const h=this.tryGetValidActionToApply(e.trigger,d);if(h){try{(s=this._lightBulbWidget.value)===null||s===void 0||s.hide(),await this._applyCodeAction(h,!1,!1,em.FromCodeActions)}finally{d.dispose()}return}if(e.trigger.context){const u=this.getInvalidActionThatWouldHaveBeenApplied(e.trigger,d);if(u&&u.action.disabled){(r=bs.get(this._editor))===null||r===void 0||r.showMessage(u.action.disabled,e.trigger.context.position),d.dispose();return}}}const c=!!(!((a=e.trigger.filter)===null||a===void 0)&&a.include);if(e.trigger.context&&(!d.allActions.length||!c&&!d.validActions.length)){(l=bs.get(this._editor))===null||l===void 0||l.showMessage(e.trigger.context.notAvailableMessage,e.trigger.context.position),this._activeCodeActions.value=d,d.dispose();return}this._activeCodeActions.value=d,this.showCodeActionList(d,this.toCoords(e.position),{includeDisabledActions:c,fromLightbulb:!1})}else this._actionWidgetService.isVisible?d.dispose():this._activeCodeActions.value=d}getInvalidActionThatWouldHaveBeenApplied(e,t){if(t.allActions.length&&(e.autoApply==="first"&&t.validActions.length===0||e.autoApply==="ifSingle"&&t.allActions.length===1))return t.allActions.find(({action:i})=>i.disabled)}tryGetValidActionToApply(e,t){if(t.validActions.length&&(e.autoApply==="first"&&t.validActions.length>0||e.autoApply==="ifSingle"&&t.validActions.length===1))return t.validActions[0]}async showCodeActionList(e,t,i){const n=this._editor.createDecorationsCollection(),s=this._editor.getDomNode();if(!s)return;const r=i.includeDisabledActions&&(this._showDisabled||e.validActions.length===0)?e.allActions:e.validActions;if(!r.length)return;const a=F.isIPosition(t)?this.toCoords(t):t,l={onSelect:async(d,c)=>{this._applyCodeAction(d,!0,!!c,em.FromCodeActions),this._actionWidgetService.hide(),n.clear()},onHide:()=>{var d;(d=this._editor)===null||d===void 0||d.focus(),n.clear()},onHover:async(d,c)=>{var h;if(!c.isCancellationRequested)return{canPreview:!!(!((h=d.action.edit)===null||h===void 0)&&h.edits.length)}},onFocus:d=>{var c,h;if(d&&d.action){const u=d.action.ranges,g=d.action.diagnostics;if(n.clear(),u&&u.length>0){const f=g&&(g==null?void 0:g.length)>1?g.map(p=>({range:p,options:ef.DECORATION})):u.map(p=>({range:p,options:ef.DECORATION}));n.set(f)}else if(g&&g.length>0){const f=g.map(_=>({range:_,options:ef.DECORATION}));n.set(f);const p=g[0];if(p.startLineNumber&&p.startColumn){const _=(h=(c=this._editor.getModel())===null||c===void 0?void 0:c.getWordAtPosition({lineNumber:p.startLineNumber,column:p.startColumn}))===null||h===void 0?void 0:h.word;gl(m("editingNewSelection","Context: {0} at line {1} and column {2}.",_,p.startLineNumber,p.startColumn))}}}else n.clear()}};this._actionWidgetService.show("codeActionWidget",!0,vge(r,this._shouldShowHeaders(),this._resolver.getResolver()),l,a,s,this._getActionBarActions(e,t,i))}toCoords(e){if(!this._editor.hasModel())return{x:0,y:0};this._editor.revealPosition(e,1),this._editor.render();const t=this._editor.getScrolledVisiblePosition(e),i=Mi(this._editor.getDomNode()),n=i.left+t.left,s=i.top+t.top+t.height;return{x:n,y:s}}_shouldShowHeaders(){var e;const t=(e=this._editor)===null||e===void 0?void 0:e.getModel();return this._configurationService.getValue("editor.codeActionWidget.showHeaders",{resource:t==null?void 0:t.uri})}_getActionBarActions(e,t,i){if(i.fromLightbulb)return[];const n=e.documentation.map(s=>{var r;return{id:s.id,label:s.title,tooltip:(r=s.tooltip)!==null&&r!==void 0?r:"",class:void 0,enabled:!0,run:()=>{var a;return this._commandService.executeCommand(s.id,...(a=s.arguments)!==null&&a!==void 0?a:[])}}});return i.includeDisabledActions&&e.validActions.length>0&&e.allActions.length!==e.validActions.length&&n.push(this._showDisabled?{id:"hideMoreActions",label:m("hideMoreActions","Hide Disabled"),enabled:!0,tooltip:"",class:void 0,run:()=>(this._showDisabled=!1,this.showCodeActionList(e,t,i))}:{id:"showMoreActions",label:m("showMoreActions","Show Disabled"),enabled:!0,tooltip:"",class:void 0,run:()=>(this._showDisabled=!0,this.showCodeActionList(e,t,i))}),n}};rh.ID="editor.contrib.codeActionController";rh.DECORATION=ze.register({description:"quickfix-highlight",className:kge});rh=ef=xge([Al(1,Il),Al(2,Ae),Al(3,Ie),Al(4,fe),Al(5,Dh),Al(6,ai),Al(7,Qe),Al(8,Lg),Al(9,Ie)],rh);Qo((o,e)=>{((n,s)=>{s&&e.addRule(`.monaco-editor ${n} { background-color: ${s}; }`)})(".quickfix-edit-highlight",o.getColor(ad));const i=o.getColor(mc);i&&e.addRule(`.monaco-editor .quickfix-edit-highlight { border: 1px ${na(o.type)?"dotted":"solid"} ${i}; box-sizing: border-box; }`)});function D0(o){return q.regex(zV.keys()[0],new RegExp("(\\s|^)"+So(o.value)+"\\b"))}const TA={type:"object",defaultSnippets:[{body:{kind:""}}],properties:{kind:{type:"string",description:m("args.schema.kind","Kind of the code action to run.")},apply:{type:"string",description:m("args.schema.apply","Controls when the returned actions are applied."),default:"ifSingle",enum:["first","ifSingle","never"],enumDescriptions:[m("args.schema.apply.first","Always apply the first returned code action."),m("args.schema.apply.ifSingle","Apply the first returned code action if it is the only one."),m("args.schema.apply.never","Do not apply the returned code actions.")]},preferred:{type:"boolean",default:!1,description:m("args.schema.preferred","Controls if only preferred code actions should be returned.")}}};function Dg(o,e,t,i,n=to.Default){if(o.hasModel()){const s=rh.get(o);s==null||s.manualTriggerAtCurrentPosition(e,n,t,i)}}class Ige extends he{constructor(){super({id:IA,label:m("quickfix.trigger.label","Quick Fix..."),alias:"Quick Fix...",precondition:q.and(E.writable,E.hasCodeActionsProvider),kbOpts:{kbExpr:E.textInputFocus,primary:2137,weight:100}})}run(e,t){return Dg(t,m("editor.action.quickFix.noneMessage","No code actions available"),void 0,void 0,to.QuickFix)}}class Ege extends un{constructor(){super({id:RV,precondition:q.and(E.writable,E.hasCodeActionsProvider),metadata:{description:"Trigger a code action",args:[{name:"args",schema:TA}]}})}runEditorCommand(e,t,i){const n=Ya.fromUser(i,{kind:Pe.Empty,apply:"ifSingle"});return Dg(t,typeof(i==null?void 0:i.kind)=="string"?n.preferred?m("editor.action.codeAction.noneMessage.preferred.kind","No preferred code actions for '{0}' available",i.kind):m("editor.action.codeAction.noneMessage.kind","No code actions for '{0}' available",i.kind):n.preferred?m("editor.action.codeAction.noneMessage.preferred","No preferred code actions available"):m("editor.action.codeAction.noneMessage","No code actions available"),{include:n.kind,includeSourceActions:!0,onlyIncludePreferredActions:n.preferred},n.apply)}}class Nge extends he{constructor(){super({id:PV,label:m("refactor.label","Refactor..."),alias:"Refactor...",precondition:q.and(E.writable,E.hasCodeActionsProvider),kbOpts:{kbExpr:E.textInputFocus,primary:3120,mac:{primary:1328},weight:100},contextMenuOpts:{group:"1_modification",order:2,when:q.and(E.writable,D0(Pe.Refactor))},metadata:{description:"Refactor...",args:[{name:"args",schema:TA}]}})}run(e,t,i){const n=Ya.fromUser(i,{kind:Pe.Refactor,apply:"never"});return Dg(t,typeof(i==null?void 0:i.kind)=="string"?n.preferred?m("editor.action.refactor.noneMessage.preferred.kind","No preferred refactorings for '{0}' available",i.kind):m("editor.action.refactor.noneMessage.kind","No refactorings for '{0}' available",i.kind):n.preferred?m("editor.action.refactor.noneMessage.preferred","No preferred refactorings available"):m("editor.action.refactor.noneMessage","No refactorings available"),{include:Pe.Refactor.contains(n.kind)?n.kind:Pe.None,onlyIncludePreferredActions:n.preferred},n.apply,to.Refactor)}}class Tge extends he{constructor(){super({id:OV,label:m("source.label","Source Action..."),alias:"Source Action...",precondition:q.and(E.writable,E.hasCodeActionsProvider),contextMenuOpts:{group:"1_modification",order:2.1,when:q.and(E.writable,D0(Pe.Source))},metadata:{description:"Source Action...",args:[{name:"args",schema:TA}]}})}run(e,t,i){const n=Ya.fromUser(i,{kind:Pe.Source,apply:"never"});return Dg(t,typeof(i==null?void 0:i.kind)=="string"?n.preferred?m("editor.action.source.noneMessage.preferred.kind","No preferred source actions for '{0}' available",i.kind):m("editor.action.source.noneMessage.kind","No source actions for '{0}' available",i.kind):n.preferred?m("editor.action.source.noneMessage.preferred","No preferred source actions available"):m("editor.action.source.noneMessage","No source actions available"),{include:Pe.Source.contains(n.kind)?n.kind:Pe.None,includeSourceActions:!0,onlyIncludePreferredActions:n.preferred},n.apply,to.SourceAction)}}class Mge extends he{constructor(){super({id:EA,label:m("organizeImports.label","Organize Imports"),alias:"Organize Imports",precondition:q.and(E.writable,D0(Pe.SourceOrganizeImports)),kbOpts:{kbExpr:E.textInputFocus,primary:1581,weight:100}})}run(e,t){return Dg(t,m("editor.action.organize.noneMessage","No organize imports action available"),{include:Pe.SourceOrganizeImports,includeSourceActions:!0},"ifSingle",to.OrganizeImports)}}class Rge extends he{constructor(){super({id:NA,label:m("fixAll.label","Fix All"),alias:"Fix All",precondition:q.and(E.writable,D0(Pe.SourceFixAll))})}run(e,t){return Dg(t,m("fixAll.noneMessage","No fix all action available"),{include:Pe.SourceFixAll,includeSourceActions:!0},"ifSingle",to.FixAll)}}class Age extends he{constructor(){super({id:AV,label:m("autoFix.label","Auto Fix..."),alias:"Auto Fix...",precondition:q.and(E.writable,D0(Pe.QuickFix)),kbOpts:{kbExpr:E.textInputFocus,primary:1625,mac:{primary:2649},weight:100}})}run(e,t){return Dg(t,m("editor.action.autoFix.noneMessage","No auto fixes available"),{include:Pe.QuickFix,onlyIncludePreferredActions:!0},"ifSingle",to.AutoFix)}}vt(rh.ID,rh,3);vt(tg.ID,tg,4);Q(Ige);Q(Nge);Q(Tge);Q(Mge);Q(Age);Q(Rge);le(new Ege);li.as(ba.Configuration).registerConfiguration({...Ky,properties:{"editor.codeActionWidget.showHeaders":{type:"boolean",scope:5,description:m("showCodeActionHeaders","Enable/disable showing group headers in the Code Action menu."),default:!0}}});li.as(ba.Configuration).registerConfiguration({...Ky,properties:{"editor.codeActionWidget.includeNearbyQuickFixes":{type:"boolean",scope:5,description:m("includeNearbyQuickFixes","Enable/disable showing nearest Quick Fix within a line when not currently on a diagnostic."),default:!0}}});class uT{constructor(){this.lenses=[],this._disposables=new X}dispose(){this._disposables.dispose()}get isDisposed(){return this._disposables.isDisposed}add(e,t){this._disposables.add(e);for(const i of e.lenses)this.lenses.push({symbol:i,provider:t})}}async function $V(o,e,t){const i=o.ordered(e),n=new Map,s=new uT,r=i.map(async(a,l)=>{n.set(a,l);try{const d=await Promise.resolve(a.provideCodeLenses(e,t));d&&s.add(d,a)}catch(d){Fi(d)}});return await Promise.all(r),s.lenses=s.lenses.sort((a,l)=>a.symbol.range.startLineNumberl.symbol.range.startLineNumber?1:n.get(a.provider)n.get(l.provider)?1:a.symbol.range.startColumnl.symbol.range.startColumn?1:0),s}ct.registerCommand("_executeCodeLensProvider",function(o,...e){let[t,i]=e;wt(xe.isUri(t)),wt(typeof i=="number"||!i);const{codeLensProvider:n}=o.get(fe),s=o.get(si).getModel(t);if(!s)throw $o();const r=[],a=new X;return $V(n,s,st.None).then(l=>{a.add(l);const d=[];for(const c of l.lenses)i==null||c.symbol.command?r.push(c.symbol):i-- >0&&c.provider.resolveCodeLens&&d.push(Promise.resolve(c.provider.resolveCodeLens(s,c.symbol,st.None)).then(h=>r.push(h||c.symbol)));return Promise.all(d)}).then(()=>r).finally(()=>{setTimeout(()=>a.dispose(),100)})});var Pge=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Oge=function(o,e){return function(t,i){e(t,i,o)}};const jV=ot("ICodeLensCache");class g3{constructor(e,t){this.lineCount=e,this.data=t}}let gT=class{constructor(e){this._fakeProvider=new class{provideCodeLenses(){throw new Error("not supported")}},this._cache=new Sh(20,.75);const t="codelens/cache";e_(Tt,()=>e.remove(t,1));const i="codelens/cache2",n=e.get(i,1,"{}");this._deserialize(n),ae.once(e.onWillSaveState)(s=>{s.reason===Yv.SHUTDOWN&&e.store(i,this._serialize(),1,1)})}put(e,t){const i=t.lenses.map(r=>{var a;return{range:r.symbol.range,command:r.symbol.command&&{id:"",title:(a=r.symbol.command)===null||a===void 0?void 0:a.title}}}),n=new uT;n.add({lenses:i,dispose:()=>{}},this._fakeProvider);const s=new g3(e.getLineCount(),n);this._cache.set(e.uri.toString(),s)}get(e){const t=this._cache.get(e.uri.toString());return t&&t.lineCount===e.getLineCount()?t.data:void 0}delete(e){this._cache.delete(e.uri.toString())}_serialize(){const e=Object.create(null);for(const[t,i]of this._cache){const n=new Set;for(const s of i.data.lenses)n.add(s.symbol.range.startLineNumber);e[t]={lineCount:i.lineCount,lines:[...n.values()]}}return JSON.stringify(e)}_deserialize(e){try{const t=JSON.parse(e);for(const i in t){const n=t[i],s=[];for(const a of n.lines)s.push({range:new D(a,1,a,11)});const r=new uT;r.add({lenses:s,dispose(){}},this._fakeProvider),this._cache.set(i,new g3(n.lineCount,r))}}catch{}}};gT=Pge([Oge(0,kr)],gT);ht(jV,gT,1);class Fge{constructor(e,t,i){this.afterColumn=1073741824,this.afterLineNumber=e,this.heightInPx=t,this._onHeight=i,this.suppressMouseDown=!0,this.domNode=document.createElement("div")}onComputedHeight(e){this._lastHeight===void 0?this._lastHeight=e:this._lastHeight!==e&&(this._lastHeight=e,this._onHeight())}isVisible(){return this._lastHeight!==0&&this.domNode.hasAttribute("monaco-visible-view-zone")}}class pb{constructor(e,t){this.allowEditorOverflow=!1,this.suppressMouseDown=!0,this._commands=new Map,this._isEmpty=!0,this._editor=e,this._id=`codelens.widget-${pb._idPool++}`,this.updatePosition(t),this._domNode=document.createElement("span"),this._domNode.className="codelens-decoration"}withCommands(e,t){this._commands.clear();const i=[];let n=!1;for(let s=0;s{d.symbol.command&&l.push(d.symbol),i.addDecoration({range:d.symbol.range,options:f3},h=>this._decorationIds[c]=h),a?a=D.plusRange(a,d.symbol.range):a=D.lift(d.symbol.range)}),this._viewZone=new Fge(a.startLineNumber-1,s,r),this._viewZoneId=n.addZone(this._viewZone),l.length>0&&(this._createContentWidgetIfNecessary(),this._contentWidget.withCommands(l,!1))}_createContentWidgetIfNecessary(){this._contentWidget?this._editor.layoutContentWidget(this._contentWidget):(this._contentWidget=new pb(this._editor,this._viewZone.afterLineNumber+1),this._editor.addContentWidget(this._contentWidget))}dispose(e,t){this._decorationIds.forEach(e.removeDecoration,e),this._decorationIds=[],t==null||t.removeZone(this._viewZoneId),this._contentWidget&&(this._editor.removeContentWidget(this._contentWidget),this._contentWidget=void 0),this._isDisposed=!0}isDisposed(){return this._isDisposed}isValid(){return this._decorationIds.some((e,t)=>{const i=this._editor.getModel().getDecorationRange(e),n=this._data[t].symbol;return!!(i&&D.isEmpty(n.range)===i.isEmpty())})}updateCodeLensSymbols(e,t){this._decorationIds.forEach(t.removeDecoration,t),this._decorationIds=[],this._data=e,this._data.forEach((i,n)=>{t.addDecoration({range:i.symbol.range,options:f3},s=>this._decorationIds[n]=s)})}updateHeight(e,t){this._viewZone.heightInPx=e,t.layoutZone(this._viewZoneId),this._contentWidget&&this._editor.layoutContentWidget(this._contentWidget)}computeIfNecessary(e){if(!this._viewZone.isVisible())return null;for(let t=0;t=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},$p=function(o,e){return function(t,i){e(t,i,o)}};let Fm=class{constructor(e,t,i,n,s,r){this._editor=e,this._languageFeaturesService=t,this._commandService=n,this._notificationService=s,this._codeLensCache=r,this._disposables=new X,this._localToDispose=new X,this._lenses=[],this._oldCodeLensModels=new X,this._provideCodeLensDebounce=i.for(t.codeLensProvider,"CodeLensProvide",{min:250}),this._resolveCodeLensesDebounce=i.for(t.codeLensProvider,"CodeLensResolve",{min:250,salt:"resolve"}),this._resolveCodeLensesScheduler=new Rt(()=>this._resolveCodeLensesInViewport(),this._resolveCodeLensesDebounce.default()),this._disposables.add(this._editor.onDidChangeModel(()=>this._onModelChange())),this._disposables.add(this._editor.onDidChangeModelLanguage(()=>this._onModelChange())),this._disposables.add(this._editor.onDidChangeConfiguration(a=>{(a.hasChanged(50)||a.hasChanged(19)||a.hasChanged(18))&&this._updateLensStyle(),a.hasChanged(17)&&this._onModelChange()})),this._disposables.add(t.codeLensProvider.onDidChange(this._onModelChange,this)),this._onModelChange(),this._updateLensStyle()}dispose(){var e;this._localDispose(),this._disposables.dispose(),this._oldCodeLensModels.dispose(),(e=this._currentCodeLensModel)===null||e===void 0||e.dispose()}_getLayoutInfo(){const e=Math.max(1.3,this._editor.getOption(67)/this._editor.getOption(52));let t=this._editor.getOption(19);return(!t||t<5)&&(t=this._editor.getOption(52)*.9|0),{fontSize:t,codeLensHeight:t*e|0}}_updateLensStyle(){const{codeLensHeight:e,fontSize:t}=this._getLayoutInfo(),i=this._editor.getOption(18),n=this._editor.getOption(50),{style:s}=this._editor.getContainerDomNode();s.setProperty("--vscode-editorCodeLens-lineHeight",`${e}px`),s.setProperty("--vscode-editorCodeLens-fontSize",`${t}px`),s.setProperty("--vscode-editorCodeLens-fontFeatureSettings",n.fontFeatureSettings),i&&(s.setProperty("--vscode-editorCodeLens-fontFamily",i),s.setProperty("--vscode-editorCodeLens-fontFamilyDefault",As.fontFamily)),this._editor.changeViewZones(r=>{for(const a of this._lenses)a.updateHeight(e,r)})}_localDispose(){var e,t,i;(e=this._getCodeLensModelPromise)===null||e===void 0||e.cancel(),this._getCodeLensModelPromise=void 0,(t=this._resolveCodeLensesPromise)===null||t===void 0||t.cancel(),this._resolveCodeLensesPromise=void 0,this._localToDispose.clear(),this._oldCodeLensModels.clear(),(i=this._currentCodeLensModel)===null||i===void 0||i.dispose()}_onModelChange(){this._localDispose();const e=this._editor.getModel();if(!e||!this._editor.getOption(17)||e.isTooLargeForTokenization())return;const t=this._codeLensCache.get(e);if(t&&this._renderCodeLensSymbols(t),!this._languageFeaturesService.codeLensProvider.has(e)){t&&Gc(()=>{const n=this._codeLensCache.get(e);t===n&&(this._codeLensCache.delete(e),this._onModelChange())},30*1e3,this._localToDispose);return}for(const n of this._languageFeaturesService.codeLensProvider.all(e))if(typeof n.onDidChange=="function"){const s=n.onDidChange(()=>i.schedule());this._localToDispose.add(s)}const i=new Rt(()=>{var n;const s=Date.now();(n=this._getCodeLensModelPromise)===null||n===void 0||n.cancel(),this._getCodeLensModelPromise=tn(r=>$V(this._languageFeaturesService.codeLensProvider,e,r)),this._getCodeLensModelPromise.then(r=>{this._currentCodeLensModel&&this._oldCodeLensModels.add(this._currentCodeLensModel),this._currentCodeLensModel=r,this._codeLensCache.put(e,r);const a=this._provideCodeLensDebounce.update(e,Date.now()-s);i.delay=a,this._renderCodeLensSymbols(r),this._resolveCodeLensesInViewportSoon()},Ve)},this._provideCodeLensDebounce.get(e));this._localToDispose.add(i),this._localToDispose.add(Le(()=>this._resolveCodeLensesScheduler.cancel())),this._localToDispose.add(this._editor.onDidChangeModelContent(()=>{var n;this._editor.changeDecorations(s=>{this._editor.changeViewZones(r=>{const a=[];let l=-1;this._lenses.forEach(c=>{!c.isValid()||l===c.getLineNumber()?a.push(c):(c.update(r),l=c.getLineNumber())});const d=new Qx;a.forEach(c=>{c.dispose(d,r),this._lenses.splice(this._lenses.indexOf(c),1)}),d.commit(s)})}),i.schedule(),this._resolveCodeLensesScheduler.cancel(),(n=this._resolveCodeLensesPromise)===null||n===void 0||n.cancel(),this._resolveCodeLensesPromise=void 0})),this._localToDispose.add(this._editor.onDidFocusEditorWidget(()=>{i.schedule()})),this._localToDispose.add(this._editor.onDidBlurEditorText(()=>{i.cancel()})),this._localToDispose.add(this._editor.onDidScrollChange(n=>{n.scrollTopChanged&&this._lenses.length>0&&this._resolveCodeLensesInViewportSoon()})),this._localToDispose.add(this._editor.onDidLayoutChange(()=>{this._resolveCodeLensesInViewportSoon()})),this._localToDispose.add(Le(()=>{if(this._editor.getModel()){const n=ma.capture(this._editor);this._editor.changeDecorations(s=>{this._editor.changeViewZones(r=>{this._disposeAllLenses(s,r)})}),n.restore(this._editor)}else this._disposeAllLenses(void 0,void 0)})),this._localToDispose.add(this._editor.onMouseDown(n=>{if(n.target.type!==9)return;let s=n.target.element;if((s==null?void 0:s.tagName)==="SPAN"&&(s=s.parentElement),(s==null?void 0:s.tagName)==="A")for(const r of this._lenses){const a=r.getCommand(s);if(a){this._commandService.executeCommand(a.id,...a.arguments||[]).catch(l=>this._notificationService.error(l));break}}})),i.schedule()}_disposeAllLenses(e,t){const i=new Qx;for(const n of this._lenses)n.dispose(i,t);e&&i.commit(e),this._lenses.length=0}_renderCodeLensSymbols(e){if(!this._editor.hasModel())return;const t=this._editor.getModel().getLineCount(),i=[];let n;for(const a of e.lenses){const l=a.symbol.range.startLineNumber;l<1||l>t||(n&&n[n.length-1].symbol.range.startLineNumber===l?n.push(a):(n=[a],i.push(n)))}if(!i.length&&!this._lenses.length)return;const s=ma.capture(this._editor),r=this._getLayoutInfo();this._editor.changeDecorations(a=>{this._editor.changeViewZones(l=>{const d=new Qx;let c=0,h=0;for(;hthis._resolveCodeLensesInViewportSoon())),c++,h++)}for(;cthis._resolveCodeLensesInViewportSoon())),h++;d.commit(a)})}),s.restore(this._editor)}_resolveCodeLensesInViewportSoon(){this._editor.getModel()&&this._resolveCodeLensesScheduler.schedule()}_resolveCodeLensesInViewport(){var e;(e=this._resolveCodeLensesPromise)===null||e===void 0||e.cancel(),this._resolveCodeLensesPromise=void 0;const t=this._editor.getModel();if(!t)return;const i=[],n=[];if(this._lenses.forEach(a=>{const l=a.computeIfNecessary(t);l&&(i.push(l),n.push(a))}),i.length===0)return;const s=Date.now(),r=tn(a=>{const l=i.map((d,c)=>{const h=new Array(d.length),u=d.map((g,f)=>!g.symbol.command&&typeof g.provider.resolveCodeLens=="function"?Promise.resolve(g.provider.resolveCodeLens(t,g.symbol,a)).then(p=>{h[f]=p},Fi):(h[f]=g.symbol,Promise.resolve(void 0)));return Promise.all(u).then(()=>{!a.isCancellationRequested&&!n[c].isDisposed()&&n[c].updateCommands(h)})});return Promise.all(l)});this._resolveCodeLensesPromise=r,this._resolveCodeLensesPromise.then(()=>{const a=this._resolveCodeLensesDebounce.update(t,Date.now()-s);this._resolveCodeLensesScheduler.delay=a,this._currentCodeLensModel&&this._codeLensCache.put(t,this._currentCodeLensModel),this._oldCodeLensModels.clear(),r===this._resolveCodeLensesPromise&&(this._resolveCodeLensesPromise=void 0)},a=>{Ve(a),r===this._resolveCodeLensesPromise&&(this._resolveCodeLensesPromise=void 0)})}async getModel(){var e;return await this._getCodeLensModelPromise,await this._resolveCodeLensesPromise,!((e=this._currentCodeLensModel)===null||e===void 0)&&e.isDisposed?void 0:this._currentCodeLensModel}};Fm.ID="css.editor.codeLens";Fm=Bge([$p(1,fe),$p(2,Jo),$p(3,ai),$p(4,Ri),$p(5,jV)],Fm);vt(Fm.ID,Fm,1);Q(class extends he{constructor(){super({id:"codelens.showLensesInCurrentLine",precondition:E.hasCodeLensProvider,label:m("showLensOnLine","Show CodeLens Commands For Current Line"),alias:"Show CodeLens Commands For Current Line"})}async run(e,t){if(!t.hasModel())return;const i=e.get(wa),n=e.get(ai),s=e.get(Ri),r=t.getSelection().positionLineNumber,a=t.getContribution(Fm.ID);if(!a)return;const l=await a.getModel();if(!l)return;const d=[];for(const u of l.lenses)u.symbol.command&&u.symbol.range.startLineNumber===r&&d.push({label:u.symbol.command.title,command:u.symbol.command});if(d.length===0)return;const c=await i.pick(d,{canPickMany:!1,placeHolder:m("placeHolder","Select a command")});if(!c)return;let h=c.command;if(l.isDisposed){const u=await a.getModel(),g=u==null?void 0:u.lenses.find(f=>{var p;return f.symbol.range.startLineNumber===r&&((p=f.symbol.command)===null||p===void 0?void 0:p.title)===h.title});if(!g||!g.symbol.command)return;h=g.symbol.command}try{await n.executeCommand(h.id,...h.arguments||[])}catch(u){s.error(u)}}});var Wge=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Jx=function(o,e){return function(t,i){e(t,i,o)}};class MA{constructor(e,t){this._editorWorkerClient=new PR(e,!1,"editorWorkerService",t)}async provideDocumentColors(e,t){return this._editorWorkerClient.computeDefaultDocumentColors(e.uri)}provideColorPresentations(e,t,i){const n=t.range,s=t.color,r=s.alpha,a=new z(new ut(Math.round(255*s.red),Math.round(255*s.green),Math.round(255*s.blue),r)),l=r?z.Format.CSS.formatRGB(a):z.Format.CSS.formatRGBA(a),d=r?z.Format.CSS.formatHSL(a):z.Format.CSS.formatHSLA(a),c=r?z.Format.CSS.formatHex(a):z.Format.CSS.formatHexA(a),h=[];return h.push({label:l,textEdit:{range:n,text:l}}),h.push({label:d,textEdit:{range:n,text:d}}),h.push({label:c,textEdit:{range:n,text:c}}),h}}let fT=class extends V{constructor(e,t,i){super(),this._register(i.colorProvider.register("*",new MA(e,t)))}};fT=Wge([Jx(0,si),Jx(1,Vt),Jx(2,fe)],fT);_0(fT);async function KV(o,e,t,i=!0){return RA(new Vge,o,e,t,i)}function qV(o,e,t,i){return Promise.resolve(t.provideColorPresentations(o,e,i))}class Vge{constructor(){}async compute(e,t,i,n){const s=await e.provideDocumentColors(t,i);if(Array.isArray(s))for(const r of s)n.push({colorInfo:r,provider:e});return Array.isArray(s)}}class Hge{constructor(){}async compute(e,t,i,n){const s=await e.provideDocumentColors(t,i);if(Array.isArray(s))for(const r of s)n.push({range:r.range,color:[r.color.red,r.color.green,r.color.blue,r.color.alpha]});return Array.isArray(s)}}class zge{constructor(e){this.colorInfo=e}async compute(e,t,i,n){const s=await e.provideColorPresentations(t,this.colorInfo,st.None);return Array.isArray(s)&&n.push(...s),Array.isArray(s)}}async function RA(o,e,t,i,n){let s=!1,r;const a=[],l=e.ordered(t);for(let d=l.length-1;d>=0;d--){const c=l[d];if(c instanceof MA)r=c;else try{await o.compute(c,t,i,a)&&(s=!0)}catch(h){Fi(h)}}return s?a:r&&n?(await o.compute(r,t,i,a),a):[]}function GV(o,e){const{colorProvider:t}=o.get(fe),i=o.get(si).getModel(e);if(!i)throw $o();const n=o.get(Qe).getValue("editor.defaultColorDecorators",{resource:e});return{model:i,colorProviderRegistry:t,isDefaultColorDecoratorsEnabled:n}}ct.registerCommand("_executeDocumentColorProvider",function(o,...e){const[t]=e;if(!(t instanceof xe))throw $o();const{model:i,colorProviderRegistry:n,isDefaultColorDecoratorsEnabled:s}=GV(o,t);return RA(new Hge,n,i,st.None,s)});ct.registerCommand("_executeColorPresentationProvider",function(o,...e){const[t,i]=e,{uri:n,range:s}=i;if(!(n instanceof xe)||!Array.isArray(t)||t.length!==4||!D.isIRange(s))throw $o();const{model:r,colorProviderRegistry:a,isDefaultColorDecoratorsEnabled:l}=GV(o,n),[d,c,h,u]=t;return RA(new zge({range:s,color:{red:d,green:c,blue:h,alpha:u}}),a,r,st.None,l)});var Uge=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},ek=function(o,e){return function(t,i){e(t,i,o)}},mT;const ZV=Object.create({});let ah=mT=class extends V{constructor(e,t,i,n){super(),this._editor=e,this._configurationService=t,this._languageFeaturesService=i,this._localToDispose=this._register(new X),this._decorationsIds=[],this._colorDatas=new Map,this._colorDecoratorIds=this._editor.createDecorationsCollection(),this._ruleFactory=new e0(this._editor),this._decoratorLimitReporter=new $ge,this._colorDecorationClassRefs=this._register(new X),this._debounceInformation=n.for(i.colorProvider,"Document Colors",{min:mT.RECOMPUTE_TIME}),this._register(e.onDidChangeModel(()=>{this._isColorDecoratorsEnabled=this.isEnabled(),this.updateColors()})),this._register(e.onDidChangeModelLanguage(()=>this.updateColors())),this._register(i.colorProvider.onDidChange(()=>this.updateColors())),this._register(e.onDidChangeConfiguration(s=>{const r=this._isColorDecoratorsEnabled;this._isColorDecoratorsEnabled=this.isEnabled(),this._isDefaultColorDecoratorsEnabled=this._editor.getOption(146);const a=r!==this._isColorDecoratorsEnabled||s.hasChanged(21),l=s.hasChanged(146);(a||l)&&(this._isColorDecoratorsEnabled?this.updateColors():this.removeAllDecorations())})),this._timeoutTimer=null,this._computePromise=null,this._isColorDecoratorsEnabled=this.isEnabled(),this._isDefaultColorDecoratorsEnabled=this._editor.getOption(146),this.updateColors()}isEnabled(){const e=this._editor.getModel();if(!e)return!1;const t=e.getLanguageId(),i=this._configurationService.getValue(t);if(i&&typeof i=="object"){const n=i.colorDecorators;if(n&&n.enable!==void 0&&!n.enable)return n.enable}return this._editor.getOption(20)}static get(e){return e.getContribution(this.ID)}dispose(){this.stop(),this.removeAllDecorations(),super.dispose()}updateColors(){if(this.stop(),!this._isColorDecoratorsEnabled)return;const e=this._editor.getModel();!e||!this._languageFeaturesService.colorProvider.has(e)||(this._localToDispose.add(this._editor.onDidChangeModelContent(()=>{this._timeoutTimer||(this._timeoutTimer=new Dr,this._timeoutTimer.cancelAndSet(()=>{this._timeoutTimer=null,this.beginCompute()},this._debounceInformation.get(e)))})),this.beginCompute())}async beginCompute(){this._computePromise=tn(async e=>{const t=this._editor.getModel();if(!t)return[];const i=new Hn(!1),n=await KV(this._languageFeaturesService.colorProvider,t,e,this._isDefaultColorDecoratorsEnabled);return this._debounceInformation.update(t,i.elapsed()),n});try{const e=await this._computePromise;this.updateDecorations(e),this.updateColorDecorators(e),this._computePromise=null}catch(e){Ve(e)}}stop(){this._timeoutTimer&&(this._timeoutTimer.cancel(),this._timeoutTimer=null),this._computePromise&&(this._computePromise.cancel(),this._computePromise=null),this._localToDispose.clear()}updateDecorations(e){const t=e.map(i=>({range:{startLineNumber:i.colorInfo.range.startLineNumber,startColumn:i.colorInfo.range.startColumn,endLineNumber:i.colorInfo.range.endLineNumber,endColumn:i.colorInfo.range.endColumn},options:ze.EMPTY}));this._editor.changeDecorations(i=>{this._decorationsIds=i.deltaDecorations(this._decorationsIds,t),this._colorDatas=new Map,this._decorationsIds.forEach((n,s)=>this._colorDatas.set(n,e[s]))})}updateColorDecorators(e){this._colorDecorationClassRefs.clear();const t=[],i=this._editor.getOption(21);for(let s=0;sthis._colorDatas.has(n.id));return i.length===0?null:this._colorDatas.get(i[0].id)}isColorDecoration(e){return this._colorDecoratorIds.has(e)}};ah.ID="editor.contrib.colorDetector";ah.RECOMPUTE_TIME=1e3;ah=mT=Uge([ek(1,Qe),ek(2,fe),ek(3,Jo)],ah);class $ge{constructor(){this._onDidChange=new O,this._computed=0,this._limited=!1}update(e,t){(e!==this._computed||t!==this._limited)&&(this._computed=e,this._limited=t,this._onDidChange.fire())}}vt(ah.ID,ah,1);class jge{get color(){return this._color}set color(e){this._color.equals(e)||(this._color=e,this._onDidChangeColor.fire(e))}get presentation(){return this.colorPresentations[this.presentationIndex]}get colorPresentations(){return this._colorPresentations}set colorPresentations(e){this._colorPresentations=e,this.presentationIndex>e.length-1&&(this.presentationIndex=0),this._onDidChangePresentation.fire(this.presentation)}constructor(e,t,i){this.presentationIndex=i,this._onColorFlushed=new O,this.onColorFlushed=this._onColorFlushed.event,this._onDidChangeColor=new O,this.onDidChangeColor=this._onDidChangeColor.event,this._onDidChangePresentation=new O,this.onDidChangePresentation=this._onDidChangePresentation.event,this.originalColor=e,this._color=e,this._colorPresentations=t}selectNextColorPresentation(){this.presentationIndex=(this.presentationIndex+1)%this.colorPresentations.length,this.flushColor(),this._onDidChangePresentation.fire(this.presentation)}guessColorPresentation(e,t){let i=-1;for(let n=0;n{this.backgroundColor=r.getColor(Sw)||z.white})),this._register($(this._pickedColorNode,se.CLICK,()=>this.model.selectNextColorPresentation())),this._register($(this._originalColorNode,se.CLICK,()=>{this.model.color=this.model.originalColor,this.model.flushColor()})),this._register(t.onDidChangeColor(this.onDidChangeColor,this)),this._register(t.onDidChangePresentation(this.onDidChangePresentation,this)),this._pickedColorNode.style.backgroundColor=z.Format.CSS.format(t.color)||"",this._pickedColorNode.classList.toggle("light",t.color.rgba.a<.5?this.backgroundColor.isLighter():t.color.isLighter()),this.onDidChangeColor(this.model.color),this.showingStandaloneColorPicker&&(this._domNode.classList.add("standalone-colorpicker"),this._closeButton=this._register(new qge(this._domNode)))}get closeButton(){return this._closeButton}get pickedColorNode(){return this._pickedColorNode}get originalColorNode(){return this._originalColorNode}onDidChangeColor(e){this._pickedColorNode.style.backgroundColor=z.Format.CSS.format(e)||"",this._pickedColorNode.classList.toggle("light",e.rgba.a<.5?this.backgroundColor.isLighter():e.isLighter()),this.onDidChangePresentation()}onDidChangePresentation(){this._pickedColorPresentation.textContent=this.model.presentation?this.model.presentation.label:""}}class qge extends V{constructor(e){super(),this._onClicked=this._register(new O),this.onClicked=this._onClicked.event,this._button=document.createElement("div"),this._button.classList.add("close-button"),Y(e,this._button);const t=document.createElement("div");t.classList.add("close-button-inner-div"),Y(this._button,t),Y(t,vo(".button"+Ne.asCSSSelector(Ii("color-picker-close",re.close,m("closeIcon","Icon to close the color picker"))))).classList.add("close-icon"),this._register($(this._button,se.CLICK,()=>{this._onClicked.fire()}))}}class Gge extends V{constructor(e,t,i,n=!1){super(),this.model=t,this.pixelRatio=i,this._insertButton=null,this._domNode=vo(".colorpicker-body"),Y(e,this._domNode),this._saturationBox=new Zge(this._domNode,this.model,this.pixelRatio),this._register(this._saturationBox),this._register(this._saturationBox.onDidChange(this.onDidSaturationValueChange,this)),this._register(this._saturationBox.onColorFlushed(this.flushColor,this)),this._opacityStrip=new Yge(this._domNode,this.model,n),this._register(this._opacityStrip),this._register(this._opacityStrip.onDidChange(this.onDidOpacityChange,this)),this._register(this._opacityStrip.onColorFlushed(this.flushColor,this)),this._hueStrip=new Xge(this._domNode,this.model,n),this._register(this._hueStrip),this._register(this._hueStrip.onDidChange(this.onDidHueChange,this)),this._register(this._hueStrip.onColorFlushed(this.flushColor,this)),n&&(this._insertButton=this._register(new Qge(this._domNode)),this._domNode.classList.add("standalone-colorpicker"))}flushColor(){this.model.flushColor()}onDidSaturationValueChange({s:e,v:t}){const i=this.model.color.hsva;this.model.color=new z(new Xa(i.h,e,t,i.a))}onDidOpacityChange(e){const t=this.model.color.hsva;this.model.color=new z(new Xa(t.h,t.s,t.v,e))}onDidHueChange(e){const t=this.model.color.hsva,i=(1-e)*360;this.model.color=new z(new Xa(i===360?0:i,t.s,t.v,t.a))}get domNode(){return this._domNode}get saturationBox(){return this._saturationBox}get enterButton(){return this._insertButton}layout(){this._saturationBox.layout(),this._opacityStrip.layout(),this._hueStrip.layout()}}class Zge extends V{constructor(e,t,i){super(),this.model=t,this.pixelRatio=i,this._onDidChange=new O,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new O,this.onColorFlushed=this._onColorFlushed.event,this._domNode=vo(".saturation-wrap"),Y(e,this._domNode),this._canvas=document.createElement("canvas"),this._canvas.className="saturation-box",Y(this._domNode,this._canvas),this.selection=vo(".saturation-selection"),Y(this._domNode,this.selection),this.layout(),this._register($(this._domNode,se.POINTER_DOWN,n=>this.onPointerDown(n))),this._register(this.model.onDidChangeColor(this.onDidChangeColor,this)),this.monitor=null}get domNode(){return this._domNode}onPointerDown(e){if(!e.target||!(e.target instanceof Element))return;this.monitor=this._register(new tp);const t=Mi(this._domNode);e.target!==this.selection&&this.onDidChangePosition(e.offsetX,e.offsetY),this.monitor.startMonitoring(e.target,e.pointerId,e.buttons,n=>this.onDidChangePosition(n.pageX-t.left,n.pageY-t.top),()=>null);const i=$(e.target.ownerDocument,se.POINTER_UP,()=>{this._onColorFlushed.fire(),i.dispose(),this.monitor&&(this.monitor.stopMonitoring(!0),this.monitor=null)},!0)}onDidChangePosition(e,t){const i=Math.max(0,Math.min(1,e/this.width)),n=Math.max(0,Math.min(1,1-t/this.height));this.paintSelection(i,n),this._onDidChange.fire({s:i,v:n})}layout(){this.width=this._domNode.offsetWidth,this.height=this._domNode.offsetHeight,this._canvas.width=this.width*this.pixelRatio,this._canvas.height=this.height*this.pixelRatio,this.paint();const e=this.model.color.hsva;this.paintSelection(e.s,e.v)}paint(){const e=this.model.color.hsva,t=new z(new Xa(e.h,1,1,1)),i=this._canvas.getContext("2d"),n=i.createLinearGradient(0,0,this._canvas.width,0);n.addColorStop(0,"rgba(255, 255, 255, 1)"),n.addColorStop(.5,"rgba(255, 255, 255, 0.5)"),n.addColorStop(1,"rgba(255, 255, 255, 0)");const s=i.createLinearGradient(0,0,0,this._canvas.height);s.addColorStop(0,"rgba(0, 0, 0, 0)"),s.addColorStop(1,"rgba(0, 0, 0, 1)"),i.rect(0,0,this._canvas.width,this._canvas.height),i.fillStyle=z.Format.CSS.format(t),i.fill(),i.fillStyle=n,i.fill(),i.fillStyle=s,i.fill()}paintSelection(e,t){this.selection.style.left=`${e*this.width}px`,this.selection.style.top=`${this.height-t*this.height}px`}onDidChangeColor(e){if(this.monitor&&this.monitor.isMonitoring())return;this.paint();const t=e.hsva;this.paintSelection(t.s,t.v)}}class YV extends V{constructor(e,t,i=!1){super(),this.model=t,this._onDidChange=new O,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new O,this.onColorFlushed=this._onColorFlushed.event,i?(this.domNode=Y(e,vo(".standalone-strip")),this.overlay=Y(this.domNode,vo(".standalone-overlay"))):(this.domNode=Y(e,vo(".strip")),this.overlay=Y(this.domNode,vo(".overlay"))),this.slider=Y(this.domNode,vo(".slider")),this.slider.style.top="0px",this._register($(this.domNode,se.POINTER_DOWN,n=>this.onPointerDown(n))),this._register(t.onDidChangeColor(this.onDidChangeColor,this)),this.layout()}layout(){this.height=this.domNode.offsetHeight-this.slider.offsetHeight;const e=this.getValue(this.model.color);this.updateSliderPosition(e)}onDidChangeColor(e){const t=this.getValue(e);this.updateSliderPosition(t)}onPointerDown(e){if(!e.target||!(e.target instanceof Element))return;const t=this._register(new tp),i=Mi(this.domNode);this.domNode.classList.add("grabbing"),e.target!==this.slider&&this.onDidChangeTop(e.offsetY),t.startMonitoring(e.target,e.pointerId,e.buttons,s=>this.onDidChangeTop(s.pageY-i.top),()=>null);const n=$(e.target.ownerDocument,se.POINTER_UP,()=>{this._onColorFlushed.fire(),n.dispose(),t.stopMonitoring(!0),this.domNode.classList.remove("grabbing")},!0)}onDidChangeTop(e){const t=Math.max(0,Math.min(1,1-e/this.height));this.updateSliderPosition(t),this._onDidChange.fire(t)}updateSliderPosition(e){this.slider.style.top=`${(1-e)*this.height}px`}}class Yge extends YV{constructor(e,t,i=!1){super(e,t,i),this.domNode.classList.add("opacity-strip"),this.onDidChangeColor(this.model.color)}onDidChangeColor(e){super.onDidChangeColor(e);const{r:t,g:i,b:n}=e.rgba,s=new z(new ut(t,i,n,1)),r=new z(new ut(t,i,n,0));this.overlay.style.background=`linear-gradient(to bottom, ${s} 0%, ${r} 100%)`}getValue(e){return e.hsva.a}}class Xge extends YV{constructor(e,t,i=!1){super(e,t,i),this.domNode.classList.add("hue-strip")}getValue(e){return 1-e.hsva.h/360}}class Qge extends V{constructor(e){super(),this._onClicked=this._register(new O),this.onClicked=this._onClicked.event,this._button=Y(e,document.createElement("button")),this._button.classList.add("insert-button"),this._button.textContent="Insert",this._register($(this._button,se.CLICK,()=>{this._onClicked.fire()}))}get button(){return this._button}}class Jge extends Eo{constructor(e,t,i,n,s=!1){super(),this.model=t,this.pixelRatio=i,this._register(mv.getInstance(ke(e)).onDidChange(()=>this.layout()));const r=vo(".colorpicker-widget");e.appendChild(r),this.header=this._register(new Kge(r,this.model,n,s)),this.body=this._register(new Gge(r,this.model,this.pixelRatio,s))}layout(){this.body.layout()}}var XV=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},QV=function(o,e){return function(t,i){e(t,i,o)}};class efe{constructor(e,t,i,n){this.owner=e,this.range=t,this.model=i,this.provider=n,this.forceShowAtRange=!0}isValidForHoverAnchor(e){return e.type===1&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}}let TS=class{constructor(e,t){this._editor=e,this._themeService=t,this.hoverOrdinal=2}computeSync(e,t){return[]}computeAsync(e,t,i){return Pi.fromPromise(this._computeAsync(e,t,i))}async _computeAsync(e,t,i){if(!this._editor.hasModel())return[];const n=ah.get(this._editor);if(!n)return[];for(const s of t){if(!n.isColorDecoration(s))continue;const r=n.getColorData(s.range.getStartPosition());if(r)return[await JV(this,this._editor.getModel(),r.colorInfo,r.provider)]}return[]}renderHoverParts(e,t){return eH(this,this._editor,this._themeService,t,e)}};TS=XV([QV(1,nn)],TS);class tfe{constructor(e,t,i,n){this.owner=e,this.range=t,this.model=i,this.provider=n}}let _b=class{constructor(e,t){this._editor=e,this._themeService=t,this._color=null}async createColorHover(e,t,i){if(!this._editor.hasModel()||!ah.get(this._editor))return null;const s=await KV(i,this._editor.getModel(),st.None);let r=null,a=null;for(const h of s){const u=h.colorInfo;D.containsRange(u.range,e.range)&&(r=u,a=h.provider)}const l=r??e,d=a??t,c=!!r;return{colorHover:await JV(this,this._editor.getModel(),l,d),foundInEditor:c}}async updateEditorModel(e){if(!this._editor.hasModel())return;const t=e.model;let i=new D(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn);this._color&&(await B1(this._editor.getModel(),t,this._color,i,e),i=tH(this._editor,i,t))}renderHoverParts(e,t){return eH(this,this._editor,this._themeService,t,e)}set color(e){this._color=e}get color(){return this._color}};_b=XV([QV(1,nn)],_b);async function JV(o,e,t,i){const n=e.getValueInRange(t.range),{red:s,green:r,blue:a,alpha:l}=t.color,d=new ut(Math.round(s*255),Math.round(r*255),Math.round(a*255),l),c=new z(d),h=await qV(e,t,i,st.None),u=new jge(c,[],0);return u.colorPresentations=h||[],u.guessColorPresentation(c,n),o instanceof TS?new efe(o,D.lift(t.range),u,i):new tfe(o,D.lift(t.range),u,i)}function eH(o,e,t,i,n){if(i.length===0||!e.hasModel())return V.None;if(n.setMinimumDimensions){const u=e.getOption(67)+8;n.setMinimumDimensions(new bt(302,u))}const s=new X,r=i[0],a=e.getModel(),l=r.model,d=s.add(new Jge(n.fragment,l,e.getOption(142),t,o instanceof _b));n.setColorPicker(d);let c=!1,h=new D(r.range.startLineNumber,r.range.startColumn,r.range.endLineNumber,r.range.endColumn);if(o instanceof _b){const u=i[0].model.color;o.color=u,B1(a,l,u,h,r),s.add(l.onColorFlushed(g=>{o.color=g}))}else s.add(l.onColorFlushed(async u=>{await B1(a,l,u,h,r),c=!0,h=tH(e,h,l)}));return s.add(l.onDidChangeColor(u=>{B1(a,l,u,h,r)})),s.add(e.onDidChangeModelContent(u=>{c?c=!1:(n.hide(),e.focus())})),s}function tH(o,e,t){var i,n;const s=[],r=(i=t.presentation.textEdit)!==null&&i!==void 0?i:{range:e,text:t.presentation.label,forceMoveMarkers:!1};s.push(r),t.presentation.additionalTextEdits&&s.push(...t.presentation.additionalTextEdits);const a=D.lift(r.range),l=o.getModel()._setTrackedRange(null,a,3);return o.executeEdits("colorpicker",s),o.pushUndoStop(),(n=o.getModel()._getTrackedRange(l))!==null&&n!==void 0?n:a}async function B1(o,e,t,i,n){const s=await qV(o,{range:i,color:{red:t.rgba.r/255,green:t.rgba.g/255,blue:t.rgba.b/255,alpha:t.rgba.a}},n.provider,st.None);e.colorPresentations=s||[]}function pT(o,e){return!!o[e]}class tk{constructor(e,t){this.target=e.target,this.isLeftClick=e.event.leftButton,this.isMiddleClick=e.event.middleButton,this.isRightClick=e.event.rightButton,this.hasTriggerModifier=pT(e.event,t.triggerModifier),this.hasSideBySideModifier=pT(e.event,t.triggerSideBySideModifier),this.isNoneOrSingleMouseDown=e.event.detail<=1}}class p3{constructor(e,t){this.keyCodeIsTriggerKey=e.keyCode===t.triggerKey,this.keyCodeIsSideBySideKey=e.keyCode===t.triggerSideBySideKey,this.hasTriggerModifier=pT(e,t.triggerModifier)}}class AC{constructor(e,t,i,n){this.triggerKey=e,this.triggerModifier=t,this.triggerSideBySideKey=i,this.triggerSideBySideModifier=n}equals(e){return this.triggerKey===e.triggerKey&&this.triggerModifier===e.triggerModifier&&this.triggerSideBySideKey===e.triggerSideBySideKey&&this.triggerSideBySideModifier===e.triggerSideBySideModifier}}function _3(o){return o==="altKey"?lt?new AC(57,"metaKey",6,"altKey"):new AC(5,"ctrlKey",6,"altKey"):lt?new AC(6,"altKey",57,"metaKey"):new AC(6,"altKey",5,"ctrlKey")}class EL extends V{constructor(e,t){var i;super(),this._onMouseMoveOrRelevantKeyDown=this._register(new O),this.onMouseMoveOrRelevantKeyDown=this._onMouseMoveOrRelevantKeyDown.event,this._onExecute=this._register(new O),this.onExecute=this._onExecute.event,this._onCancel=this._register(new O),this.onCancel=this._onCancel.event,this._editor=e,this._extractLineNumberFromMouseEvent=(i=t==null?void 0:t.extractLineNumberFromMouseEvent)!==null&&i!==void 0?i:n=>n.target.position?n.target.position.lineNumber:0,this._opts=_3(this._editor.getOption(78)),this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._register(this._editor.onDidChangeConfiguration(n=>{if(n.hasChanged(78)){const s=_3(this._editor.getOption(78));if(this._opts.equals(s))return;this._opts=s,this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._onCancel.fire()}})),this._register(this._editor.onMouseMove(n=>this._onEditorMouseMove(new tk(n,this._opts)))),this._register(this._editor.onMouseDown(n=>this._onEditorMouseDown(new tk(n,this._opts)))),this._register(this._editor.onMouseUp(n=>this._onEditorMouseUp(new tk(n,this._opts)))),this._register(this._editor.onKeyDown(n=>this._onEditorKeyDown(new p3(n,this._opts)))),this._register(this._editor.onKeyUp(n=>this._onEditorKeyUp(new p3(n,this._opts)))),this._register(this._editor.onMouseDrag(()=>this._resetHandler())),this._register(this._editor.onDidChangeCursorSelection(n=>this._onDidChangeCursorSelection(n))),this._register(this._editor.onDidChangeModel(n=>this._resetHandler())),this._register(this._editor.onDidChangeModelContent(()=>this._resetHandler())),this._register(this._editor.onDidScrollChange(n=>{(n.scrollTopChanged||n.scrollLeftChanged)&&this._resetHandler()}))}_onDidChangeCursorSelection(e){e.selection&&e.selection.startColumn!==e.selection.endColumn&&this._resetHandler()}_onEditorMouseMove(e){this._lastMouseMoveEvent=e,this._onMouseMoveOrRelevantKeyDown.fire([e,null])}_onEditorMouseDown(e){this._hasTriggerKeyOnMouseDown=e.hasTriggerModifier,this._lineNumberOnMouseDown=this._extractLineNumberFromMouseEvent(e)}_onEditorMouseUp(e){const t=this._extractLineNumberFromMouseEvent(e);this._hasTriggerKeyOnMouseDown&&this._lineNumberOnMouseDown&&this._lineNumberOnMouseDown===t&&this._onExecute.fire(e)}_onEditorKeyDown(e){this._lastMouseMoveEvent&&(e.keyCodeIsTriggerKey||e.keyCodeIsSideBySideKey&&e.hasTriggerModifier)?this._onMouseMoveOrRelevantKeyDown.fire([this._lastMouseMoveEvent,e]):e.hasTriggerModifier&&this._onCancel.fire()}_onEditorKeyUp(e){e.keyCodeIsTriggerKey&&this._onCancel.fire()}_resetHandler(){this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._onCancel.fire()}}var ife=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Pl=function(o,e){return function(t,i){e(t,i,o)}};let lh=class extends Lm{constructor(e,t,i,n,s,r,a,l,d,c,h,u,g){super(e,{...n.getRawOptions(),overflowWidgetsDomNode:n.getOverflowWidgetsDomNode()},i,s,r,a,l,d,c,h,u,g),this._parentEditor=n,this._overwriteOptions=t,super.updateOptions(this._overwriteOptions),this._register(n.onDidChangeConfiguration(f=>this._onParentConfigurationChanged(f)))}getParentEditor(){return this._parentEditor}_onParentConfigurationChanged(e){super.updateOptions(this._parentEditor.getRawOptions()),super.updateOptions(this._overwriteOptions)}updateOptions(e){JS(this._overwriteOptions,e,!0),super.updateOptions(this._overwriteOptions)}};lh=ife([Pl(4,Ie),Pl(5,_t),Pl(6,ai),Pl(7,Ae),Pl(8,nn),Pl(9,Ri),Pl(10,xr),Pl(11,Vt),Pl(12,fe)],lh);const v3=new z(new ut(0,122,204)),nfe={showArrow:!0,showFrame:!0,className:"",frameColor:v3,arrowColor:v3,keepEditorSelection:!1},sfe="vs.editor.contrib.zoneWidget";class ofe{constructor(e,t,i,n,s,r,a,l){this.id="",this.domNode=e,this.afterLineNumber=t,this.afterColumn=i,this.heightInLines=n,this.showInHiddenAreas=a,this.ordinal=l,this._onDomNodeTop=s,this._onComputedHeight=r}onDomNodeTop(e){this._onDomNodeTop(e)}onComputedHeight(e){this._onComputedHeight(e)}}class rfe{constructor(e,t){this._id=e,this._domNode=t}getId(){return this._id}getDomNode(){return this._domNode}getPosition(){return null}}class NL{constructor(e){this._editor=e,this._ruleName=NL._IdGenerator.nextId(),this._decorations=this._editor.createDecorationsCollection(),this._color=null,this._height=-1}dispose(){this.hide(),RI(this._ruleName)}set color(e){this._color!==e&&(this._color=e,this._updateStyle())}set height(e){this._height!==e&&(this._height=e,this._updateStyle())}_updateStyle(){RI(this._ruleName),hw(`.monaco-editor ${this._ruleName}`,`border-style: solid; border-color: transparent; border-bottom-color: ${this._color}; border-width: ${this._height}px; bottom: -${this._height}px; margin-left: -${this._height}px; `)}show(e){e.column===1&&(e={lineNumber:e.lineNumber,column:2}),this._decorations.set([{range:D.fromPositions(e),options:{description:"zone-widget-arrow",className:this._ruleName,stickiness:1}}])}hide(){this._decorations.clear()}}NL._IdGenerator=new M2(".arrow-decoration-");class afe{constructor(e,t={}){this._arrow=null,this._overlayWidget=null,this._resizeSash=null,this._viewZone=null,this._disposables=new X,this.container=null,this._isShowing=!1,this.editor=e,this._positionMarkerId=this.editor.createDecorationsCollection(),this.options=zl(t),JS(this.options,nfe,!1),this.domNode=document.createElement("div"),this.options.isAccessible||(this.domNode.setAttribute("aria-hidden","true"),this.domNode.setAttribute("role","presentation")),this._disposables.add(this.editor.onDidLayoutChange(i=>{const n=this._getWidth(i);this.domNode.style.width=n+"px",this.domNode.style.left=this._getLeft(i)+"px",this._onWidth(n)}))}dispose(){this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._viewZone&&this.editor.changeViewZones(e=>{this._viewZone&&e.removeZone(this._viewZone.id),this._viewZone=null}),this._positionMarkerId.clear(),this._disposables.dispose()}create(){this.domNode.classList.add("zone-widget"),this.options.className&&this.domNode.classList.add(this.options.className),this.container=document.createElement("div"),this.container.classList.add("zone-widget-container"),this.domNode.appendChild(this.container),this.options.showArrow&&(this._arrow=new NL(this.editor),this._disposables.add(this._arrow)),this._fillContainer(this.container),this._initSash(),this._applyStyles()}style(e){e.frameColor&&(this.options.frameColor=e.frameColor),e.arrowColor&&(this.options.arrowColor=e.arrowColor),this._applyStyles()}_applyStyles(){if(this.container&&this.options.frameColor){const e=this.options.frameColor.toString();this.container.style.borderTopColor=e,this.container.style.borderBottomColor=e}if(this._arrow&&this.options.arrowColor){const e=this.options.arrowColor.toString();this._arrow.color=e}}_getWidth(e){return e.width-e.minimap.minimapWidth-e.verticalScrollbarWidth}_getLeft(e){return e.minimap.minimapWidth>0&&e.minimap.minimapLeft===0?e.minimap.minimapWidth:0}_onViewZoneTop(e){this.domNode.style.top=e+"px"}_onViewZoneHeight(e){var t;if(this.domNode.style.height=`${e}px`,this.container){const i=e-this._decoratingElementsHeight();this.container.style.height=`${i}px`;const n=this.editor.getLayoutInfo();this._doLayout(i,this._getWidth(n))}(t=this._resizeSash)===null||t===void 0||t.layout()}get position(){const e=this._positionMarkerId.getRange(0);if(e)return e.getStartPosition()}show(e,t){const i=D.isIRange(e)?D.lift(e):D.fromPositions(e);this._isShowing=!0,this._showImpl(i,t),this._isShowing=!1,this._positionMarkerId.set([{range:i,options:ze.EMPTY}])}hide(){var e;this._viewZone&&(this.editor.changeViewZones(t=>{this._viewZone&&t.removeZone(this._viewZone.id)}),this._viewZone=null),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),(e=this._arrow)===null||e===void 0||e.hide(),this._positionMarkerId.clear()}_decoratingElementsHeight(){const e=this.editor.getOption(67);let t=0;if(this.options.showArrow){const i=Math.round(e/3);t+=2*i}if(this.options.showFrame){const i=Math.round(e/9);t+=2*i}return t}_showImpl(e,t){const i=e.getStartPosition(),n=this.editor.getLayoutInfo(),s=this._getWidth(n);this.domNode.style.width=`${s}px`,this.domNode.style.left=this._getLeft(n)+"px";const r=document.createElement("div");r.style.overflow="hidden";const a=this.editor.getOption(67);if(!this.options.allowUnlimitedHeight){const u=Math.max(12,this.editor.getLayoutInfo().height/a*.8);t=Math.min(t,u)}let l=0,d=0;if(this._arrow&&this.options.showArrow&&(l=Math.round(a/3),this._arrow.height=l,this._arrow.show(i)),this.options.showFrame&&(d=Math.round(a/9)),this.editor.changeViewZones(u=>{this._viewZone&&u.removeZone(this._viewZone.id),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this.domNode.style.top="-1000px",this._viewZone=new ofe(r,i.lineNumber,i.column,t,g=>this._onViewZoneTop(g),g=>this._onViewZoneHeight(g),this.options.showInHiddenAreas,this.options.ordinal),this._viewZone.id=u.addZone(this._viewZone),this._overlayWidget=new rfe(sfe+this._viewZone.id,this.domNode),this.editor.addOverlayWidget(this._overlayWidget)}),this.container&&this.options.showFrame){const u=this.options.frameWidth?this.options.frameWidth:d;this.container.style.borderTopWidth=u+"px",this.container.style.borderBottomWidth=u+"px"}const c=t*a-this._decoratingElementsHeight();this.container&&(this.container.style.top=l+"px",this.container.style.height=c+"px",this.container.style.overflow="hidden"),this._doLayout(c,s),this.options.keepEditorSelection||this.editor.setSelection(e);const h=this.editor.getModel();if(h){const u=h.validateRange(new D(e.startLineNumber,1,e.endLineNumber+1,1));this.revealRange(u,u.startLineNumber===h.getLineCount())}}revealRange(e,t){t?this.editor.revealLineNearTop(e.endLineNumber,0):this.editor.revealRange(e,0)}setCssClass(e,t){this.container&&(t&&this.container.classList.remove(t),this.container.classList.add(e))}_onWidth(e){}_doLayout(e,t){}_relayout(e){this._viewZone&&this._viewZone.heightInLines!==e&&this.editor.changeViewZones(t=>{this._viewZone&&(this._viewZone.heightInLines=e,t.layoutZone(this._viewZone.id))})}_initSash(){if(this._resizeSash)return;this._resizeSash=this._disposables.add(new Pn(this.domNode,this,{orientation:1})),this.options.isResizeable||(this._resizeSash.state=0);let e;this._disposables.add(this._resizeSash.onDidStart(t=>{this._viewZone&&(e={startY:t.startY,heightInLines:this._viewZone.heightInLines})})),this._disposables.add(this._resizeSash.onDidEnd(()=>{e=void 0})),this._disposables.add(this._resizeSash.onDidChange(t=>{if(e){const i=(t.currentY-e.startY)/this.editor.getOption(67),n=i<0?Math.ceil(i):Math.floor(i),s=e.heightInLines+n;s>5&&s<35&&this._relayout(s)}}))}getHorizontalSashLeft(){return 0}getHorizontalSashTop(){return(this.domNode.style.height===null?0:parseInt(this.domNode.style.height))-this._decoratingElementsHeight()/2}getHorizontalSashWidth(){const e=this.editor.getLayoutInfo();return e.width-e.minimap.minimapWidth}}var iH=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},nH=function(o,e){return function(t,i){e(t,i,o)}};const sH=ot("IPeekViewService");ht(sH,class{constructor(){this._widgets=new Map}addExclusiveWidget(o,e){const t=this._widgets.get(o);t&&(t.listener.dispose(),t.widget.dispose());const i=()=>{const n=this._widgets.get(o);n&&n.widget===e&&(n.listener.dispose(),this._widgets.delete(o))};this._widgets.set(o,{widget:e,listener:e.onDidClose(i)})}},1);var Fs;(function(o){o.inPeekEditor=new de("inReferenceSearchEditor",!0,m("inReferenceSearchEditor","Whether the current code editor is embedded inside peek")),o.notInPeekEditor=o.inPeekEditor.toNegated()})(Fs||(Fs={}));let vb=class{constructor(e,t){e instanceof lh&&Fs.inPeekEditor.bindTo(t)}dispose(){}};vb.ID="editor.contrib.referenceController";vb=iH([nH(1,Ae)],vb);vt(vb.ID,vb,0);function lfe(o){const e=o.get(_t).getFocusedCodeEditor();return e instanceof lh?e.getParentEditor():e}const dfe={headerBackgroundColor:z.white,primaryHeadingColor:z.fromHex("#333333"),secondaryHeadingColor:z.fromHex("#6c6c6cb3")};let MS=class extends afe{constructor(e,t,i){super(e,t),this.instantiationService=i,this._onDidClose=new O,this.onDidClose=this._onDidClose.event,JS(this.options,dfe,!1)}dispose(){this.disposed||(this.disposed=!0,super.dispose(),this._onDidClose.fire(this))}style(e){const t=this.options;e.headerBackgroundColor&&(t.headerBackgroundColor=e.headerBackgroundColor),e.primaryHeadingColor&&(t.primaryHeadingColor=e.primaryHeadingColor),e.secondaryHeadingColor&&(t.secondaryHeadingColor=e.secondaryHeadingColor),super.style(e)}_applyStyles(){super._applyStyles();const e=this.options;this._headElement&&e.headerBackgroundColor&&(this._headElement.style.backgroundColor=e.headerBackgroundColor.toString()),this._primaryHeading&&e.primaryHeadingColor&&(this._primaryHeading.style.color=e.primaryHeadingColor.toString()),this._secondaryHeading&&e.secondaryHeadingColor&&(this._secondaryHeading.style.color=e.secondaryHeadingColor.toString()),this._bodyElement&&e.frameColor&&(this._bodyElement.style.borderColor=e.frameColor.toString())}_fillContainer(e){this.setCssClass("peekview-widget"),this._headElement=J(".head"),this._bodyElement=J(".body"),this._fillHead(this._headElement),this._fillBody(this._bodyElement),e.appendChild(this._headElement),e.appendChild(this._bodyElement)}_fillHead(e,t){this._titleElement=J(".peekview-title"),this.options.supportOnTitleClick&&(this._titleElement.classList.add("clickable"),vi(this._titleElement,"click",s=>this._onTitleClick(s))),Y(this._headElement,this._titleElement),this._fillTitleIcon(this._titleElement),this._primaryHeading=J("span.filename"),this._secondaryHeading=J("span.dirname"),this._metaHeading=J("span.meta"),Y(this._titleElement,this._primaryHeading,this._secondaryHeading,this._metaHeading);const i=J(".peekview-actions");Y(this._headElement,i);const n=this._getActionBarOptions();this._actionbarWidget=new Yo(i,n),this._disposables.add(this._actionbarWidget),t||this._actionbarWidget.push(new Zs("peekview.close",m("label.close","Close"),Ne.asClassName(re.close),!0,()=>(this.dispose(),Promise.resolve())),{label:!1,icon:!0})}_fillTitleIcon(e){}_getActionBarOptions(){return{actionViewItemProvider:EW.bind(void 0,this.instantiationService),orientation:0}}_onTitleClick(e){}setTitle(e,t){this._primaryHeading&&this._secondaryHeading&&(this._primaryHeading.innerText=e,this._primaryHeading.setAttribute("title",e),t?this._secondaryHeading.innerText=t:Wn(this._secondaryHeading))}setMetaTitle(e){this._metaHeading&&(e?(this._metaHeading.innerText=e,js(this._metaHeading)):ds(this._metaHeading))}_doLayout(e,t){if(!this._isShowing&&e<0){this.dispose();return}const i=Math.ceil(this.editor.getOption(67)*1.2),n=Math.round(e-(i+2));this._doLayoutHead(i,t),this._doLayoutBody(n,t)}_doLayoutHead(e,t){this._headElement&&(this._headElement.style.height=`${e}px`,this._headElement.style.lineHeight=this._headElement.style.height)}_doLayoutBody(e,t){this._bodyElement&&(this._bodyElement.style.height=`${e}px`)}};MS=iH([nH(2,Ie)],MS);const cfe=N("peekViewTitle.background",{dark:"#252526",light:"#F3F3F3",hcDark:z.black,hcLight:z.white},m("peekViewTitleBackground","Background color of the peek view title area.")),oH=N("peekViewTitleLabel.foreground",{dark:z.white,light:z.black,hcDark:z.white,hcLight:_r},m("peekViewTitleForeground","Color of the peek view title.")),rH=N("peekViewTitleDescription.foreground",{dark:"#ccccccb3",light:"#616161",hcDark:"#FFFFFF99",hcLight:"#292929"},m("peekViewTitleInfoForeground","Color of the peek view title info.")),hfe=N("peekView.border",{dark:Rs,light:Rs,hcDark:at,hcLight:at},m("peekViewBorder","Color of the peek view borders and arrow.")),ufe=N("peekViewResult.background",{dark:"#252526",light:"#F3F3F3",hcDark:z.black,hcLight:z.white},m("peekViewResultsBackground","Background color of the peek view result list."));N("peekViewResult.lineForeground",{dark:"#bbbbbb",light:"#646465",hcDark:z.white,hcLight:_r},m("peekViewResultsMatchForeground","Foreground color for line nodes in the peek view result list."));N("peekViewResult.fileForeground",{dark:z.white,light:"#1E1E1E",hcDark:z.white,hcLight:_r},m("peekViewResultsFileForeground","Foreground color for file nodes in the peek view result list."));N("peekViewResult.selectionBackground",{dark:"#3399ff33",light:"#3399ff33",hcDark:null,hcLight:null},m("peekViewResultsSelectionBackground","Background color of the selected entry in the peek view result list."));N("peekViewResult.selectionForeground",{dark:z.white,light:"#6C6C6C",hcDark:z.white,hcLight:_r},m("peekViewResultsSelectionForeground","Foreground color of the selected entry in the peek view result list."));const Sc=N("peekViewEditor.background",{dark:"#001F33",light:"#F2F8FC",hcDark:z.black,hcLight:z.white},m("peekViewEditorBackground","Background color of the peek view editor."));N("peekViewEditorGutter.background",{dark:Sc,light:Sc,hcDark:Sc,hcLight:Sc},m("peekViewEditorGutterBackground","Background color of the gutter in the peek view editor."));N("peekViewEditorStickyScroll.background",{dark:Sc,light:Sc,hcDark:Sc,hcLight:Sc},m("peekViewEditorStickScrollBackground","Background color of sticky scroll in the peek view editor."));N("peekViewResult.matchHighlightBackground",{dark:"#ea5c004d",light:"#ea5c004d",hcDark:null,hcLight:null},m("peekViewResultsMatchHighlight","Match highlight color in the peek view result list."));N("peekViewEditor.matchHighlightBackground",{dark:"#ff8f0099",light:"#f5d802de",hcDark:null,hcLight:null},m("peekViewEditorMatchHighlight","Match highlight color in the peek view editor."));N("peekViewEditor.matchHighlightBorder",{dark:null,light:null,hcDark:Yt,hcLight:Yt},m("peekViewEditorMatchHighlightBorder","Match highlight border in the peek view editor."));class dh{constructor(e,t,i,n){this.isProviderFirst=e,this.parent=t,this.link=i,this._rangeCallback=n,this.id=BE.nextId()}get uri(){return this.link.uri}get range(){var e,t;return(t=(e=this._range)!==null&&e!==void 0?e:this.link.targetSelectionRange)!==null&&t!==void 0?t:this.link.range}set range(e){this._range=e,this._rangeCallback(this)}get ariaMessage(){var e;const t=(e=this.parent.getPreview(this))===null||e===void 0?void 0:e.preview(this.range);return t?m({key:"aria.oneReference.preview",comment:["Placeholders are: 0: filename, 1:line number, 2: column number, 3: preview snippet of source code"]},"{0} in {1} on line {2} at column {3}",t.value,Zo(this.uri),this.range.startLineNumber,this.range.startColumn):m("aria.oneReference","in {0} on line {1} at column {2}",Zo(this.uri),this.range.startLineNumber,this.range.startColumn)}}class gfe{constructor(e){this._modelReference=e}dispose(){this._modelReference.dispose()}preview(e,t=8){const i=this._modelReference.object.textEditorModel;if(!i)return;const{startLineNumber:n,startColumn:s,endLineNumber:r,endColumn:a}=e,l=i.getWordUntilPosition({lineNumber:n,column:s-t}),d=new D(n,l.startColumn,n,s),c=new D(r,a,r,1073741824),h=i.getValueInRange(d).replace(/^\s+/,""),u=i.getValueInRange(e),g=i.getValueInRange(c).replace(/\s+$/,"");return{value:h+u+g,highlight:{start:h.length,end:h.length+u.length}}}}class bb{constructor(e,t){this.parent=e,this.uri=t,this.children=[],this._previews=new Di}dispose(){kt(this._previews.values()),this._previews.clear()}getPreview(e){return this._previews.get(e.uri)}get ariaMessage(){const e=this.children.length;return e===1?m("aria.fileReferences.1","1 symbol in {0}, full path {1}",Zo(this.uri),this.uri.fsPath):m("aria.fileReferences.N","{0} symbols in {1}, full path {2}",e,Zo(this.uri),this.uri.fsPath)}async resolve(e){if(this._previews.size!==0)return this;for(const t of this.children)if(!this._previews.has(t.uri))try{const i=await e.createModelReference(t.uri);this._previews.set(t.uri,new gfe(i))}catch(i){Ve(i)}return this}}class Xs{constructor(e,t){this.groups=[],this.references=[],this._onDidChangeReferenceRange=new O,this.onDidChangeReferenceRange=this._onDidChangeReferenceRange.event,this._links=e,this._title=t;const[i]=e;e.sort(Xs._compareReferences);let n;for(const s of e)if((!n||!Xt.isEqual(n.uri,s.uri,!0))&&(n=new bb(this,s.uri),this.groups.push(n)),n.children.length===0||Xs._compareReferences(s,n.children[n.children.length-1])!==0){const r=new dh(i===s,n,s,a=>this._onDidChangeReferenceRange.fire(a));this.references.push(r),n.children.push(r)}}dispose(){kt(this.groups),this._onDidChangeReferenceRange.dispose(),this.groups.length=0}clone(){return new Xs(this._links,this._title)}get title(){return this._title}get isEmpty(){return this.groups.length===0}get ariaMessage(){return this.isEmpty?m("aria.result.0","No results found"):this.references.length===1?m("aria.result.1","Found 1 symbol in {0}",this.references[0].uri.fsPath):this.groups.length===1?m("aria.result.n1","Found {0} symbols in {1}",this.references.length,this.groups[0].uri.fsPath):m("aria.result.nm","Found {0} symbols in {1} files",this.references.length,this.groups.length)}nextOrPreviousReference(e,t){const{parent:i}=e;let n=i.children.indexOf(e);const s=i.children.length,r=i.parent.groups.length;return r===1||t&&n+10?(t?n=(n+1)%s:n=(n+s-1)%s,i.children[n]):(n=i.parent.groups.indexOf(i),t?(n=(n+1)%r,i.parent.groups[n].children[0]):(n=(n+r-1)%r,i.parent.groups[n].children[i.parent.groups[n].children.length-1]))}nearestReference(e,t){const i=this.references.map((n,s)=>({idx:s,prefixLen:jc(n.uri.toString(),e.toString()),offsetDist:Math.abs(n.range.startLineNumber-t.lineNumber)*100+Math.abs(n.range.startColumn-t.column)})).sort((n,s)=>n.prefixLen>s.prefixLen?-1:n.prefixLens.offsetDist?1:0)[0];if(i)return this.references[i.idx]}referenceAt(e,t){for(const i of this.references)if(i.uri.toString()===e.toString()&&D.containsPosition(i.range,t))return i}firstReference(){for(const e of this.references)if(e.isProviderFirst)return e;return this.references[0]}static _compareReferences(e,t){return Xt.compare(e.uri,t.uri)||D.compareRangesUsingStarts(e.range,t.range)}}var TL=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},ML=function(o,e){return function(t,i){e(t,i,o)}},_T;let vT=class{constructor(e){this._resolverService=e}hasChildren(e){return e instanceof Xs||e instanceof bb}getChildren(e){if(e instanceof Xs)return e.groups;if(e instanceof bb)return e.resolve(this._resolverService).then(t=>t.children);throw new Error("bad tree")}};vT=TL([ML(0,Ws)],vT);class ffe{getHeight(){return 23}getTemplateId(e){return e instanceof bb?Cb.id:x0.id}}let bT=class{constructor(e){this._keybindingService=e}getKeyboardNavigationLabel(e){var t;if(e instanceof dh){const i=(t=e.parent.getPreview(e))===null||t===void 0?void 0:t.preview(e.range);if(i)return i.value}return Zo(e.uri)}};bT=TL([ML(0,Et)],bT);class mfe{getId(e){return e instanceof dh?e.id:e.uri}}let CT=class extends V{constructor(e,t){super(),this._labelService=t;const i=document.createElement("div");i.classList.add("reference-file"),this.file=this._register(new fS(i,{supportHighlights:!0})),this.badge=new wN(Y(i,J(".count")),{},kW),e.appendChild(i)}set(e,t){const i=By(e.uri);this.file.setLabel(this._labelService.getUriBasenameLabel(e.uri),this._labelService.getUriLabel(i,{relative:!0}),{title:this._labelService.getUriLabel(e.uri),matches:t});const n=e.children.length;this.badge.setCount(n),n>1?this.badge.setTitleFormat(m("referencesCount","{0} references",n)):this.badge.setTitleFormat(m("referenceCount","{0} reference",n))}};CT=TL([ML(1,xm)],CT);let Cb=_T=class{constructor(e){this._instantiationService=e,this.templateId=_T.id}renderTemplate(e){return this._instantiationService.createInstance(CT,e)}renderElement(e,t,i){i.set(e.element,d0(e.filterData))}disposeTemplate(e){e.dispose()}};Cb.id="FileReferencesRenderer";Cb=_T=TL([ML(0,Ie)],Cb);class pfe{constructor(e){this.label=new Pc(e)}set(e,t){var i;const n=(i=e.parent.getPreview(e))===null||i===void 0?void 0:i.preview(e.range);if(!n||!n.value)this.label.set(`${Zo(e.uri)}:${e.range.startLineNumber+1}:${e.range.startColumn+1}`);else{const{value:s,highlight:r}=n;t&&!sa.isDefault(t)?(this.label.element.classList.toggle("referenceMatch",!1),this.label.set(s,d0(t))):(this.label.element.classList.toggle("referenceMatch",!0),this.label.set(s,[r]))}}}class x0{constructor(){this.templateId=x0.id}renderTemplate(e){return new pfe(e)}renderElement(e,t,i){i.set(e.element,e.filterData)}disposeTemplate(){}}x0.id="OneReferenceRenderer";class _fe{getWidgetAriaLabel(){return m("treeAriaLabel","References")}getAriaLabel(e){return e.ariaMessage}}var vfe=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Ol=function(o,e){return function(t,i){e(t,i,o)}};class RL{constructor(e,t){this._editor=e,this._model=t,this._decorations=new Map,this._decorationIgnoreSet=new Set,this._callOnDispose=new X,this._callOnModelChange=new X,this._callOnDispose.add(this._editor.onDidChangeModel(()=>this._onModelChanged())),this._onModelChanged()}dispose(){this._callOnModelChange.dispose(),this._callOnDispose.dispose(),this.removeDecorations()}_onModelChanged(){this._callOnModelChange.clear();const e=this._editor.getModel();if(e){for(const t of this._model.references)if(t.uri.toString()===e.uri.toString()){this._addDecorations(t.parent);return}}}_addDecorations(e){if(!this._editor.hasModel())return;this._callOnModelChange.add(this._editor.getModel().onDidChangeDecorations(()=>this._onDecorationChanged()));const t=[],i=[];for(let n=0,s=e.children.length;n{const s=n.deltaDecorations([],t);for(let r=0;r{s.equals(9)&&(this._keybindingService.dispatchEvent(s,s.target),s.stopPropagation())},!0)),this._tree=this._instantiationService.createInstance(Cfe,"ReferencesWidget",this._treeContainer,new ffe,[this._instantiationService.createInstance(Cb),this._instantiationService.createInstance(x0)],this._instantiationService.createInstance(vT),i),this._splitView.addView({onDidChange:ae.None,element:this._previewContainer,minimumSize:200,maximumSize:Number.MAX_VALUE,layout:s=>{this._preview.layout({height:this._dim.height,width:s})}},lS.Distribute),this._splitView.addView({onDidChange:ae.None,element:this._treeContainer,minimumSize:100,maximumSize:Number.MAX_VALUE,layout:s=>{this._treeContainer.style.height=`${this._dim.height}px`,this._treeContainer.style.width=`${s}px`,this._tree.layout(this._dim.height,s)}},lS.Distribute),this._disposables.add(this._splitView.onDidSashChange(()=>{this._dim.width&&(this.layoutData.ratio=this._splitView.getViewSize(0)/this._dim.width)},void 0));const n=(s,r)=>{s instanceof dh&&(r==="show"&&this._revealReference(s,!1),this._onDidSelectReference.fire({element:s,kind:r,source:"tree"}))};this._tree.onDidOpen(s=>{s.sideBySide?n(s.element,"side"):s.editorOptions.pinned?n(s.element,"goto"):n(s.element,"show")}),ds(this._treeContainer)}_onWidth(e){this._dim&&this._doLayoutBody(this._dim.height,e)}_doLayoutBody(e,t){super._doLayoutBody(e,t),this._dim=new bt(t,e),this.layoutData.heightInLines=this._viewZone?this._viewZone.heightInLines:this.layoutData.heightInLines,this._splitView.layout(t),this._splitView.resizeView(0,t*this.layoutData.ratio)}setSelection(e){return this._revealReference(e,!0).then(()=>{this._model&&(this._tree.setSelection([e]),this._tree.setFocus([e]))})}setModel(e){return this._disposeOnNewModel.clear(),this._model=e,this._model?this._onNewModel():Promise.resolve()}_onNewModel(){return this._model?this._model.isEmpty?(this.setTitle(""),this._messageContainer.innerText=m("noResults","No results"),js(this._messageContainer),Promise.resolve(void 0)):(ds(this._messageContainer),this._decorationsManager=new RL(this._preview,this._model),this._disposeOnNewModel.add(this._decorationsManager),this._disposeOnNewModel.add(this._model.onDidChangeReferenceRange(e=>this._tree.rerender(e))),this._disposeOnNewModel.add(this._preview.onMouseDown(e=>{const{event:t,target:i}=e;if(t.detail!==2)return;const n=this._getFocusedReference();n&&this._onDidSelectReference.fire({element:{uri:n.uri,range:i.range},kind:t.ctrlKey||t.metaKey||t.altKey?"side":"open",source:"editor"})})),this.container.classList.add("results-loaded"),js(this._treeContainer),js(this._previewContainer),this._splitView.layout(this._dim.width),this.focusOnReferenceTree(),this._tree.setInput(this._model.groups.length===1?this._model.groups[0]:this._model)):Promise.resolve(void 0)}_getFocusedReference(){const[e]=this._tree.getFocus();if(e instanceof dh)return e;if(e instanceof bb&&e.children.length>0)return e.children[0]}async revealReference(e){await this._revealReference(e,!1),this._onDidSelectReference.fire({element:e,kind:"goto",source:"tree"})}async _revealReference(e,t){if(this._revealedReference===e)return;this._revealedReference=e,e.uri.scheme!==Ue.inMemory?this.setTitle(Wee(e.uri),this._uriLabel.getUriLabel(By(e.uri))):this.setTitle(m("peekView.alternateTitle","References"));const i=this._textModelResolverService.createModelReference(e.uri);this._tree.getInput()===e.parent?this._tree.reveal(e):(t&&this._tree.reveal(e.parent),await this._tree.expand(e.parent),this._tree.reveal(e));const n=await i;if(!this._model){n.dispose();return}kt(this._previewModelReference);const s=n.object;if(s){const r=this._preview.getModel()===s.textEditorModel?0:1,a=D.lift(e.range).collapseToStart();this._previewModelReference=n,this._preview.setModel(s.textEditorModel),this._preview.setSelection(a),this._preview.revealRangeInCenter(a,r)}else this._preview.setModel(this._previewNotAvailableMessage),n.dispose()}};wT=vfe([Ol(3,nn),Ol(4,Ws),Ol(5,Ie),Ol(6,sH),Ol(7,xm),Ol(8,Wy),Ol(9,Et),Ol(10,Qt),Ol(11,Vt)],wT);var wfe=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},zg=function(o,e){return function(t,i){e(t,i,o)}},W1;const xg=new de("referenceSearchVisible",!1,m("referenceSearchVisible","Whether reference peek is visible, like 'Peek References' or 'Peek Definition'"));let ch=W1=class{static get(e){return e.getContribution(W1.ID)}constructor(e,t,i,n,s,r,a,l){this._defaultTreeKeyboardSupport=e,this._editor=t,this._editorService=n,this._notificationService=s,this._instantiationService=r,this._storageService=a,this._configurationService=l,this._disposables=new X,this._requestIdPool=0,this._ignoreModelChangeEvent=!1,this._referenceSearchVisible=xg.bindTo(i)}dispose(){var e,t;this._referenceSearchVisible.reset(),this._disposables.dispose(),(e=this._widget)===null||e===void 0||e.dispose(),(t=this._model)===null||t===void 0||t.dispose(),this._widget=void 0,this._model=void 0}toggleWidget(e,t,i){let n;if(this._widget&&(n=this._widget.position),this.closeWidget(),n&&e.containsPosition(n))return;this._peekMode=i,this._referenceSearchVisible.set(!0),this._disposables.add(this._editor.onDidChangeModelLanguage(()=>{this.closeWidget()})),this._disposables.add(this._editor.onDidChangeModel(()=>{this._ignoreModelChangeEvent||this.closeWidget()}));const s="peekViewLayout",r=bfe.fromJSON(this._storageService.get(s,0,"{}"));this._widget=this._instantiationService.createInstance(wT,this._editor,this._defaultTreeKeyboardSupport,r),this._widget.setTitle(m("labelLoading","Loading...")),this._widget.show(e),this._disposables.add(this._widget.onDidClose(()=>{t.cancel(),this._widget&&(this._storageService.store(s,JSON.stringify(this._widget.layoutData),0,1),this._widget=void 0),this.closeWidget()})),this._disposables.add(this._widget.onDidSelectReference(l=>{const{element:d,kind:c}=l;if(d)switch(c){case"open":(l.source!=="editor"||!this._configurationService.getValue("editor.stablePeek"))&&this.openReference(d,!1,!1);break;case"side":this.openReference(d,!0,!1);break;case"goto":i?this._gotoReference(d,!0):this.openReference(d,!1,!0);break}}));const a=++this._requestIdPool;t.then(l=>{var d;if(a!==this._requestIdPool||!this._widget){l.dispose();return}return(d=this._model)===null||d===void 0||d.dispose(),this._model=l,this._widget.setModel(this._model).then(()=>{if(this._widget&&this._model&&this._editor.hasModel()){this._model.isEmpty?this._widget.setMetaTitle(""):this._widget.setMetaTitle(m("metaTitle.N","{0} ({1})",this._model.title,this._model.references.length));const c=this._editor.getModel().uri,h=new F(e.startLineNumber,e.startColumn),u=this._model.nearestReference(c,h);if(u)return this._widget.setSelection(u).then(()=>{this._widget&&this._editor.getOption(87)==="editor"&&this._widget.focusOnPreviewEditor()})}})},l=>{this._notificationService.error(l)})}changeFocusBetweenPreviewAndReferences(){this._widget&&(this._widget.isPreviewEditorFocused()?this._widget.focusOnReferenceTree():this._widget.focusOnPreviewEditor())}async goToNextOrPreviousReference(e){if(!this._editor.hasModel()||!this._model||!this._widget)return;const t=this._widget.position;if(!t)return;const i=this._model.nearestReference(this._editor.getModel().uri,t);if(!i)return;const n=this._model.nextOrPreviousReference(i,e),s=this._editor.hasTextFocus(),r=this._widget.isPreviewEditorFocused();await this._widget.setSelection(n),await this._gotoReference(n,!1),s?this._editor.focus():this._widget&&r&&this._widget.focusOnPreviewEditor()}async revealReference(e){!this._editor.hasModel()||!this._model||!this._widget||await this._widget.revealReference(e)}closeWidget(e=!0){var t,i;(t=this._widget)===null||t===void 0||t.dispose(),(i=this._model)===null||i===void 0||i.dispose(),this._referenceSearchVisible.reset(),this._disposables.clear(),this._widget=void 0,this._model=void 0,e&&this._editor.focus(),this._requestIdPool+=1}_gotoReference(e,t){var i;(i=this._widget)===null||i===void 0||i.hide(),this._ignoreModelChangeEvent=!0;const n=D.lift(e.range).collapseToStart();return this._editorService.openCodeEditor({resource:e.uri,options:{selection:n,selectionSource:"code.jump",pinned:t}},this._editor).then(s=>{var r;if(this._ignoreModelChangeEvent=!1,!s||!this._widget){this.closeWidget();return}if(this._editor===s)this._widget.show(n),this._widget.focusOnReferenceTree();else{const a=W1.get(s),l=this._model.clone();this.closeWidget(),s.focus(),a==null||a.toggleWidget(n,tn(d=>Promise.resolve(l)),(r=this._peekMode)!==null&&r!==void 0?r:!1)}},s=>{this._ignoreModelChangeEvent=!1,Ve(s)})}openReference(e,t,i){t||this.closeWidget();const{uri:n,range:s}=e;this._editorService.openCodeEditor({resource:n,options:{selection:s,selectionSource:"code.jump",pinned:i}},this._editor,t)}};ch.ID="editor.contrib.referencesController";ch=W1=wfe([zg(2,Ae),zg(3,_t),zg(4,Ri),zg(5,Ie),zg(6,kr),zg(7,Qe)],ch);function kg(o,e){const t=lfe(o);if(!t)return;const i=ch.get(t);i&&e(i)}Os.registerCommandAndKeybindingRule({id:"togglePeekWidgetFocus",weight:100,primary:Ui(2089,60),when:q.or(xg,Fs.inPeekEditor),handler(o){kg(o,e=>{e.changeFocusBetweenPreviewAndReferences()})}});Os.registerCommandAndKeybindingRule({id:"goToNextReference",weight:90,primary:62,secondary:[70],when:q.or(xg,Fs.inPeekEditor),handler(o){kg(o,e=>{e.goToNextOrPreviousReference(!0)})}});Os.registerCommandAndKeybindingRule({id:"goToPreviousReference",weight:90,primary:1086,secondary:[1094],when:q.or(xg,Fs.inPeekEditor),handler(o){kg(o,e=>{e.goToNextOrPreviousReference(!1)})}});ct.registerCommandAlias("goToNextReferenceFromEmbeddedEditor","goToNextReference");ct.registerCommandAlias("goToPreviousReferenceFromEmbeddedEditor","goToPreviousReference");ct.registerCommandAlias("closeReferenceSearchEditor","closeReferenceSearch");ct.registerCommand("closeReferenceSearch",o=>kg(o,e=>e.closeWidget()));Os.registerKeybindingRule({id:"closeReferenceSearch",weight:-1,primary:9,secondary:[1033],when:q.and(Fs.inPeekEditor,q.not("config.editor.stablePeek"))});Os.registerKeybindingRule({id:"closeReferenceSearch",weight:250,primary:9,secondary:[1033],when:q.and(xg,q.not("config.editor.stablePeek"),q.or(E.editorTextFocus,mae.negate()))});Os.registerCommandAndKeybindingRule({id:"revealReference",weight:200,primary:3,mac:{primary:3,secondary:[2066]},when:q.and(xg,ZW,Q2.negate(),J2.negate()),handler(o){var e;const i=(e=o.get(tr).lastFocusedList)===null||e===void 0?void 0:e.getFocus();Array.isArray(i)&&i[0]instanceof dh&&kg(o,n=>n.revealReference(i[0]))}});Os.registerCommandAndKeybindingRule({id:"openReferenceToSide",weight:100,primary:2051,mac:{primary:259},when:q.and(xg,ZW,Q2.negate(),J2.negate()),handler(o){var e;const i=(e=o.get(tr).lastFocusedList)===null||e===void 0?void 0:e.getFocus();Array.isArray(i)&&i[0]instanceof dh&&kg(o,n=>n.openReference(i[0],!0,!0))}});ct.registerCommand("openReference",o=>{var e;const i=(e=o.get(tr).lastFocusedList)===null||e===void 0?void 0:e.getFocus();Array.isArray(i)&&i[0]instanceof dh&&kg(o,n=>n.openReference(i[0],!1,!0))});var aH=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},v_=function(o,e){return function(t,i){e(t,i,o)}};const AA=new de("hasSymbols",!1,m("hasSymbols","Whether there are symbol locations that can be navigated via keyboard-only.")),AL=ot("ISymbolNavigationService");let ST=class{constructor(e,t,i,n){this._editorService=t,this._notificationService=i,this._keybindingService=n,this._currentModel=void 0,this._currentIdx=-1,this._ignoreEditorChange=!1,this._ctxHasSymbols=AA.bindTo(e)}reset(){var e,t;this._ctxHasSymbols.reset(),(e=this._currentState)===null||e===void 0||e.dispose(),(t=this._currentMessage)===null||t===void 0||t.dispose(),this._currentModel=void 0,this._currentIdx=-1}put(e){const t=e.parent.parent;if(t.references.length<=1){this.reset();return}this._currentModel=t,this._currentIdx=t.references.indexOf(e),this._ctxHasSymbols.set(!0),this._showMessage();const i=new yT(this._editorService),n=i.onDidChange(s=>{if(this._ignoreEditorChange)return;const r=this._editorService.getActiveCodeEditor();if(!r)return;const a=r.getModel(),l=r.getPosition();if(!a||!l)return;let d=!1,c=!1;for(const h of t.references)if(o2(h.uri,a.uri))d=!0,c=c||D.containsPosition(h.range,l);else if(d)break;(!d||!c)&&this.reset()});this._currentState=wr(i,n)}revealNext(e){if(!this._currentModel)return Promise.resolve();this._currentIdx+=1,this._currentIdx%=this._currentModel.references.length;const t=this._currentModel.references[this._currentIdx];return this._showMessage(),this._ignoreEditorChange=!0,this._editorService.openCodeEditor({resource:t.uri,options:{selection:D.collapseToStart(t.range),selectionRevealType:3}},e).finally(()=>{this._ignoreEditorChange=!1})}_showMessage(){var e;(e=this._currentMessage)===null||e===void 0||e.dispose();const t=this._keybindingService.lookupKeybinding("editor.gotoNextSymbolFromResult"),i=t?m("location.kb","Symbol {0} of {1}, {2} for next",this._currentIdx+1,this._currentModel.references.length,t.getLabel()):m("location","Symbol {0} of {1}",this._currentIdx+1,this._currentModel.references.length);this._currentMessage=this._notificationService.status(i)}};ST=aH([v_(0,Ae),v_(1,_t),v_(2,Ri),v_(3,Et)],ST);ht(AL,ST,1);le(new class extends un{constructor(){super({id:"editor.gotoNextSymbolFromResult",precondition:AA,kbOpts:{weight:100,primary:70}})}runEditorCommand(o,e){return o.get(AL).revealNext(e)}});Os.registerCommandAndKeybindingRule({id:"editor.gotoNextSymbolFromResult.cancel",weight:100,when:AA,primary:9,handler(o){o.get(AL).reset()}});let yT=class{constructor(e){this._listener=new Map,this._disposables=new X,this._onDidChange=new O,this.onDidChange=this._onDidChange.event,this._disposables.add(e.onCodeEditorRemove(this._onDidRemoveEditor,this)),this._disposables.add(e.onCodeEditorAdd(this._onDidAddEditor,this)),e.listCodeEditors().forEach(this._onDidAddEditor,this)}dispose(){this._disposables.dispose(),this._onDidChange.dispose(),kt(this._listener.values())}_onDidAddEditor(e){this._listener.set(e,wr(e.onDidChangeCursorPosition(t=>this._onDidChange.fire({editor:e})),e.onDidChangeModelContent(t=>this._onDidChange.fire({editor:e}))))}_onDidRemoveEditor(e){var t;(t=this._listener.get(e))===null||t===void 0||t.dispose(),this._listener.delete(e)}};yT=aH([v_(0,_t)],yT);async function k0(o,e,t,i){const s=t.ordered(o).map(a=>Promise.resolve(i(a,o,e)).then(void 0,l=>{Fi(l)})),r=await Promise.all(s);return oa(r.flat())}function PL(o,e,t,i){return k0(e,t,o,(n,s,r)=>n.provideDefinition(s,r,i))}function lH(o,e,t,i){return k0(e,t,o,(n,s,r)=>n.provideDeclaration(s,r,i))}function dH(o,e,t,i){return k0(e,t,o,(n,s,r)=>n.provideImplementation(s,r,i))}function cH(o,e,t,i){return k0(e,t,o,(n,s,r)=>n.provideTypeDefinition(s,r,i))}function OL(o,e,t,i,n){return k0(e,t,o,async(s,r,a)=>{const l=await s.provideReferences(r,a,{includeDeclaration:!0},n);if(!i||!l||l.length!==2)return l;const d=await s.provideReferences(r,a,{includeDeclaration:!1},n);return d&&d.length===1?d:l})}async function I0(o){const e=await o(),t=new Xs(e,""),i=t.references.map(n=>n.link);return t.dispose(),i}xl("_executeDefinitionProvider",(o,e,t)=>{const i=o.get(fe),n=PL(i.definitionProvider,e,t,st.None);return I0(()=>n)});xl("_executeTypeDefinitionProvider",(o,e,t)=>{const i=o.get(fe),n=cH(i.typeDefinitionProvider,e,t,st.None);return I0(()=>n)});xl("_executeDeclarationProvider",(o,e,t)=>{const i=o.get(fe),n=lH(i.declarationProvider,e,t,st.None);return I0(()=>n)});xl("_executeReferenceProvider",(o,e,t)=>{const i=o.get(fe),n=OL(i.referenceProvider,e,t,!1,st.None);return I0(()=>n)});xl("_executeImplementationProvider",(o,e,t)=>{const i=o.get(fe),n=dH(i.implementationProvider,e,t,st.None);return I0(()=>n)});var jp,Kp,qp,PC,OC,FC,BC,WC;wn.appendMenuItem(k.EditorContext,{submenu:k.EditorContextPeek,title:m("peek.submenu","Peek"),group:"navigation",order:100});class Bm{static is(e){return!e||typeof e!="object"?!1:!!(e instanceof Bm||F.isIPosition(e.position)&&e.model)}constructor(e,t){this.model=e,this.position=t}}class Yn extends va{static all(){return Yn._allSymbolNavigationCommands.values()}static _patchConfig(e){const t={...e,f1:!0};if(t.menu)for(const i of dt.wrap(t.menu))(i.id===k.EditorContext||i.id===k.EditorContextPeek)&&(i.when=q.and(e.precondition,i.when));return t}constructor(e,t){super(Yn._patchConfig(t)),this.configuration=e,Yn._allSymbolNavigationCommands.set(t.id,this)}runEditorCommand(e,t,i,n){if(!t.hasModel())return Promise.resolve(void 0);const s=e.get(Ri),r=e.get(_t),a=e.get(Dh),l=e.get(AL),d=e.get(fe),c=e.get(Ie),h=t.getModel(),u=t.getPosition(),g=Bm.is(i)?i:new Bm(h,u),f=new oh(t,5),p=qb(this._getLocationModel(d,g.model,g.position,f.token),f.token).then(async _=>{var v;if(!_||f.token.isCancellationRequested)return;eo(_.ariaMessage);let b;if(_.referenceAt(h.uri,u)){const w=this._getAlternativeCommand(t);!Yn._activeAlternativeCommands.has(w)&&Yn._allSymbolNavigationCommands.has(w)&&(b=Yn._allSymbolNavigationCommands.get(w))}const C=_.references.length;if(C===0){if(!this.configuration.muteMessage){const w=h.getWordAtPosition(u);(v=bs.get(t))===null||v===void 0||v.showMessage(this._getNoResultFoundMessage(w),u)}}else if(C===1&&b)Yn._activeAlternativeCommands.add(this.desc.id),c.invokeFunction(w=>b.runEditorCommand(w,t,i,n).finally(()=>{Yn._activeAlternativeCommands.delete(this.desc.id)}));else return this._onResult(r,l,t,_,n)},_=>{s.error(_)}).finally(()=>{f.dispose()});return a.showWhile(p,250),p}async _onResult(e,t,i,n,s){const r=this._getGoToPreference(i);if(!(i instanceof lh)&&(this.configuration.openInPeek||r==="peek"&&n.references.length>1))this._openInPeek(i,n,s);else{const a=n.firstReference(),l=n.references.length>1&&r==="gotoAndPeek",d=await this._openReference(i,e,a,this.configuration.openToSide,!l);l&&d?this._openInPeek(d,n,s):n.dispose(),r==="goto"&&t.put(a)}}async _openReference(e,t,i,n,s){let r;if(G$(i)&&(r=i.targetSelectionRange),r||(r=i.range),!r)return;const a=await t.openCodeEditor({resource:i.uri,options:{selection:D.collapseToStart(r),selectionRevealType:3,selectionSource:"code.jump"}},e,n);if(a){if(s){const l=a.getModel(),d=a.createDecorationsCollection([{range:r,options:{description:"symbol-navigate-action-highlight",className:"symbolHighlight"}}]);setTimeout(()=>{a.getModel()===l&&d.clear()},350)}return a}}_openInPeek(e,t,i){const n=ch.get(e);n&&e.hasModel()?n.toggleWidget(i??e.getSelection(),tn(s=>Promise.resolve(t)),this.configuration.openInPeek):t.dispose()}}Yn._allSymbolNavigationCommands=new Map;Yn._activeAlternativeCommands=new Set;class E0 extends Yn{async _getLocationModel(e,t,i,n){return new Xs(await PL(e.definitionProvider,t,i,n),m("def.title","Definitions"))}_getNoResultFoundMessage(e){return e&&e.word?m("noResultWord","No definition found for '{0}'",e.word):m("generic.noResults","No definition found")}_getAlternativeCommand(e){return e.getOption(58).alternativeDefinitionCommand}_getGoToPreference(e){return e.getOption(58).multipleDefinitions}}Wt((jp=class extends E0{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:jp.id,title:{...mt("actions.goToDecl.label","Go to Definition"),mnemonicTitle:m({key:"miGotoDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Definition")},precondition:E.hasDefinitionProvider,keybinding:[{when:E.editorTextFocus,primary:70,weight:100},{when:q.and(E.editorTextFocus,jW),primary:2118,weight:100}],menu:[{id:k.EditorContext,group:"navigation",order:1.1},{id:k.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:2}]}),ct.registerCommandAlias("editor.action.goToDeclaration",jp.id)}},jp.id="editor.action.revealDefinition",jp));Wt((Kp=class extends E0{constructor(){super({openToSide:!0,openInPeek:!1,muteMessage:!1},{id:Kp.id,title:mt("actions.goToDeclToSide.label","Open Definition to the Side"),precondition:q.and(E.hasDefinitionProvider,E.isInEmbeddedEditor.toNegated()),keybinding:[{when:E.editorTextFocus,primary:Ui(2089,70),weight:100},{when:q.and(E.editorTextFocus,jW),primary:Ui(2089,2118),weight:100}]}),ct.registerCommandAlias("editor.action.openDeclarationToTheSide",Kp.id)}},Kp.id="editor.action.revealDefinitionAside",Kp));Wt((qp=class extends E0{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:qp.id,title:mt("actions.previewDecl.label","Peek Definition"),precondition:q.and(E.hasDefinitionProvider,Fs.notInPeekEditor,E.isInEmbeddedEditor.toNegated()),keybinding:{when:E.editorTextFocus,primary:582,linux:{primary:3140},weight:100},menu:{id:k.EditorContextPeek,group:"peek",order:2}}),ct.registerCommandAlias("editor.action.previewDeclaration",qp.id)}},qp.id="editor.action.peekDefinition",qp));class hH extends Yn{async _getLocationModel(e,t,i,n){return new Xs(await lH(e.declarationProvider,t,i,n),m("decl.title","Declarations"))}_getNoResultFoundMessage(e){return e&&e.word?m("decl.noResultWord","No declaration found for '{0}'",e.word):m("decl.generic.noResults","No declaration found")}_getAlternativeCommand(e){return e.getOption(58).alternativeDeclarationCommand}_getGoToPreference(e){return e.getOption(58).multipleDeclarations}}Wt((PC=class extends hH{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:PC.id,title:{...mt("actions.goToDeclaration.label","Go to Declaration"),mnemonicTitle:m({key:"miGotoDeclaration",comment:["&& denotes a mnemonic"]},"Go to &&Declaration")},precondition:q.and(E.hasDeclarationProvider,E.isInEmbeddedEditor.toNegated()),menu:[{id:k.EditorContext,group:"navigation",order:1.3},{id:k.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:3}]})}_getNoResultFoundMessage(e){return e&&e.word?m("decl.noResultWord","No declaration found for '{0}'",e.word):m("decl.generic.noResults","No declaration found")}},PC.id="editor.action.revealDeclaration",PC));Wt(class extends hH{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.peekDeclaration",title:mt("actions.peekDecl.label","Peek Declaration"),precondition:q.and(E.hasDeclarationProvider,Fs.notInPeekEditor,E.isInEmbeddedEditor.toNegated()),menu:{id:k.EditorContextPeek,group:"peek",order:3}})}});class uH extends Yn{async _getLocationModel(e,t,i,n){return new Xs(await cH(e.typeDefinitionProvider,t,i,n),m("typedef.title","Type Definitions"))}_getNoResultFoundMessage(e){return e&&e.word?m("goToTypeDefinition.noResultWord","No type definition found for '{0}'",e.word):m("goToTypeDefinition.generic.noResults","No type definition found")}_getAlternativeCommand(e){return e.getOption(58).alternativeTypeDefinitionCommand}_getGoToPreference(e){return e.getOption(58).multipleTypeDefinitions}}Wt((OC=class extends uH{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:OC.ID,title:{...mt("actions.goToTypeDefinition.label","Go to Type Definition"),mnemonicTitle:m({key:"miGotoTypeDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Type Definition")},precondition:E.hasTypeDefinitionProvider,keybinding:{when:E.editorTextFocus,primary:0,weight:100},menu:[{id:k.EditorContext,group:"navigation",order:1.4},{id:k.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:3}]})}},OC.ID="editor.action.goToTypeDefinition",OC));Wt((FC=class extends uH{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:FC.ID,title:mt("actions.peekTypeDefinition.label","Peek Type Definition"),precondition:q.and(E.hasTypeDefinitionProvider,Fs.notInPeekEditor,E.isInEmbeddedEditor.toNegated()),menu:{id:k.EditorContextPeek,group:"peek",order:4}})}},FC.ID="editor.action.peekTypeDefinition",FC));class gH extends Yn{async _getLocationModel(e,t,i,n){return new Xs(await dH(e.implementationProvider,t,i,n),m("impl.title","Implementations"))}_getNoResultFoundMessage(e){return e&&e.word?m("goToImplementation.noResultWord","No implementation found for '{0}'",e.word):m("goToImplementation.generic.noResults","No implementation found")}_getAlternativeCommand(e){return e.getOption(58).alternativeImplementationCommand}_getGoToPreference(e){return e.getOption(58).multipleImplementations}}Wt((BC=class extends gH{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:BC.ID,title:{...mt("actions.goToImplementation.label","Go to Implementations"),mnemonicTitle:m({key:"miGotoImplementation",comment:["&& denotes a mnemonic"]},"Go to &&Implementations")},precondition:E.hasImplementationProvider,keybinding:{when:E.editorTextFocus,primary:2118,weight:100},menu:[{id:k.EditorContext,group:"navigation",order:1.45},{id:k.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:4}]})}},BC.ID="editor.action.goToImplementation",BC));Wt((WC=class extends gH{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:WC.ID,title:mt("actions.peekImplementation.label","Peek Implementations"),precondition:q.and(E.hasImplementationProvider,Fs.notInPeekEditor,E.isInEmbeddedEditor.toNegated()),keybinding:{when:E.editorTextFocus,primary:3142,weight:100},menu:{id:k.EditorContextPeek,group:"peek",order:5}})}},WC.ID="editor.action.peekImplementation",WC));class fH extends Yn{_getNoResultFoundMessage(e){return e?m("references.no","No references found for '{0}'",e.word):m("references.noGeneric","No references found")}_getAlternativeCommand(e){return e.getOption(58).alternativeReferenceCommand}_getGoToPreference(e){return e.getOption(58).multipleReferences}}Wt(class extends fH{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:"editor.action.goToReferences",title:{...mt("goToReferences.label","Go to References"),mnemonicTitle:m({key:"miGotoReference",comment:["&& denotes a mnemonic"]},"Go to &&References")},precondition:q.and(E.hasReferenceProvider,Fs.notInPeekEditor,E.isInEmbeddedEditor.toNegated()),keybinding:{when:E.editorTextFocus,primary:1094,weight:100},menu:[{id:k.EditorContext,group:"navigation",order:1.45},{id:k.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:5}]})}async _getLocationModel(e,t,i,n){return new Xs(await OL(e.referenceProvider,t,i,!0,n),m("ref.title","References"))}});Wt(class extends fH{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.referenceSearch.trigger",title:mt("references.action.label","Peek References"),precondition:q.and(E.hasReferenceProvider,Fs.notInPeekEditor,E.isInEmbeddedEditor.toNegated()),menu:{id:k.EditorContextPeek,group:"peek",order:6}})}async _getLocationModel(e,t,i,n){return new Xs(await OL(e.referenceProvider,t,i,!1,n),m("ref.title","References"))}});class Sfe extends Yn{constructor(e,t,i){super(e,{id:"editor.action.goToLocation",title:mt("label.generic","Go to Any Symbol"),precondition:q.and(Fs.notInPeekEditor,E.isInEmbeddedEditor.toNegated())}),this._references=t,this._gotoMultipleBehaviour=i}async _getLocationModel(e,t,i,n){return new Xs(this._references,m("generic.title","Locations"))}_getNoResultFoundMessage(e){return e&&m("generic.noResult","No results for '{0}'",e.word)||""}_getGoToPreference(e){var t;return(t=this._gotoMultipleBehaviour)!==null&&t!==void 0?t:e.getOption(58).multipleReferences}_getAlternativeCommand(){return""}}ct.registerCommand({id:"editor.action.goToLocations",metadata:{description:"Go to locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:xe},{name:"position",description:"The position at which to start",constraint:F.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto`"},{name:"noResultsMessage",description:"Human readable message that shows when locations is empty."}]},handler:async(o,e,t,i,n,s,r)=>{wt(xe.isUri(e)),wt(F.isIPosition(t)),wt(Array.isArray(i)),wt(typeof n>"u"||typeof n=="string"),wt(typeof r>"u"||typeof r=="boolean");const a=o.get(_t),l=await a.openCodeEditor({resource:e},a.getFocusedCodeEditor());if(Cl(l))return l.setPosition(t),l.revealPositionInCenterIfOutsideViewport(t,0),l.invokeWithinContext(d=>{const c=new class extends Sfe{_getNoResultFoundMessage(h){return s||super._getNoResultFoundMessage(h)}}({muteMessage:!s,openInPeek:!!r,openToSide:!1},i,n);d.get(Ie).invokeFunction(c.run.bind(c),l)})}});ct.registerCommand({id:"editor.action.peekLocations",metadata:{description:"Peek locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:xe},{name:"position",description:"The position at which to start",constraint:F.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto`"}]},handler:async(o,e,t,i,n)=>{o.get(ai).executeCommand("editor.action.goToLocations",e,t,i,n,void 0,!0)}});ct.registerCommand({id:"editor.action.findReferences",handler:(o,e,t)=>{wt(xe.isUri(e)),wt(F.isIPosition(t));const i=o.get(fe),n=o.get(_t);return n.openCodeEditor({resource:e},n.getFocusedCodeEditor()).then(s=>{if(!Cl(s)||!s.hasModel())return;const r=ch.get(s);if(!r)return;const a=tn(d=>OL(i.referenceProvider,s.getModel(),F.lift(t),!1,d).then(c=>new Xs(c,m("ref.title","References")))),l=new D(t.lineNumber,t.column,t.lineNumber,t.column);return Promise.resolve(r.toggleWidget(l,a,!1))})}});ct.registerCommandAlias("editor.action.showReferences","editor.action.peekLocations");var yfe=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},ik=function(o,e){return function(t,i){e(t,i,o)}},b_;let sg=b_=class{constructor(e,t,i,n){this.textModelResolverService=t,this.languageService=i,this.languageFeaturesService=n,this.toUnhook=new X,this.toUnhookForKeyboard=new X,this.currentWordAtPosition=null,this.previousPromise=null,this.editor=e,this.linkDecorations=this.editor.createDecorationsCollection();const s=new EL(e);this.toUnhook.add(s),this.toUnhook.add(s.onMouseMoveOrRelevantKeyDown(([r,a])=>{this.startFindDefinitionFromMouse(r,a??void 0)})),this.toUnhook.add(s.onExecute(r=>{this.isEnabled(r)&&this.gotoDefinition(r.target.position,r.hasSideBySideModifier).catch(a=>{Ve(a)}).finally(()=>{this.removeLinkDecorations()})})),this.toUnhook.add(s.onCancel(()=>{this.removeLinkDecorations(),this.currentWordAtPosition=null}))}static get(e){return e.getContribution(b_.ID)}async startFindDefinitionFromCursor(e){await this.startFindDefinition(e),this.toUnhookForKeyboard.add(this.editor.onDidChangeCursorPosition(()=>{this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear()})),this.toUnhookForKeyboard.add(this.editor.onKeyDown(t=>{t&&(this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear())}))}startFindDefinitionFromMouse(e,t){if(e.target.type===9&&this.linkDecorations.length>0)return;if(!this.editor.hasModel()||!this.isEnabled(e,t)){this.currentWordAtPosition=null,this.removeLinkDecorations();return}const i=e.target.position;this.startFindDefinition(i)}async startFindDefinition(e){var t;this.toUnhookForKeyboard.clear();const i=e?(t=this.editor.getModel())===null||t===void 0?void 0:t.getWordAtPosition(e):null;if(!i){this.currentWordAtPosition=null,this.removeLinkDecorations();return}if(this.currentWordAtPosition&&this.currentWordAtPosition.startColumn===i.startColumn&&this.currentWordAtPosition.endColumn===i.endColumn&&this.currentWordAtPosition.word===i.word)return;this.currentWordAtPosition=i;const n=new R6(this.editor,15);this.previousPromise&&(this.previousPromise.cancel(),this.previousPromise=null),this.previousPromise=tn(a=>this.findDefinition(e,a));let s;try{s=await this.previousPromise}catch(a){Ve(a);return}if(!s||!s.length||!n.validate(this.editor)){this.removeLinkDecorations();return}const r=s[0].originSelectionRange?D.lift(s[0].originSelectionRange):new D(e.lineNumber,i.startColumn,e.lineNumber,i.endColumn);if(s.length>1){let a=r;for(const{originSelectionRange:l}of s)l&&(a=D.plusRange(a,l));this.addDecoration(a,new Fn().appendText(m("multipleResults","Click to show {0} definitions.",s.length)))}else{const a=s[0];if(!a.uri)return;this.textModelResolverService.createModelReference(a.uri).then(l=>{if(!l.object||!l.object.textEditorModel){l.dispose();return}const{object:{textEditorModel:d}}=l,{startLineNumber:c}=a.range;if(c<1||c>d.getLineCount()){l.dispose();return}const h=this.getPreviewValue(d,c,a),u=this.languageService.guessLanguageIdByFilepathOrFirstLine(d.uri);this.addDecoration(r,h?new Fn().appendCodeblock(u||"",h):void 0),l.dispose()})}}getPreviewValue(e,t,i){let n=i.range;return n.endLineNumber-n.startLineNumber>=b_.MAX_SOURCE_PREVIEW_LINES&&(n=this.getPreviewRangeBasedOnIndentation(e,t)),this.stripIndentationFromPreviewRange(e,t,n)}stripIndentationFromPreviewRange(e,t,i){let s=e.getLineFirstNonWhitespaceColumn(t);for(let a=t+1;a{const n=!t&&this.editor.getOption(88)&&!this.isInPeekEditor(i);return new E0({openToSide:t,openInPeek:n,muteMessage:!0},{title:{value:"",original:""},id:"",precondition:void 0}).run(i)})}isInPeekEditor(e){const t=e.get(Ae);return Fs.inPeekEditor.getValue(t)}dispose(){this.toUnhook.dispose(),this.toUnhookForKeyboard.dispose()}};sg.ID="editor.contrib.gotodefinitionatposition";sg.MAX_SOURCE_PREVIEW_LINES=8;sg=b_=yfe([ik(1,Ws),ik(2,Qt),ik(3,fe)],sg);vt(sg.ID,sg,2);let Lfe=class{constructor(e,t,i){this.value=e,this.isComplete=t,this.hasLoadingMessage=i}};class mH extends V{constructor(e,t){super(),this._editor=e,this._computer=t,this._onResult=this._register(new O),this.onResult=this._onResult.event,this._firstWaitScheduler=this._register(new Rt(()=>this._triggerAsyncComputation(),0)),this._secondWaitScheduler=this._register(new Rt(()=>this._triggerSyncComputation(),0)),this._loadingMessageScheduler=this._register(new Rt(()=>this._triggerLoadingMessage(),0)),this._state=0,this._asyncIterable=null,this._asyncIterableDone=!1,this._result=[]}dispose(){this._asyncIterable&&(this._asyncIterable.cancel(),this._asyncIterable=null),super.dispose()}get _hoverTime(){return this._editor.getOption(60).delay}get _firstWaitTime(){return this._hoverTime/2}get _secondWaitTime(){return this._hoverTime-this._firstWaitTime}get _loadingMessageTime(){return 3*this._hoverTime}_setState(e,t=!0){this._state=e,t&&this._fireResult()}_triggerAsyncComputation(){this._setState(2),this._secondWaitScheduler.schedule(this._secondWaitTime),this._computer.computeAsync?(this._asyncIterableDone=!1,this._asyncIterable=Aj(e=>this._computer.computeAsync(e)),(async()=>{try{for await(const e of this._asyncIterable)e&&(this._result.push(e),this._fireResult());this._asyncIterableDone=!0,(this._state===3||this._state===4)&&this._setState(0)}catch(e){Ve(e)}})()):this._asyncIterableDone=!0}_triggerSyncComputation(){this._computer.computeSync&&(this._result=this._result.concat(this._computer.computeSync())),this._setState(this._asyncIterableDone?0:3)}_triggerLoadingMessage(){this._state===3&&this._setState(4)}_fireResult(){if(this._state===1||this._state===2)return;const e=this._state===0,t=this._state===4;this._onResult.fire(new Lfe(this._result.slice(0),e,t))}start(e){if(e===0)this._state===0&&(this._setState(1),this._firstWaitScheduler.schedule(this._firstWaitTime),this._loadingMessageScheduler.schedule(this._loadingMessageTime));else switch(this._state){case 0:this._triggerAsyncComputation(),this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break;case 2:this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break}}cancel(){this._firstWaitScheduler.cancel(),this._secondWaitScheduler.cancel(),this._loadingMessageScheduler.cancel(),this._asyncIterable&&(this._asyncIterable.cancel(),this._asyncIterable=null),this._result=[],this._setState(0,!1)}}class nk{constructor(e,t,i,n){this.priority=e,this.range=t,this.initialMousePosX=i,this.initialMousePosY=n,this.type=1}equals(e){return e.type===1&&this.range.equalsRange(e.range)}canAdoptVisibleHover(e,t){return e.type===1&&t.lineNumber===this.range.startLineNumber}}class Ru{constructor(e,t,i,n,s,r){this.priority=e,this.owner=t,this.range=i,this.initialMousePosX=n,this.initialMousePosY=s,this.supportsMarkerHover=r,this.type=2}equals(e){return e.type===2&&this.owner===e.owner}canAdoptVisibleHover(e,t){return e.type===2&&this.owner===e.owner}}const Nh=new class{constructor(){this._participants=[]}register(e){this._participants.push(e)}getAll(){return this._participants}};class PA{constructor(){this._onDidWillResize=new O,this.onDidWillResize=this._onDidWillResize.event,this._onDidResize=new O,this.onDidResize=this._onDidResize.event,this._sashListener=new X,this._size=new bt(0,0),this._minSize=new bt(0,0),this._maxSize=new bt(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER),this.domNode=document.createElement("div"),this._eastSash=new Pn(this.domNode,{getVerticalSashLeft:()=>this._size.width},{orientation:0}),this._westSash=new Pn(this.domNode,{getVerticalSashLeft:()=>0},{orientation:0}),this._northSash=new Pn(this.domNode,{getHorizontalSashTop:()=>0},{orientation:1,orthogonalEdge:rS.North}),this._southSash=new Pn(this.domNode,{getHorizontalSashTop:()=>this._size.height},{orientation:1,orthogonalEdge:rS.South}),this._northSash.orthogonalStartSash=this._westSash,this._northSash.orthogonalEndSash=this._eastSash,this._southSash.orthogonalStartSash=this._westSash,this._southSash.orthogonalEndSash=this._eastSash;let e,t=0,i=0;this._sashListener.add(ae.any(this._northSash.onDidStart,this._eastSash.onDidStart,this._southSash.onDidStart,this._westSash.onDidStart)(()=>{e===void 0&&(this._onDidWillResize.fire(),e=this._size,t=0,i=0)})),this._sashListener.add(ae.any(this._northSash.onDidEnd,this._eastSash.onDidEnd,this._southSash.onDidEnd,this._westSash.onDidEnd)(()=>{e!==void 0&&(e=void 0,t=0,i=0,this._onDidResize.fire({dimension:this._size,done:!0}))})),this._sashListener.add(this._eastSash.onDidChange(n=>{e&&(i=n.currentX-n.startX,this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,east:!0}))})),this._sashListener.add(this._westSash.onDidChange(n=>{e&&(i=-(n.currentX-n.startX),this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,west:!0}))})),this._sashListener.add(this._northSash.onDidChange(n=>{e&&(t=-(n.currentY-n.startY),this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,north:!0}))})),this._sashListener.add(this._southSash.onDidChange(n=>{e&&(t=n.currentY-n.startY,this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,south:!0}))})),this._sashListener.add(ae.any(this._eastSash.onDidReset,this._westSash.onDidReset)(n=>{this._preferredSize&&(this.layout(this._size.height,this._preferredSize.width),this._onDidResize.fire({dimension:this._size,done:!0}))})),this._sashListener.add(ae.any(this._northSash.onDidReset,this._southSash.onDidReset)(n=>{this._preferredSize&&(this.layout(this._preferredSize.height,this._size.width),this._onDidResize.fire({dimension:this._size,done:!0}))}))}dispose(){this._northSash.dispose(),this._southSash.dispose(),this._eastSash.dispose(),this._westSash.dispose(),this._sashListener.dispose(),this._onDidResize.dispose(),this._onDidWillResize.dispose(),this.domNode.remove()}enableSashes(e,t,i,n){this._northSash.state=e?3:0,this._eastSash.state=t?3:0,this._southSash.state=i?3:0,this._westSash.state=n?3:0}layout(e=this.size.height,t=this.size.width){const{height:i,width:n}=this._minSize,{height:s,width:r}=this._maxSize;e=Math.max(i,Math.min(s,e)),t=Math.max(n,Math.min(r,t));const a=new bt(t,e);bt.equals(a,this._size)||(this.domNode.style.height=e+"px",this.domNode.style.width=t+"px",this._size=a,this._northSash.layout(),this._eastSash.layout(),this._southSash.layout(),this._westSash.layout())}clearSashHoverState(){this._eastSash.clearSashHoverState(),this._westSash.clearSashHoverState(),this._northSash.clearSashHoverState(),this._southSash.clearSashHoverState()}get size(){return this._size}set maxSize(e){this._maxSize=e}get maxSize(){return this._maxSize}set minSize(e){this._minSize=e}get minSize(){return this._minSize}set preferredSize(e){this._preferredSize=e}get preferredSize(){return this._preferredSize}}const Dfe=30,xfe=24;class kfe extends V{constructor(e,t=new bt(10,10)){super(),this._editor=e,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._resizableNode=this._register(new PA),this._contentPosition=null,this._isResizing=!1,this._resizableNode.domNode.style.position="absolute",this._resizableNode.minSize=bt.lift(t),this._resizableNode.layout(t.height,t.width),this._resizableNode.enableSashes(!0,!0,!0,!0),this._register(this._resizableNode.onDidResize(i=>{this._resize(new bt(i.dimension.width,i.dimension.height)),i.done&&(this._isResizing=!1)})),this._register(this._resizableNode.onDidWillResize(()=>{this._isResizing=!0}))}get isResizing(){return this._isResizing}getDomNode(){return this._resizableNode.domNode}getPosition(){return this._contentPosition}get position(){var e;return!((e=this._contentPosition)===null||e===void 0)&&e.position?F.lift(this._contentPosition.position):void 0}_availableVerticalSpaceAbove(e){const t=this._editor.getDomNode(),i=this._editor.getScrolledVisiblePosition(e);return!t||!i?void 0:Mi(t).top+i.top-Dfe}_availableVerticalSpaceBelow(e){const t=this._editor.getDomNode(),i=this._editor.getScrolledVisiblePosition(e);if(!t||!i)return;const n=Mi(t),s=Id(t.ownerDocument.body),r=n.top+i.top+i.height;return s.height-r-xfe}_findPositionPreference(e,t){var i,n;const s=Math.min((i=this._availableVerticalSpaceBelow(t))!==null&&i!==void 0?i:1/0,e),r=Math.min((n=this._availableVerticalSpaceAbove(t))!==null&&n!==void 0?n:1/0,e),a=Math.min(Math.max(r,s),e),l=Math.min(e,a);let d;return this._editor.getOption(60).above?d=l<=r?1:2:d=l<=s?2:1,d===1?this._resizableNode.enableSashes(!0,!0,!1,!1):this._resizableNode.enableSashes(!1,!0,!0,!1),d}_resize(e){this._resizableNode.layout(e.height,e.width)}}var OA=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},yu=function(o,e){return function(t,i){e(t,i,o)}},V1,Aa;const b3=J;let RS=V1=class extends V{constructor(e,t,i){super(),this._editor=e,this._instantiationService=t,this._keybindingService=i,this._currentResult=null,this._widget=this._register(this._instantiationService.createInstance(Bc,this._editor)),this._participants=[];for(const n of Nh.getAll())this._participants.push(this._instantiationService.createInstance(n,this._editor));this._participants.sort((n,s)=>n.hoverOrdinal-s.hoverOrdinal),this._computer=new PS(this._editor,this._participants),this._hoverOperation=this._register(new mH(this._editor,this._computer)),this._register(this._hoverOperation.onResult(n=>{if(!this._computer.anchor)return;const s=n.hasLoadingMessage?this._addLoadingMessage(n.value):n.value;this._withResult(new pH(this._computer.anchor,s,n.isComplete))})),this._register(vi(this._widget.getDomNode(),"keydown",n=>{n.equals(9)&&this.hide()})),this._register(ci.onDidChange(()=>{this._widget.position&&this._currentResult&&this._setCurrentResult(this._currentResult)}))}_startShowingOrUpdateHover(e,t,i,n,s){return!this._widget.position||!this._currentResult?e?(this._startHoverOperationIfNecessary(e,t,i,n,!1),!0):!1:this._editor.getOption(60).sticky&&s&&this._widget.isMouseGettingCloser(s.event.posx,s.event.posy)?(e&&this._startHoverOperationIfNecessary(e,t,i,n,!0),!0):e?e&&this._currentResult.anchor.equals(e)?!0:e.canAdoptVisibleHover(this._currentResult.anchor,this._widget.position)?(this._setCurrentResult(this._currentResult.filter(e)),this._startHoverOperationIfNecessary(e,t,i,n,!1),!0):(this._setCurrentResult(null),this._startHoverOperationIfNecessary(e,t,i,n,!1),!0):(this._setCurrentResult(null),!1)}_startHoverOperationIfNecessary(e,t,i,n,s){this._computer.anchor&&this._computer.anchor.equals(e)||(this._hoverOperation.cancel(),this._computer.anchor=e,this._computer.shouldFocus=n,this._computer.source=i,this._computer.insistOnKeepingHoverVisible=s,this._hoverOperation.start(t))}_setCurrentResult(e){this._currentResult!==e&&(e&&e.messages.length===0&&(e=null),this._currentResult=e,this._currentResult?this._renderMessages(this._currentResult.anchor,this._currentResult.messages):this._widget.hide())}_addLoadingMessage(e){if(this._computer.anchor){for(const t of this._participants)if(t.createLoadingMessage){const i=t.createLoadingMessage(this._computer.anchor);if(i)return e.slice(0).concat([i])}}return e}_withResult(e){this._widget.position&&this._currentResult&&this._currentResult.isComplete&&(!e.isComplete||this._computer.insistOnKeepingHoverVisible&&e.messages.length===0)||this._setCurrentResult(e)}_renderMessages(e,t){const{showAtPosition:i,showAtSecondaryPosition:n,highlightRange:s}=V1.computeHoverRanges(this._editor,e.range,t),r=new X,a=r.add(new AS(this._keybindingService)),l=document.createDocumentFragment();let d=null;const c={fragment:l,statusBar:a,setColorPicker:u=>d=u,onContentsChanged:()=>this._widget.onContentsChanged(),setMinimumDimensions:u=>this._widget.setMinimumDimensions(u),hide:()=>this.hide()};for(const u of this._participants){const g=t.filter(f=>f.owner===u);g.length>0&&r.add(u.renderHoverParts(c,g))}const h=t.some(u=>u.isBeforeContent);if(a.hasContent&&l.appendChild(a.hoverElement),l.hasChildNodes()){if(s){const u=this._editor.createDecorationsCollection();u.set([{range:s,options:V1._DECORATION_OPTIONS}]),r.add(Le(()=>{u.clear()}))}this._widget.showAt(l,new Efe(e.initialMousePosX,e.initialMousePosY,d,i,n,this._editor.getOption(60).above,this._computer.shouldFocus,this._computer.source,h,r))}else r.dispose()}static computeHoverRanges(e,t,i){let n=1;if(e.hasModel()){const h=e._getViewModel(),u=h.coordinatesConverter,g=u.convertModelRangeToViewRange(t),f=new F(g.startLineNumber,h.getLineMinColumn(g.startLineNumber));n=u.convertViewPositionToModelPosition(f).column}const s=t.startLineNumber;let r=t.startColumn,a=i[0].range,l=null;for(const h of i)a=D.plusRange(a,h.range),h.range.startLineNumber===s&&h.range.endLineNumber===s&&(r=Math.max(Math.min(r,h.range.startColumn),n)),h.forceShowAtRange&&(l=h.range);const d=l?l.getStartPosition():new F(s,t.startColumn),c=l?l.getStartPosition():new F(s,r);return{showAtPosition:d,showAtSecondaryPosition:c,highlightRange:a}}showsOrWillShow(e){if(this._widget.isResizing)return!0;const t=[];for(const n of this._participants)if(n.suggestHoverAnchor){const s=n.suggestHoverAnchor(e);s&&t.push(s)}const i=e.target;if(i.type===6&&t.push(new nk(0,i.range,e.event.posx,e.event.posy)),i.type===7){const n=this._editor.getOption(50).typicalHalfwidthCharacterWidth/2;!i.detail.isAfterLines&&typeof i.detail.horizontalDistanceToText=="number"&&i.detail.horizontalDistanceToTexts.priority-n.priority),this._startShowingOrUpdateHover(t[0],0,0,!1,e))}startShowingAtRange(e,t,i,n){this._startShowingOrUpdateHover(new nk(0,e,void 0,void 0),t,i,n,null)}containsNode(e){return e?this._widget.getDomNode().contains(e):!1}focus(){this._widget.focus()}scrollUp(){this._widget.scrollUp()}scrollDown(){this._widget.scrollDown()}scrollLeft(){this._widget.scrollLeft()}scrollRight(){this._widget.scrollRight()}pageUp(){this._widget.pageUp()}pageDown(){this._widget.pageDown()}goToTop(){this._widget.goToTop()}goToBottom(){this._widget.goToBottom()}hide(){this._computer.anchor=null,this._hoverOperation.cancel(),this._setCurrentResult(null)}get isColorPickerVisible(){return this._widget.isColorPickerVisible}get isVisibleFromKeyboard(){return this._widget.isVisibleFromKeyboard}get isVisible(){return this._widget.isVisible}get isFocused(){return this._widget.isFocused}get isResizing(){return this._widget.isResizing}get widget(){return this._widget}};RS._DECORATION_OPTIONS=ze.register({description:"content-hover-highlight",className:"hoverHighlight"});RS=V1=OA([yu(1,Ie),yu(2,Et)],RS);class pH{constructor(e,t,i){this.anchor=e,this.messages=t,this.isComplete=i}filter(e){const t=this.messages.filter(i=>i.isValidForHoverAnchor(e));return t.length===this.messages.length?this:new Ife(this,this.anchor,t,this.isComplete)}}class Ife extends pH{constructor(e,t,i,n){super(t,i,n),this.original=e}filter(e){return this.original.filter(e)}}class Efe{constructor(e,t,i,n,s,r,a,l,d,c){this.initialMousePosX=e,this.initialMousePosY=t,this.colorPicker=i,this.showAtPosition=n,this.showAtSecondaryPosition=s,this.preferAbove=r,this.stoleFocus=a,this.source=l,this.isBeforeContent=d,this.disposables=c,this.closestMouseDistance=void 0}}const C3=30,sk=10,Nfe=6;let Bc=Aa=class extends kfe{get isColorPickerVisible(){var e;return!!(!((e=this._visibleData)===null||e===void 0)&&e.colorPicker)}get isVisibleFromKeyboard(){var e;return((e=this._visibleData)===null||e===void 0?void 0:e.source)===1}get isVisible(){var e;return(e=this._hoverVisibleKey.get())!==null&&e!==void 0?e:!1}get isFocused(){var e;return(e=this._hoverFocusedKey.get())!==null&&e!==void 0?e:!1}constructor(e,t,i,n,s){const r=e.getOption(67)+8,a=150,l=new bt(a,r);super(e,l),this._configurationService=i,this._accessibilityService=n,this._keybindingService=s,this._hover=this._register(new y2),this._minimumSize=l,this._hoverVisibleKey=E.hoverVisible.bindTo(t),this._hoverFocusedKey=E.hoverFocused.bindTo(t),Y(this._resizableNode.domNode,this._hover.containerDomNode),this._resizableNode.domNode.style.zIndex="50",this._register(this._editor.onDidLayoutChange(()=>{this.isVisible&&this._updateMaxDimensions()})),this._register(this._editor.onDidChangeConfiguration(c=>{c.hasChanged(50)&&this._updateFont()}));const d=this._register(la(this._resizableNode.domNode));this._register(d.onDidFocus(()=>{this._hoverFocusedKey.set(!0)})),this._register(d.onDidBlur(()=>{this._hoverFocusedKey.set(!1)})),this._setHoverData(void 0),this._editor.addContentWidget(this)}dispose(){var e;super.dispose(),(e=this._visibleData)===null||e===void 0||e.disposables.dispose(),this._editor.removeContentWidget(this)}getId(){return Aa.ID}static _applyDimensions(e,t,i){const n=typeof t=="number"?`${t}px`:t,s=typeof i=="number"?`${i}px`:i;e.style.width=n,e.style.height=s}_setContentsDomNodeDimensions(e,t){const i=this._hover.contentsDomNode;return Aa._applyDimensions(i,e,t)}_setContainerDomNodeDimensions(e,t){const i=this._hover.containerDomNode;return Aa._applyDimensions(i,e,t)}_setHoverWidgetDimensions(e,t){this._setContentsDomNodeDimensions(e,t),this._setContainerDomNodeDimensions(e,t),this._layoutContentWidget()}static _applyMaxDimensions(e,t,i){const n=typeof t=="number"?`${t}px`:t,s=typeof i=="number"?`${i}px`:i;e.style.maxWidth=n,e.style.maxHeight=s}_setHoverWidgetMaxDimensions(e,t){Aa._applyMaxDimensions(this._hover.contentsDomNode,e,t),Aa._applyMaxDimensions(this._hover.containerDomNode,e,t),this._hover.containerDomNode.style.setProperty("--vscode-hover-maxWidth",typeof e=="number"?`${e}px`:e),this._layoutContentWidget()}_hasHorizontalScrollbar(){const e=this._hover.scrollbar.getScrollDimensions();return e.scrollWidth>e.width}_adjustContentsBottomPadding(){const e=this._hover.contentsDomNode,t=`${this._hover.scrollbar.options.horizontalScrollbarSize}px`;e.style.paddingBottom!==t&&(e.style.paddingBottom=t)}_setAdjustedHoverWidgetDimensions(e){this._setHoverWidgetMaxDimensions("none","none");const t=e.width,i=e.height;this._setHoverWidgetDimensions(t,i),this._hasHorizontalScrollbar()&&(this._adjustContentsBottomPadding(),this._setContentsDomNodeDimensions(t,i-sk))}_updateResizableNodeMaxDimensions(){var e,t;const i=(e=this._findMaximumRenderingWidth())!==null&&e!==void 0?e:1/0,n=(t=this._findMaximumRenderingHeight())!==null&&t!==void 0?t:1/0;this._resizableNode.maxSize=new bt(i,n),this._setHoverWidgetMaxDimensions(i,n)}_resize(e){var t,i;Aa._lastDimensions=new bt(e.width,e.height),this._setAdjustedHoverWidgetDimensions(e),this._resizableNode.layout(e.height,e.width),this._updateResizableNodeMaxDimensions(),this._hover.scrollbar.scanDomNode(),this._editor.layoutContentWidget(this),(i=(t=this._visibleData)===null||t===void 0?void 0:t.colorPicker)===null||i===void 0||i.layout()}_findAvailableSpaceVertically(){var e;const t=(e=this._visibleData)===null||e===void 0?void 0:e.showAtPosition;if(t)return this._positionPreference===1?this._availableVerticalSpaceAbove(t):this._availableVerticalSpaceBelow(t)}_findMaximumRenderingHeight(){const e=this._findAvailableSpaceVertically();if(!e)return;let t=Nfe;return Array.from(this._hover.contentsDomNode.children).forEach(i=>{t+=i.clientHeight}),this._hasHorizontalScrollbar()&&(t+=sk),Math.min(e,t)}_isHoverTextOverflowing(){this._hover.containerDomNode.style.setProperty("--vscode-hover-whiteSpace","nowrap"),this._hover.containerDomNode.style.setProperty("--vscode-hover-sourceWhiteSpace","nowrap");const e=Array.from(this._hover.contentsDomNode.children).some(t=>t.scrollWidth>t.clientWidth);return this._hover.containerDomNode.style.removeProperty("--vscode-hover-whiteSpace"),this._hover.containerDomNode.style.removeProperty("--vscode-hover-sourceWhiteSpace"),e}_findMaximumRenderingWidth(){if(!this._editor||!this._editor.hasModel())return;const e=this._isHoverTextOverflowing(),t=typeof this._contentWidth>"u"?0:this._contentWidth-2;return e||this._hover.containerDomNode.clientWidth"u"||typeof this._visibleData.initialMousePosY>"u")return this._visibleData.initialMousePosX=e,this._visibleData.initialMousePosY=t,!1;const i=Mi(this.getDomNode());typeof this._visibleData.closestMouseDistance>"u"&&(this._visibleData.closestMouseDistance=w3(this._visibleData.initialMousePosX,this._visibleData.initialMousePosY,i.left,i.top,i.width,i.height));const n=w3(e,t,i.left,i.top,i.width,i.height);return n>this._visibleData.closestMouseDistance+4?!1:(this._visibleData.closestMouseDistance=Math.min(this._visibleData.closestMouseDistance,n),!0)}_setHoverData(e){var t;(t=this._visibleData)===null||t===void 0||t.disposables.dispose(),this._visibleData=e,this._hoverVisibleKey.set(!!e),this._hover.containerDomNode.classList.toggle("hidden",!e)}_updateFont(){const{fontSize:e,lineHeight:t}=this._editor.getOption(50),i=this._hover.contentsDomNode;i.style.fontSize=`${e}px`,i.style.lineHeight=`${t/e}`,Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName("code")).forEach(s=>this._editor.applyFontInfo(s))}_updateContent(e){const t=this._hover.contentsDomNode;t.style.paddingBottom="",t.textContent="",t.appendChild(e)}_layoutContentWidget(){this._editor.layoutContentWidget(this),this._hover.onContentsChanged()}_updateMaxDimensions(){const e=Math.max(this._editor.getLayoutInfo().height/4,250,Aa._lastDimensions.height),t=Math.max(this._editor.getLayoutInfo().width*.66,500,Aa._lastDimensions.width);this._setHoverWidgetMaxDimensions(t,e)}_render(e,t){this._setHoverData(t),this._updateFont(),this._updateContent(e),this._updateMaxDimensions(),this.onContentsChanged(),this._editor.render()}getPosition(){var e;return this._visibleData?{position:this._visibleData.showAtPosition,secondaryPosition:this._visibleData.showAtSecondaryPosition,positionAffinity:this._visibleData.isBeforeContent?3:void 0,preference:[(e=this._positionPreference)!==null&&e!==void 0?e:1]}:null}showAt(e,t){var i,n,s,r;if(!this._editor||!this._editor.hasModel())return;this._render(e,t);const a=td(this._hover.containerDomNode),l=t.showAtPosition;this._positionPreference=(i=this._findPositionPreference(a,l))!==null&&i!==void 0?i:1,this.onContentsChanged(),t.stoleFocus&&this._hover.containerDomNode.focus(),(n=t.colorPicker)===null||n===void 0||n.layout();const c=this._hover.containerDomNode.ownerDocument.activeElement===this._hover.containerDomNode&&iW(this._configurationService.getValue("accessibility.verbosity.hover")===!0&&this._accessibilityService.isScreenReaderOptimized(),(r=(s=this._keybindingService.lookupKeybinding("editor.action.accessibleView"))===null||s===void 0?void 0:s.getAriaLabel())!==null&&r!==void 0?r:"");c&&(this._hover.contentsDomNode.ariaLabel=this._hover.contentsDomNode.textContent+", "+c)}hide(){if(!this._visibleData)return;const e=this._visibleData.stoleFocus||this._hoverFocusedKey.get();this._setHoverData(void 0),this._resizableNode.maxSize=new bt(1/0,1/0),this._resizableNode.clearSashHoverState(),this._hoverFocusedKey.set(!1),this._editor.layoutContentWidget(this),e&&this._editor.focus()}_removeConstraintsRenderNormally(){const e=this._editor.getLayoutInfo();this._resizableNode.layout(e.height,e.width),this._setHoverWidgetDimensions("auto","auto")}_adjustHoverHeightForScrollbar(e){var t;const i=this._hover.containerDomNode,n=this._hover.contentsDomNode,s=(t=this._findMaximumRenderingHeight())!==null&&t!==void 0?t:1/0;this._setContainerDomNodeDimensions(rs(i),Math.min(s,e)),this._setContentsDomNodeDimensions(rs(n),Math.min(s,e-sk))}setMinimumDimensions(e){this._minimumSize=new bt(Math.max(this._minimumSize.width,e.width),Math.max(this._minimumSize.height,e.height)),this._updateMinimumWidth()}_updateMinimumWidth(){const e=typeof this._contentWidth>"u"?this._minimumSize.width:Math.min(this._contentWidth,this._minimumSize.width);this._resizableNode.minSize=new bt(e,this._minimumSize.height)}onContentsChanged(){var e;this._removeConstraintsRenderNormally();const t=this._hover.containerDomNode;let i=td(t),n=rs(t);if(this._resizableNode.layout(i,n),this._setHoverWidgetDimensions(n,i),i=td(t),n=rs(t),this._contentWidth=n,this._updateMinimumWidth(),this._resizableNode.layout(i,n),this._hasHorizontalScrollbar()&&(this._adjustContentsBottomPadding(),this._adjustHoverHeightForScrollbar(i)),!((e=this._visibleData)===null||e===void 0)&&e.showAtPosition){const s=td(this._hover.containerDomNode);this._positionPreference=this._findPositionPreference(s,this._visibleData.showAtPosition)}this._layoutContentWidget()}focus(){this._hover.containerDomNode.focus()}scrollUp(){const e=this._hover.scrollbar.getScrollPosition().scrollTop,t=this._editor.getOption(50);this._hover.scrollbar.setScrollPosition({scrollTop:e-t.lineHeight})}scrollDown(){const e=this._hover.scrollbar.getScrollPosition().scrollTop,t=this._editor.getOption(50);this._hover.scrollbar.setScrollPosition({scrollTop:e+t.lineHeight})}scrollLeft(){const e=this._hover.scrollbar.getScrollPosition().scrollLeft;this._hover.scrollbar.setScrollPosition({scrollLeft:e-C3})}scrollRight(){const e=this._hover.scrollbar.getScrollPosition().scrollLeft;this._hover.scrollbar.setScrollPosition({scrollLeft:e+C3})}pageUp(){const e=this._hover.scrollbar.getScrollPosition().scrollTop,t=this._hover.scrollbar.getScrollDimensions().height;this._hover.scrollbar.setScrollPosition({scrollTop:e-t})}pageDown(){const e=this._hover.scrollbar.getScrollPosition().scrollTop,t=this._hover.scrollbar.getScrollDimensions().height;this._hover.scrollbar.setScrollPosition({scrollTop:e+t})}goToTop(){this._hover.scrollbar.setScrollPosition({scrollTop:0})}goToBottom(){this._hover.scrollbar.setScrollPosition({scrollTop:this._hover.scrollbar.getScrollDimensions().scrollHeight})}};Bc.ID="editor.contrib.resizableContentHoverWidget";Bc._lastDimensions=new bt(0,0);Bc=Aa=OA([yu(1,Ae),yu(2,Qe),yu(3,xr),yu(4,Et)],Bc);let AS=class extends V{get hasContent(){return this._hasContent}constructor(e){super(),this._keybindingService=e,this._hasContent=!1,this.hoverElement=b3("div.hover-row.status-bar"),this.actionsElement=Y(this.hoverElement,b3("div.actions"))}addAction(e){const t=this._keybindingService.lookupKeybinding(e.commandId),i=t?t.getLabel():null;return this._hasContent=!0,this._register(zy.render(this.actionsElement,e,i))}append(e){const t=Y(this.actionsElement,e);return this._hasContent=!0,t}};AS=OA([yu(0,Et)],AS);class PS{get anchor(){return this._anchor}set anchor(e){this._anchor=e}get shouldFocus(){return this._shouldFocus}set shouldFocus(e){this._shouldFocus=e}get source(){return this._source}set source(e){this._source=e}get insistOnKeepingHoverVisible(){return this._insistOnKeepingHoverVisible}set insistOnKeepingHoverVisible(e){this._insistOnKeepingHoverVisible=e}constructor(e,t){this._editor=e,this._participants=t,this._anchor=null,this._shouldFocus=!1,this._source=0,this._insistOnKeepingHoverVisible=!1}static _getLineDecorations(e,t){if(t.type!==1&&!t.supportsMarkerHover)return[];const i=e.getModel(),n=t.range.startLineNumber;if(n>i.getLineCount())return[];const s=i.getLineMaxColumn(n);return e.getLineDecorations(n).filter(r=>{if(r.options.isWholeLine)return!0;const a=r.range.startLineNumber===n?r.range.startColumn:1,l=r.range.endLineNumber===n?r.range.endColumn:s;if(r.options.showIfCollapsed){if(a>t.range.startColumn+1||t.range.endColumn-1>l)return!1}else if(a>t.range.startColumn||t.range.endColumn>l)return!1;return!0})}computeAsync(e){const t=this._anchor;if(!this._editor.hasModel()||!t)return Pi.EMPTY;const i=PS._getLineDecorations(this._editor,t);return Pi.merge(this._participants.map(n=>n.computeAsync?n.computeAsync(t,i,e):Pi.EMPTY))}computeSync(){if(!this._editor.hasModel()||!this._anchor)return[];const e=PS._getLineDecorations(this._editor,this._anchor);let t=[];for(const i of this._participants)t=t.concat(i.computeSync(this._anchor,e));return oa(t)}}function w3(o,e,t,i,n,s){const r=t+n/2,a=i+s/2,l=Math.max(Math.abs(o-r)-n/2,0),d=Math.max(Math.abs(e-a)-s/2,0);return Math.sqrt(l*l+d*d)}const S3=J;class tm extends V{constructor(e,t,i){super(),this._renderDisposeables=this._register(new X),this._editor=e,this._isVisible=!1,this._messages=[],this._hover=this._register(new y2),this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible),this._markdownRenderer=this._register(new pl({editor:this._editor},t,i)),this._computer=new Tfe(this._editor),this._hoverOperation=this._register(new mH(this._editor,this._computer)),this._register(this._hoverOperation.onResult(n=>{this._withResult(n.value)})),this._register(this._editor.onDidChangeModelDecorations(()=>this._onModelDecorationsChanged())),this._register(this._editor.onDidChangeConfiguration(n=>{n.hasChanged(50)&&this._updateFont()})),this._editor.addOverlayWidget(this)}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return tm.ID}getDomNode(){return this._hover.containerDomNode}getPosition(){return null}_updateFont(){Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName("code")).forEach(t=>this._editor.applyFontInfo(t))}_onModelDecorationsChanged(){this._isVisible&&(this._hoverOperation.cancel(),this._hoverOperation.start(0))}startShowingAt(e,t){this._computer.lineNumber===e&&this._computer.lane===t||(this._hoverOperation.cancel(),this.hide(),this._computer.lineNumber=e,this._computer.lane=t,this._hoverOperation.start(0))}hide(){this._computer.lineNumber=-1,this._hoverOperation.cancel(),this._isVisible&&(this._isVisible=!1,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible))}_withResult(e){this._messages=e,this._messages.length>0?this._renderMessages(this._computer.lineNumber,this._messages):this.hide()}_renderMessages(e,t){this._renderDisposeables.clear();const i=document.createDocumentFragment();for(const n of t){const s=S3("div.hover-row.markdown-hover"),r=Y(s,S3("div.hover-contents")),a=this._renderDisposeables.add(this._markdownRenderer.render(n.value));r.appendChild(a.element),i.appendChild(s)}this._updateContents(i),this._showAt(e)}_updateContents(e){this._hover.contentsDomNode.textContent="",this._hover.contentsDomNode.appendChild(e),this._updateFont()}_showAt(e){this._isVisible||(this._isVisible=!0,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible));const t=this._editor.getLayoutInfo(),i=this._editor.getTopForLineNumber(e),n=this._editor.getScrollTop(),s=this._editor.getOption(67),r=this._hover.containerDomNode.clientHeight,a=i-n-(r-s)/2,l=t.glyphMarginLeft+t.glyphMarginWidth+(this._computer.lane==="lineNo"?t.lineNumbersWidth:0);this._hover.containerDomNode.style.left=`${l}px`,this._hover.containerDomNode.style.top=`${Math.max(Math.round(a),0)}px`}}tm.ID="editor.contrib.modesGlyphHoverWidget";class Tfe{get lineNumber(){return this._lineNumber}set lineNumber(e){this._lineNumber=e}get lane(){return this._laneOrLine}set lane(e){this._laneOrLine=e}constructor(e){this._editor=e,this._lineNumber=-1,this._laneOrLine=ul.Center}computeSync(){var e,t;const i=a=>({value:a}),n=this._editor.getLineDecorations(this._lineNumber),s=[],r=this._laneOrLine==="lineNo";if(!n)return s;for(const a of n){const l=(t=(e=a.options.glyphMargin)===null||e===void 0?void 0:e.position)!==null&&t!==void 0?t:ul.Center;if(!r&&l!==this._laneOrLine)continue;const d=r?a.options.lineNumberHoverMessage:a.options.glyphMarginHoverMessage;!d||Dm(d)||s.push(...qM(d).map(i))}return s}}class Mfe{constructor(e,t,i){this.provider=e,this.hover=t,this.ordinal=i}}async function Rfe(o,e,t,i,n){try{const s=await Promise.resolve(o.provideHover(t,i,n));if(s&&Pfe(s))return new Mfe(o,s,e)}catch(s){Fi(s)}}function FA(o,e,t,i){const s=o.ordered(e).map((r,a)=>Rfe(r,a,e,t,i));return Pi.fromPromises(s).coalesce()}function Afe(o,e,t,i){return FA(o,e,t,i).map(n=>n.hover).toPromise()}xl("_executeHoverProvider",(o,e,t)=>{const i=o.get(fe);return Afe(i.hoverProvider,e,t,st.None)});function Pfe(o){const e=typeof o.range<"u",t=typeof o.contents<"u"&&o.contents&&o.contents.length>0;return e&&t}var Ofe=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},VC=function(o,e){return function(t,i){e(t,i,o)}};const y3=J;class Zr{constructor(e,t,i,n,s){this.owner=e,this.range=t,this.contents=i,this.isBeforeContent=n,this.ordinal=s}isValidForHoverAnchor(e){return e.type===1&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}}let OS=class{constructor(e,t,i,n,s){this._editor=e,this._languageService=t,this._openerService=i,this._configurationService=n,this._languageFeaturesService=s,this.hoverOrdinal=3}createLoadingMessage(e){return new Zr(this,e.range,[new Fn().appendText(m("modesContentHover.loading","Loading..."))],!1,2e3)}computeSync(e,t){if(!this._editor.hasModel()||e.type!==1)return[];const i=this._editor.getModel(),n=e.range.startLineNumber,s=i.getLineMaxColumn(n),r=[];let a=1e3;const l=i.getLineLength(n),d=i.getLanguageIdAtPosition(e.range.startLineNumber,e.range.startColumn),c=this._editor.getOption(117),h=this._configurationService.getValue("editor.maxTokenizationLineLength",{overrideIdentifier:d});let u=!1;c>=0&&l>c&&e.range.startColumn>=c&&(u=!0,r.push(new Zr(this,e.range,[{value:m("stopped rendering","Rendering paused for long line for performance reasons. This can be configured via `editor.stopRenderingLineAfter`.")}],!1,a++))),!u&&typeof h=="number"&&l>=h&&r.push(new Zr(this,e.range,[{value:m("too many characters","Tokenization is skipped for long lines for performance reasons. This can be configured via `editor.maxTokenizationLineLength`.")}],!1,a++));let g=!1;for(const f of t){const p=f.range.startLineNumber===n?f.range.startColumn:1,_=f.range.endLineNumber===n?f.range.endColumn:s,v=f.options.hoverMessage;if(!v||Dm(v))continue;f.options.beforeContentClassName&&(g=!0);const b=new D(e.range.startLineNumber,p,e.range.startLineNumber,_);r.push(new Zr(this,b,qM(v),g,a++))}return r}computeAsync(e,t,i){if(!this._editor.hasModel()||e.type!==1)return Pi.EMPTY;const n=this._editor.getModel();if(!this._languageFeaturesService.hoverProvider.has(n))return Pi.EMPTY;const s=new F(e.range.startLineNumber,e.range.startColumn);return FA(this._languageFeaturesService.hoverProvider,n,s,i).filter(r=>!Dm(r.hover.contents)).map(r=>{const a=r.hover.range?D.lift(r.hover.range):e.range;return new Zr(this,a,r.hover.contents,!1,r.ordinal)})}renderHoverParts(e,t){return _H(e,t,this._editor,this._languageService,this._openerService)}};OS=Ofe([VC(1,Qt),VC(2,Hs),VC(3,Qe),VC(4,fe)],OS);function _H(o,e,t,i,n){e.sort((r,a)=>r.ordinal-a.ordinal);const s=new X;for(const r of e)for(const a of r.contents){if(Dm(a))continue;const l=y3("div.hover-row.markdown-hover"),d=Y(l,y3("div.hover-contents")),c=s.add(new pl({editor:t},i,n));s.add(c.onDidRenderAsync(()=>{d.className="hover-contents code-hover-contents",o.onContentsChanged()}));const h=s.add(c.render(a));d.appendChild(h.element),o.fragment.appendChild(l)}return s}var vH=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},FS=function(o,e){return function(t,i){e(t,i,o)}};class L3{constructor(e,t,i){this.marker=e,this.index=t,this.total=i}}let LT=class{constructor(e,t,i){this._markerService=t,this._configService=i,this._onDidChange=new O,this.onDidChange=this._onDidChange.event,this._dispoables=new X,this._markers=[],this._nextIdx=-1,xe.isUri(e)?this._resourceFilter=a=>a.toString()===e.toString():e&&(this._resourceFilter=e);const n=this._configService.getValue("problems.sortOrder"),s=(a,l)=>{let d=uv(a.resource.toString(),l.resource.toString());return d===0&&(n==="position"?d=D.compareRangesUsingStarts(a,l)||gi.compare(a.severity,l.severity):d=gi.compare(a.severity,l.severity)||D.compareRangesUsingStarts(a,l)),d},r=()=>{this._markers=this._markerService.read({resource:xe.isUri(e)?e:void 0,severities:gi.Error|gi.Warning|gi.Info}),typeof e=="function"&&(this._markers=this._markers.filter(a=>this._resourceFilter(a.resource))),this._markers.sort(s)};r(),this._dispoables.add(t.onMarkerChanged(a=>{(!this._resourceFilter||a.some(l=>this._resourceFilter(l)))&&(r(),this._nextIdx=-1,this._onDidChange.fire())}))}dispose(){this._dispoables.dispose(),this._onDidChange.dispose()}matches(e){return!this._resourceFilter&&!e?!0:!this._resourceFilter||!e?!1:this._resourceFilter(e)}get selected(){const e=this._markers[this._nextIdx];return e&&new L3(e,this._nextIdx+1,this._markers.length)}_initIdx(e,t,i){let n=!1,s=this._markers.findIndex(r=>r.resource.toString()===e.uri.toString());s<0&&(s=ov(this._markers,{resource:e.uri},(r,a)=>uv(r.resource.toString(),a.resource.toString())),s<0&&(s=~s));for(let r=s;rn.resource.toString()===e.toString());if(!(i<0)){for(;i=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Ug=function(o,e){return function(t,i){e(t,i,o)}},kT;class Bfe{constructor(e,t,i,n,s){this._openerService=n,this._labelService=s,this._lines=0,this._longestLineLength=0,this._relatedDiagnostics=new WeakMap,this._disposables=new X,this._editor=t;const r=document.createElement("div");r.className="descriptioncontainer",this._messageBlock=document.createElement("div"),this._messageBlock.classList.add("message"),this._messageBlock.setAttribute("aria-live","assertive"),this._messageBlock.setAttribute("role","alert"),r.appendChild(this._messageBlock),this._relatedBlock=document.createElement("div"),r.appendChild(this._relatedBlock),this._disposables.add(vi(this._relatedBlock,"click",a=>{a.preventDefault();const l=this._relatedDiagnostics.get(a.target);l&&i(l)})),this._scrollable=new YB(r,{horizontal:1,vertical:1,useShadows:!1,horizontalScrollbarSize:6,verticalScrollbarSize:6}),e.appendChild(this._scrollable.getDomNode()),this._disposables.add(this._scrollable.onScroll(a=>{r.style.left=`-${a.scrollLeft}px`,r.style.top=`-${a.scrollTop}px`})),this._disposables.add(this._scrollable)}dispose(){kt(this._disposables)}update(e){const{source:t,message:i,relatedInformation:n,code:s}=e;let r=((t==null?void 0:t.length)||0)+2;s&&(typeof s=="string"?r+=s.length:r+=s.value.length);const a=Ll(i);this._lines=a.length,this._longestLineLength=0;for(const u of a)this._longestLineLength=Math.max(u.length+r,this._longestLineLength);Wn(this._messageBlock),this._messageBlock.setAttribute("aria-label",this.getAriaLabel(e)),this._editor.applyFontInfo(this._messageBlock);let l=this._messageBlock;for(const u of a)l=document.createElement("div"),l.innerText=u,u===""&&(l.style.height=this._messageBlock.style.lineHeight),this._messageBlock.appendChild(l);if(t||s){const u=document.createElement("span");if(u.classList.add("details"),l.appendChild(u),t){const g=document.createElement("span");g.innerText=t,g.classList.add("source"),u.appendChild(g)}if(s)if(typeof s=="string"){const g=document.createElement("span");g.innerText=`(${s})`,g.classList.add("code"),u.appendChild(g)}else{this._codeLink=J("a.code-link"),this._codeLink.setAttribute("href",`${s.target.toString()}`),this._codeLink.onclick=f=>{this._openerService.open(s.target,{allowCommands:!0}),f.preventDefault(),f.stopPropagation()};const g=Y(this._codeLink,J("span"));g.innerText=s.value,u.appendChild(this._codeLink)}}if(Wn(this._relatedBlock),this._editor.applyFontInfo(this._relatedBlock),Bn(n)){const u=this._relatedBlock.appendChild(document.createElement("div"));u.style.paddingTop=`${Math.floor(this._editor.getOption(67)*.66)}px`,this._lines+=1;for(const g of n){const f=document.createElement("div"),p=document.createElement("a");p.classList.add("filename"),p.innerText=`${this._labelService.getUriBasenameLabel(g.resource)}(${g.startLineNumber}, ${g.startColumn}): `,p.title=this._labelService.getUriLabel(g.resource),this._relatedDiagnostics.set(p,g);const _=document.createElement("span");_.innerText=g.message,f.appendChild(p),f.appendChild(_),this._lines+=1,u.appendChild(f)}}const d=this._editor.getOption(50),c=Math.ceil(d.typicalFullwidthCharacterWidth*this._longestLineLength*.75),h=d.lineHeight*this._lines;this._scrollable.setScrollDimensions({scrollWidth:c,scrollHeight:h})}layout(e,t){this._scrollable.getDomNode().style.height=`${e}px`,this._scrollable.getDomNode().style.width=`${t}px`,this._scrollable.setScrollDimensions({width:t,height:e})}getHeightInLines(){return Math.min(17,this._lines)}getAriaLabel(e){let t="";switch(e.severity){case gi.Error:t=m("Error","Error");break;case gi.Warning:t=m("Warning","Warning");break;case gi.Info:t=m("Info","Info");break;case gi.Hint:t=m("Hint","Hint");break}let i=m("marker aria","{0} at {1}. ",t,e.startLineNumber+":"+e.startColumn);const n=this._editor.getModel();return n&&e.startLineNumber<=n.getLineCount()&&e.startLineNumber>=1&&(i=`${n.getLineContent(e.startLineNumber)}, ${i}`),i}}let Wm=kT=class extends MS{constructor(e,t,i,n,s,r,a){super(e,{showArrow:!0,showFrame:!0,isAccessible:!0,frameWidth:1},s),this._themeService=t,this._openerService=i,this._menuService=n,this._contextKeyService=r,this._labelService=a,this._callOnDispose=new X,this._onDidSelectRelatedInformation=new O,this.onDidSelectRelatedInformation=this._onDidSelectRelatedInformation.event,this._severity=gi.Warning,this._backgroundColor=z.white,this._applyTheme(t.getColorTheme()),this._callOnDispose.add(t.onDidColorThemeChange(this._applyTheme.bind(this))),this.create()}_applyTheme(e){this._backgroundColor=e.getColor(zfe);let t=IT,i=Wfe;this._severity===gi.Warning?(t=H1,i=Vfe):this._severity===gi.Info&&(t=ET,i=Hfe);const n=e.getColor(t),s=e.getColor(i);this.style({arrowColor:n,frameColor:n,headerBackgroundColor:s,primaryHeadingColor:e.getColor(oH),secondaryHeadingColor:e.getColor(rH)})}_applyStyles(){this._parentContainer&&(this._parentContainer.style.backgroundColor=this._backgroundColor?this._backgroundColor.toString():""),super._applyStyles()}dispose(){this._callOnDispose.dispose(),super.dispose()}_fillHead(e){super._fillHead(e),this._disposables.add(this._actionbarWidget.actionRunner.onWillRun(n=>this.editor.focus()));const t=[],i=this._menuService.createMenu(kT.TitleMenu,this._contextKeyService);Qy(i,void 0,t),this._actionbarWidget.push(t,{label:!1,icon:!0,index:0}),i.dispose()}_fillTitleIcon(e){this._icon=Y(e,J(""))}_fillBody(e){this._parentContainer=e,e.classList.add("marker-widget"),this._parentContainer.tabIndex=0,this._parentContainer.setAttribute("role","tooltip"),this._container=document.createElement("div"),e.appendChild(this._container),this._message=new Bfe(this._container,this.editor,t=>this._onDidSelectRelatedInformation.fire(t),this._openerService,this._labelService),this._disposables.add(this._message)}show(){throw new Error("call showAtMarker")}showAtMarker(e,t,i){this._container.classList.remove("stale"),this._message.update(e),this._severity=e.severity,this._applyTheme(this._themeService.getColorTheme());const n=D.lift(e),s=this.editor.getPosition(),r=s&&n.containsPosition(s)?s:n.getStartPosition();super.show(r,this.computeRequiredHeight());const a=this.editor.getModel();if(a){const l=i>1?m("problems","{0} of {1} problems",t,i):m("change","{0} of {1} problem",t,i);this.setTitle(Zo(a.uri),l)}this._icon.className=`codicon ${xT.className(gi.toSeverity(this._severity))}`,this.editor.revealPositionNearTop(r,0),this.editor.focus()}updateMarker(e){this._container.classList.remove("stale"),this._message.update(e)}showStale(){this._container.classList.add("stale"),this._relayout()}_doLayoutBody(e,t){super._doLayoutBody(e,t),this._heightInPixel=e,this._message.layout(e,t),this._container.style.height=`${e}px`}_onWidth(e){this._message.layout(this._heightInPixel,e)}_relayout(){super._relayout(this.computeRequiredHeight())}computeRequiredHeight(){return 3+this._message.getHeightInLines()}};Wm.TitleMenu=new k("gotoErrorTitleMenu");Wm=kT=Ffe([Ug(1,nn),Ug(2,Hs),Ug(3,Xo),Ug(4,Ie),Ug(5,Ae),Ug(6,xm)],Wm);const D3=Ev(el,pY),x3=Ev(Xn,kv),k3=Ev(Rs,Iv),IT=N("editorMarkerNavigationError.background",{dark:D3,light:D3,hcDark:at,hcLight:at},m("editorMarkerNavigationError","Editor marker navigation widget error color.")),Wfe=N("editorMarkerNavigationError.headerBackground",{dark:we(IT,.1),light:we(IT,.1),hcDark:null,hcLight:null},m("editorMarkerNavigationErrorHeaderBackground","Editor marker navigation widget error heading background.")),H1=N("editorMarkerNavigationWarning.background",{dark:x3,light:x3,hcDark:at,hcLight:at},m("editorMarkerNavigationWarning","Editor marker navigation widget warning color.")),Vfe=N("editorMarkerNavigationWarning.headerBackground",{dark:we(H1,.1),light:we(H1,.1),hcDark:"#0C141F",hcLight:we(H1,.2)},m("editorMarkerNavigationWarningBackground","Editor marker navigation widget warning heading background.")),ET=N("editorMarkerNavigationInfo.background",{dark:k3,light:k3,hcDark:at,hcLight:at},m("editorMarkerNavigationInfo","Editor marker navigation widget info color.")),Hfe=N("editorMarkerNavigationInfo.headerBackground",{dark:we(ET,.1),light:we(ET,.1),hcDark:null,hcLight:null},m("editorMarkerNavigationInfoHeaderBackground","Editor marker navigation widget info heading background.")),zfe=N("editorMarkerNavigation.background",{dark:en,light:en,hcDark:en,hcLight:en},m("editorMarkerNavigationBackground","Editor marker navigation widget background."));var Ufe=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},HC=function(o,e){return function(t,i){e(t,i,o)}},C_;let hh=C_=class{static get(e){return e.getContribution(C_.ID)}constructor(e,t,i,n,s){this._markerNavigationService=t,this._contextKeyService=i,this._editorService=n,this._instantiationService=s,this._sessionDispoables=new X,this._editor=e,this._widgetVisible=CH.bindTo(this._contextKeyService)}dispose(){this._cleanUp(),this._sessionDispoables.dispose()}_cleanUp(){this._widgetVisible.reset(),this._sessionDispoables.clear(),this._widget=void 0,this._model=void 0}_getOrCreateModel(e){if(this._model&&this._model.matches(e))return this._model;let t=!1;return this._model&&(t=!0,this._cleanUp()),this._model=this._markerNavigationService.getMarkerList(e),t&&this._model.move(!0,this._editor.getModel(),this._editor.getPosition()),this._widget=this._instantiationService.createInstance(Wm,this._editor),this._widget.onDidClose(()=>this.close(),this,this._sessionDispoables),this._widgetVisible.set(!0),this._sessionDispoables.add(this._model),this._sessionDispoables.add(this._widget),this._sessionDispoables.add(this._editor.onDidChangeCursorPosition(i=>{var n,s,r;(!(!((n=this._model)===null||n===void 0)&&n.selected)||!D.containsPosition((s=this._model)===null||s===void 0?void 0:s.selected.marker,i.position))&&((r=this._model)===null||r===void 0||r.resetIndex())})),this._sessionDispoables.add(this._model.onDidChange(()=>{if(!this._widget||!this._widget.position||!this._model)return;const i=this._model.find(this._editor.getModel().uri,this._widget.position);i?this._widget.updateMarker(i.marker):this._widget.showStale()})),this._sessionDispoables.add(this._widget.onDidSelectRelatedInformation(i=>{this._editorService.openCodeEditor({resource:i.resource,options:{pinned:!0,revealIfOpened:!0,selection:D.lift(i).collapseToStart()}},this._editor),this.close(!1)})),this._sessionDispoables.add(this._editor.onDidChangeModel(()=>this._cleanUp())),this._model}close(e=!0){this._cleanUp(),e&&this._editor.focus()}showAtMarker(e){if(this._editor.hasModel()){const t=this._getOrCreateModel(this._editor.getModel().uri);t.resetIndex(),t.move(!0,this._editor.getModel(),new F(e.startLineNumber,e.startColumn)),t.selected&&this._widget.showAtMarker(t.selected.marker,t.selected.index,t.selected.total)}}async nagivate(e,t){var i,n;if(this._editor.hasModel()){const s=this._getOrCreateModel(t?void 0:this._editor.getModel().uri);if(s.move(e,this._editor.getModel(),this._editor.getPosition()),!s.selected)return;if(s.selected.marker.resource.toString()!==this._editor.getModel().uri.toString()){this._cleanUp();const r=await this._editorService.openCodeEditor({resource:s.selected.marker.resource,options:{pinned:!1,revealIfOpened:!0,selectionRevealType:2,selection:s.selected.marker}},this._editor);r&&((i=C_.get(r))===null||i===void 0||i.close(),(n=C_.get(r))===null||n===void 0||n.nagivate(e,t))}else this._widget.showAtMarker(s.selected.marker,s.selected.index,s.selected.total)}}};hh.ID="editor.contrib.markerController";hh=C_=Ufe([HC(1,bH),HC(2,Ae),HC(3,_t),HC(4,Ie)],hh);class FL extends he{constructor(e,t,i){super(i),this._next=e,this._multiFile=t}async run(e,t){var i;t.hasModel()&&((i=hh.get(t))===null||i===void 0||i.nagivate(this._next,this._multiFile))}}class Wc extends FL{constructor(){super(!0,!1,{id:Wc.ID,label:Wc.LABEL,alias:"Go to Next Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:E.focus,primary:578,weight:100},menuOpts:{menuId:Wm.TitleMenu,title:Wc.LABEL,icon:Ii("marker-navigation-next",re.arrowDown,m("nextMarkerIcon","Icon for goto next marker.")),group:"navigation",order:1}})}}Wc.ID="editor.action.marker.next";Wc.LABEL=m("markerAction.next.label","Go to Next Problem (Error, Warning, Info)");class Au extends FL{constructor(){super(!1,!1,{id:Au.ID,label:Au.LABEL,alias:"Go to Previous Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:E.focus,primary:1602,weight:100},menuOpts:{menuId:Wm.TitleMenu,title:Au.LABEL,icon:Ii("marker-navigation-previous",re.arrowUp,m("previousMarkerIcon","Icon for goto previous marker.")),group:"navigation",order:2}})}}Au.ID="editor.action.marker.prev";Au.LABEL=m("markerAction.previous.label","Go to Previous Problem (Error, Warning, Info)");class $fe extends FL{constructor(){super(!0,!0,{id:"editor.action.marker.nextInFiles",label:m("markerAction.nextInFiles.label","Go to Next Problem in Files (Error, Warning, Info)"),alias:"Go to Next Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:E.focus,primary:66,weight:100},menuOpts:{menuId:k.MenubarGoMenu,title:m({key:"miGotoNextProblem",comment:["&& denotes a mnemonic"]},"Next &&Problem"),group:"6_problem_nav",order:1}})}}class jfe extends FL{constructor(){super(!1,!0,{id:"editor.action.marker.prevInFiles",label:m("markerAction.previousInFiles.label","Go to Previous Problem in Files (Error, Warning, Info)"),alias:"Go to Previous Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:E.focus,primary:1090,weight:100},menuOpts:{menuId:k.MenubarGoMenu,title:m({key:"miGotoPreviousProblem",comment:["&& denotes a mnemonic"]},"Previous &&Problem"),group:"6_problem_nav",order:2}})}}vt(hh.ID,hh,4);Q(Wc);Q(Au);Q($fe);Q(jfe);const CH=new de("markersNavigationVisible",!1),Kfe=un.bindToContribution(hh.get);le(new Kfe({id:"closeMarkersNavigation",precondition:CH,handler:o=>o.close(),kbOpts:{weight:150,kbExpr:E.focus,primary:9,secondary:[1033]}}));var qfe=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},ok=function(o,e){return function(t,i){e(t,i,o)}};const rr=J;class Gfe{constructor(e,t,i){this.owner=e,this.range=t,this.marker=i}isValidForHoverAnchor(e){return e.type===1&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}}const I3={type:1,filter:{include:Pe.QuickFix},triggerAction:to.QuickFixHover};let NT=class{constructor(e,t,i,n){this._editor=e,this._markerDecorationsService=t,this._openerService=i,this._languageFeaturesService=n,this.hoverOrdinal=1,this.recentMarkerCodeActionsInfo=void 0}computeSync(e,t){if(!this._editor.hasModel()||e.type!==1&&!e.supportsMarkerHover)return[];const i=this._editor.getModel(),n=e.range.startLineNumber,s=i.getLineMaxColumn(n),r=[];for(const a of t){const l=a.range.startLineNumber===n?a.range.startColumn:1,d=a.range.endLineNumber===n?a.range.endColumn:s,c=this._markerDecorationsService.getMarker(i.uri,a);if(!c)continue;const h=new D(e.range.startLineNumber,l,e.range.startLineNumber,d);r.push(new Gfe(this,h,c))}return r}renderHoverParts(e,t){if(!t.length)return V.None;const i=new X;t.forEach(s=>e.fragment.appendChild(this.renderMarkerHover(s,i)));const n=t.length===1?t[0]:t.sort((s,r)=>gi.compare(s.marker.severity,r.marker.severity))[0];return this.renderMarkerStatusbar(e,n,i),i}renderMarkerHover(e,t){const i=rr("div.hover-row"),n=Y(i,rr("div.marker.hover-contents")),{source:s,message:r,code:a,relatedInformation:l}=e.marker;this._editor.applyFontInfo(n);const d=Y(n,rr("span"));if(d.style.whiteSpace="pre-wrap",d.innerText=r,s||a)if(a&&typeof a!="string"){const c=rr("span");if(s){const f=Y(c,rr("span"));f.innerText=s}const h=Y(c,rr("a.code-link"));h.setAttribute("href",a.target.toString()),t.add($(h,"click",f=>{this._openerService.open(a.target,{allowCommands:!0}),f.preventDefault(),f.stopPropagation()}));const u=Y(h,rr("span"));u.innerText=a.value;const g=Y(n,c);g.style.opacity="0.6",g.style.paddingLeft="6px"}else{const c=Y(n,rr("span"));c.style.opacity="0.6",c.style.paddingLeft="6px",c.innerText=s&&a?`${s}(${a})`:s||`(${a})`}if(Bn(l))for(const{message:c,resource:h,startLineNumber:u,startColumn:g}of l){const f=Y(n,rr("div"));f.style.marginTop="8px";const p=Y(f,rr("a"));p.innerText=`${Zo(h)}(${u}, ${g}): `,p.style.cursor="pointer",t.add($(p,"click",v=>{v.stopPropagation(),v.preventDefault(),this._openerService&&this._openerService.open(h,{fromUserGesture:!0,editorOptions:{selection:{startLineNumber:u,startColumn:g}}}).catch(Ve)}));const _=Y(f,rr("span"));_.innerText=c,this._editor.applyFontInfo(_)}return i}renderMarkerStatusbar(e,t,i){if(t.marker.severity===gi.Error||t.marker.severity===gi.Warning||t.marker.severity===gi.Info){const n=hh.get(this._editor);n&&e.statusBar.addAction({label:m("view problem","View Problem"),commandId:Wc.ID,run:()=>{e.hide(),n.showAtMarker(t.marker),this._editor.focus()}})}if(!this._editor.getOption(91)){const n=e.statusBar.append(rr("div"));this.recentMarkerCodeActionsInfo&&(sS.makeKey(this.recentMarkerCodeActionsInfo.marker)===sS.makeKey(t.marker)?this.recentMarkerCodeActionsInfo.hasCodeActions||(n.textContent=m("noQuickFixes","No quick fixes available")):this.recentMarkerCodeActionsInfo=void 0);const s=this.recentMarkerCodeActionsInfo&&!this.recentMarkerCodeActionsInfo.hasCodeActions?V.None:Gc(()=>n.textContent=m("checkingForQuickFixes","Checking for quick fixes..."),200,i);n.textContent||(n.textContent=" ");const r=this.getCodeActions(t.marker);i.add(Le(()=>r.cancel())),r.then(a=>{if(s.dispose(),this.recentMarkerCodeActionsInfo={marker:t.marker,hasCodeActions:a.validActions.length>0},!this.recentMarkerCodeActionsInfo.hasCodeActions){a.dispose(),n.textContent=m("noQuickFixes","No quick fixes available");return}n.style.display="none";let l=!1;i.add(Le(()=>{l||a.dispose()})),e.statusBar.addAction({label:m("quick fixes","Quick Fix..."),commandId:IA,run:d=>{l=!0;const c=rh.get(this._editor),h=Mi(d);e.hide(),c==null||c.showCodeActions(I3,a,{x:h.left,y:h.top,width:h.width,height:h.height})}})},Ve)}}getCodeActions(e){return tn(t=>X_(this._languageFeaturesService.codeActionProvider,this._editor.getModel(),new D(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),I3,Cd.None,t))}};NT=qfe([ok(1,VR),ok(2,Hs),ok(3,fe)],NT);const wH="editor.action.inlineSuggest.commit",SH="editor.action.inlineSuggest.showPrevious",yH="editor.action.inlineSuggest.showNext";var BA=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Yr=function(o,e){return function(t,i){e(t,i,o)}},z1;let TT=class extends V{constructor(e,t,i){super(),this.editor=e,this.model=t,this.instantiationService=i,this.alwaysShowToolbar=Zt(this.editor.onDidChangeConfiguration,()=>this.editor.getOption(62).showToolbar==="always"),this.sessionPosition=void 0,this.position=Fe(this,n=>{var s,r,a;const l=(s=this.model.read(n))===null||s===void 0?void 0:s.primaryGhostText.read(n);if(!this.alwaysShowToolbar.read(n)||!l||l.parts.length===0)return this.sessionPosition=void 0,null;const d=l.parts[0].column;this.sessionPosition&&this.sessionPosition.lineNumber!==l.lineNumber&&(this.sessionPosition=void 0);const c=new F(l.lineNumber,Math.min(d,(a=(r=this.sessionPosition)===null||r===void 0?void 0:r.column)!==null&&a!==void 0?a:Number.MAX_SAFE_INTEGER));return this.sessionPosition=c,c}),this._register(Sa((n,s)=>{const r=this.model.read(n);if(!r||!this.alwaysShowToolbar.read(n))return;const a=s.add(this.instantiationService.createInstance(uh,this.editor,!0,this.position,r.selectedInlineCompletionIndex,r.inlineCompletionsCount,r.selectedInlineCompletion.map(l=>{var d;return(d=l==null?void 0:l.inlineCompletion.source.inlineCompletions.commands)!==null&&d!==void 0?d:[]})));e.addContentWidget(a),s.add(Le(()=>e.removeContentWidget(a))),s.add(nt(l=>{this.position.read(l)&&r.lastTriggerKind.read(l)!==_d.Explicit&&r.triggerExplicitly()}))}))}};TT=BA([Yr(2,Ie)],TT);const Zfe=Ii("inline-suggestion-hints-next",re.chevronRight,m("parameterHintsNextIcon","Icon for show next parameter hint.")),Yfe=Ii("inline-suggestion-hints-previous",re.chevronLeft,m("parameterHintsPreviousIcon","Icon for show previous parameter hint."));let uh=z1=class extends V{static get dropDownVisible(){return this._dropDownVisible}createCommandAction(e,t,i){const n=new Zs(e,t,i,!0,()=>this._commandService.executeCommand(e)),s=this.keybindingService.lookupKeybinding(e,this._contextKeyService);let r=t;return s&&(r=m({key:"content",comment:["A label","A keybinding"]},"{0} ({1})",t,s.getLabel())),n.tooltip=r,n}constructor(e,t,i,n,s,r,a,l,d,c,h){super(),this.editor=e,this.withBorder=t,this._position=i,this._currentSuggestionIdx=n,this._suggestionCount=s,this._extraCommands=r,this._commandService=a,this.keybindingService=d,this._contextKeyService=c,this._menuService=h,this.id=`InlineSuggestionHintsContentWidget${z1.id++}`,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this.nodes=Mt("div.inlineSuggestionsHints",{className:this.withBorder?".withBorder":""},[Mt("div@toolBar")]),this.previousAction=this.createCommandAction(SH,m("previous","Previous"),Ne.asClassName(Yfe)),this.availableSuggestionCountAction=new Zs("inlineSuggestionHints.availableSuggestionCount","",void 0,!1),this.nextAction=this.createCommandAction(yH,m("next","Next"),Ne.asClassName(Zfe)),this.inlineCompletionsActionsMenus=this._register(this._menuService.createMenu(k.InlineCompletionsActions,this._contextKeyService)),this.clearAvailableSuggestionCountLabelDebounced=this._register(new Rt(()=>{this.availableSuggestionCountAction.label=""},100)),this.disableButtonsDebounced=this._register(new Rt(()=>{this.previousAction.enabled=this.nextAction.enabled=!1},100)),this.lastCommands=[],this.toolBar=this._register(l.createInstance(MT,this.nodes.toolBar,k.InlineSuggestionToolbar,{menuOptions:{renderShortTitle:!0},toolbarOptions:{primaryGroup:u=>u.startsWith("primary")},actionViewItemProvider:(u,g)=>{if(u instanceof Lo)return l.createInstance(Qfe,u,void 0);if(u===this.availableSuggestionCountAction){const f=new Xfe(void 0,u,{label:!0,icon:!1});return f.setClass("availableSuggestionCount"),f}},telemetrySource:"InlineSuggestionToolbar"})),this.toolBar.setPrependedPrimaryActions([this.previousAction,this.availableSuggestionCountAction,this.nextAction]),this._register(this.toolBar.onDidChangeDropdownVisibility(u=>{z1._dropDownVisible=u})),this._register(nt(u=>{this._position.read(u),this.editor.layoutContentWidget(this)})),this._register(nt(u=>{const g=this._suggestionCount.read(u),f=this._currentSuggestionIdx.read(u);g!==void 0?(this.clearAvailableSuggestionCountLabelDebounced.cancel(),this.availableSuggestionCountAction.label=`${f+1}/${g}`):this.clearAvailableSuggestionCountLabelDebounced.schedule(),g!==void 0&&g>1?(this.disableButtonsDebounced.cancel(),this.previousAction.enabled=this.nextAction.enabled=!0):this.disableButtonsDebounced.schedule()})),this._register(nt(u=>{const g=this._extraCommands.read(u);if(ri(this.lastCommands,g))return;this.lastCommands=g;const f=g.map(p=>({class:void 0,id:p.id,enabled:!0,tooltip:p.tooltip||"",label:p.title,run:_=>this._commandService.executeCommand(p.id)}));for(const[p,_]of this.inlineCompletionsActionsMenus.getActions())for(const v of _)v instanceof Lo&&f.push(v);f.length>0&&f.unshift(new zi),this.toolBar.setAdditionalSecondaryActions(f)}))}getId(){return this.id}getDomNode(){return this.nodes.root}getPosition(){return{position:this._position.get(),preference:[1,2],positionAffinity:3}}};uh._dropDownVisible=!1;uh.id=0;uh=z1=BA([Yr(6,ai),Yr(7,Ie),Yr(8,Et),Yr(9,Ae),Yr(10,Xo)],uh);class Xfe extends Em{constructor(){super(...arguments),this._className=void 0}setClass(e){this._className=e}render(e){super.render(e),this._className&&e.classList.add(this._className)}updateTooltip(){}}let Qfe=class extends nh{updateLabel(){const e=this._keybindingService.lookupKeybinding(this._action.id,this._contextKeyService);if(!e)return super.updateLabel();if(this.label){const t=Mt("div.keybinding").root;new ap(t,qs,{disableTitle:!0,...t6}).set(e),this.label.textContent=this._action.label,this.label.appendChild(t),this.label.classList.add("inlineSuggestionStatusBarItemLabel")}}updateTooltip(){}},MT=class extends ub{constructor(e,t,i,n,s,r,a,l){super(e,{resetMenu:t,...i},n,s,r,a,l),this.menuId=t,this.options2=i,this.menuService=n,this.contextKeyService=s,this.menu=this._store.add(this.menuService.createMenu(this.menuId,this.contextKeyService,{emitEventsForSubmenuChanges:!0})),this.additionalActions=[],this.prependedPrimaryActions=[],this._store.add(this.menu.onDidChange(()=>this.updateToolbar())),this.updateToolbar()}updateToolbar(){var e,t,i,n,s,r,a;const l=[],d=[];Qy(this.menu,(e=this.options2)===null||e===void 0?void 0:e.menuOptions,{primary:l,secondary:d},(i=(t=this.options2)===null||t===void 0?void 0:t.toolbarOptions)===null||i===void 0?void 0:i.primaryGroup,(s=(n=this.options2)===null||n===void 0?void 0:n.toolbarOptions)===null||s===void 0?void 0:s.shouldInlineSubmenu,(a=(r=this.options2)===null||r===void 0?void 0:r.toolbarOptions)===null||a===void 0?void 0:a.useSeparatorsInPrimaryActions),d.push(...this.additionalActions),l.unshift(...this.prependedPrimaryActions),this.setActions(l,d)}setPrependedPrimaryActions(e){ri(this.prependedPrimaryActions,e,(t,i)=>t===i)||(this.prependedPrimaryActions=e,this.updateToolbar())}setAdditionalSecondaryActions(e){ri(this.additionalActions,e,(t,i)=>t===i)||(this.additionalActions=e,this.updateToolbar())}};MT=BA([Yr(3,Xo),Yr(4,Ae),Yr(5,so),Yr(6,Et),Yr(7,Jn)],MT);var Jfe=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},zC=function(o,e){return function(t,i){e(t,i,o)}},RT;const eme=!1;let Bs=RT=class extends V{constructor(e,t,i,n,s){super(),this._editor=e,this._instantiationService=t,this._openerService=i,this._languageService=n,this._keybindingService=s,this._listenersStore=new X,this._hoverState={mouseDown:!1,contentHoverFocused:!1,activatedByDecoratorClick:!1},this._reactToEditorMouseMoveRunner=this._register(new Rt(()=>this._reactToEditorMouseMove(this._mouseMoveEvent),0)),this._hookListeners(),this._register(this._editor.onDidChangeConfiguration(r=>{r.hasChanged(60)&&(this._unhookListeners(),this._hookListeners())}))}static get(e){return e.getContribution(RT.ID)}_hookListeners(){const e=this._editor.getOption(60);this._hoverSettings={enabled:e.enabled,sticky:e.sticky,hidingDelay:e.delay},e.enabled?(this._listenersStore.add(this._editor.onMouseDown(t=>this._onEditorMouseDown(t))),this._listenersStore.add(this._editor.onMouseUp(()=>this._onEditorMouseUp())),this._listenersStore.add(this._editor.onMouseMove(t=>this._onEditorMouseMove(t))),this._listenersStore.add(this._editor.onKeyDown(t=>this._onKeyDown(t)))):(this._listenersStore.add(this._editor.onMouseMove(t=>this._onEditorMouseMove(t))),this._listenersStore.add(this._editor.onKeyDown(t=>this._onKeyDown(t)))),this._listenersStore.add(this._editor.onMouseLeave(t=>this._onEditorMouseLeave(t))),this._listenersStore.add(this._editor.onDidChangeModel(()=>{this._cancelScheduler(),this._hideWidgets()})),this._listenersStore.add(this._editor.onDidChangeModelContent(()=>this._cancelScheduler())),this._listenersStore.add(this._editor.onDidScrollChange(t=>this._onEditorScrollChanged(t)))}_unhookListeners(){this._listenersStore.clear()}_cancelScheduler(){this._mouseMoveEvent=void 0,this._reactToEditorMouseMoveRunner.cancel()}_onEditorScrollChanged(e){(e.scrollTopChanged||e.scrollLeftChanged)&&this._hideWidgets()}_onEditorMouseDown(e){var t;this._hoverState.mouseDown=!0;const i=e.target;if(i.type===9&&i.detail===Bc.ID){this._hoverState.contentHoverFocused=!0;return}i.type===12&&i.detail===tm.ID||(i.type!==12&&(this._hoverState.contentHoverFocused=!1),!(!((t=this._contentWidget)===null||t===void 0)&&t.widget.isResizing)&&this._hideWidgets())}_onEditorMouseUp(){this._hoverState.mouseDown=!1}_onEditorMouseLeave(e){var t,i;this._cancelScheduler();const n=e.event.browserEvent.relatedTarget;!((t=this._contentWidget)===null||t===void 0)&&t.widget.isResizing||!((i=this._contentWidget)===null||i===void 0)&&i.containsNode(n)||this._hideWidgets()}_isMouseOverWidget(e){var t,i,n,s,r;const a=e.target,l=this._hoverSettings.sticky;return!!(l&&a.type===9&&a.detail===Bc.ID||l&&(!((t=this._contentWidget)===null||t===void 0)&&t.containsNode((i=e.event.browserEvent.view)===null||i===void 0?void 0:i.document.activeElement))&&!(!((s=(n=e.event.browserEvent.view)===null||n===void 0?void 0:n.getSelection())===null||s===void 0)&&s.isCollapsed)||!l&&a.type===9&&a.detail===Bc.ID&&(!((r=this._contentWidget)===null||r===void 0)&&r.isColorPickerVisible)||l&&a.type===12&&a.detail===tm.ID)}_onEditorMouseMove(e){var t,i,n,s;if(this._mouseMoveEvent=e,!((t=this._contentWidget)===null||t===void 0)&&t.isFocused||!((i=this._contentWidget)===null||i===void 0)&&i.isResizing||this._hoverState.mouseDown&&this._hoverState.contentHoverFocused)return;const r=this._hoverSettings.sticky;if(r&&(!((n=this._contentWidget)===null||n===void 0)&&n.isVisibleFromKeyboard))return;if(this._isMouseOverWidget(e)){this._reactToEditorMouseMoveRunner.cancel();return}const l=this._hoverSettings.hidingDelay;if(!((s=this._contentWidget)===null||s===void 0)&&s.isVisible&&r&&l>0){this._reactToEditorMouseMoveRunner.isScheduled()||this._reactToEditorMouseMoveRunner.schedule(l);return}this._reactToEditorMouseMove(e)}_reactToEditorMouseMove(e){var t,i,n,s;if(!e)return;const r=e.target,a=(t=r.element)===null||t===void 0?void 0:t.classList.contains("colorpicker-color-decoration"),l=this._editor.getOption(147),d=this._hoverSettings.enabled,c=this._hoverState.activatedByDecoratorClick;if(a&&(l==="click"&&!c||l==="hover"&&!d&&!eme||l==="clickAndHover"&&!d&&!c)||!a&&!d&&!c){this._hideWidgets();return}if(this._getOrCreateContentWidget().showsOrWillShow(e)){(i=this._glyphWidget)===null||i===void 0||i.hide();return}if(r.type===2&&r.position&&r.detail.glyphMarginLane){(n=this._contentWidget)===null||n===void 0||n.hide(),this._getOrCreateGlyphWidget().startShowingAt(r.position.lineNumber,r.detail.glyphMarginLane);return}if(r.type===3&&r.position){(s=this._contentWidget)===null||s===void 0||s.hide(),this._getOrCreateGlyphWidget().startShowingAt(r.position.lineNumber,"lineNo");return}this._hideWidgets()}_onKeyDown(e){var t;if(!this._editor.hasModel())return;const i=this._keybindingService.softDispatch(e,this._editor.getDomNode()),n=i.kind===1||i.kind===2&&i.commandId==="editor.action.showHover"&&((t=this._contentWidget)===null||t===void 0?void 0:t.isVisible);e.keyCode===5||e.keyCode===6||e.keyCode===57||e.keyCode===4||n||this._hideWidgets()}_hideWidgets(){var e,t,i;this._hoverState.mouseDown&&this._hoverState.contentHoverFocused&&(!((e=this._contentWidget)===null||e===void 0)&&e.isColorPickerVisible)||uh.dropDownVisible||(this._hoverState.activatedByDecoratorClick=!1,this._hoverState.contentHoverFocused=!1,(t=this._glyphWidget)===null||t===void 0||t.hide(),(i=this._contentWidget)===null||i===void 0||i.hide())}_getOrCreateContentWidget(){return this._contentWidget||(this._contentWidget=this._instantiationService.createInstance(RS,this._editor)),this._contentWidget}_getOrCreateGlyphWidget(){return this._glyphWidget||(this._glyphWidget=new tm(this._editor,this._languageService,this._openerService)),this._glyphWidget}showContentHover(e,t,i,n,s=!1){this._hoverState.activatedByDecoratorClick=s,this._getOrCreateContentWidget().startShowingAtRange(e,t,i,n)}focus(){var e;(e=this._contentWidget)===null||e===void 0||e.focus()}scrollUp(){var e;(e=this._contentWidget)===null||e===void 0||e.scrollUp()}scrollDown(){var e;(e=this._contentWidget)===null||e===void 0||e.scrollDown()}scrollLeft(){var e;(e=this._contentWidget)===null||e===void 0||e.scrollLeft()}scrollRight(){var e;(e=this._contentWidget)===null||e===void 0||e.scrollRight()}pageUp(){var e;(e=this._contentWidget)===null||e===void 0||e.pageUp()}pageDown(){var e;(e=this._contentWidget)===null||e===void 0||e.pageDown()}goToTop(){var e;(e=this._contentWidget)===null||e===void 0||e.goToTop()}goToBottom(){var e;(e=this._contentWidget)===null||e===void 0||e.goToBottom()}get isColorPickerVisible(){var e;return(e=this._contentWidget)===null||e===void 0?void 0:e.isColorPickerVisible}get isHoverVisible(){var e;return(e=this._contentWidget)===null||e===void 0?void 0:e.isVisible}dispose(){var e,t;super.dispose(),this._unhookListeners(),this._listenersStore.dispose(),(e=this._glyphWidget)===null||e===void 0||e.dispose(),(t=this._contentWidget)===null||t===void 0||t.dispose()}};Bs.ID="editor.contrib.hover";Bs=RT=Jfe([zC(1,Ie),zC(2,Hs),zC(3,Qt),zC(4,Et)],Bs);var Fr;(function(o){o.NoAutoFocus="noAutoFocus",o.FocusIfVisible="focusIfVisible",o.AutoFocusImmediately="autoFocusImmediately"})(Fr||(Fr={}));class tme extends he{constructor(){super({id:"editor.action.showHover",label:m({key:"showOrFocusHover",comment:["Label for action that will trigger the showing/focusing of a hover in the editor.","If the hover is not visible, it will show the hover.","This allows for users to show the hover without using the mouse."]},"Show or Focus Hover"),metadata:{description:"Show or Focus Hover",args:[{name:"args",schema:{type:"object",properties:{focus:{description:"Controls if and when the hover should take focus upon being triggered by this action.",enum:[Fr.NoAutoFocus,Fr.FocusIfVisible,Fr.AutoFocusImmediately],enumDescriptions:[m("showOrFocusHover.focus.noAutoFocus","The hover will not automatically take focus."),m("showOrFocusHover.focus.focusIfVisible","The hover will take focus only if it is already visible."),m("showOrFocusHover.focus.autoFocusImmediately","The hover will automatically take focus when it appears.")],default:Fr.FocusIfVisible}}}}]},alias:"Show or Focus Hover",precondition:void 0,kbOpts:{kbExpr:E.editorTextFocus,primary:Ui(2089,2087),weight:100}})}run(e,t,i){if(!t.hasModel())return;const n=Bs.get(t);if(!n)return;const s=i==null?void 0:i.focus;let r=Fr.FocusIfVisible;Object.values(Fr).includes(s)?r=s:typeof s=="boolean"&&s&&(r=Fr.AutoFocusImmediately);const a=d=>{const c=t.getPosition(),h=new D(c.lineNumber,c.column,c.lineNumber,c.column);n.showContentHover(h,1,1,d)},l=t.getOption(2)===2;n.isHoverVisible?r!==Fr.NoAutoFocus?n.focus():a(l):a(l||r===Fr.AutoFocusImmediately)}}class ime extends he{constructor(){super({id:"editor.action.showDefinitionPreviewHover",label:m({key:"showDefinitionPreviewHover",comment:["Label for action that will trigger the showing of definition preview hover in the editor.","This allows for users to show the definition preview hover without using the mouse."]},"Show Definition Preview Hover"),alias:"Show Definition Preview Hover",precondition:void 0})}run(e,t){const i=Bs.get(t);if(!i)return;const n=t.getPosition();if(!n)return;const s=new D(n.lineNumber,n.column,n.lineNumber,n.column),r=sg.get(t);if(!r)return;r.startFindDefinitionFromCursor(n).then(()=>{i.showContentHover(s,1,1,!0)})}}class nme extends he{constructor(){super({id:"editor.action.scrollUpHover",label:m({key:"scrollUpHover",comment:["Action that allows to scroll up in the hover widget with the up arrow when the hover widget is focused."]},"Scroll Up Hover"),alias:"Scroll Up Hover",precondition:E.hoverFocused,kbOpts:{kbExpr:E.hoverFocused,primary:16,weight:100}})}run(e,t){const i=Bs.get(t);i&&i.scrollUp()}}class sme extends he{constructor(){super({id:"editor.action.scrollDownHover",label:m({key:"scrollDownHover",comment:["Action that allows to scroll down in the hover widget with the up arrow when the hover widget is focused."]},"Scroll Down Hover"),alias:"Scroll Down Hover",precondition:E.hoverFocused,kbOpts:{kbExpr:E.hoverFocused,primary:18,weight:100}})}run(e,t){const i=Bs.get(t);i&&i.scrollDown()}}class ome extends he{constructor(){super({id:"editor.action.scrollLeftHover",label:m({key:"scrollLeftHover",comment:["Action that allows to scroll left in the hover widget with the left arrow when the hover widget is focused."]},"Scroll Left Hover"),alias:"Scroll Left Hover",precondition:E.hoverFocused,kbOpts:{kbExpr:E.hoverFocused,primary:15,weight:100}})}run(e,t){const i=Bs.get(t);i&&i.scrollLeft()}}class rme extends he{constructor(){super({id:"editor.action.scrollRightHover",label:m({key:"scrollRightHover",comment:["Action that allows to scroll right in the hover widget with the right arrow when the hover widget is focused."]},"Scroll Right Hover"),alias:"Scroll Right Hover",precondition:E.hoverFocused,kbOpts:{kbExpr:E.hoverFocused,primary:17,weight:100}})}run(e,t){const i=Bs.get(t);i&&i.scrollRight()}}class ame extends he{constructor(){super({id:"editor.action.pageUpHover",label:m({key:"pageUpHover",comment:["Action that allows to page up in the hover widget with the page up command when the hover widget is focused."]},"Page Up Hover"),alias:"Page Up Hover",precondition:E.hoverFocused,kbOpts:{kbExpr:E.hoverFocused,primary:11,secondary:[528],weight:100}})}run(e,t){const i=Bs.get(t);i&&i.pageUp()}}class lme extends he{constructor(){super({id:"editor.action.pageDownHover",label:m({key:"pageDownHover",comment:["Action that allows to page down in the hover widget with the page down command when the hover widget is focused."]},"Page Down Hover"),alias:"Page Down Hover",precondition:E.hoverFocused,kbOpts:{kbExpr:E.hoverFocused,primary:12,secondary:[530],weight:100}})}run(e,t){const i=Bs.get(t);i&&i.pageDown()}}class dme extends he{constructor(){super({id:"editor.action.goToTopHover",label:m({key:"goToTopHover",comment:["Action that allows to go to the top of the hover widget with the home command when the hover widget is focused."]},"Go To Top Hover"),alias:"Go To Bottom Hover",precondition:E.hoverFocused,kbOpts:{kbExpr:E.hoverFocused,primary:14,secondary:[2064],weight:100}})}run(e,t){const i=Bs.get(t);i&&i.goToTop()}}class cme extends he{constructor(){super({id:"editor.action.goToBottomHover",label:m({key:"goToBottomHover",comment:["Action that allows to go to the bottom in the hover widget with the end command when the hover widget is focused."]},"Go To Bottom Hover"),alias:"Go To Bottom Hover",precondition:E.hoverFocused,kbOpts:{kbExpr:E.hoverFocused,primary:13,secondary:[2066],weight:100}})}run(e,t){const i=Bs.get(t);i&&i.goToBottom()}}vt(Bs.ID,Bs,2);Q(tme);Q(ime);Q(nme);Q(sme);Q(ome);Q(rme);Q(ame);Q(lme);Q(dme);Q(cme);Nh.register(OS);Nh.register(NT);Qo((o,e)=>{const t=o.getColor(WB);t&&(e.addRule(`.monaco-editor .monaco-hover .hover-row:not(:first-child):not(:empty) { border-top: 1px solid ${t.transparent(.5)}; }`),e.addRule(`.monaco-editor .monaco-hover hr { border-top: 1px solid ${t.transparent(.5)}; }`),e.addRule(`.monaco-editor .monaco-hover hr { border-bottom: 0px solid ${t.transparent(.5)}; }`))});class AT extends V{constructor(e){super(),this._editor=e,this._register(e.onMouseDown(t=>this.onMouseDown(t)))}dispose(){super.dispose()}onMouseDown(e){const t=this._editor.getOption(147);if(t!=="click"&&t!=="clickAndHover")return;const i=e.target;if(i.type!==6||!i.detail.injectedText||i.detail.injectedText.options.attachedData!==ZV||!i.range)return;const n=this._editor.getContribution(Bs.ID);if(n&&!n.isColorPickerVisible){const s=new D(i.range.startLineNumber,i.range.startColumn+1,i.range.endLineNumber,i.range.endColumn+1);n.showContentHover(s,1,0,!1,!0)}}}AT.ID="editor.contrib.colorContribution";vt(AT.ID,AT,2);Nh.register(TS);var LH=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Kr=function(o,e){return function(t,i){e(t,i,o)}},PT,OT;let gh=PT=class extends V{constructor(e,t,i,n,s,r,a){super(),this._editor=e,this._modelService=i,this._keybindingService=n,this._instantiationService=s,this._languageFeatureService=r,this._languageConfigurationService=a,this._standaloneColorPickerWidget=null,this._standaloneColorPickerVisible=E.standaloneColorPickerVisible.bindTo(t),this._standaloneColorPickerFocused=E.standaloneColorPickerFocused.bindTo(t)}showOrFocus(){var e;this._editor.hasModel()&&(this._standaloneColorPickerVisible.get()?this._standaloneColorPickerFocused.get()||(e=this._standaloneColorPickerWidget)===null||e===void 0||e.focus():this._standaloneColorPickerWidget=new BS(this._editor,this._standaloneColorPickerVisible,this._standaloneColorPickerFocused,this._instantiationService,this._modelService,this._keybindingService,this._languageFeatureService,this._languageConfigurationService))}hide(){var e;this._standaloneColorPickerFocused.set(!1),this._standaloneColorPickerVisible.set(!1),(e=this._standaloneColorPickerWidget)===null||e===void 0||e.hide(),this._editor.focus()}insertColor(){var e;(e=this._standaloneColorPickerWidget)===null||e===void 0||e.updateEditor(),this.hide()}static get(e){return e.getContribution(PT.ID)}};gh.ID="editor.contrib.standaloneColorPickerController";gh=PT=LH([Kr(1,Ae),Kr(2,si),Kr(3,Et),Kr(4,Ie),Kr(5,fe),Kr(6,Vt)],gh);vt(gh.ID,gh,1);const E3=8,hme=22;let BS=OT=class extends V{constructor(e,t,i,n,s,r,a,l){var d;super(),this._editor=e,this._standaloneColorPickerVisible=t,this._standaloneColorPickerFocused=i,this._modelService=s,this._keybindingService=r,this._languageFeaturesService=a,this._languageConfigurationService=l,this.allowEditorOverflow=!0,this._position=void 0,this._body=document.createElement("div"),this._colorHover=null,this._selectionSetInEditor=!1,this._onResult=this._register(new O),this.onResult=this._onResult.event,this._standaloneColorPickerVisible.set(!0),this._standaloneColorPickerParticipant=n.createInstance(_b,this._editor),this._position=(d=this._editor._getViewModel())===null||d===void 0?void 0:d.getPrimaryCursorState().modelState.position;const c=this._editor.getSelection(),h=c?{startLineNumber:c.startLineNumber,startColumn:c.startColumn,endLineNumber:c.endLineNumber,endColumn:c.endColumn}:{startLineNumber:0,endLineNumber:0,endColumn:0,startColumn:0},u=this._register(la(this._body));this._register(u.onDidBlur(g=>{this.hide()})),this._register(u.onDidFocus(g=>{this.focus()})),this._register(this._editor.onDidChangeCursorPosition(()=>{this._selectionSetInEditor?this._selectionSetInEditor=!1:this.hide()})),this._register(this._editor.onMouseMove(g=>{var f;const p=(f=g.target.element)===null||f===void 0?void 0:f.classList;p&&p.contains("colorpicker-color-decoration")&&this.hide()})),this._register(this.onResult(g=>{this._render(g.value,g.foundInEditor)})),this._start(h),this._body.style.zIndex="50",this._editor.addContentWidget(this)}updateEditor(){this._colorHover&&this._standaloneColorPickerParticipant.updateEditorModel(this._colorHover)}getId(){return OT.ID}getDomNode(){return this._body}getPosition(){if(!this._position)return null;const e=this._editor.getOption(60).above;return{position:this._position,secondaryPosition:this._position,preference:e?[1,2]:[2,1],positionAffinity:2}}hide(){this.dispose(),this._standaloneColorPickerVisible.set(!1),this._standaloneColorPickerFocused.set(!1),this._editor.removeContentWidget(this),this._editor.focus()}focus(){this._standaloneColorPickerFocused.set(!0),this._body.focus()}async _start(e){const t=await this._computeAsync(e);t&&this._onResult.fire(new ume(t.result,t.foundInEditor))}async _computeAsync(e){if(!this._editor.hasModel())return null;const t={range:e,color:{red:0,green:0,blue:0,alpha:1}},i=await this._standaloneColorPickerParticipant.createColorHover(t,new MA(this._modelService,this._languageConfigurationService),this._languageFeaturesService.colorProvider);return i?{result:i.colorHover,foundInEditor:i.foundInEditor}:null}_render(e,t){const i=document.createDocumentFragment(),n=this._register(new AS(this._keybindingService));let s;const r={fragment:i,statusBar:n,setColorPicker:p=>s=p,onContentsChanged:()=>{},hide:()=>this.hide()};if(this._colorHover=e,this._register(this._standaloneColorPickerParticipant.renderHoverParts(r,[e])),s===void 0)return;this._body.classList.add("standalone-colorpicker-body"),this._body.style.maxHeight=Math.max(this._editor.getLayoutInfo().height/4,250)+"px",this._body.style.maxWidth=Math.max(this._editor.getLayoutInfo().width*.66,500)+"px",this._body.tabIndex=0,this._body.appendChild(i),s.layout();const a=s.body,l=a.saturationBox.domNode.clientWidth,d=a.domNode.clientWidth-l-hme-E3,c=s.body.enterButton;c==null||c.onClicked(()=>{this.updateEditor(),this.hide()});const h=s.header,u=h.pickedColorNode;u.style.width=l+E3+"px";const g=h.originalColorNode;g.style.width=d+"px";const f=s.header.closeButton;f==null||f.onClicked(()=>{this.hide()}),t&&(c&&(c.button.textContent="Replace"),this._selectionSetInEditor=!0,this._editor.setSelection(e.range)),this._editor.layoutContentWidget(this)}};BS.ID="editor.contrib.standaloneColorPickerWidget";BS=OT=LH([Kr(3,Ie),Kr(4,si),Kr(5,Et),Kr(6,fe),Kr(7,Vt)],BS);class ume{constructor(e,t){this.value=e,this.foundInEditor=t}}class gme extends va{constructor(){super({id:"editor.action.showOrFocusStandaloneColorPicker",title:{...mt("showOrFocusStandaloneColorPicker","Show or Focus Standalone Color Picker"),mnemonicTitle:m({key:"mishowOrFocusStandaloneColorPicker",comment:["&& denotes a mnemonic"]},"&&Show or Focus Standalone Color Picker")},precondition:void 0,menu:[{id:k.CommandPalette}]})}runEditorCommand(e,t){var i;(i=gh.get(t))===null||i===void 0||i.showOrFocus()}}class fme extends he{constructor(){super({id:"editor.action.hideColorPicker",label:m({key:"hideColorPicker",comment:["Action that hides the color picker"]},"Hide the Color Picker"),alias:"Hide the Color Picker",precondition:E.standaloneColorPickerVisible.isEqualTo(!0),kbOpts:{primary:9,weight:100}})}run(e,t){var i;(i=gh.get(t))===null||i===void 0||i.hide()}}class mme extends he{constructor(){super({id:"editor.action.insertColorWithStandaloneColorPicker",label:m({key:"insertColorWithStandaloneColorPicker",comment:["Action that inserts color with standalone color picker"]},"Insert Color with Standalone Color Picker"),alias:"Insert Color with Standalone Color Picker",precondition:E.standaloneColorPickerFocused.isEqualTo(!0),kbOpts:{primary:3,weight:100}})}run(e,t){var i;(i=gh.get(t))===null||i===void 0||i.insertColor()}}Q(fme);Q(mme);Wt(gme);class yc{constructor(e,t,i){this.languageConfigurationService=i,this._selection=e,this._insertSpace=t,this._usedEndToken=null}static _haystackHasNeedleAtOffset(e,t,i){if(i<0)return!1;const n=t.length,s=e.length;if(i+n>s)return!1;for(let r=0;r=65&&a<=90&&a+32===l)&&!(l>=65&&l<=90&&l+32===a))return!1}return!0}_createOperationsForBlockComment(e,t,i,n,s,r){const a=e.startLineNumber,l=e.startColumn,d=e.endLineNumber,c=e.endColumn,h=s.getLineContent(a),u=s.getLineContent(d);let g=h.lastIndexOf(t,l-1+t.length),f=u.indexOf(i,c-1-i.length);if(g!==-1&&f!==-1)if(a===d)h.substring(g+t.length,f).indexOf(i)>=0&&(g=-1,f=-1);else{const _=h.substring(g+t.length),v=u.substring(0,f);(_.indexOf(i)>=0||v.indexOf(i)>=0)&&(g=-1,f=-1)}let p;g!==-1&&f!==-1?(n&&g+t.length0&&u.charCodeAt(f-1)===32&&(i=" "+i,f-=1),p=yc._createRemoveBlockCommentOperations(new D(a,g+t.length+1,d,f+1),t,i)):(p=yc._createAddBlockCommentOperations(e,t,i,this._insertSpace),this._usedEndToken=p.length===1?i:null);for(const _ of p)r.addTrackedEditOperation(_.range,_.text)}static _createRemoveBlockCommentOperations(e,t,i){const n=[];return D.isEmpty(e)?n.push(ti.delete(new D(e.startLineNumber,e.startColumn-t.length,e.endLineNumber,e.endColumn+i.length))):(n.push(ti.delete(new D(e.startLineNumber,e.startColumn-t.length,e.startLineNumber,e.startColumn))),n.push(ti.delete(new D(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn+i.length)))),n}static _createAddBlockCommentOperations(e,t,i,n){const s=[];return D.isEmpty(e)?s.push(ti.replace(new D(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),t+" "+i)):(s.push(ti.insert(new F(e.startLineNumber,e.startColumn),t+(n?" ":""))),s.push(ti.insert(new F(e.endLineNumber,e.endColumn),(n?" ":"")+i))),s}getEditOperations(e,t){const i=this._selection.startLineNumber,n=this._selection.startColumn;e.tokenization.tokenizeIfCheap(i);const s=e.getLanguageIdAtPosition(i,n),r=this.languageConfigurationService.getLanguageConfiguration(s).comments;!r||!r.blockCommentStartToken||!r.blockCommentEndToken||this._createOperationsForBlockComment(this._selection,r.blockCommentStartToken,r.blockCommentEndToken,this._insertSpace,e,t)}computeCursorState(e,t){const i=t.getInverseEditOperations();if(i.length===2){const n=i[0],s=i[1];return new _e(n.range.endLineNumber,n.range.endColumn,s.range.startLineNumber,s.range.startColumn)}else{const n=i[0].range,s=this._usedEndToken?-this._usedEndToken.length-1:0;return new _e(n.endLineNumber,n.endColumn+s,n.endLineNumber,n.endColumn+s)}}}class Hl{constructor(e,t,i,n,s,r,a){this.languageConfigurationService=e,this._selection=t,this._tabSize=i,this._type=n,this._insertSpace=s,this._selectionId=null,this._deltaColumn=0,this._moveEndPositionDown=!1,this._ignoreEmptyLines=r,this._ignoreFirstLine=a||!1}static _gatherPreflightCommentStrings(e,t,i,n){e.tokenization.tokenizeIfCheap(t);const s=e.getLanguageIdAtPosition(t,1),r=n.getLanguageConfiguration(s).comments,a=r?r.lineCommentToken:null;if(!a)return null;const l=[];for(let d=0,c=i-t+1;ds?t[l].commentStrOffset=r-1:t[l].commentStrOffset=r}}}class WA extends he{constructor(e,t){super(t),this._type=e}run(e,t){const i=e.get(Vt);if(!t.hasModel())return;const n=t.getModel(),s=[],r=n.getOptions(),a=t.getOption(23),l=t.getSelections().map((c,h)=>({selection:c,index:h,ignoreFirstLine:!1}));l.sort((c,h)=>D.compareRangesUsingStarts(c.selection,h.selection));let d=l[0];for(let c=1;c=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},Gh=function(o,e){return function(t,i){e(t,i,o)}},FT;let Vm=FT=class{static get(e){return e.getContribution(FT.ID)}constructor(e,t,i,n,s,r,a,l){this._contextMenuService=t,this._contextViewService=i,this._contextKeyService=n,this._keybindingService=s,this._menuService=r,this._configurationService=a,this._workspaceContextService=l,this._toDispose=new X,this._contextMenuIsBeingShownCount=0,this._editor=e,this._toDispose.add(this._editor.onContextMenu(d=>this._onContextMenu(d))),this._toDispose.add(this._editor.onMouseWheel(d=>{if(this._contextMenuIsBeingShownCount>0){const c=this._contextViewService.getContextViewElement(),h=d.srcElement;h.shadowRoot&&zu(c)===h.shadowRoot||this._contextViewService.hideContextView()}})),this._toDispose.add(this._editor.onKeyDown(d=>{this._editor.getOption(24)&&d.keyCode===58&&(d.preventDefault(),d.stopPropagation(),this.showContextMenu())}))}_onContextMenu(e){if(!this._editor.hasModel())return;if(!this._editor.getOption(24)){this._editor.focus(),e.target.position&&!this._editor.getSelection().containsPosition(e.target.position)&&this._editor.setPosition(e.target.position);return}if(e.target.type===12||e.target.type===6&&e.target.detail.injectedText)return;if(e.event.preventDefault(),e.event.stopPropagation(),e.target.type===11)return this._showScrollbarContextMenu(e.event);if(e.target.type!==6&&e.target.type!==7&&e.target.type!==1)return;if(this._editor.focus(),e.target.position){let i=!1;for(const n of this._editor.getSelections())if(n.containsPosition(e.target.position)){i=!0;break}i||this._editor.setPosition(e.target.position)}let t=null;e.target.type!==1&&(t=e.event),this.showContextMenu(t)}showContextMenu(e){if(!this._editor.getOption(24)||!this._editor.hasModel())return;const t=this._getMenuActions(this._editor.getModel(),this._editor.isSimpleWidget?k.SimpleEditorContext:k.EditorContext);t.length>0&&this._doShowContextMenu(t,e)}_getMenuActions(e,t){const i=[],n=this._menuService.createMenu(t,this._contextKeyService),s=n.getActions({arg:e.uri});n.dispose();for(const r of s){const[,a]=r;let l=0;for(const d of a)if(d instanceof _v){const c=this._getMenuActions(e,d.item.submenu);c.length>0&&(i.push(new dm(d.id,d.label,c)),l++)}else i.push(d),l++;l&&i.push(new zi)}return i.length&&i.pop(),i}_doShowContextMenu(e,t=null){if(!this._editor.hasModel())return;const i=this._editor.getOption(60);this._editor.updateOptions({hover:{enabled:!1}});let n=t;if(!n){this._editor.revealPosition(this._editor.getPosition(),1),this._editor.render();const r=this._editor.getScrolledVisiblePosition(this._editor.getPosition()),a=Mi(this._editor.getDomNode()),l=a.left+r.left,d=a.top+r.top+r.height;n={x:l,y:d}}const s=this._editor.getOption(127)&&!ra;this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({domForShadowRoot:s?this._editor.getDomNode():void 0,getAnchor:()=>n,getActions:()=>e,getActionViewItem:r=>{const a=this._keybindingFor(r);if(a)return new Em(r,r,{label:!0,keybinding:a.getLabel(),isMenu:!0});const l=r;return typeof l.getActionViewItem=="function"?l.getActionViewItem():new Em(r,r,{icon:!0,label:!0,isMenu:!0})},getKeyBinding:r=>this._keybindingFor(r),onHide:r=>{this._contextMenuIsBeingShownCount--,this._editor.updateOptions({hover:i})}})}_showScrollbarContextMenu(e){if(!this._editor.hasModel()||Qse(this._workspaceContextService.getWorkspace()))return;const t=this._editor.getOption(73);let i=0;const n=d=>({id:`menu-action-${++i}`,label:d.label,tooltip:"",class:void 0,enabled:typeof d.enabled>"u"?!0:d.enabled,checked:d.checked,run:d.run}),s=(d,c)=>new dm(`menu-action-${++i}`,d,c,void 0),r=(d,c,h,u,g)=>{if(!c)return n({label:d,enabled:c,run:()=>{}});const f=_=>()=>{this._configurationService.updateValue(h,_)},p=[];for(const _ of g)p.push(n({label:_.label,checked:u===_.value,run:f(_.value)}));return s(d,p)},a=[];a.push(n({label:m("context.minimap.minimap","Minimap"),checked:t.enabled,run:()=>{this._configurationService.updateValue("editor.minimap.enabled",!t.enabled)}})),a.push(new zi),a.push(n({label:m("context.minimap.renderCharacters","Render Characters"),enabled:t.enabled,checked:t.renderCharacters,run:()=>{this._configurationService.updateValue("editor.minimap.renderCharacters",!t.renderCharacters)}})),a.push(r(m("context.minimap.size","Vertical size"),t.enabled,"editor.minimap.size",t.size,[{label:m("context.minimap.size.proportional","Proportional"),value:"proportional"},{label:m("context.minimap.size.fill","Fill"),value:"fill"},{label:m("context.minimap.size.fit","Fit"),value:"fit"}])),a.push(r(m("context.minimap.slider","Slider"),t.enabled,"editor.minimap.showSlider",t.showSlider,[{label:m("context.minimap.slider.mouseover","Mouse Over"),value:"mouseover"},{label:m("context.minimap.slider.always","Always"),value:"always"}]));const l=this._editor.getOption(127)&&!ra;this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({domForShadowRoot:l?this._editor.getDomNode():void 0,getAnchor:()=>e,getActions:()=>a,onHide:d=>{this._contextMenuIsBeingShownCount--,this._editor.focus()}})}_keybindingFor(e){return this._keybindingService.lookupKeybinding(e.id)}dispose(){this._contextMenuIsBeingShownCount>0&&this._contextViewService.hideContextView(),this._toDispose.dispose()}};Vm.ID="editor.contrib.contextmenu";Vm=FT=Cme([Gh(1,so),Gh(2,kl),Gh(3,Ae),Gh(4,Et),Gh(5,Xo),Gh(6,Qe),Gh(7,qu)],Vm);class wme extends he{constructor(){super({id:"editor.action.showContextMenu",label:m("action.showContextMenu.label","Show Editor Context Menu"),alias:"Show Editor Context Menu",precondition:void 0,kbOpts:{kbExpr:E.textInputFocus,primary:1092,weight:100}})}run(e,t){var i;(i=Vm.get(t))===null||i===void 0||i.showContextMenu()}}vt(Vm.ID,Vm,2);Q(wme);class rk{constructor(e){this.selections=e}equals(e){const t=this.selections.length,i=e.selections.length;if(t!==i)return!1;for(let n=0;n{this._undoStack=[],this._redoStack=[]})),this._register(e.onDidChangeModelContent(t=>{this._undoStack=[],this._redoStack=[]})),this._register(e.onDidChangeCursorSelection(t=>{if(this._isCursorUndoRedo||!t.oldSelections||t.oldModelVersionId!==t.modelVersionId)return;const i=new rk(t.oldSelections);this._undoStack.length>0&&this._undoStack[this._undoStack.length-1].cursorState.equals(i)||(this._undoStack.push(new ak(i,e.getScrollTop(),e.getScrollLeft())),this._redoStack=[],this._undoStack.length>50&&this._undoStack.shift())}))}cursorUndo(){!this._editor.hasModel()||this._undoStack.length===0||(this._redoStack.push(new ak(new rk(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._undoStack.pop()))}cursorRedo(){!this._editor.hasModel()||this._redoStack.length===0||(this._undoStack.push(new ak(new rk(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._redoStack.pop()))}_applyState(e){this._isCursorUndoRedo=!0,this._editor.setSelections(e.cursorState.selections),this._editor.setScrollPosition({scrollTop:e.scrollTop,scrollLeft:e.scrollLeft}),this._isCursorUndoRedo=!1}}og.ID="editor.contrib.cursorUndoRedoController";class Sme extends he{constructor(){super({id:"cursorUndo",label:m("cursor.undo","Cursor Undo"),alias:"Cursor Undo",precondition:void 0,kbOpts:{kbExpr:E.textInputFocus,primary:2099,weight:100}})}run(e,t,i){var n;(n=og.get(t))===null||n===void 0||n.cursorUndo()}}class yme extends he{constructor(){super({id:"cursorRedo",label:m("cursor.redo","Cursor Redo"),alias:"Cursor Redo",precondition:void 0})}run(e,t,i){var n;(n=og.get(t))===null||n===void 0||n.cursorRedo()}}vt(og.ID,og,0);Q(Sme);Q(yme);class Lme{constructor(e,t,i){this.selection=e,this.targetPosition=t,this.copy=i,this.targetSelection=null}getEditOperations(e,t){const i=e.getValueInRange(this.selection);if(this.copy||t.addEditOperation(this.selection,null),t.addEditOperation(new D(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column),i),this.selection.containsPosition(this.targetPosition)&&!(this.copy&&(this.selection.getEndPosition().equals(this.targetPosition)||this.selection.getStartPosition().equals(this.targetPosition)))){this.targetSelection=this.selection;return}if(this.copy){this.targetSelection=new _e(this.targetPosition.lineNumber,this.targetPosition.column,this.selection.endLineNumber-this.selection.startLineNumber+this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn);return}if(this.targetPosition.lineNumber>this.selection.endLineNumber){this.targetSelection=new _e(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn);return}if(this.targetPosition.lineNumberthis._onEditorMouseDown(t))),this._register(this._editor.onMouseUp(t=>this._onEditorMouseUp(t))),this._register(this._editor.onMouseDrag(t=>this._onEditorMouseDrag(t))),this._register(this._editor.onMouseDrop(t=>this._onEditorMouseDrop(t))),this._register(this._editor.onMouseDropCanceled(()=>this._onEditorMouseDropCanceled())),this._register(this._editor.onKeyDown(t=>this.onEditorKeyDown(t))),this._register(this._editor.onKeyUp(t=>this.onEditorKeyUp(t))),this._register(this._editor.onDidBlurEditorWidget(()=>this.onEditorBlur())),this._register(this._editor.onDidBlurEditorText(()=>this.onEditorBlur())),this._mouseDown=!1,this._modifierPressed=!1,this._dragSelection=null}onEditorBlur(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1}onEditorKeyDown(e){!this._editor.getOption(35)||this._editor.getOption(22)||($g(e)&&(this._modifierPressed=!0),this._mouseDown&&$g(e)&&this._editor.updateOptions({mouseStyle:"copy"}))}onEditorKeyUp(e){!this._editor.getOption(35)||this._editor.getOption(22)||($g(e)&&(this._modifierPressed=!1),this._mouseDown&&e.keyCode===wd.TRIGGER_KEY_VALUE&&this._editor.updateOptions({mouseStyle:"default"}))}_onEditorMouseDown(e){this._mouseDown=!0}_onEditorMouseUp(e){this._mouseDown=!1,this._editor.updateOptions({mouseStyle:"text"})}_onEditorMouseDrag(e){const t=e.target;if(this._dragSelection===null){const n=(this._editor.getSelections()||[]).filter(s=>t.position&&s.containsPosition(t.position));if(n.length===1)this._dragSelection=n[0];else return}$g(e.event)?this._editor.updateOptions({mouseStyle:"copy"}):this._editor.updateOptions({mouseStyle:"default"}),t.position&&(this._dragSelection.containsPosition(t.position)?this._removeDecoration():this.showAt(t.position))}_onEditorMouseDropCanceled(){this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}_onEditorMouseDrop(e){if(e.target&&(this._hitContent(e.target)||this._hitMargin(e.target))&&e.target.position){const t=new F(e.target.position.lineNumber,e.target.position.column);if(this._dragSelection===null){let i=null;if(e.event.shiftKey){const n=this._editor.getSelection();if(n){const{selectionStartLineNumber:s,selectionStartColumn:r}=n;i=[new _e(s,r,t.lineNumber,t.column)]}}else i=(this._editor.getSelections()||[]).map(n=>n.containsPosition(t)?new _e(t.lineNumber,t.column,t.lineNumber,t.column):n);this._editor.setSelections(i||[],"mouse",3)}else(!this._dragSelection.containsPosition(t)||($g(e.event)||this._modifierPressed)&&(this._dragSelection.getEndPosition().equals(t)||this._dragSelection.getStartPosition().equals(t)))&&(this._editor.pushUndoStop(),this._editor.executeCommand(wd.ID,new Lme(this._dragSelection,t,$g(e.event)||this._modifierPressed)),this._editor.pushUndoStop())}this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}showAt(e){this._dndDecorationIds.set([{range:new D(e.lineNumber,e.column,e.lineNumber,e.column),options:wd._DECORATION_OPTIONS}]),this._editor.revealPosition(e,1)}_removeDecoration(){this._dndDecorationIds.clear()}_hitContent(e){return e.type===6||e.type===7}_hitMargin(e){return e.type===2||e.type===3||e.type===4}dispose(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1,super.dispose()}}wd.ID="editor.contrib.dragAndDrop";wd.TRIGGER_KEY_VALUE=lt?6:5;wd._DECORATION_OPTIONS=ze.register({description:"dnd-target",className:"dnd-target"});vt(wd.ID,wd,2);var VA=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},wb=function(o,e){return function(t,i){e(t,i,o)}};const BL=m("builtIn","Built-in");class HA{async provideDocumentPasteEdits(e,t,i,n,s){const r=await this.getEdit(i,s);return r?{insertText:r.insertText,label:r.label,detail:r.detail,handledMimeType:r.handledMimeType,yieldTo:r.yieldTo}:void 0}async provideDocumentOnDropEdits(e,t,i,n){const s=await this.getEdit(i,n);return s?{insertText:s.insertText,label:s.label,handledMimeType:s.handledMimeType,yieldTo:s.yieldTo}:void 0}}class DH extends HA{constructor(){super(...arguments),this.id="text",this.dropMimeTypes=[pi.text],this.pasteMimeTypes=[pi.text]}async getEdit(e,t){const i=e.get(pi.text);if(!i||e.has(pi.uriList))return;const n=await i.asString();return{handledMimeType:pi.text,label:m("text.label","Insert Plain Text"),detail:BL,insertText:n}}}class xH extends HA{constructor(){super(...arguments),this.id="uri",this.dropMimeTypes=[pi.uriList],this.pasteMimeTypes=[pi.uriList]}async getEdit(e,t){const i=await kH(e);if(!i.length||t.isCancellationRequested)return;let n=0;const s=i.map(({uri:a,originalText:l})=>a.scheme===Ue.file?a.fsPath:(n++,l)).join(" ");let r;return n>0?r=i.length>1?m("defaultDropProvider.uriList.uris","Insert Uris"):m("defaultDropProvider.uriList.uri","Insert Uri"):r=i.length>1?m("defaultDropProvider.uriList.paths","Insert Paths"):m("defaultDropProvider.uriList.path","Insert Path"),{handledMimeType:pi.uriList,insertText:s,label:r,detail:BL}}}let WS=class extends HA{constructor(e){super(),this._workspaceContextService=e,this.id="relativePath",this.dropMimeTypes=[pi.uriList],this.pasteMimeTypes=[pi.uriList]}async getEdit(e,t){const i=await kH(e);if(!i.length||t.isCancellationRequested)return;const n=oa(i.map(({uri:s})=>{const r=this._workspaceContextService.getWorkspaceFolder(s);return r?Uee(r.uri,s):void 0}));if(n.length)return{handledMimeType:pi.uriList,insertText:n.join(" "),label:i.length>1?m("defaultDropProvider.uriList.relativePaths","Insert Relative Paths"):m("defaultDropProvider.uriList.relativePath","Insert Relative Path"),detail:BL}}};WS=VA([wb(0,qu)],WS);class Dme{constructor(){this.id="html",this.pasteMimeTypes=["text/html"],this._yieldTo=[{mimeType:pi.text}]}async provideDocumentPasteEdits(e,t,i,n,s){if(n.trigger!=="explicit"&&n.only!==this.id)return;const r=i.get("text/html"),a=await(r==null?void 0:r.asString());if(!(!a||s.isCancellationRequested))return{insertText:a,yieldTo:this._yieldTo,label:m("pasteHtmlLabel","Insert HTML"),detail:BL}}}async function kH(o){const e=o.get(pi.uriList);if(!e)return[];const t=await e.asString(),i=[];for(const n of kL.parse(t))try{i.push({uri:xe.parse(n),originalText:n})}catch{}return i}let BT=class extends V{constructor(e,t){super(),this._register(e.documentOnDropEditProvider.register("*",new DH)),this._register(e.documentOnDropEditProvider.register("*",new xH)),this._register(e.documentOnDropEditProvider.register("*",new WS(t)))}};BT=VA([wb(0,fe),wb(1,qu)],BT);let WT=class extends V{constructor(e,t){super(),this._register(e.documentPasteEditProvider.register("*",new DH)),this._register(e.documentPasteEditProvider.register("*",new xH)),this._register(e.documentPasteEditProvider.register("*",new WS(t))),this._register(e.documentPasteEditProvider.register("*",new Dme))}};WT=VA([wb(0,fe),wb(1,qu)],WT);vt(Nd.ID,Nd,0);_0(WT);le(new class extends un{constructor(){super({id:IV,precondition:EV,kbOpts:{weight:100,primary:2137}})}runEditorCommand(o,e,t){var i;return(i=Nd.get(e))===null||i===void 0?void 0:i.changePasteType()}});Q(class extends he{constructor(){super({id:"editor.action.pasteAs",label:m("pasteAs","Paste As..."),alias:"Paste As...",precondition:E.writable,metadata:{description:"Paste as",args:[{name:"args",schema:{type:"object",properties:{id:{type:"string",description:m("pasteAs.id","The id of the paste edit to try applying. If not provided, the editor will show a picker.")}}}}]}})}run(o,e,t){var i;const n=typeof(t==null?void 0:t.id)=="string"?t.id:void 0;return(i=Nd.get(e))===null||i===void 0?void 0:i.pasteAs(n)}});Q(class extends he{constructor(){super({id:"editor.action.pasteAsText",label:m("pasteAsText","Paste as Text"),alias:"Paste as Text",precondition:E.writable})}run(o,e,t){var i;return(i=Nd.get(e))===null||i===void 0?void 0:i.pasteAs("text")}});class xme{constructor(){this._dragOperations=new Map}removeDragOperationTransfer(e){if(e&&this._dragOperations.has(e)){const t=this._dragOperations.get(e);return this._dragOperations.delete(e),t}}}class N3{constructor(e){this.identifier=e}}const IH=ot("treeViewsDndService");ht(IH,xme,1);var kme=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},UC=function(o,e){return function(t,i){e(t,i,o)}},VT;const EH="editor.experimental.dropIntoEditor.defaultProvider",NH="editor.changeDropType",TH=new de("dropWidgetVisible",!1,m("dropWidgetVisible","Whether the drop widget is showing"));let Hm=VT=class extends V{static get(e){return e.getContribution(VT.ID)}constructor(e,t,i,n,s){super(),this._configService=i,this._languageFeaturesService=n,this._treeViewsDragAndDropService=s,this.treeItemsTransfer=fb.getInstance(),this._dropProgressManager=this._register(t.createInstance(kS,"dropIntoEditor",e)),this._postDropWidgetManager=this._register(t.createInstance(ES,"dropIntoEditor",e,TH,{id:NH,label:m("postDropWidgetTitle","Show drop options...")})),this._register(e.onDropIntoEditor(r=>this.onDropIntoEditor(e,r.position,r.event)))}changeDropType(){this._postDropWidgetManager.tryShowSelector()}async onDropIntoEditor(e,t,i){var n;if(!i.dataTransfer||!e.hasModel())return;(n=this._currentOperation)===null||n===void 0||n.cancel(),e.focus(),e.setPosition(t);const s=tn(async r=>{const a=new oh(e,1,void 0,r);try{const l=await this.extractDataTransferData(i);if(l.size===0||a.token.isCancellationRequested)return;const d=e.getModel();if(!d)return;const c=this._languageFeaturesService.documentOnDropEditProvider.ordered(d).filter(u=>u.dropMimeTypes?u.dropMimeTypes.some(g=>l.matches(g)):!0),h=await this.getDropEdits(c,d,t,l,a);if(a.token.isCancellationRequested)return;if(h.length){const u=this.getInitialActiveEditIndex(d,h),g=e.getOption(36).showDropSelector==="afterDrop";await this._postDropWidgetManager.applyEditAndShowIfNeeded([D.fromPositions(t)],{activeEditIndex:u,allEdits:h},g,r)}}finally{a.dispose(),this._currentOperation===s&&(this._currentOperation=void 0)}});this._dropProgressManager.showWhile(t,m("dropIntoEditorProgress","Running drop handlers. Click to cancel"),s),this._currentOperation=s}async getDropEdits(e,t,i,n,s){const r=await qb(Promise.all(e.map(async l=>{try{const d=await l.provideDocumentOnDropEdits(t,i,n,s.token);if(d)return{...d,providerId:l.id}}catch(d){console.error(d)}})),s.token),a=oa(r??[]);return xV(a)}getInitialActiveEditIndex(e,t){const i=this._configService.getValue(EH,{resource:e.uri});for(const[n,s]of Object.entries(i)){const r=t.findIndex(a=>s===a.providerId&&a.handledMimeType&&CV(n,[a.handledMimeType]));if(r>=0)return r}return 0}async extractDataTransferData(e){if(!e.dataTransfer)return new bV;const t=yV(e.dataTransfer);if(this.treeItemsTransfer.hasData(N3.prototype)){const i=this.treeItemsTransfer.getData(N3.prototype);if(Array.isArray(i))for(const n of i){const s=await this._treeViewsDragAndDropService.removeDragOperationTransfer(n.identifier);if(s)for(const[r,a]of s)t.replace(r,a)}}return t}};Hm.ID="editor.contrib.dropIntoEditorController";Hm=VT=kme([UC(1,Ie),UC(2,Qe),UC(3,fe),UC(4,IH)],Hm);vt(Hm.ID,Hm,2);le(new class extends un{constructor(){super({id:NH,precondition:TH,kbOpts:{weight:100,primary:2137}})}runEditorCommand(o,e,t){var i;(i=Hm.get(e))===null||i===void 0||i.changeDropType()}});_0(BT);li.as(ba.Configuration).registerConfiguration({...Ky,properties:{[EH]:{type:"object",scope:5,description:m("defaultProviderDescription","Configures the default drop provider to use for content of a given mime type."),default:{},additionalProperties:{type:"string"}}}});class Gn{constructor(e){this._editor=e,this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null,this._startPosition=this._editor.getPosition()}dispose(){this._editor.removeDecorations(this._allDecorations()),this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}reset(){this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}getCount(){return this._decorations.length}getFindScope(){return this._findScopeDecorationIds[0]?this._editor.getModel().getDecorationRange(this._findScopeDecorationIds[0]):null}getFindScopes(){if(this._findScopeDecorationIds.length){const e=this._findScopeDecorationIds.map(t=>this._editor.getModel().getDecorationRange(t)).filter(t=>!!t);if(e.length)return e}return null}getStartPosition(){return this._startPosition}setStartPosition(e){this._startPosition=e,this.setCurrentFindMatch(null)}_getDecorationIndex(e){const t=this._decorations.indexOf(e);return t>=0?t+1:1}getDecorationRangeAt(e){const t=e{if(this._highlightedDecorationId!==null&&(n.changeDecorationOptions(this._highlightedDecorationId,Gn._FIND_MATCH_DECORATION),this._highlightedDecorationId=null),t!==null&&(this._highlightedDecorationId=t,n.changeDecorationOptions(this._highlightedDecorationId,Gn._CURRENT_FIND_MATCH_DECORATION)),this._rangeHighlightDecorationId!==null&&(n.removeDecoration(this._rangeHighlightDecorationId),this._rangeHighlightDecorationId=null),t!==null){let s=this._editor.getModel().getDecorationRange(t);if(s.startLineNumber!==s.endLineNumber&&s.endColumn===1){const r=s.endLineNumber-1,a=this._editor.getModel().getLineMaxColumn(r);s=new D(s.startLineNumber,s.startColumn,r,a)}this._rangeHighlightDecorationId=n.addDecoration(s,Gn._RANGE_HIGHLIGHT_DECORATION)}}),i}set(e,t){this._editor.changeDecorations(i=>{let n=Gn._FIND_MATCH_DECORATION;const s=[];if(e.length>1e3){n=Gn._FIND_MATCH_NO_OVERVIEW_DECORATION;const a=this._editor.getModel().getLineCount(),d=this._editor.getLayoutInfo().height/a,c=Math.max(2,Math.ceil(3/d));let h=e[0].range.startLineNumber,u=e[0].range.endLineNumber;for(let g=1,f=e.length;g=p.startLineNumber?p.endLineNumber>u&&(u=p.endLineNumber):(s.push({range:new D(h,1,u,1),options:Gn._FIND_MATCH_ONLY_OVERVIEW_DECORATION}),h=p.startLineNumber,u=p.endLineNumber)}s.push({range:new D(h,1,u,1),options:Gn._FIND_MATCH_ONLY_OVERVIEW_DECORATION})}const r=new Array(e.length);for(let a=0,l=e.length;ai.removeDecoration(a)),this._findScopeDecorationIds=[]),t!=null&&t.length&&(this._findScopeDecorationIds=t.map(a=>i.addDecoration(a,Gn._FIND_SCOPE_DECORATION)))})}matchBeforePosition(e){if(this._decorations.length===0)return null;for(let t=this._decorations.length-1;t>=0;t--){const i=this._decorations[t],n=this._editor.getModel().getDecorationRange(i);if(!(!n||n.endLineNumber>e.lineNumber)){if(n.endLineNumbere.column))return n}}return this._editor.getModel().getDecorationRange(this._decorations[this._decorations.length-1])}matchAfterPosition(e){if(this._decorations.length===0)return null;for(let t=0,i=this._decorations.length;te.lineNumber)return s;if(!(s.startColumn0){const i=[];for(let r=0;rD.compareRangesUsingStarts(r.range,a.range));const n=[];let s=i[0];for(let r=1;r0?e[0].toUpperCase()+e.substr(1):o[0][0].toUpperCase()!==o[0][0]&&e.length>0?e[0].toLowerCase()+e.substr(1):e}else return e}function T3(o,e,t){return o[0].indexOf(t)!==-1&&e.indexOf(t)!==-1&&o[0].split(t).length===e.split(t).length}function M3(o,e,t){const i=e.split(t),n=o[0].split(t);let s="";return i.forEach((r,a)=>{s+=MH([n[a]],r)+t}),s.slice(0,-1)}class R3{constructor(e){this.staticValue=e,this.kind=0}}class Eme{constructor(e){this.pieces=e,this.kind=1}}class zm{static fromStaticValue(e){return new zm([Pu.staticValue(e)])}get hasReplacementPatterns(){return this._state.kind===1}constructor(e){!e||e.length===0?this._state=new R3(""):e.length===1&&e[0].staticValue!==null?this._state=new R3(e[0].staticValue):this._state=new Eme(e)}buildReplaceString(e,t){if(this._state.kind===0)return t?MH(e,this._state.staticValue):this._state.staticValue;let i="";for(let n=0,s=this._state.pieces.length;n0){const l=[],d=r.caseOps.length;let c=0;for(let h=0,u=a.length;h=d){l.push(a.slice(h));break}switch(r.caseOps[c]){case"U":l.push(a[h].toUpperCase());break;case"u":l.push(a[h].toUpperCase()),c++;break;case"L":l.push(a[h].toLowerCase());break;case"l":l.push(a[h].toLowerCase()),c++;break;default:l.push(a[h])}}a=l.join("")}i+=a}return i}static _substitute(e,t){if(t===null)return"";if(e===0)return t[0];let i="";for(;e>0;){if(e=n)break;const r=o.charCodeAt(i);switch(r){case 92:t.emitUnchanged(i-1),t.emitStatic("\\",i+1);break;case 110:t.emitUnchanged(i-1),t.emitStatic(` diff --git a/assets/BnZW0xzS.js b/assets/CXg0UUxL.js similarity index 78% rename from assets/BnZW0xzS.js rename to assets/CXg0UUxL.js index a936411..8231c19 100644 --- a/assets/BnZW0xzS.js +++ b/assets/CXg0UUxL.js @@ -1 +1 @@ -import{ax as _,f as N,R as b,O as P,N as B,aK as L,aL as w,P as T,aM as O,W as C,aN as U,aO as V,aP as j,aQ as E,aR as F,aE as I,aS as q,aF as R,aT as D,aU as H,aV as M}from"./Dln5YeVe.js";async function k(t,r=_()){const{path:s,matched:e}=r.resolve(t);if(!e.length||(r._routePreloaded||(r._routePreloaded=new Set),r._routePreloaded.has(s)))return;const n=r._preloadPromises=r._preloadPromises||[];if(n.length>4)return Promise.all(n).then(()=>k(t,r));r._routePreloaded.add(s);const i=e.map(u=>{var a;return(a=u.components)==null?void 0:a.default}).filter(u=>typeof u=="function");for(const u of i){const a=Promise.resolve(u()).catch(()=>{}).finally(()=>n.splice(n.indexOf(a)));n.push(a)}await Promise.all(n)}const z=(...t)=>t.find(r=>r!==void 0);function Q(t){const r=t.componentName||"NuxtLink";function s(e,n){if(!e||t.trailingSlash!=="append"&&t.trailingSlash!=="remove")return e;if(typeof e=="string")return S(e,t.trailingSlash);const i="path"in e&&e.path!==void 0?e.path:n(e).path;return{...e,name:void 0,path:S(i,t.trailingSlash)}}return N({name:r,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(e,{slots:n}){const i=_(),u=I(),a=b(()=>{const l=e.to||e.href||"";return s(l,i.resolve)}),f=b(()=>typeof a.value=="string"&&q(a.value,{acceptRelative:!0})),g=b(()=>e.target&&e.target!=="_self"),p=b(()=>e.external||g.value?!0:typeof a.value=="object"?!1:a.value===""||f.value),x=P(!1),v=P(null),A=l=>{var d;v.value=e.custom?(d=l==null?void 0:l.$el)==null?void 0:d.nextElementSibling:l==null?void 0:l.$el};if(e.prefetch!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!$()){const d=R();let h,o=null;B(()=>{const y=W();L(()=>{h=w(()=>{var c;(c=v==null?void 0:v.value)!=null&&c.tagName&&(o=y.observe(v.value,async()=>{o==null||o(),o=null;const m=typeof a.value=="string"?a.value:i.resolve(a.value).fullPath;await Promise.all([d.hooks.callHook("link:prefetch",m).catch(()=>{}),!p.value&&k(a.value,i).catch(()=>{})]),x.value=!0}))})})}),T(()=>{h&&O(h),o==null||o(),o=null})}return()=>{var o,y;if(!p.value){const c={ref:A,to:a.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(x.value&&(c.class=e.prefetchedClass||t.prefetchedClass),c.rel=e.rel||void 0),C(U("RouterLink"),c,n.default)}const l=typeof a.value=="object"?((o=i.resolve(a.value))==null?void 0:o.href)??null:a.value&&!e.external&&!f.value?s(V(u.app.baseURL,a.value),i.resolve):a.value||null,d=e.target||null,h=z(e.noRel?"":e.rel,t.externalRelAttribute,f.value||g.value?"noopener noreferrer":"")||null;if(e.custom){if(!n.default)return null;const c=()=>D(l,{replace:e.replace,external:e.external});return n.default({href:l,navigate:c,get route(){if(!l)return;const m=j(l);return{path:m.pathname,fullPath:m.pathname,get query(){return E(m.search)},hash:m.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:l}},rel:h,target:d,isExternal:p.value,isActive:!1,isExactActive:!1})}return C("a",{ref:v,href:l,rel:h,target:d},(y=n.default)==null?void 0:y.call(n))}}})}const G=Q(F);function S(t,r){const s=r==="append"?H:M;return q(t)&&!t.startsWith("http")?t:s(t,!0)}function W(){const t=R();if(t._observer)return t._observer;let r=null;const s=new Map,e=(i,u)=>(r||(r=new IntersectionObserver(a=>{for(const f of a){const g=s.get(f.target);(f.isIntersecting||f.intersectionRatio>0)&&g&&g()}})),s.set(i,u),r.observe(i),()=>{s.delete(i),r.unobserve(i),s.size===0&&(r.disconnect(),r=null)});return t._observer={observe:e}}function $(){const t=navigator.connection;return!!(t&&(t.saveData||/2g/.test(t.effectiveType)))}export{G as _}; +import{ax as _,f as B,U as b,R as P,Q as L,aK as N,aL as w,S as T,aM as U,X as C,aN as O,aO as V,aP as j,aQ as E,aR as F,aE as I,aS as q,aF as R,aT as D,aU as H,aV as M}from"./BPRoNp8L.js";async function k(t,r=_()){const{path:s,matched:e}=r.resolve(t);if(!e.length||(r._routePreloaded||(r._routePreloaded=new Set),r._routePreloaded.has(s)))return;const n=r._preloadPromises=r._preloadPromises||[];if(n.length>4)return Promise.all(n).then(()=>k(t,r));r._routePreloaded.add(s);const i=e.map(u=>{var a;return(a=u.components)==null?void 0:a.default}).filter(u=>typeof u=="function");for(const u of i){const a=Promise.resolve(u()).catch(()=>{}).finally(()=>n.splice(n.indexOf(a)));n.push(a)}await Promise.all(n)}const Q=(...t)=>t.find(r=>r!==void 0);function z(t){const r=t.componentName||"NuxtLink";function s(e,n){if(!e||t.trailingSlash!=="append"&&t.trailingSlash!=="remove")return e;if(typeof e=="string")return S(e,t.trailingSlash);const i="path"in e&&e.path!==void 0?e.path:n(e).path;return{...e,name:void 0,path:S(i,t.trailingSlash)}}return B({name:r,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(e,{slots:n}){const i=_(),u=I(),a=b(()=>{const l=e.to||e.href||"";return s(l,i.resolve)}),f=b(()=>typeof a.value=="string"&&q(a.value,{acceptRelative:!0})),g=b(()=>e.target&&e.target!=="_self"),p=b(()=>e.external||g.value?!0:typeof a.value=="object"?!1:a.value===""||f.value),x=P(!1),v=P(null),A=l=>{var d;v.value=e.custom?(d=l==null?void 0:l.$el)==null?void 0:d.nextElementSibling:l==null?void 0:l.$el};if(e.prefetch!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!K()){const d=R();let h,o=null;L(()=>{const y=$();N(()=>{h=w(()=>{var c;(c=v==null?void 0:v.value)!=null&&c.tagName&&(o=y.observe(v.value,async()=>{o==null||o(),o=null;const m=typeof a.value=="string"?a.value:i.resolve(a.value).fullPath;await Promise.all([d.hooks.callHook("link:prefetch",m).catch(()=>{}),!p.value&&k(a.value,i).catch(()=>{})]),x.value=!0}))})})}),T(()=>{h&&U(h),o==null||o(),o=null})}return()=>{var o,y;if(!p.value){const c={ref:A,to:a.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(x.value&&(c.class=e.prefetchedClass||t.prefetchedClass),c.rel=e.rel||void 0),C(O("RouterLink"),c,n.default)}const l=typeof a.value=="object"?((o=i.resolve(a.value))==null?void 0:o.href)??null:a.value&&!e.external&&!f.value?s(V(u.app.baseURL,a.value),i.resolve):a.value||null,d=e.target||null,h=Q(e.noRel?"":e.rel,t.externalRelAttribute,f.value||g.value?"noopener noreferrer":"")||null;if(e.custom){if(!n.default)return null;const c=()=>D(l,{replace:e.replace,external:e.external});return n.default({href:l,navigate:c,get route(){if(!l)return;const m=j(l);return{path:m.pathname,fullPath:m.pathname,get query(){return E(m.search)},hash:m.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:l}},rel:h,target:d,isExternal:p.value,isActive:!1,isExactActive:!1})}return C("a",{ref:v,href:l,rel:h,target:d},(y=n.default)==null?void 0:y.call(n))}}})}const X=z(F);function S(t,r){const s=r==="append"?H:M;return q(t)&&!t.startsWith("http")?t:s(t,!0)}function $(){const t=R();if(t._observer)return t._observer;let r=null;const s=new Map,e=(i,u)=>(r||(r=new IntersectionObserver(a=>{for(const f of a){const g=s.get(f.target);(f.isIntersecting||f.intersectionRatio>0)&&g&&g()}})),s.set(i,u),r.observe(i),()=>{s.delete(i),r.unobserve(i),s.size===0&&(r.disconnect(),r=null)});return t._observer={observe:e}}function K(){const t=navigator.connection;return!!(t&&(t.saveData||/2g/.test(t.effectiveType)))}export{X as _}; diff --git a/assets/kS1a4axV.js b/assets/CaVt64gb.js similarity index 98% rename from assets/kS1a4axV.js rename to assets/CaVt64gb.js index 9686fcf..777188c 100644 --- a/assets/kS1a4axV.js +++ b/assets/CaVt64gb.js @@ -1,4 +1,4 @@ -import{m as d}from"./DlKjphzx.js";import"./Dln5YeVe.js";/*!----------------------------------------------------------------------------- +import{m as d}from"./CSm8Qi0c.js";import"./BPRoNp8L.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license diff --git a/assets/CkfV88j3.js b/assets/Cb467khh.js similarity index 98% rename from assets/CkfV88j3.js rename to assets/Cb467khh.js index 5906b84..6ec1592 100644 --- a/assets/CkfV88j3.js +++ b/assets/Cb467khh.js @@ -1,4 +1,4 @@ -import{m as p}from"./DlKjphzx.js";import"./Dln5YeVe.js";/*!----------------------------------------------------------------------------- +import{m as p}from"./CSm8Qi0c.js";import"./BPRoNp8L.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license diff --git a/assets/Bo4w8WvM.js b/assets/CnHGZjNE.js similarity index 99% rename from assets/Bo4w8WvM.js rename to assets/CnHGZjNE.js index f08d792..1de1872 100644 --- a/assets/Bo4w8WvM.js +++ b/assets/CnHGZjNE.js @@ -1,4 +1,4 @@ -import{m as qe}from"./DlKjphzx.js";import"./Dln5YeVe.js";/*!----------------------------------------------------------------------------- +import{m as qe}from"./CSm8Qi0c.js";import"./BPRoNp8L.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license diff --git a/assets/9lSzqoBv.js b/assets/CoWul4yg.js similarity index 99% rename from assets/9lSzqoBv.js rename to assets/CoWul4yg.js index fc5c131..e97819c 100644 --- a/assets/9lSzqoBv.js +++ b/assets/CoWul4yg.js @@ -1,4 +1,4 @@ -import{t as I,m as N}from"./DlKjphzx.js";import"./Dln5YeVe.js";/*!----------------------------------------------------------------------------- +import{t as I,m as N}from"./CSm8Qi0c.js";import"./BPRoNp8L.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license diff --git a/assets/CUbwzJXA.js b/assets/DQOICLIX.js similarity index 99% rename from assets/CUbwzJXA.js rename to assets/DQOICLIX.js index 4e4c582..565b6e2 100644 --- a/assets/CUbwzJXA.js +++ b/assets/DQOICLIX.js @@ -1,4 +1,4 @@ -import{m as i}from"./DlKjphzx.js";import"./Dln5YeVe.js";/*!----------------------------------------------------------------------------- +import{m as i}from"./CSm8Qi0c.js";import"./BPRoNp8L.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license diff --git a/assets/Cx8wtMdZ.js b/assets/Dnn-_RCQ.js similarity index 68% rename from assets/Cx8wtMdZ.js rename to assets/Dnn-_RCQ.js index 5032517..8a803c3 100644 --- a/assets/Cx8wtMdZ.js +++ b/assets/Dnn-_RCQ.js @@ -1 +1 @@ -import{_ as M}from"./kFzsb1UL.js";import{b as N,w as v,x as B,y as U,z as D,A,r as E,_ as z,P as b,M as V,B as X,D as w,F as G,f as j,G as H}from"./0vF3UBZ8.js";import{f as $,o as m,c as p,a as o,t as h,h as u,p as g,e as k,_ as x,ax as J,ay as K,R as y,b as l,a0 as q,O as I,N as C,az as Q,av as R,w as W,S as Y,T as Z,g as ee}from"./Dln5YeVe.js";import{_ as se}from"./BnZW0xzS.js";const L=a=>(g("data-v-520bcd07"),a=a(),k(),a),te={class:"file-options hstack space-x-2"},oe=["aria-label"],ae=L(()=>o("span",{"i-ic:baseline-save-as":"","text-lg":""},null,-1)),ne=["aria-label"],re=L(()=>o("span",{"i-ic:round-upload-file":"","text-lg":""},null,-1)),ue=$({__name:"FileOptions",emits:["update"],setup(a){return N("shift+ctrl+s",v),(s,e)=>(m(),p("div",te,[o("button",{"aria-label":s.$t("resumes.saveas"),onClick:e[0]||(e[0]=(...n)=>("saveResumesToLocal"in s?s.saveResumesToLocal:u(v))&&("saveResumesToLocal"in s?s.saveResumesToLocal:u(v))(...n))},[ae,o("span",null,h(s.$t("resumes.saveas")),1)],8,oe),o("button",{"aria-label":s.$t("resumes.import"),onClick:e[1]||(e[1]=()=>("importResumesFromLocal"in s?s.importResumesFromLocal:u(B))(()=>s.$emit("update")))},[re,o("span",null,h(s.$t("resumes.import")),1)],8,ne)]))}}),ie=x(ue,[["__scopeId","data-v-520bcd07"]]),me={"w-56":"","h-80":""},ce=["aria-label"],de=o("span",{"i-ic:round-plus":"",text:"5xl light-c group-hover:brand"},null,-1),le=[de],pe=$({__name:"NewResume",setup(a){const s=J(),e=K(),n=async()=>{const r=await U();s.push(e(`/edit/${r}`))};return(r,i)=>(m(),p("div",me,[o("button",{class:"resume-card group w-[210px] h-[299px] flex-center bg-darker-c hover:bg-c","aria-label":r.$t("resumes.new"),onClick:n},le,8,ce)]))}}),S=a=>(g("data-v-dbb62c4a"),a=a(),k(),a),_e={class:"absolute right-3 top-3 space-y-2"},he=S(()=>o("span",{"i-ion:duplicate":""},null,-1)),$e=[he],fe=S(()=>o("span",{"i-material-symbols:delete-outline-rounded":""},null,-1)),ve=[fe],be=$({__name:"ResumeOptions",props:{resume:{}},emits:["update"],setup(a,{emit:s}){const e=a,n=s,r=async()=>{await D(e.resume.id),n("update")},i=async()=>{await A(e.resume.id),n("update")};return(_,c)=>(m(),p("div",_e,[o("button",{onClick:r},$e),o("button",{onClick:i},ve)]))}}),we=x(be,[["__scopeId","data-v-dbb62c4a"]]),ye={"text-center":""},Re={key:0,"text-xs":"","text-light-c":"","mt-1.5":""},ge={"text-xs":"","text-light-c":"","mt-0.5":""},ke=$({__name:"ResumeInfo",props:{resume:{}},emits:["update"],setup(a,{emit:s}){const e=a,n=s,r=async t=>{await E(e.resume.id,t),n("update")},i=t=>t&&new Date(parseInt(t)).toISOString().substring(0,19).replace("T"," ").replaceAll("-","/"),_=y(()=>i(e.resume.id)),c=y(()=>i(e.resume.update));return(t,d)=>{const f=z;return m(),p("div",ye,[l(f,{id:`resumes-rename-${t.resume.id}`,class:"w-53 mx-auto",default:t.resume.name,"on-value-commit":r},null,8,["id","default"]),u(c)?(m(),p("div",Re,h(t.$t("resumes.updated"))+h(u(c)),1)):q("",!0),o("div",ge,h(t.$t("resumes.created"))+h(u(_)),1)])}}}),xe={"w-56":"","h-80":""},Ie=$({__name:"ResumeItem",props:{resume:{}},emits:["update"],setup(a,{emit:s}){const e=a,n=s,r=b[e.resume.styles.paper].w,i=b[e.resume.styles.paper].h,_=I(),c=async()=>{X(e.resume.css,e.resume.id),await w(e.resume.styles.fontEN),await w(e.resume.styles.fontCJK),G(e.resume.styles,e.resume.id),_.value.forceUpdate()};return C(c),Q(c),(t,d)=>{const f=j,T=se,O=we,P=ke;return m(),p("div",null,[o("div",xe,[o("div",{class:"resume-card group border border-c",style:R({width:`${u(r)}px`,height:`${u(i)}px`})},[l(T,{to:t.$nuxt.$localePath(`/edit/${e.resume.id}`)},{default:W(()=>[l(f,{id:t.resume.id,ref_key:"render",ref:_,markdown:t.resume.markdown,styles:t.resume.styles,style:R({transform:`scale(${1/("MM_TO_PX"in t?t.MM_TO_PX:u(V))})`}),class:"origin-top-left"},null,8,["id","markdown","styles","style"])]),_:1},8,["to"]),l(O,{class:"group-hover:block hidden",resume:t.resume,onUpdate:d[0]||(d[0]=F=>n("update"))},null,8,["resume"])],4)]),l(P,{resume:t.resume,onUpdate:d[1]||(d[1]=F=>n("update"))},null,8,["resume"])])}}}),Ce={class:"resumes-page"},Le={class:"max-w-306 mx-auto px-5 py-16 text-dark-c"},Se={class:"space-y-2 md:hstack md:justify-between"},Te={"font-bold":"","text-3xl":""},Oe={class:"flex flex-wrap gap-x-4 gap-y-8 mt-8"},Be=$({__name:"resumes",setup(a){const s=I(),e=async()=>{s.value=await H()};return C(e),(n,r)=>{const i=M,_=ie,c=pe,t=Ie;return m(),p("div",Ce,[l(i),o("div",Le,[o("div",Se,[o("h1",Te,h(n.$t("resumes.my_resumes")),1),l(_,{onUpdate:e})]),o("div",Oe,[l(c),(m(!0),p(Y,null,Z(u(s),d=>(m(),ee(t,{key:d.id,class:"resume-item",resume:d,onUpdate:e},null,8,["resume"]))),128))])])])}}});export{Be as default}; +import{_ as O}from"./Y1k7zYV_.js";import{b as U,w as v,x as B,y as N,z as D,A,r as E,_ as z,P as b,M as V,B as X,D as w,F as G,f as j,G as H}from"./Tkxs5xfc.js";import{f as $,o as m,c as p,a as o,t as h,h as u,p as g,e as k,_ as x,ax as J,ay as K,U as y,b as l,a1 as Q,R as I,Q as C,az as q,av as R,w as W,F as Y,r as Z,g as ee}from"./BPRoNp8L.js";import{_ as se}from"./CXg0UUxL.js";const L=a=>(g("data-v-520bcd07"),a=a(),k(),a),te={class:"file-options hstack space-x-2"},oe=["aria-label"],ae=L(()=>o("span",{"i-ic:baseline-save-as":"","text-lg":""},null,-1)),ne=["aria-label"],re=L(()=>o("span",{"i-ic:round-upload-file":"","text-lg":""},null,-1)),ue=$({__name:"FileOptions",emits:["update"],setup(a){return U("shift+ctrl+s",v),(s,e)=>(m(),p("div",te,[o("button",{"aria-label":s.$t("resumes.saveas"),onClick:e[0]||(e[0]=(...n)=>("saveResumesToLocal"in s?s.saveResumesToLocal:u(v))&&("saveResumesToLocal"in s?s.saveResumesToLocal:u(v))(...n))},[ae,o("span",null,h(s.$t("resumes.saveas")),1)],8,oe),o("button",{"aria-label":s.$t("resumes.import"),onClick:e[1]||(e[1]=()=>("importResumesFromLocal"in s?s.importResumesFromLocal:u(B))(()=>s.$emit("update")))},[re,o("span",null,h(s.$t("resumes.import")),1)],8,ne)]))}}),ie=x(ue,[["__scopeId","data-v-520bcd07"]]),me={"w-56":"","h-80":""},ce=["aria-label"],de=o("span",{"i-ic:round-plus":"",text:"5xl light-c group-hover:brand"},null,-1),le=[de],pe=$({__name:"NewResume",setup(a){const s=J(),e=K(),n=async()=>{const r=await N();s.push(e(`/edit/${r}`))};return(r,i)=>(m(),p("div",me,[o("button",{class:"resume-card group w-[210px] h-[299px] flex-center bg-darker-c hover:bg-c","aria-label":r.$t("resumes.new"),onClick:n},le,8,ce)]))}}),S=a=>(g("data-v-dbb62c4a"),a=a(),k(),a),_e={class:"absolute right-3 top-3 space-y-2"},he=S(()=>o("span",{"i-ion:duplicate":""},null,-1)),$e=[he],fe=S(()=>o("span",{"i-material-symbols:delete-outline-rounded":""},null,-1)),ve=[fe],be=$({__name:"ResumeOptions",props:{resume:{}},emits:["update"],setup(a,{emit:s}){const e=a,n=s,r=async()=>{await D(e.resume.id),n("update")},i=async()=>{await A(e.resume.id),n("update")};return(_,c)=>(m(),p("div",_e,[o("button",{onClick:r},$e),o("button",{onClick:i},ve)]))}}),we=x(be,[["__scopeId","data-v-dbb62c4a"]]),ye={"text-center":""},Re={key:0,"text-xs":"","text-light-c":"","mt-1.5":""},ge={"text-xs":"","text-light-c":"","mt-0.5":""},ke=$({__name:"ResumeInfo",props:{resume:{}},emits:["update"],setup(a,{emit:s}){const e=a,n=s,r=async t=>{await E(e.resume.id,t),n("update")},i=t=>t&&new Date(parseInt(t)).toISOString().substring(0,19).replace("T"," ").replaceAll("-","/"),_=y(()=>i(e.resume.id)),c=y(()=>i(e.resume.update));return(t,d)=>{const f=z;return m(),p("div",ye,[l(f,{id:`resumes-rename-${t.resume.id}`,class:"w-53 mx-auto",default:t.resume.name,"on-value-commit":r},null,8,["id","default"]),u(c)?(m(),p("div",Re,h(t.$t("resumes.updated"))+h(u(c)),1)):Q("",!0),o("div",ge,h(t.$t("resumes.created"))+h(u(_)),1)])}}}),xe={"w-56":"","h-80":""},Ie=$({__name:"ResumeItem",props:{resume:{}},emits:["update"],setup(a,{emit:s}){const e=a,n=s,r=b[e.resume.styles.paper].w,i=b[e.resume.styles.paper].h,_=I(),c=async()=>{X(e.resume.css,e.resume.id),await w(e.resume.styles.fontEN),await w(e.resume.styles.fontCJK),G(e.resume.styles,e.resume.id),_.value.forceUpdate()};return C(c),q(c),(t,d)=>{const f=j,F=se,P=we,T=ke;return m(),p("div",null,[o("div",xe,[o("div",{class:"resume-card group border border-c",style:R({width:`${u(r)}px`,height:`${u(i)}px`})},[l(F,{to:t.$nuxt.$localePath(`/edit/${e.resume.id}`)},{default:W(()=>[l(f,{id:t.resume.id,ref_key:"render",ref:_,markdown:t.resume.markdown,styles:t.resume.styles,style:R({transform:`scale(${1/("MM_TO_PX"in t?t.MM_TO_PX:u(V))})`}),class:"origin-top-left"},null,8,["id","markdown","styles","style"])]),_:1},8,["to"]),l(P,{class:"group-hover:block hidden",resume:t.resume,onUpdate:d[0]||(d[0]=M=>n("update"))},null,8,["resume"])],4)]),l(T,{resume:t.resume,onUpdate:d[1]||(d[1]=M=>n("update"))},null,8,["resume"])])}}}),Ce={class:"resumes-page"},Le={class:"max-w-306 mx-auto px-5 py-16 text-dark-c"},Se={class:"space-y-2 md:hstack md:justify-between"},Fe={"font-bold":"","text-3xl":""},Pe={class:"flex flex-wrap gap-x-4 gap-y-8 mt-8"},Be=$({__name:"index",setup(a){const s=I(),e=async()=>{s.value=await H()};return C(e),(n,r)=>{const i=O,_=ie,c=pe,t=Ie;return m(),p("div",Ce,[l(i),o("div",Le,[o("div",Se,[o("h1",Fe,h(n.$t("resumes.my_resumes")),1),l(_,{onUpdate:e})]),o("div",Pe,[l(c),(m(!0),p(Y,null,Z(u(s),d=>(m(),ee(t,{key:d.id,class:"resume-item",resume:d,onUpdate:e},null,8,["resume"]))),128))])])])}}});export{Be as default}; diff --git a/assets/BcKiSp9X.js b/assets/DqbTTvN1.js similarity index 98% rename from assets/BcKiSp9X.js rename to assets/DqbTTvN1.js index 60c87d0..6490e11 100644 --- a/assets/BcKiSp9X.js +++ b/assets/DqbTTvN1.js @@ -1,4 +1,4 @@ -import{m as i}from"./DlKjphzx.js";import"./Dln5YeVe.js";/*!----------------------------------------------------------------------------- +import{m as i}from"./CSm8Qi0c.js";import"./BPRoNp8L.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license diff --git a/assets/0vF3UBZ8.js b/assets/Tkxs5xfc.js similarity index 96% rename from assets/0vF3UBZ8.js rename to assets/Tkxs5xfc.js index df051fe..056ea1d 100644 --- a/assets/0vF3UBZ8.js +++ b/assets/Tkxs5xfc.js @@ -1,4 +1,4 @@ -var j1=Object.defineProperty;var G1=(e,t,r)=>t in e?j1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var it=(e,t,r)=>(G1(e,typeof t!="symbol"?t+"":t,r),r);import{a5 as Y1,af as W1,a4 as Pn,A as Bt,aA as qn,a6 as Au,aB as $n,ad as ni,X as ai,aj as Z1,k as X1,l as K1,E as We,ag as Jt,y as J1,z as Q1,C as es,D as ts,f as Lu,Q as rs,R as gt,N as Mr,K as q0,o as ii,c as us,a as Qt,Z as Hn,$ as Un,h as Ze,U as Vn,aa as ns,V as as,aC as oi,aD as vr,aE as is,aF as os,aG as ss,aH as ls,aI as cs,M as si,O as $0,aJ as fs,W as ds,g as hs}from"./Dln5YeVe.js";var Pu=e=>typeof e=="object"&&e!==null&&e.nodeType===1,ms=e=>Pu(e)&&e.tagName==="IFRAME";function ps(e){return Pu(e)?e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0:!1}var li="input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false']), details > summary:first-of-type",ci=(e,t=!1)=>{if(!e)return[];const r=Array.from(e.querySelectorAll(li));(t==!0||t=="if-empty"&&r.length===0)&&Pu(e)&&gr(e)&&r.unshift(e);const n=r.filter(gr);return n.forEach((a,i)=>{if(ms(a)&&a.contentDocument){const o=a.contentDocument.body;n.splice(i,1,...ci(o))}}),n};function gr(e){return!e||e.closest("[inert]")?!1:e.matches(li)&&ps(e)}function Uh(e,t){const[r]=ci(e,t);return r||null}function bs(e){const t={each(r){var u;for(let n=0;n<((u=e.frames)==null?void 0:u.length);n+=1){const a=e.frames[n];a&&r(a)}},addEventListener(r,u,n){return t.each(a=>{try{a.document.addEventListener(r,u,n)}catch{}}),()=>{try{t.removeEventListener(r,u,n)}catch{}}},removeEventListener(r,u,n){t.each(a=>{try{a.document.removeEventListener(r,u,n)}catch{}})}};return t}var jn="pointerdown.outside",Gn="focus.outside";function vs(e){for(const t of e)if(ni(t)&&gr(t))return!0;return!1}var fi=e=>"clientY"in e;function gs(e,t){if(!fi(t)||!e)return!1;const r=e.getBoundingClientRect();return r.width===0||r.height===0?!1:r.top<=t.clientY&&t.clientY<=r.top+r.height&&r.left<=t.clientX&&t.clientX<=r.left+r.width}function xs(e){const t=Au(e);if(!t||!fi(e))return!1;const u=t.scrollHeight>t.clientHeight&&e.clientX>t.clientWidth,a=t.scrollWidth>t.clientWidth&&e.clientY>t.clientHeight;return u||a}function ys(e,t){const{exclude:r,onFocusOutside:u,onPointerDownOutside:n,onInteractOutside:a,defer:i}=t;if(!e)return;const o=Y1(e),s=W1(e),c=bs(s);function h(S){const I=Au(S);return!ni(I)||ai(e,I)||gs(e,S)||xs(S)?!1:!(r!=null&&r(I))}let d;function g(S){function I(){var L;const M=i?Bt:F=>F(),N=((L=S.composedPath)==null?void 0:L.call(S))??[S.target];M(()=>{if(!(!e||!h(S))){if(n||a){const F=$n(n,a);e.addEventListener(jn,F,{once:!0})}qn(e,jn,{bubbles:!1,cancelable:!0,detail:{originalEvent:S,contextmenu:Z1(S),focusable:vs(N)}})}})}S.pointerType==="touch"?(c.removeEventListener("click",I),o.removeEventListener("click",I),d=I,o.addEventListener("click",I,{once:!0}),c.addEventListener("click",I,{once:!0})):I()}const v=new Set,x=setTimeout(()=>{v.add(c.addEventListener("pointerdown",g,!0)),v.add(Pn(o,"pointerdown",g,!0))},0);function C(S){(i?Bt:M=>M())(()=>{if(!(!e||!h(S))){if(u||a){const M=$n(u,a);e.addEventListener(Gn,M,{once:!0})}qn(e,Gn,{bubbles:!1,cancelable:!0,detail:{originalEvent:S,contextmenu:!1,focusable:gr(Au(S))}})}})}return v.add(Pn(o,"focusin",C,!0)),v.add(c.addEventListener("focusin",C,!0)),()=>{clearTimeout(x),d&&(c.removeEventListener("click",d),o.removeEventListener("click",d)),v.forEach(S=>S())}}function ws(e,t){const{defer:r}=t,u=r?Bt:a=>a(),n=[];return n.push(u(()=>{const a=typeof e=="function"?e():e;n.push(ys(a,t))})),()=>{n.forEach(a=>a==null?void 0:a())}}var ks=X1("editable").parts("root","area","label","preview","input","editTrigger","submitTrigger","cancelTrigger","control"),g0=ks.build(),de=K1({getRootId:e=>{var t;return((t=e.ids)==null?void 0:t.root)??`editable:${e.id}`},getAreaId:e=>{var t;return((t=e.ids)==null?void 0:t.area)??`editable:${e.id}:area`},getLabelId:e=>{var t;return((t=e.ids)==null?void 0:t.label)??`editable:${e.id}:label`},getPreviewId:e=>{var t;return((t=e.ids)==null?void 0:t.preview)??`editable:${e.id}:preview`},getInputId:e=>{var t;return((t=e.ids)==null?void 0:t.input)??`editable:${e.id}:input`},getControlId:e=>{var t;return((t=e.ids)==null?void 0:t.controls)??`editable:${e.id}:controls`},getSubmitTriggerId:e=>{var t;return((t=e.ids)==null?void 0:t.submitTrigger)??`editable:${e.id}:submit`},getCancelTriggerId:e=>{var t;return((t=e.ids)==null?void 0:t.cancelTrigger)??`editable:${e.id}:cancel`},getEditTriggerId:e=>{var t;return((t=e.ids)==null?void 0:t.editTrigger)??`editable:${e.id}:edit`},getInputEl:e=>de.getById(e,de.getInputId(e)),getPreviewEl:e=>de.getById(e,de.getPreviewId(e)),getSubmitTriggerEl:e=>de.getById(e,de.getSubmitTriggerId(e)),getCancelTriggerEl:e=>de.getById(e,de.getCancelTriggerId(e)),getEditTriggerEl:e=>de.getById(e,de.getEditTriggerId(e))});function Ss(e,t,r){const u=e.context.disabled,n=e.context.isInteractive,a=e.context.readOnly,i=e.context.isValueEmpty,o=e.context.invalid,s=e.context.autoResize,c=e.context.translations,h=e.matches("edit"),d=e.context.placeholder,g=typeof d=="string"?{edit:d,preview:d}:d;return{isEditing:h,isValueEmpty:i,value:e.context.value,setValue(v){t({type:"SET_VALUE",value:v})},clearValue(){t({type:"SET_VALUE",value:""})},edit(){n&&t("EDIT")},cancel(){n&&t("CANCEL")},submit(){n&&t("SUBMIT")},rootProps:r.element({...g0.root.attrs,id:de.getRootId(e.context),dir:e.context.dir}),areaProps:r.element({...g0.area.attrs,id:de.getAreaId(e.context),dir:e.context.dir,style:s?{display:"inline-grid"}:void 0,"data-focus":We(h),"data-disabled":We(u),"data-placeholder-shown":We(i)}),labelProps:r.label({...g0.label.attrs,id:de.getLabelId(e.context),dir:e.context.dir,htmlFor:de.getInputId(e.context),"data-focus":We(h),"data-invalid":We(o),onPointerDown(v){var x;h||(v.preventDefault(),(x=de.getPreviewEl(e.context))==null||x.focus())}}),inputProps:r.input({...g0.input.attrs,dir:e.context.dir,"aria-label":c.input,name:e.context.name,form:e.context.form,id:de.getInputId(e.context),hidden:s?void 0:!h,placeholder:g==null?void 0:g.edit,maxLength:e.context.maxLength,disabled:u,"data-disabled":We(u),readOnly:a,"data-readonly":We(a),"aria-invalid":Jt(o),"data-invalid":We(o),defaultValue:e.context.value,size:s?1:void 0,onChange(v){t({type:"TYPE",value:v.currentTarget.value})},onKeyDown(v){const C={Escape(){t("CANCEL")},Enter(S){!S.shiftKey&&!S.metaKey&&t("ENTER")}}[v.key];C&&(v.preventDefault(),C(v))},style:s?{all:"unset",gridArea:"1 / 1 / auto / auto",visibility:h?void 0:"hidden"}:void 0}),previewProps:r.element({id:de.getPreviewId(e.context),...g0.preview.attrs,dir:e.context.dir,"data-placeholder-shown":We(i),"aria-readonly":Jt(a),"data-readonly":We(u),"data-disabled":We(u),"aria-disabled":Jt(u),"aria-invalid":Jt(o),"data-invalid":We(o),children:i?g==null?void 0:g.preview:e.context.value,hidden:s?void 0:h,tabIndex:n&&e.context.isPreviewFocusable?0:void 0,onFocus(){n&&t("FOCUS")},onDoubleClick(){n&&t("DBLCLICK")},style:s?{whiteSpace:"pre",userSelect:"none",gridArea:"1 / 1 / auto / auto",visibility:h?"hidden":void 0,overflow:"hidden",textOverflow:"ellipsis"}:void 0}),editTriggerProps:r.button({...g0.editTrigger.attrs,id:de.getEditTriggerId(e.context),dir:e.context.dir,"aria-label":c.edit,hidden:h,type:"button",disabled:u,onClick(){n&&t("EDIT")}}),controlProps:r.element({id:de.getControlId(e.context),...g0.control.attrs,dir:e.context.dir}),submitTriggerProps:r.button({...g0.submitTrigger.attrs,dir:e.context.dir,id:de.getSubmitTriggerId(e.context),"aria-label":c.submit,hidden:!h,disabled:u,type:"button",onClick(){n&&t("SUBMIT")}}),cancelTriggerProps:r.button({...g0.cancelTrigger.attrs,dir:e.context.dir,"aria-label":c.cancel,id:de.getCancelTriggerId(e.context),hidden:!h,type:"button",disabled:u,onClick(){n&&t("CANCEL")}})}}function As(e){const t=J1(e);return Q1({id:"editable",initial:t.startWithEditView?"edit":"preview",entry:t.startWithEditView?["focusInput"]:void 0,context:{activationMode:"focus",submitMode:"both",value:"",previousValue:"",selectOnFocus:!0,...t,translations:{input:"editable input",edit:"edit",submit:"submit",cancel:"cancel",...t.translations}},watch:{value:["syncInputValue"]},computed:{submitOnEnter:r=>["both","enter"].includes(r.submitMode),submitOnBlur:r=>["both","blur"].includes(r.submitMode),isInteractive:r=>!(r.disabled||r.readOnly),isValueEmpty:r=>r.value==="",isPreviewFocusable:r=>r.activationMode==="focus"},on:{SET_VALUE:{actions:"setValue"}},states:{preview:{entry:["blurInputIfNeeded"],on:{EDIT:{target:"edit",actions:["focusInput","invokeOnEdit"]},DBLCLICK:{guard:"activateOnDblClick",target:"edit",actions:["focusInput","invokeOnEdit"]},FOCUS:{guard:"activateOnFocus",target:"edit",actions:["setPreviousValue","focusInput","invokeOnEdit"]}}},edit:{activities:["trackInteractOutside"],on:{TYPE:{actions:"setValue"},BLUR:[{guard:"submitOnBlur",target:"preview",actions:["restoreFocus","invokeOnSubmit"]},{target:"preview",actions:["revertValue","restoreFocus","invokeOnCancel"]}],CANCEL:{target:"preview",actions:["revertValue","restoreFocus","invokeOnCancel"]},ENTER:{guard:"submitOnEnter",target:"preview",actions:["setPreviousValue","invokeOnSubmit","restoreFocus"]},SUBMIT:{target:"preview",actions:["setPreviousValue","invokeOnSubmit","restoreFocus"]}}}}},{guards:{submitOnBlur:r=>r.submitOnBlur,submitOnEnter:r=>r.submitOnEnter,activateOnDblClick:r=>r.activationMode==="dblclick",activateOnFocus:r=>r.activationMode==="focus"},activities:{trackInteractOutside(r,u,{send:n}){return ws(de.getInputEl(r),{exclude(a){return[de.getCancelTriggerEl(r),de.getSubmitTriggerEl(r)].some(o=>ai(o,a))},onFocusOutside:r.onFocusOutside,onPointerDownOutside:r.onPointerDownOutside,onInteractOutside(a){var o;if((o=r.onInteractOutside)==null||o.call(r,a),a.defaultPrevented)return;const{focusable:i}=a.detail;n({type:"BLUR",src:"interact-outside",focusable:i})}})}},actions:{restoreFocus(r,u){u.focusable||Bt(()=>{var a;const n=((a=r.finalFocusEl)==null?void 0:a.call(r))??de.getEditTriggerEl(r);n==null||n.focus({preventScroll:!0})})},focusInput(r){Bt(()=>{const u=de.getInputEl(r);u&&(r.selectOnFocus?u.select():u.focus({preventScroll:!0}))})},invokeOnCancel(r){var u;(u=r.onValueRevert)==null||u.call(r,{value:r.previousValue})},invokeOnSubmit(r){var u;(u=r.onValueCommit)==null||u.call(r,{value:r.value})},invokeOnEdit(r){var u;(u=r.onEdit)==null||u.call(r)},syncInputValue(r){di.value(r)},setValue(r,u){const n=r.maxLength!=null?u.value.slice(0,r.maxLength):u.value;Yn.value(r,n)},setPreviousValue(r){r.previousValue=r.value},revertValue(r){Yn.value(r,r.previousValue)},blurInputIfNeeded(r){var u;(u=de.getInputEl(r))==null||u.blur()}}})}var di={value:e=>{const t=de.getInputEl(e);de.setValue(t,e.value)}},Cs={change(e){var t;(t=e.onValueChange)==null||t.call(e,{value:e.value}),di.value(e)}},Yn={value(e,t){es(e.value,t)||(e.value=t,Cs.change(e))}};ts()(["activationMode","autoResize","dir","disabled","finalFocusEl","form","getRootNode","id","ids","invalid","maxLength","name","onEdit","onFocusOutside","onInteractOutside","onPointerDownOutside","onValueChange","onValueCommit","onValueRevert","placeholder","readOnly","selectOnFocus","startWithEditView","submitMode","translations","value"]);const Vh=Lu({__name:"Editable",props:{id:{},default:{},onValueCommit:{type:Function}},setup(e){const t=e,[r,u]=rs(As({id:t.id,selectOnFocus:!1,submitMode:"enter",onValueCommit:a=>{console.log("Value submitted",a.value),t.onValueCommit(a.value)}})),n=gt(()=>Ss(r.value,u,as));return Mr(()=>n.value.setValue(t.default)),q0(()=>t.default,()=>n.value.setValue(t.default)),(a,i)=>(ii(),us("div",{class:ns(["border-1.5 rounded",Ze(n).isEditing?"border-dark-c":"border-transparent"])},[Qt("div",Hn(Un(Ze(n).rootProps)),[Qt("div",Hn(Un(Ze(n).areaProps)),[Qt("input",Vn(Ze(n).inputProps,{class:"w-full text-center outline-none px-1 bg-transparent"}),null,16),Qt("div",Vn(Ze(n).previewProps,{"text-center":"",truncate:""}),null,16)],16)],16)],2))}}),hi="My Resume",mi={marginV:55,marginH:45,lineHeight:1.3,paragraphSpace:5,themeColor:"#000000",fontCJK:{name:"华康宋体",fontFamily:"HKST"},fontEN:{name:"Verdana"},fontSize:12,paper:"A4"},_s=`--- +var j1=Object.defineProperty;var G1=(e,t,r)=>t in e?j1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var it=(e,t,r)=>(G1(e,typeof t!="symbol"?t+"":t,r),r);import{a6 as Y1,af as W1,a5 as Pn,C as Bt,aA as qn,a7 as Au,aB as Hn,ad as ni,Y as ai,aj as Z1,k as X1,l as K1,H as We,ag as Jt,A as J1,B as Q1,E as es,G as ts,f as Lu,T as rs,U as gt,Q as Mr,N as q0,o as ii,c as us,a as Qt,$ as $n,a0 as Un,h as Ze,V as Vn,n as ns,W as as,aC as oi,aD as vr,aE as is,aF as os,aG as ss,aH as ls,aI as cs,P as si,R as H0,aJ as fs,X as ds,g as hs}from"./BPRoNp8L.js";var Pu=e=>typeof e=="object"&&e!==null&&e.nodeType===1,ms=e=>Pu(e)&&e.tagName==="IFRAME";function ps(e){return Pu(e)?e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0:!1}var li="input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false']), details > summary:first-of-type",ci=(e,t=!1)=>{if(!e)return[];const r=Array.from(e.querySelectorAll(li));(t==!0||t=="if-empty"&&r.length===0)&&Pu(e)&&gr(e)&&r.unshift(e);const n=r.filter(gr);return n.forEach((a,i)=>{if(ms(a)&&a.contentDocument){const o=a.contentDocument.body;n.splice(i,1,...ci(o))}}),n};function gr(e){return!e||e.closest("[inert]")?!1:e.matches(li)&&ps(e)}function Uh(e,t){const[r]=ci(e,t);return r||null}function bs(e){const t={each(r){var u;for(let n=0;n<((u=e.frames)==null?void 0:u.length);n+=1){const a=e.frames[n];a&&r(a)}},addEventListener(r,u,n){return t.each(a=>{try{a.document.addEventListener(r,u,n)}catch{}}),()=>{try{t.removeEventListener(r,u,n)}catch{}}},removeEventListener(r,u,n){t.each(a=>{try{a.document.removeEventListener(r,u,n)}catch{}})}};return t}var jn="pointerdown.outside",Gn="focus.outside";function vs(e){for(const t of e)if(ni(t)&&gr(t))return!0;return!1}var fi=e=>"clientY"in e;function gs(e,t){if(!fi(t)||!e)return!1;const r=e.getBoundingClientRect();return r.width===0||r.height===0?!1:r.top<=t.clientY&&t.clientY<=r.top+r.height&&r.left<=t.clientX&&t.clientX<=r.left+r.width}function xs(e){const t=Au(e);if(!t||!fi(e))return!1;const u=t.scrollHeight>t.clientHeight&&e.clientX>t.clientWidth,a=t.scrollWidth>t.clientWidth&&e.clientY>t.clientHeight;return u||a}function ys(e,t){const{exclude:r,onFocusOutside:u,onPointerDownOutside:n,onInteractOutside:a,defer:i}=t;if(!e)return;const o=Y1(e),s=W1(e),c=bs(s);function h(S){const I=Au(S);return!ni(I)||ai(e,I)||gs(e,S)||xs(S)?!1:!(r!=null&&r(I))}let d;function g(S){function I(){var L;const M=i?Bt:F=>F(),N=((L=S.composedPath)==null?void 0:L.call(S))??[S.target];M(()=>{if(!(!e||!h(S))){if(n||a){const F=Hn(n,a);e.addEventListener(jn,F,{once:!0})}qn(e,jn,{bubbles:!1,cancelable:!0,detail:{originalEvent:S,contextmenu:Z1(S),focusable:vs(N)}})}})}S.pointerType==="touch"?(c.removeEventListener("click",I),o.removeEventListener("click",I),d=I,o.addEventListener("click",I,{once:!0}),c.addEventListener("click",I,{once:!0})):I()}const v=new Set,x=setTimeout(()=>{v.add(c.addEventListener("pointerdown",g,!0)),v.add(Pn(o,"pointerdown",g,!0))},0);function C(S){(i?Bt:M=>M())(()=>{if(!(!e||!h(S))){if(u||a){const M=Hn(u,a);e.addEventListener(Gn,M,{once:!0})}qn(e,Gn,{bubbles:!1,cancelable:!0,detail:{originalEvent:S,contextmenu:!1,focusable:gr(Au(S))}})}})}return v.add(Pn(o,"focusin",C,!0)),v.add(c.addEventListener("focusin",C,!0)),()=>{clearTimeout(x),d&&(c.removeEventListener("click",d),o.removeEventListener("click",d)),v.forEach(S=>S())}}function ws(e,t){const{defer:r}=t,u=r?Bt:a=>a(),n=[];return n.push(u(()=>{const a=typeof e=="function"?e():e;n.push(ys(a,t))})),()=>{n.forEach(a=>a==null?void 0:a())}}var ks=X1("editable").parts("root","area","label","preview","input","editTrigger","submitTrigger","cancelTrigger","control"),g0=ks.build(),de=K1({getRootId:e=>{var t;return((t=e.ids)==null?void 0:t.root)??`editable:${e.id}`},getAreaId:e=>{var t;return((t=e.ids)==null?void 0:t.area)??`editable:${e.id}:area`},getLabelId:e=>{var t;return((t=e.ids)==null?void 0:t.label)??`editable:${e.id}:label`},getPreviewId:e=>{var t;return((t=e.ids)==null?void 0:t.preview)??`editable:${e.id}:preview`},getInputId:e=>{var t;return((t=e.ids)==null?void 0:t.input)??`editable:${e.id}:input`},getControlId:e=>{var t;return((t=e.ids)==null?void 0:t.controls)??`editable:${e.id}:controls`},getSubmitTriggerId:e=>{var t;return((t=e.ids)==null?void 0:t.submitTrigger)??`editable:${e.id}:submit`},getCancelTriggerId:e=>{var t;return((t=e.ids)==null?void 0:t.cancelTrigger)??`editable:${e.id}:cancel`},getEditTriggerId:e=>{var t;return((t=e.ids)==null?void 0:t.editTrigger)??`editable:${e.id}:edit`},getInputEl:e=>de.getById(e,de.getInputId(e)),getPreviewEl:e=>de.getById(e,de.getPreviewId(e)),getSubmitTriggerEl:e=>de.getById(e,de.getSubmitTriggerId(e)),getCancelTriggerEl:e=>de.getById(e,de.getCancelTriggerId(e)),getEditTriggerEl:e=>de.getById(e,de.getEditTriggerId(e))});function Ss(e,t,r){const u=e.context.disabled,n=e.context.isInteractive,a=e.context.readOnly,i=e.context.isValueEmpty,o=e.context.invalid,s=e.context.autoResize,c=e.context.translations,h=e.matches("edit"),d=e.context.placeholder,g=typeof d=="string"?{edit:d,preview:d}:d;return{isEditing:h,isValueEmpty:i,value:e.context.value,setValue(v){t({type:"SET_VALUE",value:v})},clearValue(){t({type:"SET_VALUE",value:""})},edit(){n&&t("EDIT")},cancel(){n&&t("CANCEL")},submit(){n&&t("SUBMIT")},rootProps:r.element({...g0.root.attrs,id:de.getRootId(e.context),dir:e.context.dir}),areaProps:r.element({...g0.area.attrs,id:de.getAreaId(e.context),dir:e.context.dir,style:s?{display:"inline-grid"}:void 0,"data-focus":We(h),"data-disabled":We(u),"data-placeholder-shown":We(i)}),labelProps:r.label({...g0.label.attrs,id:de.getLabelId(e.context),dir:e.context.dir,htmlFor:de.getInputId(e.context),"data-focus":We(h),"data-invalid":We(o),onPointerDown(v){var x;h||(v.preventDefault(),(x=de.getPreviewEl(e.context))==null||x.focus())}}),inputProps:r.input({...g0.input.attrs,dir:e.context.dir,"aria-label":c.input,name:e.context.name,form:e.context.form,id:de.getInputId(e.context),hidden:s?void 0:!h,placeholder:g==null?void 0:g.edit,maxLength:e.context.maxLength,disabled:u,"data-disabled":We(u),readOnly:a,"data-readonly":We(a),"aria-invalid":Jt(o),"data-invalid":We(o),defaultValue:e.context.value,size:s?1:void 0,onChange(v){t({type:"TYPE",value:v.currentTarget.value})},onKeyDown(v){const C={Escape(){t("CANCEL")},Enter(S){!S.shiftKey&&!S.metaKey&&t("ENTER")}}[v.key];C&&(v.preventDefault(),C(v))},style:s?{all:"unset",gridArea:"1 / 1 / auto / auto",visibility:h?void 0:"hidden"}:void 0}),previewProps:r.element({id:de.getPreviewId(e.context),...g0.preview.attrs,dir:e.context.dir,"data-placeholder-shown":We(i),"aria-readonly":Jt(a),"data-readonly":We(u),"data-disabled":We(u),"aria-disabled":Jt(u),"aria-invalid":Jt(o),"data-invalid":We(o),children:i?g==null?void 0:g.preview:e.context.value,hidden:s?void 0:h,tabIndex:n&&e.context.isPreviewFocusable?0:void 0,onFocus(){n&&t("FOCUS")},onDoubleClick(){n&&t("DBLCLICK")},style:s?{whiteSpace:"pre",userSelect:"none",gridArea:"1 / 1 / auto / auto",visibility:h?"hidden":void 0,overflow:"hidden",textOverflow:"ellipsis"}:void 0}),editTriggerProps:r.button({...g0.editTrigger.attrs,id:de.getEditTriggerId(e.context),dir:e.context.dir,"aria-label":c.edit,hidden:h,type:"button",disabled:u,onClick(){n&&t("EDIT")}}),controlProps:r.element({id:de.getControlId(e.context),...g0.control.attrs,dir:e.context.dir}),submitTriggerProps:r.button({...g0.submitTrigger.attrs,dir:e.context.dir,id:de.getSubmitTriggerId(e.context),"aria-label":c.submit,hidden:!h,disabled:u,type:"button",onClick(){n&&t("SUBMIT")}}),cancelTriggerProps:r.button({...g0.cancelTrigger.attrs,dir:e.context.dir,"aria-label":c.cancel,id:de.getCancelTriggerId(e.context),hidden:!h,type:"button",disabled:u,onClick(){n&&t("CANCEL")}})}}function As(e){const t=J1(e);return Q1({id:"editable",initial:t.startWithEditView?"edit":"preview",entry:t.startWithEditView?["focusInput"]:void 0,context:{activationMode:"focus",submitMode:"both",value:"",previousValue:"",selectOnFocus:!0,...t,translations:{input:"editable input",edit:"edit",submit:"submit",cancel:"cancel",...t.translations}},watch:{value:["syncInputValue"]},computed:{submitOnEnter:r=>["both","enter"].includes(r.submitMode),submitOnBlur:r=>["both","blur"].includes(r.submitMode),isInteractive:r=>!(r.disabled||r.readOnly),isValueEmpty:r=>r.value==="",isPreviewFocusable:r=>r.activationMode==="focus"},on:{SET_VALUE:{actions:"setValue"}},states:{preview:{entry:["blurInputIfNeeded"],on:{EDIT:{target:"edit",actions:["focusInput","invokeOnEdit"]},DBLCLICK:{guard:"activateOnDblClick",target:"edit",actions:["focusInput","invokeOnEdit"]},FOCUS:{guard:"activateOnFocus",target:"edit",actions:["setPreviousValue","focusInput","invokeOnEdit"]}}},edit:{activities:["trackInteractOutside"],on:{TYPE:{actions:"setValue"},BLUR:[{guard:"submitOnBlur",target:"preview",actions:["restoreFocus","invokeOnSubmit"]},{target:"preview",actions:["revertValue","restoreFocus","invokeOnCancel"]}],CANCEL:{target:"preview",actions:["revertValue","restoreFocus","invokeOnCancel"]},ENTER:{guard:"submitOnEnter",target:"preview",actions:["setPreviousValue","invokeOnSubmit","restoreFocus"]},SUBMIT:{target:"preview",actions:["setPreviousValue","invokeOnSubmit","restoreFocus"]}}}}},{guards:{submitOnBlur:r=>r.submitOnBlur,submitOnEnter:r=>r.submitOnEnter,activateOnDblClick:r=>r.activationMode==="dblclick",activateOnFocus:r=>r.activationMode==="focus"},activities:{trackInteractOutside(r,u,{send:n}){return ws(de.getInputEl(r),{exclude(a){return[de.getCancelTriggerEl(r),de.getSubmitTriggerEl(r)].some(o=>ai(o,a))},onFocusOutside:r.onFocusOutside,onPointerDownOutside:r.onPointerDownOutside,onInteractOutside(a){var o;if((o=r.onInteractOutside)==null||o.call(r,a),a.defaultPrevented)return;const{focusable:i}=a.detail;n({type:"BLUR",src:"interact-outside",focusable:i})}})}},actions:{restoreFocus(r,u){u.focusable||Bt(()=>{var a;const n=((a=r.finalFocusEl)==null?void 0:a.call(r))??de.getEditTriggerEl(r);n==null||n.focus({preventScroll:!0})})},focusInput(r){Bt(()=>{const u=de.getInputEl(r);u&&(r.selectOnFocus?u.select():u.focus({preventScroll:!0}))})},invokeOnCancel(r){var u;(u=r.onValueRevert)==null||u.call(r,{value:r.previousValue})},invokeOnSubmit(r){var u;(u=r.onValueCommit)==null||u.call(r,{value:r.value})},invokeOnEdit(r){var u;(u=r.onEdit)==null||u.call(r)},syncInputValue(r){di.value(r)},setValue(r,u){const n=r.maxLength!=null?u.value.slice(0,r.maxLength):u.value;Yn.value(r,n)},setPreviousValue(r){r.previousValue=r.value},revertValue(r){Yn.value(r,r.previousValue)},blurInputIfNeeded(r){var u;(u=de.getInputEl(r))==null||u.blur()}}})}var di={value:e=>{const t=de.getInputEl(e);de.setValue(t,e.value)}},Cs={change(e){var t;(t=e.onValueChange)==null||t.call(e,{value:e.value}),di.value(e)}},Yn={value(e,t){es(e.value,t)||(e.value=t,Cs.change(e))}};ts()(["activationMode","autoResize","dir","disabled","finalFocusEl","form","getRootNode","id","ids","invalid","maxLength","name","onEdit","onFocusOutside","onInteractOutside","onPointerDownOutside","onValueChange","onValueCommit","onValueRevert","placeholder","readOnly","selectOnFocus","startWithEditView","submitMode","translations","value"]);const Vh=Lu({__name:"Editable",props:{id:{},default:{},onValueCommit:{type:Function}},setup(e){const t=e,[r,u]=rs(As({id:t.id,selectOnFocus:!1,submitMode:"enter",onValueCommit:a=>{console.log("Value submitted",a.value),t.onValueCommit(a.value)}})),n=gt(()=>Ss(r.value,u,as));return Mr(()=>n.value.setValue(t.default)),q0(()=>t.default,()=>n.value.setValue(t.default)),(a,i)=>(ii(),us("div",{class:ns(["border-1.5 rounded",Ze(n).isEditing?"border-dark-c":"border-transparent"])},[Qt("div",$n(Un(Ze(n).rootProps)),[Qt("div",$n(Un(Ze(n).areaProps)),[Qt("input",Vn(Ze(n).inputProps,{class:"w-full text-center outline-none px-1 bg-transparent"}),null,16),Qt("div",Vn(Ze(n).previewProps,{"text-center":"",truncate:""}),null,16)],16)],16)],2))}}),hi="My Resume",mi={marginV:55,marginH:45,lineHeight:1.3,paragraphSpace:5,themeColor:"#000000",fontCJK:{name:"华康宋体",fontFamily:"HKST"},fontEN:{name:"Verdana"},fontSize:12,paper:"A4"},_s=`--- --- # Bruce Wayne @@ -233,14 +233,14 @@ ${oe} sup.crossref-ref { color: black !important; } } -`;var Ds=(()=>{try{return new CSSStyleSheet,!0}catch{}return!1})(),Ts=void 0,Ms={},qu=(e,t)=>{let r=t?Ms[t]:Ts;Ds?(r&&!(r instanceof CSSStyleSheet)&&(r=void 0),r?r.replaceSync(e):(r=new CSSStyleSheet,r.replaceSync(e),document.adoptedStyleSheets=[...document.adoptedStyleSheets,r])):(r&&!(r instanceof HTMLStyleElement)&&(r=void 0),r?r.innerHTML=e:(r=document.createElement("style"),r.setAttribute("type","text/css"),r.innerHTML=e,document.head.appendChild(r)))};const Fs=(e,t)=>`#${t} :not(.resume-header-item) > a { color: ${e.themeColor} }#${t} h1, #${t} h2, #${t} h3 { color: ${e.themeColor} }#${t} h2 { border-bottom-color: ${e.themeColor} }`,zs=(e,t)=>{const r=e.lineHeight;return`#${t} p, #${t} li { line-height: ${r.toFixed(2)} }#${t} h2, #${t} h3 { line-height: ${(r*1.154).toFixed(2)} }#${t} dl { line-height: ${(r*1.038).toFixed(2)} }`},Is=(e,t)=>`#${t} h2 { margin-top: ${e.paragraphSpace}px }`,Bs=(e,t)=>{const r=e.fontEN.fontFamily||e.fontEN.name,u=e.fontCJK.fontFamily||e.fontCJK.name;return`#${t} { font-family: ${r}, ${u} }`},Ns=(e,t)=>`#${t} { font-size: ${e.fontSize}px }`,Rs=e=>`@media print { @page { size: ${e.paper}; } }`,Os=(e,t)=>{const r=`vue-smart-pages-${t}`,u=Bs(e,r)+Ns(e,r)+Fs(e,r)+Is(e,r)+zs(e,r)+(t==="preview"?Rs(e):"");qu(u,`markdown-resume-dynamic-${t}`)},Ls=(e,t)=>{t!=="preview"&&(e=e.replaceAll(oe,`#vue-smart-pages-${t}`)),qu(e,`markdown-resume-backbone-${t}`)},$u=oi("data",()=>{const e=vr({mdContent:"",cssContent:"",mdFlag:!1,cssFlag:!1,curResumeId:null,curResumeName:hi});return{data:e,setData:(n,a)=>{e[n]=a,n==="cssContent"&&Ls(a,"preview")},toggleMdFlag:n=>{e.mdFlag=n},toggleCssFlag:n=>{e.cssFlag=n}}}),Ps=10,jh=["#000000","#377bb5","#ca3832","#ee8732","#9c5bde","#43912b"],qs=[{name:"Arial"},{name:"Courier New"},{name:"Georgia"},{name:"Palatino"},{name:"Tahoma"},{name:"Times New Roman"},{name:"Trebuchet MS"},{name:"Verdana"}],$s=[{name:"华康宋体",fontFamily:"HKST"},{name:"霞鹜文楷",fontFamily:"LXGW WenKai"}],Hs=["chinese-simplified","chinese-traditional","japanese","korean"],Gh={"Noto Sans SC":"思源黑体(简)","Noto Sans TC":"思源黑体(繁)","Noto Serif SC":"思源宋体(简)","Noto Serif TC":"思源宋体(繁)"},Yh=["思源黑体(简)","思源黑体(繁)","思源宋体(简)","思源宋体(繁)"],Us=["Baloo 2","Baloo Bhai 2","Baloo Bhaijaan 2","Baloo Bhaina 2","Baloo Chettan 2","Baloo Da 2","Baloo Paaji 2","Baloo Tamma 2","Baloo Tammudu 2","Baloo Thambi 2","Brygada 1918","Exo 2","M PLUS 1","M PLUS 1 Code","M PLUS 1p","M PLUS 2","M PLUS Rounded 1c","Shippori Mincho","Source Sans 3","Source Serif 4"],pi={A4:{h:299,w:210},letter:{h:279.4+3,w:215.9}},Vs=3.78,js=(e,t)=>~~(pi[e][t]*Vs);var bi=e=>`font-${e}`,Gs=e=>document.getElementById(bi(e))!==null,Ys=(e,t)=>{const r=document.createElement("style");r.id=bi(e),r.textContent=t,document.head.appendChild(r)},Ws="https://www.googleapis.com/webfonts/v1/webfonts",Zs="https://fonts.googleapis.com/css",vi=e=>new Promise((t,r)=>{const u=new XMLHttpRequest;u.overrideMimeType("application/json"),u.open("GET",e,!0),u.onreadystatechange=()=>{u.readyState===4&&(u.status!==200?r(new Error(`Response has status code ${u.status}`)):t(u.responseText))},u.send()}),Xs=async(e,t,r)=>{const u=new URL(Zs),n=r.join(","),a=e.map(i=>`${i.family}:${n}`);return u.searchParams.append("family",a.join("|")),u.searchParams.append("subset",t.join(",")),u.searchParams.append("font-display","swap"),vi(u.href)},Ks=e=>e.replace(/\s+/g,"-").toLowerCase(),Js=async e=>{const t=new URL(Ws);t.searchParams.append("sort","popularity"),t.searchParams.append("key",e);const r=await vi(t.href);return JSON.parse(r).items.map(n=>{const{family:a,...i}=n;return{...i,family:a,id:Ks(a)}})},Qs=async(e,t,r)=>{if(!Gs(e.id)){const u=await Xs([e],t,r);Ys(e.id,u)}},el=class{constructor(e,{families:t=[],categories:r=[],subsets:u=["latin"],variants:n=["regular"],filter:a=()=>!0,limit:i=-1,sort:o="alphabet"}={},s=()=>{}){it(this,"apiKey");it(this,"options");it(this,"activeFontFamily");it(this,"onChange");it(this,"fontMap",new Map);this.apiKey=e,this.options={families:t,categories:r,subsets:u,variants:n,filter:a,limit:i,sort:o},this.onChange=s,this.activeFontFamily=""}async init(){const e=await Js(this.apiKey);for(let t=0;t=0&&this.fontMap.size>=this.options.limit)break;(this.options.families.length===0||this.options.families.includes(r.family))&&(this.options.categories.length===0||this.options.categories.includes(r.category))&&this.options.subsets.every(u=>r.subsets.includes(u))&&this.options.variants.every(u=>r.variants.includes(u))&&this.options.filter(r)===!0&&this.fontMap.set(r.family,r)}return this.options.sort==="alphabet"&&(this.fontMap=new Map([...this.fontMap.entries()].sort(([t],[r])=>t.localeCompare(r)))),this.fontMap}getFontMap(){return this.fontMap}getActiveFont(){const e=this.fontMap.get(this.activeFontFamily);if(e)return e;throw Error(`Cannot get active font: "${this.activeFontFamily}" is not in the font list`)}async setActiveFont(e){const t=this.fontMap.get(e);if(!t)throw Error(`Cannot update active font: "${e}" is not in the font list`);this.activeFontFamily=e,await Qs(t,this.options.subsets,this.options.variants),this.onChange(t)}setOnChange(e){this.onChange=e}},tl=el;let er;const rl=e=>{const t=r=>r.some(u=>(u.fontFamily||u.name)===(e.fontFamily||e.name));return!t(qs)&&!t($s)},gi=async()=>{const t=is().public.googleFontsKey;return!er&&t!==""&&(er=new tl(t,{variants:["regular","700"],filter:r=>!Us.includes(r.family)}),await er.init()),er},ul=async e=>{if(rl(e)){const t=await gi();t&&await t.setActiveFont(e.fontFamily||e.name)}},Wh=async()=>{const e=await gi();if(!e)return{gfonts_en:[],gfonts_cjk:[]};const t=e.getFontMap(),r=[],u=[];for(const n of t.keys()){const a=t.get(n);Hs.some(i=>a.subsets.includes(i))?u.push(a):r.push(a)}return{gfonts_en:r,gfonts_cjk:u}},nl=e=>{const t=[];for(const r of typeof e=="string"?[e]:e)t.push(document.fonts.load(`12px ${r}`));return Promise.all(t)},al=e=>nl([e.fontEN.fontFamily||e.fontEN.name,e.fontCJK.fontFamily||e.fontCJK.name]);var Zh=async e=>{try{const t=await fetch(e);if(!t.ok)throw Error("Request error: "+t);return t.text()}catch(t){return Promise.reject(t)}},il=(e,t)=>{const r=n=>{if(n.stopPropagation(),!n.target.files||n.target.files.length<1)return;const a=n.target.files[0];let i=null;const o=()=>{const s=i.result;e(s)};i=new FileReader,i.onloadend=o,i.readAsText(a)},u=document.createElement("input");u.style.display="none",u.type="file",u.onchange=r,t&&(u.accept=t),document.body.appendChild(u),u.click(),document.body.removeChild(u)},ol=(e,t)=>{const r=document.createElement("a");r.href="data:text/plain;charset=utf-8,"+encodeURIComponent(t),r.download=e,r.style.display="none",document.body.appendChild(r),r.click(),document.body.removeChild(r)},xi=typeof window<"u",ui,sl=xi?/mac/i.test(((ui=navigator.userAgentData)==null?void 0:ui.platform)||navigator.platform):!1,yi=e=>JSON.parse(JSON.stringify(e));const ll=oi("style",()=>{const e=yi(mi),t=vr(e);return{styles:t,setStyle:async(u,n)=>{["fontCJK","fontEN"].includes(u)&&await ul(n),t[u]=n,["marginV","marginH"].includes(u)||Os(t,"preview")}}}),et=()=>{const e=os(),t=gt(()=>e.$toast.value);return{save:()=>{t.value.create({description:e.$i18n.t("notification.save"),type:"success"})},switch:c=>{t.value.create({description:e.$i18n.t("notification.switch",{msg:c}),type:"info"})},delete:c=>{t.value.create({description:e.$i18n.t("notification.delete",{msg:c}),type:"error"})},new:()=>{t.value.create({description:e.$i18n.t("notification.new"),type:"success"})},duplicate:c=>{t.value.create({description:e.$i18n.t("notification.duplicate",{old:c,new:c+" Copy"}),type:"success"})},correct:c=>{c===!0?t.value.create({description:e.$i18n.t("notification.correct.no"),type:"info"}):t.value.create({description:e.$i18n.t("notification.correct.yes",{num:c}),type:"success"})},import:c=>{c?t.value.create({description:e.$i18n.t("notification.import.yes"),type:"success"}):t.value.create({description:e.$i18n.t("notification.import.no"),type:"error"})}}};var tr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function cl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function rr(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var wi={exports:{}};/*! +`;var Ds=(()=>{try{return new CSSStyleSheet,!0}catch{}return!1})(),Ts=void 0,Ms={},qu=(e,t)=>{let r=t?Ms[t]:Ts;Ds?(r&&!(r instanceof CSSStyleSheet)&&(r=void 0),r?r.replaceSync(e):(r=new CSSStyleSheet,r.replaceSync(e),document.adoptedStyleSheets=[...document.adoptedStyleSheets,r])):(r&&!(r instanceof HTMLStyleElement)&&(r=void 0),r?r.innerHTML=e:(r=document.createElement("style"),r.setAttribute("type","text/css"),r.innerHTML=e,document.head.appendChild(r)))};const Fs=(e,t)=>`#${t} :not(.resume-header-item) > a { color: ${e.themeColor} }#${t} h1, #${t} h2, #${t} h3 { color: ${e.themeColor} }#${t} h2 { border-bottom-color: ${e.themeColor} }`,zs=(e,t)=>{const r=e.lineHeight;return`#${t} p, #${t} li { line-height: ${r.toFixed(2)} }#${t} h2, #${t} h3 { line-height: ${(r*1.154).toFixed(2)} }#${t} dl { line-height: ${(r*1.038).toFixed(2)} }`},Is=(e,t)=>`#${t} h2 { margin-top: ${e.paragraphSpace}px }`,Bs=(e,t)=>{const r=e.fontEN.fontFamily||e.fontEN.name,u=e.fontCJK.fontFamily||e.fontCJK.name;return`#${t} { font-family: ${r}, ${u} }`},Ns=(e,t)=>`#${t} { font-size: ${e.fontSize}px }`,Rs=e=>`@media print { @page { size: ${e.paper}; } }`,Os=(e,t)=>{const r=`vue-smart-pages-${t}`,u=Bs(e,r)+Ns(e,r)+Fs(e,r)+Is(e,r)+zs(e,r)+(t==="preview"?Rs(e):"");qu(u,`markdown-resume-dynamic-${t}`)},Ls=(e,t)=>{t!=="preview"&&(e=e.replaceAll(oe,`#vue-smart-pages-${t}`)),qu(e,`markdown-resume-backbone-${t}`)},Hu=oi("data",()=>{const e=vr({mdContent:"",cssContent:"",mdFlag:!1,cssFlag:!1,curResumeId:null,curResumeName:hi});return{data:e,setData:(n,a)=>{e[n]=a,n==="cssContent"&&Ls(a,"preview")},toggleMdFlag:n=>{e.mdFlag=n},toggleCssFlag:n=>{e.cssFlag=n}}}),Ps=10,jh=["#000000","#377bb5","#ca3832","#ee8732","#9c5bde","#43912b"],qs=[{name:"Arial"},{name:"Courier New"},{name:"Georgia"},{name:"Palatino"},{name:"Tahoma"},{name:"Times New Roman"},{name:"Trebuchet MS"},{name:"Verdana"}],Hs=[{name:"华康宋体",fontFamily:"HKST"},{name:"霞鹜文楷",fontFamily:"LXGW WenKai"}],$s=["chinese-simplified","chinese-traditional","japanese","korean"],Gh={"Noto Sans SC":"思源黑体(简)","Noto Sans TC":"思源黑体(繁)","Noto Serif SC":"思源宋体(简)","Noto Serif TC":"思源宋体(繁)"},Yh=["思源黑体(简)","思源黑体(繁)","思源宋体(简)","思源宋体(繁)"],Us=["Baloo 2","Baloo Bhai 2","Baloo Bhaijaan 2","Baloo Bhaina 2","Baloo Chettan 2","Baloo Da 2","Baloo Paaji 2","Baloo Tamma 2","Baloo Tammudu 2","Baloo Thambi 2","Brygada 1918","Exo 2","M PLUS 1","M PLUS 1 Code","M PLUS 1p","M PLUS 2","M PLUS Rounded 1c","Shippori Mincho","Source Sans 3","Source Serif 4"],pi={A4:{h:299,w:210},letter:{h:279.4+3,w:215.9}},Vs=3.78,js=(e,t)=>~~(pi[e][t]*Vs);var bi=e=>`font-${e}`,Gs=e=>document.getElementById(bi(e))!==null,Ys=(e,t)=>{const r=document.createElement("style");r.id=bi(e),r.textContent=t,document.head.appendChild(r)},Ws="https://www.googleapis.com/webfonts/v1/webfonts",Zs="https://fonts.googleapis.com/css",vi=e=>new Promise((t,r)=>{const u=new XMLHttpRequest;u.overrideMimeType("application/json"),u.open("GET",e,!0),u.onreadystatechange=()=>{u.readyState===4&&(u.status!==200?r(new Error(`Response has status code ${u.status}`)):t(u.responseText))},u.send()}),Xs=async(e,t,r)=>{const u=new URL(Zs),n=r.join(","),a=e.map(i=>`${i.family}:${n}`);return u.searchParams.append("family",a.join("|")),u.searchParams.append("subset",t.join(",")),u.searchParams.append("font-display","swap"),vi(u.href)},Ks=e=>e.replace(/\s+/g,"-").toLowerCase(),Js=async e=>{const t=new URL(Ws);t.searchParams.append("sort","popularity"),t.searchParams.append("key",e);const r=await vi(t.href);return JSON.parse(r).items.map(n=>{const{family:a,...i}=n;return{...i,family:a,id:Ks(a)}})},Qs=async(e,t,r)=>{if(!Gs(e.id)){const u=await Xs([e],t,r);Ys(e.id,u)}},el=class{constructor(e,{families:t=[],categories:r=[],subsets:u=["latin"],variants:n=["regular"],filter:a=()=>!0,limit:i=-1,sort:o="alphabet"}={},s=()=>{}){it(this,"apiKey");it(this,"options");it(this,"activeFontFamily");it(this,"onChange");it(this,"fontMap",new Map);this.apiKey=e,this.options={families:t,categories:r,subsets:u,variants:n,filter:a,limit:i,sort:o},this.onChange=s,this.activeFontFamily=""}async init(){const e=await Js(this.apiKey);for(let t=0;t=0&&this.fontMap.size>=this.options.limit)break;(this.options.families.length===0||this.options.families.includes(r.family))&&(this.options.categories.length===0||this.options.categories.includes(r.category))&&this.options.subsets.every(u=>r.subsets.includes(u))&&this.options.variants.every(u=>r.variants.includes(u))&&this.options.filter(r)===!0&&this.fontMap.set(r.family,r)}return this.options.sort==="alphabet"&&(this.fontMap=new Map([...this.fontMap.entries()].sort(([t],[r])=>t.localeCompare(r)))),this.fontMap}getFontMap(){return this.fontMap}getActiveFont(){const e=this.fontMap.get(this.activeFontFamily);if(e)return e;throw Error(`Cannot get active font: "${this.activeFontFamily}" is not in the font list`)}async setActiveFont(e){const t=this.fontMap.get(e);if(!t)throw Error(`Cannot update active font: "${e}" is not in the font list`);this.activeFontFamily=e,await Qs(t,this.options.subsets,this.options.variants),this.onChange(t)}setOnChange(e){this.onChange=e}},tl=el;let er;const rl=e=>{const t=r=>r.some(u=>(u.fontFamily||u.name)===(e.fontFamily||e.name));return!t(qs)&&!t(Hs)},gi=async()=>{const t=is().public.googleFontsKey;return!er&&t!==""&&(er=new tl(t,{variants:["regular","700"],filter:r=>!Us.includes(r.family)}),await er.init()),er},ul=async e=>{if(rl(e)){const t=await gi();t&&await t.setActiveFont(e.fontFamily||e.name)}},Wh=async()=>{const e=await gi();if(!e)return{gfonts_en:[],gfonts_cjk:[]};const t=e.getFontMap(),r=[],u=[];for(const n of t.keys()){const a=t.get(n);$s.some(i=>a.subsets.includes(i))?u.push(a):r.push(a)}return{gfonts_en:r,gfonts_cjk:u}},nl=e=>{const t=[];for(const r of typeof e=="string"?[e]:e)t.push(document.fonts.load(`12px ${r}`));return Promise.all(t)},al=e=>nl([e.fontEN.fontFamily||e.fontEN.name,e.fontCJK.fontFamily||e.fontCJK.name]);var Zh=async e=>{try{const t=await fetch(e);if(!t.ok)throw Error("Request error: "+t);return t.text()}catch(t){return Promise.reject(t)}},il=(e,t)=>{const r=n=>{if(n.stopPropagation(),!n.target.files||n.target.files.length<1)return;const a=n.target.files[0];let i=null;const o=()=>{const s=i.result;e(s)};i=new FileReader,i.onloadend=o,i.readAsText(a)},u=document.createElement("input");u.style.display="none",u.type="file",u.onchange=r,t&&(u.accept=t),document.body.appendChild(u),u.click(),document.body.removeChild(u)},ol=(e,t)=>{const r=document.createElement("a");r.href="data:text/plain;charset=utf-8,"+encodeURIComponent(t),r.download=e,r.style.display="none",document.body.appendChild(r),r.click(),document.body.removeChild(r)},xi=typeof window<"u",ui,sl=xi?/mac/i.test(((ui=navigator.userAgentData)==null?void 0:ui.platform)||navigator.platform):!1,yi=e=>JSON.parse(JSON.stringify(e));const ll=oi("style",()=>{const e=yi(mi),t=vr(e);return{styles:t,setStyle:async(u,n)=>{["fontCJK","fontEN"].includes(u)&&await ul(n),t[u]=n,["marginV","marginH"].includes(u)||Os(t,"preview")}}}),et=()=>{const e=os(),t=gt(()=>e.$toast.value);return{save:()=>{t.value.create({description:e.$i18n.t("notification.save"),type:"success"})},switch:c=>{t.value.create({description:e.$i18n.t("notification.switch",{msg:c}),type:"info"})},delete:c=>{t.value.create({description:e.$i18n.t("notification.delete",{msg:c}),type:"error"})},new:()=>{t.value.create({description:e.$i18n.t("notification.new"),type:"success"})},duplicate:c=>{t.value.create({description:e.$i18n.t("notification.duplicate",{old:c,new:c+" Copy"}),type:"success"})},correct:c=>{c===!0?t.value.create({description:e.$i18n.t("notification.correct.no"),type:"info"}):t.value.create({description:e.$i18n.t("notification.correct.yes",{num:c}),type:"success"})},import:c=>{c?t.value.create({description:e.$i18n.t("notification.import.yes"),type:"success"}):t.value.create({description:e.$i18n.t("notification.import.no"),type:"error"})}}};var tr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function cl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function rr(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var wi={exports:{}};/*! localForage -- Offline Storage, Improved Version 1.10.0 https://localforage.github.io/localForage (c) 2013-2017 Mozilla, Apache License 2.0 -*/(function(e,t){(function(r){e.exports=r()})(function(){return function r(u,n,a){function i(c,h){if(!n[c]){if(!u[c]){var d=typeof rr=="function"&&rr;if(!h&&d)return d(c,!0);if(o)return o(c,!0);var g=new Error("Cannot find module '"+c+"'");throw g.code="MODULE_NOT_FOUND",g}var v=n[c]={exports:{}};u[c][0].call(v.exports,function(x){var C=u[c][1][x];return i(C||x)},v,v.exports,r,u,n,a)}return n[c].exports}for(var o=typeof rr=="function"&&rr,s=0;s"u"&&r(3);var d=Promise;function g(b,A){A&&b.then(function(y){A(null,y)},function(y){A(y)})}function v(b,A,y){typeof A=="function"&&b.then(A),typeof y=="function"&&b.catch(y)}function x(b){return typeof b!="string"&&(console.warn(b+" used as a key, but it is not a string."),b=String(b)),b}function C(){if(arguments.length&&typeof arguments[arguments.length-1]=="function")return arguments[arguments.length-1]}var S="local-forage-detect-blob-support",I=void 0,M={},N=Object.prototype.toString,L="readonly",F="readwrite";function R(b){for(var A=b.length,y=new ArrayBuffer(A),D=new Uint8Array(y),T=0;T=43)}}).catch(function(){return!1})}function Z(b){return typeof I=="boolean"?d.resolve(I):H(b).then(function(A){return I=A,I})}function K(b){var A=M[b.name],y={};y.promise=new d(function(D,T){y.resolve=D,y.reject=T}),A.deferredOperations.push(y),A.dbReady?A.dbReady=A.dbReady.then(function(){return y.promise}):A.dbReady=y.promise}function le(b){var A=M[b.name],y=A.deferredOperations.pop();if(y)return y.resolve(),y.promise}function ie(b,A){var y=M[b.name],D=y.deferredOperations.pop();if(D)return D.reject(A),D.promise}function ae(b,A){return new d(function(y,D){if(M[b.name]=M[b.name]||Ie(),b.db)if(A)K(b),b.db.close();else return y(b.db);var T=[b.name];A&&T.push(b.version);var E=s.open.apply(s,T);A&&(E.onupgradeneeded=function(B){var P=E.result;try{P.createObjectStore(b.storeName),B.oldVersion<=1&&P.createObjectStore(S)}catch(U){if(U.name==="ConstraintError")console.warn('The database "'+b.name+'" has been upgraded from version '+B.oldVersion+" to version "+B.newVersion+', but the storage "'+b.storeName+'" already exists.');else throw U}}),E.onerror=function(B){B.preventDefault(),D(E.error)},E.onsuccess=function(){var B=E.result;B.onversionchange=function(P){P.target.close()},y(B),le(b)}})}function ke(b){return ae(b,!1)}function ve(b){return ae(b,!0)}function me(b,A){if(!b.db)return!0;var y=!b.db.objectStoreNames.contains(b.storeName),D=b.versionb.db.version;if(D&&(b.version!==A&&console.warn('The database "'+b.name+`" can't be downgraded from version `+b.db.version+" to version "+b.version+"."),b.version=b.db.version),T||y){if(y){var E=b.db.version+1;E>b.version&&(b.version=E)}return!0}return!1}function Le(b){return new d(function(A,y){var D=new FileReader;D.onerror=y,D.onloadend=function(T){var E=btoa(T.target.result||"");A({__local_forage_encoded_blob:!0,data:E,type:b.type})},D.readAsBinaryString(b)})}function Ue(b){var A=R(atob(b.data));return h([A],{type:b.type})}function b0(b){return b&&b.__local_forage_encoded_blob}function Ct(b){var A=this,y=A._initReady().then(function(){var D=M[A._dbInfo.name];if(D&&D.dbReady)return D.dbReady});return v(y,b,b),y}function a0(b){K(b);for(var A=M[b.name],y=A.forages,D=0;D0&&(!b.db||E.name==="InvalidStateError"||E.name==="NotFoundError"))return d.resolve().then(function(){if(!b.db||E.name==="NotFoundError"&&!b.db.objectStoreNames.contains(b.storeName)&&b.version<=b.db.version)return b.db&&(b.version=b.db.version+1),ve(b)}).then(function(){return a0(b).then(function(){Te(b,A,y,D-1)})}).catch(y);y(E)}}function Ie(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function Z0(b){var A=this,y={db:null};if(b)for(var D in b)y[D]=b[D];var T=M[y.name];T||(T=Ie(),M[y.name]=T),T.forages.push(A),A._initReady||(A._initReady=A.ready,A.ready=Ct);var E=[];function B(){return d.resolve()}for(var P=0;P>4,j[T++]=(B&15)<<4|P>>2,j[T++]=(P&3)<<6|U&63;return V}function Wr(b){var A=new Uint8Array(b),y="",D;for(D=0;D>2],y+=r0[(A[D]&3)<<4|A[D+1]>>4],y+=r0[(A[D+1]&15)<<2|A[D+2]>>6],y+=r0[A[D+2]&63];return A.length%3===2?y=y.substring(0,y.length-1)+"=":A.length%3===1&&(y=y.substring(0,y.length-2)+"=="),y}function o1(b,A){var y="";if(b&&(y=Fn.call(b)),b&&(y==="[object ArrayBuffer]"||b.buffer&&Fn.call(b.buffer)==="[object ArrayBuffer]")){var D,T=v0;b instanceof ArrayBuffer?(D=b,T+=Gr):(D=b.buffer,y==="[object Int8Array]"?T+=wn:y==="[object Uint8Array]"?T+=kn:y==="[object Uint8ClampedArray]"?T+=Sn:y==="[object Int16Array]"?T+=An:y==="[object Uint16Array]"?T+=_n:y==="[object Int32Array]"?T+=Cn:y==="[object Uint32Array]"?T+=En:y==="[object Float32Array]"?T+=Dn:y==="[object Float64Array]"?T+=Tn:A(new Error("Failed to get type for BinaryArray"))),A(T+Wr(D))}else if(y==="[object Blob]"){var E=new FileReader;E.onload=function(){var B=Xt+b.type+"~"+Wr(this.result);A(v0+Yr+B)},E.readAsArrayBuffer(b)}else try{A(JSON.stringify(b))}catch(B){console.error("Couldn't convert value into a JSON string: ",b),A(null,B)}}function s1(b){if(b.substring(0,F0)!==v0)return JSON.parse(b);var A=b.substring(Mn),y=b.substring(F0,Mn),D;if(y===Yr&&nt.test(A)){var T=A.match(nt);D=T[1],A=A.substring(T[0].length)}var E=zn(A);switch(y){case Gr:return E;case Yr:return h([E],{type:D});case wn:return new Int8Array(E);case kn:return new Uint8Array(E);case Sn:return new Uint8ClampedArray(E);case An:return new Int16Array(E);case _n:return new Uint16Array(E);case Cn:return new Int32Array(E);case En:return new Uint32Array(E);case Dn:return new Float32Array(E);case Tn:return new Float64Array(E);default:throw new Error("Unkown type: "+y)}}var Zr={serialize:o1,deserialize:s1,stringToBuffer:zn,bufferToString:Wr};function In(b,A,y,D){b.executeSql("CREATE TABLE IF NOT EXISTS "+A.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],y,D)}function l1(b){var A=this,y={db:null};if(b)for(var D in b)y[D]=typeof b[D]!="string"?b[D].toString():b[D];var T=new d(function(E,B){try{y.db=openDatabase(y.name,String(y.version),y.description,y.size)}catch(P){return B(P)}y.db.transaction(function(P){In(P,y,function(){A._dbInfo=y,E()},function(U,V){B(V)})},B)});return y.serializer=Zr,T}function z0(b,A,y,D,T,E){b.executeSql(y,D,T,function(B,P){P.code===P.SYNTAX_ERR?B.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[A.storeName],function(U,V){V.rows.length?E(U,P):In(U,A,function(){U.executeSql(y,D,T,E)},E)},E):E(B,P)},E)}function c1(b,A){var y=this;b=x(b);var D=new d(function(T,E){y.ready().then(function(){var B=y._dbInfo;B.db.transaction(function(P){z0(P,B,"SELECT * FROM "+B.storeName+" WHERE key = ? LIMIT 1",[b],function(U,V){var j=V.rows.length?V.rows.item(0).value:null;j&&(j=B.serializer.deserialize(j)),T(j)},function(U,V){E(V)})})}).catch(E)});return g(D,A),D}function f1(b,A){var y=this,D=new d(function(T,E){y.ready().then(function(){var B=y._dbInfo;B.db.transaction(function(P){z0(P,B,"SELECT * FROM "+B.storeName,[],function(U,V){for(var j=V.rows,X=j.length,ne=0;ne0){B(Bn.apply(T,[b,U,y,D-1]));return}P(ne)}})})}).catch(P)});return g(E,y),E}function d1(b,A,y){return Bn.apply(this,[b,A,y,1])}function h1(b,A){var y=this;b=x(b);var D=new d(function(T,E){y.ready().then(function(){var B=y._dbInfo;B.db.transaction(function(P){z0(P,B,"DELETE FROM "+B.storeName+" WHERE key = ?",[b],function(){T()},function(U,V){E(V)})})}).catch(E)});return g(D,A),D}function m1(b){var A=this,y=new d(function(D,T){A.ready().then(function(){var E=A._dbInfo;E.db.transaction(function(B){z0(B,E,"DELETE FROM "+E.storeName,[],function(){D()},function(P,U){T(U)})})}).catch(T)});return g(y,b),y}function p1(b){var A=this,y=new d(function(D,T){A.ready().then(function(){var E=A._dbInfo;E.db.transaction(function(B){z0(B,E,"SELECT COUNT(key) as c FROM "+E.storeName,[],function(P,U){var V=U.rows.item(0).c;D(V)},function(P,U){T(U)})})}).catch(T)});return g(y,b),y}function b1(b,A){var y=this,D=new d(function(T,E){y.ready().then(function(){var B=y._dbInfo;B.db.transaction(function(P){z0(P,B,"SELECT key FROM "+B.storeName+" WHERE id = ? LIMIT 1",[b+1],function(U,V){var j=V.rows.length?V.rows.item(0).key:null;T(j)},function(U,V){E(V)})})}).catch(E)});return g(D,A),D}function v1(b){var A=this,y=new d(function(D,T){A.ready().then(function(){var E=A._dbInfo;E.db.transaction(function(B){z0(B,E,"SELECT key FROM "+E.storeName,[],function(P,U){for(var V=[],j=0;j '__WebKitDatabaseInfoTable__'",[],function(T,E){for(var B=[],P=0;P0}function A1(b){var A=this,y={};if(b)for(var D in b)y[D]=b[D];return y.keyPrefix=Nn(b,A._defaultConfig),S1()?(A._dbInfo=y,y.serializer=Zr,d.resolve()):d.reject()}function C1(b){var A=this,y=A.ready().then(function(){for(var D=A._dbInfo.keyPrefix,T=localStorage.length-1;T>=0;T--){var E=localStorage.key(T);E.indexOf(D)===0&&localStorage.removeItem(E)}});return g(y,b),y}function _1(b,A){var y=this;b=x(b);var D=y.ready().then(function(){var T=y._dbInfo,E=localStorage.getItem(T.keyPrefix+b);return E&&(E=T.serializer.deserialize(E)),E});return g(D,A),D}function E1(b,A){var y=this,D=y.ready().then(function(){for(var T=y._dbInfo,E=T.keyPrefix,B=E.length,P=localStorage.length,U=1,V=0;V=0;B--){var P=localStorage.key(B);P.indexOf(E)===0&&localStorage.removeItem(P)}}):T=d.reject("Invalid arguments"),g(T,A),T}var B1={_driver:"localStorageWrapper",_initStorage:A1,_support:w1(),iterate:E1,getItem:_1,setItem:z1,removeItem:F1,clear:C1,length:M1,key:D1,keys:T1,dropInstance:I1},N1=function(A,y){return A===y||typeof A=="number"&&typeof y=="number"&&isNaN(A)&&isNaN(y)},R1=function(A,y){for(var D=A.length,T=0;T"u"?"undefined":a(y))==="object"){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var D in y){if(D==="storeName"&&(y[D]=y[D].replace(/\W/g,"_")),D==="version"&&typeof y[D]!="number")return new Error("Database version must be a number.");this._config[D]=y[D]}return"driver"in y&&y.driver?this.setDriver(this._config.driver):!0}else return typeof y=="string"?this._config[y]:this._config},b.prototype.defineDriver=function(y,D,T){var E=new d(function(B,P){try{var U=y._driver,V=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!y._driver){P(V);return}for(var j=Xr.concat("_initStorage"),X=0,ne=j.length;Xxi?xt.getItem(yt):null,Xh=async()=>{const e=await Y0()||{};return Object.keys(e).map(t=>({id:t,...e[t]})).sort((t,r)=>(r.update||r.id).localeCompare(t.update||t.id))},fl=e=>{const{setStyle:t}=ll();for(const r of Object.keys(e))t(r,e[r])},dl=e=>{const{setData:t,toggleMdFlag:r}=$u();t("mdContent",e),r(!0)},hl=e=>{const{setData:t,toggleCssFlag:r}=$u();t("cssContent",e),r(!0)},ml=(e,t)=>{const{setData:r}=$u();r("curResumeId",e),r("curResumeName",t.name),dl(t.markdown),hl(t.css),fl(t.styles)},pl=async(e,t)=>{const r=await Y0()||{};r[e]=t,await xt.setItem(yt,r),et().save()},Kh=async()=>{const e=new Date().getTime().toString();return await pl(e,{name:hi,markdown:_s,css:Es,styles:mi,update:e}),et().new(),e},Jh=async()=>{const e=await Y0()||{};ol("MARKDOWN_RESUME_data.json",JSON.stringify(e))},Qh=async e=>{const t=et(),r=a=>{for(const i of Object.values(a)){if(typeof i.name!="string"||typeof i.markdown!="string"||typeof i.css!="string"||typeof i.styles!="object"||!["string","undefined"].includes(typeof i.update))return!1;const o=i.styles;if(typeof o.fontSize!="number"||typeof o.lineHeight!="number"||typeof o.marginH!="number"||typeof o.marginV!="number"||typeof o.paper!="string"||typeof o.paragraphSpace!="number"||typeof o.themeColor!="string"||typeof o.fontCJK!="object"||typeof o.fontCJK.name!="string"||typeof o.fontEN!="object"||typeof o.fontEN.name!="string")return!1}return!0},u=await Y0()||{};il(async a=>{const i=JSON.parse(a);if(!r(i)){t.import(!1);return}const o={...u,...i};await xt.setItem(yt,o),t.import(!0),e&&e()},".json")},e6=async e=>{const t=et(),r=await Y0();if(r&&r[e]){const u=r[e].name;delete r[e],await xt.setItem(yt,r),t.delete(u)}},t6=async e=>{const t=et(),r=await Y0();return r&&r[e]?(ml(e,r[e]),t.switch(r[e].name),!0):!1},r6=async e=>{const t=et(),r=await Y0();if(r&&r[e]){const u=yi(r[e]),n=new Date().getTime().toString(),a=u.name;u.name=a+" Copy",u.update=n,r[n]=u,await xt.setItem(yt,r),t.duplicate(a)}},u6=async(e,t)=>{const r=await Y0()||{};r[e].name=t,await xt.setItem(yt,r),et().save()};function Hu(e){return ls()?(cs(e),!0):!1}function Nt(e){return typeof e=="function"?e():Ze(e)}const bl=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const vl=Object.prototype.toString,gl=e=>vl.call(e)==="[object Object]",ki=()=>{};function xl(e){return e||si()}function Si(e,t=!0,r){xl()?Mr(e,r):t?e():ss(e)}function J0(e){var t;const r=Nt(e);return(t=r==null?void 0:r.$el)!=null?t:r}const wt=bl?window:void 0;function Mt(...e){let t,r,u,n;if(typeof e[0]=="string"||Array.isArray(e[0])?([r,u,n]=e,t=wt):[t,r,u,n]=e,!t)return ki;Array.isArray(r)||(r=[r]),Array.isArray(u)||(u=[u]);const a=[],i=()=>{a.forEach(h=>h()),a.length=0},o=(h,d,g,v)=>(h.addEventListener(d,g,v),()=>h.removeEventListener(d,g,v)),s=q0(()=>[J0(t),Nt(n)],([h,d])=>{if(i(),!h)return;const g=gl(d)?{...d}:d;a.push(...r.flatMap(v=>u.map(x=>o(h,v,x,g))))},{immediate:!0,flush:"post"}),c=()=>{s(),i()};return Hu(c),c}function yl(){const e=$0(!1),t=si();return t&&Mr(()=>{e.value=!0},t),e}function Ai(e){const t=yl();return gt(()=>(t.value,!!e()))}function wl(e,t={}){const{window:r=wt}=t,u=Ai(()=>r&&"matchMedia"in r&&typeof r.matchMedia=="function");let n;const a=$0(!1),i=c=>{a.value=c.matches},o=()=>{n&&("removeEventListener"in n?n.removeEventListener("change",i):n.removeListener(i))},s=fs(()=>{u.value&&(o(),n=r.matchMedia(Nt(e)),"addEventListener"in n?n.addEventListener("change",i):n.addListener(i),a.value=n.matches)});return Hu(()=>{s(),o(),n=void 0}),a}function kl(e,t,r={}){const{window:u=wt,...n}=r;let a;const i=Ai(()=>u&&"ResizeObserver"in u),o=()=>{a&&(a.disconnect(),a=void 0)},s=gt(()=>Array.isArray(e)?e.map(d=>J0(d)):[J0(e)]),c=q0(s,d=>{if(o(),i.value&&u){a=new ResizeObserver(t);for(const g of d)g&&a.observe(g,n)}},{immediate:!0,flush:"post"}),h=()=>{o(),c()};return Hu(h),{isSupported:i,stop:h}}function n6(e,t={width:0,height:0},r={}){const{window:u=wt,box:n="content-box"}=r,a=gt(()=>{var d,g;return(g=(d=J0(e))==null?void 0:d.namespaceURI)==null?void 0:g.includes("svg")}),i=$0(t.width),o=$0(t.height),{stop:s}=kl(e,([d])=>{const g=n==="border-box"?d.borderBoxSize:n==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(u&&a.value){const v=J0(e);if(v){const x=u.getComputedStyle(v);i.value=Number.parseFloat(x.width),o.value=Number.parseFloat(x.height)}}else if(g){const v=Array.isArray(g)?g:[g];i.value=v.reduce((x,{inlineSize:C})=>x+C,0),o.value=v.reduce((x,{blockSize:C})=>x+C,0)}else i.value=d.contentRect.width,o.value=d.contentRect.height},r);Si(()=>{const d=J0(e);d&&(i.value="offsetWidth"in d?d.offsetWidth:t.width,o.value="offsetHeight"in d?d.offsetHeight:t.height)});const c=q0(()=>J0(e),d=>{i.value=d?t.width:0,o.value=d?t.height:0});function h(){s(),c()}return{width:i,height:o,stop:h}}const Sl={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function Al(e={}){const{reactive:t=!1,target:r=wt,aliasMap:u=Sl,passive:n=!0,onEventFired:a=ki}=e,i=vr(new Set),o={toJSON(){return{}},current:i},s=t?vr(o):o,c=new Set,h=new Set;function d(C,S){C in s&&(t?s[C]=S:s[C].value=S)}function g(){i.clear();for(const C of h)d(C,!1)}function v(C,S){var I,M;const N=(I=C.key)==null?void 0:I.toLowerCase(),F=[(M=C.code)==null?void 0:M.toLowerCase(),N].filter(Boolean);N&&(S?i.add(N):i.delete(N));for(const R of F)h.add(R),d(R,S);N==="meta"&&!S?(c.forEach(R=>{i.delete(R),d(R,!1)}),c.clear()):typeof C.getModifierState=="function"&&C.getModifierState("Meta")&&S&&[...i,...F].forEach(R=>c.add(R))}Mt(r,"keydown",C=>(v(C,!0),a(C)),{passive:n}),Mt(r,"keyup",C=>(v(C,!1),a(C)),{passive:n}),Mt("blur",g,{passive:!0}),Mt("focus",g,{passive:!0});const x=new Proxy(s,{get(C,S,I){if(typeof S!="string")return Reflect.get(C,S,I);if(S=S.toLowerCase(),S in u&&(S=u[S]),!(S in s))if(/[+_-]/.test(S)){const N=S.split(/[+_-]/g).map(L=>L.trim());s[S]=gt(()=>N.every(L=>Nt(x[L])))}else s[S]=$0(!1);const M=Reflect.get(C,S,I);return t?Nt(M):M}});return x}function a6(e={}){const{window:t=wt,initialWidth:r=Number.POSITIVE_INFINITY,initialHeight:u=Number.POSITIVE_INFINITY,listenOrientation:n=!0,includeScrollbar:a=!0}=e,i=$0(r),o=$0(u),s=()=>{t&&(a?(i.value=t.innerWidth,o.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,o.value=t.document.documentElement.clientHeight))};if(s(),Si(s),Mt("resize",s,{passive:!0}),n){const c=wl("(orientation: portrait)");q0(c,()=>s())}return{width:i,height:o}}var i6=(e,t)=>{const r=e.replace("ctrl",sl?"meta":"ctrl"),u=Al({passive:!1,onEventFired:i=>{if(i.type!=="keydown")return;let o=!0;for(const s of r.split("+"))switch(s){case"ctrl":i.ctrlKey||(o=!1);break;case"meta":i.metaKey||(o=!1);break;case"shift":i.shiftKey||(o=!1);break;default:i.key!==s&&(o=!1)}o&&i.preventDefault()}}),n=u[r],{current:a}=u;q0(n,i=>{i&&a.size===r.split("+").length&&t()})};function Wn(e,t,r){var u,n,a;t===void 0&&(t=50),r===void 0&&(r={});var i=(u=r.isImmediate)!=null&&u,o=(n=r.callback)!=null&&n,s=r.maxWait,c=Date.now(),h=[];function d(){if(s!==void 0){var v=Date.now()-c;if(v+t>=s)return s-v}return t}var g=function(){var v=[].slice.call(arguments),x=this;return new Promise(function(C,S){var I=i&&a===void 0;if(a!==void 0&&clearTimeout(a),a=setTimeout(function(){if(a=void 0,c=Date.now(),!i){var N=e.apply(x,v);o&&o(N),h.forEach(function(L){return(0,L.resolve)(N)}),h=[]}},d()),I){var M=e.apply(x,v);return o&&o(M),C(M)}h.push({resolve:C,reject:S})})};return g.cancel=function(v){a!==void 0&&clearTimeout(a),h.forEach(function(x){return(0,x.reject)(v)}),h=[]},g}const Zn={};function Cl(e){let t=Zn[e];if(t)return t;t=Zn[e]=[];for(let r=0;r<128;r++){const u=String.fromCharCode(r);t.push(u)}for(let r=0;r=55296&&h<=57343?n+="���":n+=String.fromCharCode(h),a+=6;continue}}if((o&248)===240&&a+91114111?n+="����":(d-=65536,n+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),a+=9;continue}}n+="�"}return n})}mt.defaultChars=";/?:@&=+$,#";mt.componentChars="";const Xn={};function _l(e){let t=Xn[e];if(t)return t;t=Xn[e]=[];for(let r=0;r<128;r++){const u=String.fromCharCode(r);/^[0-9a-z]$/i.test(u)?t.push(u):t.push("%"+("0"+r.toString(16).toUpperCase()).slice(-2))}for(let r=0;r"u"&&(r=!0);const u=_l(t);let n="";for(let a=0,i=e.length;a=55296&&o<=57343){if(o>=55296&&o<=56319&&a+1=56320&&s<=57343){n+=encodeURIComponent(e[a]+e[a+1]),a++;continue}}n+="%EF%BF%BD";continue}n+=encodeURIComponent(e[a])}return n}Ut.defaultChars=";/?:@&=+$,-_.!~*'()#";Ut.componentChars="-_.!~*'()";function Uu(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function xr(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const El=/^([a-z0-9.+-]+:)/i,Dl=/:[0-9]*$/,Tl=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Ml=["<",">",'"',"`"," ","\r",` -`," "],Fl=["{","}","|","\\","^","`"].concat(Ml),zl=["'"].concat(Fl),Kn=["%","/","?",";","#"].concat(zl),Jn=["/","?","#"],Il=255,Qn=/^[+a-z0-9A-Z_-]{0,63}$/,Bl=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,ea={javascript:!0,"javascript:":!0},ta={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Vu(e,t){if(e&&e instanceof xr)return e;const r=new xr;return r.parse(e,t),r}xr.prototype.parse=function(e,t){let r,u,n,a=e;if(a=a.trim(),!t&&e.split("#").length===1){const c=Tl.exec(a);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}let i=El.exec(a);if(i&&(i=i[0],r=i.toLowerCase(),this.protocol=i,a=a.substr(i.length)),(t||i||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(n=a.substr(0,2)==="//",n&&!(i&&ea[i])&&(a=a.substr(2),this.slashes=!0)),!ea[i]&&(n||i&&!ta[i])){let c=-1;for(let x=0;x127?M+="x":M+=I[N];if(!M.match(Qn)){const N=x.slice(0,C),L=x.slice(C+1),F=I.match(Bl);F&&(N.push(F[1]),L.unshift(F[2])),L.length&&(a=L.join(".")+a),this.hostname=N.join(".");break}}}}this.hostname.length>Il&&(this.hostname=""),v&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const o=a.indexOf("#");o!==-1&&(this.hash=a.substr(o),a=a.slice(0,o));const s=a.indexOf("?");return s!==-1&&(this.search=a.substr(s),a=a.slice(0,s)),a&&(this.pathname=a),ta[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this};xr.prototype.parseHost=function(e){let t=Dl.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const Nl=Object.freeze(Object.defineProperty({__proto__:null,decode:mt,encode:Ut,format:Uu,parse:Vu},Symbol.toStringTag,{value:"Module"})),Ci=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,_i=/[\0-\x1F\x7F-\x9F]/,Rl=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,ju=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Ei=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,Di=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Ol=Object.freeze(Object.defineProperty({__proto__:null,Any:Ci,Cc:_i,Cf:Rl,P:ju,S:Ei,Z:Di},Symbol.toStringTag,{value:"Module"})),Ll=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),Pl=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var eu;const ql=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),$l=(eu=String.fromCodePoint)!==null&&eu!==void 0?eu:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function Hl(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=ql.get(e))!==null&&t!==void 0?t:e}var Fe;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Fe||(Fe={}));const Ul=32;var O0;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(O0||(O0={}));function Cu(e){return e>=Fe.ZERO&&e<=Fe.NINE}function Vl(e){return e>=Fe.UPPER_A&&e<=Fe.UPPER_F||e>=Fe.LOWER_A&&e<=Fe.LOWER_F}function jl(e){return e>=Fe.UPPER_A&&e<=Fe.UPPER_Z||e>=Fe.LOWER_A&&e<=Fe.LOWER_Z||Cu(e)}function Gl(e){return e===Fe.EQUALS||jl(e)}var Me;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Me||(Me={}));var R0;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(R0||(R0={}));class Yl{constructor(t,r,u){this.decodeTree=t,this.emitCodePoint=r,this.errors=u,this.state=Me.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=R0.Strict}startEntity(t){this.decodeMode=t,this.state=Me.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,r){switch(this.state){case Me.EntityStart:return t.charCodeAt(r)===Fe.NUM?(this.state=Me.NumericStart,this.consumed+=1,this.stateNumericStart(t,r+1)):(this.state=Me.NamedEntity,this.stateNamedEntity(t,r));case Me.NumericStart:return this.stateNumericStart(t,r);case Me.NumericDecimal:return this.stateNumericDecimal(t,r);case Me.NumericHex:return this.stateNumericHex(t,r);case Me.NamedEntity:return this.stateNamedEntity(t,r)}}stateNumericStart(t,r){return r>=t.length?-1:(t.charCodeAt(r)|Ul)===Fe.LOWER_X?(this.state=Me.NumericHex,this.consumed+=1,this.stateNumericHex(t,r+1)):(this.state=Me.NumericDecimal,this.stateNumericDecimal(t,r))}addToNumericResult(t,r,u,n){if(r!==u){const a=u-r;this.result=this.result*Math.pow(n,a)+parseInt(t.substr(r,a),n),this.consumed+=a}}stateNumericHex(t,r){const u=r;for(;r>14;for(;r>14,a!==0){if(i===Fe.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==R0.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:r,decodeTree:u}=this,n=(u[r]&O0.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,n,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,r,u){const{decodeTree:n}=this;return this.emitCodePoint(r===1?n[t]&~O0.VALUE_LENGTH:n[t+1],u),r===3&&this.emitCodePoint(n[t+2],u),u}end(){var t;switch(this.state){case Me.NamedEntity:return this.result!==0&&(this.decodeMode!==R0.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Me.NumericDecimal:return this.emitNumericEntity(0,2);case Me.NumericHex:return this.emitNumericEntity(0,3);case Me.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Me.EntityStart:return 0}}}function Ti(e){let t="";const r=new Yl(e,u=>t+=$l(u));return function(n,a){let i=0,o=0;for(;(o=n.indexOf("&",o))>=0;){t+=n.slice(i,o),r.startEntity(a);const c=r.write(n,o+1);if(c<0){i=o+r.end();break}i=o+c,o=c===0?i+1:i}const s=t+n.slice(i);return t="",s}}function Wl(e,t,r,u){const n=(t&O0.BRANCH_LENGTH)>>7,a=t&O0.JUMP_TABLE;if(n===0)return a!==0&&u===a?r:-1;if(a){const s=u-a;return s<0||s>=n?-1:e[r+s]-1}let i=r,o=i+n-1;for(;i<=o;){const s=i+o>>>1,c=e[s];if(cu)o=s-1;else return e[s+n]}return-1}const Zl=Ti(Ll);Ti(Pl);function Mi(e,t=R0.Legacy){return Zl(e,t)}function Xl(e){return Object.prototype.toString.call(e)}function Gu(e){return Xl(e)==="[object String]"}const Kl=Object.prototype.hasOwnProperty;function Jl(e,t){return Kl.call(e,t)}function Fr(e){return Array.prototype.slice.call(arguments,1).forEach(function(r){if(r){if(typeof r!="object")throw new TypeError(r+"must be object");Object.keys(r).forEach(function(u){e[u]=r[u]})}}),e}function Fi(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))}function Yu(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function yr(e){if(e>65535){e-=65536;const t=55296+(e>>10),r=56320+(e&1023);return String.fromCharCode(t,r)}return String.fromCharCode(e)}const zi=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Ql=/&([a-z#][a-z0-9]{1,31});/gi,ec=new RegExp(zi.source+"|"+Ql.source,"gi"),tc=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function rc(e,t){if(t.charCodeAt(0)===35&&tc.test(t)){const u=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Yu(u)?yr(u):e}const r=Mi(e);return r!==e?r:e}function uc(e){return e.indexOf("\\")<0?e:e.replace(zi,"$1")}function pt(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(ec,function(t,r,u){return r||rc(t,u)})}const nc=/[&<>"]/,ac=/[&<>"]/g,ic={"&":"&","<":"<",">":">",'"':"""};function oc(e){return ic[e]}function H0(e){return nc.test(e)?e.replace(ac,oc):e}const sc=/[.?*+^$[\]\\(){}|-]/g;function lc(e){return e.replace(sc,"\\$&")}function pe(e){switch(e){case 9:case 32:return!0}return!1}function Rt(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function Ot(e){return ju.test(e)||Ei.test(e)}function Lt(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function zr(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const cc={mdurl:Nl,ucmicro:Ol},fc=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:Fi,assign:Fr,escapeHtml:H0,escapeRE:lc,fromCodePoint:yr,has:Jl,isMdAsciiPunct:Lt,isPunctChar:Ot,isSpace:pe,isString:Gu,isValidEntityCode:Yu,isWhiteSpace:Rt,lib:cc,normalizeReference:zr,unescapeAll:pt,unescapeMd:uc},Symbol.toStringTag,{value:"Module"}));function dc(e,t,r){let u,n,a,i;const o=e.posMax,s=e.pos;for(e.pos=t+1,u=1;e.pos32))return a;if(u===41){if(i===0)break;i--}n++}return t===n||i!==0||(a.str=pt(e.slice(t,n)),a.pos=n,a.ok=!0),a}function mc(e,t,r,u){let n,a=t;const i={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(u)i.str=u.str,i.marker=u.marker;else{if(a>=r)return i;let o=e.charCodeAt(a);if(o!==34&&o!==39&&o!==40)return i;t++,a++,o===40&&(o=41),i.marker=o}for(;a"+H0(a.content)+""};f0.code_block=function(e,t,r,u,n){const a=e[t];return""+H0(e[t].content)+` -`};f0.fence=function(e,t,r,u,n){const a=e[t],i=a.info?pt(a.info).trim():"";let o="",s="";if(i){const h=i.split(/(\s+)/g);o=h[0],s=h.slice(2).join("")}let c;if(r.highlight?c=r.highlight(a.content,o,s)||H0(a.content):c=H0(a.content),c.indexOf(""u"&&r(3);var d=Promise;function g(b,A){A&&b.then(function(y){A(null,y)},function(y){A(y)})}function v(b,A,y){typeof A=="function"&&b.then(A),typeof y=="function"&&b.catch(y)}function x(b){return typeof b!="string"&&(console.warn(b+" used as a key, but it is not a string."),b=String(b)),b}function C(){if(arguments.length&&typeof arguments[arguments.length-1]=="function")return arguments[arguments.length-1]}var S="local-forage-detect-blob-support",I=void 0,M={},N=Object.prototype.toString,L="readonly",F="readwrite";function R(b){for(var A=b.length,y=new ArrayBuffer(A),D=new Uint8Array(y),T=0;T=43)}}).catch(function(){return!1})}function Z(b){return typeof I=="boolean"?d.resolve(I):$(b).then(function(A){return I=A,I})}function K(b){var A=M[b.name],y={};y.promise=new d(function(D,T){y.resolve=D,y.reject=T}),A.deferredOperations.push(y),A.dbReady?A.dbReady=A.dbReady.then(function(){return y.promise}):A.dbReady=y.promise}function le(b){var A=M[b.name],y=A.deferredOperations.pop();if(y)return y.resolve(),y.promise}function ie(b,A){var y=M[b.name],D=y.deferredOperations.pop();if(D)return D.reject(A),D.promise}function ae(b,A){return new d(function(y,D){if(M[b.name]=M[b.name]||Ie(),b.db)if(A)K(b),b.db.close();else return y(b.db);var T=[b.name];A&&T.push(b.version);var E=s.open.apply(s,T);A&&(E.onupgradeneeded=function(B){var P=E.result;try{P.createObjectStore(b.storeName),B.oldVersion<=1&&P.createObjectStore(S)}catch(U){if(U.name==="ConstraintError")console.warn('The database "'+b.name+'" has been upgraded from version '+B.oldVersion+" to version "+B.newVersion+', but the storage "'+b.storeName+'" already exists.');else throw U}}),E.onerror=function(B){B.preventDefault(),D(E.error)},E.onsuccess=function(){var B=E.result;B.onversionchange=function(P){P.target.close()},y(B),le(b)}})}function ke(b){return ae(b,!1)}function ve(b){return ae(b,!0)}function me(b,A){if(!b.db)return!0;var y=!b.db.objectStoreNames.contains(b.storeName),D=b.versionb.db.version;if(D&&(b.version!==A&&console.warn('The database "'+b.name+`" can't be downgraded from version `+b.db.version+" to version "+b.version+"."),b.version=b.db.version),T||y){if(y){var E=b.db.version+1;E>b.version&&(b.version=E)}return!0}return!1}function Le(b){return new d(function(A,y){var D=new FileReader;D.onerror=y,D.onloadend=function(T){var E=btoa(T.target.result||"");A({__local_forage_encoded_blob:!0,data:E,type:b.type})},D.readAsBinaryString(b)})}function Ue(b){var A=R(atob(b.data));return h([A],{type:b.type})}function b0(b){return b&&b.__local_forage_encoded_blob}function Ct(b){var A=this,y=A._initReady().then(function(){var D=M[A._dbInfo.name];if(D&&D.dbReady)return D.dbReady});return v(y,b,b),y}function a0(b){K(b);for(var A=M[b.name],y=A.forages,D=0;D0&&(!b.db||E.name==="InvalidStateError"||E.name==="NotFoundError"))return d.resolve().then(function(){if(!b.db||E.name==="NotFoundError"&&!b.db.objectStoreNames.contains(b.storeName)&&b.version<=b.db.version)return b.db&&(b.version=b.db.version+1),ve(b)}).then(function(){return a0(b).then(function(){Te(b,A,y,D-1)})}).catch(y);y(E)}}function Ie(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function Z0(b){var A=this,y={db:null};if(b)for(var D in b)y[D]=b[D];var T=M[y.name];T||(T=Ie(),M[y.name]=T),T.forages.push(A),A._initReady||(A._initReady=A.ready,A.ready=Ct);var E=[];function B(){return d.resolve()}for(var P=0;P>4,j[T++]=(B&15)<<4|P>>2,j[T++]=(P&3)<<6|U&63;return V}function Wr(b){var A=new Uint8Array(b),y="",D;for(D=0;D>2],y+=r0[(A[D]&3)<<4|A[D+1]>>4],y+=r0[(A[D+1]&15)<<2|A[D+2]>>6],y+=r0[A[D+2]&63];return A.length%3===2?y=y.substring(0,y.length-1)+"=":A.length%3===1&&(y=y.substring(0,y.length-2)+"=="),y}function o1(b,A){var y="";if(b&&(y=Fn.call(b)),b&&(y==="[object ArrayBuffer]"||b.buffer&&Fn.call(b.buffer)==="[object ArrayBuffer]")){var D,T=v0;b instanceof ArrayBuffer?(D=b,T+=Gr):(D=b.buffer,y==="[object Int8Array]"?T+=wn:y==="[object Uint8Array]"?T+=kn:y==="[object Uint8ClampedArray]"?T+=Sn:y==="[object Int16Array]"?T+=An:y==="[object Uint16Array]"?T+=_n:y==="[object Int32Array]"?T+=Cn:y==="[object Uint32Array]"?T+=En:y==="[object Float32Array]"?T+=Dn:y==="[object Float64Array]"?T+=Tn:A(new Error("Failed to get type for BinaryArray"))),A(T+Wr(D))}else if(y==="[object Blob]"){var E=new FileReader;E.onload=function(){var B=Xt+b.type+"~"+Wr(this.result);A(v0+Yr+B)},E.readAsArrayBuffer(b)}else try{A(JSON.stringify(b))}catch(B){console.error("Couldn't convert value into a JSON string: ",b),A(null,B)}}function s1(b){if(b.substring(0,F0)!==v0)return JSON.parse(b);var A=b.substring(Mn),y=b.substring(F0,Mn),D;if(y===Yr&&nt.test(A)){var T=A.match(nt);D=T[1],A=A.substring(T[0].length)}var E=zn(A);switch(y){case Gr:return E;case Yr:return h([E],{type:D});case wn:return new Int8Array(E);case kn:return new Uint8Array(E);case Sn:return new Uint8ClampedArray(E);case An:return new Int16Array(E);case _n:return new Uint16Array(E);case Cn:return new Int32Array(E);case En:return new Uint32Array(E);case Dn:return new Float32Array(E);case Tn:return new Float64Array(E);default:throw new Error("Unkown type: "+y)}}var Zr={serialize:o1,deserialize:s1,stringToBuffer:zn,bufferToString:Wr};function In(b,A,y,D){b.executeSql("CREATE TABLE IF NOT EXISTS "+A.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],y,D)}function l1(b){var A=this,y={db:null};if(b)for(var D in b)y[D]=typeof b[D]!="string"?b[D].toString():b[D];var T=new d(function(E,B){try{y.db=openDatabase(y.name,String(y.version),y.description,y.size)}catch(P){return B(P)}y.db.transaction(function(P){In(P,y,function(){A._dbInfo=y,E()},function(U,V){B(V)})},B)});return y.serializer=Zr,T}function z0(b,A,y,D,T,E){b.executeSql(y,D,T,function(B,P){P.code===P.SYNTAX_ERR?B.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[A.storeName],function(U,V){V.rows.length?E(U,P):In(U,A,function(){U.executeSql(y,D,T,E)},E)},E):E(B,P)},E)}function c1(b,A){var y=this;b=x(b);var D=new d(function(T,E){y.ready().then(function(){var B=y._dbInfo;B.db.transaction(function(P){z0(P,B,"SELECT * FROM "+B.storeName+" WHERE key = ? LIMIT 1",[b],function(U,V){var j=V.rows.length?V.rows.item(0).value:null;j&&(j=B.serializer.deserialize(j)),T(j)},function(U,V){E(V)})})}).catch(E)});return g(D,A),D}function f1(b,A){var y=this,D=new d(function(T,E){y.ready().then(function(){var B=y._dbInfo;B.db.transaction(function(P){z0(P,B,"SELECT * FROM "+B.storeName,[],function(U,V){for(var j=V.rows,X=j.length,ne=0;ne0){B(Bn.apply(T,[b,U,y,D-1]));return}P(ne)}})})}).catch(P)});return g(E,y),E}function d1(b,A,y){return Bn.apply(this,[b,A,y,1])}function h1(b,A){var y=this;b=x(b);var D=new d(function(T,E){y.ready().then(function(){var B=y._dbInfo;B.db.transaction(function(P){z0(P,B,"DELETE FROM "+B.storeName+" WHERE key = ?",[b],function(){T()},function(U,V){E(V)})})}).catch(E)});return g(D,A),D}function m1(b){var A=this,y=new d(function(D,T){A.ready().then(function(){var E=A._dbInfo;E.db.transaction(function(B){z0(B,E,"DELETE FROM "+E.storeName,[],function(){D()},function(P,U){T(U)})})}).catch(T)});return g(y,b),y}function p1(b){var A=this,y=new d(function(D,T){A.ready().then(function(){var E=A._dbInfo;E.db.transaction(function(B){z0(B,E,"SELECT COUNT(key) as c FROM "+E.storeName,[],function(P,U){var V=U.rows.item(0).c;D(V)},function(P,U){T(U)})})}).catch(T)});return g(y,b),y}function b1(b,A){var y=this,D=new d(function(T,E){y.ready().then(function(){var B=y._dbInfo;B.db.transaction(function(P){z0(P,B,"SELECT key FROM "+B.storeName+" WHERE id = ? LIMIT 1",[b+1],function(U,V){var j=V.rows.length?V.rows.item(0).key:null;T(j)},function(U,V){E(V)})})}).catch(E)});return g(D,A),D}function v1(b){var A=this,y=new d(function(D,T){A.ready().then(function(){var E=A._dbInfo;E.db.transaction(function(B){z0(B,E,"SELECT key FROM "+E.storeName,[],function(P,U){for(var V=[],j=0;j '__WebKitDatabaseInfoTable__'",[],function(T,E){for(var B=[],P=0;P0}function A1(b){var A=this,y={};if(b)for(var D in b)y[D]=b[D];return y.keyPrefix=Nn(b,A._defaultConfig),S1()?(A._dbInfo=y,y.serializer=Zr,d.resolve()):d.reject()}function C1(b){var A=this,y=A.ready().then(function(){for(var D=A._dbInfo.keyPrefix,T=localStorage.length-1;T>=0;T--){var E=localStorage.key(T);E.indexOf(D)===0&&localStorage.removeItem(E)}});return g(y,b),y}function _1(b,A){var y=this;b=x(b);var D=y.ready().then(function(){var T=y._dbInfo,E=localStorage.getItem(T.keyPrefix+b);return E&&(E=T.serializer.deserialize(E)),E});return g(D,A),D}function E1(b,A){var y=this,D=y.ready().then(function(){for(var T=y._dbInfo,E=T.keyPrefix,B=E.length,P=localStorage.length,U=1,V=0;V=0;B--){var P=localStorage.key(B);P.indexOf(E)===0&&localStorage.removeItem(P)}}):T=d.reject("Invalid arguments"),g(T,A),T}var B1={_driver:"localStorageWrapper",_initStorage:A1,_support:w1(),iterate:E1,getItem:_1,setItem:z1,removeItem:F1,clear:C1,length:M1,key:D1,keys:T1,dropInstance:I1},N1=function(A,y){return A===y||typeof A=="number"&&typeof y=="number"&&isNaN(A)&&isNaN(y)},R1=function(A,y){for(var D=A.length,T=0;T"u"?"undefined":a(y))==="object"){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var D in y){if(D==="storeName"&&(y[D]=y[D].replace(/\W/g,"_")),D==="version"&&typeof y[D]!="number")return new Error("Database version must be a number.");this._config[D]=y[D]}return"driver"in y&&y.driver?this.setDriver(this._config.driver):!0}else return typeof y=="string"?this._config[y]:this._config},b.prototype.defineDriver=function(y,D,T){var E=new d(function(B,P){try{var U=y._driver,V=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!y._driver){P(V);return}for(var j=Xr.concat("_initStorage"),X=0,ne=j.length;Xxi?xt.getItem(yt):null,Xh=async()=>{const e=await Y0()||{};return Object.keys(e).map(t=>({id:t,...e[t]})).sort((t,r)=>(r.update||r.id).localeCompare(t.update||t.id))},fl=e=>{const{setStyle:t}=ll();for(const r of Object.keys(e))t(r,e[r])},dl=e=>{const{setData:t,toggleMdFlag:r}=Hu();t("mdContent",e),r(!0)},hl=e=>{const{setData:t,toggleCssFlag:r}=Hu();t("cssContent",e),r(!0)},ml=(e,t)=>{const{setData:r}=Hu();r("curResumeId",e),r("curResumeName",t.name),dl(t.markdown),hl(t.css),fl(t.styles)},pl=async(e,t)=>{const r=await Y0()||{};r[e]=t,await xt.setItem(yt,r),et().save()},Kh=async()=>{const e=new Date().getTime().toString();return await pl(e,{name:hi,markdown:_s,css:Es,styles:mi,update:e}),et().new(),e},Jh=async()=>{const e=await Y0()||{};ol("MARKDOWN_RESUME_data.json",JSON.stringify(e))},Qh=async e=>{const t=et(),r=a=>{for(const i of Object.values(a)){if(typeof i.name!="string"||typeof i.markdown!="string"||typeof i.css!="string"||typeof i.styles!="object"||!["string","undefined"].includes(typeof i.update))return!1;const o=i.styles;if(typeof o.fontSize!="number"||typeof o.lineHeight!="number"||typeof o.marginH!="number"||typeof o.marginV!="number"||typeof o.paper!="string"||typeof o.paragraphSpace!="number"||typeof o.themeColor!="string"||typeof o.fontCJK!="object"||typeof o.fontCJK.name!="string"||typeof o.fontEN!="object"||typeof o.fontEN.name!="string")return!1}return!0},u=await Y0()||{};il(async a=>{const i=JSON.parse(a);if(!r(i)){t.import(!1);return}const o={...u,...i};await xt.setItem(yt,o),t.import(!0),e&&e()},".json")},e6=async e=>{const t=et(),r=await Y0();if(r&&r[e]){const u=r[e].name;delete r[e],await xt.setItem(yt,r),t.delete(u)}},t6=async e=>{const t=et(),r=await Y0();return r&&r[e]?(ml(e,r[e]),t.switch(r[e].name),!0):!1},r6=async e=>{const t=et(),r=await Y0();if(r&&r[e]){const u=yi(r[e]),n=new Date().getTime().toString(),a=u.name;u.name=a+" Copy",u.update=n,r[n]=u,await xt.setItem(yt,r),t.duplicate(a)}},u6=async(e,t)=>{const r=await Y0()||{};r[e].name=t,await xt.setItem(yt,r),et().save()};function $u(e){return ls()?(cs(e),!0):!1}function Nt(e){return typeof e=="function"?e():Ze(e)}const bl=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const vl=Object.prototype.toString,gl=e=>vl.call(e)==="[object Object]",ki=()=>{};function xl(e){return e||si()}function Si(e,t=!0,r){xl()?Mr(e,r):t?e():ss(e)}function J0(e){var t;const r=Nt(e);return(t=r==null?void 0:r.$el)!=null?t:r}const wt=bl?window:void 0;function Mt(...e){let t,r,u,n;if(typeof e[0]=="string"||Array.isArray(e[0])?([r,u,n]=e,t=wt):[t,r,u,n]=e,!t)return ki;Array.isArray(r)||(r=[r]),Array.isArray(u)||(u=[u]);const a=[],i=()=>{a.forEach(h=>h()),a.length=0},o=(h,d,g,v)=>(h.addEventListener(d,g,v),()=>h.removeEventListener(d,g,v)),s=q0(()=>[J0(t),Nt(n)],([h,d])=>{if(i(),!h)return;const g=gl(d)?{...d}:d;a.push(...r.flatMap(v=>u.map(x=>o(h,v,x,g))))},{immediate:!0,flush:"post"}),c=()=>{s(),i()};return $u(c),c}function yl(){const e=H0(!1),t=si();return t&&Mr(()=>{e.value=!0},t),e}function Ai(e){const t=yl();return gt(()=>(t.value,!!e()))}function wl(e,t={}){const{window:r=wt}=t,u=Ai(()=>r&&"matchMedia"in r&&typeof r.matchMedia=="function");let n;const a=H0(!1),i=c=>{a.value=c.matches},o=()=>{n&&("removeEventListener"in n?n.removeEventListener("change",i):n.removeListener(i))},s=fs(()=>{u.value&&(o(),n=r.matchMedia(Nt(e)),"addEventListener"in n?n.addEventListener("change",i):n.addListener(i),a.value=n.matches)});return $u(()=>{s(),o(),n=void 0}),a}function kl(e,t,r={}){const{window:u=wt,...n}=r;let a;const i=Ai(()=>u&&"ResizeObserver"in u),o=()=>{a&&(a.disconnect(),a=void 0)},s=gt(()=>Array.isArray(e)?e.map(d=>J0(d)):[J0(e)]),c=q0(s,d=>{if(o(),i.value&&u){a=new ResizeObserver(t);for(const g of d)g&&a.observe(g,n)}},{immediate:!0,flush:"post"}),h=()=>{o(),c()};return $u(h),{isSupported:i,stop:h}}function n6(e,t={width:0,height:0},r={}){const{window:u=wt,box:n="content-box"}=r,a=gt(()=>{var d,g;return(g=(d=J0(e))==null?void 0:d.namespaceURI)==null?void 0:g.includes("svg")}),i=H0(t.width),o=H0(t.height),{stop:s}=kl(e,([d])=>{const g=n==="border-box"?d.borderBoxSize:n==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(u&&a.value){const v=J0(e);if(v){const x=u.getComputedStyle(v);i.value=Number.parseFloat(x.width),o.value=Number.parseFloat(x.height)}}else if(g){const v=Array.isArray(g)?g:[g];i.value=v.reduce((x,{inlineSize:C})=>x+C,0),o.value=v.reduce((x,{blockSize:C})=>x+C,0)}else i.value=d.contentRect.width,o.value=d.contentRect.height},r);Si(()=>{const d=J0(e);d&&(i.value="offsetWidth"in d?d.offsetWidth:t.width,o.value="offsetHeight"in d?d.offsetHeight:t.height)});const c=q0(()=>J0(e),d=>{i.value=d?t.width:0,o.value=d?t.height:0});function h(){s(),c()}return{width:i,height:o,stop:h}}const Sl={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function Al(e={}){const{reactive:t=!1,target:r=wt,aliasMap:u=Sl,passive:n=!0,onEventFired:a=ki}=e,i=vr(new Set),o={toJSON(){return{}},current:i},s=t?vr(o):o,c=new Set,h=new Set;function d(C,S){C in s&&(t?s[C]=S:s[C].value=S)}function g(){i.clear();for(const C of h)d(C,!1)}function v(C,S){var I,M;const N=(I=C.key)==null?void 0:I.toLowerCase(),F=[(M=C.code)==null?void 0:M.toLowerCase(),N].filter(Boolean);N&&(S?i.add(N):i.delete(N));for(const R of F)h.add(R),d(R,S);N==="meta"&&!S?(c.forEach(R=>{i.delete(R),d(R,!1)}),c.clear()):typeof C.getModifierState=="function"&&C.getModifierState("Meta")&&S&&[...i,...F].forEach(R=>c.add(R))}Mt(r,"keydown",C=>(v(C,!0),a(C)),{passive:n}),Mt(r,"keyup",C=>(v(C,!1),a(C)),{passive:n}),Mt("blur",g,{passive:!0}),Mt("focus",g,{passive:!0});const x=new Proxy(s,{get(C,S,I){if(typeof S!="string")return Reflect.get(C,S,I);if(S=S.toLowerCase(),S in u&&(S=u[S]),!(S in s))if(/[+_-]/.test(S)){const N=S.split(/[+_-]/g).map(L=>L.trim());s[S]=gt(()=>N.every(L=>Nt(x[L])))}else s[S]=H0(!1);const M=Reflect.get(C,S,I);return t?Nt(M):M}});return x}function a6(e={}){const{window:t=wt,initialWidth:r=Number.POSITIVE_INFINITY,initialHeight:u=Number.POSITIVE_INFINITY,listenOrientation:n=!0,includeScrollbar:a=!0}=e,i=H0(r),o=H0(u),s=()=>{t&&(a?(i.value=t.innerWidth,o.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,o.value=t.document.documentElement.clientHeight))};if(s(),Si(s),Mt("resize",s,{passive:!0}),n){const c=wl("(orientation: portrait)");q0(c,()=>s())}return{width:i,height:o}}var i6=(e,t)=>{const r=e.replace("ctrl",sl?"meta":"ctrl"),u=Al({passive:!1,onEventFired:i=>{if(i.type!=="keydown")return;let o=!0;for(const s of r.split("+"))switch(s){case"ctrl":i.ctrlKey||(o=!1);break;case"meta":i.metaKey||(o=!1);break;case"shift":i.shiftKey||(o=!1);break;default:i.key!==s&&(o=!1)}o&&i.preventDefault()}}),n=u[r],{current:a}=u;q0(n,i=>{i&&a.size===r.split("+").length&&t()})};function Wn(e,t,r){var u,n,a;t===void 0&&(t=50),r===void 0&&(r={});var i=(u=r.isImmediate)!=null&&u,o=(n=r.callback)!=null&&n,s=r.maxWait,c=Date.now(),h=[];function d(){if(s!==void 0){var v=Date.now()-c;if(v+t>=s)return s-v}return t}var g=function(){var v=[].slice.call(arguments),x=this;return new Promise(function(C,S){var I=i&&a===void 0;if(a!==void 0&&clearTimeout(a),a=setTimeout(function(){if(a=void 0,c=Date.now(),!i){var N=e.apply(x,v);o&&o(N),h.forEach(function(L){return(0,L.resolve)(N)}),h=[]}},d()),I){var M=e.apply(x,v);return o&&o(M),C(M)}h.push({resolve:C,reject:S})})};return g.cancel=function(v){a!==void 0&&clearTimeout(a),h.forEach(function(x){return(0,x.reject)(v)}),h=[]},g}const Zn={};function Cl(e){let t=Zn[e];if(t)return t;t=Zn[e]=[];for(let r=0;r<128;r++){const u=String.fromCharCode(r);t.push(u)}for(let r=0;r=55296&&h<=57343?n+="���":n+=String.fromCharCode(h),a+=6;continue}}if((o&248)===240&&a+91114111?n+="����":(d-=65536,n+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),a+=9;continue}}n+="�"}return n})}mt.defaultChars=";/?:@&=+$,#";mt.componentChars="";const Xn={};function _l(e){let t=Xn[e];if(t)return t;t=Xn[e]=[];for(let r=0;r<128;r++){const u=String.fromCharCode(r);/^[0-9a-z]$/i.test(u)?t.push(u):t.push("%"+("0"+r.toString(16).toUpperCase()).slice(-2))}for(let r=0;r"u"&&(r=!0);const u=_l(t);let n="";for(let a=0,i=e.length;a=55296&&o<=57343){if(o>=55296&&o<=56319&&a+1=56320&&s<=57343){n+=encodeURIComponent(e[a]+e[a+1]),a++;continue}}n+="%EF%BF%BD";continue}n+=encodeURIComponent(e[a])}return n}Ut.defaultChars=";/?:@&=+$,-_.!~*'()#";Ut.componentChars="-_.!~*'()";function Uu(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function xr(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const El=/^([a-z0-9.+-]+:)/i,Dl=/:[0-9]*$/,Tl=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Ml=["<",">",'"',"`"," ","\r",` +`," "],Fl=["{","}","|","\\","^","`"].concat(Ml),zl=["'"].concat(Fl),Kn=["%","/","?",";","#"].concat(zl),Jn=["/","?","#"],Il=255,Qn=/^[+a-z0-9A-Z_-]{0,63}$/,Bl=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,ea={javascript:!0,"javascript:":!0},ta={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Vu(e,t){if(e&&e instanceof xr)return e;const r=new xr;return r.parse(e,t),r}xr.prototype.parse=function(e,t){let r,u,n,a=e;if(a=a.trim(),!t&&e.split("#").length===1){const c=Tl.exec(a);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}let i=El.exec(a);if(i&&(i=i[0],r=i.toLowerCase(),this.protocol=i,a=a.substr(i.length)),(t||i||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(n=a.substr(0,2)==="//",n&&!(i&&ea[i])&&(a=a.substr(2),this.slashes=!0)),!ea[i]&&(n||i&&!ta[i])){let c=-1;for(let x=0;x127?M+="x":M+=I[N];if(!M.match(Qn)){const N=x.slice(0,C),L=x.slice(C+1),F=I.match(Bl);F&&(N.push(F[1]),L.unshift(F[2])),L.length&&(a=L.join(".")+a),this.hostname=N.join(".");break}}}}this.hostname.length>Il&&(this.hostname=""),v&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const o=a.indexOf("#");o!==-1&&(this.hash=a.substr(o),a=a.slice(0,o));const s=a.indexOf("?");return s!==-1&&(this.search=a.substr(s),a=a.slice(0,s)),a&&(this.pathname=a),ta[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this};xr.prototype.parseHost=function(e){let t=Dl.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const Nl=Object.freeze(Object.defineProperty({__proto__:null,decode:mt,encode:Ut,format:Uu,parse:Vu},Symbol.toStringTag,{value:"Module"})),Ci=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,_i=/[\0-\x1F\x7F-\x9F]/,Rl=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,ju=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Ei=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,Di=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Ol=Object.freeze(Object.defineProperty({__proto__:null,Any:Ci,Cc:_i,Cf:Rl,P:ju,S:Ei,Z:Di},Symbol.toStringTag,{value:"Module"})),Ll=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),Pl=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var eu;const ql=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Hl=(eu=String.fromCodePoint)!==null&&eu!==void 0?eu:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function $l(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=ql.get(e))!==null&&t!==void 0?t:e}var Fe;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Fe||(Fe={}));const Ul=32;var O0;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(O0||(O0={}));function Cu(e){return e>=Fe.ZERO&&e<=Fe.NINE}function Vl(e){return e>=Fe.UPPER_A&&e<=Fe.UPPER_F||e>=Fe.LOWER_A&&e<=Fe.LOWER_F}function jl(e){return e>=Fe.UPPER_A&&e<=Fe.UPPER_Z||e>=Fe.LOWER_A&&e<=Fe.LOWER_Z||Cu(e)}function Gl(e){return e===Fe.EQUALS||jl(e)}var Me;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Me||(Me={}));var R0;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(R0||(R0={}));class Yl{constructor(t,r,u){this.decodeTree=t,this.emitCodePoint=r,this.errors=u,this.state=Me.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=R0.Strict}startEntity(t){this.decodeMode=t,this.state=Me.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,r){switch(this.state){case Me.EntityStart:return t.charCodeAt(r)===Fe.NUM?(this.state=Me.NumericStart,this.consumed+=1,this.stateNumericStart(t,r+1)):(this.state=Me.NamedEntity,this.stateNamedEntity(t,r));case Me.NumericStart:return this.stateNumericStart(t,r);case Me.NumericDecimal:return this.stateNumericDecimal(t,r);case Me.NumericHex:return this.stateNumericHex(t,r);case Me.NamedEntity:return this.stateNamedEntity(t,r)}}stateNumericStart(t,r){return r>=t.length?-1:(t.charCodeAt(r)|Ul)===Fe.LOWER_X?(this.state=Me.NumericHex,this.consumed+=1,this.stateNumericHex(t,r+1)):(this.state=Me.NumericDecimal,this.stateNumericDecimal(t,r))}addToNumericResult(t,r,u,n){if(r!==u){const a=u-r;this.result=this.result*Math.pow(n,a)+parseInt(t.substr(r,a),n),this.consumed+=a}}stateNumericHex(t,r){const u=r;for(;r>14;for(;r>14,a!==0){if(i===Fe.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==R0.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:r,decodeTree:u}=this,n=(u[r]&O0.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,n,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,r,u){const{decodeTree:n}=this;return this.emitCodePoint(r===1?n[t]&~O0.VALUE_LENGTH:n[t+1],u),r===3&&this.emitCodePoint(n[t+2],u),u}end(){var t;switch(this.state){case Me.NamedEntity:return this.result!==0&&(this.decodeMode!==R0.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Me.NumericDecimal:return this.emitNumericEntity(0,2);case Me.NumericHex:return this.emitNumericEntity(0,3);case Me.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Me.EntityStart:return 0}}}function Ti(e){let t="";const r=new Yl(e,u=>t+=Hl(u));return function(n,a){let i=0,o=0;for(;(o=n.indexOf("&",o))>=0;){t+=n.slice(i,o),r.startEntity(a);const c=r.write(n,o+1);if(c<0){i=o+r.end();break}i=o+c,o=c===0?i+1:i}const s=t+n.slice(i);return t="",s}}function Wl(e,t,r,u){const n=(t&O0.BRANCH_LENGTH)>>7,a=t&O0.JUMP_TABLE;if(n===0)return a!==0&&u===a?r:-1;if(a){const s=u-a;return s<0||s>=n?-1:e[r+s]-1}let i=r,o=i+n-1;for(;i<=o;){const s=i+o>>>1,c=e[s];if(cu)o=s-1;else return e[s+n]}return-1}const Zl=Ti(Ll);Ti(Pl);function Mi(e,t=R0.Legacy){return Zl(e,t)}function Xl(e){return Object.prototype.toString.call(e)}function Gu(e){return Xl(e)==="[object String]"}const Kl=Object.prototype.hasOwnProperty;function Jl(e,t){return Kl.call(e,t)}function Fr(e){return Array.prototype.slice.call(arguments,1).forEach(function(r){if(r){if(typeof r!="object")throw new TypeError(r+"must be object");Object.keys(r).forEach(function(u){e[u]=r[u]})}}),e}function Fi(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))}function Yu(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function yr(e){if(e>65535){e-=65536;const t=55296+(e>>10),r=56320+(e&1023);return String.fromCharCode(t,r)}return String.fromCharCode(e)}const zi=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Ql=/&([a-z#][a-z0-9]{1,31});/gi,ec=new RegExp(zi.source+"|"+Ql.source,"gi"),tc=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function rc(e,t){if(t.charCodeAt(0)===35&&tc.test(t)){const u=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Yu(u)?yr(u):e}const r=Mi(e);return r!==e?r:e}function uc(e){return e.indexOf("\\")<0?e:e.replace(zi,"$1")}function pt(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(ec,function(t,r,u){return r||rc(t,u)})}const nc=/[&<>"]/,ac=/[&<>"]/g,ic={"&":"&","<":"<",">":">",'"':"""};function oc(e){return ic[e]}function $0(e){return nc.test(e)?e.replace(ac,oc):e}const sc=/[.?*+^$[\]\\(){}|-]/g;function lc(e){return e.replace(sc,"\\$&")}function pe(e){switch(e){case 9:case 32:return!0}return!1}function Rt(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function Ot(e){return ju.test(e)||Ei.test(e)}function Lt(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function zr(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const cc={mdurl:Nl,ucmicro:Ol},fc=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:Fi,assign:Fr,escapeHtml:$0,escapeRE:lc,fromCodePoint:yr,has:Jl,isMdAsciiPunct:Lt,isPunctChar:Ot,isSpace:pe,isString:Gu,isValidEntityCode:Yu,isWhiteSpace:Rt,lib:cc,normalizeReference:zr,unescapeAll:pt,unescapeMd:uc},Symbol.toStringTag,{value:"Module"}));function dc(e,t,r){let u,n,a,i;const o=e.posMax,s=e.pos;for(e.pos=t+1,u=1;e.pos32))return a;if(u===41){if(i===0)break;i--}n++}return t===n||i!==0||(a.str=pt(e.slice(t,n)),a.pos=n,a.ok=!0),a}function mc(e,t,r,u){let n,a=t;const i={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(u)i.str=u.str,i.marker=u.marker;else{if(a>=r)return i;let o=e.charCodeAt(a);if(o!==34&&o!==39&&o!==40)return i;t++,a++,o===40&&(o=41),i.marker=o}for(;a"+$0(a.content)+""};f0.code_block=function(e,t,r,u,n){const a=e[t];return""+$0(e[t].content)+` +`};f0.fence=function(e,t,r,u,n){const a=e[t],i=a.info?pt(a.info).trim():"";let o="",s="";if(i){const h=i.split(/(\s+)/g);o=h[0],s=h.slice(2).join("")}let c;if(r.highlight?c=r.highlight(a.content,o,s)||$0(a.content):c=$0(a.content),c.indexOf("${c} `}return`
${c}
`};f0.image=function(e,t,r,u,n){const a=e[t];return a.attrs[a.attrIndex("alt")][1]=n.renderInlineAsText(a.children,r,u),n.renderToken(e,t,r)};f0.hardbreak=function(e,t,r){return r.xhtmlOut?`
@@ -248,12 +248,12 @@ ${oe} sup.crossref-ref { `};f0.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?`
`:`
`:` -`};f0.text=function(e,t){return H0(e[t].content)};f0.html_block=function(e,t){return e[t].content};f0.html_inline=function(e,t){return e[t].content};function kt(){this.rules=Fr({},f0)}kt.prototype.renderAttrs=function(t){let r,u,n;if(!t.attrs)return"";for(n="",r=0,u=t.attrs.length;r `:">",a};kt.prototype.renderInline=function(e,t,r){let u="";const n=this.rules;for(let a=0,i=e.length;a=0&&(u=this.attrs[r][1]),u};n0.prototype.attrJoin=function(t,r){const u=this.attrIndex(t);u<0?this.attrPush([t,r]):this.attrs[u][1]=this.attrs[u][1]+" "+r};function Ii(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}Ii.prototype.Token=n0;const bc=/\r\n?|\n/g,vc=/\0/g;function gc(e){let t;t=e.src.replace(bc,` -`),t=t.replace(vc,"�"),e.src=t}function xc(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function yc(e){const t=e.tokens;for(let r=0,u=t.length;r\s]/i.test(e)}function kc(e){return/^<\/a\s*>/i.test(e)}function Sc(e){const t=e.tokens;if(e.md.options.linkify)for(let r=0,u=t.length;r=0;i--){const o=n[i];if(o.type==="link_close"){for(i--;n[i].level!==o.level&&n[i].type!=="link_open";)i--;continue}if(o.type==="html_inline"&&(wc(o.content)&&a>0&&a--,kc(o.content)&&a++),!(a>0)&&o.type==="text"&&e.md.linkify.test(o.content)){const s=o.content;let c=e.md.linkify.match(s);const h=[];let d=o.level,g=0;c.length>0&&c[0].index===0&&i>0&&n[i-1].type==="text_special"&&(c=c.slice(1));for(let v=0;vg){const F=new e.Token("text","",0);F.content=s.slice(g,I),F.level=d,h.push(F)}const M=new e.Token("link_open","a",1);M.attrs=[["href",C]],M.level=d++,M.markup="linkify",M.info="auto",h.push(M);const N=new e.Token("text","",0);N.content=S,N.level=d,h.push(N);const L=new e.Token("link_close","a",-1);L.level=--d,L.markup="linkify",L.info="auto",h.push(L),g=c[v].lastIndex}if(g=0;r--){const u=e[r];u.type==="text"&&!t&&(u.content=u.content.replace(Cc,Ec)),u.type==="link_open"&&u.info==="auto"&&t--,u.type==="link_close"&&u.info==="auto"&&t++}}function Tc(e){let t=0;for(let r=e.length-1;r>=0;r--){const u=e[r];u.type==="text"&&!t&&Bi.test(u.content)&&(u.content=u.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),u.type==="link_open"&&u.info==="auto"&&t--,u.type==="link_close"&&u.info==="auto"&&t++}}function Mc(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(Ac.test(e.tokens[t].content)&&Dc(e.tokens[t].children),Bi.test(e.tokens[t].content)&&Tc(e.tokens[t].children))}const Fc=/['"]/,ra=/['"]/g,ua="’";function ur(e,t,r){return e.slice(0,t)+r+e.slice(t+1)}function zc(e,t){let r;const u=[];for(let n=0;n=0&&!(u[r].level<=i);r--);if(u.length=r+1,a.type!=="text")continue;let o=a.content,s=0,c=o.length;e:for(;s=0)x=o.charCodeAt(h.index-1);else for(r=n-1;r>=0&&!(e[r].type==="softbreak"||e[r].type==="hardbreak");r--)if(e[r].content){x=e[r].content.charCodeAt(e[r].content.length-1);break}let C=32;if(s=48&&x<=57&&(g=d=!1),d&&g&&(d=S,g=I),!d&&!g){v&&(a.content=ur(a.content,h.index,ua));continue}if(g)for(r=u.length-1;r>=0;r--){let L=u[r];if(u[r].level=0;t--)e.tokens[t].type!=="inline"||!Fc.test(e.tokens[t].content)||zc(e.tokens[t].children,e)}function Bc(e){let t,r;const u=e.tokens,n=u.length;for(let a=0;a0&&this.level++,this.tokens.push(u),u};d0.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};d0.prototype.skipEmptyLines=function(t){for(let r=this.lineMax;tr;)if(!pe(this.src.charCodeAt(--t)))return t+1;return t};d0.prototype.skipChars=function(t,r){for(let u=this.src.length;tu;)if(r!==this.src.charCodeAt(--t))return t+1;return t};d0.prototype.getLines=function(t,r,u,n){if(t>=r)return"";const a=new Array(r-t);for(let i=0,o=t;ou?a[i]=new Array(s-u+1).join(" ")+this.src.slice(h,d):a[i]=this.src.slice(h,d)}return a.join("")};d0.prototype.Token=n0;const Nc=65536;function ru(e,t){const r=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];return e.src.slice(r,u)}function na(e){const t=[],r=e.length;let u=0,n=e.charCodeAt(u),a=!1,i=0,o="";for(;ur)return!1;let n=t+1;if(e.sCount[n]=4)return!1;let a=e.bMarks[n]+e.tShift[n];if(a>=e.eMarks[n])return!1;const i=e.src.charCodeAt(a++);if(i!==124&&i!==45&&i!==58||a>=e.eMarks[n])return!1;const o=e.src.charCodeAt(a++);if(o!==124&&o!==45&&o!==58&&!pe(o)||i===45&&pe(o))return!1;for(;a=4)return!1;c=na(s),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop();const d=c.length;if(d===0||d!==h.length)return!1;if(u)return!0;const g=e.parentType;e.parentType="table";const v=e.md.block.ruler.getRules("blockquote"),x=e.push("table_open","table",1),C=[t,0];x.map=C;const S=e.push("thead_open","thead",1);S.map=[t,t+1];const I=e.push("tr_open","tr",1);I.map=[t,t+1];for(let L=0;L=4||(c=na(s),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop(),N+=d-c.length,N>Nc))break;if(n===t+2){const R=e.push("tbody_open","tbody",1);R.map=M=[t+2,0]}const F=e.push("tr_open","tr",1);F.map=[n,n+1];for(let R=0;R=4){u++,n=u;continue}break}e.line=n;const a=e.push("code_block","code",0);return a.content=e.getLines(t,n,4+e.blkIndent,!1)+` -`,a.map=[t,e.line],!0}function Lc(e,t,r,u){let n=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||n+3>a)return!1;const i=e.src.charCodeAt(n);if(i!==126&&i!==96)return!1;let o=n;n=e.skipChars(n,i);let s=n-o;if(s<3)return!1;const c=e.src.slice(o,n),h=e.src.slice(n,a);if(i===96&&h.indexOf(String.fromCharCode(i))>=0)return!1;if(u)return!0;let d=t,g=!1;for(;d++,!(d>=r||(n=o=e.bMarks[d]+e.tShift[d],a=e.eMarks[d],n=4)&&(n=e.skipChars(n,i),!(n-o=4||e.src.charCodeAt(n)!==62)return!1;if(u)return!0;const o=[],s=[],c=[],h=[],d=e.md.block.ruler.getRules("blockquote"),g=e.parentType;e.parentType="blockquote";let v=!1,x;for(x=t;x=a)break;if(e.src.charCodeAt(n++)===62&&!N){let F=e.sCount[x]+1,R,H;e.src.charCodeAt(n)===32?(n++,F++,H=!1,R=!0):e.src.charCodeAt(n)===9?(R=!0,(e.bsCount[x]+F)%4===3?(n++,F++,H=!1):H=!0):R=!1;let Z=F;for(o.push(e.bMarks[x]),e.bMarks[x]=n;n=a,s.push(e.bsCount[x]),e.bsCount[x]=e.sCount[x]+1+(R?1:0),c.push(e.sCount[x]),e.sCount[x]=Z-F,h.push(e.tShift[x]),e.tShift[x]=n-e.bMarks[x];continue}if(v)break;let L=!1;for(let F=0,R=d.length;F";const I=[t,0];S.map=I,e.md.block.tokenize(e,t,x);const M=e.push("blockquote_close","blockquote",-1);M.markup=">",e.lineMax=i,e.parentType=g,I[1]=e.line;for(let N=0;N=4)return!1;let a=e.bMarks[t]+e.tShift[t];const i=e.src.charCodeAt(a++);if(i!==42&&i!==45&&i!==95)return!1;let o=1;for(;a=u)return-1;let a=e.src.charCodeAt(n++);if(a<48||a>57)return-1;for(;;){if(n>=u)return-1;if(a=e.src.charCodeAt(n++),a>=48&&a<=57){if(n-r>=10)return-1;continue}if(a===41||a===46)break;return-1}return n=4||e.listIndent>=0&&e.sCount[s]-e.listIndent>=4&&e.sCount[s]=e.blkIndent&&(h=!0);let d,g,v;if((v=ia(e,s))>=0){if(d=!0,i=e.bMarks[s]+e.tShift[s],g=Number(e.src.slice(i,v-1)),h&&g!==1)return!1}else if((v=aa(e,s))>=0)d=!1;else return!1;if(h&&e.skipSpaces(v)>=e.eMarks[s])return!1;if(u)return!0;const x=e.src.charCodeAt(v-1),C=e.tokens.length;d?(o=e.push("ordered_list_open","ol",1),g!==1&&(o.attrs=[["start",g]])):o=e.push("bullet_list_open","ul",1);const S=[s,0];o.map=S,o.markup=String.fromCharCode(x);let I=!1;const M=e.md.block.ruler.getRules("list"),N=e.parentType;for(e.parentType="list";s=n?H=1:H=F-L,H>4&&(H=1);const Z=L+H;o=e.push("list_item_open","li",1),o.markup=String.fromCharCode(x);const K=[s,0];o.map=K,d&&(o.info=e.src.slice(i,v-1));const le=e.tight,ie=e.tShift[s],ae=e.sCount[s],ke=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=Z,e.tight=!0,e.tShift[s]=R-e.bMarks[s],e.sCount[s]=F,R>=n&&e.isEmpty(s+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,s,r,!0),(!e.tight||I)&&(c=!1),I=e.line-s>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=ke,e.tShift[s]=ie,e.sCount[s]=ae,e.tight=le,o=e.push("list_item_close","li",-1),o.markup=String.fromCharCode(x),s=e.line,K[1]=s,s>=r||e.sCount[s]=4)break;let ve=!1;for(let me=0,Le=M.length;me=4||e.src.charCodeAt(n)!==91)return!1;function o(M){const N=e.lineMax;if(M>=N||e.isEmpty(M))return null;let L=!1;if(e.sCount[M]-e.blkIndent>3&&(L=!0),e.sCount[M]<0&&(L=!0),!L){const H=e.md.block.ruler.getRules("reference"),Z=e.parentType;e.parentType="reference";let K=!1;for(let le=0,ie=H.length;le"u"&&(e.env.references={}),typeof e.env.references[I]>"u"&&(e.env.references[I]={title:S,href:d}),e.line=i),!0):!1}const Vc=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],jc="[a-zA-Z_:][a-zA-Z0-9:._-]*",Gc="[^\"'=<>`\\x00-\\x20]+",Yc="'[^']*'",Wc='"[^"]*"',Zc="(?:"+Gc+"|"+Yc+"|"+Wc+")",Xc="(?:\\s+"+jc+"(?:\\s*=\\s*"+Zc+")?)",Ni="<[A-Za-z][A-Za-z0-9\\-]*"+Xc+"*\\s*\\/?>",Ri="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Kc="",Jc="<[?][\\s\\S]*?[?]>",Qc="]*>",e2="",t2=new RegExp("^(?:"+Ni+"|"+Ri+"|"+Kc+"|"+Jc+"|"+Qc+"|"+e2+")"),r2=new RegExp("^(?:"+Ni+"|"+Ri+")"),ot=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(r2.source+"\\s*$"),/^$/,!1]];function u2(e,t,r,u){let n=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(n)!==60)return!1;let i=e.src.slice(n,a),o=0;for(;o=4)return!1;let i=e.src.charCodeAt(n);if(i!==35||n>=a)return!1;let o=1;for(i=e.src.charCodeAt(++n);i===35&&n6||nn&&pe(e.src.charCodeAt(s-1))&&(a=s),e.line=t+1;const c=e.push("heading_open","h"+String(o),1);c.markup="########".slice(0,o),c.map=[t,e.line];const h=e.push("inline","",0);h.content=e.src.slice(n,a).trim(),h.map=[t,e.line],h.children=[];const d=e.push("heading_close","h"+String(o),-1);return d.markup="########".slice(0,o),!0}function a2(e,t,r){const u=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const n=e.parentType;e.parentType="paragraph";let a=0,i,o=t+1;for(;o3)continue;if(e.sCount[o]>=e.blkIndent){let v=e.bMarks[o]+e.tShift[o];const x=e.eMarks[o];if(v=x))){a=i===61?1:2;break}}if(e.sCount[o]<0)continue;let g=!1;for(let v=0,x=u.length;v3||e.sCount[a]<0)continue;let c=!1;for(let h=0,d=u.length;h=r||e.sCount[i]=a){e.line=r;break}const s=e.line;let c=!1;for(let h=0;h=e.line)throw new Error("block rule didn't increment state.line");break}if(!c)throw new Error("none of the block rules matched");e.tight=!o,e.isEmpty(e.line-1)&&(o=!0),i=e.line,i0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],n={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(u),this.tokens_meta.push(n),u};Vt.prototype.scanDelims=function(e,t){const r=this.posMax,u=this.src.charCodeAt(e),n=e>0?this.src.charCodeAt(e-1):32;let a=e;for(;a0)return!1;const r=e.pos,u=e.posMax;if(r+3>u||e.src.charCodeAt(r)!==58||e.src.charCodeAt(r+1)!==47||e.src.charCodeAt(r+2)!==47)return!1;const n=e.pending.match(l2);if(!n)return!1;const a=n[1],i=e.md.linkify.matchAtStart(e.src.slice(r-a.length));if(!i)return!1;let o=i.url;if(o.length<=a.length)return!1;o=o.replace(/\*+$/,"");const s=e.md.normalizeLink(o);if(!e.md.validateLink(s))return!1;if(!t){e.pending=e.pending.slice(0,-a.length);const c=e.push("link_open","a",1);c.attrs=[["href",s]],c.markup="linkify",c.info="auto";const h=e.push("text","",0);h.content=e.md.normalizeLinkText(o);const d=e.push("link_close","a",-1);d.markup="linkify",d.info="auto"}return e.pos+=o.length-a.length,!0}function f2(e,t){let r=e.pos;if(e.src.charCodeAt(r)!==10)return!1;const u=e.pending.length-1,n=e.posMax;if(!t)if(u>=0&&e.pending.charCodeAt(u)===32)if(u>=1&&e.pending.charCodeAt(u-1)===32){let a=u-1;for(;a>=1&&e.pending.charCodeAt(a-1)===32;)a--;e.pending=e.pending.slice(0,a),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(r++;r?@[]^_`{|}~-".split("").forEach(function(e){Zu[e.charCodeAt(0)]=1});function d2(e,t){let r=e.pos;const u=e.posMax;if(e.src.charCodeAt(r)!==92||(r++,r>=u))return!1;let n=e.src.charCodeAt(r);if(n===10){for(t||e.push("hardbreak","br",0),r++;r=55296&&n<=56319&&r+1=56320&&o<=57343&&(a+=e.src[r+1],r++)}const i="\\"+a;if(!t){const o=e.push("text_special","",0);n<256&&Zu[n]!==0?o.content=a:o.content=i,o.markup=i,o.info="escape"}return e.pos=r+1,!0}function h2(e,t){let r=e.pos;if(e.src.charCodeAt(r)!==96)return!1;const n=r;r++;const a=e.posMax;for(;r=0;u--){const n=t[u];if(n.marker!==95&&n.marker!==42||n.end===-1)continue;const a=t[n.end],i=u>0&&t[u-1].end===n.end+1&&t[u-1].marker===n.marker&&t[u-1].token===n.token-1&&t[n.end+1].token===a.token+1,o=String.fromCharCode(n.marker),s=e.tokens[n.token];s.type=i?"strong_open":"em_open",s.tag=i?"strong":"em",s.nesting=1,s.markup=i?o+o:o,s.content="";const c=e.tokens[a.token];c.type=i?"strong_close":"em_close",c.tag=i?"strong":"em",c.nesting=-1,c.markup=i?o+o:o,c.content="",i&&(e.tokens[t[u-1].token].content="",e.tokens[t[n.end+1].token].content="",u--)}}function v2(e){const t=e.tokens_meta,r=e.tokens_meta.length;sa(e,e.delimiters);for(let u=0;u=d)return!1;if(s=x,n=e.md.helpers.parseLinkDestination(e.src,x,e.posMax),n.ok){for(i=e.md.normalizeLink(n.str),e.md.validateLink(i)?x=n.pos:i="",s=x;x=d||e.src.charCodeAt(x)!==41)&&(c=!0),x++}if(c){if(typeof e.env.references>"u")return!1;if(x=0?u=e.src.slice(s,x++):x=v+1):x=v+1,u||(u=e.src.slice(g,v)),a=e.env.references[zr(u)],!a)return e.pos=h,!1;i=a.href,o=a.title}if(!t){e.pos=g,e.posMax=v;const C=e.push("link_open","a",1),S=[["href",i]];C.attrs=S,o&&S.push(["title",o]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=x,e.posMax=d,!0}function x2(e,t){let r,u,n,a,i,o,s,c,h="";const d=e.pos,g=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const v=e.pos+2,x=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(x<0)return!1;if(a=x+1,a=g)return!1;for(c=a,o=e.md.helpers.parseLinkDestination(e.src,a,e.posMax),o.ok&&(h=e.md.normalizeLink(o.str),e.md.validateLink(h)?a=o.pos:h=""),c=a;a=g||e.src.charCodeAt(a)!==41)return e.pos=d,!1;a++}else{if(typeof e.env.references>"u")return!1;if(a=0?n=e.src.slice(c,a++):a=x+1):a=x+1,n||(n=e.src.slice(v,x)),i=e.env.references[zr(n)],!i)return e.pos=d,!1;h=i.href,s=i.title}if(!t){u=e.src.slice(v,x);const C=[];e.md.inline.parse(u,e.md,e.env,C);const S=e.push("image","img",0),I=[["src",h],["alt",""]];S.attrs=I,S.children=C,S.content=u,s&&I.push(["title",s])}return e.pos=a,e.posMax=g,!0}const y2=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,w2=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function k2(e,t){let r=e.pos;if(e.src.charCodeAt(r)!==60)return!1;const u=e.pos,n=e.posMax;for(;;){if(++r>=n)return!1;const i=e.src.charCodeAt(r);if(i===60)return!1;if(i===62)break}const a=e.src.slice(u+1,r);if(w2.test(a)){const i=e.md.normalizeLink(a);if(!e.md.validateLink(i))return!1;if(!t){const o=e.push("link_open","a",1);o.attrs=[["href",i]],o.markup="autolink",o.info="auto";const s=e.push("text","",0);s.content=e.md.normalizeLinkText(a);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=a.length+2,!0}if(y2.test(a)){const i=e.md.normalizeLink("mailto:"+a);if(!e.md.validateLink(i))return!1;if(!t){const o=e.push("link_open","a",1);o.attrs=[["href",i]],o.markup="autolink",o.info="auto";const s=e.push("text","",0);s.content=e.md.normalizeLinkText(a);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=a.length+2,!0}return!1}function S2(e){return/^\s]/i.test(e)}function A2(e){return/^<\/a\s*>/i.test(e)}function C2(e){const t=e|32;return t>=97&&t<=122}function _2(e,t){if(!e.md.options.html)return!1;const r=e.posMax,u=e.pos;if(e.src.charCodeAt(u)!==60||u+2>=r)return!1;const n=e.src.charCodeAt(u+1);if(n!==33&&n!==63&&n!==47&&!C2(n))return!1;const a=e.src.slice(u).match(t2);if(!a)return!1;if(!t){const i=e.push("html_inline","",0);i.content=a[0],S2(i.content)&&e.linkLevel++,A2(i.content)&&e.linkLevel--}return e.pos+=a[0].length,!0}const E2=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,D2=/^&([a-z][a-z0-9]{1,31});/i;function T2(e,t){const r=e.pos,u=e.posMax;if(e.src.charCodeAt(r)!==38||r+1>=u)return!1;if(e.src.charCodeAt(r+1)===35){const a=e.src.slice(r).match(E2);if(a){if(!t){const i=a[1][0].toLowerCase()==="x"?parseInt(a[1].slice(1),16):parseInt(a[1],10),o=e.push("text_special","",0);o.content=Yu(i)?yr(i):yr(65533),o.markup=a[0],o.info="entity"}return e.pos+=a[0].length,!0}}else{const a=e.src.slice(r).match(D2);if(a){const i=Mi(a[0]);if(i!==a[0]){if(!t){const o=e.push("text_special","",0);o.content=i,o.markup=a[0],o.info="entity"}return e.pos+=a[0].length,!0}}}return!1}function la(e){const t={},r=e.length;if(!r)return;let u=0,n=-2;const a=[];for(let i=0;is;c-=a[c]+1){const d=e[c];if(d.marker===o.marker&&d.open&&d.end<0){let g=!1;if((d.close||o.open)&&(d.length+o.length)%3===0&&(d.length%3!==0||o.length%3!==0)&&(g=!0),!g){const v=c>0&&!e[c-1].open?a[c-1]+1:0;a[i]=i-c+v,a[c]=v,o.open=!1,d.end=i,d.close=!1,h=-1,n=-2;break}}}h!==-1&&(t[o.marker][(o.open?3:0)+(o.length||0)%3]=h)}}function M2(e){const t=e.tokens_meta,r=e.tokens_meta.length;la(e.delimiters);for(let u=0;u0&&u++,n[t].type==="text"&&t+1=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;i||e.pos++,a[t]=e.pos};jt.prototype.tokenize=function(e){const t=this.ruler.getRules(""),r=t.length,u=e.posMax,n=e.md.options.maxNesting;for(;e.pos=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(i){if(e.pos>=u)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};jt.prototype.parse=function(e,t,r,u){const n=new this.State(e,t,r,u);this.tokenize(n);const a=this.ruler2.getRules(""),i=a.length;for(let o=0;o|$))",t.tpl_email_fuzzy="(^|"+r+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function _u(e){return Array.prototype.slice.call(arguments,1).forEach(function(r){r&&Object.keys(r).forEach(function(u){e[u]=r[u]})}),e}function Br(e){return Object.prototype.toString.call(e)}function I2(e){return Br(e)==="[object String]"}function B2(e){return Br(e)==="[object Object]"}function N2(e){return Br(e)==="[object RegExp]"}function ca(e){return Br(e)==="[object Function]"}function R2(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const Pi={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function O2(e){return Object.keys(e||{}).reduce(function(t,r){return t||Pi.hasOwnProperty(r)},!1)}const L2={"http:":{validate:function(e,t,r){const u=e.slice(t);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(u)?u.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){const u=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(u)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:u.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){const u=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(u)?u.match(r.re.mailto)[0].length:0}}},P2="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",q2="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function $2(e){e.__index__=-1,e.__text_cache__=""}function H2(e){return function(t,r){const u=t.slice(r);return e.test(u)?u.match(e)[0].length:0}}function fa(){return function(e,t){t.normalize(e)}}function wr(e){const t=e.re=z2(e.__opts__),r=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||r.push(P2),r.push(t.src_xn),t.src_tlds=r.join("|");function u(o){return o.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(u(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(u(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(u(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(u(t.tpl_host_fuzzy_test),"i");const n=[];e.__compiled__={};function a(o,s){throw new Error('(LinkifyIt) Invalid schema "'+o+'": '+s)}Object.keys(e.__schemas__).forEach(function(o){const s=e.__schemas__[o];if(s===null)return;const c={validate:null,link:null};if(e.__compiled__[o]=c,B2(s)){N2(s.validate)?c.validate=H2(s.validate):ca(s.validate)?c.validate=s.validate:a(o,s),ca(s.normalize)?c.normalize=s.normalize:s.normalize?a(o,s):c.normalize=fa();return}if(I2(s)){n.push(o);return}a(o,s)}),n.forEach(function(o){e.__compiled__[e.__schemas__[o]]&&(e.__compiled__[o].validate=e.__compiled__[e.__schemas__[o]].validate,e.__compiled__[o].normalize=e.__compiled__[e.__schemas__[o]].normalize)}),e.__compiled__[""]={validate:null,normalize:fa()};const i=Object.keys(e.__compiled__).filter(function(o){return o.length>0&&e.__compiled__[o]}).map(R2).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+i+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+i+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),$2(e)}function U2(e,t){const r=e.__index__,u=e.__last_index__,n=e.__text_cache__.slice(r,u);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=u+t,this.raw=n,this.text=n,this.url=n}function Eu(e,t){const r=new U2(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function je(e,t){if(!(this instanceof je))return new je(e,t);t||O2(e)&&(t=e,e={}),this.__opts__=_u({},Pi,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=_u({},L2,e),this.__compiled__={},this.__tlds__=q2,this.__tlds_replaced__=!1,this.re={},wr(this)}je.prototype.add=function(t,r){return this.__schemas__[t]=r,wr(this),this};je.prototype.set=function(t){return this.__opts__=_u(this.__opts__,t),this};je.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let r,u,n,a,i,o,s,c,h;if(this.re.schema_test.test(t)){for(s=this.re.schema_search,s.lastIndex=0;(r=s.exec(t))!==null;)if(a=this.testSchemaAt(t,r[2],s.lastIndex),a){this.__schema__=r[2],this.__index__=r.index+r[1].length,this.__last_index__=r.index+r[0].length+a;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=t.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c=0&&(n=t.match(this.re.email_fuzzy))!==null&&(i=n.index+n[1].length,o=n.index+n[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=o))),this.__index__>=0};je.prototype.pretest=function(t){return this.re.pretest.test(t)};je.prototype.testSchemaAt=function(t,r,u){return this.__compiled__[r.toLowerCase()]?this.__compiled__[r.toLowerCase()].validate(t,u,this):0};je.prototype.match=function(t){const r=[];let u=0;this.__index__>=0&&this.__text_cache__===t&&(r.push(Eu(this,u)),u=this.__last_index__);let n=u?t.slice(u):t;for(;this.test(n);)r.push(Eu(this,u)),n=n.slice(this.__last_index__),u+=this.__last_index__;return r.length?r:null};je.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const r=this.re.schema_at_start.exec(t);if(!r)return null;const u=this.testSchemaAt(t,r[2],r[0].length);return u?(this.__schema__=r[2],this.__index__=r.index+r[1].length,this.__last_index__=r.index+r[0].length+u,Eu(this,0)):null};je.prototype.tlds=function(t,r){return t=Array.isArray(t)?t:[t],r?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(u,n,a){return u!==a[n-1]}).reverse(),wr(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,wr(this),this)};je.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};je.prototype.onCompile=function(){};const dt=2147483647,o0=36,Xu=1,Pt=26,V2=38,j2=700,qi=72,$i=128,Hi="-",G2=/^xn--/,Y2=/[^\0-\x7F]/,W2=/[\x2E\u3002\uFF0E\uFF61]/g,Z2={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},au=o0-Xu,s0=Math.floor,iu=String.fromCharCode;function N0(e){throw new RangeError(Z2[e])}function X2(e,t){const r=[];let u=e.length;for(;u--;)r[u]=t(e[u]);return r}function Ui(e,t){const r=e.split("@");let u="";r.length>1&&(u=r[0]+"@",e=r[1]),e=e.replace(W2,".");const n=e.split("."),a=X2(n,t).join(".");return u+a}function Vi(e){const t=[];let r=0;const u=e.length;for(;r=55296&&n<=56319&&rString.fromCodePoint(...e),J2=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:o0},da=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},ji=function(e,t,r){let u=0;for(e=r?s0(e/j2):e>>1,e+=s0(e/t);e>au*Pt>>1;u+=o0)e=s0(e/au);return s0(u+(au+1)*e/(e+V2))},Gi=function(e){const t=[],r=e.length;let u=0,n=$i,a=qi,i=e.lastIndexOf(Hi);i<0&&(i=0);for(let o=0;o=128&&N0("not-basic"),t.push(e.charCodeAt(o));for(let o=i>0?i+1:0;o=r&&N0("invalid-input");const g=J2(e.charCodeAt(o++));g>=o0&&N0("invalid-input"),g>s0((dt-u)/h)&&N0("overflow"),u+=g*h;const v=d<=a?Xu:d>=a+Pt?Pt:d-a;if(gs0(dt/x)&&N0("overflow"),h*=x}const c=t.length+1;a=ji(u-s,c,s==0),s0(u/c)>dt-n&&N0("overflow"),n+=s0(u/c),u%=c,t.splice(u++,0,n)}return String.fromCodePoint(...t)},Yi=function(e){const t=[];e=Vi(e);const r=e.length;let u=$i,n=0,a=qi;for(const s of e)s<128&&t.push(iu(s));const i=t.length;let o=i;for(i&&t.push(Hi);o=u&&hs0((dt-n)/c)&&N0("overflow"),n+=(s-u)*c,u=s;for(const h of e)if(hdt&&N0("overflow"),h===u){let d=n;for(let g=o0;;g+=o0){const v=g<=a?Xu:g>=a+Pt?Pt:g-a;if(d=0))try{t.hostname=Wi.toASCII(t.hostname)}catch{}return Ut(Uu(t))}function cf(e){const t=Vu(e,!0);if(t.hostname&&(!t.protocol||Zi.indexOf(t.protocol)>=0))try{t.hostname=Wi.toUnicode(t.hostname)}catch{}return mt(Uu(t),mt.defaultChars+"%")}function Qe(e,t){if(!(this instanceof Qe))return new Qe(e,t);t||Gu(e)||(t=e||{},e="default"),this.inline=new jt,this.block=new Ir,this.core=new Wu,this.renderer=new kt,this.linkify=new je,this.validateLink=sf,this.normalizeLink=lf,this.normalizeLinkText=cf,this.utils=fc,this.helpers=Fr({},pc),this.options={},this.configure(e),t&&this.set(t)}Qe.prototype.set=function(e){return Fr(this.options,e),this};Qe.prototype.configure=function(e){const t=this;if(Gu(e)){const r=e;if(e=nf[r],!e)throw new Error('Wrong `markdown-it` preset "'+r+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(r){e.components[r].rules&&t[r].ruler.enableOnly(e.components[r].rules),e.components[r].rules2&&t[r].ruler2.enableOnly(e.components[r].rules2)}),this};Qe.prototype.enable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(n){r=r.concat(this[n].ruler.enable(e,!0))},this),r=r.concat(this.inline.ruler2.enable(e,!0));const u=e.filter(function(n){return r.indexOf(n)<0});if(u.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+u);return this};Qe.prototype.disable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(n){r=r.concat(this[n].ruler.disable(e,!0))},this),r=r.concat(this.inline.ruler2.disable(e,!0));const u=e.filter(function(n){return r.indexOf(n)<0});if(u.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+u);return this};Qe.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};Qe.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const r=new this.core.State(e,this,t);return this.core.process(r),r.tokens};Qe.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};Qe.prototype.parseInline=function(e,t){const r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens};Qe.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};function ff(e){const t=e.utils.isSpace;function r(a,i){let o=a.bMarks[i]+a.tShift[i];const s=a.eMarks[i];if(o>=s)return-1;const c=a.src.charCodeAt(o++);if(c!==126&&c!==58)return-1;const h=a.skipSpaces(o);return o===h||h>=s?-1:o}function u(a,i){const o=a.level+2;for(let s=i+2,c=a.tokens.length-2;s=0;let c=i+1;if(c>=o||a.isEmpty(c)&&(c++,c>=o)||a.sCount[c]1&&a.isEmpty(a.line-1),a.tShift[S]=ae,a.sCount[S]=ke,a.tight=K,a.parentType=ve,a.blkIndent=ie,a.ddIndent=le,a.push("dd_close","dd",-1),F[1]=c=a.line,c>=o||a.sCount[c]=o||(C=c,a.isEmpty(C))||a.sCount[C]=o)||(a.isEmpty(S)&&S++,S>=o)||a.sCount[S]15?c="…"+o.slice(n-15,n):c=o.slice(0,n);var h;a+15":">","<":"<",'"':""","'":"'"},wf=/[&><"']/g;function kf(e){return String(e).replace(wf,t=>yf[t])}var Ki=function e(t){return t.type==="ordgroup"||t.type==="color"?t.body.length===1?e(t.body[0]):t:t.type==="font"?e(t.body):t},Sf=function(t){var r=Ki(t);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},Af=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},Cf=function(t){var r=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(t);return r?r[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(r[1])?null:r[1].toLowerCase():"_relative"},Q={contains:bf,deflt:vf,escape:kf,hyphenate:xf,getBaseElem:Ki,isCharacterBox:Sf,protocolFromUrl:Cf},pr={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand ",cliProcessor:e=>e==="Infinity"?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function _f(e){if(e.default)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class Ku{constructor(t){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{};for(var r in pr)if(pr.hasOwnProperty(r)){var u=pr[r];this[r]=t[r]!==void 0?u.processor?u.processor(t[r]):t[r]:_f(u)}}reportNonstrict(t,r,u){var n=this.strict;if(typeof n=="function"&&(n=n(t,r,u)),!(!n||n==="ignore")){if(n===!0||n==="error")throw new $("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+t+"]"),u);n==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+n+"': "+r+" ["+t+"]"))}}useStrictBehavior(t,r,u){var n=this.strict;if(typeof n=="function")try{n=n(t,r,u)}catch{n="error"}return!n||n==="ignore"?!1:n===!0||n==="error"?!0:n==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+n+"': "+r+" ["+t+"]")),!1)}isTrusted(t){if(t.url&&!t.protocol){var r=Q.protocolFromUrl(t.url);if(r==null)return!1;t.protocol=r}var u=typeof this.trust=="function"?this.trust(t):this.trust;return!!u}}class I0{constructor(t,r,u){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=r,this.cramped=u}sup(){return i0[Ef[this.id]]}sub(){return i0[Df[this.id]]}fracNum(){return i0[Tf[this.id]]}fracDen(){return i0[Mf[this.id]]}cramp(){return i0[Ff[this.id]]}text(){return i0[zf[this.id]]}isTight(){return this.size>=2}}var Ju=0,kr=1,ht=2,k0=3,qt=4,Ke=5,bt=6,Re=7,i0=[new I0(Ju,0,!1),new I0(kr,0,!0),new I0(ht,1,!1),new I0(k0,1,!0),new I0(qt,2,!1),new I0(Ke,2,!0),new I0(bt,3,!1),new I0(Re,3,!0)],Ef=[qt,Ke,qt,Ke,bt,Re,bt,Re],Df=[Ke,Ke,Ke,Ke,Re,Re,Re,Re],Tf=[ht,k0,qt,Ke,bt,Re,bt,Re],Mf=[k0,k0,Ke,Ke,Re,Re,Re,Re],Ff=[kr,kr,k0,k0,Ke,Ke,Re,Re],zf=[Ju,kr,ht,k0,ht,k0,ht,k0],te={DISPLAY:i0[Ju],TEXT:i0[ht],SCRIPT:i0[qt],SCRIPTSCRIPT:i0[bt]},Du=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function If(e){for(var t=0;t=n[0]&&e<=n[1])return r.name}return null}var br=[];Du.forEach(e=>e.blocks.forEach(t=>br.push(...t)));function Ji(e){for(var t=0;t=br[t]&&e<=br[t+1])return!0;return!1}var st=80,Bf=function(t,r){return"M95,"+(622+t+r)+` +`;break}return u};kt.prototype.render=function(e,t,r){let u="";const n=this.rules;for(let a=0,i=e.length;a=0&&(u=this.attrs[r][1]),u};n0.prototype.attrJoin=function(t,r){const u=this.attrIndex(t);u<0?this.attrPush([t,r]):this.attrs[u][1]=this.attrs[u][1]+" "+r};function Ii(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}Ii.prototype.Token=n0;const bc=/\r\n?|\n/g,vc=/\0/g;function gc(e){let t;t=e.src.replace(bc,` +`),t=t.replace(vc,"�"),e.src=t}function xc(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function yc(e){const t=e.tokens;for(let r=0,u=t.length;r\s]/i.test(e)}function kc(e){return/^<\/a\s*>/i.test(e)}function Sc(e){const t=e.tokens;if(e.md.options.linkify)for(let r=0,u=t.length;r=0;i--){const o=n[i];if(o.type==="link_close"){for(i--;n[i].level!==o.level&&n[i].type!=="link_open";)i--;continue}if(o.type==="html_inline"&&(wc(o.content)&&a>0&&a--,kc(o.content)&&a++),!(a>0)&&o.type==="text"&&e.md.linkify.test(o.content)){const s=o.content;let c=e.md.linkify.match(s);const h=[];let d=o.level,g=0;c.length>0&&c[0].index===0&&i>0&&n[i-1].type==="text_special"&&(c=c.slice(1));for(let v=0;vg){const F=new e.Token("text","",0);F.content=s.slice(g,I),F.level=d,h.push(F)}const M=new e.Token("link_open","a",1);M.attrs=[["href",C]],M.level=d++,M.markup="linkify",M.info="auto",h.push(M);const N=new e.Token("text","",0);N.content=S,N.level=d,h.push(N);const L=new e.Token("link_close","a",-1);L.level=--d,L.markup="linkify",L.info="auto",h.push(L),g=c[v].lastIndex}if(g=0;r--){const u=e[r];u.type==="text"&&!t&&(u.content=u.content.replace(Cc,Ec)),u.type==="link_open"&&u.info==="auto"&&t--,u.type==="link_close"&&u.info==="auto"&&t++}}function Tc(e){let t=0;for(let r=e.length-1;r>=0;r--){const u=e[r];u.type==="text"&&!t&&Bi.test(u.content)&&(u.content=u.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),u.type==="link_open"&&u.info==="auto"&&t--,u.type==="link_close"&&u.info==="auto"&&t++}}function Mc(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(Ac.test(e.tokens[t].content)&&Dc(e.tokens[t].children),Bi.test(e.tokens[t].content)&&Tc(e.tokens[t].children))}const Fc=/['"]/,ra=/['"]/g,ua="’";function ur(e,t,r){return e.slice(0,t)+r+e.slice(t+1)}function zc(e,t){let r;const u=[];for(let n=0;n=0&&!(u[r].level<=i);r--);if(u.length=r+1,a.type!=="text")continue;let o=a.content,s=0,c=o.length;e:for(;s=0)x=o.charCodeAt(h.index-1);else for(r=n-1;r>=0&&!(e[r].type==="softbreak"||e[r].type==="hardbreak");r--)if(e[r].content){x=e[r].content.charCodeAt(e[r].content.length-1);break}let C=32;if(s=48&&x<=57&&(g=d=!1),d&&g&&(d=S,g=I),!d&&!g){v&&(a.content=ur(a.content,h.index,ua));continue}if(g)for(r=u.length-1;r>=0;r--){let L=u[r];if(u[r].level=0;t--)e.tokens[t].type!=="inline"||!Fc.test(e.tokens[t].content)||zc(e.tokens[t].children,e)}function Bc(e){let t,r;const u=e.tokens,n=u.length;for(let a=0;a0&&this.level++,this.tokens.push(u),u};d0.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};d0.prototype.skipEmptyLines=function(t){for(let r=this.lineMax;tr;)if(!pe(this.src.charCodeAt(--t)))return t+1;return t};d0.prototype.skipChars=function(t,r){for(let u=this.src.length;tu;)if(r!==this.src.charCodeAt(--t))return t+1;return t};d0.prototype.getLines=function(t,r,u,n){if(t>=r)return"";const a=new Array(r-t);for(let i=0,o=t;ou?a[i]=new Array(s-u+1).join(" ")+this.src.slice(h,d):a[i]=this.src.slice(h,d)}return a.join("")};d0.prototype.Token=n0;const Nc=65536;function ru(e,t){const r=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];return e.src.slice(r,u)}function na(e){const t=[],r=e.length;let u=0,n=e.charCodeAt(u),a=!1,i=0,o="";for(;ur)return!1;let n=t+1;if(e.sCount[n]=4)return!1;let a=e.bMarks[n]+e.tShift[n];if(a>=e.eMarks[n])return!1;const i=e.src.charCodeAt(a++);if(i!==124&&i!==45&&i!==58||a>=e.eMarks[n])return!1;const o=e.src.charCodeAt(a++);if(o!==124&&o!==45&&o!==58&&!pe(o)||i===45&&pe(o))return!1;for(;a=4)return!1;c=na(s),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop();const d=c.length;if(d===0||d!==h.length)return!1;if(u)return!0;const g=e.parentType;e.parentType="table";const v=e.md.block.ruler.getRules("blockquote"),x=e.push("table_open","table",1),C=[t,0];x.map=C;const S=e.push("thead_open","thead",1);S.map=[t,t+1];const I=e.push("tr_open","tr",1);I.map=[t,t+1];for(let L=0;L=4||(c=na(s),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop(),N+=d-c.length,N>Nc))break;if(n===t+2){const R=e.push("tbody_open","tbody",1);R.map=M=[t+2,0]}const F=e.push("tr_open","tr",1);F.map=[n,n+1];for(let R=0;R=4){u++,n=u;continue}break}e.line=n;const a=e.push("code_block","code",0);return a.content=e.getLines(t,n,4+e.blkIndent,!1)+` +`,a.map=[t,e.line],!0}function Lc(e,t,r,u){let n=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||n+3>a)return!1;const i=e.src.charCodeAt(n);if(i!==126&&i!==96)return!1;let o=n;n=e.skipChars(n,i);let s=n-o;if(s<3)return!1;const c=e.src.slice(o,n),h=e.src.slice(n,a);if(i===96&&h.indexOf(String.fromCharCode(i))>=0)return!1;if(u)return!0;let d=t,g=!1;for(;d++,!(d>=r||(n=o=e.bMarks[d]+e.tShift[d],a=e.eMarks[d],n=4)&&(n=e.skipChars(n,i),!(n-o=4||e.src.charCodeAt(n)!==62)return!1;if(u)return!0;const o=[],s=[],c=[],h=[],d=e.md.block.ruler.getRules("blockquote"),g=e.parentType;e.parentType="blockquote";let v=!1,x;for(x=t;x=a)break;if(e.src.charCodeAt(n++)===62&&!N){let F=e.sCount[x]+1,R,$;e.src.charCodeAt(n)===32?(n++,F++,$=!1,R=!0):e.src.charCodeAt(n)===9?(R=!0,(e.bsCount[x]+F)%4===3?(n++,F++,$=!1):$=!0):R=!1;let Z=F;for(o.push(e.bMarks[x]),e.bMarks[x]=n;n=a,s.push(e.bsCount[x]),e.bsCount[x]=e.sCount[x]+1+(R?1:0),c.push(e.sCount[x]),e.sCount[x]=Z-F,h.push(e.tShift[x]),e.tShift[x]=n-e.bMarks[x];continue}if(v)break;let L=!1;for(let F=0,R=d.length;F";const I=[t,0];S.map=I,e.md.block.tokenize(e,t,x);const M=e.push("blockquote_close","blockquote",-1);M.markup=">",e.lineMax=i,e.parentType=g,I[1]=e.line;for(let N=0;N=4)return!1;let a=e.bMarks[t]+e.tShift[t];const i=e.src.charCodeAt(a++);if(i!==42&&i!==45&&i!==95)return!1;let o=1;for(;a=u)return-1;let a=e.src.charCodeAt(n++);if(a<48||a>57)return-1;for(;;){if(n>=u)return-1;if(a=e.src.charCodeAt(n++),a>=48&&a<=57){if(n-r>=10)return-1;continue}if(a===41||a===46)break;return-1}return n=4||e.listIndent>=0&&e.sCount[s]-e.listIndent>=4&&e.sCount[s]=e.blkIndent&&(h=!0);let d,g,v;if((v=ia(e,s))>=0){if(d=!0,i=e.bMarks[s]+e.tShift[s],g=Number(e.src.slice(i,v-1)),h&&g!==1)return!1}else if((v=aa(e,s))>=0)d=!1;else return!1;if(h&&e.skipSpaces(v)>=e.eMarks[s])return!1;if(u)return!0;const x=e.src.charCodeAt(v-1),C=e.tokens.length;d?(o=e.push("ordered_list_open","ol",1),g!==1&&(o.attrs=[["start",g]])):o=e.push("bullet_list_open","ul",1);const S=[s,0];o.map=S,o.markup=String.fromCharCode(x);let I=!1;const M=e.md.block.ruler.getRules("list"),N=e.parentType;for(e.parentType="list";s=n?$=1:$=F-L,$>4&&($=1);const Z=L+$;o=e.push("list_item_open","li",1),o.markup=String.fromCharCode(x);const K=[s,0];o.map=K,d&&(o.info=e.src.slice(i,v-1));const le=e.tight,ie=e.tShift[s],ae=e.sCount[s],ke=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=Z,e.tight=!0,e.tShift[s]=R-e.bMarks[s],e.sCount[s]=F,R>=n&&e.isEmpty(s+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,s,r,!0),(!e.tight||I)&&(c=!1),I=e.line-s>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=ke,e.tShift[s]=ie,e.sCount[s]=ae,e.tight=le,o=e.push("list_item_close","li",-1),o.markup=String.fromCharCode(x),s=e.line,K[1]=s,s>=r||e.sCount[s]=4)break;let ve=!1;for(let me=0,Le=M.length;me=4||e.src.charCodeAt(n)!==91)return!1;function o(M){const N=e.lineMax;if(M>=N||e.isEmpty(M))return null;let L=!1;if(e.sCount[M]-e.blkIndent>3&&(L=!0),e.sCount[M]<0&&(L=!0),!L){const $=e.md.block.ruler.getRules("reference"),Z=e.parentType;e.parentType="reference";let K=!1;for(let le=0,ie=$.length;le"u"&&(e.env.references={}),typeof e.env.references[I]>"u"&&(e.env.references[I]={title:S,href:d}),e.line=i),!0):!1}const Vc=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],jc="[a-zA-Z_:][a-zA-Z0-9:._-]*",Gc="[^\"'=<>`\\x00-\\x20]+",Yc="'[^']*'",Wc='"[^"]*"',Zc="(?:"+Gc+"|"+Yc+"|"+Wc+")",Xc="(?:\\s+"+jc+"(?:\\s*=\\s*"+Zc+")?)",Ni="<[A-Za-z][A-Za-z0-9\\-]*"+Xc+"*\\s*\\/?>",Ri="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Kc="",Jc="<[?][\\s\\S]*?[?]>",Qc="]*>",e2="",t2=new RegExp("^(?:"+Ni+"|"+Ri+"|"+Kc+"|"+Jc+"|"+Qc+"|"+e2+")"),r2=new RegExp("^(?:"+Ni+"|"+Ri+")"),ot=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(r2.source+"\\s*$"),/^$/,!1]];function u2(e,t,r,u){let n=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(n)!==60)return!1;let i=e.src.slice(n,a),o=0;for(;o=4)return!1;let i=e.src.charCodeAt(n);if(i!==35||n>=a)return!1;let o=1;for(i=e.src.charCodeAt(++n);i===35&&n6||nn&&pe(e.src.charCodeAt(s-1))&&(a=s),e.line=t+1;const c=e.push("heading_open","h"+String(o),1);c.markup="########".slice(0,o),c.map=[t,e.line];const h=e.push("inline","",0);h.content=e.src.slice(n,a).trim(),h.map=[t,e.line],h.children=[];const d=e.push("heading_close","h"+String(o),-1);return d.markup="########".slice(0,o),!0}function a2(e,t,r){const u=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const n=e.parentType;e.parentType="paragraph";let a=0,i,o=t+1;for(;o3)continue;if(e.sCount[o]>=e.blkIndent){let v=e.bMarks[o]+e.tShift[o];const x=e.eMarks[o];if(v=x))){a=i===61?1:2;break}}if(e.sCount[o]<0)continue;let g=!1;for(let v=0,x=u.length;v3||e.sCount[a]<0)continue;let c=!1;for(let h=0,d=u.length;h=r||e.sCount[i]=a){e.line=r;break}const s=e.line;let c=!1;for(let h=0;h=e.line)throw new Error("block rule didn't increment state.line");break}if(!c)throw new Error("none of the block rules matched");e.tight=!o,e.isEmpty(e.line-1)&&(o=!0),i=e.line,i0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],n={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(u),this.tokens_meta.push(n),u};Vt.prototype.scanDelims=function(e,t){const r=this.posMax,u=this.src.charCodeAt(e),n=e>0?this.src.charCodeAt(e-1):32;let a=e;for(;a0)return!1;const r=e.pos,u=e.posMax;if(r+3>u||e.src.charCodeAt(r)!==58||e.src.charCodeAt(r+1)!==47||e.src.charCodeAt(r+2)!==47)return!1;const n=e.pending.match(l2);if(!n)return!1;const a=n[1],i=e.md.linkify.matchAtStart(e.src.slice(r-a.length));if(!i)return!1;let o=i.url;if(o.length<=a.length)return!1;o=o.replace(/\*+$/,"");const s=e.md.normalizeLink(o);if(!e.md.validateLink(s))return!1;if(!t){e.pending=e.pending.slice(0,-a.length);const c=e.push("link_open","a",1);c.attrs=[["href",s]],c.markup="linkify",c.info="auto";const h=e.push("text","",0);h.content=e.md.normalizeLinkText(o);const d=e.push("link_close","a",-1);d.markup="linkify",d.info="auto"}return e.pos+=o.length-a.length,!0}function f2(e,t){let r=e.pos;if(e.src.charCodeAt(r)!==10)return!1;const u=e.pending.length-1,n=e.posMax;if(!t)if(u>=0&&e.pending.charCodeAt(u)===32)if(u>=1&&e.pending.charCodeAt(u-1)===32){let a=u-1;for(;a>=1&&e.pending.charCodeAt(a-1)===32;)a--;e.pending=e.pending.slice(0,a),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(r++;r?@[]^_`{|}~-".split("").forEach(function(e){Zu[e.charCodeAt(0)]=1});function d2(e,t){let r=e.pos;const u=e.posMax;if(e.src.charCodeAt(r)!==92||(r++,r>=u))return!1;let n=e.src.charCodeAt(r);if(n===10){for(t||e.push("hardbreak","br",0),r++;r=55296&&n<=56319&&r+1=56320&&o<=57343&&(a+=e.src[r+1],r++)}const i="\\"+a;if(!t){const o=e.push("text_special","",0);n<256&&Zu[n]!==0?o.content=a:o.content=i,o.markup=i,o.info="escape"}return e.pos=r+1,!0}function h2(e,t){let r=e.pos;if(e.src.charCodeAt(r)!==96)return!1;const n=r;r++;const a=e.posMax;for(;r=0;u--){const n=t[u];if(n.marker!==95&&n.marker!==42||n.end===-1)continue;const a=t[n.end],i=u>0&&t[u-1].end===n.end+1&&t[u-1].marker===n.marker&&t[u-1].token===n.token-1&&t[n.end+1].token===a.token+1,o=String.fromCharCode(n.marker),s=e.tokens[n.token];s.type=i?"strong_open":"em_open",s.tag=i?"strong":"em",s.nesting=1,s.markup=i?o+o:o,s.content="";const c=e.tokens[a.token];c.type=i?"strong_close":"em_close",c.tag=i?"strong":"em",c.nesting=-1,c.markup=i?o+o:o,c.content="",i&&(e.tokens[t[u-1].token].content="",e.tokens[t[n.end+1].token].content="",u--)}}function v2(e){const t=e.tokens_meta,r=e.tokens_meta.length;sa(e,e.delimiters);for(let u=0;u=d)return!1;if(s=x,n=e.md.helpers.parseLinkDestination(e.src,x,e.posMax),n.ok){for(i=e.md.normalizeLink(n.str),e.md.validateLink(i)?x=n.pos:i="",s=x;x=d||e.src.charCodeAt(x)!==41)&&(c=!0),x++}if(c){if(typeof e.env.references>"u")return!1;if(x=0?u=e.src.slice(s,x++):x=v+1):x=v+1,u||(u=e.src.slice(g,v)),a=e.env.references[zr(u)],!a)return e.pos=h,!1;i=a.href,o=a.title}if(!t){e.pos=g,e.posMax=v;const C=e.push("link_open","a",1),S=[["href",i]];C.attrs=S,o&&S.push(["title",o]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=x,e.posMax=d,!0}function x2(e,t){let r,u,n,a,i,o,s,c,h="";const d=e.pos,g=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const v=e.pos+2,x=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(x<0)return!1;if(a=x+1,a=g)return!1;for(c=a,o=e.md.helpers.parseLinkDestination(e.src,a,e.posMax),o.ok&&(h=e.md.normalizeLink(o.str),e.md.validateLink(h)?a=o.pos:h=""),c=a;a=g||e.src.charCodeAt(a)!==41)return e.pos=d,!1;a++}else{if(typeof e.env.references>"u")return!1;if(a=0?n=e.src.slice(c,a++):a=x+1):a=x+1,n||(n=e.src.slice(v,x)),i=e.env.references[zr(n)],!i)return e.pos=d,!1;h=i.href,s=i.title}if(!t){u=e.src.slice(v,x);const C=[];e.md.inline.parse(u,e.md,e.env,C);const S=e.push("image","img",0),I=[["src",h],["alt",""]];S.attrs=I,S.children=C,S.content=u,s&&I.push(["title",s])}return e.pos=a,e.posMax=g,!0}const y2=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,w2=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function k2(e,t){let r=e.pos;if(e.src.charCodeAt(r)!==60)return!1;const u=e.pos,n=e.posMax;for(;;){if(++r>=n)return!1;const i=e.src.charCodeAt(r);if(i===60)return!1;if(i===62)break}const a=e.src.slice(u+1,r);if(w2.test(a)){const i=e.md.normalizeLink(a);if(!e.md.validateLink(i))return!1;if(!t){const o=e.push("link_open","a",1);o.attrs=[["href",i]],o.markup="autolink",o.info="auto";const s=e.push("text","",0);s.content=e.md.normalizeLinkText(a);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=a.length+2,!0}if(y2.test(a)){const i=e.md.normalizeLink("mailto:"+a);if(!e.md.validateLink(i))return!1;if(!t){const o=e.push("link_open","a",1);o.attrs=[["href",i]],o.markup="autolink",o.info="auto";const s=e.push("text","",0);s.content=e.md.normalizeLinkText(a);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=a.length+2,!0}return!1}function S2(e){return/^\s]/i.test(e)}function A2(e){return/^<\/a\s*>/i.test(e)}function C2(e){const t=e|32;return t>=97&&t<=122}function _2(e,t){if(!e.md.options.html)return!1;const r=e.posMax,u=e.pos;if(e.src.charCodeAt(u)!==60||u+2>=r)return!1;const n=e.src.charCodeAt(u+1);if(n!==33&&n!==63&&n!==47&&!C2(n))return!1;const a=e.src.slice(u).match(t2);if(!a)return!1;if(!t){const i=e.push("html_inline","",0);i.content=a[0],S2(i.content)&&e.linkLevel++,A2(i.content)&&e.linkLevel--}return e.pos+=a[0].length,!0}const E2=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,D2=/^&([a-z][a-z0-9]{1,31});/i;function T2(e,t){const r=e.pos,u=e.posMax;if(e.src.charCodeAt(r)!==38||r+1>=u)return!1;if(e.src.charCodeAt(r+1)===35){const a=e.src.slice(r).match(E2);if(a){if(!t){const i=a[1][0].toLowerCase()==="x"?parseInt(a[1].slice(1),16):parseInt(a[1],10),o=e.push("text_special","",0);o.content=Yu(i)?yr(i):yr(65533),o.markup=a[0],o.info="entity"}return e.pos+=a[0].length,!0}}else{const a=e.src.slice(r).match(D2);if(a){const i=Mi(a[0]);if(i!==a[0]){if(!t){const o=e.push("text_special","",0);o.content=i,o.markup=a[0],o.info="entity"}return e.pos+=a[0].length,!0}}}return!1}function la(e){const t={},r=e.length;if(!r)return;let u=0,n=-2;const a=[];for(let i=0;is;c-=a[c]+1){const d=e[c];if(d.marker===o.marker&&d.open&&d.end<0){let g=!1;if((d.close||o.open)&&(d.length+o.length)%3===0&&(d.length%3!==0||o.length%3!==0)&&(g=!0),!g){const v=c>0&&!e[c-1].open?a[c-1]+1:0;a[i]=i-c+v,a[c]=v,o.open=!1,d.end=i,d.close=!1,h=-1,n=-2;break}}}h!==-1&&(t[o.marker][(o.open?3:0)+(o.length||0)%3]=h)}}function M2(e){const t=e.tokens_meta,r=e.tokens_meta.length;la(e.delimiters);for(let u=0;u0&&u++,n[t].type==="text"&&t+1=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;i||e.pos++,a[t]=e.pos};jt.prototype.tokenize=function(e){const t=this.ruler.getRules(""),r=t.length,u=e.posMax,n=e.md.options.maxNesting;for(;e.pos=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(i){if(e.pos>=u)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};jt.prototype.parse=function(e,t,r,u){const n=new this.State(e,t,r,u);this.tokenize(n);const a=this.ruler2.getRules(""),i=a.length;for(let o=0;o|$))",t.tpl_email_fuzzy="(^|"+r+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function _u(e){return Array.prototype.slice.call(arguments,1).forEach(function(r){r&&Object.keys(r).forEach(function(u){e[u]=r[u]})}),e}function Br(e){return Object.prototype.toString.call(e)}function I2(e){return Br(e)==="[object String]"}function B2(e){return Br(e)==="[object Object]"}function N2(e){return Br(e)==="[object RegExp]"}function ca(e){return Br(e)==="[object Function]"}function R2(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const Pi={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function O2(e){return Object.keys(e||{}).reduce(function(t,r){return t||Pi.hasOwnProperty(r)},!1)}const L2={"http:":{validate:function(e,t,r){const u=e.slice(t);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(u)?u.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){const u=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(u)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:u.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){const u=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(u)?u.match(r.re.mailto)[0].length:0}}},P2="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",q2="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function H2(e){e.__index__=-1,e.__text_cache__=""}function $2(e){return function(t,r){const u=t.slice(r);return e.test(u)?u.match(e)[0].length:0}}function fa(){return function(e,t){t.normalize(e)}}function wr(e){const t=e.re=z2(e.__opts__),r=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||r.push(P2),r.push(t.src_xn),t.src_tlds=r.join("|");function u(o){return o.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(u(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(u(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(u(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(u(t.tpl_host_fuzzy_test),"i");const n=[];e.__compiled__={};function a(o,s){throw new Error('(LinkifyIt) Invalid schema "'+o+'": '+s)}Object.keys(e.__schemas__).forEach(function(o){const s=e.__schemas__[o];if(s===null)return;const c={validate:null,link:null};if(e.__compiled__[o]=c,B2(s)){N2(s.validate)?c.validate=$2(s.validate):ca(s.validate)?c.validate=s.validate:a(o,s),ca(s.normalize)?c.normalize=s.normalize:s.normalize?a(o,s):c.normalize=fa();return}if(I2(s)){n.push(o);return}a(o,s)}),n.forEach(function(o){e.__compiled__[e.__schemas__[o]]&&(e.__compiled__[o].validate=e.__compiled__[e.__schemas__[o]].validate,e.__compiled__[o].normalize=e.__compiled__[e.__schemas__[o]].normalize)}),e.__compiled__[""]={validate:null,normalize:fa()};const i=Object.keys(e.__compiled__).filter(function(o){return o.length>0&&e.__compiled__[o]}).map(R2).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+i+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+i+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),H2(e)}function U2(e,t){const r=e.__index__,u=e.__last_index__,n=e.__text_cache__.slice(r,u);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=u+t,this.raw=n,this.text=n,this.url=n}function Eu(e,t){const r=new U2(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function je(e,t){if(!(this instanceof je))return new je(e,t);t||O2(e)&&(t=e,e={}),this.__opts__=_u({},Pi,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=_u({},L2,e),this.__compiled__={},this.__tlds__=q2,this.__tlds_replaced__=!1,this.re={},wr(this)}je.prototype.add=function(t,r){return this.__schemas__[t]=r,wr(this),this};je.prototype.set=function(t){return this.__opts__=_u(this.__opts__,t),this};je.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let r,u,n,a,i,o,s,c,h;if(this.re.schema_test.test(t)){for(s=this.re.schema_search,s.lastIndex=0;(r=s.exec(t))!==null;)if(a=this.testSchemaAt(t,r[2],s.lastIndex),a){this.__schema__=r[2],this.__index__=r.index+r[1].length,this.__last_index__=r.index+r[0].length+a;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=t.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c=0&&(n=t.match(this.re.email_fuzzy))!==null&&(i=n.index+n[1].length,o=n.index+n[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=o))),this.__index__>=0};je.prototype.pretest=function(t){return this.re.pretest.test(t)};je.prototype.testSchemaAt=function(t,r,u){return this.__compiled__[r.toLowerCase()]?this.__compiled__[r.toLowerCase()].validate(t,u,this):0};je.prototype.match=function(t){const r=[];let u=0;this.__index__>=0&&this.__text_cache__===t&&(r.push(Eu(this,u)),u=this.__last_index__);let n=u?t.slice(u):t;for(;this.test(n);)r.push(Eu(this,u)),n=n.slice(this.__last_index__),u+=this.__last_index__;return r.length?r:null};je.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const r=this.re.schema_at_start.exec(t);if(!r)return null;const u=this.testSchemaAt(t,r[2],r[0].length);return u?(this.__schema__=r[2],this.__index__=r.index+r[1].length,this.__last_index__=r.index+r[0].length+u,Eu(this,0)):null};je.prototype.tlds=function(t,r){return t=Array.isArray(t)?t:[t],r?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(u,n,a){return u!==a[n-1]}).reverse(),wr(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,wr(this),this)};je.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};je.prototype.onCompile=function(){};const dt=2147483647,o0=36,Xu=1,Pt=26,V2=38,j2=700,qi=72,Hi=128,$i="-",G2=/^xn--/,Y2=/[^\0-\x7F]/,W2=/[\x2E\u3002\uFF0E\uFF61]/g,Z2={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},au=o0-Xu,s0=Math.floor,iu=String.fromCharCode;function N0(e){throw new RangeError(Z2[e])}function X2(e,t){const r=[];let u=e.length;for(;u--;)r[u]=t(e[u]);return r}function Ui(e,t){const r=e.split("@");let u="";r.length>1&&(u=r[0]+"@",e=r[1]),e=e.replace(W2,".");const n=e.split("."),a=X2(n,t).join(".");return u+a}function Vi(e){const t=[];let r=0;const u=e.length;for(;r=55296&&n<=56319&&rString.fromCodePoint(...e),J2=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:o0},da=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},ji=function(e,t,r){let u=0;for(e=r?s0(e/j2):e>>1,e+=s0(e/t);e>au*Pt>>1;u+=o0)e=s0(e/au);return s0(u+(au+1)*e/(e+V2))},Gi=function(e){const t=[],r=e.length;let u=0,n=Hi,a=qi,i=e.lastIndexOf($i);i<0&&(i=0);for(let o=0;o=128&&N0("not-basic"),t.push(e.charCodeAt(o));for(let o=i>0?i+1:0;o=r&&N0("invalid-input");const g=J2(e.charCodeAt(o++));g>=o0&&N0("invalid-input"),g>s0((dt-u)/h)&&N0("overflow"),u+=g*h;const v=d<=a?Xu:d>=a+Pt?Pt:d-a;if(gs0(dt/x)&&N0("overflow"),h*=x}const c=t.length+1;a=ji(u-s,c,s==0),s0(u/c)>dt-n&&N0("overflow"),n+=s0(u/c),u%=c,t.splice(u++,0,n)}return String.fromCodePoint(...t)},Yi=function(e){const t=[];e=Vi(e);const r=e.length;let u=Hi,n=0,a=qi;for(const s of e)s<128&&t.push(iu(s));const i=t.length;let o=i;for(i&&t.push($i);o=u&&hs0((dt-n)/c)&&N0("overflow"),n+=(s-u)*c,u=s;for(const h of e)if(hdt&&N0("overflow"),h===u){let d=n;for(let g=o0;;g+=o0){const v=g<=a?Xu:g>=a+Pt?Pt:g-a;if(d=0))try{t.hostname=Wi.toASCII(t.hostname)}catch{}return Ut(Uu(t))}function cf(e){const t=Vu(e,!0);if(t.hostname&&(!t.protocol||Zi.indexOf(t.protocol)>=0))try{t.hostname=Wi.toUnicode(t.hostname)}catch{}return mt(Uu(t),mt.defaultChars+"%")}function Qe(e,t){if(!(this instanceof Qe))return new Qe(e,t);t||Gu(e)||(t=e||{},e="default"),this.inline=new jt,this.block=new Ir,this.core=new Wu,this.renderer=new kt,this.linkify=new je,this.validateLink=sf,this.normalizeLink=lf,this.normalizeLinkText=cf,this.utils=fc,this.helpers=Fr({},pc),this.options={},this.configure(e),t&&this.set(t)}Qe.prototype.set=function(e){return Fr(this.options,e),this};Qe.prototype.configure=function(e){const t=this;if(Gu(e)){const r=e;if(e=nf[r],!e)throw new Error('Wrong `markdown-it` preset "'+r+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(r){e.components[r].rules&&t[r].ruler.enableOnly(e.components[r].rules),e.components[r].rules2&&t[r].ruler2.enableOnly(e.components[r].rules2)}),this};Qe.prototype.enable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(n){r=r.concat(this[n].ruler.enable(e,!0))},this),r=r.concat(this.inline.ruler2.enable(e,!0));const u=e.filter(function(n){return r.indexOf(n)<0});if(u.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+u);return this};Qe.prototype.disable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(n){r=r.concat(this[n].ruler.disable(e,!0))},this),r=r.concat(this.inline.ruler2.disable(e,!0));const u=e.filter(function(n){return r.indexOf(n)<0});if(u.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+u);return this};Qe.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};Qe.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const r=new this.core.State(e,this,t);return this.core.process(r),r.tokens};Qe.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};Qe.prototype.parseInline=function(e,t){const r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens};Qe.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};function ff(e){const t=e.utils.isSpace;function r(a,i){let o=a.bMarks[i]+a.tShift[i];const s=a.eMarks[i];if(o>=s)return-1;const c=a.src.charCodeAt(o++);if(c!==126&&c!==58)return-1;const h=a.skipSpaces(o);return o===h||h>=s?-1:o}function u(a,i){const o=a.level+2;for(let s=i+2,c=a.tokens.length-2;s=0;let c=i+1;if(c>=o||a.isEmpty(c)&&(c++,c>=o)||a.sCount[c]1&&a.isEmpty(a.line-1),a.tShift[S]=ae,a.sCount[S]=ke,a.tight=K,a.parentType=ve,a.blkIndent=ie,a.ddIndent=le,a.push("dd_close","dd",-1),F[1]=c=a.line,c>=o||a.sCount[c]=o||(C=c,a.isEmpty(C))||a.sCount[C]=o)||(a.isEmpty(S)&&S++,S>=o)||a.sCount[S]15?c="…"+o.slice(n-15,n):c=o.slice(0,n);var h;a+15":">","<":"<",'"':""","'":"'"},wf=/[&><"']/g;function kf(e){return String(e).replace(wf,t=>yf[t])}var Ki=function e(t){return t.type==="ordgroup"||t.type==="color"?t.body.length===1?e(t.body[0]):t:t.type==="font"?e(t.body):t},Sf=function(t){var r=Ki(t);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},Af=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},Cf=function(t){var r=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(t);return r?r[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(r[1])?null:r[1].toLowerCase():"_relative"},Q={contains:bf,deflt:vf,escape:kf,hyphenate:xf,getBaseElem:Ki,isCharacterBox:Sf,protocolFromUrl:Cf},pr={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand ",cliProcessor:e=>e==="Infinity"?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function _f(e){if(e.default)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class Ku{constructor(t){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{};for(var r in pr)if(pr.hasOwnProperty(r)){var u=pr[r];this[r]=t[r]!==void 0?u.processor?u.processor(t[r]):t[r]:_f(u)}}reportNonstrict(t,r,u){var n=this.strict;if(typeof n=="function"&&(n=n(t,r,u)),!(!n||n==="ignore")){if(n===!0||n==="error")throw new H("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+t+"]"),u);n==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+n+"': "+r+" ["+t+"]"))}}useStrictBehavior(t,r,u){var n=this.strict;if(typeof n=="function")try{n=n(t,r,u)}catch{n="error"}return!n||n==="ignore"?!1:n===!0||n==="error"?!0:n==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+n+"': "+r+" ["+t+"]")),!1)}isTrusted(t){if(t.url&&!t.protocol){var r=Q.protocolFromUrl(t.url);if(r==null)return!1;t.protocol=r}var u=typeof this.trust=="function"?this.trust(t):this.trust;return!!u}}class I0{constructor(t,r,u){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=r,this.cramped=u}sup(){return i0[Ef[this.id]]}sub(){return i0[Df[this.id]]}fracNum(){return i0[Tf[this.id]]}fracDen(){return i0[Mf[this.id]]}cramp(){return i0[Ff[this.id]]}text(){return i0[zf[this.id]]}isTight(){return this.size>=2}}var Ju=0,kr=1,ht=2,k0=3,qt=4,Ke=5,bt=6,Re=7,i0=[new I0(Ju,0,!1),new I0(kr,0,!0),new I0(ht,1,!1),new I0(k0,1,!0),new I0(qt,2,!1),new I0(Ke,2,!0),new I0(bt,3,!1),new I0(Re,3,!0)],Ef=[qt,Ke,qt,Ke,bt,Re,bt,Re],Df=[Ke,Ke,Ke,Ke,Re,Re,Re,Re],Tf=[ht,k0,qt,Ke,bt,Re,bt,Re],Mf=[k0,k0,Ke,Ke,Re,Re,Re,Re],Ff=[kr,kr,k0,k0,Ke,Ke,Re,Re],zf=[Ju,kr,ht,k0,ht,k0,ht,k0],te={DISPLAY:i0[Ju],TEXT:i0[ht],SCRIPT:i0[qt],SCRIPTSCRIPT:i0[bt]},Du=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function If(e){for(var t=0;t=n[0]&&e<=n[1])return r.name}return null}var br=[];Du.forEach(e=>e.blocks.forEach(t=>br.push(...t)));function Ji(e){for(var t=0;t=br[t]&&e<=br[t+1])return!0;return!1}var st=80,Bf=function(t,r){return"M95,"+(622+t+r)+` c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 @@ -304,7 +304,7 @@ s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,1 H742v`+n+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1 h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 -219 661 l218 661zM702 `+r+"H400000v"+(40+t)+"H742z"},$f=function(t,r,u){r=1e3*r;var n="";switch(t){case"sqrtMain":n=Bf(r,st);break;case"sqrtSize1":n=Nf(r,st);break;case"sqrtSize2":n=Rf(r,st);break;case"sqrtSize3":n=Of(r,st);break;case"sqrtSize4":n=Lf(r,st);break;case"sqrtTall":n=qf(r,st,u)}return n},Hf=function(t,r){switch(t){case"⎜":return"M291 0 H417 V"+r+" H291z M291 0 H417 V"+r+" H291z";case"∣":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z";case"∥":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z"+("M367 0 H410 V"+r+" H367z M367 0 H410 V"+r+" H367z");case"⎟":return"M457 0 H583 V"+r+" H457z M457 0 H583 V"+r+" H457z";case"⎢":return"M319 0 H403 V"+r+" H319z M319 0 H403 V"+r+" H319z";case"⎥":return"M263 0 H347 V"+r+" H263z M263 0 H347 V"+r+" H263z";case"⎪":return"M384 0 H504 V"+r+" H384z M384 0 H504 V"+r+" H384z";case"⏐":return"M312 0 H355 V"+r+" H312z M312 0 H355 V"+r+" H312z";case"‖":return"M257 0 H300 V"+r+" H257z M257 0 H300 V"+r+" H257z"+("M478 0 H521 V"+r+" H478z M478 0 H521 V"+r+" H478z");default:return""}},ha={doubleleftarrow:`M262 157 +219 661 l218 661zM702 `+r+"H400000v"+(40+t)+"H742z"},Hf=function(t,r,u){r=1e3*r;var n="";switch(t){case"sqrtMain":n=Bf(r,st);break;case"sqrtSize1":n=Nf(r,st);break;case"sqrtSize2":n=Rf(r,st);break;case"sqrtSize3":n=Of(r,st);break;case"sqrtSize4":n=Lf(r,st);break;case"sqrtTall":n=qf(r,st,u)}return n},$f=function(t,r){switch(t){case"⎜":return"M291 0 H417 V"+r+" H291z M291 0 H417 V"+r+" H291z";case"∣":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z";case"∥":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z"+("M367 0 H410 V"+r+" H367z M367 0 H410 V"+r+" H367z");case"⎟":return"M457 0 H583 V"+r+" H457z M457 0 H583 V"+r+" H457z";case"⎢":return"M319 0 H403 V"+r+" H319z M319 0 H403 V"+r+" H319z";case"⎥":return"M263 0 H347 V"+r+" H263z M263 0 H347 V"+r+" H263z";case"⎪":return"M384 0 H504 V"+r+" H384z M384 0 H504 V"+r+" H384z";case"⏐":return"M312 0 H355 V"+r+" H312z M312 0 H355 V"+r+" H312z";case"‖":return"M257 0 H300 V"+r+" H257z M257 0 H300 V"+r+" H257z"+("M478 0 H521 V"+r+" H478z M478 0 H521 V"+r+" H478z");default:return""}},ha={doubleleftarrow:`M262 157 l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5 @@ -507,34 +507,34 @@ c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6 c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17 c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, --470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class Gt{constructor(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return Q.contains(this.classes,t)}toNode(){for(var t=document.createDocumentFragment(),r=0;rr.toText();return this.children.map(t).join("")}}var l0={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},ar={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},ma={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function Vf(e,t){l0[e]=t}function Qu(e,t,r){if(!l0[t])throw new Error("Font metrics not found for font: "+t+".");var u=e.charCodeAt(0),n=l0[t][u];if(!n&&e[0]in ma&&(u=ma[e[0]].charCodeAt(0),n=l0[t][u]),!n&&r==="text"&&Ji(u)&&(n=l0[t][77]),n)return{depth:n[0],height:n[1],italic:n[2],skew:n[3],width:n[4]}}var ou={};function jf(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!ou[t]){var r=ou[t]={cssEmPerMu:ar.quad[t]/18};for(var u in ar)ar.hasOwnProperty(u)&&(r[u]=ar[u][t])}return ou[t]}var Gf=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],pa=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],ba=function(t,r){return r.size<2?t:Gf[t-1][r.size-1]};class y0{constructor(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||y0.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=pa[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var u in t)t.hasOwnProperty(u)&&(r[u]=t[u]);return new y0(r)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:ba(this.textSize,t)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:pa[t-1]})}havingBaseStyle(t){t=t||this.style.text();var r=ba(y0.BASESIZE,t);return this.size===r&&this.textSize===y0.BASESIZE&&this.style===t?this:this.extend({style:t,size:r})}havingBaseSizing(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==y0.BASESIZE?["sizing","reset-size"+this.size,"size"+y0.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=jf(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}y0.BASESIZE=6;var Tu={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Yf={ex:!0,em:!0,mu:!0},Qi=function(t){return typeof t!="string"&&(t=t.unit),t in Tu||t in Yf||t==="ex"},ye=function(t,r){var u;if(t.unit in Tu)u=Tu[t.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(t.unit==="mu")u=r.fontMetrics().cssEmPerMu;else{var n;if(r.style.isTight()?n=r.havingStyle(r.style.text()):n=r,t.unit==="ex")u=n.fontMetrics().xHeight;else if(t.unit==="em")u=n.fontMetrics().quad;else throw new $("Invalid unit: '"+t.unit+"'");n!==r&&(u*=n.sizeMultiplier/r.sizeMultiplier)}return Math.min(t.number*u,r.maxSize)},G=function(t){return+t.toFixed(4)+"em"},U0=function(t){return t.filter(r=>r).join(" ")},eo=function(t,r,u){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=u||{},r){r.style.isTight()&&this.classes.push("mtight");var n=r.getColor();n&&(this.style.color=n)}},to=function(t){var r=document.createElement(t);r.className=U0(this.classes);for(var u in this.style)this.style.hasOwnProperty(u)&&(r.style[u]=this.style[u]);for(var n in this.attributes)this.attributes.hasOwnProperty(n)&&r.setAttribute(n,this.attributes[n]);for(var a=0;a",r};class Yt{constructor(t,r,u,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,eo.call(this,t,u,n),this.children=r||[]}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return Q.contains(this.classes,t)}toNode(){return to.call(this,"span")}toMarkup(){return ro.call(this,"span")}}class en{constructor(t,r,u,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,eo.call(this,r,n),this.children=u||[],this.setAttribute("href",t)}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return Q.contains(this.classes,t)}toNode(){return to.call(this,"a")}toMarkup(){return ro.call(this,"a")}}class Wf{constructor(t,r,u){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=r,this.src=t,this.classes=["mord"],this.style=u}hasClass(t){return Q.contains(this.classes,t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);return t}toMarkup(){var t=''+Q.escape(this.alt)+'0&&(r=document.createElement("span"),r.style.marginRight=G(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=U0(this.classes));for(var u in this.style)this.style.hasOwnProperty(u)&&(r=r||document.createElement("span"),r.style[u]=this.style[u]);return r?(r.appendChild(t),r):t}toMarkup(){var t=!1,r="0&&(u+="margin-right:"+this.italic+"em;");for(var n in this.style)this.style.hasOwnProperty(n)&&(u+=Q.hyphenate(n)+":"+this.style[n]+";");u&&(t=!0,r+=' style="'+Q.escape(u)+'"');var a=Q.escape(this.text);return t?(r+=">",r+=a,r+="",r):a}}class A0{constructor(t,r){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=r||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"svg");for(var u in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,u)&&r.setAttribute(u,this.attributes[u]);for(var n=0;n':''}}class Mu{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"line");for(var u in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,u)&&r.setAttribute(u,this.attributes[u]);return r}toMarkup(){var t=" but got "+String(e)+".")}var Kf={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Jf={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},be={math:{},text:{}};function l(e,t,r,u,n,a){be[e][n]={font:t,group:r,replace:u},a&&u&&(be[e][u]=be[e][n])}var f="math",O="text",m="main",w="ams",ge="accent-token",W="bin",Oe="close",St="inner",ee="mathord",Ee="op-token",Ge="open",Nr="punct",k="rel",E0="spacing",_="textord";l(f,m,k,"≡","\\equiv",!0);l(f,m,k,"≺","\\prec",!0);l(f,m,k,"≻","\\succ",!0);l(f,m,k,"∼","\\sim",!0);l(f,m,k,"⊥","\\perp");l(f,m,k,"⪯","\\preceq",!0);l(f,m,k,"⪰","\\succeq",!0);l(f,m,k,"≃","\\simeq",!0);l(f,m,k,"∣","\\mid",!0);l(f,m,k,"≪","\\ll",!0);l(f,m,k,"≫","\\gg",!0);l(f,m,k,"≍","\\asymp",!0);l(f,m,k,"∥","\\parallel");l(f,m,k,"⋈","\\bowtie",!0);l(f,m,k,"⌣","\\smile",!0);l(f,m,k,"⊑","\\sqsubseteq",!0);l(f,m,k,"⊒","\\sqsupseteq",!0);l(f,m,k,"≐","\\doteq",!0);l(f,m,k,"⌢","\\frown",!0);l(f,m,k,"∋","\\ni",!0);l(f,m,k,"∝","\\propto",!0);l(f,m,k,"⊢","\\vdash",!0);l(f,m,k,"⊣","\\dashv",!0);l(f,m,k,"∋","\\owns");l(f,m,Nr,".","\\ldotp");l(f,m,Nr,"⋅","\\cdotp");l(f,m,_,"#","\\#");l(O,m,_,"#","\\#");l(f,m,_,"&","\\&");l(O,m,_,"&","\\&");l(f,m,_,"ℵ","\\aleph",!0);l(f,m,_,"∀","\\forall",!0);l(f,m,_,"ℏ","\\hbar",!0);l(f,m,_,"∃","\\exists",!0);l(f,m,_,"∇","\\nabla",!0);l(f,m,_,"♭","\\flat",!0);l(f,m,_,"ℓ","\\ell",!0);l(f,m,_,"♮","\\natural",!0);l(f,m,_,"♣","\\clubsuit",!0);l(f,m,_,"℘","\\wp",!0);l(f,m,_,"♯","\\sharp",!0);l(f,m,_,"♢","\\diamondsuit",!0);l(f,m,_,"ℜ","\\Re",!0);l(f,m,_,"♡","\\heartsuit",!0);l(f,m,_,"ℑ","\\Im",!0);l(f,m,_,"♠","\\spadesuit",!0);l(f,m,_,"§","\\S",!0);l(O,m,_,"§","\\S");l(f,m,_,"¶","\\P",!0);l(O,m,_,"¶","\\P");l(f,m,_,"†","\\dag");l(O,m,_,"†","\\dag");l(O,m,_,"†","\\textdagger");l(f,m,_,"‡","\\ddag");l(O,m,_,"‡","\\ddag");l(O,m,_,"‡","\\textdaggerdbl");l(f,m,Oe,"⎱","\\rmoustache",!0);l(f,m,Ge,"⎰","\\lmoustache",!0);l(f,m,Oe,"⟯","\\rgroup",!0);l(f,m,Ge,"⟮","\\lgroup",!0);l(f,m,W,"∓","\\mp",!0);l(f,m,W,"⊖","\\ominus",!0);l(f,m,W,"⊎","\\uplus",!0);l(f,m,W,"⊓","\\sqcap",!0);l(f,m,W,"∗","\\ast");l(f,m,W,"⊔","\\sqcup",!0);l(f,m,W,"◯","\\bigcirc",!0);l(f,m,W,"∙","\\bullet",!0);l(f,m,W,"‡","\\ddagger");l(f,m,W,"≀","\\wr",!0);l(f,m,W,"⨿","\\amalg");l(f,m,W,"&","\\And");l(f,m,k,"⟵","\\longleftarrow",!0);l(f,m,k,"⇐","\\Leftarrow",!0);l(f,m,k,"⟸","\\Longleftarrow",!0);l(f,m,k,"⟶","\\longrightarrow",!0);l(f,m,k,"⇒","\\Rightarrow",!0);l(f,m,k,"⟹","\\Longrightarrow",!0);l(f,m,k,"↔","\\leftrightarrow",!0);l(f,m,k,"⟷","\\longleftrightarrow",!0);l(f,m,k,"⇔","\\Leftrightarrow",!0);l(f,m,k,"⟺","\\Longleftrightarrow",!0);l(f,m,k,"↦","\\mapsto",!0);l(f,m,k,"⟼","\\longmapsto",!0);l(f,m,k,"↗","\\nearrow",!0);l(f,m,k,"↩","\\hookleftarrow",!0);l(f,m,k,"↪","\\hookrightarrow",!0);l(f,m,k,"↘","\\searrow",!0);l(f,m,k,"↼","\\leftharpoonup",!0);l(f,m,k,"⇀","\\rightharpoonup",!0);l(f,m,k,"↙","\\swarrow",!0);l(f,m,k,"↽","\\leftharpoondown",!0);l(f,m,k,"⇁","\\rightharpoondown",!0);l(f,m,k,"↖","\\nwarrow",!0);l(f,m,k,"⇌","\\rightleftharpoons",!0);l(f,w,k,"≮","\\nless",!0);l(f,w,k,"","\\@nleqslant");l(f,w,k,"","\\@nleqq");l(f,w,k,"⪇","\\lneq",!0);l(f,w,k,"≨","\\lneqq",!0);l(f,w,k,"","\\@lvertneqq");l(f,w,k,"⋦","\\lnsim",!0);l(f,w,k,"⪉","\\lnapprox",!0);l(f,w,k,"⊀","\\nprec",!0);l(f,w,k,"⋠","\\npreceq",!0);l(f,w,k,"⋨","\\precnsim",!0);l(f,w,k,"⪹","\\precnapprox",!0);l(f,w,k,"≁","\\nsim",!0);l(f,w,k,"","\\@nshortmid");l(f,w,k,"∤","\\nmid",!0);l(f,w,k,"⊬","\\nvdash",!0);l(f,w,k,"⊭","\\nvDash",!0);l(f,w,k,"⋪","\\ntriangleleft");l(f,w,k,"⋬","\\ntrianglelefteq",!0);l(f,w,k,"⊊","\\subsetneq",!0);l(f,w,k,"","\\@varsubsetneq");l(f,w,k,"⫋","\\subsetneqq",!0);l(f,w,k,"","\\@varsubsetneqq");l(f,w,k,"≯","\\ngtr",!0);l(f,w,k,"","\\@ngeqslant");l(f,w,k,"","\\@ngeqq");l(f,w,k,"⪈","\\gneq",!0);l(f,w,k,"≩","\\gneqq",!0);l(f,w,k,"","\\@gvertneqq");l(f,w,k,"⋧","\\gnsim",!0);l(f,w,k,"⪊","\\gnapprox",!0);l(f,w,k,"⊁","\\nsucc",!0);l(f,w,k,"⋡","\\nsucceq",!0);l(f,w,k,"⋩","\\succnsim",!0);l(f,w,k,"⪺","\\succnapprox",!0);l(f,w,k,"≆","\\ncong",!0);l(f,w,k,"","\\@nshortparallel");l(f,w,k,"∦","\\nparallel",!0);l(f,w,k,"⊯","\\nVDash",!0);l(f,w,k,"⋫","\\ntriangleright");l(f,w,k,"⋭","\\ntrianglerighteq",!0);l(f,w,k,"","\\@nsupseteqq");l(f,w,k,"⊋","\\supsetneq",!0);l(f,w,k,"","\\@varsupsetneq");l(f,w,k,"⫌","\\supsetneqq",!0);l(f,w,k,"","\\@varsupsetneqq");l(f,w,k,"⊮","\\nVdash",!0);l(f,w,k,"⪵","\\precneqq",!0);l(f,w,k,"⪶","\\succneqq",!0);l(f,w,k,"","\\@nsubseteqq");l(f,w,W,"⊴","\\unlhd");l(f,w,W,"⊵","\\unrhd");l(f,w,k,"↚","\\nleftarrow",!0);l(f,w,k,"↛","\\nrightarrow",!0);l(f,w,k,"⇍","\\nLeftarrow",!0);l(f,w,k,"⇏","\\nRightarrow",!0);l(f,w,k,"↮","\\nleftrightarrow",!0);l(f,w,k,"⇎","\\nLeftrightarrow",!0);l(f,w,k,"△","\\vartriangle");l(f,w,_,"ℏ","\\hslash");l(f,w,_,"▽","\\triangledown");l(f,w,_,"◊","\\lozenge");l(f,w,_,"Ⓢ","\\circledS");l(f,w,_,"®","\\circledR");l(O,w,_,"®","\\circledR");l(f,w,_,"∡","\\measuredangle",!0);l(f,w,_,"∄","\\nexists");l(f,w,_,"℧","\\mho");l(f,w,_,"Ⅎ","\\Finv",!0);l(f,w,_,"⅁","\\Game",!0);l(f,w,_,"‵","\\backprime");l(f,w,_,"▲","\\blacktriangle");l(f,w,_,"▼","\\blacktriangledown");l(f,w,_,"■","\\blacksquare");l(f,w,_,"⧫","\\blacklozenge");l(f,w,_,"★","\\bigstar");l(f,w,_,"∢","\\sphericalangle",!0);l(f,w,_,"∁","\\complement",!0);l(f,w,_,"ð","\\eth",!0);l(O,m,_,"ð","ð");l(f,w,_,"╱","\\diagup");l(f,w,_,"╲","\\diagdown");l(f,w,_,"□","\\square");l(f,w,_,"□","\\Box");l(f,w,_,"◊","\\Diamond");l(f,w,_,"¥","\\yen",!0);l(O,w,_,"¥","\\yen",!0);l(f,w,_,"✓","\\checkmark",!0);l(O,w,_,"✓","\\checkmark");l(f,w,_,"ℶ","\\beth",!0);l(f,w,_,"ℸ","\\daleth",!0);l(f,w,_,"ℷ","\\gimel",!0);l(f,w,_,"ϝ","\\digamma",!0);l(f,w,_,"ϰ","\\varkappa");l(f,w,Ge,"┌","\\@ulcorner",!0);l(f,w,Oe,"┐","\\@urcorner",!0);l(f,w,Ge,"└","\\@llcorner",!0);l(f,w,Oe,"┘","\\@lrcorner",!0);l(f,w,k,"≦","\\leqq",!0);l(f,w,k,"⩽","\\leqslant",!0);l(f,w,k,"⪕","\\eqslantless",!0);l(f,w,k,"≲","\\lesssim",!0);l(f,w,k,"⪅","\\lessapprox",!0);l(f,w,k,"≊","\\approxeq",!0);l(f,w,W,"⋖","\\lessdot");l(f,w,k,"⋘","\\lll",!0);l(f,w,k,"≶","\\lessgtr",!0);l(f,w,k,"⋚","\\lesseqgtr",!0);l(f,w,k,"⪋","\\lesseqqgtr",!0);l(f,w,k,"≑","\\doteqdot");l(f,w,k,"≓","\\risingdotseq",!0);l(f,w,k,"≒","\\fallingdotseq",!0);l(f,w,k,"∽","\\backsim",!0);l(f,w,k,"⋍","\\backsimeq",!0);l(f,w,k,"⫅","\\subseteqq",!0);l(f,w,k,"⋐","\\Subset",!0);l(f,w,k,"⊏","\\sqsubset",!0);l(f,w,k,"≼","\\preccurlyeq",!0);l(f,w,k,"⋞","\\curlyeqprec",!0);l(f,w,k,"≾","\\precsim",!0);l(f,w,k,"⪷","\\precapprox",!0);l(f,w,k,"⊲","\\vartriangleleft");l(f,w,k,"⊴","\\trianglelefteq");l(f,w,k,"⊨","\\vDash",!0);l(f,w,k,"⊪","\\Vvdash",!0);l(f,w,k,"⌣","\\smallsmile");l(f,w,k,"⌢","\\smallfrown");l(f,w,k,"≏","\\bumpeq",!0);l(f,w,k,"≎","\\Bumpeq",!0);l(f,w,k,"≧","\\geqq",!0);l(f,w,k,"⩾","\\geqslant",!0);l(f,w,k,"⪖","\\eqslantgtr",!0);l(f,w,k,"≳","\\gtrsim",!0);l(f,w,k,"⪆","\\gtrapprox",!0);l(f,w,W,"⋗","\\gtrdot");l(f,w,k,"⋙","\\ggg",!0);l(f,w,k,"≷","\\gtrless",!0);l(f,w,k,"⋛","\\gtreqless",!0);l(f,w,k,"⪌","\\gtreqqless",!0);l(f,w,k,"≖","\\eqcirc",!0);l(f,w,k,"≗","\\circeq",!0);l(f,w,k,"≜","\\triangleq",!0);l(f,w,k,"∼","\\thicksim");l(f,w,k,"≈","\\thickapprox");l(f,w,k,"⫆","\\supseteqq",!0);l(f,w,k,"⋑","\\Supset",!0);l(f,w,k,"⊐","\\sqsupset",!0);l(f,w,k,"≽","\\succcurlyeq",!0);l(f,w,k,"⋟","\\curlyeqsucc",!0);l(f,w,k,"≿","\\succsim",!0);l(f,w,k,"⪸","\\succapprox",!0);l(f,w,k,"⊳","\\vartriangleright");l(f,w,k,"⊵","\\trianglerighteq");l(f,w,k,"⊩","\\Vdash",!0);l(f,w,k,"∣","\\shortmid");l(f,w,k,"∥","\\shortparallel");l(f,w,k,"≬","\\between",!0);l(f,w,k,"⋔","\\pitchfork",!0);l(f,w,k,"∝","\\varpropto");l(f,w,k,"◀","\\blacktriangleleft");l(f,w,k,"∴","\\therefore",!0);l(f,w,k,"∍","\\backepsilon");l(f,w,k,"▶","\\blacktriangleright");l(f,w,k,"∵","\\because",!0);l(f,w,k,"⋘","\\llless");l(f,w,k,"⋙","\\gggtr");l(f,w,W,"⊲","\\lhd");l(f,w,W,"⊳","\\rhd");l(f,w,k,"≂","\\eqsim",!0);l(f,m,k,"⋈","\\Join");l(f,w,k,"≑","\\Doteq",!0);l(f,w,W,"∔","\\dotplus",!0);l(f,w,W,"∖","\\smallsetminus");l(f,w,W,"⋒","\\Cap",!0);l(f,w,W,"⋓","\\Cup",!0);l(f,w,W,"⩞","\\doublebarwedge",!0);l(f,w,W,"⊟","\\boxminus",!0);l(f,w,W,"⊞","\\boxplus",!0);l(f,w,W,"⋇","\\divideontimes",!0);l(f,w,W,"⋉","\\ltimes",!0);l(f,w,W,"⋊","\\rtimes",!0);l(f,w,W,"⋋","\\leftthreetimes",!0);l(f,w,W,"⋌","\\rightthreetimes",!0);l(f,w,W,"⋏","\\curlywedge",!0);l(f,w,W,"⋎","\\curlyvee",!0);l(f,w,W,"⊝","\\circleddash",!0);l(f,w,W,"⊛","\\circledast",!0);l(f,w,W,"⋅","\\centerdot");l(f,w,W,"⊺","\\intercal",!0);l(f,w,W,"⋒","\\doublecap");l(f,w,W,"⋓","\\doublecup");l(f,w,W,"⊠","\\boxtimes",!0);l(f,w,k,"⇢","\\dashrightarrow",!0);l(f,w,k,"⇠","\\dashleftarrow",!0);l(f,w,k,"⇇","\\leftleftarrows",!0);l(f,w,k,"⇆","\\leftrightarrows",!0);l(f,w,k,"⇚","\\Lleftarrow",!0);l(f,w,k,"↞","\\twoheadleftarrow",!0);l(f,w,k,"↢","\\leftarrowtail",!0);l(f,w,k,"↫","\\looparrowleft",!0);l(f,w,k,"⇋","\\leftrightharpoons",!0);l(f,w,k,"↶","\\curvearrowleft",!0);l(f,w,k,"↺","\\circlearrowleft",!0);l(f,w,k,"↰","\\Lsh",!0);l(f,w,k,"⇈","\\upuparrows",!0);l(f,w,k,"↿","\\upharpoonleft",!0);l(f,w,k,"⇃","\\downharpoonleft",!0);l(f,m,k,"⊶","\\origof",!0);l(f,m,k,"⊷","\\imageof",!0);l(f,w,k,"⊸","\\multimap",!0);l(f,w,k,"↭","\\leftrightsquigarrow",!0);l(f,w,k,"⇉","\\rightrightarrows",!0);l(f,w,k,"⇄","\\rightleftarrows",!0);l(f,w,k,"↠","\\twoheadrightarrow",!0);l(f,w,k,"↣","\\rightarrowtail",!0);l(f,w,k,"↬","\\looparrowright",!0);l(f,w,k,"↷","\\curvearrowright",!0);l(f,w,k,"↻","\\circlearrowright",!0);l(f,w,k,"↱","\\Rsh",!0);l(f,w,k,"⇊","\\downdownarrows",!0);l(f,w,k,"↾","\\upharpoonright",!0);l(f,w,k,"⇂","\\downharpoonright",!0);l(f,w,k,"⇝","\\rightsquigarrow",!0);l(f,w,k,"⇝","\\leadsto");l(f,w,k,"⇛","\\Rrightarrow",!0);l(f,w,k,"↾","\\restriction");l(f,m,_,"‘","`");l(f,m,_,"$","\\$");l(O,m,_,"$","\\$");l(O,m,_,"$","\\textdollar");l(f,m,_,"%","\\%");l(O,m,_,"%","\\%");l(f,m,_,"_","\\_");l(O,m,_,"_","\\_");l(O,m,_,"_","\\textunderscore");l(f,m,_,"∠","\\angle",!0);l(f,m,_,"∞","\\infty",!0);l(f,m,_,"′","\\prime");l(f,m,_,"△","\\triangle");l(f,m,_,"Γ","\\Gamma",!0);l(f,m,_,"Δ","\\Delta",!0);l(f,m,_,"Θ","\\Theta",!0);l(f,m,_,"Λ","\\Lambda",!0);l(f,m,_,"Ξ","\\Xi",!0);l(f,m,_,"Π","\\Pi",!0);l(f,m,_,"Σ","\\Sigma",!0);l(f,m,_,"Υ","\\Upsilon",!0);l(f,m,_,"Φ","\\Phi",!0);l(f,m,_,"Ψ","\\Psi",!0);l(f,m,_,"Ω","\\Omega",!0);l(f,m,_,"A","Α");l(f,m,_,"B","Β");l(f,m,_,"E","Ε");l(f,m,_,"Z","Ζ");l(f,m,_,"H","Η");l(f,m,_,"I","Ι");l(f,m,_,"K","Κ");l(f,m,_,"M","Μ");l(f,m,_,"N","Ν");l(f,m,_,"O","Ο");l(f,m,_,"P","Ρ");l(f,m,_,"T","Τ");l(f,m,_,"X","Χ");l(f,m,_,"¬","\\neg",!0);l(f,m,_,"¬","\\lnot");l(f,m,_,"⊤","\\top");l(f,m,_,"⊥","\\bot");l(f,m,_,"∅","\\emptyset");l(f,w,_,"∅","\\varnothing");l(f,m,ee,"α","\\alpha",!0);l(f,m,ee,"β","\\beta",!0);l(f,m,ee,"γ","\\gamma",!0);l(f,m,ee,"δ","\\delta",!0);l(f,m,ee,"ϵ","\\epsilon",!0);l(f,m,ee,"ζ","\\zeta",!0);l(f,m,ee,"η","\\eta",!0);l(f,m,ee,"θ","\\theta",!0);l(f,m,ee,"ι","\\iota",!0);l(f,m,ee,"κ","\\kappa",!0);l(f,m,ee,"λ","\\lambda",!0);l(f,m,ee,"μ","\\mu",!0);l(f,m,ee,"ν","\\nu",!0);l(f,m,ee,"ξ","\\xi",!0);l(f,m,ee,"ο","\\omicron",!0);l(f,m,ee,"π","\\pi",!0);l(f,m,ee,"ρ","\\rho",!0);l(f,m,ee,"σ","\\sigma",!0);l(f,m,ee,"τ","\\tau",!0);l(f,m,ee,"υ","\\upsilon",!0);l(f,m,ee,"ϕ","\\phi",!0);l(f,m,ee,"χ","\\chi",!0);l(f,m,ee,"ψ","\\psi",!0);l(f,m,ee,"ω","\\omega",!0);l(f,m,ee,"ε","\\varepsilon",!0);l(f,m,ee,"ϑ","\\vartheta",!0);l(f,m,ee,"ϖ","\\varpi",!0);l(f,m,ee,"ϱ","\\varrho",!0);l(f,m,ee,"ς","\\varsigma",!0);l(f,m,ee,"φ","\\varphi",!0);l(f,m,W,"∗","*",!0);l(f,m,W,"+","+");l(f,m,W,"−","-",!0);l(f,m,W,"⋅","\\cdot",!0);l(f,m,W,"∘","\\circ",!0);l(f,m,W,"÷","\\div",!0);l(f,m,W,"±","\\pm",!0);l(f,m,W,"×","\\times",!0);l(f,m,W,"∩","\\cap",!0);l(f,m,W,"∪","\\cup",!0);l(f,m,W,"∖","\\setminus",!0);l(f,m,W,"∧","\\land");l(f,m,W,"∨","\\lor");l(f,m,W,"∧","\\wedge",!0);l(f,m,W,"∨","\\vee",!0);l(f,m,_,"√","\\surd");l(f,m,Ge,"⟨","\\langle",!0);l(f,m,Ge,"∣","\\lvert");l(f,m,Ge,"∥","\\lVert");l(f,m,Oe,"?","?");l(f,m,Oe,"!","!");l(f,m,Oe,"⟩","\\rangle",!0);l(f,m,Oe,"∣","\\rvert");l(f,m,Oe,"∥","\\rVert");l(f,m,k,"=","=");l(f,m,k,":",":");l(f,m,k,"≈","\\approx",!0);l(f,m,k,"≅","\\cong",!0);l(f,m,k,"≥","\\ge");l(f,m,k,"≥","\\geq",!0);l(f,m,k,"←","\\gets");l(f,m,k,">","\\gt",!0);l(f,m,k,"∈","\\in",!0);l(f,m,k,"","\\@not");l(f,m,k,"⊂","\\subset",!0);l(f,m,k,"⊃","\\supset",!0);l(f,m,k,"⊆","\\subseteq",!0);l(f,m,k,"⊇","\\supseteq",!0);l(f,w,k,"⊈","\\nsubseteq",!0);l(f,w,k,"⊉","\\nsupseteq",!0);l(f,m,k,"⊨","\\models");l(f,m,k,"←","\\leftarrow",!0);l(f,m,k,"≤","\\le");l(f,m,k,"≤","\\leq",!0);l(f,m,k,"<","\\lt",!0);l(f,m,k,"→","\\rightarrow",!0);l(f,m,k,"→","\\to");l(f,w,k,"≱","\\ngeq",!0);l(f,w,k,"≰","\\nleq",!0);l(f,m,E0," ","\\ ");l(f,m,E0," ","\\space");l(f,m,E0," ","\\nobreakspace");l(O,m,E0," ","\\ ");l(O,m,E0," "," ");l(O,m,E0," ","\\space");l(O,m,E0," ","\\nobreakspace");l(f,m,E0,null,"\\nobreak");l(f,m,E0,null,"\\allowbreak");l(f,m,Nr,",",",");l(f,m,Nr,";",";");l(f,w,W,"⊼","\\barwedge",!0);l(f,w,W,"⊻","\\veebar",!0);l(f,m,W,"⊙","\\odot",!0);l(f,m,W,"⊕","\\oplus",!0);l(f,m,W,"⊗","\\otimes",!0);l(f,m,_,"∂","\\partial",!0);l(f,m,W,"⊘","\\oslash",!0);l(f,w,W,"⊚","\\circledcirc",!0);l(f,w,W,"⊡","\\boxdot",!0);l(f,m,W,"△","\\bigtriangleup");l(f,m,W,"▽","\\bigtriangledown");l(f,m,W,"†","\\dagger");l(f,m,W,"⋄","\\diamond");l(f,m,W,"⋆","\\star");l(f,m,W,"◃","\\triangleleft");l(f,m,W,"▹","\\triangleright");l(f,m,Ge,"{","\\{");l(O,m,_,"{","\\{");l(O,m,_,"{","\\textbraceleft");l(f,m,Oe,"}","\\}");l(O,m,_,"}","\\}");l(O,m,_,"}","\\textbraceright");l(f,m,Ge,"{","\\lbrace");l(f,m,Oe,"}","\\rbrace");l(f,m,Ge,"[","\\lbrack",!0);l(O,m,_,"[","\\lbrack",!0);l(f,m,Oe,"]","\\rbrack",!0);l(O,m,_,"]","\\rbrack",!0);l(f,m,Ge,"(","\\lparen",!0);l(f,m,Oe,")","\\rparen",!0);l(O,m,_,"<","\\textless",!0);l(O,m,_,">","\\textgreater",!0);l(f,m,Ge,"⌊","\\lfloor",!0);l(f,m,Oe,"⌋","\\rfloor",!0);l(f,m,Ge,"⌈","\\lceil",!0);l(f,m,Oe,"⌉","\\rceil",!0);l(f,m,_,"\\","\\backslash");l(f,m,_,"∣","|");l(f,m,_,"∣","\\vert");l(O,m,_,"|","\\textbar",!0);l(f,m,_,"∥","\\|");l(f,m,_,"∥","\\Vert");l(O,m,_,"∥","\\textbardbl");l(O,m,_,"~","\\textasciitilde");l(O,m,_,"\\","\\textbackslash");l(O,m,_,"^","\\textasciicircum");l(f,m,k,"↑","\\uparrow",!0);l(f,m,k,"⇑","\\Uparrow",!0);l(f,m,k,"↓","\\downarrow",!0);l(f,m,k,"⇓","\\Downarrow",!0);l(f,m,k,"↕","\\updownarrow",!0);l(f,m,k,"⇕","\\Updownarrow",!0);l(f,m,Ee,"∐","\\coprod");l(f,m,Ee,"⋁","\\bigvee");l(f,m,Ee,"⋀","\\bigwedge");l(f,m,Ee,"⨄","\\biguplus");l(f,m,Ee,"⋂","\\bigcap");l(f,m,Ee,"⋃","\\bigcup");l(f,m,Ee,"∫","\\int");l(f,m,Ee,"∫","\\intop");l(f,m,Ee,"∬","\\iint");l(f,m,Ee,"∭","\\iiint");l(f,m,Ee,"∏","\\prod");l(f,m,Ee,"∑","\\sum");l(f,m,Ee,"⨂","\\bigotimes");l(f,m,Ee,"⨁","\\bigoplus");l(f,m,Ee,"⨀","\\bigodot");l(f,m,Ee,"∮","\\oint");l(f,m,Ee,"∯","\\oiint");l(f,m,Ee,"∰","\\oiiint");l(f,m,Ee,"⨆","\\bigsqcup");l(f,m,Ee,"∫","\\smallint");l(O,m,St,"…","\\textellipsis");l(f,m,St,"…","\\mathellipsis");l(O,m,St,"…","\\ldots",!0);l(f,m,St,"…","\\ldots",!0);l(f,m,St,"⋯","\\@cdots",!0);l(f,m,St,"⋱","\\ddots",!0);l(f,m,_,"⋮","\\varvdots");l(f,m,ge,"ˊ","\\acute");l(f,m,ge,"ˋ","\\grave");l(f,m,ge,"¨","\\ddot");l(f,m,ge,"~","\\tilde");l(f,m,ge,"ˉ","\\bar");l(f,m,ge,"˘","\\breve");l(f,m,ge,"ˇ","\\check");l(f,m,ge,"^","\\hat");l(f,m,ge,"⃗","\\vec");l(f,m,ge,"˙","\\dot");l(f,m,ge,"˚","\\mathring");l(f,m,ee,"","\\@imath");l(f,m,ee,"","\\@jmath");l(f,m,_,"ı","ı");l(f,m,_,"ȷ","ȷ");l(O,m,_,"ı","\\i",!0);l(O,m,_,"ȷ","\\j",!0);l(O,m,_,"ß","\\ss",!0);l(O,m,_,"æ","\\ae",!0);l(O,m,_,"œ","\\oe",!0);l(O,m,_,"ø","\\o",!0);l(O,m,_,"Æ","\\AE",!0);l(O,m,_,"Œ","\\OE",!0);l(O,m,_,"Ø","\\O",!0);l(O,m,ge,"ˊ","\\'");l(O,m,ge,"ˋ","\\`");l(O,m,ge,"ˆ","\\^");l(O,m,ge,"˜","\\~");l(O,m,ge,"ˉ","\\=");l(O,m,ge,"˘","\\u");l(O,m,ge,"˙","\\.");l(O,m,ge,"¸","\\c");l(O,m,ge,"˚","\\r");l(O,m,ge,"ˇ","\\v");l(O,m,ge,"¨",'\\"');l(O,m,ge,"˝","\\H");l(O,m,ge,"◯","\\textcircled");var uo={"--":!0,"---":!0,"``":!0,"''":!0};l(O,m,_,"–","--",!0);l(O,m,_,"–","\\textendash");l(O,m,_,"—","---",!0);l(O,m,_,"—","\\textemdash");l(O,m,_,"‘","`",!0);l(O,m,_,"‘","\\textquoteleft");l(O,m,_,"’","'",!0);l(O,m,_,"’","\\textquoteright");l(O,m,_,"“","``",!0);l(O,m,_,"“","\\textquotedblleft");l(O,m,_,"”","''",!0);l(O,m,_,"”","\\textquotedblright");l(f,m,_,"°","\\degree",!0);l(O,m,_,"°","\\degree");l(O,m,_,"°","\\textdegree",!0);l(f,m,_,"£","\\pounds");l(f,m,_,"£","\\mathsterling",!0);l(O,m,_,"£","\\pounds");l(O,m,_,"£","\\textsterling",!0);l(f,w,_,"✠","\\maltese");l(O,w,_,"✠","\\maltese");var ga='0123456789/@."';for(var su=0;su0)return u0(a,c,n,r,i.concat(h));if(s){var d,g;if(s==="boldsymbol"){var v=t4(a,n,r,i,u);d=v.fontName,g=[v.fontClass]}else o?(d=io[s].fontName,g=[s]):(d=lr(s,r.fontWeight,r.fontShape),g=[s,r.fontWeight,r.fontShape]);if(Rr(a,d,n).metrics)return u0(a,d,n,r,i.concat(g));if(uo.hasOwnProperty(a)&&d.slice(0,10)==="Typewriter"){for(var x=[],C=0;C{if(U0(e.classes)!==U0(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(e.classes.length===1){var r=e.classes[0];if(r==="mbin"||r==="mord")return!1}for(var u in e.style)if(e.style.hasOwnProperty(u)&&e.style[u]!==t.style[u])return!1;for(var n in t.style)if(t.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;return!0},n4=e=>{for(var t=0;tr&&(r=i.height),i.depth>u&&(u=i.depth),i.maxFontSize>n&&(n=i.maxFontSize)}t.height=r,t.depth=u,t.maxFontSize=n},Pe=function(t,r,u,n){var a=new Yt(t,r,u,n);return tn(a),a},no=(e,t,r,u)=>new Yt(e,t,r,u),a4=function(t,r,u){var n=Pe([t],[],r);return n.height=Math.max(u||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),n.style.borderBottomWidth=G(n.height),n.maxFontSize=1,n},i4=function(t,r,u,n){var a=new en(t,r,u,n);return tn(a),a},ao=function(t){var r=new Gt(t);return tn(r),r},o4=function(t,r){return t instanceof Gt?Pe([],[t],r):t},s4=function(t){if(t.positionType==="individualShift"){for(var r=t.children,u=[r[0]],n=-r[0].shift-r[0].elem.depth,a=n,i=1;i{var r=Pe(["mspace"],[],t),u=ye(e,t);return r.style.marginRight=G(u),r},lr=function(t,r,u){var n="";switch(t){case"amsrm":n="AMS";break;case"textrm":n="Main";break;case"textsf":n="SansSerif";break;case"texttt":n="Typewriter";break;default:n=t}var a;return r==="textbf"&&u==="textit"?a="BoldItalic":r==="textbf"?a="Bold":r==="textit"?a="Italic":a="Regular",n+"-"+a},io={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},oo={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},f4=function(t,r){var[u,n,a]=oo[t],i=new V0(u),o=new A0([i],{width:G(n),height:G(a),style:"width:"+G(n),viewBox:"0 0 "+1e3*n+" "+1e3*a,preserveAspectRatio:"xMinYMin"}),s=no(["overlay"],[o],r);return s.height=a,s.style.height=G(a),s.style.width=G(n),s},z={fontMap:io,makeSymbol:u0,mathsym:e4,makeSpan:Pe,makeSvgSpan:no,makeLineSpan:a4,makeAnchor:i4,makeFragment:ao,wrapFragment:o4,makeVList:l4,makeOrd:r4,makeGlue:c4,staticSvg:f4,svgData:oo,tryCombineChars:n4},xe={number:3,unit:"mu"},K0={number:4,unit:"mu"},x0={number:5,unit:"mu"},d4={mord:{mop:xe,mbin:K0,mrel:x0,minner:xe},mop:{mord:xe,mop:xe,mrel:x0,minner:xe},mbin:{mord:K0,mop:K0,mopen:K0,minner:K0},mrel:{mord:x0,mop:x0,mopen:x0,minner:x0},mopen:{},mclose:{mop:xe,mbin:K0,mrel:x0,minner:xe},mpunct:{mord:xe,mop:xe,mrel:x0,mopen:xe,mclose:xe,mpunct:xe,minner:xe},minner:{mord:xe,mop:xe,mbin:K0,mrel:x0,mopen:xe,mpunct:xe,minner:xe}},h4={mord:{mop:xe},mop:{mord:xe,mop:xe},mbin:{},mrel:{},mopen:{},mclose:{mop:xe},mpunct:{},minner:{mop:xe}},so={},Ar={},Cr={};function Y(e){for(var{type:t,names:r,props:u,handler:n,htmlBuilder:a,mathmlBuilder:i}=e,o={type:t,numArgs:u.numArgs,argTypes:u.argTypes,allowedInArgument:!!u.allowedInArgument,allowedInText:!!u.allowedInText,allowedInMath:u.allowedInMath===void 0?!0:u.allowedInMath,numOptionalArgs:u.numOptionalArgs||0,infix:!!u.infix,primitive:!!u.primitive,handler:n},s=0;s{var S=C.classes[0],I=x.classes[0];S==="mbin"&&Q.contains(p4,I)?C.classes[0]="mord":I==="mbin"&&Q.contains(m4,S)&&(x.classes[0]="mord")},{node:d},g,v),Sa(a,(x,C)=>{var S=zu(C),I=zu(x),M=S&&I?x.hasClass("mtight")?h4[S][I]:d4[S][I]:null;if(M)return z.makeGlue(M,c)},{node:d},g,v),a},Sa=function e(t,r,u,n,a){n&&t.push(n);for(var i=0;ig=>{t.splice(d+1,0,g),i++})(i)}n&&t.pop()},lo=function(t){return t instanceof Gt||t instanceof en||t instanceof Yt&&t.hasClass("enclosing")?t:null},g4=function e(t,r){var u=lo(t);if(u){var n=u.children;if(n.length){if(r==="right")return e(n[n.length-1],"right");if(r==="left")return e(n[0],"left")}}return t},zu=function(t,r){return t?(r&&(t=g4(t,r)),v4[t.classes[0]]||null):null},$t=function(t,r){var u=["nulldelimiter"].concat(t.baseSizingClasses());return C0(r.concat(u))},se=function(t,r,u){if(!t)return C0();if(Ar[t.type]){var n=Ar[t.type](t,r);if(u&&r.size!==u.size){n=C0(r.sizingClasses(u),[n],r);var a=r.sizeMultiplier/u.sizeMultiplier;n.height*=a,n.depth*=a}return n}else throw new $("Got group of unknown type: '"+t.type+"'")};function cr(e,t){var r=C0(["base"],e,t),u=C0(["strut"]);return u.style.height=G(r.height+r.depth),r.depth&&(u.style.verticalAlign=G(-r.depth)),r.children.unshift(u),r}function Iu(e,t){var r=null;e.length===1&&e[0].type==="tag"&&(r=e[0].tag,e=e[0].body);var u=De(e,t,"root"),n;u.length===2&&u[1].hasClass("tag")&&(n=u.pop());for(var a=[],i=[],o=0;o0&&(a.push(cr(i,t)),i=[]),a.push(u[o]));i.length>0&&a.push(cr(i,t));var c;r?(c=cr(De(r,t,!0)),c.classes=["tag"],a.push(c)):n&&a.push(n);var h=C0(["katex-html"],a);if(h.setAttribute("aria-hidden","true"),c){var d=c.children[0];d.style.height=G(h.height+h.depth),h.depth&&(d.style.verticalAlign=G(-h.depth))}return h}function co(e){return new Gt(e)}class Xe{constructor(t,r,u){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=r||[],this.classes=u||[]}setAttribute(t,r){this.attributes[t]=r}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&t.setAttribute(r,this.attributes[r]);this.classes.length>0&&(t.className=U0(this.classes));for(var u=0;u0&&(t+=' class ="'+Q.escape(U0(this.classes))+'"'),t+=">";for(var u=0;u",t}toText(){return this.children.map(t=>t.toText()).join("")}}class zt{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return Q.escape(this.toText())}toText(){return this.text}}class x4{constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character=" ":t>=.1666&&t<=.1667?this.character=" ":t>=.2222&&t<=.2223?this.character=" ":t>=.2777&&t<=.2778?this.character="  ":t>=-.05556&&t<=-.05555?this.character=" ⁣":t>=-.1667&&t<=-.1666?this.character=" ⁣":t>=-.2223&&t<=-.2222?this.character=" ⁣":t>=-.2778&&t<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",G(this.width)),t}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}}var q={MathNode:Xe,TextNode:zt,SpaceNode:x4,newDocumentFragment:co},t0=function(t,r,u){return be[r][t]&&be[r][t].replace&&t.charCodeAt(0)!==55349&&!(uo.hasOwnProperty(t)&&u&&(u.fontFamily&&u.fontFamily.slice(4,6)==="tt"||u.font&&u.font.slice(4,6)==="tt"))&&(t=be[r][t].replace),new q.TextNode(t)},rn=function(t){return t.length===1?t[0]:new q.MathNode("mrow",t)},un=function(t,r){if(r.fontFamily==="texttt")return"monospace";if(r.fontFamily==="textsf")return r.fontShape==="textit"&&r.fontWeight==="textbf"?"sans-serif-bold-italic":r.fontShape==="textit"?"sans-serif-italic":r.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(r.fontShape==="textit"&&r.fontWeight==="textbf")return"bold-italic";if(r.fontShape==="textit")return"italic";if(r.fontWeight==="textbf")return"bold";var u=r.font;if(!u||u==="mathnormal")return null;var n=t.mode;if(u==="mathit")return"italic";if(u==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(u==="mathbf")return"bold";if(u==="mathbb")return"double-struck";if(u==="mathfrak")return"fraktur";if(u==="mathscr"||u==="mathcal")return"script";if(u==="mathsf")return"sans-serif";if(u==="mathtt")return"monospace";var a=t.text;if(Q.contains(["\\imath","\\jmath"],a))return null;be[n][a]&&be[n][a].replace&&(a=be[n][a].replace);var i=z.fontMap[u].fontName;return Qu(a,i,n)?z.fontMap[u].variant:null},He=function(t,r,u){if(t.length===1){var n=he(t[0],r);return u&&n instanceof Xe&&n.type==="mo"&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var a=[],i,o=0;o0&&(d.text=d.text.slice(0,1)+"̸"+d.text.slice(1),a.pop())}}}a.push(s),i=s}return a},j0=function(t,r,u){return rn(He(t,r,u))},he=function(t,r){if(!t)return new q.MathNode("mrow");if(Cr[t.type]){var u=Cr[t.type](t,r);return u}else throw new $("Got group of unknown type: '"+t.type+"'")};function Aa(e,t,r,u,n){var a=He(e,r),i;a.length===1&&a[0]instanceof Xe&&Q.contains(["mrow","mtable"],a[0].type)?i=a[0]:i=new q.MathNode("mrow",a);var o=new q.MathNode("annotation",[new q.TextNode(t)]);o.setAttribute("encoding","application/x-tex");var s=new q.MathNode("semantics",[i,o]),c=new q.MathNode("math",[s]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),u&&c.setAttribute("display","block");var h=n?"katex":"katex-mathml";return z.makeSpan([h],[c])}var fo=function(t){return new y0({style:t.displayMode?te.DISPLAY:te.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},ho=function(t,r){if(r.displayMode){var u=["katex-display"];r.leqno&&u.push("leqno"),r.fleqn&&u.push("fleqn"),t=z.makeSpan(u,[t])}return t},y4=function(t,r,u){var n=fo(u),a;if(u.output==="mathml")return Aa(t,r,n,u.displayMode,!0);if(u.output==="html"){var i=Iu(t,n);a=z.makeSpan(["katex"],[i])}else{var o=Aa(t,r,n,u.displayMode,!1),s=Iu(t,n);a=z.makeSpan(["katex"],[o,s])}return ho(a,u)},w4=function(t,r,u){var n=fo(u),a=Iu(t,n),i=z.makeSpan(["katex"],[a]);return ho(i,u)},k4={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},S4=function(t){var r=new q.MathNode("mo",[new q.TextNode(k4[t.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},A4={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},C4=function(t){return t.type==="ordgroup"?t.body.length:1},_4=function(t,r){function u(){var o=4e5,s=t.label.slice(1);if(Q.contains(["widehat","widecheck","widetilde","utilde"],s)){var c=t,h=C4(c.base),d,g,v;if(h>5)s==="widehat"||s==="widecheck"?(d=420,o=2364,v=.42,g=s+"4"):(d=312,o=2340,v=.34,g="tilde4");else{var x=[1,1,2,2,3,3][h];s==="widehat"||s==="widecheck"?(o=[0,1062,2364,2364,2364][x],d=[0,239,300,360,420][x],v=[0,.24,.3,.3,.36,.42][x],g=s+x):(o=[0,600,1033,2339,2340][x],d=[0,260,286,306,312][x],v=[0,.26,.286,.3,.306,.34][x],g="tilde"+x)}var C=new V0(g),S=new A0([C],{width:"100%",height:G(v),viewBox:"0 0 "+o+" "+d,preserveAspectRatio:"none"});return{span:z.makeSvgSpan([],[S],r),minWidth:0,height:v}}else{var I=[],M=A4[s],[N,L,F]=M,R=F/1e3,H=N.length,Z,K;if(H===1){var le=M[3];Z=["hide-tail"],K=[le]}else if(H===2)Z=["halfarrow-left","halfarrow-right"],K=["xMinYMin","xMaxYMin"];else if(H===3)Z=["brace-left","brace-center","brace-right"],K=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support - `+H+" children.");for(var ie=0;ie0&&(n.style.minWidth=G(a)),n},E4=function(t,r,u,n,a){var i,o=t.height+t.depth+u+n;if(/fbox|color|angl/.test(r)){if(i=z.makeSpan(["stretchy",r],[],a),r==="fbox"){var s=a.color&&a.getColor();s&&(i.style.borderColor=s)}}else{var c=[];/^[bx]cancel$/.test(r)&&c.push(new Mu({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&c.push(new Mu({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var h=new A0(c,{width:"100%",height:G(o)});i=z.makeSvgSpan([],[h],a)}return i.height=o,i.style.height=G(o),i},_0={encloseSpan:E4,mathMLnode:S4,svgSpan:_4};function ue(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function nn(e){var t=Or(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function Or(e){return e&&(e.type==="atom"||Jf.hasOwnProperty(e.type))?e:null}var an=(e,t)=>{var r,u,n;e&&e.type==="supsub"?(u=ue(e.base,"accent"),r=u.base,e.base=r,n=Xf(se(e,t)),e.base=u):(u=ue(e,"accent"),r=u.base);var a=se(r,t.havingCrampedStyle()),i=u.isShifty&&Q.isCharacterBox(r),o=0;if(i){var s=Q.getBaseElem(r),c=se(s,t.havingCrampedStyle());o=va(c).skew}var h=u.label==="\\c",d=h?a.height+a.depth:Math.min(a.height,t.fontMetrics().xHeight),g;if(u.isStretchy)g=_0.svgSpan(u,t),g=z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:g,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+G(2*o)+")",marginLeft:G(2*o)}:void 0}]},t);else{var v,x;u.label==="\\vec"?(v=z.staticSvg("vec",t),x=z.svgData.vec[1]):(v=z.makeOrd({mode:u.mode,text:u.label},t,"textord"),v=va(v),v.italic=0,x=v.width,h&&(d+=v.depth)),g=z.makeSpan(["accent-body"],[v]);var C=u.label==="\\textcircled";C&&(g.classes.push("accent-full"),d=a.height);var S=o;C||(S-=x/2),g.style.left=G(S),u.label==="\\textcircled"&&(g.style.top=".2em"),g=z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-d},{type:"elem",elem:g}]},t)}var I=z.makeSpan(["mord","accent"],[g],t);return n?(n.children[0]=I,n.height=Math.max(I.height,n.height),n.classes[0]="mord",n):I},mo=(e,t)=>{var r=e.isStretchy?_0.mathMLnode(e.label):new q.MathNode("mo",[t0(e.label,e.mode)]),u=new q.MathNode("mover",[he(e.base,t),r]);return u.setAttribute("accent","true"),u},D4=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));Y({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var r=_r(t[0]),u=!D4.test(e.funcName),n=!u||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:u,isShifty:n,base:r}},htmlBuilder:an,mathmlBuilder:mo});Y({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var r=t[0],u=e.parser.mode;return u==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),u="text"),{type:"accent",mode:u,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:an,mathmlBuilder:mo});Y({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:u}=e,n=t[0];return{type:"accentUnder",mode:r.mode,label:u,base:n}},htmlBuilder:(e,t)=>{var r=se(e.base,t),u=_0.svgSpan(e,t),n=e.label==="\\utilde"?.12:0,a=z.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:u,wrapperClasses:["svg-align"]},{type:"kern",size:n},{type:"elem",elem:r}]},t);return z.makeSpan(["mord","accentunder"],[a],t)},mathmlBuilder:(e,t)=>{var r=_0.mathMLnode(e.label),u=new q.MathNode("munder",[he(e.base,t),r]);return u.setAttribute("accentunder","true"),u}});var fr=e=>{var t=new q.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};Y({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:u,funcName:n}=e;return{type:"xArrow",mode:u.mode,label:n,body:t[0],below:r[0]}},htmlBuilder(e,t){var r=t.style,u=t.havingStyle(r.sup()),n=z.wrapFragment(se(e.body,u,t),t),a=e.label.slice(0,2)==="\\x"?"x":"cd";n.classes.push(a+"-arrow-pad");var i;e.below&&(u=t.havingStyle(r.sub()),i=z.wrapFragment(se(e.below,u,t),t),i.classes.push(a+"-arrow-pad"));var o=_0.svgSpan(e,t),s=-t.fontMetrics().axisHeight+.5*o.height,c=-t.fontMetrics().axisHeight-.5*o.height-.111;(n.depth>.25||e.label==="\\xleftequilibrium")&&(c-=n.depth);var h;if(i){var d=-t.fontMetrics().axisHeight+i.height+.5*o.height+.111;h=z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:c},{type:"elem",elem:o,shift:s},{type:"elem",elem:i,shift:d}]},t)}else h=z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:c},{type:"elem",elem:o,shift:s}]},t);return h.children[0].children[0].children[1].classes.push("svg-align"),z.makeSpan(["mrel","x-arrow"],[h],t)},mathmlBuilder(e,t){var r=_0.mathMLnode(e.label);r.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var u;if(e.body){var n=fr(he(e.body,t));if(e.below){var a=fr(he(e.below,t));u=new q.MathNode("munderover",[r,a,n])}else u=new q.MathNode("mover",[r,n])}else if(e.below){var i=fr(he(e.below,t));u=new q.MathNode("munder",[r,i])}else u=fr(),u=new q.MathNode("mover",[r,u]);return u}});var T4=z.makeSpan;function po(e,t){var r=De(e.body,t,!0);return T4([e.mclass],r,t)}function bo(e,t){var r,u=He(e.body,t);return e.mclass==="minner"?r=new q.MathNode("mpadded",u):e.mclass==="mord"?e.isCharacterBox?(r=u[0],r.type="mi"):r=new q.MathNode("mi",u):(e.isCharacterBox?(r=u[0],r.type="mo"):r=new q.MathNode("mo",u),e.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):e.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):e.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}Y({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:u}=e,n=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+u.slice(5),body:Ae(n),isCharacterBox:Q.isCharacterBox(n)}},htmlBuilder:po,mathmlBuilder:bo});var Lr=e=>{var t=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};Y({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:Lr(t[0]),body:Ae(t[1]),isCharacterBox:Q.isCharacterBox(t[1])}}});Y({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:r,funcName:u}=e,n=t[1],a=t[0],i;u!=="\\stackrel"?i=Lr(n):i="mrel";var o={type:"op",mode:n.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:u!=="\\stackrel",body:Ae(n)},s={type:"supsub",mode:a.mode,base:o,sup:u==="\\underset"?null:a,sub:u==="\\underset"?a:null};return{type:"mclass",mode:r.mode,mclass:i,body:[s],isCharacterBox:Q.isCharacterBox(s)}},htmlBuilder:po,mathmlBuilder:bo});Y({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:Lr(t[0]),body:Ae(t[0])}},htmlBuilder(e,t){var r=De(e.body,t,!0),u=z.makeSpan([e.mclass],r,t);return u.style.textShadow="0.02em 0.01em 0.04px",u},mathmlBuilder(e,t){var r=He(e.body,t),u=new q.MathNode("mstyle",r);return u.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),u}});var M4={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Ca=()=>({type:"styling",body:[],mode:"math",style:"display"}),_a=e=>e.type==="textord"&&e.text==="@",F4=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function z4(e,t,r){var u=M4[e];switch(u){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(u,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var n=r.callFunction("\\\\cdleft",[t[0]],[]),a={type:"atom",text:u,mode:"math",family:"rel"},i=r.callFunction("\\Big",[a],[]),o=r.callFunction("\\\\cdright",[t[1]],[]),s={type:"ordgroup",mode:"math",body:[n,i,o]};return r.callFunction("\\\\cdparent",[s],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var c={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[c],[])}default:return{type:"textord",text:" ",mode:"math"}}}function I4(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if(r==="&"||r==="\\\\")e.consume();else if(r==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new $("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var u=[],n=[u],a=0;a-1))if("<>AV".indexOf(c)>-1)for(var d=0;d<2;d++){for(var g=!0,v=s+1;vAV=|." after @',i[s]);var x=z4(c,h,e),C={type:"styling",body:[x],mode:"math",style:"display"};u.push(C),o=Ca()}a%2===0?u.push(o):u.shift(),u=[],n.push(u)}e.gullet.endGroup(),e.gullet.endGroup();var S=new Array(n[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:n,arraystretch:1,addJot:!0,rowGaps:[null],cols:S,colSeparationType:"CD",hLinesBeforeRow:new Array(n.length+1).fill([])}}Y({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:u}=e;return{type:"cdlabel",mode:r.mode,side:u.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),u=z.wrapFragment(se(e.label,r,t),t);return u.classes.push("cd-label-"+e.side),u.style.bottom=G(.8-u.depth),u.height=0,u.depth=0,u},mathmlBuilder(e,t){var r=new q.MathNode("mrow",[he(e.label,t)]);return r=new q.MathNode("mpadded",[r]),r.setAttribute("width","0"),e.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new q.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});Y({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=z.wrapFragment(se(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(e,t){return new q.MathNode("mrow",[he(e.fragment,t)])}});Y({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,u=ue(t[0],"ordgroup"),n=u.body,a="",i=0;i=1114111)throw new $("\\@char with invalid code point "+a);return s<=65535?c=String.fromCharCode(s):(s-=65536,c=String.fromCharCode((s>>10)+55296,(s&1023)+56320)),{type:"textord",mode:r.mode,text:c}}});var vo=(e,t)=>{var r=De(e.body,t.withColor(e.color),!1);return z.makeFragment(r)},go=(e,t)=>{var r=He(e.body,t.withColor(e.color)),u=new q.MathNode("mstyle",r);return u.setAttribute("mathcolor",e.color),u};Y({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,u=ue(t[0],"color-token").color,n=t[1];return{type:"color",mode:r.mode,color:u,body:Ae(n)}},htmlBuilder:vo,mathmlBuilder:go});Y({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:u}=e,n=ue(t[0],"color-token").color;r.gullet.macros.set("\\current@color",n);var a=r.parseExpression(!0,u);return{type:"color",mode:r.mode,color:n,body:a}},htmlBuilder:vo,mathmlBuilder:go});Y({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:u}=e,n=u.gullet.future().text==="["?u.parseSizeGroup(!0):null,a=!u.settings.displayMode||!u.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:u.mode,newLine:a,size:n&&ue(n,"size").value}},htmlBuilder(e,t){var r=z.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=G(ye(e.size,t)))),r},mathmlBuilder(e,t){var r=new q.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",G(ye(e.size,t)))),r}});var Bu={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},xo=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new $("Expected a control sequence",e);return t},B4=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},yo=(e,t,r,u)=>{var n=e.gullet.macros.get(r.text);n==null&&(r.noexpand=!0,n={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,n,u)};Y({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var u=t.fetch();if(Bu[u.text])return(r==="\\global"||r==="\\\\globallong")&&(u.text=Bu[u.text]),ue(t.parseFunction(),"internal");throw new $("Invalid token after macro prefix",u)}});Y({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,u=t.gullet.popToken(),n=u.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new $("Expected a control sequence",u);for(var a=0,i,o=[[]];t.gullet.future().text!=="{";)if(u=t.gullet.popToken(),u.text==="#"){if(t.gullet.future().text==="{"){i=t.gullet.future(),o[a].push("{");break}if(u=t.gullet.popToken(),!/^[1-9]$/.test(u.text))throw new $('Invalid argument number "'+u.text+'"');if(parseInt(u.text)!==a+1)throw new $('Argument number "'+u.text+'" out of order');a++,o.push([])}else{if(u.text==="EOF")throw new $("Expected a macro definition");o[a].push(u.text)}var{tokens:s}=t.gullet.consumeArg();return i&&s.unshift(i),(r==="\\edef"||r==="\\xdef")&&(s=t.gullet.expandTokens(s),s.reverse()),t.gullet.macros.set(n,{tokens:s,numArgs:a,delimiters:o},r===Bu[r]),{type:"internal",mode:t.mode}}});Y({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,u=xo(t.gullet.popToken());t.gullet.consumeSpaces();var n=B4(t);return yo(t,u,n,r==="\\\\globallet"),{type:"internal",mode:t.mode}}});Y({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,u=xo(t.gullet.popToken()),n=t.gullet.popToken(),a=t.gullet.popToken();return yo(t,u,a,r==="\\\\globalfuture"),t.gullet.pushToken(a),t.gullet.pushToken(n),{type:"internal",mode:t.mode}}});var Ft=function(t,r,u){var n=be.math[t]&&be.math[t].replace,a=Qu(n||t,r,u);if(!a)throw new Error("Unsupported symbol "+t+" and font size "+r+".");return a},on=function(t,r,u,n){var a=u.havingBaseStyle(r),i=z.makeSpan(n.concat(a.sizingClasses(u)),[t],u),o=a.sizeMultiplier/u.sizeMultiplier;return i.height*=o,i.depth*=o,i.maxFontSize=a.sizeMultiplier,i},wo=function(t,r,u){var n=r.havingBaseStyle(u),a=(1-r.sizeMultiplier/n.sizeMultiplier)*r.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=G(a),t.height-=a,t.depth+=a},N4=function(t,r,u,n,a,i){var o=z.makeSymbol(t,"Main-Regular",a,n),s=on(o,r,n,i);return u&&wo(s,n,r),s},R4=function(t,r,u,n){return z.makeSymbol(t,"Size"+r+"-Regular",u,n)},ko=function(t,r,u,n,a,i){var o=R4(t,r,a,n),s=on(z.makeSpan(["delimsizing","size"+r],[o],n),te.TEXT,n,i);return u&&wo(s,n,te.TEXT),s},du=function(t,r,u){var n;r==="Size1-Regular"?n="delim-size1":n="delim-size4";var a=z.makeSpan(["delimsizinginner",n],[z.makeSpan([],[z.makeSymbol(t,r,u)])]);return{type:"elem",elem:a}},hu=function(t,r,u){var n=l0["Size4-Regular"][t.charCodeAt(0)]?l0["Size4-Regular"][t.charCodeAt(0)][4]:l0["Size1-Regular"][t.charCodeAt(0)][4],a=new V0("inner",Hf(t,Math.round(1e3*r))),i=new A0([a],{width:G(n),height:G(r),style:"width:"+G(n),viewBox:"0 0 "+1e3*n+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),o=z.makeSvgSpan([],[i],u);return o.height=r,o.style.height=G(r),o.style.width=G(n),{type:"elem",elem:o}},Nu=.008,dr={type:"kern",size:-1*Nu},O4=["|","\\lvert","\\rvert","\\vert"],L4=["\\|","\\lVert","\\rVert","\\Vert"],So=function(t,r,u,n,a,i){var o,s,c,h,d="",g=0;o=c=h=t,s=null;var v="Size1-Regular";t==="\\uparrow"?c=h="⏐":t==="\\Uparrow"?c=h="‖":t==="\\downarrow"?o=c="⏐":t==="\\Downarrow"?o=c="‖":t==="\\updownarrow"?(o="\\uparrow",c="⏐",h="\\downarrow"):t==="\\Updownarrow"?(o="\\Uparrow",c="‖",h="\\Downarrow"):Q.contains(O4,t)?(c="∣",d="vert",g=333):Q.contains(L4,t)?(c="∥",d="doublevert",g=556):t==="["||t==="\\lbrack"?(o="⎡",c="⎢",h="⎣",v="Size4-Regular",d="lbrack",g=667):t==="]"||t==="\\rbrack"?(o="⎤",c="⎥",h="⎦",v="Size4-Regular",d="rbrack",g=667):t==="\\lfloor"||t==="⌊"?(c=o="⎢",h="⎣",v="Size4-Regular",d="lfloor",g=667):t==="\\lceil"||t==="⌈"?(o="⎡",c=h="⎢",v="Size4-Regular",d="lceil",g=667):t==="\\rfloor"||t==="⌋"?(c=o="⎥",h="⎦",v="Size4-Regular",d="rfloor",g=667):t==="\\rceil"||t==="⌉"?(o="⎤",c=h="⎥",v="Size4-Regular",d="rceil",g=667):t==="("||t==="\\lparen"?(o="⎛",c="⎜",h="⎝",v="Size4-Regular",d="lparen",g=875):t===")"||t==="\\rparen"?(o="⎞",c="⎟",h="⎠",v="Size4-Regular",d="rparen",g=875):t==="\\{"||t==="\\lbrace"?(o="⎧",s="⎨",h="⎩",c="⎪",v="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(o="⎫",s="⎬",h="⎭",c="⎪",v="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(o="⎧",h="⎩",c="⎪",v="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(o="⎫",h="⎭",c="⎪",v="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(o="⎧",h="⎭",c="⎪",v="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(o="⎫",h="⎩",c="⎪",v="Size4-Regular");var x=Ft(o,v,a),C=x.height+x.depth,S=Ft(c,v,a),I=S.height+S.depth,M=Ft(h,v,a),N=M.height+M.depth,L=0,F=1;if(s!==null){var R=Ft(s,v,a);L=R.height+R.depth,F=2}var H=C+N+L,Z=Math.max(0,Math.ceil((r-H)/(F*I))),K=H+Z*F*I,le=n.fontMetrics().axisHeight;u&&(le*=n.sizeMultiplier);var ie=K/2-le,ae=[];if(d.length>0){var ke=K-C-N,ve=Math.round(K*1e3),me=Uf(d,Math.round(ke*1e3)),Le=new V0(d,me),Ue=(g/1e3).toFixed(3)+"em",b0=(ve/1e3).toFixed(3)+"em",Ct=new A0([Le],{width:Ue,height:b0,viewBox:"0 0 "+g+" "+ve}),a0=z.makeSvgSpan([],[Ct],n);a0.height=ve/1e3,a0.style.width=Ue,a0.style.height=b0,ae.push({type:"elem",elem:a0})}else{if(ae.push(du(h,v,a)),ae.push(dr),s===null){var Te=K-C-N+2*Nu;ae.push(hu(c,Te,n))}else{var Ie=(K-C-N-L)/2+2*Nu;ae.push(hu(c,Ie,n)),ae.push(dr),ae.push(du(s,v,a)),ae.push(dr),ae.push(hu(c,Ie,n))}ae.push(dr),ae.push(du(o,v,a))}var Z0=n.havingBaseStyle(te.TEXT),_t=z.makeVList({positionType:"bottom",positionData:ie,children:ae},Z0);return on(z.makeSpan(["delimsizing","mult"],[_t],Z0),te.TEXT,n,i)},mu=80,pu=.08,bu=function(t,r,u,n,a){var i=$f(t,n,u),o=new V0(t,i),s=new A0([o],{width:"400em",height:G(r),viewBox:"0 0 400000 "+u,preserveAspectRatio:"xMinYMin slice"});return z.makeSvgSpan(["hide-tail"],[s],a)},P4=function(t,r){var u=r.havingBaseSizing(),n=Eo("\\surd",t*u.sizeMultiplier,_o,u),a=u.sizeMultiplier,i=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),o,s=0,c=0,h=0,d;return n.type==="small"?(h=1e3+1e3*i+mu,t<1?a=1:t<1.4&&(a=.7),s=(1+i+pu)/a,c=(1+i)/a,o=bu("sqrtMain",s,h,i,r),o.style.minWidth="0.853em",d=.833/a):n.type==="large"?(h=(1e3+mu)*It[n.size],c=(It[n.size]+i)/a,s=(It[n.size]+i+pu)/a,o=bu("sqrtSize"+n.size,s,h,i,r),o.style.minWidth="1.02em",d=1/a):(s=t+i+pu,c=t+i,h=Math.floor(1e3*t+i)+mu,o=bu("sqrtTall",s,h,i,r),o.style.minWidth="0.742em",d=1.056),o.height=c,o.style.height=G(s),{span:o,advanceWidth:d,ruleWidth:(r.fontMetrics().sqrtRuleThickness+i)*a}},Ao=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],q4=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],Co=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],It=[0,1.2,1.8,2.4,3],$4=function(t,r,u,n,a){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),Q.contains(Ao,t)||Q.contains(Co,t))return ko(t,r,!1,u,n,a);if(Q.contains(q4,t))return So(t,It[r],!1,u,n,a);throw new $("Illegal delimiter: '"+t+"'")},H4=[{type:"small",style:te.SCRIPTSCRIPT},{type:"small",style:te.SCRIPT},{type:"small",style:te.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],U4=[{type:"small",style:te.SCRIPTSCRIPT},{type:"small",style:te.SCRIPT},{type:"small",style:te.TEXT},{type:"stack"}],_o=[{type:"small",style:te.SCRIPTSCRIPT},{type:"small",style:te.SCRIPT},{type:"small",style:te.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],V4=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},Eo=function(t,r,u,n){for(var a=Math.min(2,3-n.style.size),i=a;ir)return u[i]}return u[u.length-1]},Do=function(t,r,u,n,a,i){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var o;Q.contains(Co,t)?o=H4:Q.contains(Ao,t)?o=_o:o=U4;var s=Eo(t,r,o,n);return s.type==="small"?N4(t,s.style,u,n,a,i):s.type==="large"?ko(t,s.size,u,n,a,i):So(t,r,u,n,a,i)},j4=function(t,r,u,n,a,i){var o=n.fontMetrics().axisHeight*n.sizeMultiplier,s=901,c=5/n.fontMetrics().ptPerEm,h=Math.max(r-o,u+o),d=Math.max(h/500*s,2*h-c);return Do(t,d,!0,n,a,i)},S0={sqrtImage:P4,sizedDelim:$4,sizeToMaxHeight:It,customSizedDelim:Do,leftRightDelim:j4},Ea={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},G4=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Pr(e,t){var r=Or(e);if(r&&Q.contains(G4,r.text))return r;throw r?new $("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e):new $("Invalid delimiter type '"+e.type+"'",e)}Y({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var r=Pr(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:Ea[e.funcName].size,mclass:Ea[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>e.delim==="."?z.makeSpan([e.mclass]):S0.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(t0(e.delim,e.mode));var r=new q.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var u=G(S0.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",u),r.setAttribute("maxsize",u),r}});function Da(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Y({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new $("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Pr(t[0],e).text,color:r}}});Y({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=Pr(t[0],e),u=e.parser;++u.leftrightDepth;var n=u.parseExpression(!1);--u.leftrightDepth,u.expect("\\right",!1);var a=ue(u.parseFunction(),"leftright-right");return{type:"leftright",mode:u.mode,body:n,left:r.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,t)=>{Da(e);for(var r=De(e.body,t,!0,["mopen","mclose"]),u=0,n=0,a=!1,i=0;i{Da(e);var r=He(e.body,t);if(e.left!=="."){var u=new q.MathNode("mo",[t0(e.left,e.mode)]);u.setAttribute("fence","true"),r.unshift(u)}if(e.right!=="."){var n=new q.MathNode("mo",[t0(e.right,e.mode)]);n.setAttribute("fence","true"),e.rightColor&&n.setAttribute("mathcolor",e.rightColor),r.push(n)}return rn(r)}});Y({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=Pr(t[0],e);if(!e.parser.leftrightDepth)throw new $("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if(e.delim===".")r=$t(t,[]);else{r=S0.sizedDelim(e.delim,1,t,e.mode,[]);var u={delim:e.delim,options:t};r.isMiddle=u}return r},mathmlBuilder:(e,t)=>{var r=e.delim==="\\vert"||e.delim==="|"?t0("|","text"):t0(e.delim,e.mode),u=new q.MathNode("mo",[r]);return u.setAttribute("fence","true"),u.setAttribute("lspace","0.05em"),u.setAttribute("rspace","0.05em"),u}});var sn=(e,t)=>{var r=z.wrapFragment(se(e.body,t),t),u=e.label.slice(1),n=t.sizeMultiplier,a,i=0,o=Q.isCharacterBox(e.body);if(u==="sout")a=z.makeSpan(["stretchy","sout"]),a.height=t.fontMetrics().defaultRuleThickness/n,i=-.5*t.fontMetrics().xHeight;else if(u==="phase"){var s=ye({number:.6,unit:"pt"},t),c=ye({number:.35,unit:"ex"},t),h=t.havingBaseSizing();n=n/h.sizeMultiplier;var d=r.height+r.depth+s+c;r.style.paddingLeft=G(d/2+s);var g=Math.floor(1e3*d*n),v=Pf(g),x=new A0([new V0("phase",v)],{width:"400em",height:G(g/1e3),viewBox:"0 0 400000 "+g,preserveAspectRatio:"xMinYMin slice"});a=z.makeSvgSpan(["hide-tail"],[x],t),a.style.height=G(d),i=r.depth+s+c}else{/cancel/.test(u)?o||r.classes.push("cancel-pad"):u==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var C=0,S=0,I=0;/box/.test(u)?(I=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),C=t.fontMetrics().fboxsep+(u==="colorbox"?0:I),S=C):u==="angl"?(I=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),C=4*I,S=Math.max(0,.25-r.depth)):(C=o?.2:0,S=C),a=_0.encloseSpan(r,u,C,S,t),/fbox|boxed|fcolorbox/.test(u)?(a.style.borderStyle="solid",a.style.borderWidth=G(I)):u==="angl"&&I!==.049&&(a.style.borderTopWidth=G(I),a.style.borderRightWidth=G(I)),i=r.depth+S,e.backgroundColor&&(a.style.backgroundColor=e.backgroundColor,e.borderColor&&(a.style.borderColor=e.borderColor))}var M;if(e.backgroundColor)M=z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:i},{type:"elem",elem:r,shift:0}]},t);else{var N=/cancel|phase/.test(u)?["svg-align"]:[];M=z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:a,shift:i,wrapperClasses:N}]},t)}return/cancel/.test(u)&&(M.height=r.height,M.depth=r.depth),/cancel/.test(u)&&!o?z.makeSpan(["mord","cancel-lap"],[M],t):z.makeSpan(["mord"],[M],t)},ln=(e,t)=>{var r=0,u=new q.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[he(e.body,t)]);switch(e.label){case"\\cancel":u.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":u.setAttribute("notation","downdiagonalstrike");break;case"\\phase":u.setAttribute("notation","phasorangle");break;case"\\sout":u.setAttribute("notation","horizontalstrike");break;case"\\fbox":u.setAttribute("notation","box");break;case"\\angl":u.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,u.setAttribute("width","+"+2*r+"pt"),u.setAttribute("height","+"+2*r+"pt"),u.setAttribute("lspace",r+"pt"),u.setAttribute("voffset",r+"pt"),e.label==="\\fcolorbox"){var n=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);u.setAttribute("style","border: "+n+"em solid "+String(e.borderColor))}break;case"\\xcancel":u.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&u.setAttribute("mathbackground",e.backgroundColor),u};Y({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:u,funcName:n}=e,a=ue(t[0],"color-token").color,i=t[1];return{type:"enclose",mode:u.mode,label:n,backgroundColor:a,body:i}},htmlBuilder:sn,mathmlBuilder:ln});Y({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:u,funcName:n}=e,a=ue(t[0],"color-token").color,i=ue(t[1],"color-token").color,o=t[2];return{type:"enclose",mode:u.mode,label:n,backgroundColor:i,borderColor:a,body:o}},htmlBuilder:sn,mathmlBuilder:ln});Y({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}});Y({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:u}=e,n=t[0];return{type:"enclose",mode:r.mode,label:u,body:n}},htmlBuilder:sn,mathmlBuilder:ln});Y({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var To={};function h0(e){for(var{type:t,names:r,props:u,handler:n,htmlBuilder:a,mathmlBuilder:i}=e,o={type:t,numArgs:u.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:n},s=0;s{var t=e.parser.settings;if(!t.displayMode)throw new $("{"+e.envName+"} can be used only in display mode.")};function cn(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function W0(e,t,r){var{hskipBeforeAndAfter:u,addJot:n,cols:a,arraystretch:i,colSeparationType:o,autoTag:s,singleRow:c,emptySingleRow:h,maxNumCols:d,leqno:g}=t;if(e.gullet.beginGroup(),c||e.gullet.macros.set("\\cr","\\\\\\relax"),!i){var v=e.gullet.expandMacroAsText("\\arraystretch");if(v==null)i=1;else if(i=parseFloat(v),!i||i<0)throw new $("Invalid \\arraystretch: "+v)}e.gullet.beginGroup();var x=[],C=[x],S=[],I=[],M=s!=null?[]:void 0;function N(){s&&e.gullet.macros.set("\\@eqnsw","1",!0)}function L(){M&&(e.gullet.macros.get("\\df@tag")?(M.push(e.subparse([new Je("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):M.push(!!s&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(N(),I.push(Ta(e));;){var F=e.parseExpression(!1,c?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),F={type:"ordgroup",mode:e.mode,body:F},r&&(F={type:"styling",mode:e.mode,style:r,body:[F]}),x.push(F);var R=e.fetch().text;if(R==="&"){if(d&&x.length===d){if(c||o)throw new $("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(R==="\\end"){L(),x.length===1&&F.type==="styling"&&F.body[0].body.length===0&&(C.length>1||!h)&&C.pop(),I.length0&&(N+=.25),c.push({pos:N,isDashed:v0[F0]})}for(L(i[0]),u=0;u0&&(ie+=M,Hv0))for(u=0;u=o)){var T0=void 0;(n>0||t.hskipBeforeAndAfter)&&(T0=Q.deflt(Ie.pregap,g),T0!==0&&(me=z.makeSpan(["arraycolsep"],[]),me.style.width=G(T0),ve.push(me)));var M0=[];for(u=0;u0){for(var Vr=z.makeLineSpan("hline",r,h),jr=z.makeLineSpan("hdashline",r,h),Et=[{type:"elem",elem:s,shift:0}];c.length>0;){var r0=c.pop(),Xt=r0.pos-ae;r0.isDashed?Et.push({type:"elem",elem:jr,shift:Xt}):Et.push({type:"elem",elem:Vr,shift:Xt})}s=z.makeVList({positionType:"individualShift",children:Et},r)}if(Ue.length===0)return z.makeSpan(["mord"],[s],r);var nt=z.makeVList({positionType:"individualShift",children:Ue},r);return nt=z.makeSpan(["tag"],[nt],r),z.makeFragment([s,nt])},Y4={c:"center ",l:"left ",r:"right "},p0=function(t,r){for(var u=[],n=new q.MathNode("mtd",[],["mtr-glue"]),a=new q.MathNode("mtd",[],["mml-eqn-num"]),i=0;i0){var x=t.cols,C="",S=!1,I=0,M=x.length;x[0].type==="separator"&&(g+="top ",I=1),x[x.length-1].type==="separator"&&(g+="bottom ",M-=1);for(var N=I;N0?"left ":"",g+=Z[Z.length-1].length>0?"right ":"";for(var K=1;K-1?"alignat":"align",a=t.envName==="split",i=W0(t.parser,{cols:u,addJot:!0,autoTag:a?void 0:cn(t.envName),emptySingleRow:!0,colSeparationType:n,maxNumCols:a?2:void 0,leqno:t.parser.settings.leqno},"display"),o,s=0,c={type:"ordgroup",mode:t.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var h="",d=0;d0&&v&&(S=1),u[x]={type:"align",align:C,pregap:S,postgap:0}}return i.colSeparationType=v?"align":"alignat",i};h0({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=Or(t[0]),u=r?[t[0]]:ue(t[0],"ordgroup").body,n=u.map(function(i){var o=nn(i),s=o.text;if("lcr".indexOf(s)!==-1)return{type:"align",align:s};if(s==="|")return{type:"separator",separator:"|"};if(s===":")return{type:"separator",separator:":"};throw new $("Unknown column alignment: "+s,i)}),a={cols:n,hskipBeforeAndAfter:!0,maxNumCols:n.length};return W0(e.parser,a,fn(e.envName))},htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",u={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(e.envName.charAt(e.envName.length-1)==="*"){var n=e.parser;if(n.consumeSpaces(),n.fetch().text==="["){if(n.consume(),n.consumeSpaces(),r=n.fetch().text,"lcr".indexOf(r)===-1)throw new $("Expected l or c or r",n.nextToken);n.consume(),n.consumeSpaces(),n.expect("]"),n.consume(),u.cols=[{type:"align",align:r}]}}var a=W0(e.parser,u,fn(e.envName)),i=Math.max(0,...a.body.map(o=>o.length));return a.cols=new Array(i).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[a],left:t[0],right:t[1],rightColor:void 0}:a},htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},r=W0(e.parser,t,"script");return r.colSeparationType="small",r},htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=Or(t[0]),u=r?[t[0]]:ue(t[0],"ordgroup").body,n=u.map(function(i){var o=nn(i),s=o.text;if("lc".indexOf(s)!==-1)return{type:"align",align:s};throw new $("Unknown column alignment: "+s,i)});if(n.length>1)throw new $("{subarray} can contain only one column");var a={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5};if(a=W0(e.parser,a,"script"),a.body.length>0&&a.body[0].length>1)throw new $("{subarray} can contain only one column");return a},htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=W0(e.parser,t,fn(e.envName));return{type:"leftright",mode:e.mode,body:[r],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Fo,htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){Q.contains(["gather","gather*"],e.envName)&&qr(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:cn(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return W0(e.parser,t,"display")},htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Fo,htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){qr(e);var t={autoTag:cn(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return W0(e.parser,t,"display")},htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["CD"],props:{numArgs:0},handler(e){return qr(e),I4(e.parser)},htmlBuilder:m0,mathmlBuilder:p0});p("\\nonumber","\\gdef\\@eqnsw{0}");p("\\notag","\\nonumber");Y({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new $(e.funcName+" valid only within array environment")}});var Ma=To;Y({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:u}=e,n=t[0];if(n.type!=="ordgroup")throw new $("Invalid environment name",n);for(var a="",i=0;i{var r=e.font,u=t.withFont(r);return se(e.body,u)},Io=(e,t)=>{var r=e.font,u=t.withFont(r);return he(e.body,u)},Fa={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Y({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:u}=e,n=_r(t[0]),a=u;return a in Fa&&(a=Fa[a]),{type:"font",mode:r.mode,font:a.slice(1),body:n}},htmlBuilder:zo,mathmlBuilder:Io});Y({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,u=t[0],n=Q.isCharacterBox(u);return{type:"mclass",mode:r.mode,mclass:Lr(u),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:u}],isCharacterBox:n}}});Y({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:u,breakOnTokenText:n}=e,{mode:a}=r,i=r.parseExpression(!0,n),o="math"+u.slice(1);return{type:"font",mode:a,font:o,body:{type:"ordgroup",mode:r.mode,body:i}}},htmlBuilder:zo,mathmlBuilder:Io});var Bo=(e,t)=>{var r=t;return e==="display"?r=r.id>=te.SCRIPT.id?r.text():te.DISPLAY:e==="text"&&r.size===te.DISPLAY.size?r=te.TEXT:e==="script"?r=te.SCRIPT:e==="scriptscript"&&(r=te.SCRIPTSCRIPT),r},dn=(e,t)=>{var r=Bo(e.size,t.style),u=r.fracNum(),n=r.fracDen(),a;a=t.havingStyle(u);var i=se(e.numer,a,t);if(e.continued){var o=8.5/t.fontMetrics().ptPerEm,s=3.5/t.fontMetrics().ptPerEm;i.height=i.height0?x=3*g:x=7*g,C=t.fontMetrics().denom1):(d>0?(v=t.fontMetrics().num2,x=g):(v=t.fontMetrics().num3,x=3*g),C=t.fontMetrics().denom2);var S;if(h){var M=t.fontMetrics().axisHeight;v-i.depth-(M+.5*d){var r=new q.MathNode("mfrac",[he(e.numer,t),he(e.denom,t)]);if(!e.hasBarLine)r.setAttribute("linethickness","0px");else if(e.barSize){var u=ye(e.barSize,t);r.setAttribute("linethickness",G(u))}var n=Bo(e.size,t.style);if(n.size!==t.style.size){r=new q.MathNode("mstyle",[r]);var a=n.size===te.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",a),r.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var i=[];if(e.leftDelim!=null){var o=new q.MathNode("mo",[new q.TextNode(e.leftDelim.replace("\\",""))]);o.setAttribute("fence","true"),i.push(o)}if(i.push(r),e.rightDelim!=null){var s=new q.MathNode("mo",[new q.TextNode(e.rightDelim.replace("\\",""))]);s.setAttribute("fence","true"),i.push(s)}return rn(i)}return r};Y({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:u}=e,n=t[0],a=t[1],i,o=null,s=null,c="auto";switch(u){case"\\dfrac":case"\\frac":case"\\tfrac":i=!0;break;case"\\\\atopfrac":i=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":i=!1,o="(",s=")";break;case"\\\\bracefrac":i=!1,o="\\{",s="\\}";break;case"\\\\brackfrac":i=!1,o="[",s="]";break;default:throw new Error("Unrecognized genfrac command")}switch(u){case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:n,denom:a,hasBarLine:i,leftDelim:o,rightDelim:s,size:c,barSize:null}},htmlBuilder:dn,mathmlBuilder:hn});Y({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:r,funcName:u}=e,n=t[0],a=t[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:n,denom:a,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});Y({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:r,token:u}=e,n;switch(r){case"\\over":n="\\frac";break;case"\\choose":n="\\binom";break;case"\\atop":n="\\\\atopfrac";break;case"\\brace":n="\\\\bracefrac";break;case"\\brack":n="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:n,token:u}}});var za=["display","text","script","scriptscript"],Ia=function(t){var r=null;return t.length>0&&(r=t,r=r==="."?null:r),r};Y({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:r}=e,u=t[4],n=t[5],a=_r(t[0]),i=a.type==="atom"&&a.family==="open"?Ia(a.text):null,o=_r(t[1]),s=o.type==="atom"&&o.family==="close"?Ia(o.text):null,c=ue(t[2],"size"),h,d=null;c.isBlank?h=!0:(d=c.value,h=d.number>0);var g="auto",v=t[3];if(v.type==="ordgroup"){if(v.body.length>0){var x=ue(v.body[0],"textord");g=za[Number(x.text)]}}else v=ue(v,"textord"),g=za[Number(v.text)];return{type:"genfrac",mode:r.mode,numer:u,denom:n,continued:!1,hasBarLine:h,barSize:d,leftDelim:i,rightDelim:s,size:g}},htmlBuilder:dn,mathmlBuilder:hn});Y({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:u,token:n}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:ue(t[0],"size").value,token:n}}});Y({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:u}=e,n=t[0],a=Af(ue(t[1],"infix").size),i=t[2],o=a.number>0;return{type:"genfrac",mode:r.mode,numer:n,denom:i,continued:!1,hasBarLine:o,barSize:a,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:dn,mathmlBuilder:hn});var No=(e,t)=>{var r=t.style,u,n;e.type==="supsub"?(u=e.sup?se(e.sup,t.havingStyle(r.sup()),t):se(e.sub,t.havingStyle(r.sub()),t),n=ue(e.base,"horizBrace")):n=ue(e,"horizBrace");var a=se(n.base,t.havingBaseStyle(te.DISPLAY)),i=_0.svgSpan(n,t),o;if(n.isOver?(o=z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:i}]},t),o.children[0].children[0].children[1].classes.push("svg-align")):(o=z.makeVList({positionType:"bottom",positionData:a.depth+.1+i.height,children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:a}]},t),o.children[0].children[0].children[0].classes.push("svg-align")),u){var s=z.makeSpan(["mord",n.isOver?"mover":"munder"],[o],t);n.isOver?o=z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.2},{type:"elem",elem:u}]},t):o=z.makeVList({positionType:"bottom",positionData:s.depth+.2+u.height+u.depth,children:[{type:"elem",elem:u},{type:"kern",size:.2},{type:"elem",elem:s}]},t)}return z.makeSpan(["mord",n.isOver?"mover":"munder"],[o],t)},W4=(e,t)=>{var r=_0.mathMLnode(e.label);return new q.MathNode(e.isOver?"mover":"munder",[he(e.base,t),r])};Y({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:u}=e;return{type:"horizBrace",mode:r.mode,label:u,isOver:/^\\over/.test(u),base:t[0]}},htmlBuilder:No,mathmlBuilder:W4});Y({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,u=t[1],n=ue(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:n})?{type:"href",mode:r.mode,href:n,body:Ae(u)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=De(e.body,t,!1);return z.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=j0(e.body,t);return r instanceof Xe||(r=new Xe("mrow",[r])),r.setAttribute("href",e.href),r}});Y({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,u=ue(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:u}))return r.formatUnsupportedCmd("\\url");for(var n=[],a=0;a{var{parser:r,funcName:u,token:n}=e,a=ue(t[0],"raw").string,i=t[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var o,s={};switch(u){case"\\htmlClass":s.class=a,o={command:"\\htmlClass",class:a};break;case"\\htmlId":s.id=a,o={command:"\\htmlId",id:a};break;case"\\htmlStyle":s.style=a,o={command:"\\htmlStyle",style:a};break;case"\\htmlData":{for(var c=a.split(","),h=0;h{var r=De(e.body,t,!1),u=["enclosing"];e.attributes.class&&u.push(...e.attributes.class.trim().split(/\s+/));var n=z.makeSpan(u,r,t);for(var a in e.attributes)a!=="class"&&e.attributes.hasOwnProperty(a)&&n.setAttribute(a,e.attributes[a]);return n},mathmlBuilder:(e,t)=>j0(e.body,t)});Y({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:Ae(t[0]),mathml:Ae(t[1])}},htmlBuilder:(e,t)=>{var r=De(e.html,t,!1);return z.makeFragment(r)},mathmlBuilder:(e,t)=>j0(e.mathml,t)});var vu=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!r)throw new $("Invalid size: '"+t+"' in \\includegraphics");var u={number:+(r[1]+r[2]),unit:r[3]};if(!Qi(u))throw new $("Invalid unit: '"+u.unit+"' in \\includegraphics.");return u};Y({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:u}=e,n={number:0,unit:"em"},a={number:.9,unit:"em"},i={number:0,unit:"em"},o="";if(r[0])for(var s=ue(r[0],"raw").string,c=s.split(","),h=0;h{var r=ye(e.height,t),u=0;e.totalheight.number>0&&(u=ye(e.totalheight,t)-r);var n=0;e.width.number>0&&(n=ye(e.width,t));var a={height:G(r+u)};n>0&&(a.width=G(n)),u>0&&(a.verticalAlign=G(-u));var i=new Wf(e.src,e.alt,a);return i.height=r,i.depth=u,i},mathmlBuilder:(e,t)=>{var r=new q.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var u=ye(e.height,t),n=0;if(e.totalheight.number>0&&(n=ye(e.totalheight,t)-u,r.setAttribute("valign",G(-n))),r.setAttribute("height",G(u+n)),e.width.number>0){var a=ye(e.width,t);r.setAttribute("width",G(a))}return r.setAttribute("src",e.src),r}});Y({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:u}=e,n=ue(t[0],"size");if(r.settings.strict){var a=u[1]==="m",i=n.value.unit==="mu";a?(i||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+u+" supports only mu units, "+("not "+n.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+u+" works only in math mode")):i&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+u+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:n.value}},htmlBuilder(e,t){return z.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var r=ye(e.dimension,t);return new q.SpaceNode(r)}});Y({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:u}=e,n=t[0];return{type:"lap",mode:r.mode,alignment:u.slice(5),body:n}},htmlBuilder:(e,t)=>{var r;e.alignment==="clap"?(r=z.makeSpan([],[se(e.body,t)]),r=z.makeSpan(["inner"],[r],t)):r=z.makeSpan(["inner"],[se(e.body,t)]);var u=z.makeSpan(["fix"],[]),n=z.makeSpan([e.alignment],[r,u],t),a=z.makeSpan(["strut"]);return a.style.height=G(n.height+n.depth),n.depth&&(a.style.verticalAlign=G(-n.depth)),n.children.unshift(a),n=z.makeSpan(["thinbox"],[n],t),z.makeSpan(["mord","vbox"],[n],t)},mathmlBuilder:(e,t)=>{var r=new q.MathNode("mpadded",[he(e.body,t)]);if(e.alignment!=="rlap"){var u=e.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",u+"width")}return r.setAttribute("width","0px"),r}});Y({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:u}=e,n=u.mode;u.switchMode("math");var a=r==="\\("?"\\)":"$",i=u.parseExpression(!1,a);return u.expect(a),u.switchMode(n),{type:"styling",mode:u.mode,style:"text",body:i}}});Y({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new $("Mismatched "+e.funcName)}});var Ba=(e,t)=>{switch(t.style.size){case te.DISPLAY.size:return e.display;case te.TEXT.size:return e.text;case te.SCRIPT.size:return e.script;case te.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Y({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:Ae(t[0]),text:Ae(t[1]),script:Ae(t[2]),scriptscript:Ae(t[3])}},htmlBuilder:(e,t)=>{var r=Ba(e,t),u=De(r,t,!1);return z.makeFragment(u)},mathmlBuilder:(e,t)=>{var r=Ba(e,t);return j0(r,t)}});var Ro=(e,t,r,u,n,a,i)=>{e=z.makeSpan([],[e]);var o=r&&Q.isCharacterBox(r),s,c;if(t){var h=se(t,u.havingStyle(n.sup()),u);c={elem:h,kern:Math.max(u.fontMetrics().bigOpSpacing1,u.fontMetrics().bigOpSpacing3-h.depth)}}if(r){var d=se(r,u.havingStyle(n.sub()),u);s={elem:d,kern:Math.max(u.fontMetrics().bigOpSpacing2,u.fontMetrics().bigOpSpacing4-d.height)}}var g;if(c&&s){var v=u.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+i;g=z.makeVList({positionType:"bottom",positionData:v,children:[{type:"kern",size:u.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:G(-a)},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:G(a)},{type:"kern",size:u.fontMetrics().bigOpSpacing5}]},u)}else if(s){var x=e.height-i;g=z.makeVList({positionType:"top",positionData:x,children:[{type:"kern",size:u.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:G(-a)},{type:"kern",size:s.kern},{type:"elem",elem:e}]},u)}else if(c){var C=e.depth+i;g=z.makeVList({positionType:"bottom",positionData:C,children:[{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:G(a)},{type:"kern",size:u.fontMetrics().bigOpSpacing5}]},u)}else return e;var S=[g];if(s&&a!==0&&!o){var I=z.makeSpan(["mspace"],[],u);I.style.marginRight=G(a),S.unshift(I)}return z.makeSpan(["mop","op-limits"],S,u)},Oo=["\\smallint"],At=(e,t)=>{var r,u,n=!1,a;e.type==="supsub"?(r=e.sup,u=e.sub,a=ue(e.base,"op"),n=!0):a=ue(e,"op");var i=t.style,o=!1;i.size===te.DISPLAY.size&&a.symbol&&!Q.contains(Oo,a.name)&&(o=!0);var s;if(a.symbol){var c=o?"Size2-Regular":"Size1-Regular",h="";if((a.name==="\\oiint"||a.name==="\\oiiint")&&(h=a.name.slice(1),a.name=h==="oiint"?"\\iint":"\\iiint"),s=z.makeSymbol(a.name,c,"math",t,["mop","op-symbol",o?"large-op":"small-op"]),h.length>0){var d=s.italic,g=z.staticSvg(h+"Size"+(o?"2":"1"),t);s=z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:0},{type:"elem",elem:g,shift:o?.08:0}]},t),a.name="\\"+h,s.classes.unshift("mop"),s.italic=d}}else if(a.body){var v=De(a.body,t,!0);v.length===1&&v[0]instanceof e0?(s=v[0],s.classes[0]="mop"):s=z.makeSpan(["mop"],v,t)}else{for(var x=[],C=1;C{var r;if(e.symbol)r=new Xe("mo",[t0(e.name,e.mode)]),Q.contains(Oo,e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new Xe("mo",He(e.body,t));else{r=new Xe("mi",[new zt(e.name.slice(1))]);var u=new Xe("mo",[t0("⁡","text")]);e.parentIsSupSub?r=new Xe("mrow",[r,u]):r=co([r,u])}return r},Z4={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};Y({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:u}=e,n=u;return n.length===1&&(n=Z4[n]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:At,mathmlBuilder:Wt});Y({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:r}=e,u=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Ae(u)}},htmlBuilder:At,mathmlBuilder:Wt});var X4={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};Y({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:At,mathmlBuilder:Wt});Y({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:At,mathmlBuilder:Wt});Y({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e,u=r;return u.length===1&&(u=X4[u]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:u}},htmlBuilder:At,mathmlBuilder:Wt});var Lo=(e,t)=>{var r,u,n=!1,a;e.type==="supsub"?(r=e.sup,u=e.sub,a=ue(e.base,"operatorname"),n=!0):a=ue(e,"operatorname");var i;if(a.body.length>0){for(var o=a.body.map(d=>{var g=d.text;return typeof g=="string"?{type:"textord",mode:d.mode,text:g}:d}),s=De(o,t.withFont("mathrm"),!0),c=0;c{for(var r=He(e.body,t.withFont("mathrm")),u=!0,n=0;nh.toText()).join("");r=[new q.TextNode(o)]}var s=new q.MathNode("mi",r);s.setAttribute("mathvariant","normal");var c=new q.MathNode("mo",[t0("⁡","text")]);return e.parentIsSupSub?new q.MathNode("mrow",[s,c]):q.newDocumentFragment([s,c])};Y({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:u}=e,n=t[0];return{type:"operatorname",mode:r.mode,body:Ae(n),alwaysHandleSupSub:u==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Lo,mathmlBuilder:K4});p("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");tt({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?z.makeFragment(De(e.body,t,!1)):z.makeSpan(["mord"],De(e.body,t,!0),t)},mathmlBuilder(e,t){return j0(e.body,t,!0)}});Y({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,u=t[0];return{type:"overline",mode:r.mode,body:u}},htmlBuilder(e,t){var r=se(e.body,t.havingCrampedStyle()),u=z.makeLineSpan("overline-line",t),n=t.fontMetrics().defaultRuleThickness,a=z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*n},{type:"elem",elem:u},{type:"kern",size:n}]},t);return z.makeSpan(["mord","overline"],[a],t)},mathmlBuilder(e,t){var r=new q.MathNode("mo",[new q.TextNode("‾")]);r.setAttribute("stretchy","true");var u=new q.MathNode("mover",[he(e.body,t),r]);return u.setAttribute("accent","true"),u}});Y({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,u=t[0];return{type:"phantom",mode:r.mode,body:Ae(u)}},htmlBuilder:(e,t)=>{var r=De(e.body,t.withPhantom(),!1);return z.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=He(e.body,t);return new q.MathNode("mphantom",r)}});Y({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,u=t[0];return{type:"hphantom",mode:r.mode,body:u}},htmlBuilder:(e,t)=>{var r=z.makeSpan([],[se(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var u=0;u{var r=He(Ae(e.body),t),u=new q.MathNode("mphantom",r),n=new q.MathNode("mpadded",[u]);return n.setAttribute("height","0px"),n.setAttribute("depth","0px"),n}});Y({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,u=t[0];return{type:"vphantom",mode:r.mode,body:u}},htmlBuilder:(e,t)=>{var r=z.makeSpan(["inner"],[se(e.body,t.withPhantom())]),u=z.makeSpan(["fix"],[]);return z.makeSpan(["mord","rlap"],[r,u],t)},mathmlBuilder:(e,t)=>{var r=He(Ae(e.body),t),u=new q.MathNode("mphantom",r),n=new q.MathNode("mpadded",[u]);return n.setAttribute("width","0px"),n}});Y({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,u=ue(t[0],"size").value,n=t[1];return{type:"raisebox",mode:r.mode,dy:u,body:n}},htmlBuilder(e,t){var r=se(e.body,t),u=ye(e.dy,t);return z.makeVList({positionType:"shift",positionData:-u,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new q.MathNode("mpadded",[he(e.body,t)]),u=e.dy.number+e.dy.unit;return r.setAttribute("voffset",u),r}});Y({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});Y({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(e,t,r){var{parser:u}=e,n=r[0],a=ue(t[0],"size"),i=ue(t[1],"size");return{type:"rule",mode:u.mode,shift:n&&ue(n,"size").value,width:a.value,height:i.value}},htmlBuilder(e,t){var r=z.makeSpan(["mord","rule"],[],t),u=ye(e.width,t),n=ye(e.height,t),a=e.shift?ye(e.shift,t):0;return r.style.borderRightWidth=G(u),r.style.borderTopWidth=G(n),r.style.bottom=G(a),r.width=u,r.height=n+a,r.depth=-a,r.maxFontSize=n*1.125*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=ye(e.width,t),u=ye(e.height,t),n=e.shift?ye(e.shift,t):0,a=t.color&&t.getColor()||"black",i=new q.MathNode("mspace");i.setAttribute("mathbackground",a),i.setAttribute("width",G(r)),i.setAttribute("height",G(u));var o=new q.MathNode("mpadded",[i]);return n>=0?o.setAttribute("height",G(n)):(o.setAttribute("height",G(n)),o.setAttribute("depth",G(-n))),o.setAttribute("voffset",G(n)),o}});function Po(e,t,r){for(var u=De(e,t,!1),n=t.sizeMultiplier/r.sizeMultiplier,a=0;a{var r=t.havingSize(e.size);return Po(e.body,r,t)};Y({type:"sizing",names:Na,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:u,parser:n}=e,a=n.parseExpression(!1,r);return{type:"sizing",mode:n.mode,size:Na.indexOf(u)+1,body:a}},htmlBuilder:J4,mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),u=He(e.body,r),n=new q.MathNode("mstyle",u);return n.setAttribute("mathsize",G(r.sizeMultiplier)),n}});Y({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:u}=e,n=!1,a=!1,i=r[0]&&ue(r[0],"ordgroup");if(i)for(var o="",s=0;s{var r=z.makeSpan([],[se(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var u=0;u{var r=new q.MathNode("mpadded",[he(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}});Y({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:u}=e,n=r[0],a=t[0];return{type:"sqrt",mode:u.mode,body:a,index:n}},htmlBuilder(e,t){var r=se(e.body,t.havingCrampedStyle());r.height===0&&(r.height=t.fontMetrics().xHeight),r=z.wrapFragment(r,t);var u=t.fontMetrics(),n=u.defaultRuleThickness,a=n;t.style.idr.height+r.depth+i&&(i=(i+d-r.height-r.depth)/2);var g=s.height-r.height-i-c;r.style.paddingLeft=G(h);var v=z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+g)},{type:"elem",elem:s},{type:"kern",size:c}]},t);if(e.index){var x=t.havingStyle(te.SCRIPTSCRIPT),C=se(e.index,x,t),S=.6*(v.height-v.depth),I=z.makeVList({positionType:"shift",positionData:-S,children:[{type:"elem",elem:C}]},t),M=z.makeSpan(["root"],[I]);return z.makeSpan(["mord","sqrt"],[M,v],t)}else return z.makeSpan(["mord","sqrt"],[v],t)},mathmlBuilder(e,t){var{body:r,index:u}=e;return u?new q.MathNode("mroot",[he(r,t),he(u,t)]):new q.MathNode("msqrt",[he(r,t)])}});var Ra={display:te.DISPLAY,text:te.TEXT,script:te.SCRIPT,scriptscript:te.SCRIPTSCRIPT};Y({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:u,parser:n}=e,a=n.parseExpression(!0,r),i=u.slice(1,u.length-5);return{type:"styling",mode:n.mode,style:i,body:a}},htmlBuilder(e,t){var r=Ra[e.style],u=t.havingStyle(r).withFont("");return Po(e.body,u,t)},mathmlBuilder(e,t){var r=Ra[e.style],u=t.havingStyle(r),n=He(e.body,u),a=new q.MathNode("mstyle",n),i={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},o=i[e.style];return a.setAttribute("scriptlevel",o[0]),a.setAttribute("displaystyle",o[1]),a}});var Q4=function(t,r){var u=t.base;if(u)if(u.type==="op"){var n=u.limits&&(r.style.size===te.DISPLAY.size||u.alwaysHandleSupSub);return n?At:null}else if(u.type==="operatorname"){var a=u.alwaysHandleSupSub&&(r.style.size===te.DISPLAY.size||u.limits);return a?Lo:null}else{if(u.type==="accent")return Q.isCharacterBox(u.base)?an:null;if(u.type==="horizBrace"){var i=!t.sub;return i===u.isOver?No:null}else return null}else return null};tt({type:"supsub",htmlBuilder(e,t){var r=Q4(e,t);if(r)return r(e,t);var{base:u,sup:n,sub:a}=e,i=se(u,t),o,s,c=t.fontMetrics(),h=0,d=0,g=u&&Q.isCharacterBox(u);if(n){var v=t.havingStyle(t.style.sup());o=se(n,v,t),g||(h=i.height-v.fontMetrics().supDrop*v.sizeMultiplier/t.sizeMultiplier)}if(a){var x=t.havingStyle(t.style.sub());s=se(a,x,t),g||(d=i.depth+x.fontMetrics().subDrop*x.sizeMultiplier/t.sizeMultiplier)}var C;t.style===te.DISPLAY?C=c.sup1:t.style.cramped?C=c.sup3:C=c.sup2;var S=t.sizeMultiplier,I=G(.5/c.ptPerEm/S),M=null;if(s){var N=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(i instanceof e0||N)&&(M=G(-i.italic))}var L;if(o&&s){h=Math.max(h,C,o.depth+.25*c.xHeight),d=Math.max(d,c.sub2);var F=c.defaultRuleThickness,R=4*F;if(h-o.depth-(s.height-d)0&&(h+=H,d-=H)}var Z=[{type:"elem",elem:s,shift:d,marginRight:I,marginLeft:M},{type:"elem",elem:o,shift:-h,marginRight:I}];L=z.makeVList({positionType:"individualShift",children:Z},t)}else if(s){d=Math.max(d,c.sub1,s.height-.8*c.xHeight);var K=[{type:"elem",elem:s,marginLeft:M,marginRight:I}];L=z.makeVList({positionType:"shift",positionData:d,children:K},t)}else if(o)h=Math.max(h,C,o.depth+.25*c.xHeight),L=z.makeVList({positionType:"shift",positionData:-h,children:[{type:"elem",elem:o,marginRight:I}]},t);else throw new Error("supsub must have either sup or sub.");var le=zu(i,"right")||"mord";return z.makeSpan([le],[i,z.makeSpan(["msupsub"],[L])],t)},mathmlBuilder(e,t){var r=!1,u,n;e.base&&e.base.type==="horizBrace"&&(n=!!e.sup,n===e.base.isOver&&(r=!0,u=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var a=[he(e.base,t)];e.sub&&a.push(he(e.sub,t)),e.sup&&a.push(he(e.sup,t));var i;if(r)i=u?"mover":"munder";else if(e.sub)if(e.sup){var c=e.base;c&&c.type==="op"&&c.limits&&t.style===te.DISPLAY||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(t.style===te.DISPLAY||c.limits)?i="munderover":i="msubsup"}else{var s=e.base;s&&s.type==="op"&&s.limits&&(t.style===te.DISPLAY||s.alwaysHandleSupSub)||s&&s.type==="operatorname"&&s.alwaysHandleSupSub&&(s.limits||t.style===te.DISPLAY)?i="munder":i="msub"}else{var o=e.base;o&&o.type==="op"&&o.limits&&(t.style===te.DISPLAY||o.alwaysHandleSupSub)||o&&o.type==="operatorname"&&o.alwaysHandleSupSub&&(o.limits||t.style===te.DISPLAY)?i="mover":i="msup"}return new q.MathNode(i,a)}});tt({type:"atom",htmlBuilder(e,t){return z.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var r=new q.MathNode("mo",[t0(e.text,e.mode)]);if(e.family==="bin"){var u=un(e,t);u==="bold-italic"&&r.setAttribute("mathvariant",u)}else e.family==="punct"?r.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&r.setAttribute("stretchy","false");return r}});var qo={mi:"italic",mn:"normal",mtext:"normal"};tt({type:"mathord",htmlBuilder(e,t){return z.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var r=new q.MathNode("mi",[t0(e.text,e.mode,t)]),u=un(e,t)||"italic";return u!==qo[r.type]&&r.setAttribute("mathvariant",u),r}});tt({type:"textord",htmlBuilder(e,t){return z.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var r=t0(e.text,e.mode,t),u=un(e,t)||"normal",n;return e.mode==="text"?n=new q.MathNode("mtext",[r]):/[0-9]/.test(e.text)?n=new q.MathNode("mn",[r]):e.text==="\\prime"?n=new q.MathNode("mo",[r]):n=new q.MathNode("mi",[r]),u!==qo[n.type]&&n.setAttribute("mathvariant",u),n}});var gu={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},xu={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};tt({type:"spacing",htmlBuilder(e,t){if(xu.hasOwnProperty(e.text)){var r=xu[e.text].className||"";if(e.mode==="text"){var u=z.makeOrd(e,t,"textord");return u.classes.push(r),u}else return z.makeSpan(["mspace",r],[z.mathsym(e.text,e.mode,t)],t)}else{if(gu.hasOwnProperty(e.text))return z.makeSpan(["mspace",gu[e.text]],[],t);throw new $('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var r;if(xu.hasOwnProperty(e.text))r=new q.MathNode("mtext",[new q.TextNode(" ")]);else{if(gu.hasOwnProperty(e.text))return new q.MathNode("mspace");throw new $('Unknown type of space "'+e.text+'"')}return r}});var Oa=()=>{var e=new q.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};tt({type:"tag",mathmlBuilder(e,t){var r=new q.MathNode("mtable",[new q.MathNode("mtr",[Oa(),new q.MathNode("mtd",[j0(e.body,t)]),Oa(),new q.MathNode("mtd",[j0(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var La={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Pa={"\\textbf":"textbf","\\textmd":"textmd"},ed={"\\textit":"textit","\\textup":"textup"},qa=(e,t)=>{var r=e.font;return r?La[r]?t.withTextFontFamily(La[r]):Pa[r]?t.withTextFontWeight(Pa[r]):t.withTextFontShape(ed[r]):t};Y({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:u}=e,n=t[0];return{type:"text",mode:r.mode,body:Ae(n),font:u}},htmlBuilder(e,t){var r=qa(e,t),u=De(e.body,r,!0);return z.makeSpan(["mord","text"],u,r)},mathmlBuilder(e,t){var r=qa(e,t);return j0(e.body,r)}});Y({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=se(e.body,t),u=z.makeLineSpan("underline-line",t),n=t.fontMetrics().defaultRuleThickness,a=z.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:n},{type:"elem",elem:u},{type:"kern",size:3*n},{type:"elem",elem:r}]},t);return z.makeSpan(["mord","underline"],[a],t)},mathmlBuilder(e,t){var r=new q.MathNode("mo",[new q.TextNode("‾")]);r.setAttribute("stretchy","true");var u=new q.MathNode("munder",[he(e.body,t),r]);return u.setAttribute("accentunder","true"),u}});Y({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=se(e.body,t),u=t.fontMetrics().axisHeight,n=.5*(r.height-u-(r.depth+u));return z.makeVList({positionType:"shift",positionData:n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){return new q.MathNode("mpadded",[he(e.body,t)],["vcenter"])}});Y({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new $("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=$a(e),u=[],n=t.havingStyle(t.style.text()),a=0;ae.body.replace(/ /g,e.star?"␣":" "),L0=so,$o=`[ \r - ]`,td="\\\\[a-zA-Z@]+",rd="\\\\[^\uD800-\uDFFF]",ud="("+td+")"+$o+"*",nd=`\\\\( +-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class Gt{constructor(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return Q.contains(this.classes,t)}toNode(){for(var t=document.createDocumentFragment(),r=0;rr.toText();return this.children.map(t).join("")}}var l0={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},ar={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},ma={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function Vf(e,t){l0[e]=t}function Qu(e,t,r){if(!l0[t])throw new Error("Font metrics not found for font: "+t+".");var u=e.charCodeAt(0),n=l0[t][u];if(!n&&e[0]in ma&&(u=ma[e[0]].charCodeAt(0),n=l0[t][u]),!n&&r==="text"&&Ji(u)&&(n=l0[t][77]),n)return{depth:n[0],height:n[1],italic:n[2],skew:n[3],width:n[4]}}var ou={};function jf(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!ou[t]){var r=ou[t]={cssEmPerMu:ar.quad[t]/18};for(var u in ar)ar.hasOwnProperty(u)&&(r[u]=ar[u][t])}return ou[t]}var Gf=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],pa=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],ba=function(t,r){return r.size<2?t:Gf[t-1][r.size-1]};class y0{constructor(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||y0.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=pa[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var u in t)t.hasOwnProperty(u)&&(r[u]=t[u]);return new y0(r)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:ba(this.textSize,t)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:pa[t-1]})}havingBaseStyle(t){t=t||this.style.text();var r=ba(y0.BASESIZE,t);return this.size===r&&this.textSize===y0.BASESIZE&&this.style===t?this:this.extend({style:t,size:r})}havingBaseSizing(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==y0.BASESIZE?["sizing","reset-size"+this.size,"size"+y0.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=jf(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}y0.BASESIZE=6;var Tu={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Yf={ex:!0,em:!0,mu:!0},Qi=function(t){return typeof t!="string"&&(t=t.unit),t in Tu||t in Yf||t==="ex"},ye=function(t,r){var u;if(t.unit in Tu)u=Tu[t.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(t.unit==="mu")u=r.fontMetrics().cssEmPerMu;else{var n;if(r.style.isTight()?n=r.havingStyle(r.style.text()):n=r,t.unit==="ex")u=n.fontMetrics().xHeight;else if(t.unit==="em")u=n.fontMetrics().quad;else throw new H("Invalid unit: '"+t.unit+"'");n!==r&&(u*=n.sizeMultiplier/r.sizeMultiplier)}return Math.min(t.number*u,r.maxSize)},G=function(t){return+t.toFixed(4)+"em"},U0=function(t){return t.filter(r=>r).join(" ")},eo=function(t,r,u){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=u||{},r){r.style.isTight()&&this.classes.push("mtight");var n=r.getColor();n&&(this.style.color=n)}},to=function(t){var r=document.createElement(t);r.className=U0(this.classes);for(var u in this.style)this.style.hasOwnProperty(u)&&(r.style[u]=this.style[u]);for(var n in this.attributes)this.attributes.hasOwnProperty(n)&&r.setAttribute(n,this.attributes[n]);for(var a=0;a",r};class Yt{constructor(t,r,u,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,eo.call(this,t,u,n),this.children=r||[]}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return Q.contains(this.classes,t)}toNode(){return to.call(this,"span")}toMarkup(){return ro.call(this,"span")}}class en{constructor(t,r,u,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,eo.call(this,r,n),this.children=u||[],this.setAttribute("href",t)}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return Q.contains(this.classes,t)}toNode(){return to.call(this,"a")}toMarkup(){return ro.call(this,"a")}}class Wf{constructor(t,r,u){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=r,this.src=t,this.classes=["mord"],this.style=u}hasClass(t){return Q.contains(this.classes,t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);return t}toMarkup(){var t=''+Q.escape(this.alt)+'0&&(r=document.createElement("span"),r.style.marginRight=G(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=U0(this.classes));for(var u in this.style)this.style.hasOwnProperty(u)&&(r=r||document.createElement("span"),r.style[u]=this.style[u]);return r?(r.appendChild(t),r):t}toMarkup(){var t=!1,r="0&&(u+="margin-right:"+this.italic+"em;");for(var n in this.style)this.style.hasOwnProperty(n)&&(u+=Q.hyphenate(n)+":"+this.style[n]+";");u&&(t=!0,r+=' style="'+Q.escape(u)+'"');var a=Q.escape(this.text);return t?(r+=">",r+=a,r+="",r):a}}class A0{constructor(t,r){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=r||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"svg");for(var u in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,u)&&r.setAttribute(u,this.attributes[u]);for(var n=0;n':''}}class Mu{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"line");for(var u in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,u)&&r.setAttribute(u,this.attributes[u]);return r}toMarkup(){var t=" but got "+String(e)+".")}var Kf={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Jf={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},be={math:{},text:{}};function l(e,t,r,u,n,a){be[e][n]={font:t,group:r,replace:u},a&&u&&(be[e][u]=be[e][n])}var f="math",O="text",m="main",w="ams",ge="accent-token",W="bin",Oe="close",St="inner",ee="mathord",Ee="op-token",Ge="open",Nr="punct",k="rel",E0="spacing",_="textord";l(f,m,k,"≡","\\equiv",!0);l(f,m,k,"≺","\\prec",!0);l(f,m,k,"≻","\\succ",!0);l(f,m,k,"∼","\\sim",!0);l(f,m,k,"⊥","\\perp");l(f,m,k,"⪯","\\preceq",!0);l(f,m,k,"⪰","\\succeq",!0);l(f,m,k,"≃","\\simeq",!0);l(f,m,k,"∣","\\mid",!0);l(f,m,k,"≪","\\ll",!0);l(f,m,k,"≫","\\gg",!0);l(f,m,k,"≍","\\asymp",!0);l(f,m,k,"∥","\\parallel");l(f,m,k,"⋈","\\bowtie",!0);l(f,m,k,"⌣","\\smile",!0);l(f,m,k,"⊑","\\sqsubseteq",!0);l(f,m,k,"⊒","\\sqsupseteq",!0);l(f,m,k,"≐","\\doteq",!0);l(f,m,k,"⌢","\\frown",!0);l(f,m,k,"∋","\\ni",!0);l(f,m,k,"∝","\\propto",!0);l(f,m,k,"⊢","\\vdash",!0);l(f,m,k,"⊣","\\dashv",!0);l(f,m,k,"∋","\\owns");l(f,m,Nr,".","\\ldotp");l(f,m,Nr,"⋅","\\cdotp");l(f,m,_,"#","\\#");l(O,m,_,"#","\\#");l(f,m,_,"&","\\&");l(O,m,_,"&","\\&");l(f,m,_,"ℵ","\\aleph",!0);l(f,m,_,"∀","\\forall",!0);l(f,m,_,"ℏ","\\hbar",!0);l(f,m,_,"∃","\\exists",!0);l(f,m,_,"∇","\\nabla",!0);l(f,m,_,"♭","\\flat",!0);l(f,m,_,"ℓ","\\ell",!0);l(f,m,_,"♮","\\natural",!0);l(f,m,_,"♣","\\clubsuit",!0);l(f,m,_,"℘","\\wp",!0);l(f,m,_,"♯","\\sharp",!0);l(f,m,_,"♢","\\diamondsuit",!0);l(f,m,_,"ℜ","\\Re",!0);l(f,m,_,"♡","\\heartsuit",!0);l(f,m,_,"ℑ","\\Im",!0);l(f,m,_,"♠","\\spadesuit",!0);l(f,m,_,"§","\\S",!0);l(O,m,_,"§","\\S");l(f,m,_,"¶","\\P",!0);l(O,m,_,"¶","\\P");l(f,m,_,"†","\\dag");l(O,m,_,"†","\\dag");l(O,m,_,"†","\\textdagger");l(f,m,_,"‡","\\ddag");l(O,m,_,"‡","\\ddag");l(O,m,_,"‡","\\textdaggerdbl");l(f,m,Oe,"⎱","\\rmoustache",!0);l(f,m,Ge,"⎰","\\lmoustache",!0);l(f,m,Oe,"⟯","\\rgroup",!0);l(f,m,Ge,"⟮","\\lgroup",!0);l(f,m,W,"∓","\\mp",!0);l(f,m,W,"⊖","\\ominus",!0);l(f,m,W,"⊎","\\uplus",!0);l(f,m,W,"⊓","\\sqcap",!0);l(f,m,W,"∗","\\ast");l(f,m,W,"⊔","\\sqcup",!0);l(f,m,W,"◯","\\bigcirc",!0);l(f,m,W,"∙","\\bullet",!0);l(f,m,W,"‡","\\ddagger");l(f,m,W,"≀","\\wr",!0);l(f,m,W,"⨿","\\amalg");l(f,m,W,"&","\\And");l(f,m,k,"⟵","\\longleftarrow",!0);l(f,m,k,"⇐","\\Leftarrow",!0);l(f,m,k,"⟸","\\Longleftarrow",!0);l(f,m,k,"⟶","\\longrightarrow",!0);l(f,m,k,"⇒","\\Rightarrow",!0);l(f,m,k,"⟹","\\Longrightarrow",!0);l(f,m,k,"↔","\\leftrightarrow",!0);l(f,m,k,"⟷","\\longleftrightarrow",!0);l(f,m,k,"⇔","\\Leftrightarrow",!0);l(f,m,k,"⟺","\\Longleftrightarrow",!0);l(f,m,k,"↦","\\mapsto",!0);l(f,m,k,"⟼","\\longmapsto",!0);l(f,m,k,"↗","\\nearrow",!0);l(f,m,k,"↩","\\hookleftarrow",!0);l(f,m,k,"↪","\\hookrightarrow",!0);l(f,m,k,"↘","\\searrow",!0);l(f,m,k,"↼","\\leftharpoonup",!0);l(f,m,k,"⇀","\\rightharpoonup",!0);l(f,m,k,"↙","\\swarrow",!0);l(f,m,k,"↽","\\leftharpoondown",!0);l(f,m,k,"⇁","\\rightharpoondown",!0);l(f,m,k,"↖","\\nwarrow",!0);l(f,m,k,"⇌","\\rightleftharpoons",!0);l(f,w,k,"≮","\\nless",!0);l(f,w,k,"","\\@nleqslant");l(f,w,k,"","\\@nleqq");l(f,w,k,"⪇","\\lneq",!0);l(f,w,k,"≨","\\lneqq",!0);l(f,w,k,"","\\@lvertneqq");l(f,w,k,"⋦","\\lnsim",!0);l(f,w,k,"⪉","\\lnapprox",!0);l(f,w,k,"⊀","\\nprec",!0);l(f,w,k,"⋠","\\npreceq",!0);l(f,w,k,"⋨","\\precnsim",!0);l(f,w,k,"⪹","\\precnapprox",!0);l(f,w,k,"≁","\\nsim",!0);l(f,w,k,"","\\@nshortmid");l(f,w,k,"∤","\\nmid",!0);l(f,w,k,"⊬","\\nvdash",!0);l(f,w,k,"⊭","\\nvDash",!0);l(f,w,k,"⋪","\\ntriangleleft");l(f,w,k,"⋬","\\ntrianglelefteq",!0);l(f,w,k,"⊊","\\subsetneq",!0);l(f,w,k,"","\\@varsubsetneq");l(f,w,k,"⫋","\\subsetneqq",!0);l(f,w,k,"","\\@varsubsetneqq");l(f,w,k,"≯","\\ngtr",!0);l(f,w,k,"","\\@ngeqslant");l(f,w,k,"","\\@ngeqq");l(f,w,k,"⪈","\\gneq",!0);l(f,w,k,"≩","\\gneqq",!0);l(f,w,k,"","\\@gvertneqq");l(f,w,k,"⋧","\\gnsim",!0);l(f,w,k,"⪊","\\gnapprox",!0);l(f,w,k,"⊁","\\nsucc",!0);l(f,w,k,"⋡","\\nsucceq",!0);l(f,w,k,"⋩","\\succnsim",!0);l(f,w,k,"⪺","\\succnapprox",!0);l(f,w,k,"≆","\\ncong",!0);l(f,w,k,"","\\@nshortparallel");l(f,w,k,"∦","\\nparallel",!0);l(f,w,k,"⊯","\\nVDash",!0);l(f,w,k,"⋫","\\ntriangleright");l(f,w,k,"⋭","\\ntrianglerighteq",!0);l(f,w,k,"","\\@nsupseteqq");l(f,w,k,"⊋","\\supsetneq",!0);l(f,w,k,"","\\@varsupsetneq");l(f,w,k,"⫌","\\supsetneqq",!0);l(f,w,k,"","\\@varsupsetneqq");l(f,w,k,"⊮","\\nVdash",!0);l(f,w,k,"⪵","\\precneqq",!0);l(f,w,k,"⪶","\\succneqq",!0);l(f,w,k,"","\\@nsubseteqq");l(f,w,W,"⊴","\\unlhd");l(f,w,W,"⊵","\\unrhd");l(f,w,k,"↚","\\nleftarrow",!0);l(f,w,k,"↛","\\nrightarrow",!0);l(f,w,k,"⇍","\\nLeftarrow",!0);l(f,w,k,"⇏","\\nRightarrow",!0);l(f,w,k,"↮","\\nleftrightarrow",!0);l(f,w,k,"⇎","\\nLeftrightarrow",!0);l(f,w,k,"△","\\vartriangle");l(f,w,_,"ℏ","\\hslash");l(f,w,_,"▽","\\triangledown");l(f,w,_,"◊","\\lozenge");l(f,w,_,"Ⓢ","\\circledS");l(f,w,_,"®","\\circledR");l(O,w,_,"®","\\circledR");l(f,w,_,"∡","\\measuredangle",!0);l(f,w,_,"∄","\\nexists");l(f,w,_,"℧","\\mho");l(f,w,_,"Ⅎ","\\Finv",!0);l(f,w,_,"⅁","\\Game",!0);l(f,w,_,"‵","\\backprime");l(f,w,_,"▲","\\blacktriangle");l(f,w,_,"▼","\\blacktriangledown");l(f,w,_,"■","\\blacksquare");l(f,w,_,"⧫","\\blacklozenge");l(f,w,_,"★","\\bigstar");l(f,w,_,"∢","\\sphericalangle",!0);l(f,w,_,"∁","\\complement",!0);l(f,w,_,"ð","\\eth",!0);l(O,m,_,"ð","ð");l(f,w,_,"╱","\\diagup");l(f,w,_,"╲","\\diagdown");l(f,w,_,"□","\\square");l(f,w,_,"□","\\Box");l(f,w,_,"◊","\\Diamond");l(f,w,_,"¥","\\yen",!0);l(O,w,_,"¥","\\yen",!0);l(f,w,_,"✓","\\checkmark",!0);l(O,w,_,"✓","\\checkmark");l(f,w,_,"ℶ","\\beth",!0);l(f,w,_,"ℸ","\\daleth",!0);l(f,w,_,"ℷ","\\gimel",!0);l(f,w,_,"ϝ","\\digamma",!0);l(f,w,_,"ϰ","\\varkappa");l(f,w,Ge,"┌","\\@ulcorner",!0);l(f,w,Oe,"┐","\\@urcorner",!0);l(f,w,Ge,"└","\\@llcorner",!0);l(f,w,Oe,"┘","\\@lrcorner",!0);l(f,w,k,"≦","\\leqq",!0);l(f,w,k,"⩽","\\leqslant",!0);l(f,w,k,"⪕","\\eqslantless",!0);l(f,w,k,"≲","\\lesssim",!0);l(f,w,k,"⪅","\\lessapprox",!0);l(f,w,k,"≊","\\approxeq",!0);l(f,w,W,"⋖","\\lessdot");l(f,w,k,"⋘","\\lll",!0);l(f,w,k,"≶","\\lessgtr",!0);l(f,w,k,"⋚","\\lesseqgtr",!0);l(f,w,k,"⪋","\\lesseqqgtr",!0);l(f,w,k,"≑","\\doteqdot");l(f,w,k,"≓","\\risingdotseq",!0);l(f,w,k,"≒","\\fallingdotseq",!0);l(f,w,k,"∽","\\backsim",!0);l(f,w,k,"⋍","\\backsimeq",!0);l(f,w,k,"⫅","\\subseteqq",!0);l(f,w,k,"⋐","\\Subset",!0);l(f,w,k,"⊏","\\sqsubset",!0);l(f,w,k,"≼","\\preccurlyeq",!0);l(f,w,k,"⋞","\\curlyeqprec",!0);l(f,w,k,"≾","\\precsim",!0);l(f,w,k,"⪷","\\precapprox",!0);l(f,w,k,"⊲","\\vartriangleleft");l(f,w,k,"⊴","\\trianglelefteq");l(f,w,k,"⊨","\\vDash",!0);l(f,w,k,"⊪","\\Vvdash",!0);l(f,w,k,"⌣","\\smallsmile");l(f,w,k,"⌢","\\smallfrown");l(f,w,k,"≏","\\bumpeq",!0);l(f,w,k,"≎","\\Bumpeq",!0);l(f,w,k,"≧","\\geqq",!0);l(f,w,k,"⩾","\\geqslant",!0);l(f,w,k,"⪖","\\eqslantgtr",!0);l(f,w,k,"≳","\\gtrsim",!0);l(f,w,k,"⪆","\\gtrapprox",!0);l(f,w,W,"⋗","\\gtrdot");l(f,w,k,"⋙","\\ggg",!0);l(f,w,k,"≷","\\gtrless",!0);l(f,w,k,"⋛","\\gtreqless",!0);l(f,w,k,"⪌","\\gtreqqless",!0);l(f,w,k,"≖","\\eqcirc",!0);l(f,w,k,"≗","\\circeq",!0);l(f,w,k,"≜","\\triangleq",!0);l(f,w,k,"∼","\\thicksim");l(f,w,k,"≈","\\thickapprox");l(f,w,k,"⫆","\\supseteqq",!0);l(f,w,k,"⋑","\\Supset",!0);l(f,w,k,"⊐","\\sqsupset",!0);l(f,w,k,"≽","\\succcurlyeq",!0);l(f,w,k,"⋟","\\curlyeqsucc",!0);l(f,w,k,"≿","\\succsim",!0);l(f,w,k,"⪸","\\succapprox",!0);l(f,w,k,"⊳","\\vartriangleright");l(f,w,k,"⊵","\\trianglerighteq");l(f,w,k,"⊩","\\Vdash",!0);l(f,w,k,"∣","\\shortmid");l(f,w,k,"∥","\\shortparallel");l(f,w,k,"≬","\\between",!0);l(f,w,k,"⋔","\\pitchfork",!0);l(f,w,k,"∝","\\varpropto");l(f,w,k,"◀","\\blacktriangleleft");l(f,w,k,"∴","\\therefore",!0);l(f,w,k,"∍","\\backepsilon");l(f,w,k,"▶","\\blacktriangleright");l(f,w,k,"∵","\\because",!0);l(f,w,k,"⋘","\\llless");l(f,w,k,"⋙","\\gggtr");l(f,w,W,"⊲","\\lhd");l(f,w,W,"⊳","\\rhd");l(f,w,k,"≂","\\eqsim",!0);l(f,m,k,"⋈","\\Join");l(f,w,k,"≑","\\Doteq",!0);l(f,w,W,"∔","\\dotplus",!0);l(f,w,W,"∖","\\smallsetminus");l(f,w,W,"⋒","\\Cap",!0);l(f,w,W,"⋓","\\Cup",!0);l(f,w,W,"⩞","\\doublebarwedge",!0);l(f,w,W,"⊟","\\boxminus",!0);l(f,w,W,"⊞","\\boxplus",!0);l(f,w,W,"⋇","\\divideontimes",!0);l(f,w,W,"⋉","\\ltimes",!0);l(f,w,W,"⋊","\\rtimes",!0);l(f,w,W,"⋋","\\leftthreetimes",!0);l(f,w,W,"⋌","\\rightthreetimes",!0);l(f,w,W,"⋏","\\curlywedge",!0);l(f,w,W,"⋎","\\curlyvee",!0);l(f,w,W,"⊝","\\circleddash",!0);l(f,w,W,"⊛","\\circledast",!0);l(f,w,W,"⋅","\\centerdot");l(f,w,W,"⊺","\\intercal",!0);l(f,w,W,"⋒","\\doublecap");l(f,w,W,"⋓","\\doublecup");l(f,w,W,"⊠","\\boxtimes",!0);l(f,w,k,"⇢","\\dashrightarrow",!0);l(f,w,k,"⇠","\\dashleftarrow",!0);l(f,w,k,"⇇","\\leftleftarrows",!0);l(f,w,k,"⇆","\\leftrightarrows",!0);l(f,w,k,"⇚","\\Lleftarrow",!0);l(f,w,k,"↞","\\twoheadleftarrow",!0);l(f,w,k,"↢","\\leftarrowtail",!0);l(f,w,k,"↫","\\looparrowleft",!0);l(f,w,k,"⇋","\\leftrightharpoons",!0);l(f,w,k,"↶","\\curvearrowleft",!0);l(f,w,k,"↺","\\circlearrowleft",!0);l(f,w,k,"↰","\\Lsh",!0);l(f,w,k,"⇈","\\upuparrows",!0);l(f,w,k,"↿","\\upharpoonleft",!0);l(f,w,k,"⇃","\\downharpoonleft",!0);l(f,m,k,"⊶","\\origof",!0);l(f,m,k,"⊷","\\imageof",!0);l(f,w,k,"⊸","\\multimap",!0);l(f,w,k,"↭","\\leftrightsquigarrow",!0);l(f,w,k,"⇉","\\rightrightarrows",!0);l(f,w,k,"⇄","\\rightleftarrows",!0);l(f,w,k,"↠","\\twoheadrightarrow",!0);l(f,w,k,"↣","\\rightarrowtail",!0);l(f,w,k,"↬","\\looparrowright",!0);l(f,w,k,"↷","\\curvearrowright",!0);l(f,w,k,"↻","\\circlearrowright",!0);l(f,w,k,"↱","\\Rsh",!0);l(f,w,k,"⇊","\\downdownarrows",!0);l(f,w,k,"↾","\\upharpoonright",!0);l(f,w,k,"⇂","\\downharpoonright",!0);l(f,w,k,"⇝","\\rightsquigarrow",!0);l(f,w,k,"⇝","\\leadsto");l(f,w,k,"⇛","\\Rrightarrow",!0);l(f,w,k,"↾","\\restriction");l(f,m,_,"‘","`");l(f,m,_,"$","\\$");l(O,m,_,"$","\\$");l(O,m,_,"$","\\textdollar");l(f,m,_,"%","\\%");l(O,m,_,"%","\\%");l(f,m,_,"_","\\_");l(O,m,_,"_","\\_");l(O,m,_,"_","\\textunderscore");l(f,m,_,"∠","\\angle",!0);l(f,m,_,"∞","\\infty",!0);l(f,m,_,"′","\\prime");l(f,m,_,"△","\\triangle");l(f,m,_,"Γ","\\Gamma",!0);l(f,m,_,"Δ","\\Delta",!0);l(f,m,_,"Θ","\\Theta",!0);l(f,m,_,"Λ","\\Lambda",!0);l(f,m,_,"Ξ","\\Xi",!0);l(f,m,_,"Π","\\Pi",!0);l(f,m,_,"Σ","\\Sigma",!0);l(f,m,_,"Υ","\\Upsilon",!0);l(f,m,_,"Φ","\\Phi",!0);l(f,m,_,"Ψ","\\Psi",!0);l(f,m,_,"Ω","\\Omega",!0);l(f,m,_,"A","Α");l(f,m,_,"B","Β");l(f,m,_,"E","Ε");l(f,m,_,"Z","Ζ");l(f,m,_,"H","Η");l(f,m,_,"I","Ι");l(f,m,_,"K","Κ");l(f,m,_,"M","Μ");l(f,m,_,"N","Ν");l(f,m,_,"O","Ο");l(f,m,_,"P","Ρ");l(f,m,_,"T","Τ");l(f,m,_,"X","Χ");l(f,m,_,"¬","\\neg",!0);l(f,m,_,"¬","\\lnot");l(f,m,_,"⊤","\\top");l(f,m,_,"⊥","\\bot");l(f,m,_,"∅","\\emptyset");l(f,w,_,"∅","\\varnothing");l(f,m,ee,"α","\\alpha",!0);l(f,m,ee,"β","\\beta",!0);l(f,m,ee,"γ","\\gamma",!0);l(f,m,ee,"δ","\\delta",!0);l(f,m,ee,"ϵ","\\epsilon",!0);l(f,m,ee,"ζ","\\zeta",!0);l(f,m,ee,"η","\\eta",!0);l(f,m,ee,"θ","\\theta",!0);l(f,m,ee,"ι","\\iota",!0);l(f,m,ee,"κ","\\kappa",!0);l(f,m,ee,"λ","\\lambda",!0);l(f,m,ee,"μ","\\mu",!0);l(f,m,ee,"ν","\\nu",!0);l(f,m,ee,"ξ","\\xi",!0);l(f,m,ee,"ο","\\omicron",!0);l(f,m,ee,"π","\\pi",!0);l(f,m,ee,"ρ","\\rho",!0);l(f,m,ee,"σ","\\sigma",!0);l(f,m,ee,"τ","\\tau",!0);l(f,m,ee,"υ","\\upsilon",!0);l(f,m,ee,"ϕ","\\phi",!0);l(f,m,ee,"χ","\\chi",!0);l(f,m,ee,"ψ","\\psi",!0);l(f,m,ee,"ω","\\omega",!0);l(f,m,ee,"ε","\\varepsilon",!0);l(f,m,ee,"ϑ","\\vartheta",!0);l(f,m,ee,"ϖ","\\varpi",!0);l(f,m,ee,"ϱ","\\varrho",!0);l(f,m,ee,"ς","\\varsigma",!0);l(f,m,ee,"φ","\\varphi",!0);l(f,m,W,"∗","*",!0);l(f,m,W,"+","+");l(f,m,W,"−","-",!0);l(f,m,W,"⋅","\\cdot",!0);l(f,m,W,"∘","\\circ",!0);l(f,m,W,"÷","\\div",!0);l(f,m,W,"±","\\pm",!0);l(f,m,W,"×","\\times",!0);l(f,m,W,"∩","\\cap",!0);l(f,m,W,"∪","\\cup",!0);l(f,m,W,"∖","\\setminus",!0);l(f,m,W,"∧","\\land");l(f,m,W,"∨","\\lor");l(f,m,W,"∧","\\wedge",!0);l(f,m,W,"∨","\\vee",!0);l(f,m,_,"√","\\surd");l(f,m,Ge,"⟨","\\langle",!0);l(f,m,Ge,"∣","\\lvert");l(f,m,Ge,"∥","\\lVert");l(f,m,Oe,"?","?");l(f,m,Oe,"!","!");l(f,m,Oe,"⟩","\\rangle",!0);l(f,m,Oe,"∣","\\rvert");l(f,m,Oe,"∥","\\rVert");l(f,m,k,"=","=");l(f,m,k,":",":");l(f,m,k,"≈","\\approx",!0);l(f,m,k,"≅","\\cong",!0);l(f,m,k,"≥","\\ge");l(f,m,k,"≥","\\geq",!0);l(f,m,k,"←","\\gets");l(f,m,k,">","\\gt",!0);l(f,m,k,"∈","\\in",!0);l(f,m,k,"","\\@not");l(f,m,k,"⊂","\\subset",!0);l(f,m,k,"⊃","\\supset",!0);l(f,m,k,"⊆","\\subseteq",!0);l(f,m,k,"⊇","\\supseteq",!0);l(f,w,k,"⊈","\\nsubseteq",!0);l(f,w,k,"⊉","\\nsupseteq",!0);l(f,m,k,"⊨","\\models");l(f,m,k,"←","\\leftarrow",!0);l(f,m,k,"≤","\\le");l(f,m,k,"≤","\\leq",!0);l(f,m,k,"<","\\lt",!0);l(f,m,k,"→","\\rightarrow",!0);l(f,m,k,"→","\\to");l(f,w,k,"≱","\\ngeq",!0);l(f,w,k,"≰","\\nleq",!0);l(f,m,E0," ","\\ ");l(f,m,E0," ","\\space");l(f,m,E0," ","\\nobreakspace");l(O,m,E0," ","\\ ");l(O,m,E0," "," ");l(O,m,E0," ","\\space");l(O,m,E0," ","\\nobreakspace");l(f,m,E0,null,"\\nobreak");l(f,m,E0,null,"\\allowbreak");l(f,m,Nr,",",",");l(f,m,Nr,";",";");l(f,w,W,"⊼","\\barwedge",!0);l(f,w,W,"⊻","\\veebar",!0);l(f,m,W,"⊙","\\odot",!0);l(f,m,W,"⊕","\\oplus",!0);l(f,m,W,"⊗","\\otimes",!0);l(f,m,_,"∂","\\partial",!0);l(f,m,W,"⊘","\\oslash",!0);l(f,w,W,"⊚","\\circledcirc",!0);l(f,w,W,"⊡","\\boxdot",!0);l(f,m,W,"△","\\bigtriangleup");l(f,m,W,"▽","\\bigtriangledown");l(f,m,W,"†","\\dagger");l(f,m,W,"⋄","\\diamond");l(f,m,W,"⋆","\\star");l(f,m,W,"◃","\\triangleleft");l(f,m,W,"▹","\\triangleright");l(f,m,Ge,"{","\\{");l(O,m,_,"{","\\{");l(O,m,_,"{","\\textbraceleft");l(f,m,Oe,"}","\\}");l(O,m,_,"}","\\}");l(O,m,_,"}","\\textbraceright");l(f,m,Ge,"{","\\lbrace");l(f,m,Oe,"}","\\rbrace");l(f,m,Ge,"[","\\lbrack",!0);l(O,m,_,"[","\\lbrack",!0);l(f,m,Oe,"]","\\rbrack",!0);l(O,m,_,"]","\\rbrack",!0);l(f,m,Ge,"(","\\lparen",!0);l(f,m,Oe,")","\\rparen",!0);l(O,m,_,"<","\\textless",!0);l(O,m,_,">","\\textgreater",!0);l(f,m,Ge,"⌊","\\lfloor",!0);l(f,m,Oe,"⌋","\\rfloor",!0);l(f,m,Ge,"⌈","\\lceil",!0);l(f,m,Oe,"⌉","\\rceil",!0);l(f,m,_,"\\","\\backslash");l(f,m,_,"∣","|");l(f,m,_,"∣","\\vert");l(O,m,_,"|","\\textbar",!0);l(f,m,_,"∥","\\|");l(f,m,_,"∥","\\Vert");l(O,m,_,"∥","\\textbardbl");l(O,m,_,"~","\\textasciitilde");l(O,m,_,"\\","\\textbackslash");l(O,m,_,"^","\\textasciicircum");l(f,m,k,"↑","\\uparrow",!0);l(f,m,k,"⇑","\\Uparrow",!0);l(f,m,k,"↓","\\downarrow",!0);l(f,m,k,"⇓","\\Downarrow",!0);l(f,m,k,"↕","\\updownarrow",!0);l(f,m,k,"⇕","\\Updownarrow",!0);l(f,m,Ee,"∐","\\coprod");l(f,m,Ee,"⋁","\\bigvee");l(f,m,Ee,"⋀","\\bigwedge");l(f,m,Ee,"⨄","\\biguplus");l(f,m,Ee,"⋂","\\bigcap");l(f,m,Ee,"⋃","\\bigcup");l(f,m,Ee,"∫","\\int");l(f,m,Ee,"∫","\\intop");l(f,m,Ee,"∬","\\iint");l(f,m,Ee,"∭","\\iiint");l(f,m,Ee,"∏","\\prod");l(f,m,Ee,"∑","\\sum");l(f,m,Ee,"⨂","\\bigotimes");l(f,m,Ee,"⨁","\\bigoplus");l(f,m,Ee,"⨀","\\bigodot");l(f,m,Ee,"∮","\\oint");l(f,m,Ee,"∯","\\oiint");l(f,m,Ee,"∰","\\oiiint");l(f,m,Ee,"⨆","\\bigsqcup");l(f,m,Ee,"∫","\\smallint");l(O,m,St,"…","\\textellipsis");l(f,m,St,"…","\\mathellipsis");l(O,m,St,"…","\\ldots",!0);l(f,m,St,"…","\\ldots",!0);l(f,m,St,"⋯","\\@cdots",!0);l(f,m,St,"⋱","\\ddots",!0);l(f,m,_,"⋮","\\varvdots");l(f,m,ge,"ˊ","\\acute");l(f,m,ge,"ˋ","\\grave");l(f,m,ge,"¨","\\ddot");l(f,m,ge,"~","\\tilde");l(f,m,ge,"ˉ","\\bar");l(f,m,ge,"˘","\\breve");l(f,m,ge,"ˇ","\\check");l(f,m,ge,"^","\\hat");l(f,m,ge,"⃗","\\vec");l(f,m,ge,"˙","\\dot");l(f,m,ge,"˚","\\mathring");l(f,m,ee,"","\\@imath");l(f,m,ee,"","\\@jmath");l(f,m,_,"ı","ı");l(f,m,_,"ȷ","ȷ");l(O,m,_,"ı","\\i",!0);l(O,m,_,"ȷ","\\j",!0);l(O,m,_,"ß","\\ss",!0);l(O,m,_,"æ","\\ae",!0);l(O,m,_,"œ","\\oe",!0);l(O,m,_,"ø","\\o",!0);l(O,m,_,"Æ","\\AE",!0);l(O,m,_,"Œ","\\OE",!0);l(O,m,_,"Ø","\\O",!0);l(O,m,ge,"ˊ","\\'");l(O,m,ge,"ˋ","\\`");l(O,m,ge,"ˆ","\\^");l(O,m,ge,"˜","\\~");l(O,m,ge,"ˉ","\\=");l(O,m,ge,"˘","\\u");l(O,m,ge,"˙","\\.");l(O,m,ge,"¸","\\c");l(O,m,ge,"˚","\\r");l(O,m,ge,"ˇ","\\v");l(O,m,ge,"¨",'\\"');l(O,m,ge,"˝","\\H");l(O,m,ge,"◯","\\textcircled");var uo={"--":!0,"---":!0,"``":!0,"''":!0};l(O,m,_,"–","--",!0);l(O,m,_,"–","\\textendash");l(O,m,_,"—","---",!0);l(O,m,_,"—","\\textemdash");l(O,m,_,"‘","`",!0);l(O,m,_,"‘","\\textquoteleft");l(O,m,_,"’","'",!0);l(O,m,_,"’","\\textquoteright");l(O,m,_,"“","``",!0);l(O,m,_,"“","\\textquotedblleft");l(O,m,_,"”","''",!0);l(O,m,_,"”","\\textquotedblright");l(f,m,_,"°","\\degree",!0);l(O,m,_,"°","\\degree");l(O,m,_,"°","\\textdegree",!0);l(f,m,_,"£","\\pounds");l(f,m,_,"£","\\mathsterling",!0);l(O,m,_,"£","\\pounds");l(O,m,_,"£","\\textsterling",!0);l(f,w,_,"✠","\\maltese");l(O,w,_,"✠","\\maltese");var ga='0123456789/@."';for(var su=0;su0)return u0(a,c,n,r,i.concat(h));if(s){var d,g;if(s==="boldsymbol"){var v=t4(a,n,r,i,u);d=v.fontName,g=[v.fontClass]}else o?(d=io[s].fontName,g=[s]):(d=lr(s,r.fontWeight,r.fontShape),g=[s,r.fontWeight,r.fontShape]);if(Rr(a,d,n).metrics)return u0(a,d,n,r,i.concat(g));if(uo.hasOwnProperty(a)&&d.slice(0,10)==="Typewriter"){for(var x=[],C=0;C{if(U0(e.classes)!==U0(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(e.classes.length===1){var r=e.classes[0];if(r==="mbin"||r==="mord")return!1}for(var u in e.style)if(e.style.hasOwnProperty(u)&&e.style[u]!==t.style[u])return!1;for(var n in t.style)if(t.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;return!0},n4=e=>{for(var t=0;tr&&(r=i.height),i.depth>u&&(u=i.depth),i.maxFontSize>n&&(n=i.maxFontSize)}t.height=r,t.depth=u,t.maxFontSize=n},Pe=function(t,r,u,n){var a=new Yt(t,r,u,n);return tn(a),a},no=(e,t,r,u)=>new Yt(e,t,r,u),a4=function(t,r,u){var n=Pe([t],[],r);return n.height=Math.max(u||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),n.style.borderBottomWidth=G(n.height),n.maxFontSize=1,n},i4=function(t,r,u,n){var a=new en(t,r,u,n);return tn(a),a},ao=function(t){var r=new Gt(t);return tn(r),r},o4=function(t,r){return t instanceof Gt?Pe([],[t],r):t},s4=function(t){if(t.positionType==="individualShift"){for(var r=t.children,u=[r[0]],n=-r[0].shift-r[0].elem.depth,a=n,i=1;i{var r=Pe(["mspace"],[],t),u=ye(e,t);return r.style.marginRight=G(u),r},lr=function(t,r,u){var n="";switch(t){case"amsrm":n="AMS";break;case"textrm":n="Main";break;case"textsf":n="SansSerif";break;case"texttt":n="Typewriter";break;default:n=t}var a;return r==="textbf"&&u==="textit"?a="BoldItalic":r==="textbf"?a="Bold":r==="textit"?a="Italic":a="Regular",n+"-"+a},io={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},oo={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},f4=function(t,r){var[u,n,a]=oo[t],i=new V0(u),o=new A0([i],{width:G(n),height:G(a),style:"width:"+G(n),viewBox:"0 0 "+1e3*n+" "+1e3*a,preserveAspectRatio:"xMinYMin"}),s=no(["overlay"],[o],r);return s.height=a,s.style.height=G(a),s.style.width=G(n),s},z={fontMap:io,makeSymbol:u0,mathsym:e4,makeSpan:Pe,makeSvgSpan:no,makeLineSpan:a4,makeAnchor:i4,makeFragment:ao,wrapFragment:o4,makeVList:l4,makeOrd:r4,makeGlue:c4,staticSvg:f4,svgData:oo,tryCombineChars:n4},xe={number:3,unit:"mu"},K0={number:4,unit:"mu"},x0={number:5,unit:"mu"},d4={mord:{mop:xe,mbin:K0,mrel:x0,minner:xe},mop:{mord:xe,mop:xe,mrel:x0,minner:xe},mbin:{mord:K0,mop:K0,mopen:K0,minner:K0},mrel:{mord:x0,mop:x0,mopen:x0,minner:x0},mopen:{},mclose:{mop:xe,mbin:K0,mrel:x0,minner:xe},mpunct:{mord:xe,mop:xe,mrel:x0,mopen:xe,mclose:xe,mpunct:xe,minner:xe},minner:{mord:xe,mop:xe,mbin:K0,mrel:x0,mopen:xe,mpunct:xe,minner:xe}},h4={mord:{mop:xe},mop:{mord:xe,mop:xe},mbin:{},mrel:{},mopen:{},mclose:{mop:xe},mpunct:{},minner:{mop:xe}},so={},Ar={},Cr={};function Y(e){for(var{type:t,names:r,props:u,handler:n,htmlBuilder:a,mathmlBuilder:i}=e,o={type:t,numArgs:u.numArgs,argTypes:u.argTypes,allowedInArgument:!!u.allowedInArgument,allowedInText:!!u.allowedInText,allowedInMath:u.allowedInMath===void 0?!0:u.allowedInMath,numOptionalArgs:u.numOptionalArgs||0,infix:!!u.infix,primitive:!!u.primitive,handler:n},s=0;s{var S=C.classes[0],I=x.classes[0];S==="mbin"&&Q.contains(p4,I)?C.classes[0]="mord":I==="mbin"&&Q.contains(m4,S)&&(x.classes[0]="mord")},{node:d},g,v),Sa(a,(x,C)=>{var S=zu(C),I=zu(x),M=S&&I?x.hasClass("mtight")?h4[S][I]:d4[S][I]:null;if(M)return z.makeGlue(M,c)},{node:d},g,v),a},Sa=function e(t,r,u,n,a){n&&t.push(n);for(var i=0;ig=>{t.splice(d+1,0,g),i++})(i)}n&&t.pop()},lo=function(t){return t instanceof Gt||t instanceof en||t instanceof Yt&&t.hasClass("enclosing")?t:null},g4=function e(t,r){var u=lo(t);if(u){var n=u.children;if(n.length){if(r==="right")return e(n[n.length-1],"right");if(r==="left")return e(n[0],"left")}}return t},zu=function(t,r){return t?(r&&(t=g4(t,r)),v4[t.classes[0]]||null):null},Ht=function(t,r){var u=["nulldelimiter"].concat(t.baseSizingClasses());return C0(r.concat(u))},se=function(t,r,u){if(!t)return C0();if(Ar[t.type]){var n=Ar[t.type](t,r);if(u&&r.size!==u.size){n=C0(r.sizingClasses(u),[n],r);var a=r.sizeMultiplier/u.sizeMultiplier;n.height*=a,n.depth*=a}return n}else throw new H("Got group of unknown type: '"+t.type+"'")};function cr(e,t){var r=C0(["base"],e,t),u=C0(["strut"]);return u.style.height=G(r.height+r.depth),r.depth&&(u.style.verticalAlign=G(-r.depth)),r.children.unshift(u),r}function Iu(e,t){var r=null;e.length===1&&e[0].type==="tag"&&(r=e[0].tag,e=e[0].body);var u=De(e,t,"root"),n;u.length===2&&u[1].hasClass("tag")&&(n=u.pop());for(var a=[],i=[],o=0;o0&&(a.push(cr(i,t)),i=[]),a.push(u[o]));i.length>0&&a.push(cr(i,t));var c;r?(c=cr(De(r,t,!0)),c.classes=["tag"],a.push(c)):n&&a.push(n);var h=C0(["katex-html"],a);if(h.setAttribute("aria-hidden","true"),c){var d=c.children[0];d.style.height=G(h.height+h.depth),h.depth&&(d.style.verticalAlign=G(-h.depth))}return h}function co(e){return new Gt(e)}class Xe{constructor(t,r,u){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=r||[],this.classes=u||[]}setAttribute(t,r){this.attributes[t]=r}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&t.setAttribute(r,this.attributes[r]);this.classes.length>0&&(t.className=U0(this.classes));for(var u=0;u0&&(t+=' class ="'+Q.escape(U0(this.classes))+'"'),t+=">";for(var u=0;u",t}toText(){return this.children.map(t=>t.toText()).join("")}}class zt{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return Q.escape(this.toText())}toText(){return this.text}}class x4{constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character=" ":t>=.1666&&t<=.1667?this.character=" ":t>=.2222&&t<=.2223?this.character=" ":t>=.2777&&t<=.2778?this.character="  ":t>=-.05556&&t<=-.05555?this.character=" ⁣":t>=-.1667&&t<=-.1666?this.character=" ⁣":t>=-.2223&&t<=-.2222?this.character=" ⁣":t>=-.2778&&t<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",G(this.width)),t}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}}var q={MathNode:Xe,TextNode:zt,SpaceNode:x4,newDocumentFragment:co},t0=function(t,r,u){return be[r][t]&&be[r][t].replace&&t.charCodeAt(0)!==55349&&!(uo.hasOwnProperty(t)&&u&&(u.fontFamily&&u.fontFamily.slice(4,6)==="tt"||u.font&&u.font.slice(4,6)==="tt"))&&(t=be[r][t].replace),new q.TextNode(t)},rn=function(t){return t.length===1?t[0]:new q.MathNode("mrow",t)},un=function(t,r){if(r.fontFamily==="texttt")return"monospace";if(r.fontFamily==="textsf")return r.fontShape==="textit"&&r.fontWeight==="textbf"?"sans-serif-bold-italic":r.fontShape==="textit"?"sans-serif-italic":r.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(r.fontShape==="textit"&&r.fontWeight==="textbf")return"bold-italic";if(r.fontShape==="textit")return"italic";if(r.fontWeight==="textbf")return"bold";var u=r.font;if(!u||u==="mathnormal")return null;var n=t.mode;if(u==="mathit")return"italic";if(u==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(u==="mathbf")return"bold";if(u==="mathbb")return"double-struck";if(u==="mathfrak")return"fraktur";if(u==="mathscr"||u==="mathcal")return"script";if(u==="mathsf")return"sans-serif";if(u==="mathtt")return"monospace";var a=t.text;if(Q.contains(["\\imath","\\jmath"],a))return null;be[n][a]&&be[n][a].replace&&(a=be[n][a].replace);var i=z.fontMap[u].fontName;return Qu(a,i,n)?z.fontMap[u].variant:null},$e=function(t,r,u){if(t.length===1){var n=he(t[0],r);return u&&n instanceof Xe&&n.type==="mo"&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var a=[],i,o=0;o0&&(d.text=d.text.slice(0,1)+"̸"+d.text.slice(1),a.pop())}}}a.push(s),i=s}return a},j0=function(t,r,u){return rn($e(t,r,u))},he=function(t,r){if(!t)return new q.MathNode("mrow");if(Cr[t.type]){var u=Cr[t.type](t,r);return u}else throw new H("Got group of unknown type: '"+t.type+"'")};function Aa(e,t,r,u,n){var a=$e(e,r),i;a.length===1&&a[0]instanceof Xe&&Q.contains(["mrow","mtable"],a[0].type)?i=a[0]:i=new q.MathNode("mrow",a);var o=new q.MathNode("annotation",[new q.TextNode(t)]);o.setAttribute("encoding","application/x-tex");var s=new q.MathNode("semantics",[i,o]),c=new q.MathNode("math",[s]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),u&&c.setAttribute("display","block");var h=n?"katex":"katex-mathml";return z.makeSpan([h],[c])}var fo=function(t){return new y0({style:t.displayMode?te.DISPLAY:te.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},ho=function(t,r){if(r.displayMode){var u=["katex-display"];r.leqno&&u.push("leqno"),r.fleqn&&u.push("fleqn"),t=z.makeSpan(u,[t])}return t},y4=function(t,r,u){var n=fo(u),a;if(u.output==="mathml")return Aa(t,r,n,u.displayMode,!0);if(u.output==="html"){var i=Iu(t,n);a=z.makeSpan(["katex"],[i])}else{var o=Aa(t,r,n,u.displayMode,!1),s=Iu(t,n);a=z.makeSpan(["katex"],[o,s])}return ho(a,u)},w4=function(t,r,u){var n=fo(u),a=Iu(t,n),i=z.makeSpan(["katex"],[a]);return ho(i,u)},k4={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},S4=function(t){var r=new q.MathNode("mo",[new q.TextNode(k4[t.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},A4={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},C4=function(t){return t.type==="ordgroup"?t.body.length:1},_4=function(t,r){function u(){var o=4e5,s=t.label.slice(1);if(Q.contains(["widehat","widecheck","widetilde","utilde"],s)){var c=t,h=C4(c.base),d,g,v;if(h>5)s==="widehat"||s==="widecheck"?(d=420,o=2364,v=.42,g=s+"4"):(d=312,o=2340,v=.34,g="tilde4");else{var x=[1,1,2,2,3,3][h];s==="widehat"||s==="widecheck"?(o=[0,1062,2364,2364,2364][x],d=[0,239,300,360,420][x],v=[0,.24,.3,.3,.36,.42][x],g=s+x):(o=[0,600,1033,2339,2340][x],d=[0,260,286,306,312][x],v=[0,.26,.286,.3,.306,.34][x],g="tilde"+x)}var C=new V0(g),S=new A0([C],{width:"100%",height:G(v),viewBox:"0 0 "+o+" "+d,preserveAspectRatio:"none"});return{span:z.makeSvgSpan([],[S],r),minWidth:0,height:v}}else{var I=[],M=A4[s],[N,L,F]=M,R=F/1e3,$=N.length,Z,K;if($===1){var le=M[3];Z=["hide-tail"],K=[le]}else if($===2)Z=["halfarrow-left","halfarrow-right"],K=["xMinYMin","xMaxYMin"];else if($===3)Z=["brace-left","brace-center","brace-right"],K=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support + `+$+" children.");for(var ie=0;ie<$;ie++){var ae=new V0(N[ie]),ke=new A0([ae],{width:"400em",height:G(R),viewBox:"0 0 "+o+" "+F,preserveAspectRatio:K[ie]+" slice"}),ve=z.makeSvgSpan([Z[ie]],[ke],r);if($===1)return{span:ve,minWidth:L,height:R};ve.style.height=G(R),I.push(ve)}return{span:z.makeSpan(["stretchy"],I,r),minWidth:L,height:R}}}var{span:n,minWidth:a,height:i}=u();return n.height=i,n.style.height=G(i),a>0&&(n.style.minWidth=G(a)),n},E4=function(t,r,u,n,a){var i,o=t.height+t.depth+u+n;if(/fbox|color|angl/.test(r)){if(i=z.makeSpan(["stretchy",r],[],a),r==="fbox"){var s=a.color&&a.getColor();s&&(i.style.borderColor=s)}}else{var c=[];/^[bx]cancel$/.test(r)&&c.push(new Mu({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&c.push(new Mu({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var h=new A0(c,{width:"100%",height:G(o)});i=z.makeSvgSpan([],[h],a)}return i.height=o,i.style.height=G(o),i},_0={encloseSpan:E4,mathMLnode:S4,svgSpan:_4};function ue(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function nn(e){var t=Or(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function Or(e){return e&&(e.type==="atom"||Jf.hasOwnProperty(e.type))?e:null}var an=(e,t)=>{var r,u,n;e&&e.type==="supsub"?(u=ue(e.base,"accent"),r=u.base,e.base=r,n=Xf(se(e,t)),e.base=u):(u=ue(e,"accent"),r=u.base);var a=se(r,t.havingCrampedStyle()),i=u.isShifty&&Q.isCharacterBox(r),o=0;if(i){var s=Q.getBaseElem(r),c=se(s,t.havingCrampedStyle());o=va(c).skew}var h=u.label==="\\c",d=h?a.height+a.depth:Math.min(a.height,t.fontMetrics().xHeight),g;if(u.isStretchy)g=_0.svgSpan(u,t),g=z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:g,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+G(2*o)+")",marginLeft:G(2*o)}:void 0}]},t);else{var v,x;u.label==="\\vec"?(v=z.staticSvg("vec",t),x=z.svgData.vec[1]):(v=z.makeOrd({mode:u.mode,text:u.label},t,"textord"),v=va(v),v.italic=0,x=v.width,h&&(d+=v.depth)),g=z.makeSpan(["accent-body"],[v]);var C=u.label==="\\textcircled";C&&(g.classes.push("accent-full"),d=a.height);var S=o;C||(S-=x/2),g.style.left=G(S),u.label==="\\textcircled"&&(g.style.top=".2em"),g=z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-d},{type:"elem",elem:g}]},t)}var I=z.makeSpan(["mord","accent"],[g],t);return n?(n.children[0]=I,n.height=Math.max(I.height,n.height),n.classes[0]="mord",n):I},mo=(e,t)=>{var r=e.isStretchy?_0.mathMLnode(e.label):new q.MathNode("mo",[t0(e.label,e.mode)]),u=new q.MathNode("mover",[he(e.base,t),r]);return u.setAttribute("accent","true"),u},D4=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));Y({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var r=_r(t[0]),u=!D4.test(e.funcName),n=!u||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:u,isShifty:n,base:r}},htmlBuilder:an,mathmlBuilder:mo});Y({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var r=t[0],u=e.parser.mode;return u==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),u="text"),{type:"accent",mode:u,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:an,mathmlBuilder:mo});Y({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:u}=e,n=t[0];return{type:"accentUnder",mode:r.mode,label:u,base:n}},htmlBuilder:(e,t)=>{var r=se(e.base,t),u=_0.svgSpan(e,t),n=e.label==="\\utilde"?.12:0,a=z.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:u,wrapperClasses:["svg-align"]},{type:"kern",size:n},{type:"elem",elem:r}]},t);return z.makeSpan(["mord","accentunder"],[a],t)},mathmlBuilder:(e,t)=>{var r=_0.mathMLnode(e.label),u=new q.MathNode("munder",[he(e.base,t),r]);return u.setAttribute("accentunder","true"),u}});var fr=e=>{var t=new q.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};Y({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:u,funcName:n}=e;return{type:"xArrow",mode:u.mode,label:n,body:t[0],below:r[0]}},htmlBuilder(e,t){var r=t.style,u=t.havingStyle(r.sup()),n=z.wrapFragment(se(e.body,u,t),t),a=e.label.slice(0,2)==="\\x"?"x":"cd";n.classes.push(a+"-arrow-pad");var i;e.below&&(u=t.havingStyle(r.sub()),i=z.wrapFragment(se(e.below,u,t),t),i.classes.push(a+"-arrow-pad"));var o=_0.svgSpan(e,t),s=-t.fontMetrics().axisHeight+.5*o.height,c=-t.fontMetrics().axisHeight-.5*o.height-.111;(n.depth>.25||e.label==="\\xleftequilibrium")&&(c-=n.depth);var h;if(i){var d=-t.fontMetrics().axisHeight+i.height+.5*o.height+.111;h=z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:c},{type:"elem",elem:o,shift:s},{type:"elem",elem:i,shift:d}]},t)}else h=z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:c},{type:"elem",elem:o,shift:s}]},t);return h.children[0].children[0].children[1].classes.push("svg-align"),z.makeSpan(["mrel","x-arrow"],[h],t)},mathmlBuilder(e,t){var r=_0.mathMLnode(e.label);r.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var u;if(e.body){var n=fr(he(e.body,t));if(e.below){var a=fr(he(e.below,t));u=new q.MathNode("munderover",[r,a,n])}else u=new q.MathNode("mover",[r,n])}else if(e.below){var i=fr(he(e.below,t));u=new q.MathNode("munder",[r,i])}else u=fr(),u=new q.MathNode("mover",[r,u]);return u}});var T4=z.makeSpan;function po(e,t){var r=De(e.body,t,!0);return T4([e.mclass],r,t)}function bo(e,t){var r,u=$e(e.body,t);return e.mclass==="minner"?r=new q.MathNode("mpadded",u):e.mclass==="mord"?e.isCharacterBox?(r=u[0],r.type="mi"):r=new q.MathNode("mi",u):(e.isCharacterBox?(r=u[0],r.type="mo"):r=new q.MathNode("mo",u),e.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):e.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):e.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}Y({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:u}=e,n=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+u.slice(5),body:Ae(n),isCharacterBox:Q.isCharacterBox(n)}},htmlBuilder:po,mathmlBuilder:bo});var Lr=e=>{var t=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};Y({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:Lr(t[0]),body:Ae(t[1]),isCharacterBox:Q.isCharacterBox(t[1])}}});Y({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:r,funcName:u}=e,n=t[1],a=t[0],i;u!=="\\stackrel"?i=Lr(n):i="mrel";var o={type:"op",mode:n.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:u!=="\\stackrel",body:Ae(n)},s={type:"supsub",mode:a.mode,base:o,sup:u==="\\underset"?null:a,sub:u==="\\underset"?a:null};return{type:"mclass",mode:r.mode,mclass:i,body:[s],isCharacterBox:Q.isCharacterBox(s)}},htmlBuilder:po,mathmlBuilder:bo});Y({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:Lr(t[0]),body:Ae(t[0])}},htmlBuilder(e,t){var r=De(e.body,t,!0),u=z.makeSpan([e.mclass],r,t);return u.style.textShadow="0.02em 0.01em 0.04px",u},mathmlBuilder(e,t){var r=$e(e.body,t),u=new q.MathNode("mstyle",r);return u.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),u}});var M4={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Ca=()=>({type:"styling",body:[],mode:"math",style:"display"}),_a=e=>e.type==="textord"&&e.text==="@",F4=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function z4(e,t,r){var u=M4[e];switch(u){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(u,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var n=r.callFunction("\\\\cdleft",[t[0]],[]),a={type:"atom",text:u,mode:"math",family:"rel"},i=r.callFunction("\\Big",[a],[]),o=r.callFunction("\\\\cdright",[t[1]],[]),s={type:"ordgroup",mode:"math",body:[n,i,o]};return r.callFunction("\\\\cdparent",[s],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var c={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[c],[])}default:return{type:"textord",text:" ",mode:"math"}}}function I4(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if(r==="&"||r==="\\\\")e.consume();else if(r==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new H("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var u=[],n=[u],a=0;a-1))if("<>AV".indexOf(c)>-1)for(var d=0;d<2;d++){for(var g=!0,v=s+1;vAV=|." after @',i[s]);var x=z4(c,h,e),C={type:"styling",body:[x],mode:"math",style:"display"};u.push(C),o=Ca()}a%2===0?u.push(o):u.shift(),u=[],n.push(u)}e.gullet.endGroup(),e.gullet.endGroup();var S=new Array(n[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:n,arraystretch:1,addJot:!0,rowGaps:[null],cols:S,colSeparationType:"CD",hLinesBeforeRow:new Array(n.length+1).fill([])}}Y({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:u}=e;return{type:"cdlabel",mode:r.mode,side:u.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),u=z.wrapFragment(se(e.label,r,t),t);return u.classes.push("cd-label-"+e.side),u.style.bottom=G(.8-u.depth),u.height=0,u.depth=0,u},mathmlBuilder(e,t){var r=new q.MathNode("mrow",[he(e.label,t)]);return r=new q.MathNode("mpadded",[r]),r.setAttribute("width","0"),e.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new q.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});Y({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=z.wrapFragment(se(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(e,t){return new q.MathNode("mrow",[he(e.fragment,t)])}});Y({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,u=ue(t[0],"ordgroup"),n=u.body,a="",i=0;i=1114111)throw new H("\\@char with invalid code point "+a);return s<=65535?c=String.fromCharCode(s):(s-=65536,c=String.fromCharCode((s>>10)+55296,(s&1023)+56320)),{type:"textord",mode:r.mode,text:c}}});var vo=(e,t)=>{var r=De(e.body,t.withColor(e.color),!1);return z.makeFragment(r)},go=(e,t)=>{var r=$e(e.body,t.withColor(e.color)),u=new q.MathNode("mstyle",r);return u.setAttribute("mathcolor",e.color),u};Y({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,u=ue(t[0],"color-token").color,n=t[1];return{type:"color",mode:r.mode,color:u,body:Ae(n)}},htmlBuilder:vo,mathmlBuilder:go});Y({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:u}=e,n=ue(t[0],"color-token").color;r.gullet.macros.set("\\current@color",n);var a=r.parseExpression(!0,u);return{type:"color",mode:r.mode,color:n,body:a}},htmlBuilder:vo,mathmlBuilder:go});Y({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:u}=e,n=u.gullet.future().text==="["?u.parseSizeGroup(!0):null,a=!u.settings.displayMode||!u.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:u.mode,newLine:a,size:n&&ue(n,"size").value}},htmlBuilder(e,t){var r=z.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=G(ye(e.size,t)))),r},mathmlBuilder(e,t){var r=new q.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",G(ye(e.size,t)))),r}});var Bu={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},xo=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new H("Expected a control sequence",e);return t},B4=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},yo=(e,t,r,u)=>{var n=e.gullet.macros.get(r.text);n==null&&(r.noexpand=!0,n={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,n,u)};Y({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var u=t.fetch();if(Bu[u.text])return(r==="\\global"||r==="\\\\globallong")&&(u.text=Bu[u.text]),ue(t.parseFunction(),"internal");throw new H("Invalid token after macro prefix",u)}});Y({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,u=t.gullet.popToken(),n=u.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new H("Expected a control sequence",u);for(var a=0,i,o=[[]];t.gullet.future().text!=="{";)if(u=t.gullet.popToken(),u.text==="#"){if(t.gullet.future().text==="{"){i=t.gullet.future(),o[a].push("{");break}if(u=t.gullet.popToken(),!/^[1-9]$/.test(u.text))throw new H('Invalid argument number "'+u.text+'"');if(parseInt(u.text)!==a+1)throw new H('Argument number "'+u.text+'" out of order');a++,o.push([])}else{if(u.text==="EOF")throw new H("Expected a macro definition");o[a].push(u.text)}var{tokens:s}=t.gullet.consumeArg();return i&&s.unshift(i),(r==="\\edef"||r==="\\xdef")&&(s=t.gullet.expandTokens(s),s.reverse()),t.gullet.macros.set(n,{tokens:s,numArgs:a,delimiters:o},r===Bu[r]),{type:"internal",mode:t.mode}}});Y({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,u=xo(t.gullet.popToken());t.gullet.consumeSpaces();var n=B4(t);return yo(t,u,n,r==="\\\\globallet"),{type:"internal",mode:t.mode}}});Y({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,u=xo(t.gullet.popToken()),n=t.gullet.popToken(),a=t.gullet.popToken();return yo(t,u,a,r==="\\\\globalfuture"),t.gullet.pushToken(a),t.gullet.pushToken(n),{type:"internal",mode:t.mode}}});var Ft=function(t,r,u){var n=be.math[t]&&be.math[t].replace,a=Qu(n||t,r,u);if(!a)throw new Error("Unsupported symbol "+t+" and font size "+r+".");return a},on=function(t,r,u,n){var a=u.havingBaseStyle(r),i=z.makeSpan(n.concat(a.sizingClasses(u)),[t],u),o=a.sizeMultiplier/u.sizeMultiplier;return i.height*=o,i.depth*=o,i.maxFontSize=a.sizeMultiplier,i},wo=function(t,r,u){var n=r.havingBaseStyle(u),a=(1-r.sizeMultiplier/n.sizeMultiplier)*r.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=G(a),t.height-=a,t.depth+=a},N4=function(t,r,u,n,a,i){var o=z.makeSymbol(t,"Main-Regular",a,n),s=on(o,r,n,i);return u&&wo(s,n,r),s},R4=function(t,r,u,n){return z.makeSymbol(t,"Size"+r+"-Regular",u,n)},ko=function(t,r,u,n,a,i){var o=R4(t,r,a,n),s=on(z.makeSpan(["delimsizing","size"+r],[o],n),te.TEXT,n,i);return u&&wo(s,n,te.TEXT),s},du=function(t,r,u){var n;r==="Size1-Regular"?n="delim-size1":n="delim-size4";var a=z.makeSpan(["delimsizinginner",n],[z.makeSpan([],[z.makeSymbol(t,r,u)])]);return{type:"elem",elem:a}},hu=function(t,r,u){var n=l0["Size4-Regular"][t.charCodeAt(0)]?l0["Size4-Regular"][t.charCodeAt(0)][4]:l0["Size1-Regular"][t.charCodeAt(0)][4],a=new V0("inner",$f(t,Math.round(1e3*r))),i=new A0([a],{width:G(n),height:G(r),style:"width:"+G(n),viewBox:"0 0 "+1e3*n+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),o=z.makeSvgSpan([],[i],u);return o.height=r,o.style.height=G(r),o.style.width=G(n),{type:"elem",elem:o}},Nu=.008,dr={type:"kern",size:-1*Nu},O4=["|","\\lvert","\\rvert","\\vert"],L4=["\\|","\\lVert","\\rVert","\\Vert"],So=function(t,r,u,n,a,i){var o,s,c,h,d="",g=0;o=c=h=t,s=null;var v="Size1-Regular";t==="\\uparrow"?c=h="⏐":t==="\\Uparrow"?c=h="‖":t==="\\downarrow"?o=c="⏐":t==="\\Downarrow"?o=c="‖":t==="\\updownarrow"?(o="\\uparrow",c="⏐",h="\\downarrow"):t==="\\Updownarrow"?(o="\\Uparrow",c="‖",h="\\Downarrow"):Q.contains(O4,t)?(c="∣",d="vert",g=333):Q.contains(L4,t)?(c="∥",d="doublevert",g=556):t==="["||t==="\\lbrack"?(o="⎡",c="⎢",h="⎣",v="Size4-Regular",d="lbrack",g=667):t==="]"||t==="\\rbrack"?(o="⎤",c="⎥",h="⎦",v="Size4-Regular",d="rbrack",g=667):t==="\\lfloor"||t==="⌊"?(c=o="⎢",h="⎣",v="Size4-Regular",d="lfloor",g=667):t==="\\lceil"||t==="⌈"?(o="⎡",c=h="⎢",v="Size4-Regular",d="lceil",g=667):t==="\\rfloor"||t==="⌋"?(c=o="⎥",h="⎦",v="Size4-Regular",d="rfloor",g=667):t==="\\rceil"||t==="⌉"?(o="⎤",c=h="⎥",v="Size4-Regular",d="rceil",g=667):t==="("||t==="\\lparen"?(o="⎛",c="⎜",h="⎝",v="Size4-Regular",d="lparen",g=875):t===")"||t==="\\rparen"?(o="⎞",c="⎟",h="⎠",v="Size4-Regular",d="rparen",g=875):t==="\\{"||t==="\\lbrace"?(o="⎧",s="⎨",h="⎩",c="⎪",v="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(o="⎫",s="⎬",h="⎭",c="⎪",v="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(o="⎧",h="⎩",c="⎪",v="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(o="⎫",h="⎭",c="⎪",v="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(o="⎧",h="⎭",c="⎪",v="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(o="⎫",h="⎩",c="⎪",v="Size4-Regular");var x=Ft(o,v,a),C=x.height+x.depth,S=Ft(c,v,a),I=S.height+S.depth,M=Ft(h,v,a),N=M.height+M.depth,L=0,F=1;if(s!==null){var R=Ft(s,v,a);L=R.height+R.depth,F=2}var $=C+N+L,Z=Math.max(0,Math.ceil((r-$)/(F*I))),K=$+Z*F*I,le=n.fontMetrics().axisHeight;u&&(le*=n.sizeMultiplier);var ie=K/2-le,ae=[];if(d.length>0){var ke=K-C-N,ve=Math.round(K*1e3),me=Uf(d,Math.round(ke*1e3)),Le=new V0(d,me),Ue=(g/1e3).toFixed(3)+"em",b0=(ve/1e3).toFixed(3)+"em",Ct=new A0([Le],{width:Ue,height:b0,viewBox:"0 0 "+g+" "+ve}),a0=z.makeSvgSpan([],[Ct],n);a0.height=ve/1e3,a0.style.width=Ue,a0.style.height=b0,ae.push({type:"elem",elem:a0})}else{if(ae.push(du(h,v,a)),ae.push(dr),s===null){var Te=K-C-N+2*Nu;ae.push(hu(c,Te,n))}else{var Ie=(K-C-N-L)/2+2*Nu;ae.push(hu(c,Ie,n)),ae.push(dr),ae.push(du(s,v,a)),ae.push(dr),ae.push(hu(c,Ie,n))}ae.push(dr),ae.push(du(o,v,a))}var Z0=n.havingBaseStyle(te.TEXT),_t=z.makeVList({positionType:"bottom",positionData:ie,children:ae},Z0);return on(z.makeSpan(["delimsizing","mult"],[_t],Z0),te.TEXT,n,i)},mu=80,pu=.08,bu=function(t,r,u,n,a){var i=Hf(t,n,u),o=new V0(t,i),s=new A0([o],{width:"400em",height:G(r),viewBox:"0 0 400000 "+u,preserveAspectRatio:"xMinYMin slice"});return z.makeSvgSpan(["hide-tail"],[s],a)},P4=function(t,r){var u=r.havingBaseSizing(),n=Eo("\\surd",t*u.sizeMultiplier,_o,u),a=u.sizeMultiplier,i=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),o,s=0,c=0,h=0,d;return n.type==="small"?(h=1e3+1e3*i+mu,t<1?a=1:t<1.4&&(a=.7),s=(1+i+pu)/a,c=(1+i)/a,o=bu("sqrtMain",s,h,i,r),o.style.minWidth="0.853em",d=.833/a):n.type==="large"?(h=(1e3+mu)*It[n.size],c=(It[n.size]+i)/a,s=(It[n.size]+i+pu)/a,o=bu("sqrtSize"+n.size,s,h,i,r),o.style.minWidth="1.02em",d=1/a):(s=t+i+pu,c=t+i,h=Math.floor(1e3*t+i)+mu,o=bu("sqrtTall",s,h,i,r),o.style.minWidth="0.742em",d=1.056),o.height=c,o.style.height=G(s),{span:o,advanceWidth:d,ruleWidth:(r.fontMetrics().sqrtRuleThickness+i)*a}},Ao=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],q4=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],Co=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],It=[0,1.2,1.8,2.4,3],H4=function(t,r,u,n,a){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),Q.contains(Ao,t)||Q.contains(Co,t))return ko(t,r,!1,u,n,a);if(Q.contains(q4,t))return So(t,It[r],!1,u,n,a);throw new H("Illegal delimiter: '"+t+"'")},$4=[{type:"small",style:te.SCRIPTSCRIPT},{type:"small",style:te.SCRIPT},{type:"small",style:te.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],U4=[{type:"small",style:te.SCRIPTSCRIPT},{type:"small",style:te.SCRIPT},{type:"small",style:te.TEXT},{type:"stack"}],_o=[{type:"small",style:te.SCRIPTSCRIPT},{type:"small",style:te.SCRIPT},{type:"small",style:te.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],V4=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},Eo=function(t,r,u,n){for(var a=Math.min(2,3-n.style.size),i=a;ir)return u[i]}return u[u.length-1]},Do=function(t,r,u,n,a,i){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var o;Q.contains(Co,t)?o=$4:Q.contains(Ao,t)?o=_o:o=U4;var s=Eo(t,r,o,n);return s.type==="small"?N4(t,s.style,u,n,a,i):s.type==="large"?ko(t,s.size,u,n,a,i):So(t,r,u,n,a,i)},j4=function(t,r,u,n,a,i){var o=n.fontMetrics().axisHeight*n.sizeMultiplier,s=901,c=5/n.fontMetrics().ptPerEm,h=Math.max(r-o,u+o),d=Math.max(h/500*s,2*h-c);return Do(t,d,!0,n,a,i)},S0={sqrtImage:P4,sizedDelim:H4,sizeToMaxHeight:It,customSizedDelim:Do,leftRightDelim:j4},Ea={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},G4=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Pr(e,t){var r=Or(e);if(r&&Q.contains(G4,r.text))return r;throw r?new H("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e):new H("Invalid delimiter type '"+e.type+"'",e)}Y({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var r=Pr(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:Ea[e.funcName].size,mclass:Ea[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>e.delim==="."?z.makeSpan([e.mclass]):S0.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(t0(e.delim,e.mode));var r=new q.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var u=G(S0.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",u),r.setAttribute("maxsize",u),r}});function Da(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Y({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new H("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Pr(t[0],e).text,color:r}}});Y({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=Pr(t[0],e),u=e.parser;++u.leftrightDepth;var n=u.parseExpression(!1);--u.leftrightDepth,u.expect("\\right",!1);var a=ue(u.parseFunction(),"leftright-right");return{type:"leftright",mode:u.mode,body:n,left:r.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,t)=>{Da(e);for(var r=De(e.body,t,!0,["mopen","mclose"]),u=0,n=0,a=!1,i=0;i{Da(e);var r=$e(e.body,t);if(e.left!=="."){var u=new q.MathNode("mo",[t0(e.left,e.mode)]);u.setAttribute("fence","true"),r.unshift(u)}if(e.right!=="."){var n=new q.MathNode("mo",[t0(e.right,e.mode)]);n.setAttribute("fence","true"),e.rightColor&&n.setAttribute("mathcolor",e.rightColor),r.push(n)}return rn(r)}});Y({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=Pr(t[0],e);if(!e.parser.leftrightDepth)throw new H("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if(e.delim===".")r=Ht(t,[]);else{r=S0.sizedDelim(e.delim,1,t,e.mode,[]);var u={delim:e.delim,options:t};r.isMiddle=u}return r},mathmlBuilder:(e,t)=>{var r=e.delim==="\\vert"||e.delim==="|"?t0("|","text"):t0(e.delim,e.mode),u=new q.MathNode("mo",[r]);return u.setAttribute("fence","true"),u.setAttribute("lspace","0.05em"),u.setAttribute("rspace","0.05em"),u}});var sn=(e,t)=>{var r=z.wrapFragment(se(e.body,t),t),u=e.label.slice(1),n=t.sizeMultiplier,a,i=0,o=Q.isCharacterBox(e.body);if(u==="sout")a=z.makeSpan(["stretchy","sout"]),a.height=t.fontMetrics().defaultRuleThickness/n,i=-.5*t.fontMetrics().xHeight;else if(u==="phase"){var s=ye({number:.6,unit:"pt"},t),c=ye({number:.35,unit:"ex"},t),h=t.havingBaseSizing();n=n/h.sizeMultiplier;var d=r.height+r.depth+s+c;r.style.paddingLeft=G(d/2+s);var g=Math.floor(1e3*d*n),v=Pf(g),x=new A0([new V0("phase",v)],{width:"400em",height:G(g/1e3),viewBox:"0 0 400000 "+g,preserveAspectRatio:"xMinYMin slice"});a=z.makeSvgSpan(["hide-tail"],[x],t),a.style.height=G(d),i=r.depth+s+c}else{/cancel/.test(u)?o||r.classes.push("cancel-pad"):u==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var C=0,S=0,I=0;/box/.test(u)?(I=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),C=t.fontMetrics().fboxsep+(u==="colorbox"?0:I),S=C):u==="angl"?(I=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),C=4*I,S=Math.max(0,.25-r.depth)):(C=o?.2:0,S=C),a=_0.encloseSpan(r,u,C,S,t),/fbox|boxed|fcolorbox/.test(u)?(a.style.borderStyle="solid",a.style.borderWidth=G(I)):u==="angl"&&I!==.049&&(a.style.borderTopWidth=G(I),a.style.borderRightWidth=G(I)),i=r.depth+S,e.backgroundColor&&(a.style.backgroundColor=e.backgroundColor,e.borderColor&&(a.style.borderColor=e.borderColor))}var M;if(e.backgroundColor)M=z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:i},{type:"elem",elem:r,shift:0}]},t);else{var N=/cancel|phase/.test(u)?["svg-align"]:[];M=z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:a,shift:i,wrapperClasses:N}]},t)}return/cancel/.test(u)&&(M.height=r.height,M.depth=r.depth),/cancel/.test(u)&&!o?z.makeSpan(["mord","cancel-lap"],[M],t):z.makeSpan(["mord"],[M],t)},ln=(e,t)=>{var r=0,u=new q.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[he(e.body,t)]);switch(e.label){case"\\cancel":u.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":u.setAttribute("notation","downdiagonalstrike");break;case"\\phase":u.setAttribute("notation","phasorangle");break;case"\\sout":u.setAttribute("notation","horizontalstrike");break;case"\\fbox":u.setAttribute("notation","box");break;case"\\angl":u.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,u.setAttribute("width","+"+2*r+"pt"),u.setAttribute("height","+"+2*r+"pt"),u.setAttribute("lspace",r+"pt"),u.setAttribute("voffset",r+"pt"),e.label==="\\fcolorbox"){var n=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);u.setAttribute("style","border: "+n+"em solid "+String(e.borderColor))}break;case"\\xcancel":u.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&u.setAttribute("mathbackground",e.backgroundColor),u};Y({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:u,funcName:n}=e,a=ue(t[0],"color-token").color,i=t[1];return{type:"enclose",mode:u.mode,label:n,backgroundColor:a,body:i}},htmlBuilder:sn,mathmlBuilder:ln});Y({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:u,funcName:n}=e,a=ue(t[0],"color-token").color,i=ue(t[1],"color-token").color,o=t[2];return{type:"enclose",mode:u.mode,label:n,backgroundColor:i,borderColor:a,body:o}},htmlBuilder:sn,mathmlBuilder:ln});Y({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}});Y({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:u}=e,n=t[0];return{type:"enclose",mode:r.mode,label:u,body:n}},htmlBuilder:sn,mathmlBuilder:ln});Y({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var To={};function h0(e){for(var{type:t,names:r,props:u,handler:n,htmlBuilder:a,mathmlBuilder:i}=e,o={type:t,numArgs:u.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:n},s=0;s{var t=e.parser.settings;if(!t.displayMode)throw new H("{"+e.envName+"} can be used only in display mode.")};function cn(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function W0(e,t,r){var{hskipBeforeAndAfter:u,addJot:n,cols:a,arraystretch:i,colSeparationType:o,autoTag:s,singleRow:c,emptySingleRow:h,maxNumCols:d,leqno:g}=t;if(e.gullet.beginGroup(),c||e.gullet.macros.set("\\cr","\\\\\\relax"),!i){var v=e.gullet.expandMacroAsText("\\arraystretch");if(v==null)i=1;else if(i=parseFloat(v),!i||i<0)throw new H("Invalid \\arraystretch: "+v)}e.gullet.beginGroup();var x=[],C=[x],S=[],I=[],M=s!=null?[]:void 0;function N(){s&&e.gullet.macros.set("\\@eqnsw","1",!0)}function L(){M&&(e.gullet.macros.get("\\df@tag")?(M.push(e.subparse([new Je("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):M.push(!!s&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(N(),I.push(Ta(e));;){var F=e.parseExpression(!1,c?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),F={type:"ordgroup",mode:e.mode,body:F},r&&(F={type:"styling",mode:e.mode,style:r,body:[F]}),x.push(F);var R=e.fetch().text;if(R==="&"){if(d&&x.length===d){if(c||o)throw new H("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(R==="\\end"){L(),x.length===1&&F.type==="styling"&&F.body[0].body.length===0&&(C.length>1||!h)&&C.pop(),I.length0&&(N+=.25),c.push({pos:N,isDashed:v0[F0]})}for(L(i[0]),u=0;u0&&(ie+=M,$v0))for(u=0;u=o)){var T0=void 0;(n>0||t.hskipBeforeAndAfter)&&(T0=Q.deflt(Ie.pregap,g),T0!==0&&(me=z.makeSpan(["arraycolsep"],[]),me.style.width=G(T0),ve.push(me)));var M0=[];for(u=0;u0){for(var Vr=z.makeLineSpan("hline",r,h),jr=z.makeLineSpan("hdashline",r,h),Et=[{type:"elem",elem:s,shift:0}];c.length>0;){var r0=c.pop(),Xt=r0.pos-ae;r0.isDashed?Et.push({type:"elem",elem:jr,shift:Xt}):Et.push({type:"elem",elem:Vr,shift:Xt})}s=z.makeVList({positionType:"individualShift",children:Et},r)}if(Ue.length===0)return z.makeSpan(["mord"],[s],r);var nt=z.makeVList({positionType:"individualShift",children:Ue},r);return nt=z.makeSpan(["tag"],[nt],r),z.makeFragment([s,nt])},Y4={c:"center ",l:"left ",r:"right "},p0=function(t,r){for(var u=[],n=new q.MathNode("mtd",[],["mtr-glue"]),a=new q.MathNode("mtd",[],["mml-eqn-num"]),i=0;i0){var x=t.cols,C="",S=!1,I=0,M=x.length;x[0].type==="separator"&&(g+="top ",I=1),x[x.length-1].type==="separator"&&(g+="bottom ",M-=1);for(var N=I;N0?"left ":"",g+=Z[Z.length-1].length>0?"right ":"";for(var K=1;K-1?"alignat":"align",a=t.envName==="split",i=W0(t.parser,{cols:u,addJot:!0,autoTag:a?void 0:cn(t.envName),emptySingleRow:!0,colSeparationType:n,maxNumCols:a?2:void 0,leqno:t.parser.settings.leqno},"display"),o,s=0,c={type:"ordgroup",mode:t.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var h="",d=0;d0&&v&&(S=1),u[x]={type:"align",align:C,pregap:S,postgap:0}}return i.colSeparationType=v?"align":"alignat",i};h0({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=Or(t[0]),u=r?[t[0]]:ue(t[0],"ordgroup").body,n=u.map(function(i){var o=nn(i),s=o.text;if("lcr".indexOf(s)!==-1)return{type:"align",align:s};if(s==="|")return{type:"separator",separator:"|"};if(s===":")return{type:"separator",separator:":"};throw new H("Unknown column alignment: "+s,i)}),a={cols:n,hskipBeforeAndAfter:!0,maxNumCols:n.length};return W0(e.parser,a,fn(e.envName))},htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",u={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(e.envName.charAt(e.envName.length-1)==="*"){var n=e.parser;if(n.consumeSpaces(),n.fetch().text==="["){if(n.consume(),n.consumeSpaces(),r=n.fetch().text,"lcr".indexOf(r)===-1)throw new H("Expected l or c or r",n.nextToken);n.consume(),n.consumeSpaces(),n.expect("]"),n.consume(),u.cols=[{type:"align",align:r}]}}var a=W0(e.parser,u,fn(e.envName)),i=Math.max(0,...a.body.map(o=>o.length));return a.cols=new Array(i).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[a],left:t[0],right:t[1],rightColor:void 0}:a},htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},r=W0(e.parser,t,"script");return r.colSeparationType="small",r},htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=Or(t[0]),u=r?[t[0]]:ue(t[0],"ordgroup").body,n=u.map(function(i){var o=nn(i),s=o.text;if("lc".indexOf(s)!==-1)return{type:"align",align:s};throw new H("Unknown column alignment: "+s,i)});if(n.length>1)throw new H("{subarray} can contain only one column");var a={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5};if(a=W0(e.parser,a,"script"),a.body.length>0&&a.body[0].length>1)throw new H("{subarray} can contain only one column");return a},htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=W0(e.parser,t,fn(e.envName));return{type:"leftright",mode:e.mode,body:[r],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Fo,htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){Q.contains(["gather","gather*"],e.envName)&&qr(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:cn(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return W0(e.parser,t,"display")},htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Fo,htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){qr(e);var t={autoTag:cn(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return W0(e.parser,t,"display")},htmlBuilder:m0,mathmlBuilder:p0});h0({type:"array",names:["CD"],props:{numArgs:0},handler(e){return qr(e),I4(e.parser)},htmlBuilder:m0,mathmlBuilder:p0});p("\\nonumber","\\gdef\\@eqnsw{0}");p("\\notag","\\nonumber");Y({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new H(e.funcName+" valid only within array environment")}});var Ma=To;Y({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:u}=e,n=t[0];if(n.type!=="ordgroup")throw new H("Invalid environment name",n);for(var a="",i=0;i{var r=e.font,u=t.withFont(r);return se(e.body,u)},Io=(e,t)=>{var r=e.font,u=t.withFont(r);return he(e.body,u)},Fa={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Y({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:u}=e,n=_r(t[0]),a=u;return a in Fa&&(a=Fa[a]),{type:"font",mode:r.mode,font:a.slice(1),body:n}},htmlBuilder:zo,mathmlBuilder:Io});Y({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,u=t[0],n=Q.isCharacterBox(u);return{type:"mclass",mode:r.mode,mclass:Lr(u),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:u}],isCharacterBox:n}}});Y({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:u,breakOnTokenText:n}=e,{mode:a}=r,i=r.parseExpression(!0,n),o="math"+u.slice(1);return{type:"font",mode:a,font:o,body:{type:"ordgroup",mode:r.mode,body:i}}},htmlBuilder:zo,mathmlBuilder:Io});var Bo=(e,t)=>{var r=t;return e==="display"?r=r.id>=te.SCRIPT.id?r.text():te.DISPLAY:e==="text"&&r.size===te.DISPLAY.size?r=te.TEXT:e==="script"?r=te.SCRIPT:e==="scriptscript"&&(r=te.SCRIPTSCRIPT),r},dn=(e,t)=>{var r=Bo(e.size,t.style),u=r.fracNum(),n=r.fracDen(),a;a=t.havingStyle(u);var i=se(e.numer,a,t);if(e.continued){var o=8.5/t.fontMetrics().ptPerEm,s=3.5/t.fontMetrics().ptPerEm;i.height=i.height0?x=3*g:x=7*g,C=t.fontMetrics().denom1):(d>0?(v=t.fontMetrics().num2,x=g):(v=t.fontMetrics().num3,x=3*g),C=t.fontMetrics().denom2);var S;if(h){var M=t.fontMetrics().axisHeight;v-i.depth-(M+.5*d){var r=new q.MathNode("mfrac",[he(e.numer,t),he(e.denom,t)]);if(!e.hasBarLine)r.setAttribute("linethickness","0px");else if(e.barSize){var u=ye(e.barSize,t);r.setAttribute("linethickness",G(u))}var n=Bo(e.size,t.style);if(n.size!==t.style.size){r=new q.MathNode("mstyle",[r]);var a=n.size===te.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",a),r.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var i=[];if(e.leftDelim!=null){var o=new q.MathNode("mo",[new q.TextNode(e.leftDelim.replace("\\",""))]);o.setAttribute("fence","true"),i.push(o)}if(i.push(r),e.rightDelim!=null){var s=new q.MathNode("mo",[new q.TextNode(e.rightDelim.replace("\\",""))]);s.setAttribute("fence","true"),i.push(s)}return rn(i)}return r};Y({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:u}=e,n=t[0],a=t[1],i,o=null,s=null,c="auto";switch(u){case"\\dfrac":case"\\frac":case"\\tfrac":i=!0;break;case"\\\\atopfrac":i=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":i=!1,o="(",s=")";break;case"\\\\bracefrac":i=!1,o="\\{",s="\\}";break;case"\\\\brackfrac":i=!1,o="[",s="]";break;default:throw new Error("Unrecognized genfrac command")}switch(u){case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:n,denom:a,hasBarLine:i,leftDelim:o,rightDelim:s,size:c,barSize:null}},htmlBuilder:dn,mathmlBuilder:hn});Y({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:r,funcName:u}=e,n=t[0],a=t[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:n,denom:a,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});Y({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:r,token:u}=e,n;switch(r){case"\\over":n="\\frac";break;case"\\choose":n="\\binom";break;case"\\atop":n="\\\\atopfrac";break;case"\\brace":n="\\\\bracefrac";break;case"\\brack":n="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:n,token:u}}});var za=["display","text","script","scriptscript"],Ia=function(t){var r=null;return t.length>0&&(r=t,r=r==="."?null:r),r};Y({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:r}=e,u=t[4],n=t[5],a=_r(t[0]),i=a.type==="atom"&&a.family==="open"?Ia(a.text):null,o=_r(t[1]),s=o.type==="atom"&&o.family==="close"?Ia(o.text):null,c=ue(t[2],"size"),h,d=null;c.isBlank?h=!0:(d=c.value,h=d.number>0);var g="auto",v=t[3];if(v.type==="ordgroup"){if(v.body.length>0){var x=ue(v.body[0],"textord");g=za[Number(x.text)]}}else v=ue(v,"textord"),g=za[Number(v.text)];return{type:"genfrac",mode:r.mode,numer:u,denom:n,continued:!1,hasBarLine:h,barSize:d,leftDelim:i,rightDelim:s,size:g}},htmlBuilder:dn,mathmlBuilder:hn});Y({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:u,token:n}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:ue(t[0],"size").value,token:n}}});Y({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:u}=e,n=t[0],a=Af(ue(t[1],"infix").size),i=t[2],o=a.number>0;return{type:"genfrac",mode:r.mode,numer:n,denom:i,continued:!1,hasBarLine:o,barSize:a,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:dn,mathmlBuilder:hn});var No=(e,t)=>{var r=t.style,u,n;e.type==="supsub"?(u=e.sup?se(e.sup,t.havingStyle(r.sup()),t):se(e.sub,t.havingStyle(r.sub()),t),n=ue(e.base,"horizBrace")):n=ue(e,"horizBrace");var a=se(n.base,t.havingBaseStyle(te.DISPLAY)),i=_0.svgSpan(n,t),o;if(n.isOver?(o=z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:i}]},t),o.children[0].children[0].children[1].classes.push("svg-align")):(o=z.makeVList({positionType:"bottom",positionData:a.depth+.1+i.height,children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:a}]},t),o.children[0].children[0].children[0].classes.push("svg-align")),u){var s=z.makeSpan(["mord",n.isOver?"mover":"munder"],[o],t);n.isOver?o=z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.2},{type:"elem",elem:u}]},t):o=z.makeVList({positionType:"bottom",positionData:s.depth+.2+u.height+u.depth,children:[{type:"elem",elem:u},{type:"kern",size:.2},{type:"elem",elem:s}]},t)}return z.makeSpan(["mord",n.isOver?"mover":"munder"],[o],t)},W4=(e,t)=>{var r=_0.mathMLnode(e.label);return new q.MathNode(e.isOver?"mover":"munder",[he(e.base,t),r])};Y({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:u}=e;return{type:"horizBrace",mode:r.mode,label:u,isOver:/^\\over/.test(u),base:t[0]}},htmlBuilder:No,mathmlBuilder:W4});Y({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,u=t[1],n=ue(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:n})?{type:"href",mode:r.mode,href:n,body:Ae(u)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=De(e.body,t,!1);return z.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=j0(e.body,t);return r instanceof Xe||(r=new Xe("mrow",[r])),r.setAttribute("href",e.href),r}});Y({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,u=ue(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:u}))return r.formatUnsupportedCmd("\\url");for(var n=[],a=0;a{var{parser:r,funcName:u,token:n}=e,a=ue(t[0],"raw").string,i=t[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var o,s={};switch(u){case"\\htmlClass":s.class=a,o={command:"\\htmlClass",class:a};break;case"\\htmlId":s.id=a,o={command:"\\htmlId",id:a};break;case"\\htmlStyle":s.style=a,o={command:"\\htmlStyle",style:a};break;case"\\htmlData":{for(var c=a.split(","),h=0;h{var r=De(e.body,t,!1),u=["enclosing"];e.attributes.class&&u.push(...e.attributes.class.trim().split(/\s+/));var n=z.makeSpan(u,r,t);for(var a in e.attributes)a!=="class"&&e.attributes.hasOwnProperty(a)&&n.setAttribute(a,e.attributes[a]);return n},mathmlBuilder:(e,t)=>j0(e.body,t)});Y({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:Ae(t[0]),mathml:Ae(t[1])}},htmlBuilder:(e,t)=>{var r=De(e.html,t,!1);return z.makeFragment(r)},mathmlBuilder:(e,t)=>j0(e.mathml,t)});var vu=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!r)throw new H("Invalid size: '"+t+"' in \\includegraphics");var u={number:+(r[1]+r[2]),unit:r[3]};if(!Qi(u))throw new H("Invalid unit: '"+u.unit+"' in \\includegraphics.");return u};Y({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:u}=e,n={number:0,unit:"em"},a={number:.9,unit:"em"},i={number:0,unit:"em"},o="";if(r[0])for(var s=ue(r[0],"raw").string,c=s.split(","),h=0;h{var r=ye(e.height,t),u=0;e.totalheight.number>0&&(u=ye(e.totalheight,t)-r);var n=0;e.width.number>0&&(n=ye(e.width,t));var a={height:G(r+u)};n>0&&(a.width=G(n)),u>0&&(a.verticalAlign=G(-u));var i=new Wf(e.src,e.alt,a);return i.height=r,i.depth=u,i},mathmlBuilder:(e,t)=>{var r=new q.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var u=ye(e.height,t),n=0;if(e.totalheight.number>0&&(n=ye(e.totalheight,t)-u,r.setAttribute("valign",G(-n))),r.setAttribute("height",G(u+n)),e.width.number>0){var a=ye(e.width,t);r.setAttribute("width",G(a))}return r.setAttribute("src",e.src),r}});Y({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:u}=e,n=ue(t[0],"size");if(r.settings.strict){var a=u[1]==="m",i=n.value.unit==="mu";a?(i||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+u+" supports only mu units, "+("not "+n.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+u+" works only in math mode")):i&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+u+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:n.value}},htmlBuilder(e,t){return z.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var r=ye(e.dimension,t);return new q.SpaceNode(r)}});Y({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:u}=e,n=t[0];return{type:"lap",mode:r.mode,alignment:u.slice(5),body:n}},htmlBuilder:(e,t)=>{var r;e.alignment==="clap"?(r=z.makeSpan([],[se(e.body,t)]),r=z.makeSpan(["inner"],[r],t)):r=z.makeSpan(["inner"],[se(e.body,t)]);var u=z.makeSpan(["fix"],[]),n=z.makeSpan([e.alignment],[r,u],t),a=z.makeSpan(["strut"]);return a.style.height=G(n.height+n.depth),n.depth&&(a.style.verticalAlign=G(-n.depth)),n.children.unshift(a),n=z.makeSpan(["thinbox"],[n],t),z.makeSpan(["mord","vbox"],[n],t)},mathmlBuilder:(e,t)=>{var r=new q.MathNode("mpadded",[he(e.body,t)]);if(e.alignment!=="rlap"){var u=e.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",u+"width")}return r.setAttribute("width","0px"),r}});Y({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:u}=e,n=u.mode;u.switchMode("math");var a=r==="\\("?"\\)":"$",i=u.parseExpression(!1,a);return u.expect(a),u.switchMode(n),{type:"styling",mode:u.mode,style:"text",body:i}}});Y({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new H("Mismatched "+e.funcName)}});var Ba=(e,t)=>{switch(t.style.size){case te.DISPLAY.size:return e.display;case te.TEXT.size:return e.text;case te.SCRIPT.size:return e.script;case te.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Y({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:Ae(t[0]),text:Ae(t[1]),script:Ae(t[2]),scriptscript:Ae(t[3])}},htmlBuilder:(e,t)=>{var r=Ba(e,t),u=De(r,t,!1);return z.makeFragment(u)},mathmlBuilder:(e,t)=>{var r=Ba(e,t);return j0(r,t)}});var Ro=(e,t,r,u,n,a,i)=>{e=z.makeSpan([],[e]);var o=r&&Q.isCharacterBox(r),s,c;if(t){var h=se(t,u.havingStyle(n.sup()),u);c={elem:h,kern:Math.max(u.fontMetrics().bigOpSpacing1,u.fontMetrics().bigOpSpacing3-h.depth)}}if(r){var d=se(r,u.havingStyle(n.sub()),u);s={elem:d,kern:Math.max(u.fontMetrics().bigOpSpacing2,u.fontMetrics().bigOpSpacing4-d.height)}}var g;if(c&&s){var v=u.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+i;g=z.makeVList({positionType:"bottom",positionData:v,children:[{type:"kern",size:u.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:G(-a)},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:G(a)},{type:"kern",size:u.fontMetrics().bigOpSpacing5}]},u)}else if(s){var x=e.height-i;g=z.makeVList({positionType:"top",positionData:x,children:[{type:"kern",size:u.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:G(-a)},{type:"kern",size:s.kern},{type:"elem",elem:e}]},u)}else if(c){var C=e.depth+i;g=z.makeVList({positionType:"bottom",positionData:C,children:[{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:G(a)},{type:"kern",size:u.fontMetrics().bigOpSpacing5}]},u)}else return e;var S=[g];if(s&&a!==0&&!o){var I=z.makeSpan(["mspace"],[],u);I.style.marginRight=G(a),S.unshift(I)}return z.makeSpan(["mop","op-limits"],S,u)},Oo=["\\smallint"],At=(e,t)=>{var r,u,n=!1,a;e.type==="supsub"?(r=e.sup,u=e.sub,a=ue(e.base,"op"),n=!0):a=ue(e,"op");var i=t.style,o=!1;i.size===te.DISPLAY.size&&a.symbol&&!Q.contains(Oo,a.name)&&(o=!0);var s;if(a.symbol){var c=o?"Size2-Regular":"Size1-Regular",h="";if((a.name==="\\oiint"||a.name==="\\oiiint")&&(h=a.name.slice(1),a.name=h==="oiint"?"\\iint":"\\iiint"),s=z.makeSymbol(a.name,c,"math",t,["mop","op-symbol",o?"large-op":"small-op"]),h.length>0){var d=s.italic,g=z.staticSvg(h+"Size"+(o?"2":"1"),t);s=z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:0},{type:"elem",elem:g,shift:o?.08:0}]},t),a.name="\\"+h,s.classes.unshift("mop"),s.italic=d}}else if(a.body){var v=De(a.body,t,!0);v.length===1&&v[0]instanceof e0?(s=v[0],s.classes[0]="mop"):s=z.makeSpan(["mop"],v,t)}else{for(var x=[],C=1;C{var r;if(e.symbol)r=new Xe("mo",[t0(e.name,e.mode)]),Q.contains(Oo,e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new Xe("mo",$e(e.body,t));else{r=new Xe("mi",[new zt(e.name.slice(1))]);var u=new Xe("mo",[t0("⁡","text")]);e.parentIsSupSub?r=new Xe("mrow",[r,u]):r=co([r,u])}return r},Z4={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};Y({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:u}=e,n=u;return n.length===1&&(n=Z4[n]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:At,mathmlBuilder:Wt});Y({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:r}=e,u=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Ae(u)}},htmlBuilder:At,mathmlBuilder:Wt});var X4={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};Y({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:At,mathmlBuilder:Wt});Y({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:At,mathmlBuilder:Wt});Y({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e,u=r;return u.length===1&&(u=X4[u]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:u}},htmlBuilder:At,mathmlBuilder:Wt});var Lo=(e,t)=>{var r,u,n=!1,a;e.type==="supsub"?(r=e.sup,u=e.sub,a=ue(e.base,"operatorname"),n=!0):a=ue(e,"operatorname");var i;if(a.body.length>0){for(var o=a.body.map(d=>{var g=d.text;return typeof g=="string"?{type:"textord",mode:d.mode,text:g}:d}),s=De(o,t.withFont("mathrm"),!0),c=0;c{for(var r=$e(e.body,t.withFont("mathrm")),u=!0,n=0;nh.toText()).join("");r=[new q.TextNode(o)]}var s=new q.MathNode("mi",r);s.setAttribute("mathvariant","normal");var c=new q.MathNode("mo",[t0("⁡","text")]);return e.parentIsSupSub?new q.MathNode("mrow",[s,c]):q.newDocumentFragment([s,c])};Y({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:u}=e,n=t[0];return{type:"operatorname",mode:r.mode,body:Ae(n),alwaysHandleSupSub:u==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Lo,mathmlBuilder:K4});p("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");tt({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?z.makeFragment(De(e.body,t,!1)):z.makeSpan(["mord"],De(e.body,t,!0),t)},mathmlBuilder(e,t){return j0(e.body,t,!0)}});Y({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,u=t[0];return{type:"overline",mode:r.mode,body:u}},htmlBuilder(e,t){var r=se(e.body,t.havingCrampedStyle()),u=z.makeLineSpan("overline-line",t),n=t.fontMetrics().defaultRuleThickness,a=z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*n},{type:"elem",elem:u},{type:"kern",size:n}]},t);return z.makeSpan(["mord","overline"],[a],t)},mathmlBuilder(e,t){var r=new q.MathNode("mo",[new q.TextNode("‾")]);r.setAttribute("stretchy","true");var u=new q.MathNode("mover",[he(e.body,t),r]);return u.setAttribute("accent","true"),u}});Y({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,u=t[0];return{type:"phantom",mode:r.mode,body:Ae(u)}},htmlBuilder:(e,t)=>{var r=De(e.body,t.withPhantom(),!1);return z.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=$e(e.body,t);return new q.MathNode("mphantom",r)}});Y({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,u=t[0];return{type:"hphantom",mode:r.mode,body:u}},htmlBuilder:(e,t)=>{var r=z.makeSpan([],[se(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var u=0;u{var r=$e(Ae(e.body),t),u=new q.MathNode("mphantom",r),n=new q.MathNode("mpadded",[u]);return n.setAttribute("height","0px"),n.setAttribute("depth","0px"),n}});Y({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,u=t[0];return{type:"vphantom",mode:r.mode,body:u}},htmlBuilder:(e,t)=>{var r=z.makeSpan(["inner"],[se(e.body,t.withPhantom())]),u=z.makeSpan(["fix"],[]);return z.makeSpan(["mord","rlap"],[r,u],t)},mathmlBuilder:(e,t)=>{var r=$e(Ae(e.body),t),u=new q.MathNode("mphantom",r),n=new q.MathNode("mpadded",[u]);return n.setAttribute("width","0px"),n}});Y({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,u=ue(t[0],"size").value,n=t[1];return{type:"raisebox",mode:r.mode,dy:u,body:n}},htmlBuilder(e,t){var r=se(e.body,t),u=ye(e.dy,t);return z.makeVList({positionType:"shift",positionData:-u,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new q.MathNode("mpadded",[he(e.body,t)]),u=e.dy.number+e.dy.unit;return r.setAttribute("voffset",u),r}});Y({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});Y({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(e,t,r){var{parser:u}=e,n=r[0],a=ue(t[0],"size"),i=ue(t[1],"size");return{type:"rule",mode:u.mode,shift:n&&ue(n,"size").value,width:a.value,height:i.value}},htmlBuilder(e,t){var r=z.makeSpan(["mord","rule"],[],t),u=ye(e.width,t),n=ye(e.height,t),a=e.shift?ye(e.shift,t):0;return r.style.borderRightWidth=G(u),r.style.borderTopWidth=G(n),r.style.bottom=G(a),r.width=u,r.height=n+a,r.depth=-a,r.maxFontSize=n*1.125*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=ye(e.width,t),u=ye(e.height,t),n=e.shift?ye(e.shift,t):0,a=t.color&&t.getColor()||"black",i=new q.MathNode("mspace");i.setAttribute("mathbackground",a),i.setAttribute("width",G(r)),i.setAttribute("height",G(u));var o=new q.MathNode("mpadded",[i]);return n>=0?o.setAttribute("height",G(n)):(o.setAttribute("height",G(n)),o.setAttribute("depth",G(-n))),o.setAttribute("voffset",G(n)),o}});function Po(e,t,r){for(var u=De(e,t,!1),n=t.sizeMultiplier/r.sizeMultiplier,a=0;a{var r=t.havingSize(e.size);return Po(e.body,r,t)};Y({type:"sizing",names:Na,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:u,parser:n}=e,a=n.parseExpression(!1,r);return{type:"sizing",mode:n.mode,size:Na.indexOf(u)+1,body:a}},htmlBuilder:J4,mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),u=$e(e.body,r),n=new q.MathNode("mstyle",u);return n.setAttribute("mathsize",G(r.sizeMultiplier)),n}});Y({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:u}=e,n=!1,a=!1,i=r[0]&&ue(r[0],"ordgroup");if(i)for(var o="",s=0;s{var r=z.makeSpan([],[se(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var u=0;u{var r=new q.MathNode("mpadded",[he(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}});Y({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:u}=e,n=r[0],a=t[0];return{type:"sqrt",mode:u.mode,body:a,index:n}},htmlBuilder(e,t){var r=se(e.body,t.havingCrampedStyle());r.height===0&&(r.height=t.fontMetrics().xHeight),r=z.wrapFragment(r,t);var u=t.fontMetrics(),n=u.defaultRuleThickness,a=n;t.style.idr.height+r.depth+i&&(i=(i+d-r.height-r.depth)/2);var g=s.height-r.height-i-c;r.style.paddingLeft=G(h);var v=z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+g)},{type:"elem",elem:s},{type:"kern",size:c}]},t);if(e.index){var x=t.havingStyle(te.SCRIPTSCRIPT),C=se(e.index,x,t),S=.6*(v.height-v.depth),I=z.makeVList({positionType:"shift",positionData:-S,children:[{type:"elem",elem:C}]},t),M=z.makeSpan(["root"],[I]);return z.makeSpan(["mord","sqrt"],[M,v],t)}else return z.makeSpan(["mord","sqrt"],[v],t)},mathmlBuilder(e,t){var{body:r,index:u}=e;return u?new q.MathNode("mroot",[he(r,t),he(u,t)]):new q.MathNode("msqrt",[he(r,t)])}});var Ra={display:te.DISPLAY,text:te.TEXT,script:te.SCRIPT,scriptscript:te.SCRIPTSCRIPT};Y({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:u,parser:n}=e,a=n.parseExpression(!0,r),i=u.slice(1,u.length-5);return{type:"styling",mode:n.mode,style:i,body:a}},htmlBuilder(e,t){var r=Ra[e.style],u=t.havingStyle(r).withFont("");return Po(e.body,u,t)},mathmlBuilder(e,t){var r=Ra[e.style],u=t.havingStyle(r),n=$e(e.body,u),a=new q.MathNode("mstyle",n),i={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},o=i[e.style];return a.setAttribute("scriptlevel",o[0]),a.setAttribute("displaystyle",o[1]),a}});var Q4=function(t,r){var u=t.base;if(u)if(u.type==="op"){var n=u.limits&&(r.style.size===te.DISPLAY.size||u.alwaysHandleSupSub);return n?At:null}else if(u.type==="operatorname"){var a=u.alwaysHandleSupSub&&(r.style.size===te.DISPLAY.size||u.limits);return a?Lo:null}else{if(u.type==="accent")return Q.isCharacterBox(u.base)?an:null;if(u.type==="horizBrace"){var i=!t.sub;return i===u.isOver?No:null}else return null}else return null};tt({type:"supsub",htmlBuilder(e,t){var r=Q4(e,t);if(r)return r(e,t);var{base:u,sup:n,sub:a}=e,i=se(u,t),o,s,c=t.fontMetrics(),h=0,d=0,g=u&&Q.isCharacterBox(u);if(n){var v=t.havingStyle(t.style.sup());o=se(n,v,t),g||(h=i.height-v.fontMetrics().supDrop*v.sizeMultiplier/t.sizeMultiplier)}if(a){var x=t.havingStyle(t.style.sub());s=se(a,x,t),g||(d=i.depth+x.fontMetrics().subDrop*x.sizeMultiplier/t.sizeMultiplier)}var C;t.style===te.DISPLAY?C=c.sup1:t.style.cramped?C=c.sup3:C=c.sup2;var S=t.sizeMultiplier,I=G(.5/c.ptPerEm/S),M=null;if(s){var N=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(i instanceof e0||N)&&(M=G(-i.italic))}var L;if(o&&s){h=Math.max(h,C,o.depth+.25*c.xHeight),d=Math.max(d,c.sub2);var F=c.defaultRuleThickness,R=4*F;if(h-o.depth-(s.height-d)0&&(h+=$,d-=$)}var Z=[{type:"elem",elem:s,shift:d,marginRight:I,marginLeft:M},{type:"elem",elem:o,shift:-h,marginRight:I}];L=z.makeVList({positionType:"individualShift",children:Z},t)}else if(s){d=Math.max(d,c.sub1,s.height-.8*c.xHeight);var K=[{type:"elem",elem:s,marginLeft:M,marginRight:I}];L=z.makeVList({positionType:"shift",positionData:d,children:K},t)}else if(o)h=Math.max(h,C,o.depth+.25*c.xHeight),L=z.makeVList({positionType:"shift",positionData:-h,children:[{type:"elem",elem:o,marginRight:I}]},t);else throw new Error("supsub must have either sup or sub.");var le=zu(i,"right")||"mord";return z.makeSpan([le],[i,z.makeSpan(["msupsub"],[L])],t)},mathmlBuilder(e,t){var r=!1,u,n;e.base&&e.base.type==="horizBrace"&&(n=!!e.sup,n===e.base.isOver&&(r=!0,u=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var a=[he(e.base,t)];e.sub&&a.push(he(e.sub,t)),e.sup&&a.push(he(e.sup,t));var i;if(r)i=u?"mover":"munder";else if(e.sub)if(e.sup){var c=e.base;c&&c.type==="op"&&c.limits&&t.style===te.DISPLAY||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(t.style===te.DISPLAY||c.limits)?i="munderover":i="msubsup"}else{var s=e.base;s&&s.type==="op"&&s.limits&&(t.style===te.DISPLAY||s.alwaysHandleSupSub)||s&&s.type==="operatorname"&&s.alwaysHandleSupSub&&(s.limits||t.style===te.DISPLAY)?i="munder":i="msub"}else{var o=e.base;o&&o.type==="op"&&o.limits&&(t.style===te.DISPLAY||o.alwaysHandleSupSub)||o&&o.type==="operatorname"&&o.alwaysHandleSupSub&&(o.limits||t.style===te.DISPLAY)?i="mover":i="msup"}return new q.MathNode(i,a)}});tt({type:"atom",htmlBuilder(e,t){return z.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var r=new q.MathNode("mo",[t0(e.text,e.mode)]);if(e.family==="bin"){var u=un(e,t);u==="bold-italic"&&r.setAttribute("mathvariant",u)}else e.family==="punct"?r.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&r.setAttribute("stretchy","false");return r}});var qo={mi:"italic",mn:"normal",mtext:"normal"};tt({type:"mathord",htmlBuilder(e,t){return z.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var r=new q.MathNode("mi",[t0(e.text,e.mode,t)]),u=un(e,t)||"italic";return u!==qo[r.type]&&r.setAttribute("mathvariant",u),r}});tt({type:"textord",htmlBuilder(e,t){return z.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var r=t0(e.text,e.mode,t),u=un(e,t)||"normal",n;return e.mode==="text"?n=new q.MathNode("mtext",[r]):/[0-9]/.test(e.text)?n=new q.MathNode("mn",[r]):e.text==="\\prime"?n=new q.MathNode("mo",[r]):n=new q.MathNode("mi",[r]),u!==qo[n.type]&&n.setAttribute("mathvariant",u),n}});var gu={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},xu={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};tt({type:"spacing",htmlBuilder(e,t){if(xu.hasOwnProperty(e.text)){var r=xu[e.text].className||"";if(e.mode==="text"){var u=z.makeOrd(e,t,"textord");return u.classes.push(r),u}else return z.makeSpan(["mspace",r],[z.mathsym(e.text,e.mode,t)],t)}else{if(gu.hasOwnProperty(e.text))return z.makeSpan(["mspace",gu[e.text]],[],t);throw new H('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var r;if(xu.hasOwnProperty(e.text))r=new q.MathNode("mtext",[new q.TextNode(" ")]);else{if(gu.hasOwnProperty(e.text))return new q.MathNode("mspace");throw new H('Unknown type of space "'+e.text+'"')}return r}});var Oa=()=>{var e=new q.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};tt({type:"tag",mathmlBuilder(e,t){var r=new q.MathNode("mtable",[new q.MathNode("mtr",[Oa(),new q.MathNode("mtd",[j0(e.body,t)]),Oa(),new q.MathNode("mtd",[j0(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var La={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Pa={"\\textbf":"textbf","\\textmd":"textmd"},ed={"\\textit":"textit","\\textup":"textup"},qa=(e,t)=>{var r=e.font;return r?La[r]?t.withTextFontFamily(La[r]):Pa[r]?t.withTextFontWeight(Pa[r]):t.withTextFontShape(ed[r]):t};Y({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:u}=e,n=t[0];return{type:"text",mode:r.mode,body:Ae(n),font:u}},htmlBuilder(e,t){var r=qa(e,t),u=De(e.body,r,!0);return z.makeSpan(["mord","text"],u,r)},mathmlBuilder(e,t){var r=qa(e,t);return j0(e.body,r)}});Y({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=se(e.body,t),u=z.makeLineSpan("underline-line",t),n=t.fontMetrics().defaultRuleThickness,a=z.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:n},{type:"elem",elem:u},{type:"kern",size:3*n},{type:"elem",elem:r}]},t);return z.makeSpan(["mord","underline"],[a],t)},mathmlBuilder(e,t){var r=new q.MathNode("mo",[new q.TextNode("‾")]);r.setAttribute("stretchy","true");var u=new q.MathNode("munder",[he(e.body,t),r]);return u.setAttribute("accentunder","true"),u}});Y({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=se(e.body,t),u=t.fontMetrics().axisHeight,n=.5*(r.height-u-(r.depth+u));return z.makeVList({positionType:"shift",positionData:n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){return new q.MathNode("mpadded",[he(e.body,t)],["vcenter"])}});Y({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new H("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=Ha(e),u=[],n=t.havingStyle(t.style.text()),a=0;ae.body.replace(/ /g,e.star?"␣":" "),L0=so,Ho=`[ \r + ]`,td="\\\\[a-zA-Z@]+",rd="\\\\[^\uD800-\uDFFF]",ud="("+td+")"+Ho+"*",nd=`\\\\( |[ \r ]+ -?)[ \r ]*`,Ru="[̀-ͯ]",ad=new RegExp(Ru+"+$"),id="("+$o+"+)|"+(nd+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(Ru+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Ru+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+ud)+("|"+rd+")");class Ha{constructor(t,r){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=r,this.tokenRegex=new RegExp(id,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,r){this.catcodes[t]=r}lex(){var t=this.input,r=this.tokenRegex.lastIndex;if(r===t.length)return new Je("EOF",new Ve(this,r,r));var u=this.tokenRegex.exec(t);if(u===null||u.index!==r)throw new $("Unexpected character: '"+t[r]+"'",new Je(t[r],new Ve(this,r,r+1)));var n=u[6]||u[3]||(u[2]?"\\ ":" ");if(this.catcodes[n]===14){var a=t.indexOf(` -`,this.tokenRegex.lastIndex);return a===-1?(this.tokenRegex.lastIndex=t.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=a+1,this.lex()}return new Je(n,new Ve(this,r,this.tokenRegex.lastIndex))}}class od{constructor(t,r){t===void 0&&(t={}),r===void 0&&(r={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=r,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new $("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var r in t)t.hasOwnProperty(r)&&(t[r]==null?delete this.current[r]:this.current[r]=t[r])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,r,u){if(u===void 0&&(u=!1),u){for(var n=0;n0&&(this.undefStack[this.undefStack.length-1][t]=r)}else{var a=this.undefStack[this.undefStack.length-1];a&&!a.hasOwnProperty(t)&&(a[t]=this.current[t])}r==null?delete this.current[t]:this.current[t]=r}}var sd=Mo;p("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});p("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});p("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});p("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});p("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return t[0].length===1&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}});p("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");p("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var Ua={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};p("\\char",function(e){var t=e.popToken(),r,u="";if(t.text==="'")r=8,t=e.popToken();else if(t.text==='"')r=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")u=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new $("\\char` missing argument");u=t.text.charCodeAt(0)}else r=10;if(r){if(u=Ua[t.text],u==null||u>=r)throw new $("Invalid base-"+r+" digit "+t.text);for(var n;(n=Ua[e.future().text])!=null&&n{var u=e.consumeArg().tokens;if(u.length!==1)throw new $("\\newcommand's first argument must be a macro name");var n=u[0].text,a=e.isDefined(n);if(a&&!t)throw new $("\\newcommand{"+n+"} attempting to redefine "+(n+"; use \\renewcommand"));if(!a&&!r)throw new $("\\renewcommand{"+n+"} when command "+n+" does not yet exist; use \\newcommand");var i=0;if(u=e.consumeArg().tokens,u.length===1&&u[0].text==="["){for(var o="",s=e.expandNextToken();s.text!=="]"&&s.text!=="EOF";)o+=s.text,s=e.expandNextToken();if(!o.match(/^\s*[0-9]+\s*$/))throw new $("Invalid number of arguments: "+o);i=parseInt(o),u=e.consumeArg().tokens}return e.macros.set(n,{tokens:u,numArgs:i}),""};p("\\newcommand",e=>mn(e,!1,!0));p("\\renewcommand",e=>mn(e,!0,!1));p("\\providecommand",e=>mn(e,!0,!0));p("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(r=>r.text).join("")),""});p("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(r=>r.text).join("")),""});p("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),L0[r],be.math[r],be.text[r]),""});p("\\bgroup","{");p("\\egroup","}");p("~","\\nobreakspace");p("\\lq","`");p("\\rq","'");p("\\aa","\\r a");p("\\AA","\\r A");p("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");p("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");p("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");p("ℬ","\\mathscr{B}");p("ℰ","\\mathscr{E}");p("ℱ","\\mathscr{F}");p("ℋ","\\mathscr{H}");p("ℐ","\\mathscr{I}");p("ℒ","\\mathscr{L}");p("ℳ","\\mathscr{M}");p("ℛ","\\mathscr{R}");p("ℭ","\\mathfrak{C}");p("ℌ","\\mathfrak{H}");p("ℨ","\\mathfrak{Z}");p("\\Bbbk","\\Bbb{k}");p("·","\\cdotp");p("\\llap","\\mathllap{\\textrm{#1}}");p("\\rlap","\\mathrlap{\\textrm{#1}}");p("\\clap","\\mathclap{\\textrm{#1}}");p("\\mathstrut","\\vphantom{(}");p("\\underbar","\\underline{\\text{#1}}");p("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');p("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");p("\\ne","\\neq");p("≠","\\neq");p("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");p("∉","\\notin");p("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");p("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");p("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");p("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");p("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");p("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");p("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");p("⟂","\\perp");p("‼","\\mathclose{!\\mkern-0.8mu!}");p("∌","\\notni");p("⌜","\\ulcorner");p("⌝","\\urcorner");p("⌞","\\llcorner");p("⌟","\\lrcorner");p("©","\\copyright");p("®","\\textregistered");p("️","\\textregistered");p("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');p("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');p("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');p("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');p("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}");p("⋮","\\vdots");p("\\varGamma","\\mathit{\\Gamma}");p("\\varDelta","\\mathit{\\Delta}");p("\\varTheta","\\mathit{\\Theta}");p("\\varLambda","\\mathit{\\Lambda}");p("\\varXi","\\mathit{\\Xi}");p("\\varPi","\\mathit{\\Pi}");p("\\varSigma","\\mathit{\\Sigma}");p("\\varUpsilon","\\mathit{\\Upsilon}");p("\\varPhi","\\mathit{\\Phi}");p("\\varPsi","\\mathit{\\Psi}");p("\\varOmega","\\mathit{\\Omega}");p("\\substack","\\begin{subarray}{c}#1\\end{subarray}");p("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");p("\\boxed","\\fbox{$\\displaystyle{#1}$}");p("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");p("\\implies","\\DOTSB\\;\\Longrightarrow\\;");p("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Va={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};p("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in Va?t=Va[r]:(r.slice(0,4)==="\\not"||r in be.math&&Q.contains(["bin","rel"],be.math[r].group))&&(t="\\dotsb"),t});var pn={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};p("\\dotso",function(e){var t=e.future().text;return t in pn?"\\ldots\\,":"\\ldots"});p("\\dotsc",function(e){var t=e.future().text;return t in pn&&t!==","?"\\ldots\\,":"\\ldots"});p("\\cdots",function(e){var t=e.future().text;return t in pn?"\\@cdots\\,":"\\@cdots"});p("\\dotsb","\\cdots");p("\\dotsm","\\cdots");p("\\dotsi","\\!\\cdots");p("\\dotsx","\\ldots\\,");p("\\DOTSI","\\relax");p("\\DOTSB","\\relax");p("\\DOTSX","\\relax");p("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");p("\\,","\\tmspace+{3mu}{.1667em}");p("\\thinspace","\\,");p("\\>","\\mskip{4mu}");p("\\:","\\tmspace+{4mu}{.2222em}");p("\\medspace","\\:");p("\\;","\\tmspace+{5mu}{.2777em}");p("\\thickspace","\\;");p("\\!","\\tmspace-{3mu}{.1667em}");p("\\negthinspace","\\!");p("\\negmedspace","\\tmspace-{4mu}{.2222em}");p("\\negthickspace","\\tmspace-{5mu}{.277em}");p("\\enspace","\\kern.5em ");p("\\enskip","\\hskip.5em\\relax");p("\\quad","\\hskip1em\\relax");p("\\qquad","\\hskip2em\\relax");p("\\tag","\\@ifstar\\tag@literal\\tag@paren");p("\\tag@paren","\\tag@literal{({#1})}");p("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new $("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});p("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");p("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");p("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");p("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");p("\\newline","\\\\\\relax");p("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Ho=G(l0["Main-Regular"][84][1]-.7*l0["Main-Regular"][65][1]);p("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Ho+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");p("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Ho+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");p("\\hspace","\\@ifstar\\@hspacer\\@hspace");p("\\@hspace","\\hskip #1\\relax");p("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");p("\\ordinarycolon",":");p("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");p("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');p("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');p("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');p("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');p("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');p("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');p("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');p("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');p("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');p("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');p("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');p("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');p("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');p("∷","\\dblcolon");p("∹","\\eqcolon");p("≔","\\coloneqq");p("≕","\\eqqcolon");p("⩴","\\Coloneqq");p("\\ratio","\\vcentcolon");p("\\coloncolon","\\dblcolon");p("\\colonequals","\\coloneqq");p("\\coloncolonequals","\\Coloneqq");p("\\equalscolon","\\eqqcolon");p("\\equalscoloncolon","\\Eqqcolon");p("\\colonminus","\\coloneq");p("\\coloncolonminus","\\Coloneq");p("\\minuscolon","\\eqcolon");p("\\minuscoloncolon","\\Eqcolon");p("\\coloncolonapprox","\\Colonapprox");p("\\coloncolonsim","\\Colonsim");p("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");p("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");p("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");p("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");p("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");p("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");p("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");p("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");p("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");p("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");p("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");p("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");p("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");p("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");p("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");p("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");p("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");p("\\nleqq","\\html@mathml{\\@nleqq}{≰}");p("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");p("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");p("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");p("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");p("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");p("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");p("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");p("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");p("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");p("\\imath","\\html@mathml{\\@imath}{ı}");p("\\jmath","\\html@mathml{\\@jmath}{ȷ}");p("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");p("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");p("⟦","\\llbracket");p("⟧","\\rrbracket");p("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");p("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");p("⦃","\\lBrace");p("⦄","\\rBrace");p("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");p("⦵","\\minuso");p("\\darr","\\downarrow");p("\\dArr","\\Downarrow");p("\\Darr","\\Downarrow");p("\\lang","\\langle");p("\\rang","\\rangle");p("\\uarr","\\uparrow");p("\\uArr","\\Uparrow");p("\\Uarr","\\Uparrow");p("\\N","\\mathbb{N}");p("\\R","\\mathbb{R}");p("\\Z","\\mathbb{Z}");p("\\alef","\\aleph");p("\\alefsym","\\aleph");p("\\Alpha","\\mathrm{A}");p("\\Beta","\\mathrm{B}");p("\\bull","\\bullet");p("\\Chi","\\mathrm{X}");p("\\clubs","\\clubsuit");p("\\cnums","\\mathbb{C}");p("\\Complex","\\mathbb{C}");p("\\Dagger","\\ddagger");p("\\diamonds","\\diamondsuit");p("\\empty","\\emptyset");p("\\Epsilon","\\mathrm{E}");p("\\Eta","\\mathrm{H}");p("\\exist","\\exists");p("\\harr","\\leftrightarrow");p("\\hArr","\\Leftrightarrow");p("\\Harr","\\Leftrightarrow");p("\\hearts","\\heartsuit");p("\\image","\\Im");p("\\infin","\\infty");p("\\Iota","\\mathrm{I}");p("\\isin","\\in");p("\\Kappa","\\mathrm{K}");p("\\larr","\\leftarrow");p("\\lArr","\\Leftarrow");p("\\Larr","\\Leftarrow");p("\\lrarr","\\leftrightarrow");p("\\lrArr","\\Leftrightarrow");p("\\Lrarr","\\Leftrightarrow");p("\\Mu","\\mathrm{M}");p("\\natnums","\\mathbb{N}");p("\\Nu","\\mathrm{N}");p("\\Omicron","\\mathrm{O}");p("\\plusmn","\\pm");p("\\rarr","\\rightarrow");p("\\rArr","\\Rightarrow");p("\\Rarr","\\Rightarrow");p("\\real","\\Re");p("\\reals","\\mathbb{R}");p("\\Reals","\\mathbb{R}");p("\\Rho","\\mathrm{P}");p("\\sdot","\\cdot");p("\\sect","\\S");p("\\spades","\\spadesuit");p("\\sub","\\subset");p("\\sube","\\subseteq");p("\\supe","\\supseteq");p("\\Tau","\\mathrm{T}");p("\\thetasym","\\vartheta");p("\\weierp","\\wp");p("\\Zeta","\\mathrm{Z}");p("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");p("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");p("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");p("\\bra","\\mathinner{\\langle{#1}|}");p("\\ket","\\mathinner{|{#1}\\rangle}");p("\\braket","\\mathinner{\\langle{#1}\\rangle}");p("\\Bra","\\left\\langle#1\\right|");p("\\Ket","\\left|#1\\right\\rangle");var Uo=e=>t=>{var r=t.consumeArg().tokens,u=t.consumeArg().tokens,n=t.consumeArg().tokens,a=t.consumeArg().tokens,i=t.macros.get("|"),o=t.macros.get("\\|");t.macros.beginGroup();var s=d=>g=>{e&&(g.macros.set("|",i),n.length&&g.macros.set("\\|",o));var v=d;if(!d&&n.length){var x=g.future();x.text==="|"&&(g.popToken(),v=!0)}return{tokens:v?n:u,numArgs:0}};t.macros.set("|",s(!1)),n.length&&t.macros.set("\\|",s(!0));var c=t.consumeArg().tokens,h=t.expandTokens([...a,...c,...r]);return t.macros.endGroup(),{tokens:h.reverse(),numArgs:0}};p("\\bra@ket",Uo(!1));p("\\bra@set",Uo(!0));p("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");p("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");p("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");p("\\angln","{\\angl n}");p("\\blue","\\textcolor{##6495ed}{#1}");p("\\orange","\\textcolor{##ffa500}{#1}");p("\\pink","\\textcolor{##ff00af}{#1}");p("\\red","\\textcolor{##df0030}{#1}");p("\\green","\\textcolor{##28ae7b}{#1}");p("\\gray","\\textcolor{gray}{#1}");p("\\purple","\\textcolor{##9d38bd}{#1}");p("\\blueA","\\textcolor{##ccfaff}{#1}");p("\\blueB","\\textcolor{##80f6ff}{#1}");p("\\blueC","\\textcolor{##63d9ea}{#1}");p("\\blueD","\\textcolor{##11accd}{#1}");p("\\blueE","\\textcolor{##0c7f99}{#1}");p("\\tealA","\\textcolor{##94fff5}{#1}");p("\\tealB","\\textcolor{##26edd5}{#1}");p("\\tealC","\\textcolor{##01d1c1}{#1}");p("\\tealD","\\textcolor{##01a995}{#1}");p("\\tealE","\\textcolor{##208170}{#1}");p("\\greenA","\\textcolor{##b6ffb0}{#1}");p("\\greenB","\\textcolor{##8af281}{#1}");p("\\greenC","\\textcolor{##74cf70}{#1}");p("\\greenD","\\textcolor{##1fab54}{#1}");p("\\greenE","\\textcolor{##0d923f}{#1}");p("\\goldA","\\textcolor{##ffd0a9}{#1}");p("\\goldB","\\textcolor{##ffbb71}{#1}");p("\\goldC","\\textcolor{##ff9c39}{#1}");p("\\goldD","\\textcolor{##e07d10}{#1}");p("\\goldE","\\textcolor{##a75a05}{#1}");p("\\redA","\\textcolor{##fca9a9}{#1}");p("\\redB","\\textcolor{##ff8482}{#1}");p("\\redC","\\textcolor{##f9685d}{#1}");p("\\redD","\\textcolor{##e84d39}{#1}");p("\\redE","\\textcolor{##bc2612}{#1}");p("\\maroonA","\\textcolor{##ffbde0}{#1}");p("\\maroonB","\\textcolor{##ff92c6}{#1}");p("\\maroonC","\\textcolor{##ed5fa6}{#1}");p("\\maroonD","\\textcolor{##ca337c}{#1}");p("\\maroonE","\\textcolor{##9e034e}{#1}");p("\\purpleA","\\textcolor{##ddd7ff}{#1}");p("\\purpleB","\\textcolor{##c6b9fc}{#1}");p("\\purpleC","\\textcolor{##aa87ff}{#1}");p("\\purpleD","\\textcolor{##7854ab}{#1}");p("\\purpleE","\\textcolor{##543b78}{#1}");p("\\mintA","\\textcolor{##f5f9e8}{#1}");p("\\mintB","\\textcolor{##edf2df}{#1}");p("\\mintC","\\textcolor{##e0e5cc}{#1}");p("\\grayA","\\textcolor{##f6f7f7}{#1}");p("\\grayB","\\textcolor{##f0f1f2}{#1}");p("\\grayC","\\textcolor{##e3e5e6}{#1}");p("\\grayD","\\textcolor{##d6d8da}{#1}");p("\\grayE","\\textcolor{##babec2}{#1}");p("\\grayF","\\textcolor{##888d93}{#1}");p("\\grayG","\\textcolor{##626569}{#1}");p("\\grayH","\\textcolor{##3b3e40}{#1}");p("\\grayI","\\textcolor{##21242c}{#1}");p("\\kaBlue","\\textcolor{##314453}{#1}");p("\\kaGreen","\\textcolor{##71B307}{#1}");var Vo={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class ld{constructor(t,r,u){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=r,this.expansionCount=0,this.feed(t),this.macros=new od(sd,r.macros),this.mode=u,this.stack=[]}feed(t){this.lexer=new Ha(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var r,u,n;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:n,end:u}=this.consumeArg(["]"])}else({tokens:n,start:r,end:u}=this.consumeArg());return this.pushToken(new Je("EOF",u.loc)),this.pushTokens(n),r.range(u,"")}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var r=[],u=t&&t.length>0;u||this.consumeSpaces();var n=this.future(),a,i=0,o=0;do{if(a=this.popToken(),r.push(a),a.text==="{")++i;else if(a.text==="}"){if(--i,i===-1)throw new $("Extra }",a)}else if(a.text==="EOF")throw new $("Unexpected end of input in a macro argument, expected '"+(t&&u?t[o]:"}")+"'",a);if(t&&u)if((i===0||i===1&&t[o]==="{")&&a.text===t[o]){if(++o,o===t.length){r.splice(-o,o);break}}else o=0}while(i!==0||u);return n.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:n,end:a}}consumeArgs(t,r){if(r){if(r.length!==t+1)throw new $("The length of delimiters doesn't match the number of args!");for(var u=r[0],n=0;nthis.settings.maxExpand)throw new $("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var r=this.popToken(),u=r.text,n=r.noexpand?null:this._getExpansion(u);if(n==null||t&&n.unexpandable){if(t&&n==null&&u[0]==="\\"&&!this.isDefined(u))throw new $("Undefined control sequence: "+u);return this.pushToken(r),!1}this.countExpansion(1);var a=n.tokens,i=this.consumeArgs(n.numArgs,n.delimiters);if(n.numArgs){a=a.slice();for(var o=a.length-1;o>=0;--o){var s=a[o];if(s.text==="#"){if(o===0)throw new $("Incomplete placeholder at end of macro body",s);if(s=a[--o],s.text==="#")a.splice(o+1,1);else if(/^[1-9]$/.test(s.text))a.splice(o,2,...i[+s.text-1]);else throw new $("Not a valid argument number",s)}}}return this.pushTokens(a),a.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}throw new Error}expandMacro(t){return this.macros.has(t)?this.expandTokens([new Je(t)]):void 0}expandTokens(t){var r=[],u=this.stack.length;for(this.pushTokens(t);this.stack.length>u;)if(this.expandOnce(!0)===!1){var n=this.stack.pop();n.treatAsRelax&&(n.noexpand=!1,n.treatAsRelax=!1),r.push(n)}return this.countExpansion(r.length),r}expandMacroAsText(t){var r=this.expandMacro(t);return r&&r.map(u=>u.text).join("")}_getExpansion(t){var r=this.macros.get(t);if(r==null)return r;if(t.length===1){var u=this.lexer.catcodes[t];if(u!=null&&u!==13)return}var n=typeof r=="function"?r(this):r;if(typeof n=="string"){var a=0;if(n.indexOf("#")!==-1)for(var i=n.replace(/##/g,"");i.indexOf("#"+(a+1))!==-1;)++a;for(var o=new Ha(n,this.settings),s=[],c=o.lex();c.text!=="EOF";)s.push(c),c=o.lex();s.reverse();var h={tokens:s,numArgs:a};return h}return n}isDefined(t){return this.macros.has(t)||L0.hasOwnProperty(t)||be.math.hasOwnProperty(t)||be.text.hasOwnProperty(t)||Vo.hasOwnProperty(t)}isExpandable(t){var r=this.macros.get(t);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:L0.hasOwnProperty(t)&&!L0[t].primitive}}var ja=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,hr=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),yu={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},Ga={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class $r{constructor(t,r){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new ld(t,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(t,r){if(r===void 0&&(r=!0),this.fetch().text!==t)throw new $("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var r=this.nextToken;this.consume(),this.gullet.pushToken(new Je("}")),this.gullet.pushTokens(t);var u=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,u}parseExpression(t,r){for(var u=[];;){this.mode==="math"&&this.consumeSpaces();var n=this.fetch();if($r.endOfExpression.indexOf(n.text)!==-1||r&&n.text===r||t&&L0[n.text]&&L0[n.text].infix)break;var a=this.parseAtom(r);if(a){if(a.type==="internal")continue}else break;u.push(a)}return this.mode==="text"&&this.formLigatures(u),this.handleInfixNodes(u)}handleInfixNodes(t){for(var r=-1,u,n=0;n=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',t);var o=be[this.mode][r].group,s=Ve.range(t),c;if(Kf.hasOwnProperty(o)){var h=o;c={type:"atom",mode:this.mode,family:h,loc:s,text:r}}else c={type:o,mode:this.mode,loc:s,text:r};i=c}else if(r.charCodeAt(0)>=128)this.settings.strict&&(Ji(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),t)),i={type:"textord",mode:"text",loc:Ve.range(t),text:r};else return null;if(this.consume(),a)for(var d=0;d":">","'":"'",'"':"""},md=/[&<>'"]/g,mr=e=>e.replace(md,t=>hd[t]),Wa=(e,t)=>{const r=t>0?e.src.charCodeAt(t-1):-1,u=t+1<=e.posMax?e.src.charCodeAt(t+1):-1;let n=!0,a=!0;return(r===32||r===9||u>=48&&u<=57)&&(a=!1),(u===32||u===9)&&(n=!1),{canOpen:n,canClose:a}},pd=(e,t)=>{let r,u,n,a;if(e.src[e.pos]!=="$")return!1;if(n=Wa(e,e.pos),!n.canOpen)return t||(e.pending+="$"),e.pos+=1,!0;const i=e.pos+1;for(r=i;(r=e.src.indexOf("$",r))!==-1;){for(a=r-1;e.src[a]==="\\";)a-=1;if((r-a)%2===1)break;r+=1}return r===-1?(t||(e.pending+="$"),e.pos=i,!0):r-i===0?(t||(e.pending+="$$"),e.pos=i+1,!0):(n=Wa(e,r),n.canClose?(t||(u=e.push("mathInline","math",0),u.markup="$",u.content=e.src.slice(i,r)),e.pos=r+1,!0):(t||(e.pending+="$"),e.pos=i,!0))},bd=(e,t,r,u)=>{let n,a,i,o,s=!1,c=e.bMarks[t]+e.tShift[t],h=e.eMarks[t];if(c+2>h||e.src.slice(c,c+2)!=="$$")return!1;if(c+=2,n=e.src.slice(c,h),u)return!0;for(n.trim().endsWith("$$")&&(n=n.trim().slice(0,-2),s=!0),i=t;!s&&(i+=1,!(i>=r||(c=e.bMarks[i]+e.tShift[i],h=e.eMarks[i],c0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,r,u){if(u===void 0&&(u=!1),u){for(var n=0;n0&&(this.undefStack[this.undefStack.length-1][t]=r)}else{var a=this.undefStack[this.undefStack.length-1];a&&!a.hasOwnProperty(t)&&(a[t]=this.current[t])}r==null?delete this.current[t]:this.current[t]=r}}var sd=Mo;p("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});p("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});p("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});p("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});p("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return t[0].length===1&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}});p("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");p("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var Ua={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};p("\\char",function(e){var t=e.popToken(),r,u="";if(t.text==="'")r=8,t=e.popToken();else if(t.text==='"')r=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")u=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new H("\\char` missing argument");u=t.text.charCodeAt(0)}else r=10;if(r){if(u=Ua[t.text],u==null||u>=r)throw new H("Invalid base-"+r+" digit "+t.text);for(var n;(n=Ua[e.future().text])!=null&&n{var u=e.consumeArg().tokens;if(u.length!==1)throw new H("\\newcommand's first argument must be a macro name");var n=u[0].text,a=e.isDefined(n);if(a&&!t)throw new H("\\newcommand{"+n+"} attempting to redefine "+(n+"; use \\renewcommand"));if(!a&&!r)throw new H("\\renewcommand{"+n+"} when command "+n+" does not yet exist; use \\newcommand");var i=0;if(u=e.consumeArg().tokens,u.length===1&&u[0].text==="["){for(var o="",s=e.expandNextToken();s.text!=="]"&&s.text!=="EOF";)o+=s.text,s=e.expandNextToken();if(!o.match(/^\s*[0-9]+\s*$/))throw new H("Invalid number of arguments: "+o);i=parseInt(o),u=e.consumeArg().tokens}return e.macros.set(n,{tokens:u,numArgs:i}),""};p("\\newcommand",e=>mn(e,!1,!0));p("\\renewcommand",e=>mn(e,!0,!1));p("\\providecommand",e=>mn(e,!0,!0));p("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(r=>r.text).join("")),""});p("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(r=>r.text).join("")),""});p("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),L0[r],be.math[r],be.text[r]),""});p("\\bgroup","{");p("\\egroup","}");p("~","\\nobreakspace");p("\\lq","`");p("\\rq","'");p("\\aa","\\r a");p("\\AA","\\r A");p("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");p("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");p("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");p("ℬ","\\mathscr{B}");p("ℰ","\\mathscr{E}");p("ℱ","\\mathscr{F}");p("ℋ","\\mathscr{H}");p("ℐ","\\mathscr{I}");p("ℒ","\\mathscr{L}");p("ℳ","\\mathscr{M}");p("ℛ","\\mathscr{R}");p("ℭ","\\mathfrak{C}");p("ℌ","\\mathfrak{H}");p("ℨ","\\mathfrak{Z}");p("\\Bbbk","\\Bbb{k}");p("·","\\cdotp");p("\\llap","\\mathllap{\\textrm{#1}}");p("\\rlap","\\mathrlap{\\textrm{#1}}");p("\\clap","\\mathclap{\\textrm{#1}}");p("\\mathstrut","\\vphantom{(}");p("\\underbar","\\underline{\\text{#1}}");p("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');p("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");p("\\ne","\\neq");p("≠","\\neq");p("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");p("∉","\\notin");p("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");p("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");p("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");p("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");p("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");p("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");p("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");p("⟂","\\perp");p("‼","\\mathclose{!\\mkern-0.8mu!}");p("∌","\\notni");p("⌜","\\ulcorner");p("⌝","\\urcorner");p("⌞","\\llcorner");p("⌟","\\lrcorner");p("©","\\copyright");p("®","\\textregistered");p("️","\\textregistered");p("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');p("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');p("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');p("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');p("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}");p("⋮","\\vdots");p("\\varGamma","\\mathit{\\Gamma}");p("\\varDelta","\\mathit{\\Delta}");p("\\varTheta","\\mathit{\\Theta}");p("\\varLambda","\\mathit{\\Lambda}");p("\\varXi","\\mathit{\\Xi}");p("\\varPi","\\mathit{\\Pi}");p("\\varSigma","\\mathit{\\Sigma}");p("\\varUpsilon","\\mathit{\\Upsilon}");p("\\varPhi","\\mathit{\\Phi}");p("\\varPsi","\\mathit{\\Psi}");p("\\varOmega","\\mathit{\\Omega}");p("\\substack","\\begin{subarray}{c}#1\\end{subarray}");p("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");p("\\boxed","\\fbox{$\\displaystyle{#1}$}");p("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");p("\\implies","\\DOTSB\\;\\Longrightarrow\\;");p("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Va={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};p("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in Va?t=Va[r]:(r.slice(0,4)==="\\not"||r in be.math&&Q.contains(["bin","rel"],be.math[r].group))&&(t="\\dotsb"),t});var pn={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};p("\\dotso",function(e){var t=e.future().text;return t in pn?"\\ldots\\,":"\\ldots"});p("\\dotsc",function(e){var t=e.future().text;return t in pn&&t!==","?"\\ldots\\,":"\\ldots"});p("\\cdots",function(e){var t=e.future().text;return t in pn?"\\@cdots\\,":"\\@cdots"});p("\\dotsb","\\cdots");p("\\dotsm","\\cdots");p("\\dotsi","\\!\\cdots");p("\\dotsx","\\ldots\\,");p("\\DOTSI","\\relax");p("\\DOTSB","\\relax");p("\\DOTSX","\\relax");p("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");p("\\,","\\tmspace+{3mu}{.1667em}");p("\\thinspace","\\,");p("\\>","\\mskip{4mu}");p("\\:","\\tmspace+{4mu}{.2222em}");p("\\medspace","\\:");p("\\;","\\tmspace+{5mu}{.2777em}");p("\\thickspace","\\;");p("\\!","\\tmspace-{3mu}{.1667em}");p("\\negthinspace","\\!");p("\\negmedspace","\\tmspace-{4mu}{.2222em}");p("\\negthickspace","\\tmspace-{5mu}{.277em}");p("\\enspace","\\kern.5em ");p("\\enskip","\\hskip.5em\\relax");p("\\quad","\\hskip1em\\relax");p("\\qquad","\\hskip2em\\relax");p("\\tag","\\@ifstar\\tag@literal\\tag@paren");p("\\tag@paren","\\tag@literal{({#1})}");p("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new H("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});p("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");p("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");p("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");p("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");p("\\newline","\\\\\\relax");p("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var $o=G(l0["Main-Regular"][84][1]-.7*l0["Main-Regular"][65][1]);p("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+$o+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");p("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+$o+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");p("\\hspace","\\@ifstar\\@hspacer\\@hspace");p("\\@hspace","\\hskip #1\\relax");p("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");p("\\ordinarycolon",":");p("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");p("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');p("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');p("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');p("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');p("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');p("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');p("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');p("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');p("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');p("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');p("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');p("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');p("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');p("∷","\\dblcolon");p("∹","\\eqcolon");p("≔","\\coloneqq");p("≕","\\eqqcolon");p("⩴","\\Coloneqq");p("\\ratio","\\vcentcolon");p("\\coloncolon","\\dblcolon");p("\\colonequals","\\coloneqq");p("\\coloncolonequals","\\Coloneqq");p("\\equalscolon","\\eqqcolon");p("\\equalscoloncolon","\\Eqqcolon");p("\\colonminus","\\coloneq");p("\\coloncolonminus","\\Coloneq");p("\\minuscolon","\\eqcolon");p("\\minuscoloncolon","\\Eqcolon");p("\\coloncolonapprox","\\Colonapprox");p("\\coloncolonsim","\\Colonsim");p("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");p("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");p("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");p("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");p("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");p("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");p("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");p("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");p("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");p("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");p("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");p("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");p("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");p("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");p("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");p("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");p("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");p("\\nleqq","\\html@mathml{\\@nleqq}{≰}");p("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");p("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");p("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");p("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");p("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");p("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");p("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");p("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");p("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");p("\\imath","\\html@mathml{\\@imath}{ı}");p("\\jmath","\\html@mathml{\\@jmath}{ȷ}");p("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");p("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");p("⟦","\\llbracket");p("⟧","\\rrbracket");p("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");p("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");p("⦃","\\lBrace");p("⦄","\\rBrace");p("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");p("⦵","\\minuso");p("\\darr","\\downarrow");p("\\dArr","\\Downarrow");p("\\Darr","\\Downarrow");p("\\lang","\\langle");p("\\rang","\\rangle");p("\\uarr","\\uparrow");p("\\uArr","\\Uparrow");p("\\Uarr","\\Uparrow");p("\\N","\\mathbb{N}");p("\\R","\\mathbb{R}");p("\\Z","\\mathbb{Z}");p("\\alef","\\aleph");p("\\alefsym","\\aleph");p("\\Alpha","\\mathrm{A}");p("\\Beta","\\mathrm{B}");p("\\bull","\\bullet");p("\\Chi","\\mathrm{X}");p("\\clubs","\\clubsuit");p("\\cnums","\\mathbb{C}");p("\\Complex","\\mathbb{C}");p("\\Dagger","\\ddagger");p("\\diamonds","\\diamondsuit");p("\\empty","\\emptyset");p("\\Epsilon","\\mathrm{E}");p("\\Eta","\\mathrm{H}");p("\\exist","\\exists");p("\\harr","\\leftrightarrow");p("\\hArr","\\Leftrightarrow");p("\\Harr","\\Leftrightarrow");p("\\hearts","\\heartsuit");p("\\image","\\Im");p("\\infin","\\infty");p("\\Iota","\\mathrm{I}");p("\\isin","\\in");p("\\Kappa","\\mathrm{K}");p("\\larr","\\leftarrow");p("\\lArr","\\Leftarrow");p("\\Larr","\\Leftarrow");p("\\lrarr","\\leftrightarrow");p("\\lrArr","\\Leftrightarrow");p("\\Lrarr","\\Leftrightarrow");p("\\Mu","\\mathrm{M}");p("\\natnums","\\mathbb{N}");p("\\Nu","\\mathrm{N}");p("\\Omicron","\\mathrm{O}");p("\\plusmn","\\pm");p("\\rarr","\\rightarrow");p("\\rArr","\\Rightarrow");p("\\Rarr","\\Rightarrow");p("\\real","\\Re");p("\\reals","\\mathbb{R}");p("\\Reals","\\mathbb{R}");p("\\Rho","\\mathrm{P}");p("\\sdot","\\cdot");p("\\sect","\\S");p("\\spades","\\spadesuit");p("\\sub","\\subset");p("\\sube","\\subseteq");p("\\supe","\\supseteq");p("\\Tau","\\mathrm{T}");p("\\thetasym","\\vartheta");p("\\weierp","\\wp");p("\\Zeta","\\mathrm{Z}");p("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");p("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");p("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");p("\\bra","\\mathinner{\\langle{#1}|}");p("\\ket","\\mathinner{|{#1}\\rangle}");p("\\braket","\\mathinner{\\langle{#1}\\rangle}");p("\\Bra","\\left\\langle#1\\right|");p("\\Ket","\\left|#1\\right\\rangle");var Uo=e=>t=>{var r=t.consumeArg().tokens,u=t.consumeArg().tokens,n=t.consumeArg().tokens,a=t.consumeArg().tokens,i=t.macros.get("|"),o=t.macros.get("\\|");t.macros.beginGroup();var s=d=>g=>{e&&(g.macros.set("|",i),n.length&&g.macros.set("\\|",o));var v=d;if(!d&&n.length){var x=g.future();x.text==="|"&&(g.popToken(),v=!0)}return{tokens:v?n:u,numArgs:0}};t.macros.set("|",s(!1)),n.length&&t.macros.set("\\|",s(!0));var c=t.consumeArg().tokens,h=t.expandTokens([...a,...c,...r]);return t.macros.endGroup(),{tokens:h.reverse(),numArgs:0}};p("\\bra@ket",Uo(!1));p("\\bra@set",Uo(!0));p("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");p("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");p("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");p("\\angln","{\\angl n}");p("\\blue","\\textcolor{##6495ed}{#1}");p("\\orange","\\textcolor{##ffa500}{#1}");p("\\pink","\\textcolor{##ff00af}{#1}");p("\\red","\\textcolor{##df0030}{#1}");p("\\green","\\textcolor{##28ae7b}{#1}");p("\\gray","\\textcolor{gray}{#1}");p("\\purple","\\textcolor{##9d38bd}{#1}");p("\\blueA","\\textcolor{##ccfaff}{#1}");p("\\blueB","\\textcolor{##80f6ff}{#1}");p("\\blueC","\\textcolor{##63d9ea}{#1}");p("\\blueD","\\textcolor{##11accd}{#1}");p("\\blueE","\\textcolor{##0c7f99}{#1}");p("\\tealA","\\textcolor{##94fff5}{#1}");p("\\tealB","\\textcolor{##26edd5}{#1}");p("\\tealC","\\textcolor{##01d1c1}{#1}");p("\\tealD","\\textcolor{##01a995}{#1}");p("\\tealE","\\textcolor{##208170}{#1}");p("\\greenA","\\textcolor{##b6ffb0}{#1}");p("\\greenB","\\textcolor{##8af281}{#1}");p("\\greenC","\\textcolor{##74cf70}{#1}");p("\\greenD","\\textcolor{##1fab54}{#1}");p("\\greenE","\\textcolor{##0d923f}{#1}");p("\\goldA","\\textcolor{##ffd0a9}{#1}");p("\\goldB","\\textcolor{##ffbb71}{#1}");p("\\goldC","\\textcolor{##ff9c39}{#1}");p("\\goldD","\\textcolor{##e07d10}{#1}");p("\\goldE","\\textcolor{##a75a05}{#1}");p("\\redA","\\textcolor{##fca9a9}{#1}");p("\\redB","\\textcolor{##ff8482}{#1}");p("\\redC","\\textcolor{##f9685d}{#1}");p("\\redD","\\textcolor{##e84d39}{#1}");p("\\redE","\\textcolor{##bc2612}{#1}");p("\\maroonA","\\textcolor{##ffbde0}{#1}");p("\\maroonB","\\textcolor{##ff92c6}{#1}");p("\\maroonC","\\textcolor{##ed5fa6}{#1}");p("\\maroonD","\\textcolor{##ca337c}{#1}");p("\\maroonE","\\textcolor{##9e034e}{#1}");p("\\purpleA","\\textcolor{##ddd7ff}{#1}");p("\\purpleB","\\textcolor{##c6b9fc}{#1}");p("\\purpleC","\\textcolor{##aa87ff}{#1}");p("\\purpleD","\\textcolor{##7854ab}{#1}");p("\\purpleE","\\textcolor{##543b78}{#1}");p("\\mintA","\\textcolor{##f5f9e8}{#1}");p("\\mintB","\\textcolor{##edf2df}{#1}");p("\\mintC","\\textcolor{##e0e5cc}{#1}");p("\\grayA","\\textcolor{##f6f7f7}{#1}");p("\\grayB","\\textcolor{##f0f1f2}{#1}");p("\\grayC","\\textcolor{##e3e5e6}{#1}");p("\\grayD","\\textcolor{##d6d8da}{#1}");p("\\grayE","\\textcolor{##babec2}{#1}");p("\\grayF","\\textcolor{##888d93}{#1}");p("\\grayG","\\textcolor{##626569}{#1}");p("\\grayH","\\textcolor{##3b3e40}{#1}");p("\\grayI","\\textcolor{##21242c}{#1}");p("\\kaBlue","\\textcolor{##314453}{#1}");p("\\kaGreen","\\textcolor{##71B307}{#1}");var Vo={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class ld{constructor(t,r,u){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=r,this.expansionCount=0,this.feed(t),this.macros=new od(sd,r.macros),this.mode=u,this.stack=[]}feed(t){this.lexer=new $a(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var r,u,n;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:n,end:u}=this.consumeArg(["]"])}else({tokens:n,start:r,end:u}=this.consumeArg());return this.pushToken(new Je("EOF",u.loc)),this.pushTokens(n),r.range(u,"")}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var r=[],u=t&&t.length>0;u||this.consumeSpaces();var n=this.future(),a,i=0,o=0;do{if(a=this.popToken(),r.push(a),a.text==="{")++i;else if(a.text==="}"){if(--i,i===-1)throw new H("Extra }",a)}else if(a.text==="EOF")throw new H("Unexpected end of input in a macro argument, expected '"+(t&&u?t[o]:"}")+"'",a);if(t&&u)if((i===0||i===1&&t[o]==="{")&&a.text===t[o]){if(++o,o===t.length){r.splice(-o,o);break}}else o=0}while(i!==0||u);return n.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:n,end:a}}consumeArgs(t,r){if(r){if(r.length!==t+1)throw new H("The length of delimiters doesn't match the number of args!");for(var u=r[0],n=0;nthis.settings.maxExpand)throw new H("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var r=this.popToken(),u=r.text,n=r.noexpand?null:this._getExpansion(u);if(n==null||t&&n.unexpandable){if(t&&n==null&&u[0]==="\\"&&!this.isDefined(u))throw new H("Undefined control sequence: "+u);return this.pushToken(r),!1}this.countExpansion(1);var a=n.tokens,i=this.consumeArgs(n.numArgs,n.delimiters);if(n.numArgs){a=a.slice();for(var o=a.length-1;o>=0;--o){var s=a[o];if(s.text==="#"){if(o===0)throw new H("Incomplete placeholder at end of macro body",s);if(s=a[--o],s.text==="#")a.splice(o+1,1);else if(/^[1-9]$/.test(s.text))a.splice(o,2,...i[+s.text-1]);else throw new H("Not a valid argument number",s)}}}return this.pushTokens(a),a.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}throw new Error}expandMacro(t){return this.macros.has(t)?this.expandTokens([new Je(t)]):void 0}expandTokens(t){var r=[],u=this.stack.length;for(this.pushTokens(t);this.stack.length>u;)if(this.expandOnce(!0)===!1){var n=this.stack.pop();n.treatAsRelax&&(n.noexpand=!1,n.treatAsRelax=!1),r.push(n)}return this.countExpansion(r.length),r}expandMacroAsText(t){var r=this.expandMacro(t);return r&&r.map(u=>u.text).join("")}_getExpansion(t){var r=this.macros.get(t);if(r==null)return r;if(t.length===1){var u=this.lexer.catcodes[t];if(u!=null&&u!==13)return}var n=typeof r=="function"?r(this):r;if(typeof n=="string"){var a=0;if(n.indexOf("#")!==-1)for(var i=n.replace(/##/g,"");i.indexOf("#"+(a+1))!==-1;)++a;for(var o=new $a(n,this.settings),s=[],c=o.lex();c.text!=="EOF";)s.push(c),c=o.lex();s.reverse();var h={tokens:s,numArgs:a};return h}return n}isDefined(t){return this.macros.has(t)||L0.hasOwnProperty(t)||be.math.hasOwnProperty(t)||be.text.hasOwnProperty(t)||Vo.hasOwnProperty(t)}isExpandable(t){var r=this.macros.get(t);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:L0.hasOwnProperty(t)&&!L0[t].primitive}}var ja=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,hr=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),yu={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},Ga={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class Hr{constructor(t,r){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new ld(t,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(t,r){if(r===void 0&&(r=!0),this.fetch().text!==t)throw new H("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var r=this.nextToken;this.consume(),this.gullet.pushToken(new Je("}")),this.gullet.pushTokens(t);var u=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,u}parseExpression(t,r){for(var u=[];;){this.mode==="math"&&this.consumeSpaces();var n=this.fetch();if(Hr.endOfExpression.indexOf(n.text)!==-1||r&&n.text===r||t&&L0[n.text]&&L0[n.text].infix)break;var a=this.parseAtom(r);if(a){if(a.type==="internal")continue}else break;u.push(a)}return this.mode==="text"&&this.formLigatures(u),this.handleInfixNodes(u)}handleInfixNodes(t){for(var r=-1,u,n=0;n=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',t);var o=be[this.mode][r].group,s=Ve.range(t),c;if(Kf.hasOwnProperty(o)){var h=o;c={type:"atom",mode:this.mode,family:h,loc:s,text:r}}else c={type:o,mode:this.mode,loc:s,text:r};i=c}else if(r.charCodeAt(0)>=128)this.settings.strict&&(Ji(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),t)),i={type:"textord",mode:"text",loc:Ve.range(t),text:r};else return null;if(this.consume(),a)for(var d=0;d":">","'":"'",'"':"""},md=/[&<>'"]/g,mr=e=>e.replace(md,t=>hd[t]),Wa=(e,t)=>{const r=t>0?e.src.charCodeAt(t-1):-1,u=t+1<=e.posMax?e.src.charCodeAt(t+1):-1;let n=!0,a=!0;return(r===32||r===9||u>=48&&u<=57)&&(a=!1),(u===32||u===9)&&(n=!1),{canOpen:n,canClose:a}},pd=(e,t)=>{let r,u,n,a;if(e.src[e.pos]!=="$")return!1;if(n=Wa(e,e.pos),!n.canOpen)return t||(e.pending+="$"),e.pos+=1,!0;const i=e.pos+1;for(r=i;(r=e.src.indexOf("$",r))!==-1;){for(a=r-1;e.src[a]==="\\";)a-=1;if((r-a)%2===1)break;r+=1}return r===-1?(t||(e.pending+="$"),e.pos=i,!0):r-i===0?(t||(e.pending+="$$"),e.pos=i+1,!0):(n=Wa(e,r),n.canClose?(t||(u=e.push("mathInline","math",0),u.markup="$",u.content=e.src.slice(i,r)),e.pos=r+1,!0):(t||(e.pending+="$"),e.pos=i,!0))},bd=(e,t,r,u)=>{let n,a,i,o,s=!1,c=e.bMarks[t]+e.tShift[t],h=e.eMarks[t];if(c+2>h||e.src.slice(c,c+2)!=="$$")return!1;if(c+=2,n=e.src.slice(c,h),u)return!0;for(n.trim().endsWith("$$")&&(n=n.trim().slice(0,-2),s=!0),i=t;!s&&(i+=1,!(i>=r||(c=e.bMarks[i]+e.tShift[i],h=e.eMarks[i],c{const r=(n,a)=>{a.displayMode=!1;try{return Ya.renderToString(n,a)}catch(i){return a.throwOnError&&console.warn(i),`${mr(n)}`}},u=(n,a)=>{a.displayMode=!0;try{return`

${Ya.renderToString(n,a)}

`}catch(i){return a.throwOnError&&console.warn(i),`

${mr(n)}

`}};e.inline.ruler.after("escape","mathInline",pd),e.block.ruler.after("blockquote","mathBlock",bd,{alt:["paragraph","reference","blockquote","list"]}),e.renderer.rules.mathInline=(n,a)=>r(n[a].content,t),e.renderer.rules.mathBlock=(n,a)=>u(n[a].content,t)},gd=vd,Yo=(e,t)=>Number(e[t].meta.id+1).toString(),Wo=(e,t)=>e[t].meta.label,xd=(e,t)=>{const r=Yo(e,t),u=Wo(e,t);return`${u}`},yd=(e,t)=>{const r=Yo(e,t),u=Wo(e,t);return`
  • `},wd=()=>`
`,kd=(e,t,r,u)=>{const n=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(n+4>a||e.src.charCodeAt(n)!==91||e.src.charCodeAt(n+1)!==126)return!1;let i,o;for(i=n+2;i=a||e.src.charCodeAt(++i)!==58)return!1;if(u)return!0;i++,e.env.crossrefs||(e.env.crossrefs={}),e.env.crossrefs.refs||(e.env.crossrefs.refs={});const s=e.src.slice(n+2,i-2);e.env.crossrefs.refs[":"+s]=-1;const c=new e.Token("crossref_reference_open","",1);c.meta={label:s},c.level=e.level++,e.tokens.push(c);const h=e.bMarks[t],d=e.tShift[t],g=e.sCount[t],v=i,x=o=e.sCount[t]+i-(e.bMarks[t]+e.tShift[t]);let C;for(;i{const r=e.posMax,u=e.pos;if(u+3>r||!e.env.crossrefs||!e.env.crossrefs.refs||e.src.charCodeAt(u)!==91||e.src.charCodeAt(u+1)!==126)return!1;let n;for(n=u+2;n=r)return!1;n++;const a=e.src.slice(u+2,n-1);if(typeof e.env.crossrefs.refs[":"+a]>"u")return!1;if(!t){e.env.crossrefs.list||(e.env.crossrefs.list=[]);let i;e.env.crossrefs.refs[":"+a]<0?(i=e.env.crossrefs.list.length,e.env.crossrefs.list[i]=a,e.env.crossrefs.refs[":"+a]=i):i=e.env.crossrefs.refs[":"+a];const o=e.push("renderReference","",0);o.meta={id:i,label:a}}return e.pos=n,e.posMax=r,!0},Ad=e=>{var r;const t=(r=e.env.crossrefs)==null?void 0:r.list;for(let u=0;uo===n):-1,i=new e.Token("renderOpenTag","",1);i.meta={id:a,label:n},e.tokens[u]=i}else if(e.tokens[u].type==="crossref_reference_close"){const n=new e.Token("renderCloseTag","",-1);e.tokens[u]=n}},Cd=e=>{e.renderer.rules.renderReference=xd,e.renderer.rules.renderOpenTag=yd,e.renderer.rules.renderCloseTag=wd,e.block.ruler.before("reference","crossrefDef",kd,{alt:["paragraph","reference"]}),e.inline.ruler.after("image","crossrefRef",Sd),e.core.ruler.after("inline","crossrefCore",Ad)},_d=Cd,Ed=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g,Dd=()=>'
',Td=(e,t)=>`
`,Md=(e,t,r,u)=>{const n=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(u||n+8>a||e.src.slice(n,n+8)!=="\\newpage")return!1;e.line=t+1;const i=e.push("renderNewPage","",0);return i.block=!0,i.map=[t,e.line],i.markup=` -ewpage`,!0},Fd=(e,t,r,u)=>{const n=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(u||n+5>a||e.src.slice(n,n+3)!=="\\\\[")return!1;let i=n+4;for(;i=a)return!1;const o=e.src.slice(n+3,i);if(o.match(/(^|[^\\])(\\\\)*\s/))return!1;e.line=t+1;const s=e.push("renderLineBreak","",0);return s.meta={h:o.replace(Ed,"$1")},s.block=!0,s.map=[t,e.line],s.markup="\\[]",!0},zd=e=>{e.renderer.rules.renderNewPage=Dd,e.renderer.rules.renderLineBreak=Td,e.block.ruler.after("blockquote","newPage",Md),e.block.ruler.after("newPage","lineBreak",Fd)},Id=zd;/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function Zo(e){return typeof e>"u"||e===null}function Bd(e){return typeof e=="object"&&e!==null}function Nd(e){return Array.isArray(e)?e:Zo(e)?[]:[e]}function Rd(e,t){var r,u,n,a;if(t)for(a=Object.keys(t),r=0,u=a.length;r{const n=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(u||n+5>a||e.src.slice(n,n+3)!=="\\\\[")return!1;let i=n+4;for(;i=a)return!1;const o=e.src.slice(n+3,i);if(o.match(/(^|[^\\])(\\\\)*\s/))return!1;e.line=t+1;const s=e.push("renderLineBreak","",0);return s.meta={h:o.replace(Ed,"$1")},s.block=!0,s.map=[t,e.line],s.markup="\\[]",!0},zd=e=>{e.renderer.rules.renderNewPage=Dd,e.renderer.rules.renderLineBreak=Td,e.block.ruler.after("blockquote","newPage",Md),e.block.ruler.after("newPage","lineBreak",Fd)},Id=zd;/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function Zo(e){return typeof e>"u"||e===null}function Bd(e){return typeof e=="object"&&e!==null}function Nd(e){return Array.isArray(e)?e:Zo(e)?[]:[e]}function Rd(e,t){var r,u,n,a;if(t)for(a=Object.keys(t),r=0,u=a.length;ro&&(a=" ... ",t=u-o+a.length),r-u>o&&(i=" ...",r=u+o-i.length),{str:a+e.slice(t,r).replace(/\t/g,"→")+i,pos:u-t+a.length}}function ku(e,t){return Ne.repeat(" ",t-e.length)+e}function jd(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),typeof t.indent!="number"&&(t.indent=1),typeof t.linesBefore!="number"&&(t.linesBefore=3),typeof t.linesAfter!="number"&&(t.linesAfter=2);for(var r=/\r?\n|\r|\0/g,u=[0],n=[],a,i=-1;a=r.exec(e.buffer);)n.push(a.index),u.push(a.index+a[0].length),e.position<=a.index&&i<0&&(i=u.length-2);i<0&&(i=u.length-1);var o="",s,c,h=Math.min(e.line+t.linesAfter,n.length).toString().length,d=t.maxLength-(t.indent+h+3);for(s=1;s<=t.linesBefore&&!(i-s<0);s++)c=wu(e.buffer,u[i-s],n[i-s],e.position-(u[i]-u[i-s]),d),o=Ne.repeat(" ",t.indent)+ku((e.line-s+1).toString(),h)+" | "+c.str+` +`+e.mark.snippet),u+" "+r):u}function $t(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=Xo(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}$t.prototype=Object.create(Error.prototype);$t.prototype.constructor=$t;$t.prototype.toString=function(t){return this.name+": "+Xo(this,t)};var w0=$t;function wu(e,t,r,u,n){var a="",i="",o=Math.floor(n/2)-1;return u-t>o&&(a=" ... ",t=u-o+a.length),r-u>o&&(i=" ...",r=u+o-i.length),{str:a+e.slice(t,r).replace(/\t/g,"→")+i,pos:u-t+a.length}}function ku(e,t){return Ne.repeat(" ",t-e.length)+e}function jd(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),typeof t.indent!="number"&&(t.indent=1),typeof t.linesBefore!="number"&&(t.linesBefore=3),typeof t.linesAfter!="number"&&(t.linesAfter=2);for(var r=/\r?\n|\r|\0/g,u=[0],n=[],a,i=-1;a=r.exec(e.buffer);)n.push(a.index),u.push(a.index+a[0].length),e.position<=a.index&&i<0&&(i=u.length-2);i<0&&(i=u.length-1);var o="",s,c,h=Math.min(e.line+t.linesAfter,n.length).toString().length,d=t.maxLength-(t.indent+h+3);for(s=1;s<=t.linesBefore&&!(i-s<0);s++)c=wu(e.buffer,u[i-s],n[i-s],e.position-(u[i]-u[i-s]),d),o=Ne.repeat(" ",t.indent)+ku((e.line-s+1).toString(),h)+" | "+c.str+` `+o;for(c=wu(e.buffer,u[i],n[i],e.position,d),o+=Ne.repeat(" ",t.indent)+ku((e.line+1).toString(),h)+" | "+c.str+` `,o+=Ne.repeat("-",t.indent+h+3+c.pos)+`^ `,s=1;s<=t.linesAfter&&!(i+s>=n.length);s++)c=wu(e.buffer,u[i+s],n[i+s],e.position-(u[i]-u[i+s]),d),o+=Ne.repeat(" ",t.indent)+ku((e.line+s+1).toString(),h)+" | "+c.str+` `;return o.replace(/\n$/,"")}var Gd=jd,Yd=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],Wd=["scalar","sequence","mapping"];function Zd(e){var t={};return e!==null&&Object.keys(e).forEach(function(r){e[r].forEach(function(u){t[String(u)]=r})}),t}function Xd(e,t){if(t=t||{},Object.keys(t).forEach(function(r){if(Yd.indexOf(r)===-1)throw new w0('Unknown option "'+r+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(r){return r},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=Zd(t.styleAliases||null),Wd.indexOf(this.kind)===-1)throw new w0('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var ze=Xd;function Za(e,t){var r=[];return e[t].forEach(function(u){var n=r.length;r.forEach(function(a,i){a.tag===u.tag&&a.kind===u.kind&&a.multi===u.multi&&(n=i)}),r[n]=u}),r}function Kd(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,r;function u(n){n.multi?(e.multi[n.kind].push(n),e.multi.fallback.push(n)):e[n.kind][n.tag]=e.fallback[n.tag]=n}for(t=0,r=arguments.length;t=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),g3=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function x3(e){return!(e===null||!g3.test(e)||e[e.length-1]==="_")}function y3(e){var t,r;return t=e.replace(/_/g,"").toLowerCase(),r=t[0]==="-"?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===".nan"?NaN:r*parseFloat(t,10)}var w3=/^[-+]?[0-9]+e/;function k3(e,t){var r;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(Ne.isNegativeZero(e))return"-0.0";return r=e.toString(10),w3.test(r)?r.replace("e",".e"):r}function S3(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||Ne.isNegativeZero(e))}var A3=new ze("tag:yaml.org,2002:float",{kind:"scalar",resolve:x3,construct:y3,predicate:S3,represent:k3,defaultStyle:"lowercase"}),C3=r3.extend({implicit:[i3,c3,v3,A3]}),_3=C3,Ko=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Jo=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function E3(e){return e===null?!1:Ko.exec(e)!==null||Jo.exec(e)!==null}function D3(e){var t,r,u,n,a,i,o,s=0,c=null,h,d,g;if(t=Ko.exec(e),t===null&&(t=Jo.exec(e)),t===null)throw new Error("Date resolve error");if(r=+t[1],u=+t[2]-1,n=+t[3],!t[4])return new Date(Date.UTC(r,u,n));if(a=+t[4],i=+t[5],o=+t[6],t[7]){for(s=t[7].slice(0,3);s.length<3;)s+="0";s=+s}return t[9]&&(h=+t[10],d=+(t[11]||0),c=(h*60+d)*6e4,t[9]==="-"&&(c=-c)),g=new Date(Date.UTC(r,u,n,a,i,o,s)),c&&g.setTime(g.getTime()-c),g}function T3(e){return e.toISOString()}var M3=new ze("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:E3,construct:D3,instanceOf:Date,represent:T3});function F3(e){return e==="<<"||e===null}var z3=new ze("tag:yaml.org,2002:merge",{kind:"scalar",resolve:F3}),gn=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= -\r`;function I3(e){if(e===null)return!1;var t,r,u=0,n=e.length,a=gn;for(r=0;r64)){if(t<0)return!1;u+=6}return u%8===0}function B3(e){var t,r,u=e.replace(/[\r\n=]/g,""),n=u.length,a=gn,i=0,o=[];for(t=0;t>16&255),o.push(i>>8&255),o.push(i&255)),i=i<<6|a.indexOf(u.charAt(t));return r=n%4*6,r===0?(o.push(i>>16&255),o.push(i>>8&255),o.push(i&255)):r===18?(o.push(i>>10&255),o.push(i>>2&255)):r===12&&o.push(i>>4&255),new Uint8Array(o)}function N3(e){var t="",r=0,u,n,a=e.length,i=gn;for(u=0;u>18&63],t+=i[r>>12&63],t+=i[r>>6&63],t+=i[r&63]),r=(r<<8)+e[u];return n=a%3,n===0?(t+=i[r>>18&63],t+=i[r>>12&63],t+=i[r>>6&63],t+=i[r&63]):n===2?(t+=i[r>>10&63],t+=i[r>>4&63],t+=i[r<<2&63],t+=i[64]):n===1&&(t+=i[r>>2&63],t+=i[r<<4&63],t+=i[64],t+=i[64]),t}function R3(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var O3=new ze("tag:yaml.org,2002:binary",{kind:"scalar",resolve:I3,construct:B3,predicate:R3,represent:N3}),L3=Object.prototype.hasOwnProperty,P3=Object.prototype.toString;function q3(e){if(e===null)return!0;var t=[],r,u,n,a,i,o=e;for(r=0,u=o.length;r>10)+55296,(e-65536&1023)+56320)}var u1=new Array(256),n1=new Array(256);for(var lt=0;lt<256;lt++)u1[lt]=Ja(lt)?1:0,n1[lt]=Ja(lt);function ih(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||K3,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function a1(e,t){var r={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return r.snippet=Gd(r),new w0(t,r)}function J(e,t){throw a1(e,t)}function Tr(e,t){e.onWarning&&e.onWarning.call(null,a1(e,t))}var Qa={YAML:function(t,r,u){var n,a,i;t.version!==null&&J(t,"duplication of %YAML directive"),u.length!==1&&J(t,"YAML directive accepts exactly one argument"),n=/^([0-9]+)\.([0-9]+)$/.exec(u[0]),n===null&&J(t,"ill-formed argument of the YAML directive"),a=parseInt(n[1],10),i=parseInt(n[2],10),a!==1&&J(t,"unacceptable YAML version of the document"),t.version=u[0],t.checkLineBreaks=i<2,i!==1&&i!==2&&Tr(t,"unsupported YAML version of the document")},TAG:function(t,r,u){var n,a;u.length!==2&&J(t,"TAG directive accepts exactly two arguments"),n=u[0],a=u[1],t1.test(n)||J(t,"ill-formed tag handle (first argument) of the TAG directive"),G0.call(t.tagMap,n)&&J(t,'there is a previously declared suffix for "'+n+'" tag handle'),r1.test(a)||J(t,"ill-formed tag prefix (second argument) of the TAG directive");try{a=decodeURIComponent(a)}catch{J(t,"tag prefix is malformed: "+a)}t.tagMap[n]=a}};function P0(e,t,r,u){var n,a,i,o;if(t1&&(e.result+=Ne.repeat(` -`,t-1))}function oh(e,t,r){var u,n,a,i,o,s,c,h,d=e.kind,g=e.result,v;if(v=e.input.charCodeAt(e.position),qe(v)||ct(v)||v===35||v===38||v===42||v===33||v===124||v===62||v===39||v===34||v===37||v===64||v===96||(v===63||v===45)&&(n=e.input.charCodeAt(e.position+1),qe(n)||r&&ct(n)))return!1;for(e.kind="scalar",e.result="",a=i=e.position,o=!1;v!==0;){if(v===58){if(n=e.input.charCodeAt(e.position+1),qe(n)||r&&ct(n))break}else if(v===35){if(u=e.input.charCodeAt(e.position-1),qe(u))break}else{if(e.position===e.lineStart&&Hr(e)||r&&ct(v))break;if(c0(v))if(s=e.line,c=e.lineStart,h=e.lineIndent,_e(e,!1,-1),e.lineIndent>=t){o=!0,v=e.input.charCodeAt(e.position);continue}else{e.position=i,e.line=s,e.lineStart=c,e.lineIndent=h;break}}o&&(P0(e,a,i,!1),yn(e,e.line-s),a=i=e.position,o=!1),Q0(v)||(i=e.position+1),v=e.input.charCodeAt(++e.position)}return P0(e,a,i,!1),e.result?!0:(e.kind=d,e.result=g,!1)}function sh(e,t){var r,u,n;if(r=e.input.charCodeAt(e.position),r!==39)return!1;for(e.kind="scalar",e.result="",e.position++,u=n=e.position;(r=e.input.charCodeAt(e.position))!==0;)if(r===39)if(P0(e,u,e.position,!0),r=e.input.charCodeAt(++e.position),r===39)u=e.position,e.position++,n=e.position;else return!0;else c0(r)?(P0(e,u,n,!0),yn(e,_e(e,!1,t)),u=n=e.position):e.position===e.lineStart&&Hr(e)?J(e,"unexpected end of the document within a single quoted scalar"):(e.position++,n=e.position);J(e,"unexpected end of the stream within a single quoted scalar")}function lh(e,t){var r,u,n,a,i,o;if(o=e.input.charCodeAt(e.position),o!==34)return!1;for(e.kind="scalar",e.result="",e.position++,r=u=e.position;(o=e.input.charCodeAt(e.position))!==0;){if(o===34)return P0(e,r,e.position,!0),e.position++,!0;if(o===92){if(P0(e,r,e.position,!0),o=e.input.charCodeAt(++e.position),c0(o))_e(e,!1,t);else if(o<256&&u1[o])e.result+=n1[o],e.position++;else if((i=uh(o))>0){for(n=i,a=0;n>0;n--)o=e.input.charCodeAt(++e.position),(i=rh(o))>=0?a=(a<<4)+i:J(e,"expected hexadecimal character");e.result+=ah(a),e.position++}else J(e,"unknown escape sequence");r=u=e.position}else c0(o)?(P0(e,r,u,!0),yn(e,_e(e,!1,t)),r=u=e.position):e.position===e.lineStart&&Hr(e)?J(e,"unexpected end of the document within a double quoted scalar"):(e.position++,u=e.position)}J(e,"unexpected end of the stream within a double quoted scalar")}function ch(e,t){var r=!0,u,n,a,i=e.tag,o,s=e.anchor,c,h,d,g,v,x=Object.create(null),C,S,I,M;if(M=e.input.charCodeAt(e.position),M===91)h=93,v=!1,o=[];else if(M===123)h=125,v=!0,o={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=o),M=e.input.charCodeAt(++e.position);M!==0;){if(_e(e,!0,t),M=e.input.charCodeAt(e.position),M===h)return e.position++,e.tag=i,e.anchor=s,e.kind=v?"mapping":"sequence",e.result=o,!0;r?M===44&&J(e,"expected the node content, but found ','"):J(e,"missed comma between flow collection entries"),S=C=I=null,d=g=!1,M===63&&(c=e.input.charCodeAt(e.position+1),qe(c)&&(d=g=!0,e.position++,_e(e,!0,t))),u=e.line,n=e.lineStart,a=e.position,vt(e,t,Er,!1,!0),S=e.tag,C=e.result,_e(e,!0,t),M=e.input.charCodeAt(e.position),(g||e.line===u)&&M===58&&(d=!0,M=e.input.charCodeAt(++e.position),_e(e,!0,t),vt(e,t,Er,!1,!0),I=e.result),v?ft(e,o,x,S,C,I,u,n,a):d?o.push(ft(e,null,x,S,C,I,u,n,a)):o.push(C),_e(e,!0,t),M=e.input.charCodeAt(e.position),M===44?(r=!0,M=e.input.charCodeAt(++e.position)):r=!1}J(e,"unexpected end of the stream within a flow collection")}function fh(e,t){var r,u,n=Su,a=!1,i=!1,o=t,s=0,c=!1,h,d;if(d=e.input.charCodeAt(e.position),d===124)u=!1;else if(d===62)u=!0;else return!1;for(e.kind="scalar",e.result="";d!==0;)if(d=e.input.charCodeAt(++e.position),d===43||d===45)Su===n?n=d===43?Xa:J3:J(e,"repeat of a chomping mode identifier");else if((h=nh(d))>=0)h===0?J(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):i?J(e,"repeat of an indentation width identifier"):(o=t+h-1,i=!0);else break;if(Q0(d)){do d=e.input.charCodeAt(++e.position);while(Q0(d));if(d===35)do d=e.input.charCodeAt(++e.position);while(!c0(d)&&d!==0)}for(;d!==0;){for(xn(e),e.lineIndent=0,d=e.input.charCodeAt(e.position);(!i||e.lineIndento&&(o=e.lineIndent),c0(d)){s++;continue}if(e.lineIndent64)){if(t<0)return!1;u+=6}return u%8===0}function B3(e){var t,r,u=e.replace(/[\r\n=]/g,""),n=u.length,a=gn,i=0,o=[];for(t=0;t>16&255),o.push(i>>8&255),o.push(i&255)),i=i<<6|a.indexOf(u.charAt(t));return r=n%4*6,r===0?(o.push(i>>16&255),o.push(i>>8&255),o.push(i&255)):r===18?(o.push(i>>10&255),o.push(i>>2&255)):r===12&&o.push(i>>4&255),new Uint8Array(o)}function N3(e){var t="",r=0,u,n,a=e.length,i=gn;for(u=0;u>18&63],t+=i[r>>12&63],t+=i[r>>6&63],t+=i[r&63]),r=(r<<8)+e[u];return n=a%3,n===0?(t+=i[r>>18&63],t+=i[r>>12&63],t+=i[r>>6&63],t+=i[r&63]):n===2?(t+=i[r>>10&63],t+=i[r>>4&63],t+=i[r<<2&63],t+=i[64]):n===1&&(t+=i[r>>2&63],t+=i[r<<4&63],t+=i[64],t+=i[64]),t}function R3(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var O3=new ze("tag:yaml.org,2002:binary",{kind:"scalar",resolve:I3,construct:B3,predicate:R3,represent:N3}),L3=Object.prototype.hasOwnProperty,P3=Object.prototype.toString;function q3(e){if(e===null)return!0;var t=[],r,u,n,a,i,o=e;for(r=0,u=o.length;r>10)+55296,(e-65536&1023)+56320)}var u1=new Array(256),n1=new Array(256);for(var lt=0;lt<256;lt++)u1[lt]=Ja(lt)?1:0,n1[lt]=Ja(lt);function ih(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||K3,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function a1(e,t){var r={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return r.snippet=Gd(r),new w0(t,r)}function J(e,t){throw a1(e,t)}function Tr(e,t){e.onWarning&&e.onWarning.call(null,a1(e,t))}var Qa={YAML:function(t,r,u){var n,a,i;t.version!==null&&J(t,"duplication of %YAML directive"),u.length!==1&&J(t,"YAML directive accepts exactly one argument"),n=/^([0-9]+)\.([0-9]+)$/.exec(u[0]),n===null&&J(t,"ill-formed argument of the YAML directive"),a=parseInt(n[1],10),i=parseInt(n[2],10),a!==1&&J(t,"unacceptable YAML version of the document"),t.version=u[0],t.checkLineBreaks=i<2,i!==1&&i!==2&&Tr(t,"unsupported YAML version of the document")},TAG:function(t,r,u){var n,a;u.length!==2&&J(t,"TAG directive accepts exactly two arguments"),n=u[0],a=u[1],t1.test(n)||J(t,"ill-formed tag handle (first argument) of the TAG directive"),G0.call(t.tagMap,n)&&J(t,'there is a previously declared suffix for "'+n+'" tag handle'),r1.test(a)||J(t,"ill-formed tag prefix (second argument) of the TAG directive");try{a=decodeURIComponent(a)}catch{J(t,"tag prefix is malformed: "+a)}t.tagMap[n]=a}};function P0(e,t,r,u){var n,a,i,o;if(t1&&(e.result+=Ne.repeat(` +`,t-1))}function oh(e,t,r){var u,n,a,i,o,s,c,h,d=e.kind,g=e.result,v;if(v=e.input.charCodeAt(e.position),qe(v)||ct(v)||v===35||v===38||v===42||v===33||v===124||v===62||v===39||v===34||v===37||v===64||v===96||(v===63||v===45)&&(n=e.input.charCodeAt(e.position+1),qe(n)||r&&ct(n)))return!1;for(e.kind="scalar",e.result="",a=i=e.position,o=!1;v!==0;){if(v===58){if(n=e.input.charCodeAt(e.position+1),qe(n)||r&&ct(n))break}else if(v===35){if(u=e.input.charCodeAt(e.position-1),qe(u))break}else{if(e.position===e.lineStart&&$r(e)||r&&ct(v))break;if(c0(v))if(s=e.line,c=e.lineStart,h=e.lineIndent,_e(e,!1,-1),e.lineIndent>=t){o=!0,v=e.input.charCodeAt(e.position);continue}else{e.position=i,e.line=s,e.lineStart=c,e.lineIndent=h;break}}o&&(P0(e,a,i,!1),yn(e,e.line-s),a=i=e.position,o=!1),Q0(v)||(i=e.position+1),v=e.input.charCodeAt(++e.position)}return P0(e,a,i,!1),e.result?!0:(e.kind=d,e.result=g,!1)}function sh(e,t){var r,u,n;if(r=e.input.charCodeAt(e.position),r!==39)return!1;for(e.kind="scalar",e.result="",e.position++,u=n=e.position;(r=e.input.charCodeAt(e.position))!==0;)if(r===39)if(P0(e,u,e.position,!0),r=e.input.charCodeAt(++e.position),r===39)u=e.position,e.position++,n=e.position;else return!0;else c0(r)?(P0(e,u,n,!0),yn(e,_e(e,!1,t)),u=n=e.position):e.position===e.lineStart&&$r(e)?J(e,"unexpected end of the document within a single quoted scalar"):(e.position++,n=e.position);J(e,"unexpected end of the stream within a single quoted scalar")}function lh(e,t){var r,u,n,a,i,o;if(o=e.input.charCodeAt(e.position),o!==34)return!1;for(e.kind="scalar",e.result="",e.position++,r=u=e.position;(o=e.input.charCodeAt(e.position))!==0;){if(o===34)return P0(e,r,e.position,!0),e.position++,!0;if(o===92){if(P0(e,r,e.position,!0),o=e.input.charCodeAt(++e.position),c0(o))_e(e,!1,t);else if(o<256&&u1[o])e.result+=n1[o],e.position++;else if((i=uh(o))>0){for(n=i,a=0;n>0;n--)o=e.input.charCodeAt(++e.position),(i=rh(o))>=0?a=(a<<4)+i:J(e,"expected hexadecimal character");e.result+=ah(a),e.position++}else J(e,"unknown escape sequence");r=u=e.position}else c0(o)?(P0(e,r,u,!0),yn(e,_e(e,!1,t)),r=u=e.position):e.position===e.lineStart&&$r(e)?J(e,"unexpected end of the document within a double quoted scalar"):(e.position++,u=e.position)}J(e,"unexpected end of the stream within a double quoted scalar")}function ch(e,t){var r=!0,u,n,a,i=e.tag,o,s=e.anchor,c,h,d,g,v,x=Object.create(null),C,S,I,M;if(M=e.input.charCodeAt(e.position),M===91)h=93,v=!1,o=[];else if(M===123)h=125,v=!0,o={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=o),M=e.input.charCodeAt(++e.position);M!==0;){if(_e(e,!0,t),M=e.input.charCodeAt(e.position),M===h)return e.position++,e.tag=i,e.anchor=s,e.kind=v?"mapping":"sequence",e.result=o,!0;r?M===44&&J(e,"expected the node content, but found ','"):J(e,"missed comma between flow collection entries"),S=C=I=null,d=g=!1,M===63&&(c=e.input.charCodeAt(e.position+1),qe(c)&&(d=g=!0,e.position++,_e(e,!0,t))),u=e.line,n=e.lineStart,a=e.position,vt(e,t,Er,!1,!0),S=e.tag,C=e.result,_e(e,!0,t),M=e.input.charCodeAt(e.position),(g||e.line===u)&&M===58&&(d=!0,M=e.input.charCodeAt(++e.position),_e(e,!0,t),vt(e,t,Er,!1,!0),I=e.result),v?ft(e,o,x,S,C,I,u,n,a):d?o.push(ft(e,null,x,S,C,I,u,n,a)):o.push(C),_e(e,!0,t),M=e.input.charCodeAt(e.position),M===44?(r=!0,M=e.input.charCodeAt(++e.position)):r=!1}J(e,"unexpected end of the stream within a flow collection")}function fh(e,t){var r,u,n=Su,a=!1,i=!1,o=t,s=0,c=!1,h,d;if(d=e.input.charCodeAt(e.position),d===124)u=!1;else if(d===62)u=!0;else return!1;for(e.kind="scalar",e.result="";d!==0;)if(d=e.input.charCodeAt(++e.position),d===43||d===45)Su===n?n=d===43?Xa:J3:J(e,"repeat of a chomping mode identifier");else if((h=nh(d))>=0)h===0?J(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):i?J(e,"repeat of an indentation width identifier"):(o=t+h-1,i=!0);else break;if(Q0(d)){do d=e.input.charCodeAt(++e.position);while(Q0(d));if(d===35)do d=e.input.charCodeAt(++e.position);while(!c0(d)&&d!==0)}for(;d!==0;){for(xn(e),e.lineIndent=0,d=e.input.charCodeAt(e.position);(!i||e.lineIndento&&(o=e.lineIndent),c0(d)){s++;continue}if(e.lineIndentt)&&s!==0)J(e,"bad indentation of a sequence entry");else if(e.lineIndentt)&&(S&&(i=e.line,o=e.lineStart,s=e.position),vt(e,t,Dr,!0,n)&&(S?x=e.result:C=e.result),S||(ft(e,d,g,v,x,C,i,o,s),v=x=C=null),_e(e,!0,-1),M=e.input.charCodeAt(e.position)),(e.line===a||e.lineIndent>t)&&M!==0)J(e,"bad indentation of a mapping entry");else if(e.lineIndentt?s=1:e.lineIndent===t?s=0:e.lineIndentt?s=1:e.lineIndent===t?s=0:e.lineIndent tag; it should be "scalar", not "'+e.kind+'"'),d=0,g=e.implicitTypes.length;d"),e.result!==null&&x.kind!==e.kind&&J(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+x.kind+'", not "'+e.kind+'"'),x.resolve(e.result,e.tag)?(e.result=x.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):J(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||h}function bh(e){var t=e.position,r,u,n,a=!1,i;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(i=e.input.charCodeAt(e.position))!==0&&(_e(e,!0,-1),i=e.input.charCodeAt(e.position),!(e.lineIndent>0||i!==37));){for(a=!0,i=e.input.charCodeAt(++e.position),r=e.position;i!==0&&!qe(i);)i=e.input.charCodeAt(++e.position);for(u=e.input.slice(r,e.position),n=[],u.length<1&&J(e,"directive name must not be less than one character in length");i!==0;){for(;Q0(i);)i=e.input.charCodeAt(++e.position);if(i===35){do i=e.input.charCodeAt(++e.position);while(i!==0&&!c0(i));break}if(c0(i))break;for(r=e.position;i!==0&&!qe(i);)i=e.input.charCodeAt(++e.position);n.push(e.input.slice(r,e.position))}i!==0&&xn(e),G0.call(Qa,u)?Qa[u](e,u,n):Tr(e,'unknown document directive "'+u+'"')}if(_e(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,_e(e,!0,-1)):a&&J(e,"directives end mark is expected"),vt(e,e.lineIndent-1,Dr,!1,!0),_e(e,!0,-1),e.checkLineBreaks&&eh.test(e.input.slice(t,e.position))&&Tr(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&Hr(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,_e(e,!0,-1));return}if(e.positiont)&&s!==0)J(e,"bad indentation of a sequence entry");else if(e.lineIndentt)&&(S&&(i=e.line,o=e.lineStart,s=e.position),vt(e,t,Dr,!0,n)&&(S?x=e.result:C=e.result),S||(ft(e,d,g,v,x,C,i,o,s),v=x=C=null),_e(e,!0,-1),M=e.input.charCodeAt(e.position)),(e.line===a||e.lineIndent>t)&&M!==0)J(e,"bad indentation of a mapping entry");else if(e.lineIndentt?s=1:e.lineIndent===t?s=0:e.lineIndentt?s=1:e.lineIndent===t?s=0:e.lineIndent tag; it should be "scalar", not "'+e.kind+'"'),d=0,g=e.implicitTypes.length;d"),e.result!==null&&x.kind!==e.kind&&J(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+x.kind+'", not "'+e.kind+'"'),x.resolve(e.result,e.tag)?(e.result=x.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):J(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||h}function bh(e){var t=e.position,r,u,n,a=!1,i;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(i=e.input.charCodeAt(e.position))!==0&&(_e(e,!0,-1),i=e.input.charCodeAt(e.position),!(e.lineIndent>0||i!==37));){for(a=!0,i=e.input.charCodeAt(++e.position),r=e.position;i!==0&&!qe(i);)i=e.input.charCodeAt(++e.position);for(u=e.input.slice(r,e.position),n=[],u.length<1&&J(e,"directive name must not be less than one character in length");i!==0;){for(;Q0(i);)i=e.input.charCodeAt(++e.position);if(i===35){do i=e.input.charCodeAt(++e.position);while(i!==0&&!c0(i));break}if(c0(i))break;for(r=e.position;i!==0&&!qe(i);)i=e.input.charCodeAt(++e.position);n.push(e.input.slice(r,e.position))}i!==0&&xn(e),G0.call(Qa,u)?Qa[u](e,u,n):Tr(e,'unknown document directive "'+u+'"')}if(_e(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,_e(e,!0,-1)):a&&J(e,"directives end mark is expected"),vt(e,e.lineIndent-1,Dr,!1,!0),_e(e,!0,-1),e.checkLineBreaks&&eh.test(e.input.slice(t,e.position))&&Tr(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&$r(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,_e(e,!0,-1));return}if(e.position"u"&&(r=t,t=null);var u=i1(e,r);if(typeof t!="function")return u;for(var n=0,a=u.length;n{let r=1,u=t.indexOf(` `);const n=e.index+e[0].length;for(;u!==-1;){if(u>=n)return r;r++,u=t.indexOf(` `,u+1)}return r},ri={},Dh=e=>{const t=_h.exec(e);if(!t)return{attributes:{},body:e,bodyBegin:1};const r=t[t.length-1].replace(/^\s+|\s+$/g,""),u=e.replace(t[0],""),n=Eh(t,e);try{const a=kh(r)||{};return ri=a,{attributes:a,body:u,bodyBegin:n,frontmatter:r}}catch{return{attributes:ri,body:u,bodyBegin:n,frontmatter:r}}},Th=e=>{e=e||"";const t=e.split(/(\r?\n)/);return t[0]&&/= yaml =|---/.test(t[0])?Dh(e):{attributes:{},body:e,bodyBegin:1}},Mh=Th;const Fh=(()=>{const e=new Qe({html:!0});return e.use(ff),e.use(gd),e.use(_d),e.use(Id),e.use(pf,{matcher:t=>/^https?:\/\//.test(t),attrs:{target:"_blank",rel:"noopener"}}),e})(),zh=e=>{const t=/
([\s\S]*?)<\/dl>/g,r=e.match(t);if(r===null)return e;for(const u of r){const n=u.replace(/<\/dd>\n
/g,` @@ -546,4 +546,4 @@ ewpage`,!0},Fd=(e,t,r,u)=>{const n=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(u||n `)}}return`
${r}
`+e},Bh=e=>{const{body:t,attributes:r}=Mh(e);let u=Fh.render(t);return u=zh(u),u=Ih(u,r),u};var Nh="md-it-newpage",Rh=(e,t)=>{const r=Array.from(e.querySelectorAll(t));for(const u of r)e.removeChild(u)},Oh=(e,t,r,u,n,a)=>{const i=document.querySelector(`#${e}`);if(!i)return;Rh(i,".vue-smart-page-break");const o=t-r-u,s=d=>{const g=document.createElement("div");return g.className="vue-smart-page-break",g.style.marginTop=`${d}px`,g.style.paddingBottom=`${u}px`,g.style.marginLeft=`-${n}px`,g.style.marginRight=`-${a}px`,g};let c=0;const h=document.createElement("div");for(const d of Array.from(i.children)){const g=window.getComputedStyle(d,null),v=d.clientHeight+parseInt(g.marginTop)+parseInt(g.marginBottom);(c+v>o||d.className===Nh)&&(h.appendChild(s(t-c-r)),c=0),h.appendChild(d.cloneNode(!0)),c+=v}i.innerHTML=h.innerHTML,i.style.paddingBottom=`${t-c-r}px`},Lh=Lu({name:"SmartPages",props:{id:{type:String,required:!0},content:{type:String,required:!1,default:""},height:{type:Number,required:!0},width:{type:Number,required:!0},top:{type:Number,required:!1,default:0},bottom:{type:Number,required:!1,default:0},left:{type:Number,required:!1,default:0},right:{type:Number,required:!1,default:0},watch:{type:Array,required:!1,default:()=>[]},watchDelay:{type:Array,required:!1,default:()=>[]},beforeBreakPage:{type:Function,required:!1,default:()=>{}},afterBreakPage:{type:Function,required:!1,default:()=>{}}},setup(e,{expose:t}){const r=`vue-smart-pages-${e.id}`,u=()=>qu(`#${r} { padding: ${e.top}px ${e.right}px ${e.bottom}px ${e.left}px; width: ${e.width}mm; - }`,r),n=a=>{u();const i=()=>{Oh(r,e.height,e.top,e.bottom,e.left,e.right),e.afterBreakPage&&e.afterBreakPage()};if(e.beforeBreakPage){const o=e.beforeBreakPage();if(o&&typeof o.then=="function"){a?o.then(()=>setTimeout(i,a)):o.then(i);return}}a?setTimeout(i,a):i()};return Mr(()=>{q0(()=>[e.top,e.bottom,e.left,e.right,e.width,e.content,e.height,...e.watch],()=>Wn(n,200)()),q0(()=>e.watchDelay,()=>Wn(()=>n(100),200)()),u()}),t({resolvePages:n}),()=>ds("div",{class:"vue-smart-pages",id:r,innerHTML:e.content})}}),Ph=Lh;const o6=Lu({__name:"ResumeRender",props:{id:{},markdown:{},css:{},styles:{}},setup(e,{expose:t}){const r=$0();return t({forceUpdate:()=>{r.value.resolvePages(100)}}),(n,a)=>(ii(),hs(Ze(Ph),{id:n.id,ref_key:"smart",ref:r,content:("renderMarkdown"in n?n.renderMarkdown:Ze(Bh))(n.markdown),height:("getPaperPx"in n?n.getPaperPx:Ze(js))(n.styles.paper,"h"),width:("PAPER"in n?n.PAPER:Ze(pi))[n.styles.paper].w,top:n.styles.marginV,bottom:Math.max(n.styles.marginV-10,"CHROME_PRINT_BOTTOM"in n?n.CHROME_PRINT_BOTTOM:Ze(Ps)),left:n.styles.marginH,right:n.styles.marginH,"before-break-page":()=>("onFontLoaded"in n?n.onFontLoaded:Ze(al))(n.styles),watch:[n.styles.lineHeight,n.styles.paragraphSpace,n.styles.fontSize,n.css],"watch-delay":[n.styles.fontCJK,n.styles.fontEN]},null,8,["id","content","height","width","top","bottom","left","right","before-break-page","watch","watch-delay"]))}});export{e6 as A,Ls as B,Gh as C,ul as D,qs as E,Os as F,Xh as G,Vs as M,pi as P,jh as T,Vh as _,ll as a,i6 as b,Wn as c,n6 as d,js as e,o6 as f,ci as g,dl as h,xi as i,Zh as j,ol as k,Uh as l,Wh as m,Yh as n,$s as o,et as p,t6 as q,u6 as r,pl as s,ws as t,$u as u,a6 as v,Jh as w,Qh as x,Kh as y,r6 as z}; + }`,r),n=a=>{u();const i=()=>{Oh(r,e.height,e.top,e.bottom,e.left,e.right),e.afterBreakPage&&e.afterBreakPage()};if(e.beforeBreakPage){const o=e.beforeBreakPage();if(o&&typeof o.then=="function"){a?o.then(()=>setTimeout(i,a)):o.then(i);return}}a?setTimeout(i,a):i()};return Mr(()=>{q0(()=>[e.top,e.bottom,e.left,e.right,e.width,e.content,e.height,...e.watch],()=>Wn(n,200)()),q0(()=>e.watchDelay,()=>Wn(()=>n(100),200)()),u()}),t({resolvePages:n}),()=>ds("div",{class:"vue-smart-pages",id:r,innerHTML:e.content})}}),Ph=Lh;const o6=Lu({__name:"ResumeRender",props:{id:{},markdown:{},css:{},styles:{}},setup(e,{expose:t}){const r=H0();return t({forceUpdate:()=>{r.value.resolvePages(100)}}),(n,a)=>(ii(),hs(Ze(Ph),{id:n.id,ref_key:"smart",ref:r,content:("renderMarkdown"in n?n.renderMarkdown:Ze(Bh))(n.markdown),height:("getPaperPx"in n?n.getPaperPx:Ze(js))(n.styles.paper,"h"),width:("PAPER"in n?n.PAPER:Ze(pi))[n.styles.paper].w,top:n.styles.marginV,bottom:Math.max(n.styles.marginV-10,"CHROME_PRINT_BOTTOM"in n?n.CHROME_PRINT_BOTTOM:Ze(Ps)),left:n.styles.marginH,right:n.styles.marginH,"before-break-page":()=>("onFontLoaded"in n?n.onFontLoaded:Ze(al))(n.styles),watch:[n.styles.lineHeight,n.styles.paragraphSpace,n.styles.fontSize,n.css],"watch-delay":[n.styles.fontCJK,n.styles.fontEN]},null,8,["id","content","height","width","top","bottom","left","right","before-break-page","watch","watch-delay"]))}});export{e6 as A,Ls as B,Gh as C,ul as D,qs as E,Os as F,Xh as G,Vs as M,pi as P,jh as T,Vh as _,ll as a,i6 as b,Wn as c,n6 as d,js as e,o6 as f,ci as g,dl as h,xi as i,Zh as j,ol as k,Uh as l,Wh as m,Yh as n,Hs as o,et as p,t6 as q,u6 as r,pl as s,ws as t,Hu as u,a6 as v,Jh as w,Qh as x,Kh as y,r6 as z}; diff --git a/assets/kFzsb1UL.js b/assets/Y1k7zYV_.js similarity index 85% rename from assets/kFzsb1UL.js rename to assets/Y1k7zYV_.js index c52557f..8904fbd 100644 --- a/assets/kFzsb1UL.js +++ b/assets/Y1k7zYV_.js @@ -1 +1 @@ -import{_ as n,o as s,c as a,a as t,d as h,S as l,b as o,w as m,a9 as _}from"./Dln5YeVe.js";import{_ as u}from"./BnZW0xzS.js";const p={},x={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"feather feather-book-open"},f=t("path",{d:"M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"},null,-1),k=t("path",{d:"M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"},null,-1),$=[f,k];function b(e,r){return s(),a("svg",x,$)}const g=n(p,[["render",b]]),w={},v=t("span",{"text-brand":""},"Markdown",-1);function B(e,r){return s(),a(l,null,[v,h(" Resume")],64)}const N=n(w,[["render",B]]),j={},y={class:"header hstack justify-between pl-4 pr-1 text-c"},M={text:"base md:lg"},V={hstack:""},z=t("a",{class:"round-btn",href:"http://github.com/junian/markdown-resume/",target:"_blank",rel:"nofollow noopener"},[t("span",{"i-tabler:brand-github":"","md:text-lg":""})],-1);function C(e,r){const c=g,d=N,i=u;return s(),a("header",y,[o(i,{class:"hstack space-x-2 cursor-pointer text-gray-900 dark:text-gray-100",to:e.$nuxt.$localePath("/")},{default:m(()=>[o(c,{"hide-on-mobile":"",text:"sm md:base"}),t("h1",M,[o(d)])]),_:1},8,["to"]),_(e.$slots,"middle"),t("div",V,[_(e.$slots,"tail"),z])])}const F=n(j,[["render",C]]);export{F as _,N as a}; +import{_ as n,o as s,c as a,a as t,d as h,F as l,b as o,w as m,aa as _}from"./BPRoNp8L.js";import{_ as u}from"./CXg0UUxL.js";const p={},x={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"feather feather-book-open"},f=t("path",{d:"M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"},null,-1),k=t("path",{d:"M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"},null,-1),$=[f,k];function b(e,r){return s(),a("svg",x,$)}const g=n(p,[["render",b]]),w={},v=t("span",{"text-brand":""},"Markdown",-1);function B(e,r){return s(),a(l,null,[v,h(" Resume")],64)}const N=n(w,[["render",B]]),j={},y={class:"header hstack justify-between pl-4 pr-1 text-c"},M={text:"base md:lg"},V={hstack:""},z=t("a",{class:"round-btn",href:"http://github.com/junian/markdown-resume/",target:"_blank",rel:"nofollow noopener"},[t("span",{"i-tabler:brand-github":"","md:text-lg":""})],-1);function C(e,r){const c=g,d=N,i=u;return s(),a("header",y,[o(i,{class:"hstack space-x-2 cursor-pointer text-gray-900 dark:text-gray-100",to:e.$nuxt.$localePath("/")},{default:m(()=>[o(c,{"hide-on-mobile":"",text:"sm md:base"}),t("h1",M,[o(d)])]),_:1},8,["to"]),_(e.$slots,"middle"),t("div",V,[_(e.$slots,"tail"),z])])}const H=n(j,[["render",C]]);export{H as _,N as a}; diff --git a/assets/builds/latest.json b/assets/builds/latest.json index f6422f3..77b0202 100644 --- a/assets/builds/latest.json +++ b/assets/builds/latest.json @@ -1 +1 @@ -{"id":"8f753354-3c87-4105-be84-9ca9cace284c","timestamp":1714711222757} \ No newline at end of file +{"id":"28f1fd2c-4d03-469d-9c0d-216b5b0d34d4","timestamp":1714711962334} \ No newline at end of file diff --git a/assets/builds/meta/28f1fd2c-4d03-469d-9c0d-216b5b0d34d4.json b/assets/builds/meta/28f1fd2c-4d03-469d-9c0d-216b5b0d34d4.json new file mode 100644 index 0000000..8304bfc --- /dev/null +++ b/assets/builds/meta/28f1fd2c-4d03-469d-9c0d-216b5b0d34d4.json @@ -0,0 +1 @@ +{"id":"28f1fd2c-4d03-469d-9c0d-216b5b0d34d4","timestamp":1714711962334,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":["/"]} \ No newline at end of file diff --git a/assets/builds/meta/8f753354-3c87-4105-be84-9ca9cace284c.json b/assets/builds/meta/8f753354-3c87-4105-be84-9ca9cace284c.json deleted file mode 100644 index 383c0cf..0000000 --- a/assets/builds/meta/8f753354-3c87-4105-be84-9ca9cace284c.json +++ /dev/null @@ -1 +0,0 @@ -{"id":"8f753354-3c87-4105-be84-9ca9cace284c","timestamp":1714711222757,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":["/","/resumes"]} \ No newline at end of file diff --git a/assets/CRIStmI6.js b/assets/hBvKrcbX.js similarity index 99% rename from assets/CRIStmI6.js rename to assets/hBvKrcbX.js index 40bb73e..36bcb88 100644 --- a/assets/CRIStmI6.js +++ b/assets/hBvKrcbX.js @@ -1,4 +1,4 @@ -import{m as je}from"./DlKjphzx.js";import"./Dln5YeVe.js";/*!----------------------------------------------------------------------------- +import{m as je}from"./CSm8Qi0c.js";import"./BPRoNp8L.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license diff --git a/assets/iEvso_UL.js b/assets/iEvso_UL.js deleted file mode 100644 index 390f96a..0000000 --- a/assets/iEvso_UL.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as h,a as p}from"./kFzsb1UL.js";import{_ as u}from"./BnZW0xzS.js";import{_ as x,c as s,b as a,a as t,d as g,t as i,w as f,S as _,T as d,o as n,aa as b}from"./Dln5YeVe.js";const v={},k={class:"landing-page"},$={class:"workspace"},w={class:"h-fit max-w-240 sm:absolute sm:inset-0 sm:m-auto",p:"x-5 t-40 md:x-20 lt-sm:b-10"},y={"text-center":""},T=["innerHTML"],H={"my-10":"","text-light-c":"","sm:text-lg":""},L={class:"text-white bg-brand rounded-lg mx-auto duration-200",p:"x-4 y-3",outline:"~ 4 transparent hover:rose-300/50"},B={m:"t-15 x-auto",grid:"~ cols-1 sm:cols-2 gap-y-10","text-light-c":"","max-w-150":""},M={"w-fit":"","sm:mx-auto":""},N={hstack:"","mb-3":"","space-x-1.5":""},V={key:0,"i-wpf:privacy":""},z={key:1,"i-mdi:rocket-launch":""},C={"text-c":""},S={"text-sm":"","pl-2":"","ml-4.5":"","list-disc":""},D=["innerHTML"];function E(e,F){const r=h,l=p,m=u;return n(),s("div",k,[a(r),t("div",$,[t("div",w,[t("div",y,[t("h1",{text:"c 3xl sm:4xl",innerHTML:e.$t("landing.hero")},null,8,T),t("div",H,[a(l),g(" "+i(e.$t("landing.desc")),1)]),a(m,{to:e.$nuxt.$localePath("/resumes")},{default:f(()=>[t("span",L,i(e.$t("landing.start")),1)]),_:1},8,["to"])]),t("div",B,[(n(),s(_,null,d([0,1],o=>t("div",{key:o},[t("div",M,[t("div",N,[t("span",{class:b(["circle size-5 text-white text-xs",o?"bg-blue-400":"bg-brand"])},[o?(n(),s("span",V)):(n(),s("span",z))],2),t("h2",C,i(e.$t(`landing.feats[${o}].title`)),1)]),t("ul",S,[(n(!0),s(_,null,d(e.$t(`landing.feats[${o}].items`).split("
"),c=>(n(),s("li",{key:c,innerHTML:c},null,8,D))),128))])])])),64))])])])])}const A=x(v,[["render",E]]);export{A as default}; diff --git a/assets/resumes.CxMfCn6q.css b/assets/index.CxMfCn6q.css similarity index 100% rename from assets/resumes.CxMfCn6q.css rename to assets/index.CxMfCn6q.css diff --git a/assets/7tQbjCa0.js b/assets/j1IFKjJD.js similarity index 98% rename from assets/7tQbjCa0.js rename to assets/j1IFKjJD.js index 9626ed5..3562f07 100644 --- a/assets/7tQbjCa0.js +++ b/assets/j1IFKjJD.js @@ -1,4 +1,4 @@ -import{m as a}from"./DlKjphzx.js";import"./Dln5YeVe.js";/*!----------------------------------------------------------------------------- +import{m as a}from"./CSm8Qi0c.js";import"./BPRoNp8L.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d) * Released under the MIT license diff --git a/en-sitemap.xml b/en-sitemap.xml index 4f76446..c9e32fa 100644 --- a/en-sitemap.xml +++ b/en-sitemap.xml @@ -6,8 +6,5 @@ https://www.juniansoft.com/markdown-resume/markdown-resume/markdown-resume - - https://www.juniansoft.com/markdown-resume/markdown-resume/resumes - \ No newline at end of file diff --git a/index.html b/index.html index 4263bd6..b54323b 100644 --- a/index.html +++ b/index.html @@ -16,19 +16,21 @@ - + - - - - + + + + + + - + - -

Markdown Resume

Write your resume in Markdown!

Markdown Resume is a free and open source tool created to build and manage your resumes as easy as possible, without losing the privacy of your data.
Create My Resume

Simple and Powerful

  • Manage multiple resumes
  • Real-time preview
  • Export to PDF format
  • Fully customizable
  • Pick fonts and add icons
  • And more features

Privacy First

  • Open source and free
  • Data are saved locally
  • No login or registration required
  • No user tracking
  • No ads
+ +

Markdown Resume

My Resumes

\ No newline at end of file diff --git a/resumes/_payload.json b/resumes/_payload.json deleted file mode 100644 index 2860569..0000000 --- a/resumes/_payload.json +++ /dev/null @@ -1 +0,0 @@ -[{"data":1,"prerenderedAt":3},["Reactive",2],{},1714711251613] \ No newline at end of file diff --git a/resumes/index.html b/resumes/index.html deleted file mode 100644 index db46102..0000000 --- a/resumes/index.html +++ /dev/null @@ -1,36 +0,0 @@ - - -Markdown Resume - Free Online Markdown Resume Maker - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Markdown Resume

My Resumes

- - \ No newline at end of file diff --git a/sw.js b/sw.js index f51b3bc..5153e22 100644 --- a/sw.js +++ b/sw.js @@ -1 +1 @@ -if(!self.define){let s,l={};const e=(e,i)=>(e=new URL(e+".js",i).href,l[e]||new Promise((l=>{if("document"in self){const s=document.createElement("script");s.src=e,s.onload=l,document.head.appendChild(s)}else s=e,importScripts(e),l()})).then((()=>{let s=l[e];if(!s)throw new Error(`Module ${e} didn’t register its module`);return s})));self.define=(i,r)=>{const n=s||("document"in self?document.currentScript.src:"")||location.href;if(l[n])return;let u={};const a=s=>e(s,n),t={module:{uri:n},exports:u,require:a};l[n]=Promise.all(i.map((s=>t[s]||a(s)))).then((s=>(r(...s),u)))}}define(["./workbox-1eb19836"],(function(s){"use strict";self.skipWaiting(),s.clientsClaim(),s.precacheAndRoute([{url:"200",revision:"28df18e402379c45cd6409626646eca6"},{url:"404",revision:"28df18e402379c45cd6409626646eca6"},{url:"apple-touch-icon.png",revision:"8b5d23adf13cc40f215a72fad25d9b1d"},{url:"assets/_id_.B2wLhRfn.css",revision:null},{url:"assets/0vF3UBZ8.js",revision:null},{url:"assets/3aLoi2fs.js",revision:null},{url:"assets/55eqh71t.js",revision:null},{url:"assets/7tQbjCa0.js",revision:null},{url:"assets/8kKHd4ZL.js",revision:null},{url:"assets/9lSzqoBv.js",revision:null},{url:"assets/B7F3HtPF.js",revision:null},{url:"assets/B8Y-amhX.js",revision:null},{url:"assets/B9TqLHAk.js",revision:null},{url:"assets/BACCcnx_.js",revision:null},{url:"assets/bC257e71.js",revision:null},{url:"assets/BcKiSp9X.js",revision:null},{url:"assets/BCTFAUpS.js",revision:null},{url:"assets/BE8RsGBA.js",revision:null},{url:"assets/BemVzBTY.js",revision:null},{url:"assets/Bg9QKxBu.js",revision:null},{url:"assets/BGDl7St1.js",revision:null},{url:"assets/BHddiNFS.js",revision:null},{url:"assets/BHUZy23s.js",revision:null},{url:"assets/Bi_qi707.js",revision:null},{url:"assets/BngAsCmt.js",revision:null},{url:"assets/BnZW0xzS.js",revision:null},{url:"assets/Bo4w8WvM.js",revision:null},{url:"assets/bold.2JfRo6pj.ttf",revision:null},{url:"assets/bold.B4o9Siml.ttf",revision:null},{url:"assets/bold.CArNNkSo.otf",revision:null},{url:"assets/bold.CX3nFGdj.otf",revision:null},{url:"assets/bold.D1b7czW9.ttf",revision:null},{url:"assets/bold.D8A7svot.ttf",revision:null},{url:"assets/bold.DcqXiNP3.otf",revision:null},{url:"assets/bolditalic.BmuAIsMD.ttf",revision:null},{url:"assets/bolditalic.BuOu_Z5X.otf",revision:null},{url:"assets/bolditalic.Cn4P82iL.otf",revision:null},{url:"assets/bolditalic.DbIlENiU.ttf",revision:null},{url:"assets/bolditalic.gU__EM_J.ttf",revision:null},{url:"assets/bolditalic.uP5PuZ0j.otf",revision:null},{url:"assets/BR_hrfni.js",revision:null},{url:"assets/BriwQgXR.js",revision:null},{url:"assets/BrXDlLUW.js",revision:null},{url:"assets/BtxyJn6H.js",revision:null},{url:"assets/Btz91-7U.js",revision:null},{url:"assets/BVWDLtw5.js",revision:null},{url:"assets/BvyzZa65.js",revision:null},{url:"assets/ByThyB2Q.js",revision:null},{url:"assets/C__SbcrF.js",revision:null},{url:"assets/C3-3IcFM.js",revision:null},{url:"assets/C4g7059C.js",revision:null},{url:"assets/C5qsztzZ.js",revision:null},{url:"assets/C6Gjjw_x.js",revision:null},{url:"assets/C7hRTYZ9.js",revision:null},{url:"assets/CaUdfbQS.js",revision:null},{url:"assets/CElzELwZ.js",revision:null},{url:"assets/CGsvhooB.js",revision:null},{url:"assets/CJarhp0e.js",revision:null},{url:"assets/CKDUeRmd.js",revision:null},{url:"assets/CkfV88j3.js",revision:null},{url:"assets/ClBCoF8h.js",revision:null},{url:"assets/codicon.BA2IlpFX.ttf",revision:null},{url:"assets/CQ6TMH2r.js",revision:null},{url:"assets/CRIStmI6.js",revision:null},{url:"assets/Crkvc3mc.js",revision:null},{url:"assets/css.worker-DvNUQFd1.js",revision:null},{url:"assets/CUbwzJXA.js",revision:null},{url:"assets/CuCtxA7T.js",revision:null},{url:"assets/CUDIMWkK.js",revision:null},{url:"assets/CUsyEhik.js",revision:null},{url:"assets/CuU66Ptk.js",revision:null},{url:"assets/Cx8wtMdZ.js",revision:null},{url:"assets/CxaaEKKi.js",revision:null},{url:"assets/CxkHN6oT.js",revision:null},{url:"assets/CY5IOZuu.js",revision:null},{url:"assets/CYoSlgTu.js",revision:null},{url:"assets/D-OVkc4F.js",revision:null},{url:"assets/D2p3uOX2.js",revision:null},{url:"assets/D3ApGBxz.js",revision:null},{url:"assets/D5sGVkLV.js",revision:null},{url:"assets/D6taVZFb.js",revision:null},{url:"assets/D8nrxEjS.js",revision:null},{url:"assets/D8U817WZ.js",revision:null},{url:"assets/D8V_buCG.js",revision:null},{url:"assets/De1axCfe.js",revision:null},{url:"assets/DFjpnwFp.js",revision:null},{url:"assets/DgZoLDI1.js",revision:null},{url:"assets/DIEZMp5R.js",revision:null},{url:"assets/DL_FVbcQ.js",revision:null},{url:"assets/DlKjphzx.js",revision:null},{url:"assets/Dln5YeVe.js",revision:null},{url:"assets/DNI1vH3h.js",revision:null},{url:"assets/DNUaDNdz.js",revision:null},{url:"assets/DrIuu9u1.js",revision:null},{url:"assets/DRxbB97D.js",revision:null},{url:"assets/Dsa4rhA_.js",revision:null},{url:"assets/DSpi8_qN.js",revision:null},{url:"assets/DsrzVyM1.js",revision:null},{url:"assets/DUImKuGY.js",revision:null},{url:"assets/DVJXmIwd.js",revision:null},{url:"assets/DXk0n8Ee.js",revision:null},{url:"assets/DYsfeylR.js",revision:null},{url:"assets/DZNw3jJB.js",revision:null},{url:"assets/editor.ChyOjXgx.css",revision:null},{url:"assets/editor.worker-BVwmgLrR.js",revision:null},{url:"assets/entry.BR_O2Prr.css",revision:null},{url:"assets/error-404.DtbKAVpD.css",revision:null},{url:"assets/error-500.7_wNPYQ_.css",revision:null},{url:"assets/GbSrCElU.js",revision:null},{url:"assets/hbBFZ0w9.js",revision:null},{url:"assets/iEvso_UL.js",revision:null},{url:"assets/italic.B006CNRt.otf",revision:null},{url:"assets/italic.BfYpPhiQ.ttf",revision:null},{url:"assets/italic.BhLaVUsL.ttf",revision:null},{url:"assets/italic.CtQkwsbK.otf",revision:null},{url:"assets/italic.sUu3xK4L.otf",revision:null},{url:"assets/italic.U3zDcBL8.ttf",revision:null},{url:"assets/jqFeRM5s.js",revision:null},{url:"assets/KaTeX_AMS-Regular.BQhdFMY1.woff2",revision:null},{url:"assets/KaTeX_AMS-Regular.DRggAlZN.ttf",revision:null},{url:"assets/KaTeX_Caligraphic-Bold.ATXxdsX0.ttf",revision:null},{url:"assets/KaTeX_Caligraphic-Bold.Dq_IR9rO.woff2",revision:null},{url:"assets/KaTeX_Caligraphic-Regular.Di6jR-x-.woff2",revision:null},{url:"assets/KaTeX_Caligraphic-Regular.wX97UBjC.ttf",revision:null},{url:"assets/KaTeX_Fraktur-Bold.BdnERNNW.ttf",revision:null},{url:"assets/KaTeX_Fraktur-Bold.CL6g_b3V.woff2",revision:null},{url:"assets/KaTeX_Fraktur-Regular.CB_wures.ttf",revision:null},{url:"assets/KaTeX_Fraktur-Regular.CTYiF6lA.woff2",revision:null},{url:"assets/KaTeX_Main-Bold.Cx986IdX.woff2",revision:null},{url:"assets/KaTeX_Main-Bold.waoOVXN0.ttf",revision:null},{url:"assets/KaTeX_Main-BoldItalic.DxDJ3AOS.woff2",revision:null},{url:"assets/KaTeX_Main-BoldItalic.DzxPMmG6.ttf",revision:null},{url:"assets/KaTeX_Main-Italic.3WenGoN9.ttf",revision:null},{url:"assets/KaTeX_Main-Italic.NWA7e6Wa.woff2",revision:null},{url:"assets/KaTeX_Main-Regular.B22Nviop.woff2",revision:null},{url:"assets/KaTeX_Main-Regular.ypZvNtVU.ttf",revision:null},{url:"assets/KaTeX_Math-BoldItalic.B3XSjfu4.ttf",revision:null},{url:"assets/KaTeX_Math-BoldItalic.CZnvNsCZ.woff2",revision:null},{url:"assets/KaTeX_Math-Italic.flOr_0UB.ttf",revision:null},{url:"assets/KaTeX_Math-Italic.t53AETM-.woff2",revision:null},{url:"assets/KaTeX_SansSerif-Bold.CFMepnvq.ttf",revision:null},{url:"assets/KaTeX_SansSerif-Bold.D1sUS0GD.woff2",revision:null},{url:"assets/KaTeX_SansSerif-Italic.C3H0VqGB.woff2",revision:null},{url:"assets/KaTeX_SansSerif-Italic.YYjJ1zSn.ttf",revision:null},{url:"assets/KaTeX_SansSerif-Regular.BNo7hRIc.ttf",revision:null},{url:"assets/KaTeX_SansSerif-Regular.DDBCnlJ7.woff2",revision:null},{url:"assets/KaTeX_Script-Regular.C5JkGWo-.ttf",revision:null},{url:"assets/KaTeX_Script-Regular.D3wIWfF6.woff2",revision:null},{url:"assets/KaTeX_Size1-Regular.Dbsnue_I.ttf",revision:null},{url:"assets/KaTeX_Size1-Regular.mCD8mA8B.woff2",revision:null},{url:"assets/KaTeX_Size2-Regular.B7gKUWhC.ttf",revision:null},{url:"assets/KaTeX_Size2-Regular.Dy4dx90m.woff2",revision:null},{url:"assets/KaTeX_Size3-Regular.DgpXs0kz.ttf",revision:null},{url:"assets/KaTeX_Size4-Regular.Dl5lxZxV.woff2",revision:null},{url:"assets/KaTeX_Size4-Regular.DWFBv043.ttf",revision:null},{url:"assets/KaTeX_Typewriter-Regular.CO6r4hn1.woff2",revision:null},{url:"assets/KaTeX_Typewriter-Regular.D3Ib7_Hf.ttf",revision:null},{url:"assets/kFzsb1UL.js",revision:null},{url:"assets/KqQ96-gC.js",revision:null},{url:"assets/kS1a4axV.js",revision:null},{url:"assets/LA0C7mUc.js",revision:null},{url:"assets/N5ajIiFQ.js",revision:null},{url:"assets/NlesULI2.js",revision:null},{url:"assets/regular.C59i-JIY.otf",revision:null},{url:"assets/regular.DCtZAFBW.otf",revision:null},{url:"assets/regular.DT0fM1uu.ttf",revision:null},{url:"assets/regular.DTSkpAnp.ttf",revision:null},{url:"assets/regular.DysTBsqN.ttf",revision:null},{url:"assets/regular.lvl9fZ61.ttf",revision:null},{url:"assets/regular.ujiHdYas.otf",revision:null},{url:"assets/resumes.CxMfCn6q.css",revision:null},{url:"assets/RrYsET18.js",revision:null},{url:"assets/VVGvvgir.js",revision:null},{url:"assets/w7.G_kyatnr.ttf",revision:null},{url:"assets/w9.LxosMOIK.ttf",revision:null},{url:"assets/Z6z2stHy.js",revision:null},{url:"assets/zD_CCkZ1.js",revision:null},{url:"favicon-dark.svg",revision:"0bd73d900e2e3202205eb299a48b03f3"},{url:"favicon.svg",revision:"17f2f493bc1fe81f0978c84708b437d1"},{url:"/markdown-resume/",revision:"36f73257bd109373aa6694449b52d1a8"},{url:"pwa-192x192.png",revision:"e3ee23607a02913fa308a010c3f732be"},{url:"pwa-512x512.png",revision:"94db878cb6e20a5ae061b5352c96d243"},{url:"resumes",revision:"8b68eef8628c4091aebc8fe57a1bfc0f"},{url:"safari-pinned-tab.svg",revision:"a3343345003f1a535c38ceb6a8baa4e9"},{url:"_payload.json",revision:"cb75600de2c998efe7423fa422d3eb4f"},{url:"resumes/_payload.json",revision:"97176096ef1b305a96ec88cabf31fda0"},{url:"assets/builds/latest.json",revision:"151cb81efe2d1720999591f68692cd18"},{url:"assets/builds/meta/8f753354-3c87-4105-be84-9ca9cace284c.json",revision:null},{url:"manifest.webmanifest",revision:"3b5de7dd4822f6c89f56c1e36a7b2a88"}],{}),s.cleanupOutdatedCaches(),s.registerRoute(new s.NavigationRoute(s.createHandlerBoundToURL("/markdown-resume/"))),s.registerRoute(/^https:\/\/fonts.googleapis.com\/.*/i,new s.CacheFirst({cacheName:"google-fonts-cache",plugins:[new s.ExpirationPlugin({maxEntries:10,maxAgeSeconds:31536e3}),new s.CacheableResponsePlugin({statuses:[0,200]})]}),"GET")})); +if(!self.define){let s,l={};const e=(e,i)=>(e=new URL(e+".js",i).href,l[e]||new Promise((l=>{if("document"in self){const s=document.createElement("script");s.src=e,s.onload=l,document.head.appendChild(s)}else s=e,importScripts(e),l()})).then((()=>{let s=l[e];if(!s)throw new Error(`Module ${e} didn’t register its module`);return s})));self.define=(i,r)=>{const n=s||("document"in self?document.currentScript.src:"")||location.href;if(l[n])return;let u={};const a=s=>e(s,n),t={module:{uri:n},exports:u,require:a};l[n]=Promise.all(i.map((s=>t[s]||a(s)))).then((s=>(r(...s),u)))}}define(["./workbox-1eb19836"],(function(s){"use strict";self.skipWaiting(),s.clientsClaim(),s.precacheAndRoute([{url:"200",revision:"07acae35a2801b14c8a4b073aa72208e"},{url:"404",revision:"07acae35a2801b14c8a4b073aa72208e"},{url:"apple-touch-icon.png",revision:"8b5d23adf13cc40f215a72fad25d9b1d"},{url:"assets/_id_.B2wLhRfn.css",revision:null},{url:"assets/270FioHT.js",revision:null},{url:"assets/3aLoi2fs.js",revision:null},{url:"assets/3ker-Bu6.js",revision:null},{url:"assets/55eqh71t.js",revision:null},{url:"assets/8kKHd4ZL.js",revision:null},{url:"assets/B_WREhsM.js",revision:null},{url:"assets/B3LgLfDG.js",revision:null},{url:"assets/B7F3HtPF.js",revision:null},{url:"assets/B9TqLHAk.js",revision:null},{url:"assets/BACCcnx_.js",revision:null},{url:"assets/bC257e71.js",revision:null},{url:"assets/BCTFAUpS.js",revision:null},{url:"assets/BE8RsGBA.js",revision:null},{url:"assets/BemVzBTY.js",revision:null},{url:"assets/Bg9QKxBu.js",revision:null},{url:"assets/BGDl7St1.js",revision:null},{url:"assets/BHddiNFS.js",revision:null},{url:"assets/BHUZy23s.js",revision:null},{url:"assets/Bi_qi707.js",revision:null},{url:"assets/Bklsg5LV.js",revision:null},{url:"assets/BMIsZxAP.js",revision:null},{url:"assets/bold.2JfRo6pj.ttf",revision:null},{url:"assets/bold.B4o9Siml.ttf",revision:null},{url:"assets/bold.CArNNkSo.otf",revision:null},{url:"assets/bold.CX3nFGdj.otf",revision:null},{url:"assets/bold.D1b7czW9.ttf",revision:null},{url:"assets/bold.D8A7svot.ttf",revision:null},{url:"assets/bold.DcqXiNP3.otf",revision:null},{url:"assets/bolditalic.BmuAIsMD.ttf",revision:null},{url:"assets/bolditalic.BuOu_Z5X.otf",revision:null},{url:"assets/bolditalic.Cn4P82iL.otf",revision:null},{url:"assets/bolditalic.DbIlENiU.ttf",revision:null},{url:"assets/bolditalic.gU__EM_J.ttf",revision:null},{url:"assets/bolditalic.uP5PuZ0j.otf",revision:null},{url:"assets/BPRoNp8L.js",revision:null},{url:"assets/BR_hrfni.js",revision:null},{url:"assets/BriwQgXR.js",revision:null},{url:"assets/BrXDlLUW.js",revision:null},{url:"assets/BtxyJn6H.js",revision:null},{url:"assets/Btz91-7U.js",revision:null},{url:"assets/BVWDLtw5.js",revision:null},{url:"assets/BvyzZa65.js",revision:null},{url:"assets/BXBBJ0Rc.js",revision:null},{url:"assets/BXEMZu0q.js",revision:null},{url:"assets/BXlVqijL.js",revision:null},{url:"assets/ByThyB2Q.js",revision:null},{url:"assets/C__SbcrF.js",revision:null},{url:"assets/C3-3IcFM.js",revision:null},{url:"assets/C4g7059C.js",revision:null},{url:"assets/C57j_BQR.js",revision:null},{url:"assets/C6Gjjw_x.js",revision:null},{url:"assets/C7hRTYZ9.js",revision:null},{url:"assets/CaUdfbQS.js",revision:null},{url:"assets/CaVt64gb.js",revision:null},{url:"assets/Cb467khh.js",revision:null},{url:"assets/CElzELwZ.js",revision:null},{url:"assets/CGsvhooB.js",revision:null},{url:"assets/CJAPUX2G.js",revision:null},{url:"assets/CKDUeRmd.js",revision:null},{url:"assets/ClBCoF8h.js",revision:null},{url:"assets/CnHGZjNE.js",revision:null},{url:"assets/codicon.BA2IlpFX.ttf",revision:null},{url:"assets/CoWul4yg.js",revision:null},{url:"assets/CQ6TMH2r.js",revision:null},{url:"assets/Crkvc3mc.js",revision:null},{url:"assets/CSm8Qi0c.js",revision:null},{url:"assets/css.worker-DvNUQFd1.js",revision:null},{url:"assets/CuCtxA7T.js",revision:null},{url:"assets/CUsyEhik.js",revision:null},{url:"assets/CuU66Ptk.js",revision:null},{url:"assets/CxaaEKKi.js",revision:null},{url:"assets/CXg0UUxL.js",revision:null},{url:"assets/CY5IOZuu.js",revision:null},{url:"assets/CYoSlgTu.js",revision:null},{url:"assets/D-OVkc4F.js",revision:null},{url:"assets/D2p3uOX2.js",revision:null},{url:"assets/D3ApGBxz.js",revision:null},{url:"assets/D5sGVkLV.js",revision:null},{url:"assets/D6taVZFb.js",revision:null},{url:"assets/D8nrxEjS.js",revision:null},{url:"assets/D8V_buCG.js",revision:null},{url:"assets/De1axCfe.js",revision:null},{url:"assets/DFjpnwFp.js",revision:null},{url:"assets/DgZoLDI1.js",revision:null},{url:"assets/DIEZMp5R.js",revision:null},{url:"assets/DL_FVbcQ.js",revision:null},{url:"assets/DNI1vH3h.js",revision:null},{url:"assets/Dnn-_RCQ.js",revision:null},{url:"assets/DNUaDNdz.js",revision:null},{url:"assets/DqbTTvN1.js",revision:null},{url:"assets/DQOICLIX.js",revision:null},{url:"assets/DrIuu9u1.js",revision:null},{url:"assets/DRxbB97D.js",revision:null},{url:"assets/Dsa4rhA_.js",revision:null},{url:"assets/DSpi8_qN.js",revision:null},{url:"assets/DsrzVyM1.js",revision:null},{url:"assets/DUImKuGY.js",revision:null},{url:"assets/DVJXmIwd.js",revision:null},{url:"assets/DYsfeylR.js",revision:null},{url:"assets/DZNw3jJB.js",revision:null},{url:"assets/editor.ChyOjXgx.css",revision:null},{url:"assets/editor.worker-BVwmgLrR.js",revision:null},{url:"assets/entry.BR_O2Prr.css",revision:null},{url:"assets/error-404.DtbKAVpD.css",revision:null},{url:"assets/error-500.7_wNPYQ_.css",revision:null},{url:"assets/GbSrCElU.js",revision:null},{url:"assets/hbBFZ0w9.js",revision:null},{url:"assets/hBvKrcbX.js",revision:null},{url:"assets/index.CxMfCn6q.css",revision:null},{url:"assets/italic.B006CNRt.otf",revision:null},{url:"assets/italic.BfYpPhiQ.ttf",revision:null},{url:"assets/italic.BhLaVUsL.ttf",revision:null},{url:"assets/italic.CtQkwsbK.otf",revision:null},{url:"assets/italic.sUu3xK4L.otf",revision:null},{url:"assets/italic.U3zDcBL8.ttf",revision:null},{url:"assets/j1IFKjJD.js",revision:null},{url:"assets/jqFeRM5s.js",revision:null},{url:"assets/KaTeX_AMS-Regular.BQhdFMY1.woff2",revision:null},{url:"assets/KaTeX_AMS-Regular.DRggAlZN.ttf",revision:null},{url:"assets/KaTeX_Caligraphic-Bold.ATXxdsX0.ttf",revision:null},{url:"assets/KaTeX_Caligraphic-Bold.Dq_IR9rO.woff2",revision:null},{url:"assets/KaTeX_Caligraphic-Regular.Di6jR-x-.woff2",revision:null},{url:"assets/KaTeX_Caligraphic-Regular.wX97UBjC.ttf",revision:null},{url:"assets/KaTeX_Fraktur-Bold.BdnERNNW.ttf",revision:null},{url:"assets/KaTeX_Fraktur-Bold.CL6g_b3V.woff2",revision:null},{url:"assets/KaTeX_Fraktur-Regular.CB_wures.ttf",revision:null},{url:"assets/KaTeX_Fraktur-Regular.CTYiF6lA.woff2",revision:null},{url:"assets/KaTeX_Main-Bold.Cx986IdX.woff2",revision:null},{url:"assets/KaTeX_Main-Bold.waoOVXN0.ttf",revision:null},{url:"assets/KaTeX_Main-BoldItalic.DxDJ3AOS.woff2",revision:null},{url:"assets/KaTeX_Main-BoldItalic.DzxPMmG6.ttf",revision:null},{url:"assets/KaTeX_Main-Italic.3WenGoN9.ttf",revision:null},{url:"assets/KaTeX_Main-Italic.NWA7e6Wa.woff2",revision:null},{url:"assets/KaTeX_Main-Regular.B22Nviop.woff2",revision:null},{url:"assets/KaTeX_Main-Regular.ypZvNtVU.ttf",revision:null},{url:"assets/KaTeX_Math-BoldItalic.B3XSjfu4.ttf",revision:null},{url:"assets/KaTeX_Math-BoldItalic.CZnvNsCZ.woff2",revision:null},{url:"assets/KaTeX_Math-Italic.flOr_0UB.ttf",revision:null},{url:"assets/KaTeX_Math-Italic.t53AETM-.woff2",revision:null},{url:"assets/KaTeX_SansSerif-Bold.CFMepnvq.ttf",revision:null},{url:"assets/KaTeX_SansSerif-Bold.D1sUS0GD.woff2",revision:null},{url:"assets/KaTeX_SansSerif-Italic.C3H0VqGB.woff2",revision:null},{url:"assets/KaTeX_SansSerif-Italic.YYjJ1zSn.ttf",revision:null},{url:"assets/KaTeX_SansSerif-Regular.BNo7hRIc.ttf",revision:null},{url:"assets/KaTeX_SansSerif-Regular.DDBCnlJ7.woff2",revision:null},{url:"assets/KaTeX_Script-Regular.C5JkGWo-.ttf",revision:null},{url:"assets/KaTeX_Script-Regular.D3wIWfF6.woff2",revision:null},{url:"assets/KaTeX_Size1-Regular.Dbsnue_I.ttf",revision:null},{url:"assets/KaTeX_Size1-Regular.mCD8mA8B.woff2",revision:null},{url:"assets/KaTeX_Size2-Regular.B7gKUWhC.ttf",revision:null},{url:"assets/KaTeX_Size2-Regular.Dy4dx90m.woff2",revision:null},{url:"assets/KaTeX_Size3-Regular.DgpXs0kz.ttf",revision:null},{url:"assets/KaTeX_Size4-Regular.Dl5lxZxV.woff2",revision:null},{url:"assets/KaTeX_Size4-Regular.DWFBv043.ttf",revision:null},{url:"assets/KaTeX_Typewriter-Regular.CO6r4hn1.woff2",revision:null},{url:"assets/KaTeX_Typewriter-Regular.D3Ib7_Hf.ttf",revision:null},{url:"assets/KqQ96-gC.js",revision:null},{url:"assets/LA0C7mUc.js",revision:null},{url:"assets/N5ajIiFQ.js",revision:null},{url:"assets/regular.C59i-JIY.otf",revision:null},{url:"assets/regular.DCtZAFBW.otf",revision:null},{url:"assets/regular.DT0fM1uu.ttf",revision:null},{url:"assets/regular.DTSkpAnp.ttf",revision:null},{url:"assets/regular.DysTBsqN.ttf",revision:null},{url:"assets/regular.lvl9fZ61.ttf",revision:null},{url:"assets/regular.ujiHdYas.otf",revision:null},{url:"assets/Tkxs5xfc.js",revision:null},{url:"assets/VVGvvgir.js",revision:null},{url:"assets/w7.G_kyatnr.ttf",revision:null},{url:"assets/w9.LxosMOIK.ttf",revision:null},{url:"assets/Y1k7zYV_.js",revision:null},{url:"assets/Z6z2stHy.js",revision:null},{url:"assets/zD_CCkZ1.js",revision:null},{url:"favicon-dark.svg",revision:"0bd73d900e2e3202205eb299a48b03f3"},{url:"favicon.svg",revision:"17f2f493bc1fe81f0978c84708b437d1"},{url:"/markdown-resume/",revision:"7d1f0115c67c69eb6be9a88ee7f7c931"},{url:"pwa-192x192.png",revision:"e3ee23607a02913fa308a010c3f732be"},{url:"pwa-512x512.png",revision:"94db878cb6e20a5ae061b5352c96d243"},{url:"safari-pinned-tab.svg",revision:"a3343345003f1a535c38ceb6a8baa4e9"},{url:"_payload.json",revision:"e5d600c20f330df1ed253170d3af7d50"},{url:"assets/builds/latest.json",revision:"6cc6c3e6cb91998142594173a800e6bb"},{url:"assets/builds/meta/28f1fd2c-4d03-469d-9c0d-216b5b0d34d4.json",revision:null},{url:"manifest.webmanifest",revision:"3b5de7dd4822f6c89f56c1e36a7b2a88"}],{}),s.cleanupOutdatedCaches(),s.registerRoute(new s.NavigationRoute(s.createHandlerBoundToURL("/markdown-resume/"))),s.registerRoute(/^https:\/\/fonts.googleapis.com\/.*/i,new s.CacheFirst({cacheName:"google-fonts-cache",plugins:[new s.ExpirationPlugin({maxEntries:10,maxAgeSeconds:31536e3}),new s.CacheableResponsePlugin({statuses:[0,200]})]}),"GET")}));