@nuxt/devtools 0.8.2 → 0.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/chunks/analyze-build.mjs +38 -6
- package/dist/chunks/module-main.mjs +2 -2
- package/dist/chunks/vscode.mjs +1 -1
- package/dist/client/200.html +31 -31
- package/dist/client/404.html +31 -31
- package/dist/client/__blank/index.html +31 -31
- package/dist/client/_nuxt/{Badge.3c6fa035.js → Badge.a4bd58d4.js} +1 -1
- package/dist/client/_nuxt/{CodeDiff.vue.7a519a6d.js → CodeDiff.vue.a8c9e639.js} +1 -1
- package/dist/client/_nuxt/{ComposableItem.vue.ffcca591.js → ComposableItem.vue.bd112256.js} +1 -1
- package/dist/client/_nuxt/{DataSchemaButton.vue.9ced8093.js → DataSchemaButton.vue.fbb61806.js} +1 -1
- package/dist/client/_nuxt/{DataSchemaDrawer.6edfca87.js → DataSchemaDrawer.f84a2081.js} +7 -6
- package/dist/client/_nuxt/{DrawerRight.vue.8980fc15.js → DrawerRight.vue.b9dc765f.js} +1 -1
- package/dist/client/_nuxt/{DurationDisplay.vue.dca5d690.js → DurationDisplay.vue.1f34b658.js} +1 -1
- package/dist/client/_nuxt/{FilepathItem.vue.222c7a36.js → FilepathItem.vue.a4d269b8.js} +1 -1
- package/dist/client/_nuxt/{HelpFab.vue.6da14cd2.js → HelpFab.vue.c0c3f8e6.js} +1 -1
- package/dist/client/_nuxt/{LaunchPage.vue.ded97a46.js → LaunchPage.vue.012ddba7.js} +1 -1
- package/dist/client/_nuxt/NCheckbox.vue.0e359f85.js +1 -0
- package/dist/client/_nuxt/{NCodeBlock.vue.cd0d52ca.js → NCodeBlock.vue.01eb6d1c.js} +1 -1
- package/dist/client/_nuxt/{NDropdown.vue.3bf5669f.js → NDropdown.vue.b3117df4.js} +1 -1
- package/dist/client/_nuxt/{NIconTitle.vue.590f73cc.js → NIconTitle.vue.79485c3a.js} +1 -1
- package/dist/client/_nuxt/{NLink.vue.2bd59538.js → NLink.vue.6dc3b4af.js} +1 -1
- package/dist/client/_nuxt/{NMarkdown.vue.0929ffc5.js → NMarkdown.vue.7a10e6e6.js} +1 -1
- package/dist/client/_nuxt/{NSectionBlock.2eb550f4.js → NSectionBlock.2d8e1431.js} +1 -1
- package/dist/client/_nuxt/{NSelect.vue.120a17c7.js → NSelect.vue.9cac29ef.js} +1 -1
- package/dist/client/_nuxt/{NSelectTabs.vue.15ded4ea.js → NSelectTabs.vue.72adf277.js} +1 -1
- package/dist/client/_nuxt/{NSwitch.vue.00f0a211.js → NSwitch.vue.67a4fdb0.js} +1 -1
- package/dist/client/_nuxt/{NTip.vue.b82daf5f.js → NTip.vue.d505e897.js} +1 -1
- package/dist/client/_nuxt/{Navbar.vue.454bbdad.js → Navbar.vue.8dc15d25.js} +1 -1
- package/dist/client/_nuxt/{StateEditor.vue.fb44992d.js → StateEditor.vue.2463efc9.js} +1 -1
- package/dist/client/_nuxt/{__blank.ed5e6688.js → __blank.20eb2cab.js} +1 -1
- package/dist/client/_nuxt/{analyze-build.a348d54f.js → analyze-build.423f57eb.js} +1 -1
- package/dist/client/_nuxt/{assets.9cc20f0c.js → assets.dc245910.js} +1 -1
- package/dist/client/_nuxt/{client.ecec2ff5.js → client.c59e50d6.js} +1 -1
- package/dist/client/_nuxt/components.31c6fd6f.js +98 -0
- package/dist/client/_nuxt/{css.5abce139.js → css.a67813b3.js} +12 -8
- package/dist/client/_nuxt/{custom-_name_.405b1822.js → custom-_name_.9b02fa14.js} +1 -1
- package/dist/client/_nuxt/{default.d9ec755b.js → default.30ac8af4.js} +1 -1
- package/dist/client/_nuxt/entry.05b33d7f.js +27 -0
- package/dist/client/_nuxt/entry.79095383.css +1 -0
- package/dist/client/_nuxt/{error-404.27f7c5ed.js → error-404.5c6d1cc1.js} +1 -1
- package/dist/client/_nuxt/{error-500.6459d9b0.js → error-500.b5b10475.js} +1 -1
- package/dist/client/_nuxt/{full.ff28afbd.js → full.03097bfb.js} +1 -1
- package/dist/client/_nuxt/{hooks.a92c198c.js → hooks.d674696d.js} +1 -1
- package/dist/client/_nuxt/{html.66e44e78.js → html.af01869e.js} +1 -1
- package/dist/client/_nuxt/{imports.af43913a.js → imports.b827859f.js} +1 -1
- package/dist/client/_nuxt/{index.9d25c8b5.js → index.b2055c8f.js} +1 -1
- package/dist/client/_nuxt/{index.475555a9.js → index.b5454355.js} +1 -1
- package/dist/client/_nuxt/{javascript.ddb4c460.js → javascript.b7d6d348.js} +7 -7
- package/dist/client/_nuxt/json-editor-vue.1bc58c26.js +129 -0
- package/dist/client/_nuxt/{middleware.17de3e64.js → middleware.434dc02a.js} +1 -1
- package/dist/client/_nuxt/{modules.d2b55e3a.js → modules.7dc02a95.js} +1 -1
- package/dist/client/_nuxt/{none.60868d86.js → none.2b3e8ddc.js} +1 -1
- package/dist/client/_nuxt/{open-graph.b86b82fa.js → open-graph.693bd031.js} +1 -1
- package/dist/client/_nuxt/{overview.5b1b22e6.js → overview.f2e48477.js} +1 -1
- package/dist/client/_nuxt/{pages.7ce7ead1.js → pages.745a0630.js} +1 -1
- package/dist/client/_nuxt/{payload.95a96cbc.js → payload.897ca8fa.js} +1 -1
- package/dist/client/_nuxt/{plugins.19d4d843.js → plugins.cd2e64ba.js} +1 -1
- package/dist/client/_nuxt/{runtime-configs.ccb12a0d.js → runtime-configs.1f844468.js} +1 -1
- package/dist/client/_nuxt/{server-routes.7cc44fc0.js → server-routes.91c861d0.js} +1 -1
- package/dist/client/_nuxt/settings.367ae337.js +1 -0
- package/dist/client/_nuxt/shellscript.9d056341.js +4 -0
- package/dist/client/_nuxt/{state-components.f27756f9.js → state-components.a223a28c.js} +1 -1
- package/dist/client/_nuxt/{state-modules.4d65021c.js → state-modules.c0927595.js} +1 -1
- package/dist/client/_nuxt/{storage-options.f78173e7.js → storage-options.8fdc9b2a.js} +1 -1
- package/dist/client/_nuxt/{storage.38ee52e0.js → storage.76034502.js} +1 -1
- package/dist/client/_nuxt/terminals.cb4eb909.js +9 -0
- package/dist/client/_nuxt/timeline.60d410a7.js +29 -0
- package/dist/client/_nuxt/{typescript.3ef79501.js → typescript.24e7badf.js} +7 -7
- package/dist/client/_nuxt/unocss-runtime.68d64d4a.js +2 -0
- package/dist/client/_nuxt/{virtual-files.c0236487.js → virtual-files.829bd209.js} +1 -1
- package/dist/client/_nuxt/{vue-html.b80b464f.js → vue-html.0806679f.js} +1 -1
- package/dist/client/_nuxt/{vue.5b4e1de3.js → vue.24311fdc.js} +18 -18
- package/dist/client/index.html +31 -31
- package/dist/client/modules/analyze-build/index.html +31 -31
- package/dist/client/modules/assets/index.html +31 -31
- package/dist/client/modules/components/index.html +31 -31
- package/dist/client/modules/hooks/index.html +31 -31
- package/dist/client/modules/imports/index.html +31 -31
- package/dist/client/modules/middleware/index.html +31 -31
- package/dist/client/modules/modules/index.html +31 -31
- package/dist/client/modules/open-graph/index.html +31 -31
- package/dist/client/modules/overview/index.html +31 -31
- package/dist/client/modules/pages/index.html +31 -31
- package/dist/client/modules/payload/index.html +31 -31
- package/dist/client/modules/plugins/index.html +31 -31
- package/dist/client/modules/runtime-configs/index.html +31 -31
- package/dist/client/modules/server-routes/index.html +31 -31
- package/dist/client/modules/storage/index.html +31 -31
- package/dist/client/modules/terminals/index.html +31 -31
- package/dist/client/modules/timeline/index.html +31 -31
- package/dist/client/modules/virtual-files/index.html +31 -31
- package/dist/client/settings/index.html +31 -31
- package/dist/dirs.d.mts +7 -0
- package/dist/module.d.mts +9 -0
- package/dist/module.d.ts +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/plugins/view/client.mjs +2 -1
- package/dist/shared/devtools.2a48a9e5.d.ts +62 -0
- package/dist/shared/{devtools.6d7e3a3a.mjs → devtools.4169e037.mjs} +3 -1
- package/dist/types.d.mts +42 -0
- package/dist/types.d.ts +2 -2
- package/package.json +40 -41
- package/dist/client/_nuxt/NCheckbox.vue.d47be8e5.js +0 -1
- package/dist/client/_nuxt/components.eb546fab.js +0 -99
- package/dist/client/_nuxt/entry.102d44fe.js +0 -27
- package/dist/client/_nuxt/entry.a2a7b315.css +0 -1
- package/dist/client/_nuxt/json-editor-vue.28570b6b.js +0 -130
- package/dist/client/_nuxt/settings.105e88e7.js +0 -1
- package/dist/client/_nuxt/shellscript.3d8bff4d.js +0 -4
- package/dist/client/_nuxt/terminals.6138e467.js +0 -9
- package/dist/client/_nuxt/timeline.aeb379fb.js +0 -57
- package/dist/client/_nuxt/unocss-runtime.50cd6f0c.js +0 -2
- /package/dist/{global-2a48a9e5.d.ts → shared/devtools.2a48a9e5.d.mts} +0 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
function Kl(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s<r.length;s++)n[r[s]]=!0;return t?s=>!!n[s.toLowerCase()]:s=>!!n[s]}const Ue={},Ar=[],Dt=()=>{},tv=()=>!1,nv=/^on[^a-z]/,wo=e=>nv.test(e),Xl=e=>e.startsWith("onUpdate:"),qe=Object.assign,Yl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},rv=Object.prototype.hasOwnProperty,$e=(e,t)=>rv.call(e,t),pe=Array.isArray,Rr=e=>Yr(e)==="[object Map]",Xr=e=>Yr(e)==="[object Set]",au=e=>Yr(e)==="[object Date]",sv=e=>Yr(e)==="[object RegExp]",_e=e=>typeof e=="function",Ve=e=>typeof e=="string",ro=e=>typeof e=="symbol",je=e=>e!==null&&typeof e=="object",Jl=e=>je(e)&&_e(e.then)&&_e(e.catch),fh=Object.prototype.toString,Yr=e=>fh.call(e),ov=e=>Yr(e).slice(8,-1),dh=e=>Yr(e)==="[object Object]",Zl=e=>Ve(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Us=Kl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Bi=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},iv=/-(\w)/g,en=Bi(e=>e.replace(iv,(t,n)=>n?n.toUpperCase():"")),av=/\B([A-Z])/g,yr=Bi(e=>e.replace(av,"-$1").toLowerCase()),ji=Bi(e=>e.charAt(0).toUpperCase()+e.slice(1)),ri=Bi(e=>e?`on${ji(e)}`:""),so=(e,t)=>!Object.is(e,t),$r=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},ci=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ui=e=>{const t=parseFloat(e);return isNaN(t)?e:t},hh=e=>{const t=Ve(e)?Number(e):NaN;return isNaN(t)?e:t};let lu;const Ja=()=>lu||(lu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function hn(e){if(pe(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Ve(r)?fv(r):hn(r);if(s)for(const o in s)t[o]=s[o]}return t}else{if(Ve(e))return e;if(je(e))return e}}const lv=/;(?![^(]*\))/g,cv=/:([^]+)/,uv=/\/\*[^]*?\*\//g;function fv(e){const t={};return e.replace(uv,"").split(lv).forEach(n=>{if(n){const r=n.split(cv);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ye(e){let t="";if(Ve(e))t=e;else if(pe(e))for(let n=0;n<e.length;n++){const r=Ye(e[n]);r&&(t+=r+" ")}else if(je(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Ql(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ve(t)&&(e.class=Ye(t)),n&&(e.style=hn(n)),e}const dv="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",hv=Kl(dv);function ph(e){return!!e||e===""}function pv(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=fr(e[r],t[r]);return n}function fr(e,t){if(e===t)return!0;let n=au(e),r=au(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=ro(e),r=ro(t),n||r)return e===t;if(n=pe(e),r=pe(t),n||r)return n&&r?pv(e,t):!1;if(n=je(e),r=je(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!fr(e[i],t[i]))return!1}}return String(e)===String(t)}function ec(e,t){return e.findIndex(n=>fr(n,t))}const dt=e=>Ve(e)?e:e==null?"":pe(e)||je(e)&&(e.toString===fh||!_e(e.toString))?JSON.stringify(e,mh,2):String(e),mh=(e,t)=>t&&t.__v_isRef?mh(e,t.value):Rr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:Xr(t)?{[`Set(${t.size})`]:[...t.values()]}:je(t)&&!pe(t)&&!dh(t)?String(t):t;let bt;class mv{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=bt,!t&&bt&&(this.index=(bt.scopes||(bt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=bt;try{return bt=this,t()}finally{bt=n}}}on(){bt=this}off(){bt=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}function gv(e,t=bt){t&&t.active&&t.effects.push(e)}function gh(){return bt}function vv(e){bt&&bt.cleanups.push(e)}const tc=e=>{const t=new Set(e);return t.w=0,t.n=0,t},vh=e=>(e.w&zn)>0,yh=e=>(e.n&zn)>0,yv=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=zn},_v=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const s=t[r];vh(s)&&!yh(s)?s.delete(e):t[n++]=s,s.w&=~zn,s.n&=~zn}t.length=n}},fi=new WeakMap;let js=0,zn=1;const Za=30;let It;const lr=Symbol(""),Qa=Symbol("");class nc{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,gv(this,r)}run(){if(!this.active)return this.fn();let t=It,n=Ln;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=It,It=this,Ln=!0,zn=1<<++js,js<=Za?yv(this):cu(this),this.fn()}finally{js<=Za&&_v(this),zn=1<<--js,It=this.parent,Ln=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){It===this?this.deferStop=!0:this.active&&(cu(this),this.onStop&&this.onStop(),this.active=!1)}}function cu(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Ln=!0;const _h=[];function Jr(){_h.push(Ln),Ln=!1}function Zr(){const e=_h.pop();Ln=e===void 0?!0:e}function vt(e,t,n){if(Ln&&It){let r=fi.get(e);r||fi.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=tc()),bh(s)}}function bh(e,t){let n=!1;js<=Za?yh(e)||(e.n|=zn,n=!vh(e)):n=!e.has(It),n&&(e.add(It),It.deps.push(e))}function mn(e,t,n,r,s,o){const i=fi.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&pe(e)){const l=Number(r);i.forEach((c,u)=>{(u==="length"||u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":pe(e)?Zl(n)&&a.push(i.get("length")):(a.push(i.get(lr)),Rr(e)&&a.push(i.get(Qa)));break;case"delete":pe(e)||(a.push(i.get(lr)),Rr(e)&&a.push(i.get(Qa)));break;case"set":Rr(e)&&a.push(i.get(lr));break}if(a.length===1)a[0]&&el(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);el(tc(l))}}function el(e,t){const n=pe(e)?e:[...e];for(const r of n)r.computed&&uu(r);for(const r of n)r.computed||uu(r)}function uu(e,t){(e!==It||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function bv(e,t){var n;return(n=fi.get(e))==null?void 0:n.get(t)}const wv=Kl("__proto__,__v_isRef,__isVue"),wh=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ro)),xv=rc(),Ev=rc(!1,!0),Sv=rc(!0),fu=Cv();function Cv(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Ae(this);for(let o=0,i=this.length;o<i;o++)vt(r,"get",o+"");const s=r[t](...n);return s===-1||s===!1?r[t](...n.map(Ae)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Jr();const r=Ae(this)[t].apply(this,n);return Zr(),r}}),e}function Tv(e){const t=Ae(this);return vt(t,"has",e),t.hasOwnProperty(e)}function rc(e=!1,t=!1){return function(r,s,o){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&o===(e?t?Hv:Th:t?Ch:Sh).get(r))return r;const i=pe(r);if(!e){if(i&&$e(fu,s))return Reflect.get(fu,s,o);if(s==="hasOwnProperty")return Tv}const a=Reflect.get(r,s,o);return(ro(s)?wh.has(s):wv(s))||(e||vt(r,"get",s),t)?a:Be(a)?i&&Zl(s)?a:a.value:je(a)?e?es(a):jt(a):a}}const Pv=xh(),kv=xh(!0);function xh(e=!1){return function(n,r,s,o){let i=n[r];if(dr(i)&&Be(i)&&!Be(s))return!1;if(!e&&(!di(s)&&!dr(s)&&(i=Ae(i),s=Ae(s)),!pe(n)&&Be(i)&&!Be(s)))return i.value=s,!0;const a=pe(n)&&Zl(r)?Number(r)<n.length:$e(n,r),l=Reflect.set(n,r,s,o);return n===Ae(o)&&(a?so(s,i)&&mn(n,"set",r,s):mn(n,"add",r,s)),l}}function Av(e,t){const n=$e(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&mn(e,"delete",t,void 0),r}function Rv(e,t){const n=Reflect.has(e,t);return(!ro(t)||!wh.has(t))&&vt(e,"has",t),n}function $v(e){return vt(e,"iterate",pe(e)?"length":lr),Reflect.ownKeys(e)}const Eh={get:xv,set:Pv,deleteProperty:Av,has:Rv,ownKeys:$v},Nv={get:Sv,set(e,t){return!0},deleteProperty(e,t){return!0}},Ov=qe({},Eh,{get:Ev,set:kv}),sc=e=>e,zi=e=>Reflect.getPrototypeOf(e);function $o(e,t,n=!1,r=!1){e=e.__v_raw;const s=Ae(e),o=Ae(t);n||(t!==o&&vt(s,"get",t),vt(s,"get",o));const{has:i}=zi(s),a=r?sc:n?ac:oo;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 No(e,t=!1){const n=this.__v_raw,r=Ae(n),s=Ae(e);return t||(e!==s&&vt(r,"has",e),vt(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Oo(e,t=!1){return e=e.__v_raw,!t&&vt(Ae(e),"iterate",lr),Reflect.get(e,"size",e)}function du(e){e=Ae(e);const t=Ae(this);return zi(t).has.call(t,e)||(t.add(e),mn(t,"add",e,e)),this}function hu(e,t){t=Ae(t);const n=Ae(this),{has:r,get:s}=zi(n);let o=r.call(n,e);o||(e=Ae(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?so(t,i)&&mn(n,"set",e,t):mn(n,"add",e,t),this}function pu(e){const t=Ae(this),{has:n,get:r}=zi(t);let s=n.call(t,e);s||(e=Ae(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&mn(t,"delete",e,void 0),o}function mu(){const e=Ae(this),t=e.size!==0,n=e.clear();return t&&mn(e,"clear",void 0,void 0),n}function Io(e,t){return function(r,s){const o=this,i=o.__v_raw,a=Ae(i),l=t?sc:e?ac:oo;return!e&&vt(a,"iterate",lr),i.forEach((c,u)=>r.call(s,l(c),l(u),o))}}function Lo(e,t,n){return function(...r){const s=this.__v_raw,o=Ae(s),i=Rr(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=s[e](...r),u=n?sc:t?ac:oo;return!t&&vt(o,"iterate",l?Qa:lr),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function En(e){return function(...t){return e==="delete"?!1:this}}function Iv(){const e={get(o){return $o(this,o)},get size(){return Oo(this)},has:No,add:du,set:hu,delete:pu,clear:mu,forEach:Io(!1,!1)},t={get(o){return $o(this,o,!1,!0)},get size(){return Oo(this)},has:No,add:du,set:hu,delete:pu,clear:mu,forEach:Io(!1,!0)},n={get(o){return $o(this,o,!0)},get size(){return Oo(this,!0)},has(o){return No.call(this,o,!0)},add:En("add"),set:En("set"),delete:En("delete"),clear:En("clear"),forEach:Io(!0,!1)},r={get(o){return $o(this,o,!0,!0)},get size(){return Oo(this,!0)},has(o){return No.call(this,o,!0)},add:En("add"),set:En("set"),delete:En("delete"),clear:En("clear"),forEach:Io(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Lo(o,!1,!1),n[o]=Lo(o,!0,!1),t[o]=Lo(o,!1,!0),r[o]=Lo(o,!0,!0)}),[e,n,t,r]}const[Lv,Mv,Dv,Fv]=Iv();function oc(e,t){const n=t?e?Fv:Dv:e?Mv:Lv;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get($e(n,s)&&s in r?n:r,s,o)}const Bv={get:oc(!1,!1)},jv={get:oc(!1,!0)},zv={get:oc(!0,!1)},Sh=new WeakMap,Ch=new WeakMap,Th=new WeakMap,Hv=new WeakMap;function Uv(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Vv(e){return e.__v_skip||!Object.isExtensible(e)?0:Uv(ov(e))}function jt(e){return dr(e)?e:ic(e,!1,Eh,Bv,Sh)}function Qr(e){return ic(e,!1,Ov,jv,Ch)}function es(e){return ic(e,!0,Nv,zv,Th)}function ic(e,t,n,r,s){if(!je(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=Vv(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function Nr(e){return dr(e)?Nr(e.__v_raw):!!(e&&e.__v_isReactive)}function dr(e){return!!(e&&e.__v_isReadonly)}function di(e){return!!(e&&e.__v_isShallow)}function Ph(e){return Nr(e)||dr(e)}function Ae(e){const t=e&&e.__v_raw;return t?Ae(t):e}function kh(e){return ci(e,"__v_skip",!0),e}const oo=e=>je(e)?jt(e):e,ac=e=>je(e)?es(e):e;function lc(e){Ln&&It&&(e=Ae(e),bh(e.dep||(e.dep=tc())))}function Hi(e,t){e=Ae(e);const n=e.dep;n&&el(n)}function Be(e){return!!(e&&e.__v_isRef===!0)}function Q(e){return Ah(e,!1)}function tn(e){return Ah(e,!0)}function Ah(e,t){return Be(e)?e:new Wv(e,t)}class Wv{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Ae(t),this._value=n?t:oo(t)}get value(){return lc(this),this._value}set value(t){const n=this.__v_isShallow||di(t)||dr(t);t=n?t:Ae(t),so(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:oo(t),Hi(this))}}function Rh(e){Hi(e)}function j(e){return Be(e)?e.value:e}function cc(e){return _e(e)?e():j(e)}const Gv={get:(e,t,n)=>j(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Be(s)&&!Be(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function $h(e){return Nr(e)?e:new Proxy(e,Gv)}class qv{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>lc(this),()=>Hi(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Kv(e){return new qv(e)}function Xv(e){const t=pe(e)?new Array(e.length):{};for(const n in e)t[n]=Nh(e,n);return t}class Yv{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 bv(Ae(this._object),this._key)}}class Jv{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function uc(e,t,n){return Be(e)?e:_e(e)?new Jv(e):je(e)&&arguments.length>1?Nh(e,t,n):Q(e)}function Nh(e,t,n){const r=e[t];return Be(r)?r:new Yv(e,t,n)}class Zv{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new nc(t,()=>{this._dirty||(this._dirty=!0,Hi(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=Ae(this);return lc(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Qv(e,t,n=!1){let r,s;const o=_e(e);return o?(r=e,s=Dt):(r=e.get,s=e.set),new Zv(r,s,o||!s,n)}function Mn(e,t,n,r){let s;try{s=r?e(...r):e()}catch(o){ts(o,t,n)}return s}function Rt(e,t,n,r){if(_e(e)){const o=Mn(e,t,n,r);return o&&Jl(o)&&o.catch(i=>{ts(i,t,n)}),o}const s=[];for(let o=0;o<e.length;o++)s.push(Rt(e[o],t,n,r));return s}function ts(e,t,n,r=!0){const s=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,a=n;for(;o;){const c=o.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,i,a)===!1)return}o=o.parent}const l=t.appContext.config.errorHandler;if(l){Mn(l,null,10,[e,i,a]);return}}ey(e,n,s,r)}function ey(e,t,n,r=!0){console.error(e)}let io=!1,tl=!1;const ct=[];let Yt=0;const Or=[];let ln=null,Qn=0;const Oh=Promise.resolve();let fc=null;function Et(e){const t=fc||Oh;return e?t.then(this?e.bind(this):e):t}function ty(e){let t=Yt+1,n=ct.length;for(;t<n;){const r=t+n>>>1;ao(ct[r])<e?t=r+1:n=r}return t}function Ui(e){(!ct.length||!ct.includes(e,io&&e.allowRecurse?Yt+1:Yt))&&(e.id==null?ct.push(e):ct.splice(ty(e.id),0,e),Ih())}function Ih(){!io&&!tl&&(tl=!0,fc=Oh.then(Mh))}function ny(e){const t=ct.indexOf(e);t>Yt&&ct.splice(t,1)}function Lh(e){pe(e)?Or.push(...e):(!ln||!ln.includes(e,e.allowRecurse?Qn+1:Qn))&&Or.push(e),Ih()}function gu(e,t=io?Yt+1:0){for(;t<ct.length;t++){const n=ct[t];n&&n.pre&&(ct.splice(t,1),t--,n())}}function hi(e){if(Or.length){const t=[...new Set(Or)];if(Or.length=0,ln){ln.push(...t);return}for(ln=t,ln.sort((n,r)=>ao(n)-ao(r)),Qn=0;Qn<ln.length;Qn++)ln[Qn]();ln=null,Qn=0}}const ao=e=>e.id==null?1/0:e.id,ry=(e,t)=>{const n=ao(e)-ao(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Mh(e){tl=!1,io=!0,ct.sort(ry);const t=Dt;try{for(Yt=0;Yt<ct.length;Yt++){const n=ct[Yt];n&&n.active!==!1&&Mn(n,null,14)}}finally{Yt=0,ct.length=0,hi(),io=!1,fc=null,(ct.length||Or.length)&&Mh()}}function sy(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ue;let s=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in r){const u=`${i==="modelValue"?"model":i}Modifiers`,{number:f,trim:d}=r[u]||Ue;d&&(s=n.map(p=>Ve(p)?p.trim():p)),f&&(s=n.map(ui))}let a,l=r[a=ri(t)]||r[a=ri(en(t))];!l&&o&&(l=r[a=ri(yr(t))]),l&&Rt(l,e,6,s);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Rt(c,e,6,s)}}function Dh(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(!_e(e)){const l=c=>{const u=Dh(c,t,!0);u&&(a=!0,qe(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(je(e)&&r.set(e,null),null):(pe(o)?o.forEach(l=>i[l]=null):qe(i,o),je(e)&&r.set(e,i),i)}function Vi(e,t){return!e||!wo(t)?!1:(t=t.slice(2).replace(/Once$/,""),$e(e,t[0].toLowerCase()+t.slice(1))||$e(e,yr(t))||$e(e,t))}let rt=null,Wi=null;function pi(e){const t=rt;return rt=e,Wi=e&&e.type.__scopeId||null,t}function oy(e){Wi=e}function iy(){Wi=null}const ay=e=>he;function he(e,t=rt,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Ru(-1);const o=pi(t);let i;try{i=e(...s)}finally{pi(o),r._d&&Ru(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function ma(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[i],slots:a,attrs:l,emit:c,render:u,renderCache:f,data:d,setupState:p,ctx:h,inheritAttrs:m}=e;let b,y;const v=pi(e);try{if(n.shapeFlag&4){const _=s||r;b=Ct(u.call(_,_,f,o,p,d,h)),y=l}else{const _=t;b=Ct(_.length>1?_(o,{attrs:l,slots:a,emit:c}):_(o,null)),y=t.props?l:cy(l)}}catch(_){qs.length=0,ts(_,e,1),b=J(pt)}let w=b;if(y&&m!==!1){const _=Object.keys(y),{shapeFlag:C}=w;_.length&&C&7&&(i&&_.some(Xl)&&(y=uy(y,i)),w=vn(w,y))}return n.dirs&&(w=vn(w),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&(w.transition=n.transition),b=w,pi(v),b}function ly(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(Ur(r)){if(r.type!==pt||r.children==="v-if"){if(t)return;t=r}}else return}return t}const cy=e=>{let t;for(const n in e)(n==="class"||n==="style"||wo(n))&&((t||(t={}))[n]=e[n]);return t},uy=(e,t)=>{const n={};for(const r in e)(!Xl(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function fy(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?vu(r,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(i[d]!==r[d]&&!Vi(c,d))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?vu(r,i,c):!0:!!i;return!1}function vu(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(t[o]!==e[o]&&!Vi(n,o))return!0}return!1}function dc({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Fh=e=>e.__isSuspense,dy={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,l,c){e==null?hy(t,n,r,s,o,i,a,l,c):py(e,t,n,r,s,i,a,l,c)},hydrate:my,create:pc,normalize:gy},hc=dy;function lo(e,t){const n=e.props&&e.props[t];_e(n)&&n()}function hy(e,t,n,r,s,o,i,a,l){const{p:c,o:{createElement:u}}=l,f=u("div"),d=e.suspense=pc(e,s,r,t,f,n,o,i,a,l);c(null,d.pendingBranch=e.ssContent,f,null,r,d,o,i),d.deps>0?(lo(e,"onPending"),lo(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,o,i),Ir(d,e.ssFallback)):d.resolve(!1,!0)}function py(e,t,n,r,s,o,i,a,{p:l,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:b,isHydrating:y}=f;if(m)f.pendingBranch=d,Lt(d,m)?(l(m,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():b&&(l(h,p,n,r,s,null,o,i,a),Ir(f,p))):(f.pendingId++,y?(f.isHydrating=!1,f.activeBranch=m):c(m,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),b?(l(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():(l(h,p,n,r,s,null,o,i,a),Ir(f,p))):h&&Lt(d,h)?(l(h,d,n,r,s,f,o,i,a),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0&&f.resolve()));else if(h&&Lt(d,h))l(h,d,n,r,s,f,o,i,a),Ir(f,d);else if(lo(t,"onPending"),f.pendingBranch=d,f.pendingId++,l(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0)f.resolve();else{const{timeout:v,pendingId:w}=f;v>0?setTimeout(()=>{f.pendingId===w&&f.fallback(p)},v):v===0&&f.fallback(p)}}function pc(e,t,n,r,s,o,i,a,l,c,u=!1){const{p:f,m:d,um:p,n:h,o:{parentNode:m,remove:b}}=c;let y;const v=vy(e);v&&t?.pendingBranch&&(y=t.pendingId,t.deps++);const w=e.props?hh(e.props.timeout):void 0,_={vnode:e,parent:t,parentComponent:n,isSVG:i,container:r,hiddenContainer:s,anchor:o,deps:0,pendingId:0,timeout:typeof w=="number"?w:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(C=!1,g=!1){const{vnode:T,activeBranch:E,pendingBranch:x,pendingId:P,effects:S,parentComponent:k,container:A}=_;if(_.isHydrating)_.isHydrating=!1;else if(!C){const L=E&&x.transition&&x.transition.mode==="out-in";L&&(E.transition.afterLeave=()=>{P===_.pendingId&&d(x,A,D,0)});let{anchor:D}=_;E&&(D=h(E),p(E,k,_,!0)),L||d(x,A,D,0)}Ir(_,x),_.pendingBranch=null,_.isInFallback=!1;let R=_.parent,M=!1;for(;R;){if(R.pendingBranch){R.effects.push(...S),M=!0;break}R=R.parent}M||Lh(S),_.effects=[],v&&t&&t.pendingBranch&&y===t.pendingId&&(t.deps--,t.deps===0&&!g&&t.resolve()),lo(T,"onResolve")},fallback(C){if(!_.pendingBranch)return;const{vnode:g,activeBranch:T,parentComponent:E,container:x,isSVG:P}=_;lo(g,"onFallback");const S=h(T),k=()=>{_.isInFallback&&(f(null,C,x,S,E,null,P,a,l),Ir(_,C))},A=C.transition&&C.transition.mode==="out-in";A&&(T.transition.afterLeave=k),_.isInFallback=!0,p(T,E,null,!0),A||k()},move(C,g,T){_.activeBranch&&d(_.activeBranch,C,g,T),_.container=C},next(){return _.activeBranch&&h(_.activeBranch)},registerDep(C,g){const T=!!_.pendingBranch;T&&_.deps++;const E=C.vnode.el;C.asyncDep.catch(x=>{ts(x,C,0)}).then(x=>{if(C.isUnmounted||_.isUnmounted||_.pendingId!==C.suspenseId)return;C.asyncResolved=!0;const{vnode:P}=C;al(C,x,!1),E&&(P.el=E);const S=!E&&C.subTree.el;g(C,P,m(E||C.subTree.el),E?null:h(C.subTree),_,i,l),S&&b(S),dc(C,P.el),T&&--_.deps===0&&_.resolve()})},unmount(C,g){_.isUnmounted=!0,_.activeBranch&&p(_.activeBranch,n,C,g),_.pendingBranch&&p(_.pendingBranch,n,C,g)}};return _}function my(e,t,n,r,s,o,i,a,l){const c=t.suspense=pc(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,a,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,o,i);return c.deps===0&&c.resolve(!1,!0),u}function gy(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=yu(r?n.default:n),e.ssFallback=r?yu(n.fallback):J(pt)}function yu(e){let t;if(_e(e)){const n=Hr&&e._c;n&&(e._d=!1,Z()),e=e(),n&&(e._d=!0,t=kt,lp())}return pe(e)&&(e=ly(e)),e=Ct(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Bh(e,t){t&&t.pendingBranch?pe(e)?t.effects.push(...e):t.effects.push(e):Lh(e)}function Ir(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,s=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=s,dc(r,s))}function vy(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function Br(e,t){return mc(e,null,t)}const Mo={};function ze(e,t,n){return mc(e,t,n)}function mc(e,t,{immediate:n,deep:r,flush:s,onTrack:o,onTrigger:i}=Ue){var a;const l=gh()===((a=Xe)==null?void 0:a.scope)?Xe:null;let c,u=!1,f=!1;if(Be(e)?(c=()=>e.value,u=di(e)):Nr(e)?(c=()=>e,r=!0):pe(e)?(f=!0,u=e.some(_=>Nr(_)||di(_)),c=()=>e.map(_=>{if(Be(_))return _.value;if(Nr(_))return sr(_);if(_e(_))return Mn(_,l,2)})):_e(e)?t?c=()=>Mn(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return d&&d(),Rt(e,l,3,[p])}:c=Dt,t&&r){const _=c;c=()=>sr(_())}let d,p=_=>{d=v.onStop=()=>{Mn(_,l,4)}},h;if(Vr)if(p=Dt,t?n&&Rt(t,l,3,[c(),f?[]:void 0,p]):c(),s==="sync"){const _=i_();h=_.__watcherHandles||(_.__watcherHandles=[])}else return Dt;let m=f?new Array(e.length).fill(Mo):Mo;const b=()=>{if(v.active)if(t){const _=v.run();(r||u||(f?_.some((C,g)=>so(C,m[g])):so(_,m)))&&(d&&d(),Rt(t,l,3,[_,m===Mo?void 0:f&&m[0]===Mo?[]:m,p]),m=_)}else v.run()};b.allowRecurse=!!t;let y;s==="sync"?y=b:s==="post"?y=()=>ot(b,l&&l.suspense):(b.pre=!0,l&&(b.id=l.uid),y=()=>Ui(b));const v=new nc(c,y);t?n?b():m=v.run():s==="post"?ot(v.run.bind(v),l&&l.suspense):v.run();const w=()=>{v.stop(),l&&l.scope&&Yl(l.scope.effects,v)};return h&&h.push(w),w}function yy(e,t,n){const r=this.proxy,s=Ve(e)?e.includes(".")?jh(r,e):()=>r[e]:e.bind(r,r);let o;_e(t)?o=t:(o=t.handler,n=t);const i=Xe;Hn(this);const a=mc(s,o.bind(r),n);return i?Hn(i):Dn(),a}function jh(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}function sr(e,t){if(!je(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Be(e))sr(e.value,t);else if(pe(e))for(let n=0;n<e.length;n++)sr(e[n],t);else if(Xr(e)||Rr(e))e.forEach(n=>{sr(n,t)});else if(dh(e))for(const n in e)sr(e[n],t);return e}function mi(e,t){const n=rt;if(n===null)return e;const r=Xi(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,a,l,c=Ue]=t[o];i&&(_e(i)&&(i={mounted:i,updated:i}),i.deep&&sr(a),s.push({dir:i,instance:r,value:a,oldValue:void 0,arg:l,modifiers:c}))}return e}function Xt(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const a=s[i];o&&(a.oldValue=o[i].value);let l=a.dir[r];l&&(Jr(),Rt(l,n,8,[e.el,a,e,t]),Zr())}}function zh(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return xn(()=>{e.isMounted=!0}),ns(()=>{e.isUnmounting=!0}),e}const St=[Function,Array],Hh={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:St,onEnter:St,onAfterEnter:St,onEnterCancelled:St,onBeforeLeave:St,onLeave:St,onAfterLeave:St,onLeaveCancelled:St,onBeforeAppear:St,onAppear:St,onAfterAppear:St,onAppearCancelled:St},_y={name:"BaseTransition",props:Hh,setup(e,{slots:t}){const n=rn(),r=zh();let s;return()=>{const o=t.default&&gc(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const m of o)if(m.type!==pt){i=m;break}}const a=Ae(e),{mode:l}=a;if(r.isLeaving)return ga(i);const c=_u(i);if(!c)return ga(i);const u=co(c,a,r,n);jr(c,u);const f=n.subTree,d=f&&_u(f);let p=!1;const{getTransitionKey:h}=c.type;if(h){const m=h();s===void 0?s=m:m!==s&&(s=m,p=!0)}if(d&&d.type!==pt&&(!Lt(c,d)||p)){const m=co(d,a,r,n);if(jr(d,m),l==="out-in")return r.isLeaving=!0,m.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},ga(i);l==="in-out"&&c.type!==pt&&(m.delayLeave=(b,y,v)=>{const w=Uh(r,d);w[String(d.key)]=d,b._leaveCb=()=>{y(),b._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=v})}return i}}},by=_y;function Uh(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 co(e,t,n,r){const{appear:s,mode:o,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:m,onAppear:b,onAfterAppear:y,onAppearCancelled:v}=t,w=String(e.key),_=Uh(n,e),C=(E,x)=>{E&&Rt(E,r,9,x)},g=(E,x)=>{const P=x[1];C(E,x),pe(E)?E.every(S=>S.length<=1)&&P():E.length<=1&&P()},T={mode:o,persisted:i,beforeEnter(E){let x=a;if(!n.isMounted)if(s)x=m||a;else return;E._leaveCb&&E._leaveCb(!0);const P=_[w];P&&Lt(e,P)&&P.el._leaveCb&&P.el._leaveCb(),C(x,[E])},enter(E){let x=l,P=c,S=u;if(!n.isMounted)if(s)x=b||l,P=y||c,S=v||u;else return;let k=!1;const A=E._enterCb=R=>{k||(k=!0,R?C(S,[E]):C(P,[E]),T.delayedLeave&&T.delayedLeave(),E._enterCb=void 0)};x?g(x,[E,A]):A()},leave(E,x){const P=String(e.key);if(E._enterCb&&E._enterCb(!0),n.isUnmounting)return x();C(f,[E]);let S=!1;const k=E._leaveCb=A=>{S||(S=!0,x(),A?C(h,[E]):C(p,[E]),E._leaveCb=void 0,_[P]===e&&delete _[P])};_[P]=e,d?g(d,[E,k]):k()},clone(E){return co(E,t,n,r)}};return T}function ga(e){if(xo(e))return e=vn(e),e.children=null,e}function _u(e){return xo(e)?e.children?e.children[0]:void 0:e}function jr(e,t){e.shapeFlag&6&&e.component?jr(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 gc(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let i=e[o];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===Oe?(i.patchFlag&128&&s++,r=r.concat(gc(i.children,t,a))):(t||i.type!==pt)&&r.push(a!=null?vn(i,{key:a}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function Te(e,t){return _e(e)?(()=>qe({name:e.name},t,{setup:e}))():e}const cr=e=>!!e.type.__asyncLoader;function gi(e){_e(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:o,suspensible:i=!0,onError:a}=e;let l=null,c,u=0;const f=()=>(u++,l=null,d()),d=()=>{let p;return l||(p=l=t().catch(h=>{if(h=h instanceof Error?h:new Error(String(h)),a)return new Promise((m,b)=>{a(h,()=>m(f()),()=>b(h),u+1)});throw h}).then(h=>p!==l&&l?l:(h&&(h.__esModule||h[Symbol.toStringTag]==="Module")&&(h=h.default),c=h,h)))};return Te({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const p=Xe;if(c)return()=>va(c,p);const h=v=>{l=null,ts(v,p,13,!r)};if(i&&p.suspense||Vr)return d().then(v=>()=>va(v,p)).catch(v=>(h(v),()=>r?J(r,{error:v}):null));const m=Q(!1),b=Q(),y=Q(!!s);return s&&setTimeout(()=>{y.value=!1},s),o!=null&&setTimeout(()=>{if(!m.value&&!b.value){const v=new Error(`Async component timed out after ${o}ms.`);h(v),b.value=v}},o),d().then(()=>{m.value=!0,p.parent&&xo(p.parent.vnode)&&Ui(p.parent.update)}).catch(v=>{h(v),b.value=v}),()=>{if(m.value&&c)return va(c,p);if(b.value&&r)return J(r,{error:b.value});if(n&&!y.value)return J(n)}}})}function va(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=J(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const xo=e=>e.type.__isKeepAlive,wy={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=rn(),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:l,m:c,um:u,o:{createElement:f}}}=r,d=f("div");r.activate=(v,w,_,C,g)=>{const T=v.component;c(v,w,_,0,a),l(T.vnode,v,w,_,T,a,C,v.slotScopeIds,g),ot(()=>{T.isDeactivated=!1,T.a&&$r(T.a);const E=v.props&&v.props.onVnodeMounted;E&>(E,T.parent,v)},a)},r.deactivate=v=>{const w=v.component;c(v,d,null,1,a),ot(()=>{w.da&&$r(w.da);const _=v.props&&v.props.onVnodeUnmounted;_&>(_,w.parent,v),w.isDeactivated=!0},a)};function p(v){ya(v),u(v,n,a,!0)}function h(v){s.forEach((w,_)=>{const C=ll(w.type);C&&(!v||!v(C))&&m(_)})}function m(v){const w=s.get(v);!i||!Lt(w,i)?p(w):i&&ya(i),s.delete(v),o.delete(v)}ze(()=>[e.include,e.exclude],([v,w])=>{v&&h(_=>zs(v,_)),w&&h(_=>!zs(w,_))},{flush:"post",deep:!0});let b=null;const y=()=>{b!=null&&s.set(b,_a(n.subTree))};return xn(y),vc(y),ns(()=>{s.forEach(v=>{const{subTree:w,suspense:_}=n,C=_a(w);if(v.type===C.type&&v.key===C.key){ya(C);const g=C.component.da;g&&ot(g,_);return}p(v)})}),()=>{if(b=null,!t.default)return null;const v=t.default(),w=v[0];if(v.length>1)return i=null,v;if(!Ur(w)||!(w.shapeFlag&4)&&!(w.shapeFlag&128))return i=null,w;let _=_a(w);const C=_.type,g=ll(cr(_)?_.type.__asyncResolved||{}:C),{include:T,exclude:E,max:x}=e;if(T&&(!g||!zs(T,g))||E&&g&&zs(E,g))return i=_,w;const P=_.key==null?C:_.key,S=s.get(P);return _.el&&(_=vn(_),w.shapeFlag&128&&(w.ssContent=_)),b=P,S?(_.el=S.el,_.component=S.component,_.transition&&jr(_,_.transition),_.shapeFlag|=512,o.delete(P),o.add(P)):(o.add(P),x&&o.size>parseInt(x,10)&&m(o.values().next().value)),_.shapeFlag|=256,i=_,Fh(w.type)?w:_}}},xy=wy;function zs(e,t){return pe(e)?e.some(n=>zs(n,t)):Ve(e)?e.split(",").includes(t):sv(e)?e.test(t):!1}function Vh(e,t){Gh(e,"a",t)}function Wh(e,t){Gh(e,"da",t)}function Gh(e,t,n=Xe){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Gi(t,r,n),n){let s=n.parent;for(;s&&s.parent;)xo(s.parent.vnode)&&Ey(r,t,n,s),s=s.parent}}function Ey(e,t,n,r){const s=Gi(t,e,r,!0);uo(()=>{Yl(r[t],s)},n)}function ya(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function _a(e){return e.shapeFlag&128?e.ssContent:e}function Gi(e,t,n=Xe,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Jr(),Hn(n);const a=Rt(t,n,e,i);return Dn(),Zr(),a});return r?s.unshift(o):s.push(o),o}}const wn=e=>(t,n=Xe)=>(!Vr||e==="sp")&&Gi(e,(...r)=>t(...r),n),qh=wn("bm"),xn=wn("m"),Sy=wn("bu"),vc=wn("u"),ns=wn("bum"),uo=wn("um"),Cy=wn("sp"),Ty=wn("rtg"),Py=wn("rtc");function Kh(e,t=Xe){Gi("ec",e,t)}const yc="components",ky="directives";function gn(e,t){return _c(yc,e,!0,t)||e}const Xh=Symbol.for("v-ndc");function hr(e){return Ve(e)?_c(yc,e,!1)||e:e||Xh}function L2(e){return _c(ky,e)}function _c(e,t,n=!0,r=!1){const s=rt||Xe;if(s){const o=s.type;if(e===yc){const a=ll(o,!1);if(a&&(a===t||a===en(t)||a===ji(en(t))))return o}const i=bu(s[e]||o[e],t)||bu(s.appContext[e],t);return!i&&r?o:i}}function bu(e,t){return e&&(e[t]||e[en(t)]||e[ji(en(t))])}function fo(e,t,n,r){let s;const o=n&&n[r];if(pe(e)||Ve(e)){s=new Array(e.length);for(let i=0,a=e.length;i<a;i++)s[i]=t(e[i],i,void 0,o&&o[i])}else if(typeof e=="number"){s=new Array(e);for(let i=0;i<e;i++)s[i]=t(i+1,i,void 0,o&&o[i])}else if(je(e))if(e[Symbol.iterator])s=Array.from(e,(i,a)=>t(i,a,void 0,o&&o[a]));else{const i=Object.keys(e);s=new Array(i.length);for(let a=0,l=i.length;a<l;a++){const c=i[a];s[a]=t(e[c],c,a,o&&o[a])}}else s=[];return n&&(n[r]=s),s}function Ay(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(pe(r))for(let s=0;s<r.length;s++)e[r[s].name]=r[s].fn;else r&&(e[r.name]=r.key?(...s)=>{const o=r.fn(...s);return o&&(o.key=r.key),o}:r.fn)}return e}function st(e,t,n={},r,s){if(rt.isCE||rt.parent&&cr(rt.parent)&&rt.parent.isCE)return t!=="default"&&(n.name=t),J("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),Z();const i=o&&Yh(o(n)),a=Se(Oe,{key:n.key||i&&i.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return!s&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function Yh(e){return e.some(t=>Ur(t)?!(t.type===pt||t.type===Oe&&!Yh(t.children)):!0)?e:null}function M2(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:ri(r)]=e[r];return n}const nl=e=>e?fp(e)?Xi(e)||e.proxy:nl(e.parent):null,Vs=qe(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=>nl(e.parent),$root:e=>nl(e.root),$emit:e=>e.emit,$options:e=>bc(e),$forceUpdate:e=>e.f||(e.f=()=>Ui(e.update)),$nextTick:e=>e.n||(e.n=Et.bind(e.proxy)),$watch:e=>yy.bind(e)}),ba=(e,t)=>e!==Ue&&!e.__isScriptSetup&&$e(e,t),Ry={get({_:e},t){const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(ba(r,t))return i[t]=1,r[t];if(s!==Ue&&$e(s,t))return i[t]=2,s[t];if((c=e.propsOptions[0])&&$e(c,t))return i[t]=3,o[t];if(n!==Ue&&$e(n,t))return i[t]=4,n[t];rl&&(i[t]=0)}}const u=Vs[t];let f,d;if(u)return t==="$attrs"&&vt(e,"get",t),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==Ue&&$e(n,t))return i[t]=4,n[t];if(d=l.config.globalProperties,$e(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return ba(s,t)?(s[t]=n,!0):r!==Ue&&$e(r,t)?(r[t]=n,!0):$e(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!==Ue&&$e(e,i)||ba(t,i)||(a=o[0])&&$e(a,i)||$e(r,i)||$e(Vs,i)||$e(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:$e(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function wu(e){return pe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function D2(e){const t=rn();let n=e();return Dn(),Jl(n)&&(n=n.catch(r=>{throw Hn(t),r})),[n,()=>Hn(t)]}let rl=!0;function $y(e){const t=bc(e),n=e.proxy,r=e.ctx;rl=!1,t.beforeCreate&&xu(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:p,updated:h,activated:m,deactivated:b,beforeDestroy:y,beforeUnmount:v,destroyed:w,unmounted:_,render:C,renderTracked:g,renderTriggered:T,errorCaptured:E,serverPrefetch:x,expose:P,inheritAttrs:S,components:k,directives:A,filters:R}=t;if(c&&Ny(c,r,null),i)for(const D in i){const F=i[D];_e(F)&&(r[D]=F.bind(n))}if(s){const D=s.call(n,n);je(D)&&(e.data=jt(D))}if(rl=!0,o)for(const D in o){const F=o[D],U=_e(F)?F.bind(n,n):_e(F.get)?F.get.bind(n,n):Dt,re=!_e(F)&&_e(F.set)?F.set.bind(n):Dt,se=ge({get:U,set:re});Object.defineProperty(r,D,{enumerable:!0,configurable:!0,get:()=>se.value,set:ne=>se.value=ne})}if(a)for(const D in a)Jh(a[D],r,n,D);if(l){const D=_e(l)?l.call(n):l;Reflect.ownKeys(D).forEach(F=>{ur(F,D[F])})}u&&xu(u,e,"c");function L(D,F){pe(F)?F.forEach(U=>D(U.bind(n))):F&&D(F.bind(n))}if(L(qh,f),L(xn,d),L(Sy,p),L(vc,h),L(Vh,m),L(Wh,b),L(Kh,E),L(Py,g),L(Ty,T),L(ns,v),L(uo,_),L(Cy,x),pe(P))if(P.length){const D=e.exposed||(e.exposed={});P.forEach(F=>{Object.defineProperty(D,F,{get:()=>n[F],set:U=>n[F]=U})})}else e.exposed||(e.exposed={});C&&e.render===Dt&&(e.render=C),S!=null&&(e.inheritAttrs=S),k&&(e.components=k),A&&(e.directives=A)}function Ny(e,t,n=Dt){pe(e)&&(e=sl(e));for(const r in e){const s=e[r];let o;je(s)?"default"in s?o=ht(s.from||r,s.default,!0):o=ht(s.from||r):o=ht(s),Be(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function xu(e,t,n){Rt(pe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Jh(e,t,n,r){const s=r.includes(".")?jh(n,r):()=>n[r];if(Ve(e)){const o=t[e];_e(o)&&ze(s,o)}else if(_e(e))ze(s,e.bind(n));else if(je(e))if(pe(e))e.forEach(o=>Jh(o,t,n,r));else{const o=_e(e.handler)?e.handler.bind(n):t[e.handler];_e(o)&&ze(s,o,e)}}function bc(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(c=>vi(l,c,i,!0)),vi(l,t,i)),je(t)&&o.set(t,l),l}function vi(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&vi(e,o,n,!0),s&&s.forEach(i=>vi(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Oy[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Oy={data:Eu,props:Su,emits:Su,methods:Hs,computed:Hs,beforeCreate:ft,created:ft,beforeMount:ft,mounted:ft,beforeUpdate:ft,updated:ft,beforeDestroy:ft,beforeUnmount:ft,destroyed:ft,unmounted:ft,activated:ft,deactivated:ft,errorCaptured:ft,serverPrefetch:ft,components:Hs,directives:Hs,watch:Ly,provide:Eu,inject:Iy};function Eu(e,t){return t?e?function(){return qe(_e(e)?e.call(this,this):e,_e(t)?t.call(this,this):t)}:t:e}function Iy(e,t){return Hs(sl(e),sl(t))}function sl(e){if(pe(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ft(e,t){return e?[...new Set([].concat(e,t))]:t}function Hs(e,t){return e?qe(Object.create(null),e,t):t}function Su(e,t){return e?pe(e)&&pe(t)?[...new Set([...e,...t])]:qe(Object.create(null),wu(e),wu(t??{})):t}function Ly(e,t){if(!e)return t;if(!t)return e;const n=qe(Object.create(null),e);for(const r in t)n[r]=ft(e[r],t[r]);return n}function Zh(){return{app:null,config:{isNativeTag:tv,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let My=0;function Dy(e,t){return function(r,s=null){_e(r)||(r=qe({},r)),s!=null&&!je(s)&&(s=null);const o=Zh(),i=new Set;let a=!1;const l=o.app={_uid:My++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:hp,get config(){return o.config},set config(c){},use(c,...u){return i.has(c)||(c&&_e(c.install)?(i.add(c),c.install(l,...u)):_e(c)&&(i.add(c),c(l,...u))),l},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),l},component(c,u){return u?(o.components[c]=u,l):o.components[c]},directive(c,u){return u?(o.directives[c]=u,l):o.directives[c]},mount(c,u,f){if(!a){const d=J(r,s);return d.appContext=o,u&&t?t(d,c):e(d,c,f),a=!0,l._container=c,c.__vue_app__=l,Xi(d.component)||d.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,u){return o.provides[c]=u,l},runWithContext(c){ho=l;try{return c()}finally{ho=null}}};return l}}let ho=null;function ur(e,t){if(Xe){let n=Xe.provides;const r=Xe.parent&&Xe.parent.provides;r===n&&(n=Xe.provides=Object.create(r)),n[e]=t}}function ht(e,t,n=!1){const r=Xe||rt;if(r||ho){const s=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:ho._context.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&_e(t)?t.call(r&&r.proxy):t}}function Qh(){return!!(Xe||rt||ho)}function Fy(e,t,n,r=!1){const s={},o={};ci(o,qi,1),e.propsDefaults=Object.create(null),ep(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 By(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=Ae(s),[l]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Vi(e.emitsOptions,d))continue;const p=t[d];if(l)if($e(o,d))p!==o[d]&&(o[d]=p,c=!0);else{const h=en(d);s[h]=ol(l,a,h,p,e,!1)}else p!==o[d]&&(o[d]=p,c=!0)}}}else{ep(e,t,s,o)&&(c=!0);let u;for(const f in a)(!t||!$e(t,f)&&((u=yr(f))===f||!$e(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(s[f]=ol(l,a,f,void 0,e,!0)):delete s[f]);if(o!==a)for(const f in o)(!t||!$e(t,f))&&(delete o[f],c=!0)}c&&mn(e,"set","$attrs")}function ep(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Us(l))continue;const c=t[l];let u;s&&$e(s,u=en(l))?!o||!o.includes(u)?n[u]=c:(a||(a={}))[u]=c:Vi(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(o){const l=Ae(n),c=a||Ue;for(let u=0;u<o.length;u++){const f=o[u];n[f]=ol(s,l,f,c[f],e,!$e(c,f))}}return i}function ol(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=$e(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&_e(l)){const{propsDefaults:c}=s;n in c?r=c[n]:(Hn(s),r=c[n]=l.call(null,t),Dn())}else r=l}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===yr(n))&&(r=!0))}return r}function tp(e,t,n=!1){const r=t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},a=[];let l=!1;if(!_e(e)){const u=f=>{l=!0;const[d,p]=tp(f,t,!0);qe(i,d),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!l)return je(e)&&r.set(e,Ar),Ar;if(pe(o))for(let u=0;u<o.length;u++){const f=en(o[u]);Cu(f)&&(i[f]=Ue)}else if(o)for(const u in o){const f=en(u);if(Cu(f)){const d=o[u],p=i[f]=pe(d)||_e(d)?{type:d}:qe({},d);if(p){const h=ku(Boolean,p.type),m=ku(String,p.type);p[0]=h>-1,p[1]=m<0||h<m,(h>-1||$e(p,"default"))&&a.push(f)}}}const c=[i,a];return je(e)&&r.set(e,c),c}function Cu(e){return e[0]!=="$"}function Tu(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Pu(e,t){return Tu(e)===Tu(t)}function ku(e,t){return pe(t)?t.findIndex(n=>Pu(n,e)):_e(t)&&Pu(t,e)?0:-1}const np=e=>e[0]==="_"||e==="$stable",wc=e=>pe(e)?e.map(Ct):[Ct(e)],jy=(e,t,n)=>{if(t._n)return t;const r=he((...s)=>wc(t(...s)),n);return r._c=!1,r},rp=(e,t,n)=>{const r=e._ctx;for(const s in e){if(np(s))continue;const o=e[s];if(_e(o))t[s]=jy(s,o,r);else if(o!=null){const i=wc(o);t[s]=()=>i}}},sp=(e,t)=>{const n=wc(t);e.slots.default=()=>n},zy=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Ae(t),ci(t,"_",n)):rp(t,e.slots={})}else e.slots={},t&&sp(e,t);ci(e.slots,qi,1)},Hy=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=Ue;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:(qe(s,t),!n&&a===1&&delete s._):(o=!t.$stable,rp(t,s)),i=t}else t&&(sp(e,t),i={default:1});if(o)for(const a in s)!np(a)&&!(a in i)&&delete s[a]};function yi(e,t,n,r,s=!1){if(pe(e)){e.forEach((d,p)=>yi(d,t&&(pe(t)?t[p]:t),n,r,s));return}if(cr(r)&&!s)return;const o=r.shapeFlag&4?Xi(r.component)||r.component.proxy:r.el,i=s?null:o,{i:a,r:l}=e,c=t&&t.r,u=a.refs===Ue?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(Ve(c)?(u[c]=null,$e(f,c)&&(f[c]=null)):Be(c)&&(c.value=null)),_e(l))Mn(l,a,12,[i,u]);else{const d=Ve(l),p=Be(l);if(d||p){const h=()=>{if(e.f){const m=d?$e(f,l)?f[l]:u[l]:l.value;s?pe(m)&&Yl(m,o):pe(m)?m.includes(o)||m.push(o):d?(u[l]=[o],$e(f,l)&&(f[l]=u[l])):(l.value=[o],e.k&&(u[e.k]=l.value))}else d?(u[l]=i,$e(f,l)&&(f[l]=i)):p&&(l.value=i,e.k&&(u[e.k]=i))};i?(h.id=-1,ot(h,n)):h()}}}let Sn=!1;const Do=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Fo=e=>e.nodeType===8;function Uy(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:a,insert:l,createComment:c}}=e,u=(y,v)=>{if(!v.hasChildNodes()){n(null,y,v),hi(),v._vnode=y;return}Sn=!1,f(v.firstChild,y,null,null,null),hi(),v._vnode=y,Sn&&console.error("Hydration completed but contains mismatches.")},f=(y,v,w,_,C,g=!1)=>{const T=Fo(y)&&y.data==="[",E=()=>m(y,v,w,_,C,T),{type:x,ref:P,shapeFlag:S,patchFlag:k}=v;let A=y.nodeType;v.el=y,k===-2&&(g=!1,v.dynamicChildren=null);let R=null;switch(x){case zr:A!==3?v.children===""?(l(v.el=s(""),i(y),y),R=y):R=E():(y.data!==v.children&&(Sn=!0,y.data=v.children),R=o(y));break;case pt:A!==8||T?R=E():R=o(y);break;case Gs:if(T&&(y=o(y),A=y.nodeType),A===1||A===3){R=y;const M=!v.children.length;for(let L=0;L<v.staticCount;L++)M&&(v.children+=R.nodeType===1?R.outerHTML:R.data),L===v.staticCount-1&&(v.anchor=R),R=o(R);return T?o(R):R}else E();break;case Oe:T?R=h(y,v,w,_,C,g):R=E();break;default:if(S&1)A!==1||v.type.toLowerCase()!==y.tagName.toLowerCase()?R=E():R=d(y,v,w,_,C,g);else if(S&6){v.slotScopeIds=C;const M=i(y);if(t(v,M,null,w,_,Do(M),g),R=T?b(y):o(y),R&&Fo(R)&&R.data==="teleport end"&&(R=o(R)),cr(v)){let L;T?(L=J(Oe),L.anchor=R?R.previousSibling:M.lastChild):L=y.nodeType===3?Ie(""):J("div"),L.el=y,v.component.subTree=L}}else S&64?A!==8?R=E():R=v.type.hydrate(y,v,w,_,C,g,e,p):S&128&&(R=v.type.hydrate(y,v,w,_,Do(i(y)),C,g,e,f))}return P!=null&&yi(P,null,_,v),R},d=(y,v,w,_,C,g)=>{g=g||!!v.dynamicChildren;const{type:T,props:E,patchFlag:x,shapeFlag:P,dirs:S}=v,k=T==="input"&&S||T==="option";if(k||x!==-1){if(S&&Xt(v,null,w,"created"),E)if(k||!g||x&48)for(const R in E)(k&&R.endsWith("value")||wo(R)&&!Us(R))&&r(y,R,null,E[R],!1,void 0,w);else E.onClick&&r(y,"onClick",null,E.onClick,!1,void 0,w);let A;if((A=E&&E.onVnodeBeforeMount)&>(A,w,v),S&&Xt(v,null,w,"beforeMount"),((A=E&&E.onVnodeMounted)||S)&&Bh(()=>{A&>(A,w,v),S&&Xt(v,null,w,"mounted")},_),P&16&&!(E&&(E.innerHTML||E.textContent))){let R=p(y.firstChild,v,y,w,_,C,g);for(;R;){Sn=!0;const M=R;R=R.nextSibling,a(M)}}else P&8&&y.textContent!==v.children&&(Sn=!0,y.textContent=v.children)}return y.nextSibling},p=(y,v,w,_,C,g,T)=>{T=T||!!v.dynamicChildren;const E=v.children,x=E.length;for(let P=0;P<x;P++){const S=T?E[P]:E[P]=Ct(E[P]);if(y)y=f(y,S,_,C,g,T);else{if(S.type===zr&&!S.children)continue;Sn=!0,n(null,S,w,null,_,C,Do(w),g)}}return y},h=(y,v,w,_,C,g)=>{const{slotScopeIds:T}=v;T&&(C=C?C.concat(T):T);const E=i(y),x=p(o(y),v,E,w,_,C,g);return x&&Fo(x)&&x.data==="]"?o(v.anchor=x):(Sn=!0,l(v.anchor=c("]"),E,x),x)},m=(y,v,w,_,C,g)=>{if(Sn=!0,v.el=null,g){const x=b(y);for(;;){const P=o(y);if(P&&P!==x)a(P);else break}}const T=o(y),E=i(y);return a(y),n(null,v,E,T,w,_,Do(E),C),T},b=y=>{let v=0;for(;y;)if(y=o(y),y&&Fo(y)&&(y.data==="["&&v++,y.data==="]")){if(v===0)return o(y);v--}return y};return[u,f]}const ot=Bh;function Vy(e){return op(e)}function Wy(e){return op(e,Uy)}function op(e,t){const n=Ja();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=Dt,insertStaticContent:h}=e,m=($,N,I,B=null,z=null,H=null,te=!1,G=null,q=!!N.dynamicChildren)=>{if($===N)return;$&&!Lt($,N)&&(B=O($),ne($,z,H,!0),$=null),N.patchFlag===-2&&(q=!1,N.dynamicChildren=null);const{type:W,ref:ie,shapeFlag:ae}=N;switch(W){case zr:b($,N,I,B);break;case pt:y($,N,I,B);break;case Gs:$==null&&v(N,I,B,te);break;case Oe:k($,N,I,B,z,H,te,G,q);break;default:ae&1?C($,N,I,B,z,H,te,G,q):ae&6?A($,N,I,B,z,H,te,G,q):(ae&64||ae&128)&&W.process($,N,I,B,z,H,te,G,q,V)}ie!=null&&z&&yi(ie,$&&$.ref,H,N||$,!N)},b=($,N,I,B)=>{if($==null)r(N.el=a(N.children),I,B);else{const z=N.el=$.el;N.children!==$.children&&c(z,N.children)}},y=($,N,I,B)=>{$==null?r(N.el=l(N.children||""),I,B):N.el=$.el},v=($,N,I,B)=>{[$.el,$.anchor]=h($.children,N,I,B,$.el,$.anchor)},w=({el:$,anchor:N},I,B)=>{let z;for(;$&&$!==N;)z=d($),r($,I,B),$=z;r(N,I,B)},_=({el:$,anchor:N})=>{let I;for(;$&&$!==N;)I=d($),s($),$=I;s(N)},C=($,N,I,B,z,H,te,G,q)=>{te=te||N.type==="svg",$==null?g(N,I,B,z,H,te,G,q):x($,N,z,H,te,G,q)},g=($,N,I,B,z,H,te,G)=>{let q,W;const{type:ie,props:ae,shapeFlag:ue,transition:ee,dirs:le}=$;if(q=$.el=i($.type,H,ae&&ae.is,ae),ue&8?u(q,$.children):ue&16&&E($.children,q,null,B,z,H&&ie!=="foreignObject",te,G),le&&Xt($,null,B,"created"),T(q,$,$.scopeId,te,B),ae){for(const de in ae)de!=="value"&&!Us(de)&&o(q,de,null,ae[de],H,$.children,B,z,Re);"value"in ae&&o(q,"value",null,ae.value),(W=ae.onVnodeBeforeMount)&>(W,B,$)}le&&Xt($,null,B,"beforeMount");const oe=(!z||z&&!z.pendingBranch)&&ee&&!ee.persisted;oe&&ee.beforeEnter(q),r(q,N,I),((W=ae&&ae.onVnodeMounted)||oe||le)&&ot(()=>{W&>(W,B,$),oe&&ee.enter(q),le&&Xt($,null,B,"mounted")},z)},T=($,N,I,B,z)=>{if(I&&p($,I),B)for(let H=0;H<B.length;H++)p($,B[H]);if(z){let H=z.subTree;if(N===H){const te=z.vnode;T($,te,te.scopeId,te.slotScopeIds,z.parent)}}},E=($,N,I,B,z,H,te,G,q=0)=>{for(let W=q;W<$.length;W++){const ie=$[W]=G?$n($[W]):Ct($[W]);m(null,ie,N,I,B,z,H,te,G)}},x=($,N,I,B,z,H,te)=>{const G=N.el=$.el;let{patchFlag:q,dynamicChildren:W,dirs:ie}=N;q|=$.patchFlag&16;const ae=$.props||Ue,ue=N.props||Ue;let ee;I&&Gn(I,!1),(ee=ue.onVnodeBeforeUpdate)&>(ee,I,N,$),ie&&Xt(N,$,I,"beforeUpdate"),I&&Gn(I,!0);const le=z&&N.type!=="foreignObject";if(W?P($.dynamicChildren,W,G,I,B,le,H):te||F($,N,G,null,I,B,le,H,!1),q>0){if(q&16)S(G,N,ae,ue,I,B,z);else if(q&2&&ae.class!==ue.class&&o(G,"class",null,ue.class,z),q&4&&o(G,"style",ae.style,ue.style,z),q&8){const oe=N.dynamicProps;for(let de=0;de<oe.length;de++){const Ne=oe[de],We=ae[Ne],Pe=ue[Ne];(Pe!==We||Ne==="value")&&o(G,Ne,We,Pe,z,$.children,I,B,Re)}}q&1&&$.children!==N.children&&u(G,N.children)}else!te&&W==null&&S(G,N,ae,ue,I,B,z);((ee=ue.onVnodeUpdated)||ie)&&ot(()=>{ee&>(ee,I,N,$),ie&&Xt(N,$,I,"updated")},B)},P=($,N,I,B,z,H,te)=>{for(let G=0;G<N.length;G++){const q=$[G],W=N[G],ie=q.el&&(q.type===Oe||!Lt(q,W)||q.shapeFlag&70)?f(q.el):I;m(q,W,ie,null,B,z,H,te,!0)}},S=($,N,I,B,z,H,te)=>{if(I!==B){if(I!==Ue)for(const G in I)!Us(G)&&!(G in B)&&o($,G,I[G],null,te,N.children,z,H,Re);for(const G in B){if(Us(G))continue;const q=B[G],W=I[G];q!==W&&G!=="value"&&o($,G,W,q,te,N.children,z,H,Re)}"value"in B&&o($,"value",I.value,B.value)}},k=($,N,I,B,z,H,te,G,q)=>{const W=N.el=$?$.el:a(""),ie=N.anchor=$?$.anchor:a("");let{patchFlag:ae,dynamicChildren:ue,slotScopeIds:ee}=N;ee&&(G=G?G.concat(ee):ee),$==null?(r(W,I,B),r(ie,I,B),E(N.children,I,ie,z,H,te,G,q)):ae>0&&ae&64&&ue&&$.dynamicChildren?(P($.dynamicChildren,ue,I,z,H,te,G),(N.key!=null||z&&N===z.subTree)&&xc($,N,!0)):F($,N,I,ie,z,H,te,G,q)},A=($,N,I,B,z,H,te,G,q)=>{N.slotScopeIds=G,$==null?N.shapeFlag&512?z.ctx.activate(N,I,B,te,q):R(N,I,B,z,H,te,q):M($,N,q)},R=($,N,I,B,z,H,te)=>{const G=$.component=Qy($,B,z);if(xo($)&&(G.ctx.renderer=V),e_(G),G.asyncDep){if(z&&z.registerDep(G,L),!$.el){const q=G.subTree=J(pt);y(null,q,N,I)}return}L(G,$,N,I,z,H,te)},M=($,N,I)=>{const B=N.component=$.component;if(fy($,N,I))if(B.asyncDep&&!B.asyncResolved){D(B,N,I);return}else B.next=N,ny(B.update),B.update();else N.el=$.el,B.vnode=N},L=($,N,I,B,z,H,te)=>{const G=()=>{if($.isMounted){let{next:ie,bu:ae,u:ue,parent:ee,vnode:le}=$,oe=ie,de;Gn($,!1),ie?(ie.el=le.el,D($,ie,te)):ie=le,ae&&$r(ae),(de=ie.props&&ie.props.onVnodeBeforeUpdate)&>(de,ee,ie,le),Gn($,!0);const Ne=ma($),We=$.subTree;$.subTree=Ne,m(We,Ne,f(We.el),O(We),$,z,H),ie.el=Ne.el,oe===null&&dc($,Ne.el),ue&&ot(ue,z),(de=ie.props&&ie.props.onVnodeUpdated)&&ot(()=>gt(de,ee,ie,le),z)}else{let ie;const{el:ae,props:ue}=N,{bm:ee,m:le,parent:oe}=$,de=cr(N);if(Gn($,!1),ee&&$r(ee),!de&&(ie=ue&&ue.onVnodeBeforeMount)&>(ie,oe,N),Gn($,!0),ae&&Ce){const Ne=()=>{$.subTree=ma($),Ce(ae,$.subTree,$,z,null)};de?N.type.__asyncLoader().then(()=>!$.isUnmounted&&Ne()):Ne()}else{const Ne=$.subTree=ma($);m(null,Ne,I,B,$,z,H),N.el=Ne.el}if(le&&ot(le,z),!de&&(ie=ue&&ue.onVnodeMounted)){const Ne=N;ot(()=>gt(ie,oe,Ne),z)}(N.shapeFlag&256||oe&&cr(oe.vnode)&&oe.vnode.shapeFlag&256)&&$.a&&ot($.a,z),$.isMounted=!0,N=I=B=null}},q=$.effect=new nc(G,()=>Ui(W),$.scope),W=$.update=()=>q.run();W.id=$.uid,Gn($,!0),W()},D=($,N,I)=>{N.component=$;const B=$.vnode.props;$.vnode=N,$.next=null,By($,N.props,B,I),Hy($,N.children,I),Jr(),gu(),Zr()},F=($,N,I,B,z,H,te,G,q=!1)=>{const W=$&&$.children,ie=$?$.shapeFlag:0,ae=N.children,{patchFlag:ue,shapeFlag:ee}=N;if(ue>0){if(ue&128){re(W,ae,I,B,z,H,te,G,q);return}else if(ue&256){U(W,ae,I,B,z,H,te,G,q);return}}ee&8?(ie&16&&Re(W,z,H),ae!==W&&u(I,ae)):ie&16?ee&16?re(W,ae,I,B,z,H,te,G,q):Re(W,z,H,!0):(ie&8&&u(I,""),ee&16&&E(ae,I,B,z,H,te,G,q))},U=($,N,I,B,z,H,te,G,q)=>{$=$||Ar,N=N||Ar;const W=$.length,ie=N.length,ae=Math.min(W,ie);let ue;for(ue=0;ue<ae;ue++){const ee=N[ue]=q?$n(N[ue]):Ct(N[ue]);m($[ue],ee,I,null,z,H,te,G,q)}W>ie?Re($,z,H,!0,!1,ae):E(N,I,B,z,H,te,G,q,ae)},re=($,N,I,B,z,H,te,G,q)=>{let W=0;const ie=N.length;let ae=$.length-1,ue=ie-1;for(;W<=ae&&W<=ue;){const ee=$[W],le=N[W]=q?$n(N[W]):Ct(N[W]);if(Lt(ee,le))m(ee,le,I,null,z,H,te,G,q);else break;W++}for(;W<=ae&&W<=ue;){const ee=$[ae],le=N[ue]=q?$n(N[ue]):Ct(N[ue]);if(Lt(ee,le))m(ee,le,I,null,z,H,te,G,q);else break;ae--,ue--}if(W>ae){if(W<=ue){const ee=ue+1,le=ee<ie?N[ee].el:B;for(;W<=ue;)m(null,N[W]=q?$n(N[W]):Ct(N[W]),I,le,z,H,te,G,q),W++}}else if(W>ue)for(;W<=ae;)ne($[W],z,H,!0),W++;else{const ee=W,le=W,oe=new Map;for(W=le;W<=ue;W++){const lt=N[W]=q?$n(N[W]):Ct(N[W]);lt.key!=null&&oe.set(lt.key,W)}let de,Ne=0;const We=ue-le+1;let Pe=!1,ye=0;const at=new Array(We);for(W=0;W<We;W++)at[W]=0;for(W=ee;W<=ae;W++){const lt=$[W];if(Ne>=We){ne(lt,z,H,!0);continue}let Wt;if(lt.key!=null)Wt=oe.get(lt.key);else for(de=le;de<=ue;de++)if(at[de-le]===0&&Lt(lt,N[de])){Wt=de;break}Wt===void 0?ne(lt,z,H,!0):(at[Wt-le]=W+1,Wt>=ye?ye=Wt:Pe=!0,m(lt,N[Wt],I,null,z,H,te,G,q),Ne++)}const xr=Pe?Gy(at):Ar;for(de=xr.length-1,W=We-1;W>=0;W--){const lt=le+W,Wt=N[lt],iu=lt+1<ie?N[lt+1].el:B;at[W]===0?m(null,Wt,I,iu,z,H,te,G,q):Pe&&(de<0||W!==xr[de]?se(Wt,I,iu,2):de--)}}},se=($,N,I,B,z=null)=>{const{el:H,type:te,transition:G,children:q,shapeFlag:W}=$;if(W&6){se($.component.subTree,N,I,B);return}if(W&128){$.suspense.move(N,I,B);return}if(W&64){te.move($,N,I,V);return}if(te===Oe){r(H,N,I);for(let ae=0;ae<q.length;ae++)se(q[ae],N,I,B);r($.anchor,N,I);return}if(te===Gs){w($,N,I);return}if(B!==2&&W&1&&G)if(B===0)G.beforeEnter(H),r(H,N,I),ot(()=>G.enter(H),z);else{const{leave:ae,delayLeave:ue,afterLeave:ee}=G,le=()=>r(H,N,I),oe=()=>{ae(H,()=>{le(),ee&&ee()})};ue?ue(H,le,oe):oe()}else r(H,N,I)},ne=($,N,I,B=!1,z=!1)=>{const{type:H,props:te,ref:G,children:q,dynamicChildren:W,shapeFlag:ie,patchFlag:ae,dirs:ue}=$;if(G!=null&&yi(G,null,I,$,!0),ie&256){N.ctx.deactivate($);return}const ee=ie&1&&ue,le=!cr($);let oe;if(le&&(oe=te&&te.onVnodeBeforeUnmount)&>(oe,N,$),ie&6)xe($.component,I,B);else{if(ie&128){$.suspense.unmount(I,B);return}ee&&Xt($,null,N,"beforeUnmount"),ie&64?$.type.remove($,N,I,z,V,B):W&&(H!==Oe||ae>0&&ae&64)?Re(W,N,I,!1,!0):(H===Oe&&ae&384||!z&&ie&16)&&Re(q,N,I),B&&me($)}(le&&(oe=te&&te.onVnodeUnmounted)||ee)&&ot(()=>{oe&>(oe,N,$),ee&&Xt($,null,N,"unmounted")},I)},me=$=>{const{type:N,el:I,anchor:B,transition:z}=$;if(N===Oe){fe(I,B);return}if(N===Gs){_($);return}const H=()=>{s(I),z&&!z.persisted&&z.afterLeave&&z.afterLeave()};if($.shapeFlag&1&&z&&!z.persisted){const{leave:te,delayLeave:G}=z,q=()=>te(I,H);G?G($.el,H,q):q()}else H()},fe=($,N)=>{let I;for(;$!==N;)I=d($),s($),$=I;s(N)},xe=($,N,I)=>{const{bum:B,scope:z,update:H,subTree:te,um:G}=$;B&&$r(B),z.stop(),H&&(H.active=!1,ne(te,$,N,I)),G&&ot(G,N),ot(()=>{$.isUnmounted=!0},N),N&&N.pendingBranch&&!N.isUnmounted&&$.asyncDep&&!$.asyncResolved&&$.suspenseId===N.pendingId&&(N.deps--,N.deps===0&&N.resolve())},Re=($,N,I,B=!1,z=!1,H=0)=>{for(let te=H;te<$.length;te++)ne($[te],N,I,B,z)},O=$=>$.shapeFlag&6?O($.component.subTree):$.shapeFlag&128?$.suspense.next():d($.anchor||$.el),X=($,N,I)=>{$==null?N._vnode&&ne(N._vnode,null,null,!0):m(N._vnode||null,$,N,null,null,null,I),gu(),hi(),N._vnode=$},V={p:m,um:ne,m:se,r:me,mt:R,mc:E,pc:F,pbc:P,n:O,o:e};let ce,Ce;return t&&([ce,Ce]=t(V)),{render:X,hydrate:ce,createApp:Dy(X,ce)}}function Gn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function xc(e,t,n=!1){const r=e.children,s=t.children;if(pe(r)&&pe(s))for(let o=0;o<r.length;o++){const i=r[o];let a=s[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[o]=$n(s[o]),a.el=i.el),n||xc(i,a)),a.type===zr&&(a.el=i.el)}}function Gy(e){const t=e.slice(),n=[0];let r,s,o,i,a;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(s=n[n.length-1],e[s]<c){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<c?o=a+1:i=a;c<e[n[o]]&&(o>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}const qy=e=>e.__isTeleport,Ws=e=>e&&(e.disabled||e.disabled===""),Au=e=>typeof SVGElement<"u"&&e instanceof SVGElement,il=(e,t)=>{const n=e&&e.to;return Ve(n)?t?t(n):null:n},Ky={__isTeleport:!0,process(e,t,n,r,s,o,i,a,l,c){const{mc:u,pc:f,pbc:d,o:{insert:p,querySelector:h,createText:m,createComment:b}}=c,y=Ws(t.props);let{shapeFlag:v,children:w,dynamicChildren:_}=t;if(e==null){const C=t.el=m(""),g=t.anchor=m("");p(C,n,r),p(g,n,r);const T=t.target=il(t.props,h),E=t.targetAnchor=m("");T&&(p(E,T),i=i||Au(T));const x=(P,S)=>{v&16&&u(w,P,S,s,o,i,a,l)};y?x(n,g):T&&x(T,E)}else{t.el=e.el;const C=t.anchor=e.anchor,g=t.target=e.target,T=t.targetAnchor=e.targetAnchor,E=Ws(e.props),x=E?n:g,P=E?C:T;if(i=i||Au(g),_?(d(e.dynamicChildren,_,x,s,o,i,a),xc(e,t,!0)):l||f(e,t,x,P,s,o,i,a,!1),y)E||Bo(t,n,C,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const S=t.target=il(t.props,h);S&&Bo(t,S,null,c,0)}else E&&Bo(t,g,T,c,1)}ap(t)},remove(e,t,n,r,{um:s,o:{remove:o}},i){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:f,props:d}=e;if(f&&o(u),(i||!Ws(d))&&(o(c),a&16))for(let p=0;p<l.length;p++){const h=l[p];s(h,t,n,!0,!!h.dynamicChildren)}},move:Bo,hydrate:Xy};function Bo(e,t,n,{o:{insert:r},m:s},o=2){o===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:c,props:u}=e,f=o===2;if(f&&r(i,t,n),(!f||Ws(u))&&l&16)for(let d=0;d<c.length;d++)s(c[d],t,n,2);f&&r(a,t,n)}function Xy(e,t,n,r,s,o,{o:{nextSibling:i,parentNode:a,querySelector:l}},c){const u=t.target=il(t.props,l);if(u){const f=u._lpa||u.firstChild;if(t.shapeFlag&16)if(Ws(t.props))t.anchor=c(i(e),t,a(e),n,r,s,o),t.targetAnchor=f;else{t.anchor=i(e);let d=f;for(;d;)if(d=i(d),d&&d.nodeType===8&&d.data==="teleport anchor"){t.targetAnchor=d,u._lpa=t.targetAnchor&&i(t.targetAnchor);break}c(f,t,u,n,r,s,o)}ap(t)}return t.anchor&&i(t.anchor)}const ip=Ky;function ap(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const Oe=Symbol.for("v-fgt"),zr=Symbol.for("v-txt"),pt=Symbol.for("v-cmt"),Gs=Symbol.for("v-stc"),qs=[];let kt=null;function Z(e=!1){qs.push(kt=e?null:[])}function lp(){qs.pop(),kt=qs[qs.length-1]||null}let Hr=1;function Ru(e){Hr+=e}function cp(e){return e.dynamicChildren=Hr>0?kt||Ar:null,lp(),Hr>0&&kt&&kt.push(e),e}function ve(e,t,n,r,s,o){return cp(Y(e,t,n,r,s,o,!0))}function Se(e,t,n,r,s){return cp(J(e,t,n,r,s,!0))}function Ur(e){return e?e.__v_isVNode===!0:!1}function Lt(e,t){return e.type===t.type&&e.key===t.key}const qi="__vInternal",up=({key:e})=>e??null,si=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ve(e)||Be(e)||_e(e)?{i:rt,r:e,k:t,f:!!n}:e:null);function Y(e,t=null,n=null,r=0,s=null,o=e===Oe?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&up(t),ref:t&&si(t),scopeId:Wi,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:rt};return a?(Ec(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Ve(n)?8:16),Hr>0&&!i&&kt&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&kt.push(l),l}const J=Yy;function Yy(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===Xh)&&(e=pt),Ur(e)){const a=vn(e,t,!0);return n&&Ec(a,n),Hr>0&&!o&&kt&&(a.shapeFlag&6?kt[kt.indexOf(e)]=a:kt.push(a)),a.patchFlag|=-2,a}if(s_(e)&&(e=e.__vccOpts),t){t=Ki(t);let{class:a,style:l}=t;a&&!Ve(a)&&(t.class=Ye(a)),je(l)&&(Ph(l)&&!pe(l)&&(l=qe({},l)),t.style=hn(l))}const i=Ve(e)?1:Fh(e)?128:qy(e)?64:je(e)?4:_e(e)?2:0;return Y(e,t,n,r,s,i,o,!0)}function Ki(e){return e?Ph(e)||qi in e?qe({},e):e:null}function vn(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:i}=e,a=t?yn(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&up(a),ref:t&&t.ref?n&&s?pe(s)?s.concat(si(t)):[s,si(t)]:si(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!==Oe?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&&vn(e.ssContent),ssFallback:e.ssFallback&&vn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Ie(e=" ",t=0){return J(zr,null,e,t)}function F2(e,t){const n=J(Gs,null,e);return n.staticCount=t,n}function Ge(e="",t=!1){return t?(Z(),Se(pt,null,e)):J(pt,null,e)}function Ct(e){return e==null||typeof e=="boolean"?J(pt):pe(e)?J(Oe,null,e.slice()):typeof e=="object"?$n(e):J(zr,null,String(e))}function $n(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:vn(e)}function Ec(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(pe(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Ec(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(qi in t)?t._ctx=rt:s===3&&rt&&(rt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else _e(t)?(t={default:t,_ctx:rt},n=32):(t=String(t),r&64?(n=16,t=[Ie(t)]):n=8);e.children=t,e.shapeFlag|=n}function yn(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=Ye([t.class,r.class]));else if(s==="style")t.style=hn([t.style,r.style]);else if(wo(s)){const o=t[s],i=r[s];i&&o!==i&&!(pe(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function gt(e,t,n,r=null){Rt(e,t,7,[n,r])}const Jy=Zh();let Zy=0;function Qy(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||Jy,o={uid:Zy++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new mv(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:tp(r,s),emitsOptions:Dh(r,s),emit:null,emitted:null,propsDefaults:Ue,inheritAttrs:r.inheritAttrs,ctx:Ue,data:Ue,props:Ue,attrs:Ue,slots:Ue,refs:Ue,setupState:Ue,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=sy.bind(null,o),e.ce&&e.ce(o),o}let Xe=null;const rn=()=>Xe||rt;let Sc,Er,$u="__VUE_INSTANCE_SETTERS__";(Er=Ja()[$u])||(Er=Ja()[$u]=[]),Er.push(e=>Xe=e),Sc=e=>{Er.length>1?Er.forEach(t=>t(e)):Er[0](e)};const Hn=e=>{Sc(e),e.scope.on()},Dn=()=>{Xe&&Xe.scope.off(),Sc(null)};function fp(e){return e.vnode.shapeFlag&4}let Vr=!1;function e_(e,t=!1){Vr=t;const{props:n,children:r}=e.vnode,s=fp(e);Fy(e,n,s,t),zy(e,r);const o=s?t_(e,t):void 0;return Vr=!1,o}function t_(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=kh(new Proxy(e.ctx,Ry));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?r_(e):null;Hn(e),Jr();const o=Mn(r,e,0,[e.props,s]);if(Zr(),Dn(),Jl(o)){if(o.then(Dn,Dn),t)return o.then(i=>{al(e,i,t)}).catch(i=>{ts(i,e,0)});e.asyncDep=o}else al(e,o,t)}else dp(e,t)}function al(e,t,n){_e(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:je(t)&&(e.setupState=$h(t)),dp(e,n)}let Nu;function dp(e,t,n){const r=e.type;if(!e.render){if(!t&&Nu&&!r.render){const s=r.template||bc(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=qe(qe({isCustomElement:o,delimiters:a},i),l);r.render=Nu(s,c)}}e.render=r.render||Dt}Hn(e),Jr(),$y(e),Zr(),Dn()}function n_(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return vt(e,"get","$attrs"),t[n]}}))}function r_(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return n_(e)},slots:e.slots,emit:e.emit,expose:t}}function Xi(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy($h(kh(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Vs)return Vs[n](e)},has(t,n){return n in t||n in Vs}}))}function ll(e,t=!0){return _e(e)?e.displayName||e.name:e.name||t&&e.__name}function s_(e){return _e(e)&&"__vccOpts"in e}const ge=(e,t)=>Qv(e,t,Vr);function Je(e,t,n){const r=arguments.length;return r===2?je(t)&&!pe(t)?Ur(t)?J(e,null,[t]):J(e,t):J(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Ur(n)&&(n=[n]),J(e,t,n))}const o_=Symbol.for("v-scx"),i_=()=>ht(o_),hp="3.3.4",a_="http://www.w3.org/2000/svg",er=typeof document<"u"?document:null,Ou=er&&er.createElement("template"),l_={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?er.createElementNS(a_,e):er.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>er.createTextNode(e),createComment:e=>er.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>er.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{Ou.innerHTML=r?`<svg>${e}</svg>`:e;const a=Ou.content;if(r){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function c_(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function u_(e,t,n){const r=e.style,s=Ve(n);if(n&&!s){if(t&&!Ve(t))for(const o in t)n[o]==null&&cl(r,o,"");for(const o in n)cl(r,o,n[o])}else{const o=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=o)}}const Iu=/\s*!important$/;function cl(e,t,n){if(pe(n))n.forEach(r=>cl(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=f_(e,t);Iu.test(n)?e.setProperty(yr(r),n.replace(Iu,""),"important"):e[r]=n}}const Lu=["Webkit","Moz","ms"],wa={};function f_(e,t){const n=wa[t];if(n)return n;let r=en(t);if(r!=="filter"&&r in e)return wa[t]=r;r=ji(r);for(let s=0;s<Lu.length;s++){const o=Lu[s]+r;if(o in e)return wa[t]=o}return t}const Mu="http://www.w3.org/1999/xlink";function d_(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Mu,t.slice(6,t.length)):e.setAttributeNS(Mu,t,n);else{const o=hv(t);n==null||o&&!ph(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function h_(e,t,n,r,s,o,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,s,o),e[t]=n??"";return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){e._value=n;const c=a==="OPTION"?e.getAttribute("value"):e.value,u=n??"";c!==u&&(e.value=u),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=ph(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function dn(e,t,n,r){e.addEventListener(t,n,r)}function p_(e,t,n,r){e.removeEventListener(t,n,r)}function m_(e,t,n,r,s=null){const o=e._vei||(e._vei={}),i=o[t];if(r&&i)i.value=r;else{const[a,l]=g_(t);if(r){const c=o[t]=__(r,s);dn(e,a,c,l)}else i&&(p_(e,a,i,l),o[t]=void 0)}}const Du=/(?:Once|Passive|Capture)$/;function g_(e){let t;if(Du.test(e)){t={};let r;for(;r=e.match(Du);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):yr(e.slice(2)),t]}let xa=0;const v_=Promise.resolve(),y_=()=>xa||(v_.then(()=>xa=0),xa=Date.now());function __(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Rt(b_(r,n.value),t,5,[r])};return n.value=e,n.attached=y_(),n}function b_(e,t){if(pe(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 Fu=/^on[a-z]/,w_=(e,t,n,r,s=!1,o,i,a,l)=>{t==="class"?c_(e,r,s):t==="style"?u_(e,n,r):wo(t)?Xl(t)||m_(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):x_(e,t,r,s))?h_(e,t,r,o,i,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),d_(e,t,r,s))};function x_(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&Fu.test(t)&&_e(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Fu.test(t)&&Ve(n)?!1:t in e}const Cn="transition",fs="animation",Yi=(e,{slots:t})=>Je(by,mp(e),t);Yi.displayName="Transition";const pp={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},E_=Yi.props=qe({},Hh,pp),qn=(e,t=[])=>{pe(e)?e.forEach(n=>n(...t)):e&&e(...t)},Bu=e=>e?pe(e)?e.some(t=>t.length>1):e.length>1:!1;function mp(e){const t={};for(const k in e)k in pp||(t[k]=e[k]);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:l=o,appearActiveClass:c=i,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=S_(s),m=h&&h[0],b=h&&h[1],{onBeforeEnter:y,onEnter:v,onEnterCancelled:w,onLeave:_,onLeaveCancelled:C,onBeforeAppear:g=y,onAppear:T=v,onAppearCancelled:E=w}=t,x=(k,A,R)=>{kn(k,A?u:a),kn(k,A?c:i),R&&R()},P=(k,A)=>{k._isLeaving=!1,kn(k,f),kn(k,p),kn(k,d),A&&A()},S=k=>(A,R)=>{const M=k?T:v,L=()=>x(A,k,R);qn(M,[A,L]),ju(()=>{kn(A,k?l:o),an(A,k?u:a),Bu(M)||zu(A,r,m,L)})};return qe(t,{onBeforeEnter(k){qn(y,[k]),an(k,o),an(k,i)},onBeforeAppear(k){qn(g,[k]),an(k,l),an(k,c)},onEnter:S(!1),onAppear:S(!0),onLeave(k,A){k._isLeaving=!0;const R=()=>P(k,A);an(k,f),vp(),an(k,d),ju(()=>{k._isLeaving&&(kn(k,f),an(k,p),Bu(_)||zu(k,r,b,R))}),qn(_,[k,R])},onEnterCancelled(k){x(k,!1),qn(w,[k])},onAppearCancelled(k){x(k,!0),qn(E,[k])},onLeaveCancelled(k){P(k),qn(C,[k])}})}function S_(e){if(e==null)return null;if(je(e))return[Ea(e.enter),Ea(e.leave)];{const t=Ea(e);return[t,t]}}function Ea(e){return hh(e)}function an(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function kn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function ju(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let C_=0;function zu(e,t,n,r){const s=e._endId=++C_,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:a,propCount:l}=gp(e,t);if(!i)return r();const c=i+"end";let u=0;const f=()=>{e.removeEventListener(c,d),o()},d=p=>{p.target===e&&++u>=l&&f()};setTimeout(()=>{u<l&&f()},a+1),e.addEventListener(c,d)}function gp(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),s=r(`${Cn}Delay`),o=r(`${Cn}Duration`),i=Hu(s,o),a=r(`${fs}Delay`),l=r(`${fs}Duration`),c=Hu(a,l);let u=null,f=0,d=0;t===Cn?i>0&&(u=Cn,f=i,d=o.length):t===fs?c>0&&(u=fs,f=c,d=l.length):(f=Math.max(i,c),u=f>0?i>c?Cn:fs:null,d=u?u===Cn?o.length:l.length:0);const p=u===Cn&&/\b(transform|all)(,|$)/.test(r(`${Cn}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:p}}function Hu(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Uu(n)+Uu(e[r])))}function Uu(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function vp(){return document.body.offsetHeight}const yp=new WeakMap,_p=new WeakMap,bp={name:"TransitionGroup",props:qe({},E_,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=rn(),r=zh();let s,o;return vc(()=>{if(!s.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!$_(s[0].el,n.vnode.el,i))return;s.forEach(k_),s.forEach(A_);const a=s.filter(R_);vp(),a.forEach(l=>{const c=l.el,u=c.style;an(c,i),u.transform=u.webkitTransform=u.transitionDuration="";const f=c._moveCb=d=>{d&&d.target!==c||(!d||/transform$/.test(d.propertyName))&&(c.removeEventListener("transitionend",f),c._moveCb=null,kn(c,i))};c.addEventListener("transitionend",f)})}),()=>{const i=Ae(e),a=mp(i);let l=i.tag||Oe;s=o,o=t.default?gc(t.default()):[];for(let c=0;c<o.length;c++){const u=o[c];u.key!=null&&jr(u,co(u,a,r,n))}if(s)for(let c=0;c<s.length;c++){const u=s[c];jr(u,co(u,a,r,n)),yp.set(u,u.el.getBoundingClientRect())}return J(l,null,o)}}},T_=e=>delete e.mode;bp.props;const P_=bp;function k_(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function A_(e){_p.set(e,e.el.getBoundingClientRect())}function R_(e){const t=yp.get(e),n=_p.get(e),r=t.left-n.left,s=t.top-n.top;if(r||s){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${r}px,${s}px)`,o.transitionDuration="0s",e}}function $_(e,t,n){const r=e.cloneNode();e._vtc&&e._vtc.forEach(i=>{i.split(/\s+/).forEach(a=>a&&r.classList.remove(a))}),n.split(/\s+/).forEach(i=>i&&r.classList.add(i)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:o}=gp(r);return s.removeChild(r),o}const Un=e=>{const t=e.props["onUpdate:modelValue"]||!1;return pe(t)?n=>$r(t,n):t};function N_(e){e.target.composing=!0}function Vu(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Wu={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e._assign=Un(s);const o=r||s.props&&s.props.type==="number";dn(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=ui(a)),e._assign(a)}),n&&dn(e,"change",()=>{e.value=e.value.trim()}),t||(dn(e,"compositionstart",N_),dn(e,"compositionend",Vu),dn(e,"change",Vu))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},o){if(e._assign=Un(o),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(s||e.type==="number")&&ui(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},O_={deep:!0,created(e,t,n){e._assign=Un(n),dn(e,"change",()=>{const r=e._modelValue,s=Wr(e),o=e.checked,i=e._assign;if(pe(r)){const a=ec(r,s),l=a!==-1;if(o&&!l)i(r.concat(s));else if(!o&&l){const c=[...r];c.splice(a,1),i(c)}}else if(Xr(r)){const a=new Set(r);o?a.add(s):a.delete(s),i(a)}else i(wp(e,o))})},mounted:Gu,beforeUpdate(e,t,n){e._assign=Un(n),Gu(e,t,n)}};function Gu(e,{value:t,oldValue:n},r){e._modelValue=t,pe(t)?e.checked=ec(t,r.props.value)>-1:Xr(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=fr(t,wp(e,!0)))}const I_={created(e,{value:t},n){e.checked=fr(t,n.props.value),e._assign=Un(n),dn(e,"change",()=>{e._assign(Wr(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e._assign=Un(r),t!==n&&(e.checked=fr(t,r.props.value))}},L_={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=Xr(t);dn(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?ui(Wr(i)):Wr(i));e._assign(e.multiple?s?new Set(o):o:o[0])}),e._assign=Un(r)},mounted(e,{value:t}){qu(e,t)},beforeUpdate(e,t,n){e._assign=Un(n)},updated(e,{value:t}){qu(e,t)}};function qu(e,t){const n=e.multiple;if(!(n&&!pe(t)&&!Xr(t))){for(let r=0,s=e.options.length;r<s;r++){const o=e.options[r],i=Wr(o);if(n)pe(t)?o.selected=ec(t,i)>-1:o.selected=t.has(i);else if(fr(Wr(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Wr(e){return"_value"in e?e._value:e.value}function wp(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const M_={created(e,t,n){jo(e,t,n,null,"created")},mounted(e,t,n){jo(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){jo(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){jo(e,t,n,r,"updated")}};function D_(e,t){switch(e){case"SELECT":return L_;case"TEXTAREA":return Wu;default:switch(t){case"checkbox":return O_;case"radio":return I_;default:return Wu}}}function jo(e,t,n,r,s){const i=D_(e.tagName,n.props&&n.props.type)[s];i&&i(e,t,n,r)}const F_=["ctrl","shift","alt","meta"],B_={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>F_.some(n=>e[`${n}Key`]&&!t.includes(n))},j_=(e,t)=>(n,...r)=>{for(let s=0;s<t.length;s++){const o=B_[t[s]];if(o&&o(n,t))return}return e(n,...r)},z_={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},xp=(e,t)=>n=>{if(!("key"in n))return;const r=yr(n.key);if(t.some(s=>s===r||z_[s]===r))return e(n)},ul={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):ds(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),ds(e,!0),r.enter(e)):r.leave(e,()=>{ds(e,!1)}):ds(e,t))},beforeUnmount(e,{value:t}){ds(e,t)}};function ds(e,t){e.style.display=t?e._vod:"none"}const Ep=qe({patchProp:w_},l_);let Ks,Ku=!1;function H_(){return Ks||(Ks=Vy(Ep))}function U_(){return Ks=Ku?Ks:Wy(Ep),Ku=!0,Ks}const Sp=(...e)=>{const t=H_().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Cp(r);if(!s)return;const o=t._component;!_e(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},V_=(...e)=>{const t=U_().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Cp(r);if(s)return n(s,!0,s instanceof SVGElement)},t};function Cp(e){return Ve(e)?document.querySelector(e):e}const W_=/"(?:_|\\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*:/,G_=/"(?: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*:/,q_=/^\s*["[{]|^\s*-?\d[\d.]{0,14}\s*$/;function K_(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){X_(e);return}return t}function X_(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function _i(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e[e.length-1]==='"')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(!q_.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(W_.test(e)||G_.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,K_)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const Y_=/#/g,J_=/&/g,Z_=/=/g,Cc=/\+/g,Q_=/%5e/gi,e0=/%60/gi,t0=/%7c/gi,n0=/%20/gi;function r0(e){return encodeURI(""+e).replace(t0,"|")}function fl(e){return r0(typeof e=="string"?e:JSON.stringify(e)).replace(Cc,"%2B").replace(n0,"+").replace(Y_,"%23").replace(J_,"%26").replace(e0,"`").replace(Q_,"^")}function Sa(e){return fl(e).replace(Z_,"%3D")}function bi(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function s0(e){return bi(e.replace(Cc," "))}function o0(e){return bi(e.replace(Cc," "))}function Tp(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=s0(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=o0(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 i0(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Sa(e)}=${fl(n)}`).join("&"):`${Sa(e)}=${fl(t)}`:Sa(e)}function a0(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>i0(t,e[t])).filter(Boolean).join("&")}const l0=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,c0=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,u0=/^([/\\]\s*){2,}[^/\\]/;function rs(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?l0.test(e):c0.test(e)||(t.acceptRelative?u0.test(e):!1)}const f0=/^[\s\0]*(blob|data|javascript|vbscript):$/;function d0(e){return!!e&&f0.test(e)}const h0=/\/$|\/\?/;function dl(e="",t=!1){return t?h0.test(e):e.endsWith("/")}function Tc(e="",t=!1){if(!t)return(dl(e)?e.slice(0,-1):e)||"/";if(!dl(e,!0))return e||"/";const[n,...r]=e.split("?");return(n.slice(0,-1)||"/")+(r.length>0?`?${r.join("?")}`:"")}function wi(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(dl(e,!0))return e||"/";const[n,...r]=e.split("?");return n+"/"+(r.length>0?`?${r.join("?")}`:"")}function p0(e=""){return e.startsWith("/")}function Xu(e=""){return p0(e)?e:"/"+e}function m0(e,t){if(kp(t)||rs(e))return e;const n=Tc(t);return e.startsWith(n)?e:Eo(n,e)}function Yu(e,t){if(kp(t))return e;const n=Tc(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function Pp(e,t){const n=So(e),r={...Tp(n.search),...t};return n.search=a0(r),_0(n)}function kp(e){return!e||e==="/"}function g0(e){return e&&e!=="/"}const v0=/^\.?\//;function Eo(e,...t){let n=e||"";for(const r of t.filter(s=>g0(s)))if(n){const s=r.replace(v0,"");n=wi(n)+s}else n=r;return n}function y0(e,t,n={}){return n.trailingSlash||(e=wi(e),t=wi(t)),n.leadingSlash||(e=Xu(e),t=Xu(t)),n.encoding||(e=bi(e),t=bi(t)),e===t}function So(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/);if(n){const[,f,d=""]=n;return{protocol:f,pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!rs(e,{acceptRelative:!0}))return t?So(t+e):Ju(e);const[,r="",s,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,i="",a=""]=o.match(/([^#/?]*)(.*)?/)||[],{pathname:l,search:c,hash:u}=Ju(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r,auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:l,search:c,hash:u}}function Ju(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function _0(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.protocol+"//":"")+s+o+t+n+r}class b0 extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function w0(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",r=e.request?.url||String(e.request)||"/",s=`[${n}] ${JSON.stringify(r)}`,o=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${s}: ${o}${t?` ${t}`:""}`,a=new b0(i,e.error?{cause:e.error}:void 0);for(const l of["request","options","response"])Object.defineProperty(a,l,{get(){return e[l]}});for(const[l,c]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,l,{get(){return e.response&&e.response[c]}});return a}const x0=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Zu(e="GET"){return x0.has(e.toUpperCase())}function E0(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 S0=new Set(["image/svg","application/xml","application/xhtml","application/html"]),C0=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function T0(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return C0.test(t)?"json":S0.has(t)||t.startsWith("text/")?"text":"blob"}function P0(e,t,n=globalThis.Headers){const r={...t,...e};if(t?.params&&e?.params&&(r.params={...t?.params,...e?.params}),t?.query&&e?.query&&(r.query={...t?.query,...e?.query}),t?.headers&&e?.headers){r.headers=new n(t?.headers||{});for(const[s,o]of new n(e?.headers||{}))r.headers.set(s,o)}return r}const k0=new Set([408,409,425,429,500,502,503,504]),A0=new Set([101,204,205,304]);function Ap(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function s(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let u;typeof a.options.retry=="number"?u=a.options.retry:u=Zu(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):k0.has(f))){const d=a.options.retryDelay||0;return d>0&&await new Promise(p=>setTimeout(p,d)),o(a.request,{...a.options,retry:u-1,timeout:a.options.timeout})}}const c=w0(a);throw Error.captureStackTrace&&Error.captureStackTrace(c,o),c}const o=async function(l,c={}){const u={request:l,options:P0(c,e.defaults,n),response:void 0,error:void 0};if(u.options.method=u.options.method?.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=m0(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=Pp(u.request,{...u.options.params,...u.options.query}))),u.options.body&&Zu(u.options.method)&&(E0(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"))),!u.options.signal&&u.options.timeout){const d=new r;setTimeout(()=>d.abort(),u.options.timeout),u.options.signal=d.signal}try{u.response=await t(u.request,u.options)}catch(d){return u.error=d,u.options.onRequestError&&await u.options.onRequestError(u),await s(u)}if(u.response.body&&!A0.has(u.response.status)&&u.options.method!=="HEAD"){const d=(u.options.parseResponse?"json":u.options.responseType)||T0(u.response.headers.get("content-type")||"");switch(d){case"json":{const p=await u.response.text(),h=u.options.parseResponse||_i;u.response._data=h(p);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[d]()}}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(l,c){return(await o(l,c))._data};return i.raw=o,i.native=(...a)=>t(...a),i.create=(a={})=>Ap({...e,defaults:{...e.defaults,...a}}),i}const Pc=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")}(),R0=Pc.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),$0=Pc.Headers,N0=Pc.AbortController,O0=Ap({fetch:R0,Headers:$0,AbortController:N0}),I0=O0,L0=()=>window?.__NUXT__?.config||{},xi=L0().app,M0=()=>xi.baseURL,D0=()=>xi.buildAssetsDir,F0=(...e)=>Eo(Rp(),D0(),...e),Rp=(...e)=>{const t=xi.cdnURL||xi.baseURL;return e.length?Eo(t,...e):t};globalThis.__buildAssetsURL=F0,globalThis.__publicAssetsURL=Rp;function hl(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?hl(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const B0={run:e=>e()},j0=()=>B0,$p=typeof console.createTask<"u"?console.createTask:j0;function z0(e,t){const n=t.shift(),r=$p(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function H0(e,t){const n=t.shift(),r=$p(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function Ca(e,t){for(const n of[...e])n(t)}class U0{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=hl(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=hl(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(z0,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(H0,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Ca(this._before,s);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&Ca(this._after,s)}):(this._after&&s&&Ca(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 Np(){return new U0}function V0(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 l=()=>{t=i},c=()=>t===i?l:void 0;pl.add(c);try{const u=s?s.run(i,a):a();return n||(t=void 0),await u}finally{pl.delete(c)}}}}function W0(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=V0({...e,...r})),t[n],t[n]}}}const Ei=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Qu="__unctx__",G0=Ei[Qu]||(Ei[Qu]=W0()),q0=(e,t={})=>G0.get(e,t),ef="__unctx_async_handlers__",pl=Ei[ef]||(Ei[ef]=new Set);function Si(e){const t=[];for(const s of pl){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 Op=q0("nuxt-app",{asyncContext:!1}),K0="__nuxt_plugin";function X0(e){let t=0;const n={provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.7.3"},get vue(){return n.vueApp.version}},payload:jt({data:{},state:{},_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:s=>Z0(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=Np(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,o)=>{const i="$"+s;zo(n,i,o),zo(n.vueApp.config.globalProperties,i,o)},zo(n.vueApp,"$nuxt",n),zo(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",o=>{n.callHook("app:chunkError",{error:o.payload})}),window.useNuxtApp=window.useNuxtApp||Le;const s=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",s)}const r=jt(n.payload.config);return n.provide("config",r),n}async function Y0(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 J0(e,t){const n=[],r=[];for(const s of t){const o=Y0(e,s);s.parallel?n.push(o.catch(i=>r.push(i))):await o}if(await Promise.all(n),r.length)throw r[0]}/*! @__NO_SIDE_EFFECTS__ */function Ht(e){return typeof e=="function"?e:(delete e.name,Object.assign(e.setup||(()=>{}),e,{[K0]:!0}))}function Z0(e,t,n){const r=()=>n?t(...n):t();return Op.set(e),e.vueApp.runWithContext(r)}/*! @__NO_SIDE_EFFECTS__ */function Le(){let e;if(Qh()&&(e=rn()?.appContext.app.$nuxt),e=e||Op.tryUse(),!e)throw new Error("[nuxt] instance unavailable");return e}/*! @__NO_SIDE_EFFECTS__ */function kc(){return Le().$config}function zo(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const Q0="modulepreload",eb=function(e,t){return e[0]==="."?new URL(e,t).href:e},tf={},tb=function(t,n,r){if(!n||n.length===0)return t();const s=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=eb(o,r),o in tf)return;tf[o]=!0;const i=o.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!r)for(let u=s.length-1;u>=0;u--){const f=s[u];if(f.href===o&&(!i||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${a}`))return;const c=document.createElement("link");if(c.rel=i?"stylesheet":Q0,i||(c.as="script",c.crossOrigin=""),c.href=o,document.head.appendChild(c),i)return new Promise((u,f)=>{c.addEventListener("load",u),c.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},be=(...e)=>tb(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),nb=-1,rb=-2,sb=-3,ob=-4,ib=-5,ab=-6;function lb(e,t){return cb(JSON.parse(e),t)}function cb(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===nb)return;if(o===sb)return NaN;if(o===ob)return 1/0;if(o===ib)return-1/0;if(o===ab)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 l=a[0],c=t?.[l];if(c)return r[o]=c(s(a[1]));switch(l){case"Date":r[o]=new Date(a[1]);break;case"Set":const u=new Set;r[o]=u;for(let p=1;p<a.length;p+=1)u.add(s(a[p]));break;case"Map":const f=new Map;r[o]=f;for(let p=1;p<a.length;p+=2)f.set(s(a[p]),s(a[p+1]));break;case"RegExp":r[o]=new RegExp(a[1],a[2]);break;case"Object":r[o]=Object(a[1]);break;case"BigInt":r[o]=BigInt(a[1]);break;case"null":const d=Object.create(null);r[o]=d;for(let p=1;p<a.length;p+=2)d[a[p]]=s(a[p+1]);break;default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);r[o]=l;for(let c=0;c<a.length;c+=1){const u=a[c];u!==rb&&(l[c]=s(u))}}else{const l={};r[o]=l;for(const c in a){const u=a[c];l[c]=s(u)}}return r[o]}return s(0)}function ub(e){return Array.isArray(e)?e:[e]}const fb=["title","titleTemplate","script","style","noscript"],oi=["base","meta","link","style","script","noscript"],db=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],hb=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],Ip=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"],pb=typeof window<"u";function Lp(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function nf(e){return e._h||Lp(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function Mp(e,t){const{props:n,tag:r}=e;if(hb.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 rf(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function mb(e,t,n){const r={tag:e,props:await Dp(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return Ip.forEach(s=>{const o=typeof r.props[s]<"u"?r.props[s]:n[s];typeof o<"u"&&((!["innerHTML","textContent"].includes(s)||fb.includes(r.tag))&&(r[s]=o),delete r.props[s])}),r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.props.children&&(r.innerHTML=r.props.children,delete r.props.children),r.tag==="script"&&(typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),r.innerHTML&&["application/ld+json","application/json"].includes(r.props.type)&&(r.innerHTML=r.innerHTML.replace(/</g,"\\u003C"))),Array.isArray(r.props.content)?r.props.content.map(s=>({...r,props:{...r.props,content:s}})):r}function gb(e){return typeof e=="object"&&!Array.isArray(e)&&(e=Object.keys(e).filter(t=>e[t])),(Array.isArray(e)?e.join(" "):e).split(" ").filter(t=>t.trim()).filter(Boolean).join(" ")}async function Dp(e,t){for(const n of Object.keys(e)){if(n==="class"){e[n]=gb(e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!Ip.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 vb=10;async function yb(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&db.includes(n)).forEach(([n,r])=>{const s=ub(r);t.push(...s.map(o=>mb(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<<vb)+r,n))}const sf={base:-10,title:10},of={critical:-80,high:-10,low:20};function Ci(e){let t=100;const n=e.tagPriority;return typeof n=="number"?n:(e.tag==="meta"?(e.props["http-equiv"]==="content-security-policy"&&(t=-30),e.props.charset&&(t=-20),e.props.name==="viewport"&&(t=-15)):e.tag==="link"&&e.props.rel==="preconnect"?t=20:e.tag in sf&&(t=sf[e.tag]),typeof n=="string"&&n in of?t+of[n]:t)}const _b=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Tn="%separator";function Yn(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;function r(i){let a;return["s","pageTitle"].includes(i)?a=t.pageTitle:i.includes(".")?a=i.split(".").reduce((l,c)=>l&&l[c]||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"),(l,c)=>`${a}${c}`).trim())}),e.includes(Tn)&&(e.endsWith(Tn)&&(e=e.slice(0,-Tn.length).trim()),e.startsWith(Tn)&&(e=e.slice(Tn.length).trim()),e=e.replace(new RegExp(`\\${Tn}\\s*\\${Tn}`,"g"),Tn),e=Yn(e,{separator:n},n)),e}async function bb(e){const t={tag:e.tagName.toLowerCase(),props:await Dp(e.getAttributeNames().reduce((n,r)=>({...n,[r]:e.getAttribute(r)}),{})),innerHTML:e.innerHTML};return t._d=Mp(t),t}async function Fp(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n)return;const r={shouldRender:e.dirty,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const s=(await e.resolveTags()).map(u=>({tag:u,id:oi.includes(u.tag)?nf(u):u.tag,shouldRender:!0}));let o=e._dom;if(!o){o={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const u of["body","head"]){const f=n?.[u]?.children;for(const d of[...f].filter(p=>oi.includes(p.tagName.toLowerCase())))o.elMap[d.getAttribute("data-hid")||nf(await bb(d))]=d}}o.pendingSideEffects={...o.sideEffects||{}},o.sideEffects={};function i(u,f,d){const p=`${u}:${f}`;o.sideEffects[p]=d,delete o.pendingSideEffects[p]}function a({id:u,$el:f,tag:d}){const p=d.tag.endsWith("Attrs");o.elMap[u]=f,p||(["textContent","innerHTML"].forEach(h=>{d[h]&&d[h]!==f[h]&&(f[h]=d[h])}),i(u,"el",()=>{o.elMap[u].remove(),delete o.elMap[u]})),Object.entries(d.props).forEach(([h,m])=>{const b=`attr:${h}`;if(h==="class")for(const y of(m||"").split(" ").filter(Boolean))p&&i(u,`${b}:${y}`,()=>f.classList.remove(y)),!f.classList.contains(y)&&f.classList.add(y);else f.getAttribute(h)!==m&&f.setAttribute(h,m===!0?"":String(m)),p&&i(u,b,()=>f.removeAttribute(h))})}const l=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const u of s){const{tag:f,shouldRender:d,id:p}=u;if(d){if(f.tag==="title"){n.title=f.textContent;continue}u.$el=u.$el||o.elMap[p],u.$el?a(u):oi.includes(f.tag)&&l.push(u)}}for(const u of l){const f=u.tag.tagPosition||"head";u.$el=n.createElement(u.tag.tag),a(u),c[f]=c[f]||n.createDocumentFragment(),c[f].appendChild(u.$el)}for(const u of s)await e.hooks.callHook("dom:renderTag",u,n,i);c.head&&n.head.appendChild(c.head),c.bodyOpen&&n.body.insertBefore(c.bodyOpen,n.body.firstChild),c.bodyClose&&n.body.appendChild(c.bodyClose),Object.values(o.pendingSideEffects).forEach(u=>u()),e._dom=o,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:s})}async function wb(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await Fp(e,t),delete e._domUpdatePromise,r()}))}function xb(e){return t=>{const n=t.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(r){wb(r,e)}}}}}const Eb=["templateParams","htmlAttrs","bodyAttrs"],Sb={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=Mp(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?.tagDuplicateStrategy;if(!a&&Eb.includes(r.tag)&&(a="merge"),a==="merge"){const l=o.props;["class","style"].forEach(c=>{r.props[c]&&l[c]&&(c==="style"&&!l[c].endsWith(";")&&(l[c]+=";"),r.props[c]=`${l[c]} ${r.props[c]}`)}),t[s].props={...l,...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(Ci(r)>Ci(o))return}const i=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(oi.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))}}},Cb={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"}})}}},af=["script","link","bodyAttrs"];function lf(e){const t={},n={};return Object.entries(e.props).forEach(([r,s])=>{r.startsWith("on")&&typeof s=="function"?n[r]=s:t[r]=s}),{props:t,eventHandlers:n}}const Tb={hooks:{"ssr:render":function(e){e.tags=e.tags.map(t=>(!af.includes(t.tag)||!Object.entries(t.props).find(([n,r])=>n.startsWith("on")&&typeof r=="function")||(t.props=lf(t).props),t))},"tags:resolve":function(e){e.tags=e.tags.map(t=>{if(!af.includes(t.tag))return t;const{props:n,eventHandlers:r}=lf(t);return Object.keys(r).length&&(t.props=n,t._eventHandlers=r),t})},"dom:renderTag":function(e,t,n){if(!e.tag._eventHandlers)return;const r=e.tag.tag==="bodyAttrs"?t.defaultView:e.$el;Object.entries(e.tag._eventHandlers).forEach(([s,o])=>{const i=`${e.tag._d||e.tag._p}:${s}`,a=s.slice(2).toLowerCase(),l=`data-h-${a}`;if(n(e.id,i,()=>{}),e.$el.hasAttribute(l))return;const c=o;e.$el.setAttribute(l,""),r.addEventListener(a,c),e.entry&&n(e.id,i,()=>{r.removeEventListener(a,c),e.$el.removeAttribute(l)})})}}},Pb=["link","style","script","noscript"],kb={hooks:{"tag:normalise":({tag:e})=>{e.key&&Pb.includes(e.tag)&&(e.props["data-hid"]=e._h=Lp(e.key))}}},Ab={hooks:{"tags:resolve":e=>{const t=n=>e.tags.find(r=>r._d===n)?._p;for(const{prefix:n,offset:r}of _b)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)=>Ci(n)-Ci(r))}}},Rb={hooks:{"tags:resolve":e=>{const{tags:t}=e,n=t.find(i=>i.tag==="title")?.textContent,r=t.findIndex(i=>i.tag==="templateParams"),s=r!==-1?t[r].props:{},o=s.separator||"|";delete s.separator,s.pageTitle=Yn(s.pageTitle||n||"",s,o);for(const i of t)i.processTemplateParams!==!1&&(["titleTemplate","title"].includes(i.tag)&&typeof i.textContent=="string"?i.textContent=Yn(i.textContent,s,o):i.tag==="meta"&&typeof i.props.content=="string"?i.props.content=Yn(i.props.content,s,o):i.tag==="link"&&typeof i.props.href=="string"?i.props.href=Yn(i.props.href,s,o):i.processTemplateParams===!0&&(i.innerHTML?i.innerHTML=Yn(i.innerHTML,s,o):i.textContent&&(i.textContent=Yn(i.textContent,s,o))));e.tags=t.filter(i=>i.tag!=="templateParams")}}},$b={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=rf(t[n].textContent,t[r].textContent);s!==null?t[r].textContent=s||t[r].textContent:delete t[r]}else if(n!==-1){const s=rf(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)}}};let Bp;function Nb(e={}){const t=Ob(e);return t.use(xb()),Bp=t}function cf(e,t){return!e||e==="server"&&t||e==="client"&&!t}function Ob(e={}){const t=Np();t.addHooks(e.hooks||{}),e.document=e.document||(pb?document:void 0);const n=!e.document;e.plugins=[Sb,Cb,Tb,kb,Ab,Rb,$b,...e?.plugins||[]];const r=()=>{i.dirty=!0,t.callHook("entries:updated",i)};let s=0,o=[];const i={dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return o},use(a){const l=typeof a=="function"?a(i):a;cf(l.mode,n)&&t.addHooks(l.hooks||{})},push(a,l){delete l?.head;const c={_i:s++,input:a,...l};return cf(c.mode,n)&&(o.push(c),r()),{dispose(){o=o.filter(u=>u._i!==c._i),t.callHook("entries:updated",i),r()},patch(u){o=o.map(f=>(f._i===c._i&&(f.input=c.input=u),f)),r()}}},async resolveTags(){const a={tags:[],entries:[...o]};await t.callHook("entries:resolve",a);for(const l of a.entries){const c=l.resolvedInput||l.input;if(l.resolvedInput=await(l.transform?l.transform(c):c),l.resolvedInput)for(const u of await yb(l)){const f={tag:u,entry:l,resolvedOptions:i.resolvedOptions};await t.callHook("tag:normalise",f),a.tags.push(f.tag)}}return await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),a.tags},ssr:n};return e.plugins.forEach(a=>i.use(a)),i.hooks.callHook("init",i),i}function Ib(){return Bp}const Lb=hp.startsWith("3");function Mb(e){return typeof e=="function"?e():j(e)}function Ti(e,t=""){if(e instanceof Promise)return e;const n=Mb(e);return!e||!n?n:Array.isArray(n)?n.map(r=>Ti(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,s])=>r==="titleTemplate"||r.startsWith("on")?[r,j(s)]:[r,Ti(s,r)])):n}const Db={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Ti(t.input)}}},jp="usehead";function Fb(e){return{install(n){Lb&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(jp,e))}}.install}function Bb(e={}){e.domDelayFn=e.domDelayFn||(n=>Et(()=>setTimeout(()=>n(),0)));const t=Nb(e);return t.use(Db),t.install=Fb(t),t}const ml=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},gl="__unhead_injection_handler__";function jb(e){ml[gl]=e}function zb(){if(gl in ml)return ml[gl]();const e=ht(jp);return e||Ib()}function Hb(e,t={}){const n=t.head||zb();if(n)return n.ssr?n.push(e,t):Ub(n,e,t)}function Ub(e,t,n={}){const r=Q(!1),s=Q({});Br(()=>{s.value=r.value?{}:Ti(t)});const o=e.push(s.value,n);return ze(s,a=>{o.patch(a)}),rn()&&(ns(()=>{o.dispose()}),Wh(()=>{r.value=!0}),Vh(()=>{r.value=!1})),o}const Vb=!1,vl=!1,Wb=!1,Gb="#__nuxt";function uf(e,t={}){const n=qb(e,t),r=Le(),s=r._payloadCache=r._payloadCache||{};return s[n]||(s[n]=zp(n).then(o=>o||(delete s[n],null))),s[n]}const ff="json";function qb(e,t={}){const n=new URL(e,"http://localhost");if(n.search)throw new Error("Payload URL cannot contain search params: "+e);if(n.host!=="localhost"||rs(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():"");return Eo(kc().app.baseURL,n.pathname,r?`_payload.${r}.${ff}`:`_payload.${ff}`)}async function zp(e){const t=fetch(e).then(n=>n.text().then(Hp));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}function Kb(){return!!Le().payload.prerenderedAt}let Ho=null;async function Xb(){if(Ho)return Ho;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=Hp(e.textContent||""),n=e.dataset.src?await zp(e.dataset.src):void 0;return Ho={...t,...n,...window.__NUXT__},Ho}function Hp(e){return lb(e,Le()._payloadRevivers)}function Yb(e,t){Le()._payloadRevivers[e]=t}function Ta(e){return e!==null&&typeof e=="object"}function yl(e,t,n=".",r){if(!Ta(t))return yl(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]]:Ta(i)&&Ta(s[o])?s[o]=yl(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function Jb(e){return(...t)=>t.reduce((n,r)=>yl(n,r,"",e),{})}const Zb=Jb();function Qb(e,t){try{return t in e}catch{return!1}}var e1=Object.defineProperty,t1=(e,t,n)=>t in e?e1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Jn=(e,t,n)=>(t1(e,typeof t!="symbol"?t+"":t,n),n);class _l extends Error{constructor(t,n={}){super(t,n),Jn(this,"statusCode",500),Jn(this,"fatal",!1),Jn(this,"unhandled",!1),Jn(this,"statusMessage"),Jn(this,"data"),Jn(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:wl(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Up(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Jn(_l,"__h3_error__",!0);function bl(e){if(typeof e=="string")return new _l(e);if(n1(e))return e;const t=new _l(e.message??e.statusMessage??"",{cause:e.cause||e});if(Qb(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=wl(e.statusCode,t.statusCode):e.status&&(t.statusCode=wl(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Up(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 n1(e){return e?.constructor?.__h3_error__===!0}const r1=/[^\u0009\u0020-\u007E]/g;function Up(e=""){return e.replace(r1,"")}function wl(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Vp=Symbol("layout-meta"),Co=Symbol("route"),it=()=>Le()?.$router,To=()=>Qh()?ht(Co,Le()._route):Le()._route;/*! @__NO_SIDE_EFFECTS__ */const s1=()=>{try{if(Le()._processingMiddleware)return!0}catch{return!0}return!1},Wp=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:Pp(e.path||"/",e.query||{})+(e.hash||"");if(t?.open){{const{target:a="_blank",windowFeatures:l={}}=t.open,c=Object.entries(l).filter(([u,f])=>f!==void 0).map(([u,f])=>`${u.toLowerCase()}=${f}`).join(", ");open(n,a,c)}return Promise.resolve()}const r=t?.external||rs(n,{acceptRelative:!0});if(r){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const a=So(n).protocol;if(a&&d0(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const s=s1();if(!r&&s)return e;const o=it(),i=Le();return r?(t?.replace?location.replace(n):location.href=n,s?i.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t?.replace?o.replace(e):o.push(e)},Ji=()=>uc(Le().payload,"error"),kr=e=>{const t=Zi(e);try{const n=Le(),r=Ji();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},o1=async(e={})=>{const t=Le(),n=Ji();t.callHook("app:error:cleared",e),e.redirect&&await it().replace(e.redirect),n.value=null},i1=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),Zi=e=>{const t=bl(e);return t.__nuxt_error=!0,t},df={NuxtError:e=>Zi(e),EmptyShallowRef:e=>tn(e==="_"?void 0:e==="0n"?BigInt(0):_i(e)),EmptyRef:e=>Q(e==="_"?void 0:e==="0n"?BigInt(0):_i(e)),ShallowRef:e=>tn(e),ShallowReactive:e=>Qr(e),Ref:e=>Q(e),Reactive:e=>jt(e)},a1=Ht({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in df)Yb(r,df[r]);Object.assign(e.payload,([t,n]=Si(()=>e.runWithContext(Xb)),t=await t,n(),t)),window.__NUXT__=e.payload}}),xl=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),l1=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),c1=e=>{const t=Le();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{xl(e)}):xl(e)},u1=()=>null;function Gp(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);let[n,r,s={}]=e;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");s.server=s.server??!0,s.default=s.default??u1,s.lazy=s.lazy??!1,s.immediate=s.immediate??!0;const o=Le(),i=()=>o.isHydrating?o.payload.data[n]:o.static.data[n],a=()=>i()!==void 0;(!o._asyncData[n]||!s.immediate)&&(o._asyncData[n]={data:Q(i()??s.default()),pending:Q(!a()),error:uc(o.payload._errors,n),status:Q("idle")});const l={...o._asyncData[n]};l.refresh=l.execute=(d={})=>{if(o._asyncDataPromises[n]){if(d.dedupe===!1)return o._asyncDataPromises[n];o._asyncDataPromises[n].cancelled=!0}if((d._initial||o.isHydrating&&d._initial!==!1)&&a())return i();l.pending.value=!0,l.status.value="pending";const p=new Promise((h,m)=>{try{h(r(o))}catch(b){m(b)}}).then(h=>{if(p.cancelled)return o._asyncDataPromises[n];let m=h;s.transform&&(m=s.transform(h)),s.pick&&(m=f1(m,s.pick)),l.data.value=m,l.error.value=null,l.status.value="success"}).catch(h=>{if(p.cancelled)return o._asyncDataPromises[n];l.error.value=h,l.data.value=j(s.default()),l.status.value="error"}).finally(()=>{p.cancelled||(l.pending.value=!1,o.payload.data[n]=l.data.value,l.error.value&&(o.payload._errors[n]=Zi(l.error.value)),delete o._asyncDataPromises[n])});return o._asyncDataPromises[n]=p,o._asyncDataPromises[n]};const c=()=>l.refresh({_initial:!0}),u=s.server!==!1&&o.payload.serverRendered;{const d=rn();if(d&&!d._nuxtOnBeforeMountCbs){d._nuxtOnBeforeMountCbs=[];const h=d._nuxtOnBeforeMountCbs;d&&(qh(()=>{h.forEach(m=>{m()}),h.splice(0,h.length)}),uo(()=>h.splice(0,h.length)))}u&&o.isHydrating&&a()?(l.pending.value=!1,l.status.value=l.error.value?"error":"success"):d&&(o.payload.serverRendered&&o.isHydrating||s.lazy)&&s.immediate?d._nuxtOnBeforeMountCbs.push(c):s.immediate&&c(),s.watch&&ze(s.watch,()=>l.refresh());const p=o.hook("app:data:refresh",h=>{if(!h||h.includes(n))return l.refresh()});d&&uo(p)}const f=Promise.resolve(o._asyncDataPromises[n]).then(()=>l);return Object.assign(f,l),f}function f1(e,t){const n={};for(const r of t)n[r]=e[r];return n}const d1="$s";function ss(...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=d1+n,o=Le(),i=uc(o.payload.state,s);if(i.value===void 0&&r){const a=r();if(Be(a))return o.payload.state[s]=a,a;i.value=a}return i}const hf=Object.freeze({ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1,excludeKeys:void 0,excludeValues:void 0,replacer:void 0});function h1(e,t){t?t={...hf,...t}:t=hf;const n=qp(t);return n.dispatch(e),n.toString()}const p1=Object.freeze(["prototype","__proto__","constructor"]);function qp(e){let t="",n=new Map;const r=s=>{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 l=null;if((l=n.get(s))===void 0)n.set(s,n.size);else return this.dispatch("[CIRCULAR:"+l+"]");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 c=Object.keys(s);e.unorderedObjects&&(c=c.sort());let u=[];e.respectType!==!1&&!pf(s)&&(u=p1),e.excludeKeys&&(c=c.filter(d=>!e.excludeKeys(d)),u=u.filter(d=>!e.excludeKeys(d))),r("object:"+(c.length+u.length)+":");const f=d=>{this.dispatch(d),r(":"),e.excludeValues||this.dispatch(s[d]),r(",")};for(const d of c)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 l of s)this.dispatch(l);return}const i=new Map,a=s.map(l=>{const c=qp(e);c.dispatch(l);for(const[u,f]of c.getContext())i.set(u,f);return c.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:"),pf(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
|
|
2
|
+
Use "options.replacer" or "options.ignoreUnknown"
|
|
3
|
+
`)},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 Kp="[native code] }",m1=Kp.length;function pf(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-m1)===Kp}class Fn{constructor(t,n){t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}toString(t){return(t||g1).stringify(this)}concat(t){if(this.clamp(),this.sigBytes%4)for(let n=0;n<t.sigBytes;n++){const r=t.words[n>>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=r<<24-(this.sigBytes+n)%4*8}else for(let n=0;n<t.sigBytes;n+=4)this.words[this.sigBytes+n>>>2]=t.words[n>>>2];return this.sigBytes+=t.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new Fn([...this.words])}}const g1={stringify(e){const t=[];for(let n=0;n<e.sigBytes;n++){const r=e.words[n>>>2]>>>24-n%4*8&255;t.push((r>>>4).toString(16),(r&15).toString(16))}return t.join("")}},v1={stringify(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[];for(let r=0;r<e.sigBytes;r+=3){const s=e.words[r>>>2]>>>24-r%4*8&255,o=e.words[r+1>>>2]>>>24-(r+1)%4*8&255,i=e.words[r+2>>>2]>>>24-(r+2)%4*8&255,a=s<<16|o<<8|i;for(let l=0;l<4&&r*8+l*6<e.sigBytes*8;l++)n.push(t.charAt(a>>>6*(3-l)&63))}return n.join("")}},y1={parse(e){const t=e.length,n=[];for(let r=0;r<t;r++)n[r>>>2]|=(e.charCodeAt(r)&255)<<24-r%4*8;return new Fn(n,t)}},_1={parse(e){return y1.parse(unescape(encodeURIComponent(e)))}};class b1{constructor(){this._data=new Fn,this._nDataBytes=0,this._minBufferSize=0,this.blockSize=512/32}reset(){this._data=new Fn,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=_1.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_doProcessBlock(t,n){}_process(t){let n,r=this._data.sigBytes/(this.blockSize*4);t?r=Math.ceil(r):r=Math.max((r|0)-this._minBufferSize,0);const s=r*this.blockSize,o=Math.min(s*4,this._data.sigBytes);if(s){for(let i=0;i<s;i+=this.blockSize)this._doProcessBlock(this._data.words,i);n=this._data.words.splice(0,s),this._data.sigBytes-=o}return new Fn(n,o)}}class w1 extends b1{update(t){return this._append(t),this._process(),this}finalize(t){t&&this._append(t)}}const mf=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],x1=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],Kn=[];class E1 extends w1{constructor(){super(...arguments),this._hash=new Fn([...mf])}reset(){super.reset(),this._hash=new Fn([...mf])}_doProcessBlock(t,n){const r=this._hash.words;let s=r[0],o=r[1],i=r[2],a=r[3],l=r[4],c=r[5],u=r[6],f=r[7];for(let d=0;d<64;d++){if(d<16)Kn[d]=t[n+d]|0;else{const w=Kn[d-15],_=(w<<25|w>>>7)^(w<<14|w>>>18)^w>>>3,C=Kn[d-2],g=(C<<15|C>>>17)^(C<<13|C>>>19)^C>>>10;Kn[d]=_+Kn[d-7]+g+Kn[d-16]}const p=l&c^~l&u,h=s&o^s&i^o&i,m=(s<<30|s>>>2)^(s<<19|s>>>13)^(s<<10|s>>>22),b=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),y=f+b+p+x1[d]+Kn[d],v=m+h;f=u,u=c,c=l,l=a+y|0,a=i,i=o,o=s,s=y+v|0}r[0]=r[0]+s|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+l|0,r[5]=r[5]+c|0,r[6]=r[6]+u|0,r[7]=r[7]+f|0}finalize(t){super.finalize(t);const n=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(r+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function S1(e){return new E1().finalize(e).toString(v1)}function C1(e,t={}){const n=typeof e=="string"?e:h1(e,t);return S1(n).slice(0,10)}function T1(e,t,n){const[r={},s]=typeof t=="string"?[{},t]:[t,n],o=ge(()=>{let _=e;return typeof _=="function"&&(_=_()),j(_)}),i=r.key||C1([s,j(r.method)?.toUpperCase()||"GET",j(r.baseURL),typeof o.value=="string"?o.value:"",j(r.params||r.query)]);if(!i||typeof i!="string")throw new TypeError("[nuxt] [useFetch] key must be a string: "+i);if(!e)throw new Error("[nuxt] [useFetch] request is missing.");const a=i===s?"$f"+i:i;if(!r.baseURL&&typeof o.value=="string"&&o.value.startsWith("//"))throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:l,lazy:c,default:u,transform:f,pick:d,watch:p,immediate:h,...m}=r,b=jt({...m,cache:typeof r.cache=="boolean"?void 0:r.cache}),y={server:l,lazy:c,default:u,transform:f,pick:d,immediate:h,watch:p===!1?[]:[b,o,...p||[]]};let v;return Gp(a,()=>(v?.abort?.(),v=typeof AbortController<"u"?new AbortController:{},typeof o.value=="string"&&o.value.startsWith("/"),(r.$fetch||globalThis.$fetch)(o.value,{signal:v.signal,...b})),y)}async function Xp(e,t=it()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const s=t._preloadPromises=t._preloadPromises||[];if(s.length>4)return Promise.all(s).then(()=>Xp(e,t));t._routePreloaded.add(n);const o=r.map(i=>i.components?.default).filter(i=>typeof i=="function");for(const i of o){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>s.splice(s.indexOf(a)));s.push(a)}await Promise.all(s)}function P1(e={}){const t=e.path||window.location.pathname;let n={};try{n=_i(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||n?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:Le().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const k1=(...e)=>e.find(t=>t!==void 0),A1="noopener noreferrer";/*! @__NO_SIDE_EFFECTS__ */function R1(e){const t=e.componentName||"NuxtLink",n=(r,s)=>{if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;const o=e.trailingSlash==="append"?wi:Tc;if(typeof r=="string")return o(r,!0);const i="path"in r?r.path:s(r).path;return{...r,name:void 0,path:o(i,!0)}};return Te({name:t,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(r,{slots:s}){const o=it(),i=ge(()=>{const f=r.to||r.href||"";return n(f,o.resolve)}),a=ge(()=>r.external||r.target&&r.target!=="_self"?!0:typeof i.value=="object"?!1:i.value===""||rs(i.value,{acceptRelative:!0})),l=Q(!1),c=Q(null),u=f=>{c.value=r.custom?f?.$el?.nextElementSibling:f?.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!N1()){const d=Le();let p,h=null;xn(()=>{const m=$1();c1(()=>{p=xl(()=>{c?.value?.tagName&&(h=m.observe(c.value,async()=>{h?.(),h=null;const b=typeof i.value=="string"?i.value:o.resolve(i.value).fullPath;await Promise.all([d.hooks.callHook("link:prefetch",b).catch(()=>{}),!a.value&&Xp(i.value,o).catch(()=>{})]),l.value=!0}))})})}),ns(()=>{p&&l1(p),h?.(),h=null})}return()=>{if(!a.value){const m={ref:u,to:i.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(l.value&&(m.class=r.prefetchedClass||e.prefetchedClass),m.rel=r.rel),Je(gn("RouterLink"),m,s.default)}const f=typeof i.value=="object"?o.resolve(i.value)?.href??null:i.value||null,d=r.target||null,p=r.noRel?null:k1(r.rel,e.externalRelAttribute,f?A1:"")||null,h=()=>Wp(f,{replace:r.replace});return r.custom?s.default?s.default({href:f,navigate:h,get route(){if(!f)return;const m=So(f);return{path:m.pathname,fullPath:m.pathname,get query(){return Tp(m.search)},hash:m.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:f}},rel:p,target:d,isExternal:a.value,isActive:!1,isExactActive:!1}):null:Je("a",{ref:c,href:f,rel:p,target:d},s.default?.())}}})}const Ac=R1({componentName:"NuxtLink"});function $1(){const e=Le();if(e._observer)return e._observer;let t=null;const n=new Map,r=(o,i)=>(t||(t=new IntersectionObserver(a=>{for(const l of a){const c=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&c&&c()}})),n.set(o,i),t.observe(o),()=>{n.delete(o),t.unobserve(o),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function N1(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const O1=[],I1=Ht({name:"nuxt:head",enforce:"pre",setup(e){const t=Bb({plugins:O1});jb(()=>Le().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await Fp(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)}}});/*!
|
|
4
|
+
* vue-router v4.2.4
|
|
5
|
+
* (c) 2023 Eduardo San Martin Morote
|
|
6
|
+
* @license MIT
|
|
7
|
+
*/const Pr=typeof window<"u";function L1(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Fe=Object.assign;function Pa(e,t){const n={};for(const r in t){const s=t[r];n[r]=zt(s)?s.map(e):e(s)}return n}const Xs=()=>{},zt=Array.isArray,M1=/\/$/,D1=e=>e.replace(M1,"");function ka(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,a>-1?a:t.length),s=e(o)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=z1(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:i}}function F1(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function gf(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function B1(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Gr(t.matched[r],n.matched[s])&&Yp(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Gr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Yp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!j1(e[n],t[n]))return!1;return!0}function j1(e,t){return zt(e)?vf(e,t):zt(t)?vf(t,e):e===t}function vf(e,t){return zt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function z1(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;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var po;(function(e){e.pop="pop",e.push="push"})(po||(po={}));var Ys;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ys||(Ys={}));function H1(e){if(!e)if(Pr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),D1(e)}const U1=/^[^#]+#/;function V1(e,t){return e.replace(U1,"#")+t}function W1(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 Qi=()=>({left:window.pageXOffset,top:window.pageYOffset});function G1(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=W1(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function yf(e,t){return(history.state?history.state.position-t:-1)+e}const El=new Map;function q1(e,t){El.set(e,t)}function K1(e){const t=El.get(e);return El.delete(e),t}let X1=()=>location.protocol+"//"+location.host;function Jp(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,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),gf(l,"")}return gf(n,e)+r+s}function Y1(e,t,n,r){let s=[],o=[],i=null;const a=({state:d})=>{const p=Jp(e,location),h=n.value,m=t.value;let b=0;if(d){if(n.value=p,t.value=d,i&&i===h){i=null;return}b=m?d.position-m.position:0}else r(p);s.forEach(y=>{y(n.value,h,{delta:b,type:po.pop,direction:b?b>0?Ys.forward:Ys.back:Ys.unknown})})};function l(){i=n.value}function c(d){s.push(d);const p=()=>{const h=s.indexOf(d);h>-1&&s.splice(h,1)};return o.push(p),p}function u(){const{history:d}=window;d.state&&d.replaceState(Fe({},d.state,{scroll:Qi()}),"")}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:l,listen:c,destroy:f}}function _f(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Qi():null}}function J1(e){const{history:t,location:n}=window,r={value:Jp(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(l,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:X1()+e+l;try{t[u?"replaceState":"pushState"](c,"",d),s.value=c}catch(p){console.error(p),n[u?"replace":"assign"](d)}}function i(l,c){const u=Fe({},t.state,_f(s.value.back,l,s.value.forward,!0),c,{position:s.value.position});o(l,u,!0),r.value=l}function a(l,c){const u=Fe({},s.value,t.state,{forward:l,scroll:Qi()});o(u.current,u,!0);const f=Fe({},_f(r.value,l,null),{position:u.position+1},c);o(l,f,!1),r.value=l}return{location:r,state:s,push:a,replace:i}}function Zp(e){e=H1(e);const t=J1(e),n=Y1(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=Fe({location:"",base:e,go:r,createHref:V1.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 Z1(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Zp(e)}function Q1(e){return typeof e=="string"||e&&typeof e=="object"}function Qp(e){return typeof e=="string"||typeof e=="symbol"}const Kt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},em=Symbol("");var bf;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(bf||(bf={}));function qr(e,t){return Fe(new Error,{type:e,[em]:!0},t)}function sn(e,t){return e instanceof Error&&em in e&&(t==null||!!(e.type&t))}const wf="[^/]+?",ew={sensitive:!1,strict:!1,start:!0,end:!0},tw=/[.+*?^${}()[\]/\\]/g;function nw(e,t){const n=Fe({},ew,t),r=[];let s=n.start?"^":"";const o=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let f=0;f<c.length;f++){const d=c[f];let p=40+(n.sensitive?.25:0);if(d.type===0)f||(s+="/"),s+=d.value.replace(tw,"\\$&"),p+=40;else if(d.type===1){const{value:h,repeatable:m,optional:b,regexp:y}=d;o.push({name:h,repeatable:m,optional:b});const v=y||wf;if(v!==wf){p+=10;try{new RegExp(`(${v})`)}catch(_){throw new Error(`Invalid custom RegExp for param "${h}" (${v}): `+_.message)}}let w=m?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;f||(w=b&&c.length<2?`(?:/${w})`:"/"+w),b&&(w+="?"),s+=w,p+=20,b&&(p+=-8),m&&(p+=-20),v===".*"&&(p+=-50)}u.push(p)}r.push(u)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function a(c){const u=c.match(i),f={};if(!u)return null;for(let d=1;d<u.length;d++){const p=u[d]||"",h=o[d-1];f[h.name]=p&&h.repeatable?p.split("/"):p}return f}function l(c){let u="",f=!1;for(const d of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const p of d)if(p.type===0)u+=p.value;else if(p.type===1){const{value:h,repeatable:m,optional:b}=p,y=h in c?c[h]:"";if(zt(y)&&!m)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const v=zt(y)?y.join("/"):y;if(!v)if(b)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${h}"`);u+=v}}return u||"/"}return{re:i,score:r,keys:o,parse:a,stringify:l}}function rw(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function sw(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=rw(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(xf(r))return 1;if(xf(s))return-1}return s.length-r.length}function xf(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const ow={type:0,value:""},iw=/[a-zA-Z0-9_]/;function aw(e){if(!e)return[[]];if(e==="/")return[[ow]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,l,c="",u="";function f(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(c&&f(),i()):l===":"?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:l==="("?n=2:iw.test(l)?d():(f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),i(),s}function lw(e,t,n){const r=nw(aw(e.path),n),s=Fe(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function cw(e,t){const n=[],r=new Map;t=Cf({strict:!1,end:!0,sensitive:!1},t);function s(u){return r.get(u)}function o(u,f,d){const p=!d,h=uw(u);h.aliasOf=d&&d.record;const m=Cf(t,u),b=[h];if("alias"in u){const w=typeof u.alias=="string"?[u.alias]:u.alias;for(const _ of w)b.push(Fe({},h,{components:d?d.record.components:h.components,path:_,aliasOf:d?d.record:h}))}let y,v;for(const w of b){const{path:_}=w;if(f&&_[0]!=="/"){const C=f.record.path,g=C[C.length-1]==="/"?"":"/";w.path=f.record.path+(_&&g+_)}if(y=lw(w,f,m),d?d.alias.push(y):(v=v||y,v!==y&&v.alias.push(y),p&&u.name&&!Sf(y)&&i(u.name)),h.children){const C=h.children;for(let g=0;g<C.length;g++)o(C[g],y,d&&d.children[g])}d=d||y,(y.record.components&&Object.keys(y.record.components).length||y.record.name||y.record.redirect)&&l(y)}return v?()=>{i(v)}:Xs}function i(u){if(Qp(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 l(u){let f=0;for(;f<n.length&&sw(u,n[f])>=0&&(u.record.path!==n[f].record.path||!tm(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!Sf(u)&&r.set(u.record.name,u)}function c(u,f){let d,p={},h,m;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw qr(1,{location:u});m=d.record.name,p=Fe(Ef(f.params,d.keys.filter(v=>!v.optional).map(v=>v.name)),u.params&&Ef(u.params,d.keys.map(v=>v.name))),h=d.stringify(p)}else if("path"in u)h=u.path,d=n.find(v=>v.re.test(h)),d&&(p=d.parse(h),m=d.record.name);else{if(d=f.name?r.get(f.name):n.find(v=>v.re.test(f.path)),!d)throw qr(1,{location:u,currentLocation:f});m=d.record.name,p=Fe({},f.params,u.params),h=d.stringify(p)}const b=[];let y=d;for(;y;)b.unshift(y.record),y=y.parent;return{name:m,path:h,params:p,matched:b,meta:dw(b)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:s}}function Ef(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function uw(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:fw(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 fw(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 Sf(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function dw(e){return e.reduce((t,n)=>Fe(t,n.meta),{})}function Cf(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function tm(e,t){return t.children.some(n=>n===e||tm(e,n))}const nm=/#/g,hw=/&/g,pw=/\//g,mw=/=/g,gw=/\?/g,rm=/\+/g,vw=/%5B/g,yw=/%5D/g,sm=/%5E/g,_w=/%60/g,om=/%7B/g,bw=/%7C/g,im=/%7D/g,ww=/%20/g;function Rc(e){return encodeURI(""+e).replace(bw,"|").replace(vw,"[").replace(yw,"]")}function xw(e){return Rc(e).replace(om,"{").replace(im,"}").replace(sm,"^")}function Sl(e){return Rc(e).replace(rm,"%2B").replace(ww,"+").replace(nm,"%23").replace(hw,"%26").replace(_w,"`").replace(om,"{").replace(im,"}").replace(sm,"^")}function Ew(e){return Sl(e).replace(mw,"%3D")}function Sw(e){return Rc(e).replace(nm,"%23").replace(gw,"%3F")}function Cw(e){return e==null?"":Sw(e).replace(pw,"%2F")}function Pi(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Tw(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<r.length;++s){const o=r[s].replace(rm," "),i=o.indexOf("="),a=Pi(i<0?o:o.slice(0,i)),l=i<0?null:Pi(o.slice(i+1));if(a in t){let c=t[a];zt(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function Tf(e){let t="";for(let n in e){const r=e[n];if(n=Ew(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(zt(r)?r.map(o=>o&&Sl(o)):[r&&Sl(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Pw(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=zt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const kw=Symbol(""),Pf=Symbol(""),$c=Symbol(""),Nc=Symbol(""),Cl=Symbol("");function hs(){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 Nn(e,t,n,r,s){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((i,a)=>{const l=f=>{f===!1?a(qr(4,{from:n,to:t})):f instanceof Error?a(f):Q1(f)?a(qr(2,{from:t,to:f})):(o&&r.enterCallbacks[s]===o&&typeof f=="function"&&o.push(f),i())},c=e.call(r&&r.instances[s],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch(f=>a(f))})}function Aa(e,t,n,r){const s=[];for(const o of e)for(const i in o.components){let a=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(Aw(a)){const c=(a.__vccOpts||a)[t];c&&s.push(Nn(c,n,r,o,i))}else{let l=a();s.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const u=L1(c)?c.default:c;o.components[i]=u;const d=(u.__vccOpts||u)[t];return d&&Nn(d,n,r,o,i)()}))}}return s}function Aw(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function kf(e){const t=ht($c),n=ht(Nc),r=ge(()=>t.resolve(j(e.to))),s=ge(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(Gr.bind(null,u));if(d>-1)return d;const p=Af(l[c-2]);return c>1&&Af(u)===p&&f[f.length-1].path!==p?f.findIndex(Gr.bind(null,l[c-2])):d}),o=ge(()=>s.value>-1&&Ow(n.params,r.value.params)),i=ge(()=>s.value>-1&&s.value===n.matched.length-1&&Yp(n.params,r.value.params));function a(l={}){return Nw(l)?t[j(e.replace)?"replace":"push"](j(e.to)).catch(Xs):Promise.resolve()}return{route:r,href:ge(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}const Rw=Te({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:kf,setup(e,{slots:t}){const n=jt(kf(e)),{options:r}=ht($c),s=ge(()=>({[Rf(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Rf(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Je("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),$w=Rw;function Nw(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 Ow(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(!zt(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function Af(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Rf=(e,t,n)=>e??t??n,Iw=Te({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=ht(Cl),s=ge(()=>e.route||r.value),o=ht(Pf,0),i=ge(()=>{let c=j(o);const{matched:u}=s.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=ge(()=>s.value.matched[i.value]);ur(Pf,ge(()=>i.value+1)),ur(kw,a),ur(Cl,s);const l=Q();return ze(()=>[l.value,a.value,e.name],([c,u,f],[d,p,h])=>{u&&(u.instances[f]=c,p&&p!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),c&&u&&(!p||!Gr(u,p)||!d)&&(u.enterCallbacks[f]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=s.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return $f(n.default,{Component:d,route:c});const p=f.props[u],h=p?p===!0?c.params:typeof p=="function"?p(c):p:null,b=Je(d,Fe({},h,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return $f(n.default,{Component:b,route:c})||b}}});function $f(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const am=Iw;function Lw(e){const t=cw(e.routes,e),n=e.parseQuery||Tw,r=e.stringifyQuery||Tf,s=e.history,o=hs(),i=hs(),a=hs(),l=tn(Kt);let c=Kt;Pr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Pa.bind(null,O=>""+O),f=Pa.bind(null,Cw),d=Pa.bind(null,Pi);function p(O,X){let V,ce;return Qp(O)?(V=t.getRecordMatcher(O),ce=X):ce=O,t.addRoute(ce,V)}function h(O){const X=t.getRecordMatcher(O);X&&t.removeRoute(X)}function m(){return t.getRoutes().map(O=>O.record)}function b(O){return!!t.getRecordMatcher(O)}function y(O,X){if(X=Fe({},X||l.value),typeof O=="string"){const I=ka(n,O,X.path),B=t.resolve({path:I.path},X),z=s.createHref(I.fullPath);return Fe(I,B,{params:d(B.params),hash:Pi(I.hash),redirectedFrom:void 0,href:z})}let V;if("path"in O)V=Fe({},O,{path:ka(n,O.path,X.path).path});else{const I=Fe({},O.params);for(const B in I)I[B]==null&&delete I[B];V=Fe({},O,{params:f(I)}),X.params=f(X.params)}const ce=t.resolve(V,X),Ce=O.hash||"";ce.params=u(d(ce.params));const $=F1(r,Fe({},O,{hash:xw(Ce),path:ce.path})),N=s.createHref($);return Fe({fullPath:$,hash:Ce,query:r===Tf?Pw(O.query):O.query||{}},ce,{redirectedFrom:void 0,href:N})}function v(O){return typeof O=="string"?ka(n,O,l.value.path):Fe({},O)}function w(O,X){if(c!==O)return qr(8,{from:X,to:O})}function _(O){return T(O)}function C(O){return _(Fe(v(O),{replace:!0}))}function g(O){const X=O.matched[O.matched.length-1];if(X&&X.redirect){const{redirect:V}=X;let ce=typeof V=="function"?V(O):V;return typeof ce=="string"&&(ce=ce.includes("?")||ce.includes("#")?ce=v(ce):{path:ce},ce.params={}),Fe({query:O.query,hash:O.hash,params:"path"in ce?{}:O.params},ce)}}function T(O,X){const V=c=y(O),ce=l.value,Ce=O.state,$=O.force,N=O.replace===!0,I=g(V);if(I)return T(Fe(v(I),{state:typeof I=="object"?Fe({},Ce,I.state):Ce,force:$,replace:N}),X||V);const B=V;B.redirectedFrom=X;let z;return!$&&B1(r,ce,V)&&(z=qr(16,{to:B,from:ce}),se(ce,ce,!0,!1)),(z?Promise.resolve(z):P(B,ce)).catch(H=>sn(H)?sn(H,2)?H:re(H):F(H,B,ce)).then(H=>{if(H){if(sn(H,2))return T(Fe({replace:N},v(H.to),{state:typeof H.to=="object"?Fe({},Ce,H.to.state):Ce,force:$}),X||B)}else H=k(B,ce,!0,N,Ce);return S(B,ce,H),H})}function E(O,X){const V=w(O,X);return V?Promise.reject(V):Promise.resolve()}function x(O){const X=fe.values().next().value;return X&&typeof X.runWithContext=="function"?X.runWithContext(O):O()}function P(O,X){let V;const[ce,Ce,$]=Mw(O,X);V=Aa(ce.reverse(),"beforeRouteLeave",O,X);for(const I of ce)I.leaveGuards.forEach(B=>{V.push(Nn(B,O,X))});const N=E.bind(null,O,X);return V.push(N),Re(V).then(()=>{V=[];for(const I of o.list())V.push(Nn(I,O,X));return V.push(N),Re(V)}).then(()=>{V=Aa(Ce,"beforeRouteUpdate",O,X);for(const I of Ce)I.updateGuards.forEach(B=>{V.push(Nn(B,O,X))});return V.push(N),Re(V)}).then(()=>{V=[];for(const I of $)if(I.beforeEnter)if(zt(I.beforeEnter))for(const B of I.beforeEnter)V.push(Nn(B,O,X));else V.push(Nn(I.beforeEnter,O,X));return V.push(N),Re(V)}).then(()=>(O.matched.forEach(I=>I.enterCallbacks={}),V=Aa($,"beforeRouteEnter",O,X),V.push(N),Re(V))).then(()=>{V=[];for(const I of i.list())V.push(Nn(I,O,X));return V.push(N),Re(V)}).catch(I=>sn(I,8)?I:Promise.reject(I))}function S(O,X,V){a.list().forEach(ce=>x(()=>ce(O,X,V)))}function k(O,X,V,ce,Ce){const $=w(O,X);if($)return $;const N=X===Kt,I=Pr?history.state:{};V&&(ce||N?s.replace(O.fullPath,Fe({scroll:N&&I&&I.scroll},Ce)):s.push(O.fullPath,Ce)),l.value=O,se(O,X,V,N),re()}let A;function R(){A||(A=s.listen((O,X,V)=>{if(!xe.listening)return;const ce=y(O),Ce=g(ce);if(Ce){T(Fe(Ce,{replace:!0}),ce).catch(Xs);return}c=ce;const $=l.value;Pr&&q1(yf($.fullPath,V.delta),Qi()),P(ce,$).catch(N=>sn(N,12)?N:sn(N,2)?(T(N.to,ce).then(I=>{sn(I,20)&&!V.delta&&V.type===po.pop&&s.go(-1,!1)}).catch(Xs),Promise.reject()):(V.delta&&s.go(-V.delta,!1),F(N,ce,$))).then(N=>{N=N||k(ce,$,!1),N&&(V.delta&&!sn(N,8)?s.go(-V.delta,!1):V.type===po.pop&&sn(N,20)&&s.go(-1,!1)),S(ce,$,N)}).catch(Xs)}))}let M=hs(),L=hs(),D;function F(O,X,V){re(O);const ce=L.list();return ce.length?ce.forEach(Ce=>Ce(O,X,V)):console.error(O),Promise.reject(O)}function U(){return D&&l.value!==Kt?Promise.resolve():new Promise((O,X)=>{M.add([O,X])})}function re(O){return D||(D=!O,R(),M.list().forEach(([X,V])=>O?V(O):X()),M.reset()),O}function se(O,X,V,ce){const{scrollBehavior:Ce}=e;if(!Pr||!Ce)return Promise.resolve();const $=!V&&K1(yf(O.fullPath,0))||(ce||!V)&&history.state&&history.state.scroll||null;return Et().then(()=>Ce(O,X,$)).then(N=>N&&G1(N)).catch(N=>F(N,O,X))}const ne=O=>s.go(O);let me;const fe=new Set,xe={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,hasRoute:b,getRoutes:m,resolve:y,options:e,push:_,replace:C,go:ne,back:()=>ne(-1),forward:()=>ne(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:L.add,isReady:U,install(O){const X=this;O.component("RouterLink",$w),O.component("RouterView",am),O.config.globalProperties.$router=X,Object.defineProperty(O.config.globalProperties,"$route",{enumerable:!0,get:()=>j(l)}),Pr&&!me&&l.value===Kt&&(me=!0,_(s.location).catch(Ce=>{}));const V={};for(const Ce in Kt)Object.defineProperty(V,Ce,{get:()=>l.value[Ce],enumerable:!0});O.provide($c,X),O.provide(Nc,Qr(V)),O.provide(Cl,l);const ce=O.unmount;fe.add(O),O.unmount=function(){fe.delete(O),fe.size<1&&(c=Kt,A&&A(),A=null,l.value=Kt,me=!1,D=!1),ce()}}};function Re(O){return O.reduce((X,V)=>X.then(()=>x(V)),Promise.resolve())}return xe}function Mw(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const a=t.matched[i];a&&(e.matched.find(c=>Gr(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>Gr(c,l))||s.push(l))}return[n,r,s]}function Dw(){return ht(Nc)}const ps={layout:"none"},ms={layout:"none"};function _n(e){return gh()?(vv(e),!0):!1}function Fw(e,t){if(typeof Symbol<"u"){const n={...e};return Object.defineProperty(n,Symbol.iterator,{enumerable:!1,value(){let r=0;return{next:()=>({value:t[r++],done:r>t.length})}}}),n}else return Object.assign([...t],e)}function nt(e){return typeof e=="function"?e():j(e)}const pr=typeof window<"u"&&typeof document<"u",Bw=e=>typeof e<"u",jw=Object.prototype.toString,zw=e=>jw.call(e)==="[object Object]",Kr=()=>{},Hw=Uw();function Uw(){var e;return pr&&((e=window?.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function lm(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}const cm=e=>e();function um(e,t={}){let n,r,s=Kr;const o=a=>{clearTimeout(a),s(),s=Kr};return a=>{const l=nt(e),c=nt(t.maxWait);return n&&o(n),l<=0||c!==void 0&&c<=0?(r&&(o(r),r=null),Promise.resolve(a())):new Promise((u,f)=>{s=t.rejectOnCancel?f:u,c&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,u(a())},c)),n=setTimeout(()=>{r&&o(r),r=null,u(a())},l)})}}function Vw(e=cm){const t=Q(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...o)=>{t.value&&e(...o)};return{isActive:es(t),pause:n,resume:r,eventFilter:s}}function Ww(e){const t=Object.create(null);return n=>t[n]||(t[n]=e(n))}const Gw=/-(\w)/g,qw=Ww(e=>e.replace(Gw,(t,n)=>n?n.toUpperCase():""));function Nf(e,t=!1,n="Timeout"){return new Promise((r,s)=>{setTimeout(t?()=>s(n):r,e)})}function Kw(e,t=200,n={}){return lm(um(t,n),e)}function Xw(e,t=200,n={}){const r=Q(e.value),s=Kw(()=>{r.value=e.value},t,n);return ze(e,()=>s()),r}function fm(e,t,n={}){const{eventFilter:r=cm,...s}=n;return ze(e,lm(r,t),s)}function Yw(e,t,n={}){const{eventFilter:r,...s}=n,{eventFilter:o,pause:i,resume:a,isActive:l}=Vw(r);return{stop:fm(e,t,{...s,eventFilter:o}),pause:i,resume:a,isActive:l}}function Jw(e,t={}){if(!Be(e))return Xv(e);const n=Array.isArray(e.value)?Array.from({length:e.value.length}):{};for(const r in e.value)n[r]=Kv(()=>({get(){return e.value[r]},set(s){var o;if((o=nt(t.replaceRef))!=null?o:!0)if(Array.isArray(e.value)){const a=[...e.value];a[r]=s,e.value=a}else{const a={...e.value,[r]:s};Object.setPrototypeOf(a,Object.getPrototypeOf(e.value)),e.value=a}else e.value[r]=s}}));return n}function Oc(e,t=!0){rn()?xn(e):t?e():Et(e)}function Tl(e,t=!1){function n(f,{flush:d="sync",deep:p=!1,timeout:h,throwOnTimeout:m}={}){let b=null;const v=[new Promise(w=>{b=ze(e,_=>{f(_)!==t&&(b?.(),w(_))},{flush:d,deep:p,immediate:!0})})];return h!=null&&v.push(Nf(h,m).then(()=>nt(e)).finally(()=>b?.())),Promise.race(v)}function r(f,d){if(!Be(f))return n(_=>_===f,d);const{flush:p="sync",deep:h=!1,timeout:m,throwOnTimeout:b}=d??{};let y=null;const w=[new Promise(_=>{y=ze([e,f],([C,g])=>{t!==(C===g)&&(y?.(),_(C))},{flush:p,deep:h,immediate:!0})})];return m!=null&&w.push(Nf(m,b).then(()=>nt(e)).finally(()=>(y?.(),nt(e)))),Promise.race(w)}function s(f){return n(d=>!!d,f)}function o(f){return r(null,f)}function i(f){return r(void 0,f)}function a(f){return n(Number.isNaN,f)}function l(f,d){return n(p=>{const h=Array.from(p);return h.includes(f)||h.includes(nt(f))},d)}function c(f){return u(1,f)}function u(f=1,d){let p=-1;return n(()=>(p+=1,p>=f),d)}return Array.isArray(nt(e))?{toMatch:n,toContains:l,changed:c,changedTimes:u,get not(){return Tl(e,!t)}}:{toMatch:n,toBe:r,toBeTruthy:s,toBeNull:o,toBeNaN:a,toBeUndefined:i,changed:c,changedTimes:u,get not(){return Tl(e,!t)}}}function Zw(e){return Tl(e)}function Qw(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:s=!1}=n;let o=null;const i=Q(!1);function a(){o&&(clearInterval(o),o=null)}function l(){i.value=!1,a()}function c(){const u=nt(t);u<=0||(i.value=!0,s&&e(),a(),o=setInterval(e,u))}if(r&&pr&&c(),Be(t)||typeof t=="function"){const u=ze(t,()=>{i.value&&pr&&c()});_n(u)}return _n(l),{isActive:i,pause:l,resume:c}}function ex(e,t,n={}){const{immediate:r=!0}=n,s=Q(!1);let o=null;function i(){o&&(clearTimeout(o),o=null)}function a(){s.value=!1,i()}function l(...c){i(),s.value=!0,o=setTimeout(()=>{s.value=!1,o=null,e(...c)},nt(t))}return r&&(s.value=!0,pr&&l()),_n(a),{isPending:es(s),start:l,stop:a}}function B2(e,t,n={}){const{debounce:r=0,maxWait:s=void 0,...o}=n;return fm(e,t,{...o,eventFilter:um(r,{maxWait:s})})}function j2(e,t,n){let r;Be(n)?r={evaluating:n}:r=n||{};const{lazy:s=!1,evaluating:o=void 0,shallow:i=!0,onError:a=Kr}=r,l=Q(!s),c=i?tn(t):Q(t);let u=0;return Br(async f=>{if(!l.value)return;u++;const d=u;let p=!1;o&&Promise.resolve().then(()=>{o.value=!0});try{const h=await e(m=>{f(()=>{o&&(o.value=!1),p||m()})});d===u&&(c.value=h)}catch(h){a(h)}finally{o&&d===u&&(o.value=!1),p=!0}}),s?ge(()=>(l.value=!0,c.value)):c}function z2(e={}){const{inheritAttrs:t=!0}=e,n=tn(),r=Te({setup(o,{slots:i}){return()=>{n.value=i.default}}}),s=Te({inheritAttrs:t,setup(o,{attrs:i,slots:a}){return()=>{var l;n.value;const c=(l=n.value)==null?void 0:l.call(n,{...tx(i),$slots:a});return t&&c?.length===1?c[0]:c}}});return Fw({define:r,reuse:s},[r,s])}function tx(e){const t={};for(const n in e)t[qw(n)]=e[n];return t}function Ic(e={}){let t=0;const n=Q([]);function r(...i){const a=Qr({key:t++,args:i,promise:void 0,resolve:()=>{},reject:()=>{},isResolving:!1,options:e});return n.value.push(a),a.promise=new Promise((l,c)=>{a.resolve=u=>(a.isResolving=!0,l(u)),a.reject=c}).finally(()=>{a.promise=void 0;const l=n.value.indexOf(a);l!==-1&&n.value.splice(l,1)}),a.promise}function s(...i){return e.singleton&&n.value.length>0?n.value[0].promise:r(...i)}const o=Te((i,{slots:a})=>{const l=()=>n.value.map(c=>{var u;return Je(Oe,{key:c.key},(u=a.default)==null?void 0:u.call(a,c))});return e.transition?()=>Je(P_,e.transition,l):l});return o.start=s,o}function xt(e){var t;const n=nt(e);return(t=n?.$el)!=null?t:n}const $t=pr?window:void 0,nx=pr?window.document:void 0,rx=pr?window.navigator:void 0;function Ft(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=$t):[t,n,r,s]=e,!t)return Kr;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(u=>u()),o.length=0},a=(u,f,d,p)=>(u.addEventListener(f,d,p),()=>u.removeEventListener(f,d,p)),l=ze(()=>[xt(t),nt(s)],([u,f])=>{if(i(),!u)return;const d=zw(f)?{...f}:f;o.push(...n.flatMap(p=>r.map(h=>a(u,p,h,d))))},{immediate:!0,flush:"post"}),c=()=>{l(),i()};return _n(c),c}let Of=!1;function Lc(e,t,n={}){const{window:r=$t,ignore:s=[],capture:o=!0,detectIframe:i=!1}=n;if(!r)return;Hw&&!Of&&(Of=!0,Array.from(r.document.body.children).forEach(d=>d.addEventListener("click",Kr)),r.document.documentElement.addEventListener("click",Kr));let a=!0;const l=d=>s.some(p=>{if(typeof p=="string")return Array.from(r.document.querySelectorAll(p)).some(h=>h===d.target||d.composedPath().includes(h));{const h=xt(p);return h&&(d.target===h||d.composedPath().includes(h))}}),u=[Ft(r,"click",d=>{const p=xt(e);if(!(!p||p===d.target||d.composedPath().includes(p))){if(d.detail===0&&(a=!l(d)),!a){a=!0;return}t(d)}},{passive:!0,capture:o}),Ft(r,"pointerdown",d=>{const p=xt(e);p&&(a=!d.composedPath().includes(p)&&!l(d))},{passive:!0}),i&&Ft(r,"blur",d=>{setTimeout(()=>{var p;const h=xt(e);((p=r.document.activeElement)==null?void 0:p.tagName)==="IFRAME"&&!h?.contains(r.document.activeElement)&&t(d)},0)})].filter(Boolean);return()=>u.forEach(d=>d())}function sx(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function ox(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:s=$t,eventName:o="keydown",passive:i=!1,dedupe:a=!1}=r,l=sx(t);return Ft(s,o,u=>{u.repeat&&nt(a)||l(u)&&n(u)},i)}function H2(e,t,n={}){return ox(e,t,{...n,eventName:"keydown"})}function ix(){const e=Q(!1);return rn()&&xn(()=>{e.value=!0}),e}function Mc(e){const t=ix();return ge(()=>(t.value,!!e()))}function ax(e,t={}){const{immediate:n=!0,window:r=$t}=t,s=Q(!1);let o=0,i=null;function a(u){if(!s.value||!r)return;const f=u-(o||u);e({delta:f,timestamp:u}),o=u,i=r.requestAnimationFrame(a)}function l(){!s.value&&r&&(s.value=!0,i=r.requestAnimationFrame(a))}function c(){s.value=!1,i!=null&&r&&(r.cancelAnimationFrame(i),i=null)}return n&&l(),_n(c),{isActive:es(s),pause:c,resume:l}}function lx(e,t={}){const{window:n=$t}=t,r=Mc(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const o=Q(!1),i=c=>{o.value=c.matches},a=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",i):s.removeListener(i))},l=Br(()=>{r.value&&(a(),s=n.matchMedia(nt(e)),"addEventListener"in s?s.addEventListener("change",i):s.addListener(i),o.value=s.matches)});return _n(()=>{l(),a(),s=void 0}),o}function cx(e={}){const{navigator:t=rx,read:n=!1,source:r,copiedDuring:s=1500,legacy:o=!1}=e,i=Mc(()=>t&&"clipboard"in t),a=ge(()=>i.value||o),l=Q(""),c=Q(!1),u=ex(()=>c.value=!1,s);function f(){i.value?t.clipboard.readText().then(m=>{l.value=m}):l.value=h()}a.value&&n&&Ft(["copy","cut"],f);async function d(m=nt(r)){a.value&&m!=null&&(i.value?await t.clipboard.writeText(m):p(m),l.value=m,c.value=!0,u.start())}function p(m){const b=document.createElement("textarea");b.value=m??"",b.style.position="absolute",b.style.opacity="0",document.body.appendChild(b),b.select(),document.execCommand("copy"),b.remove()}function h(){var m,b,y;return(y=(b=(m=document?.getSelection)==null?void 0:m.call(document))==null?void 0:b.toString())!=null?y:""}return{isSupported:a,text:l,copied:c,copy:d}}function ux(e){return JSON.parse(JSON.stringify(e))}const Uo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Vo="__vueuse_ssr_handlers__",fx=dx();function dx(){return Vo in Uo||(Uo[Vo]=Uo[Vo]||{}),Uo[Vo]}function hx(e,t){return fx[e]||t}function px(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const mx={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},If="vueuse-storage";function dm(e,t,n,r={}){var s;const{flush:o="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:f=$t,eventFilter:d,onError:p=E=>{console.error(E)}}=r,h=(u?tn:Q)(t);if(!n)try{n=hx("getDefaultStorage",()=>{var E;return(E=$t)==null?void 0:E.localStorage})()}catch(E){p(E)}if(!n)return h;const m=nt(t),b=px(m),y=(s=r.serializer)!=null?s:mx[b],{pause:v,resume:w}=Yw(h,()=>_(h.value),{flush:o,deep:i,eventFilter:d});return f&&a&&(Ft(f,"storage",T),Ft(f,If,g)),T(),h;function _(E){try{if(E==null)n.removeItem(e);else{const x=y.write(E),P=n.getItem(e);P!==x&&(n.setItem(e,x),f&&f.dispatchEvent(new CustomEvent(If,{detail:{key:e,oldValue:P,newValue:x,storageArea:n}})))}}catch(x){p(x)}}function C(E){const x=E?E.newValue:n.getItem(e);if(x==null)return l&&m!==null&&n.setItem(e,y.write(m)),m;if(!E&&c){const P=y.read(x);return typeof c=="function"?c(P,m):b==="object"&&!Array.isArray(P)?{...m,...P}:P}else return typeof x!="string"?x:y.read(x)}function g(E){T(E.detail)}function T(E){if(!(E&&E.storageArea!==n)){if(E&&E.key==null){h.value=m;return}if(!(E&&E.key!==e)){v();try{E?.newValue!==y.write(h.value)&&(h.value=C(E))}catch(x){p(x)}finally{E?Et(w):w()}}}}}function hm(e,t,n={}){const{window:r=$t,...s}=n;let o;const i=Mc(()=>r&&"ResizeObserver"in r),a=()=>{o&&(o.disconnect(),o=void 0)},l=ge(()=>Array.isArray(e)?e.map(f=>xt(f)):[xt(e)]),c=ze(l,f=>{if(a(),i.value&&r){o=new ResizeObserver(t);for(const d of f)d&&o.observe(d,s)}},{immediate:!0,flush:"post",deep:!0}),u=()=>{a(),c()};return _n(u),{isSupported:i,stop:u}}function U2(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:s=!0,immediate:o=!0}=t,i=Q(0),a=Q(0),l=Q(0),c=Q(0),u=Q(0),f=Q(0),d=Q(0),p=Q(0);function h(){const m=xt(e);if(!m){n&&(i.value=0,a.value=0,l.value=0,c.value=0,u.value=0,f.value=0,d.value=0,p.value=0);return}const b=m.getBoundingClientRect();i.value=b.height,a.value=b.bottom,l.value=b.left,c.value=b.right,u.value=b.top,f.value=b.width,d.value=b.x,p.value=b.y}return hm(e,h),ze(()=>xt(e),m=>!m&&h()),s&&Ft("scroll",h,{capture:!0,passive:!0}),r&&Ft("resize",h,{passive:!0}),Oc(()=>{o&&h()}),{height:i,bottom:a,left:l,right:c,top:u,width:f,x:d,y:p,update:h}}function V2(e,t={width:0,height:0},n={}){const{window:r=$t,box:s="content-box"}=n,o=ge(()=>{var l,c;return(c=(l=xt(e))==null?void 0:l.namespaceURI)==null?void 0:c.includes("svg")}),i=Q(t.width),a=Q(t.height);return hm(e,([l])=>{const c=s==="border-box"?l.borderBoxSize:s==="content-box"?l.contentBoxSize:l.devicePixelContentBoxSize;if(r&&o.value){const u=xt(e);if(u){const f=r.getComputedStyle(u);i.value=Number.parseFloat(f.width),a.value=Number.parseFloat(f.height)}}else if(c){const u=Array.isArray(c)?c:[c];i.value=u.reduce((f,{inlineSize:d})=>f+d,0),a.value=u.reduce((f,{blockSize:d})=>f+d,0)}else i.value=l.contentRect.width,a.value=l.contentRect.height},n),ze(()=>xt(e),l=>{i.value=l?t.width:0,a.value=l?t.height:0}),{width:i,height:a}}function Po(e,t,n={}){const{window:r=$t}=n;return dm(e,t,r?.localStorage,n)}function gx(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,r=Q(new Date),s=()=>r.value=new Date,o=n==="requestAnimationFrame"?ax(s,{immediate:!0}):Qw(s,n,{immediate:!0});return t?{now:r,...o}:r}function vx(e,t,n={}){const{window:r=$t}=n;return dm(e,t,r?.sessionStorage,n)}let yx=0;function W2(e,t={}){const n=Q(!1),{document:r=nx,immediate:s=!0,manual:o=!1,id:i=`vueuse_styletag_${++yx}`}=t,a=Q(e);let l=()=>{};const c=()=>{if(!r)return;const f=r.getElementById(i)||r.createElement("style");f.isConnected||(f.id=i,t.media&&(f.media=t.media),r.head.appendChild(f)),!n.value&&(l=ze(a,d=>{f.textContent=d},{immediate:!0}),n.value=!0)},u=()=>{!r||!n.value||(l(),r.head.removeChild(r.getElementById(i)),n.value=!1)};return s&&!o&&Oc(c),o||_n(u),{id:i,css:a,unload:u,load:c,isLoaded:es(n)}}const _x=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:Number.POSITIVE_INFINITY,value:31536e6,name:"year"}],bx={justNow:"just now",past:e=>e.match(/\d/)?`${e} ago`:e,future:e=>e.match(/\d/)?`in ${e}`:e,month:(e,t)=>e===1?t?"last month":"next month":`${e} month${e>1?"s":""}`,year:(e,t)=>e===1?t?"last year":"next year":`${e} year${e>1?"s":""}`,day:(e,t)=>e===1?t?"yesterday":"tomorrow":`${e} day${e>1?"s":""}`,week:(e,t)=>e===1?t?"last week":"next week":`${e} week${e>1?"s":""}`,hour:e=>`${e} hour${e>1?"s":""}`,minute:e=>`${e} minute${e>1?"s":""}`,second:e=>`${e} second${e>1?"s":""}`,invalid:""};function wx(e){return e.toISOString().slice(0,10)}function G2(e,t={}){const{controls:n=!1,updateInterval:r=3e4}=t,{now:s,...o}=gx({interval:r,controls:!0}),i=ge(()=>xx(new Date(nt(e)),t,nt(s)));return n?{timeAgo:i,...o}:i}function xx(e,t={},n=Date.now()){var r;const{max:s,messages:o=bx,fullDateFormatter:i=wx,units:a=_x,showSecond:l=!1,rounding:c="round"}=t,u=typeof c=="number"?b=>+b.toFixed(c):Math[c],f=+n-+e,d=Math.abs(f);function p(b,y){return u(Math.abs(b)/y.value)}function h(b,y){const v=p(b,y),w=b>0,_=m(y.name,v,w);return m(w?"past":"future",_,w)}function m(b,y,v){const w=o[b];return typeof w=="function"?w(y,v):w.replace("{0}",y.toString())}if(d<6e4&&!l)return o.justNow;if(typeof s=="number"&&d>s)return i(new Date(e));if(typeof s=="string"){const b=(r=a.find(y=>y.name===s))==null?void 0:r.max;if(b&&d>b)return i(new Date(e))}for(const[b,y]of a.entries()){if(p(f,y)<=0&&a[b-1])return h(f,a[b-1]);if(d<y.max)return h(f,y)}return o.invalid}function pm(e,t,n,r={}){var s,o,i;const{clone:a=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:f,shouldEmit:d}=r,p=rn(),h=n||p?.emit||((s=p?.$emit)==null?void 0:s.bind(p))||((i=(o=p?.proxy)==null?void 0:o.$emit)==null?void 0:i.bind(p?.proxy));let m=c;t||(t="modelValue"),m=m||`update:${t.toString()}`;const b=w=>a?typeof a=="function"?a(w):ux(w):w,y=()=>Bw(e[t])?b(e[t]):f,v=w=>{d?d(w)&&h(m,w):h(m,w)};if(l){const w=y(),_=Q(w);let C=!1;return ze(()=>e[t],g=>{C||(C=!0,_.value=b(g),Et(()=>C=!1))}),ze(_,g=>{!C&&(g!==e[t]||u)&&v(g)},{deep:u}),_}else return ge({get(){return y()},set(w){v(w)}})}function mm(e={}){const{window:t=$t,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:o=!0}=e,i=Q(n),a=Q(r),l=()=>{t&&(o?(i.value=t.innerWidth,a.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,a.value=t.document.documentElement.clientHeight))};if(l(),Oc(l),Ft("resize",l,{passive:!0}),s){const c=lx("(orientation: portrait)");ze(c,()=>l())}return{width:i,height:a}}function Ex(e=""){return!e||!e.includes("\\")?e:e.replace(/\\/g,"/")}const Sx=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;function Cx(){return typeof process<"u"?process.cwd().replace(/\\/g,"/"):"/"}const Lf=function(...e){e=e.map(r=>Ex(r));let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const s=r>=0?e[r]:Cx();!s||s.length===0||(t=`${s}/${t}`,n=Mf(s))}return t=Tx(t,!n),n&&!Mf(t)?`/${t}`:t.length>0?t:"."};function Tx(e,t){let n="",r=0,s=-1,o=0,i=null;for(let a=0;a<=e.length;++a){if(a<e.length)i=e[a];else{if(i==="/")break;i="/"}if(i==="/"){if(!(s===a-1||o===1))if(o===2){if(n.length<2||r!==2||n[n.length-1]!=="."||n[n.length-2]!=="."){if(n.length>2){const l=n.lastIndexOf("/");l===-1?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),s=a,o=0;continue}else if(n.length>0){n="",r=0,s=a,o=0;continue}}t&&(n+=n.length>0?"/..":"..",r=2)}else n.length>0?n+=`/${e.slice(s+1,a)}`:n=e.slice(s+1,a),r=a-s-1;s=a,o=0}else i==="."&&o!==-1?++o:o=-1}return n}const Mf=function(e){return Sx.test(e)},Px=function(e,t){const n=Lf(e).split("/"),r=Lf(t).split("/"),s=[...n];for(const o of s){if(r[0]!==o)break;n.shift(),r.shift()}return[...n.map(()=>".."),...r].join("/")};function q2(e){return!!e.match(/[/\\]node_modules[/\\]/)||Dc(e)}function Dc(e){return e[0]==="#"||!!e.match(/^(@[a-z0-9-~][a-z0-9-._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/)}function kx(e){if(Dc(e))return e;const t=e.replace(/\\/g,"/").match(/.*\/node_modules\/(.*)$/)?.[1];if(t)return t.startsWith("@")?t.split("/").slice(0,2).join("/"):t.split("/")[0]}function Ax(e){const t=e.match(/.*\/node_modules\/(.*)$/)?.[1];if(t)return t}function K2(e){if(e)return["nuxt","#app","#head","vue"].includes(e)}function X2(e,t){if(e=e.replace(/\\/g,"/"),Dc(e))return{moduleName:e,path:e};const n=kx(e),r=Ax(e);if(n&&r)return{moduleName:n,path:r};try{let s=Px(t,e);return!s.startsWith("./")&&!s.startsWith("../")&&(s=`./${s}`),s.startsWith("./.nuxt/")&&(s=`#build${s.slice(7)}`),{path:s}}catch{return{path:e}}}function yt(e,t,n){const r=Le(),s=r.payload.unique=r.payload.unique||{};return s[e]||(s[e]=Gp(e,t,n)),s[e].data}function Y2(){return typeof navigator<"u"&&navigator.platform.toLowerCase().includes("mac")}const Df={get:"bg-green-400:10 text-green-400",post:"bg-blue-400:10 text-blue-400",put:"bg-orange-400:10 text-orange-400",delete:"bg-red-400:10 text-red-400",patch:"bg-purple-400:10 text-purple-400",head:"bg-teal-400:10 text-teal-400",default:"bg-gray-400:10 text-gray-400"};function J2(e){return Df[e.toLowerCase()]||Df.default}function Z2(e,t){const n={};for(const[r,s]of Object.entries(t))for(const o of s){const i=e.find(a=>a.tag===o.tag&&(o.name?a.name===o.name:!0))?.value;if(i){n[r]=i;break}}return{url:window.location.host,...n}}function Q2(e){return Number.isNaN(e)||e<0?"-":e<1?"<1ms":e<1e3?`${e}ms`:e<1e3*60?`${(e/1e3).toFixed(2)}s`:`${(e/1e3/60).toFixed(2)}min`}function eO(e,t=65,n=50,r=1){let s=0;for(let i=0;i<e.length;i++)s=e.charCodeAt(i)+((s<<5)-s);return`hsla(${s%360}, ${t}%, ${n}%, ${r})`}function ea(e,t){return ss(e,()=>vx(e,t,{listenToStorageChanges:!1}))}function tO(e,t){const n=t?.find(s=>s.id===e.filePath)?.deps?.map(s=>t?.find(o=>o.id===s)?.id).filter(Boolean),r=t?.filter(s=>s.deps.includes(e.filePath)).map(s=>s.id);return{component:e,dependencies:n,dependents:r}}const Rx=6e4;function gm(e){return e}const $x=gm,{clearTimeout:Nx,setTimeout:Ox}=globalThis,Ix=Math.random.bind(Math);function Lx(e,t){const{post:n,on:r,eventNames:s=[],serialize:o=gm,deserialize:i=$x,resolver:a,timeout:l=Rx}=t,c=new Map;let u;const f=new Proxy({},{get(d,p){if(p==="$functions")return e;const h=(...b)=>{n(o({m:p,a:b,t:"q"}))};if(s.includes(p))return h.asEvent=h,h;const m=async(...b)=>(await u,new Promise((y,v)=>{const w=Dx();let _;l>=0&&(_=Ox(()=>{v(new Error(`[birpc] timeout on calling "${p}"`)),c.delete(w)},l).unref?.()),c.set(w,{resolve:y,reject:v,timeoutId:_}),n(o({m:p,a:b,i:w,t:"q"}))}));return m.asEvent=h,m}});return u=r(async(d,...p)=>{const h=i(d);if(h.t==="q"){const{m,a:b}=h;let y,v;const w=a?a(m,e[m]):e[m];if(!w)v=new Error(`[birpc] function "${m}" not found`);else try{y=await w.apply(f,b)}catch(_){v=_}h.i&&(v&&t.onError&&t.onError(v,m,b),n(o({t:"s",i:h.i,r:y,e:v}),...p))}else{const{i:m,r:b,e:y}=h,v=c.get(m);v&&(Nx(v.timeoutId),y?v.reject(y):v.resolve(b)),c.delete(m)}}),f}const Mx="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function Dx(e=21){let t="",n=e;for(;n--;)t+=Mx[Ix()*64|0];return t}/*! (c) 2020 Andrea Giammarchi */const{parse:Fx,stringify:Bx}=JSON,{keys:jx}=Object,mo=String,vm="string",Ff={},ki="object",ym=(e,t)=>t,zx=e=>e instanceof mo?mo(e):e,Hx=(e,t)=>typeof t===vm?new mo(t):t,_m=(e,t,n,r)=>{const s=[];for(let o=jx(n),{length:i}=o,a=0;a<i;a++){const l=o[a],c=n[l];if(c instanceof mo){const u=e[c];typeof u===ki&&!t.has(u)?(t.add(u),n[l]=Ff,s.push({k:l,a:[e,t,u,r]})):n[l]=r.call(n,l,u)}else n[l]!==Ff&&(n[l]=r.call(n,l,c))}for(let{length:o}=s,i=0;i<o;i++){const{k:a,a:l}=s[i];n[a]=r.call(n,a,_m.apply(null,l))}return n},Bf=(e,t,n)=>{const r=mo(t.push(n)-1);return e.set(n,r),r},Ux=(e,t)=>{const n=Fx(e,Hx).map(zx),r=n[0],s=t||ym,o=typeof r===ki&&r?_m(n,new Set,r,s):r;return s.call({"":o},"",o)},Vx=(e,t,n)=>{const r=t&&typeof t===ki?(u,f)=>u===""||-1<t.indexOf(u)?f:void 0:t||ym,s=new Map,o=[],i=[];let a=+Bf(s,o,r.call({"":e},"",e)),l=!a;for(;a<o.length;)l=!0,i[a]=Bx(o[a++],c,n);return"["+i.join(",")+"]";function c(u,f){if(l)return l=!l,f;const d=r.call(this,u,f);switch(typeof d){case ki:if(d===null)return d;case vm:return s.get(d)||Bf(s,o,d)}return d}};async function Wx(e="/",t=!0){try{const n=`${e}@vite/client`,r=await fetch(n);if((await r.text()).startsWith("<")||!r.headers.get("content-type")?.includes("javascript"))throw new Error("Not javascript");return await be(()=>import(n),[],import.meta.url)}catch{t&&console.error(`[vite-hot-client] Failed to import "${e}@vite/client"`)}}function Gx(e=window.location.pathname){return e.split("/").map((t,n,r)=>r.slice(0,n+1).join("/")||"/")}async function qx(e="/___",t){t=t??Gx();for(const n of t){const s=(await Wx(n,!1))?.createHotContext(e);if(s)return s}console.error("[vite-hot-client] Failed to import vite client, tried with:",t)}const bm="nuxt:devtools:rpc",Kx=Q(!1),Xx=Q(),Yx=Xw(Kx,2e3),Jx=Zx();let wm=()=>{};const xm={},Em=new Map,De=Lx(xm,{post:async e=>{(await Jx).send(bm,e)},on:e=>{wm=e},serialize:Vx,deserialize:Ux,resolver(e,t){if(t)return t;if(!e.includes(":"))return;const[n,r]=e.split(":");return Em.get(n)?.[r]},onError(e,t){console.error(`[nuxt-devtools] RPC error on executing "${t}":`,e)},timeout:12e4});async function Zx(){let e=window.parent?.__NUXT__?.config?.app?.baseURL;const t=window.parent?.__NUXT__?.config?.app.buildAssetsDir.replace(/^\/|\/$/g,"")??"_nuxt";e&&!e.endsWith("/")&&(e+="/");const n=await qx(void 0,[...e?[`${e}${t}/`,e]:[],"/_nuxt/","/"]);if(!n)throw new Error("Unable to connect to devtools");return n.on(bm,r=>{wm(r)}),n}const nO=Ic(),Sm=Ic();function Qx(){return ss("devtools:restart-dialogs",()=>[])}let Cm;function Fc(e){Cm?.(e)}function eE(e){Cm=e}var tE=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function nE(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function rO(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return e[r]}})}),n}var Pl={exports:{}};(function(e,t){(function(n,r){var s="1.0.36",o="",i="?",a="function",l="undefined",c="object",u="string",f="major",d="model",p="name",h="type",m="vendor",b="version",y="architecture",v="console",w="mobile",_="tablet",C="smarttv",g="wearable",T="embedded",E=350,x="Amazon",P="Apple",S="ASUS",k="BlackBerry",A="Browser",R="Chrome",M="Edge",L="Firefox",D="Google",F="Huawei",U="LG",re="Microsoft",se="Motorola",ne="Opera",me="Samsung",fe="Sharp",xe="Sony",Re="Xiaomi",O="Zebra",X="Facebook",V="Chromium OS",ce="Mac OS",Ce=function(ee,le){var oe={};for(var de in ee)le[de]&&le[de].length%2===0?oe[de]=le[de].concat(ee[de]):oe[de]=ee[de];return oe},$=function(ee){for(var le={},oe=0;oe<ee.length;oe++)le[ee[oe].toUpperCase()]=ee[oe];return le},N=function(ee,le){return typeof ee===u?I(le).indexOf(I(ee))!==-1:!1},I=function(ee){return ee.toLowerCase()},B=function(ee){return typeof ee===u?ee.replace(/[^\d\.]/g,o).split(".")[0]:r},z=function(ee,le){if(typeof ee===u)return ee=ee.replace(/^\s\s*/,o),typeof le===l?ee:ee.substring(0,E)},H=function(ee,le){for(var oe=0,de,Ne,We,Pe,ye,at;oe<le.length&&!ye;){var xr=le[oe],lt=le[oe+1];for(de=Ne=0;de<xr.length&&!ye&&xr[de];)if(ye=xr[de++].exec(ee),ye)for(We=0;We<lt.length;We++)at=ye[++Ne],Pe=lt[We],typeof Pe===c&&Pe.length>0?Pe.length===2?typeof Pe[1]==a?this[Pe[0]]=Pe[1].call(this,at):this[Pe[0]]=Pe[1]:Pe.length===3?typeof Pe[1]===a&&!(Pe[1].exec&&Pe[1].test)?this[Pe[0]]=at?Pe[1].call(this,at,Pe[2]):r:this[Pe[0]]=at?at.replace(Pe[1],Pe[2]):r:Pe.length===4&&(this[Pe[0]]=at?Pe[3].call(this,at.replace(Pe[1],Pe[2])):r):this[Pe]=at||r;oe+=2}},te=function(ee,le){for(var oe in le)if(typeof le[oe]===c&&le[oe].length>0){for(var de=0;de<le[oe].length;de++)if(N(le[oe][de],ee))return oe===i?r:oe}else if(N(le[oe],ee))return oe===i?r:oe;return ee},G={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},q={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},W={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[b,[p,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[b,[p,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[p,b],[/opios[\/ ]+([\w\.]+)/i],[b,[p,ne+" Mini"]],[/\bopr\/([\w\.]+)/i],[b,[p,ne]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[p,b],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[b,[p,"UC"+A]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[b,[p,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[b,[p,"WeChat"]],[/konqueror\/([\w\.]+)/i],[b,[p,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[b,[p,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[b,[p,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[p,/(.+)/,"$1 Secure "+A],b],[/\bfocus\/([\w\.]+)/i],[b,[p,L+" Focus"]],[/\bopt\/([\w\.]+)/i],[b,[p,ne+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[b,[p,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[b,[p,"Dolphin"]],[/coast\/([\w\.]+)/i],[b,[p,ne+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[b,[p,"MIUI "+A]],[/fxios\/([-\w\.]+)/i],[b,[p,L]],[/\bqihu|(qi?ho?o?|360)browser/i],[[p,"360 "+A]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[p,/(.+)/,"$1 "+A],b],[/(comodo_dragon)\/([\w\.]+)/i],[[p,/_/g," "],b],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[p,b],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[p],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[p,X],b],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[p,b],[/\bgsa\/([\w\.]+) .*safari\//i],[b,[p,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[b,[p,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[b,[p,R+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[p,R+" WebView"],b],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[b,[p,"Android "+A]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[p,b],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[b,[p,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[b,p],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[p,[b,te,G]],[/(webkit|khtml)\/([\w\.]+)/i],[p,b],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[p,"Netscape"],b],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[b,[p,L+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[p,b],[/(cobalt)\/([\w\.]+)/i],[p,[b,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[y,"amd64"]],[/(ia32(?=;))/i],[[y,I]],[/((?:i[346]|x)86)[;\)]/i],[[y,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[y,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[y,"armhf"]],[/windows (ce|mobile); ppc;/i],[[y,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[y,/ower/,o,I]],[/(sun4\w)[;\)]/i],[[y,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[y,I]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[m,me],[h,_]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[m,me],[h,w]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[m,P],[h,w]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[m,P],[h,_]],[/(macintosh);/i],[d,[m,P]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[m,fe],[h,w]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[m,F],[h,_]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[m,F],[h,w]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[m,Re],[h,w]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[m,Re],[h,_]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[m,"OPPO"],[h,w]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[m,"Vivo"],[h,w]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[d,[m,"Realme"],[h,w]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[m,se],[h,w]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[m,se],[h,_]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[m,U],[h,_]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[m,U],[h,w]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[m,"Lenovo"],[h,_]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[m,"Nokia"],[h,w]],[/(pixel c)\b/i],[d,[m,D],[h,_]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[m,D],[h,w]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[m,xe],[h,w]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[m,xe],[h,_]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[m,"OnePlus"],[h,w]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[m,x],[h,_]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[m,x],[h,w]],[/(playbook);[-\w\),; ]+(rim)/i],[d,m,[h,_]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[m,k],[h,w]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[m,S],[h,_]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[m,S],[h,w]],[/(nexus 9)/i],[d,[m,"HTC"],[h,_]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[m,[d,/_/g," "],[h,w]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[m,"Acer"],[h,_]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[m,"Meizu"],[h,w]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[m,d,[h,w]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[m,d,[h,_]],[/(surface duo)/i],[d,[m,re],[h,_]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[m,"Fairphone"],[h,w]],[/(u304aa)/i],[d,[m,"AT&T"],[h,w]],[/\bsie-(\w*)/i],[d,[m,"Siemens"],[h,w]],[/\b(rct\w+) b/i],[d,[m,"RCA"],[h,_]],[/\b(venue[\d ]{2,7}) b/i],[d,[m,"Dell"],[h,_]],[/\b(q(?:mv|ta)\w+) b/i],[d,[m,"Verizon"],[h,_]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[m,"Barnes & Noble"],[h,_]],[/\b(tm\d{3}\w+) b/i],[d,[m,"NuVision"],[h,_]],[/\b(k88) b/i],[d,[m,"ZTE"],[h,_]],[/\b(nx\d{3}j) b/i],[d,[m,"ZTE"],[h,w]],[/\b(gen\d{3}) b.+49h/i],[d,[m,"Swiss"],[h,w]],[/\b(zur\d{3}) b/i],[d,[m,"Swiss"],[h,_]],[/\b((zeki)?tb.*\b) b/i],[d,[m,"Zeki"],[h,_]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[m,"Dragon Touch"],d,[h,_]],[/\b(ns-?\w{0,9}) b/i],[d,[m,"Insignia"],[h,_]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[m,"NextBook"],[h,_]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[m,"Voice"],d,[h,w]],[/\b(lvtel\-)?(v1[12]) b/i],[[m,"LvTel"],d,[h,w]],[/\b(ph-1) /i],[d,[m,"Essential"],[h,w]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[m,"Envizen"],[h,_]],[/\b(trio[-\w\. ]+) b/i],[d,[m,"MachSpeed"],[h,_]],[/\btu_(1491) b/i],[d,[m,"Rotor"],[h,_]],[/(shield[\w ]+) b/i],[d,[m,"Nvidia"],[h,_]],[/(sprint) (\w+)/i],[m,d,[h,w]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[m,re],[h,w]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[m,O],[h,_]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[m,O],[h,w]],[/smart-tv.+(samsung)/i],[m,[h,C]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[m,me],[h,C]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[m,U],[h,C]],[/(apple) ?tv/i],[m,[d,P+" TV"],[h,C]],[/crkey/i],[[d,R+"cast"],[m,D],[h,C]],[/droid.+aft(\w+)( bui|\))/i],[d,[m,x],[h,C]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[m,fe],[h,C]],[/(bravia[\w ]+)( bui|\))/i],[d,[m,xe],[h,C]],[/(mitv-\w{5}) bui/i],[d,[m,Re],[h,C]],[/Hbbtv.*(technisat) (.*);/i],[m,d,[h,C]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[m,z],[d,z],[h,C]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[h,C]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[m,d,[h,v]],[/droid.+; (shield) bui/i],[d,[m,"Nvidia"],[h,v]],[/(playstation [345portablevi]+)/i],[d,[m,xe],[h,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[m,re],[h,v]],[/((pebble))app/i],[m,d,[h,g]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[m,P],[h,g]],[/droid.+; (glass) \d/i],[d,[m,D],[h,g]],[/droid.+; (wt63?0{2,3})\)/i],[d,[m,O],[h,g]],[/(quest( 2| pro)?)/i],[d,[m,X],[h,g]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[m,[h,T]],[/(aeobc)\b/i],[d,[m,x],[h,T]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[d,[h,w]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[h,_]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[h,_]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[h,w]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[m,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[b,[p,M+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[b,[p,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[p,b],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[b,p]],os:[[/microsoft (windows) (vista|xp)/i],[p,b],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[p,[b,te,q]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[p,"Windows"],[b,te,q]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[b,/_/g,"."],[p,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[p,ce],[b,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[b,p],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[p,b],[/\(bb(10);/i],[b,[p,k]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[b,[p,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[b,[p,L+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[b,[p,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[b,[p,"watchOS"]],[/crkey\/([\d\.]+)/i],[b,[p,R+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[p,V],b],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[p,b],[/(sunos) ?([\w\.\d]*)/i],[[p,"Solaris"],b],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[p,b]]},ie=function(ee,le){if(typeof ee===c&&(le=ee,ee=r),!(this instanceof ie))return new ie(ee,le).getResult();var oe=typeof n!==l&&n.navigator?n.navigator:r,de=ee||(oe&&oe.userAgent?oe.userAgent:o),Ne=oe&&oe.userAgentData?oe.userAgentData:r,We=le?Ce(W,le):W,Pe=oe&&oe.userAgent==de;return this.getBrowser=function(){var ye={};return ye[p]=r,ye[b]=r,H.call(ye,de,We.browser),ye[f]=B(ye[b]),Pe&&oe&&oe.brave&&typeof oe.brave.isBrave==a&&(ye[p]="Brave"),ye},this.getCPU=function(){var ye={};return ye[y]=r,H.call(ye,de,We.cpu),ye},this.getDevice=function(){var ye={};return ye[m]=r,ye[d]=r,ye[h]=r,H.call(ye,de,We.device),Pe&&!ye[h]&&Ne&&Ne.mobile&&(ye[h]=w),Pe&&ye[d]=="Macintosh"&&oe&&typeof oe.standalone!==l&&oe.maxTouchPoints&&oe.maxTouchPoints>2&&(ye[d]="iPad",ye[h]=_),ye},this.getEngine=function(){var ye={};return ye[p]=r,ye[b]=r,H.call(ye,de,We.engine),ye},this.getOS=function(){var ye={};return ye[p]=r,ye[b]=r,H.call(ye,de,We.os),Pe&&!ye[p]&&Ne&&Ne.platform!="Unknown"&&(ye[p]=Ne.platform.replace(/chrome os/i,V).replace(/macos/i,ce)),ye},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return de},this.setUA=function(ye){return de=typeof ye===u&&ye.length>E?z(ye,E):ye,this},this.setUA(de),this};ie.VERSION=s,ie.BROWSER=$([p,b,f]),ie.CPU=$([y]),ie.DEVICE=$([d,m,h,v,w,C,_,g,T]),ie.ENGINE=ie.OS=$([p,b]),e.exports&&(t=e.exports=ie),t.UAParser=ie;var ae=typeof n!==l&&(n.jQuery||n.Zepto);if(ae&&!ae.ua){var ue=new ie;ae.ua=ue.getResult(),ae.ua.get=function(){return ue.getUA()},ae.ua.set=function(ee){ue.setUA(ee);var le=ue.getResult();for(var oe in le)ae.ua[oe]=le[oe]}}})(typeof window=="object"?window:tE)})(Pl,Pl.exports);var rE=Pl.exports;const Tt=Q(localStorage.getItem("__nuxt_dev_token__")),Pt=Q(!1),Tm=new BroadcastChannel("__nuxt_dev_token__");Tm.addEventListener("message",e=>{if(e.data.event==="new-token"){if(e.data.data===Tt.value)return;const t=e.data.data;De.verifyAuthToken(t).then(n=>{Tt.value=n?t:null,Pt.value=n})}});function sE(e){Tt.value=e,Pt.value=!0,localStorage.setItem("__nuxt_dev_token__",e),Tm.postMessage({event:"new-token",data:e})}async function oE(){if(Pt.value)return Tt.value;if(Tt.value||await jf(),Pt.value=await De.verifyAuthToken(Tt.value),!Pt.value)throw Tt.value=null,Fc({message:"Invalid auth token, action canceled",icon:"i-carbon-warning-alt",classes:"text-red"}),await jf(),new Error("Invalid auth token");return Tt.value}async function jf(){const e=new rE.UAParser(navigator.userAgent).getResult(),t=[e.browser.name,e.browser.version,"|",e.os.name,e.os.version,e.device.type].filter(r=>r).join(" ");if(De.requestForAuth(t),await Promise.race([Sm.start(),Zw(Tt.value).toBeTruthy()])===!1)throw Fc({message:"Action canceled",icon:"carbon-close",classes:"text-orange"}),new Error("User canceled auth")}var kl={exports:{}};const iE="2.0.0",Pm=256,aE=Number.MAX_SAFE_INTEGER||9007199254740991,lE=16,cE=Pm-6,uE=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var ta={MAX_LENGTH:Pm,MAX_SAFE_COMPONENT_LENGTH:lE,MAX_SAFE_BUILD_LENGTH:cE,MAX_SAFE_INTEGER:aE,RELEASE_TYPES:uE,SEMVER_SPEC_VERSION:iE,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};const fE=typeof process=="object"&&process.env&&{}.NODE_DEBUG&&/\bsemver\b/i.test({}.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var na=fE;(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:s}=ta,o=na;t=e.exports={};const i=t.re=[],a=t.safeRe=[],l=t.src=[],c=t.t={};let u=0;const f="[a-zA-Z0-9-]",d=[["\\s",1],["\\d",s],[f,r]],p=m=>{for(const[b,y]of d)m=m.split(`${b}*`).join(`${b}{0,${y}}`).split(`${b}+`).join(`${b}{1,${y}}`);return m},h=(m,b,y)=>{const v=p(b),w=u++;o(m,w,b),c[m]=w,l[w]=b,i[w]=new RegExp(b,y?"g":void 0),a[w]=new RegExp(v,y?"g":void 0)};h("NUMERICIDENTIFIER","0|[1-9]\\d*"),h("NUMERICIDENTIFIERLOOSE","\\d+"),h("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${f}*`),h("MAINVERSION",`(${l[c.NUMERICIDENTIFIER]})\\.(${l[c.NUMERICIDENTIFIER]})\\.(${l[c.NUMERICIDENTIFIER]})`),h("MAINVERSIONLOOSE",`(${l[c.NUMERICIDENTIFIERLOOSE]})\\.(${l[c.NUMERICIDENTIFIERLOOSE]})\\.(${l[c.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASEIDENTIFIER",`(?:${l[c.NUMERICIDENTIFIER]}|${l[c.NONNUMERICIDENTIFIER]})`),h("PRERELEASEIDENTIFIERLOOSE",`(?:${l[c.NUMERICIDENTIFIERLOOSE]}|${l[c.NONNUMERICIDENTIFIER]})`),h("PRERELEASE",`(?:-(${l[c.PRERELEASEIDENTIFIER]}(?:\\.${l[c.PRERELEASEIDENTIFIER]})*))`),h("PRERELEASELOOSE",`(?:-?(${l[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[c.PRERELEASEIDENTIFIERLOOSE]})*))`),h("BUILDIDENTIFIER",`${f}+`),h("BUILD",`(?:\\+(${l[c.BUILDIDENTIFIER]}(?:\\.${l[c.BUILDIDENTIFIER]})*))`),h("FULLPLAIN",`v?${l[c.MAINVERSION]}${l[c.PRERELEASE]}?${l[c.BUILD]}?`),h("FULL",`^${l[c.FULLPLAIN]}$`),h("LOOSEPLAIN",`[v=\\s]*${l[c.MAINVERSIONLOOSE]}${l[c.PRERELEASELOOSE]}?${l[c.BUILD]}?`),h("LOOSE",`^${l[c.LOOSEPLAIN]}$`),h("GTLT","((?:<|>)?=?)"),h("XRANGEIDENTIFIERLOOSE",`${l[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),h("XRANGEIDENTIFIER",`${l[c.NUMERICIDENTIFIER]}|x|X|\\*`),h("XRANGEPLAIN",`[v=\\s]*(${l[c.XRANGEIDENTIFIER]})(?:\\.(${l[c.XRANGEIDENTIFIER]})(?:\\.(${l[c.XRANGEIDENTIFIER]})(?:${l[c.PRERELEASE]})?${l[c.BUILD]}?)?)?`),h("XRANGEPLAINLOOSE",`[v=\\s]*(${l[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[c.XRANGEIDENTIFIERLOOSE]})(?:${l[c.PRERELEASELOOSE]})?${l[c.BUILD]}?)?)?`),h("XRANGE",`^${l[c.GTLT]}\\s*${l[c.XRANGEPLAIN]}$`),h("XRANGELOOSE",`^${l[c.GTLT]}\\s*${l[c.XRANGEPLAINLOOSE]}$`),h("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),h("COERCERTL",l[c.COERCE],!0),h("LONETILDE","(?:~>?)"),h("TILDETRIM",`(\\s*)${l[c.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",h("TILDE",`^${l[c.LONETILDE]}${l[c.XRANGEPLAIN]}$`),h("TILDELOOSE",`^${l[c.LONETILDE]}${l[c.XRANGEPLAINLOOSE]}$`),h("LONECARET","(?:\\^)"),h("CARETTRIM",`(\\s*)${l[c.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",h("CARET",`^${l[c.LONECARET]}${l[c.XRANGEPLAIN]}$`),h("CARETLOOSE",`^${l[c.LONECARET]}${l[c.XRANGEPLAINLOOSE]}$`),h("COMPARATORLOOSE",`^${l[c.GTLT]}\\s*(${l[c.LOOSEPLAIN]})$|^$`),h("COMPARATOR",`^${l[c.GTLT]}\\s*(${l[c.FULLPLAIN]})$|^$`),h("COMPARATORTRIM",`(\\s*)${l[c.GTLT]}\\s*(${l[c.LOOSEPLAIN]}|${l[c.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",h("HYPHENRANGE",`^\\s*(${l[c.XRANGEPLAIN]})\\s+-\\s+(${l[c.XRANGEPLAIN]})\\s*$`),h("HYPHENRANGELOOSE",`^\\s*(${l[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[c.XRANGEPLAINLOOSE]})\\s*$`),h("STAR","(<|>)?=?\\s*\\*"),h("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),h("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(kl,kl.exports);var ko=kl.exports;const dE=Object.freeze({loose:!0}),hE=Object.freeze({}),pE=e=>e?typeof e!="object"?dE:e:hE;var Bc=pE;const zf=/^[0-9]+$/,km=(e,t)=>{const n=zf.test(e),r=zf.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1},mE=(e,t)=>km(t,e);var Am={compareIdentifiers:km,rcompareIdentifiers:mE};const Wo=na,{MAX_LENGTH:Hf,MAX_SAFE_INTEGER:Go}=ta,{safeRe:Uf,t:Vf}=ko,gE=Bc,{compareIdentifiers:Sr}=Am;let vE=class Gt{constructor(t,n){if(n=gE(n),t instanceof Gt){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>Hf)throw new TypeError(`version is longer than ${Hf} characters`);Wo("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;const r=t.trim().match(n.loose?Uf[Vf.LOOSE]:Uf[Vf.FULL]);if(!r)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>Go||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Go||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Go||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(s=>{if(/^[0-9]+$/.test(s)){const o=+s;if(o>=0&&o<Go)return o}return s}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(Wo("SemVer.compare",this.version,this.options,t),!(t instanceof Gt)){if(typeof t=="string"&&t===this.version)return 0;t=new Gt(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof Gt||(t=new Gt(t,this.options)),Sr(this.major,t.major)||Sr(this.minor,t.minor)||Sr(this.patch,t.patch)}comparePre(t){if(t instanceof Gt||(t=new Gt(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let n=0;do{const r=this.prerelease[n],s=t.prerelease[n];if(Wo("prerelease compare",n,r,s),r===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(r===void 0)return-1;if(r===s)continue;return Sr(r,s)}while(++n)}compareBuild(t){t instanceof Gt||(t=new Gt(t,this.options));let n=0;do{const r=this.build[n],s=t.build[n];if(Wo("prerelease compare",n,r,s),r===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(r===void 0)return-1;if(r===s)continue;return Sr(r,s)}while(++n)}inc(t,n,r){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n,r),this.inc("pre",n,r);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",n,r),this.inc("pre",n,r);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const s=Number(r)?1:0;if(!n&&r===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[s];else{let o=this.prerelease.length;for(;--o>=0;)typeof this.prerelease[o]=="number"&&(this.prerelease[o]++,o=-2);if(o===-1){if(n===this.prerelease.join(".")&&r===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(s)}}if(n){let o=[n,s];r===!1&&(o=[n]),Sr(this.prerelease[0],n)===0?isNaN(this.prerelease[1])&&(this.prerelease=o):this.prerelease=o}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var mt=vE;const Wf=mt,yE=(e,t,n=!1)=>{if(e instanceof Wf)return e;try{return new Wf(e,t)}catch(r){if(!n)return null;throw r}};var os=yE;const _E=os,bE=(e,t)=>{const n=_E(e,t);return n?n.version:null};var wE=bE;const xE=os,EE=(e,t)=>{const n=xE(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null};var SE=EE;const Gf=mt,CE=(e,t,n,r,s)=>{typeof n=="string"&&(s=r,r=n,n=void 0);try{return new Gf(e instanceof Gf?e.version:e,n).inc(t,r,s).version}catch{return null}};var TE=CE;const qf=os,PE=(e,t)=>{const n=qf(e,null,!0),r=qf(t,null,!0),s=n.compare(r);if(s===0)return null;const o=s>0,i=o?n:r,a=o?r:n,l=!!i.prerelease.length;if(!!a.prerelease.length&&!l)return!a.patch&&!a.minor?"major":i.patch?"patch":i.minor?"minor":"major";const u=l?"pre":"";return n.major!==r.major?u+"major":n.minor!==r.minor?u+"minor":n.patch!==r.patch?u+"patch":"prerelease"};var kE=PE;const AE=mt,RE=(e,t)=>new AE(e,t).major;var $E=RE;const NE=mt,OE=(e,t)=>new NE(e,t).minor;var IE=OE;const LE=mt,ME=(e,t)=>new LE(e,t).patch;var DE=ME;const FE=os,BE=(e,t)=>{const n=FE(e,t);return n&&n.prerelease.length?n.prerelease:null};var jE=BE;const Kf=mt,zE=(e,t,n)=>new Kf(e,n).compare(new Kf(t,n));var Ut=zE;const HE=Ut,UE=(e,t,n)=>HE(t,e,n);var VE=UE;const WE=Ut,GE=(e,t)=>WE(e,t,!0);var qE=GE;const Xf=mt,KE=(e,t,n)=>{const r=new Xf(e,n),s=new Xf(t,n);return r.compare(s)||r.compareBuild(s)};var jc=KE;const XE=jc,YE=(e,t)=>e.sort((n,r)=>XE(n,r,t));var JE=YE;const ZE=jc,QE=(e,t)=>e.sort((n,r)=>ZE(r,n,t));var eS=QE;const tS=Ut,nS=(e,t,n)=>tS(e,t,n)>0;var ra=nS;const rS=Ut,sS=(e,t,n)=>rS(e,t,n)<0;var zc=sS;const oS=Ut,iS=(e,t,n)=>oS(e,t,n)===0;var Rm=iS;const aS=Ut,lS=(e,t,n)=>aS(e,t,n)!==0;var $m=lS;const cS=Ut,uS=(e,t,n)=>cS(e,t,n)>=0;var Hc=uS;const fS=Ut,dS=(e,t,n)=>fS(e,t,n)<=0;var Uc=dS;const hS=Rm,pS=$m,mS=ra,gS=Hc,vS=zc,yS=Uc,_S=(e,t,n,r)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e===n;case"!==":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e!==n;case"":case"=":case"==":return hS(e,n,r);case"!=":return pS(e,n,r);case">":return mS(e,n,r);case">=":return gS(e,n,r);case"<":return vS(e,n,r);case"<=":return yS(e,n,r);default:throw new TypeError(`Invalid operator: ${t}`)}};var Nm=_S;const bS=mt,wS=os,{safeRe:qo,t:Ko}=ko,xS=(e,t)=>{if(e instanceof bS)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};let n=null;if(!t.rtl)n=e.match(qo[Ko.COERCE]);else{let r;for(;(r=qo[Ko.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)(!n||r.index+r[0].length!==n.index+n[0].length)&&(n=r),qo[Ko.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;qo[Ko.COERCERTL].lastIndex=-1}return n===null?null:wS(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)};var ES=xS,Ra,Yf;function SS(){return Yf||(Yf=1,Ra=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}),Ra}var CS=Me;Me.Node=mr;Me.create=Me;function Me(e){var t=this;if(t instanceof Me||(t=new Me),t.tail=null,t.head=null,t.length=0,e&&typeof e.forEach=="function")e.forEach(function(s){t.push(s)});else if(arguments.length>0)for(var n=0,r=arguments.length;n<r;n++)t.push(arguments[n]);return t}Me.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t};Me.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}};Me.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}};Me.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)PS(this,arguments[e]);return this.length};Me.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)kS(this,arguments[e]);return this.length};Me.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}};Me.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}};Me.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;n!==null;r++)e.call(t,n.value,r,this),n=n.next};Me.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;n!==null;r--)e.call(t,n.value,r,this),n=n.prev};Me.prototype.get=function(e){for(var t=0,n=this.head;n!==null&&t<e;t++)n=n.next;if(t===e&&n!==null)return n.value};Me.prototype.getReverse=function(e){for(var t=0,n=this.tail;n!==null&&t<e;t++)n=n.prev;if(t===e&&n!==null)return n.value};Me.prototype.map=function(e,t){t=t||this;for(var n=new Me,r=this.head;r!==null;)n.push(e.call(t,r.value,this)),r=r.next;return n};Me.prototype.mapReverse=function(e,t){t=t||this;for(var n=new Me,r=this.tail;r!==null;)n.push(e.call(t,r.value,this)),r=r.prev;return n};Me.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else if(this.head)r=this.head.next,n=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var s=0;r!==null;s++)n=e(n,r.value,s),r=r.next;return n};Me.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else if(this.tail)r=this.tail.prev,n=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var s=this.length-1;r!==null;s--)n=e(n,r.value,s),r=r.prev;return n};Me.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;n!==null;t++)e[t]=n.value,n=n.next;return e};Me.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;n!==null;t++)e[t]=n.value,n=n.prev;return e};Me.prototype.slice=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var n=new Me;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=0,s=this.head;s!==null&&r<e;r++)s=s.next;for(;s!==null&&r<t;r++,s=s.next)n.push(s.value);return n};Me.prototype.sliceReverse=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var n=new Me;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=this.length,s=this.tail;s!==null&&r>t;r--)s=s.prev;for(;s!==null&&r>e;r--,s=s.prev)n.push(s.value);return n};Me.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,s=this.head;s!==null&&r<e;r++)s=s.next;for(var o=[],r=0;s&&r<t;r++)o.push(s.value),s=this.removeNode(s);s===null&&(s=this.tail),s!==this.head&&s!==this.tail&&(s=s.prev);for(var r=0;r<n.length;r++)s=TS(this,s,n[r]);return o};Me.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;n!==null;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};function TS(e,t,n){var r=t===e.head?new mr(n,null,t,e):new mr(n,t,t.next,e);return r.next===null&&(e.tail=r),r.prev===null&&(e.head=r),e.length++,r}function PS(e,t){e.tail=new mr(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function kS(e,t){e.head=new mr(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function mr(e,t,n,r){if(!(this instanceof mr))return new mr(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}try{SS()(Me)}catch{}const AS=CS,tr=Symbol("max"),un=Symbol("length"),Cr=Symbol("lengthCalculator"),Js=Symbol("allowStale"),or=Symbol("maxAge"),cn=Symbol("dispose"),Jf=Symbol("noDisposeOnSet"),et=Symbol("lruList"),Ot=Symbol("cache"),Om=Symbol("updateAgeOnGet"),$a=()=>1;class RS{constructor(t){if(typeof t=="number"&&(t={max:t}),t||(t={}),t.max&&(typeof t.max!="number"||t.max<0))throw new TypeError("max must be a non-negative number");this[tr]=t.max||1/0;const n=t.length||$a;if(this[Cr]=typeof n!="function"?$a:n,this[Js]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[or]=t.maxAge||0,this[cn]=t.dispose,this[Jf]=t.noDisposeOnSet||!1,this[Om]=t.updateAgeOnGet||!1,this.reset()}set max(t){if(typeof t!="number"||t<0)throw new TypeError("max must be a non-negative number");this[tr]=t||1/0,gs(this)}get max(){return this[tr]}set allowStale(t){this[Js]=!!t}get allowStale(){return this[Js]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[or]=t,gs(this)}get maxAge(){return this[or]}set lengthCalculator(t){typeof t!="function"&&(t=$a),t!==this[Cr]&&(this[Cr]=t,this[un]=0,this[et].forEach(n=>{n.length=this[Cr](n.value,n.key),this[un]+=n.length})),gs(this)}get lengthCalculator(){return this[Cr]}get length(){return this[un]}get itemCount(){return this[et].length}rforEach(t,n){n=n||this;for(let r=this[et].tail;r!==null;){const s=r.prev;Zf(this,t,r,n),r=s}}forEach(t,n){n=n||this;for(let r=this[et].head;r!==null;){const s=r.next;Zf(this,t,r,n),r=s}}keys(){return this[et].toArray().map(t=>t.key)}values(){return this[et].toArray().map(t=>t.value)}reset(){this[cn]&&this[et]&&this[et].length&&this[et].forEach(t=>this[cn](t.key,t.value)),this[Ot]=new Map,this[et]=new AS,this[un]=0}dump(){return this[et].map(t=>Ai(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[et]}set(t,n,r){if(r=r||this[or],r&&typeof r!="number")throw new TypeError("maxAge must be a number");const s=r?Date.now():0,o=this[Cr](n,t);if(this[Ot].has(t)){if(o>this[tr])return Lr(this,this[Ot].get(t)),!1;const l=this[Ot].get(t).value;return this[cn]&&(this[Jf]||this[cn](t,l.value)),l.now=s,l.maxAge=r,l.value=n,this[un]+=o-l.length,l.length=o,this.get(t),gs(this),!0}const i=new $S(t,n,o,s,r);return i.length>this[tr]?(this[cn]&&this[cn](t,n),!1):(this[un]+=i.length,this[et].unshift(i),this[Ot].set(t,this[et].head),gs(this),!0)}has(t){if(!this[Ot].has(t))return!1;const n=this[Ot].get(t).value;return!Ai(this,n)}get(t){return Na(this,t,!0)}peek(t){return Na(this,t,!1)}pop(){const t=this[et].tail;return t?(Lr(this,t),t.value):null}del(t){Lr(this,this[Ot].get(t))}load(t){this.reset();const n=Date.now();for(let r=t.length-1;r>=0;r--){const s=t[r],o=s.e||0;if(o===0)this.set(s.k,s.v);else{const i=o-n;i>0&&this.set(s.k,s.v,i)}}}prune(){this[Ot].forEach((t,n)=>Na(this,n,!1))}}const Na=(e,t,n)=>{const r=e[Ot].get(t);if(r){const s=r.value;if(Ai(e,s)){if(Lr(e,r),!e[Js])return}else n&&(e[Om]&&(r.value.now=Date.now()),e[et].unshiftNode(r));return s.value}},Ai=(e,t)=>{if(!t||!t.maxAge&&!e[or])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[or]&&n>e[or]},gs=e=>{if(e[un]>e[tr])for(let t=e[et].tail;e[un]>e[tr]&&t!==null;){const n=t.prev;Lr(e,t),t=n}},Lr=(e,t)=>{if(t){const n=t.value;e[cn]&&e[cn](n.key,n.value),e[un]-=n.length,e[Ot].delete(n.key),e[et].removeNode(t)}};class $S{constructor(t,n,r,s,o){this.key=t,this.value=n,this.length=r,this.now=s,this.maxAge=o||0}}const Zf=(e,t,n,r)=>{let s=n.value;Ai(e,s)&&(Lr(e,n),e[Js]||(s=void 0)),s&&t.call(r,s.value,s.key,e)};var NS=RS,Oa,Qf;function Vt(){if(Qf)return Oa;Qf=1;class e{constructor(R,M){if(M=r(M),R instanceof e)return R.loose===!!M.loose&&R.includePrerelease===!!M.includePrerelease?R:new e(R.raw,M);if(R instanceof s)return this.raw=R.value,this.set=[[R]],this.format(),this;if(this.options=M,this.loose=!!M.loose,this.includePrerelease=!!M.includePrerelease,this.raw=R.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(L=>this.parseRange(L.trim())).filter(L=>L.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const L=this.set[0];if(this.set=this.set.filter(D=>!h(D[0])),this.set.length===0)this.set=[L];else if(this.set.length>1){for(const D of this.set)if(D.length===1&&m(D[0])){this.set=[D];break}}}this.format()}format(){return this.range=this.set.map(R=>R.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(R){const L=((this.options.includePrerelease&&d)|(this.options.loose&&p))+":"+R,D=n.get(L);if(D)return D;const F=this.options.loose,U=F?a[l.HYPHENRANGELOOSE]:a[l.HYPHENRANGE];R=R.replace(U,S(this.options.includePrerelease)),o("hyphen replace",R),R=R.replace(a[l.COMPARATORTRIM],c),o("comparator trim",R),R=R.replace(a[l.TILDETRIM],u),o("tilde trim",R),R=R.replace(a[l.CARETTRIM],f),o("caret trim",R);let re=R.split(" ").map(fe=>y(fe,this.options)).join(" ").split(/\s+/).map(fe=>P(fe,this.options));F&&(re=re.filter(fe=>(o("loose invalid filter",fe,this.options),!!fe.match(a[l.COMPARATORLOOSE])))),o("range list",re);const se=new Map,ne=re.map(fe=>new s(fe,this.options));for(const fe of ne){if(h(fe))return[fe];se.set(fe.value,fe)}se.size>1&&se.has("")&&se.delete("");const me=[...se.values()];return n.set(L,me),me}intersects(R,M){if(!(R instanceof e))throw new TypeError("a Range is required");return this.set.some(L=>b(L,M)&&R.set.some(D=>b(D,M)&&L.every(F=>D.every(U=>F.intersects(U,M)))))}test(R){if(!R)return!1;if(typeof R=="string")try{R=new i(R,this.options)}catch{return!1}for(let M=0;M<this.set.length;M++)if(k(this.set[M],R,this.options))return!0;return!1}}Oa=e;const t=NS,n=new t({max:1e3}),r=Bc,s=sa(),o=na,i=mt,{safeRe:a,t:l,comparatorTrimReplace:c,tildeTrimReplace:u,caretTrimReplace:f}=ko,{FLAG_INCLUDE_PRERELEASE:d,FLAG_LOOSE:p}=ta,h=A=>A.value==="<0.0.0-0",m=A=>A.value==="",b=(A,R)=>{let M=!0;const L=A.slice();let D=L.pop();for(;M&&L.length;)M=L.every(F=>D.intersects(F,R)),D=L.pop();return M},y=(A,R)=>(o("comp",A,R),A=C(A,R),o("caret",A),A=w(A,R),o("tildes",A),A=T(A,R),o("xrange",A),A=x(A,R),o("stars",A),A),v=A=>!A||A.toLowerCase()==="x"||A==="*",w=(A,R)=>A.trim().split(/\s+/).map(M=>_(M,R)).join(" "),_=(A,R)=>{const M=R.loose?a[l.TILDELOOSE]:a[l.TILDE];return A.replace(M,(L,D,F,U,re)=>{o("tilde",A,L,D,F,U,re);let se;return v(D)?se="":v(F)?se=`>=${D}.0.0 <${+D+1}.0.0-0`:v(U)?se=`>=${D}.${F}.0 <${D}.${+F+1}.0-0`:re?(o("replaceTilde pr",re),se=`>=${D}.${F}.${U}-${re} <${D}.${+F+1}.0-0`):se=`>=${D}.${F}.${U} <${D}.${+F+1}.0-0`,o("tilde return",se),se})},C=(A,R)=>A.trim().split(/\s+/).map(M=>g(M,R)).join(" "),g=(A,R)=>{o("caret",A,R);const M=R.loose?a[l.CARETLOOSE]:a[l.CARET],L=R.includePrerelease?"-0":"";return A.replace(M,(D,F,U,re,se)=>{o("caret",A,D,F,U,re,se);let ne;return v(F)?ne="":v(U)?ne=`>=${F}.0.0${L} <${+F+1}.0.0-0`:v(re)?F==="0"?ne=`>=${F}.${U}.0${L} <${F}.${+U+1}.0-0`:ne=`>=${F}.${U}.0${L} <${+F+1}.0.0-0`:se?(o("replaceCaret pr",se),F==="0"?U==="0"?ne=`>=${F}.${U}.${re}-${se} <${F}.${U}.${+re+1}-0`:ne=`>=${F}.${U}.${re}-${se} <${F}.${+U+1}.0-0`:ne=`>=${F}.${U}.${re}-${se} <${+F+1}.0.0-0`):(o("no pr"),F==="0"?U==="0"?ne=`>=${F}.${U}.${re}${L} <${F}.${U}.${+re+1}-0`:ne=`>=${F}.${U}.${re}${L} <${F}.${+U+1}.0-0`:ne=`>=${F}.${U}.${re} <${+F+1}.0.0-0`),o("caret return",ne),ne})},T=(A,R)=>(o("replaceXRanges",A,R),A.split(/\s+/).map(M=>E(M,R)).join(" ")),E=(A,R)=>{A=A.trim();const M=R.loose?a[l.XRANGELOOSE]:a[l.XRANGE];return A.replace(M,(L,D,F,U,re,se)=>{o("xRange",A,L,D,F,U,re,se);const ne=v(F),me=ne||v(U),fe=me||v(re),xe=fe;return D==="="&&xe&&(D=""),se=R.includePrerelease?"-0":"",ne?D===">"||D==="<"?L="<0.0.0-0":L="*":D&&xe?(me&&(U=0),re=0,D===">"?(D=">=",me?(F=+F+1,U=0,re=0):(U=+U+1,re=0)):D==="<="&&(D="<",me?F=+F+1:U=+U+1),D==="<"&&(se="-0"),L=`${D+F}.${U}.${re}${se}`):me?L=`>=${F}.0.0${se} <${+F+1}.0.0-0`:fe&&(L=`>=${F}.${U}.0${se} <${F}.${+U+1}.0-0`),o("xRange return",L),L})},x=(A,R)=>(o("replaceStars",A,R),A.trim().replace(a[l.STAR],"")),P=(A,R)=>(o("replaceGTE0",A,R),A.trim().replace(a[R.includePrerelease?l.GTE0PRE:l.GTE0],"")),S=A=>(R,M,L,D,F,U,re,se,ne,me,fe,xe,Re)=>(v(L)?M="":v(D)?M=`>=${L}.0.0${A?"-0":""}`:v(F)?M=`>=${L}.${D}.0${A?"-0":""}`:U?M=`>=${M}`:M=`>=${M}${A?"-0":""}`,v(ne)?se="":v(me)?se=`<${+ne+1}.0.0-0`:v(fe)?se=`<${ne}.${+me+1}.0-0`:xe?se=`<=${ne}.${me}.${fe}-${xe}`:A?se=`<${ne}.${me}.${+fe+1}-0`:se=`<=${se}`,`${M} ${se}`.trim()),k=(A,R,M)=>{for(let L=0;L<A.length;L++)if(!A[L].test(R))return!1;if(R.prerelease.length&&!M.includePrerelease){for(let L=0;L<A.length;L++)if(o(A[L].semver),A[L].semver!==s.ANY&&A[L].semver.prerelease.length>0){const D=A[L].semver;if(D.major===R.major&&D.minor===R.minor&&D.patch===R.patch)return!0}return!1}return!0};return Oa}var Ia,ed;function sa(){if(ed)return Ia;ed=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(u,f){if(f=n(f),u instanceof t){if(u.loose===!!f.loose)return u;u=u.value}u=u.trim().split(/\s+/).join(" "),i("comparator",u,f),this.options=f,this.loose=!!f.loose,this.parse(u),this.semver===e?this.value="":this.value=this.operator+this.semver.version,i("comp",this)}parse(u){const f=this.options.loose?r[s.COMPARATORLOOSE]:r[s.COMPARATOR],d=u.match(f);if(!d)throw new TypeError(`Invalid comparator: ${u}`);this.operator=d[1]!==void 0?d[1]:"",this.operator==="="&&(this.operator=""),d[2]?this.semver=new a(d[2],this.options.loose):this.semver=e}toString(){return this.value}test(u){if(i("Comparator.test",u,this.options.loose),this.semver===e||u===e)return!0;if(typeof u=="string")try{u=new a(u,this.options)}catch{return!1}return o(u,this.operator,this.semver,this.options)}intersects(u,f){if(!(u instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new l(u.value,f).test(this.value):u.operator===""?u.value===""?!0:new l(this.value,f).test(u.semver):(f=n(f),f.includePrerelease&&(this.value==="<0.0.0-0"||u.value==="<0.0.0-0")||!f.includePrerelease&&(this.value.startsWith("<0.0.0")||u.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&u.operator.startsWith(">")||this.operator.startsWith("<")&&u.operator.startsWith("<")||this.semver.version===u.semver.version&&this.operator.includes("=")&&u.operator.includes("=")||o(this.semver,"<",u.semver,f)&&this.operator.startsWith(">")&&u.operator.startsWith("<")||o(this.semver,">",u.semver,f)&&this.operator.startsWith("<")&&u.operator.startsWith(">")))}}Ia=t;const n=Bc,{safeRe:r,t:s}=ko,o=Nm,i=na,a=mt,l=Vt();return Ia}const OS=Vt(),IS=(e,t,n)=>{try{t=new OS(t,n)}catch{return!1}return t.test(e)};var oa=IS;const LS=Vt(),MS=(e,t)=>new LS(e,t).set.map(n=>n.map(r=>r.value).join(" ").trim().split(" "));var DS=MS;const FS=mt,BS=Vt(),jS=(e,t,n)=>{let r=null,s=null,o=null;try{o=new BS(t,n)}catch{return null}return e.forEach(i=>{o.test(i)&&(!r||s.compare(i)===-1)&&(r=i,s=new FS(r,n))}),r};var zS=jS;const HS=mt,US=Vt(),VS=(e,t,n)=>{let r=null,s=null,o=null;try{o=new US(t,n)}catch{return null}return e.forEach(i=>{o.test(i)&&(!r||s.compare(i)===1)&&(r=i,s=new HS(r,n))}),r};var WS=VS;const La=mt,GS=Vt(),td=ra,qS=(e,t)=>{e=new GS(e,t);let n=new La("0.0.0");if(e.test(n)||(n=new La("0.0.0-0"),e.test(n)))return n;n=null;for(let r=0;r<e.set.length;++r){const s=e.set[r];let o=null;s.forEach(i=>{const a=new La(i.semver.version);switch(i.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!o||td(a,o))&&(o=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${i.operator}`)}}),o&&(!n||td(n,o))&&(n=o)}return n&&e.test(n)?n:null};var KS=qS;const XS=Vt(),YS=(e,t)=>{try{return new XS(e,t).range||"*"}catch{return null}};var JS=YS;const ZS=mt,Im=sa(),{ANY:QS}=Im,eC=Vt(),tC=oa,nd=ra,rd=zc,nC=Uc,rC=Hc,sC=(e,t,n,r)=>{e=new ZS(e,r),t=new eC(t,r);let s,o,i,a,l;switch(n){case">":s=nd,o=nC,i=rd,a=">",l=">=";break;case"<":s=rd,o=rC,i=nd,a="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(tC(e,t,r))return!1;for(let c=0;c<t.set.length;++c){const u=t.set[c];let f=null,d=null;if(u.forEach(p=>{p.semver===QS&&(p=new Im(">=0.0.0")),f=f||p,d=d||p,s(p.semver,f.semver,r)?f=p:i(p.semver,d.semver,r)&&(d=p)}),f.operator===a||f.operator===l||(!d.operator||d.operator===a)&&o(e,d.semver))return!1;if(d.operator===l&&i(e,d.semver))return!1}return!0};var Vc=sC;const oC=Vc,iC=(e,t,n)=>oC(e,t,">",n);var aC=iC;const lC=Vc,cC=(e,t,n)=>lC(e,t,"<",n);var uC=cC;const sd=Vt(),fC=(e,t,n)=>(e=new sd(e,n),t=new sd(t,n),e.intersects(t,n));var dC=fC;const hC=oa,pC=Ut;var mC=(e,t,n)=>{const r=[];let s=null,o=null;const i=e.sort((u,f)=>pC(u,f,n));for(const u of i)hC(u,t,n)?(o=u,s||(s=u)):(o&&r.push([s,o]),o=null,s=null);s&&r.push([s,null]);const a=[];for(const[u,f]of r)u===f?a.push(u):!f&&u===i[0]?a.push("*"):f?u===i[0]?a.push(`<=${f}`):a.push(`${u} - ${f}`):a.push(`>=${u}`);const l=a.join(" || "),c=typeof t.raw=="string"?t.raw:String(t);return l.length<c.length?l:t};const od=Vt(),Wc=sa(),{ANY:Ma}=Wc,vs=oa,Gc=Ut,gC=(e,t,n={})=>{if(e===t)return!0;e=new od(e,n),t=new od(t,n);let r=!1;e:for(const s of e.set){for(const o of t.set){const i=yC(s,o,n);if(r=r||i!==null,i)continue e}if(r)return!1}return!0},vC=[new Wc(">=0.0.0-0")],id=[new Wc(">=0.0.0")],yC=(e,t,n)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===Ma){if(t.length===1&&t[0].semver===Ma)return!0;n.includePrerelease?e=vC:e=id}if(t.length===1&&t[0].semver===Ma){if(n.includePrerelease)return!0;t=id}const r=new Set;let s,o;for(const p of e)p.operator===">"||p.operator===">="?s=ad(s,p,n):p.operator==="<"||p.operator==="<="?o=ld(o,p,n):r.add(p.semver);if(r.size>1)return null;let i;if(s&&o){if(i=Gc(s.semver,o.semver,n),i>0)return null;if(i===0&&(s.operator!==">="||o.operator!=="<="))return null}for(const p of r){if(s&&!vs(p,String(s),n)||o&&!vs(p,String(o),n))return null;for(const h of t)if(!vs(p,String(h),n))return!1;return!0}let a,l,c,u,f=o&&!n.includePrerelease&&o.semver.prerelease.length?o.semver:!1,d=s&&!n.includePrerelease&&s.semver.prerelease.length?s.semver:!1;f&&f.prerelease.length===1&&o.operator==="<"&&f.prerelease[0]===0&&(f=!1);for(const p of t){if(u=u||p.operator===">"||p.operator===">=",c=c||p.operator==="<"||p.operator==="<=",s){if(d&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===d.major&&p.semver.minor===d.minor&&p.semver.patch===d.patch&&(d=!1),p.operator===">"||p.operator===">="){if(a=ad(s,p,n),a===p&&a!==s)return!1}else if(s.operator===">="&&!vs(s.semver,String(p),n))return!1}if(o){if(f&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===f.major&&p.semver.minor===f.minor&&p.semver.patch===f.patch&&(f=!1),p.operator==="<"||p.operator==="<="){if(l=ld(o,p,n),l===p&&l!==o)return!1}else if(o.operator==="<="&&!vs(o.semver,String(p),n))return!1}if(!p.operator&&(o||s)&&i!==0)return!1}return!(s&&c&&!o&&i!==0||o&&u&&!s&&i!==0||d||f)},ad=(e,t,n)=>{if(!e)return t;const r=Gc(e.semver,t.semver,n);return r>0?e:r<0||t.operator===">"&&e.operator===">="?t:e},ld=(e,t,n)=>{if(!e)return t;const r=Gc(e.semver,t.semver,n);return r<0?e:r>0||t.operator==="<"&&e.operator==="<="?t:e};var _C=gC;const Da=ko,cd=ta,bC=mt,ud=Am,wC=os,xC=wE,EC=SE,SC=TE,CC=kE,TC=$E,PC=IE,kC=DE,AC=jE,RC=Ut,$C=VE,NC=qE,OC=jc,IC=JE,LC=eS,MC=ra,DC=zc,FC=Rm,BC=$m,jC=Hc,zC=Uc,HC=Nm,UC=ES,VC=sa(),WC=Vt(),GC=oa,qC=DS,KC=zS,XC=WS,YC=KS,JC=JS,ZC=Vc,QC=aC,eT=uC,tT=dC,nT=mC,rT=_C;var sT={parse:wC,valid:xC,clean:EC,inc:SC,diff:CC,major:TC,minor:PC,patch:kC,prerelease:AC,compare:RC,rcompare:$C,compareLoose:NC,compareBuild:OC,sort:IC,rsort:LC,gt:MC,lt:DC,eq:FC,neq:BC,gte:jC,lte:zC,cmp:HC,coerce:UC,Comparator:VC,Range:WC,satisfies:GC,toComparators:qC,maxSatisfying:KC,minSatisfying:XC,minVersion:YC,validRange:JC,outside:ZC,gtr:QC,ltr:eT,intersects:tT,simplifyRange:nT,subset:rT,SemVer:bC,re:Da.re,src:Da.src,tokens:Da.t,SEMVER_SPEC_VERSION:cd.SEMVER_SPEC_VERSION,RELEASE_TYPES:cd.RELEASE_TYPES,compareIdentifiers:ud.compareIdentifiers,rcompareIdentifiers:ud.rcompareIdentifiers};const oT=nE(sT),Fa=new Map;function sO(e,t){const n=e;return Fa.has(n)||Fa.set(n,lT(e,t)),Fa.get(n)}function iT(){return yt("npm:check:nuxt",()=>De.checkForUpdateFor("nuxt"))}function aT(e){const t=iT();return ge(()=>t?.value?.current?oT.satisfies(t.value.current,e):!1)}function lT(e,t){const n=Le(),r=yt(`npm:check:${e}`,()=>De.checkForUpdateFor(e)),s=Q("idle"),o=Q();n.hook("devtools:terminal:exit",({id:l,code:c})=>{l!==o||!o||(s.value=c===0?"updated":"idle")});async function i(l){if(s.value!=="idle")return;const c=await De.getNpmCommand("update",e,t);if(c&&await l(c.join(" ")))return s.value="running",o.value=(await De.runNpmCommand(await oE(),"update",e,t))?.processId,o.value}async function a(){s.value==="updated"&&await De.restartNuxt()}return{info:r,state:s,update:i,restart:a,processId:o}}const ys={icon:"carbon-edge-node",title:"Build Analyze",layout:"full",category:"analyze",show(){return aT("^3.5.0")}},_s={icon:"carbon-image-copy",title:"Assets",layout:"full"},bs={icon:"i-carbon-assembly-cluster",title:"Components",order:2},ws={layout:"full"},xs={icon:"carbon-ibm-cloud-direct-link-2-connect",title:"Hooks",category:"advanced"},Es={icon:"carbon-function",title:"Imports",order:3},Ss={icon:"carbon-layers",title:"Middleware",wip:!0},Cs={icon:"carbon-3d-mpr-toggle",title:"Modules",order:4},qc=()=>ss("color-mode").value,Al=Q();let fd;function cT(){fd||(fd=(async()=>{const{default:e}=await be(()=>import("./index.b5454355.js").then(t=>t.i),[],import.meta.url);Al.value=new e({html:!0,linkify:!0,breaks:!0})})())}function uT(e){return cT(),Al.value?Al.value.render(e):e}async function fT(e){let t,n,r;function s(d){n=d,e.HEAP8=new Int8Array(d),e.HEAP16=new Int16Array(d),e.HEAP32=new Int32Array(d),e.HEAPU8=r=new Uint8Array(d),e.HEAPU16=new Uint16Array(d),e.HEAPU32=new Uint32Array(d),e.HEAPF32=new Float32Array(d),e.HEAPF64=new Float64Array(d)}const o=()=>performance.now();function i(d,p,h){r.copyWithin(d,p,p+h)}function a(){return 2147483648}function l(d){try{return t.grow(d-n.byteLength+65535>>>16),s(t.buffer),1}catch{}}function c(d){const p=r.length;d=d>>>0;const h=a();if(d>h)return!1;const m=(b,y)=>b+(y-b%y)%y;for(let b=1;b<=4;b*=2){let y=p*(1+.2/b);y=Math.min(y,d+100663296);const v=Math.min(h,m(Math.max(d,y),65536));if(l(v))return!0}return!1}const u={emscripten_get_now:o,emscripten_memcpy_big:i,emscripten_resize_heap:c,fd_write:()=>0};async function f(){const d={env:u,wasi_snapshot_preview1:u};function p(m){const b=m.exports;e.asm=b,t=e.asm.memory,s(t.buffer)}const h=await e.instantiateWasm(d);return p(h),h}return await f(),e._omalloc=function(){return(e._omalloc=e.asm.omalloc).apply(null,arguments)},e._ofree=function(){return(e._ofree=e.asm.ofree).apply(null,arguments)},e._getLastOnigError=function(){return(e._getLastOnigError=e.asm.getLastOnigError).apply(null,arguments)},e._createOnigScanner=function(){return(e._createOnigScanner=e.asm.createOnigScanner).apply(null,arguments)},e._freeOnigScanner=function(){return(e._freeOnigScanner=e.asm.freeOnigScanner).apply(null,arguments)},e._findNextOnigScannerMatch=function(){return(e._findNextOnigScannerMatch=e.asm.findNextOnigScannerMatch).apply(null,arguments)},e._findNextOnigScannerMatchDbg=function(){return(e._findNextOnigScannerMatchDbg=e.asm.findNextOnigScannerMatchDbg).apply(null,arguments)},e}var dT=Object.defineProperty,hT=(e,t,n)=>t in e?dT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ze=(e,t,n)=>(hT(e,typeof t!="symbol"?t+"":t,n),n);let tt=null,pT=!1;function mT(e){throw new Error(e.UTF8ToString(e._getLastOnigError()))}class ia{constructor(t){Ze(this,"utf16Length"),Ze(this,"utf8Length"),Ze(this,"utf16Value"),Ze(this,"utf8Value"),Ze(this,"utf16OffsetToUtf8"),Ze(this,"utf8OffsetToUtf16");const n=t.length,r=ia._utf8ByteLength(t),s=r!==n,o=s?new Uint32Array(n+1):null;s&&(o[n]=r);const i=s?new Uint32Array(r+1):null;s&&(i[r]=n);const a=new Uint8Array(r);let l=0;for(let c=0;c<n;c++){const u=t.charCodeAt(c);let f=u,d=!1;if(u>=55296&&u<=56319&&c+1<n){const p=t.charCodeAt(c+1);p>=56320&&p<=57343&&(f=(u-55296<<10)+65536|p-56320,d=!0)}s&&(o[c]=l,d&&(o[c+1]=l),f<=127?i[l+0]=c:f<=2047?(i[l+0]=c,i[l+1]=c):f<=65535?(i[l+0]=c,i[l+1]=c,i[l+2]=c):(i[l+0]=c,i[l+1]=c,i[l+2]=c,i[l+3]=c)),f<=127?a[l++]=f:f<=2047?(a[l++]=192|(f&1984)>>>6,a[l++]=128|(f&63)>>>0):f<=65535?(a[l++]=224|(f&61440)>>>12,a[l++]=128|(f&4032)>>>6,a[l++]=128|(f&63)>>>0):(a[l++]=240|(f&1835008)>>>18,a[l++]=128|(f&258048)>>>12,a[l++]=128|(f&4032)>>>6,a[l++]=128|(f&63)>>>0),d&&c++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=a,this.utf16OffsetToUtf8=o,this.utf8OffsetToUtf16=i}static _utf8ByteLength(t){let n=0;for(let r=0,s=t.length;r<s;r++){const o=t.charCodeAt(r);let i=o,a=!1;if(o>=55296&&o<=56319&&r+1<s){const l=t.charCodeAt(r+1);l>=56320&&l<=57343&&(i=(o-55296<<10)+65536|l-56320,a=!0)}i<=127?n+=1:i<=2047?n+=2:i<=65535?n+=3:n+=4,a&&r++}return n}createString(t){const n=t._omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}const aa=class qt{constructor(t){if(Ze(this,"id",++qt.LAST_ID),Ze(this,"_onigBinding"),Ze(this,"content"),Ze(this,"utf16Length"),Ze(this,"utf8Length"),Ze(this,"utf16OffsetToUtf8"),Ze(this,"utf8OffsetToUtf16"),Ze(this,"ptr"),!tt)throw new Error("Must invoke loadWasm first.");this._onigBinding=tt,this.content=t;const n=new ia(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!qt._sharedPtrInUse?(qt._sharedPtr||(qt._sharedPtr=tt._omalloc(1e4)),qt._sharedPtrInUse=!0,tt.HEAPU8.set(n.utf8Value,qt._sharedPtr),this.ptr=qt._sharedPtr):this.ptr=n.createString(tt)}convertUtf8OffsetToUtf16(t){return this.utf8OffsetToUtf16?t<0?0:t>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[t]:t}convertUtf16OffsetToUtf8(t){return this.utf16OffsetToUtf8?t<0?0:t>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[t]:t}dispose(){this.ptr===qt._sharedPtr?qt._sharedPtrInUse=!1:this._onigBinding._ofree(this.ptr)}};Ze(aa,"LAST_ID",0);Ze(aa,"_sharedPtr",0);Ze(aa,"_sharedPtrInUse",!1);let Lm=aa;class gT{constructor(t){if(Ze(this,"_onigBinding"),Ze(this,"_ptr"),!tt)throw new Error("Must invoke loadWasm first.");const n=[],r=[];for(let a=0,l=t.length;a<l;a++){const c=new ia(t[a]);n[a]=c.createString(tt),r[a]=c.utf8Length}const s=tt._omalloc(4*t.length);tt.HEAPU32.set(n,s/4);const o=tt._omalloc(4*t.length);tt.HEAPU32.set(r,o/4);const i=tt._createOnigScanner(s,o,t.length);for(let a=0,l=t.length;a<l;a++)tt._ofree(n[a]);tt._ofree(o),tt._ofree(s),i===0&&mT(tt),this._onigBinding=tt,this._ptr=i}dispose(){this._onigBinding._freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let s=pT,o=0;if(typeof r=="number"?(r&8&&(s=!0),o=r):typeof r=="boolean"&&(s=r),typeof t=="string"){t=new Lm(t);const i=this._findNextMatchSync(t,n,s,o);return t.dispose(),i}return this._findNextMatchSync(t,n,s,o)}_findNextMatchSync(t,n,r,s){const o=this._onigBinding;let i;if(r?i=o._findNextOnigScannerMatchDbg(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),s):i=o._findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),s),i===0)return null;const a=o.HEAPU32;let l=i/4;const c=a[l++],u=a[l++],f=[];for(let d=0;d<u;d++){const p=t.convertUtf8OffsetToUtf16(a[l++]),h=t.convertUtf8OffsetToUtf16(a[l++]);f[d]={start:p,end:h,length:h-p}}return{index:c,captureIndices:f}}}async function vT(e,t){tt=await fT({print:t,instantiateWasm:n=>{if(typeof performance>"u"){const r=()=>Date.now();n.env.emscripten_get_now=r,n.wasi_snapshot_preview1.emscripten_get_now=r}return e(n).then(r=>r.instance||r)}})}function yT(e){return typeof e.instantiator=="function"}function _T(e){return typeof e.data<"u"}function bT(e){return typeof Response<"u"&&e instanceof Response}let dd=!1,Ba=null;function hd(e){if(dd)return Ba;dd=!0;let t,n;if(typeof e=="function")t=e;else if(yT(e))t=e.instantiator,n=e.print;else{let r;_T(e)?(r=e.data,n=e.print):r=e,bT(r)?typeof WebAssembly.instantiateStreaming=="function"?t=xT(r):t=ET(r):t=wT(r)}return Ba=vT(t,n),Ba}function wT(e){return t=>WebAssembly.instantiate(e,t)}function xT(e){return t=>WebAssembly.instantiateStreaming(e,t)}function ET(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}function ST(e){return new Lm(e)}function CT(e){return new gT(e)}var TT=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Mm={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(TT,function(){return(()=>{var n={350:(s,o)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.UseOnigurumaFindOptions=o.DebugFlags=void 0,o.DebugFlags={InDebugMode:typeof process<"u"&&!1},o.UseOnigurumaFindOptions=!1},442:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.applyStateStackDiff=o.diffStateStacksRefEq=void 0;const a=i(391);o.diffStateStacksRefEq=function(l,c){let u=0;const f=[];let d=l,p=c;for(;d!==p;)d&&(!p||d.depth>=p.depth)?(u++,d=d.parent):(f.push(p.toStateStackFrame()),p=p.parent);return{pops:u,newFrames:f.reverse()}},o.applyStateStackDiff=function(l,c){let u=l;for(let f=0;f<c.pops;f++)u=u.parent;for(const f of c.newFrames)u=a.StateStackImpl.pushFrame(u,f);return u}},36:(s,o)=>{var i;Object.defineProperty(o,"__esModule",{value:!0}),o.toOptionalTokenType=o.EncodedTokenAttributes=void 0,(i=o.EncodedTokenAttributes||(o.EncodedTokenAttributes={})).toBinaryStr=function(a){let l=a.toString(2);for(;l.length<32;)l="0"+l;return l},i.print=function(a){const l=i.getLanguageId(a),c=i.getTokenType(a),u=i.getFontStyle(a),f=i.getForeground(a),d=i.getBackground(a);console.log({languageId:l,tokenType:c,fontStyle:u,foreground:f,background:d})},i.getLanguageId=function(a){return(255&a)>>>0},i.getTokenType=function(a){return(768&a)>>>8},i.containsBalancedBrackets=function(a){return(1024&a)!=0},i.getFontStyle=function(a){return(30720&a)>>>11},i.getForeground=function(a){return(16744448&a)>>>15},i.getBackground=function(a){return(4278190080&a)>>>24},i.set=function(a,l,c,u,f,d,p){let h=i.getLanguageId(a),m=i.getTokenType(a),b=i.containsBalancedBrackets(a)?1:0,y=i.getFontStyle(a),v=i.getForeground(a),w=i.getBackground(a);return l!==0&&(h=l),c!==8&&(m=c),u!==null&&(b=u?1:0),f!==-1&&(y=f),d!==0&&(v=d),p!==0&&(w=p),(h<<0|m<<8|b<<10|y<<11|v<<15|w<<24)>>>0},o.toOptionalTokenType=function(a){return a}},996:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.BasicScopeAttributesProvider=o.BasicScopeAttributes=void 0;const a=i(878);class l{constructor(d,p){this.languageId=d,this.tokenType=p}}o.BasicScopeAttributes=l;class c{constructor(d,p){this._getBasicScopeAttributes=new a.CachedFn(h=>{const m=this._scopeToLanguage(h),b=this._toStandardTokenType(h);return new l(m,b)}),this._defaultAttributes=new l(d,8),this._embeddedLanguagesMatcher=new u(Object.entries(p||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(d){return d===null?c._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(d)}_scopeToLanguage(d){return this._embeddedLanguagesMatcher.match(d)||0}_toStandardTokenType(d){const p=d.match(c.STANDARD_TOKEN_TYPE_REGEXP);if(!p)return 8;switch(p[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}}o.BasicScopeAttributesProvider=c,c._NULL_SCOPE_METADATA=new l(0,0),c.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;class u{constructor(d){if(d.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(d);const p=d.map(([h,m])=>a.escapeRegExpCharacters(h));p.sort(),p.reverse(),this.scopesRegExp=new RegExp(`^((${p.join(")|(")}))($|\\.)`,"")}}match(d){if(!this.scopesRegExp)return;const p=d.match(this.scopesRegExp);return p?this.values.get(p[1]):void 0}}},947:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.LineTokens=o.BalancedBracketSelectors=o.StateStackImpl=o.AttributedScopeStack=o.Grammar=o.createGrammar=void 0;const a=i(350),l=i(36),c=i(736),u=i(44),f=i(792),d=i(583),p=i(878),h=i(996),m=i(47);function b(E,x,P,S,k){const A=c.createMatchers(x,y),R=f.RuleFactory.getCompiledRuleId(P,S,k.repository);for(const M of A)E.push({debugSelector:x,matcher:M.matcher,ruleId:R,grammar:k,priority:M.priority})}function y(E,x){if(x.length<E.length)return!1;let P=0;return E.every(S=>{for(let k=P;k<x.length;k++)if(v(x[k],S))return P=k+1,!0;return!1})}function v(E,x){if(!E)return!1;if(E===x)return!0;const P=x.length;return E.length>P&&E.substr(0,P)===x&&E[P]==="."}o.createGrammar=function(E,x,P,S,k,A,R,M){return new w(E,x,P,S,k,A,R,M)};class w{constructor(x,P,S,k,A,R,M,L){if(this._rootScopeName=x,this.balancedBracketSelectors=R,this._onigLib=L,this._basicScopeAttributesProvider=new h.BasicScopeAttributesProvider(S,k),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=M,this._grammar=_(P,null),this._injections=null,this._tokenTypeMatchers=[],A)for(const D of Object.keys(A)){const F=c.createMatchers(D,y);for(const U of F)this._tokenTypeMatchers.push({matcher:U.matcher,type:A[D]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const x of this._ruleId2desc)x&&x.dispose()}createOnigScanner(x){return this._onigLib.createOnigScanner(x)}createOnigString(x){return this._onigLib.createOnigString(x)}getMetadataForScope(x){return this._basicScopeAttributesProvider.getBasicScopeAttributes(x)}_collectInjections(){const x=[],P=this._rootScopeName,S=(k=>k===this._rootScopeName?this._grammar:this.getExternalGrammar(k))(P);if(S){const k=S.injections;if(k)for(let R in k)b(x,R,k[R],this,S);const A=this._grammarRepository.injections(P);A&&A.forEach(R=>{const M=this.getExternalGrammar(R);if(M){const L=M.injectionSelector;L&&b(x,L,M,this,M)}})}return x.sort((k,A)=>k.priority-A.priority),x}getInjections(){if(this._injections===null&&(this._injections=this._collectInjections(),a.DebugFlags.InDebugMode&&this._injections.length>0)){console.log(`Grammar ${this._rootScopeName} contains the following injections:`);for(const x of this._injections)console.log(` - ${x.debugSelector}`)}return this._injections}registerRule(x){const P=++this._lastRuleId,S=x(f.ruleIdFromNumber(P));return this._ruleId2desc[P]=S,S}getRule(x){return this._ruleId2desc[f.ruleIdToNumber(x)]}getExternalGrammar(x,P){if(this._includedGrammars[x])return this._includedGrammars[x];if(this._grammarRepository){const S=this._grammarRepository.lookup(x);if(S)return this._includedGrammars[x]=_(S,P&&P.$base),this._includedGrammars[x]}}tokenizeLine(x,P,S=0){const k=this._tokenize(x,P,!1,S);return{tokens:k.lineTokens.getResult(k.ruleStack,k.lineLength),ruleStack:k.ruleStack,stoppedEarly:k.stoppedEarly}}tokenizeLine2(x,P,S=0){const k=this._tokenize(x,P,!0,S);return{tokens:k.lineTokens.getBinaryResult(k.ruleStack,k.lineLength),ruleStack:k.ruleStack,stoppedEarly:k.stoppedEarly}}_tokenize(x,P,S,k){let A;if(this._rootId===-1&&(this._rootId=f.RuleFactory.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections()),P&&P!==g.NULL)A=!1,P.reset();else{A=!0;const F=this._basicScopeAttributesProvider.getDefaultAttributes(),U=this.themeProvider.getDefaults(),re=l.EncodedTokenAttributes.set(0,F.languageId,F.tokenType,null,U.fontStyle,U.foregroundId,U.backgroundId),se=this.getRule(this._rootId).getName(null,null);let ne;ne=se?C.createRootAndLookUpScopeName(se,re,this):C.createRoot("unknown",re),P=new g(null,this._rootId,-1,-1,!1,null,ne,ne)}x+=`
|
|
8
|
+
`;const R=this.createOnigString(x),M=R.content.length,L=new T(S,x,this._tokenTypeMatchers,this.balancedBracketSelectors),D=m._tokenizeString(this,R,A,0,P,L,!0,k);return u.disposeOnigString(R),{lineLength:M,lineTokens:L,ruleStack:D.stack,stoppedEarly:D.stoppedEarly}}}function _(E,x){return(E=p.clone(E)).repository=E.repository||{},E.repository.$self={$vscodeTextmateLocation:E.$vscodeTextmateLocation,patterns:E.patterns,name:E.scopeName},E.repository.$base=x||E.repository.$self,E}o.Grammar=w;class C{constructor(x,P,S){this.parent=x,this.scopePath=P,this.tokenAttributes=S}static fromExtension(x,P){let S=x,k=x?.scopePath??null;for(const A of P)k=d.ScopeStack.push(k,A.scopeNames),S=new C(S,k,A.encodedTokenAttributes);return S}static createRoot(x,P){return new C(null,new d.ScopeStack(null,x),P)}static createRootAndLookUpScopeName(x,P,S){const k=S.getMetadataForScope(x),A=new d.ScopeStack(null,x),R=S.themeProvider.themeMatch(A),M=C.mergeAttributes(P,k,R);return new C(null,A,M)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(x){return C.equals(this,x)}static equals(x,P){for(;;){if(x===P||!x&&!P)return!0;if(!x||!P||x.scopeName!==P.scopeName||x.tokenAttributes!==P.tokenAttributes)return!1;x=x.parent,P=P.parent}}static mergeAttributes(x,P,S){let k=-1,A=0,R=0;return S!==null&&(k=S.fontStyle,A=S.foregroundId,R=S.backgroundId),l.EncodedTokenAttributes.set(x,P.languageId,P.tokenType,null,k,A,R)}pushAttributed(x,P){if(x===null)return this;if(x.indexOf(" ")===-1)return C._pushAttributed(this,x,P);const S=x.split(/ /g);let k=this;for(const A of S)k=C._pushAttributed(k,A,P);return k}static _pushAttributed(x,P,S){const k=S.getMetadataForScope(P),A=x.scopePath.push(P),R=S.themeProvider.themeMatch(A),M=C.mergeAttributes(x.tokenAttributes,k,R);return new C(x,A,M)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(x){const P=[];let S=this;for(;S&&S!==x;)P.push({encodedTokenAttributes:S.tokenAttributes,scopeNames:S.scopePath.getExtensionIfDefined(S.parent?.scopePath??null)}),S=S.parent;return S===x?P.reverse():void 0}}o.AttributedScopeStack=C;class g{constructor(x,P,S,k,A,R,M,L){this.parent=x,this.ruleId=P,this.beginRuleCapturedEOL=A,this.endRule=R,this.nameScopesList=M,this.contentNameScopesList=L,this._stackElementBrand=void 0,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=S,this._anchorPos=k}equals(x){return x!==null&&g._equals(this,x)}static _equals(x,P){return x===P||!!this._structuralEquals(x,P)&&C.equals(x.contentNameScopesList,P.contentNameScopesList)}static _structuralEquals(x,P){for(;;){if(x===P||!x&&!P)return!0;if(!x||!P||x.depth!==P.depth||x.ruleId!==P.ruleId||x.endRule!==P.endRule)return!1;x=x.parent,P=P.parent}}clone(){return this}static _reset(x){for(;x;)x._enterPos=-1,x._anchorPos=-1,x=x.parent}reset(){g._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(x,P,S,k,A,R,M){return new g(this,x,P,S,k,A,R,M)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(x){return x.getRule(this.ruleId)}toString(){const x=[];return this._writeString(x,0),"["+x.join(",")+"]"}_writeString(x,P){return this.parent&&(P=this.parent._writeString(x,P)),x[P++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,P}withContentNameScopesList(x){return this.contentNameScopesList===x?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,x)}withEndRule(x){return this.endRule===x?this:new g(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,x,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(x){let P=this;for(;P&&P._enterPos===x._enterPos;){if(P.ruleId===x.ruleId)return!0;P=P.parent}return!1}toStateStackFrame(){return{ruleId:f.ruleIdToNumber(this.ruleId),beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(x,P){const S=C.fromExtension(x?.nameScopesList??null,P.nameScopesList);return new g(x,f.ruleIdFromNumber(P.ruleId),P.enterPos??-1,P.anchorPos??-1,P.beginRuleCapturedEOL,P.endRule,S,C.fromExtension(S,P.contentNameScopesList))}}o.StateStackImpl=g,g.NULL=new g(null,0,0,0,!1,null,null,null),o.BalancedBracketSelectors=class{constructor(E,x){this.allowAny=!1,this.balancedBracketScopes=E.flatMap(P=>P==="*"?(this.allowAny=!0,[]):c.createMatchers(P,y).map(S=>S.matcher)),this.unbalancedBracketScopes=x.flatMap(P=>c.createMatchers(P,y).map(S=>S.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(E){for(const x of this.unbalancedBracketScopes)if(x(E))return!1;for(const x of this.balancedBracketScopes)if(x(E))return!0;return this.allowAny}};class T{constructor(x,P,S,k){this.balancedBracketSelectors=k,this._emitBinaryTokens=x,this._tokenTypeOverrides=S,a.DebugFlags.InDebugMode?this._lineText=P:this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(x,P){this.produceFromScopes(x.contentNameScopesList,P)}produceFromScopes(x,P){if(this._lastTokenEndIndex>=P)return;if(this._emitBinaryTokens){let k=x?.tokenAttributes??0,A=!1;if(this.balancedBracketSelectors?.matchesAlways&&(A=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const R=x?.getScopeNames()??[];for(const M of this._tokenTypeOverrides)M.matcher(R)&&(k=l.EncodedTokenAttributes.set(k,0,l.toOptionalTokenType(M.type),null,-1,0,0));this.balancedBracketSelectors&&(A=this.balancedBracketSelectors.match(R))}if(A&&(k=l.EncodedTokenAttributes.set(k,0,8,A,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===k)return void(this._lastTokenEndIndex=P);if(a.DebugFlags.InDebugMode){const R=x?.getScopeNames()??[];console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,P).replace(/\n$/,"\\n")+"|");for(let M=0;M<R.length;M++)console.log(" * "+R[M])}return this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(k),void(this._lastTokenEndIndex=P)}const S=x?.getScopeNames()??[];if(a.DebugFlags.InDebugMode){console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,P).replace(/\n$/,"\\n")+"|");for(let k=0;k<S.length;k++)console.log(" * "+S[k])}this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:P,scopes:S}),this._lastTokenEndIndex=P}getResult(x,P){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===P-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(x,P),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(x,P){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===P-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(x,P),this._binaryTokens[this._binaryTokens.length-2]=0);const S=new Uint32Array(this._binaryTokens.length);for(let k=0,A=this._binaryTokens.length;k<A;k++)S[k]=this._binaryTokens[k];return S}}o.LineTokens=T},965:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.parseInclude=o.TopLevelRepositoryReference=o.TopLevelReference=o.RelativeReference=o.SelfReference=o.BaseReference=o.ScopeDependencyProcessor=o.ExternalReferenceCollector=o.TopLevelRepositoryRuleReference=o.TopLevelRuleReference=void 0;const a=i(878);class l{constructor(g){this.scopeName=g}toKey(){return this.scopeName}}o.TopLevelRuleReference=l;class c{constructor(g,T){this.scopeName=g,this.ruleName=T}toKey(){return`${this.scopeName}#${this.ruleName}`}}o.TopLevelRepositoryRuleReference=c;class u{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(g){const T=g.toKey();this._seenReferenceKeys.has(T)||(this._seenReferenceKeys.add(T),this._references.push(g))}}function f(C,g,T,E){const x=T.lookup(C.scopeName);if(!x){if(C.scopeName===g)throw new Error(`No grammar provided for <${g}>`);return}const P=T.lookup(g);C instanceof l?p({baseGrammar:P,selfGrammar:x},E):d(C.ruleName,{baseGrammar:P,selfGrammar:x,repository:x.repository},E);const S=T.injections(C.scopeName);if(S)for(const k of S)E.add(new l(k))}function d(C,g,T){g.repository&&g.repository[C]&&h([g.repository[C]],g,T)}function p(C,g){C.selfGrammar.patterns&&Array.isArray(C.selfGrammar.patterns)&&h(C.selfGrammar.patterns,{...C,repository:C.selfGrammar.repository},g),C.selfGrammar.injections&&h(Object.values(C.selfGrammar.injections),{...C,repository:C.selfGrammar.repository},g)}function h(C,g,T){for(const E of C){if(T.visitedRule.has(E))continue;T.visitedRule.add(E);const x=E.repository?a.mergeObjects({},g.repository,E.repository):g.repository;Array.isArray(E.patterns)&&h(E.patterns,{...g,repository:x},T);const P=E.include;if(!P)continue;const S=_(P);switch(S.kind){case 0:p({...g,selfGrammar:g.baseGrammar},T);break;case 1:p(g,T);break;case 2:d(S.ruleName,{...g,repository:x},T);break;case 3:case 4:const k=S.scopeName===g.selfGrammar.scopeName?g.selfGrammar:S.scopeName===g.baseGrammar.scopeName?g.baseGrammar:void 0;if(k){const A={baseGrammar:g.baseGrammar,selfGrammar:k,repository:x};S.kind===4?d(S.ruleName,A,T):p(A,T)}else S.kind===4?T.add(new c(S.scopeName,S.ruleName)):T.add(new l(S.scopeName))}}}o.ExternalReferenceCollector=u,o.ScopeDependencyProcessor=class{constructor(C,g){this.repo=C,this.initialScopeName=g,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new l(this.initialScopeName)]}processQueue(){const C=this.Q;this.Q=[];const g=new u;for(const T of C)f(T,this.initialScopeName,this.repo,g);for(const T of g.references)if(T instanceof l){if(this.seenFullScopeRequests.has(T.scopeName))continue;this.seenFullScopeRequests.add(T.scopeName),this.Q.push(T)}else{if(this.seenFullScopeRequests.has(T.scopeName)||this.seenPartialScopeRequests.has(T.toKey()))continue;this.seenPartialScopeRequests.add(T.toKey()),this.Q.push(T)}}};class m{constructor(){this.kind=0}}o.BaseReference=m;class b{constructor(){this.kind=1}}o.SelfReference=b;class y{constructor(g){this.ruleName=g,this.kind=2}}o.RelativeReference=y;class v{constructor(g){this.scopeName=g,this.kind=3}}o.TopLevelReference=v;class w{constructor(g,T){this.scopeName=g,this.ruleName=T,this.kind=4}}function _(C){if(C==="$base")return new m;if(C==="$self")return new b;const g=C.indexOf("#");if(g===-1)return new v(C);if(g===0)return new y(C.substring(1));{const T=C.substring(0,g),E=C.substring(g+1);return new w(T,E)}}o.TopLevelRepositoryReference=w,o.parseInclude=_},391:function(s,o,i){var a=this&&this.__createBinding||(Object.create?function(c,u,f,d){d===void 0&&(d=f),Object.defineProperty(c,d,{enumerable:!0,get:function(){return u[f]}})}:function(c,u,f,d){d===void 0&&(d=f),c[d]=u[f]}),l=this&&this.__exportStar||function(c,u){for(var f in c)f==="default"||Object.prototype.hasOwnProperty.call(u,f)||a(u,c,f)};Object.defineProperty(o,"__esModule",{value:!0}),l(i(947),o)},47:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.LocalStackElement=o._tokenizeString=void 0;const a=i(350),l=i(44),c=i(792),u=i(878);class f{constructor(w,_){this.stack=w,this.stoppedEarly=_}}function d(v,w,_,C,g,T,E,x){const P=w.content.length;let S=!1,k=-1;if(E){const M=function(L,D,F,U,re,se){let ne=re.beginRuleCapturedEOL?0:-1;const me=[];for(let fe=re;fe;fe=fe.pop()){const xe=fe.getRule(L);xe instanceof c.BeginWhileRule&&me.push({rule:xe,stack:fe})}for(let fe=me.pop();fe;fe=me.pop()){const{ruleScanner:xe,findOptions:Re}=h(fe.rule,L,fe.stack.endRule,F,U===ne),O=xe.findNextMatchSync(D,U,Re);if(a.DebugFlags.InDebugMode&&(console.log(" scanning for while rule"),console.log(xe.toString())),!O){a.DebugFlags.InDebugMode&&console.log(" popping "+fe.rule.debugName+" - "+fe.rule.debugWhileRegExp),re=fe.stack.pop();break}if(O.ruleId!==c.whileRuleId){re=fe.stack.pop();break}O.captureIndices&&O.captureIndices.length&&(se.produce(fe.stack,O.captureIndices[0].start),b(L,D,F,fe.stack,se,fe.rule.whileCaptures,O.captureIndices),se.produce(fe.stack,O.captureIndices[0].end),ne=O.captureIndices[0].end,O.captureIndices[0].end>U&&(U=O.captureIndices[0].end,F=!1))}return{stack:re,linePos:U,anchorPosition:ne,isFirstLine:F}}(v,w,_,C,g,T);g=M.stack,C=M.linePos,_=M.isFirstLine,k=M.anchorPosition}const A=Date.now();for(;!S;){if(x!==0&&Date.now()-A>x)return new f(g,!0);R()}return new f(g,!1);function R(){a.DebugFlags.InDebugMode&&(console.log(""),console.log(`@@scanNext ${C}: |${w.content.substr(C).replace(/\n$/,"\\n")}|`));const M=function(U,re,se,ne,me,fe){const xe=function(ce,Ce,$,N,I,B){const z=I.getRule(ce),{ruleScanner:H,findOptions:te}=p(z,ce,I.endRule,$,N===B);let G=0;a.DebugFlags.InDebugMode&&(G=u.performanceNow());const q=H.findNextMatchSync(Ce,N,te);if(a.DebugFlags.InDebugMode){const W=u.performanceNow()-G;W>5&&console.warn(`Rule ${z.debugName} (${z.id}) matching took ${W} against '${Ce}'`),console.log(` scanning for (linePos: ${N}, anchorPosition: ${B})`),console.log(H.toString()),q&&console.log(`matched rule id: ${q.ruleId} from ${q.captureIndices[0].start} to ${q.captureIndices[0].end}`)}return q?{captureIndices:q.captureIndices,matchedRuleId:q.ruleId}:null}(U,re,se,ne,me,fe),Re=U.getInjections();if(Re.length===0)return xe;const O=function(ce,Ce,$,N,I,B,z){let H,te=Number.MAX_VALUE,G=null,q=0;const W=B.contentNameScopesList.getScopeNames();for(let ie=0,ae=ce.length;ie<ae;ie++){const ue=ce[ie];if(!ue.matcher(W))continue;const ee=Ce.getRule(ue.ruleId),{ruleScanner:le,findOptions:oe}=p(ee,Ce,null,N,I===z),de=le.findNextMatchSync($,I,oe);if(!de)continue;a.DebugFlags.InDebugMode&&(console.log(` matched injection: ${ue.debugSelector}`),console.log(le.toString()));const Ne=de.captureIndices[0].start;if(!(Ne>=te)&&(te=Ne,G=de.captureIndices,H=de.ruleId,q=ue.priority,te===I))break}return G?{priorityMatch:q===-1,captureIndices:G,matchedRuleId:H}:null}(Re,U,re,se,ne,me,fe);if(!O)return xe;if(!xe)return O;const X=xe.captureIndices[0].start,V=O.captureIndices[0].start;return V<X||O.priorityMatch&&V===X?O:xe}(v,w,_,C,g,k);if(!M)return a.DebugFlags.InDebugMode&&console.log(" no more matches."),T.produce(g,P),void(S=!0);const L=M.captureIndices,D=M.matchedRuleId,F=!!(L&&L.length>0)&&L[0].end>C;if(D===c.endRuleId){const U=g.getRule(v);a.DebugFlags.InDebugMode&&console.log(" popping "+U.debugName+" - "+U.debugEndRegExp),T.produce(g,L[0].start),g=g.withContentNameScopesList(g.nameScopesList),b(v,w,_,g,T,U.endCaptures,L),T.produce(g,L[0].end);const re=g;if(g=g.parent,k=re.getAnchorPos(),!F&&re.getEnterPos()===C)return a.DebugFlags.InDebugMode&&console.error("[1] - Grammar is in an endless loop - Grammar pushed & popped a rule without advancing"),g=re,T.produce(g,P),void(S=!0)}else{const U=v.getRule(D);T.produce(g,L[0].start);const re=g,se=U.getName(w.content,L),ne=g.contentNameScopesList.pushAttributed(se,v);if(g=g.push(D,C,k,L[0].end===P,null,ne,ne),U instanceof c.BeginEndRule){const me=U;a.DebugFlags.InDebugMode&&console.log(" pushing "+me.debugName+" - "+me.debugBeginRegExp),b(v,w,_,g,T,me.beginCaptures,L),T.produce(g,L[0].end),k=L[0].end;const fe=me.getContentName(w.content,L),xe=ne.pushAttributed(fe,v);if(g=g.withContentNameScopesList(xe),me.endHasBackReferences&&(g=g.withEndRule(me.getEndWithResolvedBackReferences(w.content,L))),!F&&re.hasSameRuleAs(g))return a.DebugFlags.InDebugMode&&console.error("[2] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),g=g.pop(),T.produce(g,P),void(S=!0)}else if(U instanceof c.BeginWhileRule){const me=U;a.DebugFlags.InDebugMode&&console.log(" pushing "+me.debugName),b(v,w,_,g,T,me.beginCaptures,L),T.produce(g,L[0].end),k=L[0].end;const fe=me.getContentName(w.content,L),xe=ne.pushAttributed(fe,v);if(g=g.withContentNameScopesList(xe),me.whileHasBackReferences&&(g=g.withEndRule(me.getWhileWithResolvedBackReferences(w.content,L))),!F&&re.hasSameRuleAs(g))return a.DebugFlags.InDebugMode&&console.error("[3] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),g=g.pop(),T.produce(g,P),void(S=!0)}else{const me=U;if(a.DebugFlags.InDebugMode&&console.log(" matched "+me.debugName+" - "+me.debugMatchRegExp),b(v,w,_,g,T,me.captures,L),T.produce(g,L[0].end),g=g.pop(),!F)return a.DebugFlags.InDebugMode&&console.error("[4] - Grammar is in an endless loop - Grammar is not advancing, nor is it pushing/popping"),g=g.safePop(),T.produce(g,P),void(S=!0)}}L[0].end>C&&(C=L[0].end,_=!1)}}function p(v,w,_,C,g){return a.UseOnigurumaFindOptions?{ruleScanner:v.compile(w,_),findOptions:m(C,g)}:{ruleScanner:v.compileAG(w,_,C,g),findOptions:0}}function h(v,w,_,C,g){return a.UseOnigurumaFindOptions?{ruleScanner:v.compileWhile(w,_),findOptions:m(C,g)}:{ruleScanner:v.compileWhileAG(w,_,C,g),findOptions:0}}function m(v,w){let _=0;return v||(_|=1),w||(_|=4),_}function b(v,w,_,C,g,T,E){if(T.length===0)return;const x=w.content,P=Math.min(T.length,E.length),S=[],k=E[0].end;for(let A=0;A<P;A++){const R=T[A];if(R===null)continue;const M=E[A];if(M.length===0)continue;if(M.start>k)break;for(;S.length>0&&S[S.length-1].endPos<=M.start;)g.produceFromScopes(S[S.length-1].scopes,S[S.length-1].endPos),S.pop();if(S.length>0?g.produceFromScopes(S[S.length-1].scopes,M.start):g.produce(C,M.start),R.retokenizeCapturedWithRuleId){const D=R.getName(x,E),F=C.contentNameScopesList.pushAttributed(D,v),U=R.getContentName(x,E),re=F.pushAttributed(U,v),se=C.push(R.retokenizeCapturedWithRuleId,M.start,-1,!1,null,F,re),ne=v.createOnigString(x.substring(0,M.end));d(v,ne,_&&M.start===0,M.start,se,g,!1,0),l.disposeOnigString(ne);continue}const L=R.getName(x,E);if(L!==null){const D=(S.length>0?S[S.length-1].scopes:C.contentNameScopesList).pushAttributed(L,v);S.push(new y(D,M.end))}}for(;S.length>0;)g.produceFromScopes(S[S.length-1].scopes,S[S.length-1].endPos),S.pop()}o._tokenizeString=d;class y{constructor(w,_){this.scopes=w,this.endPos=_}}o.LocalStackElement=y},974:(s,o)=>{function i(u,f){throw new Error("Near offset "+u.pos+": "+f+" ~~~"+u.source.substr(u.pos,50)+"~~~")}Object.defineProperty(o,"__esModule",{value:!0}),o.parseJSON=void 0,o.parseJSON=function(u,f,d){let p=new a(u),h=new l,m=0,b=null,y=[],v=[];function w(){y.push(m),v.push(b)}function _(){m=y.pop(),b=v.pop()}function C(g){i(p,g)}for(;c(p,h);){if(m===0){if(b!==null&&C("too many constructs in root"),h.type===3){b={},d&&(b.$vscodeTextmateLocation=h.toLocation(f)),w(),m=1;continue}if(h.type===2){b=[],w(),m=4;continue}C("unexpected token in root")}if(m===2){if(h.type===5){_();continue}if(h.type===7){m=3;continue}C("expected , or }")}if(m===1||m===3){if(m===1&&h.type===5){_();continue}if(h.type===1){let g=h.value;if(c(p,h)&&h.type===6||C("expected colon"),c(p,h)||C("expected value"),m=2,h.type===1){b[g]=h.value;continue}if(h.type===8){b[g]=null;continue}if(h.type===9){b[g]=!0;continue}if(h.type===10){b[g]=!1;continue}if(h.type===11){b[g]=parseFloat(h.value);continue}if(h.type===2){let T=[];b[g]=T,w(),m=4,b=T;continue}if(h.type===3){let T={};d&&(T.$vscodeTextmateLocation=h.toLocation(f)),b[g]=T,w(),m=1,b=T;continue}}C("unexpected token in dict")}if(m===5){if(h.type===4){_();continue}if(h.type===7){m=6;continue}C("expected , or ]")}if(m===4||m===6){if(m===4&&h.type===4){_();continue}if(m=5,h.type===1){b.push(h.value);continue}if(h.type===8){b.push(null);continue}if(h.type===9){b.push(!0);continue}if(h.type===10){b.push(!1);continue}if(h.type===11){b.push(parseFloat(h.value));continue}if(h.type===2){let g=[];b.push(g),w(),m=4,b=g;continue}if(h.type===3){let g={};d&&(g.$vscodeTextmateLocation=h.toLocation(f)),b.push(g),w(),m=1,b=g;continue}C("unexpected token in array")}C("unknown state")}return v.length!==0&&C("unclosed constructs"),b};class a{constructor(f){this.source=f,this.pos=0,this.len=f.length,this.line=1,this.char=0}}class l{constructor(){this.value=null,this.type=0,this.offset=-1,this.len=-1,this.line=-1,this.char=-1}toLocation(f){return{filename:f,line:this.line,char:this.char}}}function c(u,f){f.value=null,f.type=0,f.offset=-1,f.len=-1,f.line=-1,f.char=-1;let d,p=u.source,h=u.pos,m=u.len,b=u.line,y=u.char;for(;;){if(h>=m)return!1;if(d=p.charCodeAt(h),d!==32&&d!==9&&d!==13){if(d!==10)break;h++,b++,y=0}else h++,y++}if(f.offset=h,f.line=b,f.char=y,d===34){for(f.type=1,h++,y++;;){if(h>=m)return!1;if(d=p.charCodeAt(h),h++,y++,d!==92){if(d===34)break}else h++,y++}f.value=p.substring(f.offset+1,h-1).replace(/\\u([0-9A-Fa-f]{4})/g,(v,w)=>String.fromCodePoint(parseInt(w,16))).replace(/\\(.)/g,(v,w)=>{switch(w){case'"':return'"';case"\\":return"\\";case"/":return"/";case"b":return"\b";case"f":return"\f";case"n":return`
|
|
9
|
+
`;case"r":return"\r";case"t":return" ";default:i(u,"invalid escape sequence")}throw new Error("unreachable")})}else if(d===91)f.type=2,h++,y++;else if(d===123)f.type=3,h++,y++;else if(d===93)f.type=4,h++,y++;else if(d===125)f.type=5,h++,y++;else if(d===58)f.type=6,h++,y++;else if(d===44)f.type=7,h++,y++;else if(d===110){if(f.type=8,h++,y++,d=p.charCodeAt(h),d!==117||(h++,y++,d=p.charCodeAt(h),d!==108)||(h++,y++,d=p.charCodeAt(h),d!==108))return!1;h++,y++}else if(d===116){if(f.type=9,h++,y++,d=p.charCodeAt(h),d!==114||(h++,y++,d=p.charCodeAt(h),d!==117)||(h++,y++,d=p.charCodeAt(h),d!==101))return!1;h++,y++}else if(d===102){if(f.type=10,h++,y++,d=p.charCodeAt(h),d!==97||(h++,y++,d=p.charCodeAt(h),d!==108)||(h++,y++,d=p.charCodeAt(h),d!==115)||(h++,y++,d=p.charCodeAt(h),d!==101))return!1;h++,y++}else for(f.type=11;;){if(h>=m)return!1;if(d=p.charCodeAt(h),!(d===46||d>=48&&d<=57||d===101||d===69||d===45||d===43))break;h++,y++}return f.len=h-f.offset,f.value===null&&(f.value=p.substr(f.offset,f.len)),u.pos=h,u.line=b,u.char=y,!0}},787:function(s,o,i){var a=this&&this.__createBinding||(Object.create?function(m,b,y,v){v===void 0&&(v=y),Object.defineProperty(m,v,{enumerable:!0,get:function(){return b[y]}})}:function(m,b,y,v){v===void 0&&(v=y),m[v]=b[y]}),l=this&&this.__exportStar||function(m,b){for(var y in m)y==="default"||Object.prototype.hasOwnProperty.call(b,y)||a(b,m,y)};Object.defineProperty(o,"__esModule",{value:!0}),o.applyStateStackDiff=o.diffStateStacksRefEq=o.parseRawGrammar=o.INITIAL=o.Registry=void 0;const c=i(391),u=i(50),f=i(652),d=i(583),p=i(965),h=i(442);Object.defineProperty(o,"applyStateStackDiff",{enumerable:!0,get:function(){return h.applyStateStackDiff}}),Object.defineProperty(o,"diffStateStacksRefEq",{enumerable:!0,get:function(){return h.diffStateStacksRefEq}}),l(i(44),o),o.Registry=class{constructor(m){this._options=m,this._syncRegistry=new f.SyncRegistry(d.Theme.createFromRawTheme(m.theme,m.colorMap),m.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(m,b){this._syncRegistry.setTheme(d.Theme.createFromRawTheme(m,b))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(m,b,y){return this.loadGrammarWithConfiguration(m,b,{embeddedLanguages:y})}loadGrammarWithConfiguration(m,b,y){return this._loadGrammar(m,b,y.embeddedLanguages,y.tokenTypes,new c.BalancedBracketSelectors(y.balancedBracketSelectors||[],y.unbalancedBracketSelectors||[]))}loadGrammar(m){return this._loadGrammar(m,0,null,null,null)}async _loadGrammar(m,b,y,v,w){const _=new p.ScopeDependencyProcessor(this._syncRegistry,m);for(;_.Q.length>0;)await Promise.all(_.Q.map(C=>this._loadSingleGrammar(C.scopeName))),_.processQueue();return this._grammarForScopeName(m,b,y,v,w)}async _loadSingleGrammar(m){return this._ensureGrammarCache.has(m)||this._ensureGrammarCache.set(m,this._doLoadSingleGrammar(m)),this._ensureGrammarCache.get(m)}async _doLoadSingleGrammar(m){const b=await this._options.loadGrammar(m);if(b){const y=typeof this._options.getInjections=="function"?this._options.getInjections(m):void 0;this._syncRegistry.addGrammar(b,y)}}async addGrammar(m,b=[],y=0,v=null){return this._syncRegistry.addGrammar(m,b),await this._grammarForScopeName(m.scopeName,y,v)}_grammarForScopeName(m,b=0,y=null,v=null,w=null){return this._syncRegistry.grammarForScopeName(m,b,y,v,w)}},o.INITIAL=c.StateStackImpl.NULL,o.parseRawGrammar=u.parseRawGrammar},736:(s,o)=>{function i(a){return!!a&&!!a.match(/[\w\.:]+/)}Object.defineProperty(o,"__esModule",{value:!0}),o.createMatchers=void 0,o.createMatchers=function(a,l){const c=[],u=function(h){let m=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,b=m.exec(h);return{next:()=>{if(!b)return null;const y=b[0];return b=m.exec(h),y}}}(a);let f=u.next();for(;f!==null;){let h=0;if(f.length===2&&f.charAt(1)===":"){switch(f.charAt(0)){case"R":h=1;break;case"L":h=-1;break;default:console.log(`Unknown priority ${f} in scope selector`)}f=u.next()}let m=p();if(c.push({matcher:m,priority:h}),f!==",")break;f=u.next()}return c;function d(){if(f==="-"){f=u.next();const h=d();return m=>!!h&&!h(m)}if(f==="("){f=u.next();const h=function(){const m=[];let b=p();for(;b&&(m.push(b),f==="|"||f===",");){do f=u.next();while(f==="|"||f===",");b=p()}return y=>m.some(v=>v(y))}();return f===")"&&(f=u.next()),h}if(i(f)){const h=[];do h.push(f),f=u.next();while(i(f));return m=>l(h,m)}return null}function p(){const h=[];let m=d();for(;m;)h.push(m),m=d();return b=>h.every(y=>y(b))}}},44:(s,o)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.disposeOnigString=void 0,o.disposeOnigString=function(i){typeof i.dispose=="function"&&i.dispose()}},50:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.parseRawGrammar=void 0;const a=i(69),l=i(350),c=i(974);o.parseRawGrammar=function(u,f=null){return f!==null&&/\.json$/.test(f)?(d=u,p=f,l.DebugFlags.InDebugMode?c.parseJSON(d,p,!0):JSON.parse(d)):function(h,m){return l.DebugFlags.InDebugMode?a.parseWithLocation(h,m,"$vscodeTextmateLocation"):a.parsePLIST(h)}(u,f);var d,p}},69:(s,o)=>{function i(a,l,c){const u=a.length;let f=0,d=1,p=0;function h(O){if(c===null)f+=O;else for(;O>0;)a.charCodeAt(f)===10?(f++,d++,p=0):(f++,p++),O--}function m(O){c===null?f=O:h(O-f)}function b(){for(;f<u;){let O=a.charCodeAt(f);if(O!==32&&O!==9&&O!==13&&O!==10)break;h(1)}}function y(O){return a.substr(f,O.length)===O&&(h(O.length),!0)}function v(O){let X=a.indexOf(O,f);m(X!==-1?X+O.length:u)}function w(O){let X=a.indexOf(O,f);if(X!==-1){let V=a.substring(f,X);return m(X+O.length),V}{let V=a.substr(f);return m(u),V}}u>0&&a.charCodeAt(0)===65279&&(f=1);let _=0,C=null,g=[],T=[],E=null;function x(O,X){g.push(_),T.push(C),_=O,C=X}function P(){if(g.length===0)return S("illegal state stack");_=g.pop(),C=T.pop()}function S(O){throw new Error("Near offset "+f+": "+O+" ~~~"+a.substr(f,50)+"~~~")}const k=function(){if(E===null)return S("missing <key>");let O={};c!==null&&(O[c]={filename:l,line:d,char:p}),C[E]=O,E=null,x(1,O)},A=function(){if(E===null)return S("missing <key>");let O=[];C[E]=O,E=null,x(2,O)},R=function(){let O={};c!==null&&(O[c]={filename:l,line:d,char:p}),C.push(O),x(1,O)},M=function(){let O=[];C.push(O),x(2,O)};function L(){if(_!==1)return S("unexpected </dict>");P()}function D(){return _===1||_!==2?S("unexpected </array>"):void P()}function F(O){if(_===1){if(E===null)return S("missing <key>");C[E]=O,E=null}else _===2?C.push(O):C=O}function U(O){if(isNaN(O))return S("cannot parse float");if(_===1){if(E===null)return S("missing <key>");C[E]=O,E=null}else _===2?C.push(O):C=O}function re(O){if(isNaN(O))return S("cannot parse integer");if(_===1){if(E===null)return S("missing <key>");C[E]=O,E=null}else _===2?C.push(O):C=O}function se(O){if(_===1){if(E===null)return S("missing <key>");C[E]=O,E=null}else _===2?C.push(O):C=O}function ne(O){if(_===1){if(E===null)return S("missing <key>");C[E]=O,E=null}else _===2?C.push(O):C=O}function me(O){if(_===1){if(E===null)return S("missing <key>");C[E]=O,E=null}else _===2?C.push(O):C=O}function fe(){let O=w(">"),X=!1;return O.charCodeAt(O.length-1)===47&&(X=!0,O=O.substring(0,O.length-1)),{name:O.trim(),isClosed:X}}function xe(O){if(O.isClosed)return"";let X=w("</");return v(">"),X.replace(/&#([0-9]+);/g,function(V,ce){return String.fromCodePoint(parseInt(ce,10))}).replace(/&#x([0-9a-f]+);/g,function(V,ce){return String.fromCodePoint(parseInt(ce,16))}).replace(/&|<|>|"|'/g,function(V){switch(V){case"&":return"&";case"<":return"<";case">":return">";case""":return'"';case"'":return"'"}return V})}for(;f<u&&(b(),!(f>=u));){const O=a.charCodeAt(f);if(h(1),O!==60)return S("expected <");if(f>=u)return S("unexpected end of input");const X=a.charCodeAt(f);if(X===63){h(1),v("?>");continue}if(X===33){if(h(1),y("--")){v("-->");continue}v(">");continue}if(X===47){if(h(1),b(),y("plist")){v(">");continue}if(y("dict")){v(">"),L();continue}if(y("array")){v(">"),D();continue}return S("unexpected closed tag")}let V=fe();switch(V.name){case"dict":_===1?k():_===2?R():(C={},c!==null&&(C[c]={filename:l,line:d,char:p}),x(1,C)),V.isClosed&&L();continue;case"array":_===1?A():_===2?M():(C=[],x(2,C)),V.isClosed&&D();continue;case"key":Re=xe(V),_!==1?S("unexpected <key>"):E!==null?S("too many <key>"):E=Re;continue;case"string":F(xe(V));continue;case"real":U(parseFloat(xe(V)));continue;case"integer":re(parseInt(xe(V),10));continue;case"date":se(new Date(xe(V)));continue;case"data":ne(xe(V));continue;case"true":xe(V),me(!0);continue;case"false":xe(V),me(!1);continue}if(!/^plist/.test(V.name))return S("unexpected opened tag "+V.name)}var Re;return C}Object.defineProperty(o,"__esModule",{value:!0}),o.parsePLIST=o.parseWithLocation=void 0,o.parseWithLocation=function(a,l,c){return i(a,l,c)},o.parsePLIST=function(a){return i(a,null,null)}},652:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.SyncRegistry=void 0;const a=i(391);o.SyncRegistry=class{constructor(l,c){this._onigLibPromise=c,this._grammars=new Map,this._rawGrammars=new Map,this._injectionGrammars=new Map,this._theme=l}dispose(){for(const l of this._grammars.values())l.dispose()}setTheme(l){this._theme=l}getColorMap(){return this._theme.getColorMap()}addGrammar(l,c){this._rawGrammars.set(l.scopeName,l),c&&this._injectionGrammars.set(l.scopeName,c)}lookup(l){return this._rawGrammars.get(l)}injections(l){return this._injectionGrammars.get(l)}getDefaults(){return this._theme.getDefaults()}themeMatch(l){return this._theme.match(l)}async grammarForScopeName(l,c,u,f,d){if(!this._grammars.has(l)){let p=this._rawGrammars.get(l);if(!p)return null;this._grammars.set(l,a.createGrammar(l,p,c,u,f,d,this,await this._onigLibPromise))}return this._grammars.get(l)}}},792:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.CompiledRule=o.RegExpSourceList=o.RegExpSource=o.RuleFactory=o.BeginWhileRule=o.BeginEndRule=o.IncludeOnlyRule=o.MatchRule=o.CaptureRule=o.Rule=o.ruleIdToNumber=o.ruleIdFromNumber=o.whileRuleId=o.endRuleId=void 0;const a=i(878),l=i(965),c=/\\(\d+)/,u=/\\(\d+)/g;o.endRuleId=-1,o.whileRuleId=-2,o.ruleIdFromNumber=function(C){return C},o.ruleIdToNumber=function(C){return C};class f{constructor(g,T,E,x){this.$location=g,this.id=T,this._name=E||null,this._nameIsCapturing=a.RegexSource.hasCaptures(this._name),this._contentName=x||null,this._contentNameIsCapturing=a.RegexSource.hasCaptures(this._contentName)}get debugName(){const g=this.$location?`${a.basename(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${g}`}getName(g,T){return this._nameIsCapturing&&this._name!==null&&g!==null&&T!==null?a.RegexSource.replaceCaptures(this._name,g,T):this._name}getContentName(g,T){return this._contentNameIsCapturing&&this._contentName!==null?a.RegexSource.replaceCaptures(this._contentName,g,T):this._contentName}}o.Rule=f;class d extends f{constructor(g,T,E,x,P){super(g,T,E,x),this.retokenizeCapturedWithRuleId=P}dispose(){}collectPatterns(g,T){throw new Error("Not supported!")}compile(g,T){throw new Error("Not supported!")}compileAG(g,T,E,x){throw new Error("Not supported!")}}o.CaptureRule=d;class p extends f{constructor(g,T,E,x,P){super(g,T,E,null),this._match=new v(x,this.id),this.captures=P,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(g,T){T.push(this._match)}compile(g,T){return this._getCachedCompiledPatterns(g).compile(g)}compileAG(g,T,E,x){return this._getCachedCompiledPatterns(g).compileAG(g,E,x)}_getCachedCompiledPatterns(g){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new w,this.collectPatterns(g,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}o.MatchRule=p;class h extends f{constructor(g,T,E,x,P){super(g,T,E,x),this.patterns=P.patterns,this.hasMissingPatterns=P.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(g,T){for(const E of this.patterns)g.getRule(E).collectPatterns(g,T)}compile(g,T){return this._getCachedCompiledPatterns(g).compile(g)}compileAG(g,T,E,x){return this._getCachedCompiledPatterns(g).compileAG(g,E,x)}_getCachedCompiledPatterns(g){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new w,this.collectPatterns(g,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}o.IncludeOnlyRule=h;class m extends f{constructor(g,T,E,x,P,S,k,A,R,M){super(g,T,E,x),this._begin=new v(P,this.id),this.beginCaptures=S,this._end=new v(k||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=A,this.applyEndPatternLast=R||!1,this.patterns=M.patterns,this.hasMissingPatterns=M.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(g,T){return this._end.resolveBackReferences(g,T)}collectPatterns(g,T){T.push(this._begin)}compile(g,T){return this._getCachedCompiledPatterns(g,T).compile(g)}compileAG(g,T,E,x){return this._getCachedCompiledPatterns(g,T).compileAG(g,E,x)}_getCachedCompiledPatterns(g,T){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new w;for(const E of this.patterns)g.getRule(E).collectPatterns(g,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,T):this._cachedCompiledPatterns.setSource(0,T)),this._cachedCompiledPatterns}}o.BeginEndRule=m;class b extends f{constructor(g,T,E,x,P,S,k,A,R){super(g,T,E,x),this._begin=new v(P,this.id),this.beginCaptures=S,this.whileCaptures=A,this._while=new v(k,o.whileRuleId),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=R.patterns,this.hasMissingPatterns=R.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(g,T){return this._while.resolveBackReferences(g,T)}collectPatterns(g,T){T.push(this._begin)}compile(g,T){return this._getCachedCompiledPatterns(g).compile(g)}compileAG(g,T,E,x){return this._getCachedCompiledPatterns(g).compileAG(g,E,x)}_getCachedCompiledPatterns(g){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new w;for(const T of this.patterns)g.getRule(T).collectPatterns(g,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(g,T){return this._getCachedCompiledWhilePatterns(g,T).compile(g)}compileWhileAG(g,T,E,x){return this._getCachedCompiledWhilePatterns(g,T).compileAG(g,E,x)}_getCachedCompiledWhilePatterns(g,T){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new w,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,T||""),this._cachedCompiledWhilePatterns}}o.BeginWhileRule=b;class y{static createCaptureRule(g,T,E,x,P){return g.registerRule(S=>new d(T,S,E,x,P))}static getCompiledRuleId(g,T,E){return g.id||T.registerRule(x=>{if(g.id=x,g.match)return new p(g.$vscodeTextmateLocation,g.id,g.name,g.match,y._compileCaptures(g.captures,T,E));if(g.begin===void 0){g.repository&&(E=a.mergeObjects({},E,g.repository));let P=g.patterns;return P===void 0&&g.include&&(P=[{include:g.include}]),new h(g.$vscodeTextmateLocation,g.id,g.name,g.contentName,y._compilePatterns(P,T,E))}return g.while?new b(g.$vscodeTextmateLocation,g.id,g.name,g.contentName,g.begin,y._compileCaptures(g.beginCaptures||g.captures,T,E),g.while,y._compileCaptures(g.whileCaptures||g.captures,T,E),y._compilePatterns(g.patterns,T,E)):new m(g.$vscodeTextmateLocation,g.id,g.name,g.contentName,g.begin,y._compileCaptures(g.beginCaptures||g.captures,T,E),g.end,y._compileCaptures(g.endCaptures||g.captures,T,E),g.applyEndPatternLast,y._compilePatterns(g.patterns,T,E))}),g.id}static _compileCaptures(g,T,E){let x=[];if(g){let P=0;for(const S in g){if(S==="$vscodeTextmateLocation")continue;const k=parseInt(S,10);k>P&&(P=k)}for(let S=0;S<=P;S++)x[S]=null;for(const S in g){if(S==="$vscodeTextmateLocation")continue;const k=parseInt(S,10);let A=0;g[S].patterns&&(A=y.getCompiledRuleId(g[S],T,E)),x[k]=y.createCaptureRule(T,g[S].$vscodeTextmateLocation,g[S].name,g[S].contentName,A)}}return x}static _compilePatterns(g,T,E){let x=[];if(g)for(let P=0,S=g.length;P<S;P++){const k=g[P];let A=-1;if(k.include){const R=l.parseInclude(k.include);switch(R.kind){case 0:case 1:A=y.getCompiledRuleId(E[k.include],T,E);break;case 2:let M=E[R.ruleName];M&&(A=y.getCompiledRuleId(M,T,E));break;case 3:case 4:const L=R.scopeName,D=R.kind===4?R.ruleName:null,F=T.getExternalGrammar(L,E);if(F)if(D){let U=F.repository[D];U&&(A=y.getCompiledRuleId(U,T,F.repository))}else A=y.getCompiledRuleId(F.repository.$self,T,F.repository)}}else A=y.getCompiledRuleId(k,T,E);if(A!==-1){const R=T.getRule(A);let M=!1;if((R instanceof h||R instanceof m||R instanceof b)&&R.hasMissingPatterns&&R.patterns.length===0&&(M=!0),M)continue;x.push(A)}}return{patterns:x,hasMissingPatterns:(g?g.length:0)!==x.length}}}o.RuleFactory=y;class v{constructor(g,T){if(g){const E=g.length;let x=0,P=[],S=!1;for(let k=0;k<E;k++)if(g.charAt(k)==="\\"&&k+1<E){const A=g.charAt(k+1);A==="z"?(P.push(g.substring(x,k)),P.push("$(?!\\n)(?<!\\n)"),x=k+2):A!=="A"&&A!=="G"||(S=!0),k++}this.hasAnchor=S,x===0?this.source=g:(P.push(g.substring(x,E)),this.source=P.join(""))}else this.hasAnchor=!1,this.source=g;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=T,this.hasBackReferences=c.test(this.source)}clone(){return new v(this.source,this.ruleId)}setSource(g){this.source!==g&&(this.source=g,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(g,T){let E=T.map(x=>g.substring(x.start,x.end));return u.lastIndex=0,this.source.replace(u,(x,P)=>a.escapeRegExpCharacters(E[parseInt(P,10)]||""))}_buildAnchorCache(){let g,T,E,x,P=[],S=[],k=[],A=[];for(g=0,T=this.source.length;g<T;g++)E=this.source.charAt(g),P[g]=E,S[g]=E,k[g]=E,A[g]=E,E==="\\"&&g+1<T&&(x=this.source.charAt(g+1),x==="A"?(P[g+1]="",S[g+1]="",k[g+1]="A",A[g+1]="A"):x==="G"?(P[g+1]="",S[g+1]="G",k[g+1]="",A[g+1]="G"):(P[g+1]=x,S[g+1]=x,k[g+1]=x,A[g+1]=x),g++);return{A0_G0:P.join(""),A0_G1:S.join(""),A1_G0:k.join(""),A1_G1:A.join("")}}resolveAnchors(g,T){return this.hasAnchor&&this._anchorCache?g?T?this._anchorCache.A1_G1:this._anchorCache.A1_G0:T?this._anchorCache.A0_G1:this._anchorCache.A0_G0:this.source}}o.RegExpSource=v;class w{constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(g){this._items.push(g),this._hasAnchors=this._hasAnchors||g.hasAnchor}unshift(g){this._items.unshift(g),this._hasAnchors=this._hasAnchors||g.hasAnchor}length(){return this._items.length}setSource(g,T){this._items[g].source!==T&&(this._disposeCaches(),this._items[g].setSource(T))}compile(g){if(!this._cached){let T=this._items.map(E=>E.source);this._cached=new _(g,T,this._items.map(E=>E.ruleId))}return this._cached}compileAG(g,T,E){return this._hasAnchors?T?E?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(g,T,E)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(g,T,E)),this._anchorCache.A1_G0):E?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(g,T,E)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(g,T,E)),this._anchorCache.A0_G0):this.compile(g)}_resolveAnchors(g,T,E){let x=this._items.map(P=>P.resolveAnchors(T,E));return new _(g,x,this._items.map(P=>P.ruleId))}}o.RegExpSourceList=w;class _{constructor(g,T,E){this.regExps=T,this.rules=E,this.scanner=g.createOnigScanner(T)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const g=[];for(let T=0,E=this.rules.length;T<E;T++)g.push(" - "+this.rules[T]+": "+this.regExps[T]);return g.join(`
|
|
10
|
+
`)}findNextMatchSync(g,T,E){const x=this.scanner.findNextMatchSync(g,T,E);return x?{ruleId:this.rules[x.index],captureIndices:x.captureIndices}:null}}o.CompiledRule=_},583:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.ThemeTrieElement=o.ThemeTrieElementRule=o.ColorMap=o.fontStyleToString=o.ParsedThemeRule=o.parseTheme=o.StyleAttributes=o.ScopeStack=o.Theme=void 0;const a=i(878);class l{constructor(v,w,_){this._colorMap=v,this._defaults=w,this._root=_,this._cachedMatchRoot=new a.CachedFn(C=>this._root.match(C))}static createFromRawTheme(v,w){return this.createFromParsedTheme(d(v),w)}static createFromParsedTheme(v,w){return function(_,C){_.sort((k,A)=>{let R=a.strcmp(k.scope,A.scope);return R!==0?R:(R=a.strArrCmp(k.parentScopes,A.parentScopes),R!==0?R:k.index-A.index)});let g=0,T="#000000",E="#ffffff";for(;_.length>=1&&_[0].scope==="";){let k=_.shift();k.fontStyle!==-1&&(g=k.fontStyle),k.foreground!==null&&(T=k.foreground),k.background!==null&&(E=k.background)}let x=new h(C),P=new f(g,x.getId(T),x.getId(E)),S=new b(new m(0,null,-1,0,0),[]);for(let k=0,A=_.length;k<A;k++){let R=_[k];S.insert(0,R.scope,R.parentScopes,R.fontStyle,x.getId(R.foreground),x.getId(R.background))}return new l(x,P,S)}(v,w)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(v){if(v===null)return this._defaults;const w=v.scopeName,_=this._cachedMatchRoot.get(w).find(C=>function(g,T){if(T===null)return!0;let E=0,x=T[E];for(;g;){if(u(g.scopeName,x)){if(E++,E===T.length)return!0;x=T[E]}g=g.parent}return!1}(v.parent,C.parentScopes));return _?new f(_.fontStyle,_.foreground,_.background):null}}o.Theme=l;class c{constructor(v,w){this.parent=v,this.scopeName=w}static push(v,w){for(const _ of w)v=new c(v,_);return v}static from(...v){let w=null;for(let _=0;_<v.length;_++)w=new c(w,v[_]);return w}push(v){return new c(this,v)}getSegments(){let v=this;const w=[];for(;v;)w.push(v.scopeName),v=v.parent;return w.reverse(),w}toString(){return this.getSegments().join(" ")}extends(v){return this===v||this.parent!==null&&this.parent.extends(v)}getExtensionIfDefined(v){const w=[];let _=this;for(;_&&_!==v;)w.push(_.scopeName),_=_.parent;return _===v?w.reverse():void 0}}function u(y,v){return v===y||y.startsWith(v)&&y[v.length]==="."}o.ScopeStack=c;class f{constructor(v,w,_){this.fontStyle=v,this.foregroundId=w,this.backgroundId=_}}function d(y){if(!y)return[];if(!y.settings||!Array.isArray(y.settings))return[];let v=y.settings,w=[],_=0;for(let C=0,g=v.length;C<g;C++){let T,E=v[C];if(!E.settings)continue;if(typeof E.scope=="string"){let k=E.scope;k=k.replace(/^[,]+/,""),k=k.replace(/[,]+$/,""),T=k.split(",")}else T=Array.isArray(E.scope)?E.scope:[""];let x=-1;if(typeof E.settings.fontStyle=="string"){x=0;let k=E.settings.fontStyle.split(" ");for(let A=0,R=k.length;A<R;A++)switch(k[A]){case"italic":x|=1;break;case"bold":x|=2;break;case"underline":x|=4;break;case"strikethrough":x|=8}}let P=null;typeof E.settings.foreground=="string"&&a.isValidHexColor(E.settings.foreground)&&(P=E.settings.foreground);let S=null;typeof E.settings.background=="string"&&a.isValidHexColor(E.settings.background)&&(S=E.settings.background);for(let k=0,A=T.length;k<A;k++){let R=T[k].trim().split(" "),M=R[R.length-1],L=null;R.length>1&&(L=R.slice(0,R.length-1),L.reverse()),w[_++]=new p(M,L,C,x,P,S)}}return w}o.StyleAttributes=f,o.parseTheme=d;class p{constructor(v,w,_,C,g,T){this.scope=v,this.parentScopes=w,this.index=_,this.fontStyle=C,this.foreground=g,this.background=T}}o.ParsedThemeRule=p,o.fontStyleToString=function(y){if(y===-1)return"not set";let v="";return 1&y&&(v+="italic "),2&y&&(v+="bold "),4&y&&(v+="underline "),8&y&&(v+="strikethrough "),v===""&&(v="none"),v.trim()};class h{constructor(v){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(v)){this._isFrozen=!0;for(let w=0,_=v.length;w<_;w++)this._color2id[v[w]]=w,this._id2color[w]=v[w]}else this._isFrozen=!1}getId(v){if(v===null)return 0;v=v.toUpperCase();let w=this._color2id[v];if(w)return w;if(this._isFrozen)throw new Error(`Missing color in color map - ${v}`);return w=++this._lastColorId,this._color2id[v]=w,this._id2color[w]=v,w}getColorMap(){return this._id2color.slice(0)}}o.ColorMap=h;class m{constructor(v,w,_,C,g){this.scopeDepth=v,this.parentScopes=w,this.fontStyle=_,this.foreground=C,this.background=g}clone(){return new m(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(v){let w=[];for(let _=0,C=v.length;_<C;_++)w[_]=v[_].clone();return w}acceptOverwrite(v,w,_,C){this.scopeDepth>v?console.log("how did this happen?"):this.scopeDepth=v,w!==-1&&(this.fontStyle=w),_!==0&&(this.foreground=_),C!==0&&(this.background=C)}}o.ThemeTrieElementRule=m;class b{constructor(v,w=[],_={}){this._mainRule=v,this._children=_,this._rulesWithParentScopes=w}static _sortBySpecificity(v){return v.length===1||v.sort(this._cmpBySpecificity),v}static _cmpBySpecificity(v,w){if(v.scopeDepth===w.scopeDepth){const _=v.parentScopes,C=w.parentScopes;let g=_===null?0:_.length,T=C===null?0:C.length;if(g===T)for(let E=0;E<g;E++){const x=_[E].length,P=C[E].length;if(x!==P)return P-x}return T-g}return w.scopeDepth-v.scopeDepth}match(v){if(v==="")return b._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let w,_,C=v.indexOf(".");return C===-1?(w=v,_=""):(w=v.substring(0,C),_=v.substring(C+1)),this._children.hasOwnProperty(w)?this._children[w].match(_):b._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(v,w,_,C,g,T){if(w==="")return void this._doInsertHere(v,_,C,g,T);let E,x,P,S=w.indexOf(".");S===-1?(E=w,x=""):(E=w.substring(0,S),x=w.substring(S+1)),this._children.hasOwnProperty(E)?P=this._children[E]:(P=new b(this._mainRule.clone(),m.cloneArr(this._rulesWithParentScopes)),this._children[E]=P),P.insert(v+1,x,_,C,g,T)}_doInsertHere(v,w,_,C,g){if(w!==null){for(let T=0,E=this._rulesWithParentScopes.length;T<E;T++){let x=this._rulesWithParentScopes[T];if(a.strArrCmp(x.parentScopes,w)===0)return void x.acceptOverwrite(v,_,C,g)}_===-1&&(_=this._mainRule.fontStyle),C===0&&(C=this._mainRule.foreground),g===0&&(g=this._mainRule.background),this._rulesWithParentScopes.push(new m(v,w,_,C,g))}else this._mainRule.acceptOverwrite(v,_,C,g)}}o.ThemeTrieElement=b},878:(s,o)=>{function i(c){return Array.isArray(c)?function(u){let f=[];for(let d=0,p=u.length;d<p;d++)f[d]=i(u[d]);return f}(c):typeof c=="object"?function(u){let f={};for(let d in u)f[d]=i(u[d]);return f}(c):c}Object.defineProperty(o,"__esModule",{value:!0}),o.performanceNow=o.CachedFn=o.escapeRegExpCharacters=o.isValidHexColor=o.strArrCmp=o.strcmp=o.RegexSource=o.basename=o.mergeObjects=o.clone=void 0,o.clone=function(c){return i(c)},o.mergeObjects=function(c,...u){return u.forEach(f=>{for(let d in f)c[d]=f[d]}),c},o.basename=function c(u){const f=~u.lastIndexOf("/")||~u.lastIndexOf("\\");return f===0?u:~f==u.length-1?c(u.substring(0,u.length-1)):u.substr(1+~f)};let a=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;function l(c,u){return c<u?-1:c>u?1:0}o.RegexSource=class{static hasCaptures(c){return c!==null&&(a.lastIndex=0,a.test(c))}static replaceCaptures(c,u,f){return c.replace(a,(d,p,h,m)=>{let b=f[parseInt(p||h,10)];if(!b)return d;{let y=u.substring(b.start,b.end);for(;y[0]===".";)y=y.substring(1);switch(m){case"downcase":return y.toLowerCase();case"upcase":return y.toUpperCase();default:return y}}})}},o.strcmp=l,o.strArrCmp=function(c,u){if(c===null&&u===null)return 0;if(!c)return-1;if(!u)return 1;let f=c.length,d=u.length;if(f===d){for(let p=0;p<f;p++){let h=l(c[p],u[p]);if(h!==0)return h}return 0}return f-d},o.isValidHexColor=function(c){return!!(/^#[0-9a-f]{6}$/i.test(c)||/^#[0-9a-f]{8}$/i.test(c)||/^#[0-9a-f]{3}$/i.test(c)||/^#[0-9a-f]{4}$/i.test(c))},o.escapeRegExpCharacters=function(c){return c.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")},o.CachedFn=class{constructor(c){this.fn=c,this.cache=new Map}get(c){if(this.cache.has(c))return this.cache.get(c);const u=this.fn(c);return this.cache.set(c,u),u}},o.performanceNow=typeof performance>"u"?function(){return Date.now()}:function(){return performance.now()}}},r={};return function s(o){var i=r[o];if(i!==void 0)return i.exports;var a=r[o]={exports:{}};return n[o].call(a.exports,a,a.exports,s),a.exports}(787)})()})})(Mm);var Dm=Mm.exports;function PT(e){const t=e.type||"dark",n={name:e.name,type:t,...e,...AT(e)};return e.include&&(n.include=e.include),e.tokenColors&&(n.settings=e.tokenColors,delete n.tokenColors),kT(n),n}function kT(e){e.settings||(e.settings=[]),!(e.settings[0]&&e.settings[0].settings&&!e.settings[0].scope)&&e.settings.unshift({settings:{foreground:e.fg,background:e.bg}})}const pd={light:"#333333",dark:"#bbbbbb"},md={light:"#fffffe",dark:"#1e1e1e"};function AT(e){let t,n;const r=e.settings?e.settings:e.tokenColors,s=r?r.find(o=>!o.name&&!o.scope):void 0;return s?.settings?.foreground&&(t=s.settings.foreground),s?.settings?.background&&(n=s.settings.background),!t&&e?.colors?.["editor.foreground"]&&(t=e.colors["editor.foreground"]),!n&&e?.colors?.["editor.background"]&&(n=e.colors["editor.background"]),t||(t=e.type==="light"?pd.light:pd.dark),n||(n=e.type==="light"?md.light:md.dark),{fg:t,bg:n}}var RT=Object.defineProperty,$T=(e,t,n)=>t in e?RT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ts=(e,t,n)=>($T(e,typeof t!="symbol"?t+"":t,n),n);class NT extends Dm.Registry{constructor(t,n,r){super(t),this._resolver=t,this._themes=n,this._langs=r,Ts(this,"themesPath","themes/"),Ts(this,"_resolvedThemes",{}),Ts(this,"_resolvedGrammars",{}),Ts(this,"_langMap",{}),Ts(this,"_langGraph",new Map),n.forEach(s=>this.loadTheme(s)),r.forEach(s=>this.loadLanguage(s))}getTheme(t){return typeof t=="string"?this._resolvedThemes[t]:this.loadTheme(t)}loadTheme(t){const n=PT(t);return n.name&&(this._resolvedThemes[n.name]=n),n}getLoadedThemes(){return Object.keys(this._resolvedThemes)}getGrammar(t){return this._resolvedGrammars[t]}async loadLanguage(t){if(this._resolvedGrammars[t.name])return;this._resolver.addLanguage(t);const r={embeddedLanguages:t.embeddedLangs?.reduce(async(o,i,a)=>{if(!this.getLoadedLanguages().includes(i)&&this._resolver.getLangRegistration(i))return await this._resolver.loadGrammar(this._resolver.getLangRegistration(i).scopeName),o[this._resolver.getLangRegistration(i).scopeName]=a+2,o},{}),balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]},s=await this.loadGrammarWithConfiguration(t.scopeName,1,r);this._resolvedGrammars[t.name]=s,t.aliases&&t.aliases.forEach(o=>{this._resolvedGrammars[o]=s})}async init(){this._themes.map(t=>this.loadTheme(t)),await this.loadLanguages(this._langs)}async loadLanguages(t){for(const s of t)this.resolveEmbeddedLanguages(s);const n=Array.from(this._langGraph.entries()),r=n.filter(([s,o])=>!o);if(r.length){const s=n.filter(([o,i])=>i&&i.embeddedLangs?.some(a=>r.map(([l])=>l).includes(a))).filter(o=>!r.includes(o));throw new Error(`[shikiji] Missing languages ${r.map(([o])=>`\`${o}\``).join(", ")}, required by ${s.map(([o])=>`\`${o}\``).join(", ")}`)}for(const[s,o]of n)this._resolver.addLanguage(o);for(const[s,o]of n)await this.loadLanguage(o)}getLoadedLanguages(){return Object.keys(this._resolvedGrammars)}resolveEmbeddedLanguages(t){if(this._langMap[t.name]=t,this._langGraph.set(t.name,t),t.embeddedLangs)for(const n of t.embeddedLangs)this._langGraph.set(n,this._langMap[n])}}var OT=Object.defineProperty,IT=(e,t,n)=>t in e?OT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Xo=(e,t,n)=>(IT(e,typeof t!="symbol"?t+"":t,n),n);class LT{constructor(t,n,r){Xo(this,"languageMap",{}),Xo(this,"scopeToLangMap",{}),Xo(this,"_onigLibPromise"),Xo(this,"_onigLibName"),this._onigLibPromise=t,this._onigLibName=n,r.forEach(s=>this.addLanguage(s))}get onigLib(){return this._onigLibPromise}getOnigLibName(){return this._onigLibName}getLangRegistration(t){return this.languageMap[t]}async loadGrammar(t){return this.scopeToLangMap[t]}addLanguage(t){this.languageMap[t.name]=t,t.aliases&&t.aliases.forEach(n=>{this.languageMap[n]=t}),this.scopeToLangMap[t.scopeName]=t}}async function MT(e={}){async function t(h){return Promise.resolve(typeof h=="function"?h():h).then(m=>m.default||m)}async function n(h){return Array.from(new Set((await Promise.all(h.map(async m=>await t(m).then(b=>Array.isArray(b)?b:[b])))).flat()))}const[r,s]=await Promise.all([Promise.all((e.themes||[]).map(t)),n(e.langs||[]),typeof e.loadWasm=="function"?Promise.resolve(e.loadWasm()).then(h=>hd(h)):e.loadWasm?hd(e.loadWasm):void 0]),o=new LT(Promise.resolve({createOnigScanner(h){return CT(h)},createOnigString(h){return ST(h)}}),"vscode-oniguruma",s),i=new NT(o,r,s);await i.init();function a(h){const m=i.getGrammar(h);if(!m)throw new Error(`[shikiji] Language \`${h}\` not found, you may need to load it first`);return m}function l(h){const m=i.getTheme(h);if(!m)throw new Error(`[shikiji] Theme \`${h}\` not found, you may need to load it first`);return m}function c(h){const m=l(h);i.setTheme(m);const b=i.getColorMap();return{theme:m,colorMap:b}}function u(){return i.getLoadedThemes()}function f(){return i.getLoadedLanguages()}async function d(...h){await i.loadLanguages(await n(h))}async function p(...h){await Promise.all(h.map(async m=>i.loadTheme(await t(m))))}return{setTheme:c,getTheme:l,getLangGrammar:a,getLoadedThemes:u,getLoadedLanguages:f,loadLanguage:d,loadTheme:p}}const DT=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class Ao{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}Ao.prototype.property={};Ao.prototype.normal={};Ao.prototype.space=null;function Fm(e,t){const n={},r={};let s=-1;for(;++s<e.length;)Object.assign(n,e[s].property),Object.assign(r,e[s].normal);return new Ao(n,r,t)}function Rl(e){return e.toLowerCase()}class Nt{constructor(t,n){this.property=t,this.attribute=n}}Nt.prototype.space=null;Nt.prototype.boolean=!1;Nt.prototype.booleanish=!1;Nt.prototype.overloadedBoolean=!1;Nt.prototype.number=!1;Nt.prototype.commaSeparated=!1;Nt.prototype.spaceSeparated=!1;Nt.prototype.commaOrSpaceSeparated=!1;Nt.prototype.mustUseProperty=!1;Nt.prototype.defined=!1;let FT=0;const Ee=_r(),Ke=_r(),Bm=_r(),K=_r(),He=_r(),Mr=_r(),_t=_r();function _r(){return 2**++FT}var $l=Object.freeze({__proto__:null,boolean:Ee,booleanish:Ke,commaOrSpaceSeparated:_t,commaSeparated:Mr,number:K,overloadedBoolean:Bm,spaceSeparated:He});const ja=Object.keys($l);class Kc extends Nt{constructor(t,n,r,s){let o=-1;if(super(t,n),gd(this,"space",s),typeof r=="number")for(;++o<ja.length;){const i=ja[o];gd(this,ja[o],(r&$l[i])===$l[i])}}}Kc.prototype.defined=!0;function gd(e,t,n){n&&(e[t]=n)}const BT={}.hasOwnProperty;function is(e){const t={},n={};let r;for(r in e.properties)if(BT.call(e.properties,r)){const s=e.properties[r],o=new Kc(r,e.transform(e.attributes||{},r),s,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[Rl(r)]=r,n[Rl(o.attribute)]=r}return new Ao(t,n,e.space)}const jm=is({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),zm=is({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Hm(e,t){return t in e?e[t]:t}function Um(e,t){return Hm(e,t.toLowerCase())}const Vm=is({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Um,properties:{xmlns:null,xmlnsXLink:null}}),Wm=is({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Ke,ariaAutoComplete:null,ariaBusy:Ke,ariaChecked:Ke,ariaColCount:K,ariaColIndex:K,ariaColSpan:K,ariaControls:He,ariaCurrent:null,ariaDescribedBy:He,ariaDetails:null,ariaDisabled:Ke,ariaDropEffect:He,ariaErrorMessage:null,ariaExpanded:Ke,ariaFlowTo:He,ariaGrabbed:Ke,ariaHasPopup:null,ariaHidden:Ke,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:He,ariaLevel:K,ariaLive:null,ariaModal:Ke,ariaMultiLine:Ke,ariaMultiSelectable:Ke,ariaOrientation:null,ariaOwns:He,ariaPlaceholder:null,ariaPosInSet:K,ariaPressed:Ke,ariaReadOnly:Ke,ariaRelevant:null,ariaRequired:Ke,ariaRoleDescription:He,ariaRowCount:K,ariaRowIndex:K,ariaRowSpan:K,ariaSelected:Ke,ariaSetSize:K,ariaSort:null,ariaValueMax:K,ariaValueMin:K,ariaValueNow:K,ariaValueText:null,role:null}}),jT=is({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Um,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Mr,acceptCharset:He,accessKey:He,action:null,allow:null,allowFullScreen:Ee,allowPaymentRequest:Ee,allowUserMedia:Ee,alt:null,as:null,async:Ee,autoCapitalize:null,autoComplete:He,autoFocus:Ee,autoPlay:Ee,capture:Ee,charSet:null,checked:Ee,cite:null,className:He,cols:K,colSpan:null,content:null,contentEditable:Ke,controls:Ee,controlsList:He,coords:K|Mr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ee,defer:Ee,dir:null,dirName:null,disabled:Ee,download:Bm,draggable:Ke,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ee,formTarget:null,headers:He,height:K,hidden:Ee,high:K,href:null,hrefLang:null,htmlFor:He,httpEquiv:He,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:Ee,itemId:null,itemProp:He,itemRef:He,itemScope:Ee,itemType:He,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ee,low:K,manifest:null,max:null,maxLength:K,media:null,method:null,min:null,minLength:K,multiple:Ee,muted:Ee,name:null,nonce:null,noModule:Ee,noValidate:Ee,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Ee,optimum:K,pattern:null,ping:He,placeholder:null,playsInline:Ee,poster:null,preload:null,readOnly:Ee,referrerPolicy:null,rel:He,required:Ee,reversed:Ee,rows:K,rowSpan:K,sandbox:He,scope:null,scoped:Ee,seamless:Ee,selected:Ee,shape:null,size:K,sizes:null,slot:null,span:K,spellCheck:Ke,src:null,srcDoc:null,srcLang:null,srcSet:null,start:K,step:null,style:null,tabIndex:K,target:null,title:null,translate:null,type:null,typeMustMatch:Ee,useMap:null,value:Ke,width:K,wrap:null,align:null,aLink:null,archive:He,axis:null,background:null,bgColor:null,border:K,borderColor:null,bottomMargin:K,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ee,declare:Ee,event:null,face:null,frame:null,frameBorder:null,hSpace:K,leftMargin:K,link:null,longDesc:null,lowSrc:null,marginHeight:K,marginWidth:K,noResize:Ee,noHref:Ee,noShade:Ee,noWrap:Ee,object:null,profile:null,prompt:null,rev:null,rightMargin:K,rules:null,scheme:null,scrolling:Ke,standby:null,summary:null,text:null,topMargin:K,valueType:null,version:null,vAlign:null,vLink:null,vSpace:K,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ee,disableRemotePlayback:Ee,prefix:null,property:null,results:K,security:null,unselectable:null}}),zT=is({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Hm,properties:{about:_t,accentHeight:K,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:K,amplitude:K,arabicForm:null,ascent:K,attributeName:null,attributeType:null,azimuth:K,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:K,by:null,calcMode:null,capHeight:K,className:He,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:K,diffuseConstant:K,direction:null,display:null,dur:null,divisor:K,dominantBaseline:null,download:Ee,dx:null,dy:null,edgeMode:null,editable:null,elevation:K,enableBackground:null,end:null,event:null,exponent:K,externalResourcesRequired:null,fill:null,fillOpacity:K,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Mr,g2:Mr,glyphName:Mr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:K,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:K,horizOriginX:K,horizOriginY:K,id:null,ideographic:K,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:K,k:K,k1:K,k2:K,k3:K,k4:K,kernelMatrix:_t,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:K,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:K,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:K,overlineThickness:K,paintOrder:null,panose1:null,path:null,pathLength:K,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:He,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:K,pointsAtY:K,pointsAtZ:K,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:_t,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:_t,rev:_t,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:_t,requiredFeatures:_t,requiredFonts:_t,requiredFormats:_t,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:K,specularExponent:K,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:K,strikethroughThickness:K,string:null,stroke:null,strokeDashArray:_t,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:K,strokeOpacity:K,strokeWidth:null,style:null,surfaceScale:K,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:_t,tabIndex:K,tableValues:null,target:null,targetX:K,targetY:K,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:_t,to:null,transform:null,u1:null,u2:null,underlinePosition:K,underlineThickness:K,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:K,values:null,vAlphabetic:K,vMathematical:K,vectorEffect:null,vHanging:K,vIdeographic:K,version:null,vertAdvY:K,vertOriginX:K,vertOriginY:K,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:K,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),HT=/^data[-\w.:]+$/i,vd=/-[a-z]/g,UT=/[A-Z]/g;function VT(e,t){const n=Rl(t);let r=t,s=Nt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&HT.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(vd,GT);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!vd.test(o)){let i=o.replace(UT,WT);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}s=Kc}return new s(r,t)}function WT(e){return"-"+e.toLowerCase()}function GT(e){return e.charAt(1).toUpperCase()}const qT=Fm([zm,jm,Vm,Wm,jT],"html"),Gm=Fm([zm,jm,Vm,Wm,zT],"svg"),yd={}.hasOwnProperty;function KT(e,t){const n=t||{};function r(s,...o){let i=r.invalid;const a=r.handlers;if(s&&yd.call(s,e)){const l=String(s[e]);i=yd.call(a,l)?a[l]:r.unknown}if(i)return i.call(this,s,...o)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}function XT(e,t){if(e=e.replace(t.subset?YT(t.subset):/["&'<>`]/g,r),t.subset||t.escapeOnly)return e;return e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,n).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,r);function n(s,o,i){return t.format((s.charCodeAt(0)-55296)*1024+s.charCodeAt(1)-56320+65536,i.charCodeAt(o+2),t)}function r(s,o,i){return t.format(s.charCodeAt(0),i.charCodeAt(o+1),t)}}function YT(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function JT(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}function ZT(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}const QT=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],za={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},eP=["cent","copy","divide","gt","lt","not","para","times"],qm={}.hasOwnProperty,Nl={};let Yo;for(Yo in za)qm.call(za,Yo)&&(Nl[za[Yo]]=Yo);function tP(e,t,n,r){const s=String.fromCharCode(e);if(qm.call(Nl,s)){const o=Nl[s],i="&"+o;return n&&QT.includes(o)&&!eP.includes(o)&&(!r||t&&t!==61&&/[^\da-z]/i.test(String.fromCharCode(t)))?i:i+";"}return""}function nP(e,t,n){let r=JT(e,t,n.omitOptionalSemicolons),s;if((n.useNamedReferences||n.useShortestReferences)&&(s=tP(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!s)&&n.useShortestReferences){const o=ZT(e,t,n.omitOptionalSemicolons);o.length<r.length&&(r=o)}return s&&(!n.useShortestReferences||s.length<r.length)?s:r}function Dr(e,t){return XT(e,Object.assign({format:nP},t))}function rP(e,t,n,r){return r.settings.bogusComments?"<?"+Dr(e.value,Object.assign({},r.settings.characterReferences,{subset:[">"]}))+">":"<!--"+e.value.replace(/^>|^->|<!--|-->|--!>|<!-$/g,s)+"-->";function s(o){return Dr(o,Object.assign({},r.settings.characterReferences,{subset:["<",">"]}))}}function sP(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function _d(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,s=n.indexOf(t);for(;s!==-1;)r++,s=n.indexOf(t,s+t.length);return r}function oP(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function iP(e){return e.join(" ").trim()}const aP=/[ \t\n\f\r]/g;function Xc(e){return typeof e=="object"?e.type==="text"?bd(e.value):!1:bd(e)}function bd(e){return e.replace(aP,"")===""}const Qe=Xm(1),Km=Xm(-1),lP=[];function Xm(e){return t;function t(n,r,s){const o=n?n.children:lP;let i=(r||0)+e,a=o[i];if(!s)for(;a&&Xc(a);)i+=e,a=o[i];return a}}const cP={}.hasOwnProperty;function Ym(e){return t;function t(n,r,s){return cP.call(e,n.tagName)&&e[n.tagName](n,r,s)}}const Yc=Ym({body:fP,caption:Ha,colgroup:Ha,dd:mP,dt:pP,head:Ha,html:uP,li:hP,optgroup:gP,option:vP,p:dP,rp:wd,rt:wd,tbody:_P,td:xd,tfoot:bP,th:xd,thead:yP,tr:wP});function Ha(e,t,n){const r=Qe(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&Xc(r.value.charAt(0)))}function uP(e,t,n){const r=Qe(n,t);return!r||r.type!=="comment"}function fP(e,t,n){const r=Qe(n,t);return!r||r.type!=="comment"}function dP(e,t,n){const r=Qe(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function hP(e,t,n){const r=Qe(n,t);return!r||r.type==="element"&&r.tagName==="li"}function pP(e,t,n){const r=Qe(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function mP(e,t,n){const r=Qe(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function wd(e,t,n){const r=Qe(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function gP(e,t,n){const r=Qe(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function vP(e,t,n){const r=Qe(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function yP(e,t,n){const r=Qe(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function _P(e,t,n){const r=Qe(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function bP(e,t,n){return!Qe(n,t)}function wP(e,t,n){const r=Qe(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function xd(e,t,n){const r=Qe(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const xP=Ym({body:CP,colgroup:TP,head:SP,html:EP,tbody:PP});function EP(e){const t=Qe(e,-1);return!t||t.type!=="comment"}function SP(e){const t=e.children,n=[];let r=-1;for(;++r<t.length;){const s=t[r];if(s.type==="element"&&(s.tagName==="title"||s.tagName==="base")){if(n.includes(s.tagName))return!1;n.push(s.tagName)}}return t.length>0}function CP(e){const t=Qe(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&Xc(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function TP(e,t,n){const r=Km(n,t),s=Qe(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Yc(r,n.children.indexOf(r),n)?!1:!!(s&&s.type==="element"&&s.tagName==="col")}function PP(e,t,n){const r=Km(n,t),s=Qe(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Yc(r,n.children.indexOf(r),n)?!1:!!(s&&s.type==="element"&&s.tagName==="tr")}const Jo={name:[[`
|
|
11
|
+
\f\r &/=>`.split(""),`
|
|
12
|
+
\f\r "&'/=>\``.split("")],[`\0
|
|
13
|
+
\f\r "&'/<=>`.split(""),`\0
|
|
14
|
+
\f\r "&'/<=>\``.split("")]],unquoted:[[`
|
|
15
|
+
\f\r &>`.split(""),`\0
|
|
16
|
+
\f\r "&'<=>\``.split("")],[`\0
|
|
17
|
+
\f\r "&'<=>\``.split(""),`\0
|
|
18
|
+
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function kP(e,t,n,r){const s=r.schema,o=s.space==="svg"?!1:r.settings.omitOptionalTags;let i=s.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const a=[];let l;s.space==="html"&&e.tagName==="svg"&&(r.schema=Gm);const c=AP(r,e.properties),u=r.all(s.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=s,u&&(i=!1),(c||!o||!xP(e,t,n))&&(a.push("<",e.tagName,c?" "+c:""),i&&(s.space==="svg"||r.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),(!r.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&a.push(" "),a.push("/")),a.push(">")),a.push(u),!i&&(!o||!Yc(e,t,n))&&a.push("</"+e.tagName+">"),a.join("")}function AP(e,t){const n=[];let r=-1,s;if(t){for(s in t)if(t[s]!==null&&t[s]!==void 0){const o=RP(e,s,t[s]);o&&n.push(o)}}for(;++r<n.length;){const o=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&o!=='"'&&o!=="'"&&(n[r]+=" ")}return n.join("")}function RP(e,t,n){const r=VT(e.schema,t),s=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,o=e.settings.allowDangerousCharacters?0:1;let i=e.quote,a;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean&&typeof n!="string")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const l=Dr(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Jo.name[s][o]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?oP:iP)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?l:(e.settings.preferUnquoted&&(a=Dr(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Jo.unquoted[s][o]}))),a!==n&&(e.settings.quoteSmart&&_d(n,i)>_d(n,e.alternative)&&(i=e.alternative),a=i+Dr(n,Object.assign({},e.settings.characterReferences,{subset:(i==="'"?Jo.single:Jo.double)[s][o],attribute:!0}))+i),l+(a&&"="+a))}function Jm(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:Dr(e.value,Object.assign({},r.settings.characterReferences,{subset:["<","&"]}))}function $P(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Jm(e,t,n,r)}function NP(e,t,n,r){return r.all(e)}const OP=KT("type",{invalid:IP,unknown:LP,handlers:{comment:rP,doctype:sP,element:kP,raw:$P,root:NP,text:Jm}});function IP(e){throw new Error("Expected node, not `"+e+"`")}function LP(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const MP={},DP={},FP=[];function BP(e,t){const n=t||MP,r=n.quote||'"',s=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:jP,all:zP,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||DT,characterReferences:n.characterReferences||DP,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?Gm:qT,quote:r,alternative:s}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function jP(e,t,n){return OP(e,t,n,this)}function zP(e){const t=[],n=e&&e.children||FP;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}var On=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e))(On||{});class fn{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n=`0${n}`;return n}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static getFontStyle(t){return(t&14336)>>>11}static getForeground(t){return(t&8372224)>>>15}static getBackground(t){return(t&4286578688)>>>24}static containsBalancedBrackets(t){return(t&1024)!==0}static set(t,n,r,s,o,i){let a=fn.getLanguageId(t),l=fn.getTokenType(t),c=fn.getFontStyle(t),u=fn.getForeground(t),f=fn.getBackground(t);const d=fn.containsBalancedBrackets(t)?1:0;return n!==0&&(a=n),r!==0&&(l=r===8?0:r),s!==-1&&(c=s),o!==0&&(u=o),i!==0&&(f=i),(a<<0|l<<8|c<<11|d<<10|u<<15|f<<24)>>>0}}function HP(e){return!e||["plaintext","txt","text"].includes(e)}var ir=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],Ua={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function UP(e,t){const n=e.indexOf("\x1B[",t);if(n!==-1){const r=e.indexOf("m",n);return{sequence:e.substring(n+2,r).split(";"),startPosition:n,position:r+1}}return{position:e.length}}function Ed(e,t){let n=1;const r=e[t+n++];let s;if(r==="2"){const o=[e[t+n++],e[t+n++],e[t+n]].map(i=>Number.parseInt(i));o.length===3&&!o.some(i=>Number.isNaN(i))&&(s={type:"rgb",rgb:o})}else if(r==="5"){const o=Number.parseInt(e[t+n]);Number.isNaN(o)||(s={type:"table",index:Number(o)})}return[n,s]}function VP(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n],s=Number.parseInt(r);if(!Number.isNaN(s))if(s===0)t.push({type:"resetAll"});else if(s<=9)Ua[s]&&t.push({type:"setDecoration",value:Ua[s]});else if(s<=29){const o=Ua[s-20];o&&t.push({type:"resetDecoration",value:o})}else if(s<=37)t.push({type:"setForegroundColor",value:{type:"named",name:ir[s-30]}});else if(s===38){const[o,i]=Ed(e,n);i&&t.push({type:"setForegroundColor",value:i}),n+=o}else if(s===39)t.push({type:"resetForegroundColor"});else if(s<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:ir[s-40]}});else if(s===48){const[o,i]=Ed(e,n);i&&t.push({type:"setBackgroundColor",value:i}),n+=o}else s===49?t.push({type:"resetBackgroundColor"}):s>=90&&s<=97?t.push({type:"setForegroundColor",value:{type:"named",name:ir[s-90+8]}}):s>=100&&s<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:ir[s-100+8]}})}return t}function WP(){let e=null,t=null,n=new Set;return{parse(r){const s=[];let o=0;do{const i=UP(r,o),a=i.sequence?r.substring(o,i.startPosition):r.substring(o);if(a.length>0&&s.push({value:a,foreground:e,background:t,decorations:new Set(n)}),i.sequence){const l=VP(i.sequence);for(const c of l)c.type==="resetAll"?(e=null,t=null,n.clear()):c.type==="resetForegroundColor"?e=null:c.type==="resetBackgroundColor"?t=null:c.type==="resetDecoration"&&n.delete(c.value);for(const c of l)c.type==="setForegroundColor"?e=c.value:c.type==="setBackgroundColor"?t=c.value:c.type==="setDecoration"&&n.add(c.value)}o=i.position}while(o<r.length);return s}}}var GP={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function qP(e=GP){function t(a){return e[a]}function n(a){return`#${a.map(l=>Math.max(0,Math.min(l,255)).toString(16).padStart(2,"0")).join("")}`}let r;function s(){if(r)return r;r=[];for(let c=0;c<ir.length;c++)r.push(t(ir[c]));let a=[0,95,135,175,215,255];for(let c=0;c<6;c++)for(let u=0;u<6;u++)for(let f=0;f<6;f++)r.push(n([a[c],a[u],a[f]]));let l=8;for(let c=0;c<24;c++,l+=10)r.push(n([l,l,l]));return r}function o(a){return s()[a]}function i(a){switch(a.type){case"named":return t(a.name);case"rgb":return n(a.rgb);case"table":return o(a.index)}}return{value:i}}function KP(e,t){const n=t.split(/\r?\n/),r=qP(Object.fromEntries(ir.map(o=>[o,e.colors?.[`terminal.ansi${o[0].toUpperCase()}${o.substring(1)}`]]))),s=WP();return n.map(o=>s.parse(o).map(i=>{let a;i.decorations.has("reverse")?a=i.background?r.value(i.background):e.bg:a=i.foreground?r.value(i.foreground):e.fg,i.decorations.has("dim")&&(a=XP(a));let l=On.None;return i.decorations.has("bold")&&(l|=On.Bold),i.decorations.has("italic")&&(l|=On.Italic),i.decorations.has("underline")&&(l|=On.Underline),{content:i.value,color:a,fontStyle:l}}))}function XP(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t)if(t[3]){const r=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${r}`}else return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map(r=>`${r}${r}`).join("")}80`;const n=e.match(/var\((--shiki-color-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}function Jc(e,t,n={}){const{lang:r="text",theme:s=e.getLoadedThemes()[0],includeExplanation:o=!0}=n;if(HP(r))return[...t.split(/\r\n|\r|\n/).map(u=>[{content:u}])];const{theme:i,colorMap:a}=e.setTheme(s);if(r==="ansi")return KP(i,t);const l=e.getLangGrammar(r);return YP(t,l,i,a,{includeExplanation:o})}function YP(e,t,n,r,s){const o=e.split(/\r\n|\r|\n/);let i=Dm.INITIAL,a=[];const l=[];for(let c=0,u=o.length;c<u;c++){const f=o[c];if(f===""){a=[],l.push([]);continue}let d,p,h;s.includeExplanation&&(d=t.tokenizeLine(f,i),p=d.tokens,h=0);const m=t.tokenizeLine2(f,i),b=m.tokens.length/2;for(let y=0;y<b;y++){const v=m.tokens[2*y],w=y+1<b?m.tokens[2*y+2]:f.length;if(v===w)continue;const _=m.tokens[2*y+1],C=fn.getForeground(_),g=r[C],T=fn.getFontStyle(_),E={content:f.substring(v,w),color:g,fontStyle:T};if(s.includeExplanation){E.explanation=[];let x=0;for(;v+x<w;){const P=p[h],S=f.substring(P.startIndex,P.endIndex);x+=S.length,E.explanation.push({content:S,scopes:JP(n,P.scopes)}),h+=1}}a.push(E)}l.push(a),a=[],i=m.ruleStack}return l}function JP(e,t){const n=[];for(let r=0,s=t.length;r<s;r++){const o=t.slice(0,r),i=t[r];n[r]={scopeName:i,themeMatches:QP(e,i,o)}}return n}function Sd(e,t){const n=`${e}.`;return e===t||t.substring(0,n.length)===n}function ZP(e,t,n,r){if(!Sd(e,n))return!1;let s=t.length-1,o=r.length-1;for(;s>=0&&o>=0;)Sd(t[s],r[o])&&(s-=1),o-=1;return s===-1}function QP(e,t,n){const r=[];let s=0;for(let o=0,i=e.settings.length;o<i;o++){const a=e.settings[o];let l;if(typeof a.scope=="string")l=a.scope.split(/,/).map(c=>c.trim());else if(Array.isArray(a.scope))l=a.scope;else continue;for(let c=0,u=l.length;c<u;c++){const d=l[c].split(/ /),p=d[d.length-1],h=d.slice(0,d.length-1);ZP(p,h,t,n)&&(r[s++]=a,c=u)}}return r}function Zm(e,t,n){const r=Object.entries(n.themes).filter(o=>o[1]),s=ek(...r.map(o=>Jc(e,t,{...n,theme:o[1],includeExplanation:!1})));return r.map(([o,i],a)=>[o,i,s[a]])}function ek(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const s=e.map(l=>l[r]),o=t.map(()=>[]);t.forEach((l,c)=>l.push(o[c]));const i=s.map(()=>0),a=s.map(l=>l[0]);for(;a.every(l=>l);){const l=Math.min(...a.map(c=>c.content.length));for(let c=0;c<n;c++){const u=a[c];u.content.length===l?(o[c].push(u),i[c]+=1,a[c]=s[c][i[c]]):(o[c].push({...u,content:u.content.slice(0,l)}),a[c]={...u,content:u.content.slice(l)})}}}return t}function Qm(e,t,n){let r,s,o,i,a;if("themes"in n){const{defaultColor:l="light",cssVariablePrefix:c="--shiki-"}=n;if(Object.entries(n.themes).filter(h=>h[1]).length===0)throw new Error("[shikiji] `themes` option must not be empty");const f=Zm(e,t,n).sort(h=>h[0]===l?-1:1);if(l&&!f.find(h=>h[0]===l))throw new Error(`[shikiji] \`themes\` option must contain the defaultColor key \`${l}\``);const d=f.map(h=>e.getTheme(h[1])),p=f.map(h=>h[2]);o=[];for(let h=0;h<p[0].length;h++){const m=p.map(y=>y[h]),b=[];o.push(b);for(let y=0;y<m[0].length;y++){const v=m.map(g=>g[y]),w=v.map(g=>eg(g)),_=new Set(w.flatMap(g=>Object.keys(g))),C=w.reduce((g,T,E)=>{for(const x of _){const P=T[x]||"inherit";if(E===0&&l)g[x]=P;else{const S=c+f[E][0]+(x==="color"?"":`-${x}`);g[x]?g[x]+=`;${S}:${P}`:g[x]=`${S}:${P}`}}return g},{});b.push({...v[0],color:"",htmlStyle:l?tg(C):Object.values(C).join(";")})}}s=f.map((h,m)=>(m===0&&l?"":`${c+h[0]}:`)+d[m].fg).join(";"),r=f.map((h,m)=>(m===0&&l?"":`${c+h[0]}-bg:`)+d[m].bg).join(";"),i=`shiki-themes ${d.map(h=>h.name).join(" ")}`,a=l?void 0:[s,r].join(";")}else if("theme"in n){o=Jc(e,t,{...n,includeExplanation:!1});const l=e.getTheme(n.theme);r=l.bg,s=l.fg,i=l.name}else throw new Error("[shikiji] Invalid options, either `theme` or `themes` must be provided");return tk(o,{...n,fg:s,bg:r,themeName:i,rootStyle:a})}function tk(e,t){const{mergeWhitespaces:n=!0}=t;n&&(e=nk(e));const r=[],s={type:"root",children:[]};let o={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,tabindex:"0"},children:[]},i={type:"element",tagName:"code",properties:{},children:r};return e.forEach((a,l)=>{l&&r.push({type:"text",value:`
|
|
19
|
+
`});let c={type:"element",tagName:"span",properties:{class:"line"},children:[]},u=0;for(const f of a){let p={type:"element",tagName:"span",properties:{style:[f.htmlStyle||tg(eg(f))].join(";")},children:[{type:"text",value:f.content}]};p=t.transforms?.token?.(p,l+1,u,c)||p,c.children.push(p),u+=f.content.length}c=t.transforms?.line?.(c,l+1)||c,r.push(c)}),i=t.transforms?.code?.(i)||i,o.children.push(i),o=t.transforms?.pre?.(o)||o,s.children.push(o),t.transforms?.root?.(s)||s}function eg(e){const t={};return e.color&&(t.color=e.color),e.fontStyle&&(e.fontStyle&On.Italic&&(t["font-style"]="italic"),e.fontStyle&On.Bold&&(t["font-weight"]="bold"),e.fontStyle&On.Underline&&(t["text-decoration"]="underline")),t}function tg(e){return Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}function nk(e){return e.map(t=>{const n=[];let r="";return t.forEach((s,o)=>{s.content.match(/^\s+$/)&&t[o+1]?r+=s.content:r?(n.push({...s,content:r+s.content}),r=""):n.push(s)}),n})}function rk(e,t,n){return BP(Qm(e,t,n))}async function sk(e={}){const t=await MT(e);return{codeToThemedTokens:(n,r)=>Jc(t,n,r),codeToTokensWithThemes:(n,r)=>Zm(t,n,r),codeToHast:(n,r)=>Qm(t,n,r),codeToHtml:(n,r)=>rk(t,n,r),loadLanguage:t.loadLanguage,loadTheme:t.loadTheme,getTheme:t.getTheme,getLoadedThemes:t.getLoadedThemes,getLoadedLanguages:t.getLoadedLanguages}}let Va=null;async function ok(){return Va||(Va=be(()=>import("./onig.0c57a370.js"),[],import.meta.url).then(e=>({data:e.default}))),Va}const Zo=tn();let Cd=null;function ik(e,t="text"){!Cd&&!Zo.value&&(Cd=sk({themes:[be(()=>import("./vitesse-dark.ab479e3d.js"),[],import.meta.url),be(()=>import("./vitesse-light.696edcfd.js"),[],import.meta.url)],langs:[be(()=>import("./json.709f1c4d.js"),[],import.meta.url),be(()=>import("./yaml.b29e536f.js"),[],import.meta.url),be(()=>import("./css.a67813b3.js"),[],import.meta.url),be(()=>import("./javascript.b7d6d348.js"),[],import.meta.url),be(()=>import("./typescript.24e7badf.js"),[],import.meta.url),be(()=>import("./vue.24311fdc.js"),["./vue.24311fdc.js","./html.af01869e.js","./javascript.b7d6d348.js","./css.a67813b3.js","./typescript.24e7badf.js","./json.709f1c4d.js","./yaml.b29e536f.js"],import.meta.url),be(()=>import("./vue-html.0806679f.js"),["./vue-html.0806679f.js","./vue.24311fdc.js","./html.af01869e.js","./javascript.b7d6d348.js","./css.a67813b3.js","./typescript.24e7badf.js","./json.709f1c4d.js","./yaml.b29e536f.js"],import.meta.url),be(()=>import("./html.af01869e.js"),["./html.af01869e.js","./javascript.b7d6d348.js","./css.a67813b3.js"],import.meta.url),be(()=>import("./diff.22e0b108.js"),[],import.meta.url),be(()=>import("./shellscript.9d056341.js"),[],import.meta.url)],loadWasm:ok}).then(r=>{Zo.value=r}));const n=Zo.value?.getLoadedLanguages().includes(t);return n?{code:Zo.value.codeToHtml(e,{lang:t,themes:{dark:"vitesse-dark",light:"vitesse-light"}}),supported:!0}:{code:e,supported:n}}function ut(){return ss("devtools-client")}function oO(){const e=ut();return ge(()=>e.value?.nuxt.vueApp.config.globalProperties?.$route)}function ng(){const e=ut();return ge(()=>e.value?.nuxt.vueApp.config.globalProperties?.$router)}function iO(){const e=ut();return ge(()=>e.value?.nuxt.vueApp.config.globalProperties?.$head)}function ak(){return ss("devtools-component-inspector-data")}const rg=Q(!1);setTimeout(()=>{rg.value=!0},2e3);const lk=ge(()=>rg.value&&!ut().value);function ck(){const e=ut(),t=qc();return ge(()=>({host:e.value,devtools:{rpc:De,colorMode:t.value,renderCodeHighlight(n,r){return ik(n,r)},renderMarkdown(n){return uT(n)},extendClientRpc(n,r){return Em.set(n,r),new Proxy({},{get(s,o){if(typeof o=="string")return De[`${n}:${o}`]}})}}}))}const Ps={icon:"carbon:image-search",title:"Open Graph",layout:"full",category:"analyze",show:()=>{const e=ut();return()=>!!e.value}},ks={icon:"carbon-information",title:"Overview",order:-100},As={icon:"carbon-tree-view-alt",title:"Pages",show:()=>{const e=ut();return()=>!!e.value},order:1},Rs={icon:"carbon-data-set",title:"Payload",category:"analyze",show:()=>{const e=ut();return()=>!!e.value},order:7},$s={icon:"carbon-plug",title:"Plugins",category:"analyze"},Ns={icon:"carbon-settings-services",title:"Runtime Configs",category:"analyze",show:()=>{const e=ut();return()=>!!e.value},order:6};function aO(e,t,n){return Math.min(n,Math.max(t,e))}const uk="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function fk(e=16,t=uk){let n="",r=e;const s=t.length;for(;r--;)n+=t[Math.random()*s|0];return n}function sg(e,t,n=!1){return t.reduce((r,s)=>(s in e&&(!n||e[s]!==void 0)&&(r[s]=e[s]),r),{})}function og(){return yt("getServerPages",()=>De.getServerPages())}function dk(){return yt("getServerRoutes",()=>De.getServerRoutes())}function lO(){return yt("getServerHooks",()=>De.getServerHooks())}function cO(){return yt("getServerLayouts",()=>De.getServerLayouts())}function uO(){return yt("getAutoImports",()=>De.getAutoImports())}function fO(){return yt("getStaticAssets",()=>De.getStaticAssets())}function hk(){return yt("getServerConfig",()=>De.getServerConfig())}function dO(){return yt("getModuleOptions",()=>De.getModuleOptions())}function hO(){return yt("getServerApp",()=>De.getServerApp())}function pk(){return yt("getCustomTabs",()=>De.getCustomTabs())}function Td(){return yt("getTerminals",()=>De.getTerminals())}function pO(){return yt("getAnalyzeBuildInfo",()=>De.getAnalyzeBuildInfo())}function mk(){const{data:e}=T1("/_vfs.json",{key:"vfs-list",baseURL:"/",responseType:"json"},"$1Vz4NDBkXu");return e}function mO(){const e=og(),t=ng();return ge(()=>(t.value?.getRoutes()||[]).map(n=>sg(n,["path","name","meta","props","children"])).map(n=>({...e.value?.find(r=>r.name&&r.name===n.name),...n})))}const Os={icon:"carbon-cloud",title:"Server Routes",layout:"full",category:"server",show(){const e=dk();return()=>e.value?.length}},Is={icon:"carbon-data-base",title:"Storage",layout:"full",category:"server"},Ls={icon:"carbon-terminal",title:"Terminals",layout:"full",show(){const e=Td();return()=>!!e.value?.length},badge(){const e=Td();return()=>e.value?.filter(t=>!t.isTerminated).length}},Ms={icon:"i-carbon-roadmap",title:"Timeline",category:"analyze"},Ds={icon:"i-carbon-border-none",title:"Virtual Files",layout:"full",category:"advanced"},Fs={layout:"full"},Pd=[{name:ps?.name??"__blank",path:ps?.path??"/__blank",meta:ps||{},alias:ps?.alias||[],redirect:ps?.redirect||void 0,component:()=>be(()=>import("./__blank.20eb2cab.js"),[],import.meta.url).then(e=>e.default||e)},{name:ms?.name??"index",path:ms?.path??"/",meta:ms||{},alias:ms?.alias||[],redirect:ms?.redirect||void 0,component:()=>be(()=>import("./index.b2055c8f.js"),["./index.b2055c8f.js","./Badge.a4bd58d4.js"],import.meta.url).then(e=>e.default||e)},{name:ys?.name??"modules-analyze-build",path:ys?.path??"/modules/analyze-build",meta:ys||{},alias:ys?.alias||[],redirect:ys?.redirect||void 0,component:()=>be(()=>import("./analyze-build.423f57eb.js"),["./analyze-build.423f57eb.js","./FilepathItem.vue.a4d269b8.js","./NTip.vue.d505e897.js","./NCodeBlock.vue.01eb6d1c.js","./client.c59e50d6.js","./NCodeBlock.6994516c.css","./NCheckbox.vue.0e359f85.js","./HelpFab.vue.c0c3f8e6.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:_s?.name??"modules-assets",path:_s?.path??"/modules/assets",meta:_s||{},alias:_s?.alias||[],redirect:_s?.redirect||void 0,component:()=>be(()=>import("./assets.dc245910.js"),["./assets.dc245910.js","./Navbar.vue.8dc15d25.js","./NSectionBlock.2d8e1431.js","./NIconTitle.vue.79485c3a.js","./NSectionBlock.012f83f1.css","./FilepathItem.vue.a4d269b8.js","./storage-options.8fdc9b2a.js","./NCodeBlock.vue.01eb6d1c.js","./client.c59e50d6.js","./NCodeBlock.6994516c.css","./DrawerRight.vue.b9dc765f.js","./constants.4e5eba24.js","./assets.a19ea08e.css"],import.meta.url).then(e=>e.default||e)},{name:bs?.name??"modules-components",path:bs?.path??"/modules/components",meta:bs||{},alias:bs?.alias||[],redirect:bs?.redirect||void 0,component:()=>be(()=>import("./components.31c6fd6f.js"),["./components.31c6fd6f.js","./HelpFab.vue.c0c3f8e6.js","./HelpFab.f179afc3.css","./state-components.a223a28c.js","./NCheckbox.vue.0e359f85.js","./Navbar.vue.8dc15d25.js","./Badge.a4bd58d4.js","./FilepathItem.vue.a4d269b8.js","./DrawerRight.vue.b9dc765f.js","./NSelectTabs.vue.72adf277.js","./NSectionBlock.2d8e1431.js","./NIconTitle.vue.79485c3a.js","./NSectionBlock.012f83f1.css","./constants.4e5eba24.js"],import.meta.url).then(e=>e.default||e)},{name:ws?.name??"modules-custom-name",path:ws?.path??"/modules/custom-:name()",meta:ws||{},alias:ws?.alias||[],redirect:ws?.redirect||void 0,component:()=>be(()=>import("./custom-_name_.9b02fa14.js"),["./custom-_name_.9b02fa14.js","./LaunchPage.vue.012ddba7.js","./NMarkdown.vue.7a10e6e6.js","./client.c59e50d6.js"],import.meta.url).then(e=>e.default||e)},{name:xs?.name??"modules-hooks",path:xs?.path??"/modules/hooks",meta:xs||{},alias:xs?.alias||[],redirect:xs?.redirect||void 0,component:()=>be(()=>import("./hooks.d674696d.js"),["./hooks.d674696d.js","./DurationDisplay.vue.1f34b658.js","./NSectionBlock.2d8e1431.js","./NIconTitle.vue.79485c3a.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.c0c3f8e6.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Es?.name??"modules-imports",path:Es?.path??"/modules/imports",meta:Es||{},alias:Es?.alias||[],redirect:Es?.redirect||void 0,component:()=>be(()=>import("./imports.b827859f.js"),["./imports.b827859f.js","./NSelectTabs.vue.72adf277.js","./Navbar.vue.8dc15d25.js","./FilepathItem.vue.a4d269b8.js","./ComposableItem.vue.bd112256.js","./NMarkdown.vue.7a10e6e6.js","./client.c59e50d6.js","./constants.4e5eba24.js","./NSectionBlock.2d8e1431.js","./NIconTitle.vue.79485c3a.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.c0c3f8e6.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Ss?.name??"modules-middleware",path:Ss?.path??"/modules/middleware",meta:Ss||{},alias:Ss?.alias||[],redirect:Ss?.redirect||void 0,component:()=>be(()=>import("./middleware.434dc02a.js"),[],import.meta.url).then(e=>e.default||e)},{name:Cs?.name??"modules-modules",path:Cs?.path??"/modules/modules",meta:Cs||{},alias:Cs?.alias||[],redirect:Cs?.redirect||void 0,component:()=>be(()=>import("./modules.7dc02a95.js"),["./modules.7dc02a95.js","./FilepathItem.vue.a4d269b8.js","./state-modules.c0927595.js","./Badge.a4bd58d4.js","./NCodeBlock.vue.01eb6d1c.js","./client.c59e50d6.js","./NCodeBlock.6994516c.css","./NCheckbox.vue.0e359f85.js","./NTip.vue.d505e897.js","./NSectionBlock.2d8e1431.js","./NIconTitle.vue.79485c3a.js","./NSectionBlock.012f83f1.css","./NDropdown.vue.b3117df4.js","./NLink.vue.6dc3b4af.js","./CodeDiff.vue.a8c9e639.js","./HelpFab.vue.c0c3f8e6.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Ps?.name??"modules-open-graph",path:Ps?.path??"/modules/open-graph",meta:Ps||{},alias:Ps?.alias||[],redirect:Ps?.redirect||void 0,component:()=>be(()=>import("./open-graph.693bd031.js"),["./open-graph.693bd031.js","./Navbar.vue.8dc15d25.js","./NLink.vue.6dc3b4af.js","./NSectionBlock.2d8e1431.js","./NIconTitle.vue.79485c3a.js","./NSectionBlock.012f83f1.css","./NCodeBlock.vue.01eb6d1c.js","./client.c59e50d6.js","./NCodeBlock.6994516c.css","./HelpFab.vue.c0c3f8e6.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:ks?.name??"modules-overview",path:ks?.path??"/modules/overview",meta:ks||{},alias:ks?.alias||[],redirect:ks?.redirect||void 0,component:()=>be(()=>import("./overview.f2e48477.js"),["./overview.f2e48477.js","./Badge.a4bd58d4.js","./state-modules.c0927595.js","./NCodeBlock.vue.01eb6d1c.js","./client.c59e50d6.js","./NCodeBlock.6994516c.css","./NCheckbox.vue.0e359f85.js","./NTip.vue.d505e897.js","./state-components.a223a28c.js"],import.meta.url).then(e=>e.default||e)},{name:As?.name??"modules-pages",path:As?.path??"/modules/pages",meta:As||{},alias:As?.alias||[],redirect:As?.redirect||void 0,component:()=>be(()=>import("./pages.745a0630.js"),["./pages.745a0630.js","./Badge.a4bd58d4.js","./FilepathItem.vue.a4d269b8.js","./NSectionBlock.2d8e1431.js","./NIconTitle.vue.79485c3a.js","./NSectionBlock.012f83f1.css","./LaunchPage.vue.012ddba7.js","./NMarkdown.vue.7a10e6e6.js","./client.c59e50d6.js","./HelpFab.vue.c0c3f8e6.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Rs?.name??"modules-payload",path:Rs?.path??"/modules/payload",meta:Rs||{},alias:Rs?.alias||[],redirect:Rs?.redirect||void 0,component:()=>be(()=>import("./payload.897ca8fa.js"),["./payload.897ca8fa.js","./StateEditor.vue.2463efc9.js","./DataSchemaButton.vue.fbb61806.js","./json-editor-vue.1bc58c26.js","./NSectionBlock.2d8e1431.js","./NIconTitle.vue.79485c3a.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.c0c3f8e6.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:$s?.name??"modules-plugins",path:$s?.path??"/modules/plugins",meta:$s||{},alias:$s?.alias||[],redirect:$s?.redirect||void 0,component:()=>be(()=>import("./plugins.cd2e64ba.js"),["./plugins.cd2e64ba.js","./FilepathItem.vue.a4d269b8.js","./Badge.a4bd58d4.js","./DurationDisplay.vue.1f34b658.js","./NSectionBlock.2d8e1431.js","./NIconTitle.vue.79485c3a.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.c0c3f8e6.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Ns?.name??"modules-runtime-configs",path:Ns?.path??"/modules/runtime-configs",meta:Ns||{},alias:Ns?.alias||[],redirect:Ns?.redirect||void 0,component:()=>be(()=>import("./runtime-configs.1f844468.js"),["./runtime-configs.1f844468.js","./StateEditor.vue.2463efc9.js","./DataSchemaButton.vue.fbb61806.js","./json-editor-vue.1bc58c26.js","./NSectionBlock.2d8e1431.js","./NIconTitle.vue.79485c3a.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.c0c3f8e6.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Os?.name??"modules-server-routes",path:Os?.path??"/modules/server-routes",meta:Os||{},alias:Os?.alias||[],redirect:Os?.redirect||void 0,component:()=>be(()=>import("./server-routes.91c861d0.js"),["./server-routes.91c861d0.js","./Navbar.vue.8dc15d25.js","./Badge.a4bd58d4.js","./NSelect.vue.9cac29ef.js","./NCheckbox.vue.0e359f85.js","./storage-options.8fdc9b2a.js","./NCodeBlock.vue.01eb6d1c.js","./client.c59e50d6.js","./NCodeBlock.6994516c.css","./DataSchemaButton.vue.fbb61806.js","./constants.4e5eba24.js","./json-editor-vue.1bc58c26.js","./NSectionBlock.2d8e1431.js","./NIconTitle.vue.79485c3a.js","./NSectionBlock.012f83f1.css","./DrawerRight.vue.b9dc765f.js"],import.meta.url).then(e=>e.default||e)},{name:Is?.name??"modules-storage",path:Is?.path??"/modules/storage",meta:Is||{},alias:Is?.alias||[],redirect:Is?.redirect||void 0,component:()=>be(()=>import("./storage.76034502.js"),["./storage.76034502.js","./NSelect.vue.9cac29ef.js","./NLink.vue.6dc3b4af.js","./FilepathItem.vue.a4d269b8.js","./json-editor-vue.1bc58c26.js"],import.meta.url).then(e=>e.default||e)},{name:Ls?.name??"modules-terminals",path:Ls?.path??"/modules/terminals",meta:Ls||{},alias:Ls?.alias||[],redirect:Ls?.redirect||void 0,component:()=>be(()=>import("./terminals.cb4eb909.js"),["./terminals.cb4eb909.js","./terminals.ae8c3544.css"],import.meta.url).then(e=>e.default||e)},{name:Ms?.name??"modules-timeline",path:Ms?.path??"/modules/timeline",meta:Ms||{},alias:Ms?.alias||[],redirect:Ms?.redirect||void 0,component:()=>be(()=>import("./timeline.60d410a7.js"),["./timeline.60d410a7.js","./DurationDisplay.vue.1f34b658.js","./Badge.a4bd58d4.js","./ComposableItem.vue.bd112256.js","./NMarkdown.vue.7a10e6e6.js","./client.c59e50d6.js","./FilepathItem.vue.a4d269b8.js","./constants.4e5eba24.js","./json-editor-vue.1bc58c26.js","./LaunchPage.vue.012ddba7.js","./NLink.vue.6dc3b4af.js","./CodeDiff.vue.a8c9e639.js","./NCodeBlock.vue.01eb6d1c.js","./NCodeBlock.6994516c.css","./HelpFab.vue.c0c3f8e6.js","./HelpFab.f179afc3.css","./timeline.1ad3a70f.css"],import.meta.url).then(e=>e.default||e)},{name:Ds?.name??"modules-virtual-files",path:Ds?.path??"/modules/virtual-files",meta:Ds||{},alias:Ds?.alias||[],redirect:Ds?.redirect||void 0,component:()=>be(()=>import("./virtual-files.829bd209.js"),["./virtual-files.829bd209.js","./Navbar.vue.8dc15d25.js","./NCodeBlock.vue.01eb6d1c.js","./client.c59e50d6.js","./NCodeBlock.6994516c.css","./HelpFab.vue.c0c3f8e6.js","./HelpFab.f179afc3.css","./virtual-files.a8748389.css"],import.meta.url).then(e=>e.default||e)},{name:Fs?.name??"settings",path:Fs?.path??"/settings",meta:Fs||{},alias:Fs?.alias||[],redirect:Fs?.redirect||void 0,component:()=>be(()=>import("./settings.367ae337.js"),["./settings.367ae337.js","./NIconTitle.vue.79485c3a.js","./NSwitch.vue.67a4fdb0.js","./NSelect.vue.9cac29ef.js","./NCheckbox.vue.0e359f85.js"],import.meta.url).then(e=>e.default||e)}],gk={scrollBehavior(e,t,n){const r=Le(),s=it().options?.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&&vk(t,e)&&(o={left:0,top:0}),e.path===t.path){if(t.hash&&!e.hash)return{left:0,top:0};if(e.hash)return{el:e.hash,top:kd(e.hash),behavior:s}}const a=c=>!!(c.meta.pageTransition??vl),l=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(c=>{r.hooks.hookOnce(l,async()=>{await Et(),e.hash&&(o={el:e.hash,top:kd(e.hash),behavior:s}),c(o)})})}};function kd(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function vk(e,t){return t.path!==e.path||JSON.stringify(e.params)!==JSON.stringify(t.params)}const yk={},Pn={...yk,...gk},_k=async e=>{let t,n;if(!e.meta?.validate)return;const r=Le(),s=it();if(([t,n]=Si(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=Zi({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),a=s.beforeResolve(l=>{if(a(),l===e){const c=s.afterEach(async()=>{c(),await r.runWithContext(()=>kr(i)),window.history.pushState({},"",e.fullPath)});return!1}})},bk=Po("nuxt-devtools-first-visit",!0),wk=mm(),Ol=ge(()=>wk.width.value>1080),In=Po("nuxt-devtools-split-screen",!1),ig=Po("nuxt-devtools-split-screen-view","overview");Po("nuxt-devtools-frame-state",{},{listenToStorageChanges:!0});const xk=Po("nuxt-devtools-panels-state",{},{listenToStorageChanges:!1}),Zc=Q(await De.getOptions("ui")),Ek=Jw(Zc);ze(Zc,async e=>{De.updateOptions("ui",e)},{deep:!0,flush:"post"});localStorage.getItem("nuxt-devtools-settings")&&(Object.assign(Zc.value,JSON.parse(localStorage.getItem("nuxt-devtools-settings"))),localStorage.removeItem("nuxt-devtools-settings"));function as(){return Ek}function Sk(){return xk}const Ck=e=>{if(e.path==="/"&&!bk.value)return Wp("/modules/overview")},ii=[_k,Ck],Il={};function Tk(e,t,n){const{pathname:r,search:s,hash:o}=t,i=e.indexOf("#");if(i>-1){const c=o.includes(e.slice(i))?e.slice(i).length:1;let u=o.slice(c);return u[0]!=="/"&&(u="/"+u),Yu(u,"")}const a=Yu(r,e),l=!n||y0(a,n,{trailingSlash:!0})?a:n;return l+(l.includes("?")?"":s)+o}const Pk=Ht({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=kc().app.baseURL;Pn.hashMode&&!r.includes("#")&&(r+="#");const s=Pn.history?.(r)??(Pn.hashMode?Z1(r):Zp(r)),o=Pn.routes?.(Pd)??Pd;let i;const a=Tk(r,window.location,e.payload.path),l=Lw({...Pn,scrollBehavior:(m,b,y)=>{if(b===Kt){i=y;return}return l.options.scrollBehavior=Pn.scrollBehavior,Pn.scrollBehavior?.(m,Kt,i||y)},history:s,routes:o});e.vueApp.use(l);const c=tn(l.currentRoute.value);l.afterEach((m,b)=>{c.value=b}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const u=tn(l.resolve(a)),f=()=>{u.value=l.currentRoute.value};e.hook("page:finish",f),l.afterEach((m,b)=>{m.matched[0]?.components?.default===b.matched[0]?.components?.default&&f()});const d={};for(const m in u.value)Object.defineProperty(d,m,{get:()=>u.value[m]});e._route=Qr(d),e._middleware=e._middleware||{global:[],named:{}};const p=Ji();try{[t,n]=Si(()=>l.isReady()),await t,n()}catch(m){[t,n]=Si(()=>e.runWithContext(()=>kr(m))),await t,n()}const h=e.payload.state._layout;return l.beforeEach(async(m,b)=>{m.meta=jt(m.meta),e.isHydrating&&h&&!dr(m.meta.layout)&&(m.meta.layout=h),e._processingMiddleware=!0;{const y=new Set([...ii,...e._middleware.global]);for(const v of m.matched){const w=v.meta.middleware;if(w)if(Array.isArray(w))for(const _ of w)y.add(_);else y.add(w)}for(const v of y){const w=typeof v=="string"?e._middleware.named[v]||await Il[v]?.().then(C=>C.default||C):v;if(!w)throw new Error(`Unknown route middleware: '${v}'.`);const _=await e.runWithContext(()=>w(m,b));if(!e.payload.serverRendered&&e.isHydrating&&(_===!1||_ instanceof Error)){const C=_||bl({statusCode:404,statusMessage:`Page Not Found: ${a}`});return await e.runWithContext(()=>kr(C)),!1}if(_!==!0&&(_||_===!1))return _}}}),l.onError(()=>{delete e._processingMiddleware}),l.afterEach(async(m,b,y)=>{delete e._processingMiddleware,!e.isHydrating&&p.value&&await e.runWithContext(o1),m.matched.length===0&&await e.runWithContext(()=>kr(bl({statusCode:404,fatal:!1,statusMessage:`Page not found: ${m.fullPath}`})))}),e.hooks.hookOnce("app:created",async()=>{try{await l.replace({...l.resolve(a),name:void 0,force:!0}),l.options.scrollBehavior=Pn.scrollBehavior}catch(m){await e.runWithContext(()=>kr(m))}}),{provide:{router:l}}}}),kk=Ht({name:"nuxt:payload",setup(e){Kb()&&(e.hooks.hook("link:prefetch",async t=>{So(t).protocol||await uf(t)}),it().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await uf(t.path);r&&Object.assign(e.static.data,r.data)}))}}),Ak=Ht({name:"nuxt:global-components"}),ar={default:()=>be(()=>import("./default.30ac8af4.js"),[],import.meta.url).then(e=>e.default||e),full:()=>be(()=>import("./full.03097bfb.js"),[],import.meta.url).then(e=>e.default||e),none:()=>be(()=>import("./none.2b3e8ddc.js"),[],import.meta.url).then(e=>e.default||e)},Rk=Ht({name:"nuxt:prefetch",setup(e){const t=it();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof ar[r]=="function"&&await ar[r]()})}),e.hooks.hook("link:prefetch",n=>{if(rs(n))return;const r=t.resolve(n);if(!r)return;const s=r?.meta?.layout;let o=Array.isArray(r?.meta?.middleware)?r?.meta?.middleware:[r?.meta?.middleware];o=o.filter(i=>typeof i=="string");for(const i of o)typeof Il[i]=="function"&&Il[i]();s&&typeof ar[s]=="function"&&ar[s]()})}}),$k="__NUXT_COLOR_MODE__",Nk="ColorScheme",Ok="nuxt-color-mode",on=window[$k],Ik=Ht(e=>{const t=ss("color-mode",()=>jt({preference:on.preference,value:on.value,unknown:!1,forced:!1})).value;it().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"?on.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=on.getColorScheme())}))}ze(()=>t.preference,s=>{t.forced||(s==="system"?(t.value=on.getColorScheme(),r()):t.value=s,window.localStorage?.setItem(Ok,s))},{immediate:!0}),ze(()=>t.value,(s,o)=>{on.removeColorScheme(o),on.addColorScheme(s)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=on.preference,t.value=on.value,t.unknown=!1)}),e.provide("colorMode",t)});const Lk=Ht(()=>{}),Mk=Ht({name:"nuxt:chunk-reload",setup(e){const t=it(),n=kc(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:s})=>{r.add(s)}),t.onError((s,o)=>{if(r.has(s)){const a="href"in o&&o.href.startsWith("#")?n.app.baseURL+o.href:Eo(n.app.baseURL,o.fullPath);P1({path:a,persistState:!0})}})}}),Dk=["top","right","bottom","left"],Ad=["start","end"],Rd=Dk.reduce((e,t)=>e.concat(t,t+"-"+Ad[0],t+"-"+Ad[1]),[]),go=Math.min,Zn=Math.max,Fk={left:"right",right:"left",bottom:"top",top:"bottom"},Bk={start:"end",end:"start"};function Ll(e,t,n){return Zn(e,go(t,n))}function br(e,t){return typeof e=="function"?e(t):e}function nn(e){return e.split("-")[0]}function Bt(e){return e.split("-")[1]}function ag(e){return e==="x"?"y":"x"}function Qc(e){return e==="y"?"height":"width"}function Ro(e){return["top","bottom"].includes(nn(e))?"y":"x"}function eu(e){return ag(Ro(e))}function lg(e,t,n){n===void 0&&(n=!1);const r=Bt(e),s=eu(e),o=Qc(s);let i=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=$i(i)),[i,$i(i)]}function jk(e){const t=$i(e);return[Ri(e),t,Ri(t)]}function Ri(e){return e.replace(/start|end/g,t=>Bk[t])}function zk(e,t,n){const r=["left","right"],s=["right","left"],o=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?s:r:t?r:s;case"left":case"right":return t?o:i;default:return[]}}function Hk(e,t,n,r){const s=Bt(e);let o=zk(nn(e),n==="start",r);return s&&(o=o.map(i=>i+"-"+s),t&&(o=o.concat(o.map(Ri)))),o}function $i(e){return e.replace(/left|right|bottom|top/g,t=>Fk[t])}function Uk(e){return{top:0,right:0,bottom:0,left:0,...e}}function cg(e){return typeof e!="number"?Uk(e):{top:e,right:e,bottom:e,left:e}}function Zs(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function $d(e,t,n){let{reference:r,floating:s}=e;const o=Ro(t),i=eu(t),a=Qc(i),l=nn(t),c=o==="y",u=r.x+r.width/2-s.width/2,f=r.y+r.height/2-s.height/2,d=r[a]/2-s[a]/2;let p;switch(l){case"top":p={x:u,y:r.y-s.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-s.width,y:f};break;default:p={x:r.x,y:r.y}}switch(Bt(t)){case"start":p[i]-=d*(n&&c?-1:1);break;case"end":p[i]+=d*(n&&c?-1:1);break}return p}const Vk=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:o=[],platform:i}=n,a=o.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:s}),{x:u,y:f}=$d(c,r,l),d=r,p={},h=0;for(let m=0;m<a.length;m++){const{name:b,fn:y}=a[m],{x:v,y:w,data:_,reset:C}=await y({x:u,y:f,initialPlacement:r,placement:d,strategy:s,middlewareData:p,rects:c,platform:i,elements:{reference:e,floating:t}});if(u=v??u,f=w??f,p={...p,[b]:{...p[b],..._}},C&&h<=50){h++,typeof C=="object"&&(C.placement&&(d=C.placement),C.rects&&(c=C.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:s}):C.rects),{x:u,y:f}=$d(c,d,l)),m=-1;continue}}return{x:u,y:f,placement:d,strategy:s,middlewareData:p}};async function la(e,t){var n;t===void 0&&(t={});const{x:r,y:s,platform:o,rects:i,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=br(t,e),h=cg(p),b=a[d?f==="floating"?"reference":"floating":f],y=Zs(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(b)))==null||n?b:b.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),v=f==="floating"?{...i.floating,x:r,y:s}:i.reference,w=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),_=await(o.isElement==null?void 0:o.isElement(w))?await(o.getScale==null?void 0:o.getScale(w))||{x:1,y:1}:{x:1,y:1},C=Zs(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:w,strategy:l}):v);return{top:(y.top-C.top+h.top)/_.y,bottom:(C.bottom-y.bottom+h.bottom)/_.y,left:(y.left-C.left+h.left)/_.x,right:(C.right-y.right+h.right)/_.x}}const Wk=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:s,rects:o,platform:i,elements:a}=t,{element:l,padding:c=0}=br(e,t)||{};if(l==null)return{};const u=cg(c),f={x:n,y:r},d=eu(s),p=Qc(d),h=await i.getDimensions(l),m=d==="y",b=m?"top":"left",y=m?"bottom":"right",v=m?"clientHeight":"clientWidth",w=o.reference[p]+o.reference[d]-f[d]-o.floating[p],_=f[d]-o.reference[d],C=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l));let g=C?C[v]:0;(!g||!await(i.isElement==null?void 0:i.isElement(C)))&&(g=a.floating[v]||o.floating[p]);const T=w/2-_/2,E=g/2-h[p]/2-1,x=go(u[b],E),P=go(u[y],E),S=x,k=g-h[p]-P,A=g/2-h[p]/2+T,R=Ll(S,A,k),L=Bt(s)!=null&&A!=R&&o.reference[p]/2-(A<S?x:P)-h[p]/2<0?A<S?S-A:k-A:0;return{[d]:f[d]-L,data:{[d]:R,centerOffset:A-R+L}}}});function Gk(e,t,n){return(e?[...n.filter(s=>Bt(s)===e),...n.filter(s=>Bt(s)!==e)]:n.filter(s=>nn(s)===s)).filter(s=>e?Bt(s)===e||(t?Ri(s)!==s:!1):!0)}const qk=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,s;const{rects:o,middlewareData:i,placement:a,platform:l,elements:c}=t,{crossAxis:u=!1,alignment:f,allowedPlacements:d=Rd,autoAlignment:p=!0,...h}=br(e,t),m=f!==void 0||d===Rd?Gk(f||null,p,d):d,b=await la(t,h),y=((n=i.autoPlacement)==null?void 0:n.index)||0,v=m[y];if(v==null)return{};const w=lg(v,o,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==v)return{reset:{placement:m[0]}};const _=[b[nn(v)],b[w[0]],b[w[1]]],C=[...((r=i.autoPlacement)==null?void 0:r.overflows)||[],{placement:v,overflows:_}],g=m[y+1];if(g)return{data:{index:y+1,overflows:C},reset:{placement:g}};const T=C.map(P=>{const S=Bt(P.placement);return[P.placement,S&&u?P.overflows.slice(0,2).reduce((k,A)=>k+A,0):P.overflows[0],P.overflows]}).sort((P,S)=>P[1]-S[1]),x=((s=T.filter(P=>P[2].slice(0,Bt(P[0])?2:3).every(S=>S<=0))[0])==null?void 0:s[0])||T[0][0];return x!==a?{data:{index:y+1,overflows:C},reset:{placement:x}}:{}}}},Kk=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:s,rects:o,initialPlacement:i,platform:a,elements:l}=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:h=!0,...m}=br(e,t),b=nn(r),y=nn(i)===i,v=await(a.isRTL==null?void 0:a.isRTL(l.floating)),w=f||(y||!h?[$i(i)]:jk(i));!f&&p!=="none"&&w.push(...Hk(i,h,p,v));const _=[i,...w],C=await la(t,m),g=[];let T=((n=s.flip)==null?void 0:n.overflows)||[];if(c&&g.push(C[b]),u){const S=lg(r,o,v);g.push(C[S[0]],C[S[1]])}if(T=[...T,{placement:r,overflows:g}],!g.every(S=>S<=0)){var E,x;const S=(((E=s.flip)==null?void 0:E.index)||0)+1,k=_[S];if(k)return{data:{index:S,overflows:T},reset:{placement:k}};let A=(x=T.filter(R=>R.overflows[0]<=0).sort((R,M)=>R.overflows[1]-M.overflows[1])[0])==null?void 0:x.placement;if(!A)switch(d){case"bestFit":{var P;const R=(P=T.map(M=>[M.placement,M.overflows.filter(L=>L>0).reduce((L,D)=>L+D,0)]).sort((M,L)=>M[1]-L[1])[0])==null?void 0:P[0];R&&(A=R);break}case"initialPlacement":A=i;break}if(r!==A)return{reset:{placement:A}}}return{}}}};async function Xk(e,t){const{placement:n,platform:r,elements:s}=e,o=await(r.isRTL==null?void 0:r.isRTL(s.floating)),i=nn(n),a=Bt(n),l=Ro(n)==="y",c=["left","top"].includes(i)?-1:1,u=o&&l?-1:1,f=br(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return a&&typeof h=="number"&&(p=a==="end"?h*-1:h),l?{x:p*u,y:d*c}:{x:d*c,y:p*u}}const Yk=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,s=await Xk(t,e);return{x:n+s.x,y:r+s.y,data:s}}}},Jk=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s}=t,{mainAxis:o=!0,crossAxis:i=!1,limiter:a={fn:b=>{let{x:y,y:v}=b;return{x:y,y:v}}},...l}=br(e,t),c={x:n,y:r},u=await la(t,l),f=Ro(nn(s)),d=ag(f);let p=c[d],h=c[f];if(o){const b=d==="y"?"top":"left",y=d==="y"?"bottom":"right",v=p+u[b],w=p-u[y];p=Ll(v,p,w)}if(i){const b=f==="y"?"top":"left",y=f==="y"?"bottom":"right",v=h+u[b],w=h-u[y];h=Ll(v,h,w)}const m=a.fn({...t,[d]:p,[f]:h});return{...m,data:{x:m.x-n,y:m.y-r}}}}},Zk=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:s,elements:o}=t,{apply:i=()=>{},...a}=br(e,t),l=await la(t,a),c=nn(n),u=Bt(n),f=Ro(n)==="y",{width:d,height:p}=r.floating;let h,m;c==="top"||c==="bottom"?(h=c,m=u===(await(s.isRTL==null?void 0:s.isRTL(o.floating))?"start":"end")?"left":"right"):(m=c,h=u==="end"?"top":"bottom");const b=p-l[h],y=d-l[m],v=!t.middlewareData.shift;let w=b,_=y;if(f){const g=d-l.left-l.right;_=u||v?go(y,g):g}else{const g=p-l.top-l.bottom;w=u||v?go(b,g):g}if(v&&!u){const g=Zn(l.left,0),T=Zn(l.right,0),E=Zn(l.top,0),x=Zn(l.bottom,0);f?_=d-2*(g!==0||T!==0?g+T:Zn(l.left,l.right)):w=p-2*(E!==0||x!==0?E+x:Zn(l.top,l.bottom))}await i({...t,availableWidth:_,availableHeight:w});const C=await s.getDimensions(o.floating);return d!==C.width||p!==C.height?{reset:{rects:!0}}:{}}}};function At(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Zt(e){return At(e).getComputedStyle(e)}const Nd=Math.min,Qs=Math.max,Ni=Math.round;function ug(e){const t=Zt(e);let n=parseFloat(t.width),r=parseFloat(t.height);const s=e.offsetWidth,o=e.offsetHeight,i=Ni(n)!==s||Ni(r)!==o;return i&&(n=s,r=o),{width:n,height:r,fallback:i}}function Vn(e){return dg(e)?(e.nodeName||"").toLowerCase():""}let Qo;function fg(){if(Qo)return Qo;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Qo=e.brands.map(t=>t.brand+"/"+t.version).join(" "),Qo):navigator.userAgent}function Qt(e){return e instanceof At(e).HTMLElement}function Bn(e){return e instanceof At(e).Element}function dg(e){return e instanceof At(e).Node}function Od(e){return typeof ShadowRoot>"u"?!1:e instanceof At(e).ShadowRoot||e instanceof ShadowRoot}function ca(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=Zt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(s)}function Qk(e){return["table","td","th"].includes(Vn(e))}function Ml(e){const t=/firefox/i.test(fg()),n=Zt(e),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!r&&r!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(s=>n.willChange.includes(s))||["paint","layout","strict","content"].some(s=>{const o=n.contain;return o!=null&&o.includes(s)})}function hg(){return!/^((?!chrome|android).)*safari/i.test(fg())}function tu(e){return["html","body","#document"].includes(Vn(e))}function pg(e){return Bn(e)?e:e.contextElement}const mg={x:1,y:1};function Fr(e){const t=pg(e);if(!Qt(t))return mg;const n=t.getBoundingClientRect(),{width:r,height:s,fallback:o}=ug(t);let i=(o?Ni(n.width):n.width)/r,a=(o?Ni(n.height):n.height)/s;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}function vo(e,t,n,r){var s,o;t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=pg(e);let l=mg;t&&(r?Bn(r)&&(l=Fr(r)):l=Fr(e));const c=a?At(a):window,u=!hg()&&n;let f=(i.left+(u&&((s=c.visualViewport)==null?void 0:s.offsetLeft)||0))/l.x,d=(i.top+(u&&((o=c.visualViewport)==null?void 0:o.offsetTop)||0))/l.y,p=i.width/l.x,h=i.height/l.y;if(a){const m=At(a),b=r&&Bn(r)?At(r):r;let y=m.frameElement;for(;y&&r&&b!==m;){const v=Fr(y),w=y.getBoundingClientRect(),_=getComputedStyle(y);w.x+=(y.clientLeft+parseFloat(_.paddingLeft))*v.x,w.y+=(y.clientTop+parseFloat(_.paddingTop))*v.y,f*=v.x,d*=v.y,p*=v.x,h*=v.y,f+=w.x,d+=w.y,y=At(y).frameElement}}return{width:p,height:h,top:d,right:f+p,bottom:d+h,left:f,x:f,y:d}}function jn(e){return((dg(e)?e.ownerDocument:e.document)||window.document).documentElement}function ua(e){return Bn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function gg(e){return vo(jn(e)).left+ua(e).scrollLeft}function yo(e){if(Vn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Od(e)&&e.host||jn(e);return Od(t)?t.host:t}function vg(e){const t=yo(e);return tu(t)?t.ownerDocument.body:Qt(t)&&ca(t)?t:vg(t)}function Oi(e,t){var n;t===void 0&&(t=[]);const r=vg(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),o=At(r);return s?t.concat(o,o.visualViewport||[],ca(r)?r:[]):t.concat(r,Oi(r))}function Id(e,t,n){return t==="viewport"?Zs(function(r,s){const o=At(r),i=jn(r),a=o.visualViewport;let l=i.clientWidth,c=i.clientHeight,u=0,f=0;if(a){l=a.width,c=a.height;const d=hg();(d||!d&&s==="fixed")&&(u=a.offsetLeft,f=a.offsetTop)}return{width:l,height:c,x:u,y:f}}(e,n)):Bn(t)?Zs(function(r,s){const o=vo(r,!0,s==="fixed"),i=o.top+r.clientTop,a=o.left+r.clientLeft,l=Qt(r)?Fr(r):{x:1,y:1};return{width:r.clientWidth*l.x,height:r.clientHeight*l.y,x:a*l.x,y:i*l.y}}(t,n)):Zs(function(r){const s=jn(r),o=ua(r),i=r.ownerDocument.body,a=Qs(s.scrollWidth,s.clientWidth,i.scrollWidth,i.clientWidth),l=Qs(s.scrollHeight,s.clientHeight,i.scrollHeight,i.clientHeight);let c=-o.scrollLeft+gg(r);const u=-o.scrollTop;return Zt(i).direction==="rtl"&&(c+=Qs(s.clientWidth,i.clientWidth)-a),{width:a,height:l,x:c,y:u}}(jn(e)))}function Ld(e){return Qt(e)&&Zt(e).position!=="fixed"?e.offsetParent:null}function Md(e){const t=At(e);let n=Ld(e);for(;n&&Qk(n)&&Zt(n).position==="static";)n=Ld(n);return n&&(Vn(n)==="html"||Vn(n)==="body"&&Zt(n).position==="static"&&!Ml(n))?t:n||function(r){let s=yo(r);for(;Qt(s)&&!tu(s);){if(Ml(s))return s;s=yo(s)}return null}(e)||t}function eA(e,t,n){const r=Qt(t),s=jn(t),o=vo(e,!0,n==="fixed",t);let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((Vn(t)!=="body"||ca(s))&&(i=ua(t)),Qt(t)){const l=vo(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else s&&(a.x=gg(s));return{x:o.left+i.scrollLeft-a.x,y:o.top+i.scrollTop-a.y,width:o.width,height:o.height}}const tA={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const o=n==="clippingAncestors"?function(c,u){const f=u.get(c);if(f)return f;let d=Oi(c).filter(b=>Bn(b)&&Vn(b)!=="body"),p=null;const h=Zt(c).position==="fixed";let m=h?yo(c):c;for(;Bn(m)&&!tu(m);){const b=Zt(m),y=Ml(m);(h?y||p:y||b.position!=="static"||!p||!["absolute","fixed"].includes(p.position))?p=b:d=d.filter(v=>v!==m),m=yo(m)}return u.set(c,d),d}(t,this._c):[].concat(n),i=[...o,r],a=i[0],l=i.reduce((c,u)=>{const f=Id(t,u,s);return c.top=Qs(f.top,c.top),c.right=Nd(f.right,c.right),c.bottom=Nd(f.bottom,c.bottom),c.left=Qs(f.left,c.left),c},Id(t,a,s));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const s=Qt(n),o=jn(n);if(n===o)return t;let i={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((s||!s&&r!=="fixed")&&((Vn(n)!=="body"||ca(o))&&(i=ua(n)),Qt(n))){const c=vo(n);a=Fr(n),l.x=c.x+n.clientLeft,l.y=c.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-i.scrollLeft*a.x+l.x,y:t.y*a.y-i.scrollTop*a.y+l.y}},isElement:Bn,getDimensions:function(e){return Qt(e)?ug(e):e.getBoundingClientRect()},getOffsetParent:Md,getDocumentElement:jn,getScale:Fr,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const s=this.getOffsetParent||Md,o=this.getDimensions;return{reference:eA(t,await s(n),r),floating:{x:0,y:0,...await o(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Zt(e).direction==="rtl"},nA=(e,t,n)=>{const r=new Map,s={platform:tA,...n},o={...s.platform,_c:r};return Vk(e,t,{...s,platform:o})};function yg(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?yg(e[n],t[n]):e[n]=t[n])}const pn={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function _o(e,t){let n=pn.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=pn.themes[n.$extend]||{}:(n=null,r=pn[t]):n=null;while(n);return r}function rA(e){const t=[e];let n=pn.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=pn.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function Dd(e){const t=[e];let n=pn.themes[e]||{};do n.$extend?(t.push(n.$extend),n=pn.themes[n.$extend]||{}):n=null;while(n);return t}let gr=!1;if(typeof window<"u"){gr=!1;try{const e=Object.defineProperty({},"passive",{get(){gr=!0}});window.addEventListener("test",null,e)}catch{}}let _g=!1;typeof window<"u"&&typeof navigator<"u"&&(_g=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const bg=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Fd={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Bd={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function jd(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function Wa(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const Mt=[];let Xn=null;const zd={};function Hd(e){let t=zd[e];return t||(t=zd[e]=[]),t}let Dl=function(){};typeof window<"u"&&(Dl=window.Element);function ke(e){return function(t){return _o(t.theme,e)}}const Ga="__floating-vue__popper",wg=()=>Te({name:"VPopper",provide(){return{[Ga]:{parentPopper:this}}},inject:{[Ga]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:ke("disabled")},positioningDisabled:{type:Boolean,default:ke("positioningDisabled")},placement:{type:String,default:ke("placement"),validator:e=>bg.includes(e)},delay:{type:[String,Number,Object],default:ke("delay")},distance:{type:[Number,String],default:ke("distance")},skidding:{type:[Number,String],default:ke("skidding")},triggers:{type:Array,default:ke("triggers")},showTriggers:{type:[Array,Function],default:ke("showTriggers")},hideTriggers:{type:[Array,Function],default:ke("hideTriggers")},popperTriggers:{type:Array,default:ke("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:ke("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:ke("popperHideTriggers")},container:{type:[String,Object,Dl,Boolean],default:ke("container")},boundary:{type:[String,Dl],default:ke("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:ke("strategy")},autoHide:{type:[Boolean,Function],default:ke("autoHide")},handleResize:{type:Boolean,default:ke("handleResize")},instantMove:{type:Boolean,default:ke("instantMove")},eagerMount:{type:Boolean,default:ke("eagerMount")},popperClass:{type:[String,Array,Object],default:ke("popperClass")},computeTransformOrigin:{type:Boolean,default:ke("computeTransformOrigin")},autoMinSize:{type:Boolean,default:ke("autoMinSize")},autoSize:{type:[Boolean,String],default:ke("autoSize")},autoMaxSize:{type:Boolean,default:ke("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:ke("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:ke("preventOverflow")},overflowPadding:{type:[Number,String],default:ke("overflowPadding")},arrowPadding:{type:[Number,String],default:ke("arrowPadding")},arrowOverflow:{type:Boolean,default:ke("arrowOverflow")},flip:{type:Boolean,default:ke("flip")},shift:{type:Boolean,default:ke("shift")},shiftCrossAxis:{type:Boolean,default:ke("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:ke("noAutoFocus")},disposeTimeout:{type:Number,default:ke("disposeTimeout")}},emits:["show","hide","update:shown","apply-show","apply-hide","close-group","close-directive","auto-hide","resize","dispose"],data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[Ga])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((e,t)=>(e[t]="$_refreshListeners",e),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var r,s;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(n||!this.disabled)&&(((s=this.parentPopper)==null?void 0:s.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.$_isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(Yk({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(qk({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(Jk({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(Kk({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(Wk({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:s,middlewareData:o})=>{let i;const{centerOffset:a}=o.arrow;return r.startsWith("top")||r.startsWith("bottom")?i=Math.abs(a)>s.reference.width/2:i=Math.abs(a)>s.reference.height/2,{data:{overflow:i}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:s,placement:o,middlewareData:i})=>{var a;if((a=i.autoSize)!=null&&a.skip)return{};let l,c;return o.startsWith("top")||o.startsWith("bottom")?l=s.reference.width:c=s.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=c!=null?`${c}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(Zk({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:s})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=s!=null?`${s}px`:null}})));const n=await nA(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e=null,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Xn&&this.instantMove&&Xn.instantMove&&Xn!==this.parentPopper){Xn.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e=null,t=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Xn=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await Wa(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Oi(this.$_referenceNode),...Oi(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),r=n.parentNode.getBoundingClientRect(),s=t.x+t.width/2-(r.left+n.offsetLeft),o=t.y+t.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${s}px ${o}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<Mt.length;n++)t=Mt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}Mt.push(this),document.body.classList.add("v-popper--some-open");for(const t of Dd(this.theme))Hd(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Wa(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,jd(Mt,this),Mt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Dd(this.theme)){const r=Hd(n);jd(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Xn===this&&(Xn=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Wa(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,Fd,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Fd,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,Bd,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Bd,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(r=>r.addEventListener(t,n,gr?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,r,s){let o=n;r!=null&&(o=typeof r=="function"?r(o):r),o.forEach(i=>{const a=t[i];a&&this.$_registerEventListeners(e,a,s)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:s,handler:o}=n;!e||e===s?r.forEach(i=>i.removeEventListener(s,o)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const r=n.getAttribute(e);r&&(n.removeAttribute(e),n.setAttribute(t,r))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const r=e[n];r==null?t.removeAttribute(n):t.setAttribute(n,r)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.$_pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(eo>=e.left&&eo<=e.right&&to>=e.top&&to<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=eo-An,r=to-Rn,s=t.left+t.width/2-An+(t.top+t.height/2)-Rn+t.width+t.height,o=An+n*s,i=Rn+r*s;return ei(An,Rn,o,i,t.left,t.top,t.left,t.bottom)||ei(An,Rn,o,i,t.left,t.top,t.right,t.top)||ei(An,Rn,o,i,t.right,t.top,t.right,t.bottom)||ei(An,Rn,o,i,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(_g?(document.addEventListener("touchstart",Ud,gr?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",oA,gr?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",Ud,!0),window.addEventListener("click",sA,!0)),window.addEventListener("resize",lA));function Ud(e){for(let t=0;t<Mt.length;t++){const n=Mt[t];try{const r=n.popperNode();n.$_mouseDownContains=r.contains(e.target)}catch{}}}function sA(e){xg(e)}function oA(e){xg(e,!0)}function xg(e,t=!1){const n={};for(let r=Mt.length-1;r>=0;r--){const s=Mt[r];try{const o=s.$_containsGlobalTarget=iA(s,e);s.$_pendingHide=!1,requestAnimationFrame(()=>{if(s.$_pendingHide=!1,!n[s.randomId]&&Vd(s,o,e)){if(s.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&o){let a=s.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let i=s.parentPopper;for(;i&&Vd(i,i.$_containsGlobalTarget,e);)i.$_handleGlobalClose(e,t),i=i.parentPopper}})}catch{}}}function iA(e,t){const n=e.popperNode();return e.$_mouseDownContains||n.contains(t.target)}function Vd(e,t,n){return n.closeAllPopover||n.closePopover&&t||aA(e,n)&&!t}function aA(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function lA(e){for(let t=0;t<Mt.length;t++)Mt[t].$_computePosition(e)}let An=0,Rn=0,eo=0,to=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{An=eo,Rn=to,eo=e.clientX,to=e.clientY},gr?{passive:!0}:void 0);function ei(e,t,n,r,s,o,i,a){const l=((i-s)*(t-o)-(a-o)*(e-s))/((a-o)*(n-e)-(i-s)*(r-t)),c=((n-e)*(t-o)-(r-t)*(e-s))/((a-o)*(n-e)-(i-s)*(r-t));return l>=0&&l<=1&&c>=0&&c<=1}const cA={extends:wg()},fa=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};function uA(e,t,n,r,s,o){return Z(),ve("div",{ref:"reference",class:Ye(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[st(e.$slots,"default",Ql(Ki(e.slotData)))],2)}const fA=fa(cA,[["render",uA]]);function dA(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var s=e.indexOf("Edge/");return s>0?parseInt(e.substring(s+5,e.indexOf(".",s)),10):-1}let ai;function Fl(){Fl.init||(Fl.init=!0,ai=dA()!==-1)}var da={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Fl(),Et(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",ai&&this.$el.appendChild(e),e.data="about:blank",ai||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!ai&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const hA=ay();oy("data-v-b329ee4c");const pA={class:"resize-observer",tabindex:"-1"};iy();const mA=hA((e,t,n,r,s,o)=>(Z(),Se("div",pA)));da.render=mA;da.__scopeId="data-v-b329ee4c";da.__file="src/components/ResizeObserver.vue";const Eg=(e="theme")=>({computed:{themeClass(){return rA(this[e])}}}),gA=Te({name:"VPopperContent",components:{ResizeObserver:da},mixins:[Eg()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),vA=["id","aria-hidden","tabindex","data-popper-placement"],yA={ref:"inner",class:"v-popper__inner"},_A=Y("div",{class:"v-popper__arrow-outer"},null,-1),bA=Y("div",{class:"v-popper__arrow-inner"},null,-1),wA=[_A,bA];function xA(e,t,n,r,s,o){const i=gn("ResizeObserver");return Z(),ve("div",{id:e.popperId,ref:"popover",class:Ye(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:hn(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=xp(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[Y("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),Y("div",{class:"v-popper__wrapper",style:hn(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[Y("div",yA,[e.mounted?(Z(),ve(Oe,{key:0},[Y("div",null,[st(e.$slots,"default")]),e.handleResize?(Z(),Se(i,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):Ge("",!0)],64)):Ge("",!0)],512),Y("div",{ref:"arrow",class:"v-popper__arrow-container",style:hn(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},wA,4)],4)],46,vA)}const Sg=fa(gA,[["render",xA]]),Cg={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}},EA=Te({name:"VPopperWrapper",components:{Popper:fA,PopperContent:Sg},mixins:[Cg,Eg("finalTheme")],props:{theme:{type:String,default:null}},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function SA(e,t,n,r,s,o){const i=gn("PopperContent"),a=gn("Popper");return Z(),Se(a,{ref:"popper",theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:Ye([e.themeClass])},{default:he(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,show:p,hide:h,handleResize:m,onResize:b,classes:y,result:v})=>[st(e.$slots,"default",{shown:c,show:p,hide:h}),J(i,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":m,classes:y,result:v,onHide:h,onResize:b},{default:he(()=>[st(e.$slots,"popper",{shown:c,hide:h})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},8,["theme","target-nodes","popper-node","class"])}const nu=fa(EA,[["render",SA]]),CA={...nu,name:"VDropdown",vPopperTheme:"dropdown"},TA={...nu,name:"VMenu",vPopperTheme:"menu"},PA={...nu,name:"VTooltip",vPopperTheme:"tooltip"},kA=Te({name:"VTooltipDirective",components:{Popper:wg(),PopperContent:Sg},mixins:[Cg],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>_o(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>_o(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(r=>this.onResult(t,r)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),AA=["innerHTML"],RA=["textContent"];function $A(e,t,n,r,s,o){const i=gn("PopperContent"),a=gn("Popper");return Z(),Se(a,yn({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:he(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,hide:p,handleResize:h,onResize:m,classes:b,result:y})=>[J(i,{ref:"popperContent",class:Ye({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":h,classes:b,result:y,onHide:p,onResize:m},{default:he(()=>[e.html?(Z(),ve("div",{key:0,innerHTML:e.finalContent},null,8,AA)):(Z(),ve("div",{key:1,textContent:dt(e.finalContent)},null,8,RA))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const NA=fa(kA,[["render",$A]]),Tg="v-popper--has-tooltip";function OA(e,t){let n=e.placement;if(!n&&t)for(const r of bg)t[r]&&(n=r);return n||(n=_o(e.theme||"tooltip","placement")),n}function Pg(e,t,n){let r;const s=typeof t;return s==="string"?r={content:t}:t&&s==="object"?r=t:r={content:!1},r.placement=OA(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let qa,bo,IA=0;function LA(){if(qa)return;bo=Q([]),qa=Sp({name:"VTooltipDirectiveApp",setup(){return{directives:bo}},render(){return this.directives.map(t=>Je(NA,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),qa.mount(e)}function MA(e,t,n){LA();const r=Q(Pg(e,t,n)),s=Q(!1),o={id:IA++,options:r,shown:s};return bo.value.push(o),e.classList&&e.classList.add(Tg),e.$_popper={options:r,item:o,show(){s.value=!0},hide(){s.value=!1}}}function kg(e){if(e.$_popper){const t=bo.value.indexOf(e.$_popper.item);t!==-1&&bo.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Tg)}function Wd(e,{value:t,modifiers:n}){const r=Pg(e,t,n);if(!r.content||_o(r.theme||"tooltip","disabled"))kg(e);else{let s;e.$_popper?(s=e.$_popper,s.options.value=r):s=MA(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?s.show():s.hide())}}const DA={beforeMount:Wd,updated:Wd,beforeUnmount(e){kg(e)}};function Gd(e){e.addEventListener("click",Ag),e.addEventListener("touchstart",Rg,gr?{passive:!0}:!1)}function qd(e){e.removeEventListener("click",Ag),e.removeEventListener("touchstart",Rg),e.removeEventListener("touchend",$g),e.removeEventListener("touchcancel",Ng)}function Ag(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Rg(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",$g),t.addEventListener("touchcancel",Ng)}}function $g(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],r=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function Ng(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const FA={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&Gd(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?Gd(e):qd(e))},beforeUnmount(e){qd(e)}};function BA(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,yg(pn,t),e.directive("tooltip",DA),e.directive("close-popper",FA),e.component("VTooltip",PA),e.component("VDropdown",CA),e.component("VMenu",TA))}const jA={version:"2.0.0-beta.24",install:BA,options:pn},zA=Ht(e=>{e.vueApp.use(jA)}),HA=Ht(()=>{const e=ut(),t=ak(),n=it();function r(){Rh(e)}function s(i){t.value=i}function o(i,a,l,c){const u=`./${a}:${l}:${c}`;De.openInEditor(u)}Object.defineProperty(window,"__NUXT_DEVTOOLS_VIEW__",{value:{setClient(i){e.value!==i&&(e.value=i,i.hooks.hook("host:update:reactivity",r),i.hooks.hook("host:inspector:update",s),i.hooks.hook("host:inspector:click",o),i.hooks.hook("host:action:reload",()=>location.reload()),i.hooks.hook("host:action:navigate",a=>n.push(a)),console.log("[nuxt-devtools] Client connected",i))}},enumerable:!1,configurable:!0}),n.afterEach(()=>{const i=n.currentRoute.value?.path;!i||i.includes("__")||e.value?.hooks.callHook("devtools:navigate",i)})}),UA=[a1,I1,Pk,kk,Ak,Rk,Ik,Lk,Mk,zA,HA],VA=Te({name:"NuxtLoadingIndicator",props:{throttle:{type:Number,default:200},duration:{type:Number,default:2e3},height:{type:Number,default:3},color:{type:[String,Boolean],default:"repeating-linear-gradient(to right,#00dc82 0%,#34cdfe 50%,#0047e1 100%)"}},setup(e,{slots:t}){const n=WA({duration:e.duration,throttle:e.throttle}),r=Le(),s=it();ii.unshift(n.start),s.onError(()=>{n.finish()}),s.beforeResolve((a,l)=>{(a===l||a.matched.every((c,u)=>c.components&&c.components?.default===l.matched[u]?.components?.default))&&n.finish()}),s.afterEach((a,l,c)=>{c&&n.finish()});const o=r.hook("page:finish",n.finish),i=r.hook("vue:error",n.finish);return ns(()=>{const a=ii.indexOf(n.start);a>=0&&ii.splice(a,1),o(),i(),n.clear()}),()=>Je("div",{class:"nuxt-loading-indicator",style:{position:"fixed",top:0,right:0,left:0,pointerEvents:"none",width:"auto",height:`${e.height}px`,opacity:n.isLoading.value?1:0,background:e.color||void 0,backgroundSize:`${100/n.progress.value*100}% auto`,transform:`scaleX(${n.progress.value}%)`,transformOrigin:"left",transition:"transform 0.1s, height 0.4s, opacity 0.4s",zIndex:999999}},t)}});function WA(e){const t=Q(0),n=Q(!1),r=ge(()=>1e4/e.duration);let s=null,o=null;function i(){l(),t.value=0,e.throttle?o=setTimeout(()=>{n.value=!0,f()},e.throttle):(n.value=!0,f())}function a(){t.value=100,u()}function l(){clearInterval(s),clearTimeout(o),s=null,o=null}function c(d){t.value=Math.min(100,t.value+d)}function u(){l(),setTimeout(()=>{n.value=!1,setTimeout(()=>{t.value=0},400)},500)}function f(){s=setInterval(()=>{c(r.value)},100)}return{progress:t,isLoading:n,start:i,finish:a,clear:l}}const GA=Te({__name:"Notification",setup(e){const t=Q(!1),n=Q(),r=Q(),s=Q();return eE(o=>{r.value=o.message,n.value=o.icon,s.value=o.classes??"text-primary",t.value=!0,setTimeout(()=>{t.value=!1},o.duration??1500)}),(o,i)=>(Z(),ve("div",{fixed:"","left-0":"","right-0":"","top-0":"","z-999":"","text-center":"",class:Ye(j(t)?"":"pointer-events-none overflow-hidden")},[Y("div",{border:"~ base",flex:"~ inline gap2","m-3":"","inline-block":"","items-center":"",rounded:"","px-4":"","py-1":"","transition-all":"","duration-300":"","bg-base":"",style:hn(j(t)?{}:{transform:"translateY(-300%)"}),class:Ye([j(t)?"shadow":"shadow-none",j(s)])},[j(n)?(Z(),ve("div",{key:0,class:Ye(j(n))},null,2)):Ge("",!0),Y("div",null,dt(j(r)),1)],6)],2))}}),ls=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},qA={},KA={class:"n-loading n-panel-grids-center"},XA={class:"flex flex-col animate-pulse items-center text-lg"},YA=Y("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function JA(e,t){return Z(),ve("div",KA,[Y("div",XA,[YA,st(e.$slots,"default",{},()=>[Ie(" Loading... ")])])])}const ZA=ls(qA,[["render",JA]]),cs=Te({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(Z(),ve("div",{class:Ye(["n-icon",t.icon])},null,2))}}),wr=Te({__name:"NButton",props:{to:{},icon:{}},setup(e){return(t,n)=>{const r=cs;return Z(),Se(hr(t.to?j(Ac):"button"),yn({to:t.to},t.$attrs,{class:"n-button n-button-base active:n-button-active focus-visible:n-focus-base n-transition hover:n-button-hover n-disabled:n-disabled"}),{default:he(()=>[st(t.$slots,"icon",{},()=>[t.icon?(Z(),Se(r,{key:0,icon:t.icon,class:"n-button-icon"},null,8,["icon"])):Ge("",!0)]),st(t.$slots,"default")]),_:3},16,["to"])}}}),QA=Te({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=Q(!1);return xn(()=>{r.value=!0}),s=>{if(r.value)return t.default?.();const o=t.fallback||t.placeholder;if(o)return o();const i=s.fallback||s.placeholder||"",a=s.fallbackTag||s.placeholderTag||"span";return ve(a,n,i)}}}),eR={name:Nk,props:{placeholder:String,tag:{type:String,default:"span"}}};function tR(e,t,n,r,s,o){const i=QA;return Z(),Se(i,{placeholder:n.placeholder,"placeholder-tag":n.tag},{default:he(()=>[st(e.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const nR=ls(eR,[["render",tR]]),rR=Te({__name:"NDarkToggle",setup(e){const t=qc(),n=ge({get(){return t.value==="dark"},set(){t.preference=n.value?"light":"dark"}}),r=typeof document<"u"&&document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches;function s(i){if(!r||!i){n.value=!n.value;return}const a=i.clientX,l=i.clientY,c=Math.hypot(Math.max(a,innerWidth-a),Math.max(l,innerHeight-l));document.startViewTransition(async()=>{n.value=!n.value,await Et()}).ready.then(()=>{const f=[`circle(0px at ${a}px ${l}px)`,`circle(${c}px at ${a}px ${l}px)`];document.documentElement.animate({clipPath:n.value?[...f].reverse():f},{duration:400,easing:"ease-in",pseudoElement:n.value?"::view-transition-old(root)":"::view-transition-new(root)"})})}const o={mode:t,isDark:n,toggle:s};return(i,a)=>{const l=nR;return Z(),Se(l,{tag:"span"},{default:he(()=>[st(i.$slots,"default",Ql(Ki(o)))]),_:3})}}}),sR={},oR={class:"n-card n-card-base"};function iR(e,t){return Z(),ve("div",oR,[st(e.$slots,"default")])}const ru=ls(sR,[["render",iR]]);/*!
|
|
20
|
+
* tabbable 6.2.0
|
|
21
|
+
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
22
|
+
*/var Og=["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])"],Ii=Og.join(","),Ig=typeof Element>"u",vr=Ig?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Li=!Ig&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e?.ownerDocument},Mi=function e(t,n){var r;n===void 0&&(n=!0);var s=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"inert"),o=s===""||s==="true",i=o||n&&t&&e(t.parentNode);return i},aR=function(t){var n,r=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return r===""||r==="true"},Lg=function(t,n,r){if(Mi(t))return[];var s=Array.prototype.slice.apply(t.querySelectorAll(Ii));return n&&vr.call(t,Ii)&&s.unshift(t),s=s.filter(r),s},Mg=function e(t,n,r){for(var s=[],o=Array.from(t);o.length;){var i=o.shift();if(!Mi(i,!1))if(i.tagName==="SLOT"){var a=i.assignedElements(),l=a.length?a:i.children,c=e(l,!0,r);r.flatten?s.push.apply(s,c):s.push({scopeParent:i,candidates:c})}else{var u=vr.call(i,Ii);u&&r.filter(i)&&(n||!t.includes(i))&&s.push(i);var f=i.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(i),d=!Mi(f,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(f&&d){var p=e(f===!0?i.children:f.children,!0,r);r.flatten?s.push.apply(s,p):s.push({scopeParent:i,candidates:p})}else o.unshift.apply(o,i.children)}}return s},Dg=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},nr=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||aR(t))&&!Dg(t)?0:t.tabIndex},lR=function(t,n){var r=nr(t);return r<0&&n&&!Dg(t)?0:r},cR=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},Fg=function(t){return t.tagName==="INPUT"},uR=function(t){return Fg(t)&&t.type==="hidden"},fR=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},dR=function(t,n){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===n)return t[r]},hR=function(t){if(!t.name)return!0;var n=t.form||Li(t),r=function(a){return n.querySelectorAll('input[type="radio"][name="'+a+'"]')},s;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")s=r(window.CSS.escape(t.name));else try{s=r(t.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var o=dR(s,t.form);return!o||o===t},pR=function(t){return Fg(t)&&t.type==="radio"},mR=function(t){return pR(t)&&!hR(t)},gR=function(t){var n,r=t&&Li(t),s=(n=r)===null||n===void 0?void 0:n.host,o=!1;if(r&&r!==t){var i,a,l;for(o=!!((i=s)!==null&&i!==void 0&&(a=i.ownerDocument)!==null&&a!==void 0&&a.contains(s)||t!=null&&(l=t.ownerDocument)!==null&&l!==void 0&&l.contains(t));!o&&s;){var c,u,f;r=Li(s),s=(c=r)===null||c===void 0?void 0:c.host,o=!!((u=s)!==null&&u!==void 0&&(f=u.ownerDocument)!==null&&f!==void 0&&f.contains(s))}}return o},Kd=function(t){var n=t.getBoundingClientRect(),r=n.width,s=n.height;return r===0&&s===0},vR=function(t,n){var r=n.displayCheck,s=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var o=vr.call(t,"details>summary:first-of-type"),i=o?t.parentElement:t;if(vr.call(i,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof s=="function"){for(var a=t;t;){var l=t.parentElement,c=Li(t);if(l&&!l.shadowRoot&&s(l)===!0)return Kd(t);t.assignedSlot?t=t.assignedSlot:!l&&c!==t.ownerDocument?t=c.host:t=l}t=a}if(gR(t))return!t.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return Kd(t);return!1},yR=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var r=0;r<n.children.length;r++){var s=n.children.item(r);if(s.tagName==="LEGEND")return vr.call(n,"fieldset[disabled] *")?!0:!s.contains(t)}return!0}n=n.parentElement}return!1},Di=function(t,n){return!(n.disabled||Mi(n)||uR(n)||vR(n,t)||fR(n)||yR(n))},Bl=function(t,n){return!(mR(n)||nr(n)<0||!Di(t,n))},_R=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},bR=function e(t){var n=[],r=[];return t.forEach(function(s,o){var i=!!s.scopeParent,a=i?s.scopeParent:s,l=lR(a,i),c=i?e(s.candidates):a;l===0?i?n.push.apply(n,c):n.push(a):r.push({documentOrder:o,tabIndex:l,item:s,isScope:i,content:c})}),r.sort(cR).reduce(function(s,o){return o.isScope?s.push.apply(s,o.content):s.push(o.content),s},[]).concat(n)},wR=function(t,n){n=n||{};var r;return n.getShadowRoot?r=Mg([t],n.includeContainer,{filter:Bl.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:_R}):r=Lg(t,n.includeContainer,Bl.bind(null,n)),bR(r)},xR=function(t,n){n=n||{};var r;return n.getShadowRoot?r=Mg([t],n.includeContainer,{filter:Di.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):r=Lg(t,n.includeContainer,Di.bind(null,n)),r},Tr=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return vr.call(t,Ii)===!1?!1:Bl(n,t)},ER=Og.concat("iframe").join(","),Ka=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return vr.call(t,ER)===!1?!1:Di(n,t)};/*!
|
|
23
|
+
* focus-trap 7.5.2
|
|
24
|
+
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
25
|
+
*/function Xd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function Yd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Xd(Object(n),!0).forEach(function(r){SR(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xd(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function SR(e,t,n){return t=TR(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function CR(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function TR(e){var t=CR(e,"string");return typeof t=="symbol"?t:String(t)}var Jd={activateTrap:function(t,n){if(t.length>0){var r=t[t.length-1];r!==n&&r.pause()}var s=t.indexOf(n);s===-1||t.splice(s,1),t.push(n)},deactivateTrap:function(t,n){var r=t.indexOf(n);r!==-1&&t.splice(r,1),t.length>0&&t[t.length-1].unpause()}},PR=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},kR=function(t){return t?.key==="Escape"||t?.key==="Esc"||t?.keyCode===27},no=function(t){return t?.key==="Tab"||t?.keyCode===9},AR=function(t){return no(t)&&!t.shiftKey},RR=function(t){return no(t)&&t.shiftKey},Zd=function(t){return setTimeout(t,0)},Qd=function(t,n){var r=-1;return t.every(function(s,o){return n(s)?(r=o,!1):!0}),r},Bs=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),s=1;s<n;s++)r[s-1]=arguments[s];return typeof t=="function"?t.apply(void 0,r):t},ti=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},$R=[],NR=function(t,n){var r=n?.document||document,s=n?.trapStack||$R,o=Yd({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:AR,isKeyBackward:RR},n),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},a,l=function(S,k,A){return S&&S[k]!==void 0?S[k]:o[A||k]},c=function(S,k){var A=typeof k?.composedPath=="function"?k.composedPath():void 0;return i.containerGroups.findIndex(function(R){var M=R.container,L=R.tabbableNodes;return M.contains(S)||A?.includes(M)||L.find(function(D){return D===S})})},u=function(S){var k=o[S];if(typeof k=="function"){for(var A=arguments.length,R=new Array(A>1?A-1:0),M=1;M<A;M++)R[M-1]=arguments[M];k=k.apply(void 0,R)}if(k===!0&&(k=void 0),!k){if(k===void 0||k===!1)return k;throw new Error("`".concat(S,"` was specified but was not a node, or did not return a node"))}var L=k;if(typeof k=="string"&&(L=r.querySelector(k),!L))throw new Error("`".concat(S,"` as selector refers to no known node"));return L},f=function(){var S=u("initialFocus");if(S===!1)return!1;if(S===void 0||!Ka(S,o.tabbableOptions))if(c(r.activeElement)>=0)S=r.activeElement;else{var k=i.tabbableGroups[0],A=k&&k.firstTabbableNode;S=A||u("fallbackFocus")}if(!S)throw new Error("Your focus-trap needs to have at least one focusable element");return S},d=function(){if(i.containerGroups=i.containers.map(function(S){var k=wR(S,o.tabbableOptions),A=xR(S,o.tabbableOptions),R=k.length>0?k[0]:void 0,M=k.length>0?k[k.length-1]:void 0,L=A.find(function(U){return Tr(U)}),D=A.slice().reverse().find(function(U){return Tr(U)}),F=!!k.find(function(U){return nr(U)>0});return{container:S,tabbableNodes:k,focusableNodes:A,posTabIndexesFound:F,firstTabbableNode:R,lastTabbableNode:M,firstDomTabbableNode:L,lastDomTabbableNode:D,nextTabbableNode:function(re){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,ne=k.indexOf(re);return ne<0?se?A.slice(A.indexOf(re)+1).find(function(me){return Tr(me)}):A.slice(0,A.indexOf(re)).reverse().find(function(me){return Tr(me)}):k[ne+(se?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(S){return S.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!u("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(S){return S.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},p=function P(S){if(S!==!1&&S!==r.activeElement){if(!S||!S.focus){P(f());return}S.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=S,PR(S)&&S.select()}},h=function(S){var k=u("setReturnFocus",S);return k||(k===!1?!1:S)},m=function(S){var k=S.target,A=S.event,R=S.isBackward,M=R===void 0?!1:R;k=k||ti(A),d();var L=null;if(i.tabbableGroups.length>0){var D=c(k,A),F=D>=0?i.containerGroups[D]:void 0;if(D<0)M?L=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:L=i.tabbableGroups[0].firstTabbableNode;else if(M){var U=Qd(i.tabbableGroups,function(xe){var Re=xe.firstTabbableNode;return k===Re});if(U<0&&(F.container===k||Ka(k,o.tabbableOptions)&&!Tr(k,o.tabbableOptions)&&!F.nextTabbableNode(k,!1))&&(U=D),U>=0){var re=U===0?i.tabbableGroups.length-1:U-1,se=i.tabbableGroups[re];L=nr(k)>=0?se.lastTabbableNode:se.lastDomTabbableNode}else no(A)||(L=F.nextTabbableNode(k,!1))}else{var ne=Qd(i.tabbableGroups,function(xe){var Re=xe.lastTabbableNode;return k===Re});if(ne<0&&(F.container===k||Ka(k,o.tabbableOptions)&&!Tr(k,o.tabbableOptions)&&!F.nextTabbableNode(k))&&(ne=D),ne>=0){var me=ne===i.tabbableGroups.length-1?0:ne+1,fe=i.tabbableGroups[me];L=nr(k)>=0?fe.firstTabbableNode:fe.firstDomTabbableNode}else no(A)||(L=F.nextTabbableNode(k))}}else L=u("fallbackFocus");return L},b=function(S){var k=ti(S);if(!(c(k,S)>=0)){if(Bs(o.clickOutsideDeactivates,S)){a.deactivate({returnFocus:o.returnFocusOnDeactivate});return}Bs(o.allowOutsideClick,S)||S.preventDefault()}},y=function(S){var k=ti(S),A=c(k,S)>=0;if(A||k instanceof Document)A&&(i.mostRecentlyFocusedNode=k);else{S.stopImmediatePropagation();var R,M=!0;if(i.mostRecentlyFocusedNode)if(nr(i.mostRecentlyFocusedNode)>0){var L=c(i.mostRecentlyFocusedNode),D=i.containerGroups[L].tabbableNodes;if(D.length>0){var F=D.findIndex(function(U){return U===i.mostRecentlyFocusedNode});F>=0&&(o.isKeyForward(i.recentNavEvent)?F+1<D.length&&(R=D[F+1],M=!1):F-1>=0&&(R=D[F-1],M=!1))}}else i.containerGroups.some(function(U){return U.tabbableNodes.some(function(re){return nr(re)>0})})||(M=!1);else M=!1;M&&(R=m({target:i.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(i.recentNavEvent)})),p(R||i.mostRecentlyFocusedNode||f())}i.recentNavEvent=void 0},v=function(S){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=S;var A=m({event:S,isBackward:k});A&&(no(S)&&S.preventDefault(),p(A))},w=function(S){if(kR(S)&&Bs(o.escapeDeactivates,S)!==!1){S.preventDefault(),a.deactivate();return}(o.isKeyForward(S)||o.isKeyBackward(S))&&v(S,o.isKeyBackward(S))},_=function(S){var k=ti(S);c(k,S)>=0||Bs(o.clickOutsideDeactivates,S)||Bs(o.allowOutsideClick,S)||(S.preventDefault(),S.stopImmediatePropagation())},C=function(){if(i.active)return Jd.activateTrap(s,a),i.delayInitialFocusTimer=o.delayInitialFocus?Zd(function(){p(f())}):p(f()),r.addEventListener("focusin",y,!0),r.addEventListener("mousedown",b,{capture:!0,passive:!1}),r.addEventListener("touchstart",b,{capture:!0,passive:!1}),r.addEventListener("click",_,{capture:!0,passive:!1}),r.addEventListener("keydown",w,{capture:!0,passive:!1}),a},g=function(){if(i.active)return r.removeEventListener("focusin",y,!0),r.removeEventListener("mousedown",b,!0),r.removeEventListener("touchstart",b,!0),r.removeEventListener("click",_,!0),r.removeEventListener("keydown",w,!0),a},T=function(S){var k=S.some(function(A){var R=Array.from(A.removedNodes);return R.some(function(M){return M===i.mostRecentlyFocusedNode})});k&&p(f())},E=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(T):void 0,x=function(){E&&(E.disconnect(),i.active&&!i.paused&&i.containers.map(function(S){E.observe(S,{subtree:!0,childList:!0})}))};return a={get active(){return i.active},get paused(){return i.paused},activate:function(S){if(i.active)return this;var k=l(S,"onActivate"),A=l(S,"onPostActivate"),R=l(S,"checkCanFocusTrap");R||d(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,k?.();var M=function(){R&&d(),C(),x(),A?.()};return R?(R(i.containers.concat()).then(M,M),this):(M(),this)},deactivate:function(S){if(!i.active)return this;var k=Yd({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},S);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,g(),i.active=!1,i.paused=!1,x(),Jd.deactivateTrap(s,a);var A=l(k,"onDeactivate"),R=l(k,"onPostDeactivate"),M=l(k,"checkCanReturnFocus"),L=l(k,"returnFocus","returnFocusOnDeactivate");A?.();var D=function(){Zd(function(){L&&p(h(i.nodeFocusedBeforeActivation)),R?.()})};return L&&M?(M(h(i.nodeFocusedBeforeActivation)).then(D,D),this):(D(),this)},pause:function(S){if(i.paused||!i.active)return this;var k=l(S,"onPause"),A=l(S,"onPostPause");return i.paused=!0,k?.(),g(),x(),A?.(),this},unpause:function(S){if(!i.paused||!i.active)return this;var k=l(S,"onUnpause"),A=l(S,"onPostUnpause");return i.paused=!1,k?.(),d(),C(),x(),A?.(),this},updateContainerElements:function(S){var k=[].concat(S).filter(Boolean);return i.containers=k.map(function(A){return typeof A=="string"?r.querySelector(A):A}),i.active&&d(),x(),this}},a.updateContainerElements(t),a};function OR(e,t={}){let n;const{immediate:r,...s}=t,o=Q(!1),i=Q(!1),a=f=>n&&n.activate(f),l=f=>n&&n.deactivate(f),c=()=>{n&&(n.pause(),i.value=!0)},u=()=>{n&&(n.unpause(),i.value=!1)};return ze(()=>xt(e),f=>{f&&(n=NR(f,{...s,onActivate(){o.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){o.value=!1,t.onDeactivate&&t.onDeactivate()}}),r&&a())},{flush:"post"}),_n(()=>l()),{hasFocus:o,isPaused:i,activate:a,deactivate:l,pause:c,unpause:u}}const IR={inheritAttrs:!1},ha=Te({...IR,__name:"NDialog",props:{modelValue:{type:Boolean,default:!1},dim:{type:Boolean,default:!0},autoClose:{type:Boolean,default:!0}},emits:["close","update:modelValue"],setup(e,{emit:t}){const n=e,r=pm(n,"modelValue",t,{passive:!0}),s=Q(null),o=Q(!1),{activate:i,deactivate:a}=OR(ge(()=>s.value||document.body),{immediate:!1});return Br(()=>{!o.value&&r.value&&(o.value=!0),r.value&&s.value?Et(i):a()}),Lc(s,()=>{n.modelValue&&n.autoClose&&(r.value=!1,t("close"))},{ignore:["a","button","summary"]}),(l,c)=>{const u=ru;return o.value?(Z(),Se(ip,{key:0,to:"body"},[mi(Y("div",{class:Ye(["n-dialog fixed inset-0 z-100 flex items-center justify-center n-transition",[j(r)?"":"op0 pointer-events-none visibility-none"]]),role:"dialog","aria-modal":"true"},[Y("div",{class:Ye(["absolute inset-0 -z-1",[l.dim?"glass-effect":""]])},null,2),J(u,yn(l.$attrs,{ref_key:"card",ref:s,class:"max-h-screen of-auto"}),{default:he(()=>[st(l.$slots,"default")]),_:3},16)],2),[[ul,j(r)]])])):Ge("",!0)}}});function LR(){return ea("virtual-files:current","")}function gO(){return ea("terminals:current","")}function vO(){return ea("server-routes:current","")}function yO(){const e=hk(),t=mk(),n=it(),r=LR();return async s=>{const o=e.value?.buildDir,i=o&&s.startsWith(o)?`#build${s.slice(o.length)}`:s,[a,l=1,c=0]=i.split(/:/g),u=t.value?.entries.find(f=>f.path===a||f.id===a)||t.value?.entries.find(f=>f.path===s||f.id===s);u?(r.value=u.id,n.push("/modules/virtual-files")):await De.openInEditor(s)}}function MR(){const e=cx();return t=>{e.copy(t),Fc({message:"Copied to clipboard",icon:"carbon-checkmark"})}}const DR=Y("div",{"carbon-launch":""},null,-1),FR=Y("div",{"carbon-launch":""},null,-1),BR=Y("span",{"mt-0.5":"","text-xs":"",op50:""},"(not supported)",-1),jR=Y("h1",{"text-3xl":""}," Popup is not Supported ",-1),zR=Y("p",null,[Ie(" To popup the DevTools, it requires the "),Y("a",{href:"https://developer.chrome.com/docs/web-platform/document-picture-in-picture/",target:"_blank"},"Document Picture-in-Picture API"),Ie(" which is currently in experimental state. ")],-1),HR=Y("p",null,[Ie(" As June 2023, the API is only available in Chrome 111 and above, under a flag "),Y("code",null,"#document-picture-in-picture-api"),Ie(". ")],-1),UR=Te({__name:"PictureInPictureButton",setup(e){const t=ut(),n=window.__NUXT_DEVTOOLS_IS_POPUP__,r=Q(!1),s=MR();return(o,i)=>{const a=wr,l=ha;return j(n)?Ge("",!0):(Z(),ve(Oe,{key:0},[j(t)?.devtools.popup?(Z(),Se(a,{key:0,n:"sm primary",onClick:i[0]||(i[0]=c=>j(t).devtools.popup())},{default:he(()=>[DR,Ie(" Popup ")]),_:1})):(Z(),ve(Oe,{key:1},[J(a,{n:"sm primary",onClick:i[1]||(i[1]=c=>r.value=!0)},{default:he(()=>[FR,Ie(" Popup "),BR]),_:1}),J(l,{modelValue:j(r),"onUpdate:modelValue":i[4]||(i[4]=c=>Be(r)?r.value=c:null),class:"max-w-150 p6 pt-2 prose",onClose:i[5]||(i[5]=c=>r.value=!1)},{default:he(()=>[jR,zR,HR,Y("p",null,[Ie(" Your current browser does not seem to support the API, or the flag is not enabled yet. You can try enabling the flag by visiting "),J(a,{n:"xs primary",title:"Click to Copy",onClick:i[2]||(i[2]=c=>j(s)("chrome://flags/#document-picture-in-picture-api"))},{default:he(()=>[Ie(" chrome://flags/#document-picture-in-picture-api ")]),_:1}),Ie(" and restart the browser. ")]),Y("div",null,[J(a,{onClick:i[3]||(i[3]=c=>r.value=!1)},{default:he(()=>[Ie(" Close ")]),_:1})])]),_:1},8,["modelValue"])],64))],64))}}}),VR={px3:"",py2:"",border:"b base",flex:"~ gap-2"},WR=Y("div",{"carbon-sun":"","dark:carbon-moon":"","translate-y--1px":""},null,-1),GR=Y("div",{"i-carbon-settings-adjust":""},null,-1),qR={px3:"",py2:"",border:"b base",flex:"~ gap-2"},KR=Y("div",{"i-carbon-split-screen":""},null,-1),XR={px3:"",py2:"",flex:"~ gap2"},YR=Te({__name:"DockingPanel",setup(e){const t=ut(),n=Le(),{sidebarExpanded:r}=as();function s(){n.hooks.callHookParallel("app:data:refresh",Object.keys(n.payload.data)),Rh(t)}function o(){location.reload()}function i(){In.value=!In.value}return(a,l)=>{const c=wr,u=rR,f=cs,d=UR;return Z(),ve("div",null,[Y("div",VR,[J(u,null,{default:he(({toggle:p,isDark:h})=>[J(c,{n:"sm primary",onClick:p},{default:he(()=>[WR,Ie(" "+dt(h.value?"Dark":"Light"),1)]),_:2},1032,["onClick"])]),_:1}),J(c,{n:"sm primary",onClick:l[0]||(l[0]=p=>r.value=!j(r))},{default:he(()=>[J(f,{icon:j(r)?"i-carbon-side-panel-close":"i-carbon-side-panel-open"},null,8,["icon"]),Ie(" "+dt(j(r)?"Minimize Sidebar":"Expand Sidebar"),1)]),_:1}),J(c,{n:"sm primary",to:"/settings"},{default:he(()=>[GR,Ie(" Settings ")]),_:1})]),Y("div",qR,[("splitScreenAvailable"in a?a.splitScreenAvailable:j(Ol))?(Z(),Se(c,{key:0,n:"sm primary",onClick:i},{default:he(()=>[KR,Ie(" "+dt(("splitScreenEnabled"in a?a.splitScreenEnabled:j(In))?"Close Split Screen":"Split Screen"),1)]),_:1})):Ge("",!0),J(d)]),Y("div",XR,[J(c,{n:"primary sm",onClick:s},{default:he(()=>[Ie(" Refetch Data ")]),_:1}),J(c,{n:"primary sm",onClick:o},{default:he(()=>[Ie(" Refresh Page ")]),_:1})])])}}}),JR=["src","alt"],ZR=["title"],pa=Te({__name:"TabIcon",props:{icon:{},title:{},showTitle:{type:Boolean,default:!0}},setup(e){return(t,n)=>t.icon&&(t.icon.startsWith("/")||t.icon.match(/^https?:/))?(Z(),ve("img",yn({key:0,style:{width:"1em",height:"1em"}},t.$attrs,{src:t.icon,alt:t.title}),null,16,JR)):(Z(),ve("div",yn({key:1,style:{width:"1em",height:"1em"}},t.$attrs,{class:t.icon||"carbon-bring-forward",title:t.showTitle?t.title:void 0}),null,16,ZR))}}),QR={flex:"~ items-center gap-3"},e$={key:0,"overflow-hidden":"","text-ellipsis":"","ws-nowrap":""},t$={"translate-y-0.5px":""},n$={key:0,hidden:"","lg:block":""},Bg=Te({__name:"SideNavItem",props:{tab:{},minimized:{type:Boolean,default:!0},target:{default:"main"}},setup(e){const t=e,n=To(),r=ge(()=>"path"in t.tab?t.tab.path:`/modules/custom-${t.tab.name}`),s=ge(()=>"badge"in t.tab&&t.tab.badge?.()),o=ge(()=>n.path.startsWith(r.value));function i(){"onClick"in t.tab&&t.tab.onClick?t.tab.onClick():t.target==="side"&&(ig.value=t.tab.name)}return(a,l)=>{const c=pa,u=gn("VTooltip");return Z(),Se(u,{disabled:!a.minimized,placement:"right",class:Ye({"w-full":!a.minimized})},{popper:he(()=>[Y("div",null,dt(a.tab.title),1),"extraTabVNode"in a.tab&&a.tab.extraTabVNode?(Z(),ve("div",n$,[(Z(),Se(hr(a.tab.extraTabVNode)))])):Ge("",!0)]),default:he(()=>[(Z(),Se(hr(a.target==="main"?j(Ac):"button"),{to:j(r),flex:`~ items-center ${a.minimized?"justify-center":"justify-between"}`,hover:"bg-active",relative:"",block:"","h-10":"",w:a.minimized?"10":"full","select-none":"",rounded:a.minimized?"xl":"",p:a.minimized?"1":"x3","text-secondary":"","exact-active-class":"!text-primary bg-active",onClick:i},{default:he(()=>[Y("div",QR,[J(c,{"text-xl":"",icon:a.tab.icon,title:"Settings","show-title":!1},null,8,["icon"]),a.minimized?Ge("",!0):(Z(),ve("span",e$,dt(a.tab.title),1))]),j(s)?(Z(),ve("div",{key:0,"h-4":"","w-4":"","rounded-full":"","text-9px":"","text-white":"",flex:"~ items-center justify-center",class:Ye([j(o)?"bg-primary":"bg-gray",{"absolute bottom-0 right-0":a.minimized}])},[Y("span",t$,dt(("toValue"in a?a.toValue:j(cc))(j(s))),1)],2)):Ge("",!0)]),_:1},8,["to","flex","w","rounded","p"]))]),_:1},8,["disabled","class"])}}});function r$(){const e=pk(),t=as(),n=it(),r=ge(()=>[...n.getRoutes().filter(o=>o.path.startsWith("/modules/")&&o.meta.title&&!o.meta.wip).filter(o=>!o.meta.experimental||o.meta.experimental&&t.showExperimentalFeatures.value).sort((o,i)=>(o.meta.order||100)-(i.meta.order||100)).map(o=>({name:o.name,path:o.path,...o.meta})),...(e.value||[]).filter(o=>o.name.startsWith("builtin-"))]),s=ge(()=>(e.value||[]).filter(o=>!o.name.startsWith("builtin-")));return ge(()=>[...r.value,...s.value])}function jg(){return{pinned:[],app:[],analyze:[],server:[],modules:[],documentation:[],advanced:[]}}function li(e){const{pinnedTabs:t}=as();return ge(()=>{const n=jg();for(const r of j(e)){let s=r.category||"app";t.value.includes(r.name)&&(s="pinned"),n[s]?n[s].push(r):console.warn(`Unknown tab category: ${s}`)}for(const r of Object.keys(n))n[r].length===0&&delete n[r];return n.pinned?.length&&n.pinned.sort((r,s)=>t.value.indexOf(r.name)-t.value.indexOf(s.name)),Object.entries(n)})}function su(){const e=r$(),t=as(),n=Object.keys(jg()),r=e.value.map(s=>s?.show?.());return ge(()=>e.value.filter((s,o)=>{const i=s,a=t.pinnedTabs.value.includes(i.name);return!(a&&t.hiddenTabCategories.value.includes("pinned")||r[o]&&!cc(r[o])||t.hiddenTabs.value.includes(i.name)||t.hiddenTabCategories.value.includes(s.category||"app")&&!a)}).sort((s,o)=>n.indexOf(s.category||"app")-n.indexOf(o.category||"app")))}function _O(){const e=ng(),t=og();return ge(()=>(e.value?.getRoutes()||[]).map(n=>sg(n,["path","name","meta","props","children"])).map(n=>({...t.value?.find(r=>r.name&&r.name===n.name),...n})))}const s$={flex:"~ col gap-1","max-w-80":"",py1:""},o$={key:0,"h-1px":"",border:"b base"},i$={flex:"~ wrap",px1:""},zg=Te({__name:"TabsGrid",props:{categories:{},target:{}},setup(e){return(t,n)=>{const r=Bg;return Z(),ve("div",s$,[(Z(!0),ve(Oe,null,fo(t.categories,([s,o],i)=>(Z(),ve(Oe,{key:s},[o.length?(Z(),ve(Oe,{key:0},[i?(Z(),ve("div",o$)):Ge("",!0),Y("div",i$,[(Z(!0),ve(Oe,null,fo(o,a=>(Z(),Se(r,{key:a.name,target:t.target,tab:a},null,8,["target","tab"]))),128))])],64)):Ge("",!0)],64))),128))])}}}),a$={id:"nuxt-devtools-side-nav",border:"r base",flex:"~ col","z-100":"","h-full":"","items-start":"","of-hidden":"","bg-base":""},l$={sticky:"","top-0":"","z-1":"","w-full":"",p1:"","bg-base":"",border:"b base"},c$=["title"],u$=Y("div",{"i-logos-nuxt-icon":"","h-6":"","w-6":""},null,-1),f$=Y("span",{text:"lg white","font-600":""}," DevTools ",-1),d$=Y("div",{"flex-auto":""},null,-1),h$=Y("div",{"i-carbon-overflow-menu-vertical":""},null,-1),p$={key:0,my1:"","h-1px":"","w-full":"",border:"b base"},m$=Y("div",{"flex-auto":""},null,-1),g$=["flex"],v$={absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"",flex:"~ items-center justify-center",border:"~ base"},y$={"translate-y-0.5px":""},_$=45,b$=Te({__name:"SideNav",setup(e){const t=ut(),n=su(),{sidebarExpanded:r,sidebarScrollable:s}=as(),o=Q(!1),i=Q(!1),a=Q(),l=Q(),c=Q();function u(){o.value=!o.value}function f(){i.value=!i.value}const{height:d}=mm(),p=ge(()=>{const _=d.value-130;return Math.max(0,Math.floor(_/_$))}),h=ge(()=>n.value.slice(0,p.value)),m=ge(()=>n.value.slice(p.value)),b=li(n),y=li(h),v=li(m),w=ge(()=>s.value||r.value?b.value:y.value);return Lc(a,_=>{l.value&&_.composedPath().includes(l.value)||c.value&&_.composedPath().includes(c.value)||(o.value=!1,i.value=!1)},{detectIframe:!0}),(_,C)=>{const g=YR,T=gn("VDropdown"),E=Bg,x=pa;return Z(),ve("div",a$,[Y("div",l$,[J(T,{placement:"left-start",distance:12,skidding:5,triggers:[],shown:j(o),"auto-hide":!0},{popper:he(()=>[J(g,{ref_key:"panel",ref:a},null,512)]),default:he(()=>[Y("button",{ref_key:"buttonDocking",ref:l,flex:"~ items-center justify-center gap-2",hover:"bg-active",relative:"","h-10":"","select-none":"",p2:"","text-secondary":"","exact-active-class":"!text-primary bg-active",class:Ye([j(t)?"":"saturate-0",j(r)?"w-full rounded pl2.5":"w-10 rounded-xl"]),title:j(t)?"Nuxt DevTools":"DevTools Client not connected, try open it in iframe mode",onClick:u},[u$,j(r)?(Z(),ve(Oe,{key:0},[f$,d$,h$],64)):Ge("",!0)],10,c$)]),_:1},8,["shown"])]),Y("div",{flex:"~ auto col gap-0.5 items-center","w-full":"",p1:"",class:Ye(["no-scrollbar",j(r)?"":"of-x-hidden of-y-auto"])},[(Z(!0),ve(Oe,null,fo(j(w),([P,S],k)=>(Z(),ve(Oe,{key:P},[S.length?(Z(),ve(Oe,{key:0},[k?(Z(),ve("div",p$)):Ge("",!0),(Z(!0),ve(Oe,null,fo(S,A=>(Z(),Se(E,{key:A.name,tab:A,minimized:!j(r)},null,8,["tab","minimized"]))),128))],64)):Ge("",!0)],64))),128)),m$],2),Y("div",{flex:`~ items-center gap-1 ${j(r)?"":"none col"}`,border:"t base",sticky:"","bottom-0":"","w-full":"",p1:"","bg-base":""},[j(m).length&&!j(s)&&!j(r)?(Z(),Se(T,{key:0,placement:"left-end",distance:12,triggers:[],shown:j(i),"auto-hide":!0},{popper:he(()=>[J(zg,{categories:j(v),"max-w-80":"",target:"main"},null,8,["categories"])]),default:he(()=>[Y("button",{ref_key:"buttonMoreTabs",ref:c,flex:"~",hover:"bg-active",relative:"","h-10":"","w-10":"","select-none":"","items-center":"","justify-center":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active",onClick:f},[J(x,{"text-xl":"",icon:"carbon:overflow-menu-vertical",title:"More tabs","show-title":!1}),Y("div",v$,[Y("span",y$,dt(j(m).length),1)])],512)]),_:1},8,["shown"])):Ge("",!0),J(E,{minimized:!j(r),tab:{icon:"i-carbon:settings-adjust",title:"Settings",name:"settings",path:"/settings"}},null,8,["minimized"])],8,g$)])}}}),w$=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>e.params[n.slice(1)]?.toString()||""),jl=(e,t)=>{const n=e.route.matched.find(s=>s.components?.default===e.Component.type),r=t??n?.meta.key??(n&&w$(e.route,n));return typeof r=="function"?r(e.route):r},x$=(e,t)=>({default:()=>e?Je(xy,e===!0?{}:e,t):t}),E$=Te({name:"RouteProvider",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 ur(Co,Qr(r)),()=>Je(e.vnode,{ref:e.vnodeRef})}}),Hg=(e,t,n)=>(t=t===!0?{}:t,{default:()=>t?Je(e,t,n):n.default?.()}),S$=Te({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=Le(),s=Q(),o=ht(Co,null);n({pageRef:s});const i=ht(Vp,null);let a;const l=r.deferHydration();return()=>Je(am,{name:e.name,route:e.route,...t},{default:c=>{const u=P$(o,c.route,c.Component),f=o&&o.matched.length===c.route.matched.length;if(!c.Component)return a&&!f?a:void 0;if(a&&i&&!i.isCurrent(c.route))return a;if(u&&o&&(!i||i?.isCurrent(o)))return f?a:null;const d=jl(c,e.pageKey),p=!!(e.transition??c.route.meta.pageTransition??vl),h=p&&T$([e.transition,c.route.meta.pageTransition,vl,{onAfterLeave:()=>{r.callHook("page:transition:finish",c.Component)}}].filter(Boolean));return a=Hg(Yi,p&&h,x$(e.keepalive??c.route.meta.keepalive??Wb,Je(hc,{suspensible:!0,onPending:()=>r.callHook("page:start",c.Component),onResolve:()=>{Et(()=>r.callHook("page:finish",c.Component).finally(l))}},{default:()=>Je(E$,{key:d,vnode:c.Component,route:c.route,renderKey:d,trackRootNodes:p,vnodeRef:s})}))).default(),a}})}});function C$(e){return Array.isArray(e)?e:e?[e]:[]}function T$(e){const t=e.map(n=>({...n,onAfterLeave:C$(n.onAfterLeave)}));return Zb(...t)}function P$(e,t,n){if(!e)return!1;const r=t.matched.findIndex(s=>s.components?.default===n?.type);return!r||r===-1?!1:t.matched.slice(0,r).some((s,o)=>s.components?.default!==e.matched[o]?.components?.default)||n&&jl({route:t,Component:n})!==jl({route:e,Component:n})}const Ug=Te({__name:"NIconButton",props:{to:{},icon:{},disabled:{type:Boolean}},setup(e){const t=e;return(n,r)=>{const s=cs;return Z(),Se(hr(n.to?j(Ac):"button"),yn({to:n.to},n.$attrs,{class:["n-transition n-icon-button",{"n-disabled op10!":t.disabled}]}),{default:he(()=>[J(s,{icon:t.icon},null,8,["icon"])]),_:1},16,["to","class"])}}}),k$={},A$={class:"n-panel-grids-center"};function R$(e,t){return Z(),ve("div",A$,[st(e.$slots,"default")])}const Vg=ls(k$,[["render",R$]]),$$={"h-full":"","h-screen":"","of-hidden":""},N$={border:"b base",flex:"~ gap1","z-99":"",px4:"",py3:"","navbar-glass":""},O$=Y("div",{"i-carbon-chevron-down":"","text-sm":"",op50:""},null,-1),I$=Y("div",{"flex-auto":""},null,-1),L$={key:0,"of-auto":"",style:{height:"calc(100% - 50px)"}},M$=Y("span",{"text-lg":"",op50:""}," Select a tab to start ",-1),D$=Te({__name:"SplitScreen",setup(e){const t=su(),n=tn(),r=To(),s=it(),o=ge(()=>t.value.filter(d=>d.name!==r.name&&d.name!==r.params?.name)),i=li(o),a=ge(()=>o.value.find(d=>d.name===ig.value));ze(()=>a.value,d=>{if(!d)return;const p=s.getRoutes(),h=d&&"path"in d?p.find(b=>b.path===d.path):p.find(b=>b.name==="modules-custom-name");if(h?.path===r.path||r.params?.name===d.name){n.value=void 0;return}const m=h?.components?.default;typeof m=="function"?n.value=gi(m):n.value=m},{immediate:!0});function l(){In.value=!1}const c=Q(),u=Q(),f=Q(!1);return Lc(c,d=>{u.value&&d.composedPath().includes(u.value)||(f.value=!1)},{detectIframe:!0}),(d,p)=>{const h=pa,m=zg,b=gn("VDropdown"),y=Ug,v=ru,w=wr,_=Vg;return Z(),ve("div",$$,[Y("div",N$,[J(b,{placement:"bottom-start",distance:12,skidding:5,triggers:[],shown:j(f),"auto-hide":!0},{popper:he(()=>[J(m,{ref_key:"gridPanel",ref:c,categories:j(i),target:"side"},null,8,["categories"])]),default:he(()=>[Y("div",{ref_key:"gridPanelButton",ref:u,flex:"~ gap-2 items-center","cursor-pointer":"","select-none":"",onClick:p[0]||(p[0]=C=>f.value=!j(f))},[O$,j(a)?(Z(),ve(Oe,{key:0},[J(h,{"text-xl":"",icon:j(a).icon,title:j(a).title,"show-title":!1},null,8,["icon","title"]),Y("span",null,dt(j(a).title),1)],64)):(Z(),ve(Oe,{key:1},[Ie(" Select a tab ")],64))],512)]),_:1},8,["shown"]),I$,J(y,{icon:"i-carbon:side-panel-open",title:"Close split screen",onClick:l})]),j(n)&&j(a)?(Z(),ve("div",L$,["view"in j(a)?(Z(),Se(hr(j(n)),{key:j(a).name,name:j(a).name},null,8,["name"])):(Z(),Se(hr(j(n)),{key:`tab-${j(a).name}`}))])):(Z(),Se(_,{key:1},{default:he(()=>[M$,J(v,{px4:"",py2:""},{default:he(()=>[J(m,{categories:j(i),target:"side"},null,8,["categories"])]),_:1}),J(w,{n:"sm orange",mt2:"",onClick:l},{default:he(()=>[Ie(" Close Split Screen ")]),_:1})]),_:1}))])}}}),F$={name:"splitpanes",emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click"],props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},provide(){return{requestUpdate:this.requestUpdate,onPaneAdd:this.onPaneAdd,onPaneRemove:this.onPaneRemove,onPaneClick:this.onPaneClick}},data:()=>({container:null,ready:!1,panes:[],touch:{mouseDown:!1,dragging:!1,activeSplitter:null},splitterTaps:{splitter:null,timeoutId:null}}),computed:{panesCount(){return this.panes.length},indexedPanes(){return this.panes.reduce((e,t)=>(e[t.id]=t)&&e,{})}},methods:{updatePaneComponents(){this.panes.forEach(e=>{e.update&&e.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[e.id].size}%`})})},bindEvents(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseDown(e,t){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=t},onMouseMove(e){this.touch.mouseDown&&(e.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(e)),this.$emit("resize",this.panes.map(t=>({min:t.min,max:t.max,size:t.size}))))},onMouseUp(){this.touch.dragging&&this.$emit("resized",this.panes.map(e=>({min:e.min,max:e.max,size:e.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(e,t){"ontouchstart"in window&&(e.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===t?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(e,t),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=t,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[t])},onSplitterDblClick(e,t){let n=0;this.panes=this.panes.map((r,s)=>(r.size=s===t?r.max:r.min,s!==t&&(n+=r.min),r)),this.panes[t].size-=n,this.$emit("pane-maximize",this.panes[t]),this.$emit("resized",this.panes.map(r=>({min:r.min,max:r.max,size:r.size})))},onPaneClick(e,t){this.$emit("pane-click",this.indexedPanes[t])},getCurrentMouseDrag(e){const t=this.container.getBoundingClientRect(),{clientX:n,clientY:r}="ontouchstart"in window&&e.touches?e.touches[0]:e;return{x:n-t.left,y:r-t.top}},getCurrentDragPercentage(e){e=e[this.horizontal?"y":"x"];const t=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(e=t-e),e*100/t},calculatePanesSize(e){const t=this.touch.activeSplitter;let n={prevPanesSize:this.sumPrevPanesSize(t),nextPanesSize:this.sumNextPanesSize(t),prevReachedMinPanes:0,nextReachedMinPanes:0};const r=0+(this.pushOtherPanes?0:n.prevPanesSize),s=100-(this.pushOtherPanes?0:n.nextPanesSize),o=Math.max(Math.min(this.getCurrentDragPercentage(e),s),r);let i=[t,t+1],a=this.panes[i[0]]||null,l=this.panes[i[1]]||null;const c=a.max<100&&o>=a.max+n.prevPanesSize,u=l.max<100&&o<=100-(l.max+this.sumNextPanesSize(t+1));if(c||u){c?(a.size=a.max,l.size=Math.max(100-a.max-n.prevPanesSize-n.nextPanesSize,0)):(a.size=Math.max(100-l.max-n.prevPanesSize-this.sumNextPanesSize(t+1),0),l.size=l.max);return}if(this.pushOtherPanes){const f=this.doPushOtherPanes(n,o);if(!f)return;({sums:n,panesToResize:i}=f),a=this.panes[i[0]]||null,l=this.panes[i[1]]||null}a!==null&&(a.size=Math.min(Math.max(o-n.prevPanesSize-n.prevReachedMinPanes,a.min),a.max)),l!==null&&(l.size=Math.min(Math.max(100-o-n.nextPanesSize-n.nextReachedMinPanes,l.min),l.max))},doPushOtherPanes(e,t){const n=this.touch.activeSplitter,r=[n,n+1];return t<e.prevPanesSize+this.panes[r[0]].min&&(r[0]=this.findPrevExpandedPane(n).index,e.prevReachedMinPanes=0,r[0]<n&&this.panes.forEach((s,o)=>{o>r[0]&&o<=n&&(s.size=s.min,e.prevReachedMinPanes+=s.min)}),e.prevPanesSize=this.sumPrevPanesSize(r[0]),r[0]===void 0)?(e.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((s,o)=>{o>0&&o<=n&&(s.size=s.min,e.prevReachedMinPanes+=s.min)}),this.panes[r[1]].size=100-e.prevReachedMinPanes-this.panes[0].min-e.prevPanesSize-e.nextPanesSize,null):t>100-e.nextPanesSize-this.panes[r[1]].min&&(r[1]=this.findNextExpandedPane(n).index,e.nextReachedMinPanes=0,r[1]>n+1&&this.panes.forEach((s,o)=>{o>n&&o<r[1]&&(s.size=s.min,e.nextReachedMinPanes+=s.min)}),e.nextPanesSize=this.sumNextPanesSize(r[1]-1),r[1]===void 0)?(e.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((s,o)=>{o<this.panesCount-1&&o>=n+1&&(s.size=s.min,e.nextReachedMinPanes+=s.min)}),this.panes[r[0]].size=100-e.prevPanesSize-e.nextReachedMinPanes-this.panes[this.panesCount-1].min-e.nextPanesSize,null):{sums:e,panesToResize:r}},sumPrevPanesSize(e){return this.panes.reduce((t,n,r)=>t+(r<e?n.size:0),0)},sumNextPanesSize(e){return this.panes.reduce((t,n,r)=>t+(r>e+1?n.size:0),0)},findPrevExpandedPane(e){return[...this.panes].reverse().find(t=>t.index<e&&t.size>t.min)||{}},findNextExpandedPane(e){return this.panes.find(t=>t.index>e+1&&t.size>t.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(e=>{const t=e.classList.contains("splitpanes__pane"),n=e.classList.contains("splitpanes__splitter");!t&&!n&&(e.parentNode.removeChild(e),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."))})},addSplitter(e,t,n=!1){const r=e-1,s=document.createElement("div");s.classList.add("splitpanes__splitter"),n||(s.onmousedown=o=>this.onMouseDown(o,r),typeof window<"u"&&"ontouchstart"in window&&(s.ontouchstart=o=>this.onMouseDown(o,r)),s.onclick=o=>this.onSplitterClick(o,r+1)),this.dblClickSplitter&&(s.ondblclick=o=>this.onSplitterDblClick(o,r+1)),t.parentNode.insertBefore(s,t)},removeSplitter(e){e.onmousedown=void 0,e.onclick=void 0,e.ondblclick=void 0,e.parentNode.removeChild(e)},redoSplitters(){const e=Array.from(this.container.children);e.forEach(n=>{n.className.includes("splitpanes__splitter")&&this.removeSplitter(n)});let t=0;e.forEach(n=>{n.className.includes("splitpanes__pane")&&(!t&&this.firstSplitter?this.addSplitter(t,n,!0):t&&this.addSplitter(t,n),t++)})},requestUpdate({target:e,...t}){const n=this.indexedPanes[e._.uid];Object.entries(t).forEach(([r,s])=>n[r]=s)},onPaneAdd(e){let t=-1;Array.from(e.$el.parentNode.children).some(s=>(s.className.includes("splitpanes__pane")&&t++,s===e.$el));const n=parseFloat(e.minSize),r=parseFloat(e.maxSize);this.panes.splice(t,0,{id:e._.uid,index:t,min:isNaN(n)?0:n,max:isNaN(r)?100:r,size:e.size===null?null:parseFloat(e.size),givenSize:e.size,update:e.update}),this.panes.forEach((s,o)=>s.index=o),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[t]}),this.$emit("pane-add",{index:t,panes:this.panes.map(s=>({min:s.min,max:s.max,size:s.size}))})})},onPaneRemove(e){const t=this.panes.findIndex(r=>r.id===e._.uid),n=this.panes.splice(t,1)[0];this.panes.forEach((r,s)=>r.index=s),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:{...n,index:t}}),this.$emit("pane-remove",{removed:n,panes:this.panes.map(r=>({min:r.min,max:r.max,size:r.size}))})})},resetPaneSizes(e={}){!e.addedPane&&!e.removedPane?this.initialPanesSizing():this.panes.some(t=>t.givenSize!==null||t.min||t.max<100)?this.equalizeAfterAddOrRemove(e):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(t=>({min:t.min,max:t.max,size:t.size})))},equalize(){const e=100/this.panesCount;let t=0;const n=[],r=[];this.panes.forEach(s=>{s.size=Math.max(Math.min(e,s.max),s.min),t-=s.size,s.size>=s.max&&n.push(s.id),s.size<=s.min&&r.push(s.id)}),t>.1&&this.readjustSizes(t,n,r)},initialPanesSizing(){let e=100;const t=[],n=[];let r=0;this.panes.forEach(o=>{e-=o.size,o.size!==null&&r++,o.size>=o.max&&t.push(o.id),o.size<=o.min&&n.push(o.id)});let s=100;e>.1&&(this.panes.forEach(o=>{o.size===null&&(o.size=Math.max(Math.min(e/(this.panesCount-r),o.max),o.min)),s-=o.size}),s>.1&&this.readjustSizes(e,t,n))},equalizeAfterAddOrRemove({addedPane:e,removedPane:t}={}){let n=100/this.panesCount,r=0;const s=[],o=[];e&&e.givenSize!==null&&(n=(100-e.givenSize)/(this.panesCount-1)),this.panes.forEach(i=>{r-=i.size,i.size>=i.max&&s.push(i.id),i.size<=i.min&&o.push(i.id)}),!(Math.abs(r)<.1)&&(this.panes.forEach(i=>{e&&e.givenSize!==null&&e.id===i.id||(i.size=Math.max(Math.min(n,i.max),i.min)),r-=i.size,i.size>=i.max&&s.push(i.id),i.size<=i.min&&o.push(i.id)}),r>.1&&this.readjustSizes(r,s,o))},readjustSizes(e,t,n){let r;e>0?r=e/(this.panesCount-t.length):r=e/(this.panesCount-n.length),this.panes.forEach((s,o)=>{if(e>0&&!t.includes(s.id)){const i=Math.max(Math.min(s.size+r,s.max),s.min),a=i-s.size;e-=a,s.size=i}else if(!n.includes(s.id)){const i=Math.max(Math.min(s.size+r,s.max),s.min),a=i-s.size;e-=a,s.size=i}s.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[s.id].size}%`})}),Math.abs(e)>.1&&this.$nextTick(()=>{this.ready&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})}},watch:{panes:{deep:!0,immediate:!1,handler(){this.updatePaneComponents()}},horizontal(){this.updatePaneComponents()},firstSplitter(){this.redoSplitters()},dblClickSplitter(e){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((t,n)=>{t.ondblclick=e?r=>this.onSplitterDblClick(r,n):void 0})}},beforeUnmount(){this.ready=!1},mounted(){this.container=this.$refs.container,this.checkSplitpanesNodes(),this.redoSplitters(),this.resetPaneSizes(),this.$emit("ready"),this.ready=!0},render(){return Je("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},B$=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},j$={name:"pane",inject:["requestUpdate","onPaneAdd","onPaneRemove","onPaneClick"],props:{size:{type:[Number,String],default:null},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},data:()=>({style:{}}),mounted(){this.onPaneAdd(this)},beforeUnmount(){this.onPaneRemove(this)},methods:{update(e){this.style=e}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(e){this.requestUpdate({target:this,size:e})},minSizeNumber(e){this.requestUpdate({target:this,min:e})},maxSizeNumber(e){this.requestUpdate({target:this,max:e})}}};function z$(e,t,n,r,s,o){return Z(),ve("div",{class:"splitpanes__pane",onClick:t[0]||(t[0]=i=>o.onPaneClick(i,e._.uid)),style:hn(e.style)},[st(e.$slots,"default")],4)}const eh=B$(j$,[["render",z$]]),th=30,H$=Te({__name:"PanelLeftRight",props:{storageKey:{},leftSize:{},minSize:{}},setup(e){const t=e,n=Sk(),r=t.storageKey,s=r?ge({get:()=>n.value[r]||t.leftSize||th,set:o=>{n.value[r]=o}}):Q(t.leftSize||th);return(o,i)=>(Z(),Se(j(F$),{"h-full":"","of-hidden":"",onResize:i[0]||(i[0]=a=>s.value=a[0].size)},{default:he(()=>[J(j(eh),{border:"r base","h-full":"",class:"of-auto!",size:j(s),"min-size":o.$slots.right?o.minSize||10:100},{default:he(()=>[st(o.$slots,"left")]),_:3},8,["size","min-size"]),o.$slots.right?(Z(),Se(j(eh),{key:0,relative:"","h-full":"",class:"of-auto!","min-size":o.minSize||10},{default:he(()=>[st(o.$slots,"right")]),_:3},8,["min-size"])):Ge("",!0)]),_:3}))}}),U$=Te({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},async setup(e,t){const n=await ar[e.name]().then(r=>r.default||r);return()=>Je(n,e.layoutProps,t.slots)}}),V$=Te({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(e,t){const n=Le(),r=ht(Co),s=r===To()?Dw():r,o=ge(()=>j(e.name)??s.meta.layout??"default"),i=Q();t.expose({layoutRef:i});const a=n.deferHydration();return()=>{const l=o.value&&o.value in ar,c=s.meta.layoutTransition??Vb;return Hg(Yi,l&&c,{default:()=>Je(hc,{suspensible:!0,onResolve:()=>{Et(a)}},{default:()=>Je(W$,{layoutProps:yn(t.attrs,{ref:i}),key:o.value,name:o.value,shouldProvide:!e.name,hasTransition:!!c},t.slots)})}).default()}}}),W$=Te({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){const n=e.name;return e.shouldProvide&&ur(Vp,{isCurrent:r=>n===(r.meta.layout??"default")}),()=>!n||typeof n=="string"&&!(n in ar)?t.slots.default?.():Je(U$,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}),G$={class:"n-text-input flex flex items-center border n-border-base rounded py-1 pl-1 pr-2 focus-within:n-focus-base focus-within:border-context n-bg-base"},Wg=Te({__name:"NTextInput",props:{modelValue:{default:""},icon:{},placeholder:{},disabled:{type:Boolean},autofocus:{type:Boolean},type:{default:"text"}},setup(e,{emit:t}){const r=pm(e,"modelValue",t,{passive:!0});return(s,o)=>{const i=cs;return Z(),ve("div",G$,[st(s.$slots,"icon",{},()=>[s.icon?(Z(),Se(i,{key:0,icon:s.icon,class:"ml-0.3em mr-0.1em text-1.1em op50"},null,8,["icon"])):Ge("",!0)]),mi(Y("input",yn({"onUpdate:modelValue":o[0]||(o[0]=a=>Be(r)?r.value=a:null)},s.$props,{class:"ml-0.4em w-full flex-auto n-bg-base !outline-none"}),null,16),[[M_,j(r)]])])}}}),zl=jt(new Map);function q$(){const e=su(),t=it(),n=[{id:"fixed:settings",title:"Settings",icon:"carbon-settings-adjust",action:()=>{t.push("/settings")}},{id:"fixed:docs",title:"Nuxt Documentations",icon:"logos-nuxt-icon",action:()=>Y$()}],r=ge(()=>e.value.map(s=>({id:`tab:${s.name}`,title:s.title||s.name,icon:s.icon,action:()=>{"onClick"in s&&s.onClick?s.onClick():t.push("path"in s&&s.path?s.path:`/modules/custom-${s.name}`)}})));return ge(()=>[...n,...r.value,...Array.from(zl.values()).flatMap(s=>cc(s))])}function K$(e){const t=fk();zl.set(t,e),uo(()=>{zl.delete(t)})}let Xa;const X$=[[":components:","i-carbon-assembly-cluster"],[":modules:","i-carbon-cube"],[":commands:","i-carbon-terminal"],[":directory-structure:","i-carbon-folder"],[":composables:","i-carbon-function"],[":getting-started:","i-carbon-idea"],[":api:","carbon-api-1"]];async function Y$(){return Xa||(Xa=(await be(()=>import("./nuxt-docs.100caa70.js"),[],import.meta.url).then(t=>t.default)).map(t=>({...t,icon:X$.find(([n])=>t.id.includes(n))?.[1]||"i-carbon-document-multiple-01",action:()=>{window.open(t.url,"_blank")}}))),Xa}function bn(e){return Array.isArray?Array.isArray(e):Kg(e)==="[object Array]"}const J$=1/0;function Z$(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-J$?"-0":t}function Q$(e){return e==null?"":Z$(e)}function Jt(e){return typeof e=="string"}function Gg(e){return typeof e=="number"}function eN(e){return e===!0||e===!1||tN(e)&&Kg(e)=="[object Boolean]"}function qg(e){return typeof e=="object"}function tN(e){return qg(e)&&e!==null}function wt(e){return e!=null}function Ya(e){return!e.trim().length}function Kg(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const nN="Incorrect 'index' type",rN=e=>`Invalid value for key ${e}`,sN=e=>`Pattern length exceeds max of ${e}.`,oN=e=>`Missing ${e} property in key`,iN=e=>`Property 'weight' in key '${e}' must be a positive integer`,nh=Object.prototype.hasOwnProperty;class aN{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(r=>{let s=Xg(r);n+=s.weight,this._keys.push(s),this._keyMap[s.id]=s,n+=s.weight}),this._keys.forEach(r=>{r.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Xg(e){let t=null,n=null,r=null,s=1,o=null;if(Jt(e)||bn(e))r=e,t=rh(e),n=Hl(e);else{if(!nh.call(e,"name"))throw new Error(oN("name"));const i=e.name;if(r=i,nh.call(e,"weight")&&(s=e.weight,s<=0))throw new Error(iN(i));t=rh(i),n=Hl(i),o=e.getFn}return{path:t,id:n,weight:s,src:r,getFn:o}}function rh(e){return bn(e)?e:e.split(".")}function Hl(e){return bn(e)?e.join("."):e}function lN(e,t){let n=[],r=!1;const s=(o,i,a)=>{if(wt(o))if(!i[a])n.push(o);else{let l=i[a];const c=o[l];if(!wt(c))return;if(a===i.length-1&&(Jt(c)||Gg(c)||eN(c)))n.push(Q$(c));else if(bn(c)){r=!0;for(let u=0,f=c.length;u<f;u+=1)s(c[u],i,a+1)}else i.length&&s(c,i,a+1)}};return s(e,Jt(t)?t.split("."):t,0),r?n:n[0]}const cN={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},uN={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},fN={location:0,threshold:.6,distance:100},dN={useExtendedSearch:!1,getFn:lN,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var we={...uN,...cN,...fN,...dN};const hN=/[^ ]+/g;function pN(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(s){const o=s.match(hN).length;if(n.has(o))return n.get(o);const i=1/Math.pow(o,.5*e),a=parseFloat(Math.round(i*r)/r);return n.set(o,a),a},clear(){n.clear()}}}class ou{constructor({getFn:t=we.getFn,fieldNormWeight:n=we.fieldNormWeight}={}){this.norm=pN(n,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((n,r)=>{this._keysMap[n.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Jt(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();Jt(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,r=this.size();n<r;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(t,n){return t[this._keysMap[n]]}size(){return this.records.length}_addString(t,n){if(!wt(t)||Ya(t))return;let r={v:t,i:n,n:this.norm.get(t)};this.records.push(r)}_addObject(t,n){let r={i:n,$:{}};this.keys.forEach((s,o)=>{let i=s.getFn?s.getFn(t):this.getFn(t,s.path);if(wt(i)){if(bn(i)){let a=[];const l=[{nestedArrIndex:-1,value:i}];for(;l.length;){const{nestedArrIndex:c,value:u}=l.pop();if(wt(u))if(Jt(u)&&!Ya(u)){let f={v:u,i:c,n:this.norm.get(u)};a.push(f)}else bn(u)&&u.forEach((f,d)=>{l.push({nestedArrIndex:d,value:f})})}r.$[o]=a}else if(Jt(i)&&!Ya(i)){let a={v:i,n:this.norm.get(i)};r.$[o]=a}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function Yg(e,t,{getFn:n=we.getFn,fieldNormWeight:r=we.fieldNormWeight}={}){const s=new ou({getFn:n,fieldNormWeight:r});return s.setKeys(e.map(Xg)),s.setSources(t),s.create(),s}function mN(e,{getFn:t=we.getFn,fieldNormWeight:n=we.fieldNormWeight}={}){const{keys:r,records:s}=e,o=new ou({getFn:t,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(s),o}function ni(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:s=we.distance,ignoreLocation:o=we.ignoreLocation}={}){const i=t/e.length;if(o)return i;const a=Math.abs(r-n);return s?i+a/s:a?1:i}function gN(e=[],t=we.minMatchCharLength){let n=[],r=-1,s=-1,o=0;for(let i=e.length;o<i;o+=1){let a=e[o];a&&r===-1?r=o:!a&&r!==-1&&(s=o-1,s-r+1>=t&&n.push([r,s]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}const rr=32;function vN(e,t,n,{location:r=we.location,distance:s=we.distance,threshold:o=we.threshold,findAllMatches:i=we.findAllMatches,minMatchCharLength:a=we.minMatchCharLength,includeMatches:l=we.includeMatches,ignoreLocation:c=we.ignoreLocation}={}){if(t.length>rr)throw new Error(sN(rr));const u=t.length,f=e.length,d=Math.max(0,Math.min(r,f));let p=o,h=d;const m=a>1||l,b=m?Array(f):[];let y;for(;(y=e.indexOf(t,h))>-1;){let T=ni(t,{currentLocation:y,expectedLocation:d,distance:s,ignoreLocation:c});if(p=Math.min(T,p),h=y+u,m){let E=0;for(;E<u;)b[y+E]=1,E+=1}}h=-1;let v=[],w=1,_=u+f;const C=1<<u-1;for(let T=0;T<u;T+=1){let E=0,x=_;for(;E<x;)ni(t,{errors:T,currentLocation:d+x,expectedLocation:d,distance:s,ignoreLocation:c})<=p?E=x:_=x,x=Math.floor((_-E)/2+E);_=x;let P=Math.max(1,d-x+1),S=i?f:Math.min(d+x,f)+u,k=Array(S+2);k[S+1]=(1<<T)-1;for(let R=S;R>=P;R-=1){let M=R-1,L=n[e.charAt(M)];if(m&&(b[M]=+!!L),k[R]=(k[R+1]<<1|1)&L,T&&(k[R]|=(v[R+1]|v[R])<<1|1|v[R+1]),k[R]&C&&(w=ni(t,{errors:T,currentLocation:M,expectedLocation:d,distance:s,ignoreLocation:c}),w<=p)){if(p=w,h=M,h<=d)break;P=Math.max(1,2*d-h)}}if(ni(t,{errors:T+1,currentLocation:d,expectedLocation:d,distance:s,ignoreLocation:c})>p)break;v=k}const g={isMatch:h>=0,score:Math.max(.001,w)};if(m){const T=gN(b,a);T.length?l&&(g.indices=T):g.isMatch=!1}return g}function yN(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const s=e.charAt(n);t[s]=(t[s]||0)|1<<r-n-1}return t}class Jg{constructor(t,{location:n=we.location,threshold:r=we.threshold,distance:s=we.distance,includeMatches:o=we.includeMatches,findAllMatches:i=we.findAllMatches,minMatchCharLength:a=we.minMatchCharLength,isCaseSensitive:l=we.isCaseSensitive,ignoreLocation:c=we.ignoreLocation}={}){if(this.options={location:n,threshold:r,distance:s,includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:l,ignoreLocation:c},this.pattern=l?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;const u=(d,p)=>{this.chunks.push({pattern:d,alphabet:yN(d),startIndex:p})},f=this.pattern.length;if(f>rr){let d=0;const p=f%rr,h=f-p;for(;d<h;)u(this.pattern.substr(d,rr),d),d+=rr;if(p){const m=f-rr;u(this.pattern.substr(m),m)}}else u(this.pattern,0)}searchIn(t){const{isCaseSensitive:n,includeMatches:r}=this.options;if(n||(t=t.toLowerCase()),this.pattern===t){let h={isMatch:!0,score:0};return r&&(h.indices=[[0,t.length-1]]),h}const{location:s,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:l,ignoreLocation:c}=this.options;let u=[],f=0,d=!1;this.chunks.forEach(({pattern:h,alphabet:m,startIndex:b})=>{const{isMatch:y,score:v,indices:w}=vN(t,h,m,{location:s+b,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:l,includeMatches:r,ignoreLocation:c});y&&(d=!0),f+=v,y&&w&&(u=[...u,...w])});let p={isMatch:d,score:d?f/this.chunks.length:1};return d&&r&&(p.indices=u),p}}class Wn{constructor(t){this.pattern=t}static isMultiMatch(t){return sh(t,this.multiRegex)}static isSingleMatch(t){return sh(t,this.singleRegex)}search(){}}function sh(e,t){const n=e.match(t);return n?n[1]:null}class _N extends Wn{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class bN extends Wn{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const r=t.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,t.length-1]}}}class wN extends Wn{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class xN extends Wn{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class EN extends Wn{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class SN extends Wn{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class Zg extends Wn{constructor(t,{location:n=we.location,threshold:r=we.threshold,distance:s=we.distance,includeMatches:o=we.includeMatches,findAllMatches:i=we.findAllMatches,minMatchCharLength:a=we.minMatchCharLength,isCaseSensitive:l=we.isCaseSensitive,ignoreLocation:c=we.ignoreLocation}={}){super(t),this._bitapSearch=new Jg(t,{location:n,threshold:r,distance:s,includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:l,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class Qg extends Wn{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,r;const s=[],o=this.pattern.length;for(;(r=t.indexOf(this.pattern,n))>-1;)n=r+o,s.push([r,n-1]);const i=!!s.length;return{isMatch:i,score:i?0:1,indices:s}}}const Ul=[_N,Qg,wN,xN,SN,EN,bN,Zg],oh=Ul.length,CN=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,TN="|";function PN(e,t={}){return e.split(TN).map(n=>{let r=n.trim().split(CN).filter(o=>o&&!!o.trim()),s=[];for(let o=0,i=r.length;o<i;o+=1){const a=r[o];let l=!1,c=-1;for(;!l&&++c<oh;){const u=Ul[c];let f=u.isMultiMatch(a);f&&(s.push(new u(f,t)),l=!0)}if(!l)for(c=-1;++c<oh;){const u=Ul[c];let f=u.isSingleMatch(a);if(f){s.push(new u(f,t));break}}}return s})}const kN=new Set([Zg.type,Qg.type]);class AN{constructor(t,{isCaseSensitive:n=we.isCaseSensitive,includeMatches:r=we.includeMatches,minMatchCharLength:s=we.minMatchCharLength,ignoreLocation:o=we.ignoreLocation,findAllMatches:i=we.findAllMatches,location:a=we.location,threshold:l=we.threshold,distance:c=we.distance}={}){this.query=null,this.options={isCaseSensitive:n,includeMatches:r,minMatchCharLength:s,findAllMatches:i,ignoreLocation:o,location:a,threshold:l,distance:c},this.pattern=n?t:t.toLowerCase(),this.query=PN(this.pattern,this.options)}static condition(t,n){return n.useExtendedSearch}searchIn(t){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:r,isCaseSensitive:s}=this.options;t=s?t:t.toLowerCase();let o=0,i=[],a=0;for(let l=0,c=n.length;l<c;l+=1){const u=n[l];i.length=0,o=0;for(let f=0,d=u.length;f<d;f+=1){const p=u[f],{isMatch:h,indices:m,score:b}=p.search(t);if(h){if(o+=1,a+=b,r){const y=p.constructor.type;kN.has(y)?i=[...i,...m]:i.push(m)}}else{a=0,o=0,i.length=0;break}}if(o){let f={isMatch:!0,score:a/o};return r&&(f.indices=i),f}}return{isMatch:!1,score:1}}}const Vl=[];function RN(...e){Vl.push(...e)}function Wl(e,t){for(let n=0,r=Vl.length;n<r;n+=1){let s=Vl[n];if(s.condition(e,t))return new s(e,t)}return new Jg(e,t)}const Fi={AND:"$and",OR:"$or"},Gl={PATH:"$path",PATTERN:"$val"},ql=e=>!!(e[Fi.AND]||e[Fi.OR]),$N=e=>!!e[Gl.PATH],NN=e=>!bn(e)&&qg(e)&&!ql(e),ih=e=>({[Fi.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function ev(e,t,{auto:n=!0}={}){const r=s=>{let o=Object.keys(s);const i=$N(s);if(!i&&o.length>1&&!ql(s))return r(ih(s));if(NN(s)){const l=i?s[Gl.PATH]:o[0],c=i?s[Gl.PATTERN]:s[l];if(!Jt(c))throw new Error(rN(l));const u={keyId:Hl(l),pattern:c};return n&&(u.searcher=Wl(c,t)),u}let a={children:[],operator:o[0]};return o.forEach(l=>{const c=s[l];bn(c)&&c.forEach(u=>{a.children.push(r(u))})}),a};return ql(e)||(e=ih(e)),r(e)}function ON(e,{ignoreFieldNorm:t=we.ignoreFieldNorm}){e.forEach(n=>{let r=1;n.matches.forEach(({key:s,norm:o,score:i})=>{const a=s?s.weight:null;r*=Math.pow(i===0&&a?Number.EPSILON:i,(a||1)*(t?1:o))}),n.score=r})}function IN(e,t){const n=e.matches;t.matches=[],wt(n)&&n.forEach(r=>{if(!wt(r.indices)||!r.indices.length)return;const{indices:s,value:o}=r;let i={indices:s,value:o};r.key&&(i.key=r.key.src),r.idx>-1&&(i.refIndex=r.idx),t.matches.push(i)})}function LN(e,t){t.score=e.score}function MN(e,t,{includeMatches:n=we.includeMatches,includeScore:r=we.includeScore}={}){const s=[];return n&&s.push(IN),r&&s.push(LN),e.map(o=>{const{idx:i}=o,a={item:t[i],refIndex:i};return s.length&&s.forEach(l=>{l(o,a)}),a})}class us{constructor(t,n={},r){this.options={...we,...n},this.options.useExtendedSearch,this._keyStore=new aN(this.options.keys),this.setCollection(t,r)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof ou))throw new Error(nN);this._myIndex=n||Yg(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){wt(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let r=0,s=this._docs.length;r<s;r+=1){const o=this._docs[r];t(o,r)&&(this.removeAt(r),r-=1,s-=1,n.push(o))}return n}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:n=-1}={}){const{includeMatches:r,includeScore:s,shouldSort:o,sortFn:i,ignoreFieldNorm:a}=this.options;let l=Jt(t)?Jt(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return ON(l,{ignoreFieldNorm:a}),o&&l.sort(i),Gg(n)&&n>-1&&(l=l.slice(0,n)),MN(l,this._docs,{includeMatches:r,includeScore:s})}_searchStringList(t){const n=Wl(t,this.options),{records:r}=this._myIndex,s=[];return r.forEach(({v:o,i,n:a})=>{if(!wt(o))return;const{isMatch:l,score:c,indices:u}=n.searchIn(o);l&&s.push({item:o,idx:i,matches:[{score:c,value:o,norm:a,indices:u}]})}),s}_searchLogical(t){const n=ev(t,this.options),r=(a,l,c)=>{if(!a.children){const{keyId:f,searcher:d}=a,p=this._findMatches({key:this._keyStore.get(f),value:this._myIndex.getValueForItemAtKeyId(l,f),searcher:d});return p&&p.length?[{idx:c,item:l,matches:p}]:[]}const u=[];for(let f=0,d=a.children.length;f<d;f+=1){const p=a.children[f],h=r(p,l,c);if(h.length)u.push(...h);else if(a.operator===Fi.AND)return[]}return u},s=this._myIndex.records,o={},i=[];return s.forEach(({$:a,i:l})=>{if(wt(a)){let c=r(n,a,l);c.length&&(o[l]||(o[l]={idx:l,item:a,matches:[]},i.push(o[l])),c.forEach(({matches:u})=>{o[l].matches.push(...u)}))}}),i}_searchObjectList(t){const n=Wl(t,this.options),{keys:r,records:s}=this._myIndex,o=[];return s.forEach(({$:i,i:a})=>{if(!wt(i))return;let l=[];r.forEach((c,u)=>{l.push(...this._findMatches({key:c,value:i[u],searcher:n}))}),l.length&&o.push({idx:a,item:i,matches:l})}),o}_findMatches({key:t,value:n,searcher:r}){if(!wt(n))return[];let s=[];if(bn(n))n.forEach(({v:o,i,n:a})=>{if(!wt(o))return;const{isMatch:l,score:c,indices:u}=r.searchIn(o);l&&s.push({score:c,key:t,value:o,idx:i,norm:a,indices:u})});else{const{v:o,n:i}=n,{isMatch:a,score:l,indices:c}=r.searchIn(o);a&&s.push({score:l,key:t,value:o,norm:i,indices:c})}return s}}us.version="6.6.2";us.createIndex=Yg;us.parseIndex=mN;us.config=we;us.parseQuery=ev;RN(AN);const DN={"h-full":"",flex:"~ col"},FN={border:"b base","flex-none":""},BN={"flex-auto":"","of-auto":"",p2:"",flex:"~ col"},jN=["id","onClick","onMouseover"],zN={flex:"","flex-auto":"","items-center":"",gap2:"","of-hidden":""},HN={"ws-nowrap":""},UN={"of-hidden":"",truncate:"","ws-nowrap":"","text-sm":"",op50:""},VN={key:0,"h-full":"",flex:"","items-center":"","justify-center":"","gap-2":"","text-xl":""},WN=Y("span",{op50:""},"No results for",-1),GN={"text-primary":""},qN={border:"t base",flex:"~ none justify-between items-center gap-4","pointer-events-none":"",px4:"",py2:""},KN={"text-xs":"",flex:"~ items-center gap2"},XN=Y("span",{op75:""},"to navigate",-1),YN={"text-xs":"",flex:"~ items-center gap2"},JN={op75:""},ZN={"text-xs":"",flex:"~ items-center gap2"},QN=Y("span",{op75:""},"to select",-1),e2=Te({__name:"CommandPalette",setup(e){const t=Q(!1),n=Q(""),r=q$(),s=Q(),o=ge(()=>s.value||r.value),i=ge(()=>new us(o.value,{keys:["id","title"],distance:50})),a=ge(()=>n.value?i.value.search(n.value).map(p=>p.item):o.value||[]),l=Q(0);ze(n,()=>{l.value=0,u()});function c(p){l.value=(l.value+p+a.value.length)%a.value.length,u()}function u(){document.getElementById(a.value[l.value]?.id)?.scrollIntoView({block:"center"})}async function f(p){const h=await p.action();h?(s.value=h,n.value=""):(s.value=void 0,n.value="",t.value=!1)}Ft("keydown",p=>{if((p.ctrlKey||p.metaKey)&&p.key==="k"){p.preventDefault(),s.value=void 0,n.value="",t.value=!t.value;return}if(t.value)switch(p.key){case"ArrowDown":case"ArrowUp":p.preventDefault(),c(p.key==="ArrowDown"?1:-1);break;case"Enter":{const h=a.value[l.value];h&&(p.preventDefault(),f(h));break}case"Escape":{p.preventDefault(),s.value?(s.value=void 0,n.value=""):t.value=!1;break}}});function d(p){p.key==="Backspace"&&!n.value&&s.value&&(p.preventDefault(),s.value=void 0,n.value="")}return(p,h)=>{const m=Wg,b=pa,y=cs,v=wr,w=ha;return Z(),Se(w,{modelValue:j(t),"onUpdate:modelValue":h[1]||(h[1]=_=>Be(t)?t.value=_:null),relative:"","h-md":"","w-xl":"","of-hidden":""},{default:he(()=>[Y("div",DN,[Y("header",FN,[J(m,{modelValue:j(n),"onUpdate:modelValue":h[0]||(h[0]=_=>Be(n)?n.value=_:null),placeholder:"Type to search...",class:"rounded-none py3 px2! ring-0!",n:"green borderless",onKeydown:d},null,8,["modelValue"])]),Y("div",BN,[(Z(!0),ve(Oe,null,fo(j(a),(_,C)=>(Z(),ve("button",{id:_.id,key:_.id,onClick:g=>f(_),onMouseover:g=>l.value=C},[Y("div",{flex:"~ gap-2 items-center justify-between",rounded:"",px3:"",py2:"",class:Ye(j(l)===C?"op100 bg-primary/10 text-primary saturate-100 bg-active":"op80")},[J(b,{icon:_.icon,title:_.title,"flex-none":"","text-xl":""},null,8,["icon","title"]),Y("span",zN,[Y("span",HN,dt(_.title),1),Y("span",UN,dt(_.description),1)]),j(l)===C?(Z(),Se(y,{key:0,icon:"i-carbon-text-new-line scale-x--100","flex-none":""})):Ge("",!0)],2)],40,jN))),128)),j(a).length?Ge("",!0):(Z(),ve("div",VN,[J(y,{op50:"",icon:"carbon-search"}),Y("div",null,[WN,Y("strong",GN,' "'+dt(j(n))+'" ',1)])]))]),Y("footer",qN,[Y("div",KN,[J(v,{n:"xs",px1:""},{default:he(()=>[J(y,{icon:"carbon-arrow-down"})]),_:1}),J(v,{n:"xs",px1:""},{default:he(()=>[J(y,{icon:"carbon-arrow-up"})]),_:1}),XN]),Y("div",YN,[J(v,{n:"xs",px1:""},{default:he(()=>[Ie(" Esc ")]),_:1}),Y("span",JN,"to "+dt(j(s)?"go back":"close"),1)]),Y("div",ZN,[J(v,{n:"xs",px1:""},{default:he(()=>[J(y,{icon:"i-carbon-text-new-line scale-x--100"})]),_:1}),QN])])])]),_:1},8,["modelValue"])}}}),t2=Y("h3",{class:"mb2 text-lg font-medium leading-6",flex:"~ items-center gap-1","text-orange":""},[Y("span",{class:"i-carbon-information-square"}),Ie(" Permissions required ")],-1),n2=Y("p",null," This operation requires permissions for running command and access files from the browser. ",-1),r2=Y("p",null,[Ie(" A request is sent to the server."),Y("br"),Ie(" Please check your terminal for the instructions and then come back. ")],-1),s2={flex:"~ gap-3",mt5:"","justify-between":""},o2=["onSubmit"],i2=Y("p",{absolute:"","left-1":"","top--5":"","text-xs":"","op-50":""}," Or you can manually paste the token below: ",-1),a2={flex:"~ gap-2"},l2=Te({__name:"AuthRequiredPanel",setup(e){xn(async()=>{Pt.value||Tt.value&&await De.verifyAuthToken(Tt.value)&&(Pt.value=!0),Pt.value||De.requestForAuth()});const t=Q(""),n=Q(!1);async function r(){const s=t.value.trim();n.value=!1,await De.verifyAuthToken(s).then(o=>{o?(Pt.value=!0,sE(s)):n.value=!0})}return(s,o)=>{const i=Wg,a=Ug,l=wr,c=ru,u=Vg;return("isDevAuthed"in s?s.isDevAuthed:j(Pt))?st(s.$slots,"default",{key:1}):(Z(),Se(u,{key:0},{default:he(()=>[J(c,{flex:"~ col gap-2",mxa:"",p6:""},{default:he(()=>[t2,n2,r2,Y("div",s2,[Y("form",{relative:"",flex:"~ inline gap-2 items-center",onSubmit:j_(r,["prevent"])},[i2,J(i,{modelValue:j(t),"onUpdate:modelValue":o[0]||(o[0]=f=>Be(t)?t.value=f:null),placeholder:"Enter token here",n:j(n)?"red":void 0,onKeydown:xp(r,["enter"])},null,8,["modelValue","n","onKeydown"]),J(a,{border:"~ base",hover:"border-primary text-green","p3.8":"",icon:"i-carbon-arrow-right",onClick:r})],40,o2),Y("div",a2,[st(s.$slots,"actions"),J(l,{disabled:"",icon:"i-carbon-time"},{default:he(()=>[Ie(" Waiting for authorization... ")]),_:1})])])]),_:3})]),_:3}))}}}),c2=Te({__name:"AuthConfirmDialog",setup(e){return(t,n)=>{const r=wr,s=l2,o=ha;return Z(),Se(j(Sm),null,{default:he(({resolve:i})=>[J(o,{"model-value":!("isDevAuthed"in t?t.isDevAuthed:j(Pt)),class:"border-none",onClose:a=>i(!1)},{default:he(()=>[J(s,null,{actions:he(()=>[J(r,{onClick:a=>i(!1)},{default:he(()=>[Ie(" Cancel ")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1032,["model-value","onClose"])]),_:1})}}}),u2={},f2={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d2=Y("path",{d:"M74.2283 119.873H123.414C124.977 119.874 126.511 119.475 127.864 118.717C129.217 117.959 130.341 116.869 131.121 115.557C131.902 114.244 132.313 112.755 132.312 111.24C132.312 109.725 131.899 108.236 131.118 106.924L98.0856 51.4278C97.3048 50.1156 96.1817 49.0259 94.829 48.2683C93.4764 47.5107 91.942 47.1118 90.38 47.1118C88.8181 47.1118 87.2836 47.5107 85.931 48.2683C84.5784 49.0259 83.4552 50.1156 82.6745 51.4278L74.2283 65.6274L57.7148 37.8605C56.9334 36.5484 55.8097 35.4589 54.4567 34.7014C53.1037 33.9439 51.569 33.5451 50.0068 33.5451C48.4446 33.5451 46.9099 33.9439 45.5569 34.7014C44.2039 35.4589 43.0803 36.5484 42.2989 37.8605L1.1947 106.924C0.41273 108.236 0.000680577 109.725 8.42355e-07 111.24C-0.000678893 112.755 0.410035 114.244 1.19083 115.557C1.97163 116.869 3.09498 117.959 4.44789 118.717C5.80081 119.475 7.33558 119.874 8.89785 119.873H39.7727C52.0057 119.873 61.0271 114.661 67.2346 104.493L82.3054 79.1761L90.3776 65.6274L114.604 106.325H82.3054L74.2283 119.873ZM39.2694 106.311L17.7227 106.306L50.0212 52.0462L66.1369 79.1761L55.3468 97.3092C51.2244 103.907 46.5411 106.311 39.2694 106.311Z",fill:"#00DC82"},null,-1),h2=Y("path",{d:"M152.571 118V46.1333H176.8C183.576 46.1333 189.77 47.468 195.383 50.1373C200.995 52.8067 205.478 56.8449 208.832 62.252C212.186 67.5907 213.863 74.1956 213.863 82.0667C213.863 89.8693 212.186 96.4742 208.832 101.881C205.478 107.288 200.995 111.327 195.383 113.996C189.77 116.665 183.576 118 176.8 118H152.571ZM175.157 104.653C181.796 104.653 187.306 102.874 191.687 99.3147C196.067 95.6871 198.257 89.9378 198.257 82.0667C198.257 74.1956 196.067 68.4462 191.687 64.8187C187.306 61.1911 181.796 59.3773 175.157 59.3773H167.971V104.653H175.157ZM270.18 100.444C269.153 105.988 266.381 110.437 261.864 113.791C257.347 117.144 251.905 118.821 245.54 118.821C239.928 118.821 235.102 117.555 231.064 115.023C227.094 112.422 224.083 109.068 222.029 104.961C219.976 100.855 218.949 96.5427 218.949 92.0253C218.949 87.4396 219.873 83.1276 221.721 79.0893C223.638 75.0511 226.513 71.7658 230.345 69.2333C234.247 66.7009 238.969 65.4347 244.513 65.4347C250.263 65.4347 255.054 66.6667 258.887 69.1307C262.72 71.5947 265.526 74.7431 267.305 78.576C269.153 82.4089 270.077 86.4471 270.077 90.6907C270.077 92.2649 270.009 93.8049 269.872 95.3107H232.707C233.254 99.0067 234.623 101.916 236.813 104.037C239.072 106.091 241.981 107.117 245.54 107.117C248.415 107.117 250.776 106.57 252.624 105.475C254.472 104.311 255.67 102.634 256.217 100.444H270.18ZM244.513 75.9067C241.228 75.9067 238.627 76.7622 236.711 78.4733C234.794 80.116 233.528 82.7169 232.912 86.276H255.807C255.601 83.2644 254.506 80.8004 252.521 78.884C250.537 76.8991 247.867 75.9067 244.513 75.9067ZM302.77 118H289.629L270.738 66.256H285.317L296.2 99.7253L306.98 66.256H321.661L302.77 118ZM359.731 118H344.331V59.3773H323.079V46.1333H380.983V59.3773H359.731V118ZM402.364 118.821C397.163 118.821 392.474 117.692 388.299 115.433C384.124 113.106 380.873 109.924 378.546 105.885C376.219 101.779 375.055 97.1929 375.055 92.128C375.055 87.0631 376.219 82.5116 378.546 78.4733C380.873 74.3667 384.124 71.184 388.299 68.9253C392.474 66.5982 397.163 65.4347 402.364 65.4347C407.566 65.4347 412.255 66.5982 416.43 68.9253C420.605 71.184 423.856 74.3667 426.183 78.4733C428.51 82.5116 429.674 87.0631 429.674 92.128C429.674 97.1929 428.51 101.779 426.183 105.885C423.856 109.924 420.605 113.106 416.43 115.433C412.255 117.692 407.566 118.821 402.364 118.821ZM402.364 106.501C406.197 106.501 409.311 105.167 411.707 102.497C414.103 99.828 415.3 96.3716 415.3 92.128C415.3 87.816 414.103 84.3253 411.707 81.656C409.311 78.9867 406.197 77.652 402.364 77.652C398.531 77.652 395.417 78.9867 393.022 81.656C390.626 84.3253 389.428 87.816 389.428 92.128C389.428 96.3716 390.626 99.828 393.022 102.497C395.417 105.167 398.531 106.501 402.364 106.501ZM462.12 118.821C456.918 118.821 452.229 117.692 448.054 115.433C443.879 113.106 440.628 109.924 438.301 105.885C435.974 101.779 434.81 97.1929 434.81 92.128C434.81 87.0631 435.974 82.5116 438.301 78.4733C440.628 74.3667 443.879 71.184 448.054 68.9253C452.229 66.5982 456.918 65.4347 462.12 65.4347C467.321 65.4347 472.01 66.5982 476.185 68.9253C480.36 71.184 483.611 74.3667 485.938 78.4733C488.265 82.5116 489.429 87.0631 489.429 92.128C489.429 97.1929 488.265 101.779 485.938 105.885C483.611 109.924 480.36 113.106 476.185 115.433C472.01 117.692 467.321 118.821 462.12 118.821ZM462.12 106.501C465.952 106.501 469.067 105.167 471.462 102.497C473.858 99.828 475.056 96.3716 475.056 92.128C475.056 87.816 473.858 84.3253 471.462 81.656C469.067 78.9867 465.952 77.652 462.12 77.652C458.287 77.652 455.172 78.9867 452.777 81.656C450.381 84.3253 449.184 87.816 449.184 92.128C449.184 96.3716 450.381 99.828 452.777 102.497C455.172 105.167 458.287 106.501 462.12 106.501ZM512.327 118H498.056V43.772H512.327V118ZM542.494 118.821C536.129 118.821 530.961 117.179 526.991 113.893C523.09 110.54 521.002 106.091 520.729 100.547H533.049C533.322 102.874 534.281 104.722 535.923 106.091C537.634 107.391 539.825 108.041 542.494 108.041C544.684 108.041 546.464 107.562 547.833 106.604C549.27 105.646 549.989 104.448 549.989 103.011C549.989 101.094 549.167 99.7596 547.525 99.0067C545.882 98.2538 543.281 97.5693 539.722 96.9533C536.026 96.2689 533.014 95.516 530.687 94.6947C528.36 93.8733 526.341 92.4018 524.63 90.28C522.987 88.0898 522.166 85.0098 522.166 81.04C522.166 78.0284 522.953 75.3591 524.527 73.032C526.17 70.6364 528.394 68.7884 531.201 67.488C534.007 66.1191 537.155 65.4347 540.646 65.4347C546.874 65.4347 551.905 66.9747 555.738 70.0547C559.639 73.1347 561.727 77.2071 562.001 82.272H549.578C549.304 80.1502 548.312 78.5076 546.601 77.344C544.958 76.112 543.11 75.496 541.057 75.496C539.003 75.496 537.361 75.9409 536.129 76.8307C534.897 77.7204 534.281 78.9524 534.281 80.5267C534.281 82.4431 535.068 83.7436 536.642 84.428C538.285 85.044 540.851 85.5916 544.342 86.0707C548.106 86.6182 551.186 87.3027 553.582 88.124C556.046 88.8769 558.168 90.3827 559.947 92.6413C561.727 94.9 562.617 98.1853 562.617 102.497C562.617 107.425 560.769 111.395 557.073 114.407C553.445 117.35 548.585 118.821 542.494 118.821Z",fill:"currentColor"},null,-1),p2=[d2,h2];function m2(e,t){return Z(),ve("svg",f2,p2)}const g2=ls(u2,[["render",m2]]),v2={},y2={key:0,flex:"~ col justify-center items-center gap-2",fixed:"","bottom-0":"","left-0":"","right-0":"","top-0":"","z-2147483646":"",p5:"","text-lg":"","backdrop-blur-5":"","glass-effect":""},_2={flex:"~","mt--10":"","items-center":"","justify-center":""},b2={key:0,flex:"~ gap-2","items-center":"","text-rose":""},w2={key:1,flex:"~ gap-2","animate-pulse":"","items-center":"","text-yellow":""};function x2(e,t){const n=g2,r=cs;return Z(),Se(ip,{to:"body"},[("wsConnectingDebounced"in e?e.wsConnectingDebounced:j(Yx))?(Z(),ve("div",y2,[Y("div",_2,[J(n,{"h-14":""})]),("wsError"in e?e.wsError:j(Xx))?(Z(),ve("div",b2,[J(r,{icon:"i-carbon-wifi-off"}),Ie(" WebSocket disconnected ")])):(Z(),ve("div",w2,[J(r,{icon:"i-carbon-circle-dash","animate-spin":""}),Ie(" Connecting to the server... ")]))])):Ge("",!0)])}const E2=ls(v2,[["render",x2]]),S2={p4:"",flex:"~ col gap-1"},C2=Y("h3",{class:"text-lg font-medium leading-6"}," Restart ",-1),T2={op50:""},P2={flex:"~ gap-3",mt2:"","justify-end":""},k2=Te({__name:"RestartDialogs",setup(e){const t=Le(),n=Qx(),r=ut(),s=Ic();return t.hook("devtools:terminal:exit",({id:o,code:i})=>{if(i===0){const a=n.value.find(l=>l.id===o);a&&(n.value=n.value.filter(l=>l.id!==o),s.start(a.message).then(l=>{l&&(De.restartNuxt(),setTimeout(()=>{r.value?.app.reload()},500))}))}}),(o,i)=>{const a=wr,l=ha;return Z(),Se(j(s),null,{default:he(({resolve:c,args:u})=>[J(l,{"model-value":!0,onClose:f=>c(!1)},{default:he(()=>[Y("div",S2,[C2,Y("p",T2,dt(u[0]),1),Y("div",P2,[J(a,{onClick:f=>c(!1)},{default:he(()=>[Ie(" Cancel ")]),_:2},1032,["onClick"]),J(a,{n:"solid primary",onClick:f=>c(!0)},{default:he(()=>[Ie(" Update ")]),_:2},1032,["onClick"])])])]),_:2},1032,["onClose"])]),_:1})}}});function A2(){return ea("schema:input",null)}const ah=Q([]),lh=Q();function R2(){const e=Le(),t=ut(),n=it();Object.assign(xm,{async refresh(r){e.hooks.callHookParallel("app:data:refresh",[r])},async callHook(r,...s){e.hooks.callHookParallel(r,...s)},async onTerminalData(r){e.hooks.callHookParallel("devtools:terminal:data",r)},async onTerminalExit(r){e.hooks.callHookParallel("devtools:terminal:exit",r);const s=ah.value.findIndex(o=>o.processId===r.id);s!==-1&&ah.value.splice(s,1),lh.value?.processId===r.id&&(lh.value=void 0)},async navigateTo(r){t.value.open(),n.currentRoute.value?.path!==r&&n.push(r)}}),De.getModuleOptions().then(r=>{r.disableAuthorization&&(Pt.value=!0,Tt.value||="disabled")})}const $2=gi(()=>be(()=>import("./DataSchemaDrawer.f84a2081.js"),["./DataSchemaDrawer.f84a2081.js","./NSelect.vue.9cac29ef.js","./NSwitch.vue.67a4fdb0.js","./NDropdown.vue.b3117df4.js","./NCodeBlock.vue.01eb6d1c.js","./client.c59e50d6.js","./NCodeBlock.6994516c.css","./DrawerRight.vue.b9dc765f.js"],import.meta.url).then(e=>e.default||e)),N2={fixed:"","inset-0":"","h-screen":"","w-screen":""},O2=Te({__name:"app",setup(e){be(()=>import("./unocss-runtime.68d64d4a.js"),[],import.meta.url),Hb({title:"Nuxt DevTools",meta:[{name:"viewport",content:"width=device-width, initial-scale=1"}],link:[{rel:"icon",type:"image/svg+xml",href:"/nuxt.svg"}]}),R2();const t=ut(),n=To(),r=qc(),s=ge(()=>n.path.startsWith("/__")),o=ge(()=>!t.value&&!lk.value);ze(()=>t.value?.app.colorMode.value,c=>{c&&(r.value=c)},{immediate:!0}),addEventListener("keydown",c=>{c.code==="KeyD"&&c.altKey&&(t.value?.devtools.close(),c.preventDefault())});const{scale:i,sidebarExpanded:a}=as(),l=A2();return xn(()=>{const c=ck();Br(()=>{window.__NUXT_DEVTOOLS__=c.value}),Br(()=>{document.body.style.fontSize=`${i.value*15}px`})}),K$(()=>Ol.value?[{id:"action:split-screen",title:`${In.value?"Close":"Open"} Split Screen`,icon:"i-carbon-split-screen",action:()=>{In.value=!In.value}}]:[]),(c,u)=>{const f=VA,d=GA,p=ZA,h=b$,m=S$,b=D$,y=H$,v=V$,w=e2,_=c2,C=E2,g=k2,T=$2;return Z(),ve("div",N2,[J(f),J(d),j(o)?(Z(),Se(p,{key:0},{default:he(()=>[Ie(" Connecting.... ")]),_:1})):(Z(),ve("div",{key:1,class:Ye(j(s)?"flex":j(a)?"grid grid-cols-[250px_1fr]":"grid grid-cols-[50px_1fr]"),"h-full":"","h-screen":"","of-hidden":"","font-sans":"","bg-base":""},[mi(J(h,{"of-x-hidden":"","of-y-auto":""},null,512),[[ul,!j(s)]]),J(v,null,{default:he(()=>[J(y,{"storage-key":"devtools:split-screen-mode","min-size":20},Ay({left:he(()=>[J(m)]),_:2},[("splitScreenEnabled"in c?c.splitScreenEnabled:j(In))&&j(Ol)?{name:"right",fn:he(()=>[J(b)]),key:"0"}:void 0]),1024)]),_:1}),J(w),J(_)],2)),J(C),J(g),u._lazyshow1||j(l)?(u._lazyshow1=!0,Z(),ve(Oe,null,[mi(Y("div",null,[J(T)],512),[[ul,j(l)]])],64)):Ge("v-show-if",!0)])}}}),I2={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;(n.stack||"").split(`
|
|
26
|
+
`).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=>`<span class="stack${f.internal?" internal":""}">${f.text}</span>`).join(`
|
|
27
|
+
`);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?gi(()=>be(()=>import("./error-404.5c6d1cc1.js"),["./error-404.5c6d1cc1.js","./error-404.82ac0ec5.css"],import.meta.url).then(f=>f.default||f)):gi(()=>be(()=>import("./error-500.b5b10475.js"),["./error-500.b5b10475.js","./error-500.ff959f66.css"],import.meta.url).then(f=>f.default||f));return(f,d)=>(Z(),Se(j(u),Ql(Ki({statusCode:j(r),statusMessage:j(o),description:j(i),stack:j(a)})),null,16))}},ch={__name:"nuxt-root",setup(e){const t=()=>null,n=Le(),r=n.deferHydration(),s=!1;ur(Co,To()),n.hooks.callHookWith(a=>a.map(l=>l()),"vue:setup");const o=Ji();Kh((a,l,c)=>{if(n.hooks.callHook("vue:error",a,l,c).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),i1(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>kr(a)),!1});const i=!1;return(a,l)=>(Z(),Se(hc,{onResolve:j(r)},{default:he(()=>[j(o)?(Z(),Se(j(I2),{key:0,error:j(o)},null,8,["error"])):j(i)?(Z(),Se(j(t),{key:1,context:j(i)},null,8,["context"])):j(s)?(Z(),Se(hr(j(s)),{key:2})):(Z(),Se(j(O2),{key:3}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=I0.create({baseURL:M0()}));let uh;{let e;uh=async function(){if(e)return e;const r=!!(window.__NUXT__?.serverRendered||document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true")?V_(ch):Sp(ch),s=X0({vueApp:r});try{await J0(s,UA)}catch(o){await s.callHook("app:error",o),s.payload.error=s.payload.error||o}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(Gb),await s.hooks.callHook("app:mounted",r),await Et()}catch(o){await s.callHook("app:error",o),s.payload.error=s.payload.error||o}return r},e=uh().catch(t=>{console.error("Error while mounting app:",t)})}export{I0 as $,Vg as A,bk as B,wr as C,g2 as D,Ye as E,Oe as F,xx as G,mi as H,ul as I,De as J,oE as K,Ic as L,pO as M,it as N,ea as O,gO as P,K$ as Q,H$ as R,lh as S,ip as T,Wg as U,ha as V,Ft as W,Fc as X,Kx as Y,Xx as Z,Ug as _,ge as a,Y2 as a$,cs as a0,C1 as a1,W2 as a2,hn as a3,pm as a4,st as a5,yO as a6,hk as a7,G2 as a8,L2 as a9,Pt as aA,l2 as aB,eO as aC,lO as aD,uO as aE,K2 as aF,I_ as aG,Ay as aH,nO as aI,ah as aJ,ay as aK,kh as aL,Qr as aM,M2 as aN,Yi as aO,Lc as aP,Ql as aQ,Ki as aR,Zb as aS,Z2 as aT,F2 as aU,iO as aV,ng as aW,oO as aX,mO as aY,Zw as aZ,_O as a_,xp as aa,Wu as ab,fO as ac,us as ad,H2 as ae,qc as af,og as ag,cO as ah,xn as ai,as as aj,ru as ak,gn as al,tO as am,q2 as an,kx as ao,yn as ap,ut as aq,hr as ar,jt as as,U2 as at,Et as au,Br as av,uo as aw,ck as ax,To as ay,r$ as az,j2 as b,Q2 as b0,lk as b1,yt as b2,sO as b3,Qx as b4,ss as b5,X2 as b6,j_ as b7,hO as b8,Yw as b9,li as bA,rR as bB,O_ as bC,L_ as bD,nE as bE,es as ba,rn as bb,_i as bc,Ae as bd,vO as be,J2 as bf,z2 as bg,ZA as bh,dk as bi,xy as bj,tn as bk,Jw as bl,B2 as bm,V2 as bn,D2 as bo,Le as bp,Gp as bq,Td as br,aO as bs,dO as bt,xt as bu,pa as bv,Je as bw,mk as bx,LR as by,Rh as bz,tE as c,Te as d,MR as e,j as f,rO as g,Se as h,J as i,he as j,Y as k,Be as l,ve as m,fo as n,Z as o,Ge as p,ls as q,Q as r,Hb as s,dt as t,A2 as u,Ie as v,ze as w,Ac as x,oy as y,iy as z};
|