@nuxt/devtools 0.8.0 → 0.8.2

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 +1 -1
  2. package/dist/chunks/module-main.mjs +33 -6025
  3. package/dist/chunks/vscode.mjs +4 -5
  4. package/dist/client/200.html +37 -2
  5. package/dist/client/404.html +37 -2
  6. package/dist/client/__blank/index.html +37 -2
  7. package/dist/client/_nuxt/{Badge.73590739.js → Badge.3c6fa035.js} +1 -1
  8. package/dist/client/_nuxt/{CodeDiff.vue.5bc59452.js → CodeDiff.vue.7a519a6d.js} +2 -2
  9. package/dist/client/_nuxt/{ComposableItem.vue.b891778e.js → ComposableItem.vue.ffcca591.js} +1 -1
  10. package/dist/client/_nuxt/{DataSchemaButton.vue.58aa4fbb.js → DataSchemaButton.vue.9ced8093.js} +1 -1
  11. package/dist/client/_nuxt/{DataSchemaDrawer.b54a9c8c.js → DataSchemaDrawer.6edfca87.js} +100 -100
  12. package/dist/client/_nuxt/{DrawerRight.vue.462f9048.js → DrawerRight.vue.8980fc15.js} +1 -1
  13. package/dist/client/_nuxt/{DurationDisplay.vue.281ea057.js → DurationDisplay.vue.dca5d690.js} +1 -1
  14. package/dist/client/_nuxt/{FilepathItem.vue.3d85c8b7.js → FilepathItem.vue.222c7a36.js} +1 -1
  15. package/dist/client/_nuxt/{HelpFab.vue.7e36821f.js → HelpFab.vue.6da14cd2.js} +1 -1
  16. package/dist/client/_nuxt/{LaunchPage.vue.fd74a96c.js → LaunchPage.vue.ded97a46.js} +1 -1
  17. package/dist/client/_nuxt/{NCheckbox.vue.1ddacd54.js → NCheckbox.vue.d47be8e5.js} +1 -1
  18. package/dist/client/_nuxt/{NCodeBlock.vue.31f18b3e.js → NCodeBlock.vue.cd0d52ca.js} +1 -1
  19. package/dist/client/_nuxt/{NDropdown.vue.ba86ab23.js → NDropdown.vue.3bf5669f.js} +1 -1
  20. package/dist/client/_nuxt/{NIconTitle.vue.9acdbad1.js → NIconTitle.vue.590f73cc.js} +1 -1
  21. package/dist/client/_nuxt/{NLink.vue.a8242afb.js → NLink.vue.2bd59538.js} +1 -1
  22. package/dist/client/_nuxt/{NMarkdown.vue.12b1eecd.js → NMarkdown.vue.0929ffc5.js} +1 -1
  23. package/dist/client/_nuxt/{NSectionBlock.00736ab5.js → NSectionBlock.2eb550f4.js} +1 -1
  24. package/dist/client/_nuxt/{NSelect.vue.d378258a.js → NSelect.vue.120a17c7.js} +1 -1
  25. package/dist/client/_nuxt/{NSelectTabs.vue.515b8214.js → NSelectTabs.vue.15ded4ea.js} +1 -1
  26. package/dist/client/_nuxt/{NSwitch.vue.8201d15e.js → NSwitch.vue.00f0a211.js} +1 -1
  27. package/dist/client/_nuxt/{NTip.vue.8812abb8.js → NTip.vue.b82daf5f.js} +1 -1
  28. package/dist/client/_nuxt/{Navbar.vue.c509e5d2.js → Navbar.vue.454bbdad.js} +1 -1
  29. package/dist/client/_nuxt/{StateEditor.vue.2dfb9208.js → StateEditor.vue.fb44992d.js} +1 -1
  30. package/dist/client/_nuxt/{__blank.6f88f9ac.js → __blank.ed5e6688.js} +1 -1
  31. package/dist/client/_nuxt/{analyze-build.ad9015ef.js → analyze-build.a348d54f.js} +1 -1
  32. package/dist/client/_nuxt/assets.9cc20f0c.js +16 -0
  33. package/dist/client/_nuxt/{client.237dd3ea.js → client.ecec2ff5.js} +1 -1
  34. package/dist/client/_nuxt/{components.5d298b86.js → components.eb546fab.js} +1 -1
  35. package/dist/client/_nuxt/css.5abce139.js +501 -0
  36. package/dist/client/_nuxt/{custom-_name_.6bfb7c0f.js → custom-_name_.405b1822.js} +1 -1
  37. package/dist/client/_nuxt/{default.f2c7ccc5.js → default.d9ec755b.js} +1 -1
  38. package/dist/client/_nuxt/diff.22e0b108.js +1 -0
  39. package/dist/client/_nuxt/entry.102d44fe.js +27 -0
  40. package/dist/client/_nuxt/entry.a2a7b315.css +1 -0
  41. package/dist/client/_nuxt/error-404.27f7c5ed.js +1 -0
  42. package/dist/client/_nuxt/error-404.82ac0ec5.css +1 -0
  43. package/dist/client/_nuxt/{error-500.7606b55d.js → error-500.6459d9b0.js} +1 -1
  44. package/dist/client/_nuxt/error-500.ff959f66.css +1 -0
  45. package/dist/client/_nuxt/{full.69c969de.js → full.ff28afbd.js} +1 -1
  46. package/dist/client/_nuxt/{hooks.2100ca5d.js → hooks.a92c198c.js} +1 -1
  47. package/dist/client/_nuxt/html.66e44e78.js +74 -0
  48. package/dist/client/_nuxt/{imports.cb581504.js → imports.af43913a.js} +1 -1
  49. package/dist/client/_nuxt/{index.f204f87e.js → index.475555a9.js} +1 -1
  50. package/dist/client/_nuxt/{index.0d56c910.js → index.9d25c8b5.js} +1 -1
  51. package/dist/client/_nuxt/javascript.ddb4c460.js +699 -0
  52. package/dist/client/_nuxt/json-editor-vue.28570b6b.js +130 -0
  53. package/dist/client/_nuxt/json.709f1c4d.js +25 -0
  54. package/dist/client/_nuxt/{middleware.688539e5.js → middleware.17de3e64.js} +1 -1
  55. package/dist/client/_nuxt/{modules.bd62827c.js → modules.d2b55e3a.js} +1 -1
  56. package/dist/client/_nuxt/{none.1af6e0ee.js → none.60868d86.js} +1 -1
  57. package/dist/client/_nuxt/onig.0c57a370.js +1 -0
  58. package/dist/client/_nuxt/{open-graph.11338a0a.js → open-graph.b86b82fa.js} +1 -1
  59. package/dist/client/_nuxt/{overview.94507b31.js → overview.5b1b22e6.js} +1 -1
  60. package/dist/client/_nuxt/{pages.e761585a.js → pages.7ce7ead1.js} +1 -1
  61. package/dist/client/_nuxt/{payload.6d63ca94.js → payload.95a96cbc.js} +1 -1
  62. package/dist/client/_nuxt/{plugins.37532eb5.js → plugins.19d4d843.js} +1 -1
  63. package/dist/client/_nuxt/{runtime-configs.5354fdd6.js → runtime-configs.ccb12a0d.js} +1 -1
  64. package/dist/client/_nuxt/server-routes.7cc44fc0.js +9 -0
  65. package/dist/client/_nuxt/{settings.5fe86309.js → settings.105e88e7.js} +1 -1
  66. package/dist/client/_nuxt/shellscript.3d8bff4d.js +4 -0
  67. package/dist/client/_nuxt/{state-components.7bf3566d.js → state-components.f27756f9.js} +1 -1
  68. package/dist/client/_nuxt/{state-modules.065d01b4.js → state-modules.4d65021c.js} +1 -1
  69. package/dist/client/_nuxt/{storage-options.f9b1696b.js → storage-options.f78173e7.js} +1 -1
  70. package/dist/client/_nuxt/{storage.228d88e2.js → storage.38ee52e0.js} +1 -1
  71. package/dist/client/_nuxt/{terminals.0377de90.js → terminals.6138e467.js} +1 -1
  72. package/dist/client/_nuxt/timeline.aeb379fb.js +57 -0
  73. package/dist/client/_nuxt/typescript.3ef79501.js +666 -0
  74. package/dist/client/_nuxt/unocss-runtime.50cd6f0c.js +2 -0
  75. package/dist/client/_nuxt/virtual-files.c0236487.js +1 -0
  76. package/dist/client/_nuxt/vitesse-dark.ab479e3d.js +1 -0
  77. package/dist/client/_nuxt/vitesse-light.696edcfd.js +1 -0
  78. package/dist/client/_nuxt/vue-html.b80b464f.js +1 -0
  79. package/dist/client/_nuxt/vue.5b4e1de3.js +1844 -0
  80. package/dist/client/_nuxt/yaml.b29e536f.js +200 -0
  81. package/dist/client/index.html +37 -2
  82. package/dist/client/modules/analyze-build/index.html +37 -2
  83. package/dist/client/modules/assets/index.html +37 -2
  84. package/dist/client/modules/components/index.html +37 -2
  85. package/dist/client/modules/hooks/index.html +37 -2
  86. package/dist/client/modules/imports/index.html +37 -2
  87. package/dist/client/modules/middleware/index.html +37 -2
  88. package/dist/client/modules/modules/index.html +37 -2
  89. package/dist/client/modules/open-graph/index.html +37 -2
  90. package/dist/client/modules/overview/index.html +37 -2
  91. package/dist/client/modules/pages/index.html +37 -2
  92. package/dist/client/modules/payload/index.html +37 -2
  93. package/dist/client/modules/plugins/index.html +37 -2
  94. package/dist/client/modules/runtime-configs/index.html +37 -2
  95. package/dist/client/modules/server-routes/index.html +37 -2
  96. package/dist/client/modules/storage/index.html +37 -2
  97. package/dist/client/modules/terminals/index.html +37 -2
  98. package/dist/client/modules/timeline/index.html +37 -2
  99. package/dist/client/modules/virtual-files/index.html +37 -2
  100. package/dist/client/settings/index.html +37 -2
  101. package/dist/module.json +1 -1
  102. package/dist/runtime/plugins/view/Main.vue +5 -0
  103. package/dist/runtime/plugins/view/client.mjs +10 -3
  104. package/package.json +35 -37
  105. package/dist/client/_nuxt/assets.d0e2ffb5.js +0 -16
  106. package/dist/client/_nuxt/entry.582098fc.css +0 -1
  107. package/dist/client/_nuxt/entry.d12f745d.js +0 -21
  108. package/dist/client/_nuxt/error-404.91003ceb.css +0 -1
  109. package/dist/client/_nuxt/error-404.ed94fa51.js +0 -1
  110. package/dist/client/_nuxt/error-500.7e02f53c.css +0 -1
  111. package/dist/client/_nuxt/json-editor-vue.ddceb6bb.js +0 -137
  112. package/dist/client/_nuxt/server-routes.6fd21992.js +0 -9
  113. package/dist/client/_nuxt/timeline.e89330f3.js +0 -57
  114. package/dist/client/_nuxt/unocss-runtime.a5ba4c7b.js +0 -2
  115. package/dist/client/_nuxt/virtual-files.1f7c68a1.js +0 -1
@@ -0,0 +1,27 @@
1
+ function Gl(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={},Pr=[],Ft=()=>{},Wg=()=>!1,Gg=/^on[^a-z]/,_o=e=>Gg.test(e),ql=e=>e.startsWith("onUpdate:"),Ge=Object.assign,Kl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},qg=Object.prototype.hasOwnProperty,Ae=(e,t)=>qg.call(e,t),me=Array.isArray,$r=e=>Xr(e)==="[object Map]",Kr=e=>Xr(e)==="[object Set]",nu=e=>Xr(e)==="[object Date]",Kg=e=>Xr(e)==="[object RegExp]",be=e=>typeof e=="function",Ve=e=>typeof e=="string",to=e=>typeof e=="symbol",je=e=>e!==null&&typeof e=="object",Xl=e=>je(e)&&be(e.then)&&be(e.catch),ih=Object.prototype.toString,Xr=e=>ih.call(e),Xg=e=>Xr(e).slice(8,-1),ah=e=>Xr(e)==="[object Object]",Yl=e=>Ve(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,zs=Gl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Li=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Yg=/-(\w)/g,nn=Li(e=>e.replace(Yg,(t,n)=>n?n.toUpperCase():"")),Jg=/\B([A-Z])/g,gr=Li(e=>e.replace(Jg,"-$1").toLowerCase()),Mi=Li(e=>e.charAt(0).toUpperCase()+e.slice(1)),ti=Li(e=>e?`on${Mi(e)}`:""),no=(e,t)=>!Object.is(e,t),Rr=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},ai=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},li=e=>{const t=parseFloat(e);return isNaN(t)?e:t},lh=e=>{const t=Ve(e)?Number(e):NaN;return isNaN(t)?e:t};let ru;const Ya=()=>ru||(ru=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function hn(e){if(me(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Ve(r)?tv(r):hn(r);if(s)for(const o in s)t[o]=s[o]}return t}else{if(Ve(e))return e;if(je(e))return e}}const Qg=/;(?![^(]*\))/g,Zg=/:([^]+)/,ev=/\/\*[^]*?\*\//g;function tv(e){const t={};return e.replace(ev,"").split(Qg).forEach(n=>{if(n){const r=n.split(Zg);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ot(e){let t="";if(Ve(e))t=e;else if(me(e))for(let n=0;n<e.length;n++){const r=ot(e[n]);r&&(t+=r+" ")}else if(je(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Jl(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ve(t)&&(e.class=ot(t)),n&&(e.style=hn(n)),e}const nv="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",rv=Gl(nv);function ch(e){return!!e||e===""}function sv(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=cr(e[r],t[r]);return n}function cr(e,t){if(e===t)return!0;let n=nu(e),r=nu(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=to(e),r=to(t),n||r)return e===t;if(n=me(e),r=me(t),n||r)return n&&r?sv(e,t):!1;if(n=je(e),r=je(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!cr(e[i],t[i]))return!1}}return String(e)===String(t)}function Ql(e,t){return e.findIndex(n=>cr(n,t))}const wt=e=>Ve(e)?e:e==null?"":me(e)||je(e)&&(e.toString===ih||!be(e.toString))?JSON.stringify(e,uh,2):String(e),uh=(e,t)=>t&&t.__v_isRef?uh(e,t.value):$r(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:Kr(t)?{[`Set(${t.size})`]:[...t.values()]}:je(t)&&!me(t)&&!ah(t)?String(t):t;let _t;class ov{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 iv(e,t=_t){t&&t.active&&t.effects.push(e)}function fh(){return _t}function av(e){_t&&_t.cleanups.push(e)}const Zl=e=>{const t=new Set(e);return t.w=0,t.n=0,t},dh=e=>(e.w&jn)>0,hh=e=>(e.n&jn)>0,lv=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=jn},cv=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const s=t[r];dh(s)&&!hh(s)?s.delete(e):t[n++]=s,s.w&=~jn,s.n&=~jn}t.length=n}},ci=new WeakMap;let Fs=0,jn=1;const Ja=30;let It;const ir=Symbol(""),Qa=Symbol("");class ec{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,iv(this,r)}run(){if(!this.active)return this.fn();let t=It,n=In;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=It,It=this,In=!0,jn=1<<++Fs,Fs<=Ja?lv(this):su(this),this.fn()}finally{Fs<=Ja&&cv(this),jn=1<<--Fs,It=this.parent,In=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){It===this?this.deferStop=!0:this.active&&(su(this),this.onStop&&this.onStop(),this.active=!1)}}function su(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 ph=[];function Yr(){ph.push(In),In=!1}function Jr(){const e=ph.pop();In=e===void 0?!0:e}function gt(e,t,n){if(In&&It){let r=ci.get(e);r||ci.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=Zl()),mh(s)}}function mh(e,t){let n=!1;Fs<=Ja?hh(e)||(e.n|=jn,n=!dh(e)):n=!e.has(It),n&&(e.add(It),It.deps.push(e))}function mn(e,t,n,r,s,o){const i=ci.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&me(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":me(e)?Yl(n)&&a.push(i.get("length")):(a.push(i.get(ir)),$r(e)&&a.push(i.get(Qa)));break;case"delete":me(e)||(a.push(i.get(ir)),$r(e)&&a.push(i.get(Qa)));break;case"set":$r(e)&&a.push(i.get(ir));break}if(a.length===1)a[0]&&Za(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);Za(Zl(l))}}function Za(e,t){const n=me(e)?e:[...e];for(const r of n)r.computed&&ou(r);for(const r of n)r.computed||ou(r)}function ou(e,t){(e!==It||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function uv(e,t){var n;return(n=ci.get(e))==null?void 0:n.get(t)}const fv=Gl("__proto__,__v_isRef,__isVue"),gh=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(to)),dv=tc(),hv=tc(!1,!0),pv=tc(!0),iu=mv();function mv(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=$e(this);for(let o=0,i=this.length;o<i;o++)gt(r,"get",o+"");const s=r[t](...n);return s===-1||s===!1?r[t](...n.map($e)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Yr();const r=$e(this)[t].apply(this,n);return Jr(),r}}),e}function gv(e){const t=$e(this);return gt(t,"has",e),t.hasOwnProperty(e)}function tc(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?Nv:wh:t?bh:_h).get(r))return r;const i=me(r);if(!e){if(i&&Ae(iu,s))return Reflect.get(iu,s,o);if(s==="hasOwnProperty")return gv}const a=Reflect.get(r,s,o);return(to(s)?gh.has(s):fv(s))||(e||gt(r,"get",s),t)?a:Be(a)?i&&Yl(s)?a:a.value:je(a)?e?Zr(a):jt(a):a}}const vv=vh(),yv=vh(!0);function vh(e=!1){return function(n,r,s,o){let i=n[r];if(ur(i)&&Be(i)&&!Be(s))return!1;if(!e&&(!ui(s)&&!ur(s)&&(i=$e(i),s=$e(s)),!me(n)&&Be(i)&&!Be(s)))return i.value=s,!0;const a=me(n)&&Yl(r)?Number(r)<n.length:Ae(n,r),l=Reflect.set(n,r,s,o);return n===$e(o)&&(a?no(s,i)&&mn(n,"set",r,s):mn(n,"add",r,s)),l}}function _v(e,t){const n=Ae(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&mn(e,"delete",t,void 0),r}function bv(e,t){const n=Reflect.has(e,t);return(!to(t)||!gh.has(t))&&gt(e,"has",t),n}function wv(e){return gt(e,"iterate",me(e)?"length":ir),Reflect.ownKeys(e)}const yh={get:dv,set:vv,deleteProperty:_v,has:bv,ownKeys:wv},Ev={get:pv,set(e,t){return!0},deleteProperty(e,t){return!0}},xv=Ge({},yh,{get:hv,set:yv}),nc=e=>e,Di=e=>Reflect.getPrototypeOf(e);function $o(e,t,n=!1,r=!1){e=e.__v_raw;const s=$e(e),o=$e(t);n||(t!==o&&gt(s,"get",t),gt(s,"get",o));const{has:i}=Di(s),a=r?nc:n?oc:ro;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 Ro(e,t=!1){const n=this.__v_raw,r=$e(n),s=$e(e);return t||(e!==s&&gt(r,"has",e),gt(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Ao(e,t=!1){return e=e.__v_raw,!t&&gt($e(e),"iterate",ir),Reflect.get(e,"size",e)}function au(e){e=$e(e);const t=$e(this);return Di(t).has.call(t,e)||(t.add(e),mn(t,"add",e,e)),this}function lu(e,t){t=$e(t);const n=$e(this),{has:r,get:s}=Di(n);let o=r.call(n,e);o||(e=$e(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?no(t,i)&&mn(n,"set",e,t):mn(n,"add",e,t),this}function cu(e){const t=$e(this),{has:n,get:r}=Di(t);let s=n.call(t,e);s||(e=$e(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 uu(){const e=$e(this),t=e.size!==0,n=e.clear();return t&&mn(e,"clear",void 0,void 0),n}function No(e,t){return function(r,s){const o=this,i=o.__v_raw,a=$e(i),l=t?nc:e?oc:ro;return!e&&gt(a,"iterate",ir),i.forEach((c,u)=>r.call(s,l(c),l(u),o))}}function Oo(e,t,n){return function(...r){const s=this.__v_raw,o=$e(s),i=$r(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=s[e](...r),u=n?nc:t?oc:ro;return!t&&gt(o,"iterate",l?Qa:ir),{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 xn(e){return function(...t){return e==="delete"?!1:this}}function Sv(){const e={get(o){return $o(this,o)},get size(){return Ao(this)},has:Ro,add:au,set:lu,delete:cu,clear:uu,forEach:No(!1,!1)},t={get(o){return $o(this,o,!1,!0)},get size(){return Ao(this)},has:Ro,add:au,set:lu,delete:cu,clear:uu,forEach:No(!1,!0)},n={get(o){return $o(this,o,!0)},get size(){return Ao(this,!0)},has(o){return Ro.call(this,o,!0)},add:xn("add"),set:xn("set"),delete:xn("delete"),clear:xn("clear"),forEach:No(!0,!1)},r={get(o){return $o(this,o,!0,!0)},get size(){return Ao(this,!0)},has(o){return Ro.call(this,o,!0)},add:xn("add"),set:xn("set"),delete:xn("delete"),clear:xn("clear"),forEach:No(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Oo(o,!1,!1),n[o]=Oo(o,!0,!1),t[o]=Oo(o,!1,!0),r[o]=Oo(o,!0,!0)}),[e,n,t,r]}const[Cv,Tv,kv,Pv]=Sv();function rc(e,t){const n=t?e?Pv:kv:e?Tv:Cv;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(Ae(n,s)&&s in r?n:r,s,o)}const $v={get:rc(!1,!1)},Rv={get:rc(!1,!0)},Av={get:rc(!0,!1)},_h=new WeakMap,bh=new WeakMap,wh=new WeakMap,Nv=new WeakMap;function Ov(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Iv(e){return e.__v_skip||!Object.isExtensible(e)?0:Ov(Xg(e))}function jt(e){return ur(e)?e:sc(e,!1,yh,$v,_h)}function Qr(e){return sc(e,!1,xv,Rv,bh)}function Zr(e){return sc(e,!0,Ev,Av,wh)}function sc(e,t,n,r,s){if(!je(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=Iv(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function Ar(e){return ur(e)?Ar(e.__v_raw):!!(e&&e.__v_isReactive)}function ur(e){return!!(e&&e.__v_isReadonly)}function ui(e){return!!(e&&e.__v_isShallow)}function Eh(e){return Ar(e)||ur(e)}function $e(e){const t=e&&e.__v_raw;return t?$e(t):e}function xh(e){return ai(e,"__v_skip",!0),e}const ro=e=>je(e)?jt(e):e,oc=e=>je(e)?Zr(e):e;function ic(e){In&&It&&(e=$e(e),mh(e.dep||(e.dep=Zl())))}function Fi(e,t){e=$e(e);const n=e.dep;n&&Za(n)}function Be(e){return!!(e&&e.__v_isRef===!0)}function J(e){return Sh(e,!1)}function rn(e){return Sh(e,!0)}function Sh(e,t){return Be(e)?e:new Lv(e,t)}class Lv{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:$e(t),this._value=n?t:ro(t)}get value(){return ic(this),this._value}set value(t){const n=this.__v_isShallow||ui(t)||ur(t);t=n?t:$e(t),no(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:ro(t),Fi(this))}}function Ch(e){Fi(e)}function U(e){return Be(e)?e.value:e}function ac(e){return be(e)?e():U(e)}const Mv={get:(e,t,n)=>U(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 Th(e){return Ar(e)?e:new Proxy(e,Mv)}class Dv{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>ic(this),()=>Fi(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Fv(e){return new Dv(e)}function Bv(e){const t=me(e)?new Array(e.length):{};for(const n in e)t[n]=kh(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 uv($e(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 lc(e,t,n){return Be(e)?e:be(e)?new zv(e):je(e)&&arguments.length>1?kh(e,t,n):J(e)}function kh(e,t,n){const r=e[t];return Be(r)?r:new jv(e,t,n)}class Hv{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 ec(t,()=>{this._dirty||(this._dirty=!0,Fi(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=$e(this);return ic(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Uv(e,t,n=!1){let r,s;const o=be(e);return o?(r=e,s=Ft):(r=e.get,s=e.set),new Hv(r,s,o||!s,n)}function Ln(e,t,n,r){let s;try{s=r?e(...r):e()}catch(o){es(o,t,n)}return s}function Rt(e,t,n,r){if(be(e)){const o=Ln(e,t,n,r);return o&&Xl(o)&&o.catch(i=>{es(i,t,n)}),o}const s=[];for(let o=0;o<e.length;o++)s.push(Rt(e[o],t,n,r));return s}function es(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}}Vv(e,n,s,r)}function Vv(e,t,n,r=!0){console.error(e)}let so=!1,el=!1;const ct=[];let Jt=0;const Nr=[];let ln=null,Jn=0;const Ph=Promise.resolve();let cc=null;function xt(e){const t=cc||Ph;return e?t.then(this?e.bind(this):e):t}function Wv(e){let t=Jt+1,n=ct.length;for(;t<n;){const r=t+n>>>1;oo(ct[r])<e?t=r+1:n=r}return t}function Bi(e){(!ct.length||!ct.includes(e,so&&e.allowRecurse?Jt+1:Jt))&&(e.id==null?ct.push(e):ct.splice(Wv(e.id),0,e),$h())}function $h(){!so&&!el&&(el=!0,cc=Ph.then(Ah))}function Gv(e){const t=ct.indexOf(e);t>Jt&&ct.splice(t,1)}function Rh(e){me(e)?Nr.push(...e):(!ln||!ln.includes(e,e.allowRecurse?Jn+1:Jn))&&Nr.push(e),$h()}function fu(e,t=so?Jt+1:0){for(;t<ct.length;t++){const n=ct[t];n&&n.pre&&(ct.splice(t,1),t--,n())}}function fi(e){if(Nr.length){const t=[...new Set(Nr)];if(Nr.length=0,ln){ln.push(...t);return}for(ln=t,ln.sort((n,r)=>oo(n)-oo(r)),Jn=0;Jn<ln.length;Jn++)ln[Jn]();ln=null,Jn=0}}const oo=e=>e.id==null?1/0:e.id,qv=(e,t)=>{const n=oo(e)-oo(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ah(e){el=!1,so=!0,ct.sort(qv);const t=Ft;try{for(Jt=0;Jt<ct.length;Jt++){const n=ct[Jt];n&&n.active!==!1&&Ln(n,null,14)}}finally{Jt=0,ct.length=0,fi(),so=!1,cc=null,(ct.length||Nr.length)&&Ah()}}function Kv(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(li))}let a,l=r[a=ti(t)]||r[a=ti(nn(t))];!l&&o&&(l=r[a=ti(gr(t))]),l&&Rt(l,e,6,s);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Rt(c,e,6,s)}}function Nh(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(!be(e)){const l=c=>{const u=Nh(c,t,!0);u&&(a=!0,Ge(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(je(e)&&r.set(e,null),null):(me(o)?o.forEach(l=>i[l]=null):Ge(i,o),je(e)&&r.set(e,i),i)}function ji(e,t){return!e||!_o(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ae(e,t[0].toLowerCase()+t.slice(1))||Ae(e,gr(t))||Ae(e,t))}let nt=null,zi=null;function di(e){const t=nt;return nt=e,zi=e&&e.type.__scopeId||null,t}function Xv(e){zi=e}function Yv(){zi=null}const Jv=e=>pe;function pe(e,t=nt,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Cu(-1);const o=di(t);let i;try{i=e(...s)}finally{di(o),r._d&&Cu(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 _,y;const v=di(e);try{if(n.shapeFlag&4){const b=s||r;_=Ct(u.call(b,b,f,o,p,d,h)),y=l}else{const b=t;_=Ct(b.length>1?b(o,{attrs:l,slots:a,emit:c}):b(o,null)),y=t.props?l:Zv(l)}}catch(b){Ws.length=0,es(b,e,1),_=Y(ht)}let w=_;if(y&&m!==!1){const b=Object.keys(y),{shapeFlag:C}=w;b.length&&C&7&&(i&&b.some(ql)&&(y=ey(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),_=w,di(v),_}function Qv(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(Hr(r)){if(r.type!==ht||r.children==="v-if"){if(t)return;t=r}}else return}return t}const Zv=e=>{let t;for(const n in e)(n==="class"||n==="style"||_o(n))&&((t||(t={}))[n]=e[n]);return t},ey=(e,t)=>{const n={};for(const r in e)(!ql(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function ty(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?du(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]&&!ji(c,d))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?du(r,i,c):!0:!!i;return!1}function du(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]&&!ji(n,o))return!0}return!1}function uc({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Oh=e=>e.__isSuspense,ny={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,l,c){e==null?ry(t,n,r,s,o,i,a,l,c):sy(e,t,n,r,s,i,a,l,c)},hydrate:oy,create:dc,normalize:iy},fc=ny;function io(e,t){const n=e.props&&e.props[t];be(n)&&n()}function ry(e,t,n,r,s,o,i,a,l){const{p:c,o:{createElement:u}}=l,f=u("div"),d=e.suspense=dc(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?(io(e,"onPending"),io(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,o,i),Or(d,e.ssFallback)):d.resolve(!1,!0)}function sy(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:_,isHydrating:y}=f;if(m)f.pendingBranch=d,Lt(d,m)?(l(m,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():_&&(l(h,p,n,r,s,null,o,i,a),Or(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"),_?(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),Or(f,p))):h&&Lt(d,h)?(l(h,d,n,r,s,f,o,i,a),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0&&f.resolve()));else if(h&&Lt(d,h))l(h,d,n,r,s,f,o,i,a),Or(f,d);else if(io(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 dc(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:_}}=c;let y;const v=ay(e);v&&t?.pendingBranch&&(y=t.pendingId,t.deps++);const w=e.props?lh(e.props.timeout):void 0,b={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:P,activeBranch:x,pendingBranch:E,pendingId:k,effects:S,parentComponent:T,container:$}=b;if(b.isHydrating)b.isHydrating=!1;else if(!C){const I=x&&E.transition&&E.transition.mode==="out-in";I&&(x.transition.afterLeave=()=>{k===b.pendingId&&d(E,$,D,0)});let{anchor:D}=b;x&&(D=h(x),p(x,T,b,!0)),I||d(E,$,D,0)}Or(b,E),b.pendingBranch=null,b.isInFallback=!1;let R=b.parent,L=!1;for(;R;){if(R.pendingBranch){R.effects.push(...S),L=!0;break}R=R.parent}L||Rh(S),b.effects=[],v&&t&&t.pendingBranch&&y===t.pendingId&&(t.deps--,t.deps===0&&!g&&t.resolve()),io(P,"onResolve")},fallback(C){if(!b.pendingBranch)return;const{vnode:g,activeBranch:P,parentComponent:x,container:E,isSVG:k}=b;io(g,"onFallback");const S=h(P),T=()=>{b.isInFallback&&(f(null,C,E,S,x,null,k,a,l),Or(b,C))},$=C.transition&&C.transition.mode==="out-in";$&&(P.transition.afterLeave=T),b.isInFallback=!0,p(P,x,null,!0),$||T()},move(C,g,P){b.activeBranch&&d(b.activeBranch,C,g,P),b.container=C},next(){return b.activeBranch&&h(b.activeBranch)},registerDep(C,g){const P=!!b.pendingBranch;P&&b.deps++;const x=C.vnode.el;C.asyncDep.catch(E=>{es(E,C,0)}).then(E=>{if(C.isUnmounted||b.isUnmounted||b.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),b,i,l),S&&_(S),uc(C,k.el),P&&--b.deps===0&&b.resolve()})},unmount(C,g){b.isUnmounted=!0,b.activeBranch&&p(b.activeBranch,n,C,g),b.pendingBranch&&p(b.pendingBranch,n,C,g)}};return b}function oy(e,t,n,r,s,o,i,a,l){const c=t.suspense=dc(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 iy(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=hu(r?n.default:n),e.ssFallback=r?hu(n.fallback):Y(ht)}function hu(e){let t;if(be(e)){const n=zr&&e._c;n&&(e._d=!1,Q()),e=e(),n&&(e._d=!0,t=Pt,rp())}return me(e)&&(e=Qv(e)),e=Ct(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Ih(e,t){t&&t.pendingBranch?me(e)?t.effects.push(...e):t.effects.push(e):Rh(e)}function Or(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,s=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=s,uc(r,s))}function ay(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function Fr(e,t){return hc(e,null,t)}const Io={};function ze(e,t,n){return hc(e,t,n)}function hc(e,t,{immediate:n,deep:r,flush:s,onTrack:o,onTrigger:i}=Ue){var a;const l=fh()===((a=Ke)==null?void 0:a.scope)?Ke:null;let c,u=!1,f=!1;if(Be(e)?(c=()=>e.value,u=ui(e)):Ar(e)?(c=()=>e,r=!0):me(e)?(f=!0,u=e.some(b=>Ar(b)||ui(b)),c=()=>e.map(b=>{if(Be(b))return b.value;if(Ar(b))return nr(b);if(be(b))return Ln(b,l,2)})):be(e)?t?c=()=>Ln(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return d&&d(),Rt(e,l,3,[p])}:c=Ft,t&&r){const b=c;c=()=>nr(b())}let d,p=b=>{d=v.onStop=()=>{Ln(b,l,4)}},h;if(Ur)if(p=Ft,t?n&&Rt(t,l,3,[c(),f?[]:void 0,p]):c(),s==="sync"){const b=Yy();h=b.__watcherHandles||(b.__watcherHandles=[])}else return Ft;let m=f?new Array(e.length).fill(Io):Io;const _=()=>{if(v.active)if(t){const b=v.run();(r||u||(f?b.some((C,g)=>no(C,m[g])):no(b,m)))&&(d&&d(),Rt(t,l,3,[b,m===Io?void 0:f&&m[0]===Io?[]:m,p]),m=b)}else v.run()};_.allowRecurse=!!t;let y;s==="sync"?y=_:s==="post"?y=()=>st(_,l&&l.suspense):(_.pre=!0,l&&(_.id=l.uid),y=()=>Bi(_));const v=new ec(c,y);t?n?_():m=v.run():s==="post"?st(v.run.bind(v),l&&l.suspense):v.run();const w=()=>{v.stop(),l&&l.scope&&Kl(l.scope.effects,v)};return h&&h.push(w),w}function ly(e,t,n){const r=this.proxy,s=Ve(e)?e.includes(".")?Lh(r,e):()=>r[e]:e.bind(r,r);let o;be(t)?o=t:(o=t.handler,n=t);const i=Ke;zn(this);const a=hc(s,o.bind(r),n);return i?zn(i):Mn(),a}function Lh(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 nr(e,t){if(!je(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Be(e))nr(e.value,t);else if(me(e))for(let n=0;n<e.length;n++)nr(e[n],t);else if(Kr(e)||$r(e))e.forEach(n=>{nr(n,t)});else if(ah(e))for(const n in e)nr(e[n],t);return e}function hi(e,t){const n=nt;if(n===null)return e;const r=Wi(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&&(be(i)&&(i={mounted:i,updated:i}),i.deep&&nr(a),s.push({dir:i,instance:r,value:a,oldValue:void 0,arg:l,modifiers:c}))}return e}function Yt(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&&(Yr(),Rt(l,n,8,[e.el,a,e,t]),Jr())}}function Mh(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return En(()=>{e.isMounted=!0}),ts(()=>{e.isUnmounting=!0}),e}const St=[Function,Array],Dh={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},cy={name:"BaseTransition",props:Dh,setup(e,{slots:t}){const n=Ht(),r=Mh();let s;return()=>{const o=t.default&&pc(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=$e(e),{mode:l}=a;if(r.isLeaving)return ma(i);const c=pu(i);if(!c)return ma(i);const u=ao(c,a,r,n);Br(c,u);const f=n.subTree,d=f&&pu(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&&(!Lt(c,d)||p)){const m=ao(d,a,r,n);if(Br(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=(_,y,v)=>{const w=Fh(r,d);w[String(d.key)]=d,_._leaveCb=()=>{y(),_._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=v})}return i}}},uy=cy;function Fh(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 ao(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:_,onAfterAppear:y,onAppearCancelled:v}=t,w=String(e.key),b=Fh(n,e),C=(x,E)=>{x&&Rt(x,r,9,E)},g=(x,E)=>{const k=E[1];C(x,E),me(x)?x.every(S=>S.length<=1)&&k():x.length<=1&&k()},P={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=b[w];k&&Lt(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=_||l,k=y||c,S=v||u;else return;let T=!1;const $=x._enterCb=R=>{T||(T=!0,R?C(S,[x]):C(k,[x]),P.delayedLeave&&P.delayedLeave(),x._enterCb=void 0)};E?g(E,[x,$]):$()},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 T=x._leaveCb=$=>{S||(S=!0,E(),$?C(h,[x]):C(p,[x]),x._leaveCb=void 0,b[k]===e&&delete b[k])};b[k]=e,d?g(d,[x,T]):T()},clone(x){return ao(x,t,n,r)}};return P}function ma(e){if(bo(e))return e=vn(e),e.children=null,e}function pu(e){return bo(e)?e.children?e.children[0]:void 0:e}function Br(e,t){e.shapeFlag&6&&e.component?Br(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 pc(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(pc(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 Te(e,t){return be(e)?(()=>Ge({name:e.name},t,{setup:e}))():e}const ar=e=>!!e.type.__asyncLoader;function pi(e){be(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,_)=>{a(h,()=>m(f()),()=>_(h),u+1)});throw h}).then(h=>p!==l&&l?l:(h&&(h.__esModule||h[Symbol.toStringTag]==="Module")&&(h=h.default),c=h,h)))};return Te({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const p=Ke;if(c)return()=>ga(c,p);const h=v=>{l=null,es(v,p,13,!r)};if(i&&p.suspense||Ur)return d().then(v=>()=>ga(v,p)).catch(v=>(h(v),()=>r?Y(r,{error:v}):null));const m=J(!1),_=J(),y=J(!!s);return s&&setTimeout(()=>{y.value=!1},s),o!=null&&setTimeout(()=>{if(!m.value&&!_.value){const v=new Error(`Async component timed out after ${o}ms.`);h(v),_.value=v}},o),d().then(()=>{m.value=!0,p.parent&&bo(p.parent.vnode)&&Bi(p.parent.update)}).catch(v=>{h(v),_.value=v}),()=>{if(m.value&&c)return ga(c,p);if(_.value&&r)return Y(r,{error:_.value});if(n&&!y.value)return Y(n)}}})}function ga(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=Y(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const bo=e=>e.type.__isKeepAlive,fy={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Ht(),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,b,C,g)=>{const P=v.component;c(v,w,b,0,a),l(P.vnode,v,w,b,P,a,C,v.slotScopeIds,g),st(()=>{P.isDeactivated=!1,P.a&&Rr(P.a);const x=v.props&&v.props.onVnodeMounted;x&&mt(x,P.parent,v)},a)},r.deactivate=v=>{const w=v.component;c(v,d,null,1,a),st(()=>{w.da&&Rr(w.da);const b=v.props&&v.props.onVnodeUnmounted;b&&mt(b,w.parent,v),w.isDeactivated=!0},a)};function p(v){va(v),u(v,n,a,!0)}function h(v){s.forEach((w,b)=>{const C=al(w.type);C&&(!v||!v(C))&&m(b)})}function m(v){const w=s.get(v);!i||!Lt(w,i)?p(w):i&&va(i),s.delete(v),o.delete(v)}ze(()=>[e.include,e.exclude],([v,w])=>{v&&h(b=>Bs(v,b)),w&&h(b=>!Bs(w,b))},{flush:"post",deep:!0});let _=null;const y=()=>{_!=null&&s.set(_,ya(n.subTree))};return En(y),mc(y),ts(()=>{s.forEach(v=>{const{subTree:w,suspense:b}=n,C=ya(w);if(v.type===C.type&&v.key===C.key){va(C);const g=C.component.da;g&&st(g,b);return}p(v)})}),()=>{if(_=null,!t.default)return null;const v=t.default(),w=v[0];if(v.length>1)return i=null,v;if(!Hr(w)||!(w.shapeFlag&4)&&!(w.shapeFlag&128))return i=null,w;let b=ya(w);const C=b.type,g=al(ar(b)?b.type.__asyncResolved||{}:C),{include:P,exclude:x,max:E}=e;if(P&&(!g||!Bs(P,g))||x&&g&&Bs(x,g))return i=b,w;const k=b.key==null?C:b.key,S=s.get(k);return b.el&&(b=vn(b),w.shapeFlag&128&&(w.ssContent=b)),_=k,S?(b.el=S.el,b.component=S.component,b.transition&&Br(b,b.transition),b.shapeFlag|=512,o.delete(k),o.add(k)):(o.add(k),E&&o.size>parseInt(E,10)&&m(o.values().next().value)),b.shapeFlag|=256,i=b,Oh(w.type)?w:b}}},dy=fy;function Bs(e,t){return me(e)?e.some(n=>Bs(n,t)):Ve(e)?e.split(",").includes(t):Kg(e)?e.test(t):!1}function Bh(e,t){zh(e,"a",t)}function jh(e,t){zh(e,"da",t)}function zh(e,t,n=Ke){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Hi(t,r,n),n){let s=n.parent;for(;s&&s.parent;)bo(s.parent.vnode)&&hy(r,t,n,s),s=s.parent}}function hy(e,t,n,r){const s=Hi(t,e,r,!0);lo(()=>{Kl(r[t],s)},n)}function va(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ya(e){return e.shapeFlag&128?e.ssContent:e}function Hi(e,t,n=Ke,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Yr(),zn(n);const a=Rt(t,n,e,i);return Mn(),Jr(),a});return r?s.unshift(o):s.push(o),o}}const wn=e=>(t,n=Ke)=>(!Ur||e==="sp")&&Hi(e,(...r)=>t(...r),n),Hh=wn("bm"),En=wn("m"),py=wn("bu"),mc=wn("u"),ts=wn("bum"),lo=wn("um"),my=wn("sp"),gy=wn("rtg"),vy=wn("rtc");function Uh(e,t=Ke){Hi("ec",e,t)}const gc="components",yy="directives";function gn(e,t){return vc(gc,e,!0,t)||e}const Vh=Symbol.for("v-ndc");function fr(e){return Ve(e)?vc(gc,e,!1)||e:e||Vh}function b2(e){return vc(yy,e)}function vc(e,t,n=!0,r=!1){const s=nt||Ke;if(s){const o=s.type;if(e===gc){const a=al(o,!1);if(a&&(a===t||a===nn(t)||a===Mi(nn(t))))return o}const i=mu(s[e]||o[e],t)||mu(s.appContext[e],t);return!i&&r?o:i}}function mu(e,t){return e&&(e[t]||e[nn(t)]||e[Mi(nn(t))])}function co(e,t,n,r){let s;const o=n&&n[r];if(me(e)||Ve(e)){s=new Array(e.length);for(let i=0,a=e.length;i<a;i++)s[i]=t(e[i],i,void 0,o&&o[i])}else if(typeof e=="number"){s=new Array(e);for(let i=0;i<e;i++)s[i]=t(i+1,i,void 0,o&&o[i])}else if(je(e))if(e[Symbol.iterator])s=Array.from(e,(i,a)=>t(i,a,void 0,o&&o[a]));else{const i=Object.keys(e);s=new Array(i.length);for(let a=0,l=i.length;a<l;a++){const c=i[a];s[a]=t(e[c],c,a,o&&o[a])}}else s=[];return n&&(n[r]=s),s}function _y(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(me(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&&ar(nt.parent)&&nt.parent.isCE)return t!=="default"&&(n.name=t),Y("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),Q();const i=o&&Wh(o(n)),a=Se(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 Wh(e){return e.some(t=>Hr(t)?!(t.type===ht||t.type===Ie&&!Wh(t.children)):!0)?e:null}function w2(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:ti(r)]=e[r];return n}const tl=e=>e?ip(e)?Wi(e)||e.proxy:tl(e.parent):null,Hs=Ge(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=>yc(e),$forceUpdate:e=>e.f||(e.f=()=>Bi(e.update)),$nextTick:e=>e.n||(e.n=xt.bind(e.proxy)),$watch:e=>ly.bind(e)}),_a=(e,t)=>e!==Ue&&!e.__isScriptSetup&&Ae(e,t),by={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&&Ae(s,t))return i[t]=2,s[t];if((c=e.propsOptions[0])&&Ae(c,t))return i[t]=3,o[t];if(n!==Ue&&Ae(n,t))return i[t]=4,n[t];nl&&(i[t]=0)}}const u=Hs[t];let f,d;if(u)return t==="$attrs"&&gt(e,"get",t),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==Ue&&Ae(n,t))return i[t]=4,n[t];if(d=l.config.globalProperties,Ae(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&&Ae(r,t)?(r[t]=n,!0):Ae(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&&Ae(e,i)||_a(t,i)||(a=o[0])&&Ae(a,i)||Ae(r,i)||Ae(Hs,i)||Ae(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ae(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function gu(e){return me(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function E2(e){const t=Ht();let n=e();return Mn(),Xl(n)&&(n=n.catch(r=>{throw zn(t),r})),[n,()=>zn(t)]}let nl=!0;function wy(e){const t=yc(e),n=e.proxy,r=e.ctx;nl=!1,t.beforeCreate&&vu(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:_,beforeDestroy:y,beforeUnmount:v,destroyed:w,unmounted:b,render:C,renderTracked:g,renderTriggered:P,errorCaptured:x,serverPrefetch:E,expose:k,inheritAttrs:S,components:T,directives:$,filters:R}=t;if(c&&Ey(c,r,null),i)for(const D in i){const F=i[D];be(F)&&(r[D]=F.bind(n))}if(s){const D=s.call(n,n);je(D)&&(e.data=jt(D))}if(nl=!0,o)for(const D in o){const F=o[D],H=be(F)?F.bind(n,n):be(F.get)?F.get.bind(n,n):Ft,ne=!be(F)&&be(F.set)?F.set.bind(n):Ft,re=ge({get:H,set:ne});Object.defineProperty(r,D,{enumerable:!0,configurable:!0,get:()=>re.value,set:se=>re.value=se})}if(a)for(const D in a)Gh(a[D],r,n,D);if(l){const D=be(l)?l.call(n):l;Reflect.ownKeys(D).forEach(F=>{lr(F,D[F])})}u&&vu(u,e,"c");function I(D,F){me(F)?F.forEach(H=>D(H.bind(n))):F&&D(F.bind(n))}if(I(Hh,f),I(En,d),I(py,p),I(mc,h),I(Bh,m),I(jh,_),I(Uh,x),I(vy,g),I(gy,P),I(ts,v),I(lo,b),I(my,E),me(k))if(k.length){const D=e.exposed||(e.exposed={});k.forEach(F=>{Object.defineProperty(D,F,{get:()=>n[F],set:H=>n[F]=H})})}else e.exposed||(e.exposed={});C&&e.render===Ft&&(e.render=C),S!=null&&(e.inheritAttrs=S),T&&(e.components=T),$&&(e.directives=$)}function Ey(e,t,n=Ft){me(e)&&(e=rl(e));for(const r in e){const s=e[r];let o;je(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 vu(e,t,n){Rt(me(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Gh(e,t,n,r){const s=r.includes(".")?Lh(n,r):()=>n[r];if(Ve(e)){const o=t[e];be(o)&&ze(s,o)}else if(be(e))ze(s,e.bind(n));else if(je(e))if(me(e))e.forEach(o=>Gh(o,t,n,r));else{const o=be(e.handler)?e.handler.bind(n):t[e.handler];be(o)&&ze(s,o,e)}}function yc(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)),je(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=xy[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const xy={data:yu,props:_u,emits:_u,methods:js,computed:js,beforeCreate:ft,created:ft,beforeMount:ft,mounted:ft,beforeUpdate:ft,updated:ft,beforeDestroy:ft,beforeUnmount:ft,destroyed:ft,unmounted:ft,activated:ft,deactivated:ft,errorCaptured:ft,serverPrefetch:ft,components:js,directives:js,watch:Cy,provide:yu,inject:Sy};function yu(e,t){return t?e?function(){return Ge(be(e)?e.call(this,this):e,be(t)?t.call(this,this):t)}:t:e}function Sy(e,t){return js(rl(e),rl(t))}function rl(e){if(me(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ft(e,t){return e?[...new Set([].concat(e,t))]:t}function js(e,t){return e?Ge(Object.create(null),e,t):t}function _u(e,t){return e?me(e)&&me(t)?[...new Set([...e,...t])]:Ge(Object.create(null),gu(e),gu(t??{})):t}function Cy(e,t){if(!e)return t;if(!t)return e;const n=Ge(Object.create(null),e);for(const r in t)n[r]=ft(e[r],t[r]);return n}function qh(){return{app:null,config:{isNativeTag:Wg,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 Ty=0;function ky(e,t){return function(r,s=null){be(r)||(r=Ge({},r)),s!=null&&!je(s)&&(s=null);const o=qh(),i=new Set;let a=!1;const l=o.app={_uid:Ty++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:lp,get config(){return o.config},set config(c){},use(c,...u){return i.has(c)||(c&&be(c.install)?(i.add(c),c.install(l,...u)):be(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=Y(r,s);return d.appContext=o,u&&t?t(d,c):e(d,c,f),a=!0,l._container=c,c.__vue_app__=l,Wi(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){uo=l;try{return c()}finally{uo=null}}};return l}}let uo=null;function lr(e,t){if(Ke){let n=Ke.provides;const r=Ke.parent&&Ke.parent.provides;r===n&&(n=Ke.provides=Object.create(r)),n[e]=t}}function dt(e,t,n=!1){const r=Ke||nt;if(r||uo){const s=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:uo._context.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&be(t)?t.call(r&&r.proxy):t}}function Kh(){return!!(Ke||nt||uo)}function Py(e,t,n,r=!1){const s={},o={};ai(o,Ui,1),e.propsDefaults=Object.create(null),Xh(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:Qr(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function $y(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=$e(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(ji(e.emitsOptions,d))continue;const p=t[d];if(l)if(Ae(o,d))p!==o[d]&&(o[d]=p,c=!0);else{const h=nn(d);s[h]=sl(l,a,h,p,e,!1)}else p!==o[d]&&(o[d]=p,c=!0)}}}else{Xh(e,t,s,o)&&(c=!0);let u;for(const f in a)(!t||!Ae(t,f)&&((u=gr(f))===f||!Ae(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||!Ae(t,f))&&(delete o[f],c=!0)}c&&mn(e,"set","$attrs")}function Xh(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(zs(l))continue;const c=t[l];let u;s&&Ae(s,u=nn(l))?!o||!o.includes(u)?n[u]=c:(a||(a={}))[u]=c:ji(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(o){const l=$e(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,!Ae(c,f))}}return i}function sl(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=Ae(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&be(l)){const{propsDefaults:c}=s;n in c?r=c[n]:(zn(s),r=c[n]=l.call(null,t),Mn())}else r=l}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===gr(n))&&(r=!0))}return r}function Yh(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(!be(e)){const u=f=>{l=!0;const[d,p]=Yh(f,t,!0);Ge(i,d),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!l)return je(e)&&r.set(e,Pr),Pr;if(me(o))for(let u=0;u<o.length;u++){const f=nn(o[u]);bu(f)&&(i[f]=Ue)}else if(o)for(const u in o){const f=nn(u);if(bu(f)){const d=o[u],p=i[f]=me(d)||be(d)?{type:d}:Ge({},d);if(p){const h=xu(Boolean,p.type),m=xu(String,p.type);p[0]=h>-1,p[1]=m<0||h<m,(h>-1||Ae(p,"default"))&&a.push(f)}}}const c=[i,a];return je(e)&&r.set(e,c),c}function bu(e){return e[0]!=="$"}function wu(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Eu(e,t){return wu(e)===wu(t)}function xu(e,t){return me(t)?t.findIndex(n=>Eu(n,e)):be(t)&&Eu(t,e)?0:-1}const Jh=e=>e[0]==="_"||e==="$stable",_c=e=>me(e)?e.map(Ct):[Ct(e)],Ry=(e,t,n)=>{if(t._n)return t;const r=pe((...s)=>_c(t(...s)),n);return r._c=!1,r},Qh=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Jh(s))continue;const o=e[s];if(be(o))t[s]=Ry(s,o,r);else if(o!=null){const i=_c(o);t[s]=()=>i}}},Zh=(e,t)=>{const n=_c(t);e.slots.default=()=>n},Ay=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=$e(t),ai(t,"_",n)):Qh(t,e.slots={})}else e.slots={},t&&Zh(e,t);ai(e.slots,Ui,1)},Ny=(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:(Ge(s,t),!n&&a===1&&delete s._):(o=!t.$stable,Qh(t,s)),i=t}else t&&(Zh(e,t),i={default:1});if(o)for(const a in s)!Jh(a)&&!(a in i)&&delete s[a]};function gi(e,t,n,r,s=!1){if(me(e)){e.forEach((d,p)=>gi(d,t&&(me(t)?t[p]:t),n,r,s));return}if(ar(r)&&!s)return;const o=r.shapeFlag&4?Wi(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,Ae(f,c)&&(f[c]=null)):Be(c)&&(c.value=null)),be(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?Ae(f,l)?f[l]:u[l]:l.value;s?me(m)&&Kl(m,o):me(m)?m.includes(o)||m.push(o):d?(u[l]=[o],Ae(f,l)&&(f[l]=u[l])):(l.value=[o],e.k&&(u[e.k]=l.value))}else d?(u[l]=i,Ae(f,l)&&(f[l]=i)):p&&(l.value=i,e.k&&(u[e.k]=i))};i?(h.id=-1,st(h,n)):h()}}}let Sn=!1;const Lo=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Mo=e=>e.nodeType===8;function Oy(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),fi(),v._vnode=y;return}Sn=!1,f(v.firstChild,y,null,null,null),fi(),v._vnode=y,Sn&&console.error("Hydration completed but contains mismatches.")},f=(y,v,w,b,C,g=!1)=>{const P=Mo(y)&&y.data==="[",x=()=>m(y,v,w,b,C,P),{type:E,ref:k,shapeFlag:S,patchFlag:T}=v;let $=y.nodeType;v.el=y,T===-2&&(g=!1,v.dynamicChildren=null);let R=null;switch(E){case jr:$!==3?v.children===""?(l(v.el=s(""),i(y),y),R=y):R=x():(y.data!==v.children&&(Sn=!0,y.data=v.children),R=o(y));break;case ht:$!==8||P?R=x():R=o(y);break;case Vs:if(P&&(y=o(y),$=y.nodeType),$===1||$===3){R=y;const L=!v.children.length;for(let I=0;I<v.staticCount;I++)L&&(v.children+=R.nodeType===1?R.outerHTML:R.data),I===v.staticCount-1&&(v.anchor=R),R=o(R);return P?o(R):R}else x();break;case Ie:P?R=h(y,v,w,b,C,g):R=x();break;default:if(S&1)$!==1||v.type.toLowerCase()!==y.tagName.toLowerCase()?R=x():R=d(y,v,w,b,C,g);else if(S&6){v.slotScopeIds=C;const L=i(y);if(t(v,L,null,w,b,Lo(L),g),R=P?_(y):o(y),R&&Mo(R)&&R.data==="teleport end"&&(R=o(R)),ar(v)){let I;P?(I=Y(Ie),I.anchor=R?R.previousSibling:L.lastChild):I=y.nodeType===3?Le(""):Y("div"),I.el=y,v.component.subTree=I}}else S&64?$!==8?R=x():R=v.type.hydrate(y,v,w,b,C,g,e,p):S&128&&(R=v.type.hydrate(y,v,w,b,Lo(i(y)),C,g,e,f))}return k!=null&&gi(k,null,b,v),R},d=(y,v,w,b,C,g)=>{g=g||!!v.dynamicChildren;const{type:P,props:x,patchFlag:E,shapeFlag:k,dirs:S}=v,T=P==="input"&&S||P==="option";if(T||E!==-1){if(S&&Yt(v,null,w,"created"),x)if(T||!g||E&48)for(const R in x)(T&&R.endsWith("value")||_o(R)&&!zs(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 $;if(($=x&&x.onVnodeBeforeMount)&&mt($,w,v),S&&Yt(v,null,w,"beforeMount"),(($=x&&x.onVnodeMounted)||S)&&Ih(()=>{$&&mt($,w,v),S&&Yt(v,null,w,"mounted")},b),k&16&&!(x&&(x.innerHTML||x.textContent))){let R=p(y.firstChild,v,y,w,b,C,g);for(;R;){Sn=!0;const L=R;R=R.nextSibling,a(L)}}else k&8&&y.textContent!==v.children&&(Sn=!0,y.textContent=v.children)}return y.nextSibling},p=(y,v,w,b,C,g,P)=>{P=P||!!v.dynamicChildren;const x=v.children,E=x.length;for(let k=0;k<E;k++){const S=P?x[k]:x[k]=Ct(x[k]);if(y)y=f(y,S,b,C,g,P);else{if(S.type===jr&&!S.children)continue;Sn=!0,n(null,S,w,null,b,C,Lo(w),g)}}return y},h=(y,v,w,b,C,g)=>{const{slotScopeIds:P}=v;P&&(C=C?C.concat(P):P);const x=i(y),E=p(o(y),v,x,w,b,C,g);return E&&Mo(E)&&E.data==="]"?o(v.anchor=E):(Sn=!0,l(v.anchor=c("]"),x,E),E)},m=(y,v,w,b,C,g)=>{if(Sn=!0,v.el=null,g){const E=_(y);for(;;){const k=o(y);if(k&&k!==E)a(k);else break}}const P=o(y),x=i(y);return a(y),n(null,v,x,P,w,b,Lo(x),C),P},_=y=>{let v=0;for(;y;)if(y=o(y),y&&Mo(y)&&(y.data==="["&&v++,y.data==="]")){if(v===0)return o(y);v--}return y};return[u,f]}const st=Ih;function Iy(e){return ep(e)}function Ly(e){return ep(e,Oy)}function ep(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=Ft,insertStaticContent:h}=e,m=(A,N,M,B=null,j=null,z=null,te=!1,G=null,q=!!N.dynamicChildren)=>{if(A===N)return;A&&!Lt(A,N)&&(B=O(A),se(A,j,z,!0),A=null),N.patchFlag===-2&&(q=!1,N.dynamicChildren=null);const{type:W,ref:ie,shapeFlag:ae}=N;switch(W){case jr:_(A,N,M,B);break;case ht:y(A,N,M,B);break;case Vs:A==null&&v(N,M,B,te);break;case Ie:T(A,N,M,B,j,z,te,G,q);break;default:ae&1?C(A,N,M,B,j,z,te,G,q):ae&6?$(A,N,M,B,j,z,te,G,q):(ae&64||ae&128)&&W.process(A,N,M,B,j,z,te,G,q,V)}ie!=null&&j&&gi(ie,A&&A.ref,z,N||A,!N)},_=(A,N,M,B)=>{if(A==null)r(N.el=a(N.children),M,B);else{const j=N.el=A.el;N.children!==A.children&&c(j,N.children)}},y=(A,N,M,B)=>{A==null?r(N.el=l(N.children||""),M,B):N.el=A.el},v=(A,N,M,B)=>{[A.el,A.anchor]=h(A.children,N,M,B,A.el,A.anchor)},w=({el:A,anchor:N},M,B)=>{let j;for(;A&&A!==N;)j=d(A),r(A,M,B),A=j;r(N,M,B)},b=({el:A,anchor:N})=>{let M;for(;A&&A!==N;)M=d(A),s(A),A=M;s(N)},C=(A,N,M,B,j,z,te,G,q)=>{te=te||N.type==="svg",A==null?g(N,M,B,j,z,te,G,q):E(A,N,j,z,te,G,q)},g=(A,N,M,B,j,z,te,G)=>{let q,W;const{type:ie,props:ae,shapeFlag:ue,transition:ee,dirs:le}=A;if(q=A.el=i(A.type,z,ae&&ae.is,ae),ue&8?u(q,A.children):ue&16&&x(A.children,q,null,B,j,z&&ie!=="foreignObject",te,G),le&&Yt(A,null,B,"created"),P(q,A,A.scopeId,te,B),ae){for(const de in ae)de!=="value"&&!zs(de)&&o(q,de,null,ae[de],z,A.children,B,j,Re);"value"in ae&&o(q,"value",null,ae.value),(W=ae.onVnodeBeforeMount)&&mt(W,B,A)}le&&Yt(A,null,B,"beforeMount");const oe=(!j||j&&!j.pendingBranch)&&ee&&!ee.persisted;oe&&ee.beforeEnter(q),r(q,N,M),((W=ae&&ae.onVnodeMounted)||oe||le)&&st(()=>{W&&mt(W,B,A),oe&&ee.enter(q),le&&Yt(A,null,B,"mounted")},j)},P=(A,N,M,B,j)=>{if(M&&p(A,M),B)for(let z=0;z<B.length;z++)p(A,B[z]);if(j){let z=j.subTree;if(N===z){const te=j.vnode;P(A,te,te.scopeId,te.slotScopeIds,j.parent)}}},x=(A,N,M,B,j,z,te,G,q=0)=>{for(let W=q;W<A.length;W++){const ie=A[W]=G?Rn(A[W]):Ct(A[W]);m(null,ie,N,M,B,j,z,te,G)}},E=(A,N,M,B,j,z,te)=>{const G=N.el=A.el;let{patchFlag:q,dynamicChildren:W,dirs:ie}=N;q|=A.patchFlag&16;const ae=A.props||Ue,ue=N.props||Ue;let ee;M&&Wn(M,!1),(ee=ue.onVnodeBeforeUpdate)&&mt(ee,M,N,A),ie&&Yt(N,A,M,"beforeUpdate"),M&&Wn(M,!0);const le=j&&N.type!=="foreignObject";if(W?k(A.dynamicChildren,W,G,M,B,le,z):te||F(A,N,G,null,M,B,le,z,!1),q>0){if(q&16)S(G,N,ae,ue,M,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 Ne=oe[de],We=ae[Ne],ke=ue[Ne];(ke!==We||Ne==="value")&&o(G,Ne,We,ke,j,A.children,M,B,Re)}}q&1&&A.children!==N.children&&u(G,N.children)}else!te&&W==null&&S(G,N,ae,ue,M,B,j);((ee=ue.onVnodeUpdated)||ie)&&st(()=>{ee&&mt(ee,M,N,A),ie&&Yt(N,A,M,"updated")},B)},k=(A,N,M,B,j,z,te)=>{for(let G=0;G<N.length;G++){const q=A[G],W=N[G],ie=q.el&&(q.type===Ie||!Lt(q,W)||q.shapeFlag&70)?f(q.el):M;m(q,W,ie,null,B,j,z,te,!0)}},S=(A,N,M,B,j,z,te)=>{if(M!==B){if(M!==Ue)for(const G in M)!zs(G)&&!(G in B)&&o(A,G,M[G],null,te,N.children,j,z,Re);for(const G in B){if(zs(G))continue;const q=B[G],W=M[G];q!==W&&G!=="value"&&o(A,G,W,q,te,N.children,j,z,Re)}"value"in B&&o(A,"value",M.value,B.value)}},T=(A,N,M,B,j,z,te,G,q)=>{const W=N.el=A?A.el:a(""),ie=N.anchor=A?A.anchor:a("");let{patchFlag:ae,dynamicChildren:ue,slotScopeIds:ee}=N;ee&&(G=G?G.concat(ee):ee),A==null?(r(W,M,B),r(ie,M,B),x(N.children,M,ie,j,z,te,G,q)):ae>0&&ae&64&&ue&&A.dynamicChildren?(k(A.dynamicChildren,ue,M,j,z,te,G),(N.key!=null||j&&N===j.subTree)&&bc(A,N,!0)):F(A,N,M,ie,j,z,te,G,q)},$=(A,N,M,B,j,z,te,G,q)=>{N.slotScopeIds=G,A==null?N.shapeFlag&512?j.ctx.activate(N,M,B,te,q):R(N,M,B,j,z,te,q):L(A,N,q)},R=(A,N,M,B,j,z,te)=>{const G=A.component=Uy(A,B,j);if(bo(A)&&(G.ctx.renderer=V),Vy(G),G.asyncDep){if(j&&j.registerDep(G,I),!A.el){const q=G.subTree=Y(ht);y(null,q,N,M)}return}I(G,A,N,M,j,z,te)},L=(A,N,M)=>{const B=N.component=A.component;if(ty(A,N,M))if(B.asyncDep&&!B.asyncResolved){D(B,N,M);return}else B.next=N,Gv(B.update),B.update();else N.el=A.el,B.vnode=N},I=(A,N,M,B,j,z,te)=>{const G=()=>{if(A.isMounted){let{next:ie,bu:ae,u:ue,parent:ee,vnode:le}=A,oe=ie,de;Wn(A,!1),ie?(ie.el=le.el,D(A,ie,te)):ie=le,ae&&Rr(ae),(de=ie.props&&ie.props.onVnodeBeforeUpdate)&&mt(de,ee,ie,le),Wn(A,!0);const Ne=pa(A),We=A.subTree;A.subTree=Ne,m(We,Ne,f(We.el),O(We),A,j,z),ie.el=Ne.el,oe===null&&uc(A,Ne.el),ue&&st(ue,j),(de=ie.props&&ie.props.onVnodeUpdated)&&st(()=>mt(de,ee,ie,le),j)}else{let ie;const{el:ae,props:ue}=N,{bm:ee,m:le,parent:oe}=A,de=ar(N);if(Wn(A,!1),ee&&Rr(ee),!de&&(ie=ue&&ue.onVnodeBeforeMount)&&mt(ie,oe,N),Wn(A,!0),ae&&Ce){const Ne=()=>{A.subTree=pa(A),Ce(ae,A.subTree,A,j,null)};de?N.type.__asyncLoader().then(()=>!A.isUnmounted&&Ne()):Ne()}else{const Ne=A.subTree=pa(A);m(null,Ne,M,B,A,j,z),N.el=Ne.el}if(le&&st(le,j),!de&&(ie=ue&&ue.onVnodeMounted)){const Ne=N;st(()=>mt(ie,oe,Ne),j)}(N.shapeFlag&256||oe&&ar(oe.vnode)&&oe.vnode.shapeFlag&256)&&A.a&&st(A.a,j),A.isMounted=!0,N=M=B=null}},q=A.effect=new ec(G,()=>Bi(W),A.scope),W=A.update=()=>q.run();W.id=A.uid,Wn(A,!0),W()},D=(A,N,M)=>{N.component=A;const B=A.vnode.props;A.vnode=N,A.next=null,$y(A,N.props,B,M),Ny(A,N.children,M),Yr(),fu(),Jr()},F=(A,N,M,B,j,z,te,G,q=!1)=>{const W=A&&A.children,ie=A?A.shapeFlag:0,ae=N.children,{patchFlag:ue,shapeFlag:ee}=N;if(ue>0){if(ue&128){ne(W,ae,M,B,j,z,te,G,q);return}else if(ue&256){H(W,ae,M,B,j,z,te,G,q);return}}ee&8?(ie&16&&Re(W,j,z),ae!==W&&u(M,ae)):ie&16?ee&16?ne(W,ae,M,B,j,z,te,G,q):Re(W,j,z,!0):(ie&8&&u(M,""),ee&16&&x(ae,M,B,j,z,te,G,q))},H=(A,N,M,B,j,z,te,G,q)=>{A=A||Pr,N=N||Pr;const W=A.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(A[ue],ee,M,null,j,z,te,G,q)}W>ie?Re(A,j,z,!0,!1,ae):x(N,M,B,j,z,te,G,q,ae)},ne=(A,N,M,B,j,z,te,G,q)=>{let W=0;const ie=N.length;let ae=A.length-1,ue=ie-1;for(;W<=ae&&W<=ue;){const ee=A[W],le=N[W]=q?Rn(N[W]):Ct(N[W]);if(Lt(ee,le))m(ee,le,M,null,j,z,te,G,q);else break;W++}for(;W<=ae&&W<=ue;){const ee=A[ae],le=N[ue]=q?Rn(N[ue]):Ct(N[ue]);if(Lt(ee,le))m(ee,le,M,null,j,z,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]),M,le,j,z,te,G,q),W++}}else if(W>ue)for(;W<=ae;)se(A[W],j,z,!0),W++;else{const ee=W,le=W,oe=new Map;for(W=le;W<=ue;W++){const lt=N[W]=q?Rn(N[W]):Ct(N[W]);lt.key!=null&&oe.set(lt.key,W)}let de,Ne=0;const We=ue-le+1;let ke=!1,ve=0;const at=new Array(We);for(W=0;W<We;W++)at[W]=0;for(W=ee;W<=ae;W++){const lt=A[W];if(Ne>=We){se(lt,j,z,!0);continue}let Gt;if(lt.key!=null)Gt=oe.get(lt.key);else for(de=le;de<=ue;de++)if(at[de-le]===0&&Lt(lt,N[de])){Gt=de;break}Gt===void 0?se(lt,j,z,!0):(at[Gt-le]=W+1,Gt>=ve?ve=Gt:ke=!0,m(lt,N[Gt],M,null,j,z,te,G,q),Ne++)}const wr=ke?My(at):Pr;for(de=wr.length-1,W=We-1;W>=0;W--){const lt=le+W,Gt=N[lt],tu=lt+1<ie?N[lt+1].el:B;at[W]===0?m(null,Gt,M,tu,j,z,te,G,q):ke&&(de<0||W!==wr[de]?re(Gt,M,tu,2):de--)}}},re=(A,N,M,B,j=null)=>{const{el:z,type:te,transition:G,children:q,shapeFlag:W}=A;if(W&6){re(A.component.subTree,N,M,B);return}if(W&128){A.suspense.move(N,M,B);return}if(W&64){te.move(A,N,M,V);return}if(te===Ie){r(z,N,M);for(let ae=0;ae<q.length;ae++)re(q[ae],N,M,B);r(A.anchor,N,M);return}if(te===Vs){w(A,N,M);return}if(B!==2&&W&1&&G)if(B===0)G.beforeEnter(z),r(z,N,M),st(()=>G.enter(z),j);else{const{leave:ae,delayLeave:ue,afterLeave:ee}=G,le=()=>r(z,N,M),oe=()=>{ae(z,()=>{le(),ee&&ee()})};ue?ue(z,le,oe):oe()}else r(z,N,M)},se=(A,N,M,B=!1,j=!1)=>{const{type:z,props:te,ref:G,children:q,dynamicChildren:W,shapeFlag:ie,patchFlag:ae,dirs:ue}=A;if(G!=null&&gi(G,null,M,A,!0),ie&256){N.ctx.deactivate(A);return}const ee=ie&1&&ue,le=!ar(A);let oe;if(le&&(oe=te&&te.onVnodeBeforeUnmount)&&mt(oe,N,A),ie&6)Ee(A.component,M,B);else{if(ie&128){A.suspense.unmount(M,B);return}ee&&Yt(A,null,N,"beforeUnmount"),ie&64?A.type.remove(A,N,M,j,V,B):W&&(z!==Ie||ae>0&&ae&64)?Re(W,N,M,!1,!0):(z===Ie&&ae&384||!j&&ie&16)&&Re(q,N,M),B&&he(A)}(le&&(oe=te&&te.onVnodeUnmounted)||ee)&&st(()=>{oe&&mt(oe,N,A),ee&&Yt(A,null,N,"unmounted")},M)},he=A=>{const{type:N,el:M,anchor:B,transition:j}=A;if(N===Ie){fe(M,B);return}if(N===Vs){b(A);return}const z=()=>{s(M),j&&!j.persisted&&j.afterLeave&&j.afterLeave()};if(A.shapeFlag&1&&j&&!j.persisted){const{leave:te,delayLeave:G}=j,q=()=>te(M,z);G?G(A.el,z,q):q()}else z()},fe=(A,N)=>{let M;for(;A!==N;)M=d(A),s(A),A=M;s(N)},Ee=(A,N,M)=>{const{bum:B,scope:j,update:z,subTree:te,um:G}=A;B&&Rr(B),j.stop(),z&&(z.active=!1,se(te,A,N,M)),G&&st(G,N),st(()=>{A.isUnmounted=!0},N),N&&N.pendingBranch&&!N.isUnmounted&&A.asyncDep&&!A.asyncResolved&&A.suspenseId===N.pendingId&&(N.deps--,N.deps===0&&N.resolve())},Re=(A,N,M,B=!1,j=!1,z=0)=>{for(let te=z;te<A.length;te++)se(A[te],N,M,B,j)},O=A=>A.shapeFlag&6?O(A.component.subTree):A.shapeFlag&128?A.suspense.next():d(A.anchor||A.el),X=(A,N,M)=>{A==null?N._vnode&&se(N._vnode,null,null,!0):m(N._vnode||null,A,N,null,null,null,M),fu(),fi(),N._vnode=A},V={p:m,um:se,m:re,r:he,mt:R,mc:x,pc:F,pbc:k,n:O,o:e};let ce,Ce;return t&&([ce,Ce]=t(V)),{render:X,hydrate:ce,createApp:ky(X,ce)}}function Wn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function bc(e,t,n=!1){const r=e.children,s=t.children;if(me(r)&&me(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||bc(i,a)),a.type===jr&&(a.el=i.el)}}function My(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 Dy=e=>e.__isTeleport,Us=e=>e&&(e.disabled||e.disabled===""),Su=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ol=(e,t)=>{const n=e&&e.to;return Ve(n)?t?t(n):null:n},Fy={__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:_}}=c,y=Us(t.props);let{shapeFlag:v,children:w,dynamicChildren:b}=t;if(e==null){const C=t.el=m(""),g=t.anchor=m("");p(C,n,r),p(g,n,r);const P=t.target=ol(t.props,h),x=t.targetAnchor=m("");P&&(p(x,P),i=i||Su(P));const E=(k,S)=>{v&16&&u(w,k,S,s,o,i,a,l)};y?E(n,g):P&&E(P,x)}else{t.el=e.el;const C=t.anchor=e.anchor,g=t.target=e.target,P=t.targetAnchor=e.targetAnchor,x=Us(e.props),E=x?n:g,k=x?C:P;if(i=i||Su(g),b?(d(e.dynamicChildren,b,E,s,o,i,a),bc(e,t,!0)):l||f(e,t,E,k,s,o,i,a,!1),y)x||Do(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&&Do(t,S,null,c,0)}else x&&Do(t,g,P,c,1)}np(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||!Us(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:Do,hydrate:By};function Do(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||Us(u))&&l&16)for(let d=0;d<c.length;d++)s(c[d],t,n,2);f&&r(a,t,n)}function By(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(Us(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)}np(t)}return t.anchor&&i(t.anchor)}const tp=Fy;function np(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"),jr=Symbol.for("v-txt"),ht=Symbol.for("v-cmt"),Vs=Symbol.for("v-stc"),Ws=[];let Pt=null;function Q(e=!1){Ws.push(Pt=e?null:[])}function rp(){Ws.pop(),Pt=Ws[Ws.length-1]||null}let zr=1;function Cu(e){zr+=e}function sp(e){return e.dynamicChildren=zr>0?Pt||Pr:null,rp(),zr>0&&Pt&&Pt.push(e),e}function ye(e,t,n,r,s,o){return sp(Z(e,t,n,r,s,o,!0))}function Se(e,t,n,r,s){return sp(Y(e,t,n,r,s,!0))}function Hr(e){return e?e.__v_isVNode===!0:!1}function Lt(e,t){return e.type===t.type&&e.key===t.key}const Ui="__vInternal",op=({key:e})=>e??null,ni=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ve(e)||Be(e)||be(e)?{i:nt,r:e,k:t,f:!!n}:e:null);function Z(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&&op(t),ref:t&&ni(t),scopeId:zi,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?(wc(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Ve(n)?8:16),zr>0&&!i&&Pt&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Pt.push(l),l}const Y=jy;function jy(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===Vh)&&(e=ht),Hr(e)){const a=vn(e,t,!0);return n&&wc(a,n),zr>0&&!o&&Pt&&(a.shapeFlag&6?Pt[Pt.indexOf(e)]=a:Pt.push(a)),a.patchFlag|=-2,a}if(Ky(e)&&(e=e.__vccOpts),t){t=Vi(t);let{class:a,style:l}=t;a&&!Ve(a)&&(t.class=ot(a)),je(l)&&(Eh(l)&&!me(l)&&(l=Ge({},l)),t.style=hn(l))}const i=Ve(e)?1:Oh(e)?128:Dy(e)?64:je(e)?4:be(e)?2:0;return Z(e,t,n,r,s,i,o,!0)}function Vi(e){return e?Eh(e)||Ui in e?Ge({},e):e:null}function vn(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:i}=e,a=t?yn(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&op(a),ref:t&&t.ref?n&&s?me(s)?s.concat(ni(t)):[s,ni(t)]:ni(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 Y(jr,null,e,t)}function x2(e,t){const n=Y(Vs,null,e);return n.staticCount=t,n}function Xe(e="",t=!1){return t?(Q(),Se(ht,null,e)):Y(ht,null,e)}function Ct(e){return e==null||typeof e=="boolean"?Y(ht):me(e)?Y(Ie,null,e.slice()):typeof e=="object"?Rn(e):Y(jr,null,String(e))}function Rn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:vn(e)}function wc(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(me(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),wc(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(Ui in t)?t._ctx=nt:s===3&&nt&&(nt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else be(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 yn(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=ot([t.class,r.class]));else if(s==="style")t.style=hn([t.style,r.style]);else if(_o(s)){const o=t[s],i=r[s];i&&o!==i&&!(me(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function mt(e,t,n,r=null){Rt(e,t,7,[n,r])}const zy=qh();let Hy=0;function Uy(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||zy,o={uid:Hy++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new ov(!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:Yh(r,s),emitsOptions:Nh(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=Kv.bind(null,o),e.ce&&e.ce(o),o}let Ke=null;const Ht=()=>Ke||nt;let Ec,Er,Tu="__VUE_INSTANCE_SETTERS__";(Er=Ya()[Tu])||(Er=Ya()[Tu]=[]),Er.push(e=>Ke=e),Ec=e=>{Er.length>1?Er.forEach(t=>t(e)):Er[0](e)};const zn=e=>{Ec(e),e.scope.on()},Mn=()=>{Ke&&Ke.scope.off(),Ec(null)};function ip(e){return e.vnode.shapeFlag&4}let Ur=!1;function Vy(e,t=!1){Ur=t;const{props:n,children:r}=e.vnode,s=ip(e);Py(e,n,s,t),Ay(e,r);const o=s?Wy(e,t):void 0;return Ur=!1,o}function Wy(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=xh(new Proxy(e.ctx,by));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?qy(e):null;zn(e),Yr();const o=Ln(r,e,0,[e.props,s]);if(Jr(),Mn(),Xl(o)){if(o.then(Mn,Mn),t)return o.then(i=>{il(e,i,t)}).catch(i=>{es(i,e,0)});e.asyncDep=o}else il(e,o,t)}else ap(e,t)}function il(e,t,n){be(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:je(t)&&(e.setupState=Th(t)),ap(e,n)}let ku;function ap(e,t,n){const r=e.type;if(!e.render){if(!t&&ku&&!r.render){const s=r.template||yc(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=Ge(Ge({isCustomElement:o,delimiters:a},i),l);r.render=ku(s,c)}}e.render=r.render||Ft}zn(e),Yr(),wy(e),Jr(),Mn()}function Gy(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return gt(e,"get","$attrs"),t[n]}}))}function qy(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Gy(e)},slots:e.slots,emit:e.emit,expose:t}}function Wi(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Th(xh(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Hs)return Hs[n](e)},has(t,n){return n in t||n in Hs}}))}function al(e,t=!0){return be(e)?e.displayName||e.name:e.name||t&&e.__name}function Ky(e){return be(e)&&"__vccOpts"in e}const ge=(e,t)=>Uv(e,t,Ur);function Ye(e,t,n){const r=arguments.length;return r===2?je(t)&&!me(t)?Hr(t)?Y(e,null,[t]):Y(e,t):Y(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Hr(n)&&(n=[n]),Y(e,t,n))}const Xy=Symbol.for("v-scx"),Yy=()=>dt(Xy),lp="3.3.4",Jy="http://www.w3.org/2000/svg",Qn=typeof document<"u"?document:null,Pu=Qn&&Qn.createElement("template"),Qy={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?Qn.createElementNS(Jy,e):Qn.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Qn.createTextNode(e),createComment:e=>Qn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Qn.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{Pu.innerHTML=r?`<svg>${e}</svg>`:e;const a=Pu.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 Zy(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 e_(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 $u=/\s*!important$/;function ll(e,t,n){if(me(n))n.forEach(r=>ll(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=t_(e,t);$u.test(n)?e.setProperty(gr(r),n.replace($u,""),"important"):e[r]=n}}const Ru=["Webkit","Moz","ms"],ba={};function t_(e,t){const n=ba[t];if(n)return n;let r=nn(t);if(r!=="filter"&&r in e)return ba[t]=r;r=Mi(r);for(let s=0;s<Ru.length;s++){const o=Ru[s]+r;if(o in e)return ba[t]=o}return t}const Au="http://www.w3.org/1999/xlink";function n_(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Au,t.slice(6,t.length)):e.setAttributeNS(Au,t,n);else{const o=rv(t);n==null||o&&!ch(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function r_(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=ch(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function dn(e,t,n,r){e.addEventListener(t,n,r)}function s_(e,t,n,r){e.removeEventListener(t,n,r)}function o_(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]=i_(t);if(r){const c=o[t]=c_(r,s);dn(e,a,c,l)}else i&&(s_(e,a,i,l),o[t]=void 0)}}const Nu=/(?:Once|Passive|Capture)$/;function i_(e){let t;if(Nu.test(e)){t={};let r;for(;r=e.match(Nu);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):gr(e.slice(2)),t]}let wa=0;const a_=Promise.resolve(),l_=()=>wa||(a_.then(()=>wa=0),wa=Date.now());function c_(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Rt(u_(r,n.value),t,5,[r])};return n.value=e,n.attached=l_(),n}function u_(e,t){if(me(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 Ou=/^on[a-z]/,f_=(e,t,n,r,s=!1,o,i,a,l)=>{t==="class"?Zy(e,r,s):t==="style"?e_(e,n,r):_o(t)?ql(t)||o_(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):d_(e,t,r,s))?r_(e,t,r,o,i,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),n_(e,t,r,s))};function d_(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&Ou.test(t)&&be(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Ou.test(t)&&Ve(n)?!1:t in e}const Cn="transition",ls="animation",Gi=(e,{slots:t})=>Ye(uy,up(e),t);Gi.displayName="Transition";const cp={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},h_=Gi.props=Ge({},Dh,cp),Gn=(e,t=[])=>{me(e)?e.forEach(n=>n(...t)):e&&e(...t)},Iu=e=>e?me(e)?e.some(t=>t.length>1):e.length>1:!1;function up(e){const t={};for(const T in e)T in cp||(t[T]=e[T]);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=p_(s),m=h&&h[0],_=h&&h[1],{onBeforeEnter:y,onEnter:v,onEnterCancelled:w,onLeave:b,onLeaveCancelled:C,onBeforeAppear:g=y,onAppear:P=v,onAppearCancelled:x=w}=t,E=(T,$,R)=>{kn(T,$?u:a),kn(T,$?c:i),R&&R()},k=(T,$)=>{T._isLeaving=!1,kn(T,f),kn(T,p),kn(T,d),$&&$()},S=T=>($,R)=>{const L=T?P:v,I=()=>E($,T,R);Gn(L,[$,I]),Lu(()=>{kn($,T?l:o),an($,T?u:a),Iu(L)||Mu($,r,m,I)})};return Ge(t,{onBeforeEnter(T){Gn(y,[T]),an(T,o),an(T,i)},onBeforeAppear(T){Gn(g,[T]),an(T,l),an(T,c)},onEnter:S(!1),onAppear:S(!0),onLeave(T,$){T._isLeaving=!0;const R=()=>k(T,$);an(T,f),dp(),an(T,d),Lu(()=>{T._isLeaving&&(kn(T,f),an(T,p),Iu(b)||Mu(T,r,_,R))}),Gn(b,[T,R])},onEnterCancelled(T){E(T,!1),Gn(w,[T])},onAppearCancelled(T){E(T,!0),Gn(x,[T])},onLeaveCancelled(T){k(T),Gn(C,[T])}})}function p_(e){if(e==null)return null;if(je(e))return[Ea(e.enter),Ea(e.leave)];{const t=Ea(e);return[t,t]}}function Ea(e){return lh(e)}function an(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function kn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Lu(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let m_=0;function Mu(e,t,n,r){const s=e._endId=++m_,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:a,propCount:l}=fp(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 fp(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),s=r(`${Cn}Delay`),o=r(`${Cn}Duration`),i=Du(s,o),a=r(`${ls}Delay`),l=r(`${ls}Duration`),c=Du(a,l);let u=null,f=0,d=0;t===Cn?i>0&&(u=Cn,f=i,d=o.length):t===ls?c>0&&(u=ls,f=c,d=l.length):(f=Math.max(i,c),u=f>0?i>c?Cn:ls:null,d=u?u===Cn?o.length:l.length:0);const p=u===Cn&&/\b(transform|all)(,|$)/.test(r(`${Cn}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:p}}function Du(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Fu(n)+Fu(e[r])))}function Fu(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function dp(){return document.body.offsetHeight}const hp=new WeakMap,pp=new WeakMap,mp={name:"TransitionGroup",props:Ge({},h_,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Ht(),r=Mh();let s,o;return mc(()=>{if(!s.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!w_(s[0].el,n.vnode.el,i))return;s.forEach(y_),s.forEach(__);const a=s.filter(b_);dp(),a.forEach(l=>{const c=l.el,u=c.style;an(c,i),u.transform=u.webkitTransform=u.transitionDuration="";const f=c._moveCb=d=>{d&&d.target!==c||(!d||/transform$/.test(d.propertyName))&&(c.removeEventListener("transitionend",f),c._moveCb=null,kn(c,i))};c.addEventListener("transitionend",f)})}),()=>{const i=$e(e),a=up(i);let l=i.tag||Ie;s=o,o=t.default?pc(t.default()):[];for(let c=0;c<o.length;c++){const u=o[c];u.key!=null&&Br(u,ao(u,a,r,n))}if(s)for(let c=0;c<s.length;c++){const u=s[c];Br(u,ao(u,a,r,n)),hp.set(u,u.el.getBoundingClientRect())}return Y(l,null,o)}}},g_=e=>delete e.mode;mp.props;const v_=mp;function y_(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function __(e){pp.set(e,e.el.getBoundingClientRect())}function b_(e){const t=hp.get(e),n=pp.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 w_(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}=fp(r);return s.removeChild(r),o}const Hn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return me(t)?n=>Rr(t,n):t};function E_(e){e.target.composing=!0}function Bu(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ju={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e._assign=Hn(s);const o=r||s.props&&s.props.type==="number";dn(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=li(a)),e._assign(a)}),n&&dn(e,"change",()=>{e.value=e.value.trim()}),t||(dn(e,"compositionstart",E_),dn(e,"compositionend",Bu),dn(e,"change",Bu))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},o){if(e._assign=Hn(o),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(s||e.type==="number")&&li(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},x_={deep:!0,created(e,t,n){e._assign=Hn(n),dn(e,"change",()=>{const r=e._modelValue,s=Vr(e),o=e.checked,i=e._assign;if(me(r)){const a=Ql(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(Kr(r)){const a=new Set(r);o?a.add(s):a.delete(s),i(a)}else i(gp(e,o))})},mounted:zu,beforeUpdate(e,t,n){e._assign=Hn(n),zu(e,t,n)}};function zu(e,{value:t,oldValue:n},r){e._modelValue=t,me(t)?e.checked=Ql(t,r.props.value)>-1:Kr(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=cr(t,gp(e,!0)))}const S_={created(e,{value:t},n){e.checked=cr(t,n.props.value),e._assign=Hn(n),dn(e,"change",()=>{e._assign(Vr(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e._assign=Hn(r),t!==n&&(e.checked=cr(t,r.props.value))}},C_={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=Kr(t);dn(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?li(Vr(i)):Vr(i));e._assign(e.multiple?s?new Set(o):o:o[0])}),e._assign=Hn(r)},mounted(e,{value:t}){Hu(e,t)},beforeUpdate(e,t,n){e._assign=Hn(n)},updated(e,{value:t}){Hu(e,t)}};function Hu(e,t){const n=e.multiple;if(!(n&&!me(t)&&!Kr(t))){for(let r=0,s=e.options.length;r<s;r++){const o=e.options[r],i=Vr(o);if(n)me(t)?o.selected=Ql(t,i)>-1:o.selected=t.has(i);else if(cr(Vr(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Vr(e){return"_value"in e?e._value:e.value}function gp(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const T_={created(e,t,n){Fo(e,t,n,null,"created")},mounted(e,t,n){Fo(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Fo(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Fo(e,t,n,r,"updated")}};function k_(e,t){switch(e){case"SELECT":return C_;case"TEXTAREA":return ju;default:switch(t){case"checkbox":return x_;case"radio":return S_;default:return ju}}}function Fo(e,t,n,r,s){const i=k_(e.tagName,n.props&&n.props.type)[s];i&&i(e,t,n,r)}const P_=["ctrl","shift","alt","meta"],$_={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)=>P_.some(n=>e[`${n}Key`]&&!t.includes(n))},R_=(e,t)=>(n,...r)=>{for(let s=0;s<t.length;s++){const o=$_[t[s]];if(o&&o(n,t))return}return e(n,...r)},A_={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},vp=(e,t)=>n=>{if(!("key"in n))return;const r=gr(n.key);if(t.some(s=>s===r||A_[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):cs(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),cs(e,!0),r.enter(e)):r.leave(e,()=>{cs(e,!1)}):cs(e,t))},beforeUnmount(e,{value:t}){cs(e,t)}};function cs(e,t){e.style.display=t?e._vod:"none"}const yp=Ge({patchProp:f_},Qy);let Gs,Uu=!1;function N_(){return Gs||(Gs=Iy(yp))}function O_(){return Gs=Uu?Gs:Ly(yp),Uu=!0,Gs}const _p=(...e)=>{const t=N_().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=bp(r);if(!s)return;const o=t._component;!be(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},I_=(...e)=>{const t=O_().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=bp(r);if(s)return n(s,!0,s instanceof SVGElement)},t};function bp(e){return Ve(e)?document.querySelector(e):e}const L_=/"(?:_|\\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*:/,M_=/"(?: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*:/,D_=/^\s*["[{]|^\s*-?\d[\d.]{0,14}\s*$/;function F_(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){B_(e);return}return t}function B_(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function j_(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(!D_.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(L_.test(e)||M_.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,F_)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const z_=/#/g,H_=/&/g,U_=/=/g,xc=/\+/g,V_=/%5e/gi,W_=/%60/gi,G_=/%7c/gi,q_=/%20/gi;function K_(e){return encodeURI(""+e).replace(G_,"|")}function ul(e){return K_(typeof e=="string"?e:JSON.stringify(e)).replace(xc,"%2B").replace(q_,"+").replace(z_,"%23").replace(H_,"%26").replace(W_,"`").replace(V_,"^")}function xa(e){return ul(e).replace(U_,"%3D")}function vi(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function X_(e){return vi(e.replace(xc," "))}function Y_(e){return vi(e.replace(xc," "))}function wp(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=X_(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=Y_(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 J_(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 Q_(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>J_(t,e[t])).filter(Boolean).join("&")}const Z_=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,e0=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,t0=/^([/\\]\s*){2,}[^/\\]/;function ns(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Z_.test(e):e0.test(e)||(t.acceptRelative?t0.test(e):!1)}const n0=/^[\s\0]*(blob|data|javascript|vbscript):$/;function r0(e){return!!e&&n0.test(e)}const s0=/\/$|\/\?/;function fl(e="",t=!1){return t?s0.test(e):e.endsWith("/")}function Sc(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 yi(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 o0(e=""){return e.startsWith("/")}function Vu(e=""){return o0(e)?e:"/"+e}function i0(e,t){if(xp(t)||ns(e))return e;const n=Sc(t);return e.startsWith(n)?e:wo(n,e)}function Wu(e,t){if(xp(t))return e;const n=Sc(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function Ep(e,t){const n=Eo(e),r={...wp(n.search),...t};return n.search=Q_(r),u0(n)}function xp(e){return!e||e==="/"}function a0(e){return e&&e!=="/"}const l0=/^\.?\//;function wo(e,...t){let n=e||"";for(const r of t.filter(s=>a0(s)))if(n){const s=r.replace(l0,"");n=yi(n)+s}else n=r;return n}function c0(e,t,n={}){return n.trailingSlash||(e=yi(e),t=yi(t)),n.leadingSlash||(e=Vu(e),t=Vu(t)),n.encoding||(e=vi(e),t=vi(t)),e===t}function Eo(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(!ns(e,{acceptRelative:!0}))return t?Eo(t+e):Gu(e);const[,r="",s,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,i="",a=""]=o.match(/([^#/?]*)(.*)?/)||[],{pathname:l,search:c,hash:u}=Gu(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 Gu(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function u0(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 f0 extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function d0(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 f0(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 h0=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function qu(e="GET"){return h0.has(e.toUpperCase())}function p0(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 m0=new Set(["image/svg","application/xml","application/xhtml","application/html"]),g0=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function v0(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return g0.test(t)?"json":m0.has(t)||t.startsWith("text/")?"text":"blob"}function y0(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 _0=new Set([408,409,425,429,500,502,503,504]),b0=new Set([101,204,205,304]);function Sp(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=qu(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):_0.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=d0(a);throw Error.captureStackTrace&&Error.captureStackTrace(c,o),c}const o=async function(l,c={}){const u={request:l,options:y0(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=i0(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=Ep(u.request,{...u.options.params,...u.options.query}))),u.options.body&&qu(u.options.method)&&(p0(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&&!b0.has(u.response.status)&&u.options.method!=="HEAD"){const d=(u.options.parseResponse?"json":u.options.responseType)||v0(u.response.headers.get("content-type")||"");switch(d){case"json":{const p=await u.response.text(),h=u.options.parseResponse||j_;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={})=>Sp({...e,defaults:{...e.defaults,...a}}),i}const Cc=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")}(),w0=Cc.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),E0=Cc.Headers,x0=Cc.AbortController,S0=Sp({fetch:w0,Headers:E0,AbortController:x0}),C0=S0,T0=()=>window?.__NUXT__?.config||{},_i=T0().app,k0=()=>_i.baseURL,P0=()=>_i.buildAssetsDir,$0=(...e)=>wo(Cp(),P0(),...e),Cp=(...e)=>{const t=_i.cdnURL||_i.baseURL;return e.length?wo(t,...e):t};globalThis.__buildAssetsURL=$0,globalThis.__publicAssetsURL=Cp;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 R0={run:e=>e()},A0=()=>R0,Tp=typeof console.createTask<"u"?console.createTask:A0;function N0(e,t){const n=t.shift(),r=Tp(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function O0(e,t){const n=t.shift(),r=Tp(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function Sa(e,t){for(const n of[...e])n(t)}class I0{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(N0,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(O0,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 kp(){return new I0}function L0(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 M0(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=L0({...e,...r})),t[n],t[n]}}}const bi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Ku="__unctx__",D0=bi[Ku]||(bi[Ku]=M0()),F0=(e,t={})=>D0.get(e,t),Xu="__unctx_async_handlers__",hl=bi[Xu]||(bi[Xu]=new Set);function wi(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 Pp=F0("nuxt-app",{asyncContext:!1}),B0="__nuxt_plugin";function j0(e){let t=0;const n={provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.7.0"},get vue(){return n.vueApp.version}},payload:jt({data:{},state:{},_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:s=>U0(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=kp(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,o)=>{const i="$"+s;Bo(n,i,o),Bo(n.vueApp.config.globalProperties,i,o)},Bo(n.vueApp,"$nuxt",n),Bo(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",o=>{n.callHook("app:chunkError",{error:o.payload})}),window.useNuxtApp=window.useNuxtApp||De;const s=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",s)}const r=jt(n.payload.config);return n.provide("config",r),n}async function z0(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 H0(e,t){const n=[],r=[];for(const s of t){const o=z0(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 Ut(e){return typeof e=="function"?e:(delete e.name,Object.assign(e.setup||(()=>{}),e,{[B0]:!0}))}function U0(e,t,n){const r=()=>n?t(...n):t();return Pp.set(e),e.vueApp.runWithContext(r)}/*! @__NO_SIDE_EFFECTS__ */function De(){let e;if(Kh()&&(e=Ht()?.appContext.app.$nuxt),e=e||Pp.tryUse(),!e)throw new Error("[nuxt] instance unavailable");return e}/*! @__NO_SIDE_EFFECTS__ */function Tc(){return De().$config}function Bo(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const V0="modulepreload",W0=function(e,t){return e[0]==="."?new URL(e,t).href:e},Yu={},G0=function(t,n,r){if(!n||n.length===0)return t();const s=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=W0(o,r),o in Yu)return;Yu[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":V0,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})},_e=(...e)=>G0(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),q0=-1,K0=-2,X0=-3,Y0=-4,J0=-5,Q0=-6;function Z0(e,t){return eb(JSON.parse(e),t)}function eb(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===q0)return;if(o===X0)return NaN;if(o===Y0)return 1/0;if(o===J0)return-1/0;if(o===Q0)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!==K0&&(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 tb(e){return Array.isArray(e)?e:[e]}const nb=["title","script","style","noscript"],ri=["base","meta","link","style","script","noscript"],rb=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],sb=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],Ju=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent"],ob=typeof window<"u";function $p(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 Qu(e){return e._h||$p(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function Rp(e,t){const{props:n,tag:r}=e;if(sb.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 Zu(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function ib(e,t,n){const r={tag:e,props:{}};return t instanceof Promise&&(t=await t),e==="templateParams"?(r.props=t,r):["title","titleTemplate"].includes(e)?(t&&typeof t=="object"?(r.textContent=t.textContent,t.tagPriority&&(r.tagPriority=t.tagPriority)):r.textContent=t,r):typeof t=="string"?["script","noscript","style"].includes(e)?(e==="script"&&(/^(https?:)?\/\//.test(t)||t.startsWith("/"))?r.props.src=t:r.innerHTML=t,r):!1:(t.body&&(t.tagPosition="bodyClose",delete t.body),t.children&&(t.innerHTML=t.children,delete t.children),r.props=await lb({...t}),Object.keys(r.props).filter(s=>Ju.includes(s)).forEach(s=>{(!["innerHTML","textContent"].includes(s)||nb.includes(r.tag))&&(r[s]=r.props[s]),delete r.props[s]}),Ju.forEach(s=>{!r[s]&&n[s]&&(r[s]=n[s])}),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML)),r.props.class&&(r.props.class=ab(r.props.class)),r.props.content&&Array.isArray(r.props.content)?r.props.content.map(s=>({...r,props:{...r.props,content:s}})):r)}function ab(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 lb(e){for(const t of Object.keys(e)){const n=t.startsWith("data-");e[t]instanceof Promise&&(e[t]=await e[t]),String(e[t])==="true"?e[t]=n?"true":"":String(e[t])==="false"&&(n?e[t]="false":delete e[t])}return e}const cb=10;async function ub(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&rb.includes(n)).forEach(([n,r])=>{const s=tb(r);t.push(...s.map(o=>ib(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<<cb)+r,n))}const ef={base:-1,title:1},tf={critical:-8,high:-1,low:2};function Ei(e){let t=10;const n=e.tagPriority;return typeof n=="number"?n:(e.tag==="meta"?(e.props.charset&&(t=-2),e.props["http-equiv"]==="content-security-policy"&&(t=0)):e.tag==="link"&&e.props.rel==="preconnect"?t=2:e.tag in ef&&(t=ef[e.tag]),typeof n=="string"&&n in tf?t+tf[n]:t)}const fb=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}];function us(e,t){if(typeof e!="string")return e;function n(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 r=e;try{r=decodeURI(e)}catch{}(r.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(i=>{const a=n(i.slice(1));typeof a=="string"&&(e=e.replace(new RegExp(`\\${i}(\\W|$)`,"g"),(l,c)=>`${a}${c}`).trim())});const o=t.separator;return e.includes(o)&&(e.endsWith(o)&&(e=e.slice(0,-o.length).trim()),e.startsWith(o)&&(e=e.slice(o.length).trim()),e=e.replace(new RegExp(`\\${o}\\s*\\${o}`,"g"),o)),e}function db(e){const t={tag:e.tagName.toLowerCase(),props:e.getAttributeNames().reduce((n,r)=>({...n,[r]:e.getAttribute(r)}),{}),innerHTML:e.innerHTML};return t._d=Rp(t),t}async function Ap(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n)return;const r=(await e.resolveTags()).map(u=>({tag:u,id:ri.includes(u.tag)?Qu(u):u.tag,shouldRender:!0})),s={shouldRender:!0,tags:r};if(await e.hooks.callHook("dom:beforeRender",s),!s.shouldRender)return;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=>ri.includes(p.tagName.toLowerCase())))o.elMap[d.getAttribute("data-hid")||Qu(db(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])=>{m=String(m);const _=`attr:${h}`;if(h==="class")for(const y of(m||"").split(" ").filter(Boolean))p&&i(u,`${_}:${y}`,()=>f.classList.remove(y)),!f.classList.contains(y)&&f.classList.add(y);else f.getAttribute(h)!==m&&f.setAttribute(h,m),p&&i(u,_,()=>f.removeAttribute(h))})}const l=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const u of r){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):ri.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 r)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,await e.hooks.callHook("dom:rendered",{renders:r})}async function hb(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await Ap(e,t),delete e._domUpdatePromise,r()}))}function pb(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){hb(r,e)}}}}}const mb=["templateParams","htmlAttrs","bodyAttrs"],gb={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=Rp(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&&mb.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(Ei(r)>Ei(o))return}const i=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(ri.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}}},vb={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag==="titleTemplate"?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},nf=["script","link","bodyAttrs"];function rf(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 yb={hooks:{"ssr:render":function(e){e.tags=e.tags.map(t=>(!nf.includes(t.tag)||!Object.entries(t.props).find(([n,r])=>n.startsWith("on")&&typeof r=="function")||(t.props=rf(t).props),t))},"tags:resolve":function(e){e.tags=e.tags.map(t=>{if(!nf.includes(t.tag))return t;const{props:n,eventHandlers:r}=rf(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)})})}}},_b=["link","style","script","noscript"],bb={hooks:{"tag:normalise":({tag:e})=>{e.key&&_b.includes(e.tag)&&(e.props["data-hid"]=e._h=$p(e.key))}}},wb={hooks:{"tags:resolve":e=>{const t=n=>e.tags.find(r=>r._d===n)?._p;for(const{prefix:n,offset:r}of fb)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)=>Ei(n)-Ei(r))}}},Eb={hooks:{"tags:resolve":e=>{const{tags:t}=e,n=t.find(o=>o.tag==="title")?.textContent,r=t.findIndex(o=>o.tag==="templateParams"),s=r!==-1?t[r].props:{};s.separator=s.separator||"|",s.pageTitle=us(s.pageTitle||n||"",s);for(const o of t)["titleTemplate","title"].includes(o.tag)&&typeof o.textContent=="string"?o.textContent=us(o.textContent,s):o.tag==="meta"&&typeof o.props.content=="string"?o.props.content=us(o.props.content,s):o.tag==="link"&&typeof o.props.href=="string"?o.props.href=us(o.props.href,s):o.tag==="script"&&["application/json","application/ld+json"].includes(o.props.type)&&o.innerHTML&&(o.innerHTML=us(o.innerHTML,s));e.tags=t.filter(o=>o.tag!=="templateParams")}}},xb={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=Zu(t[n].textContent,t[r].textContent);s!==null?t[r].textContent=s||t[r].textContent:delete t[r]}else if(n!==-1){const s=Zu(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 Np;function Sb(e={}){const t=Cb(e);return t.use(pb()),Np=t}function sf(e,t){return!e||e==="server"&&t||e==="client"&&!t}function Cb(e={}){const t=kp();t.addHooks(e.hooks||{}),e.document=e.document||(ob?document:void 0);const n=!e.document;e.plugins=[gb,vb,yb,bb,wb,Eb,xb,...e?.plugins||[]];const r=()=>t.callHook("entries:updated",i);let s=0,o=[];const i={resolvedOptions:e,hooks:t,headEntries(){return o},use(a){const l=typeof a=="function"?a(i):a;sf(l.mode,n)&&t.addHooks(l.hooks||{})},push(a,l){const c={_i:s++,input:a,...l};return sf(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 ub(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 Tb(){return Np}const kb=lp.startsWith("3");function Pb(e){return typeof e=="function"?e():U(e)}function xi(e,t=""){if(e instanceof Promise)return e;const n=Pb(e);return!e||!n?n:Array.isArray(n)?n.map(r=>xi(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,s])=>r==="titleTemplate"||r.startsWith("on")?[r,U(s)]:[r,xi(s,r)])):n}const $b={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=xi(t.input)}}},Op="usehead";function Rb(e){return{install(n){kb&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Op,e))}}.install}function Ab(e={}){e.domDelayFn=e.domDelayFn||(n=>xt(()=>n()));const t=Sb(e);return t.use($b),t.install=Rb(t),t}function Nb(){return Ht()&&dt(Op)||Tb()}function Ob(e,t={}){const n=Nb();if(n)return n.ssr?n.push(e,t):Ib(n,e,t)}function Ib(e,t,n={}){const r=J(!1),s=J({});Fr(()=>{s.value=r.value?{}:xi(t)});const o=e.push(s.value,n);return ze(s,a=>{o.patch(a)}),Ht()&&(ts(()=>{o.dispose()}),jh(()=>{r.value=!0}),Bh(()=>{r.value=!1})),o}const Lb=!1,pl=!1,Mb=!1,Db=!0,Fb="#__nuxt";function of(e,t={}){const n=Bb(e,t),r=De(),s=r._payloadCache=r._payloadCache||{};return s[n]||(s[n]=Ip(n).then(o=>o||(delete s[n],null))),s[n]}const af="json";function Bb(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"||ns(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():"");return wo(Tc().app.baseURL,n.pathname,r?`_payload.${r}.${af}`:`_payload.${af}`)}async function Ip(e){try{return Db?Lp(await fetch(e).then(t=>t.text())):await _e(()=>import(e),[],import.meta.url).then(t=>t.default||t)}catch(t){console.warn("[nuxt] Cannot load payload ",e,t)}return null}function jb(){return!!De().payload.prerenderedAt}let jo=null;async function zb(){if(jo)return jo;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=Lp(e.textContent||""),n=e.dataset.src?await Ip(e.dataset.src):void 0;return jo={...t,...n,...window.__NUXT__},jo}function Lp(e){return Z0(e,De()._payloadRevivers)}function Hb(e,t){De()._payloadRevivers[e]=t}function Ca(e){return e!==null&&typeof e=="object"}function ml(e,t,n=".",r){if(!Ca(t))return ml(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]=ml(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function Ub(e){return(...t)=>t.reduce((n,r)=>ml(n,r,"",e),{})}const Vb=Ub();function Wb(e,t){try{return t in e}catch{return!1}}var Gb=Object.defineProperty,qb=(e,t,n)=>t in e?Gb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Xn=(e,t,n)=>(qb(e,typeof t!="symbol"?t+"":t,n),n);class gl extends Error{constructor(t,n={}){super(t,n),Xn(this,"statusCode",500),Xn(this,"fatal",!1),Xn(this,"unhandled",!1),Xn(this,"statusMessage"),Xn(this,"data"),Xn(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:yl(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Mp(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Xn(gl,"__h3_error__",!0);function vl(e){if(typeof e=="string")return new gl(e);if(Kb(e))return e;const t=new gl(e.message??e.statusMessage??"",{cause:e.cause||e});if(Wb(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=yl(e.statusCode,t.statusCode):e.status&&(t.statusCode=yl(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Mp(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 Kb(e){return e?.constructor?.__h3_error__===!0}const Xb=/[^\u0009\u0020-\u007E]/g;function Mp(e=""){return e.replace(Xb,"")}function yl(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Yb="$s";function vr(...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=Yb+n,o=De(),i=lc(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 Dp=Symbol("layout-meta"),xo=Symbol("route"),it=()=>De()?.$router,So=()=>Kh()?dt(xo,De()._route):De()._route;/*! @__NO_SIDE_EFFECTS__ */const Jb=()=>{try{if(De()._processingMiddleware)return!0}catch{return!0}return!1},Fp=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:Ep(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||ns(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=Eo(n).protocol;if(a&&r0(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const s=Jb();if(!r&&s)return e;const o=it(),i=De();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)},qi=()=>lc(De().payload,"error"),kr=e=>{const t=Ki(e);try{const n=De(),r=qi();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},Qb=async(e={})=>{const t=De(),n=qi();t.callHook("app:error:cleared",e),e.redirect&&await it().replace(e.redirect),n.value=null},Zb=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),Ki=e=>{const t=vl(e);return t.__nuxt_error=!0,t},lf={NuxtError:e=>Ki(e),EmptyShallowRef:e=>rn(e==="_"?void 0:e==="0n"?BigInt(0):JSON.parse(e)),EmptyRef:e=>J(e==="_"?void 0:e==="0n"?BigInt(0):JSON.parse(e)),ShallowRef:e=>rn(e),ShallowReactive:e=>Qr(e),Ref:e=>J(e),Reactive:e=>jt(e)},e1=Ut({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in lf)Hb(r,lf[r]);Object.assign(e.payload,([t,n]=wi(()=>e.runWithContext(zb)),t=await t,n(),t)),window.__NUXT__=e.payload}});/*!
2
+ * vue-router v4.2.4
3
+ * (c) 2023 Eduardo San Martin Morote
4
+ * @license MIT
5
+ */const Tr=typeof window<"u";function t1(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]=zt(s)?s.map(e):e(s)}return n}const qs=()=>{},zt=Array.isArray,n1=/\/$/,r1=e=>e.replace(n1,"");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=a1(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:i}}function s1(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function cf(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function o1(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Wr(t.matched[r],n.matched[s])&&Bp(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Wr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Bp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!i1(e[n],t[n]))return!1;return!0}function i1(e,t){return zt(e)?uf(e,t):zt(t)?uf(t,e):e===t}function uf(e,t){return zt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function a1(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 fo;(function(e){e.pop="pop",e.push="push"})(fo||(fo={}));var Ks;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ks||(Ks={}));function l1(e){if(!e)if(Tr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),r1(e)}const c1=/^[^#]+#/;function u1(e,t){return e.replace(c1,"#")+t}function f1(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 Xi=()=>({left:window.pageXOffset,top:window.pageYOffset});function d1(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=f1(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 ff(e,t){return(history.state?history.state.position-t:-1)+e}const _l=new Map;function h1(e,t){_l.set(e,t)}function p1(e){const t=_l.get(e);return _l.delete(e),t}let m1=()=>location.protocol+"//"+location.host;function jp(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),cf(l,"")}return cf(n,e)+r+s}function g1(e,t,n,r){let s=[],o=[],i=null;const a=({state:d})=>{const p=jp(e,location),h=n.value,m=t.value;let _=0;if(d){if(n.value=p,t.value=d,i&&i===h){i=null;return}_=m?d.position-m.position:0}else r(p);s.forEach(y=>{y(n.value,h,{delta:_,type:fo.pop,direction:_?_>0?Ks.forward:Ks.back:Ks.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:Xi()}),"")}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 df(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Xi():null}}function v1(e){const{history:t,location:n}=window,r={value:jp(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:m1()+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,df(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:Xi()});o(u.current,u,!0);const f=Fe({},df(r.value,l,null),{position:u.position+1},c);o(l,f,!1),r.value=l}return{location:r,state:s,push:a,replace:i}}function zp(e){e=l1(e);const t=v1(e),n=g1(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:u1.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 y1(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),zp(e)}function _1(e){return typeof e=="string"||e&&typeof e=="object"}function Hp(e){return typeof e=="string"||typeof e=="symbol"}const Xt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Up=Symbol("");var hf;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(hf||(hf={}));function Gr(e,t){return Fe(new Error,{type:e,[Up]:!0},t)}function sn(e,t){return e instanceof Error&&Up in e&&(t==null||!!(e.type&t))}const pf="[^/]+?",b1={sensitive:!1,strict:!1,start:!0,end:!0},w1=/[.+*?^${}()[\]/\\]/g;function E1(e,t){const n=Fe({},b1,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(w1,"\\$&"),p+=40;else if(d.type===1){const{value:h,repeatable:m,optional:_,regexp:y}=d;o.push({name:h,repeatable:m,optional:_});const v=y||pf;if(v!==pf){p+=10;try{new RegExp(`(${v})`)}catch(b){throw new Error(`Invalid custom RegExp for param "${h}" (${v}): `+b.message)}}let w=m?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;f||(w=_&&c.length<2?`(?:/${w})`:"/"+w),_&&(w+="?"),s+=w,p+=20,_&&(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:_}=p,y=h in c?c[h]:"";if(zt(y)&&!m)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const v=zt(y)?y.join("/"):y;if(!v)if(_)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 x1(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 S1(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=x1(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(mf(r))return 1;if(mf(s))return-1}return s.length-r.length}function mf(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const C1={type:0,value:""},T1=/[a-zA-Z0-9_]/;function k1(e){if(!e)return[[]];if(e==="/")return[[C1]];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:T1.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 P1(e,t,n){const r=E1(k1(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 $1(e,t){const n=[],r=new Map;t=yf({strict:!1,end:!0,sensitive:!1},t);function s(u){return r.get(u)}function o(u,f,d){const p=!d,h=R1(u);h.aliasOf=d&&d.record;const m=yf(t,u),_=[h];if("alias"in u){const w=typeof u.alias=="string"?[u.alias]:u.alias;for(const b of w)_.push(Fe({},h,{components:d?d.record.components:h.components,path:b,aliasOf:d?d.record:h}))}let y,v;for(const w of _){const{path:b}=w;if(f&&b[0]!=="/"){const C=f.record.path,g=C[C.length-1]==="/"?"":"/";w.path=f.record.path+(b&&g+b)}if(y=P1(w,f,m),d?d.alias.push(y):(v=v||y,v!==y&&v.alias.push(y),p&&u.name&&!vf(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)}:qs}function i(u){if(Hp(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&&S1(u,n[f])>=0&&(u.record.path!==n[f].record.path||!Vp(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!vf(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 Gr(1,{location:u});m=d.record.name,p=Fe(gf(f.params,d.keys.filter(v=>!v.optional).map(v=>v.name)),u.params&&gf(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 Gr(1,{location:u,currentLocation:f});m=d.record.name,p=Fe({},f.params,u.params),h=d.stringify(p)}const _=[];let y=d;for(;y;)_.unshift(y.record),y=y.parent;return{name:m,path:h,params:p,matched:_,meta:N1(_)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:s}}function gf(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function R1(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:A1(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 A1(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 vf(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function N1(e){return e.reduce((t,n)=>Fe(t,n.meta),{})}function yf(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Vp(e,t){return t.children.some(n=>n===e||Vp(e,n))}const Wp=/#/g,O1=/&/g,I1=/\//g,L1=/=/g,M1=/\?/g,Gp=/\+/g,D1=/%5B/g,F1=/%5D/g,qp=/%5E/g,B1=/%60/g,Kp=/%7B/g,j1=/%7C/g,Xp=/%7D/g,z1=/%20/g;function kc(e){return encodeURI(""+e).replace(j1,"|").replace(D1,"[").replace(F1,"]")}function H1(e){return kc(e).replace(Kp,"{").replace(Xp,"}").replace(qp,"^")}function bl(e){return kc(e).replace(Gp,"%2B").replace(z1,"+").replace(Wp,"%23").replace(O1,"%26").replace(B1,"`").replace(Kp,"{").replace(Xp,"}").replace(qp,"^")}function U1(e){return bl(e).replace(L1,"%3D")}function V1(e){return kc(e).replace(Wp,"%23").replace(M1,"%3F")}function W1(e){return e==null?"":V1(e).replace(I1,"%2F")}function Si(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function G1(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(Gp," "),i=o.indexOf("="),a=Si(i<0?o:o.slice(0,i)),l=i<0?null:Si(o.slice(i+1));if(a in t){let c=t[a];zt(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function _f(e){let t="";for(let n in e){const r=e[n];if(n=U1(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(zt(r)?r.map(o=>o&&bl(o)):[r&&bl(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function q1(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=zt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const K1=Symbol(""),bf=Symbol(""),Pc=Symbol(""),$c=Symbol(""),wl=Symbol("");function fs(){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 An(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(Gr(4,{from:n,to:t})):f instanceof Error?a(f):_1(f)?a(Gr(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(X1(a)){const c=(a.__vccOpts||a)[t];c&&s.push(An(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=t1(c)?c.default:c;o.components[i]=u;const d=(u.__vccOpts||u)[t];return d&&An(d,n,r,o,i)()}))}}return s}function X1(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function wf(e){const t=dt(Pc),n=dt($c),r=ge(()=>t.resolve(U(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(Wr.bind(null,u));if(d>-1)return d;const p=Ef(l[c-2]);return c>1&&Ef(u)===p&&f[f.length-1].path!==p?f.findIndex(Wr.bind(null,l[c-2])):d}),o=ge(()=>s.value>-1&&Z1(n.params,r.value.params)),i=ge(()=>s.value>-1&&s.value===n.matched.length-1&&Bp(n.params,r.value.params));function a(l={}){return Q1(l)?t[U(e.replace)?"replace":"push"](U(e.to)).catch(qs):Promise.resolve()}return{route:r,href:ge(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}const Y1=Te({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:wf,setup(e,{slots:t}){const n=jt(wf(e)),{options:r}=dt(Pc),s=ge(()=>({[xf(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[xf(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Ye("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),J1=Y1;function Q1(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 Z1(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!zt(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function Ef(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const xf=(e,t,n)=>e??t??n,ew=Te({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=dt(wl),s=ge(()=>e.route||r.value),o=dt(bf,0),i=ge(()=>{let c=U(o);const{matched:u}=s.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=ge(()=>s.value.matched[i.value]);lr(bf,ge(()=>i.value+1)),lr(K1,a),lr(wl,s);const l=J();return ze(()=>[l.value,a.value,e.name],([c,u,f],[d,p,h])=>{u&&(u.instances[f]=c,p&&p!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),c&&u&&(!p||!Wr(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 Sf(n.default,{Component:d,route:c});const p=f.props[u],h=p?p===!0?c.params:typeof p=="function"?p(c):p:null,_=Ye(d,Fe({},h,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return Sf(n.default,{Component:_,route:c})||_}}});function Sf(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Yp=ew;function tw(e){const t=$1(e.routes,e),n=e.parseQuery||G1,r=e.stringifyQuery||_f,s=e.history,o=fs(),i=fs(),a=fs(),l=rn(Xt);let c=Xt;Tr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ta.bind(null,O=>""+O),f=Ta.bind(null,W1),d=Ta.bind(null,Si);function p(O,X){let V,ce;return Hp(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 _(O){return!!t.getRecordMatcher(O)}function y(O,X){if(X=Fe({},X||l.value),typeof O=="string"){const M=ka(n,O,X.path),B=t.resolve({path:M.path},X),j=s.createHref(M.fullPath);return Fe(M,B,{params:d(B.params),hash:Si(M.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 M=Fe({},O.params);for(const B in M)M[B]==null&&delete M[B];V=Fe({},O,{params:f(M)}),X.params=f(X.params)}const ce=t.resolve(V,X),Ce=O.hash||"";ce.params=u(d(ce.params));const A=s1(r,Fe({},O,{hash:H1(Ce),path:ce.path})),N=s.createHref(A);return Fe({fullPath:A,hash:Ce,query:r===_f?q1(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 Gr(8,{from:X,to:O})}function b(O){return P(O)}function C(O){return b(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 P(O,X){const V=c=y(O),ce=l.value,Ce=O.state,A=O.force,N=O.replace===!0,M=g(V);if(M)return P(Fe(v(M),{state:typeof M=="object"?Fe({},Ce,M.state):Ce,force:A,replace:N}),X||V);const B=V;B.redirectedFrom=X;let j;return!A&&o1(r,ce,V)&&(j=Gr(16,{to:B,from:ce}),re(ce,ce,!0,!1)),(j?Promise.resolve(j):k(B,ce)).catch(z=>sn(z)?sn(z,2)?z:ne(z):F(z,B,ce)).then(z=>{if(z){if(sn(z,2))return P(Fe({replace:N},v(z.to),{state:typeof z.to=="object"?Fe({},Ce,z.to.state):Ce,force:A}),X||B)}else z=T(B,ce,!0,N,Ce);return S(B,ce,z),z})}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,Ce,A]=nw(O,X);V=Pa(ce.reverse(),"beforeRouteLeave",O,X);for(const M of ce)M.leaveGuards.forEach(B=>{V.push(An(B,O,X))});const N=x.bind(null,O,X);return V.push(N),Re(V).then(()=>{V=[];for(const M of o.list())V.push(An(M,O,X));return V.push(N),Re(V)}).then(()=>{V=Pa(Ce,"beforeRouteUpdate",O,X);for(const M of Ce)M.updateGuards.forEach(B=>{V.push(An(B,O,X))});return V.push(N),Re(V)}).then(()=>{V=[];for(const M of A)if(M.beforeEnter)if(zt(M.beforeEnter))for(const B of M.beforeEnter)V.push(An(B,O,X));else V.push(An(M.beforeEnter,O,X));return V.push(N),Re(V)}).then(()=>(O.matched.forEach(M=>M.enterCallbacks={}),V=Pa(A,"beforeRouteEnter",O,X),V.push(N),Re(V))).then(()=>{V=[];for(const M of i.list())V.push(An(M,O,X));return V.push(N),Re(V)}).catch(M=>sn(M,8)?M:Promise.reject(M))}function S(O,X,V){a.list().forEach(ce=>E(()=>ce(O,X,V)))}function T(O,X,V,ce,Ce){const A=w(O,X);if(A)return A;const N=X===Xt,M=Tr?history.state:{};V&&(ce||N?s.replace(O.fullPath,Fe({scroll:N&&M&&M.scroll},Ce)):s.push(O.fullPath,Ce)),l.value=O,re(O,X,V,N),ne()}let $;function R(){$||($=s.listen((O,X,V)=>{if(!Ee.listening)return;const ce=y(O),Ce=g(ce);if(Ce){P(Fe(Ce,{replace:!0}),ce).catch(qs);return}c=ce;const A=l.value;Tr&&h1(ff(A.fullPath,V.delta),Xi()),k(ce,A).catch(N=>sn(N,12)?N:sn(N,2)?(P(N.to,ce).then(M=>{sn(M,20)&&!V.delta&&V.type===fo.pop&&s.go(-1,!1)}).catch(qs),Promise.reject()):(V.delta&&s.go(-V.delta,!1),F(N,ce,A))).then(N=>{N=N||T(ce,A,!1),N&&(V.delta&&!sn(N,8)?s.go(-V.delta,!1):V.type===fo.pop&&sn(N,20)&&s.go(-1,!1)),S(ce,A,N)}).catch(qs)}))}let L=fs(),I=fs(),D;function F(O,X,V){ne(O);const ce=I.list();return ce.length?ce.forEach(Ce=>Ce(O,X,V)):console.error(O),Promise.reject(O)}function H(){return D&&l.value!==Xt?Promise.resolve():new Promise((O,X)=>{L.add([O,X])})}function ne(O){return D||(D=!O,R(),L.list().forEach(([X,V])=>O?V(O):X()),L.reset()),O}function re(O,X,V,ce){const{scrollBehavior:Ce}=e;if(!Tr||!Ce)return Promise.resolve();const A=!V&&p1(ff(O.fullPath,0))||(ce||!V)&&history.state&&history.state.scroll||null;return xt().then(()=>Ce(O,X,A)).then(N=>N&&d1(N)).catch(N=>F(N,O,X))}const se=O=>s.go(O);let he;const fe=new Set,Ee={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,hasRoute:_,getRoutes:m,resolve:y,options:e,push:b,replace:C,go:se,back:()=>se(-1),forward:()=>se(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:I.add,isReady:H,install(O){const X=this;O.component("RouterLink",J1),O.component("RouterView",Yp),O.config.globalProperties.$router=X,Object.defineProperty(O.config.globalProperties,"$route",{enumerable:!0,get:()=>U(l)}),Tr&&!he&&l.value===Xt&&(he=!0,b(s.location).catch(Ce=>{}));const V={};for(const Ce in Xt)Object.defineProperty(V,Ce,{get:()=>l.value[Ce],enumerable:!0});O.provide(Pc,X),O.provide($c,Qr(V)),O.provide(wl,l);const ce=O.unmount;fe.add(O),O.unmount=function(){fe.delete(O),fe.size<1&&(c=Xt,$&&$(),$=null,l.value=Xt,he=!1,D=!1),ce()}}};function Re(O){return O.reduce((X,V)=>X.then(()=>E(V)),Promise.resolve())}return Ee}function nw(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=>Wr(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>Wr(c,l))||s.push(l))}return[n,r,s]}function rw(){return dt($c)}const ds={layout:"none"},hs={layout:"none"},El=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),sw=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),ow=e=>{const t=De();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{El(e)}):El(e)},iw=()=>null;function Jp(...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??iw,s.lazy=s.lazy??!1,s.immediate=s.immediate??!0;const o=De(),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:lc(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(_){m(_)}}).then(h=>{if(p.cancelled)return o._asyncDataPromises[n];let m=h;s.transform&&(m=s.transform(h)),s.pick&&(m=aw(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=U(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]=Ki(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=Ht();if(d&&!d._nuxtOnBeforeMountCbs){d._nuxtOnBeforeMountCbs=[];const h=d._nuxtOnBeforeMountCbs;d&&(Hh(()=>{h.forEach(m=>{m()}),h.splice(0,h.length)}),lo(()=>h.splice(0,h.length)))}u&&o.isHydrating&&a()?(l.pending.value=!1,l.status.value=l.error.value?"error":"success"):d&&(o.payload.serverRendered&&o.isHydrating||s.lazy)&&s.immediate?d._nuxtOnBeforeMountCbs.push(c):s.immediate&&c(),s.watch&&ze(s.watch,()=>l.refresh());const p=o.hook("app:data:refresh",h=>{if(!h||h.includes(n))return l.refresh()});d&&lo(p)}const f=Promise.resolve(o._asyncDataPromises[n]).then(()=>l);return Object.assign(f,l),f}function aw(e,t){const n={};for(const r of t)n[r]=e[r];return n}const Cf=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 lw(e,t){t?t={...Cf,...t}:t=Cf;const n=Qp(t);return n.dispatch(e),n.toString()}const cw=Object.freeze(["prototype","__proto__","constructor"]);function Qp(e){let t="",n=new Map;const r=s=>{t+=s};return{toString(){return t},getContext(){return n},dispatch(s){return e.replacer&&(s=e.replacer(s)),this[s===null?"null":typeof s](s)},object(s){if(s&&typeof s.toJSON=="function")return this.object(s.toJSON());const o=Object.prototype.toString.call(s);let i="";const a=o.length;a<10?i="unknown:["+o+"]":i=o.slice(8,a-1),i=i.toLowerCase();let l=null;if((l=n.get(s))===void 0)n.set(s,n.size);else return this.dispatch("[CIRCULAR:"+l+"]");if(typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(s))return r("buffer:"),r(s.toString("utf8"));if(i!=="object"&&i!=="function"&&i!=="asyncfunction")this[i]?this[i](s):e.ignoreUnknown||this.unkown(s,i);else{let c=Object.keys(s);e.unorderedObjects&&(c=c.sort());let u=[];e.respectType!==!1&&!Tf(s)&&(u=cw),e.excludeKeys&&(c=c.filter(d=>!e.excludeKeys(d)),u=u.filter(d=>!e.excludeKeys(d))),r("object:"+(c.length+u.length)+":");const f=d=>{this.dispatch(d),r(":"),e.excludeValues||this.dispatch(s[d]),r(",")};for(const d of c)f(d);for(const d of u)f(d)}},array(s,o){if(o=o===void 0?e.unorderedArrays!==!1:o,r("array:"+s.length+":"),!o||s.length<=1){for(const l of s)this.dispatch(l);return}const i=new Map,a=s.map(l=>{const c=Qp(e);c.dispatch(l);for(const[u,f]of c.getContext())i.set(u,f);return c.toString()});return n=i,a.sort(),this.array(a,!1)},date(s){return r("date:"+s.toJSON())},symbol(s){return r("symbol:"+s.toString())},unkown(s,o){if(r(o),!!s&&(r(":"),s&&typeof s.entries=="function"))return this.array(Array.from(s.entries()),!0)},error(s){return r("error:"+s.toString())},boolean(s){return r("bool:"+s)},string(s){r("string:"+s.length+":"),r(s)},function(s){r("fn:"),Tf(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
6
+ Use "options.replacer" or "options.ignoreUnknown"
7
+ `)},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 Zp="[native code] }",uw=Zp.length;function Tf(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-uw)===Zp}class Dn{constructor(t,n){t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}toString(t){return(t||fw).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 fw={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("")}},dw={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("")}},hw={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)}},pw={parse(e){return hw.parse(unescape(encodeURIComponent(e)))}};class mw{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=pw.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 gw extends mw{update(t){return this._append(t),this._process(),this}finalize(t){t&&this._append(t)}}const kf=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],vw=[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],qn=[];class yw extends gw{constructor(){super(...arguments),this._hash=new Dn([...kf])}reset(){super.reset(),this._hash=new Dn([...kf])}_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)qn[d]=t[n+d]|0;else{const w=qn[d-15],b=(w<<25|w>>>7)^(w<<14|w>>>18)^w>>>3,C=qn[d-2],g=(C<<15|C>>>17)^(C<<13|C>>>19)^C>>>10;qn[d]=b+qn[d-7]+g+qn[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),_=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),y=f+_+p+vw[d]+qn[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 _w(e){return new yw().finalize(e).toString(dw)}function bw(e,t={}){const n=typeof e=="string"?e:lw(e,t);return _w(n).slice(0,10)}function ww(e,t,n){const[r={},s]=typeof t=="string"?[{},t]:[t,n],o=ge(()=>{let b=e;return typeof b=="function"&&(b=b()),U(b)}),i=r.key||bw([s,U(r.baseURL),typeof o.value=="string"?o.value:"",U(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,_=jt({...m,cache:typeof r.cache=="boolean"?void 0:r.cache}),y={server:l,lazy:c,default:u,transform:f,pick:d,immediate:h,watch:p===!1?[]:[_,o,...p||[]]};let v;return Jp(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,..._})),y)}async function em(e,t=it()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const s=t._preloadPromises=t._preloadPromises||[];if(s.length>4)return Promise.all(s).then(()=>em(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 Ew(e={}){const t=e.path||window.location.pathname;let n={};try{n=JSON.parse(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:De().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const xw=(...e)=>e.find(t=>t!==void 0),Sw="noopener noreferrer";/*! @__NO_SIDE_EFFECTS__ */function Cw(e){const t=e.componentName||"NuxtLink",n=(r,s)=>{if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;const o=e.trailingSlash==="append"?yi:Sc;if(typeof r=="string")return o(r,!0);const i="path"in r?r.path:s(r).path;return{...r,name:void 0,path:o(i,!0)}};return Te({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(r,{slots:s}){const o=it(),i=ge(()=>{const f=r.to||r.href||"";return n(f,o.resolve)}),a=ge(()=>r.external||r.target&&r.target!=="_self"?!0:typeof i.value=="object"?!1:i.value===""||ns(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"&&!kw()){const d=De();let p,h=null;En(()=>{const m=Tw();ow(()=>{p=El(()=>{c?.value?.tagName&&(h=m.observe(c.value,async()=>{h?.(),h=null;const _=typeof i.value=="string"?i.value:o.resolve(i.value).fullPath;await Promise.all([d.hooks.callHook("link:prefetch",_).catch(()=>{}),!a.value&&em(i.value,o).catch(()=>{})]),l.value=!0}))})})}),ts(()=>{p&&sw(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),Ye(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:xw(r.rel,e.externalRelAttribute,f?Sw:"")||null,h=()=>Fp(f,{replace:r.replace});return r.custom?s.default?s.default({href:f,navigate:h,get route(){if(!f)return;const m=Eo(f);return{path:m.pathname,fullPath:m.pathname,get query(){return wp(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:Ye("a",{ref:c,href:f,rel:p,target:d},s.default?.())}}})}const Yi=Cw({componentName:"NuxtLink"});function Tw(){const e=De();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 kw(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}function _n(e){return fh()?(av(e),!0):!1}function Pw(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():U(e)}const dr=typeof window<"u"&&typeof document<"u",$w=e=>typeof e<"u",Rw=Object.prototype.toString,Aw=e=>Rw.call(e)==="[object Object]",qr=()=>{},Nw=Ow();function Ow(){var e;return dr&&((e=window?.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function tm(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 nm=e=>e();function rm(e,t={}){let n,r,s=qr;const o=a=>{clearTimeout(a),s(),s=qr};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 Iw(e=nm){const t=J(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...o)=>{t.value&&e(...o)};return{isActive:Zr(t),pause:n,resume:r,eventFilter:s}}function Lw(e){const t=Object.create(null);return n=>t[n]||(t[n]=e(n))}const Mw=/-(\w)/g,Dw=Lw(e=>e.replace(Mw,(t,n)=>n?n.toUpperCase():""));function Pf(e,t=!1,n="Timeout"){return new Promise((r,s)=>{setTimeout(t?()=>s(n):r,e)})}function Fw(e,t=200,n={}){return tm(rm(t,n),e)}function Bw(e,t=200,n={}){const r=J(e.value),s=Fw(()=>{r.value=e.value},t,n);return ze(e,()=>s()),r}function sm(e,t,n={}){const{eventFilter:r=nm,...s}=n;return ze(e,tm(r,t),s)}function jw(e,t,n={}){const{eventFilter:r,...s}=n,{eventFilter:o,pause:i,resume:a,isActive:l}=Iw(r);return{stop:sm(e,t,{...s,eventFilter:o}),pause:i,resume:a,isActive:l}}function zw(e,t={}){if(!Be(e))return Bv(e);const n=Array.isArray(e.value)?Array.from({length:e.value.length}):{};for(const r in e.value)n[r]=Fv(()=>({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 Rc(e,t=!0){Ht()?En(e):t?e():xt(e)}function xl(e,t=!1){function n(f,{flush:d="sync",deep:p=!1,timeout:h,throwOnTimeout:m}={}){let _=null;const v=[new Promise(w=>{_=ze(e,b=>{f(b)!==t&&(_?.(),w(b))},{flush:d,deep:p,immediate:!0})})];return h!=null&&v.push(Pf(h,m).then(()=>tt(e)).finally(()=>_?.())),Promise.race(v)}function r(f,d){if(!Be(f))return n(b=>b===f,d);const{flush:p="sync",deep:h=!1,timeout:m,throwOnTimeout:_}=d??{};let y=null;const w=[new Promise(b=>{y=ze([e,f],([C,g])=>{t!==(C===g)&&(y?.(),b(C))},{flush:p,deep:h,immediate:!0})})];return m!=null&&w.push(Pf(m,_).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 xl(e,!t)}}:{toMatch:n,toBe:r,toBeTruthy:s,toBeNull:o,toBeNaN:a,toBeUndefined:i,changed:c,changedTimes:u,get not(){return xl(e,!t)}}}function Hw(e){return xl(e)}function Uw(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&&dr&&c(),Be(t)||typeof t=="function"){const u=ze(t,()=>{i.value&&dr&&c()});_n(u)}return _n(l),{isActive:i,pause:l,resume:c}}function Vw(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,dr&&l()),_n(a),{isPending:Zr(s),start:l,stop:a}}function S2(e,t,n={}){const{debounce:r=0,maxWait:s=void 0,...o}=n;return sm(e,t,{...o,eventFilter:rm(r,{maxWait:s})})}function C2(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=qr}=r,l=J(!s),c=i?rn(t):J(t);let u=0;return Fr(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 T2(e={}){const{inheritAttrs:t=!0}=e,n=rn(),r=Te({setup(o,{slots:i}){return()=>{n.value=i.default}}}),s=Te({inheritAttrs:t,setup(o,{attrs:i,slots:a}){return()=>{var l;n.value;const c=(l=n.value)==null?void 0:l.call(n,{...Ww(i),$slots:a});return t&&c?.length===1?c[0]:c}}});return Pw({define:r,reuse:s},[r,s])}function Ww(e){const t={};for(const n in e)t[Dw(n)]=e[n];return t}function Ac(e={}){let t=0;const n=J([]);function r(...i){const a=Qr({key:t++,args:i,promise:void 0,resolve:()=>{},reject:()=>{},isResolving:!1,options:e});return n.value.push(a),a.promise=new Promise((l,c)=>{a.resolve=u=>(a.isResolving=!0,l(u)),a.reject=c}).finally(()=>{a.promise=void 0;const l=n.value.indexOf(a);l!==-1&&n.value.splice(l,1)}),a.promise}function s(...i){return e.singleton&&n.value.length>0?n.value[0].promise:r(...i)}const o=Te((i,{slots:a})=>{const l=()=>n.value.map(c=>{var u;return Ye(Ie,{key:c.key},(u=a.default)==null?void 0:u.call(a,c))});return e.transition?()=>Ye(v_,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 At=dr?window:void 0,Gw=dr?window.document:void 0,qw=dr?window.navigator:void 0;function Bt(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=At):[t,n,r,s]=e,!t)return qr;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(u=>u()),o.length=0},a=(u,f,d,p)=>(u.addEventListener(f,d,p),()=>u.removeEventListener(f,d,p)),l=ze(()=>[Et(t),tt(s)],([u,f])=>{if(i(),!u)return;const d=Aw(f)?{...f}:f;o.push(...n.flatMap(p=>r.map(h=>a(u,p,h,d))))},{immediate:!0,flush:"post"}),c=()=>{l(),i()};return _n(c),c}let $f=!1;function Nc(e,t,n={}){const{window:r=At,ignore:s=[],capture:o=!0,detectIframe:i=!1}=n;if(!r)return;Nw&&!$f&&($f=!0,Array.from(r.document.body.children).forEach(d=>d.addEventListener("click",qr)),r.document.documentElement.addEventListener("click",qr));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=[Bt(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}),Bt(r,"pointerdown",d=>{const p=Et(e);p&&(a=!d.composedPath().includes(p)&&!l(d))},{passive:!0}),i&&Bt(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 Kw(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Xw(...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=At,eventName:o="keydown",passive:i=!1,dedupe:a=!1}=r,l=Kw(t);return Bt(s,o,u=>{u.repeat&&tt(a)||l(u)&&n(u)},i)}function k2(e,t,n={}){return Xw(e,t,{...n,eventName:"keydown"})}function Yw(){const e=J(!1);return Ht()&&En(()=>{e.value=!0}),e}function Oc(e){const t=Yw();return ge(()=>(t.value,!!e()))}function Jw(e,t={}){const{immediate:n=!0,window:r=At}=t,s=J(!1);let o=0,i=null;function a(u){if(!s.value||!r)return;const f=u-(o||u);e({delta:f,timestamp:u}),o=u,i=r.requestAnimationFrame(a)}function l(){!s.value&&r&&(s.value=!0,i=r.requestAnimationFrame(a))}function c(){s.value=!1,i!=null&&r&&(r.cancelAnimationFrame(i),i=null)}return n&&l(),_n(c),{isActive:Zr(s),pause:c,resume:l}}function Qw(e,t={}){const{window:n=At}=t,r=Oc(()=>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=Fr(()=>{r.value&&(a(),s=n.matchMedia(tt(e)),"addEventListener"in s?s.addEventListener("change",i):s.addListener(i),o.value=s.matches)});return _n(()=>{l(),a(),s=void 0}),o}function Zw(e={}){const{navigator:t=qw,read:n=!1,source:r,copiedDuring:s=1500,legacy:o=!1}=e,i=Oc(()=>t&&"clipboard"in t),a=ge(()=>i.value||o),l=J(""),c=J(!1),u=Vw(()=>c.value=!1,s);function f(){i.value?t.clipboard.readText().then(m=>{l.value=m}):l.value=h()}a.value&&n&&Bt(["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 _=document.createElement("textarea");_.value=m??"",_.style.position="absolute",_.style.opacity="0",document.body.appendChild(_),_.select(),document.execCommand("copy"),_.remove()}function h(){var m,_,y;return(y=(_=(m=document?.getSelection)==null?void 0:m.call(document))==null?void 0:_.toString())!=null?y:""}return{isSupported:a,text:l,copied:c,copy:d}}function eE(e){return JSON.parse(JSON.stringify(e))}const zo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ho="__vueuse_ssr_handlers__",tE=nE();function nE(){return Ho in zo||(zo[Ho]=zo[Ho]||{}),zo[Ho]}function rE(e,t){return tE[e]||t}function sE(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 oE={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()}},Rf="vueuse-storage";function om(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=At,eventFilter:d,onError:p=x=>{console.error(x)}}=r,h=(u?rn:J)(t);if(!n)try{n=rE("getDefaultStorage",()=>{var x;return(x=At)==null?void 0:x.localStorage})()}catch(x){p(x)}if(!n)return h;const m=tt(t),_=sE(m),y=(s=r.serializer)!=null?s:oE[_],{pause:v,resume:w}=jw(h,()=>b(h.value),{flush:o,deep:i,eventFilter:d});return f&&a&&(Bt(f,"storage",P),Bt(f,Rf,g)),P(),h;function b(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(Rf,{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):_==="object"&&!Array.isArray(k)?{...m,...k}:k}else return typeof E!="string"?E:y.read(E)}function g(x){P(x.detail)}function P(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 im(e,t,n={}){const{window:r=At,...s}=n;let o;const i=Oc(()=>r&&"ResizeObserver"in r),a=()=>{o&&(o.disconnect(),o=void 0)},l=ge(()=>Array.isArray(e)?e.map(f=>Et(f)):[Et(e)]),c=ze(l,f=>{if(a(),i.value&&r){o=new ResizeObserver(t);for(const d of f)d&&o.observe(d,s)}},{immediate:!0,flush:"post",deep:!0}),u=()=>{a(),c()};return _n(u),{isSupported:i,stop:u}}function P2(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 _=m.getBoundingClientRect();i.value=_.height,a.value=_.bottom,l.value=_.left,c.value=_.right,u.value=_.top,f.value=_.width,d.value=_.x,p.value=_.y}return im(e,h),ze(()=>Et(e),m=>!m&&h()),s&&Bt("scroll",h,{capture:!0,passive:!0}),r&&Bt("resize",h,{passive:!0}),Rc(()=>{o&&h()}),{height:i,bottom:a,left:l,right:c,top:u,width:f,x:d,y:p,update:h}}function $2(e,t={width:0,height:0},n={}){const{window:r=At,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 im(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),ze(()=>Et(e),l=>{i.value=l?t.width:0,a.value=l?t.height:0}),{width:i,height:a}}function Co(e,t,n={}){const{window:r=At}=n;return om(e,t,r?.localStorage,n)}function iE(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,r=J(new Date),s=()=>r.value=new Date,o=n==="requestAnimationFrame"?Jw(s,{immediate:!0}):Uw(s,n,{immediate:!0});return t?{now:r,...o}:r}function aE(e,t,n={}){const{window:r=At}=n;return om(e,t,r?.sessionStorage,n)}let lE=0;function R2(e,t={}){const n=J(!1),{document:r=Gw,immediate:s=!0,manual:o=!1,id:i=`vueuse_styletag_${++lE}`}=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=ze(a,d=>{f.textContent=d},{immediate:!0}),n.value=!0)},u=()=>{!r||!n.value||(l(),r.head.removeChild(r.getElementById(i)),n.value=!1)};return s&&!o&&Rc(c),o||_n(u),{id:i,css:a,unload:u,load:c,isLoaded:Zr(n)}}const cE=[{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"}],uE={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 fE(e){return e.toISOString().slice(0,10)}function A2(e,t={}){const{controls:n=!1,updateInterval:r=3e4}=t,{now:s,...o}=iE({interval:r,controls:!0}),i=ge(()=>dE(new Date(tt(e)),t,tt(s)));return n?{timeAgo:i,...o}:i}function dE(e,t={},n=Date.now()){var r;const{max:s,messages:o=uE,fullDateFormatter:i=fE,units:a=cE,showSecond:l=!1,rounding:c="round"}=t,u=typeof c=="number"?_=>+_.toFixed(c):Math[c],f=+n-+e,d=Math.abs(f);function p(_,y){return u(Math.abs(_)/y.value)}function h(_,y){const v=p(_,y),w=_>0,b=m(y.name,v,w);return m(w?"past":"future",b,w)}function m(_,y,v){const w=o[_];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 _=(r=a.find(y=>y.name===s))==null?void 0:r.max;if(_&&d>_)return i(new Date(e))}for(const[_,y]of a.entries()){if(p(f,y)<=0&&a[_-1])return h(f,a[_-1]);if(d<y.max)return h(f,y)}return o.invalid}function am(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=Ht(),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 _=w=>a?typeof a=="function"?a(w):eE(w):w,y=()=>$w(e[t])?_(e[t]):f,v=w=>{d?d(w)&&h(m,w):h(m,w)};if(l){const w=y(),b=J(w);let C=!1;return ze(()=>e[t],g=>{C||(C=!0,b.value=_(g),xt(()=>C=!1))}),ze(b,g=>{!C&&(g!==e[t]||u)&&v(g)},{deep:u}),b}else return ge({get(){return y()},set(w){v(w)}})}function lm(e={}){const{window:t=At,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(),Rc(l),Bt("resize",l,{passive:!0}),s){const c=Qw("(orientation: portrait)");ze(c,()=>l())}return{width:i,height:a}}function hE(e=""){return!e||!e.includes("\\")?e:e.replace(/\\/g,"/")}const pE=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;function mE(){return typeof process<"u"?process.cwd().replace(/\\/g,"/"):"/"}const Af=function(...e){e=e.map(r=>hE(r));let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const s=r>=0?e[r]:mE();!s||s.length===0||(t=`${s}/${t}`,n=Nf(s))}return t=gE(t,!n),n&&!Nf(t)?`/${t}`:t.length>0?t:"."};function gE(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 Nf=function(e){return pE.test(e)},vE=function(e,t){const n=Af(e).split("/"),r=Af(t).split("/"),s=[...n];for(const o of s){if(r[0]!==o)break;n.shift(),r.shift()}return[...n.map(()=>".."),...r].join("/")};function N2(e){return!!e.match(/[/\\]node_modules[/\\]/)||Ic(e)}function Ic(e){return e[0]==="#"||!!e.match(/^(@[a-z0-9-~][a-z0-9-._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/)}function yE(e){if(Ic(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 O2(e){if(e)return["nuxt","#app","#head","vue"].includes(e)}function I2(e,t){if(e=e.replace(/\\/g,"/"),Ic(e))return{moduleName:e,path:e};const n=yE(e),r=_E(e);if(n&&r)return{moduleName:n,path:r};try{let s=vE(t,e);return!s.startsWith("./")&&!s.startsWith("../")&&(s=`./${s}`),s.startsWith("./.nuxt/")&&(s=`#build${s.slice(7)}`),{path:s}}catch{return{path:e}}}function vt(e,t,n){const r=De(),s=r.payload.unique=r.payload.unique||{};return s[e]||(s[e]=Jp(e,t,n)),s[e].data}function L2(){return typeof navigator<"u"&&navigator.platform.toLowerCase().includes("mac")}const Of={get:"bg-green-400:10 text-green-400",post:"bg-blue-400:10 text-blue-400",put:"bg-orange-400:10 text-orange-400",delete:"bg-red-400:10 text-red-400",patch:"bg-purple-400:10 text-purple-400",head:"bg-teal-400:10 text-teal-400",default:"bg-gray-400:10 text-gray-400"};function M2(e){return Of[e.toLowerCase()]||Of.default}function D2(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 F2(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 B2(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 Ji(e,t){return vr(e,()=>aE(e,t,{listenToStorageChanges:!1}))}function j2(e,t){const n=t?.find(s=>s.id===e.filePath)?.deps?.map(s=>t?.find(o=>o.id===s)?.id).filter(Boolean),r=t?.filter(s=>s.deps.includes(e.filePath)).map(s=>s.id);return{component:e,dependencies:n,dependents:r}}const bE=6e4;function cm(e){return e}const wE=cm,{setTimeout:EE}=globalThis,xE=Math.random.bind(Math);function SE(e,t){const{post:n,on:r,eventNames:s=[],serialize:o=cm,deserialize:i=wE,resolver:a,timeout:l=bE}=t,c=new Map;let u;const f=new Proxy({},{get(d,p){if(p==="$functions")return e;const h=(..._)=>{n(o({m:p,a:_,t:"q"}))};if(s.includes(p))return h.asEvent=h,h;const m=async(..._)=>(await u,new Promise((y,v)=>{const w=TE();let b;l>=0&&(b=EE(()=>{v(new Error(`[birpc] timeout on calling "${p}"`)),c.delete(w)},l).unref?.()),c.set(w,{resolve:y,reject:v,timeoutId:b}),n(o({m:p,a:_,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:_}=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,_)}catch(b){v=b}h.i&&(v&&t.onError&&t.onError(v,m,_),n(o({t:"s",i:h.i,r:y,e:v}),...p))}else{const{i:m,r:_,e:y}=h,v=c.get(m);v&&(clearTimeout(v.timeoutId),y?v.reject(y):v.resolve(_)),c.delete(m)}}),f}const CE="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function TE(e=21){let t="",n=e;for(;n--;)t+=CE[xE()*64|0];return t}/*! (c) 2020 Andrea Giammarchi */const{parse:kE,stringify:PE}=JSON,{keys:$E}=Object,ho=String,um="string",If={},Ci="object",fm=(e,t)=>t,RE=e=>e instanceof ho?ho(e):e,AE=(e,t)=>typeof t===um?new ho(t):t,dm=(e,t,n,r)=>{const s=[];for(let o=$E(n),{length:i}=o,a=0;a<i;a++){const l=o[a],c=n[l];if(c instanceof ho){const u=e[c];typeof u===Ci&&!t.has(u)?(t.add(u),n[l]=If,s.push({k:l,a:[e,t,u,r]})):n[l]=r.call(n,l,u)}else n[l]!==If&&(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,dm.apply(null,l))}return n},Lf=(e,t,n)=>{const r=ho(t.push(n)-1);return e.set(n,r),r},NE=(e,t)=>{const n=kE(e,AE).map(RE),r=n[0],s=t||fm,o=typeof r===Ci&&r?dm(n,new Set,r,s):r;return s.call({"":o},"",o)},OE=(e,t,n)=>{const r=t&&typeof t===Ci?(u,f)=>u===""||-1<t.indexOf(u)?f:void 0:t||fm,s=new Map,o=[],i=[];let a=+Lf(s,o,r.call({"":e},"",e)),l=!a;for(;a<o.length;)l=!0,i[a]=PE(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 Ci:if(d===null)return d;case um:return s.get(d)||Lf(s,o,d)}return d}};async function IE(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 _e(()=>import(n),[],import.meta.url)}catch{t&&console.error(`[vite-hot-client] Failed to import "${e}@vite/client"`)}}function LE(e=window.location.pathname){return e.split("/").map((t,n,r)=>r.slice(0,n+1).join("/")||"/")}async function ME(e="/___",t){t=t??LE();for(const n of t){const s=(await IE(n,!1))?.createHotContext(e);if(s)return s}console.error("[vite-hot-client] Failed to import vite client, tried with:",t)}const hm="nuxt:devtools:rpc",DE=J(!1),FE=J(),BE=Bw(DE,2e3),jE=zE();let pm=()=>{};const mm={},gm=new Map,Me=SE(mm,{post:async e=>{(await jE).send(hm,e)},on:e=>{pm=e},serialize:OE,deserialize:NE,resolver(e,t){if(t)return t;if(!e.includes(":"))return;const[n,r]=e.split(":");return gm.get(n)?.[r]},onError(e,t){console.error(`[nuxt-devtools] RPC error on executing "${t}":`,e)},timeout:12e4});async function zE(){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 ME(void 0,[...e?[`${e}${t}/`,e]:[],"/_nuxt/","/"]);if(!n)throw new Error("Unable to connect to devtools");return n.on(hm,r=>{pm(r)}),n}const z2=Ac(),vm=Ac();function HE(){return vr("devtools:restart-dialogs",()=>[])}let ym;function Lc(e){ym?.(e)}function UE(e){ym=e}var VE=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function WE(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function H2(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 Sl={exports:{}};(function(e,t){(function(n,r){var s="1.0.35",o="",i="?",a="function",l="undefined",c="object",u="string",f="major",d="model",p="name",h="type",m="vendor",_="version",y="architecture",v="console",w="mobile",b="tablet",C="smarttv",g="wearable",P="embedded",x=350,E="Amazon",k="Apple",S="ASUS",T="BlackBerry",$="Browser",R="Chrome",L="Edge",I="Firefox",D="Google",F="Huawei",H="LG",ne="Microsoft",re="Motorola",se="Opera",he="Samsung",fe="Sharp",Ee="Sony",Re="Xiaomi",O="Zebra",X="Facebook",V="Chromium OS",ce="Mac OS",Ce=function(ee,le){var oe={};for(var de in ee)le[de]&&le[de].length%2===0?oe[de]=le[de].concat(ee[de]):oe[de]=ee[de];return oe},A=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?M(le).indexOf(M(ee))!==-1:!1},M=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)},z=function(ee,le){for(var oe=0,de,Ne,We,ke,ve,at;oe<le.length&&!ve;){var wr=le[oe],lt=le[oe+1];for(de=Ne=0;de<wr.length&&!ve&&wr[de];)if(ve=wr[de++].exec(ee),ve)for(We=0;We<lt.length;We++)at=ve[++Ne],ke=lt[We],typeof ke===c&&ke.length>0?ke.length===2?typeof ke[1]==a?this[ke[0]]=ke[1].call(this,at):this[ke[0]]=ke[1]:ke.length===3?typeof ke[1]===a&&!(ke[1].exec&&ke[1].test)?this[ke[0]]=at?ke[1].call(this,at,ke[2]):r:this[ke[0]]=at?at.replace(ke[1],ke[2]):r:ke.length===4&&(this[ke[0]]=at?ke[3].call(this,at.replace(ke[1],ke[2])):r):this[ke]=at||r;oe+=2}},te=function(ee,le){for(var oe in le)if(typeof le[oe]===c&&le[oe].length>0){for(var de=0;de<le[oe].length;de++)if(N(le[oe][de],ee))return oe===i?r:oe}else if(N(le[oe],ee))return oe===i?r:oe;return ee},G={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},q={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},W={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[_,[p,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[_,[p,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[p,_],[/opios[\/ ]+([\w\.]+)/i],[_,[p,se+" Mini"]],[/\bopr\/([\w\.]+)/i],[_,[p,se]],[/(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,_],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[_,[p,"UC"+$]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[_,[p,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[_,[p,"WeChat"]],[/konqueror\/([\w\.]+)/i],[_,[p,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[_,[p,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[_,[p,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[p,/(.+)/,"$1 Secure "+$],_],[/\bfocus\/([\w\.]+)/i],[_,[p,I+" Focus"]],[/\bopt\/([\w\.]+)/i],[_,[p,se+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[_,[p,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[_,[p,"Dolphin"]],[/coast\/([\w\.]+)/i],[_,[p,se+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[_,[p,"MIUI "+$]],[/fxios\/([-\w\.]+)/i],[_,[p,I]],[/\bqihu|(qi?ho?o?|360)browser/i],[[p,"360 "+$]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[p,/(.+)/,"$1 "+$],_],[/(comodo_dragon)\/([\w\.]+)/i],[[p,/_/g," "],_],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[p,_],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[p],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[p,X],_],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[p,_],[/\bgsa\/([\w\.]+) .*safari\//i],[_,[p,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[_,[p,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[_,[p,R+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[p,R+" WebView"],_],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[_,[p,"Android "+$]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[p,_],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[_,[p,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[_,p],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[p,[_,te,G]],[/(webkit|khtml)\/([\w\.]+)/i],[p,_],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[p,"Netscape"],_],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[_,[p,I+" 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,_],[/(cobalt)\/([\w\.]+)/i],[p,[_,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[y,"amd64"]],[/(ia32(?=;))/i],[[y,M]],[/((?: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,M]],[/(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,M]]],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,he],[h,b]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[m,he],[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,b]],[/(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,b]],[/(?: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 ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[m,Re],[h,w]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[m,Re],[h,b]],[/; (\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,re],[h,w]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[m,re],[h,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[m,H],[h,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[m,H],[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,b]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[m,"Nokia"],[h,w]],[/(pixel c)\b/i],[d,[m,D],[h,b]],[/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,b]],[/ (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,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[m,E],[h,w]],[/(playbook);[-\w\),; ]+(rim)/i],[d,m,[h,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[m,T],[h,w]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[m,S],[h,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[m,S],[h,w]],[/(nexus 9)/i],[d,[m,"HTC"],[h,b]],[/(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,b]],[/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)[-_ ]?([-\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,b]],[/(surface duo)/i],[d,[m,ne],[h,b]],[/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]],[/\b(venue[\d ]{2,7}) b/i],[d,[m,"Dell"],[h,b]],[/\b(q(?:mv|ta)\w+) b/i],[d,[m,"Verizon"],[h,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[m,"Barnes & Noble"],[h,b]],[/\b(tm\d{3}\w+) b/i],[d,[m,"NuVision"],[h,b]],[/\b(k88) b/i],[d,[m,"ZTE"],[h,b]],[/\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]],[/\b((zeki)?tb.*\b) b/i],[d,[m,"Zeki"],[h,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[m,"Dragon Touch"],d,[h,b]],[/\b(ns-?\w{0,9}) b/i],[d,[m,"Insignia"],[h,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[m,"NextBook"],[h,b]],[/\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]],[/\b(trio[-\w\. ]+) b/i],[d,[m,"MachSpeed"],[h,b]],[/\btu_(1491) b/i],[d,[m,"Rotor"],[h,b]],[/(shield[\w ]+) b/i],[d,[m,"Nvidia"],[h,b]],[/(sprint) (\w+)/i],[m,d,[h,w]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[m,ne],[h,w]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[m,O],[h,b]],[/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,he],[h,C]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[m,H],[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,Re],[h,C]],[/Hbbtv.*(technisat) (.*);/i],[m,d,[h,C]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[m,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,ne],[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,P]],[/(aeobc)\b/i],[d,[m,E],[h,P]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[d,[h,w]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[h,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[h,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[h,w]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[m,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[_,[p,L+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[_,[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,_],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[_,p]],os:[[/microsoft (windows) (vista|xp)/i],[p,_],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[p,[_,te,q]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[p,"Windows"],[_,te,q]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/ios;fbsv\/([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[_,/_/g,"."],[p,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[p,ce],[_,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[_,p],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[p,_],[/\(bb(10);/i],[_,[p,T]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[_,[p,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[_,[p,I+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[_,[p,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[_,[p,"watchOS"]],[/crkey\/([\d\.]+)/i],[_,[p,R+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[p,V],_],[/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,_],[/(sunos) ?([\w\.\d]*)/i],[[p,"Solaris"],_],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[p,_]]},ie=function(ee,le){if(typeof ee===c&&(le=ee,ee=r),!(this instanceof ie))return new ie(ee,le).getResult();var oe=typeof n!==l&&n.navigator?n.navigator:r,de=ee||(oe&&oe.userAgent?oe.userAgent:o),Ne=oe&&oe.userAgentData?oe.userAgentData:r,We=le?Ce(W,le):W,ke=oe&&oe.userAgent==de;return this.getBrowser=function(){var ve={};return ve[p]=r,ve[_]=r,z.call(ve,de,We.browser),ve[f]=B(ve[_]),ke&&oe&&oe.brave&&typeof oe.brave.isBrave==a&&(ve[p]="Brave"),ve},this.getCPU=function(){var ve={};return ve[y]=r,z.call(ve,de,We.cpu),ve},this.getDevice=function(){var ve={};return ve[m]=r,ve[d]=r,ve[h]=r,z.call(ve,de,We.device),ke&&!ve[h]&&Ne&&Ne.mobile&&(ve[h]=w),ke&&ve[d]=="Macintosh"&&oe&&typeof oe.standalone!==l&&oe.maxTouchPoints&&oe.maxTouchPoints>2&&(ve[d]="iPad",ve[h]=b),ve},this.getEngine=function(){var ve={};return ve[p]=r,ve[_]=r,z.call(ve,de,We.engine),ve},this.getOS=function(){var ve={};return ve[p]=r,ve[_]=r,z.call(ve,de,We.os),ke&&!ve[p]&&Ne&&Ne.platform!="Unknown"&&(ve[p]=Ne.platform.replace(/chrome os/i,V).replace(/macos/i,ce)),ve},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(ve){return de=typeof ve===u&&ve.length>x?j(ve,x):ve,this},this.setUA(de),this};ie.VERSION=s,ie.BROWSER=A([p,_,f]),ie.CPU=A([y]),ie.DEVICE=A([d,m,h,v,w,C,b,g,P]),ie.ENGINE=ie.OS=A([p,_]),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:VE)})(Sl,Sl.exports);var GE=Sl.exports;const Tt=J(localStorage.getItem("__nuxt_dev_token__")),kt=J(!1),_m=new BroadcastChannel("__nuxt_dev_token__");_m.addEventListener("message",e=>{if(e.data.event==="new-token"){if(e.data.data===Tt.value)return;const t=e.data.data;Me.verifyAuthToken(t).then(n=>{Tt.value=n?t:null,kt.value=n})}});function qE(e){Tt.value=e,kt.value=!0,localStorage.setItem("__nuxt_dev_token__",e),_m.postMessage({event:"new-token",data:e})}async function KE(){if(kt.value)return Tt.value;if(Tt.value||await Mf(),kt.value=await Me.verifyAuthToken(Tt.value),!kt.value)throw Tt.value=null,Lc({message:"Invalid auth token, action canceled",icon:"i-carbon-warning-alt",classes:"text-red"}),await Mf(),new Error("Invalid auth token");return Tt.value}async function Mf(){const e=new GE.UAParser(navigator.userAgent).getResult(),t=[e.browser.name,e.browser.version,"|",e.os.name,e.os.version,e.device.type].filter(r=>r).join(" ");if(Me.requestForAuth(t),await Promise.race([vm.start(),Hw(Tt.value).toBeTruthy()])===!1)throw Lc({message:"Action canceled",icon:"carbon-close",classes:"text-orange"}),new Error("User canceled auth")}var Cl={exports:{}};const XE="2.0.0",bm=256,YE=Number.MAX_SAFE_INTEGER||9007199254740991,JE=16,QE=bm-6,ZE=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var Qi={MAX_LENGTH:bm,MAX_SAFE_COMPONENT_LENGTH:JE,MAX_SAFE_BUILD_LENGTH:QE,MAX_SAFE_INTEGER:YE,RELEASE_TYPES:ZE,SEMVER_SPEC_VERSION:XE,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};const ex=typeof process=="object"&&process.env&&{}.NODE_DEBUG&&/\bsemver\b/i.test({}.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var Zi=ex;(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:s}=Qi,o=Zi;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[_,y]of d)m=m.split(`${_}*`).join(`${_}{0,${y}}`).split(`${_}+`).join(`${_}{1,${y}}`);return m},h=(m,_,y)=>{const v=p(_),w=u++;o(m,w,_),c[m]=w,l[w]=_,i[w]=new RegExp(_,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*$")})(Cl,Cl.exports);var To=Cl.exports;const tx=Object.freeze({loose:!0}),nx=Object.freeze({}),rx=e=>e?typeof e!="object"?tx:e:nx;var Mc=rx;const Df=/^[0-9]+$/,wm=(e,t)=>{const n=Df.test(e),r=Df.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1},sx=(e,t)=>wm(t,e);var Em={compareIdentifiers:wm,rcompareIdentifiers:sx};const Uo=Zi,{MAX_LENGTH:Ff,MAX_SAFE_INTEGER:Vo}=Qi,{safeRe:Bf,t:jf}=To,ox=Mc,{compareIdentifiers:xr}=Em;let ix=class qt{constructor(t,n){if(n=ox(n),t instanceof qt){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>Ff)throw new TypeError(`version is longer than ${Ff} characters`);Uo("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;const r=t.trim().match(n.loose?Bf[jf.LOOSE]:Bf[jf.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>Vo||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Vo||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Vo||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<Vo)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(Uo("SemVer.compare",this.version,this.options,t),!(t instanceof qt)){if(typeof t=="string"&&t===this.version)return 0;t=new qt(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof qt||(t=new qt(t,this.options)),xr(this.major,t.major)||xr(this.minor,t.minor)||xr(this.patch,t.patch)}comparePre(t){if(t instanceof qt||(t=new qt(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(Uo("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 xr(r,s)}while(++n)}compareBuild(t){t instanceof qt||(t=new qt(t,this.options));let n=0;do{const r=this.build[n],s=t.build[n];if(Uo("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 xr(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]),xr(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 pt=ix;const zf=pt,ax=(e,t,n=!1)=>{if(e instanceof zf)return e;try{return new zf(e,t)}catch(r){if(!n)return null;throw r}};var rs=ax;const lx=rs,cx=(e,t)=>{const n=lx(e,t);return n?n.version:null};var ux=cx;const fx=rs,dx=(e,t)=>{const n=fx(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null};var hx=dx;const Hf=pt,px=(e,t,n,r,s)=>{typeof n=="string"&&(s=r,r=n,n=void 0);try{return new Hf(e instanceof Hf?e.version:e,n).inc(t,r,s).version}catch{return null}};var mx=px;const Uf=rs,gx=(e,t)=>{const n=Uf(e,null,!0),r=Uf(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 vx=gx;const yx=pt,_x=(e,t)=>new yx(e,t).major;var bx=_x;const wx=pt,Ex=(e,t)=>new wx(e,t).minor;var xx=Ex;const Sx=pt,Cx=(e,t)=>new Sx(e,t).patch;var Tx=Cx;const kx=rs,Px=(e,t)=>{const n=kx(e,t);return n&&n.prerelease.length?n.prerelease:null};var $x=Px;const Vf=pt,Rx=(e,t,n)=>new Vf(e,n).compare(new Vf(t,n));var Vt=Rx;const Ax=Vt,Nx=(e,t,n)=>Ax(t,e,n);var Ox=Nx;const Ix=Vt,Lx=(e,t)=>Ix(e,t,!0);var Mx=Lx;const Wf=pt,Dx=(e,t,n)=>{const r=new Wf(e,n),s=new Wf(t,n);return r.compare(s)||r.compareBuild(s)};var Dc=Dx;const Fx=Dc,Bx=(e,t)=>e.sort((n,r)=>Fx(n,r,t));var jx=Bx;const zx=Dc,Hx=(e,t)=>e.sort((n,r)=>zx(r,n,t));var Ux=Hx;const Vx=Vt,Wx=(e,t,n)=>Vx(e,t,n)>0;var ea=Wx;const Gx=Vt,qx=(e,t,n)=>Gx(e,t,n)<0;var Fc=qx;const Kx=Vt,Xx=(e,t,n)=>Kx(e,t,n)===0;var xm=Xx;const Yx=Vt,Jx=(e,t,n)=>Yx(e,t,n)!==0;var Sm=Jx;const Qx=Vt,Zx=(e,t,n)=>Qx(e,t,n)>=0;var Bc=Zx;const eS=Vt,tS=(e,t,n)=>eS(e,t,n)<=0;var jc=tS;const nS=xm,rS=Sm,sS=ea,oS=Bc,iS=Fc,aS=jc,lS=(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 nS(e,n,r);case"!=":return rS(e,n,r);case">":return sS(e,n,r);case">=":return oS(e,n,r);case"<":return iS(e,n,r);case"<=":return aS(e,n,r);default:throw new TypeError(`Invalid operator: ${t}`)}};var Cm=lS;const cS=pt,uS=rs,{safeRe:Wo,t:Go}=To,fS=(e,t)=>{if(e instanceof cS)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(Wo[Go.COERCE]);else{let r;for(;(r=Wo[Go.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)(!n||r.index+r[0].length!==n.index+n[0].length)&&(n=r),Wo[Go.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;Wo[Go.COERCERTL].lastIndex=-1}return n===null?null:uS(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)};var dS=fS,$a,Gf;function hS(){return Gf||(Gf=1,$a=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}),$a}var pS=Oe;Oe.Node=hr;Oe.create=Oe;function Oe(e){var t=this;if(t instanceof Oe||(t=new Oe),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}Oe.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};Oe.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++}};Oe.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++}};Oe.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)gS(this,arguments[e]);return this.length};Oe.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)vS(this,arguments[e]);return this.length};Oe.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}};Oe.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}};Oe.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};Oe.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};Oe.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};Oe.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};Oe.prototype.map=function(e,t){t=t||this;for(var n=new Oe,r=this.head;r!==null;)n.push(e.call(t,r.value,this)),r=r.next;return n};Oe.prototype.mapReverse=function(e,t){t=t||this;for(var n=new Oe,r=this.tail;r!==null;)n.push(e.call(t,r.value,this)),r=r.prev;return n};Oe.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};Oe.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};Oe.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};Oe.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};Oe.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 Oe;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};Oe.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 Oe;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};Oe.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=mS(this,s,n[r]);return o};Oe.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 mS(e,t,n){var r=t===e.head?new hr(n,null,t,e):new hr(n,t,t.next,e);return r.next===null&&(e.tail=r),r.prev===null&&(e.head=r),e.length++,r}function gS(e,t){e.tail=new hr(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function vS(e,t){e.head=new hr(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function hr(e,t,n,r){if(!(this instanceof hr))return new hr(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{hS()(Oe)}catch{}const yS=pS,Zn=Symbol("max"),un=Symbol("length"),Sr=Symbol("lengthCalculator"),Xs=Symbol("allowStale"),rr=Symbol("maxAge"),cn=Symbol("dispose"),qf=Symbol("noDisposeOnSet"),Ze=Symbol("lruList"),Ot=Symbol("cache"),Tm=Symbol("updateAgeOnGet"),Ra=()=>1;class _S{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[Zn]=t.max||1/0;const n=t.length||Ra;if(this[Sr]=typeof n!="function"?Ra:n,this[Xs]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[rr]=t.maxAge||0,this[cn]=t.dispose,this[qf]=t.noDisposeOnSet||!1,this[Tm]=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[Zn]=t||1/0,ps(this)}get max(){return this[Zn]}set allowStale(t){this[Xs]=!!t}get allowStale(){return this[Xs]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[rr]=t,ps(this)}get maxAge(){return this[rr]}set lengthCalculator(t){typeof t!="function"&&(t=Ra),t!==this[Sr]&&(this[Sr]=t,this[un]=0,this[Ze].forEach(n=>{n.length=this[Sr](n.value,n.key),this[un]+=n.length})),ps(this)}get lengthCalculator(){return this[Sr]}get length(){return this[un]}get itemCount(){return this[Ze].length}rforEach(t,n){n=n||this;for(let r=this[Ze].tail;r!==null;){const s=r.prev;Kf(this,t,r,n),r=s}}forEach(t,n){n=n||this;for(let r=this[Ze].head;r!==null;){const s=r.next;Kf(this,t,r,n),r=s}}keys(){return this[Ze].toArray().map(t=>t.key)}values(){return this[Ze].toArray().map(t=>t.value)}reset(){this[cn]&&this[Ze]&&this[Ze].length&&this[Ze].forEach(t=>this[cn](t.key,t.value)),this[Ot]=new Map,this[Ze]=new yS,this[un]=0}dump(){return this[Ze].map(t=>Ti(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[Ze]}set(t,n,r){if(r=r||this[rr],r&&typeof r!="number")throw new TypeError("maxAge must be a number");const s=r?Date.now():0,o=this[Sr](n,t);if(this[Ot].has(t)){if(o>this[Zn])return Ir(this,this[Ot].get(t)),!1;const l=this[Ot].get(t).value;return this[cn]&&(this[qf]||this[cn](t,l.value)),l.now=s,l.maxAge=r,l.value=n,this[un]+=o-l.length,l.length=o,this.get(t),ps(this),!0}const i=new bS(t,n,o,s,r);return i.length>this[Zn]?(this[cn]&&this[cn](t,n),!1):(this[un]+=i.length,this[Ze].unshift(i),this[Ot].set(t,this[Ze].head),ps(this),!0)}has(t){if(!this[Ot].has(t))return!1;const n=this[Ot].get(t).value;return!Ti(this,n)}get(t){return Aa(this,t,!0)}peek(t){return Aa(this,t,!1)}pop(){const t=this[Ze].tail;return t?(Ir(this,t),t.value):null}del(t){Ir(this,this[Ot].get(t))}load(t){this.reset();const n=Date.now();for(let r=t.length-1;r>=0;r--){const s=t[r],o=s.e||0;if(o===0)this.set(s.k,s.v);else{const i=o-n;i>0&&this.set(s.k,s.v,i)}}}prune(){this[Ot].forEach((t,n)=>Aa(this,n,!1))}}const Aa=(e,t,n)=>{const r=e[Ot].get(t);if(r){const s=r.value;if(Ti(e,s)){if(Ir(e,r),!e[Xs])return}else n&&(e[Tm]&&(r.value.now=Date.now()),e[Ze].unshiftNode(r));return s.value}},Ti=(e,t)=>{if(!t||!t.maxAge&&!e[rr])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[rr]&&n>e[rr]},ps=e=>{if(e[un]>e[Zn])for(let t=e[Ze].tail;e[un]>e[Zn]&&t!==null;){const n=t.prev;Ir(e,t),t=n}},Ir=(e,t)=>{if(t){const n=t.value;e[cn]&&e[cn](n.key,n.value),e[un]-=n.length,e[Ot].delete(n.key),e[Ze].removeNode(t)}};class bS{constructor(t,n,r,s,o){this.key=t,this.value=n,this.length=r,this.now=s,this.maxAge=o||0}}const Kf=(e,t,n,r)=>{let s=n.value;Ti(e,s)&&(Ir(e,n),e[Xs]||(s=void 0)),s&&t.call(r,s.value,s.key,e)};var wS=_S,Na,Xf;function Wt(){if(Xf)return Na;Xf=1;class e{constructor(R,L){if(L=r(L),R instanceof e)return R.loose===!!L.loose&&R.includePrerelease===!!L.includePrerelease?R:new e(R.raw,L);if(R instanceof s)return this.raw=R.value,this.set=[[R]],this.format(),this;if(this.options=L,this.loose=!!L.loose,this.includePrerelease=!!L.includePrerelease,this.raw=R.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(I=>this.parseRange(I.trim())).filter(I=>I.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const I=this.set[0];if(this.set=this.set.filter(D=>!h(D[0])),this.set.length===0)this.set=[I];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 I=((this.options.includePrerelease&&d)|(this.options.loose&&p))+":"+R,D=n.get(I);if(D)return D;const F=this.options.loose,H=F?a[l.HYPHENRANGELOOSE]:a[l.HYPHENRANGE];R=R.replace(H,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 ne=R.split(" ").map(fe=>y(fe,this.options)).join(" ").split(/\s+/).map(fe=>k(fe,this.options));F&&(ne=ne.filter(fe=>(o("loose invalid filter",fe,this.options),!!fe.match(a[l.COMPARATORLOOSE])))),o("range list",ne);const re=new Map,se=ne.map(fe=>new s(fe,this.options));for(const fe of se){if(h(fe))return[fe];re.set(fe.value,fe)}re.size>1&&re.has("")&&re.delete("");const he=[...re.values()];return n.set(I,he),he}intersects(R,L){if(!(R instanceof e))throw new TypeError("a Range is required");return this.set.some(I=>_(I,L)&&R.set.some(D=>_(D,L)&&I.every(F=>D.every(H=>F.intersects(H,L)))))}test(R){if(!R)return!1;if(typeof R=="string")try{R=new i(R,this.options)}catch{return!1}for(let L=0;L<this.set.length;L++)if(T(this.set[L],R,this.options))return!0;return!1}}Na=e;const t=wS,n=new t({max:1e3}),r=Mc,s=ta(),o=Zi,i=pt,{safeRe:a,t:l,comparatorTrimReplace:c,tildeTrimReplace:u,caretTrimReplace:f}=To,{FLAG_INCLUDE_PRERELEASE:d,FLAG_LOOSE:p}=Qi,h=$=>$.value==="<0.0.0-0",m=$=>$.value==="",_=($,R)=>{let L=!0;const I=$.slice();let D=I.pop();for(;L&&I.length;)L=I.every(F=>D.intersects(F,R)),D=I.pop();return L},y=($,R)=>(o("comp",$,R),$=C($,R),o("caret",$),$=w($,R),o("tildes",$),$=P($,R),o("xrange",$),$=E($,R),o("stars",$),$),v=$=>!$||$.toLowerCase()==="x"||$==="*",w=($,R)=>$.trim().split(/\s+/).map(L=>b(L,R)).join(" "),b=($,R)=>{const L=R.loose?a[l.TILDELOOSE]:a[l.TILDE];return $.replace(L,(I,D,F,H,ne)=>{o("tilde",$,I,D,F,H,ne);let re;return v(D)?re="":v(F)?re=`>=${D}.0.0 <${+D+1}.0.0-0`:v(H)?re=`>=${D}.${F}.0 <${D}.${+F+1}.0-0`:ne?(o("replaceTilde pr",ne),re=`>=${D}.${F}.${H}-${ne} <${D}.${+F+1}.0-0`):re=`>=${D}.${F}.${H} <${D}.${+F+1}.0-0`,o("tilde return",re),re})},C=($,R)=>$.trim().split(/\s+/).map(L=>g(L,R)).join(" "),g=($,R)=>{o("caret",$,R);const L=R.loose?a[l.CARETLOOSE]:a[l.CARET],I=R.includePrerelease?"-0":"";return $.replace(L,(D,F,H,ne,re)=>{o("caret",$,D,F,H,ne,re);let se;return v(F)?se="":v(H)?se=`>=${F}.0.0${I} <${+F+1}.0.0-0`:v(ne)?F==="0"?se=`>=${F}.${H}.0${I} <${F}.${+H+1}.0-0`:se=`>=${F}.${H}.0${I} <${+F+1}.0.0-0`:re?(o("replaceCaret pr",re),F==="0"?H==="0"?se=`>=${F}.${H}.${ne}-${re} <${F}.${H}.${+ne+1}-0`:se=`>=${F}.${H}.${ne}-${re} <${F}.${+H+1}.0-0`:se=`>=${F}.${H}.${ne}-${re} <${+F+1}.0.0-0`):(o("no pr"),F==="0"?H==="0"?se=`>=${F}.${H}.${ne}${I} <${F}.${H}.${+ne+1}-0`:se=`>=${F}.${H}.${ne}${I} <${F}.${+H+1}.0-0`:se=`>=${F}.${H}.${ne} <${+F+1}.0.0-0`),o("caret return",se),se})},P=($,R)=>(o("replaceXRanges",$,R),$.split(/\s+/).map(L=>x(L,R)).join(" ")),x=($,R)=>{$=$.trim();const L=R.loose?a[l.XRANGELOOSE]:a[l.XRANGE];return $.replace(L,(I,D,F,H,ne,re)=>{o("xRange",$,I,D,F,H,ne,re);const se=v(F),he=se||v(H),fe=he||v(ne),Ee=fe;return D==="="&&Ee&&(D=""),re=R.includePrerelease?"-0":"",se?D===">"||D==="<"?I="<0.0.0-0":I="*":D&&Ee?(he&&(H=0),ne=0,D===">"?(D=">=",he?(F=+F+1,H=0,ne=0):(H=+H+1,ne=0)):D==="<="&&(D="<",he?F=+F+1:H=+H+1),D==="<"&&(re="-0"),I=`${D+F}.${H}.${ne}${re}`):he?I=`>=${F}.0.0${re} <${+F+1}.0.0-0`:fe&&(I=`>=${F}.${H}.0${re} <${F}.${+H+1}.0-0`),o("xRange return",I),I})},E=($,R)=>(o("replaceStars",$,R),$.trim().replace(a[l.STAR],"")),k=($,R)=>(o("replaceGTE0",$,R),$.trim().replace(a[R.includePrerelease?l.GTE0PRE:l.GTE0],"")),S=$=>(R,L,I,D,F,H,ne,re,se,he,fe,Ee,Re)=>(v(I)?L="":v(D)?L=`>=${I}.0.0${$?"-0":""}`:v(F)?L=`>=${I}.${D}.0${$?"-0":""}`:H?L=`>=${L}`:L=`>=${L}${$?"-0":""}`,v(se)?re="":v(he)?re=`<${+se+1}.0.0-0`:v(fe)?re=`<${se}.${+he+1}.0-0`:Ee?re=`<=${se}.${he}.${fe}-${Ee}`:$?re=`<${se}.${he}.${+fe+1}-0`:re=`<=${re}`,`${L} ${re}`.trim()),T=($,R,L)=>{for(let I=0;I<$.length;I++)if(!$[I].test(R))return!1;if(R.prerelease.length&&!L.includePrerelease){for(let I=0;I<$.length;I++)if(o($[I].semver),$[I].semver!==s.ANY&&$[I].semver.prerelease.length>0){const D=$[I].semver;if(D.major===R.major&&D.minor===R.minor&&D.patch===R.patch)return!0}return!1}return!0};return Na}var Oa,Yf;function ta(){if(Yf)return Oa;Yf=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=Mc,{safeRe:r,t:s}=To,o=Cm,i=Zi,a=pt,l=Wt();return Oa}const ES=Wt(),xS=(e,t,n)=>{try{t=new ES(t,n)}catch{return!1}return t.test(e)};var na=xS;const SS=Wt(),CS=(e,t)=>new SS(e,t).set.map(n=>n.map(r=>r.value).join(" ").trim().split(" "));var TS=CS;const kS=pt,PS=Wt(),$S=(e,t,n)=>{let r=null,s=null,o=null;try{o=new PS(t,n)}catch{return null}return e.forEach(i=>{o.test(i)&&(!r||s.compare(i)===-1)&&(r=i,s=new kS(r,n))}),r};var RS=$S;const AS=pt,NS=Wt(),OS=(e,t,n)=>{let r=null,s=null,o=null;try{o=new NS(t,n)}catch{return null}return e.forEach(i=>{o.test(i)&&(!r||s.compare(i)===1)&&(r=i,s=new AS(r,n))}),r};var IS=OS;const Ia=pt,LS=Wt(),Jf=ea,MS=(e,t)=>{e=new LS(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||Jf(a,o))&&(o=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${i.operator}`)}}),o&&(!n||Jf(n,o))&&(n=o)}return n&&e.test(n)?n:null};var DS=MS;const FS=Wt(),BS=(e,t)=>{try{return new FS(e,t).range||"*"}catch{return null}};var jS=BS;const zS=pt,km=ta(),{ANY:HS}=km,US=Wt(),VS=na,Qf=ea,Zf=Fc,WS=jc,GS=Bc,qS=(e,t,n,r)=>{e=new zS(e,r),t=new US(t,r);let s,o,i,a,l;switch(n){case">":s=Qf,o=WS,i=Zf,a=">",l=">=";break;case"<":s=Zf,o=GS,i=Qf,a="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(VS(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===HS&&(p=new km(">=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 zc=qS;const KS=zc,XS=(e,t,n)=>KS(e,t,">",n);var YS=XS;const JS=zc,QS=(e,t,n)=>JS(e,t,"<",n);var ZS=QS;const ed=Wt(),eC=(e,t,n)=>(e=new ed(e,n),t=new ed(t,n),e.intersects(t,n));var tC=eC;const nC=na,rC=Vt;var sC=(e,t,n)=>{const r=[];let s=null,o=null;const i=e.sort((u,f)=>rC(u,f,n));for(const u of i)nC(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 td=Wt(),Hc=ta(),{ANY:La}=Hc,ms=na,Uc=Vt,oC=(e,t,n={})=>{if(e===t)return!0;e=new td(e,n),t=new td(t,n);let r=!1;e:for(const s of e.set){for(const o of t.set){const i=aC(s,o,n);if(r=r||i!==null,i)continue e}if(r)return!1}return!0},iC=[new Hc(">=0.0.0-0")],nd=[new Hc(">=0.0.0")],aC=(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=iC:e=nd}if(t.length===1&&t[0].semver===La){if(n.includePrerelease)return!0;t=nd}const r=new Set;let s,o;for(const p of e)p.operator===">"||p.operator===">="?s=rd(s,p,n):p.operator==="<"||p.operator==="<="?o=sd(o,p,n):r.add(p.semver);if(r.size>1)return null;let i;if(s&&o){if(i=Uc(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&&!ms(p,String(s),n)||o&&!ms(p,String(o),n))return null;for(const h of t)if(!ms(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=rd(s,p,n),a===p&&a!==s)return!1}else if(s.operator===">="&&!ms(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=sd(o,p,n),l===p&&l!==o)return!1}else if(o.operator==="<="&&!ms(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)},rd=(e,t,n)=>{if(!e)return t;const r=Uc(e.semver,t.semver,n);return r>0?e:r<0||t.operator===">"&&e.operator===">="?t:e},sd=(e,t,n)=>{if(!e)return t;const r=Uc(e.semver,t.semver,n);return r<0?e:r>0||t.operator==="<"&&e.operator==="<="?t:e};var lC=oC;const Ma=To,od=Qi,cC=pt,id=Em,uC=rs,fC=ux,dC=hx,hC=mx,pC=vx,mC=bx,gC=xx,vC=Tx,yC=$x,_C=Vt,bC=Ox,wC=Mx,EC=Dc,xC=jx,SC=Ux,CC=ea,TC=Fc,kC=xm,PC=Sm,$C=Bc,RC=jc,AC=Cm,NC=dS,OC=ta(),IC=Wt(),LC=na,MC=TS,DC=RS,FC=IS,BC=DS,jC=jS,zC=zc,HC=YS,UC=ZS,VC=tC,WC=sC,GC=lC;var qC={parse:uC,valid:fC,clean:dC,inc:hC,diff:pC,major:mC,minor:gC,patch:vC,prerelease:yC,compare:_C,rcompare:bC,compareLoose:wC,compareBuild:EC,sort:xC,rsort:SC,gt:CC,lt:TC,eq:kC,neq:PC,gte:$C,lte:RC,cmp:AC,coerce:NC,Comparator:OC,Range:IC,satisfies:LC,toComparators:MC,maxSatisfying:DC,minSatisfying:FC,minVersion:BC,validRange:jC,outside:zC,gtr:HC,ltr:UC,intersects:VC,simplifyRange:WC,subset:GC,SemVer:cC,re:Ma.re,src:Ma.src,tokens:Ma.t,SEMVER_SPEC_VERSION:od.SEMVER_SPEC_VERSION,RELEASE_TYPES:od.RELEASE_TYPES,compareIdentifiers:id.compareIdentifiers,rcompareIdentifiers:id.rcompareIdentifiers};const KC=WE(qC),Da=new Map;function U2(e,t){const n=e;return Da.has(n)||Da.set(n,JC(e,t)),Da.get(n)}function XC(){return vt("npm:check:nuxt",()=>Me.checkForUpdateFor("nuxt"))}function YC(e){const t=XC();return ge(()=>t?.value?.current?KC.satisfies(t.value.current,e):!1)}function JC(e,t){const n=De(),r=vt(`npm:check:${e}`,()=>Me.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 Me.getNpmCommand("update",e,t);if(c&&await l(c.join(" ")))return s.value="running",o.value=(await Me.runNpmCommand(await KE(),"update",e,t))?.processId,o.value}async function a(){s.value==="updated"&&await Me.restartNuxt()}return{info:r,state:s,update:i,restart:a,processId:o}}const gs={icon:"carbon-edge-node",title:"Build Analyze",layout:"full",category:"analyze",show(){return YC("^3.5.0")}},vs={icon:"carbon-image-copy",title:"Assets",layout:"full"},ys={icon:"i-carbon-assembly-cluster",title:"Components",order:2},_s={layout:"full"},bs={icon:"carbon-ibm-cloud-direct-link-2-connect",title:"Hooks",category:"advanced"},ws={icon:"carbon-function",title:"Imports",order:3},Es={icon:"carbon-layers",title:"Middleware",wip:!0},xs={icon:"carbon-3d-mpr-toggle",title:"Modules",order:4},ra=()=>vr("color-mode").value,Tl=J();let ad;function QC(){ad||(ad=(async()=>{const{default:e}=await _e(()=>import("./index.475555a9.js").then(t=>t.i),[],import.meta.url);Tl.value=new e({html:!0,linkify:!0,breaks:!0})})())}function ZC(e){return QC(),Tl.value?Tl.value.render(e):e}async function eT(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=(_,y)=>_+(y-_%y)%y;for(let _=1;_<=4;_*=2){let y=p*(1+.2/_);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 _=m.exports;e.asm=_,t=e.asm.memory,s(t.buffer)}const h=await e.instantiateWasm(d);return p(h),h}return await f(),e._omalloc=function(){return(e._omalloc=e.asm.omalloc).apply(null,arguments)},e._ofree=function(){return(e._ofree=e.asm.ofree).apply(null,arguments)},e._getLastOnigError=function(){return(e._getLastOnigError=e.asm.getLastOnigError).apply(null,arguments)},e._createOnigScanner=function(){return(e._createOnigScanner=e.asm.createOnigScanner).apply(null,arguments)},e._freeOnigScanner=function(){return(e._freeOnigScanner=e.asm.freeOnigScanner).apply(null,arguments)},e._findNextOnigScannerMatch=function(){return(e._findNextOnigScannerMatch=e.asm.findNextOnigScannerMatch).apply(null,arguments)},e._findNextOnigScannerMatchDbg=function(){return(e._findNextOnigScannerMatchDbg=e.asm.findNextOnigScannerMatchDbg).apply(null,arguments)},e}var tT=Object.defineProperty,nT=(e,t,n)=>t in e?tT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Je=(e,t,n)=>(nT(e,typeof t!="symbol"?t+"":t,n),n);let et=null,rT=!1;function sT(e){throw new Error(e.UTF8ToString(e._getLastOnigError()))}class sa{constructor(t){Je(this,"utf16Length"),Je(this,"utf8Length"),Je(this,"utf16Value"),Je(this,"utf8Value"),Je(this,"utf16OffsetToUtf8"),Je(this,"utf8OffsetToUtf16");const n=t.length,r=sa._utf8ByteLength(t),s=r!==n,o=s?new Uint32Array(n+1):null;s&&(o[n]=r);const i=s?new Uint32Array(r+1):null;s&&(i[r]=n);const a=new Uint8Array(r);let l=0;for(let c=0;c<n;c++){const u=t.charCodeAt(c);let f=u,d=!1;if(u>=55296&&u<=56319&&c+1<n){const p=t.charCodeAt(c+1);p>=56320&&p<=57343&&(f=(u-55296<<10)+65536|p-56320,d=!0)}s&&(o[c]=l,d&&(o[c+1]=l),f<=127?i[l+0]=c:f<=2047?(i[l+0]=c,i[l+1]=c):f<=65535?(i[l+0]=c,i[l+1]=c,i[l+2]=c):(i[l+0]=c,i[l+1]=c,i[l+2]=c,i[l+3]=c)),f<=127?a[l++]=f:f<=2047?(a[l++]=192|(f&1984)>>>6,a[l++]=128|(f&63)>>>0):f<=65535?(a[l++]=224|(f&61440)>>>12,a[l++]=128|(f&4032)>>>6,a[l++]=128|(f&63)>>>0):(a[l++]=240|(f&1835008)>>>18,a[l++]=128|(f&258048)>>>12,a[l++]=128|(f&4032)>>>6,a[l++]=128|(f&63)>>>0),d&&c++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=a,this.utf16OffsetToUtf8=o,this.utf8OffsetToUtf16=i}static _utf8ByteLength(t){let n=0;for(let r=0,s=t.length;r<s;r++){const o=t.charCodeAt(r);let i=o,a=!1;if(o>=55296&&o<=56319&&r+1<s){const l=t.charCodeAt(r+1);l>=56320&&l<=57343&&(i=(o-55296<<10)+65536|l-56320,a=!0)}i<=127?n+=1:i<=2047?n+=2:i<=65535?n+=3:n+=4,a&&r++}return n}createString(t){const n=t._omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}const oa=class Kt{constructor(t){if(Je(this,"id",++Kt.LAST_ID),Je(this,"_onigBinding"),Je(this,"content"),Je(this,"utf16Length"),Je(this,"utf8Length"),Je(this,"utf16OffsetToUtf8"),Je(this,"utf8OffsetToUtf16"),Je(this,"ptr"),!et)throw new Error("Must invoke loadWasm first.");this._onigBinding=et,this.content=t;const n=new sa(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!Kt._sharedPtrInUse?(Kt._sharedPtr||(Kt._sharedPtr=et._omalloc(1e4)),Kt._sharedPtrInUse=!0,et.HEAPU8.set(n.utf8Value,Kt._sharedPtr),this.ptr=Kt._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===Kt._sharedPtr?Kt._sharedPtrInUse=!1:this._onigBinding._ofree(this.ptr)}};Je(oa,"LAST_ID",0);Je(oa,"_sharedPtr",0);Je(oa,"_sharedPtrInUse",!1);let Pm=oa;class oT{constructor(t){if(Je(this,"_onigBinding"),Je(this,"_ptr"),!et)throw new Error("Must invoke loadWasm first.");const n=[],r=[];for(let a=0,l=t.length;a<l;a++){const c=new sa(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&&sT(et),this._onigBinding=et,this._ptr=i}dispose(){this._onigBinding._freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let s=rT,o=0;if(typeof r=="number"?(r&8&&(s=!0),o=r):typeof r=="boolean"&&(s=r),typeof t=="string"){t=new Pm(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 iT(e,t){et=await eT({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 aT(e){return typeof e.instantiator=="function"}function lT(e){return typeof e.data<"u"}function cT(e){return typeof Response<"u"&&e instanceof Response}let ld=!1,Fa=null;function cd(e){if(ld)return Fa;ld=!0;let t,n;if(typeof e=="function")t=e;else if(aT(e))t=e.instantiator,n=e.print;else{let r;lT(e)?(r=e.data,n=e.print):r=e,cT(r)?typeof WebAssembly.instantiateStreaming=="function"?t=fT(r):t=dT(r):t=uT(r)}return Fa=iT(t,n),Fa}function uT(e){return t=>WebAssembly.instantiate(e,t)}function fT(e){return t=>WebAssembly.instantiateStreaming(e,t)}function dT(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}function hT(e){return new Pm(e)}function pT(e){return new oT(e)}var mT=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},$m={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(mT,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),_=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&&(_=u?1:0),f!==-1&&(y=f),d!==0&&(v=d),p!==0&&(w=p),(h<<0|m<<8|_<<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),_=this._toStandardTokenType(h);return new l(m,_)}),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 _(x,E,k,S,T){const $=c.createMatchers(E,y),R=f.RuleFactory.getCompiledRuleId(k,S,T.repository);for(const L of $)x.push({debugSelector:E,matcher:L.matcher,ruleId:R,grammar:T,priority:L.priority})}function y(x,E){if(E.length<x.length)return!1;let k=0;return x.every(S=>{for(let T=k;T<E.length;T++)if(v(E[T],S))return k=T+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,T,$,R,L){return new w(x,E,k,S,T,$,R,L)};class w{constructor(E,k,S,T,$,R,L,I){if(this._rootScopeName=E,this.balancedBracketSelectors=R,this._onigLib=I,this._basicScopeAttributesProvider=new h.BasicScopeAttributesProvider(S,T),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=L,this._grammar=b(k,null),this._injections=null,this._tokenTypeMatchers=[],$)for(const D of Object.keys($)){const F=c.createMatchers(D,y);for(const H of F)this._tokenTypeMatchers.push({matcher:H.matcher,type:$[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=(T=>T===this._rootScopeName?this._grammar:this.getExternalGrammar(T))(k);if(S){const T=S.injections;if(T)for(let R in T)_(E,R,T[R],this,S);const $=this._grammarRepository.injections(k);$&&$.forEach(R=>{const L=this.getExternalGrammar(R);if(L){const I=L.injectionSelector;I&&_(E,I,L,this,L)}})}return E.sort((T,$)=>T.priority-$.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]=b(S,k&&k.$base),this._includedGrammars[E]}}tokenizeLine(E,k,S=0){const T=this._tokenize(E,k,!1,S);return{tokens:T.lineTokens.getResult(T.ruleStack,T.lineLength),ruleStack:T.ruleStack,stoppedEarly:T.stoppedEarly}}tokenizeLine2(E,k,S=0){const T=this._tokenize(E,k,!0,S);return{tokens:T.lineTokens.getBinaryResult(T.ruleStack,T.lineLength),ruleStack:T.ruleStack,stoppedEarly:T.stoppedEarly}}_tokenize(E,k,S,T){let $;if(this._rootId===-1&&(this._rootId=f.RuleFactory.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections()),k&&k!==g.NULL)$=!1,k.reset();else{$=!0;const F=this._basicScopeAttributesProvider.getDefaultAttributes(),H=this.themeProvider.getDefaults(),ne=l.EncodedTokenAttributes.set(0,F.languageId,F.tokenType,null,H.fontStyle,H.foregroundId,H.backgroundId),re=this.getRule(this._rootId).getName(null,null);let se;se=re?C.createRootAndLookUpScopeName(re,ne,this):C.createRoot("unknown",ne),k=new g(null,this._rootId,-1,-1,!1,null,se,se)}E+=`
8
+ `;const R=this.createOnigString(E),L=R.content.length,I=new P(S,E,this._tokenTypeMatchers,this.balancedBracketSelectors),D=m._tokenizeString(this,R,$,0,k,I,!0,T);return u.disposeOnigString(R),{lineLength:L,lineTokens:I,ruleStack:D.stack,stoppedEarly:D.stoppedEarly}}}function b(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,T=E?.scopePath??null;for(const $ of k)T=d.ScopeStack.push(T,$.scopeNames),S=new C(S,T,$.encodedTokenAttributes);return S}static createRoot(E,k){return new C(null,new d.ScopeStack(null,E),k)}static createRootAndLookUpScopeName(E,k,S){const T=S.getMetadataForScope(E),$=new d.ScopeStack(null,E),R=S.themeProvider.themeMatch($),L=C.mergeAttributes(k,T,R);return new C(null,$,L)}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 T=-1,$=0,R=0;return S!==null&&(T=S.fontStyle,$=S.foregroundId,R=S.backgroundId),l.EncodedTokenAttributes.set(E,k.languageId,k.tokenType,null,T,$,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 T=this;for(const $ of S)T=C._pushAttributed(T,$,k);return T}static _pushAttributed(E,k,S){const T=S.getMetadataForScope(k),$=E.scopePath.push(k),R=S.themeProvider.themeMatch($),L=C.mergeAttributes(E.tokenAttributes,T,R);return new C(E,$,L)}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,T,$,R,L,I){this.parent=E,this.ruleId=k,this.beginRuleCapturedEOL=$,this.endRule=R,this.nameScopesList=L,this.contentNameScopesList=I,this._stackElementBrand=void 0,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=S,this._anchorPos=T}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,T,$,R,L){return new g(this,E,k,S,T,$,R,L)}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 P{constructor(E,k,S,T){this.balancedBracketSelectors=T,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 T=E?.tokenAttributes??0,$=!1;if(this.balancedBracketSelectors?.matchesAlways&&($=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const R=E?.getScopeNames()??[];for(const L of this._tokenTypeOverrides)L.matcher(R)&&(T=l.EncodedTokenAttributes.set(T,0,l.toOptionalTokenType(L.type),null,-1,0,0));this.balancedBracketSelectors&&($=this.balancedBracketSelectors.match(R))}if($&&(T=l.EncodedTokenAttributes.set(T,0,8,$,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===T)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 L=0;L<R.length;L++)console.log(" * "+R[L])}return this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(T),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 T=0;T<S.length;T++)console.log(" * "+S[T])}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 T=0,$=this._binaryTokens.length;T<$;T++)S[T]=this._binaryTokens[T];return S}}o.LineTokens=P},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,P){this.scopeName=g,this.ruleName=P}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 P=g.toKey();this._seenReferenceKeys.has(P)||(this._seenReferenceKeys.add(P),this._references.push(g))}}function f(C,g,P,x){const E=P.lookup(C.scopeName);if(!E){if(C.scopeName===g)throw new Error(`No grammar provided for <${g}>`);return}const k=P.lookup(g);C instanceof l?p({baseGrammar:k,selfGrammar:E},x):d(C.ruleName,{baseGrammar:k,selfGrammar:E,repository:E.repository},x);const S=P.injections(C.scopeName);if(S)for(const T of S)x.add(new l(T))}function d(C,g,P){g.repository&&g.repository[C]&&h([g.repository[C]],g,P)}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,P){for(const x of C){if(P.visitedRule.has(x))continue;P.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},P);const k=x.include;if(!k)continue;const S=b(k);switch(S.kind){case 0:p({...g,selfGrammar:g.baseGrammar},P);break;case 1:p(g,P);break;case 2:d(S.ruleName,{...g,repository:E},P);break;case 3:case 4:const T=S.scopeName===g.selfGrammar.scopeName?g.selfGrammar:S.scopeName===g.baseGrammar.scopeName?g.baseGrammar:void 0;if(T){const $={baseGrammar:g.baseGrammar,selfGrammar:T,repository:E};S.kind===4?d(S.ruleName,$,P):p($,P)}else S.kind===4?P.add(new c(S.scopeName,S.ruleName)):P.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 P of C)f(P,this.initialScopeName,this.repo,g);for(const P of g.references)if(P instanceof l){if(this.seenFullScopeRequests.has(P.scopeName))continue;this.seenFullScopeRequests.add(P.scopeName),this.Q.push(P)}else{if(this.seenFullScopeRequests.has(P.scopeName)||this.seenPartialScopeRequests.has(P.toKey()))continue;this.seenPartialScopeRequests.add(P.toKey()),this.Q.push(P)}}};class m{constructor(){this.kind=0}}o.BaseReference=m;class _{constructor(){this.kind=1}}o.SelfReference=_;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,P){this.scopeName=g,this.ruleName=P,this.kind=4}}function b(C){if(C==="$base")return new m;if(C==="$self")return new _;const g=C.indexOf("#");if(g===-1)return new v(C);if(g===0)return new y(C.substring(1));{const P=C.substring(0,g),x=C.substring(g+1);return new w(P,x)}}o.TopLevelRepositoryReference=w,o.parseInclude=b},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,b){this.stack=w,this.stoppedEarly=b}}function d(v,w,b,C,g,P,x,E){const k=w.content.length;let S=!1,T=-1;if(x){const L=function(I,D,F,H,ne,re){let se=ne.beginRuleCapturedEOL?0:-1;const he=[];for(let fe=ne;fe;fe=fe.pop()){const Ee=fe.getRule(I);Ee instanceof c.BeginWhileRule&&he.push({rule:Ee,stack:fe})}for(let fe=he.pop();fe;fe=he.pop()){const{ruleScanner:Ee,findOptions:Re}=h(fe.rule,I,fe.stack.endRule,F,H===se),O=Ee.findNextMatchSync(D,H,Re);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),ne=fe.stack.pop();break}if(O.ruleId!==c.whileRuleId){ne=fe.stack.pop();break}O.captureIndices&&O.captureIndices.length&&(re.produce(fe.stack,O.captureIndices[0].start),_(I,D,F,fe.stack,re,fe.rule.whileCaptures,O.captureIndices),re.produce(fe.stack,O.captureIndices[0].end),se=O.captureIndices[0].end,O.captureIndices[0].end>H&&(H=O.captureIndices[0].end,F=!1))}return{stack:ne,linePos:H,anchorPosition:se,isFirstLine:F}}(v,w,b,C,g,P);g=L.stack,C=L.linePos,b=L.isFirstLine,T=L.anchorPosition}const $=Date.now();for(;!S;){if(E!==0&&Date.now()-$>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 L=function(H,ne,re,se,he,fe){const Ee=function(ce,Ce,A,N,M,B){const j=M.getRule(ce),{ruleScanner:z,findOptions:te}=p(j,ce,M.endRule,A,N===B);let G=0;a.DebugFlags.InDebugMode&&(G=u.performanceNow());const q=z.findNextMatchSync(Ce,N,te);if(a.DebugFlags.InDebugMode){const W=u.performanceNow()-G;W>5&&console.warn(`Rule ${j.debugName} (${j.id}) matching took ${W} against '${Ce}'`),console.log(` scanning for (linePos: ${N}, anchorPosition: ${B})`),console.log(z.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}(H,ne,re,se,he,fe),Re=H.getInjections();if(Re.length===0)return Ee;const O=function(ce,Ce,A,N,M,B,j){let z,te=Number.MAX_VALUE,G=null,q=0;const W=B.contentNameScopesList.getScopeNames();for(let ie=0,ae=ce.length;ie<ae;ie++){const ue=ce[ie];if(!ue.matcher(W))continue;const ee=Ce.getRule(ue.ruleId),{ruleScanner:le,findOptions:oe}=p(ee,Ce,null,N,M===j),de=le.findNextMatchSync(A,M,oe);if(!de)continue;a.DebugFlags.InDebugMode&&(console.log(` matched injection: ${ue.debugSelector}`),console.log(le.toString()));const Ne=de.captureIndices[0].start;if(!(Ne>=te)&&(te=Ne,G=de.captureIndices,z=de.ruleId,q=ue.priority,te===M))break}return G?{priorityMatch:q===-1,captureIndices:G,matchedRuleId:z}:null}(Re,H,ne,re,se,he,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,b,C,g,T);if(!L)return a.DebugFlags.InDebugMode&&console.log(" no more matches."),P.produce(g,k),void(S=!0);const I=L.captureIndices,D=L.matchedRuleId,F=!!(I&&I.length>0)&&I[0].end>C;if(D===c.endRuleId){const H=g.getRule(v);a.DebugFlags.InDebugMode&&console.log(" popping "+H.debugName+" - "+H.debugEndRegExp),P.produce(g,I[0].start),g=g.withContentNameScopesList(g.nameScopesList),_(v,w,b,g,P,H.endCaptures,I),P.produce(g,I[0].end);const ne=g;if(g=g.parent,T=ne.getAnchorPos(),!F&&ne.getEnterPos()===C)return a.DebugFlags.InDebugMode&&console.error("[1] - Grammar is in an endless loop - Grammar pushed & popped a rule without advancing"),g=ne,P.produce(g,k),void(S=!0)}else{const H=v.getRule(D);P.produce(g,I[0].start);const ne=g,re=H.getName(w.content,I),se=g.contentNameScopesList.pushAttributed(re,v);if(g=g.push(D,C,T,I[0].end===k,null,se,se),H instanceof c.BeginEndRule){const he=H;a.DebugFlags.InDebugMode&&console.log(" pushing "+he.debugName+" - "+he.debugBeginRegExp),_(v,w,b,g,P,he.beginCaptures,I),P.produce(g,I[0].end),T=I[0].end;const fe=he.getContentName(w.content,I),Ee=se.pushAttributed(fe,v);if(g=g.withContentNameScopesList(Ee),he.endHasBackReferences&&(g=g.withEndRule(he.getEndWithResolvedBackReferences(w.content,I))),!F&&ne.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(),P.produce(g,k),void(S=!0)}else if(H instanceof c.BeginWhileRule){const he=H;a.DebugFlags.InDebugMode&&console.log(" pushing "+he.debugName),_(v,w,b,g,P,he.beginCaptures,I),P.produce(g,I[0].end),T=I[0].end;const fe=he.getContentName(w.content,I),Ee=se.pushAttributed(fe,v);if(g=g.withContentNameScopesList(Ee),he.whileHasBackReferences&&(g=g.withEndRule(he.getWhileWithResolvedBackReferences(w.content,I))),!F&&ne.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(),P.produce(g,k),void(S=!0)}else{const he=H;if(a.DebugFlags.InDebugMode&&console.log(" matched "+he.debugName+" - "+he.debugMatchRegExp),_(v,w,b,g,P,he.captures,I),P.produce(g,I[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(),P.produce(g,k),void(S=!0)}}I[0].end>C&&(C=I[0].end,b=!1)}}function p(v,w,b,C,g){return a.UseOnigurumaFindOptions?{ruleScanner:v.compile(w,b),findOptions:m(C,g)}:{ruleScanner:v.compileAG(w,b,C,g),findOptions:0}}function h(v,w,b,C,g){return a.UseOnigurumaFindOptions?{ruleScanner:v.compileWhile(w,b),findOptions:m(C,g)}:{ruleScanner:v.compileWhileAG(w,b,C,g),findOptions:0}}function m(v,w){let b=0;return v||(b|=1),w||(b|=4),b}function _(v,w,b,C,g,P,x){if(P.length===0)return;const E=w.content,k=Math.min(P.length,x.length),S=[],T=x[0].end;for(let $=0;$<k;$++){const R=P[$];if(R===null)continue;const L=x[$];if(L.length===0)continue;if(L.start>T)break;for(;S.length>0&&S[S.length-1].endPos<=L.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,L.start):g.produce(C,L.start),R.retokenizeCapturedWithRuleId){const D=R.getName(E,x),F=C.contentNameScopesList.pushAttributed(D,v),H=R.getContentName(E,x),ne=F.pushAttributed(H,v),re=C.push(R.retokenizeCapturedWithRuleId,L.start,-1,!1,null,F,ne),se=v.createOnigString(E.substring(0,L.end));d(v,se,b&&L.start===0,L.start,re,g,!1,0),l.disposeOnigString(se);continue}const I=R.getName(E,x);if(I!==null){const D=(S.length>0?S[S.length-1].scopes:C.contentNameScopesList).pushAttributed(I,v);S.push(new y(D,L.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,b){this.scopes=w,this.endPos=b}}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,_=null,y=[],v=[];function w(){y.push(m),v.push(_)}function b(){m=y.pop(),_=v.pop()}function C(g){i(p,g)}for(;c(p,h);){if(m===0){if(_!==null&&C("too many constructs in root"),h.type===3){_={},d&&(_.$vscodeTextmateLocation=h.toLocation(f)),w(),m=1;continue}if(h.type===2){_=[],w(),m=4;continue}C("unexpected token in root")}if(m===2){if(h.type===5){b();continue}if(h.type===7){m=3;continue}C("expected , or }")}if(m===1||m===3){if(m===1&&h.type===5){b();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){_[g]=h.value;continue}if(h.type===8){_[g]=null;continue}if(h.type===9){_[g]=!0;continue}if(h.type===10){_[g]=!1;continue}if(h.type===11){_[g]=parseFloat(h.value);continue}if(h.type===2){let P=[];_[g]=P,w(),m=4,_=P;continue}if(h.type===3){let P={};d&&(P.$vscodeTextmateLocation=h.toLocation(f)),_[g]=P,w(),m=1,_=P;continue}}C("unexpected token in dict")}if(m===5){if(h.type===4){b();continue}if(h.type===7){m=6;continue}C("expected , or ]")}if(m===4||m===6){if(m===4&&h.type===4){b();continue}if(m=5,h.type===1){_.push(h.value);continue}if(h.type===8){_.push(null);continue}if(h.type===9){_.push(!0);continue}if(h.type===10){_.push(!1);continue}if(h.type===11){_.push(parseFloat(h.value));continue}if(h.type===2){let g=[];_.push(g),w(),m=4,_=g;continue}if(h.type===3){let g={};d&&(g.$vscodeTextmateLocation=h.toLocation(f)),_.push(g),w(),m=1,_=g;continue}C("unexpected token in array")}C("unknown state")}return v.length!==0&&C("unclosed constructs"),_};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,_=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++,_++,y=0}else h++,y++}if(f.offset=h,f.line=_,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=_,u.char=y,!0}},787:function(s,o,i){var a=this&&this.__createBinding||(Object.create?function(m,_,y,v){v===void 0&&(v=y),Object.defineProperty(m,v,{enumerable:!0,get:function(){return _[y]}})}:function(m,_,y,v){v===void 0&&(v=y),m[v]=_[y]}),l=this&&this.__exportStar||function(m,_){for(var y in m)y==="default"||Object.prototype.hasOwnProperty.call(_,y)||a(_,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,_){this._syncRegistry.setTheme(d.Theme.createFromRawTheme(m,_))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(m,_,y){return this.loadGrammarWithConfiguration(m,_,{embeddedLanguages:y})}loadGrammarWithConfiguration(m,_,y){return this._loadGrammar(m,_,y.embeddedLanguages,y.tokenTypes,new c.BalancedBracketSelectors(y.balancedBracketSelectors||[],y.unbalancedBracketSelectors||[]))}loadGrammar(m){return this._loadGrammar(m,0,null,null,null)}async _loadGrammar(m,_,y,v,w){const b=new p.ScopeDependencyProcessor(this._syncRegistry,m);for(;b.Q.length>0;)await Promise.all(b.Q.map(C=>this._loadSingleGrammar(C.scopeName))),b.processQueue();return this._grammarForScopeName(m,_,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 _=await this._options.loadGrammar(m);if(_){const y=typeof this._options.getInjections=="function"?this._options.getInjections(m):void 0;this._syncRegistry.addGrammar(_,y)}}async addGrammar(m,_=[],y=0,v=null){return this._syncRegistry.addGrammar(m,_),await this._grammarForScopeName(m.scopeName,y,v)}_grammarForScopeName(m,_=0,y=null,v=null,w=null){return this._syncRegistry.grammarForScopeName(m,_,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,_=m.exec(h);return{next:()=>{if(!_)return null;const y=_[0];return _=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 _=p();for(;_&&(m.push(_),f==="|"||f===",");){do f=u.next();while(f==="|"||f===",");_=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 _=>h.every(y=>y(_))}}},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 _(){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 b=0,C=null,g=[],P=[],x=null;function E(O,X){g.push(b),P.push(C),b=O,C=X}function k(){if(g.length===0)return S("illegal state stack");b=g.pop(),C=P.pop()}function S(O){throw new Error("Near offset "+f+": "+O+" ~~~"+a.substr(f,50)+"~~~")}const T=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)},$=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)},L=function(){let O=[];C.push(O),E(2,O)};function I(){if(b!==1)return S("unexpected </dict>");k()}function D(){return b===1||b!==2?S("unexpected </array>"):void k()}function F(O){if(b===1){if(x===null)return S("missing <key>");C[x]=O,x=null}else b===2?C.push(O):C=O}function H(O){if(isNaN(O))return S("cannot parse float");if(b===1){if(x===null)return S("missing <key>");C[x]=O,x=null}else b===2?C.push(O):C=O}function ne(O){if(isNaN(O))return S("cannot parse integer");if(b===1){if(x===null)return S("missing <key>");C[x]=O,x=null}else b===2?C.push(O):C=O}function re(O){if(b===1){if(x===null)return S("missing <key>");C[x]=O,x=null}else b===2?C.push(O):C=O}function se(O){if(b===1){if(x===null)return S("missing <key>");C[x]=O,x=null}else b===2?C.push(O):C=O}function he(O){if(b===1){if(x===null)return S("missing <key>");C[x]=O,x=null}else b===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&&(_(),!(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),_(),y("plist")){v(">");continue}if(y("dict")){v(">"),I();continue}if(y("array")){v(">"),D();continue}return S("unexpected closed tag")}let V=fe();switch(V.name){case"dict":b===1?T():b===2?R():(C={},c!==null&&(C[c]={filename:l,line:d,char:p}),E(1,C)),V.isClosed&&I();continue;case"array":b===1?$():b===2?L():(C=[],E(2,C)),V.isClosed&&D();continue;case"key":Re=Ee(V),b!==1?S("unexpected <key>"):x!==null?S("too many <key>"):x=Re;continue;case"string":F(Ee(V));continue;case"real":H(parseFloat(Ee(V)));continue;case"integer":ne(parseInt(Ee(V),10));continue;case"date":re(new Date(Ee(V)));continue;case"data":se(Ee(V));continue;case"true":Ee(V),he(!0);continue;case"false":Ee(V),he(!1);continue}if(!/^plist/.test(V.name))return S("unexpected opened tag "+V.name)}var Re;return C}Object.defineProperty(o,"__esModule",{value:!0}),o.parsePLIST=o.parseWithLocation=void 0,o.parseWithLocation=function(a,l,c){return i(a,l,c)},o.parsePLIST=function(a){return i(a,null,null)}},652:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.SyncRegistry=void 0;const a=i(391);o.SyncRegistry=class{constructor(l,c){this._onigLibPromise=c,this._grammars=new Map,this._rawGrammars=new Map,this._injectionGrammars=new Map,this._theme=l}dispose(){for(const l of this._grammars.values())l.dispose()}setTheme(l){this._theme=l}getColorMap(){return this._theme.getColorMap()}addGrammar(l,c){this._rawGrammars.set(l.scopeName,l),c&&this._injectionGrammars.set(l.scopeName,c)}lookup(l){return this._rawGrammars.get(l)}injections(l){return this._injectionGrammars.get(l)}getDefaults(){return this._theme.getDefaults()}themeMatch(l){return this._theme.match(l)}async grammarForScopeName(l,c,u,f,d){if(!this._grammars.has(l)){let p=this._rawGrammars.get(l);if(!p)return null;this._grammars.set(l,a.createGrammar(l,p,c,u,f,d,this,await this._onigLibPromise))}return this._grammars.get(l)}}},792:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.CompiledRule=o.RegExpSourceList=o.RegExpSource=o.RuleFactory=o.BeginWhileRule=o.BeginEndRule=o.IncludeOnlyRule=o.MatchRule=o.CaptureRule=o.Rule=o.ruleIdToNumber=o.ruleIdFromNumber=o.whileRuleId=o.endRuleId=void 0;const a=i(878),l=i(965),c=/\\(\d+)/,u=/\\(\d+)/g;o.endRuleId=-1,o.whileRuleId=-2,o.ruleIdFromNumber=function(C){return C},o.ruleIdToNumber=function(C){return C};class f{constructor(g,P,x,E){this.$location=g,this.id=P,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,P){return this._nameIsCapturing&&this._name!==null&&g!==null&&P!==null?a.RegexSource.replaceCaptures(this._name,g,P):this._name}getContentName(g,P){return this._contentNameIsCapturing&&this._contentName!==null?a.RegexSource.replaceCaptures(this._contentName,g,P):this._contentName}}o.Rule=f;class d extends f{constructor(g,P,x,E,k){super(g,P,x,E),this.retokenizeCapturedWithRuleId=k}dispose(){}collectPatterns(g,P){throw new Error("Not supported!")}compile(g,P){throw new Error("Not supported!")}compileAG(g,P,x,E){throw new Error("Not supported!")}}o.CaptureRule=d;class p extends f{constructor(g,P,x,E,k){super(g,P,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,P){P.push(this._match)}compile(g,P){return this._getCachedCompiledPatterns(g).compile(g)}compileAG(g,P,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,P,x,E,k){super(g,P,x,E),this.patterns=k.patterns,this.hasMissingPatterns=k.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(g,P){for(const x of this.patterns)g.getRule(x).collectPatterns(g,P)}compile(g,P){return this._getCachedCompiledPatterns(g).compile(g)}compileAG(g,P,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,P,x,E,k,S,T,$,R,L){super(g,P,x,E),this._begin=new v(k,this.id),this.beginCaptures=S,this._end=new v(T||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=$,this.applyEndPatternLast=R||!1,this.patterns=L.patterns,this.hasMissingPatterns=L.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,P){return this._end.resolveBackReferences(g,P)}collectPatterns(g,P){P.push(this._begin)}compile(g,P){return this._getCachedCompiledPatterns(g,P).compile(g)}compileAG(g,P,x,E){return this._getCachedCompiledPatterns(g,P).compileAG(g,x,E)}_getCachedCompiledPatterns(g,P){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,P):this._cachedCompiledPatterns.setSource(0,P)),this._cachedCompiledPatterns}}o.BeginEndRule=m;class _ extends f{constructor(g,P,x,E,k,S,T,$,R){super(g,P,x,E),this._begin=new v(k,this.id),this.beginCaptures=S,this.whileCaptures=$,this._while=new v(T,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,P){return this._while.resolveBackReferences(g,P)}collectPatterns(g,P){P.push(this._begin)}compile(g,P){return this._getCachedCompiledPatterns(g).compile(g)}compileAG(g,P,x,E){return this._getCachedCompiledPatterns(g).compileAG(g,x,E)}_getCachedCompiledPatterns(g){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new w;for(const P of this.patterns)g.getRule(P).collectPatterns(g,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(g,P){return this._getCachedCompiledWhilePatterns(g,P).compile(g)}compileWhileAG(g,P,x,E){return this._getCachedCompiledWhilePatterns(g,P).compileAG(g,x,E)}_getCachedCompiledWhilePatterns(g,P){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,P||"￿"),this._cachedCompiledWhilePatterns}}o.BeginWhileRule=_;class y{static createCaptureRule(g,P,x,E,k){return g.registerRule(S=>new d(P,S,x,E,k))}static getCompiledRuleId(g,P,x){return g.id||P.registerRule(E=>{if(g.id=E,g.match)return new p(g.$vscodeTextmateLocation,g.id,g.name,g.match,y._compileCaptures(g.captures,P,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,P,x))}return g.while?new _(g.$vscodeTextmateLocation,g.id,g.name,g.contentName,g.begin,y._compileCaptures(g.beginCaptures||g.captures,P,x),g.while,y._compileCaptures(g.whileCaptures||g.captures,P,x),y._compilePatterns(g.patterns,P,x)):new m(g.$vscodeTextmateLocation,g.id,g.name,g.contentName,g.begin,y._compileCaptures(g.beginCaptures||g.captures,P,x),g.end,y._compileCaptures(g.endCaptures||g.captures,P,x),g.applyEndPatternLast,y._compilePatterns(g.patterns,P,x))}),g.id}static _compileCaptures(g,P,x){let E=[];if(g){let k=0;for(const S in g){if(S==="$vscodeTextmateLocation")continue;const T=parseInt(S,10);T>k&&(k=T)}for(let S=0;S<=k;S++)E[S]=null;for(const S in g){if(S==="$vscodeTextmateLocation")continue;const T=parseInt(S,10);let $=0;g[S].patterns&&($=y.getCompiledRuleId(g[S],P,x)),E[T]=y.createCaptureRule(P,g[S].$vscodeTextmateLocation,g[S].name,g[S].contentName,$)}}return E}static _compilePatterns(g,P,x){let E=[];if(g)for(let k=0,S=g.length;k<S;k++){const T=g[k];let $=-1;if(T.include){const R=l.parseInclude(T.include);switch(R.kind){case 0:case 1:$=y.getCompiledRuleId(x[T.include],P,x);break;case 2:let L=x[R.ruleName];L&&($=y.getCompiledRuleId(L,P,x));break;case 3:case 4:const I=R.scopeName,D=R.kind===4?R.ruleName:null,F=P.getExternalGrammar(I,x);if(F)if(D){let H=F.repository[D];H&&($=y.getCompiledRuleId(H,P,F.repository))}else $=y.getCompiledRuleId(F.repository.$self,P,F.repository)}}else $=y.getCompiledRuleId(T,P,x);if($!==-1){const R=P.getRule($);let L=!1;if((R instanceof h||R instanceof m||R instanceof _)&&R.hasMissingPatterns&&R.patterns.length===0&&(L=!0),L)continue;E.push($)}}return{patterns:E,hasMissingPatterns:(g?g.length:0)!==E.length}}}o.RuleFactory=y;class v{constructor(g,P){if(g){const x=g.length;let E=0,k=[],S=!1;for(let T=0;T<x;T++)if(g.charAt(T)==="\\"&&T+1<x){const $=g.charAt(T+1);$==="z"?(k.push(g.substring(E,T)),k.push("$(?!\\n)(?<!\\n)"),E=T+2):$!=="A"&&$!=="G"||(S=!0),T++}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=P,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,P){let x=P.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,P,x,E,k=[],S=[],T=[],$=[];for(g=0,P=this.source.length;g<P;g++)x=this.source.charAt(g),k[g]=x,S[g]=x,T[g]=x,$[g]=x,x==="\\"&&g+1<P&&(E=this.source.charAt(g+1),E==="A"?(k[g+1]="￿",S[g+1]="￿",T[g+1]="A",$[g+1]="A"):E==="G"?(k[g+1]="￿",S[g+1]="G",T[g+1]="￿",$[g+1]="G"):(k[g+1]=E,S[g+1]=E,T[g+1]=E,$[g+1]=E),g++);return{A0_G0:k.join(""),A0_G1:S.join(""),A1_G0:T.join(""),A1_G1:$.join("")}}resolveAnchors(g,P){return this.hasAnchor&&this._anchorCache?g?P?this._anchorCache.A1_G1:this._anchorCache.A1_G0:P?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,P){this._items[g].source!==P&&(this._disposeCaches(),this._items[g].setSource(P))}compile(g){if(!this._cached){let P=this._items.map(x=>x.source);this._cached=new b(g,P,this._items.map(x=>x.ruleId))}return this._cached}compileAG(g,P,x){return this._hasAnchors?P?x?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(g,P,x)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(g,P,x)),this._anchorCache.A1_G0):x?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(g,P,x)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(g,P,x)),this._anchorCache.A0_G0):this.compile(g)}_resolveAnchors(g,P,x){let E=this._items.map(k=>k.resolveAnchors(P,x));return new b(g,E,this._items.map(k=>k.ruleId))}}o.RegExpSourceList=w;class b{constructor(g,P,x){this.regExps=P,this.rules=x,this.scanner=g.createOnigScanner(P)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const g=[];for(let P=0,x=this.rules.length;P<x;P++)g.push(" - "+this.rules[P]+": "+this.regExps[P]);return g.join(`
10
+ `)}findNextMatchSync(g,P,x){const E=this.scanner.findNextMatchSync(g,P,x);return E?{ruleId:this.rules[E.index],captureIndices:E.captureIndices}:null}}o.CompiledRule=b},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,b){this._colorMap=v,this._defaults=w,this._root=b,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(b,C){b.sort((T,$)=>{let R=a.strcmp(T.scope,$.scope);return R!==0?R:(R=a.strArrCmp(T.parentScopes,$.parentScopes),R!==0?R:T.index-$.index)});let g=0,P="#000000",x="#ffffff";for(;b.length>=1&&b[0].scope==="";){let T=b.shift();T.fontStyle!==-1&&(g=T.fontStyle),T.foreground!==null&&(P=T.foreground),T.background!==null&&(x=T.background)}let E=new h(C),k=new f(g,E.getId(P),E.getId(x)),S=new _(new m(0,null,-1,0,0),[]);for(let T=0,$=b.length;T<$;T++){let R=b[T];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,b=this._cachedMatchRoot.get(w).find(C=>function(g,P){if(P===null)return!0;let x=0,E=P[x];for(;g;){if(u(g.scopeName,E)){if(x++,x===P.length)return!0;E=P[x]}g=g.parent}return!1}(v.parent,C.parentScopes));return b?new f(b.fontStyle,b.foreground,b.background):null}}o.Theme=l;class c{constructor(v,w){this.parent=v,this.scopeName=w}static push(v,w){for(const b of w)v=new c(v,b);return v}static from(...v){let w=null;for(let b=0;b<v.length;b++)w=new c(w,v[b]);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 b=this;for(;b&&b!==v;)w.push(b.scopeName),b=b.parent;return b===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,b){this.fontStyle=v,this.foregroundId=w,this.backgroundId=b}}function d(y){if(!y)return[];if(!y.settings||!Array.isArray(y.settings))return[];let v=y.settings,w=[],b=0;for(let C=0,g=v.length;C<g;C++){let P,x=v[C];if(!x.settings)continue;if(typeof x.scope=="string"){let T=x.scope;T=T.replace(/^[,]+/,""),T=T.replace(/[,]+$/,""),P=T.split(",")}else P=Array.isArray(x.scope)?x.scope:[""];let E=-1;if(typeof x.settings.fontStyle=="string"){E=0;let T=x.settings.fontStyle.split(" ");for(let $=0,R=T.length;$<R;$++)switch(T[$]){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 T=0,$=P.length;T<$;T++){let R=P[T].trim().split(" "),L=R[R.length-1],I=null;R.length>1&&(I=R.slice(0,R.length-1),I.reverse()),w[b++]=new p(L,I,C,E,k,S)}}return w}o.StyleAttributes=f,o.parseTheme=d;class p{constructor(v,w,b,C,g,P){this.scope=v,this.parentScopes=w,this.index=b,this.fontStyle=C,this.foreground=g,this.background=P}}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,b=v.length;w<b;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,b,C,g){this.scopeDepth=v,this.parentScopes=w,this.fontStyle=b,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 b=0,C=v.length;b<C;b++)w[b]=v[b].clone();return w}acceptOverwrite(v,w,b,C){this.scopeDepth>v?console.log("how did this happen?"):this.scopeDepth=v,w!==-1&&(this.fontStyle=w),b!==0&&(this.foreground=b),C!==0&&(this.background=C)}}o.ThemeTrieElementRule=m;class _{constructor(v,w=[],b={}){this._mainRule=v,this._children=b,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 b=v.parentScopes,C=w.parentScopes;let g=b===null?0:b.length,P=C===null?0:C.length;if(g===P)for(let x=0;x<g;x++){const E=b[x].length,k=C[x].length;if(E!==k)return k-E}return P-g}return w.scopeDepth-v.scopeDepth}match(v){if(v==="")return _._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let w,b,C=v.indexOf(".");return C===-1?(w=v,b=""):(w=v.substring(0,C),b=v.substring(C+1)),this._children.hasOwnProperty(w)?this._children[w].match(b):_._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(v,w,b,C,g,P){if(w==="")return void this._doInsertHere(v,b,C,g,P);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 _(this._mainRule.clone(),m.cloneArr(this._rulesWithParentScopes)),this._children[x]=k),k.insert(v+1,E,b,C,g,P)}_doInsertHere(v,w,b,C,g){if(w!==null){for(let P=0,x=this._rulesWithParentScopes.length;P<x;P++){let E=this._rulesWithParentScopes[P];if(a.strArrCmp(E.parentScopes,w)===0)return void E.acceptOverwrite(v,b,C,g)}b===-1&&(b=this._mainRule.fontStyle),C===0&&(C=this._mainRule.foreground),g===0&&(g=this._mainRule.background),this._rulesWithParentScopes.push(new m(v,w,b,C,g))}else this._mainRule.acceptOverwrite(v,b,C,g)}}o.ThemeTrieElement=_},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 _=f[parseInt(p||h,10)];if(!_)return d;{let y=u.substring(_.start,_.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)})()})})($m);var Rm=$m.exports;function gT(e){const t=e.type||"dark",n={name:e.name,type:t,...e,...yT(e)};return e.include&&(n.include=e.include),e.tokenColors&&(n.settings=e.tokenColors,delete n.tokenColors),vT(n),n}function vT(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 ud={light:"#333333",dark:"#bbbbbb"},fd={light:"#fffffe",dark:"#1e1e1e"};function yT(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"?ud.light:ud.dark),n||(n=e.type==="light"?fd.light:fd.dark),{fg:t,bg:n}}var _T=Object.defineProperty,bT=(e,t,n)=>t in e?_T(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ss=(e,t,n)=>(bT(e,typeof t!="symbol"?t+"":t,n),n);class wT extends Rm.Registry{constructor(t,n,r){super(t),this._resolver=t,this._themes=n,this._langs=r,Ss(this,"themesPath","themes/"),Ss(this,"_resolvedThemes",{}),Ss(this,"_resolvedGrammars",{}),Ss(this,"_langMap",{}),Ss(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=gT(t);return n.name&&(this._resolvedThemes[n.name]=n),n}getLoadedThemes(){return Object.keys(this._resolvedThemes)}getGrammar(t){return this._resolvedGrammars[t]}async loadLanguage(t){if(this._resolvedGrammars[t.name])return;this._resolver.addLanguage(t);const r={embeddedLanguages:t.embeddedLangs?.reduce(async(o,i,a)=>{if(!this.getLoadedLanguages().includes(i)&&this._resolver.getLangRegistration(i))return await this._resolver.loadGrammar(this._resolver.getLangRegistration(i).scopeName),o[this._resolver.getLangRegistration(i).scopeName]=a+2,o},{}),balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]},s=await this.loadGrammarWithConfiguration(t.scopeName,1,r);this._resolvedGrammars[t.name]=s,t.aliases&&t.aliases.forEach(o=>{this._resolvedGrammars[o]=s})}async init(){this._themes.map(t=>this.loadTheme(t)),await this.loadLanguages(this._langs)}async loadLanguages(t){for(const s of t)this.resolveEmbeddedLanguages(s);const n=Array.from(this._langGraph.entries()),r=n.filter(([s,o])=>!o);if(r.length){const s=n.filter(([o,i])=>i&&i.embeddedLangs?.some(a=>r.map(([l])=>l).includes(a))).filter(o=>!r.includes(o));throw new Error(`[shikiji] Missing languages ${r.map(([o])=>`\`${o}\``).join(", ")}, required by ${s.map(([o])=>`\`${o}\``).join(", ")}`)}for(const[s,o]of n)this._resolver.addLanguage(o);for(const[s,o]of n)await this.loadLanguage(o)}getLoadedLanguages(){return Object.keys(this._resolvedGrammars)}resolveEmbeddedLanguages(t){if(this._langMap[t.name]=t,this._langGraph.set(t.name,t),t.embeddedLangs)for(const n of t.embeddedLangs)this._langGraph.set(n,this._langMap[n])}}var ET=Object.defineProperty,xT=(e,t,n)=>t in e?ET(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,qo=(e,t,n)=>(xT(e,typeof t!="symbol"?t+"":t,n),n);class ST{constructor(t,n,r){qo(this,"languageMap",{}),qo(this,"scopeToLangMap",{}),qo(this,"_onigLibPromise"),qo(this,"_onigLibName"),this._onigLibPromise=t,this._onigLibName=n,r.forEach(s=>this.addLanguage(s))}get onigLib(){return this._onigLibPromise}getOnigLibName(){return this._onigLibName}getLangRegistration(t){return this.languageMap[t]}async loadGrammar(t){return this.scopeToLangMap[t]}addLanguage(t){this.languageMap[t.name]=t,t.aliases&&t.aliases.forEach(n=>{this.languageMap[n]=t}),this.scopeToLangMap[t.scopeName]=t}}async function CT(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(_=>Array.isArray(_)?_:[_])))).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=>cd(h)):e.loadWasm?cd(e.loadWasm):void 0]),o=new ST(Promise.resolve({createOnigScanner(h){return pT(h)},createOnigString(h){return hT(h)}}),"vscode-oniguruma",s),i=new wT(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 _=i.getColorMap();return{theme:m,colorMap:_}}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 TT=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class ko{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}ko.prototype.property={};ko.prototype.normal={};ko.prototype.space=null;function Am(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 ko(n,r,t)}function kl(e){return e.toLowerCase()}class Nt{constructor(t,n){this.property=t,this.attribute=n}}Nt.prototype.space=null;Nt.prototype.boolean=!1;Nt.prototype.booleanish=!1;Nt.prototype.overloadedBoolean=!1;Nt.prototype.number=!1;Nt.prototype.commaSeparated=!1;Nt.prototype.spaceSeparated=!1;Nt.prototype.commaOrSpaceSeparated=!1;Nt.prototype.mustUseProperty=!1;Nt.prototype.defined=!1;let kT=0;const xe=yr(),qe=yr(),Nm=yr(),K=yr(),He=yr(),Lr=yr(),yt=yr();function yr(){return 2**++kT}var Pl=Object.freeze({__proto__:null,boolean:xe,booleanish:qe,commaOrSpaceSeparated:yt,commaSeparated:Lr,number:K,overloadedBoolean:Nm,spaceSeparated:He});const Ba=Object.keys(Pl);class Vc extends Nt{constructor(t,n,r,s){let o=-1;if(super(t,n),dd(this,"space",s),typeof r=="number")for(;++o<Ba.length;){const i=Ba[o];dd(this,Ba[o],(r&Pl[i])===Pl[i])}}}Vc.prototype.defined=!0;function dd(e,t,n){n&&(e[t]=n)}const PT={}.hasOwnProperty;function ss(e){const t={},n={};let r;for(r in e.properties)if(PT.call(e.properties,r)){const s=e.properties[r],o=new Vc(r,e.transform(e.attributes||{},r),s,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[kl(r)]=r,n[kl(o.attribute)]=r}return new ko(t,n,e.space)}const Om=ss({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}}),Im=ss({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Lm(e,t){return t in e?e[t]:t}function Mm(e,t){return Lm(e,t.toLowerCase())}const Dm=ss({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Mm,properties:{xmlns:null,xmlnsXLink:null}}),Fm=ss({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:qe,ariaAutoComplete:null,ariaBusy:qe,ariaChecked:qe,ariaColCount:K,ariaColIndex:K,ariaColSpan:K,ariaControls:He,ariaCurrent:null,ariaDescribedBy:He,ariaDetails:null,ariaDisabled:qe,ariaDropEffect:He,ariaErrorMessage:null,ariaExpanded:qe,ariaFlowTo:He,ariaGrabbed:qe,ariaHasPopup:null,ariaHidden:qe,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:He,ariaLevel:K,ariaLive:null,ariaModal:qe,ariaMultiLine:qe,ariaMultiSelectable:qe,ariaOrientation:null,ariaOwns:He,ariaPlaceholder:null,ariaPosInSet:K,ariaPressed:qe,ariaReadOnly:qe,ariaRelevant:null,ariaRequired:qe,ariaRoleDescription:He,ariaRowCount:K,ariaRowIndex:K,ariaRowSpan:K,ariaSelected:qe,ariaSetSize:K,ariaSort:null,ariaValueMax:K,ariaValueMin:K,ariaValueNow:K,ariaValueText:null,role:null}}),$T=ss({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Mm,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Lr,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:qe,controls:xe,controlsList:He,coords:K|Lr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:xe,defer:xe,dir:null,dirName:null,disabled:xe,download:Nm,draggable:qe,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:qe,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:qe,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:qe,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}}),RT=ss({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:Lm,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:Lr,g2:Lr,glyphName:Lr,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}}),AT=/^data[-\w.:]+$/i,hd=/-[a-z]/g,NT=/[A-Z]/g;function OT(e,t){const n=kl(t);let r=t,s=Nt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&AT.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(hd,LT);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!hd.test(o)){let i=o.replace(NT,IT);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}s=Vc}return new s(r,t)}function IT(e){return"-"+e.toLowerCase()}function LT(e){return e.charAt(1).toUpperCase()}const MT=Am([Im,Om,Dm,Fm,$T],"html"),Bm=Am([Im,Om,Dm,Fm,RT],"svg"),pd={}.hasOwnProperty;function DT(e,t){const n=t||{};function r(s,...o){let i=r.invalid;const a=r.handlers;if(s&&pd.call(s,e)){const l=String(s[e]);i=pd.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 FT(e,t){if(e=e.replace(t.subset?BT(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 BT(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function jT(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}function zT(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}const HT=["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:"€"},UT=["cent","copy","divide","gt","lt","not","para","times"],jm={}.hasOwnProperty,$l={};let Ko;for(Ko in ja)jm.call(ja,Ko)&&($l[ja[Ko]]=Ko);function VT(e,t,n,r){const s=String.fromCharCode(e);if(jm.call($l,s)){const o=$l[s],i="&"+o;return n&&HT.includes(o)&&!UT.includes(o)&&(!r||t&&t!==61&&/[^\da-z]/i.test(String.fromCharCode(t)))?i:i+";"}return""}function WT(e,t,n){let r=jT(e,t,n.omitOptionalSemicolons),s;if((n.useNamedReferences||n.useShortestReferences)&&(s=VT(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!s)&&n.useShortestReferences){const o=zT(e,t,n.omitOptionalSemicolons);o.length<r.length&&(r=o)}return s&&(!n.useShortestReferences||s.length<r.length)?s:r}function Mr(e,t){return FT(e,Object.assign({format:WT},t))}function GT(e,t,n,r){return r.settings.bogusComments?"<?"+Mr(e.value,Object.assign({},r.settings.characterReferences,{subset:[">"]}))+">":"<!--"+e.value.replace(/^>|^->|<!--|-->|--!>|<!-$/g,s)+"-->";function s(o){return Mr(o,Object.assign({},r.settings.characterReferences,{subset:["<",">"]}))}}function qT(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function md(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 KT(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function XT(e){return e.join(" ").trim()}const YT=/[ \t\n\f\r]/g;function Wc(e){return typeof e=="object"?e.type==="text"?gd(e.value):!1:gd(e)}function gd(e){return e.replace(YT,"")===""}const Qe=Hm(1),zm=Hm(-1),JT=[];function Hm(e){return t;function t(n,r,s){const o=n?n.children:JT;let i=(r||0)+e,a=o[i];if(!s)for(;a&&Wc(a);)i+=e,a=o[i];return a}}const QT={}.hasOwnProperty;function Um(e){return t;function t(n,r,s){return QT.call(e,n.tagName)&&e[n.tagName](n,r,s)}}const Gc=Um({body:ek,caption:za,colgroup:za,dd:sk,dt:rk,head:za,html:ZT,li:nk,optgroup:ok,option:ik,p:tk,rp:vd,rt:vd,tbody:lk,td:yd,tfoot:ck,th:yd,thead:ak,tr:uk});function za(e,t,n){const r=Qe(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&Wc(r.value.charAt(0)))}function ZT(e,t,n){const r=Qe(n,t);return!r||r.type!=="comment"}function ek(e,t,n){const r=Qe(n,t);return!r||r.type!=="comment"}function tk(e,t,n){const r=Qe(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function nk(e,t,n){const r=Qe(n,t);return!r||r.type==="element"&&r.tagName==="li"}function rk(e,t,n){const r=Qe(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function sk(e,t,n){const r=Qe(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function vd(e,t,n){const r=Qe(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function ok(e,t,n){const r=Qe(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function ik(e,t,n){const r=Qe(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function ak(e,t,n){const r=Qe(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function lk(e,t,n){const r=Qe(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function ck(e,t,n){return!Qe(n,t)}function uk(e,t,n){const r=Qe(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function yd(e,t,n){const r=Qe(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const fk=Um({body:pk,colgroup:mk,head:hk,html:dk,tbody:gk});function dk(e){const t=Qe(e,-1);return!t||t.type!=="comment"}function hk(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 pk(e){const t=Qe(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&Wc(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function mk(e,t,n){const r=zm(n,t),s=Qe(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Gc(r,n.children.indexOf(r),n)?!1:!!(s&&s.type==="element"&&s.tagName==="col")}function gk(e,t,n){const r=zm(n,t),s=Qe(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Gc(r,n.children.indexOf(r),n)?!1:!!(s&&s.type==="element"&&s.tagName==="tr")}const Xo={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 vk(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=Bm);const c=yk(r,e.properties),u=r.all(s.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=s,u&&(i=!1),(c||!o||!fk(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||!Gc(e,t,n))&&a.push("</"+e.tagName+">"),a.join("")}function yk(e,t){const n=[];let r=-1,s;if(t){for(s in t)if(t[s]!==null&&t[s]!==void 0){const o=_k(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 _k(e,t,n){const r=OT(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=Mr(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Xo.name[s][o]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?KT:XT)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?l:(e.settings.preferUnquoted&&(a=Mr(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Xo.unquoted[s][o]}))),a!==n&&(e.settings.quoteSmart&&md(n,i)>md(n,e.alternative)&&(i=e.alternative),a=i+Mr(n,Object.assign({},e.settings.characterReferences,{subset:(i==="'"?Xo.single:Xo.double)[s][o],attribute:!0}))+i),l+(a&&"="+a))}function Vm(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:Mr(e.value,Object.assign({},r.settings.characterReferences,{subset:["<","&"]}))}function bk(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Vm(e,t,n,r)}function wk(e,t,n,r){return r.all(e)}const Ek=DT("type",{invalid:xk,unknown:Sk,handlers:{comment:GT,doctype:qT,element:vk,raw:bk,root:wk,text:Vm}});function xk(e){throw new Error("Expected node, not `"+e+"`")}function Sk(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const Ck={},Tk={},kk=[];function Pk(e,t){const n=t||Ck,r=n.quote||'"',s=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:$k,all:Rk,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||TT,characterReferences:n.characterReferences||Tk,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?Bm:MT,quote:r,alternative:s}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function $k(e,t,n){return Ek(e,t,n,this)}function Rk(e){const t=[],n=e&&e.children||kk;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 fn{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n=`0${n}`;return n}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static getFontStyle(t){return(t&14336)>>>11}static getForeground(t){return(t&8372224)>>>15}static getBackground(t){return(t&4286578688)>>>24}static containsBalancedBrackets(t){return(t&1024)!==0}static set(t,n,r,s,o,i){let a=fn.getLanguageId(t),l=fn.getTokenType(t),c=fn.getFontStyle(t),u=fn.getForeground(t),f=fn.getBackground(t);const d=fn.containsBalancedBrackets(t)?1:0;return n!==0&&(a=n),r!==0&&(l=r===8?0:r),s!==-1&&(c=s),o!==0&&(u=o),i!==0&&(f=i),(a<<0|l<<8|c<<11|d<<10|u<<15|f<<24)>>>0}}function Ak(e){return!e||["plaintext","txt","text"].includes(e)}var sr=["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 Nk(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 _d(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 Ok(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:sr[s-30]}});else if(s===38){const[o,i]=_d(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:sr[s-40]}});else if(s===48){const[o,i]=_d(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:sr[s-90+8]}}):s>=100&&s<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:sr[s-100+8]}})}return t}function Ik(){let e=null,t=null,n=new Set;return{parse(r){const s=[];let o=0;do{const i=Nk(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=Ok(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 Lk={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 Mk(e=Lk){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<sr.length;c++)r.push(t(sr[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 Dk(e,t){const n=t.split(/\r?\n/),r=Mk(Object.fromEntries(sr.map(o=>[o,e.colors?.[`terminal.ansi${o[0].toUpperCase()}${o.substring(1)}`]]))),s=Ik();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=Fk(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 Fk(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 qc(e,t,n={}){const{lang:r="text",theme:s=e.getLoadedThemes()[0],includeExplanation:o=!0}=n;if(Ak(r))return[...t.split(/\r\n|\r|\n/).map(u=>[{content:u}])];const{theme:i,colorMap:a}=e.setTheme(s);if(r==="ansi")return Dk(i,t);const l=e.getLangGrammar(r);return Bk(t,l,i,a,{includeExplanation:o})}function Bk(e,t,n,r,s){const o=e.split(/\r\n|\r|\n/);let i=Rm.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),_=m.tokens.length/2;for(let y=0;y<_;y++){const v=m.tokens[2*y],w=y+1<_?m.tokens[2*y+2]:f.length;if(v===w)continue;const b=m.tokens[2*y+1],C=fn.getForeground(b),g=r[C],P=fn.getFontStyle(b),x={content:f.substring(v,w),color:g,fontStyle:P};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:jk(n,k.scopes)}),h+=1}}a.push(x)}l.push(a),a=[],i=m.ruleStack}return l}function jk(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:Hk(e,i,o)}}return n}function bd(e,t){const n=`${e}.`;return e===t||t.substring(0,n.length)===n}function zk(e,t,n,r){if(!bd(e,n))return!1;let s=t.length-1,o=r.length-1;for(;s>=0&&o>=0;)bd(t[s],r[o])&&(s-=1),o-=1;return s===-1}function Hk(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);zk(p,h,t,n)&&(r[s++]=a,c=u)}}return r}function Wm(e,t,n){const r=Object.entries(n.themes).filter(o=>o[1]),s=Uk(...r.map(o=>qc(e,t,{...n,theme:o[1],includeExplanation:!1})));return r.map(([o,i],a)=>[o,i,s[a]])}function Uk(...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 Gm(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=Wm(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]),_=[];o.push(_);for(let y=0;y<m[0].length;y++){const v=m.map(b=>b[y]),w=v.map((b,C)=>`${C===0&&l?"":`${c+f[C][0]}:`}${b.color||"inherit"}`).join(";");_.push({...v[0],color:w,htmlStyle:l?void 0:w})}}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=qc(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 Vk(o,{...n,fg:s,bg:r,themeName:i,rootStyle:a})}function Vk(e,t){const{mergeWhitespaces:n=!0}=t;n&&(e=Wk(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){const d=[f.htmlStyle||`color:${f.color}`];f.fontStyle&&(f.fontStyle&Nn.Italic&&d.push("font-style:italic"),f.fontStyle&Nn.Bold&&d.push("font-weight:bold"),f.fontStyle&Nn.Underline&&d.push("text-decoration:underline"));let p={type:"element",tagName:"span",properties:{style:d.join(";")},children:[{type:"text",value:f.content}]};p=t.transforms?.token?.(p,l+1,u)||p,c.children.push(p),u+=f.content.length}c=t.transforms?.line?.(c,l+1)||c,r.push(c)}),i=t.transforms?.code?.(i)||i,o.children.push(i),o=t.transforms?.pre?.(o)||o,s.children.push(o),t.transforms?.root?.(s)||s}function Wk(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 Gk(e,t,n){return Pk(Gm(e,t,n))}async function qk(e={}){const t=await CT(e);return{codeToThemedTokens:(n,r)=>qc(t,n,r),codeToTokensWithThemes:(n,r)=>Wm(t,n,r),codeToHast:(n,r)=>Gm(t,n,r),codeToHtml:(n,r)=>Gk(t,n,r),loadLanguage:t.loadLanguage,loadTheme:t.loadTheme,getTheme:t.getTheme,getLoadedThemes:t.getLoadedThemes,getLoadedLanguages:t.getLoadedLanguages}}let Ua=null;async function Kk(){return Ua||(Ua=_e(()=>import("./onig.0c57a370.js"),[],import.meta.url).then(e=>({data:e.default}))),Ua}const Yo=rn();let wd=null;function Xk(e,t="text"){const n=ra();!wd&&!Yo.value&&(wd=qk({themes:[_e(()=>import("./vitesse-dark.ab479e3d.js"),[],import.meta.url),_e(()=>import("./vitesse-light.696edcfd.js"),[],import.meta.url)],langs:[_e(()=>import("./json.709f1c4d.js"),[],import.meta.url),_e(()=>import("./yaml.b29e536f.js"),[],import.meta.url),_e(()=>import("./css.5abce139.js"),[],import.meta.url),_e(()=>import("./javascript.ddb4c460.js"),[],import.meta.url),_e(()=>import("./typescript.3ef79501.js"),[],import.meta.url),_e(()=>import("./vue.5b4e1de3.js"),["./vue.5b4e1de3.js","./html.66e44e78.js","./javascript.ddb4c460.js","./css.5abce139.js","./typescript.3ef79501.js","./json.709f1c4d.js","./yaml.b29e536f.js"],import.meta.url),_e(()=>import("./vue-html.b80b464f.js"),["./vue-html.b80b464f.js","./vue.5b4e1de3.js","./html.66e44e78.js","./javascript.ddb4c460.js","./css.5abce139.js","./typescript.3ef79501.js","./json.709f1c4d.js","./yaml.b29e536f.js"],import.meta.url),_e(()=>import("./html.66e44e78.js"),["./html.66e44e78.js","./javascript.ddb4c460.js","./css.5abce139.js"],import.meta.url),_e(()=>import("./diff.22e0b108.js"),[],import.meta.url),_e(()=>import("./shellscript.3d8bff4d.js"),[],import.meta.url)],loadWasm:Kk}).then(s=>{Yo.value=s}));const r=Yo.value?.getLoadedLanguages().includes(t);return r?{code:Yo.value.codeToHtml(e,{lang:t,theme:n.value==="dark"?"vitesse-dark":"vitesse-light"}),supported:!0}:{code:e,supported:r}}function ut(){return vr("devtools-client")}function V2(){const e=ut();return ge(()=>e.value?.nuxt.vueApp.config.globalProperties?.$route)}function qm(){const e=ut();return ge(()=>e.value?.nuxt.vueApp.config.globalProperties?.$router)}function W2(){const e=ut();return ge(()=>e.value?.nuxt.vueApp.config.globalProperties?.$head)}function Yk(){return vr("devtools-component-inspector-data")}const Km=J(!1);setTimeout(()=>{Km.value=!0},2e3);const Jk=ge(()=>Km.value&&!ut().value);function Qk(){const e=ut(),t=ra();return ge(()=>({host:e.value,devtools:{rpc:Me,colorMode:t.value,renderCodeHighlight(n,r){return Xk(n,r)},renderMarkdown(n){return ZC(n)},extendClientRpc(n,r){return gm.set(n,r),new Proxy({},{get(s,o){if(typeof o=="string")return Me[`${n}:${o}`]}})}}}))}const Cs={icon:"carbon:image-search",title:"Open Graph",layout:"full",category:"analyze",show:()=>{const e=ut();return()=>!!e.value}},Ts={icon:"carbon-information",title:"Overview",order:-100},ks={icon:"carbon-tree-view-alt",title:"Pages",show:()=>{const e=ut();return()=>!!e.value},order:1},Ps={icon:"carbon-data-set",title:"Payload",category:"analyze",show:()=>{const e=ut();return()=>!!e.value},order:7},$s={icon:"carbon-plug",title:"Plugins",category:"analyze"},Rs={icon:"carbon-settings-services",title:"Runtime Configs",category:"analyze",show:()=>{const e=ut();return()=>!!e.value},order:6};function G2(e,t,n){return Math.min(n,Math.max(t,e))}const Zk="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function eP(e=16,t=Zk){let n="",r=e;const s=t.length;for(;r--;)n+=t[Math.random()*s|0];return n}function Xm(e,t,n=!1){return t.reduce((r,s)=>(s in e&&(!n||e[s]!==void 0)&&(r[s]=e[s]),r),{})}function Ym(){return vt("getServerPages",()=>Me.getServerPages())}function tP(){return vt("getServerRoutes",()=>Me.getServerRoutes())}function q2(){return vt("getServerHooks",()=>Me.getServerHooks())}function K2(){return vt("getServerLayouts",()=>Me.getServerLayouts())}function X2(){return vt("getAutoImports",()=>Me.getAutoImports())}function Y2(){return vt("getStaticAssets",()=>Me.getStaticAssets())}function nP(){return vt("getServerConfig",()=>Me.getServerConfig())}function J2(){return vt("getModuleOptions",()=>Me.getModuleOptions())}function Q2(){return vt("getServerApp",()=>Me.getServerApp())}function rP(){return vt("getCustomTabs",()=>Me.getCustomTabs())}function Ed(){return vt("getTerminals",()=>Me.getTerminals())}function Z2(){return vt("getAnalyzeBuildInfo",()=>Me.getAnalyzeBuildInfo())}function sP(){const{data:e}=ww("/_vfs.json",{key:"vfs-list",baseURL:"/",responseType:"json"},"$1Vz4NDBkXu");return e}function eO(){const e=Ym(),t=qm();return ge(()=>(t.value?.getRoutes()||[]).map(n=>Xm(n,["path","name","meta","props","children"])).map(n=>({...e.value?.find(r=>r.name&&r.name===n.name),...n})))}const As={icon:"carbon-cloud",title:"Server Routes",layout:"full",category:"server",show(){const e=tP();return()=>e.value?.length}},Ns={icon:"carbon-data-base",title:"Storage",layout:"full",category:"server"},Os={icon:"carbon-terminal",title:"Terminals",layout:"full",show(){const e=Ed();return()=>!!e.value?.length},badge(){const e=Ed();return()=>e.value?.filter(t=>!t.isTerminated).length}},Is={icon:"i-carbon-roadmap",title:"Timeline",category:"analyze"},Ls={icon:"i-carbon-border-none",title:"Virtual Files",layout:"full",category:"advanced"},Ms={layout:"full"},xd=[{name:ds?.name??"__blank",path:ds?.path??"/__blank",meta:ds||{},alias:ds?.alias||[],redirect:ds?.redirect||void 0,component:()=>_e(()=>import("./__blank.ed5e6688.js"),[],import.meta.url).then(e=>e.default||e)},{name:hs?.name??"index",path:hs?.path??"/",meta:hs||{},alias:hs?.alias||[],redirect:hs?.redirect||void 0,component:()=>_e(()=>import("./index.9d25c8b5.js"),["./index.9d25c8b5.js","./Badge.3c6fa035.js"],import.meta.url).then(e=>e.default||e)},{name:gs?.name??"modules-analyze-build",path:gs?.path??"/modules/analyze-build",meta:gs||{},alias:gs?.alias||[],redirect:gs?.redirect||void 0,component:()=>_e(()=>import("./analyze-build.a348d54f.js"),["./analyze-build.a348d54f.js","./FilepathItem.vue.222c7a36.js","./NTip.vue.b82daf5f.js","./NCodeBlock.vue.cd0d52ca.js","./client.ecec2ff5.js","./NCodeBlock.6994516c.css","./NCheckbox.vue.d47be8e5.js","./HelpFab.vue.6da14cd2.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:vs?.name??"modules-assets",path:vs?.path??"/modules/assets",meta:vs||{},alias:vs?.alias||[],redirect:vs?.redirect||void 0,component:()=>_e(()=>import("./assets.9cc20f0c.js"),["./assets.9cc20f0c.js","./Navbar.vue.454bbdad.js","./NSectionBlock.2eb550f4.js","./NIconTitle.vue.590f73cc.js","./NSectionBlock.012f83f1.css","./FilepathItem.vue.222c7a36.js","./storage-options.f78173e7.js","./NCodeBlock.vue.cd0d52ca.js","./client.ecec2ff5.js","./NCodeBlock.6994516c.css","./DrawerRight.vue.8980fc15.js","./constants.4e5eba24.js","./assets.a19ea08e.css"],import.meta.url).then(e=>e.default||e)},{name:ys?.name??"modules-components",path:ys?.path??"/modules/components",meta:ys||{},alias:ys?.alias||[],redirect:ys?.redirect||void 0,component:()=>_e(()=>import("./components.eb546fab.js"),["./components.eb546fab.js","./HelpFab.vue.6da14cd2.js","./HelpFab.f179afc3.css","./state-components.f27756f9.js","./NCheckbox.vue.d47be8e5.js","./Navbar.vue.454bbdad.js","./Badge.3c6fa035.js","./FilepathItem.vue.222c7a36.js","./DrawerRight.vue.8980fc15.js","./NSelectTabs.vue.15ded4ea.js","./NSectionBlock.2eb550f4.js","./NIconTitle.vue.590f73cc.js","./NSectionBlock.012f83f1.css","./constants.4e5eba24.js"],import.meta.url).then(e=>e.default||e)},{name:_s?.name??"modules-custom-name",path:_s?.path??"/modules/custom-:name()",meta:_s||{},alias:_s?.alias||[],redirect:_s?.redirect||void 0,component:()=>_e(()=>import("./custom-_name_.405b1822.js"),["./custom-_name_.405b1822.js","./LaunchPage.vue.ded97a46.js","./NMarkdown.vue.0929ffc5.js","./client.ecec2ff5.js"],import.meta.url).then(e=>e.default||e)},{name:bs?.name??"modules-hooks",path:bs?.path??"/modules/hooks",meta:bs||{},alias:bs?.alias||[],redirect:bs?.redirect||void 0,component:()=>_e(()=>import("./hooks.a92c198c.js"),["./hooks.a92c198c.js","./DurationDisplay.vue.dca5d690.js","./NSectionBlock.2eb550f4.js","./NIconTitle.vue.590f73cc.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.6da14cd2.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:ws?.name??"modules-imports",path:ws?.path??"/modules/imports",meta:ws||{},alias:ws?.alias||[],redirect:ws?.redirect||void 0,component:()=>_e(()=>import("./imports.af43913a.js"),["./imports.af43913a.js","./NSelectTabs.vue.15ded4ea.js","./Navbar.vue.454bbdad.js","./FilepathItem.vue.222c7a36.js","./ComposableItem.vue.ffcca591.js","./NMarkdown.vue.0929ffc5.js","./client.ecec2ff5.js","./constants.4e5eba24.js","./NSectionBlock.2eb550f4.js","./NIconTitle.vue.590f73cc.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.6da14cd2.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Es?.name??"modules-middleware",path:Es?.path??"/modules/middleware",meta:Es||{},alias:Es?.alias||[],redirect:Es?.redirect||void 0,component:()=>_e(()=>import("./middleware.17de3e64.js"),[],import.meta.url).then(e=>e.default||e)},{name:xs?.name??"modules-modules",path:xs?.path??"/modules/modules",meta:xs||{},alias:xs?.alias||[],redirect:xs?.redirect||void 0,component:()=>_e(()=>import("./modules.d2b55e3a.js"),["./modules.d2b55e3a.js","./FilepathItem.vue.222c7a36.js","./state-modules.4d65021c.js","./Badge.3c6fa035.js","./NCodeBlock.vue.cd0d52ca.js","./client.ecec2ff5.js","./NCodeBlock.6994516c.css","./NCheckbox.vue.d47be8e5.js","./NTip.vue.b82daf5f.js","./NSectionBlock.2eb550f4.js","./NIconTitle.vue.590f73cc.js","./NSectionBlock.012f83f1.css","./NDropdown.vue.3bf5669f.js","./NLink.vue.2bd59538.js","./CodeDiff.vue.7a519a6d.js","./HelpFab.vue.6da14cd2.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Cs?.name??"modules-open-graph",path:Cs?.path??"/modules/open-graph",meta:Cs||{},alias:Cs?.alias||[],redirect:Cs?.redirect||void 0,component:()=>_e(()=>import("./open-graph.b86b82fa.js"),["./open-graph.b86b82fa.js","./Navbar.vue.454bbdad.js","./NLink.vue.2bd59538.js","./NSectionBlock.2eb550f4.js","./NIconTitle.vue.590f73cc.js","./NSectionBlock.012f83f1.css","./NCodeBlock.vue.cd0d52ca.js","./client.ecec2ff5.js","./NCodeBlock.6994516c.css","./HelpFab.vue.6da14cd2.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Ts?.name??"modules-overview",path:Ts?.path??"/modules/overview",meta:Ts||{},alias:Ts?.alias||[],redirect:Ts?.redirect||void 0,component:()=>_e(()=>import("./overview.5b1b22e6.js"),["./overview.5b1b22e6.js","./Badge.3c6fa035.js","./state-modules.4d65021c.js","./NCodeBlock.vue.cd0d52ca.js","./client.ecec2ff5.js","./NCodeBlock.6994516c.css","./NCheckbox.vue.d47be8e5.js","./NTip.vue.b82daf5f.js","./state-components.f27756f9.js"],import.meta.url).then(e=>e.default||e)},{name:ks?.name??"modules-pages",path:ks?.path??"/modules/pages",meta:ks||{},alias:ks?.alias||[],redirect:ks?.redirect||void 0,component:()=>_e(()=>import("./pages.7ce7ead1.js"),["./pages.7ce7ead1.js","./Badge.3c6fa035.js","./FilepathItem.vue.222c7a36.js","./NSectionBlock.2eb550f4.js","./NIconTitle.vue.590f73cc.js","./NSectionBlock.012f83f1.css","./LaunchPage.vue.ded97a46.js","./NMarkdown.vue.0929ffc5.js","./client.ecec2ff5.js","./HelpFab.vue.6da14cd2.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Ps?.name??"modules-payload",path:Ps?.path??"/modules/payload",meta:Ps||{},alias:Ps?.alias||[],redirect:Ps?.redirect||void 0,component:()=>_e(()=>import("./payload.95a96cbc.js"),["./payload.95a96cbc.js","./StateEditor.vue.fb44992d.js","./DataSchemaButton.vue.9ced8093.js","./json-editor-vue.28570b6b.js","./NSectionBlock.2eb550f4.js","./NIconTitle.vue.590f73cc.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.6da14cd2.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:()=>_e(()=>import("./plugins.19d4d843.js"),["./plugins.19d4d843.js","./FilepathItem.vue.222c7a36.js","./Badge.3c6fa035.js","./DurationDisplay.vue.dca5d690.js","./NSectionBlock.2eb550f4.js","./NIconTitle.vue.590f73cc.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.6da14cd2.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Rs?.name??"modules-runtime-configs",path:Rs?.path??"/modules/runtime-configs",meta:Rs||{},alias:Rs?.alias||[],redirect:Rs?.redirect||void 0,component:()=>_e(()=>import("./runtime-configs.ccb12a0d.js"),["./runtime-configs.ccb12a0d.js","./StateEditor.vue.fb44992d.js","./DataSchemaButton.vue.9ced8093.js","./json-editor-vue.28570b6b.js","./NSectionBlock.2eb550f4.js","./NIconTitle.vue.590f73cc.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.6da14cd2.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:As?.name??"modules-server-routes",path:As?.path??"/modules/server-routes",meta:As||{},alias:As?.alias||[],redirect:As?.redirect||void 0,component:()=>_e(()=>import("./server-routes.7cc44fc0.js"),["./server-routes.7cc44fc0.js","./Navbar.vue.454bbdad.js","./Badge.3c6fa035.js","./NSelect.vue.120a17c7.js","./NCheckbox.vue.d47be8e5.js","./storage-options.f78173e7.js","./NCodeBlock.vue.cd0d52ca.js","./client.ecec2ff5.js","./NCodeBlock.6994516c.css","./DataSchemaButton.vue.9ced8093.js","./constants.4e5eba24.js","./json-editor-vue.28570b6b.js","./NSectionBlock.2eb550f4.js","./NIconTitle.vue.590f73cc.js","./NSectionBlock.012f83f1.css","./DrawerRight.vue.8980fc15.js"],import.meta.url).then(e=>e.default||e)},{name:Ns?.name??"modules-storage",path:Ns?.path??"/modules/storage",meta:Ns||{},alias:Ns?.alias||[],redirect:Ns?.redirect||void 0,component:()=>_e(()=>import("./storage.38ee52e0.js"),["./storage.38ee52e0.js","./NSelect.vue.120a17c7.js","./NLink.vue.2bd59538.js","./FilepathItem.vue.222c7a36.js","./json-editor-vue.28570b6b.js"],import.meta.url).then(e=>e.default||e)},{name:Os?.name??"modules-terminals",path:Os?.path??"/modules/terminals",meta:Os||{},alias:Os?.alias||[],redirect:Os?.redirect||void 0,component:()=>_e(()=>import("./terminals.6138e467.js"),["./terminals.6138e467.js","./terminals.ae8c3544.css"],import.meta.url).then(e=>e.default||e)},{name:Is?.name??"modules-timeline",path:Is?.path??"/modules/timeline",meta:Is||{},alias:Is?.alias||[],redirect:Is?.redirect||void 0,component:()=>_e(()=>import("./timeline.aeb379fb.js"),["./timeline.aeb379fb.js","./DurationDisplay.vue.dca5d690.js","./Badge.3c6fa035.js","./ComposableItem.vue.ffcca591.js","./NMarkdown.vue.0929ffc5.js","./client.ecec2ff5.js","./FilepathItem.vue.222c7a36.js","./constants.4e5eba24.js","./json-editor-vue.28570b6b.js","./LaunchPage.vue.ded97a46.js","./NLink.vue.2bd59538.js","./CodeDiff.vue.7a519a6d.js","./NCodeBlock.vue.cd0d52ca.js","./NCodeBlock.6994516c.css","./HelpFab.vue.6da14cd2.js","./HelpFab.f179afc3.css","./timeline.1ad3a70f.css"],import.meta.url).then(e=>e.default||e)},{name:Ls?.name??"modules-virtual-files",path:Ls?.path??"/modules/virtual-files",meta:Ls||{},alias:Ls?.alias||[],redirect:Ls?.redirect||void 0,component:()=>_e(()=>import("./virtual-files.c0236487.js"),["./virtual-files.c0236487.js","./Navbar.vue.454bbdad.js","./NCodeBlock.vue.cd0d52ca.js","./client.ecec2ff5.js","./NCodeBlock.6994516c.css","./HelpFab.vue.6da14cd2.js","./HelpFab.f179afc3.css","./virtual-files.a8748389.css"],import.meta.url).then(e=>e.default||e)},{name:Ms?.name??"settings",path:Ms?.path??"/settings",meta:Ms||{},alias:Ms?.alias||[],redirect:Ms?.redirect||void 0,component:()=>_e(()=>import("./settings.105e88e7.js"),["./settings.105e88e7.js","./NIconTitle.vue.590f73cc.js","./NSwitch.vue.00f0a211.js","./NSelect.vue.120a17c7.js","./NCheckbox.vue.d47be8e5.js"],import.meta.url).then(e=>e.default||e)}],oP={scrollBehavior(e,t,n){const r=De(),s=it().options?.scrollBehaviorType??"auto";let o=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!o&&t&&e&&i!==!1&&iP(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:Sd(e.hash),behavior:s}}const a=c=>!!(c.meta.pageTransition??pl),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:Sd(e.hash),behavior:s}),c(o)})})}};function Sd(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function iP(e,t){const n=t.matched.every((r,s)=>r.components?.default===e.matched[s]?.components?.default);return!!(!n||n&&JSON.stringify(e.params)!==JSON.stringify(t.params))}const aP={},Tn={...aP,...oP},lP=async e=>{let t,n;if(!e.meta?.validate)return;const r=De(),s=it();if(([t,n]=wi(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=Ki({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),a=s.beforeResolve(l=>{if(a(),l===e){const c=s.afterEach(async()=>{c(),await r.runWithContext(()=>kr(i)),window.history.pushState({},"",e.fullPath)});return!1}})},cP=Co("nuxt-devtools-first-visit",!0),uP=lm(),Rl=ge(()=>uP.width.value>1080),On=Co("nuxt-devtools-split-screen",!1),Jm=Co("nuxt-devtools-split-screen-view","overview");Co("nuxt-devtools-frame-state",{},{listenToStorageChanges:!0});const fP=Co("nuxt-devtools-panels-state",{},{listenToStorageChanges:!1}),Kc=J(await Me.getOptions("ui")),dP=zw(Kc);ze(Kc,async e=>{Me.updateOptions("ui",e)},{deep:!0,flush:"post"});localStorage.getItem("nuxt-devtools-settings")&&(Object.assign(Kc.value,JSON.parse(localStorage.getItem("nuxt-devtools-settings"))),localStorage.removeItem("nuxt-devtools-settings"));function ia(){return dP}function hP(){return fP}const pP=e=>{if(e.path==="/"&&!cP.value)return Fp("/modules/overview")},si=[lP,pP],Al={};function mP(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),Wu(u,"")}const a=Wu(r,e),l=!n||c0(a,n,{trailingSlash:!0})?a:n;return l+(l.includes("?")?"":s)+o}const gP=Ut({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=Tc().app.baseURL;Tn.hashMode&&!r.includes("#")&&(r+="#");const s=Tn.history?.(r)??(Tn.hashMode?y1(r):zp(r)),o=Tn.routes?.(xd)??xd;let i;const a=mP(r,window.location,e.payload.path),l=tw({...Tn,scrollBehavior:(m,_,y)=>{if(_===Xt){i=y;return}return l.options.scrollBehavior=Tn.scrollBehavior,Tn.scrollBehavior?.(m,Xt,i||y)},history:s,routes:o});e.vueApp.use(l);const c=rn(l.currentRoute.value);l.afterEach((m,_)=>{c.value=_}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const u=rn(l.resolve(a)),f=()=>{u.value=l.currentRoute.value};e.hook("page:finish",f),l.afterEach((m,_)=>{m.matched[0]?.components?.default===_.matched[0]?.components?.default&&f()});const d={};for(const m in u.value)Object.defineProperty(d,m,{get:()=>u.value[m]});e._route=Qr(d),e._middleware=e._middleware||{global:[],named:{}};const p=qi();try{[t,n]=wi(()=>l.isReady()),await t,n()}catch(m){[t,n]=wi(()=>e.runWithContext(()=>kr(m))),await t,n()}const h=vr("_layout");return l.beforeEach(async(m,_)=>{m.meta=jt(m.meta),e.isHydrating&&h.value&&!ur(m.meta.layout)&&(m.meta.layout=h.value),e._processingMiddleware=!0;{const y=new Set([...si,...e._middleware.global]);for(const v of m.matched){const w=v.meta.middleware;if(w)if(Array.isArray(w))for(const b of w)y.add(b);else y.add(w)}for(const v of y){const w=typeof v=="string"?e._middleware.named[v]||await Al[v]?.().then(C=>C.default||C):v;if(!w)throw new Error(`Unknown route middleware: '${v}'.`);const b=await e.runWithContext(()=>w(m,_));if(!e.payload.serverRendered&&e.isHydrating&&(b===!1||b instanceof Error)){const C=b||vl({statusCode:404,statusMessage:`Page Not Found: ${a}`});return await e.runWithContext(()=>kr(C)),!1}if(b||b===!1)return b}}}),l.onError(()=>{delete e._processingMiddleware}),l.afterEach(async(m,_,y)=>{delete e._processingMiddleware,!e.isHydrating&&p.value&&await e.runWithContext(Qb),m.matched.length===0&&await e.runWithContext(()=>kr(vl({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(()=>kr(m))}}),{provide:{router:l}}}}),vP=Ut({name:"nuxt:payload",setup(e){jb()&&(e.hooks.hook("link:prefetch",async t=>{Eo(t).protocol||await of(t)}),it().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await of(t.path);r&&Object.assign(e.static.data,r.data)}))}}),yP=Ut({name:"nuxt:global-components"}),_P=[],bP=Ut({name:"nuxt:head",setup(e){const t=Ab({plugins:_P});e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await Ap(t)};t.hooks.hook("dom:beforeRender",s=>{s.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",r),e.hooks.hook("app:suspense:resolve",r)}}}),or={default:()=>_e(()=>import("./default.d9ec755b.js"),[],import.meta.url).then(e=>e.default||e),full:()=>_e(()=>import("./full.ff28afbd.js"),[],import.meta.url).then(e=>e.default||e),none:()=>_e(()=>import("./none.60868d86.js"),[],import.meta.url).then(e=>e.default||e)},wP=Ut({name:"nuxt:prefetch",setup(e){const t=it();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof or[r]=="function"&&await or[r]()})}),e.hooks.hook("link:prefetch",n=>{if(ns(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 Al[i]=="function"&&Al[i]();s&&typeof or[s]=="function"&&or[s]()})}}),EP="__NUXT_COLOR_MODE__",xP="ColorScheme",SP="nuxt-color-mode",on=window[EP],CP=Ut(e=>{const t=vr("color-mode",()=>jt({preference:on.preference,value:on.value,unknown:!1,forced:!1})).value;it().afterEach(s=>{const o=s.meta.colorMode;o&&o!=="system"?(t.value=o,t.forced=!0):(o==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?on.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=on.getColorScheme())}))}ze(()=>t.preference,s=>{t.forced||(s==="system"?(t.value=on.getColorScheme(),r()):t.value=s,window.localStorage?.setItem(SP,s))},{immediate:!0}),ze(()=>t.value,(s,o)=>{on.removeColorScheme(o),on.addColorScheme(s)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=on.preference,t.value=on.value,t.unknown=!1)}),e.provide("colorMode",t)});const TP=Ut(()=>{}),kP=Ut({name:"nuxt:chunk-reload",setup(e){const t=it(),n=Tc(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:s})=>{r.add(s)}),t.onError((s,o)=>{if(r.has(s)){const a="href"in o&&o.href.startsWith("#")?n.app.baseURL+o.href:wo(n.app.baseURL,o.fullPath);Ew({path:a,persistState:!0})}})}});function Mt(e){return e.split("-")[1]}function Xc(e){return e==="y"?"height":"width"}function Zt(e){return e.split("-")[0]}function os(e){return["top","bottom"].includes(Zt(e))?"x":"y"}function Cd(e,t,n){let{reference:r,floating:s}=e;const o=r.x+r.width/2-s.width/2,i=r.y+r.height/2-s.height/2,a=os(t),l=Xc(a),c=r[l]/2-s[l]/2,u=a==="x";let f;switch(Zt(t)){case"top":f={x:o,y:r.y-s.height};break;case"bottom":f={x:o,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:i};break;case"left":f={x:r.x-s.width,y:i};break;default:f={x:r.x,y:r.y}}switch(Mt(t)){case"start":f[a]-=c*(n&&u?-1:1);break;case"end":f[a]+=c*(n&&u?-1:1)}return f}const PP=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}=Cd(c,r,l),d=r,p={},h=0;for(let m=0;m<a.length;m++){const{name:_,fn:y}=a[m],{x:v,y:w,data:b,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}});u=v??u,f=w??f,p={...p,[_]:{...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}=Cd(c,d,l)),m=-1)}return{x:u,y:f,placement:d,strategy:s,middlewareData:p}};function _r(e,t){return typeof e=="function"?e(t):e}function Qm(e){return typeof e!="number"?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(e):{top:e,right:e,bottom:e,left:e}}function Ys(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}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}=_r(t,e),h=Qm(p),m=a[d?f==="floating"?"reference":"floating":f],_=Ys(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(m)))==null||n?m:m.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),y=f==="floating"?{...i.floating,x:r,y:s}:i.reference,v=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),w=await(o.isElement==null?void 0:o.isElement(v))&&await(o.getScale==null?void 0:o.getScale(v))||{x:1,y:1},b=Ys(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:v,strategy:l}):y);return{top:(_.top-b.top+h.top)/w.y,bottom:(b.bottom-_.bottom+h.bottom)/w.y,left:(_.left-b.left+h.left)/w.x,right:(b.right-_.right+h.right)/w.x}}const po=Math.min,Yn=Math.max;function Nl(e,t,n){return Yn(e,po(t,n))}const $P=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}=_r(e,t)||{};if(l==null)return{};const u=Qm(c),f={x:n,y:r},d=os(s),p=Xc(d),h=await i.getDimensions(l),m=d==="y",_=m?"top":"left",y=m?"bottom":"right",v=m?"clientHeight":"clientWidth",w=o.reference[p]+o.reference[d]-f[d]-o.floating[p],b=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 P=w/2-b/2,x=g/2-h[p]/2-1,E=po(u[_],x),k=po(u[y],x),S=E,T=g-h[p]-k,$=g/2-h[p]/2+P,R=Nl(S,$,T),L=Mt(s)!=null&&$!=R&&o.reference[p]/2-($<S?E:k)-h[p]/2<0?$<S?S-$:T-$:0;return{[d]:f[d]-L,data:{[d]:R,centerOffset:$-R+L}}}}),RP=["top","right","bottom","left"],Td=RP.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),AP={left:"right",right:"left",bottom:"top",top:"bottom"};function ki(e){return e.replace(/left|right|bottom|top/g,t=>AP[t])}function Zm(e,t,n){n===void 0&&(n=!1);const r=Mt(e),s=os(e),o=Xc(s);let i=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=ki(i)),{main:i,cross:ki(i)}}const NP={start:"end",end:"start"};function oi(e){return e.replace(/start|end/g,t=>NP[t])}const OP=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=Td,autoAlignment:p=!0,...h}=_r(e,t),m=f!==void 0||d===Td?function(k,S,T){return(k?[...T.filter($=>Mt($)===k),...T.filter($=>Mt($)!==k)]:T.filter($=>Zt($)===$)).filter($=>!k||Mt($)===k||!!S&&oi($)!==$)}(f||null,p,d):d,_=await aa(t,h),y=((n=i.autoPlacement)==null?void 0:n.index)||0,v=m[y];if(v==null)return{};const{main:w,cross:b}=Zm(v,o,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==v)return{reset:{placement:m[0]}};const C=[_[Zt(v)],_[w],_[b]],g=[...((r=i.autoPlacement)==null?void 0:r.overflows)||[],{placement:v,overflows:C}],P=m[y+1];if(P)return{data:{index:y+1,overflows:g},reset:{placement:P}};const x=g.map(k=>{const S=Mt(k.placement);return[k.placement,S&&u?k.overflows.slice(0,2).reduce((T,$)=>T+$,0):k.overflows[0],k.overflows]}).sort((k,S)=>k[1]-S[1]),E=((s=x.filter(k=>k[2].slice(0,Mt(k[0])?2:3).every(S=>S<=0))[0])==null?void 0:s[0])||x[0][0];return E!==a?{data:{index:y+1,overflows:g},reset:{placement:E}}:{}}}},IP=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}=_r(e,t),_=Zt(r),y=Zt(i)===i,v=await(a.isRTL==null?void 0:a.isRTL(l.floating)),w=f||(y||!h?[ki(i)]:function(S){const T=ki(S);return[oi(S),T,oi(T)]}(i));f||p==="none"||w.push(...function(S,T,$,R){const L=Mt(S);let I=function(D,F,H){const ne=["left","right"],re=["right","left"],se=["top","bottom"],he=["bottom","top"];switch(D){case"top":case"bottom":return H?F?re:ne:F?ne:re;case"left":case"right":return F?se:he;default:return[]}}(Zt(S),$==="start",R);return L&&(I=I.map(D=>D+"-"+L),T&&(I=I.concat(I.map(oi)))),I}(i,h,p,v));const b=[i,...w],C=await aa(t,m),g=[];let P=((n=s.flip)==null?void 0:n.overflows)||[];if(c&&g.push(C[_]),u){const{main:S,cross:T}=Zm(r,o,v);g.push(C[S],C[T])}if(P=[...P,{placement:r,overflows:g}],!g.every(S=>S<=0)){var x,E;const S=(((x=s.flip)==null?void 0:x.index)||0)+1,T=b[S];if(T)return{data:{index:S,overflows:P},reset:{placement:T}};let $=(E=P.filter(R=>R.overflows[0]<=0).sort((R,L)=>R.overflows[1]-L.overflows[1])[0])==null?void 0:E.placement;if(!$)switch(d){case"bestFit":{var k;const R=(k=P.map(L=>[L.placement,L.overflows.filter(I=>I>0).reduce((I,D)=>I+D,0)]).sort((L,I)=>L[1]-I[1])[0])==null?void 0:k[0];R&&($=R);break}case"initialPlacement":$=i}if(r!==$)return{reset:{placement:$}}}return{}}}},LP=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,s=await async function(o,i){const{placement:a,platform:l,elements:c}=o,u=await(l.isRTL==null?void 0:l.isRTL(c.floating)),f=Zt(a),d=Mt(a),p=os(a)==="x",h=["left","top"].includes(f)?-1:1,m=u&&p?-1:1,_=_r(i,o);let{mainAxis:y,crossAxis:v,alignmentAxis:w}=typeof _=="number"?{mainAxis:_,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,..._};return d&&typeof w=="number"&&(v=d==="end"?-1*w:w),p?{x:v*m,y:y*h}:{x:y*h,y:v*m}}(t,e);return{x:n+s.x,y:r+s.y,data:s}}}};function MP(e){return e==="x"?"y":"x"}const DP=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:_=>{let{x:y,y:v}=_;return{x:y,y:v}}},...l}=_r(e,t),c={x:n,y:r},u=await aa(t,l),f=os(Zt(s)),d=MP(f);let p=c[f],h=c[d];if(o){const _=f==="y"?"bottom":"right";p=Nl(p+u[f==="y"?"top":"left"],p,p-u[_])}if(i){const _=d==="y"?"bottom":"right";h=Nl(h+u[d==="y"?"top":"left"],h,h-u[_])}const m=a.fn({...t,[f]:p,[d]:h});return{...m,data:{x:m.x-n,y:m.y-r}}}}},FP=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}=_r(e,t),l=await aa(t,a),c=Zt(n),u=Mt(n),f=os(n)==="x",{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 _=p-l[h],y=d-l[m],v=!t.middlewareData.shift;let w=_,b=y;if(f){const g=d-l.left-l.right;b=u||v?po(y,g):g}else{const g=p-l.top-l.bottom;w=u||v?po(_,g):g}if(v&&!u){const g=Yn(l.left,0),P=Yn(l.right,0),x=Yn(l.top,0),E=Yn(l.bottom,0);f?b=d-2*(g!==0||P!==0?g+P:Yn(l.left,l.right)):w=p-2*(x!==0||E!==0?x+E:Yn(l.top,l.bottom))}await i({...t,availableWidth:b,availableHeight:w});const C=await s.getDimensions(o.floating);return d!==C.width||p!==C.height?{reset:{rects:!0}}:{}}}};function $t(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function en(e){return $t(e).getComputedStyle(e)}const kd=Math.min,Js=Math.max,Pi=Math.round;function eg(e){const t=en(e);let n=parseFloat(t.width),r=parseFloat(t.height);const s=e.offsetWidth,o=e.offsetHeight,i=Pi(n)!==s||Pi(r)!==o;return i&&(n=s,r=o),{width:n,height:r,fallback:i}}function Un(e){return ng(e)?(e.nodeName||"").toLowerCase():""}let Jo;function tg(){if(Jo)return Jo;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Jo=e.brands.map(t=>t.brand+"/"+t.version).join(" "),Jo):navigator.userAgent}function tn(e){return e instanceof $t(e).HTMLElement}function Fn(e){return e instanceof $t(e).Element}function ng(e){return e instanceof $t(e).Node}function Pd(e){return typeof ShadowRoot>"u"?!1:e instanceof $t(e).ShadowRoot||e instanceof ShadowRoot}function la(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=en(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(s)}function BP(e){return["table","td","th"].includes(Un(e))}function Ol(e){const t=/firefox/i.test(tg()),n=en(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 rg(){return!/^((?!chrome|android).)*safari/i.test(tg())}function Yc(e){return["html","body","#document"].includes(Un(e))}function sg(e){return Fn(e)?e:e.contextElement}const og={x:1,y:1};function Dr(e){const t=sg(e);if(!tn(t))return og;const n=t.getBoundingClientRect(),{width:r,height:s,fallback:o}=eg(t);let i=(o?Pi(n.width):n.width)/r,a=(o?Pi(n.height):n.height)/s;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}function mo(e,t,n,r){var s,o;t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=sg(e);let l=og;t&&(r?Fn(r)&&(l=Dr(r)):l=Dr(e));const c=a?$t(a):window,u=!rg()&&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=$t(a),_=r&&Fn(r)?$t(r):r;let y=m.frameElement;for(;y&&r&&_!==m;){const v=Dr(y),w=y.getBoundingClientRect(),b=getComputedStyle(y);w.x+=(y.clientLeft+parseFloat(b.paddingLeft))*v.x,w.y+=(y.clientTop+parseFloat(b.paddingTop))*v.y,f*=v.x,d*=v.y,p*=v.x,h*=v.y,f+=w.x,d+=w.y,y=$t(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((ng(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 ig(e){return mo(Bn(e)).left+ca(e).scrollLeft}function go(e){if(Un(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Pd(e)&&e.host||Bn(e);return Pd(t)?t.host:t}function ag(e){const t=go(e);return Yc(t)?t.ownerDocument.body:tn(t)&&la(t)?t:ag(t)}function $i(e,t){var n;t===void 0&&(t=[]);const r=ag(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),o=$t(r);return s?t.concat(o,o.visualViewport||[],la(r)?r:[]):t.concat(r,$i(r))}function $d(e,t,n){return t==="viewport"?Ys(function(r,s){const o=$t(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=rg();(d||!d&&s==="fixed")&&(u=a.offsetLeft,f=a.offsetTop)}return{width:l,height:c,x:u,y:f}}(e,n)):Fn(t)?Ys(function(r,s){const o=mo(r,!0,s==="fixed"),i=o.top+r.clientTop,a=o.left+r.clientLeft,l=tn(r)?Dr(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)):Ys(function(r){const s=Bn(r),o=ca(r),i=r.ownerDocument.body,a=Js(s.scrollWidth,s.clientWidth,i.scrollWidth,i.clientWidth),l=Js(s.scrollHeight,s.clientHeight,i.scrollHeight,i.clientHeight);let c=-o.scrollLeft+ig(r);const u=-o.scrollTop;return en(i).direction==="rtl"&&(c+=Js(s.clientWidth,i.clientWidth)-a),{width:a,height:l,x:c,y:u}}(Bn(e)))}function Rd(e){return tn(e)&&en(e).position!=="fixed"?e.offsetParent:null}function Ad(e){const t=$t(e);let n=Rd(e);for(;n&&BP(n)&&en(n).position==="static";)n=Rd(n);return n&&(Un(n)==="html"||Un(n)==="body"&&en(n).position==="static"&&!Ol(n))?t:n||function(r){let s=go(r);for(;tn(s)&&!Yc(s);){if(Ol(s))return s;s=go(s)}return null}(e)||t}function jP(e,t,n){const r=tn(t),s=Bn(t),o=mo(e,!0,n==="fixed",t);let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((Un(t)!=="body"||la(s))&&(i=ca(t)),tn(t)){const l=mo(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else s&&(a.x=ig(s));return{x:o.left+i.scrollLeft-a.x,y:o.top+i.scrollTop-a.y,width:o.width,height:o.height}}const zP={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=$i(c).filter(_=>Fn(_)&&Un(_)!=="body"),p=null;const h=en(c).position==="fixed";let m=h?go(c):c;for(;Fn(m)&&!Yc(m);){const _=en(m),y=Ol(m);(h?y||p:y||_.position!=="static"||!p||!["absolute","fixed"].includes(p.position))?p=_:d=d.filter(v=>v!==m),m=go(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=$d(t,u,s);return c.top=Js(f.top,c.top),c.right=kd(f.right,c.right),c.bottom=kd(f.bottom,c.bottom),c.left=Js(f.left,c.left),c},$d(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=tn(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")&&((Un(n)!=="body"||la(o))&&(i=ca(n)),tn(n))){const c=mo(n);a=Dr(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 tn(e)?eg(e):e.getBoundingClientRect()},getOffsetParent:Ad,getDocumentElement:Bn,getScale:Dr,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const s=this.getOffsetParent||Ad,o=this.getDimensions;return{reference:jP(t,await s(n),r),floating:{x:0,y:0,...await o(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>en(e).direction==="rtl"},HP=(e,t,n)=>{const r=new Map,s={platform:zP,...n},o={...s.platform,_c:r};return PP(e,t,{...s,platform:o})};function lg(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?lg(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 vo(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 UP(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 Nd(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 pr=!1;if(typeof window<"u"){pr=!1;try{const e=Object.defineProperty({},"passive",{get(){pr=!0}});window.addEventListener("test",null,e)}catch{}}let cg=!1;typeof window<"u"&&typeof navigator<"u"&&(cg=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const ug=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Od={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Id={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Ld(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function Va(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const Dt=[];let Kn=null;const Md={};function Dd(e){let t=Md[e];return t||(t=Md[e]=[]),t}let Il=function(){};typeof window<"u"&&(Il=window.Element);function Pe(e){return function(t){return vo(t.theme,e)}}const Wa="__floating-vue__popper",fg=()=>Te({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=>ug.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,Il,Boolean],default:Pe("container")},boundary:{type:[String,Il],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(LP({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(OP({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(DP({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(IP({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push($P({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(FP({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 HP(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),Kn&&this.instantMove&&Kn.instantMove&&Kn!==this.parentPopper){Kn.$_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&&(Kn=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([...$i(this.$_referenceNode),...$i(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<Dt.length;n++)t=Dt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}Dt.push(this),document.body.classList.add("v-popper--some-open");for(const t of Nd(this.theme))Dd(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,Ld(Dt,this),Dt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Nd(this.theme)){const r=Dd(n);Ld(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Kn===this&&(Kn=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,Od,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Od,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,Id,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Id,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,pr?{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(Qs>=e.left&&Qs<=e.right&&Zs>=e.top&&Zs<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Qs-Pn,r=Zs-$n,s=t.left+t.width/2-Pn+(t.top+t.height/2)-$n+t.width+t.height,o=Pn+n*s,i=$n+r*s;return Qo(Pn,$n,o,i,t.left,t.top,t.left,t.bottom)||Qo(Pn,$n,o,i,t.left,t.top,t.right,t.top)||Qo(Pn,$n,o,i,t.right,t.top,t.right,t.bottom)||Qo(Pn,$n,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"&&(cg?(document.addEventListener("touchstart",Fd,pr?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",WP,pr?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",Fd,!0),window.addEventListener("click",VP,!0)),window.addEventListener("resize",KP));function Fd(e){for(let t=0;t<Dt.length;t++){const n=Dt[t];try{const r=n.popperNode();n.$_mouseDownContains=r.contains(e.target)}catch{}}}function VP(e){dg(e)}function WP(e){dg(e,!0)}function dg(e,t=!1){const n={};for(let r=Dt.length-1;r>=0;r--){const s=Dt[r];try{const o=s.$_containsGlobalTarget=GP(s,e);s.$_pendingHide=!1,requestAnimationFrame(()=>{if(s.$_pendingHide=!1,!n[s.randomId]&&Bd(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&&Bd(i,i.$_containsGlobalTarget,e);)i.$_handleGlobalClose(e,t),i=i.parentPopper}})}catch{}}}function GP(e,t){const n=e.popperNode();return e.$_mouseDownContains||n.contains(t.target)}function Bd(e,t,n){return n.closeAllPopover||n.closePopover&&t||qP(e,n)&&!t}function qP(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function KP(e){for(let t=0;t<Dt.length;t++)Dt[t].$_computePosition(e)}let Pn=0,$n=0,Qs=0,Zs=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{Pn=Qs,$n=Zs,Qs=e.clientX,Zs=e.clientY},pr?{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 XP={extends:fg()},ua=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};function YP(e,t,n,r,s,o){return Q(),ye("div",{ref:"reference",class:ot(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[rt(e.$slots,"default",Jl(Vi(e.slotData)))],2)}const JP=ua(XP,[["render",YP]]);function QP(){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 Ll(){Ll.init||(Ll.init=!0,ii=QP()!==-1)}var fa={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Ll(),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 ZP=Jv();Xv("data-v-b329ee4c");const e$={class:"resize-observer",tabindex:"-1"};Yv();const t$=ZP((e,t,n,r,s,o)=>(Q(),Se("div",e$)));fa.render=t$;fa.__scopeId="data-v-b329ee4c";fa.__file="src/components/ResizeObserver.vue";const hg=(e="theme")=>({computed:{themeClass(){return UP(this[e])}}}),n$=Te({name:"VPopperContent",components:{ResizeObserver:fa},mixins:[hg()],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}}}),r$=["id","aria-hidden","tabindex","data-popper-placement"],s$={ref:"inner",class:"v-popper__inner"},o$=Z("div",{class:"v-popper__arrow-outer"},null,-1),i$=Z("div",{class:"v-popper__arrow-inner"},null,-1),a$=[o$,i$];function l$(e,t,n,r,s,o){const i=gn("ResizeObserver");return Q(),ye("div",{id:e.popperId,ref:"popover",class:ot(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:hn(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=vp(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[Z("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),Z("div",{class:"v-popper__wrapper",style:hn(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[Z("div",s$,[e.mounted?(Q(),ye(Ie,{key:0},[Z("div",null,[rt(e.$slots,"default")]),e.handleResize?(Q(),Se(i,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):Xe("",!0)],64)):Xe("",!0)],512),Z("div",{ref:"arrow",class:"v-popper__arrow-container",style:hn(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},a$,4)],4)],46,r$)}const pg=ua(n$,[["render",l$]]),mg={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)}}},c$=Te({name:"VPopperWrapper",components:{Popper:JP,PopperContent:pg},mixins:[mg,hg("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 u$(e,t,n,r,s,o){const i=gn("PopperContent"),a=gn("Popper");return Q(),Se(a,{ref:"popper",theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:ot([e.themeClass])},{default:pe(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,show:p,hide:h,handleResize:m,onResize:_,classes:y,result:v})=>[rt(e.$slots,"default",{shown:c,show:p,hide:h}),Y(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:_},{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 Jc=ua(c$,[["render",u$]]),f$={...Jc,name:"VDropdown",vPopperTheme:"dropdown"},d$={...Jc,name:"VMenu",vPopperTheme:"menu"},h$={...Jc,name:"VTooltip",vPopperTheme:"tooltip"},p$=Te({name:"VTooltipDirective",components:{Popper:fg(),PopperContent:pg},mixins:[mg],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>vo(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>vo(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}}}),m$=["innerHTML"],g$=["textContent"];function v$(e,t,n,r,s,o){const i=gn("PopperContent"),a=gn("Popper");return Q(),Se(a,yn({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:pe(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,hide:p,handleResize:h,onResize:m,classes:_,result:y})=>[Y(i,{ref:"popperContent",class:ot({"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:_,result:y,onHide:p,onResize:m},{default:pe(()=>[e.html?(Q(),ye("div",{key:0,innerHTML:e.finalContent},null,8,m$)):(Q(),ye("div",{key:1,textContent:wt(e.finalContent)},null,8,g$))]),_: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 y$=ua(p$,[["render",v$]]),gg="v-popper--has-tooltip";function _$(e,t){let n=e.placement;if(!n&&t)for(const r of ug)t[r]&&(n=r);return n||(n=vo(e.theme||"tooltip","placement")),n}function vg(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=_$(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let Ga,yo,b$=0;function w$(){if(Ga)return;yo=J([]),Ga=_p({name:"VTooltipDirectiveApp",setup(){return{directives:yo}},render(){return this.directives.map(t=>Ye(y$,{...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 E$(e,t,n){w$();const r=J(vg(e,t,n)),s=J(!1),o={id:b$++,options:r,shown:s};return yo.value.push(o),e.classList&&e.classList.add(gg),e.$_popper={options:r,item:o,show(){s.value=!0},hide(){s.value=!1}}}function yg(e){if(e.$_popper){const t=yo.value.indexOf(e.$_popper.item);t!==-1&&yo.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(gg)}function jd(e,{value:t,modifiers:n}){const r=vg(e,t,n);if(!r.content||vo(r.theme||"tooltip","disabled"))yg(e);else{let s;e.$_popper?(s=e.$_popper,s.options.value=r):s=E$(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?s.show():s.hide())}}const x$={beforeMount:jd,updated:jd,beforeUnmount(e){yg(e)}};function zd(e){e.addEventListener("click",_g),e.addEventListener("touchstart",bg,pr?{passive:!0}:!1)}function Hd(e){e.removeEventListener("click",_g),e.removeEventListener("touchstart",bg),e.removeEventListener("touchend",wg),e.removeEventListener("touchcancel",Eg)}function _g(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function bg(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",wg),t.addEventListener("touchcancel",Eg)}}function wg(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 Eg(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const S$={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&zd(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?zd(e):Hd(e))},beforeUnmount(e){Hd(e)}};function C$(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,lg(pn,t),e.directive("tooltip",x$),e.directive("close-popper",S$),e.component("VTooltip",h$),e.component("VDropdown",f$),e.component("VMenu",d$))}const T$={version:"2.0.0-beta.24",install:C$,options:pn},k$=Ut(e=>{e.vueApp.use(T$)}),P$=Ut(()=>{const e=ut(),t=Yk(),n=it();function r(){Ch(e)}function s(i){t.value=i}function o(i,a,l,c){const u=`./${a}:${l}:${c}`;Me.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.includes("__")||e.value?.hooks.callHook("devtools:navigate",i)})}),$$=[e1,gP,vP,yP,bP,wP,CP,TP,kP,k$,P$],R$=Te({name:"NuxtLoadingIndicator",props:{throttle:{type:Number,default:200},duration:{type:Number,default:2e3},height:{type:Number,default:3},color:{type:[String,Boolean],default:"repeating-linear-gradient(to right,#00dc82 0%,#34cdfe 50%,#0047e1 100%)"}},setup(e,{slots:t}){const n=A$({duration:e.duration,throttle:e.throttle}),r=De(),s=it();si.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 ts(()=>{const a=si.indexOf(n.start);a>=0&&si.splice(a,1),o(),i(),n.clear()}),()=>Ye("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 A$(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 N$=Te({__name:"Notification",setup(e){const t=J(!1),n=J(),r=J(),s=J();return UE(o=>{r.value=o.message,n.value=o.icon,s.value=o.classes??"text-primary",t.value=!0,setTimeout(()=>{t.value=!1},o.duration??1500)}),(o,i)=>(Q(),ye("div",{fixed:"","left-0":"","right-0":"","top-0":"","z-999":"","text-center":"",class:ot(U(t)?"":"pointer-events-none overflow-hidden")},[Z("div",{border:"~ base",flex:"~ inline gap2","m-3":"","inline-block":"","items-center":"",rounded:"","px-4":"","py-1":"","transition-all":"","duration-300":"","bg-base":"",style:hn(U(t)?{}:{transform:"translateY(-300%)"}),class:ot([U(t)?"shadow":"shadow-none",U(s)])},[U(n)?(Q(),ye("div",{key:0,class:ot(U(n))},null,2)):Xe("",!0),Z("div",null,wt(U(r)),1)],6)],2))}}),is=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},O$={},I$={class:"n-loading n-panel-grids-center"},L$={class:"flex flex-col animate-pulse items-center text-lg"},M$=Z("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function D$(e,t){return Q(),ye("div",I$,[Z("div",L$,[M$,rt(e.$slots,"default",{},()=>[Le(" Loading... ")])])])}const F$=is(O$,[["render",D$]]),Po=Te({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(Q(),ye("div",{class:ot(["n-icon",t.icon])},null,2))}}),br=Te({__name:"NButton",props:{to:{},icon:{}},setup(e){return(t,n)=>{const r=Po;return Q(),Se(fr(t.to?U(Yi):"button"),yn({to:t.to},t.$attrs,{class:"n-button n-button-base active:n-button-active focus-visible:n-focus-base n-transition hover:n-button-hover n-disabled:n-disabled"}),{default:pe(()=>[rt(t.$slots,"icon",{},()=>[t.icon?(Q(),Se(r,{key:0,icon:t.icon,class:"n-button-icon"},null,8,["icon"])):Xe("",!0)]),rt(t.$slots,"default")]),_:3},16,["to"])}}}),B$=Te({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=J(!1);return En(()=>{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 ye(a,n,i)}}}),j$={name:xP,props:{placeholder:String,tag:{type:String,default:"span"}}};function z$(e,t,n,r,s,o){const i=B$;return Q(),Se(i,{placeholder:n.placeholder,"placeholder-tag":n.tag},{default:pe(()=>[rt(e.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const H$=is(j$,[["render",z$]]),U$=Te({__name:"NDarkToggle",setup(e){const t=ra(),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=H$;return Q(),Se(l,{tag:"span"},{default:pe(()=>[rt(i.$slots,"default",Jl(Vi(o)))]),_:3})}}}),V$={},W$={class:"n-card n-card-base"};function G$(e,t){return Q(),ye("div",W$,[rt(e.$slots,"default")])}const Qc=is(V$,[["render",G$]]);/*!
20
+ * tabbable 6.2.0
21
+ * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
22
+ */var xg=["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])"],Ri=xg.join(","),Sg=typeof Element>"u",mr=Sg?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ai=!Sg&&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},Ni=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},q$=function(t){var n,r=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return r===""||r==="true"},Cg=function(t,n,r){if(Ni(t))return[];var s=Array.prototype.slice.apply(t.querySelectorAll(Ri));return n&&mr.call(t,Ri)&&s.unshift(t),s=s.filter(r),s},Tg=function e(t,n,r){for(var s=[],o=Array.from(t);o.length;){var i=o.shift();if(!Ni(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=mr.call(i,Ri);u&&r.filter(i)&&(n||!t.includes(i))&&s.push(i);var f=i.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(i),d=!Ni(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},kg=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},er=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||q$(t))&&!kg(t)?0:t.tabIndex},K$=function(t,n){var r=er(t);return r<0&&n&&!kg(t)?0:r},X$=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},Pg=function(t){return t.tagName==="INPUT"},Y$=function(t){return Pg(t)&&t.type==="hidden"},J$=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},Q$=function(t,n){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===n)return t[r]},Z$=function(t){if(!t.name)return!0;var n=t.form||Ai(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=Q$(s,t.form);return!o||o===t},eR=function(t){return Pg(t)&&t.type==="radio"},tR=function(t){return eR(t)&&!Z$(t)},nR=function(t){var n,r=t&&Ai(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=Ai(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},Ud=function(t){var n=t.getBoundingClientRect(),r=n.width,s=n.height;return r===0&&s===0},rR=function(t,n){var r=n.displayCheck,s=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var o=mr.call(t,"details>summary:first-of-type"),i=o?t.parentElement:t;if(mr.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=Ai(t);if(l&&!l.shadowRoot&&s(l)===!0)return Ud(t);t.assignedSlot?t=t.assignedSlot:!l&&c!==t.ownerDocument?t=c.host:t=l}t=a}if(nR(t))return!t.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return Ud(t);return!1},sR=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 mr.call(n,"fieldset[disabled] *")?!0:!s.contains(t)}return!0}n=n.parentElement}return!1},Oi=function(t,n){return!(n.disabled||Ni(n)||Y$(n)||rR(n,t)||J$(n)||sR(n))},Ml=function(t,n){return!(tR(n)||er(n)<0||!Oi(t,n))},oR=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},iR=function e(t){var n=[],r=[];return t.forEach(function(s,o){var i=!!s.scopeParent,a=i?s.scopeParent:s,l=K$(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(X$).reduce(function(s,o){return o.isScope?s.push.apply(s,o.content):s.push(o.content),s},[]).concat(n)},aR=function(t,n){n=n||{};var r;return n.getShadowRoot?r=Tg([t],n.includeContainer,{filter:Ml.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:oR}):r=Cg(t,n.includeContainer,Ml.bind(null,n)),iR(r)},lR=function(t,n){n=n||{};var r;return n.getShadowRoot?r=Tg([t],n.includeContainer,{filter:Oi.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):r=Cg(t,n.includeContainer,Oi.bind(null,n)),r},Cr=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return mr.call(t,Ri)===!1?!1:Ml(n,t)},cR=xg.concat("iframe").join(","),qa=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return mr.call(t,cR)===!1?!1:Oi(n,t)};/*!
23
+ * focus-trap 7.5.2
24
+ * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
25
+ */function Vd(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 Wd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Vd(Object(n),!0).forEach(function(r){uR(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vd(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function uR(e,t,n){return t=dR(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fR(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 dR(e){var t=fR(e,"string");return typeof t=="symbol"?t:String(t)}var Gd={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()}},hR=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},pR=function(t){return t?.key==="Escape"||t?.key==="Esc"||t?.keyCode===27},eo=function(t){return t?.key==="Tab"||t?.keyCode===9},mR=function(t){return eo(t)&&!t.shiftKey},gR=function(t){return eo(t)&&t.shiftKey},qd=function(t){return setTimeout(t,0)},Kd=function(t,n){var r=-1;return t.every(function(s,o){return n(s)?(r=o,!1):!0}),r},Ds=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},Zo=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},vR=[],yR=function(t,n){var r=n?.document||document,s=n?.trapStack||vR,o=Wd({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:mR,isKeyBackward:gR},n),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},a,l=function(S,T,$){return S&&S[T]!==void 0?S[T]:o[$||T]},c=function(S,T){var $=typeof T?.composedPath=="function"?T.composedPath():void 0;return i.containerGroups.findIndex(function(R){var L=R.container,I=R.tabbableNodes;return L.contains(S)||$?.includes(L)||I.find(function(D){return D===S})})},u=function(S){var T=o[S];if(typeof T=="function"){for(var $=arguments.length,R=new Array($>1?$-1:0),L=1;L<$;L++)R[L-1]=arguments[L];T=T.apply(void 0,R)}if(T===!0&&(T=void 0),!T){if(T===void 0||T===!1)return T;throw new Error("`".concat(S,"` was specified but was not a node, or did not return a node"))}var I=T;if(typeof T=="string"&&(I=r.querySelector(T),!I))throw new Error("`".concat(S,"` as selector refers to no known node"));return I},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 T=i.tabbableGroups[0],$=T&&T.firstTabbableNode;S=$||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 T=aR(S,o.tabbableOptions),$=lR(S,o.tabbableOptions),R=T.length>0?T[0]:void 0,L=T.length>0?T[T.length-1]:void 0,I=$.find(function(H){return Cr(H)}),D=$.slice().reverse().find(function(H){return Cr(H)}),F=!!T.find(function(H){return er(H)>0});return{container:S,tabbableNodes:T,focusableNodes:$,posTabIndexesFound:F,firstTabbableNode:R,lastTabbableNode:L,firstDomTabbableNode:I,lastDomTabbableNode:D,nextTabbableNode:function(ne){var re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,se=T.indexOf(ne);return se<0?re?$.slice($.indexOf(ne)+1).find(function(he){return Cr(he)}):$.slice(0,$.indexOf(ne)).reverse().find(function(he){return Cr(he)}):T[se+(re?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,hR(S)&&S.select()}},h=function(S){var T=u("setReturnFocus",S);return T||(T===!1?!1:S)},m=function(S){var T=S.target,$=S.event,R=S.isBackward,L=R===void 0?!1:R;T=T||Zo($),d();var I=null;if(i.tabbableGroups.length>0){var D=c(T,$),F=D>=0?i.containerGroups[D]:void 0;if(D<0)L?I=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:I=i.tabbableGroups[0].firstTabbableNode;else if(L){var H=Kd(i.tabbableGroups,function(Ee){var Re=Ee.firstTabbableNode;return T===Re});if(H<0&&(F.container===T||qa(T,o.tabbableOptions)&&!Cr(T,o.tabbableOptions)&&!F.nextTabbableNode(T,!1))&&(H=D),H>=0){var ne=H===0?i.tabbableGroups.length-1:H-1,re=i.tabbableGroups[ne];I=er(T)>=0?re.lastTabbableNode:re.lastDomTabbableNode}else eo($)||(I=F.nextTabbableNode(T,!1))}else{var se=Kd(i.tabbableGroups,function(Ee){var Re=Ee.lastTabbableNode;return T===Re});if(se<0&&(F.container===T||qa(T,o.tabbableOptions)&&!Cr(T,o.tabbableOptions)&&!F.nextTabbableNode(T))&&(se=D),se>=0){var he=se===i.tabbableGroups.length-1?0:se+1,fe=i.tabbableGroups[he];I=er(T)>=0?fe.firstTabbableNode:fe.firstDomTabbableNode}else eo($)||(I=F.nextTabbableNode(T))}}else I=u("fallbackFocus");return I},_=function(S){var T=Zo(S);if(!(c(T,S)>=0)){if(Ds(o.clickOutsideDeactivates,S)){a.deactivate({returnFocus:o.returnFocusOnDeactivate});return}Ds(o.allowOutsideClick,S)||S.preventDefault()}},y=function(S){var T=Zo(S),$=c(T,S)>=0;if($||T instanceof Document)$&&(i.mostRecentlyFocusedNode=T);else{S.stopImmediatePropagation();var R,L=!0;if(i.mostRecentlyFocusedNode)if(er(i.mostRecentlyFocusedNode)>0){var I=c(i.mostRecentlyFocusedNode),D=i.containerGroups[I].tabbableNodes;if(D.length>0){var F=D.findIndex(function(H){return H===i.mostRecentlyFocusedNode});F>=0&&(o.isKeyForward(i.recentNavEvent)?F+1<D.length&&(R=D[F+1],L=!1):F-1>=0&&(R=D[F-1],L=!1))}}else i.containerGroups.some(function(H){return H.tabbableNodes.some(function(ne){return er(ne)>0})})||(L=!1);else L=!1;L&&(R=m({target:i.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(i.recentNavEvent)})),p(R||i.mostRecentlyFocusedNode||f())}i.recentNavEvent=void 0},v=function(S){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=S;var $=m({event:S,isBackward:T});$&&(eo(S)&&S.preventDefault(),p($))},w=function(S){if(pR(S)&&Ds(o.escapeDeactivates,S)!==!1){S.preventDefault(),a.deactivate();return}(o.isKeyForward(S)||o.isKeyBackward(S))&&v(S,o.isKeyBackward(S))},b=function(S){var T=Zo(S);c(T,S)>=0||Ds(o.clickOutsideDeactivates,S)||Ds(o.allowOutsideClick,S)||(S.preventDefault(),S.stopImmediatePropagation())},C=function(){if(i.active)return Gd.activateTrap(s,a),i.delayInitialFocusTimer=o.delayInitialFocus?qd(function(){p(f())}):p(f()),r.addEventListener("focusin",y,!0),r.addEventListener("mousedown",_,{capture:!0,passive:!1}),r.addEventListener("touchstart",_,{capture:!0,passive:!1}),r.addEventListener("click",b,{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",_,!0),r.removeEventListener("touchstart",_,!0),r.removeEventListener("click",b,!0),r.removeEventListener("keydown",w,!0),a},P=function(S){var T=S.some(function($){var R=Array.from($.removedNodes);return R.some(function(L){return L===i.mostRecentlyFocusedNode})});T&&p(f())},x=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(P):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 T=l(S,"onActivate"),$=l(S,"onPostActivate"),R=l(S,"checkCanFocusTrap");R||d(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,T?.();var L=function(){R&&d(),C(),E(),$?.()};return R?(R(i.containers.concat()).then(L,L),this):(L(),this)},deactivate:function(S){if(!i.active)return this;var T=Wd({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(),Gd.deactivateTrap(s,a);var $=l(T,"onDeactivate"),R=l(T,"onPostDeactivate"),L=l(T,"checkCanReturnFocus"),I=l(T,"returnFocus","returnFocusOnDeactivate");$?.();var D=function(){qd(function(){I&&p(h(i.nodeFocusedBeforeActivation)),R?.()})};return I&&L?(L(h(i.nodeFocusedBeforeActivation)).then(D,D),this):(D(),this)},pause:function(S){if(i.paused||!i.active)return this;var T=l(S,"onPause"),$=l(S,"onPostPause");return i.paused=!0,T?.(),g(),E(),$?.(),this},unpause:function(S){if(!i.paused||!i.active)return this;var T=l(S,"onUnpause"),$=l(S,"onPostUnpause");return i.paused=!1,T?.(),d(),C(),E(),$?.(),this},updateContainerElements:function(S){var T=[].concat(S).filter(Boolean);return i.containers=T.map(function($){return typeof $=="string"?r.querySelector($):$}),i.active&&d(),E(),this}},a.updateContainerElements(t),a};function _R(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 ze(()=>Et(e),f=>{f&&(n=yR(f,{...s,onActivate(){o.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){o.value=!1,t.onDeactivate&&t.onDeactivate()}}),r&&a())},{flush:"post"}),_n(()=>l()),{hasFocus:o,isPaused:i,activate:a,deactivate:l,pause:c,unpause:u}}const bR={inheritAttrs:!1},da=Te({...bR,__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=am(n,"modelValue",t,{passive:!0}),s=J(null),o=J(!1),{activate:i,deactivate:a}=_R(ge(()=>s.value||document.body),{immediate:!1});return Fr(()=>{!o.value&&r.value&&(o.value=!0),r.value&&s.value?xt(i):a()}),Nc(s,()=>{n.modelValue&&n.autoClose&&(r.value=!1,t("close"))},{ignore:["a","button","summary"]}),(l,c)=>{const u=Qc;return o.value?(Q(),Se(tp,{key:0,to:"body"},[hi(Z("div",{class:ot(["n-dialog fixed inset-0 z-100 flex items-center justify-center n-transition",[U(r)?"":"op0 pointer-events-none visibility-none"]]),role:"dialog","aria-modal":"true"},[Z("div",{class:ot(["absolute inset-0 -z-1",[l.dim?"glass-effect":""]])},null,2),Y(u,yn(l.$attrs,{ref_key:"card",ref:s,class:"max-h-screen of-auto"}),{default:pe(()=>[rt(l.$slots,"default")]),_:3},16)],2),[[cl,U(r)]])])):Xe("",!0)}}});function wR(){return Ji("virtual-files:current","")}function tO(){return Ji("terminals:current","")}function nO(){return Ji("server-routes:current","")}function rO(){const e=nP(),t=sP(),n=it(),r=wR();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 Me.openInEditor(s)}}function ER(){const e=Zw();return t=>{e.copy(t),Lc({message:"Copied to clipboard",icon:"carbon-checkmark"})}}const xR=Z("div",{"carbon-launch":""},null,-1),SR=Z("div",{"carbon-launch":""},null,-1),CR=Z("span",{"mt-0.5":"","text-xs":"",op50:""},"(not supported)",-1),TR=Z("h1",{"text-3xl":""}," Popup is not Supported ",-1),kR=Z("p",null,[Le(" To popup the DevTools, it requires the "),Z("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),PR=Z("p",null,[Le(" As June 2023, the API is only available in Chrome 111 and above, under a flag "),Z("code",null,"#document-picture-in-picture-api"),Le(". ")],-1),$R=Te({__name:"PictureInPictureButton",setup(e){const t=ut(),n=window.__NUXT_DEVTOOLS_IS_POPUP__,r=J(!1),s=ER();return(o,i)=>{const a=br,l=da;return U(n)?Xe("",!0):(Q(),ye(Ie,{key:0},[U(t)?.popup?(Q(),Se(a,{key:0,n:"sm primary",onClick:i[0]||(i[0]=c=>U(t).popup())},{default:pe(()=>[xR,Le(" Popup ")]),_:1})):(Q(),ye(Ie,{key:1},[Y(a,{n:"sm primary",onClick:i[1]||(i[1]=c=>r.value=!0)},{default:pe(()=>[SR,Le(" Popup "),CR]),_:1}),Y(l,{modelValue:U(r),"onUpdate:modelValue":i[4]||(i[4]=c=>Be(r)?r.value=c:null),class:"max-w-150 p6 pt-2 prose",onClose:i[5]||(i[5]=c=>r.value=!1)},{default:pe(()=>[TR,kR,PR,Z("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 "),Y(a,{n:"xs primary",title:"Click to Copy",onClick:i[2]||(i[2]=c=>U(s)("chrome://flags/#document-picture-in-picture-api"))},{default:pe(()=>[Le(" chrome://flags/#document-picture-in-picture-api ")]),_:1}),Le(" and restart the browser. ")]),Z("div",null,[Y(a,{onClick:i[3]||(i[3]=c=>r.value=!1)},{default:pe(()=>[Le(" Close ")]),_:1})])]),_:1},8,["modelValue"])],64))],64))}}}),RR={px3:"",py2:"",border:"b base",flex:"~ gap-2"},AR=Z("div",{"carbon-sun":"","dark:carbon-moon":"","translate-y--1px":""},null,-1),NR=Z("div",{"i-carbon-settings-adjust":""},null,-1),OR={px3:"",py2:"",border:"b base",flex:"~ gap-2"},IR=Z("div",{"i-carbon-split-screen":""},null,-1),LR={px3:"",py2:"",flex:"~ gap2"},MR=Te({__name:"DockingPanel",setup(e){const t=ut(),n=De();function r(){n.hooks.callHookParallel("app:data:refresh",Object.keys(n.payload.data)),Ch(t)}function s(){location.reload()}function o(){On.value=!On.value}return(i,a)=>{const l=br,c=U$,u=$R;return Q(),ye("div",null,[Z("div",RR,[Y(c,null,{default:pe(({toggle:f,isDark:d})=>[Y(l,{n:"sm primary",onClick:f},{default:pe(()=>[AR,Le(" "+wt(d.value?"Dark":"Light"),1)]),_:2},1032,["onClick"])]),_:1}),Y(l,{n:"sm primary",to:"/settings"},{default:pe(()=>[NR,Le(" Settings ")]),_:1})]),Z("div",OR,[("splitScreenAvailable"in i?i.splitScreenAvailable:U(Rl))?(Q(),Se(l,{key:0,n:"sm primary",onClick:o},{default:pe(()=>[IR,Le(" "+wt(("splitScreenEnabled"in i?i.splitScreenEnabled:U(On))?"Close Split Screen":"Split Screen"),1)]),_:1})):Xe("",!0),Y(u)]),Z("div",LR,[Y(l,{n:"primary sm",onClick:r},{default:pe(()=>[Le(" Refetch Data ")]),_:1}),Y(l,{n:"primary sm",onClick:s},{default:pe(()=>[Le(" Refresh Page ")]),_:1})])])}}}),DR=["src","alt"],FR=["title"],ha=Te({__name:"TabIcon",props:{icon:{},title:{},showTitle:{type:Boolean,default:!0}},setup(e){return(t,n)=>t.icon&&(t.icon.startsWith("/")||t.icon.match(/^https?:/))?(Q(),ye("img",yn({key:0,style:{width:"1em",height:"1em"}},t.$attrs,{src:t.icon,alt:t.title}),null,16,DR)):(Q(),ye("div",yn({key:1,style:{width:"1em",height:"1em"}},t.$attrs,{class:t.icon||"carbon-bring-forward",title:t.showTitle?t.title:void 0}),null,16,FR))}}),BR={"translate-y-0.5px":""},jR={key:0,hidden:"","lg:block":""},$g=Te({__name:"SideNavItem",props:{tab:{},target:{default:"main"}},setup(e){const t=e,n=So(),r=ge(()=>"badge"in t.tab&&t.tab.badge?.()),s=ge(()=>"path"in t.tab?t.tab.path:`/modules/custom-${t.tab.name}`),o=ge(()=>n.path.startsWith(s.value));function i(){"onClick"in t.tab&&t.tab.onClick?t.tab.onClick():t.target==="side"&&(Jm.value=t.tab.name)}return(a,l)=>{const c=ha,u=gn("VTooltip");return Q(),Se(u,{placement:"right"},{popper:pe(()=>[Z("div",null,wt(a.tab.title),1),"extraTabVNode"in a.tab&&a.tab.extraTabVNode?(Q(),ye("div",jR,[(Q(),Se(fr(a.tab.extraTabVNode)))])):Xe("",!0)]),default:pe(()=>[(Q(),Se(fr(a.target==="main"?U(Yi):"button"),{to:U(s),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:i},{default:pe(()=>[Y(c,{"text-xl":"",icon:a.tab.icon,title:a.tab.title,"show-title":!1},null,8,["icon","title"]),U(r)?(Q(),ye("div",{key:0,absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"","text-white":"",flex:"~ items-center justify-center",class:ot(U(o)?"bg-primary":"bg-gray")},[Z("span",BR,wt(("toValue"in a?a.toValue:U(ac))(U(r))),1)],2)):Xe("",!0)]),_:1},8,["to"]))]),_:1})}}});function zR(){const e=rP(),t=ia(),n=it(),r=ge(()=>[...n.getRoutes().filter(o=>o.path.startsWith("/modules/")&&o.meta.title&&!o.meta.wip).filter(o=>!o.meta.experimental||o.meta.experimental&&t.showExperimentalFeatures.value).sort((o,i)=>(o.meta.order||100)-(i.meta.order||100)).map(o=>({name:o.name,path:o.path,...o.meta})),...(e.value||[]).filter(o=>o.name.startsWith("builtin-"))]),s=ge(()=>(e.value||[]).filter(o=>!o.name.startsWith("builtin-")));return ge(()=>[...r.value,...s.value])}function Rg(){return{pinned:[],app:[],analyze:[],server:[],modules:[],documentation:[],advanced:[]}}function Dl(e){const{pinnedTabs:t}=ia();return ge(()=>{const n=Rg();for(const r of U(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 Zc(){const e=zR(),t=ia(),n=Object.keys(Rg()),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]&&!ac(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 sO(){const e=qm(),t=Ym();return ge(()=>(e.value?.getRoutes()||[]).map(n=>Xm(n,["path","name","meta","props","children"])).map(n=>({...t.value?.find(r=>r.name&&r.name===n.name),...n})))}const HR={flex:"~ col gap-1","max-w-80":"",py1:""},UR={key:0,"h-1px":"",border:"b base"},VR={flex:"~ wrap",px1:""},Ag=Te({__name:"TabsGrid",props:{categories:{},target:{}},setup(e){return(t,n)=>{const r=$g;return Q(),ye("div",HR,[(Q(!0),ye(Ie,null,co(t.categories,([s,o],i)=>(Q(),ye(Ie,{key:s},[o.length?(Q(),ye(Ie,{key:0},[i?(Q(),ye("div",UR)):Xe("",!0),Z("div",VR,[(Q(!0),ye(Ie,null,co(o,a=>(Q(),Se(r,{key:a.name,target:t.target,tab:a},null,8,["target","tab"]))),128))])],64)):Xe("",!0)],64))),128))])}}}),WR={id:"nuxt-devtools-side-nav",border:"r base",flex:"~ col","z-100":"","h-full":"","items-center":"","of-hidden":"","bg-base":""},GR={flex:"~ none col items-center"},qR=["title"],KR=Z("div",{"i-logos-nuxt-icon":"","h-6":"","w-6":""},null,-1),XR=[KR],YR=Z("div",{"h-1px":"","w-8":"",border:"b base"},null,-1),JR={flex:"~ auto col gap-0.5 items-center","of-hidden":"",py1:""},QR={key:0,my1:"","h-1px":"","w-8":"",border:"b base"},ZR=Z("div",{"flex-auto":""},null,-1),eA={flex:"~ none col items-center gap-1",pb1:""},tA={absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"",flex:"~ items-center justify-center",border:"~ base"},nA={"translate-y-0.5px":""},rA=45,sA=Te({__name:"SideNav",setup(e){const t=ut(),n=Zc(),r=J(!1),s=J(!1),o=J(),i=J(),a=J();function l(){r.value=!r.value}function c(){s.value=!s.value}const{height:u}=lm(),f=ge(()=>{const _=u.value-130;return Math.max(0,Math.floor(_/rA))}),d=ge(()=>n.value.slice(0,f.value)),p=ge(()=>n.value.slice(f.value)),h=Dl(d),m=Dl(p);return Nc(o,_=>{i.value&&_.composedPath().includes(i.value)||a.value&&_.composedPath().includes(a.value)||(r.value=!1,s.value=!1)},{detectIframe:!0}),(_,y)=>{const v=MR,w=gn("VDropdown"),b=$g,C=ha,g=Yi;return Q(),ye("div",WR,[Z("div",GR,[Y(w,{placement:"left-start",distance:12,skidding:5,triggers:[],shown:U(r),"auto-hide":!0},{popper:pe(()=>[Y(v,{ref_key:"panel",ref:o},null,512)]),default:pe(()=>[Z("button",{ref_key:"buttonDocking",ref:i,flex:"~",hover:"bg-active",relative:"",my1:"","h-10":"","w-10":"","select-none":"","items-center":"","justify-center":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active",class:ot(U(t)?"":"saturate-0"),title:U(t)?"Nuxt DevTools":"DevTools Client not connected, try open it in iframe mode",onClick:l},XR,10,qR)]),_:1},8,["shown"]),YR]),Z("div",JR,[(Q(!0),ye(Ie,null,co(U(h),([P,x],E)=>(Q(),ye(Ie,{key:P},[x.length?(Q(),ye(Ie,{key:0},[E?(Q(),ye("div",QR)):Xe("",!0),(Q(!0),ye(Ie,null,co(x,k=>(Q(),Se(b,{key:k.name,tab:k},null,8,["tab"]))),128))],64)):Xe("",!0)],64))),128)),ZR]),Z("div",eA,[U(p).length?(Q(),Se(w,{key:0,placement:"left-end",distance:12,triggers:[],shown:U(s),"auto-hide":!0},{popper:pe(()=>[Y(Ag,{categories:U(m),"max-w-80":"",target:"main"},null,8,["categories"])]),default:pe(()=>[Z("button",{ref_key:"buttonMoreTabs",ref:a,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:c},[Y(C,{"text-xl":"",icon:"carbon:overflow-menu-vertical",title:"More tabs","show-title":!1}),Z("div",tA,[Z("span",nA,wt(U(p).length),1)])],512)]),_:1},8,["shown"])):Xe("",!0),Y(g,{to:"/settings",flex:"~ items-center justify-center",hover:"bg-active",relative:"",block:"","h-10":"","w-10":"","select-none":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active"},{default:pe(()=>[Y(C,{"text-xl":"",icon:"i-carbon-settings-adjust",title:"Settings","show-title":!1})]),_:1})])])}}}),oA=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>e.params[n.slice(1)]?.toString()||""),Fl=(e,t)=>{const n=e.route.matched.find(s=>s.components?.default===e.Component.type),r=t??n?.meta.key??(n&&oA(e.route,n));return typeof r=="function"?r(e.route):r},iA=(e,t)=>({default:()=>e?Ye(dy,e===!0?{}:e,t):t}),aA=Te({name:"RouteProvider",props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,r={};for(const s in e.route)Object.defineProperty(r,s,{get:()=>t===e.renderKey?e.route[s]:n[s]});return lr(xo,Qr(r)),()=>Ye(e.vnode,{ref:e.vnodeRef})}}),Ng=(e,t,n)=>(t=t===!0?{}:t,{default:()=>t?Ye(e,t,n):n.default?.()}),lA=Te({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,expose:n}){const r=De(),s=J(),o=dt(xo,null);n({pageRef:s});const i=dt(Dp,null);let a;const l=r.deferHydration();return()=>Ye(Yp,{name:e.name,route:e.route,...t},{default:c=>{const u=fA(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=Fl(c,e.pageKey),p=!!(e.transition??c.route.meta.pageTransition??pl),h=p&&uA([e.transition,c.route.meta.pageTransition,pl,{onAfterLeave:()=>{r.callHook("page:transition:finish",c.Component)}}].filter(Boolean));return a=Ng(Gi,p&&h,iA(e.keepalive??c.route.meta.keepalive??Mb,Ye(fc,{suspensible:!0,onPending:()=>r.callHook("page:start",c.Component),onResolve:()=>{xt(()=>r.callHook("page:finish",c.Component).finally(l))}},{default:()=>Ye(aA,{key:d,vnode:c.Component,route:c.route,renderKey:d,trackRootNodes:p,vnodeRef:s})}))).default(),a}})}});function cA(e){return Array.isArray(e)?e:e?[e]:[]}function uA(e){const t=e.map(n=>({...n,onAfterLeave:cA(n.onAfterLeave)}));return Vb(...t)}function fA(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&&Fl({route:t,Component:n})!==Fl({route:e,Component:n})}const Og=Te({__name:"NIconButton",props:{to:{},icon:{},disabled:{type:Boolean}},setup(e){const t=e;return(n,r)=>{const s=Po;return Q(),Se(fr(n.to?U(Yi):"button"),yn({to:n.to},n.$attrs,{class:["n-transition n-icon-button",{"n-disabled op10!":t.disabled}]}),{default:pe(()=>[Y(s,{icon:t.icon},null,8,["icon"])]),_:1},16,["to","class"])}}}),dA={},hA={class:"n-panel-grids-center"};function pA(e,t){return Q(),ye("div",hA,[rt(e.$slots,"default")])}const Ig=is(dA,[["render",pA]]),mA={"h-full":"","h-screen":"","of-hidden":""},gA={border:"b base",flex:"~ gap1","z-99":"",px4:"",py3:"","navbar-glass":""},vA=Z("div",{"i-carbon-chevron-down":"","text-sm":"",op50:""},null,-1),yA=Z("div",{"flex-auto":""},null,-1),_A={key:0,"of-auto":"",style:{height:"calc(100% - 50px)"}},bA=Z("span",{"text-lg":"",op50:""}," Select a tab to start ",-1),wA=Te({__name:"SplitScreen",setup(e){const t=Zc(),n=rn(),r=So(),s=it(),o=ge(()=>t.value.filter(d=>d.name!==r.name&&d.name!==r.params?.name)),i=Dl(o),a=ge(()=>o.value.find(d=>d.name===Jm.value));ze(()=>a.value,d=>{if(!d)return;const p=s.getRoutes(),h=d&&"path"in d?p.find(_=>_.path===d.path):p.find(_=>_.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 Nc(c,d=>{u.value&&d.composedPath().includes(u.value)||(f.value=!1)},{detectIframe:!0}),(d,p)=>{const h=ha,m=Ag,_=gn("VDropdown"),y=Og,v=Qc,w=br,b=Ig;return Q(),ye("div",mA,[Z("div",gA,[Y(_,{placement:"bottom-start",distance:12,skidding:5,triggers:[],shown:U(f),"auto-hide":!0},{popper:pe(()=>[Y(m,{ref_key:"gridPanel",ref:c,categories:U(i),target:"side"},null,8,["categories"])]),default:pe(()=>[Z("div",{ref_key:"gridPanelButton",ref:u,flex:"~ gap-2 items-center","cursor-pointer":"","select-none":"",onClick:p[0]||(p[0]=C=>f.value=!U(f))},[vA,U(a)?(Q(),ye(Ie,{key:0},[Y(h,{"text-xl":"",icon:U(a).icon,title:U(a).title,"show-title":!1},null,8,["icon","title"]),Z("span",null,wt(U(a).title),1)],64)):(Q(),ye(Ie,{key:1},[Le(" Select a tab ")],64))],512)]),_:1},8,["shown"]),yA,Y(y,{icon:"i-carbon:side-panel-open",title:"Close split screen",onClick:l})]),U(n)&&U(a)?(Q(),ye("div",_A,["view"in U(a)?(Q(),Se(fr(U(n)),{key:U(a).name,name:U(a).name},null,8,["name"])):(Q(),Se(fr(U(n)),{key:`tab-${U(a).name}`}))])):(Q(),Se(b,{key:1},{default:pe(()=>[bA,Y(v,{px4:"",py2:""},{default:pe(()=>[Y(m,{categories:U(i),target:"side"},null,8,["categories"])]),_:1}),Y(w,{n:"sm orange",mt2:"",onClick:l},{default:pe(()=>[Le(" Close Split Screen ")]),_:1})]),_:1}))])}}}),EA={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 Ye("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},xA=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},SA={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 CA(e,t,n,r,s,o){return Q(),ye("div",{class:"splitpanes__pane",onClick:t[0]||(t[0]=i=>o.onPaneClick(i,e._.uid)),style:hn(e.style)},[rt(e.$slots,"default")],4)}const Xd=xA(SA,[["render",CA]]),Yd=30,TA=Te({__name:"PanelLeftRight",props:{storageKey:{},leftSize:{},minSize:{}},setup(e){const t=e,n=hP(),r=t.storageKey,s=r?ge({get:()=>n.value[r]||t.leftSize||Yd,set:o=>{n.value[r]=o}}):J(t.leftSize||Yd);return(o,i)=>(Q(),Se(U(EA),{"h-full":"","of-hidden":"",onResize:i[0]||(i[0]=a=>s.value=a[0].size)},{default:pe(()=>[Y(U(Xd),{border:"r base","h-full":"",class:"of-auto!",size:U(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(),Se(U(Xd),{key:0,relative:"","h-full":"",class:"of-auto!","min-size":o.minSize||10},{default:pe(()=>[rt(o.$slots,"right")]),_:3},8,["min-size"])):Xe("",!0)]),_:3}))}}),kA=Te({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},async setup(e,t){const n=await or[e.name]().then(r=>r.default||r);return()=>Ye(n,e.layoutProps,t.slots)}}),PA=Te({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(e,t){const n=De(),r=dt(xo),s=r===So()?rw():r,o=ge(()=>U(e.name)??s.meta.layout??"default"),i=J();t.expose({layoutRef:i});const a=n.deferHydration();return()=>{const l=o.value&&o.value in or,c=s.meta.layoutTransition??Lb;return Ng(Gi,l&&c,{default:()=>Ye(fc,{suspensible:!0,onResolve:()=>{xt(a)}},{default:()=>Ye($A,{layoutProps:yn(t.attrs,{ref:i}),key:o.value,name:o.value,shouldProvide:!e.name,hasTransition:!!c},t.slots)})}).default()}}}),$A=Te({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){const n=e.name;return e.shouldProvide&&lr(Dp,{isCurrent:r=>n===(r.meta.layout??"default")}),()=>!n||typeof n=="string"&&!(n in or)?t.slots.default?.():Ye(kA,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}),RA={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"},Lg=Te({__name:"NTextInput",props:{modelValue:{default:""},icon:{},placeholder:{},disabled:{type:Boolean},autofocus:{type:Boolean},type:{default:"text"}},setup(e,{emit:t}){const r=am(e,"modelValue",t,{passive:!0});return(s,o)=>{const i=Po;return Q(),ye("div",RA,[rt(s.$slots,"icon",{},()=>[s.icon?(Q(),Se(i,{key:0,icon:s.icon,class:"ml-0.3em mr-0.1em text-1.1em op50"},null,8,["icon"])):Xe("",!0)]),hi(Z("input",yn({"onUpdate:modelValue":o[0]||(o[0]=a=>Be(r)?r.value=a:null)},s.$props,{class:"ml-0.4em w-full flex-auto n-bg-base !outline-none"}),null,16),[[T_,U(r)]])])}}}),Bl=jt(new Map);function AA(){const e=Zc(),t=it(),n=[{id:"fixed:settings",title:"Settings",icon:"carbon-settings-adjust",action:()=>{t.push("/settings")}},{id:"fixed:docs",title:"Nuxt Documentations",icon:"logos-nuxt-icon",action:()=>IA()}],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(Bl.values()).flatMap(s=>ac(s))])}function NA(e){const t=eP();Bl.set(t,e),lo(()=>{Bl.delete(t)})}let Ka;const OA=[[":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 IA(){return Ka||(Ka=(await _e(()=>import("./nuxt-docs.100caa70.js"),[],import.meta.url).then(t=>t.default)).map(t=>({...t,icon:OA.find(([n])=>t.id.includes(n))?.[1]||"i-carbon-document-multiple-01",action:()=>{window.open(t.url,"_blank")}}))),Ka}function bn(e){return Array.isArray?Array.isArray(e):Fg(e)==="[object Array]"}const LA=1/0;function MA(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-LA?"-0":t}function DA(e){return e==null?"":MA(e)}function Qt(e){return typeof e=="string"}function Mg(e){return typeof e=="number"}function FA(e){return e===!0||e===!1||BA(e)&&Fg(e)=="[object Boolean]"}function Dg(e){return typeof e=="object"}function BA(e){return Dg(e)&&e!==null}function bt(e){return e!=null}function Xa(e){return!e.trim().length}function Fg(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const jA="Incorrect 'index' type",zA=e=>`Invalid value for key ${e}`,HA=e=>`Pattern length exceeds max of ${e}.`,UA=e=>`Missing ${e} property in key`,VA=e=>`Property 'weight' in key '${e}' must be a positive integer`,Jd=Object.prototype.hasOwnProperty;class WA{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(r=>{let s=Bg(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 Bg(e){let t=null,n=null,r=null,s=1,o=null;if(Qt(e)||bn(e))r=e,t=Qd(e),n=jl(e);else{if(!Jd.call(e,"name"))throw new Error(UA("name"));const i=e.name;if(r=i,Jd.call(e,"weight")&&(s=e.weight,s<=0))throw new Error(VA(i));t=Qd(i),n=jl(i),o=e.getFn}return{path:t,id:n,weight:s,src:r,getFn:o}}function Qd(e){return bn(e)?e:e.split(".")}function jl(e){return bn(e)?e.join("."):e}function GA(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&&(Qt(c)||Mg(c)||FA(c)))n.push(DA(c));else if(bn(c)){r=!0;for(let u=0,f=c.length;u<f;u+=1)s(c[u],i,a+1)}else i.length&&s(c,i,a+1)}};return s(e,Qt(t)?t.split("."):t,0),r?n:n[0]}const qA={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},KA={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},XA={location:0,threshold:.6,distance:100},YA={useExtendedSearch:!1,getFn:GA,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var we={...KA,...qA,...XA,...YA};const JA=/[^ ]+/g;function QA(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(s){const o=s.match(JA).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 eu{constructor({getFn:t=we.getFn,fieldNormWeight:n=we.fieldNormWeight}={}){this.norm=QA(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,Qt(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();Qt(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(bn(i)){let a=[];const l=[{nestedArrIndex:-1,value:i}];for(;l.length;){const{nestedArrIndex:c,value:u}=l.pop();if(bt(u))if(Qt(u)&&!Xa(u)){let f={v:u,i:c,n:this.norm.get(u)};a.push(f)}else bn(u)&&u.forEach((f,d)=>{l.push({nestedArrIndex:d,value:f})})}r.$[o]=a}else if(Qt(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 eu({getFn:n,fieldNormWeight:r});return s.setKeys(e.map(Bg)),s.setSources(t),s.create(),s}function ZA(e,{getFn:t=we.getFn,fieldNormWeight:n=we.fieldNormWeight}={}){const{keys:r,records:s}=e,o=new eu({getFn:t,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(s),o}function ei(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 eN(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 tr=32;function tN(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>tr)throw new Error(HA(tr));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,_=m?Array(f):[];let y;for(;(y=e.indexOf(t,h))>-1;){let P=ei(t,{currentLocation:y,expectedLocation:d,distance:s,ignoreLocation:c});if(p=Math.min(P,p),h=y+u,m){let x=0;for(;x<u;)_[y+x]=1,x+=1}}h=-1;let v=[],w=1,b=u+f;const C=1<<u-1;for(let P=0;P<u;P+=1){let x=0,E=b;for(;x<E;)ei(t,{errors:P,currentLocation:d+E,expectedLocation:d,distance:s,ignoreLocation:c})<=p?x=E:b=E,E=Math.floor((b-x)/2+x);b=E;let k=Math.max(1,d-E+1),S=i?f:Math.min(d+E,f)+u,T=Array(S+2);T[S+1]=(1<<P)-1;for(let R=S;R>=k;R-=1){let L=R-1,I=n[e.charAt(L)];if(m&&(_[L]=+!!I),T[R]=(T[R+1]<<1|1)&I,P&&(T[R]|=(v[R+1]|v[R])<<1|1|v[R+1]),T[R]&C&&(w=ei(t,{errors:P,currentLocation:L,expectedLocation:d,distance:s,ignoreLocation:c}),w<=p)){if(p=w,h=L,h<=d)break;k=Math.max(1,2*d-h)}}if(ei(t,{errors:P+1,currentLocation:d,expectedLocation:d,distance:s,ignoreLocation:c})>p)break;v=T}const g={isMatch:h>=0,score:Math.max(.001,w)};if(m){const P=eN(_,a);P.length?l&&(g.indices=P):g.isMatch=!1}return g}function nN(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:nN(d),startIndex:p})},f=this.pattern.length;if(f>tr){let d=0;const p=f%tr,h=f-p;for(;d<h;)u(this.pattern.substr(d,tr),d),d+=tr;if(p){const m=f-tr;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:_})=>{const{isMatch:y,score:v,indices:w}=tN(t,h,m,{location:s+_,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 Vn{constructor(t){this.pattern=t}static isMultiMatch(t){return Zd(t,this.multiRegex)}static isSingleMatch(t){return Zd(t,this.singleRegex)}search(){}}function Zd(e,t){const n=e.match(t);return n?n[1]:null}class rN extends Vn{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 sN extends Vn{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 oN extends Vn{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 iN extends Vn{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 aN extends Vn{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 lN extends Vn{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 Hg extends Vn{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 Ug extends Vn{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 zl=[rN,Ug,oN,iN,lN,aN,sN,Hg],eh=zl.length,cN=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,uN="|";function fN(e,t={}){return e.split(uN).map(n=>{let r=n.trim().split(cN).filter(o=>o&&!!o.trim()),s=[];for(let o=0,i=r.length;o<i;o+=1){const a=r[o];let l=!1,c=-1;for(;!l&&++c<eh;){const u=zl[c];let f=u.isMultiMatch(a);f&&(s.push(new u(f,t)),l=!0)}if(!l)for(c=-1;++c<eh;){const u=zl[c];let f=u.isSingleMatch(a);if(f){s.push(new u(f,t));break}}}return s})}const dN=new Set([Hg.type,Ug.type]);class hN{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=fN(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:_}=p.search(t);if(h){if(o+=1,a+=_,r){const y=p.constructor.type;dN.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 Hl=[];function pN(...e){Hl.push(...e)}function Ul(e,t){for(let n=0,r=Hl.length;n<r;n+=1){let s=Hl[n];if(s.condition(e,t))return new s(e,t)}return new zg(e,t)}const Ii={AND:"$and",OR:"$or"},Vl={PATH:"$path",PATTERN:"$val"},Wl=e=>!!(e[Ii.AND]||e[Ii.OR]),mN=e=>!!e[Vl.PATH],gN=e=>!bn(e)&&Dg(e)&&!Wl(e),th=e=>({[Ii.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function Vg(e,t,{auto:n=!0}={}){const r=s=>{let o=Object.keys(s);const i=mN(s);if(!i&&o.length>1&&!Wl(s))return r(th(s));if(gN(s)){const l=i?s[Vl.PATH]:o[0],c=i?s[Vl.PATTERN]:s[l];if(!Qt(c))throw new Error(zA(l));const u={keyId:jl(l),pattern:c};return n&&(u.searcher=Ul(c,t)),u}let a={children:[],operator:o[0]};return o.forEach(l=>{const c=s[l];bn(c)&&c.forEach(u=>{a.children.push(r(u))})}),a};return Wl(e)||(e=th(e)),r(e)}function vN(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 yN(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 _N(e,t){t.score=e.score}function bN(e,t,{includeMatches:n=we.includeMatches,includeScore:r=we.includeScore}={}){const s=[];return n&&s.push(yN),r&&s.push(_N),e.map(o=>{const{idx:i}=o,a={item:t[i],refIndex:i};return s.length&&s.forEach(l=>{l(o,a)}),a})}class as{constructor(t,n={},r){this.options={...we,...n},this.options.useExtendedSearch,this._keyStore=new WA(this.options.keys),this.setCollection(t,r)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof eu))throw new Error(jA);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=Qt(t)?Qt(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return vN(l,{ignoreFieldNorm:a}),o&&l.sort(i),Mg(n)&&n>-1&&(l=l.slice(0,n)),bN(l,this._docs,{includeMatches:r,includeScore:s})}_searchStringList(t){const n=Ul(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=Vg(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===Ii.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=Ul(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(bn(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}}as.version="6.6.2";as.createIndex=jg;as.parseIndex=ZA;as.config=we;as.parseQuery=Vg;pN(hN);const wN={"h-full":"",flex:"~ col"},EN={border:"b base","flex-none":""},xN={"flex-auto":"","of-auto":"",p2:"",flex:"~ col"},SN=["id","onClick","onMouseover"],CN={flex:"","flex-auto":"","items-center":"",gap2:"","of-hidden":""},TN={"ws-nowrap":""},kN={"of-hidden":"",truncate:"","ws-nowrap":"","text-sm":"",op50:""},PN={key:0,"h-full":"",flex:"","items-center":"","justify-center":"","gap-2":"","text-xl":""},$N=Z("span",{op50:""},"No results for",-1),RN={"text-primary":""},AN={border:"t base",flex:"~ none justify-between items-center gap-4","pointer-events-none":"",px4:"",py2:""},NN={"text-xs":"",flex:"~ items-center gap2"},ON=Z("span",{op75:""},"to navigate",-1),IN={"text-xs":"",flex:"~ items-center gap2"},LN={op75:""},MN={"text-xs":"",flex:"~ items-center gap2"},DN=Z("span",{op75:""},"to select",-1),FN=Te({__name:"CommandPalette",setup(e){const t=J(!1),n=J(""),r=AA(),s=J(),o=ge(()=>s.value||r.value),i=ge(()=>new as(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);ze(n,()=>{l.value=0,u()});function c(p){l.value=(l.value+p+a.value.length)%a.value.length,u()}function u(){document.getElementById(a.value[l.value]?.id)?.scrollIntoView({block:"center"})}async function f(p){const h=await p.action();h?(s.value=h,n.value=""):(s.value=void 0,n.value="",t.value=!1)}Bt("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=Lg,_=ha,y=Po,v=br,w=da;return Q(),Se(w,{modelValue:U(t),"onUpdate:modelValue":h[1]||(h[1]=b=>Be(t)?t.value=b:null),relative:"","h-md":"","w-xl":"","of-hidden":""},{default:pe(()=>[Z("div",wN,[Z("header",EN,[Y(m,{modelValue:U(n),"onUpdate:modelValue":h[0]||(h[0]=b=>Be(n)?n.value=b:null),placeholder:"Type to search...",class:"rounded-none py3 px2! ring-0!",n:"green borderless",onKeydown:d},null,8,["modelValue"])]),Z("div",xN,[(Q(!0),ye(Ie,null,co(U(a),(b,C)=>(Q(),ye("button",{id:b.id,key:b.id,onClick:g=>f(b),onMouseover:g=>l.value=C},[Z("div",{flex:"~ gap-2 items-center justify-between",rounded:"",px3:"",py2:"",class:ot(U(l)===C?"op100 bg-primary/10 text-primary saturate-100 bg-active":"op80")},[Y(_,{icon:b.icon,title:b.title,"flex-none":"","text-xl":""},null,8,["icon","title"]),Z("span",CN,[Z("span",TN,wt(b.title),1),Z("span",kN,wt(b.description),1)]),U(l)===C?(Q(),Se(y,{key:0,icon:"i-carbon-text-new-line scale-x--100","flex-none":""})):Xe("",!0)],2)],40,SN))),128)),U(a).length?Xe("",!0):(Q(),ye("div",PN,[Y(y,{op50:"",icon:"carbon-search"}),Z("div",null,[$N,Z("strong",RN,' "'+wt(U(n))+'" ',1)])]))]),Z("footer",AN,[Z("div",NN,[Y(v,{n:"xs",px1:""},{default:pe(()=>[Y(y,{icon:"carbon-arrow-down"})]),_:1}),Y(v,{n:"xs",px1:""},{default:pe(()=>[Y(y,{icon:"carbon-arrow-up"})]),_:1}),ON]),Z("div",IN,[Y(v,{n:"xs",px1:""},{default:pe(()=>[Le(" Esc ")]),_:1}),Z("span",LN,"to "+wt(U(s)?"go back":"close"),1)]),Z("div",MN,[Y(v,{n:"xs",px1:""},{default:pe(()=>[Y(y,{icon:"i-carbon-text-new-line scale-x--100"})]),_:1}),DN])])])]),_:1},8,["modelValue"])}}}),BN=Z("h3",{class:"mb2 text-lg font-medium leading-6",flex:"~ items-center gap-1","text-orange":""},[Z("span",{class:"i-carbon-information-square"}),Le(" Permissions required ")],-1),jN=Z("p",null," This operation requires permissions for running command and access files from the browser. ",-1),zN=Z("p",null,[Le(" A request is sent to the server."),Z("br"),Le(" Please check your terminal for the instructions and then come back. ")],-1),HN={flex:"~ gap-3",mt5:"","justify-between":""},UN=["onSubmit"],VN=Z("p",{absolute:"","left-1":"","top--5":"","text-xs":"","op-50":""}," Or you can manually paste the token below: ",-1),WN={flex:"~ gap-2"},GN=Te({__name:"AuthRequiredPanel",setup(e){En(async()=>{kt.value||Tt.value&&await Me.verifyAuthToken(Tt.value)&&(kt.value=!0),kt.value||Me.requestForAuth()});const t=J(""),n=J(!1);async function r(){const s=t.value.trim();n.value=!1,await Me.verifyAuthToken(s).then(o=>{o?(kt.value=!0,qE(s)):n.value=!0})}return(s,o)=>{const i=Lg,a=Og,l=br,c=Qc,u=Ig;return("isDevAuthed"in s?s.isDevAuthed:U(kt))?rt(s.$slots,"default",{key:1}):(Q(),Se(u,{key:0},{default:pe(()=>[Y(c,{flex:"~ col gap-2",mxa:"",p6:""},{default:pe(()=>[BN,jN,zN,Z("div",HN,[Z("form",{relative:"",flex:"~ inline gap-2 items-center",onSubmit:R_(r,["prevent"])},[VN,Y(i,{modelValue:U(t),"onUpdate:modelValue":o[0]||(o[0]=f=>Be(t)?t.value=f:null),placeholder:"Enter token here",n:U(n)?"red":void 0,onKeydown:vp(r,["enter"])},null,8,["modelValue","n","onKeydown"]),Y(a,{border:"~ base",hover:"border-primary text-green","p3.8":"",icon:"i-carbon-arrow-right",onClick:r})],40,UN),Z("div",WN,[rt(s.$slots,"actions"),Y(l,{disabled:"",icon:"i-carbon-time"},{default:pe(()=>[Le(" Waiting for authorization... ")]),_:1})])])]),_:3})]),_:3}))}}}),qN=Te({__name:"AuthConfirmDialog",setup(e){return(t,n)=>{const r=br,s=GN,o=da;return Q(),Se(U(vm),null,{default:pe(({resolve:i})=>[Y(o,{"model-value":!("isDevAuthed"in t?t.isDevAuthed:U(kt)),class:"border-none",onClose:a=>i(!1)},{default:pe(()=>[Y(s,null,{actions:pe(()=>[Y(r,{onClick:a=>i(!1)},{default:pe(()=>[Le(" Cancel ")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1032,["model-value","onClose"])]),_:1})}}}),KN={},XN={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"},YN=Z("path",{d:"M74.2283 119.873H123.414C124.977 119.874 126.511 119.475 127.864 118.717C129.217 117.959 130.341 116.869 131.121 115.557C131.902 114.244 132.313 112.755 132.312 111.24C132.312 109.725 131.899 108.236 131.118 106.924L98.0856 51.4278C97.3048 50.1156 96.1817 49.0259 94.829 48.2683C93.4764 47.5107 91.942 47.1118 90.38 47.1118C88.8181 47.1118 87.2836 47.5107 85.931 48.2683C84.5784 49.0259 83.4552 50.1156 82.6745 51.4278L74.2283 65.6274L57.7148 37.8605C56.9334 36.5484 55.8097 35.4589 54.4567 34.7014C53.1037 33.9439 51.569 33.5451 50.0068 33.5451C48.4446 33.5451 46.9099 33.9439 45.5569 34.7014C44.2039 35.4589 43.0803 36.5484 42.2989 37.8605L1.1947 106.924C0.41273 108.236 0.000680577 109.725 8.42355e-07 111.24C-0.000678893 112.755 0.410035 114.244 1.19083 115.557C1.97163 116.869 3.09498 117.959 4.44789 118.717C5.80081 119.475 7.33558 119.874 8.89785 119.873H39.7727C52.0057 119.873 61.0271 114.661 67.2346 104.493L82.3054 79.1761L90.3776 65.6274L114.604 106.325H82.3054L74.2283 119.873ZM39.2694 106.311L17.7227 106.306L50.0212 52.0462L66.1369 79.1761L55.3468 97.3092C51.2244 103.907 46.5411 106.311 39.2694 106.311Z",fill:"#00DC82"},null,-1),JN=Z("path",{d:"M152.571 118V46.1333H176.8C183.576 46.1333 189.77 47.468 195.383 50.1373C200.995 52.8067 205.478 56.8449 208.832 62.252C212.186 67.5907 213.863 74.1956 213.863 82.0667C213.863 89.8693 212.186 96.4742 208.832 101.881C205.478 107.288 200.995 111.327 195.383 113.996C189.77 116.665 183.576 118 176.8 118H152.571ZM175.157 104.653C181.796 104.653 187.306 102.874 191.687 99.3147C196.067 95.6871 198.257 89.9378 198.257 82.0667C198.257 74.1956 196.067 68.4462 191.687 64.8187C187.306 61.1911 181.796 59.3773 175.157 59.3773H167.971V104.653H175.157ZM270.18 100.444C269.153 105.988 266.381 110.437 261.864 113.791C257.347 117.144 251.905 118.821 245.54 118.821C239.928 118.821 235.102 117.555 231.064 115.023C227.094 112.422 224.083 109.068 222.029 104.961C219.976 100.855 218.949 96.5427 218.949 92.0253C218.949 87.4396 219.873 83.1276 221.721 79.0893C223.638 75.0511 226.513 71.7658 230.345 69.2333C234.247 66.7009 238.969 65.4347 244.513 65.4347C250.263 65.4347 255.054 66.6667 258.887 69.1307C262.72 71.5947 265.526 74.7431 267.305 78.576C269.153 82.4089 270.077 86.4471 270.077 90.6907C270.077 92.2649 270.009 93.8049 269.872 95.3107H232.707C233.254 99.0067 234.623 101.916 236.813 104.037C239.072 106.091 241.981 107.117 245.54 107.117C248.415 107.117 250.776 106.57 252.624 105.475C254.472 104.311 255.67 102.634 256.217 100.444H270.18ZM244.513 75.9067C241.228 75.9067 238.627 76.7622 236.711 78.4733C234.794 80.116 233.528 82.7169 232.912 86.276H255.807C255.601 83.2644 254.506 80.8004 252.521 78.884C250.537 76.8991 247.867 75.9067 244.513 75.9067ZM302.77 118H289.629L270.738 66.256H285.317L296.2 99.7253L306.98 66.256H321.661L302.77 118ZM359.731 118H344.331V59.3773H323.079V46.1333H380.983V59.3773H359.731V118ZM402.364 118.821C397.163 118.821 392.474 117.692 388.299 115.433C384.124 113.106 380.873 109.924 378.546 105.885C376.219 101.779 375.055 97.1929 375.055 92.128C375.055 87.0631 376.219 82.5116 378.546 78.4733C380.873 74.3667 384.124 71.184 388.299 68.9253C392.474 66.5982 397.163 65.4347 402.364 65.4347C407.566 65.4347 412.255 66.5982 416.43 68.9253C420.605 71.184 423.856 74.3667 426.183 78.4733C428.51 82.5116 429.674 87.0631 429.674 92.128C429.674 97.1929 428.51 101.779 426.183 105.885C423.856 109.924 420.605 113.106 416.43 115.433C412.255 117.692 407.566 118.821 402.364 118.821ZM402.364 106.501C406.197 106.501 409.311 105.167 411.707 102.497C414.103 99.828 415.3 96.3716 415.3 92.128C415.3 87.816 414.103 84.3253 411.707 81.656C409.311 78.9867 406.197 77.652 402.364 77.652C398.531 77.652 395.417 78.9867 393.022 81.656C390.626 84.3253 389.428 87.816 389.428 92.128C389.428 96.3716 390.626 99.828 393.022 102.497C395.417 105.167 398.531 106.501 402.364 106.501ZM462.12 118.821C456.918 118.821 452.229 117.692 448.054 115.433C443.879 113.106 440.628 109.924 438.301 105.885C435.974 101.779 434.81 97.1929 434.81 92.128C434.81 87.0631 435.974 82.5116 438.301 78.4733C440.628 74.3667 443.879 71.184 448.054 68.9253C452.229 66.5982 456.918 65.4347 462.12 65.4347C467.321 65.4347 472.01 66.5982 476.185 68.9253C480.36 71.184 483.611 74.3667 485.938 78.4733C488.265 82.5116 489.429 87.0631 489.429 92.128C489.429 97.1929 488.265 101.779 485.938 105.885C483.611 109.924 480.36 113.106 476.185 115.433C472.01 117.692 467.321 118.821 462.12 118.821ZM462.12 106.501C465.952 106.501 469.067 105.167 471.462 102.497C473.858 99.828 475.056 96.3716 475.056 92.128C475.056 87.816 473.858 84.3253 471.462 81.656C469.067 78.9867 465.952 77.652 462.12 77.652C458.287 77.652 455.172 78.9867 452.777 81.656C450.381 84.3253 449.184 87.816 449.184 92.128C449.184 96.3716 450.381 99.828 452.777 102.497C455.172 105.167 458.287 106.501 462.12 106.501ZM512.327 118H498.056V43.772H512.327V118ZM542.494 118.821C536.129 118.821 530.961 117.179 526.991 113.893C523.09 110.54 521.002 106.091 520.729 100.547H533.049C533.322 102.874 534.281 104.722 535.923 106.091C537.634 107.391 539.825 108.041 542.494 108.041C544.684 108.041 546.464 107.562 547.833 106.604C549.27 105.646 549.989 104.448 549.989 103.011C549.989 101.094 549.167 99.7596 547.525 99.0067C545.882 98.2538 543.281 97.5693 539.722 96.9533C536.026 96.2689 533.014 95.516 530.687 94.6947C528.36 93.8733 526.341 92.4018 524.63 90.28C522.987 88.0898 522.166 85.0098 522.166 81.04C522.166 78.0284 522.953 75.3591 524.527 73.032C526.17 70.6364 528.394 68.7884 531.201 67.488C534.007 66.1191 537.155 65.4347 540.646 65.4347C546.874 65.4347 551.905 66.9747 555.738 70.0547C559.639 73.1347 561.727 77.2071 562.001 82.272H549.578C549.304 80.1502 548.312 78.5076 546.601 77.344C544.958 76.112 543.11 75.496 541.057 75.496C539.003 75.496 537.361 75.9409 536.129 76.8307C534.897 77.7204 534.281 78.9524 534.281 80.5267C534.281 82.4431 535.068 83.7436 536.642 84.428C538.285 85.044 540.851 85.5916 544.342 86.0707C548.106 86.6182 551.186 87.3027 553.582 88.124C556.046 88.8769 558.168 90.3827 559.947 92.6413C561.727 94.9 562.617 98.1853 562.617 102.497C562.617 107.425 560.769 111.395 557.073 114.407C553.445 117.35 548.585 118.821 542.494 118.821Z",fill:"currentColor"},null,-1),QN=[YN,JN];function ZN(e,t){return Q(),ye("svg",XN,QN)}const e2=is(KN,[["render",ZN]]),t2={},n2={key:0,flex:"~ col justify-center items-center gap-2",fixed:"","bottom-0":"","left-0":"","right-0":"","top-0":"","z-2147483646":"",p5:"","text-lg":"","backdrop-blur-5":"","glass-effect":""},r2={flex:"~","mt--10":"","items-center":"","justify-center":""},s2={key:0,flex:"~ gap-2","items-center":"","text-rose":""},o2={key:1,flex:"~ gap-2","animate-pulse":"","items-center":"","text-yellow":""};function i2(e,t){const n=e2,r=Po;return Q(),Se(tp,{to:"body"},[("wsConnectingDebounced"in e?e.wsConnectingDebounced:U(BE))?(Q(),ye("div",n2,[Z("div",r2,[Y(n,{"h-14":""})]),("wsError"in e?e.wsError:U(FE))?(Q(),ye("div",s2,[Y(r,{icon:"i-carbon-wifi-off"}),Le(" WebSocket disconnected ")])):(Q(),ye("div",o2,[Y(r,{icon:"i-carbon-circle-dash","animate-spin":""}),Le(" Connecting to the server... ")]))])):Xe("",!0)])}const a2=is(t2,[["render",i2]]),l2={p4:"",flex:"~ col gap-1"},c2=Z("h3",{class:"text-lg font-medium leading-6"}," Restart ",-1),u2={op50:""},f2={flex:"~ gap-3",mt2:"","justify-end":""},d2=Te({__name:"RestartDialogs",setup(e){const t=De(),n=HE(),r=ut(),s=Ac();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&&(Me.restartNuxt(),setTimeout(()=>{r.value?.app.reload()},500))}))}}),(o,i)=>{const a=br,l=da;return Q(),Se(U(s),null,{default:pe(({resolve:c,args:u})=>[Y(l,{"model-value":!0,onClose:f=>c(!1)},{default:pe(()=>[Z("div",l2,[c2,Z("p",u2,wt(u[0]),1),Z("div",f2,[Y(a,{onClick:f=>c(!1)},{default:pe(()=>[Le(" Cancel ")]),_:2},1032,["onClick"]),Y(a,{n:"solid primary",onClick:f=>c(!0)},{default:pe(()=>[Le(" Update ")]),_:2},1032,["onClick"])])])]),_:2},1032,["onClose"])]),_:1})}}});function h2(){return Ji("schema:input",null)}const nh=J([]),rh=J();function p2(){const e=De(),t=ut(),n=it();Object.assign(mm,{async refresh(r){e.hooks.callHookParallel("app:data:refresh",[r])},async callHook(r,...s){e.hooks.callHookParallel(r,...s)},async onTerminalData(r){e.hooks.callHookParallel("devtools:terminal:data",r)},async onTerminalExit(r){e.hooks.callHookParallel("devtools:terminal:exit",r);const s=nh.value.findIndex(o=>o.processId===r.id);s!==-1&&nh.value.splice(s,1),rh.value?.processId===r.id&&(rh.value=void 0)},async navigateTo(r){t.value.open(),n.currentRoute.value.path!==r&&n.push(r)}}),Me.getModuleOptions().then(r=>{r.disableAuthorization&&(kt.value=!0,Tt.value||="disabled")})}const m2=pi(()=>_e(()=>import("./DataSchemaDrawer.6edfca87.js"),["./DataSchemaDrawer.6edfca87.js","./NSelect.vue.120a17c7.js","./NSwitch.vue.00f0a211.js","./NDropdown.vue.3bf5669f.js","./NCodeBlock.vue.cd0d52ca.js","./client.ecec2ff5.js","./NCodeBlock.6994516c.css","./DrawerRight.vue.8980fc15.js"],import.meta.url).then(e=>e.default||e)),g2={fixed:"","inset-0":"","h-screen":"","w-screen":""},v2=["grid"],y2=Te({__name:"app",setup(e){_e(()=>import("./unocss-runtime.50cd6f0c.js"),[],import.meta.url),Ob({title:"Nuxt DevTools",meta:[{name:"viewport",content:"width=device-width, initial-scale=1"}],link:[{rel:"icon",type:"image/svg+xml",href:"/nuxt.svg"}]}),p2();const t=ut(),n=So(),r=ra(),s=ge(()=>n.path.startsWith("/__")),o=ge(()=>!t.value&&!Jk.value);ze(()=>t.value?.app.colorMode.value,l=>{l&&(r.value=l)},{immediate:!0}),addEventListener("keydown",l=>{l.code==="KeyD"&&l.altKey&&(t.value?.devtools.close(),l.preventDefault())});const{scale:i}=ia(),a=h2();return En(()=>{const l=Qk();Fr(()=>{window.__NUXT_DEVTOOLS__=l.value}),Fr(()=>{document.body.style.fontSize=`${i.value*15}px`})}),NA(()=>Rl.value?[{id:"action:split-screen",title:`${On.value?"Close":"Open"} Split Screen`,icon:"i-carbon-split-screen",action:()=>{On.value=!On.value}}]:[]),(l,c)=>{const u=R$,f=N$,d=F$,p=sA,h=lA,m=wA,_=TA,y=PA,v=FN,w=qN,b=a2,C=d2,g=m2;return Q(),ye("div",g2,[Y(u),Y(f),U(o)?(Q(),Se(d,{key:0},{default:pe(()=>[Le(" Connecting.... ")]),_:1})):(Q(),ye("div",{key:1,grid:U(s)?"flex":"~ cols-[50px_1fr]","h-full":"","h-screen":"","of-hidden":"","font-sans":"","bg-base":""},[hi(Y(p,{"of-x-hidden":"","of-y-auto":""},null,512),[[cl,!U(s)]]),Y(y,null,{default:pe(()=>[Y(_,{"storage-key":"devtools:split-screen-mode","min-size":20},_y({left:pe(()=>[Y(h)]),_:2},[("splitScreenEnabled"in l?l.splitScreenEnabled:U(On))&&U(Rl)?{name:"right",fn:pe(()=>[Y(m)]),key:"0"}:void 0]),1024)]),_:1}),Y(v),Y(w)],8,v2)),Y(b),Y(C),c._lazyshow1||U(a)?(c._lazyshow1=!0,Q(),ye(Ie,null,[hi(Z("div",null,[Y(g)],512),[[cl,U(a)]])],64)):Xe("v-show-if",!0)])}}}),_2={__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(()=>_e(()=>import("./error-404.27f7c5ed.js"),["./error-404.27f7c5ed.js","./error-404.82ac0ec5.css"],import.meta.url).then(f=>f.default||f)):pi(()=>_e(()=>import("./error-500.6459d9b0.js"),["./error-500.6459d9b0.js","./error-500.ff959f66.css"],import.meta.url).then(f=>f.default||f));return(f,d)=>(Q(),Se(U(u),Jl(Vi({statusCode:U(r),statusMessage:U(o),description:U(i),stack:U(a)})),null,16))}},sh={__name:"nuxt-root",setup(e){const t=()=>null,n=De(),r=n.deferHydration(),s=!1;lr(xo,So()),n.hooks.callHookWith(a=>a.map(l=>l()),"vue:setup");const o=qi();Uh((a,l,c)=>{if(n.hooks.callHook("vue:error",a,l,c).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),Zb(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>kr(a)),!1});const i=!1;return(a,l)=>(Q(),Se(fc,{onResolve:U(r)},{default:pe(()=>[U(o)?(Q(),Se(U(_2),{key:0,error:U(o)},null,8,["error"])):U(i)?(Q(),Se(U(t),{key:1,context:U(i)},null,8,["context"])):U(s)?(Q(),Se(fr(U(s)),{key:2})):(Q(),Se(U(y2),{key:3}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=C0.create({baseURL:k0()}));let oh;{let e;oh=async function(){if(e)return e;const r=!!(window.__NUXT__?.serverRendered||document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true")?I_(sh):_p(sh),s=j0({vueApp:r});try{await H0(s,$$)}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(Fb),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=oh().catch(t=>{console.error("Error while mounting app:",t)})}export{C0 as $,Ig as A,cP as B,br as C,e2 as D,ot as E,Ie as F,dE as G,hi as H,cl as I,Me as J,KE as K,Ac as L,Z2 as M,it as N,Ji as O,tO as P,NA as Q,TA as R,rh as S,tp as T,Lg as U,da as V,Bt as W,Lc as X,DE as Y,FE as Z,Og as _,ge as a,L2 as a$,Po as a0,bw as a1,R2 as a2,hn as a3,am as a4,rt as a5,rO as a6,nP as a7,A2 as a8,b2 as a9,kt as aA,GN as aB,B2 as aC,q2 as aD,X2 as aE,O2 as aF,S_ as aG,_y as aH,z2 as aI,nh as aJ,Jv as aK,xh as aL,Qr as aM,w2 as aN,Gi as aO,Nc as aP,Jl as aQ,Vi as aR,Vb as aS,D2 as aT,x2 as aU,W2 as aV,qm as aW,V2 as aX,eO as aY,Hw as aZ,sO as a_,vp as aa,ju as ab,Y2 as ac,as as ad,k2 as ae,ra as af,Ym as ag,K2 as ah,En as ai,ia as aj,Qc as ak,gn as al,j2 as am,N2 as an,yE as ao,yn as ap,ut as aq,fr as ar,jt as as,P2 as at,xt as au,Fr as av,lo as aw,Qk as ax,So as ay,zR as az,C2 as b,F2 as b0,Jk as b1,vt as b2,U2 as b3,HE as b4,vr as b5,I2 as b6,R_ as b7,Q2 as b8,jw as b9,Dl as bA,U$ as bB,x_ as bC,C_ as bD,WE as bE,Zr as ba,Ht as bb,j_ as bc,$e as bd,nO as be,M2 as bf,T2 as bg,F$ as bh,tP as bi,dy as bj,rn as bk,zw as bl,S2 as bm,$2 as bn,E2 as bo,De as bp,Jp as bq,Ed as br,G2 as bs,J2 as bt,Et as bu,ha as bv,Ye as bw,sP as bx,wR as by,Ch as bz,VE as c,Te as d,ER as e,U as f,H2 as g,Se as h,Y as i,pe as j,Z as k,Be as l,ye as m,co as n,Q as o,Xe as p,is as q,J as r,Ob as s,wt as t,h2 as u,Le as v,ze as w,Yi as x,Xv as y,Yv as z};