nuxt-og-image 3.0.0-rc.64 → 3.0.0-rc.65

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 (31) hide show
  1. package/README.md +67 -67
  2. package/dist/client/200.html +6 -6
  3. package/dist/client/404.html +6 -6
  4. package/dist/client/_nuxt/{Dr4yXoA7.js → DVxyIIKo.js} +1 -1
  5. package/dist/client/_nuxt/{B-hN5syD.js → WfFM8TlZ.js} +1 -1
  6. package/dist/client/_nuxt/builds/latest.json +1 -1
  7. package/dist/client/_nuxt/builds/meta/5876a781-42f1-459e-a560-bbe16edad6b7.json +1 -0
  8. package/dist/client/_nuxt/{entry.BCfFhbeW.css → entry.BJu2ITzA.css} +1 -1
  9. package/dist/client/_nuxt/{CAOxhcmA.js → xettH10j.js} +3 -3
  10. package/dist/client/index.html +6 -6
  11. package/dist/module.json +1 -1
  12. package/dist/module.mjs +8 -4
  13. package/dist/runtime/nitro/og-image/context.js +1 -1
  14. package/dist/runtime/nitro/og-image/satori/plugins/imageSrc.js +4 -0
  15. package/dist/runtime/nitro/tsconfig.json +3 -3
  16. package/dist/runtime/nitro/util/logger.d.ts +1 -0
  17. package/dist/runtime/nitro/util/logger.js +6 -0
  18. package/dist/runtime/nuxt/components/Templates/Community/BrandedLogo.vue +29 -29
  19. package/dist/runtime/nuxt/components/Templates/Community/Frame.vue +64 -64
  20. package/dist/runtime/nuxt/components/Templates/Community/Nuxt.vue +185 -185
  21. package/dist/runtime/nuxt/components/Templates/Community/NuxtSeo.vue +137 -137
  22. package/dist/runtime/nuxt/components/Templates/Community/Pergel.vue +103 -103
  23. package/dist/runtime/nuxt/components/Templates/Community/SimpleBlog.vue +35 -35
  24. package/dist/runtime/nuxt/components/Templates/Community/UnJs.vue +108 -108
  25. package/dist/runtime/nuxt/components/Templates/Community/Wave.vue +34 -34
  26. package/dist/runtime/nuxt/components/Templates/Community/WithEmoji.vue +28 -28
  27. package/dist/runtime/nuxt/plugins/og-image-canonical-urls.server.js +1 -1
  28. package/dist/runtime/nuxt/utils.js +6 -4
  29. package/package.json +1 -1
  30. package/virtual.d.ts +49 -49
  31. package/dist/client/_nuxt/builds/meta/5b462863-5844-4458-a933-139db1c25626.json +0 -1
@@ -1,4 +1,4 @@
1
- const __vite__fileDeps=["./ECt0lbkd.js","./CbViG2Xw.js","./Dch3xQiY.js","./CbYhyuC0.js","./1rqFXsGc.js","./BeX7Iu5M.js","./DC4hdoM9.js","./CsYA0RN7.js","./ClXEvkw9.js","./CupVZNk8.js","./CFF2d1j6.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","./kuh6G-Sk.js","./DwuVtWc2.js","./BXfENWL6.js","./BIxS-Weu.js","./Du6_OKDb.js","./B9S9BZZh.js","./DHmGyzbM.js","./RqY_Nz63.js","./Dwo2i-71.js","./CarfVElc.js","./BZfs-ost.js","./BVGdgKAv.js","./DGxQkqYo.js","./CMDmr8et.js","./vMsNTMhM.js","./BeJnKnI_.js","./BT9ZzGyQ.js","./DC8MraHL.js","./BXR915QZ.js","./DSrLtGYv.js","./DXT9h7v2.js","./BlxWTfDV.js","./C1DVX8_8.js","./Cgl53LJQ.js","./B6bHXiXE.js","./DVC_qXWv.js","./BR6CMsBL.js","./ChMCFiS0.js","./sQpxpyUs.js","./D6pmzCqS.js","./BVkeqZ59.js","./BnyYJeap.js","./BBBqETUW.js","./B_SUYfiV.js","./cw46T5ID.js","./DAVo6uMX.js","./JgH_6NEN.js","./Bbv8ARUV.js","./CQUCfALx.js","./BN4LRXf6.js","./BmCW-tYz.js","./0ooBkv16.js","./DJubGRtk.js","./CqYeW6XZ.js","./CiRxTSAc.js","./Dit6kIrv.js","./DzwdaLuO.js","./D4LaosRr.js","./DY7_9Ga-.js","./CCqFro8U.js","./Bj0fF4lQ.js","./nclm9rTJ.js","./Dg0DGYq4.js","./DGDuLtS6.js","./CJIaz0BQ.js","./DR5YgmI2.js","./D7WeZTai.js","./Cthz8VOO.js","./DhFF74a2.js","./BwXNTs7T.js","./CJGKC1_q.js","./BVLuctcA.js","./DXZpi2gR.js","./8t4jSAMm.js","./BiDE021q.js","./DmDrTTlz.js","./dIHJ9UdL.js","./DKb4lQY2.js","./DJZWsvj0.js","./C15OxdQ5.js","./DLP9ZvWb.js","./C1yTBzia.js","./BMHPAh1U.js","./BacI6-DX.js","./Bi43K_FX.js","./DYI1rfmx.js","./Bh8mriwU.js","./D33OKbkv.js","./DrnZp123.js","./DeVv6D4_.js","./beD-FUib.js","./CJQrLysU.js","./BPiaQZfK.js","./D384ylkT.js","./9ZOzOPqN.js","./DZLoTQm4.js","./BaedD2tq.js","./Dr4yXoA7.js","./error-404.B3wjZPBT.css","./B-hN5syD.js","./error-500.Dxoa4Ooo.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
1
+ const __vite__fileDeps=["./ECt0lbkd.js","./CbViG2Xw.js","./Dch3xQiY.js","./CbYhyuC0.js","./1rqFXsGc.js","./BeX7Iu5M.js","./DC4hdoM9.js","./CsYA0RN7.js","./ClXEvkw9.js","./CupVZNk8.js","./CFF2d1j6.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","./kuh6G-Sk.js","./DwuVtWc2.js","./BXfENWL6.js","./BIxS-Weu.js","./Du6_OKDb.js","./B9S9BZZh.js","./DHmGyzbM.js","./RqY_Nz63.js","./Dwo2i-71.js","./CarfVElc.js","./BZfs-ost.js","./BVGdgKAv.js","./DGxQkqYo.js","./CMDmr8et.js","./vMsNTMhM.js","./BeJnKnI_.js","./BT9ZzGyQ.js","./DC8MraHL.js","./BXR915QZ.js","./DSrLtGYv.js","./DXT9h7v2.js","./BlxWTfDV.js","./C1DVX8_8.js","./Cgl53LJQ.js","./B6bHXiXE.js","./DVC_qXWv.js","./BR6CMsBL.js","./ChMCFiS0.js","./sQpxpyUs.js","./D6pmzCqS.js","./BVkeqZ59.js","./BnyYJeap.js","./BBBqETUW.js","./B_SUYfiV.js","./cw46T5ID.js","./DAVo6uMX.js","./JgH_6NEN.js","./Bbv8ARUV.js","./CQUCfALx.js","./BN4LRXf6.js","./BmCW-tYz.js","./0ooBkv16.js","./DJubGRtk.js","./CqYeW6XZ.js","./CiRxTSAc.js","./Dit6kIrv.js","./DzwdaLuO.js","./D4LaosRr.js","./DY7_9Ga-.js","./CCqFro8U.js","./Bj0fF4lQ.js","./nclm9rTJ.js","./Dg0DGYq4.js","./DGDuLtS6.js","./CJIaz0BQ.js","./DR5YgmI2.js","./D7WeZTai.js","./Cthz8VOO.js","./DhFF74a2.js","./BwXNTs7T.js","./CJGKC1_q.js","./BVLuctcA.js","./DXZpi2gR.js","./8t4jSAMm.js","./BiDE021q.js","./DmDrTTlz.js","./dIHJ9UdL.js","./DKb4lQY2.js","./DJZWsvj0.js","./C15OxdQ5.js","./DLP9ZvWb.js","./C1yTBzia.js","./BMHPAh1U.js","./BacI6-DX.js","./Bi43K_FX.js","./DYI1rfmx.js","./Bh8mriwU.js","./D33OKbkv.js","./DrnZp123.js","./DeVv6D4_.js","./beD-FUib.js","./CJQrLysU.js","./BPiaQZfK.js","./D384ylkT.js","./9ZOzOPqN.js","./DZLoTQm4.js","./BaedD2tq.js","./DVxyIIKo.js","./error-404.B3wjZPBT.css","./WfFM8TlZ.js","./error-500.Dxoa4Ooo.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
2
2
  var s9=Object.defineProperty;var a9=(t,e,n)=>e in t?s9(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var de=(t,e,n)=>a9(t,typeof e!="symbol"?e+"":e,n);/**
3
3
  * @vue/shared v3.4.31
4
4
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
@@ -15,7 +15,7 @@ var s9=Object.defineProperty;var a9=(t,e,n)=>e in t?s9(t,e,{enumerable:!0,config
15
15
  * @vue/runtime-dom v3.4.31
16
16
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
17
17
  * @license MIT
18
- **/const iz="http://www.w3.org/2000/svg",oz="http://www.w3.org/1998/Math/MathML",wa=typeof document<"u"?document:null,xS=wa&&wa.createElement("template"),sz={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const i=e==="svg"?wa.createElementNS(iz,t):e==="mathml"?wa.createElementNS(oz,t):n?wa.createElement(t,{is:n}):wa.createElement(t);return t==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:t=>wa.createTextNode(t),createComment:t=>wa.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>wa.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,i,o){const s=n?n.previousSibling:e.lastChild;if(i&&(i===o||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{xS.innerHTML=r==="svg"?`<svg>${t}</svg>`:r==="mathml"?`<math>${t}</math>`:t;const a=xS.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[s?s.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},az=Symbol("_vtc");function lz(t,e,n){const r=t[az];r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const _S=Symbol("_vod"),cz=Symbol("_vsh"),uz=Symbol(""),fz=/(^|;)\s*display\s*:/;function dz(t,e,n){const r=t.style,i=Er(n);let o=!1;if(n&&!i){if(e)if(Er(e))for(const s of e.split(";")){const a=s.slice(0,s.indexOf(":")).trim();n[a]==null&&wg(r,a,"")}else for(const s in e)n[s]==null&&wg(r,s,"");for(const s in n)s==="display"&&(o=!0),wg(r,s,n[s])}else if(i){if(e!==n){const s=r[uz];s&&(n+=";"+s),r.cssText=n,o=fz.test(n)}}else e&&t.removeAttribute("style");_S in t&&(t[_S]=o?r.display:"",t[cz]&&(r.display="none"))}const jS=/\s*!important$/;function wg(t,e,n){if(zt(n))n.forEach(r=>wg(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=hz(t,e);jS.test(n)?t.setProperty(cu(r),n.replace(jS,""),"important"):t[r]=n}}const $S=["Webkit","Moz","ms"],my={};function hz(t,e){const n=my[e];if(n)return n;let r=Qs(e);if(r!=="filter"&&r in t)return my[e]=r;r=B0(r);for(let i=0;i<$S.length;i++){const o=$S[i]+r;if(o in t)return my[e]=o}return e}const SS="http://www.w3.org/1999/xlink";function kS(t,e,n,r,i,o=b9(e)){r&&e.startsWith("xlink:")?n==null?t.removeAttributeNS(SS,e.slice(6,e.length)):t.setAttributeNS(SS,e,n):n==null||o&&!RT(n)?t.removeAttribute(e):t.setAttribute(e,o?"":Ys(n)?String(n):n)}function pz(t,e,n,r,i,o,s){if(e==="innerHTML"||e==="textContent"){r&&s(r,i,o),t[e]=n??"";return}const a=t.tagName;if(e==="value"&&a!=="PROGRESS"&&!a.includes("-")){const c=a==="OPTION"?t.getAttribute("value")||"":t.value,u=n==null?"":String(n);(c!==u||!("_value"in t))&&(t.value=u),n==null&&t.removeAttribute(e),t._value=n;return}let l=!1;if(n===""||n==null){const c=typeof t[e];c==="boolean"?n=RT(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{t[e]=n}catch{}l&&t.removeAttribute(e)}function J2(t,e,n,r){t.addEventListener(e,n,r)}function mz(t,e,n,r){t.removeEventListener(e,n,r)}const CS=Symbol("_vei");function gz(t,e,n,r,i=null){const o=t[CS]||(t[CS]={}),s=o[e];if(r&&s)s.value=r;else{const[a,l]=vz(e);if(r){const c=o[e]=wz(r,i);J2(t,a,c,l)}else s&&(mz(t,a,s,l),o[e]=void 0)}}const ES=/(?:Once|Passive|Capture)$/;function vz(t){let e;if(ES.test(t)){e={};let r;for(;r=t.match(ES);)t=t.slice(0,t.length-r[0].length),e[r[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):cu(t.slice(2)),e]}let gy=0;const yz=Promise.resolve(),bz=()=>gy||(yz.then(()=>gy=0),gy=Date.now());function wz(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;is(xz(r,n.value),e,5,[r])};return n.value=t,n.attached=bz(),n}function xz(t,e){if(zt(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(r=>i=>!i._stopped&&r&&r(i))}else return e}const OS=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,_z=(t,e,n,r,i,o,s,a,l)=>{const c=i==="svg";e==="class"?lz(t,r,c):e==="style"?dz(t,n,r):jp(e)?S2(e)||gz(t,e,n,r,s):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):jz(t,e,r,c))?(pz(t,e,r,o,s,a,l),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&kS(t,e,r,c,s,e!=="value")):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),kS(t,e,r,c))};function jz(t,e,n,r){if(r)return!!(e==="innerHTML"||e==="textContent"||e in t&&OS(e)&&Kt(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const i=t.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return OS(e)&&Er(n)?!1:e in t}const rv=t=>{const e=t.props["onUpdate:modelValue"]||!1;return zt(e)?n=>yg(e,n):e},af=Symbol("_assign"),$z={created(t,{value:e},n){t.checked=Tf(e,n.props.value),t[af]=rv(n),J2(t,"change",()=>{t[af](Ph(t))})},beforeUpdate(t,{value:e,oldValue:n},r){t[af]=rv(r),e!==n&&(t.checked=Tf(e,r.props.value))}},Sz={deep:!0,created(t,{value:e,modifiers:{number:n}},r){const i=L0(e);J2(t,"change",()=>{const o=Array.prototype.filter.call(t.options,s=>s.selected).map(s=>n?TT(Ph(s)):Ph(s));t[af](t.multiple?i?new Set(o):o:o[0]),t._assigning=!0,Yl(()=>{t._assigning=!1})}),t[af]=rv(r)},mounted(t,{value:e,modifiers:{number:n}}){TS(t,e)},beforeUpdate(t,e,n){t[af]=rv(n)},updated(t,{value:e,modifiers:{number:n}}){t._assigning||TS(t,e)}};function TS(t,e,n){const r=t.multiple,i=zt(e);if(!(r&&!i&&!L0(e))){for(let o=0,s=t.options.length;o<s;o++){const a=t.options[o],l=Ph(a);if(r)if(i){const c=typeof l;c==="string"||c==="number"?a.selected=e.some(u=>String(u)===String(l)):a.selected=x9(e,l)>-1}else a.selected=e.has(l);else if(Tf(Ph(a),e)){t.selectedIndex!==o&&(t.selectedIndex=o);return}}!r&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function Ph(t){return"_value"in t?t._value:t.value}const kz=["ctrl","shift","alt","meta"],Cz={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>kz.some(n=>t[`${n}Key`]&&!e.includes(n))},Ez=(t,e)=>{const n=t._withMods||(t._withMods={}),r=e.join(".");return n[r]||(n[r]=(i,...o)=>{for(let s=0;s<e.length;s++){const a=Cz[e[s]];if(a&&a(i,e))return}return t(i,...o)})},Oz={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Tz=(t,e)=>{const n=t._withKeys||(t._withKeys={}),r=e.join(".");return n[r]||(n[r]=i=>{if(!("key"in i))return;const o=cu(i.key);if(e.some(s=>s===o||Oz[s]===o))return t(i)})},BP=ii({patchProp:_z},sz);let th,PS=!1;function Pz(){return th||(th=BB(BP))}function Az(){return th=PS?th:zB(BP),PS=!0,th}const zP=(...t)=>{const e=Pz().createApp(...t),{mount:n}=e;return e.mount=r=>{const i=VP(r);if(!i)return;const o=e._component;!Kt(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.innerHTML="";const s=n(i,!1,FP(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),s},e},Rz=(...t)=>{const e=Az().createApp(...t),{mount:n}=e;return e.mount=r=>{const i=VP(r);if(i)return n(i,!0,FP(i))},e};function FP(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function VP(t){return Er(t)?document.querySelector(t):t}const Mz=/"(?:_|\\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*:/,Nz=/"(?: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*:/,Iz=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Lz(t,e){if(t==="__proto__"||t==="constructor"&&e&&typeof e=="object"&&"prototype"in e){Dz(t);return}return e}function Dz(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}function iv(t,e={}){if(typeof t!="string")return t;const n=t.trim();if(t[0]==='"'&&t.endsWith('"')&&!t.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(!Iz.test(t)){if(e.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(Mz.test(t)||Nz.test(t)){if(e.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,Lz)}return JSON.parse(t)}catch(r){if(e.strict)throw r;return t}}const Bz=/#/g,zz=/&/g,Fz=/\//g,Vz=/=/g,Y2=/\+/g,Hz=/%5e/gi,qz=/%60/gi,Uz=/%7c/gi,Wz=/%20/gi;function Gz(t){return encodeURI(""+t).replace(Uz,"|")}function Yb(t){return Gz(typeof t=="string"?t:JSON.stringify(t)).replace(Y2,"%2B").replace(Wz,"+").replace(Bz,"%23").replace(zz,"%26").replace(qz,"`").replace(Hz,"^").replace(Fz,"%2F")}function vy(t){return Yb(t).replace(Vz,"%3D")}function ov(t=""){try{return decodeURIComponent(""+t)}catch{return""+t}}function Kz(t){return ov(t.replace(Y2," "))}function Jz(t){return ov(t.replace(Y2," "))}function Q2(t=""){const e={};t[0]==="?"&&(t=t.slice(1));for(const n of t.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const i=Kz(r[1]);if(i==="__proto__"||i==="constructor")continue;const o=Jz(r[2]||"");e[i]===void 0?e[i]=o:Array.isArray(e[i])?e[i].push(o):e[i]=[e[i],o]}return e}function Yz(t,e){return(typeof e=="number"||typeof e=="boolean")&&(e=String(e)),e?Array.isArray(e)?e.map(n=>`${vy(t)}=${Yb(n)}`).join("&"):`${vy(t)}=${Yb(e)}`:vy(t)}function HP(t){return Object.keys(t).filter(e=>t[e]!==void 0).map(e=>Yz(e,t[e])).filter(Boolean).join("&")}const Qz=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,qP=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Xz=/^([/\\]\s*){2,}[^/\\]/,Zz=/^[\s\0]*(blob|data|javascript|vbscript):$/i,eF=/\/$|\/\?|\/#/,tF=/^\.?\//;function Xl(t,e={}){return typeof e=="boolean"&&(e={acceptRelative:e}),e.strict?Qz.test(t):qP.test(t)||(e.acceptRelative?Xz.test(t):!1)}function nF(t){return!!t&&Zz.test(t)}function Qb(t="",e){return e?eF.test(t):t.endsWith("/")}function Y0(t="",e){if(!e)return(Qb(t)?t.slice(0,-1):t)||"/";if(!Qb(t,!0))return t||"/";let n=t,r="";const i=t.indexOf("#");i>=0&&(n=t.slice(0,i),r=t.slice(i));const[o,...s]=n.split("?");return((o.endsWith("/")?o.slice(0,-1):o)||"/")+(s.length>0?`?${s.join("?")}`:"")+r}function sv(t="",e){if(!e)return t.endsWith("/")?t:t+"/";if(Qb(t,!0))return t||"/";let n=t,r="";const i=t.indexOf("#");if(i>=0&&(n=t.slice(0,i),r=t.slice(i),!n))return r;const[o,...s]=n.split("?");return o+"/"+(s.length>0?`?${s.join("?")}`:"")+r}function rF(t=""){return t.startsWith("/")}function AS(t=""){return rF(t)?t:"/"+t}function UP(t,e){if(WP(e)||Xl(t))return t;const n=Y0(e);return t.startsWith(n)?t:fu(n,t)}function iF(t,e){if(WP(e))return t;const n=Y0(e);if(!t.startsWith(n))return t;const r=t.slice(n.length);return r[0]==="/"?r:"/"+r}function lf(t,e){const n=JP(t),r={...Q2(n.search),...e};return n.search=HP(r),YP(n)}function WP(t){return!t||t==="/"}function oF(t){return t&&t!=="/"}function fu(t,...e){let n=t||"";for(const r of e.filter(i=>oF(i)))if(n){const i=r.replace(tF,"");n=sv(n)+i}else n=r;return n}function GP(...t){var s,a,l,c;const e=/\/(?!\/)/,n=t.filter(Boolean),r=[];let i=0;for(const u of n)if(!(!u||u==="/")){for(const[f,d]of u.split(e).entries())if(!(!d||d===".")){if(d===".."){if(r.length===1&&Xl(r[0]))continue;r.pop(),i--;continue}if(f===1&&((s=r[r.length-1])!=null&&s.endsWith(":/"))){r[r.length-1]+="/"+d;continue}r.push(d),i++}}let o=r.join("/");return i>=0?(a=n[0])!=null&&a.startsWith("/")&&!o.startsWith("/")?o="/"+o:(l=n[0])!=null&&l.startsWith("./")&&!o.startsWith("./")&&(o="./"+o):o="../".repeat(-1*i)+o,(c=n[n.length-1])!=null&&c.endsWith("/")&&!o.endsWith("/")&&(o+="/"),o}function sF(t){return aF(t,"https://")}function aF(t,e){const n=t.match(qP);return n?e+t.slice(n[0].length):e+t}function lF(t,e,n={}){return n.trailingSlash||(t=sv(t),e=sv(e)),n.leadingSlash||(t=AS(t),e=AS(e)),n.encoding||(t=ov(t),e=ov(e)),t===e}const KP=Symbol.for("ufo:protocolRelative");function JP(t="",e){const n=t.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(!Xl(t,{acceptRelative:!0}))return RS(t);const[,r="",i,o=""]=t.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,s="",a=""]=o.match(/([^#/?]*)(.*)?/)||[],{pathname:l,search:c,hash:u}=RS(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r.toLowerCase(),auth:i?i.slice(0,Math.max(0,i.length-1)):"",host:s,pathname:l,search:c,hash:u,[KP]:!r}}function RS(t=""){const[e="",n="",r=""]=(t.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:e,search:n,hash:r}}function YP(t){const e=t.pathname||"",n=t.search?(t.search.startsWith("?")?"":"?")+t.search:"",r=t.hash||"",i=t.auth?t.auth+"@":"",o=t.host||"";return(t.protocol||t[KP]?(t.protocol||"")+"//":"")+i+o+e+n+r}class cF extends Error{constructor(e,n){super(e,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function uF(t){var l,c,u,f,d;const e=((l=t.error)==null?void 0:l.message)||((c=t.error)==null?void 0:c.toString())||"",n=((u=t.request)==null?void 0:u.method)||((f=t.options)==null?void 0:f.method)||"GET",r=((d=t.request)==null?void 0:d.url)||String(t.request)||"/",i=`[${n}] ${JSON.stringify(r)}`,o=t.response?`${t.response.status} ${t.response.statusText}`:"<no response>",s=`${i}: ${o}${e?` ${e}`:""}`,a=new cF(s,t.error?{cause:t.error}:void 0);for(const h of["request","options","response"])Object.defineProperty(a,h,{get(){return t[h]}});for(const[h,p]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,h,{get(){return t.response&&t.response[p]}});return a}const fF=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function MS(t="GET"){return fF.has(t.toUpperCase())}function dF(t){if(t===void 0)return!1;const e=typeof t;return e==="string"||e==="number"||e==="boolean"||e===null?!0:e!=="object"?!1:Array.isArray(t)?!0:t.buffer?!1:t.constructor&&t.constructor.name==="Object"||typeof t.toJSON=="function"}const hF=new Set(["image/svg","application/xml","application/xhtml","application/html"]),pF=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function mF(t=""){if(!t)return"json";const e=t.split(";").shift()||"";return pF.test(e)?"json":hF.has(e)||e.startsWith("text/")?"text":"blob"}function gF(t,e,n=globalThis.Headers){const r={...e,...t};if(e!=null&&e.params&&(t!=null&&t.params)&&(r.params={...e==null?void 0:e.params,...t==null?void 0:t.params}),e!=null&&e.query&&(t!=null&&t.query)&&(r.query={...e==null?void 0:e.query,...t==null?void 0:t.query}),e!=null&&e.headers&&(t!=null&&t.headers)){r.headers=new n((e==null?void 0:e.headers)||{});for(const[i,o]of new n((t==null?void 0:t.headers)||{}))r.headers.set(i,o)}return r}const vF=new Set([408,409,425,429,500,502,503,504]),yF=new Set([101,204,205,304]);function QP(t={}){const{fetch:e=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=t;async function i(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let u;typeof a.options.retry=="number"?u=a.options.retry:u=MS(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):vF.has(f))){const d=a.options.retryDelay||0;return d>0&&await new Promise(h=>setTimeout(h,d)),o(a.request,{...a.options,retry:u-1})}}const c=uF(a);throw Error.captureStackTrace&&Error.captureStackTrace(c,o),c}const o=async function(l,c={}){var h;const u={request:l,options:gF(c,t.defaults,n),response:void 0,error:void 0};u.options.method=(h=u.options.method)==null?void 0:h.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=UP(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=lf(u.request,{...u.options.params,...u.options.query}))),u.options.body&&MS(u.options.method)&&(dF(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 p=new r;f=setTimeout(()=>p.abort(),u.options.timeout),u.options.signal=p.signal}try{u.response=await e(u.request,u.options)}catch(p){return u.error=p,u.options.onRequestError&&await u.options.onRequestError(u),await i(u)}finally{f&&clearTimeout(f)}if(u.response.body&&!yF.has(u.response.status)&&u.options.method!=="HEAD"){const p=(u.options.parseResponse?"json":u.options.responseType)||mF(u.response.headers.get("content-type")||"");switch(p){case"json":{const m=await u.response.text(),v=u.options.parseResponse||iv;u.response._data=v(m);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[p]()}}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 i(u)):u.response},s=async function(l,c){return(await o(l,c))._data};return s.raw=o,s.native=(...a)=>e(...a),s.create=(a={})=>QP({...t,defaults:{...t.defaults,...a}}),s}const X2=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")}(),bF=X2.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),wF=X2.Headers,xF=X2.AbortController,_F=QP({fetch:bF,Headers:wF,AbortController:xF}),jF=_F,$F=()=>{var t;return((t=window==null?void 0:window.__NUXT__)==null?void 0:t.config)||{}},av=$F().app,SF=()=>av.baseURL,kF=()=>av.buildAssetsDir,Z2=(...t)=>GP(XP(),kF(),...t),XP=(...t)=>{const e=av.cdnURL||av.baseURL;return t.length?GP(e,...t):e};globalThis.__buildAssetsURL=Z2,globalThis.__publicAssetsURL=XP;globalThis.$fetch||(globalThis.$fetch=jF.create({baseURL:SF()}));function Xb(t,e={},n){for(const r in t){const i=t[r],o=n?`${n}:${r}`:r;typeof i=="object"&&i!==null?Xb(i,e,o):typeof i=="function"&&(e[o]=i)}return e}const CF={run:t=>t()},EF=()=>CF,ZP=typeof console.createTask<"u"?console.createTask:EF;function OF(t,e){const n=e.shift(),r=ZP(n);return t.reduce((i,o)=>i.then(()=>r.run(()=>o(...e))),Promise.resolve())}function TF(t,e){const n=e.shift(),r=ZP(n);return Promise.all(t.map(i=>r.run(()=>i(...e))))}function yy(t,e){for(const n of[...t])n(e)}class PF{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(e,n,r={}){if(!e||typeof n!="function")return()=>{};const i=e;let o;for(;this._deprecatedHooks[e];)o=this._deprecatedHooks[e],e=o.to;if(o&&!r.allowDeprecated){let s=o.message;s||(s=`${i} hook has been deprecated`+(o.to?`, please use ${o.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:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(n),()=>{n&&(this.removeHook(e,n),n=void 0)}}hookOnce(e,n){let r,i=(...o)=>(typeof r=="function"&&r(),r=void 0,i=void 0,n(...o));return r=this.hook(e,i),r}removeHook(e,n){if(this._hooks[e]){const r=this._hooks[e].indexOf(n);r!==-1&&this._hooks[e].splice(r,1),this._hooks[e].length===0&&delete this._hooks[e]}}deprecateHook(e,n){this._deprecatedHooks[e]=typeof n=="string"?{to:n}:n;const r=this._hooks[e]||[];delete this._hooks[e];for(const i of r)this.hook(e,i)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const n in e)this.deprecateHook(n,e[n])}addHooks(e){const n=Xb(e),r=Object.keys(n).map(i=>this.hook(i,n[i]));return()=>{for(const i of r.splice(0,r.length))i()}}removeHooks(e){const n=Xb(e);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...n){return n.unshift(e),this.callHookWith(OF,e,...n)}callHookParallel(e,...n){return n.unshift(e),this.callHookWith(TF,e,...n)}callHookWith(e,n,...r){const i=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&yy(this._before,i);const o=e(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&i&&yy(this._after,i)}):(this._after&&i&&yy(this._after,i),o)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const n=this._before.indexOf(e);n!==-1&&this._before.splice(n,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const n=this._after.indexOf(e);n!==-1&&this._after.splice(n,1)}}}}function eA(){return new PF}function AF(t={}){let e,n=!1;const r=s=>{if(e&&e!==s)throw new Error("Context conflict")};let i;if(t.asyncContext){const s=t.AsyncLocalStorage||globalThis.AsyncLocalStorage;s?i=new s:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const o=()=>{if(i&&e===void 0){const s=i.getStore();if(s!==void 0)return s}return e};return{use:()=>{const s=o();if(s===void 0)throw new Error("Context is not available");return s},tryUse:()=>o(),set:(s,a)=>{a||r(s),e=s,n=!0},unset:()=>{e=void 0,n=!1},call:(s,a)=>{r(s),e=s;try{return i?i.run(s,a):a()}finally{n||(e=void 0)}},async callAsync(s,a){e=s;const l=()=>{e=s},c=()=>e===s?l:void 0;Zb.add(c);try{const u=i?i.run(s,a):a();return n||(e=void 0),await u}finally{Zb.delete(c)}}}}function RF(t={}){const e={};return{get(n,r={}){return e[n]||(e[n]=AF({...t,...r})),e[n],e[n]}}}const lv=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},NS="__unctx__",MF=lv[NS]||(lv[NS]=RF()),NF=(t,e={})=>MF.get(t,e),IS="__unctx_async_handlers__",Zb=lv[IS]||(lv[IS]=new Set);function tA(t){const e=[];for(const i of Zb){const o=i();o&&e.push(o)}const n=()=>{for(const i of e)i()};let r=t();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(i=>{throw n(),i})),[r,n]}const IF={componentName:"NuxtLink"},Vu={value:null,errorValue:null,deep:!0},LF=null,DF="#__nuxt",nA="nuxt-app",LS=36e5;function rA(t=nA){return NF(t,{asyncContext:!1})}const BF="__nuxt_plugin";function zF(t){let e=0;const n={_name:nA,_scope:_9(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.12.3"},get vue(){return n.vueApp.version}},payload:Fu({data:Fu({}),state:Bc({}),once:new Set,_errors:Fu({})}),static:{data:{}},runWithContext(i){return n._scope.active&&!z0()?n._scope.run(()=>DS(n,i)):DS(n,i)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};e++;let i=!1;return()=>{if(!i&&(i=!0,e--,e===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:Fu({}),_payloadRevivers:{},...t};if(window.__NUXT__)for(const i in window.__NUXT__)switch(i){case"data":case"state":case"_errors":Object.assign(n.payload[i],window.__NUXT__[i]);break;default:n.payload[i]=window.__NUXT__[i]}n.hooks=eA(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(i,o)=>{const s="$"+i;cm(n,s,o),cm(n.vueApp.config.globalProperties,s,o)},cm(n.vueApp,"$nuxt",n),cm(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",o=>{n.callHook("app:chunkError",{error:o.payload})}),window.useNuxtApp=window.useNuxtApp||Rr;const i=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",i)}const r=n.payload.config;return n.provide("config",r),n}function FF(t,e){e.hooks&&t.hooks.addHooks(e.hooks)}async function VF(t,e){if(typeof e=="function"){const{provide:n}=await t.runWithContext(()=>e(t))||{};if(n&&typeof n=="object")for(const r in n)t.provide(r,n[r])}}async function HF(t,e){const n=[],r=[],i=[],o=[];let s=0;async function a(l){var u;const c=((u=l.dependsOn)==null?void 0:u.filter(f=>e.some(d=>d._name===f)&&!n.includes(f)))??[];if(c.length>0)r.push([new Set(c),l]);else{const f=VF(t,l).then(async()=>{l._name&&(n.push(l._name),await Promise.all(r.map(async([d,h])=>{d.has(l._name)&&(d.delete(l._name),d.size===0&&(s++,await a(h)))})))});l.parallel?i.push(f.catch(d=>o.push(d))):await f}}for(const l of e)FF(t,l);for(const l of e)await a(l);if(await Promise.all(i),s)for(let l=0;l<s;l++)await Promise.all(i);if(o.length)throw o[0]}function ua(t){if(typeof t=="function")return t;const e=t._name||t.name;return delete t.name,Object.assign(t.setup||(()=>{}),t,{[BF]:!0,_name:e})}function DS(t,e,n){const r=()=>e();return rA(t._name).set(t),t.vueApp.runWithContext(r)}function qF(t){var n;let e;return mP()&&(e=(n=Ql())==null?void 0:n.appContext.app.$nuxt),e=e||rA(t).tryUse(),e||null}function Rr(t){const e=qF(t);if(!e)throw new Error("[nuxt] instance unavailable");return e}function If(t){return Rr().$config}function cm(t,e,n){Object.defineProperty(t,e,{get:()=>n})}function UF(t,e){return{ctx:{table:t},matchAll:n=>oA(n,t)}}function iA(t){const e={};for(const n in t)e[n]=n==="dynamic"?new Map(Object.entries(t[n]).map(([r,i])=>[r,iA(i)])):new Map(Object.entries(t[n]));return e}function WF(t){return UF(iA(t))}function oA(t,e,n){t.endsWith("/")&&(t=t.slice(0,-1)||"/");const r=[];for(const[o,s]of BS(e.wildcard))(t===o||t.startsWith(o+"/"))&&r.push(s);for(const[o,s]of BS(e.dynamic))if(t.startsWith(o+"/")){const a="/"+t.slice(o.length).split("/").splice(2).join("/");r.push(...oA(a,s))}const i=e.static.get(t);return i&&r.push(i),r.filter(Boolean)}function BS(t){return[...t.entries()].sort((e,n)=>e[0].length-n[0].length)}function by(t){if(t===null||typeof t!="object")return!1;const e=Object.getPrototypeOf(t);return e!==null&&e!==Object.prototype&&Object.getPrototypeOf(e)!==null||Symbol.iterator in t?!1:Symbol.toStringTag in t?Object.prototype.toString.call(t)==="[object Module]":!0}function ew(t,e,n=".",r){if(!by(e))return ew(t,{},n,r);const i=Object.assign({},e);for(const o in t){if(o==="__proto__"||o==="constructor")continue;const s=t[o];s!=null&&(r&&r(i,o,s,n)||(Array.isArray(s)&&Array.isArray(i[o])?i[o]=[...s,...i[o]]:by(s)&&by(i[o])?i[o]=ew(s,i[o],(n?`${n}.`:"")+o.toString(),r):i[o]=s))}return i}function GF(t){return(...e)=>e.reduce((n,r)=>ew(n,r,"",t),{})}const cv=GF();function KF(t,e){try{return e in t}catch{return!1}}var JF=Object.defineProperty,YF=(t,e,n)=>e in t?JF(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,mc=(t,e,n)=>(YF(t,typeof e!="symbol"?e+"":e,n),n);class tw extends Error{constructor(e,n={}){super(e,n),mc(this,"statusCode",500),mc(this,"fatal",!1),mc(this,"unhandled",!1),mc(this,"statusMessage"),mc(this,"data"),mc(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const e={message:this.message,statusCode:nw(this.statusCode,500)};return this.statusMessage&&(e.statusMessage=sA(this.statusMessage)),this.data!==void 0&&(e.data=this.data),e}}mc(tw,"__h3_error__",!0);function QF(t){if(typeof t=="string")return new tw(t);if(XF(t))return t;const e=new tw(t.message??t.statusMessage??"",{cause:t.cause||t});if(KF(t,"stack"))try{Object.defineProperty(e,"stack",{get(){return t.stack}})}catch{try{e.stack=t.stack}catch{}}if(t.data&&(e.data=t.data),t.statusCode?e.statusCode=nw(t.statusCode,e.statusCode):t.status&&(e.statusCode=nw(t.status,e.statusCode)),t.statusMessage?e.statusMessage=t.statusMessage:t.statusText&&(e.statusMessage=t.statusText),e.statusMessage){const n=e.statusMessage;sA(e.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 t.fatal!==void 0&&(e.fatal=t.fatal),t.unhandled!==void 0&&(e.unhandled=t.unhandled),e}function XF(t){var e;return((e=t==null?void 0:t.constructor)==null?void 0:e.__h3_error__)===!0}const ZF=/[^\u0009\u0020-\u007E]/g;function sA(t=""){return t.replace(ZF,"")}function nw(t,e=200){return!t||(typeof t=="string"&&(t=Number.parseInt(t,10)),t<100||t>999)?e:t}const aA=Symbol("route"),Xs=()=>{var t;return(t=Rr())==null?void 0:t.$router},lA=()=>mP()?sf(aA,Rr()._route):Rr()._route;const eV=()=>{try{if(Rr()._processingMiddleware)return!0}catch{return!1}return!1},cA=(t,e)=>{t||(t="/");const n=typeof t=="string"?t:"path"in t?rw(t):Xs().resolve(t).href;if(e!=null&&e.open){const{target:l="_blank",windowFeatures:c={}}=e.open,u=Object.entries(c).filter(([f,d])=>d!==void 0).map(([f,d])=>`${f.toLowerCase()}=${d}`).join(", ");return open(n,l,u),Promise.resolve()}const r=Xl(n,{acceptRelative:!0}),i=(e==null?void 0:e.external)||r;if(i){if(!(e!=null&&e.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:l}=new URL(n,window.location.href);if(l&&nF(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const o=eV();if(!i&&o)return t;const s=Xs(),a=Rr();return i?(a._scope.stop(),e!=null&&e.replace?location.replace(n):location.href=n,o?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):e!=null&&e.replace?s.replace(t):s.push(t)};function rw(t){return lf(t.path||"",t.query||{})+(t.hash||"")}const uA="__nuxt_error",e_=()=>L2(Rr().payload,"error"),tV=t=>{const e=Q0(t);try{const n=Rr(),r=e_();n.hooks.callHook("app:error",e),r.value=r.value||e}catch{throw e}return e},nV=async(t={})=>{const e=Rr(),n=e_();e.callHook("app:error:cleared",t),t.redirect&&await Xs().replace(t.redirect),n.value=LF},rV=t=>!!t&&typeof t=="object"&&uA in t,Q0=t=>{const e=QF(t);return Object.defineProperty(e,uA,{value:!0,configurable:!1,writable:!1}),e},iV=-1,oV=-2,sV=-3,aV=-4,lV=-5,cV=-6;function uV(t,e){return fV(JSON.parse(t),e)}function fV(t,e){if(typeof t=="number")return i(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const n=t,r=Array(n.length);function i(o,s=!1){if(o===iV)return;if(o===sV)return NaN;if(o===aV)return 1/0;if(o===lV)return-1/0;if(o===cV)return-0;if(s)throw new Error("Invalid input");if(o in r)return r[o];const a=n[o];if(!a||typeof a!="object")r[o]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],c=e==null?void 0:e[l];if(c)return r[o]=c(i(a[1]));switch(l){case"Date":r[o]=new Date(a[1]);break;case"Set":const u=new Set;r[o]=u;for(let h=1;h<a.length;h+=1)u.add(i(a[h]));break;case"Map":const f=new Map;r[o]=f;for(let h=1;h<a.length;h+=2)f.set(i(a[h]),i(a[h+1]));break;case"RegExp":r[o]=new RegExp(a[1],a[2]);break;case"Object":r[o]=Object(a[1]);break;case"BigInt":r[o]=BigInt(a[1]);break;case"null":const d=Object.create(null);r[o]=d;for(let h=1;h<a.length;h+=2)d[a[h]]=i(a[h+1]);break;default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);r[o]=l;for(let c=0;c<a.length;c+=1){const u=a[c];u!==oV&&(l[c]=i(u))}}else{const l={};r[o]=l;for(const c in a){const u=a[c];l[c]=i(u)}}return r[o]}return i(0)}function dV(t){return Array.isArray(t)?t:[t]}const hV=["title","titleTemplate","script","style","noscript"],xg=["base","meta","link","style","script","noscript"],pV=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],mV=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],fA=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],gV=typeof window<"u";function t_(t){let e=9;for(let n=0;n<t.length;)e=Math.imul(e^t.charCodeAt(n++),9**9);return((e^e>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function zS(t){return t._h||t_(t._d?t._d:`${t.tag}:${t.textContent||t.innerHTML||""}:${Object.entries(t.props).map(([e,n])=>`${e}:${String(n)}`).join(",")}`)}function dA(t,e){const{props:n,tag:r}=t;if(mV.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const i=["id"];r==="meta"&&i.push("name","property","http-equiv");for(const o of i)if(typeof n[o]<"u"){const s=String(n[o]);return`${r}:${o}:${s}`}return!1}function FS(t,e){return t==null?e||null:typeof t=="function"?t(e):t}async function vV(t,e,n){const r={tag:t,props:await hA(typeof e=="object"&&typeof e!="function"&&!(e instanceof Promise)?{...e}:{[["script","noscript","style"].includes(t)?"innerHTML":"textContent"]:e},["templateParams","titleTemplate"].includes(t))};return fA.forEach(i=>{const o=typeof r.props[i]<"u"?r.props[i]:n[i];typeof o<"u"&&((!["innerHTML","textContent","children"].includes(i)||hV.includes(r.tag))&&(r[i==="children"?"innerHTML":i]=o),delete r.props[i])}),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(i=>({...r,props:{...r.props,content:i}})):r}function yV(t,e){var r;const n=t==="class"?" ":";";return typeof e=="object"&&!Array.isArray(e)&&(e=Object.entries(e).filter(([,i])=>i).map(([i,o])=>t==="style"?`${i}:${o}`:i)),(r=String(Array.isArray(e)?e.join(n):e))==null?void 0:r.split(n).filter(i=>i.trim()).filter(Boolean).join(n)}async function hA(t,e){for(const n of Object.keys(t)){if(["class","style"].includes(n)){t[n]=yV(n,t[n]);continue}if(t[n]instanceof Promise&&(t[n]=await t[n]),!e&&!fA.includes(n)){const r=String(t[n]),i=n.startsWith("data-");r==="true"||r===""?t[n]=i?"true":!0:t[n]||(i&&r==="false"?t[n]="false":delete t[n])}}return t}const bV=10;async function wV(t){const e=[];return Object.entries(t.resolvedInput).filter(([n,r])=>typeof r<"u"&&pV.includes(n)).forEach(([n,r])=>{const i=dV(r);e.push(...i.map(o=>vV(n,o,t)).flat())}),(await Promise.all(e)).flat().filter(Boolean).map((n,r)=>(n._e=t._i,t.mode&&(n._m=t.mode),n._p=(t._i<<bV)+r,n))}const VS={base:-10,title:10},HS={critical:-80,high:-10,low:20};function uv(t){let e=100;const n=t.tagPriority;return typeof n=="number"?n:(t.tag==="meta"?(t.props["http-equiv"]==="content-security-policy"&&(e=-30),t.props.charset&&(e=-20),t.props.name==="viewport"&&(e=-15)):t.tag==="link"&&t.props.rel==="preconnect"?e=20:t.tag in VS&&(e=VS[t.tag]),typeof n=="string"&&n in HS?e+HS[n]:e)}const xV=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],qS=["onload","onerror","onabort","onprogress","onloadstart"],rl="%separator";function _g(t,e,n){if(typeof t!="string"||!t.includes("%"))return t;function r(s){let a;return["s","pageTitle"].includes(s)?a=e.pageTitle:s.includes(".")?a=s.split(".").reduce((l,c)=>l&&l[c]||void 0,e):a=e[s],typeof a<"u"?(a||"").replace(/"/g,'\\"'):!1}let i=t;try{i=decodeURI(t)}catch{}return(i.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(s=>{const a=r(s.slice(1));typeof a=="string"&&(t=t.replace(new RegExp(`\\${s}(\\W|$)`,"g"),(l,c)=>`${a}${c}`).trim())}),t.includes(rl)&&(t.endsWith(rl)&&(t=t.slice(0,-rl.length).trim()),t.startsWith(rl)&&(t=t.slice(rl.length).trim()),t=t.replace(new RegExp(`\\${rl}\\s*\\${rl}`,"g"),rl),t=_g(t,{separator:n},n)),t}async function pA(t,e={}){var u;const n=e.document||t.resolvedOptions.document;if(!n||!t.dirty)return;const r={shouldRender:!0,tags:[]};if(await t.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const i=(await t.resolveTags()).map(f=>({tag:f,id:xg.includes(f.tag)?zS(f):f.tag,shouldRender:!0}));let o=t._dom;if(!o){o={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const d=(u=n[f])==null?void 0:u.children,h=[];for(const p of[...d].filter(m=>xg.includes(m.tagName.toLowerCase()))){const m={tag:p.tagName.toLowerCase(),props:await hA(p.getAttributeNames().reduce((b,y)=>({...b,[y]:p.getAttribute(y)}),{})),innerHTML:p.innerHTML};let v=1,g=dA(m);for(;g&&h.find(b=>b._d===g);)g=`${g}:${v++}`;m._d=g||void 0,h.push(m),o.elMap[p.getAttribute("data-hid")||zS(m)]=p}}}o.pendingSideEffects={...o.sideEffects||{}},o.sideEffects={};function s(f,d,h){const p=`${f}:${d}`;o.sideEffects[p]=h,delete o.pendingSideEffects[p]}function a({id:f,$el:d,tag:h}){const p=h.tag.endsWith("Attrs");o.elMap[f]=d,p||(["textContent","innerHTML"].forEach(m=>{h[m]&&h[m]!==d[m]&&(d[m]=h[m])}),s(f,"el",()=>{var m;(m=o.elMap[f])==null||m.remove(),delete o.elMap[f]}));for(const[m,v]of Object.entries(h._eventHandlers||{}))d.getAttribute(`data-${m}`)!==""&&((h.tag==="bodyAttrs"?n.defaultView:d).addEventListener(m.replace("on",""),v.bind(d)),d.setAttribute(`data-${m}`,""));Object.entries(h.props).forEach(([m,v])=>{const g=`attr:${m}`;if(m==="class")for(const b of(v||"").split(" ").filter(Boolean))p&&s(f,`${g}:${b}`,()=>d.classList.remove(b)),!d.classList.contains(b)&&d.classList.add(b);else if(m==="style")for(const b of(v||"").split(";").filter(Boolean)){const[y,...x]=b.split(":").map(w=>w.trim());s(f,`${g}:${y}`,()=>{d.style.removeProperty(y)}),d.style.setProperty(y,x.join(":"))}else d.getAttribute(m)!==v&&d.setAttribute(m,v===!0?"":String(v)),p&&s(f,g,()=>d.removeAttribute(m))})}const l=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of i){const{tag:d,shouldRender:h,id:p}=f;if(h){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||o.elMap[p],f.$el?a(f):xg.includes(d.tag)&&l.push(f)}}for(const f of l){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),a(f),c[d]=c[d]||n.createDocumentFragment(),c[d].appendChild(f.$el)}for(const f of i)await t.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(o.pendingSideEffects).forEach(f=>f()),t._dom=o,t.dirty=!1,await t.hooks.callHook("dom:rendered",{renders:i})}async function _V(t,e={}){const n=e.delayFn||(r=>setTimeout(r,10));return t._domUpdatePromise=t._domUpdatePromise||new Promise(r=>n(async()=>{await pA(t,e),delete t._domUpdatePromise,r()}))}function jV(t){return e=>{var r,i;const n=((i=(r=e.resolvedOptions.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:i.innerHTML)||!1;return n&&e.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(o){_V(o,t)}}}}}const $V=["templateParams","htmlAttrs","bodyAttrs"],SV={hooks:{"tag:normalise":function({tag:t}){["hid","vmid","key"].forEach(r=>{t.props[r]&&(t.key=t.props[r],delete t.props[r])});const n=dA(t)||(t.key?`${t.tag}:${t.key}`:!1);n&&(t._d=n)},"tags:resolve":function(t){const e={};t.tags.forEach(r=>{const i=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,o=e[i];if(o){let a=r==null?void 0:r.tagDuplicateStrategy;if(!a&&$V.includes(r.tag)&&(a="merge"),a==="merge"){const l=o.props;["class","style"].forEach(c=>{l[c]&&(r.props[c]?(c==="style"&&!l[c].endsWith(";")&&(l[c]+=";"),r.props[c]=`${l[c]} ${r.props[c]}`):r.props[c]=l[c])}),e[i].props={...l,...r.props};return}else if(r._e===o._e){o._duped=o._duped||[],r._d=`${o._d}:${o._duped.length+1}`,o._duped.push(r);return}else if(uv(r)>uv(o))return}const s=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(xg.includes(r.tag)&&s===0){delete e[i];return}e[i]=r});const n=[];Object.values(e).forEach(r=>{const i=r._duped;delete r._duped,n.push(r),i&&n.push(...i)}),t.tags=n,t.tags=t.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},kV={mode:"server",hooks:{"tags:resolve":function(t){const e={};t.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{e[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(e).length&&t.tags.push({tag:"script",innerHTML:JSON.stringify(e),props:{id:"unhead:payload",type:"application/json"}})}}},CV=["script","link","bodyAttrs"],EV=t=>({hooks:{"tags:resolve":function(e){for(const n of e.tags.filter(r=>CV.includes(r.tag)))Object.entries(n.props).forEach(([r,i])=>{r.startsWith("on")&&typeof i=="function"&&(t.ssr&&qS.includes(r)?n.props[r]=`this.dataset.${r}fired = true`:delete n.props[r],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[r]=i)}),t.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||t_(n.props.src||n.props.href))},"dom:renderTag":function({$el:e,tag:n}){var r,i;for(const o of Object.keys((e==null?void 0:e.dataset)||{}).filter(s=>qS.some(a=>`${a}fired`===s))){const s=o.replace("fired","");(i=(r=n._eventHandlers)==null?void 0:r[s])==null||i.call(e,new Event(s.replace("on","")))}}}}),OV=["link","style","script","noscript"],TV={hooks:{"tag:normalise":({tag:t})=>{t.key&&OV.includes(t.tag)&&(t.props["data-hid"]=t._h=t_(t.key))}}},PV={hooks:{"tags:resolve":t=>{const e=n=>{var r;return(r=t.tags.find(i=>i._d===n))==null?void 0:r._p};for(const{prefix:n,offset:r}of xV)for(const i of t.tags.filter(o=>typeof o.tagPriority=="string"&&o.tagPriority.startsWith(n))){const o=e(i.tagPriority.replace(n,""));typeof o<"u"&&(i._p=o+r)}t.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>uv(n)-uv(r))}}},AV={meta:"content",link:"href",htmlAttrs:"lang"},RV=t=>({hooks:{"tags:resolve":e=>{var a;const{tags:n}=e,r=(a=n.find(l=>l.tag==="title"))==null?void 0:a.textContent,i=n.findIndex(l=>l.tag==="templateParams"),o=i!==-1?n[i].props:{},s=o.separator||"|";delete o.separator,o.pageTitle=_g(o.pageTitle||r||"",o,s);for(const l of n.filter(c=>c.processTemplateParams!==!1)){const c=AV[l.tag];c&&typeof l.props[c]=="string"?l.props[c]=_g(l.props[c],o,s):(l.processTemplateParams===!0||["titleTemplate","title"].includes(l.tag))&&["innerHTML","textContent"].forEach(u=>{typeof l[u]=="string"&&(l[u]=_g(l[u],o,s))})}t._templateParams=o,t._separator=s,e.tags=n.filter(l=>l.tag!=="templateParams")}}}),MV={hooks:{"tags:resolve":t=>{const{tags:e}=t;let n=e.findIndex(i=>i.tag==="titleTemplate");const r=e.findIndex(i=>i.tag==="title");if(r!==-1&&n!==-1){const i=FS(e[n].textContent,e[r].textContent);i!==null?e[r].textContent=i||e[r].textContent:delete e[r]}else if(n!==-1){const i=FS(e[n].textContent);i!==null&&(e[n].textContent=i,e[n].tag="title",n=-1)}n!==-1&&delete e[n],t.tags=e.filter(Boolean)}}},NV={hooks:{"tags:afterResolve":function(t){for(const e of t.tags)typeof e.innerHTML=="string"&&(e.innerHTML&&["application/ld+json","application/json"].includes(e.props.type)?e.innerHTML=e.innerHTML.replace(/</g,"\\u003C"):e.innerHTML=e.innerHTML.replace(new RegExp(`</${e.tag}`,"g"),`<\\/${e.tag}`))}}};let mA;function IV(t={}){const e=LV(t);return e.use(jV()),mA=e}function US(t,e){return!t||t==="server"&&e||t==="client"&&!e}function LV(t={}){const e=eA();e.addHooks(t.hooks||{}),t.document=t.document||(gV?document:void 0);const n=!t.document,r=()=>{a.dirty=!0,e.callHook("entries:updated",a)};let i=0,o=[];const s=[],a={plugins:s,dirty:!1,resolvedOptions:t,hooks:e,headEntries(){return o},use(l){const c=typeof l=="function"?l(a):l;(!c.key||!s.some(u=>u.key===c.key))&&(s.push(c),US(c.mode,n)&&e.addHooks(c.hooks||{}))},push(l,c){c==null||delete c.head;const u={_i:i++,input:l,...c};return US(u.mode,n)&&(o.push(u),r()),{dispose(){o=o.filter(f=>f._i!==u._i),e.callHook("entries:updated",a),r()},patch(f){o=o.map(d=>(d._i===u._i&&(d.input=u.input=f),d)),r()}}},async resolveTags(){const l={tags:[],entries:[...o]};await e.callHook("entries:resolve",l);for(const c of l.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const f of await wV(c)){const d={tag:f,entry:c,resolvedOptions:a.resolvedOptions};await e.callHook("tag:normalise",d),l.tags.push(d.tag)}}return await e.callHook("tags:beforeResolve",l),await e.callHook("tags:resolve",l),await e.callHook("tags:afterResolve",l),l.tags},ssr:n};return[SV,kV,EV,TV,PV,RV,MV,NV,...(t==null?void 0:t.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function DV(){return mA}const BV=DP.startsWith("3");function zV(t){return typeof t=="function"?t():Ae(t)}function fv(t,e=""){if(t instanceof Promise)return t;const n=zV(t);return!t||!n?n:Array.isArray(n)?n.map(r=>fv(r,e)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,i])=>r==="titleTemplate"||r.startsWith("on")?[r,Ae(i)]:[r,fv(i,r)])):n}const FV={hooks:{"entries:resolve":function(t){for(const e of t.entries)e.resolvedInput=fv(e.input)}}},gA="usehead";function VV(t){return{install(n){BV&&(n.config.globalProperties.$unhead=t,n.config.globalProperties.$head=t,n.provide(gA,t))}}.install}function HV(t={}){t.domDelayFn=t.domDelayFn||(n=>Yl(()=>setTimeout(()=>n(),0)));const e=IV(t);return e.use(FV),e.install=VV(e),e}const iw=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ow="__unhead_injection_handler__";function qV(t){iw[ow]=t}function UV(){if(ow in iw)return iw[ow]();const t=sf(gA);return t||DV()}function sw(t,e={}){const n=e.head||UV();if(n)return n.ssr?n.push(t,e):WV(n,t,e)}function WV(t,e,n={}){const r=Ft(!1),i=Ft({});K0(()=>{i.value=r.value?{}:fv(e)});const o=t.push(i.value,n);return Ar(i,a=>{o.patch(a)}),Ql()&&(V2(()=>{o.dispose()}),TP(()=>{r.value=!0}),OP(()=>{r.value=!1})),o}let jg,$g;function GV(){return jg=$fetch(Z2(`builds/meta/${If().app.buildId}.json`),{responseType:"json"}),jg.then(t=>{$g=WF(t.matcher)}).catch(t=>{console.error("[nuxt] Error fetching app manifest.",t)}),jg}function X0(){return jg||GV()}async function n_(t){if(await X0(),!$g)return console.error("[nuxt] Error creating app manifest matcher.",$g),{};try{return cv({},...$g.matchAll(t).reverse())}catch(e){return console.error("[nuxt] Error matching route rules.",e),{}}}async function WS(t,e={}){const n=await JV(t,e),r=Rr(),i=r._payloadCache=r._payloadCache||{};return n in i||(i[n]=yA(t).then(o=>o?vA(n).then(s=>s||(delete i[n],null)):(i[n]=null,null))),i[n]}const KV="_payload.json";async function JV(t,e={}){const n=new URL(t,"http://localhost");if(n.host!=="localhost"||Xl(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+t);const r=If(),i=e.hash||(e.fresh?Date.now():r.app.buildId),o=r.app.cdnURL,s=o&&await yA(t)?o:r.app.baseURL;return fu(s,n.pathname,KV+(i?`?${i}`:""))}async function vA(t){const e=fetch(t).then(n=>n.text().then(bA));try{return await e}catch(n){console.warn("[nuxt] Cannot load payload ",t,n)}return null}async function yA(t=lA().path){if(t=Y0(t),(await X0()).prerendered.includes(t))return!0;const n=await n_(t);return!!n.prerender&&!n.redirect}let um=null;async function YV(){if(um)return um;const t=document.getElementById("__NUXT_DATA__");if(!t)return{};const e=await bA(t.textContent||""),n=t.dataset.src?await vA(t.dataset.src):void 0;return um={...e,...n,...window.__NUXT__},um}async function bA(t){return await uV(t,Rr()._payloadRevivers)}function QV(t,e){Rr()._payloadRevivers[t]=e}const aw={NuxtError:t=>Q0(t),EmptyShallowRef:t=>Qg(t==="_"?void 0:t==="0n"?BigInt(0):iv(t)),EmptyRef:t=>Ft(t==="_"?void 0:t==="0n"?BigInt(0):iv(t)),ShallowRef:t=>Qg(t),ShallowReactive:t=>Fu(t),Ref:t=>Ft(t),Reactive:t=>Bc(t)};aw.Island=({key:t,params:e,result:n})=>{const r=Rr();return r.isHydrating||(r.payload.data[t]=r.payload.data[t]||$fetch(`/__nuxt_island/${t}.json`,{responseType:"json",...e?{params:e}:{}}).then(i=>(r.payload.data[t]=i,i))),{html:"",state:{},head:{link:[],style:[]},...n}};const XV=ua({name:"nuxt:revive-payload:client",order:-30,async setup(t){let e,n;for(const r in aw)QV(r,aw[r]);Object.assign(t.payload,([e,n]=tA(()=>t.runWithContext(YV)),e=await e,n(),e)),window.__NUXT__=t.payload}}),ZV=[],eH=ua({name:"nuxt:head",enforce:"pre",setup(t){const e=HV({plugins:ZV});qV(()=>Rr().vueApp._context.provides.usehead),t.vueApp.use(e);{let n=!0;const r=async()=>{n=!1,await pA(e)};e.hooks.hook("dom:beforeRender",i=>{i.shouldRender=!n}),t.hooks.hook("page:start",()=>{n=!0}),t.hooks.hook("page:finish",()=>{t.isHydrating||r()}),t.hooks.hook("app:error",r),t.hooks.hook("app:suspense:resolve",r)}}}),tH=async t=>{let e,n;const r=([e,n]=tA(()=>n_(t.path)),e=await e,n(),e);if(r.redirect)return Xl(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},nH=[tH];function wy(t){typeof t=="object"&&(t=YP({pathname:t.path||"",search:HP(t.query||{}),hash:t.hash||""}));const e=new URL(t.toString(),window.location.href);return{path:e.pathname,fullPath:t,query:Q2(e.search),hash:e.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:t}}const rH=ua({name:"nuxt:router",enforce:"pre",setup(t){const e=iF(window.location.pathname,If().app.baseURL)+window.location.search+window.location.hash,n=[],r={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},i=(f,d)=>(r[f].push(d),()=>r[f].splice(r[f].indexOf(d),1)),o=If().app.baseURL,s=Bc(wy(e));async function a(f,d){try{const h=wy(f);for(const p of r["navigate:before"]){const m=await p(h,s);if(m===!1||m instanceof Error)return;if(typeof m=="string"&&m.length)return a(m,!0)}for(const p of r["resolve:before"])await p(h,s);Object.assign(s,h),window.history[d?"replaceState":"pushState"]({},"",fu(o,h.fullPath)),t.isHydrating||await t.runWithContext(nV);for(const p of r["navigate:after"])await p(h,s)}catch(h){for(const p of r.error)await p(h)}}const c={currentRoute:en(()=>s),isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:f=>a(f,!1),replace:f=>a(f,!0),back:()=>window.history.go(-1),go:f=>window.history.go(f),forward:()=>window.history.go(1),beforeResolve:f=>i("resolve:before",f),beforeEach:f=>i("navigate:before",f),afterEach:f=>i("navigate:after",f),onError:f=>i("error",f),resolve:wy,addRoute:(f,d)=>{n.push(d)},getRoutes:()=>n,hasRoute:f=>n.some(d=>d.name===f),removeRoute:f=>{const d=n.findIndex(h=>h.name===f);d!==-1&&n.splice(d,1)}};t.vueApp.component("RouterLink",zr({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(f,{slots:d})=>{const h=()=>a(f.to,f.replace);return()=>{var m;const p=c.resolve(f.to);return f.custom?(m=d.default)==null?void 0:m.call(d,{href:f.to,navigate:h,route:p}):Nf("a",{href:f.to,onClick:v=>(v.preventDefault(),h())},d)}}})),window.addEventListener("popstate",f=>{const d=f.target.location;c.replace(d.href.replace(d.origin,""))}),t._route=s,t._middleware=t._middleware||{global:[],named:{}};const u=t.payload.state._layout;return t.hooks.hookOnce("app:created",async()=>{c.beforeEach(async(f,d)=>{f.meta=Bc(f.meta||{}),t.isHydrating&&u&&!Pf(f.meta.layout)&&(f.meta.layout=u),t._processingMiddleware=!0;{const h=new Set([...nH,...t._middleware.global]);{const p=await t.runWithContext(()=>n_(f.path));if(p.appMiddleware)for(const m in p.appMiddleware){const v=t._middleware.named[m];if(!v)return;p.appMiddleware[m]?h.add(v):h.delete(v)}}for(const p of h){const m=await t.runWithContext(()=>p(f,d));if(m!==!0&&(m||m===!1))return m}}}),c.afterEach(()=>{delete t._processingMiddleware}),await c.replace(e),lF(s.fullPath,e)||await t.runWithContext(()=>cA(s.fullPath))}),{provide:{route:s,router:c}}}}),lw=globalThis.requestIdleCallback||(t=>{const e=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-e))};return setTimeout(()=>{t(n)},1)}),iH=globalThis.cancelIdleCallback||(t=>{clearTimeout(t)}),Z0=t=>{const e=Rr();e.isHydrating?e.hooks.hookOnce("app:suspense:resolve",()=>{lw(()=>t())}):lw(()=>t())},oH=ua({name:"nuxt:payload",setup(t){Xs().beforeResolve(async(e,n)=>{if(e.path===n.path)return;const r=await WS(e.path);r&&Object.assign(t.static.data,r.data)}),Z0(()=>{var e;t.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await WS(n)}),((e=navigator.connection)==null?void 0:e.effectiveType)!=="slow-2g"&&setTimeout(X0,1e3)})}}),sH=ua(()=>{const t=Xs();Z0(()=>{t.beforeResolve(async()=>{await new Promise(e=>{setTimeout(e,100),requestAnimationFrame(()=>{setTimeout(e,0)})})})})}),aH=ua(t=>{let e;async function n(){const r=await X0();e&&clearTimeout(e),e=setTimeout(n,LS);try{const i=await $fetch(Z2("builds/latest.json")+`?${Date.now()}`);i.id!==r.id&&t.hooks.callHook("app:manifest:update",i)}catch{}}Z0(()=>{e=setTimeout(n,LS)})});function lH(t={}){const e=t.path||window.location.pathname;let n={};try{n=iv(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(t.force||(n==null?void 0:n.path)!==e||(n==null?void 0:n.expires)<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:e,expires:Date.now()+(t.ttl??1e4)}))}catch{}if(t.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:Rr().payload.state}))}catch{}window.location.pathname!==e?window.location.href=e:window.location.reload()}}const cH=ua({name:"nuxt:chunk-reload",setup(t){const e=Xs(),n=If(),r=new Set;e.beforeEach(()=>{r.clear()}),t.hook("app:chunkError",({error:o})=>{r.add(o)});function i(o){const a="href"in o&&o.href[0]==="#"?n.app.baseURL+o.href:fu(n.app.baseURL,o.fullPath);lH({path:a,persistState:!0})}t.hook("app:manifest:update",()=>{e.beforeResolve(i)}),e.onError((o,s)=>{r.has(o)&&i(s)})}}),uH=ua({name:"nuxt:global-components"}),fH=ua(()=>{}),dH=["top","right","bottom","left"],GS=["start","end"],KS=dH.reduce((t,e)=>t.concat(e,e+"-"+GS[0],e+"-"+GS[1]),[]),Sc=Math.min,gc=Math.max,hH={left:"right",right:"left",bottom:"top",top:"bottom"},pH={start:"end",end:"start"};function cw(t,e,n){return gc(t,Sc(e,n))}function du(t,e){return typeof t=="function"?t(e):t}function Zs(t){return t.split("-")[0]}function os(t){return t.split("-")[1]}function wA(t){return t==="x"?"y":"x"}function r_(t){return t==="y"?"height":"width"}function Fc(t){return["top","bottom"].includes(Zs(t))?"y":"x"}function i_(t){return wA(Fc(t))}function xA(t,e,n){n===void 0&&(n=!1);const r=os(t),i=i_(t),o=r_(i);let s=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[o]>e.floating[o]&&(s=hv(s)),[s,hv(s)]}function mH(t){const e=hv(t);return[dv(t),e,dv(e)]}function dv(t){return t.replace(/start|end/g,e=>pH[e])}function gH(t,e,n){const r=["left","right"],i=["right","left"],o=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:r:e?r:i;case"left":case"right":return e?o:s;default:return[]}}function vH(t,e,n,r){const i=os(t);let o=gH(Zs(t),n==="start",r);return i&&(o=o.map(s=>s+"-"+i),e&&(o=o.concat(o.map(dv)))),o}function hv(t){return t.replace(/left|right|bottom|top/g,e=>hH[e])}function yH(t){return{top:0,right:0,bottom:0,left:0,...t}}function _A(t){return typeof t!="number"?yH(t):{top:t,right:t,bottom:t,left:t}}function nh(t){const{x:e,y:n,width:r,height:i}=t;return{width:r,height:i,top:n,left:e,right:e+r,bottom:n+i,x:e,y:n}}function JS(t,e,n){let{reference:r,floating:i}=t;const o=Fc(e),s=i_(e),a=r_(s),l=Zs(e),c=o==="y",u=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,d=r[a]/2-i[a]/2;let h;switch(l){case"top":h={x:u,y:r.y-i.height};break;case"bottom":h={x:u,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-i.width,y:f};break;default:h={x:r.x,y:r.y}}switch(os(e)){case"start":h[s]-=d*(n&&c?-1:1);break;case"end":h[s]+=d*(n&&c?-1:1);break}return h}const bH=async(t,e,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:s}=n,a=o.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:u,y:f}=JS(c,r,l),d=r,h={},p=0;for(let m=0;m<a.length;m++){const{name:v,fn:g}=a[m],{x:b,y,data:x,reset:w}=await g({x:u,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:c,platform:s,elements:{reference:t,floating:e}});u=b??u,f=y??f,h={...h,[v]:{...h[v],...x}},w&&p<=50&&(p++,typeof w=="object"&&(w.placement&&(d=w.placement),w.rects&&(c=w.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):w.rects),{x:u,y:f}=JS(c,d,l)),m=-1)}return{x:u,y:f,placement:d,strategy:i,middlewareData:h}};async function e1(t,e){var n;e===void 0&&(e={});const{x:r,y:i,platform:o,rects:s,elements:a,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=du(e,t),p=_A(h),v=a[d?f==="floating"?"reference":"floating":f],g=nh(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(v)))==null||n?v:v.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),b=f==="floating"?{x:r,y:i,width:s.floating.width,height:s.floating.height}:s.reference,y=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),x=await(o.isElement==null?void 0:o.isElement(y))?await(o.getScale==null?void 0:o.getScale(y))||{x:1,y:1}:{x:1,y:1},w=nh(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:b,offsetParent:y,strategy:l}):b);return{top:(g.top-w.top+p.top)/x.y,bottom:(w.bottom-g.bottom+p.bottom)/x.y,left:(g.left-w.left+p.left)/x.x,right:(w.right-g.right+p.right)/x.x}}const wH=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:i,rects:o,platform:s,elements:a,middlewareData:l}=e,{element:c,padding:u=0}=du(t,e)||{};if(c==null)return{};const f=_A(u),d={x:n,y:r},h=i_(i),p=r_(h),m=await s.getDimensions(c),v=h==="y",g=v?"top":"left",b=v?"bottom":"right",y=v?"clientHeight":"clientWidth",x=o.reference[p]+o.reference[h]-d[h]-o.floating[p],w=d[h]-o.reference[h],_=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let k=_?_[y]:0;(!k||!await(s.isElement==null?void 0:s.isElement(_)))&&(k=a.floating[y]||o.floating[p]);const D=x/2-w/2,L=k/2-m[p]/2-1,C=Sc(f[g],L),V=Sc(f[b],L),M=C,q=k-m[p]-V,H=k/2-m[p]/2+D,J=cw(M,H,q),F=!l.arrow&&os(i)!=null&&H!==J&&o.reference[p]/2-(H<M?C:V)-m[p]/2<0,W=F?H<M?H-M:H-q:0;return{[h]:d[h]+W,data:{[h]:J,centerOffset:H-J-W,...F&&{alignmentOffset:W}},reset:F}}});function xH(t,e,n){return(t?[...n.filter(i=>os(i)===t),...n.filter(i=>os(i)!==t)]:n.filter(i=>Zs(i)===i)).filter(i=>t?os(i)===t||(e?dv(i)!==i:!1):!0)}const _H=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,r,i;const{rects:o,middlewareData:s,placement:a,platform:l,elements:c}=e,{crossAxis:u=!1,alignment:f,allowedPlacements:d=KS,autoAlignment:h=!0,...p}=du(t,e),m=f!==void 0||d===KS?xH(f||null,h,d):d,v=await e1(e,p),g=((n=s.autoPlacement)==null?void 0:n.index)||0,b=m[g];if(b==null)return{};const y=xA(b,o,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==b)return{reset:{placement:m[0]}};const x=[v[Zs(b)],v[y[0]],v[y[1]]],w=[...((r=s.autoPlacement)==null?void 0:r.overflows)||[],{placement:b,overflows:x}],_=m[g+1];if(_)return{data:{index:g+1,overflows:w},reset:{placement:_}};const k=w.map(C=>{const V=os(C.placement);return[C.placement,V&&u?C.overflows.slice(0,2).reduce((M,q)=>M+q,0):C.overflows[0],C.overflows]}).sort((C,V)=>C[1]-V[1]),L=((i=k.filter(C=>C[2].slice(0,os(C[0])?2:3).every(V=>V<=0))[0])==null?void 0:i[0])||k[0][0];return L!==a?{data:{index:g+1,overflows:w},reset:{placement:L}}:{}}}},jH=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:i,middlewareData:o,rects:s,initialPlacement:a,platform:l,elements:c}=e,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...v}=du(t,e);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const g=Zs(i),b=Fc(a),y=Zs(a)===a,x=await(l.isRTL==null?void 0:l.isRTL(c.floating)),w=d||(y||!m?[hv(a)]:mH(a)),_=p!=="none";!d&&_&&w.push(...vH(a,m,p,x));const k=[a,...w],D=await e1(e,v),L=[];let C=((r=o.flip)==null?void 0:r.overflows)||[];if(u&&L.push(D[g]),f){const H=xA(i,s,x);L.push(D[H[0]],D[H[1]])}if(C=[...C,{placement:i,overflows:L}],!L.every(H=>H<=0)){var V,M;const H=(((V=o.flip)==null?void 0:V.index)||0)+1,J=k[H];if(J)return{data:{index:H,overflows:C},reset:{placement:J}};let F=(M=C.filter(W=>W.overflows[0]<=0).sort((W,E)=>W.overflows[1]-E.overflows[1])[0])==null?void 0:M.placement;if(!F)switch(h){case"bestFit":{var q;const W=(q=C.filter(E=>{if(_){const z=Fc(E.placement);return z===b||z==="y"}return!0}).map(E=>[E.placement,E.overflows.filter(z=>z>0).reduce((z,T)=>z+T,0)]).sort((E,z)=>E[1]-z[1])[0])==null?void 0:q[0];W&&(F=W);break}case"initialPlacement":F=a;break}if(i!==F)return{reset:{placement:F}}}return{}}}};async function $H(t,e){const{placement:n,platform:r,elements:i}=t,o=await(r.isRTL==null?void 0:r.isRTL(i.floating)),s=Zs(n),a=os(n),l=Fc(n)==="y",c=["left","top"].includes(s)?-1:1,u=o&&l?-1:1,f=du(e,t);let{mainAxis:d,crossAxis:h,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return a&&typeof p=="number"&&(h=a==="end"?p*-1:p),l?{x:h*u,y:d*c}:{x:d*c,y:h*u}}const SH=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:i,y:o,placement:s,middlewareData:a}=e,l=await $H(e,t);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:s}}}}},kH=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:i}=e,{mainAxis:o=!0,crossAxis:s=!1,limiter:a={fn:v=>{let{x:g,y:b}=v;return{x:g,y:b}}},...l}=du(t,e),c={x:n,y:r},u=await e1(e,l),f=Fc(Zs(i)),d=wA(f);let h=c[d],p=c[f];if(o){const v=d==="y"?"top":"left",g=d==="y"?"bottom":"right",b=h+u[v],y=h-u[g];h=cw(b,h,y)}if(s){const v=f==="y"?"top":"left",g=f==="y"?"bottom":"right",b=p+u[v],y=p-u[g];p=cw(b,p,y)}const m=a.fn({...e,[d]:h,[f]:p});return{...m,data:{x:m.x-n,y:m.y-r}}}}},CH=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){const{placement:n,rects:r,platform:i,elements:o}=e,{apply:s=()=>{},...a}=du(t,e),l=await e1(e,a),c=Zs(n),u=os(n),f=Fc(n)==="y",{width:d,height:h}=r.floating;let p,m;c==="top"||c==="bottom"?(p=c,m=u===(await(i.isRTL==null?void 0:i.isRTL(o.floating))?"start":"end")?"left":"right"):(m=c,p=u==="end"?"top":"bottom");const v=h-l.top-l.bottom,g=d-l.left-l.right,b=Sc(h-l[p],v),y=Sc(d-l[m],g),x=!e.middlewareData.shift;let w=b,_=y;if(f?_=u||x?Sc(y,g):g:w=u||x?Sc(b,v):v,x&&!u){const D=gc(l.left,0),L=gc(l.right,0),C=gc(l.top,0),V=gc(l.bottom,0);f?_=d-2*(D!==0||L!==0?D+L:gc(l.left,l.right)):w=h-2*(C!==0||V!==0?C+V:gc(l.top,l.bottom))}await s({...e,availableWidth:_,availableHeight:w});const k=await i.getDimensions(o.floating);return d!==k.width||h!==k.height?{reset:{rects:!0}}:{}}}};function Co(t){var e;return((e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Hs(t){return Co(t).getComputedStyle(t)}const YS=Math.min,rh=Math.max,pv=Math.round;function jA(t){const e=Hs(t);let n=parseFloat(e.width),r=parseFloat(e.height);const i=t.offsetWidth,o=t.offsetHeight,s=pv(n)!==i||pv(r)!==o;return s&&(n=i,r=o),{width:n,height:r,fallback:s}}function Dl(t){return SA(t)?(t.nodeName||"").toLowerCase():""}let fm;function $A(){if(fm)return fm;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?(fm=t.brands.map(e=>e.brand+"/"+e.version).join(" "),fm):navigator.userAgent}function qs(t){return t instanceof Co(t).HTMLElement}function El(t){return t instanceof Co(t).Element}function SA(t){return t instanceof Co(t).Node}function QS(t){return typeof ShadowRoot>"u"?!1:t instanceof Co(t).ShadowRoot||t instanceof ShadowRoot}function t1(t){const{overflow:e,overflowX:n,overflowY:r,display:i}=Hs(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!["inline","contents"].includes(i)}function EH(t){return["table","td","th"].includes(Dl(t))}function uw(t){const e=/firefox/i.test($A()),n=Hs(t),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!r&&r!=="none"||e&&n.willChange==="filter"||e&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(i=>n.willChange.includes(i))||["paint","layout","strict","content"].some(i=>{const o=n.contain;return o!=null&&o.includes(i)})}function kA(){return!/^((?!chrome|android).)*safari/i.test($A())}function o_(t){return["html","body","#document"].includes(Dl(t))}function CA(t){return El(t)?t:t.contextElement}const EA={x:1,y:1};function cf(t){const e=CA(t);if(!qs(e))return EA;const n=e.getBoundingClientRect(),{width:r,height:i,fallback:o}=jA(e);let s=(o?pv(n.width):n.width)/r,a=(o?pv(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}function Ah(t,e,n,r){var i,o;e===void 0&&(e=!1),n===void 0&&(n=!1);const s=t.getBoundingClientRect(),a=CA(t);let l=EA;e&&(r?El(r)&&(l=cf(r)):l=cf(t));const c=a?Co(a):window,u=!kA()&&n;let f=(s.left+(u&&((i=c.visualViewport)==null?void 0:i.offsetLeft)||0))/l.x,d=(s.top+(u&&((o=c.visualViewport)==null?void 0:o.offsetTop)||0))/l.y,h=s.width/l.x,p=s.height/l.y;if(a){const m=Co(a),v=r&&El(r)?Co(r):r;let g=m.frameElement;for(;g&&r&&v!==m;){const b=cf(g),y=g.getBoundingClientRect(),x=getComputedStyle(g);y.x+=(g.clientLeft+parseFloat(x.paddingLeft))*b.x,y.y+=(g.clientTop+parseFloat(x.paddingTop))*b.y,f*=b.x,d*=b.y,h*=b.x,p*=b.y,f+=y.x,d+=y.y,g=Co(g).frameElement}}return{width:h,height:p,top:d,right:f+h,bottom:d+p,left:f,x:f,y:d}}function Ol(t){return((SA(t)?t.ownerDocument:t.document)||window.document).documentElement}function n1(t){return El(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function OA(t){return Ah(Ol(t)).left+n1(t).scrollLeft}function Rh(t){if(Dl(t)==="html")return t;const e=t.assignedSlot||t.parentNode||QS(t)&&t.host||Ol(t);return QS(e)?e.host:e}function TA(t){const e=Rh(t);return o_(e)?e.ownerDocument.body:qs(e)&&t1(e)?e:TA(e)}function mv(t,e){var n;e===void 0&&(e=[]);const r=TA(t),i=r===((n=t.ownerDocument)==null?void 0:n.body),o=Co(r);return i?e.concat(o,o.visualViewport||[],t1(r)?r:[]):e.concat(r,mv(r))}function XS(t,e,n){return e==="viewport"?nh(function(r,i){const o=Co(r),s=Ol(r),a=o.visualViewport;let l=s.clientWidth,c=s.clientHeight,u=0,f=0;if(a){l=a.width,c=a.height;const d=kA();(d||!d&&i==="fixed")&&(u=a.offsetLeft,f=a.offsetTop)}return{width:l,height:c,x:u,y:f}}(t,n)):El(e)?nh(function(r,i){const o=Ah(r,!0,i==="fixed"),s=o.top+r.clientTop,a=o.left+r.clientLeft,l=qs(r)?cf(r):{x:1,y:1};return{width:r.clientWidth*l.x,height:r.clientHeight*l.y,x:a*l.x,y:s*l.y}}(e,n)):nh(function(r){const i=Ol(r),o=n1(r),s=r.ownerDocument.body,a=rh(i.scrollWidth,i.clientWidth,s.scrollWidth,s.clientWidth),l=rh(i.scrollHeight,i.clientHeight,s.scrollHeight,s.clientHeight);let c=-o.scrollLeft+OA(r);const u=-o.scrollTop;return Hs(s).direction==="rtl"&&(c+=rh(i.clientWidth,s.clientWidth)-a),{width:a,height:l,x:c,y:u}}(Ol(t)))}function ZS(t){return qs(t)&&Hs(t).position!=="fixed"?t.offsetParent:null}function ek(t){const e=Co(t);let n=ZS(t);for(;n&&EH(n)&&Hs(n).position==="static";)n=ZS(n);return n&&(Dl(n)==="html"||Dl(n)==="body"&&Hs(n).position==="static"&&!uw(n))?e:n||function(r){let i=Rh(r);for(;qs(i)&&!o_(i);){if(uw(i))return i;i=Rh(i)}return null}(t)||e}function OH(t,e,n){const r=qs(e),i=Ol(e),o=Ah(t,!0,n==="fixed",e);let s={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((Dl(e)!=="body"||t1(i))&&(s=n1(e)),qs(e)){const l=Ah(e,!0);a.x=l.x+e.clientLeft,a.y=l.y+e.clientTop}else i&&(a.x=OA(i));return{x:o.left+s.scrollLeft-a.x,y:o.top+s.scrollTop-a.y,width:o.width,height:o.height}}const TH={getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:i}=t;const o=n==="clippingAncestors"?function(c,u){const f=u.get(c);if(f)return f;let d=mv(c).filter(v=>El(v)&&Dl(v)!=="body"),h=null;const p=Hs(c).position==="fixed";let m=p?Rh(c):c;for(;El(m)&&!o_(m);){const v=Hs(m),g=uw(m);(p?g||h:g||v.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=v:d=d.filter(b=>b!==m),m=Rh(m)}return u.set(c,d),d}(e,this._c):[].concat(n),s=[...o,r],a=s[0],l=s.reduce((c,u)=>{const f=XS(e,u,i);return c.top=rh(f.top,c.top),c.right=YS(f.right,c.right),c.bottom=YS(f.bottom,c.bottom),c.left=rh(f.left,c.left),c},XS(e,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:n,strategy:r}=t;const i=qs(n),o=Ol(n);if(n===o)return e;let s={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((i||!i&&r!=="fixed")&&((Dl(n)!=="body"||t1(o))&&(s=n1(n)),qs(n))){const c=Ah(n);a=cf(n),l.x=c.x+n.clientLeft,l.y=c.y+n.clientTop}return{width:e.width*a.x,height:e.height*a.y,x:e.x*a.x-s.scrollLeft*a.x+l.x,y:e.y*a.y-s.scrollTop*a.y+l.y}},isElement:El,getDimensions:function(t){return qs(t)?jA(t):t.getBoundingClientRect()},getOffsetParent:ek,getDocumentElement:Ol,getScale:cf,async getElementRects(t){let{reference:e,floating:n,strategy:r}=t;const i=this.getOffsetParent||ek,o=this.getDimensions;return{reference:OH(e,await i(n),r),floating:{x:0,y:0,...await o(n)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>Hs(t).direction==="rtl"},PH=(t,e,n)=>{const r=new Map,i={platform:TH,...n},o={...i.platform,_c:r};return bH(t,e,{...i,platform:o})};function PA(t,e){for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(typeof e[n]=="object"&&t[n]?PA(t[n],e[n]):t[n]=e[n])}const ss={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:t=>[...t,"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 Mh(t,e){let n=ss.themes[t]||{},r;do r=n[e],typeof r>"u"?n.$extend?n=ss.themes[n.$extend]||{}:(n=null,r=ss[e]):n=null;while(n);return r}function AH(t){const e=[t];let n=ss.themes[t]||{};do n.$extend&&!n.$resetCss?(e.push(n.$extend),n=ss.themes[n.$extend]||{}):n=null;while(n);return e.map(r=>`v-popper--theme-${r}`)}function tk(t){const e=[t];let n=ss.themes[t]||{};do n.$extend?(e.push(n.$extend),n=ss.themes[n.$extend]||{}):n=null;while(n);return e}let Lf=!1;if(typeof window<"u"){Lf=!1;try{const t=Object.defineProperty({},"passive",{get(){Lf=!0}});window.addEventListener("test",null,t)}catch{}}let AA=!1;typeof window<"u"&&typeof navigator<"u"&&(AA=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const RA=["auto","top","bottom","left","right"].reduce((t,e)=>t.concat([e,`${e}-start`,`${e}-end`]),[]),nk={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},rk={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function ik(t,e){const n=t.indexOf(e);n!==-1&&t.splice(n,1)}function xy(){return new Promise(t=>requestAnimationFrame(()=>{requestAnimationFrame(t)}))}const Xo=[];let cc=null;const ok={};function sk(t){let e=ok[t];return e||(e=ok[t]=[]),e}let fw=function(){};typeof window<"u"&&(fw=window.Element);function kn(t){return function(e){return Mh(e.theme,t)}}const _y="__floating-vue__popper",MA=()=>zr({name:"VPopper",provide(){return{[_y]:{parentPopper:this}}},inject:{[_y]:{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:kn("disabled")},positioningDisabled:{type:Boolean,default:kn("positioningDisabled")},placement:{type:String,default:kn("placement"),validator:t=>RA.includes(t)},delay:{type:[String,Number,Object],default:kn("delay")},distance:{type:[Number,String],default:kn("distance")},skidding:{type:[Number,String],default:kn("skidding")},triggers:{type:Array,default:kn("triggers")},showTriggers:{type:[Array,Function],default:kn("showTriggers")},hideTriggers:{type:[Array,Function],default:kn("hideTriggers")},popperTriggers:{type:Array,default:kn("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:kn("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:kn("popperHideTriggers")},container:{type:[String,Object,fw,Boolean],default:kn("container")},boundary:{type:[String,fw],default:kn("boundary")},strategy:{type:String,validator:t=>["absolute","fixed"].includes(t),default:kn("strategy")},autoHide:{type:[Boolean,Function],default:kn("autoHide")},handleResize:{type:Boolean,default:kn("handleResize")},instantMove:{type:Boolean,default:kn("instantMove")},eagerMount:{type:Boolean,default:kn("eagerMount")},popperClass:{type:[String,Array,Object],default:kn("popperClass")},computeTransformOrigin:{type:Boolean,default:kn("computeTransformOrigin")},autoMinSize:{type:Boolean,default:kn("autoMinSize")},autoSize:{type:[Boolean,String],default:kn("autoSize")},autoMaxSize:{type:Boolean,default:kn("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:kn("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:kn("preventOverflow")},overflowPadding:{type:[Number,String],default:kn("overflowPadding")},arrowPadding:{type:[Number,String],default:kn("arrowPadding")},arrowOverflow:{type:Boolean,default:kn("arrowOverflow")},flip:{type:Boolean,default:kn("flip")},shift:{type:Boolean,default:kn("shift")},shiftCrossAxis:{type:Boolean,default:kn("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:kn("noAutoFocus")},disposeTimeout:{type:Number,default:kn("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":t=>!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(t=>t.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 t;return(t=this[_y])==null?void 0:t.parentPopper},hasPopperShowTriggerHover(){var t,e;return((t=this.popperTriggers)==null?void 0:t.includes("hover"))||((e=this.popperShowTriggers)==null?void 0:e.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(t){t?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((t,e)=>(t[e]="$_computePosition",t),{})},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:t=null,skipDelay:e=!1,force:n=!1}={}){var r,i;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((i=this.parentPopper)==null?void 0:i.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(t,e),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:t=null,skipDelay:e=!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:e}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(t,e),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var t;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((t=this.referenceNode)==null?void 0:t.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(e=>e.nodeType===e.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 t={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&t.middleware.push(SH({mainAxis:this.distance,crossAxis:this.skidding}));const e=this.placement.startsWith("auto");if(e?t.middleware.push(_H({alignment:this.placement.split("-")[1]??""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(kH({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!e&&this.flip&&t.middleware.push(jH({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(wH({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:i,middlewareData:o})=>{let s;const{centerOffset:a}=o.arrow;return r.startsWith("top")||r.startsWith("bottom")?s=Math.abs(a)>i.reference.width/2:s=Math.abs(a)>i.reference.height/2,{data:{overflow:s}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;t.middleware.push({name:"autoSize",fn:({rects:i,placement:o,middlewareData:s})=>{var a;if((a=s.autoSize)!=null&&a.skip)return{};let l,c;return o.startsWith("top")||o.startsWith("bottom")?l=i.reference.width:c=i.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=c!=null?`${c}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,t.middleware.push(CH({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:i})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=i!=null?`${i}px`:null}})));const n=await PH(this.$_referenceNode,this.$_popperNode,t);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(t,e=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),cc&&this.instantMove&&cc.instantMove&&cc!==this.parentPopper){cc.$_applyHide(!0),this.$_applyShow(!0);return}e?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(t,e=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(cc=this),e?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(t){const e=this.delay;return parseInt(e&&e[t]||e||0)},async $_applyShow(t=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=t,!this.isShown&&(this.$_ensureTeleport(),await xy(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...mv(this.$_referenceNode),...mv(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const e=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),r=n.parentNode.getBoundingClientRect(),i=e.x+e.width/2-(r.left+n.offsetLeft),o=e.y+e.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${i}px ${o}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const t=this.showGroup;if(t){let e;for(let n=0;n<Xo.length;n++)e=Xo[n],e.showGroup!==t&&(e.hide(),e.$emit("close-group"))}Xo.push(this),document.body.classList.add("v-popper--some-open");for(const e of tk(this.theme))sk(e).push(this),document.body.classList.add(`v-popper--some-open--${e}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await xy(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(t=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=t,ik(Xo,this),Xo.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of tk(this.theme)){const r=sk(n);ik(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}cc===this&&(cc=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const e=this.disposeTimeout;e!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},e)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await xy(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let t=this.container;if(typeof t=="string"?t=window.document.querySelector(t):t===!1&&(t=this.$_targetNodes[0].parentNode),!t)throw new Error("No container for popover: "+this.container);t.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const t=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,nk,this.triggers,this.showTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],nk,this.popperTriggers,this.popperShowTriggers,t);const e=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,rk,this.triggers,this.hideTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],rk,this.popperTriggers,this.popperHideTriggers,e)},$_registerEventListeners(t,e,n){this.$_events.push({targetNodes:t,eventType:e,handler:n}),t.forEach(r=>r.addEventListener(e,n,Lf?{passive:!0}:void 0))},$_registerTriggerListeners(t,e,n,r,i){let o=n;r!=null&&(o=typeof r=="function"?r(o):r),o.forEach(s=>{const a=e[s];a&&this.$_registerEventListeners(t,a,i)})},$_removeEventListeners(t){const e=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:i,handler:o}=n;!t||t===i?r.forEach(s=>s.removeEventListener(i,o)):e.push(n)}),this.$_events=e},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(t,e=!1){this.$_showFrameLocked||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),e&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(t,e){for(const n of this.$_targetNodes){const r=n.getAttribute(t);r&&(n.removeAttribute(t),n.setAttribute(e,r))}},$_applyAttrsToTarget(t){for(const e of this.$_targetNodes)for(const n in t){const r=t[n];r==null?e.removeAttribute(n):e.setAttribute(n,r)}},$_updateParentShownChildren(t){let e=this.parentPopper;for(;e;)t?e.shownChildren.add(this.randomId):(e.shownChildren.delete(this.randomId),e.pendingHide&&e.hide()),e=e.parentPopper},$_isAimingPopper(){const t=this.$_referenceNode.getBoundingClientRect();if(ih>=t.left&&ih<=t.right&&oh>=t.top&&oh<=t.bottom){const e=this.$_popperNode.getBoundingClientRect(),n=ih-al,r=oh-ll,i=e.left+e.width/2-al+(e.top+e.height/2)-ll+e.width+e.height,o=al+n*i,s=ll+r*i;return dm(al,ll,o,s,e.left,e.top,e.left,e.bottom)||dm(al,ll,o,s,e.left,e.top,e.right,e.top)||dm(al,ll,o,s,e.right,e.top,e.right,e.bottom)||dm(al,ll,o,s,e.left,e.bottom,e.right,e.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(AA){const t=Lf?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",e=>ak(e,!0),t),document.addEventListener("touchend",e=>lk(e,!0),t)}else window.addEventListener("mousedown",t=>ak(t,!1),!0),window.addEventListener("click",t=>lk(t,!1),!0);window.addEventListener("resize",MH)}function ak(t,e){if(ss.autoHideOnMousedown)NA(t,e);else for(let n=0;n<Xo.length;n++){const r=Xo[n];try{r.mouseDownContains=r.popperNode().contains(t.target)}catch{}}}function lk(t,e){ss.autoHideOnMousedown||NA(t,e)}function NA(t,e){const n={};for(let r=Xo.length-1;r>=0;r--){const i=Xo[r];try{const o=i.containsGlobalTarget=i.mouseDownContains||i.popperNode().contains(t.target);i.pendingHide=!1,requestAnimationFrame(()=>{if(i.pendingHide=!1,!n[i.randomId]&&ck(i,o,t)){if(i.$_handleGlobalClose(t,e),!t.closeAllPopover&&t.closePopover&&o){let a=i.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let s=i.parentPopper;for(;s&&ck(s,s.containsGlobalTarget,t);)s.$_handleGlobalClose(t,e),s=s.parentPopper}})}catch{}}}function ck(t,e,n){return n.closeAllPopover||n.closePopover&&e||RH(t,n)&&!e}function RH(t,e){if(typeof t.autoHide=="function"){const n=t.autoHide(e);return t.lastAutoHide=n,n}return t.autoHide}function MH(){for(let t=0;t<Xo.length;t++)Xo[t].$_computePosition()}let al=0,ll=0,ih=0,oh=0;typeof window<"u"&&window.addEventListener("mousemove",t=>{al=ih,ll=oh,ih=t.clientX,oh=t.clientY},Lf?{passive:!0}:void 0);function dm(t,e,n,r,i,o,s,a){const l=((s-i)*(e-o)-(a-o)*(t-i))/((a-o)*(n-t)-(s-i)*(r-e)),c=((n-t)*(e-o)-(r-e)*(t-i))/((a-o)*(n-t)-(s-i)*(r-e));return l>=0&&l<=1&&c>=0&&c<=1}const NH={extends:MA()},r1=(t,e)=>{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n};function IH(t,e,n,r,i,o){return We(),Ot("div",{ref:"reference",class:wr(["v-popper",{"v-popper--shown":t.slotData.isShown}])},[Hn(t.$slots,"default",AT(G2(t.slotData)))],2)}const LH=r1(NH,[["render",IH]]);function DH(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);var n=t.indexOf("Trident/");if(n>0){var r=t.indexOf("rv:");return parseInt(t.substring(r+3,t.indexOf(".",r)),10)}var i=t.indexOf("Edge/");return i>0?parseInt(t.substring(i+5,t.indexOf(".",i)),10):-1}let Sg;function dw(){dw.init||(dw.init=!0,Sg=DH()!==-1)}var i1={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){dw(),Yl(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",Sg&&this.$el.appendChild(t),t.data="about:blank",Sg||this.$el.appendChild(t)},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&&(!Sg&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const BH=iB();B2("data-v-b329ee4c");const zH={class:"resize-observer",tabindex:"-1"};z2();const FH=BH((t,e,n,r,i,o)=>(We(),an("div",zH)));i1.render=FH;i1.__scopeId="data-v-b329ee4c";i1.__file="src/components/ResizeObserver.vue";const IA=(t="theme")=>({computed:{themeClass(){return AH(this[t])}}}),VH=zr({name:"VPopperContent",components:{ResizeObserver:i1},mixins:[IA()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(t){return t!=null&&!isNaN(t)?`${t}px`:null}}}),HH=["id","aria-hidden","tabindex","data-popper-placement"],qH={ref:"inner",class:"v-popper__inner"},UH=Ve("div",{class:"v-popper__arrow-outer"},null,-1),WH=Ve("div",{class:"v-popper__arrow-inner"},null,-1),GH=[UH,WH];function KH(t,e,n,r,i,o){const s=La("ResizeObserver");return We(),Ot("div",{id:t.popperId,ref:"popover",class:wr(["v-popper__popper",[t.themeClass,t.classes.popperClass,{"v-popper__popper--shown":t.shown,"v-popper__popper--hidden":!t.shown,"v-popper__popper--show-from":t.classes.showFrom,"v-popper__popper--show-to":t.classes.showTo,"v-popper__popper--hide-from":t.classes.hideFrom,"v-popper__popper--hide-to":t.classes.hideTo,"v-popper__popper--skip-transition":t.skipTransition,"v-popper__popper--arrow-overflow":t.result&&t.result.arrow.overflow,"v-popper__popper--no-positioning":!t.result}]]),style:rs(t.result?{position:t.result.strategy,transform:`translate3d(${Math.round(t.result.x)}px,${Math.round(t.result.y)}px,0)`}:void 0),"aria-hidden":t.shown?"false":"true",tabindex:t.autoHide?0:void 0,"data-popper-placement":t.result?t.result.placement:void 0,onKeyup:e[2]||(e[2]=Tz(a=>t.autoHide&&t.$emit("hide"),["esc"]))},[Ve("div",{class:"v-popper__backdrop",onClick:e[0]||(e[0]=a=>t.autoHide&&t.$emit("hide"))}),Ve("div",{class:"v-popper__wrapper",style:rs(t.result?{transformOrigin:t.result.transformOrigin}:void 0)},[Ve("div",qH,[t.mounted?(We(),Ot(Ur,{key:0},[Ve("div",null,[Hn(t.$slots,"default")]),t.handleResize?(We(),an(s,{key:0,onNotify:e[1]||(e[1]=a=>t.$emit("resize",a))})):Ln("",!0)],64)):Ln("",!0)],512),Ve("div",{ref:"arrow",class:"v-popper__arrow-container",style:rs(t.result?{left:t.toPx(t.result.arrow.x),top:t.toPx(t.result.arrow.y)}:void 0)},GH,4)],4)],46,HH)}const LA=r1(VH,[["render",KH]]),DA={methods:{show(...t){return this.$refs.popper.show(...t)},hide(...t){return this.$refs.popper.hide(...t)},dispose(...t){return this.$refs.popper.dispose(...t)},onResize(...t){return this.$refs.popper.onResize(...t)}}};let hw=function(){};typeof window<"u"&&(hw=window.Element);const JH=zr({name:"VPopperWrapper",components:{Popper:LH,PopperContent:LA},mixins:[DA,IA("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,hw,Boolean],default:void 0},boundary:{type:[String,hw],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":t=>!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(t=>t!==this.$refs.popperContent.$el)}}});function YH(t,e,n,r,i,o){const s=La("PopperContent"),a=La("Popper");return We(),an(a,Sp({ref:"popper"},t.$props,{theme:t.finalTheme,"target-nodes":t.getTargetNodes,"popper-node":()=>t.$refs.popperContent.$el,class:[t.themeClass],onShow:e[0]||(e[0]=()=>t.$emit("show")),onHide:e[1]||(e[1]=()=>t.$emit("hide")),"onUpdate:shown":e[2]||(e[2]=l=>t.$emit("update:shown",l)),onApplyShow:e[3]||(e[3]=()=>t.$emit("apply-show")),onApplyHide:e[4]||(e[4]=()=>t.$emit("apply-hide")),onCloseGroup:e[5]||(e[5]=()=>t.$emit("close-group")),onCloseDirective:e[6]||(e[6]=()=>t.$emit("close-directive")),onAutoHide:e[7]||(e[7]=()=>t.$emit("auto-hide")),onResize:e[8]||(e[8]=()=>t.$emit("resize"))}),{default:vt(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,show:h,hide:p,handleResize:m,onResize:v,classes:g,result:b})=>[Hn(t.$slots,"default",{shown:c,show:h,hide:p}),at(s,{ref:"popperContent","popper-id":l,theme:t.finalTheme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":m,classes:g,result:b,onHide:p,onResize:v},{default:vt(()=>[Hn(t.$slots,"popper",{shown:c,hide:p})]),_: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 s_=r1(JH,[["render",YH]]),QH={...s_,name:"VDropdown",vPopperTheme:"dropdown"},XH={...s_,name:"VMenu",vPopperTheme:"menu"},ZH={...s_,name:"VTooltip",vPopperTheme:"tooltip"},eq=zr({name:"VTooltipDirective",components:{Popper:MA(),PopperContent:LA},mixins:[DA],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:t=>Mh(t.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:t=>Mh(t.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(t){if(typeof this.content=="function"&&this.$_isShown&&(t||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const e=++this.$_fetchId,n=this.content(this);n.then?n.then(r=>this.onResult(e,r)):this.onResult(e,n)}},onResult(t,e){t===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=e)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),tq=["innerHTML"],nq=["textContent"];function rq(t,e,n,r,i,o){const s=La("PopperContent"),a=La("Popper");return We(),an(a,Sp({ref:"popper"},t.$attrs,{theme:t.theme,"target-nodes":t.targetNodes,"popper-node":()=>t.$refs.popperContent.$el,onApplyShow:t.onShow,onApplyHide:t.onHide}),{default:vt(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,hide:h,handleResize:p,onResize:m,classes:v,result:g})=>[at(s,{ref:"popperContent",class:wr({"v-popper--tooltip-loading":t.loading}),"popper-id":l,theme:t.theme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":p,classes:v,result:g,onHide:h,onResize:m},{default:vt(()=>[t.html?(We(),Ot("div",{key:0,innerHTML:t.finalContent},null,8,tq)):(We(),Ot("div",{key:1,textContent:Tr(t.finalContent)},null,8,nq))]),_: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 iq=r1(eq,[["render",rq]]),BA="v-popper--has-tooltip";function oq(t,e){let n=t.placement;if(!n&&e)for(const r of RA)e[r]&&(n=r);return n||(n=Mh(t.theme||"tooltip","placement")),n}function zA(t,e,n){let r;const i=typeof e;return i==="string"?r={content:e}:e&&i==="object"?r=e:r={content:!1},r.placement=oq(r,n),r.targetNodes=()=>[t],r.referenceNode=()=>t,r}let jy,Nh,sq=0;function aq(){if(jy)return;Nh=Ft([]),jy=zP({name:"VTooltipDirectiveApp",setup(){return{directives:Nh}},render(){return this.directives.map(e=>Nf(iq,{...e.options,shown:e.shown||e.options.shown,key:e.id}))},devtools:{hide:!0}});const t=document.createElement("div");document.body.appendChild(t),jy.mount(t)}function lq(t,e,n){aq();const r=Ft(zA(t,e,n)),i=Ft(!1),o={id:sq++,options:r,shown:i};return Nh.value.push(o),t.classList&&t.classList.add(BA),t.$_popper={options:r,item:o,show(){i.value=!0},hide(){i.value=!1}}}function FA(t){if(t.$_popper){const e=Nh.value.indexOf(t.$_popper.item);e!==-1&&Nh.value.splice(e,1),delete t.$_popper,delete t.$_popperOldShown,delete t.$_popperMountTarget}t.classList&&t.classList.remove(BA)}function uk(t,{value:e,modifiers:n}){const r=zA(t,e,n);if(!r.content||Mh(r.theme||"tooltip","disabled"))FA(t);else{let i;t.$_popper?(i=t.$_popper,i.options.value=r):i=lq(t,e,n),typeof e.shown<"u"&&e.shown!==t.$_popperOldShown&&(t.$_popperOldShown=e.shown,e.shown?i.show():i.hide())}}const cq={beforeMount:uk,updated:uk,beforeUnmount(t){FA(t)}};function fk(t){t.addEventListener("mousedown",gv),t.addEventListener("click",gv),t.addEventListener("touchstart",VA,Lf?{passive:!0}:!1)}function dk(t){t.removeEventListener("mousedown",gv),t.removeEventListener("click",gv),t.removeEventListener("touchstart",VA),t.removeEventListener("touchend",HA),t.removeEventListener("touchcancel",qA)}function gv(t){const e=t.currentTarget;t.closePopover=!e.$_vclosepopover_touch,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}function VA(t){if(t.changedTouches.length===1){const e=t.currentTarget;e.$_vclosepopover_touch=!0;const n=t.changedTouches[0];e.$_vclosepopover_touchPoint=n,e.addEventListener("touchend",HA),e.addEventListener("touchcancel",qA)}}function HA(t){const e=t.currentTarget;if(e.$_vclosepopover_touch=!1,t.changedTouches.length===1){const n=t.changedTouches[0],r=e.$_vclosepopover_touchPoint;t.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}}function qA(t){const e=t.currentTarget;e.$_vclosepopover_touch=!1}const uq={beforeMount(t,{value:e,modifiers:n}){t.$_closePopoverModifiers=n,(typeof e>"u"||e)&&fk(t)},updated(t,{value:e,oldValue:n,modifiers:r}){t.$_closePopoverModifiers=r,e!==n&&(typeof e>"u"||e?fk(t):dk(t))},beforeUnmount(t){dk(t)}};function fq(t,e={}){t.$_vTooltipInstalled||(t.$_vTooltipInstalled=!0,PA(ss,e),t.directive("tooltip",cq),t.directive("close-popper",uq),t.component("VTooltip",ZH),t.component("VDropdown",QH),t.component("VMenu",XH))}const dq={version:"5.2.2",install:fq,options:ss},hq=ua(t=>{t.vueApp.use(dq)}),pq=[XV,eH,rH,oH,sH,aH,cH,uH,fH,hq],mq="modulepreload",gq=function(t,e){return t[0]==="."?new URL(t,e).href:t},hk={},vq=function(e,n,r){let i=Promise.resolve();if(n&&n.length>0){const o=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),a=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));i=Promise.all(n.map(l=>{if(l=gq(l,r),l in hk)return;hk[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!r)for(let h=o.length-1;h>=0;h--){const p=o[h];if(p.href===l&&(!c||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${u}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":mq,c||(d.as="script",d.crossOrigin=""),d.href=l,a&&d.setAttribute("nonce",a),document.head.appendChild(d),c)return new Promise((h,p)=>{d.addEventListener("load",h),d.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${l}`)))})}))}return i.then(()=>e()).catch(o=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o})},re=(...t)=>vq(...t).catch(e=>{const n=new Event("nuxt.preloadError");throw n.payload=e,window.dispatchEvent(n),e}),od=zr({__name:"NIcon",props:{icon:{}},setup(t){return(e,n)=>(We(),Ot("div",{class:wr(["n-icon",e.icon])},null,2))}}),Zl=(t,e)=>{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n},yq={},bq={class:"n-badge"};function wq(t,e){return We(),Ot("span",bq,[Hn(t.$slots,"default")])}const xq=Zl(yq,[["render",wq]]);async function UA(t,e=Xs()){const{path:n,matched:r}=e.resolve(t);if(!r.length||(e._routePreloaded||(e._routePreloaded=new Set),e._routePreloaded.has(n)))return;const i=e._preloadPromises=e._preloadPromises||[];if(i.length>4)return Promise.all(i).then(()=>UA(t,e));e._routePreloaded.add(n);const o=r.map(s=>{var a;return(a=s.components)==null?void 0:a.default}).filter(s=>typeof s=="function");for(const s of o){const a=Promise.resolve(s()).catch(()=>{}).finally(()=>i.splice(i.indexOf(a)));i.push(a)}await Promise.all(i)}const _q=(...t)=>t.find(e=>e!==void 0);function jq(t){const e=t.componentName||"NuxtLink";function n(i,o){if(!i||t.trailingSlash!=="append"&&t.trailingSlash!=="remove")return i;if(typeof i=="string")return pk(i,t.trailingSlash);const s="path"in i&&i.path!==void 0?i.path:o(i).path;return{...i,name:void 0,path:pk(s,t.trailingSlash)}}function r(i){const o=Xs(),s=If(),a=en(()=>!!i.target&&i.target!=="_self"),l=en(()=>{const m=i.to||i.href||"";return typeof m=="string"&&Xl(m,{acceptRelative:!0})}),c=La("RouterLink"),u=c&&typeof c!="string"?c.useLink:void 0,f=en(()=>{if(i.external)return!0;const m=i.to||i.href||"";return typeof m=="object"?!1:m===""||l.value}),d=en(()=>{const m=i.to||i.href||"";return f.value?m:n(m,o.resolve)}),h=f.value||u==null?void 0:u({...i,to:d}),p=en(()=>{var m;if(!d.value||l.value)return d.value;if(f.value){const v=typeof d.value=="object"&&"path"in d.value?rw(d.value):d.value,g=typeof v=="object"?o.resolve(v).href:v;return n(g,o.resolve)}return typeof d.value=="object"?((m=o.resolve(d.value))==null?void 0:m.href)??null:n(fu(s.app.baseURL,d.value),o.resolve)});return{to:d,hasTarget:a,isAbsoluteUrl:l,isExternal:f,href:p,isActive:(h==null?void 0:h.isActive)??en(()=>d.value===o.currentRoute.value.path),isExactActive:(h==null?void 0:h.isExactActive)??en(()=>d.value===o.currentRoute.value.path),route:(h==null?void 0:h.route)??en(()=>o.resolve(d.value)),async navigate(){await cA(p.value,{replace:i.replace,external:f.value||a.value})}}}return zr({name:e,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(i,{slots:o}){const s=Xs(),{to:a,href:l,navigate:c,isExternal:u,hasTarget:f,isAbsoluteUrl:d}=r(i),h=Ft(!1),p=Ft(null),m=v=>{var g;p.value=i.custom?(g=v==null?void 0:v.$el)==null?void 0:g.nextElementSibling:v==null?void 0:v.$el};if(i.prefetch!==!1&&i.noPrefetch!==!0&&i.target!=="_blank"&&!Sq()){const g=Rr();let b,y=null;uu(()=>{const x=$q();Z0(()=>{b=lw(()=>{var w;(w=p==null?void 0:p.value)!=null&&w.tagName&&(y=x.observe(p.value,async()=>{y==null||y(),y=null;const _=typeof a.value=="string"?a.value:u.value?rw(a.value):s.resolve(a.value).fullPath;await Promise.all([g.hooks.callHook("link:prefetch",_).catch(()=>{}),!u.value&&!f.value&&UA(a.value,s).catch(()=>{})]),h.value=!0}))})})}),V2(()=>{b&&iH(b),y==null||y(),y=null})}return()=>{var b;if(!u.value&&!f.value){const y={ref:m,to:a.value,activeClass:i.activeClass||t.activeClass,exactActiveClass:i.exactActiveClass||t.exactActiveClass,replace:i.replace,ariaCurrentValue:i.ariaCurrentValue,custom:i.custom};return i.custom||(h.value&&(y.class=i.prefetchedClass||t.prefetchedClass),y.rel=i.rel||void 0),Nf(La("RouterLink"),y,o.default)}const v=i.target||null,g=_q(i.noRel?"":i.rel,t.externalRelAttribute,d.value||f.value?"noopener noreferrer":"")||null;return i.custom?o.default?o.default({href:l.value,navigate:c,get route(){if(!l.value)return;const y=new URL(l.value,window.location.href);return{path:y.pathname,fullPath:y.pathname,get query(){return Q2(y.search)},hash:y.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:l.value}},rel:g,target:v,isExternal:u.value||f.value,isActive:!1,isExactActive:!1}):null:Nf("a",{ref:p,href:l.value||null,rel:g,target:v},(b=o.default)==null?void 0:b.call(o))}}})}const a_=jq(IF);function pk(t,e){const n=e==="append"?sv:Y0;return Xl(t)&&!t.startsWith("http")?t:n(t,!0)}function $q(){const t=Rr();if(t._observer)return t._observer;let e=null;const n=new Map,r=(o,s)=>(e||(e=new IntersectionObserver(a=>{for(const l of a){const c=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&c&&c()}})),n.set(o,s),e.observe(o),()=>{n.delete(o),e.unobserve(o),n.size===0&&(e.disconnect(),e=null)});return t._observer={observe:r}}function Sq(){const t=navigator.connection;return!!(t&&(t.saveData||/2g/.test(t.effectiveType)))}const kq={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},WA=zr({__name:"NLink",props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(t){const e=t,n=en(()=>e.href||e.to);return(r,i)=>{const o=a_;return We(),an(o,Sp(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:vt(()=>[Hn(r.$slots,"default"),n.value&&r.target==="_blank"?(We(),Ot("div",kq)):Ln("",!0)]),_:3},16,["class"])}}}),Cq={},Eq={height:"22",viewBox:"0 0 1204 200",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Oq=KB('<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),Tq=[Oq];function Pq(t,e){return We(),Ot("svg",Eq,Tq)}const Aq=Zl(Cq,[["render",Pq]]),Rq=zr({__name:"NButton",props:{to:{},icon:{},border:{type:Boolean,default:!0},disabled:{type:Boolean},type:{default:"button"}},setup(t){return(e,n)=>{const r=od;return We(),an(iP(e.to?Ae(a_):"button"),Sp({to:e.to},{...e.$attrs,...!e.to&&{type:e.type},...e.disabled?{disabled:!0}:{tabindex:0}},{class:[[{"n-button-base active:n-button-active focus-visible:n-focus-base hover:n-button-hover":e.border},{"n-icon-button":!e.$slots.default}],"n-button n-transition n-disabled:n-disabled"]}),{default:vt(()=>[Hn(e.$slots,"icon",{},()=>[e.icon?(We(),an(r,{key:0,icon:e.icon,class:wr({"n-button-icon":e.$slots.default})},null,8,["icon","class"])):Ln("",!0)]),Hn(e.$slots,"default")]),_:3},16,["to","class"])}}}),Mq={},Nq={class:"n-loading n-panel-grids-center"},Iq={class:"flex flex-col animate-pulse items-center text-lg"},Lq=Ve("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function Dq(t,e){return We(),Ot("div",Nq,[Ve("div",Iq,[Lq,Hn(t.$slots,"default",{},()=>[Ht(" Loading... ")])])])}const GA=Zl(Mq,[["render",Dq]]),Bq=zr({__name:"ImageLoader",props:{src:{},aspectRatio:{},maxHeight:{},maxWidth:{}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=Ft(),o=Ft(!0),s=Ft();function a(l){const c=i.value;if(l!==s.value){s.value=l,o.value=!0,c.style.backgroundImage="";const u=Date.now();$fetch.raw(l,{responseType:"blob"}).then(f=>{const d=f.headers.get("content-length"),h=Math.round(Number(d)/1024),p=new FileReader;p.readAsDataURL(f._data),p.onloadend=()=>{const m=p.result;m&&(c.style.backgroundImage=`url(${m})`,o.value=!1,r("load",{timeTaken:Date.now()-u,sizeKb:h}))}})}}return uu(()=>{Ar(()=>n.src,l=>{a(l)},{immediate:!0})}),(l,c)=>{const u=GA;return We(),Ot("div",{ref_key:"image",ref:i,style:rs({aspectRatio:l.aspectRatio})},[Ae(o)?(We(),an(u,{key:0})):Ln("",!0)],4)}}}),KA=Zl(Bq,[["__scopeId","data-v-aa7a1878"]]);let zq;const xd=[];function Fq(t){if(xd.push(t),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&xd.forEach(e=>e(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(e){e&&xd.forEach(n=>n(e))},get(){return zq.value},configurable:!0}),()=>{xd.splice(xd.indexOf(t),1)}}function JA(t){return z0()?(Ib(t),!0):!1}function Df(t){return typeof t=="function"?t():Ae(t)}const Vq=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Hq=t=>typeof t<"u",qq=Object.prototype.toString,Uq=t=>qq.call(t)==="[object Object]",vv=()=>{};function YA(t,e){function n(...r){return new Promise((i,o)=>{Promise.resolve(t(()=>e.apply(this,r),{fn:e,thisArg:this,args:r})).then(i).catch(o)})}return n}const QA=t=>t();function Wq(t,e={}){let n,r,i=vv;const o=a=>{clearTimeout(a),i(),i=vv};return a=>{const l=Df(t),c=Df(e.maxWait);return n&&o(n),l<=0||c!==void 0&&c<=0?(r&&(o(r),r=null),Promise.resolve(a())):new Promise((u,f)=>{i=e.rejectOnCancel?f:u,c&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,u(a())},c)),n=setTimeout(()=>{r&&o(r),r=null,u(a())},l)})}}function Gq(t=QA){const e=Ft(!0);function n(){e.value=!1}function r(){e.value=!0}const i=(...o)=>{e.value&&t(...o)};return{isActive:V0(e),pause:n,resume:r,eventFilter:i}}function Kq(t){return Ql()}function Jq(...t){if(t.length!==1)return L2(...t);const e=t[0];return typeof e=="function"?V0(J9(()=>({get:e,set:vv}))):Ft(e)}function l_(t,e=200,n={}){return YA(Wq(e,n),t)}function Yq(t,e,n={}){const{eventFilter:r=QA,...i}=n;return Ar(t,YA(r,e),i)}function Qq(t,e,n={}){const{eventFilter:r,...i}=n,{eventFilter:o,pause:s,resume:a,isActive:l}=Gq(r);return{stop:Yq(t,e,{...i,eventFilter:o}),pause:s,resume:a,isActive:l}}function c_(t,e=!0,n){Kq()?uu(t,n):e?t():Yl(t)}function XA(t){var e;const n=Df(t);return(e=n==null?void 0:n.$el)!=null?e:n}const Vc=Vq?window:void 0;function pw(...t){let e,n,r,i;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,r,i]=t,e=Vc):[e,n,r,i]=t,!e)return vv;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],s=()=>{o.forEach(u=>u()),o.length=0},a=(u,f,d,h)=>(u.addEventListener(f,d,h),()=>u.removeEventListener(f,d,h)),l=Ar(()=>[XA(e),Df(i)],([u,f])=>{if(s(),!u)return;const d=Uq(f)?{...f}:f;o.push(...n.flatMap(h=>r.map(p=>a(u,h,p,d))))},{immediate:!0,flush:"post"}),c=()=>{l(),s()};return JA(c),c}function Xq(){const t=Ft(!1),e=Ql();return e&&uu(()=>{t.value=!0},e),t}function Zq(t){const e=Xq();return en(()=>(e.value,!!t()))}function ZA(t,e={}){const{window:n=Vc}=e,r=Zq(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let i;const o=Ft(!1),s=c=>{o.value=c.matches},a=()=>{i&&("removeEventListener"in i?i.removeEventListener("change",s):i.removeListener(s))},l=K0(()=>{r.value&&(a(),i=n.matchMedia(Df(t)),"addEventListener"in i?i.addEventListener("change",s):i.addListener(s),o.value=i.matches)});return JA(()=>{l(),a(),i=void 0}),o}function eU(t){return JSON.parse(JSON.stringify(t))}const hm=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},pm="__vueuse_ssr_handlers__",tU=nU();function nU(){return pm in hm||(hm[pm]=hm[pm]||{}),hm[pm]}function e5(t,e){return tU[t]||e}function rU(t){return t==null?"any":t instanceof Set?"set":t instanceof Map?"map":t instanceof Date?"date":typeof t=="boolean"?"boolean":typeof t=="string"?"string":typeof t=="object"?"object":Number.isNaN(t)?"any":"number"}const iU={boolean:{read:t=>t==="true",write:t=>String(t)},object:{read:t=>JSON.parse(t),write:t=>JSON.stringify(t)},number:{read:t=>Number.parseFloat(t),write:t=>String(t)},any:{read:t=>t,write:t=>String(t)},string:{read:t=>t,write:t=>String(t)},map:{read:t=>new Map(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t.entries()))},set:{read:t=>new Set(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t))},date:{read:t=>new Date(t),write:t=>t.toISOString()}},mk="vueuse-storage";function t5(t,e,n,r={}){var i;const{flush:o="pre",deep:s=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:f=Vc,eventFilter:d,onError:h=C=>{console.error(C)},initOnMounted:p}=r,m=(u?Qg:Ft)(typeof e=="function"?e():e);if(!n)try{n=e5("getDefaultStorage",()=>{var C;return(C=Vc)==null?void 0:C.localStorage})()}catch(C){h(C)}if(!n)return m;const v=Df(e),g=rU(v),b=(i=r.serializer)!=null?i:iU[g],{pause:y,resume:x}=Qq(m,()=>_(m.value),{flush:o,deep:s,eventFilter:d});f&&a&&c_(()=>{pw(f,"storage",D),pw(f,mk,L),p&&D()}),p||D();function w(C,V){f&&f.dispatchEvent(new CustomEvent(mk,{detail:{key:t,oldValue:C,newValue:V,storageArea:n}}))}function _(C){try{const V=n.getItem(t);if(C==null)w(V,null),n.removeItem(t);else{const M=b.write(C);V!==M&&(n.setItem(t,M),w(V,M))}}catch(V){h(V)}}function k(C){const V=C?C.newValue:n.getItem(t);if(V==null)return l&&v!=null&&n.setItem(t,b.write(v)),v;if(!C&&c){const M=b.read(V);return typeof c=="function"?c(M,v):g==="object"&&!Array.isArray(M)?{...v,...M}:M}else return typeof V!="string"?V:b.read(V)}function D(C){if(!(C&&C.storageArea!==n)){if(C&&C.key==null){m.value=v;return}if(!(C&&C.key!==t)){y();try{(C==null?void 0:C.newValue)!==b.write(m.value)&&(m.value=k(C))}catch(V){h(V)}finally{C?Yl(x):x()}}}}function L(C){D(C.detail)}return m}function oU(t){return ZA("(prefers-color-scheme: dark)",t)}function sU(t={}){const{selector:e="html",attribute:n="class",initialValue:r="auto",window:i=Vc,storage:o,storageKey:s="vueuse-color-scheme",listenToStorageChanges:a=!0,storageRef:l,emitAuto:c,disableTransition:u=!0}=t,f={auto:"",light:"light",dark:"dark",...t.modes||{}},d=oU({window:i}),h=en(()=>d.value?"dark":"light"),p=l||(s==null?Jq(r):t5(s,r,o,{window:i,listenToStorageChanges:a})),m=en(()=>p.value==="auto"?h.value:p.value),v=e5("updateHTMLAttrs",(x,w,_)=>{const k=typeof x=="string"?i==null?void 0:i.document.querySelector(x):XA(x);if(!k)return;let D;if(u&&(D=i.document.createElement("style"),D.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),i.document.head.appendChild(D)),w==="class"){const L=_.split(/\s/g);Object.values(f).flatMap(C=>(C||"").split(/\s/g)).filter(Boolean).forEach(C=>{L.includes(C)?k.classList.add(C):k.classList.remove(C)})}else k.setAttribute(w,_);u&&(i.getComputedStyle(D).opacity,document.head.removeChild(D))});function g(x){var w;v(e,n,(w=f[x])!=null?w:x)}function b(x){t.onChanged?t.onChanged(x,g):g(x)}Ar(m,b,{flush:"post",immediate:!0}),c_(()=>b(m.value));const y=en({get(){return c?p.value:m.value},set(x){p.value=x}});try{return Object.assign(y,{store:p,system:h,state:m})}catch{return y}}function $y(t,e,n={}){const{window:r=Vc}=n;return t5(t,e,r==null?void 0:r.localStorage,n)}function n5(t,e,n,r={}){var i,o,s;const{clone:a=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:f,shouldEmit:d}=r,h=Ql(),p=n||(h==null?void 0:h.emit)||((i=h==null?void 0:h.$emit)==null?void 0:i.bind(h))||((s=(o=h==null?void 0:h.proxy)==null?void 0:o.$emit)==null?void 0:s.bind(h==null?void 0:h.proxy));let m=c;e||(e="modelValue"),m=m||`update:${e.toString()}`;const v=y=>a?typeof a=="function"?a(y):eU(y):y,g=()=>Hq(t[e])?v(t[e]):f,b=y=>{d?d(y)&&p(m,y):p(m,y)};if(l){const y=g(),x=Ft(y);let w=!1;return Ar(()=>t[e],_=>{w||(w=!0,x.value=v(_),Yl(()=>w=!1))}),Ar(x,_=>{!w&&(_!==t[e]||u)&&b(_)},{deep:u}),x}else return en({get(){return g()},set(y){b(y)}})}function aU(t={}){const{window:e=Vc,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:i=!0,includeScrollbar:o=!0}=t,s=Ft(n),a=Ft(r),l=()=>{e&&(o?(s.value=e.innerWidth,a.value=e.innerHeight):(s.value=e.document.documentElement.clientWidth,a.value=e.document.documentElement.clientHeight))};if(l(),c_(l),pw("resize",l,{passive:!0}),i){const c=ZA("(orientation: portrait)");Ar(c,()=>l())}return{width:s,height:a}}const o1=Ft(Date.now()),r5=Ft(Date.now()),_d=Ft(null),lU=window.location.host,Ih=Ft("/"),mw=Ft(),cU=Ft("/"),Ir=Ft({}),ro=Ft({}),jd=Ft(!1),gk=Ft({}),qi=l_(()=>{o1.value=Date.now()},200),uU=l_(()=>{o1.value=Date.now()},1e3),fU=en(()=>UP(cU.value,`${window.location.protocol}//${lU}`)),Lh=Ft(),dU=Ft(),kc=Ft(),yv=Ft("dark");Fq(async t=>{var n;Lh.value=t.host.app.$fetch,K0(()=>{yv.value=t.host.app.colorMode.value});const e=(n=t.host.nuxt.vueApp.config.globalProperties)==null?void 0:n.$route;mw.value=e.query,Ih.value=e.path||"/",t.host.nuxt.$router.afterEach(r=>{mw.value=r.query,Ih.value=r.path,qi()}),dU.value=t.devtools,kc.value=t,t.devtools.extendClientRpc("nuxt-og-image",{refreshRouteData(r){var i,o,s,a;(a=(s=(o=(i=kc.value)==null?void 0:i.host.nuxt.vueApp.config)==null?void 0:o.globalProperties)==null?void 0:s.$route.matched[0].components)!=null&&a.default.__file.includes(r)&&qi()},refresh(){qi()},refreshGlobalData(){r5.value=Date.now()}})});const hU=["width","height"],pU=zr({__name:"IFrameLoader",props:{src:{},aspectRatio:{},maxHeight:{},maxWidth:{}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=Ft(),o=Ft(),s=en(()=>n.maxWidth||Ir.value.width),a=en(()=>n.maxHeight||Ir.value.height),l=l_(()=>{const c=o.value,u=Date.now();c.src="";const f=Ir.value.width||1200,d=Ir.value.height||600,h=a.value,p=s.value,m=h>d?1:h/d,v=p>f?1:p/f,g=v>m?m:v;c.style.opacity="0",c.onload=()=>{c.style.opacity="1",r("load",{timeTaken:Date.now()-u})},c.src=`${i.value}&scale=${g}&colorMode=${yv.value}`},200);return uu(()=>{Ar(()=>n.src,c=>{i.value!==c&&o.value&&(i.value=c,l())},{immediate:!0}),Ar([()=>yv,o],()=>{l()})}),!n.maxHeight&&!n.maxWidth&&sw({bodyAttrs:{onresize:()=>{l()}}}),(c,u)=>(We(),Ot("div",{class:"w-full mx-auto h-full justify-center flex",style:rs({maxHeight:`${Ae(a)}px`,maxWidth:`${Ae(s)}px`})},[Ve("iframe",{ref_key:"iframe",ref:o,class:"max-h-full",style:rs({aspectRatio:c.aspectRatio}),width:Ae(s),height:Ae(a)},null,12,hU)],4))}}),i5=Zl(pU,[["__scopeId","data-v-0dac61ea"]]),mU={class:"root max-h-full relative flex"},gU={class:"max-h-full border-1 border-solid border-[#cfd9de] rounded-[16px] overflow-hidden"},vU={class:"image-wrap"},yU={key:0,class:"title absolute bottom-3 z-2 left-3 text-white"},bU={class:"domain absolute -bottom-5 z-2 left-0"},wU=zr({__name:"TwitterCardRenderer",props:{title:{}},setup(t){return(e,n)=>(We(),Ot("div",mU,[Ve("div",gU,[Ve("div",vU,[Hn(e.$slots,"default",{},void 0,!0)])]),e.title?(We(),Ot("div",yU,[Hn(e.$slots,"title",{},()=>[Ht(Tr(e.title),1)],!0)])):Ln("",!0),Ve("div",bU,[Hn(e.$slots,"domain",{},void 0,!0)])]))}}),xU=Zl(wU,[["__scopeId","data-v-356f9e5f"]]),_U={},jU=t=>(B2("data-v-ba8e339e"),t=t(),z2(),t),$U={class:"root"},SU=jU(()=>Ve("div",{class:"bar"},null,-1)),kU={class:"content"},CU={class:"flex items-center space-x-2"},EU={class:"favIcon"},OU={class:"siteName"},TU={class:"title"},PU={class:"description"};function AU(t,e){return We(),Ot("div",$U,[SU,Ve("div",kU,[Ve("div",CU,[Ve("div",EU,[Hn(t.$slots,"favIcon",{},void 0,!0)]),Ve("div",OU,[Hn(t.$slots,"siteName",{},void 0,!0)])]),Ve("div",TU,[Hn(t.$slots,"title",{},void 0,!0)]),Ve("div",PU,[Hn(t.$slots,"description",{},void 0,!0)]),Hn(t.$slots,"default",{},void 0,!0)])])}const RU=Zl(_U,[["render",AU],["__scopeId","data-v-ba8e339e"]]),MU=["disabled"],NU={key:0,value:"",disabled:"",hidden:""},IU=zr({__name:"NSelect",props:{modelValue:{default:void 0},placeholder:{default:""},icon:{default:""},disabled:{type:Boolean,default:!1}},setup(t,{emit:e}){const i=n5(t,"modelValue",e,{passive:!0});return(o,s)=>{const a=od;return We(),Ot("div",{class:wr(["n-select flex flex items-center border rounded px-2 py-1 focus-within:n-focus-base focus-within:border-context n-bg-base",o.disabled?"border-gray:10":"n-border-base"])},[Hn(o.$slots,"icon",{},()=>[o.icon?(We(),an(a,{key:0,icon:o.icon,class:"mr-0.4em text-1.1em op50"},null,8,["icon"])):Ln("",!0)]),uP(Ve("select",{"onUpdate:modelValue":s[0]||(s[0]=l=>oi(i)?i.value=l:null),disabled:o.disabled,class:wr(["w-full flex-auto n-bg-base !outline-none",o.disabled?"appearance-none":""])},[o.placeholder?(We(),Ot("option",NU,Tr(o.placeholder),1)):Ln("",!0),Hn(o.$slots,"default")],10,MU),[[Sz,Ae(i)]])],2)}}}),LU={flex:"~ gap-3","items-center":""},DU=zr({__name:"NIconTitle",props:{icon:{},text:{}},setup(t){return(e,n)=>(We(),Ot("div",LU,[e.icon?(We(),Ot("div",{key:0,class:wr(e.icon)},null,2)):Ln("",!0),Hn(e.$slots,"default",{},()=>[Ve("div",null,Tr(e.text),1)])]))}}),o5=t=>(B2("data-v-348c1d92"),t=t(),z2(),t),BU=["open"],zU={"text-base":""},FU={key:0,"text-sm":"",op50:""},VU=o5(()=>Ve("div",{class:"flex-auto"},null,-1)),HU=o5(()=>Ve("div",{class:"x-divider"},null,-1)),qU=zr({__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(t){const n=n5(t,"open");function r(i){n.value=i.target.open}return(i,o)=>{const s=od,a=DU;return We(),Ot(Ur,null,[Ve("details",{open:Ae(n),onToggle:r},[Ve("summary",{class:wr(["cursor-pointer select-none n-bg-active hover:bg-active p4 rounded transition-all",i.collapse?"":"pointer-events-none"])},[at(a,{icon:i.icon,text:i.text,"text-xl":"",transition:"",class:wr([Ae(n)?"op100":"op60",i.headerClass])},{default:vt(()=>[Ve("div",null,[Ve("div",zU,[Hn(i.$slots,"text",{},()=>[Ht(Tr(i.text),1)],!0)]),i.description||i.$slots.description?(We(),Ot("div",FU,[Hn(i.$slots,"description",{},()=>[Ht(Tr(i.description),1)],!0)])):Ln("",!0)]),VU,Hn(i.$slots,"actions",{},void 0,!0),i.collapse?(We(),an(s,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):Ln("",!0)]),_:3},8,["icon","text","class"])],2),Ve("div",{class:wr(["flex flex-col flex-gap2 pb6 pt2",typeof i.padding=="string"?i.padding:i.padding?"px4":""])},[Hn(i.$slots,"details",{},void 0,!0),Ve("div",{class:wr([i.containerClass,"mt1"])},[Hn(i.$slots,"default",{},void 0,!0)],2),Hn(i.$slots,"footer",{},void 0,!0)],2)],40,BU),HU],64)}}}),UU=Zl(qU,[["__scopeId","data-v-348c1d92"]]),WU={class:"n-tip n-tip-base"},GU=zr({__name:"NTip",props:{icon:{}},setup(t){return(e,n)=>{const r=od;return We(),Ot("div",WU,[Hn(e.$slots,"icon",{},()=>[e.icon?(We(),an(r,{key:0,icon:e.icon,class:"n-tip-icon"},null,8,["icon"])):Ln("",!0)]),Ve("div",null,[Hn(e.$slots,"default")])])}}}),KU={class:"group"},JU={key:0,class:"opacity-70 text-sm transition group-hover:opacity-100"},YU={class:"border-2 group-hover:shadow-sm rounded-[0.35rem] border-transparent hover:border-yellow-500 transition-all"},QU={class:"w-[220px] h-[110px] relative"},XU={class:"flex justify-between items-center text-xs px-2"},ZU={class:""},eW=Ve("span",{class:"underline"},"View source",-1),tW=zr({__name:"TemplateComponentPreview",props:{src:{},aspectRatio:{},component:{},active:{type:Boolean},imageFormat:{}},setup(t){const e=t;function n(){var a;(a=kc.value)==null||a.devtools.rpc.openInEditor(e.component.path)}const r=en(()=>e.src.includes(".html")),i=en(()=>{var a;return(a=e.component.credits)==null?void 0:a.split("<")[0].trim()}),o=en(()=>{var a;return(a=e.component.credits)==null?void 0:a.split("<")[1].trim().replace(">","")}),s=Ft();return(a,l)=>{const c=WA,u=od,f=KA,d=i5,h=La("VTooltip");return We(),Ot("div",KU,[a.component.credits?(We(),Ot("div",JU,[o.value?(We(),an(c,{key:0,href:o.value,external:"",class:"underline"},{default:vt(()=>[Ht(Tr(i.value),1)]),_:1},8,["href"])):Ln("",!0)])):Ln("",!0),Ve("div",YU,[at(h,null,{popper:vt(()=>[Ht(" Preview "+Tr(a.component.pascalName)+" for the current page. ",1)]),default:vt(()=>[Ve("div",QU,[a.active?(We(),an(u,{key:0,icon:"carbon:checkmark-filled",class:"absolute top-2 right-2 text-green-500"})):Ln("",!0),r.value?(We(),an(d,{key:2,src:a.src,class:"pointer-events-none","max-height":120,"aspect-ratio":a.aspectRatio,onLoad:l[1]||(l[1]=p=>s.value=p)},null,8,["src","aspect-ratio"])):(We(),an(f,{key:1,src:Ae(lf)(a.src,{component:a.component.pascalName}),"aspect-ratio":a.aspectRatio,class:wr(["rounded overflow-hidden",a.active?["ring-2 ring-green-500"]:[]]),onLoad:l[0]||(l[0]=p=>s.value=p)},null,8,["src","aspect-ratio","class"]))])]),_:1})]),Ve("div",XU,[at(h,null,{popper:vt(()=>[Ht(" Open the source code of "+Tr(a.component.pascalName)+".vue in your IDE ",1)]),default:vt(()=>[Ve("div",ZU,[at(c,{external:"",class:"opacity-70 items-start space-x-1 flex",onClick:Ez(n,["stop"])},{default:vt(()=>[Ve("span",null,Tr(a.component.pascalName),1),eW]),_:1})])]),_:1})])])}}}),nW=t=>t==="defer"||t===!1;function s5(...t){var p;const e=typeof t[t.length-1]=="string"?t.pop():void 0;typeof t[0]!="string"&&t.unshift(e);let[n,r,i={}]=t;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");const o=Rr(),s=r,a=()=>Vu.value,l=()=>o.isHydrating?o.payload.data[n]:o.static.data[n];i.server=i.server??!0,i.default=i.default??a,i.getCachedData=i.getCachedData??l,i.lazy=i.lazy??!1,i.immediate=i.immediate??!0,i.deep=i.deep??Vu.deep,i.dedupe=i.dedupe??"cancel";const c=()=>i.getCachedData(n,o)!=null;if(!o._asyncData[n]||!i.immediate){(p=o.payload._errors)[n]??(p[n]=Vu.errorValue);const m=i.deep?Ft:Qg;o._asyncData[n]={data:m(i.getCachedData(n,o)??i.default()),pending:Ft(!c()),error:L2(o.payload._errors,n),status:Ft("idle"),_default:i.default}}const u={...o._asyncData[n]};delete u._default,u.refresh=u.execute=(m={})=>{if(o._asyncDataPromises[n]){if(nW(m.dedupe??i.dedupe))return o._asyncDataPromises[n];o._asyncDataPromises[n].cancelled=!0}if((m._initial||o.isHydrating&&m._initial!==!1)&&c())return Promise.resolve(i.getCachedData(n,o));u.pending.value=!0,u.status.value="pending";const v=new Promise((g,b)=>{try{g(s(o))}catch(y){b(y)}}).then(async g=>{if(v.cancelled)return o._asyncDataPromises[n];let b=g;i.transform&&(b=await i.transform(g)),i.pick&&(b=iW(b,i.pick)),o.payload.data[n]=b,u.data.value=b,u.error.value=Vu.errorValue,u.status.value="success"}).catch(g=>{if(v.cancelled)return o._asyncDataPromises[n];u.error.value=Q0(g),u.data.value=Ae(i.default()),u.status.value="error"}).finally(()=>{v.cancelled||(u.pending.value=!1,delete o._asyncDataPromises[n])});return o._asyncDataPromises[n]=v,o._asyncDataPromises[n]},u.clear=()=>rW(o,n);const f=()=>u.refresh({_initial:!0}),d=i.server!==!1&&o.payload.serverRendered;{const m=Ql();if(m&&!m._nuxtOnBeforeMountCbs){m._nuxtOnBeforeMountCbs=[];const b=m._nuxtOnBeforeMountCbs;lP(()=>{b.forEach(y=>{y()}),b.splice(0,b.length)}),G0(()=>b.splice(0,b.length))}d&&o.isHydrating&&(u.error.value||c())?(u.pending.value=!1,u.status.value=u.error.value?"error":"success"):m&&(o.payload.serverRendered&&o.isHydrating||i.lazy)&&i.immediate?m._nuxtOnBeforeMountCbs.push(f):i.immediate&&f();const v=z0();if(i.watch){const b=Ar(i.watch,()=>u.refresh());v&&Ib(b)}const g=o.hook("app:data:refresh",async b=>{(!b||b.includes(n))&&await u.refresh()});v&&Ib(g)}const h=Promise.resolve(o._asyncDataPromises[n]).then(()=>u);return Object.assign(h,u),h}function rW(t,e){e in t.payload.data&&(t.payload.data[e]=void 0),e in t.payload._errors&&(t.payload._errors[e]=Vu.errorValue),t._asyncData[e]&&(t._asyncData[e].data.value=void 0,t._asyncData[e].error.value=Vu.errorValue,t._asyncData[e].pending.value=!1,t._asyncData[e].status.value="idle"),e in t._asyncDataPromises&&(t._asyncDataPromises[e]&&(t._asyncDataPromises[e].cancelled=!0),t._asyncDataPromises[e]=void 0)}function iW(t,e){const n={};for(const r of e)n[r]=t[r];return n}function vk(){return s5(()=>Lh.value?Lh.value(fu("/__og-image__/image",Ih.value,"og.json"),{query:ro.value}):{siteCofig:{},options:{},vnodes:{}},{watch:[Ih,o1]},"$XVR8o8RMBy")}function oW(){return s5(()=>Lh.value?Lh.value("/__og-image__/debug.json"):{runtimeConfig:{}},{watch:[r5]},"$cHgKigQ0kS")}const a5=[{id:"abap",name:"ABAP",import:()=>re(()=>import("./DXFkqnOI.js"),[],import.meta.url)},{id:"actionscript-3",name:"ActionScript",import:()=>re(()=>import("./BigF1UXR.js"),[],import.meta.url)},{id:"ada",name:"Ada",import:()=>re(()=>import("./CowR2XfX.js"),[],import.meta.url)},{id:"angular-html",name:"Angular HTML",import:()=>re(()=>import("./ECt0lbkd.js").then(t=>t.e),__vite__mapDeps([0,1,2,3]),import.meta.url)},{id:"angular-ts",name:"Angular TypeScript",import:()=>re(()=>import("./1rqFXsGc.js"),__vite__mapDeps([4,0,1,2,3,5]),import.meta.url)},{id:"apache",name:"Apache Conf",import:()=>re(()=>import("./rS0jd3Ly.js"),[],import.meta.url)},{id:"apex",name:"Apex",import:()=>re(()=>import("./Sfo2eW0G.js"),[],import.meta.url)},{id:"apl",name:"APL",import:()=>re(()=>import("./DC4hdoM9.js"),__vite__mapDeps([6,1,2,3,7,8,9]),import.meta.url)},{id:"applescript",name:"AppleScript",import:()=>re(()=>import("./B4yE-MfL.js"),[],import.meta.url)},{id:"ara",name:"Ara",import:()=>re(()=>import("./CG4fK2Nq.js"),[],import.meta.url)},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:()=>re(()=>import("./CFF2d1j6.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:()=>re(()=>import("./PWN5J14X.js"),[],import.meta.url)},{id:"astro",name:"Astro",import:()=>re(()=>import("./BXR915QZ.js"),__vite__mapDeps([48,9,2,47,49,43,3,5,34,50,51]),import.meta.url)},{id:"awk",name:"AWK",import:()=>re(()=>import("./i0IPvypD.js"),[],import.meta.url)},{id:"ballerina",name:"Ballerina",import:()=>re(()=>import("./T9ysyp6P.js"),[],import.meta.url)},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>re(()=>import("./BPiaQZfK.js"),[],import.meta.url)},{id:"beancount",name:"Beancount",import:()=>re(()=>import("./Urb1RsFe.js"),[],import.meta.url)},{id:"berry",name:"Berry",aliases:["be"],import:()=>re(()=>import("./CxrokwfH.js"),[],import.meta.url)},{id:"bibtex",name:"BibTeX",import:()=>re(()=>import("./BaedD2tq.js"),[],import.meta.url)},{id:"bicep",name:"Bicep",import:()=>re(()=>import("./3ghuYFLd.js"),[],import.meta.url)},{id:"blade",name:"Blade",import:()=>re(()=>import("./C1DVX8_8.js"),__vite__mapDeps([52,1,2,3,7,8,19,9]),import.meta.url)},{id:"c",name:"C",import:()=>re(()=>import("./RCJZWN-0.js"),[],import.meta.url)},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>re(()=>import("./Bgpqy2XC.js"),[],import.meta.url)},{id:"clarity",name:"Clarity",import:()=>re(()=>import("./DV9JwLIa.js"),[],import.meta.url)},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>re(()=>import("./BF6G6X0H.js"),[],import.meta.url)},{id:"cmake",name:"CMake",import:()=>re(()=>import("./DXZpi2gR.js"),[],import.meta.url)},{id:"cobol",name:"COBOL",import:()=>re(()=>import("./Cgl53LJQ.js"),__vite__mapDeps([53,19,1,2,3,8]),import.meta.url)},{id:"codeowners",name:"CODEOWNERS",import:()=>re(()=>import("./CGmujMTu.js"),[],import.meta.url)},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>re(()=>import("./BOpLLL-w.js"),[],import.meta.url)},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>re(()=>import("./Bg0wAK5a.js"),__vite__mapDeps([15,2]),import.meta.url)},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:()=>re(()=>import("./C3qUB5O8.js"),[],import.meta.url)},{id:"cpp",name:"C++",aliases:["c++"],import:()=>re(()=>import("./BB42E8aY.js"),__vite__mapDeps([16,17,18,13,19]),import.meta.url)},{id:"crystal",name:"Crystal",import:()=>re(()=>import("./B6bHXiXE.js"),__vite__mapDeps([54,1,2,3,19,13,40]),import.meta.url)},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>re(()=>import("./Bdt_eLrj.js"),[],import.meta.url)},{id:"css",name:"CSS",import:()=>re(()=>import("./CbYhyuC0.js"),[],import.meta.url)},{id:"csv",name:"CSV",import:()=>re(()=>import("./B2DkETJQ.js"),[],import.meta.url)},{id:"cue",name:"CUE",import:()=>re(()=>import("./C6Aznpr-.js"),[],import.meta.url)},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>re(()=>import("./ByMv4Xf1.js"),[],import.meta.url)},{id:"d",name:"D",import:()=>re(()=>import("./PifQWv0n.js"),[],import.meta.url)},{id:"dart",name:"Dart",import:()=>re(()=>import("./DZLoTQm4.js"),[],import.meta.url)},{id:"dax",name:"DAX",import:()=>re(()=>import("./DsfXcHUZ.js"),[],import.meta.url)},{id:"desktop",name:"Desktop",import:()=>re(()=>import("./D71BffLY.js"),[],import.meta.url)},{id:"diff",name:"Diff",import:()=>re(()=>import("./DvyTQcux.js"),[],import.meta.url)},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>re(()=>import("./DNR26wTC.js"),[],import.meta.url)},{id:"dream-maker",name:"Dream Maker",import:()=>re(()=>import("./Eh5U-gDp.js"),[],import.meta.url)},{id:"edge",name:"Edge",import:()=>re(()=>import("./DVC_qXWv.js"),__vite__mapDeps([55,47,1,2,3,56]),import.meta.url)},{id:"elixir",name:"Elixir",import:()=>re(()=>import("./BaNxgKSR.js"),__vite__mapDeps([23,1,2,3]),import.meta.url)},{id:"elm",name:"Elm",import:()=>re(()=>import("./RE3ujT-k.js"),__vite__mapDeps([24,18,13]),import.meta.url)},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:()=>re(()=>import("./BEjL32p1.js"),[],import.meta.url)},{id:"erb",name:"ERB",import:()=>re(()=>import("./ChMCFiS0.js"),__vite__mapDeps([57,1,2,3,39,7,8,19,13,40,41]),import.meta.url)},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>re(()=>import("./DS9ZWoKD.js"),[],import.meta.url)},{id:"fennel",name:"Fennel",import:()=>re(()=>import("./C6XIsc4F.js"),[],import.meta.url)},{id:"fish",name:"Fish",import:()=>re(()=>import("./DfeQjIbs.js"),[],import.meta.url)},{id:"fluent",name:"Fluent",aliases:["ftl"],import:()=>re(()=>import("./KPqz0Sb3.js"),[],import.meta.url)},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>re(()=>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:()=>re(()=>import("./D6pmzCqS.js"),[],import.meta.url)},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>re(()=>import("./BVkeqZ59.js"),__vite__mapDeps([60,61]),import.meta.url)},{id:"gdresource",name:"GDResource",import:()=>re(()=>import("./BBBqETUW.js"),__vite__mapDeps([62,63,64]),import.meta.url)},{id:"gdscript",name:"GDScript",import:()=>re(()=>import("./cw46T5ID.js"),[],import.meta.url)},{id:"gdshader",name:"GDShader",import:()=>re(()=>import("./B_SUYfiV.js"),[],import.meta.url)},{id:"genie",name:"Genie",import:()=>re(()=>import("./DAfrLhwG.js"),[],import.meta.url)},{id:"gherkin",name:"Gherkin",import:()=>re(()=>import("./DjTlIhuc.js"),[],import.meta.url)},{id:"git-commit",name:"Git Commit Message",import:()=>re(()=>import("./DAVo6uMX.js"),__vite__mapDeps([65,21]),import.meta.url)},{id:"git-rebase",name:"Git Rebase Message",import:()=>re(()=>import("./JgH_6NEN.js"),__vite__mapDeps([66,40]),import.meta.url)},{id:"gleam",name:"Gleam",import:()=>re(()=>import("./Dd6f7Z5P.js"),[],import.meta.url)},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>re(()=>import("./Bbv8ARUV.js"),__vite__mapDeps([67,2,47,3,1]),import.meta.url)},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>re(()=>import("./CQUCfALx.js"),__vite__mapDeps([68,47,3,2,1]),import.meta.url)},{id:"glsl",name:"GLSL",import:()=>re(()=>import("./DouzTJIq.js"),__vite__mapDeps([18,13]),import.meta.url)},{id:"gnuplot",name:"Gnuplot",import:()=>re(()=>import("./nclm9rTJ.js"),[],import.meta.url)},{id:"go",name:"Go",import:()=>re(()=>import("./DM4HHECw.js"),[],import.meta.url)},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>re(()=>import("./BN4LRXf6.js"),__vite__mapDeps([69,2,47,29,51]),import.meta.url)},{id:"groovy",name:"Groovy",import:()=>re(()=>import("./wChcbJ1V.js"),[],import.meta.url)},{id:"hack",name:"Hack",import:()=>re(()=>import("./BmCW-tYz.js"),__vite__mapDeps([70,1,2,3,19]),import.meta.url)},{id:"haml",name:"Ruby Haml",import:()=>re(()=>import("./0ooBkv16.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:()=>re(()=>import("./DJubGRtk.js"),__vite__mapDeps([72,1,2,3,11]),import.meta.url)},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>re(()=>import("./DAGYewaG.js"),[],import.meta.url)},{id:"haxe",name:"Haxe",import:()=>re(()=>import("./Dit6kIrv.js"),[],import.meta.url)},{id:"hcl",name:"HashiCorp HCL",import:()=>re(()=>import("./CpAANOdC.js"),[],import.meta.url)},{id:"hjson",name:"Hjson",import:()=>re(()=>import("./DZqG9GXz.js"),[],import.meta.url)},{id:"hlsl",name:"HLSL",import:()=>re(()=>import("./DmDrTTlz.js"),[],import.meta.url)},{id:"html",name:"HTML",import:()=>re(()=>import("./CbViG2Xw.js"),__vite__mapDeps([1,2,3]),import.meta.url)},{id:"html-derivative",name:"HTML (Derivative)",import:()=>re(()=>import("./BR6CMsBL.js"),__vite__mapDeps([56,1,2,3]),import.meta.url)},{id:"http",name:"HTTP",import:()=>re(()=>import("./CqYeW6XZ.js"),__vite__mapDeps([73,40,9,7,8,69,2,47,29,51]),import.meta.url)},{id:"hxml",name:"HXML",import:()=>re(()=>import("./CiRxTSAc.js"),__vite__mapDeps([74,75]),import.meta.url)},{id:"hy",name:"Hy",import:()=>re(()=>import("./C3qJFuQy.js"),[],import.meta.url)},{id:"imba",name:"Imba",import:()=>re(()=>import("./DzwdaLuO.js"),__vite__mapDeps([76,47]),import.meta.url)},{id:"ini",name:"INI",aliases:["properties"],import:()=>re(()=>import("./DeVv6D4_.js"),[],import.meta.url)},{id:"java",name:"Java",import:()=>re(()=>import("./ClXEvkw9.js"),[],import.meta.url)},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>re(()=>import("./Dch3xQiY.js"),[],import.meta.url)},{id:"jinja",name:"Jinja",import:()=>re(()=>import("./D4LaosRr.js"),__vite__mapDeps([77,1,2,3]),import.meta.url)},{id:"jison",name:"Jison",import:()=>re(()=>import("./DY7_9Ga-.js"),__vite__mapDeps([78,2]),import.meta.url)},{id:"json",name:"JSON",import:()=>re(()=>import("./CupVZNk8.js"),[],import.meta.url)},{id:"json5",name:"JSON5",import:()=>re(()=>import("./Bh8mriwU.js"),[],import.meta.url)},{id:"jsonc",name:"JSON with Comments",import:()=>re(()=>import("./DYI1rfmx.js"),[],import.meta.url)},{id:"jsonl",name:"JSON Lines",import:()=>re(()=>import("./BUpeXbsf.js"),[],import.meta.url)},{id:"jsonnet",name:"Jsonnet",import:()=>re(()=>import("./C9d3aiqh.js"),[],import.meta.url)},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>re(()=>import("./Dble9ECP.js"),[],import.meta.url)},{id:"jsx",name:"JSX",import:()=>re(()=>import("./CsyrCbsw.js"),[],import.meta.url)},{id:"julia",name:"Julia",aliases:["jl"],import:()=>re(()=>import("./kuh6G-Sk.js"),__vite__mapDeps([30,16,17,18,13,19,31,2,32]),import.meta.url)},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>re(()=>import("./BIxS-Weu.js"),[],import.meta.url)},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>re(()=>import("./DGEpfOTx.js"),[],import.meta.url)},{id:"latex",name:"LaTeX",import:()=>re(()=>import("./CCqFro8U.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:"less",name:"Less",import:()=>re(()=>import("./Du6_OKDb.js"),[],import.meta.url)},{id:"liquid",name:"Liquid",import:()=>re(()=>import("./Dg0DGYq4.js"),__vite__mapDeps([82,1,2,3,9]),import.meta.url)},{id:"log",name:"Log file",import:()=>re(()=>import("./Ksn5IXup.js"),[],import.meta.url)},{id:"logo",name:"Logo",import:()=>re(()=>import("./DdacRhvC.js"),[],import.meta.url)},{id:"lua",name:"Lua",import:()=>re(()=>import("./BVGdgKAv.js"),__vite__mapDeps([41,13]),import.meta.url)},{id:"luau",name:"Luau",import:()=>re(()=>import("./VQMr7AbF.js"),[],import.meta.url)},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>re(()=>import("./B9S9BZZh.js"),[],import.meta.url)},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>re(()=>import("./BnyYJeap.js"),[],import.meta.url)},{id:"marko",name:"Marko",import:()=>re(()=>import("./DGDuLtS6.js"),__vite__mapDeps([83,3,34,5,2]),import.meta.url)},{id:"matlab",name:"MATLAB",import:()=>re(()=>import("./Btshr8M_.js"),[],import.meta.url)},{id:"mdc",name:"MDC",import:()=>re(()=>import("./CJIaz0BQ.js"),__vite__mapDeps([84,61,11,56,1,2,3]),import.meta.url)},{id:"mdx",name:"MDX",import:()=>re(()=>import("./CBPJd_fO.js"),[],import.meta.url)},{id:"mermaid",name:"Mermaid",import:()=>re(()=>import("./Cb-F_BZP.js"),[],import.meta.url)},{id:"mojo",name:"Mojo",import:()=>re(()=>import("./-7WWnkdy.js"),[],import.meta.url)},{id:"move",name:"Move",import:()=>re(()=>import("./DOHBU7tp.js"),[],import.meta.url)},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>re(()=>import("./B9CT-1u6.js"),[],import.meta.url)},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>re(()=>import("./DBxHOdLe.js"),[],import.meta.url)},{id:"nginx",name:"Nginx",import:()=>re(()=>import("./DR5YgmI2.js"),__vite__mapDeps([85,41,13]),import.meta.url)},{id:"nim",name:"Nim",import:()=>re(()=>import("./D7WeZTai.js"),__vite__mapDeps([86,13,1,2,3,7,8,18,61]),import.meta.url)},{id:"nix",name:"Nix",import:()=>re(()=>import("./B7rNE5kf.js"),[],import.meta.url)},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>re(()=>import("./CrgTADc5.js"),[],import.meta.url)},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>re(()=>import("./DHmGyzbM.js"),[],import.meta.url)},{id:"objective-cpp",name:"Objective-C++",import:()=>re(()=>import("./BWKJ1FCf.js"),[],import.meta.url)},{id:"ocaml",name:"OCaml",import:()=>re(()=>import("./RqY_Nz63.js"),[],import.meta.url)},{id:"pascal",name:"Pascal",import:()=>re(()=>import("./BvCdDh2R.js"),[],import.meta.url)},{id:"perl",name:"Perl",import:()=>re(()=>import("./Dwo2i-71.js"),__vite__mapDeps([38,1,2,3,7,8,19]),import.meta.url)},{id:"php",name:"PHP",import:()=>re(()=>import("./Cthz8VOO.js"),__vite__mapDeps([87,1,2,3,7,8,19,9]),import.meta.url)},{id:"plsql",name:"PL/SQL",import:()=>re(()=>import("./BbJj1K1w.js"),[],import.meta.url)},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:()=>re(()=>import("./HrnDn_2Q.js"),[],import.meta.url)},{id:"postcss",name:"PostCSS",import:()=>re(()=>import("./DXT9h7v2.js"),[],import.meta.url)},{id:"powerquery",name:"PowerQuery",import:()=>re(()=>import("./CApMHEaB.js"),[],import.meta.url)},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>re(()=>import("./9ZOzOPqN.js"),[],import.meta.url)},{id:"prisma",name:"Prisma",import:()=>re(()=>import("./BBJYjQ0k.js"),[],import.meta.url)},{id:"prolog",name:"Prolog",import:()=>re(()=>import("./BH_RS3WO.js"),[],import.meta.url)},{id:"proto",name:"Protocol Buffer 3",import:()=>re(()=>import("./DOtRmeXT.js"),[],import.meta.url)},{id:"pug",name:"Pug",aliases:["jade"],import:()=>re(()=>import("./DhFF74a2.js"),__vite__mapDeps([88,2,3,43,5,49,15,1]),import.meta.url)},{id:"puppet",name:"Puppet",import:()=>re(()=>import("./37ic6j3l.js"),[],import.meta.url)},{id:"purescript",name:"PureScript",import:()=>re(()=>import("./CfPQhs6g.js"),[],import.meta.url)},{id:"python",name:"Python",aliases:["py"],import:()=>re(()=>import("./DwuVtWc2.js"),[],import.meta.url)},{id:"qml",name:"QML",import:()=>re(()=>import("./BwXNTs7T.js"),__vite__mapDeps([89,2]),import.meta.url)},{id:"qmldir",name:"QML Directory",import:()=>re(()=>import("./MS3qTAOR.js"),[],import.meta.url)},{id:"qss",name:"Qt Style Sheets",import:()=>re(()=>import("./FJDVp-XM.js"),[],import.meta.url)},{id:"r",name:"R",import:()=>re(()=>import("./BXfENWL6.js"),[],import.meta.url)},{id:"racket",name:"Racket",import:()=>re(()=>import("./Cp2HGa90.js"),[],import.meta.url)},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>re(()=>import("./D384ylkT.js"),[],import.meta.url)},{id:"razor",name:"ASP.NET Razor",import:()=>re(()=>import("./CJGKC1_q.js"),__vite__mapDeps([90,1,2,3,20]),import.meta.url)},{id:"reg",name:"Windows Registry Script",import:()=>re(()=>import("./CrhH3_Og.js"),[],import.meta.url)},{id:"regexp",name:"RegExp",aliases:["regex"],import:()=>re(()=>import("./C_ZPRiAj.js"),[],import.meta.url)},{id:"rel",name:"Rel",import:()=>re(()=>import("./6Kuza3Wr.js"),[],import.meta.url)},{id:"riscv",name:"RISC-V",import:()=>re(()=>import("./AgnqFTPX.js"),[],import.meta.url)},{id:"rst",name:"reStructuredText",import:()=>re(()=>import("./BVLuctcA.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:()=>re(()=>import("./CarfVElc.js"),__vite__mapDeps([39,1,2,3,7,8,19,13,40,41]),import.meta.url)},{id:"rust",name:"Rust",aliases:["rs"],import:()=>re(()=>import("./DGxQkqYo.js"),[],import.meta.url)},{id:"sas",name:"SAS",import:()=>re(()=>import("./8t4jSAMm.js"),__vite__mapDeps([93,19]),import.meta.url)},{id:"sass",name:"Sass",import:()=>re(()=>import("./CMDmr8et.js"),[],import.meta.url)},{id:"scala",name:"Scala",import:()=>re(()=>import("./vMsNTMhM.js"),[],import.meta.url)},{id:"scheme",name:"Scheme",import:()=>re(()=>import("./1Je9_Reo.js"),[],import.meta.url)},{id:"scss",name:"SCSS",import:()=>re(()=>import("./BeX7Iu5M.js"),__vite__mapDeps([5,3]),import.meta.url)},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>re(()=>import("./BiDE021q.js"),__vite__mapDeps([94,95]),import.meta.url)},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>re(()=>import("./BZfs-ost.js"),[],import.meta.url)},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>re(()=>import("./dIHJ9UdL.js"),__vite__mapDeps([96,40]),import.meta.url)},{id:"smalltalk",name:"Smalltalk",import:()=>re(()=>import("./DSsji4Hu.js"),[],import.meta.url)},{id:"solidity",name:"Solidity",import:()=>re(()=>import("./CThH5sBG.js"),[],import.meta.url)},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:()=>re(()=>import("./DKb4lQY2.js"),__vite__mapDeps([97,1,2,3]),import.meta.url)},{id:"sparql",name:"SPARQL",import:()=>re(()=>import("./DJZWsvj0.js"),__vite__mapDeps([98,99]),import.meta.url)},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>re(()=>import("./6XBPEST2.js"),[],import.meta.url)},{id:"sql",name:"SQL",import:()=>re(()=>import("./DbK06e1c.js"),[],import.meta.url)},{id:"ssh-config",name:"SSH Config",import:()=>re(()=>import("./BH1M7C1g.js"),[],import.meta.url)},{id:"stata",name:"Stata",import:()=>re(()=>import("./DLP9ZvWb.js"),__vite__mapDeps([100,19]),import.meta.url)},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>re(()=>import("./DSrLtGYv.js"),[],import.meta.url)},{id:"svelte",name:"Svelte",import:()=>re(()=>import("./C1yTBzia.js"),__vite__mapDeps([101,2,47,15,49,43,3,5,34,50,88,1,61]),import.meta.url)},{id:"swift",name:"Swift",import:()=>re(()=>import("./BeJnKnI_.js"),[],import.meta.url)},{id:"system-verilog",name:"SystemVerilog",import:()=>re(()=>import("./BscxmKrE.js"),[],import.meta.url)},{id:"systemd",name:"Systemd Units",import:()=>re(()=>import("./CuJfdYLG.js"),[],import.meta.url)},{id:"tasl",name:"Tasl",import:()=>re(()=>import("./BxwAa5i0.js"),[],import.meta.url)},{id:"tcl",name:"Tcl",import:()=>re(()=>import("./C_8Fx7bH.js"),[],import.meta.url)},{id:"templ",name:"Templ",import:()=>re(()=>import("./BMHPAh1U.js"),__vite__mapDeps([102,26,2,3]),import.meta.url)},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>re(()=>import("./DBeuZS66.js"),[],import.meta.url)},{id:"tex",name:"TeX",import:()=>re(()=>import("./Bj0fF4lQ.js"),__vite__mapDeps([80,32]),import.meta.url)},{id:"toml",name:"TOML",import:()=>re(()=>import("./BT9ZzGyQ.js"),[],import.meta.url)},{id:"tsv",name:"TSV",import:()=>re(()=>import("./DnLUQrgA.js"),[],import.meta.url)},{id:"tsx",name:"TSX",import:()=>re(()=>import("./BlxWTfDV.js"),[],import.meta.url)},{id:"turtle",name:"Turtle",import:()=>re(()=>import("./C15OxdQ5.js"),[],import.meta.url)},{id:"twig",name:"Twig",import:()=>re(()=>import("./BacI6-DX.js"),__vite__mapDeps([103,3,2,5,87,1,7,8,19,9,31,39,13,40,41]),import.meta.url)},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>re(()=>import("./DC8MraHL.js"),[],import.meta.url)},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:()=>re(()=>import("./DAP_O-zg.js"),[],import.meta.url)},{id:"typst",name:"Typst",aliases:["typ"],import:()=>re(()=>import("./I4qd5QHW.js"),[],import.meta.url)},{id:"v",name:"V",import:()=>re(()=>import("./C2TBxDwV.js"),[],import.meta.url)},{id:"vala",name:"Vala",import:()=>re(()=>import("./CO5hpdkB.js"),[],import.meta.url)},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>re(()=>import("./beD-FUib.js"),[],import.meta.url)},{id:"verilog",name:"Verilog",import:()=>re(()=>import("./DVfdqzEq.js"),[],import.meta.url)},{id:"vhdl",name:"VHDL",import:()=>re(()=>import("./QZ3jNtnE.js"),[],import.meta.url)},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>re(()=>import("./BLluXI4E.js"),[],import.meta.url)},{id:"vue",name:"Vue",import:()=>re(()=>import("./Bi43K_FX.js"),__vite__mapDeps([104,1,2,3,61,88,43,5,49,15,34,47,29,51,9,105,106,11,46,69,56]),import.meta.url)},{id:"vue-html",name:"Vue HTML",import:()=>re(()=>import("./D33OKbkv.js"),__vite__mapDeps([107,104,1,2,3,61,88,43,5,49,15,34,47,29,51,9,105,106,11,46,69,56]),import.meta.url)},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>re(()=>import("./CBWrHyXe.js"),[],import.meta.url)},{id:"wasm",name:"WebAssembly",import:()=>re(()=>import("./Cicx_DS6.js"),[],import.meta.url)},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>re(()=>import("./D3VXSfF0.js"),[],import.meta.url)},{id:"wgsl",name:"WGSL",import:()=>re(()=>import("./BZz1Hhek.js"),[],import.meta.url)},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:()=>re(()=>import("./DrnZp123.js"),__vite__mapDeps([108,1,2,3,109,8,41,13,35,38,7,19,32,39,40,87,9,110,111,11,112,14,15,16,17,18,21,22,26,27,88,43,5,49,105,34,36,45,113,114,31,30,42,44,47,20,60,61,115,72,25,23,79,80,81,28,116]),import.meta.url)},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>re(()=>import("./BICIrM8O.js"),[],import.meta.url)},{id:"xml",name:"XML",import:()=>re(()=>import("./CsYA0RN7.js"),__vite__mapDeps([7,8]),import.meta.url)},{id:"xsl",name:"XSL",import:()=>re(()=>import("./CJQrLysU.js"),__vite__mapDeps([111,7,8]),import.meta.url)},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>re(()=>import("./DK4oFTHQ.js"),[],import.meta.url)},{id:"zenscript",name:"ZenScript",import:()=>re(()=>import("./B1nm99XP.js"),[],import.meta.url)},{id:"zig",name:"Zig",import:()=>re(()=>import("./yX2IItqj.js"),[],import.meta.url)}],sW=Object.fromEntries(a5.map(t=>[t.id,t.import])),aW=Object.fromEntries(a5.flatMap(t=>{var e;return((e=t.aliases)==null?void 0:e.map(n=>[n,t.import]))||[]})),lW={...sW,...aW},cW=async t=>re(()=>import("./CsTmP73Z.js"),[],import.meta.url).then(e=>e.default(t)),uW=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>re(()=>import("./YxQm0tCS.js"),[],import.meta.url)},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>re(()=>import("./BaWyeHV_.js"),[],import.meta.url)},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>re(()=>import("./Bn5gmY5k.js"),[],import.meta.url)},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:()=>re(()=>import("./CSPeAESR.js"),[],import.meta.url)},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>re(()=>import("./BYdKNJ10.js"),[],import.meta.url)},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>re(()=>import("./DVLwECkk.js"),[],import.meta.url)},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>re(()=>import("./CEfge3mM.js"),[],import.meta.url)},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>re(()=>import("./KEYLhlmT.js"),[],import.meta.url)},{id:"dracula",displayName:"Dracula",type:"dark",import:()=>re(()=>import("./DGO8GyiP.js"),[],import.meta.url)},{id:"dracula-soft",displayName:"Dracula Soft",type:"dark",import:()=>re(()=>import("./9B1nZgL-.js"),[],import.meta.url)},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>re(()=>import("./CzPA46E-.js"),[],import.meta.url)},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>re(()=>import("./BXF7Vm5l.js"),[],import.meta.url)},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>re(()=>import("./CRDKj6ck.js"),[],import.meta.url)},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>re(()=>import("./CRlnGVMD.js"),[],import.meta.url)},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>re(()=>import("./UREJT2Bw.js"),[],import.meta.url)},{id:"houston",displayName:"Houston",type:"dark",import:()=>re(()=>import("./CZZ6oYdA.js"),[],import.meta.url)},{id:"laserwave",displayName:"LaserWave",type:"dark",import:()=>re(()=>import("./cW9vKj3g.js"),[],import.meta.url)},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>re(()=>import("./BsvsQ1iS.js"),[],import.meta.url)},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>re(()=>import("./CgwOUXSn.js"),[],import.meta.url)},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>re(()=>import("./CO7HdiM_.js"),[],import.meta.url)},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>re(()=>import("./qxoleWdb.js"),[],import.meta.url)},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>re(()=>import("./ChH25C4w.js"),[],import.meta.url)},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>re(()=>import("./DOqtC9FP.js"),[],import.meta.url)},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>re(()=>import("./iSbrOpM4.js"),[],import.meta.url)},{id:"min-light",displayName:"Min Light",type:"light",import:()=>re(()=>import("./BITGhEdf.js"),[],import.meta.url)},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>re(()=>import("./sMI-pExk.js"),[],import.meta.url)},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>re(()=>import("./BeocmOPF.js"),[],import.meta.url)},{id:"nord",displayName:"Nord",type:"dark",import:()=>re(()=>import("./CsyjKwr8.js"),[],import.meta.url)},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>re(()=>import("./BTtaZsq5.js"),[],import.meta.url)},{id:"one-light",displayName:"One Light",type:"light",import:()=>re(()=>import("./alpzPJ78.js"),[],import.meta.url)},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>re(()=>import("./Cda-MJFk.js"),[],import.meta.url)},{id:"red",displayName:"Red",type:"dark",import:()=>re(()=>import("./jaXbsbtS.js"),[],import.meta.url)},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:()=>re(()=>import("./CX_FIdg1.js"),[],import.meta.url)},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:()=>re(()=>import("./Bj5xdiaE.js"),[],import.meta.url)},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:()=>re(()=>import("./CdedUr_-.js"),[],import.meta.url)},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>re(()=>import("./C7oZ9nno.js"),[],import.meta.url)},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>re(()=>import("./hXH8Gyq8.js"),[],import.meta.url)},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:()=>re(()=>import("./CA9nliXM.js"),[],import.meta.url)},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>re(()=>import("./C86elO-m.js"),[],import.meta.url)},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>re(()=>import("./xPNGhBYe.js"),[],import.meta.url)},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>re(()=>import("./BBDuFDsq.js"),[],import.meta.url)},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>re(()=>import("./eJfcURhx.js"),[],import.meta.url)},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>re(()=>import("./BSB_bK09.js"),[],import.meta.url)},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>re(()=>import("./B3g-KkBK.js"),[],import.meta.url)},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>re(()=>import("./Bxkoe-BC.js"),[],import.meta.url)},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>re(()=>import("./Br6ll-O0.js"),[],import.meta.url)}],fW=Object.fromEntries(uW.map(t=>[t.id,t.import]));var ts;(function(t){t[t.NotSet=-1]="NotSet",t[t.None=0]="None",t[t.Italic=1]="Italic",t[t.Bold=2]="Bold",t[t.Underline=4]="Underline"})(ts||(ts={}));var Bf;(function(t){function e(u){return u.toString(2).padStart(32,"0")}t.toBinaryStr=e;function n(u){const f=t.getLanguageId(u),d=t.getTokenType(u),h=t.getFontStyle(u),p=t.getForeground(u),m=t.getBackground(u);console.log({languageId:f,tokenType:d,fontStyle:h,foreground:p,background:m})}t.print=n;function r(u){return(u&255)>>>0}t.getLanguageId=r;function i(u){return(u&768)>>>8}t.getTokenType=i;function o(u){return(u&1024)!==0}t.containsBalancedBrackets=o;function s(u){return(u&30720)>>>11}t.getFontStyle=s;function a(u){return(u&16744448)>>>15}t.getForeground=a;function l(u){return(u&4278190080)>>>24}t.getBackground=l;function c(u,f,d,h,p,m,v){let g=t.getLanguageId(u),b=t.getTokenType(u),y=t.containsBalancedBrackets(u)?1:0,x=t.getFontStyle(u),w=t.getForeground(u),_=t.getBackground(u);return f!==0&&(g=f),d!==8&&(b=d),h!==null&&(y=h?1:0),p!==-1&&(x=p),m!==0&&(w=m),v!==0&&(_=v),(g<<0|b<<8|y<<10|x<<11|w<<15|_<<24)>>>0}t.set=c})(Bf||(Bf={}));function bv(t,e){const n=[],r=dW(t);let i=r.next();for(;i!==null;){let l=0;if(i.length===2&&i.charAt(1)===":"){switch(i.charAt(0)){case"R":l=1;break;case"L":l=-1;break;default:console.log(`Unknown priority ${i} in scope selector`)}i=r.next()}let c=s();if(n.push({matcher:c,priority:l}),i!==",")break;i=r.next()}return n;function o(){if(i==="-"){i=r.next();const l=o();return c=>!!l&&!l(c)}if(i==="("){i=r.next();const l=a();return i===")"&&(i=r.next()),l}if(yk(i)){const l=[];do l.push(i),i=r.next();while(yk(i));return c=>e(l,c)}return null}function s(){const l=[];let c=o();for(;c;)l.push(c),c=o();return u=>l.every(f=>f(u))}function a(){const l=[];let c=s();for(;c&&(l.push(c),i==="|"||i===",");){do i=r.next();while(i==="|"||i===",");c=s()}return u=>l.some(f=>f(u))}}function yk(t){return!!t&&!!t.match(/[\w\.:]+/)}function dW(t){let e=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=e.exec(t);return{next:()=>{if(!n)return null;const r=n[0];return n=e.exec(t),r}}}function l5(t){typeof t.dispose=="function"&&t.dispose()}function hW(t){return u_(t)}function u_(t){return Array.isArray(t)?pW(t):typeof t=="object"?mW(t):t}function pW(t){let e=[];for(let n=0,r=t.length;n<r;n++)e[n]=u_(t[n]);return e}function mW(t){let e={};for(let n in t)e[n]=u_(t[n]);return e}function c5(t,...e){return e.forEach(n=>{for(let r in n)t[r]=n[r]}),t}function u5(t){const e=~t.lastIndexOf("/")||~t.lastIndexOf("\\");return e===0?t:~e===t.length-1?u5(t.substring(0,t.length-1)):t.substr(~e+1)}let Sy=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class mm{static hasCaptures(e){return e===null?!1:(Sy.lastIndex=0,Sy.test(e))}static replaceCaptures(e,n,r){return e.replace(Sy,(i,o,s,a)=>{let l=r[parseInt(o||s,10)];if(l){let c=n.substring(l.start,l.end);for(;c[0]===".";)c=c.substring(1);switch(a){case"downcase":return c.toLowerCase();case"upcase":return c.toUpperCase();default:return c}}else return i})}}function f5(t,e){return t<e?-1:t>e?1:0}function d5(t,e){if(t===null&&e===null)return 0;if(!t)return-1;if(!e)return 1;let n=t.length,r=e.length;if(n===r){for(let i=0;i<n;i++){let o=f5(t[i],e[i]);if(o!==0)return o}return 0}return n-r}function bk(t){return!!(/^#[0-9a-f]{6}$/i.test(t)||/^#[0-9a-f]{8}$/i.test(t)||/^#[0-9a-f]{3}$/i.test(t)||/^#[0-9a-f]{4}$/i.test(t))}function h5(t){return t.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}class p5{constructor(e){de(this,"fn");de(this,"cache",new Map);this.fn=e}get(e){if(this.cache.has(e))return this.cache.get(e);const n=this.fn(e);return this.cache.set(e,n),n}}class Dh{constructor(e){de(this,"scopeName");this.scopeName=e}toKey(){return this.scopeName}}class gW{constructor(e,n){de(this,"scopeName");de(this,"ruleName");this.scopeName=e,this.ruleName=n}toKey(){return`${this.scopeName}#${this.ruleName}`}}class vW{constructor(){de(this,"_references",[]);de(this,"_seenReferenceKeys",new Set);de(this,"visitedRule",new Set)}get references(){return this._references}add(e){const n=e.toKey();this._seenReferenceKeys.has(n)||(this._seenReferenceKeys.add(n),this._references.push(e))}}class yW{constructor(e,n){de(this,"repo");de(this,"initialScopeName");de(this,"seenFullScopeRequests",new Set);de(this,"seenPartialScopeRequests",new Set);de(this,"Q");this.repo=e,this.initialScopeName=n,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Dh(this.initialScopeName)]}processQueue(){const e=this.Q;this.Q=[];const n=new vW;for(const r of e)bW(r,this.initialScopeName,this.repo,n);for(const r of n.references)if(r instanceof Dh){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 bW(t,e,n,r){const i=n.lookup(t.scopeName);if(!i){if(t.scopeName===e)throw new Error(`No grammar provided for <${e}>`);return}const o=n.lookup(e);t instanceof Dh?kg({baseGrammar:o,selfGrammar:i},r):gw(t.ruleName,{baseGrammar:o,selfGrammar:i,repository:i.repository},r);const s=n.injections(t.scopeName);if(s)for(const a of s)r.add(new Dh(a))}function gw(t,e,n){if(e.repository&&e.repository[t]){const r=e.repository[t];wv([r],e,n)}}function kg(t,e){t.selfGrammar.patterns&&Array.isArray(t.selfGrammar.patterns)&&wv(t.selfGrammar.patterns,{...t,repository:t.selfGrammar.repository},e),t.selfGrammar.injections&&wv(Object.values(t.selfGrammar.injections),{...t,repository:t.selfGrammar.repository},e)}function wv(t,e,n){for(const r of t){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const i=r.repository?c5({},e.repository,r.repository):e.repository;Array.isArray(r.patterns)&&wv(r.patterns,{...e,repository:i},n);const o=r.include;if(!o)continue;const s=m5(o);switch(s.kind){case 0:kg({...e,selfGrammar:e.baseGrammar},n);break;case 1:kg(e,n);break;case 2:gw(s.ruleName,{...e,repository:i},n);break;case 3:case 4:const a=s.scopeName===e.selfGrammar.scopeName?e.selfGrammar:s.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(a){const l={baseGrammar:e.baseGrammar,selfGrammar:a,repository:i};s.kind===4?gw(s.ruleName,l,n):kg(l,n)}else s.kind===4?n.add(new gW(s.scopeName,s.ruleName)):n.add(new Dh(s.scopeName));break}}}class wW{constructor(){de(this,"kind",0)}}class xW{constructor(){de(this,"kind",1)}}class _W{constructor(e){de(this,"ruleName");de(this,"kind",2);this.ruleName=e}}class jW{constructor(e){de(this,"scopeName");de(this,"kind",3);this.scopeName=e}}class $W{constructor(e,n){de(this,"scopeName");de(this,"ruleName");de(this,"kind",4);this.scopeName=e,this.ruleName=n}}function m5(t){if(t==="$base")return new wW;if(t==="$self")return new xW;const e=t.indexOf("#");if(e===-1)return new jW(t);if(e===0)return new _W(t.substring(1));{const n=t.substring(0,e),r=t.substring(e+1);return new $W(n,r)}}const SW=/\\(\d+)/,wk=/\\(\d+)/g,kW=-1,g5=-2;let Cp=class{constructor(e,n,r,i){de(this,"$location");de(this,"id");de(this,"_nameIsCapturing");de(this,"_name");de(this,"_contentNameIsCapturing");de(this,"_contentName");this.$location=e,this.id=n,this._name=r||null,this._nameIsCapturing=mm.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=mm.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${u5(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,n){return!this._nameIsCapturing||this._name===null||e===null||n===null?this._name:mm.replaceCaptures(this._name,e,n)}getContentName(e,n){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:mm.replaceCaptures(this._contentName,e,n)}};class CW extends Cp{constructor(n,r,i,o,s){super(n,r,i,o);de(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,i,o){throw new Error("Not supported!")}}class EW extends Cp{constructor(n,r,i,o,s){super(n,r,i,null);de(this,"_match");de(this,"captures");de(this,"_cachedCompiledPatterns");this._match=new Hc(o,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,i,o){return this._getCachedCompiledPatterns(n).compileAG(n,i,o)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Bh,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class xk extends Cp{constructor(n,r,i,o,s){super(n,r,i,o);de(this,"hasMissingPatterns");de(this,"patterns");de(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 i of this.patterns)n.getRule(i).collectPatterns(n,r)}compile(n,r){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,r,i,o){return this._getCachedCompiledPatterns(n).compileAG(n,i,o)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Bh,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class vw extends Cp{constructor(n,r,i,o,s,a,l,c,u,f){super(n,r,i,o);de(this,"_begin");de(this,"beginCaptures");de(this,"_end");de(this,"endHasBackReferences");de(this,"endCaptures");de(this,"applyEndPatternLast");de(this,"hasMissingPatterns");de(this,"patterns");de(this,"_cachedCompiledPatterns");this._begin=new Hc(s,this.id),this.beginCaptures=a,this._end=new Hc(l||"￿",-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,i,o){return this._getCachedCompiledPatterns(n,r).compileAG(n,i,o)}_getCachedCompiledPatterns(n,r){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Bh;for(const i of this.patterns)n.getRule(i).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 xv extends Cp{constructor(n,r,i,o,s,a,l,c,u){super(n,r,i,o);de(this,"_begin");de(this,"beginCaptures");de(this,"whileCaptures");de(this,"_while");de(this,"whileHasBackReferences");de(this,"hasMissingPatterns");de(this,"patterns");de(this,"_cachedCompiledPatterns");de(this,"_cachedCompiledWhilePatterns");this._begin=new Hc(s,this.id),this.beginCaptures=a,this.whileCaptures=c,this._while=new Hc(l,g5),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,i,o){return this._getCachedCompiledPatterns(n).compileAG(n,i,o)}_getCachedCompiledPatterns(n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Bh;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,i,o){return this._getCachedCompiledWhilePatterns(n,r).compileAG(n,i,o)}_getCachedCompiledWhilePatterns(n,r){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Bh,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,r||"￿"),this._cachedCompiledWhilePatterns}}class Xr{static createCaptureRule(e,n,r,i,o){return e.registerRule(s=>new CW(n,s,r,i,o))}static getCompiledRuleId(e,n,r){return e.id||n.registerRule(i=>{if(e.id=i,e.match)return new EW(e.$vscodeTextmateLocation,e.id,e.name,e.match,Xr._compileCaptures(e.captures,n,r));if(typeof e.begin>"u"){e.repository&&(r=c5({},r,e.repository));let o=e.patterns;return typeof o>"u"&&e.include&&(o=[{include:e.include}]),new xk(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,Xr._compilePatterns(o,n,r))}return e.while?new xv(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,Xr._compileCaptures(e.beginCaptures||e.captures,n,r),e.while,Xr._compileCaptures(e.whileCaptures||e.captures,n,r),Xr._compilePatterns(e.patterns,n,r)):new vw(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,Xr._compileCaptures(e.beginCaptures||e.captures,n,r),e.end,Xr._compileCaptures(e.endCaptures||e.captures,n,r),e.applyEndPatternLast,Xr._compilePatterns(e.patterns,n,r))}),e.id}static _compileCaptures(e,n,r){let i=[];if(e){let o=0;for(const s in e){if(s==="$vscodeTextmateLocation")continue;const a=parseInt(s,10);a>o&&(o=a)}for(let s=0;s<=o;s++)i[s]=null;for(const s in e){if(s==="$vscodeTextmateLocation")continue;const a=parseInt(s,10);let l=0;e[s].patterns&&(l=Xr.getCompiledRuleId(e[s],n,r)),i[a]=Xr.createCaptureRule(n,e[s].$vscodeTextmateLocation,e[s].name,e[s].contentName,l)}}return i}static _compilePatterns(e,n,r){let i=[];if(e)for(let o=0,s=e.length;o<s;o++){const a=e[o];let l=-1;if(a.include){const c=m5(a.include);switch(c.kind){case 0:case 1:l=Xr.getCompiledRuleId(r[a.include],n,r);break;case 2:let u=r[c.ruleName];u&&(l=Xr.getCompiledRuleId(u,n,r));break;case 3:case 4:const f=c.scopeName,d=c.kind===4?c.ruleName:null,h=n.getExternalGrammar(f,r);if(h)if(d){let p=h.repository[d];p&&(l=Xr.getCompiledRuleId(p,n,h.repository))}else l=Xr.getCompiledRuleId(h.repository.$self,n,h.repository);break}}else l=Xr.getCompiledRuleId(a,n,r);if(l!==-1){const c=n.getRule(l);let u=!1;if((c instanceof xk||c instanceof vw||c instanceof xv)&&c.hasMissingPatterns&&c.patterns.length===0&&(u=!0),u)continue;i.push(l)}}return{patterns:i,hasMissingPatterns:(e?e.length:0)!==i.length}}}class Hc{constructor(e,n){de(this,"source");de(this,"ruleId");de(this,"hasAnchor");de(this,"hasBackReferences");de(this,"_anchorCache");if(e){const r=e.length;let i=0,o=[],s=!1;for(let a=0;a<r;a++)if(e.charAt(a)==="\\"&&a+1<r){const c=e.charAt(a+1);c==="z"?(o.push(e.substring(i,a)),o.push("$(?!\\n)(?<!\\n)"),i=a+2):(c==="A"||c==="G")&&(s=!0),a++}this.hasAnchor=s,i===0?this.source=e:(o.push(e.substring(i,r)),this.source=o.join(""))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,this.hasBackReferences=SW.test(this.source)}clone(){return new Hc(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,n){let r=n.map(i=>e.substring(i.start,i.end));return wk.lastIndex=0,this.source.replace(wk,(i,o)=>h5(r[parseInt(o,10)]||""))}_buildAnchorCache(){let e=[],n=[],r=[],i=[],o,s,a,l;for(o=0,s=this.source.length;o<s;o++)a=this.source.charAt(o),e[o]=a,n[o]=a,r[o]=a,i[o]=a,a==="\\"&&o+1<s&&(l=this.source.charAt(o+1),l==="A"?(e[o+1]="￿",n[o+1]="￿",r[o+1]="A",i[o+1]="A"):l==="G"?(e[o+1]="￿",n[o+1]="G",r[o+1]="￿",i[o+1]="G"):(e[o+1]=l,n[o+1]=l,r[o+1]=l,i[o+1]=l),o++);return{A0_G0:e.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:i.join("")}}resolveAnchors(e,n){return!this.hasAnchor||!this._anchorCache?this.source:e?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}}class Bh{constructor(){de(this,"_items");de(this,"_hasAnchors");de(this,"_cached");de(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(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,n){this._items[e].source!==n&&(this._disposeCaches(),this._items[e].setSource(n))}compile(e){if(!this._cached){let n=this._items.map(r=>r.source);this._cached=new _k(e,n,this._items.map(r=>r.ruleId))}return this._cached}compileAG(e,n,r){return this._hasAnchors?n?r?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,n,r)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,n,r)),this._anchorCache.A1_G0):r?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,n,r)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,n,r)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,n,r){let i=this._items.map(o=>o.resolveAnchors(n,r));return new _k(e,i,this._items.map(o=>o.ruleId))}}class _k{constructor(e,n,r){de(this,"regExps");de(this,"rules");de(this,"scanner");this.regExps=n,this.rules=r,this.scanner=e.createOnigScanner(n)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const e=[];for(let n=0,r=this.rules.length;n<r;n++)e.push(" - "+this.rules[n]+": "+this.regExps[n]);return e.join(`
18
+ **/const iz="http://www.w3.org/2000/svg",oz="http://www.w3.org/1998/Math/MathML",wa=typeof document<"u"?document:null,xS=wa&&wa.createElement("template"),sz={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const i=e==="svg"?wa.createElementNS(iz,t):e==="mathml"?wa.createElementNS(oz,t):n?wa.createElement(t,{is:n}):wa.createElement(t);return t==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:t=>wa.createTextNode(t),createComment:t=>wa.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>wa.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,i,o){const s=n?n.previousSibling:e.lastChild;if(i&&(i===o||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{xS.innerHTML=r==="svg"?`<svg>${t}</svg>`:r==="mathml"?`<math>${t}</math>`:t;const a=xS.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[s?s.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},az=Symbol("_vtc");function lz(t,e,n){const r=t[az];r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const _S=Symbol("_vod"),cz=Symbol("_vsh"),uz=Symbol(""),fz=/(^|;)\s*display\s*:/;function dz(t,e,n){const r=t.style,i=Er(n);let o=!1;if(n&&!i){if(e)if(Er(e))for(const s of e.split(";")){const a=s.slice(0,s.indexOf(":")).trim();n[a]==null&&wg(r,a,"")}else for(const s in e)n[s]==null&&wg(r,s,"");for(const s in n)s==="display"&&(o=!0),wg(r,s,n[s])}else if(i){if(e!==n){const s=r[uz];s&&(n+=";"+s),r.cssText=n,o=fz.test(n)}}else e&&t.removeAttribute("style");_S in t&&(t[_S]=o?r.display:"",t[cz]&&(r.display="none"))}const jS=/\s*!important$/;function wg(t,e,n){if(zt(n))n.forEach(r=>wg(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=hz(t,e);jS.test(n)?t.setProperty(cu(r),n.replace(jS,""),"important"):t[r]=n}}const $S=["Webkit","Moz","ms"],my={};function hz(t,e){const n=my[e];if(n)return n;let r=Qs(e);if(r!=="filter"&&r in t)return my[e]=r;r=B0(r);for(let i=0;i<$S.length;i++){const o=$S[i]+r;if(o in t)return my[e]=o}return e}const SS="http://www.w3.org/1999/xlink";function kS(t,e,n,r,i,o=b9(e)){r&&e.startsWith("xlink:")?n==null?t.removeAttributeNS(SS,e.slice(6,e.length)):t.setAttributeNS(SS,e,n):n==null||o&&!RT(n)?t.removeAttribute(e):t.setAttribute(e,o?"":Ys(n)?String(n):n)}function pz(t,e,n,r,i,o,s){if(e==="innerHTML"||e==="textContent"){r&&s(r,i,o),t[e]=n??"";return}const a=t.tagName;if(e==="value"&&a!=="PROGRESS"&&!a.includes("-")){const c=a==="OPTION"?t.getAttribute("value")||"":t.value,u=n==null?"":String(n);(c!==u||!("_value"in t))&&(t.value=u),n==null&&t.removeAttribute(e),t._value=n;return}let l=!1;if(n===""||n==null){const c=typeof t[e];c==="boolean"?n=RT(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{t[e]=n}catch{}l&&t.removeAttribute(e)}function J2(t,e,n,r){t.addEventListener(e,n,r)}function mz(t,e,n,r){t.removeEventListener(e,n,r)}const CS=Symbol("_vei");function gz(t,e,n,r,i=null){const o=t[CS]||(t[CS]={}),s=o[e];if(r&&s)s.value=r;else{const[a,l]=vz(e);if(r){const c=o[e]=wz(r,i);J2(t,a,c,l)}else s&&(mz(t,a,s,l),o[e]=void 0)}}const ES=/(?:Once|Passive|Capture)$/;function vz(t){let e;if(ES.test(t)){e={};let r;for(;r=t.match(ES);)t=t.slice(0,t.length-r[0].length),e[r[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):cu(t.slice(2)),e]}let gy=0;const yz=Promise.resolve(),bz=()=>gy||(yz.then(()=>gy=0),gy=Date.now());function wz(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;is(xz(r,n.value),e,5,[r])};return n.value=t,n.attached=bz(),n}function xz(t,e){if(zt(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(r=>i=>!i._stopped&&r&&r(i))}else return e}const OS=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,_z=(t,e,n,r,i,o,s,a,l)=>{const c=i==="svg";e==="class"?lz(t,r,c):e==="style"?dz(t,n,r):jp(e)?S2(e)||gz(t,e,n,r,s):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):jz(t,e,r,c))?(pz(t,e,r,o,s,a,l),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&kS(t,e,r,c,s,e!=="value")):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),kS(t,e,r,c))};function jz(t,e,n,r){if(r)return!!(e==="innerHTML"||e==="textContent"||e in t&&OS(e)&&Kt(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const i=t.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return OS(e)&&Er(n)?!1:e in t}const rv=t=>{const e=t.props["onUpdate:modelValue"]||!1;return zt(e)?n=>yg(e,n):e},af=Symbol("_assign"),$z={created(t,{value:e},n){t.checked=Tf(e,n.props.value),t[af]=rv(n),J2(t,"change",()=>{t[af](Ph(t))})},beforeUpdate(t,{value:e,oldValue:n},r){t[af]=rv(r),e!==n&&(t.checked=Tf(e,r.props.value))}},Sz={deep:!0,created(t,{value:e,modifiers:{number:n}},r){const i=L0(e);J2(t,"change",()=>{const o=Array.prototype.filter.call(t.options,s=>s.selected).map(s=>n?TT(Ph(s)):Ph(s));t[af](t.multiple?i?new Set(o):o:o[0]),t._assigning=!0,Yl(()=>{t._assigning=!1})}),t[af]=rv(r)},mounted(t,{value:e,modifiers:{number:n}}){TS(t,e)},beforeUpdate(t,e,n){t[af]=rv(n)},updated(t,{value:e,modifiers:{number:n}}){t._assigning||TS(t,e)}};function TS(t,e,n){const r=t.multiple,i=zt(e);if(!(r&&!i&&!L0(e))){for(let o=0,s=t.options.length;o<s;o++){const a=t.options[o],l=Ph(a);if(r)if(i){const c=typeof l;c==="string"||c==="number"?a.selected=e.some(u=>String(u)===String(l)):a.selected=x9(e,l)>-1}else a.selected=e.has(l);else if(Tf(Ph(a),e)){t.selectedIndex!==o&&(t.selectedIndex=o);return}}!r&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function Ph(t){return"_value"in t?t._value:t.value}const kz=["ctrl","shift","alt","meta"],Cz={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>kz.some(n=>t[`${n}Key`]&&!e.includes(n))},Ez=(t,e)=>{const n=t._withMods||(t._withMods={}),r=e.join(".");return n[r]||(n[r]=(i,...o)=>{for(let s=0;s<e.length;s++){const a=Cz[e[s]];if(a&&a(i,e))return}return t(i,...o)})},Oz={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Tz=(t,e)=>{const n=t._withKeys||(t._withKeys={}),r=e.join(".");return n[r]||(n[r]=i=>{if(!("key"in i))return;const o=cu(i.key);if(e.some(s=>s===o||Oz[s]===o))return t(i)})},BP=ii({patchProp:_z},sz);let th,PS=!1;function Pz(){return th||(th=BB(BP))}function Az(){return th=PS?th:zB(BP),PS=!0,th}const zP=(...t)=>{const e=Pz().createApp(...t),{mount:n}=e;return e.mount=r=>{const i=VP(r);if(!i)return;const o=e._component;!Kt(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.innerHTML="";const s=n(i,!1,FP(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),s},e},Rz=(...t)=>{const e=Az().createApp(...t),{mount:n}=e;return e.mount=r=>{const i=VP(r);if(i)return n(i,!0,FP(i))},e};function FP(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function VP(t){return Er(t)?document.querySelector(t):t}const Mz=/"(?:_|\\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*:/,Nz=/"(?: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*:/,Iz=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Lz(t,e){if(t==="__proto__"||t==="constructor"&&e&&typeof e=="object"&&"prototype"in e){Dz(t);return}return e}function Dz(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}function iv(t,e={}){if(typeof t!="string")return t;const n=t.trim();if(t[0]==='"'&&t.endsWith('"')&&!t.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(!Iz.test(t)){if(e.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(Mz.test(t)||Nz.test(t)){if(e.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,Lz)}return JSON.parse(t)}catch(r){if(e.strict)throw r;return t}}const Bz=/#/g,zz=/&/g,Fz=/\//g,Vz=/=/g,Y2=/\+/g,Hz=/%5e/gi,qz=/%60/gi,Uz=/%7c/gi,Wz=/%20/gi;function Gz(t){return encodeURI(""+t).replace(Uz,"|")}function Yb(t){return Gz(typeof t=="string"?t:JSON.stringify(t)).replace(Y2,"%2B").replace(Wz,"+").replace(Bz,"%23").replace(zz,"%26").replace(qz,"`").replace(Hz,"^").replace(Fz,"%2F")}function vy(t){return Yb(t).replace(Vz,"%3D")}function ov(t=""){try{return decodeURIComponent(""+t)}catch{return""+t}}function Kz(t){return ov(t.replace(Y2," "))}function Jz(t){return ov(t.replace(Y2," "))}function Q2(t=""){const e={};t[0]==="?"&&(t=t.slice(1));for(const n of t.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const i=Kz(r[1]);if(i==="__proto__"||i==="constructor")continue;const o=Jz(r[2]||"");e[i]===void 0?e[i]=o:Array.isArray(e[i])?e[i].push(o):e[i]=[e[i],o]}return e}function Yz(t,e){return(typeof e=="number"||typeof e=="boolean")&&(e=String(e)),e?Array.isArray(e)?e.map(n=>`${vy(t)}=${Yb(n)}`).join("&"):`${vy(t)}=${Yb(e)}`:vy(t)}function HP(t){return Object.keys(t).filter(e=>t[e]!==void 0).map(e=>Yz(e,t[e])).filter(Boolean).join("&")}const Qz=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,qP=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Xz=/^([/\\]\s*){2,}[^/\\]/,Zz=/^[\s\0]*(blob|data|javascript|vbscript):$/i,eF=/\/$|\/\?|\/#/,tF=/^\.?\//;function Xl(t,e={}){return typeof e=="boolean"&&(e={acceptRelative:e}),e.strict?Qz.test(t):qP.test(t)||(e.acceptRelative?Xz.test(t):!1)}function nF(t){return!!t&&Zz.test(t)}function Qb(t="",e){return e?eF.test(t):t.endsWith("/")}function Y0(t="",e){if(!e)return(Qb(t)?t.slice(0,-1):t)||"/";if(!Qb(t,!0))return t||"/";let n=t,r="";const i=t.indexOf("#");i>=0&&(n=t.slice(0,i),r=t.slice(i));const[o,...s]=n.split("?");return((o.endsWith("/")?o.slice(0,-1):o)||"/")+(s.length>0?`?${s.join("?")}`:"")+r}function sv(t="",e){if(!e)return t.endsWith("/")?t:t+"/";if(Qb(t,!0))return t||"/";let n=t,r="";const i=t.indexOf("#");if(i>=0&&(n=t.slice(0,i),r=t.slice(i),!n))return r;const[o,...s]=n.split("?");return o+"/"+(s.length>0?`?${s.join("?")}`:"")+r}function rF(t=""){return t.startsWith("/")}function AS(t=""){return rF(t)?t:"/"+t}function UP(t,e){if(WP(e)||Xl(t))return t;const n=Y0(e);return t.startsWith(n)?t:fu(n,t)}function iF(t,e){if(WP(e))return t;const n=Y0(e);if(!t.startsWith(n))return t;const r=t.slice(n.length);return r[0]==="/"?r:"/"+r}function lf(t,e){const n=JP(t),r={...Q2(n.search),...e};return n.search=HP(r),YP(n)}function WP(t){return!t||t==="/"}function oF(t){return t&&t!=="/"}function fu(t,...e){let n=t||"";for(const r of e.filter(i=>oF(i)))if(n){const i=r.replace(tF,"");n=sv(n)+i}else n=r;return n}function GP(...t){var s,a,l,c;const e=/\/(?!\/)/,n=t.filter(Boolean),r=[];let i=0;for(const u of n)if(!(!u||u==="/")){for(const[f,d]of u.split(e).entries())if(!(!d||d===".")){if(d===".."){if(r.length===1&&Xl(r[0]))continue;r.pop(),i--;continue}if(f===1&&((s=r[r.length-1])!=null&&s.endsWith(":/"))){r[r.length-1]+="/"+d;continue}r.push(d),i++}}let o=r.join("/");return i>=0?(a=n[0])!=null&&a.startsWith("/")&&!o.startsWith("/")?o="/"+o:(l=n[0])!=null&&l.startsWith("./")&&!o.startsWith("./")&&(o="./"+o):o="../".repeat(-1*i)+o,(c=n[n.length-1])!=null&&c.endsWith("/")&&!o.endsWith("/")&&(o+="/"),o}function sF(t){return aF(t,"https://")}function aF(t,e){const n=t.match(qP);return n?e+t.slice(n[0].length):e+t}function lF(t,e,n={}){return n.trailingSlash||(t=sv(t),e=sv(e)),n.leadingSlash||(t=AS(t),e=AS(e)),n.encoding||(t=ov(t),e=ov(e)),t===e}const KP=Symbol.for("ufo:protocolRelative");function JP(t="",e){const n=t.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(!Xl(t,{acceptRelative:!0}))return RS(t);const[,r="",i,o=""]=t.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,s="",a=""]=o.match(/([^#/?]*)(.*)?/)||[],{pathname:l,search:c,hash:u}=RS(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r.toLowerCase(),auth:i?i.slice(0,Math.max(0,i.length-1)):"",host:s,pathname:l,search:c,hash:u,[KP]:!r}}function RS(t=""){const[e="",n="",r=""]=(t.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:e,search:n,hash:r}}function YP(t){const e=t.pathname||"",n=t.search?(t.search.startsWith("?")?"":"?")+t.search:"",r=t.hash||"",i=t.auth?t.auth+"@":"",o=t.host||"";return(t.protocol||t[KP]?(t.protocol||"")+"//":"")+i+o+e+n+r}class cF extends Error{constructor(e,n){super(e,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function uF(t){var l,c,u,f,d;const e=((l=t.error)==null?void 0:l.message)||((c=t.error)==null?void 0:c.toString())||"",n=((u=t.request)==null?void 0:u.method)||((f=t.options)==null?void 0:f.method)||"GET",r=((d=t.request)==null?void 0:d.url)||String(t.request)||"/",i=`[${n}] ${JSON.stringify(r)}`,o=t.response?`${t.response.status} ${t.response.statusText}`:"<no response>",s=`${i}: ${o}${e?` ${e}`:""}`,a=new cF(s,t.error?{cause:t.error}:void 0);for(const h of["request","options","response"])Object.defineProperty(a,h,{get(){return t[h]}});for(const[h,p]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,h,{get(){return t.response&&t.response[p]}});return a}const fF=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function MS(t="GET"){return fF.has(t.toUpperCase())}function dF(t){if(t===void 0)return!1;const e=typeof t;return e==="string"||e==="number"||e==="boolean"||e===null?!0:e!=="object"?!1:Array.isArray(t)?!0:t.buffer?!1:t.constructor&&t.constructor.name==="Object"||typeof t.toJSON=="function"}const hF=new Set(["image/svg","application/xml","application/xhtml","application/html"]),pF=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function mF(t=""){if(!t)return"json";const e=t.split(";").shift()||"";return pF.test(e)?"json":hF.has(e)||e.startsWith("text/")?"text":"blob"}function gF(t,e,n=globalThis.Headers){const r={...e,...t};if(e!=null&&e.params&&(t!=null&&t.params)&&(r.params={...e==null?void 0:e.params,...t==null?void 0:t.params}),e!=null&&e.query&&(t!=null&&t.query)&&(r.query={...e==null?void 0:e.query,...t==null?void 0:t.query}),e!=null&&e.headers&&(t!=null&&t.headers)){r.headers=new n((e==null?void 0:e.headers)||{});for(const[i,o]of new n((t==null?void 0:t.headers)||{}))r.headers.set(i,o)}return r}const vF=new Set([408,409,425,429,500,502,503,504]),yF=new Set([101,204,205,304]);function QP(t={}){const{fetch:e=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=t;async function i(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let u;typeof a.options.retry=="number"?u=a.options.retry:u=MS(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):vF.has(f))){const d=a.options.retryDelay||0;return d>0&&await new Promise(h=>setTimeout(h,d)),o(a.request,{...a.options,retry:u-1})}}const c=uF(a);throw Error.captureStackTrace&&Error.captureStackTrace(c,o),c}const o=async function(l,c={}){var h;const u={request:l,options:gF(c,t.defaults,n),response:void 0,error:void 0};u.options.method=(h=u.options.method)==null?void 0:h.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=UP(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=lf(u.request,{...u.options.params,...u.options.query}))),u.options.body&&MS(u.options.method)&&(dF(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 p=new r;f=setTimeout(()=>p.abort(),u.options.timeout),u.options.signal=p.signal}try{u.response=await e(u.request,u.options)}catch(p){return u.error=p,u.options.onRequestError&&await u.options.onRequestError(u),await i(u)}finally{f&&clearTimeout(f)}if(u.response.body&&!yF.has(u.response.status)&&u.options.method!=="HEAD"){const p=(u.options.parseResponse?"json":u.options.responseType)||mF(u.response.headers.get("content-type")||"");switch(p){case"json":{const m=await u.response.text(),v=u.options.parseResponse||iv;u.response._data=v(m);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[p]()}}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 i(u)):u.response},s=async function(l,c){return(await o(l,c))._data};return s.raw=o,s.native=(...a)=>e(...a),s.create=(a={})=>QP({...t,defaults:{...t.defaults,...a}}),s}const X2=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")}(),bF=X2.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),wF=X2.Headers,xF=X2.AbortController,_F=QP({fetch:bF,Headers:wF,AbortController:xF}),jF=_F,$F=()=>{var t;return((t=window==null?void 0:window.__NUXT__)==null?void 0:t.config)||{}},av=$F().app,SF=()=>av.baseURL,kF=()=>av.buildAssetsDir,Z2=(...t)=>GP(XP(),kF(),...t),XP=(...t)=>{const e=av.cdnURL||av.baseURL;return t.length?GP(e,...t):e};globalThis.__buildAssetsURL=Z2,globalThis.__publicAssetsURL=XP;globalThis.$fetch||(globalThis.$fetch=jF.create({baseURL:SF()}));function Xb(t,e={},n){for(const r in t){const i=t[r],o=n?`${n}:${r}`:r;typeof i=="object"&&i!==null?Xb(i,e,o):typeof i=="function"&&(e[o]=i)}return e}const CF={run:t=>t()},EF=()=>CF,ZP=typeof console.createTask<"u"?console.createTask:EF;function OF(t,e){const n=e.shift(),r=ZP(n);return t.reduce((i,o)=>i.then(()=>r.run(()=>o(...e))),Promise.resolve())}function TF(t,e){const n=e.shift(),r=ZP(n);return Promise.all(t.map(i=>r.run(()=>i(...e))))}function yy(t,e){for(const n of[...t])n(e)}class PF{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(e,n,r={}){if(!e||typeof n!="function")return()=>{};const i=e;let o;for(;this._deprecatedHooks[e];)o=this._deprecatedHooks[e],e=o.to;if(o&&!r.allowDeprecated){let s=o.message;s||(s=`${i} hook has been deprecated`+(o.to?`, please use ${o.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:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(n),()=>{n&&(this.removeHook(e,n),n=void 0)}}hookOnce(e,n){let r,i=(...o)=>(typeof r=="function"&&r(),r=void 0,i=void 0,n(...o));return r=this.hook(e,i),r}removeHook(e,n){if(this._hooks[e]){const r=this._hooks[e].indexOf(n);r!==-1&&this._hooks[e].splice(r,1),this._hooks[e].length===0&&delete this._hooks[e]}}deprecateHook(e,n){this._deprecatedHooks[e]=typeof n=="string"?{to:n}:n;const r=this._hooks[e]||[];delete this._hooks[e];for(const i of r)this.hook(e,i)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const n in e)this.deprecateHook(n,e[n])}addHooks(e){const n=Xb(e),r=Object.keys(n).map(i=>this.hook(i,n[i]));return()=>{for(const i of r.splice(0,r.length))i()}}removeHooks(e){const n=Xb(e);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...n){return n.unshift(e),this.callHookWith(OF,e,...n)}callHookParallel(e,...n){return n.unshift(e),this.callHookWith(TF,e,...n)}callHookWith(e,n,...r){const i=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&yy(this._before,i);const o=e(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&i&&yy(this._after,i)}):(this._after&&i&&yy(this._after,i),o)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const n=this._before.indexOf(e);n!==-1&&this._before.splice(n,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const n=this._after.indexOf(e);n!==-1&&this._after.splice(n,1)}}}}function eA(){return new PF}function AF(t={}){let e,n=!1;const r=s=>{if(e&&e!==s)throw new Error("Context conflict")};let i;if(t.asyncContext){const s=t.AsyncLocalStorage||globalThis.AsyncLocalStorage;s?i=new s:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const o=()=>{if(i&&e===void 0){const s=i.getStore();if(s!==void 0)return s}return e};return{use:()=>{const s=o();if(s===void 0)throw new Error("Context is not available");return s},tryUse:()=>o(),set:(s,a)=>{a||r(s),e=s,n=!0},unset:()=>{e=void 0,n=!1},call:(s,a)=>{r(s),e=s;try{return i?i.run(s,a):a()}finally{n||(e=void 0)}},async callAsync(s,a){e=s;const l=()=>{e=s},c=()=>e===s?l:void 0;Zb.add(c);try{const u=i?i.run(s,a):a();return n||(e=void 0),await u}finally{Zb.delete(c)}}}}function RF(t={}){const e={};return{get(n,r={}){return e[n]||(e[n]=AF({...t,...r})),e[n],e[n]}}}const lv=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},NS="__unctx__",MF=lv[NS]||(lv[NS]=RF()),NF=(t,e={})=>MF.get(t,e),IS="__unctx_async_handlers__",Zb=lv[IS]||(lv[IS]=new Set);function tA(t){const e=[];for(const i of Zb){const o=i();o&&e.push(o)}const n=()=>{for(const i of e)i()};let r=t();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(i=>{throw n(),i})),[r,n]}const IF={componentName:"NuxtLink"},Vu={value:null,errorValue:null,deep:!0},LF=null,DF="#__nuxt",nA="nuxt-app",LS=36e5;function rA(t=nA){return NF(t,{asyncContext:!1})}const BF="__nuxt_plugin";function zF(t){let e=0;const n={_name:nA,_scope:_9(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.12.3"},get vue(){return n.vueApp.version}},payload:Fu({data:Fu({}),state:Bc({}),once:new Set,_errors:Fu({})}),static:{data:{}},runWithContext(i){return n._scope.active&&!z0()?n._scope.run(()=>DS(n,i)):DS(n,i)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};e++;let i=!1;return()=>{if(!i&&(i=!0,e--,e===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:Fu({}),_payloadRevivers:{},...t};if(window.__NUXT__)for(const i in window.__NUXT__)switch(i){case"data":case"state":case"_errors":Object.assign(n.payload[i],window.__NUXT__[i]);break;default:n.payload[i]=window.__NUXT__[i]}n.hooks=eA(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(i,o)=>{const s="$"+i;cm(n,s,o),cm(n.vueApp.config.globalProperties,s,o)},cm(n.vueApp,"$nuxt",n),cm(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",o=>{n.callHook("app:chunkError",{error:o.payload})}),window.useNuxtApp=window.useNuxtApp||Rr;const i=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",i)}const r=n.payload.config;return n.provide("config",r),n}function FF(t,e){e.hooks&&t.hooks.addHooks(e.hooks)}async function VF(t,e){if(typeof e=="function"){const{provide:n}=await t.runWithContext(()=>e(t))||{};if(n&&typeof n=="object")for(const r in n)t.provide(r,n[r])}}async function HF(t,e){const n=[],r=[],i=[],o=[];let s=0;async function a(l){var u;const c=((u=l.dependsOn)==null?void 0:u.filter(f=>e.some(d=>d._name===f)&&!n.includes(f)))??[];if(c.length>0)r.push([new Set(c),l]);else{const f=VF(t,l).then(async()=>{l._name&&(n.push(l._name),await Promise.all(r.map(async([d,h])=>{d.has(l._name)&&(d.delete(l._name),d.size===0&&(s++,await a(h)))})))});l.parallel?i.push(f.catch(d=>o.push(d))):await f}}for(const l of e)FF(t,l);for(const l of e)await a(l);if(await Promise.all(i),s)for(let l=0;l<s;l++)await Promise.all(i);if(o.length)throw o[0]}function ua(t){if(typeof t=="function")return t;const e=t._name||t.name;return delete t.name,Object.assign(t.setup||(()=>{}),t,{[BF]:!0,_name:e})}function DS(t,e,n){const r=()=>e();return rA(t._name).set(t),t.vueApp.runWithContext(r)}function qF(t){var n;let e;return mP()&&(e=(n=Ql())==null?void 0:n.appContext.app.$nuxt),e=e||rA(t).tryUse(),e||null}function Rr(t){const e=qF(t);if(!e)throw new Error("[nuxt] instance unavailable");return e}function If(t){return Rr().$config}function cm(t,e,n){Object.defineProperty(t,e,{get:()=>n})}function UF(t,e){return{ctx:{table:t},matchAll:n=>oA(n,t)}}function iA(t){const e={};for(const n in t)e[n]=n==="dynamic"?new Map(Object.entries(t[n]).map(([r,i])=>[r,iA(i)])):new Map(Object.entries(t[n]));return e}function WF(t){return UF(iA(t))}function oA(t,e,n){t.endsWith("/")&&(t=t.slice(0,-1)||"/");const r=[];for(const[o,s]of BS(e.wildcard))(t===o||t.startsWith(o+"/"))&&r.push(s);for(const[o,s]of BS(e.dynamic))if(t.startsWith(o+"/")){const a="/"+t.slice(o.length).split("/").splice(2).join("/");r.push(...oA(a,s))}const i=e.static.get(t);return i&&r.push(i),r.filter(Boolean)}function BS(t){return[...t.entries()].sort((e,n)=>e[0].length-n[0].length)}function by(t){if(t===null||typeof t!="object")return!1;const e=Object.getPrototypeOf(t);return e!==null&&e!==Object.prototype&&Object.getPrototypeOf(e)!==null||Symbol.iterator in t?!1:Symbol.toStringTag in t?Object.prototype.toString.call(t)==="[object Module]":!0}function ew(t,e,n=".",r){if(!by(e))return ew(t,{},n,r);const i=Object.assign({},e);for(const o in t){if(o==="__proto__"||o==="constructor")continue;const s=t[o];s!=null&&(r&&r(i,o,s,n)||(Array.isArray(s)&&Array.isArray(i[o])?i[o]=[...s,...i[o]]:by(s)&&by(i[o])?i[o]=ew(s,i[o],(n?`${n}.`:"")+o.toString(),r):i[o]=s))}return i}function GF(t){return(...e)=>e.reduce((n,r)=>ew(n,r,"",t),{})}const cv=GF();function KF(t,e){try{return e in t}catch{return!1}}var JF=Object.defineProperty,YF=(t,e,n)=>e in t?JF(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,mc=(t,e,n)=>(YF(t,typeof e!="symbol"?e+"":e,n),n);class tw extends Error{constructor(e,n={}){super(e,n),mc(this,"statusCode",500),mc(this,"fatal",!1),mc(this,"unhandled",!1),mc(this,"statusMessage"),mc(this,"data"),mc(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const e={message:this.message,statusCode:nw(this.statusCode,500)};return this.statusMessage&&(e.statusMessage=sA(this.statusMessage)),this.data!==void 0&&(e.data=this.data),e}}mc(tw,"__h3_error__",!0);function QF(t){if(typeof t=="string")return new tw(t);if(XF(t))return t;const e=new tw(t.message??t.statusMessage??"",{cause:t.cause||t});if(KF(t,"stack"))try{Object.defineProperty(e,"stack",{get(){return t.stack}})}catch{try{e.stack=t.stack}catch{}}if(t.data&&(e.data=t.data),t.statusCode?e.statusCode=nw(t.statusCode,e.statusCode):t.status&&(e.statusCode=nw(t.status,e.statusCode)),t.statusMessage?e.statusMessage=t.statusMessage:t.statusText&&(e.statusMessage=t.statusText),e.statusMessage){const n=e.statusMessage;sA(e.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 t.fatal!==void 0&&(e.fatal=t.fatal),t.unhandled!==void 0&&(e.unhandled=t.unhandled),e}function XF(t){var e;return((e=t==null?void 0:t.constructor)==null?void 0:e.__h3_error__)===!0}const ZF=/[^\u0009\u0020-\u007E]/g;function sA(t=""){return t.replace(ZF,"")}function nw(t,e=200){return!t||(typeof t=="string"&&(t=Number.parseInt(t,10)),t<100||t>999)?e:t}const aA=Symbol("route"),Xs=()=>{var t;return(t=Rr())==null?void 0:t.$router},lA=()=>mP()?sf(aA,Rr()._route):Rr()._route;const eV=()=>{try{if(Rr()._processingMiddleware)return!0}catch{return!1}return!1},cA=(t,e)=>{t||(t="/");const n=typeof t=="string"?t:"path"in t?rw(t):Xs().resolve(t).href;if(e!=null&&e.open){const{target:l="_blank",windowFeatures:c={}}=e.open,u=Object.entries(c).filter(([f,d])=>d!==void 0).map(([f,d])=>`${f.toLowerCase()}=${d}`).join(", ");return open(n,l,u),Promise.resolve()}const r=Xl(n,{acceptRelative:!0}),i=(e==null?void 0:e.external)||r;if(i){if(!(e!=null&&e.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:l}=new URL(n,window.location.href);if(l&&nF(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const o=eV();if(!i&&o)return t;const s=Xs(),a=Rr();return i?(a._scope.stop(),e!=null&&e.replace?location.replace(n):location.href=n,o?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):e!=null&&e.replace?s.replace(t):s.push(t)};function rw(t){return lf(t.path||"",t.query||{})+(t.hash||"")}const uA="__nuxt_error",e_=()=>L2(Rr().payload,"error"),tV=t=>{const e=Q0(t);try{const n=Rr(),r=e_();n.hooks.callHook("app:error",e),r.value=r.value||e}catch{throw e}return e},nV=async(t={})=>{const e=Rr(),n=e_();e.callHook("app:error:cleared",t),t.redirect&&await Xs().replace(t.redirect),n.value=LF},rV=t=>!!t&&typeof t=="object"&&uA in t,Q0=t=>{const e=QF(t);return Object.defineProperty(e,uA,{value:!0,configurable:!1,writable:!1}),e},iV=-1,oV=-2,sV=-3,aV=-4,lV=-5,cV=-6;function uV(t,e){return fV(JSON.parse(t),e)}function fV(t,e){if(typeof t=="number")return i(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const n=t,r=Array(n.length);function i(o,s=!1){if(o===iV)return;if(o===sV)return NaN;if(o===aV)return 1/0;if(o===lV)return-1/0;if(o===cV)return-0;if(s)throw new Error("Invalid input");if(o in r)return r[o];const a=n[o];if(!a||typeof a!="object")r[o]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],c=e==null?void 0:e[l];if(c)return r[o]=c(i(a[1]));switch(l){case"Date":r[o]=new Date(a[1]);break;case"Set":const u=new Set;r[o]=u;for(let h=1;h<a.length;h+=1)u.add(i(a[h]));break;case"Map":const f=new Map;r[o]=f;for(let h=1;h<a.length;h+=2)f.set(i(a[h]),i(a[h+1]));break;case"RegExp":r[o]=new RegExp(a[1],a[2]);break;case"Object":r[o]=Object(a[1]);break;case"BigInt":r[o]=BigInt(a[1]);break;case"null":const d=Object.create(null);r[o]=d;for(let h=1;h<a.length;h+=2)d[a[h]]=i(a[h+1]);break;default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);r[o]=l;for(let c=0;c<a.length;c+=1){const u=a[c];u!==oV&&(l[c]=i(u))}}else{const l={};r[o]=l;for(const c in a){const u=a[c];l[c]=i(u)}}return r[o]}return i(0)}function dV(t){return Array.isArray(t)?t:[t]}const hV=["title","titleTemplate","script","style","noscript"],xg=["base","meta","link","style","script","noscript"],pV=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],mV=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],fA=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],gV=typeof window<"u";function t_(t){let e=9;for(let n=0;n<t.length;)e=Math.imul(e^t.charCodeAt(n++),9**9);return((e^e>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function zS(t){return t._h||t_(t._d?t._d:`${t.tag}:${t.textContent||t.innerHTML||""}:${Object.entries(t.props).map(([e,n])=>`${e}:${String(n)}`).join(",")}`)}function dA(t,e){const{props:n,tag:r}=t;if(mV.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const i=["id"];r==="meta"&&i.push("name","property","http-equiv");for(const o of i)if(typeof n[o]<"u"){const s=String(n[o]);return`${r}:${o}:${s}`}return!1}function FS(t,e){return t==null?e||null:typeof t=="function"?t(e):t}async function vV(t,e,n){const r={tag:t,props:await hA(typeof e=="object"&&typeof e!="function"&&!(e instanceof Promise)?{...e}:{[["script","noscript","style"].includes(t)?"innerHTML":"textContent"]:e},["templateParams","titleTemplate"].includes(t))};return fA.forEach(i=>{const o=typeof r.props[i]<"u"?r.props[i]:n[i];typeof o<"u"&&((!["innerHTML","textContent","children"].includes(i)||hV.includes(r.tag))&&(r[i==="children"?"innerHTML":i]=o),delete r.props[i])}),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(i=>({...r,props:{...r.props,content:i}})):r}function yV(t,e){var r;const n=t==="class"?" ":";";return typeof e=="object"&&!Array.isArray(e)&&(e=Object.entries(e).filter(([,i])=>i).map(([i,o])=>t==="style"?`${i}:${o}`:i)),(r=String(Array.isArray(e)?e.join(n):e))==null?void 0:r.split(n).filter(i=>i.trim()).filter(Boolean).join(n)}async function hA(t,e){for(const n of Object.keys(t)){if(["class","style"].includes(n)){t[n]=yV(n,t[n]);continue}if(t[n]instanceof Promise&&(t[n]=await t[n]),!e&&!fA.includes(n)){const r=String(t[n]),i=n.startsWith("data-");r==="true"||r===""?t[n]=i?"true":!0:t[n]||(i&&r==="false"?t[n]="false":delete t[n])}}return t}const bV=10;async function wV(t){const e=[];return Object.entries(t.resolvedInput).filter(([n,r])=>typeof r<"u"&&pV.includes(n)).forEach(([n,r])=>{const i=dV(r);e.push(...i.map(o=>vV(n,o,t)).flat())}),(await Promise.all(e)).flat().filter(Boolean).map((n,r)=>(n._e=t._i,t.mode&&(n._m=t.mode),n._p=(t._i<<bV)+r,n))}const VS={base:-10,title:10},HS={critical:-80,high:-10,low:20};function uv(t){let e=100;const n=t.tagPriority;return typeof n=="number"?n:(t.tag==="meta"?(t.props["http-equiv"]==="content-security-policy"&&(e=-30),t.props.charset&&(e=-20),t.props.name==="viewport"&&(e=-15)):t.tag==="link"&&t.props.rel==="preconnect"?e=20:t.tag in VS&&(e=VS[t.tag]),typeof n=="string"&&n in HS?e+HS[n]:e)}const xV=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],qS=["onload","onerror","onabort","onprogress","onloadstart"],rl="%separator";function _g(t,e,n){if(typeof t!="string"||!t.includes("%"))return t;function r(s){let a;return["s","pageTitle"].includes(s)?a=e.pageTitle:s.includes(".")?a=s.split(".").reduce((l,c)=>l&&l[c]||void 0,e):a=e[s],typeof a<"u"?(a||"").replace(/"/g,'\\"'):!1}let i=t;try{i=decodeURI(t)}catch{}return(i.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(s=>{const a=r(s.slice(1));typeof a=="string"&&(t=t.replace(new RegExp(`\\${s}(\\W|$)`,"g"),(l,c)=>`${a}${c}`).trim())}),t.includes(rl)&&(t.endsWith(rl)&&(t=t.slice(0,-rl.length).trim()),t.startsWith(rl)&&(t=t.slice(rl.length).trim()),t=t.replace(new RegExp(`\\${rl}\\s*\\${rl}`,"g"),rl),t=_g(t,{separator:n},n)),t}async function pA(t,e={}){var u;const n=e.document||t.resolvedOptions.document;if(!n||!t.dirty)return;const r={shouldRender:!0,tags:[]};if(await t.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const i=(await t.resolveTags()).map(f=>({tag:f,id:xg.includes(f.tag)?zS(f):f.tag,shouldRender:!0}));let o=t._dom;if(!o){o={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const d=(u=n[f])==null?void 0:u.children,h=[];for(const p of[...d].filter(m=>xg.includes(m.tagName.toLowerCase()))){const m={tag:p.tagName.toLowerCase(),props:await hA(p.getAttributeNames().reduce((b,y)=>({...b,[y]:p.getAttribute(y)}),{})),innerHTML:p.innerHTML};let v=1,g=dA(m);for(;g&&h.find(b=>b._d===g);)g=`${g}:${v++}`;m._d=g||void 0,h.push(m),o.elMap[p.getAttribute("data-hid")||zS(m)]=p}}}o.pendingSideEffects={...o.sideEffects||{}},o.sideEffects={};function s(f,d,h){const p=`${f}:${d}`;o.sideEffects[p]=h,delete o.pendingSideEffects[p]}function a({id:f,$el:d,tag:h}){const p=h.tag.endsWith("Attrs");o.elMap[f]=d,p||(["textContent","innerHTML"].forEach(m=>{h[m]&&h[m]!==d[m]&&(d[m]=h[m])}),s(f,"el",()=>{var m;(m=o.elMap[f])==null||m.remove(),delete o.elMap[f]}));for(const[m,v]of Object.entries(h._eventHandlers||{}))d.getAttribute(`data-${m}`)!==""&&((h.tag==="bodyAttrs"?n.defaultView:d).addEventListener(m.replace("on",""),v.bind(d)),d.setAttribute(`data-${m}`,""));Object.entries(h.props).forEach(([m,v])=>{const g=`attr:${m}`;if(m==="class")for(const b of(v||"").split(" ").filter(Boolean))p&&s(f,`${g}:${b}`,()=>d.classList.remove(b)),!d.classList.contains(b)&&d.classList.add(b);else if(m==="style")for(const b of(v||"").split(";").filter(Boolean)){const[y,...x]=b.split(":").map(w=>w.trim());s(f,`${g}:${y}`,()=>{d.style.removeProperty(y)}),d.style.setProperty(y,x.join(":"))}else d.getAttribute(m)!==v&&d.setAttribute(m,v===!0?"":String(v)),p&&s(f,g,()=>d.removeAttribute(m))})}const l=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of i){const{tag:d,shouldRender:h,id:p}=f;if(h){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||o.elMap[p],f.$el?a(f):xg.includes(d.tag)&&l.push(f)}}for(const f of l){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),a(f),c[d]=c[d]||n.createDocumentFragment(),c[d].appendChild(f.$el)}for(const f of i)await t.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(o.pendingSideEffects).forEach(f=>f()),t._dom=o,t.dirty=!1,await t.hooks.callHook("dom:rendered",{renders:i})}async function _V(t,e={}){const n=e.delayFn||(r=>setTimeout(r,10));return t._domUpdatePromise=t._domUpdatePromise||new Promise(r=>n(async()=>{await pA(t,e),delete t._domUpdatePromise,r()}))}function jV(t){return e=>{var r,i;const n=((i=(r=e.resolvedOptions.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:i.innerHTML)||!1;return n&&e.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(o){_V(o,t)}}}}}const $V=["templateParams","htmlAttrs","bodyAttrs"],SV={hooks:{"tag:normalise":function({tag:t}){["hid","vmid","key"].forEach(r=>{t.props[r]&&(t.key=t.props[r],delete t.props[r])});const n=dA(t)||(t.key?`${t.tag}:${t.key}`:!1);n&&(t._d=n)},"tags:resolve":function(t){const e={};t.tags.forEach(r=>{const i=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,o=e[i];if(o){let a=r==null?void 0:r.tagDuplicateStrategy;if(!a&&$V.includes(r.tag)&&(a="merge"),a==="merge"){const l=o.props;["class","style"].forEach(c=>{l[c]&&(r.props[c]?(c==="style"&&!l[c].endsWith(";")&&(l[c]+=";"),r.props[c]=`${l[c]} ${r.props[c]}`):r.props[c]=l[c])}),e[i].props={...l,...r.props};return}else if(r._e===o._e){o._duped=o._duped||[],r._d=`${o._d}:${o._duped.length+1}`,o._duped.push(r);return}else if(uv(r)>uv(o))return}const s=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(xg.includes(r.tag)&&s===0){delete e[i];return}e[i]=r});const n=[];Object.values(e).forEach(r=>{const i=r._duped;delete r._duped,n.push(r),i&&n.push(...i)}),t.tags=n,t.tags=t.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},kV={mode:"server",hooks:{"tags:resolve":function(t){const e={};t.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{e[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(e).length&&t.tags.push({tag:"script",innerHTML:JSON.stringify(e),props:{id:"unhead:payload",type:"application/json"}})}}},CV=["script","link","bodyAttrs"],EV=t=>({hooks:{"tags:resolve":function(e){for(const n of e.tags.filter(r=>CV.includes(r.tag)))Object.entries(n.props).forEach(([r,i])=>{r.startsWith("on")&&typeof i=="function"&&(t.ssr&&qS.includes(r)?n.props[r]=`this.dataset.${r}fired = true`:delete n.props[r],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[r]=i)}),t.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||t_(n.props.src||n.props.href))},"dom:renderTag":function({$el:e,tag:n}){var r,i;for(const o of Object.keys((e==null?void 0:e.dataset)||{}).filter(s=>qS.some(a=>`${a}fired`===s))){const s=o.replace("fired","");(i=(r=n._eventHandlers)==null?void 0:r[s])==null||i.call(e,new Event(s.replace("on","")))}}}}),OV=["link","style","script","noscript"],TV={hooks:{"tag:normalise":({tag:t})=>{t.key&&OV.includes(t.tag)&&(t.props["data-hid"]=t._h=t_(t.key))}}},PV={hooks:{"tags:resolve":t=>{const e=n=>{var r;return(r=t.tags.find(i=>i._d===n))==null?void 0:r._p};for(const{prefix:n,offset:r}of xV)for(const i of t.tags.filter(o=>typeof o.tagPriority=="string"&&o.tagPriority.startsWith(n))){const o=e(i.tagPriority.replace(n,""));typeof o<"u"&&(i._p=o+r)}t.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>uv(n)-uv(r))}}},AV={meta:"content",link:"href",htmlAttrs:"lang"},RV=t=>({hooks:{"tags:resolve":e=>{var a;const{tags:n}=e,r=(a=n.find(l=>l.tag==="title"))==null?void 0:a.textContent,i=n.findIndex(l=>l.tag==="templateParams"),o=i!==-1?n[i].props:{},s=o.separator||"|";delete o.separator,o.pageTitle=_g(o.pageTitle||r||"",o,s);for(const l of n.filter(c=>c.processTemplateParams!==!1)){const c=AV[l.tag];c&&typeof l.props[c]=="string"?l.props[c]=_g(l.props[c],o,s):(l.processTemplateParams===!0||["titleTemplate","title"].includes(l.tag))&&["innerHTML","textContent"].forEach(u=>{typeof l[u]=="string"&&(l[u]=_g(l[u],o,s))})}t._templateParams=o,t._separator=s,e.tags=n.filter(l=>l.tag!=="templateParams")}}}),MV={hooks:{"tags:resolve":t=>{const{tags:e}=t;let n=e.findIndex(i=>i.tag==="titleTemplate");const r=e.findIndex(i=>i.tag==="title");if(r!==-1&&n!==-1){const i=FS(e[n].textContent,e[r].textContent);i!==null?e[r].textContent=i||e[r].textContent:delete e[r]}else if(n!==-1){const i=FS(e[n].textContent);i!==null&&(e[n].textContent=i,e[n].tag="title",n=-1)}n!==-1&&delete e[n],t.tags=e.filter(Boolean)}}},NV={hooks:{"tags:afterResolve":function(t){for(const e of t.tags)typeof e.innerHTML=="string"&&(e.innerHTML&&["application/ld+json","application/json"].includes(e.props.type)?e.innerHTML=e.innerHTML.replace(/</g,"\\u003C"):e.innerHTML=e.innerHTML.replace(new RegExp(`</${e.tag}`,"g"),`<\\/${e.tag}`))}}};let mA;function IV(t={}){const e=LV(t);return e.use(jV()),mA=e}function US(t,e){return!t||t==="server"&&e||t==="client"&&!e}function LV(t={}){const e=eA();e.addHooks(t.hooks||{}),t.document=t.document||(gV?document:void 0);const n=!t.document,r=()=>{a.dirty=!0,e.callHook("entries:updated",a)};let i=0,o=[];const s=[],a={plugins:s,dirty:!1,resolvedOptions:t,hooks:e,headEntries(){return o},use(l){const c=typeof l=="function"?l(a):l;(!c.key||!s.some(u=>u.key===c.key))&&(s.push(c),US(c.mode,n)&&e.addHooks(c.hooks||{}))},push(l,c){c==null||delete c.head;const u={_i:i++,input:l,...c};return US(u.mode,n)&&(o.push(u),r()),{dispose(){o=o.filter(f=>f._i!==u._i),e.callHook("entries:updated",a),r()},patch(f){o=o.map(d=>(d._i===u._i&&(d.input=u.input=f),d)),r()}}},async resolveTags(){const l={tags:[],entries:[...o]};await e.callHook("entries:resolve",l);for(const c of l.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const f of await wV(c)){const d={tag:f,entry:c,resolvedOptions:a.resolvedOptions};await e.callHook("tag:normalise",d),l.tags.push(d.tag)}}return await e.callHook("tags:beforeResolve",l),await e.callHook("tags:resolve",l),await e.callHook("tags:afterResolve",l),l.tags},ssr:n};return[SV,kV,EV,TV,PV,RV,MV,NV,...(t==null?void 0:t.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function DV(){return mA}const BV=DP.startsWith("3");function zV(t){return typeof t=="function"?t():Ae(t)}function fv(t,e=""){if(t instanceof Promise)return t;const n=zV(t);return!t||!n?n:Array.isArray(n)?n.map(r=>fv(r,e)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,i])=>r==="titleTemplate"||r.startsWith("on")?[r,Ae(i)]:[r,fv(i,r)])):n}const FV={hooks:{"entries:resolve":function(t){for(const e of t.entries)e.resolvedInput=fv(e.input)}}},gA="usehead";function VV(t){return{install(n){BV&&(n.config.globalProperties.$unhead=t,n.config.globalProperties.$head=t,n.provide(gA,t))}}.install}function HV(t={}){t.domDelayFn=t.domDelayFn||(n=>Yl(()=>setTimeout(()=>n(),0)));const e=IV(t);return e.use(FV),e.install=VV(e),e}const iw=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ow="__unhead_injection_handler__";function qV(t){iw[ow]=t}function UV(){if(ow in iw)return iw[ow]();const t=sf(gA);return t||DV()}function sw(t,e={}){const n=e.head||UV();if(n)return n.ssr?n.push(t,e):WV(n,t,e)}function WV(t,e,n={}){const r=Ft(!1),i=Ft({});K0(()=>{i.value=r.value?{}:fv(e)});const o=t.push(i.value,n);return Ar(i,a=>{o.patch(a)}),Ql()&&(V2(()=>{o.dispose()}),TP(()=>{r.value=!0}),OP(()=>{r.value=!1})),o}let jg,$g;function GV(){return jg=$fetch(Z2(`builds/meta/${If().app.buildId}.json`),{responseType:"json"}),jg.then(t=>{$g=WF(t.matcher)}).catch(t=>{console.error("[nuxt] Error fetching app manifest.",t)}),jg}function X0(){return jg||GV()}async function n_(t){if(await X0(),!$g)return console.error("[nuxt] Error creating app manifest matcher.",$g),{};try{return cv({},...$g.matchAll(t).reverse())}catch(e){return console.error("[nuxt] Error matching route rules.",e),{}}}async function WS(t,e={}){const n=await JV(t,e),r=Rr(),i=r._payloadCache=r._payloadCache||{};return n in i||(i[n]=yA(t).then(o=>o?vA(n).then(s=>s||(delete i[n],null)):(i[n]=null,null))),i[n]}const KV="_payload.json";async function JV(t,e={}){const n=new URL(t,"http://localhost");if(n.host!=="localhost"||Xl(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+t);const r=If(),i=e.hash||(e.fresh?Date.now():r.app.buildId),o=r.app.cdnURL,s=o&&await yA(t)?o:r.app.baseURL;return fu(s,n.pathname,KV+(i?`?${i}`:""))}async function vA(t){const e=fetch(t).then(n=>n.text().then(bA));try{return await e}catch(n){console.warn("[nuxt] Cannot load payload ",t,n)}return null}async function yA(t=lA().path){if(t=Y0(t),(await X0()).prerendered.includes(t))return!0;const n=await n_(t);return!!n.prerender&&!n.redirect}let um=null;async function YV(){if(um)return um;const t=document.getElementById("__NUXT_DATA__");if(!t)return{};const e=await bA(t.textContent||""),n=t.dataset.src?await vA(t.dataset.src):void 0;return um={...e,...n,...window.__NUXT__},um}async function bA(t){return await uV(t,Rr()._payloadRevivers)}function QV(t,e){Rr()._payloadRevivers[t]=e}const aw={NuxtError:t=>Q0(t),EmptyShallowRef:t=>Qg(t==="_"?void 0:t==="0n"?BigInt(0):iv(t)),EmptyRef:t=>Ft(t==="_"?void 0:t==="0n"?BigInt(0):iv(t)),ShallowRef:t=>Qg(t),ShallowReactive:t=>Fu(t),Ref:t=>Ft(t),Reactive:t=>Bc(t)};aw.Island=({key:t,params:e,result:n})=>{const r=Rr();return r.isHydrating||(r.payload.data[t]=r.payload.data[t]||$fetch(`/__nuxt_island/${t}.json`,{responseType:"json",...e?{params:e}:{}}).then(i=>(r.payload.data[t]=i,i))),{html:"",state:{},head:{link:[],style:[]},...n}};const XV=ua({name:"nuxt:revive-payload:client",order:-30,async setup(t){let e,n;for(const r in aw)QV(r,aw[r]);Object.assign(t.payload,([e,n]=tA(()=>t.runWithContext(YV)),e=await e,n(),e)),window.__NUXT__=t.payload}}),ZV=[],eH=ua({name:"nuxt:head",enforce:"pre",setup(t){const e=HV({plugins:ZV});qV(()=>Rr().vueApp._context.provides.usehead),t.vueApp.use(e);{let n=!0;const r=async()=>{n=!1,await pA(e)};e.hooks.hook("dom:beforeRender",i=>{i.shouldRender=!n}),t.hooks.hook("page:start",()=>{n=!0}),t.hooks.hook("page:finish",()=>{t.isHydrating||r()}),t.hooks.hook("app:error",r),t.hooks.hook("app:suspense:resolve",r)}}}),tH=async t=>{let e,n;const r=([e,n]=tA(()=>n_(t.path)),e=await e,n(),e);if(r.redirect)return Xl(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},nH=[tH];function wy(t){typeof t=="object"&&(t=YP({pathname:t.path||"",search:HP(t.query||{}),hash:t.hash||""}));const e=new URL(t.toString(),window.location.href);return{path:e.pathname,fullPath:t,query:Q2(e.search),hash:e.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:t}}const rH=ua({name:"nuxt:router",enforce:"pre",setup(t){const e=iF(window.location.pathname,If().app.baseURL)+window.location.search+window.location.hash,n=[],r={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},i=(f,d)=>(r[f].push(d),()=>r[f].splice(r[f].indexOf(d),1)),o=If().app.baseURL,s=Bc(wy(e));async function a(f,d){try{const h=wy(f);for(const p of r["navigate:before"]){const m=await p(h,s);if(m===!1||m instanceof Error)return;if(typeof m=="string"&&m.length)return a(m,!0)}for(const p of r["resolve:before"])await p(h,s);Object.assign(s,h),window.history[d?"replaceState":"pushState"]({},"",fu(o,h.fullPath)),t.isHydrating||await t.runWithContext(nV);for(const p of r["navigate:after"])await p(h,s)}catch(h){for(const p of r.error)await p(h)}}const c={currentRoute:en(()=>s),isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:f=>a(f,!1),replace:f=>a(f,!0),back:()=>window.history.go(-1),go:f=>window.history.go(f),forward:()=>window.history.go(1),beforeResolve:f=>i("resolve:before",f),beforeEach:f=>i("navigate:before",f),afterEach:f=>i("navigate:after",f),onError:f=>i("error",f),resolve:wy,addRoute:(f,d)=>{n.push(d)},getRoutes:()=>n,hasRoute:f=>n.some(d=>d.name===f),removeRoute:f=>{const d=n.findIndex(h=>h.name===f);d!==-1&&n.splice(d,1)}};t.vueApp.component("RouterLink",zr({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(f,{slots:d})=>{const h=()=>a(f.to,f.replace);return()=>{var m;const p=c.resolve(f.to);return f.custom?(m=d.default)==null?void 0:m.call(d,{href:f.to,navigate:h,route:p}):Nf("a",{href:f.to,onClick:v=>(v.preventDefault(),h())},d)}}})),window.addEventListener("popstate",f=>{const d=f.target.location;c.replace(d.href.replace(d.origin,""))}),t._route=s,t._middleware=t._middleware||{global:[],named:{}};const u=t.payload.state._layout;return t.hooks.hookOnce("app:created",async()=>{c.beforeEach(async(f,d)=>{f.meta=Bc(f.meta||{}),t.isHydrating&&u&&!Pf(f.meta.layout)&&(f.meta.layout=u),t._processingMiddleware=!0;{const h=new Set([...nH,...t._middleware.global]);{const p=await t.runWithContext(()=>n_(f.path));if(p.appMiddleware)for(const m in p.appMiddleware){const v=t._middleware.named[m];if(!v)return;p.appMiddleware[m]?h.add(v):h.delete(v)}}for(const p of h){const m=await t.runWithContext(()=>p(f,d));if(m!==!0&&(m||m===!1))return m}}}),c.afterEach(()=>{delete t._processingMiddleware}),await c.replace(e),lF(s.fullPath,e)||await t.runWithContext(()=>cA(s.fullPath))}),{provide:{route:s,router:c}}}}),lw=globalThis.requestIdleCallback||(t=>{const e=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-e))};return setTimeout(()=>{t(n)},1)}),iH=globalThis.cancelIdleCallback||(t=>{clearTimeout(t)}),Z0=t=>{const e=Rr();e.isHydrating?e.hooks.hookOnce("app:suspense:resolve",()=>{lw(()=>t())}):lw(()=>t())},oH=ua({name:"nuxt:payload",setup(t){Xs().beforeResolve(async(e,n)=>{if(e.path===n.path)return;const r=await WS(e.path);r&&Object.assign(t.static.data,r.data)}),Z0(()=>{var e;t.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await WS(n)}),((e=navigator.connection)==null?void 0:e.effectiveType)!=="slow-2g"&&setTimeout(X0,1e3)})}}),sH=ua(()=>{const t=Xs();Z0(()=>{t.beforeResolve(async()=>{await new Promise(e=>{setTimeout(e,100),requestAnimationFrame(()=>{setTimeout(e,0)})})})})}),aH=ua(t=>{let e;async function n(){const r=await X0();e&&clearTimeout(e),e=setTimeout(n,LS);try{const i=await $fetch(Z2("builds/latest.json")+`?${Date.now()}`);i.id!==r.id&&t.hooks.callHook("app:manifest:update",i)}catch{}}Z0(()=>{e=setTimeout(n,LS)})});function lH(t={}){const e=t.path||window.location.pathname;let n={};try{n=iv(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(t.force||(n==null?void 0:n.path)!==e||(n==null?void 0:n.expires)<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:e,expires:Date.now()+(t.ttl??1e4)}))}catch{}if(t.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:Rr().payload.state}))}catch{}window.location.pathname!==e?window.location.href=e:window.location.reload()}}const cH=ua({name:"nuxt:chunk-reload",setup(t){const e=Xs(),n=If(),r=new Set;e.beforeEach(()=>{r.clear()}),t.hook("app:chunkError",({error:o})=>{r.add(o)});function i(o){const a="href"in o&&o.href[0]==="#"?n.app.baseURL+o.href:fu(n.app.baseURL,o.fullPath);lH({path:a,persistState:!0})}t.hook("app:manifest:update",()=>{e.beforeResolve(i)}),e.onError((o,s)=>{r.has(o)&&i(s)})}}),uH=ua({name:"nuxt:global-components"}),fH=ua(()=>{}),dH=["top","right","bottom","left"],GS=["start","end"],KS=dH.reduce((t,e)=>t.concat(e,e+"-"+GS[0],e+"-"+GS[1]),[]),Sc=Math.min,gc=Math.max,hH={left:"right",right:"left",bottom:"top",top:"bottom"},pH={start:"end",end:"start"};function cw(t,e,n){return gc(t,Sc(e,n))}function du(t,e){return typeof t=="function"?t(e):t}function Zs(t){return t.split("-")[0]}function os(t){return t.split("-")[1]}function wA(t){return t==="x"?"y":"x"}function r_(t){return t==="y"?"height":"width"}function Fc(t){return["top","bottom"].includes(Zs(t))?"y":"x"}function i_(t){return wA(Fc(t))}function xA(t,e,n){n===void 0&&(n=!1);const r=os(t),i=i_(t),o=r_(i);let s=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[o]>e.floating[o]&&(s=hv(s)),[s,hv(s)]}function mH(t){const e=hv(t);return[dv(t),e,dv(e)]}function dv(t){return t.replace(/start|end/g,e=>pH[e])}function gH(t,e,n){const r=["left","right"],i=["right","left"],o=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:r:e?r:i;case"left":case"right":return e?o:s;default:return[]}}function vH(t,e,n,r){const i=os(t);let o=gH(Zs(t),n==="start",r);return i&&(o=o.map(s=>s+"-"+i),e&&(o=o.concat(o.map(dv)))),o}function hv(t){return t.replace(/left|right|bottom|top/g,e=>hH[e])}function yH(t){return{top:0,right:0,bottom:0,left:0,...t}}function _A(t){return typeof t!="number"?yH(t):{top:t,right:t,bottom:t,left:t}}function nh(t){const{x:e,y:n,width:r,height:i}=t;return{width:r,height:i,top:n,left:e,right:e+r,bottom:n+i,x:e,y:n}}function JS(t,e,n){let{reference:r,floating:i}=t;const o=Fc(e),s=i_(e),a=r_(s),l=Zs(e),c=o==="y",u=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,d=r[a]/2-i[a]/2;let h;switch(l){case"top":h={x:u,y:r.y-i.height};break;case"bottom":h={x:u,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-i.width,y:f};break;default:h={x:r.x,y:r.y}}switch(os(e)){case"start":h[s]-=d*(n&&c?-1:1);break;case"end":h[s]+=d*(n&&c?-1:1);break}return h}const bH=async(t,e,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:s}=n,a=o.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:u,y:f}=JS(c,r,l),d=r,h={},p=0;for(let m=0;m<a.length;m++){const{name:v,fn:g}=a[m],{x:b,y,data:x,reset:w}=await g({x:u,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:c,platform:s,elements:{reference:t,floating:e}});u=b??u,f=y??f,h={...h,[v]:{...h[v],...x}},w&&p<=50&&(p++,typeof w=="object"&&(w.placement&&(d=w.placement),w.rects&&(c=w.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):w.rects),{x:u,y:f}=JS(c,d,l)),m=-1)}return{x:u,y:f,placement:d,strategy:i,middlewareData:h}};async function e1(t,e){var n;e===void 0&&(e={});const{x:r,y:i,platform:o,rects:s,elements:a,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=du(e,t),p=_A(h),v=a[d?f==="floating"?"reference":"floating":f],g=nh(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(v)))==null||n?v:v.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),b=f==="floating"?{x:r,y:i,width:s.floating.width,height:s.floating.height}:s.reference,y=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),x=await(o.isElement==null?void 0:o.isElement(y))?await(o.getScale==null?void 0:o.getScale(y))||{x:1,y:1}:{x:1,y:1},w=nh(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:b,offsetParent:y,strategy:l}):b);return{top:(g.top-w.top+p.top)/x.y,bottom:(w.bottom-g.bottom+p.bottom)/x.y,left:(g.left-w.left+p.left)/x.x,right:(w.right-g.right+p.right)/x.x}}const wH=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:i,rects:o,platform:s,elements:a,middlewareData:l}=e,{element:c,padding:u=0}=du(t,e)||{};if(c==null)return{};const f=_A(u),d={x:n,y:r},h=i_(i),p=r_(h),m=await s.getDimensions(c),v=h==="y",g=v?"top":"left",b=v?"bottom":"right",y=v?"clientHeight":"clientWidth",x=o.reference[p]+o.reference[h]-d[h]-o.floating[p],w=d[h]-o.reference[h],_=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let k=_?_[y]:0;(!k||!await(s.isElement==null?void 0:s.isElement(_)))&&(k=a.floating[y]||o.floating[p]);const D=x/2-w/2,L=k/2-m[p]/2-1,C=Sc(f[g],L),V=Sc(f[b],L),M=C,q=k-m[p]-V,H=k/2-m[p]/2+D,J=cw(M,H,q),F=!l.arrow&&os(i)!=null&&H!==J&&o.reference[p]/2-(H<M?C:V)-m[p]/2<0,W=F?H<M?H-M:H-q:0;return{[h]:d[h]+W,data:{[h]:J,centerOffset:H-J-W,...F&&{alignmentOffset:W}},reset:F}}});function xH(t,e,n){return(t?[...n.filter(i=>os(i)===t),...n.filter(i=>os(i)!==t)]:n.filter(i=>Zs(i)===i)).filter(i=>t?os(i)===t||(e?dv(i)!==i:!1):!0)}const _H=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,r,i;const{rects:o,middlewareData:s,placement:a,platform:l,elements:c}=e,{crossAxis:u=!1,alignment:f,allowedPlacements:d=KS,autoAlignment:h=!0,...p}=du(t,e),m=f!==void 0||d===KS?xH(f||null,h,d):d,v=await e1(e,p),g=((n=s.autoPlacement)==null?void 0:n.index)||0,b=m[g];if(b==null)return{};const y=xA(b,o,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==b)return{reset:{placement:m[0]}};const x=[v[Zs(b)],v[y[0]],v[y[1]]],w=[...((r=s.autoPlacement)==null?void 0:r.overflows)||[],{placement:b,overflows:x}],_=m[g+1];if(_)return{data:{index:g+1,overflows:w},reset:{placement:_}};const k=w.map(C=>{const V=os(C.placement);return[C.placement,V&&u?C.overflows.slice(0,2).reduce((M,q)=>M+q,0):C.overflows[0],C.overflows]}).sort((C,V)=>C[1]-V[1]),L=((i=k.filter(C=>C[2].slice(0,os(C[0])?2:3).every(V=>V<=0))[0])==null?void 0:i[0])||k[0][0];return L!==a?{data:{index:g+1,overflows:w},reset:{placement:L}}:{}}}},jH=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:i,middlewareData:o,rects:s,initialPlacement:a,platform:l,elements:c}=e,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...v}=du(t,e);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const g=Zs(i),b=Fc(a),y=Zs(a)===a,x=await(l.isRTL==null?void 0:l.isRTL(c.floating)),w=d||(y||!m?[hv(a)]:mH(a)),_=p!=="none";!d&&_&&w.push(...vH(a,m,p,x));const k=[a,...w],D=await e1(e,v),L=[];let C=((r=o.flip)==null?void 0:r.overflows)||[];if(u&&L.push(D[g]),f){const H=xA(i,s,x);L.push(D[H[0]],D[H[1]])}if(C=[...C,{placement:i,overflows:L}],!L.every(H=>H<=0)){var V,M;const H=(((V=o.flip)==null?void 0:V.index)||0)+1,J=k[H];if(J)return{data:{index:H,overflows:C},reset:{placement:J}};let F=(M=C.filter(W=>W.overflows[0]<=0).sort((W,E)=>W.overflows[1]-E.overflows[1])[0])==null?void 0:M.placement;if(!F)switch(h){case"bestFit":{var q;const W=(q=C.filter(E=>{if(_){const z=Fc(E.placement);return z===b||z==="y"}return!0}).map(E=>[E.placement,E.overflows.filter(z=>z>0).reduce((z,T)=>z+T,0)]).sort((E,z)=>E[1]-z[1])[0])==null?void 0:q[0];W&&(F=W);break}case"initialPlacement":F=a;break}if(i!==F)return{reset:{placement:F}}}return{}}}};async function $H(t,e){const{placement:n,platform:r,elements:i}=t,o=await(r.isRTL==null?void 0:r.isRTL(i.floating)),s=Zs(n),a=os(n),l=Fc(n)==="y",c=["left","top"].includes(s)?-1:1,u=o&&l?-1:1,f=du(e,t);let{mainAxis:d,crossAxis:h,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return a&&typeof p=="number"&&(h=a==="end"?p*-1:p),l?{x:h*u,y:d*c}:{x:d*c,y:h*u}}const SH=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:i,y:o,placement:s,middlewareData:a}=e,l=await $H(e,t);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:s}}}}},kH=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:i}=e,{mainAxis:o=!0,crossAxis:s=!1,limiter:a={fn:v=>{let{x:g,y:b}=v;return{x:g,y:b}}},...l}=du(t,e),c={x:n,y:r},u=await e1(e,l),f=Fc(Zs(i)),d=wA(f);let h=c[d],p=c[f];if(o){const v=d==="y"?"top":"left",g=d==="y"?"bottom":"right",b=h+u[v],y=h-u[g];h=cw(b,h,y)}if(s){const v=f==="y"?"top":"left",g=f==="y"?"bottom":"right",b=p+u[v],y=p-u[g];p=cw(b,p,y)}const m=a.fn({...e,[d]:h,[f]:p});return{...m,data:{x:m.x-n,y:m.y-r}}}}},CH=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){const{placement:n,rects:r,platform:i,elements:o}=e,{apply:s=()=>{},...a}=du(t,e),l=await e1(e,a),c=Zs(n),u=os(n),f=Fc(n)==="y",{width:d,height:h}=r.floating;let p,m;c==="top"||c==="bottom"?(p=c,m=u===(await(i.isRTL==null?void 0:i.isRTL(o.floating))?"start":"end")?"left":"right"):(m=c,p=u==="end"?"top":"bottom");const v=h-l.top-l.bottom,g=d-l.left-l.right,b=Sc(h-l[p],v),y=Sc(d-l[m],g),x=!e.middlewareData.shift;let w=b,_=y;if(f?_=u||x?Sc(y,g):g:w=u||x?Sc(b,v):v,x&&!u){const D=gc(l.left,0),L=gc(l.right,0),C=gc(l.top,0),V=gc(l.bottom,0);f?_=d-2*(D!==0||L!==0?D+L:gc(l.left,l.right)):w=h-2*(C!==0||V!==0?C+V:gc(l.top,l.bottom))}await s({...e,availableWidth:_,availableHeight:w});const k=await i.getDimensions(o.floating);return d!==k.width||h!==k.height?{reset:{rects:!0}}:{}}}};function Co(t){var e;return((e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Hs(t){return Co(t).getComputedStyle(t)}const YS=Math.min,rh=Math.max,pv=Math.round;function jA(t){const e=Hs(t);let n=parseFloat(e.width),r=parseFloat(e.height);const i=t.offsetWidth,o=t.offsetHeight,s=pv(n)!==i||pv(r)!==o;return s&&(n=i,r=o),{width:n,height:r,fallback:s}}function Dl(t){return SA(t)?(t.nodeName||"").toLowerCase():""}let fm;function $A(){if(fm)return fm;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?(fm=t.brands.map(e=>e.brand+"/"+e.version).join(" "),fm):navigator.userAgent}function qs(t){return t instanceof Co(t).HTMLElement}function El(t){return t instanceof Co(t).Element}function SA(t){return t instanceof Co(t).Node}function QS(t){return typeof ShadowRoot>"u"?!1:t instanceof Co(t).ShadowRoot||t instanceof ShadowRoot}function t1(t){const{overflow:e,overflowX:n,overflowY:r,display:i}=Hs(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!["inline","contents"].includes(i)}function EH(t){return["table","td","th"].includes(Dl(t))}function uw(t){const e=/firefox/i.test($A()),n=Hs(t),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!r&&r!=="none"||e&&n.willChange==="filter"||e&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(i=>n.willChange.includes(i))||["paint","layout","strict","content"].some(i=>{const o=n.contain;return o!=null&&o.includes(i)})}function kA(){return!/^((?!chrome|android).)*safari/i.test($A())}function o_(t){return["html","body","#document"].includes(Dl(t))}function CA(t){return El(t)?t:t.contextElement}const EA={x:1,y:1};function cf(t){const e=CA(t);if(!qs(e))return EA;const n=e.getBoundingClientRect(),{width:r,height:i,fallback:o}=jA(e);let s=(o?pv(n.width):n.width)/r,a=(o?pv(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}function Ah(t,e,n,r){var i,o;e===void 0&&(e=!1),n===void 0&&(n=!1);const s=t.getBoundingClientRect(),a=CA(t);let l=EA;e&&(r?El(r)&&(l=cf(r)):l=cf(t));const c=a?Co(a):window,u=!kA()&&n;let f=(s.left+(u&&((i=c.visualViewport)==null?void 0:i.offsetLeft)||0))/l.x,d=(s.top+(u&&((o=c.visualViewport)==null?void 0:o.offsetTop)||0))/l.y,h=s.width/l.x,p=s.height/l.y;if(a){const m=Co(a),v=r&&El(r)?Co(r):r;let g=m.frameElement;for(;g&&r&&v!==m;){const b=cf(g),y=g.getBoundingClientRect(),x=getComputedStyle(g);y.x+=(g.clientLeft+parseFloat(x.paddingLeft))*b.x,y.y+=(g.clientTop+parseFloat(x.paddingTop))*b.y,f*=b.x,d*=b.y,h*=b.x,p*=b.y,f+=y.x,d+=y.y,g=Co(g).frameElement}}return{width:h,height:p,top:d,right:f+h,bottom:d+p,left:f,x:f,y:d}}function Ol(t){return((SA(t)?t.ownerDocument:t.document)||window.document).documentElement}function n1(t){return El(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function OA(t){return Ah(Ol(t)).left+n1(t).scrollLeft}function Rh(t){if(Dl(t)==="html")return t;const e=t.assignedSlot||t.parentNode||QS(t)&&t.host||Ol(t);return QS(e)?e.host:e}function TA(t){const e=Rh(t);return o_(e)?e.ownerDocument.body:qs(e)&&t1(e)?e:TA(e)}function mv(t,e){var n;e===void 0&&(e=[]);const r=TA(t),i=r===((n=t.ownerDocument)==null?void 0:n.body),o=Co(r);return i?e.concat(o,o.visualViewport||[],t1(r)?r:[]):e.concat(r,mv(r))}function XS(t,e,n){return e==="viewport"?nh(function(r,i){const o=Co(r),s=Ol(r),a=o.visualViewport;let l=s.clientWidth,c=s.clientHeight,u=0,f=0;if(a){l=a.width,c=a.height;const d=kA();(d||!d&&i==="fixed")&&(u=a.offsetLeft,f=a.offsetTop)}return{width:l,height:c,x:u,y:f}}(t,n)):El(e)?nh(function(r,i){const o=Ah(r,!0,i==="fixed"),s=o.top+r.clientTop,a=o.left+r.clientLeft,l=qs(r)?cf(r):{x:1,y:1};return{width:r.clientWidth*l.x,height:r.clientHeight*l.y,x:a*l.x,y:s*l.y}}(e,n)):nh(function(r){const i=Ol(r),o=n1(r),s=r.ownerDocument.body,a=rh(i.scrollWidth,i.clientWidth,s.scrollWidth,s.clientWidth),l=rh(i.scrollHeight,i.clientHeight,s.scrollHeight,s.clientHeight);let c=-o.scrollLeft+OA(r);const u=-o.scrollTop;return Hs(s).direction==="rtl"&&(c+=rh(i.clientWidth,s.clientWidth)-a),{width:a,height:l,x:c,y:u}}(Ol(t)))}function ZS(t){return qs(t)&&Hs(t).position!=="fixed"?t.offsetParent:null}function ek(t){const e=Co(t);let n=ZS(t);for(;n&&EH(n)&&Hs(n).position==="static";)n=ZS(n);return n&&(Dl(n)==="html"||Dl(n)==="body"&&Hs(n).position==="static"&&!uw(n))?e:n||function(r){let i=Rh(r);for(;qs(i)&&!o_(i);){if(uw(i))return i;i=Rh(i)}return null}(t)||e}function OH(t,e,n){const r=qs(e),i=Ol(e),o=Ah(t,!0,n==="fixed",e);let s={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((Dl(e)!=="body"||t1(i))&&(s=n1(e)),qs(e)){const l=Ah(e,!0);a.x=l.x+e.clientLeft,a.y=l.y+e.clientTop}else i&&(a.x=OA(i));return{x:o.left+s.scrollLeft-a.x,y:o.top+s.scrollTop-a.y,width:o.width,height:o.height}}const TH={getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:i}=t;const o=n==="clippingAncestors"?function(c,u){const f=u.get(c);if(f)return f;let d=mv(c).filter(v=>El(v)&&Dl(v)!=="body"),h=null;const p=Hs(c).position==="fixed";let m=p?Rh(c):c;for(;El(m)&&!o_(m);){const v=Hs(m),g=uw(m);(p?g||h:g||v.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=v:d=d.filter(b=>b!==m),m=Rh(m)}return u.set(c,d),d}(e,this._c):[].concat(n),s=[...o,r],a=s[0],l=s.reduce((c,u)=>{const f=XS(e,u,i);return c.top=rh(f.top,c.top),c.right=YS(f.right,c.right),c.bottom=YS(f.bottom,c.bottom),c.left=rh(f.left,c.left),c},XS(e,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:n,strategy:r}=t;const i=qs(n),o=Ol(n);if(n===o)return e;let s={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((i||!i&&r!=="fixed")&&((Dl(n)!=="body"||t1(o))&&(s=n1(n)),qs(n))){const c=Ah(n);a=cf(n),l.x=c.x+n.clientLeft,l.y=c.y+n.clientTop}return{width:e.width*a.x,height:e.height*a.y,x:e.x*a.x-s.scrollLeft*a.x+l.x,y:e.y*a.y-s.scrollTop*a.y+l.y}},isElement:El,getDimensions:function(t){return qs(t)?jA(t):t.getBoundingClientRect()},getOffsetParent:ek,getDocumentElement:Ol,getScale:cf,async getElementRects(t){let{reference:e,floating:n,strategy:r}=t;const i=this.getOffsetParent||ek,o=this.getDimensions;return{reference:OH(e,await i(n),r),floating:{x:0,y:0,...await o(n)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>Hs(t).direction==="rtl"},PH=(t,e,n)=>{const r=new Map,i={platform:TH,...n},o={...i.platform,_c:r};return bH(t,e,{...i,platform:o})};function PA(t,e){for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(typeof e[n]=="object"&&t[n]?PA(t[n],e[n]):t[n]=e[n])}const ss={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:t=>[...t,"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 Mh(t,e){let n=ss.themes[t]||{},r;do r=n[e],typeof r>"u"?n.$extend?n=ss.themes[n.$extend]||{}:(n=null,r=ss[e]):n=null;while(n);return r}function AH(t){const e=[t];let n=ss.themes[t]||{};do n.$extend&&!n.$resetCss?(e.push(n.$extend),n=ss.themes[n.$extend]||{}):n=null;while(n);return e.map(r=>`v-popper--theme-${r}`)}function tk(t){const e=[t];let n=ss.themes[t]||{};do n.$extend?(e.push(n.$extend),n=ss.themes[n.$extend]||{}):n=null;while(n);return e}let Lf=!1;if(typeof window<"u"){Lf=!1;try{const t=Object.defineProperty({},"passive",{get(){Lf=!0}});window.addEventListener("test",null,t)}catch{}}let AA=!1;typeof window<"u"&&typeof navigator<"u"&&(AA=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const RA=["auto","top","bottom","left","right"].reduce((t,e)=>t.concat([e,`${e}-start`,`${e}-end`]),[]),nk={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},rk={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function ik(t,e){const n=t.indexOf(e);n!==-1&&t.splice(n,1)}function xy(){return new Promise(t=>requestAnimationFrame(()=>{requestAnimationFrame(t)}))}const Xo=[];let cc=null;const ok={};function sk(t){let e=ok[t];return e||(e=ok[t]=[]),e}let fw=function(){};typeof window<"u"&&(fw=window.Element);function kn(t){return function(e){return Mh(e.theme,t)}}const _y="__floating-vue__popper",MA=()=>zr({name:"VPopper",provide(){return{[_y]:{parentPopper:this}}},inject:{[_y]:{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:kn("disabled")},positioningDisabled:{type:Boolean,default:kn("positioningDisabled")},placement:{type:String,default:kn("placement"),validator:t=>RA.includes(t)},delay:{type:[String,Number,Object],default:kn("delay")},distance:{type:[Number,String],default:kn("distance")},skidding:{type:[Number,String],default:kn("skidding")},triggers:{type:Array,default:kn("triggers")},showTriggers:{type:[Array,Function],default:kn("showTriggers")},hideTriggers:{type:[Array,Function],default:kn("hideTriggers")},popperTriggers:{type:Array,default:kn("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:kn("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:kn("popperHideTriggers")},container:{type:[String,Object,fw,Boolean],default:kn("container")},boundary:{type:[String,fw],default:kn("boundary")},strategy:{type:String,validator:t=>["absolute","fixed"].includes(t),default:kn("strategy")},autoHide:{type:[Boolean,Function],default:kn("autoHide")},handleResize:{type:Boolean,default:kn("handleResize")},instantMove:{type:Boolean,default:kn("instantMove")},eagerMount:{type:Boolean,default:kn("eagerMount")},popperClass:{type:[String,Array,Object],default:kn("popperClass")},computeTransformOrigin:{type:Boolean,default:kn("computeTransformOrigin")},autoMinSize:{type:Boolean,default:kn("autoMinSize")},autoSize:{type:[Boolean,String],default:kn("autoSize")},autoMaxSize:{type:Boolean,default:kn("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:kn("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:kn("preventOverflow")},overflowPadding:{type:[Number,String],default:kn("overflowPadding")},arrowPadding:{type:[Number,String],default:kn("arrowPadding")},arrowOverflow:{type:Boolean,default:kn("arrowOverflow")},flip:{type:Boolean,default:kn("flip")},shift:{type:Boolean,default:kn("shift")},shiftCrossAxis:{type:Boolean,default:kn("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:kn("noAutoFocus")},disposeTimeout:{type:Number,default:kn("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":t=>!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(t=>t.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 t;return(t=this[_y])==null?void 0:t.parentPopper},hasPopperShowTriggerHover(){var t,e;return((t=this.popperTriggers)==null?void 0:t.includes("hover"))||((e=this.popperShowTriggers)==null?void 0:e.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(t){t?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((t,e)=>(t[e]="$_computePosition",t),{})},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:t=null,skipDelay:e=!1,force:n=!1}={}){var r,i;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((i=this.parentPopper)==null?void 0:i.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(t,e),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:t=null,skipDelay:e=!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:e}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(t,e),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var t;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((t=this.referenceNode)==null?void 0:t.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(e=>e.nodeType===e.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 t={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&t.middleware.push(SH({mainAxis:this.distance,crossAxis:this.skidding}));const e=this.placement.startsWith("auto");if(e?t.middleware.push(_H({alignment:this.placement.split("-")[1]??""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(kH({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!e&&this.flip&&t.middleware.push(jH({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(wH({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:i,middlewareData:o})=>{let s;const{centerOffset:a}=o.arrow;return r.startsWith("top")||r.startsWith("bottom")?s=Math.abs(a)>i.reference.width/2:s=Math.abs(a)>i.reference.height/2,{data:{overflow:s}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;t.middleware.push({name:"autoSize",fn:({rects:i,placement:o,middlewareData:s})=>{var a;if((a=s.autoSize)!=null&&a.skip)return{};let l,c;return o.startsWith("top")||o.startsWith("bottom")?l=i.reference.width:c=i.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=c!=null?`${c}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,t.middleware.push(CH({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:i})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=i!=null?`${i}px`:null}})));const n=await PH(this.$_referenceNode,this.$_popperNode,t);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(t,e=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),cc&&this.instantMove&&cc.instantMove&&cc!==this.parentPopper){cc.$_applyHide(!0),this.$_applyShow(!0);return}e?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(t,e=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(cc=this),e?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(t){const e=this.delay;return parseInt(e&&e[t]||e||0)},async $_applyShow(t=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=t,!this.isShown&&(this.$_ensureTeleport(),await xy(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...mv(this.$_referenceNode),...mv(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const e=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),r=n.parentNode.getBoundingClientRect(),i=e.x+e.width/2-(r.left+n.offsetLeft),o=e.y+e.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${i}px ${o}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const t=this.showGroup;if(t){let e;for(let n=0;n<Xo.length;n++)e=Xo[n],e.showGroup!==t&&(e.hide(),e.$emit("close-group"))}Xo.push(this),document.body.classList.add("v-popper--some-open");for(const e of tk(this.theme))sk(e).push(this),document.body.classList.add(`v-popper--some-open--${e}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await xy(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(t=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=t,ik(Xo,this),Xo.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of tk(this.theme)){const r=sk(n);ik(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}cc===this&&(cc=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const e=this.disposeTimeout;e!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},e)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await xy(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let t=this.container;if(typeof t=="string"?t=window.document.querySelector(t):t===!1&&(t=this.$_targetNodes[0].parentNode),!t)throw new Error("No container for popover: "+this.container);t.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const t=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,nk,this.triggers,this.showTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],nk,this.popperTriggers,this.popperShowTriggers,t);const e=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,rk,this.triggers,this.hideTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],rk,this.popperTriggers,this.popperHideTriggers,e)},$_registerEventListeners(t,e,n){this.$_events.push({targetNodes:t,eventType:e,handler:n}),t.forEach(r=>r.addEventListener(e,n,Lf?{passive:!0}:void 0))},$_registerTriggerListeners(t,e,n,r,i){let o=n;r!=null&&(o=typeof r=="function"?r(o):r),o.forEach(s=>{const a=e[s];a&&this.$_registerEventListeners(t,a,i)})},$_removeEventListeners(t){const e=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:i,handler:o}=n;!t||t===i?r.forEach(s=>s.removeEventListener(i,o)):e.push(n)}),this.$_events=e},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(t,e=!1){this.$_showFrameLocked||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),e&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(t,e){for(const n of this.$_targetNodes){const r=n.getAttribute(t);r&&(n.removeAttribute(t),n.setAttribute(e,r))}},$_applyAttrsToTarget(t){for(const e of this.$_targetNodes)for(const n in t){const r=t[n];r==null?e.removeAttribute(n):e.setAttribute(n,r)}},$_updateParentShownChildren(t){let e=this.parentPopper;for(;e;)t?e.shownChildren.add(this.randomId):(e.shownChildren.delete(this.randomId),e.pendingHide&&e.hide()),e=e.parentPopper},$_isAimingPopper(){const t=this.$_referenceNode.getBoundingClientRect();if(ih>=t.left&&ih<=t.right&&oh>=t.top&&oh<=t.bottom){const e=this.$_popperNode.getBoundingClientRect(),n=ih-al,r=oh-ll,i=e.left+e.width/2-al+(e.top+e.height/2)-ll+e.width+e.height,o=al+n*i,s=ll+r*i;return dm(al,ll,o,s,e.left,e.top,e.left,e.bottom)||dm(al,ll,o,s,e.left,e.top,e.right,e.top)||dm(al,ll,o,s,e.right,e.top,e.right,e.bottom)||dm(al,ll,o,s,e.left,e.bottom,e.right,e.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(AA){const t=Lf?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",e=>ak(e,!0),t),document.addEventListener("touchend",e=>lk(e,!0),t)}else window.addEventListener("mousedown",t=>ak(t,!1),!0),window.addEventListener("click",t=>lk(t,!1),!0);window.addEventListener("resize",MH)}function ak(t,e){if(ss.autoHideOnMousedown)NA(t,e);else for(let n=0;n<Xo.length;n++){const r=Xo[n];try{r.mouseDownContains=r.popperNode().contains(t.target)}catch{}}}function lk(t,e){ss.autoHideOnMousedown||NA(t,e)}function NA(t,e){const n={};for(let r=Xo.length-1;r>=0;r--){const i=Xo[r];try{const o=i.containsGlobalTarget=i.mouseDownContains||i.popperNode().contains(t.target);i.pendingHide=!1,requestAnimationFrame(()=>{if(i.pendingHide=!1,!n[i.randomId]&&ck(i,o,t)){if(i.$_handleGlobalClose(t,e),!t.closeAllPopover&&t.closePopover&&o){let a=i.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let s=i.parentPopper;for(;s&&ck(s,s.containsGlobalTarget,t);)s.$_handleGlobalClose(t,e),s=s.parentPopper}})}catch{}}}function ck(t,e,n){return n.closeAllPopover||n.closePopover&&e||RH(t,n)&&!e}function RH(t,e){if(typeof t.autoHide=="function"){const n=t.autoHide(e);return t.lastAutoHide=n,n}return t.autoHide}function MH(){for(let t=0;t<Xo.length;t++)Xo[t].$_computePosition()}let al=0,ll=0,ih=0,oh=0;typeof window<"u"&&window.addEventListener("mousemove",t=>{al=ih,ll=oh,ih=t.clientX,oh=t.clientY},Lf?{passive:!0}:void 0);function dm(t,e,n,r,i,o,s,a){const l=((s-i)*(e-o)-(a-o)*(t-i))/((a-o)*(n-t)-(s-i)*(r-e)),c=((n-t)*(e-o)-(r-e)*(t-i))/((a-o)*(n-t)-(s-i)*(r-e));return l>=0&&l<=1&&c>=0&&c<=1}const NH={extends:MA()},r1=(t,e)=>{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n};function IH(t,e,n,r,i,o){return We(),Ot("div",{ref:"reference",class:wr(["v-popper",{"v-popper--shown":t.slotData.isShown}])},[Hn(t.$slots,"default",AT(G2(t.slotData)))],2)}const LH=r1(NH,[["render",IH]]);function DH(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);var n=t.indexOf("Trident/");if(n>0){var r=t.indexOf("rv:");return parseInt(t.substring(r+3,t.indexOf(".",r)),10)}var i=t.indexOf("Edge/");return i>0?parseInt(t.substring(i+5,t.indexOf(".",i)),10):-1}let Sg;function dw(){dw.init||(dw.init=!0,Sg=DH()!==-1)}var i1={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){dw(),Yl(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",Sg&&this.$el.appendChild(t),t.data="about:blank",Sg||this.$el.appendChild(t)},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&&(!Sg&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const BH=iB();B2("data-v-b329ee4c");const zH={class:"resize-observer",tabindex:"-1"};z2();const FH=BH((t,e,n,r,i,o)=>(We(),an("div",zH)));i1.render=FH;i1.__scopeId="data-v-b329ee4c";i1.__file="src/components/ResizeObserver.vue";const IA=(t="theme")=>({computed:{themeClass(){return AH(this[t])}}}),VH=zr({name:"VPopperContent",components:{ResizeObserver:i1},mixins:[IA()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(t){return t!=null&&!isNaN(t)?`${t}px`:null}}}),HH=["id","aria-hidden","tabindex","data-popper-placement"],qH={ref:"inner",class:"v-popper__inner"},UH=Ve("div",{class:"v-popper__arrow-outer"},null,-1),WH=Ve("div",{class:"v-popper__arrow-inner"},null,-1),GH=[UH,WH];function KH(t,e,n,r,i,o){const s=La("ResizeObserver");return We(),Ot("div",{id:t.popperId,ref:"popover",class:wr(["v-popper__popper",[t.themeClass,t.classes.popperClass,{"v-popper__popper--shown":t.shown,"v-popper__popper--hidden":!t.shown,"v-popper__popper--show-from":t.classes.showFrom,"v-popper__popper--show-to":t.classes.showTo,"v-popper__popper--hide-from":t.classes.hideFrom,"v-popper__popper--hide-to":t.classes.hideTo,"v-popper__popper--skip-transition":t.skipTransition,"v-popper__popper--arrow-overflow":t.result&&t.result.arrow.overflow,"v-popper__popper--no-positioning":!t.result}]]),style:rs(t.result?{position:t.result.strategy,transform:`translate3d(${Math.round(t.result.x)}px,${Math.round(t.result.y)}px,0)`}:void 0),"aria-hidden":t.shown?"false":"true",tabindex:t.autoHide?0:void 0,"data-popper-placement":t.result?t.result.placement:void 0,onKeyup:e[2]||(e[2]=Tz(a=>t.autoHide&&t.$emit("hide"),["esc"]))},[Ve("div",{class:"v-popper__backdrop",onClick:e[0]||(e[0]=a=>t.autoHide&&t.$emit("hide"))}),Ve("div",{class:"v-popper__wrapper",style:rs(t.result?{transformOrigin:t.result.transformOrigin}:void 0)},[Ve("div",qH,[t.mounted?(We(),Ot(Ur,{key:0},[Ve("div",null,[Hn(t.$slots,"default")]),t.handleResize?(We(),an(s,{key:0,onNotify:e[1]||(e[1]=a=>t.$emit("resize",a))})):Ln("",!0)],64)):Ln("",!0)],512),Ve("div",{ref:"arrow",class:"v-popper__arrow-container",style:rs(t.result?{left:t.toPx(t.result.arrow.x),top:t.toPx(t.result.arrow.y)}:void 0)},GH,4)],4)],46,HH)}const LA=r1(VH,[["render",KH]]),DA={methods:{show(...t){return this.$refs.popper.show(...t)},hide(...t){return this.$refs.popper.hide(...t)},dispose(...t){return this.$refs.popper.dispose(...t)},onResize(...t){return this.$refs.popper.onResize(...t)}}};let hw=function(){};typeof window<"u"&&(hw=window.Element);const JH=zr({name:"VPopperWrapper",components:{Popper:LH,PopperContent:LA},mixins:[DA,IA("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,hw,Boolean],default:void 0},boundary:{type:[String,hw],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":t=>!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(t=>t!==this.$refs.popperContent.$el)}}});function YH(t,e,n,r,i,o){const s=La("PopperContent"),a=La("Popper");return We(),an(a,Sp({ref:"popper"},t.$props,{theme:t.finalTheme,"target-nodes":t.getTargetNodes,"popper-node":()=>t.$refs.popperContent.$el,class:[t.themeClass],onShow:e[0]||(e[0]=()=>t.$emit("show")),onHide:e[1]||(e[1]=()=>t.$emit("hide")),"onUpdate:shown":e[2]||(e[2]=l=>t.$emit("update:shown",l)),onApplyShow:e[3]||(e[3]=()=>t.$emit("apply-show")),onApplyHide:e[4]||(e[4]=()=>t.$emit("apply-hide")),onCloseGroup:e[5]||(e[5]=()=>t.$emit("close-group")),onCloseDirective:e[6]||(e[6]=()=>t.$emit("close-directive")),onAutoHide:e[7]||(e[7]=()=>t.$emit("auto-hide")),onResize:e[8]||(e[8]=()=>t.$emit("resize"))}),{default:vt(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,show:h,hide:p,handleResize:m,onResize:v,classes:g,result:b})=>[Hn(t.$slots,"default",{shown:c,show:h,hide:p}),at(s,{ref:"popperContent","popper-id":l,theme:t.finalTheme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":m,classes:g,result:b,onHide:p,onResize:v},{default:vt(()=>[Hn(t.$slots,"popper",{shown:c,hide:p})]),_: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 s_=r1(JH,[["render",YH]]),QH={...s_,name:"VDropdown",vPopperTheme:"dropdown"},XH={...s_,name:"VMenu",vPopperTheme:"menu"},ZH={...s_,name:"VTooltip",vPopperTheme:"tooltip"},eq=zr({name:"VTooltipDirective",components:{Popper:MA(),PopperContent:LA},mixins:[DA],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:t=>Mh(t.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:t=>Mh(t.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(t){if(typeof this.content=="function"&&this.$_isShown&&(t||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const e=++this.$_fetchId,n=this.content(this);n.then?n.then(r=>this.onResult(e,r)):this.onResult(e,n)}},onResult(t,e){t===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=e)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),tq=["innerHTML"],nq=["textContent"];function rq(t,e,n,r,i,o){const s=La("PopperContent"),a=La("Popper");return We(),an(a,Sp({ref:"popper"},t.$attrs,{theme:t.theme,"target-nodes":t.targetNodes,"popper-node":()=>t.$refs.popperContent.$el,onApplyShow:t.onShow,onApplyHide:t.onHide}),{default:vt(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,hide:h,handleResize:p,onResize:m,classes:v,result:g})=>[at(s,{ref:"popperContent",class:wr({"v-popper--tooltip-loading":t.loading}),"popper-id":l,theme:t.theme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":p,classes:v,result:g,onHide:h,onResize:m},{default:vt(()=>[t.html?(We(),Ot("div",{key:0,innerHTML:t.finalContent},null,8,tq)):(We(),Ot("div",{key:1,textContent:Tr(t.finalContent)},null,8,nq))]),_: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 iq=r1(eq,[["render",rq]]),BA="v-popper--has-tooltip";function oq(t,e){let n=t.placement;if(!n&&e)for(const r of RA)e[r]&&(n=r);return n||(n=Mh(t.theme||"tooltip","placement")),n}function zA(t,e,n){let r;const i=typeof e;return i==="string"?r={content:e}:e&&i==="object"?r=e:r={content:!1},r.placement=oq(r,n),r.targetNodes=()=>[t],r.referenceNode=()=>t,r}let jy,Nh,sq=0;function aq(){if(jy)return;Nh=Ft([]),jy=zP({name:"VTooltipDirectiveApp",setup(){return{directives:Nh}},render(){return this.directives.map(e=>Nf(iq,{...e.options,shown:e.shown||e.options.shown,key:e.id}))},devtools:{hide:!0}});const t=document.createElement("div");document.body.appendChild(t),jy.mount(t)}function lq(t,e,n){aq();const r=Ft(zA(t,e,n)),i=Ft(!1),o={id:sq++,options:r,shown:i};return Nh.value.push(o),t.classList&&t.classList.add(BA),t.$_popper={options:r,item:o,show(){i.value=!0},hide(){i.value=!1}}}function FA(t){if(t.$_popper){const e=Nh.value.indexOf(t.$_popper.item);e!==-1&&Nh.value.splice(e,1),delete t.$_popper,delete t.$_popperOldShown,delete t.$_popperMountTarget}t.classList&&t.classList.remove(BA)}function uk(t,{value:e,modifiers:n}){const r=zA(t,e,n);if(!r.content||Mh(r.theme||"tooltip","disabled"))FA(t);else{let i;t.$_popper?(i=t.$_popper,i.options.value=r):i=lq(t,e,n),typeof e.shown<"u"&&e.shown!==t.$_popperOldShown&&(t.$_popperOldShown=e.shown,e.shown?i.show():i.hide())}}const cq={beforeMount:uk,updated:uk,beforeUnmount(t){FA(t)}};function fk(t){t.addEventListener("mousedown",gv),t.addEventListener("click",gv),t.addEventListener("touchstart",VA,Lf?{passive:!0}:!1)}function dk(t){t.removeEventListener("mousedown",gv),t.removeEventListener("click",gv),t.removeEventListener("touchstart",VA),t.removeEventListener("touchend",HA),t.removeEventListener("touchcancel",qA)}function gv(t){const e=t.currentTarget;t.closePopover=!e.$_vclosepopover_touch,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}function VA(t){if(t.changedTouches.length===1){const e=t.currentTarget;e.$_vclosepopover_touch=!0;const n=t.changedTouches[0];e.$_vclosepopover_touchPoint=n,e.addEventListener("touchend",HA),e.addEventListener("touchcancel",qA)}}function HA(t){const e=t.currentTarget;if(e.$_vclosepopover_touch=!1,t.changedTouches.length===1){const n=t.changedTouches[0],r=e.$_vclosepopover_touchPoint;t.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}}function qA(t){const e=t.currentTarget;e.$_vclosepopover_touch=!1}const uq={beforeMount(t,{value:e,modifiers:n}){t.$_closePopoverModifiers=n,(typeof e>"u"||e)&&fk(t)},updated(t,{value:e,oldValue:n,modifiers:r}){t.$_closePopoverModifiers=r,e!==n&&(typeof e>"u"||e?fk(t):dk(t))},beforeUnmount(t){dk(t)}};function fq(t,e={}){t.$_vTooltipInstalled||(t.$_vTooltipInstalled=!0,PA(ss,e),t.directive("tooltip",cq),t.directive("close-popper",uq),t.component("VTooltip",ZH),t.component("VDropdown",QH),t.component("VMenu",XH))}const dq={version:"5.2.2",install:fq,options:ss},hq=ua(t=>{t.vueApp.use(dq)}),pq=[XV,eH,rH,oH,sH,aH,cH,uH,fH,hq],mq="modulepreload",gq=function(t,e){return t[0]==="."?new URL(t,e).href:t},hk={},vq=function(e,n,r){let i=Promise.resolve();if(n&&n.length>0){const o=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),a=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));i=Promise.all(n.map(l=>{if(l=gq(l,r),l in hk)return;hk[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!r)for(let h=o.length-1;h>=0;h--){const p=o[h];if(p.href===l&&(!c||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${u}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":mq,c||(d.as="script",d.crossOrigin=""),d.href=l,a&&d.setAttribute("nonce",a),document.head.appendChild(d),c)return new Promise((h,p)=>{d.addEventListener("load",h),d.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${l}`)))})}))}return i.then(()=>e()).catch(o=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o})},re=(...t)=>vq(...t).catch(e=>{const n=new Event("nuxt.preloadError");throw n.payload=e,window.dispatchEvent(n),e}),od=zr({__name:"NIcon",props:{icon:{}},setup(t){return(e,n)=>(We(),Ot("div",{class:wr(["n-icon",e.icon])},null,2))}}),Zl=(t,e)=>{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n},yq={},bq={class:"n-badge"};function wq(t,e){return We(),Ot("span",bq,[Hn(t.$slots,"default")])}const xq=Zl(yq,[["render",wq]]);async function UA(t,e=Xs()){const{path:n,matched:r}=e.resolve(t);if(!r.length||(e._routePreloaded||(e._routePreloaded=new Set),e._routePreloaded.has(n)))return;const i=e._preloadPromises=e._preloadPromises||[];if(i.length>4)return Promise.all(i).then(()=>UA(t,e));e._routePreloaded.add(n);const o=r.map(s=>{var a;return(a=s.components)==null?void 0:a.default}).filter(s=>typeof s=="function");for(const s of o){const a=Promise.resolve(s()).catch(()=>{}).finally(()=>i.splice(i.indexOf(a)));i.push(a)}await Promise.all(i)}const _q=(...t)=>t.find(e=>e!==void 0);function jq(t){const e=t.componentName||"NuxtLink";function n(i,o){if(!i||t.trailingSlash!=="append"&&t.trailingSlash!=="remove")return i;if(typeof i=="string")return pk(i,t.trailingSlash);const s="path"in i&&i.path!==void 0?i.path:o(i).path;return{...i,name:void 0,path:pk(s,t.trailingSlash)}}function r(i){const o=Xs(),s=If(),a=en(()=>!!i.target&&i.target!=="_self"),l=en(()=>{const m=i.to||i.href||"";return typeof m=="string"&&Xl(m,{acceptRelative:!0})}),c=La("RouterLink"),u=c&&typeof c!="string"?c.useLink:void 0,f=en(()=>{if(i.external)return!0;const m=i.to||i.href||"";return typeof m=="object"?!1:m===""||l.value}),d=en(()=>{const m=i.to||i.href||"";return f.value?m:n(m,o.resolve)}),h=f.value||u==null?void 0:u({...i,to:d}),p=en(()=>{var m;if(!d.value||l.value)return d.value;if(f.value){const v=typeof d.value=="object"&&"path"in d.value?rw(d.value):d.value,g=typeof v=="object"?o.resolve(v).href:v;return n(g,o.resolve)}return typeof d.value=="object"?((m=o.resolve(d.value))==null?void 0:m.href)??null:n(fu(s.app.baseURL,d.value),o.resolve)});return{to:d,hasTarget:a,isAbsoluteUrl:l,isExternal:f,href:p,isActive:(h==null?void 0:h.isActive)??en(()=>d.value===o.currentRoute.value.path),isExactActive:(h==null?void 0:h.isExactActive)??en(()=>d.value===o.currentRoute.value.path),route:(h==null?void 0:h.route)??en(()=>o.resolve(d.value)),async navigate(){await cA(p.value,{replace:i.replace,external:f.value||a.value})}}}return zr({name:e,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(i,{slots:o}){const s=Xs(),{to:a,href:l,navigate:c,isExternal:u,hasTarget:f,isAbsoluteUrl:d}=r(i),h=Ft(!1),p=Ft(null),m=v=>{var g;p.value=i.custom?(g=v==null?void 0:v.$el)==null?void 0:g.nextElementSibling:v==null?void 0:v.$el};if(i.prefetch!==!1&&i.noPrefetch!==!0&&i.target!=="_blank"&&!Sq()){const g=Rr();let b,y=null;uu(()=>{const x=$q();Z0(()=>{b=lw(()=>{var w;(w=p==null?void 0:p.value)!=null&&w.tagName&&(y=x.observe(p.value,async()=>{y==null||y(),y=null;const _=typeof a.value=="string"?a.value:u.value?rw(a.value):s.resolve(a.value).fullPath;await Promise.all([g.hooks.callHook("link:prefetch",_).catch(()=>{}),!u.value&&!f.value&&UA(a.value,s).catch(()=>{})]),h.value=!0}))})})}),V2(()=>{b&&iH(b),y==null||y(),y=null})}return()=>{var b;if(!u.value&&!f.value){const y={ref:m,to:a.value,activeClass:i.activeClass||t.activeClass,exactActiveClass:i.exactActiveClass||t.exactActiveClass,replace:i.replace,ariaCurrentValue:i.ariaCurrentValue,custom:i.custom};return i.custom||(h.value&&(y.class=i.prefetchedClass||t.prefetchedClass),y.rel=i.rel||void 0),Nf(La("RouterLink"),y,o.default)}const v=i.target||null,g=_q(i.noRel?"":i.rel,t.externalRelAttribute,d.value||f.value?"noopener noreferrer":"")||null;return i.custom?o.default?o.default({href:l.value,navigate:c,get route(){if(!l.value)return;const y=new URL(l.value,window.location.href);return{path:y.pathname,fullPath:y.pathname,get query(){return Q2(y.search)},hash:y.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:l.value}},rel:g,target:v,isExternal:u.value||f.value,isActive:!1,isExactActive:!1}):null:Nf("a",{ref:p,href:l.value||null,rel:g,target:v},(b=o.default)==null?void 0:b.call(o))}}})}const a_=jq(IF);function pk(t,e){const n=e==="append"?sv:Y0;return Xl(t)&&!t.startsWith("http")?t:n(t,!0)}function $q(){const t=Rr();if(t._observer)return t._observer;let e=null;const n=new Map,r=(o,s)=>(e||(e=new IntersectionObserver(a=>{for(const l of a){const c=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&c&&c()}})),n.set(o,s),e.observe(o),()=>{n.delete(o),e.unobserve(o),n.size===0&&(e.disconnect(),e=null)});return t._observer={observe:r}}function Sq(){const t=navigator.connection;return!!(t&&(t.saveData||/2g/.test(t.effectiveType)))}const kq={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},WA=zr({__name:"NLink",props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(t){const e=t,n=en(()=>e.href||e.to);return(r,i)=>{const o=a_;return We(),an(o,Sp(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:vt(()=>[Hn(r.$slots,"default"),n.value&&r.target==="_blank"?(We(),Ot("div",kq)):Ln("",!0)]),_:3},16,["class"])}}}),Cq={},Eq={height:"22",viewBox:"0 0 1204 200",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Oq=KB('<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),Tq=[Oq];function Pq(t,e){return We(),Ot("svg",Eq,Tq)}const Aq=Zl(Cq,[["render",Pq]]),Rq=zr({__name:"NButton",props:{to:{},icon:{},border:{type:Boolean,default:!0},disabled:{type:Boolean},type:{default:"button"}},setup(t){return(e,n)=>{const r=od;return We(),an(iP(e.to?Ae(a_):"button"),Sp({to:e.to},{...e.$attrs,...!e.to&&{type:e.type},...e.disabled?{disabled:!0}:{tabindex:0}},{class:[[{"n-button-base active:n-button-active focus-visible:n-focus-base hover:n-button-hover":e.border},{"n-icon-button":!e.$slots.default}],"n-button n-transition n-disabled:n-disabled"]}),{default:vt(()=>[Hn(e.$slots,"icon",{},()=>[e.icon?(We(),an(r,{key:0,icon:e.icon,class:wr({"n-button-icon":e.$slots.default})},null,8,["icon","class"])):Ln("",!0)]),Hn(e.$slots,"default")]),_:3},16,["to","class"])}}}),Mq={},Nq={class:"n-loading n-panel-grids-center"},Iq={class:"flex flex-col animate-pulse items-center text-lg"},Lq=Ve("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function Dq(t,e){return We(),Ot("div",Nq,[Ve("div",Iq,[Lq,Hn(t.$slots,"default",{},()=>[Ht(" Loading... ")])])])}const GA=Zl(Mq,[["render",Dq]]),Bq=zr({__name:"ImageLoader",props:{src:{},aspectRatio:{},maxHeight:{},maxWidth:{}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=Ft(),o=Ft(!0),s=Ft();function a(l){const c=i.value;if(l!==s.value){s.value=l,o.value=!0,c.style.backgroundImage="";const u=Date.now();$fetch.raw(l,{responseType:"blob"}).then(f=>{const d=f.headers.get("content-length"),h=Math.round(Number(d)/1024),p=new FileReader;p.readAsDataURL(f._data),p.onloadend=()=>{const m=p.result;m&&(c.style.backgroundImage=`url(${m})`,o.value=!1,r("load",{timeTaken:Date.now()-u,sizeKb:h}))}})}}return uu(()=>{Ar(()=>n.src,l=>{a(l)},{immediate:!0})}),(l,c)=>{const u=GA;return We(),Ot("div",{ref_key:"image",ref:i,style:rs({aspectRatio:l.aspectRatio})},[Ae(o)?(We(),an(u,{key:0})):Ln("",!0)],4)}}}),KA=Zl(Bq,[["__scopeId","data-v-7e6b9f9b"]]);let zq;const xd=[];function Fq(t){if(xd.push(t),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&xd.forEach(e=>e(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(e){e&&xd.forEach(n=>n(e))},get(){return zq.value},configurable:!0}),()=>{xd.splice(xd.indexOf(t),1)}}function JA(t){return z0()?(Ib(t),!0):!1}function Df(t){return typeof t=="function"?t():Ae(t)}const Vq=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Hq=t=>typeof t<"u",qq=Object.prototype.toString,Uq=t=>qq.call(t)==="[object Object]",vv=()=>{};function YA(t,e){function n(...r){return new Promise((i,o)=>{Promise.resolve(t(()=>e.apply(this,r),{fn:e,thisArg:this,args:r})).then(i).catch(o)})}return n}const QA=t=>t();function Wq(t,e={}){let n,r,i=vv;const o=a=>{clearTimeout(a),i(),i=vv};return a=>{const l=Df(t),c=Df(e.maxWait);return n&&o(n),l<=0||c!==void 0&&c<=0?(r&&(o(r),r=null),Promise.resolve(a())):new Promise((u,f)=>{i=e.rejectOnCancel?f:u,c&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,u(a())},c)),n=setTimeout(()=>{r&&o(r),r=null,u(a())},l)})}}function Gq(t=QA){const e=Ft(!0);function n(){e.value=!1}function r(){e.value=!0}const i=(...o)=>{e.value&&t(...o)};return{isActive:V0(e),pause:n,resume:r,eventFilter:i}}function Kq(t){return Ql()}function Jq(...t){if(t.length!==1)return L2(...t);const e=t[0];return typeof e=="function"?V0(J9(()=>({get:e,set:vv}))):Ft(e)}function l_(t,e=200,n={}){return YA(Wq(e,n),t)}function Yq(t,e,n={}){const{eventFilter:r=QA,...i}=n;return Ar(t,YA(r,e),i)}function Qq(t,e,n={}){const{eventFilter:r,...i}=n,{eventFilter:o,pause:s,resume:a,isActive:l}=Gq(r);return{stop:Yq(t,e,{...i,eventFilter:o}),pause:s,resume:a,isActive:l}}function c_(t,e=!0,n){Kq()?uu(t,n):e?t():Yl(t)}function XA(t){var e;const n=Df(t);return(e=n==null?void 0:n.$el)!=null?e:n}const Vc=Vq?window:void 0;function pw(...t){let e,n,r,i;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,r,i]=t,e=Vc):[e,n,r,i]=t,!e)return vv;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],s=()=>{o.forEach(u=>u()),o.length=0},a=(u,f,d,h)=>(u.addEventListener(f,d,h),()=>u.removeEventListener(f,d,h)),l=Ar(()=>[XA(e),Df(i)],([u,f])=>{if(s(),!u)return;const d=Uq(f)?{...f}:f;o.push(...n.flatMap(h=>r.map(p=>a(u,h,p,d))))},{immediate:!0,flush:"post"}),c=()=>{l(),s()};return JA(c),c}function Xq(){const t=Ft(!1),e=Ql();return e&&uu(()=>{t.value=!0},e),t}function Zq(t){const e=Xq();return en(()=>(e.value,!!t()))}function ZA(t,e={}){const{window:n=Vc}=e,r=Zq(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let i;const o=Ft(!1),s=c=>{o.value=c.matches},a=()=>{i&&("removeEventListener"in i?i.removeEventListener("change",s):i.removeListener(s))},l=K0(()=>{r.value&&(a(),i=n.matchMedia(Df(t)),"addEventListener"in i?i.addEventListener("change",s):i.addListener(s),o.value=i.matches)});return JA(()=>{l(),a(),i=void 0}),o}function eU(t){return JSON.parse(JSON.stringify(t))}const hm=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},pm="__vueuse_ssr_handlers__",tU=nU();function nU(){return pm in hm||(hm[pm]=hm[pm]||{}),hm[pm]}function e5(t,e){return tU[t]||e}function rU(t){return t==null?"any":t instanceof Set?"set":t instanceof Map?"map":t instanceof Date?"date":typeof t=="boolean"?"boolean":typeof t=="string"?"string":typeof t=="object"?"object":Number.isNaN(t)?"any":"number"}const iU={boolean:{read:t=>t==="true",write:t=>String(t)},object:{read:t=>JSON.parse(t),write:t=>JSON.stringify(t)},number:{read:t=>Number.parseFloat(t),write:t=>String(t)},any:{read:t=>t,write:t=>String(t)},string:{read:t=>t,write:t=>String(t)},map:{read:t=>new Map(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t.entries()))},set:{read:t=>new Set(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t))},date:{read:t=>new Date(t),write:t=>t.toISOString()}},mk="vueuse-storage";function t5(t,e,n,r={}){var i;const{flush:o="pre",deep:s=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:f=Vc,eventFilter:d,onError:h=C=>{console.error(C)},initOnMounted:p}=r,m=(u?Qg:Ft)(typeof e=="function"?e():e);if(!n)try{n=e5("getDefaultStorage",()=>{var C;return(C=Vc)==null?void 0:C.localStorage})()}catch(C){h(C)}if(!n)return m;const v=Df(e),g=rU(v),b=(i=r.serializer)!=null?i:iU[g],{pause:y,resume:x}=Qq(m,()=>_(m.value),{flush:o,deep:s,eventFilter:d});f&&a&&c_(()=>{pw(f,"storage",D),pw(f,mk,L),p&&D()}),p||D();function w(C,V){f&&f.dispatchEvent(new CustomEvent(mk,{detail:{key:t,oldValue:C,newValue:V,storageArea:n}}))}function _(C){try{const V=n.getItem(t);if(C==null)w(V,null),n.removeItem(t);else{const M=b.write(C);V!==M&&(n.setItem(t,M),w(V,M))}}catch(V){h(V)}}function k(C){const V=C?C.newValue:n.getItem(t);if(V==null)return l&&v!=null&&n.setItem(t,b.write(v)),v;if(!C&&c){const M=b.read(V);return typeof c=="function"?c(M,v):g==="object"&&!Array.isArray(M)?{...v,...M}:M}else return typeof V!="string"?V:b.read(V)}function D(C){if(!(C&&C.storageArea!==n)){if(C&&C.key==null){m.value=v;return}if(!(C&&C.key!==t)){y();try{(C==null?void 0:C.newValue)!==b.write(m.value)&&(m.value=k(C))}catch(V){h(V)}finally{C?Yl(x):x()}}}}function L(C){D(C.detail)}return m}function oU(t){return ZA("(prefers-color-scheme: dark)",t)}function sU(t={}){const{selector:e="html",attribute:n="class",initialValue:r="auto",window:i=Vc,storage:o,storageKey:s="vueuse-color-scheme",listenToStorageChanges:a=!0,storageRef:l,emitAuto:c,disableTransition:u=!0}=t,f={auto:"",light:"light",dark:"dark",...t.modes||{}},d=oU({window:i}),h=en(()=>d.value?"dark":"light"),p=l||(s==null?Jq(r):t5(s,r,o,{window:i,listenToStorageChanges:a})),m=en(()=>p.value==="auto"?h.value:p.value),v=e5("updateHTMLAttrs",(x,w,_)=>{const k=typeof x=="string"?i==null?void 0:i.document.querySelector(x):XA(x);if(!k)return;let D;if(u&&(D=i.document.createElement("style"),D.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),i.document.head.appendChild(D)),w==="class"){const L=_.split(/\s/g);Object.values(f).flatMap(C=>(C||"").split(/\s/g)).filter(Boolean).forEach(C=>{L.includes(C)?k.classList.add(C):k.classList.remove(C)})}else k.setAttribute(w,_);u&&(i.getComputedStyle(D).opacity,document.head.removeChild(D))});function g(x){var w;v(e,n,(w=f[x])!=null?w:x)}function b(x){t.onChanged?t.onChanged(x,g):g(x)}Ar(m,b,{flush:"post",immediate:!0}),c_(()=>b(m.value));const y=en({get(){return c?p.value:m.value},set(x){p.value=x}});try{return Object.assign(y,{store:p,system:h,state:m})}catch{return y}}function $y(t,e,n={}){const{window:r=Vc}=n;return t5(t,e,r==null?void 0:r.localStorage,n)}function n5(t,e,n,r={}){var i,o,s;const{clone:a=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:f,shouldEmit:d}=r,h=Ql(),p=n||(h==null?void 0:h.emit)||((i=h==null?void 0:h.$emit)==null?void 0:i.bind(h))||((s=(o=h==null?void 0:h.proxy)==null?void 0:o.$emit)==null?void 0:s.bind(h==null?void 0:h.proxy));let m=c;e||(e="modelValue"),m=m||`update:${e.toString()}`;const v=y=>a?typeof a=="function"?a(y):eU(y):y,g=()=>Hq(t[e])?v(t[e]):f,b=y=>{d?d(y)&&p(m,y):p(m,y)};if(l){const y=g(),x=Ft(y);let w=!1;return Ar(()=>t[e],_=>{w||(w=!0,x.value=v(_),Yl(()=>w=!1))}),Ar(x,_=>{!w&&(_!==t[e]||u)&&b(_)},{deep:u}),x}else return en({get(){return g()},set(y){b(y)}})}function aU(t={}){const{window:e=Vc,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:i=!0,includeScrollbar:o=!0}=t,s=Ft(n),a=Ft(r),l=()=>{e&&(o?(s.value=e.innerWidth,a.value=e.innerHeight):(s.value=e.document.documentElement.clientWidth,a.value=e.document.documentElement.clientHeight))};if(l(),c_(l),pw("resize",l,{passive:!0}),i){const c=ZA("(orientation: portrait)");Ar(c,()=>l())}return{width:s,height:a}}const o1=Ft(Date.now()),r5=Ft(Date.now()),_d=Ft(null),lU=window.location.host,Ih=Ft("/"),mw=Ft(),cU=Ft("/"),Ir=Ft({}),ro=Ft({}),jd=Ft(!1),gk=Ft({}),qi=l_(()=>{o1.value=Date.now()},200),uU=l_(()=>{o1.value=Date.now()},1e3),fU=en(()=>UP(cU.value,`${window.location.protocol}//${lU}`)),Lh=Ft(),dU=Ft(),kc=Ft(),yv=Ft("dark");Fq(async t=>{var n;Lh.value=t.host.app.$fetch,K0(()=>{yv.value=t.host.app.colorMode.value});const e=(n=t.host.nuxt.vueApp.config.globalProperties)==null?void 0:n.$route;mw.value=e.query,Ih.value=e.path||"/",t.host.nuxt.$router.afterEach(r=>{mw.value=r.query,Ih.value=r.path,qi()}),dU.value=t.devtools,kc.value=t,t.devtools.extendClientRpc("nuxt-og-image",{refreshRouteData(r){var i,o,s,a;(a=(s=(o=(i=kc.value)==null?void 0:i.host.nuxt.vueApp.config)==null?void 0:o.globalProperties)==null?void 0:s.$route.matched[0].components)!=null&&a.default.__file.includes(r)&&qi()},refresh(){qi()},refreshGlobalData(){r5.value=Date.now()}})});const hU=["width","height"],pU=zr({__name:"IFrameLoader",props:{src:{},aspectRatio:{},maxHeight:{},maxWidth:{}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=Ft(),o=Ft(),s=en(()=>n.maxWidth||Ir.value.width),a=en(()=>n.maxHeight||Ir.value.height),l=l_(()=>{const c=o.value,u=Date.now();c.src="";const f=Ir.value.width||1200,d=Ir.value.height||600,h=a.value,p=s.value,m=h>d?1:h/d,v=p>f?1:p/f,g=v>m?m:v;c.style.opacity="0",c.onload=()=>{c.style.opacity="1",r("load",{timeTaken:Date.now()-u})},c.src=`${i.value}&scale=${g}&colorMode=${yv.value}`},200);return uu(()=>{Ar(()=>n.src,c=>{i.value!==c&&o.value&&(i.value=c,l())},{immediate:!0}),Ar([()=>yv,o],()=>{l()})}),!n.maxHeight&&!n.maxWidth&&sw({bodyAttrs:{onresize:()=>{l()}}}),(c,u)=>(We(),Ot("div",{class:"w-full mx-auto h-full justify-center flex",style:rs({maxHeight:`${Ae(a)}px`,maxWidth:`${Ae(s)}px`})},[Ve("iframe",{ref_key:"iframe",ref:o,class:"max-h-full",style:rs({aspectRatio:c.aspectRatio}),width:Ae(s),height:Ae(a)},null,12,hU)],4))}}),i5=Zl(pU,[["__scopeId","data-v-79e7a8a1"]]),mU={class:"root max-h-full relative flex"},gU={class:"max-h-full border-1 border-solid border-[#cfd9de] rounded-[16px] overflow-hidden"},vU={class:"image-wrap"},yU={key:0,class:"title absolute bottom-3 z-2 left-3 text-white"},bU={class:"domain absolute -bottom-5 z-2 left-0"},wU=zr({__name:"TwitterCardRenderer",props:{title:{}},setup(t){return(e,n)=>(We(),Ot("div",mU,[Ve("div",gU,[Ve("div",vU,[Hn(e.$slots,"default",{},void 0,!0)])]),e.title?(We(),Ot("div",yU,[Hn(e.$slots,"title",{},()=>[Ht(Tr(e.title),1)],!0)])):Ln("",!0),Ve("div",bU,[Hn(e.$slots,"domain",{},void 0,!0)])]))}}),xU=Zl(wU,[["__scopeId","data-v-16c6faf9"]]),_U={},jU=t=>(B2("data-v-8dc99e6e"),t=t(),z2(),t),$U={class:"root"},SU=jU(()=>Ve("div",{class:"bar"},null,-1)),kU={class:"content"},CU={class:"flex items-center space-x-2"},EU={class:"favIcon"},OU={class:"siteName"},TU={class:"title"},PU={class:"description"};function AU(t,e){return We(),Ot("div",$U,[SU,Ve("div",kU,[Ve("div",CU,[Ve("div",EU,[Hn(t.$slots,"favIcon",{},void 0,!0)]),Ve("div",OU,[Hn(t.$slots,"siteName",{},void 0,!0)])]),Ve("div",TU,[Hn(t.$slots,"title",{},void 0,!0)]),Ve("div",PU,[Hn(t.$slots,"description",{},void 0,!0)]),Hn(t.$slots,"default",{},void 0,!0)])])}const RU=Zl(_U,[["render",AU],["__scopeId","data-v-8dc99e6e"]]),MU=["disabled"],NU={key:0,value:"",disabled:"",hidden:""},IU=zr({__name:"NSelect",props:{modelValue:{default:void 0},placeholder:{default:""},icon:{default:""},disabled:{type:Boolean,default:!1}},setup(t,{emit:e}){const i=n5(t,"modelValue",e,{passive:!0});return(o,s)=>{const a=od;return We(),Ot("div",{class:wr(["n-select flex flex items-center border rounded px-2 py-1 focus-within:n-focus-base focus-within:border-context n-bg-base",o.disabled?"border-gray:10":"n-border-base"])},[Hn(o.$slots,"icon",{},()=>[o.icon?(We(),an(a,{key:0,icon:o.icon,class:"mr-0.4em text-1.1em op50"},null,8,["icon"])):Ln("",!0)]),uP(Ve("select",{"onUpdate:modelValue":s[0]||(s[0]=l=>oi(i)?i.value=l:null),disabled:o.disabled,class:wr(["w-full flex-auto n-bg-base !outline-none",o.disabled?"appearance-none":""])},[o.placeholder?(We(),Ot("option",NU,Tr(o.placeholder),1)):Ln("",!0),Hn(o.$slots,"default")],10,MU),[[Sz,Ae(i)]])],2)}}}),LU={flex:"~ gap-3","items-center":""},DU=zr({__name:"NIconTitle",props:{icon:{},text:{}},setup(t){return(e,n)=>(We(),Ot("div",LU,[e.icon?(We(),Ot("div",{key:0,class:wr(e.icon)},null,2)):Ln("",!0),Hn(e.$slots,"default",{},()=>[Ve("div",null,Tr(e.text),1)])]))}}),o5=t=>(B2("data-v-76fd872a"),t=t(),z2(),t),BU=["open"],zU={"text-base":""},FU={key:0,"text-sm":"",op50:""},VU=o5(()=>Ve("div",{class:"flex-auto"},null,-1)),HU=o5(()=>Ve("div",{class:"x-divider"},null,-1)),qU=zr({__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(t){const n=n5(t,"open");function r(i){n.value=i.target.open}return(i,o)=>{const s=od,a=DU;return We(),Ot(Ur,null,[Ve("details",{open:Ae(n),onToggle:r},[Ve("summary",{class:wr(["cursor-pointer select-none n-bg-active hover:bg-active p4 rounded transition-all",i.collapse?"":"pointer-events-none"])},[at(a,{icon:i.icon,text:i.text,"text-xl":"",transition:"",class:wr([Ae(n)?"op100":"op60",i.headerClass])},{default:vt(()=>[Ve("div",null,[Ve("div",zU,[Hn(i.$slots,"text",{},()=>[Ht(Tr(i.text),1)],!0)]),i.description||i.$slots.description?(We(),Ot("div",FU,[Hn(i.$slots,"description",{},()=>[Ht(Tr(i.description),1)],!0)])):Ln("",!0)]),VU,Hn(i.$slots,"actions",{},void 0,!0),i.collapse?(We(),an(s,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):Ln("",!0)]),_:3},8,["icon","text","class"])],2),Ve("div",{class:wr(["flex flex-col flex-gap2 pb6 pt2",typeof i.padding=="string"?i.padding:i.padding?"px4":""])},[Hn(i.$slots,"details",{},void 0,!0),Ve("div",{class:wr([i.containerClass,"mt1"])},[Hn(i.$slots,"default",{},void 0,!0)],2),Hn(i.$slots,"footer",{},void 0,!0)],2)],40,BU),HU],64)}}}),UU=Zl(qU,[["__scopeId","data-v-76fd872a"]]),WU={class:"n-tip n-tip-base"},GU=zr({__name:"NTip",props:{icon:{}},setup(t){return(e,n)=>{const r=od;return We(),Ot("div",WU,[Hn(e.$slots,"icon",{},()=>[e.icon?(We(),an(r,{key:0,icon:e.icon,class:"n-tip-icon"},null,8,["icon"])):Ln("",!0)]),Ve("div",null,[Hn(e.$slots,"default")])])}}}),KU={class:"group"},JU={key:0,class:"opacity-70 text-sm transition group-hover:opacity-100"},YU={class:"border-2 group-hover:shadow-sm rounded-[0.35rem] border-transparent hover:border-yellow-500 transition-all"},QU={class:"w-[220px] h-[110px] relative"},XU={class:"flex justify-between items-center text-xs px-2"},ZU={class:""},eW=Ve("span",{class:"underline"},"View source",-1),tW=zr({__name:"TemplateComponentPreview",props:{src:{},aspectRatio:{},component:{},active:{type:Boolean},imageFormat:{}},setup(t){const e=t;function n(){var a;(a=kc.value)==null||a.devtools.rpc.openInEditor(e.component.path)}const r=en(()=>e.src.includes(".html")),i=en(()=>{var a;return(a=e.component.credits)==null?void 0:a.split("<")[0].trim()}),o=en(()=>{var a;return(a=e.component.credits)==null?void 0:a.split("<")[1].trim().replace(">","")}),s=Ft();return(a,l)=>{const c=WA,u=od,f=KA,d=i5,h=La("VTooltip");return We(),Ot("div",KU,[a.component.credits?(We(),Ot("div",JU,[o.value?(We(),an(c,{key:0,href:o.value,external:"",class:"underline"},{default:vt(()=>[Ht(Tr(i.value),1)]),_:1},8,["href"])):Ln("",!0)])):Ln("",!0),Ve("div",YU,[at(h,null,{popper:vt(()=>[Ht(" Preview "+Tr(a.component.pascalName)+" for the current page. ",1)]),default:vt(()=>[Ve("div",QU,[a.active?(We(),an(u,{key:0,icon:"carbon:checkmark-filled",class:"absolute top-2 right-2 text-green-500"})):Ln("",!0),r.value?(We(),an(d,{key:2,src:a.src,class:"pointer-events-none","max-height":120,"aspect-ratio":a.aspectRatio,onLoad:l[1]||(l[1]=p=>s.value=p)},null,8,["src","aspect-ratio"])):(We(),an(f,{key:1,src:Ae(lf)(a.src,{component:a.component.pascalName}),"aspect-ratio":a.aspectRatio,class:wr(["rounded overflow-hidden",a.active?["ring-2 ring-green-500"]:[]]),onLoad:l[0]||(l[0]=p=>s.value=p)},null,8,["src","aspect-ratio","class"]))])]),_:1})]),Ve("div",XU,[at(h,null,{popper:vt(()=>[Ht(" Open the source code of "+Tr(a.component.pascalName)+".vue in your IDE ",1)]),default:vt(()=>[Ve("div",ZU,[at(c,{external:"",class:"opacity-70 items-start space-x-1 flex",onClick:Ez(n,["stop"])},{default:vt(()=>[Ve("span",null,Tr(a.component.pascalName),1),eW]),_:1})])]),_:1})])])}}}),nW=t=>t==="defer"||t===!1;function s5(...t){var p;const e=typeof t[t.length-1]=="string"?t.pop():void 0;typeof t[0]!="string"&&t.unshift(e);let[n,r,i={}]=t;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");const o=Rr(),s=r,a=()=>Vu.value,l=()=>o.isHydrating?o.payload.data[n]:o.static.data[n];i.server=i.server??!0,i.default=i.default??a,i.getCachedData=i.getCachedData??l,i.lazy=i.lazy??!1,i.immediate=i.immediate??!0,i.deep=i.deep??Vu.deep,i.dedupe=i.dedupe??"cancel";const c=()=>i.getCachedData(n,o)!=null;if(!o._asyncData[n]||!i.immediate){(p=o.payload._errors)[n]??(p[n]=Vu.errorValue);const m=i.deep?Ft:Qg;o._asyncData[n]={data:m(i.getCachedData(n,o)??i.default()),pending:Ft(!c()),error:L2(o.payload._errors,n),status:Ft("idle"),_default:i.default}}const u={...o._asyncData[n]};delete u._default,u.refresh=u.execute=(m={})=>{if(o._asyncDataPromises[n]){if(nW(m.dedupe??i.dedupe))return o._asyncDataPromises[n];o._asyncDataPromises[n].cancelled=!0}if((m._initial||o.isHydrating&&m._initial!==!1)&&c())return Promise.resolve(i.getCachedData(n,o));u.pending.value=!0,u.status.value="pending";const v=new Promise((g,b)=>{try{g(s(o))}catch(y){b(y)}}).then(async g=>{if(v.cancelled)return o._asyncDataPromises[n];let b=g;i.transform&&(b=await i.transform(g)),i.pick&&(b=iW(b,i.pick)),o.payload.data[n]=b,u.data.value=b,u.error.value=Vu.errorValue,u.status.value="success"}).catch(g=>{if(v.cancelled)return o._asyncDataPromises[n];u.error.value=Q0(g),u.data.value=Ae(i.default()),u.status.value="error"}).finally(()=>{v.cancelled||(u.pending.value=!1,delete o._asyncDataPromises[n])});return o._asyncDataPromises[n]=v,o._asyncDataPromises[n]},u.clear=()=>rW(o,n);const f=()=>u.refresh({_initial:!0}),d=i.server!==!1&&o.payload.serverRendered;{const m=Ql();if(m&&!m._nuxtOnBeforeMountCbs){m._nuxtOnBeforeMountCbs=[];const b=m._nuxtOnBeforeMountCbs;lP(()=>{b.forEach(y=>{y()}),b.splice(0,b.length)}),G0(()=>b.splice(0,b.length))}d&&o.isHydrating&&(u.error.value||c())?(u.pending.value=!1,u.status.value=u.error.value?"error":"success"):m&&(o.payload.serverRendered&&o.isHydrating||i.lazy)&&i.immediate?m._nuxtOnBeforeMountCbs.push(f):i.immediate&&f();const v=z0();if(i.watch){const b=Ar(i.watch,()=>u.refresh());v&&Ib(b)}const g=o.hook("app:data:refresh",async b=>{(!b||b.includes(n))&&await u.refresh()});v&&Ib(g)}const h=Promise.resolve(o._asyncDataPromises[n]).then(()=>u);return Object.assign(h,u),h}function rW(t,e){e in t.payload.data&&(t.payload.data[e]=void 0),e in t.payload._errors&&(t.payload._errors[e]=Vu.errorValue),t._asyncData[e]&&(t._asyncData[e].data.value=void 0,t._asyncData[e].error.value=Vu.errorValue,t._asyncData[e].pending.value=!1,t._asyncData[e].status.value="idle"),e in t._asyncDataPromises&&(t._asyncDataPromises[e]&&(t._asyncDataPromises[e].cancelled=!0),t._asyncDataPromises[e]=void 0)}function iW(t,e){const n={};for(const r of e)n[r]=t[r];return n}function vk(){return s5(()=>Lh.value?Lh.value(fu("/__og-image__/image",Ih.value,"og.json"),{query:ro.value}):{siteCofig:{},options:{},vnodes:{}},{watch:[Ih,o1]},"$XVR8o8RMBy")}function oW(){return s5(()=>Lh.value?Lh.value("/__og-image__/debug.json"):{runtimeConfig:{}},{watch:[r5]},"$cHgKigQ0kS")}const a5=[{id:"abap",name:"ABAP",import:()=>re(()=>import("./DXFkqnOI.js"),[],import.meta.url)},{id:"actionscript-3",name:"ActionScript",import:()=>re(()=>import("./BigF1UXR.js"),[],import.meta.url)},{id:"ada",name:"Ada",import:()=>re(()=>import("./CowR2XfX.js"),[],import.meta.url)},{id:"angular-html",name:"Angular HTML",import:()=>re(()=>import("./ECt0lbkd.js").then(t=>t.e),__vite__mapDeps([0,1,2,3]),import.meta.url)},{id:"angular-ts",name:"Angular TypeScript",import:()=>re(()=>import("./1rqFXsGc.js"),__vite__mapDeps([4,0,1,2,3,5]),import.meta.url)},{id:"apache",name:"Apache Conf",import:()=>re(()=>import("./rS0jd3Ly.js"),[],import.meta.url)},{id:"apex",name:"Apex",import:()=>re(()=>import("./Sfo2eW0G.js"),[],import.meta.url)},{id:"apl",name:"APL",import:()=>re(()=>import("./DC4hdoM9.js"),__vite__mapDeps([6,1,2,3,7,8,9]),import.meta.url)},{id:"applescript",name:"AppleScript",import:()=>re(()=>import("./B4yE-MfL.js"),[],import.meta.url)},{id:"ara",name:"Ara",import:()=>re(()=>import("./CG4fK2Nq.js"),[],import.meta.url)},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:()=>re(()=>import("./CFF2d1j6.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:()=>re(()=>import("./PWN5J14X.js"),[],import.meta.url)},{id:"astro",name:"Astro",import:()=>re(()=>import("./BXR915QZ.js"),__vite__mapDeps([48,9,2,47,49,43,3,5,34,50,51]),import.meta.url)},{id:"awk",name:"AWK",import:()=>re(()=>import("./i0IPvypD.js"),[],import.meta.url)},{id:"ballerina",name:"Ballerina",import:()=>re(()=>import("./T9ysyp6P.js"),[],import.meta.url)},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>re(()=>import("./BPiaQZfK.js"),[],import.meta.url)},{id:"beancount",name:"Beancount",import:()=>re(()=>import("./Urb1RsFe.js"),[],import.meta.url)},{id:"berry",name:"Berry",aliases:["be"],import:()=>re(()=>import("./CxrokwfH.js"),[],import.meta.url)},{id:"bibtex",name:"BibTeX",import:()=>re(()=>import("./BaedD2tq.js"),[],import.meta.url)},{id:"bicep",name:"Bicep",import:()=>re(()=>import("./3ghuYFLd.js"),[],import.meta.url)},{id:"blade",name:"Blade",import:()=>re(()=>import("./C1DVX8_8.js"),__vite__mapDeps([52,1,2,3,7,8,19,9]),import.meta.url)},{id:"c",name:"C",import:()=>re(()=>import("./RCJZWN-0.js"),[],import.meta.url)},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>re(()=>import("./Bgpqy2XC.js"),[],import.meta.url)},{id:"clarity",name:"Clarity",import:()=>re(()=>import("./DV9JwLIa.js"),[],import.meta.url)},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>re(()=>import("./BF6G6X0H.js"),[],import.meta.url)},{id:"cmake",name:"CMake",import:()=>re(()=>import("./DXZpi2gR.js"),[],import.meta.url)},{id:"cobol",name:"COBOL",import:()=>re(()=>import("./Cgl53LJQ.js"),__vite__mapDeps([53,19,1,2,3,8]),import.meta.url)},{id:"codeowners",name:"CODEOWNERS",import:()=>re(()=>import("./CGmujMTu.js"),[],import.meta.url)},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>re(()=>import("./BOpLLL-w.js"),[],import.meta.url)},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>re(()=>import("./Bg0wAK5a.js"),__vite__mapDeps([15,2]),import.meta.url)},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:()=>re(()=>import("./C3qUB5O8.js"),[],import.meta.url)},{id:"cpp",name:"C++",aliases:["c++"],import:()=>re(()=>import("./BB42E8aY.js"),__vite__mapDeps([16,17,18,13,19]),import.meta.url)},{id:"crystal",name:"Crystal",import:()=>re(()=>import("./B6bHXiXE.js"),__vite__mapDeps([54,1,2,3,19,13,40]),import.meta.url)},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>re(()=>import("./Bdt_eLrj.js"),[],import.meta.url)},{id:"css",name:"CSS",import:()=>re(()=>import("./CbYhyuC0.js"),[],import.meta.url)},{id:"csv",name:"CSV",import:()=>re(()=>import("./B2DkETJQ.js"),[],import.meta.url)},{id:"cue",name:"CUE",import:()=>re(()=>import("./C6Aznpr-.js"),[],import.meta.url)},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>re(()=>import("./ByMv4Xf1.js"),[],import.meta.url)},{id:"d",name:"D",import:()=>re(()=>import("./PifQWv0n.js"),[],import.meta.url)},{id:"dart",name:"Dart",import:()=>re(()=>import("./DZLoTQm4.js"),[],import.meta.url)},{id:"dax",name:"DAX",import:()=>re(()=>import("./DsfXcHUZ.js"),[],import.meta.url)},{id:"desktop",name:"Desktop",import:()=>re(()=>import("./D71BffLY.js"),[],import.meta.url)},{id:"diff",name:"Diff",import:()=>re(()=>import("./DvyTQcux.js"),[],import.meta.url)},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>re(()=>import("./DNR26wTC.js"),[],import.meta.url)},{id:"dream-maker",name:"Dream Maker",import:()=>re(()=>import("./Eh5U-gDp.js"),[],import.meta.url)},{id:"edge",name:"Edge",import:()=>re(()=>import("./DVC_qXWv.js"),__vite__mapDeps([55,47,1,2,3,56]),import.meta.url)},{id:"elixir",name:"Elixir",import:()=>re(()=>import("./BaNxgKSR.js"),__vite__mapDeps([23,1,2,3]),import.meta.url)},{id:"elm",name:"Elm",import:()=>re(()=>import("./RE3ujT-k.js"),__vite__mapDeps([24,18,13]),import.meta.url)},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:()=>re(()=>import("./BEjL32p1.js"),[],import.meta.url)},{id:"erb",name:"ERB",import:()=>re(()=>import("./ChMCFiS0.js"),__vite__mapDeps([57,1,2,3,39,7,8,19,13,40,41]),import.meta.url)},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>re(()=>import("./DS9ZWoKD.js"),[],import.meta.url)},{id:"fennel",name:"Fennel",import:()=>re(()=>import("./C6XIsc4F.js"),[],import.meta.url)},{id:"fish",name:"Fish",import:()=>re(()=>import("./DfeQjIbs.js"),[],import.meta.url)},{id:"fluent",name:"Fluent",aliases:["ftl"],import:()=>re(()=>import("./KPqz0Sb3.js"),[],import.meta.url)},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>re(()=>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:()=>re(()=>import("./D6pmzCqS.js"),[],import.meta.url)},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>re(()=>import("./BVkeqZ59.js"),__vite__mapDeps([60,61]),import.meta.url)},{id:"gdresource",name:"GDResource",import:()=>re(()=>import("./BBBqETUW.js"),__vite__mapDeps([62,63,64]),import.meta.url)},{id:"gdscript",name:"GDScript",import:()=>re(()=>import("./cw46T5ID.js"),[],import.meta.url)},{id:"gdshader",name:"GDShader",import:()=>re(()=>import("./B_SUYfiV.js"),[],import.meta.url)},{id:"genie",name:"Genie",import:()=>re(()=>import("./DAfrLhwG.js"),[],import.meta.url)},{id:"gherkin",name:"Gherkin",import:()=>re(()=>import("./DjTlIhuc.js"),[],import.meta.url)},{id:"git-commit",name:"Git Commit Message",import:()=>re(()=>import("./DAVo6uMX.js"),__vite__mapDeps([65,21]),import.meta.url)},{id:"git-rebase",name:"Git Rebase Message",import:()=>re(()=>import("./JgH_6NEN.js"),__vite__mapDeps([66,40]),import.meta.url)},{id:"gleam",name:"Gleam",import:()=>re(()=>import("./Dd6f7Z5P.js"),[],import.meta.url)},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>re(()=>import("./Bbv8ARUV.js"),__vite__mapDeps([67,2,47,3,1]),import.meta.url)},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>re(()=>import("./CQUCfALx.js"),__vite__mapDeps([68,47,3,2,1]),import.meta.url)},{id:"glsl",name:"GLSL",import:()=>re(()=>import("./DouzTJIq.js"),__vite__mapDeps([18,13]),import.meta.url)},{id:"gnuplot",name:"Gnuplot",import:()=>re(()=>import("./nclm9rTJ.js"),[],import.meta.url)},{id:"go",name:"Go",import:()=>re(()=>import("./DM4HHECw.js"),[],import.meta.url)},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>re(()=>import("./BN4LRXf6.js"),__vite__mapDeps([69,2,47,29,51]),import.meta.url)},{id:"groovy",name:"Groovy",import:()=>re(()=>import("./wChcbJ1V.js"),[],import.meta.url)},{id:"hack",name:"Hack",import:()=>re(()=>import("./BmCW-tYz.js"),__vite__mapDeps([70,1,2,3,19]),import.meta.url)},{id:"haml",name:"Ruby Haml",import:()=>re(()=>import("./0ooBkv16.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:()=>re(()=>import("./DJubGRtk.js"),__vite__mapDeps([72,1,2,3,11]),import.meta.url)},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>re(()=>import("./DAGYewaG.js"),[],import.meta.url)},{id:"haxe",name:"Haxe",import:()=>re(()=>import("./Dit6kIrv.js"),[],import.meta.url)},{id:"hcl",name:"HashiCorp HCL",import:()=>re(()=>import("./CpAANOdC.js"),[],import.meta.url)},{id:"hjson",name:"Hjson",import:()=>re(()=>import("./DZqG9GXz.js"),[],import.meta.url)},{id:"hlsl",name:"HLSL",import:()=>re(()=>import("./DmDrTTlz.js"),[],import.meta.url)},{id:"html",name:"HTML",import:()=>re(()=>import("./CbViG2Xw.js"),__vite__mapDeps([1,2,3]),import.meta.url)},{id:"html-derivative",name:"HTML (Derivative)",import:()=>re(()=>import("./BR6CMsBL.js"),__vite__mapDeps([56,1,2,3]),import.meta.url)},{id:"http",name:"HTTP",import:()=>re(()=>import("./CqYeW6XZ.js"),__vite__mapDeps([73,40,9,7,8,69,2,47,29,51]),import.meta.url)},{id:"hxml",name:"HXML",import:()=>re(()=>import("./CiRxTSAc.js"),__vite__mapDeps([74,75]),import.meta.url)},{id:"hy",name:"Hy",import:()=>re(()=>import("./C3qJFuQy.js"),[],import.meta.url)},{id:"imba",name:"Imba",import:()=>re(()=>import("./DzwdaLuO.js"),__vite__mapDeps([76,47]),import.meta.url)},{id:"ini",name:"INI",aliases:["properties"],import:()=>re(()=>import("./DeVv6D4_.js"),[],import.meta.url)},{id:"java",name:"Java",import:()=>re(()=>import("./ClXEvkw9.js"),[],import.meta.url)},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>re(()=>import("./Dch3xQiY.js"),[],import.meta.url)},{id:"jinja",name:"Jinja",import:()=>re(()=>import("./D4LaosRr.js"),__vite__mapDeps([77,1,2,3]),import.meta.url)},{id:"jison",name:"Jison",import:()=>re(()=>import("./DY7_9Ga-.js"),__vite__mapDeps([78,2]),import.meta.url)},{id:"json",name:"JSON",import:()=>re(()=>import("./CupVZNk8.js"),[],import.meta.url)},{id:"json5",name:"JSON5",import:()=>re(()=>import("./Bh8mriwU.js"),[],import.meta.url)},{id:"jsonc",name:"JSON with Comments",import:()=>re(()=>import("./DYI1rfmx.js"),[],import.meta.url)},{id:"jsonl",name:"JSON Lines",import:()=>re(()=>import("./BUpeXbsf.js"),[],import.meta.url)},{id:"jsonnet",name:"Jsonnet",import:()=>re(()=>import("./C9d3aiqh.js"),[],import.meta.url)},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>re(()=>import("./Dble9ECP.js"),[],import.meta.url)},{id:"jsx",name:"JSX",import:()=>re(()=>import("./CsyrCbsw.js"),[],import.meta.url)},{id:"julia",name:"Julia",aliases:["jl"],import:()=>re(()=>import("./kuh6G-Sk.js"),__vite__mapDeps([30,16,17,18,13,19,31,2,32]),import.meta.url)},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>re(()=>import("./BIxS-Weu.js"),[],import.meta.url)},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>re(()=>import("./DGEpfOTx.js"),[],import.meta.url)},{id:"latex",name:"LaTeX",import:()=>re(()=>import("./CCqFro8U.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:"less",name:"Less",import:()=>re(()=>import("./Du6_OKDb.js"),[],import.meta.url)},{id:"liquid",name:"Liquid",import:()=>re(()=>import("./Dg0DGYq4.js"),__vite__mapDeps([82,1,2,3,9]),import.meta.url)},{id:"log",name:"Log file",import:()=>re(()=>import("./Ksn5IXup.js"),[],import.meta.url)},{id:"logo",name:"Logo",import:()=>re(()=>import("./DdacRhvC.js"),[],import.meta.url)},{id:"lua",name:"Lua",import:()=>re(()=>import("./BVGdgKAv.js"),__vite__mapDeps([41,13]),import.meta.url)},{id:"luau",name:"Luau",import:()=>re(()=>import("./VQMr7AbF.js"),[],import.meta.url)},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>re(()=>import("./B9S9BZZh.js"),[],import.meta.url)},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>re(()=>import("./BnyYJeap.js"),[],import.meta.url)},{id:"marko",name:"Marko",import:()=>re(()=>import("./DGDuLtS6.js"),__vite__mapDeps([83,3,34,5,2]),import.meta.url)},{id:"matlab",name:"MATLAB",import:()=>re(()=>import("./Btshr8M_.js"),[],import.meta.url)},{id:"mdc",name:"MDC",import:()=>re(()=>import("./CJIaz0BQ.js"),__vite__mapDeps([84,61,11,56,1,2,3]),import.meta.url)},{id:"mdx",name:"MDX",import:()=>re(()=>import("./CBPJd_fO.js"),[],import.meta.url)},{id:"mermaid",name:"Mermaid",import:()=>re(()=>import("./Cb-F_BZP.js"),[],import.meta.url)},{id:"mojo",name:"Mojo",import:()=>re(()=>import("./-7WWnkdy.js"),[],import.meta.url)},{id:"move",name:"Move",import:()=>re(()=>import("./DOHBU7tp.js"),[],import.meta.url)},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>re(()=>import("./B9CT-1u6.js"),[],import.meta.url)},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>re(()=>import("./DBxHOdLe.js"),[],import.meta.url)},{id:"nginx",name:"Nginx",import:()=>re(()=>import("./DR5YgmI2.js"),__vite__mapDeps([85,41,13]),import.meta.url)},{id:"nim",name:"Nim",import:()=>re(()=>import("./D7WeZTai.js"),__vite__mapDeps([86,13,1,2,3,7,8,18,61]),import.meta.url)},{id:"nix",name:"Nix",import:()=>re(()=>import("./B7rNE5kf.js"),[],import.meta.url)},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>re(()=>import("./CrgTADc5.js"),[],import.meta.url)},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>re(()=>import("./DHmGyzbM.js"),[],import.meta.url)},{id:"objective-cpp",name:"Objective-C++",import:()=>re(()=>import("./BWKJ1FCf.js"),[],import.meta.url)},{id:"ocaml",name:"OCaml",import:()=>re(()=>import("./RqY_Nz63.js"),[],import.meta.url)},{id:"pascal",name:"Pascal",import:()=>re(()=>import("./BvCdDh2R.js"),[],import.meta.url)},{id:"perl",name:"Perl",import:()=>re(()=>import("./Dwo2i-71.js"),__vite__mapDeps([38,1,2,3,7,8,19]),import.meta.url)},{id:"php",name:"PHP",import:()=>re(()=>import("./Cthz8VOO.js"),__vite__mapDeps([87,1,2,3,7,8,19,9]),import.meta.url)},{id:"plsql",name:"PL/SQL",import:()=>re(()=>import("./BbJj1K1w.js"),[],import.meta.url)},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:()=>re(()=>import("./HrnDn_2Q.js"),[],import.meta.url)},{id:"postcss",name:"PostCSS",import:()=>re(()=>import("./DXT9h7v2.js"),[],import.meta.url)},{id:"powerquery",name:"PowerQuery",import:()=>re(()=>import("./CApMHEaB.js"),[],import.meta.url)},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>re(()=>import("./9ZOzOPqN.js"),[],import.meta.url)},{id:"prisma",name:"Prisma",import:()=>re(()=>import("./BBJYjQ0k.js"),[],import.meta.url)},{id:"prolog",name:"Prolog",import:()=>re(()=>import("./BH_RS3WO.js"),[],import.meta.url)},{id:"proto",name:"Protocol Buffer 3",import:()=>re(()=>import("./DOtRmeXT.js"),[],import.meta.url)},{id:"pug",name:"Pug",aliases:["jade"],import:()=>re(()=>import("./DhFF74a2.js"),__vite__mapDeps([88,2,3,43,5,49,15,1]),import.meta.url)},{id:"puppet",name:"Puppet",import:()=>re(()=>import("./37ic6j3l.js"),[],import.meta.url)},{id:"purescript",name:"PureScript",import:()=>re(()=>import("./CfPQhs6g.js"),[],import.meta.url)},{id:"python",name:"Python",aliases:["py"],import:()=>re(()=>import("./DwuVtWc2.js"),[],import.meta.url)},{id:"qml",name:"QML",import:()=>re(()=>import("./BwXNTs7T.js"),__vite__mapDeps([89,2]),import.meta.url)},{id:"qmldir",name:"QML Directory",import:()=>re(()=>import("./MS3qTAOR.js"),[],import.meta.url)},{id:"qss",name:"Qt Style Sheets",import:()=>re(()=>import("./FJDVp-XM.js"),[],import.meta.url)},{id:"r",name:"R",import:()=>re(()=>import("./BXfENWL6.js"),[],import.meta.url)},{id:"racket",name:"Racket",import:()=>re(()=>import("./Cp2HGa90.js"),[],import.meta.url)},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>re(()=>import("./D384ylkT.js"),[],import.meta.url)},{id:"razor",name:"ASP.NET Razor",import:()=>re(()=>import("./CJGKC1_q.js"),__vite__mapDeps([90,1,2,3,20]),import.meta.url)},{id:"reg",name:"Windows Registry Script",import:()=>re(()=>import("./CrhH3_Og.js"),[],import.meta.url)},{id:"regexp",name:"RegExp",aliases:["regex"],import:()=>re(()=>import("./C_ZPRiAj.js"),[],import.meta.url)},{id:"rel",name:"Rel",import:()=>re(()=>import("./6Kuza3Wr.js"),[],import.meta.url)},{id:"riscv",name:"RISC-V",import:()=>re(()=>import("./AgnqFTPX.js"),[],import.meta.url)},{id:"rst",name:"reStructuredText",import:()=>re(()=>import("./BVLuctcA.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:()=>re(()=>import("./CarfVElc.js"),__vite__mapDeps([39,1,2,3,7,8,19,13,40,41]),import.meta.url)},{id:"rust",name:"Rust",aliases:["rs"],import:()=>re(()=>import("./DGxQkqYo.js"),[],import.meta.url)},{id:"sas",name:"SAS",import:()=>re(()=>import("./8t4jSAMm.js"),__vite__mapDeps([93,19]),import.meta.url)},{id:"sass",name:"Sass",import:()=>re(()=>import("./CMDmr8et.js"),[],import.meta.url)},{id:"scala",name:"Scala",import:()=>re(()=>import("./vMsNTMhM.js"),[],import.meta.url)},{id:"scheme",name:"Scheme",import:()=>re(()=>import("./1Je9_Reo.js"),[],import.meta.url)},{id:"scss",name:"SCSS",import:()=>re(()=>import("./BeX7Iu5M.js"),__vite__mapDeps([5,3]),import.meta.url)},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>re(()=>import("./BiDE021q.js"),__vite__mapDeps([94,95]),import.meta.url)},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>re(()=>import("./BZfs-ost.js"),[],import.meta.url)},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>re(()=>import("./dIHJ9UdL.js"),__vite__mapDeps([96,40]),import.meta.url)},{id:"smalltalk",name:"Smalltalk",import:()=>re(()=>import("./DSsji4Hu.js"),[],import.meta.url)},{id:"solidity",name:"Solidity",import:()=>re(()=>import("./CThH5sBG.js"),[],import.meta.url)},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:()=>re(()=>import("./DKb4lQY2.js"),__vite__mapDeps([97,1,2,3]),import.meta.url)},{id:"sparql",name:"SPARQL",import:()=>re(()=>import("./DJZWsvj0.js"),__vite__mapDeps([98,99]),import.meta.url)},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>re(()=>import("./6XBPEST2.js"),[],import.meta.url)},{id:"sql",name:"SQL",import:()=>re(()=>import("./DbK06e1c.js"),[],import.meta.url)},{id:"ssh-config",name:"SSH Config",import:()=>re(()=>import("./BH1M7C1g.js"),[],import.meta.url)},{id:"stata",name:"Stata",import:()=>re(()=>import("./DLP9ZvWb.js"),__vite__mapDeps([100,19]),import.meta.url)},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>re(()=>import("./DSrLtGYv.js"),[],import.meta.url)},{id:"svelte",name:"Svelte",import:()=>re(()=>import("./C1yTBzia.js"),__vite__mapDeps([101,2,47,15,49,43,3,5,34,50,88,1,61]),import.meta.url)},{id:"swift",name:"Swift",import:()=>re(()=>import("./BeJnKnI_.js"),[],import.meta.url)},{id:"system-verilog",name:"SystemVerilog",import:()=>re(()=>import("./BscxmKrE.js"),[],import.meta.url)},{id:"systemd",name:"Systemd Units",import:()=>re(()=>import("./CuJfdYLG.js"),[],import.meta.url)},{id:"tasl",name:"Tasl",import:()=>re(()=>import("./BxwAa5i0.js"),[],import.meta.url)},{id:"tcl",name:"Tcl",import:()=>re(()=>import("./C_8Fx7bH.js"),[],import.meta.url)},{id:"templ",name:"Templ",import:()=>re(()=>import("./BMHPAh1U.js"),__vite__mapDeps([102,26,2,3]),import.meta.url)},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>re(()=>import("./DBeuZS66.js"),[],import.meta.url)},{id:"tex",name:"TeX",import:()=>re(()=>import("./Bj0fF4lQ.js"),__vite__mapDeps([80,32]),import.meta.url)},{id:"toml",name:"TOML",import:()=>re(()=>import("./BT9ZzGyQ.js"),[],import.meta.url)},{id:"tsv",name:"TSV",import:()=>re(()=>import("./DnLUQrgA.js"),[],import.meta.url)},{id:"tsx",name:"TSX",import:()=>re(()=>import("./BlxWTfDV.js"),[],import.meta.url)},{id:"turtle",name:"Turtle",import:()=>re(()=>import("./C15OxdQ5.js"),[],import.meta.url)},{id:"twig",name:"Twig",import:()=>re(()=>import("./BacI6-DX.js"),__vite__mapDeps([103,3,2,5,87,1,7,8,19,9,31,39,13,40,41]),import.meta.url)},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>re(()=>import("./DC8MraHL.js"),[],import.meta.url)},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:()=>re(()=>import("./DAP_O-zg.js"),[],import.meta.url)},{id:"typst",name:"Typst",aliases:["typ"],import:()=>re(()=>import("./I4qd5QHW.js"),[],import.meta.url)},{id:"v",name:"V",import:()=>re(()=>import("./C2TBxDwV.js"),[],import.meta.url)},{id:"vala",name:"Vala",import:()=>re(()=>import("./CO5hpdkB.js"),[],import.meta.url)},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>re(()=>import("./beD-FUib.js"),[],import.meta.url)},{id:"verilog",name:"Verilog",import:()=>re(()=>import("./DVfdqzEq.js"),[],import.meta.url)},{id:"vhdl",name:"VHDL",import:()=>re(()=>import("./QZ3jNtnE.js"),[],import.meta.url)},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>re(()=>import("./BLluXI4E.js"),[],import.meta.url)},{id:"vue",name:"Vue",import:()=>re(()=>import("./Bi43K_FX.js"),__vite__mapDeps([104,1,2,3,61,88,43,5,49,15,34,47,29,51,9,105,106,11,46,69,56]),import.meta.url)},{id:"vue-html",name:"Vue HTML",import:()=>re(()=>import("./D33OKbkv.js"),__vite__mapDeps([107,104,1,2,3,61,88,43,5,49,15,34,47,29,51,9,105,106,11,46,69,56]),import.meta.url)},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>re(()=>import("./CBWrHyXe.js"),[],import.meta.url)},{id:"wasm",name:"WebAssembly",import:()=>re(()=>import("./Cicx_DS6.js"),[],import.meta.url)},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>re(()=>import("./D3VXSfF0.js"),[],import.meta.url)},{id:"wgsl",name:"WGSL",import:()=>re(()=>import("./BZz1Hhek.js"),[],import.meta.url)},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:()=>re(()=>import("./DrnZp123.js"),__vite__mapDeps([108,1,2,3,109,8,41,13,35,38,7,19,32,39,40,87,9,110,111,11,112,14,15,16,17,18,21,22,26,27,88,43,5,49,105,34,36,45,113,114,31,30,42,44,47,20,60,61,115,72,25,23,79,80,81,28,116]),import.meta.url)},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>re(()=>import("./BICIrM8O.js"),[],import.meta.url)},{id:"xml",name:"XML",import:()=>re(()=>import("./CsYA0RN7.js"),__vite__mapDeps([7,8]),import.meta.url)},{id:"xsl",name:"XSL",import:()=>re(()=>import("./CJQrLysU.js"),__vite__mapDeps([111,7,8]),import.meta.url)},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>re(()=>import("./DK4oFTHQ.js"),[],import.meta.url)},{id:"zenscript",name:"ZenScript",import:()=>re(()=>import("./B1nm99XP.js"),[],import.meta.url)},{id:"zig",name:"Zig",import:()=>re(()=>import("./yX2IItqj.js"),[],import.meta.url)}],sW=Object.fromEntries(a5.map(t=>[t.id,t.import])),aW=Object.fromEntries(a5.flatMap(t=>{var e;return((e=t.aliases)==null?void 0:e.map(n=>[n,t.import]))||[]})),lW={...sW,...aW},cW=async t=>re(()=>import("./CsTmP73Z.js"),[],import.meta.url).then(e=>e.default(t)),uW=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>re(()=>import("./YxQm0tCS.js"),[],import.meta.url)},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>re(()=>import("./BaWyeHV_.js"),[],import.meta.url)},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>re(()=>import("./Bn5gmY5k.js"),[],import.meta.url)},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:()=>re(()=>import("./CSPeAESR.js"),[],import.meta.url)},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>re(()=>import("./BYdKNJ10.js"),[],import.meta.url)},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>re(()=>import("./DVLwECkk.js"),[],import.meta.url)},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>re(()=>import("./CEfge3mM.js"),[],import.meta.url)},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>re(()=>import("./KEYLhlmT.js"),[],import.meta.url)},{id:"dracula",displayName:"Dracula",type:"dark",import:()=>re(()=>import("./DGO8GyiP.js"),[],import.meta.url)},{id:"dracula-soft",displayName:"Dracula Soft",type:"dark",import:()=>re(()=>import("./9B1nZgL-.js"),[],import.meta.url)},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>re(()=>import("./CzPA46E-.js"),[],import.meta.url)},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>re(()=>import("./BXF7Vm5l.js"),[],import.meta.url)},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>re(()=>import("./CRDKj6ck.js"),[],import.meta.url)},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>re(()=>import("./CRlnGVMD.js"),[],import.meta.url)},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>re(()=>import("./UREJT2Bw.js"),[],import.meta.url)},{id:"houston",displayName:"Houston",type:"dark",import:()=>re(()=>import("./CZZ6oYdA.js"),[],import.meta.url)},{id:"laserwave",displayName:"LaserWave",type:"dark",import:()=>re(()=>import("./cW9vKj3g.js"),[],import.meta.url)},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>re(()=>import("./BsvsQ1iS.js"),[],import.meta.url)},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>re(()=>import("./CgwOUXSn.js"),[],import.meta.url)},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>re(()=>import("./CO7HdiM_.js"),[],import.meta.url)},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>re(()=>import("./qxoleWdb.js"),[],import.meta.url)},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>re(()=>import("./ChH25C4w.js"),[],import.meta.url)},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>re(()=>import("./DOqtC9FP.js"),[],import.meta.url)},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>re(()=>import("./iSbrOpM4.js"),[],import.meta.url)},{id:"min-light",displayName:"Min Light",type:"light",import:()=>re(()=>import("./BITGhEdf.js"),[],import.meta.url)},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>re(()=>import("./sMI-pExk.js"),[],import.meta.url)},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>re(()=>import("./BeocmOPF.js"),[],import.meta.url)},{id:"nord",displayName:"Nord",type:"dark",import:()=>re(()=>import("./CsyjKwr8.js"),[],import.meta.url)},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>re(()=>import("./BTtaZsq5.js"),[],import.meta.url)},{id:"one-light",displayName:"One Light",type:"light",import:()=>re(()=>import("./alpzPJ78.js"),[],import.meta.url)},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>re(()=>import("./Cda-MJFk.js"),[],import.meta.url)},{id:"red",displayName:"Red",type:"dark",import:()=>re(()=>import("./jaXbsbtS.js"),[],import.meta.url)},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:()=>re(()=>import("./CX_FIdg1.js"),[],import.meta.url)},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:()=>re(()=>import("./Bj5xdiaE.js"),[],import.meta.url)},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:()=>re(()=>import("./CdedUr_-.js"),[],import.meta.url)},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>re(()=>import("./C7oZ9nno.js"),[],import.meta.url)},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>re(()=>import("./hXH8Gyq8.js"),[],import.meta.url)},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:()=>re(()=>import("./CA9nliXM.js"),[],import.meta.url)},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>re(()=>import("./C86elO-m.js"),[],import.meta.url)},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>re(()=>import("./xPNGhBYe.js"),[],import.meta.url)},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>re(()=>import("./BBDuFDsq.js"),[],import.meta.url)},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>re(()=>import("./eJfcURhx.js"),[],import.meta.url)},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>re(()=>import("./BSB_bK09.js"),[],import.meta.url)},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>re(()=>import("./B3g-KkBK.js"),[],import.meta.url)},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>re(()=>import("./Bxkoe-BC.js"),[],import.meta.url)},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>re(()=>import("./Br6ll-O0.js"),[],import.meta.url)}],fW=Object.fromEntries(uW.map(t=>[t.id,t.import]));var ts;(function(t){t[t.NotSet=-1]="NotSet",t[t.None=0]="None",t[t.Italic=1]="Italic",t[t.Bold=2]="Bold",t[t.Underline=4]="Underline"})(ts||(ts={}));var Bf;(function(t){function e(u){return u.toString(2).padStart(32,"0")}t.toBinaryStr=e;function n(u){const f=t.getLanguageId(u),d=t.getTokenType(u),h=t.getFontStyle(u),p=t.getForeground(u),m=t.getBackground(u);console.log({languageId:f,tokenType:d,fontStyle:h,foreground:p,background:m})}t.print=n;function r(u){return(u&255)>>>0}t.getLanguageId=r;function i(u){return(u&768)>>>8}t.getTokenType=i;function o(u){return(u&1024)!==0}t.containsBalancedBrackets=o;function s(u){return(u&30720)>>>11}t.getFontStyle=s;function a(u){return(u&16744448)>>>15}t.getForeground=a;function l(u){return(u&4278190080)>>>24}t.getBackground=l;function c(u,f,d,h,p,m,v){let g=t.getLanguageId(u),b=t.getTokenType(u),y=t.containsBalancedBrackets(u)?1:0,x=t.getFontStyle(u),w=t.getForeground(u),_=t.getBackground(u);return f!==0&&(g=f),d!==8&&(b=d),h!==null&&(y=h?1:0),p!==-1&&(x=p),m!==0&&(w=m),v!==0&&(_=v),(g<<0|b<<8|y<<10|x<<11|w<<15|_<<24)>>>0}t.set=c})(Bf||(Bf={}));function bv(t,e){const n=[],r=dW(t);let i=r.next();for(;i!==null;){let l=0;if(i.length===2&&i.charAt(1)===":"){switch(i.charAt(0)){case"R":l=1;break;case"L":l=-1;break;default:console.log(`Unknown priority ${i} in scope selector`)}i=r.next()}let c=s();if(n.push({matcher:c,priority:l}),i!==",")break;i=r.next()}return n;function o(){if(i==="-"){i=r.next();const l=o();return c=>!!l&&!l(c)}if(i==="("){i=r.next();const l=a();return i===")"&&(i=r.next()),l}if(yk(i)){const l=[];do l.push(i),i=r.next();while(yk(i));return c=>e(l,c)}return null}function s(){const l=[];let c=o();for(;c;)l.push(c),c=o();return u=>l.every(f=>f(u))}function a(){const l=[];let c=s();for(;c&&(l.push(c),i==="|"||i===",");){do i=r.next();while(i==="|"||i===",");c=s()}return u=>l.some(f=>f(u))}}function yk(t){return!!t&&!!t.match(/[\w\.:]+/)}function dW(t){let e=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=e.exec(t);return{next:()=>{if(!n)return null;const r=n[0];return n=e.exec(t),r}}}function l5(t){typeof t.dispose=="function"&&t.dispose()}function hW(t){return u_(t)}function u_(t){return Array.isArray(t)?pW(t):typeof t=="object"?mW(t):t}function pW(t){let e=[];for(let n=0,r=t.length;n<r;n++)e[n]=u_(t[n]);return e}function mW(t){let e={};for(let n in t)e[n]=u_(t[n]);return e}function c5(t,...e){return e.forEach(n=>{for(let r in n)t[r]=n[r]}),t}function u5(t){const e=~t.lastIndexOf("/")||~t.lastIndexOf("\\");return e===0?t:~e===t.length-1?u5(t.substring(0,t.length-1)):t.substr(~e+1)}let Sy=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class mm{static hasCaptures(e){return e===null?!1:(Sy.lastIndex=0,Sy.test(e))}static replaceCaptures(e,n,r){return e.replace(Sy,(i,o,s,a)=>{let l=r[parseInt(o||s,10)];if(l){let c=n.substring(l.start,l.end);for(;c[0]===".";)c=c.substring(1);switch(a){case"downcase":return c.toLowerCase();case"upcase":return c.toUpperCase();default:return c}}else return i})}}function f5(t,e){return t<e?-1:t>e?1:0}function d5(t,e){if(t===null&&e===null)return 0;if(!t)return-1;if(!e)return 1;let n=t.length,r=e.length;if(n===r){for(let i=0;i<n;i++){let o=f5(t[i],e[i]);if(o!==0)return o}return 0}return n-r}function bk(t){return!!(/^#[0-9a-f]{6}$/i.test(t)||/^#[0-9a-f]{8}$/i.test(t)||/^#[0-9a-f]{3}$/i.test(t)||/^#[0-9a-f]{4}$/i.test(t))}function h5(t){return t.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}class p5{constructor(e){de(this,"fn");de(this,"cache",new Map);this.fn=e}get(e){if(this.cache.has(e))return this.cache.get(e);const n=this.fn(e);return this.cache.set(e,n),n}}class Dh{constructor(e){de(this,"scopeName");this.scopeName=e}toKey(){return this.scopeName}}class gW{constructor(e,n){de(this,"scopeName");de(this,"ruleName");this.scopeName=e,this.ruleName=n}toKey(){return`${this.scopeName}#${this.ruleName}`}}class vW{constructor(){de(this,"_references",[]);de(this,"_seenReferenceKeys",new Set);de(this,"visitedRule",new Set)}get references(){return this._references}add(e){const n=e.toKey();this._seenReferenceKeys.has(n)||(this._seenReferenceKeys.add(n),this._references.push(e))}}class yW{constructor(e,n){de(this,"repo");de(this,"initialScopeName");de(this,"seenFullScopeRequests",new Set);de(this,"seenPartialScopeRequests",new Set);de(this,"Q");this.repo=e,this.initialScopeName=n,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Dh(this.initialScopeName)]}processQueue(){const e=this.Q;this.Q=[];const n=new vW;for(const r of e)bW(r,this.initialScopeName,this.repo,n);for(const r of n.references)if(r instanceof Dh){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 bW(t,e,n,r){const i=n.lookup(t.scopeName);if(!i){if(t.scopeName===e)throw new Error(`No grammar provided for <${e}>`);return}const o=n.lookup(e);t instanceof Dh?kg({baseGrammar:o,selfGrammar:i},r):gw(t.ruleName,{baseGrammar:o,selfGrammar:i,repository:i.repository},r);const s=n.injections(t.scopeName);if(s)for(const a of s)r.add(new Dh(a))}function gw(t,e,n){if(e.repository&&e.repository[t]){const r=e.repository[t];wv([r],e,n)}}function kg(t,e){t.selfGrammar.patterns&&Array.isArray(t.selfGrammar.patterns)&&wv(t.selfGrammar.patterns,{...t,repository:t.selfGrammar.repository},e),t.selfGrammar.injections&&wv(Object.values(t.selfGrammar.injections),{...t,repository:t.selfGrammar.repository},e)}function wv(t,e,n){for(const r of t){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const i=r.repository?c5({},e.repository,r.repository):e.repository;Array.isArray(r.patterns)&&wv(r.patterns,{...e,repository:i},n);const o=r.include;if(!o)continue;const s=m5(o);switch(s.kind){case 0:kg({...e,selfGrammar:e.baseGrammar},n);break;case 1:kg(e,n);break;case 2:gw(s.ruleName,{...e,repository:i},n);break;case 3:case 4:const a=s.scopeName===e.selfGrammar.scopeName?e.selfGrammar:s.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(a){const l={baseGrammar:e.baseGrammar,selfGrammar:a,repository:i};s.kind===4?gw(s.ruleName,l,n):kg(l,n)}else s.kind===4?n.add(new gW(s.scopeName,s.ruleName)):n.add(new Dh(s.scopeName));break}}}class wW{constructor(){de(this,"kind",0)}}class xW{constructor(){de(this,"kind",1)}}class _W{constructor(e){de(this,"ruleName");de(this,"kind",2);this.ruleName=e}}class jW{constructor(e){de(this,"scopeName");de(this,"kind",3);this.scopeName=e}}class $W{constructor(e,n){de(this,"scopeName");de(this,"ruleName");de(this,"kind",4);this.scopeName=e,this.ruleName=n}}function m5(t){if(t==="$base")return new wW;if(t==="$self")return new xW;const e=t.indexOf("#");if(e===-1)return new jW(t);if(e===0)return new _W(t.substring(1));{const n=t.substring(0,e),r=t.substring(e+1);return new $W(n,r)}}const SW=/\\(\d+)/,wk=/\\(\d+)/g,kW=-1,g5=-2;let Cp=class{constructor(e,n,r,i){de(this,"$location");de(this,"id");de(this,"_nameIsCapturing");de(this,"_name");de(this,"_contentNameIsCapturing");de(this,"_contentName");this.$location=e,this.id=n,this._name=r||null,this._nameIsCapturing=mm.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=mm.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${u5(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,n){return!this._nameIsCapturing||this._name===null||e===null||n===null?this._name:mm.replaceCaptures(this._name,e,n)}getContentName(e,n){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:mm.replaceCaptures(this._contentName,e,n)}};class CW extends Cp{constructor(n,r,i,o,s){super(n,r,i,o);de(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,i,o){throw new Error("Not supported!")}}class EW extends Cp{constructor(n,r,i,o,s){super(n,r,i,null);de(this,"_match");de(this,"captures");de(this,"_cachedCompiledPatterns");this._match=new Hc(o,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,i,o){return this._getCachedCompiledPatterns(n).compileAG(n,i,o)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Bh,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class xk extends Cp{constructor(n,r,i,o,s){super(n,r,i,o);de(this,"hasMissingPatterns");de(this,"patterns");de(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 i of this.patterns)n.getRule(i).collectPatterns(n,r)}compile(n,r){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,r,i,o){return this._getCachedCompiledPatterns(n).compileAG(n,i,o)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Bh,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class vw extends Cp{constructor(n,r,i,o,s,a,l,c,u,f){super(n,r,i,o);de(this,"_begin");de(this,"beginCaptures");de(this,"_end");de(this,"endHasBackReferences");de(this,"endCaptures");de(this,"applyEndPatternLast");de(this,"hasMissingPatterns");de(this,"patterns");de(this,"_cachedCompiledPatterns");this._begin=new Hc(s,this.id),this.beginCaptures=a,this._end=new Hc(l||"￿",-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,i,o){return this._getCachedCompiledPatterns(n,r).compileAG(n,i,o)}_getCachedCompiledPatterns(n,r){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Bh;for(const i of this.patterns)n.getRule(i).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 xv extends Cp{constructor(n,r,i,o,s,a,l,c,u){super(n,r,i,o);de(this,"_begin");de(this,"beginCaptures");de(this,"whileCaptures");de(this,"_while");de(this,"whileHasBackReferences");de(this,"hasMissingPatterns");de(this,"patterns");de(this,"_cachedCompiledPatterns");de(this,"_cachedCompiledWhilePatterns");this._begin=new Hc(s,this.id),this.beginCaptures=a,this.whileCaptures=c,this._while=new Hc(l,g5),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,i,o){return this._getCachedCompiledPatterns(n).compileAG(n,i,o)}_getCachedCompiledPatterns(n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Bh;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,i,o){return this._getCachedCompiledWhilePatterns(n,r).compileAG(n,i,o)}_getCachedCompiledWhilePatterns(n,r){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Bh,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,r||"￿"),this._cachedCompiledWhilePatterns}}class Xr{static createCaptureRule(e,n,r,i,o){return e.registerRule(s=>new CW(n,s,r,i,o))}static getCompiledRuleId(e,n,r){return e.id||n.registerRule(i=>{if(e.id=i,e.match)return new EW(e.$vscodeTextmateLocation,e.id,e.name,e.match,Xr._compileCaptures(e.captures,n,r));if(typeof e.begin>"u"){e.repository&&(r=c5({},r,e.repository));let o=e.patterns;return typeof o>"u"&&e.include&&(o=[{include:e.include}]),new xk(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,Xr._compilePatterns(o,n,r))}return e.while?new xv(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,Xr._compileCaptures(e.beginCaptures||e.captures,n,r),e.while,Xr._compileCaptures(e.whileCaptures||e.captures,n,r),Xr._compilePatterns(e.patterns,n,r)):new vw(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,Xr._compileCaptures(e.beginCaptures||e.captures,n,r),e.end,Xr._compileCaptures(e.endCaptures||e.captures,n,r),e.applyEndPatternLast,Xr._compilePatterns(e.patterns,n,r))}),e.id}static _compileCaptures(e,n,r){let i=[];if(e){let o=0;for(const s in e){if(s==="$vscodeTextmateLocation")continue;const a=parseInt(s,10);a>o&&(o=a)}for(let s=0;s<=o;s++)i[s]=null;for(const s in e){if(s==="$vscodeTextmateLocation")continue;const a=parseInt(s,10);let l=0;e[s].patterns&&(l=Xr.getCompiledRuleId(e[s],n,r)),i[a]=Xr.createCaptureRule(n,e[s].$vscodeTextmateLocation,e[s].name,e[s].contentName,l)}}return i}static _compilePatterns(e,n,r){let i=[];if(e)for(let o=0,s=e.length;o<s;o++){const a=e[o];let l=-1;if(a.include){const c=m5(a.include);switch(c.kind){case 0:case 1:l=Xr.getCompiledRuleId(r[a.include],n,r);break;case 2:let u=r[c.ruleName];u&&(l=Xr.getCompiledRuleId(u,n,r));break;case 3:case 4:const f=c.scopeName,d=c.kind===4?c.ruleName:null,h=n.getExternalGrammar(f,r);if(h)if(d){let p=h.repository[d];p&&(l=Xr.getCompiledRuleId(p,n,h.repository))}else l=Xr.getCompiledRuleId(h.repository.$self,n,h.repository);break}}else l=Xr.getCompiledRuleId(a,n,r);if(l!==-1){const c=n.getRule(l);let u=!1;if((c instanceof xk||c instanceof vw||c instanceof xv)&&c.hasMissingPatterns&&c.patterns.length===0&&(u=!0),u)continue;i.push(l)}}return{patterns:i,hasMissingPatterns:(e?e.length:0)!==i.length}}}class Hc{constructor(e,n){de(this,"source");de(this,"ruleId");de(this,"hasAnchor");de(this,"hasBackReferences");de(this,"_anchorCache");if(e){const r=e.length;let i=0,o=[],s=!1;for(let a=0;a<r;a++)if(e.charAt(a)==="\\"&&a+1<r){const c=e.charAt(a+1);c==="z"?(o.push(e.substring(i,a)),o.push("$(?!\\n)(?<!\\n)"),i=a+2):(c==="A"||c==="G")&&(s=!0),a++}this.hasAnchor=s,i===0?this.source=e:(o.push(e.substring(i,r)),this.source=o.join(""))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,this.hasBackReferences=SW.test(this.source)}clone(){return new Hc(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,n){let r=n.map(i=>e.substring(i.start,i.end));return wk.lastIndex=0,this.source.replace(wk,(i,o)=>h5(r[parseInt(o,10)]||""))}_buildAnchorCache(){let e=[],n=[],r=[],i=[],o,s,a,l;for(o=0,s=this.source.length;o<s;o++)a=this.source.charAt(o),e[o]=a,n[o]=a,r[o]=a,i[o]=a,a==="\\"&&o+1<s&&(l=this.source.charAt(o+1),l==="A"?(e[o+1]="￿",n[o+1]="￿",r[o+1]="A",i[o+1]="A"):l==="G"?(e[o+1]="￿",n[o+1]="G",r[o+1]="￿",i[o+1]="G"):(e[o+1]=l,n[o+1]=l,r[o+1]=l,i[o+1]=l),o++);return{A0_G0:e.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:i.join("")}}resolveAnchors(e,n){return!this.hasAnchor||!this._anchorCache?this.source:e?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}}class Bh{constructor(){de(this,"_items");de(this,"_hasAnchors");de(this,"_cached");de(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(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,n){this._items[e].source!==n&&(this._disposeCaches(),this._items[e].setSource(n))}compile(e){if(!this._cached){let n=this._items.map(r=>r.source);this._cached=new _k(e,n,this._items.map(r=>r.ruleId))}return this._cached}compileAG(e,n,r){return this._hasAnchors?n?r?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,n,r)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,n,r)),this._anchorCache.A1_G0):r?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,n,r)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,n,r)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,n,r){let i=this._items.map(o=>o.resolveAnchors(n,r));return new _k(e,i,this._items.map(o=>o.ruleId))}}class _k{constructor(e,n,r){de(this,"regExps");de(this,"rules");de(this,"scanner");this.regExps=n,this.rules=r,this.scanner=e.createOnigScanner(n)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const e=[];for(let n=0,r=this.rules.length;n<r;n++)e.push(" - "+this.rules[n]+": "+this.regExps[n]);return e.join(`
19
19
  `)}findNextMatchSync(e,n,r){const i=this.scanner.findNextMatchSync(e,n,r);return i?{ruleId:this.rules[i.index],captureIndices:i.captureIndices}:null}}class _v{constructor(e,n,r){de(this,"_colorMap");de(this,"_defaults");de(this,"_root");de(this,"_cachedMatchRoot",new p5(e=>this._root.match(e)));this._colorMap=e,this._defaults=n,this._root=r}static createFromRawTheme(e,n){return this.createFromParsedTheme(PW(e),n)}static createFromParsedTheme(e,n){return RW(e,n)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;const n=e.scopeName,i=this._cachedMatchRoot.get(n).find(o=>OW(e.parent,o.parentScopes));return i?new v5(i.fontStyle,i.foreground,i.background):null}}class Nc{constructor(e,n){de(this,"parent");de(this,"scopeName");this.parent=e,this.scopeName=n}static push(e,n){for(const r of n)e=new Nc(e,r);return e}static from(...e){let n=null;for(let r=0;r<e.length;r++)n=new Nc(n,e[r]);return n}push(e){return new Nc(this,e)}getSegments(){let e=this;const n=[];for(;e;)n.push(e.scopeName),e=e.parent;return n.reverse(),n}toString(){return this.getSegments().join(" ")}extends(e){return this===e?!0:this.parent===null?!1:this.parent.extends(e)}getExtensionIfDefined(e){const n=[];let r=this;for(;r&&r!==e;)n.push(r.scopeName),r=r.parent;return r===e?n.reverse():void 0}}function OW(t,e){if(e===null)return!0;let n=0,r=e[n];for(;t;){if(TW(t.scopeName,r)){if(n++,n===e.length)return!0;r=e[n]}t=t.parent}return!1}function TW(t,e){return e===t||t.startsWith(e)&&t[e.length]==="."}class v5{constructor(e,n,r){de(this,"fontStyle");de(this,"foregroundId");de(this,"backgroundId");this.fontStyle=e,this.foregroundId=n,this.backgroundId=r}}function PW(t){if(!t)return[];if(!t.settings||!Array.isArray(t.settings))return[];let e=t.settings,n=[],r=0;for(let i=0,o=e.length;i<o;i++){let s=e[i];if(!s.settings)continue;let a;if(typeof s.scope=="string"){let f=s.scope;f=f.replace(/^[,]+/,""),f=f.replace(/[,]+$/,""),a=f.split(",")}else Array.isArray(s.scope)?a=s.scope:a=[""];let l=-1;if(typeof s.settings.fontStyle=="string"){l=0;let f=s.settings.fontStyle.split(" ");for(let d=0,h=f.length;d<h;d++)switch(f[d]){case"italic":l=l|1;break;case"bold":l=l|2;break;case"underline":l=l|4;break;case"strikethrough":l=l|8;break}}let c=null;typeof s.settings.foreground=="string"&&bk(s.settings.foreground)&&(c=s.settings.foreground);let u=null;typeof s.settings.background=="string"&&bk(s.settings.background)&&(u=s.settings.background);for(let f=0,d=a.length;f<d;f++){let p=a[f].trim().split(" "),m=p[p.length-1],v=null;p.length>1&&(v=p.slice(0,p.length-1),v.reverse()),n[r++]=new AW(m,v,i,l,c,u)}}return n}class AW{constructor(e,n,r,i,o,s){de(this,"scope");de(this,"parentScopes");de(this,"index");de(this,"fontStyle");de(this,"foreground");de(this,"background");this.scope=e,this.parentScopes=n,this.index=r,this.fontStyle=i,this.foreground=o,this.background=s}}function RW(t,e){t.sort((l,c)=>{let u=f5(l.scope,c.scope);return u!==0||(u=d5(l.parentScopes,c.parentScopes),u!==0)?u:l.index-c.index});let n=0,r="#000000",i="#ffffff";for(;t.length>=1&&t[0].scope==="";){let l=t.shift();l.fontStyle!==-1&&(n=l.fontStyle),l.foreground!==null&&(r=l.foreground),l.background!==null&&(i=l.background)}let o=new MW(e),s=new v5(n,o.getId(r),o.getId(i)),a=new sh(new zh(0,null,-1,0,0),[]);for(let l=0,c=t.length;l<c;l++){let u=t[l];a.insert(0,u.scope,u.parentScopes,u.fontStyle,o.getId(u.foreground),o.getId(u.background))}return new _v(o,s,a)}class MW{constructor(e){de(this,"_isFrozen");de(this,"_lastColorId");de(this,"_id2color");de(this,"_color2id");if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let n=0,r=e.length;n<r;n++)this._color2id[e[n]]=n,this._id2color[n]=e[n]}else this._isFrozen=!1}getId(e){if(e===null)return 0;e=e.toUpperCase();let n=this._color2id[e];if(n)return n;if(this._isFrozen)throw new Error(`Missing color in color map - ${e}`);return n=++this._lastColorId,this._color2id[e]=n,this._id2color[n]=e,n}getColorMap(){return this._id2color.slice(0)}}class zh{constructor(e,n,r,i,o){de(this,"scopeDepth");de(this,"parentScopes");de(this,"fontStyle");de(this,"foreground");de(this,"background");this.scopeDepth=e,this.parentScopes=n,this.fontStyle=r,this.foreground=i,this.background=o}clone(){return new zh(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let n=[];for(let r=0,i=e.length;r<i;r++)n[r]=e[r].clone();return n}acceptOverwrite(e,n,r,i){this.scopeDepth>e?console.log("how did this happen?"):this.scopeDepth=e,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),i!==0&&(this.background=i)}}class sh{constructor(e,n=[],r={}){de(this,"_mainRule");de(this,"_children");de(this,"_rulesWithParentScopes");this._mainRule=e,this._children=r,this._rulesWithParentScopes=n}static _sortBySpecificity(e){return e.length===1||e.sort(this._cmpBySpecificity),e}static _cmpBySpecificity(e,n){if(e.scopeDepth===n.scopeDepth){const r=e.parentScopes,i=n.parentScopes;let o=r===null?0:r.length,s=i===null?0:i.length;if(o===s)for(let a=0;a<o;a++){const l=r[a].length,c=i[a].length;if(l!==c)return c-l}return s-o}return n.scopeDepth-e.scopeDepth}match(e){if(e==="")return sh._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let n=e.indexOf("."),r,i;return n===-1?(r=e,i=""):(r=e.substring(0,n),i=e.substring(n+1)),this._children.hasOwnProperty(r)?this._children[r].match(i):sh._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(e,n,r,i,o,s){if(n===""){this._doInsertHere(e,r,i,o,s);return}let a=n.indexOf("."),l,c;a===-1?(l=n,c=""):(l=n.substring(0,a),c=n.substring(a+1));let u;this._children.hasOwnProperty(l)?u=this._children[l]:(u=new sh(this._mainRule.clone(),zh.cloneArr(this._rulesWithParentScopes)),this._children[l]=u),u.insert(e+1,c,r,i,o,s)}_doInsertHere(e,n,r,i,o){if(n===null){this._mainRule.acceptOverwrite(e,r,i,o);return}for(let s=0,a=this._rulesWithParentScopes.length;s<a;s++){let l=this._rulesWithParentScopes[s];if(d5(l.parentScopes,n)===0){l.acceptOverwrite(e,r,i,o);return}}r===-1&&(r=this._mainRule.fontStyle),i===0&&(i=this._mainRule.foreground),o===0&&(o=this._mainRule.background),this._rulesWithParentScopes.push(new zh(e,n,r,i,o))}}class ky{constructor(e,n){de(this,"languageId");de(this,"tokenType");this.languageId=e,this.tokenType=n}}const Qu=class Qu{constructor(e,n){de(this,"_defaultAttributes");de(this,"_embeddedLanguagesMatcher");de(this,"_getBasicScopeAttributes",new p5(e=>{const n=this._scopeToLanguage(e),r=this._toStandardTokenType(e);return new ky(n,r)}));this._defaultAttributes=new ky(e,8),this._embeddedLanguagesMatcher=new NW(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(e){return e===null?Qu._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(e)}_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(e){const n=e.match(Qu.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!")}};de(Qu,"_NULL_SCOPE_METADATA",new ky(0,0)),de(Qu,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/);let yw=Qu;class NW{constructor(e){de(this,"values");de(this,"scopesRegExp");if(e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);const n=e.map(([r,i])=>h5(r));n.sort(),n.reverse(),this.scopesRegExp=new RegExp(`^((${n.join(")|(")}))($|\\.)`,"")}}match(e){if(!this.scopesRegExp)return;const n=e.match(this.scopesRegExp);if(n)return this.values.get(n[1])}}class jk{constructor(e,n){de(this,"stack");de(this,"stoppedEarly");this.stack=e,this.stoppedEarly=n}}function y5(t,e,n,r,i,o,s,a){const l=e.content.length;let c=!1,u=-1;if(s){const h=IW(t,e,n,r,i,o);i=h.stack,r=h.linePos,n=h.isFirstLine,u=h.anchorPosition}const f=Date.now();for(;!c;){if(a!==0&&Date.now()-f>a)return new jk(i,!0);d()}return new jk(i,!1);function d(){const h=LW(t,e,n,r,i,u);if(!h){o.produce(i,l),c=!0;return}const p=h.captureIndices,m=h.matchedRuleId,v=p&&p.length>0?p[0].end>r:!1;if(m===kW){const g=i.getRule(t);o.produce(i,p[0].start),i=i.withContentNameScopesList(i.nameScopesList),zd(t,e,n,i,o,g.endCaptures,p),o.produce(i,p[0].end);const b=i;if(i=i.parent,u=b.getAnchorPos(),!v&&b.getEnterPos()===r){i=b,o.produce(i,l),c=!0;return}}else{const g=t.getRule(m);o.produce(i,p[0].start);const b=i,y=g.getName(e.content,p),x=i.contentNameScopesList.pushAttributed(y,t);if(i=i.push(m,r,u,p[0].end===l,null,x,x),g instanceof vw){const w=g;zd(t,e,n,i,o,w.beginCaptures,p),o.produce(i,p[0].end),u=p[0].end;const _=w.getContentName(e.content,p),k=x.pushAttributed(_,t);if(i=i.withContentNameScopesList(k),w.endHasBackReferences&&(i=i.withEndRule(w.getEndWithResolvedBackReferences(e.content,p))),!v&&b.hasSameRuleAs(i)){i=i.pop(),o.produce(i,l),c=!0;return}}else if(g instanceof xv){const w=g;zd(t,e,n,i,o,w.beginCaptures,p),o.produce(i,p[0].end),u=p[0].end;const _=w.getContentName(e.content,p),k=x.pushAttributed(_,t);if(i=i.withContentNameScopesList(k),w.whileHasBackReferences&&(i=i.withEndRule(w.getWhileWithResolvedBackReferences(e.content,p))),!v&&b.hasSameRuleAs(i)){i=i.pop(),o.produce(i,l),c=!0;return}}else if(zd(t,e,n,i,o,g.captures,p),o.produce(i,p[0].end),i=i.pop(),!v){i=i.safePop(),o.produce(i,l),c=!0;return}}p[0].end>r&&(r=p[0].end,n=!1)}}function IW(t,e,n,r,i,o){let s=i.beginRuleCapturedEOL?0:-1;const a=[];for(let l=i;l;l=l.pop()){const c=l.getRule(t);c instanceof xv&&a.push({rule:c,stack:l})}for(let l=a.pop();l;l=a.pop()){const{ruleScanner:c,findOptions:u}=zW(l.rule,t,l.stack.endRule,n,r===s),f=c.findNextMatchSync(e,r,u);if(f){if(f.ruleId!==g5){i=l.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(o.produce(l.stack,f.captureIndices[0].start),zd(t,e,n,l.stack,o,l.rule.whileCaptures,f.captureIndices),o.produce(l.stack,f.captureIndices[0].end),s=f.captureIndices[0].end,f.captureIndices[0].end>r&&(r=f.captureIndices[0].end,n=!1))}else{i=l.stack.pop();break}}return{stack:i,linePos:r,anchorPosition:s,isFirstLine:n}}function LW(t,e,n,r,i,o){const s=DW(t,e,n,r,i,o),a=t.getInjections();if(a.length===0)return s;const l=BW(a,t,e,n,r,i,o);if(!l)return s;if(!s)return l;const c=s.captureIndices[0].start,u=l.captureIndices[0].start;return u<c||l.priorityMatch&&u===c?l:s}function DW(t,e,n,r,i,o){const s=i.getRule(t),{ruleScanner:a,findOptions:l}=b5(s,t,i.endRule,n,r===o),c=a.findNextMatchSync(e,r,l);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function BW(t,e,n,r,i,o,s){let a=Number.MAX_VALUE,l=null,c,u=0;const f=o.contentNameScopesList.getScopeNames();for(let d=0,h=t.length;d<h;d++){const p=t[d];if(!p.matcher(f))continue;const m=e.getRule(p.ruleId),{ruleScanner:v,findOptions:g}=b5(m,e,null,r,i===s),b=v.findNextMatchSync(n,i,g);if(!b)continue;const y=b.captureIndices[0].start;if(!(y>=a)&&(a=y,l=b.captureIndices,c=b.ruleId,u=p.priority,a===i))break}return l?{priorityMatch:u===-1,captureIndices:l,matchedRuleId:c}:null}function b5(t,e,n,r,i){return{ruleScanner:t.compileAG(e,n,r,i),findOptions:0}}function zW(t,e,n,r,i){return{ruleScanner:t.compileWhileAG(e,n,r,i),findOptions:0}}function zd(t,e,n,r,i,o,s){if(o.length===0)return;const a=e.content,l=Math.min(o.length,s.length),c=[],u=s[0].end;for(let f=0;f<l;f++){const d=o[f];if(d===null)continue;const h=s[f];if(h.length===0)continue;if(h.start>u)break;for(;c.length>0&&c[c.length-1].endPos<=h.start;)i.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?i.produceFromScopes(c[c.length-1].scopes,h.start):i.produce(r,h.start),d.retokenizeCapturedWithRuleId){const m=d.getName(a,s),v=r.contentNameScopesList.pushAttributed(m,t),g=d.getContentName(a,s),b=v.pushAttributed(g,t),y=r.push(d.retokenizeCapturedWithRuleId,h.start,-1,!1,null,v,b),x=t.createOnigString(a.substring(0,h.end));y5(t,x,n&&h.start===0,h.start,y,i,!1,0),l5(x);continue}const p=d.getName(a,s);if(p!==null){const v=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(p,t);c.push(new FW(v,h.end))}}for(;c.length>0;)i.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}class FW{constructor(e,n){de(this,"scopes");de(this,"endPos");this.scopes=e,this.endPos=n}}function VW(t,e,n,r,i,o,s,a){return new qW(t,e,n,r,i,o,s,a)}function $k(t,e,n,r,i){const o=bv(e,jv),s=Xr.getCompiledRuleId(n,r,i.repository);for(const a of o)t.push({debugSelector:e,matcher:a.matcher,ruleId:s,grammar:i,priority:a.priority})}function jv(t,e){if(e.length<t.length)return!1;let n=0;return t.every(r=>{for(let i=n;i<e.length;i++)if(HW(e[i],r))return n=i+1,!0;return!1})}function HW(t,e){if(!t)return!1;if(t===e)return!0;const n=e.length;return t.length>n&&t.substr(0,n)===e&&t[n]==="."}class qW{constructor(e,n,r,i,o,s,a,l){de(this,"_rootScopeName");de(this,"balancedBracketSelectors");de(this,"_onigLib");de(this,"_rootId");de(this,"_lastRuleId");de(this,"_ruleId2desc");de(this,"_includedGrammars");de(this,"_grammarRepository");de(this,"_grammar");de(this,"_injections");de(this,"_basicScopeAttributesProvider");de(this,"_tokenTypeMatchers");if(this._rootScopeName=e,this.balancedBracketSelectors=s,this._onigLib=l,this._basicScopeAttributesProvider=new yw(r,i),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=a,this._grammar=Sk(n,null),this._injections=null,this._tokenTypeMatchers=[],o)for(const c of Object.keys(o)){const u=bv(c,jv);for(const f of u)this._tokenTypeMatchers.push({matcher:f.matcher,type:o[c]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){const e={lookup:o=>o===this._rootScopeName?this._grammar:this.getExternalGrammar(o),injections:o=>this._grammarRepository.injections(o)},n=[],r=this._rootScopeName,i=e.lookup(r);if(i){const o=i.injections;if(o)for(let a in o)$k(n,a,o[a],this,i);const s=this._grammarRepository.injections(r);s&&s.forEach(a=>{const l=this.getExternalGrammar(a);if(l){const c=l.injectionSelector;c&&$k(n,c,l,this,l)}})}return n.sort((o,s)=>o.priority-s.priority),n}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(e){const n=++this._lastRuleId,r=e(n);return this._ruleId2desc[n]=r,r}getRule(e){return this._ruleId2desc[e]}getExternalGrammar(e,n){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){const r=this._grammarRepository.lookup(e);if(r)return this._includedGrammars[e]=Sk(r,n&&n.$base),this._includedGrammars[e]}}tokenizeLine(e,n,r=0){const i=this._tokenize(e,n,!1,r);return{tokens:i.lineTokens.getResult(i.ruleStack,i.lineLength),ruleStack:i.ruleStack,stoppedEarly:i.stoppedEarly}}tokenizeLine2(e,n,r=0){const i=this._tokenize(e,n,!0,r);return{tokens:i.lineTokens.getBinaryResult(i.ruleStack,i.lineLength),ruleStack:i.ruleStack,stoppedEarly:i.stoppedEarly}}_tokenize(e,n,r,i){this._rootId===-1&&(this._rootId=Xr.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let o;if(!n||n===Fh.NULL){o=!0;const u=this._basicScopeAttributesProvider.getDefaultAttributes(),f=this.themeProvider.getDefaults(),d=Bf.set(0,u.languageId,u.tokenType,null,f.fontStyle,f.foregroundId,f.backgroundId),h=this.getRule(this._rootId).getName(null,null);let p;h?p=Ri.createRootAndLookUpScopeName(h,d,this):p=Ri.createRoot("unknown",d),n=new Fh(null,this._rootId,-1,-1,!1,null,p,p)}else o=!1,n.reset();e=e+`
20
20
  `;const s=this.createOnigString(e),a=s.content.length,l=new WW(r,e,this._tokenTypeMatchers,this.balancedBracketSelectors),c=y5(this,s,o,0,n,l,!0,i);return l5(s),{lineLength:a,lineTokens:l,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}}function Sk(t,e){return t=hW(t),t.repository=t.repository||{},t.repository.$self={$vscodeTextmateLocation:t.$vscodeTextmateLocation,patterns:t.patterns,name:t.scopeName},t.repository.$base=e||t.repository.$self,t}class Ri{constructor(e,n,r){de(this,"parent");de(this,"scopePath");de(this,"tokenAttributes");this.parent=e,this.scopePath=n,this.tokenAttributes=r}static fromExtension(e,n){let r=e,i=(e==null?void 0:e.scopePath)??null;for(const o of n)i=Nc.push(i,o.scopeNames),r=new Ri(r,i,o.encodedTokenAttributes);return r}static createRoot(e,n){return new Ri(null,new Nc(null,e),n)}static createRootAndLookUpScopeName(e,n,r){const i=r.getMetadataForScope(e),o=new Nc(null,e),s=r.themeProvider.themeMatch(o),a=Ri.mergeAttributes(n,i,s);return new Ri(null,o,a)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(e){return Ri.equals(this,e)}static equals(e,n){do{if(e===n||!e&&!n)return!0;if(!e||!n||e.scopeName!==n.scopeName||e.tokenAttributes!==n.tokenAttributes)return!1;e=e.parent,n=n.parent}while(!0)}static mergeAttributes(e,n,r){let i=-1,o=0,s=0;return r!==null&&(i=r.fontStyle,o=r.foregroundId,s=r.backgroundId),Bf.set(e,n.languageId,n.tokenType,null,i,o,s)}pushAttributed(e,n){if(e===null)return this;if(e.indexOf(" ")===-1)return Ri._pushAttributed(this,e,n);const r=e.split(/ /g);let i=this;for(const o of r)i=Ri._pushAttributed(i,o,n);return i}static _pushAttributed(e,n,r){const i=r.getMetadataForScope(n),o=e.scopePath.push(n),s=r.themeProvider.themeMatch(o),a=Ri.mergeAttributes(e.tokenAttributes,i,s);return new Ri(e,o,a)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){var i;const n=[];let r=this;for(;r&&r!==e;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(((i=r.parent)==null?void 0:i.scopePath)??null)}),r=r.parent;return r===e?n.reverse():void 0}}const xa=class xa{constructor(e,n,r,i,o,s,a,l){de(this,"parent");de(this,"ruleId");de(this,"beginRuleCapturedEOL");de(this,"endRule");de(this,"nameScopesList");de(this,"contentNameScopesList");de(this,"_stackElementBrand");de(this,"_enterPos");de(this,"_anchorPos");de(this,"depth");this.parent=e,this.ruleId=n,this.beginRuleCapturedEOL=o,this.endRule=s,this.nameScopesList=a,this.contentNameScopesList=l,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=i}equals(e){return e===null?!1:xa._equals(this,e)}static _equals(e,n){return e===n?!0:this._structuralEquals(e,n)?Ri.equals(e.contentNameScopesList,n.contentNameScopesList):!1}static _structuralEquals(e,n){do{if(e===n||!e&&!n)return!0;if(!e||!n||e.depth!==n.depth||e.ruleId!==n.ruleId||e.endRule!==n.endRule)return!1;e=e.parent,n=n.parent}while(!0)}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){xa._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(e,n,r,i,o,s,a){return new xa(this,e,n,r,i,o,s,a)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(e){return e.getRule(this.ruleId)}toString(){const e=[];return this._writeString(e,0),"["+e.join(",")+"]"}_writeString(e,n){var r,i;return this.parent&&(n=this.parent._writeString(e,n)),e[n++]=`(${this.ruleId}, ${(r=this.nameScopesList)==null?void 0:r.toString()}, ${(i=this.contentNameScopesList)==null?void 0:i.toString()})`,n}withContentNameScopesList(e){return this.contentNameScopesList===e?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,e)}withEndRule(e){return this.endRule===e?this:new xa(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,e,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(e){let n=this;for(;n&&n._enterPos===e._enterPos;){if(n.ruleId===e.ruleId)return!0;n=n.parent}return!1}toStateStackFrame(){var e,n,r;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((n=this.nameScopesList)==null?void 0:n.getExtensionIfDefined(((e=this.parent)==null?void 0:e.nameScopesList)??null))??[],contentNameScopesList:((r=this.contentNameScopesList)==null?void 0:r.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(e,n){const r=Ri.fromExtension((e==null?void 0:e.nameScopesList)??null,n.nameScopesList);return new xa(e,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,Ri.fromExtension(r,n.contentNameScopesList))}};de(xa,"NULL",new xa(null,0,0,0,!1,null,null,null));let Fh=xa;class UW{constructor(e,n){de(this,"balancedBracketScopes");de(this,"unbalancedBracketScopes");de(this,"allowAny",!1);this.balancedBracketScopes=e.flatMap(r=>r==="*"?(this.allowAny=!0,[]):bv(r,jv).map(i=>i.matcher)),this.unbalancedBracketScopes=n.flatMap(r=>bv(r,jv).map(i=>i.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(e){for(const n of this.unbalancedBracketScopes)if(n(e))return!1;for(const n of this.balancedBracketScopes)if(n(e))return!0;return this.allowAny}}class WW{constructor(e,n,r,i){de(this,"balancedBracketSelectors");de(this,"_emitBinaryTokens");de(this,"_lineText");de(this,"_tokens");de(this,"_binaryTokens");de(this,"_lastTokenEndIndex");de(this,"_tokenTypeOverrides");this.balancedBracketSelectors=i,this._emitBinaryTokens=e,this._tokenTypeOverrides=r,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(e,n){this.produceFromScopes(e.contentNameScopesList,n)}produceFromScopes(e,n){var i;if(this._lastTokenEndIndex>=n)return;if(this._emitBinaryTokens){let o=(e==null?void 0:e.tokenAttributes)??0,s=!1;if((i=this.balancedBracketSelectors)!=null&&i.matchesAlways&&(s=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const a=(e==null?void 0:e.getScopeNames())??[];for(const l of this._tokenTypeOverrides)l.matcher(a)&&(o=Bf.set(o,0,l.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(a))}if(s&&(o=Bf.set(o,0,8,s,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===o){this._lastTokenEndIndex=n;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(o),this._lastTokenEndIndex=n;return}const r=(e==null?void 0:e.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:n,scopes:r}),this._lastTokenEndIndex=n}getResult(e,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(e,n),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,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(e,n),this._binaryTokens[this._binaryTokens.length-2]=0);const r=new Uint32Array(this._binaryTokens.length);for(let i=0,o=this._binaryTokens.length;i<o;i++)r[i]=this._binaryTokens[i];return r}}class GW{constructor(e,n){de(this,"_onigLibPromise");de(this,"_grammars",new Map);de(this,"_rawGrammars",new Map);de(this,"_injectionGrammars",new Map);de(this,"_theme");this._onigLibPromise=n,this._theme=e}dispose(){for(const e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,n){this._rawGrammars.set(e.scopeName,e),n&&this._injectionGrammars.set(e.scopeName,n)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}async grammarForScopeName(e,n,r,i,o){if(!this._grammars.has(e)){let s=this._rawGrammars.get(e);if(!s)return null;this._grammars.set(e,VW(e,s,n,r,i,o,this,await this._onigLibPromise))}return this._grammars.get(e)}}let KW=class{constructor(e){de(this,"_options");de(this,"_syncRegistry");de(this,"_ensureGrammarCache");this._options=e,this._syncRegistry=new GW(_v.createFromRawTheme(e.theme,e.colorMap),e.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(e,n){this._syncRegistry.setTheme(_v.createFromRawTheme(e,n))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(e,n,r){return this.loadGrammarWithConfiguration(e,n,{embeddedLanguages:r})}loadGrammarWithConfiguration(e,n,r){return this._loadGrammar(e,n,r.embeddedLanguages,r.tokenTypes,new UW(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}async _loadGrammar(e,n,r,i,o){const s=new yW(this._syncRegistry,e);for(;s.Q.length>0;)await Promise.all(s.Q.map(a=>this._loadSingleGrammar(a.scopeName))),s.processQueue();return this._grammarForScopeName(e,n,r,i,o)}async _loadSingleGrammar(e){return this._ensureGrammarCache.has(e)||this._ensureGrammarCache.set(e,this._doLoadSingleGrammar(e)),this._ensureGrammarCache.get(e)}async _doLoadSingleGrammar(e){const n=await this._options.loadGrammar(e);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(n,r)}}async addGrammar(e,n=[],r=0,i=null){return this._syncRegistry.addGrammar(e,n),await this._grammarForScopeName(e.scopeName,r,i)}_grammarForScopeName(e,n=0,r=null,i=null,o=null){return this._syncRegistry.grammarForScopeName(e,n,r,i,o)}};const JW=Fh.NULL,li={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 _a{static toBinaryStr(e){let n=e.toString(2);for(;n.length<32;)n=`0${n}`;return n}static getLanguageId(e){return(e&li.LANGUAGEID_MASK)>>>li.LANGUAGEID_OFFSET}static getTokenType(e){return(e&li.TOKEN_TYPE_MASK)>>>li.TOKEN_TYPE_OFFSET}static getFontStyle(e){return(e&li.FONT_STYLE_MASK)>>>li.FONT_STYLE_OFFSET}static getForeground(e){return(e&li.FOREGROUND_MASK)>>>li.FOREGROUND_OFFSET}static getBackground(e){return(e&li.BACKGROUND_MASK)>>>li.BACKGROUND_OFFSET}static containsBalancedBrackets(e){return(e&li.BALANCED_BRACKETS_MASK)!==0}static set(e,n,r,i,o,s){let a=_a.getLanguageId(e),l=_a.getTokenType(e),c=_a.getFontStyle(e),u=_a.getForeground(e),f=_a.getBackground(e);const d=_a.containsBalancedBrackets(e)?1:0;return n!==0&&(a=n),r!==0&&(l=r===8?0:r),i!==ts.NotSet&&(c=i),o!==0&&(u=o),s!==0&&(f=s),(a<<li.LANGUAGEID_OFFSET|l<<li.TOKEN_TYPE_OFFSET|c<<li.FONT_STYLE_OFFSET|d<<li.BALANCED_BRACKETS_OFFSET|u<<li.FOREGROUND_OFFSET|f<<li.BACKGROUND_OFFSET)>>>0}}function s1(t,e=!1){var o;const n=t.split(/(\r?\n)/g);let r=0;const i=[];for(let s=0;s<n.length;s+=2){const a=e?n[s]+(n[s+1]||""):n[s];i.push([a,r]),r+=n[s].length,r+=((o=n[s+1])==null?void 0:o.length)||0}return i}function f_(t){return!t||["plaintext","txt","text","plain"].includes(t)}function w5(t){return t==="ansi"||f_(t)}function d_(t){return t==="none"}function x5(t){return d_(t)}function _5(t,e){var r;if(!e)return t;t.properties||(t.properties={}),(r=t.properties).class||(r.class=[]),typeof t.properties.class=="string"&&(t.properties.class=t.properties.class.split(/\s+/g)),Array.isArray(t.properties.class)||(t.properties.class=[]);const n=Array.isArray(e)?e:e.split(/\s+/g);for(const i of n)i&&!t.properties.class.includes(i)&&t.properties.class.push(i);return t}function YW(t,e){let n=0;const r=[];for(const i of e)i>n&&r.push({...t,content:t.content.slice(n,i),offset:t.offset+n}),n=i;return n<t.content.length&&r.push({...t,content:t.content.slice(n),offset:t.offset+n}),r}function QW(t,e){const n=Array.from(e instanceof Set?e:new Set(e)).sort((r,i)=>r-i);return n.length?t.map(r=>r.flatMap(i=>{const o=n.filter(s=>i.offset<s&&s<i.offset+i.content.length).map(s=>s-i.offset).sort((s,a)=>s-a);return o.length?YW(i,o):i})):t}function $v(t,e){const n=typeof t=="string"?{}:{...t.colorReplacements},r=typeof t=="string"?t:t.name;for(const[i,o]of Object.entries((e==null?void 0:e.colorReplacements)||{}))typeof o=="string"?n[i]=o:i===r&&Object.assign(n,o);return n}function Cc(t,e){return t&&((e==null?void 0:e[t==null?void 0:t.toLowerCase()])||t)}function j5(t){const e={};return t.color&&(e.color=t.color),t.bgColor&&(e["background-color"]=t.bgColor),t.fontStyle&&(t.fontStyle&ts.Italic&&(e["font-style"]="italic"),t.fontStyle&ts.Bold&&(e["font-weight"]="bold"),t.fontStyle&ts.Underline&&(e["text-decoration"]="underline")),e}function $5(t){return Object.entries(t).map(([e,n])=>`${e}:${n}`).join(";")}function XW(t){const e=s1(t,!0).map(([i])=>i);function n(i){let o=i,s=0;for(const a of e){if(o<a.length)break;o-=a.length,s++}return{line:s,character:o}}function r(i,o){let s=0;for(let a=0;a<i;a++)s+=e[a].length;return s+=o,s}return{lines:e,indexToPos:n,posToIndex:r}}var Ec=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],Cy={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function ZW(t,e){const n=t.indexOf("\x1B[",e);if(n!==-1){const r=t.indexOf("m",n);return{sequence:t.substring(n+2,r).split(";"),startPosition:n,position:r+1}}return{position:t.length}}function kk(t,e){let n=1;const r=t[e+n++];let i;if(r==="2"){const o=[t[e+n++],t[e+n++],t[e+n]].map(s=>Number.parseInt(s));o.length===3&&!o.some(s=>Number.isNaN(s))&&(i={type:"rgb",rgb:o})}else if(r==="5"){const o=Number.parseInt(t[e+n]);Number.isNaN(o)||(i={type:"table",index:Number(o)})}return[n,i]}function eG(t){const e=[];for(let n=0;n<t.length;n++){const r=t[n],i=Number.parseInt(r);if(!Number.isNaN(i))if(i===0)e.push({type:"resetAll"});else if(i<=9)Cy[i]&&e.push({type:"setDecoration",value:Cy[i]});else if(i<=29){const o=Cy[i-20];o&&e.push({type:"resetDecoration",value:o})}else if(i<=37)e.push({type:"setForegroundColor",value:{type:"named",name:Ec[i-30]}});else if(i===38){const[o,s]=kk(t,n);s&&e.push({type:"setForegroundColor",value:s}),n+=o}else if(i===39)e.push({type:"resetForegroundColor"});else if(i<=47)e.push({type:"setBackgroundColor",value:{type:"named",name:Ec[i-40]}});else if(i===48){const[o,s]=kk(t,n);s&&e.push({type:"setBackgroundColor",value:s}),n+=o}else i===49?e.push({type:"resetBackgroundColor"}):i>=90&&i<=97?e.push({type:"setForegroundColor",value:{type:"named",name:Ec[i-90+8]}}):i>=100&&i<=107&&e.push({type:"setBackgroundColor",value:{type:"named",name:Ec[i-100+8]}})}return e}function tG(){let t=null,e=null,n=new Set;return{parse(r){const i=[];let o=0;do{const s=ZW(r,o),a=s.sequence?r.substring(o,s.startPosition):r.substring(o);if(a.length>0&&i.push({value:a,foreground:t,background:e,decorations:new Set(n)}),s.sequence){const l=eG(s.sequence);for(const c of l)c.type==="resetAll"?(t=null,e=null,n.clear()):c.type==="resetForegroundColor"?t=null:c.type==="resetBackgroundColor"?e=null:c.type==="resetDecoration"&&n.delete(c.value);for(const c of l)c.type==="setForegroundColor"?t=c.value:c.type==="setBackgroundColor"?e=c.value:c.type==="setDecoration"&&n.add(c.value)}o=s.position}while(o<r.length);return i}}}var nG={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 rG(t=nG){function e(a){return t[a]}function n(a){return`#${a.map(l=>Math.max(0,Math.min(l,255)).toString(16).padStart(2,"0")).join("")}`}let r;function i(){if(r)return r;r=[];for(let c=0;c<Ec.length;c++)r.push(e(Ec[c]));let a=[0,95,135,175,215,255];for(let c=0;c<6;c++)for(let u=0;u<6;u++)for(let f=0;f<6;f++)r.push(n([a[c],a[u],a[f]]));let l=8;for(let c=0;c<24;c++,l+=10)r.push(n([l,l,l]));return r}function o(a){return i()[a]}function s(a){switch(a.type){case"named":return e(a.name);case"rgb":return n(a.rgb);case"table":return o(a.index)}}return{value:s}}function iG(t,e,n){const r=$v(t,n),i=s1(e),o=rG(Object.fromEntries(Ec.map(a=>{var l;return[a,(l=t.colors)==null?void 0:l[`terminal.ansi${a[0].toUpperCase()}${a.substring(1)}`]]}))),s=tG();return i.map(a=>s.parse(a[0]).map(l=>{let c,u;l.decorations.has("reverse")?(c=l.background?o.value(l.background):t.bg,u=l.foreground?o.value(l.foreground):t.fg):(c=l.foreground?o.value(l.foreground):t.fg,u=l.background?o.value(l.background):void 0),c=Cc(c,r),u=Cc(u,r),l.decorations.has("dim")&&(c=oG(c));let f=ts.None;return l.decorations.has("bold")&&(f|=ts.Bold),l.decorations.has("italic")&&(f|=ts.Italic),l.decorations.has("underline")&&(f|=ts.Underline),{content:l.value,offset:a[1],color:c,bgColor:u,fontStyle:f}}))}function oG(t){const e=t.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(e)if(e[3]){const r=Math.round(Number.parseInt(e[3],16)/2).toString(16).padStart(2,"0");return`#${e[1]}${e[2]}${r}`}else return e[2]?`#${e[1]}${e[2]}80`:`#${Array.from(e[1]).map(r=>`${r}${r}`).join("")}80`;const n=t.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:t}class xr extends Error{constructor(e){super(e),this.name="ShikiError"}}class S5{constructor(e,n,r){de(this,"_stack");de(this,"lang");de(this,"theme");this._stack=e,this.lang=n,this.theme=r}get scopes(){return sG(this._stack)}toJSON(){return{lang:this.lang,theme:this.theme,scopes:this.scopes}}}function sG(t){const e=[],n=new Set;function r(i){var s;if(n.has(i))return;n.add(i);const o=(s=i==null?void 0:i.nameScopesList)==null?void 0:s.scopeName;o&&e.push(o),i.parent&&r(i.parent)}return r(t),e}function aG(t){if(!(t instanceof S5))throw new xr("Invalid grammar state");return t._stack}function h_(t,e,n={}){const{lang:r="text",theme:i=t.getLoadedThemes()[0]}=n;if(f_(r)||d_(i))return s1(e).map(l=>[{content:l[0],offset:l[1]}]);const{theme:o,colorMap:s}=t.setTheme(i);if(r==="ansi")return iG(o,e,n);const a=t.getLanguage(r);if(n.grammarState){if(n.grammarState.lang!==a.name)throw new xr(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${a.name}"`);if(n.grammarState.theme!==i)throw new xr(`Grammar state theme "${n.grammarState.theme}" does not match highlight theme "${i}"`)}return cG(e,a,o,s,n)}function lG(t,e,n={}){const{lang:r="text",theme:i=t.getLoadedThemes()[0]}=n;if(f_(r)||d_(i))throw new xr("Plain language does not have grammar state");if(r==="ansi")throw new xr("ANSI language does not have grammar state");const{theme:o,colorMap:s}=t.setTheme(i),a=t.getLanguage(r);return new S5(p_(e,a,o,s,n).stateStack,a.name,o.name)}function cG(t,e,n,r,i){return p_(t,e,n,r,i).tokens}function p_(t,e,n,r,i){const o=$v(n,i),{tokenizeMaxLineLength:s=0,tokenizeTimeLimit:a=500}=i,l=s1(t);let c=i.grammarState?aG(i.grammarState):i.grammarContextCode!=null?p_(i.grammarContextCode,e,n,r,{...i,grammarState:void 0,grammarContextCode:void 0}).stateStack:JW,u=[];const f=[],d=[];if(i.includeExplanation)for(const h of n.settings){let p;switch(typeof h.scope){case"string":p=h.scope.split(/,/).map(m=>m.trim());break;case"object":p=h.scope;break;default:continue}d.push({settings:h,selectors:p.map(m=>m.split(/ /))})}for(let h=0,p=l.length;h<p;h++){const[m,v]=l[h];if(m===""){u=[],f.push([]);continue}if(s>0&&m.length>=s){u=[],f.push([{content:m,offset:v,color:"",fontStyle:0}]);continue}let g,b,y;i.includeExplanation&&(g=e.tokenizeLine(m,c),b=g.tokens,y=0);const x=e.tokenizeLine2(m,c,a),w=x.tokens.length/2;for(let _=0;_<w;_++){const k=x.tokens[2*_],D=_+1<w?x.tokens[2*_+2]:m.length;if(k===D)continue;const L=x.tokens[2*_+1],C=Cc(r[_a.getForeground(L)],o),V=_a.getFontStyle(L),M={content:m.substring(k,D),offset:v+k,color:C,fontStyle:V};if(i.includeExplanation){M.explanation=[];let q=0;for(;k+q<D;){const H=b[y],J=m.substring(H.startIndex,H.endIndex);q+=J.length,M.explanation.push({content:J,scopes:uG(d,H.scopes)}),y+=1}}u.push(M)}f.push(u),u=[],c=x.ruleStack}return{tokens:f,stateStack:c}}function uG(t,e){const n=[];for(let r=0,i=e.length;r<i;r++){const o=e.slice(0,r),s=e[r];n[r]={scopeName:s,themeMatches:dG(t,s,o)}}return n}function Ck(t,e){return t===e||e.substring(0,t.length)===t&&e[t.length]==="."}function fG(t,e,n){if(!Ck(t[t.length-1],e))return!1;let r=t.length-2,i=n.length-1;for(;r>=0&&i>=0;)Ck(t[r],n[i])&&(r-=1),i-=1;return r===-1}function dG(t,e,n){const r=[];for(const{selectors:i,settings:o}of t)for(const s of i)if(fG(s,e,n)){r.push(o);break}return r}function k5(t,e,n){const r=Object.entries(n.themes).filter(s=>s[1]).map(s=>({color:s[0],theme:s[1]})),i=hG(...r.map(s=>h_(t,e,{...n,theme:s.theme})));return i[0].map((s,a)=>s.map((l,c)=>{const u={content:l.content,variants:{},offset:l.offset};return i.forEach((f,d)=>{const{content:h,explanation:p,offset:m,...v}=f[a][c];u.variants[r[d].color]=v}),u}))}function hG(...t){const e=t.map(()=>[]),n=t.length;for(let r=0;r<t[0].length;r++){const i=t.map(l=>l[r]),o=e.map(()=>[]);e.forEach((l,c)=>l.push(o[c]));const s=i.map(()=>0),a=i.map(l=>l[0]);for(;a.every(l=>l);){const l=Math.min(...a.map(c=>c.content.length));for(let c=0;c<n;c++){const u=a[c];u.content.length===l?(o[c].push(u),s[c]+=1,a[c]=i[c][s[c]]):(o[c].push({...u,content:u.content.slice(0,l)}),a[c]={...u,content:u.content.slice(l),offset:u.offset+l})}}}return e}function Sv(t,e,n){let r,i,o,s,a;if("themes"in n){const{defaultColor:l="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===l?-1:v.color===l?1:0);if(u.length===0)throw new xr("`themes` option must not be empty");const f=k5(t,e,n);if(l&&!u.find(m=>m.color===l))throw new xr(`\`themes\` option must contain the defaultColor key \`${l}\``);const d=u.map(m=>t.getTheme(m.theme)),h=u.map(m=>m.color);o=f.map(m=>m.map(v=>pG(v,h,c,l)));const p=u.map(m=>$v(m.theme,n));i=u.map((m,v)=>(v===0&&l?"":`${c+m.color}:`)+(Cc(d[v].fg,p[v])||"inherit")).join(";"),r=u.map((m,v)=>(v===0&&l?"":`${c+m.color}-bg:`)+(Cc(d[v].bg,p[v])||"inherit")).join(";"),s=`shiki-themes ${d.map(m=>m.name).join(" ")}`,a=l?void 0:[i,r].join(";")}else if("theme"in n){const l=$v(n.theme,n.colorReplacements);o=h_(t,e,n);const c=t.getTheme(n.theme);r=Cc(c.bg,l),i=Cc(c.fg,l),s=c.name}else throw new xr("Invalid options, either `theme` or `themes` must be provided");return{tokens:o,fg:i,bg:r,themeName:s,rootStyle:a}}function pG(t,e,n,r){const i={content:t.content,explanation:t.explanation,offset:t.offset},o=e.map(l=>j5(t.variants[l])),s=new Set(o.flatMap(l=>Object.keys(l))),a=o.reduce((l,c,u)=>{for(const f of s){const d=c[f]||"inherit";if(u===0&&r)l[f]=d;else{const h=f==="color"?"":f==="background-color"?"-bg":`-${f}`,p=n+e[u]+(f==="color"?"":h);l[f]?l[f]+=`;${p}:${d}`:l[f]=`${p}:${d}`}}return l},{});return i.htmlStyle=r?$5(a):Object.values(a).join(";"),i}function mG(){const t=new WeakMap;function e(r){if(!t.has(r.meta)){let o=function(a){return typeof a=="number"?{...i.indexToPos(a),offset:a}:{...a,offset:i.posToIndex(a.line,a.character)}};const i=XW(r.source),s=(r.options.decorations||[]).map(a=>({...a,start:o(a.start),end:o(a.end)}));n(s),t.set(r.meta,{decorations:s,converter:i,source:r.source})}return t.get(r.meta)}function n(r){for(let i=0;i<r.length;i++){const o=r[i];if(o.start.offset>o.end.offset)throw new xr(`Invalid decoration range: ${JSON.stringify(o.start)} - ${JSON.stringify(o.end)}`);for(let s=i+1;s<r.length;s++){const a=r[s],l=o.start.offset<a.start.offset&&a.start.offset<o.end.offset,c=o.start.offset<a.end.offset&&a.end.offset<o.end.offset,u=a.start.offset<o.start.offset&&o.start.offset<a.end.offset,f=a.start.offset<o.end.offset&&o.end.offset<a.end.offset;if(l||c||u||f){if(c&&c||u&&f)continue;throw new xr(`Decorations ${JSON.stringify(o.start)} and ${JSON.stringify(a.start)} intersect.`)}}}}return{name:"shiki:decorations",tokens(r){var a;if(!((a=this.options.decorations)!=null&&a.length))return;const o=e(this).decorations.flatMap(l=>[l.start.offset,l.end.offset]);return QW(r,o)},code(r){var f;if(!((f=this.options.decorations)!=null&&f.length))return;const i=e(this),o=Array.from(r.children).filter(d=>d.type==="element"&&d.tagName==="span");if(o.length!==i.converter.lines.length)throw new xr(`Number of lines in code element (${o.length}) does not match the number of lines in the source (${i.converter.lines.length}). Failed to apply decorations.`);function s(d,h,p,m){const v=o[d];let g="",b=-1,y=-1;function x(_){return _.type==="text"?_.value:_.type==="element"?_.children.map(x).join(""):""}if(h===0&&(b=0),p===0&&(y=0),p===Number.POSITIVE_INFINITY&&(y=v.children.length),b===-1||y===-1)for(let _=0;_<v.children.length;_++)g+=x(v.children[_]),b===-1&&g.length===h&&(b=_+1),y===-1&&g.length===p&&(y=_+1);if(b===-1)throw new xr(`Failed to find start index for decoration ${JSON.stringify(m.start)}`);if(y===-1)throw new xr(`Failed to find end index for decoration ${JSON.stringify(m.end)}`);const w=v.children.slice(b,y);if(!m.alwaysWrap&&w.length===v.children.length)l(v,m,"line");else if(!m.alwaysWrap&&w.length===1&&w[0].type==="element")l(w[0],m,"token");else{const _={type:"element",tagName:"span",properties:{},children:w};l(_,m,"wrapper"),v.children.splice(b,w.length,_)}}function a(d,h){o[d]=l(o[d],h,"line")}function l(d,h,p){var g;const m=h.properties||{},v=h.transform||(b=>b);return d.tagName=h.tagName||"span",d.properties={...d.properties,...m,class:d.properties.class},(g=h.properties)!=null&&g.class&&_5(d,h.properties.class),d=v(d,p)||d,d}const c=[],u=i.decorations.sort((d,h)=>h.start.offset-d.start.offset);for(const d of u){const{start:h,end:p}=d;if(h.line===p.line)s(h.line,h.character,p.character,d);else if(h.line<p.line){s(h.line,h.character,Number.POSITIVE_INFINITY,d);for(let m=h.line+1;m<p.line;m++)c.unshift(()=>a(m,d));s(p.line,0,p.character,d)}}c.forEach(d=>d())}}}const gG=[mG()];function kv(t){return[...t.transformers||[],...gG]}function Cv(t,e,n,r={meta:{},options:n,codeToHast:(i,o)=>Cv(t,i,o),codeToTokens:(i,o)=>Sv(t,i,o)}){var d,h;let i=e;for(const p of kv(n))i=((d=p.preprocess)==null?void 0:d.call(r,i,n))||i;let{tokens:o,fg:s,bg:a,themeName:l,rootStyle:c}=Sv(t,i,n);const{mergeWhitespaces:u=!0}=n;u===!0?o=yG(o):u==="never"&&(o=bG(o));const f={...r,get source(){return i}};for(const p of kv(n))o=((h=p.tokens)==null?void 0:h.call(f,o))||o;return vG(o,{...n,fg:s,bg:a,themeName:l,rootStyle:c},f)}function vG(t,e,n){var d,h,p;const r=kv(e),i=[],o={type:"root",children:[]},{structure:s="classic"}=e;let a={type:"element",tagName:"pre",properties:{class:`shiki ${e.themeName||""}`,style:e.rootStyle||`background-color:${e.bg};color:${e.fg}`,tabindex:"0",...Object.fromEntries(Array.from(Object.entries(e.meta||{})).filter(([m])=>!m.startsWith("_")))},children:[]},l={type:"element",tagName:"code",properties:{},children:i};const c=[],u={...n,structure:s,addClassToHast:_5,get source(){return n.source},get tokens(){return t},get options(){return e},get root(){return o},get pre(){return a},get code(){return l},get lines(){return c}};if(t.forEach((m,v)=>{var y,x;v&&(s==="inline"?o.children.push({type:"element",tagName:"br",properties:{},children:[]}):s==="classic"&&i.push({type:"text",value:`
21
21
  `}));let g={type:"element",tagName:"span",properties:{class:"line"},children:[]},b=0;for(const w of m){let _={type:"element",tagName:"span",properties:{},children:[{type:"text",value:w.content}]};const k=w.htmlStyle||$5(j5(w));k&&(_.properties.style=k);for(const D of r)_=((y=D==null?void 0:D.span)==null?void 0:y.call(u,_,v+1,b,g))||_;s==="inline"?o.children.push(_):s==="classic"&&g.children.push(_),b+=w.content.length}if(s==="classic"){for(const w of r)g=((x=w==null?void 0:w.line)==null?void 0:x.call(u,g,v+1))||g;c.push(g),i.push(g)}}),s==="classic"){for(const m of r)l=((d=m==null?void 0:m.code)==null?void 0:d.call(u,l))||l;a.children.push(l);for(const m of r)a=((h=m==null?void 0:m.pre)==null?void 0:h.call(u,a))||a;o.children.push(a)}let f=o;for(const m of r)f=((p=m==null?void 0:m.root)==null?void 0:p.call(u,f))||f;return f}function yG(t){return t.map(e=>{const n=[];let r="",i=0;return e.forEach((o,s)=>{const l=!(o.fontStyle&&o.fontStyle&ts.Underline);l&&o.content.match(/^\s+$/)&&e[s+1]?(i||(i=o.offset),r+=o.content):r?(l?n.push({...o,offset:i,content:r+o.content}):n.push({content:r,offset:i},o),i=0,r=""):n.push(o)}),n})}function bG(t){return t.map(e=>e.flatMap(n=>{if(n.content.match(/^\s+$/))return n;const r=n.content.match(/^(\s*)(.*?)(\s*)$/);if(!r)return n;const[,i,o,s]=r;if(!i&&!s)return n;const a=[{...n,offset:n.offset+i.length,content:o}];return i&&a.unshift({content:i,offset:n.offset}),s&&a.push({content:s,offset:n.offset+i.length+o.length}),a}))}const wG=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class Ep{constructor(e,n,r){this.property=e,this.normal=n,r&&(this.space=r)}}Ep.prototype.property={};Ep.prototype.normal={};Ep.prototype.space=null;function C5(t,e){const n={},r={};let i=-1;for(;++i<t.length;)Object.assign(n,t[i].property),Object.assign(r,t[i].normal);return new Ep(n,r,e)}function bw(t){return t.toLowerCase()}class zo{constructor(e,n){this.property=e,this.attribute=n}}zo.prototype.space=null;zo.prototype.boolean=!1;zo.prototype.booleanish=!1;zo.prototype.overloadedBoolean=!1;zo.prototype.number=!1;zo.prototype.commaSeparated=!1;zo.prototype.spaceSeparated=!1;zo.prototype.commaOrSpaceSeparated=!1;zo.prototype.mustUseProperty=!1;zo.prototype.defined=!1;let xG=0;const on=hu(),Lr=hu(),E5=hu(),Qe=hu(),Xn=hu(),uf=hu(),io=hu();function hu(){return 2**++xG}var ww=Object.freeze({__proto__:null,boolean:on,booleanish:Lr,commaOrSpaceSeparated:io,commaSeparated:uf,number:Qe,overloadedBoolean:E5,spaceSeparated:Xn});const Ey=Object.keys(ww);class m_ extends zo{constructor(e,n,r,i){let o=-1;if(super(e,n),Ek(this,"space",i),typeof r=="number")for(;++o<Ey.length;){const s=Ey[o];Ek(this,Ey[o],(r&ww[s])===ww[s])}}}m_.prototype.defined=!0;function Ek(t,e,n){n&&(t[e]=n)}const _G={}.hasOwnProperty;function sd(t){const e={},n={};let r;for(r in t.properties)if(_G.call(t.properties,r)){const i=t.properties[r],o=new m_(r,t.transform(t.attributes||{},r),i,t.space);t.mustUseProperty&&t.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),e[r]=o,n[bw(r)]=r,n[bw(o.attribute)]=r}return new Ep(e,n,t.space)}const O5=sd({space:"xlink",transform(t,e){return"xlink:"+e.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),T5=sd({space:"xml",transform(t,e){return"xml:"+e.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function P5(t,e){return e in t?t[e]:e}function A5(t,e){return P5(t,e.toLowerCase())}const R5=sd({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:A5,properties:{xmlns:null,xmlnsXLink:null}}),M5=sd({transform(t,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Lr,ariaAutoComplete:null,ariaBusy:Lr,ariaChecked:Lr,ariaColCount:Qe,ariaColIndex:Qe,ariaColSpan:Qe,ariaControls:Xn,ariaCurrent:null,ariaDescribedBy:Xn,ariaDetails:null,ariaDisabled:Lr,ariaDropEffect:Xn,ariaErrorMessage:null,ariaExpanded:Lr,ariaFlowTo:Xn,ariaGrabbed:Lr,ariaHasPopup:null,ariaHidden:Lr,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Xn,ariaLevel:Qe,ariaLive:null,ariaModal:Lr,ariaMultiLine:Lr,ariaMultiSelectable:Lr,ariaOrientation:null,ariaOwns:Xn,ariaPlaceholder:null,ariaPosInSet:Qe,ariaPressed:Lr,ariaReadOnly:Lr,ariaRelevant:null,ariaRequired:Lr,ariaRoleDescription:Xn,ariaRowCount:Qe,ariaRowIndex:Qe,ariaRowSpan:Qe,ariaSelected:Lr,ariaSetSize:Qe,ariaSort:null,ariaValueMax:Qe,ariaValueMin:Qe,ariaValueNow:Qe,ariaValueText:null,role:null}}),jG=sd({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:A5,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:uf,acceptCharset:Xn,accessKey:Xn,action:null,allow:null,allowFullScreen:on,allowPaymentRequest:on,allowUserMedia:on,alt:null,as:null,async:on,autoCapitalize:null,autoComplete:Xn,autoFocus:on,autoPlay:on,blocking:Xn,capture:null,charSet:null,checked:on,cite:null,className:Xn,cols:Qe,colSpan:null,content:null,contentEditable:Lr,controls:on,controlsList:Xn,coords:Qe|uf,crossOrigin:null,data:null,dateTime:null,decoding:null,default:on,defer:on,dir:null,dirName:null,disabled:on,download:E5,draggable:Lr,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:on,formTarget:null,headers:Xn,height:Qe,hidden:on,high:Qe,href:null,hrefLang:null,htmlFor:Xn,httpEquiv:Xn,id:null,imageSizes:null,imageSrcSet:null,inert:on,inputMode:null,integrity:null,is:null,isMap:on,itemId:null,itemProp:Xn,itemRef:Xn,itemScope:on,itemType:Xn,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:on,low:Qe,manifest:null,max:null,maxLength:Qe,media:null,method:null,min:null,minLength:Qe,multiple:on,muted:on,name:null,nonce:null,noModule:on,noValidate:on,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:on,optimum:Qe,pattern:null,ping:Xn,placeholder:null,playsInline:on,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:on,referrerPolicy:null,rel:Xn,required:on,reversed:on,rows:Qe,rowSpan:Qe,sandbox:Xn,scope:null,scoped:on,seamless:on,selected:on,shadowRootDelegatesFocus:on,shadowRootMode:null,shape:null,size:Qe,sizes:null,slot:null,span:Qe,spellCheck:Lr,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Qe,step:null,style:null,tabIndex:Qe,target:null,title:null,translate:null,type:null,typeMustMatch:on,useMap:null,value:Lr,width:Qe,wrap:null,align:null,aLink:null,archive:Xn,axis:null,background:null,bgColor:null,border:Qe,borderColor:null,bottomMargin:Qe,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:on,declare:on,event:null,face:null,frame:null,frameBorder:null,hSpace:Qe,leftMargin:Qe,link:null,longDesc:null,lowSrc:null,marginHeight:Qe,marginWidth:Qe,noResize:on,noHref:on,noShade:on,noWrap:on,object:null,profile:null,prompt:null,rev:null,rightMargin:Qe,rules:null,scheme:null,scrolling:Lr,standby:null,summary:null,text:null,topMargin:Qe,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Qe,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:on,disableRemotePlayback:on,prefix:null,property:null,results:Qe,security:null,unselectable:null}}),$G=sd({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:P5,properties:{about:io,accentHeight:Qe,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Qe,amplitude:Qe,arabicForm:null,ascent:Qe,attributeName:null,attributeType:null,azimuth:Qe,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Qe,by:null,calcMode:null,capHeight:Qe,className:Xn,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:Qe,diffuseConstant:Qe,direction:null,display:null,dur:null,divisor:Qe,dominantBaseline:null,download:on,dx:null,dy:null,edgeMode:null,editable:null,elevation:Qe,enableBackground:null,end:null,event:null,exponent:Qe,externalResourcesRequired:null,fill:null,fillOpacity:Qe,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:uf,g2:uf,glyphName:uf,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Qe,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Qe,horizOriginX:Qe,horizOriginY:Qe,id:null,ideographic:Qe,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Qe,k:Qe,k1:Qe,k2:Qe,k3:Qe,k4:Qe,kernelMatrix:io,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Qe,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:Qe,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:Qe,overlineThickness:Qe,paintOrder:null,panose1:null,path:null,pathLength:Qe,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Xn,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Qe,pointsAtY:Qe,pointsAtZ:Qe,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:io,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:io,rev:io,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:io,requiredFeatures:io,requiredFonts:io,requiredFormats:io,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:Qe,specularExponent:Qe,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Qe,strikethroughThickness:Qe,string:null,stroke:null,strokeDashArray:io,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Qe,strokeOpacity:Qe,strokeWidth:null,style:null,surfaceScale:Qe,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:io,tabIndex:Qe,tableValues:null,target:null,targetX:Qe,targetY:Qe,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:io,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Qe,underlineThickness:Qe,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Qe,values:null,vAlphabetic:Qe,vMathematical:Qe,vectorEffect:null,vHanging:Qe,vIdeographic:Qe,version:null,vertAdvY:Qe,vertOriginX:Qe,vertOriginY:Qe,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Qe,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),SG=/^data[-\w.:]+$/i,Ok=/-[a-z]/g,kG=/[A-Z]/g;function CG(t,e){const n=bw(e);let r=e,i=zo;if(n in t.normal)return t.property[t.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&SG.test(e)){if(e.charAt(4)==="-"){const o=e.slice(5).replace(Ok,OG);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=e.slice(4);if(!Ok.test(o)){let s=o.replace(kG,EG);s.charAt(0)!=="-"&&(s="-"+s),e="data"+s}}i=m_}return new i(r,e)}function EG(t){return"-"+t.toLowerCase()}function OG(t){return t.charAt(1).toUpperCase()}const TG=C5([T5,O5,R5,M5,jG],"html"),N5=C5([T5,O5,R5,M5,$G],"svg"),Tk={}.hasOwnProperty;function PG(t,e){const n=e||{};function r(i,...o){let s=r.invalid;const a=r.handlers;if(i&&Tk.call(i,t)){const l=String(i[t]);s=Tk.call(a,l)?a[l]:r.unknown}if(s)return s.call(this,i,...o)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}function AG(t,e){if(t=t.replace(e.subset?RG(e.subset):/["&'<>`]/g,r),e.subset||e.escapeOnly)return t;return t.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(i,o,s){return e.format((i.charCodeAt(0)-55296)*1024+i.charCodeAt(1)-56320+65536,s.charCodeAt(o+2),e)}function r(i,o,s){return e.format(i.charCodeAt(0),s.charCodeAt(o+1),e)}}function RG(t){const e=[];let n=-1;for(;++n<t.length;)e.push(t[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+e.join("|")+")","g")}function MG(t,e,n){const r="&#x"+t.toString(16).toUpperCase();return n&&e&&!/[\dA-Fa-f]/.test(String.fromCharCode(e))?r:r+";"}function NG(t,e,n){const r="&#"+String(t);return n&&e&&!/\d/.test(String.fromCharCode(e))?r:r+";"}const IG=["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"],Oy={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:"€"},LG=["cent","copy","divide","gt","lt","not","para","times"],I5={}.hasOwnProperty,xw={};let gm;for(gm in Oy)I5.call(Oy,gm)&&(xw[Oy[gm]]=gm);function DG(t,e,n,r){const i=String.fromCharCode(t);if(I5.call(xw,i)){const o=xw[i],s="&"+o;return n&&IG.includes(o)&&!LG.includes(o)&&(!r||e&&e!==61&&/[^\da-z]/i.test(String.fromCharCode(e)))?s:s+";"}return""}function BG(t,e,n){let r=MG(t,e,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=DG(t,e,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){const o=NG(t,e,n.omitOptionalSemicolons);o.length<r.length&&(r=o)}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}function ff(t,e){return AG(t,Object.assign({format:BG},e))}const zG=/^>|^->|<!--|-->|--!>|<!-$/g,FG=[">"],VG=["<",">"];function HG(t,e,n,r){return r.settings.bogusComments?"<?"+ff(t.value,Object.assign({},r.settings.characterReferences,{subset:FG}))+">":"<!--"+t.value.replace(zG,i)+"-->";function i(o){return ff(o,Object.assign({},r.settings.characterReferences,{subset:VG}))}}function qG(t,e,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function Pk(t,e){const n=String(t);if(typeof e!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(e);for(;i!==-1;)r++,i=n.indexOf(e,i+e.length);return r}function UG(t,e){const n=e||{};return(t[t.length-1]===""?[...t,""]:t).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function WG(t){return t.join(" ").trim()}const GG=/[ \t\n\f\r]/g;function g_(t){return typeof t=="object"?t.type==="text"?Ak(t.value):!1:Ak(t)}function Ak(t){return t.replace(GG,"")===""}const Jr=D5(1),L5=D5(-1),KG=[];function D5(t){return e;function e(n,r,i){const o=n?n.children:KG;let s=(r||0)+t,a=o[s];if(!i)for(;a&&g_(a);)s+=t,a=o[s];return a}}const JG={}.hasOwnProperty;function B5(t){return e;function e(n,r,i){return JG.call(t,n.tagName)&&t[n.tagName](n,r,i)}}const v_=B5({body:QG,caption:Ty,colgroup:Ty,dd:tK,dt:eK,head:Ty,html:YG,li:ZG,optgroup:nK,option:rK,p:XG,rp:Rk,rt:Rk,tbody:oK,td:Mk,tfoot:sK,th:Mk,thead:iK,tr:aK});function Ty(t,e,n){const r=Jr(n,e,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&g_(r.value.charAt(0)))}function YG(t,e,n){const r=Jr(n,e);return!r||r.type!=="comment"}function QG(t,e,n){const r=Jr(n,e);return!r||r.type!=="comment"}function XG(t,e,n){const r=Jr(n,e);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 ZG(t,e,n){const r=Jr(n,e);return!r||r.type==="element"&&r.tagName==="li"}function eK(t,e,n){const r=Jr(n,e);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function tK(t,e,n){const r=Jr(n,e);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function Rk(t,e,n){const r=Jr(n,e);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function nK(t,e,n){const r=Jr(n,e);return!r||r.type==="element"&&r.tagName==="optgroup"}function rK(t,e,n){const r=Jr(n,e);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function iK(t,e,n){const r=Jr(n,e);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function oK(t,e,n){const r=Jr(n,e);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function sK(t,e,n){return!Jr(n,e)}function aK(t,e,n){const r=Jr(n,e);return!r||r.type==="element"&&r.tagName==="tr"}function Mk(t,e,n){const r=Jr(n,e);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const lK=B5({body:fK,colgroup:dK,head:uK,html:cK,tbody:hK});function cK(t){const e=Jr(t,-1);return!e||e.type!=="comment"}function uK(t){const e=t.children,n=[];let r=-1;for(;++r<e.length;){const i=e[r];if(i.type==="element"&&(i.tagName==="title"||i.tagName==="base")){if(n.includes(i.tagName))return!1;n.push(i.tagName)}}return e.length>0}function fK(t){const e=Jr(t,-1,!0);return!e||e.type!=="comment"&&!(e.type==="text"&&g_(e.value.charAt(0)))&&!(e.type==="element"&&(e.tagName==="meta"||e.tagName==="link"||e.tagName==="script"||e.tagName==="style"||e.tagName==="template"))}function dK(t,e,n){const r=L5(n,e),i=Jr(t,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&v_(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="col")}function hK(t,e,n){const r=L5(n,e),i=Jr(t,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&v_(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="tr")}const vm={name:[[`
@@ -128,4 +128,4 @@ return query;
128
128
  `),s=K("span"),a=Ge("("),l=Ge(m),c=ue(),u=Ge(v),f=Ge(")"),j(s,"class","jse-nested-array-count svelte-fxr3ye"),j(e,"type","button"),j(e,"class","jse-nested-array-action svelte-fxr3ye")},m:function(b,y){te(b,e,y),N(e,n),N(e,r),N(e,i),N(e,o),N(e,s),N(s,a),N(s,l),N(s,c),N(s,u),N(s,f),d||(h=Ne(e,"click",g),d=!0)},p:function(b,y){t=b,256&y&&Ct(n,t[8]),16&y&&p!==(p=Zi(t[16])+"")&&Ct(i,p),16&y&&m!==(m=t[17]+"")&&Ct(l,m),16&y&&v!==(v=t[17]!==1?"items":"item")&&Ct(u,v)},d:function(b){b&&ee(e),d=!1,h()}}}function Jbe(t){var e,n,r,i,o,s,a,l,c,u,f,d,h,p,m,v,g,b;function y(M,q){return M[6]?Wbe:Ube}var x=y(t),w=x(t);function _(M,q){return M[5]&&!M[0]?Kbe:Gbe}for(var k=_(t),D=k(t),L=Mt(t[4]),C=[],V=0;V<L.length;V+=1)C[V]=vO(gO(t,L,V));return{c:function(){e=K("div"),n=K("div"),r=ue(),i=K("div"),o=K("div"),s=Ge(t[7]),a=ue(),l=K("div"),w.c(),c=ue(),D.c(),u=ue();for(var M=0;M<C.length;M+=1)C[M].c();f=ue(),d=K("button"),h=Ge(t[8]),p=Ge(" in tree mode"),m=ue(),v=K("div"),j(n,"class","jse-space jse-before svelte-fxr3ye"),j(o,"class","jse-nested-arrays-title"),j(l,"class","jse-nested-arrays-info svelte-fxr3ye"),j(d,"type","button"),j(d,"class","jse-nested-array-action svelte-fxr3ye"),j(i,"class","jse-nested-arrays svelte-fxr3ye"),j(v,"class","jse-space jse-after svelte-fxr3ye"),j(e,"class","jse-table-mode-welcome svelte-fxr3ye"),j(e,"role","none")},m:function(M,q){te(M,e,q),N(e,n),N(e,r),N(e,i),N(i,o),N(o,s),N(i,a),N(i,l),w.m(l,null),N(l,c),D.m(l,null),N(i,u);for(var H=0;H<C.length;H+=1)C[H]&&C[H].m(i,null);N(i,f),N(i,d),N(d,h),N(d,p),N(e,m),N(e,v),g||(b=[Ne(d,"click",t[14]),Ne(e,"click",t[15])],g=!0)},p:function(M,q){var H=Lt(q,1)[0];if(128&H&&Ct(s,M[7]),x===(x=y(M))&&w?w.p(M,H):(w.d(1),(w=x(M))&&(w.c(),w.m(l,c))),k!==(k=_(M))&&(D.d(1),(D=k(M))&&(D.c(),D.m(l,null))),786&H){var J;for(L=Mt(M[4]),J=0;J<L.length;J+=1){var F=gO(M,L,J);C[J]?C[J].p(F,H):(C[J]=vO(F),C[J].c(),C[J].m(i,f))}for(;J<C.length;J+=1)C[J].d(1);C.length=L.length}256&H&&Ct(h,M[8])},i:He,o:He,d:function(M){M&&ee(e),w.d(),D.d(),Sr(C,M),g=!1,On(b)}}}function Ybe(t,e,n){var r,i,o,s,a,l=e.text,c=e.json,u=e.readOnly,f=e.parser,d=e.openJSONEditorModal,h=e.onChangeMode,p=e.onClick;return t.$$set=function(m){"text"in m&&n(10,l=m.text),"json"in m&&n(11,c=m.json),"readOnly"in m&&n(0,u=m.readOnly),"parser"in m&&n(12,f=m.parser),"openJSONEditorModal"in m&&n(1,d=m.openJSONEditorModal),"onChangeMode"in m&&n(2,h=m.onChangeMode),"onClick"in m&&n(3,p=m.onClick)},t.$$.update=function(){1&t.$$.dirty&&n(8,r=u?"View":"Edit"),2048&t.$$.dirty&&n(4,a=c?function(m){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2,g=[];return function b(y,x){cr(y)&&x.length<v&&Object.keys(y).forEach(function(w){b(y[w],x.concat(w))}),Vn(y)&&g.push(x)}(m,[]),g}(c).slice(0,99).filter(function(m){return m.length>0}):[]),16&t.$$.dirty&&n(6,i=!gn(a)),3072&t.$$.dirty&&n(5,o=c===void 0&&(l===""||l===void 0)),6240&t.$$.dirty&&n(7,s=i?"Object with nested arrays":o?"An empty document":cr(c)?"An object":Vn(c)?"An empty array":"A ".concat(h$(c,f)))},[u,d,h,p,a,o,i,s,r,function(m){return ct(c,m).length},l,c,f,function(m){return d(m)},function(){return h(ni.tree)},function(){return p()}]}var Qbe=function(t){function e(n){var r;return bt(this,e),jt(r=xt(this,e),n,Ybe,Jbe,Dt,{text:10,json:11,readOnly:0,parser:12,openJSONEditorModal:1,onChangeMode:2,onClick:3},qbe),r}return _t(e,$t),wt(e)}();function Xbe(t){Nt(t,"svelte-1nml1r3",".jse-column-header.svelte-1nml1r3{background:none;border:none;font-family:inherit;font-size:inherit;color:inherit;display:flex;gap:var(--jse-padding, 10px);padding:calc(0.5 * var(--jse-padding, 10px)) var(--jse-padding, 10px) calc(0.5 * var(--jse-padding, 10px)) calc(0.5 * var(--jse-padding, 10px));width:100%}.jse-column-header.svelte-1nml1r3:hover{background:var(--jse-table-header-background-highlight, #e8e8e8)}.jse-column-header.svelte-1nml1r3:not(.jse-column-header.jse-readonly){cursor:pointer}")}function Zbe(t){var e,n,r,i,o,s;return n=new hn({props:{data:mne}}),{c:function(){e=K("button"),Ee(n.$$.fragment),j(e,"type","button"),j(e,"class","jse-column-header svelte-1nml1r3"),j(e,"title",r="The Columns are created by sampling ".concat(t[1]," items out of ").concat(t[0],". ")+"If you're missing a column, click here to sample all of the items instead of a subset. This is slower.")},m:function(a,l){te(a,e,l),Se(n,e,null),i=!0,o||(s=Ne(e,"click",t[3]),o=!0)},p:function(a,l){var c=Lt(l,1)[0];(!i||3&c&&r!==(r="The Columns are created by sampling ".concat(a[1]," items out of ").concat(a[0],". ")+"If you're missing a column, click here to sample all of the items instead of a subset. This is slower."))&&j(e,"title",r)},i:function(a){i||(S(n.$$.fragment,a),i=!0)},o:function(a){P(n.$$.fragment,a),i=!1},d:function(a){a&&ee(e),ke(n),o=!1,s()}}}function ewe(t,e,n){var r=e.count,i=e.maxSampleCount,o=e.onRefresh;return t.$$set=function(s){"count"in s&&n(0,r=s.count),"maxSampleCount"in s&&n(1,i=s.maxSampleCount),"onRefresh"in s&&n(2,o=s.onRefresh)},[r,i,o,function(){return o()}]}var twe=function(t){function e(n){var r;return bt(this,e),jt(r=xt(this,e),n,ewe,Zbe,Dt,{count:0,maxSampleCount:1,onRefresh:2},Xbe),r}return _t(e,$t),wt(e)}();function nwe(t){Nt(t,"svelte-12ygzbc",'.jse-table-mode.svelte-12ygzbc.svelte-12ygzbc{flex:1;display:flex;flex-direction:column;position:relative;background:var(--jse-background-color, #fff);min-width:0;min-height:0;font-family:var(--jse-font-family-mono, consolas, menlo, monaco, "Ubuntu Mono", "source-code-pro", monospace);font-size:var(--jse-font-size-mono, 14px);color:var(--jse-text-color, #4d4d4d);line-height:var(--jse-line-height, calc(1em + 4px))}.jse-table-mode.no-main-menu.svelte-12ygzbc.svelte-12ygzbc{border-top:var(--jse-main-border, 1px solid #d7d7d7)}.jse-table-mode.svelte-12ygzbc .jse-search-box-container.svelte-12ygzbc{position:relative;height:0;top:calc(var(--jse-line-height, calc(1em + 4px)) + 2 * var(--jse-padding, 10px));margin-right:calc(var(--jse-padding, 10px) + 20px);margin-left:var(--jse-padding, 10px);text-align:right;z-index:3}.jse-table-mode.svelte-12ygzbc .jse-hidden-input-label.svelte-12ygzbc{position:fixed;right:0;top:0;width:0;height:0}.jse-table-mode.svelte-12ygzbc .jse-hidden-input-label .jse-hidden-input.svelte-12ygzbc{width:0;height:0;padding:0;border:0;outline:none}.jse-table-mode.svelte-12ygzbc .jse-contents.svelte-12ygzbc{flex:1;align-items:flex-start;flex-direction:column;display:flex;overflow:auto;overflow-anchor:none;scrollbar-gutter:stable;border-left:var(--jse-main-border, 1px solid #d7d7d7);border-right:var(--jse-main-border, 1px solid #d7d7d7)}.jse-table-mode.svelte-12ygzbc .jse-contents.svelte-12ygzbc:last-child{border-bottom:var(--jse-main-border, 1px solid #d7d7d7)}.jse-table-mode.svelte-12ygzbc .jse-contents table.jse-table-main.svelte-12ygzbc{border-collapse:collapse;border-spacing:0}.jse-table-mode.svelte-12ygzbc .jse-contents table.jse-table-main .jse-table-invisible-start-section td.svelte-12ygzbc,.jse-table-mode.svelte-12ygzbc .jse-contents table.jse-table-main .jse-table-invisible-end-section td.svelte-12ygzbc{margin:0;padding:0}.jse-table-mode.svelte-12ygzbc .jse-contents table.jse-table-main .jse-table-invisible-end-section td.svelte-12ygzbc{padding-bottom:var(--jse-padding, 10px)}.jse-table-mode.svelte-12ygzbc .jse-contents table.jse-table-main .jse-table-row.svelte-12ygzbc:hover{background-color:var(--jse-table-row-odd-background, rgba(0, 0, 0, 0.05))}.jse-table-mode.svelte-12ygzbc .jse-contents table.jse-table-main .jse-table-row .jse-table-cell.svelte-12ygzbc{padding:0 var(--jse-padding, 10px) 0 0;vertical-align:top;white-space:nowrap;height:var(--jse-line-height, calc(1em + 4px))}.jse-table-mode.svelte-12ygzbc .jse-contents table.jse-table-main .jse-table-row .jse-table-cell.jse-table-cell-header.svelte-12ygzbc,.jse-table-mode.svelte-12ygzbc .jse-contents table.jse-table-main .jse-table-row .jse-table-cell.jse-table-cell-gutter.svelte-12ygzbc{font-weight:normal;text-align:left;color:var(--jse-text-readonly, #8d8d8d);background:var(--jse-table-header-background, #f5f5f5)}.jse-table-mode.svelte-12ygzbc .jse-contents table.jse-table-main .jse-table-row .jse-table-cell.jse-table-cell-header.svelte-12ygzbc{padding:0;position:sticky;top:0}.jse-table-mode.svelte-12ygzbc .jse-contents table.jse-table-main .jse-table-row .jse-table-cell.jse-table-cell-header .jse-table-root-error.svelte-12ygzbc{padding:calc(0.5 * var(--jse-padding, 10px)) var(--jse-padding, 10px) calc(0.5 * var(--jse-padding, 10px)) calc(0.5 * var(--jse-padding, 10px))}.jse-table-mode.svelte-12ygzbc .jse-contents table.jse-table-main .jse-table-row .jse-table-cell.jse-table-cell-gutter.svelte-12ygzbc{padding:0 var(--jse-padding, 10px) 0 calc(0.5 * var(--jse-padding, 10px))}.jse-table-mode.svelte-12ygzbc .jse-contents table.jse-table-main .jse-table-row .jse-table-cell.jse-selected-value.svelte-12ygzbc>.jse-value{background:var(--jse-selection-background-color, #d3d3d3)}.jse-table-mode.svelte-12ygzbc .jse-contents table.jse-table-main .jse-table-row .jse-table-cell.svelte-12ygzbc div.jse-value{overflow-wrap:normal;white-space:nowrap;vertical-align:top;display:inline-block}.jse-table-mode.svelte-12ygzbc .jse-contents table.jse-table-main .jse-table-row .jse-table-cell .jse-context-menu-anchor.svelte-12ygzbc{display:inline-flex;position:relative;vertical-align:top}.jse-table-mode.svelte-12ygzbc .jse-contents.jse-contents-loading.svelte-12ygzbc{align-items:unset}.jse-table-mode.svelte-12ygzbc .jse-contents.jse-contents-loading .jse-loading-space.svelte-12ygzbc{flex:1}.jse-table-mode.svelte-12ygzbc .jse-contents.jse-contents-loading .jse-loading.svelte-12ygzbc{flex:2;text-align:center;color:var(--jse-panel-color-readonly, #b2b2b2);box-sizing:border-box;font-family:var(--jse-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--jse-font-size, 16px)}')}function yO(t,e,n){var r,i,o,s=t.slice();s[132]=e[n],s[138]=n;var a=s[27].startIndex+s[138];s[133]=a;var l=s[26].rows[s[133]];s[134]=l;var c=T$([String(s[133])],(r=s[134])===null||r===void 0?void 0:r.row);s[135]=c;var u=(i=s[20])!==null&&i!==void 0&&i.itemsMap?yo((o=s[20])===null||o===void 0?void 0:o.itemsMap,j_(s[133])):void 0;return s[136]=u,s}function bO(t,e,n){var r,i=t.slice();i[139]=e[n],i[146]=n;var o=[String(i[133])].concat(i[139]);i[140]=o;var s=rt(i[140]);i[141]=s;var a=ct(i[132],i[139]);i[142]=a;var l=ln(i[12].selection)&&Ua(i[12].selection.path,i[140]);i[143]=l;var c=(r=i[134])===null||r===void 0?void 0:r.columns[i[146]];i[144]=c;var u=T$(i[140],i[144]);return i[135]=u,i}function wO(t,e,n){var r=t.slice();return r[139]=e[n],r}function Pb(t){var e,n=t.slice(),r=T$([],(e=n[26])===null||e===void 0?void 0:e.root);return n[135]=r,n}function xO(t){var e,n,r;function i(s){t[79](s)}var o={containsValidArray:t[22],readOnly:t[0],historyState:t[24],onSort:t[47],onTransform:t[48],onUndo:t[49],onRedo:t[50],onContextMenu:t[39],onRenderMenu:t[5]};return t[9]!==void 0&&(o.showSearch=t[9]),e=new Tbe({props:o}),qt.push(function(){return Li(e,"showSearch",i)}),{c:function(){Ee(e.$$.fragment)},m:function(s,a){Se(e,s,a),r=!0},p:function(s,a){var l={};4194304&a[0]&&(l.containsValidArray=s[22]),1&a[0]&&(l.readOnly=s[0]),16777216&a[0]&&(l.historyState=s[24]),32&a[0]&&(l.onRenderMenu=s[5]),!n&&512&a[0]&&(n=!0,l.showSearch=s[9],Ii(function(){return n=!1})),e.$set(l)},i:function(s){r||(S(e.$$.fragment,s),r=!0)},o:function(s){P(e.$$.fragment,s),r=!1},d:function(s){ke(e,s)}}}function rwe(t){var e;return{c:function(){(e=K("div")).innerHTML='<div class="jse-loading-space svelte-12ygzbc"></div> <div class="jse-loading svelte-12ygzbc">loading...</div>',j(e,"class","jse-contents jse-contents-loading svelte-12ygzbc")},m:function(n,r){te(n,e,r)},p:He,i:He,o:He,d:function(n){n&&ee(e)}}}function iwe(t){var e,n,r,i,o,s,a,l,c,u=[awe,swe,owe],f=[];function d(h,p){return h[22]?0:h[18]&&h[17]!==void 0&&h[17]!==""?1:2}return i=d(t),o=f[i]=u[i](t),{c:function(){e=K("label"),n=K("input"),r=ue(),o.c(),s=dn(),j(n,"type","text"),n.readOnly=!0,j(n,"tabindex","-1"),j(n,"class","jse-hidden-input svelte-12ygzbc"),j(e,"class","jse-hidden-input-label svelte-12ygzbc")},m:function(h,p){te(h,e,p),N(e,n),t[80](n),te(h,r,p),f[i].m(h,p),te(h,s,p),a=!0,l||(c=Ne(n,"paste",t[44]),l=!0)},p:function(h,p){var m=i;(i=d(h))===m?f[i].p(h,p):(ze(),P(f[m],1,1,function(){f[m]=null}),Fe(),(o=f[i])?o.p(h,p):(o=f[i]=u[i](h)).c(),S(o,1),o.m(s.parentNode,s))},i:function(h){a||(S(o),a=!0)},o:function(h){P(o),a=!1},d:function(h){h&&(ee(e),ee(r),ee(s)),t[80](null),f[i].d(h),l=!1,c()}}}function owe(t){var e,n;return e=new Qbe({props:{text:t[17],json:t[8],readOnly:t[0],parser:t[2],openJSONEditorModal:t[46],onChangeMode:t[4],onClick:t[84]}}),{c:function(){Ee(e.$$.fragment)},m:function(r,i){Se(e,r,i),n=!0},p:function(r,i){var o={};131072&i[0]&&(o.text=r[17]),256&i[0]&&(o.json=r[8]),1&i[0]&&(o.readOnly=r[0]),4&i[0]&&(o.parser=r[2]),16&i[0]&&(o.onChangeMode=r[4]),e.$set(o)},i:function(r){n||(S(e.$$.fragment,r),n=!0)},o:function(r){P(e.$$.fragment,r),n=!1},d:function(r){ke(e,r)}}}function swe(t){var e,n,r,i;return e=new ws({props:{type:"error",message:"The loaded JSON document is invalid and could not be repaired automatically.",actions:t[0]?[]:[{icon:zl,text:"Repair manually",title:'Open the document in "code" mode and repair it manually',onClick:t[42]}]}}),r=new yD({props:{text:t[17],json:t[8],indentation:t[3],parser:t[2]}}),{c:function(){Ee(e.$$.fragment),n=ue(),Ee(r.$$.fragment)},m:function(o,s){Se(e,o,s),te(o,n,s),Se(r,o,s),i=!0},p:function(o,s){var a={};1&s[0]&&(a.actions=o[0]?[]:[{icon:zl,text:"Repair manually",title:'Open the document in "code" mode and repair it manually',onClick:o[42]}]),e.$set(a);var l={};131072&s[0]&&(l.text=o[17]),256&s[0]&&(l.json=o[8]),8&s[0]&&(l.indentation=o[3]),4&s[0]&&(l.parser=o[2]),r.$set(l)},i:function(o){i||(S(e.$$.fragment,o),S(r.$$.fragment,o),i=!0)},o:function(o){P(e.$$.fragment,o),P(r.$$.fragment,o),i=!1},d:function(o){o&&ee(n),ke(e,o),ke(r,o)}}}function awe(t){var e,n,r,i,o,s,a,l,c,u,f,d,h,p,m,v,g,b,y,x,w,_,k,D,L,C,V,M=!gn((e=t[26])===null||e===void 0?void 0:e.root);r=new uD({props:{json:t[8],documentState:t[12],parser:t[2],showSearch:t[9],showReplace:t[21],readOnly:t[0],columns:t[11],onSearch:t[30],onFocus:t[31],onPatch:t[34],onClose:t[32]}});for(var q=M&&_O(Pb(t)),H=Mt(t[11]),J=[],F=0;F<H.length;F+=1)J[F]=$O(wO(t,H,F));for(var W=function(O){return P(J[O],1,1,function(){J[O]=null})},E=t[28]&&SO(t),z=Mt(t[27].visibleItems),T=[],I=0;I<z.length;I+=1)T[I]=AO(yO(t,z,I));var ne=function(O){return P(T[O],1,1,function(){T[O]=null})},B=t[19]&&RO(t),$=t[23]&&MO(t);return D=new k$({props:{validationErrors:t[13],selectError:t[45]}}),{c:function(){n=K("div"),Ee(r.$$.fragment),i=ue(),o=K("div"),s=K("table"),a=K("tbody"),l=K("tr"),c=K("th"),q&&q.c(),u=ue();for(var O=0;O<J.length;O+=1)J[O].c();f=ue(),E&&E.c(),d=ue(),h=K("tr"),p=K("td"),v=ue();for(var R=0;R<T.length;R+=1)T[R].c();g=ue(),b=K("tr"),y=K("td"),w=ue(),B&&B.c(),_=ue(),$&&$.c(),k=ue(),Ee(D.$$.fragment),j(n,"class","jse-search-box-container svelte-12ygzbc"),j(c,"class","jse-table-cell jse-table-cell-header svelte-12ygzbc"),j(l,"class","jse-table-row jse-table-row-header svelte-12ygzbc"),j(p,"colspan",m=t[11].length),j(p,"class","svelte-12ygzbc"),ki(p,"height",t[27].startHeight+"px"),j(h,"class","jse-table-invisible-start-section"),j(y,"colspan",x=t[11].length),j(y,"class","svelte-12ygzbc"),ki(y,"height",t[27].endHeight+"px"),j(b,"class","jse-table-invisible-end-section"),j(s,"class","jse-table-main svelte-12ygzbc"),j(o,"class","jse-contents svelte-12ygzbc")},m:function(O,R){te(O,n,R),Se(r,n,null),te(O,i,R),te(O,o,R),N(o,s),N(s,a),N(a,l),N(l,c),q&&q.m(c,null),N(l,u);for(var U=0;U<J.length;U+=1)J[U]&&J[U].m(l,null);N(l,f),E&&E.m(l,null),N(a,d),N(a,h),N(h,p),N(a,v);for(var fe=0;fe<T.length;fe+=1)T[fe]&&T[fe].m(a,null);N(a,g),N(a,b),N(b,y),t[83](o),te(O,w,R),B&&B.m(O,R),te(O,_,R),$&&$.m(O,R),te(O,k,R),Se(D,O,R),L=!0,C||(V=[Mr(xD.call(null,o,t[51])),Ne(o,"scroll",t[35])],C=!0)},p:function(O,R){var U,fe={};if(256&R[0]&&(fe.json=O[8]),4096&R[0]&&(fe.documentState=O[12]),4&R[0]&&(fe.parser=O[2]),512&R[0]&&(fe.showSearch=O[9]),2097152&R[0]&&(fe.showReplace=O[21]),1&R[0]&&(fe.readOnly=O[0]),2048&R[0]&&(fe.columns=O[11]),r.$set(fe),67108864&R[0]&&(M=!gn((U=O[26])===null||U===void 0?void 0:U.root)),M?q?(q.p(Pb(O),R),67108864&R[0]&&S(q,1)):((q=_O(Pb(O))).c(),S(q,1),q.m(c,null)):q&&(ze(),P(q,1,1,function(){q=null}),Fe()),6145&R[0]|4&R[1]){var Oe;for(H=Mt(O[11]),Oe=0;Oe<H.length;Oe+=1){var he=wO(O,H,Oe);J[Oe]?(J[Oe].p(he,R),S(J[Oe],1)):(J[Oe]=$O(he),J[Oe].c(),S(J[Oe],1),J[Oe].m(l,f))}for(ze(),Oe=H.length;Oe<J.length;Oe+=1)W(Oe);Fe()}if(O[28]?E?(E.p(O,R),268435456&R[0]&&S(E,1)):((E=SO(O)).c(),S(E,1),E.m(l,null)):E&&(ze(),P(E,1,1,function(){E=null}),Fe()),(!L||2048&R[0]&&m!==(m=O[11].length))&&j(p,"colspan",m),134217728&R[0]&&ki(p,"height",O[27].startHeight+"px"),504371205&R[0]|2129984&R[1]){var le;for(z=Mt(O[27].visibleItems),le=0;le<z.length;le+=1){var tt=yO(O,z,le);T[le]?(T[le].p(tt,R),S(T[le],1)):(T[le]=AO(tt),T[le].c(),S(T[le],1),T[le].m(a,g))}for(ze(),le=z.length;le<T.length;le+=1)ne(le);Fe()}(!L||2048&R[0]&&x!==(x=O[11].length))&&j(y,"colspan",x),134217728&R[0]&&ki(y,"height",O[27].endHeight+"px"),O[19]?B?(B.p(O,R),524288&R[0]&&S(B,1)):((B=RO(O)).c(),S(B,1),B.m(_.parentNode,_)):B&&(ze(),P(B,1,1,function(){B=null}),Fe()),O[23]?$?($.p(O,R),8388608&R[0]&&S($,1)):(($=MO(O)).c(),S($,1),$.m(k.parentNode,k)):$&&(ze(),P($,1,1,function(){$=null}),Fe());var Z={};8192&R[0]&&(Z.validationErrors=O[13]),D.$set(Z)},i:function(O){if(!L){S(r.$$.fragment,O),S(q);for(var R=0;R<H.length;R+=1)S(J[R]);S(E);for(var U=0;U<z.length;U+=1)S(T[U]);S(B),S($),S(D.$$.fragment,O),L=!0}},o:function(O){P(r.$$.fragment,O),P(q),J=J.filter(Boolean);for(var R=0;R<J.length;R+=1)P(J[R]);P(E),T=T.filter(Boolean);for(var U=0;U<T.length;U+=1)P(T[U]);P(B),P($),P(D.$$.fragment,O),L=!1},d:function(O){O&&(ee(n),ee(i),ee(o),ee(w),ee(_),ee(k)),ke(r),q&&q.d(),Sr(J,O),E&&E.d(),Sr(T,O),t[83](null),B&&B.d(O),$&&$.d(O),ke(D,O),C=!1,On(V)}}}function _O(t){var e,n,r=t[135]&&jO(t);return{c:function(){r&&r.c(),e=dn()},m:function(i,o){r&&r.m(i,o),te(i,e,o),n=!0},p:function(i,o){i[135]?r?(r.p(i,o),67108864&o[0]&&S(r,1)):((r=jO(i)).c(),S(r,1),r.m(e.parentNode,e)):r&&(ze(),P(r,1,1,function(){r=null}),Fe())},i:function(i){n||(S(r),n=!0)},o:function(i){P(r),n=!1},d:function(i){i&&ee(e),r&&r.d(i)}}}function jO(t){var e,n,r;return n=new bd({props:{validationError:t[135],onExpand:Qo}}),{c:function(){e=K("div"),Ee(n.$$.fragment),j(e,"class","jse-table-root-error svelte-12ygzbc")},m:function(i,o){te(i,e,o),Se(n,e,null),r=!0},p:function(i,o){var s={};67108864&o[0]&&(s.validationError=i[135]),n.$set(s)},i:function(i){r||(S(n.$$.fragment,i),r=!0)},o:function(i){P(n.$$.fragment,i),r=!1},d:function(i){i&&ee(e),ke(n)}}}function $O(t){var e,n,r;return n=new Hbe({props:{path:t[139],sortedColumn:t[12].sortedColumn,readOnly:t[0],onSort:t[33]}}),{c:function(){e=K("th"),Ee(n.$$.fragment),j(e,"class","jse-table-cell jse-table-cell-header svelte-12ygzbc")},m:function(i,o){te(i,e,o),Se(n,e,null),r=!0},p:function(i,o){var s={};2048&o[0]&&(s.path=i[139]),4096&o[0]&&(s.sortedColumn=i[12].sortedColumn),1&o[0]&&(s.readOnly=i[0]),n.$set(s)},i:function(i){r||(S(n.$$.fragment,i),r=!0)},o:function(i){P(n.$$.fragment,i),r=!1},d:function(i){i&&ee(e),ke(n)}}}function SO(t){var e,n,r;return n=new twe({props:{count:Array.isArray(t[8])?t[8].length:0,maxSampleCount:t[10],onRefresh:t[81]}}),{c:function(){e=K("th"),Ee(n.$$.fragment),j(e,"class","jse-table-cell jse-table-cell-header svelte-12ygzbc")},m:function(i,o){te(i,e,o),Se(n,e,null),r=!0},p:function(i,o){var s={};256&o[0]&&(s.count=Array.isArray(i[8])?i[8].length:0),1024&o[0]&&(s.maxSampleCount=i[10]),1024&o[0]&&(s.onRefresh=i[81]),n.$set(s)},i:function(i){r||(S(n.$$.fragment,i),r=!0)},o:function(i){P(n.$$.fragment,i),r=!1},d:function(i){i&&ee(e),ke(n)}}}function kO(t){var e,n;return e=new bd({props:{validationError:t[135],onExpand:Qo}}),{c:function(){Ee(e.$$.fragment)},m:function(r,i){Se(e,r,i),n=!0},p:function(r,i){var o={};201326592&i[0]&&(o.validationError=r[135]),e.$set(o)},i:function(r){n||(S(e.$$.fragment,r),n=!0)},o:function(r){P(e.$$.fragment,r),n=!1},d:function(r){ke(e,r)}}}function CO(t){var e,n,r,i,o,s,a,l=t[133]+"",c=t[135]&&kO(t);function u(){for(var f,d=arguments.length,h=new Array(d),p=0;p<d;p++)h[p]=arguments[p];return(f=t)[82].apply(f,[t[133]].concat(h))}return{c:function(){e=K("th"),n=Ge(l),r=ue(),c&&c.c(),j(e,"class","jse-table-cell jse-table-cell-gutter svelte-12ygzbc")},m:function(f,d){te(f,e,d),N(e,n),N(e,r),c&&c.m(e,null),o=!0,s||(a=Mr(i=xD.call(null,e,u)),s=!0)},p:function(f,d){t=f,(!o||134217728&d[0])&&l!==(l=t[133]+"")&&Ct(n,l),t[135]?c?(c.p(t,d),201326592&d[0]&&S(c,1)):((c=kO(t)).c(),S(c,1),c.m(e,null)):c&&(ze(),P(c,1,1,function(){c=null}),Fe()),i&&ri(i.update)&&134217728&d[0]&&i.update.call(null,u)},i:function(f){o||(S(c),o=!0)},o:function(f){P(c),o=!1},d:function(f){f&&ee(e),c&&c.d(),s=!1,a()}}}function lwe(t){var e,n;return e=new Nbe({props:{path:t[140],value:t[142]!==void 0?t[142]:"",enforceString:qa(t[142],t[12].enforceStringMap,t[141],t[25].parser),selection:t[143]?t[12].selection:null,searchResultItems:t[147],context:t[25]}}),{c:function(){Ee(e.$$.fragment)},m:function(r,i){Se(e,r,i),n=!0},p:function(r,i){var o={};134219776&i[0]&&(o.path=r[140]),134219776&i[0]&&(o.value=r[142]!==void 0?r[142]:""),167778304&i[0]&&(o.enforceString=qa(r[142],r[12].enforceStringMap,r[141],r[25].parser)),134223872&i[0]&&(o.selection=r[143]?r[12].selection:null),135268352&i[0]&&(o.searchResultItems=r[147]),33554432&i[0]&&(o.context=r[25]),e.$set(o)},i:function(r){n||(S(e.$$.fragment,r),n=!0)},o:function(r){P(e.$$.fragment,r),n=!1},d:function(r){ke(e,r)}}}function cwe(t){var e,n;return e=new Bbe({props:{path:t[140],value:t[142],parser:t[2],isSelected:t[143],containsSearchResult:!gn(t[147]),containsActiveSearchResult:t[148],onEdit:t[46]}}),{c:function(){Ee(e.$$.fragment)},m:function(r,i){Se(e,r,i),n=!0},p:function(r,i){var o={};134219776&i[0]&&(o.path=r[140]),134219776&i[0]&&(o.value=r[142]),4&i[0]&&(o.parser=r[2]),134223872&i[0]&&(o.isSelected=r[143]),135268352&i[0]&&(o.containsSearchResult=!gn(r[147])),135268352&i[0]&&(o.containsActiveSearchResult=r[148]),e.$set(o)},i:function(r){n||(S(e.$$.fragment,r),n=!0)},o:function(r){P(e.$$.fragment,r),n=!1},d:function(r){ke(e,r)}}}function EO(t){var e,n,r,i;return n=new nc({props:{selected:!0,onContextMenu:t[37]}}),{c:function(){e=K("div"),Ee(n.$$.fragment),r=ue(),j(e,"class","jse-context-menu-anchor svelte-12ygzbc")},m:function(o,s){te(o,e,s),Se(n,e,null),te(o,r,s),i=!0},p:He,i:function(o){i||(S(n.$$.fragment,o),i=!0)},o:function(o){P(n.$$.fragment,o),i=!1},d:function(o){o&&(ee(e),ee(r)),ke(n)}}}function OO(t){var e,n;return e=new bd({props:{validationError:t[135],onExpand:Qo}}),{c:function(){Ee(e.$$.fragment)},m:function(r,i){Se(e,r,i),n=!0},p:function(r,i){var o={};201328640&i[0]&&(o.validationError=r[135]),e.$set(o)},i:function(r){n||(S(e.$$.fragment,r),n=!0)},o:function(r){P(e.$$.fragment,r),n=!1},d:function(r){ke(e,r)}}}function TO(t){var e,n,r,i,o,s,a,l,c=!t[0]&&t[143]&&!Ti(t[12].selection),u=[cwe,lwe],f=[];function d(v,g){return 134219776&g[0]&&(n=null),n==null&&(n=!!sr(v[142])),n?0:1}function h(v,g){return g===0?function(b){var y=b.slice(),x=y[136]?yo(y[136],y[141]):void 0;y[147]=x;var w=!!y[147]&&Object.values(y[147]).some(function(_){return _.some(function(k){return k.active})});return y[148]=w,y}(v):function(b){var y,x,w=b.slice(),_=(y=w[20])!==null&&y!==void 0&&y.itemsMap?r2((x=w[20])===null||x===void 0?void 0:x.itemsMap,w[141]):void 0;return w[147]=_,w}(v)}r=d(t,[-1,-1,-1,-1,-1]),i=f[r]=u[r](h(t,r));var p=c&&EO(t),m=t[135]&&OO(t);return{c:function(){e=K("td"),i.c(),o=dn(),p&&p.c(),s=dn(),m&&m.c(),j(e,"class","jse-table-cell svelte-12ygzbc"),j(e,"data-path",a=Zf(t[140])),Pe(e,"jse-selected-value",t[143])},m:function(v,g){te(v,e,g),f[r].m(e,null),N(e,o),p&&p.m(e,null),N(e,s),m&&m.m(e,null),l=!0},p:function(v,g){var b=r;(r=d(v,g))===b?f[r].p(h(v,r),g):(ze(),P(f[b],1,1,function(){f[b]=null}),Fe(),(i=f[r])?i.p(h(v,r),g):(i=f[r]=u[r](h(v,r))).c(),S(i,1),i.m(e,o)),134223873&g[0]&&(c=!v[0]&&v[143]&&!Ti(v[12].selection)),c?p?(p.p(v,g),134223873&g[0]&&S(p,1)):((p=EO(v)).c(),S(p,1),p.m(e,s)):p&&(ze(),P(p,1,1,function(){p=null}),Fe()),v[135]?m?(m.p(v,g),201328640&g[0]&&S(m,1)):((m=OO(v)).c(),S(m,1),m.m(e,null)):m&&(ze(),P(m,1,1,function(){m=null}),Fe()),(!l||134219776&g[0]&&a!==(a=Zf(v[140])))&&j(e,"data-path",a),(!l||134223872&g[0])&&Pe(e,"jse-selected-value",v[143])},i:function(v){l||(S(i),S(p),S(m),l=!0)},o:function(v){P(i),P(p),P(m),l=!1},d:function(v){v&&ee(e),f[r].d(),p&&p.d(),m&&m.d()}}}function PO(t){var e;return{c:function(){j(e=K("td"),"class","jse-table-cell svelte-12ygzbc")},m:function(n,r){te(n,e,r)},d:function(n){n&&ee(e)}}}function AO(t){for(var e,n,r,i,o=t[133],s=CO(t),a=Mt(t[11]),l=[],c=0;c<a.length;c+=1)l[c]=TO(bO(t,a,c));var u=function(d){return P(l[d],1,1,function(){l[d]=null})},f=t[28]&&PO();return{c:function(){e=K("tr"),s.c(),n=ue();for(var d=0;d<l.length;d+=1)l[d].c();r=ue(),f&&f.c(),j(e,"class","jse-table-row svelte-12ygzbc")},m:function(d,h){te(d,e,h),s.m(e,null),N(e,n);for(var p=0;p<l.length;p+=1)l[p]&&l[p].m(e,null);N(e,r),f&&f.m(e,null),i=!0},p:function(d,h){if(134217728&h[0]&&Dt(o,o=d[133])?(ze(),P(s,1,1,He),Fe(),(s=CO(d)).c(),S(s,1),s.m(e,n)):s.p(d,h),235935749&h[0]|32832&h[1]){var p;for(a=Mt(d[11]),p=0;p<a.length;p+=1){var m=bO(d,a,p);l[p]?(l[p].p(m,h),S(l[p],1)):(l[p]=TO(m),l[p].c(),S(l[p],1),l[p].m(e,r))}for(ze(),p=a.length;p<l.length;p+=1)u(p);Fe()}d[28]?f||((f=PO()).c(),f.m(e,null)):f&&(f.d(1),f=null)},i:function(d){if(!i){S(s);for(var h=0;h<a.length;h+=1)S(l[h]);i=!0}},o:function(d){P(s),l=l.filter(Boolean);for(var h=0;h<l.length;h+=1)P(l[h]);i=!1},d:function(d){d&&ee(e),s.d(d),Sr(l,d),f&&f.d()}}}function RO(t){var e,n;return e=new ws({props:{type:"info",message:"You pasted a JSON ".concat(Array.isArray(t[19].contents)?"array":"object"," as text"),actions:[{icon:_1,text:"Paste as JSON instead",title:"Paste the text as JSON instead of a single value",onMouseDown:t[40]},{text:"Leave as is",title:"Keep the pasted content as a single value",onClick:t[41]}]}}),{c:function(){Ee(e.$$.fragment)},m:function(r,i){Se(e,r,i),n=!0},p:function(r,i){var o={};524288&i[0]&&(o.message="You pasted a JSON ".concat(Array.isArray(r[19].contents)?"array":"object"," as text")),e.$set(o)},i:function(r){n||(S(e.$$.fragment,r),n=!0)},o:function(r){P(e.$$.fragment,r),n=!1},d:function(r){ke(e,r)}}}function MO(t){var e,n;return e=new ws({props:{type:"success",message:"The loaded JSON document was invalid but is successfully repaired.",actions:t[0]?[]:[{icon:Wh,text:"Ok",title:"Accept the repaired document",onClick:t[7]},{icon:zl,text:"Repair manually instead",title:"Leave the document unchanged and repair it manually instead",onClick:t[42]}],onClose:t[6]}}),{c:function(){Ee(e.$$.fragment)},m:function(r,i){Se(e,r,i),n=!0},p:function(r,i){var o={};1&i[0]&&(o.actions=r[0]?[]:[{icon:Wh,text:"Ok",title:"Accept the repaired document",onClick:r[7]},{icon:zl,text:"Repair manually instead",title:"Leave the document unchanged and repair it manually instead",onClick:r[42]}]),e.$set(o)},i:function(r){n||(S(e.$$.fragment,r),n=!0)},o:function(r){P(e.$$.fragment,r),n=!1},d:function(r){ke(e,r)}}}function uwe(t){var e,n,r,i,o,s,a,l=t[1]&&xO(t),c=[iwe,rwe],u=[];return r=function(f,d){return f[29]?1:0}(t),i=u[r]=c[r](t),{c:function(){e=K("div"),l&&l.c(),n=ue(),i.c(),j(e,"role","table"),j(e,"class","jse-table-mode svelte-12ygzbc"),Pe(e,"no-main-menu",!t[1])},m:function(f,d){te(f,e,d),l&&l.m(e,null),N(e,n),u[r].m(e,null),t[85](e),o=!0,s||(a=[Ne(e,"mousedown",t[36]),Ne(e,"keydown",t[43]),Ne(e,"contextmenu",t[38])],s=!0)},p:function(f,d){f[1]?l?(l.p(f,d),2&d[0]&&S(l,1)):((l=xO(f)).c(),S(l,1),l.m(e,n)):l&&(ze(),P(l,1,1,function(){l=null}),Fe()),i.p(f,d),(!o||2&d[0])&&Pe(e,"no-main-menu",!f[1])},i:function(f){o||(S(l),S(i),o=!0)},o:function(f){P(l),P(i),o=!1},d:function(f){f&&ee(e),l&&l.d(),u[r].d(),t[85](null),s=!1,On(a)}}}var Id=18;function fwe(t,e,n){var r,i,o,s=Qr("jsoneditor:TableMode"),a=si("simple-modal").open,l=si("absolute-popup"),c=l.openAbsolutePopup,u=l.closeAbsolutePopup,f=tD(),d=Ff(),h=Ff(),p=typeof window>"u";s("isSSR:",p);var m,v,g,b,y,x,w=e.readOnly,_=e.externalContent,k=e.externalSelection,D=e.mainMenuBar,L=e.escapeControlCharacters,C=e.escapeUnicodeCharacters,V=e.flattenColumns,M=e.parser,q=e.parseMemoizeOne,H=e.validator,J=e.validationParser,F=e.indentation,W=e.onChange,E=e.onChangeMode,z=e.onSelect,T=e.onRenderValue,I=e.onRenderMenu,ne=e.onRenderContextMenu,B=e.onFocus,$=e.onBlur,O=e.onSortModal,R=e.onTransformModal,U=e.onJSONEditorModal;S$({onMount:Lo,onDestroy:fo,getWindow:function(){return vd(v)},hasFocus:function(){return ye&&document.hasFocus()||g$(v)},onFocus:function(){Re=!0,B&&B()},onBlur:function(){Re=!1,$&&$()}});var fe,Oe,he=void 0,le=!1,tt=!1;function Z(){return(Z=At(qe().mark(function Q(Me){return qe().wrap(function(Ke){for(;;)switch(Ke.prev=Ke.next){case 0:return n(12,ce=pe(pe({},ce),{},{selection:null})),Ke.next=3,vr(Me);case 3:case"end":return Ke.stop()}},Q)}))).apply(this,arguments)}var oe,be=1e4,Y=[],ye=!1,Re=!1,we={},Le=600,_e=0;function xe(Q){s("updateSelection",Q);var Me=typeof Q=="function"?Q(ce.selection)||null:Q;un(Me,ce.selection)||(n(12,ce=pe(pe({},ce),{},{selection:Me})),z(Me))}function $e(Q){ce.selection&&Q!==void 0&&(To(Q,Lc(ce.selection))&&To(Q,yt(ce.selection))||(s("clearing selection: path does not exist anymore",ce.selection),n(12,ce=pe(pe({},ce),{},{selection:null}))))}var ce=x0(),Ie=!1,A,X=nD({onChange:function(Q){n(24,ie=Q)}}),ie=X.getState();function me(Q){var Me=y,Ke=Xf(Q)?Q.text!==x:!un(Me,Q.json);if(s("update external content",{isChanged:Ke}),Ke){var Ye=y,Pt=ce,Yt=x,yn=Ie;if(Xf(Q))try{n(8,y=q(Q.text)),n(17,x=Q.text),n(23,Ie=!1),n(18,he=void 0)}catch(G){try{n(8,y=q(Ws(Q.text))),n(17,x=Q.text),n(23,Ie=!0),n(18,he=void 0)}catch{n(8,y=void 0),n(17,x=Q.text),n(23,Ie=!1),n(18,he=x!==""?Qf(x,G.message||String(G)):void 0)}}else n(8,y=Q.json),n(17,x=void 0),n(23,Ie=!1),n(18,he=void 0);$e(y),ce.sortedColumn&&n(12,ce=pe(pe({},ce),{},{sortedColumn:null})),Ce({previousJson:Ye,previousState:Pt,previousText:Yt,previousTextIsRepaired:yn})}}function Ce(Q){var Me=Q.previousJson,Ke=Q.previousState,Ye=Q.previousText,Pt=Q.previousTextIsRepaired;Me===void 0&&Ye===void 0||(y!==void 0?Me!==void 0?X.add({undo:{patch:[{op:"replace",path:"",value:Me}],state:xi(Ke),json:void 0,text:Ye,textIsRepaired:Pt},redo:{patch:[{op:"replace",path:"",value:y}],state:xi(ce),json:void 0,text:x,textIsRepaired:Ie}}):X.add({undo:{patch:void 0,json:void 0,text:Ye,state:xi(Ke),textIsRepaired:Pt},redo:{patch:void 0,json:y,state:xi(ce),text:x,textIsRepaired:Ie}}):Me!==void 0&&X.add({undo:{patch:void 0,json:Me,state:xi(Ke),text:Ye,textIsRepaired:Pt},redo:{patch:void 0,json:void 0,text:x,textIsRepaired:Ie,state:xi(ce)}}))}var Be=[],dt=Ap(rD);function St(Q,Me,Ke,Ye){Yu(function(){var Pt;try{Pt=dt(Q,Me,Ke,Ye)}catch(Yt){Pt=[{path:[],message:"Failed to validate: "+Yt.message,severity:cs.warning}]}un(Pt,Be)||(s("validationErrors changed:",Pt),n(13,Be=Pt))},function(Pt){return s("validationErrors updated in ".concat(Pt," ms"))})}function Jt(){return s("validate"),he?{parseError:he,isRepairable:!1}:(St(y,H,M,J),gn(Be)?null:{validationErrors:Be})}function Mn(Q,Me){if(s("patch",Q,Me),y===void 0)throw new Error("Cannot apply patch: no JSON");var Ke=y,Ye=ce,Pt=Ie,Yt=VL(y,Q),yn=PL(y,ce,Q).json,G=rye(ce,Q,Y),ae=typeof Me=="function"?Me(yn,G):void 0;n(8,y=ae&&ae.json!==void 0?ae.json:yn);var je=ae&&ae.state!==void 0?ae.state:G;return n(12,ce=je),n(17,x=void 0),n(23,Ie=!1),n(19,fe=void 0),n(18,he=void 0),X.add({undo:{patch:Yt,json:void 0,text:void 0,state:xi(Ye),textIsRepaired:Pt},redo:{patch:Q,json:void 0,state:xi(je),text:void 0,textIsRepaired:Ie}}),{json:y,previousJson:Ke,undo:Yt,redo:Q}}function kt(Q,Me){s("handlePatch",Q,Me);var Ke={json:y,text:x},Ye=Mn(Q,Me);return it(Ke,Ye),Ye}function it(Q,Me){(Q.json!==void 0||(Q==null?void 0:Q.text)!==void 0)&&W&&(x!==void 0?W({text:x,json:void 0},Q,{contentErrors:Jt(),patchResult:Me}):y!==void 0&&W({text:void 0,json:y},Q,{contentErrors:Jt(),patchResult:Me}))}function Nn(Q){s("handleFind",Q)}function gr(Q){s("pasted json as text",Q),n(19,fe=Q)}function vn(Q){var Me=parseInt(Q[0],10),Ke=[String(Me+1)].concat(Gt(Q.slice(1)));return To(y,Ke)?Qt(Ke,!1):Qt(Q,!1)}function pn(){s("focus"),b&&(b.focus(),b.select())}function qn(){ce.selection||xe(!Vn(y)||gn(y)||gn(Y)?null:Qt(["0"].concat(Gt(Y[0])),!1))}function vr(Q){var Me=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],Ke=le?Sf:0,Ye=AE(Q,Y,we,Id),Pt=Ye-_e+Ke+Id,Yt=ve(Q);if(s("scrollTo",{path:Q,top:Ye,scrollTop:_e,elem:Yt}),!g)return Promise.resolve();var yn=g.getBoundingClientRect();if(Yt&&!Me){var G=Yt.getBoundingClientRect();if(G.bottom>yn.top&&G.top<yn.bottom)return Promise.resolve()}var ae=-Math.max(Ke+36,yn.height/4);return new Promise(Yt?function(je){f(Yt,{container:g,offset:ae,duration:300,callback:function(){In(Q),je()}})}:function(je){var De;f(Pt,{container:g,offset:ae,duration:300,callback:(De=At(qe().mark(function Je(){return qe().wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:return Xe.next=2,kr();case 2:In(Q),je();case 4:case"end":return Xe.stop()}},Je)})),function(){return De.apply(this,arguments)})})})}function In(Q){var Me=ve(Q);if(Me&&g){var Ke=g.getBoundingClientRect(),Ye=Me.getBoundingClientRect();if(Ye.right>Ke.right){var Pt=Ye.right-Ke.right;n(15,g.scrollLeft+=Pt,g)}if(Ye.left<Ke.left){var Yt=Ke.left-Ye.left;n(15,g.scrollLeft-=Yt,g)}}}function yr(Q){(function(Me){if(g){var Ke=$o(Me,Y).rowIndex,Ye=AE(Me,Y,we,Id),Pt=Ye+(we[Ke]||Id),Yt=g.getBoundingClientRect(),yn=_e,G=_e+Yt.height-18;if(Pt>G){var ae=Pt-G;n(15,g.scrollTop+=ae,g)}if(Ye<yn){var je=yn-Ye;n(15,g.scrollTop-=je,g)}}})(Q),In(Q)}function ve(Q){var Me=Y.find(function(Ye){return Ua(Q.slice(1),Ye)}),Ke=Me?Q.slice(0,1).concat(Me):Q;return g?g.querySelector('td[data-path="'.concat(Zf(Ke),'"]')):null}function Ze(Q){var Me=Q.anchor,Ke=Q.left,Ye=Q.top,Pt=Q.width,Yt=Q.height,yn=Q.offsetTop,G=Q.offsetLeft,ae=Q.showTip,je=function(ft){var ht=ft.json,Ut=ft.documentState,Sn=ft.readOnly,Bn=ft.parser,tr=ft.onEditValue,yi=ft.onEditRow,Xt=ft.onToggleEnforceString,Cn=ft.onCut,pr=ft.onCopy,mn=ft.onPaste,br=ft.onRemove,qo=ft.onDuplicateRow,eo=ft.onInsertBeforeRow,$u=ft.onInsertAfterRow,js=ft.onRemoveRow,bi=Ut.selection,Uo=ht!==void 0,Wo=!!bi,tl=ht!==void 0&&bi?ct(ht,yt(bi)):void 0,ai=Uo&&(An(bi)||_r(bi)||ln(bi)),Go=!Sn&&Uo&&bi!=null&&_0(bi),Su=Go&&!sr(tl),go=!Sn&&ai,ic=bi!=null&&tl!==void 0&&qa(tl,Ut.enforceStringMap,rt(yt(bi)),Bn);return[{type:"separator"},{type:"row",items:[{type:"column",items:[{type:"label",text:"Table cell:"},{type:"dropdown-button",main:{type:"button",onClick:function(){return tr()},icon:pf,text:"Edit",title:"Edit the value (Double-click on the value)",disabled:!Go},width:"11em",items:[{type:"button",icon:pf,text:"Edit",title:"Edit the value (Double-click on the value)",onClick:function(){return tr()},disabled:!Go},{type:"button",icon:ic?IR:DR,text:"Enforce string",title:"Enforce keeping the value as string when it contains a numeric value",onClick:function(){return Xt()},disabled:!Su}]},{type:"dropdown-button",main:{type:"button",onClick:function(){return Cn(!0)},icon:hf,text:"Cut",title:"Cut selected contents, formatted with indentation (Ctrl+X)",disabled:!go},width:"10em",items:[{type:"button",icon:hf,text:"Cut formatted",title:"Cut selected contents, formatted with indentation (Ctrl+X)",onClick:function(){return Cn(!0)},disabled:Sn||!ai},{type:"button",icon:hf,text:"Cut compacted",title:"Cut selected contents, without indentation (Ctrl+Shift+X)",onClick:function(){return Cn(!1)},disabled:Sn||!ai}]},{type:"dropdown-button",main:{type:"button",onClick:function(){return pr(!0)},icon:Tl,text:"Copy",title:"Copy selected contents, formatted with indentation (Ctrl+C)",disabled:!ai},width:"12em",items:[{type:"button",icon:Tl,text:"Copy formatted",title:"Copy selected contents, formatted with indentation (Ctrl+C)",onClick:function(){return pr(!1)},disabled:!ai},{type:"button",icon:Tl,text:"Copy compacted",title:"Copy selected contents, without indentation (Ctrl+Shift+C)",onClick:function(){return pr(!1)},disabled:!ai}]},{type:"button",onClick:function(){return mn()},icon:NR,text:"Paste",title:"Paste clipboard contents (Ctrl+V)",disabled:Sn||!Wo},{type:"button",onClick:function(){return br()},icon:Lw,text:"Remove",title:"Remove selected contents (Delete)",disabled:Sn||!ai}]},{type:"column",items:[{type:"label",text:"Table row:"},{type:"button",onClick:function(){return yi()},icon:pf,text:"Edit row",title:"Edit the current row",disabled:Sn||!Wo||!Uo},{type:"button",onClick:function(){return qo()},icon:FR,text:"Duplicate row",title:"Duplicate the current row",disabled:Sn||!Wo||!Uo},{type:"button",onClick:function(){return eo()},icon:qu,text:"Insert before",title:"Insert a row before the current row",disabled:Sn||!Wo||!Uo},{type:"button",onClick:function(){return $u()},icon:qu,text:"Insert after",title:"Insert a row after the current row",disabled:Sn||!Wo||!Uo},{type:"button",onClick:function(){return js()},icon:Lw,text:"Remove row",title:"Remove current row",disabled:Sn||!Wo||!Uo}]}]}]}({json:y,documentState:ce,readOnly:w,parser:M,onEditValue:rn,onEditRow:Vt,onToggleEnforceString:ge,onCut:Te,onCopy:Tn,onPaste:lt,onRemove:ma,onDuplicateRow:Ho,onInsertBeforeRow:_u,onInsertAfterRow:ho,onRemoveRow:Za}),De=ne(je);if(De!==!1){var Je={left:Ke,top:Ye,offsetTop:yn,offsetLeft:G,width:Pt,height:Yt,anchor:Me,closeOnOuterClick:!0,onClose:function(){ye=!1,pn()}};ye=!0;var Xe=c(bD,{tip:ae?"Tip: you can open this context menu via right-click or with Ctrl+Q":void 0,items:De,onRequestClose:function(){u(Xe),pn()}},Je)}}function Et(Q){if(!Ti(ce.selection)){if(Q&&(Q.stopPropagation(),Q.preventDefault()),Q&&Q.type==="contextmenu"&&Q.target!==b)Ze({left:Q.clientX,top:Q.clientY,width:Ca,height:ka,showTip:!1});else{var Me,Ke=(Me=g)===null||Me===void 0?void 0:Me.querySelector(".jse-table-cell.jse-selected-value");if(Ke)Ze({anchor:Ke,offsetTop:2,width:Ca,height:ka,showTip:!1});else{var Ye,Pt=(Ye=g)===null||Ye===void 0?void 0:Ye.getBoundingClientRect();Pt&&Ze({top:Pt.top+2,left:Pt.left+2,width:Ca,height:ka,showTip:!1})}}return!1}}function rn(){if(!w&&ce.selection){var Q=yt(ce.selection);sr(ct(y,Q))?mo(Q):xe(Qt(Q,!0))}}function Vt(){!w&&ce.selection&&mo(yt(ce.selection).slice(0,1))}function ge(){if(!w&&ln(ce.selection)){var Q=ce.selection.path,Me=rt(Q),Ke=ct(y,Q),Ye=!qa(Ke,ce.enforceStringMap,Me,M),Pt=Ye?String(Ke):gd(String(Ke),M);s("handleToggleEnforceString",{enforceString:Ye,value:Ke,updatedValue:Pt}),kt([{op:"replace",path:Me,value:Pt}],function(Yt,yn){return{state:TL(yn,Me,Ye)}})}}function et(){return(et=At(qe().mark(function Q(){var Me,Ke,Ye,Pt,Yt;return qe().wrap(function(yn){for(;;)switch(yn.prev=yn.next){case 0:if(s("apply pasted json",fe),fe){yn.next=3;break}return yn.abrupt("return");case 3:Ye=(Ke=fe).path,Pt=Ke.contents,kL(Yt=((Me=g)===null||Me===void 0?void 0:Me.querySelector(".jse-editable-div"))||null)&&Yt.cancel(),kt([{op:"replace",path:rt(Ye),value:Pt}]),setTimeout(pn);case 9:case"end":return yn.stop()}},Q)}))).apply(this,arguments)}function lt(){a(iD,{},pe(pe({},ru),{},{styleWindow:{width:"450px"}}),{onClose:function(){return pn()}})}function Te(Q){return tn.apply(this,arguments)}function tn(){return(tn=At(qe().mark(function Q(Me){return qe().wrap(function(Ke){for(;;)switch(Ke.prev=Ke.next){case 0:return Ke.next=2,hD({json:y,documentState:ce,indentation:Me?F:void 0,readOnly:w,parser:M,onPatch:kt});case 2:case"end":return Ke.stop()}},Q)}))).apply(this,arguments)}function Tn(){return Bt.apply(this,arguments)}function Bt(){return Bt=At(qe().mark(function Q(){var Me,Ke=arguments;return qe().wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:if(Me=!(Ke.length>0&&Ke[0]!==void 0)||Ke[0],y!==void 0){Ye.next=3;break}return Ye.abrupt("return");case 3:return Ye.next=5,pD({json:y,documentState:ce,indentation:Me?F:void 0,parser:M});case 5:case"end":return Ye.stop()}},Q)})),Bt.apply(this,arguments)}function ma(){gD({json:y,text:x,documentState:ce,keepSelection:!0,readOnly:w,onChange:W,onPatch:kt})}function Ho(){iye({json:y,documentState:ce,columns:Y,readOnly:w,onPatch:kt})}function _u(){oye({json:y,documentState:ce,columns:Y,readOnly:w,onPatch:kt})}function ho(){sye({json:y,documentState:ce,columns:Y,readOnly:w,onPatch:kt})}function Za(){aye({json:y,documentState:ce,columns:Y,readOnly:w,onPatch:kt})}function xs(){return(xs=At(qe().mark(function Q(Me){return qe().wrap(function(Ke){for(;;)switch(Ke.prev=Ke.next){case 0:return Ke.next=2,vD({char:Me,selectInside:!1,refJsonEditor:v,json:y,selection:ce.selection,readOnly:w,parser:M,onPatch:kt,onReplaceJson:ga,onSelect:xe});case 2:case"end":return Ke.stop()}},Q)}))).apply(this,arguments)}function ga(Q,Me){var Ke=ce,Ye=y,Pt=x,Yt={json:y,text:x},yn=Ie,G=_o(y,ce,[],Ls),ae=typeof Me=="function"?Me(Q,G):void 0;n(8,y=ae&&ae.json!==void 0?ae.json:Q),n(12,ce=ae&&ae.state!==void 0?ae.state:G),n(17,x=void 0),n(23,Ie=!1),n(18,he=void 0),$e(y),Ce({previousJson:Ye,previousState:Ke,previousText:Pt,previousTextIsRepaired:yn}),it(Yt,null)}function po(Q,Me){s("handleChangeText");var Ke=ce,Ye=y,Pt=x,Yt={json:y,text:x},yn=Ie;try{n(8,y=q(Q)),n(12,ce=_o(y,ce,[],Ls)),n(17,x=void 0),n(23,Ie=!1),n(18,he=void 0)}catch(ae){try{n(8,y=q(Ws(Q))),n(12,ce=_o(y,ce,[],Ls)),n(17,x=Q),n(23,Ie=!0),n(18,he=void 0)}catch{n(8,y=void 0),n(12,ce=x0({json:y,expand:Ls})),n(17,x=Q),n(23,Ie=!1),n(18,he=x!==""?Qf(x,ae.message||String(ae)):void 0)}}if(typeof Me=="function"){var G=Me(y,ce);n(8,y=G&&G.json?G.json:y),n(12,ce=G&&G.state?G.state:ce)}$e(y),Ce({previousJson:Ye,previousState:Ke,previousText:Pt,previousTextIsRepaired:yn}),it(Yt,null)}function Nr(Q){if(y!==void 0){var Me=Q.id,Ke=Q.onTransform,Ye=Q.onClose,Pt=Q.rootPath||[];ye=!0,R({id:Me||h,json:y,rootPath:Pt||[],onTransform:function(Yt){Ke?Ke({operations:Yt,json:y,transformedJson:as(y,Yt)}):(s("onTransform",Pt,Yt),kt(Yt))},onClose:function(){ye=!1,pn(),Ye&&Ye()}})}}function mo(Q){s("openJSONEditorModal",{path:Q}),ye=!0,U({content:{json:ct(y,Q)},path:Q,onPatch:A.onPatch,onClose:function(){ye=!1,pn()}})}function ju(Q,Me){a(aD,{text:Q,onParse:function(Ke){return G1(Ke,function(Ye){return Hp(Ye,M)})},onRepair:pL,onApply:Me},pe(pe({},ru),{},{styleWindow:{width:"600px",height:"500px"},styleContent:{padding:0,height:"100%"}}),{onClose:function(){return pn()}})}function _s(Q){s("openFind",{findAndReplace:Q}),n(9,le=!1),n(21,tt=!1),kr().then(function(){n(9,le=!0),n(21,tt=Q)})}function va(){if(!w&&X.getState().canUndo){var Q=X.undo();if(Q){var Me={json:y,text:x};n(8,y=Q.undo.patch?as(y,Q.undo.patch):Q.undo.json),n(12,ce=Q.undo.state),n(17,x=Q.undo.text),n(23,Ie=Q.undo.textIsRepaired),n(18,he=void 0),s("undo",{item:Q,json:y}),it(Me,Q.undo.patch&&Q.redo.patch?{json:y,previousJson:Me.json,redo:Q.undo.patch,undo:Q.redo.patch}:null),pn(),ce.selection&&vr(yt(ce.selection),!1)}}}function el(){if(!w&&X.getState().canRedo){var Q=X.redo();if(Q){var Me={json:y,text:x};n(8,y=Q.redo.patch?as(y,Q.redo.patch):Q.redo.json),n(12,ce=Q.redo.state),n(17,x=Q.redo.text),n(23,Ie=Q.redo.textIsRepaired),n(18,he=void 0),s("redo",{item:Q,json:y}),it(Me,Q.undo.patch&&Q.redo.patch?{json:y,previousJson:Me.json,redo:Q.redo.patch,undo:Q.undo.patch}:null),pn(),ce.selection&&vr(yt(ce.selection),!1)}}}function rc(Q,Me){n(76,we[Me]=Q.getBoundingClientRect().height,we)}return t.$$set=function(Q){"readOnly"in Q&&n(0,w=Q.readOnly),"externalContent"in Q&&n(53,_=Q.externalContent),"externalSelection"in Q&&n(54,k=Q.externalSelection),"mainMenuBar"in Q&&n(1,D=Q.mainMenuBar),"escapeControlCharacters"in Q&&n(55,L=Q.escapeControlCharacters),"escapeUnicodeCharacters"in Q&&n(56,C=Q.escapeUnicodeCharacters),"flattenColumns"in Q&&n(57,V=Q.flattenColumns),"parser"in Q&&n(2,M=Q.parser),"parseMemoizeOne"in Q&&n(58,q=Q.parseMemoizeOne),"validator"in Q&&n(59,H=Q.validator),"validationParser"in Q&&n(60,J=Q.validationParser),"indentation"in Q&&n(3,F=Q.indentation),"onChange"in Q&&n(61,W=Q.onChange),"onChangeMode"in Q&&n(4,E=Q.onChangeMode),"onSelect"in Q&&n(62,z=Q.onSelect),"onRenderValue"in Q&&n(63,T=Q.onRenderValue),"onRenderMenu"in Q&&n(5,I=Q.onRenderMenu),"onRenderContextMenu"in Q&&n(64,ne=Q.onRenderContextMenu),"onFocus"in Q&&n(65,B=Q.onFocus),"onBlur"in Q&&n(66,$=Q.onBlur),"onSortModal"in Q&&n(67,O=Q.onSortModal),"onTransformModal"in Q&&n(68,R=Q.onTransformModal),"onJSONEditorModal"in Q&&n(69,U=Q.onJSONEditorModal)},t.$$.update=function(){50331648&t.$$.dirty[1]&&n(75,m=p$({escapeControlCharacters:L,escapeUnicodeCharacters:C})),512&t.$$.dirty[0]&&function(Q){if(g){var Me=Q?Sf:-100;g.scrollTo({top:n(15,g.scrollTop+=Me,g),left:g.scrollLeft})}}(le),4194304&t.$$.dirty[1]&&me(_),8388608&t.$$.dirty[1]&&function(Q){un(ce.selection,Q)||(s("applyExternalSelection",Q),(x$(Q)||Q===null)&&xe(Q))}(k),3328&t.$$.dirty[0]|67108864&t.$$.dirty[1]&&n(11,Y=Vn(y)?function(Q,Me){var Ke,Ye=new Set(Me.map(rt)),Pt=new Set(Q.map(rt)),Yt=cp(Ye);try{for(Yt.s();!(Ke=Yt.n()).done;){var yn=Ke.value;Pt.has(yn)||Ye.delete(yn)}}catch(De){Yt.e(De)}finally{Yt.f()}var G,ae=cp(Pt);try{for(ae.s();!(G=ae.n()).done;){var je=G.value;Ye.has(je)||Ye.add(je)}}catch(De){ae.e(De)}finally{ae.f()}return Gt(Ye).map(ps)}(Z1e(y,V,be),Y):[]),2304&t.$$.dirty[0]&&n(22,oe=!(!y||gn(Y))),1280&t.$$.dirty[0]&&n(28,r=Array.isArray(y)&&y.length>be),768&t.$$.dirty[0]|114688&t.$$.dirty[2]&&n(27,i=eye(_e,Le,y,we,Id,le?Sf:0)),256&t.$$.dirty[0]&&g&&g.scrollTo({top:g.scrollTop,left:g.scrollLeft}),4357&t.$$.dirty[0]|8194&t.$$.dirty[2]&&n(25,A={readOnly:w,parser:M,normalization:m,getJson:function(){return y},getDocumentState:function(){return ce},findElement:ve,findNextInside:vn,focus:pn,onPatch:kt,onSelect:xe,onFind:Nn,onPasteJson:gr,onRenderValue:T}),260&t.$$.dirty[0]|805306368&t.$$.dirty[1]&&St(y,H,M,J),10240&t.$$.dirty[0]&&n(26,o=tye(Be,Y))},[w,D,M,F,E,I,pn,function(){if(Ie&&y!==void 0){var Q=ce,Me=y,Ke=x,Ye={json:y,text:x},Pt=Ie;n(17,x=void 0),n(23,Ie=!1),$e(y),Ce({previousJson:Me,previousState:Q,previousText:Ke,previousTextIsRepaired:Pt}),it(Ye,null)}return{json:y,text:x}},y,le,be,Y,ce,Be,v,g,b,x,he,fe,Oe,tt,oe,Ie,ie,A,o,i,r,p,function(Q){n(20,Oe=Q)},function(Q){return Z.apply(this,arguments)},function(){n(9,le=!1),n(21,tt=!1),pn()},function(Q){if(!w){s("onSortByHeader",Q);var Me=Q.sortDirection===Ro.desc?-1:1;kt(lD(y,[],Q.path,Me),function(Ke,Ye){return{state:pe(pe({},Ye),{},{sortedColumn:Q})}})}},kt,function(Q){n(78,_e=Q.target.scrollTop)},function(Q){if(Q.buttons===1||Q.buttons===2){var Me=Q.target,Ke=SL(Me);if(Ke){if(Ti(ce.selection)&&pp(y,ce.selection,Ke))return;xe(Qt(Ke,!1)),Q.preventDefault()}Me.isContentEditable||Re||setTimeout(pn)}},Ze,Et,function(Q){Ze({anchor:$L(Q.target,"BUTTON"),offsetTop:0,width:Ca,height:ka,showTip:!0})},function(){return et.apply(this,arguments)},function(){s("clear pasted json"),n(19,fe=void 0),pn()},function(){E(ni.text)},function(Q){var Me=Va(Q);if(s("keydown",{combo:Me,key:Q.key}),Me==="Ctrl+X"&&(Q.preventDefault(),Te(!0)),Me==="Ctrl+Shift+X"&&(Q.preventDefault(),Te(!1)),Me==="Ctrl+C"&&(Q.preventDefault(),Tn(!0)),Me==="Ctrl+Shift+C"&&(Q.preventDefault(),Tn(!1)),Me==="Ctrl+D"&&Q.preventDefault(),Me!=="Delete"&&Me!=="Backspace"||(Q.preventDefault(),ma()),Me==="Insert"&&Q.preventDefault(),Me==="Ctrl+A"&&Q.preventDefault(),Me==="Ctrl+Q"&&Et(Q),Me==="ArrowLeft"&&(Q.preventDefault(),qn(),ce.selection)){var Ke=function(ae,je){var De=$o(yt(je),ae),Je=De.rowIndex,Xe=De.columnIndex;return Xe>0?Qt(Ac({rowIndex:Je,columnIndex:Xe-1},ae),!1):je}(Y,ce.selection);xe(Ke),yr(yt(Ke))}if(Me==="ArrowRight"&&(Q.preventDefault(),qn(),ce.selection)){var Ye=function(ae,je){var De=$o(yt(je),ae),Je=De.rowIndex,Xe=De.columnIndex;return Xe<ae.length-1?Qt(Ac({rowIndex:Je,columnIndex:Xe+1},ae),!1):je}(Y,ce.selection);xe(Ye),yr(yt(Ye))}if(Me==="ArrowUp"&&(Q.preventDefault(),qn(),ce.selection)){var Pt=function(ae,je){var De=$o(yt(je),ae),Je=De.rowIndex,Xe=De.columnIndex;return Je>0?Qt(Ac({rowIndex:Je-1,columnIndex:Xe},ae),!1):je}(Y,ce.selection);xe(Pt),yr(yt(Pt))}if(Me==="ArrowDown"&&(Q.preventDefault(),qn(),ce.selection)){var Yt=function(ae,je,De){var Je=$o(yt(De),je),Xe=Je.rowIndex,ft=Je.columnIndex;return Xe<ae.length-1?Qt(Ac({rowIndex:Xe+1,columnIndex:ft},je),!1):De}(y,Y,ce.selection);xe(Yt),yr(yt(Yt))}if(Me==="Enter"&&ce.selection&&ln(ce.selection)){Q.preventDefault();var yn=ce.selection.path;sr(ct(y,yn))?mo(yn):w||xe(pe(pe({},ce.selection),{},{edit:!0}))}if(Me.replace(/^Shift\+/,"").length===1&&ce.selection)return Q.preventDefault(),void function(ae){xs.apply(this,arguments)}(Q.key);if(Me==="Ctrl+Enter"&&ln(ce.selection)){var G=ct(y,ce.selection.path);W1(G)&&window.open(String(G),"_blank")}Me==="Escape"&&ce.selection&&(Q.preventDefault(),xe(null)),Me==="Ctrl+F"&&(Q.preventDefault(),_s(!1)),Me==="Ctrl+H"&&(Q.preventDefault(),_s(!0)),Me==="Ctrl+Z"&&(Q.preventDefault(),va()),Me==="Ctrl+Shift+Z"&&(Q.preventDefault(),el())},function(Q){var Me;Q.preventDefault();var Ke=(Me=Q.clipboardData)===null||Me===void 0?void 0:Me.getData("text/plain");Ke!==void 0&&mD({clipboardText:Ke,json:y,selection:ce.selection,readOnly:w,parser:M,onPatch:kt,onChangeText:po,openRepairModal:ju})},function(Q){s("select validation error",Q),xe(Qt(Q.path,!1)),vr(Q.path)},mo,function(){(function(Q){w||y===void 0||(ye=!0,O({id:d,json:y,rootPath:Q,onSort:function(Me){var Ke=Me.operations,Ye=Me.itemPath,Pt=Me.direction;s("onSort",Ke,Q,Ye,Pt),kt(Ke,function(Yt,yn){return{state:pe(pe({},yn),{},{sortedColumn:{path:Ye,sortDirection:Pt===-1?Ro.desc:Ro.asc}})}})},onClose:function(){ye=!1,pn()}}))})([])},function(){Nr({rootPath:[]})},va,el,function(Q){n(77,Le=Q.getBoundingClientRect().height)},rc,_,k,L,C,V,q,H,J,W,z,T,ne,B,$,O,R,U,Jt,Mn,vr,ve,Nr,m,we,Le,_e,function(Q){n(9,le=Q)},function(Q){qt[Q?"unshift":"push"](function(){n(16,b=Q)})},function(){return n(10,be=1/0)},function(Q,Me){return rc(Me,Q)},function(Q){qt[Q?"unshift":"push"](function(){n(15,g=Q)})},function(){pn()},function(Q){qt[Q?"unshift":"push"](function(){n(14,v=Q)})}]}var dwe=function(t){function e(n){var r;return bt(this,e),jt(r=xt(this,e),n,fwe,uwe,Dt,{readOnly:0,externalContent:53,externalSelection:54,mainMenuBar:1,escapeControlCharacters:55,escapeUnicodeCharacters:56,flattenColumns:57,parser:2,parseMemoizeOne:58,validator:59,validationParser:60,indentation:3,onChange:61,onChangeMode:4,onSelect:62,onRenderValue:63,onRenderMenu:5,onRenderContextMenu:64,onFocus:65,onBlur:66,onSortModal:67,onTransformModal:68,onJSONEditorModal:69,validate:70,patch:71,focus:6,acceptAutoRepair:7,scrollTo:72,findElement:73,openTransformModal:74},nwe,[-1,-1,-1,-1,-1]),r}return _t(e,$t),wt(e,[{key:"validate",get:function(){return this.$$.ctx[70]}},{key:"patch",get:function(){return this.$$.ctx[71]}},{key:"focus",get:function(){return this.$$.ctx[6]}},{key:"acceptAutoRepair",get:function(){return this.$$.ctx[7]}},{key:"scrollTo",get:function(){return this.$$.ctx[72]}},{key:"findElement",get:function(){return this.$$.ctx[73]}},{key:"openTransformModal",get:function(){return this.$$.ctx[74]}}])}();function hwe(t){var e,n,r={externalContent:t[0],externalSelection:t[1],readOnly:t[2],indentation:t[3],mainMenuBar:t[6],navigationBar:t[7],escapeControlCharacters:t[10],escapeUnicodeCharacters:t[11],parser:t[13],parseMemoizeOne:t[14],validator:t[15],validationParser:t[16],pathParser:t[17],onError:t[23],onChange:t[18],onChangeMode:t[19],onSelect:t[20],onRenderValue:t[21],onClassName:t[22],onFocus:t[24],onBlur:t[25],onRenderMenu:t[32],onRenderContextMenu:t[33],onSortModal:t[26],onTransformModal:t[27],onJSONEditorModal:t[28]};return e=new R$({props:r}),t[49](e),{c:function(){Ee(e.$$.fragment)},m:function(i,o){Se(e,i,o),n=!0},p:function(i,o){var s={};1&o[0]&&(s.externalContent=i[0]),2&o[0]&&(s.externalSelection=i[1]),4&o[0]&&(s.readOnly=i[2]),8&o[0]&&(s.indentation=i[3]),64&o[0]&&(s.mainMenuBar=i[6]),128&o[0]&&(s.navigationBar=i[7]),1024&o[0]&&(s.escapeControlCharacters=i[10]),2048&o[0]&&(s.escapeUnicodeCharacters=i[11]),8192&o[0]&&(s.parser=i[13]),16384&o[0]&&(s.parseMemoizeOne=i[14]),32768&o[0]&&(s.validator=i[15]),65536&o[0]&&(s.validationParser=i[16]),131072&o[0]&&(s.pathParser=i[17]),8388608&o[0]&&(s.onError=i[23]),262144&o[0]&&(s.onChange=i[18]),524288&o[0]&&(s.onChangeMode=i[19]),1048576&o[0]&&(s.onSelect=i[20]),2097152&o[0]&&(s.onRenderValue=i[21]),4194304&o[0]&&(s.onClassName=i[22]),16777216&o[0]&&(s.onFocus=i[24]),33554432&o[0]&&(s.onBlur=i[25]),2&o[1]&&(s.onRenderMenu=i[32]),4&o[1]&&(s.onRenderContextMenu=i[33]),67108864&o[0]&&(s.onSortModal=i[26]),134217728&o[0]&&(s.onTransformModal=i[27]),268435456&o[0]&&(s.onJSONEditorModal=i[28]),e.$set(s)},i:function(i){n||(S(e.$$.fragment,i),n=!0)},o:function(i){P(e.$$.fragment,i),n=!1},d:function(i){t[49](null),ke(e,i)}}}function pwe(t){var e,n,r={externalContent:t[0],externalSelection:t[1],readOnly:t[2],mainMenuBar:t[6],escapeControlCharacters:t[10],escapeUnicodeCharacters:t[11],flattenColumns:t[12],parser:t[13],parseMemoizeOne:t[14],validator:t[15],validationParser:t[16],indentation:t[3],onChange:t[18],onChangeMode:t[19],onSelect:t[20],onRenderValue:t[21],onFocus:t[24],onBlur:t[25],onRenderMenu:t[32],onRenderContextMenu:t[33],onSortModal:t[26],onTransformModal:t[27],onJSONEditorModal:t[28]};return e=new dwe({props:r}),t[48](e),{c:function(){Ee(e.$$.fragment)},m:function(i,o){Se(e,i,o),n=!0},p:function(i,o){var s={};1&o[0]&&(s.externalContent=i[0]),2&o[0]&&(s.externalSelection=i[1]),4&o[0]&&(s.readOnly=i[2]),64&o[0]&&(s.mainMenuBar=i[6]),1024&o[0]&&(s.escapeControlCharacters=i[10]),2048&o[0]&&(s.escapeUnicodeCharacters=i[11]),4096&o[0]&&(s.flattenColumns=i[12]),8192&o[0]&&(s.parser=i[13]),16384&o[0]&&(s.parseMemoizeOne=i[14]),32768&o[0]&&(s.validator=i[15]),65536&o[0]&&(s.validationParser=i[16]),8&o[0]&&(s.indentation=i[3]),262144&o[0]&&(s.onChange=i[18]),524288&o[0]&&(s.onChangeMode=i[19]),1048576&o[0]&&(s.onSelect=i[20]),2097152&o[0]&&(s.onRenderValue=i[21]),16777216&o[0]&&(s.onFocus=i[24]),33554432&o[0]&&(s.onBlur=i[25]),2&o[1]&&(s.onRenderMenu=i[32]),4&o[1]&&(s.onRenderContextMenu=i[33]),67108864&o[0]&&(s.onSortModal=i[26]),134217728&o[0]&&(s.onTransformModal=i[27]),268435456&o[0]&&(s.onJSONEditorModal=i[28]),e.$set(s)},i:function(i){n||(S(e.$$.fragment,i),n=!0)},o:function(i){P(e.$$.fragment,i),n=!1},d:function(i){t[48](null),ke(e,i)}}}function mwe(t){var e,n,r={externalContent:t[0],externalSelection:t[1],readOnly:t[2],indentation:t[3],tabSize:t[4],mainMenuBar:t[6],statusBar:t[8],askToFormat:t[9],escapeUnicodeCharacters:t[11],parser:t[13],validator:t[15],validationParser:t[16],onChange:t[18],onSelect:t[20],onChangeMode:t[19],onError:t[23],onFocus:t[24],onBlur:t[25],onRenderMenu:t[32],onSortModal:t[26],onTransformModal:t[27]};return e=new Cbe({props:r}),t[47](e),{c:function(){Ee(e.$$.fragment)},m:function(i,o){Se(e,i,o),n=!0},p:function(i,o){var s={};1&o[0]&&(s.externalContent=i[0]),2&o[0]&&(s.externalSelection=i[1]),4&o[0]&&(s.readOnly=i[2]),8&o[0]&&(s.indentation=i[3]),16&o[0]&&(s.tabSize=i[4]),64&o[0]&&(s.mainMenuBar=i[6]),256&o[0]&&(s.statusBar=i[8]),512&o[0]&&(s.askToFormat=i[9]),2048&o[0]&&(s.escapeUnicodeCharacters=i[11]),8192&o[0]&&(s.parser=i[13]),32768&o[0]&&(s.validator=i[15]),65536&o[0]&&(s.validationParser=i[16]),262144&o[0]&&(s.onChange=i[18]),1048576&o[0]&&(s.onSelect=i[20]),524288&o[0]&&(s.onChangeMode=i[19]),8388608&o[0]&&(s.onError=i[23]),16777216&o[0]&&(s.onFocus=i[24]),33554432&o[0]&&(s.onBlur=i[25]),2&o[1]&&(s.onRenderMenu=i[32]),67108864&o[0]&&(s.onSortModal=i[26]),134217728&o[0]&&(s.onTransformModal=i[27]),e.$set(s)},i:function(i){n||(S(e.$$.fragment,i),n=!0)},o:function(i){P(e.$$.fragment,i),n=!1},d:function(i){t[47](null),ke(e,i)}}}function gwe(t){var e,n,r,i,o,s=[mwe,pwe,hwe],a=[];function l(c,u){return 32&u[0]&&(e=null),e==null&&(e=!(c[5]!==ni.text&&String(c[5])!=="code")),e?0:c[5]===ni.table?1:2}return n=l(t,[-1,-1]),r=a[n]=s[n](t),{c:function(){r.c(),i=dn()},m:function(c,u){a[n].m(c,u),te(c,i,u),o=!0},p:function(c,u){var f=n;(n=l(c,u))===f?a[n].p(c,u):(ze(),P(a[f],1,1,function(){a[f]=null}),Fe(),(r=a[n])?r.p(c,u):(r=a[n]=s[n](c)).c(),S(r,1),r.m(i.parentNode,i))},i:function(c){o||(S(r),o=!0)},o:function(c){P(r),o=!1},d:function(c){c&&ee(i),a[n].d(c)}}}function vwe(t,e,n){var r,i,o,s,a,l,c=e.content,u=e.selection,f=e.readOnly,d=e.indentation,h=e.tabSize,p=e.mode,m=e.mainMenuBar,v=e.navigationBar,g=e.statusBar,b=e.askToFormat,y=e.escapeControlCharacters,x=e.escapeUnicodeCharacters,w=e.flattenColumns,_=e.parser,k=e.parseMemoizeOne,D=e.validator,L=e.validationParser,C=e.pathParser,V=e.insideModal,M=e.onChange,q=e.onChangeMode,H=e.onSelect,J=e.onRenderValue,F=e.onClassName,W=e.onRenderMenu,E=e.onRenderContextMenu,z=e.onError,T=e.onFocus,I=e.onBlur,ne=e.onSortModal,B=e.onTransformModal,$=e.onJSONEditorModal,O={type:"separator"};function R(){return(R=At(qe().mark(function U(){return qe().wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:if(!o){fe.next=3;break}return fe.next=3,o.refresh();case 3:case"end":return fe.stop()}},U)}))).apply(this,arguments)}return t.$$set=function(U){"content"in U&&n(0,c=U.content),"selection"in U&&n(1,u=U.selection),"readOnly"in U&&n(2,f=U.readOnly),"indentation"in U&&n(3,d=U.indentation),"tabSize"in U&&n(4,h=U.tabSize),"mode"in U&&n(5,p=U.mode),"mainMenuBar"in U&&n(6,m=U.mainMenuBar),"navigationBar"in U&&n(7,v=U.navigationBar),"statusBar"in U&&n(8,g=U.statusBar),"askToFormat"in U&&n(9,b=U.askToFormat),"escapeControlCharacters"in U&&n(10,y=U.escapeControlCharacters),"escapeUnicodeCharacters"in U&&n(11,x=U.escapeUnicodeCharacters),"flattenColumns"in U&&n(12,w=U.flattenColumns),"parser"in U&&n(13,_=U.parser),"parseMemoizeOne"in U&&n(14,k=U.parseMemoizeOne),"validator"in U&&n(15,D=U.validator),"validationParser"in U&&n(16,L=U.validationParser),"pathParser"in U&&n(17,C=U.pathParser),"insideModal"in U&&n(34,V=U.insideModal),"onChange"in U&&n(18,M=U.onChange),"onChangeMode"in U&&n(19,q=U.onChangeMode),"onSelect"in U&&n(20,H=U.onSelect),"onRenderValue"in U&&n(21,J=U.onRenderValue),"onClassName"in U&&n(22,F=U.onClassName),"onRenderMenu"in U&&n(35,W=U.onRenderMenu),"onRenderContextMenu"in U&&n(36,E=U.onRenderContextMenu),"onError"in U&&n(23,z=U.onError),"onFocus"in U&&n(24,T=U.onFocus),"onBlur"in U&&n(25,I=U.onBlur),"onSortModal"in U&&n(26,ne=U.onSortModal),"onTransformModal"in U&&n(27,B=U.onTransformModal),"onJSONEditorModal"in U&&n(28,$=U.onJSONEditorModal)},t.$$.update=function(){524320&t.$$.dirty[0]&&n(46,s=[{type:"button",text:"text",title:"Switch to text mode (current mode: ".concat(p,")"),className:"jse-group-button jse-first"+(p===ni.text||p==="code"?" jse-selected":""),onClick:function(){return q(ni.text)}},{type:"button",text:"tree",title:"Switch to tree mode (current mode: ".concat(p,")"),className:"jse-group-button "+(p===ni.tree?" jse-selected":""),onClick:function(){return q(ni.tree)}},{type:"button",text:"table",title:"Switch to table mode (current mode: ".concat(p,")"),className:"jse-group-button jse-last"+(p===ni.table?" jse-selected":""),onClick:function(){return q(ni.table)}}]),36&t.$$.dirty[0]|32792&t.$$.dirty[1]&&n(32,a=function(U){var fe=oD(U[0])?s.concat(U):s.concat(O,U),Oe=Mw(fe);return W(fe,{mode:p,modal:V,readOnly:f})||Oe}),38&t.$$.dirty[0]|40&t.$$.dirty[1]&&n(33,l=function(U){var fe,Oe=Mw(U);return(fe=E(U,{mode:p,modal:V,readOnly:f,selection:u}))!==null&&fe!==void 0?fe:!f&&Oe})},[c,u,f,d,h,p,m,v,g,b,y,x,w,_,k,D,L,C,M,q,H,J,F,z,T,I,ne,B,$,r,i,o,a,l,V,W,E,function(U){if(r)return r.patch(U);if(i)return i.patch(U);if(o)return o.patch(U);throw new Error('Method patch is not available in mode "'.concat(p,'"'))},function(U){if(r)return r.expand(U);throw new Error('Method expand is not available in mode "'.concat(p,'"'))},function(U){if(o)o.openTransformModal(U);else if(r)r.openTransformModal(U);else{if(!i)throw new Error('Method transform is not available in mode "'.concat(p,'"'));i.openTransformModal(U)}},function(){if(o)return o.validate();if(r)return r.validate();if(i)return i.validate();throw new Error('Method validate is not available in mode "'.concat(p,'"'))},function(){return r?r.acceptAutoRepair():c},function(U){if(r)return r.scrollTo(U);if(i)return i.scrollTo(U);throw new Error('Method scrollTo is not available in mode "'.concat(p,'"'))},function(U){if(r)return r.findElement(U);if(i)return i.findElement(U);throw new Error('Method findElement is not available in mode "'.concat(p,'"'))},function(){o?o.focus():r?r.focus():i&&i.focus()},function(){return R.apply(this,arguments)},s,function(U){qt[U?"unshift":"push"](function(){n(31,o=U)})},function(U){qt[U?"unshift":"push"](function(){n(30,i=U)})},function(U){qt[U?"unshift":"push"](function(){n(29,r=U)})}]}var _D=function(t){function e(n){var r;return bt(this,e),jt(r=xt(this,e),n,vwe,gwe,Fr,{content:0,selection:1,readOnly:2,indentation:3,tabSize:4,mode:5,mainMenuBar:6,navigationBar:7,statusBar:8,askToFormat:9,escapeControlCharacters:10,escapeUnicodeCharacters:11,flattenColumns:12,parser:13,parseMemoizeOne:14,validator:15,validationParser:16,pathParser:17,insideModal:34,onChange:18,onChangeMode:19,onSelect:20,onRenderValue:21,onClassName:22,onRenderMenu:35,onRenderContextMenu:36,onError:23,onFocus:24,onBlur:25,onSortModal:26,onTransformModal:27,onJSONEditorModal:28,patch:37,expand:38,transform:39,validate:40,acceptAutoRepair:41,scrollTo:42,findElement:43,focus:44,refresh:45},null,[-1,-1]),r}return _t(e,$t),wt(e,[{key:"patch",get:function(){return this.$$.ctx[37]}},{key:"expand",get:function(){return this.$$.ctx[38]}},{key:"transform",get:function(){return this.$$.ctx[39]}},{key:"validate",get:function(){return this.$$.ctx[40]}},{key:"acceptAutoRepair",get:function(){return this.$$.ctx[41]}},{key:"scrollTo",get:function(){return this.$$.ctx[42]}},{key:"findElement",get:function(){return this.$$.ctx[43]}},{key:"focus",get:function(){return this.$$.ctx[44]}},{key:"refresh",get:function(){return this.$$.ctx[45]}}])}();function ywe(t){Nt(t,"svelte-1m281k0",'.jse-modal.svelte-1m281k0.svelte-1m281k0{flex:1;display:flex;flex-direction:column;min-width:0;min-height:0;font-family:var(--jse-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--jse-font-size, 16px);line-height:normal;background:var(--jse-modal-background, #f5f5f5);color:var(--jse-text-color, #4d4d4d)}.jse-modal.svelte-1m281k0 .svelte-select{--border:var(--jse-svelte-select-border, 1px solid #d8dbdf);--item-is-active-bg:var(--jse-item-is-active-bg, #3883fa);--border-radius:var(--jse-svelte-select-border-radius, 3px);--background:var(--jse-svelte-select-background, #fff);--padding:var(--jse-svelte-select-padding, 0 10px);--multi-select-padding:var(--jse-svelte-select-multi-select-padding, 0 10px);--font-size:var(--jse-svelte-select-font-size, var(--jse-font-size, 16px));--height:36px;--multi-item-height:28px;--multi-item-margin:2px;--multi-item-padding:2px 8px;--multi-item-border-radius:6px;--indicator-top:8px}.jse-modal.svelte-1m281k0 .jse-modal-contents.svelte-1m281k0{flex:1;display:flex;flex-direction:column;padding:20px;overflow:auto;min-width:0;min-height:0}.jse-modal.svelte-1m281k0 .jse-modal-contents .jse-actions.svelte-1m281k0{display:flex;flex-direction:row;justify-content:flex-end;padding-top:var(--jse-padding, 10px)}.jse-modal.svelte-1m281k0 .jse-modal-contents .jse-actions button.jse-primary.svelte-1m281k0{border:none;background:transparent;color:inherit;cursor:pointer;font-family:var(--jse-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--jse-font-size, 16px);padding:5px;margin:0;background:var(--jse-button-primary-background, var(--jse-theme-color, #3883fa));color:var(--jse-button-primary-color, #fff);padding:var(--jse-padding, 10px) calc(2 * var(--jse-padding, 10px));border-radius:3px}.jse-modal.svelte-1m281k0 .jse-modal-contents .jse-actions button.jse-primary.svelte-1m281k0:hover{background:var(--jse-button-primary-background-highlight, var(--jse-theme-color-highlight, #5f9dff))}.jse-modal.svelte-1m281k0 .jse-modal-contents .jse-actions button.jse-primary.svelte-1m281k0:disabled{background:var(--jse-button-primary-background-disabled, #9d9d9d)}.bg.jse-modal-bg{width:100%;height:100%;top:0;left:0;background:var(--jse-overlay-background, rgba(0, 0, 0, 0.3))}.bg.jse-modal-bg .jse-modal-window-wrap{margin:0;overflow:auto}.bg.jse-modal-bg .jse-modal-window{max-width:90%;margin:4rem auto 2rem auto;border-radius:2px}.bg.jse-modal-bg .jse-modal-window.jse-modal-window-sort{width:400px}.bg.jse-modal-bg .jse-modal-window.jse-modal-window-transform{width:1200px;height:1200px;max-height:80%;display:flex}.bg.jse-modal-bg .jse-modal-window.jse-modal-window-jsoneditor{width:800px;max-height:500px;display:flex}.bg.jse-modal-bg .jse-modal-window:has(div.fullscreen){margin:var(--jse-padding, 10px);padding:0;width:calc(100vw - 2 * var(--jse-padding, 10px));height:calc(100vh - 2 * var(--jse-padding, 10px));max-width:none;max-height:none}.bg.jse-modal-bg .jse-modal-container{flex:1;display:flex;flex-direction:column;padding:0;max-height:none}.jse-modal.jse-jsoneditor-modal.svelte-1m281k0 .jse-modal-contents.svelte-1m281k0{padding-top:0}.jse-modal.jse-jsoneditor-modal.svelte-1m281k0 .jse-modal-contents .jse-label.svelte-1m281k0{font-weight:bold;display:block;box-sizing:border-box}.jse-modal.jse-jsoneditor-modal.svelte-1m281k0 .jse-modal-contents .jse-label .jse-label-inner.svelte-1m281k0{margin-top:calc(2 * var(--jse-padding, 10px));margin-bottom:calc(0.5 * var(--jse-padding, 10px));box-sizing:border-box}.jse-modal.jse-jsoneditor-modal.svelte-1m281k0 .jse-modal-contents .jse-label .jse-label-inner button.svelte-1m281k0{border:none;background:transparent;color:inherit;cursor:pointer;font-family:var(--jse-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--jse-font-size, 16px);padding:5px;margin:0;font-weight:bold;padding:0}.jse-modal.jse-jsoneditor-modal.svelte-1m281k0 .jse-modal-contents .jse-modal-inline-editor.svelte-1m281k0{flex:1;min-height:150px;min-width:0;display:flex;--jse-theme-color:var(--jse-modal-editor-theme-color, var(--jse-modal-theme-color, #707070));--jse-theme-color-highlight:var(--jse-modal-editor-theme-color-highlight, var(--jse-modal-theme-color-highlight, #646464))}.jse-modal.jse-jsoneditor-modal.svelte-1m281k0 .jse-actions.svelte-1m281k0{gap:var(--jse-padding, 10px);align-items:center}.jse-modal.jse-jsoneditor-modal.svelte-1m281k0 .jse-actions .jse-error.svelte-1m281k0{flex:1;color:var(--jse-error-color, #ee5341)}.jse-modal.jse-jsoneditor-modal.svelte-1m281k0 .jse-actions button.jse-secondary.svelte-1m281k0{border:none;background:transparent;color:inherit;cursor:pointer;font-family:var(--jse-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--jse-font-size, 16px);padding:5px;margin:0;background:var(--jse-button-secondary-background, #d3d3d3);color:var(--jse-button-secondary-color, var(--jse-text-color, #4d4d4d));padding:var(--jse-padding, 10px) calc(2 * var(--jse-padding, 10px));border-radius:3px}.jse-modal.jse-jsoneditor-modal.svelte-1m281k0 .jse-actions button.jse-secondary.svelte-1m281k0:hover{background:var(--jse-button-secondary-background-highlight, #e1e1e1)}.jse-modal.jse-jsoneditor-modal.svelte-1m281k0 .jse-actions button.jse-secondary.svelte-1m281k0:disabled{background:var(--jse-button-secondary-background-disabled, #9d9d9d)}.jse-modal.jse-jsoneditor-modal.svelte-1m281k0 input.svelte-1m281k0{border:var(--jse-input-border, 1px solid #d8dbdf);outline:none;box-sizing:border-box;padding:calc(0.5 * var(--jse-padding, 10px));font-family:var(--jse-font-family-mono, consolas, menlo, monaco, "Ubuntu Mono", "source-code-pro", monospace);font-size:var(--jse-font-size-mono, 14px);color:inherit;background:var(--jse-input-background, var(--jse-background-color, #fff))}.jse-modal.jse-jsoneditor-modal.svelte-1m281k0 input.svelte-1m281k0:focus{border:var(--jse-input-border-focus, 1px solid var(--jse-input-border-focus, var(--jse-theme-color, #3883fa)))}.jse-modal.jse-jsoneditor-modal.svelte-1m281k0 input.svelte-1m281k0:read-only{background:var(--jse-input-background-readonly, transparent)}')}function NO(t){var e,n;return{c:function(){e=K("div"),n=Ge(t[23]),j(e,"class","jse-error svelte-1m281k0")},m:function(r,i){te(r,e,i),N(e,n)},p:function(r,i){8388608&i[0]&&Ct(n,r[23])},d:function(r){r&&ee(e)}}}function IO(t){var e,n,r,i,o,s;return n=new hn({props:{data:Yte}}),{c:function(){e=K("button"),Ee(n.$$.fragment),r=Ge(" Back"),j(e,"type","button"),j(e,"class","jse-secondary svelte-1m281k0")},m:function(a,l){te(a,e,l),Se(n,e,null),N(e,r),i=!0,o||(s=Ne(e,"click",t[28]),o=!0)},p:He,i:function(a){i||(S(n.$$.fragment,a),i=!0)},o:function(a){P(n.$$.fragment,a),i=!1},d:function(a){a&&ee(e),ke(n),o=!1,s()}}}function bwe(t){var e,n,r;return{c:function(){(e=K("button")).textContent="Close",j(e,"type","button"),j(e,"class","jse-primary svelte-1m281k0")},m:function(i,o){te(i,e,o),n||(r=[Ne(e,"click",t[28]),Mr(jD.call(null,e))],n=!0)},p:He,d:function(i){i&&ee(e),n=!1,On(r)}}}function wwe(t){var e,n,r;return{c:function(){(e=K("button")).textContent="Apply",j(e,"type","button"),j(e,"class","jse-primary svelte-1m281k0")},m:function(i,o){te(i,e,o),n||(r=[Ne(e,"click",t[27]),Mr(jD.call(null,e))],n=!0)},p:He,d:function(i){i&&ee(e),n=!1,On(r)}}}function xwe(t){var e,n,r,i,o,s,a,l,c,u,f,d,h,p,m,v,g,b,y,x;function w(q){t[39](q)}var _={title:"Edit nested content "+(t[20].length>1?" (".concat(t[20].length,")"):""),fullScreenButton:!0,onClose:t[28]};t[22]!==void 0&&(_.fullscreen=t[22]),n=new ey({props:_}),qt.push(function(){return Li(n,"fullscreen",w)});var k={mode:t[24].mode,content:t[24].content,selection:t[24].selection,readOnly:t[0],indentation:t[1],tabSize:t[2],statusBar:t[5],askToFormat:t[6],mainMenuBar:t[3],navigationBar:t[4],escapeControlCharacters:t[7],escapeUnicodeCharacters:t[8],flattenColumns:t[9],parser:t[10],parseMemoizeOne:t[25],validator:t[11],validationParser:t[12],pathParser:t[13],insideModal:!0,onError:t[33],onChange:t[30],onChangeMode:t[32],onSelect:t[31],onRenderValue:t[14],onClassName:t[15],onFocus:Qo,onBlur:Qo,onRenderMenu:t[16],onRenderContextMenu:t[17],onSortModal:t[18],onTransformModal:t[19],onJSONEditorModal:t[34]};h=new _D({props:k}),t[40](h);var D=t[23]&&NO(t),L=t[20].length>1&&IO(t);function C(q,H){return q[0]?bwe:wwe}var V=C(t),M=V(t);return{c:function(){e=K("div"),Ee(n.$$.fragment),i=ue(),o=K("div"),(s=K("div")).innerHTML='<div class="jse-label-inner svelte-1m281k0">Path</div>',a=ue(),l=K("input"),c=ue(),(u=K("div")).innerHTML='<div class="jse-label-inner svelte-1m281k0">Contents</div>',f=ue(),d=K("div"),Ee(h.$$.fragment),p=ue(),m=K("div"),D&&D.c(),v=ue(),L&&L.c(),g=ue(),M.c(),j(s,"class","jse-label svelte-1m281k0"),j(l,"class","jse-path svelte-1m281k0"),j(l,"type","text"),l.readOnly=!0,j(l,"title","Selected path"),l.value=t[26],j(u,"class","jse-label svelte-1m281k0"),j(d,"class","jse-modal-inline-editor svelte-1m281k0"),j(m,"class","jse-actions svelte-1m281k0"),j(o,"class","jse-modal-contents svelte-1m281k0"),j(e,"class","jse-modal jse-jsoneditor-modal svelte-1m281k0"),Pe(e,"fullscreen",t[22])},m:function(q,H){te(q,e,H),Se(n,e,null),N(e,i),N(e,o),N(o,s),N(o,a),N(o,l),N(o,c),N(o,u),N(o,f),N(o,d),Se(h,d,null),N(o,p),N(o,m),D&&D.m(m,null),N(m,v),L&&L.m(m,null),N(m,g),M.m(m,null),b=!0,y||(x=Mr(Kp.call(null,e,t[29])),y=!0)},p:function(q,H){var J={};1048576&H[0]&&(J.title="Edit nested content "+(q[20].length>1?" (".concat(q[20].length,")"):"")),!r&&4194304&H[0]&&(r=!0,J.fullscreen=q[22],Ii(function(){return r=!1})),n.$set(J),(!b||67108864&H[0]&&l.value!==q[26])&&(l.value=q[26]);var F={};16777216&H[0]&&(F.mode=q[24].mode),16777216&H[0]&&(F.content=q[24].content),16777216&H[0]&&(F.selection=q[24].selection),1&H[0]&&(F.readOnly=q[0]),2&H[0]&&(F.indentation=q[1]),4&H[0]&&(F.tabSize=q[2]),32&H[0]&&(F.statusBar=q[5]),64&H[0]&&(F.askToFormat=q[6]),8&H[0]&&(F.mainMenuBar=q[3]),16&H[0]&&(F.navigationBar=q[4]),128&H[0]&&(F.escapeControlCharacters=q[7]),256&H[0]&&(F.escapeUnicodeCharacters=q[8]),512&H[0]&&(F.flattenColumns=q[9]),1024&H[0]&&(F.parser=q[10]),33554432&H[0]&&(F.parseMemoizeOne=q[25]),2048&H[0]&&(F.validator=q[11]),4096&H[0]&&(F.validationParser=q[12]),8192&H[0]&&(F.pathParser=q[13]),16384&H[0]&&(F.onRenderValue=q[14]),32768&H[0]&&(F.onClassName=q[15]),65536&H[0]&&(F.onRenderMenu=q[16]),131072&H[0]&&(F.onRenderContextMenu=q[17]),262144&H[0]&&(F.onSortModal=q[18]),524288&H[0]&&(F.onTransformModal=q[19]),h.$set(F),q[23]?D?D.p(q,H):((D=NO(q)).c(),D.m(m,v)):D&&(D.d(1),D=null),q[20].length>1?L?(L.p(q,H),1048576&H[0]&&S(L,1)):((L=IO(q)).c(),S(L,1),L.m(m,g)):L&&(ze(),P(L,1,1,function(){L=null}),Fe()),V===(V=C(q))&&M?M.p(q,H):(M.d(1),(M=V(q))&&(M.c(),M.m(m,null))),(!b||4194304&H[0])&&Pe(e,"fullscreen",q[22])},i:function(q){b||(S(n.$$.fragment,q),S(h.$$.fragment,q),S(L),b=!0)},o:function(q){P(n.$$.fragment,q),P(h.$$.fragment,q),P(L),b=!1},d:function(q){q&&ee(e),ke(n),t[40](null),ke(h),D&&D.d(),L&&L.d(),M.d(),y=!1,x()}}}function jD(t){t.focus()}function _we(t,e,n){var r,i,o,s,a,l,c=Qr("jsoneditor:JSONEditorModal"),u=e.content,f=e.path,d=e.onPatch,h=e.readOnly,p=e.indentation,m=e.tabSize,v=e.mainMenuBar,g=e.navigationBar,b=e.statusBar,y=e.askToFormat,x=e.escapeControlCharacters,w=e.escapeUnicodeCharacters,_=e.flattenColumns,k=e.parser,D=e.validator,L=e.validationParser,C=e.pathParser,V=e.onRenderValue,M=e.onClassName,q=e.onRenderMenu,H=e.onRenderContextMenu,J=e.onSortModal,F=e.onTransformModal,W=si("simple-modal").close,E={mode:I(u),content:u,selection:null,relativePath:f},z=[E],T=void 0;function I($){return hp($)&&Vn($.json)?ni.table:ni.tree}function ne(){var $,O=(($=nn(z))===null||$===void 0?void 0:$.selection)||null;x$(O)&&a.scrollTo(yt(O))}function B(){c("handleClose"),z.length>1?(n(20,z=cn(z)),kr().then(ne),n(23,T=void 0)):W()}return t.$$set=function($){"content"in $&&n(35,u=$.content),"path"in $&&n(36,f=$.path),"onPatch"in $&&n(37,d=$.onPatch),"readOnly"in $&&n(0,h=$.readOnly),"indentation"in $&&n(1,p=$.indentation),"tabSize"in $&&n(2,m=$.tabSize),"mainMenuBar"in $&&n(3,v=$.mainMenuBar),"navigationBar"in $&&n(4,g=$.navigationBar),"statusBar"in $&&n(5,b=$.statusBar),"askToFormat"in $&&n(6,y=$.askToFormat),"escapeControlCharacters"in $&&n(7,x=$.escapeControlCharacters),"escapeUnicodeCharacters"in $&&n(8,w=$.escapeUnicodeCharacters),"flattenColumns"in $&&n(9,_=$.flattenColumns),"parser"in $&&n(10,k=$.parser),"validator"in $&&n(11,D=$.validator),"validationParser"in $&&n(12,L=$.validationParser),"pathParser"in $&&n(13,C=$.pathParser),"onRenderValue"in $&&n(14,V=$.onRenderValue),"onClassName"in $&&n(15,M=$.onClassName),"onRenderMenu"in $&&n(16,q=$.onRenderMenu),"onRenderContextMenu"in $&&n(17,H=$.onRenderContextMenu),"onSortModal"in $&&n(18,J=$.onSortModal),"onTransformModal"in $&&n(19,F=$.onTransformModal)},t.$$.update=function(){1048576&t.$$.dirty[0]&&n(24,r=nn(z)||E),1048576&t.$$.dirty[0]&&n(38,i=z.flatMap(function($){return $.relativePath})),128&t.$$.dirty[1]&&n(26,o=gn(i)?"(document root)":Zi(i)),1024&t.$$.dirty[0]&&n(25,s=Ap(k.parse))},[h,p,m,v,g,b,y,x,w,_,k,D,L,C,V,M,q,H,J,F,z,a,l,T,r,s,o,function(){if(c("handleApply"),!h)try{n(23,T=void 0);var $=r.relativePath,O=r.content,R=[{op:"replace",path:rt($),value:l8(O,k).json}];if(z.length>1){var U=l8(z[z.length-2].content,k).json,fe={json:as(U,R)},Oe=pe(pe({},z[z.length-2]||E),{},{content:fe});n(20,z=[].concat(Gt(z.slice(0,z.length-2)),[Oe])),kr().then(ne)}else d(R),W()}catch(he){n(23,T=String(he))}},B,function(){l?n(22,l=!1):B()},function($){c("handleChange",$);var O=pe(pe({},r),{},{content:$});n(20,z=[].concat(Gt(cn(z)),[O]))},function($){c("handleChangeSelection",$);var O=pe(pe({},r),{},{selection:$});n(20,z=[].concat(Gt(cn(z)),[O]))},function($){c("handleChangeMode",$);var O=pe(pe({},r),{},{mode:$});n(20,z=[].concat(Gt(cn(z)),[O]))},function($){n(23,T=$.toString()),console.error($)},function($){var O=$.content,R=$.path;c("handleJSONEditorModal",{content:O,path:R});var U={mode:I(O),content:O,selection:null,relativePath:R};n(20,z=[].concat(Gt(z),[U]))},u,f,d,i,function($){n(22,l=$)},function($){qt[$?"unshift":"push"](function(){n(21,a=$)})}]}var jwe=function(t){function e(n){var r;return bt(this,e),jt(r=xt(this,e),n,_we,xwe,Dt,{content:35,path:36,onPatch:37,readOnly:0,indentation:1,tabSize:2,mainMenuBar:3,navigationBar:4,statusBar:5,askToFormat:6,escapeControlCharacters:7,escapeUnicodeCharacters:8,flattenColumns:9,parser:10,validator:11,validationParser:12,pathParser:13,onRenderValue:14,onClassName:15,onRenderMenu:16,onRenderContextMenu:17,onSortModal:18,onTransformModal:19},ywe,[-1,-1]),r}return _t(e,$t),wt(e)}();function $we(t,e,n){var r=si("simple-modal");return[r.open,r.close]}var Swe=function(t){function e(n){var r;return bt(this,e),jt(r=xt(this,e),n,$we,null,Dt,{open:0,close:1}),r}return _t(e,$t),wt(e,[{key:"open",get:function(){return this.$$.ctx[0]}},{key:"close",get:function(){return this.$$.ctx[1]}}])}();function kwe(t){Nt(t,"svelte-ybuk0j",'.jse-main.svelte-ybuk0j{width:100%;height:100%;min-width:0;min-height:150px;font-family:var(--jse-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--jse-font-size, 16px);line-height:normal;position:relative;display:flex;flex-direction:row}')}function LO(t){var e,n,r={mode:t[1],content:t[0],selection:t[2],readOnly:t[3],indentation:t[4],tabSize:t[5],statusBar:t[8],askToFormat:t[9],mainMenuBar:t[6],navigationBar:t[7],escapeControlCharacters:t[10],escapeUnicodeCharacters:t[11],flattenColumns:t[12],parser:t[13],parseMemoizeOne:t[27],validator:t[14],validationParser:t[15],pathParser:t[16],insideModal:!1,onError:t[21],onChange:t[28],onChangeMode:t[32],onSelect:t[29],onRenderValue:t[17],onClassName:t[18],onFocus:t[30],onBlur:t[31],onRenderMenu:t[19],onRenderContextMenu:t[20],onSortModal:t[34],onTransformModal:t[33],onJSONEditorModal:t[35]};return e=new _D({props:r}),t[62](e),{c:function(){Ee(e.$$.fragment)},m:function(i,o){Se(e,i,o),n=!0},p:function(i,o){var s={};2&o[0]&&(s.mode=i[1]),1&o[0]&&(s.content=i[0]),4&o[0]&&(s.selection=i[2]),8&o[0]&&(s.readOnly=i[3]),16&o[0]&&(s.indentation=i[4]),32&o[0]&&(s.tabSize=i[5]),256&o[0]&&(s.statusBar=i[8]),512&o[0]&&(s.askToFormat=i[9]),64&o[0]&&(s.mainMenuBar=i[6]),128&o[0]&&(s.navigationBar=i[7]),1024&o[0]&&(s.escapeControlCharacters=i[10]),2048&o[0]&&(s.escapeUnicodeCharacters=i[11]),4096&o[0]&&(s.flattenColumns=i[12]),8192&o[0]&&(s.parser=i[13]),134217728&o[0]&&(s.parseMemoizeOne=i[27]),16384&o[0]&&(s.validator=i[14]),32768&o[0]&&(s.validationParser=i[15]),65536&o[0]&&(s.pathParser=i[16]),2097152&o[0]&&(s.onError=i[21]),131072&o[0]&&(s.onRenderValue=i[17]),262144&o[0]&&(s.onClassName=i[18]),524288&o[0]&&(s.onRenderMenu=i[19]),1048576&o[0]&&(s.onRenderContextMenu=i[20]),e.$set(s)},i:function(i){n||(S(e.$$.fragment,i),n=!0)},o:function(i){P(e.$$.fragment,i),n=!1},d:function(i){t[62](null),ke(e,i)}}}function Cwe(t){var e,n,r,i,o,s=t[22];function a(u){t[61](u)}var l={};t[25]!==void 0&&(l.open=t[25]),e=new Swe({props:l}),qt.push(function(){return Li(e,"open",a)});var c=LO(t);return{c:function(){Ee(e.$$.fragment),r=ue(),i=K("div"),c.c(),j(i,"class","jse-main svelte-ybuk0j"),Pe(i,"jse-focus",t[23])},m:function(u,f){Se(e,u,f),te(u,r,f),te(u,i,f),c.m(i,null),o=!0},p:function(u,f){var d={};!n&&33554432&f[0]&&(n=!0,d.open=u[25],Ii(function(){return n=!1})),e.$set(d),4194304&f[0]&&Dt(s,s=u[22])?(ze(),P(c,1,1,He),Fe(),(c=LO(u)).c(),S(c,1),c.m(i,null)):c.p(u,f),(!o||8388608&f[0])&&Pe(i,"jse-focus",u[23])},i:function(u){o||(S(e.$$.fragment,u),S(c),o=!0)},o:function(u){P(e.$$.fragment,u),P(c),o=!1},d:function(u){u&&(ee(r),ee(i)),ke(e,u),c.d(u)}}}function Ewe(t){var e,n;return e=new cL({props:{closeOnEsc:!1,$$slots:{default:[Cwe]},$$scope:{ctx:t}}}),{c:function(){Ee(e.$$.fragment)},m:function(r,i){Se(e,r,i),n=!0},p:function(r,i){var o={};201326591&i[0]|8&i[2]&&(o.$$scope={dirty:i,ctx:r}),e.$set(o)},i:function(r){n||(S(e.$$.fragment,r),n=!0)},o:function(r){P(e.$$.fragment,r),n=!1},d:function(r){ke(e,r)}}}function Owe(t){for(var e,n,r,i=[{show:(e=t[26])===null||e===void 0?void 0:e.component},Kpe,{closeOnEsc:!1}],o={$$slots:{default:[Ewe]},$$scope:{ctx:t}},s=0;s<i.length;s+=1)o=vi(o,i[s]);return(n=new cL({props:o})).$on("close",t[36]),{c:function(){Ee(n.$$.fragment)},m:function(a,l){Se(n,a,l),r=!0},p:function(a,l){var c,u=67108864&l[0]?Do(i,[{show:(c=a[26])===null||c===void 0?void 0:c.component},i[1],i[2]]):{};201326591&l[0]|8&l[2]&&(u.$$scope={dirty:l,ctx:a}),n.$set(u)},i:function(a){r||(S(n.$$.fragment,a),r=!0)},o:function(a){P(n.$$.fragment,a),r=!1},d:function(a){ke(n,a)}}}function Twe(t){var e,n;return e=new CL({props:{$$slots:{default:[Owe]},$$scope:{ctx:t}}}),{c:function(){Ee(e.$$.fragment)},m:function(r,i){Se(e,r,i),n=!0},p:function(r,i){var o={};268435455&i[0]|8&i[2]&&(o.$$scope={dirty:i,ctx:r}),e.$set(o)},i:function(r){n||(S(e.$$.fragment,r),n=!0)},o:function(r){P(e.$$.fragment,r),n=!1},d:function(r){ke(e,r)}}}function Pwe(t,e,n){var r,i,o,s=Qr("jsoneditor:JSONEditor"),a=e.content,l=a===void 0?{text:""}:a,c=e.selection,u=c===void 0?null:c,f=e.readOnly,d=f!==void 0&&f,h=e.indentation,p=h===void 0?2:h,m=e.tabSize,v=m===void 0?4:m,g=e.mode,b=g===void 0?ni.tree:g,y=e.mainMenuBar,x=y===void 0||y,w=e.navigationBar,_=w===void 0||w,k=e.statusBar,D=k===void 0||k,L=e.askToFormat,C=L===void 0||L,V=e.escapeControlCharacters,M=V!==void 0&&V,q=e.escapeUnicodeCharacters,H=q!==void 0&&q,J=e.flattenColumns,F=J===void 0||J,W=e.parser,E=W===void 0?JSON:W,z=e.validator,T=z===void 0?null:z,I=e.validationParser,ne=I===void 0?JSON:I,B=e.pathParser,$=B===void 0?{parse:jme,stringify:Zi}:B,O=e.queryLanguages,R=O===void 0?[kme]:O,U=e.queryLanguageId,fe=U===void 0?R[0].id:U,Oe=e.onChangeQueryLanguage,he=Oe===void 0?Qo:Oe,le=e.onChange,tt=le===void 0?null:le,Z=e.onSelect,oe=Z===void 0?null:Z,be=e.onRenderValue,Y=be===void 0?kge:be,ye=e.onClassName,Re=ye===void 0?function(){}:ye,we=e.onRenderMenu,Le=we===void 0?Qo:we,_e=e.onRenderContextMenu,xe=_e===void 0?Qo:_e,$e=e.onChangeMode,ce=$e===void 0?Qo:$e,Ie=e.onError,A=Ie===void 0?function(ge){console.error(ge),alert(ge.toString())}:Ie,X=e.onFocus,ie=X===void 0?Qo:X,me=e.onBlur,Ce=me===void 0?Qo:me,Be=_h(),dt=!1,St=null,Jt=E;function Mn(){return(Mn=At(qe().mark(function ge(et){var lt;return qe().wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:if(s("set"),!(lt=vb(et))){Te.next=4;break}throw new Error(lt);case 4:n(22,Be=_h()),n(0,l=et);case 6:case"end":return Te.stop()}},ge)}))).apply(this,arguments)}function kt(){return(kt=At(qe().mark(function ge(et){var lt;return qe().wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:if(s("update"),!(lt=vb(et))){Te.next=4;break}throw new Error(lt);case 4:return n(0,l=et),Te.next=7,kr();case 7:case"end":return Te.stop()}},ge)}))).apply(this,arguments)}function it(){return(it=At(qe().mark(function ge(et){var lt;return qe().wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:if(!Xf(l)){Te.next=8;break}Te.prev=1,n(0,l={json:E.parse(l.text),text:void 0}),Te.next=8;break;case 5:throw Te.prev=5,Te.t0=Te.catch(1),new Error("Cannot apply patch: current document contains invalid JSON");case 8:return lt=i.patch(et),Te.next=11,kr();case 11:return Te.abrupt("return",lt);case 12:case"end":return Te.stop()}},ge,null,[[1,5]])}))).apply(this,arguments)}function Nn(){return(Nn=At(qe().mark(function ge(et){return qe().wrap(function(lt){for(;;)switch(lt.prev=lt.next){case 0:return n(2,u=et),lt.next=3,kr();case 3:case"end":return lt.stop()}},ge)}))).apply(this,arguments)}function gr(){return(gr=At(qe().mark(function ge(et){return qe().wrap(function(lt){for(;;)switch(lt.prev=lt.next){case 0:return i.expand(et),lt.next=3,kr();case 3:case"end":return lt.stop()}},ge)}))).apply(this,arguments)}function vn(){return vn=At(qe().mark(function ge(){var et;return qe().wrap(function(lt){for(;;)switch(lt.prev=lt.next){case 0:return et=i.acceptAutoRepair(),lt.next=3,kr();case 3:return lt.abrupt("return",et);case 4:case"end":return lt.stop()}},ge)})),vn.apply(this,arguments)}function pn(){return(pn=At(qe().mark(function ge(et){return qe().wrap(function(lt){for(;;)switch(lt.prev=lt.next){case 0:return lt.next=2,i.scrollTo(et);case 2:case"end":return lt.stop()}},ge)}))).apply(this,arguments)}function qn(){return vr.apply(this,arguments)}function vr(){return(vr=At(qe().mark(function ge(){return qe().wrap(function(et){for(;;)switch(et.prev=et.next){case 0:return i.focus(),et.next=3,kr();case 3:case"end":return et.stop()}},ge)}))).apply(this,arguments)}function In(){return(In=At(qe().mark(function ge(){return qe().wrap(function(et){for(;;)switch(et.prev=et.next){case 0:return et.next=2,i.refresh();case 2:case"end":return et.stop()}},ge)}))).apply(this,arguments)}function yr(){return(yr=At(qe().mark(function ge(et){return qe().wrap(function(lt){for(;;)switch(lt.prev=lt.next){case 0:return this.$set(et),lt.next=3,kr();case 3:case"end":return lt.stop()}},ge,this)}))).apply(this,arguments)}function ve(){return(ve=At(qe().mark(function ge(){return qe().wrap(function(et){for(;;)switch(et.prev=et.next){case 0:return this.$destroy(),et.next=3,kr();case 3:case"end":return et.stop()}},ge,this)}))).apply(this,arguments)}function Ze(){return(Ze=At(qe().mark(function ge(et){return qe().wrap(function(lt){for(;;)switch(lt.prev=lt.next){case 0:if(b!==et){lt.next=2;break}return lt.abrupt("return");case 2:return n(1,b=et),lt.next=5,kr();case 5:return lt.next=7,qn();case 7:ce(et);case 8:case"end":return lt.stop()}},ge)}))).apply(this,arguments)}function Et(ge){s("handleChangeQueryLanguage",ge),n(37,fe=ge),he(ge)}function rn(ge){var et=ge.id,lt=ge.json,Te=ge.rootPath,tn=ge.onTransform,Tn=ge.onClose;d||o(abe,{id:et,json:lt,rootPath:Te,indentation:p,escapeControlCharacters:M,escapeUnicodeCharacters:H,parser:E,parseMemoizeOne:r,validationParser:ne,pathParser:$,queryLanguages:R,queryLanguageId:fe,onChangeQueryLanguage:Et,onRenderValue:Y,onRenderMenu:Le,onRenderContextMenu:xe,onClassName:Re,onTransform:tn},Gpe,{onClose:Tn})}function Vt(ge){var et=ge.id,lt=ge.json,Te=ge.rootPath,tn=ge.onSort,Tn=ge.onClose;d||o(dbe,{id:et,json:lt,rootPath:Te,onSort:tn},Wpe,{onClose:Tn})}return t.$$set=function(ge){"content"in ge&&n(0,l=ge.content),"selection"in ge&&n(2,u=ge.selection),"readOnly"in ge&&n(3,d=ge.readOnly),"indentation"in ge&&n(4,p=ge.indentation),"tabSize"in ge&&n(5,v=ge.tabSize),"mode"in ge&&n(1,b=ge.mode),"mainMenuBar"in ge&&n(6,x=ge.mainMenuBar),"navigationBar"in ge&&n(7,_=ge.navigationBar),"statusBar"in ge&&n(8,D=ge.statusBar),"askToFormat"in ge&&n(9,C=ge.askToFormat),"escapeControlCharacters"in ge&&n(10,M=ge.escapeControlCharacters),"escapeUnicodeCharacters"in ge&&n(11,H=ge.escapeUnicodeCharacters),"flattenColumns"in ge&&n(12,F=ge.flattenColumns),"parser"in ge&&n(13,E=ge.parser),"validator"in ge&&n(14,T=ge.validator),"validationParser"in ge&&n(15,ne=ge.validationParser),"pathParser"in ge&&n(16,$=ge.pathParser),"queryLanguages"in ge&&n(38,R=ge.queryLanguages),"queryLanguageId"in ge&&n(37,fe=ge.queryLanguageId),"onChangeQueryLanguage"in ge&&n(39,he=ge.onChangeQueryLanguage),"onChange"in ge&&n(40,tt=ge.onChange),"onSelect"in ge&&n(41,oe=ge.onSelect),"onRenderValue"in ge&&n(17,Y=ge.onRenderValue),"onClassName"in ge&&n(18,Re=ge.onClassName),"onRenderMenu"in ge&&n(19,Le=ge.onRenderMenu),"onRenderContextMenu"in ge&&n(20,xe=ge.onRenderContextMenu),"onChangeMode"in ge&&n(42,ce=ge.onChangeMode),"onError"in ge&&n(21,A=ge.onError),"onFocus"in ge&&n(43,ie=ge.onFocus),"onBlur"in ge&&n(44,Ce=ge.onBlur)},t.$$.update=function(){if(8193&t.$$.dirty[0]|536870912&t.$$.dirty[1]&&!ame(E,Jt)){if(s("parser changed, recreate editor"),hp(l)){var ge=Jt.stringify(l.json);n(0,l={json:ge!==void 0?E.parse(ge):void 0})}n(60,Jt=E),n(22,Be=_h())}if(1&t.$$.dirty[0]){var et=vb(l);et&&console.error("Error: "+et)}8192&t.$$.dirty[0]&&n(27,r=Ap(E.parse)),2&t.$$.dirty[0]&&(s("mode changed to",b),b==="code"&&console.warn('Deprecation warning: "code" mode is renamed to "text". Please use mode="text" instead.'))},[l,b,u,d,p,v,x,_,D,C,M,H,F,E,T,ne,$,Y,Re,Le,xe,A,Be,dt,i,o,St,r,function(ge,et,lt){n(0,l=ge),tt&&tt(ge,et,lt)},function(ge){n(2,u=ge),oe&&oe(Mw(ge))},function(){n(23,dt=!0),ie&&ie()},function(){n(23,dt=!1),Ce&&Ce()},function(ge){return Ze.apply(this,arguments)},rn,Vt,function(ge){var et=ge.content,lt=ge.path,Te=ge.onPatch,tn=ge.onClose;s("onJSONEditorModal",{content:et,path:lt}),n(26,St={component:lL(jwe,{content:et,path:lt,onPatch:Te,readOnly:d,indentation:p,tabSize:v,mainMenuBar:x,navigationBar:_,statusBar:D,askToFormat:C,escapeControlCharacters:M,escapeUnicodeCharacters:H,flattenColumns:F,parser:E,validator:void 0,validationParser:ne,pathParser:$,onRenderValue:Y,onClassName:Re,onRenderMenu:Le,onRenderContextMenu:xe,onSortModal:Vt,onTransformModal:rn}),callbacks:{onClose:tn}})},function(){var ge,et;(ge=St)===null||ge===void 0||(ge=ge.callbacks)===null||ge===void 0||(et=ge.onClose)===null||et===void 0||et.call(ge),n(26,St=null)},fe,R,he,tt,oe,ce,ie,Ce,function(){return l},function(ge){return Mn.apply(this,arguments)},function(ge){return kt.apply(this,arguments)},function(ge){return it.apply(this,arguments)},function(ge){return Nn.apply(this,arguments)},function(ge){return gr.apply(this,arguments)},function(ge){i.transform(ge)},function(){return i.validate()},function(){return vn.apply(this,arguments)},function(ge){return pn.apply(this,arguments)},function(ge){return i.findElement(ge)},qn,function(){return In.apply(this,arguments)},function(ge){return yr.apply(this,arguments)},function(){return ve.apply(this,arguments)},Jt,function(ge){n(25,o=ge)},function(ge){qt[ge?"unshift":"push"](function(){n(24,i=ge)})}]}var Awe=function(t){function e(n){var r;return bt(this,e),jt(r=xt(this,e),n,Pwe,Twe,Dt,{content:0,selection:2,readOnly:3,indentation:4,tabSize:5,mode:1,mainMenuBar:6,navigationBar:7,statusBar:8,askToFormat:9,escapeControlCharacters:10,escapeUnicodeCharacters:11,flattenColumns:12,parser:13,validator:14,validationParser:15,pathParser:16,queryLanguages:38,queryLanguageId:37,onChangeQueryLanguage:39,onChange:40,onSelect:41,onRenderValue:17,onClassName:18,onRenderMenu:19,onRenderContextMenu:20,onChangeMode:42,onError:21,onFocus:43,onBlur:44,get:45,set:46,update:47,patch:48,select:49,expand:50,transform:51,validate:52,acceptAutoRepair:53,scrollTo:54,findElement:55,focus:56,refresh:57,updateProps:58,destroy:59},kwe,[-1,-1,-1]),r}return _t(e,$t),wt(e,[{key:"get",get:function(){return this.$$.ctx[45]}},{key:"set",get:function(){return this.$$.ctx[46]}},{key:"update",get:function(){return this.$$.ctx[47]}},{key:"patch",get:function(){return this.$$.ctx[48]}},{key:"select",get:function(){return this.$$.ctx[49]}},{key:"expand",get:function(){return this.$$.ctx[50]}},{key:"transform",get:function(){return this.$$.ctx[51]}},{key:"validate",get:function(){return this.$$.ctx[52]}},{key:"acceptAutoRepair",get:function(){return this.$$.ctx[53]}},{key:"scrollTo",get:function(){return this.$$.ctx[54]}},{key:"findElement",get:function(){return this.$$.ctx[55]}},{key:"focus",get:function(){return this.$$.ctx[56]}},{key:"refresh",get:function(){return this.$$.ctx[57]}},{key:"updateProps",get:function(){return this.$$.ctx[58]}},{key:"destroy",get:function(){return this.$$.ctx[59]}}])}();function Rwe(t){Nt(t,"svelte-9wp3tj",".jse-value.jse-string.svelte-9wp3tj{color:var(--jse-value-color-string, #008000)}.jse-value.jse-object.svelte-9wp3tj,.jse-value.jse-array.svelte-9wp3tj{min-width:16px;color:var(--jse-delimiter-color, rgba(0, 0, 0, 0.38))}.jse-value.jse-number.svelte-9wp3tj{color:var(--jse-value-color-number, #ee422e)}.jse-value.jse-boolean.svelte-9wp3tj{color:var(--jse-value-color-boolean, #ff8c00)}.jse-value.jse-null.svelte-9wp3tj{color:var(--jse-value-color-null, #004ed0)}.jse-value.jse-invalid.svelte-9wp3tj{color:var(--jse-text-color, #4d4d4d)}.jse-value.jse-url.svelte-9wp3tj{color:var(--jse-value-color-url, #008000);text-decoration:underline}.jse-enum-value.svelte-9wp3tj{background:var(--jse-hover-background-color, rgba(0, 0, 0, 0.06));border:none;padding:0;font-family:inherit;font-size:inherit;cursor:pointer;outline:none}.jse-enum-value.jse-selected.svelte-9wp3tj{background:var(--jse-selection-background-color, #d3d3d3);color:inherit}.jse-enum-value.jse-value.svelte-9wp3tj:focus{color:var(--jse-text-color, #4d4d4d)}.jse-json-node.jse-selected .jse-enum-value.svelte-9wp3tj{background:transparent}")}function DO(t,e,n){var r=t.slice();return r[13]=e[n],r}function BO(t){var e,n,r,i=t[13].text+"";return{c:function(){e=K("option"),n=Ge(i),e.__value=r=t[13].value,ia(e,e.__value)},m:function(o,s){te(o,e,s),N(e,n)},p:function(o,s){4&s&&i!==(i=o[13].text+"")&&Ct(n,i),4&s&&r!==(r=o[13].value)&&(e.__value=r,ia(e,e.__value))},d:function(o){o&&ee(e)}}}function Mwe(t){for(var e,n,r,i,o=Mt(t[2]),s=[],a=0;a<o.length;a+=1)s[a]=BO(DO(t,o,a));return{c:function(){e=K("select");for(var l=0;l<s.length;l+=1)s[l].c();j(e,"class",n=er("jse-enum-value ".concat(mp(t[4],t[0])))+" svelte-9wp3tj"),t[4]===void 0&&eu(function(){return t[10].call(e)}),Pe(e,"jse-selected",ln(t[1]))},m:function(l,c){te(l,e,c);for(var u=0;u<s.length;u+=1)s[u]&&s[u].m(e,null);Q4(e,t[4],!0),t[11](e),r||(i=[Ne(e,"change",t[10]),Ne(e,"change",t[5]),Ne(e,"mousedown",Nwe)],r=!0)},p:function(l,c){var u=Lt(c,1)[0];if(4&u){var f;for(o=Mt(l[2]),f=0;f<o.length;f+=1){var d=DO(l,o,f);s[f]?s[f].p(d,u):(s[f]=BO(d),s[f].c(),s[f].m(e,null))}for(;f<s.length;f+=1)s[f].d(1);s.length=o.length}17&u&&n!==(n=er("jse-enum-value ".concat(mp(l[4],l[0])))+" svelte-9wp3tj")&&j(e,"class",n),16&u&&Q4(e,l[4]),19&u&&Pe(e,"jse-selected",ln(l[1]))},i:He,o:He,d:function(l){l&&ee(e),Sr(s,l),t[11](null),r=!1,On(i)}}}function Nwe(t){t.stopPropagation()}function Iwe(t,e,n){var r,i=e.path,o=e.value,s=e.parser,a=e.readOnly,l=e.selection,c=e.onPatch,u=e.options,f=o;return t.$$set=function(d){"path"in d&&n(6,i=d.path),"value"in d&&n(7,o=d.value),"parser"in d&&n(0,s=d.parser),"readOnly"in d&&n(8,a=d.readOnly),"selection"in d&&n(1,l=d.selection),"onPatch"in d&&n(9,c=d.onPatch),"options"in d&&n(2,u=d.options)},t.$$.update=function(){128&t.$$.dirty&&n(4,f=o),2&t.$$.dirty&&function(d){d&&r&&r.focus()}(l)},[s,l,u,r,f,function(d){d.stopPropagation(),a||c([{op:"replace",path:rt(i),value:f}])},i,o,a,c,function(){var d;d=this.querySelector(":checked"),f=d&&d.__value,n(4,f),n(7,o)},function(d){qt[d?"unshift":"push"](function(){n(3,r=d),n(2,u)})}]}(function(t){function e(n){var r;return bt(this,e),jt(r=xt(this,e),n,Iwe,Mwe,Dt,{path:6,value:7,parser:0,readOnly:8,selection:1,onPatch:9,options:2},Rwe),r}return _t(e,$t),wt(e)})();var Lwe=typeof global=="object"&&global&&global.Object===Object&&global,Dwe=typeof self=="object"&&self&&self.Object===Object&&self,$D=Lwe||Dwe||Function("return this")(),A0=$D.Symbol,SD=Object.prototype,Bwe=SD.hasOwnProperty,zwe=SD.toString,Ld=A0?A0.toStringTag:void 0;function Fwe(t){var e=Bwe.call(t,Ld),n=t[Ld];try{t[Ld]=void 0;var r=!0}catch{}var i=zwe.call(t);return r&&(e?t[Ld]=n:delete t[Ld]),i}var Vwe=Object.prototype,Hwe=Vwe.toString;function qwe(t){return Hwe.call(t)}var Uwe="[object Null]",Wwe="[object Undefined]",zO=A0?A0.toStringTag:void 0;function Gwe(t){return t==null?t===void 0?Wwe:Uwe:zO&&zO in Object(t)?Fwe(t):qwe(t)}function Kwe(t){return t!=null&&typeof t=="object"}var Jwe="[object Symbol]";function Ywe(t){return typeof t=="symbol"||Kwe(t)&&Gwe(t)==Jwe}var Qwe=/\s/;function Xwe(t){for(var e=t.length;e--&&Qwe.test(t.charAt(e)););return e}var Zwe=/^\s+/;function exe(t){return t&&t.slice(0,Xwe(t)+1).replace(Zwe,"")}function g2(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var FO=NaN,txe=/^[-+]0x[0-9a-f]+$/i,nxe=/^0b[01]+$/i,rxe=/^0o[0-7]+$/i,ixe=parseInt;function VO(t){if(typeof t=="number")return t;if(Ywe(t))return FO;if(g2(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=g2(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=exe(t);var n=nxe.test(t);return n||rxe.test(t)?ixe(t.slice(2),n?2:8):txe.test(t)?FO:+t}var Ab=function(){return $D.Date.now()},oxe="Expected a function",sxe=Math.max,axe=Math.min;function lxe(t,e,n){var r,i,o,s,a,l,c=0,u=!1,f=!1,d=!0;if(typeof t!="function")throw new TypeError(oxe);e=VO(e)||0,g2(n)&&(u=!!n.leading,f="maxWait"in n,o=f?sxe(VO(n.maxWait)||0,e):o,d="trailing"in n?!!n.trailing:d);function h(_){var k=r,D=i;return r=i=void 0,c=_,s=t.apply(D,k),s}function p(_){return c=_,a=setTimeout(g,e),u?h(_):s}function m(_){var k=_-l,D=_-c,L=e-k;return f?axe(L,o-D):L}function v(_){var k=_-l,D=_-c;return l===void 0||k>=e||k<0||f&&D>=o}function g(){var _=Ab();if(v(_))return b(_);a=setTimeout(g,m(_))}function b(_){return a=void 0,d&&r?h(_):(r=i=void 0,s)}function y(){a!==void 0&&clearTimeout(a),c=0,r=l=i=a=void 0}function x(){return a===void 0?s:b(Ab())}function w(){var _=Ab(),k=v(_);if(r=arguments,i=this,l=_,k){if(a===void 0)return p(l);if(f)return clearTimeout(a),a=setTimeout(g,e),h(l)}return a===void 0&&(a=setTimeout(g,e)),s}return w.cancel=y,w.flush=x,w}var kD=typeof global=="object"&&global&&global.Object===Object&&global,cxe=typeof self=="object"&&self&&self.Object===Object&&self,ha=kD||cxe||Function("return this")(),la=ha.Symbol,CD=Object.prototype,uxe=CD.hasOwnProperty,fxe=CD.toString,Dd=la?la.toStringTag:void 0;function dxe(t){var e=uxe.call(t,Dd),n=t[Dd];try{t[Dd]=void 0;var r=!0}catch{}var i=fxe.call(t);return r&&(e?t[Dd]=n:delete t[Dd]),i}var hxe=Object.prototype,pxe=hxe.toString;function mxe(t){return pxe.call(t)}var gxe="[object Null]",vxe="[object Undefined]",HO=la?la.toStringTag:void 0;function bu(t){return t==null?t===void 0?vxe:gxe:HO&&HO in Object(t)?dxe(t):mxe(t)}function ca(t){return t!=null&&typeof t=="object"}var yxe="[object Symbol]";function N$(t){return typeof t=="symbol"||ca(t)&&bu(t)==yxe}function bxe(t,e){for(var n=-1,r=t==null?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}var Bo=Array.isArray,wxe=1/0,qO=la?la.prototype:void 0,UO=qO?qO.toString:void 0;function ED(t){if(typeof t=="string")return t;if(Bo(t))return bxe(t,ED)+"";if(N$(t))return UO?UO.call(t):"";var e=t+"";return e=="0"&&1/t==-wxe?"-0":e}function pa(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}function I$(t){return t}var xxe="[object AsyncFunction]",_xe="[object Function]",jxe="[object GeneratorFunction]",$xe="[object Proxy]";function L$(t){if(!pa(t))return!1;var e=bu(t);return e==_xe||e==jxe||e==xxe||e==$xe}var Rb=ha["__core-js_shared__"],WO=function(){var t=/[^.]+$/.exec(Rb&&Rb.keys&&Rb.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function Sxe(t){return!!WO&&WO in t}var kxe=Function.prototype,Cxe=kxe.toString;function wu(t){if(t!=null){try{return Cxe.call(t)}catch{}try{return t+""}catch{}}return""}var Exe=/[\\^$.*+?()[\]{}|]/g,Oxe=/^\[object .+?Constructor\]$/,Txe=Function.prototype,Pxe=Object.prototype,Axe=Txe.toString,Rxe=Pxe.hasOwnProperty,Mxe=RegExp("^"+Axe.call(Rxe).replace(Exe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Nxe(t){if(!pa(t)||Sxe(t))return!1;var e=L$(t)?Mxe:Oxe;return e.test(wu(t))}function Ixe(t,e){return t==null?void 0:t[e]}function xu(t,e){var n=Ixe(t,e);return Nxe(n)?n:void 0}var v2=xu(ha,"WeakMap"),GO=Object.create,Lxe=function(){function t(){}return function(e){if(!pa(e))return{};if(GO)return GO(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function Dxe(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function Bxe(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}var zxe=800,Fxe=16,Vxe=Date.now;function Hxe(t){var e=0,n=0;return function(){var r=Vxe(),i=Fxe-(r-n);if(n=r,i>0){if(++e>=zxe)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function qxe(t){return function(){return t}}var R0=function(){try{var t=xu(Object,"defineProperty");return t({},"",{}),t}catch{}}(),Uxe=R0?function(t,e){return R0(t,"toString",{configurable:!0,enumerable:!1,value:qxe(e),writable:!0})}:I$;const Wxe=Uxe;var Gxe=Hxe(Wxe);function Kxe(t,e){for(var n=-1,r=t==null?0:t.length;++n<r&&e(t[n],n,t)!==!1;);return t}var Jxe=9007199254740991,Yxe=/^(?:0|[1-9]\d*)$/;function D$(t,e){var n=typeof t;return e=e??Jxe,!!e&&(n=="number"||n!="symbol"&&Yxe.test(t))&&t>-1&&t%1==0&&t<e}function ry(t,e,n){e=="__proto__"&&R0?R0(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function Yp(t,e){return t===e||t!==t&&e!==e}var Qxe=Object.prototype,Xxe=Qxe.hasOwnProperty;function OD(t,e,n){var r=t[e];(!(Xxe.call(t,e)&&Yp(r,n))||n===void 0&&!(e in t))&&ry(t,e,n)}function TD(t,e,n,r){var i=!n;n||(n={});for(var o=-1,s=e.length;++o<s;){var a=e[o],l=r?r(n[a],t[a],a,n,t):void 0;l===void 0&&(l=t[a]),i?ry(n,a,l):OD(n,a,l)}return n}var KO=Math.max;function Zxe(t,e,n){return e=KO(e===void 0?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=KO(r.length-e,0),s=Array(o);++i<o;)s[i]=r[e+i];i=-1;for(var a=Array(e+1);++i<e;)a[i]=r[i];return a[e]=n(s),Dxe(t,this,a)}}function e2e(t,e){return Gxe(Zxe(t,e,I$),t+"")}var t2e=9007199254740991;function B$(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=t2e}function iy(t){return t!=null&&B$(t.length)&&!L$(t)}function n2e(t,e,n){if(!pa(n))return!1;var r=typeof e;return(r=="number"?iy(n)&&D$(e,n.length):r=="string"&&e in n)?Yp(n[e],t):!1}function PD(t){return e2e(function(e,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(o=t.length>3&&typeof o=="function"?(i--,o):void 0,s&&n2e(n[0],n[1],s)&&(o=i<3?void 0:o,i=1),e=Object(e);++r<i;){var a=n[r];a&&t(e,a,r,o)}return e})}var r2e=Object.prototype;function z$(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||r2e;return t===n}function i2e(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}var o2e="[object Arguments]";function JO(t){return ca(t)&&bu(t)==o2e}var AD=Object.prototype,s2e=AD.hasOwnProperty,a2e=AD.propertyIsEnumerable,M0=JO(function(){return arguments}())?JO:function(t){return ca(t)&&s2e.call(t,"callee")&&!a2e.call(t,"callee")};function l2e(){return!1}var RD=typeof exports=="object"&&exports&&!exports.nodeType&&exports,YO=RD&&typeof module=="object"&&module&&!module.nodeType&&module,c2e=YO&&YO.exports===RD,QO=c2e?ha.Buffer:void 0,u2e=QO?QO.isBuffer:void 0,bp=u2e||l2e,f2e="[object Arguments]",d2e="[object Array]",h2e="[object Boolean]",p2e="[object Date]",m2e="[object Error]",g2e="[object Function]",v2e="[object Map]",y2e="[object Number]",b2e="[object Object]",w2e="[object RegExp]",x2e="[object Set]",_2e="[object String]",j2e="[object WeakMap]",$2e="[object ArrayBuffer]",S2e="[object DataView]",k2e="[object Float32Array]",C2e="[object Float64Array]",E2e="[object Int8Array]",O2e="[object Int16Array]",T2e="[object Int32Array]",P2e="[object Uint8Array]",A2e="[object Uint8ClampedArray]",R2e="[object Uint16Array]",M2e="[object Uint32Array]",rr={};rr[k2e]=rr[C2e]=rr[E2e]=rr[O2e]=rr[T2e]=rr[P2e]=rr[A2e]=rr[R2e]=rr[M2e]=!0;rr[f2e]=rr[d2e]=rr[$2e]=rr[h2e]=rr[S2e]=rr[p2e]=rr[m2e]=rr[g2e]=rr[v2e]=rr[y2e]=rr[b2e]=rr[w2e]=rr[x2e]=rr[_2e]=rr[j2e]=!1;function N2e(t){return ca(t)&&B$(t.length)&&!!rr[bu(t)]}function F$(t){return function(e){return t(e)}}var MD=typeof exports=="object"&&exports&&!exports.nodeType&&exports,$h=MD&&typeof module=="object"&&module&&!module.nodeType&&module,I2e=$h&&$h.exports===MD,Mb=I2e&&kD.process,rd=function(){try{var t=$h&&$h.require&&$h.require("util").types;return t||Mb&&Mb.binding&&Mb.binding("util")}catch{}}(),XO=rd&&rd.isTypedArray,V$=XO?F$(XO):N2e,L2e=Object.prototype,D2e=L2e.hasOwnProperty;function ND(t,e){var n=Bo(t),r=!n&&M0(t),i=!n&&!r&&bp(t),o=!n&&!r&&!i&&V$(t),s=n||r||i||o,a=s?i2e(t.length,String):[],l=a.length;for(var c in t)(e||D2e.call(t,c))&&!(s&&(c=="length"||i&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||D$(c,l)))&&a.push(c);return a}function ID(t,e){return function(n){return t(e(n))}}var B2e=ID(Object.keys,Object),z2e=Object.prototype,F2e=z2e.hasOwnProperty;function V2e(t){if(!z$(t))return B2e(t);var e=[];for(var n in Object(t))F2e.call(t,n)&&n!="constructor"&&e.push(n);return e}function H$(t){return iy(t)?ND(t):V2e(t)}function H2e(t){var e=[];if(t!=null)for(var n in Object(t))e.push(n);return e}var q2e=Object.prototype,U2e=q2e.hasOwnProperty;function W2e(t){if(!pa(t))return H2e(t);var e=z$(t),n=[];for(var r in t)r=="constructor"&&(e||!U2e.call(t,r))||n.push(r);return n}function q$(t){return iy(t)?ND(t,!0):W2e(t)}var G2e=PD(function(t,e,n,r){TD(e,q$(e),t,r)}),K2e=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,J2e=/^\w*$/;function U$(t,e){if(Bo(t))return!1;var n=typeof t;return n=="number"||n=="symbol"||n=="boolean"||t==null||N$(t)?!0:J2e.test(t)||!K2e.test(t)||e!=null&&t in Object(e)}var wp=xu(Object,"create");function Y2e(){this.__data__=wp?wp(null):{},this.size=0}function Q2e(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var X2e="__lodash_hash_undefined__",Z2e=Object.prototype,e_e=Z2e.hasOwnProperty;function t_e(t){var e=this.__data__;if(wp){var n=e[t];return n===X2e?void 0:n}return e_e.call(e,t)?e[t]:void 0}var n_e=Object.prototype,r_e=n_e.hasOwnProperty;function i_e(t){var e=this.__data__;return wp?e[t]!==void 0:r_e.call(e,t)}var o_e="__lodash_hash_undefined__";function s_e(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=wp&&e===void 0?o_e:e,this}function lu(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}lu.prototype.clear=Y2e;lu.prototype.delete=Q2e;lu.prototype.get=t_e;lu.prototype.has=i_e;lu.prototype.set=s_e;function a_e(){this.__data__=[],this.size=0}function oy(t,e){for(var n=t.length;n--;)if(Yp(t[n][0],e))return n;return-1}var l_e=Array.prototype,c_e=l_e.splice;function u_e(t){var e=this.__data__,n=oy(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():c_e.call(e,n,1),--this.size,!0}function f_e(t){var e=this.__data__,n=oy(e,t);return n<0?void 0:e[n][1]}function d_e(t){return oy(this.__data__,t)>-1}function h_e(t,e){var n=this.__data__,r=oy(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function Qa(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Qa.prototype.clear=a_e;Qa.prototype.delete=u_e;Qa.prototype.get=f_e;Qa.prototype.has=d_e;Qa.prototype.set=h_e;var xp=xu(ha,"Map");function p_e(){this.size=0,this.__data__={hash:new lu,map:new(xp||Qa),string:new lu}}function m_e(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function sy(t,e){var n=t.__data__;return m_e(e)?n[typeof e=="string"?"string":"hash"]:n.map}function g_e(t){var e=sy(this,t).delete(t);return this.size-=e?1:0,e}function v_e(t){return sy(this,t).get(t)}function y_e(t){return sy(this,t).has(t)}function b_e(t,e){var n=sy(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}function Xa(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Xa.prototype.clear=p_e;Xa.prototype.delete=g_e;Xa.prototype.get=v_e;Xa.prototype.has=y_e;Xa.prototype.set=b_e;var w_e="Expected a function";function W$(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(w_e);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(W$.Cache||Xa),n}W$.Cache=Xa;var x_e=500;function __e(t){var e=W$(t,function(r){return n.size===x_e&&n.clear(),r}),n=e.cache;return e}var j_e=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,$_e=/\\(\\)?/g,S_e=__e(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(j_e,function(n,r,i,o){e.push(i?o.replace($_e,"$1"):r||n)}),e});function k_e(t){return t==null?"":ED(t)}function LD(t,e){return Bo(t)?t:U$(t,e)?[t]:S_e(k_e(t))}var C_e=1/0;function ay(t){if(typeof t=="string"||N$(t))return t;var e=t+"";return e=="0"&&1/t==-C_e?"-0":e}function DD(t,e){e=LD(e,t);for(var n=0,r=e.length;t!=null&&n<r;)t=t[ay(e[n++])];return n&&n==r?t:void 0}function E_e(t,e,n){var r=t==null?void 0:DD(t,e);return r===void 0?n:r}function O_e(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}var T_e=ID(Object.getPrototypeOf,Object);const BD=T_e;var P_e="[object Object]",A_e=Function.prototype,R_e=Object.prototype,zD=A_e.toString,M_e=R_e.hasOwnProperty,N_e=zD.call(Object);function I_e(t){if(!ca(t)||bu(t)!=P_e)return!1;var e=BD(t);if(e===null)return!0;var n=M_e.call(e,"constructor")&&e.constructor;return typeof n=="function"&&n instanceof n&&zD.call(n)==N_e}function L_e(){this.__data__=new Qa,this.size=0}function D_e(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}function B_e(t){return this.__data__.get(t)}function z_e(t){return this.__data__.has(t)}var F_e=200;function V_e(t,e){var n=this.__data__;if(n instanceof Qa){var r=n.__data__;if(!xp||r.length<F_e-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Xa(r)}return n.set(t,e),this.size=n.size,this}function ds(t){var e=this.__data__=new Qa(t);this.size=e.size}ds.prototype.clear=L_e;ds.prototype.delete=D_e;ds.prototype.get=B_e;ds.prototype.has=z_e;ds.prototype.set=V_e;var FD=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ZO=FD&&typeof module=="object"&&module&&!module.nodeType&&module,H_e=ZO&&ZO.exports===FD,eT=H_e?ha.Buffer:void 0,tT=eT?eT.allocUnsafe:void 0;function VD(t,e){if(e)return t.slice();var n=t.length,r=tT?tT(n):new t.constructor(n);return t.copy(r),r}function q_e(t,e){for(var n=-1,r=t==null?0:t.length,i=0,o=[];++n<r;){var s=t[n];e(s,n,t)&&(o[i++]=s)}return o}function U_e(){return[]}var W_e=Object.prototype,G_e=W_e.propertyIsEnumerable,nT=Object.getOwnPropertySymbols,K_e=nT?function(t){return t==null?[]:(t=Object(t),q_e(nT(t),function(e){return G_e.call(t,e)}))}:U_e;function J_e(t,e,n){var r=e(t);return Bo(t)?r:O_e(r,n(t))}function y2(t){return J_e(t,H$,K_e)}var b2=xu(ha,"DataView"),w2=xu(ha,"Promise"),x2=xu(ha,"Set"),rT="[object Map]",Y_e="[object Object]",iT="[object Promise]",oT="[object Set]",sT="[object WeakMap]",aT="[object DataView]",Q_e=wu(b2),X_e=wu(xp),Z_e=wu(w2),eje=wu(x2),tje=wu(v2),vc=bu;(b2&&vc(new b2(new ArrayBuffer(1)))!=aT||xp&&vc(new xp)!=rT||w2&&vc(w2.resolve())!=iT||x2&&vc(new x2)!=oT||v2&&vc(new v2)!=sT)&&(vc=function(t){var e=bu(t),n=e==Y_e?t.constructor:void 0,r=n?wu(n):"";if(r)switch(r){case Q_e:return aT;case X_e:return rT;case Z_e:return iT;case eje:return oT;case tje:return sT}return e});const _p=vc;var nje=Object.prototype,rje=nje.hasOwnProperty;function ije(t){var e=t.length,n=new t.constructor(e);return e&&typeof t[0]=="string"&&rje.call(t,"index")&&(n.index=t.index,n.input=t.input),n}var N0=ha.Uint8Array;function G$(t){var e=new t.constructor(t.byteLength);return new N0(e).set(new N0(t)),e}function oje(t,e){var n=G$(t.buffer);return new t.constructor(n,t.byteOffset,t.byteLength)}var sje=/\w*$/;function aje(t){var e=new t.constructor(t.source,sje.exec(t));return e.lastIndex=t.lastIndex,e}var lT=la?la.prototype:void 0,cT=lT?lT.valueOf:void 0;function lje(t){return cT?Object(cT.call(t)):{}}function HD(t,e){var n=e?G$(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}var cje="[object Boolean]",uje="[object Date]",fje="[object Map]",dje="[object Number]",hje="[object RegExp]",pje="[object Set]",mje="[object String]",gje="[object Symbol]",vje="[object ArrayBuffer]",yje="[object DataView]",bje="[object Float32Array]",wje="[object Float64Array]",xje="[object Int8Array]",_je="[object Int16Array]",jje="[object Int32Array]",$je="[object Uint8Array]",Sje="[object Uint8ClampedArray]",kje="[object Uint16Array]",Cje="[object Uint32Array]";function Eje(t,e,n){var r=t.constructor;switch(e){case vje:return G$(t);case cje:case uje:return new r(+t);case yje:return oje(t);case bje:case wje:case xje:case _je:case jje:case $je:case Sje:case kje:case Cje:return HD(t,n);case fje:return new r;case dje:case mje:return new r(t);case hje:return aje(t);case pje:return new r;case gje:return lje(t)}}function qD(t){return typeof t.constructor=="function"&&!z$(t)?Lxe(BD(t)):{}}var Oje="[object Map]";function Tje(t){return ca(t)&&_p(t)==Oje}var uT=rd&&rd.isMap,Pje=uT?F$(uT):Tje,Aje="[object Set]";function Rje(t){return ca(t)&&_p(t)==Aje}var fT=rd&&rd.isSet,Mje=fT?F$(fT):Rje,Nje=1,UD="[object Arguments]",Ije="[object Array]",Lje="[object Boolean]",Dje="[object Date]",Bje="[object Error]",WD="[object Function]",zje="[object GeneratorFunction]",Fje="[object Map]",Vje="[object Number]",GD="[object Object]",Hje="[object RegExp]",qje="[object Set]",Uje="[object String]",Wje="[object Symbol]",Gje="[object WeakMap]",Kje="[object ArrayBuffer]",Jje="[object DataView]",Yje="[object Float32Array]",Qje="[object Float64Array]",Xje="[object Int8Array]",Zje="[object Int16Array]",e$e="[object Int32Array]",t$e="[object Uint8Array]",n$e="[object Uint8ClampedArray]",r$e="[object Uint16Array]",i$e="[object Uint32Array]",Qn={};Qn[UD]=Qn[Ije]=Qn[Kje]=Qn[Jje]=Qn[Lje]=Qn[Dje]=Qn[Yje]=Qn[Qje]=Qn[Xje]=Qn[Zje]=Qn[e$e]=Qn[Fje]=Qn[Vje]=Qn[GD]=Qn[Hje]=Qn[qje]=Qn[Uje]=Qn[Wje]=Qn[t$e]=Qn[n$e]=Qn[r$e]=Qn[i$e]=!0;Qn[Bje]=Qn[WD]=Qn[Gje]=!1;function Wg(t,e,n,r,i,o){var s,a=e&Nje;if(s!==void 0)return s;if(!pa(t))return t;var l=Bo(t);if(l)s=ije(t);else{var c=_p(t),u=c==WD||c==zje;if(bp(t))return VD(t,a);if(c==GD||c==UD||u&&!i)s=u?{}:qD(t);else{if(!Qn[c])return i?t:{};s=Eje(t,c,a)}}o||(o=new ds);var f=o.get(t);if(f)return f;o.set(t,s),Mje(t)?t.forEach(function(p){s.add(Wg(p,e,n,p,t,o))}):Pje(t)&&t.forEach(function(p,m){s.set(m,Wg(p,e,n,m,t,o))});var d=y2,h=l?void 0:d(t);return Kxe(h||t,function(p,m){h&&(m=p,p=t[m]),OD(s,m,Wg(p,e,n,m,t,o))}),s}var o$e=1,s$e=4;function a$e(t){return Wg(t,o$e|s$e)}var l$e="__lodash_hash_undefined__";function c$e(t){return this.__data__.set(t,l$e),this}function u$e(t){return this.__data__.has(t)}function I0(t){var e=-1,n=t==null?0:t.length;for(this.__data__=new Xa;++e<n;)this.add(t[e])}I0.prototype.add=I0.prototype.push=c$e;I0.prototype.has=u$e;function f$e(t,e){for(var n=-1,r=t==null?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function d$e(t,e){return t.has(e)}var h$e=1,p$e=2;function KD(t,e,n,r,i,o){var s=n&h$e,a=t.length,l=e.length;if(a!=l&&!(s&&l>a))return!1;var c=o.get(t),u=o.get(e);if(c&&u)return c==e&&u==t;var f=-1,d=!0,h=n&p$e?new I0:void 0;for(o.set(t,e),o.set(e,t);++f<a;){var p=t[f],m=e[f];if(r)var v=s?r(m,p,f,e,t,o):r(p,m,f,t,e,o);if(v!==void 0){if(v)continue;d=!1;break}if(h){if(!f$e(e,function(g,b){if(!d$e(h,b)&&(p===g||i(p,g,n,r,o)))return h.push(b)})){d=!1;break}}else if(!(p===m||i(p,m,n,r,o))){d=!1;break}}return o.delete(t),o.delete(e),d}function m$e(t){var e=-1,n=Array(t.size);return t.forEach(function(r,i){n[++e]=[i,r]}),n}function g$e(t){var e=-1,n=Array(t.size);return t.forEach(function(r){n[++e]=r}),n}var v$e=1,y$e=2,b$e="[object Boolean]",w$e="[object Date]",x$e="[object Error]",_$e="[object Map]",j$e="[object Number]",$$e="[object RegExp]",S$e="[object Set]",k$e="[object String]",C$e="[object Symbol]",E$e="[object ArrayBuffer]",O$e="[object DataView]",dT=la?la.prototype:void 0,Nb=dT?dT.valueOf:void 0;function T$e(t,e,n,r,i,o,s){switch(n){case O$e:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case E$e:return!(t.byteLength!=e.byteLength||!o(new N0(t),new N0(e)));case b$e:case w$e:case j$e:return Yp(+t,+e);case x$e:return t.name==e.name&&t.message==e.message;case $$e:case k$e:return t==e+"";case _$e:var a=m$e;case S$e:var l=r&v$e;if(a||(a=g$e),t.size!=e.size&&!l)return!1;var c=s.get(t);if(c)return c==e;r|=y$e,s.set(t,e);var u=KD(a(t),a(e),r,i,o,s);return s.delete(t),u;case C$e:if(Nb)return Nb.call(t)==Nb.call(e)}return!1}var P$e=1,A$e=Object.prototype,R$e=A$e.hasOwnProperty;function M$e(t,e,n,r,i,o){var s=n&P$e,a=y2(t),l=a.length,c=y2(e),u=c.length;if(l!=u&&!s)return!1;for(var f=l;f--;){var d=a[f];if(!(s?d in e:R$e.call(e,d)))return!1}var h=o.get(t),p=o.get(e);if(h&&p)return h==e&&p==t;var m=!0;o.set(t,e),o.set(e,t);for(var v=s;++f<l;){d=a[f];var g=t[d],b=e[d];if(r)var y=s?r(b,g,d,e,t,o):r(g,b,d,t,e,o);if(!(y===void 0?g===b||i(g,b,n,r,o):y)){m=!1;break}v||(v=d=="constructor")}if(m&&!v){var x=t.constructor,w=e.constructor;x!=w&&"constructor"in t&&"constructor"in e&&!(typeof x=="function"&&x instanceof x&&typeof w=="function"&&w instanceof w)&&(m=!1)}return o.delete(t),o.delete(e),m}var N$e=1,hT="[object Arguments]",pT="[object Array]",vg="[object Object]",I$e=Object.prototype,mT=I$e.hasOwnProperty;function L$e(t,e,n,r,i,o){var s=Bo(t),a=Bo(e),l=s?pT:_p(t),c=a?pT:_p(e);l=l==hT?vg:l,c=c==hT?vg:c;var u=l==vg,f=c==vg,d=l==c;if(d&&bp(t)){if(!bp(e))return!1;s=!0,u=!1}if(d&&!u)return o||(o=new ds),s||V$(t)?KD(t,e,n,r,i,o):T$e(t,e,l,n,r,i,o);if(!(n&N$e)){var h=u&&mT.call(t,"__wrapped__"),p=f&&mT.call(e,"__wrapped__");if(h||p){var m=h?t.value():t,v=p?e.value():e;return o||(o=new ds),i(m,v,n,r,o)}}return d?(o||(o=new ds),M$e(t,e,n,r,i,o)):!1}function K$(t,e,n,r,i){return t===e?!0:t==null||e==null||!ca(t)&&!ca(e)?t!==t&&e!==e:L$e(t,e,n,r,K$,i)}var D$e=1,B$e=2;function z$e(t,e,n,r){var i=n.length,o=i;if(t==null)return!o;for(t=Object(t);i--;){var s=n[i];if(s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++i<o;){s=n[i];var a=s[0],l=t[a],c=s[1];if(s[2]){if(l===void 0&&!(a in t))return!1}else{var u=new ds,f;if(!(f===void 0?K$(c,l,D$e|B$e,r,u):f))return!1}}return!0}function JD(t){return t===t&&!pa(t)}function F$e(t){for(var e=H$(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,JD(i)]}return e}function YD(t,e){return function(n){return n==null?!1:n[t]===e&&(e!==void 0||t in Object(n))}}function V$e(t){var e=F$e(t);return e.length==1&&e[0][2]?YD(e[0][0],e[0][1]):function(n){return n===t||z$e(n,t,e)}}function H$e(t,e){return t!=null&&e in Object(t)}function q$e(t,e,n){e=LD(e,t);for(var r=-1,i=e.length,o=!1;++r<i;){var s=ay(e[r]);if(!(o=t!=null&&n(t,s)))break;t=t[s]}return o||++r!=i?o:(i=t==null?0:t.length,!!i&&B$(i)&&D$(s,i)&&(Bo(t)||M0(t)))}function U$e(t,e){return t!=null&&q$e(t,e,H$e)}var W$e=1,G$e=2;function K$e(t,e){return U$(t)&&JD(e)?YD(ay(t),e):function(n){var r=E_e(n,t);return r===void 0&&r===e?U$e(n,t):K$(e,r,W$e|G$e)}}function J$e(t){return function(e){return e==null?void 0:e[t]}}function Y$e(t){return function(e){return DD(e,t)}}function Q$e(t){return U$(t)?J$e(ay(t)):Y$e(t)}function X$e(t){return typeof t=="function"?t:t==null?I$:typeof t=="object"?Bo(t)?K$e(t[0],t[1]):V$e(t):Q$e(t)}function Z$e(t){return function(e,n,r){for(var i=-1,o=Object(e),s=r(e),a=s.length;a--;){var l=s[++i];if(n(o[l],l,o)===!1)break}return e}}var QD=Z$e();function eSe(t,e){return t&&QD(t,e,H$)}function _2(t,e,n){(n!==void 0&&!Yp(t[e],n)||n===void 0&&!(e in t))&&ry(t,e,n)}function tSe(t){return ca(t)&&iy(t)}function j2(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}function nSe(t){return TD(t,q$(t))}function rSe(t,e,n,r,i,o,s){var a=j2(t,n),l=j2(e,n),c=s.get(l);if(c){_2(t,n,c);return}var u=o?o(a,l,n+"",t,e,s):void 0,f=u===void 0;if(f){var d=Bo(l),h=!d&&bp(l),p=!d&&!h&&V$(l);u=l,d||h||p?Bo(a)?u=a:tSe(a)?u=Bxe(a):h?(f=!1,u=VD(l,!0)):p?(f=!1,u=HD(l,!0)):u=[]:I_e(l)||M0(l)?(u=a,M0(a)?u=nSe(a):(!pa(a)||L$(a))&&(u=qD(l))):f=!1}f&&(s.set(l,u),i(u,l,r,o,s),s.delete(l)),_2(t,n,u)}function XD(t,e,n,r,i){t!==e&&QD(e,function(o,s){if(i||(i=new ds),pa(o))rSe(t,e,s,n,XD,r,i);else{var a=r?r(j2(t,s),o,s+"",t,e,i):void 0;a===void 0&&(a=o),_2(t,s,a)}},q$)}var iSe=PD(function(t,e,n,r){XD(t,e,n,r)});function oSe(t,e){var n={};return e=X$e(e),eSe(t,function(r,i,o){ry(n,e(r,i,o),r)}),n}const sSe=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),aSe=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),lSe=new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d","u"),cSe=/[^\p{L}\d]+/giu,gT="$1\0$2",vT="";function ZD(t){let e=t.trim();e=e.replace(sSe,gT).replace(aSe,gT),e=e.replace(cSe,"\0");let n=0,r=e.length;for(;e.charAt(n)==="\0";)n++;if(n===r)return[];for(;e.charAt(r-1)==="\0";)r--;return e.slice(n,r).split(/\0/g)}function uSe(t){const e=ZD(t);for(let n=0;n<e.length;n++){const r=e[n],i=lSe.exec(r);if(i){const o=i.index+(i[1]??i[2]).length;e.splice(n,1,r.slice(0,o),r.slice(o))}}return e}function fSe(t,e){const[n,r,i]=mSe(t,e),o=dSe(void 0),s=hSe(void 0),a=pSe(o,s);return n+r.map((l,c)=>c===0?o(l):a(l,c)).join("")+i}function dSe(t){return e=>e.toLocaleLowerCase(t)}function hSe(t){return e=>e.toLocaleUpperCase(t)}function pSe(t,e){return(n,r)=>{const i=n[0];return(r>0&&i>="0"&&i<="9"?"_"+i:e(i))+t(n.slice(1))}}function mSe(t,e={}){const n=e.split??(e.separateNumbers?uSe:ZD),r=e.prefixCharacters??vT,i=e.suffixCharacters??vT;let o=0,s=t.length;for(;o<t.length;){const a=t.charAt(o);if(!r.includes(a))break;o++}for(;s>o;){const a=s-1,l=t.charAt(a);if(!i.includes(l))break;s=a}return[t.slice(0,o),n(t.slice(o,s)),t.slice(s)]}const Sh=t=>/.+-.+/.test(t)?fSe(t):t,gSe=t=>Object.prototype.toString.call(t).slice(8,-1)==="Object";function vSe(t,e){const n=Object.create(null),r=t.split(",");for(let i=0;i<r.length;i++)n[r[i]]=!0;return i=>!!n[i]}const ySe=vSe("String,Number,Boolean,Function,Symbol,BigInt");function bSe(t){const e=t==null?void 0:t.toString().match(/^\s*function (\w+)/);return e?e[1]:t===null?"null":""}function wSe(t,e){let n;const r=bSe(e);if(ySe(r)){const i=typeof t;n=i===r.toLowerCase(),!n&&i==="object"&&(n=t instanceof e)}else r==="Object"?n=pa(t):r==="Array"?n=Array.isArray(t):r==="null"?n=t===null:n=t instanceof e;return{valid:n,expectedType:r}}function xSe({prop:t,type:e,validator:n}){if(![void 0,null].includes(t)&&e){let r=!1;const i=Array.isArray(e)?e:[e],o=[];for(let s=0;s<i.length&&!r;s++){const{valid:a,expectedType:l}=wSe(t,i[s]);o.push(l||""),r=a}if(!r)throw new TypeError(`Invalid prop: type check failed, expecting [${o.join(", ")}], receiving: ${t}`)}if(n&&!n(t))throw new Error(`Invalid prop: validator check failed, receiving: ${t}`)}function _Se(t,{mergeObject:e,mergeFunction:n}){const r=[];for(let o=t.length-1;o>=0;o--)r.push(t[o]);const i=n?(o,s)=>typeof o=="function"&&typeof s=="function"?n(s,o):void 0:void 0;return e==="deep"?iSe(...r,i):G2e(...r,i)}function jSe(t,{mergeFunction:e}){return t.reduce(e,()=>{})}function cl(t,e={}){const{type:n,default:r,defaultIsDynamic:i=!1,required:o=!1,validator:s,camelizeObjectKeys:a=!1,mergeObjectApplyOnlyToDefault:l=!1,mergeFunctionApplyOnlyToDefault:c=!0}=e;let{mergeObject:u="deep",mergeFunction:f=!1}=e;const d=[];let h,p=!1,m=!1;const v=g=>{if(g!==void 0){xSe({type:n,prop:g,validator:s});const b=gSe(g),y=typeof g=="function";return p=b,m=y,b?(g=a$e(g),a?oSe(g,(x,w)=>Sh(w)):g):g}};for(const g of t)d.push(v(g));if(!i)d.push(v(r));else if(typeof r!="function")throw new TypeError(`Invalid option: options.default should be Function when options.defaultIsDynamic enabled, receiving: ${r}`);p||(u=!1,m||(f=!1));for(let g=0;g<d.length;g++){const b=d[g];if(b!==void 0){g===d.length-1?h=b:u?h=_Se(l?[b,r]:d,{mergeObject:u,mergeFunction:f}):f?h=jSe(c?[b,r]:d,{mergeFunction:f}):h=b;break}}if(o&&[void 0,null].includes(h))throw new Error("Missing required prop");return i?cl(t,{...e,default:r(h),defaultIsDynamic:!1}):h}function yT(t){const e=Array.from(Sh(t));return e[0]=e[0].toUpperCase(),e.unshift("o","n"),e.join("")}function $Se(t,{props:e=[],camelizePropNames:n=!1}={}){const r={props:{},attrs:{},listeners:{},hooks:{},slots:{}};let i;if(Array.isArray(e))i=n?e.map(o=>Sh(o)):e;else if(n){i=[];for(const o in e)i.push(Sh(o))}else i=Object.keys(e);for(const o in t)if(o.startsWith("@")){const s=o.substring(1);if(s.startsWith("vue:"))r.hooks[yT(s.replace("vue:","vnode-"))]=t[o];else{if(s.startsWith("vnode"))throw new Error("@vnode-* hooks are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in Vue 3.4.");r.listeners[yT(s)]=t[o]}}else if(o.startsWith("#")){const s=o.substring(1);s&&(r.slots[s]=t[o])}else{const s=n?Sh(o):o;i.includes(s)?r.props[s]=t[o]:r.attrs[o]=t[o]}return r}const bT="JsonEditorVue",sl={},wT={},Gg="modelValue",xT="update:modelValue",Kg=["mainMenuBar","navigationBar","statusBar","askToFormat","readOnly","escapeControlCharacters","escapeUnicodeCharacters","flattenColumns"],_T={[Gg]:{},mode:{type:String},debounce:{type:Number},stringified:{type:Boolean,default:void 0},...Object.fromEntries(Kg.map(t=>[t,{type:Boolean,default:void 0}]))},SSe=zr({name:bT,install(t,e){const n=$Se(e||{},{props:_T});Object.assign(sl,n.props),Object.assign(wT,n.attrs),t.component(bT,this)},props:_T,emits:{[xT](t){return!0},"update:mode":function(t){return!0}},setup(t,{attrs:e,emit:n,expose:r}){var i;const o=(i=Ql())==null?void 0:i.proxy,s=Ft(),a=Ft(!1),l=Ft();K0(()=>{var p;l.value=cl([t.mode,sl.mode],{type:String}),(p=s.value)==null||p.updateProps({mode:l.value||ni.tree})});const c=p=>{n("update:mode",p)};sl.mode!==void 0&&t.mode===void 0&&c(sl.mode);const u=en(()=>cl([t.debounce,sl.debounce,100],{type:Number})),f=en(()=>cl([t.stringified,sl.stringified,!0],{type:Boolean})),d=lxe(p=>{a.value=!0,!f.value&&p.text&&(s.value&&!s.value.validate()&&(p.json=JSON.parse(p.text)),p.text=void 0),n(xT,p.text===void 0?p.json:p.text)},u.value),h=(p,m)=>(...v)=>{p(...v),m(...v)};return r==null||r({jsonEditor:s}),G0(()=>{var p;(p=s.value)==null||p.destroy()}),uu(()=>{const p=cl([t[Gg],sl[Gg]]),m=Object.fromEntries(Array.from(Kg,g=>[g,cl([t[g],sl[g]])]).filter(([,g])=>g!==void 0)),v=cl([m,e,wT,{onChange:d,onChangeMode:c,mode:l.value,...p!==void 0&&{content:{[typeof p=="string"&&l.value==="text"&&f.value?"text":"json"]:p}}}],{camelizeObjectKeys:!0,mergeFunction:h,type:Object});s.value=new Awe({target:o==null?void 0:o.$refs.jsonEditorRef,props:v}),Ar(()=>t[Gg],g=>{if(a.value){a.value=!1;return}s.value&&s.value.set([void 0,""].includes(g)?{text:""}:{[typeof g=="string"&&l.value==="text"&&f.value?"text":"json"]:g})},{deep:!0}),Ar(()=>Array.from(Kg,g=>t[g]),g=>{var b;(b=s.value)==null||b.updateProps(Object.fromEntries(Array.from(g,(y,x)=>[Kg[x],y]).filter(([,y])=>y!==void 0)))}),Ar(()=>e,g=>{var b;const y={};(g.onChange||g["on-change"])&&(y.onChange=d),(g.onChangeMode||g["on-change-mode"])&&(y.onChangeMode=c),(b=s.value)==null||b.updateProps(Object.getOwnPropertyNames(y).length>0?cl([g,y],{camelizeObjectKeys:!0,mergeFunction:h,type:Object}):g)},{deep:!0}),r||(r=g=>{for(const b in g)o[b]=Ae(g[b])},r({jsonEditor:s}))}),()=>Nf("div",{ref:"jsonEditorRef"})}}),kSe={name:"splitpanes",emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click"],props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},provide(){return{requestUpdate:this.requestUpdate,onPaneAdd:this.onPaneAdd,onPaneRemove:this.onPaneRemove,onPaneClick:this.onPaneClick}},data:()=>({container:null,ready:!1,panes:[],touch:{mouseDown:!1,dragging:!1,activeSplitter:null},splitterTaps:{splitter:null,timeoutId:null}}),computed:{panesCount(){return this.panes.length},indexedPanes(){return this.panes.reduce((t,e)=>(t[e.id]=e)&&t,{})}},methods:{updatePaneComponents(){this.panes.forEach(t=>{t.update&&t.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[t.id].size}%`})})},bindEvents(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseDown(t,e){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=e},onMouseMove(t){this.touch.mouseDown&&(t.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(t)),this.$emit("resize",this.panes.map(e=>({min:e.min,max:e.max,size:e.size}))))},onMouseUp(){this.touch.dragging&&this.$emit("resized",this.panes.map(t=>({min:t.min,max:t.max,size:t.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(t,e){"ontouchstart"in window&&(t.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===e?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(t,e),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=e,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[e])},onSplitterDblClick(t,e){let n=0;this.panes=this.panes.map((r,i)=>(r.size=i===e?r.max:r.min,i!==e&&(n+=r.min),r)),this.panes[e].size-=n,this.$emit("pane-maximize",this.panes[e]),this.$emit("resized",this.panes.map(r=>({min:r.min,max:r.max,size:r.size})))},onPaneClick(t,e){this.$emit("pane-click",this.indexedPanes[e])},getCurrentMouseDrag(t){const e=this.container.getBoundingClientRect(),{clientX:n,clientY:r}="ontouchstart"in window&&t.touches?t.touches[0]:t;return{x:n-e.left,y:r-e.top}},getCurrentDragPercentage(t){t=t[this.horizontal?"y":"x"];const e=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(t=e-t),t*100/e},calculatePanesSize(t){const e=this.touch.activeSplitter;let n={prevPanesSize:this.sumPrevPanesSize(e),nextPanesSize:this.sumNextPanesSize(e),prevReachedMinPanes:0,nextReachedMinPanes:0};const r=0+(this.pushOtherPanes?0:n.prevPanesSize),i=100-(this.pushOtherPanes?0:n.nextPanesSize),o=Math.max(Math.min(this.getCurrentDragPercentage(t),i),r);let s=[e,e+1],a=this.panes[s[0]]||null,l=this.panes[s[1]]||null;const c=a.max<100&&o>=a.max+n.prevPanesSize,u=l.max<100&&o<=100-(l.max+this.sumNextPanesSize(e+1));if(c||u){c?(a.size=a.max,l.size=Math.max(100-a.max-n.prevPanesSize-n.nextPanesSize,0)):(a.size=Math.max(100-l.max-n.prevPanesSize-this.sumNextPanesSize(e+1),0),l.size=l.max);return}if(this.pushOtherPanes){const f=this.doPushOtherPanes(n,o);if(!f)return;({sums:n,panesToResize:s}=f),a=this.panes[s[0]]||null,l=this.panes[s[1]]||null}a!==null&&(a.size=Math.min(Math.max(o-n.prevPanesSize-n.prevReachedMinPanes,a.min),a.max)),l!==null&&(l.size=Math.min(Math.max(100-o-n.nextPanesSize-n.nextReachedMinPanes,l.min),l.max))},doPushOtherPanes(t,e){const n=this.touch.activeSplitter,r=[n,n+1];return e<t.prevPanesSize+this.panes[r[0]].min&&(r[0]=this.findPrevExpandedPane(n).index,t.prevReachedMinPanes=0,r[0]<n&&this.panes.forEach((i,o)=>{o>r[0]&&o<=n&&(i.size=i.min,t.prevReachedMinPanes+=i.min)}),t.prevPanesSize=this.sumPrevPanesSize(r[0]),r[0]===void 0)?(t.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((i,o)=>{o>0&&o<=n&&(i.size=i.min,t.prevReachedMinPanes+=i.min)}),this.panes[r[1]].size=100-t.prevReachedMinPanes-this.panes[0].min-t.prevPanesSize-t.nextPanesSize,null):e>100-t.nextPanesSize-this.panes[r[1]].min&&(r[1]=this.findNextExpandedPane(n).index,t.nextReachedMinPanes=0,r[1]>n+1&&this.panes.forEach((i,o)=>{o>n&&o<r[1]&&(i.size=i.min,t.nextReachedMinPanes+=i.min)}),t.nextPanesSize=this.sumNextPanesSize(r[1]-1),r[1]===void 0)?(t.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((i,o)=>{o<this.panesCount-1&&o>=n+1&&(i.size=i.min,t.nextReachedMinPanes+=i.min)}),this.panes[r[0]].size=100-t.prevPanesSize-t.nextReachedMinPanes-this.panes[this.panesCount-1].min-t.nextPanesSize,null):{sums:t,panesToResize:r}},sumPrevPanesSize(t){return this.panes.reduce((e,n,r)=>e+(r<t?n.size:0),0)},sumNextPanesSize(t){return this.panes.reduce((e,n,r)=>e+(r>t+1?n.size:0),0)},findPrevExpandedPane(t){return[...this.panes].reverse().find(e=>e.index<t&&e.size>e.min)||{}},findNextExpandedPane(t){return this.panes.find(e=>e.index>t+1&&e.size>e.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(t=>{const e=t.classList.contains("splitpanes__pane"),n=t.classList.contains("splitpanes__splitter");!e&&!n&&(t.parentNode.removeChild(t),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."))})},addSplitter(t,e,n=!1){const r=t-1,i=document.createElement("div");i.classList.add("splitpanes__splitter"),n||(i.onmousedown=o=>this.onMouseDown(o,r),typeof window<"u"&&"ontouchstart"in window&&(i.ontouchstart=o=>this.onMouseDown(o,r)),i.onclick=o=>this.onSplitterClick(o,r+1)),this.dblClickSplitter&&(i.ondblclick=o=>this.onSplitterDblClick(o,r+1)),e.parentNode.insertBefore(i,e)},removeSplitter(t){t.onmousedown=void 0,t.onclick=void 0,t.ondblclick=void 0,t.parentNode.removeChild(t)},redoSplitters(){const t=Array.from(this.container.children);t.forEach(n=>{n.className.includes("splitpanes__splitter")&&this.removeSplitter(n)});let e=0;t.forEach(n=>{n.className.includes("splitpanes__pane")&&(!e&&this.firstSplitter?this.addSplitter(e,n,!0):e&&this.addSplitter(e,n),e++)})},requestUpdate({target:t,...e}){const n=this.indexedPanes[t._.uid];Object.entries(e).forEach(([r,i])=>n[r]=i)},onPaneAdd(t){let e=-1;Array.from(t.$el.parentNode.children).some(i=>(i.className.includes("splitpanes__pane")&&e++,i===t.$el));const n=parseFloat(t.minSize),r=parseFloat(t.maxSize);this.panes.splice(e,0,{id:t._.uid,index:e,min:isNaN(n)?0:n,max:isNaN(r)?100:r,size:t.size===null?null:parseFloat(t.size),givenSize:t.size,update:t.update}),this.panes.forEach((i,o)=>i.index=o),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[e]}),this.$emit("pane-add",{index:e,panes:this.panes.map(i=>({min:i.min,max:i.max,size:i.size}))})})},onPaneRemove(t){const e=this.panes.findIndex(r=>r.id===t._.uid),n=this.panes.splice(e,1)[0];this.panes.forEach((r,i)=>r.index=i),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:{...n,index:e}}),this.$emit("pane-remove",{removed:n,panes:this.panes.map(r=>({min:r.min,max:r.max,size:r.size}))})})},resetPaneSizes(t={}){!t.addedPane&&!t.removedPane?this.initialPanesSizing():this.panes.some(e=>e.givenSize!==null||e.min||e.max<100)?this.equalizeAfterAddOrRemove(t):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(e=>({min:e.min,max:e.max,size:e.size})))},equalize(){const t=100/this.panesCount;let e=0;const n=[],r=[];this.panes.forEach(i=>{i.size=Math.max(Math.min(t,i.max),i.min),e-=i.size,i.size>=i.max&&n.push(i.id),i.size<=i.min&&r.push(i.id)}),e>.1&&this.readjustSizes(e,n,r)},initialPanesSizing(){let t=100;const e=[],n=[];let r=0;this.panes.forEach(o=>{t-=o.size,o.size!==null&&r++,o.size>=o.max&&e.push(o.id),o.size<=o.min&&n.push(o.id)});let i=100;t>.1&&(this.panes.forEach(o=>{o.size===null&&(o.size=Math.max(Math.min(t/(this.panesCount-r),o.max),o.min)),i-=o.size}),i>.1&&this.readjustSizes(t,e,n))},equalizeAfterAddOrRemove({addedPane:t,removedPane:e}={}){let n=100/this.panesCount,r=0;const i=[],o=[];t&&t.givenSize!==null&&(n=(100-t.givenSize)/(this.panesCount-1)),this.panes.forEach(s=>{r-=s.size,s.size>=s.max&&i.push(s.id),s.size<=s.min&&o.push(s.id)}),!(Math.abs(r)<.1)&&(this.panes.forEach(s=>{t&&t.givenSize!==null&&t.id===s.id||(s.size=Math.max(Math.min(n,s.max),s.min)),r-=s.size,s.size>=s.max&&i.push(s.id),s.size<=s.min&&o.push(s.id)}),r>.1&&this.readjustSizes(r,i,o))},readjustSizes(t,e,n){let r;t>0?r=t/(this.panesCount-e.length):r=t/(this.panesCount-n.length),this.panes.forEach((i,o)=>{if(t>0&&!e.includes(i.id)){const s=Math.max(Math.min(i.size+r,i.max),i.min),a=s-i.size;t-=a,i.size=s}else if(!n.includes(i.id)){const s=Math.max(Math.min(i.size+r,i.max),i.min),a=s-i.size;t-=a,i.size=s}i.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[i.id].size}%`})}),Math.abs(t)>.1&&this.$nextTick(()=>{this.ready&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})}},watch:{panes:{deep:!0,immediate:!1,handler(){this.updatePaneComponents()}},horizontal(){this.updatePaneComponents()},firstSplitter(){this.redoSplitters()},dblClickSplitter(t){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((e,n)=>{e.ondblclick=t?r=>this.onSplitterDblClick(r,n):void 0})}},beforeUnmount(){this.ready=!1},mounted(){this.container=this.$refs.container,this.checkSplitpanesNodes(),this.redoSplitters(),this.resetPaneSizes(),this.$emit("ready"),this.ready=!0},render(){return Nf("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},CSe=(t,e)=>{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n},ESe={name:"pane",inject:["requestUpdate","onPaneAdd","onPaneRemove","onPaneClick"],props:{size:{type:[Number,String],default:null},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},data:()=>({style:{}}),mounted(){this.onPaneAdd(this)},beforeUnmount(){this.onPaneRemove(this)},methods:{update(t){this.style=t}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(t){this.requestUpdate({target:this,size:t})},minSizeNumber(t){this.requestUpdate({target:this,min:t})},maxSizeNumber(t){this.requestUpdate({target:this,max:t})}}};function OSe(t,e,n,r,i,o){return We(),Ot("div",{class:"splitpanes__pane",onClick:e[0]||(e[0]=s=>o.onPaneClick(s,t._.uid)),style:rs(t.style)},[Hn(t.$slots,"default")],4)}const jT=CSe(ESe,[["render",OSe]]);function $T(t){return["url","extension","width","height","fonts","alt","props","renderer","html","component","renderer","emojis","_query","satori","resvg","sharp","screenshot","cacheMaxAgeSeconds"].includes(t)}function TSe(t,e=[]){t=t||{};const n=cv(t.props,Object.fromEntries(Object.entries({...t}).filter(([i])=>!$T(i)&&!e.includes(i)))),r={};return Object.entries(n).forEach(([i,o])=>{r[i.replace(/-([a-z])/g,s=>s[1].toUpperCase())]=o}),{...Object.fromEntries(Object.entries({...t}).filter(([i])=>$T(i)||e.includes(i))),props:r}}const PSe={class:"relative n-bg-base flex flex-col"},ASe={class:"sticky top-0 z-2 px-4 pt-4"},RSe={class:"flex justify-between items-start",mb2:""},MSe={class:"flex space-x-5"},NSe={"text-xl":"",flex:"","items-center":"","gap-2":""},ISe={class:"flex items-center space-x-3 text-xl"},LSe={class:"n-select-tabs flex flex-inline flex-wrap items-center border n-border-base rounded-lg n-bg-base"},DSe={class:"px-5 py-2"},BSe={"text-lg":"",flex:"","items-center":""},zSe={class:"px-5 py-2"},FSe={"text-lg":"",flex:"","items-center":""},VSe={class:"px-5 py-2"},HSe={"text-lg":"",flex:"","items-center":""},qSe={class:"px-5 py-2"},USe={"text-lg":"",flex:"","items-center":""},WSe=["value","title"],GSe={class:"items-center space-x-3 hidden lg:flex"},KSe={class:"opacity-80 text-sm"},JSe={class:"opacity-80 text-sm"},YSe={href:"https://nuxtseo.com",target:"_blank",class:"flex items-end gap-1.5 font-semibold text-xl dark:text-white font-title"},QSe={class:"flex-row flex p4 h-full",style:{"min-height":"calc(100vh - 64px)"}},XSe={class:"mx-auto flex flex-col w-full bg-white dark:bg-black dark:bg-dark-700 bg-light-200"},ZSe={key:0,class:"h-full relative max-h-full"},eke={key:0},tke={key:0},nke={class:"flex flex-col items-center justify-center mx-auto max-w-135 h-85vh"},rke={class:""},ike={class:"text-2xl font-semibold mb-3"},oke=Ve("code",null,"defineOgImage()",-1),ske={class:"text-lg opacity-80 my-3"},ake=Ve("code",null,"defineOgImage()",-1),lke=Ve("p",{class:"text-lg opacity-80"},[Ve("a",{href:"https://nuxtseo.com/og-image/getting-started/getting-familar-with-nuxt-og-image",target:"_blank",class:"underline"}," Learn more ")],-1),cke={key:1},uke={class:"flex justify-between items-center text-sm w-full absolute pr-[30px] top-0 left-0"},fke={class:"flex items-center text-lg space-x-1 w-[100px]"},dke={class:"text-xs"},hke=Ve("span",{class:"underline"},"View source",-1),pke={key:1},mke={class:"flex items-center w-[100px]"},gke={key:0,class:"n-icon carbon:side-panel-open"},vke={key:1,class:"n-icon carbon:open-panel-right"},yke=["href"],bke=["src"],wke={key:2,class:"w-full h-full"},xke={key:3,class:"mt-3 text-sm opacity-50 absolute bottom-3"},_ke={key:0,class:"text-sm p-2 opacity-80"},jke=Ve("code",null,"defineOgImage",-1),$ke={class:"opacity-80 text-base mb-1"},Ske={class:"flex space-between"},kke={class:"flex flex-grow items-center space-x-2 text-sm"},Cke={key:0,class:"flex items-center text-sm space-x-2"},Eke=Ve("label",{for:"emojis"},"Emojis",-1),Oke=Ve("option",{value:"noto"}," Noto ",-1),Tke=Ve("option",{value:"noto-v1"}," Noto v1 ",-1),Pke=Ve("option",{value:"twemoji"}," Twitter Emoji ",-1),Ake=Ve("option",{value:"fluent-emoji"}," Fluent Emoji ",-1),Rke=Ve("option",{value:"fluent-emoji-flat"}," Fluent Emoji Flat ",-1),Mke=Ve("option",{value:"emojione"}," Emojione ",-1),Nke=Ve("option",{value:"emojione-v1"}," Emojione v1 ",-1),Ike=Ve("option",{value:"streamline-emojis"}," Streamline Emojis ",-1),Lke=Ve("option",{value:"openmoji"}," Openmoji ",-1),Dke={class:"opacity-80 text-base mb-1"},Bke={class:"relative"},zke={key:0,class:"absolute top-1 right-1 text-10px ml-1 bg-blue-100 text-blue-700 px-1 py-2px rounded"},Fke={class:"opacity-80 text-base mb-1"},Vke={key:0,class:"text-sm"},Hke={key:0,class:"text-sm"},qke={key:1,class:"space-y-3"},Uke={class:"mt-5 text-center opacity-75"},Wke={key:1,class:"h-full max-h-full overflow-hidden space-y-5"},Gke={key:1},Kke={class:"opacity-80 text-base mb-1"},Jke={class:"flex flex-nowrap overflow-x-auto space-x-3 p2",style:{"-webkit-overflow-scrolling":"touch","-ms-overflow-style":"-ms-autohiding-scrollbar"}},Yke=["onClick"],Qke={class:"opacity-80 text-base mb-1"},Xke=Ve("br",null,null,-1),Zke={class:"flex flex-nowrap overflow-x-auto space-x-3 p2",style:{"-webkit-overflow-scrolling":"touch","-ms-overflow-style":"-ms-autohiding-scrollbar"}},eCe=["onClick"],tCe={key:2,class:"h-full max-h-full overflow-hidden"},nCe={class:"opacity-80 text-base mb-1"},rCe={class:"px-3 py-2 space-y-5"},iCe=["innerHTML"],oCe={class:"opacity-80 text-base mb-1"},sCe={class:"px-3 py-2 space-y-5"},aCe=["innerHTML"],lCe={class:"opacity-80 text-base mb-1"},cCe={class:"px-3 py-2 space-y-5"},uCe=["innerHTML"],fCe={class:"opacity-80 text-base mb-1"},dCe={class:"px-3 py-2 space-y-5"},hCe=["innerHTML"],pCe={key:3,class:"h-full max-h-full overflow-hidden"},mCe=Ve("iframe",{src:"https://nuxtseo.com/og-image",class:"w-full h-full border-none",style:{"min-height":"calc(100vh - 100px)"}},null,-1),gCe=[mCe],vCe=zr({__name:"app",async setup(t){let e,n;sw({title:"OG Image Playground"});const{data:r}=oW(),i=Ft("noto"),o=vk(),{data:s,pending:a,error:l}=o;Ar(s,O=>{O&&(Ir.value=TSe(Ae(O.options),["socialPreview","options"]),i.value=Ir.value.emojis,gk.value=Ir.value.props)},{immediate:!0});const c=en(()=>yv.value==="dark");sw({htmlAttrs:{class:c.value?"dark":""}});function u(O){ro.value=cv({props:O},ro.value),jd.value=!0,qi()}const f=$y("nuxt-og-image:tab","design");function d(O){f.value="design",delete O.options,ro.value=cv(O,ro.value),jd.value=!0,qi()}async function h(O=!0){O&&await vk(),ro.value={},jd.value=!1,O&&qi()}[e,n]=jB(()=>h(!1)),await e,n();const p=en(()=>{var O;return((O=r.value)==null?void 0:O.runtimeConfig.defaults)||{height:600,width:1200}}),m=en(()=>{var O,R;return((O=ro.value)==null?void 0:O.height)||((R=Ir.value)==null?void 0:R.height)||p.value.height}),v=en(()=>{var O,R;return((O=ro.value)==null?void 0:O.width)||((R=Ir.value)==null?void 0:R.width)||p.value.width}),g=en(()=>v.value/m.value),b=en(()=>{var O,R;return((O=ro.value)==null?void 0:O.extension)||((R=Ir.value)==null?void 0:R.extension)||"png"}),y=$y("nuxt-og-image:social-preview","twitter"),x=en(()=>s.value?lf(fu(fU.value,"/__og-image__/image",Ih.value,`/og.${b.value}`),{timestamp:o1.value,...ro.value,_query:mw.value}):""),w=en(()=>{var O,R,U,fe,Oe,he,le;return y.value==="twitter"&&((U=(R=(O=Ir.value)==null?void 0:O.socialPreview)==null?void 0:R.twitter)!=null&&U.title)?(Oe=(fe=Ir.value)==null?void 0:fe.socialPreview)==null?void 0:Oe.twitter.title:(le=(he=Ir.value)==null?void 0:he.socialPreview)==null?void 0:le.og.title}),_=en(()=>{var O,R,U,fe,Oe,he,le;return y.value==="twitter"&&((U=(R=(O=Ir.value)==null?void 0:O.socialPreview)==null?void 0:R.twitter)!=null&&U.description)?(Oe=(fe=Ir.value)==null?void 0:fe.socialPreview)==null?void 0:Oe.twitter.description:(le=(he=Ir.value)==null?void 0:he.socialPreview)==null?void 0:le.og.description}),k=en(()=>{var O,R,U,fe;return JP(((R=(O=s.value)==null?void 0:O.siteConfig)==null?void 0:R.url)||"/").host||((fe=(U=s.value)==null?void 0:U.siteConfig)==null?void 0:fe.url)||"/"}),D=en(()=>{var O,R;return((R=(O=Ir.value)==null?void 0:O.socialPreview)==null?void 0:R.og.site_name)||k.value});function L(O){!O||O===y.value?y.value="":y.value=O}const C=en(()=>{var O,R;return((O=ro.value)==null?void 0:O.component)||((R=Ir.value)==null?void 0:R.component)||"NuxtSeo"}),V=en(()=>{var O,R;return((O=ro.value)==null?void 0:O.renderer)||((R=Ir.value)==null?void 0:R.renderer)||"satori"}),M=en(()=>{var R;const O=((R=r.value)==null?void 0:R.componentNames)||[];return[O.find(U=>U.pascalName===C.value),...O.filter(U=>U.pascalName!==C.value)].filter(Boolean)}),q=en(()=>M.value.filter(O=>O.category==="community")),H=en(()=>M.value.filter(O=>O.category==="app")),J=aU(),F=$y("nuxt-og-image:side-panel-open",J.width.value>=1024);Ar(J.width,O=>{O<1024&&F.value&&(F.value=!1)},{immediate:!0});const W=Ft(!1);function E(O){const R=(b.value||"").toUpperCase();let U="";switch(b.value){case"png":U=V.value==="satori"?"Satori and ReSVG":"Chromium";break;case"jpeg":case"jpg":U=V.value==="satori"?"Satori, ReSVG and Sharp":"Chromium";break;case"svg":U="Satori";break}W.value=!1,R!=="HTML"?_d.value=`Generated ${v.value}x${m.value} ${O.sizeKb?`${O.sizeKb}kB`:""} ${R} ${U?`with ${U}`:""} in ${O.timeTaken}ms.`:_d.value=""}Ar([V,ro],()=>{_d.value="Loading...",W.value=!0});function z(){window.open(x.value,"_blank")}const T=en(()=>{var O,R,U,fe;return(fe=(U=(R=(O=kc.value)==null?void 0:O.host.nuxt.vueApp.config)==null?void 0:R.globalProperties)==null?void 0:U.$route.matched[0].components)==null?void 0:fe.default.__file});function I(){var O;(O=kc.value)==null||O.devtools.rpc.openInEditor(T.value)}function ne(){var R;const O=M.value.find(U=>U.pascalName===C.value);(R=kc.value)==null||R.devtools.rpc.openInEditor(O.path)}const B=en(()=>C.value==="PageScreenshot");Ar(i,O=>{var R;O!==((R=Ir.value)==null?void 0:R.emojis)&&d({emojis:O})});const $=en(()=>{var R,U,fe,Oe;const O=(Oe=(fe=(U=(R=kc.value)==null?void 0:R.host.nuxt.vueApp.config)==null?void 0:U.globalProperties)==null?void 0:fe.$route.matched[0].components)==null?void 0:Oe.default.__file;return`pages/${O==null?void 0:O.split("pages/")[1]}`});return(O,R)=>{const U=od,fe=xq,Oe=La("VTooltip"),he=WA,le=Aq,tt=Rq,Z=KA,oe=i5,be=xU,Y=RU,ye=IU,Re=UU,we=a_,Le=GA,_e=GU,xe=tW;return We(),Ot("div",PSe,[Ve("header",ASe,[Ve("div",RSe,[Ve("div",MSe,[Ve("h1",NSe,[at(U,{icon:"carbon:image-search",class:"text-blue-300"}),Ht(" OG Image "),at(fe,{class:"text-sm"},{default:vt(()=>{var $e,ce;return[Ht(Tr((ce=($e=Ae(r))==null?void 0:$e.runtimeConfig)==null?void 0:ce.version),1)]}),_:1})])]),Ve("div",ISe,[Ve("fieldset",LSe,[(We(),Ot(Ur,null,om(["design","templates","debug","docs"],($e,ce)=>Ve("label",{key:ce,class:wr(["relative n-border-base hover:n-bg-active cursor-pointer",[ce?"border-l n-border-base ml--1px":"",$e===Ae(f)?"n-bg-active":"",Ae(B)&&$e==="templates"?"hidden":"",Ae(a)||Ae(l)?"n-disabled":""]])},[$e==="design"?(We(),Ot("div",{key:0,class:wr([$e===Ae(f)?"":"op35"])},[at(Oe,null,{popper:vt(()=>[Ht(" Design ")]),default:vt(()=>[Ve("div",DSe,[Ve("h2",BSe,[at(U,{icon:"carbon:brush-freehand opacity-50"})])])]),_:1})],2)):Ln("",!0),$e==="templates"?(We(),Ot("div",{key:1,class:wr([$e===Ae(f)?"":"op35"])},[at(Oe,null,{popper:vt(()=>[Ht(" Templates ")]),default:vt(()=>[Ve("div",zSe,[Ve("h2",FSe,[at(U,{icon:"carbon:image opacity-50"})])])]),_:1})],2)):$e==="debug"?(We(),Ot("div",{key:2,class:wr([$e===Ae(f)?"":"op35"])},[at(Oe,null,{popper:vt(()=>[Ht(" Debug ")]),default:vt(()=>[Ve("div",VSe,[Ve("h2",HSe,[at(U,{icon:"carbon:debug opacity-50"})])])]),_:1})],2)):$e==="docs"?(We(),Ot("div",{key:3,class:wr([$e===Ae(f)?"":"op35"])},[at(Oe,null,{popper:vt(()=>[Ht(" Documentation ")]),default:vt(()=>[Ve("div",qSe,[Ve("h2",USe,[at(U,{icon:"carbon:book opacity-50"})])])]),_:1})],2)):Ln("",!0),uP(Ve("input",{"onUpdate:modelValue":R[0]||(R[0]=Ie=>oi(f)?f.value=Ie:null),type:"radio",value:$e,title:$e,class:"absolute cursor-pointer pointer-events-none inset-0 op-0.1"},null,8,WSe),[[$z,Ae(f)]])],2)),64))]),at(Oe,null,{popper:vt(()=>[Ht(" Refresh ")]),default:vt(()=>[Ve("button",{"text-lg":"",type:"button",class:"n-icon-button n-button n-transition n-disabled:n-disabled",onClick:R[1]||(R[1]=(...$e)=>Ae(qi)&&Ae(qi)(...$e))},[at(U,{icon:"carbon:reset",class:"group-hover:text-green-500"})])]),_:1})]),Ve("div",GSe,[Ve("div",KSe,[at(he,{href:"https://github.com/sponsors/harlan-zw",target:"_blank"},{default:vt(()=>[at(U,{icon:"carbon:favorite",class:"mr-[2px]"}),Ht(" Sponsor ")]),_:1})]),Ve("div",JSe,[at(he,{href:"https://github.com/nuxt-modules/og-image",target:"_blank"},{default:vt(()=>[at(U,{icon:"logos:github-icon",class:"mr-[2px]"}),Ht(" Submit an issue ")]),_:1})]),Ve("a",YSe,[at(le)])])])]),Ve("div",QSe,[Ve("main",XSe,[Ae(f)==="design"?(We(),Ot("div",ZSe,[Ae(l)?(We(),Ot("div",eke,[Ae(l).message.includes("missing the Nuxt OG Image payload")?(We(),Ot("div",tke,[Ve("div",nke,[Ve("div",rke,[Ve("h2",ike,[at(U,{icon:"carbon:information",class:"text-blue-500"}),Ht(" Oops! Did you forget "),oke,Ht("? ")]),Ve("p",ske,[Ht(" Getting started with Nuxt OG Image is easy, simply add the "),ake,Ht(" within setup script setup of your "),Ve("code",{class:"underline cursor-pointer",onClick:I},Tr(Ae($)),1),Ht(" file. ")]),lke])])])):(We(),Ot("div",cke,Tr(Ae(l)),1))])):(We(),an(Ae(kSe),{key:1,class:"default-theme",onResize:Ae(uU)},{default:vt(()=>[at(Ae(jT),{size:"60",class:"flex h-full justify-center items-center relative n-panel-grids-center pr-4",style:{"padding-top":"30px"}},{default:vt(()=>{var $e,ce;return[Ve("div",uke,[Ve("div",fke,[(ce=($e=Ae(r))==null?void 0:$e.compatibility)!=null&&ce.sharp||Ae(V)==="chromium"?(We(),an(tt,{key:0,icon:"carbon:jpg",border:Ae(b)==="jpeg"||Ae(b)==="jpg",onClick:R[2]||(R[2]=Ie=>d({extension:"jpg"}))},null,8,["border"])):Ln("",!0),at(tt,{icon:"carbon:png",border:Ae(b)==="png",onClick:R[3]||(R[3]=Ie=>d({extension:"png"}))},null,8,["border"]),Ae(V)!=="chromium"?(We(),an(tt,{key:1,icon:"carbon:svg",border:Ae(b)==="svg",onClick:R[4]||(R[4]=Ie=>d({extension:"svg"}))},null,8,["border"])):Ln("",!0),Ae(B)?Ln("",!0):(We(),an(tt,{key:2,icon:"carbon:html",border:Ae(b)==="html",onClick:R[5]||(R[5]=Ie=>d({extension:"html"}))},null,8,["border"]))]),Ve("div",dke,[Ae(B)?(We(),Ot("div",pke," Screenshot of the current page. ")):(We(),Ot("div",{key:0,class:"opacity-70 space-x-1 hover:opacity-90 transition cursor-pointer",onClick:ne},[Ve("span",null,Tr(Ae(C).replace("OgImage","")),1),hke]))]),Ve("div",mke,[at(tt,{icon:"carbon:drag-horizontal",border:!Ae(y),onClick:R[6]||(R[6]=Ie=>L())},null,8,["border"]),at(tt,{icon:"logos:twitter",border:Ae(y)==="twitter",onClick:R[7]||(R[7]=Ie=>L("twitter"))},null,8,["border"]),at(tt,{icon:"logos:slack-icon",border:Ae(y)==="slack",onClick:R[8]||(R[8]=Ie=>L("slack"))},null,8,["border"]),at(Oe,null,{popper:vt(()=>[Ht(" Toggle Sidebar ")]),default:vt(()=>[Ve("button",{"text-lg":"",type:"button",class:"n-icon-button n-button n-transition n-disabled:n-disabled",onClick:R[9]||(R[9]=Ie=>F.value=!Ae(F))},[Ae(F)?(We(),Ot("div",gke)):(We(),Ot("div",vke))])]),_:1})])]),Ae(y)==="twitter"?(We(),an(be,{key:0,title:Ae(w)},{domain:vt(()=>[Ve("a",{target:"_blank",href:Ae(sF)(Ae(k))},"From "+Tr(Ae(k)),9,yke)]),default:vt(()=>[Ae(b)!=="html"?(We(),an(Z,{key:0,src:Ae(x),"aspect-ratio":Ae(g),onLoad:E,onClick:z,onRefresh:Ae(qi)},null,8,["src","aspect-ratio","onRefresh"])):(We(),an(oe,{key:1,src:Ae(x),"max-height":"300","aspect-ratio":Ae(g),onLoad:E,onRefresh:Ae(qi)},null,8,["src","aspect-ratio","onRefresh"]))]),_:1},8,["title"])):Ae(y)==="slack"?(We(),an(Y,{key:1},{favIcon:vt(()=>{var Ie;return[Ve("img",{src:`${(Ie=Ae(k))!=null&&Ie.includes("localhost")?"http":"https"}://${Ae(k)}/favicon.ico`},null,8,bke)]}),siteName:vt(()=>[Ht(Tr(Ae(D)),1)]),title:vt(()=>[Ht(Tr(Ae(w)),1)]),description:vt(()=>[Ht(Tr(Ae(_)),1)]),default:vt(()=>[Ae(b)!=="html"?(We(),an(Z,{key:0,src:Ae(x),class:"!h-[300px]","aspect-ratio":Ae(g),onLoad:E,onRefresh:Ae(qi)},null,8,["src","aspect-ratio","onRefresh"])):(We(),an(oe,{key:1,src:Ae(x),"aspect-ratio":Ae(g),onLoad:E,onRefresh:Ae(qi)},null,8,["src","aspect-ratio","onRefresh"]))]),_:1})):(We(),Ot("div",wke,[Ae(b)!=="html"?(We(),an(Z,{key:0,src:Ae(x),"aspect-ratio":Ae(g),onLoad:E,onRefresh:Ae(qi)},null,8,["src","aspect-ratio","onRefresh"])):(We(),an(oe,{key:1,src:Ae(x),"aspect-ratio":Ae(g),onLoad:E,onRefresh:Ae(qi)},null,8,["src","aspect-ratio","onRefresh"]))])),Ae(_d)?(We(),Ot("div",xke,Tr(Ae(_d)),1)):Ln("",!0)]}),_:1}),Ae(F)?(We(),an(Ae(jT),{key:0,size:"40"},{default:vt(()=>[Ae(jd)?(We(),Ot("div",_ke,[Ve("div",null,[Ht(" You are previewing changes, you'll need to update your "),jke,Ht(" to persist them. "),at(tt,{type:"button",class:"underline",onClick:R[10]||(R[10]=$e=>h(!0))},{default:vt(()=>[Ht(" Reset ")]),_:1})])])):Ln("",!0),at(Re,null,{text:vt(()=>[Ve("h3",$ke,[at(U,{name:"carbon:gui-management",class:"mr-1"}),Ht(" Render ")])]),default:vt(()=>{var $e,ce,Ie,A;return[Ve("div",Ske,[Ve("div",kke,[(ce=($e=Ae(r))==null?void 0:$e.compatibility)!=null&&ce.satori&&!Ae(B)?(We(),an(tt,{key:0,icon:"logos:vercel-icon",border:Ae(V)==="satori",onClick:R[11]||(R[11]=X=>d({renderer:"satori"}))},{default:vt(()=>[Ht(" Satori ")]),_:1},8,["border"])):Ln("",!0),(A=(Ie=Ae(r))==null?void 0:Ie.compatibility)!=null&&A.chromium?(We(),an(tt,{key:1,icon:"logos:chrome",border:Ae(V)==="chromium",onClick:R[12]||(R[12]=X=>d({renderer:"chromium"}))},{default:vt(()=>[Ht(" Chromium ")]),_:1},8,["border"])):Ln("",!0)]),Ae(B)?Ln("",!0):(We(),Ot("div",Cke,[Eke,at(ye,{id:"emojis",modelValue:i.value,"onUpdate:modelValue":R[13]||(R[13]=X=>i.value=X)},{default:vt(()=>[Oke,Tke,Pke,Ake,Rke,Mke,Nke,Ike,Lke]),_:1},8,["modelValue"])]))])]}),_:1}),Ae(B)?Ln("",!0):(We(),an(Re,{key:1},{text:vt(()=>[Ve("h3",Dke,[at(U,{name:"carbon:operations-record",class:"mr-1"}),Ht(" Props ")])]),default:vt(()=>[Ve("div",Bke,[at(Ae(SSe),{"model-value":Ae(gk),class:wr(Ae(c)?["jse-theme-dark"]:[]),"main-menu-bar":!1,"navigation-bar":!1,"onUpdate:modelValue":u},null,8,["model-value","class"]),Ae(jd)?(We(),Ot("span",zke,"modified")):Ln("",!0)])]),_:1})),at(Re,null,{text:vt(()=>[Ve("h3",Fke,[at(U,{icon:"carbon:checkmark-filled-warning",class:"mr-1"}),Ht(" Compatibility ")])]),default:vt(()=>{var $e;return[($e=Ae(s))!=null&&$e.compatibilityHints?(We(),Ot("div",Vke,[Ae(s).compatibilityHints.length?(We(),Ot("div",qke,[(We(!0),Ot(Ur,null,om(Ae(s).compatibilityHints,(ce,Ie)=>(We(),Ot("div",{key:Ie,class:"space-x-2 flex items-center opacity-65"},[at(U,{icon:"carbon:warning",class:"text-yellow-500"}),Ve("div",null,Tr(ce),1)]))),128))])):(We(),Ot("div",Hke,[at(U,{icon:"carbon:checkmark",class:"text-green-500"}),Ht(" Looks good. ")])),Ve("div",Uke,[Ht(" See the "),at(we,{target:"_blank",to:"https://nuxtseo.com/og-image/guides/compatibility",class:"underline"},{default:vt(()=>[Ht(" compatibility guide ")]),_:1}),Ht(" to learn more. ")])])):Ln("",!0)]}),_:1})]),_:1})):Ln("",!0)]),_:1},8,["onResize"]))])):Ae(f)==="templates"?(We(),Ot("div",Wke,[W.value?(We(),an(Le,{key:0})):(We(),Ot("div",Gke,[Ae(H).length?(We(),an(Re,{key:0},{text:vt(()=>[Ve("h3",Kke,[at(U,{name:"carbon:app",class:"mr-1"}),Ht(" App Templates ")])]),default:vt(()=>[at(_e,null,{default:vt(()=>[Ht("These are the OG Image templates that belong to your project.")]),_:1}),Ve("div",Jke,[(We(!0),Ot(Ur,null,om(Ae(H),$e=>(We(),Ot("button",{key:$e.pascalName,class:"!p-0",onClick:ce=>d({component:$e.pascalName})},[at(xe,{component:$e,src:Ae(lf)(Ae(x),{component:$e.pascalName}),"aspect-ratio":Ae(g),active:$e.pascalName===Ae(C)},null,8,["component","src","aspect-ratio","active"])],8,Yke))),128))])]),_:1})):Ln("",!0),at(Re,null,{text:vt(()=>[Ve("h3",Qke,[at(U,{name:"carbon:airline-passenger-care",class:"mr-1"}),Ht(" Community Templates ")])]),default:vt(()=>[at(_e,null,{default:vt(()=>[Ht("These are OG Image templates created by the community."),Xke,Ht("You can try them out by clicking on them, when you find one you like, view the source and copy+paste.")]),_:1}),Ve("div",Zke,[(We(!0),Ot(Ur,null,om(Ae(q),$e=>(We(),Ot("button",{key:$e.pascalName,class:"!p-0",onClick:ce=>d({component:$e.pascalName})},[at(xe,{component:$e,src:Ae(lf)(Ae(x),{component:$e.pascalName}),"aspect-ratio":Ae(g),active:$e.pascalName===Ae(C)},null,8,["component","src","aspect-ratio","active"])],8,eCe))),128))])]),_:1})]))])):Ae(f)==="debug"?(We(),Ot("div",tCe,[at(Re,null,{text:vt(()=>[Ve("h3",nCe,[at(U,{icon:"carbon:settings",class:"mr-1"}),Ht(" Compatibility ")])]),default:vt(()=>{var $e;return[Ve("div",rCe,[Ve("pre",{"of-auto":"","h-full":"","text-sm":"",style:{"white-space":"break-spaces"},innerHTML:Ae(bm)(JSON.stringify((($e=Ae(r))==null?void 0:$e.compatibility)||{},null,2),"json")},null,8,iCe)])]}),_:1}),at(Re,null,{text:vt(()=>[Ve("h3",oCe,[at(U,{icon:"carbon:ibm-cloud-pak-manta-automated-data-lineage",class:"mr-1"}),Ht(" vNodes ")])]),default:vt(()=>{var $e;return[Ve("div",sCe,[Ve("pre",{"of-auto":"","h-full":"","text-sm":"",style:{"max-height":"500px","overflow-y":"auto","white-space":"break-spaces"},innerHTML:Ae(bm)(JSON.stringify((($e=Ae(s))==null?void 0:$e.vnodes)||{},null,2),"json")},null,8,aCe)])]}),_:1}),at(Re,null,{text:vt(()=>[Ve("h3",lCe,[at(U,{icon:"carbon:ibm-cloud-pak-manta-automated-data-lineage",class:"mr-1"}),Ht(" SVG ")])]),default:vt(()=>{var $e;return[Ve("div",cCe,[Ve("pre",{"of-auto":"","h-full":"","text-sm":"",style:{"max-height":"500px","overflow-y":"auto","white-space":"break-spaces"},innerHTML:Ae(bm)((($e=Ae(s))==null?void 0:$e.svg.replaceAll(">",`>
129
129
  `))||"","html")},null,8,uCe)])]}),_:1}),at(Re,null,{text:vt(()=>[Ve("h3",fCe,[at(U,{icon:"carbon:settings",class:"mr-1"}),Ht(" Runtime Config ")])]),default:vt(()=>{var $e;return[Ve("div",dCe,[Ve("pre",{"of-auto":"","h-full":"","text-sm":"",style:{"white-space":"break-spaces"},innerHTML:Ae(bm)(JSON.stringify((($e=Ae(r))==null?void 0:$e.runtimeConfig)||{},null,2),"json")},null,8,hCe)])]}),_:1})])):Ae(f)==="docs"?(We(),Ot("div",pCe,gCe)):Ln("",!0)])])])}}}),yCe={__name:"nuxt-error-page",props:{error:Object},setup(t){const n=t.error;n.stack&&n.stack.split(`
130
130
  `).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(`
131
- `);const r=Number(n.statusCode||500),i=r===404,o=n.statusMessage??(i?"Page Not Found":"Internal Server Error"),s=n.message||n.toString(),a=void 0,u=i?lS(()=>re(()=>import("./Dr4yXoA7.js"),__vite__mapDeps([117,118]),import.meta.url).then(f=>f.default||f)):lS(()=>re(()=>import("./B-hN5syD.js"),__vite__mapDeps([119,120]),import.meta.url).then(f=>f.default||f));return(f,d)=>(We(),an(Ae(u),AT(G2({statusCode:Ae(r),statusMessage:Ae(o),description:Ae(s),stack:Ae(a)})),null,16))}},bCe={key:0},ST={__name:"nuxt-root",setup(t){const e=()=>null,n=Rr(),r=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",r);Xs().beforeEach(l)}const i=!1;pP(aA,lA()),n.hooks.callHookWith(l=>l.map(c=>c()),"vue:setup");const o=e_(),s=!1;cP((l,c,u)=>{if(n.hooks.callHook("vue:error",l,c,u).catch(f=>console.error("[nuxt] Error in `vue:error` hook",f)),rV(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>tV(l)),!1});const a=!1;return(l,c)=>(We(),an(fB,{onResolve:Ae(r)},{default:vt(()=>[Ae(s)?(We(),Ot("div",bCe)):Ae(o)?(We(),an(Ae(yCe),{key:1,error:Ae(o)},null,8,["error"])):Ae(a)?(We(),an(Ae(e),{key:2,context:Ae(a)},null,8,["context"])):Ae(i)?(We(),an(iP(Ae(i)),{key:3})):(We(),an(Ae(vCe),{key:4}))]),_:1},8,["onResolve"]))}};let kT;{let t;kT=async function(){var s,a;if(t)return t;const r=!!((s=window.__NUXT__)!=null&&s.serverRendered||((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?Rz(ST):zP(ST),i=zF({vueApp:r});async function o(l){await i.callHook("app:error",l),i.payload.error=i.payload.error||Q0(l)}r.config.errorHandler=o;try{await HF(i,pq)}catch(l){o(l)}try{await i.hooks.callHook("app:created",r),await i.hooks.callHook("app:beforeMount",r),r.mount(DF),await i.hooks.callHook("app:mounted",r),await Yl()}catch(l){o(l)}return r.config.errorHandler===o&&(r.config.errorHandler=void 0),r},t=kT().catch(e=>{throw console.error("Error while mounting app:",e),e})}export{Zl as _,Ve as a,at as b,Ot as c,Ht as d,a_ as e,z2 as f,We as o,B2 as p,Tr as t,sw as u,vt as w};
131
+ `);const r=Number(n.statusCode||500),i=r===404,o=n.statusMessage??(i?"Page Not Found":"Internal Server Error"),s=n.message||n.toString(),a=void 0,u=i?lS(()=>re(()=>import("./DVxyIIKo.js"),__vite__mapDeps([117,118]),import.meta.url).then(f=>f.default||f)):lS(()=>re(()=>import("./WfFM8TlZ.js"),__vite__mapDeps([119,120]),import.meta.url).then(f=>f.default||f));return(f,d)=>(We(),an(Ae(u),AT(G2({statusCode:Ae(r),statusMessage:Ae(o),description:Ae(s),stack:Ae(a)})),null,16))}},bCe={key:0},ST={__name:"nuxt-root",setup(t){const e=()=>null,n=Rr(),r=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",r);Xs().beforeEach(l)}const i=!1;pP(aA,lA()),n.hooks.callHookWith(l=>l.map(c=>c()),"vue:setup");const o=e_(),s=!1;cP((l,c,u)=>{if(n.hooks.callHook("vue:error",l,c,u).catch(f=>console.error("[nuxt] Error in `vue:error` hook",f)),rV(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>tV(l)),!1});const a=!1;return(l,c)=>(We(),an(fB,{onResolve:Ae(r)},{default:vt(()=>[Ae(s)?(We(),Ot("div",bCe)):Ae(o)?(We(),an(Ae(yCe),{key:1,error:Ae(o)},null,8,["error"])):Ae(a)?(We(),an(Ae(e),{key:2,context:Ae(a)},null,8,["context"])):Ae(i)?(We(),an(iP(Ae(i)),{key:3})):(We(),an(Ae(vCe),{key:4}))]),_:1},8,["onResolve"]))}};let kT;{let t;kT=async function(){var s,a;if(t)return t;const r=!!((s=window.__NUXT__)!=null&&s.serverRendered||((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?Rz(ST):zP(ST),i=zF({vueApp:r});async function o(l){await i.callHook("app:error",l),i.payload.error=i.payload.error||Q0(l)}r.config.errorHandler=o;try{await HF(i,pq)}catch(l){o(l)}try{await i.hooks.callHook("app:created",r),await i.hooks.callHook("app:beforeMount",r),r.mount(DF),await i.hooks.callHook("app:mounted",r),await Yl()}catch(l){o(l)}return r.config.errorHandler===o&&(r.config.errorHandler=void 0),r},t=kT().catch(e=>{throw console.error("Error while mounting app:",e),e})}export{Zl as _,Ve as a,at as b,Ot as c,Ht as d,a_ as e,z2 as f,We as o,B2 as p,Tr as t,sw as u,vt as w};