@nuxt/devtools 1.0.0-beta.2 → 1.0.0

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.
Files changed (115) hide show
  1. package/README.md +25 -31
  2. package/dist/chunks/module-main.mjs +20 -14
  3. package/dist/chunks/vscode.mjs +1 -1
  4. package/dist/client/200.html +17 -17
  5. package/dist/client/404.html +17 -17
  6. package/dist/client/__blank/index.html +17 -17
  7. package/dist/client/_nuxt/{CodeDiff.vue.b74b0167.js → CodeDiff.vue.436985c7.js} +1 -1
  8. package/dist/client/_nuxt/{ComposableItem.vue.66a98e20.js → ComposableItem.vue.2d6f2884.js} +1 -1
  9. package/dist/client/_nuxt/{DataSchemaButton.vue.b30dcd6f.js → DataSchemaButton.vue.42a3718a.js} +1 -1
  10. package/dist/client/_nuxt/{DataSchemaDrawer.d00941d6.js → DataSchemaDrawer.edc189c2.js} +1 -1
  11. package/dist/client/_nuxt/{DurationDisplay.vue.5b7cc04d.js → DurationDisplay.vue.719ab95f.js} +1 -1
  12. package/dist/client/_nuxt/{FilepathItem.vue.6dd69314.js → FilepathItem.vue.7fdda51b.js} +1 -1
  13. package/dist/client/_nuxt/{HelpFab.vue.314bc83b.js → HelpFab.vue.891b009b.js} +1 -1
  14. package/dist/client/_nuxt/LaunchPage.vue.289a5cb3.js +1 -0
  15. package/dist/client/_nuxt/{NBadge.e849763e.js → NBadge.83bd8b90.js} +1 -1
  16. package/dist/client/_nuxt/NCheckbox.vue.5a0973a7.js +1 -0
  17. package/dist/client/_nuxt/{NCodeBlock.vue.882d562f.js → NCodeBlock.vue.2de294a4.js} +2 -2
  18. package/dist/client/_nuxt/{NDrawer.vue.a4010d93.js → NDrawer.vue.9614b581.js} +1 -1
  19. package/dist/client/_nuxt/NDropdown.vue.26dc3926.js +1 -0
  20. package/dist/client/_nuxt/{NIconTitle.vue.71113a3f.js → NIconTitle.vue.eb974cf8.js} +1 -1
  21. package/dist/client/_nuxt/{NLink.vue.a09685db.js → NLink.vue.31c2cbc4.js} +1 -1
  22. package/dist/client/_nuxt/{NMarkdown.vue.13c5f0c3.js → NMarkdown.vue.4b221360.js} +1 -1
  23. package/dist/client/_nuxt/{NNavbar.vue.d9a029e0.js → NNavbar.vue.5fed0fd7.js} +1 -1
  24. package/dist/client/_nuxt/NSectionBlock.d6290e19.js +1 -0
  25. package/dist/client/_nuxt/NSelect.vue.08628a3f.js +1 -0
  26. package/dist/client/_nuxt/NSelectTabs.vue.30a856a4.js +1 -0
  27. package/dist/client/_nuxt/NSwitch.vue.1b79756d.js +1 -0
  28. package/dist/client/_nuxt/{NTip.vue.3f5fb5a1.js → NTip.vue.1a1ff991.js} +1 -1
  29. package/dist/client/_nuxt/StateEditor.vue.9646c347.js +1 -0
  30. package/dist/client/_nuxt/{__blank.f49c5a73.js → __blank.176c8119.js} +1 -1
  31. package/dist/client/_nuxt/{analyze-build.988e7c9e.js → analyze-build.d636dfd0.js} +1 -1
  32. package/dist/client/_nuxt/assets.29a152c5.js +16 -0
  33. package/dist/client/_nuxt/client.f2b385ce.js +1 -0
  34. package/dist/client/_nuxt/components.7bfa06b8.js +98 -0
  35. package/dist/client/_nuxt/{custom-_name_.0e141ac3.js → custom-_name_.3fb62165.js} +1 -1
  36. package/dist/client/_nuxt/{default.a50dad07.js → default.2a08c996.js} +1 -1
  37. package/dist/client/_nuxt/entry.12ac938b.js +27 -0
  38. package/dist/client/_nuxt/entry.aac067b6.css +1 -0
  39. package/dist/client/_nuxt/{error-404.429edf81.js → error-404.a171614a.js} +1 -1
  40. package/dist/client/_nuxt/{error-500.9e83b20b.js → error-500.3ea59bbe.js} +1 -1
  41. package/dist/client/_nuxt/{full.c90b8ab9.js → full.76f6dd31.js} +1 -1
  42. package/dist/client/_nuxt/{hooks.40588927.js → hooks.a236b60f.js} +1 -1
  43. package/dist/client/_nuxt/{imports.7b590e48.js → imports.67d68271.js} +1 -1
  44. package/dist/client/_nuxt/{index.8013a14e.js → index.64ca7e84.js} +1 -1
  45. package/dist/client/_nuxt/index.dbe03c05.js +1 -0
  46. package/dist/client/_nuxt/{json-editor-vue.465dc720.js → json-editor-vue.cf7b17c9.js} +1 -1
  47. package/dist/client/_nuxt/modules.798949c3.js +2 -0
  48. package/dist/client/_nuxt/{none.ab2b300f.js → none.cad56a7a.js} +1 -1
  49. package/dist/client/_nuxt/open-graph.484b1a77.css +1 -0
  50. package/dist/client/_nuxt/open-graph.8ebd5e58.js +3 -0
  51. package/dist/client/_nuxt/overview.0d62f8aa.js +1 -0
  52. package/dist/client/_nuxt/{pages.7f7e1a57.js → pages.1e1baa5d.js} +1 -1
  53. package/dist/client/_nuxt/payload.83b598a3.js +1 -0
  54. package/dist/client/_nuxt/{plugins.1f073986.js → plugins.0e90c1cf.js} +1 -1
  55. package/dist/client/_nuxt/{runtime-configs.6d4dd513.js → runtime-configs.ae0bd008.js} +1 -1
  56. package/dist/client/_nuxt/server-routes.6a4e23d0.js +9 -0
  57. package/dist/client/_nuxt/settings.82aae3ea.js +1 -0
  58. package/dist/client/_nuxt/{state-components.c2be3414.js → state-components.c06dd56d.js} +1 -1
  59. package/dist/client/_nuxt/state-modules.7616c62e.js +1 -0
  60. package/dist/client/_nuxt/storage-options.2141006e.js +1 -0
  61. package/dist/client/_nuxt/{storage.8cd70b69.js → storage.fe3db05a.js} +1 -1
  62. package/dist/client/_nuxt/{terminals.ce3bbf0e.js → terminals.f6a3d365.js} +1 -1
  63. package/dist/client/_nuxt/timeline.ba2f1a0c.js +29 -0
  64. package/dist/client/_nuxt/{unocss-runtime.41db0d67.js → unocss-runtime.0346eeb6.js} +1 -1
  65. package/dist/client/_nuxt/virtual-files.3a2a25a2.js +1 -0
  66. package/dist/client/index.html +17 -17
  67. package/dist/client/modules/analyze-build/index.html +17 -17
  68. package/dist/client/modules/assets/index.html +17 -17
  69. package/dist/client/modules/components/index.html +17 -17
  70. package/dist/client/modules/hooks/index.html +17 -17
  71. package/dist/client/modules/imports/index.html +17 -17
  72. package/dist/client/modules/modules/index.html +17 -17
  73. package/dist/client/modules/open-graph/index.html +17 -17
  74. package/dist/client/modules/overview/index.html +17 -17
  75. package/dist/client/modules/pages/index.html +17 -17
  76. package/dist/client/modules/payload/index.html +17 -17
  77. package/dist/client/modules/plugins/index.html +17 -17
  78. package/dist/client/modules/runtime-configs/index.html +17 -17
  79. package/dist/client/modules/server-routes/index.html +17 -17
  80. package/dist/client/modules/storage/index.html +17 -17
  81. package/dist/client/modules/terminals/index.html +17 -17
  82. package/dist/client/modules/timeline/index.html +17 -17
  83. package/dist/client/modules/virtual-files/index.html +17 -17
  84. package/dist/client/settings/index.html +17 -17
  85. package/dist/module.json +1 -1
  86. package/dist/module.mjs +1 -1
  87. package/dist/runtime/plugins/view/client.mjs +1 -1
  88. package/dist/shared/{devtools.d18bab28.mjs → devtools.ca660ec5.mjs} +31 -1
  89. package/package.json +7 -7
  90. package/dist/client/_nuxt/LaunchPage.vue.017c62ce.js +0 -1
  91. package/dist/client/_nuxt/NCheckbox.vue.cf7e1e9d.js +0 -1
  92. package/dist/client/_nuxt/NDropdown.vue.3b1768f5.js +0 -1
  93. package/dist/client/_nuxt/NSectionBlock.7f41e147.js +0 -1
  94. package/dist/client/_nuxt/NSelect.vue.e7f8c81a.js +0 -1
  95. package/dist/client/_nuxt/NSelectTabs.vue.ddc009ff.js +0 -1
  96. package/dist/client/_nuxt/NSwitch.vue.8d3010b0.js +0 -1
  97. package/dist/client/_nuxt/StateEditor.vue.162475d5.js +0 -1
  98. package/dist/client/_nuxt/assets.2b649247.js +0 -16
  99. package/dist/client/_nuxt/client.253674ec.js +0 -1
  100. package/dist/client/_nuxt/components.7583b49c.js +0 -98
  101. package/dist/client/_nuxt/entry.3dd66f35.js +0 -27
  102. package/dist/client/_nuxt/entry.960c025a.css +0 -1
  103. package/dist/client/_nuxt/index.90ae56cb.js +0 -1
  104. package/dist/client/_nuxt/middleware.72aa446e.js +0 -1
  105. package/dist/client/_nuxt/modules.d997669f.js +0 -2
  106. package/dist/client/_nuxt/open-graph.1cc10683.js +0 -3
  107. package/dist/client/_nuxt/overview.014aea35.js +0 -1
  108. package/dist/client/_nuxt/payload.58a8bb6b.js +0 -1
  109. package/dist/client/_nuxt/server-routes.b5fc14db.js +0 -9
  110. package/dist/client/_nuxt/settings.04d1166d.js +0 -1
  111. package/dist/client/_nuxt/state-modules.5bf4563c.js +0 -1
  112. package/dist/client/_nuxt/storage-options.2224e06b.js +0 -1
  113. package/dist/client/_nuxt/timeline.23647b38.js +0 -29
  114. package/dist/client/_nuxt/virtual-files.bc5e9072.js +0 -1
  115. package/dist/client/modules/middleware/index.html +0 -42
@@ -1,27 +0,0 @@
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=[],Mt=()=>{},nv=()=>!1,rv=/^on[^a-z]/,Eo=e=>rv.test(e),Xl=e=>e.startsWith("onUpdate:"),Ke=Object.assign,Yl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},sv=Object.prototype.hasOwnProperty,Ne=(e,t)=>sv.call(e,t),he=Array.isArray,Rr=e=>Jr(e)==="[object Map]",Yr=e=>Jr(e)==="[object Set]",au=e=>Jr(e)==="[object Date]",ov=e=>Jr(e)==="[object RegExp]",_e=e=>typeof e=="function",Ve=e=>typeof e=="string",ro=e=>typeof e=="symbol",ze=e=>e!==null&&typeof e=="object",Jl=e=>ze(e)&&_e(e.then)&&_e(e.catch),fh=Object.prototype.toString,Jr=e=>fh.call(e),iv=e=>Jr(e).slice(8,-1),dh=e=>Jr(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"),Fi=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},av=/-(\w)/g,tn=Fi(e=>e.replace(av,(t,n)=>n?n.toUpperCase():"")),lv=/\B([A-Z])/g,vr=Fi(e=>e.replace(lv,"-$1").toLowerCase()),Bi=Fi(e=>e.charAt(0).toUpperCase()+e.slice(1)),ni=Fi(e=>e?`on${Bi(e)}`:""),so=(e,t)=>!Object.is(e,t),$r=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},li=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ci=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 Ya=()=>lu||(lu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Zt(e){if(he(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Ve(r)?dv(r):Zt(r);if(s)for(const o in s)t[o]=s[o]}return t}else{if(Ve(e))return e;if(ze(e))return e}}const cv=/;(?![^(]*\))/g,uv=/:([^]+)/,fv=/\/\*[^]*?\*\//g;function dv(e){const t={};return e.replace(fv,"").split(cv).forEach(n=>{if(n){const r=n.split(uv);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function qe(e){let t="";if(Ve(e))t=e;else if(he(e))for(let n=0;n<e.length;n++){const r=qe(e[n]);r&&(t+=r+" ")}else if(ze(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=qe(t)),n&&(e.style=Zt(n)),e}const hv="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",pv=Kl(hv);function ph(e){return!!e||e===""}function mv(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=he(e),r=he(t),n||r)return n&&r?mv(e,t):!1;if(n=ze(e),r=ze(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 ft=e=>Ve(e)?e:e==null?"":he(e)||ze(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),{})}:Yr(t)?{[`Set(${t.size})`]:[...t.values()]}:ze(t)&&!he(t)&&!dh(t)?String(t):t;let _t;class gv{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=_t,!t&&_t&&(this.index=(_t.scopes||(_t.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=_t;try{return _t=this,t()}finally{_t=n}}}on(){_t=this}off(){_t=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 vv(e,t=_t){t&&t.active&&t.effects.push(e)}function gh(){return _t}function yv(e){_t&&_t.cleanups.push(e)}const tc=e=>{const t=new Set(e);return t.w=0,t.n=0,t},vh=e=>(e.w&jn)>0,yh=e=>(e.n&jn)>0,_v=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=jn},bv=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&=~jn,s.n&=~jn}t.length=n}},ui=new WeakMap;let js=0,jn=1;const Ja=30;let Ot;const lr=Symbol(""),Za=Symbol("");class nc{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,vv(this,r)}run(){if(!this.active)return this.fn();let t=Ot,n=In;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Ot,Ot=this,In=!0,jn=1<<++js,js<=Ja?_v(this):cu(this),this.fn()}finally{js<=Ja&&bv(this),jn=1<<--js,Ot=this.parent,In=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Ot===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 In=!0;const _h=[];function Zr(){_h.push(In),In=!1}function Qr(){const e=_h.pop();In=e===void 0?!0:e}function vt(e,t,n){if(In&&Ot){let r=ui.get(e);r||ui.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<=Ja?yh(e)||(e.n|=jn,n=!vh(e)):n=!e.has(Ot),n&&(e.add(Ot),Ot.deps.push(e))}function mn(e,t,n,r,s,o){const i=ui.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&he(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":he(e)?Zl(n)&&a.push(i.get("length")):(a.push(i.get(lr)),Rr(e)&&a.push(i.get(Za)));break;case"delete":he(e)||(a.push(i.get(lr)),Rr(e)&&a.push(i.get(Za)));break;case"set":Rr(e)&&a.push(i.get(lr));break}if(a.length===1)a[0]&&Qa(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);Qa(tc(l))}}function Qa(e,t){const n=he(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!==Ot||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function wv(e,t){var n;return(n=ui.get(e))==null?void 0:n.get(t)}const Ev=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(),Sv=rc(!1,!0),Cv=rc(!0),fu=Tv();function Tv(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Re(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(Re)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Zr();const r=Re(this)[t].apply(this,n);return Qr(),r}}),e}function kv(e){const t=Re(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?Uv:Th:t?Ch:Sh).get(r))return r;const i=he(r);if(!e){if(i&&Ne(fu,s))return Reflect.get(fu,s,o);if(s==="hasOwnProperty")return kv}const a=Reflect.get(r,s,o);return(ro(s)?wh.has(s):Ev(s))||(e||vt(r,"get",s),t)?a:Be(a)?i&&Zl(s)?a:a.value:ze(a)?e?ts(a):Bt(a):a}}const Pv=Eh(),Av=Eh(!0);function Eh(e=!1){return function(n,r,s,o){let i=n[r];if(dr(i)&&Be(i)&&!Be(s))return!1;if(!e&&(!fi(s)&&!dr(s)&&(i=Re(i),s=Re(s)),!he(n)&&Be(i)&&!Be(s)))return i.value=s,!0;const a=he(n)&&Zl(r)?Number(r)<n.length:Ne(n,r),l=Reflect.set(n,r,s,o);return n===Re(o)&&(a?so(s,i)&&mn(n,"set",r,s):mn(n,"add",r,s)),l}}function Rv(e,t){const n=Ne(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&mn(e,"delete",t,void 0),r}function $v(e,t){const n=Reflect.has(e,t);return(!ro(t)||!wh.has(t))&&vt(e,"has",t),n}function Nv(e){return vt(e,"iterate",he(e)?"length":lr),Reflect.ownKeys(e)}const xh={get:xv,set:Pv,deleteProperty:Rv,has:$v,ownKeys:Nv},Ov={get:Cv,set(e,t){return!0},deleteProperty(e,t){return!0}},Iv=Ke({},xh,{get:Sv,set:Av}),sc=e=>e,ji=e=>Reflect.getPrototypeOf(e);function $o(e,t,n=!1,r=!1){e=e.__v_raw;const s=Re(e),o=Re(t);n||(t!==o&&vt(s,"get",t),vt(s,"get",o));const{has:i}=ji(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=Re(n),s=Re(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(Re(e),"iterate",lr),Reflect.get(e,"size",e)}function du(e){e=Re(e);const t=Re(this);return ji(t).has.call(t,e)||(t.add(e),mn(t,"add",e,e)),this}function hu(e,t){t=Re(t);const n=Re(this),{has:r,get:s}=ji(n);let o=r.call(n,e);o||(e=Re(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=Re(this),{has:n,get:r}=ji(t);let s=n.call(t,e);s||(e=Re(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=Re(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=Re(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=Re(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?Za: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 Lv(){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[Mv,Dv,Fv,Bv]=Lv();function oc(e,t){const n=t?e?Bv:Fv:e?Dv:Mv;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(Ne(n,s)&&s in r?n:r,s,o)}const jv={get:oc(!1,!1)},zv={get:oc(!1,!0)},Hv={get:oc(!0,!1)},Sh=new WeakMap,Ch=new WeakMap,Th=new WeakMap,Uv=new WeakMap;function Vv(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Wv(e){return e.__v_skip||!Object.isExtensible(e)?0:Vv(iv(e))}function Bt(e){return dr(e)?e:ic(e,!1,xh,jv,Sh)}function es(e){return ic(e,!1,Iv,zv,Ch)}function ts(e){return ic(e,!0,Ov,Hv,Th)}function ic(e,t,n,r,s){if(!ze(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=Wv(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 fi(e){return!!(e&&e.__v_isShallow)}function kh(e){return Nr(e)||dr(e)}function Re(e){const t=e&&e.__v_raw;return t?Re(t):e}function Ph(e){return li(e,"__v_skip",!0),e}const oo=e=>ze(e)?Bt(e):e,ac=e=>ze(e)?ts(e):e;function lc(e){In&&Ot&&(e=Re(e),bh(e.dep||(e.dep=tc())))}function zi(e,t){e=Re(e);const n=e.dep;n&&Qa(n)}function Be(e){return!!(e&&e.__v_isRef===!0)}function J(e){return Ah(e,!1)}function nn(e){return Ah(e,!0)}function Ah(e,t){return Be(e)?e:new Gv(e,t)}class Gv{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Re(t),this._value=n?t:oo(t)}get value(){return lc(this),this._value}set value(t){const n=this.__v_isShallow||fi(t)||dr(t);t=n?t:Re(t),so(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:oo(t),zi(this))}}function Rh(e){zi(e)}function z(e){return Be(e)?e.value:e}function cc(e){return _e(e)?e():z(e)}const qv={get:(e,t,n)=>z(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,qv)}class Kv{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>lc(this),()=>zi(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Xv(e){return new Kv(e)}function Yv(e){const t=he(e)?new Array(e.length):{};for(const n in e)t[n]=Nh(e,n);return t}class Jv{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 wv(Re(this._object),this._key)}}class Zv{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 Zv(e):ze(e)&&arguments.length>1?Nh(e,t,n):J(e)}function Nh(e,t,n){const r=e[t];return Be(r)?r:new Jv(e,t,n)}class Qv{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,zi(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=Re(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 ey(e,t,n=!1){let r,s;const o=_e(e);return o?(r=e,s=Mt):(r=e.get,s=e.set),new Qv(r,s,o||!s,n)}function Ln(e,t,n,r){let s;try{s=r?e(...r):e()}catch(o){ns(o,t,n)}return s}function At(e,t,n,r){if(_e(e)){const o=Ln(e,t,n,r);return o&&Jl(o)&&o.catch(i=>{ns(i,t,n)}),o}const s=[];for(let o=0;o<e.length;o++)s.push(At(e[o],t,n,r));return s}function ns(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){Ln(l,null,10,[e,i,a]);return}}ty(e,n,s,r)}function ty(e,t,n,r=!0){console.error(e)}let io=!1,el=!1;const lt=[];let Xt=0;const Or=[];let cn=null,Qn=0;const Oh=Promise.resolve();let fc=null;function xt(e){const t=fc||Oh;return e?t.then(this?e.bind(this):e):t}function ny(e){let t=Xt+1,n=lt.length;for(;t<n;){const r=t+n>>>1;ao(lt[r])<e?t=r+1:n=r}return t}function Hi(e){(!lt.length||!lt.includes(e,io&&e.allowRecurse?Xt+1:Xt))&&(e.id==null?lt.push(e):lt.splice(ny(e.id),0,e),Ih())}function Ih(){!io&&!el&&(el=!0,fc=Oh.then(Mh))}function ry(e){const t=lt.indexOf(e);t>Xt&&lt.splice(t,1)}function Lh(e){he(e)?Or.push(...e):(!cn||!cn.includes(e,e.allowRecurse?Qn+1:Qn))&&Or.push(e),Ih()}function gu(e,t=io?Xt+1:0){for(;t<lt.length;t++){const n=lt[t];n&&n.pre&&(lt.splice(t,1),t--,n())}}function di(e){if(Or.length){const t=[...new Set(Or)];if(Or.length=0,cn){cn.push(...t);return}for(cn=t,cn.sort((n,r)=>ao(n)-ao(r)),Qn=0;Qn<cn.length;Qn++)cn[Qn]();cn=null,Qn=0}}const ao=e=>e.id==null?1/0:e.id,sy=(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){el=!1,io=!0,lt.sort(sy);const t=Mt;try{for(Xt=0;Xt<lt.length;Xt++){const n=lt[Xt];n&&n.active!==!1&&Ln(n,null,14)}}finally{Xt=0,lt.length=0,di(),io=!1,fc=null,(lt.length||Or.length)&&Mh()}}function oy(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(ci))}let a,l=r[a=ni(t)]||r[a=ni(tn(t))];!l&&o&&(l=r[a=ni(vr(t))]),l&&At(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,At(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,Ke(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(ze(e)&&r.set(e,null),null):(he(o)?o.forEach(l=>i[l]=null):Ke(i,o),ze(e)&&r.set(e,i),i)}function Ui(e,t){return!e||!Eo(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ne(e,t[0].toLowerCase()+t.slice(1))||Ne(e,vr(t))||Ne(e,t))}let nt=null,Vi=null;function hi(e){const t=nt;return nt=e,Vi=e&&e.type.__scopeId||null,t}function iy(e){Vi=e}function ay(){Vi=null}const ly=e=>pe;function pe(e,t=nt,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Ru(-1);const o=hi(t);let i;try{i=e(...s)}finally{hi(o),r._d&&Ru(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function pa(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=hi(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:uy(l)}}catch(_){qs.length=0,ns(_,e,1),b=Z(ht)}let w=b;if(y&&m!==!1){const _=Object.keys(y),{shapeFlag:C}=w;_.length&&C&7&&(i&&_.some(Xl)&&(y=fy(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,hi(v),b}function cy(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(Vr(r)){if(r.type!==ht||r.children==="v-if"){if(t)return;t=r}}else return}return t}const uy=e=>{let t;for(const n in e)(n==="class"||n==="style"||Eo(n))&&((t||(t={}))[n]=e[n]);return t},fy=(e,t)=>{const n={};for(const r in e)(!Xl(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function dy(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]&&!Ui(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]&&!Ui(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,hy={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,l,c){e==null?py(t,n,r,s,o,i,a,l,c):my(e,t,n,r,s,i,a,l,c)},hydrate:gy,create:pc,normalize:vy},hc=hy;function lo(e,t){const n=e.props&&e.props[t];_e(n)&&n()}function py(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 my(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,It(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&&It(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&&It(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=yy(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:x,pendingBranch:E,pendingId:k,effects:S,parentComponent:P,container:A}=_;if(_.isHydrating)_.isHydrating=!1;else if(!C){const L=x&&E.transition&&E.transition.mode==="out-in";L&&(x.transition.afterLeave=()=>{k===_.pendingId&&d(E,A,D,0)});let{anchor:D}=_;x&&(D=h(x),p(x,P,_,!0)),L||d(E,A,D,0)}Ir(_,E),_.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:x,container:E,isSVG:k}=_;lo(g,"onFallback");const S=h(T),P=()=>{_.isInFallback&&(f(null,C,E,S,x,null,k,a,l),Ir(_,C))},A=C.transition&&C.transition.mode==="out-in";A&&(T.transition.afterLeave=P),_.isInFallback=!0,p(T,x,null,!0),A||P()},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 x=C.vnode.el;C.asyncDep.catch(E=>{ns(E,C,0)}).then(E=>{if(C.isUnmounted||_.isUnmounted||_.pendingId!==C.suspenseId)return;C.asyncResolved=!0;const{vnode:k}=C;il(C,E,!1),x&&(k.el=x);const S=!x&&C.subTree.el;g(C,k,m(x||C.subTree.el),x?null:h(C.subTree),_,i,l),S&&b(S),dc(C,k.el),T&&--_.deps===0&&_.resolve()})},unmount(C,g){_.isUnmounted=!0,_.activeBranch&&p(_.activeBranch,n,C,g),_.pendingBranch&&p(_.pendingBranch,n,C,g)}};return _}function gy(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 vy(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=yu(r?n.default:n),e.ssFallback=r?yu(n.fallback):Z(ht)}function yu(e){let t;if(_e(e)){const n=Ur&&e._c;n&&(e._d=!1,Q()),e=e(),n&&(e._d=!0,t=kt,lp())}return he(e)&&(e=cy(e)),e=Ct(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Bh(e,t){t&&t.pendingBranch?he(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 yy(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 je(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=Ye)==null?void 0:a.scope)?Ye:null;let c,u=!1,f=!1;if(Be(e)?(c=()=>e.value,u=fi(e)):Nr(e)?(c=()=>e,r=!0):he(e)?(f=!0,u=e.some(_=>Nr(_)||fi(_)),c=()=>e.map(_=>{if(Be(_))return _.value;if(Nr(_))return sr(_);if(_e(_))return Ln(_,l,2)})):_e(e)?t?c=()=>Ln(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return d&&d(),At(e,l,3,[p])}:c=Mt,t&&r){const _=c;c=()=>sr(_())}let d,p=_=>{d=v.onStop=()=>{Ln(_,l,4)}},h;if(Wr)if(p=Mt,t?n&&At(t,l,3,[c(),f?[]:void 0,p]):c(),s==="sync"){const _=c_();h=_.__watcherHandles||(_.__watcherHandles=[])}else return Mt;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(),At(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=()=>st(b,l&&l.suspense):(b.pre=!0,l&&(b.id=l.uid),y=()=>Hi(b));const v=new nc(c,y);t?n?b():m=v.run():s==="post"?st(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 _y(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=Ye;Hn(this);const a=mc(s,o.bind(r),n);return i?Hn(i):Mn(),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(!ze(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(he(e))for(let n=0;n<e.length;n++)sr(e[n],t);else if(Yr(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 co(e,t){const n=nt;if(n===null)return e;const r=Ki(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 Kt(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&&(Zr(),At(l,n,8,[e.el,a,e,t]),Qr())}}function zh(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return wn(()=>{e.isMounted=!0}),rs(()=>{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},by={name:"BaseTransition",props:Hh,setup(e,{slots:t}){const n=sn(),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!==ht){i=m;break}}const a=Re(e),{mode:l}=a;if(r.isLeaving)return ma(i);const c=_u(i);if(!c)return ma(i);const u=uo(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!==ht&&(!It(c,d)||p)){const m=uo(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()},ma(i);l==="in-out"&&c.type!==ht&&(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}}},wy=by;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 uo(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=(x,E)=>{x&&At(x,r,9,E)},g=(x,E)=>{const k=E[1];C(x,E),he(x)?x.every(S=>S.length<=1)&&k():x.length<=1&&k()},T={mode:o,persisted:i,beforeEnter(x){let E=a;if(!n.isMounted)if(s)E=m||a;else return;x._leaveCb&&x._leaveCb(!0);const k=_[w];k&&It(e,k)&&k.el._leaveCb&&k.el._leaveCb(),C(E,[x])},enter(x){let E=l,k=c,S=u;if(!n.isMounted)if(s)E=b||l,k=y||c,S=v||u;else return;let P=!1;const A=x._enterCb=R=>{P||(P=!0,R?C(S,[x]):C(k,[x]),T.delayedLeave&&T.delayedLeave(),x._enterCb=void 0)};E?g(E,[x,A]):A()},leave(x,E){const k=String(e.key);if(x._enterCb&&x._enterCb(!0),n.isUnmounting)return E();C(f,[x]);let S=!1;const P=x._leaveCb=A=>{S||(S=!0,E(),A?C(h,[x]):C(p,[x]),x._leaveCb=void 0,_[k]===e&&delete _[k])};_[k]=e,d?g(d,[x,P]):P()},clone(x){return uo(x,t,n,r)}};return T}function ma(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===Ie?(i.patchFlag&128&&s++,r=r.concat(gc(i.children,t,a))):(t||i.type!==ht)&&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 ke(e,t){return _e(e)?(()=>Ke({name:e.name},t,{setup:e}))():e}const cr=e=>!!e.type.__asyncLoader;function pi(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 ke({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const p=Ye;if(c)return()=>ga(c,p);const h=v=>{l=null,ns(v,p,13,!r)};if(i&&p.suspense||Wr)return d().then(v=>()=>ga(v,p)).catch(v=>(h(v),()=>r?Z(r,{error:v}):null));const m=J(!1),b=J(),y=J(!!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)&&Hi(p.parent.update)}).catch(v=>{h(v),b.value=v}),()=>{if(m.value&&c)return ga(c,p);if(b.value&&r)return Z(r,{error:b.value});if(n&&!y.value)return Z(n)}}})}function ga(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=Z(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const xo=e=>e.type.__isKeepAlive,Ey={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=sn(),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),st(()=>{T.isDeactivated=!1,T.a&&$r(T.a);const x=v.props&&v.props.onVnodeMounted;x&&gt(x,T.parent,v)},a)},r.deactivate=v=>{const w=v.component;c(v,d,null,1,a),st(()=>{w.da&&$r(w.da);const _=v.props&&v.props.onVnodeUnmounted;_&&gt(_,w.parent,v),w.isDeactivated=!0},a)};function p(v){va(v),u(v,n,a,!0)}function h(v){s.forEach((w,_)=>{const C=al(w.type);C&&(!v||!v(C))&&m(_)})}function m(v){const w=s.get(v);!i||!It(w,i)?p(w):i&&va(i),s.delete(v),o.delete(v)}je(()=>[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,ya(n.subTree))};return wn(y),vc(y),rs(()=>{s.forEach(v=>{const{subTree:w,suspense:_}=n,C=ya(w);if(v.type===C.type&&v.key===C.key){va(C);const g=C.component.da;g&&st(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(!Vr(w)||!(w.shapeFlag&4)&&!(w.shapeFlag&128))return i=null,w;let _=ya(w);const C=_.type,g=al(cr(_)?_.type.__asyncResolved||{}:C),{include:T,exclude:x,max:E}=e;if(T&&(!g||!zs(T,g))||x&&g&&zs(x,g))return i=_,w;const k=_.key==null?C:_.key,S=s.get(k);return _.el&&(_=vn(_),w.shapeFlag&128&&(w.ssContent=_)),b=k,S?(_.el=S.el,_.component=S.component,_.transition&&jr(_,_.transition),_.shapeFlag|=512,o.delete(k),o.add(k)):(o.add(k),E&&o.size>parseInt(E,10)&&m(o.values().next().value)),_.shapeFlag|=256,i=_,Fh(w.type)?w:_}}},xy=Ey;function zs(e,t){return he(e)?e.some(n=>zs(n,t)):Ve(e)?e.split(",").includes(t):ov(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=Ye){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Wi(t,r,n),n){let s=n.parent;for(;s&&s.parent;)xo(s.parent.vnode)&&Sy(r,t,n,s),s=s.parent}}function Sy(e,t,n,r){const s=Wi(t,e,r,!0);fo(()=>{Yl(r[t],s)},n)}function va(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ya(e){return e.shapeFlag&128?e.ssContent:e}function Wi(e,t,n=Ye,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Zr(),Hn(n);const a=At(t,n,e,i);return Mn(),Qr(),a});return r?s.unshift(o):s.push(o),o}}const bn=e=>(t,n=Ye)=>(!Wr||e==="sp")&&Wi(e,(...r)=>t(...r),n),qh=bn("bm"),wn=bn("m"),Cy=bn("bu"),vc=bn("u"),rs=bn("bum"),fo=bn("um"),Ty=bn("sp"),ky=bn("rtg"),Py=bn("rtc");function Kh(e,t=Ye){Wi("ec",e,t)}const yc="components",Ay="directives";function gn(e,t){return _c(yc,e,!0,t)||e}const Xh=Symbol.for("v-ndc");function zr(e){return Ve(e)?_c(yc,e,!1)||e:e||Xh}function Ry(e){return _c(Ay,e)}function _c(e,t,n=!0,r=!1){const s=nt||Ye;if(s){const o=s.type;if(e===yc){const a=al(o,!1);if(a&&(a===t||a===tn(t)||a===Bi(tn(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[tn(t)]||e[Bi(tn(t))])}function ho(e,t,n,r){let s;const o=n&&n[r];if(he(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(ze(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 $y(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(he(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 rt(e,t,n={},r,s){if(nt.isCE||nt.parent&&cr(nt.parent)&&nt.parent.isCE)return t!=="default"&&(n.name=t),Z("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),Q();const i=o&&Yh(o(n)),a=Ce(Ie,{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=>Vr(t)?!(t.type===ht||t.type===Ie&&!Yh(t.children)):!0)?e:null}function AO(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:ni(r)]=e[r];return n}const tl=e=>e?fp(e)?Ki(e)||e.proxy:tl(e.parent):null,Vs=Ke(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=>tl(e.parent),$root:e=>tl(e.root),$emit:e=>e.emit,$options:e=>bc(e),$forceUpdate:e=>e.f||(e.f=()=>Hi(e.update)),$nextTick:e=>e.n||(e.n=xt.bind(e.proxy)),$watch:e=>_y.bind(e)}),_a=(e,t)=>e!==Ue&&!e.__isScriptSetup&&Ne(e,t),Ny={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(_a(r,t))return i[t]=1,r[t];if(s!==Ue&&Ne(s,t))return i[t]=2,s[t];if((c=e.propsOptions[0])&&Ne(c,t))return i[t]=3,o[t];if(n!==Ue&&Ne(n,t))return i[t]=4,n[t];nl&&(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&&Ne(n,t))return i[t]=4,n[t];if(d=l.config.globalProperties,Ne(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return _a(s,t)?(s[t]=n,!0):r!==Ue&&Ne(r,t)?(r[t]=n,!0):Ne(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&&Ne(e,i)||_a(t,i)||(a=o[0])&&Ne(a,i)||Ne(r,i)||Ne(Vs,i)||Ne(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ne(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function wu(e){return he(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function RO(e){const t=sn();let n=e();return Mn(),Jl(n)&&(n=n.catch(r=>{throw Hn(t),r})),[n,()=>Hn(t)]}let nl=!0;function Oy(e){const t=bc(e),n=e.proxy,r=e.ctx;nl=!1,t.beforeCreate&&Eu(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:x,serverPrefetch:E,expose:k,inheritAttrs:S,components:P,directives:A,filters:R}=t;if(c&&Iy(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);ze(D)&&(e.data=Bt(D))}if(nl=!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):Mt,re=!_e(F)&&_e(F.set)?F.set.bind(n):Mt,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&&Eu(u,e,"c");function L(D,F){he(F)?F.forEach(U=>D(U.bind(n))):F&&D(F.bind(n))}if(L(qh,f),L(wn,d),L(Cy,p),L(vc,h),L(Vh,m),L(Wh,b),L(Kh,x),L(Py,g),L(ky,T),L(rs,v),L(fo,_),L(Ty,E),he(k))if(k.length){const D=e.exposed||(e.exposed={});k.forEach(F=>{Object.defineProperty(D,F,{get:()=>n[F],set:U=>n[F]=U})})}else e.exposed||(e.exposed={});C&&e.render===Mt&&(e.render=C),S!=null&&(e.inheritAttrs=S),P&&(e.components=P),A&&(e.directives=A)}function Iy(e,t,n=Mt){he(e)&&(e=rl(e));for(const r in e){const s=e[r];let o;ze(s)?"default"in s?o=dt(s.from||r,s.default,!0):o=dt(s.from||r):o=dt(s),Be(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function Eu(e,t,n){At(he(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)&&je(s,o)}else if(_e(e))je(s,e.bind(n));else if(ze(e))if(he(e))e.forEach(o=>Jh(o,t,n,r));else{const o=_e(e.handler)?e.handler.bind(n):t[e.handler];_e(o)&&je(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=>mi(l,c,i,!0)),mi(l,t,i)),ze(t)&&o.set(t,l),l}function mi(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&mi(e,o,n,!0),s&&s.forEach(i=>mi(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Ly[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Ly={data:xu,props:Su,emits:Su,methods:Hs,computed:Hs,beforeCreate:ut,created:ut,beforeMount:ut,mounted:ut,beforeUpdate:ut,updated:ut,beforeDestroy:ut,beforeUnmount:ut,destroyed:ut,unmounted:ut,activated:ut,deactivated:ut,errorCaptured:ut,serverPrefetch:ut,components:Hs,directives:Hs,watch:Dy,provide:xu,inject:My};function xu(e,t){return t?e?function(){return Ke(_e(e)?e.call(this,this):e,_e(t)?t.call(this,this):t)}:t:e}function My(e,t){return Hs(rl(e),rl(t))}function rl(e){if(he(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ut(e,t){return e?[...new Set([].concat(e,t))]:t}function Hs(e,t){return e?Ke(Object.create(null),e,t):t}function Su(e,t){return e?he(e)&&he(t)?[...new Set([...e,...t])]:Ke(Object.create(null),wu(e),wu(t??{})):t}function Dy(e,t){if(!e)return t;if(!t)return e;const n=Ke(Object.create(null),e);for(const r in t)n[r]=ut(e[r],t[r]);return n}function Zh(){return{app:null,config:{isNativeTag:nv,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 Fy=0;function By(e,t){return function(r,s=null){_e(r)||(r=Ke({},r)),s!=null&&!ze(s)&&(s=null);const o=Zh(),i=new Set;let a=!1;const l=o.app={_uid:Fy++,_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=Z(r,s);return d.appContext=o,u&&t?t(d,c):e(d,c,f),a=!0,l._container=c,c.__vue_app__=l,Ki(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){po=l;try{return c()}finally{po=null}}};return l}}let po=null;function ur(e,t){if(Ye){let n=Ye.provides;const r=Ye.parent&&Ye.parent.provides;r===n&&(n=Ye.provides=Object.create(r)),n[e]=t}}function dt(e,t,n=!1){const r=Ye||nt;if(r||po){const s=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:po._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!!(Ye||nt||po)}function jy(e,t,n,r=!1){const s={},o={};li(o,Gi,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:es(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function zy(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=Re(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(Ui(e.emitsOptions,d))continue;const p=t[d];if(l)if(Ne(o,d))p!==o[d]&&(o[d]=p,c=!0);else{const h=tn(d);s[h]=sl(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||!Ne(t,f)&&((u=vr(f))===f||!Ne(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(s[f]=sl(l,a,f,void 0,e,!0)):delete s[f]);if(o!==a)for(const f in o)(!t||!Ne(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&&Ne(s,u=tn(l))?!o||!o.includes(u)?n[u]=c:(a||(a={}))[u]=c:Ui(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(o){const l=Re(n),c=a||Ue;for(let u=0;u<o.length;u++){const f=o[u];n[f]=sl(s,l,f,c[f],e,!Ne(c,f))}}return i}function sl(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=Ne(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),Mn())}else r=l}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===vr(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);Ke(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 ze(e)&&r.set(e,Ar),Ar;if(he(o))for(let u=0;u<o.length;u++){const f=tn(o[u]);Cu(f)&&(i[f]=Ue)}else if(o)for(const u in o){const f=tn(u);if(Cu(f)){const d=o[u],p=i[f]=he(d)||_e(d)?{type:d}:Ke({},d);if(p){const h=Pu(Boolean,p.type),m=Pu(String,p.type);p[0]=h>-1,p[1]=m<0||h<m,(h>-1||Ne(p,"default"))&&a.push(f)}}}const c=[i,a];return ze(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 ku(e,t){return Tu(e)===Tu(t)}function Pu(e,t){return he(t)?t.findIndex(n=>ku(n,e)):_e(t)&&ku(t,e)?0:-1}const np=e=>e[0]==="_"||e==="$stable",wc=e=>he(e)?e.map(Ct):[Ct(e)],Hy=(e,t,n)=>{if(t._n)return t;const r=pe((...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]=Hy(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},Uy=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Re(t),li(t,"_",n)):rp(t,e.slots={})}else e.slots={},t&&sp(e,t);li(e.slots,Gi,1)},Vy=(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:(Ke(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 gi(e,t,n,r,s=!1){if(he(e)){e.forEach((d,p)=>gi(d,t&&(he(t)?t[p]:t),n,r,s));return}if(cr(r)&&!s)return;const o=r.shapeFlag&4?Ki(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,Ne(f,c)&&(f[c]=null)):Be(c)&&(c.value=null)),_e(l))Ln(l,a,12,[i,u]);else{const d=Ve(l),p=Be(l);if(d||p){const h=()=>{if(e.f){const m=d?Ne(f,l)?f[l]:u[l]:l.value;s?he(m)&&Yl(m,o):he(m)?m.includes(o)||m.push(o):d?(u[l]=[o],Ne(f,l)&&(f[l]=u[l])):(l.value=[o],e.k&&(u[e.k]=l.value))}else d?(u[l]=i,Ne(f,l)&&(f[l]=i)):p&&(l.value=i,e.k&&(u[e.k]=i))};i?(h.id=-1,st(h,n)):h()}}}let xn=!1;const Do=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Fo=e=>e.nodeType===8;function Wy(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),di(),v._vnode=y;return}xn=!1,f(v.firstChild,y,null,null,null),di(),v._vnode=y,xn&&console.error("Hydration completed but contains mismatches.")},f=(y,v,w,_,C,g=!1)=>{const T=Fo(y)&&y.data==="[",x=()=>m(y,v,w,_,C,T),{type:E,ref:k,shapeFlag:S,patchFlag:P}=v;let A=y.nodeType;v.el=y,P===-2&&(g=!1,v.dynamicChildren=null);let R=null;switch(E){case Hr:A!==3?v.children===""?(l(v.el=s(""),i(y),y),R=y):R=x():(y.data!==v.children&&(xn=!0,y.data=v.children),R=o(y));break;case ht:A!==8||T?R=x():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 x();break;case Ie:T?R=h(y,v,w,_,C,g):R=x();break;default:if(S&1)A!==1||v.type.toLowerCase()!==y.tagName.toLowerCase()?R=x():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=Z(Ie),L.anchor=R?R.previousSibling:M.lastChild):L=y.nodeType===3?Le(""):Z("div"),L.el=y,v.component.subTree=L}}else S&64?A!==8?R=x():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 k!=null&&gi(k,null,_,v),R},d=(y,v,w,_,C,g)=>{g=g||!!v.dynamicChildren;const{type:T,props:x,patchFlag:E,shapeFlag:k,dirs:S}=v,P=T==="input"&&S||T==="option";if(P||E!==-1){if(S&&Kt(v,null,w,"created"),x)if(P||!g||E&48)for(const R in x)(P&&R.endsWith("value")||Eo(R)&&!Us(R))&&r(y,R,null,x[R],!1,void 0,w);else x.onClick&&r(y,"onClick",null,x.onClick,!1,void 0,w);let A;if((A=x&&x.onVnodeBeforeMount)&&gt(A,w,v),S&&Kt(v,null,w,"beforeMount"),((A=x&&x.onVnodeMounted)||S)&&Bh(()=>{A&&gt(A,w,v),S&&Kt(v,null,w,"mounted")},_),k&16&&!(x&&(x.innerHTML||x.textContent))){let R=p(y.firstChild,v,y,w,_,C,g);for(;R;){xn=!0;const M=R;R=R.nextSibling,a(M)}}else k&8&&y.textContent!==v.children&&(xn=!0,y.textContent=v.children)}return y.nextSibling},p=(y,v,w,_,C,g,T)=>{T=T||!!v.dynamicChildren;const x=v.children,E=x.length;for(let k=0;k<E;k++){const S=T?x[k]:x[k]=Ct(x[k]);if(y)y=f(y,S,_,C,g,T);else{if(S.type===Hr&&!S.children)continue;xn=!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 x=i(y),E=p(o(y),v,x,w,_,C,g);return E&&Fo(E)&&E.data==="]"?o(v.anchor=E):(xn=!0,l(v.anchor=c("]"),x,E),E)},m=(y,v,w,_,C,g)=>{if(xn=!0,v.el=null,g){const E=b(y);for(;;){const k=o(y);if(k&&k!==E)a(k);else break}}const T=o(y),x=i(y);return a(y),n(null,v,x,T,w,_,Do(x),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 st=Bh;function Gy(e){return op(e)}function qy(e){return op(e,Wy)}function op(e,t){const n=Ya();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=Mt,insertStaticContent:h}=e,m=($,N,I,B=null,j=null,H=null,te=!1,G=null,q=!!N.dynamicChildren)=>{if($===N)return;$&&!It($,N)&&(B=O($),ne($,j,H,!0),$=null),N.patchFlag===-2&&(q=!1,N.dynamicChildren=null);const{type:W,ref:ie,shapeFlag:ae}=N;switch(W){case Hr:b($,N,I,B);break;case ht:y($,N,I,B);break;case Gs:$==null&&v(N,I,B,te);break;case Ie:P($,N,I,B,j,H,te,G,q);break;default:ae&1?C($,N,I,B,j,H,te,G,q):ae&6?A($,N,I,B,j,H,te,G,q):(ae&64||ae&128)&&W.process($,N,I,B,j,H,te,G,q,V)}ie!=null&&j&&gi(ie,$&&$.ref,H,N||$,!N)},b=($,N,I,B)=>{if($==null)r(N.el=a(N.children),I,B);else{const j=N.el=$.el;N.children!==$.children&&c(j,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 j;for(;$&&$!==N;)j=d($),r($,I,B),$=j;r(N,I,B)},_=({el:$,anchor:N})=>{let I;for(;$&&$!==N;)I=d($),s($),$=I;s(N)},C=($,N,I,B,j,H,te,G,q)=>{te=te||N.type==="svg",$==null?g(N,I,B,j,H,te,G,q):E($,N,j,H,te,G,q)},g=($,N,I,B,j,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&&x($.children,q,null,B,j,H&&ie!=="foreignObject",te,G),le&&Kt($,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,j,$e);"value"in ae&&o(q,"value",null,ae.value),(W=ae.onVnodeBeforeMount)&&gt(W,B,$)}le&&Kt($,null,B,"beforeMount");const oe=(!j||j&&!j.pendingBranch)&&ee&&!ee.persisted;oe&&ee.beforeEnter(q),r(q,N,I),((W=ae&&ae.onVnodeMounted)||oe||le)&&st(()=>{W&&gt(W,B,$),oe&&ee.enter(q),le&&Kt($,null,B,"mounted")},j)},T=($,N,I,B,j)=>{if(I&&p($,I),B)for(let H=0;H<B.length;H++)p($,B[H]);if(j){let H=j.subTree;if(N===H){const te=j.vnode;T($,te,te.scopeId,te.slotScopeIds,j.parent)}}},x=($,N,I,B,j,H,te,G,q=0)=>{for(let W=q;W<$.length;W++){const ie=$[W]=G?Rn($[W]):Ct($[W]);m(null,ie,N,I,B,j,H,te,G)}},E=($,N,I,B,j,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)&&gt(ee,I,N,$),ie&&Kt(N,$,I,"beforeUpdate"),I&&Gn(I,!0);const le=j&&N.type!=="foreignObject";if(W?k($.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,j);else if(q&2&&ae.class!==ue.class&&o(G,"class",null,ue.class,j),q&4&&o(G,"style",ae.style,ue.style,j),q&8){const oe=N.dynamicProps;for(let de=0;de<oe.length;de++){const Oe=oe[de],We=ae[Oe],Te=ue[Oe];(Te!==We||Oe==="value")&&o(G,Oe,We,Te,j,$.children,I,B,$e)}}q&1&&$.children!==N.children&&u(G,N.children)}else!te&&W==null&&S(G,N,ae,ue,I,B,j);((ee=ue.onVnodeUpdated)||ie)&&st(()=>{ee&&gt(ee,I,N,$),ie&&Kt(N,$,I,"updated")},B)},k=($,N,I,B,j,H,te)=>{for(let G=0;G<N.length;G++){const q=$[G],W=N[G],ie=q.el&&(q.type===Ie||!It(q,W)||q.shapeFlag&70)?f(q.el):I;m(q,W,ie,null,B,j,H,te,!0)}},S=($,N,I,B,j,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,j,H,$e);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,j,H,$e)}"value"in B&&o($,"value",I.value,B.value)}},P=($,N,I,B,j,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),x(N.children,I,ie,j,H,te,G,q)):ae>0&&ae&64&&ue&&$.dynamicChildren?(k($.dynamicChildren,ue,I,j,H,te,G),(N.key!=null||j&&N===j.subTree)&&Ec($,N,!0)):F($,N,I,ie,j,H,te,G,q)},A=($,N,I,B,j,H,te,G,q)=>{N.slotScopeIds=G,$==null?N.shapeFlag&512?j.ctx.activate(N,I,B,te,q):R(N,I,B,j,H,te,q):M($,N,q)},R=($,N,I,B,j,H,te)=>{const G=$.component=n_($,B,j);if(xo($)&&(G.ctx.renderer=V),r_(G),G.asyncDep){if(j&&j.registerDep(G,L),!$.el){const q=G.subTree=Z(ht);y(null,q,N,I)}return}L(G,$,N,I,j,H,te)},M=($,N,I)=>{const B=N.component=$.component;if(dy($,N,I))if(B.asyncDep&&!B.asyncResolved){D(B,N,I);return}else B.next=N,ry(B.update),B.update();else N.el=$.el,B.vnode=N},L=($,N,I,B,j,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)&&gt(de,ee,ie,le),Gn($,!0);const Oe=pa($),We=$.subTree;$.subTree=Oe,m(We,Oe,f(We.el),O(We),$,j,H),ie.el=Oe.el,oe===null&&dc($,Oe.el),ue&&st(ue,j),(de=ie.props&&ie.props.onVnodeUpdated)&&st(()=>gt(de,ee,ie,le),j)}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)&&gt(ie,oe,N),Gn($,!0),ae&&Se){const Oe=()=>{$.subTree=pa($),Se(ae,$.subTree,$,j,null)};de?N.type.__asyncLoader().then(()=>!$.isUnmounted&&Oe()):Oe()}else{const Oe=$.subTree=pa($);m(null,Oe,I,B,$,j,H),N.el=Oe.el}if(le&&st(le,j),!de&&(ie=ue&&ue.onVnodeMounted)){const Oe=N;st(()=>gt(ie,oe,Oe),j)}(N.shapeFlag&256||oe&&cr(oe.vnode)&&oe.vnode.shapeFlag&256)&&$.a&&st($.a,j),$.isMounted=!0,N=I=B=null}},q=$.effect=new nc(G,()=>Hi(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,zy($,N.props,B,I),Vy($,N.children,I),Zr(),gu(),Qr()},F=($,N,I,B,j,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,j,H,te,G,q);return}else if(ue&256){U(W,ae,I,B,j,H,te,G,q);return}}ee&8?(ie&16&&$e(W,j,H),ae!==W&&u(I,ae)):ie&16?ee&16?re(W,ae,I,B,j,H,te,G,q):$e(W,j,H,!0):(ie&8&&u(I,""),ee&16&&x(ae,I,B,j,H,te,G,q))},U=($,N,I,B,j,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?Rn(N[ue]):Ct(N[ue]);m($[ue],ee,I,null,j,H,te,G,q)}W>ie?$e($,j,H,!0,!1,ae):x(N,I,B,j,H,te,G,q,ae)},re=($,N,I,B,j,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?Rn(N[W]):Ct(N[W]);if(It(ee,le))m(ee,le,I,null,j,H,te,G,q);else break;W++}for(;W<=ae&&W<=ue;){const ee=$[ae],le=N[ue]=q?Rn(N[ue]):Ct(N[ue]);if(It(ee,le))m(ee,le,I,null,j,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?Rn(N[W]):Ct(N[W]),I,le,j,H,te,G,q),W++}}else if(W>ue)for(;W<=ae;)ne($[W],j,H,!0),W++;else{const ee=W,le=W,oe=new Map;for(W=le;W<=ue;W++){const at=N[W]=q?Rn(N[W]):Ct(N[W]);at.key!=null&&oe.set(at.key,W)}let de,Oe=0;const We=ue-le+1;let Te=!1,ye=0;const it=new Array(We);for(W=0;W<We;W++)it[W]=0;for(W=ee;W<=ae;W++){const at=$[W];if(Oe>=We){ne(at,j,H,!0);continue}let Vt;if(at.key!=null)Vt=oe.get(at.key);else for(de=le;de<=ue;de++)if(it[de-le]===0&&It(at,N[de])){Vt=de;break}Vt===void 0?ne(at,j,H,!0):(it[Vt-le]=W+1,Vt>=ye?ye=Vt:Te=!0,m(at,N[Vt],I,null,j,H,te,G,q),Oe++)}const Er=Te?Ky(it):Ar;for(de=Er.length-1,W=We-1;W>=0;W--){const at=le+W,Vt=N[at],iu=at+1<ie?N[at+1].el:B;it[W]===0?m(null,Vt,I,iu,j,H,te,G,q):Te&&(de<0||W!==Er[de]?se(Vt,I,iu,2):de--)}}},se=($,N,I,B,j=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===Ie){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),st(()=>G.enter(H),j);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,j=!1)=>{const{type:H,props:te,ref:G,children:q,dynamicChildren:W,shapeFlag:ie,patchFlag:ae,dirs:ue}=$;if(G!=null&&gi(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)&&gt(oe,N,$),ie&6)Ee($.component,I,B);else{if(ie&128){$.suspense.unmount(I,B);return}ee&&Kt($,null,N,"beforeUnmount"),ie&64?$.type.remove($,N,I,j,V,B):W&&(H!==Ie||ae>0&&ae&64)?$e(W,N,I,!1,!0):(H===Ie&&ae&384||!j&&ie&16)&&$e(q,N,I),B&&me($)}(le&&(oe=te&&te.onVnodeUnmounted)||ee)&&st(()=>{oe&&gt(oe,N,$),ee&&Kt($,null,N,"unmounted")},I)},me=$=>{const{type:N,el:I,anchor:B,transition:j}=$;if(N===Ie){fe(I,B);return}if(N===Gs){_($);return}const H=()=>{s(I),j&&!j.persisted&&j.afterLeave&&j.afterLeave()};if($.shapeFlag&1&&j&&!j.persisted){const{leave:te,delayLeave:G}=j,q=()=>te(I,H);G?G($.el,H,q):q()}else H()},fe=($,N)=>{let I;for(;$!==N;)I=d($),s($),$=I;s(N)},Ee=($,N,I)=>{const{bum:B,scope:j,update:H,subTree:te,um:G}=$;B&&$r(B),j.stop(),H&&(H.active=!1,ne(te,$,N,I)),G&&st(G,N),st(()=>{$.isUnmounted=!0},N),N&&N.pendingBranch&&!N.isUnmounted&&$.asyncDep&&!$.asyncResolved&&$.suspenseId===N.pendingId&&(N.deps--,N.deps===0&&N.resolve())},$e=($,N,I,B=!1,j=!1,H=0)=>{for(let te=H;te<$.length;te++)ne($[te],N,I,B,j)},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(),di(),N._vnode=$},V={p:m,um:ne,m:se,r:me,mt:R,mc:x,pc:F,pbc:k,n:O,o:e};let ce,Se;return t&&([ce,Se]=t(V)),{render:X,hydrate:ce,createApp:By(X,ce)}}function Gn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ec(e,t,n=!1){const r=e.children,s=t.children;if(he(r)&&he(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]=Rn(s[o]),a.el=i.el),n||Ec(i,a)),a.type===Hr&&(a.el=i.el)}}function Ky(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 Xy=e=>e.__isTeleport,Ws=e=>e&&(e.disabled||e.disabled===""),Au=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ol=(e,t)=>{const n=e&&e.to;return Ve(n)?t?t(n):null:n},Yy={__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=ol(t.props,h),x=t.targetAnchor=m("");T&&(p(x,T),i=i||Au(T));const E=(k,S)=>{v&16&&u(w,k,S,s,o,i,a,l)};y?E(n,g):T&&E(T,x)}else{t.el=e.el;const C=t.anchor=e.anchor,g=t.target=e.target,T=t.targetAnchor=e.targetAnchor,x=Ws(e.props),E=x?n:g,k=x?C:T;if(i=i||Au(g),_?(d(e.dynamicChildren,_,E,s,o,i,a),Ec(e,t,!0)):l||f(e,t,E,k,s,o,i,a,!1),y)x||Bo(t,n,C,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const S=t.target=ol(t.props,h);S&&Bo(t,S,null,c,0)}else x&&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:Jy};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 Jy(e,t,n,r,s,o,{o:{nextSibling:i,parentNode:a,querySelector:l}},c){const u=t.target=ol(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=Yy;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 Ie=Symbol.for("v-fgt"),Hr=Symbol.for("v-txt"),ht=Symbol.for("v-cmt"),Gs=Symbol.for("v-stc"),qs=[];let kt=null;function Q(e=!1){qs.push(kt=e?null:[])}function lp(){qs.pop(),kt=qs[qs.length-1]||null}let Ur=1;function Ru(e){Ur+=e}function cp(e){return e.dynamicChildren=Ur>0?kt||Ar:null,lp(),Ur>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 Ce(e,t,n,r,s){return cp(Z(e,t,n,r,s,!0))}function Vr(e){return e?e.__v_isVNode===!0:!1}function It(e,t){return e.type===t.type&&e.key===t.key}const Gi="__vInternal",up=({key:e})=>e??null,ri=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ve(e)||Be(e)||_e(e)?{i:nt,r:e,k:t,f:!!n}:e:null);function Y(e,t=null,n=null,r=0,s=null,o=e===Ie?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&up(t),ref:t&&ri(t),scopeId:Vi,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:nt};return a?(xc(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Ve(n)?8:16),Ur>0&&!i&&kt&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&kt.push(l),l}const Z=Zy;function Zy(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===Xh)&&(e=ht),Vr(e)){const a=vn(e,t,!0);return n&&xc(a,n),Ur>0&&!o&&kt&&(a.shapeFlag&6?kt[kt.indexOf(e)]=a:kt.push(a)),a.patchFlag|=-2,a}if(a_(e)&&(e=e.__vccOpts),t){t=qi(t);let{class:a,style:l}=t;a&&!Ve(a)&&(t.class=qe(a)),ze(l)&&(kh(l)&&!he(l)&&(l=Ke({},l)),t.style=Zt(l))}const i=Ve(e)?1:Fh(e)?128:Xy(e)?64:ze(e)?4:_e(e)?2:0;return Y(e,t,n,r,s,i,o,!0)}function qi(e){return e?kh(e)||Gi in e?Ke({},e):e:null}function vn(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:i}=e,a=t?zn(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?he(s)?s.concat(ri(t)):[s,ri(t)]:ri(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!==Ie?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 Le(e=" ",t=0){return Z(Hr,null,e,t)}function Qy(e,t){const n=Z(Gs,null,e);return n.staticCount=t,n}function Ge(e="",t=!1){return t?(Q(),Ce(ht,null,e)):Z(ht,null,e)}function Ct(e){return e==null||typeof e=="boolean"?Z(ht):he(e)?Z(Ie,null,e.slice()):typeof e=="object"?Rn(e):Z(Hr,null,String(e))}function Rn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:vn(e)}function xc(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(he(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),xc(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(Gi in t)?t._ctx=nt:s===3&&nt&&(nt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else _e(t)?(t={default:t,_ctx:nt},n=32):(t=String(t),r&64?(n=16,t=[Le(t)]):n=8);e.children=t,e.shapeFlag|=n}function zn(...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=qe([t.class,r.class]));else if(s==="style")t.style=Zt([t.style,r.style]);else if(Eo(s)){const o=t[s],i=r[s];i&&o!==i&&!(he(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){At(e,t,7,[n,r])}const e_=Zh();let t_=0;function n_(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||e_,o={uid:t_++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new gv(!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=oy.bind(null,o),e.ce&&e.ce(o),o}let Ye=null;const sn=()=>Ye||nt;let Sc,xr,$u="__VUE_INSTANCE_SETTERS__";(xr=Ya()[$u])||(xr=Ya()[$u]=[]),xr.push(e=>Ye=e),Sc=e=>{xr.length>1?xr.forEach(t=>t(e)):xr[0](e)};const Hn=e=>{Sc(e),e.scope.on()},Mn=()=>{Ye&&Ye.scope.off(),Sc(null)};function fp(e){return e.vnode.shapeFlag&4}let Wr=!1;function r_(e,t=!1){Wr=t;const{props:n,children:r}=e.vnode,s=fp(e);jy(e,n,s,t),Uy(e,r);const o=s?s_(e,t):void 0;return Wr=!1,o}function s_(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Ph(new Proxy(e.ctx,Ny));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?i_(e):null;Hn(e),Zr();const o=Ln(r,e,0,[e.props,s]);if(Qr(),Mn(),Jl(o)){if(o.then(Mn,Mn),t)return o.then(i=>{il(e,i,t)}).catch(i=>{ns(i,e,0)});e.asyncDep=o}else il(e,o,t)}else dp(e,t)}function il(e,t,n){_e(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ze(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=Ke(Ke({isCustomElement:o,delimiters:a},i),l);r.render=Nu(s,c)}}e.render=r.render||Mt}Hn(e),Zr(),Oy(e),Qr(),Mn()}function o_(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return vt(e,"get","$attrs"),t[n]}}))}function i_(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return o_(e)},slots:e.slots,emit:e.emit,expose:t}}function Ki(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy($h(Ph(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 al(e,t=!0){return _e(e)?e.displayName||e.name:e.name||t&&e.__name}function a_(e){return _e(e)&&"__vccOpts"in e}const ge=(e,t)=>ey(e,t,Wr);function Je(e,t,n){const r=arguments.length;return r===2?ze(t)&&!he(t)?Vr(t)?Z(e,null,[t]):Z(e,t):Z(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Vr(n)&&(n=[n]),Z(e,t,n))}const l_=Symbol.for("v-scx"),c_=()=>dt(l_),hp="3.3.4",u_="http://www.w3.org/2000/svg",er=typeof document<"u"?document:null,Ou=er&&er.createElement("template"),f_={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(u_,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 d_(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 h_(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&&ll(r,o,"");for(const o in n)ll(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 ll(e,t,n){if(he(n))n.forEach(r=>ll(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=p_(e,t);Iu.test(n)?e.setProperty(vr(r),n.replace(Iu,""),"important"):e[r]=n}}const Lu=["Webkit","Moz","ms"],ba={};function p_(e,t){const n=ba[t];if(n)return n;let r=tn(t);if(r!=="filter"&&r in e)return ba[t]=r;r=Bi(r);for(let s=0;s<Lu.length;s++){const o=Lu[s]+r;if(o in e)return ba[t]=o}return t}const Mu="http://www.w3.org/1999/xlink";function m_(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=pv(t);n==null||o&&!ph(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function g_(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 hn(e,t,n,r){e.addEventListener(t,n,r)}function v_(e,t,n,r){e.removeEventListener(t,n,r)}function y_(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]=__(t);if(r){const c=o[t]=E_(r,s);hn(e,a,c,l)}else i&&(v_(e,a,i,l),o[t]=void 0)}}const Du=/(?:Once|Passive|Capture)$/;function __(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):vr(e.slice(2)),t]}let wa=0;const b_=Promise.resolve(),w_=()=>wa||(b_.then(()=>wa=0),wa=Date.now());function E_(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;At(x_(r,n.value),t,5,[r])};return n.value=e,n.attached=w_(),n}function x_(e,t){if(he(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]/,S_=(e,t,n,r,s=!1,o,i,a,l)=>{t==="class"?d_(e,r,s):t==="style"?h_(e,n,r):Eo(t)?Xl(t)||y_(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):C_(e,t,r,s))?g_(e,t,r,o,i,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),m_(e,t,r,s))};function C_(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 Sn="transition",ds="animation",Xi=(e,{slots:t})=>Je(wy,mp(e),t);Xi.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},T_=Xi.props=Ke({},Hh,pp),qn=(e,t=[])=>{he(e)?e.forEach(n=>n(...t)):e&&e(...t)},Bu=e=>e?he(e)?e.some(t=>t.length>1):e.length>1:!1;function mp(e){const t={};for(const P in e)P in pp||(t[P]=e[P]);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=k_(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:x=w}=t,E=(P,A,R)=>{kn(P,A?u:a),kn(P,A?c:i),R&&R()},k=(P,A)=>{P._isLeaving=!1,kn(P,f),kn(P,p),kn(P,d),A&&A()},S=P=>(A,R)=>{const M=P?T:v,L=()=>E(A,P,R);qn(M,[A,L]),ju(()=>{kn(A,P?l:o),ln(A,P?u:a),Bu(M)||zu(A,r,m,L)})};return Ke(t,{onBeforeEnter(P){qn(y,[P]),ln(P,o),ln(P,i)},onBeforeAppear(P){qn(g,[P]),ln(P,l),ln(P,c)},onEnter:S(!1),onAppear:S(!0),onLeave(P,A){P._isLeaving=!0;const R=()=>k(P,A);ln(P,f),vp(),ln(P,d),ju(()=>{P._isLeaving&&(kn(P,f),ln(P,p),Bu(_)||zu(P,r,b,R))}),qn(_,[P,R])},onEnterCancelled(P){E(P,!1),qn(w,[P])},onAppearCancelled(P){E(P,!0),qn(x,[P])},onLeaveCancelled(P){k(P),qn(C,[P])}})}function k_(e){if(e==null)return null;if(ze(e))return[Ea(e.enter),Ea(e.leave)];{const t=Ea(e);return[t,t]}}function Ea(e){return hh(e)}function ln(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 P_=0;function zu(e,t,n,r){const s=e._endId=++P_,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(`${Sn}Delay`),o=r(`${Sn}Duration`),i=Hu(s,o),a=r(`${ds}Delay`),l=r(`${ds}Duration`),c=Hu(a,l);let u=null,f=0,d=0;t===Sn?i>0&&(u=Sn,f=i,d=o.length):t===ds?c>0&&(u=ds,f=c,d=l.length):(f=Math.max(i,c),u=f>0?i>c?Sn:ds:null,d=u?u===Sn?o.length:l.length:0);const p=u===Sn&&/\b(transform|all)(,|$)/.test(r(`${Sn}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:Ke({},T_,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=sn(),r=zh();let s,o;return vc(()=>{if(!s.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!I_(s[0].el,n.vnode.el,i))return;s.forEach($_),s.forEach(N_);const a=s.filter(O_);vp(),a.forEach(l=>{const c=l.el,u=c.style;ln(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=Re(e),a=mp(i);let l=i.tag||Ie;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,uo(u,a,r,n))}if(s)for(let c=0;c<s.length;c++){const u=s[c];jr(u,uo(u,a,r,n)),yp.set(u,u.el.getBoundingClientRect())}return Z(l,null,o)}}},A_=e=>delete e.mode;bp.props;const R_=bp;function $_(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function N_(e){_p.set(e,e.el.getBoundingClientRect())}function O_(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 I_(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 he(t)?n=>$r(t,n):t};function L_(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";hn(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=ci(a)),e._assign(a)}),n&&hn(e,"change",()=>{e.value=e.value.trim()}),t||(hn(e,"compositionstart",L_),hn(e,"compositionend",Vu),hn(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")&&ci(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},M_={deep:!0,created(e,t,n){e._assign=Un(n),hn(e,"change",()=>{const r=e._modelValue,s=Gr(e),o=e.checked,i=e._assign;if(he(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(Yr(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,he(t)?e.checked=ec(t,r.props.value)>-1:Yr(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=fr(t,wp(e,!0)))}const D_={created(e,{value:t},n){e.checked=fr(t,n.props.value),e._assign=Un(n),hn(e,"change",()=>{e._assign(Gr(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e._assign=Un(r),t!==n&&(e.checked=fr(t,r.props.value))}},F_={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=Yr(t);hn(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?ci(Gr(i)):Gr(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&&!he(t)&&!Yr(t))){for(let r=0,s=e.options.length;r<s;r++){const o=e.options[r],i=Gr(o);if(n)he(t)?o.selected=ec(t,i)>-1:o.selected=t.has(i);else if(fr(Gr(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Gr(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 B_={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 j_(e,t){switch(e){case"SELECT":return F_;case"TEXTAREA":return Wu;default:switch(t){case"checkbox":return M_;case"radio":return D_;default:return Wu}}}function jo(e,t,n,r,s){const i=j_(e.tagName,n.props&&n.props.type)[s];i&&i(e,t,n,r)}const z_=["ctrl","shift","alt","meta"],H_={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)=>z_.some(n=>e[`${n}Key`]&&!t.includes(n))},U_=(e,t)=>(n,...r)=>{for(let s=0;s<t.length;s++){const o=H_[t[s]];if(o&&o(n,t))return}return e(n,...r)},V_={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Ep=(e,t)=>n=>{if(!("key"in n))return;const r=vr(n.key);if(t.some(s=>s===r||V_[s]===r))return e(n)},cl={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):hs(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),hs(e,!0),r.enter(e)):r.leave(e,()=>{hs(e,!1)}):hs(e,t))},beforeUnmount(e,{value:t}){hs(e,t)}};function hs(e,t){e.style.display=t?e._vod:"none"}const xp=Ke({patchProp:S_},f_);let Ks,Ku=!1;function W_(){return Ks||(Ks=Gy(xp))}function G_(){return Ks=Ku?Ks:qy(xp),Ku=!0,Ks}const Sp=(...e)=>{const t=W_().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},q_=(...e)=>{const t=G_().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 K_=/"(?:_|\\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*:/,X_=/"(?: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*:/,Y_=/^\s*["[{]|^\s*-?\d[\d.]{0,14}\s*$/;function J_(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Z_(e);return}return t}function Z_(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function vi(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(!Y_.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(K_.test(e)||X_.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,J_)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const Q_=/#/g,eb=/&/g,tb=/=/g,Cc=/\+/g,nb=/%5e/gi,rb=/%60/gi,sb=/%7c/gi,ob=/%20/gi;function ib(e){return encodeURI(""+e).replace(sb,"|")}function ul(e){return ib(typeof e=="string"?e:JSON.stringify(e)).replace(Cc,"%2B").replace(ob,"+").replace(Q_,"%23").replace(eb,"%26").replace(rb,"`").replace(nb,"^")}function xa(e){return ul(e).replace(tb,"%3D")}function yi(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function ab(e){return yi(e.replace(Cc," "))}function lb(e){return yi(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=ab(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=lb(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 cb(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${xa(e)}=${ul(n)}`).join("&"):`${xa(e)}=${ul(t)}`:xa(e)}function ub(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>cb(t,e[t])).filter(Boolean).join("&")}const fb=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,db=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,hb=/^([/\\]\s*){2,}[^/\\]/;function ss(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?fb.test(e):db.test(e)||(t.acceptRelative?hb.test(e):!1)}const pb=/^[\s\0]*(blob|data|javascript|vbscript):$/i;function mb(e){return!!e&&pb.test(e)}const gb=/\/$|\/\?/;function fl(e="",t=!1){return t?gb.test(e):e.endsWith("/")}function Tc(e="",t=!1){if(!t)return(fl(e)?e.slice(0,-1):e)||"/";if(!fl(e,!0))return e||"/";const[n,...r]=e.split("?");return(n.slice(0,-1)||"/")+(r.length>0?`?${r.join("?")}`:"")}function _i(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(fl(e,!0))return e||"/";const[n,...r]=e.split("?");return n+"/"+(r.length>0?`?${r.join("?")}`:"")}function vb(e=""){return e.startsWith("/")}function Xu(e=""){return vb(e)?e:"/"+e}function yb(e,t){if(Pp(t)||ss(e))return e;const n=Tc(t);return e.startsWith(n)?e:So(n,e)}function Yu(e,t){if(Pp(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 kp(e,t){const n=Co(e),r={...Tp(n.search),...t};return n.search=ub(r),Eb(n)}function Pp(e){return!e||e==="/"}function _b(e){return e&&e!=="/"}const bb=/^\.?\//;function So(e,...t){let n=e||"";for(const r of t.filter(s=>_b(s)))if(n){const s=r.replace(bb,"");n=_i(n)+s}else n=r;return n}function wb(e,t,n={}){return n.trailingSlash||(e=_i(e),t=_i(t)),n.leadingSlash||(e=Xu(e),t=Xu(t)),n.encoding||(e=yi(e),t=yi(t)),e===t}function Co(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(!ss(e,{acceptRelative:!0}))return t?Co(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 Eb(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 xb extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function Sb(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 xb(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 Cb=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Zu(e="GET"){return Cb.has(e.toUpperCase())}function Tb(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 kb=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Pb=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Ab(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Pb.test(t)?"json":kb.has(t)||t.startsWith("text/")?"text":"blob"}function Rb(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 $b=new Set([408,409,425,429,500,502,503,504]),Nb=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):$b.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=Sb(a);throw Error.captureStackTrace&&Error.captureStackTrace(c,o),c}const o=async function(l,c={}){const u={request:l,options:Rb(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=yb(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=kp(u.request,{...u.options.params,...u.options.query}))),u.options.body&&Zu(u.options.method)&&(Tb(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&&!Nb.has(u.response.status)&&u.options.method!=="HEAD"){const d=(u.options.parseResponse?"json":u.options.responseType)||Ab(u.response.headers.get("content-type")||"");switch(d){case"json":{const p=await u.response.text(),h=u.options.parseResponse||vi;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 kc=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")}(),Ob=kc.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),Ib=kc.Headers,Lb=kc.AbortController,Mb=Ap({fetch:Ob,Headers:Ib,AbortController:Lb}),Db=Mb,Fb=()=>window?.__NUXT__?.config||{},bi=Fb().app,Bb=()=>bi.baseURL,jb=()=>bi.buildAssetsDir,zb=(...e)=>So(Rp(),jb(),...e),Rp=(...e)=>{const t=bi.cdnURL||bi.baseURL;return e.length?So(t,...e):t};globalThis.__buildAssetsURL=zb,globalThis.__publicAssetsURL=Rp;function dl(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?dl(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const Hb={run:e=>e()},Ub=()=>Hb,$p=typeof console.createTask<"u"?console.createTask:Ub;function Vb(e,t){const n=t.shift(),r=$p(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function Wb(e,t){const n=t.shift(),r=$p(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function Sa(e,t){for(const n of[...e])n(t)}class Gb{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=dl(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=dl(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(Vb,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Wb,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Sa(this._before,s);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&Sa(this._after,s)}):(this._after&&s&&Sa(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 Gb}function qb(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;hl.add(c);try{const u=s?s.run(i,a):a();return n||(t=void 0),await u}finally{hl.delete(c)}}}}function Kb(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=qb({...e,...r})),t[n],t[n]}}}const wi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Qu="__unctx__",Xb=wi[Qu]||(wi[Qu]=Kb()),Yb=(e,t={})=>Xb.get(e,t),ef="__unctx_async_handlers__",hl=wi[ef]||(wi[ef]=new Set);function Ei(e){const t=[];for(const s of hl){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=Yb("nuxt-app",{asyncContext:!1}),Jb="__nuxt_plugin";function Zb(e){let t=0;const n={provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.7.4"},get vue(){return n.vueApp.version}},payload:Bt({data:{},state:{},_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:s=>t0(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||Me;const s=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",s)}const r=Bt(n.payload.config);return n.provide("config",r),n}async function Qb(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 e0(e,t){const n=[],r=[];for(const s of t){const o=Qb(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 zt(e){return typeof e=="function"?e:(delete e.name,Object.assign(e.setup||(()=>{}),e,{[Jb]:!0}))}function t0(e,t,n){const r=()=>n?t(...n):t();return Op.set(e),e.vueApp.runWithContext(r)}/*! @__NO_SIDE_EFFECTS__ */function Me(){let e;if(Qh()&&(e=sn()?.appContext.app.$nuxt),e=e||Op.tryUse(),!e)throw new Error("[nuxt] instance unavailable");return e}/*! @__NO_SIDE_EFFECTS__ */function Pc(){return Me().$config}function zo(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const n0="modulepreload",r0=function(e,t){return e[0]==="."?new URL(e,t).href:e},tf={},s0=function(t,n,r){if(!n||n.length===0)return t();const s=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=r0(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":n0,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)=>s0(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),o0=-1,i0=-2,a0=-3,l0=-4,c0=-5,u0=-6;function f0(e,t){return d0(JSON.parse(e),t)}function d0(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===o0)return;if(o===a0)return NaN;if(o===l0)return 1/0;if(o===c0)return-1/0;if(o===u0)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!==i0&&(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 h0(e){return Array.isArray(e)?e:[e]}const p0=["title","titleTemplate","script","style","noscript"],si=["base","meta","link","style","script","noscript"],m0=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],g0=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],Ip=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"],v0=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(g0.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 y0(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)||p0.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 _0(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]=_0(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 b0=10;async function w0(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&m0.includes(n)).forEach(([n,r])=>{const s=h0(r);t.push(...s.map(o=>y0(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<<b0)+r,n))}const sf={base:-10,title:10},of={critical:-80,high:-10,low:20};function xi(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 E0=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Cn="%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(Cn)&&(e.endsWith(Cn)&&(e=e.slice(0,-Cn.length).trim()),e.startsWith(Cn)&&(e=e.slice(Cn.length).trim()),e=e.replace(new RegExp(`\\${Cn}\\s*\\${Cn}`,"g"),Cn),e=Yn(e,{separator:n},n)),e}async function x0(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:si.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=>si.includes(p.tagName.toLowerCase())))o.elMap[d.getAttribute("data-hid")||nf(await x0(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):si.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 S0(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 C0(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){S0(r,e)}}}}}const T0=["templateParams","htmlAttrs","bodyAttrs"],k0={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&&T0.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(xi(r)>xi(o))return}const i=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(si.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))}}},P0={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 A0={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)})})}}},R0=["link","style","script","noscript"],$0={hooks:{"tag:normalise":({tag:e})=>{e.key&&R0.includes(e.tag)&&(e.props["data-hid"]=e._h=Lp(e.key))}}},N0={hooks:{"tags:resolve":e=>{const t=n=>e.tags.find(r=>r._d===n)?._p;for(const{prefix:n,offset:r}of E0)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)=>xi(n)-xi(r))}}},O0={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")}}},I0={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 L0(e={}){const t=M0(e);return t.use(C0()),Bp=t}function cf(e,t){return!e||e==="server"&&t||e==="client"&&!t}function M0(e={}){const t=Np();t.addHooks(e.hooks||{}),e.document=e.document||(v0?document:void 0);const n=!e.document;e.plugins=[k0,P0,A0,$0,N0,O0,I0,...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 w0(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 D0(){return Bp}const F0=hp.startsWith("3");function B0(e){return typeof e=="function"?e():z(e)}function Si(e,t=""){if(e instanceof Promise)return e;const n=B0(e);return!e||!n?n:Array.isArray(n)?n.map(r=>Si(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,s])=>r==="titleTemplate"||r.startsWith("on")?[r,z(s)]:[r,Si(s,r)])):n}const j0={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Si(t.input)}}},jp="usehead";function z0(e){return{install(n){F0&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(jp,e))}}.install}function H0(e={}){e.domDelayFn=e.domDelayFn||(n=>xt(()=>setTimeout(()=>n(),0)));const t=L0(e);return t.use(j0),t.install=z0(t),t}const pl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ml="__unhead_injection_handler__";function U0(e){pl[ml]=e}function V0(){if(ml in pl)return pl[ml]();const e=dt(jp);return e||D0()}function W0(e,t={}){const n=t.head||V0();if(n)return n.ssr?n.push(e,t):G0(n,e,t)}function G0(e,t,n={}){const r=J(!1),s=J({});Br(()=>{s.value=r.value?{}:Si(t)});const o=e.push(s.value,n);return je(s,a=>{o.patch(a)}),sn()&&(rs(()=>{o.dispose()}),Wh(()=>{r.value=!0}),Vh(()=>{r.value=!1})),o}function Ca(e){return e!==null&&typeof e=="object"}function gl(e,t,n=".",r){if(!Ca(t))return gl(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]]:Ca(i)&&Ca(s[o])?s[o]=gl(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function q0(e){return(...t)=>t.reduce((n,r)=>gl(n,r,"",e),{})}const K0=q0();function X0(e,t){try{return t in e}catch{return!1}}var Y0=Object.defineProperty,J0=(e,t,n)=>t in e?Y0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Jn=(e,t,n)=>(J0(e,typeof t!="symbol"?t+"":t,n),n);class vl 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:_l(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=zp(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Jn(vl,"__h3_error__",!0);function yl(e){if(typeof e=="string")return new vl(e);if(Z0(e))return e;const t=new vl(e.message??e.statusMessage??"",{cause:e.cause||e});if(X0(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=_l(e.statusCode,t.statusCode):e.status&&(t.statusCode=_l(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;zp(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 Z0(e){return e?.constructor?.__h3_error__===!0}const Q0=/[^\u0009\u0020-\u007E]/g;function zp(e=""){return e.replace(Q0,"")}function _l(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Hp=Symbol("layout-meta"),To=Symbol("route"),ot=()=>Me()?.$router,os=()=>Qh()?dt(To,Me()._route):Me()._route;/*! @__NO_SIDE_EFFECTS__ */const ew=()=>{try{if(Me()._processingMiddleware)return!0}catch{return!0}return!1},bl=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:kp(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||ss(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=Co(n).protocol;if(a&&mb(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const s=ew();if(!r&&s)return e;const o=ot(),i=Me();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)},Yi=()=>uc(Me().payload,"error"),Pr=e=>{const t=Ji(e);try{const n=Me(),r=Yi();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},tw=async(e={})=>{const t=Me(),n=Yi();t.callHook("app:error:cleared",e),e.redirect&&await ot().replace(e.redirect),n.value=null},nw=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),Ji=e=>{const t=yl(e);return t.__nuxt_error=!0,t},wl=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),rw=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Up=e=>{const t=Me();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{wl(e)}):wl(e)},sw=()=>null;function Vp(...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??sw,s.lazy=s.lazy??!1,s.immediate=s.immediate??!0;const o=Me(),i=()=>o.isHydrating?o.payload.data[n]:o.static.data[n],a=()=>i()!==void 0;(!o._asyncData[n]||!s.immediate)&&(o._asyncData[n]={data:J(i()??s.default()),pending:J(!a()),error:uc(o.payload._errors,n),status:J("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=ow(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=z(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]=Ji(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=sn();if(d&&!d._nuxtOnBeforeMountCbs){d._nuxtOnBeforeMountCbs=[];const h=d._nuxtOnBeforeMountCbs;d&&(qh(()=>{h.forEach(m=>{m()}),h.splice(0,h.length)}),fo(()=>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&&je(s.watch,()=>l.refresh());const p=o.hook("app:data:refresh",h=>{if(!h||h.includes(n))return l.refresh()});d&&fo(p)}const f=Promise.resolve(o._asyncDataPromises[n]).then(()=>l);return Object.assign(f,l),f}function ow(e,t){const n={};for(const r of t)n[r]=e[r];return n}const iw="$s";function is(...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=iw+n,o=Me(),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 uf=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 aw(e,t){t?t={...uf,...t}:t=uf;const n=Wp(t);return n.dispatch(e),n.toString()}const lw=Object.freeze(["prototype","__proto__","constructor"]);function Wp(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&&!ff(s)&&(u=lw),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=Wp(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:"),ff(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 Gp="[native code] }",cw=Gp.length;function ff(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-cw)===Gp}class Dn{constructor(t,n){t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}toString(t){return(t||uw).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 Dn([...this.words])}}const uw={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("")}},fw={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("")}},dw={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 Dn(n,t)}},hw={parse(e){return dw.parse(unescape(encodeURIComponent(e)))}};class pw{constructor(){this._data=new Dn,this._nDataBytes=0,this._minBufferSize=0,this.blockSize=512/32}reset(){this._data=new Dn,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=hw.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 Dn(n,o)}}class mw extends pw{update(t){return this._append(t),this._process(),this}finalize(t){t&&this._append(t)}}const df=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],gw=[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 vw extends mw{constructor(){super(...arguments),this._hash=new Dn([...df])}reset(){super.reset(),this._hash=new Dn([...df])}_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+gw[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 yw(e){return new vw().finalize(e).toString(fw)}function _w(e,t={}){const n=typeof e=="string"?e:aw(e,t);return yw(n).slice(0,10)}function bw(e,t,n){const[r={},s]=typeof t=="string"?[{},t]:[t,n],o=ge(()=>{let _=e;return typeof _=="function"&&(_=_()),z(_)}),i=r.key||_w([s,z(r.method)?.toUpperCase()||"GET",z(r.baseURL),typeof o.value=="string"?o.value:"",z(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=Bt({...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 Vp(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 qp(e,t=ot()){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(()=>qp(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 ww(e={}){const t=e.path||window.location.pathname;let n={};try{n=vi(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:Me().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const Ew=(...e)=>e.find(t=>t!==void 0),xw="noopener noreferrer";/*! @__NO_SIDE_EFFECTS__ */function Sw(e){const t=e.componentName||"NuxtLink",n=(r,s)=>{if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;const o=e.trailingSlash==="append"?_i: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 ke({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=ot(),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===""||ss(i.value,{acceptRelative:!0})),l=J(!1),c=J(null),u=f=>{c.value=r.custom?f?.$el?.nextElementSibling:f?.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!Tw()){const d=Me();let p,h=null;wn(()=>{const m=Cw();Up(()=>{p=wl(()=>{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&&qp(i.value,o).catch(()=>{})]),l.value=!0}))})})}),rs(()=>{p&&rw(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:Ew(r.rel,e.externalRelAttribute,f?xw:"")||null,h=()=>bl(f,{replace:r.replace});return r.custom?s.default?s.default({href:f,navigate:h,get route(){if(!f)return;const m=Co(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 Kp=Sw({componentName:"NuxtLink"});function Cw(){const e=Me();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 Tw(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const kw=!1,El=!1,Pw=!1,Aw="#__nuxt";function hf(e,t={}){const n=Rw(e,t),r=Me(),s=r._payloadCache=r._payloadCache||{};return n in s||(s[n]=$w().then(o=>o?Xp(n).then(i=>i||(delete s[n],null)):(s[n]=null,null))),s[n]}const pf="json";function Rw(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"||ss(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():"");return So(Pc().app.baseURL,n.pathname,r?`_payload.${r}.${pf}`:`_payload.${pf}`)}async function Xp(e){const t=fetch(e).then(n=>n.text().then(Yp));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function $w(e=os().path){return!!Me().payload.prerenderedAt}let Ho=null;async function Nw(){if(Ho)return Ho;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=Yp(e.textContent||""),n=e.dataset.src?await Xp(e.dataset.src):void 0;return Ho={...t,...n,...window.__NUXT__},Ho}function Yp(e){return f0(e,Me()._payloadRevivers)}function Ow(e,t){Me()._payloadRevivers[e]=t}const mf={NuxtError:e=>Ji(e),EmptyShallowRef:e=>nn(e==="_"?void 0:e==="0n"?BigInt(0):vi(e)),EmptyRef:e=>J(e==="_"?void 0:e==="0n"?BigInt(0):vi(e)),ShallowRef:e=>nn(e),ShallowReactive:e=>es(e),Ref:e=>J(e),Reactive:e=>Bt(e)},Iw=zt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in mf)Ow(r,mf[r]);Object.assign(e.payload,([t,n]=Ei(()=>e.runWithContext(Nw)),t=await t,n(),t)),window.__NUXT__=e.payload}}),Lw=[],Mw=zt({name:"nuxt:head",enforce:"pre",setup(e){const t=H0({plugins:Lw});U0(()=>Me().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.5
5
- * (c) 2023 Eduardo San Martin Morote
6
- * @license MIT
7
- */const kr=typeof window<"u";function Dw(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Fe=Object.assign;function Ta(e,t){const n={};for(const r in t){const s=t[r];n[r]=jt(s)?s.map(e):e(s)}return n}const Xs=()=>{},jt=Array.isArray,Fw=/\/$/,Bw=e=>e.replace(Fw,"");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=Uw(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:i}}function jw(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 zw(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&qr(t.matched[r],n.matched[s])&&Jp(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function qr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Jp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Hw(e[n],t[n]))return!1;return!0}function Hw(e,t){return jt(e)?vf(e,t):jt(t)?vf(t,e):e===t}function vf(e,t){return jt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Uw(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 mo;(function(e){e.pop="pop",e.push="push"})(mo||(mo={}));var Ys;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ys||(Ys={}));function Vw(e){if(!e)if(kr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Bw(e)}const Ww=/^[^#]+#/;function Gw(e,t){return e.replace(Ww,"#")+t}function qw(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 Zi=()=>({left:window.pageXOffset,top:window.pageYOffset});function Kw(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=qw(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 xl=new Map;function Xw(e,t){xl.set(e,t)}function Yw(e){const t=xl.get(e);return xl.delete(e),t}let Jw=()=>location.protocol+"//"+location.host;function Zp(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 Zw(e,t,n,r){let s=[],o=[],i=null;const a=({state:d})=>{const p=Zp(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:mo.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:Zi()}),"")}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?Zi():null}}function Qw(e){const{history:t,location:n}=window,r={value:Zp(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:Jw()+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:Zi()});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 Qp(e){e=Vw(e);const t=Qw(e),n=Zw(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:Gw.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 e1(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Qp(e)}function t1(e){return typeof e=="string"||e&&typeof e=="object"}function em(e){return typeof e=="string"||typeof e=="symbol"}const qt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},tm=Symbol("");var bf;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(bf||(bf={}));function Kr(e,t){return Fe(new Error,{type:e,[tm]:!0},t)}function on(e,t){return e instanceof Error&&tm in e&&(t==null||!!(e.type&t))}const wf="[^/]+?",n1={sensitive:!1,strict:!1,start:!0,end:!0},r1=/[.+*?^${}()[\]/\\]/g;function s1(e,t){const n=Fe({},n1,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(r1,"\\$&"),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(jt(y)&&!m)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const v=jt(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 o1(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 i1(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=o1(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Ef(r))return 1;if(Ef(s))return-1}return s.length-r.length}function Ef(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const a1={type:0,value:""},l1=/[a-zA-Z0-9_]/;function c1(e){if(!e)return[[]];if(e==="/")return[[a1]];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:l1.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 u1(e,t,n){const r=s1(c1(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 f1(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=d1(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=u1(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(em(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&&i1(u,n[f])>=0&&(u.record.path!==n[f].record.path||!nm(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 Kr(1,{location:u});m=d.record.name,p=Fe(xf(f.params,d.keys.filter(v=>!v.optional).map(v=>v.name)),u.params&&xf(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 Kr(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:p1(b)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:s}}function xf(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function d1(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:h1(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 h1(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 p1(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 nm(e,t){return t.children.some(n=>n===e||nm(e,n))}const rm=/#/g,m1=/&/g,g1=/\//g,v1=/=/g,y1=/\?/g,sm=/\+/g,_1=/%5B/g,b1=/%5D/g,om=/%5E/g,w1=/%60/g,im=/%7B/g,E1=/%7C/g,am=/%7D/g,x1=/%20/g;function Ac(e){return encodeURI(""+e).replace(E1,"|").replace(_1,"[").replace(b1,"]")}function S1(e){return Ac(e).replace(im,"{").replace(am,"}").replace(om,"^")}function Sl(e){return Ac(e).replace(sm,"%2B").replace(x1,"+").replace(rm,"%23").replace(m1,"%26").replace(w1,"`").replace(im,"{").replace(am,"}").replace(om,"^")}function C1(e){return Sl(e).replace(v1,"%3D")}function T1(e){return Ac(e).replace(rm,"%23").replace(y1,"%3F")}function k1(e){return e==null?"":T1(e).replace(g1,"%2F")}function Ci(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function P1(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(sm," "),i=o.indexOf("="),a=Ci(i<0?o:o.slice(0,i)),l=i<0?null:Ci(o.slice(i+1));if(a in t){let c=t[a];jt(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=C1(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(jt(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 A1(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=jt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const R1=Symbol(""),kf=Symbol(""),Rc=Symbol(""),$c=Symbol(""),Cl=Symbol("");function ps(){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 $n(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(Kr(4,{from:n,to:t})):f instanceof Error?a(f):t1(f)?a(Kr(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 Pa(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($1(a)){const c=(a.__vccOpts||a)[t];c&&s.push($n(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=Dw(c)?c.default:c;o.components[i]=u;const d=(u.__vccOpts||u)[t];return d&&$n(d,n,r,o,i)()}))}}return s}function $1(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Pf(e){const t=dt(Rc),n=dt($c),r=ge(()=>t.resolve(z(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(qr.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(qr.bind(null,l[c-2])):d}),o=ge(()=>s.value>-1&&L1(n.params,r.value.params)),i=ge(()=>s.value>-1&&s.value===n.matched.length-1&&Jp(n.params,r.value.params));function a(l={}){return I1(l)?t[z(e.replace)?"replace":"push"](z(e.to)).catch(Xs):Promise.resolve()}return{route:r,href:ge(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}const N1=ke({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:Pf,setup(e,{slots:t}){const n=Bt(Pf(e)),{options:r}=dt(Rc),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)}}}),O1=N1;function I1(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 L1(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(!jt(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,M1=ke({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=dt(Cl),s=ge(()=>e.route||r.value),o=dt(kf,0),i=ge(()=>{let c=z(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(kf,ge(()=>i.value+1)),ur(R1,a),ur(Cl,s);const l=J();return je(()=>[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||!qr(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 lm=M1;function D1(e){const t=f1(e.routes,e),n=e.parseQuery||P1,r=e.stringifyQuery||Tf,s=e.history,o=ps(),i=ps(),a=ps(),l=nn(qt);let c=qt;kr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ta.bind(null,O=>""+O),f=Ta.bind(null,k1),d=Ta.bind(null,Ci);function p(O,X){let V,ce;return em(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),j=s.createHref(I.fullPath);return Fe(I,B,{params:d(B.params),hash:Ci(I.hash),redirectedFrom:void 0,href:j})}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),Se=O.hash||"";ce.params=u(d(ce.params));const $=jw(r,Fe({},O,{hash:S1(Se),path:ce.path})),N=s.createHref($);return Fe({fullPath:$,hash:Se,query:r===Tf?A1(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 Kr(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,Se=O.state,$=O.force,N=O.replace===!0,I=g(V);if(I)return T(Fe(v(I),{state:typeof I=="object"?Fe({},Se,I.state):Se,force:$,replace:N}),X||V);const B=V;B.redirectedFrom=X;let j;return!$&&zw(r,ce,V)&&(j=Kr(16,{to:B,from:ce}),se(ce,ce,!0,!1)),(j?Promise.resolve(j):k(B,ce)).catch(H=>on(H)?on(H,2)?H:re(H):F(H,B,ce)).then(H=>{if(H){if(on(H,2))return T(Fe({replace:N},v(H.to),{state:typeof H.to=="object"?Fe({},Se,H.to.state):Se,force:$}),X||B)}else H=P(B,ce,!0,N,Se);return S(B,ce,H),H})}function x(O,X){const V=w(O,X);return V?Promise.reject(V):Promise.resolve()}function E(O){const X=fe.values().next().value;return X&&typeof X.runWithContext=="function"?X.runWithContext(O):O()}function k(O,X){let V;const[ce,Se,$]=F1(O,X);V=Pa(ce.reverse(),"beforeRouteLeave",O,X);for(const I of ce)I.leaveGuards.forEach(B=>{V.push($n(B,O,X))});const N=x.bind(null,O,X);return V.push(N),$e(V).then(()=>{V=[];for(const I of o.list())V.push($n(I,O,X));return V.push(N),$e(V)}).then(()=>{V=Pa(Se,"beforeRouteUpdate",O,X);for(const I of Se)I.updateGuards.forEach(B=>{V.push($n(B,O,X))});return V.push(N),$e(V)}).then(()=>{V=[];for(const I of $)if(I.beforeEnter)if(jt(I.beforeEnter))for(const B of I.beforeEnter)V.push($n(B,O,X));else V.push($n(I.beforeEnter,O,X));return V.push(N),$e(V)}).then(()=>(O.matched.forEach(I=>I.enterCallbacks={}),V=Pa($,"beforeRouteEnter",O,X),V.push(N),$e(V))).then(()=>{V=[];for(const I of i.list())V.push($n(I,O,X));return V.push(N),$e(V)}).catch(I=>on(I,8)?I:Promise.reject(I))}function S(O,X,V){a.list().forEach(ce=>E(()=>ce(O,X,V)))}function P(O,X,V,ce,Se){const $=w(O,X);if($)return $;const N=X===qt,I=kr?history.state:{};V&&(ce||N?s.replace(O.fullPath,Fe({scroll:N&&I&&I.scroll},Se)):s.push(O.fullPath,Se)),l.value=O,se(O,X,V,N),re()}let A;function R(){A||(A=s.listen((O,X,V)=>{if(!Ee.listening)return;const ce=y(O),Se=g(ce);if(Se){T(Fe(Se,{replace:!0}),ce).catch(Xs);return}c=ce;const $=l.value;kr&&Xw(yf($.fullPath,V.delta),Zi()),k(ce,$).catch(N=>on(N,12)?N:on(N,2)?(T(N.to,ce).then(I=>{on(I,20)&&!V.delta&&V.type===mo.pop&&s.go(-1,!1)}).catch(Xs),Promise.reject()):(V.delta&&s.go(-V.delta,!1),F(N,ce,$))).then(N=>{N=N||P(ce,$,!1),N&&(V.delta&&!on(N,8)?s.go(-V.delta,!1):V.type===mo.pop&&on(N,20)&&s.go(-1,!1)),S(ce,$,N)}).catch(Xs)}))}let M=ps(),L=ps(),D;function F(O,X,V){re(O);const ce=L.list();return ce.length?ce.forEach(Se=>Se(O,X,V)):console.error(O),Promise.reject(O)}function U(){return D&&l.value!==qt?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:Se}=e;if(!kr||!Se)return Promise.resolve();const $=!V&&Yw(yf(O.fullPath,0))||(ce||!V)&&history.state&&history.state.scroll||null;return xt().then(()=>Se(O,X,$)).then(N=>N&&Kw(N)).catch(N=>F(N,O,X))}const ne=O=>s.go(O);let me;const fe=new Set,Ee={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",O1),O.component("RouterView",lm),O.config.globalProperties.$router=X,Object.defineProperty(O.config.globalProperties,"$route",{enumerable:!0,get:()=>z(l)}),kr&&!me&&l.value===qt&&(me=!0,_(s.location).catch(Se=>{}));const V={};for(const Se in qt)Object.defineProperty(V,Se,{get:()=>l.value[Se],enumerable:!0});O.provide(Rc,X),O.provide($c,es(V)),O.provide(Cl,l);const ce=O.unmount;fe.add(O),O.unmount=function(){fe.delete(O),fe.size<1&&(c=qt,A&&A(),A=null,l.value=qt,me=!1,D=!1),ce()}}};function $e(O){return O.reduce((X,V)=>X.then(()=>E(V)),Promise.resolve())}return Ee}function F1(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=>qr(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>qr(c,l))||s.push(l))}return[n,r,s]}function B1(){return dt($c)}const ms={layout:"none"},gs={layout:"none"};function yn(e){return gh()?(yv(e),!0):!1}function j1(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 tt(e){return typeof e=="function"?e():z(e)}const hr=typeof window<"u"&&typeof document<"u",z1=e=>typeof e<"u",H1=Object.prototype.toString,U1=e=>H1.call(e)==="[object Object]",Xr=()=>{},V1=W1();function W1(){var e;return hr&&((e=window?.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function cm(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 um=e=>e();function fm(e,t={}){let n,r,s=Xr;const o=a=>{clearTimeout(a),s(),s=Xr};return a=>{const l=tt(e),c=tt(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 G1(e=um){const t=J(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...o)=>{t.value&&e(...o)};return{isActive:ts(t),pause:n,resume:r,eventFilter:s}}function q1(e){const t=Object.create(null);return n=>t[n]||(t[n]=e(n))}const K1=/-(\w)/g,X1=q1(e=>e.replace(K1,(t,n)=>n?n.toUpperCase():""));function Nf(e,t=!1,n="Timeout"){return new Promise((r,s)=>{setTimeout(t?()=>s(n):r,e)})}function Y1(e,t=200,n={}){return cm(fm(t,n),e)}function J1(e,t=200,n={}){const r=J(e.value),s=Y1(()=>{r.value=e.value},t,n);return je(e,()=>s()),r}function dm(e,t,n={}){const{eventFilter:r=um,...s}=n;return je(e,cm(r,t),s)}function Z1(e,t,n={}){const{eventFilter:r,...s}=n,{eventFilter:o,pause:i,resume:a,isActive:l}=G1(r);return{stop:dm(e,t,{...s,eventFilter:o}),pause:i,resume:a,isActive:l}}function Q1(e,t={}){if(!Be(e))return Yv(e);const n=Array.isArray(e.value)?Array.from({length:e.value.length}):{};for(const r in e.value)n[r]=Xv(()=>({get(){return e.value[r]},set(s){var o;if((o=tt(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 Nc(e,t=!0){sn()?wn(e):t?e():xt(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=je(e,_=>{f(_)!==t&&(b?.(),w(_))},{flush:d,deep:p,immediate:!0})})];return h!=null&&v.push(Nf(h,m).then(()=>tt(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=je([e,f],([C,g])=>{t!==(C===g)&&(y?.(),_(C))},{flush:p,deep:h,immediate:!0})})];return m!=null&&w.push(Nf(m,b).then(()=>tt(e)).finally(()=>(y?.(),tt(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(tt(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(tt(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 eE(e){return Tl(e)}function tE(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:s=!1}=n;let o=null;const i=J(!1);function a(){o&&(clearInterval(o),o=null)}function l(){i.value=!1,a()}function c(){const u=tt(t);u<=0||(i.value=!0,s&&e(),a(),o=setInterval(e,u))}if(r&&hr&&c(),Be(t)||typeof t=="function"){const u=je(t,()=>{i.value&&hr&&c()});yn(u)}return yn(l),{isActive:i,pause:l,resume:c}}function nE(e,t,n={}){const{immediate:r=!0}=n,s=J(!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)},tt(t))}return r&&(s.value=!0,hr&&l()),yn(a),{isPending:ts(s),start:l,stop:a}}function $O(e,t,n={}){const{debounce:r=0,maxWait:s=void 0,...o}=n;return dm(e,t,{...o,eventFilter:fm(r,{maxWait:s})})}function NO(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=Xr}=r,l=J(!s),c=i?nn(t):J(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 OO(e={}){const{inheritAttrs:t=!0}=e,n=nn(),r=ke({setup(o,{slots:i}){return()=>{n.value=i.default}}}),s=ke({inheritAttrs:t,setup(o,{attrs:i,slots:a}){return()=>{var l;n.value;const c=(l=n.value)==null?void 0:l.call(n,{...rE(i),$slots:a});return t&&c?.length===1?c[0]:c}}});return j1({define:r,reuse:s},[r,s])}function rE(e){const t={};for(const n in e)t[X1(n)]=e[n];return t}function Oc(e={}){let t=0;const n=J([]);function r(...i){const a=es({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=ke((i,{slots:a})=>{const l=()=>n.value.map(c=>{var u;return Je(Ie,{key:c.key},(u=a.default)==null?void 0:u.call(a,c))});return e.transition?()=>Je(R_,e.transition,l):l});return o.start=s,o}function Et(e){var t;const n=tt(e);return(t=n?.$el)!=null?t:n}const Rt=hr?window:void 0,sE=hr?window.document:void 0,oE=hr?window.navigator:void 0;function Dt(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=Rt):[t,n,r,s]=e,!t)return Xr;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=je(()=>[Et(t),tt(s)],([u,f])=>{if(i(),!u)return;const d=U1(f)?{...f}:f;o.push(...n.flatMap(p=>r.map(h=>a(u,p,h,d))))},{immediate:!0,flush:"post"}),c=()=>{l(),i()};return yn(c),c}let Of=!1;function Ic(e,t,n={}){const{window:r=Rt,ignore:s=[],capture:o=!0,detectIframe:i=!1}=n;if(!r)return;V1&&!Of&&(Of=!0,Array.from(r.document.body.children).forEach(d=>d.addEventListener("click",Xr)),r.document.documentElement.addEventListener("click",Xr));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=Et(p);return h&&(d.target===h||d.composedPath().includes(h))}}),u=[Dt(r,"click",d=>{const p=Et(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}),Dt(r,"pointerdown",d=>{const p=Et(e);p&&(a=!d.composedPath().includes(p)&&!l(d))},{passive:!0}),i&&Dt(r,"blur",d=>{setTimeout(()=>{var p;const h=Et(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 iE(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function aE(...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=Rt,eventName:o="keydown",passive:i=!1,dedupe:a=!1}=r,l=iE(t);return Dt(s,o,u=>{u.repeat&&tt(a)||l(u)&&n(u)},i)}function IO(e,t,n={}){return aE(e,t,{...n,eventName:"keydown"})}function lE(){const e=J(!1);return sn()&&wn(()=>{e.value=!0}),e}function Lc(e){const t=lE();return ge(()=>(t.value,!!e()))}function cE(e,t={}){const{immediate:n=!0,fpsLimit:r=void 0,window:s=Rt}=t,o=J(!1),i=r?1e3/r:null;let a=0,l=null;function c(d){if(!o.value||!s)return;const p=d-(a||d);if(i&&p<i){l=s.requestAnimationFrame(c);return}e({delta:p,timestamp:d}),a=d,l=s.requestAnimationFrame(c)}function u(){!o.value&&s&&(o.value=!0,l=s.requestAnimationFrame(c))}function f(){o.value=!1,l!=null&&s&&(s.cancelAnimationFrame(l),l=null)}return n&&u(),yn(f),{isActive:ts(o),pause:f,resume:u}}function uE(e,t={}){const{window:n=Rt}=t,r=Lc(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const o=J(!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(tt(e)),"addEventListener"in s?s.addEventListener("change",i):s.addListener(i),o.value=s.matches)});return yn(()=>{l(),a(),s=void 0}),o}function fE(e={}){const{navigator:t=oE,read:n=!1,source:r,copiedDuring:s=1500,legacy:o=!1}=e,i=Lc(()=>t&&"clipboard"in t),a=ge(()=>i.value||o),l=J(""),c=J(!1),u=nE(()=>c.value=!1,s);function f(){i.value?t.clipboard.readText().then(m=>{l.value=m}):l.value=h()}a.value&&n&&Dt(["copy","cut"],f);async function d(m=tt(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 dE(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__",hE=pE();function pE(){return Vo in Uo||(Uo[Vo]=Uo[Vo]||{}),Uo[Vo]}function mE(e,t){return hE[e]||t}function gE(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 vE={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 hm(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=Rt,eventFilter:d,onError:p=x=>{console.error(x)}}=r,h=(u?nn:J)(t);if(!n)try{n=mE("getDefaultStorage",()=>{var x;return(x=Rt)==null?void 0:x.localStorage})()}catch(x){p(x)}if(!n)return h;const m=tt(t),b=gE(m),y=(s=r.serializer)!=null?s:vE[b],{pause:v,resume:w}=Z1(h,()=>_(h.value),{flush:o,deep:i,eventFilter:d});return f&&a&&(Dt(f,"storage",T),Dt(f,If,g)),T(),h;function _(x){try{if(x==null)n.removeItem(e);else{const E=y.write(x),k=n.getItem(e);k!==E&&(n.setItem(e,E),f&&f.dispatchEvent(new CustomEvent(If,{detail:{key:e,oldValue:k,newValue:E,storageArea:n}})))}}catch(E){p(E)}}function C(x){const E=x?x.newValue:n.getItem(e);if(E==null)return l&&m!==null&&n.setItem(e,y.write(m)),m;if(!x&&c){const k=y.read(E);return typeof c=="function"?c(k,m):b==="object"&&!Array.isArray(k)?{...m,...k}:k}else return typeof E!="string"?E:y.read(E)}function g(x){T(x.detail)}function T(x){if(!(x&&x.storageArea!==n)){if(x&&x.key==null){h.value=m;return}if(!(x&&x.key!==e)){v();try{x?.newValue!==y.write(h.value)&&(h.value=C(x))}catch(E){p(E)}finally{x?xt(w):w()}}}}}function pm(e,t,n={}){const{window:r=Rt,...s}=n;let o;const i=Lc(()=>r&&"ResizeObserver"in r),a=()=>{o&&(o.disconnect(),o=void 0)},l=ge(()=>Array.isArray(e)?e.map(f=>Et(f)):[Et(e)]),c=je(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 yn(u),{isSupported:i,stop:u}}function LO(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:s=!0,immediate:o=!0}=t,i=J(0),a=J(0),l=J(0),c=J(0),u=J(0),f=J(0),d=J(0),p=J(0);function h(){const m=Et(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 pm(e,h),je(()=>Et(e),m=>!m&&h()),s&&Dt("scroll",h,{capture:!0,passive:!0}),r&&Dt("resize",h,{passive:!0}),Nc(()=>{o&&h()}),{height:i,bottom:a,left:l,right:c,top:u,width:f,x:d,y:p,update:h}}function MO(e,t={width:0,height:0},n={}){const{window:r=Rt,box:s="content-box"}=n,o=ge(()=>{var l,c;return(c=(l=Et(e))==null?void 0:l.namespaceURI)==null?void 0:c.includes("svg")}),i=J(t.width),a=J(t.height);return pm(e,([l])=>{const c=s==="border-box"?l.borderBoxSize:s==="content-box"?l.contentBoxSize:l.devicePixelContentBoxSize;if(r&&o.value){const u=Et(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),je(()=>Et(e),l=>{i.value=l?t.width:0,a.value=l?t.height:0}),{width:i,height:a}}function as(e,t,n={}){const{window:r=Rt}=n;return hm(e,t,r?.localStorage,n)}function yE(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,r=J(new Date),s=()=>r.value=new Date,o=n==="requestAnimationFrame"?cE(s,{immediate:!0}):tE(s,n,{immediate:!0});return t?{now:r,...o}:r}function _E(e,t,n={}){const{window:r=Rt}=n;return hm(e,t,r?.sessionStorage,n)}let bE=0;function DO(e,t={}){const n=J(!1),{document:r=sE,immediate:s=!0,manual:o=!1,id:i=`vueuse_styletag_${++bE}`}=t,a=J(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=je(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&&Nc(c),o||yn(u),{id:i,css:a,unload:u,load:c,isLoaded:ts(n)}}const wE=[{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"}],EE={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 xE(e){return e.toISOString().slice(0,10)}function FO(e,t={}){const{controls:n=!1,updateInterval:r=3e4}=t,{now:s,...o}=yE({interval:r,controls:!0}),i=ge(()=>SE(new Date(tt(e)),t,tt(s)));return n?{timeAgo:i,...o}:i}function SE(e,t={},n=Date.now()){var r;const{max:s,messages:o=EE,fullDateFormatter:i=xE,units:a=wE,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 mm(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=sn(),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):dE(w):w,y=()=>z1(e[t])?b(e[t]):f,v=w=>{d?d(w)&&h(m,w):h(m,w)};if(l){const w=y(),_=J(w);let C=!1;return je(()=>e[t],g=>{C||(C=!0,_.value=b(g),xt(()=>C=!1))}),je(_,g=>{!C&&(g!==e[t]||u)&&v(g)},{deep:u}),_}else return ge({get(){return y()},set(w){v(w)}})}function gm(e={}){const{window:t=Rt,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:o=!0}=e,i=J(n),a=J(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(),Nc(l),Dt("resize",l,{passive:!0}),s){const c=uE("(orientation: portrait)");je(c,()=>l())}return{width:i,height:a}}function CE(e=""){return!e||!e.includes("\\")?e:e.replace(/\\/g,"/")}const TE=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;function kE(){return typeof process<"u"?process.cwd().replace(/\\/g,"/"):"/"}const Lf=function(...e){e=e.map(r=>CE(r));let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const s=r>=0?e[r]:kE();!s||s.length===0||(t=`${s}/${t}`,n=Mf(s))}return t=PE(t,!n),n&&!Mf(t)?`/${t}`:t.length>0?t:"."};function PE(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 TE.test(e)},AE=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 BO(e){return!!e.match(/[/\\]node_modules[/\\]/)||Mc(e)}function Mc(e){return e[0]==="#"||!!e.match(/^(@[a-z0-9-~][a-z0-9-._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/)}function RE(e){if(Mc(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 $E(e){const t=e.match(/.*\/node_modules\/(.*)$/)?.[1];if(t)return t}function jO(e){if(e)return["nuxt","#app","#head","vue"].includes(e)}function zO(e,t){if(e=e.replace(/\\/g,"/"),Mc(e))return{moduleName:e,path:e};const n=RE(e),r=$E(e);if(n&&r)return{moduleName:n,path:r};try{let s=AE(t,e);return!s.startsWith("./")&&!s.startsWith("../")&&(s=`./${s}`),s.startsWith("./.nuxt/")&&(s=`#build${s.slice(7)}`),{path:s}}catch{return{path:e}}}function pt(e,t,n){const r=Me(),s=r.payload.unique=r.payload.unique||{};return s[e]||(s[e]=Vp(e,t,n)),s[e].data}function HO(){return typeof navigator<"u"&&navigator.platform.toLowerCase().includes("mac")}const Df={get:"n-green",post:"n-blue",put:"n-orange",delete:"n-red",patch:"n-purple",head:"n-teal",default:"n-gray"};function UO(e){return Df[e.toLowerCase()]||Df.default}function VO(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 WO(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 GO(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 Qi(e,t){return is(e,()=>_E(e,t,{listenToStorageChanges:!1}))}function qO(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}}function KO(e,t,n=`${t}s`){return`${e} ${e<=1?t:n}`}const NE=6e4;function vm(e){return e}const OE=vm,{clearTimeout:IE,setTimeout:LE}=globalThis,ME=Math.random.bind(Math);function DE(e,t){const{post:n,on:r,eventNames:s=[],serialize:o=vm,deserialize:i=OE,resolver:a,timeout:l=NE}=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=BE();let _;l>=0&&(_=LE(()=>{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&&(IE(v.timeoutId),y?v.reject(y):v.resolve(b)),c.delete(m)}}),f}const FE="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function BE(e=21){let t="",n=e;for(;n--;)t+=FE[ME()*64|0];return t}/*! (c) 2020 Andrea Giammarchi */const{parse:jE,stringify:zE}=JSON,{keys:HE}=Object,go=String,ym="string",Ff={},Ti="object",_m=(e,t)=>t,UE=e=>e instanceof go?go(e):e,VE=(e,t)=>typeof t===ym?new go(t):t,bm=(e,t,n,r)=>{const s=[];for(let o=HE(n),{length:i}=o,a=0;a<i;a++){const l=o[a],c=n[l];if(c instanceof go){const u=e[c];typeof u===Ti&&!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,bm.apply(null,l))}return n},Bf=(e,t,n)=>{const r=go(t.push(n)-1);return e.set(n,r),r},WE=(e,t)=>{const n=jE(e,VE).map(UE),r=n[0],s=t||_m,o=typeof r===Ti&&r?bm(n,new Set,r,s):r;return s.call({"":o},"",o)},GE=(e,t,n)=>{const r=t&&typeof t===Ti?(u,f)=>u===""||-1<t.indexOf(u)?f:void 0:t||_m,s=new Map,o=[],i=[];let a=+Bf(s,o,r.call({"":e},"",e)),l=!a;for(;a<o.length;)l=!0,i[a]=zE(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 Ti:if(d===null)return d;case ym:return s.get(d)||Bf(s,o,d)}return d}};async function qE(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 KE(e=window.location.pathname){return e.split("/").map((t,n,r)=>r.slice(0,n+1).join("/")||"/")}async function XE(e="/___",t){t=t??KE();for(const n of t){const s=(await qE(n,!1))?.createHotContext(e);if(s)return s}console.error("[vite-hot-client] Failed to import vite client, tried with:",t)}const wm="nuxt:devtools:rpc",YE=J(!1),JE=J(),ZE=J1(YE,2e3),QE=ex();let Em=()=>{};const xm={},Sm=new Map,Ae=DE(xm,{post:async e=>{(await QE).send(wm,e)},on:e=>{Em=e},serialize:GE,deserialize:WE,resolver(e,t){if(t)return t;if(!e.includes(":"))return;const[n,r]=e.split(":");return Sm.get(n)?.[r]},onError(e,t){console.error(`[nuxt-devtools] RPC error on executing "${t}":`,e)},timeout:12e4});async function ex(){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 XE(void 0,[...e?[`${e}${t}/`,e]:[],"/_nuxt/","/"]);if(!n)throw new Error("Unable to connect to devtools");return n.on(wm,r=>{Em(r)}),n}let Cm;function Dc(e){Cm?.(e)}function tx(e){Cm=e}const XO=Oc(),Tm=Oc();function nx(){return is("devtools:restart-dialogs",()=>[])}var rx=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function sx(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function YO(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 kl={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",x=350,E="Amazon",k="Apple",S="ASUS",P="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",Ee="Sony",$e="Xiaomi",O="Zebra",X="Facebook",V="Chromium OS",ce="Mac OS",Se=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},j=function(ee,le){if(typeof ee===u)return ee=ee.replace(/^\s\s*/,o),typeof le===l?ee:ee.substring(0,x)},H=function(ee,le){for(var oe=0,de,Oe,We,Te,ye,it;oe<le.length&&!ye;){var Er=le[oe],at=le[oe+1];for(de=Oe=0;de<Er.length&&!ye&&Er[de];)if(ye=Er[de++].exec(ee),ye)for(We=0;We<at.length;We++)it=ye[++Oe],Te=at[We],typeof Te===c&&Te.length>0?Te.length===2?typeof Te[1]==a?this[Te[0]]=Te[1].call(this,it):this[Te[0]]=Te[1]:Te.length===3?typeof Te[1]===a&&!(Te[1].exec&&Te[1].test)?this[Te[0]]=it?Te[1].call(this,it,Te[2]):r:this[Te[0]]=it?it.replace(Te[1],Te[2]):r:Te.length===4&&(this[Te[0]]=it?Te[3].call(this,it.replace(Te[1],Te[2])):r):this[Te]=it||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,k],[h,w]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[m,k],[h,_]],[/(macintosh);/i],[d,[m,k]],[/\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,$e],[h,w]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[m,$e],[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,Ee],[h,w]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[m,Ee],[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,E],[h,_]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[m,E],[h,w]],[/(playbook);[-\w\),; ]+(rim)/i],[d,m,[h,_]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[m,P],[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,k+" TV"],[h,C]],[/crkey/i],[[d,R+"cast"],[m,D],[h,C]],[/droid.+aft(\w+)( bui|\))/i],[d,[m,E],[h,C]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[m,fe],[h,C]],[/(bravia[\w ]+)( bui|\))/i],[d,[m,Ee],[h,C]],[/(mitv-\w{5}) bui/i],[d,[m,$e],[h,C]],[/Hbbtv.*(technisat) (.*);/i],[m,d,[h,C]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[m,j],[d,j],[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,Ee],[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,k],[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,E],[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,P]],[/(?: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),Oe=oe&&oe.userAgentData?oe.userAgentData:r,We=le?Se(W,le):W,Te=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]),Te&&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),Te&&!ye[h]&&Oe&&Oe.mobile&&(ye[h]=w),Te&&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),Te&&!ye[p]&&Oe&&Oe.platform!="Unknown"&&(ye[p]=Oe.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>x?j(ye,x):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:rx)})(kl,kl.exports);var ox=kl.exports;const wt=J(localStorage.getItem("__nuxt_dev_token__")),Tt=J(!1),km=new BroadcastChannel("__nuxt_dev_token__");km.addEventListener("message",e=>{if(e.data.event==="new-token"){if(e.data.data===wt.value)return;const t=e.data.data;Ae.verifyAuthToken(t).then(n=>{wt.value=n?t:null,Tt.value=n})}});function ix(e){wt.value=e,Tt.value=!0,localStorage.setItem("__nuxt_dev_token__",e),km.postMessage({event:"new-token",data:e})}async function ax(){if(Tt.value)return wt.value;if(wt.value||await jf(),Tt.value=await Ae.verifyAuthToken(wt.value),!Tt.value)throw wt.value=null,Dc({message:"Invalid auth token, action canceled",icon:"i-carbon-warning-alt",classes:"text-red"}),await jf(),new Error("Invalid auth token");return wt.value}const Yt=new ox.UAParser(navigator.userAgent).getResult();async function Pm(){const e=[Yt.browser.name,Yt.browser.version,"|",Yt.os.name,Yt.os.version,Yt.device.type].filter(t=>t).join(" ");return await Ae.requestForAuth(e,window.location.origin)}async function jf(){if(wt.value||Pm(),await Promise.race([Tm.start(),eE(wt.value).toBeTruthy()])===!1)throw Dc({message:"Action canceled",icon:"carbon-close",classes:"text-orange"}),new Error("User canceled auth")}var Pl={exports:{}};const lx="2.0.0",Am=256,cx=Number.MAX_SAFE_INTEGER||9007199254740991,ux=16,fx=Am-6,dx=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var ea={MAX_LENGTH:Am,MAX_SAFE_COMPONENT_LENGTH:ux,MAX_SAFE_BUILD_LENGTH:fx,MAX_SAFE_INTEGER:cx,RELEASE_TYPES:dx,SEMVER_SPEC_VERSION:lx,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};const hx=typeof process=="object"&&process.env&&{}.NODE_DEBUG&&/\bsemver\b/i.test({}.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var ta=hx;(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:s}=ea,o=ta;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*$")})(Pl,Pl.exports);var ko=Pl.exports;const px=Object.freeze({loose:!0}),mx=Object.freeze({}),gx=e=>e?typeof e!="object"?px:e:mx;var Fc=gx;const zf=/^[0-9]+$/,Rm=(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},vx=(e,t)=>Rm(t,e);var $m={compareIdentifiers:Rm,rcompareIdentifiers:vx};const Wo=ta,{MAX_LENGTH:Hf,MAX_SAFE_INTEGER:Go}=ea,{safeRe:Uf,t:Vf}=ko,yx=Fc,{compareIdentifiers:Sr}=$m;let _x=class Wt{constructor(t,n){if(n=yx(n),t instanceof Wt){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 Wt)){if(typeof t=="string"&&t===this.version)return 0;t=new Wt(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof Wt||(t=new Wt(t,this.options)),Sr(this.major,t.major)||Sr(this.minor,t.minor)||Sr(this.patch,t.patch)}comparePre(t){if(t instanceof Wt||(t=new Wt(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 Wt||(t=new Wt(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=_x;const Wf=mt,bx=(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 ls=bx;const wx=ls,Ex=(e,t)=>{const n=wx(e,t);return n?n.version:null};var xx=Ex;const Sx=ls,Cx=(e,t)=>{const n=Sx(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null};var Tx=Cx;const Gf=mt,kx=(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 Px=kx;const qf=ls,Ax=(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 Rx=Ax;const $x=mt,Nx=(e,t)=>new $x(e,t).major;var Ox=Nx;const Ix=mt,Lx=(e,t)=>new Ix(e,t).minor;var Mx=Lx;const Dx=mt,Fx=(e,t)=>new Dx(e,t).patch;var Bx=Fx;const jx=ls,zx=(e,t)=>{const n=jx(e,t);return n&&n.prerelease.length?n.prerelease:null};var Hx=zx;const Kf=mt,Ux=(e,t,n)=>new Kf(e,n).compare(new Kf(t,n));var Ht=Ux;const Vx=Ht,Wx=(e,t,n)=>Vx(t,e,n);var Gx=Wx;const qx=Ht,Kx=(e,t)=>qx(e,t,!0);var Xx=Kx;const Xf=mt,Yx=(e,t,n)=>{const r=new Xf(e,n),s=new Xf(t,n);return r.compare(s)||r.compareBuild(s)};var Bc=Yx;const Jx=Bc,Zx=(e,t)=>e.sort((n,r)=>Jx(n,r,t));var Qx=Zx;const eS=Bc,tS=(e,t)=>e.sort((n,r)=>eS(r,n,t));var nS=tS;const rS=Ht,sS=(e,t,n)=>rS(e,t,n)>0;var na=sS;const oS=Ht,iS=(e,t,n)=>oS(e,t,n)<0;var jc=iS;const aS=Ht,lS=(e,t,n)=>aS(e,t,n)===0;var Nm=lS;const cS=Ht,uS=(e,t,n)=>cS(e,t,n)!==0;var Om=uS;const fS=Ht,dS=(e,t,n)=>fS(e,t,n)>=0;var zc=dS;const hS=Ht,pS=(e,t,n)=>hS(e,t,n)<=0;var Hc=pS;const mS=Nm,gS=Om,vS=na,yS=zc,_S=jc,bS=Hc,wS=(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 mS(e,n,r);case"!=":return gS(e,n,r);case">":return vS(e,n,r);case">=":return yS(e,n,r);case"<":return _S(e,n,r);case"<=":return bS(e,n,r);default:throw new TypeError(`Invalid operator: ${t}`)}};var Im=wS;const ES=mt,xS=ls,{safeRe:qo,t:Ko}=ko,SS=(e,t)=>{if(e instanceof ES)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:xS(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)};var CS=SS,Aa,Yf;function TS(){return Yf||(Yf=1,Aa=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}),Aa}var kS=De;De.Node=pr;De.create=De;function De(e){var t=this;if(t instanceof De||(t=new De),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}De.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};De.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++}};De.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++}};De.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)AS(this,arguments[e]);return this.length};De.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)RS(this,arguments[e]);return this.length};De.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}};De.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}};De.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};De.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};De.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};De.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};De.prototype.map=function(e,t){t=t||this;for(var n=new De,r=this.head;r!==null;)n.push(e.call(t,r.value,this)),r=r.next;return n};De.prototype.mapReverse=function(e,t){t=t||this;for(var n=new De,r=this.tail;r!==null;)n.push(e.call(t,r.value,this)),r=r.prev;return n};De.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};De.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};De.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};De.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};De.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 De;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};De.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 De;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};De.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=PS(this,s,n[r]);return o};De.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 PS(e,t,n){var r=t===e.head?new pr(n,null,t,e):new pr(n,t,t.next,e);return r.next===null&&(e.tail=r),r.prev===null&&(e.head=r),e.length++,r}function AS(e,t){e.tail=new pr(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function RS(e,t){e.head=new pr(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function pr(e,t,n,r){if(!(this instanceof pr))return new pr(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{TS()(De)}catch{}const $S=kS,tr=Symbol("max"),fn=Symbol("length"),Cr=Symbol("lengthCalculator"),Js=Symbol("allowStale"),or=Symbol("maxAge"),un=Symbol("dispose"),Jf=Symbol("noDisposeOnSet"),Qe=Symbol("lruList"),Nt=Symbol("cache"),Lm=Symbol("updateAgeOnGet"),Ra=()=>1;class NS{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||Ra;if(this[Cr]=typeof n!="function"?Ra: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[un]=t.dispose,this[Jf]=t.noDisposeOnSet||!1,this[Lm]=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,vs(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,vs(this)}get maxAge(){return this[or]}set lengthCalculator(t){typeof t!="function"&&(t=Ra),t!==this[Cr]&&(this[Cr]=t,this[fn]=0,this[Qe].forEach(n=>{n.length=this[Cr](n.value,n.key),this[fn]+=n.length})),vs(this)}get lengthCalculator(){return this[Cr]}get length(){return this[fn]}get itemCount(){return this[Qe].length}rforEach(t,n){n=n||this;for(let r=this[Qe].tail;r!==null;){const s=r.prev;Zf(this,t,r,n),r=s}}forEach(t,n){n=n||this;for(let r=this[Qe].head;r!==null;){const s=r.next;Zf(this,t,r,n),r=s}}keys(){return this[Qe].toArray().map(t=>t.key)}values(){return this[Qe].toArray().map(t=>t.value)}reset(){this[un]&&this[Qe]&&this[Qe].length&&this[Qe].forEach(t=>this[un](t.key,t.value)),this[Nt]=new Map,this[Qe]=new $S,this[fn]=0}dump(){return this[Qe].map(t=>ki(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[Qe]}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[Nt].has(t)){if(o>this[tr])return Lr(this,this[Nt].get(t)),!1;const l=this[Nt].get(t).value;return this[un]&&(this[Jf]||this[un](t,l.value)),l.now=s,l.maxAge=r,l.value=n,this[fn]+=o-l.length,l.length=o,this.get(t),vs(this),!0}const i=new OS(t,n,o,s,r);return i.length>this[tr]?(this[un]&&this[un](t,n),!1):(this[fn]+=i.length,this[Qe].unshift(i),this[Nt].set(t,this[Qe].head),vs(this),!0)}has(t){if(!this[Nt].has(t))return!1;const n=this[Nt].get(t).value;return!ki(this,n)}get(t){return $a(this,t,!0)}peek(t){return $a(this,t,!1)}pop(){const t=this[Qe].tail;return t?(Lr(this,t),t.value):null}del(t){Lr(this,this[Nt].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[Nt].forEach((t,n)=>$a(this,n,!1))}}const $a=(e,t,n)=>{const r=e[Nt].get(t);if(r){const s=r.value;if(ki(e,s)){if(Lr(e,r),!e[Js])return}else n&&(e[Lm]&&(r.value.now=Date.now()),e[Qe].unshiftNode(r));return s.value}},ki=(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]},vs=e=>{if(e[fn]>e[tr])for(let t=e[Qe].tail;e[fn]>e[tr]&&t!==null;){const n=t.prev;Lr(e,t),t=n}},Lr=(e,t)=>{if(t){const n=t.value;e[un]&&e[un](n.key,n.value),e[fn]-=n.length,e[Nt].delete(n.key),e[Qe].removeNode(t)}};class OS{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;ki(e,s)&&(Lr(e,n),e[Js]||(s=void 0)),s&&t.call(r,s.value,s.key,e)};var IS=NS,Na,Qf;function Ut(){if(Qf)return Na;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=>k(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(P(this.set[M],R,this.options))return!0;return!1}}Na=e;const t=IS,n=new t({max:1e3}),r=Fc,s=ra(),o=ta,i=mt,{safeRe:a,t:l,comparatorTrimReplace:c,tildeTrimReplace:u,caretTrimReplace:f}=ko,{FLAG_INCLUDE_PRERELEASE:d,FLAG_LOOSE:p}=ea,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=E(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=>x(M,R)).join(" ")),x=(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),Ee=fe;return D==="="&&Ee&&(D=""),se=R.includePrerelease?"-0":"",ne?D===">"||D==="<"?L="<0.0.0-0":L="*":D&&Ee?(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})},E=(A,R)=>(o("replaceStars",A,R),A.trim().replace(a[l.STAR],"")),k=(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,Ee,$e)=>(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`:Ee?se=`<=${ne}.${me}.${fe}-${Ee}`:A?se=`<${ne}.${me}.${+fe+1}-0`:se=`<=${se}`,`${M} ${se}`.trim()),P=(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 Na}var Oa,ed;function ra(){if(ed)return Oa;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(">")))}}Oa=t;const n=Fc,{safeRe:r,t:s}=ko,o=Im,i=ta,a=mt,l=Ut();return Oa}const LS=Ut(),MS=(e,t,n)=>{try{t=new LS(t,n)}catch{return!1}return t.test(e)};var sa=MS;const DS=Ut(),FS=(e,t)=>new DS(e,t).set.map(n=>n.map(r=>r.value).join(" ").trim().split(" "));var BS=FS;const jS=mt,zS=Ut(),HS=(e,t,n)=>{let r=null,s=null,o=null;try{o=new zS(t,n)}catch{return null}return e.forEach(i=>{o.test(i)&&(!r||s.compare(i)===-1)&&(r=i,s=new jS(r,n))}),r};var US=HS;const VS=mt,WS=Ut(),GS=(e,t,n)=>{let r=null,s=null,o=null;try{o=new WS(t,n)}catch{return null}return e.forEach(i=>{o.test(i)&&(!r||s.compare(i)===1)&&(r=i,s=new VS(r,n))}),r};var qS=GS;const Ia=mt,KS=Ut(),td=na,XS=(e,t)=>{e=new KS(e,t);let n=new Ia("0.0.0");if(e.test(n)||(n=new Ia("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 Ia(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 YS=XS;const JS=Ut(),ZS=(e,t)=>{try{return new JS(e,t).range||"*"}catch{return null}};var QS=ZS;const eC=mt,Mm=ra(),{ANY:tC}=Mm,nC=Ut(),rC=sa,nd=na,rd=jc,sC=Hc,oC=zc,iC=(e,t,n,r)=>{e=new eC(e,r),t=new nC(t,r);let s,o,i,a,l;switch(n){case">":s=nd,o=sC,i=rd,a=">",l=">=";break;case"<":s=rd,o=oC,i=nd,a="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(rC(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===tC&&(p=new Mm(">=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 Uc=iC;const aC=Uc,lC=(e,t,n)=>aC(e,t,">",n);var cC=lC;const uC=Uc,fC=(e,t,n)=>uC(e,t,"<",n);var dC=fC;const sd=Ut(),hC=(e,t,n)=>(e=new sd(e,n),t=new sd(t,n),e.intersects(t,n));var pC=hC;const mC=sa,gC=Ht;var vC=(e,t,n)=>{const r=[];let s=null,o=null;const i=e.sort((u,f)=>gC(u,f,n));for(const u of i)mC(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=Ut(),Vc=ra(),{ANY:La}=Vc,ys=sa,Wc=Ht,yC=(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=bC(s,o,n);if(r=r||i!==null,i)continue e}if(r)return!1}return!0},_C=[new Vc(">=0.0.0-0")],id=[new Vc(">=0.0.0")],bC=(e,t,n)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===La){if(t.length===1&&t[0].semver===La)return!0;n.includePrerelease?e=_C:e=id}if(t.length===1&&t[0].semver===La){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=Wc(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&&!ys(p,String(s),n)||o&&!ys(p,String(o),n))return null;for(const h of t)if(!ys(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===">="&&!ys(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==="<="&&!ys(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=Wc(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=Wc(e.semver,t.semver,n);return r<0?e:r>0||t.operator==="<"&&e.operator==="<="?t:e};var wC=yC;const Ma=ko,cd=ea,EC=mt,ud=$m,xC=ls,SC=xx,CC=Tx,TC=Px,kC=Rx,PC=Ox,AC=Mx,RC=Bx,$C=Hx,NC=Ht,OC=Gx,IC=Xx,LC=Bc,MC=Qx,DC=nS,FC=na,BC=jc,jC=Nm,zC=Om,HC=zc,UC=Hc,VC=Im,WC=CS,GC=ra(),qC=Ut(),KC=sa,XC=BS,YC=US,JC=qS,ZC=YS,QC=QS,eT=Uc,tT=cC,nT=dC,rT=pC,sT=vC,oT=wC;var iT={parse:xC,valid:SC,clean:CC,inc:TC,diff:kC,major:PC,minor:AC,patch:RC,prerelease:$C,compare:NC,rcompare:OC,compareLoose:IC,compareBuild:LC,sort:MC,rsort:DC,gt:FC,lt:BC,eq:jC,neq:zC,gte:HC,lte:UC,cmp:VC,coerce:WC,Comparator:GC,Range:qC,satisfies:KC,toComparators:XC,maxSatisfying:YC,minSatisfying:JC,minVersion:ZC,validRange:QC,outside:eT,gtr:tT,ltr:nT,intersects:rT,simplifyRange:sT,subset:oT,SemVer:EC,re:Ma.re,src:Ma.src,tokens:Ma.t,SEMVER_SPEC_VERSION:cd.SEMVER_SPEC_VERSION,RELEASE_TYPES:cd.RELEASE_TYPES,compareIdentifiers:ud.compareIdentifiers,rcompareIdentifiers:ud.rcompareIdentifiers};const aT=sx(iT),Da=new Map;function JO(e,t){const n=e;return Da.has(n)||Da.set(n,uT(e,t)),Da.get(n)}function lT(){return pt("npm:check:nuxt",()=>Ae.checkForUpdateFor("nuxt"))}function cT(e){const t=lT();return ge(()=>t?.value?.current?aT.satisfies(t.value.current,e):!1)}function uT(e,t){const n=Me(),r=pt(`npm:check:${e}`,()=>Ae.checkForUpdateFor(e)),s=J("idle"),o=J();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 Ae.getNpmCommand("update",e,t);if(c&&await l(c.join(" ")))return s.value="running",o.value=(await Ae.runNpmCommand(await ax(),"update",e,t))?.processId,o.value}async function a(){s.value==="updated"&&await Ae.restartNuxt()}return{info:r,state:s,update:i,restart:a,processId:o}}const _s={icon:"carbon-edge-node",title:"Build Analyze",layout:"full",category:"analyze",show(){return cT("^3.5.0")}},bs={icon:"carbon-image-copy",title:"Assets",layout:"full"},ws={icon:"i-carbon-assembly-cluster",title:"Components",order:2},Es={layout:"full"},xs={icon:"carbon-ibm-cloud-direct-link-2-connect",title:"Hooks",category:"advanced"},Ss={icon:"carbon-function",title:"Imports",order:3},Cs={icon:"carbon-layers",title:"Middleware",wip:!0},Ts={icon:"carbon-3d-mpr-toggle",title:"Modules",order:4},Gc=()=>is("color-mode").value,Al=J();let fd;function fT(){fd||(fd=(async()=>{const{default:e}=await be(()=>import("./index.8013a14e.js").then(t=>t.i),[],import.meta.url);Al.value=new e({html:!0,linkify:!0,breaks:!0})})())}function dT(e){return fT(),Al.value?Al.value.render(e):e}async function hT(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}let et=null,pT=!1;function mT(e){throw new Error(e.UTF8ToString(e._getLastOnigError()))}class oa{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}constructor(t){const n=t.length,r=oa._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}createString(t){const n=t._omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}const ia=class Gt{constructor(t){if(this.id=++Gt.LAST_ID,!et)throw new Error("Must invoke loadWasm first.");this._onigBinding=et,this.content=t;const n=new oa(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!Gt._sharedPtrInUse?(Gt._sharedPtr||(Gt._sharedPtr=et._omalloc(1e4)),Gt._sharedPtrInUse=!0,et.HEAPU8.set(n.utf8Value,Gt._sharedPtr),this.ptr=Gt._sharedPtr):this.ptr=n.createString(et)}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===Gt._sharedPtr?Gt._sharedPtrInUse=!1:this._onigBinding._ofree(this.ptr)}};ia.LAST_ID=0;ia._sharedPtr=0;ia._sharedPtrInUse=!1;let Dm=ia;class gT{constructor(t){if(!et)throw new Error("Must invoke loadWasm first.");const n=[],r=[];for(let a=0,l=t.length;a<l;a++){const c=new oa(t[a]);n[a]=c.createString(et),r[a]=c.utf8Length}const s=et._omalloc(4*t.length);et.HEAPU32.set(n,s/4);const o=et._omalloc(4*t.length);et.HEAPU32.set(r,o/4);const i=et._createOnigScanner(s,o,t.length);for(let a=0,l=t.length;a<l;a++)et._ofree(n[a]);et._ofree(o),et._ofree(s),i===0&&mT(et),this._onigBinding=et,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 Dm(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){et=await hT({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,Fa=null;function hd(e){if(dd)return Fa;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=ET(r):t=xT(r):t=wT(r)}return Fa=vT(t,n),Fa}function wT(e){return t=>WebAssembly.instantiate(e,t)}function ET(e){return t=>WebAssembly.instantiateStreaming(e,t)}function xT(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}function ST(e){return new Dm(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:{},Fm={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(x,E,k,S,P){const A=c.createMatchers(E,y),R=f.RuleFactory.getCompiledRuleId(k,S,P.repository);for(const M of A)x.push({debugSelector:E,matcher:M.matcher,ruleId:R,grammar:P,priority:M.priority})}function y(x,E){if(E.length<x.length)return!1;let k=0;return x.every(S=>{for(let P=k;P<E.length;P++)if(v(E[P],S))return k=P+1,!0;return!1})}function v(x,E){if(!x)return!1;if(x===E)return!0;const k=E.length;return x.length>k&&x.substr(0,k)===E&&x[k]==="."}o.createGrammar=function(x,E,k,S,P,A,R,M){return new w(x,E,k,S,P,A,R,M)};class w{constructor(E,k,S,P,A,R,M,L){if(this._rootScopeName=E,this.balancedBracketSelectors=R,this._onigLib=L,this._basicScopeAttributesProvider=new h.BasicScopeAttributesProvider(S,P),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=M,this._grammar=_(k,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 E of this._ruleId2desc)E&&E.dispose()}createOnigScanner(E){return this._onigLib.createOnigScanner(E)}createOnigString(E){return this._onigLib.createOnigString(E)}getMetadataForScope(E){return this._basicScopeAttributesProvider.getBasicScopeAttributes(E)}_collectInjections(){const E=[],k=this._rootScopeName,S=(P=>P===this._rootScopeName?this._grammar:this.getExternalGrammar(P))(k);if(S){const P=S.injections;if(P)for(let R in P)b(E,R,P[R],this,S);const A=this._grammarRepository.injections(k);A&&A.forEach(R=>{const M=this.getExternalGrammar(R);if(M){const L=M.injectionSelector;L&&b(E,L,M,this,M)}})}return E.sort((P,A)=>P.priority-A.priority),E}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 E of this._injections)console.log(` - ${E.debugSelector}`)}return this._injections}registerRule(E){const k=++this._lastRuleId,S=E(f.ruleIdFromNumber(k));return this._ruleId2desc[k]=S,S}getRule(E){return this._ruleId2desc[f.ruleIdToNumber(E)]}getExternalGrammar(E,k){if(this._includedGrammars[E])return this._includedGrammars[E];if(this._grammarRepository){const S=this._grammarRepository.lookup(E);if(S)return this._includedGrammars[E]=_(S,k&&k.$base),this._includedGrammars[E]}}tokenizeLine(E,k,S=0){const P=this._tokenize(E,k,!1,S);return{tokens:P.lineTokens.getResult(P.ruleStack,P.lineLength),ruleStack:P.ruleStack,stoppedEarly:P.stoppedEarly}}tokenizeLine2(E,k,S=0){const P=this._tokenize(E,k,!0,S);return{tokens:P.lineTokens.getBinaryResult(P.ruleStack,P.lineLength),ruleStack:P.ruleStack,stoppedEarly:P.stoppedEarly}}_tokenize(E,k,S,P){let A;if(this._rootId===-1&&(this._rootId=f.RuleFactory.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections()),k&&k!==g.NULL)A=!1,k.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),k=new g(null,this._rootId,-1,-1,!1,null,ne,ne)}E+=`
8
- `;const R=this.createOnigString(E),M=R.content.length,L=new T(S,E,this._tokenTypeMatchers,this.balancedBracketSelectors),D=m._tokenizeString(this,R,A,0,k,L,!0,P);return u.disposeOnigString(R),{lineLength:M,lineTokens:L,ruleStack:D.stack,stoppedEarly:D.stoppedEarly}}}function _(x,E){return(x=p.clone(x)).repository=x.repository||{},x.repository.$self={$vscodeTextmateLocation:x.$vscodeTextmateLocation,patterns:x.patterns,name:x.scopeName},x.repository.$base=E||x.repository.$self,x}o.Grammar=w;class C{constructor(E,k,S){this.parent=E,this.scopePath=k,this.tokenAttributes=S}static fromExtension(E,k){let S=E,P=E?.scopePath??null;for(const A of k)P=d.ScopeStack.push(P,A.scopeNames),S=new C(S,P,A.encodedTokenAttributes);return S}static createRoot(E,k){return new C(null,new d.ScopeStack(null,E),k)}static createRootAndLookUpScopeName(E,k,S){const P=S.getMetadataForScope(E),A=new d.ScopeStack(null,E),R=S.themeProvider.themeMatch(A),M=C.mergeAttributes(k,P,R);return new C(null,A,M)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(E){return C.equals(this,E)}static equals(E,k){for(;;){if(E===k||!E&&!k)return!0;if(!E||!k||E.scopeName!==k.scopeName||E.tokenAttributes!==k.tokenAttributes)return!1;E=E.parent,k=k.parent}}static mergeAttributes(E,k,S){let P=-1,A=0,R=0;return S!==null&&(P=S.fontStyle,A=S.foregroundId,R=S.backgroundId),l.EncodedTokenAttributes.set(E,k.languageId,k.tokenType,null,P,A,R)}pushAttributed(E,k){if(E===null)return this;if(E.indexOf(" ")===-1)return C._pushAttributed(this,E,k);const S=E.split(/ /g);let P=this;for(const A of S)P=C._pushAttributed(P,A,k);return P}static _pushAttributed(E,k,S){const P=S.getMetadataForScope(k),A=E.scopePath.push(k),R=S.themeProvider.themeMatch(A),M=C.mergeAttributes(E.tokenAttributes,P,R);return new C(E,A,M)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(E){const k=[];let S=this;for(;S&&S!==E;)k.push({encodedTokenAttributes:S.tokenAttributes,scopeNames:S.scopePath.getExtensionIfDefined(S.parent?.scopePath??null)}),S=S.parent;return S===E?k.reverse():void 0}}o.AttributedScopeStack=C;class g{constructor(E,k,S,P,A,R,M,L){this.parent=E,this.ruleId=k,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=P}equals(E){return E!==null&&g._equals(this,E)}static _equals(E,k){return E===k||!!this._structuralEquals(E,k)&&C.equals(E.contentNameScopesList,k.contentNameScopesList)}static _structuralEquals(E,k){for(;;){if(E===k||!E&&!k)return!0;if(!E||!k||E.depth!==k.depth||E.ruleId!==k.ruleId||E.endRule!==k.endRule)return!1;E=E.parent,k=k.parent}}clone(){return this}static _reset(E){for(;E;)E._enterPos=-1,E._anchorPos=-1,E=E.parent}reset(){g._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(E,k,S,P,A,R,M){return new g(this,E,k,S,P,A,R,M)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(E){return E.getRule(this.ruleId)}toString(){const E=[];return this._writeString(E,0),"["+E.join(",")+"]"}_writeString(E,k){return this.parent&&(k=this.parent._writeString(E,k)),E[k++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,k}withContentNameScopesList(E){return this.contentNameScopesList===E?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,E)}withEndRule(E){return this.endRule===E?this:new g(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,E,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(E){let k=this;for(;k&&k._enterPos===E._enterPos;){if(k.ruleId===E.ruleId)return!0;k=k.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(E,k){const S=C.fromExtension(E?.nameScopesList??null,k.nameScopesList);return new g(E,f.ruleIdFromNumber(k.ruleId),k.enterPos??-1,k.anchorPos??-1,k.beginRuleCapturedEOL,k.endRule,S,C.fromExtension(S,k.contentNameScopesList))}}o.StateStackImpl=g,g.NULL=new g(null,0,0,0,!1,null,null,null),o.BalancedBracketSelectors=class{constructor(x,E){this.allowAny=!1,this.balancedBracketScopes=x.flatMap(k=>k==="*"?(this.allowAny=!0,[]):c.createMatchers(k,y).map(S=>S.matcher)),this.unbalancedBracketScopes=E.flatMap(k=>c.createMatchers(k,y).map(S=>S.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(x){for(const E of this.unbalancedBracketScopes)if(E(x))return!1;for(const E of this.balancedBracketScopes)if(E(x))return!0;return this.allowAny}};class T{constructor(E,k,S,P){this.balancedBracketSelectors=P,this._emitBinaryTokens=E,this._tokenTypeOverrides=S,a.DebugFlags.InDebugMode?this._lineText=k:this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(E,k){this.produceFromScopes(E.contentNameScopesList,k)}produceFromScopes(E,k){if(this._lastTokenEndIndex>=k)return;if(this._emitBinaryTokens){let P=E?.tokenAttributes??0,A=!1;if(this.balancedBracketSelectors?.matchesAlways&&(A=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const R=E?.getScopeNames()??[];for(const M of this._tokenTypeOverrides)M.matcher(R)&&(P=l.EncodedTokenAttributes.set(P,0,l.toOptionalTokenType(M.type),null,-1,0,0));this.balancedBracketSelectors&&(A=this.balancedBracketSelectors.match(R))}if(A&&(P=l.EncodedTokenAttributes.set(P,0,8,A,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===P)return void(this._lastTokenEndIndex=k);if(a.DebugFlags.InDebugMode){const R=E?.getScopeNames()??[];console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,k).replace(/\n$/,"\\n")+"|");for(let M=0;M<R.length;M++)console.log(" * "+R[M])}return this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(P),void(this._lastTokenEndIndex=k)}const S=E?.getScopeNames()??[];if(a.DebugFlags.InDebugMode){console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,k).replace(/\n$/,"\\n")+"|");for(let P=0;P<S.length;P++)console.log(" * "+S[P])}this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:k,scopes:S}),this._lastTokenEndIndex=k}getResult(E,k){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===k-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(E,k),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(E,k){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===k-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(E,k),this._binaryTokens[this._binaryTokens.length-2]=0);const S=new Uint32Array(this._binaryTokens.length);for(let P=0,A=this._binaryTokens.length;P<A;P++)S[P]=this._binaryTokens[P];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,x){const E=T.lookup(C.scopeName);if(!E){if(C.scopeName===g)throw new Error(`No grammar provided for <${g}>`);return}const k=T.lookup(g);C instanceof l?p({baseGrammar:k,selfGrammar:E},x):d(C.ruleName,{baseGrammar:k,selfGrammar:E,repository:E.repository},x);const S=T.injections(C.scopeName);if(S)for(const P of S)x.add(new l(P))}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 x of C){if(T.visitedRule.has(x))continue;T.visitedRule.add(x);const E=x.repository?a.mergeObjects({},g.repository,x.repository):g.repository;Array.isArray(x.patterns)&&h(x.patterns,{...g,repository:E},T);const k=x.include;if(!k)continue;const S=_(k);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:E},T);break;case 3:case 4:const P=S.scopeName===g.selfGrammar.scopeName?g.selfGrammar:S.scopeName===g.baseGrammar.scopeName?g.baseGrammar:void 0;if(P){const A={baseGrammar:g.baseGrammar,selfGrammar:P,repository:E};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),x=C.substring(g+1);return new w(T,x)}}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,x,E){const k=w.content.length;let S=!1,P=-1;if(x){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 Ee=fe.getRule(L);Ee instanceof c.BeginWhileRule&&me.push({rule:Ee,stack:fe})}for(let fe=me.pop();fe;fe=me.pop()){const{ruleScanner:Ee,findOptions:$e}=h(fe.rule,L,fe.stack.endRule,F,U===ne),O=Ee.findNextMatchSync(D,U,$e);if(a.DebugFlags.InDebugMode&&(console.log(" scanning for while rule"),console.log(Ee.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,P=M.anchorPosition}const A=Date.now();for(;!S;){if(E!==0&&Date.now()-A>E)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 Ee=function(ce,Se,$,N,I,B){const j=I.getRule(ce),{ruleScanner:H,findOptions:te}=p(j,ce,I.endRule,$,N===B);let G=0;a.DebugFlags.InDebugMode&&(G=u.performanceNow());const q=H.findNextMatchSync(Se,N,te);if(a.DebugFlags.InDebugMode){const W=u.performanceNow()-G;W>5&&console.warn(`Rule ${j.debugName} (${j.id}) matching took ${W} against '${Se}'`),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),$e=U.getInjections();if($e.length===0)return Ee;const O=function(ce,Se,$,N,I,B,j){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=Se.getRule(ue.ruleId),{ruleScanner:le,findOptions:oe}=p(ee,Se,null,N,I===j),de=le.findNextMatchSync($,I,oe);if(!de)continue;a.DebugFlags.InDebugMode&&(console.log(` matched injection: ${ue.debugSelector}`),console.log(le.toString()));const Oe=de.captureIndices[0].start;if(!(Oe>=te)&&(te=Oe,G=de.captureIndices,H=de.ruleId,q=ue.priority,te===I))break}return G?{priorityMatch:q===-1,captureIndices:G,matchedRuleId:H}:null}($e,U,re,se,ne,me,fe);if(!O)return Ee;if(!Ee)return O;const X=Ee.captureIndices[0].start,V=O.captureIndices[0].start;return V<X||O.priorityMatch&&V===X?O:Ee}(v,w,_,C,g,P);if(!M)return a.DebugFlags.InDebugMode&&console.log(" no more matches."),T.produce(g,k),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,P=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,k),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,P,L[0].end===k,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),P=L[0].end;const fe=me.getContentName(w.content,L),Ee=ne.pushAttributed(fe,v);if(g=g.withContentNameScopesList(Ee),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,k),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),P=L[0].end;const fe=me.getContentName(w.content,L),Ee=ne.pushAttributed(fe,v);if(g=g.withContentNameScopesList(Ee),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,k),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,k),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,x){if(T.length===0)return;const E=w.content,k=Math.min(T.length,x.length),S=[],P=x[0].end;for(let A=0;A<k;A++){const R=T[A];if(R===null)continue;const M=x[A];if(M.length===0)continue;if(M.start>P)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(E,x),F=C.contentNameScopesList.pushAttributed(D,v),U=R.getContentName(E,x),re=F.pushAttributed(U,v),se=C.push(R.retokenizeCapturedWithRuleId,M.start,-1,!1,null,F,re),ne=v.createOnigString(E.substring(0,M.end));d(v,ne,_&&M.start===0,M.start,se,g,!1,0),l.disposeOnigString(ne);continue}const L=R.getName(E,x);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=[],x=null;function E(O,X){g.push(_),T.push(C),_=O,C=X}function k(){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 P=function(){if(x===null)return S("missing <key>");let O={};c!==null&&(O[c]={filename:l,line:d,char:p}),C[x]=O,x=null,E(1,O)},A=function(){if(x===null)return S("missing <key>");let O=[];C[x]=O,x=null,E(2,O)},R=function(){let O={};c!==null&&(O[c]={filename:l,line:d,char:p}),C.push(O),E(1,O)},M=function(){let O=[];C.push(O),E(2,O)};function L(){if(_!==1)return S("unexpected </dict>");k()}function D(){return _===1||_!==2?S("unexpected </array>"):void k()}function F(O){if(_===1){if(x===null)return S("missing <key>");C[x]=O,x=null}else _===2?C.push(O):C=O}function U(O){if(isNaN(O))return S("cannot parse float");if(_===1){if(x===null)return S("missing <key>");C[x]=O,x=null}else _===2?C.push(O):C=O}function re(O){if(isNaN(O))return S("cannot parse integer");if(_===1){if(x===null)return S("missing <key>");C[x]=O,x=null}else _===2?C.push(O):C=O}function se(O){if(_===1){if(x===null)return S("missing <key>");C[x]=O,x=null}else _===2?C.push(O):C=O}function ne(O){if(_===1){if(x===null)return S("missing <key>");C[x]=O,x=null}else _===2?C.push(O):C=O}function me(O){if(_===1){if(x===null)return S("missing <key>");C[x]=O,x=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 Ee(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(/&amp;|&lt;|&gt;|&quot;|&apos;/g,function(V){switch(V){case"&amp;":return"&";case"&lt;":return"<";case"&gt;":return">";case"&quot;":return'"';case"&apos;":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?P():_===2?R():(C={},c!==null&&(C[c]={filename:l,line:d,char:p}),E(1,C)),V.isClosed&&L();continue;case"array":_===1?A():_===2?M():(C=[],E(2,C)),V.isClosed&&D();continue;case"key":$e=Ee(V),_!==1?S("unexpected <key>"):x!==null?S("too many <key>"):x=$e;continue;case"string":F(Ee(V));continue;case"real":U(parseFloat(Ee(V)));continue;case"integer":re(parseInt(Ee(V),10));continue;case"date":se(new Date(Ee(V)));continue;case"data":ne(Ee(V));continue;case"true":Ee(V),me(!0);continue;case"false":Ee(V),me(!1);continue}if(!/^plist/.test(V.name))return S("unexpected opened tag "+V.name)}var $e;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,x,E){this.$location=g,this.id=T,this._name=x||null,this._nameIsCapturing=a.RegexSource.hasCaptures(this._name),this._contentName=E||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,x,E,k){super(g,T,x,E),this.retokenizeCapturedWithRuleId=k}dispose(){}collectPatterns(g,T){throw new Error("Not supported!")}compile(g,T){throw new Error("Not supported!")}compileAG(g,T,x,E){throw new Error("Not supported!")}}o.CaptureRule=d;class p extends f{constructor(g,T,x,E,k){super(g,T,x,null),this._match=new v(E,this.id),this.captures=k,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,x,E){return this._getCachedCompiledPatterns(g).compileAG(g,x,E)}_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,x,E,k){super(g,T,x,E),this.patterns=k.patterns,this.hasMissingPatterns=k.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(g,T){for(const x of this.patterns)g.getRule(x).collectPatterns(g,T)}compile(g,T){return this._getCachedCompiledPatterns(g).compile(g)}compileAG(g,T,x,E){return this._getCachedCompiledPatterns(g).compileAG(g,x,E)}_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,x,E,k,S,P,A,R,M){super(g,T,x,E),this._begin=new v(k,this.id),this.beginCaptures=S,this._end=new v(P||"￿",-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,x,E){return this._getCachedCompiledPatterns(g,T).compileAG(g,x,E)}_getCachedCompiledPatterns(g,T){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new w;for(const x of this.patterns)g.getRule(x).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,x,E,k,S,P,A,R){super(g,T,x,E),this._begin=new v(k,this.id),this.beginCaptures=S,this.whileCaptures=A,this._while=new v(P,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,x,E){return this._getCachedCompiledPatterns(g).compileAG(g,x,E)}_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,x,E){return this._getCachedCompiledWhilePatterns(g,T).compileAG(g,x,E)}_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,x,E,k){return g.registerRule(S=>new d(T,S,x,E,k))}static getCompiledRuleId(g,T,x){return g.id||T.registerRule(E=>{if(g.id=E,g.match)return new p(g.$vscodeTextmateLocation,g.id,g.name,g.match,y._compileCaptures(g.captures,T,x));if(g.begin===void 0){g.repository&&(x=a.mergeObjects({},x,g.repository));let k=g.patterns;return k===void 0&&g.include&&(k=[{include:g.include}]),new h(g.$vscodeTextmateLocation,g.id,g.name,g.contentName,y._compilePatterns(k,T,x))}return g.while?new b(g.$vscodeTextmateLocation,g.id,g.name,g.contentName,g.begin,y._compileCaptures(g.beginCaptures||g.captures,T,x),g.while,y._compileCaptures(g.whileCaptures||g.captures,T,x),y._compilePatterns(g.patterns,T,x)):new m(g.$vscodeTextmateLocation,g.id,g.name,g.contentName,g.begin,y._compileCaptures(g.beginCaptures||g.captures,T,x),g.end,y._compileCaptures(g.endCaptures||g.captures,T,x),g.applyEndPatternLast,y._compilePatterns(g.patterns,T,x))}),g.id}static _compileCaptures(g,T,x){let E=[];if(g){let k=0;for(const S in g){if(S==="$vscodeTextmateLocation")continue;const P=parseInt(S,10);P>k&&(k=P)}for(let S=0;S<=k;S++)E[S]=null;for(const S in g){if(S==="$vscodeTextmateLocation")continue;const P=parseInt(S,10);let A=0;g[S].patterns&&(A=y.getCompiledRuleId(g[S],T,x)),E[P]=y.createCaptureRule(T,g[S].$vscodeTextmateLocation,g[S].name,g[S].contentName,A)}}return E}static _compilePatterns(g,T,x){let E=[];if(g)for(let k=0,S=g.length;k<S;k++){const P=g[k];let A=-1;if(P.include){const R=l.parseInclude(P.include);switch(R.kind){case 0:case 1:A=y.getCompiledRuleId(x[P.include],T,x);break;case 2:let M=x[R.ruleName];M&&(A=y.getCompiledRuleId(M,T,x));break;case 3:case 4:const L=R.scopeName,D=R.kind===4?R.ruleName:null,F=T.getExternalGrammar(L,x);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(P,T,x);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;E.push(A)}}return{patterns:E,hasMissingPatterns:(g?g.length:0)!==E.length}}}o.RuleFactory=y;class v{constructor(g,T){if(g){const x=g.length;let E=0,k=[],S=!1;for(let P=0;P<x;P++)if(g.charAt(P)==="\\"&&P+1<x){const A=g.charAt(P+1);A==="z"?(k.push(g.substring(E,P)),k.push("$(?!\\n)(?<!\\n)"),E=P+2):A!=="A"&&A!=="G"||(S=!0),P++}this.hasAnchor=S,E===0?this.source=g:(k.push(g.substring(E,x)),this.source=k.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 x=T.map(E=>g.substring(E.start,E.end));return u.lastIndex=0,this.source.replace(u,(E,k)=>a.escapeRegExpCharacters(x[parseInt(k,10)]||""))}_buildAnchorCache(){let g,T,x,E,k=[],S=[],P=[],A=[];for(g=0,T=this.source.length;g<T;g++)x=this.source.charAt(g),k[g]=x,S[g]=x,P[g]=x,A[g]=x,x==="\\"&&g+1<T&&(E=this.source.charAt(g+1),E==="A"?(k[g+1]="￿",S[g+1]="￿",P[g+1]="A",A[g+1]="A"):E==="G"?(k[g+1]="￿",S[g+1]="G",P[g+1]="￿",A[g+1]="G"):(k[g+1]=E,S[g+1]=E,P[g+1]=E,A[g+1]=E),g++);return{A0_G0:k.join(""),A0_G1:S.join(""),A1_G0:P.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(x=>x.source);this._cached=new _(g,T,this._items.map(x=>x.ruleId))}return this._cached}compileAG(g,T,x){return this._hasAnchors?T?x?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(g,T,x)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(g,T,x)),this._anchorCache.A1_G0):x?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(g,T,x)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(g,T,x)),this._anchorCache.A0_G0):this.compile(g)}_resolveAnchors(g,T,x){let E=this._items.map(k=>k.resolveAnchors(T,x));return new _(g,E,this._items.map(k=>k.ruleId))}}o.RegExpSourceList=w;class _{constructor(g,T,x){this.regExps=T,this.rules=x,this.scanner=g.createOnigScanner(T)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const g=[];for(let T=0,x=this.rules.length;T<x;T++)g.push(" - "+this.rules[T]+": "+this.regExps[T]);return g.join(`
10
- `)}findNextMatchSync(g,T,x){const E=this.scanner.findNextMatchSync(g,T,x);return E?{ruleId:this.rules[E.index],captureIndices:E.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((P,A)=>{let R=a.strcmp(P.scope,A.scope);return R!==0?R:(R=a.strArrCmp(P.parentScopes,A.parentScopes),R!==0?R:P.index-A.index)});let g=0,T="#000000",x="#ffffff";for(;_.length>=1&&_[0].scope==="";){let P=_.shift();P.fontStyle!==-1&&(g=P.fontStyle),P.foreground!==null&&(T=P.foreground),P.background!==null&&(x=P.background)}let E=new h(C),k=new f(g,E.getId(T),E.getId(x)),S=new b(new m(0,null,-1,0,0),[]);for(let P=0,A=_.length;P<A;P++){let R=_[P];S.insert(0,R.scope,R.parentScopes,R.fontStyle,E.getId(R.foreground),E.getId(R.background))}return new l(E,k,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 x=0,E=T[x];for(;g;){if(u(g.scopeName,E)){if(x++,x===T.length)return!0;E=T[x]}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,x=v[C];if(!x.settings)continue;if(typeof x.scope=="string"){let P=x.scope;P=P.replace(/^[,]+/,""),P=P.replace(/[,]+$/,""),T=P.split(",")}else T=Array.isArray(x.scope)?x.scope:[""];let E=-1;if(typeof x.settings.fontStyle=="string"){E=0;let P=x.settings.fontStyle.split(" ");for(let A=0,R=P.length;A<R;A++)switch(P[A]){case"italic":E|=1;break;case"bold":E|=2;break;case"underline":E|=4;break;case"strikethrough":E|=8}}let k=null;typeof x.settings.foreground=="string"&&a.isValidHexColor(x.settings.foreground)&&(k=x.settings.foreground);let S=null;typeof x.settings.background=="string"&&a.isValidHexColor(x.settings.background)&&(S=x.settings.background);for(let P=0,A=T.length;P<A;P++){let R=T[P].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,E,k,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 x=0;x<g;x++){const E=_[x].length,k=C[x].length;if(E!==k)return k-E}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 x,E,k,S=w.indexOf(".");S===-1?(x=w,E=""):(x=w.substring(0,S),E=w.substring(S+1)),this._children.hasOwnProperty(x)?k=this._children[x]:(k=new b(this._mainRule.clone(),m.cloneArr(this._rulesWithParentScopes)),this._children[x]=k),k.insert(v+1,E,_,C,g,T)}_doInsertHere(v,w,_,C,g){if(w!==null){for(let T=0,x=this._rulesWithParentScopes.length;T<x;T++){let E=this._rulesWithParentScopes[T];if(a.strArrCmp(E.parentScopes,w)===0)return void E.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)})()})})(Fm);var Bm=Fm.exports;function kT(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),PT(n),n}function PT(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}}class RT extends Bm.Registry{constructor(t,n,r){super(t),this._resolver=t,this._themes=n,this._langs=r,this.themesPath="themes/",this._resolvedThemes={},this._resolvedGrammars={},this._langMap={},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=kT(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])}}class $T{constructor(t,n,r){this.languageMap={},this.scopeToLangMap={},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 NT(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 $T(Promise.resolve({createOnigScanner(h){return CT(h)},createOnigString(h){return ST(h)}}),"vscode-oniguruma",s),i=new RT(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 OT=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class Po{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}Po.prototype.property={};Po.prototype.normal={};Po.prototype.space=null;function jm(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 Po(n,r,t)}function Rl(e){return e.toLowerCase()}class $t{constructor(t,n){this.property=t,this.attribute=n}}$t.prototype.space=null;$t.prototype.boolean=!1;$t.prototype.booleanish=!1;$t.prototype.overloadedBoolean=!1;$t.prototype.number=!1;$t.prototype.commaSeparated=!1;$t.prototype.spaceSeparated=!1;$t.prototype.commaOrSpaceSeparated=!1;$t.prototype.mustUseProperty=!1;$t.prototype.defined=!1;let IT=0;const xe=yr(),Xe=yr(),zm=yr(),K=yr(),He=yr(),Mr=yr(),yt=yr();function yr(){return 2**++IT}var $l=Object.freeze({__proto__:null,boolean:xe,booleanish:Xe,commaOrSpaceSeparated:yt,commaSeparated:Mr,number:K,overloadedBoolean:zm,spaceSeparated:He});const Ba=Object.keys($l);class qc extends $t{constructor(t,n,r,s){let o=-1;if(super(t,n),gd(this,"space",s),typeof r=="number")for(;++o<Ba.length;){const i=Ba[o];gd(this,Ba[o],(r&$l[i])===$l[i])}}}qc.prototype.defined=!0;function gd(e,t,n){n&&(e[t]=n)}const LT={}.hasOwnProperty;function cs(e){const t={},n={};let r;for(r in e.properties)if(LT.call(e.properties,r)){const s=e.properties[r],o=new qc(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 Po(t,n,e.space)}const Hm=cs({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}}),Um=cs({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Vm(e,t){return t in e?e[t]:t}function Wm(e,t){return Vm(e,t.toLowerCase())}const Gm=cs({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Wm,properties:{xmlns:null,xmlnsXLink:null}}),qm=cs({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Xe,ariaAutoComplete:null,ariaBusy:Xe,ariaChecked:Xe,ariaColCount:K,ariaColIndex:K,ariaColSpan:K,ariaControls:He,ariaCurrent:null,ariaDescribedBy:He,ariaDetails:null,ariaDisabled:Xe,ariaDropEffect:He,ariaErrorMessage:null,ariaExpanded:Xe,ariaFlowTo:He,ariaGrabbed:Xe,ariaHasPopup:null,ariaHidden:Xe,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:He,ariaLevel:K,ariaLive:null,ariaModal:Xe,ariaMultiLine:Xe,ariaMultiSelectable:Xe,ariaOrientation:null,ariaOwns:He,ariaPlaceholder:null,ariaPosInSet:K,ariaPressed:Xe,ariaReadOnly:Xe,ariaRelevant:null,ariaRequired:Xe,ariaRoleDescription:He,ariaRowCount:K,ariaRowIndex:K,ariaRowSpan:K,ariaSelected:Xe,ariaSetSize:K,ariaSort:null,ariaValueMax:K,ariaValueMin:K,ariaValueNow:K,ariaValueText:null,role:null}}),MT=cs({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Wm,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Mr,acceptCharset:He,accessKey:He,action:null,allow:null,allowFullScreen:xe,allowPaymentRequest:xe,allowUserMedia:xe,alt:null,as:null,async:xe,autoCapitalize:null,autoComplete:He,autoFocus:xe,autoPlay:xe,capture:xe,charSet:null,checked:xe,cite:null,className:He,cols:K,colSpan:null,content:null,contentEditable:Xe,controls:xe,controlsList:He,coords:K|Mr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:xe,defer:xe,dir:null,dirName:null,disabled:xe,download:zm,draggable:Xe,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:xe,formTarget:null,headers:He,height:K,hidden:xe,high:K,href:null,hrefLang:null,htmlFor:He,httpEquiv:He,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:xe,itemId:null,itemProp:He,itemRef:He,itemScope:xe,itemType:He,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:xe,low:K,manifest:null,max:null,maxLength:K,media:null,method:null,min:null,minLength:K,multiple:xe,muted:xe,name:null,nonce:null,noModule:xe,noValidate:xe,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:xe,optimum:K,pattern:null,ping:He,placeholder:null,playsInline:xe,poster:null,preload:null,readOnly:xe,referrerPolicy:null,rel:He,required:xe,reversed:xe,rows:K,rowSpan:K,sandbox:He,scope:null,scoped:xe,seamless:xe,selected:xe,shape:null,size:K,sizes:null,slot:null,span:K,spellCheck:Xe,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:xe,useMap:null,value:Xe,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:xe,declare:xe,event:null,face:null,frame:null,frameBorder:null,hSpace:K,leftMargin:K,link:null,longDesc:null,lowSrc:null,marginHeight:K,marginWidth:K,noResize:xe,noHref:xe,noShade:xe,noWrap:xe,object:null,profile:null,prompt:null,rev:null,rightMargin:K,rules:null,scheme:null,scrolling:Xe,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:xe,disableRemotePlayback:xe,prefix:null,property:null,results:K,security:null,unselectable:null}}),DT=cs({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:Vm,properties:{about:yt,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:xe,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:yt,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:yt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:yt,rev:yt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:yt,requiredFeatures:yt,requiredFonts:yt,requiredFormats:yt,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:yt,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:yt,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:yt,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}}),FT=/^data[-\w.:]+$/i,vd=/-[a-z]/g,BT=/[A-Z]/g;function jT(e,t){const n=Rl(t);let r=t,s=$t;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&FT.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(vd,HT);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!vd.test(o)){let i=o.replace(BT,zT);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}s=qc}return new s(r,t)}function zT(e){return"-"+e.toLowerCase()}function HT(e){return e.charAt(1).toUpperCase()}const UT=jm([Um,Hm,Gm,qm,MT],"html"),Km=jm([Um,Hm,Gm,qm,DT],"svg"),yd={}.hasOwnProperty;function VT(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 WT(e,t){if(e=e.replace(t.subset?GT(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 GT(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function qT(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}function KT(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}const XT=["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"],ja={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:"€"},YT=["cent","copy","divide","gt","lt","not","para","times"],Xm={}.hasOwnProperty,Nl={};let Xo;for(Xo in ja)Xm.call(ja,Xo)&&(Nl[ja[Xo]]=Xo);function JT(e,t,n,r){const s=String.fromCharCode(e);if(Xm.call(Nl,s)){const o=Nl[s],i="&"+o;return n&&XT.includes(o)&&!YT.includes(o)&&(!r||t&&t!==61&&/[^\da-z]/i.test(String.fromCharCode(t)))?i:i+";"}return""}function ZT(e,t,n){let r=qT(e,t,n.omitOptionalSemicolons),s;if((n.useNamedReferences||n.useShortestReferences)&&(s=JT(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!s)&&n.useShortestReferences){const o=KT(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 WT(e,Object.assign({format:ZT},t))}function QT(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 ek(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 tk(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function nk(e){return e.join(" ").trim()}const rk=/[ \t\n\f\r]/g;function Kc(e){return typeof e=="object"?e.type==="text"?bd(e.value):!1:bd(e)}function bd(e){return e.replace(rk,"")===""}const Ze=Jm(1),Ym=Jm(-1),sk=[];function Jm(e){return t;function t(n,r,s){const o=n?n.children:sk;let i=(r||0)+e,a=o[i];if(!s)for(;a&&Kc(a);)i+=e,a=o[i];return a}}const ok={}.hasOwnProperty;function Zm(e){return t;function t(n,r,s){return ok.call(e,n.tagName)&&e[n.tagName](n,r,s)}}const Xc=Zm({body:ak,caption:za,colgroup:za,dd:fk,dt:uk,head:za,html:ik,li:ck,optgroup:dk,option:hk,p:lk,rp:wd,rt:wd,tbody:mk,td:Ed,tfoot:gk,th:Ed,thead:pk,tr:vk});function za(e,t,n){const r=Ze(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&Kc(r.value.charAt(0)))}function ik(e,t,n){const r=Ze(n,t);return!r||r.type!=="comment"}function ak(e,t,n){const r=Ze(n,t);return!r||r.type!=="comment"}function lk(e,t,n){const r=Ze(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 ck(e,t,n){const r=Ze(n,t);return!r||r.type==="element"&&r.tagName==="li"}function uk(e,t,n){const r=Ze(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function fk(e,t,n){const r=Ze(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function wd(e,t,n){const r=Ze(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function dk(e,t,n){const r=Ze(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function hk(e,t,n){const r=Ze(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function pk(e,t,n){const r=Ze(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function mk(e,t,n){const r=Ze(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function gk(e,t,n){return!Ze(n,t)}function vk(e,t,n){const r=Ze(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function Ed(e,t,n){const r=Ze(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const yk=Zm({body:wk,colgroup:Ek,head:bk,html:_k,tbody:xk});function _k(e){const t=Ze(e,-1);return!t||t.type!=="comment"}function bk(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 wk(e){const t=Ze(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&Kc(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function Ek(e,t,n){const r=Ym(n,t),s=Ze(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Xc(r,n.children.indexOf(r),n)?!1:!!(s&&s.type==="element"&&s.tagName==="col")}function xk(e,t,n){const r=Ym(n,t),s=Ze(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Xc(r,n.children.indexOf(r),n)?!1:!!(s&&s.type==="element"&&s.tagName==="tr")}const Yo={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 Sk(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=Km);const c=Ck(r,e.properties),u=r.all(s.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=s,u&&(i=!1),(c||!o||!yk(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||!Xc(e,t,n))&&a.push("</"+e.tagName+">"),a.join("")}function Ck(e,t){const n=[];let r=-1,s;if(t){for(s in t)if(t[s]!==null&&t[s]!==void 0){const o=Tk(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 Tk(e,t,n){const r=jT(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:Yo.name[s][o]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?tk:nk)(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:Yo.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==="'"?Yo.single:Yo.double)[s][o],attribute:!0}))+i),l+(a&&"="+a))}function Qm(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 kk(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Qm(e,t,n,r)}function Pk(e,t,n,r){return r.all(e)}const Ak=VT("type",{invalid:Rk,unknown:$k,handlers:{comment:QT,doctype:ek,element:Sk,raw:kk,root:Pk,text:Qm}});function Rk(e){throw new Error("Expected node, not `"+e+"`")}function $k(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const Nk={},Ok={},Ik=[];function Lk(e,t){const n=t||Nk,r=n.quote||'"',s=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:Mk,all:Dk,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||OT,characterReferences:n.characterReferences||Ok,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?Km:UT,quote:r,alternative:s}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function Mk(e,t,n){return Ak(e,t,n,this)}function Dk(e){const t=[],n=e&&e.children||Ik;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}var Nn=(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))(Nn||{});class dn{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=dn.getLanguageId(t),l=dn.getTokenType(t),c=dn.getFontStyle(t),u=dn.getForeground(t),f=dn.getBackground(t);const d=dn.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 Fk(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"],Ha={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function Bk(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 xd(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 jk(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)Ha[s]&&t.push({type:"setDecoration",value:Ha[s]});else if(s<=29){const o=Ha[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]=xd(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]=xd(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 zk(){let e=null,t=null,n=new Set;return{parse(r){const s=[];let o=0;do{const i=Bk(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=jk(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 Hk={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 Uk(e=Hk){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 Vk(e,t){const n=t.split(/\r?\n/),r=Uk(Object.fromEntries(ir.map(o=>[o,e.colors?.[`terminal.ansi${o[0].toUpperCase()}${o.substring(1)}`]]))),s=zk();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=Wk(a));let l=Nn.None;return i.decorations.has("bold")&&(l|=Nn.Bold),i.decorations.has("italic")&&(l|=Nn.Italic),i.decorations.has("underline")&&(l|=Nn.Underline),{content:i.value,color:a,fontStyle:l}}))}function Wk(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 Yc(e,t,n={}){const{lang:r="text",theme:s=e.getLoadedThemes()[0],includeExplanation:o=!0}=n;if(Fk(r))return[...t.split(/\r\n|\r|\n/).map(u=>[{content:u}])];const{theme:i,colorMap:a}=e.setTheme(s);if(r==="ansi")return Vk(i,t);const l=e.getLangGrammar(r);return Gk(t,l,i,a,{includeExplanation:o})}function Gk(e,t,n,r,s){const o=e.split(/\r\n|\r|\n/);let i=Bm.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=dn.getForeground(_),g=r[C],T=dn.getFontStyle(_),x={content:f.substring(v,w),color:g,fontStyle:T};if(s.includeExplanation){x.explanation=[];let E=0;for(;v+E<w;){const k=p[h],S=f.substring(k.startIndex,k.endIndex);E+=S.length,x.explanation.push({content:S,scopes:qk(n,k.scopes)}),h+=1}}a.push(x)}l.push(a),a=[],i=m.ruleStack}return l}function qk(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:Xk(e,i,o)}}return n}function Sd(e,t){const n=`${e}.`;return e===t||t.substring(0,n.length)===n}function Kk(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 Xk(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);Kk(p,h,t,n)&&(r[s++]=a,c=u)}}return r}function eg(e,t,n){const r=Object.entries(n.themes).filter(o=>o[1]),s=Yk(...r.map(o=>Yc(e,t,{...n,theme:o[1],includeExplanation:!1})));return r.map(([o,i],a)=>[o,i,s[a]])}function Yk(...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 tg(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=eg(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=>ng(g)),_=new Set(w.flatMap(g=>Object.keys(g))),C=w.reduce((g,T,x)=>{for(const E of _){const k=T[E]||"inherit";if(x===0&&l)g[E]=k;else{const S=c+f[x][0]+(E==="color"?"":`-${E}`);g[E]?g[E]+=`;${S}:${k}`:g[E]=`${S}:${k}`}}return g},{});b.push({...v[0],color:"",htmlStyle:l?rg(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=Yc(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 Jk(o,{...n,fg:s,bg:r,themeName:i,rootStyle:a})}function Jk(e,t){const{mergeWhitespaces:n=!0}=t;n&&(e=Zk(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 d={type:"element",tagName:"span",properties:{},children:[{type:"text",value:f.content}]};const p=f.htmlStyle||rg(ng(f));p&&(d.properties.style=p),d=t.transforms?.token?.(d,l+1,u,c)||d,c.children.push(d),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 ng(e){const t={};return e.color&&(t.color=e.color),e.fontStyle&&(e.fontStyle&Nn.Italic&&(t["font-style"]="italic"),e.fontStyle&Nn.Bold&&(t["font-weight"]="bold"),e.fontStyle&Nn.Underline&&(t["text-decoration"]="underline")),t}function rg(e){return Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}function Zk(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 Qk(e,t,n){return Lk(tg(e,t,n))}async function eP(e={}){const t=await NT(e);return{codeToThemedTokens:(n,r)=>Yc(t,n,r),codeToTokensWithThemes:(n,r)=>eg(t,n,r),codeToHast:(n,r)=>tg(t,n,r),codeToHtml:(n,r)=>Qk(t,n,r),loadLanguage:t.loadLanguage,loadTheme:t.loadTheme,getTheme:t.getTheme,getLoadedThemes:t.getLoadedThemes,getLoadedLanguages:t.getLoadedLanguages}}let Ua=null;async function tP(){return Ua||(Ua=be(()=>import("./onig.0c57a370.js"),[],import.meta.url).then(e=>({data:e.default}))),Ua}const Jo=nn();let Cd=null;function nP(e,t="text"){!Cd&&!Jo.value&&(Cd=eP({themes:[be(()=>import("./vitesse-dark.ff0e7dcb.js"),[],import.meta.url),be(()=>import("./vitesse-light.c6996724.js"),[],import.meta.url)],langs:[be(()=>import("./json.709f1c4d.js"),[],import.meta.url),be(()=>import("./yaml.b29e536f.js"),[],import.meta.url),be(()=>import("./css.f61fd02b.js"),[],import.meta.url),be(()=>import("./javascript.b7d6d348.js"),[],import.meta.url),be(()=>import("./typescript.24e7badf.js"),[],import.meta.url),be(()=>import("./vue.7ad3b25a.js"),["./vue.7ad3b25a.js","./html.14085b69.js","./javascript.b7d6d348.js","./css.f61fd02b.js","./typescript.24e7badf.js","./json.709f1c4d.js","./yaml.b29e536f.js"],import.meta.url),be(()=>import("./vue-html.88dda4a8.js"),["./vue-html.88dda4a8.js","./vue.7ad3b25a.js","./html.14085b69.js","./javascript.b7d6d348.js","./css.f61fd02b.js","./typescript.24e7badf.js","./json.709f1c4d.js","./yaml.b29e536f.js"],import.meta.url),be(()=>import("./html.14085b69.js"),["./html.14085b69.js","./javascript.b7d6d348.js","./css.f61fd02b.js"],import.meta.url),be(()=>import("./diff.22e0b108.js"),[],import.meta.url),be(()=>import("./shellscript.e25d1410.js"),[],import.meta.url)],loadWasm:tP}).then(r=>{Jo.value=r}));const n=Jo.value?.getLoadedLanguages().includes(t);return n?{code:Jo.value.codeToHtml(e,{lang:t,themes:{dark:"vitesse-dark",light:"vitesse-light"}}),supported:!0}:{code:e,supported:n}}function ct(){return is("devtools-client")}function ZO(){const e=ct();return ge(()=>e.value?.nuxt.vueApp.config.globalProperties?.$route)}function sg(){const e=ct();return ge(()=>e.value?.nuxt.vueApp.config.globalProperties?.$router)}function QO(){const e=ct();return ge(()=>e.value?.nuxt.vueApp.config.globalProperties?.$head)}function rP(){return is("devtools-component-inspector-data")}const og=J(!1);setTimeout(()=>{og.value=!0},2e3);const sP=ge(()=>og.value&&!ct().value);function oP(){const e=ct(),t=Gc();return ge(()=>({host:e.value,devtools:{rpc:Ae,colorMode:t.value,renderCodeHighlight(n,r){return nP(n,r)},renderMarkdown(n){return dT(n)},extendClientRpc(n,r){return Sm.set(n,r),new Proxy({},{get(s,o){if(typeof o=="string")return Ae[`${n}:${o}`]}})}}}))}const ks={icon:"carbon:image-search",title:"Open Graph",layout:"full",category:"analyze",show:()=>{const e=ct();return()=>!!e.value}},Ps={icon:"carbon-information",title:"Overview",order:-100},As={icon:"carbon-tree-view-alt",title:"Pages",show:()=>{const e=ct();return()=>!!e.value},order:1},Rs={icon:"carbon-data-set",title:"Payload",category:"analyze",show:()=>{const e=ct();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=ct();return()=>!!e.value},order:6};function e2(e,t,n){return Math.min(n,Math.max(t,e))}const iP="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function aP(e=16,t=iP){let n="",r=e;const s=t.length;for(;r--;)n+=t[Math.random()*s|0];return n}function ig(e,t,n=!1){return t.reduce((r,s)=>(s in e&&(!n||e[s]!==void 0)&&(r[s]=e[s]),r),{})}function ag(){return pt("getServerPages",()=>Ae.getServerPages())}function lP(){return pt("getServerRoutes",()=>Ae.getServerRoutes())}function t2(){return pt("getServerHooks",()=>Ae.getServerHooks())}function n2(){return pt("getServerLayouts",()=>Ae.getServerLayouts())}function r2(){return pt("getAutoImports",()=>Ae.getAutoImports())}function s2(){return pt("getStaticAssets",()=>Ae.getStaticAssets())}function cP(){return pt("getServerConfig",()=>Ae.getServerConfig())}function o2(){return pt("getServerRuntimeConfig",()=>Ae.getServerRuntimeConfig())}function i2(){return pt("getModuleOptions",()=>Ae.getModuleOptions())}function a2(){return pt("getServerApp",()=>Ae.getServerApp())}function uP(){return pt("getCustomTabs",()=>Ae.getCustomTabs())}function Td(){return pt("getTerminals",()=>Ae.getTerminals())}function l2(){return pt("getAnalyzeBuildInfo",()=>Ae.getAnalyzeBuildInfo())}function fP(){const{data:e}=bw("/_vfs.json",{key:"vfs-list",baseURL:"/",responseType:"json"},"$1Vz4NDBkXu");return e}function c2(){const e=ag(),t=sg();return ge(()=>(t.value?.getRoutes()||[]).map(n=>ig(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=lP();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"},kd=[{name:ms?.name??"__blank",path:ms?.path??"/__blank",meta:ms||{},alias:ms?.alias||[],redirect:ms?.redirect||void 0,component:()=>be(()=>import("./__blank.f49c5a73.js"),[],import.meta.url).then(e=>e.default||e)},{name:gs?.name??"index",path:gs?.path??"/",meta:gs||{},alias:gs?.alias||[],redirect:gs?.redirect||void 0,component:()=>be(()=>import("./index.90ae56cb.js"),["./index.90ae56cb.js","./NLink.vue.a09685db.js","./NCheckbox.vue.cf7e1e9d.js"],import.meta.url).then(e=>e.default||e)},{name:_s?.name??"modules-analyze-build",path:_s?.path??"/modules/analyze-build",meta:_s||{},alias:_s?.alias||[],redirect:_s?.redirect||void 0,component:()=>be(()=>import("./analyze-build.988e7c9e.js"),["./analyze-build.988e7c9e.js","./FilepathItem.vue.6dd69314.js","./NTip.vue.3f5fb5a1.js","./NCodeBlock.vue.882d562f.js","./client.253674ec.js","./NCodeBlock.6994516c.css","./NCheckbox.vue.cf7e1e9d.js","./HelpFab.vue.314bc83b.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:bs?.name??"modules-assets",path:bs?.path??"/modules/assets",meta:bs||{},alias:bs?.alias||[],redirect:bs?.redirect||void 0,component:()=>be(()=>import("./assets.2b649247.js"),["./assets.2b649247.js","./NNavbar.vue.d9a029e0.js","./NSectionBlock.7f41e147.js","./NIconTitle.vue.71113a3f.js","./NSectionBlock.0d0061ef.css","./FilepathItem.vue.6dd69314.js","./storage-options.2224e06b.js","./NCodeBlock.vue.882d562f.js","./client.253674ec.js","./NCodeBlock.6994516c.css","./NDrawer.vue.a4010d93.js","./constants.2cc6e981.js","./assets.a19ea08e.css"],import.meta.url).then(e=>e.default||e)},{name:ws?.name??"modules-components",path:ws?.path??"/modules/components",meta:ws||{},alias:ws?.alias||[],redirect:ws?.redirect||void 0,component:()=>be(()=>import("./components.7583b49c.js"),["./components.7583b49c.js","./HelpFab.vue.314bc83b.js","./HelpFab.f179afc3.css","./state-components.c2be3414.js","./NCheckbox.vue.cf7e1e9d.js","./NNavbar.vue.d9a029e0.js","./NBadge.e849763e.js","./FilepathItem.vue.6dd69314.js","./NDrawer.vue.a4010d93.js","./NSelectTabs.vue.ddc009ff.js","./NSectionBlock.7f41e147.js","./NIconTitle.vue.71113a3f.js","./NSectionBlock.0d0061ef.css","./constants.2cc6e981.js"],import.meta.url).then(e=>e.default||e)},{name:Es?.name??"modules-custom-name",path:Es?.path??"/modules/custom-:name()",meta:Es||{},alias:Es?.alias||[],redirect:Es?.redirect||void 0,component:()=>be(()=>import("./custom-_name_.0e141ac3.js"),["./custom-_name_.0e141ac3.js","./LaunchPage.vue.017c62ce.js","./NMarkdown.vue.13c5f0c3.js","./client.253674ec.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.40588927.js"),["./hooks.40588927.js","./DurationDisplay.vue.5b7cc04d.js","./NSectionBlock.7f41e147.js","./NIconTitle.vue.71113a3f.js","./NSectionBlock.0d0061ef.css","./HelpFab.vue.314bc83b.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Ss?.name??"modules-imports",path:Ss?.path??"/modules/imports",meta:Ss||{},alias:Ss?.alias||[],redirect:Ss?.redirect||void 0,component:()=>be(()=>import("./imports.7b590e48.js"),["./imports.7b590e48.js","./NSelectTabs.vue.ddc009ff.js","./NNavbar.vue.d9a029e0.js","./FilepathItem.vue.6dd69314.js","./ComposableItem.vue.66a98e20.js","./NMarkdown.vue.13c5f0c3.js","./client.253674ec.js","./constants.2cc6e981.js","./NSectionBlock.7f41e147.js","./NIconTitle.vue.71113a3f.js","./NSectionBlock.0d0061ef.css","./HelpFab.vue.314bc83b.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Cs?.name??"modules-middleware",path:Cs?.path??"/modules/middleware",meta:Cs||{},alias:Cs?.alias||[],redirect:Cs?.redirect||void 0,component:()=>be(()=>import("./middleware.72aa446e.js"),[],import.meta.url).then(e=>e.default||e)},{name:Ts?.name??"modules-modules",path:Ts?.path??"/modules/modules",meta:Ts||{},alias:Ts?.alias||[],redirect:Ts?.redirect||void 0,component:()=>be(()=>import("./modules.d997669f.js"),["./modules.d997669f.js","./FilepathItem.vue.6dd69314.js","./state-modules.5bf4563c.js","./NBadge.e849763e.js","./NCodeBlock.vue.882d562f.js","./client.253674ec.js","./NCodeBlock.6994516c.css","./NCheckbox.vue.cf7e1e9d.js","./NTip.vue.3f5fb5a1.js","./NSectionBlock.7f41e147.js","./NIconTitle.vue.71113a3f.js","./NSectionBlock.0d0061ef.css","./NDropdown.vue.3b1768f5.js","./NLink.vue.a09685db.js","./CodeDiff.vue.b74b0167.js","./HelpFab.vue.314bc83b.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:ks?.name??"modules-open-graph",path:ks?.path??"/modules/open-graph",meta:ks||{},alias:ks?.alias||[],redirect:ks?.redirect||void 0,component:()=>be(()=>import("./open-graph.1cc10683.js"),["./open-graph.1cc10683.js","./NNavbar.vue.d9a029e0.js","./NLink.vue.a09685db.js","./NSectionBlock.7f41e147.js","./NIconTitle.vue.71113a3f.js","./NSectionBlock.0d0061ef.css","./NCodeBlock.vue.882d562f.js","./client.253674ec.js","./NCodeBlock.6994516c.css","./HelpFab.vue.314bc83b.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Ps?.name??"modules-overview",path:Ps?.path??"/modules/overview",meta:Ps||{},alias:Ps?.alias||[],redirect:Ps?.redirect||void 0,component:()=>be(()=>import("./overview.014aea35.js"),["./overview.014aea35.js","./state-modules.5bf4563c.js","./NBadge.e849763e.js","./NCodeBlock.vue.882d562f.js","./client.253674ec.js","./NCodeBlock.6994516c.css","./NCheckbox.vue.cf7e1e9d.js","./NTip.vue.3f5fb5a1.js","./state-components.c2be3414.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.7f7e1a57.js"),["./pages.7f7e1a57.js","./NBadge.e849763e.js","./FilepathItem.vue.6dd69314.js","./NSectionBlock.7f41e147.js","./NIconTitle.vue.71113a3f.js","./NSectionBlock.0d0061ef.css","./LaunchPage.vue.017c62ce.js","./NMarkdown.vue.13c5f0c3.js","./client.253674ec.js","./HelpFab.vue.314bc83b.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.58a8bb6b.js"),["./payload.58a8bb6b.js","./StateEditor.vue.162475d5.js","./DataSchemaButton.vue.b30dcd6f.js","./json-editor-vue.465dc720.js","./NSectionBlock.7f41e147.js","./NIconTitle.vue.71113a3f.js","./NSectionBlock.0d0061ef.css","./HelpFab.vue.314bc83b.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.1f073986.js"),["./plugins.1f073986.js","./FilepathItem.vue.6dd69314.js","./NBadge.e849763e.js","./DurationDisplay.vue.5b7cc04d.js","./NSectionBlock.7f41e147.js","./NIconTitle.vue.71113a3f.js","./NSectionBlock.0d0061ef.css","./HelpFab.vue.314bc83b.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.6d4dd513.js"),["./runtime-configs.6d4dd513.js","./StateEditor.vue.162475d5.js","./DataSchemaButton.vue.b30dcd6f.js","./json-editor-vue.465dc720.js","./NSectionBlock.7f41e147.js","./NIconTitle.vue.71113a3f.js","./NSectionBlock.0d0061ef.css","./HelpFab.vue.314bc83b.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.b5fc14db.js"),["./server-routes.b5fc14db.js","./NNavbar.vue.d9a029e0.js","./NBadge.e849763e.js","./NSelect.vue.e7f8c81a.js","./NCheckbox.vue.cf7e1e9d.js","./storage-options.2224e06b.js","./NCodeBlock.vue.882d562f.js","./client.253674ec.js","./NCodeBlock.6994516c.css","./DataSchemaButton.vue.b30dcd6f.js","./constants.2cc6e981.js","./json-editor-vue.465dc720.js","./NSectionBlock.7f41e147.js","./NIconTitle.vue.71113a3f.js","./NSectionBlock.0d0061ef.css","./NDrawer.vue.a4010d93.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.8cd70b69.js"),["./storage.8cd70b69.js","./NSelect.vue.e7f8c81a.js","./NLink.vue.a09685db.js","./FilepathItem.vue.6dd69314.js","./json-editor-vue.465dc720.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.ce3bbf0e.js"),["./terminals.ce3bbf0e.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.23647b38.js"),["./timeline.23647b38.js","./DurationDisplay.vue.5b7cc04d.js","./NBadge.e849763e.js","./ComposableItem.vue.66a98e20.js","./NMarkdown.vue.13c5f0c3.js","./client.253674ec.js","./FilepathItem.vue.6dd69314.js","./constants.2cc6e981.js","./json-editor-vue.465dc720.js","./NDrawer.vue.a4010d93.js","./LaunchPage.vue.017c62ce.js","./NLink.vue.a09685db.js","./CodeDiff.vue.b74b0167.js","./NCodeBlock.vue.882d562f.js","./NCodeBlock.6994516c.css","./HelpFab.vue.314bc83b.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.bc5e9072.js"),["./virtual-files.bc5e9072.js","./NNavbar.vue.d9a029e0.js","./NCodeBlock.vue.882d562f.js","./client.253674ec.js","./NCodeBlock.6994516c.css","./HelpFab.vue.314bc83b.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.04d1166d.js"),["./settings.04d1166d.js","./NIconTitle.vue.71113a3f.js","./NSwitch.vue.8d3010b0.js","./NSelect.vue.e7f8c81a.js","./NCheckbox.vue.cf7e1e9d.js"],import.meta.url).then(e=>e.default||e)}],dP={scrollBehavior(e,t,n){const r=Me(),s=ot().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&&hP(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:Pd(e.hash),behavior:s}}const a=c=>!!(c.meta.pageTransition??El),l=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(c=>{r.hooks.hookOnce(l,async()=>{await xt(),e.hash&&(o={el:e.hash,top:Pd(e.hash),behavior:s}),c(o)})})}};function Pd(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function hP(e,t){return t.path!==e.path||JSON.stringify(e.params)!==JSON.stringify(t.params)}const pP={},Tn={...pP,...dP},mP=async e=>{let t,n;if(!e.meta?.validate)return;const r=Me(),s=ot();if(([t,n]=Ei(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=Ji({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(()=>Pr(i)),window.history.pushState({},"",e.fullPath)});return!1}})},gP=as("nuxt-devtools-first-visit",!0),vP=gm(),Ol=ge(()=>vP.width.value>1080),On=as("nuxt-devtools-split-screen",!1),lg=as("nuxt-devtools-split-screen-view","overview");as("nuxt-devtools-frame-state",{},{listenToStorageChanges:!0});as("nuxt-devtools-panels-state",{},{listenToStorageChanges:!1});const Jc=J(await Ae.getOptions("ui")),yP=Q1(Jc);je(Jc,async e=>{Ae.updateOptions("ui",e)},{deep:!0,flush:"post"});localStorage.getItem("nuxt-devtools-settings")&&(Object.assign(Jc.value,JSON.parse(localStorage.getItem("nuxt-devtools-settings"))),localStorage.removeItem("nuxt-devtools-settings"));function _r(){return yP}const Pi=J(await Ae.getOptions("behavior").then(e=>e.telemetry));je(Pi,async e=>{await Ae.updateOptions("behavior",{telemetry:e})});function Zc(e,t,n=!1){Pi.value!==!1&&Ae.telemetryEvent({event:e,browser:Yt.browser.name,browserVersion:Yt.browser.version,os:Yt.os.name,osVersion:Yt.os.version,deviceType:Yt.device.type,inPopup:!!window.__NUXT_DEVTOOLS_IS_POPUP__,...t},n)}const _P=e=>{if(e.path==="/"&&!(gP.value||Pi.value==null))return bl("/modules/overview");if(e.path!=="/"&&Pi.value==null)return bl("/")},oi=[mP,_P],Il={};function bP(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||wb(a,n,{trailingSlash:!0})?a:n;return l+(l.includes("?")?"":s)+o}const wP=zt({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=Pc().app.baseURL;Tn.hashMode&&!r.includes("#")&&(r+="#");const s=Tn.history?.(r)??(Tn.hashMode?e1(r):Qp(r)),o=Tn.routes?.(kd)??kd;let i;const a=bP(r,window.location,e.payload.path),l=D1({...Tn,scrollBehavior:(m,b,y)=>{if(b===qt){i=y;return}return l.options.scrollBehavior=Tn.scrollBehavior,Tn.scrollBehavior?.(m,qt,i||y)},history:s,routes:o});e.vueApp.use(l);const c=nn(l.currentRoute.value);l.afterEach((m,b)=>{c.value=b}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const u=nn(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=es(d),e._middleware=e._middleware||{global:[],named:{}};const p=Yi();try{[t,n]=Ei(()=>l.isReady()),await t,n()}catch(m){[t,n]=Ei(()=>e.runWithContext(()=>Pr(m))),await t,n()}const h=e.payload.state._layout;return l.beforeEach(async(m,b)=>{m.meta=Bt(m.meta),e.isHydrating&&h&&!dr(m.meta.layout)&&(m.meta.layout=h),e._processingMiddleware=!0;{const y=new Set([...oi,...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=_||yl({statusCode:404,statusMessage:`Page Not Found: ${a}`});return await e.runWithContext(()=>Pr(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(tw),m.matched.length===0&&await e.runWithContext(()=>Pr(yl({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=Tn.scrollBehavior}catch(m){await e.runWithContext(()=>Pr(m))}}),{provide:{router:l}}}}),EP=zt({name:"nuxt:payload",setup(e){ot().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await hf(t.path);r&&Object.assign(e.static.data,r.data)}),Up(()=>{e.hooks.hook("link:prefetch",async t=>{Co(t).protocol||await hf(t)})})}}),xP=zt({name:"nuxt:global-components"}),ar={default:()=>be(()=>import("./default.a50dad07.js"),[],import.meta.url).then(e=>e.default||e),full:()=>be(()=>import("./full.c90b8ab9.js"),[],import.meta.url).then(e=>e.default||e),none:()=>be(()=>import("./none.ab2b300f.js"),[],import.meta.url).then(e=>e.default||e)},SP=zt({name:"nuxt:prefetch",setup(e){const t=ot();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(ss(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]()})}}),CP="__NUXT_COLOR_MODE__",TP="ColorScheme",kP="nuxt-color-mode",an=window[CP],PP=zt(e=>{const t=is("color-mode",()=>Bt({preference:an.preference,value:an.value,unknown:!1,forced:!1})).value;ot().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"?an.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=an.getColorScheme())}))}je(()=>t.preference,s=>{t.forced||(s==="system"?(t.value=an.getColorScheme(),r()):t.value=s,window.localStorage?.setItem(kP,s))},{immediate:!0}),je(()=>t.value,(s,o)=>{an.removeColorScheme(o),an.addColorScheme(s)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=an.preference,t.value=an.value,t.unknown=!1)}),e.provide("colorMode",t)});const AP=zt(()=>{}),RP=zt({name:"nuxt:chunk-reload",setup(e){const t=ot(),n=Pc(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:o})=>{r.add(o)});function s(o){const a="href"in o&&o.href.startsWith("#")?n.app.baseURL+o.href:So(n.app.baseURL,o.fullPath);ww({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}}),$P=["top","right","bottom","left"],Ad=["start","end"],Rd=$P.reduce((e,t)=>e.concat(t,t+"-"+Ad[0],t+"-"+Ad[1]),[]),vo=Math.min,Zn=Math.max,NP={left:"right",right:"left",bottom:"top",top:"bottom"},OP={start:"end",end:"start"};function Ll(e,t,n){return Zn(e,vo(t,n))}function br(e,t){return typeof e=="function"?e(t):e}function rn(e){return e.split("-")[0]}function Ft(e){return e.split("-")[1]}function cg(e){return e==="x"?"y":"x"}function Qc(e){return e==="y"?"height":"width"}function Ao(e){return["top","bottom"].includes(rn(e))?"y":"x"}function eu(e){return cg(Ao(e))}function ug(e,t,n){n===void 0&&(n=!1);const r=Ft(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=Ri(i)),[i,Ri(i)]}function IP(e){const t=Ri(e);return[Ai(e),t,Ai(t)]}function Ai(e){return e.replace(/start|end/g,t=>OP[t])}function LP(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 MP(e,t,n,r){const s=Ft(e);let o=LP(rn(e),n==="start",r);return s&&(o=o.map(i=>i+"-"+s),t&&(o=o.concat(o.map(Ai)))),o}function Ri(e){return e.replace(/left|right|bottom|top/g,t=>NP[t])}function DP(e){return{top:0,right:0,bottom:0,left:0,...e}}function fg(e){return typeof e!="number"?DP(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=Ao(t),i=eu(t),a=Qc(i),l=rn(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(Ft(t)){case"start":p[i]-=d*(n&&c?-1:1);break;case"end":p[i]+=d*(n&&c?-1:1);break}return p}const FP=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 aa(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=fg(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 BP=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=fg(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,x=g/2-h[p]/2-1,E=vo(u[b],x),k=vo(u[y],x),S=E,P=g-h[p]-k,A=g/2-h[p]/2+T,R=Ll(S,A,P),L=Ft(s)!=null&&A!=R&&o.reference[p]/2-(A<S?E:k)-h[p]/2<0?A<S?S-A:P-A:0;return{[d]:f[d]-L,data:{[d]:R,centerOffset:A-R+L}}}});function jP(e,t,n){return(e?[...n.filter(s=>Ft(s)===e),...n.filter(s=>Ft(s)!==e)]:n.filter(s=>rn(s)===s)).filter(s=>e?Ft(s)===e||(t?Ai(s)!==s:!1):!0)}const zP=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?jP(f||null,p,d):d,b=await aa(t,h),y=((n=i.autoPlacement)==null?void 0:n.index)||0,v=m[y];if(v==null)return{};const w=ug(v,o,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==v)return{reset:{placement:m[0]}};const _=[b[rn(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(k=>{const S=Ft(k.placement);return[k.placement,S&&u?k.overflows.slice(0,2).reduce((P,A)=>P+A,0):k.overflows[0],k.overflows]}).sort((k,S)=>k[1]-S[1]),E=((s=T.filter(k=>k[2].slice(0,Ft(k[0])?2:3).every(S=>S<=0))[0])==null?void 0:s[0])||T[0][0];return E!==a?{data:{index:y+1,overflows:C},reset:{placement:E}}:{}}}},HP=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=rn(r),y=rn(i)===i,v=await(a.isRTL==null?void 0:a.isRTL(l.floating)),w=f||(y||!h?[Ri(i)]:IP(i));!f&&p!=="none"&&w.push(...MP(i,h,p,v));const _=[i,...w],C=await aa(t,m),g=[];let T=((n=s.flip)==null?void 0:n.overflows)||[];if(c&&g.push(C[b]),u){const S=ug(r,o,v);g.push(C[S[0]],C[S[1]])}if(T=[...T,{placement:r,overflows:g}],!g.every(S=>S<=0)){var x,E;const S=(((x=s.flip)==null?void 0:x.index)||0)+1,P=_[S];if(P)return{data:{index:S,overflows:T},reset:{placement:P}};let A=(E=T.filter(R=>R.overflows[0]<=0).sort((R,M)=>R.overflows[1]-M.overflows[1])[0])==null?void 0:E.placement;if(!A)switch(d){case"bestFit":{var k;const R=(k=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:k[0];R&&(A=R);break}case"initialPlacement":A=i;break}if(r!==A)return{reset:{placement:A}}}return{}}}};async function UP(e,t){const{placement:n,platform:r,elements:s}=e,o=await(r.isRTL==null?void 0:r.isRTL(s.floating)),i=rn(n),a=Ft(n),l=Ao(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 VP=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,s=await UP(t,e);return{x:n+s.x,y:r+s.y,data:s}}}},WP=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 aa(t,l),f=Ao(rn(s)),d=cg(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}}}}},GP=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 aa(t,a),c=rn(n),u=Ft(n),f=Ao(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?vo(y,g):g}else{const g=p-l.top-l.bottom;w=u||v?vo(b,g):g}if(v&&!u){const g=Zn(l.left,0),T=Zn(l.right,0),x=Zn(l.top,0),E=Zn(l.bottom,0);f?_=d-2*(g!==0||T!==0?g+T:Zn(l.left,l.right)):w=p-2*(x!==0||E!==0?x+E: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 Pt(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Qt(e){return Pt(e).getComputedStyle(e)}const Nd=Math.min,Qs=Math.max,$i=Math.round;function dg(e){const t=Qt(e);let n=parseFloat(t.width),r=parseFloat(t.height);const s=e.offsetWidth,o=e.offsetHeight,i=$i(n)!==s||$i(r)!==o;return i&&(n=s,r=o),{width:n,height:r,fallback:i}}function Vn(e){return pg(e)?(e.nodeName||"").toLowerCase():""}let Zo;function hg(){if(Zo)return Zo;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Zo=e.brands.map(t=>t.brand+"/"+t.version).join(" "),Zo):navigator.userAgent}function en(e){return e instanceof Pt(e).HTMLElement}function Fn(e){return e instanceof Pt(e).Element}function pg(e){return e instanceof Pt(e).Node}function Od(e){return typeof ShadowRoot>"u"?!1:e instanceof Pt(e).ShadowRoot||e instanceof ShadowRoot}function la(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=Qt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(s)}function qP(e){return["table","td","th"].includes(Vn(e))}function Ml(e){const t=/firefox/i.test(hg()),n=Qt(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 mg(){return!/^((?!chrome|android).)*safari/i.test(hg())}function tu(e){return["html","body","#document"].includes(Vn(e))}function gg(e){return Fn(e)?e:e.contextElement}const vg={x:1,y:1};function Fr(e){const t=gg(e);if(!en(t))return vg;const n=t.getBoundingClientRect(),{width:r,height:s,fallback:o}=dg(t);let i=(o?$i(n.width):n.width)/r,a=(o?$i(n.height):n.height)/s;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}function yo(e,t,n,r){var s,o;t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=gg(e);let l=vg;t&&(r?Fn(r)&&(l=Fr(r)):l=Fr(e));const c=a?Pt(a):window,u=!mg()&&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=Pt(a),b=r&&Fn(r)?Pt(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=Pt(y).frameElement}}return{width:p,height:h,top:d,right:f+p,bottom:d+h,left:f,x:f,y:d}}function Bn(e){return((pg(e)?e.ownerDocument:e.document)||window.document).documentElement}function ca(e){return Fn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function yg(e){return yo(Bn(e)).left+ca(e).scrollLeft}function _o(e){if(Vn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Od(e)&&e.host||Bn(e);return Od(t)?t.host:t}function _g(e){const t=_o(e);return tu(t)?t.ownerDocument.body:en(t)&&la(t)?t:_g(t)}function Ni(e,t){var n;t===void 0&&(t=[]);const r=_g(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),o=Pt(r);return s?t.concat(o,o.visualViewport||[],la(r)?r:[]):t.concat(r,Ni(r))}function Id(e,t,n){return t==="viewport"?Zs(function(r,s){const o=Pt(r),i=Bn(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=mg();(d||!d&&s==="fixed")&&(u=a.offsetLeft,f=a.offsetTop)}return{width:l,height:c,x:u,y:f}}(e,n)):Fn(t)?Zs(function(r,s){const o=yo(r,!0,s==="fixed"),i=o.top+r.clientTop,a=o.left+r.clientLeft,l=en(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=Bn(r),o=ca(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+yg(r);const u=-o.scrollTop;return Qt(i).direction==="rtl"&&(c+=Qs(s.clientWidth,i.clientWidth)-a),{width:a,height:l,x:c,y:u}}(Bn(e)))}function Ld(e){return en(e)&&Qt(e).position!=="fixed"?e.offsetParent:null}function Md(e){const t=Pt(e);let n=Ld(e);for(;n&&qP(n)&&Qt(n).position==="static";)n=Ld(n);return n&&(Vn(n)==="html"||Vn(n)==="body"&&Qt(n).position==="static"&&!Ml(n))?t:n||function(r){let s=_o(r);for(;en(s)&&!tu(s);){if(Ml(s))return s;s=_o(s)}return null}(e)||t}function KP(e,t,n){const r=en(t),s=Bn(t),o=yo(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"||la(s))&&(i=ca(t)),en(t)){const l=yo(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else s&&(a.x=yg(s));return{x:o.left+i.scrollLeft-a.x,y:o.top+i.scrollTop-a.y,width:o.width,height:o.height}}const XP={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=Ni(c).filter(b=>Fn(b)&&Vn(b)!=="body"),p=null;const h=Qt(c).position==="fixed";let m=h?_o(c):c;for(;Fn(m)&&!tu(m);){const b=Qt(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=_o(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=en(n),o=Bn(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"||la(o))&&(i=ca(n)),en(n))){const c=yo(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:Fn,getDimensions:function(e){return en(e)?dg(e):e.getBoundingClientRect()},getOffsetParent:Md,getDocumentElement:Bn,getScale:Fr,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const s=this.getOffsetParent||Md,o=this.getDimensions;return{reference:KP(t,await s(n),r),floating:{x:0,y:0,...await o(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Qt(e).direction==="rtl"},YP=(e,t,n)=>{const r=new Map,s={platform:XP,...n},o={...s.platform,_c:r};return FP(e,t,{...s,platform:o})};function bg(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?bg(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 bo(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 JP(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 mr=!1;if(typeof window<"u"){mr=!1;try{const e=Object.defineProperty({},"passive",{get(){mr=!0}});window.addEventListener("test",null,e)}catch{}}let wg=!1;typeof window<"u"&&typeof navigator<"u"&&(wg=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Eg=["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 Va(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const Lt=[];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 Pe(e){return function(t){return bo(t.theme,e)}}const Wa="__floating-vue__popper",xg=()=>ke({name:"VPopper",provide(){return{[Wa]:{parentPopper:this}}},inject:{[Wa]:{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:Pe("disabled")},positioningDisabled:{type:Boolean,default:Pe("positioningDisabled")},placement:{type:String,default:Pe("placement"),validator:e=>Eg.includes(e)},delay:{type:[String,Number,Object],default:Pe("delay")},distance:{type:[Number,String],default:Pe("distance")},skidding:{type:[Number,String],default:Pe("skidding")},triggers:{type:Array,default:Pe("triggers")},showTriggers:{type:[Array,Function],default:Pe("showTriggers")},hideTriggers:{type:[Array,Function],default:Pe("hideTriggers")},popperTriggers:{type:Array,default:Pe("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:Pe("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:Pe("popperHideTriggers")},container:{type:[String,Object,Dl,Boolean],default:Pe("container")},boundary:{type:[String,Dl],default:Pe("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:Pe("strategy")},autoHide:{type:[Boolean,Function],default:Pe("autoHide")},handleResize:{type:Boolean,default:Pe("handleResize")},instantMove:{type:Boolean,default:Pe("instantMove")},eagerMount:{type:Boolean,default:Pe("eagerMount")},popperClass:{type:[String,Array,Object],default:Pe("popperClass")},computeTransformOrigin:{type:Boolean,default:Pe("computeTransformOrigin")},autoMinSize:{type:Boolean,default:Pe("autoMinSize")},autoSize:{type:[Boolean,String],default:Pe("autoSize")},autoMaxSize:{type:Boolean,default:Pe("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:Pe("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:Pe("preventOverflow")},overflowPadding:{type:[Number,String],default:Pe("overflowPadding")},arrowPadding:{type:[Number,String],default:Pe("arrowPadding")},arrowOverflow:{type:Boolean,default:Pe("arrowOverflow")},flip:{type:Boolean,default:Pe("flip")},shift:{type:Boolean,default:Pe("shift")},shiftCrossAxis:{type:Boolean,default:Pe("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:Pe("noAutoFocus")},disposeTimeout:{type:Number,default:Pe("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[Wa])==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(VP({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(zP({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(WP({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(HP({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(BP({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(GP({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 YP(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 Va(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Ni(this.$_referenceNode),...Ni(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<Lt.length;n++)t=Lt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}Lt.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 Va(),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(Lt,this),Lt.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 Va(),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,mr?{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-Pn,r=to-An,s=t.left+t.width/2-Pn+(t.top+t.height/2)-An+t.width+t.height,o=Pn+n*s,i=An+r*s;return Qo(Pn,An,o,i,t.left,t.top,t.left,t.bottom)||Qo(Pn,An,o,i,t.left,t.top,t.right,t.top)||Qo(Pn,An,o,i,t.right,t.top,t.right,t.bottom)||Qo(Pn,An,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"&&(wg?(document.addEventListener("touchstart",Ud,mr?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",QP,mr?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",Ud,!0),window.addEventListener("click",ZP,!0)),window.addEventListener("resize",nA));function Ud(e){for(let t=0;t<Lt.length;t++){const n=Lt[t];try{const r=n.popperNode();n.$_mouseDownContains=r.contains(e.target)}catch{}}}function ZP(e){Sg(e)}function QP(e){Sg(e,!0)}function Sg(e,t=!1){const n={};for(let r=Lt.length-1;r>=0;r--){const s=Lt[r];try{const o=s.$_containsGlobalTarget=eA(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 eA(e,t){const n=e.popperNode();return e.$_mouseDownContains||n.contains(t.target)}function Vd(e,t,n){return n.closeAllPopover||n.closePopover&&t||tA(e,n)&&!t}function tA(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function nA(e){for(let t=0;t<Lt.length;t++)Lt[t].$_computePosition(e)}let Pn=0,An=0,eo=0,to=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{Pn=eo,An=to,eo=e.clientX,to=e.clientY},mr?{passive:!0}:void 0);function Qo(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 rA={extends:xg()},ua=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};function sA(e,t,n,r,s,o){return Q(),ve("div",{ref:"reference",class:qe(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[rt(e.$slots,"default",Ql(qi(e.slotData)))],2)}const oA=ua(rA,[["render",sA]]);function iA(){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 ii;function Fl(){Fl.init||(Fl.init=!0,ii=iA()!==-1)}var fa={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Fl(),xt(()=>{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",ii&&this.$el.appendChild(e),e.data="about:blank",ii||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&&(!ii&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const aA=ly();iy("data-v-b329ee4c");const lA={class:"resize-observer",tabindex:"-1"};ay();const cA=aA((e,t,n,r,s,o)=>(Q(),Ce("div",lA)));fa.render=cA;fa.__scopeId="data-v-b329ee4c";fa.__file="src/components/ResizeObserver.vue";const Cg=(e="theme")=>({computed:{themeClass(){return JP(this[e])}}}),uA=ke({name:"VPopperContent",components:{ResizeObserver:fa},mixins:[Cg()],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}}}),fA=["id","aria-hidden","tabindex","data-popper-placement"],dA={ref:"inner",class:"v-popper__inner"},hA=Y("div",{class:"v-popper__arrow-outer"},null,-1),pA=Y("div",{class:"v-popper__arrow-inner"},null,-1),mA=[hA,pA];function gA(e,t,n,r,s,o){const i=gn("ResizeObserver");return Q(),ve("div",{id:e.popperId,ref:"popover",class:qe(["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:Zt(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]=Ep(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:Zt(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[Y("div",dA,[e.mounted?(Q(),ve(Ie,{key:0},[Y("div",null,[rt(e.$slots,"default")]),e.handleResize?(Q(),Ce(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:Zt(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},mA,4)],4)],46,fA)}const Tg=ua(uA,[["render",gA]]),kg={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)}}},vA=ke({name:"VPopperWrapper",components:{Popper:oA,PopperContent:Tg},mixins:[kg,Cg("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 yA(e,t,n,r,s,o){const i=gn("PopperContent"),a=gn("Popper");return Q(),Ce(a,{ref:"popper",theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:qe([e.themeClass])},{default:pe(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,show:p,hide:h,handleResize:m,onResize:b,classes:y,result:v})=>[rt(e.$slots,"default",{shown:c,show:p,hide:h}),Z(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:pe(()=>[rt(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=ua(vA,[["render",yA]]),_A={...nu,name:"VDropdown",vPopperTheme:"dropdown"},bA={...nu,name:"VMenu",vPopperTheme:"menu"},wA={...nu,name:"VTooltip",vPopperTheme:"tooltip"},EA=ke({name:"VTooltipDirective",components:{Popper:xg(),PopperContent:Tg},mixins:[kg],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>bo(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>bo(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}}}),xA=["innerHTML"],SA=["textContent"];function CA(e,t,n,r,s,o){const i=gn("PopperContent"),a=gn("Popper");return Q(),Ce(a,zn({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:pe(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,hide:p,handleResize:h,onResize:m,classes:b,result:y})=>[Z(i,{ref:"popperContent",class:qe({"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:pe(()=>[e.html?(Q(),ve("div",{key:0,innerHTML:e.finalContent},null,8,xA)):(Q(),ve("div",{key:1,textContent:ft(e.finalContent)},null,8,SA))]),_: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 TA=ua(EA,[["render",CA]]),Pg="v-popper--has-tooltip";function kA(e,t){let n=e.placement;if(!n&&t)for(const r of Eg)t[r]&&(n=r);return n||(n=bo(e.theme||"tooltip","placement")),n}function Ag(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=kA(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let Ga,wo,PA=0;function AA(){if(Ga)return;wo=J([]),Ga=Sp({name:"VTooltipDirectiveApp",setup(){return{directives:wo}},render(){return this.directives.map(t=>Je(TA,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),Ga.mount(e)}function RA(e,t,n){AA();const r=J(Ag(e,t,n)),s=J(!1),o={id:PA++,options:r,shown:s};return wo.value.push(o),e.classList&&e.classList.add(Pg),e.$_popper={options:r,item:o,show(){s.value=!0},hide(){s.value=!1}}}function Rg(e){if(e.$_popper){const t=wo.value.indexOf(e.$_popper.item);t!==-1&&wo.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Pg)}function Wd(e,{value:t,modifiers:n}){const r=Ag(e,t,n);if(!r.content||bo(r.theme||"tooltip","disabled"))Rg(e);else{let s;e.$_popper?(s=e.$_popper,s.options.value=r):s=RA(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?s.show():s.hide())}}const $A={beforeMount:Wd,updated:Wd,beforeUnmount(e){Rg(e)}};function Gd(e){e.addEventListener("click",$g),e.addEventListener("touchstart",Ng,mr?{passive:!0}:!1)}function qd(e){e.removeEventListener("click",$g),e.removeEventListener("touchstart",Ng),e.removeEventListener("touchend",Og),e.removeEventListener("touchcancel",Ig)}function $g(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Ng(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",Og),t.addEventListener("touchcancel",Ig)}}function Og(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 Ig(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const NA={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 OA(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,bg(pn,t),e.directive("tooltip",$A),e.directive("close-popper",NA),e.component("VTooltip",wA),e.component("VDropdown",_A),e.component("VMenu",bA))}const IA={version:"2.0.0-beta.24",install:OA,options:pn},LA=zt(e=>{e.vueApp.use(IA)}),MA=zt(()=>{const e=ct(),t=rP(),n=ot();function r(){Rh(e)}function s(i){t.value=i}function o(i,a,l,c){const u=`./${a}:${l}:${c}`;Ae.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)})}),DA=[Iw,Mw,wP,EP,xP,SP,PP,AP,RP,LA,MA],FA=ke({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=BA({duration:e.duration,throttle:e.throttle}),r=Me(),s=ot();oi.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 rs(()=>{const a=oi.indexOf(n.start);a>=0&&oi.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 BA(e){const t=J(0),n=J(!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 jA=ke({__name:"NNotification",setup(e){const t=J(!1),n=J(),r=J(),s=J(),o=J("top-center");return tx(i=>{r.value=i.message,n.value=i.icon,s.value=i.classes??"text-primary border-primary",n.value=i.icon,t.value=!0,o.value=i.position??"top-center",setTimeout(()=>{t.value=!1},i.duration??1500)}),(i,a)=>(Q(),ve("div",{fixed:"","left-0":"","right-0":"","z-999":"","text-center":"",class:qe([{"pointer-events-none overflow-hidden":!t.value},{"top-0":o.value.startsWith("top")},{"bottom-0":o.value.startsWith("bottom")}])},[Y("div",{flex:"",style:Zt({justifyContent:o.value.includes("right")?"right":o.value.includes("left")?"left":"center"})},[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:Zt(t.value?{}:{transform:`translateY(${o.value.startsWith("top")?"-":""}300%)`}),class:qe([t.value?"shadow":"shadow-none",s.value])},[n.value?(Q(),ve("div",{key:0,class:qe(n.value)},null,2)):Ge("",!0),Y("div",null,ft(r.value),1)],6)],4)],2))}}),us=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},zA={},HA={class:"n-loading n-panel-grids-center"},UA={class:"flex flex-col animate-pulse items-center text-lg"},VA=Y("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function WA(e,t){return Q(),ve("div",HA,[Y("div",UA,[VA,rt(e.$slots,"default",{},()=>[Le(" Loading... ")])])])}const GA=us(zA,[["render",WA]]),Ro=ke({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(Q(),ve("div",{class:qe(["n-icon",t.icon])},null,2))}}),wr=ke({__name:"NButton",props:{to:{},icon:{},border:{type:Boolean,default:!0},disabled:{type:Boolean}},setup(e){return(t,n)=>{const r=Ro;return Q(),Ce(zr(t.to?z(Kp):"button"),zn({to:t.to},t.$attrs,{class:[[{"n-button-base active:n-button-active focus-visible:n-focus-base hover:n-button-hover":t.border},{"n-icon-button":!t.$slots.default}],"n-button n-transition n-disabled:n-disabled"]}),{default:pe(()=>[rt(t.$slots,"icon",{},()=>[t.icon?(Q(),Ce(r,{key:0,icon:t.icon,class:qe({"n-button-icon":t.$slots.default})},null,8,["icon","class"])):Ge("",!0)]),rt(t.$slots,"default")]),_:3},16,["to","class"])}}}),qA=ke({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=J(!1);return wn(()=>{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)}}}),KA={name:TP,props:{placeholder:String,tag:{type:String,default:"span"}}};function XA(e,t,n,r,s,o){const i=qA;return Q(),Ce(i,{placeholder:n.placeholder,"placeholder-tag":n.tag},{default:pe(()=>[rt(e.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const YA=us(KA,[["render",XA]]),JA=ke({__name:"NDarkToggle",setup(e){const t=Gc(),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 xt()}).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=YA;return Q(),Ce(l,{tag:"span"},{default:pe(()=>[rt(i.$slots,"default",Ql(qi(o)))]),_:3})}}}),ZA={},QA={class:"n-card n-card-base"};function eR(e,t){return Q(),ve("div",QA,[rt(e.$slots,"default")])}const ru=us(ZA,[["render",eR]]);/*!
20
- * tabbable 6.2.0
21
- * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
22
- */var Lg=["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])"],Oi=Lg.join(","),Mg=typeof Element>"u",gr=Mg?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ii=!Mg&&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},Li=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},tR=function(t){var n,r=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return r===""||r==="true"},Dg=function(t,n,r){if(Li(t))return[];var s=Array.prototype.slice.apply(t.querySelectorAll(Oi));return n&&gr.call(t,Oi)&&s.unshift(t),s=s.filter(r),s},Fg=function e(t,n,r){for(var s=[],o=Array.from(t);o.length;){var i=o.shift();if(!Li(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=gr.call(i,Oi);u&&r.filter(i)&&(n||!t.includes(i))&&s.push(i);var f=i.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(i),d=!Li(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},Bg=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)||tR(t))&&!Bg(t)?0:t.tabIndex},nR=function(t,n){var r=nr(t);return r<0&&n&&!Bg(t)?0:r},rR=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},jg=function(t){return t.tagName==="INPUT"},sR=function(t){return jg(t)&&t.type==="hidden"},oR=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},iR=function(t,n){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===n)return t[r]},aR=function(t){if(!t.name)return!0;var n=t.form||Ii(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=iR(s,t.form);return!o||o===t},lR=function(t){return jg(t)&&t.type==="radio"},cR=function(t){return lR(t)&&!aR(t)},uR=function(t){var n,r=t&&Ii(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=Ii(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},fR=function(t,n){var r=n.displayCheck,s=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var o=gr.call(t,"details>summary:first-of-type"),i=o?t.parentElement:t;if(gr.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=Ii(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(uR(t))return!t.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return Kd(t);return!1},dR=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 gr.call(n,"fieldset[disabled] *")?!0:!s.contains(t)}return!0}n=n.parentElement}return!1},Mi=function(t,n){return!(n.disabled||Li(n)||sR(n)||fR(n,t)||oR(n)||dR(n))},Bl=function(t,n){return!(cR(n)||nr(n)<0||!Mi(t,n))},hR=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},pR=function e(t){var n=[],r=[];return t.forEach(function(s,o){var i=!!s.scopeParent,a=i?s.scopeParent:s,l=nR(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(rR).reduce(function(s,o){return o.isScope?s.push.apply(s,o.content):s.push(o.content),s},[]).concat(n)},mR=function(t,n){n=n||{};var r;return n.getShadowRoot?r=Fg([t],n.includeContainer,{filter:Bl.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:hR}):r=Dg(t,n.includeContainer,Bl.bind(null,n)),pR(r)},gR=function(t,n){n=n||{};var r;return n.getShadowRoot?r=Fg([t],n.includeContainer,{filter:Mi.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):r=Dg(t,n.includeContainer,Mi.bind(null,n)),r},Tr=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return gr.call(t,Oi)===!1?!1:Bl(n,t)},vR=Lg.concat("iframe").join(","),qa=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return gr.call(t,vR)===!1?!1:Mi(n,t)};/*!
23
- * focus-trap 7.5.3
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){yR(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 yR(e,t,n){return t=bR(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _R(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 bR(e){var t=_R(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()}},wR=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},ER=function(t){return t?.key==="Escape"||t?.key==="Esc"||t?.keyCode===27},no=function(t){return t?.key==="Tab"||t?.keyCode===9},xR=function(t){return no(t)&&!t.shiftKey},SR=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},ei=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},CR=[],TR=function(t,n){var r=n?.document||document,s=n?.trapStack||CR,o=Yd({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:xR,isKeyBackward:SR},n),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},a,l=function(S,P,A){return S&&S[P]!==void 0?S[P]:o[A||P]},c=function(S,P){var A=typeof P?.composedPath=="function"?P.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 P=o[S];if(typeof P=="function"){for(var A=arguments.length,R=new Array(A>1?A-1:0),M=1;M<A;M++)R[M-1]=arguments[M];P=P.apply(void 0,R)}if(P===!0&&(P=void 0),!P){if(P===void 0||P===!1)return P;throw new Error("`".concat(S,"` was specified but was not a node, or did not return a node"))}var L=P;if(typeof P=="string"&&(L=r.querySelector(P),!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||!qa(S,o.tabbableOptions))if(c(r.activeElement)>=0)S=r.activeElement;else{var P=i.tabbableGroups[0],A=P&&P.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 P=mR(S,o.tabbableOptions),A=gR(S,o.tabbableOptions),R=P.length>0?P[0]:void 0,M=P.length>0?P[P.length-1]:void 0,L=A.find(function(U){return Tr(U)}),D=A.slice().reverse().find(function(U){return Tr(U)}),F=!!P.find(function(U){return nr(U)>0});return{container:S,tabbableNodes:P,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=P.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)}):P[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 k(S){if(S!==!1&&S!==r.activeElement){if(!S||!S.focus){k(f());return}S.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=S,wR(S)&&S.select()}},h=function(S){var P=u("setReturnFocus",S);return P||(P===!1?!1:S)},m=function(S){var P=S.target,A=S.event,R=S.isBackward,M=R===void 0?!1:R;P=P||ei(A),d();var L=null;if(i.tabbableGroups.length>0){var D=c(P,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(Ee){var $e=Ee.firstTabbableNode;return P===$e});if(U<0&&(F.container===P||qa(P,o.tabbableOptions)&&!Tr(P,o.tabbableOptions)&&!F.nextTabbableNode(P,!1))&&(U=D),U>=0){var re=U===0?i.tabbableGroups.length-1:U-1,se=i.tabbableGroups[re];L=nr(P)>=0?se.lastTabbableNode:se.lastDomTabbableNode}else no(A)||(L=F.nextTabbableNode(P,!1))}else{var ne=Qd(i.tabbableGroups,function(Ee){var $e=Ee.lastTabbableNode;return P===$e});if(ne<0&&(F.container===P||qa(P,o.tabbableOptions)&&!Tr(P,o.tabbableOptions)&&!F.nextTabbableNode(P))&&(ne=D),ne>=0){var me=ne===i.tabbableGroups.length-1?0:ne+1,fe=i.tabbableGroups[me];L=nr(P)>=0?fe.firstTabbableNode:fe.firstDomTabbableNode}else no(A)||(L=F.nextTabbableNode(P))}}else L=u("fallbackFocus");return L},b=function(S){var P=ei(S);if(!(c(P,S)>=0)){if(Bs(o.clickOutsideDeactivates,S)){a.deactivate({returnFocus:o.returnFocusOnDeactivate});return}Bs(o.allowOutsideClick,S)||S.preventDefault()}},y=function(S){var P=ei(S),A=c(P,S)>=0;if(A||P instanceof Document)A&&(i.mostRecentlyFocusedNode=P);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 P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=S;var A=m({event:S,isBackward:P});A&&(no(S)&&S.preventDefault(),p(A))},w=function(S){if(ER(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 P=ei(S);c(P,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 P=S.some(function(A){var R=Array.from(A.removedNodes);return R.some(function(M){return M===i.mostRecentlyFocusedNode})});P&&p(f())},x=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(T):void 0,E=function(){x&&(x.disconnect(),i.active&&!i.paused&&i.containers.map(function(S){x.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 P=l(S,"onActivate"),A=l(S,"onPostActivate"),R=l(S,"checkCanFocusTrap");R||d(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,P?.();var M=function(){R&&d(),C(),E(),A?.()};return R?(R(i.containers.concat()).then(M,M),this):(M(),this)},deactivate:function(S){if(!i.active)return this;var P=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,E(),Jd.deactivateTrap(s,a);var A=l(P,"onDeactivate"),R=l(P,"onPostDeactivate"),M=l(P,"checkCanReturnFocus"),L=l(P,"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 P=l(S,"onPause"),A=l(S,"onPostPause");return i.paused=!0,P?.(),g(),E(),A?.(),this},unpause:function(S){if(!i.paused||!i.active)return this;var P=l(S,"onUnpause"),A=l(S,"onPostUnpause");return i.paused=!1,P?.(),d(),C(),E(),A?.(),this},updateContainerElements:function(S){var P=[].concat(S).filter(Boolean);return i.containers=P.map(function(A){return typeof A=="string"?r.querySelector(A):A}),i.active&&d(),E(),this}},a.updateContainerElements(t),a};function kR(e,t={}){let n;const{immediate:r,...s}=t,o=J(!1),i=J(!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 je(()=>Et(e),f=>{f&&(n=TR(f,{...s,onActivate(){o.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){o.value=!1,t.onDeactivate&&t.onDeactivate()}}),r&&a())},{flush:"post"}),yn(()=>l()),{hasFocus:o,isPaused:i,activate:a,deactivate:l,pause:c,unpause:u}}const PR={inheritAttrs:!1},da=ke({...PR,__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=mm(n,"modelValue",t,{passive:!0}),s=J(null),o=J(!1),{activate:i,deactivate:a}=kR(ge(()=>s.value||document.body),{immediate:!1});return Br(()=>{!o.value&&r.value&&(o.value=!0),r.value&&s.value?xt(i):a()}),Ic(s,()=>{n.modelValue&&n.autoClose&&(r.value=!1,t("close"))},{ignore:["a","button","summary"]}),(l,c)=>{const u=ru;return o.value?(Q(),Ce(ip,{key:0,to:"body"},[co(Y("div",{class:qe(["n-dialog fixed inset-0 z-100 flex items-center justify-center n-transition",[z(r)?"":"op0 pointer-events-none visibility-none"]]),role:"dialog","aria-modal":"true"},[Y("div",{class:qe(["absolute inset-0 -z-1",[l.dim?"glass-effect":""]])},null,2),Z(u,zn(l.$attrs,{ref_key:"card",ref:s,class:"max-h-screen of-auto"}),{default:pe(()=>[rt(l.$slots,"default")]),_:3},16)],2),[[cl,z(r)]])])):Ge("",!0)}}});function AR(){return Qi("virtual-files:current","")}function u2(){return Qi("terminals:current","")}function f2(){return Qi("server-routes:current","")}function d2(){const e=cP(),t=fP(),n=ot(),r=AR();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 Ae.openInEditor(s)}}function RR(){const e=fE();return t=>{e.copy(t),Dc({message:"Copied to clipboard",icon:"carbon-checkmark"})}}const $R=Y("div",{"carbon-launch":""},null,-1),NR=Y("div",{"carbon-launch":""},null,-1),OR=Y("span",{"mt-0.5":"","text-xs":"",op50:""},"(not supported)",-1),IR=Y("h1",{"text-3xl":""}," Popup is not Supported ",-1),LR=Y("p",null,[Le(" 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"),Le(" which is currently in experimental state. ")],-1),MR=Y("p",null,[Le(" As June 2023, the API is only available in Chrome 111 and above, under a flag "),Y("code",null,"#document-picture-in-picture-api"),Le(". ")],-1),DR=ke({__name:"PictureInPictureButton",setup(e){const t=ct(),n=window.__NUXT_DEVTOOLS_IS_POPUP__,r=J(!1),s=RR();function o(){const i=t.value?.devtools?.popup;i&&(Zc("popup"),i())}return(i,a)=>{const l=wr,c=da;return z(n)?Ge("",!0):(Q(),ve(Ie,{key:0},[z(t)?.devtools.popup?(Q(),Ce(l,{key:0,n:"sm primary",onClick:a[0]||(a[0]=u=>o())},{default:pe(()=>[$R,Le(" Popup ")]),_:1})):(Q(),ve(Ie,{key:1},[Z(l,{n:"sm primary",onClick:a[1]||(a[1]=u=>r.value=!0)},{default:pe(()=>[NR,Le(" Popup "),OR]),_:1}),Z(c,{modelValue:z(r),"onUpdate:modelValue":a[4]||(a[4]=u=>Be(r)?r.value=u:null),class:"max-w-150 p6 pt-2 prose",onClose:a[5]||(a[5]=u=>r.value=!1)},{default:pe(()=>[IR,LR,MR,Y("p",null,[Le(" 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 "),Z(l,{n:"xs primary",title:"Click to Copy",onClick:a[2]||(a[2]=u=>z(s)("chrome://flags/#document-picture-in-picture-api"))},{default:pe(()=>[Le(" chrome://flags/#document-picture-in-picture-api ")]),_:1}),Le(" and restart the browser. ")]),Y("div",null,[Z(l,{onClick:a[3]||(a[3]=u=>r.value=!1)},{default:pe(()=>[Le(" Close ")]),_:1})])]),_:1},8,["modelValue"])],64))],64))}}}),FR={px3:"",py2:"",border:"b base",flex:"~ gap-2"},BR=Y("div",{"i-carbon-sun":"","dark:i-carbon-moon":"","translate-y--1px":""},null,-1),jR=Y("div",{"i-carbon-settings-adjust":""},null,-1),zR={px3:"",py2:"",border:"b base",flex:"~ gap-2"},HR=Y("div",{"i-carbon-split-screen":""},null,-1),UR={px3:"",py2:"",flex:"~ gap2"},VR=ke({__name:"DockingPanel",setup(e){const t=ct(),n=Me(),{sidebarExpanded:r}=_r();function s(){n.hooks.callHookParallel("app:data:refresh",Object.keys(n.payload.data)),Rh(t)}function o(){location.reload()}function i(){On.value=!On.value}return(a,l)=>{const c=wr,u=JA,f=Ro,d=DR;return Q(),ve("div",null,[Y("div",FR,[Z(u,null,{default:pe(({toggle:p,isDark:h})=>[Z(c,{n:"sm primary",onClick:p},{default:pe(()=>[BR,Le(" "+ft(h.value?"Dark":"Light"),1)]),_:2},1032,["onClick"])]),_:1}),Z(c,{n:"sm primary",onClick:l[0]||(l[0]=p=>r.value=!z(r))},{default:pe(()=>[Z(f,{icon:z(r)?"i-carbon-side-panel-close":"i-carbon-side-panel-open"},null,8,["icon"]),Le(" "+ft(z(r)?"Minimize Sidebar":"Expand Sidebar"),1)]),_:1}),Z(c,{n:"sm primary",to:"/settings"},{default:pe(()=>[jR,Le(" Settings ")]),_:1})]),Y("div",zR,[("splitScreenAvailable"in a?a.splitScreenAvailable:z(Ol))?(Q(),Ce(c,{key:0,n:"sm primary",onClick:i},{default:pe(()=>[HR,Le(" "+ft(("splitScreenEnabled"in a?a.splitScreenEnabled:z(On))?"Close Split Screen":"Split Screen"),1)]),_:1})):Ge("",!0),Z(d)]),Y("div",UR,[Z(c,{n:"primary sm",onClick:s},{default:pe(()=>[Le(" Refetch Data ")]),_:1}),Z(c,{n:"primary sm",onClick:o},{default:pe(()=>[Le(" Refresh Page ")]),_:1})])])}}}),WR=["src","alt"],GR=["title"],ha=ke({__name:"TabIcon",props:{icon:{},title:{},showTitle:{type:Boolean,default:!0}},setup(e){return(t,n)=>t.icon&&(t.icon.startsWith("/")||t.icon.match(/^https?:/))?(Q(),ve("img",zn({key:0,style:{width:"1em",height:"1em"}},t.$attrs,{src:t.icon,alt:t.title}),null,16,WR)):(Q(),ve("div",zn({key:1,style:{width:"1em",height:"1em"}},t.$attrs,{class:t.icon||"carbon-bring-forward",title:t.showTitle?t.title:void 0}),null,16,GR))}}),qR={flex:"~ items-center gap-3"},KR={key:0,"overflow-hidden":"","text-ellipsis":"","ws-nowrap":""},XR={"translate-y-0.5px":""},YR={key:0,hidden:"","lg:block":""},zg=ke({__name:"SideNavItem",props:{tab:{},minimized:{type:Boolean,default:!0},target:{default:"main"}},setup(e){const t=e,n=os(),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(){Zc("tab-click",{tab:t.tab.name,tabPosition:t.target}),"onClick"in t.tab&&t.tab.onClick?t.tab.onClick():t.target==="side"&&(lg.value=t.tab.name)}return(a,l)=>{const c=ha,u=gn("VTooltip");return Q(),Ce(u,{disabled:!a.minimized,placement:"right",class:qe({"w-full":!a.minimized})},{popper:pe(()=>[Y("div",null,ft(a.tab.title),1),"extraTabVNode"in a.tab&&a.tab.extraTabVNode?(Q(),ve("div",YR,[(Q(),Ce(zr(a.tab.extraTabVNode)))])):Ge("",!0)]),default:pe(()=>[(Q(),Ce(zr(a.target==="main"?z(Kp):"button"),{to:z(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:pe(()=>[Y("div",qR,[Z(c,{"text-xl":"",icon:a.tab.icon,title:"Settings","show-title":!1},null,8,["icon"]),a.minimized?Ge("",!0):(Q(),ve("span",KR,ft(a.tab.title),1))]),z(s)?(Q(),ve("div",{key:0,"h-4":"","w-4":"","rounded-full":"","text-9px":"","text-white":"",flex:"~ items-center justify-center",class:qe([z(o)?"bg-primary":"bg-gray",{"absolute bottom-0 right-0":a.minimized}])},[Y("span",XR,ft(("toValue"in a?a.toValue:z(cc))(z(s))),1)],2)):Ge("",!0)]),_:1},8,["to","flex","w","rounded","p"]))]),_:1},8,["disabled","class"])}}});function JR(){const e=uP(),t=_r(),n=ot(),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 Hg(){return{pinned:[],app:[],analyze:[],server:[],modules:[],documentation:[],advanced:[]}}function ai(e){const{pinnedTabs:t}=_r();return ge(()=>{const n=Hg();for(const r of z(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=JR(),t=_r(),n=Object.keys(Hg()),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 h2(){const e=sg(),t=ag();return ge(()=>(e.value?.getRoutes()||[]).map(n=>ig(n,["path","name","meta","props","children"])).map(n=>({...t.value?.find(r=>r.name&&r.name===n.name),...n})))}const ZR={flex:"~ col gap-1","max-w-80":"",py1:""},QR={key:0,"h-1px":"",border:"b base"},e$={flex:"~ wrap",px1:""},Ug=ke({__name:"TabsGrid",props:{categories:{},target:{}},setup(e){return(t,n)=>{const r=zg;return Q(),ve("div",ZR,[(Q(!0),ve(Ie,null,ho(t.categories,([s,o],i)=>(Q(),ve(Ie,{key:s},[o.length?(Q(),ve(Ie,{key:0},[i?(Q(),ve("div",QR)):Ge("",!0),Y("div",e$,[(Q(!0),ve(Ie,null,ho(o,a=>(Q(),Ce(r,{key:a.name,target:t.target,tab:a},null,8,["target","tab"]))),128))])],64)):Ge("",!0)],64))),128))])}}}),t$={id:"nuxt-devtools-side-nav",border:"r base",flex:"~ col","z-100":"","h-full":"","items-start":"","of-hidden":"","bg-base":""},n$={sticky:"","top-0":"","z-1":"","w-full":"",p1:"","bg-base":"",border:"b base"},r$=["title"],s$=Y("div",{"i-logos-nuxt-icon":"","h-6":"","w-6":""},null,-1),o$=Y("span",{text:"lg white","font-600":""}," DevTools ",-1),i$=Y("div",{"flex-auto":""},null,-1),a$=Y("div",{"i-carbon-overflow-menu-vertical":""},null,-1),l$={key:0,my1:"","h-1px":"","w-full":"",border:"b base"},c$=Y("div",{"flex-auto":""},null,-1),u$=["flex"],f$={absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"",flex:"~ items-center justify-center",border:"~ base"},d$={"translate-y-0.5px":""},h$=45,p$=ke({__name:"SideNav",setup(e){const t=ct(),n=su(),{sidebarExpanded:r,sidebarScrollable:s}=_r(),o=J(!1),i=J(!1),a=J(),l=J(),c=J();function u(){o.value=!o.value}function f(){i.value=!i.value}const{height:d}=gm(),p=ge(()=>{const _=d.value-130;return Math.max(0,Math.floor(_/h$))}),h=ge(()=>n.value.slice(0,p.value)),m=ge(()=>n.value.slice(p.value)),b=ai(n),y=ai(h),v=ai(m),w=ge(()=>s.value||r.value?b.value:y.value);return Ic(a,_=>{l.value&&_.composedPath().includes(l.value)||c.value&&_.composedPath().includes(c.value)||(o.value=!1,i.value=!1)},{detectIframe:!0}),(_,C)=>{const g=VR,T=gn("VDropdown"),x=zg,E=ha;return Q(),ve("div",t$,[Y("div",n$,[Z(T,{placement:"left-start",distance:12,skidding:5,triggers:[],shown:z(o),"auto-hide":!0},{popper:pe(()=>[Z(g,{ref_key:"panel",ref:a},null,512)]),default:pe(()=>[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:qe([z(t)?"":"saturate-0",z(r)?"w-full rounded pl2.5":"w-10 rounded-xl"]),title:z(t)?"Nuxt DevTools":"DevTools Client not connected, try open it in iframe mode",onClick:u},[s$,z(r)?(Q(),ve(Ie,{key:0},[o$,i$,a$],64)):Ge("",!0)],10,r$)]),_:1},8,["shown"])]),Y("div",{flex:"~ auto col gap-0.5 items-center","w-full":"",p1:"",class:qe(["no-scrollbar",z(r)?"":"of-x-hidden of-y-auto"])},[(Q(!0),ve(Ie,null,ho(z(w),([k,S],P)=>(Q(),ve(Ie,{key:k},[S.length?(Q(),ve(Ie,{key:0},[P?(Q(),ve("div",l$)):Ge("",!0),(Q(!0),ve(Ie,null,ho(S,A=>(Q(),Ce(x,{key:A.name,tab:A,minimized:!z(r)},null,8,["tab","minimized"]))),128))],64)):Ge("",!0)],64))),128)),c$],2),Y("div",{flex:`~ items-center gap-1 ${z(r)?"":"none col"}`,border:"t base",sticky:"","bottom-0":"","w-full":"",p1:"","bg-base":""},[z(m).length&&!z(s)&&!z(r)?(Q(),Ce(T,{key:0,placement:"left-end",distance:12,triggers:[],shown:z(i),"auto-hide":!0},{popper:pe(()=>[Z(Ug,{categories:z(v),"max-w-80":"",target:"main"},null,8,["categories"])]),default:pe(()=>[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},[Z(E,{"text-xl":"",icon:"carbon:overflow-menu-vertical",title:"More tabs","show-title":!1}),Y("div",f$,[Y("span",d$,ft(z(m).length),1)])],512)]),_:1},8,["shown"])):Ge("",!0),Z(x,{minimized:!z(r),tab:{icon:"i-carbon:settings-adjust",title:"Settings",name:"settings",path:"/settings"}},null,8,["minimized"])],8,u$)])}}}),m$=(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&&m$(e.route,n));return typeof r=="function"?r(e.route):r},g$=(e,t)=>({default:()=>e?Je(xy,e===!0?{}:e,t):t}),v$=ke({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(To,es(r)),()=>Je(e.vnode,{ref:e.vnodeRef})}}),Vg=(e,t,n)=>(t=t===!0?{}:t,{default:()=>t?Je(e,t,n):n.default?.()}),y$=ke({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=Me(),s=J(),o=dt(To,null);n({pageRef:s});const i=dt(Hp,null);let a;const l=r.deferHydration();return()=>Je(lm,{name:e.name,route:e.route,...t},{default:c=>{const u=w$(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??El),h=p&&b$([e.transition,c.route.meta.pageTransition,El,{onAfterLeave:()=>{r.callHook("page:transition:finish",c.Component)}}].filter(Boolean));return a=Vg(Xi,p&&h,g$(e.keepalive??c.route.meta.keepalive??Pw,Je(hc,{suspensible:!0,onPending:()=>r.callHook("page:start",c.Component),onResolve:()=>{xt(()=>r.callHook("page:finish",c.Component).finally(l))}},{default:()=>Je(v$,{key:d,vnode:c.Component,route:c.route,renderKey:d,trackRootNodes:p,vnodeRef:s})}))).default(),a}})}});function _$(e){return Array.isArray(e)?e:e?[e]:[]}function b$(e){const t=e.map(n=>({...n,onAfterLeave:_$(n.onAfterLeave)}));return K0(...t)}function w$(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 E$={},x$={class:"n-panel-grids-center"};function S$(e,t){return Q(),ve("div",x$,[rt(e.$slots,"default")])}const Wg=us(E$,[["render",S$]]),C$={"h-full":"","h-screen":"","of-hidden":""},T$={border:"b base",flex:"~ gap1","z-99":"",px4:"",py3:"","n-navbar-glass":""},k$=Y("div",{"i-carbon-chevron-down":"","text-sm":"",op50:""},null,-1),P$=Y("div",{"flex-auto":""},null,-1),A$={key:0,"of-auto":"",style:{height:"calc(100% - 50px)"}},R$=Y("span",{"text-lg":"",op50:""}," Select a tab to start ",-1),$$=ke({__name:"SplitScreen",setup(e){const t=su(),n=nn(),r=os(),s=ot(),o=ge(()=>t.value.filter(d=>d.name!==r.name&&d.name!==r.params?.name)),i=ai(o),a=ge(()=>o.value.find(d=>d.name===lg.value));je(()=>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=pi(m):n.value=m},{immediate:!0});function l(){On.value=!1}const c=J(),u=J(),f=J(!1);return Ic(c,d=>{u.value&&d.composedPath().includes(u.value)||(f.value=!1)},{detectIframe:!0}),(d,p)=>{const h=ha,m=Ug,b=gn("VDropdown"),y=wr,v=ru,w=Wg,_=Ry("tooltip");return Q(),ve("div",C$,[Y("div",T$,[Z(b,{placement:"bottom-start",distance:12,skidding:5,triggers:[],shown:z(f),"auto-hide":!0},{popper:pe(()=>[Z(m,{ref_key:"gridPanel",ref:c,categories:z(i),target:"side"},null,8,["categories"])]),default:pe(()=>[Y("div",{ref_key:"gridPanelButton",ref:u,flex:"~ gap-2 items-center","cursor-pointer":"","select-none":"",onClick:p[0]||(p[0]=C=>f.value=!z(f))},[k$,z(a)?(Q(),ve(Ie,{key:0},[Z(h,{"text-xl":"",icon:z(a).icon,title:z(a).title,"show-title":!1},null,8,["icon","title"]),Y("span",null,ft(z(a).title),1)],64)):(Q(),ve(Ie,{key:1},[Le(" Select a tab ")],64))],512)]),_:1},8,["shown"]),P$,co(Z(y,{icon:"i-carbon:side-panel-open",title:"Close split screen",border:!1,onClick:l},null,512),[[_,"Close split screen"]])]),z(n)&&z(a)?(Q(),ve("div",A$,["view"in z(a)?(Q(),Ce(zr(z(n)),{key:z(a).name,name:z(a).name},null,8,["name"])):(Q(),Ce(zr(z(n)),{key:`tab-${z(a).name}`}))])):(Q(),Ce(w,{key:1},{default:pe(()=>[R$,Z(v,{px4:"",py2:""},{default:pe(()=>[Z(m,{categories:z(i),target:"side"},null,8,["categories"])]),_:1}),Z(y,{n:"sm orange",mt2:"",onClick:l},{default:pe(()=>[Le(" Close Split Screen ")]),_:1})]),_:1}))])}}}),N$={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())}},O$=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},I$={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 L$(e,t,n,r,s,o){return Q(),ve("div",{class:"splitpanes__pane",onClick:t[0]||(t[0]=i=>o.onPaneClick(i,e._.uid)),style:Zt(e.style)},[rt(e.$slots,"default")],4)}const eh=O$(I$,[["render",L$]]);const th=30,M$=ke({__name:"NSplitPane",props:{storageKey:{},stateKey:{default:"nuxt-devtools-panels-state"},leftSize:{},minSize:{},horizontal:{type:Boolean}},setup(e){const t=e,n=as(t.stateKey,{},{listenToStorageChanges:!1}),r=t.storageKey,s=r?ge({get:()=>n.value[r]||t.leftSize||th,set:o=>{n.value[r]=o}}):J(t.leftSize||th);return(o,i)=>(Q(),Ce(z(N$),{horizontal:o.horizontal,"h-full":"","of-hidden":"",onResize:i[0]||(i[0]=a=>s.value=a[0].size)},{default:pe(()=>[Z(z(eh),{"h-full":"",class:"of-auto!",size:z(s),"min-size":o.$slots.right?o.minSize||10:100},{default:pe(()=>[rt(o.$slots,"left")]),_:3},8,["size","min-size"]),o.$slots.right?(Q(),Ce(z(eh),{key:0,relative:"","h-full":"",class:"of-auto!","min-size":o.minSize||10},{default:pe(()=>[rt(o.$slots,"right")]),_:3},8,["min-size"])):Ge("",!0)]),_:3},8,["horizontal"]))}});const D$=ke({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)}}),F$=ke({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(e,t){const n=Me(),r=dt(To),s=r===os()?B1():r,o=ge(()=>z(e.name)??s.meta.layout??"default"),i=J();t.expose({layoutRef:i});const a=n.deferHydration();return()=>{const l=o.value&&o.value in ar,c=s.meta.layoutTransition??kw;return Vg(Xi,l&&c,{default:()=>Je(hc,{suspensible:!0,onResolve:()=>{xt(a)}},{default:()=>Je(B$,{layoutProps:zn(t.attrs,{ref:i}),key:o.value,name:o.value,shouldProvide:!e.name,hasTransition:!!c},t.slots)})}).default()}}}),B$=ke({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(Hp,{isCurrent:r=>n===(r.meta.layout??"default")}),()=>!n||typeof n=="string"&&!(n in ar)?t.slots.default?.():Je(D$,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}),j$={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"},Gg=ke({__name:"NTextInput",props:{modelValue:{default:""},icon:{},placeholder:{},disabled:{type:Boolean},autofocus:{type:Boolean},readonly:{type:Boolean},type:{default:"text"}},setup(e,{emit:t}){const r=mm(e,"modelValue",t,{passive:!0});return(s,o)=>{const i=Ro;return Q(),ve("div",j$,[rt(s.$slots,"icon",{},()=>[s.icon?(Q(),Ce(i,{key:0,icon:s.icon,class:"ml-0.3em mr-0.1em text-1.1em op50"},null,8,["icon"])):Ge("",!0)]),co(Y("input",zn({"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),[[B_,z(r)]])])}}}),zl=Bt(new Map);function z$(){const e=su(),t=ot(),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:()=>V$()}],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 H$(e){const t=aP();zl.set(t,e),fo(()=>{zl.delete(t)})}let Ka;const U$=[[":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 V$(){return Ka||(Ka=(await be(()=>import("./nuxt-docs.100caa70.js"),[],import.meta.url).then(t=>t.default)).map(t=>({...t,icon:U$.find(([n])=>t.id.includes(n))?.[1]||"i-carbon-document-multiple-01",action:()=>{window.open(t.url,"_blank")}}))),Ka}function _n(e){return Array.isArray?Array.isArray(e):Xg(e)==="[object Array]"}const W$=1/0;function G$(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-W$?"-0":t}function q$(e){return e==null?"":G$(e)}function Jt(e){return typeof e=="string"}function qg(e){return typeof e=="number"}function K$(e){return e===!0||e===!1||X$(e)&&Xg(e)=="[object Boolean]"}function Kg(e){return typeof e=="object"}function X$(e){return Kg(e)&&e!==null}function bt(e){return e!=null}function Xa(e){return!e.trim().length}function Xg(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const Y$="Incorrect 'index' type",J$=e=>`Invalid value for key ${e}`,Z$=e=>`Pattern length exceeds max of ${e}.`,Q$=e=>`Missing ${e} property in key`,eN=e=>`Property 'weight' in key '${e}' must be a positive integer`,nh=Object.prototype.hasOwnProperty;class tN{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(r=>{let s=Yg(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 Yg(e){let t=null,n=null,r=null,s=1,o=null;if(Jt(e)||_n(e))r=e,t=rh(e),n=Hl(e);else{if(!nh.call(e,"name"))throw new Error(Q$("name"));const i=e.name;if(r=i,nh.call(e,"weight")&&(s=e.weight,s<=0))throw new Error(eN(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 _n(e)?e:e.split(".")}function Hl(e){return _n(e)?e.join("."):e}function nN(e,t){let n=[],r=!1;const s=(o,i,a)=>{if(bt(o))if(!i[a])n.push(o);else{let l=i[a];const c=o[l];if(!bt(c))return;if(a===i.length-1&&(Jt(c)||qg(c)||K$(c)))n.push(q$(c));else if(_n(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 rN={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},sN={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},oN={location:0,threshold:.6,distance:100},iN={useExtendedSearch:!1,getFn:nN,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var we={...sN,...rN,...oN,...iN};const aN=/[^ ]+/g;function lN(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(s){const o=s.match(aN).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=lN(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(!bt(t)||Xa(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(bt(i)){if(_n(i)){let a=[];const l=[{nestedArrIndex:-1,value:i}];for(;l.length;){const{nestedArrIndex:c,value:u}=l.pop();if(bt(u))if(Jt(u)&&!Xa(u)){let f={v:u,i:c,n:this.norm.get(u)};a.push(f)}else _n(u)&&u.forEach((f,d)=>{l.push({nestedArrIndex:d,value:f})})}r.$[o]=a}else if(Jt(i)&&!Xa(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 Jg(e,t,{getFn:n=we.getFn,fieldNormWeight:r=we.fieldNormWeight}={}){const s=new ou({getFn:n,fieldNormWeight:r});return s.setKeys(e.map(Yg)),s.setSources(t),s.create(),s}function cN(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 ti(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 uN(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 fN(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(Z$(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=ti(t,{currentLocation:y,expectedLocation:d,distance:s,ignoreLocation:c});if(p=Math.min(T,p),h=y+u,m){let x=0;for(;x<u;)b[y+x]=1,x+=1}}h=-1;let v=[],w=1,_=u+f;const C=1<<u-1;for(let T=0;T<u;T+=1){let x=0,E=_;for(;x<E;)ti(t,{errors:T,currentLocation:d+E,expectedLocation:d,distance:s,ignoreLocation:c})<=p?x=E:_=E,E=Math.floor((_-x)/2+x);_=E;let k=Math.max(1,d-E+1),S=i?f:Math.min(d+E,f)+u,P=Array(S+2);P[S+1]=(1<<T)-1;for(let R=S;R>=k;R-=1){let M=R-1,L=n[e.charAt(M)];if(m&&(b[M]=+!!L),P[R]=(P[R+1]<<1|1)&L,T&&(P[R]|=(v[R+1]|v[R])<<1|1|v[R+1]),P[R]&C&&(w=ti(t,{errors:T,currentLocation:M,expectedLocation:d,distance:s,ignoreLocation:c}),w<=p)){if(p=w,h=M,h<=d)break;k=Math.max(1,2*d-h)}}if(ti(t,{errors:T+1,currentLocation:d,expectedLocation:d,distance:s,ignoreLocation:c})>p)break;v=P}const g={isMatch:h>=0,score:Math.max(.001,w)};if(m){const T=uN(b,a);T.length?l&&(g.indices=T):g.isMatch=!1}return g}function dN(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 Zg{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:dN(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}=fN(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 hN 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 pN 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 mN 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 gN 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 vN 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 yN 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 Qg 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 Zg(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 ev 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=[hN,ev,mN,gN,yN,vN,pN,Qg],oh=Ul.length,_N=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,bN="|";function wN(e,t={}){return e.split(bN).map(n=>{let r=n.trim().split(_N).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 EN=new Set([Qg.type,ev.type]);class xN{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=wN(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;EN.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 SN(...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 Zg(e,t)}const Di={AND:"$and",OR:"$or"},Gl={PATH:"$path",PATTERN:"$val"},ql=e=>!!(e[Di.AND]||e[Di.OR]),CN=e=>!!e[Gl.PATH],TN=e=>!_n(e)&&Kg(e)&&!ql(e),ih=e=>({[Di.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function tv(e,t,{auto:n=!0}={}){const r=s=>{let o=Object.keys(s);const i=CN(s);if(!i&&o.length>1&&!ql(s))return r(ih(s));if(TN(s)){const l=i?s[Gl.PATH]:o[0],c=i?s[Gl.PATTERN]:s[l];if(!Jt(c))throw new Error(J$(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];_n(c)&&c.forEach(u=>{a.children.push(r(u))})}),a};return ql(e)||(e=ih(e)),r(e)}function kN(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 PN(e,t){const n=e.matches;t.matches=[],bt(n)&&n.forEach(r=>{if(!bt(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 AN(e,t){t.score=e.score}function RN(e,t,{includeMatches:n=we.includeMatches,includeScore:r=we.includeScore}={}){const s=[];return n&&s.push(PN),r&&s.push(AN),e.map(o=>{const{idx:i}=o,a={item:t[i],refIndex:i};return s.length&&s.forEach(l=>{l(o,a)}),a})}class fs{constructor(t,n={},r){this.options={...we,...n},this.options.useExtendedSearch,this._keyStore=new tN(this.options.keys),this.setCollection(t,r)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof ou))throw new Error(Y$);this._myIndex=n||Jg(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){bt(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 kN(l,{ignoreFieldNorm:a}),o&&l.sort(i),qg(n)&&n>-1&&(l=l.slice(0,n)),RN(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(!bt(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=tv(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===Di.AND)return[]}return u},s=this._myIndex.records,o={},i=[];return s.forEach(({$:a,i:l})=>{if(bt(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(!bt(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(!bt(n))return[];let s=[];if(_n(n))n.forEach(({v:o,i,n:a})=>{if(!bt(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}}fs.version="6.6.2";fs.createIndex=Jg;fs.parseIndex=cN;fs.config=we;fs.parseQuery=tv;SN(xN);const $N={"h-full":"",flex:"~ col"},NN={border:"b base","flex-none":""},ON={"flex-auto":"","of-auto":"",p2:"",flex:"~ col"},IN=["id","onClick","onMouseover"],LN={flex:"","flex-auto":"","items-center":"",gap2:"","of-hidden":""},MN={"ws-nowrap":""},DN={"of-hidden":"",truncate:"","ws-nowrap":"","text-sm":"",op50:""},FN={key:0,"h-full":"",flex:"","items-center":"","justify-center":"","gap-2":"","text-xl":""},BN=Y("span",{op50:""},"No results for",-1),jN={"text-primary":""},zN={border:"t base",flex:"~ none justify-between items-center gap-4","pointer-events-none":"",px4:"",py2:""},HN={"text-xs":"",flex:"~ items-center gap2"},UN=Y("span",{op75:""},"to navigate",-1),VN={"text-xs":"",flex:"~ items-center gap2"},WN={op75:""},GN={"text-xs":"",flex:"~ items-center gap2"},qN=Y("span",{op75:""},"to select",-1),KN=ke({__name:"CommandPalette",setup(e){const t=J(!1),n=J(""),r=z$(),s=J(),o=ge(()=>s.value||r.value),i=ge(()=>new fs(o.value,{keys:["id","title"],distance:50})),a=ge(()=>n.value?i.value.search(n.value).map(p=>p.item):o.value||[]),l=J(0);je(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)}Dt("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=Gg,b=ha,y=Ro,v=wr,w=da;return Q(),Ce(w,{modelValue:z(t),"onUpdate:modelValue":h[1]||(h[1]=_=>Be(t)?t.value=_:null),relative:"","h-md":"","w-xl":"","of-hidden":""},{default:pe(()=>[Y("div",$N,[Y("header",NN,[Z(m,{modelValue:z(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",ON,[(Q(!0),ve(Ie,null,ho(z(a),(_,C)=>(Q(),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:qe(z(l)===C?"op100 bg-primary/10 text-primary saturate-100 bg-active":"op80")},[Z(b,{icon:_.icon,title:_.title,"flex-none":"","text-xl":""},null,8,["icon","title"]),Y("span",LN,[Y("span",MN,ft(_.title),1),Y("span",DN,ft(_.description),1)]),z(l)===C?(Q(),Ce(y,{key:0,icon:"i-carbon-text-new-line scale-x--100","flex-none":""})):Ge("",!0)],2)],40,IN))),128)),z(a).length?Ge("",!0):(Q(),ve("div",FN,[Z(y,{op50:"",icon:"carbon-search"}),Y("div",null,[BN,Y("strong",jN,' "'+ft(z(n))+'" ',1)])]))]),Y("footer",zN,[Y("div",HN,[Z(v,{n:"xs",px1:""},{default:pe(()=>[Z(y,{icon:"carbon-arrow-down"})]),_:1}),Z(v,{n:"xs",px1:""},{default:pe(()=>[Z(y,{icon:"carbon-arrow-up"})]),_:1}),UN]),Y("div",VN,[Z(v,{n:"xs",px1:""},{default:pe(()=>[Le(" Esc ")]),_:1}),Y("span",WN,"to "+ft(z(s)?"go back":"close"),1)]),Y("div",GN,[Z(v,{n:"xs",px1:""},{default:pe(()=>[Z(y,{icon:"i-carbon-text-new-line scale-x--100"})]),_:1}),qN])])])]),_:1},8,["modelValue"])}}}),XN=Y("h3",{class:"mb2 text-lg font-medium leading-6",flex:"~ items-center gap-1","text-orange":""},[Y("span",{class:"i-carbon-information-square"}),Le(" Permissions required ")],-1),YN=Y("p",null," This operation requires permissions for running command and access files from the browser. ",-1),JN=Y("p",null,[Le(" A request is sent to the server."),Y("br"),Le(" Please check your terminal for the instructions and then come back. ")],-1),ZN={flex:"~ gap-3",mt5:"","justify-between":""},QN=["onSubmit"],eO=Y("p",{"text-xs":"","op-50":""}," Or you can manually paste the token below: ",-1),tO={flex:"~ inline gap-2 items-center"},nO={flex:"~ gap-2 items-end"},rO=ke({__name:"AuthRequiredPanel",setup(e){wn(async()=>{Tt.value||wt.value&&await Ae.verifyAuthToken(wt.value)&&(Tt.value=!0),Tt.value||Pm()});const t=J(""),n=J(!1);async function r(){const s=t.value.trim();n.value=!1,await Ae.verifyAuthToken(s).then(o=>{o?(Tt.value=!0,ix(s)):n.value=!0})}return(s,o)=>{const i=Gg,a=wr,l=ru,c=Wg;return("isDevAuthed"in s?s.isDevAuthed:z(Tt))?rt(s.$slots,"default",{key:1}):(Q(),Ce(c,{key:0},{default:pe(()=>[Z(l,{flex:"~ col gap-2",mxa:"",p6:""},{default:pe(()=>[XN,YN,JN,Y("div",ZN,[Y("form",{relative:"",flex:"~ col gap-2",onSubmit:U_(r,["prevent"])},[eO,Y("div",tO,[Z(i,{modelValue:z(t),"onUpdate:modelValue":o[0]||(o[0]=u=>Be(t)?t.value=u:null),placeholder:"Enter token here",n:z(n)?"red":void 0,onKeydown:Ep(r,["enter"])},null,8,["modelValue","n","onKeydown"]),Z(a,{n:"green","h-full":"",icon:"i-carbon-arrow-right",onClick:r})])],40,QN),Y("div",nO,[rt(s.$slots,"actions"),Z(a,{disabled:"",icon:"i-carbon-time"},{default:pe(()=>[Le(" Waiting for authorization... ")]),_:1})])])]),_:3})]),_:3}))}}}),sO=ke({__name:"AuthConfirmDialog",setup(e){return(t,n)=>{const r=wr,s=rO,o=da;return Q(),Ce(z(Tm),null,{default:pe(({resolve:i})=>[Z(o,{"model-value":!("isDevAuthed"in t?t.isDevAuthed:z(Tt)),class:"border-none",onClose:a=>i(!1)},{default:pe(()=>[Z(s,null,{actions:pe(()=>[Z(r,{onClick:a=>i(!1)},{default:pe(()=>[Le(" Cancel ")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1032,["model-value","onClose"])]),_:1})}}}),oO={},iO={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 197 24",fill:"none"},aO=Qy('<path fill="currentColor" d="M45.74 24c.26 0 .48-.215.48-.48V12.36s.6 1.08 1.68 2.88l4.68 8.04c.214.449.69.72 1.08.72h3.24V6h-3.24c-.216 0-.48.18-.48.48v11.28l-2.16-3.84L46.7 6.6c-.21-.373-.663-.6-1.08-.6H42.5v18h3.24ZM87.62 11.04h1.56a.72.72 0 0 0 .72-.72V7.2h3.36v3.84h3.24v2.88h-3.24v5.16c0 1.26.607 1.8 1.68 1.8h1.56V24h-2.04c-2.766 0-4.56-1.791-4.56-4.8v-5.28h-2.28v-2.88ZM71.42 11.04v7.44c0 1.68-.63 3.097-1.56 4.08-.93.983-2.212 1.44-3.96 1.44-1.748 0-3.15-.457-4.08-1.44-.913-.983-1.56-2.4-1.56-4.08v-7.44h1.92c.41 0 .812.075 1.08.36.268.27.36.428.36.84v6.24c0 .967.055 1.564.48 2.04.425.46.95.6 1.8.6.866 0 1.255-.14 1.68-.6.425-.476.48-1.073.48-2.04v-6.24c0-.412.092-.675.36-.96.235-.25.483-.245.84-.24h2.16ZM81.62 17.28l4.08-6.24h-3.12c-.393 0-.743.141-.96.48L79.7 14.4l-1.8-2.76c-.217-.339-.687-.6-1.08-.6h-3l4.08 6.12L73.46 24h3.12c.39 0 .742-.386.96-.72l2.16-3.24 2.28 3.36c.218.335.57.6.96.6h3.12l-4.44-6.72Z"></path><path fill="#00DC82" d="M20.66 24h13.32c.425 0 .832-.15 1.2-.36s.748-.475.96-.84c.212-.365.36-.779.36-1.2 0-.421-.147-.835-.36-1.2l-9-15.48a2.189 2.189 0 0 0-.84-.84 2.9 2.9 0 0 0-1.32-.36c-.425 0-.832.15-1.2.36s-.628.475-.84.84l-2.28 3.96L16.1 1.2c-.213-.365-.472-.75-.84-.96-.368-.21-.775-.24-1.2-.24-.425 0-.832.03-1.2.24s-.747.595-.96.96L.74 20.4c-.213.365-.24.779-.24 1.2 0 .421.028.835.24 1.2s.592.63.96.84c.368.21.775.36 1.2.36h8.4c3.328 0 5.751-1.493 7.44-4.32l4.08-7.08 2.16-3.72 6.6 11.28h-8.76L20.66 24Zm-9.48-3.84H5.3l8.76-15.12 4.44 7.56-2.941 5.127c-1.122 1.834-2.4 2.433-4.379 2.433Z"></path><path fill="#00DC82" fill-rule="evenodd" d="M101.3 24V8.64c0-.795.645-1.44 1.44-1.44h4.2c1.58 0 3.011.341 4.32.96 1.309.619 2.338 1.506 3.12 2.76.782 1.238 1.2 2.855 1.2 4.68 0 1.809-.418 3.306-1.2 4.56-.782 1.254-1.811 2.141-3.12 2.76-1.309.619-2.74 1.08-4.32 1.08h-5.64Zm5.28-3.24c1.548 0 2.819-.375 3.84-1.2 1.021-.841 1.44-2.135 1.44-3.96 0-1.825-.419-3.239-1.44-4.08-1.021-.841-2.292-1.2-3.84-1.2h-1.68v10.44h1.68ZM128.66 19.68c-.239 1.285-.867 2.342-1.92 3.12s-2.356 1.2-3.84 1.2a6.232 6.232 0 0 1-3.36-.96 5.619 5.619 0 0 1-2.04-2.28 6.593 6.593 0 0 1-.72-3c0-1.063.169-2.064.6-3 .447-.936 1.146-1.693 2.04-2.28.91-.587 1.947-.84 3.24-.84 1.341 0 2.466.269 3.36.84.894.571 1.625 1.271 2.04 2.16.431.889.6 1.776.6 2.76l-.001.209c0 .129-.001.251.001.391a.501.501 0 0 1-.48.48h-8.28c.128.857.449 1.548.96 2.04.527.476 1.21.72 2.04.72.67 0 1.249-.106 1.68-.36.431-.27.712-.692.84-1.2h3.24Zm-6-5.64c-.766 0-1.353.203-1.8.6-.447.38-.696.975-.84 1.8h5.28c-.048-.698-.257-1.356-.72-1.8-.463-.46-1.138-.6-1.92-.6Z" clip-rule="evenodd"></path><path fill="#00DC82" d="M128.78 11.88 133.22 24h3.12l4.32-12.12h-2.28c-.625 0-1.248.365-1.44.96l-2.16 6.84-2.16-6.84c-.192-.595-.815-.96-1.44-.96h-2.4Z"></path><path fill="#00DC82" fill-rule="evenodd" d="M159.14 24c-1.213 0-2.266-.316-3.24-.84-.974-.54-1.737-1.224-2.28-2.16a6.53 6.53 0 0 1-.84-3.24c0-1.174.297-2.184.84-3.12.543-.952 1.306-1.756 2.28-2.28.974-.54 2.027-.72 3.24-.72s2.386.18 3.36.72c.974.524 1.737 1.328 2.28 2.28.543.936.72 1.946.72 3.12 0 1.174-.177 2.288-.72 3.24-.543.936-1.306 1.62-2.28 2.16a7.167 7.167 0 0 1-3.36.84Zm0-2.88c.894 0 1.601-.341 2.16-.96.559-.619.84-1.416.84-2.4 0-1-.189-1.758-.748-2.377a3 3 0 0 0-2.252-.983c-.894 0-1.601.341-2.16.96-.559.619-.84 1.4-.84 2.4 0 .984.281 1.781.84 2.4.559.619 1.266.96 2.16.96ZM169.82 23.16c.974.524 2.027.84 3.24.84a7.167 7.167 0 0 0 3.36-.84c.974-.54 1.737-1.224 2.28-2.16.543-.952.72-2.066.72-3.24 0-1.174-.177-2.184-.72-3.12-.543-.952-1.306-1.756-2.28-2.28-.974-.54-2.147-.84-3.36-.84a6.52 6.52 0 0 0-3.24.84c-.974.524-1.737 1.328-2.28 2.28a6.044 6.044 0 0 0-.84 3.12 6.53 6.53 0 0 0 .84 3.24c.543.936 1.306 1.62 2.28 2.16Zm5.4-3c-.559.619-1.266.96-2.16.96-.894 0-1.601-.341-2.16-.96-.559-.619-.84-1.416-.84-2.4 0-1 .281-1.781.84-2.4.559-.619 1.266-.96 2.16-.96.894 0 1.601.341 2.16.96.559.619.84 1.4.84 2.4 0 .984-.281 1.781-.84 2.4Z" clip-rule="evenodd"></path><path fill="#00DC82" d="M184.82 24h-3.36V8.4h3.36V24ZM188.18 22.8c.926.762 2.236 1.2 3.72 1.2 1.42 0 2.514-.398 3.36-1.08.862-.698 1.32-1.617 1.32-2.76 0-1-.305-1.756-.72-2.28-.415-.524-.865-.905-1.44-1.08-.559-.19-1.282-.353-2.16-.48-.814-.111-1.417-.217-1.8-.36-.367-.159-.48-.396-.48-.84 0-.365.073-.634.36-.84.287-.206.721-.36 1.2-.36s.937.194 1.32.48c.399.27.536.588.6 1.08h2.373c.276 0 .497-.232.453-.504-.156-.955-.61-1.767-1.386-2.376-.894-.714-2.028-1.08-3.48-1.08-.814 0-1.506.163-2.16.48a3.842 3.842 0 0 0-1.56 1.32c-.367.54-.6 1.222-.6 1.92 0 .92.217 1.532.6 2.04.399.492.897.89 1.44 1.08.543.19 1.178.321 2.04.48.83.143 1.417.305 1.8.48s.6.516.6.96c0 .333-.145.618-.48.84-.319.222-.689.36-1.2.36-.622 0-1.161-.178-1.56-.48a2.022 2.022 0 0 1-.72-1.32h-2.376a.449.449 0 0 0-.457.502c.149 1.06.605 1.944 1.393 2.618ZM145.58 24h3.6V10.32h3.6a1.44 1.44 0 0 0 1.44-1.44V7.2H142.1a1.44 1.44 0 0 0-1.44 1.44v1.68h4.92V24Z"></path>',6),lO=[aO];function cO(e,t){return Q(),ve("svg",iO,lO)}const uO=us(oO,[["render",cO]]),fO={},dO={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":"","n-glass-effect":""},hO={flex:"~","mt--10":"","items-center":"","justify-center":""},pO={key:0,flex:"~ gap-2","items-center":"","text-rose":""},mO={key:1,flex:"~ gap-2","animate-pulse":"","items-center":"","text-yellow":""};function gO(e,t){const n=uO,r=Ro;return Q(),Ce(ip,{to:"body"},[("wsConnectingDebounced"in e?e.wsConnectingDebounced:z(ZE))?(Q(),ve("div",dO,[Y("div",hO,[Z(n,{"h-14":""})]),("wsError"in e?e.wsError:z(JE))?(Q(),ve("div",pO,[Z(r,{icon:"i-carbon-wifi-off"}),Le(" WebSocket disconnected ")])):(Q(),ve("div",mO,[Z(r,{icon:"i-carbon-circle-dash","animate-spin":""}),Le(" Connecting to the server... ")]))])):Ge("",!0)])}const vO=us(fO,[["render",gO]]),yO={p4:"",flex:"~ col gap-1"},_O=Y("h3",{class:"text-lg font-medium leading-6"}," Restart ",-1),bO={op50:""},wO={flex:"~ gap-3",mt2:"","justify-end":""},EO=ke({__name:"RestartDialogs",setup(e){const t=Me(),n=nx(),r=ct(),s=Oc();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&&(Ae.restartNuxt(),setTimeout(()=>{r.value?.app.reload()},500))}))}}),(o,i)=>{const a=wr,l=da;return Q(),Ce(z(s),null,{default:pe(({resolve:c,args:u})=>[Z(l,{"model-value":!0,onClose:f=>c(!1)},{default:pe(()=>[Y("div",yO,[_O,Y("p",bO,ft(u[0]),1),Y("div",wO,[Z(a,{onClick:f=>c(!1)},{default:pe(()=>[Le(" Cancel ")]),_:2},1032,["onClick"]),Z(a,{n:"solid primary",onClick:f=>c(!0)},{default:pe(()=>[Le(" Update ")]),_:2},1032,["onClick"])])])]),_:2},1032,["onClose"])]),_:1})}}});function xO(){return Qi("schema:input",null)}const ah=J([]),lh=J();function SO(){const e=Me(),t=ct(),n=ot();Object.assign(xm,{async refresh(o){e.hooks.callHookParallel("app:data:refresh",[o])},async callHook(o,...i){e.hooks.callHookParallel(o,...i)},async onTerminalData(o){e.hooks.callHookParallel("devtools:terminal:data",o)},async onTerminalExit(o){e.hooks.callHookParallel("devtools:terminal:exit",o);const i=ah.value.findIndex(a=>a.processId===o.id);i!==-1&&ah.value.splice(i,1),lh.value?.processId===o.id&&(lh.value=void 0)},async navigateTo(o){t.value.devtools.open(),n.currentRoute.value?.path!==o&&n.push(o)}}),Ae.getModuleOptions().then(o=>{o.disableAuthorization&&(Tt.value=!0,wt.value||="disabled")});const{hiddenTabs:r,pinnedTabs:s}=_r();Zc("open",{hiddenTabs:r.value.join(","),pinnedTabs:s.value.join(",")},!0)}const CO=pi(()=>be(()=>import("./DataSchemaDrawer.d00941d6.js"),["./DataSchemaDrawer.d00941d6.js","./NSelect.vue.e7f8c81a.js","./NSwitch.vue.8d3010b0.js","./NDropdown.vue.3b1768f5.js","./NCodeBlock.vue.882d562f.js","./client.253674ec.js","./NCodeBlock.6994516c.css","./NDrawer.vue.a4010d93.js"],import.meta.url).then(e=>e.default||e)),TO={fixed:"","inset-0":"","h-screen":"","w-screen":"","font-sans":""},kO=ke({__name:"app",setup(e){be(()=>import("./unocss-runtime.41db0d67.js"),[],import.meta.url),W0({title:"Nuxt DevTools",meta:[{name:"viewport",content:"width=device-width, initial-scale=1"}],link:[{rel:"icon",type:"image/svg+xml",href:"/nuxt.svg"}]}),SO();const t=ct(),n=os(),r=Gc(),s=ge(()=>n.path.startsWith("/__")||n.path==="/"),o=ge(()=>!t.value&&!sP.value);je(()=>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}=_r(),l=xO();return wn(()=>{const c=oP();Br(()=>{window.__NUXT_DEVTOOLS__=c.value}),Br(()=>{document.body.style.fontSize=`${i.value*15}px`})}),H$(()=>Ol.value?[{id:"action:split-screen",title:`${On.value?"Close":"Open"} Split Screen`,icon:"i-carbon-split-screen",action:()=>{On.value=!On.value}}]:[]),(c,u)=>{const f=FA,d=jA,p=GA,h=p$,m=y$,b=$$,y=M$,v=F$,w=KN,_=sO,C=vO,g=EO,T=CO;return Q(),ve("div",TO,[Z(f),Z(d),z(o)?(Q(),Ce(p,{key:0},{default:pe(()=>[Le(" Connecting.... ")]),_:1})):(Q(),ve("div",{key:1,class:qe(z(s)?"flex":z(a)?"grid grid-cols-[250px_1fr]":"grid grid-cols-[50px_1fr]"),"h-full":"","h-screen":"","of-hidden":"","font-sans":"","bg-base":""},[co(Z(h,{"of-x-hidden":"","of-y-auto":""},null,512),[[cl,!z(s)]]),Z(v,null,{default:pe(()=>[Z(y,{"storage-key":"devtools:split-screen-mode","min-size":20},$y({left:pe(()=>[Z(m)]),_:2},[("splitScreenEnabled"in c?c.splitScreenEnabled:z(On))&&z(Ol)?{name:"right",fn:pe(()=>[Z(b)]),key:"0"}:void 0]),1024)]),_:1}),Z(w),Z(_)],2)),Z(C),Z(g),u._lazyshow1||z(l)?(u._lazyshow1=!0,Q(),ve(Ie,null,[co(Y("div",null,[Z(T)],512),[[cl,z(l)]])],64)):Ge("v-show-if",!0)])}}}),PO={__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?pi(()=>be(()=>import("./error-404.429edf81.js"),["./error-404.429edf81.js","./error-404.82ac0ec5.css"],import.meta.url).then(f=>f.default||f)):pi(()=>be(()=>import("./error-500.9e83b20b.js"),["./error-500.9e83b20b.js","./error-500.ff959f66.css"],import.meta.url).then(f=>f.default||f));return(f,d)=>(Q(),Ce(z(u),Ql(qi({statusCode:z(r),statusMessage:z(o),description:z(i),stack:z(a)})),null,16))}},ch={__name:"nuxt-root",setup(e){const t=()=>null,n=Me(),r=n.deferHydration(),s=!1;ur(To,os()),n.hooks.callHookWith(a=>a.map(l=>l()),"vue:setup");const o=Yi();Kh((a,l,c)=>{if(n.hooks.callHook("vue:error",a,l,c).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),nw(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>Pr(a)),!1});const i=!1;return(a,l)=>(Q(),Ce(hc,{onResolve:z(r)},{default:pe(()=>[z(o)?(Q(),Ce(z(PO),{key:0,error:z(o)},null,8,["error"])):z(i)?(Q(),Ce(z(t),{key:1,context:z(i)},null,8,["context"])):z(s)?(Q(),Ce(zr(z(s)),{key:2})):(Q(),Ce(z(kO),{key:3}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=Db.create({baseURL:Bb()}));let uh;{let e;uh=async function(){if(e)return e;const r=!!(window.__NUXT__?.serverRendered||document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true")?q_(ch):Sp(ch),s=Zb({vueApp:r});try{await e0(s,DA)}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(Aw),await s.hooks.callHook("app:mounted",r),await xt()}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{Db as $,Wg as A,_r as B,Pi as C,gP as D,uO as E,Ie as F,qe as G,SE as H,co as I,cl as J,Ae as K,ax as L,Oc as M,l2 as N,ot as O,Qi as P,u2 as Q,H$ as R,M$ as S,ip as T,Zc as U,lh as V,Gg as W,da as X,Dt as Y,Dc as Z,wr as _,ge as a,HO as a$,YE as a0,JE as a1,Ro as a2,_w as a3,DO as a4,Zt as a5,mm as a6,rt as a7,d2 as a8,cP as a9,JR as aA,Tt as aB,Pm as aC,rO as aD,GO as aE,t2 as aF,r2 as aG,jO as aH,D_ as aI,$y as aJ,XO as aK,ah as aL,ly as aM,Ph as aN,es as aO,AO as aP,Xi as aQ,Ic as aR,K0 as aS,VO as aT,Qy as aU,QO as aV,sg as aW,ZO as aX,c2 as aY,eE as aZ,h2 as a_,FO as aa,Ry as ab,Ep as ac,Wu as ad,s2 as ae,fs as af,IO as ag,Gc as ah,ag as ai,n2 as aj,wn as ak,ru as al,gn as am,qO as an,BO as ao,RE as ap,zn as aq,ct as ar,zr as as,Bt as at,LO as au,xt as av,Br as aw,fo as ax,oP as ay,os as az,NO as b,KO as b0,WO as b1,sP as b2,pt as b3,JO as b4,nx as b5,is as b6,zO as b7,U_ as b8,a2 as b9,Je as bA,fP as bB,AR as bC,Rh as bD,ai as bE,JA as bF,M_ as bG,F_ as bH,sx as bI,Ql as ba,qi as bb,o2 as bc,Z1 as bd,ts as be,sn as bf,vi as bg,Re as bh,f2 as bi,UO as bj,OO as bk,GA as bl,lP as bm,xy as bn,nn as bo,Q1 as bp,$O as bq,RO as br,Me as bs,Vp as bt,Td as bu,e2 as bv,i2 as bw,Et as bx,ha as by,MO as bz,rx as c,ke as d,RR as e,z as f,YO as g,Ce as h,Z as i,pe as j,Y as k,Be as l,ve as m,ho as n,Q as o,Ge as p,us as q,J as r,W0 as s,ft as t,xO as u,Le as v,je as w,Kp as x,iy as y,ay as z};