@nuxtjs/sitemap 5.3.5 → 6.0.0-beta.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/dist/client/200.html +61 -54
  2. package/dist/client/404.html +61 -54
  3. package/dist/client/_nuxt/{D7WeZTai.js → -0RnDExV.js} +1 -1
  4. package/dist/client/_nuxt/{DOtRmeXT.js → -4dSXLqG.js} +1 -1
  5. package/dist/client/_nuxt/458cWEat.js +3 -0
  6. package/dist/client/_nuxt/{CFF2d1j6.js → BEZjiGez.js} +1 -1
  7. package/dist/client/_nuxt/{B3g-KkBK.js → BHqu4VKd.js} +1 -1
  8. package/dist/client/_nuxt/{D33OKbkv.js → BM5XuWfj.js} +1 -1
  9. package/dist/client/_nuxt/BMRpS3Xo.js +1 -0
  10. package/dist/client/_nuxt/{1rqFXsGc.js → BUinYsBq.js} +2 -2
  11. package/dist/client/_nuxt/BXP-NDAE.js +1 -0
  12. package/dist/client/_nuxt/{kuh6G-Sk.js → BZ035FK2.js} +1 -1
  13. package/dist/client/_nuxt/{DrnZp123.js → B_kA2_jD.js} +1 -1
  14. package/dist/client/_nuxt/BgSQePf4.js +1 -0
  15. package/dist/client/_nuxt/{CdedUr_-.js → BiVAY1KT.js} +1 -1
  16. package/dist/client/_nuxt/BpDWT_aG.js +1 -0
  17. package/dist/client/_nuxt/BpJyBuO9.js +1 -0
  18. package/dist/client/_nuxt/{BnyYJeap.js → Bpum8voz.js} +1 -1
  19. package/dist/client/_nuxt/Br9pa-sp.js +1 -0
  20. package/dist/client/_nuxt/BspO9hSn.js +1 -0
  21. package/dist/client/_nuxt/{DAP_O-zg.js → Bx64mzUw.js} +1 -1
  22. package/dist/client/_nuxt/Bym0hRiG.js +1 -0
  23. package/dist/client/_nuxt/C8DXlOXe.js +1 -0
  24. package/dist/client/_nuxt/{ECt0lbkd.js → CBks_G0r.js} +1 -1
  25. package/dist/client/_nuxt/COBxEbHI.js +1 -0
  26. package/dist/client/_nuxt/CPw9RxLe.js +1 -0
  27. package/dist/client/_nuxt/{dIHJ9UdL.js → CRYtL1Hd.js} +1 -1
  28. package/dist/client/_nuxt/CX3ZWouj.js +229 -0
  29. package/dist/client/_nuxt/{0ooBkv16.js → CaGCoJJM.js} +1 -1
  30. package/dist/client/_nuxt/Ctb_e1-I.js +1 -0
  31. package/dist/client/_nuxt/{AGFfX61t.js → CuOLCh11.js} +1 -1
  32. package/dist/client/_nuxt/{JgH_6NEN.js → CxBHuulF.js} +1 -1
  33. package/dist/client/_nuxt/{CJIaz0BQ.js → CxLlwT--.js} +1 -1
  34. package/dist/client/_nuxt/{B6bHXiXE.js → D3VHKxjW.js} +1 -1
  35. package/dist/client/_nuxt/D46m5Xd3.js +1 -0
  36. package/dist/client/_nuxt/D5OoM2Ul.js +1 -0
  37. package/dist/client/_nuxt/D5lQfeOG.js +1 -0
  38. package/dist/client/_nuxt/D8V69RRQ.js +1 -0
  39. package/dist/client/_nuxt/{CX_FIdg1.js → DDK5Hw8n.js} +1 -1
  40. package/dist/client/_nuxt/{C1yTBzia.js → DIyf2Ztx.js} +1 -1
  41. package/dist/client/_nuxt/{BZfs-ost.js → DOv5BRyJ.js} +1 -1
  42. package/dist/client/_nuxt/DQ-rpzxz.js +1 -0
  43. package/dist/client/_nuxt/DUsrs60I.js +6 -0
  44. package/dist/client/_nuxt/DV9_Ze0W.js +1 -0
  45. package/dist/client/_nuxt/{Bxkoe-BC.js → EQHFthT6.js} +1 -1
  46. package/dist/client/_nuxt/Ev-gWqHG.js +1 -0
  47. package/dist/client/_nuxt/{BacI6-DX.js → FRbOFgZn.js} +1 -1
  48. package/dist/client/_nuxt/{CqYeW6XZ.js → Gme1ZbSQ.js} +1 -1
  49. package/dist/client/_nuxt/{Br6ll-O0.js → NrGJGX17.js} +1 -1
  50. package/dist/client/_nuxt/{CarfVElc.js → ULUzDaxg.js} +1 -1
  51. package/dist/client/_nuxt/USEQoosB.js +31 -0
  52. package/dist/client/_nuxt/{DGDuLtS6.js → V16qqttt.js} +1 -1
  53. package/dist/client/_nuxt/builds/latest.json +1 -1
  54. package/dist/client/_nuxt/builds/meta/99e0fea3-c4e8-45fe-88b0-f49b86d00f5b.json +1 -0
  55. package/dist/client/_nuxt/d42HzezM.js +1 -0
  56. package/dist/client/_nuxt/entry.BnSVD-Km.css +1 -0
  57. package/dist/client/_nuxt/error-404.BOXiSWAJ.css +1 -0
  58. package/dist/client/_nuxt/error-500.DmKlUOlN.css +1 -0
  59. package/dist/client/_nuxt/{BXR915QZ.js → ewRyznZJ.js} +1 -1
  60. package/dist/client/_nuxt/{BVLuctcA.js → vMuZBeRS.js} +1 -1
  61. package/dist/client/_nuxt/{Bj5xdiaE.js → xuIuMB9j.js} +1 -1
  62. package/dist/client/_nuxt/{ChMCFiS0.js → zIdFMUa4.js} +1 -1
  63. package/dist/client/_nuxt/{BVkeqZ59.js → zbShYgi7.js} +1 -1
  64. package/dist/client/index.html +61 -54
  65. package/dist/module.d.mts +355 -1
  66. package/dist/module.d.ts +355 -1
  67. package/dist/module.json +2 -2
  68. package/dist/module.mjs +178 -32
  69. package/dist/runtime/nitro/composables/getPathRobotConfigPolyfill.d.ts +2 -1
  70. package/dist/runtime/nitro/composables/getPathRobotConfigPolyfill.js +1 -1
  71. package/dist/runtime/nitro/routes/__sitemap__/debug.d.ts +8 -6
  72. package/dist/runtime/nitro/{middleware/[sitemap]-sitemap.xml.d.ts → routes/sitemap/[sitemap].xml.d.ts} +1 -1
  73. package/dist/runtime/nitro/routes/sitemap/[sitemap].xml.js +20 -0
  74. package/dist/runtime/nitro/routes/sitemap.xsl.js +2 -1
  75. package/dist/runtime/nitro/routes/sitemap_index.xml.js +19 -16
  76. package/dist/runtime/nitro/sitemap/builder/sitemap-index.d.ts +3 -2
  77. package/dist/runtime/nitro/sitemap/builder/sitemap-index.js +14 -28
  78. package/dist/runtime/nitro/sitemap/builder/sitemap.d.ts +9 -2
  79. package/dist/runtime/nitro/sitemap/builder/sitemap.js +154 -54
  80. package/dist/runtime/nitro/sitemap/builder/xml.d.ts +1 -1
  81. package/dist/runtime/nitro/sitemap/builder/xml.js +2 -0
  82. package/dist/runtime/nitro/sitemap/nitro.d.ts +1 -1
  83. package/dist/runtime/nitro/sitemap/nitro.js +47 -11
  84. package/dist/runtime/nitro/sitemap/urlset/normalise.d.ts +3 -2
  85. package/dist/runtime/nitro/sitemap/urlset/normalise.js +64 -53
  86. package/dist/runtime/types.d.ts +35 -4
  87. package/dist/runtime/utils-pure.d.ts +2 -1
  88. package/dist/runtime/utils-pure.js +6 -0
  89. package/package.json +24 -25
  90. package/dist/client/_nuxt/3ghuYFLd.js +0 -1
  91. package/dist/client/_nuxt/9B1nZgL-.js +0 -1
  92. package/dist/client/_nuxt/BG-qYwi8.js +0 -6
  93. package/dist/client/_nuxt/BIxS-Weu.js +0 -1
  94. package/dist/client/_nuxt/BYdKNJ10.js +0 -1
  95. package/dist/client/_nuxt/Bi43K_FX.js +0 -6
  96. package/dist/client/_nuxt/CBPJd_fO.js +0 -1
  97. package/dist/client/_nuxt/CCqFro8U.js +0 -3
  98. package/dist/client/_nuxt/CEfge3mM.js +0 -1
  99. package/dist/client/_nuxt/CSPeAESR.js +0 -1
  100. package/dist/client/_nuxt/D0mw_hZ2.js +0 -31
  101. package/dist/client/_nuxt/DGO8GyiP.js +0 -1
  102. package/dist/client/_nuxt/DOHBU7tp.js +0 -1
  103. package/dist/client/_nuxt/DQoqAi02.js +0 -1
  104. package/dist/client/_nuxt/DVLwECkk.js +0 -1
  105. package/dist/client/_nuxt/Du6_OKDb.js +0 -159
  106. package/dist/client/_nuxt/builds/meta/ab2ad6a2-f67d-4194-8e33-d46fbc5d1290.json +0 -1
  107. package/dist/client/_nuxt/eJfcURhx.js +0 -1
  108. package/dist/client/_nuxt/entry.CfxF9LiM.css +0 -1
  109. package/dist/client/_nuxt/error-404.D56ZPmHb.css +0 -1
  110. package/dist/client/_nuxt/error-500.BYEp4uQX.css +0 -1
  111. package/dist/runtime/nitro/middleware/[sitemap]-sitemap.xml.js +0 -23
  112. package/dist/runtime/nitro/sitemap/urlset/filter.d.ts +0 -5
  113. package/dist/runtime/nitro/sitemap/urlset/filter.js +0 -24
  114. package/dist/runtime/nitro/sitemap/urlset/i18n.d.ts +0 -6
  115. package/dist/runtime/nitro/sitemap/urlset/i18n.js +0 -142
@@ -0,0 +1,31 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CBks_G0r.js","./CbViG2Xw.js","./Dch3xQiY.js","./CbYhyuC0.js","./BUinYsBq.js","./BeX7Iu5M.js","./DC4hdoM9.js","./CsYA0RN7.js","./ClXEvkw9.js","./CupVZNk8.js","./BEZjiGez.js","./DK4oFTHQ.js","./B2DkETJQ.js","./RCJZWN-0.js","./BF6G6X0H.js","./Bg0wAK5a.js","./BB42E8aY.js","./C_ZPRiAj.js","./DouzTJIq.js","./DbK06e1c.js","./Bdt_eLrj.js","./DvyTQcux.js","./DNR26wTC.js","./BaNxgKSR.js","./RE3ujT-k.js","./DS9ZWoKD.js","./DM4HHECw.js","./wChcbJ1V.js","./DAGYewaG.js","./CsyrCbsw.js","./BZ035FK2.js","./DwuVtWc2.js","./BXfENWL6.js","./BspO9hSn.js","./CX3ZWouj.js","./B9S9BZZh.js","./DHmGyzbM.js","./RqY_Nz63.js","./Dwo2i-71.js","./ULUzDaxg.js","./DOv5BRyJ.js","./BVGdgKAv.js","./DGxQkqYo.js","./CMDmr8et.js","./vMsNTMhM.js","./BeJnKnI_.js","./BT9ZzGyQ.js","./DC8MraHL.js","./ewRyznZJ.js","./DSrLtGYv.js","./DXT9h7v2.js","./BlxWTfDV.js","./C1DVX8_8.js","./Cgl53LJQ.js","./D3VHKxjW.js","./DVC_qXWv.js","./BR6CMsBL.js","./zIdFMUa4.js","./sQpxpyUs.js","./D6pmzCqS.js","./zbShYgi7.js","./Bpum8voz.js","./BBBqETUW.js","./B_SUYfiV.js","./cw46T5ID.js","./DAVo6uMX.js","./CxBHuulF.js","./Bbv8ARUV.js","./CQUCfALx.js","./BN4LRXf6.js","./BmCW-tYz.js","./CaGCoJJM.js","./DJubGRtk.js","./Gme1ZbSQ.js","./CiRxTSAc.js","./Dit6kIrv.js","./DzwdaLuO.js","./D4LaosRr.js","./DY7_9Ga-.js","./458cWEat.js","./Bj0fF4lQ.js","./nclm9rTJ.js","./Dg0DGYq4.js","./V16qqttt.js","./CxLlwT--.js","./DR5YgmI2.js","./-0RnDExV.js","./Cthz8VOO.js","./DhFF74a2.js","./BwXNTs7T.js","./CJGKC1_q.js","./vMuZBeRS.js","./DXZpi2gR.js","./8t4jSAMm.js","./BiDE021q.js","./DmDrTTlz.js","./CRYtL1Hd.js","./DKb4lQY2.js","./DJZWsvj0.js","./C15OxdQ5.js","./DLP9ZvWb.js","./DIyf2Ztx.js","./BMHPAh1U.js","./BpJyBuO9.js","./FRbOFgZn.js","./DUsrs60I.js","./DYI1rfmx.js","./Bh8mriwU.js","./BM5XuWfj.js","./B_kA2_jD.js","./DeVv6D4_.js","./beD-FUib.js","./CJQrLysU.js","./BPiaQZfK.js","./D384ylkT.js","./9ZOzOPqN.js","./DZLoTQm4.js","./BaedD2tq.js","./d42HzezM.js","./error-404.BOXiSWAJ.css","./CuOLCh11.js","./error-500.DmKlUOlN.css"])))=>i.map(i=>d[i]);
2
+ var ad=Object.defineProperty;var cd=(e,t,n)=>t in e?ad(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var b=(e,t,n)=>cd(e,typeof t!="symbol"?t+"":t,n);/**
3
+ * @vue/shared v3.4.31
4
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
5
+ * @license MIT
6
+ **//*! #__NO_SIDE_EFFECTS__ */function is(e,t){const n=new Set(e.split(","));return r=>n.has(r)}const _e={},bn=[],Qe=()=>{},ud=()=>!1,mr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ss=e=>e.startsWith("onUpdate:"),Ie=Object.assign,ls=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},fd=Object.prototype.hasOwnProperty,ue=(e,t)=>fd.call(e,t),Y=Array.isArray,wn=e=>gr(e)==="[object Map]",qa=e=>gr(e)==="[object Set]",nl=e=>gr(e)==="[object Date]",Q=e=>typeof e=="function",we=e=>typeof e=="string",mt=e=>typeof e=="symbol",pe=e=>e!==null&&typeof e=="object",as=e=>(pe(e)||Q(e))&&Q(e.then)&&Q(e.catch),Ka=Object.prototype.toString,gr=e=>Ka.call(e),dd=e=>gr(e).slice(8,-1),Ja=e=>gr(e)==="[object Object]",cs=e=>we(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,En=is(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ao=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},pd=/-(\w)/g,gt=Ao(e=>e.replace(pd,(t,n)=>n?n.toUpperCase():"")),hd=/\B([A-Z])/g,cn=Ao(e=>e.replace(hd,"-$1").toLowerCase()),Lo=Ao(e=>e.charAt(0).toUpperCase()+e.slice(1)),Zo=Ao(e=>e?`on${Lo(e)}`:""),Ht=(e,t)=>!Object.is(e,t),Br=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Xa=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},md=e=>{const t=parseFloat(e);return isNaN(t)?e:t},gd=e=>{const t=we(e)?Number(e):NaN;return isNaN(t)?e:t};let rl;const Ya=()=>rl||(rl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function en(e){if(Y(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=we(r)?bd(r):en(r);if(o)for(const i in o)t[i]=o[i]}return t}else if(we(e)||pe(e))return e}const _d=/;(?![^(]*\))/g,yd=/:([^]+)/,vd=/\/\*[^]*?\*\//g;function bd(e){const t={};return e.replace(vd,"").split(_d).forEach(n=>{if(n){const r=n.split(yd);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Te(e){let t="";if(we(e))t=e;else if(Y(e))for(let n=0;n<e.length;n++){const r=Te(e[n]);r&&(t+=r+" ")}else if(pe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Qa(e){if(!e)return null;let{class:t,style:n}=e;return t&&!we(t)&&(e.class=Te(t)),n&&(e.style=en(n)),e}const wd="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ed=is(wd);function Za(e){return!!e||e===""}function Td(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Xr(e[r],t[r]);return n}function Xr(e,t){if(e===t)return!0;let n=nl(e),r=nl(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=mt(e),r=mt(t),n||r)return e===t;if(n=Y(e),r=Y(t),n||r)return n&&r?Td(e,t):!1;if(n=pe(e),r=pe(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,i=Object.keys(t).length;if(o!==i)return!1;for(const s in e){const l=e.hasOwnProperty(s),a=t.hasOwnProperty(s);if(l&&!a||!l&&a||!Xr(e[s],t[s]))return!1}}return String(e)===String(t)}const ec=e=>!!(e&&e.__v_isRef===!0),De=e=>we(e)?e:e==null?"":Y(e)||pe(e)&&(e.toString===Ka||!Q(e.toString))?ec(e)?De(e.value):JSON.stringify(e,tc,2):String(e),tc=(e,t)=>ec(t)?tc(e,t.value):wn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],i)=>(n[ei(r,i)+" =>"]=o,n),{})}:qa(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ei(n))}:mt(t)?ei(t):pe(t)&&!Y(t)&&!Ja(t)?String(t):t,ei=(e,t="")=>{var n;return mt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
7
+ * @vue/reactivity v3.4.31
8
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
9
+ * @license MIT
10
+ **/let Je;class nc{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Je,!t&&Je&&(this.index=(Je.scopes||(Je.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Je;try{return Je=this,t()}finally{Je=n}}}on(){Je=this}off(){Je=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 o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function Cd(e){return new nc(e)}function Sd(e,t=Je){t&&t.active&&t.effects.push(e)}function us(){return Je}function xd(e){Je&&Je.cleanups.push(e)}let tn;class fs{constructor(t,n,r,o){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,Sd(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,Ft();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Pd(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Ut()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Nt,n=tn;try{return Nt=!0,tn=this,this._runnings++,ol(this),this.fn()}finally{il(this),this._runnings--,tn=n,Nt=t}}stop(){this.active&&(ol(this),il(this),this.onStop&&this.onStop(),this.active=!1)}}function Pd(e){return e.value}function ol(e){e._trackId++,e._depsLength=0}function il(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)rc(e.deps[t],e);e.deps.length=e._depsLength}}function rc(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let Nt=!0,Ei=0;const oc=[];function Ft(){oc.push(Nt),Nt=!1}function Ut(){const e=oc.pop();Nt=e===void 0?!0:e}function ds(){Ei++}function ps(){for(Ei--;!Ei&&Ti.length;)Ti.shift()()}function ic(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&rc(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Ti=[];function sc(e,t,n){ds();for(const r of e.keys()){let o;r._dirtyLevel<t&&(o??(o=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(o??(o=e.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&Ti.push(r.scheduler)))}ps()}const lc=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Yr=new WeakMap,nn=Symbol(""),Ci=Symbol("");function We(e,t,n){if(Nt&&tn){let r=Yr.get(e);r||Yr.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=lc(()=>r.delete(n))),ic(tn,o)}}function Ct(e,t,n,r,o,i){const s=Yr.get(e);if(!s)return;let l=[];if(t==="clear")l=[...s.values()];else if(n==="length"&&Y(e)){const a=Number(r);s.forEach((c,u)=>{(u==="length"||!mt(u)&&u>=a)&&l.push(c)})}else switch(n!==void 0&&l.push(s.get(n)),t){case"add":Y(e)?cs(n)&&l.push(s.get("length")):(l.push(s.get(nn)),wn(e)&&l.push(s.get(Ci)));break;case"delete":Y(e)||(l.push(s.get(nn)),wn(e)&&l.push(s.get(Ci)));break;case"set":wn(e)&&l.push(s.get(nn));break}ds();for(const a of l)a&&sc(a,4);ps()}function Rd(e,t){const n=Yr.get(e);return n&&n.get(t)}const Ad=is("__proto__,__v_isRef,__isVue"),ac=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(mt)),sl=Ld();function Ld(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=fe(this);for(let i=0,s=this.length;i<s;i++)We(r,"get",i+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(fe)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Ft(),ds();const r=fe(this)[t].apply(this,n);return ps(),Ut(),r}}),e}function Od(e){mt(e)||(e=String(e));const t=fe(this);return We(t,"has",e),t.hasOwnProperty(e)}class cc{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(o?i?Gd:pc:i?dc:fc).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const s=Y(t);if(!o){if(s&&ue(sl,n))return Reflect.get(sl,n,r);if(n==="hasOwnProperty")return Od}const l=Reflect.get(t,n,r);return(mt(n)?ac.has(n):Ad(n))||(o||We(t,"get",n),i)?l:Me(l)?s&&cs(n)?l:l.value:pe(l)?o?gs(l):on(l):l}}class uc extends cc{constructor(t=!1){super(!1,t)}set(t,n,r,o){let i=t[n];if(!this._isShallow){const a=On(i);if(!Qr(r)&&!On(r)&&(i=fe(i),r=fe(r)),!Y(t)&&Me(i)&&!Me(r))return a?!1:(i.value=r,!0)}const s=Y(t)&&cs(n)?Number(n)<t.length:ue(t,n),l=Reflect.set(t,n,r,o);return t===fe(o)&&(s?Ht(r,i)&&Ct(t,"set",n,r):Ct(t,"add",n,r)),l}deleteProperty(t,n){const r=ue(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&Ct(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!mt(n)||!ac.has(n))&&We(t,"has",n),r}ownKeys(t){return We(t,"iterate",Y(t)?"length":nn),Reflect.ownKeys(t)}}class kd extends cc{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Id=new uc,Nd=new kd,Dd=new uc(!0);const hs=e=>e,Oo=e=>Reflect.getPrototypeOf(e);function Er(e,t,n=!1,r=!1){e=e.__v_raw;const o=fe(e),i=fe(t);n||(Ht(t,i)&&We(o,"get",t),We(o,"get",i));const{has:s}=Oo(o),l=r?hs:n?ys:nr;if(s.call(o,t))return l(e.get(t));if(s.call(o,i))return l(e.get(i));e!==o&&e.get(t)}function Tr(e,t=!1){const n=this.__v_raw,r=fe(n),o=fe(e);return t||(Ht(e,o)&&We(r,"has",e),We(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Cr(e,t=!1){return e=e.__v_raw,!t&&We(fe(e),"iterate",nn),Reflect.get(e,"size",e)}function ll(e){e=fe(e);const t=fe(this);return Oo(t).has.call(t,e)||(t.add(e),Ct(t,"add",e,e)),this}function al(e,t){t=fe(t);const n=fe(this),{has:r,get:o}=Oo(n);let i=r.call(n,e);i||(e=fe(e),i=r.call(n,e));const s=o.call(n,e);return n.set(e,t),i?Ht(t,s)&&Ct(n,"set",e,t):Ct(n,"add",e,t),this}function cl(e){const t=fe(this),{has:n,get:r}=Oo(t);let o=n.call(t,e);o||(e=fe(e),o=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return o&&Ct(t,"delete",e,void 0),i}function ul(){const e=fe(this),t=e.size!==0,n=e.clear();return t&&Ct(e,"clear",void 0,void 0),n}function Sr(e,t){return function(r,o){const i=this,s=i.__v_raw,l=fe(s),a=t?hs:e?ys:nr;return!e&&We(l,"iterate",nn),s.forEach((c,u)=>r.call(o,a(c),a(u),i))}}function xr(e,t,n){return function(...r){const o=this.__v_raw,i=fe(o),s=wn(i),l=e==="entries"||e===Symbol.iterator&&s,a=e==="keys"&&s,c=o[e](...r),u=n?hs:t?ys:nr;return!t&&We(i,"iterate",a?Ci:nn),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:l?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function xt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function $d(){const e={get(i){return Er(this,i)},get size(){return Cr(this)},has:Tr,add:ll,set:al,delete:cl,clear:ul,forEach:Sr(!1,!1)},t={get(i){return Er(this,i,!1,!0)},get size(){return Cr(this)},has:Tr,add:ll,set:al,delete:cl,clear:ul,forEach:Sr(!1,!0)},n={get(i){return Er(this,i,!0)},get size(){return Cr(this,!0)},has(i){return Tr.call(this,i,!0)},add:xt("add"),set:xt("set"),delete:xt("delete"),clear:xt("clear"),forEach:Sr(!0,!1)},r={get(i){return Er(this,i,!0,!0)},get size(){return Cr(this,!0)},has(i){return Tr.call(this,i,!0)},add:xt("add"),set:xt("set"),delete:xt("delete"),clear:xt("clear"),forEach:Sr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=xr(i,!1,!1),n[i]=xr(i,!0,!1),t[i]=xr(i,!1,!0),r[i]=xr(i,!0,!0)}),[e,n,t,r]}const[Md,Vd,Hd,Bd]=$d();function ms(e,t){const n=t?e?Bd:Hd:e?Vd:Md;return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(ue(n,o)&&o in r?n:r,o,i)}const jd={get:ms(!1,!1)},Fd={get:ms(!1,!0)},Ud={get:ms(!0,!1)};const fc=new WeakMap,dc=new WeakMap,pc=new WeakMap,Gd=new WeakMap;function Wd(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function zd(e){return e.__v_skip||!Object.isExtensible(e)?0:Wd(dd(e))}function on(e){return On(e)?e:_s(e,!1,Id,jd,fc)}function yn(e){return _s(e,!1,Dd,Fd,dc)}function gs(e){return _s(e,!0,Nd,Ud,pc)}function _s(e,t,n,r,o){if(!pe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const s=zd(e);if(s===0)return e;const l=new Proxy(e,s===2?r:n);return o.set(e,l),l}function zn(e){return On(e)?zn(e.__v_raw):!!(e&&e.__v_isReactive)}function On(e){return!!(e&&e.__v_isReadonly)}function Qr(e){return!!(e&&e.__v_isShallow)}function hc(e){return e?!!e.__v_raw:!1}function fe(e){const t=e&&e.__v_raw;return t?fe(t):e}function qd(e){return Object.isExtensible(e)&&Xa(e,"__v_skip",!0),e}const nr=e=>pe(e)?on(e):e,ys=e=>pe(e)?gs(e):e;class mc{constructor(t,n,r,o){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new fs(()=>t(this._value),()=>jr(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=fe(this);return(!t._cacheable||t.effect.dirty)&&Ht(t._value,t._value=t.effect.run())&&jr(t,4),gc(t),t.effect._dirtyLevel>=2&&jr(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Kd(e,t,n=!1){let r,o;const i=Q(e);return i?(r=e,o=Qe):(r=e.get,o=e.set),new mc(r,o,i||!o,n)}function gc(e){var t;Nt&&tn&&(e=fe(e),ic(tn,(t=e.dep)!=null?t:e.dep=lc(()=>e.dep=void 0,e instanceof mc?e:void 0)))}function jr(e,t=4,n,r){e=fe(e);const o=e.dep;o&&sc(o,t)}function Me(e){return!!(e&&e.__v_isRef===!0)}function be(e){return _c(e,!1)}function Si(e){return _c(e,!0)}function _c(e,t){return Me(e)?e:new Jd(e,t)}class Jd{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:fe(t),this._value=n?t:nr(t)}get value(){return gc(this),this._value}set value(t){const n=this.__v_isShallow||Qr(t)||On(t);t=n?t:fe(t),Ht(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:nr(t),jr(this,4))}}function te(e){return Me(e)?e.value:e}function Xd(e){return Q(e)?e():te(e)}const Yd={get:(e,t,n)=>te(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Me(o)&&!Me(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function yc(e){return zn(e)?e:new Proxy(e,Yd)}class Qd{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 Rd(fe(this._object),this._key)}}class Zd{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function ep(e,t,n){return Me(e)?e:Q(e)?new Zd(e):pe(e)&&arguments.length>1?tp(e,t,n):be(e)}function tp(e,t,n){const r=e[t];return Me(r)?r:new Qd(e,t,n)}/**
11
+ * @vue/runtime-core v3.4.31
12
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
13
+ * @license MIT
14
+ **/function Dt(e,t,n,r){try{return r?e(...r):e()}catch(o){Vn(o,t,n)}}function it(e,t,n,r){if(Q(e)){const o=Dt(e,t,n,r);return o&&as(o)&&o.catch(i=>{Vn(i,t,n)}),o}if(Y(e)){const o=[];for(let i=0;i<e.length;i++)o.push(it(e[i],t,n,r));return o}}function Vn(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let i=t.parent;const s=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const c=i.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,s,l)===!1)return}i=i.parent}const a=t.appContext.config.errorHandler;if(a){Ft(),Dt(a,null,10,[e,s,l]),Ut();return}}np(e,n,o,r)}function np(e,t,n,r=!0){console.error(e)}let rr=!1,xi=!1;const Ve=[];let dt=0;const Tn=[];let Lt=null,Xt=0;const vc=Promise.resolve();let vs=null;function un(e){const t=vs||vc;return e?t.then(this?e.bind(this):e):t}function rp(e){let t=dt+1,n=Ve.length;for(;t<n;){const r=t+n>>>1,o=Ve[r],i=or(o);i<e||i===e&&o.pre?t=r+1:n=r}return t}function ko(e){(!Ve.length||!Ve.includes(e,rr&&e.allowRecurse?dt+1:dt))&&(e.id==null?Ve.push(e):Ve.splice(rp(e.id),0,e),bc())}function bc(){!rr&&!xi&&(xi=!0,vs=vc.then(wc))}function op(e){const t=Ve.indexOf(e);t>dt&&Ve.splice(t,1)}function Pi(e){Y(e)?Tn.push(...e):(!Lt||!Lt.includes(e,e.allowRecurse?Xt+1:Xt))&&Tn.push(e),bc()}function fl(e,t,n=rr?dt+1:0){for(;n<Ve.length;n++){const r=Ve[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;Ve.splice(n,1),n--,r()}}}function Zr(e){if(Tn.length){const t=[...new Set(Tn)].sort((n,r)=>or(n)-or(r));if(Tn.length=0,Lt){Lt.push(...t);return}for(Lt=t,Xt=0;Xt<Lt.length;Xt++){const n=Lt[Xt];n.active!==!1&&n()}Lt=null,Xt=0}}const or=e=>e.id==null?1/0:e.id,ip=(e,t)=>{const n=or(e)-or(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function wc(e){xi=!1,rr=!0,Ve.sort(ip);try{for(dt=0;dt<Ve.length;dt++){const t=Ve[dt];t&&t.active!==!1&&Dt(t,null,14)}}finally{dt=0,Ve.length=0,Zr(),rr=!1,vs=null,(Ve.length||Tn.length)&&wc()}}function sp(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||_e;let o=n;const i=t.startsWith("update:"),s=i&&t.slice(7);if(s&&s in r){const u=`${s==="modelValue"?"model":s}Modifiers`,{number:f,trim:d}=r[u]||_e;d&&(o=n.map(p=>we(p)?p.trim():p)),f&&(o=n.map(md))}let l,a=r[l=Zo(t)]||r[l=Zo(gt(t))];!a&&i&&(a=r[l=Zo(cn(t))]),a&&it(a,e,6,o);const c=r[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,it(c,e,6,o)}}function Ec(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const i=e.emits;let s={},l=!1;if(!Q(e)){const a=c=>{const u=Ec(c,t,!0);u&&(l=!0,Ie(s,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(pe(e)&&r.set(e,null),null):(Y(i)?i.forEach(a=>s[a]=null):Ie(s,i),pe(e)&&r.set(e,s),s)}function Io(e,t){return!e||!mr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ue(e,t[0].toLowerCase()+t.slice(1))||ue(e,cn(t))||ue(e,t))}let Se=null,No=null;function eo(e){const t=Se;return Se=e,No=e&&e.type.__scopeId||null,t}function Tc(e){No=e}function Cc(){No=null}const lp=e=>oe;function oe(e,t=Se,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&xl(-1);const i=eo(t);let s;try{s=e(...o)}finally{eo(i),r._d&&xl(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function ti(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[i],slots:s,attrs:l,emit:a,render:c,renderCache:u,props:f,data:d,setupState:p,ctx:h,inheritAttrs:m}=e,v=eo(e);let C,S;try{if(n.shapeFlag&4){const T=o||r,E=T;C=Ye(c.call(E,T,u,f,p,d,h)),S=l}else{const T=t;C=Ye(T.length>1?T(f,{attrs:l,slots:s,emit:a}):T(f,null)),S=t.props?l:cp(l)}}catch(T){Jn.length=0,Vn(T,e,1),C=z(at)}let _=C;if(S&&m!==!1){const T=Object.keys(S),{shapeFlag:E}=_;T.length&&E&7&&(i&&T.some(ss)&&(S=up(S,i)),_=Nn(_,S,!1,!0))}return n.dirs&&(_=Nn(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),C=_,eo(v),C}function ap(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(sr(o)){if(o.type!==at||o.children==="v-if"){if(n)return;n=o}}else return}return n}const cp=e=>{let t;for(const n in e)(n==="class"||n==="style"||mr(n))&&((t||(t={}))[n]=e[n]);return t},up=(e,t)=>{const n={};for(const r in e)(!ss(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function fp(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:l,patchFlag:a}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?dl(r,s,c):!!s;if(a&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(s[d]!==r[d]&&!Io(c,d))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:r===s?!1:r?s?dl(r,s,c):!0:!!s;return!1}function dl(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const i=r[o];if(t[i]!==e[i]&&!Io(n,i))return!0}return!1}function bs({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const Sc="components";function Bt(e,t){return Pc(Sc,e,!0,t)||e}const xc=Symbol.for("v-ndc");function dp(e){return we(e)?Pc(Sc,e,!1)||e:e||xc}function Pc(e,t,n=!0,r=!1){const o=Se||Ce;if(o){const i=o.type;{const l=ah(i,!1);if(l&&(l===t||l===gt(t)||l===Lo(gt(t))))return i}const s=pl(o[e]||i[e],t)||pl(o.appContext[e],t);return!s&&r?i:s}}function pl(e,t){return e&&(e[t]||e[gt(t)]||e[Lo(gt(t))])}const pp=e=>e.__isSuspense;let Ri=0;const hp={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,s,l,a,c){if(e==null)gp(t,n,r,o,i,s,l,a,c);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}_p(e,t,n,r,o,s,l,a,c)}},hydrate:yp,normalize:vp},mp=hp;function ir(e,t){const n=e.props&&e.props[t];Q(n)&&n()}function gp(e,t,n,r,o,i,s,l,a){const{p:c,o:{createElement:u}}=a,f=u("div"),d=e.suspense=Rc(e,o,r,t,f,n,i,s,l,a);c(null,d.pendingBranch=e.ssContent,f,null,r,d,i,s),d.deps>0?(ir(e,"onPending"),ir(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,i,s),Cn(d,e.ssFallback)):d.resolve(!1,!0)}function _p(e,t,n,r,o,i,s,l,{p:a,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:v,isHydrating:C}=f;if(m)f.pendingBranch=d,It(d,m)?(a(m,d,f.hiddenContainer,null,o,f,i,s,l),f.deps<=0?f.resolve():v&&(C||(a(h,p,n,r,o,null,i,s,l),Cn(f,p)))):(f.pendingId=Ri++,C?(f.isHydrating=!1,f.activeBranch=m):c(m,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),v?(a(null,d,f.hiddenContainer,null,o,f,i,s,l),f.deps<=0?f.resolve():(a(h,p,n,r,o,null,i,s,l),Cn(f,p))):h&&It(d,h)?(a(h,d,n,r,o,f,i,s,l),f.resolve(!0)):(a(null,d,f.hiddenContainer,null,o,f,i,s,l),f.deps<=0&&f.resolve()));else if(h&&It(d,h))a(h,d,n,r,o,f,i,s,l),Cn(f,d);else if(ir(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=Ri++,a(null,d,f.hiddenContainer,null,o,f,i,s,l),f.deps<=0)f.resolve();else{const{timeout:S,pendingId:_}=f;S>0?setTimeout(()=>{f.pendingId===_&&f.fallback(p)},S):S===0&&f.fallback(p)}}function Rc(e,t,n,r,o,i,s,l,a,c,u=!1){const{p:f,m:d,um:p,n:h,o:{parentNode:m,remove:v}}=c;let C;const S=bp(e);S&&t&&t.pendingBranch&&(C=t.pendingId,t.deps++);const _=e.props?gd(e.props.timeout):void 0,T=i,E={vnode:e,parent:t,parentComponent:n,namespace:s,container:r,hiddenContainer:o,deps:0,pendingId:Ri++,timeout:typeof _=="number"?_:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(x=!1,R=!1){const{vnode:V,activeBranch:F,pendingBranch:A,pendingId:G,effects:K,parentComponent:ie,container:ne}=E;let ce=!1;E.isHydrating?E.isHydrating=!1:x||(ce=F&&A.transition&&A.transition.mode==="out-in",ce&&(F.transition.afterLeave=()=>{G===E.pendingId&&(d(A,ne,i===T?h(F):i,0),Pi(K))}),F&&(m(F.el)!==E.hiddenContainer&&(i=h(F)),p(F,ie,E,!0)),ce||d(A,ne,i,0)),Cn(E,A),E.pendingBranch=null,E.isInFallback=!1;let B=E.parent,X=!1;for(;B;){if(B.pendingBranch){B.effects.push(...K),X=!0;break}B=B.parent}!X&&!ce&&Pi(K),E.effects=[],S&&t&&t.pendingBranch&&C===t.pendingId&&(t.deps--,t.deps===0&&!R&&t.resolve()),ir(V,"onResolve")},fallback(x){if(!E.pendingBranch)return;const{vnode:R,activeBranch:V,parentComponent:F,container:A,namespace:G}=E;ir(R,"onFallback");const K=h(V),ie=()=>{E.isInFallback&&(f(null,x,A,K,F,null,G,l,a),Cn(E,x))},ne=x.transition&&x.transition.mode==="out-in";ne&&(V.transition.afterLeave=ie),E.isInFallback=!0,p(V,F,null,!0),ne||ie()},move(x,R,V){E.activeBranch&&d(E.activeBranch,x,R,V),E.container=x},next(){return E.activeBranch&&h(E.activeBranch)},registerDep(x,R,V){const F=!!E.pendingBranch;F&&E.deps++;const A=x.vnode.el;x.asyncDep.catch(G=>{Vn(G,x,0)}).then(G=>{if(x.isUnmounted||E.isUnmounted||E.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:K}=x;Di(x,G,!1),A&&(K.el=A);const ie=!A&&x.subTree.el;R(x,K,m(A||x.subTree.el),A?null:h(x.subTree),E,s,V),ie&&v(ie),bs(x,K.el),F&&--E.deps===0&&E.resolve()})},unmount(x,R){E.isUnmounted=!0,E.activeBranch&&p(E.activeBranch,n,x,R),E.pendingBranch&&p(E.pendingBranch,n,x,R)}};return E}function yp(e,t,n,r,o,i,s,l,a){const c=t.suspense=Rc(t,r,n,e.parentNode,document.createElement("div"),null,o,i,s,l,!0),u=a(e,c.pendingBranch=t.ssContent,n,c,i,s);return c.deps===0&&c.resolve(!1,!0),u}function vp(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=hl(r?n.default:n),e.ssFallback=r?hl(n.fallback):z(at)}function hl(e){let t;if(Q(e)){const n=In&&e._c;n&&(e._d=!1,j()),e=e(),n&&(e._d=!0,t=Ze,tu())}return Y(e)&&(e=ap(e)),e=Ye(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Ac(e,t){t&&t.pendingBranch?Y(e)?t.effects.push(...e):t.effects.push(e):Pi(e)}function Cn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,bs(r,o))}function bp(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}function Do(e,t,n=Ce,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...s)=>{Ft();const l=sn(n),a=it(t,n,e,s);return l(),Ut(),a});return r?o.unshift(i):o.push(i),i}}const St=e=>(t,n=Ce)=>{(!yr||e==="sp")&&Do(e,(...r)=>t(...r),n)},wp=St("bm"),ws=St("m"),Ep=St("bu"),Tp=St("u"),Es=St("bum"),Lc=St("um"),Cp=St("sp"),Sp=St("rtg"),xp=St("rtc");function Oc(e,t=Ce){Do("ec",e,t)}function Pp(e,t){if(Se===null)return e;const n=Mo(Se),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,s,l,a=_e]=t[o];i&&(Q(i)&&(i={mounted:i,updated:i}),i.deep&&kt(s),r.push({dir:i,instance:n,value:s,oldValue:void 0,arg:l,modifiers:a}))}return e}function ft(e,t,n,r){const o=e.dirs,i=t&&t.dirs;for(let s=0;s<o.length;s++){const l=o[s];i&&(l.oldValue=i[s].value);let a=l.dir[r];a&&(Ft(),it(a,n,8,[e.el,l,e,t]),Ut())}}function _n(e,t,n,r){let o;const i=n;if(Y(e)||we(e)){o=new Array(e.length);for(let s=0,l=e.length;s<l;s++)o[s]=t(e[s],s,void 0,i)}else if(typeof e=="number"){o=new Array(e);for(let s=0;s<e;s++)o[s]=t(s+1,s,void 0,i)}else if(pe(e))if(e[Symbol.iterator])o=Array.from(e,(s,l)=>t(s,l,void 0,i));else{const s=Object.keys(e);o=new Array(s.length);for(let l=0,a=s.length;l<a;l++){const c=s[l];o[l]=t(e[c],c,l,i)}}else o=[];return o}/*! #__NO_SIDE_EFFECTS__ */function ze(e,t){return Q(e)?Ie({name:e.name},t,{setup:e}):e}const Sn=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function ml(e){Q(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:i,suspensible:s=!0,onError:l}=e;let a=null,c,u=0;const f=()=>(u++,a=null,d()),d=()=>{let p;return a||(p=a=t().catch(h=>{if(h=h instanceof Error?h:new Error(String(h)),l)return new Promise((m,v)=>{l(h,()=>m(f()),()=>v(h),u+1)});throw h}).then(h=>p!==a&&a?a:(h&&(h.__esModule||h[Symbol.toStringTag]==="Module")&&(h=h.default),c=h,h)))};return ze({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const p=Ce;if(c)return()=>ni(c,p);const h=S=>{a=null,Vn(S,p,13,!r)};if(s&&p.suspense||yr)return d().then(S=>()=>ni(S,p)).catch(S=>(h(S),()=>r?z(r,{error:S}):null));const m=be(!1),v=be(),C=be(!!o);return o&&setTimeout(()=>{C.value=!1},o),i!=null&&setTimeout(()=>{if(!m.value&&!v.value){const S=new Error(`Async component timed out after ${i}ms.`);h(S),v.value=S}},i),d().then(()=>{m.value=!0,p.parent&&xs(p.parent.vnode)&&(p.parent.effect.dirty=!0,ko(p.parent.update))}).catch(S=>{h(S),v.value=S}),()=>{if(m.value&&c)return ni(c,p);if(v.value&&r)return z(r,{error:v.value});if(n&&!C.value)return z(n)}}})}function ni(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,s=z(e,r,o);return s.ref=n,s.ce=i,delete t.vnode.ce,s}function Ge(e,t,n={},r,o){if(Se.isCE||Se.parent&&Sn(Se.parent)&&Se.parent.isCE)return t!=="default"&&(n.name=t),z("slot",n,r&&r());let i=e[t];i&&i._c&&(i._d=!1),j();const s=i&&kc(i(n)),l=ve(ye,{key:n.key||s&&s.key||`_${t}`},s||(r?r():[]),s&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function kc(e){return e.some(t=>sr(t)?!(t.type===at||t.type===ye&&!kc(t.children)):!0)?e:null}const Ai=e=>e?ou(e)?Mo(e):Ai(e.parent):null,qn=Ie(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=>Ai(e.parent),$root:e=>Ai(e.root),$emit:e=>e.emit,$options:e=>Ts(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,ko(e.update)}),$nextTick:e=>e.n||(e.n=un.bind(e.proxy)),$watch:e=>Xp.bind(e)}),ri=(e,t)=>e!==_e&&!e.__isScriptSetup&&ue(e,t),Rp={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:i,accessCache:s,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const p=s[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(ri(r,t))return s[t]=1,r[t];if(o!==_e&&ue(o,t))return s[t]=2,o[t];if((c=e.propsOptions[0])&&ue(c,t))return s[t]=3,i[t];if(n!==_e&&ue(n,t))return s[t]=4,n[t];Li&&(s[t]=0)}}const u=qn[t];let f,d;if(u)return t==="$attrs"&&We(e.attrs,"get",""),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==_e&&ue(n,t))return s[t]=4,n[t];if(d=a.config.globalProperties,ue(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return ri(o,t)?(o[t]=n,!0):r!==_e&&ue(r,t)?(r[t]=n,!0):ue(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},s){let l;return!!n[s]||e!==_e&&ue(e,s)||ri(t,s)||(l=i[0])&&ue(l,s)||ue(r,s)||ue(qn,s)||ue(o.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ue(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function gl(e){return Y(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Ap(e){const t=_r();let n=e();return Ni(),as(n)&&(n=n.catch(r=>{throw sn(t),r})),[n,()=>sn(t)]}let Li=!0;function Lp(e){const t=Ts(e),n=e.proxy,r=e.ctx;Li=!1,t.beforeCreate&&_l(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:p,updated:h,activated:m,deactivated:v,beforeDestroy:C,beforeUnmount:S,destroyed:_,unmounted:T,render:E,renderTracked:x,renderTriggered:R,errorCaptured:V,serverPrefetch:F,expose:A,inheritAttrs:G,components:K,directives:ie,filters:ne}=t;if(c&&Op(c,r,null),s)for(const X in s){const W=s[X];Q(W)&&(r[X]=W.bind(n))}if(o){const X=o.call(n,n);pe(X)&&(e.data=on(X))}if(Li=!0,i)for(const X in i){const W=i[X],Re=Q(W)?W.bind(n,n):Q(W.get)?W.get.bind(n,n):Qe,pn=!Q(W)&&Q(W.set)?W.set.bind(n):Qe,Wt=ke({get:Re,set:pn});Object.defineProperty(r,X,{enumerable:!0,configurable:!0,get:()=>Wt.value,set:ct=>Wt.value=ct})}if(l)for(const X in l)Ic(l[X],r,n,X);if(a){const X=Q(a)?a.call(n):a;Reflect.ownKeys(X).forEach(W=>{Dc(W,X[W])})}u&&_l(u,e,"c");function B(X,W){Y(W)?W.forEach(Re=>X(Re.bind(n))):W&&X(W.bind(n))}if(B(wp,f),B(ws,d),B(Ep,p),B(Tp,h),B(Yc,m),B(Qc,v),B(Oc,V),B(xp,x),B(Sp,R),B(Es,S),B(Lc,T),B(Cp,F),Y(A))if(A.length){const X=e.exposed||(e.exposed={});A.forEach(W=>{Object.defineProperty(X,W,{get:()=>n[W],set:Re=>n[W]=Re})})}else e.exposed||(e.exposed={});E&&e.render===Qe&&(e.render=E),G!=null&&(e.inheritAttrs=G),K&&(e.components=K),ie&&(e.directives=ie)}function Op(e,t,n=Qe){Y(e)&&(e=Oi(e));for(const r in e){const o=e[r];let i;pe(o)?"default"in o?i=Pn(o.from||r,o.default,!0):i=Pn(o.from||r):i=Pn(o),Me(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[r]=i}}function _l(e,t,n){it(Y(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ic(e,t,n,r){const o=r.includes(".")?Xc(n,r):()=>n[r];if(we(e)){const i=t[e];Q(i)&&$t(o,i)}else if(Q(e))$t(o,e.bind(n));else if(pe(e))if(Y(e))e.forEach(i=>Ic(i,t,n,r));else{const i=Q(e.handler)?e.handler.bind(n):t[e.handler];Q(i)&&$t(o,i,e)}}function Ts(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,l=i.get(t);let a;return l?a=l:!o.length&&!n&&!r?a=t:(a={},o.length&&o.forEach(c=>to(a,c,s,!0)),to(a,t,s)),pe(t)&&i.set(t,a),a}function to(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&to(e,i,n,!0),o&&o.forEach(s=>to(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const l=kp[s]||n&&n[s];e[s]=l?l(e[s],t[s]):t[s]}return e}const kp={data:yl,props:vl,emits:vl,methods:Gn,computed:Gn,beforeCreate:He,created:He,beforeMount:He,mounted:He,beforeUpdate:He,updated:He,beforeDestroy:He,beforeUnmount:He,destroyed:He,unmounted:He,activated:He,deactivated:He,errorCaptured:He,serverPrefetch:He,components:Gn,directives:Gn,watch:Np,provide:yl,inject:Ip};function yl(e,t){return t?e?function(){return Ie(Q(e)?e.call(this,this):e,Q(t)?t.call(this,this):t)}:t:e}function Ip(e,t){return Gn(Oi(e),Oi(t))}function Oi(e){if(Y(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function He(e,t){return e?[...new Set([].concat(e,t))]:t}function Gn(e,t){return e?Ie(Object.create(null),e,t):t}function vl(e,t){return e?Y(e)&&Y(t)?[...new Set([...e,...t])]:Ie(Object.create(null),gl(e),gl(t??{})):t}function Np(e,t){if(!e)return t;if(!t)return e;const n=Ie(Object.create(null),e);for(const r in t)n[r]=He(e[r],t[r]);return n}function Nc(){return{app:null,config:{isNativeTag:ud,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 Dp=0;function $p(e,t){return function(r,o=null){Q(r)||(r=Ie({},r)),o!=null&&!pe(o)&&(o=null);const i=Nc(),s=new WeakSet;let l=!1;const a=i.app={_uid:Dp++,_component:r,_props:o,_container:null,_context:i,_instance:null,version:su,get config(){return i.config},set config(c){},use(c,...u){return s.has(c)||(c&&Q(c.install)?(s.add(c),c.install(a,...u)):Q(c)&&(s.add(c),c(a,...u))),a},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),a},component(c,u){return u?(i.components[c]=u,a):i.components[c]},directive(c,u){return u?(i.directives[c]=u,a):i.directives[c]},mount(c,u,f){if(!l){const d=z(r,o);return d.appContext=i,f===!0?f="svg":f===!1&&(f=void 0),u&&t?t(d,c):e(d,c,f),l=!0,a._container=c,c.__vue_app__=a,Mo(d.component)}},unmount(){l&&(e(null,a._container),delete a._container.__vue_app__)},provide(c,u){return i.provides[c]=u,a},runWithContext(c){const u=xn;xn=a;try{return c()}finally{xn=u}}};return a}}let xn=null;function Dc(e,t){if(Ce){let n=Ce.provides;const r=Ce.parent&&Ce.parent.provides;r===n&&(n=Ce.provides=Object.create(r)),n[e]=t}}function Pn(e,t,n=!1){const r=Ce||Se;if(r||xn){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:xn._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Q(t)?t.call(r&&r.proxy):t}}function $c(){return!!(Ce||Se||xn)}const Mc={},Vc=()=>Object.create(Mc),Hc=e=>Object.getPrototypeOf(e)===Mc;function Mp(e,t,n,r=!1){const o={},i=Vc();e.propsDefaults=Object.create(null),Bc(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=r?o:yn(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function Vp(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,l=fe(o),[a]=e.propsOptions;let c=!1;if((r||s>0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Io(e.emitsOptions,d))continue;const p=t[d];if(a)if(ue(i,d))p!==i[d]&&(i[d]=p,c=!0);else{const h=gt(d);o[h]=ki(a,l,h,p,e,!1)}else p!==i[d]&&(i[d]=p,c=!0)}}}else{Bc(e,t,o,i)&&(c=!0);let u;for(const f in l)(!t||!ue(t,f)&&((u=cn(f))===f||!ue(t,u)))&&(a?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=ki(a,l,f,void 0,e,!0)):delete o[f]);if(i!==l)for(const f in i)(!t||!ue(t,f))&&(delete i[f],c=!0)}c&&Ct(e.attrs,"set","")}function Bc(e,t,n,r){const[o,i]=e.propsOptions;let s=!1,l;if(t)for(let a in t){if(En(a))continue;const c=t[a];let u;o&&ue(o,u=gt(a))?!i||!i.includes(u)?n[u]=c:(l||(l={}))[u]=c:Io(e.emitsOptions,a)||(!(a in r)||c!==r[a])&&(r[a]=c,s=!0)}if(i){const a=fe(n),c=l||_e;for(let u=0;u<i.length;u++){const f=i[u];n[f]=ki(o,a,f,c[f],e,!ue(c,f))}}return s}function ki(e,t,n,r,o,i){const s=e[n];if(s!=null){const l=ue(s,"default");if(l&&r===void 0){const a=s.default;if(s.type!==Function&&!s.skipFactory&&Q(a)){const{propsDefaults:c}=o;if(n in c)r=c[n];else{const u=sn(o);r=c[n]=a.call(null,t),u()}}else r=a}s[0]&&(i&&!l?r=!1:s[1]&&(r===""||r===cn(n))&&(r=!0))}return r}function jc(e,t,n=!1){const r=t.propsCache,o=r.get(e);if(o)return o;const i=e.props,s={},l=[];let a=!1;if(!Q(e)){const u=f=>{a=!0;const[d,p]=jc(f,t,!0);Ie(s,d),p&&l.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!a)return pe(e)&&r.set(e,bn),bn;if(Y(i))for(let u=0;u<i.length;u++){const f=gt(i[u]);bl(f)&&(s[f]=_e)}else if(i)for(const u in i){const f=gt(u);if(bl(f)){const d=i[u],p=s[f]=Y(d)||Q(d)?{type:d}:Ie({},d);if(p){const h=Tl(Boolean,p.type),m=Tl(String,p.type);p[0]=h>-1,p[1]=m<0||h<m,(h>-1||ue(p,"default"))&&l.push(f)}}}const c=[s,l];return pe(e)&&r.set(e,c),c}function bl(e){return e[0]!=="$"&&!En(e)}function wl(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function El(e,t){return wl(e)===wl(t)}function Tl(e,t){return Y(t)?t.findIndex(n=>El(n,e)):Q(t)&&El(t,e)?0:-1}const Fc=e=>e[0]==="_"||e==="$stable",Cs=e=>Y(e)?e.map(Ye):[Ye(e)],Hp=(e,t,n)=>{if(t._n)return t;const r=oe((...o)=>Cs(t(...o)),n);return r._c=!1,r},Uc=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Fc(o))continue;const i=e[o];if(Q(i))t[o]=Hp(o,i,r);else if(i!=null){const s=Cs(i);t[o]=()=>s}}},Gc=(e,t)=>{const n=Cs(t);e.slots.default=()=>n},Bp=(e,t)=>{const n=e.slots=Vc();if(e.vnode.shapeFlag&32){const r=t._;r?(Ie(n,t),Xa(n,"_",r,!0)):Uc(t,n)}else t&&Gc(e,t)},jp=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,s=_e;if(r.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(Ie(o,t),!n&&l===1&&delete o._):(i=!t.$stable,Uc(t,o)),s=t}else t&&(Gc(e,t),s={default:1});if(i)for(const l in o)!Fc(l)&&s[l]==null&&delete o[l]};function no(e,t,n,r,o=!1){if(Y(e)){e.forEach((d,p)=>no(d,t&&(Y(t)?t[p]:t),n,r,o));return}if(Sn(r)&&!o)return;const i=r.shapeFlag&4?Mo(r.component):r.el,s=o?null:i,{i:l,r:a}=e,c=t&&t.r,u=l.refs===_e?l.refs={}:l.refs,f=l.setupState;if(c!=null&&c!==a&&(we(c)?(u[c]=null,ue(f,c)&&(f[c]=null)):Me(c)&&(c.value=null)),Q(a))Dt(a,l,12,[s,u]);else{const d=we(a),p=Me(a);if(d||p){const h=()=>{if(e.f){const m=d?ue(f,a)?f[a]:u[a]:a.value;o?Y(m)&&ls(m,i):Y(m)?m.includes(i)||m.push(i):d?(u[a]=[i],ue(f,a)&&(f[a]=u[a])):(a.value=[i],e.k&&(u[e.k]=a.value))}else d?(u[a]=s,ue(f,a)&&(f[a]=s)):p&&(a.value=s,e.k&&(u[e.k]=s))};s?(h.id=-1,Ue(h,n)):h()}}}let Cl=!1;const gn=()=>{Cl||(console.error("Hydration completed but contains mismatches."),Cl=!0)},Fp=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Up=e=>e.namespaceURI.includes("MathML"),Pr=e=>{if(Fp(e))return"svg";if(Up(e))return"mathml"},Rr=e=>e.nodeType===8;function Gp(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:s,remove:l,insert:a,createComment:c}}=e,u=(_,T)=>{if(!T.hasChildNodes()){n(null,_,T),Zr(),T._vnode=_;return}f(T.firstChild,_,null,null,null),Zr(),T._vnode=_},f=(_,T,E,x,R,V=!1)=>{V=V||!!T.dynamicChildren;const F=Rr(_)&&_.data==="[",A=()=>m(_,T,E,x,R,F),{type:G,ref:K,shapeFlag:ie,patchFlag:ne}=T;let ce=_.nodeType;T.el=_,ne===-2&&(V=!1,T.dynamicChildren=null);let B=null;switch(G){case kn:ce!==3?T.children===""?(a(T.el=o(""),s(_),_),B=_):B=A():(_.data!==T.children&&(gn(),_.data=T.children),B=i(_));break;case at:S(_)?(B=i(_),C(T.el=_.content.firstChild,_,E)):ce!==8||F?B=A():B=i(_);break;case Kn:if(F&&(_=i(_),ce=_.nodeType),ce===1||ce===3){B=_;const X=!T.children.length;for(let W=0;W<T.staticCount;W++)X&&(T.children+=B.nodeType===1?B.outerHTML:B.data),W===T.staticCount-1&&(T.anchor=B),B=i(B);return F?i(B):B}else A();break;case ye:F?B=h(_,T,E,x,R,V):B=A();break;default:if(ie&1)(ce!==1||T.type.toLowerCase()!==_.tagName.toLowerCase())&&!S(_)?B=A():B=d(_,T,E,x,R,V);else if(ie&6){T.slotScopeIds=R;const X=s(_);if(F?B=v(_):Rr(_)&&_.data==="teleport start"?B=v(_,_.data,"teleport end"):B=i(_),t(T,X,null,E,x,Pr(X),V),Sn(T)){let W;F?(W=z(ye),W.anchor=B?B.previousSibling:X.lastChild):W=_.nodeType===3?le(""):z("div"),W.el=_,T.component.subTree=W}}else ie&64?ce!==8?B=A():B=T.type.hydrate(_,T,E,x,R,V,e,p):ie&128&&(B=T.type.hydrate(_,T,E,x,Pr(s(_)),R,V,e,f))}return K!=null&&no(K,null,x,T),B},d=(_,T,E,x,R,V)=>{V=V||!!T.dynamicChildren;const{type:F,props:A,patchFlag:G,shapeFlag:K,dirs:ie,transition:ne}=T,ce=F==="input"||F==="option";if(ce||G!==-1){ie&&ft(T,null,E,"created");let B=!1;if(S(_)){B=zc(x,ne)&&E&&E.vnode.props&&E.vnode.props.appear;const W=_.content.firstChild;B&&ne.beforeEnter(W),C(W,_,E),T.el=_=W}if(K&16&&!(A&&(A.innerHTML||A.textContent))){let W=p(_.firstChild,T,_,E,x,R,V);for(;W;){gn();const Re=W;W=W.nextSibling,l(Re)}}else K&8&&_.textContent!==T.children&&(gn(),_.textContent=T.children);if(A)if(ce||!V||G&48)for(const W in A)(ce&&(W.endsWith("value")||W==="indeterminate")||mr(W)&&!En(W)||W[0]===".")&&r(_,W,null,A[W],void 0,void 0,E);else A.onClick&&r(_,"onClick",null,A.onClick,void 0,void 0,E);let X;(X=A&&A.onVnodeBeforeMount)&&Xe(X,E,T),ie&&ft(T,null,E,"beforeMount"),((X=A&&A.onVnodeMounted)||ie||B)&&Ac(()=>{X&&Xe(X,E,T),B&&ne.enter(_),ie&&ft(T,null,E,"mounted")},x)}return _.nextSibling},p=(_,T,E,x,R,V,F)=>{F=F||!!T.dynamicChildren;const A=T.children,G=A.length;for(let K=0;K<G;K++){const ie=F?A[K]:A[K]=Ye(A[K]);_?_=f(_,ie,x,R,V,F):ie.type===kn&&!ie.children?a(ie.el=o(""),E):(gn(),n(null,ie,E,null,x,R,Pr(E),V))}return _},h=(_,T,E,x,R,V)=>{const{slotScopeIds:F}=T;F&&(R=R?R.concat(F):F);const A=s(_),G=p(i(_),T,A,E,x,R,V);return G&&Rr(G)&&G.data==="]"?i(T.anchor=G):(gn(),a(T.anchor=c("]"),A,G),G)},m=(_,T,E,x,R,V)=>{if(gn(),T.el=null,V){const G=v(_);for(;;){const K=i(_);if(K&&K!==G)l(K);else break}}const F=i(_),A=s(_);return l(_),n(null,T,A,F,E,x,Pr(A),R),F},v=(_,T="[",E="]")=>{let x=0;for(;_;)if(_=i(_),_&&Rr(_)&&(_.data===T&&x++,_.data===E)){if(x===0)return i(_);x--}return _},C=(_,T,E)=>{const x=T.parentNode;x&&x.replaceChild(_,T);let R=E;for(;R;)R.vnode.el===T&&(R.vnode.el=R.subTree.el=_),R=R.parent},S=_=>_.nodeType===1&&_.tagName.toLowerCase()==="template";return[u,f]}const Ue=Ac;function Wp(e){return Wc(e)}function zp(e){return Wc(e,Gp)}function Wc(e,t){const n=Ya();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:s,createText:l,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=Qe,insertStaticContent:h}=e,m=(y,w,P,L=null,O=null,$=null,H=void 0,D=null,M=!!w.dynamicChildren)=>{if(y===w)return;y&&!It(y,w)&&(L=wr(y),ct(y,O,$,!0),y=null),w.patchFlag===-2&&(M=!1,w.dynamicChildren=null);const{type:k,ref:U,shapeFlag:J}=w;switch(k){case kn:v(y,w,P,L);break;case at:C(y,w,P,L);break;case Kn:y==null&&S(w,P,L,H);break;case ye:K(y,w,P,L,O,$,H,D,M);break;default:J&1?E(y,w,P,L,O,$,H,D,M):J&6?ie(y,w,P,L,O,$,H,D,M):(J&64||J&128)&&k.process(y,w,P,L,O,$,H,D,M,hn)}U!=null&&O&&no(U,y&&y.ref,$,w||y,!w)},v=(y,w,P,L)=>{if(y==null)r(w.el=l(w.children),P,L);else{const O=w.el=y.el;w.children!==y.children&&c(O,w.children)}},C=(y,w,P,L)=>{y==null?r(w.el=a(w.children||""),P,L):w.el=y.el},S=(y,w,P,L)=>{[y.el,y.anchor]=h(y.children,w,P,L,y.el,y.anchor)},_=({el:y,anchor:w},P,L)=>{let O;for(;y&&y!==w;)O=d(y),r(y,P,L),y=O;r(w,P,L)},T=({el:y,anchor:w})=>{let P;for(;y&&y!==w;)P=d(y),o(y),y=P;o(w)},E=(y,w,P,L,O,$,H,D,M)=>{w.type==="svg"?H="svg":w.type==="math"&&(H="mathml"),y==null?x(w,P,L,O,$,H,D,M):F(y,w,O,$,H,D,M)},x=(y,w,P,L,O,$,H,D)=>{let M,k;const{props:U,shapeFlag:J,transition:q,dirs:ee}=y;if(M=y.el=s(y.type,$,U&&U.is,U),J&8?u(M,y.children):J&16&&V(y.children,M,null,L,O,oi(y,$),H,D),ee&&ft(y,null,L,"created"),R(M,y,y.scopeId,H,L),U){for(const ge in U)ge!=="value"&&!En(ge)&&i(M,ge,null,U[ge],$,y.children,L,O,bt);"value"in U&&i(M,"value",null,U.value,$),(k=U.onVnodeBeforeMount)&&Xe(k,L,y)}ee&&ft(y,null,L,"beforeMount");const se=zc(O,q);se&&q.beforeEnter(M),r(M,w,P),((k=U&&U.onVnodeMounted)||se||ee)&&Ue(()=>{k&&Xe(k,L,y),se&&q.enter(M),ee&&ft(y,null,L,"mounted")},O)},R=(y,w,P,L,O)=>{if(P&&p(y,P),L)for(let $=0;$<L.length;$++)p(y,L[$]);if(O){let $=O.subTree;if(w===$){const H=O.vnode;R(y,H,H.scopeId,H.slotScopeIds,O.parent)}}},V=(y,w,P,L,O,$,H,D,M=0)=>{for(let k=M;k<y.length;k++){const U=y[k]=D?Ot(y[k]):Ye(y[k]);m(null,U,w,P,L,O,$,H,D)}},F=(y,w,P,L,O,$,H)=>{const D=w.el=y.el;let{patchFlag:M,dynamicChildren:k,dirs:U}=w;M|=y.patchFlag&16;const J=y.props||_e,q=w.props||_e;let ee;if(P&&zt(P,!1),(ee=q.onVnodeBeforeUpdate)&&Xe(ee,P,w,y),U&&ft(w,y,P,"beforeUpdate"),P&&zt(P,!0),k?A(y.dynamicChildren,k,D,P,L,oi(w,O),$):H||W(y,w,D,null,P,L,oi(w,O),$,!1),M>0){if(M&16)G(D,w,J,q,P,L,O);else if(M&2&&J.class!==q.class&&i(D,"class",null,q.class,O),M&4&&i(D,"style",J.style,q.style,O),M&8){const se=w.dynamicProps;for(let ge=0;ge<se.length;ge++){const de=se[ge],Ae=J[de],nt=q[de];(nt!==Ae||de==="value")&&i(D,de,Ae,nt,O,y.children,P,L,bt)}}M&1&&y.children!==w.children&&u(D,w.children)}else!H&&k==null&&G(D,w,J,q,P,L,O);((ee=q.onVnodeUpdated)||U)&&Ue(()=>{ee&&Xe(ee,P,w,y),U&&ft(w,y,P,"updated")},L)},A=(y,w,P,L,O,$,H)=>{for(let D=0;D<w.length;D++){const M=y[D],k=w[D],U=M.el&&(M.type===ye||!It(M,k)||M.shapeFlag&70)?f(M.el):P;m(M,k,U,null,L,O,$,H,!0)}},G=(y,w,P,L,O,$,H)=>{if(P!==L){if(P!==_e)for(const D in P)!En(D)&&!(D in L)&&i(y,D,P[D],null,H,w.children,O,$,bt);for(const D in L){if(En(D))continue;const M=L[D],k=P[D];M!==k&&D!=="value"&&i(y,D,k,M,H,w.children,O,$,bt)}"value"in L&&i(y,"value",P.value,L.value,H)}},K=(y,w,P,L,O,$,H,D,M)=>{const k=w.el=y?y.el:l(""),U=w.anchor=y?y.anchor:l("");let{patchFlag:J,dynamicChildren:q,slotScopeIds:ee}=w;ee&&(D=D?D.concat(ee):ee),y==null?(r(k,P,L),r(U,P,L),V(w.children||[],P,U,O,$,H,D,M)):J>0&&J&64&&q&&y.dynamicChildren?(A(y.dynamicChildren,q,P,O,$,H,D),(w.key!=null||O&&w===O.subTree)&&qc(y,w,!0)):W(y,w,P,U,O,$,H,D,M)},ie=(y,w,P,L,O,$,H,D,M)=>{w.slotScopeIds=D,y==null?w.shapeFlag&512?O.ctx.activate(w,P,L,H,M):ne(w,P,L,O,$,H,M):ce(y,w,M)},ne=(y,w,P,L,O,$,H)=>{const D=y.component=rh(y,L,O);if(xs(y)&&(D.ctx.renderer=hn),oh(D),D.asyncDep){if(O&&O.registerDep(D,B,H),!y.el){const M=D.subTree=z(at);C(null,M,w,P)}}else B(D,y,w,P,O,$,H)},ce=(y,w,P)=>{const L=w.component=y.component;if(fp(y,w,P))if(L.asyncDep&&!L.asyncResolved){X(L,w,P);return}else L.next=w,op(L.update),L.effect.dirty=!0,L.update();else w.el=y.el,L.vnode=w},B=(y,w,P,L,O,$,H)=>{const D=()=>{if(y.isMounted){let{next:U,bu:J,u:q,parent:ee,vnode:se}=y;{const mn=Kc(y);if(mn){U&&(U.el=se.el,X(y,U,H)),mn.asyncDep.then(()=>{y.isUnmounted||D()});return}}let ge=U,de;zt(y,!1),U?(U.el=se.el,X(y,U,H)):U=se,J&&Br(J),(de=U.props&&U.props.onVnodeBeforeUpdate)&&Xe(de,ee,U,se),zt(y,!0);const Ae=ti(y),nt=y.subTree;y.subTree=Ae,m(nt,Ae,f(nt.el),wr(nt),y,O,$),U.el=Ae.el,ge===null&&bs(y,Ae.el),q&&Ue(q,O),(de=U.props&&U.props.onVnodeUpdated)&&Ue(()=>Xe(de,ee,U,se),O)}else{let U;const{el:J,props:q}=w,{bm:ee,m:se,parent:ge}=y,de=Sn(w);if(zt(y,!1),ee&&Br(ee),!de&&(U=q&&q.onVnodeBeforeMount)&&Xe(U,ge,w),zt(y,!0),J&&Qo){const Ae=()=>{y.subTree=ti(y),Qo(J,y.subTree,y,O,null)};de?w.type.__asyncLoader().then(()=>!y.isUnmounted&&Ae()):Ae()}else{const Ae=y.subTree=ti(y);m(null,Ae,P,L,y,O,$),w.el=Ae.el}if(se&&Ue(se,O),!de&&(U=q&&q.onVnodeMounted)){const Ae=w;Ue(()=>Xe(U,ge,Ae),O)}(w.shapeFlag&256||ge&&Sn(ge.vnode)&&ge.vnode.shapeFlag&256)&&y.a&&Ue(y.a,O),y.isMounted=!0,w=P=L=null}},M=y.effect=new fs(D,Qe,()=>ko(k),y.scope),k=y.update=()=>{M.dirty&&M.run()};k.id=y.uid,zt(y,!0),k()},X=(y,w,P)=>{w.component=y;const L=y.vnode.props;y.vnode=w,y.next=null,Vp(y,w.props,L,P),jp(y,w.children,P),Ft(),fl(y),Ut()},W=(y,w,P,L,O,$,H,D,M=!1)=>{const k=y&&y.children,U=y?y.shapeFlag:0,J=w.children,{patchFlag:q,shapeFlag:ee}=w;if(q>0){if(q&128){pn(k,J,P,L,O,$,H,D,M);return}else if(q&256){Re(k,J,P,L,O,$,H,D,M);return}}ee&8?(U&16&&bt(k,O,$),J!==k&&u(P,J)):U&16?ee&16?pn(k,J,P,L,O,$,H,D,M):bt(k,O,$,!0):(U&8&&u(P,""),ee&16&&V(J,P,L,O,$,H,D,M))},Re=(y,w,P,L,O,$,H,D,M)=>{y=y||bn,w=w||bn;const k=y.length,U=w.length,J=Math.min(k,U);let q;for(q=0;q<J;q++){const ee=w[q]=M?Ot(w[q]):Ye(w[q]);m(y[q],ee,P,null,O,$,H,D,M)}k>U?bt(y,O,$,!0,!1,J):V(w,P,L,O,$,H,D,M,J)},pn=(y,w,P,L,O,$,H,D,M)=>{let k=0;const U=w.length;let J=y.length-1,q=U-1;for(;k<=J&&k<=q;){const ee=y[k],se=w[k]=M?Ot(w[k]):Ye(w[k]);if(It(ee,se))m(ee,se,P,null,O,$,H,D,M);else break;k++}for(;k<=J&&k<=q;){const ee=y[J],se=w[q]=M?Ot(w[q]):Ye(w[q]);if(It(ee,se))m(ee,se,P,null,O,$,H,D,M);else break;J--,q--}if(k>J){if(k<=q){const ee=q+1,se=ee<U?w[ee].el:L;for(;k<=q;)m(null,w[k]=M?Ot(w[k]):Ye(w[k]),P,se,O,$,H,D,M),k++}}else if(k>q)for(;k<=J;)ct(y[k],O,$,!0),k++;else{const ee=k,se=k,ge=new Map;for(k=se;k<=q;k++){const qe=w[k]=M?Ot(w[k]):Ye(w[k]);qe.key!=null&&ge.set(qe.key,k)}let de,Ae=0;const nt=q-se+1;let mn=!1,Zs=0;const jn=new Array(nt);for(k=0;k<nt;k++)jn[k]=0;for(k=ee;k<=J;k++){const qe=y[k];if(Ae>=nt){ct(qe,O,$,!0);continue}let ut;if(qe.key!=null)ut=ge.get(qe.key);else for(de=se;de<=q;de++)if(jn[de-se]===0&&It(qe,w[de])){ut=de;break}ut===void 0?ct(qe,O,$,!0):(jn[ut-se]=k+1,ut>=Zs?Zs=ut:mn=!0,m(qe,w[ut],P,null,O,$,H,D,M),Ae++)}const el=mn?qp(jn):bn;for(de=el.length-1,k=nt-1;k>=0;k--){const qe=se+k,ut=w[qe],tl=qe+1<U?w[qe+1].el:L;jn[k]===0?m(null,ut,P,tl,O,$,H,D,M):mn&&(de<0||k!==el[de]?Wt(ut,P,tl,2):de--)}}},Wt=(y,w,P,L,O=null)=>{const{el:$,type:H,transition:D,children:M,shapeFlag:k}=y;if(k&6){Wt(y.component.subTree,w,P,L);return}if(k&128){y.suspense.move(w,P,L);return}if(k&64){H.move(y,w,P,hn);return}if(H===ye){r($,w,P);for(let J=0;J<M.length;J++)Wt(M[J],w,P,L);r(y.anchor,w,P);return}if(H===Kn){_(y,w,P);return}if(L!==2&&k&1&&D)if(L===0)D.beforeEnter($),r($,w,P),Ue(()=>D.enter($),O);else{const{leave:J,delayLeave:q,afterLeave:ee}=D,se=()=>r($,w,P),ge=()=>{J($,()=>{se(),ee&&ee()})};q?q($,se,ge):ge()}else r($,w,P)},ct=(y,w,P,L=!1,O=!1)=>{const{type:$,props:H,ref:D,children:M,dynamicChildren:k,shapeFlag:U,patchFlag:J,dirs:q,memoIndex:ee}=y;if(J===-2&&(O=!1),D!=null&&no(D,null,P,y,!0),ee!=null&&(w.renderCache[ee]=void 0),U&256){w.ctx.deactivate(y);return}const se=U&1&&q,ge=!Sn(y);let de;if(ge&&(de=H&&H.onVnodeBeforeUnmount)&&Xe(de,w,y),U&6)ld(y.component,P,L);else{if(U&128){y.suspense.unmount(P,L);return}se&&ft(y,null,w,"beforeUnmount"),U&64?y.type.remove(y,w,P,hn,L):k&&($!==ye||J>0&&J&64)?bt(k,w,P,!1,!0):($===ye&&J&384||!O&&U&16)&&bt(M,w,P),L&&Ys(y)}(ge&&(de=H&&H.onVnodeUnmounted)||se)&&Ue(()=>{de&&Xe(de,w,y),se&&ft(y,null,w,"unmounted")},P)},Ys=y=>{const{type:w,el:P,anchor:L,transition:O}=y;if(w===ye){sd(P,L);return}if(w===Kn){T(y);return}const $=()=>{o(P),O&&!O.persisted&&O.afterLeave&&O.afterLeave()};if(y.shapeFlag&1&&O&&!O.persisted){const{leave:H,delayLeave:D}=O,M=()=>H(P,$);D?D(y.el,$,M):M()}else $()},sd=(y,w)=>{let P;for(;y!==w;)P=d(y),o(y),y=P;o(w)},ld=(y,w,P)=>{const{bum:L,scope:O,update:$,subTree:H,um:D,m:M,a:k}=y;Sl(M),Sl(k),L&&Br(L),O.stop(),$&&($.active=!1,ct(H,y,w,P)),D&&Ue(D,w),Ue(()=>{y.isUnmounted=!0},w),w&&w.pendingBranch&&!w.isUnmounted&&y.asyncDep&&!y.asyncResolved&&y.suspenseId===w.pendingId&&(w.deps--,w.deps===0&&w.resolve())},bt=(y,w,P,L=!1,O=!1,$=0)=>{for(let H=$;H<y.length;H++)ct(y[H],w,P,L,O)},wr=y=>y.shapeFlag&6?wr(y.component.subTree):y.shapeFlag&128?y.suspense.next():d(y.anchor||y.el);let Xo=!1;const Qs=(y,w,P)=>{y==null?w._vnode&&ct(w._vnode,null,null,!0):m(w._vnode||null,y,w,null,null,null,P),Xo||(Xo=!0,fl(),Zr(),Xo=!1),w._vnode=y},hn={p:m,um:ct,m:Wt,r:Ys,mt:ne,mc:V,pc:W,pbc:A,n:wr,o:e};let Yo,Qo;return t&&([Yo,Qo]=t(hn)),{render:Qs,hydrate:Yo,createApp:$p(Qs,Yo)}}function oi({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function zt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function zc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function qc(e,t,n=!1){const r=e.children,o=t.children;if(Y(r)&&Y(o))for(let i=0;i<r.length;i++){const s=r[i];let l=o[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[i]=Ot(o[i]),l.el=s.el),!n&&l.patchFlag!==-2&&qc(s,l)),l.type===kn&&(l.el=s.el)}}function qp(e){const t=e.slice(),n=[0];let r,o,i,s,l;const a=e.length;for(r=0;r<a;r++){const c=e[r];if(c!==0){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(i=0,s=n.length-1;i<s;)l=i+s>>1,e[n[l]]<c?i=l+1:s=l;c<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=t[s];return n}function Kc(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Kc(t)}function Sl(e){if(e)for(let t=0;t<e.length;t++)e[t].active=!1}const Kp=Symbol.for("v-scx"),Jp=()=>Pn(Kp);function Jc(e,t){return Ss(e,null,t)}const Ar={};function $t(e,t,n){return Ss(e,t,n)}function Ss(e,t,{immediate:n,deep:r,flush:o,once:i,onTrack:s,onTrigger:l}=_e){if(t&&i){const x=t;t=(...R)=>{x(...R),E()}}const a=Ce,c=x=>r===!0?x:kt(x,r===!1?1:void 0);let u,f=!1,d=!1;if(Me(e)?(u=()=>e.value,f=Qr(e)):zn(e)?(u=()=>c(e),f=!0):Y(e)?(d=!0,f=e.some(x=>zn(x)||Qr(x)),u=()=>e.map(x=>{if(Me(x))return x.value;if(zn(x))return c(x);if(Q(x))return Dt(x,a,2)})):Q(e)?t?u=()=>Dt(e,a,2):u=()=>(p&&p(),it(e,a,3,[h])):u=Qe,t&&r){const x=u;u=()=>kt(x())}let p,h=x=>{p=_.onStop=()=>{Dt(x,a,4),p=_.onStop=void 0}},m;if(yr)if(h=Qe,t?n&&it(t,a,3,[u(),d?[]:void 0,h]):u(),o==="sync"){const x=Jp();m=x.__watcherHandles||(x.__watcherHandles=[])}else return Qe;let v=d?new Array(e.length).fill(Ar):Ar;const C=()=>{if(!(!_.active||!_.dirty))if(t){const x=_.run();(r||f||(d?x.some((R,V)=>Ht(R,v[V])):Ht(x,v)))&&(p&&p(),it(t,a,3,[x,v===Ar?void 0:d&&v[0]===Ar?[]:v,h]),v=x)}else _.run()};C.allowRecurse=!!t;let S;o==="sync"?S=C:o==="post"?S=()=>Ue(C,a&&a.suspense):(C.pre=!0,a&&(C.id=a.uid),S=()=>ko(C));const _=new fs(u,Qe,S),T=us(),E=()=>{_.stop(),T&&ls(T.effects,_)};return t?n?C():v=_.run():o==="post"?Ue(_.run.bind(_),a&&a.suspense):_.run(),m&&m.push(E),E}function Xp(e,t,n){const r=this.proxy,o=we(e)?e.includes(".")?Xc(r,e):()=>r[e]:e.bind(r,r);let i;Q(t)?i=t:(i=t.handler,n=t);const s=sn(this),l=Ss(o,i.bind(r),n);return s(),l}function Xc(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function kt(e,t=1/0,n){if(t<=0||!pe(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Me(e))kt(e.value,t,n);else if(Y(e))for(let r=0;r<e.length;r++)kt(e[r],t,n);else if(qa(e)||wn(e))e.forEach(r=>{kt(r,t,n)});else if(Ja(e)){for(const r in e)kt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&kt(e[r],t,n)}return e}const xs=e=>e.type.__isKeepAlive;function Yc(e,t){Zc(e,"a",t)}function Qc(e,t){Zc(e,"da",t)}function Zc(e,t,n=Ce){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Do(t,r,n),n){let o=n.parent;for(;o&&o.parent;)xs(o.parent.vnode)&&Yp(r,t,n,o),o=o.parent}}function Yp(e,t,n,r){const o=Do(t,e,r,!0);Lc(()=>{ls(r[t],o)},n)}function eu(e,t){e.shapeFlag&6&&e.component?eu(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}const Qp=e=>e.__isTeleport,ye=Symbol.for("v-fgt"),kn=Symbol.for("v-txt"),at=Symbol.for("v-cmt"),Kn=Symbol.for("v-stc"),Jn=[];let Ze=null;function j(e=!1){Jn.push(Ze=e?null:[])}function tu(){Jn.pop(),Ze=Jn[Jn.length-1]||null}let In=1;function xl(e){In+=e}function nu(e){return e.dynamicChildren=In>0?Ze||bn:null,tu(),In>0&&Ze&&Ze.push(e),e}function Z(e,t,n,r,o,i){return nu(N(e,t,n,r,o,i,!0))}function ve(e,t,n,r,o){return nu(z(e,t,n,r,o,!0))}function sr(e){return e?e.__v_isVNode===!0:!1}function It(e,t){return e.type===t.type&&e.key===t.key}const ru=({key:e})=>e??null,Fr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?we(e)||Me(e)||Q(e)?{i:Se,r:e,k:t,f:!!n}:e:null);function N(e,t=null,n=null,r=0,o=null,i=e===ye?0:1,s=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ru(t),ref:t&&Fr(t),scopeId:No,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:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Se};return l?(Rs(a,n),i&128&&e.normalize(a)):n&&(a.shapeFlag|=we(n)?8:16),In>0&&!s&&Ze&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&Ze.push(a),a}const z=Zp;function Zp(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===xc)&&(e=at),sr(e)){const l=Nn(e,t,!0);return n&&Rs(l,n),In>0&&!i&&Ze&&(l.shapeFlag&6?Ze[Ze.indexOf(e)]=l:Ze.push(l)),l.patchFlag=-2,l}if(ch(e)&&(e=e.__vccOpts),t){t=Ps(t);let{class:l,style:a}=t;l&&!we(l)&&(t.class=Te(l)),pe(a)&&(hc(a)&&!Y(a)&&(a=Ie({},a)),t.style=en(a))}const s=we(e)?1:pp(e)?128:Qp(e)?64:pe(e)?4:Q(e)?2:0;return N(e,t,n,r,o,s,i,!0)}function Ps(e){return e?hc(e)||Hc(e)?Ie({},e):e:null}function Nn(e,t,n=!1,r=!1){const{props:o,ref:i,patchFlag:s,children:l,transition:a}=e,c=t?$o(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&ru(c),ref:t&&t.ref?n&&i?Y(i)?i.concat(Fr(t)):[i,Fr(t)]:Fr(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ye?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Nn(e.ssContent),ssFallback:e.ssFallback&&Nn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&r&&eu(u,a.clone(u)),u}function le(e=" ",t=0){return z(kn,null,e,t)}function eh(e,t){const n=z(Kn,null,e);return n.staticCount=t,n}function $e(e="",t=!1){return t?(j(),ve(at,null,e)):z(at,null,e)}function Ye(e){return e==null||typeof e=="boolean"?z(at):Y(e)?z(ye,null,e.slice()):typeof e=="object"?Ot(e):z(kn,null,String(e))}function Ot(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Nn(e)}function Rs(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Y(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Rs(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!Hc(t)?t._ctx=Se:o===3&&Se&&(Se.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Q(t)?(t={default:t,_ctx:Se},n=32):(t=String(t),r&64?(n=16,t=[le(t)]):n=8);e.children=t,e.shapeFlag|=n}function $o(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=Te([t.class,r.class]));else if(o==="style")t.style=en([t.style,r.style]);else if(mr(o)){const i=t[o],s=r[o];s&&i!==s&&!(Y(i)&&i.includes(s))&&(t[o]=i?[].concat(i,s):s)}else o!==""&&(t[o]=r[o])}return t}function Xe(e,t,n,r=null){it(e,t,7,[n,r])}const th=Nc();let nh=0;function rh(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||th,i={uid:nh++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new nc(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:jc(r,o),emitsOptions:Ec(r,o),emit:null,emitted:null,propsDefaults:_e,inheritAttrs:r.inheritAttrs,ctx:_e,data:_e,props:_e,attrs:_e,slots:_e,refs:_e,setupState:_e,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 i.ctx={_:i},i.root=t?t.root:i,i.emit=sp.bind(null,i),e.ce&&e.ce(i),i}let Ce=null;const _r=()=>Ce||Se;let ro,Ii;{const e=Ya(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),i=>{o.length>1?o.forEach(s=>s(i)):o[0](i)}};ro=t("__VUE_INSTANCE_SETTERS__",n=>Ce=n),Ii=t("__VUE_SSR_SETTERS__",n=>yr=n)}const sn=e=>{const t=Ce;return ro(e),e.scope.on(),()=>{e.scope.off(),ro(t)}},Ni=()=>{Ce&&Ce.scope.off(),ro(null)};function ou(e){return e.vnode.shapeFlag&4}let yr=!1;function oh(e,t=!1){t&&Ii(t);const{props:n,children:r}=e.vnode,o=ou(e);Mp(e,n,o,t),Bp(e,r);const i=o?ih(e,t):void 0;return t&&Ii(!1),i}function ih(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Rp);const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?lh(e):null,i=sn(e);Ft();const s=Dt(r,e,0,[e.props,o]);if(Ut(),i(),as(s)){if(s.then(Ni,Ni),t)return s.then(l=>{Di(e,l,t)}).catch(l=>{Vn(l,e,0)});e.asyncDep=s}else Di(e,s,t)}else iu(e,t)}function Di(e,t,n){Q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:pe(t)&&(e.setupState=yc(t)),iu(e,n)}let Pl;function iu(e,t,n){const r=e.type;if(!e.render){if(!t&&Pl&&!r.render){const o=r.template||Ts(e).template;if(o){const{isCustomElement:i,compilerOptions:s}=e.appContext.config,{delimiters:l,compilerOptions:a}=r,c=Ie(Ie({isCustomElement:i,delimiters:l},s),a);r.render=Pl(o,c)}}e.render=r.render||Qe}{const o=sn(e);Ft();try{Lp(e)}finally{Ut(),o()}}}const sh={get(e,t){return We(e,"get",""),e[t]}};function lh(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,sh),slots:e.slots,emit:e.emit,expose:t}}function Mo(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(yc(qd(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in qn)return qn[n](e)},has(t,n){return n in t||n in qn}})):e.proxy}function ah(e,t=!0){return Q(e)?e.displayName||e.name:e.name||t&&e.__name}function ch(e){return Q(e)&&"__vccOpts"in e}const ke=(e,t)=>Kd(e,t,yr);function oo(e,t,n){const r=arguments.length;return r===2?pe(t)&&!Y(t)?sr(t)?z(e,null,[t]):z(e,t):z(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&sr(n)&&(n=[n]),z(e,t,n))}const su="3.4.31";/**
15
+ * @vue/runtime-dom v3.4.31
16
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
17
+ * @license MIT
18
+ **/const uh="http://www.w3.org/2000/svg",fh="http://www.w3.org/1998/Math/MathML",wt=typeof document<"u"?document:null,Rl=wt&&wt.createElement("template"),dh={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 o=t==="svg"?wt.createElementNS(uh,e):t==="mathml"?wt.createElementNS(fh,e):n?wt.createElement(e,{is:n}):wt.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>wt.createTextNode(e),createComment:e=>wt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>wt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const s=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{Rl.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const l=Rl.content;if(r==="svg"||r==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ph=Symbol("_vtc");function hh(e,t,n){const r=e[ph];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Al=Symbol("_vod"),mh=Symbol("_vsh"),gh=Symbol(""),_h=/(^|;)\s*display\s*:/;function yh(e,t,n){const r=e.style,o=we(n);let i=!1;if(n&&!o){if(t)if(we(t))for(const s of t.split(";")){const l=s.slice(0,s.indexOf(":")).trim();n[l]==null&&Ur(r,l,"")}else for(const s in t)n[s]==null&&Ur(r,s,"");for(const s in n)s==="display"&&(i=!0),Ur(r,s,n[s])}else if(o){if(t!==n){const s=r[gh];s&&(n+=";"+s),r.cssText=n,i=_h.test(n)}}else t&&e.removeAttribute("style");Al in e&&(e[Al]=i?r.display:"",e[mh]&&(r.display="none"))}const Ll=/\s*!important$/;function Ur(e,t,n){if(Y(n))n.forEach(r=>Ur(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=vh(e,t);Ll.test(n)?e.setProperty(cn(r),n.replace(Ll,""),"important"):e[r]=n}}const Ol=["Webkit","Moz","ms"],ii={};function vh(e,t){const n=ii[t];if(n)return n;let r=gt(t);if(r!=="filter"&&r in e)return ii[t]=r;r=Lo(r);for(let o=0;o<Ol.length;o++){const i=Ol[o]+r;if(i in e)return ii[t]=i}return t}const kl="http://www.w3.org/1999/xlink";function Il(e,t,n,r,o,i=Ed(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(kl,t.slice(6,t.length)):e.setAttributeNS(kl,t,n):n==null||i&&!Za(n)?e.removeAttribute(t):e.setAttribute(t,i?"":mt(n)?String(n):n)}function bh(e,t,n,r,o,i,s){if(t==="innerHTML"||t==="textContent"){r&&s(r,o,i),e[t]=n??"";return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){const c=l==="OPTION"?e.getAttribute("value")||"":e.value,u=n==null?"":String(n);(c!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let a=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=Za(n):n==null&&c==="string"?(n="",a=!0):c==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(t)}function lu(e,t,n,r){e.addEventListener(t,n,r)}function wh(e,t,n,r){e.removeEventListener(t,n,r)}const Nl=Symbol("_vei");function Eh(e,t,n,r,o=null){const i=e[Nl]||(e[Nl]={}),s=i[t];if(r&&s)s.value=r;else{const[l,a]=Th(t);if(r){const c=i[t]=xh(r,o);lu(e,l,c,a)}else s&&(wh(e,l,s,a),i[t]=void 0)}}const Dl=/(?:Once|Passive|Capture)$/;function Th(e){let t;if(Dl.test(e)){t={};let r;for(;r=e.match(Dl);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):cn(e.slice(2)),t]}let si=0;const Ch=Promise.resolve(),Sh=()=>si||(Ch.then(()=>si=0),si=Date.now());function xh(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;it(Ph(r,n.value),t,5,[r])};return n.value=e,n.attached=Sh(),n}function Ph(e,t){if(Y(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const $l=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Rh=(e,t,n,r,o,i,s,l,a)=>{const c=o==="svg";t==="class"?hh(e,r,c):t==="style"?yh(e,n,r):mr(t)?ss(t)||Eh(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ah(e,t,r,c))?(bh(e,t,r,i,s,l,a),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Il(e,t,r,c,s,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Il(e,t,r,c))};function Ah(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&$l(t)&&Q(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return $l(t)&&we(n)?!1:t in e}const Ml=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Y(t)?n=>Br(t,n):t},li=Symbol("_assign"),Lh={created(e,{value:t},n){e.checked=Xr(t,n.props.value),e[li]=Ml(n),lu(e,"change",()=>{e[li](Oh(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[li]=Ml(r),t!==n&&(e.checked=Xr(t,r.props.value))}};function Oh(e){return"_value"in e?e._value:e.value}const kh={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Ih=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const i=cn(o.key);if(t.some(s=>s===i||kh[s]===i))return e(o)})},au=Ie({patchProp:Rh},dh);let Xn,Vl=!1;function Nh(){return Xn||(Xn=Wp(au))}function Dh(){return Xn=Vl?Xn:zp(au),Vl=!0,Xn}const cu=(...e)=>{const t=Nh().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=fu(r);if(!o)return;const i=t._component;!Q(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,uu(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},$h=(...e)=>{const t=Dh().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=fu(r);if(o)return n(o,!0,uu(o))},t};function uu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function fu(e){return we(e)?document.querySelector(e):e}const Mh=/"(?:_|\\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*:/,Vh=/"(?: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*:/,Hh=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Bh(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){jh(e);return}return t}function jh(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function io(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!Hh.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Mh.test(e)||Vh.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Bh)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const Fh=/#/g,Uh=/&/g,Gh=/\//g,Wh=/=/g,As=/\+/g,zh=/%5e/gi,qh=/%60/gi,Kh=/%7c/gi,Jh=/%20/gi;function Xh(e){return encodeURI(""+e).replace(Kh,"|")}function $i(e){return Xh(typeof e=="string"?e:JSON.stringify(e)).replace(As,"%2B").replace(Jh,"+").replace(Fh,"%23").replace(Uh,"%26").replace(qh,"`").replace(zh,"^").replace(Gh,"%2F")}function ai(e){return $i(e).replace(Wh,"%3D")}function so(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Yh(e){return so(e.replace(As," "))}function Qh(e){return so(e.replace(As," "))}function Ls(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 o=Yh(r[1]);if(o==="__proto__"||o==="constructor")continue;const i=Qh(r[2]||"");t[o]===void 0?t[o]=i:Array.isArray(t[o])?t[o].push(i):t[o]=[t[o],i]}return t}function Zh(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${ai(e)}=${$i(n)}`).join("&"):`${ai(e)}=${$i(t)}`:ai(e)}function du(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Zh(t,e[t])).filter(Boolean).join("&")}const em=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,tm=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,nm=/^([/\\]\s*){2,}[^/\\]/,rm=/^[\s\0]*(blob|data|javascript|vbscript):$/i,om=/\/$|\/\?|\/#/,im=/^\.?\//;function Gt(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?em.test(e):tm.test(e)||(t.acceptRelative?nm.test(e):!1)}function sm(e){return!!e&&rm.test(e)}function Mi(e="",t){return t?om.test(e):e.endsWith("/")}function Vo(e="",t){if(!t)return(Mi(e)?e.slice(0,-1):e)||"/";if(!Mi(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");o>=0&&(n=e.slice(0,o),r=e.slice(o));const[i,...s]=n.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(s.length>0?`?${s.join("?")}`:"")+r}function lo(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Mi(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");if(o>=0&&(n=e.slice(0,o),r=e.slice(o),!n))return r;const[i,...s]=n.split("?");return i+"/"+(s.length>0?`?${s.join("?")}`:"")+r}function lm(e=""){return e.startsWith("/")}function Hl(e=""){return lm(e)?e:"/"+e}function am(e,t){if(hu(t)||Gt(e))return e;const n=Vo(t);return e.startsWith(n)?e:Hn(n,e)}function cm(e,t){if(hu(t))return e;const n=Vo(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function pu(e,t){const n=dm(e),r={...Ls(n.search),...t};return n.search=du(r),_u(n)}function hu(e){return!e||e==="/"}function um(e){return e&&e!=="/"}function Hn(e,...t){let n=e||"";for(const r of t.filter(o=>um(o)))if(n){const o=r.replace(im,"");n=lo(n)+o}else n=r;return n}function mu(...e){var s,l,a,c;const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let o=0;for(const u of n)if(!(!u||u==="/")){for(const[f,d]of u.split(t).entries())if(!(!d||d===".")){if(d===".."){if(r.length===1&&Gt(r[0]))continue;r.pop(),o--;continue}if(f===1&&((s=r[r.length-1])!=null&&s.endsWith(":/"))){r[r.length-1]+="/"+d;continue}r.push(d),o++}}let i=r.join("/");return o>=0?(l=n[0])!=null&&l.startsWith("/")&&!i.startsWith("/")?i="/"+i:(a=n[0])!=null&&a.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*o)+i,(c=n[n.length-1])!=null&&c.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function fm(e,t,n={}){return n.trailingSlash||(e=lo(e),t=lo(t)),n.leadingSlash||(e=Hl(e),t=Hl(t)),n.encoding||(e=so(e),t=so(t)),e===t}const gu=Symbol.for("ufo:protocolRelative");function dm(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!Gt(e,{acceptRelative:!0}))return Bl(e);const[,r="",o,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,s="",l=""]=i.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(l=l.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:a,search:c,hash:u}=Bl(l);return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:s,pathname:a,search:c,hash:u,[gu]:!r}}function Bl(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function _u(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",o=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[gu]?(e.protocol||"")+"//":"")+o+i+t+n+r}class pm extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function hm(e){var a,c,u,f,d;const t=((a=e.error)==null?void 0:a.message)||((c=e.error)==null?void 0:c.toString())||"",n=((u=e.request)==null?void 0:u.method)||((f=e.options)==null?void 0:f.method)||"GET",r=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",o=`[${n}] ${JSON.stringify(r)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",s=`${o}: ${i}${t?` ${t}`:""}`,l=new pm(s,e.error?{cause:e.error}:void 0);for(const p of["request","options","response"])Object.defineProperty(l,p,{get(){return e[p]}});for(const[p,h]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(l,p,{get(){return e.response&&e.response[h]}});return l}const mm=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function jl(e="GET"){return mm.has(e.toUpperCase())}function gm(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 _m=new Set(["image/svg","application/xml","application/xhtml","application/html"]),ym=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function vm(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return ym.test(t)?"json":_m.has(t)||t.startsWith("text/")?"text":"blob"}function bm(e,t,n=globalThis.Headers){const r={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(r.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(r.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){r.headers=new n((t==null?void 0:t.headers)||{});for(const[o,i]of new n((e==null?void 0:e.headers)||{}))r.headers.set(o,i)}return r}const wm=new Set([408,409,425,429,500,502,503,504]),Em=new Set([101,204,205,304]);function yu(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function o(l){const a=l.error&&l.error.name==="AbortError"&&!l.options.timeout||!1;if(l.options.retry!==!1&&!a){let u;typeof l.options.retry=="number"?u=l.options.retry:u=jl(l.options.method)?0:1;const f=l.response&&l.response.status||500;if(u>0&&(Array.isArray(l.options.retryStatusCodes)?l.options.retryStatusCodes.includes(f):wm.has(f))){const d=l.options.retryDelay||0;return d>0&&await new Promise(p=>setTimeout(p,d)),i(l.request,{...l.options,retry:u-1})}}const c=hm(l);throw Error.captureStackTrace&&Error.captureStackTrace(c,i),c}const i=async function(a,c={}){var p;const u={request:a,options:bm(c,e.defaults,n),response:void 0,error:void 0};u.options.method=(p=u.options.method)==null?void 0:p.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=am(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=pu(u.request,{...u.options.params,...u.options.query}))),u.options.body&&jl(u.options.method)&&(gm(u.options.body)?(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half")));let f;if(!u.options.signal&&u.options.timeout){const h=new r;f=setTimeout(()=>h.abort(),u.options.timeout),u.options.signal=h.signal}try{u.response=await t(u.request,u.options)}catch(h){return u.error=h,u.options.onRequestError&&await u.options.onRequestError(u),await o(u)}finally{f&&clearTimeout(f)}if(u.response.body&&!Em.has(u.response.status)&&u.options.method!=="HEAD"){const h=(u.options.parseResponse?"json":u.options.responseType)||vm(u.response.headers.get("content-type")||"");switch(h){case"json":{const m=await u.response.text(),v=u.options.parseResponse||io;u.response._data=v(m);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[h]()}}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 o(u)):u.response},s=async function(a,c){return(await i(a,c))._data};return s.raw=i,s.native=(...l)=>t(...l),s.create=(l={})=>yu({...e,defaults:{...e.defaults,...l}}),s}const Os=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")}(),Tm=Os.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),Cm=Os.Headers,Sm=Os.AbortController,xm=yu({fetch:Tm,Headers:Cm,AbortController:Sm}),Pm=xm,Rm=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},ao=Rm().app,Am=()=>ao.baseURL,Lm=()=>ao.buildAssetsDir,ks=(...e)=>mu(vu(),Lm(),...e),vu=(...e)=>{const t=ao.cdnURL||ao.baseURL;return e.length?mu(t,...e):t};globalThis.__buildAssetsURL=ks,globalThis.__publicAssetsURL=vu;globalThis.$fetch||(globalThis.$fetch=Pm.create({baseURL:Am()}));function Vi(e,t={},n){for(const r in e){const o=e[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Vi(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const Om={run:e=>e()},km=()=>Om,bu=typeof console.createTask<"u"?console.createTask:km;function Im(e,t){const n=t.shift(),r=bu(n);return e.reduce((o,i)=>o.then(()=>r.run(()=>i(...t))),Promise.resolve())}function Nm(e,t){const n=t.shift(),r=bu(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function ci(e,t){for(const n of[...e])n(t)}class Dm{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 o=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!r.allowDeprecated){let s=i.message;s||(s=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}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,o=(...i)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...i));return r=this.hook(t,o),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 o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Vi(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=Vi(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(Im,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Nm,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&ci(this._before,o);const i=t(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&o&&ci(this._after,o)}):(this._after&&o&&ci(this._after,o),i)}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 wu(){return new Dm}function $m(e={}){let t,n=!1;const r=s=>{if(t&&t!==s)throw new Error("Context conflict")};let o;if(e.asyncContext){const s=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;s?o=new s:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const i=()=>{if(o&&t===void 0){const s=o.getStore();if(s!==void 0)return s}return t};return{use:()=>{const s=i();if(s===void 0)throw new Error("Context is not available");return s},tryUse:()=>i(),set:(s,l)=>{l||r(s),t=s,n=!0},unset:()=>{t=void 0,n=!1},call:(s,l)=>{r(s),t=s;try{return o?o.run(s,l):l()}finally{n||(t=void 0)}},async callAsync(s,l){t=s;const a=()=>{t=s},c=()=>t===s?a:void 0;Hi.add(c);try{const u=o?o.run(s,l):l();return n||(t=void 0),await u}finally{Hi.delete(c)}}}}function Mm(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=$m({...e,...r})),t[n],t[n]}}}const co=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Fl="__unctx__",Vm=co[Fl]||(co[Fl]=Mm()),Hm=(e,t={})=>Vm.get(e,t),Ul="__unctx_async_handlers__",Hi=co[Ul]||(co[Ul]=new Set);function Eu(e){const t=[];for(const o of Hi){const i=o();i&&t.push(i)}const n=()=>{for(const o of t)o()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(o=>{throw n(),o})),[r,n]}const Bm={componentName:"NuxtLink"},jm=null,Fm="#__nuxt",Tu="nuxt-app",Gl=36e5;function Cu(e=Tu){return Hm(e,{asyncContext:!1})}const Um="__nuxt_plugin";function Gm(e){let t=0;const n={_name:Tu,_scope:Cd(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.12.4"},get vue(){return n.vueApp.version}},payload:yn({data:yn({}),state:on({}),once:new Set,_errors:yn({})}),static:{data:{}},runWithContext(o){return n._scope.active&&!us()?n._scope.run(()=>Wl(n,o)):Wl(n,o)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:yn({}),_payloadRevivers:{},...e};if(window.__NUXT__)for(const o in window.__NUXT__)switch(o){case"data":case"state":case"_errors":Object.assign(n.payload[o],window.__NUXT__[o]);break;default:n.payload[o]=window.__NUXT__[o]}n.hooks=wu(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,i)=>{const s="$"+o;Lr(n,s,i),Lr(n.vueApp.config.globalProperties,s,i)},Lr(n.vueApp,"$nuxt",n),Lr(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",i=>{n.callHook("app:chunkError",{error:i.payload})}),window.useNuxtApp=window.useNuxtApp||xe;const o=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",o)}const r=n.payload.config;return n.provide("config",r),n}function Wm(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function zm(e,t){if(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 qm(e,t){const n=[],r=[],o=[],i=[];let s=0;async function l(a){var u;const c=((u=a.dependsOn)==null?void 0:u.filter(f=>t.some(d=>d._name===f)&&!n.includes(f)))??[];if(c.length>0)r.push([new Set(c),a]);else{const f=zm(e,a).then(async()=>{a._name&&(n.push(a._name),await Promise.all(r.map(async([d,p])=>{d.has(a._name)&&(d.delete(a._name),d.size===0&&(s++,await l(p)))})))});a.parallel?o.push(f.catch(d=>i.push(d))):await f}}for(const a of t)Wm(e,a);for(const a of t)await l(a);if(await Promise.all(o),s)for(let a=0;a<s;a++)await Promise.all(o);if(i.length)throw i[0]}function vt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[Um]:!0,_name:t})}function Wl(e,t,n){const r=()=>t();return Cu(e._name).set(e),e.vueApp.runWithContext(r)}function Km(e){var n;let t;return $c()&&(t=(n=_r())==null?void 0:n.appContext.app.$nuxt),t=t||Cu(e).tryUse(),t||null}function xe(e){const t=Km(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function Dn(e){return xe().$config}function Lr(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function Jm(e,t){return{ctx:{table:e},matchAll:n=>xu(n,e)}}function Su(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,Su(o)])):new Map(Object.entries(e[n]));return t}function Xm(e){return Jm(Su(e))}function xu(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[i,s]of zl(t.wildcard))(e===i||e.startsWith(i+"/"))&&r.push(s);for(const[i,s]of zl(t.dynamic))if(e.startsWith(i+"/")){const l="/"+e.slice(i.length).split("/").splice(2).join("/");r.push(...xu(l,s))}const o=t.static.get(e);return o&&r.push(o),r.filter(Boolean)}function zl(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function ui(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Bi(e,t,n=".",r){if(!ui(t))return Bi(e,{},n,r);const o=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const s=e[i];s!=null&&(r&&r(o,i,s,n)||(Array.isArray(s)&&Array.isArray(o[i])?o[i]=[...s,...o[i]]:ui(s)&&ui(o[i])?o[i]=Bi(s,o[i],(n?`${n}.`:"")+i.toString(),r):o[i]=s))}return o}function Ym(e){return(...t)=>t.reduce((n,r)=>Bi(n,r,"",e),{})}const Qm=Ym();function Zm(e,t){try{return t in e}catch{return!1}}var eg=Object.defineProperty,tg=(e,t,n)=>t in e?eg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Kt=(e,t,n)=>(tg(e,typeof t!="symbol"?t+"":t,n),n);class ji extends Error{constructor(t,n={}){super(t,n),Kt(this,"statusCode",500),Kt(this,"fatal",!1),Kt(this,"unhandled",!1),Kt(this,"statusMessage"),Kt(this,"data"),Kt(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Fi(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Pu(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Kt(ji,"__h3_error__",!0);function ng(e){if(typeof e=="string")return new ji(e);if(rg(e))return e;const t=new ji(e.message??e.statusMessage??"",{cause:e.cause||e});if(Zm(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=Fi(e.statusCode,t.statusCode):e.status&&(t.statusCode=Fi(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Pu(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 rg(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const og=/[^\u0009\u0020-\u007E]/g;function Pu(e=""){return e.replace(og,"")}function Fi(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Ru=Symbol("route"),_t=()=>{var e;return(e=xe())==null?void 0:e.$router},Au=()=>$c()?Pn(Ru,xe()._route):xe()._route;const ig=()=>{try{if(xe()._processingMiddleware)return!0}catch{return!1}return!1},Lu=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?Ui(e):_t().resolve(e).href;if(t!=null&&t.open){const{target:a="_blank",windowFeatures:c={}}=t.open,u=Object.entries(c).filter(([f,d])=>d!==void 0).map(([f,d])=>`${f.toLowerCase()}=${d}`).join(", ");return open(n,a,u),Promise.resolve()}const r=Gt(n,{acceptRelative:!0}),o=(t==null?void 0:t.external)||r;if(o){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:a}=new URL(n,window.location.href);if(a&&sm(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const i=ig();if(!o&&i)return e;const s=_t(),l=xe();return o?(l._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,i?l.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?s.replace(e):s.push(e)};function Ui(e){return pu(e.path||"",e.query||{})+(e.hash||"")}const Ou="__nuxt_error",Is=()=>ep(xe().payload,"error"),sg=e=>{const t=Ns(e);try{const n=xe(),r=Is();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},lg=async(e={})=>{const t=xe(),n=Is();t.callHook("app:error:cleared",e),e.redirect&&await _t().replace(e.redirect),n.value=jm},ag=e=>!!e&&typeof e=="object"&&Ou in e,Ns=e=>{const t=ng(e);return Object.defineProperty(t,Ou,{value:!0,configurable:!1,writable:!1}),t},cg=-1,ug=-2,fg=-3,dg=-4,pg=-5,hg=-6;function mg(e,t){return gg(JSON.parse(e),t)}function gg(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function o(i,s=!1){if(i===cg)return;if(i===fg)return NaN;if(i===dg)return 1/0;if(i===pg)return-1/0;if(i===hg)return-0;if(s)throw new Error("Invalid input");if(i in r)return r[i];const l=n[i];if(!l||typeof l!="object")r[i]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const a=l[0],c=t==null?void 0:t[a];if(c)return r[i]=c(o(l[1]));switch(a){case"Date":r[i]=new Date(l[1]);break;case"Set":const u=new Set;r[i]=u;for(let p=1;p<l.length;p+=1)u.add(o(l[p]));break;case"Map":const f=new Map;r[i]=f;for(let p=1;p<l.length;p+=2)f.set(o(l[p]),o(l[p+1]));break;case"RegExp":r[i]=new RegExp(l[1],l[2]);break;case"Object":r[i]=Object(l[1]);break;case"BigInt":r[i]=BigInt(l[1]);break;case"null":const d=Object.create(null);r[i]=d;for(let p=1;p<l.length;p+=2)d[l[p]]=o(l[p+1]);break;default:throw new Error(`Unknown type ${a}`)}}else{const a=new Array(l.length);r[i]=a;for(let c=0;c<l.length;c+=1){const u=l[c];u!==ug&&(a[c]=o(u))}}else{const a={};r[i]=a;for(const c in l){const u=l[c];a[c]=o(u)}}return r[i]}return o(0)}function _g(e){return Array.isArray(e)?e:[e]}const yg=["title","titleTemplate","script","style","noscript"],Gr=["base","meta","link","style","script","noscript"],vg=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],bg=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],ku=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],wg=typeof window<"u";function Ds(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 ql(e){return e._h||Ds(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function Iu(e,t){const{props:n,tag:r}=e;if(bg.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const o=["id"];r==="meta"&&o.push("name","property","http-equiv");for(const i of o)if(typeof n[i]<"u"){const s=String(n[i]);return`${r}:${i}:${s}`}return!1}function Kl(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function Eg(e,t,n){const r={tag:e,props:await Nu(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return ku.forEach(o=>{const i=typeof r.props[o]<"u"?r.props[o]:n[o];typeof i<"u"&&((!["innerHTML","textContent","children"].includes(o)||yg.includes(r.tag))&&(r[o==="children"?"innerHTML":o]=i),delete r.props[o])}),r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(o=>({...r,props:{...r.props,content:o}})):r}function Tg(e,t){var r;const n=e==="class"?" ":";";return typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,o])=>o).map(([o,i])=>e==="style"?`${o}:${i}`:o)),(r=String(Array.isArray(t)?t.join(n):t))==null?void 0:r.split(n).filter(o=>o.trim()).filter(Boolean).join(n)}async function Nu(e,t){for(const n of Object.keys(e)){if(["class","style"].includes(n)){e[n]=Tg(n,e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!ku.includes(n)){const r=String(e[n]),o=n.startsWith("data-");r==="true"||r===""?e[n]=o?"true":!0:e[n]||(o&&r==="false"?e[n]="false":delete e[n])}}return e}const Cg=10;async function Sg(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&vg.includes(n)).forEach(([n,r])=>{const o=_g(r);t.push(...o.map(i=>Eg(n,i,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<<Cg)+r,n))}const Jl={base:-10,title:10},Xl={critical:-80,high:-10,low:20};function uo(e){let t=100;const n=e.tagPriority;return typeof n=="number"?n:(e.tag==="meta"?(e.props["http-equiv"]==="content-security-policy"&&(t=-30),e.props.charset&&(t=-20),e.props.name==="viewport"&&(t=-15)):e.tag==="link"&&e.props.rel==="preconnect"?t=20:e.tag in Jl&&(t=Jl[e.tag]),typeof n=="string"&&n in Xl?t+Xl[n]:t)}const xg=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Yl=["onload","onerror","onabort","onprogress","onloadstart"],Pt="%separator";function Wr(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;function r(s){let l;return["s","pageTitle"].includes(s)?l=t.pageTitle:s.includes(".")?l=s.split(".").reduce((a,c)=>a&&a[c]||void 0,t):l=t[s],typeof l<"u"?(l||"").replace(/"/g,'\\"'):!1}let o=e;try{o=decodeURI(e)}catch{}return(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(s=>{const l=r(s.slice(1));typeof l=="string"&&(e=e.replace(new RegExp(`\\${s}(\\W|$)`,"g"),(a,c)=>`${l}${c}`).trim())}),e.includes(Pt)&&(e.endsWith(Pt)&&(e=e.slice(0,-Pt.length).trim()),e.startsWith(Pt)&&(e=e.slice(Pt.length).trim()),e=e.replace(new RegExp(`\\${Pt}\\s*\\${Pt}`,"g"),Pt),e=Wr(e,{separator:n},n)),e}async function Du(e,t={}){var u;const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const o=(await e.resolveTags()).map(f=>({tag:f,id:Gr.includes(f.tag)?ql(f):f.tag,shouldRender:!0}));let i=e._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const d=(u=n[f])==null?void 0:u.children,p=[];for(const h of[...d].filter(m=>Gr.includes(m.tagName.toLowerCase()))){const m={tag:h.tagName.toLowerCase(),props:await Nu(h.getAttributeNames().reduce((S,_)=>({...S,[_]:h.getAttribute(_)}),{})),innerHTML:h.innerHTML};let v=1,C=Iu(m);for(;C&&p.find(S=>S._d===C);)C=`${C}:${v++}`;m._d=C||void 0,p.push(m),i.elMap[h.getAttribute("data-hid")||ql(m)]=h}}}i.pendingSideEffects={...i.sideEffects||{}},i.sideEffects={};function s(f,d,p){const h=`${f}:${d}`;i.sideEffects[h]=p,delete i.pendingSideEffects[h]}function l({id:f,$el:d,tag:p}){const h=p.tag.endsWith("Attrs");i.elMap[f]=d,h||(["textContent","innerHTML"].forEach(m=>{p[m]&&p[m]!==d[m]&&(d[m]=p[m])}),s(f,"el",()=>{var m;(m=i.elMap[f])==null||m.remove(),delete i.elMap[f]}));for(const[m,v]of Object.entries(p._eventHandlers||{}))d.getAttribute(`data-${m}`)!==""&&((p.tag==="bodyAttrs"?n.defaultView:d).addEventListener(m.replace("on",""),v.bind(d)),d.setAttribute(`data-${m}`,""));Object.entries(p.props).forEach(([m,v])=>{const C=`attr:${m}`;if(m==="class")for(const S of(v||"").split(" ").filter(Boolean))h&&s(f,`${C}:${S}`,()=>d.classList.remove(S)),!d.classList.contains(S)&&d.classList.add(S);else if(m==="style")for(const S of(v||"").split(";").filter(Boolean)){const[_,...T]=S.split(":").map(E=>E.trim());s(f,`${C}:${_}`,()=>{d.style.removeProperty(_)}),d.style.setProperty(_,T.join(":"))}else d.getAttribute(m)!==v&&d.setAttribute(m,v===!0?"":String(v)),h&&s(f,C,()=>d.removeAttribute(m))})}const a=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:d,shouldRender:p,id:h}=f;if(p){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||i.elMap[h],f.$el?l(f):Gr.includes(d.tag)&&a.push(f)}}for(const f of a){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),l(f),c[d]=c[d]||n.createDocumentFragment(),c[d].appendChild(f.$el)}for(const f of o)await e.hooks.callHook("dom:renderTag",f,n,s);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(i.pendingSideEffects).forEach(f=>f()),e._dom=i,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:o})}async function Pg(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await Du(e,t),delete e._domUpdatePromise,r()}))}function Rg(e){return t=>{var r,o;const n=((o=(r=t.resolvedOptions.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(i){Pg(i,e)}}}}}const Ag=["templateParams","htmlAttrs","bodyAttrs"],Lg={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=Iu(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(r=>{const o=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,i=t[o];if(i){let l=r==null?void 0:r.tagDuplicateStrategy;if(!l&&Ag.includes(r.tag)&&(l="merge"),l==="merge"){const a=i.props;["class","style"].forEach(c=>{a[c]&&(r.props[c]?(c==="style"&&!a[c].endsWith(";")&&(a[c]+=";"),r.props[c]=`${a[c]} ${r.props[c]}`):r.props[c]=a[c])}),t[o].props={...a,...r.props};return}else if(r._e===i._e){i._duped=i._duped||[],r._d=`${i._d}:${i._duped.length+1}`,i._duped.push(r);return}else if(uo(r)>uo(i))return}const s=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(Gr.includes(r.tag)&&s===0){delete t[o];return}t[o]=r});const n=[];Object.values(t).forEach(r=>{const o=r._duped;delete r._duped,n.push(r),o&&n.push(...o)}),e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},Og={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},kg=["script","link","bodyAttrs"],Ig=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags.filter(r=>kg.includes(r.tag)))Object.entries(n.props).forEach(([r,o])=>{r.startsWith("on")&&typeof o=="function"&&(e.ssr&&Yl.includes(r)?n.props[r]=`this.dataset.${r}fired = true`:delete n.props[r],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[r]=o)}),e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||Ds(n.props.src||n.props.href))},"dom:renderTag":function({$el:t,tag:n}){var r,o;for(const i of Object.keys((t==null?void 0:t.dataset)||{}).filter(s=>Yl.some(l=>`${l}fired`===s))){const s=i.replace("fired","");(o=(r=n._eventHandlers)==null?void 0:r[s])==null||o.call(t,new Event(s.replace("on","")))}}}}),Ng=["link","style","script","noscript"],Dg={hooks:{"tag:normalise":({tag:e})=>{e.key&&Ng.includes(e.tag)&&(e.props["data-hid"]=e._h=Ds(e.key))}}},$g={hooks:{"tags:resolve":e=>{const t=n=>{var r;return(r=e.tags.find(o=>o._d===n))==null?void 0:r._p};for(const{prefix:n,offset:r}of xg)for(const o of e.tags.filter(i=>typeof i.tagPriority=="string"&&i.tagPriority.startsWith(n))){const i=t(o.tagPriority.replace(n,""));typeof i<"u"&&(o._p=i+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>uo(n)-uo(r))}}},Mg={meta:"content",link:"href",htmlAttrs:"lang"},Vg=e=>({hooks:{"tags:resolve":t=>{var l;const{tags:n}=t,r=(l=n.find(a=>a.tag==="title"))==null?void 0:l.textContent,o=n.findIndex(a=>a.tag==="templateParams"),i=o!==-1?n[o].props:{},s=i.separator||"|";delete i.separator,i.pageTitle=Wr(i.pageTitle||r||"",i,s);for(const a of n.filter(c=>c.processTemplateParams!==!1)){const c=Mg[a.tag];c&&typeof a.props[c]=="string"?a.props[c]=Wr(a.props[c],i,s):(a.processTemplateParams===!0||["titleTemplate","title"].includes(a.tag))&&["innerHTML","textContent"].forEach(u=>{typeof a[u]=="string"&&(a[u]=Wr(a[u],i,s))})}e._templateParams=i,e._separator=s,t.tags=n.filter(a=>a.tag!=="templateParams")}}}),Hg={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(o=>o.tag==="titleTemplate");const r=t.findIndex(o=>o.tag==="title");if(r!==-1&&n!==-1){const o=Kl(t[n].textContent,t[r].textContent);o!==null?t[r].textContent=o||t[r].textContent:delete t[r]}else if(n!==-1){const o=Kl(t[n].textContent);o!==null&&(t[n].textContent=o,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}},Bg={hooks:{"tags:afterResolve":function(e){for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&["application/ld+json","application/json"].includes(t.props.type)?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let $u;function jg(e={}){const t=Fg(e);return t.use(Rg()),$u=t}function Ql(e,t){return!e||e==="server"&&t||e==="client"&&!t}function Fg(e={}){const t=wu();t.addHooks(e.hooks||{}),e.document=e.document||(wg?document:void 0);const n=!e.document,r=()=>{l.dirty=!0,t.callHook("entries:updated",l)};let o=0,i=[];const s=[],l={plugins:s,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return i},use(a){const c=typeof a=="function"?a(l):a;(!c.key||!s.some(u=>u.key===c.key))&&(s.push(c),Ql(c.mode,n)&&t.addHooks(c.hooks||{}))},push(a,c){c==null||delete c.head;const u={_i:o++,input:a,...c};return Ql(u.mode,n)&&(i.push(u),r()),{dispose(){i=i.filter(f=>f._i!==u._i),t.callHook("entries:updated",l),r()},patch(f){i=i.map(d=>(d._i===u._i&&(d.input=u.input=f),d)),r()}}},async resolveTags(){const a={tags:[],entries:[...i]};await t.callHook("entries:resolve",a);for(const c of a.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const f of await Sg(c)){const d={tag:f,entry:c,resolvedOptions:l.resolvedOptions};await t.callHook("tag:normalise",d),a.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a),a.tags},ssr:n};return[Lg,Og,Ig,Dg,$g,Vg,Hg,Bg,...(e==null?void 0:e.plugins)||[]].forEach(a=>l.use(a)),l.hooks.callHook("init",l),l}function Ug(){return $u}const Gg=su.startsWith("3");function Wg(e){return typeof e=="function"?e():te(e)}function fo(e,t=""){if(e instanceof Promise)return e;const n=Wg(e);return!e||!n?n:Array.isArray(n)?n.map(r=>fo(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,o])=>r==="titleTemplate"||r.startsWith("on")?[r,te(o)]:[r,fo(o,r)])):n}const zg={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=fo(t.input)}}},Mu="usehead";function qg(e){return{install(n){Gg&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Mu,e))}}.install}function Kg(e={}){e.domDelayFn=e.domDelayFn||(n=>un(()=>setTimeout(()=>n(),0)));const t=jg(e);return t.use(zg),t.install=qg(t),t}const Gi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Wi="__unhead_injection_handler__";function Jg(e){Gi[Wi]=e}function Xg(){if(Wi in Gi)return Gi[Wi]();const e=Pn(Mu);return e||Ug()}function Yg(e,t={}){const n=t.head||Xg();if(n)return n.ssr?n.push(e,t):Qg(n,e,t)}function Qg(e,t,n={}){const r=be(!1),o=be({});Jc(()=>{o.value=r.value?{}:fo(t)});const i=e.push(o.value,n);return $t(o,l=>{i.patch(l)}),_r()&&(Es(()=>{i.dispose()}),Qc(()=>{r.value=!0}),Yc(()=>{r.value=!1})),i}let zr,qr;function Zg(){return zr=$fetch(ks(`builds/meta/${Dn().app.buildId}.json`),{responseType:"json"}),zr.then(e=>{qr=Xm(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),zr}function Ho(){return zr||Zg()}async function $s(e){if(await Ho(),!qr)return console.error("[nuxt] Error creating app manifest matcher.",qr),{};try{return Qm({},...qr.matchAll(e).reverse())}catch(t){return console.error("[nuxt] Error matching route rules.",t),{}}}async function Zl(e,t={}){const n=await t_(e,t),r=xe(),o=r._payloadCache=r._payloadCache||{};return n in o||(o[n]=Hu(e).then(i=>i?Vu(n).then(s=>s||(delete o[n],null)):(o[n]=null,null))),o[n]}const e_="_payload.json";async function t_(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Gt(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=Dn(),o=t.hash||(t.fresh?Date.now():r.app.buildId),i=r.app.cdnURL,s=i&&await Hu(e)?i:r.app.baseURL;return Hn(s,n.pathname,e_+(o?`?${o}`:""))}async function Vu(e){const t=fetch(e).then(n=>n.text().then(Bu));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function Hu(e=Au().path){if(e=Vo(e),(await Ho()).prerendered.includes(e))return!0;const n=await $s(e);return!!n.prerender&&!n.redirect}let Or=null;async function n_(){if(Or)return Or;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Bu(e.textContent||""),n=e.dataset.src?await Vu(e.dataset.src):void 0;return Or={...t,...n,...window.__NUXT__},Or}async function Bu(e){return await mg(e,xe()._payloadRevivers)}function r_(e,t){xe()._payloadRevivers[e]=t}const ea={NuxtError:e=>Ns(e),EmptyShallowRef:e=>Si(e==="_"?void 0:e==="0n"?BigInt(0):io(e)),EmptyRef:e=>be(e==="_"?void 0:e==="0n"?BigInt(0):io(e)),ShallowRef:e=>Si(e),ShallowReactive:e=>yn(e),Ref:e=>be(e),Reactive:e=>on(e)},o_=vt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in ea)r_(r,ea[r]);Object.assign(e.payload,([t,n]=Eu(()=>e.runWithContext(n_)),t=await t,n(),t)),window.__NUXT__=e.payload}}),i_=[],s_=vt({name:"nuxt:head",enforce:"pre",setup(e){const t=Kg({plugins:i_});Jg(()=>xe().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await Du(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}}),l_=async e=>{let t,n;const r=([t,n]=Eu(()=>$s(e.path)),t=await t,n(),t);if(r.redirect)return Gt(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},a_=[l_];function fi(e){typeof e=="object"&&(e=_u({pathname:e.path||"",search:du(e.query||{}),hash:e.hash||""}));const t=new URL(e.toString(),window.location.href);return{path:t.pathname,fullPath:e,query:Ls(t.search),hash:t.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:e}}const c_=vt({name:"nuxt:router",enforce:"pre",setup(e){const t=cm(window.location.pathname,Dn().app.baseURL)+window.location.search+window.location.hash,n=[],r={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},o=(f,d)=>(r[f].push(d),()=>r[f].splice(r[f].indexOf(d),1)),i=Dn().app.baseURL,s=on(fi(t));async function l(f,d){try{const p=fi(f);for(const h of r["navigate:before"]){const m=await h(p,s);if(m===!1||m instanceof Error)return;if(typeof m=="string"&&m.length)return l(m,!0)}for(const h of r["resolve:before"])await h(p,s);Object.assign(s,p),window.history[d?"replaceState":"pushState"]({},"",Hn(i,p.fullPath)),e.isHydrating||await e.runWithContext(lg);for(const h of r["navigate:after"])await h(p,s)}catch(p){for(const h of r.error)await h(p)}}const c={currentRoute:ke(()=>s),isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:f=>l(f,!1),replace:f=>l(f,!0),back:()=>window.history.go(-1),go:f=>window.history.go(f),forward:()=>window.history.go(1),beforeResolve:f=>o("resolve:before",f),beforeEach:f=>o("navigate:before",f),afterEach:f=>o("navigate:after",f),onError:f=>o("error",f),resolve:fi,addRoute:(f,d)=>{n.push(d)},getRoutes:()=>n,hasRoute:f=>n.some(d=>d.name===f),removeRoute:f=>{const d=n.findIndex(p=>p.name===f);d!==-1&&n.splice(d,1)}};e.vueApp.component("RouterLink",ze({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(f,{slots:d})=>{const p=()=>l(f.to,f.replace);return()=>{var m;const h=c.resolve(f.to);return f.custom?(m=d.default)==null?void 0:m.call(d,{href:f.to,navigate:p,route:h}):oo("a",{href:f.to,onClick:v=>(v.preventDefault(),p())},d)}}})),window.addEventListener("popstate",f=>{const d=f.target.location;c.replace(d.href.replace(d.origin,""))}),e._route=s,e._middleware=e._middleware||{global:[],named:{}};const u=e.payload.state._layout;return e.hooks.hookOnce("app:created",async()=>{c.beforeEach(async(f,d)=>{f.meta=on(f.meta||{}),e.isHydrating&&u&&!On(f.meta.layout)&&(f.meta.layout=u),e._processingMiddleware=!0;{const p=new Set([...a_,...e._middleware.global]);{const h=await e.runWithContext(()=>$s(f.path));if(h.appMiddleware)for(const m in h.appMiddleware){const v=e._middleware.named[m];if(!v)return;h.appMiddleware[m]?p.add(v):p.delete(v)}}for(const h of p){const m=await e.runWithContext(()=>h(f,d));if(m!==!0&&(m||m===!1))return m}}}),c.afterEach(()=>{delete e._processingMiddleware}),await c.replace(t),fm(s.fullPath,t)||await e.runWithContext(()=>Lu(s.fullPath))}),{provide:{route:s,router:c}}}}),zi=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),u_=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Bo=e=>{const t=xe();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{zi(()=>e())}):zi(()=>e())},f_=vt({name:"nuxt:payload",setup(e){_t().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await Zl(t.path);r&&Object.assign(e.static.data,r.data)}),Bo(()=>{var t;e.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await Zl(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(Ho,1e3)})}}),d_=vt(()=>{const e=_t();Bo(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),p_=vt(e=>{let t;async function n(){const r=await Ho();t&&clearTimeout(t),t=setTimeout(n,Gl);try{const o=await $fetch(ks("builds/latest.json")+`?${Date.now()}`);o.id!==r.id&&e.hooks.callHook("app:manifest:update",o)}catch{}}Bo(()=>{t=setTimeout(n,Gl)})});function h_(e={}){const t=e.path||window.location.pathname;let n={};try{n=io(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0: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:xe().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const m_=vt({name:"nuxt:chunk-reload",setup(e){const t=_t(),n=Dn(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:i})=>{r.add(i)});function o(i){const l="href"in i&&i.href[0]==="#"?n.app.baseURL+i.href:Hn(n.app.baseURL,i.fullPath);h_({path:l,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((i,s)=>{r.has(i)&&o(s)})}}),g_=vt({name:"nuxt:global-components"}),__=vt(()=>{}),y_=["top","right","bottom","left"],ta=["start","end"],na=y_.reduce((e,t)=>e.concat(t,t+"-"+ta[0],t+"-"+ta[1]),[]),Yt=Math.min,Jt=Math.max,v_={left:"right",right:"left",bottom:"top",top:"bottom"},b_={start:"end",end:"start"};function qi(e,t,n){return Jt(e,Yt(t,n))}function fn(e,t){return typeof e=="function"?e(t):e}function yt(e){return e.split("-")[0]}function st(e){return e.split("-")[1]}function ju(e){return e==="x"?"y":"x"}function Ms(e){return e==="y"?"height":"width"}function ln(e){return["top","bottom"].includes(yt(e))?"y":"x"}function Vs(e){return ju(ln(e))}function Fu(e,t,n){n===void 0&&(n=!1);const r=st(e),o=Vs(e),i=Ms(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=ho(s)),[s,ho(s)]}function w_(e){const t=ho(e);return[po(e),t,po(t)]}function po(e){return e.replace(/start|end/g,t=>b_[t])}function E_(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:s;default:return[]}}function T_(e,t,n,r){const o=st(e);let i=E_(yt(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(po)))),i}function ho(e){return e.replace(/left|right|bottom|top/g,t=>v_[t])}function C_(e){return{top:0,right:0,bottom:0,left:0,...e}}function Uu(e){return typeof e!="number"?C_(e):{top:e,right:e,bottom:e,left:e}}function Yn(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function ra(e,t,n){let{reference:r,floating:o}=e;const i=ln(t),s=Vs(t),l=Ms(s),a=yt(t),c=i==="y",u=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,d=r[l]/2-o[l]/2;let p;switch(a){case"top":p={x:u,y:r.y-o.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-o.width,y:f};break;default:p={x:r.x,y:r.y}}switch(st(t)){case"start":p[s]-=d*(n&&c?-1:1);break;case"end":p[s]+=d*(n&&c?-1:1);break}return p}const S_=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,l=i.filter(Boolean),a=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:f}=ra(c,r,a),d=r,p={},h=0;for(let m=0;m<l.length;m++){const{name:v,fn:C}=l[m],{x:S,y:_,data:T,reset:E}=await C({x:u,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:c,platform:s,elements:{reference:e,floating:t}});u=S??u,f=_??f,p={...p,[v]:{...p[v],...T}},E&&h<=50&&(h++,typeof E=="object"&&(E.placement&&(d=E.placement),E.rects&&(c=E.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):E.rects),{x:u,y:f}=ra(c,d,a)),m=-1)}return{x:u,y:f,placement:d,strategy:o,middlewareData:p}};async function jo(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:l,strategy:a}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=fn(t,e),h=Uu(p),v=l[d?f==="floating"?"reference":"floating":f],C=Yn(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(v)))==null||n?v:v.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:a})),S=f==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),T=await(i.isElement==null?void 0:i.isElement(_))?await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1}:{x:1,y:1},E=Yn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:S,offsetParent:_,strategy:a}):S);return{top:(C.top-E.top+h.top)/T.y,bottom:(E.bottom-C.bottom+h.bottom)/T.y,left:(C.left-E.left+h.left)/T.x,right:(E.right-C.right+h.right)/T.x}}const x_=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:l,middlewareData:a}=t,{element:c,padding:u=0}=fn(e,t)||{};if(c==null)return{};const f=Uu(u),d={x:n,y:r},p=Vs(o),h=Ms(p),m=await s.getDimensions(c),v=p==="y",C=v?"top":"left",S=v?"bottom":"right",_=v?"clientHeight":"clientWidth",T=i.reference[h]+i.reference[p]-d[p]-i.floating[h],E=d[p]-i.reference[p],x=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let R=x?x[_]:0;(!R||!await(s.isElement==null?void 0:s.isElement(x)))&&(R=l.floating[_]||i.floating[h]);const V=T/2-E/2,F=R/2-m[h]/2-1,A=Yt(f[C],F),G=Yt(f[S],F),K=A,ie=R-m[h]-G,ne=R/2-m[h]/2+V,ce=qi(K,ne,ie),B=!a.arrow&&st(o)!=null&&ne!==ce&&i.reference[h]/2-(ne<K?A:G)-m[h]/2<0,X=B?ne<K?ne-K:ne-ie:0;return{[p]:d[p]+X,data:{[p]:ce,centerOffset:ne-ce-X,...B&&{alignmentOffset:X}},reset:B}}});function P_(e,t,n){return(e?[...n.filter(o=>st(o)===e),...n.filter(o=>st(o)!==e)]:n.filter(o=>yt(o)===o)).filter(o=>e?st(o)===e||(t?po(o)!==o:!1):!0)}const R_=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,o;const{rects:i,middlewareData:s,placement:l,platform:a,elements:c}=t,{crossAxis:u=!1,alignment:f,allowedPlacements:d=na,autoAlignment:p=!0,...h}=fn(e,t),m=f!==void 0||d===na?P_(f||null,p,d):d,v=await jo(t,h),C=((n=s.autoPlacement)==null?void 0:n.index)||0,S=m[C];if(S==null)return{};const _=Fu(S,i,await(a.isRTL==null?void 0:a.isRTL(c.floating)));if(l!==S)return{reset:{placement:m[0]}};const T=[v[yt(S)],v[_[0]],v[_[1]]],E=[...((r=s.autoPlacement)==null?void 0:r.overflows)||[],{placement:S,overflows:T}],x=m[C+1];if(x)return{data:{index:C+1,overflows:E},reset:{placement:x}};const R=E.map(A=>{const G=st(A.placement);return[A.placement,G&&u?A.overflows.slice(0,2).reduce((K,ie)=>K+ie,0):A.overflows[0],A.overflows]}).sort((A,G)=>A[1]-G[1]),F=((o=R.filter(A=>A[2].slice(0,st(A[0])?2:3).every(G=>G<=0))[0])==null?void 0:o[0])||R[0][0];return F!==l?{data:{index:C+1,overflows:E},reset:{placement:F}}:{}}}},A_=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:l,platform:a,elements:c}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0,...v}=fn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const C=yt(o),S=ln(l),_=yt(l)===l,T=await(a.isRTL==null?void 0:a.isRTL(c.floating)),E=d||(_||!m?[ho(l)]:w_(l)),x=h!=="none";!d&&x&&E.push(...T_(l,m,h,T));const R=[l,...E],V=await jo(t,v),F=[];let A=((r=i.flip)==null?void 0:r.overflows)||[];if(u&&F.push(V[C]),f){const ne=Fu(o,s,T);F.push(V[ne[0]],V[ne[1]])}if(A=[...A,{placement:o,overflows:F}],!F.every(ne=>ne<=0)){var G,K;const ne=(((G=i.flip)==null?void 0:G.index)||0)+1,ce=R[ne];if(ce)return{data:{index:ne,overflows:A},reset:{placement:ce}};let B=(K=A.filter(X=>X.overflows[0]<=0).sort((X,W)=>X.overflows[1]-W.overflows[1])[0])==null?void 0:K.placement;if(!B)switch(p){case"bestFit":{var ie;const X=(ie=A.filter(W=>{if(x){const Re=ln(W.placement);return Re===S||Re==="y"}return!0}).map(W=>[W.placement,W.overflows.filter(Re=>Re>0).reduce((Re,pn)=>Re+pn,0)]).sort((W,Re)=>W[1]-Re[1])[0])==null?void 0:ie[0];X&&(B=X);break}case"initialPlacement":B=l;break}if(o!==B)return{reset:{placement:B}}}return{}}}};async function L_(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=yt(n),l=st(n),a=ln(n)==="y",c=["left","top"].includes(s)?-1:1,u=i&&a?-1:1,f=fn(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return l&&typeof h=="number"&&(p=l==="end"?h*-1:h),a?{x:p*u,y:d*c}:{x:d*c,y:p*u}}const O_=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:l}=t,a=await L_(t,e);return s===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:o+a.x,y:i+a.y,data:{...a,placement:s}}}}},k_=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:v=>{let{x:C,y:S}=v;return{x:C,y:S}}},...a}=fn(e,t),c={x:n,y:r},u=await jo(t,a),f=ln(yt(o)),d=ju(f);let p=c[d],h=c[f];if(i){const v=d==="y"?"top":"left",C=d==="y"?"bottom":"right",S=p+u[v],_=p-u[C];p=qi(S,p,_)}if(s){const v=f==="y"?"top":"left",C=f==="y"?"bottom":"right",S=h+u[v],_=h-u[C];h=qi(S,h,_)}const m=l.fn({...t,[d]:p,[f]:h});return{...m,data:{x:m.x-n,y:m.y-r}}}}},I_=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:s=()=>{},...l}=fn(e,t),a=await jo(t,l),c=yt(n),u=st(n),f=ln(n)==="y",{width:d,height:p}=r.floating;let h,m;c==="top"||c==="bottom"?(h=c,m=u===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(m=c,h=u==="end"?"top":"bottom");const v=p-a.top-a.bottom,C=d-a.left-a.right,S=Yt(p-a[h],v),_=Yt(d-a[m],C),T=!t.middlewareData.shift;let E=S,x=_;if(f?x=u||T?Yt(_,C):C:E=u||T?Yt(S,v):v,T&&!u){const V=Jt(a.left,0),F=Jt(a.right,0),A=Jt(a.top,0),G=Jt(a.bottom,0);f?x=d-2*(V!==0||F!==0?V+F:Jt(a.left,a.right)):E=p-2*(A!==0||G!==0?A+G:Jt(a.top,a.bottom))}await s({...t,availableWidth:x,availableHeight:E});const R=await o.getDimensions(i.floating);return d!==R.width||p!==R.height?{reset:{rects:!0}}:{}}}};function et(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function pt(e){return et(e).getComputedStyle(e)}const oa=Math.min,Qn=Math.max,mo=Math.round;function Gu(e){const t=pt(e);let n=parseFloat(t.width),r=parseFloat(t.height);const o=e.offsetWidth,i=e.offsetHeight,s=mo(n)!==o||mo(r)!==i;return s&&(n=o,r=i),{width:n,height:r,fallback:s}}function jt(e){return zu(e)?(e.nodeName||"").toLowerCase():""}let kr;function Wu(){if(kr)return kr;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(kr=e.brands.map(t=>t.brand+"/"+t.version).join(" "),kr):navigator.userAgent}function ht(e){return e instanceof et(e).HTMLElement}function Mt(e){return e instanceof et(e).Element}function zu(e){return e instanceof et(e).Node}function ia(e){return typeof ShadowRoot>"u"?!1:e instanceof et(e).ShadowRoot||e instanceof ShadowRoot}function Fo(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=pt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function N_(e){return["table","td","th"].includes(jt(e))}function Ki(e){const t=/firefox/i.test(Wu()),n=pt(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(o=>n.willChange.includes(o))||["paint","layout","strict","content"].some(o=>{const i=n.contain;return i!=null&&i.includes(o)})}function qu(){return!/^((?!chrome|android).)*safari/i.test(Wu())}function Hs(e){return["html","body","#document"].includes(jt(e))}function Ku(e){return Mt(e)?e:e.contextElement}const Ju={x:1,y:1};function Rn(e){const t=Ku(e);if(!ht(t))return Ju;const n=t.getBoundingClientRect(),{width:r,height:o,fallback:i}=Gu(t);let s=(i?mo(n.width):n.width)/r,l=(i?mo(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}function lr(e,t,n,r){var o,i;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),l=Ku(e);let a=Ju;t&&(r?Mt(r)&&(a=Rn(r)):a=Rn(e));const c=l?et(l):window,u=!qu()&&n;let f=(s.left+(u&&((o=c.visualViewport)==null?void 0:o.offsetLeft)||0))/a.x,d=(s.top+(u&&((i=c.visualViewport)==null?void 0:i.offsetTop)||0))/a.y,p=s.width/a.x,h=s.height/a.y;if(l){const m=et(l),v=r&&Mt(r)?et(r):r;let C=m.frameElement;for(;C&&r&&v!==m;){const S=Rn(C),_=C.getBoundingClientRect(),T=getComputedStyle(C);_.x+=(C.clientLeft+parseFloat(T.paddingLeft))*S.x,_.y+=(C.clientTop+parseFloat(T.paddingTop))*S.y,f*=S.x,d*=S.y,p*=S.x,h*=S.y,f+=_.x,d+=_.y,C=et(C).frameElement}}return{width:p,height:h,top:d,right:f+p,bottom:d+h,left:f,x:f,y:d}}function Vt(e){return((zu(e)?e.ownerDocument:e.document)||window.document).documentElement}function Uo(e){return Mt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Xu(e){return lr(Vt(e)).left+Uo(e).scrollLeft}function ar(e){if(jt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ia(e)&&e.host||Vt(e);return ia(t)?t.host:t}function Yu(e){const t=ar(e);return Hs(t)?t.ownerDocument.body:ht(t)&&Fo(t)?t:Yu(t)}function go(e,t){var n;t===void 0&&(t=[]);const r=Yu(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=et(r);return o?t.concat(i,i.visualViewport||[],Fo(r)?r:[]):t.concat(r,go(r))}function sa(e,t,n){return t==="viewport"?Yn(function(r,o){const i=et(r),s=Vt(r),l=i.visualViewport;let a=s.clientWidth,c=s.clientHeight,u=0,f=0;if(l){a=l.width,c=l.height;const d=qu();(d||!d&&o==="fixed")&&(u=l.offsetLeft,f=l.offsetTop)}return{width:a,height:c,x:u,y:f}}(e,n)):Mt(t)?Yn(function(r,o){const i=lr(r,!0,o==="fixed"),s=i.top+r.clientTop,l=i.left+r.clientLeft,a=ht(r)?Rn(r):{x:1,y:1};return{width:r.clientWidth*a.x,height:r.clientHeight*a.y,x:l*a.x,y:s*a.y}}(t,n)):Yn(function(r){const o=Vt(r),i=Uo(r),s=r.ownerDocument.body,l=Qn(o.scrollWidth,o.clientWidth,s.scrollWidth,s.clientWidth),a=Qn(o.scrollHeight,o.clientHeight,s.scrollHeight,s.clientHeight);let c=-i.scrollLeft+Xu(r);const u=-i.scrollTop;return pt(s).direction==="rtl"&&(c+=Qn(o.clientWidth,s.clientWidth)-l),{width:l,height:a,x:c,y:u}}(Vt(e)))}function la(e){return ht(e)&&pt(e).position!=="fixed"?e.offsetParent:null}function aa(e){const t=et(e);let n=la(e);for(;n&&N_(n)&&pt(n).position==="static";)n=la(n);return n&&(jt(n)==="html"||jt(n)==="body"&&pt(n).position==="static"&&!Ki(n))?t:n||function(r){let o=ar(r);for(;ht(o)&&!Hs(o);){if(Ki(o))return o;o=ar(o)}return null}(e)||t}function D_(e,t,n){const r=ht(t),o=Vt(t),i=lr(e,!0,n==="fixed",t);let s={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(r||!r&&n!=="fixed")if((jt(t)!=="body"||Fo(o))&&(s=Uo(t)),ht(t)){const a=lr(t,!0);l.x=a.x+t.clientLeft,l.y=a.y+t.clientTop}else o&&(l.x=Xu(o));return{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}const $_={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=n==="clippingAncestors"?function(c,u){const f=u.get(c);if(f)return f;let d=go(c).filter(v=>Mt(v)&&jt(v)!=="body"),p=null;const h=pt(c).position==="fixed";let m=h?ar(c):c;for(;Mt(m)&&!Hs(m);){const v=pt(m),C=Ki(m);(h?C||p:C||v.position!=="static"||!p||!["absolute","fixed"].includes(p.position))?p=v:d=d.filter(S=>S!==m),m=ar(m)}return u.set(c,d),d}(t,this._c):[].concat(n),s=[...i,r],l=s[0],a=s.reduce((c,u)=>{const f=sa(t,u,o);return c.top=Qn(f.top,c.top),c.right=oa(f.right,c.right),c.bottom=oa(f.bottom,c.bottom),c.left=Qn(f.left,c.left),c},sa(t,l,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=ht(n),i=Vt(n);if(n===i)return t;let s={scrollLeft:0,scrollTop:0},l={x:1,y:1};const a={x:0,y:0};if((o||!o&&r!=="fixed")&&((jt(n)!=="body"||Fo(i))&&(s=Uo(n)),ht(n))){const c=lr(n);l=Rn(n),a.x=c.x+n.clientLeft,a.y=c.y+n.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-s.scrollLeft*l.x+a.x,y:t.y*l.y-s.scrollTop*l.y+a.y}},isElement:Mt,getDimensions:function(e){return ht(e)?Gu(e):e.getBoundingClientRect()},getOffsetParent:aa,getDocumentElement:Vt,getScale:Rn,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||aa,i=this.getDimensions;return{reference:D_(t,await o(n),r),floating:{x:0,y:0,...await i(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>pt(e).direction==="rtl"},M_=(e,t,n)=>{const r=new Map,o={platform:$_,...n},i={...o.platform,_c:r};return S_(e,t,{...o,platform:i})};function Qu(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Qu(e[n],t[n]):e[n]=t[n])}const lt={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,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"],delay:{show:0,hide:400}}}};function cr(e,t){let n=lt.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=lt.themes[n.$extend]||{}:(n=null,r=lt[t]):n=null;while(n);return r}function V_(e){const t=[e];let n=lt.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=lt.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function ca(e){const t=[e];let n=lt.themes[e]||{};do n.$extend?(t.push(n.$extend),n=lt.themes[n.$extend]||{}):n=null;while(n);return t}let $n=!1;if(typeof window<"u"){$n=!1;try{const e=Object.defineProperty({},"passive",{get(){$n=!0}});window.addEventListener("test",null,e)}catch{}}let Zu=!1;typeof window<"u"&&typeof navigator<"u"&&(Zu=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const ef=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),ua={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},fa={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function da(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function di(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const rt=[];let qt=null;const pa={};function ha(e){let t=pa[e];return t||(t=pa[e]=[]),t}let Ji=function(){};typeof window<"u"&&(Ji=window.Element);function ae(e){return function(t){return cr(t.theme,e)}}const pi="__floating-vue__popper",tf=()=>ze({name:"VPopper",provide(){return{[pi]:{parentPopper:this}}},inject:{[pi]:{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:ae("disabled")},positioningDisabled:{type:Boolean,default:ae("positioningDisabled")},placement:{type:String,default:ae("placement"),validator:e=>ef.includes(e)},delay:{type:[String,Number,Object],default:ae("delay")},distance:{type:[Number,String],default:ae("distance")},skidding:{type:[Number,String],default:ae("skidding")},triggers:{type:Array,default:ae("triggers")},showTriggers:{type:[Array,Function],default:ae("showTriggers")},hideTriggers:{type:[Array,Function],default:ae("hideTriggers")},popperTriggers:{type:Array,default:ae("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:ae("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:ae("popperHideTriggers")},container:{type:[String,Object,Ji,Boolean],default:ae("container")},boundary:{type:[String,Ji],default:ae("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:ae("strategy")},autoHide:{type:[Boolean,Function],default:ae("autoHide")},handleResize:{type:Boolean,default:ae("handleResize")},instantMove:{type:Boolean,default:ae("instantMove")},eagerMount:{type:Boolean,default:ae("eagerMount")},popperClass:{type:[String,Array,Object],default:ae("popperClass")},computeTransformOrigin:{type:Boolean,default:ae("computeTransformOrigin")},autoMinSize:{type:Boolean,default:ae("autoMinSize")},autoSize:{type:[Boolean,String],default:ae("autoSize")},autoMaxSize:{type:Boolean,default:ae("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:ae("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:ae("preventOverflow")},overflowPadding:{type:[Number,String],default:ae("overflowPadding")},arrowPadding:{type:[Number,String],default:ae("arrowPadding")},arrowOverflow:{type:Boolean,default:ae("arrowOverflow")},flip:{type:Boolean,default:ae("flip")},shift:{type:Boolean,default:ae("shift")},shiftCrossAxis:{type:Boolean,default:ae("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:ae("noAutoFocus")},disposeTimeout:{type:Number,default:ae("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},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},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},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[pi])==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:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){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,o;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((o=this.parentPopper)==null?void 0:o.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"))},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(O_({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(R_({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(k_({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(A_({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(x_({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:o,middlewareData:i})=>{let s;const{centerOffset:l}=i.arrow;return r.startsWith("top")||r.startsWith("bottom")?s=Math.abs(l)>o.reference.width/2:s=Math.abs(l)>o.reference.height/2,{data:{overflow:s}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:o,placement:i,middlewareData:s})=>{var l;if((l=s.autoSize)!=null&&l.skip)return{};let a,c;return i.startsWith("top")||i.startsWith("bottom")?a=o.reference.width:c=o.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=a!=null?`${a}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(I_({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:o})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=o!=null?`${o}px`:null}})));const n=await M_(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,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),qt&&this.instantMove&&qt.instantMove&&qt!==this.parentPopper){qt.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(qt=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 di(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...go(this.$_referenceNode),...go(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(),o=t.x+t.width/2-(r.left+n.offsetLeft),i=t.y+t.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${o}px ${i}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<rt.length;n++)t=rt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}rt.push(this),document.body.classList.add("v-popper--some-open");for(const t of ca(this.theme))ha(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 di(),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,da(rt,this),rt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of ca(this.theme)){const r=ha(n);da(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}qt===this&&(qt=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 di(),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,ua,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],ua,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,fa,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],fa,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,$n?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,r,o){let i=n;r!=null&&(i=typeof r=="function"?r(i):r),i.forEach(s=>{const l=t[s];l&&this.$_registerEventListeners(e,l,o)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:o,handler:i}=n;!e||e===o?r.forEach(s=>s.removeEventListener(o,i)):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(Zn>=e.left&&Zn<=e.right&&er>=e.top&&er<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Zn-Rt,r=er-At,o=t.left+t.width/2-Rt+(t.top+t.height/2)-At+t.width+t.height,i=Rt+n*o,s=At+r*o;return Ir(Rt,At,i,s,t.left,t.top,t.left,t.bottom)||Ir(Rt,At,i,s,t.left,t.top,t.right,t.top)||Ir(Rt,At,i,s,t.right,t.top,t.right,t.bottom)||Ir(Rt,At,i,s,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(Zu){const e=$n?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>ma(t,!0),e),document.addEventListener("touchend",t=>ga(t,!0),e)}else window.addEventListener("mousedown",e=>ma(e,!1),!0),window.addEventListener("click",e=>ga(e,!1),!0);window.addEventListener("resize",B_)}function ma(e,t){if(lt.autoHideOnMousedown)nf(e,t);else for(let n=0;n<rt.length;n++){const r=rt[n];try{r.mouseDownContains=r.popperNode().contains(e.target)}catch{}}}function ga(e,t){lt.autoHideOnMousedown||nf(e,t)}function nf(e,t){const n={};for(let r=rt.length-1;r>=0;r--){const o=rt[r];try{const i=o.containsGlobalTarget=o.mouseDownContains||o.popperNode().contains(e.target);o.pendingHide=!1,requestAnimationFrame(()=>{if(o.pendingHide=!1,!n[o.randomId]&&_a(o,i,e)){if(o.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&i){let l=o.parentPopper;for(;l;)n[l.randomId]=!0,l=l.parentPopper;return}let s=o.parentPopper;for(;s&&_a(s,s.containsGlobalTarget,e);)s.$_handleGlobalClose(e,t),s=s.parentPopper}})}catch{}}}function _a(e,t,n){return n.closeAllPopover||n.closePopover&&t||H_(e,n)&&!t}function H_(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function B_(){for(let e=0;e<rt.length;e++)rt[e].$_computePosition()}let Rt=0,At=0,Zn=0,er=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{Rt=Zn,At=er,Zn=e.clientX,er=e.clientY},$n?{passive:!0}:void 0);function Ir(e,t,n,r,o,i,s,l){const a=((s-o)*(t-i)-(l-i)*(e-o))/((l-i)*(n-e)-(s-o)*(r-t)),c=((n-e)*(t-i)-(r-t)*(e-o))/((l-i)*(n-e)-(s-o)*(r-t));return a>=0&&a<=1&&c>=0&&c<=1}const j_={extends:tf()},Go=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};function F_(e,t,n,r,o,i){return j(),Z("div",{ref:"reference",class:Te(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[Ge(e.$slots,"default",Qa(Ps(e.slotData)))],2)}const U_=Go(j_,[["render",F_]]);function G_(){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 o=e.indexOf("Edge/");return o>0?parseInt(e.substring(o+5,e.indexOf(".",o)),10):-1}let Kr;function Xi(){Xi.init||(Xi.init=!0,Kr=G_()!==-1)}var Wo={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Xi(),un(()=>{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",Kr&&this.$el.appendChild(e),e.data="about:blank",Kr||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&&(!Kr&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const W_=lp();Tc("data-v-b329ee4c");const z_={class:"resize-observer",tabindex:"-1"};Cc();const q_=W_((e,t,n,r,o,i)=>(j(),ve("div",z_)));Wo.render=q_;Wo.__scopeId="data-v-b329ee4c";Wo.__file="src/components/ResizeObserver.vue";const rf=(e="theme")=>({computed:{themeClass(){return V_(this[e])}}}),K_=ze({name:"VPopperContent",components:{ResizeObserver:Wo},mixins:[rf()],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}}}),J_=["id","aria-hidden","tabindex","data-popper-placement"],X_={ref:"inner",class:"v-popper__inner"},Y_=N("div",{class:"v-popper__arrow-outer"},null,-1),Q_=N("div",{class:"v-popper__arrow-inner"},null,-1),Z_=[Y_,Q_];function e0(e,t,n,r,o,i){const s=Bt("ResizeObserver");return j(),Z("div",{id:e.popperId,ref:"popover",class:Te(["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:en(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]=Ih(l=>e.autoHide&&e.$emit("hide"),["esc"]))},[N("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=l=>e.autoHide&&e.$emit("hide"))}),N("div",{class:"v-popper__wrapper",style:en(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[N("div",X_,[e.mounted?(j(),Z(ye,{key:0},[N("div",null,[Ge(e.$slots,"default")]),e.handleResize?(j(),ve(s,{key:0,onNotify:t[1]||(t[1]=l=>e.$emit("resize",l))})):$e("",!0)],64)):$e("",!0)],512),N("div",{ref:"arrow",class:"v-popper__arrow-container",style:en(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},Z_,4)],4)],46,J_)}const of=Go(K_,[["render",e0]]),sf={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)}}};let Yi=function(){};typeof window<"u"&&(Yi=window.Element);const t0=ze({name:"VPopperWrapper",components:{Popper:U_,PopperContent:of},mixins:[sf,rf("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,Yi,Boolean],default:void 0},boundary:{type:[String,Yi],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function n0(e,t,n,r,o,i){const s=Bt("PopperContent"),l=Bt("Popper");return j(),ve(l,$o({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=a=>e.$emit("update:shown",a)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:oe(({popperId:a,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,show:p,hide:h,handleResize:m,onResize:v,classes:C,result:S})=>[Ge(e.$slots,"default",{shown:c,show:p,hide:h}),z(s,{ref:"popperContent","popper-id":a,theme:e.finalTheme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":m,classes:C,result:S,onHide:h,onResize:v},{default:oe(()=>[Ge(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},16,["theme","target-nodes","popper-node","class"])}const Bs=Go(t0,[["render",n0]]),r0={...Bs,name:"VDropdown",vPopperTheme:"dropdown"},o0={...Bs,name:"VMenu",vPopperTheme:"menu"},i0={...Bs,name:"VTooltip",vPopperTheme:"tooltip"},s0=ze({name:"VTooltipDirective",components:{Popper:tf(),PopperContent:of},mixins:[sf],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>cr(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>cr(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}}}),l0=["innerHTML"],a0=["textContent"];function c0(e,t,n,r,o,i){const s=Bt("PopperContent"),l=Bt("Popper");return j(),ve(l,$o({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:oe(({popperId:a,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,hide:p,handleResize:h,onResize:m,classes:v,result:C})=>[z(s,{ref:"popperContent",class:Te({"v-popper--tooltip-loading":e.loading}),"popper-id":a,theme:e.theme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":h,classes:v,result:C,onHide:p,onResize:m},{default:oe(()=>[e.html?(j(),Z("div",{key:0,innerHTML:e.finalContent},null,8,l0)):(j(),Z("div",{key:1,textContent:De(e.finalContent)},null,8,a0))]),_: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 u0=Go(s0,[["render",c0]]),lf="v-popper--has-tooltip";function f0(e,t){let n=e.placement;if(!n&&t)for(const r of ef)t[r]&&(n=r);return n||(n=cr(e.theme||"tooltip","placement")),n}function af(e,t,n){let r;const o=typeof t;return o==="string"?r={content:t}:t&&o==="object"?r=t:r={content:!1},r.placement=f0(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let hi,ur,d0=0;function p0(){if(hi)return;ur=be([]),hi=cu({name:"VTooltipDirectiveApp",setup(){return{directives:ur}},render(){return this.directives.map(t=>oo(u0,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),hi.mount(e)}function h0(e,t,n){p0();const r=be(af(e,t,n)),o=be(!1),i={id:d0++,options:r,shown:o};return ur.value.push(i),e.classList&&e.classList.add(lf),e.$_popper={options:r,item:i,show(){o.value=!0},hide(){o.value=!1}}}function cf(e){if(e.$_popper){const t=ur.value.indexOf(e.$_popper.item);t!==-1&&ur.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(lf)}function ya(e,{value:t,modifiers:n}){const r=af(e,t,n);if(!r.content||cr(r.theme||"tooltip","disabled"))cf(e);else{let o;e.$_popper?(o=e.$_popper,o.options.value=r):o=h0(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?o.show():o.hide())}}const m0={beforeMount:ya,updated:ya,beforeUnmount(e){cf(e)}};function va(e){e.addEventListener("mousedown",_o),e.addEventListener("click",_o),e.addEventListener("touchstart",uf,$n?{passive:!0}:!1)}function ba(e){e.removeEventListener("mousedown",_o),e.removeEventListener("click",_o),e.removeEventListener("touchstart",uf),e.removeEventListener("touchend",ff),e.removeEventListener("touchcancel",df)}function _o(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function uf(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",ff),t.addEventListener("touchcancel",df)}}function ff(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 df(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const g0={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&va(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?va(e):ba(e))},beforeUnmount(e){ba(e)}};function _0(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Qu(lt,t),e.directive("tooltip",m0),e.directive("close-popper",g0),e.component("VTooltip",i0),e.component("VDropdown",r0),e.component("VMenu",o0))}const y0={version:"5.2.2",install:_0,options:lt},v0=vt(e=>{e.vueApp.use(y0)}),b0=[o_,s_,c_,f_,d_,p_,m_,g_,__,v0],w0="modulepreload",E0=function(e,t){return e[0]==="."?new URL(e,t).href:e},wa={},T0=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),l=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));o=Promise.all(n.map(a=>{if(a=E0(a,r),a in wa)return;wa[a]=!0;const c=a.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!r)for(let p=i.length-1;p>=0;p--){const h=i[p];if(h.href===a&&(!c||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${u}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":w0,c||(d.as="script",d.crossOrigin=""),d.href=a,l&&d.setAttribute("nonce",l),document.head.appendChild(d),c)return new Promise((p,h)=>{d.addEventListener("load",p),d.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${a}`)))})}))}return o.then(()=>t()).catch(i=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i})},g=(...e)=>T0(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),js=ze({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(j(),Z("div",{class:Te(["n-icon",t.icon])},null,2))}}),zo=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},C0={},S0={class:"n-badge"};function x0(e,t){return j(),Z("span",S0,[Ge(e.$slots,"default")])}const pf=zo(C0,[["render",x0]]);async function hf(e,t=_t()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const o=t._preloadPromises=t._preloadPromises||[];if(o.length>4)return Promise.all(o).then(()=>hf(e,t));t._routePreloaded.add(n);const i=r.map(s=>{var l;return(l=s.components)==null?void 0:l.default}).filter(s=>typeof s=="function");for(const s of i){const l=Promise.resolve(s()).catch(()=>{}).finally(()=>o.splice(o.indexOf(l)));o.push(l)}await Promise.all(o)}const P0=(...e)=>e.find(t=>t!==void 0);function R0(e){const t=e.componentName||"NuxtLink";function n(o,i){if(!o||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return o;if(typeof o=="string")return Ea(o,e.trailingSlash);const s="path"in o&&o.path!==void 0?o.path:i(o).path;return{...o,name:void 0,path:Ea(s,e.trailingSlash)}}function r(o){const i=_t(),s=Dn(),l=ke(()=>!!o.target&&o.target!=="_self"),a=ke(()=>{const m=o.to||o.href||"";return typeof m=="string"&&Gt(m,{acceptRelative:!0})}),c=Bt("RouterLink"),u=c&&typeof c!="string"?c.useLink:void 0,f=ke(()=>{if(o.external)return!0;const m=o.to||o.href||"";return typeof m=="object"?!1:m===""||a.value}),d=ke(()=>{const m=o.to||o.href||"";return f.value?m:n(m,i.resolve)}),p=f.value||u==null?void 0:u({...o,to:d}),h=ke(()=>{var m;if(!d.value||a.value)return d.value;if(f.value){const v=typeof d.value=="object"&&"path"in d.value?Ui(d.value):d.value,C=typeof v=="object"?i.resolve(v).href:v;return n(C,i.resolve)}return typeof d.value=="object"?((m=i.resolve(d.value))==null?void 0:m.href)??null:n(Hn(s.app.baseURL,d.value),i.resolve)});return{to:d,hasTarget:l,isAbsoluteUrl:a,isExternal:f,href:h,isActive:(p==null?void 0:p.isActive)??ke(()=>d.value===i.currentRoute.value.path),isExactActive:(p==null?void 0:p.isExactActive)??ke(()=>d.value===i.currentRoute.value.path),route:(p==null?void 0:p.route)??ke(()=>i.resolve(d.value)),async navigate(){await Lu(h.value,{replace:o.replace,external:f.value||l.value})}}}return ze({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}},useLink:r,setup(o,{slots:i}){const s=_t(),{to:l,href:a,navigate:c,isExternal:u,hasTarget:f,isAbsoluteUrl:d}=r(o),p=be(!1),h=be(null),m=v=>{var C;h.value=o.custom?(C=v==null?void 0:v.$el)==null?void 0:C.nextElementSibling:v==null?void 0:v.$el};if(o.prefetch!==!1&&o.noPrefetch!==!0&&o.target!=="_blank"&&!O0()){const C=xe();let S,_=null;ws(()=>{const T=L0();Bo(()=>{S=zi(()=>{var E;(E=h==null?void 0:h.value)!=null&&E.tagName&&(_=T.observe(h.value,async()=>{_==null||_(),_=null;const x=typeof l.value=="string"?l.value:u.value?Ui(l.value):s.resolve(l.value).fullPath;await Promise.all([C.hooks.callHook("link:prefetch",x).catch(()=>{}),!u.value&&!f.value&&hf(l.value,s).catch(()=>{})]),p.value=!0}))})})}),Es(()=>{S&&u_(S),_==null||_(),_=null})}return()=>{var S;if(!u.value&&!f.value){const _={ref:m,to:l.value,activeClass:o.activeClass||e.activeClass,exactActiveClass:o.exactActiveClass||e.exactActiveClass,replace:o.replace,ariaCurrentValue:o.ariaCurrentValue,custom:o.custom};return o.custom||(p.value&&(_.class=o.prefetchedClass||e.prefetchedClass),_.rel=o.rel||void 0),oo(Bt("RouterLink"),_,i.default)}const v=o.target||null,C=P0(o.noRel?"":o.rel,e.externalRelAttribute,d.value||f.value?"noopener noreferrer":"")||null;return o.custom?i.default?i.default({href:a.value,navigate:c,get route(){if(!a.value)return;const _=new URL(a.value,window.location.href);return{path:_.pathname,fullPath:_.pathname,get query(){return Ls(_.search)},hash:_.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:a.value}},rel:C,target:v,isExternal:u.value||f.value,isActive:!1,isExactActive:!1}):null:oo("a",{ref:h,href:a.value||null,rel:C,target:v},(S=i.default)==null?void 0:S.call(i))}}})}const A0=R0(Bm);function Ea(e,t){const n=t==="append"?lo:Vo;return Gt(e)&&!e.startsWith("http")?e:n(e,!0)}function L0(){const e=xe();if(e._observer)return e._observer;let t=null;const n=new Map,r=(i,s)=>(t||(t=new IntersectionObserver(l=>{for(const a of l){const c=n.get(a.target);(a.isIntersecting||a.intersectionRatio>0)&&c&&c()}})),n.set(i,s),t.observe(i),()=>{n.delete(i),t.unobserve(i),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function O0(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const k0={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},mf=ze({__name:"NLink",props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(e){const t=e,n=ke(()=>t.href||t.to);return(r,o)=>{const i=A0;return j(),ve(i,$o(n.value?{href:n.value,target:r.target,rel:r.target==="_blank"?"noopener noreferrer":null}:{},{class:{"n-link n-transition hover:n-link-hover n-link-base":n.value||r.underline}}),{default:oe(()=>[Ge(r.$slots,"default"),n.value&&r.target==="_blank"?(j(),Z("div",k0)):$e("",!0)]),_:3},16,["class"])}}}),I0={},N0={height:"22",viewBox:"0 0 1204 200",fill:"none",xmlns:"http://www.w3.org/2000/svg"},D0=eh('<path d="M377 200C379.16 200 381 198.209 381 196V103C381 103 386 112 395 127L434 194C435.785 197.74 439.744 200 443 200H470V50H443C441.202 50 439 51.4941 439 54V148L421 116L385 55C383.248 51.8912 379.479 50 376 50H350V200H377Z" fill="currentColor"></path><path d="M726 92H739C742.314 92 745 89.3137 745 86V60H773V92H800V116H773V159C773 169.5 778.057 174 787 174H800V200H783C759.948 200 745 185.071 745 160V116H726V92Z" fill="currentColor"></path><path d="M591 92V154C591 168.004 585.742 179.809 578 188C570.258 196.191 559.566 200 545 200C530.434 200 518.742 196.191 511 188C503.389 179.809 498 168.004 498 154V92H514C517.412 92 520.769 92.622 523 95C525.231 97.2459 526 98.5652 526 102V154C526 162.059 526.457 167.037 530 171C533.543 174.831 537.914 176 545 176C552.217 176 555.457 174.831 559 171C562.543 167.037 563 162.059 563 154V102C563 98.5652 563.769 96.378 566 94C567.96 91.9107 570.028 91.9599 573 92C573.411 92.0055 574.586 92 575 92H591Z" fill="currentColor"></path><path d="M676 144L710 92H684C680.723 92 677.812 93.1758 676 96L660 120L645 97C643.188 94.1758 639.277 92 636 92H611L645 143L608 200H634C637.25 200 640.182 196.787 642 194L660 167L679 195C680.818 197.787 683.75 200 687 200H713L676 144Z" fill="currentColor"></path><path d="M168 200H279C282.542 200 285.932 198.756 289 197C292.068 195.244 295.23 193.041 297 190C298.77 186.959 300.002 183.51 300 179.999C299.998 176.488 298.773 173.04 297 170.001L222 41C220.23 37.96 218.067 35.7552 215 34C211.933 32.2448 207.542 31 204 31C200.458 31 197.067 32.2448 194 34C190.933 35.7552 188.77 37.96 187 41L168 74L130 9.99764C128.228 6.95784 126.068 3.75491 123 2C119.932 0.245087 116.542 0 113 0C109.458 0 106.068 0.245087 103 2C99.9323 3.75491 96.7717 6.95784 95 9.99764L2 170.001C0.226979 173.04 0.00154312 176.488 1.90993e-06 179.999C-0.0015393 183.51 0.229648 186.959 2 190C3.77035 193.04 6.93245 195.244 10 197C13.0675 198.756 16.4578 200 20 200H90C117.737 200 137.925 187.558 152 164L186 105L204 74L259 168H186L168 200ZM89 168H40L113 42L150 105L125.491 147.725C116.144 163.01 105.488 168 89 168Z" fill="#00DC82"></path><path d="M892 200C881.746 200 873.788 197.911 866 194C858.212 189.959 851.543 184.169 847 177C842.587 169.7 840.389 161.646 840 152H868C868.649 159.039 870.717 163.959 875 168C879.413 172.041 885.861 174 893 174C899.62 174 904.106 172.737 908 170C912.024 167.263 914 164.084 914 159C914 155.48 913.336 152.086 911 150C908.793 147.784 906.375 146.173 903 145C899.625 143.827 894.23 142.564 888 141C878.784 138.784 870.971 136.477 865 134C859.159 131.393 854.283 127.605 850 122C845.717 116.395 844 108.777 844 99C844 91.5698 845.976 84.8659 850 79C854.024 73.1341 859.861 68.2589 867 65C874.139 61.6108 881.914 60 891 60C900.735 60 909.601 61.4805 917 65C924.528 68.5196 929.846 73.4823 934 80C938.283 86.5177 940.74 94.3967 941 103H913C912.481 97.5251 910.894 93.1285 907 90C903.106 86.7411 897.49 85 891 85C885.289 85 880.375 86.5233 877 89C873.625 91.4767 872 94.959 872 99C872 102.78 873.664 105.784 876 108C878.336 110.216 881.366 111.696 885 113C888.634 114.173 893.64 115.566 900 117C909.346 119.216 916.159 121.654 922 124C927.841 126.346 932.846 130.395 937 136C941.283 141.475 944 148.354 944 158C944 166.473 941.283 173.743 937 180C932.717 186.257 926.788 191.611 919 195C911.342 198.389 902.124 200 892 200Z" fill="#00DC82"></path><path d="M1056 200H961V60H1054V87H990V116H1041V141H990V173H1056V200Z" fill="#00DC82"></path><path d="M1134 200C1120.76 200 1108.64 196.996 1098 191C1087.49 184.873 1080.1 176.559 1074 166C1068.03 155.311 1065 143.296 1065 130C1065 116.704 1068.03 104.559 1074 94C1080.1 83.311 1088.49 74.9963 1099 69C1109.64 62.8734 1120.76 60 1134 60C1147.11 60 1159.49 62.8734 1170 69C1180.64 74.9963 1189.03 83.311 1195 94C1201.1 104.559 1204 116.704 1204 130C1204 143.296 1201.1 155.311 1195 166C1189.03 176.559 1180.64 184.873 1170 191C1159.49 196.996 1147.11 200 1134 200ZM1134 174C1141.66 174 1148.9 172.78 1155 169C1161.23 165.089 1165.63 159.778 1169 153C1172.5 146.222 1174 138.473 1174 130C1174 121.527 1172.5 113.778 1169 107C1165.63 100.222 1161.23 94.9106 1155 91C1148.9 87.0894 1141.66 85 1134 85C1126.34 85 1120.1 87.0894 1114 91C1107.9 94.9106 1102.5 100.222 1099 107C1095.63 113.778 1094 121.527 1094 130C1094 138.473 1095.63 146.222 1099 153C1102.5 159.778 1107.9 165.089 1114 169C1120.1 172.78 1126.34 174 1134 174Z" fill="#00DC82"></path>',8),$0=[D0];function M0(e,t){return j(),Z("svg",N0,$0)}const V0=zo(I0,[["render",M0]]),H0={},B0={class:"n-loading n-panel-grids-center"},j0={class:"flex flex-col animate-pulse items-center text-lg"},F0=N("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function U0(e,t){return j(),Z("div",B0,[N("div",j0,[F0,Ge(e.$slots,"default",{},()=>[le(" Loading... ")])])])}const G0=zo(H0,[["render",U0]]),gf=[{id:"abap",name:"ABAP",import:()=>g(()=>import("./DXFkqnOI.js"),[],import.meta.url)},{id:"actionscript-3",name:"ActionScript",import:()=>g(()=>import("./BigF1UXR.js"),[],import.meta.url)},{id:"ada",name:"Ada",import:()=>g(()=>import("./CowR2XfX.js"),[],import.meta.url)},{id:"angular-html",name:"Angular HTML",import:()=>g(()=>import("./CBks_G0r.js").then(e=>e.f),__vite__mapDeps([0,1,2,3]),import.meta.url)},{id:"angular-ts",name:"Angular TypeScript",import:()=>g(()=>import("./BUinYsBq.js"),__vite__mapDeps([4,0,1,2,3,5]),import.meta.url)},{id:"apache",name:"Apache Conf",import:()=>g(()=>import("./rS0jd3Ly.js"),[],import.meta.url)},{id:"apex",name:"Apex",import:()=>g(()=>import("./Sfo2eW0G.js"),[],import.meta.url)},{id:"apl",name:"APL",import:()=>g(()=>import("./DC4hdoM9.js"),__vite__mapDeps([6,1,2,3,7,8,9]),import.meta.url)},{id:"applescript",name:"AppleScript",import:()=>g(()=>import("./B4yE-MfL.js"),[],import.meta.url)},{id:"ara",name:"Ara",import:()=>g(()=>import("./CG4fK2Nq.js"),[],import.meta.url)},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:()=>g(()=>import("./BEZjiGez.js"),__vite__mapDeps([10,1,2,3,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,8,9,29,30,31,32,33,34,35,36,37,38,7,39,40,41,42,43,44,5,45,46,47]),import.meta.url)},{id:"asm",name:"Assembly",import:()=>g(()=>import("./PWN5J14X.js"),[],import.meta.url)},{id:"astro",name:"Astro",import:()=>g(()=>import("./ewRyznZJ.js"),__vite__mapDeps([48,9,2,47,49,43,3,5,34,50,51]),import.meta.url)},{id:"awk",name:"AWK",import:()=>g(()=>import("./i0IPvypD.js"),[],import.meta.url)},{id:"ballerina",name:"Ballerina",import:()=>g(()=>import("./T9ysyp6P.js"),[],import.meta.url)},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>g(()=>import("./BPiaQZfK.js"),[],import.meta.url)},{id:"beancount",name:"Beancount",import:()=>g(()=>import("./Urb1RsFe.js"),[],import.meta.url)},{id:"berry",name:"Berry",aliases:["be"],import:()=>g(()=>import("./CxrokwfH.js"),[],import.meta.url)},{id:"bibtex",name:"BibTeX",import:()=>g(()=>import("./BaedD2tq.js"),[],import.meta.url)},{id:"bicep",name:"Bicep",import:()=>g(()=>import("./Bym0hRiG.js"),[],import.meta.url)},{id:"blade",name:"Blade",import:()=>g(()=>import("./C1DVX8_8.js"),__vite__mapDeps([52,1,2,3,7,8,19,9]),import.meta.url)},{id:"c",name:"C",import:()=>g(()=>import("./RCJZWN-0.js"),[],import.meta.url)},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>g(()=>import("./Bgpqy2XC.js"),[],import.meta.url)},{id:"clarity",name:"Clarity",import:()=>g(()=>import("./DV9JwLIa.js"),[],import.meta.url)},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>g(()=>import("./BF6G6X0H.js"),[],import.meta.url)},{id:"cmake",name:"CMake",import:()=>g(()=>import("./DXZpi2gR.js"),[],import.meta.url)},{id:"cobol",name:"COBOL",import:()=>g(()=>import("./Cgl53LJQ.js"),__vite__mapDeps([53,19,1,2,3,8]),import.meta.url)},{id:"codeowners",name:"CODEOWNERS",import:()=>g(()=>import("./CGmujMTu.js"),[],import.meta.url)},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>g(()=>import("./BOpLLL-w.js"),[],import.meta.url)},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>g(()=>import("./Bg0wAK5a.js"),__vite__mapDeps([15,2]),import.meta.url)},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:()=>g(()=>import("./C3qUB5O8.js"),[],import.meta.url)},{id:"coq",name:"Coq",import:()=>g(()=>import("./Ev-gWqHG.js"),[],import.meta.url)},{id:"cpp",name:"C++",aliases:["c++"],import:()=>g(()=>import("./BB42E8aY.js"),__vite__mapDeps([16,17,18,13,19]),import.meta.url)},{id:"crystal",name:"Crystal",import:()=>g(()=>import("./D3VHKxjW.js"),__vite__mapDeps([54,1,2,3,19,13,40]),import.meta.url)},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>g(()=>import("./Bdt_eLrj.js"),[],import.meta.url)},{id:"css",name:"CSS",import:()=>g(()=>import("./CbYhyuC0.js"),[],import.meta.url)},{id:"csv",name:"CSV",import:()=>g(()=>import("./B2DkETJQ.js"),[],import.meta.url)},{id:"cue",name:"CUE",import:()=>g(()=>import("./C6Aznpr-.js"),[],import.meta.url)},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>g(()=>import("./ByMv4Xf1.js"),[],import.meta.url)},{id:"d",name:"D",import:()=>g(()=>import("./PifQWv0n.js"),[],import.meta.url)},{id:"dart",name:"Dart",import:()=>g(()=>import("./DZLoTQm4.js"),[],import.meta.url)},{id:"dax",name:"DAX",import:()=>g(()=>import("./DsfXcHUZ.js"),[],import.meta.url)},{id:"desktop",name:"Desktop",import:()=>g(()=>import("./D71BffLY.js"),[],import.meta.url)},{id:"diff",name:"Diff",import:()=>g(()=>import("./DvyTQcux.js"),[],import.meta.url)},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>g(()=>import("./DNR26wTC.js"),[],import.meta.url)},{id:"dotenv",name:"dotEnv",import:()=>g(()=>import("./BgSQePf4.js"),[],import.meta.url)},{id:"dream-maker",name:"Dream Maker",import:()=>g(()=>import("./Eh5U-gDp.js"),[],import.meta.url)},{id:"edge",name:"Edge",import:()=>g(()=>import("./DVC_qXWv.js"),__vite__mapDeps([55,47,1,2,3,56]),import.meta.url)},{id:"elixir",name:"Elixir",import:()=>g(()=>import("./BaNxgKSR.js"),__vite__mapDeps([23,1,2,3]),import.meta.url)},{id:"elm",name:"Elm",import:()=>g(()=>import("./RE3ujT-k.js"),__vite__mapDeps([24,18,13]),import.meta.url)},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:()=>g(()=>import("./BEjL32p1.js"),[],import.meta.url)},{id:"erb",name:"ERB",import:()=>g(()=>import("./zIdFMUa4.js"),__vite__mapDeps([57,1,2,3,39,7,8,19,13,40,41]),import.meta.url)},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>g(()=>import("./DS9ZWoKD.js"),[],import.meta.url)},{id:"fennel",name:"Fennel",import:()=>g(()=>import("./C6XIsc4F.js"),[],import.meta.url)},{id:"fish",name:"Fish",import:()=>g(()=>import("./DfeQjIbs.js"),[],import.meta.url)},{id:"fluent",name:"Fluent",aliases:["ftl"],import:()=>g(()=>import("./KPqz0Sb3.js"),[],import.meta.url)},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>g(()=>import("./sQpxpyUs.js"),__vite__mapDeps([58,59]),import.meta.url)},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>g(()=>import("./D6pmzCqS.js"),[],import.meta.url)},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>g(()=>import("./zbShYgi7.js"),__vite__mapDeps([60,61]),import.meta.url)},{id:"gdresource",name:"GDResource",import:()=>g(()=>import("./BBBqETUW.js"),__vite__mapDeps([62,63,64]),import.meta.url)},{id:"gdscript",name:"GDScript",import:()=>g(()=>import("./cw46T5ID.js"),[],import.meta.url)},{id:"gdshader",name:"GDShader",import:()=>g(()=>import("./B_SUYfiV.js"),[],import.meta.url)},{id:"genie",name:"Genie",import:()=>g(()=>import("./DAfrLhwG.js"),[],import.meta.url)},{id:"gherkin",name:"Gherkin",import:()=>g(()=>import("./DjTlIhuc.js"),[],import.meta.url)},{id:"git-commit",name:"Git Commit Message",import:()=>g(()=>import("./DAVo6uMX.js"),__vite__mapDeps([65,21]),import.meta.url)},{id:"git-rebase",name:"Git Rebase Message",import:()=>g(()=>import("./CxBHuulF.js"),__vite__mapDeps([66,40]),import.meta.url)},{id:"gleam",name:"Gleam",import:()=>g(()=>import("./Dd6f7Z5P.js"),[],import.meta.url)},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>g(()=>import("./Bbv8ARUV.js"),__vite__mapDeps([67,2,47,3,1]),import.meta.url)},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>g(()=>import("./CQUCfALx.js"),__vite__mapDeps([68,47,3,2,1]),import.meta.url)},{id:"glsl",name:"GLSL",import:()=>g(()=>import("./DouzTJIq.js"),__vite__mapDeps([18,13]),import.meta.url)},{id:"gnuplot",name:"Gnuplot",import:()=>g(()=>import("./nclm9rTJ.js"),[],import.meta.url)},{id:"go",name:"Go",import:()=>g(()=>import("./DM4HHECw.js"),[],import.meta.url)},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>g(()=>import("./BN4LRXf6.js"),__vite__mapDeps([69,2,47,29,51]),import.meta.url)},{id:"groovy",name:"Groovy",import:()=>g(()=>import("./wChcbJ1V.js"),[],import.meta.url)},{id:"hack",name:"Hack",import:()=>g(()=>import("./BmCW-tYz.js"),__vite__mapDeps([70,1,2,3,19]),import.meta.url)},{id:"haml",name:"Ruby Haml",import:()=>g(()=>import("./CaGCoJJM.js"),__vite__mapDeps([71,39,1,2,3,7,8,19,13,40,41,43,15,61]),import.meta.url)},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>g(()=>import("./DJubGRtk.js"),__vite__mapDeps([72,1,2,3,11]),import.meta.url)},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>g(()=>import("./DAGYewaG.js"),[],import.meta.url)},{id:"haxe",name:"Haxe",import:()=>g(()=>import("./Dit6kIrv.js"),[],import.meta.url)},{id:"hcl",name:"HashiCorp HCL",import:()=>g(()=>import("./CpAANOdC.js"),[],import.meta.url)},{id:"hjson",name:"Hjson",import:()=>g(()=>import("./DZqG9GXz.js"),[],import.meta.url)},{id:"hlsl",name:"HLSL",import:()=>g(()=>import("./DmDrTTlz.js"),[],import.meta.url)},{id:"html",name:"HTML",import:()=>g(()=>import("./CbViG2Xw.js"),__vite__mapDeps([1,2,3]),import.meta.url)},{id:"html-derivative",name:"HTML (Derivative)",import:()=>g(()=>import("./BR6CMsBL.js"),__vite__mapDeps([56,1,2,3]),import.meta.url)},{id:"http",name:"HTTP",import:()=>g(()=>import("./Gme1ZbSQ.js"),__vite__mapDeps([73,40,9,7,8,69,2,47,29,51]),import.meta.url)},{id:"hxml",name:"HXML",import:()=>g(()=>import("./CiRxTSAc.js"),__vite__mapDeps([74,75]),import.meta.url)},{id:"hy",name:"Hy",import:()=>g(()=>import("./C3qJFuQy.js"),[],import.meta.url)},{id:"imba",name:"Imba",import:()=>g(()=>import("./DzwdaLuO.js"),__vite__mapDeps([76,47]),import.meta.url)},{id:"ini",name:"INI",aliases:["properties"],import:()=>g(()=>import("./DeVv6D4_.js"),[],import.meta.url)},{id:"java",name:"Java",import:()=>g(()=>import("./ClXEvkw9.js"),[],import.meta.url)},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>g(()=>import("./Dch3xQiY.js"),[],import.meta.url)},{id:"jinja",name:"Jinja",import:()=>g(()=>import("./D4LaosRr.js"),__vite__mapDeps([77,1,2,3]),import.meta.url)},{id:"jison",name:"Jison",import:()=>g(()=>import("./DY7_9Ga-.js"),__vite__mapDeps([78,2]),import.meta.url)},{id:"json",name:"JSON",import:()=>g(()=>import("./CupVZNk8.js"),[],import.meta.url)},{id:"json5",name:"JSON5",import:()=>g(()=>import("./Bh8mriwU.js"),[],import.meta.url)},{id:"jsonc",name:"JSON with Comments",import:()=>g(()=>import("./DYI1rfmx.js"),[],import.meta.url)},{id:"jsonl",name:"JSON Lines",import:()=>g(()=>import("./BUpeXbsf.js"),[],import.meta.url)},{id:"jsonnet",name:"Jsonnet",import:()=>g(()=>import("./C9d3aiqh.js"),[],import.meta.url)},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>g(()=>import("./Dble9ECP.js"),[],import.meta.url)},{id:"jsx",name:"JSX",import:()=>g(()=>import("./CsyrCbsw.js"),[],import.meta.url)},{id:"julia",name:"Julia",aliases:["jl"],import:()=>g(()=>import("./BZ035FK2.js"),__vite__mapDeps([30,16,17,18,13,19,31,2,32]),import.meta.url)},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>g(()=>import("./BspO9hSn.js"),[],import.meta.url)},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>g(()=>import("./DGEpfOTx.js"),[],import.meta.url)},{id:"latex",name:"LaTeX",import:()=>g(()=>import("./458cWEat.js"),__vite__mapDeps([79,80,32,40,3,81,28,1,2,8,30,16,17,18,13,19,31,41,39,7,42,47,11,44]),import.meta.url)},{id:"lean",name:"Lean 4",aliases:["lean4"],import:()=>g(()=>import("./D5OoM2Ul.js"),[],import.meta.url)},{id:"less",name:"Less",import:()=>g(()=>import("./CX3ZWouj.js"),[],import.meta.url)},{id:"liquid",name:"Liquid",import:()=>g(()=>import("./Dg0DGYq4.js"),__vite__mapDeps([82,1,2,3,9]),import.meta.url)},{id:"log",name:"Log file",import:()=>g(()=>import("./Ksn5IXup.js"),[],import.meta.url)},{id:"logo",name:"Logo",import:()=>g(()=>import("./DdacRhvC.js"),[],import.meta.url)},{id:"lua",name:"Lua",import:()=>g(()=>import("./BVGdgKAv.js"),__vite__mapDeps([41,13]),import.meta.url)},{id:"luau",name:"Luau",import:()=>g(()=>import("./VQMr7AbF.js"),[],import.meta.url)},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>g(()=>import("./B9S9BZZh.js"),[],import.meta.url)},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>g(()=>import("./Bpum8voz.js"),[],import.meta.url)},{id:"marko",name:"Marko",import:()=>g(()=>import("./V16qqttt.js"),__vite__mapDeps([83,3,34,5,2]),import.meta.url)},{id:"matlab",name:"MATLAB",import:()=>g(()=>import("./Btshr8M_.js"),[],import.meta.url)},{id:"mdc",name:"MDC",import:()=>g(()=>import("./CxLlwT--.js"),__vite__mapDeps([84,61,11,56,1,2,3]),import.meta.url)},{id:"mdx",name:"MDX",import:()=>g(()=>import("./Br9pa-sp.js"),[],import.meta.url)},{id:"mermaid",name:"Mermaid",import:()=>g(()=>import("./Cb-F_BZP.js"),[],import.meta.url)},{id:"mojo",name:"Mojo",import:()=>g(()=>import("./-7WWnkdy.js"),[],import.meta.url)},{id:"move",name:"Move",import:()=>g(()=>import("./COBxEbHI.js"),[],import.meta.url)},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>g(()=>import("./B9CT-1u6.js"),[],import.meta.url)},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>g(()=>import("./DBxHOdLe.js"),[],import.meta.url)},{id:"nginx",name:"Nginx",import:()=>g(()=>import("./DR5YgmI2.js"),__vite__mapDeps([85,41,13]),import.meta.url)},{id:"nim",name:"Nim",import:()=>g(()=>import("./-0RnDExV.js"),__vite__mapDeps([86,13,1,2,3,7,8,18,61]),import.meta.url)},{id:"nix",name:"Nix",import:()=>g(()=>import("./B7rNE5kf.js"),[],import.meta.url)},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>g(()=>import("./CrgTADc5.js"),[],import.meta.url)},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>g(()=>import("./DHmGyzbM.js"),[],import.meta.url)},{id:"objective-cpp",name:"Objective-C++",import:()=>g(()=>import("./BWKJ1FCf.js"),[],import.meta.url)},{id:"ocaml",name:"OCaml",import:()=>g(()=>import("./RqY_Nz63.js"),[],import.meta.url)},{id:"pascal",name:"Pascal",import:()=>g(()=>import("./BvCdDh2R.js"),[],import.meta.url)},{id:"perl",name:"Perl",import:()=>g(()=>import("./Dwo2i-71.js"),__vite__mapDeps([38,1,2,3,7,8,19]),import.meta.url)},{id:"php",name:"PHP",import:()=>g(()=>import("./Cthz8VOO.js"),__vite__mapDeps([87,1,2,3,7,8,19,9]),import.meta.url)},{id:"plsql",name:"PL/SQL",import:()=>g(()=>import("./BbJj1K1w.js"),[],import.meta.url)},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:()=>g(()=>import("./HrnDn_2Q.js"),[],import.meta.url)},{id:"postcss",name:"PostCSS",import:()=>g(()=>import("./DXT9h7v2.js"),[],import.meta.url)},{id:"powerquery",name:"PowerQuery",import:()=>g(()=>import("./CApMHEaB.js"),[],import.meta.url)},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>g(()=>import("./9ZOzOPqN.js"),[],import.meta.url)},{id:"prisma",name:"Prisma",import:()=>g(()=>import("./BBJYjQ0k.js"),[],import.meta.url)},{id:"prolog",name:"Prolog",import:()=>g(()=>import("./BH_RS3WO.js"),[],import.meta.url)},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:()=>g(()=>import("./-4dSXLqG.js"),[],import.meta.url)},{id:"pug",name:"Pug",aliases:["jade"],import:()=>g(()=>import("./DhFF74a2.js"),__vite__mapDeps([88,2,3,43,5,49,15,1]),import.meta.url)},{id:"puppet",name:"Puppet",import:()=>g(()=>import("./37ic6j3l.js"),[],import.meta.url)},{id:"purescript",name:"PureScript",import:()=>g(()=>import("./CfPQhs6g.js"),[],import.meta.url)},{id:"python",name:"Python",aliases:["py"],import:()=>g(()=>import("./DwuVtWc2.js"),[],import.meta.url)},{id:"qml",name:"QML",import:()=>g(()=>import("./BwXNTs7T.js"),__vite__mapDeps([89,2]),import.meta.url)},{id:"qmldir",name:"QML Directory",import:()=>g(()=>import("./MS3qTAOR.js"),[],import.meta.url)},{id:"qss",name:"Qt Style Sheets",import:()=>g(()=>import("./FJDVp-XM.js"),[],import.meta.url)},{id:"r",name:"R",import:()=>g(()=>import("./BXfENWL6.js"),[],import.meta.url)},{id:"racket",name:"Racket",import:()=>g(()=>import("./Cp2HGa90.js"),[],import.meta.url)},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>g(()=>import("./D384ylkT.js"),[],import.meta.url)},{id:"razor",name:"ASP.NET Razor",import:()=>g(()=>import("./CJGKC1_q.js"),__vite__mapDeps([90,1,2,3,20]),import.meta.url)},{id:"reg",name:"Windows Registry Script",import:()=>g(()=>import("./CrhH3_Og.js"),[],import.meta.url)},{id:"regexp",name:"RegExp",aliases:["regex"],import:()=>g(()=>import("./C_ZPRiAj.js"),[],import.meta.url)},{id:"rel",name:"Rel",import:()=>g(()=>import("./6Kuza3Wr.js"),[],import.meta.url)},{id:"riscv",name:"RISC-V",import:()=>g(()=>import("./AgnqFTPX.js"),[],import.meta.url)},{id:"rst",name:"reStructuredText",import:()=>g(()=>import("./vMuZBeRS.js"),__vite__mapDeps([91,56,1,2,3,16,17,18,13,19,31,40,11,92,39,7,8,41]),import.meta.url)},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>g(()=>import("./ULUzDaxg.js"),__vite__mapDeps([39,1,2,3,7,8,19,13,40,41]),import.meta.url)},{id:"rust",name:"Rust",aliases:["rs"],import:()=>g(()=>import("./DGxQkqYo.js"),[],import.meta.url)},{id:"sas",name:"SAS",import:()=>g(()=>import("./8t4jSAMm.js"),__vite__mapDeps([93,19]),import.meta.url)},{id:"sass",name:"Sass",import:()=>g(()=>import("./CMDmr8et.js"),[],import.meta.url)},{id:"scala",name:"Scala",import:()=>g(()=>import("./vMsNTMhM.js"),[],import.meta.url)},{id:"scheme",name:"Scheme",import:()=>g(()=>import("./1Je9_Reo.js"),[],import.meta.url)},{id:"scss",name:"SCSS",import:()=>g(()=>import("./BeX7Iu5M.js"),__vite__mapDeps([5,3]),import.meta.url)},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>g(()=>import("./BiDE021q.js"),__vite__mapDeps([94,95]),import.meta.url)},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>g(()=>import("./DOv5BRyJ.js"),[],import.meta.url)},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>g(()=>import("./CRYtL1Hd.js"),__vite__mapDeps([96,40]),import.meta.url)},{id:"smalltalk",name:"Smalltalk",import:()=>g(()=>import("./DSsji4Hu.js"),[],import.meta.url)},{id:"solidity",name:"Solidity",import:()=>g(()=>import("./CThH5sBG.js"),[],import.meta.url)},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:()=>g(()=>import("./DKb4lQY2.js"),__vite__mapDeps([97,1,2,3]),import.meta.url)},{id:"sparql",name:"SPARQL",import:()=>g(()=>import("./DJZWsvj0.js"),__vite__mapDeps([98,99]),import.meta.url)},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>g(()=>import("./6XBPEST2.js"),[],import.meta.url)},{id:"sql",name:"SQL",import:()=>g(()=>import("./DbK06e1c.js"),[],import.meta.url)},{id:"ssh-config",name:"SSH Config",import:()=>g(()=>import("./BH1M7C1g.js"),[],import.meta.url)},{id:"stata",name:"Stata",import:()=>g(()=>import("./DLP9ZvWb.js"),__vite__mapDeps([100,19]),import.meta.url)},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>g(()=>import("./DSrLtGYv.js"),[],import.meta.url)},{id:"svelte",name:"Svelte",import:()=>g(()=>import("./DIyf2Ztx.js"),__vite__mapDeps([101,2,47,15,49,43,3,5,34,50,88,1,61]),import.meta.url)},{id:"swift",name:"Swift",import:()=>g(()=>import("./BeJnKnI_.js"),[],import.meta.url)},{id:"system-verilog",name:"SystemVerilog",import:()=>g(()=>import("./BscxmKrE.js"),[],import.meta.url)},{id:"systemd",name:"Systemd Units",import:()=>g(()=>import("./CuJfdYLG.js"),[],import.meta.url)},{id:"tasl",name:"Tasl",import:()=>g(()=>import("./BxwAa5i0.js"),[],import.meta.url)},{id:"tcl",name:"Tcl",import:()=>g(()=>import("./C_8Fx7bH.js"),[],import.meta.url)},{id:"templ",name:"Templ",import:()=>g(()=>import("./BMHPAh1U.js"),__vite__mapDeps([102,26,2,3]),import.meta.url)},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>g(()=>import("./DBeuZS66.js"),[],import.meta.url)},{id:"tex",name:"TeX",import:()=>g(()=>import("./Bj0fF4lQ.js"),__vite__mapDeps([80,32]),import.meta.url)},{id:"toml",name:"TOML",import:()=>g(()=>import("./BT9ZzGyQ.js"),[],import.meta.url)},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:()=>g(()=>import("./BpJyBuO9.js"),__vite__mapDeps([103,47,3,2,18,13,1,19,7,8]),import.meta.url)},{id:"tsv",name:"TSV",import:()=>g(()=>import("./DnLUQrgA.js"),[],import.meta.url)},{id:"tsx",name:"TSX",import:()=>g(()=>import("./BlxWTfDV.js"),[],import.meta.url)},{id:"turtle",name:"Turtle",import:()=>g(()=>import("./C15OxdQ5.js"),[],import.meta.url)},{id:"twig",name:"Twig",import:()=>g(()=>import("./FRbOFgZn.js"),__vite__mapDeps([104,3,2,5,87,1,7,8,19,9,31,39,13,40,41]),import.meta.url)},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>g(()=>import("./DC8MraHL.js"),[],import.meta.url)},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:()=>g(()=>import("./Bx64mzUw.js"),[],import.meta.url)},{id:"typst",name:"Typst",aliases:["typ"],import:()=>g(()=>import("./I4qd5QHW.js"),[],import.meta.url)},{id:"v",name:"V",import:()=>g(()=>import("./C2TBxDwV.js"),[],import.meta.url)},{id:"vala",name:"Vala",import:()=>g(()=>import("./CO5hpdkB.js"),[],import.meta.url)},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>g(()=>import("./beD-FUib.js"),[],import.meta.url)},{id:"verilog",name:"Verilog",import:()=>g(()=>import("./DVfdqzEq.js"),[],import.meta.url)},{id:"vhdl",name:"VHDL",import:()=>g(()=>import("./QZ3jNtnE.js"),[],import.meta.url)},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>g(()=>import("./BLluXI4E.js"),[],import.meta.url)},{id:"vue",name:"Vue",import:()=>g(()=>import("./DUsrs60I.js"),__vite__mapDeps([105,1,2,3,61,88,43,5,49,15,34,47,29,51,9,106,107,11,46,69,56]),import.meta.url)},{id:"vue-html",name:"Vue HTML",import:()=>g(()=>import("./BM5XuWfj.js"),__vite__mapDeps([108,105,1,2,3,61,88,43,5,49,15,34,47,29,51,9,106,107,11,46,69,56]),import.meta.url)},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>g(()=>import("./CBWrHyXe.js"),[],import.meta.url)},{id:"wasm",name:"WebAssembly",import:()=>g(()=>import("./Cicx_DS6.js"),[],import.meta.url)},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>g(()=>import("./D3VXSfF0.js"),[],import.meta.url)},{id:"wgsl",name:"WGSL",import:()=>g(()=>import("./BZz1Hhek.js"),[],import.meta.url)},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:()=>g(()=>import("./B_kA2_jD.js"),__vite__mapDeps([109,1,2,3,110,8,41,13,35,38,7,19,32,39,40,87,9,111,112,11,113,14,15,16,17,18,21,22,26,27,88,43,5,49,106,34,36,45,114,115,31,30,42,44,47,20,60,61,116,72,25,23,79,80,81,28,117]),import.meta.url)},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>g(()=>import("./BICIrM8O.js"),[],import.meta.url)},{id:"xml",name:"XML",import:()=>g(()=>import("./CsYA0RN7.js"),__vite__mapDeps([7,8]),import.meta.url)},{id:"xsl",name:"XSL",import:()=>g(()=>import("./CJQrLysU.js"),__vite__mapDeps([112,7,8]),import.meta.url)},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>g(()=>import("./DK4oFTHQ.js"),[],import.meta.url)},{id:"zenscript",name:"ZenScript",import:()=>g(()=>import("./B1nm99XP.js"),[],import.meta.url)},{id:"zig",name:"Zig",import:()=>g(()=>import("./yX2IItqj.js"),[],import.meta.url)}],W0=Object.fromEntries(gf.map(e=>[e.id,e.import])),z0=Object.fromEntries(gf.flatMap(e=>{var t;return((t=e.aliases)==null?void 0:t.map(n=>[n,e.import]))||[]})),q0={...W0,...z0},K0=async e=>g(()=>import("./CsTmP73Z.js"),[],import.meta.url).then(t=>t.default(e)),J0=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>g(()=>import("./YxQm0tCS.js"),[],import.meta.url)},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>g(()=>import("./BaWyeHV_.js"),[],import.meta.url)},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>g(()=>import("./Bn5gmY5k.js"),[],import.meta.url)},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:()=>g(()=>import("./BXP-NDAE.js"),[],import.meta.url)},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>g(()=>import("./DQ-rpzxz.js"),[],import.meta.url)},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>g(()=>import("./CPw9RxLe.js"),[],import.meta.url)},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>g(()=>import("./DV9_Ze0W.js"),[],import.meta.url)},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>g(()=>import("./KEYLhlmT.js"),[],import.meta.url)},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:()=>g(()=>import("./BpDWT_aG.js"),[],import.meta.url)},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:()=>g(()=>import("./D46m5Xd3.js"),[],import.meta.url)},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:()=>g(()=>import("./D5lQfeOG.js"),[],import.meta.url)},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:()=>g(()=>import("./D8V69RRQ.js"),[],import.meta.url)},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>g(()=>import("./CzPA46E-.js"),[],import.meta.url)},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>g(()=>import("./BXF7Vm5l.js"),[],import.meta.url)},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>g(()=>import("./CRDKj6ck.js"),[],import.meta.url)},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:()=>g(()=>import("./Ctb_e1-I.js"),[],import.meta.url)},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>g(()=>import("./CRlnGVMD.js"),[],import.meta.url)},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>g(()=>import("./UREJT2Bw.js"),[],import.meta.url)},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:()=>g(()=>import("./C8DXlOXe.js"),[],import.meta.url)},{id:"houston",displayName:"Houston",type:"dark",import:()=>g(()=>import("./CZZ6oYdA.js"),[],import.meta.url)},{id:"laserwave",displayName:"LaserWave",type:"dark",import:()=>g(()=>import("./cW9vKj3g.js"),[],import.meta.url)},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>g(()=>import("./BsvsQ1iS.js"),[],import.meta.url)},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>g(()=>import("./CgwOUXSn.js"),[],import.meta.url)},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>g(()=>import("./CO7HdiM_.js"),[],import.meta.url)},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>g(()=>import("./qxoleWdb.js"),[],import.meta.url)},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>g(()=>import("./ChH25C4w.js"),[],import.meta.url)},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>g(()=>import("./DOqtC9FP.js"),[],import.meta.url)},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>g(()=>import("./iSbrOpM4.js"),[],import.meta.url)},{id:"min-light",displayName:"Min Light",type:"light",import:()=>g(()=>import("./BITGhEdf.js"),[],import.meta.url)},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>g(()=>import("./sMI-pExk.js"),[],import.meta.url)},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>g(()=>import("./BeocmOPF.js"),[],import.meta.url)},{id:"nord",displayName:"Nord",type:"dark",import:()=>g(()=>import("./CsyjKwr8.js"),[],import.meta.url)},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>g(()=>import("./BTtaZsq5.js"),[],import.meta.url)},{id:"one-light",displayName:"One Light",type:"light",import:()=>g(()=>import("./alpzPJ78.js"),[],import.meta.url)},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>g(()=>import("./Cda-MJFk.js"),[],import.meta.url)},{id:"red",displayName:"Red",type:"dark",import:()=>g(()=>import("./jaXbsbtS.js"),[],import.meta.url)},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:()=>g(()=>import("./DDK5Hw8n.js"),[],import.meta.url)},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:()=>g(()=>import("./xuIuMB9j.js"),[],import.meta.url)},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:()=>g(()=>import("./BiVAY1KT.js"),[],import.meta.url)},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>g(()=>import("./C7oZ9nno.js"),[],import.meta.url)},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>g(()=>import("./hXH8Gyq8.js"),[],import.meta.url)},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:()=>g(()=>import("./CA9nliXM.js"),[],import.meta.url)},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>g(()=>import("./C86elO-m.js"),[],import.meta.url)},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>g(()=>import("./xPNGhBYe.js"),[],import.meta.url)},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>g(()=>import("./BBDuFDsq.js"),[],import.meta.url)},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>g(()=>import("./BMRpS3Xo.js"),[],import.meta.url)},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>g(()=>import("./BSB_bK09.js"),[],import.meta.url)},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>g(()=>import("./BHqu4VKd.js"),[],import.meta.url)},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>g(()=>import("./EQHFthT6.js"),[],import.meta.url)},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>g(()=>import("./NrGJGX17.js"),[],import.meta.url)}],X0=Object.fromEntries(J0.map(e=>[e.id,e.import]));var ot;(function(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"})(ot||(ot={}));var Mn;(function(e){function t(u){return u.toString(2).padStart(32,"0")}e.toBinaryStr=t;function n(u){const f=e.getLanguageId(u),d=e.getTokenType(u),p=e.getFontStyle(u),h=e.getForeground(u),m=e.getBackground(u);console.log({languageId:f,tokenType:d,fontStyle:p,foreground:h,background:m})}e.print=n;function r(u){return(u&255)>>>0}e.getLanguageId=r;function o(u){return(u&768)>>>8}e.getTokenType=o;function i(u){return(u&1024)!==0}e.containsBalancedBrackets=i;function s(u){return(u&30720)>>>11}e.getFontStyle=s;function l(u){return(u&16744448)>>>15}e.getForeground=l;function a(u){return(u&4278190080)>>>24}e.getBackground=a;function c(u,f,d,p,h,m,v){let C=e.getLanguageId(u),S=e.getTokenType(u),_=e.containsBalancedBrackets(u)?1:0,T=e.getFontStyle(u),E=e.getForeground(u),x=e.getBackground(u);return f!==0&&(C=f),d!==8&&(S=d),p!==null&&(_=p?1:0),h!==-1&&(T=h),m!==0&&(E=m),v!==0&&(x=v),(C<<0|S<<8|_<<10|T<<11|E<<15|x<<24)>>>0}e.set=c})(Mn||(Mn={}));function yo(e,t){const n=[],r=Y0(e);let o=r.next();for(;o!==null;){let a=0;if(o.length===2&&o.charAt(1)===":"){switch(o.charAt(0)){case"R":a=1;break;case"L":a=-1;break;default:console.log(`Unknown priority ${o} in scope selector`)}o=r.next()}let c=s();if(n.push({matcher:c,priority:a}),o!==",")break;o=r.next()}return n;function i(){if(o==="-"){o=r.next();const a=i();return c=>!!a&&!a(c)}if(o==="("){o=r.next();const a=l();return o===")"&&(o=r.next()),a}if(Ta(o)){const a=[];do a.push(o),o=r.next();while(Ta(o));return c=>t(a,c)}return null}function s(){const a=[];let c=i();for(;c;)a.push(c),c=i();return u=>a.every(f=>f(u))}function l(){const a=[];let c=s();for(;c&&(a.push(c),o==="|"||o===",");){do o=r.next();while(o==="|"||o===",");c=s()}return u=>a.some(f=>f(u))}}function Ta(e){return!!e&&!!e.match(/[\w\.:]+/)}function Y0(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:()=>{if(!n)return null;const r=n[0];return n=t.exec(e),r}}}function _f(e){typeof e.dispose=="function"&&e.dispose()}function Q0(e){return Fs(e)}function Fs(e){return Array.isArray(e)?Z0(e):typeof e=="object"?ey(e):e}function Z0(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=Fs(e[n]);return t}function ey(e){let t={};for(let n in e)t[n]=Fs(e[n]);return t}function yf(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function vf(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?vf(e.substring(0,e.length-1)):e.substr(~t+1)}let mi=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class Nr{static hasCaptures(t){return t===null?!1:(mi.lastIndex=0,mi.test(t))}static replaceCaptures(t,n,r){return t.replace(mi,(o,i,s,l)=>{let a=r[parseInt(i||s,10)];if(a){let c=n.substring(a.start,a.end);for(;c[0]===".";)c=c.substring(1);switch(l){case"downcase":return c.toLowerCase();case"upcase":return c.toUpperCase();default:return c}}else return o})}}function bf(e,t){return e<t?-1:e>t?1:0}function wf(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let o=0;o<n;o++){let i=bf(e[o],t[o]);if(i!==0)return i}return 0}return n-r}function Ca(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function Ef(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}class Tf{constructor(t){b(this,"fn");b(this,"cache",new Map);this.fn=t}get(t){if(this.cache.has(t))return this.cache.get(t);const n=this.fn(t);return this.cache.set(t,n),n}}class fr{constructor(t){b(this,"scopeName");this.scopeName=t}toKey(){return this.scopeName}}class ty{constructor(t,n){b(this,"scopeName");b(this,"ruleName");this.scopeName=t,this.ruleName=n}toKey(){return`${this.scopeName}#${this.ruleName}`}}class ny{constructor(){b(this,"_references",[]);b(this,"_seenReferenceKeys",new Set);b(this,"visitedRule",new Set)}get references(){return this._references}add(t){const n=t.toKey();this._seenReferenceKeys.has(n)||(this._seenReferenceKeys.add(n),this._references.push(t))}}class ry{constructor(t,n){b(this,"repo");b(this,"initialScopeName");b(this,"seenFullScopeRequests",new Set);b(this,"seenPartialScopeRequests",new Set);b(this,"Q");this.repo=t,this.initialScopeName=n,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new fr(this.initialScopeName)]}processQueue(){const t=this.Q;this.Q=[];const n=new ny;for(const r of t)oy(r,this.initialScopeName,this.repo,n);for(const r of n.references)if(r instanceof fr){if(this.seenFullScopeRequests.has(r.scopeName))continue;this.seenFullScopeRequests.add(r.scopeName),this.Q.push(r)}else{if(this.seenFullScopeRequests.has(r.scopeName)||this.seenPartialScopeRequests.has(r.toKey()))continue;this.seenPartialScopeRequests.add(r.toKey()),this.Q.push(r)}}}function oy(e,t,n,r){const o=n.lookup(e.scopeName);if(!o){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const i=n.lookup(t);e instanceof fr?Jr({baseGrammar:i,selfGrammar:o},r):Qi(e.ruleName,{baseGrammar:i,selfGrammar:o,repository:o.repository},r);const s=n.injections(e.scopeName);if(s)for(const l of s)r.add(new fr(l))}function Qi(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];vo([r],t,n)}}function Jr(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&vo(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&vo(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function vo(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const o=r.repository?yf({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&vo(r.patterns,{...t,repository:o},n);const i=r.include;if(!i)continue;const s=Cf(i);switch(s.kind){case 0:Jr({...t,selfGrammar:t.baseGrammar},n);break;case 1:Jr(t,n);break;case 2:Qi(s.ruleName,{...t,repository:o},n);break;case 3:case 4:const l=s.scopeName===t.selfGrammar.scopeName?t.selfGrammar:s.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(l){const a={baseGrammar:t.baseGrammar,selfGrammar:l,repository:o};s.kind===4?Qi(s.ruleName,a,n):Jr(a,n)}else s.kind===4?n.add(new ty(s.scopeName,s.ruleName)):n.add(new fr(s.scopeName));break}}}class iy{constructor(){b(this,"kind",0)}}class sy{constructor(){b(this,"kind",1)}}class ly{constructor(t){b(this,"ruleName");b(this,"kind",2);this.ruleName=t}}class ay{constructor(t){b(this,"scopeName");b(this,"kind",3);this.scopeName=t}}class cy{constructor(t,n){b(this,"scopeName");b(this,"ruleName");b(this,"kind",4);this.scopeName=t,this.ruleName=n}}function Cf(e){if(e==="$base")return new iy;if(e==="$self")return new sy;const t=e.indexOf("#");if(t===-1)return new ay(e);if(t===0)return new ly(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new cy(n,r)}}const uy=/\\(\d+)/,Sa=/\\(\d+)/g,fy=-1,Sf=-2;class vr{constructor(t,n,r,o){b(this,"$location");b(this,"id");b(this,"_nameIsCapturing");b(this,"_name");b(this,"_contentNameIsCapturing");b(this,"_contentName");this.$location=t,this.id=n,this._name=r||null,this._nameIsCapturing=Nr.hasCaptures(this._name),this._contentName=o||null,this._contentNameIsCapturing=Nr.hasCaptures(this._contentName)}get debugName(){const t=this.$location?`${vf(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${t}`}getName(t,n){return!this._nameIsCapturing||this._name===null||t===null||n===null?this._name:Nr.replaceCaptures(this._name,t,n)}getContentName(t,n){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Nr.replaceCaptures(this._contentName,t,n)}}class dy extends vr{constructor(n,r,o,i,s){super(n,r,o,i);b(this,"retokenizeCapturedWithRuleId");this.retokenizeCapturedWithRuleId=s}dispose(){}collectPatterns(n,r){throw new Error("Not supported!")}compile(n,r){throw new Error("Not supported!")}compileAG(n,r,o,i){throw new Error("Not supported!")}}class py extends vr{constructor(n,r,o,i,s){super(n,r,o,null);b(this,"_match");b(this,"captures");b(this,"_cachedCompiledPatterns");this._match=new an(i,this.id),this.captures=s,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(n,r){r.push(this._match)}compile(n,r){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,r,o,i){return this._getCachedCompiledPatterns(n).compileAG(n,o,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new dr,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class xa extends vr{constructor(n,r,o,i,s){super(n,r,o,i);b(this,"hasMissingPatterns");b(this,"patterns");b(this,"_cachedCompiledPatterns");this.patterns=s.patterns,this.hasMissingPatterns=s.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(n,r){for(const o of this.patterns)n.getRule(o).collectPatterns(n,r)}compile(n,r){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,r,o,i){return this._getCachedCompiledPatterns(n).compileAG(n,o,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new dr,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Zi extends vr{constructor(n,r,o,i,s,l,a,c,u,f){super(n,r,o,i);b(this,"_begin");b(this,"beginCaptures");b(this,"_end");b(this,"endHasBackReferences");b(this,"endCaptures");b(this,"applyEndPatternLast");b(this,"hasMissingPatterns");b(this,"patterns");b(this,"_cachedCompiledPatterns");this._begin=new an(s,this.id),this.beginCaptures=l,this._end=new an(a||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=c,this.applyEndPatternLast=u||!1,this.patterns=f.patterns,this.hasMissingPatterns=f.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(n,r){return this._end.resolveBackReferences(n,r)}collectPatterns(n,r){r.push(this._begin)}compile(n,r){return this._getCachedCompiledPatterns(n,r).compile(n)}compileAG(n,r,o,i){return this._getCachedCompiledPatterns(n,r).compileAG(n,o,i)}_getCachedCompiledPatterns(n,r){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new dr;for(const o of this.patterns)n.getRule(o).collectPatterns(n,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,r):this._cachedCompiledPatterns.setSource(0,r)),this._cachedCompiledPatterns}}class bo extends vr{constructor(n,r,o,i,s,l,a,c,u){super(n,r,o,i);b(this,"_begin");b(this,"beginCaptures");b(this,"whileCaptures");b(this,"_while");b(this,"whileHasBackReferences");b(this,"hasMissingPatterns");b(this,"patterns");b(this,"_cachedCompiledPatterns");b(this,"_cachedCompiledWhilePatterns");this._begin=new an(s,this.id),this.beginCaptures=l,this.whileCaptures=c,this._while=new an(a,Sf),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=u.patterns,this.hasMissingPatterns=u.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(n,r){return this._while.resolveBackReferences(n,r)}collectPatterns(n,r){r.push(this._begin)}compile(n,r){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,r,o,i){return this._getCachedCompiledPatterns(n).compileAG(n,o,i)}_getCachedCompiledPatterns(n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new dr;for(const r of this.patterns)n.getRule(r).collectPatterns(n,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(n,r){return this._getCachedCompiledWhilePatterns(n,r).compile(n)}compileWhileAG(n,r,o,i){return this._getCachedCompiledWhilePatterns(n,r).compileAG(n,o,i)}_getCachedCompiledWhilePatterns(n,r){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new dr,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,r||"￿"),this._cachedCompiledWhilePatterns}}class Le{static createCaptureRule(t,n,r,o,i){return t.registerRule(s=>new dy(n,s,r,o,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(o=>{if(t.id=o,t.match)return new py(t.$vscodeTextmateLocation,t.id,t.name,t.match,Le._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=yf({},r,t.repository));let i=t.patterns;return typeof i>"u"&&t.include&&(i=[{include:t.include}]),new xa(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,Le._compilePatterns(i,n,r))}return t.while?new bo(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Le._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,Le._compileCaptures(t.whileCaptures||t.captures,n,r),Le._compilePatterns(t.patterns,n,r)):new Zi(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Le._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,Le._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,Le._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let o=[];if(t){let i=0;for(const s in t){if(s==="$vscodeTextmateLocation")continue;const l=parseInt(s,10);l>i&&(i=l)}for(let s=0;s<=i;s++)o[s]=null;for(const s in t){if(s==="$vscodeTextmateLocation")continue;const l=parseInt(s,10);let a=0;t[s].patterns&&(a=Le.getCompiledRuleId(t[s],n,r)),o[l]=Le.createCaptureRule(n,t[s].$vscodeTextmateLocation,t[s].name,t[s].contentName,a)}}return o}static _compilePatterns(t,n,r){let o=[];if(t)for(let i=0,s=t.length;i<s;i++){const l=t[i];let a=-1;if(l.include){const c=Cf(l.include);switch(c.kind){case 0:case 1:a=Le.getCompiledRuleId(r[l.include],n,r);break;case 2:let u=r[c.ruleName];u&&(a=Le.getCompiledRuleId(u,n,r));break;case 3:case 4:const f=c.scopeName,d=c.kind===4?c.ruleName:null,p=n.getExternalGrammar(f,r);if(p)if(d){let h=p.repository[d];h&&(a=Le.getCompiledRuleId(h,n,p.repository))}else a=Le.getCompiledRuleId(p.repository.$self,n,p.repository);break}}else a=Le.getCompiledRuleId(l,n,r);if(a!==-1){const c=n.getRule(a);let u=!1;if((c instanceof xa||c instanceof Zi||c instanceof bo)&&c.hasMissingPatterns&&c.patterns.length===0&&(u=!0),u)continue;o.push(a)}}return{patterns:o,hasMissingPatterns:(t?t.length:0)!==o.length}}}class an{constructor(t,n){b(this,"source");b(this,"ruleId");b(this,"hasAnchor");b(this,"hasBackReferences");b(this,"_anchorCache");if(t){const r=t.length;let o=0,i=[],s=!1;for(let l=0;l<r;l++)if(t.charAt(l)==="\\"&&l+1<r){const c=t.charAt(l+1);c==="z"?(i.push(t.substring(o,l)),i.push("$(?!\\n)(?<!\\n)"),o=l+2):(c==="A"||c==="G")&&(s=!0),l++}this.hasAnchor=s,o===0?this.source=t:(i.push(t.substring(o,r)),this.source=i.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,this.hasBackReferences=uy.test(this.source)}clone(){return new an(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,n){let r=n.map(o=>t.substring(o.start,o.end));return Sa.lastIndex=0,this.source.replace(Sa,(o,i)=>Ef(r[parseInt(i,10)]||""))}_buildAnchorCache(){let t=[],n=[],r=[],o=[],i,s,l,a;for(i=0,s=this.source.length;i<s;i++)l=this.source.charAt(i),t[i]=l,n[i]=l,r[i]=l,o[i]=l,l==="\\"&&i+1<s&&(a=this.source.charAt(i+1),a==="A"?(t[i+1]="￿",n[i+1]="￿",r[i+1]="A",o[i+1]="A"):a==="G"?(t[i+1]="￿",n[i+1]="G",r[i+1]="￿",o[i+1]="G"):(t[i+1]=a,n[i+1]=a,r[i+1]=a,o[i+1]=a),i++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:o.join("")}}resolveAnchors(t,n){return!this.hasAnchor||!this._anchorCache?this.source:t?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}}class dr{constructor(){b(this,"_items");b(this,"_hasAnchors");b(this,"_cached");b(this,"_anchorCache");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(t){this._items.push(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}unshift(t){this._items.unshift(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}length(){return this._items.length}setSource(t,n){this._items[t].source!==n&&(this._disposeCaches(),this._items[t].setSource(n))}compile(t){if(!this._cached){let n=this._items.map(r=>r.source);this._cached=new Pa(t,n,this._items.map(r=>r.ruleId))}return this._cached}compileAG(t,n,r){return this._hasAnchors?n?r?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(t,n,r)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(t,n,r)),this._anchorCache.A1_G0):r?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(t,n,r)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(t,n,r)),this._anchorCache.A0_G0):this.compile(t)}_resolveAnchors(t,n,r){let o=this._items.map(i=>i.resolveAnchors(n,r));return new Pa(t,o,this._items.map(i=>i.ruleId))}}class Pa{constructor(t,n,r){b(this,"regExps");b(this,"rules");b(this,"scanner");this.regExps=n,this.rules=r,this.scanner=t.createOnigScanner(n)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const t=[];for(let n=0,r=this.rules.length;n<r;n++)t.push(" - "+this.rules[n]+": "+this.regExps[n]);return t.join(`
19
+ `)}findNextMatchSync(t,n,r){const o=this.scanner.findNextMatchSync(t,n,r);return o?{ruleId:this.rules[o.index],captureIndices:o.captureIndices}:null}}class wo{constructor(t,n,r){b(this,"_colorMap");b(this,"_defaults");b(this,"_root");b(this,"_cachedMatchRoot",new Tf(t=>this._root.match(t)));this._colorMap=t,this._defaults=n,this._root=r}static createFromRawTheme(t,n){return this.createFromParsedTheme(gy(t),n)}static createFromParsedTheme(t,n){return yy(t,n)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(t){if(t===null)return this._defaults;const n=t.scopeName,o=this._cachedMatchRoot.get(n).find(i=>hy(t.parent,i.parentScopes));return o?new xf(o.fontStyle,o.foreground,o.background):null}}class rn{constructor(t,n){b(this,"parent");b(this,"scopeName");this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new rn(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new rn(n,t[r]);return n}push(t){return new rn(this,t)}getSegments(){let t=this;const n=[];for(;t;)n.push(t.scopeName),t=t.parent;return n.reverse(),n}toString(){return this.getSegments().join(" ")}extends(t){return this===t?!0:this.parent===null?!1:this.parent.extends(t)}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push(r.scopeName),r=r.parent;return r===t?n.reverse():void 0}}function hy(e,t){if(t===null)return!0;let n=0,r=t[n];for(;e;){if(my(e.scopeName,r)){if(n++,n===t.length)return!0;r=t[n]}e=e.parent}return!1}function my(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}class xf{constructor(t,n,r){b(this,"fontStyle");b(this,"foregroundId");b(this,"backgroundId");this.fontStyle=t,this.foregroundId=n,this.backgroundId=r}}function gy(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let o=0,i=t.length;o<i;o++){let s=t[o];if(!s.settings)continue;let l;if(typeof s.scope=="string"){let f=s.scope;f=f.replace(/^[,]+/,""),f=f.replace(/[,]+$/,""),l=f.split(",")}else Array.isArray(s.scope)?l=s.scope:l=[""];let a=-1;if(typeof s.settings.fontStyle=="string"){a=0;let f=s.settings.fontStyle.split(" ");for(let d=0,p=f.length;d<p;d++)switch(f[d]){case"italic":a=a|1;break;case"bold":a=a|2;break;case"underline":a=a|4;break;case"strikethrough":a=a|8;break}}let c=null;typeof s.settings.foreground=="string"&&Ca(s.settings.foreground)&&(c=s.settings.foreground);let u=null;typeof s.settings.background=="string"&&Ca(s.settings.background)&&(u=s.settings.background);for(let f=0,d=l.length;f<d;f++){let h=l[f].trim().split(" "),m=h[h.length-1],v=null;h.length>1&&(v=h.slice(0,h.length-1),v.reverse()),n[r++]=new _y(m,v,o,a,c,u)}}return n}class _y{constructor(t,n,r,o,i,s){b(this,"scope");b(this,"parentScopes");b(this,"index");b(this,"fontStyle");b(this,"foreground");b(this,"background");this.scope=t,this.parentScopes=n,this.index=r,this.fontStyle=o,this.foreground=i,this.background=s}}function yy(e,t){e.sort((a,c)=>{let u=bf(a.scope,c.scope);return u!==0||(u=wf(a.parentScopes,c.parentScopes),u!==0)?u:a.index-c.index});let n=0,r="#000000",o="#ffffff";for(;e.length>=1&&e[0].scope==="";){let a=e.shift();a.fontStyle!==-1&&(n=a.fontStyle),a.foreground!==null&&(r=a.foreground),a.background!==null&&(o=a.background)}let i=new vy(t),s=new xf(n,i.getId(r),i.getId(o)),l=new tr(new pr(0,null,-1,0,0),[]);for(let a=0,c=e.length;a<c;a++){let u=e[a];l.insert(0,u.scope,u.parentScopes,u.fontStyle,i.getId(u.foreground),i.getId(u.background))}return new wo(i,s,l)}class vy{constructor(t){b(this,"_isFrozen");b(this,"_lastColorId");b(this,"_id2color");b(this,"_color2id");if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(t)){this._isFrozen=!0;for(let n=0,r=t.length;n<r;n++)this._color2id[t[n]]=n,this._id2color[n]=t[n]}else this._isFrozen=!1}getId(t){if(t===null)return 0;t=t.toUpperCase();let n=this._color2id[t];if(n)return n;if(this._isFrozen)throw new Error(`Missing color in color map - ${t}`);return n=++this._lastColorId,this._color2id[t]=n,this._id2color[n]=t,n}getColorMap(){return this._id2color.slice(0)}}class pr{constructor(t,n,r,o,i){b(this,"scopeDepth");b(this,"parentScopes");b(this,"fontStyle");b(this,"foreground");b(this,"background");this.scopeDepth=t,this.parentScopes=n,this.fontStyle=r,this.foreground=o,this.background=i}clone(){return new pr(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let n=[];for(let r=0,o=t.length;r<o;r++)n[r]=t[r].clone();return n}acceptOverwrite(t,n,r,o){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),o!==0&&(this.background=o)}}class tr{constructor(t,n=[],r={}){b(this,"_mainRule");b(this,"_children");b(this,"_rulesWithParentScopes");this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}static _sortBySpecificity(t){return t.length===1||t.sort(this._cmpBySpecificity),t}static _cmpBySpecificity(t,n){if(t.scopeDepth===n.scopeDepth){const r=t.parentScopes,o=n.parentScopes;let i=r===null?0:r.length,s=o===null?0:o.length;if(i===s)for(let l=0;l<i;l++){const a=r[l].length,c=o[l].length;if(a!==c)return c-a}return s-i}return n.scopeDepth-t.scopeDepth}match(t){if(t==="")return tr._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let n=t.indexOf("."),r,o;return n===-1?(r=t,o=""):(r=t.substring(0,n),o=t.substring(n+1)),this._children.hasOwnProperty(r)?this._children[r].match(o):tr._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(t,n,r,o,i,s){if(n===""){this._doInsertHere(t,r,o,i,s);return}let l=n.indexOf("."),a,c;l===-1?(a=n,c=""):(a=n.substring(0,l),c=n.substring(l+1));let u;this._children.hasOwnProperty(a)?u=this._children[a]:(u=new tr(this._mainRule.clone(),pr.cloneArr(this._rulesWithParentScopes)),this._children[a]=u),u.insert(t+1,c,r,o,i,s)}_doInsertHere(t,n,r,o,i){if(n===null){this._mainRule.acceptOverwrite(t,r,o,i);return}for(let s=0,l=this._rulesWithParentScopes.length;s<l;s++){let a=this._rulesWithParentScopes[s];if(wf(a.parentScopes,n)===0){a.acceptOverwrite(t,r,o,i);return}}r===-1&&(r=this._mainRule.fontStyle),o===0&&(o=this._mainRule.foreground),i===0&&(i=this._mainRule.background),this._rulesWithParentScopes.push(new pr(t,n,r,o,i))}}class gi{constructor(t,n){b(this,"languageId");b(this,"tokenType");this.languageId=t,this.tokenType=n}}const vn=class vn{constructor(t,n){b(this,"_defaultAttributes");b(this,"_embeddedLanguagesMatcher");b(this,"_getBasicScopeAttributes",new Tf(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new gi(n,r)}));this._defaultAttributes=new gi(t,8),this._embeddedLanguagesMatcher=new by(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?vn._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(vn.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[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!")}};b(vn,"_NULL_SCOPE_METADATA",new gi(0,0)),b(vn,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/);let es=vn;class by{constructor(t){b(this,"values");b(this,"scopesRegExp");if(t.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(t);const n=t.map(([r,o])=>Ef(r));n.sort(),n.reverse(),this.scopesRegExp=new RegExp(`^((${n.join(")|(")}))($|\\.)`,"")}}match(t){if(!this.scopesRegExp)return;const n=t.match(this.scopesRegExp);if(n)return this.values.get(n[1])}}class Ra{constructor(t,n){b(this,"stack");b(this,"stoppedEarly");this.stack=t,this.stoppedEarly=n}}function Pf(e,t,n,r,o,i,s,l){const a=t.content.length;let c=!1,u=-1;if(s){const p=wy(e,t,n,r,o,i);o=p.stack,r=p.linePos,n=p.isFirstLine,u=p.anchorPosition}const f=Date.now();for(;!c;){if(l!==0&&Date.now()-f>l)return new Ra(o,!0);d()}return new Ra(o,!1);function d(){const p=Ey(e,t,n,r,o,u);if(!p){i.produce(o,a),c=!0;return}const h=p.captureIndices,m=p.matchedRuleId,v=h&&h.length>0?h[0].end>r:!1;if(m===fy){const C=o.getRule(e);i.produce(o,h[0].start),o=o.withContentNameScopesList(o.nameScopesList),Wn(e,t,n,o,i,C.endCaptures,h),i.produce(o,h[0].end);const S=o;if(o=o.parent,u=S.getAnchorPos(),!v&&S.getEnterPos()===r){o=S,i.produce(o,a),c=!0;return}}else{const C=e.getRule(m);i.produce(o,h[0].start);const S=o,_=C.getName(t.content,h),T=o.contentNameScopesList.pushAttributed(_,e);if(o=o.push(m,r,u,h[0].end===a,null,T,T),C instanceof Zi){const E=C;Wn(e,t,n,o,i,E.beginCaptures,h),i.produce(o,h[0].end),u=h[0].end;const x=E.getContentName(t.content,h),R=T.pushAttributed(x,e);if(o=o.withContentNameScopesList(R),E.endHasBackReferences&&(o=o.withEndRule(E.getEndWithResolvedBackReferences(t.content,h))),!v&&S.hasSameRuleAs(o)){o=o.pop(),i.produce(o,a),c=!0;return}}else if(C instanceof bo){const E=C;Wn(e,t,n,o,i,E.beginCaptures,h),i.produce(o,h[0].end),u=h[0].end;const x=E.getContentName(t.content,h),R=T.pushAttributed(x,e);if(o=o.withContentNameScopesList(R),E.whileHasBackReferences&&(o=o.withEndRule(E.getWhileWithResolvedBackReferences(t.content,h))),!v&&S.hasSameRuleAs(o)){o=o.pop(),i.produce(o,a),c=!0;return}}else if(Wn(e,t,n,o,i,C.captures,h),i.produce(o,h[0].end),o=o.pop(),!v){o=o.safePop(),i.produce(o,a),c=!0;return}}h[0].end>r&&(r=h[0].end,n=!1)}}function wy(e,t,n,r,o,i){let s=o.beginRuleCapturedEOL?0:-1;const l=[];for(let a=o;a;a=a.pop()){const c=a.getRule(e);c instanceof bo&&l.push({rule:c,stack:a})}for(let a=l.pop();a;a=l.pop()){const{ruleScanner:c,findOptions:u}=Sy(a.rule,e,a.stack.endRule,n,r===s),f=c.findNextMatchSync(t,r,u);if(f){if(f.ruleId!==Sf){o=a.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(i.produce(a.stack,f.captureIndices[0].start),Wn(e,t,n,a.stack,i,a.rule.whileCaptures,f.captureIndices),i.produce(a.stack,f.captureIndices[0].end),s=f.captureIndices[0].end,f.captureIndices[0].end>r&&(r=f.captureIndices[0].end,n=!1))}else{o=a.stack.pop();break}}return{stack:o,linePos:r,anchorPosition:s,isFirstLine:n}}function Ey(e,t,n,r,o,i){const s=Ty(e,t,n,r,o,i),l=e.getInjections();if(l.length===0)return s;const a=Cy(l,e,t,n,r,o,i);if(!a)return s;if(!s)return a;const c=s.captureIndices[0].start,u=a.captureIndices[0].start;return u<c||a.priorityMatch&&u===c?a:s}function Ty(e,t,n,r,o,i){const s=o.getRule(e),{ruleScanner:l,findOptions:a}=Rf(s,e,o.endRule,n,r===i),c=l.findNextMatchSync(t,r,a);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function Cy(e,t,n,r,o,i,s){let l=Number.MAX_VALUE,a=null,c,u=0;const f=i.contentNameScopesList.getScopeNames();for(let d=0,p=e.length;d<p;d++){const h=e[d];if(!h.matcher(f))continue;const m=t.getRule(h.ruleId),{ruleScanner:v,findOptions:C}=Rf(m,t,null,r,o===s),S=v.findNextMatchSync(n,o,C);if(!S)continue;const _=S.captureIndices[0].start;if(!(_>=l)&&(l=_,a=S.captureIndices,c=S.ruleId,u=h.priority,l===o))break}return a?{priorityMatch:u===-1,captureIndices:a,matchedRuleId:c}:null}function Rf(e,t,n,r,o){return{ruleScanner:e.compileAG(t,n,r,o),findOptions:0}}function Sy(e,t,n,r,o){return{ruleScanner:e.compileWhileAG(t,n,r,o),findOptions:0}}function Wn(e,t,n,r,o,i,s){if(i.length===0)return;const l=t.content,a=Math.min(i.length,s.length),c=[],u=s[0].end;for(let f=0;f<a;f++){const d=i[f];if(d===null)continue;const p=s[f];if(p.length===0)continue;if(p.start>u)break;for(;c.length>0&&c[c.length-1].endPos<=p.start;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?o.produceFromScopes(c[c.length-1].scopes,p.start):o.produce(r,p.start),d.retokenizeCapturedWithRuleId){const m=d.getName(l,s),v=r.contentNameScopesList.pushAttributed(m,e),C=d.getContentName(l,s),S=v.pushAttributed(C,e),_=r.push(d.retokenizeCapturedWithRuleId,p.start,-1,!1,null,v,S),T=e.createOnigString(l.substring(0,p.end));Pf(e,T,n&&p.start===0,p.start,_,o,!1,0),_f(T);continue}const h=d.getName(l,s);if(h!==null){const v=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(h,e);c.push(new xy(v,p.end))}}for(;c.length>0;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}class xy{constructor(t,n){b(this,"scopes");b(this,"endPos");this.scopes=t,this.endPos=n}}function Py(e,t,n,r,o,i,s,l){return new Ay(e,t,n,r,o,i,s,l)}function Aa(e,t,n,r,o){const i=yo(t,Eo),s=Le.getCompiledRuleId(n,r,o.repository);for(const l of i)e.push({debugSelector:t,matcher:l.matcher,ruleId:s,grammar:o,priority:l.priority})}function Eo(e,t){if(t.length<e.length)return!1;let n=0;return e.every(r=>{for(let o=n;o<t.length;o++)if(Ry(t[o],r))return n=o+1,!0;return!1})}function Ry(e,t){if(!e)return!1;if(e===t)return!0;const n=t.length;return e.length>n&&e.substr(0,n)===t&&e[n]==="."}class Ay{constructor(t,n,r,o,i,s,l,a){b(this,"_rootScopeName");b(this,"balancedBracketSelectors");b(this,"_onigLib");b(this,"_rootId");b(this,"_lastRuleId");b(this,"_ruleId2desc");b(this,"_includedGrammars");b(this,"_grammarRepository");b(this,"_grammar");b(this,"_injections");b(this,"_basicScopeAttributesProvider");b(this,"_tokenTypeMatchers");if(this._rootScopeName=t,this.balancedBracketSelectors=s,this._onigLib=a,this._basicScopeAttributesProvider=new es(r,o),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=l,this._grammar=La(n,null),this._injections=null,this._tokenTypeMatchers=[],i)for(const c of Object.keys(i)){const u=yo(c,Eo);for(const f of u)this._tokenTypeMatchers.push({matcher:f.matcher,type:i[c]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const t of this._ruleId2desc)t&&t.dispose()}createOnigScanner(t){return this._onigLib.createOnigScanner(t)}createOnigString(t){return this._onigLib.createOnigString(t)}getMetadataForScope(t){return this._basicScopeAttributesProvider.getBasicScopeAttributes(t)}_collectInjections(){const t={lookup:i=>i===this._rootScopeName?this._grammar:this.getExternalGrammar(i),injections:i=>this._grammarRepository.injections(i)},n=[],r=this._rootScopeName,o=t.lookup(r);if(o){const i=o.injections;if(i)for(let l in i)Aa(n,l,i[l],this,o);const s=this._grammarRepository.injections(r);s&&s.forEach(l=>{const a=this.getExternalGrammar(l);if(a){const c=a.injectionSelector;c&&Aa(n,c,a,this,a)}})}return n.sort((i,s)=>i.priority-s.priority),n}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(t){const n=++this._lastRuleId,r=t(n);return this._ruleId2desc[n]=r,r}getRule(t){return this._ruleId2desc[t]}getExternalGrammar(t,n){if(this._includedGrammars[t])return this._includedGrammars[t];if(this._grammarRepository){const r=this._grammarRepository.lookup(t);if(r)return this._includedGrammars[t]=La(r,n&&n.$base),this._includedGrammars[t]}}tokenizeLine(t,n,r=0){const o=this._tokenize(t,n,!1,r);return{tokens:o.lineTokens.getResult(o.ruleStack,o.lineLength),ruleStack:o.ruleStack,stoppedEarly:o.stoppedEarly}}tokenizeLine2(t,n,r=0){const o=this._tokenize(t,n,!0,r);return{tokens:o.lineTokens.getBinaryResult(o.ruleStack,o.lineLength),ruleStack:o.ruleStack,stoppedEarly:o.stoppedEarly}}_tokenize(t,n,r,o){this._rootId===-1&&(this._rootId=Le.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let i;if(!n||n===hr.NULL){i=!0;const u=this._basicScopeAttributesProvider.getDefaultAttributes(),f=this.themeProvider.getDefaults(),d=Mn.set(0,u.languageId,u.tokenType,null,f.fontStyle,f.foregroundId,f.backgroundId),p=this.getRule(this._rootId).getName(null,null);let h;p?h=je.createRootAndLookUpScopeName(p,d,this):h=je.createRoot("unknown",d),n=new hr(null,this._rootId,-1,-1,!1,null,h,h)}else i=!1,n.reset();t=t+`
20
+ `;const s=this.createOnigString(t),l=s.content.length,a=new Oy(r,t,this._tokenTypeMatchers,this.balancedBracketSelectors),c=Pf(this,s,i,0,n,a,!0,o);return _f(s),{lineLength:l,lineTokens:a,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}}function La(e,t){return e=Q0(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}class je{constructor(t,n,r){b(this,"parent");b(this,"scopePath");b(this,"tokenAttributes");this.parent=t,this.scopePath=n,this.tokenAttributes=r}static fromExtension(t,n){let r=t,o=(t==null?void 0:t.scopePath)??null;for(const i of n)o=rn.push(o,i.scopeNames),r=new je(r,o,i.encodedTokenAttributes);return r}static createRoot(t,n){return new je(null,new rn(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const o=r.getMetadataForScope(t),i=new rn(null,t),s=r.themeProvider.themeMatch(i),l=je.mergeAttributes(n,o,s);return new je(null,i,l)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return je.equals(this,t)}static equals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.scopeName!==n.scopeName||t.tokenAttributes!==n.tokenAttributes)return!1;t=t.parent,n=n.parent}while(!0)}static mergeAttributes(t,n,r){let o=-1,i=0,s=0;return r!==null&&(o=r.fontStyle,i=r.foregroundId,s=r.backgroundId),Mn.set(t,n.languageId,n.tokenType,null,o,i,s)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return je._pushAttributed(this,t,n);const r=t.split(/ /g);let o=this;for(const i of r)o=je._pushAttributed(o,i,n);return o}static _pushAttributed(t,n,r){const o=r.getMetadataForScope(n),i=t.scopePath.push(n),s=r.themeProvider.themeMatch(i),l=je.mergeAttributes(t.tokenAttributes,o,s);return new je(t,i,l)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){var o;const n=[];let r=this;for(;r&&r!==t;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(((o=r.parent)==null?void 0:o.scopePath)??null)}),r=r.parent;return r===t?n.reverse():void 0}}const Et=class Et{constructor(t,n,r,o,i,s,l,a){b(this,"parent");b(this,"ruleId");b(this,"beginRuleCapturedEOL");b(this,"endRule");b(this,"nameScopesList");b(this,"contentNameScopesList");b(this,"_stackElementBrand");b(this,"_enterPos");b(this,"_anchorPos");b(this,"depth");this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=i,this.endRule=s,this.nameScopesList=l,this.contentNameScopesList=a,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=o}equals(t){return t===null?!1:Et._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?je.equals(t.contentNameScopesList,n.contentNameScopesList):!1}static _structuralEquals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.depth!==n.depth||t.ruleId!==n.ruleId||t.endRule!==n.endRule)return!1;t=t.parent,n=n.parent}while(!0)}clone(){return this}static _reset(t){for(;t;)t._enterPos=-1,t._anchorPos=-1,t=t.parent}reset(){Et._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,o,i,s,l){return new Et(this,t,n,r,o,i,s,l)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(t){return t.getRule(this.ruleId)}toString(){const t=[];return this._writeString(t,0),"["+t.join(",")+"]"}_writeString(t,n){var r,o;return this.parent&&(n=this.parent._writeString(t,n)),t[n++]=`(${this.ruleId}, ${(r=this.nameScopesList)==null?void 0:r.toString()}, ${(o=this.contentNameScopesList)==null?void 0:o.toString()})`,n}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new Et(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let n=this;for(;n&&n._enterPos===t._enterPos;){if(n.ruleId===t.ruleId)return!0;n=n.parent}return!1}toStateStackFrame(){var t,n,r;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((n=this.nameScopesList)==null?void 0:n.getExtensionIfDefined(((t=this.parent)==null?void 0:t.nameScopesList)??null))??[],contentNameScopesList:((r=this.contentNameScopesList)==null?void 0:r.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(t,n){const r=je.fromExtension((t==null?void 0:t.nameScopesList)??null,n.nameScopesList);return new Et(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,je.fromExtension(r,n.contentNameScopesList))}};b(Et,"NULL",new Et(null,0,0,0,!1,null,null,null));let hr=Et;class Ly{constructor(t,n){b(this,"balancedBracketScopes");b(this,"unbalancedBracketScopes");b(this,"allowAny",!1);this.balancedBracketScopes=t.flatMap(r=>r==="*"?(this.allowAny=!0,[]):yo(r,Eo).map(o=>o.matcher)),this.unbalancedBracketScopes=n.flatMap(r=>yo(r,Eo).map(o=>o.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(t){for(const n of this.unbalancedBracketScopes)if(n(t))return!1;for(const n of this.balancedBracketScopes)if(n(t))return!0;return this.allowAny}}class Oy{constructor(t,n,r,o){b(this,"balancedBracketSelectors");b(this,"_emitBinaryTokens");b(this,"_lineText");b(this,"_tokens");b(this,"_binaryTokens");b(this,"_lastTokenEndIndex");b(this,"_tokenTypeOverrides");this.balancedBracketSelectors=o,this._emitBinaryTokens=t,this._tokenTypeOverrides=r,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(t,n){this.produceFromScopes(t.contentNameScopesList,n)}produceFromScopes(t,n){var o;if(this._lastTokenEndIndex>=n)return;if(this._emitBinaryTokens){let i=(t==null?void 0:t.tokenAttributes)??0,s=!1;if((o=this.balancedBracketSelectors)!=null&&o.matchesAlways&&(s=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const l=(t==null?void 0:t.getScopeNames())??[];for(const a of this._tokenTypeOverrides)a.matcher(l)&&(i=Mn.set(i,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(l))}if(s&&(i=Mn.set(i,0,8,s,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===i){this._lastTokenEndIndex=n;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(i),this._lastTokenEndIndex=n;return}const r=(t==null?void 0:t.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:n,scopes:r}),this._lastTokenEndIndex=n}getResult(t,n){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===n-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,n),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(t,n){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===n-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,n),this._binaryTokens[this._binaryTokens.length-2]=0);const r=new Uint32Array(this._binaryTokens.length);for(let o=0,i=this._binaryTokens.length;o<i;o++)r[o]=this._binaryTokens[o];return r}}class ky{constructor(t,n){b(this,"_onigLibPromise");b(this,"_grammars",new Map);b(this,"_rawGrammars",new Map);b(this,"_injectionGrammars",new Map);b(this,"_theme");this._onigLibPromise=n,this._theme=t}dispose(){for(const t of this._grammars.values())t.dispose()}setTheme(t){this._theme=t}getColorMap(){return this._theme.getColorMap()}addGrammar(t,n){this._rawGrammars.set(t.scopeName,t),n&&this._injectionGrammars.set(t.scopeName,n)}lookup(t){return this._rawGrammars.get(t)}injections(t){return this._injectionGrammars.get(t)}getDefaults(){return this._theme.getDefaults()}themeMatch(t){return this._theme.match(t)}async grammarForScopeName(t,n,r,o,i){if(!this._grammars.has(t)){let s=this._rawGrammars.get(t);if(!s)return null;this._grammars.set(t,Py(t,s,n,r,o,i,this,await this._onigLibPromise))}return this._grammars.get(t)}}let Iy=class{constructor(t){b(this,"_options");b(this,"_syncRegistry");b(this,"_ensureGrammarCache");this._options=t,this._syncRegistry=new ky(wo.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(wo.createFromRawTheme(t,n))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(t,n,r){return this.loadGrammarWithConfiguration(t,n,{embeddedLanguages:r})}loadGrammarWithConfiguration(t,n,r){return this._loadGrammar(t,n,r.embeddedLanguages,r.tokenTypes,new Ly(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}async _loadGrammar(t,n,r,o,i){const s=new ry(this._syncRegistry,t);for(;s.Q.length>0;)await Promise.all(s.Q.map(l=>this._loadSingleGrammar(l.scopeName))),s.processQueue();return this._grammarForScopeName(t,n,r,o,i)}async _loadSingleGrammar(t){return this._ensureGrammarCache.has(t)||this._ensureGrammarCache.set(t,this._doLoadSingleGrammar(t)),this._ensureGrammarCache.get(t)}async _doLoadSingleGrammar(t){const n=await this._options.loadGrammar(t);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(n,r)}}async addGrammar(t,n=[],r=0,o=null){return this._syncRegistry.addGrammar(t,n),await this._grammarForScopeName(t.scopeName,r,o)}_grammarForScopeName(t,n=0,r=null,o=null,i=null){return this._syncRegistry.grammarForScopeName(t,n,r,o,i)}};const Af=hr.NULL,Ne={LANGUAGEID_MASK:255,TOKEN_TYPE_MASK:768,BALANCED_BRACKETS_MASK:1024,FONT_STYLE_MASK:14336,FOREGROUND_MASK:8372224,BACKGROUND_MASK:4286578688,LANGUAGEID_OFFSET:0,TOKEN_TYPE_OFFSET:8,BALANCED_BRACKETS_OFFSET:10,FONT_STYLE_OFFSET:11,FOREGROUND_OFFSET:15,BACKGROUND_OFFSET:24};class Tt{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n=`0${n}`;return n}static getLanguageId(t){return(t&Ne.LANGUAGEID_MASK)>>>Ne.LANGUAGEID_OFFSET}static getTokenType(t){return(t&Ne.TOKEN_TYPE_MASK)>>>Ne.TOKEN_TYPE_OFFSET}static getFontStyle(t){return(t&Ne.FONT_STYLE_MASK)>>>Ne.FONT_STYLE_OFFSET}static getForeground(t){return(t&Ne.FOREGROUND_MASK)>>>Ne.FOREGROUND_OFFSET}static getBackground(t){return(t&Ne.BACKGROUND_MASK)>>>Ne.BACKGROUND_OFFSET}static containsBalancedBrackets(t){return(t&Ne.BALANCED_BRACKETS_MASK)!==0}static set(t,n,r,o,i,s){let l=Tt.getLanguageId(t),a=Tt.getTokenType(t),c=Tt.getFontStyle(t),u=Tt.getForeground(t),f=Tt.getBackground(t);const d=Tt.containsBalancedBrackets(t)?1:0;return n!==0&&(l=n),r!==0&&(a=r===8?0:r),o!==ot.NotSet&&(c=o),i!==0&&(u=i),s!==0&&(f=s),(l<<Ne.LANGUAGEID_OFFSET|a<<Ne.TOKEN_TYPE_OFFSET|c<<Ne.FONT_STYLE_OFFSET|d<<Ne.BALANCED_BRACKETS_OFFSET|u<<Ne.FOREGROUND_OFFSET|f<<Ne.BACKGROUND_OFFSET)>>>0}}function qo(e,t=!1){var i;const n=e.split(/(\r?\n)/g);let r=0;const o=[];for(let s=0;s<n.length;s+=2){const l=t?n[s]+(n[s+1]||""):n[s];o.push([l,r]),r+=n[s].length,r+=((i=n[s+1])==null?void 0:i.length)||0}return o}function Us(e){return!e||["plaintext","txt","text","plain"].includes(e)}function Lf(e){return e==="ansi"||Us(e)}function Gs(e){return e==="none"}function Of(e){return Gs(e)}function kf(e,t){var r;if(!t)return e;e.properties||(e.properties={}),(r=e.properties).class||(r.class=[]),typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]);const n=Array.isArray(t)?t:t.split(/\s+/g);for(const o of n)o&&!e.properties.class.includes(o)&&e.properties.class.push(o);return e}function Ny(e,t){let n=0;const r=[];for(const o of t)o>n&&r.push({...e,content:e.content.slice(n,o),offset:e.offset+n}),n=o;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r}function Dy(e,t){const n=Array.from(t instanceof Set?t:new Set(t)).sort((r,o)=>r-o);return n.length?e.map(r=>r.flatMap(o=>{const i=n.filter(s=>o.offset<s&&s<o.offset+o.content.length).map(s=>s-o.offset).sort((s,l)=>s-l);return i.length?Ny(o,i):o})):e}function To(e,t){const n=typeof e=="string"?{}:{...e.colorReplacements},r=typeof e=="string"?e:e.name;for(const[o,i]of Object.entries((t==null?void 0:t.colorReplacements)||{}))typeof i=="string"?n[o]=i:o===r&&Object.assign(n,i);return n}function Qt(e,t){return e&&((t==null?void 0:t[e==null?void 0:e.toLowerCase()])||e)}function If(e){const t={};return e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle&&(e.fontStyle&ot.Italic&&(t["font-style"]="italic"),e.fontStyle&ot.Bold&&(t["font-weight"]="bold"),e.fontStyle&ot.Underline&&(t["text-decoration"]="underline")),t}function Nf(e){return Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}function $y(e){const t=qo(e,!0).map(([o])=>o);function n(o){if(o===e.length)return{line:t.length-1,character:t[t.length-1].length};let i=o,s=0;for(const l of t){if(i<l.length)break;i-=l.length,s++}return{line:s,character:i}}function r(o,i){let s=0;for(let l=0;l<o;l++)s+=t[l].length;return s+=i,s}return{lines:t,indexToPos:n,posToIndex:r}}var Zt=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],_i={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function My(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 Oa(e,t){let n=1;const r=e[t+n++];let o;if(r==="2"){const i=[e[t+n++],e[t+n++],e[t+n]].map(s=>Number.parseInt(s));i.length===3&&!i.some(s=>Number.isNaN(s))&&(o={type:"rgb",rgb:i})}else if(r==="5"){const i=Number.parseInt(e[t+n]);Number.isNaN(i)||(o={type:"table",index:Number(i)})}return[n,o]}function Vy(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n],o=Number.parseInt(r);if(!Number.isNaN(o))if(o===0)t.push({type:"resetAll"});else if(o<=9)_i[o]&&t.push({type:"setDecoration",value:_i[o]});else if(o<=29){const i=_i[o-20];i&&t.push({type:"resetDecoration",value:i})}else if(o<=37)t.push({type:"setForegroundColor",value:{type:"named",name:Zt[o-30]}});else if(o===38){const[i,s]=Oa(e,n);s&&t.push({type:"setForegroundColor",value:s}),n+=i}else if(o===39)t.push({type:"resetForegroundColor"});else if(o<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:Zt[o-40]}});else if(o===48){const[i,s]=Oa(e,n);s&&t.push({type:"setBackgroundColor",value:s}),n+=i}else o===49?t.push({type:"resetBackgroundColor"}):o>=90&&o<=97?t.push({type:"setForegroundColor",value:{type:"named",name:Zt[o-90+8]}}):o>=100&&o<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Zt[o-100+8]}})}return t}function Hy(){let e=null,t=null,n=new Set;return{parse(r){const o=[];let i=0;do{const s=My(r,i),l=s.sequence?r.substring(i,s.startPosition):r.substring(i);if(l.length>0&&o.push({value:l,foreground:e,background:t,decorations:new Set(n)}),s.sequence){const a=Vy(s.sequence);for(const c of a)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 a)c.type==="setForegroundColor"?e=c.value:c.type==="setBackgroundColor"?t=c.value:c.type==="setDecoration"&&n.add(c.value)}i=s.position}while(i<r.length);return o}}}var By={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 jy(e=By){function t(l){return e[l]}function n(l){return`#${l.map(a=>Math.max(0,Math.min(a,255)).toString(16).padStart(2,"0")).join("")}`}let r;function o(){if(r)return r;r=[];for(let c=0;c<Zt.length;c++)r.push(t(Zt[c]));let l=[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([l[c],l[u],l[f]]));let a=8;for(let c=0;c<24;c++,a+=10)r.push(n([a,a,a]));return r}function i(l){return o()[l]}function s(l){switch(l.type){case"named":return t(l.name);case"rgb":return n(l.rgb);case"table":return i(l.index)}}return{value:s}}function Fy(e,t,n){const r=To(e,n),o=qo(t),i=jy(Object.fromEntries(Zt.map(l=>{var a;return[l,(a=e.colors)==null?void 0:a[`terminal.ansi${l[0].toUpperCase()}${l.substring(1)}`]]}))),s=Hy();return o.map(l=>s.parse(l[0]).map(a=>{let c,u;a.decorations.has("reverse")?(c=a.background?i.value(a.background):e.bg,u=a.foreground?i.value(a.foreground):e.fg):(c=a.foreground?i.value(a.foreground):e.fg,u=a.background?i.value(a.background):void 0),c=Qt(c,r),u=Qt(u,r),a.decorations.has("dim")&&(c=Uy(c));let f=ot.None;return a.decorations.has("bold")&&(f|=ot.Bold),a.decorations.has("italic")&&(f|=ot.Italic),a.decorations.has("underline")&&(f|=ot.Underline),{content:a.value,offset:l[1],color:c,bgColor:u,fontStyle:f}}))}function Uy(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\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}class me extends Error{constructor(t){super(t),this.name="ShikiError"}}class Ko{constructor(t,n,r){b(this,"_stack");b(this,"lang");b(this,"theme");this._stack=t,this.lang=n,this.theme=r}static initial(t,n){return new Ko(Af,t,n)}get scopes(){return Gy(this._stack)}toJSON(){return{lang:this.lang,theme:this.theme,scopes:this.scopes}}}function Gy(e){const t=[],n=new Set;function r(o){var s;if(n.has(o))return;n.add(o);const i=(s=o==null?void 0:o.nameScopesList)==null?void 0:s.scopeName;i&&t.push(i),o.parent&&r(o.parent)}return r(e),t}function Wy(e){if(!(e instanceof Ko))throw new me("Invalid grammar state");return e._stack}function Ws(e,t,n={}){const{lang:r="text",theme:o=e.getLoadedThemes()[0]}=n;if(Us(r)||Gs(o))return qo(t).map(a=>[{content:a[0],offset:a[1]}]);const{theme:i,colorMap:s}=e.setTheme(o);if(r==="ansi")return Fy(i,t,n);const l=e.getLanguage(r);if(n.grammarState){if(n.grammarState.lang!==l.name)throw new me(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${l.name}"`);if(n.grammarState.theme!==o)throw new me(`Grammar state theme "${n.grammarState.theme}" does not match highlight theme "${o}"`)}return qy(t,l,i,s,n)}function zy(e,t,n={}){const{lang:r="text",theme:o=e.getLoadedThemes()[0]}=n;if(Us(r)||Gs(o))throw new me("Plain language does not have grammar state");if(r==="ansi")throw new me("ANSI language does not have grammar state");const{theme:i,colorMap:s}=e.setTheme(o),l=e.getLanguage(r);return new Ko(zs(t,l,i,s,n).stateStack,l.name,i.name)}function qy(e,t,n,r,o){return zs(e,t,n,r,o).tokens}function zs(e,t,n,r,o){const i=To(n,o),{tokenizeMaxLineLength:s=0,tokenizeTimeLimit:l=500}=o,a=qo(e);let c=o.grammarState?Wy(o.grammarState):o.grammarContextCode!=null?zs(o.grammarContextCode,t,n,r,{...o,grammarState:void 0,grammarContextCode:void 0}).stateStack:Af,u=[];const f=[];for(let d=0,p=a.length;d<p;d++){const[h,m]=a[d];if(h===""){u=[],f.push([]);continue}if(s>0&&h.length>=s){u=[],f.push([{content:h,offset:m,color:"",fontStyle:0}]);continue}let v,C,S;o.includeExplanation&&(v=t.tokenizeLine(h,c),C=v.tokens,S=0);const _=t.tokenizeLine2(h,c,l),T=_.tokens.length/2;for(let E=0;E<T;E++){const x=_.tokens[2*E],R=E+1<T?_.tokens[2*E+2]:h.length;if(x===R)continue;const V=_.tokens[2*E+1],F=Qt(r[Tt.getForeground(V)],i),A=Tt.getFontStyle(V),G={content:h.substring(x,R),offset:m+x,color:F,fontStyle:A};if(o.includeExplanation){const K=[];if(o.includeExplanation!=="scopeName")for(const ne of n.settings){let ce;switch(typeof ne.scope){case"string":ce=ne.scope.split(/,/).map(B=>B.trim());break;case"object":ce=ne.scope;break;default:continue}K.push({settings:ne,selectors:ce.map(B=>B.split(/ /))})}G.explanation=[];let ie=0;for(;x+ie<R;){const ne=C[S],ce=h.substring(ne.startIndex,ne.endIndex);ie+=ce.length,G.explanation.push({content:ce,scopes:o.includeExplanation==="scopeName"?Ky(ne.scopes):Jy(K,ne.scopes)}),S+=1}}u.push(G)}f.push(u),u=[],c=_.ruleStack}return{tokens:f,stateStack:c}}function Ky(e){return e.map(t=>({scopeName:t}))}function Jy(e,t){const n=[];for(let r=0,o=t.length;r<o;r++){const i=t[r];n[r]={scopeName:i,themeMatches:Yy(e,i,t.slice(0,r))}}return n}function ka(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]==="."}function Xy(e,t,n){if(!ka(e[e.length-1],t))return!1;let r=e.length-2,o=n.length-1;for(;r>=0&&o>=0;)ka(e[r],n[o])&&(r-=1),o-=1;return r===-1}function Yy(e,t,n){const r=[];for(const{selectors:o,settings:i}of e)for(const s of o)if(Xy(s,t,n)){r.push(i);break}return r}function Df(e,t,n){const r=Object.entries(n.themes).filter(s=>s[1]).map(s=>({color:s[0],theme:s[1]})),o=Qy(...r.map(s=>Ws(e,t,{...n,theme:s.theme})));return o[0].map((s,l)=>s.map((a,c)=>{const u={content:a.content,variants:{},offset:a.offset};return"includeExplanation"in n&&n.includeExplanation&&(u.explanation=a.explanation),o.forEach((f,d)=>{const{content:p,explanation:h,offset:m,...v}=f[l][c];u.variants[r[d].color]=v}),u}))}function Qy(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const o=e.map(a=>a[r]),i=t.map(()=>[]);t.forEach((a,c)=>a.push(i[c]));const s=o.map(()=>0),l=o.map(a=>a[0]);for(;l.every(a=>a);){const a=Math.min(...l.map(c=>c.content.length));for(let c=0;c<n;c++){const u=l[c];u.content.length===a?(i[c].push(u),s[c]+=1,l[c]=o[c][s[c]]):(i[c].push({...u,content:u.content.slice(0,a)}),l[c]={...u,content:u.content.slice(a),offset:u.offset+a})}}}return t}function Co(e,t,n){let r,o,i,s,l;if("themes"in n){const{defaultColor:a="light",cssVariablePrefix:c="--shiki-"}=n,u=Object.entries(n.themes).filter(m=>m[1]).map(m=>({color:m[0],theme:m[1]})).sort((m,v)=>m.color===a?-1:v.color===a?1:0);if(u.length===0)throw new me("`themes` option must not be empty");const f=Df(e,t,n);if(a&&!u.find(m=>m.color===a))throw new me(`\`themes\` option must contain the defaultColor key \`${a}\``);const d=u.map(m=>e.getTheme(m.theme)),p=u.map(m=>m.color);i=f.map(m=>m.map(v=>Zy(v,p,c,a)));const h=u.map(m=>To(m.theme,n));o=u.map((m,v)=>(v===0&&a?"":`${c+m.color}:`)+(Qt(d[v].fg,h[v])||"inherit")).join(";"),r=u.map((m,v)=>(v===0&&a?"":`${c+m.color}-bg:`)+(Qt(d[v].bg,h[v])||"inherit")).join(";"),s=`shiki-themes ${d.map(m=>m.name).join(" ")}`,l=a?void 0:[o,r].join(";")}else if("theme"in n){const a=To(n.theme,n);i=Ws(e,t,n);const c=e.getTheme(n.theme);r=Qt(c.bg,a),o=Qt(c.fg,a),s=c.name}else throw new me("Invalid options, either `theme` or `themes` must be provided");return{tokens:i,fg:o,bg:r,themeName:s,rootStyle:l}}function Zy(e,t,n,r){const o={content:e.content,explanation:e.explanation,offset:e.offset},i=t.map(a=>If(e.variants[a])),s=new Set(i.flatMap(a=>Object.keys(a))),l=i.reduce((a,c,u)=>{for(const f of s){const d=c[f]||"inherit";if(u===0&&r)a[f]=d;else{const p=f==="color"?"":f==="background-color"?"-bg":`-${f}`,h=n+t[u]+(f==="color"?"":p);a[f]?a[f]+=`;${h}:${d}`:a[f]=`${h}:${d}`}}return a},{});return o.htmlStyle=r?Nf(l):Object.values(l).join(";"),o}function ev(){const e=new WeakMap;function t(r){if(!e.has(r.meta)){let i=function(l){if(typeof l=="number"){if(l<0||l>r.source.length)throw new me(`Invalid decoration offset: ${l}. Code length: ${r.source.length}`);return{...o.indexToPos(l),offset:l}}else{const a=o.lines[l.line];if(a===void 0)throw new me(`Invalid decoration position ${JSON.stringify(l)}. Lines length: ${o.lines.length}`);if(l.character<0||l.character>a.length)throw new me(`Invalid decoration position ${JSON.stringify(l)}. Line ${l.line} length: ${a.length}`);return{...l,offset:o.posToIndex(l.line,l.character)}}};const o=$y(r.source),s=(r.options.decorations||[]).map(l=>({...l,start:i(l.start),end:i(l.end)}));n(s),e.set(r.meta,{decorations:s,converter:o,source:r.source})}return e.get(r.meta)}function n(r){for(let o=0;o<r.length;o++){const i=r[o];if(i.start.offset>i.end.offset)throw new me(`Invalid decoration range: ${JSON.stringify(i.start)} - ${JSON.stringify(i.end)}`);for(let s=o+1;s<r.length;s++){const l=r[s],a=i.start.offset<l.start.offset&&l.start.offset<i.end.offset,c=i.start.offset<l.end.offset&&l.end.offset<i.end.offset,u=l.start.offset<i.start.offset&&i.start.offset<l.end.offset,f=l.start.offset<i.end.offset&&i.end.offset<l.end.offset;if(a||c||u||f){if(c&&c||u&&f)continue;throw new me(`Decorations ${JSON.stringify(i.start)} and ${JSON.stringify(l.start)} intersect.`)}}}}return{name:"shiki:decorations",tokens(r){var l;if(!((l=this.options.decorations)!=null&&l.length))return;const i=t(this).decorations.flatMap(a=>[a.start.offset,a.end.offset]);return Dy(r,i)},code(r){var f;if(!((f=this.options.decorations)!=null&&f.length))return;const o=t(this),i=Array.from(r.children).filter(d=>d.type==="element"&&d.tagName==="span");if(i.length!==o.converter.lines.length)throw new me(`Number of lines in code element (${i.length}) does not match the number of lines in the source (${o.converter.lines.length}). Failed to apply decorations.`);function s(d,p,h,m){const v=i[d];let C="",S=-1,_=-1;function T(x){return x.type==="text"?x.value:x.type==="element"?x.children.map(T).join(""):""}if(p===0&&(S=0),h===0&&(_=0),h===Number.POSITIVE_INFINITY&&(_=v.children.length),S===-1||_===-1)for(let x=0;x<v.children.length;x++)C+=T(v.children[x]),S===-1&&C.length===p&&(S=x+1),_===-1&&C.length===h&&(_=x+1);if(S===-1)throw new me(`Failed to find start index for decoration ${JSON.stringify(m.start)}`);if(_===-1)throw new me(`Failed to find end index for decoration ${JSON.stringify(m.end)}`);const E=v.children.slice(S,_);if(!m.alwaysWrap&&E.length===v.children.length)a(v,m,"line");else if(!m.alwaysWrap&&E.length===1&&E[0].type==="element")a(E[0],m,"token");else{const x={type:"element",tagName:"span",properties:{},children:E};a(x,m,"wrapper"),v.children.splice(S,E.length,x)}}function l(d,p){i[d]=a(i[d],p,"line")}function a(d,p,h){var C;const m=p.properties||{},v=p.transform||(S=>S);return d.tagName=p.tagName||"span",d.properties={...d.properties,...m,class:d.properties.class},(C=p.properties)!=null&&C.class&&kf(d,p.properties.class),d=v(d,h)||d,d}const c=[],u=o.decorations.sort((d,p)=>p.start.offset-d.start.offset);for(const d of u){const{start:p,end:h}=d;if(p.line===h.line)s(p.line,p.character,h.character,d);else if(p.line<h.line){s(p.line,p.character,Number.POSITIVE_INFINITY,d);for(let m=p.line+1;m<h.line;m++)c.unshift(()=>l(m,d));s(h.line,0,h.character,d)}}c.forEach(d=>d())}}}const tv=[ev()];function So(e){return[...e.transformers||[],...tv]}function xo(e,t,n,r={meta:{},options:n,codeToHast:(o,i)=>xo(e,o,i),codeToTokens:(o,i)=>Co(e,o,i)}){var d,p;let o=t;for(const h of So(n))o=((d=h.preprocess)==null?void 0:d.call(r,o,n))||o;let{tokens:i,fg:s,bg:l,themeName:a,rootStyle:c}=Co(e,o,n);const{mergeWhitespaces:u=!0}=n;u===!0?i=rv(i):u==="never"&&(i=ov(i));const f={...r,get source(){return o}};for(const h of So(n))i=((p=h.tokens)==null?void 0:p.call(f,i))||i;return nv(i,{...n,fg:s,bg:l,themeName:a,rootStyle:c},f)}function nv(e,t,n){var d,p,h;const r=So(t),o=[],i={type:"root",children:[]},{structure:s="classic"}=t;let l={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,tabindex:"0",...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([m])=>!m.startsWith("_")))},children:[]},a={type:"element",tagName:"code",properties:{},children:o};const c=[],u={...n,structure:s,addClassToHast:kf,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return i},get pre(){return l},get code(){return a},get lines(){return c}};if(e.forEach((m,v)=>{var _,T;v&&(s==="inline"?i.children.push({type:"element",tagName:"br",properties:{},children:[]}):s==="classic"&&o.push({type:"text",value:`
21
+ `}));let C={type:"element",tagName:"span",properties:{class:"line"},children:[]},S=0;for(const E of m){let x={type:"element",tagName:"span",properties:{},children:[{type:"text",value:E.content}]};const R=E.htmlStyle||Nf(If(E));R&&(x.properties.style=R);for(const V of r)x=((_=V==null?void 0:V.span)==null?void 0:_.call(u,x,v+1,S,C))||x;s==="inline"?i.children.push(x):s==="classic"&&C.children.push(x),S+=E.content.length}if(s==="classic"){for(const E of r)C=((T=E==null?void 0:E.line)==null?void 0:T.call(u,C,v+1))||C;c.push(C),o.push(C)}}),s==="classic"){for(const m of r)a=((d=m==null?void 0:m.code)==null?void 0:d.call(u,a))||a;l.children.push(a);for(const m of r)l=((p=m==null?void 0:m.pre)==null?void 0:p.call(u,l))||l;i.children.push(l)}let f=i;for(const m of r)f=((h=m==null?void 0:m.root)==null?void 0:h.call(u,f))||f;return f}function rv(e){return e.map(t=>{const n=[];let r="",o=0;return t.forEach((i,s)=>{const a=!(i.fontStyle&&i.fontStyle&ot.Underline);a&&i.content.match(/^\s+$/)&&t[s+1]?(o||(o=i.offset),r+=i.content):r?(a?n.push({...i,offset:o,content:r+i.content}):n.push({content:r,offset:o},i),o=0,r=""):n.push(i)}),n})}function ov(e){return e.map(t=>t.flatMap(n=>{if(n.content.match(/^\s+$/))return n;const r=n.content.match(/^(\s*)(.*?)(\s*)$/);if(!r)return n;const[,o,i,s]=r;if(!o&&!s)return n;const l=[{...n,offset:n.offset+o.length,content:i}];return o&&l.unshift({content:o,offset:n.offset}),s&&l.push({content:s,offset:n.offset+o.length+i.length}),l}))}const iv=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class br{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}br.prototype.property={};br.prototype.normal={};br.prototype.space=null;function $f(e,t){const n={},r={};let o=-1;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(r,e[o].normal);return new br(n,r,t)}function ts(e){return e.toLowerCase()}class tt{constructor(t,n){this.property=t,this.attribute=n}}tt.prototype.space=null;tt.prototype.boolean=!1;tt.prototype.booleanish=!1;tt.prototype.overloadedBoolean=!1;tt.prototype.number=!1;tt.prototype.commaSeparated=!1;tt.prototype.spaceSeparated=!1;tt.prototype.commaOrSpaceSeparated=!1;tt.prototype.mustUseProperty=!1;tt.prototype.defined=!1;let sv=0;const re=dn(),Ee=dn(),Mf=dn(),I=dn(),he=dn(),An=dn(),Ke=dn();function dn(){return 2**++sv}var ns=Object.freeze({__proto__:null,boolean:re,booleanish:Ee,commaOrSpaceSeparated:Ke,commaSeparated:An,number:I,overloadedBoolean:Mf,spaceSeparated:he});const yi=Object.keys(ns);class qs extends tt{constructor(t,n,r,o){let i=-1;if(super(t,n),Ia(this,"space",o),typeof r=="number")for(;++i<yi.length;){const s=yi[i];Ia(this,yi[i],(r&ns[s])===ns[s])}}}qs.prototype.defined=!0;function Ia(e,t,n){n&&(e[t]=n)}const lv={}.hasOwnProperty;function Bn(e){const t={},n={};let r;for(r in e.properties)if(lv.call(e.properties,r)){const o=e.properties[r],i=new qs(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[ts(r)]=r,n[ts(i.attribute)]=r}return new br(t,n,e.space)}const Vf=Bn({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}}),Hf=Bn({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Bf(e,t){return t in e?e[t]:t}function jf(e,t){return Bf(e,t.toLowerCase())}const Ff=Bn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:jf,properties:{xmlns:null,xmlnsXLink:null}}),Uf=Bn({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Ee,ariaAutoComplete:null,ariaBusy:Ee,ariaChecked:Ee,ariaColCount:I,ariaColIndex:I,ariaColSpan:I,ariaControls:he,ariaCurrent:null,ariaDescribedBy:he,ariaDetails:null,ariaDisabled:Ee,ariaDropEffect:he,ariaErrorMessage:null,ariaExpanded:Ee,ariaFlowTo:he,ariaGrabbed:Ee,ariaHasPopup:null,ariaHidden:Ee,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:he,ariaLevel:I,ariaLive:null,ariaModal:Ee,ariaMultiLine:Ee,ariaMultiSelectable:Ee,ariaOrientation:null,ariaOwns:he,ariaPlaceholder:null,ariaPosInSet:I,ariaPressed:Ee,ariaReadOnly:Ee,ariaRelevant:null,ariaRequired:Ee,ariaRoleDescription:he,ariaRowCount:I,ariaRowIndex:I,ariaRowSpan:I,ariaSelected:Ee,ariaSetSize:I,ariaSort:null,ariaValueMax:I,ariaValueMin:I,ariaValueNow:I,ariaValueText:null,role:null}}),av=Bn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:jf,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:An,acceptCharset:he,accessKey:he,action:null,allow:null,allowFullScreen:re,allowPaymentRequest:re,allowUserMedia:re,alt:null,as:null,async:re,autoCapitalize:null,autoComplete:he,autoFocus:re,autoPlay:re,blocking:he,capture:null,charSet:null,checked:re,cite:null,className:he,cols:I,colSpan:null,content:null,contentEditable:Ee,controls:re,controlsList:he,coords:I|An,crossOrigin:null,data:null,dateTime:null,decoding:null,default:re,defer:re,dir:null,dirName:null,disabled:re,download:Mf,draggable:Ee,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:re,formTarget:null,headers:he,height:I,hidden:re,high:I,href:null,hrefLang:null,htmlFor:he,httpEquiv:he,id:null,imageSizes:null,imageSrcSet:null,inert:re,inputMode:null,integrity:null,is:null,isMap:re,itemId:null,itemProp:he,itemRef:he,itemScope:re,itemType:he,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:re,low:I,manifest:null,max:null,maxLength:I,media:null,method:null,min:null,minLength:I,multiple:re,muted:re,name:null,nonce:null,noModule:re,noValidate:re,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle: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:re,optimum:I,pattern:null,ping:he,placeholder:null,playsInline:re,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:re,referrerPolicy:null,rel:he,required:re,reversed:re,rows:I,rowSpan:I,sandbox:he,scope:null,scoped:re,seamless:re,selected:re,shadowRootDelegatesFocus:re,shadowRootMode:null,shape:null,size:I,sizes:null,slot:null,span:I,spellCheck:Ee,src:null,srcDoc:null,srcLang:null,srcSet:null,start:I,step:null,style:null,tabIndex:I,target:null,title:null,translate:null,type:null,typeMustMatch:re,useMap:null,value:Ee,width:I,wrap:null,align:null,aLink:null,archive:he,axis:null,background:null,bgColor:null,border:I,borderColor:null,bottomMargin:I,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:re,declare:re,event:null,face:null,frame:null,frameBorder:null,hSpace:I,leftMargin:I,link:null,longDesc:null,lowSrc:null,marginHeight:I,marginWidth:I,noResize:re,noHref:re,noShade:re,noWrap:re,object:null,profile:null,prompt:null,rev:null,rightMargin:I,rules:null,scheme:null,scrolling:Ee,standby:null,summary:null,text:null,topMargin:I,valueType:null,version:null,vAlign:null,vLink:null,vSpace:I,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:re,disableRemotePlayback:re,prefix:null,property:null,results:I,security:null,unselectable:null}}),cv=Bn({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",transformOrigin:"transform-origin",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:Bf,properties:{about:Ke,accentHeight:I,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:I,amplitude:I,arabicForm:null,ascent:I,attributeName:null,attributeType:null,azimuth:I,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:I,by:null,calcMode:null,capHeight:I,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:I,diffuseConstant:I,direction:null,display:null,dur:null,divisor:I,dominantBaseline:null,download:re,dx:null,dy:null,edgeMode:null,editable:null,elevation:I,enableBackground:null,end:null,event:null,exponent:I,externalResourcesRequired:null,fill:null,fillOpacity:I,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:An,g2:An,glyphName:An,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:I,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:I,horizOriginX:I,horizOriginY:I,id:null,ideographic:I,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:I,k:I,k1:I,k2:I,k3:I,k4:I,kernelMatrix:Ke,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:I,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:I,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:I,overlineThickness:I,paintOrder:null,panose1:null,path:null,pathLength:I,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:he,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:I,pointsAtY:I,pointsAtZ:I,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ke,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ke,rev:Ke,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ke,requiredFeatures:Ke,requiredFonts:Ke,requiredFormats:Ke,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:I,specularExponent:I,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:I,strikethroughThickness:I,string:null,stroke:null,strokeDashArray:Ke,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:I,strokeOpacity:I,strokeWidth:null,style:null,surfaceScale:I,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ke,tabIndex:I,tableValues:null,target:null,targetX:I,targetY:I,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ke,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:I,underlineThickness:I,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:I,values:null,vAlphabetic:I,vMathematical:I,vectorEffect:null,vHanging:I,vIdeographic:I,version:null,vertAdvY:I,vertOriginX:I,vertOriginY:I,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:I,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),uv=/^data[-\w.:]+$/i,Na=/-[a-z]/g,fv=/[A-Z]/g;function dv(e,t){const n=ts(t);let r=t,o=tt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&uv.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(Na,hv);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!Na.test(i)){let s=i.replace(fv,pv);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}o=qs}return new o(r,t)}function pv(e){return"-"+e.toLowerCase()}function hv(e){return e.charAt(1).toUpperCase()}const mv=$f([Hf,Vf,Ff,Uf,av],"html"),Gf=$f([Hf,Vf,Ff,Uf,cv],"svg"),Da={}.hasOwnProperty;function gv(e,t){const n=t||{};function r(o,...i){let s=r.invalid;const l=r.handlers;if(o&&Da.call(o,e)){const a=String(o[e]);s=Da.call(l,a)?l[a]:r.unknown}if(s)return s.call(this,o,...i)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}function _v(e,t){if(e=e.replace(t.subset?yv(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(o,i,s){return t.format((o.charCodeAt(0)-55296)*1024+o.charCodeAt(1)-56320+65536,s.charCodeAt(i+2),t)}function r(o,i,s){return t.format(o.charCodeAt(0),s.charCodeAt(i+1),t)}}function yv(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function vv(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}function bv(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}const wv=["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"],vi={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:"€"},Ev=["cent","copy","divide","gt","lt","not","para","times"],Wf={}.hasOwnProperty,rs={};let Dr;for(Dr in vi)Wf.call(vi,Dr)&&(rs[vi[Dr]]=Dr);function Tv(e,t,n,r){const o=String.fromCharCode(e);if(Wf.call(rs,o)){const i=rs[o],s="&"+i;return n&&wv.includes(i)&&!Ev.includes(i)&&(!r||t&&t!==61&&/[^\da-z]/i.test(String.fromCharCode(t)))?s:s+";"}return""}function Cv(e,t,n){let r=vv(e,t,n.omitOptionalSemicolons),o;if((n.useNamedReferences||n.useShortestReferences)&&(o=Tv(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!o)&&n.useShortestReferences){const i=bv(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return o&&(!n.useShortestReferences||o.length<r.length)?o:r}function Ln(e,t){return _v(e,Object.assign({format:Cv},t))}const Sv=/^>|^->|<!--|-->|--!>|<!-$/g,xv=[">"],Pv=["<",">"];function Rv(e,t,n,r){return r.settings.bogusComments?"<?"+Ln(e.value,Object.assign({},r.settings.characterReferences,{subset:xv}))+">":"<!--"+e.value.replace(Sv,o)+"-->";function o(i){return Ln(i,Object.assign({},r.settings.characterReferences,{subset:Pv}))}}function Av(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function $a(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,o=n.indexOf(t);for(;o!==-1;)r++,o=n.indexOf(t,o+t.length);return r}function Lv(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function Ov(e){return e.join(" ").trim()}const kv=/[ \t\n\f\r]/g;function Ks(e){return typeof e=="object"?e.type==="text"?Ma(e.value):!1:Ma(e)}function Ma(e){return e.replace(kv,"")===""}const Pe=qf(1),zf=qf(-1),Iv=[];function qf(e){return t;function t(n,r,o){const i=n?n.children:Iv;let s=(r||0)+e,l=i[s];if(!o)for(;l&&Ks(l);)s+=e,l=i[s];return l}}const Nv={}.hasOwnProperty;function Kf(e){return t;function t(n,r,o){return Nv.call(e,n.tagName)&&e[n.tagName](n,r,o)}}const Js=Kf({body:$v,caption:bi,colgroup:bi,dd:Bv,dt:Hv,head:bi,html:Dv,li:Vv,optgroup:jv,option:Fv,p:Mv,rp:Va,rt:Va,tbody:Gv,td:Ha,tfoot:Wv,th:Ha,thead:Uv,tr:zv});function bi(e,t,n){const r=Pe(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&Ks(r.value.charAt(0)))}function Dv(e,t,n){const r=Pe(n,t);return!r||r.type!=="comment"}function $v(e,t,n){const r=Pe(n,t);return!r||r.type!=="comment"}function Mv(e,t,n){const r=Pe(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 Vv(e,t,n){const r=Pe(n,t);return!r||r.type==="element"&&r.tagName==="li"}function Hv(e,t,n){const r=Pe(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function Bv(e,t,n){const r=Pe(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function Va(e,t,n){const r=Pe(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function jv(e,t,n){const r=Pe(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function Fv(e,t,n){const r=Pe(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function Uv(e,t,n){const r=Pe(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function Gv(e,t,n){const r=Pe(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function Wv(e,t,n){return!Pe(n,t)}function zv(e,t,n){const r=Pe(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function Ha(e,t,n){const r=Pe(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const qv=Kf({body:Xv,colgroup:Yv,head:Jv,html:Kv,tbody:Qv});function Kv(e){const t=Pe(e,-1);return!t||t.type!=="comment"}function Jv(e){const t=e.children,n=[];let r=-1;for(;++r<t.length;){const o=t[r];if(o.type==="element"&&(o.tagName==="title"||o.tagName==="base")){if(n.includes(o.tagName))return!1;n.push(o.tagName)}}return t.length>0}function Xv(e){const t=Pe(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&Ks(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function Yv(e,t,n){const r=zf(n,t),o=Pe(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Js(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="col")}function Qv(e,t,n){const r=zf(n,t),o=Pe(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Js(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="tr")}const $r={name:[[`
22
+ \f\r &/=>`.split(""),`
23
+ \f\r "&'/=>\``.split("")],[`\0
24
+ \f\r "&'/<=>`.split(""),`\0
25
+ \f\r "&'/<=>\``.split("")]],unquoted:[[`
26
+ \f\r &>`.split(""),`\0
27
+ \f\r "&'<=>\``.split("")],[`\0
28
+ \f\r "&'<=>\``.split(""),`\0
29
+ \f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function Zv(e,t,n,r){const o=r.schema,i=o.space==="svg"?!1:r.settings.omitOptionalTags;let s=o.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const l=[];let a;o.space==="html"&&e.tagName==="svg"&&(r.schema=Gf);const c=eb(r,e.properties),u=r.all(o.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=o,u&&(s=!1),(c||!i||!qv(e,t,n))&&(l.push("<",e.tagName,c?" "+c:""),s&&(o.space==="svg"||r.settings.closeSelfClosing)&&(a=c.charAt(c.length-1),(!r.settings.tightSelfClosing||a==="/"||a&&a!=='"'&&a!=="'")&&l.push(" "),l.push("/")),l.push(">")),l.push(u),!s&&(!i||!Js(e,t,n))&&l.push("</"+e.tagName+">"),l.join("")}function eb(e,t){const n=[];let r=-1,o;if(t){for(o in t)if(t[o]!==null&&t[o]!==void 0){const i=tb(e,o,t[o]);i&&n.push(i)}}for(;++r<n.length;){const i=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&i!=='"'&&i!=="'"&&(n[r]+=" ")}return n.join("")}function tb(e,t,n){const r=dv(e.schema,t),o=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,i=e.settings.allowDangerousCharacters?0:1;let s=e.quote,l;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 a=Ln(r.attribute,Object.assign({},e.settings.characterReferences,{subset:$r.name[o][i]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?Lv:Ov)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?a:(e.settings.preferUnquoted&&(l=Ln(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:$r.unquoted[o][i]}))),l!==n&&(e.settings.quoteSmart&&$a(n,s)>$a(n,e.alternative)&&(s=e.alternative),l=s+Ln(n,Object.assign({},e.settings.characterReferences,{subset:(s==="'"?$r.single:$r.double)[o][i],attribute:!0}))+s),a+(l&&"="+l))}const nb=["<","&"];function Jf(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:Ln(e.value,Object.assign({},r.settings.characterReferences,{subset:nb}))}function rb(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Jf(e,t,n,r)}function ob(e,t,n,r){return r.all(e)}const ib=gv("type",{invalid:sb,unknown:lb,handlers:{comment:Rv,doctype:Av,element:Zv,raw:rb,root:ob,text:Jf}});function sb(e){throw new Error("Expected node, not `"+e+"`")}function lb(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const ab={},cb={},ub=[];function fb(e,t){const n=ab,r=n.quote||'"',o=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:db,all:pb,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||iv,characterReferences:n.characterReferences||cb,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?Gf:mv,quote:r,alternative:o}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function db(e,t,n){return ib(e,t,n,this)}function pb(e){const t=[],n=e&&e.children||ub;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function hb(e,t,n){var i;const r={meta:{},options:n,codeToHast:(s,l)=>xo(e,s,l),codeToTokens:(s,l)=>Co(e,s,l)};let o=fb(xo(e,t,n,r));for(const s of So(n))o=((i=s.postprocess)==null?void 0:i.call(r,o,n))||o;return o}async function mb(e){let t,n;const r={};function o(m){n=m,r.HEAPU8=new Uint8Array(m),r.HEAPU32=new Uint32Array(m)}function i(){return typeof performance<"u"?performance.now():Date.now()}function s(m,v,C){r.HEAPU8.copyWithin(m,v,v+C)}function l(){return 2147483648}function a(m){try{return t.grow(m-n.byteLength+65535>>>16),o(t.buffer),1}catch{}}function c(m){const v=r.HEAPU8.length;m=m>>>0;const C=l();if(m>C)return!1;const S=(_,T)=>_+(T-_%T)%T;for(let _=1;_<=4;_*=2){let T=v*(1+.2/_);T=Math.min(T,m+100663296);const E=Math.min(C,S(Math.max(m,T),65536));if(a(E))return!0}return!1}const u=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function f(m,v,C=1024){const S=v+C;let _=v;for(;m[_]&&!(_>=S);)++_;if(_-v>16&&m.buffer&&u)return u.decode(m.subarray(v,_));let T="";for(;v<_;){let E=m[v++];if(!(E&128)){T+=String.fromCharCode(E);continue}const x=m[v++]&63;if((E&224)===192){T+=String.fromCharCode((E&31)<<6|x);continue}const R=m[v++]&63;if((E&240)===224?E=(E&15)<<12|x<<6|R:E=(E&7)<<18|x<<12|R<<6|m[v++]&63,E<65536)T+=String.fromCharCode(E);else{const V=E-65536;T+=String.fromCharCode(55296|V>>10,56320|V&1023)}}return T}function d(m,v){return m?f(r.HEAPU8,m,v):""}const p={emscripten_get_now:i,emscripten_memcpy_big:s,emscripten_resize_heap:c,fd_write:()=>0};async function h(){const v=await e({env:p,wasi_snapshot_preview1:p});t=v.memory,o(t.buffer),Object.assign(r,v),r.UTF8ToString=d}return await h(),r}let Oe=null,gb=!1;function _b(e){throw new me(e.UTF8ToString(e.getLastOnigError()))}class Jo{constructor(t){b(this,"utf16Length");b(this,"utf8Length");b(this,"utf16Value");b(this,"utf8Value");b(this,"utf16OffsetToUtf8");b(this,"utf8OffsetToUtf16");const n=t.length,r=Jo._utf8ByteLength(t),o=r!==n,i=o?new Uint32Array(n+1):null;o&&(i[n]=r);const s=o?new Uint32Array(r+1):null;o&&(s[r]=n);const l=new Uint8Array(r);let a=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)}o&&(i[c]=a,d&&(i[c+1]=a),f<=127?s[a+0]=c:f<=2047?(s[a+0]=c,s[a+1]=c):f<=65535?(s[a+0]=c,s[a+1]=c,s[a+2]=c):(s[a+0]=c,s[a+1]=c,s[a+2]=c,s[a+3]=c)),f<=127?l[a++]=f:f<=2047?(l[a++]=192|(f&1984)>>>6,l[a++]=128|(f&63)>>>0):f<=65535?(l[a++]=224|(f&61440)>>>12,l[a++]=128|(f&4032)>>>6,l[a++]=128|(f&63)>>>0):(l[a++]=240|(f&1835008)>>>18,l[a++]=128|(f&258048)>>>12,l[a++]=128|(f&4032)>>>6,l[a++]=128|(f&63)>>>0),d&&c++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=l,this.utf16OffsetToUtf8=i,this.utf8OffsetToUtf16=s}static _utf8ByteLength(t){let n=0;for(let r=0,o=t.length;r<o;r++){const i=t.charCodeAt(r);let s=i,l=!1;if(i>=55296&&i<=56319&&r+1<o){const a=t.charCodeAt(r+1);a>=56320&&a<=57343&&(s=(i-55296<<10)+65536|a-56320,l=!0)}s<=127?n+=1:s<=2047?n+=2:s<=65535?n+=3:n+=4,l&&r++}return n}createString(t){const n=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}const Fe=class Fe{constructor(t){b(this,"id",++Fe.LAST_ID);b(this,"_onigBinding");b(this,"content");b(this,"utf16Length");b(this,"utf8Length");b(this,"utf16OffsetToUtf8");b(this,"utf8OffsetToUtf16");b(this,"ptr");if(!Oe)throw new me("Must invoke loadWasm first.");this._onigBinding=Oe,this.content=t;const n=new Jo(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!Fe._sharedPtrInUse?(Fe._sharedPtr||(Fe._sharedPtr=Oe.omalloc(1e4)),Fe._sharedPtrInUse=!0,Oe.HEAPU8.set(n.utf8Value,Fe._sharedPtr),this.ptr=Fe._sharedPtr):this.ptr=n.createString(Oe)}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===Fe._sharedPtr?Fe._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};b(Fe,"LAST_ID",0),b(Fe,"_sharedPtr",0),b(Fe,"_sharedPtrInUse",!1);let Po=Fe;class yb{constructor(t){b(this,"_onigBinding");b(this,"_ptr");if(!Oe)throw new me("Must invoke loadWasm first.");const n=[],r=[];for(let l=0,a=t.length;l<a;l++){const c=new Jo(t[l]);n[l]=c.createString(Oe),r[l]=c.utf8Length}const o=Oe.omalloc(4*t.length);Oe.HEAPU32.set(n,o/4);const i=Oe.omalloc(4*t.length);Oe.HEAPU32.set(r,i/4);const s=Oe.createOnigScanner(o,i,t.length);for(let l=0,a=t.length;l<a;l++)Oe.ofree(n[l]);Oe.ofree(i),Oe.ofree(o),s===0&&_b(Oe),this._onigBinding=Oe,this._ptr=s}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let o=gb,i=0;if(typeof r=="number"?(r&8&&(o=!0),i=r):typeof r=="boolean"&&(o=r),typeof t=="string"){t=new Po(t);const s=this._findNextMatchSync(t,n,o,i);return t.dispose(),s}return this._findNextMatchSync(t,n,o,i)}_findNextMatchSync(t,n,r,o){const i=this._onigBinding;let s;if(r?s=i.findNextOnigScannerMatchDbg(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),o):s=i.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),o),s===0)return null;const l=i.HEAPU32;let a=s/4;const c=l[a++],u=l[a++],f=[];for(let d=0;d<u;d++){const p=t.convertUtf8OffsetToUtf16(l[a++]),h=t.convertUtf8OffsetToUtf16(l[a++]);f[d]={start:p,end:h,length:h-p}}return{index:c,captureIndices:f}}}function vb(e){return typeof e.instantiator=="function"}function bb(e){return typeof e.default=="function"}function wb(e){return typeof e.data<"u"}function Eb(e){return typeof Response<"u"&&e instanceof Response}function Tb(e){var t;return typeof ArrayBuffer<"u"&&(e instanceof ArrayBuffer||ArrayBuffer.isView(e))||typeof Buffer<"u"&&((t=Buffer.isBuffer)==null?void 0:t.call(Buffer,e))||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&e instanceof Uint32Array}let Mr;function Cb(e){if(Mr)return Mr;async function t(){Oe=await mb(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),vb(r)?r=await r.instantiator(n):bb(r)?r=await r.default(n):(wb(r)&&(r=r.data),Eb(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await Sb(r)(n):r=await xb(r)(n):Tb(r)?r=await wi(r)(n):r instanceof WebAssembly.Module?r=await wi(r)(n):"default"in r&&r.default instanceof WebAssembly.Module&&(r=await wi(r.default)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return Mr=t(),Mr}function wi(e){return t=>WebAssembly.instantiate(e,t)}function Sb(e){return t=>WebAssembly.instantiateStreaming(e,t)}function xb(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}function Pb(e){return new Po(e)}function Rb(e){return new yb(e)}const Ba={light:"#333333",dark:"#bbbbbb"},ja={light:"#fffffe",dark:"#1e1e1e"},Fa="__shiki_resolved";function Xf(e){var l,a,c,u,f;if(e!=null&&e[Fa])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||(t.type="dark"),t.colorReplacements={...t.colorReplacements},t.settings||(t.settings=[]);let{bg:n,fg:r}=t;if(!n||!r){const d=t.settings?t.settings.find(p=>!p.name&&!p.scope):void 0;(l=d==null?void 0:d.settings)!=null&&l.foreground&&(r=d.settings.foreground),(a=d==null?void 0:d.settings)!=null&&a.background&&(n=d.settings.background),!r&&((c=t==null?void 0:t.colors)!=null&&c["editor.foreground"])&&(r=t.colors["editor.foreground"]),!n&&((u=t==null?void 0:t.colors)!=null&&u["editor.background"])&&(n=t.colors["editor.background"]),r||(r=t.type==="light"?Ba.light:Ba.dark),n||(n=t.type==="light"?ja.light:ja.dark),t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let o=0;const i=new Map;function s(d){var h;if(i.has(d))return i.get(d);o+=1;const p=`#${o.toString(16).padStart(8,"0").toLowerCase()}`;return(h=t.colorReplacements)!=null&&h[`#${p}`]?s(d):(i.set(d,p),p)}t.settings=t.settings.map(d=>{var v,C;const p=((v=d.settings)==null?void 0:v.foreground)&&!d.settings.foreground.startsWith("#"),h=((C=d.settings)==null?void 0:C.background)&&!d.settings.background.startsWith("#");if(!p&&!h)return d;const m={...d,settings:{...d.settings}};if(p){const S=s(d.settings.foreground);t.colorReplacements[S]=d.settings.foreground,m.settings.foreground=S}if(h){const S=s(d.settings.background);t.colorReplacements[S]=d.settings.background,m.settings.background=S}return m});for(const d of Object.keys(t.colors||{}))if((d==="editor.foreground"||d==="editor.background"||d.startsWith("terminal.ansi"))&&!((f=t.colors[d])!=null&&f.startsWith("#"))){const p=s(t.colors[d]);t.colorReplacements[p]=t.colors[d],t.colors[d]=p}return Object.defineProperty(t,Fa,{enumerable:!1,writable:!1,value:!0}),t}class Ab extends Iy{constructor(n,r,o,i={}){super(n);b(this,"_resolver");b(this,"_themes");b(this,"_langs");b(this,"_alias");b(this,"_resolvedThemes",new Map);b(this,"_resolvedGrammars",new Map);b(this,"_langMap",new Map);b(this,"_langGraph",new Map);b(this,"_textmateThemeCache",new WeakMap);b(this,"_loadedThemesCache",null);b(this,"_loadedLanguagesCache",null);this._resolver=n,this._themes=r,this._langs=o,this._alias=i,r.forEach(s=>this.loadTheme(s)),o.forEach(s=>this.loadLanguage(s))}getTheme(n){return typeof n=="string"?this._resolvedThemes.get(n):this.loadTheme(n)}loadTheme(n){const r=Xf(n);return r.name&&(this._resolvedThemes.set(r.name,r),this._loadedThemesCache=null),r}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(n){let r=this._textmateThemeCache.get(n);r||(r=wo.createFromRawTheme(n),this._textmateThemeCache.set(n,r)),this._syncRegistry.setTheme(r)}getGrammar(n){if(this._alias[n]){const r=new Set([n]);for(;this._alias[n];){if(n=this._alias[n],r.has(n))throw new me(`Circular alias \`${Array.from(r).join(" -> ")} -> ${n}\``);r.add(n)}}return this._resolvedGrammars.get(n)}async loadLanguage(n){var s,l,a,c;if(this.getGrammar(n.name))return;const r=new Set([...this._langMap.values()].filter(u=>{var f;return(f=u.embeddedLangsLazy)==null?void 0:f.includes(n.name)}));this._resolver.addLanguage(n);const o={balancedBracketSelectors:n.balancedBracketSelectors||["*"],unbalancedBracketSelectors:n.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(n.scopeName,n);const i=await this.loadGrammarWithConfiguration(n.scopeName,1,o);if(i.name=n.name,this._resolvedGrammars.set(n.name,i),n.aliases&&n.aliases.forEach(u=>{this._alias[u]=n.name}),this._loadedLanguagesCache=null,r.size)for(const u of r)this._resolvedGrammars.delete(u.name),this._loadedLanguagesCache=null,(l=(s=this._syncRegistry)==null?void 0:s._injectionGrammars)==null||l.delete(u.scopeName),(c=(a=this._syncRegistry)==null?void 0:a._grammars)==null||c.delete(u.scopeName),await this.loadLanguage(this._langMap.get(u.name))}async init(){this._themes.map(n=>this.loadTheme(n)),await this.loadLanguages(this._langs)}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}async loadLanguages(n){for(const i of n)this.resolveEmbeddedLanguages(i);const r=Array.from(this._langGraph.entries()),o=r.filter(([i,s])=>!s);if(o.length){const i=r.filter(([s,l])=>{var a;return l&&((a=l.embeddedLangs)==null?void 0:a.some(c=>o.map(([u])=>u).includes(c)))}).filter(s=>!o.includes(s));throw new me(`Missing languages ${o.map(([s])=>`\`${s}\``).join(", ")}, required by ${i.map(([s])=>`\`${s}\``).join(", ")}`)}for(const[i,s]of r)this._resolver.addLanguage(s);for(const[i,s]of r)await this.loadLanguage(s)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(n){if(this._langMap.set(n.name,n),this._langGraph.set(n.name,n),n.embeddedLangs)for(const r of n.embeddedLangs)this._langGraph.set(r,this._langMap.get(r))}}class Lb{constructor(t,n){b(this,"_langs",new Map);b(this,"_scopeToLang",new Map);b(this,"_injections",new Map);b(this,"_onigLibPromise");this._onigLibPromise=t,n.forEach(r=>this.addLanguage(r))}get onigLib(){return this._onigLibPromise}getLangRegistration(t){return this._langs.get(t)}async loadGrammar(t){return this._scopeToLang.get(t)}addLanguage(t){this._langs.set(t.name,t),t.aliases&&t.aliases.forEach(n=>{this._langs.set(n,t)}),this._scopeToLang.set(t.scopeName,t),t.injectTo&&t.injectTo.forEach(n=>{this._injections.get(n)||this._injections.set(n,[]),this._injections.get(n).push(t.scopeName)})}getInjections(t){const n=t.split(".");let r=[];for(let o=1;o<=n.length;o++){const i=n.slice(0,o).join(".");r=[...r,...this._injections.get(i)||[]]}return r}}let Ob,Fn=0;async function kb(e={}){Fn+=1,e.warnings!==!1&&Fn>=10&&Fn%10===0&&console.warn(`[Shiki] ${Fn} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;async function n(_){return Promise.resolve(typeof _=="function"?_():_).then(T=>T.default||T)}async function r(_){return Array.from(new Set((await Promise.all(_.filter(T=>!Lf(T)).map(async T=>await n(T).then(E=>Array.isArray(E)?E:[E])))).flat()))}const o=e.loadWasm||Ob,[i,s]=await Promise.all([Promise.all((e.themes||[]).map(n)).then(_=>_.map(Xf)),r(e.langs||[]),o?Cb(o):void 0]),l=new Lb(Promise.resolve({createOnigScanner(_){return Rb(_)},createOnigString(_){return Pb(_)}}),s),a=new Ab(l,i,s,e.langAlias);await a.init();let c;function u(_){C();const T=a.getGrammar(typeof _=="string"?_:_.name);if(!T)throw new me(`Language \`${_}\` not found, you may need to load it first`);return T}function f(_){if(_==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};C();const T=a.getTheme(_);if(!T)throw new me(`Theme \`${_}\` not found, you may need to load it first`);return T}function d(_){C();const T=f(_);c!==_&&(a.setTheme(T),c=_);const E=a.getColorMap();return{theme:T,colorMap:E}}function p(){return C(),a.getLoadedThemes()}function h(){return C(),a.getLoadedLanguages()}async function m(..._){C(),await a.loadLanguages(await r(_))}async function v(..._){C(),await Promise.all(_.map(async T=>Of(T)?null:a.loadTheme(await n(T))))}function C(){if(t)throw new me("Shiki instance has been disposed")}function S(){t||(t=!0,a.dispose(),Fn-=1)}return{setTheme:d,getTheme:f,getLanguage:u,getLoadedThemes:p,getLoadedLanguages:h,loadLanguage:m,loadTheme:v,dispose:S,[Symbol.dispose]:S}}async function Ib(e={}){const t=await kb(e);return{getLastGrammarState:(n,r)=>zy(t,n,r),codeToTokensBase:(n,r)=>Ws(t,n,r),codeToTokensWithThemes:(n,r)=>Df(t,n,r),codeToTokens:(n,r)=>Co(t,n,r),codeToHast:(n,r)=>xo(t,n,r),codeToHtml:(n,r)=>hb(t,n,r),...t,getInternalContext:()=>t}}function Nb(e,t,n){async function r(o){function i(u){if(typeof u=="string"){if(Lf(u))return[];const f=e[u];if(!f)throw new me(`Language \`${u}\` is not included in this bundle. You may want to load it from external source.`);return f}return u}function s(u){if(Of(u))return"none";if(typeof u=="string"){const f=t[u];if(!f)throw new me(`Theme \`${u}\` is not included in this bundle. You may want to load it from external source.`);return f}return u}const l=(o.themes??[]).map(u=>s(u)),a=(o.langs??[]).map(u=>i(u)),c=await Ib({...o,themes:l,langs:a,loadWasm:n});return{...c,loadLanguage(...u){return c.loadLanguage(...u.map(i))},loadTheme(...u){return c.loadTheme(...u.map(s))}}}return r}const Db=Nb(q0,X0,K0),$b=e=>Db(e);let Mb;const Un=[];function Vb(e){if(Un.push(e),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&Un.forEach(t=>t(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(t){t&&Un.forEach(n=>n(t))},get(){return Mb.value},configurable:!0}),()=>{Un.splice(Un.indexOf(e),1)}}const Be=be(null);async function Yf(){os.value&&(Be.value=await os.value("/__sitemap__/debug.json"))}const os=be(),Qf=be(),Zf=be();Vb(async e=>{os.value=e.host.app.$fetch,Jc(()=>{Zf.value=e.host.app.colorMode.value}),Qf.value=e.devtools,Yf()});const ed=be();function Hb(){return $b({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html","vue","vue-html","bash","diff"]}).then(e=>{ed.value=e})}function td(e,t){return ke(()=>{var r;const n=((r=Qf.value)==null?void 0:r.colorMode)||"light";return ed.value.codeToHtml(Xd(e),{lang:t,theme:n==="dark"?"vitesse-dark":"vitesse-light"})||""})}const Bb=["innerHTML"],nd=ze({__name:"OCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!1},transformRendered:{}},setup(e){const t=e,n=ke(()=>{const r=td(t.code,t.lang);return t.transformRendered?t.transformRendered(r.value||""):r.value});return(r,o)=>(j(),Z("pre",{class:Te(["n-code-block",r.lines?"n-code-block-lines":""]),innerHTML:n.value},null,10,Bb))}}),jb={flex:"~ gap-3","items-center":""},Fb=ze({__name:"NIconTitle",props:{icon:{},text:{}},setup(e){return(t,n)=>(j(),Z("div",jb,[t.icon?(j(),Z("div",{key:0,class:Te(t.icon)},null,2)):$e("",!0),Ge(t.$slots,"default",{},()=>[N("div",null,De(t.text),1)])]))}});function Ub(e){return us()?(xd(e),!0):!1}function Xs(e){return typeof e=="function"?e():te(e)}const Gb=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Wb=e=>typeof e<"u",zb=Object.prototype.toString,qb=e=>zb.call(e)==="[object Object]",Kb=()=>{};function Jb(e,t){function n(...r){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(i)})}return n}const rd=e=>e();function Xb(e=rd){const t=be(!0);function n(){t.value=!1}function r(){t.value=!0}const o=(...i)=>{t.value&&e(...i)};return{isActive:gs(t),pause:n,resume:r,eventFilter:o}}function Yb(e){return _r()}function Qb(e,t,n={}){const{eventFilter:r=rd,...o}=n;return $t(e,Jb(r,t),o)}function Zb(e,t,n={}){const{eventFilter:r,...o}=n,{eventFilter:i,pause:s,resume:l,isActive:a}=Xb(r);return{stop:Qb(e,t,{...o,eventFilter:i}),pause:s,resume:l,isActive:a}}function ew(e,t=!0,n){Yb()?ws(e,n):t?e():un(e)}function tw(e){var t;const n=Xs(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Ro=Gb?window:void 0;function Ua(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=Ro):[t,n,r,o]=e,!t)return Kb;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],s=()=>{i.forEach(u=>u()),i.length=0},l=(u,f,d,p)=>(u.addEventListener(f,d,p),()=>u.removeEventListener(f,d,p)),a=$t(()=>[tw(t),Xs(o)],([u,f])=>{if(s(),!u)return;const d=qb(f)?{...f}:f;i.push(...n.flatMap(p=>r.map(h=>l(u,p,h,d))))},{immediate:!0,flush:"post"}),c=()=>{a(),s()};return Ub(c),c}function nw(e){return JSON.parse(JSON.stringify(e))}const Vr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Hr="__vueuse_ssr_handlers__",rw=ow();function ow(){return Hr in Vr||(Vr[Hr]=Vr[Hr]||{}),Vr[Hr]}function iw(e,t){return rw[e]||t}function sw(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 lw={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()}},Ga="vueuse-storage";function aw(e,t,n,r={}){var o;const{flush:i="pre",deep:s=!0,listenToStorageChanges:l=!0,writeDefaults:a=!0,mergeDefaults:c=!1,shallow:u,window:f=Ro,eventFilter:d,onError:p=A=>{console.error(A)},initOnMounted:h}=r,m=(u?Si:be)(t);if(!n)try{n=iw("getDefaultStorage",()=>{var A;return(A=Ro)==null?void 0:A.localStorage})()}catch(A){p(A)}if(!n)return m;const v=Xs(t),C=sw(v),S=(o=r.serializer)!=null?o:lw[C],{pause:_,resume:T}=Zb(m,()=>x(m.value),{flush:i,deep:s,eventFilter:d});f&&l&&ew(()=>{Ua(f,"storage",V),Ua(f,Ga,F),h&&V()}),h||V();function E(A,G){f&&f.dispatchEvent(new CustomEvent(Ga,{detail:{key:e,oldValue:A,newValue:G,storageArea:n}}))}function x(A){try{const G=n.getItem(e);if(A==null)E(G,null),n.removeItem(e);else{const K=S.write(A);G!==K&&(n.setItem(e,K),E(G,K))}}catch(G){p(G)}}function R(A){const G=A?A.newValue:n.getItem(e);if(G==null)return a&&v!=null&&n.setItem(e,S.write(v)),v;if(!A&&c){const K=S.read(G);return typeof c=="function"?c(K,v):C==="object"&&!Array.isArray(K)?{...v,...K}:K}else return typeof G!="string"?G:S.read(G)}function V(A){if(!(A&&A.storageArea!==n)){if(A&&A.key==null){m.value=v;return}if(!(A&&A.key!==e)){_();try{(A==null?void 0:A.newValue)!==S.write(m.value)&&(m.value=R(A))}catch(G){p(G)}finally{A?un(T):T()}}}}function F(A){V(A.detail)}return m}function cw(e,t,n={}){const{window:r=Ro}=n;return aw(e,t,r==null?void 0:r.localStorage,n)}function uw(e,t,n,r={}){var o,i,s;const{clone:l=!1,passive:a=!1,eventName:c,deep:u=!1,defaultValue:f,shouldEmit:d}=r,p=_r(),h=(p==null?void 0:p.emit)||((o=p==null?void 0:p.$emit)==null?void 0:o.bind(p))||((s=(i=p==null?void 0:p.proxy)==null?void 0:i.$emit)==null?void 0:s.bind(p==null?void 0:p.proxy));let m=c;m=m||`update:${t.toString()}`;const v=_=>l?typeof l=="function"?l(_):nw(_):_,C=()=>Wb(e[t])?v(e[t]):f,S=_=>{d?d(_)&&h(m,_):h(m,_)};if(a){const _=C(),T=be(_);let E=!1;return $t(()=>e[t],x=>{E||(E=!0,T.value=v(x),un(()=>E=!1))}),$t(T,x=>{!E&&(x!==e[t]||u)&&S(x)},{deep:u}),T}else return ke({get(){return C()},set(_){S(_)}})}const od=e=>(Tc("data-v-1b9488bc"),e=e(),Cc(),e),fw=["open"],dw={"text-base":""},pw={key:0,"text-sm":"",op50:""},hw=od(()=>N("div",{class:"flex-auto"},null,-1)),mw=od(()=>N("div",{class:"x-divider"},null,-1)),gw=ze({__name:"OSectionBlock",props:{icon:{},text:{},description:{},containerClass:{default:""},headerClass:{},collapse:{type:Boolean,default:!0},open:{type:Boolean,default:!0},padding:{type:[Boolean,String],default:!0}},setup(e){const n=uw(e,"open");function r(o){n.value=o.target.open}return(o,i)=>{const s=js,l=Fb;return j(),Z(ye,null,[N("details",{open:te(n),onToggle:r},[N("summary",{class:Te(["cursor-pointer select-none n-bg-active hover:bg-active p4 rounded transition-all",o.collapse?"":"pointer-events-none"])},[z(l,{icon:o.icon,text:o.text,"text-xl":"",transition:"",class:Te([te(n)?"op100":"op60",o.headerClass])},{default:oe(()=>[N("div",null,[N("div",dw,[Ge(o.$slots,"text",{},()=>[le(De(o.text),1)],!0)]),o.description||o.$slots.description?(j(),Z("div",pw,[Ge(o.$slots,"description",{},()=>[le(De(o.description),1)],!0)])):$e("",!0)]),hw,Ge(o.$slots,"actions",{},void 0,!0),o.collapse?(j(),ve(s,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):$e("",!0)]),_:3},8,["icon","text","class"])],2),N("div",{class:Te(["flex flex-col flex-gap2 pb6 pt2",typeof o.padding=="string"?o.padding:o.padding?"px4":""])},[Ge(o.$slots,"details",{},void 0,!0),N("div",{class:Te([o.containerClass,"mt1"])},[Ge(o.$slots,"default",{},void 0,!0)],2),Ge(o.$slots,"footer",{},void 0,!0)],2)],40,fw),mw],64)}}}),id=zo(gw,[["__scopeId","data-v-1b9488bc"]]),_w={class:"flex space-x-5"},yw={class:"opacity-80 text-base mb-1 flex space-x-3 items-center"},vw={key:0,class:"flex space-x-2"},bw={key:0,class:"opacity-60 text-sm"},ww={class:"flex items-center space-x-3"},Ew={key:0},Tw={key:1,class:"text-xs mt-1 opacity-70"},Cw={key:0},Sw={key:2,class:"px-3 py-3 mt-2 dark:bg-gray-900/50 bg-gray-50/50 opacity-70"},xw=N("h3",{class:"text-sm font-bold mb-1"}," Hints ",-1),Pw={class:"list-disc ml-5"},Rw=["innerHTML"],Aw=ze({__name:"Source",props:{source:{},showContext:{type:Boolean}},setup(e){const t=e,n=ke(()=>{var i;const o=typeof t.source.fetch=="string"?t.source.fetch:t.source.fetch[0];return o.includes("http")?o:Hn(((i=Be.value)==null?void 0:i.nitroOrigin)||"localhost",o)});function r(o){return o.replace(/`([^`]+)`/g,"<code>$1</code>")}return(o,i)=>{const s=js,l=pf,a=mf,c=nd,u=id;return j(),ve(u,null,{text:oe(()=>[N("div",_w,[N("h3",yw,[o.source.fetch?(j(),Z("div",vw,[z(s,{icon:"carbon:api-1",class:"opacity-50 text-lg"}),o.source.timeTakenMs?(j(),Z("div",bw,De(o.source.timeTakenMs)+"ms ",1)):$e("",!0)])):$e("",!0),N("div",null,De(o.source.context.name),1),N("div",null,[z(l,null,{default:oe(()=>{var f;return[le(De(((f=o.source.urls)==null?void 0:f.length)||0),1)]}),_:1})])])])]),description:oe(()=>[N("div",ww,[o.source.fetch?(j(),Z("div",Ew,[z(a,{href:te(n),target:"_blank"},{default:oe(()=>[le(De(o.source.fetch),1)]),_:1},8,["href"])])):$e("",!0),o.source.context.description?(j(),Z("div",Tw,De(o.source.context.description),1)):$e("",!0)])]),default:oe(()=>{var f;return[o.source.error?(j(),Z("div",Cw,[z(s,{icon:"carbon:warning",class:"text-red-500"}),le(" "+De(o.source.error),1)])):(j(),ve(c,{key:1,class:"max-h-[250px] overflow-y-auto",code:JSON.stringify(o.source.urls,null,2),lang:"json"},null,8,["code"])),(f=o.source.context.tips)!=null&&f.length?(j(),Z("div",Sw,[xw,N("ul",Pw,[(j(!0),Z(ye,null,_n(o.source.context.tips,(d,p)=>(j(),Z("li",{key:p,class:"text-sm opacity-80 mb-1",innerHTML:r(d)},null,8,Rw))),128))])])):$e("",!0)]}),_:1})}}}),Lw={class:"relative n-bg-base flex flex-col"},Ow={class:"sticky top-0 z-2 px-4 pt-4"},kw={class:"flex justify-between items-start",mb2:""},Iw={class:"flex space-x-5"},Nw={"text-xl":"",flex:"","items-center":"","gap-2":""},Dw={class:"flex items-center space-x-3 text-xl"},$w={class:"n-select-tabs flex flex-inline flex-wrap items-center border n-border-base rounded-lg n-bg-base"},Mw={class:"px-5 py-2"},Vw={"text-lg":"",flex:"","items-center":""},Hw={class:"px-5 py-2"},Bw={"text-lg":"",flex:"","items-center":""},jw={class:"px-5 py-2"},Fw={"text-lg":"",flex:"","items-center":""},Uw={class:"px-5 py-2"},Gw={"text-lg":"",flex:"","items-center":""},Ww={class:"px-5 py-2"},zw={"text-lg":"",flex:"","items-center":""},qw=["value","title"],Kw={class:"items-center space-x-3 hidden lg:flex"},Jw={class:"opacity-80 text-sm"},Xw={class:"opacity-80 text-sm"},Yw={href:"https://nuxtseo.com",target:"_blank",class:"flex items-end gap-1.5 font-semibold text-xl dark:text-white font-title"},Qw={class:"flex-row flex p4 h-full",style:{"min-height":"calc(100vh - 64px)"}},Zw={class:"mx-auto flex flex-col w-full bg-white dark:bg-black dark:bg-dark-700 bg-light-200"},e1={key:0,class:"space-y-5"},t1=N("div",null,[N("h2",{class:"text-lg mb-1"}," Sitemaps "),N("p",{"text-xs":"",op60:""}," The sitemaps generated from your site. ")],-1),n1={class:"opacity-80 text-base mb-1"},r1={class:"px-3 py-2 space-y-5"},o1={key:0},i1=N("div",{class:"text-sm mb-1 opacity-80"}," This is a special sitemap file that links to your other sitemaps. ",-1),s1={class:"text-sm opacity-70"},l1={key:0,class:"flex space-x-5"},a1=N("div",{class:"w-40"},[N("div",{class:"font-bold text-sm mb-1"}," Sources "),N("div",{class:"opacity-40 text-xs max-w-60"},[le(" Local sources associated with just this sitemap."),N("br"),le("Example: Load in a dynamic list of URLs from an API endpoint. ")])],-1),c1={class:"flex-grow"},u1={class:"flex space-x-5"},f1=N("div",{class:"w-40"},[N("div",{class:"font-bold text-sm mb-1"}," App Sources "),N("div",{class:"opacity-40 text-xs max-w-60"},[le(" Configured with the "),N("code",null,"includeAppSources"),le(" option. ")])],-1),d1={class:"flex-grow flex flex-col justify-center"},p1={key:0,class:"opacity-70"},h1={key:1,class:"opacity-70"},m1={class:"opacity-50 text-xs mt-2"},g1={class:"flex space-x-5"},_1=N("div",{class:"w-40"},[N("div",{class:"font-bold text-sm mb-1"}," Sitemap Options "),N("div",{class:"opacity-40 text-xs max-w-60"}," Extra options used to filter the URLs on the final sitemap and set defaults. ")],-1),y1={class:"n-bg-base/20 flex-grow"},v1={key:1,class:"space-y-5"},b1=N("div",null,[N("h2",{class:"text-lg mb-1"}," App Sources "),N("p",{"text-xs":"",op60:""}," Automatic global sources generated from your application. ")],-1),w1={key:2,class:"space-y-5"},E1=N("div",null,[N("h2",{class:"text-lg mb-1"}," User Sources "),N("p",{"text-xs":"",op60:""}," Manually provided global sources provided by you. ")],-1),T1={key:3,class:"h-full max-h-full overflow-hidden"},C1={class:"opacity-80 text-base mb-1"},S1={class:"px-3 py-2 space-y-5"},x1=["innerHTML"],P1={key:4,class:"h-full max-h-full overflow-hidden"},R1=N("iframe",{src:"https://nuxtseo.com/sitemap",class:"w-full h-full border-none",style:{"min-height":"calc(100vh - 100px)"}},null,-1),A1=[R1],L1=ze({__name:"app",async setup(e){let t,n;[t,n]=Ap(()=>Hb()),await t,n();const r=be(!1);async function o(){r.value=!0,Be.value=null,await Yf(),setTimeout(()=>{r.value=!1},300)}const i=cw("@nuxtjs/sitemap:tab","sitemaps");function s(f){return Be.value?f==="sitemap"||f==="sitemap.xml"?`${Be.value.nitroOrigin}sitemap.xml`:f==="index"?`${Be.value.nitroOrigin}sitemap_index.xml`:`${Be.value.nitroOrigin}${f}-sitemap.xml`:""}function l(f){const d={};return Object.entries(f).forEach(([p,h])=>{h!==void 0&&(!Array.isArray(h)||h.length>0)&&p!=="includeAppSources"&&(d[p]=h)}),d}Yg({htmlAttrs:{class:()=>Zf.value||""}});const a=ke(()=>{var f,d;return((d=(f=Be.value)==null?void 0:f.runtimeConfig)==null?void 0:d.excludeAppSources)||[]}),c=ke(()=>{var f;return(((f=Be.value)==null?void 0:f.globalSources)||[]).filter(d=>d.sourceType==="app")}),u=ke(()=>{var f;return(((f=Be.value)==null?void 0:f.globalSources)||[]).filter(d=>d.sourceType==="user")});return(f,d)=>{var x;const p=js,h=pf,m=Bt("VTooltip"),v=mf,C=V0,S=G0,_=Aw,T=nd,E=id;return j(),Z("div",Lw,[N("header",Ow,[N("div",kw,[N("div",Iw,[N("h1",Nw,[z(p,{icon:"carbon:load-balancer-application",class:"text-blue-300"}),le(" Sitemap "),z(h,{class:"text-sm"},{default:oe(()=>{var R,V;return[le(De((V=(R=te(Be))==null?void 0:R.runtimeConfig)==null?void 0:V.version),1)]}),_:1})])]),N("div",Dw,[N("fieldset",$w,[(j(),Z(ye,null,_n(["sitemaps","user-sources","app-sources","debug","docs"],(R,V)=>N("label",{key:V,class:Te(["relative n-border-base hover:n-bg-active cursor-pointer",[V?"border-l n-border-base ml--1px":"",R===te(i)?"n-bg-active":""]])},[R==="sitemaps"?(j(),Z("div",{key:0,class:Te([R===te(i)?"":"op35"])},[z(m,null,{popper:oe(()=>[le(" Sitemaps ")]),default:oe(()=>[N("div",Mw,[N("h2",Vw,[z(p,{icon:"carbon:load-balancer-application opacity-50"}),z(h,{class:"text-sm"},{default:oe(()=>{var F;return[le(De(Object.keys(((F=te(Be))==null?void 0:F.sitemaps)||{}).length||0),1)]}),_:1})])])]),_:1})],2)):$e("",!0),R==="user-sources"?(j(),Z("div",{key:1,class:Te([R===te(i)?"":"op35"])},[z(m,null,{popper:oe(()=>[le(" User Sources ")]),default:oe(()=>[N("div",Hw,[N("h2",Bw,[z(p,{icon:"carbon:group-account opacity-50"}),z(h,{class:"text-sm"},{default:oe(()=>[le(De(u.value.length),1)]),_:1})])])]),_:1})],2)):$e("",!0),R==="app-sources"?(j(),Z("div",{key:2,class:Te([R===te(i)?"":"op35"])},[z(m,null,{popper:oe(()=>[le(" App Sources ")]),default:oe(()=>[N("div",jw,[N("h2",Fw,[z(p,{icon:"carbon:bot opacity-50"}),z(h,{class:"text-sm"},{default:oe(()=>[le(De(c.value.length),1)]),_:1})])])]),_:1})],2)):R==="debug"?(j(),Z("div",{key:3,class:Te([R===te(i)?"":"op35"])},[z(m,null,{popper:oe(()=>[le(" Debug ")]),default:oe(()=>[N("div",Uw,[N("h2",Gw,[z(p,{icon:"carbon:debug opacity-50"})])])]),_:1})],2)):R==="docs"?(j(),Z("div",{key:4,class:Te([R===te(i)?"":"op35"])},[z(m,null,{popper:oe(()=>[le(" Documentation ")]),default:oe(()=>[N("div",Ww,[N("h2",zw,[z(p,{icon:"carbon:book opacity-50"})])])]),_:1})],2)):$e("",!0),Pp(N("input",{"onUpdate:modelValue":d[0]||(d[0]=F=>Me(i)?i.value=F:null),type:"radio",value:R,title:R,class:"absolute cursor-pointer pointer-events-none inset-0 op-0.1"},null,8,qw),[[Lh,te(i)]])],2)),64))]),z(m,null,{popper:oe(()=>[le(" Refresh ")]),default:oe(()=>[N("button",{"text-lg":"",type:"button",class:"n-icon-button n-button n-transition n-disabled:n-disabled",onClick:o},[z(p,{icon:"carbon:reset",class:"group-hover:text-green-500"})])]),_:1})]),N("div",Kw,[N("div",Jw,[z(v,{href:"https://github.com/sponsors/harlan-zw",target:"_blank"},{default:oe(()=>[z(p,{icon:"carbon:favorite",class:"mr-[2px]"}),le(" Sponsor ")]),_:1})]),N("div",Xw,[z(v,{href:"https://github.com/nuxt-modules/sitemap",target:"_blank"},{default:oe(()=>[z(p,{icon:"logos:github-icon",class:"mr-[2px]"}),le(" Submit an issue ")]),_:1})]),N("a",Yw,[z(C)])])])]),N("div",Qw,[N("main",Zw,[!((x=te(Be))!=null&&x.globalSources)||r.value?(j(),ve(S,{key:0})):(j(),Z(ye,{key:1},[te(i)==="sitemaps"?(j(),Z("div",e1,[t1,(j(!0),Z(ye,null,_n(te(Be).sitemaps,(R,V)=>(j(),ve(E,{key:V},{text:oe(()=>[N("h3",n1,[le(De(R.sitemapName)+" ",1),(R.sources||[]).some(F=>!!F.error)?(j(),ve(p,{key:0,icon:"carbon:warning",class:"text-red-500"})):$e("",!0)])]),description:oe(()=>[z(v,{target:"_blank",href:s(R.sitemapName)},{default:oe(()=>[le(De(s(R.sitemapName)),1)]),_:2},1032,["href"])]),default:oe(()=>[N("div",r1,[R.sitemapName==="index"?(j(),Z("div",o1,[i1,N("div",s1,[le(" You can learn about this on the "),z(v,{underline:"",target:"_blank",href:"https://developers.google.com/search/docs/crawling-indexing/sitemaps/large-sitemaps"},{default:oe(()=>[le(" Google Search Central ")]),_:1}),le(". ")])])):(j(),Z(ye,{key:1},[R.sources&&R.sources.length?(j(),Z("div",l1,[a1,N("div",c1,[(j(!0),Z(ye,null,_n(R.sources,(F,A)=>(j(),ve(_,{key:A,source:F},null,8,["source"]))),128))])])):$e("",!0),N("div",u1,[f1,N("div",d1,[R.includeAppSources&&a.value!==!0?(j(),Z("div",p1,[z(p,{icon:"carbon:checkmark",class:"text-green-500 text-lg"}),le(" Enabled ")])):(j(),Z("div",h1,[z(p,{icon:"carbon:close",class:"text-red-500 text-lg"}),le(" Disabled ")])),N("div",m1,[le(" Switch to "),z(v,{underline:"",class:"cursor-pointer",onClick:d[1]||(d[1]=F=>i.value="app-sources")},{default:oe(()=>[le(" App sources ")]),_:1}),le(" to learn more. ")])])]),N("div",g1,[_1,N("div",y1,[z(T,{class:"max-h-[350px] min-h-full overflow-y-auto",code:JSON.stringify(l(R),null,2),lang:"json"},null,8,["code"])])])],64))])]),_:2},1024))),128))])):te(i)==="app-sources"?(j(),Z("div",v1,[b1,(j(!0),Z(ye,null,_n(c.value,(R,V)=>(j(),ve(_,{key:V,source:R},null,8,["source"]))),128))])):te(i)==="user-sources"?(j(),Z("div",w1,[E1,(j(!0),Z(ye,null,_n(u.value,(R,V)=>(j(),ve(_,{key:V,source:R},null,8,["source"]))),128))])):te(i)==="debug"?(j(),Z("div",T1,[z(E,null,{text:oe(()=>[N("h3",C1,[z(p,{icon:"carbon:settings",class:"mr-1"}),le(" Runtime Config ")])]),default:oe(()=>{var R;return[N("div",S1,[N("pre",{"of-auto":"","h-full":"","text-sm":"",style:{"white-space":"break-spaces"},innerHTML:te(td)(JSON.stringify((R=te(Be))==null?void 0:R.runtimeConfig,null,2),"json").value},null,8,x1)])]}),_:1})])):te(i)==="docs"?(j(),Z("div",P1,A1)):$e("",!0)],64))])])])}}}),O1={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(`
30
+ `).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(`
31
+ `);const r=Number(n.statusCode||500),o=r===404,i=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),s=n.message||n.toString(),l=void 0,u=o?ml(()=>g(()=>import("./d42HzezM.js"),__vite__mapDeps([118,119]),import.meta.url).then(f=>f.default||f)):ml(()=>g(()=>import("./CuOLCh11.js"),__vite__mapDeps([120,121]),import.meta.url).then(f=>f.default||f));return(f,d)=>(j(),ve(te(u),Qa(Ps({statusCode:te(r),statusMessage:te(i),description:te(s),stack:te(l)})),null,16))}},k1={key:0},Wa={__name:"nuxt-root",setup(e){const t=()=>null,n=xe(),r=n.deferHydration();if(n.isHydrating){const a=n.hooks.hookOnce("app:error",r);_t().beforeEach(a)}const o=!1;Dc(Ru,Au()),n.hooks.callHookWith(a=>a.map(c=>c()),"vue:setup");const i=Is(),s=!1;Oc((a,c,u)=>{if(n.hooks.callHook("vue:error",a,c,u).catch(f=>console.error("[nuxt] Error in `vue:error` hook",f)),ag(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>sg(a)),!1});const l=!1;return(a,c)=>(j(),ve(mp,{onResolve:te(r)},{default:oe(()=>[te(s)?(j(),Z("div",k1)):te(i)?(j(),ve(te(O1),{key:1,error:te(i)},null,8,["error"])):te(l)?(j(),ve(te(t),{key:2,context:te(l)},null,8,["context"])):te(o)?(j(),ve(dp(te(o)),{key:3})):(j(),ve(te(L1),{key:4}))]),_:1},8,["onResolve"]))}};let za;{let e;za=async function(){var s,l;if(e)return e;const r=!!((s=window.__NUXT__)!=null&&s.serverRendered||((l=document.getElementById("__NUXT_DATA__"))==null?void 0:l.dataset.ssr)==="true")?$h(Wa):cu(Wa),o=Gm({vueApp:r});async function i(a){await o.callHook("app:error",a),o.payload.error=o.payload.error||Ns(a)}r.config.errorHandler=i;try{await qm(o,b0)}catch(a){i(a)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(Fm),await o.hooks.callHook("app:mounted",r),await un()}catch(a){i(a)}return r.config.errorHandler===i&&(r.config.errorHandler=void 0),r},e=za().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{zo as _,N as a,z as b,Z as c,le as d,A0 as e,Cc as f,j as o,Tc as p,De as t,Yg as u,oe as w};