nuxt-og-image 4.0.3 → 4.1.1

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.
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CMt9yHYq.js","./BMYPR7BL.js","./ySlJ1b_l.js","./BPhBrDlE.js","./Drsz93k2.js","./Bl1h29GH.js","./CGVVOGHx.js","./cPjAOO0u.js","./xI-RfyKK.js","./BQoSv7ci.js","./B-k3dvlD.js","./Dj6nwHGl.js","./B3ZDOciz.js","./CZe0XNBd.js","./COK4E0Yg.js","./Bu73EIfS.js","./BLhTXw86.js","./D8mZ0lfy.js","./DhUJRlN_.js","./DLVR-baX.js","./DKOGybHv.js","./BEhvmC7f.js","./DWJ3fJO_.js","./COyJrUc7.js","./C3t2pwGQ.js","./CQ0soPOq.js","./atvbtKCR.js","./BsOYHjMa.js","./e4jU7D2d.js","./B5auBHZD.js","./BdxkyMLR.js","./UL5zprDm.js","./CYFUjXW1.js","./m4gc_qpA.js","./DjHMNizO.js","./BAng5TT0.js","./B6W0miNI.js","./Dbxjm_CC.js","./CVw76BM1.js","./DRNBmV_Q.js","./DKXYxT9g.js","./Dmy2k9nq.js","./UIAJJxZW.js","./BQwtg7Y-.js","./SKMF96pI.js","./DfxzS6Rs.js","./CKg9tqCS.js","./BgYniUM_.js","./CyIGOvEh.js","./C-wny61x.js","./C5Y8tDhP.js","./C30yJ1fx.js","./C0nbwVuJ.js","./din0uRiO.js","./YJb9dmdj.js","./C5wWYbrZ.js","./DPvbFsQx.js","./3kbuJQcV.js","./CsSk9TLD.js","./Bw0wYZmb.js","./CwjWoCRV.js","./DsWjAdsX.js","./qmhIZ77x.js","./BVr_1_27.js","./Cz8P-rqG.js","./BfCpw3nA.js","./BE9QQhgF.js","./9C6ErRqt.js","./D5pd2Owo.js","./C1tVc3UG.js","./HNqc6WRo.js","./DYvnoCeB.js","./Bid6LQhH.js","./CcHjYXgz.js","./D9R-vmeu.js","./CSp6iqVD.js","./DbXoA79R.js","./BiFfXF7O.js","./B14Poo8t.js","./ifBTmRxC.js","./BNHBcdi1.js","./qpfuy3xp.js","./SPD3sf1n.js","./BMR_PYu6.js","./R900dpIa.js","./BXW1EomU.js","./BLDCaNbg.js","./B1SYOhNW.js","./wI6OXr6j.js","./DDtJtuOZ.js","./DRhBOlRY.js","./BlxRB_8X.js","./ahYVQIuB.js","./DB6BmnZb.js","./error-404.CnNYq3i9.css","./BEqZJfBF.js","./error-500.BlU6WHQT.css"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CMt9yHYq.js","./BMYPR7BL.js","./ySlJ1b_l.js","./BPhBrDlE.js","./Drsz93k2.js","./Bl1h29GH.js","./CGVVOGHx.js","./cPjAOO0u.js","./xI-RfyKK.js","./BQoSv7ci.js","./B-k3dvlD.js","./Dj6nwHGl.js","./B3ZDOciz.js","./CZe0XNBd.js","./COK4E0Yg.js","./Bu73EIfS.js","./BLhTXw86.js","./D8mZ0lfy.js","./DhUJRlN_.js","./DLVR-baX.js","./DKOGybHv.js","./BEhvmC7f.js","./DWJ3fJO_.js","./COyJrUc7.js","./C3t2pwGQ.js","./CQ0soPOq.js","./atvbtKCR.js","./BsOYHjMa.js","./e4jU7D2d.js","./B5auBHZD.js","./BdxkyMLR.js","./UL5zprDm.js","./CYFUjXW1.js","./m4gc_qpA.js","./DjHMNizO.js","./BAng5TT0.js","./B6W0miNI.js","./Dbxjm_CC.js","./CVw76BM1.js","./DRNBmV_Q.js","./DKXYxT9g.js","./Dmy2k9nq.js","./UIAJJxZW.js","./BQwtg7Y-.js","./SKMF96pI.js","./DfxzS6Rs.js","./CKg9tqCS.js","./BgYniUM_.js","./CyIGOvEh.js","./C-wny61x.js","./C5Y8tDhP.js","./C30yJ1fx.js","./C0nbwVuJ.js","./din0uRiO.js","./YJb9dmdj.js","./C5wWYbrZ.js","./DPvbFsQx.js","./3kbuJQcV.js","./CsSk9TLD.js","./Bw0wYZmb.js","./CwjWoCRV.js","./DsWjAdsX.js","./qmhIZ77x.js","./BVr_1_27.js","./Cz8P-rqG.js","./BfCpw3nA.js","./BE9QQhgF.js","./9C6ErRqt.js","./D5pd2Owo.js","./C1tVc3UG.js","./HNqc6WRo.js","./DYvnoCeB.js","./Bid6LQhH.js","./CcHjYXgz.js","./D9R-vmeu.js","./CSp6iqVD.js","./DbXoA79R.js","./BiFfXF7O.js","./B14Poo8t.js","./ifBTmRxC.js","./BNHBcdi1.js","./qpfuy3xp.js","./SPD3sf1n.js","./BMR_PYu6.js","./R900dpIa.js","./BXW1EomU.js","./B2vK47Ag.js","./B1SYOhNW.js","./wI6OXr6j.js","./DDtJtuOZ.js","./DRhBOlRY.js","./BlxRB_8X.js","./ahYVQIuB.js","./B-MI_7-y.js","./error-404.CeB15F3i.css","./BXWLJovA.js","./error-500.kWwbyTjN.css"])))=>i.map(i=>d[i]);
2
2
  var _6=Object.defineProperty;var j6=(t,e,n)=>e in t?_6(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var De=(t,e,n)=>j6(t,typeof e!="symbol"?e+"":e,n);/**
3
3
  * @vue/shared v3.5.13
4
4
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
@@ -16,7 +16,7 @@ var _6=Object.defineProperty;var j6=(t,e,n)=>e in t?_6(t,e,{enumerable:!0,config
16
16
  * @vue/runtime-dom v3.5.13
17
17
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
18
18
  * @license MIT
19
- **/let Sx;const rC=typeof window<"u"&&window.trustedTypes;if(rC)try{Sx=rC.createPolicy("vue",{createHTML:t=>t})}catch{}const M$=Sx?t=>Sx.createHTML(t):t=>t,_z="http://www.w3.org/2000/svg",jz="http://www.w3.org/1998/Math/MathML",Ya=typeof document<"u"?document:null,iC=Ya&&Ya.createElement("template"),kz={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"?Ya.createElementNS(_z,t):e==="mathml"?Ya.createElementNS(jz,t):n?Ya.createElement(t,{is:n}):Ya.createElement(t);return t==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:t=>Ya.createTextNode(t),createComment:t=>Ya.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Ya.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,i,s){const o=n?n.previousSibling:e.lastChild;if(i&&(i===s||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),n),!(i===s||!(i=i.nextSibling)););else{iC.innerHTML=M$(r==="svg"?`<svg>${t}</svg>`:r==="mathml"?`<math>${t}</math>`:t);const a=iC.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[o?o.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},Sz=Symbol("_vtc");function Cz(t,e,n){const r=t[Sz];r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const sC=Symbol("_vod"),Ez=Symbol("_vsh"),Oz=Symbol(""),Az=/(^|;)\s*display\s*:/;function Tz(t,e,n){const r=t.style,i=si(n);let s=!1;if(n&&!i){if(e)if(si(e))for(const o of e.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&_v(r,a,"")}else for(const o in e)n[o]==null&&_v(r,o,"");for(const o in n)o==="display"&&(s=!0),_v(r,o,n[o])}else if(i){if(e!==n){const o=r[Oz];o&&(n+=";"+o),r.cssText=n,s=Az.test(n)}}else e&&t.removeAttribute("style");sC in t&&(t[sC]=s?r.display:"",t[Ez]&&(r.display="none"))}const oC=/\s*!important$/;function _v(t,e,n){if(sn(n))n.forEach(r=>_v(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=Pz(t,e);oC.test(n)?t.setProperty(Cc(r),n.replace(oC,""),"important"):t[r]=n}}const aC=["Webkit","Moz","ms"],A1={};function Pz(t,e){const n=A1[e];if(n)return n;let r=yo(e);if(r!=="filter"&&r in t)return A1[e]=r;r=Vb(r);for(let i=0;i<aC.length;i++){const s=aC[i]+r;if(s in t)return A1[e]=s}return e}const lC="http://www.w3.org/1999/xlink";function cC(t,e,n,r,i,s=I6(e)){r&&e.startsWith("xlink:")?n==null?t.removeAttributeNS(lC,e.slice(6,e.length)):t.setAttributeNS(lC,e,n):n==null||s&&!CR(n)?t.removeAttribute(e):t.setAttribute(e,s?"":Qo(n)?String(n):n)}function uC(t,e,n,r,i){if(e==="innerHTML"||e==="textContent"){n!=null&&(t[e]=e==="innerHTML"?M$(n):n);return}const s=t.tagName;if(e==="value"&&s!=="PROGRESS"&&!s.includes("-")){const a=s==="OPTION"?t.getAttribute("value")||"":t.value,l=n==null?t.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in t))&&(t.value=l),n==null&&t.removeAttribute(e),t._value=n;return}let o=!1;if(n===""||n==null){const a=typeof t[e];a==="boolean"?n=CR(n):n==null&&a==="string"?(n="",o=!0):a==="number"&&(n=0,o=!0)}try{t[e]=n}catch{}o&&t.removeAttribute(i||e)}function wk(t,e,n,r){t.addEventListener(e,n,r)}function Rz(t,e,n,r){t.removeEventListener(e,n,r)}const dC=Symbol("_vei");function $z(t,e,n,r,i=null){const s=t[dC]||(t[dC]={}),o=s[e];if(r&&o)o.value=r;else{const[a,l]=Mz(e);if(r){const c=s[e]=Lz(r,i);wk(t,a,c,l)}else o&&(Rz(t,a,o,l),s[e]=void 0)}}const fC=/(?:Once|Passive|Capture)$/;function Mz(t){let e;if(fC.test(t)){e={};let r;for(;r=t.match(fC);)t=t.slice(0,t.length-r[0].length),e[r[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):Cc(t.slice(2)),e]}let T1=0;const Iz=Promise.resolve(),Nz=()=>T1||(Iz.then(()=>T1=0),T1=Date.now());function Lz(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Pa(Dz(r,n.value),e,5,[r])};return n.value=t,n.attached=Nz(),n}function Dz(t,e){if(sn(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 hC=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,zz=(t,e,n,r,i,s)=>{const o=i==="svg";e==="class"?Cz(t,r,o):e==="style"?Tz(t,n,r):Up(e)?Xj(e)||$z(t,e,n,r,s):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Bz(t,e,r,o))?(uC(t,e,r),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&cC(t,e,r,o,s,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!si(r))?uC(t,yo(e),r,s,e):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),cC(t,e,r,o))};function Bz(t,e,n,r){if(r)return!!(e==="innerHTML"||e==="textContent"||e in t&&hC(e)&&dn(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 hC(e)&&si(n)?!1:e in t}const sy=t=>{const e=t.props["onUpdate:modelValue"]||!1;return sn(e)?n=>wv(e,n):e},Od=Symbol("_assign"),Fz={created(t,{value:e},n){t.checked=Jd(e,n.props.value),t[Od]=sy(n),wk(t,"change",()=>{t[Od](Kh(t))})},beforeUpdate(t,{value:e,oldValue:n},r){t[Od]=sy(r),e!==n&&(t.checked=Jd(e,r.props.value))}},Vz={deep:!0,created(t,{value:e,modifiers:{number:n}},r){const i=Bb(e);wk(t,"change",()=>{const s=Array.prototype.filter.call(t.options,o=>o.selected).map(o=>n?kR(Kh(o)):Kh(o));t[Od](t.multiple?i?new Set(s):s:s[0]),t._assigning=!0,Ac(()=>{t._assigning=!1})}),t[Od]=sy(r)},mounted(t,{value:e}){pC(t,e)},beforeUpdate(t,e,n){t[Od]=sy(n)},updated(t,{value:e}){t._assigning||pC(t,e)}};function pC(t,e){const n=t.multiple,r=sn(e);if(!(n&&!r&&!Bb(e))){for(let i=0,s=t.options.length;i<s;i++){const o=t.options[i],a=Kh(o);if(n)if(r){const l=typeof a;l==="string"||l==="number"?o.selected=e.some(c=>String(c)===String(a)):o.selected=L6(e,a)>-1}else o.selected=e.has(a);else if(Jd(Kh(o),e)){t.selectedIndex!==i&&(t.selectedIndex=i);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function Kh(t){return"_value"in t?t._value:t.value}const qz=["ctrl","shift","alt","meta"],Hz={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)=>qz.some(n=>t[`${n}Key`]&&!e.includes(n))},Uz=(t,e)=>{const n=t._withMods||(t._withMods={}),r=e.join(".");return n[r]||(n[r]=(i,...s)=>{for(let o=0;o<e.length;o++){const a=Hz[e[o]];if(a&&a(i,e))return}return t(i,...s)})},Wz={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Gz=(t,e)=>{const n=t._withKeys||(t._withKeys={}),r=e.join(".");return n[r]||(n[r]=i=>{if(!("key"in i))return;const s=Cc(i.key);if(e.some(o=>o===s||Wz[o]===s))return t(i)})},I$=Wi({patchProp:zz},kz);let Ch,mC=!1;function Kz(){return Ch||(Ch=W9(I$))}function Jz(){return Ch=mC?Ch:G9(I$),mC=!0,Ch}const N$=(...t)=>{const e=Kz().createApp(...t),{mount:n}=e;return e.mount=r=>{const i=D$(r);if(!i)return;const s=e._component;!dn(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=n(i,!1,L$(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e},Yz=(...t)=>{const e=Jz().createApp(...t),{mount:n}=e;return e.mount=r=>{const i=D$(r);if(i)return n(i,!0,L$(i))},e};function L$(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function D$(t){return si(t)?document.querySelector(t):t}const Qz=/"(?:_|\\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*:/,Xz=/"(?: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*:/,Zz=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function e7(t,e){if(t==="__proto__"||t==="constructor"&&e&&typeof e=="object"&&"prototype"in e){t7(t);return}return e}function t7(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}function oy(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(!Zz.test(t)){if(e.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(Qz.test(t)||Xz.test(t)){if(e.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,e7)}return JSON.parse(t)}catch(r){if(e.strict)throw r;return t}}const n7=/#/g,r7=/&/g,i7=/\//g,s7=/=/g,xk=/\+/g,o7=/%5e/gi,a7=/%60/gi,l7=/%7c/gi,c7=/%20/gi;function u7(t){return encodeURI(""+t).replace(l7,"|")}function Cx(t){return u7(typeof t=="string"?t:JSON.stringify(t)).replace(xk,"%2B").replace(c7,"+").replace(n7,"%23").replace(r7,"%26").replace(a7,"`").replace(o7,"^").replace(i7,"%2F")}function P1(t){return Cx(t).replace(s7,"%3D")}function ay(t=""){try{return decodeURIComponent(""+t)}catch{return""+t}}function d7(t){return ay(t.replace(xk," "))}function f7(t){return ay(t.replace(xk," "))}function _k(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=d7(r[1]);if(i==="__proto__"||i==="constructor")continue;const s=f7(r[2]||"");e[i]===void 0?e[i]=s:Array.isArray(e[i])?e[i].push(s):e[i]=[e[i],s]}return e}function h7(t,e){return(typeof e=="number"||typeof e=="boolean")&&(e=String(e)),e?Array.isArray(e)?e.map(n=>`${P1(t)}=${Cx(n)}`).join("&"):`${P1(t)}=${Cx(e)}`:P1(t)}function z$(t){return Object.keys(t).filter(e=>t[e]!==void 0).map(e=>h7(e,t[e])).filter(Boolean).join("&")}const p7=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,B$=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,m7=/^([/\\]\s*){2,}[^/\\]/,g7=/^[\s\0]*(blob|data|javascript|vbscript):$/i,v7=/\/$|\/\?|\/#/,y7=/^\.?\//;function Cl(t,e={}){return typeof e=="boolean"&&(e={acceptRelative:e}),e.strict?p7.test(t):B$.test(t)||(e.acceptRelative?m7.test(t):!1)}function b7(t){return!!t&&g7.test(t)}function Ex(t="",e){return e?v7.test(t):t.endsWith("/")}function e0(t="",e){if(!e)return(Ex(t)?t.slice(0,-1):t)||"/";if(!Ex(t,!0))return t||"/";let n=t,r="";const i=t.indexOf("#");i>=0&&(n=t.slice(0,i),r=t.slice(i));const[s,...o]=n.split("?");return((s.endsWith("/")?s.slice(0,-1):s)||"/")+(o.length>0?`?${o.join("?")}`:"")+r}function ly(t="",e){if(!e)return t.endsWith("/")?t:t+"/";if(Ex(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[s,...o]=n.split("?");return s+"/"+(o.length>0?`?${o.join("?")}`:"")+r}function w7(t=""){return t.startsWith("/")}function gC(t=""){return w7(t)?t:"/"+t}function F$(t,e){if(V$(e)||Cl(t))return t;const n=e0(e);return t.startsWith(n)?t:hc(n,t)}function x7(t,e){if(V$(e))return t;const n=e0(e);if(!t.startsWith(n))return t;const r=t.slice(n.length);return r[0]==="/"?r:"/"+r}function Ad(t,e){const n=U$(t),r={..._k(n.search),...e};return n.search=z$(r),W$(n)}function V$(t){return!t||t==="/"}function _7(t){return t&&t!=="/"}function hc(t,...e){let n=t||"";for(const r of e.filter(i=>_7(i)))if(n){const i=r.replace(y7,"");n=ly(n)+i}else n=r;return n}function q$(...t){var o,a,l,c;const e=/\/(?!\/)/,n=t.filter(Boolean),r=[];let i=0;for(const u of n)if(!(!u||u==="/")){for(const[d,h]of u.split(e).entries())if(!(!h||h===".")){if(h===".."){if(r.length===1&&Cl(r[0]))continue;r.pop(),i--;continue}if(d===1&&((o=r[r.length-1])!=null&&o.endsWith(":/"))){r[r.length-1]+="/"+h;continue}r.push(h),i++}}let s=r.join("/");return i>=0?(a=n[0])!=null&&a.startsWith("/")&&!s.startsWith("/")?s="/"+s:(l=n[0])!=null&&l.startsWith("./")&&!s.startsWith("./")&&(s="./"+s):s="../".repeat(-1*i)+s,(c=n[n.length-1])!=null&&c.endsWith("/")&&!s.endsWith("/")&&(s+="/"),s}function vC(t){return j7(t,"https://")}function j7(t,e){let n=t.match(B$);return n||(n=t.match(/^\/{2,}/)),n?e+t.slice(n[0].length):e+t}function k7(t,e,n={}){return n.trailingSlash||(t=ly(t),e=ly(e)),n.leadingSlash||(t=gC(t),e=gC(e)),n.encoding||(t=ay(t),e=ay(e)),t===e}const H$=Symbol.for("ufo:protocolRelative");function U$(t="",e){const n=t.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,d,h=""]=n;return{protocol:d.toLowerCase(),pathname:h,href:d+h,auth:"",host:"",search:"",hash:""}}if(!Cl(t,{acceptRelative:!0}))return yC(t);const[,r="",i,s=""]=t.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,o="",a=""]=s.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:c,hash:u}=yC(a);return{protocol:r.toLowerCase(),auth:i?i.slice(0,Math.max(0,i.length-1)):"",host:o,pathname:l,search:c,hash:u,[H$]:!r}}function yC(t=""){const[e="",n="",r=""]=(t.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:e,search:n,hash:r}}function W$(t){const e=t.pathname||"",n=t.search?(t.search.startsWith("?")?"":"?")+t.search:"",r=t.hash||"",i=t.auth?t.auth+"@":"",s=t.host||"";return(t.protocol||t[H$]?(t.protocol||"")+"//":"")+i+s+e+n+r}class S7 extends Error{constructor(e,n){super(e,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function C7(t){var l,c,u,d,h;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)||((d=t.options)==null?void 0:d.method)||"GET",r=((h=t.request)==null?void 0:h.url)||String(t.request)||"/",i=`[${n}] ${JSON.stringify(r)}`,s=t.response?`${t.response.status} ${t.response.statusText}`:"<no response>",o=`${i}: ${s}${e?` ${e}`:""}`,a=new S7(o,t.error?{cause:t.error}:void 0);for(const p of["request","options","response"])Object.defineProperty(a,p,{get(){return t[p]}});for(const[p,m]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,p,{get(){return t.response&&t.response[m]}});return a}const E7=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function bC(t="GET"){return E7.has(t.toUpperCase())}function O7(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 A7=new Set(["image/svg","application/xml","application/xhtml","application/html"]),T7=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function P7(t=""){if(!t)return"json";const e=t.split(";").shift()||"";return T7.test(e)?"json":A7.has(e)||e.startsWith("text/")?"text":"blob"}function R7(t,e,n,r){const i=$7((e==null?void 0:e.headers)??(t==null?void 0:t.headers),n==null?void 0:n.headers,r);let s;return(n!=null&&n.query||n!=null&&n.params||e!=null&&e.params||e!=null&&e.query)&&(s={...n==null?void 0:n.params,...n==null?void 0:n.query,...e==null?void 0:e.params,...e==null?void 0:e.query}),{...n,...e,query:s,params:s,headers:i}}function $7(t,e,n){if(!e)return new n(t);const r=new n(e);if(t)for(const[i,s]of Symbol.iterator in t||Array.isArray(t)?t:new n(t))r.set(i,s);return r}async function Tm(t,e){if(e)if(Array.isArray(e))for(const n of e)await n(t);else await e(t)}const M7=new Set([408,409,425,429,500,502,503,504]),I7=new Set([101,204,205,304]);function G$(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=bC(a.options.method)?0:1;const d=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(d):M7.has(d))){const h=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return h>0&&await new Promise(p=>setTimeout(p,h)),s(a.request,{...a.options,retry:u-1})}}const c=C7(a);throw Error.captureStackTrace&&Error.captureStackTrace(c,s),c}const s=async function(l,c={}){const u={request:l,options:R7(l,c,t.defaults,n),response:void 0,error:void 0};u.options.method&&(u.options.method=u.options.method.toUpperCase()),u.options.onRequest&&await Tm(u,u.options.onRequest),typeof u.request=="string"&&(u.options.baseURL&&(u.request=F$(u.request,u.options.baseURL)),u.options.query&&(u.request=Ad(u.request,u.options.query),delete u.options.query),"query"in u.options&&delete u.options.query,"params"in u.options&&delete u.options.params),u.options.body&&bC(u.options.method)&&(O7(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 d;if(!u.options.signal&&u.options.timeout){const p=new r;d=setTimeout(()=>{const m=new Error("[TimeoutError]: The operation was aborted due to timeout");m.name="TimeoutError",m.code=23,p.abort(m)},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 Tm(u,u.options.onRequestError),await i(u)}finally{d&&clearTimeout(d)}if((u.response.body||u.response._bodyInit)&&!I7.has(u.response.status)&&u.options.method!=="HEAD"){const p=(u.options.parseResponse?"json":u.options.responseType)||P7(u.response.headers.get("content-type")||"");switch(p){case"json":{const m=await u.response.text(),b=u.options.parseResponse||oy;u.response._data=b(m);break}case"stream":{u.response._data=u.response.body||u.response._bodyInit;break}default:u.response._data=await u.response[p]()}}return u.options.onResponse&&await Tm(u,u.options.onResponse),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await Tm(u,u.options.onResponseError),await i(u)):u.response},o=async function(l,c){return(await s(l,c))._data};return o.raw=s,o.native=(...a)=>e(...a),o.create=(a={},l={})=>G$({...t,...l,defaults:{...t.defaults,...l.defaults,...a}}),o}const cy=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")}(),N7=cy.fetch?(...t)=>cy.fetch(...t):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),L7=cy.Headers,D7=cy.AbortController,z7=G$({fetch:N7,Headers:L7,AbortController:D7}),B7=z7,F7=()=>{var t;return((t=window==null?void 0:window.__NUXT__)==null?void 0:t.config)||{}},uy=F7().app,V7=()=>uy.baseURL,q7=()=>uy.buildAssetsDir,jk=(...t)=>q$(K$(),q7(),...t),K$=(...t)=>{const e=uy.cdnURL||uy.baseURL;return t.length?q$(e,...t):e};globalThis.__buildAssetsURL=jk,globalThis.__publicAssetsURL=K$;globalThis.$fetch||(globalThis.$fetch=B7.create({baseURL:V7()}));function Ox(t,e={},n){for(const r in t){const i=t[r],s=n?`${n}:${r}`:r;typeof i=="object"&&i!==null?Ox(i,e,s):typeof i=="function"&&(e[s]=i)}return e}const H7={run:t=>t()},U7=()=>H7,J$=typeof console.createTask<"u"?console.createTask:U7;function W7(t,e){const n=e.shift(),r=J$(n);return t.reduce((i,s)=>i.then(()=>r.run(()=>s(...e))),Promise.resolve())}function G7(t,e){const n=e.shift(),r=J$(n);return Promise.all(t.map(i=>r.run(()=>i(...e))))}function R1(t,e){for(const n of[...t])n(e)}class K7{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 s;for(;this._deprecatedHooks[e];)s=this._deprecatedHooks[e],e=s.to;if(s&&!r.allowDeprecated){let o=s.message;o||(o=`${i} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||(console.warn(o),this._deprecatedMessages.add(o))}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=(...s)=>(typeof r=="function"&&r(),r=void 0,i=void 0,n(...s));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=Ox(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=Ox(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(W7,e,...n)}callHookParallel(e,...n){return n.unshift(e),this.callHookWith(G7,e,...n)}callHookWith(e,n,...r){const i=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&R1(this._before,i);const s=e(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&i&&R1(this._after,i)}):(this._after&&i&&R1(this._after,i),s)}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 Y$(){return new K7}function J7(t={}){let e,n=!1;const r=o=>{if(e&&e!==o)throw new Error("Context conflict")};let i;if(t.asyncContext){const o=t.AsyncLocalStorage||globalThis.AsyncLocalStorage;o?i=new o:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const s=()=>{if(i){const o=i.getStore();if(o!==void 0)return o}return e};return{use:()=>{const o=s();if(o===void 0)throw new Error("Context is not available");return o},tryUse:()=>s(),set:(o,a)=>{a||r(o),e=o,n=!0},unset:()=>{e=void 0,n=!1},call:(o,a)=>{r(o),e=o;try{return i?i.run(o,a):a()}finally{n||(e=void 0)}},async callAsync(o,a){e=o;const l=()=>{e=o},c=()=>e===o?l:void 0;Ax.add(c);try{const u=i?i.run(o,a):a();return n||(e=void 0),await u}finally{Ax.delete(c)}}}}function Y7(t={}){const e={};return{get(n,r={}){return e[n]||(e[n]=J7({...t,...r})),e[n]}}}const dy=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},wC="__unctx__",Q7=dy[wC]||(dy[wC]=Y7()),X7=(t,e={})=>Q7.get(t,e),xC="__unctx_async_handlers__",Ax=dy[xC]||(dy[xC]=new Set);function Q$(t){const e=[];for(const i of Ax){const s=i();s&&e.push(s)}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 Z7={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},hd={value:null,errorValue:null,deep:!0},eB=null,tB="#__nuxt",X$="nuxt-app",_C=36e5,nB="vite:preloadError";function Z$(t=X$){return X7(t,{asyncContext:!1})}const rB="__nuxt_plugin";function iB(t){var i;let e=0;const n={_id:t.id||X$||"nuxt-app",_scope:D6(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.15.1"},get vue(){return n.vueApp.version}},payload:dd({...((i=t.ssrContext)==null?void 0:i.payload)||{},data:dd({}),state:dc({}),once:new Set,_errors:dd({})}),static:{data:{}},runWithContext(s){return n._scope.active&&!Hb()?n._scope.run(()=>jC(n,s)):jC(n,s)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};e++;let s=!1;return()=>{if(!s&&(s=!0,e--,e===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:dd({}),_payloadRevivers:{},...t};{const s=window.__NUXT__;if(s)for(const o in s)switch(o){case"data":case"state":case"_errors":Object.assign(n.payload[o],s[o]);break;default:n.payload[o]=s[o]}}n.hooks=Y$(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,o)=>{const a="$"+s;Pm(n,a,o),Pm(n.vueApp.config.globalProperties,a,o)},Pm(n.vueApp,"$nuxt",n),Pm(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(nB,o=>{n.callHook("app:chunkError",{error:o.payload}),(n.isHydrating||o.payload.message.includes("Unable to preload CSS"))&&o.preventDefault()}),window.useNuxtApp=window.useNuxtApp||oi;const s=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",s)}const r=n.payload.config;return n.provide("config",r),n}function sB(t,e){e.hooks&&t.hooks.addHooks(e.hooks)}async function oB(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 aB(t,e){const n=[],r=[],i=[],s=[];let o=0;async function a(l){var u;const c=((u=l.dependsOn)==null?void 0:u.filter(d=>e.some(h=>h._name===d)&&!n.includes(d)))??[];if(c.length>0)r.push([new Set(c),l]);else{const d=oB(t,l).then(async()=>{l._name&&(n.push(l._name),await Promise.all(r.map(async([h,p])=>{h.has(l._name)&&(h.delete(l._name),h.size===0&&(o++,await a(p)))})))});l.parallel?i.push(d.catch(h=>s.push(h))):await d}}for(const l of e)sB(t,l);for(const l of e)await a(l);if(await Promise.all(i),o)for(let l=0;l<o;l++)await Promise.all(i);if(s.length)throw s[0]}function Va(t){if(typeof t=="function")return t;const e=t._name||t.name;return delete t.name,Object.assign(t.setup||(()=>{}),t,{[rB]:!0,_name:e})}function jC(t,e,n){const r=()=>e();return Z$(t._id).set(t),t.vueApp.runWithContext(r)}function lB(t){var n;let e;return Jb()&&(e=(n=Sl())==null?void 0:n.appContext.app.$nuxt),e=e||Z$(t).tryUse(),e||null}function oi(t){const e=lB(t);if(!e)throw new Error("[nuxt] instance unavailable");return e}function tf(t){return oi().$config}function Pm(t,e,n){Object.defineProperty(t,e,{get:()=>n})}function cB(t,e){return{ctx:{table:t},matchAll:n=>tM(n,t)}}function eM(t){const e={};for(const n in t)e[n]=n==="dynamic"?new Map(Object.entries(t[n]).map(([r,i])=>[r,eM(i)])):new Map(Object.entries(t[n]));return e}function uB(t){return cB(eM(t))}function tM(t,e,n){t.endsWith("/")&&(t=t.slice(0,-1)||"/");const r=[];for(const[s,o]of kC(e.wildcard))(t===s||t.startsWith(s+"/"))&&r.push(o);for(const[s,o]of kC(e.dynamic))if(t.startsWith(s+"/")){const a="/"+t.slice(s.length).split("/").splice(2).join("/");r.push(...tM(a,o))}const i=e.static.get(t);return i&&r.push(i),r.filter(Boolean)}function kC(t){return[...t.entries()].sort((e,n)=>e[0].length-n[0].length)}function $1(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 Tx(t,e,n=".",r){if(!$1(e))return Tx(t,{},n,r);const i=Object.assign({},e);for(const s in t){if(s==="__proto__"||s==="constructor")continue;const o=t[s];o!=null&&(r&&r(i,s,o,n)||(Array.isArray(o)&&Array.isArray(i[s])?i[s]=[...o,...i[s]]:$1(o)&&$1(i[s])?i[s]=Tx(o,i[s],(n?`${n}.`:"")+s.toString(),r):i[s]=o))}return i}function dB(t){return(...e)=>e.reduce((n,r)=>Tx(n,r,"",t),{})}const fy=dB();function fB(t,e){try{return e in t}catch{return!1}}class Px extends Error{constructor(n,r={}){super(n,r);De(this,"statusCode",500);De(this,"fatal",!1);De(this,"unhandled",!1);De(this,"statusMessage");De(this,"data");De(this,"cause");r.cause&&!this.cause&&(this.cause=r.cause)}toJSON(){const n={message:this.message,statusCode:Rx(this.statusCode,500)};return this.statusMessage&&(n.statusMessage=nM(this.statusMessage)),this.data!==void 0&&(n.data=this.data),n}}De(Px,"__h3_error__",!0);function hB(t){if(typeof t=="string")return new Px(t);if(pB(t))return t;const e=new Px(t.message??t.statusMessage??"",{cause:t.cause||t});if(fB(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=Rx(t.statusCode,e.statusCode):t.status&&(e.statusCode=Rx(t.status,e.statusCode)),t.statusMessage?e.statusMessage=t.statusMessage:t.statusText&&(e.statusMessage=t.statusText),e.statusMessage){const n=e.statusMessage;nM(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 pB(t){var e;return((e=t==null?void 0:t.constructor)==null?void 0:e.__h3_error__)===!0}const mB=/[^\u0009\u0020-\u007E]/g;function nM(t=""){return t.replace(mB,"")}function Rx(t,e=200){return!t||(typeof t=="string"&&(t=Number.parseInt(t,10)),t<100||t>999)?e:t}const rM=Symbol("route"),Ra=()=>{var t;return(t=oi())==null?void 0:t.$router},iM=()=>Jb()?fu(rM,oi()._route):oi()._route;const gB=()=>{try{if(oi()._processingMiddleware)return!0}catch{return!1}return!1},sM=(t,e)=>{t||(t="/");const n=typeof t=="string"?t:"path"in t?$x(t):Ra().resolve(t).href;if(e!=null&&e.open){const{target:l="_blank",windowFeatures:c={}}=e.open,u=Object.entries(c).filter(([d,h])=>h!==void 0).map(([d,h])=>`${d.toLowerCase()}=${h}`).join(", ");return open(n,l,u),Promise.resolve()}const r=Cl(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&&b7(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const s=gB();if(!i&&s)return e!=null&&e.replace?typeof t=="string"?{path:t,replace:!0}:{...t,replace:!0}:t;const o=Ra(),a=oi();return i?(a._scope.stop(),e!=null&&e.replace?location.replace(n):location.href=n,s?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):e!=null&&e.replace?o.replace(t):o.push(t)};function $x(t){return Ad(t.path||"",t.query||{})+(t.hash||"")}const oM="__nuxt_error",kk=()=>WR(oi().payload,"error"),vB=t=>{const e=t0(t);try{const n=oi(),r=kk();n.hooks.callHook("app:error",e),r.value=r.value||e}catch{throw e}return e},yB=async(t={})=>{const e=oi(),n=kk();e.callHook("app:error:cleared",t),t.redirect&&await Ra().replace(t.redirect),n.value=eB},bB=t=>!!t&&typeof t=="object"&&oM in t,t0=t=>{const e=hB(t);return Object.defineProperty(e,oM,{value:!0,configurable:!1,writable:!1}),e};function SC(t){const e=xB(t),n=new ArrayBuffer(e.length),r=new DataView(n);for(let i=0;i<n.byteLength;i++)r.setUint8(i,e.charCodeAt(i));return n}const wB="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function xB(t){t.length%4===0&&(t=t.replace(/==?$/,""));let e="",n=0,r=0;for(let i=0;i<t.length;i++)n<<=6,n|=wB.indexOf(t[i]),r+=6,r===24&&(e+=String.fromCharCode((n&16711680)>>16),e+=String.fromCharCode((n&65280)>>8),e+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,e+=String.fromCharCode(n)):r===18&&(n>>=2,e+=String.fromCharCode((n&65280)>>8),e+=String.fromCharCode(n&255)),e}const _B=-1,jB=-2,kB=-3,SB=-4,CB=-5,EB=-6;function OB(t,e){return AB(JSON.parse(t),e)}function AB(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(s,o=!1){if(s===_B)return;if(s===kB)return NaN;if(s===SB)return 1/0;if(s===CB)return-1/0;if(s===EB)return-0;if(o)throw new Error("Invalid input");if(s in r)return r[s];const a=n[s];if(!a||typeof a!="object")r[s]=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[s]=c(i(a[1]));switch(l){case"Date":r[s]=new Date(a[1]);break;case"Set":const u=new Set;r[s]=u;for(let p=1;p<a.length;p+=1)u.add(i(a[p]));break;case"Map":const d=new Map;r[s]=d;for(let p=1;p<a.length;p+=2)d.set(i(a[p]),i(a[p+1]));break;case"RegExp":r[s]=new RegExp(a[1],a[2]);break;case"Object":r[s]=Object(a[1]);break;case"BigInt":r[s]=BigInt(a[1]);break;case"null":const h=Object.create(null);r[s]=h;for(let p=1;p<a.length;p+=2)h[a[p]]=i(a[p+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const p=globalThis[l],m=a[1],b=SC(m),g=new p(b);r[s]=g;break}case"ArrayBuffer":{const p=a[1],m=SC(p);r[s]=m;break}default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);r[s]=l;for(let c=0;c<a.length;c+=1){const u=a[c];u!==jB&&(l[c]=i(u))}}else{const l={};r[s]=l;for(const c in a){const u=a[c];l[c]=i(u)}}return r[s]}return i(0)}const TB=new Set(["title","titleTemplate","script","style","noscript"]),jv=new Set(["base","meta","link","style","script","noscript"]),PB=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),RB=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),aM=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),$B=typeof window<"u";function hy(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 Mx(t){if(t._h)return t._h;if(t._d)return hy(t._d);let e=`${t.tag}:${t.textContent||t.innerHTML||""}:`;for(const n in t.props)e+=`${n}:${String(t.props[n])},`;return hy(e)}function MB(t,e){return t instanceof Promise?t.then(e):e(t)}function Ix(t,e,n,r){const i=r||cM(typeof e=="object"&&typeof e!="function"&&!(e instanceof Promise)?{...e}:{[t==="script"||t==="noscript"||t==="style"?"innerHTML":"textContent"]:e},t==="templateParams"||t==="titleTemplate");if(i instanceof Promise)return i.then(o=>Ix(t,e,n,o));const s={tag:t,props:i};for(const o of aM){const a=s.props[o]!==void 0?s.props[o]:n[o];a!==void 0&&((!(o==="innerHTML"||o==="textContent"||o==="children")||TB.has(s.tag))&&(s[o==="children"?"innerHTML":o]=a),delete s.props[o])}return s.props.body&&(s.tagPosition="bodyClose",delete s.props.body),s.tag==="script"&&typeof s.innerHTML=="object"&&(s.innerHTML=JSON.stringify(s.innerHTML),s.props.type=s.props.type||"application/json"),Array.isArray(s.props.content)?s.props.content.map(o=>({...s,props:{...s.props,content:o}})):s}function IB(t,e){var r;const n=t==="class"?" ":";";return e&&typeof e=="object"&&!Array.isArray(e)&&(e=Object.entries(e).filter(([,i])=>i).map(([i,s])=>t==="style"?`${i}:${s}`:i)),(r=String(Array.isArray(e)?e.join(n):e))==null?void 0:r.split(n).filter(i=>!!i.trim()).join(n)}function lM(t,e,n,r){for(let i=r;i<n.length;i+=1){const s=n[i];if(s==="class"||s==="style"){t[s]=IB(s,t[s]);continue}if(t[s]instanceof Promise)return t[s].then(o=>(t[s]=o,lM(t,e,n,i)));if(!e&&!aM.has(s)){const o=String(t[s]),a=s.startsWith("data-");o==="true"||o===""?t[s]=a?"true":!0:t[s]||(a&&o==="false"?t[s]="false":delete t[s])}}}function cM(t,e=!1){const n=lM(t,e,Object.keys(t),0);return n instanceof Promise?n.then(()=>t):t}const NB=10;function uM(t,e,n){for(let r=n;r<e.length;r+=1){const i=e[r];if(i instanceof Promise)return i.then(s=>(e[r]=s,uM(t,e,r)));Array.isArray(i)?t.push(...i):t.push(i)}}function LB(t){const e=[],n=t.resolvedInput;for(const i in n){if(!Object.prototype.hasOwnProperty.call(n,i))continue;const s=n[i];if(!(s===void 0||!PB.has(i))){if(Array.isArray(s)){for(const o of s)e.push(Ix(i,o,t));continue}e.push(Ix(i,s,t))}}if(e.length===0)return[];const r=[];return MB(uM(r,e,0),()=>r.map((i,s)=>(i._e=t._i,t.mode&&(i._m=t.mode),i._p=(t._i<<NB)+s,i)))}const CC=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),EC={base:-10,title:10},OC={critical:-80,high:-10,low:20};function py(t){const e=t.tagPriority;if(typeof e=="number")return e;let n=100;return t.tag==="meta"?t.props["http-equiv"]==="content-security-policy"?n=-30:t.props.charset?n=-20:t.props.name==="viewport"&&(n=-15):t.tag==="link"&&t.props.rel==="preconnect"?n=20:t.tag in EC&&(n=EC[t.tag]),e&&e in OC?n+OC[e]:n}const DB=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],zB=["name","property","http-equiv"];function dM(t){const{props:e,tag:n}=t;if(RB.has(n))return n;if(n==="link"&&e.rel==="canonical")return"canonical";if(e.charset)return"charset";if(e.id)return`${n}:id:${e.id}`;for(const r of zB)if(e[r]!==void 0)return`${n}:${r}:${e[r]}`;return!1}const Fl="%separator";function BB(t,e,n=!1){var i;let r;if(e==="s"||e==="pageTitle")r=t.pageTitle;else if(e.includes(".")){const s=e.indexOf(".");r=(i=t[e.substring(0,s)])==null?void 0:i[e.substring(s+1)]}else r=t[e];if(r!==void 0)return n?(r||"").replace(/"/g,'\\"'):r||""}const FB=new RegExp(`${Fl}(?:\\s*${Fl})*`,"g");function Rm(t,e,n,r=!1){if(typeof t!="string"||!t.includes("%"))return t;let i=t;try{i=decodeURI(t)}catch{}const s=i.match(/%\w+(?:\.\w+)?/g);if(!s)return t;const o=t.includes(Fl);return t=t.replace(/%\w+(?:\.\w+)?/g,a=>{if(a===Fl||!s.includes(a))return a;const l=BB(e,a.slice(1),r);return l!==void 0?l:a}).trim(),o&&(t.endsWith(Fl)&&(t=t.slice(0,-Fl.length)),t.startsWith(Fl)&&(t=t.slice(Fl.length)),t=t.replace(FB,n).trim()),t}function AC(t,e){return t==null?e||null:typeof t=="function"?t(e):t}async function fM(t,e={}){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 t._domUpdatePromise||(t._domUpdatePromise=new Promise(async i=>{var d;const s=(await t.resolveTags()).map(h=>({tag:h,id:jv.has(h.tag)?Mx(h):h.tag,shouldRender:!0}));let o=t._dom;if(!o){o={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};const h=new Set;for(const p of["body","head"]){const m=(d=n[p])==null?void 0:d.children;for(const b of m){const g=b.tagName.toLowerCase();if(!jv.has(g))continue;const v={tag:g,props:await cM(b.getAttributeNames().reduce((_,j)=>({..._,[j]:b.getAttribute(j)}),{})),innerHTML:b.innerHTML},y=dM(v);let w=y,x=1;for(;w&&h.has(w);)w=`${y}:${x++}`;w&&(v._d=w,h.add(w)),o.elMap[b.getAttribute("data-hid")||Mx(v)]=b}}}o.pendingSideEffects={...o.sideEffects},o.sideEffects={};function a(h,p,m){const b=`${h}:${p}`;o.sideEffects[b]=m,delete o.pendingSideEffects[b]}function l({id:h,$el:p,tag:m}){const b=m.tag.endsWith("Attrs");if(o.elMap[h]=p,b||(m.textContent&&m.textContent!==p.textContent&&(p.textContent=m.textContent),m.innerHTML&&m.innerHTML!==p.innerHTML&&(p.innerHTML=m.innerHTML),a(h,"el",()=>{var g;(g=o.elMap[h])==null||g.remove(),delete o.elMap[h]})),m._eventHandlers)for(const g in m._eventHandlers)Object.prototype.hasOwnProperty.call(m._eventHandlers,g)&&p.getAttribute(`data-${g}`)!==""&&((m.tag==="bodyAttrs"?n.defaultView:p).addEventListener(g.substring(2),m._eventHandlers[g].bind(p)),p.setAttribute(`data-${g}`,""));for(const g in m.props){if(!Object.prototype.hasOwnProperty.call(m.props,g))continue;const v=m.props[g],y=`attr:${g}`;if(g==="class"){if(!v)continue;for(const w of v.split(" "))b&&a(h,`${y}:${w}`,()=>p.classList.remove(w)),!p.classList.contains(w)&&p.classList.add(w)}else if(g==="style"){if(!v)continue;for(const w of v.split(";")){const x=w.indexOf(":"),_=w.substring(0,x).trim(),j=w.substring(x+1).trim();a(h,`${y}:${_}`,()=>{p.style.removeProperty(_)}),p.style.setProperty(_,j)}}else p.getAttribute(g)!==v&&p.setAttribute(g,v===!0?"":String(v)),b&&a(h,y,()=>p.removeAttribute(g))}}const c=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const h of s){const{tag:p,shouldRender:m,id:b}=h;if(m){if(p.tag==="title"){n.title=p.textContent;continue}h.$el=h.$el||o.elMap[b],h.$el?l(h):jv.has(p.tag)&&c.push(h)}}for(const h of c){const p=h.tag.tagPosition||"head";h.$el=n.createElement(h.tag.tag),l(h),u[p]=u[p]||n.createDocumentFragment(),u[p].appendChild(h.$el)}for(const h of s)await t.hooks.callHook("dom:renderTag",h,n,a);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose);for(const h in o.pendingSideEffects)o.pendingSideEffects[h]();t._dom=o,await t.hooks.callHook("dom:rendered",{renders:s}),i()}).finally(()=>{t._domUpdatePromise=void 0,t.dirty=!1})),t._domUpdatePromise}function VB(t,e={}){const n=e.delayFn||(r=>setTimeout(r,10));return t._domDebouncedUpdatePromise=t._domDebouncedUpdatePromise||new Promise(r=>n(()=>fM(t,e).then(()=>{delete t._domDebouncedUpdatePromise,r()})))}function qB(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":s=>{VB(s,t)}}}}}const HB=new Set(["templateParams","htmlAttrs","bodyAttrs"]),UB={hooks:{"tag:normalise":({tag:t})=>{t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),t.props.key&&(t.key=t.props.key,delete t.props.key);const e=dM(t);e&&!e.startsWith("meta:og:")&&!e.startsWith("meta:twitter:")&&delete t.key;const n=e||(t.key?`${t.tag}:${t.key}`:!1);n&&(t._d=n)},"tags:resolve":t=>{const e=Object.create(null);for(const r of t.tags){const i=(r.key?`${r.tag}:${r.key}`:r._d)||Mx(r),s=e[i];if(s){let a=r==null?void 0:r.tagDuplicateStrategy;if(!a&&HB.has(r.tag)&&(a="merge"),a==="merge"){const l=s.props;l.style&&r.props.style&&(l.style[l.style.length-1]!==";"&&(l.style+=";"),r.props.style=`${l.style} ${r.props.style}`),l.class&&r.props.class?r.props.class=`${l.class} ${r.props.class}`:l.class&&(r.props.class=l.class),e[i].props={...l,...r.props};continue}else if(r._e===s._e){s._duped=s._duped||[],r._d=`${s._d}:${s._duped.length+1}`,s._duped.push(r);continue}else if(py(r)>py(s))continue}if(!(r.innerHTML||r.textContent||Object.keys(r.props).length!==0)&&jv.has(r.tag)){delete e[i];continue}e[i]=r}const n=[];for(const r in e){const i=e[r],s=i._duped;n.push(i),s&&(delete i._duped,n.push(...s))}t.tags=n,t.tags=t.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},WB=new Set(["script","link","bodyAttrs"]),GB=t=>({hooks:{"tags:resolve":e=>{for(const n of e.tags){if(!WB.has(n.tag))continue;const r=n.props;for(const i in r){if(i[0]!=="o"||i[1]!=="n"||!Object.prototype.hasOwnProperty.call(r,i))continue;const s=r[i];typeof s=="function"&&(t.ssr&&CC.has(i)?r[i]=`this.dataset.${i}fired = true`:delete r[i],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[i]=s)}t.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||hy(n.props.src||n.props.href))}},"dom:renderTag":({$el:e,tag:n})=>{var i,s;const r=e==null?void 0:e.dataset;if(r)for(const o in r){if(!o.endsWith("fired"))continue;const a=o.slice(0,-5);CC.has(a)&&((s=(i=n._eventHandlers)==null?void 0:i[a])==null||s.call(e,new Event(a.substring(2))))}}}}),KB=new Set(["link","style","script","noscript"]),JB={hooks:{"tag:normalise":({tag:t})=>{t.key&&KB.has(t.tag)&&(t.props["data-hid"]=t._h=hy(t.key))}}},YB={mode:"server",hooks:{"tags:beforeResolve":t=>{const e={};let n=!1;for(const r of t.tags)r._m!=="server"||r.tag!=="titleTemplate"&&r.tag!=="templateParams"&&r.tag!=="title"||(e[r.tag]=r.tag==="title"||r.tag==="titleTemplate"?r.textContent:r.props,n=!0);n&&t.tags.push({tag:"script",innerHTML:JSON.stringify(e),props:{id:"unhead:payload",type:"application/json"}})}}},QB={hooks:{"tags:resolve":t=>{var e;for(const n of t.tags)if(typeof n.tagPriority=="string")for(const{prefix:r,offset:i}of DB){if(!n.tagPriority.startsWith(r))continue;const s=n.tagPriority.substring(r.length),o=(e=t.tags.find(a=>a._d===s))==null?void 0:e._p;if(o!==void 0){n._p=o+i;break}}t.tags.sort((n,r)=>{const i=py(n),s=py(r);return i<s?-1:i>s?1:n._p-r._p})}}},XB={meta:"content",link:"href",htmlAttrs:"lang"},ZB=["innerHTML","textContent"],eF=t=>({hooks:{"tags:resolve":e=>{var o;const{tags:n}=e;let r;for(let a=0;a<n.length;a+=1)n[a].tag==="templateParams"&&(r=e.tags.splice(a,1)[0].props,a-=1);const i=r||{},s=i.separator||"|";delete i.separator,i.pageTitle=Rm(i.pageTitle||((o=n.find(a=>a.tag==="title"))==null?void 0:o.textContent)||"",i,s);for(const a of n){if(a.processTemplateParams===!1)continue;const l=XB[a.tag];if(l&&typeof a.props[l]=="string")a.props[l]=Rm(a.props[l],i,s);else if(a.processTemplateParams||a.tag==="titleTemplate"||a.tag==="title")for(const c of ZB)typeof a[c]=="string"&&(a[c]=Rm(a[c],i,s,a.tag==="script"&&a.props.type.endsWith("json")))}t._templateParams=i,t._separator=s},"tags:afterResolve":({tags:e})=>{let n;for(let r=0;r<e.length;r+=1){const i=e[r];i.tag==="title"&&i.processTemplateParams!==!1&&(n=i)}n!=null&&n.textContent&&(n.textContent=Rm(n.textContent,t._templateParams,t._separator))}}}),tF={hooks:{"tags:resolve":t=>{const{tags:e}=t;let n,r;for(let i=0;i<e.length;i+=1){const s=e[i];s.tag==="title"?n=s:s.tag==="titleTemplate"&&(r=s)}if(r&&n){const i=AC(r.textContent,n.textContent);i!==null?n.textContent=i||n.textContent:t.tags.splice(t.tags.indexOf(n),1)}else if(r){const i=AC(r.textContent);i!==null&&(r.textContent=i,r.tag="title",r=void 0)}r&&t.tags.splice(t.tags.indexOf(r),1)}}},nF={hooks:{"tags:afterResolve":t=>{for(const e of t.tags)typeof e.innerHTML=="string"&&(e.innerHTML&&(e.props.type==="application/ld+json"||e.props.type==="application/json")?e.innerHTML=e.innerHTML.replace(/</g,"\\u003C"):e.innerHTML=e.innerHTML.replace(new RegExp(`</${e.tag}`,"g"),`<\\/${e.tag}`))}}};let hM;function rF(t={}){const e=iF(t);return e.use(qB()),hM=e}function TC(t,e){return!t||t==="server"&&e||t==="client"&&!e}function iF(t={}){const e=Y$();e.addHooks(t.hooks||{}),t.document=t.document||($B?document:void 0);const n=!t.document,r=()=>{a.dirty=!0,e.callHook("entries:updated",a)};let i=0,s=[];const o=[],a={plugins:o,dirty:!1,resolvedOptions:t,hooks:e,headEntries(){return s},use(l){const c=typeof l=="function"?l(a):l;(!c.key||!o.some(u=>u.key===c.key))&&(o.push(c),TC(c.mode,n)&&e.addHooks(c.hooks||{}))},push(l,c){c==null||delete c.head;const u={_i:i++,input:l,...c};return TC(u.mode,n)&&(s.push(u),r()),{dispose(){s=s.filter(d=>d._i!==u._i),r()},patch(d){for(const h of s)h._i===u._i&&(h.input=u.input=d);r()}}},async resolveTags(){const l={tags:[],entries:[...s]};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 d of await LB(c)){const h={tag:d,entry:c,resolvedOptions:a.resolvedOptions};await e.callHook("tag:normalise",h),l.tags.push(h.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[UB,YB,GB,JB,QB,eF,tF,nF,...(t==null?void 0:t.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function sF(){return hM}const oF=$$[0]==="3";function aF(t){return typeof t=="function"?t():Se(t)}function my(t){if(t instanceof Promise||t instanceof Date||t instanceof RegExp)return t;const e=aF(t);if(!t||!e)return e;if(Array.isArray(e))return e.map(n=>my(n));if(typeof e=="object"){const n={};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(r==="titleTemplate"||r[0]==="o"&&r[1]==="n"){n[r]=Se(e[r]);continue}n[r]=my(e[r])}return n}return e}const lF={hooks:{"entries:resolve":t=>{for(const e of t.entries)e.resolvedInput=my(e.input)}}},pM="usehead";function cF(t){return{install(n){oF&&(n.config.globalProperties.$unhead=t,n.config.globalProperties.$head=t,n.provide(pM,t))}}.install}function uF(t={}){t.domDelayFn=t.domDelayFn||(n=>Ac(()=>setTimeout(()=>n(),0)));const e=rF(t);return e.use(lF),e.install=cF(e),e}const Nx=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Lx="__unhead_injection_handler__";function dF(t){Nx[Lx]=t}function fF(){return Lx in Nx?Nx[Lx]():fu(pM)||sF()}function Dx(t,e={}){const n=e.head||fF();if(n)return n.ssr?n.push(t,e):hF(n,t,e)}function hF(t,e,n={}){const r=Zt(!1),i=Zt({});Yb(()=>{i.value=r.value?{}:my(e)});const s=t.push(i.value,n);return bi(i,a=>{s.patch(a)}),Sl()&&(pk(()=>{s.dispose()}),XR(()=>{r.value=!0}),QR(()=>{r.value=!1})),s}const pF="modulepreload",mF=function(t,e){return new URL(t,e).href},PC={},J=function(e,n,r){let i=Promise.resolve();if(n&&n.length>0){const o=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));i=Promise.allSettled(n.map(c=>{if(c=mF(c,r),c in PC)return;PC[c]=!0;const u=c.endsWith(".css"),d=u?'[rel="stylesheet"]':"";if(!!r)for(let m=o.length-1;m>=0;m--){const b=o[m];if(b.href===c&&(!u||b.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${d}`))return;const p=document.createElement("link");if(p.rel=u?"stylesheet":pF,u||(p.as="script"),p.crossOrigin="",p.href=c,l&&p.setAttribute("nonce",l),document.head.appendChild(p),u)return new Promise((m,b)=>{p.addEventListener("load",m),p.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${c}`)))})}))}function s(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return i.then(o=>{for(const a of o||[])a.status==="rejected"&&s(a.reason);return e().catch(s)})};let kv,Sv;function gF(){return kv=$fetch(jk(`builds/meta/${tf().app.buildId}.json`),{responseType:"json"}),kv.then(t=>{Sv=uB(t.matcher)}).catch(t=>{console.error("[nuxt] Error fetching app manifest.",t)}),kv}function n0(){return kv||gF()}async function Sk(t){const e=typeof t=="string"?t:t.path;if(await n0(),!Sv)return console.error("[nuxt] Error creating app manifest matcher.",Sv),{};try{return fy({},...Sv.matchAll(e).reverse())}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function RC(t,e={}){const n=await yF(t,e),r=oi(),i=r._payloadCache=r._payloadCache||{};return n in i?i[n]||null:(i[n]=gM(t).then(s=>s?mM(n).then(o=>o||(delete i[n],null)):(i[n]=null,null)),i[n])}const vF="_payload.json";async function yF(t,e={}){const n=new URL(t,"http://localhost");if(n.host!=="localhost"||Cl(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+t);const r=tf(),i=e.hash||(e.fresh?Date.now():r.app.buildId),s=r.app.cdnURL,o=s&&await gM(t)?s:r.app.baseURL;return hc(o,n.pathname,vF+(i?`?${i}`:""))}async function mM(t){const e=fetch(t).then(n=>n.text().then(vM));try{return await e}catch(n){console.warn("[nuxt] Cannot load payload ",t,n)}return null}async function gM(t=iM().path){const e=oi();return t=e0(t),(await n0()).prerendered.includes(t)?!0:e.runWithContext(async()=>{const r=await Sk({path:t});return!!r.prerender&&!r.redirect})}let Fc=null;async function bF(){var r;if(Fc)return Fc;const t=document.getElementById("__NUXT_DATA__");if(!t)return{};const e=await vM(t.textContent||""),n=t.dataset.src?await mM(t.dataset.src):void 0;return Fc={...e,...n,...window.__NUXT__},(r=Fc.config)!=null&&r.public&&(Fc.config.public=dc(Fc.config.public)),Fc}async function vM(t){return await OB(t,oi()._payloadRevivers)}function wF(t,e){oi()._payloadRevivers[t]=e}const yM=[["NuxtError",t=>t0(t)],["EmptyShallowRef",t=>Xv(t==="_"?void 0:t==="0n"?BigInt(0):oy(t))],["EmptyRef",t=>Zt(t==="_"?void 0:t==="0n"?BigInt(0):oy(t))],["ShallowRef",t=>Xv(t)],["ShallowReactive",t=>dd(t)],["Ref",t=>Zt(t)],["Reactive",t=>dc(t)]];yM.push(["Island",({key:t,params:e,result:n})=>{const r=oi();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:"",...n}}]);const xF=Va({name:"nuxt:revive-payload:client",order:-30,async setup(t){let e,n;for(const[r,i]of yM)wF(r,i);Object.assign(t.payload,([e,n]=Q$(()=>t.runWithContext(bF)),e=await e,n(),e)),window.__NUXT__=t.payload}}),_F=[],jF=Va({name:"nuxt:head",enforce:"pre",setup(t){const e=uF({plugins:_F});dF(()=>oi().vueApp._context.provides.usehead),t.vueApp.use(e);{let n=!0;const r=async()=>{n=!1,await fM(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)}}}),kF=async t=>{let e,n;const r=([e,n]=Q$(()=>Sk({path:t.path})),e=await e,n(),e);if(r.redirect)return Cl(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},SF=[kF];function M1(t){typeof t=="object"&&(t=W$({pathname:t.path||"",search:z$(t.query||{}),hash:t.hash||""}));const e=new URL(t.toString(),window.location.href);return{path:e.pathname,fullPath:t,query:_k(e.search),hash:e.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:t}}const CF=Va({name:"nuxt:router",enforce:"pre",setup(t){const e=x7(window.location.pathname,tf().app.baseURL)+window.location.search+window.location.hash,n=[],r={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},i=(d,h)=>(r[d].push(h),()=>r[d].splice(r[d].indexOf(h),1)),s=tf().app.baseURL,o=dc(M1(e));async function a(d,h){try{const p=M1(d);for(const m of r["navigate:before"]){const b=await m(p,o);if(b===!1||b instanceof Error)return;if(typeof b=="string"&&b.length)return a(b,!0)}for(const m of r["resolve:before"])await m(p,o);Object.assign(o,p),window.history[h?"replaceState":"pushState"]({},"",hc(s,p.fullPath)),t.isHydrating||await t.runWithContext(yB);for(const m of r["navigate:after"])await m(p,o)}catch(p){for(const m of r.error)await m(p)}}const c={currentRoute:mn(()=>o),isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:d=>a(d,!1),replace:d=>a(d,!0),back:()=>window.history.go(-1),go:d=>window.history.go(d),forward:()=>window.history.go(1),beforeResolve:d=>i("resolve:before",d),beforeEach:d=>i("navigate:before",d),afterEach:d=>i("navigate:after",d),onError:d=>i("error",d),resolve:M1,addRoute:(d,h)=>{n.push(h)},getRoutes:()=>n,hasRoute:d=>n.some(h=>h.name===d),removeRoute:d=>{const h=n.findIndex(p=>p.name===d);h!==-1&&n.splice(h,1)}};t.vueApp.component("RouterLink",Ri({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(d,{slots:h})=>{const p=()=>a(d.to,d.replace);return()=>{var b;const m=c.resolve(d.to);return d.custom?(b=h.default)==null?void 0:b.call(h,{href:d.to,navigate:p,route:m}):ef("a",{href:d.to,onClick:g=>(g.preventDefault(),p())},h)}}})),window.addEventListener("popstate",d=>{const h=d.target.location;c.replace(h.href.replace(h.origin,""))}),t._route=o,t._middleware=t._middleware||{global:[],named:{}};const u=t.payload.state._layout;return t.hooks.hookOnce("app:created",async()=>{c.beforeEach(async(d,h)=>{d.meta=dc(d.meta||{}),t.isHydrating&&u&&!fc(d.meta.layout)&&(d.meta.layout=u),t._processingMiddleware=!0;{const p=new Set([...SF,...t._middleware.global]);{const m=await t.runWithContext(()=>Sk({path:d.path}));if(m.appMiddleware)for(const b in m.appMiddleware){const g=t._middleware.named[b];if(!g)return;m.appMiddleware[b]?p.add(g):p.delete(g)}}for(const m of p){const b=await t.runWithContext(()=>m(d,h));if(b!==!0&&(b||b===!1))return b}}}),c.afterEach(()=>{delete t._processingMiddleware}),await c.replace(e),k7(o.fullPath,e)||await t.runWithContext(()=>sM(o.fullPath))}),{provide:{route:o,router:c}}}}),zx=globalThis.requestIdleCallback||(t=>{const e=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-e))};return setTimeout(()=>{t(n)},1)}),EF=globalThis.cancelIdleCallback||(t=>{clearTimeout(t)}),r0=t=>{const e=oi();e.isHydrating?e.hooks.hookOnce("app:suspense:resolve",()=>{zx(()=>t())}):zx(()=>t())},OF=Va({name:"nuxt:payload",setup(t){Ra().beforeResolve(async(e,n)=>{if(e.path===n.path)return;const r=await RC(e.path);r&&Object.assign(t.static.data,r.data)}),r0(()=>{var e;t.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await RC(n)}),((e=navigator.connection)==null?void 0:e.effectiveType)!=="slow-2g"&&setTimeout(n0,1e3)})}}),AF=Va(()=>{const t=Ra();r0(()=>{t.beforeResolve(async()=>{await new Promise(e=>{setTimeout(e,100),requestAnimationFrame(()=>{setTimeout(e,0)})})})})}),TF=Va(t=>{let e;async function n(){const r=await n0();e&&clearTimeout(e),e=setTimeout(n,_C);try{const i=await $fetch(jk("builds/latest.json")+`?${Date.now()}`);i.id!==r.id&&t.hooks.callHook("app:manifest:update",i)}catch{}}r0(()=>{e=setTimeout(n,_C)})});function PF(t={}){const e=t.path||window.location.pathname;let n={};try{n=oy(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:oi().payload.state}))}catch{}window.location.pathname!==e?window.location.href=e:window.location.reload()}}const RF=Va({name:"nuxt:chunk-reload",setup(t){const e=Ra(),n=tf(),r=new Set;e.beforeEach(()=>{r.clear()}),t.hook("app:chunkError",({error:s})=>{r.add(s)});function i(s){const a="href"in s&&s.href[0]==="#"?n.app.baseURL+s.href:hc(n.app.baseURL,s.fullPath);PF({path:a,persistState:!0})}t.hook("app:manifest:update",()=>{e.beforeResolve(i)}),e.onError((s,o)=>{r.has(s)&&i(o)})}}),$F=Va({name:"nuxt:global-components"}),MF=Va(()=>{}),IF=["top","right","bottom","left"],$C=["start","end"],MC=IF.reduce((t,e)=>t.concat(e,e+"-"+$C[0],e+"-"+$C[1]),[]),Jh=Math.min,Qc=Math.max,NF={left:"right",right:"left",bottom:"top",top:"bottom"},LF={start:"end",end:"start"};function Bx(t,e,n){return Qc(t,Jh(e,n))}function Du(t,e){return typeof t=="function"?t(e):t}function $a(t){return t.split("-")[0]}function Bo(t){return t.split("-")[1]}function bM(t){return t==="x"?"y":"x"}function Ck(t){return t==="y"?"height":"width"}function xu(t){return["top","bottom"].includes($a(t))?"y":"x"}function Ek(t){return bM(xu(t))}function wM(t,e,n){n===void 0&&(n=!1);const r=Bo(t),i=Ek(t),s=Ck(i);let o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(o=vy(o)),[o,vy(o)]}function DF(t){const e=vy(t);return[gy(t),e,gy(e)]}function gy(t){return t.replace(/start|end/g,e=>LF[e])}function zF(t,e,n){const r=["left","right"],i=["right","left"],s=["top","bottom"],o=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:r:e?r:i;case"left":case"right":return e?s:o;default:return[]}}function BF(t,e,n,r){const i=Bo(t);let s=zF($a(t),n==="start",r);return i&&(s=s.map(o=>o+"-"+i),e&&(s=s.concat(s.map(gy)))),s}function vy(t){return t.replace(/left|right|bottom|top/g,e=>NF[e])}function FF(t){return{top:0,right:0,bottom:0,left:0,...t}}function xM(t){return typeof t!="number"?FF(t):{top:t,right:t,bottom:t,left:t}}function Eh(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 IC(t,e,n){let{reference:r,floating:i}=t;const s=xu(e),o=Ek(e),a=Ck(o),l=$a(e),c=s==="y",u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,h=r[a]/2-i[a]/2;let p;switch(l){case"top":p={x:u,y:r.y-i.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:d};break;case"left":p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(Bo(e)){case"start":p[o]-=h*(n&&c?-1:1);break;case"end":p[o]+=h*(n&&c?-1:1);break}return p}const VF=async(t,e,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:s=[],platform:o}=n,a=s.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(e));let c=await o.getElementRects({reference:t,floating:e,strategy:i}),{x:u,y:d}=IC(c,r,l),h=r,p={},m=0;for(let b=0;b<a.length;b++){const{name:g,fn:v}=a[b],{x:y,y:w,data:x,reset:_}=await v({x:u,y:d,initialPlacement:r,placement:h,strategy:i,middlewareData:p,rects:c,platform:o,elements:{reference:t,floating:e}});u=y??u,d=w??d,p={...p,[g]:{...p[g],...x}},_&&m<=50&&(m++,typeof _=="object"&&(_.placement&&(h=_.placement),_.rects&&(c=_.rects===!0?await o.getElementRects({reference:t,floating:e,strategy:i}):_.rects),{x:u,y:d}=IC(c,h,l)),b=-1)}return{x:u,y:d,placement:h,strategy:i,middlewareData:p}};async function i0(t,e){var n;e===void 0&&(e={});const{x:r,y:i,platform:s,rects:o,elements:a,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:h=!1,padding:p=0}=Du(e,t),m=xM(p),g=a[h?d==="floating"?"reference":"floating":d],v=Eh(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(g)))==null||n?g:g.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),y=d==="floating"?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,w=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),x=await(s.isElement==null?void 0:s.isElement(w))?await(s.getScale==null?void 0:s.getScale(w))||{x:1,y:1}:{x:1,y:1},_=Eh(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:w,strategy:l}):y);return{top:(v.top-_.top+m.top)/x.y,bottom:(_.bottom-v.bottom+m.bottom)/x.y,left:(v.left-_.left+m.left)/x.x,right:(_.right-v.right+m.right)/x.x}}const qF=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:i,rects:s,platform:o,elements:a,middlewareData:l}=e,{element:c,padding:u=0}=Du(t,e)||{};if(c==null)return{};const d=xM(u),h={x:n,y:r},p=Ek(i),m=Ck(p),b=await o.getDimensions(c),g=p==="y",v=g?"top":"left",y=g?"bottom":"right",w=g?"clientHeight":"clientWidth",x=s.reference[m]+s.reference[p]-h[p]-s.floating[m],_=h[p]-s.reference[p],j=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c));let k=j?j[w]:0;(!k||!await(o.isElement==null?void 0:o.isElement(j)))&&(k=a.floating[w]||s.floating[m]);const T=x/2-_/2,C=k/2-b[m]/2-1,I=Jh(d[v],C),z=Jh(d[y],C),D=I,K=k-b[m]-z,de=k/2-b[m]/2+T,X=Bx(D,de,K),Q=!l.arrow&&Bo(i)!=null&&de!==X&&s.reference[m]/2-(de<D?I:z)-b[m]/2<0,ce=Q?de<D?de-D:de-K:0;return{[p]:h[p]+ce,data:{[p]:X,centerOffset:de-X-ce,...Q&&{alignmentOffset:ce}},reset:Q}}});function HF(t,e,n){return(t?[...n.filter(i=>Bo(i)===t),...n.filter(i=>Bo(i)!==t)]:n.filter(i=>$a(i)===i)).filter(i=>t?Bo(i)===t||(e?gy(i)!==i:!1):!0)}const UF=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,r,i;const{rects:s,middlewareData:o,placement:a,platform:l,elements:c}=e,{crossAxis:u=!1,alignment:d,allowedPlacements:h=MC,autoAlignment:p=!0,...m}=Du(t,e),b=d!==void 0||h===MC?HF(d||null,p,h):h,g=await i0(e,m),v=((n=o.autoPlacement)==null?void 0:n.index)||0,y=b[v];if(y==null)return{};const w=wM(y,s,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==y)return{reset:{placement:b[0]}};const x=[g[$a(y)],g[w[0]],g[w[1]]],_=[...((r=o.autoPlacement)==null?void 0:r.overflows)||[],{placement:y,overflows:x}],j=b[v+1];if(j)return{data:{index:v+1,overflows:_},reset:{placement:j}};const k=_.map(I=>{const z=Bo(I.placement);return[I.placement,z&&u?I.overflows.slice(0,2).reduce((D,K)=>D+K,0):I.overflows[0],I.overflows]}).sort((I,z)=>I[1]-z[1]),C=((i=k.filter(I=>I[2].slice(0,Bo(I[0])?2:3).every(z=>z<=0))[0])==null?void 0:i[0])||k[0][0];return C!==a?{data:{index:v+1,overflows:_},reset:{placement:C}}:{}}}},WF=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:i,middlewareData:s,rects:o,initialPlacement:a,platform:l,elements:c}=e,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:b=!0,...g}=Du(t,e);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const v=$a(i),y=xu(a),w=$a(a)===a,x=await(l.isRTL==null?void 0:l.isRTL(c.floating)),_=h||(w||!b?[vy(a)]:DF(a)),j=m!=="none";!h&&j&&_.push(...BF(a,b,m,x));const k=[a,..._],T=await i0(e,g),C=[];let I=((r=s.flip)==null?void 0:r.overflows)||[];if(u&&C.push(T[v]),d){const de=wM(i,o,x);C.push(T[de[0]],T[de[1]])}if(I=[...I,{placement:i,overflows:C}],!C.every(de=>de<=0)){var z,D;const de=(((z=s.flip)==null?void 0:z.index)||0)+1,X=k[de];if(X)return{data:{index:de,overflows:I},reset:{placement:X}};let Q=(D=I.filter(ce=>ce.overflows[0]<=0).sort((ce,Z)=>ce.overflows[1]-Z.overflows[1])[0])==null?void 0:D.placement;if(!Q)switch(p){case"bestFit":{var K;const ce=(K=I.filter(Z=>{if(j){const le=xu(Z.placement);return le===y||le==="y"}return!0}).map(Z=>[Z.placement,Z.overflows.filter(le=>le>0).reduce((le,te)=>le+te,0)]).sort((Z,le)=>Z[1]-le[1])[0])==null?void 0:K[0];ce&&(Q=ce);break}case"initialPlacement":Q=a;break}if(i!==Q)return{reset:{placement:Q}}}return{}}}};async function GF(t,e){const{placement:n,platform:r,elements:i}=t,s=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=$a(n),a=Bo(n),l=xu(n)==="y",c=["left","top"].includes(o)?-1:1,u=s&&l?-1:1,d=Du(e,t);let{mainAxis:h,crossAxis:p,alignmentAxis:m}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof m=="number"&&(p=a==="end"?m*-1:m),l?{x:p*u,y:h*c}:{x:h*c,y:p*u}}const KF=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:i,y:s,placement:o,middlewareData:a}=e,l=await GF(e,t);return o===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:s+l.y,data:{...l,placement:o}}}}},JF=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:i}=e,{mainAxis:s=!0,crossAxis:o=!1,limiter:a={fn:g=>{let{x:v,y}=g;return{x:v,y}}},...l}=Du(t,e),c={x:n,y:r},u=await i0(e,l),d=xu($a(i)),h=bM(d);let p=c[h],m=c[d];if(s){const g=h==="y"?"top":"left",v=h==="y"?"bottom":"right",y=p+u[g],w=p-u[v];p=Bx(y,p,w)}if(o){const g=d==="y"?"top":"left",v=d==="y"?"bottom":"right",y=m+u[g],w=m-u[v];m=Bx(y,m,w)}const b=a.fn({...e,[h]:p,[d]:m});return{...b,data:{x:b.x-n,y:b.y-r,enabled:{[h]:s,[d]:o}}}}}},YF=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,r;const{placement:i,rects:s,platform:o,elements:a}=e,{apply:l=()=>{},...c}=Du(t,e),u=await i0(e,c),d=$a(i),h=Bo(i),p=xu(i)==="y",{width:m,height:b}=s.floating;let g,v;d==="top"||d==="bottom"?(g=d,v=h===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(v=d,g=h==="end"?"top":"bottom");const y=b-u.top-u.bottom,w=m-u.left-u.right,x=Jh(b-u[g],y),_=Jh(m-u[v],w),j=!e.middlewareData.shift;let k=x,T=_;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(T=w),(r=e.middlewareData.shift)!=null&&r.enabled.y&&(k=y),j&&!h){const I=Qc(u.left,0),z=Qc(u.right,0),D=Qc(u.top,0),K=Qc(u.bottom,0);p?T=m-2*(I!==0||z!==0?I+z:Qc(u.left,u.right)):k=b-2*(D!==0||K!==0?D+K:Qc(u.top,u.bottom))}await l({...e,availableWidth:T,availableHeight:k});const C=await o.getDimensions(a.floating);return m!==C.width||b!==C.height?{reset:{rects:!0}}:{}}}};function co(t){var e;return((e=t.ownerDocument)==null?void 0:e.defaultView)||window}function ka(t){return co(t).getComputedStyle(t)}const NC=Math.min,Oh=Math.max,yy=Math.round;function _M(t){const e=ka(t);let n=parseFloat(e.width),r=parseFloat(e.height);const i=t.offsetWidth,s=t.offsetHeight,o=yy(n)!==i||yy(r)!==s;return o&&(n=i,r=s),{width:n,height:r,fallback:o}}function pc(t){return kM(t)?(t.nodeName||"").toLowerCase():""}let $m;function jM(){if($m)return $m;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?($m=t.brands.map(e=>e.brand+"/"+e.version).join(" "),$m):navigator.userAgent}function Sa(t){return t instanceof co(t).HTMLElement}function nc(t){return t instanceof co(t).Element}function kM(t){return t instanceof co(t).Node}function LC(t){return typeof ShadowRoot>"u"?!1:t instanceof co(t).ShadowRoot||t instanceof ShadowRoot}function s0(t){const{overflow:e,overflowX:n,overflowY:r,display:i}=ka(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!["inline","contents"].includes(i)}function QF(t){return["table","td","th"].includes(pc(t))}function Fx(t){const e=/firefox/i.test(jM()),n=ka(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 s=n.contain;return s!=null&&s.includes(i)})}function SM(){return!/^((?!chrome|android).)*safari/i.test(jM())}function Ok(t){return["html","body","#document"].includes(pc(t))}function CM(t){return nc(t)?t:t.contextElement}const EM={x:1,y:1};function Td(t){const e=CM(t);if(!Sa(e))return EM;const n=e.getBoundingClientRect(),{width:r,height:i,fallback:s}=_M(e);let o=(s?yy(n.width):n.width)/r,a=(s?yy(n.height):n.height)/i;return o&&Number.isFinite(o)||(o=1),a&&Number.isFinite(a)||(a=1),{x:o,y:a}}function Yh(t,e,n,r){var i,s;e===void 0&&(e=!1),n===void 0&&(n=!1);const o=t.getBoundingClientRect(),a=CM(t);let l=EM;e&&(r?nc(r)&&(l=Td(r)):l=Td(t));const c=a?co(a):window,u=!SM()&&n;let d=(o.left+(u&&((i=c.visualViewport)==null?void 0:i.offsetLeft)||0))/l.x,h=(o.top+(u&&((s=c.visualViewport)==null?void 0:s.offsetTop)||0))/l.y,p=o.width/l.x,m=o.height/l.y;if(a){const b=co(a),g=r&&nc(r)?co(r):r;let v=b.frameElement;for(;v&&r&&g!==b;){const y=Td(v),w=v.getBoundingClientRect(),x=getComputedStyle(v);w.x+=(v.clientLeft+parseFloat(x.paddingLeft))*y.x,w.y+=(v.clientTop+parseFloat(x.paddingTop))*y.y,d*=y.x,h*=y.y,p*=y.x,m*=y.y,d+=w.x,h+=w.y,v=co(v).frameElement}}return{width:p,height:m,top:h,right:d+p,bottom:h+m,left:d,x:d,y:h}}function rc(t){return((kM(t)?t.ownerDocument:t.document)||window.document).documentElement}function o0(t){return nc(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function OM(t){return Yh(rc(t)).left+o0(t).scrollLeft}function Qh(t){if(pc(t)==="html")return t;const e=t.assignedSlot||t.parentNode||LC(t)&&t.host||rc(t);return LC(e)?e.host:e}function AM(t){const e=Qh(t);return Ok(e)?e.ownerDocument.body:Sa(e)&&s0(e)?e:AM(e)}function by(t,e){var n;e===void 0&&(e=[]);const r=AM(t),i=r===((n=t.ownerDocument)==null?void 0:n.body),s=co(r);return i?e.concat(s,s.visualViewport||[],s0(r)?r:[]):e.concat(r,by(r))}function DC(t,e,n){return e==="viewport"?Eh(function(r,i){const s=co(r),o=rc(r),a=s.visualViewport;let l=o.clientWidth,c=o.clientHeight,u=0,d=0;if(a){l=a.width,c=a.height;const h=SM();(h||!h&&i==="fixed")&&(u=a.offsetLeft,d=a.offsetTop)}return{width:l,height:c,x:u,y:d}}(t,n)):nc(e)?Eh(function(r,i){const s=Yh(r,!0,i==="fixed"),o=s.top+r.clientTop,a=s.left+r.clientLeft,l=Sa(r)?Td(r):{x:1,y:1};return{width:r.clientWidth*l.x,height:r.clientHeight*l.y,x:a*l.x,y:o*l.y}}(e,n)):Eh(function(r){const i=rc(r),s=o0(r),o=r.ownerDocument.body,a=Oh(i.scrollWidth,i.clientWidth,o.scrollWidth,o.clientWidth),l=Oh(i.scrollHeight,i.clientHeight,o.scrollHeight,o.clientHeight);let c=-s.scrollLeft+OM(r);const u=-s.scrollTop;return ka(o).direction==="rtl"&&(c+=Oh(i.clientWidth,o.clientWidth)-a),{width:a,height:l,x:c,y:u}}(rc(t)))}function zC(t){return Sa(t)&&ka(t).position!=="fixed"?t.offsetParent:null}function BC(t){const e=co(t);let n=zC(t);for(;n&&QF(n)&&ka(n).position==="static";)n=zC(n);return n&&(pc(n)==="html"||pc(n)==="body"&&ka(n).position==="static"&&!Fx(n))?e:n||function(r){let i=Qh(r);for(;Sa(i)&&!Ok(i);){if(Fx(i))return i;i=Qh(i)}return null}(t)||e}function XF(t,e,n){const r=Sa(e),i=rc(e),s=Yh(t,!0,n==="fixed",e);let o={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((pc(e)!=="body"||s0(i))&&(o=o0(e)),Sa(e)){const l=Yh(e,!0);a.x=l.x+e.clientLeft,a.y=l.y+e.clientTop}else i&&(a.x=OM(i));return{x:s.left+o.scrollLeft-a.x,y:s.top+o.scrollTop-a.y,width:s.width,height:s.height}}const ZF={getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:i}=t;const s=n==="clippingAncestors"?function(c,u){const d=u.get(c);if(d)return d;let h=by(c).filter(g=>nc(g)&&pc(g)!=="body"),p=null;const m=ka(c).position==="fixed";let b=m?Qh(c):c;for(;nc(b)&&!Ok(b);){const g=ka(b),v=Fx(b);(m?v||p:v||g.position!=="static"||!p||!["absolute","fixed"].includes(p.position))?p=g:h=h.filter(y=>y!==b),b=Qh(b)}return u.set(c,h),h}(e,this._c):[].concat(n),o=[...s,r],a=o[0],l=o.reduce((c,u)=>{const d=DC(e,u,i);return c.top=Oh(d.top,c.top),c.right=NC(d.right,c.right),c.bottom=NC(d.bottom,c.bottom),c.left=Oh(d.left,c.left),c},DC(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=Sa(n),s=rc(n);if(n===s)return e;let o={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((i||!i&&r!=="fixed")&&((pc(n)!=="body"||s0(s))&&(o=o0(n)),Sa(n))){const c=Yh(n);a=Td(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-o.scrollLeft*a.x+l.x,y:e.y*a.y-o.scrollTop*a.y+l.y}},isElement:nc,getDimensions:function(t){return Sa(t)?_M(t):t.getBoundingClientRect()},getOffsetParent:BC,getDocumentElement:rc,getScale:Td,async getElementRects(t){let{reference:e,floating:n,strategy:r}=t;const i=this.getOffsetParent||BC,s=this.getDimensions;return{reference:XF(e,await i(n),r),floating:{x:0,y:0,...await s(n)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>ka(t).direction==="rtl"},eV=(t,e,n)=>{const r=new Map,i={platform:ZF,...n},s={...i.platform,_c:r};return VF(t,e,{...i,platform:s})};function TM(t,e){for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(typeof e[n]=="object"&&t[n]?TM(t[n],e[n]):t[n]=e[n])}const Fo={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 Xh(t,e){let n=Fo.themes[t]||{},r;do r=n[e],typeof r>"u"?n.$extend?n=Fo.themes[n.$extend]||{}:(n=null,r=Fo[e]):n=null;while(n);return r}function tV(t){const e=[t];let n=Fo.themes[t]||{};do n.$extend&&!n.$resetCss?(e.push(n.$extend),n=Fo.themes[n.$extend]||{}):n=null;while(n);return e.map(r=>`v-popper--theme-${r}`)}function FC(t){const e=[t];let n=Fo.themes[t]||{};do n.$extend?(e.push(n.$extend),n=Fo.themes[n.$extend]||{}):n=null;while(n);return e}let nf=!1;if(typeof window<"u"){nf=!1;try{const t=Object.defineProperty({},"passive",{get(){nf=!0}});window.addEventListener("test",null,t)}catch{}}let PM=!1;typeof window<"u"&&typeof navigator<"u"&&(PM=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const RM=["auto","top","bottom","left","right"].reduce((t,e)=>t.concat([e,`${e}-start`,`${e}-end`]),[]),VC={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},qC={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function HC(t,e){const n=t.indexOf(e);n!==-1&&t.splice(n,1)}function I1(){return new Promise(t=>requestAnimationFrame(()=>{requestAnimationFrame(t)}))}const Mo=[];let Vc=null;const UC={};function WC(t){let e=UC[t];return e||(e=UC[t]=[]),e}let Vx=function(){};typeof window<"u"&&(Vx=window.Element);function Qn(t){return function(e){return Xh(e.theme,t)}}const N1="__floating-vue__popper",$M=()=>Ri({name:"VPopper",provide(){return{[N1]:{parentPopper:this}}},inject:{[N1]:{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:Qn("disabled")},positioningDisabled:{type:Boolean,default:Qn("positioningDisabled")},placement:{type:String,default:Qn("placement"),validator:t=>RM.includes(t)},delay:{type:[String,Number,Object],default:Qn("delay")},distance:{type:[Number,String],default:Qn("distance")},skidding:{type:[Number,String],default:Qn("skidding")},triggers:{type:Array,default:Qn("triggers")},showTriggers:{type:[Array,Function],default:Qn("showTriggers")},hideTriggers:{type:[Array,Function],default:Qn("hideTriggers")},popperTriggers:{type:Array,default:Qn("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:Qn("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:Qn("popperHideTriggers")},container:{type:[String,Object,Vx,Boolean],default:Qn("container")},boundary:{type:[String,Vx],default:Qn("boundary")},strategy:{type:String,validator:t=>["absolute","fixed"].includes(t),default:Qn("strategy")},autoHide:{type:[Boolean,Function],default:Qn("autoHide")},handleResize:{type:Boolean,default:Qn("handleResize")},instantMove:{type:Boolean,default:Qn("instantMove")},eagerMount:{type:Boolean,default:Qn("eagerMount")},popperClass:{type:[String,Array,Object],default:Qn("popperClass")},computeTransformOrigin:{type:Boolean,default:Qn("computeTransformOrigin")},autoMinSize:{type:Boolean,default:Qn("autoMinSize")},autoSize:{type:[Boolean,String],default:Qn("autoSize")},autoMaxSize:{type:Boolean,default:Qn("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:Qn("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:Qn("preventOverflow")},overflowPadding:{type:[Number,String],default:Qn("overflowPadding")},arrowPadding:{type:[Number,String],default:Qn("arrowPadding")},arrowOverflow:{type:Boolean,default:Qn("arrowOverflow")},flip:{type:Boolean,default:Qn("flip")},shift:{type:Boolean,default:Qn("shift")},shiftCrossAxis:{type:Boolean,default:Qn("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:Qn("noAutoFocus")},disposeTimeout:{type:Number,default:Qn("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[N1])==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(KF({mainAxis:this.distance,crossAxis:this.skidding}));const e=this.placement.startsWith("auto");if(e?t.middleware.push(UF({alignment:this.placement.split("-")[1]??""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(JF({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!e&&this.flip&&t.middleware.push(WF({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(qF({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:i,middlewareData:s})=>{let o;const{centerOffset:a}=s.arrow;return r.startsWith("top")||r.startsWith("bottom")?o=Math.abs(a)>i.reference.width/2:o=Math.abs(a)>i.reference.height/2,{data:{overflow:o}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;t.middleware.push({name:"autoSize",fn:({rects:i,placement:s,middlewareData:o})=>{var a;if((a=o.autoSize)!=null&&a.skip)return{};let l,c;return s.startsWith("top")||s.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(YF({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 eV(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),Vc&&this.instantMove&&Vc.instantMove&&Vc!==this.parentPopper){Vc.$_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&&(Vc=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 I1(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...by(this.$_referenceNode),...by(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),s=e.y+e.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${i}px ${s}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<Mo.length;n++)e=Mo[n],e.showGroup!==t&&(e.hide(),e.$emit("close-group"))}Mo.push(this),document.body.classList.add("v-popper--some-open");for(const e of FC(this.theme))WC(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 I1(),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,HC(Mo,this),Mo.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of FC(this.theme)){const r=WC(n);HC(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Vc===this&&(Vc=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 I1(),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,VC,this.triggers,this.showTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],VC,this.popperTriggers,this.popperShowTriggers,t);const e=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,qC,this.triggers,this.hideTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],qC,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,nf?{passive:!0}:void 0))},$_registerTriggerListeners(t,e,n,r,i){let s=n;r!=null&&(s=typeof r=="function"?r(s):r),s.forEach(o=>{const a=e[o];a&&this.$_registerEventListeners(t,a,i)})},$_removeEventListeners(t){const e=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:i,handler:s}=n;!t||t===i?r.forEach(o=>o.removeEventListener(i,s)):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(Ah>=t.left&&Ah<=t.right&&Th>=t.top&&Th<=t.bottom){const e=this.$_popperNode.getBoundingClientRect(),n=Ah-Ml,r=Th-Il,i=e.left+e.width/2-Ml+(e.top+e.height/2)-Il+e.width+e.height,s=Ml+n*i,o=Il+r*i;return Mm(Ml,Il,s,o,e.left,e.top,e.left,e.bottom)||Mm(Ml,Il,s,o,e.left,e.top,e.right,e.top)||Mm(Ml,Il,s,o,e.right,e.top,e.right,e.bottom)||Mm(Ml,Il,s,o,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(PM){const t=nf?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",e=>GC(e,!0),t),document.addEventListener("touchend",e=>KC(e,!0),t)}else window.addEventListener("mousedown",t=>GC(t,!1),!0),window.addEventListener("click",t=>KC(t,!1),!0);window.addEventListener("resize",rV)}function GC(t,e){if(Fo.autoHideOnMousedown)MM(t,e);else for(let n=0;n<Mo.length;n++){const r=Mo[n];try{r.mouseDownContains=r.popperNode().contains(t.target)}catch{}}}function KC(t,e){Fo.autoHideOnMousedown||MM(t,e)}function MM(t,e){const n={};for(let r=Mo.length-1;r>=0;r--){const i=Mo[r];try{const s=i.containsGlobalTarget=i.mouseDownContains||i.popperNode().contains(t.target);i.pendingHide=!1,requestAnimationFrame(()=>{if(i.pendingHide=!1,!n[i.randomId]&&JC(i,s,t)){if(i.$_handleGlobalClose(t,e),!t.closeAllPopover&&t.closePopover&&s){let a=i.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let o=i.parentPopper;for(;o&&JC(o,o.containsGlobalTarget,t);)o.$_handleGlobalClose(t,e),o=o.parentPopper}})}catch{}}}function JC(t,e,n){return n.closeAllPopover||n.closePopover&&e||nV(t,n)&&!e}function nV(t,e){if(typeof t.autoHide=="function"){const n=t.autoHide(e);return t.lastAutoHide=n,n}return t.autoHide}function rV(){for(let t=0;t<Mo.length;t++)Mo[t].$_computePosition()}let Ml=0,Il=0,Ah=0,Th=0;typeof window<"u"&&window.addEventListener("mousemove",t=>{Ml=Ah,Il=Th,Ah=t.clientX,Th=t.clientY},nf?{passive:!0}:void 0);function Mm(t,e,n,r,i,s,o,a){const l=((o-i)*(e-s)-(a-s)*(t-i))/((a-s)*(n-t)-(o-i)*(r-e)),c=((n-t)*(e-s)-(r-e)*(t-i))/((a-s)*(n-t)-(o-i)*(r-e));return l>=0&&l<=1&&c>=0&&c<=1}const iV={extends:$M()},a0=(t,e)=>{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n};function sV(t,e,n,r,i,s){return We(),Ct("div",{ref:"reference",class:Yr(["v-popper",{"v-popper--shown":t.slotData.isShown}])},[Ar(t.$slots,"default",SR(yk(t.slotData)))],2)}const oV=a0(iV,[["render",sV]]);function aV(){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 Cv;function qx(){qx.init||(qx.init=!0,Cv=aV()!==-1)}var l0={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){qx(),Ac(()=>{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",Cv&&this.$el.appendChild(t),t.data="about:blank",Cv||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&&(!Cv&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const lV=y9();g9("data-v-b329ee4c");const cV={class:"resize-observer",tabindex:"-1"};v9();const uV=lV((t,e,n,r,i,s)=>(We(),wn("div",cV)));l0.render=uV;l0.__scopeId="data-v-b329ee4c";l0.__file="src/components/ResizeObserver.vue";const IM=(t="theme")=>({computed:{themeClass(){return tV(this[t])}}}),dV=Ri({name:"VPopperContent",components:{ResizeObserver:l0},mixins:[IM()],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}}}),fV=["id","aria-hidden","tabindex","data-popper-placement"],hV={ref:"inner",class:"v-popper__inner"},pV=qe("div",{class:"v-popper__arrow-outer"},null,-1),mV=qe("div",{class:"v-popper__arrow-inner"},null,-1),gV=[pV,mV];function vV(t,e,n,r,i,s){const o=yl("ResizeObserver");return We(),Ct("div",{id:t.popperId,ref:"popover",class:Yr(["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:Do(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]=Gz(a=>t.autoHide&&t.$emit("hide"),["esc"]))},[qe("div",{class:"v-popper__backdrop",onClick:e[0]||(e[0]=a=>t.autoHide&&t.$emit("hide"))}),qe("div",{class:"v-popper__wrapper",style:Do(t.result?{transformOrigin:t.result.transformOrigin}:void 0)},[qe("div",hV,[t.mounted?(We(),Ct(Ei,{key:0},[qe("div",null,[Ar(t.$slots,"default")]),t.handleResize?(We(),wn(o,{key:0,onNotify:e[1]||(e[1]=a=>t.$emit("resize",a))})):pr("",!0)],64)):pr("",!0)],512),qe("div",{ref:"arrow",class:"v-popper__arrow-container",style:Do(t.result?{left:t.toPx(t.result.arrow.x),top:t.toPx(t.result.arrow.y)}:void 0)},gV,4)],4)],46,fV)}const NM=a0(dV,[["render",vV]]),LM={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 Hx=function(){};typeof window<"u"&&(Hx=window.Element);const yV=Ri({name:"VPopperWrapper",components:{Popper:oV,PopperContent:NM},mixins:[LM,IM("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,Hx,Boolean],default:void 0},boundary:{type:[String,Hx],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 bV(t,e,n,r,i,s){const o=yl("PopperContent"),a=yl("Popper");return We(),wn(a,Kp({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:mt(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:d,autoHide:h,show:p,hide:m,handleResize:b,onResize:g,classes:v,result:y})=>[Ar(t.$slots,"default",{shown:c,show:p,hide:m}),rt(o,{ref:"popperContent","popper-id":l,theme:t.finalTheme,shown:c,mounted:u,"skip-transition":d,"auto-hide":h,"handle-resize":b,classes:v,result:y,onHide:m,onResize:g},{default:mt(()=>[Ar(t.$slots,"popper",{shown:c,hide:m})]),_: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 Ak=a0(yV,[["render",bV]]),wV={...Ak,name:"VDropdown",vPopperTheme:"dropdown"},xV={...Ak,name:"VMenu",vPopperTheme:"menu"},_V={...Ak,name:"VTooltip",vPopperTheme:"tooltip"},jV=Ri({name:"VTooltipDirective",components:{Popper:$M(),PopperContent:NM},mixins:[LM],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:t=>Xh(t.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:t=>Xh(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}}}),kV=["innerHTML"],SV=["textContent"];function CV(t,e,n,r,i,s){const o=yl("PopperContent"),a=yl("Popper");return We(),wn(a,Kp({ref:"popper"},t.$attrs,{theme:t.theme,"target-nodes":t.targetNodes,"popper-node":()=>t.$refs.popperContent.$el,onApplyShow:t.onShow,onApplyHide:t.onHide}),{default:mt(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:d,autoHide:h,hide:p,handleResize:m,onResize:b,classes:g,result:v})=>[rt(o,{ref:"popperContent",class:Yr({"v-popper--tooltip-loading":t.loading}),"popper-id":l,theme:t.theme,shown:c,mounted:u,"skip-transition":d,"auto-hide":h,"handle-resize":m,classes:g,result:v,onHide:p,onResize:b},{default:mt(()=>[t.html?(We(),Ct("div",{key:0,innerHTML:t.finalContent},null,8,kV)):(We(),Ct("div",{key:1,textContent:Nr(t.finalContent)},null,8,SV))]),_: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 EV=a0(jV,[["render",CV]]),DM="v-popper--has-tooltip";function OV(t,e){let n=t.placement;if(!n&&e)for(const r of RM)e[r]&&(n=r);return n||(n=Xh(t.theme||"tooltip","placement")),n}function zM(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=OV(r,n),r.targetNodes=()=>[t],r.referenceNode=()=>t,r}let L1,Zh,AV=0;function TV(){if(L1)return;Zh=Zt([]),L1=N$({name:"VTooltipDirectiveApp",setup(){return{directives:Zh}},render(){return this.directives.map(e=>ef(EV,{...e.options,shown:e.shown||e.options.shown,key:e.id}))},devtools:{hide:!0}});const t=document.createElement("div");document.body.appendChild(t),L1.mount(t)}function PV(t,e,n){TV();const r=Zt(zM(t,e,n)),i=Zt(!1),s={id:AV++,options:r,shown:i};return Zh.value.push(s),t.classList&&t.classList.add(DM),t.$_popper={options:r,item:s,show(){i.value=!0},hide(){i.value=!1}}}function BM(t){if(t.$_popper){const e=Zh.value.indexOf(t.$_popper.item);e!==-1&&Zh.value.splice(e,1),delete t.$_popper,delete t.$_popperOldShown,delete t.$_popperMountTarget}t.classList&&t.classList.remove(DM)}function YC(t,{value:e,modifiers:n}){const r=zM(t,e,n);if(!r.content||Xh(r.theme||"tooltip","disabled"))BM(t);else{let i;t.$_popper?(i=t.$_popper,i.options.value=r):i=PV(t,e,n),typeof e.shown<"u"&&e.shown!==t.$_popperOldShown&&(t.$_popperOldShown=e.shown,e.shown?i.show():i.hide())}}const RV={beforeMount:YC,updated:YC,beforeUnmount(t){BM(t)}};function QC(t){t.addEventListener("mousedown",wy),t.addEventListener("click",wy),t.addEventListener("touchstart",FM,nf?{passive:!0}:!1)}function XC(t){t.removeEventListener("mousedown",wy),t.removeEventListener("click",wy),t.removeEventListener("touchstart",FM),t.removeEventListener("touchend",VM),t.removeEventListener("touchcancel",qM)}function wy(t){const e=t.currentTarget;t.closePopover=!e.$_vclosepopover_touch,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}function FM(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",VM),e.addEventListener("touchcancel",qM)}}function VM(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 qM(t){const e=t.currentTarget;e.$_vclosepopover_touch=!1}const $V={beforeMount(t,{value:e,modifiers:n}){t.$_closePopoverModifiers=n,(typeof e>"u"||e)&&QC(t)},updated(t,{value:e,oldValue:n,modifiers:r}){t.$_closePopoverModifiers=r,e!==n&&(typeof e>"u"||e?QC(t):XC(t))},beforeUnmount(t){XC(t)}};function MV(t,e={}){t.$_vTooltipInstalled||(t.$_vTooltipInstalled=!0,TM(Fo,e),t.directive("tooltip",RV),t.directive("close-popper",$V),t.component("VTooltip",_V),t.component("VDropdown",wV),t.component("VMenu",xV))}const IV={version:"5.2.2",install:MV,options:Fo},NV=Va(t=>{t.vueApp.use(IV)}),LV=[xF,jF,CF,OF,AF,TF,RF,$F,MF,NV],Jp=Ri({__name:"NIcon",props:{icon:{}},setup(t){return(e,n)=>(We(),Ct("div",{class:Yr(["n-icon",e.icon])},null,2))}}),Tc=(t,e)=>{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n},DV={},zV={class:"n-badge"};function BV(t,e){return We(),Ct("span",zV,[Ar(t.$slots,"default")])}const FV=Tc(DV,[["render",BV]]);async function HM(t,e=Ra()){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(()=>HM(t,e));e._routePreloaded.add(n);const s=r.map(o=>{var a;return(a=o.components)==null?void 0:a.default}).filter(o=>typeof o=="function");for(const o of s){const a=Promise.resolve(o()).catch(()=>{}).finally(()=>i.splice(i.indexOf(a)));i.push(a)}await Promise.all(i)}const VV=(...t)=>t.find(e=>e!==void 0);function qV(t){const e=t.componentName||"NuxtLink";function n(s){return typeof s=="string"&&s.startsWith("#")}function r(s,o){if(!s||t.trailingSlash!=="append"&&t.trailingSlash!=="remove")return s;if(typeof s=="string")return ZC(s,t.trailingSlash);const a="path"in s&&s.path!==void 0?s.path:o(s).path;return{...s,name:void 0,path:ZC(a,t.trailingSlash)}}function i(s){const o=Ra(),a=tf(),l=mn(()=>!!s.target&&s.target!=="_self"),c=mn(()=>{const g=s.to||s.href||"";return typeof g=="string"&&Cl(g,{acceptRelative:!0})}),u=yl("RouterLink"),d=u&&typeof u!="string"?u.useLink:void 0,h=mn(()=>{if(s.external)return!0;const g=s.to||s.href||"";return typeof g=="object"?!1:g===""||c.value}),p=mn(()=>{const g=s.to||s.href||"";return h.value?g:r(g,o.resolve)}),m=h.value||d==null?void 0:d({...s,to:p}),b=mn(()=>{var g;if(!p.value||c.value||n(p.value))return p.value;if(h.value){const v=typeof p.value=="object"&&"path"in p.value?$x(p.value):p.value,y=typeof v=="object"?o.resolve(v).href:v;return r(y,o.resolve)}return typeof p.value=="object"?((g=o.resolve(p.value))==null?void 0:g.href)??null:r(hc(a.app.baseURL,p.value),o.resolve)});return{to:p,hasTarget:l,isAbsoluteUrl:c,isExternal:h,href:b,isActive:(m==null?void 0:m.isActive)??mn(()=>p.value===o.currentRoute.value.path),isExactActive:(m==null?void 0:m.isExactActive)??mn(()=>p.value===o.currentRoute.value.path),route:(m==null?void 0:m.route)??mn(()=>o.resolve(p.value)),async navigate(){await sM(b.value,{replace:s.replace,external:h.value||l.value})}}}return Ri({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},prefetchOn:{type:[String,Object],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:i,setup(s,{slots:o}){const a=Ra(),{to:l,href:c,navigate:u,isExternal:d,hasTarget:h,isAbsoluteUrl:p}=i(s),m=Zt(!1),b=Zt(null),g=w=>{var x;b.value=s.custom?(x=w==null?void 0:w.$el)==null?void 0:x.nextElementSibling:w==null?void 0:w.$el};function v(w){var x,_;return!m.value&&(typeof s.prefetchOn=="string"?s.prefetchOn===w:((x=s.prefetchOn)==null?void 0:x[w])??((_=t.prefetchOn)==null?void 0:_[w]))&&(s.prefetch??t.prefetch)!==!1&&s.noPrefetch!==!0&&s.target!=="_blank"&&!WV()}async function y(w=oi()){if(m.value)return;m.value=!0;const x=typeof l.value=="string"?l.value:d.value?$x(l.value):a.resolve(l.value).fullPath,_=d.value?new URL(x,window.location.href).href:x;await Promise.all([w.hooks.callHook("link:prefetch",_).catch(()=>{}),!d.value&&!h.value&&HM(l.value,a).catch(()=>{})])}if(v("visibility")){const w=oi();let x,_=null;Lu(()=>{const j=HV();r0(()=>{x=zx(()=>{var k;(k=b==null?void 0:b.value)!=null&&k.tagName&&(_=j.observe(b.value,async()=>{_==null||_(),_=null,await y(w)}))})})}),pk(()=>{x&&EF(x),_==null||_(),_=null})}return()=>{var _;if(!d.value&&!h.value&&!n(l.value)){const j={ref:g,to:l.value,activeClass:s.activeClass||t.activeClass,exactActiveClass:s.exactActiveClass||t.exactActiveClass,replace:s.replace,ariaCurrentValue:s.ariaCurrentValue,custom:s.custom};return s.custom||(v("interaction")&&(j.onPointerenter=y.bind(null,void 0),j.onFocus=y.bind(null,void 0)),m.value&&(j.class=s.prefetchedClass||t.prefetchedClass),j.rel=s.rel||void 0),ef(yl("RouterLink"),j,o.default)}const w=s.target||null,x=VV(s.noRel?"":s.rel,t.externalRelAttribute,p.value||h.value?"noopener noreferrer":"")||null;return s.custom?o.default?o.default({href:c.value,navigate:u,prefetch:y,get route(){if(!c.value)return;const j=new URL(c.value,window.location.href);return{path:j.pathname,fullPath:j.pathname,get query(){return _k(j.search)},hash:j.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:c.value}},rel:x,target:w,isExternal:d.value||h.value,isActive:!1,isExactActive:!1}):null:ef("a",{ref:b,href:c.value||null,rel:x,target:w},(_=o.default)==null?void 0:_.call(o))}}})}const Tk=qV(Z7);function ZC(t,e){const n=e==="append"?ly:e0;return Cl(t)&&!t.startsWith("http")?t:n(t,!0)}function HV(){const t=oi();if(t._observer)return t._observer;let e=null;const n=new Map,r=(s,o)=>(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(s,o),e.observe(s),()=>{n.delete(s),e==null||e.unobserve(s),n.size===0&&(e==null||e.disconnect(),e=null)});return t._observer={observe:r}}const UV=/2g/;function WV(){const t=navigator.connection;return!!(t&&(t.saveData||UV.test(t.effectiveType)))}const GV={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},UM=Ri({__name:"NLink",props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(t){const e=t,n=mn(()=>e.href||e.to);return(r,i)=>{const s=Tk;return We(),wn(s,Kp(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:mt(()=>[Ar(r.$slots,"default"),n.value&&r.target==="_blank"?(We(),Ct("div",GV)):pr("",!0)]),_:3},16,["class"])}}}),KV={},JV={height:"22",viewBox:"0 0 1204 200",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function YV(t,e){return We(),Ct("svg",JV,e[0]||(e[0]=[fz('<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)]))}const QV=Tc(KV,[["render",YV]]),XV=Ri({__name:"NButton",props:{to:{},icon:{},border:{type:Boolean,default:!0},disabled:{type:Boolean},type:{default:"button"}},setup(t){return(e,n)=>{const r=Jp;return We(),wn(i$(e.to?Se(Tk):"button"),Kp({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:mt(()=>[Ar(e.$slots,"icon",{},()=>[e.icon?(We(),wn(r,{key:0,icon:e.icon,class:Yr({"n-button-icon":e.$slots.default})},null,8,["icon","class"])):pr("",!0)]),Ar(e.$slots,"default")]),_:3},16,["to","class"])}}}),ZV={},eq={class:"n-loading n-panel-grids-center"},tq={class:"flex flex-col animate-pulse items-center text-lg"};function nq(t,e){return We(),Ct("div",eq,[qe("div",tq,[e[1]||(e[1]=qe("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1)),Ar(t.$slots,"default",{},()=>[e[0]||(e[0]=Ut(" Loading... "))])])])}const WM=Tc(ZV,[["render",nq]]),rq=Ri({__name:"ImageLoader",props:{src:{},aspectRatio:{},maxHeight:{},maxWidth:{}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=Zt(),s=Zt(!0),o=Zt();function a(l){const c=i.value;if(l!==o.value){o.value=l,s.value=!0,c.style.backgroundImage="";const u=Date.now();$fetch.raw(l,{responseType:"blob"}).then(d=>{const h=d.headers.get("content-length"),p=Math.round(Number(h)/1024),m=new FileReader;m.readAsDataURL(d._data),m.onloadend=()=>{const b=m.result;b&&(c.style.backgroundImage=`url(${b})`,s.value=!1,r("load",{timeTaken:Date.now()-u,sizeKb:p}))}})}}return Lu(()=>{bi(()=>n.src,l=>{a(l)},{immediate:!0})}),(l,c)=>{const u=WM;return We(),Ct("div",{ref_key:"image",ref:i,style:Do({aspectRatio:l.aspectRatio})},[Se(s)?(We(),wn(u,{key:0})):pr("",!0)],4)}}}),GM=Tc(rq,[["__scopeId","data-v-aa7a1878"]]),iq={class:"root max-h-full relative flex"},sq={class:"max-h-full border-1 border-solid border-[#cfd9de] rounded-[16px] overflow-hidden"},oq={class:"image-wrap"},aq={key:0,class:"title absolute bottom-3 z-2 left-3 text-white"},lq={class:"domain absolute -bottom-5 z-2 left-0"},cq=Ri({__name:"TwitterCardRenderer",props:{title:{}},setup(t){return(e,n)=>(We(),Ct("div",iq,[qe("div",sq,[qe("div",oq,[Ar(e.$slots,"default",{},void 0,!0)])]),e.title?(We(),Ct("div",aq,[Ar(e.$slots,"title",{},()=>[Ut(Nr(e.title),1)],!0)])):pr("",!0),qe("div",lq,[Ar(e.$slots,"domain",{},void 0,!0)])]))}}),uq=Tc(cq,[["__scopeId","data-v-356f9e5f"]]),dq={},fq={class:"root"},hq={class:"content"},pq={class:"flex items-center space-x-2"},mq={class:"favIcon"},gq={class:"siteName"},vq={class:"title"},yq={class:"description"};function bq(t,e){return We(),Ct("div",fq,[e[0]||(e[0]=qe("div",{class:"bar"},null,-1)),qe("div",hq,[qe("div",pq,[qe("div",mq,[Ar(t.$slots,"favIcon",{},void 0,!0)]),qe("div",gq,[Ar(t.$slots,"siteName",{},void 0,!0)])]),qe("div",vq,[Ar(t.$slots,"title",{},void 0,!0)]),qe("div",yq,[Ar(t.$slots,"description",{},void 0,!0)]),Ar(t.$slots,"default",{},void 0,!0)])])}const wq=Tc(dq,[["render",bq],["__scopeId","data-v-ba8e339e"]]);function KM(t){return Hb()?(dx(t),!0):!1}const D1=new WeakMap,xq=(...t)=>{var e;const n=t[0],r=(e=Sl())==null?void 0:e.proxy;if(r==null&&!Jb())throw new Error("injectLocal must be called in setup");return r&&D1.has(r)&&n in D1.get(r)?D1.get(r)[n]:fu(...t)},_q=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const jq=t=>typeof t<"u",kq=Object.prototype.toString,Sq=t=>kq.call(t)==="[object Object]",Ux=()=>{};function JM(t,e){function n(...r){return new Promise((i,s)=>{Promise.resolve(t(()=>e.apply(this,r),{fn:e,thisArg:this,args:r})).then(i).catch(s)})}return n}const YM=t=>t();function Cq(t,e={}){let n,r,i=Ux;const s=a=>{clearTimeout(a),i(),i=Ux};return a=>{const l=vl(t),c=vl(e.maxWait);return n&&s(n),l<=0||c!==void 0&&c<=0?(r&&(s(r),r=null),Promise.resolve(a())):new Promise((u,d)=>{i=e.rejectOnCancel?d:u,c&&!r&&(r=setTimeout(()=>{n&&s(n),r=null,u(a())},c)),n=setTimeout(()=>{r&&s(r),r=null,u(a())},l)})}}function Eq(t=YM){const e=Zt(!0);function n(){e.value=!1}function r(){e.value=!0}const i=(...s)=>{e.value&&t(...s)};return{isActive:ak(e),pause:n,resume:r,eventFilter:i}}function eE(t){return t.endsWith("rem")?Number.parseFloat(t)*16:Number.parseFloat(t)}function Oq(t){return Sl()}function tE(t){return Array.isArray(t)?t:[t]}function Pk(t,e=200,n={}){return JM(Cq(e,n),t)}function Aq(t,e,n={}){const{eventFilter:r=YM,...i}=n;return bi(t,JM(r,e),i)}function Tq(t,e,n={}){const{eventFilter:r,...i}=n,{eventFilter:s,pause:o,resume:a,isActive:l}=Eq(r);return{stop:Aq(t,e,{...i,eventFilter:s}),pause:o,resume:a,isActive:l}}function QM(t,e=!0,n){Oq()?Lu(t,n):e?t():Ac(t)}const rf=_q?window:void 0;function Pq(t){var e;const n=vl(t);return(e=n==null?void 0:n.$el)!=null?e:n}function xy(...t){let e,n,r,i;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,r,i]=t,e=rf):[e,n,r,i]=t,!e)return Ux;n=tE(n),r=tE(r);const s=[],o=()=>{s.forEach(u=>u()),s.length=0},a=(u,d,h,p)=>(u.addEventListener(d,h,p),()=>u.removeEventListener(d,h,p)),l=bi(()=>[Pq(e),vl(i)],([u,d])=>{if(o(),!u)return;const h=Sq(d)?{...d}:d;s.push(...n.flatMap(p=>r.map(m=>a(u,p,m,h))))},{immediate:!0,flush:"post"}),c=()=>{l(),o()};return KM(c),c}function Rq(){const t=Zt(!1),e=Sl();return e&&Lu(()=>{t.value=!0},e),t}function $q(t){const e=Rq();return mn(()=>(e.value,!!t()))}const Mq=Symbol("vueuse-ssr-width");function Iq(){const t=Jb()?xq(Mq,null):null;return typeof t=="number"?t:void 0}function Nq(t,e={}){const{window:n=rf,ssrWidth:r=Iq()}=e,i=$q(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),s=Zt(typeof r=="number");let o;const a=Zt(!1),l=d=>{a.value=d.matches},c=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",l):o.removeListener(l))},u=Yb(()=>{if(s.value){s.value=!i.value;const d=vl(t).split(",");a.value=d.some(h=>{const p=h.includes("not all"),m=h.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),b=h.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let g=!!(m||b);return m&&g&&(g=r>=eE(m[1])),b&&g&&(g=r<=eE(b[1])),p?!g:g});return}i.value&&(c(),o=n.matchMedia(vl(t)),"addEventListener"in o?o.addEventListener("change",l):o.addListener(l),a.value=o.matches)});return KM(()=>{u(),c(),o=void 0}),mn(()=>a.value)}function Lq(t){return JSON.parse(JSON.stringify(t))}const Im=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Nm="__vueuse_ssr_handlers__",Dq=zq();function zq(){return Nm in Im||(Im[Nm]=Im[Nm]||{}),Im[Nm]}function Bq(t,e){return Dq[t]||e}function Fq(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 Vq={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()}},nE="vueuse-storage";function qq(t,e,n,r={}){var i;const{flush:s="pre",deep:o=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:d=rf,eventFilter:h,onError:p=z=>{console.error(z)},initOnMounted:m}=r,b=(u?Xv:Zt)(typeof e=="function"?e():e),g=mn(()=>vl(t));if(!n)try{n=Bq("getDefaultStorage",()=>{var z;return(z=rf)==null?void 0:z.localStorage})()}catch(z){p(z)}if(!n)return b;const v=vl(e),y=Fq(v),w=(i=r.serializer)!=null?i:Vq[y],{pause:x,resume:_}=Tq(b,()=>k(b.value),{flush:s,deep:o,eventFilter:h});bi(g,()=>C(),{flush:s}),d&&a&&QM(()=>{n instanceof Storage?xy(d,"storage",C,{passive:!0}):xy(d,nE,I),m&&C()}),m||C();function j(z,D){if(d){const K={key:g.value,oldValue:z,newValue:D,storageArea:n};d.dispatchEvent(n instanceof Storage?new StorageEvent("storage",K):new CustomEvent(nE,{detail:K}))}}function k(z){try{const D=n.getItem(g.value);if(z==null)j(D,null),n.removeItem(g.value);else{const K=w.write(z);D!==K&&(n.setItem(g.value,K),j(D,K))}}catch(D){p(D)}}function T(z){const D=z?z.newValue:n.getItem(g.value);if(D==null)return l&&v!=null&&n.setItem(g.value,w.write(v)),v;if(!z&&c){const K=w.read(D);return typeof c=="function"?c(K,v):y==="object"&&!Array.isArray(K)?{...v,...K}:K}else return typeof D!="string"?D:w.read(D)}function C(z){if(!(z&&z.storageArea!==n)){if(z&&z.key==null){b.value=v;return}if(!(z&&z.key!==g.value)){x();try{(z==null?void 0:z.newValue)!==w.write(b.value)&&(b.value=T(z))}catch(D){p(D)}finally{z?Ac(_):_()}}}}function I(z){C(z.detail)}return b}function z1(t,e,n={}){const{window:r=rf}=n;return qq(t,e,r==null?void 0:r.localStorage,n)}function XM(t,e,n,r={}){var i,s,o;const{clone:a=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:d,shouldEmit:h}=r,p=Sl(),m=n||(p==null?void 0:p.emit)||((i=p==null?void 0:p.$emit)==null?void 0:i.bind(p))||((o=(s=p==null?void 0:p.proxy)==null?void 0:s.$emit)==null?void 0:o.bind(p==null?void 0:p.proxy));let b=c;e||(e="modelValue"),b=b||`update:${e.toString()}`;const g=w=>a?typeof a=="function"?a(w):Lq(w):w,v=()=>jq(t[e])?g(t[e]):d,y=w=>{h?h(w)&&m(b,w):m(b,w)};if(l){const w=v(),x=Zt(w);let _=!1;return bi(()=>t[e],j=>{_||(_=!0,x.value=g(j),Ac(()=>_=!1))}),bi(x,j=>{!_&&(j!==t[e]||u)&&y(j)},{deep:u}),x}else return mn({get(){return v()},set(w){y(w)}})}function Hq(t={}){const{window:e=rf,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:i=!0,includeScrollbar:s=!0,type:o="inner"}=t,a=Zt(n),l=Zt(r),c=()=>{if(e)if(o==="outer")a.value=e.outerWidth,l.value=e.outerHeight;else if(o==="visual"&&e.visualViewport){const{width:d,height:h,scale:p}=e.visualViewport;a.value=Math.round(d*p),l.value=Math.round(h*p)}else s?(a.value=e.innerWidth,l.value=e.innerHeight):(a.value=e.document.documentElement.clientWidth,l.value=e.document.documentElement.clientHeight)};c(),QM(c);const u={passive:!0};if(xy("resize",c,u),e&&o==="visual"&&e.visualViewport&&xy(e.visualViewport,"resize",c,u),i){const d=Nq("(orientation: portrait)");bi(d,()=>c())}return{width:a,height:l}}const c0=Zt(Date.now()),ZM=Zt(Date.now()),Hf=Zt(null),Uq=window.location.host,ep=Zt("/"),Wx=Zt(),Wq=Zt("/"),ji=Zt({}),Fs=Zt({}),Uf=Zt(!1),rE=Zt({}),Ji=Pk(()=>{c0.value=Date.now()},200),Gq=Pk(()=>{c0.value=Date.now()},1e3),iE=mn(()=>F$(Wq.value,`${window.location.protocol}//${Uq}`));let Kq;const Wf=[];function Jq(t){if(Wf.push(t),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&Wf.forEach(e=>e(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(e){e&&Wf.forEach(n=>n(e))},get(){return Kq.value},configurable:!0}),()=>{Wf.splice(Wf.indexOf(t),1)}}const tp=Zt(),e3=Zt(),Gl=Zt(),_y=Zt("dark");Jq(async t=>{var n;tp.value=t.host.app.$fetch,Yb(()=>{_y.value=t.host.app.colorMode.value});const e=(n=t.host.nuxt.vueApp.config.globalProperties)==null?void 0:n.$route;Wx.value=e.query,ep.value=e.path||"/",t.host.nuxt.$router.afterEach(r=>{Wx.value=r.query,ep.value=r.path,Ji()}),e3.value=t.devtools,Gl.value=t,t.devtools.extendClientRpc("nuxt-og-image",{refreshRouteData(r){var i,s,o,a;((a=(o=(s=(i=Gl.value)==null?void 0:i.host.nuxt.vueApp.config)==null?void 0:s.globalProperties)==null?void 0:o.$route.matched[0].components)!=null&&a.default.__file.includes(r)||r.endsWith(".md"))&&Ji()},refresh(){Ji()},refreshGlobalData(){ZM.value=Date.now()}})});const Yq=["width","height"],Qq=Ri({__name:"IFrameLoader",props:{src:{},aspectRatio:{},maxHeight:{},maxWidth:{}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=Zt(),s=Zt(),o=mn(()=>n.maxWidth||ji.value.width),a=mn(()=>n.maxHeight||ji.value.height),l=Pk(()=>{const c=s.value,u=Date.now();c.src="";const d=ji.value.width||1200,h=ji.value.height||600,p=a.value,m=o.value,b=p>h?1:p/h,g=m>d?1:m/d,v=g>b?b:g;c.style.opacity="0",c.onload=()=>{c.style.opacity="1",r("load",{timeTaken:Date.now()-u})},c.src=`${i.value}&scale=${v}&colorMode=${_y.value}`},200);return Lu(()=>{bi(()=>n.src,c=>{i.value!==c&&s.value&&(i.value=c,l())},{immediate:!0}),bi([()=>_y,s],()=>{l()})}),!n.maxHeight&&!n.maxWidth&&Dx({bodyAttrs:{onresize:()=>{l()}}}),(c,u)=>(We(),Ct("div",{class:"w-full mx-auto h-full justify-center flex",style:Do({maxHeight:`${Se(a)}px`,maxWidth:`${Se(o)}px`})},[qe("iframe",{ref_key:"iframe",ref:s,class:"max-h-full",style:Do({aspectRatio:c.aspectRatio}),width:Se(o),height:Se(a)},null,12,Yq)],4))}}),t3=Tc(Qq,[["__scopeId","data-v-87cb4c8e"]]),Xq=["disabled"],Zq={key:0,value:"",disabled:"",hidden:""},eH=Ri({__name:"NSelect",props:{modelValue:{default:void 0},placeholder:{default:""},icon:{default:""},disabled:{type:Boolean,default:!1}},setup(t,{emit:e}){const i=XM(t,"modelValue",e,{passive:!0});return(s,o)=>{const a=Jp;return We(),Ct("div",{class:Yr(["n-select flex flex items-center border rounded px-2 py-1 focus-within:n-focus-base focus-within:border-context n-bg-base",s.disabled?"border-gray:10":"n-border-base"])},[Ar(s.$slots,"icon",{},()=>[s.icon?(We(),wn(a,{key:0,icon:s.icon,class:"mr-0.4em text-1.1em op50"},null,8,["icon"])):pr("",!0)]),YR(qe("select",{"onUpdate:modelValue":o[0]||(o[0]=l=>Ti(i)?i.value=l:null),disabled:s.disabled,class:Yr(["w-full flex-auto n-bg-base !outline-none",s.disabled?"appearance-none":""])},[s.placeholder?(We(),Ct("option",Zq,Nr(s.placeholder),1)):pr("",!0),Ar(s.$slots,"default")],10,Xq),[[Vz,Se(i)]])],2)}}}),tH={flex:"~ gap-3","items-center":""},nH=Ri({__name:"NIconTitle",props:{icon:{},text:{}},setup(t){return(e,n)=>(We(),Ct("div",tH,[e.icon?(We(),Ct("div",{key:0,class:Yr(e.icon)},null,2)):pr("",!0),Ar(e.$slots,"default",{},()=>[qe("div",null,Nr(e.text),1)])]))}}),rH=["open"],iH={"text-base":""},sH={key:0,"text-sm":"",op50:""},oH=Ri({__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=XM(t,"open");function r(i){n.value=i.target.open}return(i,s)=>{const o=Jp,a=nH;return We(),Ct(Ei,null,[qe("details",{open:Se(n),onToggle:r},[qe("summary",{class:Yr(["cursor-pointer select-none n-bg-active hover:bg-active p4 rounded transition-all",i.collapse?"":"pointer-events-none"])},[rt(a,{icon:i.icon,text:i.text,"text-xl":"",transition:"",class:Yr([Se(n)?"op100":"op60",i.headerClass])},{default:mt(()=>[qe("div",null,[qe("div",iH,[Ar(i.$slots,"text",{},()=>[Ut(Nr(i.text),1)],!0)]),i.description||i.$slots.description?(We(),Ct("div",sH,[Ar(i.$slots,"description",{},()=>[Ut(Nr(i.description),1)],!0)])):pr("",!0)]),s[0]||(s[0]=qe("div",{class:"flex-auto"},null,-1)),Ar(i.$slots,"actions",{},void 0,!0),i.collapse?(We(),wn(o,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):pr("",!0)]),_:3},8,["icon","text","class"])],2),qe("div",{class:Yr(["flex flex-col flex-gap2 pb6 pt2",typeof i.padding=="string"?i.padding:i.padding?"px4":""])},[Ar(i.$slots,"details",{},void 0,!0),qe("div",{class:Yr([i.containerClass,"mt1"])},[Ar(i.$slots,"default",{},void 0,!0)],2),Ar(i.$slots,"footer",{},void 0,!0)],2)],40,rH),s[1]||(s[1]=qe("div",{class:"x-divider"},null,-1))],64)}}}),aH=Tc(oH,[["__scopeId","data-v-348c1d92"]]),lH={class:"group"},cH={class:"opacity-70 text-sm transition group-hover:opacity-100"},uH={class:"border-2 group-hover:shadow-sm rounded-[0.35rem] border-transparent hover:border-yellow-500 transition-all"},dH={class:"w-[300px] h-[150px] relative"},fH={class:"flex justify-between items-center text-xs px-2"},hH={class:""},pH={key:0,class:"opacity-70 transition group-hover:opacity-100"},mH=Ri({__name:"TemplateComponentPreview",props:{src:{},aspectRatio:{},component:{},active:{type:Boolean},imageFormat:{}},setup(t){const e=t;function n(){var a;(a=Gl.value)==null||a.devtools.rpc.openInEditor(e.component.path)}const r=mn(()=>e.src.includes(".html")),i=mn(()=>{var a;return(a=e.component.credits)==null?void 0:a.split("<")[0].trim()}),s=mn(()=>{var a;return(a=e.component.credits)==null?void 0:a.split("<")[1].trim().replace(">","")}),o=Zt();return(a,l)=>{const c=UM,u=Jp,d=GM,h=t3,p=yl("VTooltip");return We(),Ct("div",lH,[qe("div",cH,[rt(c,{href:s.value,external:"",class:"underline"},{default:mt(()=>[Ut(Nr(a.component.pascalName),1)]),_:1},8,["href"])]),qe("div",uH,[rt(p,null,{popper:mt(()=>[Ut(" Preview "+Nr(a.component.pascalName)+" for the current page. ",1)]),default:mt(()=>[qe("div",dH,[a.active?(We(),wn(u,{key:0,icon:"carbon:checkmark-filled",class:"absolute top-2 right-2 text-green-500"})):pr("",!0),r.value?(We(),wn(h,{key:2,src:a.src,class:"pointer-events-none","max-height":120,"aspect-ratio":a.aspectRatio,onLoad:l[1]||(l[1]=m=>o.value=m)},null,8,["src","aspect-ratio"])):(We(),wn(d,{key:1,src:Se(Ad)(a.src,{component:a.component.pascalName}),"aspect-ratio":a.aspectRatio,class:Yr(["rounded overflow-hidden",a.active?["ring-2 ring-green-500"]:[]]),onLoad:l[0]||(l[0]=m=>o.value=m)},null,8,["src","aspect-ratio","class"]))])]),_:1})]),qe("div",fH,[rt(p,null,{popper:mt(()=>[Ut(" Open the source code of "+Nr(a.component.pascalName)+".vue in your IDE ",1)]),default:mt(()=>[qe("div",hH,[rt(c,{external:"",class:"opacity-70 items-start space-x-1 flex",onClick:Uz(n,["stop"])},{default:mt(()=>l[2]||(l[2]=[qe("span",{class:"underline"},"View source",-1)])),_:1})])]),_:1}),a.component.credits?(We(),Ct("div",pH,[l[3]||(l[3]=Ut(" Credits: ")),s.value?(We(),wn(c,{key:0,href:s.value,external:"",class:"underline"},{default:mt(()=>[Ut(Nr(i.value),1)]),_:1},8,["href"])):pr("",!0)])):pr("",!0)])])}}}),n3=[{id:"abap",name:"ABAP",import:()=>J(()=>import("./DsBKuouk.js"),[],import.meta.url)},{id:"actionscript-3",name:"ActionScript",import:()=>J(()=>import("./D_z4Izcz.js"),[],import.meta.url)},{id:"ada",name:"Ada",import:()=>J(()=>import("./727ZlQH0.js"),[],import.meta.url)},{id:"angular-html",name:"Angular HTML",import:()=>J(()=>import("./CMt9yHYq.js").then(t=>t.f),__vite__mapDeps([0,1,2,3]),import.meta.url)},{id:"angular-ts",name:"Angular TypeScript",import:()=>J(()=>import("./Drsz93k2.js"),__vite__mapDeps([4,0,1,2,3,5]),import.meta.url)},{id:"apache",name:"Apache Conf",import:()=>J(()=>import("./Dn00JSTd.js"),[],import.meta.url)},{id:"apex",name:"Apex",import:()=>J(()=>import("./COJ4H7py.js"),[],import.meta.url)},{id:"apl",name:"APL",import:()=>J(()=>import("./CGVVOGHx.js"),__vite__mapDeps([6,1,2,3,7,8,9]),import.meta.url)},{id:"applescript",name:"AppleScript",import:()=>J(()=>import("./Bu5BbsvL.js"),[],import.meta.url)},{id:"ara",name:"Ara",import:()=>J(()=>import("./7O62HKoU.js"),[],import.meta.url)},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:()=>J(()=>import("./BPT9niGB.js"),[],import.meta.url)},{id:"asm",name:"Assembly",import:()=>J(()=>import("./Dhn9LcZ4.js"),[],import.meta.url)},{id:"astro",name:"Astro",import:()=>J(()=>import("./B-k3dvlD.js"),__vite__mapDeps([10,9,2,11,3,12]),import.meta.url)},{id:"awk",name:"AWK",import:()=>J(()=>import("./eg146-Ew.js"),[],import.meta.url)},{id:"ballerina",name:"Ballerina",import:()=>J(()=>import("./Du268qiB.js"),[],import.meta.url)},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>J(()=>import("./fje9CFhw.js"),[],import.meta.url)},{id:"beancount",name:"Beancount",import:()=>J(()=>import("./BwXTMy5W.js"),[],import.meta.url)},{id:"berry",name:"Berry",aliases:["be"],import:()=>J(()=>import("./3xVqZejG.js"),[],import.meta.url)},{id:"bibtex",name:"BibTeX",import:()=>J(()=>import("./xW4inM5L.js"),[],import.meta.url)},{id:"bicep",name:"Bicep",import:()=>J(()=>import("./DHo0CJ0O.js"),[],import.meta.url)},{id:"blade",name:"Blade",import:()=>J(()=>import("./CZe0XNBd.js"),__vite__mapDeps([13,1,2,3,7,8,14,9]),import.meta.url)},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:()=>J(()=>import("./Bu73EIfS.js"),__vite__mapDeps([15,16]),import.meta.url)},{id:"c",name:"C",import:()=>J(()=>import("./C3t2pwGQ.js"),[],import.meta.url)},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>J(()=>import("./DNquZEk8.js"),[],import.meta.url)},{id:"cairo",name:"Cairo",import:()=>J(()=>import("./D8mZ0lfy.js"),__vite__mapDeps([17,18]),import.meta.url)},{id:"clarity",name:"Clarity",import:()=>J(()=>import("./BHOwM8T6.js"),[],import.meta.url)},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>J(()=>import("./DxSadP1t.js"),[],import.meta.url)},{id:"cmake",name:"CMake",import:()=>J(()=>import("./DbXoA79R.js"),[],import.meta.url)},{id:"cobol",name:"COBOL",import:()=>J(()=>import("./DLVR-baX.js"),__vite__mapDeps([19,1,2,3,8]),import.meta.url)},{id:"codeowners",name:"CODEOWNERS",import:()=>J(()=>import("./Bp6g37R7.js"),[],import.meta.url)},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>J(()=>import("./sacFqUAJ.js"),[],import.meta.url)},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>J(()=>import("./DKOGybHv.js"),__vite__mapDeps([20,2]),import.meta.url)},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:()=>J(()=>import("./C7gG9l05.js"),[],import.meta.url)},{id:"coq",name:"Coq",import:()=>J(()=>import("./Dsg_Bt_b.js"),[],import.meta.url)},{id:"cpp",name:"C++",aliases:["c++"],import:()=>J(()=>import("./BEhvmC7f.js"),__vite__mapDeps([21,22,23,24,14]),import.meta.url)},{id:"crystal",name:"Crystal",import:()=>J(()=>import("./CQ0soPOq.js"),__vite__mapDeps([25,1,2,3,14,24,26]),import.meta.url)},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>J(()=>import("./D9R-vmeu.js"),[],import.meta.url)},{id:"css",name:"CSS",import:()=>J(()=>import("./BPhBrDlE.js"),[],import.meta.url)},{id:"csv",name:"CSV",import:()=>J(()=>import("./B0qRVHPH.js"),[],import.meta.url)},{id:"cue",name:"CUE",import:()=>J(()=>import("./DtFQj3wx.js"),[],import.meta.url)},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>J(()=>import("./m2LEI-9-.js"),[],import.meta.url)},{id:"d",name:"D",import:()=>J(()=>import("./BoXegm-a.js"),[],import.meta.url)},{id:"dart",name:"Dart",import:()=>J(()=>import("./B9wLZaAG.js"),[],import.meta.url)},{id:"dax",name:"DAX",import:()=>J(()=>import("./ClGRhx96.js"),[],import.meta.url)},{id:"desktop",name:"Desktop",import:()=>J(()=>import("./DEIpsLCJ.js"),[],import.meta.url)},{id:"diff",name:"Diff",import:()=>J(()=>import("./BgYniUM_.js"),[],import.meta.url)},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>J(()=>import("./COcR7UxN.js"),[],import.meta.url)},{id:"dotenv",name:"dotEnv",import:()=>J(()=>import("./BjQB5zDj.js"),[],import.meta.url)},{id:"dream-maker",name:"Dream Maker",import:()=>J(()=>import("./C-nORZOA.js"),[],import.meta.url)},{id:"edge",name:"Edge",import:()=>J(()=>import("./BsOYHjMa.js"),__vite__mapDeps([27,11,1,2,3,28]),import.meta.url)},{id:"elixir",name:"Elixir",import:()=>J(()=>import("./B5auBHZD.js"),__vite__mapDeps([29,1,2,3]),import.meta.url)},{id:"elm",name:"Elm",import:()=>J(()=>import("./BdxkyMLR.js"),__vite__mapDeps([30,23,24]),import.meta.url)},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:()=>J(()=>import("./BX77sIaO.js"),[],import.meta.url)},{id:"erb",name:"ERB",import:()=>J(()=>import("./UL5zprDm.js"),__vite__mapDeps([31,1,2,3,32,33,7,8,14,34,11,35,36,21,22,23,24,26,37,38]),import.meta.url)},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>J(()=>import("./B-DoSBHF.js"),[],import.meta.url)},{id:"fennel",name:"Fennel",import:()=>J(()=>import("./bCA53EVm.js"),[],import.meta.url)},{id:"fish",name:"Fish",import:()=>J(()=>import("./w-ucz2PV.js"),[],import.meta.url)},{id:"fluent",name:"Fluent",aliases:["ftl"],import:()=>J(()=>import("./Dayu4EKP.js"),[],import.meta.url)},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>J(()=>import("./DRNBmV_Q.js"),__vite__mapDeps([39,40]),import.meta.url)},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>J(()=>import("./DKXYxT9g.js"),[],import.meta.url)},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>J(()=>import("./Dmy2k9nq.js"),__vite__mapDeps([41,42]),import.meta.url)},{id:"gdresource",name:"GDResource",import:()=>J(()=>import("./BQwtg7Y-.js"),__vite__mapDeps([43,44,45]),import.meta.url)},{id:"gdscript",name:"GDScript",import:()=>J(()=>import("./DfxzS6Rs.js"),[],import.meta.url)},{id:"gdshader",name:"GDShader",import:()=>J(()=>import("./SKMF96pI.js"),[],import.meta.url)},{id:"genie",name:"Genie",import:()=>J(()=>import("./ajMbGru0.js"),[],import.meta.url)},{id:"gherkin",name:"Gherkin",import:()=>J(()=>import("./-30QC5Em.js"),[],import.meta.url)},{id:"git-commit",name:"Git Commit Message",import:()=>J(()=>import("./CKg9tqCS.js"),__vite__mapDeps([46,47]),import.meta.url)},{id:"git-rebase",name:"Git Rebase Message",import:()=>J(()=>import("./CyIGOvEh.js"),__vite__mapDeps([48,26]),import.meta.url)},{id:"gleam",name:"Gleam",import:()=>J(()=>import("./B430Bg39.js"),[],import.meta.url)},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>J(()=>import("./C-wny61x.js"),__vite__mapDeps([49,2,11,3,1]),import.meta.url)},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>J(()=>import("./C5Y8tDhP.js"),__vite__mapDeps([50,11,3,2,1]),import.meta.url)},{id:"glsl",name:"GLSL",import:()=>J(()=>import("./COyJrUc7.js"),__vite__mapDeps([23,24]),import.meta.url)},{id:"gnuplot",name:"Gnuplot",import:()=>J(()=>import("./CM8KxXT1.js"),[],import.meta.url)},{id:"go",name:"Go",import:()=>J(()=>import("./B1SYOhNW.js"),[],import.meta.url)},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>J(()=>import("./DjHMNizO.js"),__vite__mapDeps([34,2,11,35,36]),import.meta.url)},{id:"groovy",name:"Groovy",import:()=>J(()=>import("./DkBy-JyN.js"),[],import.meta.url)},{id:"hack",name:"Hack",import:()=>J(()=>import("./C30yJ1fx.js"),__vite__mapDeps([51,1,2,3,14]),import.meta.url)},{id:"haml",name:"Ruby Haml",import:()=>J(()=>import("./m4gc_qpA.js"),__vite__mapDeps([33,2,3]),import.meta.url)},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>J(()=>import("./C0nbwVuJ.js"),__vite__mapDeps([52,1,2,3,38]),import.meta.url)},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>J(()=>import("./BILxekzW.js"),[],import.meta.url)},{id:"haxe",name:"Haxe",import:()=>J(()=>import("./C5wWYbrZ.js"),[],import.meta.url)},{id:"hcl",name:"HashiCorp HCL",import:()=>J(()=>import("./HzYwdGDm.js"),[],import.meta.url)},{id:"hjson",name:"Hjson",import:()=>J(()=>import("./T-Tgc4AT.js"),[],import.meta.url)},{id:"hlsl",name:"HLSL",import:()=>J(()=>import("./ifBTmRxC.js"),[],import.meta.url)},{id:"html",name:"HTML",import:()=>J(()=>import("./BMYPR7BL.js"),__vite__mapDeps([1,2,3]),import.meta.url)},{id:"html-derivative",name:"HTML (Derivative)",import:()=>J(()=>import("./e4jU7D2d.js"),__vite__mapDeps([28,1,2,3]),import.meta.url)},{id:"http",name:"HTTP",import:()=>J(()=>import("./din0uRiO.js"),__vite__mapDeps([53,26,9,7,8,34,2,11,35,36]),import.meta.url)},{id:"hxml",name:"HXML",import:()=>J(()=>import("./YJb9dmdj.js"),__vite__mapDeps([54,55]),import.meta.url)},{id:"hy",name:"Hy",import:()=>J(()=>import("./BMj5Y0dO.js"),[],import.meta.url)},{id:"imba",name:"Imba",import:()=>J(()=>import("./DPvbFsQx.js"),__vite__mapDeps([56,11]),import.meta.url)},{id:"ini",name:"INI",aliases:["properties"],import:()=>J(()=>import("./BjABl1g7.js"),[],import.meta.url)},{id:"java",name:"Java",import:()=>J(()=>import("./xI-RfyKK.js"),[],import.meta.url)},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>J(()=>import("./ySlJ1b_l.js"),[],import.meta.url)},{id:"jinja",name:"Jinja",import:()=>J(()=>import("./3kbuJQcV.js"),__vite__mapDeps([57,1,2,3]),import.meta.url)},{id:"jison",name:"Jison",import:()=>J(()=>import("./CsSk9TLD.js"),__vite__mapDeps([58,2]),import.meta.url)},{id:"json",name:"JSON",import:()=>J(()=>import("./BQoSv7ci.js"),[],import.meta.url)},{id:"json5",name:"JSON5",import:()=>J(()=>import("./w8dY5SsB.js"),[],import.meta.url)},{id:"jsonc",name:"JSON with Comments",import:()=>J(()=>import("./TU54ms6u.js"),[],import.meta.url)},{id:"jsonl",name:"JSON Lines",import:()=>J(()=>import("./DREVFZK8.js"),[],import.meta.url)},{id:"jsonnet",name:"Jsonnet",import:()=>J(()=>import("./BfivnA6A.js"),[],import.meta.url)},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>J(()=>import("./P4WzXJd0.js"),[],import.meta.url)},{id:"jsx",name:"JSX",import:()=>J(()=>import("./BAng5TT0.js"),[],import.meta.url)},{id:"julia",name:"Julia",aliases:["jl"],import:()=>J(()=>import("./Bw0wYZmb.js"),__vite__mapDeps([59,21,22,23,24,14,18,2,60]),import.meta.url)},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>J(()=>import("./B5lbUyaz.js"),[],import.meta.url)},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>J(()=>import("./mebxcVVE.js"),[],import.meta.url)},{id:"latex",name:"LaTeX",import:()=>J(()=>import("./DsWjAdsX.js"),__vite__mapDeps([61,62,60]),import.meta.url)},{id:"lean",name:"Lean 4",aliases:["lean4"],import:()=>J(()=>import("./XBlWyCtg.js"),[],import.meta.url)},{id:"less",name:"Less",import:()=>J(()=>import("./BfCpw3nA.js"),[],import.meta.url)},{id:"liquid",name:"Liquid",import:()=>J(()=>import("./BVr_1_27.js"),__vite__mapDeps([63,1,2,3,9]),import.meta.url)},{id:"log",name:"Log file",import:()=>J(()=>import("./Cc5clBb7.js"),[],import.meta.url)},{id:"logo",name:"Logo",import:()=>J(()=>import("./IuBKFhSY.js"),[],import.meta.url)},{id:"lua",name:"Lua",import:()=>J(()=>import("./Dbxjm_CC.js"),__vite__mapDeps([37,24]),import.meta.url)},{id:"luau",name:"Luau",import:()=>J(()=>import("./Du5NY7AG.js"),[],import.meta.url)},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>J(()=>import("./Bvotw-X0.js"),[],import.meta.url)},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>J(()=>import("./UIAJJxZW.js"),[],import.meta.url)},{id:"marko",name:"Marko",import:()=>J(()=>import("./Cz8P-rqG.js"),__vite__mapDeps([64,3,65,5,2]),import.meta.url)},{id:"matlab",name:"MATLAB",import:()=>J(()=>import("./D9-PGadD.js"),[],import.meta.url)},{id:"mdc",name:"MDC",import:()=>J(()=>import("./BE9QQhgF.js"),__vite__mapDeps([66,42,38,28,1,2,3]),import.meta.url)},{id:"mdx",name:"MDX",import:()=>J(()=>import("./sdHcTMYB.js"),[],import.meta.url)},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:()=>J(()=>import("./Ci6OQyBP.js"),[],import.meta.url)},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:()=>J(()=>import("./BC5c_5Pe.js"),[],import.meta.url)},{id:"mojo",name:"Mojo",import:()=>J(()=>import("./Tz6hzZYG.js"),[],import.meta.url)},{id:"move",name:"Move",import:()=>J(()=>import("./DB_GagMm.js"),[],import.meta.url)},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>J(()=>import("./DLbgOhZU.js"),[],import.meta.url)},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>J(()=>import("./B0XVJmRM.js"),[],import.meta.url)},{id:"nginx",name:"Nginx",import:()=>J(()=>import("./9C6ErRqt.js"),__vite__mapDeps([67,37,24]),import.meta.url)},{id:"nim",name:"Nim",import:()=>J(()=>import("./D5pd2Owo.js"),__vite__mapDeps([68,24,1,2,3,7,8,23,42]),import.meta.url)},{id:"nix",name:"Nix",import:()=>J(()=>import("./shcSOmrb.js"),[],import.meta.url)},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>J(()=>import("./D4Tzg5kh.js"),[],import.meta.url)},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>J(()=>import("./Deuh7S70.js"),[],import.meta.url)},{id:"objective-cpp",name:"Objective-C++",import:()=>J(()=>import("./BUEGK8hf.js"),[],import.meta.url)},{id:"ocaml",name:"OCaml",import:()=>J(()=>import("./BNioltXt.js"),[],import.meta.url)},{id:"pascal",name:"Pascal",import:()=>J(()=>import("./JqZropPD.js"),[],import.meta.url)},{id:"perl",name:"Perl",import:()=>J(()=>import("./C1tVc3UG.js"),__vite__mapDeps([69,1,2,3,7,8,14]),import.meta.url)},{id:"php",name:"PHP",import:()=>J(()=>import("./HNqc6WRo.js"),__vite__mapDeps([70,1,2,3,7,8,14,9]),import.meta.url)},{id:"plsql",name:"PL/SQL",import:()=>J(()=>import("./LKU2TuZ1.js"),[],import.meta.url)},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:()=>J(()=>import("./BFLt1xDp.js"),[],import.meta.url)},{id:"polar",name:"Polar",import:()=>J(()=>import("./DKykz6zU.js"),[],import.meta.url)},{id:"postcss",name:"PostCSS",import:()=>J(()=>import("./B3ZDOciz.js"),[],import.meta.url)},{id:"powerquery",name:"PowerQuery",import:()=>J(()=>import("./CSHBycmS.js"),[],import.meta.url)},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>J(()=>import("./BIEUsx6d.js"),[],import.meta.url)},{id:"prisma",name:"Prisma",import:()=>J(()=>import("./B48N-Iqd.js"),[],import.meta.url)},{id:"prolog",name:"Prolog",import:()=>J(()=>import("./BY-TUvya.js"),[],import.meta.url)},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:()=>J(()=>import("./zocC4JxJ.js"),[],import.meta.url)},{id:"pug",name:"Pug",aliases:["jade"],import:()=>J(()=>import("./DYvnoCeB.js"),__vite__mapDeps([71,2,3,1]),import.meta.url)},{id:"puppet",name:"Puppet",import:()=>J(()=>import("./Cza_XSSt.js"),[],import.meta.url)},{id:"purescript",name:"PureScript",import:()=>J(()=>import("./Bg-kzb6g.js"),[],import.meta.url)},{id:"python",name:"Python",aliases:["py"],import:()=>J(()=>import("./DhUJRlN_.js"),[],import.meta.url)},{id:"qml",name:"QML",import:()=>J(()=>import("./Bid6LQhH.js"),__vite__mapDeps([72,2]),import.meta.url)},{id:"qmldir",name:"QML Directory",import:()=>J(()=>import("./C8lEn-DE.js"),[],import.meta.url)},{id:"qss",name:"Qt Style Sheets",import:()=>J(()=>import("./DhMKtDLN.js"),[],import.meta.url)},{id:"r",name:"R",import:()=>J(()=>import("./CwjWoCRV.js"),[],import.meta.url)},{id:"racket",name:"Racket",import:()=>J(()=>import("./CzouJOBO.js"),[],import.meta.url)},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>J(()=>import("./B1bQXN8T.js"),[],import.meta.url)},{id:"razor",name:"ASP.NET Razor",import:()=>J(()=>import("./CcHjYXgz.js"),__vite__mapDeps([73,1,2,3,74]),import.meta.url)},{id:"reg",name:"Windows Registry Script",import:()=>J(()=>import("./5LuOXUq_.js"),[],import.meta.url)},{id:"regexp",name:"RegExp",aliases:["regex"],import:()=>J(()=>import("./DWJ3fJO_.js"),[],import.meta.url)},{id:"rel",name:"Rel",import:()=>J(()=>import("./DJlmqQ1C.js"),[],import.meta.url)},{id:"riscv",name:"RISC-V",import:()=>J(()=>import("./QhoSD0DR.js"),[],import.meta.url)},{id:"rst",name:"reStructuredText",import:()=>J(()=>import("./CSp6iqVD.js"),__vite__mapDeps([75,28,1,2,3,21,22,23,24,14,18,26,38,76,32,33,7,8,34,11,35,36,37]),import.meta.url)},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>J(()=>import("./CYFUjXW1.js"),__vite__mapDeps([32,1,2,3,33,7,8,14,34,11,35,36,21,22,23,24,26,37,38]),import.meta.url)},{id:"rust",name:"Rust",aliases:["rs"],import:()=>J(()=>import("./Be6lgOlo.js"),[],import.meta.url)},{id:"sas",name:"SAS",import:()=>J(()=>import("./BiFfXF7O.js"),__vite__mapDeps([77,14]),import.meta.url)},{id:"sass",name:"Sass",import:()=>J(()=>import("./BJ4Li9vH.js"),[],import.meta.url)},{id:"scala",name:"Scala",import:()=>J(()=>import("./B_49xXYf.js"),[],import.meta.url)},{id:"scheme",name:"Scheme",import:()=>J(()=>import("./BJGe-b2p.js"),[],import.meta.url)},{id:"scss",name:"SCSS",import:()=>J(()=>import("./Bl1h29GH.js"),__vite__mapDeps([5,3]),import.meta.url)},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:()=>J(()=>import("./BLhTXw86.js"),[],import.meta.url)},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>J(()=>import("./B14Poo8t.js"),__vite__mapDeps([78,79]),import.meta.url)},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>J(()=>import("./atvbtKCR.js"),[],import.meta.url)},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>J(()=>import("./BNHBcdi1.js"),__vite__mapDeps([80,26]),import.meta.url)},{id:"smalltalk",name:"Smalltalk",import:()=>J(()=>import("./DkLiglaE.js"),[],import.meta.url)},{id:"solidity",name:"Solidity",import:()=>J(()=>import("./C1w2a3ep.js"),[],import.meta.url)},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:()=>J(()=>import("./qpfuy3xp.js"),__vite__mapDeps([81,1,2,3]),import.meta.url)},{id:"sparql",name:"SPARQL",import:()=>J(()=>import("./SPD3sf1n.js"),__vite__mapDeps([82,83]),import.meta.url)},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>J(()=>import("./Cf8iN4DR.js"),[],import.meta.url)},{id:"sql",name:"SQL",import:()=>J(()=>import("./COK4E0Yg.js"),[],import.meta.url)},{id:"ssh-config",name:"SSH Config",import:()=>J(()=>import("./BknIz3MU.js"),[],import.meta.url)},{id:"stata",name:"Stata",import:()=>J(()=>import("./R900dpIa.js"),__vite__mapDeps([84,14]),import.meta.url)},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>J(()=>import("./BeQkCIfX.js"),[],import.meta.url)},{id:"svelte",name:"Svelte",import:()=>J(()=>import("./BXW1EomU.js"),__vite__mapDeps([85,2,11,3,12]),import.meta.url)},{id:"swift",name:"Swift",import:()=>J(()=>import("./Ye_uPAM8.js"),[],import.meta.url)},{id:"system-verilog",name:"SystemVerilog",import:()=>J(()=>import("./C7L56vO4.js"),[],import.meta.url)},{id:"systemd",name:"Systemd Units",import:()=>J(()=>import("./CUnW07Te.js"),[],import.meta.url)},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:()=>J(()=>import("./C1XDQQGZ.js"),[],import.meta.url)},{id:"tasl",name:"Tasl",import:()=>J(()=>import("./CQjiPCtT.js"),[],import.meta.url)},{id:"tcl",name:"Tcl",import:()=>J(()=>import("./DQ1-QYvQ.js"),[],import.meta.url)},{id:"templ",name:"Templ",import:()=>J(()=>import("./BLDCaNbg.js"),__vite__mapDeps([86,87,2,3]),import.meta.url)},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>J(()=>import("./BbSNqyBO.js"),[],import.meta.url)},{id:"tex",name:"TeX",import:()=>J(()=>import("./qmhIZ77x.js"),__vite__mapDeps([62,60]),import.meta.url)},{id:"toml",name:"TOML",import:()=>J(()=>import("./CB2ApiWb.js"),[],import.meta.url)},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:()=>J(()=>import("./wI6OXr6j.js"),__vite__mapDeps([88,11,3,2,23,24,1,14,7,8]),import.meta.url)},{id:"tsv",name:"TSV",import:()=>J(()=>import("./B_m7g4N7.js"),[],import.meta.url)},{id:"tsx",name:"TSX",import:()=>J(()=>import("./B6W0miNI.js"),[],import.meta.url)},{id:"turtle",name:"Turtle",import:()=>J(()=>import("./BMR_PYu6.js"),[],import.meta.url)},{id:"twig",name:"Twig",import:()=>J(()=>import("./DDtJtuOZ.js"),__vite__mapDeps([89,3,2,5,70,1,7,8,14,9,18,32,33,34,11,35,36,21,22,23,24,26,37,38]),import.meta.url)},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>J(()=>import("./Dj6nwHGl.js"),[],import.meta.url)},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:()=>J(()=>import("./BpWG_bgh.js"),[],import.meta.url)},{id:"typst",name:"Typst",aliases:["typ"],import:()=>J(()=>import("./BVUVsWT6.js"),[],import.meta.url)},{id:"v",name:"V",import:()=>J(()=>import("./CAQ2eGtk.js"),[],import.meta.url)},{id:"vala",name:"Vala",import:()=>J(()=>import("./BFOHcciG.js"),[],import.meta.url)},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>J(()=>import("./CdO5JTpU.js"),[],import.meta.url)},{id:"verilog",name:"Verilog",import:()=>J(()=>import("./CJaU5se_.js"),[],import.meta.url)},{id:"vhdl",name:"VHDL",import:()=>J(()=>import("./DYoNaHQp.js"),[],import.meta.url)},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>J(()=>import("./m4uW47V2.js"),[],import.meta.url)},{id:"vue",name:"Vue",import:()=>J(()=>import("./DRhBOlRY.js"),__vite__mapDeps([90,1,2,3,11,9,28]),import.meta.url)},{id:"vue-html",name:"Vue HTML",import:()=>J(()=>import("./BlxRB_8X.js"),__vite__mapDeps([91,90,1,2,3,11,9,28]),import.meta.url)},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>J(()=>import("./nyqBNV6O.js"),[],import.meta.url)},{id:"wasm",name:"WebAssembly",import:()=>J(()=>import("./C6j12Q_x.js"),[],import.meta.url)},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>J(()=>import("./7A4Fjokl.js"),[],import.meta.url)},{id:"wgsl",name:"WGSL",import:()=>J(()=>import("./CB0Krxn9.js"),[],import.meta.url)},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:()=>J(()=>import("./DCE3LsBG.js"),[],import.meta.url)},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>J(()=>import("./C3FkfJm5.js"),[],import.meta.url)},{id:"xml",name:"XML",import:()=>J(()=>import("./cPjAOO0u.js"),__vite__mapDeps([7,8]),import.meta.url)},{id:"xsl",name:"XSL",import:()=>J(()=>import("./ahYVQIuB.js"),__vite__mapDeps([92,7,8]),import.meta.url)},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>J(()=>import("./CVw76BM1.js"),[],import.meta.url)},{id:"zenscript",name:"ZenScript",import:()=>J(()=>import("./HnGAYVZD.js"),[],import.meta.url)},{id:"zig",name:"Zig",import:()=>J(()=>import("./BVz_zdnA.js"),[],import.meta.url)}],gH=Object.fromEntries(n3.map(t=>[t.id,t.import])),vH=Object.fromEntries(n3.flatMap(t=>{var e;return((e=t.aliases)==null?void 0:e.map(n=>[n,t.import]))||[]})),yH={...gH,...vH},bH=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>J(()=>import("./C3khCPGq.js"),[],import.meta.url)},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>J(()=>import("./D-2ljcwZ.js"),[],import.meta.url)},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>J(()=>import("./Cv9koXgw.js"),[],import.meta.url)},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:()=>J(()=>import("./CD_QflpE.js"),[],import.meta.url)},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>J(()=>import("./DRW-0cLl.js"),[],import.meta.url)},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>J(()=>import("./C-_shW-Y.js"),[],import.meta.url)},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>J(()=>import("./LGGdnPYs.js"),[],import.meta.url)},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>J(()=>import("./C3mMm8J8.js"),[],import.meta.url)},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:()=>J(()=>import("./BzJJZx-M.js"),[],import.meta.url)},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:()=>J(()=>import("./BXkSAIEj.js"),[],import.meta.url)},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:()=>J(()=>import("./BgDCqdQA.js"),[],import.meta.url)},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:()=>J(()=>import("./C8M2exoo.js"),[],import.meta.url)},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>J(()=>import("./DHJKELXO.js"),[],import.meta.url)},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>J(()=>import("./Cuk6v7N8.js"),[],import.meta.url)},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>J(()=>import("./DH5Ifo-i.js"),[],import.meta.url)},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:()=>J(()=>import("./E3gJ1_iC.js"),[],import.meta.url)},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>J(()=>import("./DAi9KRSo.js"),[],import.meta.url)},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>J(()=>import("./D7oLnXFd.js"),[],import.meta.url)},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:()=>J(()=>import("./BfjtVDDH.js"),[],import.meta.url)},{id:"houston",displayName:"Houston",type:"dark",import:()=>J(()=>import("./DnULxvSX.js"),[],import.meta.url)},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:()=>J(()=>import("./CkXjmgJE.js"),[],import.meta.url)},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:()=>J(()=>import("./CfQXZHmo.js"),[],import.meta.url)},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:()=>J(()=>import("./DWedfzmr.js"),[],import.meta.url)},{id:"laserwave",displayName:"LaserWave",type:"dark",import:()=>J(()=>import("./DUszq2jm.js"),[],import.meta.url)},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>J(()=>import("./B7mTdjB0.js"),[],import.meta.url)},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>J(()=>import("./D5KoaKCx.js"),[],import.meta.url)},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>J(()=>import("./BfHTSMKl.js"),[],import.meta.url)},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>J(()=>import("./B0m2ddpp.js"),[],import.meta.url)},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>J(()=>import("./CyktbL80.js"),[],import.meta.url)},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>J(()=>import("./Csfq5Kiy.js"),[],import.meta.url)},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>J(()=>import("./CafNBF8u.js"),[],import.meta.url)},{id:"min-light",displayName:"Min Light",type:"light",import:()=>J(()=>import("./CTRr51gU.js"),[],import.meta.url)},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>J(()=>import("./D4h5O-jR.js"),[],import.meta.url)},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>J(()=>import("./C39BiMTA.js"),[],import.meta.url)},{id:"nord",displayName:"Nord",type:"dark",import:()=>J(()=>import("./Ddv68eIx.js"),[],import.meta.url)},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>J(()=>import("./GBQ2dnAY.js"),[],import.meta.url)},{id:"one-light",displayName:"One Light",type:"light",import:()=>J(()=>import("./PoHY5YXO.js"),[],import.meta.url)},{id:"plastic",displayName:"Plastic",type:"dark",import:()=>J(()=>import("./3e1v2bzS.js"),[],import.meta.url)},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>J(()=>import("./CS3Unz2-.js"),[],import.meta.url)},{id:"red",displayName:"Red",type:"dark",import:()=>J(()=>import("./bN70gL4F.js"),[],import.meta.url)},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:()=>J(()=>import("./CmCqftbK.js"),[],import.meta.url)},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:()=>J(()=>import("./Ds-gbosJ.js"),[],import.meta.url)},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:()=>J(()=>import("./CjDtw9vr.js"),[],import.meta.url)},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>J(()=>import("./BthQWCQV.js"),[],import.meta.url)},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>J(()=>import("./DqwNpetd.js"),[],import.meta.url)},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:()=>J(()=>import("./Bw305WKR.js"),[],import.meta.url)},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>J(()=>import("./DXbdFlpD.js"),[],import.meta.url)},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>J(()=>import("./L9t79GZl.js"),[],import.meta.url)},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>J(()=>import("./CbfX1IO0.js"),[],import.meta.url)},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>J(()=>import("./DBQeEorK.js"),[],import.meta.url)},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>J(()=>import("./BEBZ7ncR.js"),[],import.meta.url)},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>J(()=>import("./Bkuqu6BP.js"),[],import.meta.url)},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>J(()=>import("./D0r3Knsf.js"),[],import.meta.url)},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>J(()=>import("./CVO1_9PV.js"),[],import.meta.url)}],wH=Object.fromEntries(bH.map(t=>[t.id,t.import]));let ll=class extends Error{constructor(e){super(e),this.name="ShikiError"}},Rk=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function xH(){return 2147483648}function _H(){return typeof performance<"u"?performance.now():Date.now()}const jH=(t,e)=>t+(e-t%e)%e;async function kH(t){let e,n;const r={};function i(p){n=p,r.HEAPU8=new Uint8Array(p),r.HEAPU32=new Uint32Array(p)}function s(p,m,b){r.HEAPU8.copyWithin(p,m,m+b)}function o(p){try{return e.grow(p-n.byteLength+65535>>>16),i(e.buffer),1}catch{}}function a(p){const m=r.HEAPU8.length;p=p>>>0;const b=xH();if(p>b)return!1;for(let g=1;g<=4;g*=2){let v=m*(1+.2/g);v=Math.min(v,p+100663296);const y=Math.min(b,jH(Math.max(p,v),65536));if(o(y))return!0}return!1}const l=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function c(p,m,b=1024){const g=m+b;let v=m;for(;p[v]&&!(v>=g);)++v;if(v-m>16&&p.buffer&&l)return l.decode(p.subarray(m,v));let y="";for(;m<v;){let w=p[m++];if(!(w&128)){y+=String.fromCharCode(w);continue}const x=p[m++]&63;if((w&224)===192){y+=String.fromCharCode((w&31)<<6|x);continue}const _=p[m++]&63;if((w&240)===224?w=(w&15)<<12|x<<6|_:w=(w&7)<<18|x<<12|_<<6|p[m++]&63,w<65536)y+=String.fromCharCode(w);else{const j=w-65536;y+=String.fromCharCode(55296|j>>10,56320|j&1023)}}return y}function u(p,m){return p?c(r.HEAPU8,p,m):""}const d={emscripten_get_now:_H,emscripten_memcpy_big:s,emscripten_resize_heap:a,fd_write:()=>0};async function h(){const m=await t({env:d,wasi_snapshot_preview1:d});e=m.memory,i(e.buffer),Object.assign(r,m),r.UTF8ToString=u}return await h(),r}var SH=Object.defineProperty,CH=(t,e,n)=>e in t?SH(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Li=(t,e,n)=>(CH(t,typeof e!="symbol"?e+"":e,n),n);let Fi=null;function EH(t){throw new Rk(t.UTF8ToString(t.getLastOnigError()))}class u0{constructor(e){Li(this,"utf16Length"),Li(this,"utf8Length"),Li(this,"utf16Value"),Li(this,"utf8Value"),Li(this,"utf16OffsetToUtf8"),Li(this,"utf8OffsetToUtf16");const n=e.length,r=u0._utf8ByteLength(e),i=r!==n,s=i?new Uint32Array(n+1):null;i&&(s[n]=r);const o=i?new Uint32Array(r+1):null;i&&(o[r]=n);const a=new Uint8Array(r);let l=0;for(let c=0;c<n;c++){const u=e.charCodeAt(c);let d=u,h=!1;if(u>=55296&&u<=56319&&c+1<n){const p=e.charCodeAt(c+1);p>=56320&&p<=57343&&(d=(u-55296<<10)+65536|p-56320,h=!0)}i&&(s[c]=l,h&&(s[c+1]=l),d<=127?o[l+0]=c:d<=2047?(o[l+0]=c,o[l+1]=c):d<=65535?(o[l+0]=c,o[l+1]=c,o[l+2]=c):(o[l+0]=c,o[l+1]=c,o[l+2]=c,o[l+3]=c)),d<=127?a[l++]=d:d<=2047?(a[l++]=192|(d&1984)>>>6,a[l++]=128|(d&63)>>>0):d<=65535?(a[l++]=224|(d&61440)>>>12,a[l++]=128|(d&4032)>>>6,a[l++]=128|(d&63)>>>0):(a[l++]=240|(d&1835008)>>>18,a[l++]=128|(d&258048)>>>12,a[l++]=128|(d&4032)>>>6,a[l++]=128|(d&63)>>>0),h&&c++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=e,this.utf8Value=a,this.utf16OffsetToUtf8=s,this.utf8OffsetToUtf16=o}static _utf8ByteLength(e){let n=0;for(let r=0,i=e.length;r<i;r++){const s=e.charCodeAt(r);let o=s,a=!1;if(s>=55296&&s<=56319&&r+1<i){const l=e.charCodeAt(r+1);l>=56320&&l<=57343&&(o=(s-55296<<10)+65536|l-56320,a=!0)}o<=127?n+=1:o<=2047?n+=2:o<=65535?n+=3:n+=4,a&&r++}return n}createString(e){const n=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,n),n}}const fa=class{constructor(t){if(Li(this,"id",++fa.LAST_ID),Li(this,"_onigBinding"),Li(this,"content"),Li(this,"utf16Length"),Li(this,"utf8Length"),Li(this,"utf16OffsetToUtf8"),Li(this,"utf8OffsetToUtf16"),Li(this,"ptr"),!Fi)throw new Rk("Must invoke loadWasm first.");this._onigBinding=Fi,this.content=t;const e=new u0(t);this.utf16Length=e.utf16Length,this.utf8Length=e.utf8Length,this.utf16OffsetToUtf8=e.utf16OffsetToUtf8,this.utf8OffsetToUtf16=e.utf8OffsetToUtf16,this.utf8Length<1e4&&!fa._sharedPtrInUse?(fa._sharedPtr||(fa._sharedPtr=Fi.omalloc(1e4)),fa._sharedPtrInUse=!0,Fi.HEAPU8.set(e.utf8Value,fa._sharedPtr),this.ptr=fa._sharedPtr):this.ptr=e.createString(Fi)}convertUtf8OffsetToUtf16(t){return this.utf8OffsetToUtf16?t<0?0:t>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[t]:t}convertUtf16OffsetToUtf8(t){return this.utf16OffsetToUtf8?t<0?0:t>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[t]:t}dispose(){this.ptr===fa._sharedPtr?fa._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};let Yp=fa;Li(Yp,"LAST_ID",0);Li(Yp,"_sharedPtr",0);Li(Yp,"_sharedPtrInUse",!1);class OH{constructor(e){if(Li(this,"_onigBinding"),Li(this,"_ptr"),!Fi)throw new Rk("Must invoke loadWasm first.");const n=[],r=[];for(let a=0,l=e.length;a<l;a++){const c=new u0(e[a]);n[a]=c.createString(Fi),r[a]=c.utf8Length}const i=Fi.omalloc(4*e.length);Fi.HEAPU32.set(n,i/4);const s=Fi.omalloc(4*e.length);Fi.HEAPU32.set(r,s/4);const o=Fi.createOnigScanner(i,s,e.length);for(let a=0,l=e.length;a<l;a++)Fi.ofree(n[a]);Fi.ofree(s),Fi.ofree(i),o===0&&EH(Fi),this._onigBinding=Fi,this._ptr=o}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,n,r){let i=0;if(typeof r=="number"&&(i=r),typeof e=="string"){e=new Yp(e);const s=this._findNextMatchSync(e,n,!1,i);return e.dispose(),s}return this._findNextMatchSync(e,n,!1,i)}_findNextMatchSync(e,n,r,i){const s=this._onigBinding,o=s.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(n),i);if(o===0)return null;const a=s.HEAPU32;let l=o/4;const c=a[l++],u=a[l++],d=[];for(let h=0;h<u;h++){const p=e.convertUtf8OffsetToUtf16(a[l++]),m=e.convertUtf8OffsetToUtf16(a[l++]);d[h]={start:p,end:m,length:m-p}}return{index:c,captureIndices:d}}}function AH(t){return typeof t.instantiator=="function"}function TH(t){return typeof t.default=="function"}function PH(t){return typeof t.data<"u"}function RH(t){return typeof Response<"u"&&t instanceof Response}function $H(t){var e;return typeof ArrayBuffer<"u"&&(t instanceof ArrayBuffer||ArrayBuffer.isView(t))||typeof Buffer<"u"&&((e=Buffer.isBuffer)==null?void 0:e.call(Buffer,t))||typeof SharedArrayBuffer<"u"&&t instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&t instanceof Uint32Array}let Lm;function MH(t){if(Lm)return Lm;async function e(){Fi=await kH(async n=>{let r=t;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),AH(r)?r=await r.instantiator(n):TH(r)?r=await r.default(n):(PH(r)&&(r=r.data),RH(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await IH(r)(n):r=await NH(r)(n):$H(r)?r=await B1(r)(n):r instanceof WebAssembly.Module?r=await B1(r)(n):"default"in r&&r.default instanceof WebAssembly.Module&&(r=await B1(r.default)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return Lm=e(),Lm}function B1(t){return e=>WebAssembly.instantiate(t,e)}function IH(t){return e=>WebAssembly.instantiateStreaming(t,e)}function NH(t){return async e=>{const n=await t.arrayBuffer();return WebAssembly.instantiate(n,e)}}let LH;function DH(){return LH}async function r3(t){return t&&await MH(t),{createScanner(e){return new OH(e.map(n=>typeof n=="string"?n:n.source))},createString(e){return new Yp(e)}}}function zH(t){return $k(t)}function $k(t){return Array.isArray(t)?BH(t):t instanceof RegExp?t:typeof t=="object"?FH(t):t}function BH(t){let e=[];for(let n=0,r=t.length;n<r;n++)e[n]=$k(t[n]);return e}function FH(t){let e={};for(let n in t)e[n]=$k(t[n]);return e}function i3(t,...e){return e.forEach(n=>{for(let r in n)t[r]=n[r]}),t}function s3(t){const e=~t.lastIndexOf("/")||~t.lastIndexOf("\\");return e===0?t:~e===t.length-1?s3(t.substring(0,t.length-1)):t.substr(~e+1)}var F1=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Dm=class{static hasCaptures(t){return t===null?!1:(F1.lastIndex=0,F1.test(t))}static replaceCaptures(t,e,n){return t.replace(F1,(r,i,s,o)=>{let a=n[parseInt(i||s,10)];if(a){let l=e.substring(a.start,a.end);for(;l[0]===".";)l=l.substring(1);switch(o){case"downcase":return l.toLowerCase();case"upcase":return l.toUpperCase();default:return l}}else return r})}};function o3(t,e){return t<e?-1:t>e?1:0}function a3(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 s=o3(t[i],e[i]);if(s!==0)return s}return 0}return n-r}function sE(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 l3(t){return t.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var c3=class{constructor(t){De(this,"cache",new Map);this.fn=t}get(t){if(this.cache.has(t))return this.cache.get(t);const e=this.fn(t);return this.cache.set(t,e),e}},jy=class{constructor(t,e,n){De(this,"_cachedMatchRoot",new c3(t=>this._root.match(t)));this._colorMap=t,this._defaults=e,this._root=n}static createFromRawTheme(t,e){return this.createFromParsedTheme(HH(t),e)}static createFromParsedTheme(t,e){return WH(t,e)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(t){if(t===null)return this._defaults;const e=t.scopeName,r=this._cachedMatchRoot.get(e).find(i=>VH(t.parent,i.parentScopes));return r?new u3(r.fontStyle,r.foreground,r.background):null}},V1=class Ev{constructor(e,n){this.parent=e,this.scopeName=n}static push(e,n){for(const r of n)e=new Ev(e,r);return e}static from(...e){let n=null;for(let r=0;r<e.length;r++)n=new Ev(n,e[r]);return n}push(e){return new Ev(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 VH(t,e){if(e.length===0)return!0;for(let n=0;n<e.length;n++){let r=e[n],i=!1;if(r===">"){if(n===e.length-1)return!1;r=e[++n],i=!0}for(;t&&!qH(t.scopeName,r);){if(i)return!1;t=t.parent}if(!t)return!1;t=t.parent}return!0}function qH(t,e){return e===t||t.startsWith(e)&&t[e.length]==="."}var u3=class{constructor(t,e,n){this.fontStyle=t,this.foregroundId=e,this.backgroundId=n}};function HH(t){if(!t)return[];if(!t.settings||!Array.isArray(t.settings))return[];let e=t.settings,n=[],r=0;for(let i=0,s=e.length;i<s;i++){let o=e[i];if(!o.settings)continue;let a;if(typeof o.scope=="string"){let d=o.scope;d=d.replace(/^[,]+/,""),d=d.replace(/[,]+$/,""),a=d.split(",")}else Array.isArray(o.scope)?a=o.scope:a=[""];let l=-1;if(typeof o.settings.fontStyle=="string"){l=0;let d=o.settings.fontStyle.split(" ");for(let h=0,p=d.length;h<p;h++)switch(d[h]){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 o.settings.foreground=="string"&&sE(o.settings.foreground)&&(c=o.settings.foreground);let u=null;typeof o.settings.background=="string"&&sE(o.settings.background)&&(u=o.settings.background);for(let d=0,h=a.length;d<h;d++){let m=a[d].trim().split(" "),b=m[m.length-1],g=null;m.length>1&&(g=m.slice(0,m.length-1),g.reverse()),n[r++]=new UH(b,g,i,l,c,u)}}return n}var UH=class{constructor(t,e,n,r,i,s){this.scope=t,this.parentScopes=e,this.index=n,this.fontStyle=r,this.foreground=i,this.background=s}},rl=(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",t[t.Strikethrough=8]="Strikethrough",t))(rl||{});function WH(t,e){t.sort((l,c)=>{let u=o3(l.scope,c.scope);return u!==0||(u=a3(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 s=new GH(e),o=new u3(n,s.getId(r),s.getId(i)),a=new JH(new Gx(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,s.getId(u.foreground),s.getId(u.background))}return new jy(s,o,a)}var GH=class{constructor(t){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(t)){this._isFrozen=!0;for(let e=0,n=t.length;e<n;e++)this._color2id[t[e]]=e,this._id2color[e]=t[e]}else this._isFrozen=!1}getId(t){if(t===null)return 0;t=t.toUpperCase();let e=this._color2id[t];if(e)return e;if(this._isFrozen)throw new Error(`Missing color in color map - ${t}`);return e=++this._lastColorId,this._color2id[t]=e,this._id2color[e]=t,e}getColorMap(){return this._id2color.slice(0)}},KH=Object.freeze([]),Gx=class d3{constructor(e,n,r,i,s){De(this,"scopeDepth");De(this,"parentScopes");De(this,"fontStyle");De(this,"foreground");De(this,"background");this.scopeDepth=e,this.parentScopes=n||KH,this.fontStyle=r,this.foreground=i,this.background=s}clone(){return new d3(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)}},JH=class Kx{constructor(e,n=[],r={}){De(this,"_rulesWithParentScopes");this._mainRule=e,this._children=r,this._rulesWithParentScopes=n}static _cmpBySpecificity(e,n){if(e.scopeDepth!==n.scopeDepth)return n.scopeDepth-e.scopeDepth;let r=0,i=0;for(;e.parentScopes[r]===">"&&r++,n.parentScopes[i]===">"&&i++,!(r>=e.parentScopes.length||i>=n.parentScopes.length);){const s=n.parentScopes[i].length-e.parentScopes[r].length;if(s!==0)return s;r++,i++}return n.parentScopes.length-e.parentScopes.length}match(e){if(e!==""){let r=e.indexOf("."),i,s;if(r===-1?(i=e,s=""):(i=e.substring(0,r),s=e.substring(r+1)),this._children.hasOwnProperty(i))return this._children[i].match(s)}const n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(Kx._cmpBySpecificity),n}insert(e,n,r,i,s,o){if(n===""){this._doInsertHere(e,r,i,s,o);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 Kx(this._mainRule.clone(),Gx.cloneArr(this._rulesWithParentScopes)),this._children[l]=u),u.insert(e+1,c,r,i,s,o)}_doInsertHere(e,n,r,i,s){if(n===null){this._mainRule.acceptOverwrite(e,r,i,s);return}for(let o=0,a=this._rulesWithParentScopes.length;o<a;o++){let l=this._rulesWithParentScopes[o];if(a3(l.parentScopes,n)===0){l.acceptOverwrite(e,r,i,s);return}}r===-1&&(r=this._mainRule.fontStyle),i===0&&(i=this._mainRule.foreground),s===0&&(s=this._mainRule.background),this._rulesWithParentScopes.push(new Gx(e,n,r,i,s))}},sf=class no{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(e){const n=no.getLanguageId(e),r=no.getTokenType(e),i=no.getFontStyle(e),s=no.getForeground(e),o=no.getBackground(e);console.log({languageId:n,tokenType:r,fontStyle:i,foreground:s,background:o})}static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return(e&1024)!==0}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static set(e,n,r,i,s,o,a){let l=no.getLanguageId(e),c=no.getTokenType(e),u=no.containsBalancedBrackets(e)?1:0,d=no.getFontStyle(e),h=no.getForeground(e),p=no.getBackground(e);return n!==0&&(l=n),r!==8&&(c=r),i!==null&&(u=i?1:0),s!==-1&&(d=s),o!==0&&(h=o),a!==0&&(p=a),(l<<0|c<<8|u<<10|d<<11|h<<15|p<<24)>>>0}};function ky(t,e){const n=[],r=YH(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=o();if(n.push({matcher:c,priority:l}),i!==",")break;i=r.next()}return n;function s(){if(i==="-"){i=r.next();const l=s();return c=>!!l&&!l(c)}if(i==="("){i=r.next();const l=a();return i===")"&&(i=r.next()),l}if(oE(i)){const l=[];do l.push(i),i=r.next();while(oE(i));return c=>e(l,c)}return null}function o(){const l=[];let c=s();for(;c;)l.push(c),c=s();return u=>l.every(d=>d(u))}function a(){const l=[];let c=o();for(;c&&(l.push(c),i==="|"||i===",");){do i=r.next();while(i==="|"||i===",");c=o()}return u=>l.some(d=>d(u))}}function oE(t){return!!t&&!!t.match(/[\w\.:]+/)}function YH(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 f3(t){typeof t.dispose=="function"&&t.dispose()}var np=class{constructor(t){this.scopeName=t}toKey(){return this.scopeName}},QH=class{constructor(t,e){this.scopeName=t,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}},XH=class{constructor(){De(this,"_references",[]);De(this,"_seenReferenceKeys",new Set);De(this,"visitedRule",new Set)}get references(){return this._references}add(t){const e=t.toKey();this._seenReferenceKeys.has(e)||(this._seenReferenceKeys.add(e),this._references.push(t))}},ZH=class{constructor(t,e){De(this,"seenFullScopeRequests",new Set);De(this,"seenPartialScopeRequests",new Set);De(this,"Q");this.repo=t,this.initialScopeName=e,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new np(this.initialScopeName)]}processQueue(){const t=this.Q;this.Q=[];const e=new XH;for(const n of t)eU(n,this.initialScopeName,this.repo,e);for(const n of e.references)if(n instanceof np){if(this.seenFullScopeRequests.has(n.scopeName))continue;this.seenFullScopeRequests.add(n.scopeName),this.Q.push(n)}else{if(this.seenFullScopeRequests.has(n.scopeName)||this.seenPartialScopeRequests.has(n.toKey()))continue;this.seenPartialScopeRequests.add(n.toKey()),this.Q.push(n)}}};function eU(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 s=n.lookup(e);t instanceof np?Ov({baseGrammar:s,selfGrammar:i},r):Jx(t.ruleName,{baseGrammar:s,selfGrammar:i,repository:i.repository},r);const o=n.injections(t.scopeName);if(o)for(const a of o)r.add(new np(a))}function Jx(t,e,n){if(e.repository&&e.repository[t]){const r=e.repository[t];Sy([r],e,n)}}function Ov(t,e){t.selfGrammar.patterns&&Array.isArray(t.selfGrammar.patterns)&&Sy(t.selfGrammar.patterns,{...t,repository:t.selfGrammar.repository},e),t.selfGrammar.injections&&Sy(Object.values(t.selfGrammar.injections),{...t,repository:t.selfGrammar.repository},e)}function Sy(t,e,n){for(const r of t){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const i=r.repository?i3({},e.repository,r.repository):e.repository;Array.isArray(r.patterns)&&Sy(r.patterns,{...e,repository:i},n);const s=r.include;if(!s)continue;const o=h3(s);switch(o.kind){case 0:Ov({...e,selfGrammar:e.baseGrammar},n);break;case 1:Ov(e,n);break;case 2:Jx(o.ruleName,{...e,repository:i},n);break;case 3:case 4:const a=o.scopeName===e.selfGrammar.scopeName?e.selfGrammar:o.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(a){const l={baseGrammar:e.baseGrammar,selfGrammar:a,repository:i};o.kind===4?Jx(o.ruleName,l,n):Ov(l,n)}else o.kind===4?n.add(new QH(o.scopeName,o.ruleName)):n.add(new np(o.scopeName));break}}}var tU=class{constructor(){De(this,"kind",0)}},nU=class{constructor(){De(this,"kind",1)}},rU=class{constructor(t){De(this,"kind",2);this.ruleName=t}},iU=class{constructor(t){De(this,"kind",3);this.scopeName=t}},sU=class{constructor(t,e){De(this,"kind",4);this.scopeName=t,this.ruleName=e}};function h3(t){if(t==="$base")return new tU;if(t==="$self")return new nU;const e=t.indexOf("#");if(e===-1)return new iU(t);if(e===0)return new rU(t.substring(1));{const n=t.substring(0,e),r=t.substring(e+1);return new sU(n,r)}}var oU=/\\(\d+)/,aE=/\\(\d+)/g,aU=-1,p3=-2;var Qp=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=Dm.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=Dm.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${s3(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:Dm.replaceCaptures(this._name,e,n)}getContentName(e,n){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Dm.replaceCaptures(this._contentName,e,n)}},lU=class extends Qp{constructor(e,n,r,i,s){super(e,n,r,i);De(this,"retokenizeCapturedWithRuleId");this.retokenizeCapturedWithRuleId=s}dispose(){}collectPatterns(e,n){throw new Error("Not supported!")}compile(e,n){throw new Error("Not supported!")}compileAG(e,n,r,i){throw new Error("Not supported!")}},cU=class extends Qp{constructor(e,n,r,i,s){super(e,n,r,null);De(this,"_match");De(this,"captures");De(this,"_cachedCompiledPatterns");this._match=new rp(i,this.id),this.captures=s,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,n){n.push(this._match)}compile(e,n){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,n,r,i){return this._getCachedCompiledPatterns(e).compileAG(e,r,i)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new ip,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},lE=class extends Qp{constructor(e,n,r,i,s){super(e,n,r,i);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(e,n){for(const r of this.patterns)e.getRule(r).collectPatterns(e,n)}compile(e,n){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,n,r,i){return this._getCachedCompiledPatterns(e).compileAG(e,r,i)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new ip,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Yx=class extends Qp{constructor(e,n,r,i,s,o,a,l,c,u){super(e,n,r,i);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 rp(s,this.id),this.beginCaptures=o,this._end=new rp(a||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=l,this.applyEndPatternLast=c||!1,this.patterns=u.patterns,this.hasMissingPatterns=u.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(e,n){return this._end.resolveBackReferences(e,n)}collectPatterns(e,n){n.push(this._begin)}compile(e,n){return this._getCachedCompiledPatterns(e,n).compile(e)}compileAG(e,n,r,i){return this._getCachedCompiledPatterns(e,n).compileAG(e,r,i)}_getCachedCompiledPatterns(e,n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new ip;for(const r of this.patterns)e.getRule(r).collectPatterns(e,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,n):this._cachedCompiledPatterns.setSource(0,n)),this._cachedCompiledPatterns}},Cy=class extends Qp{constructor(e,n,r,i,s,o,a,l,c){super(e,n,r,i);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 rp(s,this.id),this.beginCaptures=o,this.whileCaptures=l,this._while=new rp(a,p3),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=c.patterns,this.hasMissingPatterns=c.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(e,n){return this._while.resolveBackReferences(e,n)}collectPatterns(e,n){n.push(this._begin)}compile(e,n){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,n,r,i){return this._getCachedCompiledPatterns(e).compileAG(e,r,i)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new ip;for(const n of this.patterns)e.getRule(n).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,n){return this._getCachedCompiledWhilePatterns(e,n).compile(e)}compileWhileAG(e,n,r,i){return this._getCachedCompiledWhilePatterns(e,n).compileAG(e,r,i)}_getCachedCompiledWhilePatterns(e,n){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new ip,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,n||"￿"),this._cachedCompiledWhilePatterns}},m3=class rs{static createCaptureRule(e,n,r,i,s){return e.registerRule(o=>new lU(n,o,r,i,s))}static getCompiledRuleId(e,n,r){return e.id||n.registerRule(i=>{if(e.id=i,e.match)return new cU(e.$vscodeTextmateLocation,e.id,e.name,e.match,rs._compileCaptures(e.captures,n,r));if(typeof e.begin>"u"){e.repository&&(r=i3({},r,e.repository));let s=e.patterns;return typeof s>"u"&&e.include&&(s=[{include:e.include}]),new lE(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,rs._compilePatterns(s,n,r))}return e.while?new Cy(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,rs._compileCaptures(e.beginCaptures||e.captures,n,r),e.while,rs._compileCaptures(e.whileCaptures||e.captures,n,r),rs._compilePatterns(e.patterns,n,r)):new Yx(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,rs._compileCaptures(e.beginCaptures||e.captures,n,r),e.end,rs._compileCaptures(e.endCaptures||e.captures,n,r),e.applyEndPatternLast,rs._compilePatterns(e.patterns,n,r))}),e.id}static _compileCaptures(e,n,r){let i=[];if(e){let s=0;for(const o in e){if(o==="$vscodeTextmateLocation")continue;const a=parseInt(o,10);a>s&&(s=a)}for(let o=0;o<=s;o++)i[o]=null;for(const o in e){if(o==="$vscodeTextmateLocation")continue;const a=parseInt(o,10);let l=0;e[o].patterns&&(l=rs.getCompiledRuleId(e[o],n,r)),i[a]=rs.createCaptureRule(n,e[o].$vscodeTextmateLocation,e[o].name,e[o].contentName,l)}}return i}static _compilePatterns(e,n,r){let i=[];if(e)for(let s=0,o=e.length;s<o;s++){const a=e[s];let l=-1;if(a.include){const c=h3(a.include);switch(c.kind){case 0:case 1:l=rs.getCompiledRuleId(r[a.include],n,r);break;case 2:let u=r[c.ruleName];u&&(l=rs.getCompiledRuleId(u,n,r));break;case 3:case 4:const d=c.scopeName,h=c.kind===4?c.ruleName:null,p=n.getExternalGrammar(d,r);if(p)if(h){let m=p.repository[h];m&&(l=rs.getCompiledRuleId(m,n,p.repository))}else l=rs.getCompiledRuleId(p.repository.$self,n,p.repository);break}}else l=rs.getCompiledRuleId(a,n,r);if(l!==-1){const c=n.getRule(l);let u=!1;if((c instanceof lE||c instanceof Yx||c instanceof Cy)&&c.hasMissingPatterns&&c.patterns.length===0&&(u=!0),u)continue;i.push(l)}}return{patterns:i,hasMissingPatterns:(e?e.length:0)!==i.length}}},rp=class g3{constructor(e,n){De(this,"source");De(this,"ruleId");De(this,"hasAnchor");De(this,"hasBackReferences");De(this,"_anchorCache");if(e&&typeof e=="string"){const r=e.length;let i=0,s=[],o=!1;for(let a=0;a<r;a++)if(e.charAt(a)==="\\"&&a+1<r){const c=e.charAt(a+1);c==="z"?(s.push(e.substring(i,a)),s.push("$(?!\\n)(?<!\\n)"),i=a+2):(c==="A"||c==="G")&&(o=!0),a++}this.hasAnchor=o,i===0?this.source=e:(s.push(e.substring(i,r)),this.source=s.join(""))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,typeof this.source=="string"?this.hasBackReferences=oU.test(this.source):this.hasBackReferences=!1}clone(){return new g3(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,n){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let r=n.map(i=>e.substring(i.start,i.end));return aE.lastIndex=0,this.source.replace(aE,(i,s)=>l3(r[parseInt(s,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let e=[],n=[],r=[],i=[],s,o,a,l;for(s=0,o=this.source.length;s<o;s++)a=this.source.charAt(s),e[s]=a,n[s]=a,r[s]=a,i[s]=a,a==="\\"&&s+1<o&&(l=this.source.charAt(s+1),l==="A"?(e[s+1]="￿",n[s+1]="￿",r[s+1]="A",i[s+1]="A"):l==="G"?(e[s+1]="￿",n[s+1]="G",r[s+1]="￿",i[s+1]="G"):(e[s+1]=l,n[s+1]=l,r[s+1]=l,i[s+1]=l),s++);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||typeof this.source!="string"?this.source:e?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},ip=class{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(t){this._items.push(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}unshift(t){this._items.unshift(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}length(){return this._items.length}setSource(t,e){this._items[t].source!==e&&(this._disposeCaches(),this._items[t].setSource(e))}compile(t){if(!this._cached){let e=this._items.map(n=>n.source);this._cached=new cE(t,e,this._items.map(n=>n.ruleId))}return this._cached}compileAG(t,e,n){return this._hasAnchors?e?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(t,e,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(t,e,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(t,e,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(t,e,n)),this._anchorCache.A0_G0):this.compile(t)}_resolveAnchors(t,e,n){let r=this._items.map(i=>i.resolveAnchors(e,n));return new cE(t,r,this._items.map(i=>i.ruleId))}},cE=class{constructor(t,e,n){De(this,"scanner");this.regExps=e,this.rules=n,this.scanner=t.createOnigScanner(e)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const t=[];for(let e=0,n=this.rules.length;e<n;e++)t.push(" - "+this.rules[e]+": "+this.regExps[e]);return t.join(`
19
+ **/let Sx;const rC=typeof window<"u"&&window.trustedTypes;if(rC)try{Sx=rC.createPolicy("vue",{createHTML:t=>t})}catch{}const M$=Sx?t=>Sx.createHTML(t):t=>t,_z="http://www.w3.org/2000/svg",jz="http://www.w3.org/1998/Math/MathML",Ya=typeof document<"u"?document:null,iC=Ya&&Ya.createElement("template"),kz={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"?Ya.createElementNS(_z,t):e==="mathml"?Ya.createElementNS(jz,t):n?Ya.createElement(t,{is:n}):Ya.createElement(t);return t==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:t=>Ya.createTextNode(t),createComment:t=>Ya.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Ya.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,i,s){const o=n?n.previousSibling:e.lastChild;if(i&&(i===s||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),n),!(i===s||!(i=i.nextSibling)););else{iC.innerHTML=M$(r==="svg"?`<svg>${t}</svg>`:r==="mathml"?`<math>${t}</math>`:t);const a=iC.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[o?o.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},Sz=Symbol("_vtc");function Cz(t,e,n){const r=t[Sz];r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const sC=Symbol("_vod"),Ez=Symbol("_vsh"),Oz=Symbol(""),Az=/(^|;)\s*display\s*:/;function Tz(t,e,n){const r=t.style,i=si(n);let s=!1;if(n&&!i){if(e)if(si(e))for(const o of e.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&_v(r,a,"")}else for(const o in e)n[o]==null&&_v(r,o,"");for(const o in n)o==="display"&&(s=!0),_v(r,o,n[o])}else if(i){if(e!==n){const o=r[Oz];o&&(n+=";"+o),r.cssText=n,s=Az.test(n)}}else e&&t.removeAttribute("style");sC in t&&(t[sC]=s?r.display:"",t[Ez]&&(r.display="none"))}const oC=/\s*!important$/;function _v(t,e,n){if(sn(n))n.forEach(r=>_v(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=Pz(t,e);oC.test(n)?t.setProperty(Cc(r),n.replace(oC,""),"important"):t[r]=n}}const aC=["Webkit","Moz","ms"],A1={};function Pz(t,e){const n=A1[e];if(n)return n;let r=yo(e);if(r!=="filter"&&r in t)return A1[e]=r;r=Vb(r);for(let i=0;i<aC.length;i++){const s=aC[i]+r;if(s in t)return A1[e]=s}return e}const lC="http://www.w3.org/1999/xlink";function cC(t,e,n,r,i,s=I6(e)){r&&e.startsWith("xlink:")?n==null?t.removeAttributeNS(lC,e.slice(6,e.length)):t.setAttributeNS(lC,e,n):n==null||s&&!CR(n)?t.removeAttribute(e):t.setAttribute(e,s?"":Qo(n)?String(n):n)}function uC(t,e,n,r,i){if(e==="innerHTML"||e==="textContent"){n!=null&&(t[e]=e==="innerHTML"?M$(n):n);return}const s=t.tagName;if(e==="value"&&s!=="PROGRESS"&&!s.includes("-")){const a=s==="OPTION"?t.getAttribute("value")||"":t.value,l=n==null?t.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in t))&&(t.value=l),n==null&&t.removeAttribute(e),t._value=n;return}let o=!1;if(n===""||n==null){const a=typeof t[e];a==="boolean"?n=CR(n):n==null&&a==="string"?(n="",o=!0):a==="number"&&(n=0,o=!0)}try{t[e]=n}catch{}o&&t.removeAttribute(i||e)}function wk(t,e,n,r){t.addEventListener(e,n,r)}function Rz(t,e,n,r){t.removeEventListener(e,n,r)}const dC=Symbol("_vei");function $z(t,e,n,r,i=null){const s=t[dC]||(t[dC]={}),o=s[e];if(r&&o)o.value=r;else{const[a,l]=Mz(e);if(r){const c=s[e]=Lz(r,i);wk(t,a,c,l)}else o&&(Rz(t,a,o,l),s[e]=void 0)}}const fC=/(?:Once|Passive|Capture)$/;function Mz(t){let e;if(fC.test(t)){e={};let r;for(;r=t.match(fC);)t=t.slice(0,t.length-r[0].length),e[r[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):Cc(t.slice(2)),e]}let T1=0;const Iz=Promise.resolve(),Nz=()=>T1||(Iz.then(()=>T1=0),T1=Date.now());function Lz(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Pa(Dz(r,n.value),e,5,[r])};return n.value=t,n.attached=Nz(),n}function Dz(t,e){if(sn(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 hC=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,zz=(t,e,n,r,i,s)=>{const o=i==="svg";e==="class"?Cz(t,r,o):e==="style"?Tz(t,n,r):Up(e)?Xj(e)||$z(t,e,n,r,s):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Bz(t,e,r,o))?(uC(t,e,r),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&cC(t,e,r,o,s,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!si(r))?uC(t,yo(e),r,s,e):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),cC(t,e,r,o))};function Bz(t,e,n,r){if(r)return!!(e==="innerHTML"||e==="textContent"||e in t&&hC(e)&&dn(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 hC(e)&&si(n)?!1:e in t}const sy=t=>{const e=t.props["onUpdate:modelValue"]||!1;return sn(e)?n=>wv(e,n):e},Od=Symbol("_assign"),Fz={created(t,{value:e},n){t.checked=Jd(e,n.props.value),t[Od]=sy(n),wk(t,"change",()=>{t[Od](Kh(t))})},beforeUpdate(t,{value:e,oldValue:n},r){t[Od]=sy(r),e!==n&&(t.checked=Jd(e,r.props.value))}},Vz={deep:!0,created(t,{value:e,modifiers:{number:n}},r){const i=Bb(e);wk(t,"change",()=>{const s=Array.prototype.filter.call(t.options,o=>o.selected).map(o=>n?kR(Kh(o)):Kh(o));t[Od](t.multiple?i?new Set(s):s:s[0]),t._assigning=!0,Ac(()=>{t._assigning=!1})}),t[Od]=sy(r)},mounted(t,{value:e}){pC(t,e)},beforeUpdate(t,e,n){t[Od]=sy(n)},updated(t,{value:e}){t._assigning||pC(t,e)}};function pC(t,e){const n=t.multiple,r=sn(e);if(!(n&&!r&&!Bb(e))){for(let i=0,s=t.options.length;i<s;i++){const o=t.options[i],a=Kh(o);if(n)if(r){const l=typeof a;l==="string"||l==="number"?o.selected=e.some(c=>String(c)===String(a)):o.selected=L6(e,a)>-1}else o.selected=e.has(a);else if(Jd(Kh(o),e)){t.selectedIndex!==i&&(t.selectedIndex=i);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function Kh(t){return"_value"in t?t._value:t.value}const qz=["ctrl","shift","alt","meta"],Hz={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)=>qz.some(n=>t[`${n}Key`]&&!e.includes(n))},Uz=(t,e)=>{const n=t._withMods||(t._withMods={}),r=e.join(".");return n[r]||(n[r]=(i,...s)=>{for(let o=0;o<e.length;o++){const a=Hz[e[o]];if(a&&a(i,e))return}return t(i,...s)})},Wz={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Gz=(t,e)=>{const n=t._withKeys||(t._withKeys={}),r=e.join(".");return n[r]||(n[r]=i=>{if(!("key"in i))return;const s=Cc(i.key);if(e.some(o=>o===s||Wz[o]===s))return t(i)})},I$=Wi({patchProp:zz},kz);let Ch,mC=!1;function Kz(){return Ch||(Ch=W9(I$))}function Jz(){return Ch=mC?Ch:G9(I$),mC=!0,Ch}const N$=(...t)=>{const e=Kz().createApp(...t),{mount:n}=e;return e.mount=r=>{const i=D$(r);if(!i)return;const s=e._component;!dn(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=n(i,!1,L$(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e},Yz=(...t)=>{const e=Jz().createApp(...t),{mount:n}=e;return e.mount=r=>{const i=D$(r);if(i)return n(i,!0,L$(i))},e};function L$(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function D$(t){return si(t)?document.querySelector(t):t}const Qz=/"(?:_|\\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*:/,Xz=/"(?: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*:/,Zz=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function e7(t,e){if(t==="__proto__"||t==="constructor"&&e&&typeof e=="object"&&"prototype"in e){t7(t);return}return e}function t7(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}function oy(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(!Zz.test(t)){if(e.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(Qz.test(t)||Xz.test(t)){if(e.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,e7)}return JSON.parse(t)}catch(r){if(e.strict)throw r;return t}}const n7=/#/g,r7=/&/g,i7=/\//g,s7=/=/g,xk=/\+/g,o7=/%5e/gi,a7=/%60/gi,l7=/%7c/gi,c7=/%20/gi;function u7(t){return encodeURI(""+t).replace(l7,"|")}function Cx(t){return u7(typeof t=="string"?t:JSON.stringify(t)).replace(xk,"%2B").replace(c7,"+").replace(n7,"%23").replace(r7,"%26").replace(a7,"`").replace(o7,"^").replace(i7,"%2F")}function P1(t){return Cx(t).replace(s7,"%3D")}function ay(t=""){try{return decodeURIComponent(""+t)}catch{return""+t}}function d7(t){return ay(t.replace(xk," "))}function f7(t){return ay(t.replace(xk," "))}function _k(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=d7(r[1]);if(i==="__proto__"||i==="constructor")continue;const s=f7(r[2]||"");e[i]===void 0?e[i]=s:Array.isArray(e[i])?e[i].push(s):e[i]=[e[i],s]}return e}function h7(t,e){return(typeof e=="number"||typeof e=="boolean")&&(e=String(e)),e?Array.isArray(e)?e.map(n=>`${P1(t)}=${Cx(n)}`).join("&"):`${P1(t)}=${Cx(e)}`:P1(t)}function z$(t){return Object.keys(t).filter(e=>t[e]!==void 0).map(e=>h7(e,t[e])).filter(Boolean).join("&")}const p7=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,B$=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,m7=/^([/\\]\s*){2,}[^/\\]/,g7=/^[\s\0]*(blob|data|javascript|vbscript):$/i,v7=/\/$|\/\?|\/#/,y7=/^\.?\//;function Cl(t,e={}){return typeof e=="boolean"&&(e={acceptRelative:e}),e.strict?p7.test(t):B$.test(t)||(e.acceptRelative?m7.test(t):!1)}function b7(t){return!!t&&g7.test(t)}function Ex(t="",e){return e?v7.test(t):t.endsWith("/")}function e0(t="",e){if(!e)return(Ex(t)?t.slice(0,-1):t)||"/";if(!Ex(t,!0))return t||"/";let n=t,r="";const i=t.indexOf("#");i>=0&&(n=t.slice(0,i),r=t.slice(i));const[s,...o]=n.split("?");return((s.endsWith("/")?s.slice(0,-1):s)||"/")+(o.length>0?`?${o.join("?")}`:"")+r}function ly(t="",e){if(!e)return t.endsWith("/")?t:t+"/";if(Ex(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[s,...o]=n.split("?");return s+"/"+(o.length>0?`?${o.join("?")}`:"")+r}function w7(t=""){return t.startsWith("/")}function gC(t=""){return w7(t)?t:"/"+t}function F$(t,e){if(V$(e)||Cl(t))return t;const n=e0(e);return t.startsWith(n)?t:hc(n,t)}function x7(t,e){if(V$(e))return t;const n=e0(e);if(!t.startsWith(n))return t;const r=t.slice(n.length);return r[0]==="/"?r:"/"+r}function Ad(t,e){const n=U$(t),r={..._k(n.search),...e};return n.search=z$(r),W$(n)}function V$(t){return!t||t==="/"}function _7(t){return t&&t!=="/"}function hc(t,...e){let n=t||"";for(const r of e.filter(i=>_7(i)))if(n){const i=r.replace(y7,"");n=ly(n)+i}else n=r;return n}function q$(...t){var o,a,l,c;const e=/\/(?!\/)/,n=t.filter(Boolean),r=[];let i=0;for(const u of n)if(!(!u||u==="/")){for(const[d,h]of u.split(e).entries())if(!(!h||h===".")){if(h===".."){if(r.length===1&&Cl(r[0]))continue;r.pop(),i--;continue}if(d===1&&((o=r[r.length-1])!=null&&o.endsWith(":/"))){r[r.length-1]+="/"+h;continue}r.push(h),i++}}let s=r.join("/");return i>=0?(a=n[0])!=null&&a.startsWith("/")&&!s.startsWith("/")?s="/"+s:(l=n[0])!=null&&l.startsWith("./")&&!s.startsWith("./")&&(s="./"+s):s="../".repeat(-1*i)+s,(c=n[n.length-1])!=null&&c.endsWith("/")&&!s.endsWith("/")&&(s+="/"),s}function vC(t){return j7(t,"https://")}function j7(t,e){let n=t.match(B$);return n||(n=t.match(/^\/{2,}/)),n?e+t.slice(n[0].length):e+t}function k7(t,e,n={}){return n.trailingSlash||(t=ly(t),e=ly(e)),n.leadingSlash||(t=gC(t),e=gC(e)),n.encoding||(t=ay(t),e=ay(e)),t===e}const H$=Symbol.for("ufo:protocolRelative");function U$(t="",e){const n=t.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,d,h=""]=n;return{protocol:d.toLowerCase(),pathname:h,href:d+h,auth:"",host:"",search:"",hash:""}}if(!Cl(t,{acceptRelative:!0}))return yC(t);const[,r="",i,s=""]=t.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,o="",a=""]=s.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:c,hash:u}=yC(a);return{protocol:r.toLowerCase(),auth:i?i.slice(0,Math.max(0,i.length-1)):"",host:o,pathname:l,search:c,hash:u,[H$]:!r}}function yC(t=""){const[e="",n="",r=""]=(t.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:e,search:n,hash:r}}function W$(t){const e=t.pathname||"",n=t.search?(t.search.startsWith("?")?"":"?")+t.search:"",r=t.hash||"",i=t.auth?t.auth+"@":"",s=t.host||"";return(t.protocol||t[H$]?(t.protocol||"")+"//":"")+i+s+e+n+r}class S7 extends Error{constructor(e,n){super(e,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function C7(t){var l,c,u,d,h;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)||((d=t.options)==null?void 0:d.method)||"GET",r=((h=t.request)==null?void 0:h.url)||String(t.request)||"/",i=`[${n}] ${JSON.stringify(r)}`,s=t.response?`${t.response.status} ${t.response.statusText}`:"<no response>",o=`${i}: ${s}${e?` ${e}`:""}`,a=new S7(o,t.error?{cause:t.error}:void 0);for(const p of["request","options","response"])Object.defineProperty(a,p,{get(){return t[p]}});for(const[p,m]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,p,{get(){return t.response&&t.response[m]}});return a}const E7=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function bC(t="GET"){return E7.has(t.toUpperCase())}function O7(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 A7=new Set(["image/svg","application/xml","application/xhtml","application/html"]),T7=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function P7(t=""){if(!t)return"json";const e=t.split(";").shift()||"";return T7.test(e)?"json":A7.has(e)||e.startsWith("text/")?"text":"blob"}function R7(t,e,n,r){const i=$7((e==null?void 0:e.headers)??(t==null?void 0:t.headers),n==null?void 0:n.headers,r);let s;return(n!=null&&n.query||n!=null&&n.params||e!=null&&e.params||e!=null&&e.query)&&(s={...n==null?void 0:n.params,...n==null?void 0:n.query,...e==null?void 0:e.params,...e==null?void 0:e.query}),{...n,...e,query:s,params:s,headers:i}}function $7(t,e,n){if(!e)return new n(t);const r=new n(e);if(t)for(const[i,s]of Symbol.iterator in t||Array.isArray(t)?t:new n(t))r.set(i,s);return r}async function Tm(t,e){if(e)if(Array.isArray(e))for(const n of e)await n(t);else await e(t)}const M7=new Set([408,409,425,429,500,502,503,504]),I7=new Set([101,204,205,304]);function G$(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=bC(a.options.method)?0:1;const d=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(d):M7.has(d))){const h=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return h>0&&await new Promise(p=>setTimeout(p,h)),s(a.request,{...a.options,retry:u-1})}}const c=C7(a);throw Error.captureStackTrace&&Error.captureStackTrace(c,s),c}const s=async function(l,c={}){const u={request:l,options:R7(l,c,t.defaults,n),response:void 0,error:void 0};u.options.method&&(u.options.method=u.options.method.toUpperCase()),u.options.onRequest&&await Tm(u,u.options.onRequest),typeof u.request=="string"&&(u.options.baseURL&&(u.request=F$(u.request,u.options.baseURL)),u.options.query&&(u.request=Ad(u.request,u.options.query),delete u.options.query),"query"in u.options&&delete u.options.query,"params"in u.options&&delete u.options.params),u.options.body&&bC(u.options.method)&&(O7(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 d;if(!u.options.signal&&u.options.timeout){const p=new r;d=setTimeout(()=>{const m=new Error("[TimeoutError]: The operation was aborted due to timeout");m.name="TimeoutError",m.code=23,p.abort(m)},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 Tm(u,u.options.onRequestError),await i(u)}finally{d&&clearTimeout(d)}if((u.response.body||u.response._bodyInit)&&!I7.has(u.response.status)&&u.options.method!=="HEAD"){const p=(u.options.parseResponse?"json":u.options.responseType)||P7(u.response.headers.get("content-type")||"");switch(p){case"json":{const m=await u.response.text(),b=u.options.parseResponse||oy;u.response._data=b(m);break}case"stream":{u.response._data=u.response.body||u.response._bodyInit;break}default:u.response._data=await u.response[p]()}}return u.options.onResponse&&await Tm(u,u.options.onResponse),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await Tm(u,u.options.onResponseError),await i(u)):u.response},o=async function(l,c){return(await s(l,c))._data};return o.raw=s,o.native=(...a)=>e(...a),o.create=(a={},l={})=>G$({...t,...l,defaults:{...t.defaults,...l.defaults,...a}}),o}const cy=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")}(),N7=cy.fetch?(...t)=>cy.fetch(...t):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),L7=cy.Headers,D7=cy.AbortController,z7=G$({fetch:N7,Headers:L7,AbortController:D7}),B7=z7,F7=()=>{var t;return((t=window==null?void 0:window.__NUXT__)==null?void 0:t.config)||{}},uy=F7().app,V7=()=>uy.baseURL,q7=()=>uy.buildAssetsDir,jk=(...t)=>q$(K$(),q7(),...t),K$=(...t)=>{const e=uy.cdnURL||uy.baseURL;return t.length?q$(e,...t):e};globalThis.__buildAssetsURL=jk,globalThis.__publicAssetsURL=K$;globalThis.$fetch||(globalThis.$fetch=B7.create({baseURL:V7()}));function Ox(t,e={},n){for(const r in t){const i=t[r],s=n?`${n}:${r}`:r;typeof i=="object"&&i!==null?Ox(i,e,s):typeof i=="function"&&(e[s]=i)}return e}const H7={run:t=>t()},U7=()=>H7,J$=typeof console.createTask<"u"?console.createTask:U7;function W7(t,e){const n=e.shift(),r=J$(n);return t.reduce((i,s)=>i.then(()=>r.run(()=>s(...e))),Promise.resolve())}function G7(t,e){const n=e.shift(),r=J$(n);return Promise.all(t.map(i=>r.run(()=>i(...e))))}function R1(t,e){for(const n of[...t])n(e)}class K7{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 s;for(;this._deprecatedHooks[e];)s=this._deprecatedHooks[e],e=s.to;if(s&&!r.allowDeprecated){let o=s.message;o||(o=`${i} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||(console.warn(o),this._deprecatedMessages.add(o))}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=(...s)=>(typeof r=="function"&&r(),r=void 0,i=void 0,n(...s));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=Ox(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=Ox(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(W7,e,...n)}callHookParallel(e,...n){return n.unshift(e),this.callHookWith(G7,e,...n)}callHookWith(e,n,...r){const i=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&R1(this._before,i);const s=e(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&i&&R1(this._after,i)}):(this._after&&i&&R1(this._after,i),s)}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 Y$(){return new K7}function J7(t={}){let e,n=!1;const r=o=>{if(e&&e!==o)throw new Error("Context conflict")};let i;if(t.asyncContext){const o=t.AsyncLocalStorage||globalThis.AsyncLocalStorage;o?i=new o:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const s=()=>{if(i){const o=i.getStore();if(o!==void 0)return o}return e};return{use:()=>{const o=s();if(o===void 0)throw new Error("Context is not available");return o},tryUse:()=>s(),set:(o,a)=>{a||r(o),e=o,n=!0},unset:()=>{e=void 0,n=!1},call:(o,a)=>{r(o),e=o;try{return i?i.run(o,a):a()}finally{n||(e=void 0)}},async callAsync(o,a){e=o;const l=()=>{e=o},c=()=>e===o?l:void 0;Ax.add(c);try{const u=i?i.run(o,a):a();return n||(e=void 0),await u}finally{Ax.delete(c)}}}}function Y7(t={}){const e={};return{get(n,r={}){return e[n]||(e[n]=J7({...t,...r})),e[n]}}}const dy=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},wC="__unctx__",Q7=dy[wC]||(dy[wC]=Y7()),X7=(t,e={})=>Q7.get(t,e),xC="__unctx_async_handlers__",Ax=dy[xC]||(dy[xC]=new Set);function Q$(t){const e=[];for(const i of Ax){const s=i();s&&e.push(s)}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 Z7={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},hd={value:null,errorValue:null,deep:!0},eB=null,tB="#__nuxt",X$="nuxt-app",_C=36e5,nB="vite:preloadError";function Z$(t=X$){return X7(t,{asyncContext:!1})}const rB="__nuxt_plugin";function iB(t){var i;let e=0;const n={_id:t.id||X$||"nuxt-app",_scope:D6(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.15.2"},get vue(){return n.vueApp.version}},payload:dd({...((i=t.ssrContext)==null?void 0:i.payload)||{},data:dd({}),state:dc({}),once:new Set,_errors:dd({})}),static:{data:{}},runWithContext(s){return n._scope.active&&!Hb()?n._scope.run(()=>jC(n,s)):jC(n,s)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};e++;let s=!1;return()=>{if(!s&&(s=!0,e--,e===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:dd({}),_payloadRevivers:{},...t};{const s=window.__NUXT__;if(s)for(const o in s)switch(o){case"data":case"state":case"_errors":Object.assign(n.payload[o],s[o]);break;default:n.payload[o]=s[o]}}n.hooks=Y$(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,o)=>{const a="$"+s;Pm(n,a,o),Pm(n.vueApp.config.globalProperties,a,o)},Pm(n.vueApp,"$nuxt",n),Pm(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(nB,o=>{n.callHook("app:chunkError",{error:o.payload}),(n.isHydrating||o.payload.message.includes("Unable to preload CSS"))&&o.preventDefault()}),window.useNuxtApp=window.useNuxtApp||oi;const s=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",s)}const r=n.payload.config;return n.provide("config",r),n}function sB(t,e){e.hooks&&t.hooks.addHooks(e.hooks)}async function oB(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 aB(t,e){const n=[],r=[],i=[],s=[];let o=0;async function a(l){var u;const c=((u=l.dependsOn)==null?void 0:u.filter(d=>e.some(h=>h._name===d)&&!n.includes(d)))??[];if(c.length>0)r.push([new Set(c),l]);else{const d=oB(t,l).then(async()=>{l._name&&(n.push(l._name),await Promise.all(r.map(async([h,p])=>{h.has(l._name)&&(h.delete(l._name),h.size===0&&(o++,await a(p)))})))});l.parallel?i.push(d.catch(h=>s.push(h))):await d}}for(const l of e)sB(t,l);for(const l of e)await a(l);if(await Promise.all(i),o)for(let l=0;l<o;l++)await Promise.all(i);if(s.length)throw s[0]}function Va(t){if(typeof t=="function")return t;const e=t._name||t.name;return delete t.name,Object.assign(t.setup||(()=>{}),t,{[rB]:!0,_name:e})}function jC(t,e,n){const r=()=>e();return Z$(t._id).set(t),t.vueApp.runWithContext(r)}function lB(t){var n;let e;return Jb()&&(e=(n=Sl())==null?void 0:n.appContext.app.$nuxt),e=e||Z$(t).tryUse(),e||null}function oi(t){const e=lB(t);if(!e)throw new Error("[nuxt] instance unavailable");return e}function tf(t){return oi().$config}function Pm(t,e,n){Object.defineProperty(t,e,{get:()=>n})}function cB(t,e){return{ctx:{table:t},matchAll:n=>tM(n,t)}}function eM(t){const e={};for(const n in t)e[n]=n==="dynamic"?new Map(Object.entries(t[n]).map(([r,i])=>[r,eM(i)])):new Map(Object.entries(t[n]));return e}function uB(t){return cB(eM(t))}function tM(t,e,n){t.endsWith("/")&&(t=t.slice(0,-1)||"/");const r=[];for(const[s,o]of kC(e.wildcard))(t===s||t.startsWith(s+"/"))&&r.push(o);for(const[s,o]of kC(e.dynamic))if(t.startsWith(s+"/")){const a="/"+t.slice(s.length).split("/").splice(2).join("/");r.push(...tM(a,o))}const i=e.static.get(t);return i&&r.push(i),r.filter(Boolean)}function kC(t){return[...t.entries()].sort((e,n)=>e[0].length-n[0].length)}function $1(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 Tx(t,e,n=".",r){if(!$1(e))return Tx(t,{},n,r);const i=Object.assign({},e);for(const s in t){if(s==="__proto__"||s==="constructor")continue;const o=t[s];o!=null&&(r&&r(i,s,o,n)||(Array.isArray(o)&&Array.isArray(i[s])?i[s]=[...o,...i[s]]:$1(o)&&$1(i[s])?i[s]=Tx(o,i[s],(n?`${n}.`:"")+s.toString(),r):i[s]=o))}return i}function dB(t){return(...e)=>e.reduce((n,r)=>Tx(n,r,"",t),{})}const fy=dB();function fB(t,e){try{return e in t}catch{return!1}}class Px extends Error{constructor(n,r={}){super(n,r);De(this,"statusCode",500);De(this,"fatal",!1);De(this,"unhandled",!1);De(this,"statusMessage");De(this,"data");De(this,"cause");r.cause&&!this.cause&&(this.cause=r.cause)}toJSON(){const n={message:this.message,statusCode:Rx(this.statusCode,500)};return this.statusMessage&&(n.statusMessage=nM(this.statusMessage)),this.data!==void 0&&(n.data=this.data),n}}De(Px,"__h3_error__",!0);function hB(t){if(typeof t=="string")return new Px(t);if(pB(t))return t;const e=new Px(t.message??t.statusMessage??"",{cause:t.cause||t});if(fB(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=Rx(t.statusCode,e.statusCode):t.status&&(e.statusCode=Rx(t.status,e.statusCode)),t.statusMessage?e.statusMessage=t.statusMessage:t.statusText&&(e.statusMessage=t.statusText),e.statusMessage){const n=e.statusMessage;nM(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 pB(t){var e;return((e=t==null?void 0:t.constructor)==null?void 0:e.__h3_error__)===!0}const mB=/[^\u0009\u0020-\u007E]/g;function nM(t=""){return t.replace(mB,"")}function Rx(t,e=200){return!t||(typeof t=="string"&&(t=Number.parseInt(t,10)),t<100||t>999)?e:t}const rM=Symbol("route"),Ra=()=>{var t;return(t=oi())==null?void 0:t.$router},iM=()=>Jb()?fu(rM,oi()._route):oi()._route;const gB=()=>{try{if(oi()._processingMiddleware)return!0}catch{return!1}return!1},sM=(t,e)=>{t||(t="/");const n=typeof t=="string"?t:"path"in t?$x(t):Ra().resolve(t).href;if(e!=null&&e.open){const{target:l="_blank",windowFeatures:c={}}=e.open,u=Object.entries(c).filter(([d,h])=>h!==void 0).map(([d,h])=>`${d.toLowerCase()}=${h}`).join(", ");return open(n,l,u),Promise.resolve()}const r=Cl(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&&b7(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const s=gB();if(!i&&s)return e!=null&&e.replace?typeof t=="string"?{path:t,replace:!0}:{...t,replace:!0}:t;const o=Ra(),a=oi();return i?(a._scope.stop(),e!=null&&e.replace?location.replace(n):location.href=n,s?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):e!=null&&e.replace?o.replace(t):o.push(t)};function $x(t){return Ad(t.path||"",t.query||{})+(t.hash||"")}const oM="__nuxt_error",kk=()=>WR(oi().payload,"error"),vB=t=>{const e=t0(t);try{const n=oi(),r=kk();n.hooks.callHook("app:error",e),r.value=r.value||e}catch{throw e}return e},yB=async(t={})=>{const e=oi(),n=kk();e.callHook("app:error:cleared",t),t.redirect&&await Ra().replace(t.redirect),n.value=eB},bB=t=>!!t&&typeof t=="object"&&oM in t,t0=t=>{const e=hB(t);return Object.defineProperty(e,oM,{value:!0,configurable:!1,writable:!1}),e};function SC(t){const e=xB(t),n=new ArrayBuffer(e.length),r=new DataView(n);for(let i=0;i<n.byteLength;i++)r.setUint8(i,e.charCodeAt(i));return n}const wB="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function xB(t){t.length%4===0&&(t=t.replace(/==?$/,""));let e="",n=0,r=0;for(let i=0;i<t.length;i++)n<<=6,n|=wB.indexOf(t[i]),r+=6,r===24&&(e+=String.fromCharCode((n&16711680)>>16),e+=String.fromCharCode((n&65280)>>8),e+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,e+=String.fromCharCode(n)):r===18&&(n>>=2,e+=String.fromCharCode((n&65280)>>8),e+=String.fromCharCode(n&255)),e}const _B=-1,jB=-2,kB=-3,SB=-4,CB=-5,EB=-6;function OB(t,e){return AB(JSON.parse(t),e)}function AB(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(s,o=!1){if(s===_B)return;if(s===kB)return NaN;if(s===SB)return 1/0;if(s===CB)return-1/0;if(s===EB)return-0;if(o)throw new Error("Invalid input");if(s in r)return r[s];const a=n[s];if(!a||typeof a!="object")r[s]=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[s]=c(i(a[1]));switch(l){case"Date":r[s]=new Date(a[1]);break;case"Set":const u=new Set;r[s]=u;for(let p=1;p<a.length;p+=1)u.add(i(a[p]));break;case"Map":const d=new Map;r[s]=d;for(let p=1;p<a.length;p+=2)d.set(i(a[p]),i(a[p+1]));break;case"RegExp":r[s]=new RegExp(a[1],a[2]);break;case"Object":r[s]=Object(a[1]);break;case"BigInt":r[s]=BigInt(a[1]);break;case"null":const h=Object.create(null);r[s]=h;for(let p=1;p<a.length;p+=2)h[a[p]]=i(a[p+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const p=globalThis[l],m=a[1],b=SC(m),g=new p(b);r[s]=g;break}case"ArrayBuffer":{const p=a[1],m=SC(p);r[s]=m;break}default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);r[s]=l;for(let c=0;c<a.length;c+=1){const u=a[c];u!==jB&&(l[c]=i(u))}}else{const l={};r[s]=l;for(const c in a){const u=a[c];l[c]=i(u)}}return r[s]}return i(0)}const TB=new Set(["title","titleTemplate","script","style","noscript"]),jv=new Set(["base","meta","link","style","script","noscript"]),PB=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),RB=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),aM=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),$B=typeof window<"u";function hy(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 Mx(t){if(t._h)return t._h;if(t._d)return hy(t._d);let e=`${t.tag}:${t.textContent||t.innerHTML||""}:`;for(const n in t.props)e+=`${n}:${String(t.props[n])},`;return hy(e)}function MB(t,e){return t instanceof Promise?t.then(e):e(t)}function Ix(t,e,n,r){const i=r||cM(typeof e=="object"&&typeof e!="function"&&!(e instanceof Promise)?{...e}:{[t==="script"||t==="noscript"||t==="style"?"innerHTML":"textContent"]:e},t==="templateParams"||t==="titleTemplate");if(i instanceof Promise)return i.then(o=>Ix(t,e,n,o));const s={tag:t,props:i};for(const o of aM){const a=s.props[o]!==void 0?s.props[o]:n[o];a!==void 0&&((!(o==="innerHTML"||o==="textContent"||o==="children")||TB.has(s.tag))&&(s[o==="children"?"innerHTML":o]=a),delete s.props[o])}return s.props.body&&(s.tagPosition="bodyClose",delete s.props.body),s.tag==="script"&&typeof s.innerHTML=="object"&&(s.innerHTML=JSON.stringify(s.innerHTML),s.props.type=s.props.type||"application/json"),Array.isArray(s.props.content)?s.props.content.map(o=>({...s,props:{...s.props,content:o}})):s}function IB(t,e){var r;const n=t==="class"?" ":";";return e&&typeof e=="object"&&!Array.isArray(e)&&(e=Object.entries(e).filter(([,i])=>i).map(([i,s])=>t==="style"?`${i}:${s}`:i)),(r=String(Array.isArray(e)?e.join(n):e))==null?void 0:r.split(n).filter(i=>!!i.trim()).join(n)}function lM(t,e,n,r){for(let i=r;i<n.length;i+=1){const s=n[i];if(s==="class"||s==="style"){t[s]=IB(s,t[s]);continue}if(t[s]instanceof Promise)return t[s].then(o=>(t[s]=o,lM(t,e,n,i)));if(!e&&!aM.has(s)){const o=String(t[s]),a=s.startsWith("data-");o==="true"||o===""?t[s]=a?"true":!0:t[s]||(a&&o==="false"?t[s]="false":delete t[s])}}}function cM(t,e=!1){const n=lM(t,e,Object.keys(t),0);return n instanceof Promise?n.then(()=>t):t}const NB=10;function uM(t,e,n){for(let r=n;r<e.length;r+=1){const i=e[r];if(i instanceof Promise)return i.then(s=>(e[r]=s,uM(t,e,r)));Array.isArray(i)?t.push(...i):t.push(i)}}function LB(t){const e=[],n=t.resolvedInput;for(const i in n){if(!Object.prototype.hasOwnProperty.call(n,i))continue;const s=n[i];if(!(s===void 0||!PB.has(i))){if(Array.isArray(s)){for(const o of s)e.push(Ix(i,o,t));continue}e.push(Ix(i,s,t))}}if(e.length===0)return[];const r=[];return MB(uM(r,e,0),()=>r.map((i,s)=>(i._e=t._i,t.mode&&(i._m=t.mode),i._p=(t._i<<NB)+s,i)))}const CC=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),EC={base:-10,title:10},OC={critical:-80,high:-10,low:20};function py(t){const e=t.tagPriority;if(typeof e=="number")return e;let n=100;return t.tag==="meta"?t.props["http-equiv"]==="content-security-policy"?n=-30:t.props.charset?n=-20:t.props.name==="viewport"&&(n=-15):t.tag==="link"&&t.props.rel==="preconnect"?n=20:t.tag in EC&&(n=EC[t.tag]),e&&e in OC?n+OC[e]:n}const DB=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],zB=["name","property","http-equiv"];function dM(t){const{props:e,tag:n}=t;if(RB.has(n))return n;if(n==="link"&&e.rel==="canonical")return"canonical";if(e.charset)return"charset";if(e.id)return`${n}:id:${e.id}`;for(const r of zB)if(e[r]!==void 0)return`${n}:${r}:${e[r]}`;return!1}const Fl="%separator";function BB(t,e,n=!1){var i;let r;if(e==="s"||e==="pageTitle")r=t.pageTitle;else if(e.includes(".")){const s=e.indexOf(".");r=(i=t[e.substring(0,s)])==null?void 0:i[e.substring(s+1)]}else r=t[e];if(r!==void 0)return n?(r||"").replace(/"/g,'\\"'):r||""}const FB=new RegExp(`${Fl}(?:\\s*${Fl})*`,"g");function Rm(t,e,n,r=!1){if(typeof t!="string"||!t.includes("%"))return t;let i=t;try{i=decodeURI(t)}catch{}const s=i.match(/%\w+(?:\.\w+)?/g);if(!s)return t;const o=t.includes(Fl);return t=t.replace(/%\w+(?:\.\w+)?/g,a=>{if(a===Fl||!s.includes(a))return a;const l=BB(e,a.slice(1),r);return l!==void 0?l:a}).trim(),o&&(t.endsWith(Fl)&&(t=t.slice(0,-Fl.length)),t.startsWith(Fl)&&(t=t.slice(Fl.length)),t=t.replace(FB,n).trim()),t}function AC(t,e){return t==null?e||null:typeof t=="function"?t(e):t}async function fM(t,e={}){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 t._domUpdatePromise||(t._domUpdatePromise=new Promise(async i=>{var d;const s=(await t.resolveTags()).map(h=>({tag:h,id:jv.has(h.tag)?Mx(h):h.tag,shouldRender:!0}));let o=t._dom;if(!o){o={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};const h=new Set;for(const p of["body","head"]){const m=(d=n[p])==null?void 0:d.children;for(const b of m){const g=b.tagName.toLowerCase();if(!jv.has(g))continue;const v={tag:g,props:await cM(b.getAttributeNames().reduce((_,j)=>({..._,[j]:b.getAttribute(j)}),{})),innerHTML:b.innerHTML},y=dM(v);let w=y,x=1;for(;w&&h.has(w);)w=`${y}:${x++}`;w&&(v._d=w,h.add(w)),o.elMap[b.getAttribute("data-hid")||Mx(v)]=b}}}o.pendingSideEffects={...o.sideEffects},o.sideEffects={};function a(h,p,m){const b=`${h}:${p}`;o.sideEffects[b]=m,delete o.pendingSideEffects[b]}function l({id:h,$el:p,tag:m}){const b=m.tag.endsWith("Attrs");if(o.elMap[h]=p,b||(m.textContent&&m.textContent!==p.textContent&&(p.textContent=m.textContent),m.innerHTML&&m.innerHTML!==p.innerHTML&&(p.innerHTML=m.innerHTML),a(h,"el",()=>{var g;(g=o.elMap[h])==null||g.remove(),delete o.elMap[h]})),m._eventHandlers)for(const g in m._eventHandlers)Object.prototype.hasOwnProperty.call(m._eventHandlers,g)&&p.getAttribute(`data-${g}`)!==""&&((m.tag==="bodyAttrs"?n.defaultView:p).addEventListener(g.substring(2),m._eventHandlers[g].bind(p)),p.setAttribute(`data-${g}`,""));for(const g in m.props){if(!Object.prototype.hasOwnProperty.call(m.props,g))continue;const v=m.props[g],y=`attr:${g}`;if(g==="class"){if(!v)continue;for(const w of v.split(" "))b&&a(h,`${y}:${w}`,()=>p.classList.remove(w)),!p.classList.contains(w)&&p.classList.add(w)}else if(g==="style"){if(!v)continue;for(const w of v.split(";")){const x=w.indexOf(":"),_=w.substring(0,x).trim(),j=w.substring(x+1).trim();a(h,`${y}:${_}`,()=>{p.style.removeProperty(_)}),p.style.setProperty(_,j)}}else p.getAttribute(g)!==v&&p.setAttribute(g,v===!0?"":String(v)),b&&a(h,y,()=>p.removeAttribute(g))}}const c=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const h of s){const{tag:p,shouldRender:m,id:b}=h;if(m){if(p.tag==="title"){n.title=p.textContent;continue}h.$el=h.$el||o.elMap[b],h.$el?l(h):jv.has(p.tag)&&c.push(h)}}for(const h of c){const p=h.tag.tagPosition||"head";h.$el=n.createElement(h.tag.tag),l(h),u[p]=u[p]||n.createDocumentFragment(),u[p].appendChild(h.$el)}for(const h of s)await t.hooks.callHook("dom:renderTag",h,n,a);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose);for(const h in o.pendingSideEffects)o.pendingSideEffects[h]();t._dom=o,await t.hooks.callHook("dom:rendered",{renders:s}),i()}).finally(()=>{t._domUpdatePromise=void 0,t.dirty=!1})),t._domUpdatePromise}function VB(t,e={}){const n=e.delayFn||(r=>setTimeout(r,10));return t._domDebouncedUpdatePromise=t._domDebouncedUpdatePromise||new Promise(r=>n(()=>fM(t,e).then(()=>{delete t._domDebouncedUpdatePromise,r()})))}function qB(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":s=>{VB(s,t)}}}}}const HB=new Set(["templateParams","htmlAttrs","bodyAttrs"]),UB={hooks:{"tag:normalise":({tag:t})=>{t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),t.props.key&&(t.key=t.props.key,delete t.props.key);const e=dM(t);e&&!e.startsWith("meta:og:")&&!e.startsWith("meta:twitter:")&&delete t.key;const n=e||(t.key?`${t.tag}:${t.key}`:!1);n&&(t._d=n)},"tags:resolve":t=>{const e=Object.create(null);for(const r of t.tags){const i=(r.key?`${r.tag}:${r.key}`:r._d)||Mx(r),s=e[i];if(s){let a=r==null?void 0:r.tagDuplicateStrategy;if(!a&&HB.has(r.tag)&&(a="merge"),a==="merge"){const l=s.props;l.style&&r.props.style&&(l.style[l.style.length-1]!==";"&&(l.style+=";"),r.props.style=`${l.style} ${r.props.style}`),l.class&&r.props.class?r.props.class=`${l.class} ${r.props.class}`:l.class&&(r.props.class=l.class),e[i].props={...l,...r.props};continue}else if(r._e===s._e){s._duped=s._duped||[],r._d=`${s._d}:${s._duped.length+1}`,s._duped.push(r);continue}else if(py(r)>py(s))continue}if(!(r.innerHTML||r.textContent||Object.keys(r.props).length!==0)&&jv.has(r.tag)){delete e[i];continue}e[i]=r}const n=[];for(const r in e){const i=e[r],s=i._duped;n.push(i),s&&(delete i._duped,n.push(...s))}t.tags=n,t.tags=t.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},WB=new Set(["script","link","bodyAttrs"]),GB=t=>({hooks:{"tags:resolve":e=>{for(const n of e.tags){if(!WB.has(n.tag))continue;const r=n.props;for(const i in r){if(i[0]!=="o"||i[1]!=="n"||!Object.prototype.hasOwnProperty.call(r,i))continue;const s=r[i];typeof s=="function"&&(t.ssr&&CC.has(i)?r[i]=`this.dataset.${i}fired = true`:delete r[i],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[i]=s)}t.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||hy(n.props.src||n.props.href))}},"dom:renderTag":({$el:e,tag:n})=>{var i,s;const r=e==null?void 0:e.dataset;if(r)for(const o in r){if(!o.endsWith("fired"))continue;const a=o.slice(0,-5);CC.has(a)&&((s=(i=n._eventHandlers)==null?void 0:i[a])==null||s.call(e,new Event(a.substring(2))))}}}}),KB=new Set(["link","style","script","noscript"]),JB={hooks:{"tag:normalise":({tag:t})=>{t.key&&KB.has(t.tag)&&(t.props["data-hid"]=t._h=hy(t.key))}}},YB={mode:"server",hooks:{"tags:beforeResolve":t=>{const e={};let n=!1;for(const r of t.tags)r._m!=="server"||r.tag!=="titleTemplate"&&r.tag!=="templateParams"&&r.tag!=="title"||(e[r.tag]=r.tag==="title"||r.tag==="titleTemplate"?r.textContent:r.props,n=!0);n&&t.tags.push({tag:"script",innerHTML:JSON.stringify(e),props:{id:"unhead:payload",type:"application/json"}})}}},QB={hooks:{"tags:resolve":t=>{var e;for(const n of t.tags)if(typeof n.tagPriority=="string")for(const{prefix:r,offset:i}of DB){if(!n.tagPriority.startsWith(r))continue;const s=n.tagPriority.substring(r.length),o=(e=t.tags.find(a=>a._d===s))==null?void 0:e._p;if(o!==void 0){n._p=o+i;break}}t.tags.sort((n,r)=>{const i=py(n),s=py(r);return i<s?-1:i>s?1:n._p-r._p})}}},XB={meta:"content",link:"href",htmlAttrs:"lang"},ZB=["innerHTML","textContent"],eF=t=>({hooks:{"tags:resolve":e=>{var o;const{tags:n}=e;let r;for(let a=0;a<n.length;a+=1)n[a].tag==="templateParams"&&(r=e.tags.splice(a,1)[0].props,a-=1);const i=r||{},s=i.separator||"|";delete i.separator,i.pageTitle=Rm(i.pageTitle||((o=n.find(a=>a.tag==="title"))==null?void 0:o.textContent)||"",i,s);for(const a of n){if(a.processTemplateParams===!1)continue;const l=XB[a.tag];if(l&&typeof a.props[l]=="string")a.props[l]=Rm(a.props[l],i,s);else if(a.processTemplateParams||a.tag==="titleTemplate"||a.tag==="title")for(const c of ZB)typeof a[c]=="string"&&(a[c]=Rm(a[c],i,s,a.tag==="script"&&a.props.type.endsWith("json")))}t._templateParams=i,t._separator=s},"tags:afterResolve":({tags:e})=>{let n;for(let r=0;r<e.length;r+=1){const i=e[r];i.tag==="title"&&i.processTemplateParams!==!1&&(n=i)}n!=null&&n.textContent&&(n.textContent=Rm(n.textContent,t._templateParams,t._separator))}}}),tF={hooks:{"tags:resolve":t=>{const{tags:e}=t;let n,r;for(let i=0;i<e.length;i+=1){const s=e[i];s.tag==="title"?n=s:s.tag==="titleTemplate"&&(r=s)}if(r&&n){const i=AC(r.textContent,n.textContent);i!==null?n.textContent=i||n.textContent:t.tags.splice(t.tags.indexOf(n),1)}else if(r){const i=AC(r.textContent);i!==null&&(r.textContent=i,r.tag="title",r=void 0)}r&&t.tags.splice(t.tags.indexOf(r),1)}}},nF={hooks:{"tags:afterResolve":t=>{for(const e of t.tags)typeof e.innerHTML=="string"&&(e.innerHTML&&(e.props.type==="application/ld+json"||e.props.type==="application/json")?e.innerHTML=e.innerHTML.replace(/</g,"\\u003C"):e.innerHTML=e.innerHTML.replace(new RegExp(`</${e.tag}`,"g"),`<\\/${e.tag}`))}}};let hM;function rF(t={}){const e=iF(t);return e.use(qB()),hM=e}function TC(t,e){return!t||t==="server"&&e||t==="client"&&!e}function iF(t={}){const e=Y$();e.addHooks(t.hooks||{}),t.document=t.document||($B?document:void 0);const n=!t.document,r=()=>{a.dirty=!0,e.callHook("entries:updated",a)};let i=0,s=[];const o=[],a={plugins:o,dirty:!1,resolvedOptions:t,hooks:e,headEntries(){return s},use(l){const c=typeof l=="function"?l(a):l;(!c.key||!o.some(u=>u.key===c.key))&&(o.push(c),TC(c.mode,n)&&e.addHooks(c.hooks||{}))},push(l,c){c==null||delete c.head;const u={_i:i++,input:l,...c};return TC(u.mode,n)&&(s.push(u),r()),{dispose(){s=s.filter(d=>d._i!==u._i),r()},patch(d){for(const h of s)h._i===u._i&&(h.input=u.input=d);r()}}},async resolveTags(){const l={tags:[],entries:[...s]};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 d of await LB(c)){const h={tag:d,entry:c,resolvedOptions:a.resolvedOptions};await e.callHook("tag:normalise",h),l.tags.push(h.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[UB,YB,GB,JB,QB,eF,tF,nF,...(t==null?void 0:t.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function sF(){return hM}const oF=$$[0]==="3";function aF(t){return typeof t=="function"?t():Se(t)}function my(t){if(t instanceof Promise||t instanceof Date||t instanceof RegExp)return t;const e=aF(t);if(!t||!e)return e;if(Array.isArray(e))return e.map(n=>my(n));if(typeof e=="object"){const n={};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(r==="titleTemplate"||r[0]==="o"&&r[1]==="n"){n[r]=Se(e[r]);continue}n[r]=my(e[r])}return n}return e}const lF={hooks:{"entries:resolve":t=>{for(const e of t.entries)e.resolvedInput=my(e.input)}}},pM="usehead";function cF(t){return{install(n){oF&&(n.config.globalProperties.$unhead=t,n.config.globalProperties.$head=t,n.provide(pM,t))}}.install}function uF(t={}){t.domDelayFn=t.domDelayFn||(n=>Ac(()=>setTimeout(()=>n(),0)));const e=rF(t);return e.use(lF),e.install=cF(e),e}const Nx=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Lx="__unhead_injection_handler__";function dF(t){Nx[Lx]=t}function fF(){return Lx in Nx?Nx[Lx]():fu(pM)||sF()}function Dx(t,e={}){const n=e.head||fF();if(n)return n.ssr?n.push(t,e):hF(n,t,e)}function hF(t,e,n={}){const r=Zt(!1),i=Zt({});Yb(()=>{i.value=r.value?{}:my(e)});const s=t.push(i.value,n);return bi(i,a=>{s.patch(a)}),Sl()&&(pk(()=>{s.dispose()}),XR(()=>{r.value=!0}),QR(()=>{r.value=!1})),s}const pF="modulepreload",mF=function(t,e){return new URL(t,e).href},PC={},J=function(e,n,r){let i=Promise.resolve();if(n&&n.length>0){const o=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));i=Promise.allSettled(n.map(c=>{if(c=mF(c,r),c in PC)return;PC[c]=!0;const u=c.endsWith(".css"),d=u?'[rel="stylesheet"]':"";if(!!r)for(let m=o.length-1;m>=0;m--){const b=o[m];if(b.href===c&&(!u||b.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${d}`))return;const p=document.createElement("link");if(p.rel=u?"stylesheet":pF,u||(p.as="script"),p.crossOrigin="",p.href=c,l&&p.setAttribute("nonce",l),document.head.appendChild(p),u)return new Promise((m,b)=>{p.addEventListener("load",m),p.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${c}`)))})}))}function s(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return i.then(o=>{for(const a of o||[])a.status==="rejected"&&s(a.reason);return e().catch(s)})};let kv,Sv;function gF(){return kv=$fetch(jk(`builds/meta/${tf().app.buildId}.json`),{responseType:"json"}),kv.then(t=>{Sv=uB(t.matcher)}).catch(t=>{console.error("[nuxt] Error fetching app manifest.",t)}),kv}function n0(){return kv||gF()}async function Sk(t){const e=typeof t=="string"?t:t.path;if(await n0(),!Sv)return console.error("[nuxt] Error creating app manifest matcher.",Sv),{};try{return fy({},...Sv.matchAll(e).reverse())}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function RC(t,e={}){const n=await yF(t,e),r=oi(),i=r._payloadCache=r._payloadCache||{};return n in i?i[n]||null:(i[n]=gM(t).then(s=>s?mM(n).then(o=>o||(delete i[n],null)):(i[n]=null,null)),i[n])}const vF="_payload.json";async function yF(t,e={}){const n=new URL(t,"http://localhost");if(n.host!=="localhost"||Cl(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+t);const r=tf(),i=e.hash||(e.fresh?Date.now():r.app.buildId),s=r.app.cdnURL,o=s&&await gM(t)?s:r.app.baseURL;return hc(o,n.pathname,vF+(i?`?${i}`:""))}async function mM(t){const e=fetch(t).then(n=>n.text().then(vM));try{return await e}catch(n){console.warn("[nuxt] Cannot load payload ",t,n)}return null}async function gM(t=iM().path){const e=oi();return t=e0(t),(await n0()).prerendered.includes(t)?!0:e.runWithContext(async()=>{const r=await Sk({path:t});return!!r.prerender&&!r.redirect})}let Fc=null;async function bF(){var r;if(Fc)return Fc;const t=document.getElementById("__NUXT_DATA__");if(!t)return{};const e=await vM(t.textContent||""),n=t.dataset.src?await mM(t.dataset.src):void 0;return Fc={...e,...n,...window.__NUXT__},(r=Fc.config)!=null&&r.public&&(Fc.config.public=dc(Fc.config.public)),Fc}async function vM(t){return await OB(t,oi()._payloadRevivers)}function wF(t,e){oi()._payloadRevivers[t]=e}const yM=[["NuxtError",t=>t0(t)],["EmptyShallowRef",t=>Xv(t==="_"?void 0:t==="0n"?BigInt(0):oy(t))],["EmptyRef",t=>Zt(t==="_"?void 0:t==="0n"?BigInt(0):oy(t))],["ShallowRef",t=>Xv(t)],["ShallowReactive",t=>dd(t)],["Ref",t=>Zt(t)],["Reactive",t=>dc(t)]];yM.push(["Island",({key:t,params:e,result:n})=>{const r=oi();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:"",...n}}]);const xF=Va({name:"nuxt:revive-payload:client",order:-30,async setup(t){let e,n;for(const[r,i]of yM)wF(r,i);Object.assign(t.payload,([e,n]=Q$(()=>t.runWithContext(bF)),e=await e,n(),e)),window.__NUXT__=t.payload}}),_F=[],jF=Va({name:"nuxt:head",enforce:"pre",setup(t){const e=uF({plugins:_F});dF(()=>oi().vueApp._context.provides.usehead),t.vueApp.use(e);{let n=!0;const r=async()=>{n=!1,await fM(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)}}}),kF=async t=>{let e,n;const r=([e,n]=Q$(()=>Sk({path:t.path})),e=await e,n(),e);if(r.redirect)return Cl(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},SF=[kF];function M1(t){typeof t=="object"&&(t=W$({pathname:t.path||"",search:z$(t.query||{}),hash:t.hash||""}));const e=new URL(t.toString(),window.location.href);return{path:e.pathname,fullPath:t,query:_k(e.search),hash:e.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:t}}const CF=Va({name:"nuxt:router",enforce:"pre",setup(t){const e=x7(window.location.pathname,tf().app.baseURL)+window.location.search+window.location.hash,n=[],r={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},i=(d,h)=>(r[d].push(h),()=>r[d].splice(r[d].indexOf(h),1)),s=tf().app.baseURL,o=dc(M1(e));async function a(d,h){try{const p=M1(d);for(const m of r["navigate:before"]){const b=await m(p,o);if(b===!1||b instanceof Error)return;if(typeof b=="string"&&b.length)return a(b,!0)}for(const m of r["resolve:before"])await m(p,o);Object.assign(o,p),window.history[h?"replaceState":"pushState"]({},"",hc(s,p.fullPath)),t.isHydrating||await t.runWithContext(yB);for(const m of r["navigate:after"])await m(p,o)}catch(p){for(const m of r.error)await m(p)}}const c={currentRoute:mn(()=>o),isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:d=>a(d,!1),replace:d=>a(d,!0),back:()=>window.history.go(-1),go:d=>window.history.go(d),forward:()=>window.history.go(1),beforeResolve:d=>i("resolve:before",d),beforeEach:d=>i("navigate:before",d),afterEach:d=>i("navigate:after",d),onError:d=>i("error",d),resolve:M1,addRoute:(d,h)=>{n.push(h)},getRoutes:()=>n,hasRoute:d=>n.some(h=>h.name===d),removeRoute:d=>{const h=n.findIndex(p=>p.name===d);h!==-1&&n.splice(h,1)}};t.vueApp.component("RouterLink",Ri({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(d,{slots:h})=>{const p=()=>a(d.to,d.replace);return()=>{var b;const m=c.resolve(d.to);return d.custom?(b=h.default)==null?void 0:b.call(h,{href:d.to,navigate:p,route:m}):ef("a",{href:d.to,onClick:g=>(g.preventDefault(),p())},h)}}})),window.addEventListener("popstate",d=>{const h=d.target.location;c.replace(h.href.replace(h.origin,""))}),t._route=o,t._middleware=t._middleware||{global:[],named:{}};const u=t.payload.state._layout;return t.hooks.hookOnce("app:created",async()=>{c.beforeEach(async(d,h)=>{d.meta=dc(d.meta||{}),t.isHydrating&&u&&!fc(d.meta.layout)&&(d.meta.layout=u),t._processingMiddleware=!0;{const p=new Set([...SF,...t._middleware.global]);{const m=await t.runWithContext(()=>Sk({path:d.path}));if(m.appMiddleware)for(const b in m.appMiddleware){const g=t._middleware.named[b];if(!g)return;m.appMiddleware[b]?p.add(g):p.delete(g)}}for(const m of p){const b=await t.runWithContext(()=>m(d,h));if(b!==!0&&(b||b===!1))return b}}}),c.afterEach(()=>{delete t._processingMiddleware}),await c.replace(e),k7(o.fullPath,e)||await t.runWithContext(()=>sM(o.fullPath))}),{provide:{route:o,router:c}}}}),zx=globalThis.requestIdleCallback||(t=>{const e=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-e))};return setTimeout(()=>{t(n)},1)}),EF=globalThis.cancelIdleCallback||(t=>{clearTimeout(t)}),r0=t=>{const e=oi();e.isHydrating?e.hooks.hookOnce("app:suspense:resolve",()=>{zx(()=>t())}):zx(()=>t())},OF=Va({name:"nuxt:payload",setup(t){Ra().beforeResolve(async(e,n)=>{if(e.path===n.path)return;const r=await RC(e.path);r&&Object.assign(t.static.data,r.data)}),r0(()=>{var e;t.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await RC(n)}),((e=navigator.connection)==null?void 0:e.effectiveType)!=="slow-2g"&&setTimeout(n0,1e3)})}}),AF=Va(()=>{const t=Ra();r0(()=>{t.beforeResolve(async()=>{await new Promise(e=>{setTimeout(e,100),requestAnimationFrame(()=>{setTimeout(e,0)})})})})}),TF=Va(t=>{let e;async function n(){const r=await n0();e&&clearTimeout(e),e=setTimeout(n,_C);try{const i=await $fetch(jk("builds/latest.json")+`?${Date.now()}`);i.id!==r.id&&t.hooks.callHook("app:manifest:update",i)}catch{}}r0(()=>{e=setTimeout(n,_C)})});function PF(t={}){const e=t.path||window.location.pathname;let n={};try{n=oy(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:oi().payload.state}))}catch{}window.location.pathname!==e?window.location.href=e:window.location.reload()}}const RF=Va({name:"nuxt:chunk-reload",setup(t){const e=Ra(),n=tf(),r=new Set;e.beforeEach(()=>{r.clear()}),t.hook("app:chunkError",({error:s})=>{r.add(s)});function i(s){const a="href"in s&&s.href[0]==="#"?n.app.baseURL+s.href:hc(n.app.baseURL,s.fullPath);PF({path:a,persistState:!0})}t.hook("app:manifest:update",()=>{e.beforeResolve(i)}),e.onError((s,o)=>{r.has(s)&&i(o)})}}),$F=Va({name:"nuxt:global-components"}),MF=Va(()=>{}),IF=["top","right","bottom","left"],$C=["start","end"],MC=IF.reduce((t,e)=>t.concat(e,e+"-"+$C[0],e+"-"+$C[1]),[]),Jh=Math.min,Qc=Math.max,NF={left:"right",right:"left",bottom:"top",top:"bottom"},LF={start:"end",end:"start"};function Bx(t,e,n){return Qc(t,Jh(e,n))}function Du(t,e){return typeof t=="function"?t(e):t}function $a(t){return t.split("-")[0]}function Bo(t){return t.split("-")[1]}function bM(t){return t==="x"?"y":"x"}function Ck(t){return t==="y"?"height":"width"}function xu(t){return["top","bottom"].includes($a(t))?"y":"x"}function Ek(t){return bM(xu(t))}function wM(t,e,n){n===void 0&&(n=!1);const r=Bo(t),i=Ek(t),s=Ck(i);let o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(o=vy(o)),[o,vy(o)]}function DF(t){const e=vy(t);return[gy(t),e,gy(e)]}function gy(t){return t.replace(/start|end/g,e=>LF[e])}function zF(t,e,n){const r=["left","right"],i=["right","left"],s=["top","bottom"],o=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:r:e?r:i;case"left":case"right":return e?s:o;default:return[]}}function BF(t,e,n,r){const i=Bo(t);let s=zF($a(t),n==="start",r);return i&&(s=s.map(o=>o+"-"+i),e&&(s=s.concat(s.map(gy)))),s}function vy(t){return t.replace(/left|right|bottom|top/g,e=>NF[e])}function FF(t){return{top:0,right:0,bottom:0,left:0,...t}}function xM(t){return typeof t!="number"?FF(t):{top:t,right:t,bottom:t,left:t}}function Eh(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 IC(t,e,n){let{reference:r,floating:i}=t;const s=xu(e),o=Ek(e),a=Ck(o),l=$a(e),c=s==="y",u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,h=r[a]/2-i[a]/2;let p;switch(l){case"top":p={x:u,y:r.y-i.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:d};break;case"left":p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(Bo(e)){case"start":p[o]-=h*(n&&c?-1:1);break;case"end":p[o]+=h*(n&&c?-1:1);break}return p}const VF=async(t,e,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:s=[],platform:o}=n,a=s.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(e));let c=await o.getElementRects({reference:t,floating:e,strategy:i}),{x:u,y:d}=IC(c,r,l),h=r,p={},m=0;for(let b=0;b<a.length;b++){const{name:g,fn:v}=a[b],{x:y,y:w,data:x,reset:_}=await v({x:u,y:d,initialPlacement:r,placement:h,strategy:i,middlewareData:p,rects:c,platform:o,elements:{reference:t,floating:e}});u=y??u,d=w??d,p={...p,[g]:{...p[g],...x}},_&&m<=50&&(m++,typeof _=="object"&&(_.placement&&(h=_.placement),_.rects&&(c=_.rects===!0?await o.getElementRects({reference:t,floating:e,strategy:i}):_.rects),{x:u,y:d}=IC(c,h,l)),b=-1)}return{x:u,y:d,placement:h,strategy:i,middlewareData:p}};async function i0(t,e){var n;e===void 0&&(e={});const{x:r,y:i,platform:s,rects:o,elements:a,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:h=!1,padding:p=0}=Du(e,t),m=xM(p),g=a[h?d==="floating"?"reference":"floating":d],v=Eh(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(g)))==null||n?g:g.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),y=d==="floating"?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,w=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),x=await(s.isElement==null?void 0:s.isElement(w))?await(s.getScale==null?void 0:s.getScale(w))||{x:1,y:1}:{x:1,y:1},_=Eh(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:w,strategy:l}):y);return{top:(v.top-_.top+m.top)/x.y,bottom:(_.bottom-v.bottom+m.bottom)/x.y,left:(v.left-_.left+m.left)/x.x,right:(_.right-v.right+m.right)/x.x}}const qF=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:i,rects:s,platform:o,elements:a,middlewareData:l}=e,{element:c,padding:u=0}=Du(t,e)||{};if(c==null)return{};const d=xM(u),h={x:n,y:r},p=Ek(i),m=Ck(p),b=await o.getDimensions(c),g=p==="y",v=g?"top":"left",y=g?"bottom":"right",w=g?"clientHeight":"clientWidth",x=s.reference[m]+s.reference[p]-h[p]-s.floating[m],_=h[p]-s.reference[p],j=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c));let k=j?j[w]:0;(!k||!await(o.isElement==null?void 0:o.isElement(j)))&&(k=a.floating[w]||s.floating[m]);const T=x/2-_/2,C=k/2-b[m]/2-1,I=Jh(d[v],C),z=Jh(d[y],C),D=I,K=k-b[m]-z,de=k/2-b[m]/2+T,X=Bx(D,de,K),Q=!l.arrow&&Bo(i)!=null&&de!==X&&s.reference[m]/2-(de<D?I:z)-b[m]/2<0,ce=Q?de<D?de-D:de-K:0;return{[p]:h[p]+ce,data:{[p]:X,centerOffset:de-X-ce,...Q&&{alignmentOffset:ce}},reset:Q}}});function HF(t,e,n){return(t?[...n.filter(i=>Bo(i)===t),...n.filter(i=>Bo(i)!==t)]:n.filter(i=>$a(i)===i)).filter(i=>t?Bo(i)===t||(e?gy(i)!==i:!1):!0)}const UF=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,r,i;const{rects:s,middlewareData:o,placement:a,platform:l,elements:c}=e,{crossAxis:u=!1,alignment:d,allowedPlacements:h=MC,autoAlignment:p=!0,...m}=Du(t,e),b=d!==void 0||h===MC?HF(d||null,p,h):h,g=await i0(e,m),v=((n=o.autoPlacement)==null?void 0:n.index)||0,y=b[v];if(y==null)return{};const w=wM(y,s,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==y)return{reset:{placement:b[0]}};const x=[g[$a(y)],g[w[0]],g[w[1]]],_=[...((r=o.autoPlacement)==null?void 0:r.overflows)||[],{placement:y,overflows:x}],j=b[v+1];if(j)return{data:{index:v+1,overflows:_},reset:{placement:j}};const k=_.map(I=>{const z=Bo(I.placement);return[I.placement,z&&u?I.overflows.slice(0,2).reduce((D,K)=>D+K,0):I.overflows[0],I.overflows]}).sort((I,z)=>I[1]-z[1]),C=((i=k.filter(I=>I[2].slice(0,Bo(I[0])?2:3).every(z=>z<=0))[0])==null?void 0:i[0])||k[0][0];return C!==a?{data:{index:v+1,overflows:_},reset:{placement:C}}:{}}}},WF=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:i,middlewareData:s,rects:o,initialPlacement:a,platform:l,elements:c}=e,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:b=!0,...g}=Du(t,e);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const v=$a(i),y=xu(a),w=$a(a)===a,x=await(l.isRTL==null?void 0:l.isRTL(c.floating)),_=h||(w||!b?[vy(a)]:DF(a)),j=m!=="none";!h&&j&&_.push(...BF(a,b,m,x));const k=[a,..._],T=await i0(e,g),C=[];let I=((r=s.flip)==null?void 0:r.overflows)||[];if(u&&C.push(T[v]),d){const de=wM(i,o,x);C.push(T[de[0]],T[de[1]])}if(I=[...I,{placement:i,overflows:C}],!C.every(de=>de<=0)){var z,D;const de=(((z=s.flip)==null?void 0:z.index)||0)+1,X=k[de];if(X)return{data:{index:de,overflows:I},reset:{placement:X}};let Q=(D=I.filter(ce=>ce.overflows[0]<=0).sort((ce,Z)=>ce.overflows[1]-Z.overflows[1])[0])==null?void 0:D.placement;if(!Q)switch(p){case"bestFit":{var K;const ce=(K=I.filter(Z=>{if(j){const le=xu(Z.placement);return le===y||le==="y"}return!0}).map(Z=>[Z.placement,Z.overflows.filter(le=>le>0).reduce((le,te)=>le+te,0)]).sort((Z,le)=>Z[1]-le[1])[0])==null?void 0:K[0];ce&&(Q=ce);break}case"initialPlacement":Q=a;break}if(i!==Q)return{reset:{placement:Q}}}return{}}}};async function GF(t,e){const{placement:n,platform:r,elements:i}=t,s=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=$a(n),a=Bo(n),l=xu(n)==="y",c=["left","top"].includes(o)?-1:1,u=s&&l?-1:1,d=Du(e,t);let{mainAxis:h,crossAxis:p,alignmentAxis:m}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof m=="number"&&(p=a==="end"?m*-1:m),l?{x:p*u,y:h*c}:{x:h*c,y:p*u}}const KF=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:i,y:s,placement:o,middlewareData:a}=e,l=await GF(e,t);return o===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:s+l.y,data:{...l,placement:o}}}}},JF=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:i}=e,{mainAxis:s=!0,crossAxis:o=!1,limiter:a={fn:g=>{let{x:v,y}=g;return{x:v,y}}},...l}=Du(t,e),c={x:n,y:r},u=await i0(e,l),d=xu($a(i)),h=bM(d);let p=c[h],m=c[d];if(s){const g=h==="y"?"top":"left",v=h==="y"?"bottom":"right",y=p+u[g],w=p-u[v];p=Bx(y,p,w)}if(o){const g=d==="y"?"top":"left",v=d==="y"?"bottom":"right",y=m+u[g],w=m-u[v];m=Bx(y,m,w)}const b=a.fn({...e,[h]:p,[d]:m});return{...b,data:{x:b.x-n,y:b.y-r,enabled:{[h]:s,[d]:o}}}}}},YF=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,r;const{placement:i,rects:s,platform:o,elements:a}=e,{apply:l=()=>{},...c}=Du(t,e),u=await i0(e,c),d=$a(i),h=Bo(i),p=xu(i)==="y",{width:m,height:b}=s.floating;let g,v;d==="top"||d==="bottom"?(g=d,v=h===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(v=d,g=h==="end"?"top":"bottom");const y=b-u.top-u.bottom,w=m-u.left-u.right,x=Jh(b-u[g],y),_=Jh(m-u[v],w),j=!e.middlewareData.shift;let k=x,T=_;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(T=w),(r=e.middlewareData.shift)!=null&&r.enabled.y&&(k=y),j&&!h){const I=Qc(u.left,0),z=Qc(u.right,0),D=Qc(u.top,0),K=Qc(u.bottom,0);p?T=m-2*(I!==0||z!==0?I+z:Qc(u.left,u.right)):k=b-2*(D!==0||K!==0?D+K:Qc(u.top,u.bottom))}await l({...e,availableWidth:T,availableHeight:k});const C=await o.getDimensions(a.floating);return m!==C.width||b!==C.height?{reset:{rects:!0}}:{}}}};function co(t){var e;return((e=t.ownerDocument)==null?void 0:e.defaultView)||window}function ka(t){return co(t).getComputedStyle(t)}const NC=Math.min,Oh=Math.max,yy=Math.round;function _M(t){const e=ka(t);let n=parseFloat(e.width),r=parseFloat(e.height);const i=t.offsetWidth,s=t.offsetHeight,o=yy(n)!==i||yy(r)!==s;return o&&(n=i,r=s),{width:n,height:r,fallback:o}}function pc(t){return kM(t)?(t.nodeName||"").toLowerCase():""}let $m;function jM(){if($m)return $m;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?($m=t.brands.map(e=>e.brand+"/"+e.version).join(" "),$m):navigator.userAgent}function Sa(t){return t instanceof co(t).HTMLElement}function nc(t){return t instanceof co(t).Element}function kM(t){return t instanceof co(t).Node}function LC(t){return typeof ShadowRoot>"u"?!1:t instanceof co(t).ShadowRoot||t instanceof ShadowRoot}function s0(t){const{overflow:e,overflowX:n,overflowY:r,display:i}=ka(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!["inline","contents"].includes(i)}function QF(t){return["table","td","th"].includes(pc(t))}function Fx(t){const e=/firefox/i.test(jM()),n=ka(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 s=n.contain;return s!=null&&s.includes(i)})}function SM(){return!/^((?!chrome|android).)*safari/i.test(jM())}function Ok(t){return["html","body","#document"].includes(pc(t))}function CM(t){return nc(t)?t:t.contextElement}const EM={x:1,y:1};function Td(t){const e=CM(t);if(!Sa(e))return EM;const n=e.getBoundingClientRect(),{width:r,height:i,fallback:s}=_M(e);let o=(s?yy(n.width):n.width)/r,a=(s?yy(n.height):n.height)/i;return o&&Number.isFinite(o)||(o=1),a&&Number.isFinite(a)||(a=1),{x:o,y:a}}function Yh(t,e,n,r){var i,s;e===void 0&&(e=!1),n===void 0&&(n=!1);const o=t.getBoundingClientRect(),a=CM(t);let l=EM;e&&(r?nc(r)&&(l=Td(r)):l=Td(t));const c=a?co(a):window,u=!SM()&&n;let d=(o.left+(u&&((i=c.visualViewport)==null?void 0:i.offsetLeft)||0))/l.x,h=(o.top+(u&&((s=c.visualViewport)==null?void 0:s.offsetTop)||0))/l.y,p=o.width/l.x,m=o.height/l.y;if(a){const b=co(a),g=r&&nc(r)?co(r):r;let v=b.frameElement;for(;v&&r&&g!==b;){const y=Td(v),w=v.getBoundingClientRect(),x=getComputedStyle(v);w.x+=(v.clientLeft+parseFloat(x.paddingLeft))*y.x,w.y+=(v.clientTop+parseFloat(x.paddingTop))*y.y,d*=y.x,h*=y.y,p*=y.x,m*=y.y,d+=w.x,h+=w.y,v=co(v).frameElement}}return{width:p,height:m,top:h,right:d+p,bottom:h+m,left:d,x:d,y:h}}function rc(t){return((kM(t)?t.ownerDocument:t.document)||window.document).documentElement}function o0(t){return nc(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function OM(t){return Yh(rc(t)).left+o0(t).scrollLeft}function Qh(t){if(pc(t)==="html")return t;const e=t.assignedSlot||t.parentNode||LC(t)&&t.host||rc(t);return LC(e)?e.host:e}function AM(t){const e=Qh(t);return Ok(e)?e.ownerDocument.body:Sa(e)&&s0(e)?e:AM(e)}function by(t,e){var n;e===void 0&&(e=[]);const r=AM(t),i=r===((n=t.ownerDocument)==null?void 0:n.body),s=co(r);return i?e.concat(s,s.visualViewport||[],s0(r)?r:[]):e.concat(r,by(r))}function DC(t,e,n){return e==="viewport"?Eh(function(r,i){const s=co(r),o=rc(r),a=s.visualViewport;let l=o.clientWidth,c=o.clientHeight,u=0,d=0;if(a){l=a.width,c=a.height;const h=SM();(h||!h&&i==="fixed")&&(u=a.offsetLeft,d=a.offsetTop)}return{width:l,height:c,x:u,y:d}}(t,n)):nc(e)?Eh(function(r,i){const s=Yh(r,!0,i==="fixed"),o=s.top+r.clientTop,a=s.left+r.clientLeft,l=Sa(r)?Td(r):{x:1,y:1};return{width:r.clientWidth*l.x,height:r.clientHeight*l.y,x:a*l.x,y:o*l.y}}(e,n)):Eh(function(r){const i=rc(r),s=o0(r),o=r.ownerDocument.body,a=Oh(i.scrollWidth,i.clientWidth,o.scrollWidth,o.clientWidth),l=Oh(i.scrollHeight,i.clientHeight,o.scrollHeight,o.clientHeight);let c=-s.scrollLeft+OM(r);const u=-s.scrollTop;return ka(o).direction==="rtl"&&(c+=Oh(i.clientWidth,o.clientWidth)-a),{width:a,height:l,x:c,y:u}}(rc(t)))}function zC(t){return Sa(t)&&ka(t).position!=="fixed"?t.offsetParent:null}function BC(t){const e=co(t);let n=zC(t);for(;n&&QF(n)&&ka(n).position==="static";)n=zC(n);return n&&(pc(n)==="html"||pc(n)==="body"&&ka(n).position==="static"&&!Fx(n))?e:n||function(r){let i=Qh(r);for(;Sa(i)&&!Ok(i);){if(Fx(i))return i;i=Qh(i)}return null}(t)||e}function XF(t,e,n){const r=Sa(e),i=rc(e),s=Yh(t,!0,n==="fixed",e);let o={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((pc(e)!=="body"||s0(i))&&(o=o0(e)),Sa(e)){const l=Yh(e,!0);a.x=l.x+e.clientLeft,a.y=l.y+e.clientTop}else i&&(a.x=OM(i));return{x:s.left+o.scrollLeft-a.x,y:s.top+o.scrollTop-a.y,width:s.width,height:s.height}}const ZF={getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:i}=t;const s=n==="clippingAncestors"?function(c,u){const d=u.get(c);if(d)return d;let h=by(c).filter(g=>nc(g)&&pc(g)!=="body"),p=null;const m=ka(c).position==="fixed";let b=m?Qh(c):c;for(;nc(b)&&!Ok(b);){const g=ka(b),v=Fx(b);(m?v||p:v||g.position!=="static"||!p||!["absolute","fixed"].includes(p.position))?p=g:h=h.filter(y=>y!==b),b=Qh(b)}return u.set(c,h),h}(e,this._c):[].concat(n),o=[...s,r],a=o[0],l=o.reduce((c,u)=>{const d=DC(e,u,i);return c.top=Oh(d.top,c.top),c.right=NC(d.right,c.right),c.bottom=NC(d.bottom,c.bottom),c.left=Oh(d.left,c.left),c},DC(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=Sa(n),s=rc(n);if(n===s)return e;let o={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((i||!i&&r!=="fixed")&&((pc(n)!=="body"||s0(s))&&(o=o0(n)),Sa(n))){const c=Yh(n);a=Td(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-o.scrollLeft*a.x+l.x,y:e.y*a.y-o.scrollTop*a.y+l.y}},isElement:nc,getDimensions:function(t){return Sa(t)?_M(t):t.getBoundingClientRect()},getOffsetParent:BC,getDocumentElement:rc,getScale:Td,async getElementRects(t){let{reference:e,floating:n,strategy:r}=t;const i=this.getOffsetParent||BC,s=this.getDimensions;return{reference:XF(e,await i(n),r),floating:{x:0,y:0,...await s(n)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>ka(t).direction==="rtl"},eV=(t,e,n)=>{const r=new Map,i={platform:ZF,...n},s={...i.platform,_c:r};return VF(t,e,{...i,platform:s})};function TM(t,e){for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(typeof e[n]=="object"&&t[n]?TM(t[n],e[n]):t[n]=e[n])}const Fo={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 Xh(t,e){let n=Fo.themes[t]||{},r;do r=n[e],typeof r>"u"?n.$extend?n=Fo.themes[n.$extend]||{}:(n=null,r=Fo[e]):n=null;while(n);return r}function tV(t){const e=[t];let n=Fo.themes[t]||{};do n.$extend&&!n.$resetCss?(e.push(n.$extend),n=Fo.themes[n.$extend]||{}):n=null;while(n);return e.map(r=>`v-popper--theme-${r}`)}function FC(t){const e=[t];let n=Fo.themes[t]||{};do n.$extend?(e.push(n.$extend),n=Fo.themes[n.$extend]||{}):n=null;while(n);return e}let nf=!1;if(typeof window<"u"){nf=!1;try{const t=Object.defineProperty({},"passive",{get(){nf=!0}});window.addEventListener("test",null,t)}catch{}}let PM=!1;typeof window<"u"&&typeof navigator<"u"&&(PM=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const RM=["auto","top","bottom","left","right"].reduce((t,e)=>t.concat([e,`${e}-start`,`${e}-end`]),[]),VC={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},qC={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function HC(t,e){const n=t.indexOf(e);n!==-1&&t.splice(n,1)}function I1(){return new Promise(t=>requestAnimationFrame(()=>{requestAnimationFrame(t)}))}const Mo=[];let Vc=null;const UC={};function WC(t){let e=UC[t];return e||(e=UC[t]=[]),e}let Vx=function(){};typeof window<"u"&&(Vx=window.Element);function Qn(t){return function(e){return Xh(e.theme,t)}}const N1="__floating-vue__popper",$M=()=>Ri({name:"VPopper",provide(){return{[N1]:{parentPopper:this}}},inject:{[N1]:{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:Qn("disabled")},positioningDisabled:{type:Boolean,default:Qn("positioningDisabled")},placement:{type:String,default:Qn("placement"),validator:t=>RM.includes(t)},delay:{type:[String,Number,Object],default:Qn("delay")},distance:{type:[Number,String],default:Qn("distance")},skidding:{type:[Number,String],default:Qn("skidding")},triggers:{type:Array,default:Qn("triggers")},showTriggers:{type:[Array,Function],default:Qn("showTriggers")},hideTriggers:{type:[Array,Function],default:Qn("hideTriggers")},popperTriggers:{type:Array,default:Qn("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:Qn("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:Qn("popperHideTriggers")},container:{type:[String,Object,Vx,Boolean],default:Qn("container")},boundary:{type:[String,Vx],default:Qn("boundary")},strategy:{type:String,validator:t=>["absolute","fixed"].includes(t),default:Qn("strategy")},autoHide:{type:[Boolean,Function],default:Qn("autoHide")},handleResize:{type:Boolean,default:Qn("handleResize")},instantMove:{type:Boolean,default:Qn("instantMove")},eagerMount:{type:Boolean,default:Qn("eagerMount")},popperClass:{type:[String,Array,Object],default:Qn("popperClass")},computeTransformOrigin:{type:Boolean,default:Qn("computeTransformOrigin")},autoMinSize:{type:Boolean,default:Qn("autoMinSize")},autoSize:{type:[Boolean,String],default:Qn("autoSize")},autoMaxSize:{type:Boolean,default:Qn("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:Qn("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:Qn("preventOverflow")},overflowPadding:{type:[Number,String],default:Qn("overflowPadding")},arrowPadding:{type:[Number,String],default:Qn("arrowPadding")},arrowOverflow:{type:Boolean,default:Qn("arrowOverflow")},flip:{type:Boolean,default:Qn("flip")},shift:{type:Boolean,default:Qn("shift")},shiftCrossAxis:{type:Boolean,default:Qn("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:Qn("noAutoFocus")},disposeTimeout:{type:Number,default:Qn("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[N1])==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(KF({mainAxis:this.distance,crossAxis:this.skidding}));const e=this.placement.startsWith("auto");if(e?t.middleware.push(UF({alignment:this.placement.split("-")[1]??""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(JF({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!e&&this.flip&&t.middleware.push(WF({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(qF({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:i,middlewareData:s})=>{let o;const{centerOffset:a}=s.arrow;return r.startsWith("top")||r.startsWith("bottom")?o=Math.abs(a)>i.reference.width/2:o=Math.abs(a)>i.reference.height/2,{data:{overflow:o}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;t.middleware.push({name:"autoSize",fn:({rects:i,placement:s,middlewareData:o})=>{var a;if((a=o.autoSize)!=null&&a.skip)return{};let l,c;return s.startsWith("top")||s.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(YF({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 eV(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),Vc&&this.instantMove&&Vc.instantMove&&Vc!==this.parentPopper){Vc.$_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&&(Vc=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 I1(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...by(this.$_referenceNode),...by(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),s=e.y+e.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${i}px ${s}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<Mo.length;n++)e=Mo[n],e.showGroup!==t&&(e.hide(),e.$emit("close-group"))}Mo.push(this),document.body.classList.add("v-popper--some-open");for(const e of FC(this.theme))WC(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 I1(),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,HC(Mo,this),Mo.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of FC(this.theme)){const r=WC(n);HC(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Vc===this&&(Vc=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 I1(),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,VC,this.triggers,this.showTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],VC,this.popperTriggers,this.popperShowTriggers,t);const e=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,qC,this.triggers,this.hideTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],qC,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,nf?{passive:!0}:void 0))},$_registerTriggerListeners(t,e,n,r,i){let s=n;r!=null&&(s=typeof r=="function"?r(s):r),s.forEach(o=>{const a=e[o];a&&this.$_registerEventListeners(t,a,i)})},$_removeEventListeners(t){const e=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:i,handler:s}=n;!t||t===i?r.forEach(o=>o.removeEventListener(i,s)):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(Ah>=t.left&&Ah<=t.right&&Th>=t.top&&Th<=t.bottom){const e=this.$_popperNode.getBoundingClientRect(),n=Ah-Ml,r=Th-Il,i=e.left+e.width/2-Ml+(e.top+e.height/2)-Il+e.width+e.height,s=Ml+n*i,o=Il+r*i;return Mm(Ml,Il,s,o,e.left,e.top,e.left,e.bottom)||Mm(Ml,Il,s,o,e.left,e.top,e.right,e.top)||Mm(Ml,Il,s,o,e.right,e.top,e.right,e.bottom)||Mm(Ml,Il,s,o,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(PM){const t=nf?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",e=>GC(e,!0),t),document.addEventListener("touchend",e=>KC(e,!0),t)}else window.addEventListener("mousedown",t=>GC(t,!1),!0),window.addEventListener("click",t=>KC(t,!1),!0);window.addEventListener("resize",rV)}function GC(t,e){if(Fo.autoHideOnMousedown)MM(t,e);else for(let n=0;n<Mo.length;n++){const r=Mo[n];try{r.mouseDownContains=r.popperNode().contains(t.target)}catch{}}}function KC(t,e){Fo.autoHideOnMousedown||MM(t,e)}function MM(t,e){const n={};for(let r=Mo.length-1;r>=0;r--){const i=Mo[r];try{const s=i.containsGlobalTarget=i.mouseDownContains||i.popperNode().contains(t.target);i.pendingHide=!1,requestAnimationFrame(()=>{if(i.pendingHide=!1,!n[i.randomId]&&JC(i,s,t)){if(i.$_handleGlobalClose(t,e),!t.closeAllPopover&&t.closePopover&&s){let a=i.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let o=i.parentPopper;for(;o&&JC(o,o.containsGlobalTarget,t);)o.$_handleGlobalClose(t,e),o=o.parentPopper}})}catch{}}}function JC(t,e,n){return n.closeAllPopover||n.closePopover&&e||nV(t,n)&&!e}function nV(t,e){if(typeof t.autoHide=="function"){const n=t.autoHide(e);return t.lastAutoHide=n,n}return t.autoHide}function rV(){for(let t=0;t<Mo.length;t++)Mo[t].$_computePosition()}let Ml=0,Il=0,Ah=0,Th=0;typeof window<"u"&&window.addEventListener("mousemove",t=>{Ml=Ah,Il=Th,Ah=t.clientX,Th=t.clientY},nf?{passive:!0}:void 0);function Mm(t,e,n,r,i,s,o,a){const l=((o-i)*(e-s)-(a-s)*(t-i))/((a-s)*(n-t)-(o-i)*(r-e)),c=((n-t)*(e-s)-(r-e)*(t-i))/((a-s)*(n-t)-(o-i)*(r-e));return l>=0&&l<=1&&c>=0&&c<=1}const iV={extends:$M()},a0=(t,e)=>{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n};function sV(t,e,n,r,i,s){return We(),Ct("div",{ref:"reference",class:Yr(["v-popper",{"v-popper--shown":t.slotData.isShown}])},[Ar(t.$slots,"default",SR(yk(t.slotData)))],2)}const oV=a0(iV,[["render",sV]]);function aV(){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 Cv;function qx(){qx.init||(qx.init=!0,Cv=aV()!==-1)}var l0={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){qx(),Ac(()=>{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",Cv&&this.$el.appendChild(t),t.data="about:blank",Cv||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&&(!Cv&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const lV=y9();g9("data-v-b329ee4c");const cV={class:"resize-observer",tabindex:"-1"};v9();const uV=lV((t,e,n,r,i,s)=>(We(),wn("div",cV)));l0.render=uV;l0.__scopeId="data-v-b329ee4c";l0.__file="src/components/ResizeObserver.vue";const IM=(t="theme")=>({computed:{themeClass(){return tV(this[t])}}}),dV=Ri({name:"VPopperContent",components:{ResizeObserver:l0},mixins:[IM()],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}}}),fV=["id","aria-hidden","tabindex","data-popper-placement"],hV={ref:"inner",class:"v-popper__inner"},pV=qe("div",{class:"v-popper__arrow-outer"},null,-1),mV=qe("div",{class:"v-popper__arrow-inner"},null,-1),gV=[pV,mV];function vV(t,e,n,r,i,s){const o=yl("ResizeObserver");return We(),Ct("div",{id:t.popperId,ref:"popover",class:Yr(["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:Do(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]=Gz(a=>t.autoHide&&t.$emit("hide"),["esc"]))},[qe("div",{class:"v-popper__backdrop",onClick:e[0]||(e[0]=a=>t.autoHide&&t.$emit("hide"))}),qe("div",{class:"v-popper__wrapper",style:Do(t.result?{transformOrigin:t.result.transformOrigin}:void 0)},[qe("div",hV,[t.mounted?(We(),Ct(Ei,{key:0},[qe("div",null,[Ar(t.$slots,"default")]),t.handleResize?(We(),wn(o,{key:0,onNotify:e[1]||(e[1]=a=>t.$emit("resize",a))})):pr("",!0)],64)):pr("",!0)],512),qe("div",{ref:"arrow",class:"v-popper__arrow-container",style:Do(t.result?{left:t.toPx(t.result.arrow.x),top:t.toPx(t.result.arrow.y)}:void 0)},gV,4)],4)],46,fV)}const NM=a0(dV,[["render",vV]]),LM={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 Hx=function(){};typeof window<"u"&&(Hx=window.Element);const yV=Ri({name:"VPopperWrapper",components:{Popper:oV,PopperContent:NM},mixins:[LM,IM("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,Hx,Boolean],default:void 0},boundary:{type:[String,Hx],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 bV(t,e,n,r,i,s){const o=yl("PopperContent"),a=yl("Popper");return We(),wn(a,Kp({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:mt(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:d,autoHide:h,show:p,hide:m,handleResize:b,onResize:g,classes:v,result:y})=>[Ar(t.$slots,"default",{shown:c,show:p,hide:m}),rt(o,{ref:"popperContent","popper-id":l,theme:t.finalTheme,shown:c,mounted:u,"skip-transition":d,"auto-hide":h,"handle-resize":b,classes:v,result:y,onHide:m,onResize:g},{default:mt(()=>[Ar(t.$slots,"popper",{shown:c,hide:m})]),_: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 Ak=a0(yV,[["render",bV]]),wV={...Ak,name:"VDropdown",vPopperTheme:"dropdown"},xV={...Ak,name:"VMenu",vPopperTheme:"menu"},_V={...Ak,name:"VTooltip",vPopperTheme:"tooltip"},jV=Ri({name:"VTooltipDirective",components:{Popper:$M(),PopperContent:NM},mixins:[LM],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:t=>Xh(t.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:t=>Xh(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}}}),kV=["innerHTML"],SV=["textContent"];function CV(t,e,n,r,i,s){const o=yl("PopperContent"),a=yl("Popper");return We(),wn(a,Kp({ref:"popper"},t.$attrs,{theme:t.theme,"target-nodes":t.targetNodes,"popper-node":()=>t.$refs.popperContent.$el,onApplyShow:t.onShow,onApplyHide:t.onHide}),{default:mt(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:d,autoHide:h,hide:p,handleResize:m,onResize:b,classes:g,result:v})=>[rt(o,{ref:"popperContent",class:Yr({"v-popper--tooltip-loading":t.loading}),"popper-id":l,theme:t.theme,shown:c,mounted:u,"skip-transition":d,"auto-hide":h,"handle-resize":m,classes:g,result:v,onHide:p,onResize:b},{default:mt(()=>[t.html?(We(),Ct("div",{key:0,innerHTML:t.finalContent},null,8,kV)):(We(),Ct("div",{key:1,textContent:Nr(t.finalContent)},null,8,SV))]),_: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 EV=a0(jV,[["render",CV]]),DM="v-popper--has-tooltip";function OV(t,e){let n=t.placement;if(!n&&e)for(const r of RM)e[r]&&(n=r);return n||(n=Xh(t.theme||"tooltip","placement")),n}function zM(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=OV(r,n),r.targetNodes=()=>[t],r.referenceNode=()=>t,r}let L1,Zh,AV=0;function TV(){if(L1)return;Zh=Zt([]),L1=N$({name:"VTooltipDirectiveApp",setup(){return{directives:Zh}},render(){return this.directives.map(e=>ef(EV,{...e.options,shown:e.shown||e.options.shown,key:e.id}))},devtools:{hide:!0}});const t=document.createElement("div");document.body.appendChild(t),L1.mount(t)}function PV(t,e,n){TV();const r=Zt(zM(t,e,n)),i=Zt(!1),s={id:AV++,options:r,shown:i};return Zh.value.push(s),t.classList&&t.classList.add(DM),t.$_popper={options:r,item:s,show(){i.value=!0},hide(){i.value=!1}}}function BM(t){if(t.$_popper){const e=Zh.value.indexOf(t.$_popper.item);e!==-1&&Zh.value.splice(e,1),delete t.$_popper,delete t.$_popperOldShown,delete t.$_popperMountTarget}t.classList&&t.classList.remove(DM)}function YC(t,{value:e,modifiers:n}){const r=zM(t,e,n);if(!r.content||Xh(r.theme||"tooltip","disabled"))BM(t);else{let i;t.$_popper?(i=t.$_popper,i.options.value=r):i=PV(t,e,n),typeof e.shown<"u"&&e.shown!==t.$_popperOldShown&&(t.$_popperOldShown=e.shown,e.shown?i.show():i.hide())}}const RV={beforeMount:YC,updated:YC,beforeUnmount(t){BM(t)}};function QC(t){t.addEventListener("mousedown",wy),t.addEventListener("click",wy),t.addEventListener("touchstart",FM,nf?{passive:!0}:!1)}function XC(t){t.removeEventListener("mousedown",wy),t.removeEventListener("click",wy),t.removeEventListener("touchstart",FM),t.removeEventListener("touchend",VM),t.removeEventListener("touchcancel",qM)}function wy(t){const e=t.currentTarget;t.closePopover=!e.$_vclosepopover_touch,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}function FM(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",VM),e.addEventListener("touchcancel",qM)}}function VM(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 qM(t){const e=t.currentTarget;e.$_vclosepopover_touch=!1}const $V={beforeMount(t,{value:e,modifiers:n}){t.$_closePopoverModifiers=n,(typeof e>"u"||e)&&QC(t)},updated(t,{value:e,oldValue:n,modifiers:r}){t.$_closePopoverModifiers=r,e!==n&&(typeof e>"u"||e?QC(t):XC(t))},beforeUnmount(t){XC(t)}};function MV(t,e={}){t.$_vTooltipInstalled||(t.$_vTooltipInstalled=!0,TM(Fo,e),t.directive("tooltip",RV),t.directive("close-popper",$V),t.component("VTooltip",_V),t.component("VDropdown",wV),t.component("VMenu",xV))}const IV={version:"5.2.2",install:MV,options:Fo},NV=Va(t=>{t.vueApp.use(IV)}),LV=[xF,jF,CF,OF,AF,TF,RF,$F,MF,NV],Jp=Ri({__name:"NIcon",props:{icon:{}},setup(t){return(e,n)=>(We(),Ct("div",{class:Yr(["n-icon",e.icon])},null,2))}}),Tc=(t,e)=>{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n},DV={},zV={class:"n-badge"};function BV(t,e){return We(),Ct("span",zV,[Ar(t.$slots,"default")])}const FV=Tc(DV,[["render",BV]]);async function HM(t,e=Ra()){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(()=>HM(t,e));e._routePreloaded.add(n);const s=r.map(o=>{var a;return(a=o.components)==null?void 0:a.default}).filter(o=>typeof o=="function");for(const o of s){const a=Promise.resolve(o()).catch(()=>{}).finally(()=>i.splice(i.indexOf(a)));i.push(a)}await Promise.all(i)}const VV=(...t)=>t.find(e=>e!==void 0);function qV(t){const e=t.componentName||"NuxtLink";function n(s){return typeof s=="string"&&s.startsWith("#")}function r(s,o){if(!s||t.trailingSlash!=="append"&&t.trailingSlash!=="remove")return s;if(typeof s=="string")return ZC(s,t.trailingSlash);const a="path"in s&&s.path!==void 0?s.path:o(s).path;return{...s,name:void 0,path:ZC(a,t.trailingSlash)}}function i(s){const o=Ra(),a=tf(),l=mn(()=>!!s.target&&s.target!=="_self"),c=mn(()=>{const g=s.to||s.href||"";return typeof g=="string"&&Cl(g,{acceptRelative:!0})}),u=yl("RouterLink"),d=u&&typeof u!="string"?u.useLink:void 0,h=mn(()=>{if(s.external)return!0;const g=s.to||s.href||"";return typeof g=="object"?!1:g===""||c.value}),p=mn(()=>{const g=s.to||s.href||"";return h.value?g:r(g,o.resolve)}),m=h.value||d==null?void 0:d({...s,to:p}),b=mn(()=>{var g;if(!p.value||c.value||n(p.value))return p.value;if(h.value){const v=typeof p.value=="object"&&"path"in p.value?$x(p.value):p.value,y=typeof v=="object"?o.resolve(v).href:v;return r(y,o.resolve)}return typeof p.value=="object"?((g=o.resolve(p.value))==null?void 0:g.href)??null:r(hc(a.app.baseURL,p.value),o.resolve)});return{to:p,hasTarget:l,isAbsoluteUrl:c,isExternal:h,href:b,isActive:(m==null?void 0:m.isActive)??mn(()=>p.value===o.currentRoute.value.path),isExactActive:(m==null?void 0:m.isExactActive)??mn(()=>p.value===o.currentRoute.value.path),route:(m==null?void 0:m.route)??mn(()=>o.resolve(p.value)),async navigate(){await sM(b.value,{replace:s.replace,external:h.value||l.value})}}}return Ri({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},prefetchOn:{type:[String,Object],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:i,setup(s,{slots:o}){const a=Ra(),{to:l,href:c,navigate:u,isExternal:d,hasTarget:h,isAbsoluteUrl:p}=i(s),m=Zt(!1),b=Zt(null),g=w=>{var x;b.value=s.custom?(x=w==null?void 0:w.$el)==null?void 0:x.nextElementSibling:w==null?void 0:w.$el};function v(w){var x,_;return!m.value&&(typeof s.prefetchOn=="string"?s.prefetchOn===w:((x=s.prefetchOn)==null?void 0:x[w])??((_=t.prefetchOn)==null?void 0:_[w]))&&(s.prefetch??t.prefetch)!==!1&&s.noPrefetch!==!0&&s.target!=="_blank"&&!WV()}async function y(w=oi()){if(m.value)return;m.value=!0;const x=typeof l.value=="string"?l.value:d.value?$x(l.value):a.resolve(l.value).fullPath,_=d.value?new URL(x,window.location.href).href:x;await Promise.all([w.hooks.callHook("link:prefetch",_).catch(()=>{}),!d.value&&!h.value&&HM(l.value,a).catch(()=>{})])}if(v("visibility")){const w=oi();let x,_=null;Lu(()=>{const j=HV();r0(()=>{x=zx(()=>{var k;(k=b==null?void 0:b.value)!=null&&k.tagName&&(_=j.observe(b.value,async()=>{_==null||_(),_=null,await y(w)}))})})}),pk(()=>{x&&EF(x),_==null||_(),_=null})}return()=>{var _;if(!d.value&&!h.value&&!n(l.value)){const j={ref:g,to:l.value,activeClass:s.activeClass||t.activeClass,exactActiveClass:s.exactActiveClass||t.exactActiveClass,replace:s.replace,ariaCurrentValue:s.ariaCurrentValue,custom:s.custom};return s.custom||(v("interaction")&&(j.onPointerenter=y.bind(null,void 0),j.onFocus=y.bind(null,void 0)),m.value&&(j.class=s.prefetchedClass||t.prefetchedClass),j.rel=s.rel||void 0),ef(yl("RouterLink"),j,o.default)}const w=s.target||null,x=VV(s.noRel?"":s.rel,t.externalRelAttribute,p.value||h.value?"noopener noreferrer":"")||null;return s.custom?o.default?o.default({href:c.value,navigate:u,prefetch:y,get route(){if(!c.value)return;const j=new URL(c.value,window.location.href);return{path:j.pathname,fullPath:j.pathname,get query(){return _k(j.search)},hash:j.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:c.value}},rel:x,target:w,isExternal:d.value||h.value,isActive:!1,isExactActive:!1}):null:ef("a",{ref:b,href:c.value||null,rel:x,target:w},(_=o.default)==null?void 0:_.call(o))}}})}const Tk=qV(Z7);function ZC(t,e){const n=e==="append"?ly:e0;return Cl(t)&&!t.startsWith("http")?t:n(t,!0)}function HV(){const t=oi();if(t._observer)return t._observer;let e=null;const n=new Map,r=(s,o)=>(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(s,o),e.observe(s),()=>{n.delete(s),e==null||e.unobserve(s),n.size===0&&(e==null||e.disconnect(),e=null)});return t._observer={observe:r}}const UV=/2g/;function WV(){const t=navigator.connection;return!!(t&&(t.saveData||UV.test(t.effectiveType)))}const GV={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},UM=Ri({__name:"NLink",props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(t){const e=t,n=mn(()=>e.href||e.to);return(r,i)=>{const s=Tk;return We(),wn(s,Kp(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:mt(()=>[Ar(r.$slots,"default"),n.value&&r.target==="_blank"?(We(),Ct("div",GV)):pr("",!0)]),_:3},16,["class"])}}}),KV={},JV={height:"22",viewBox:"0 0 1204 200",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function YV(t,e){return We(),Ct("svg",JV,e[0]||(e[0]=[fz('<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)]))}const QV=Tc(KV,[["render",YV]]),XV=Ri({__name:"NButton",props:{to:{},icon:{},border:{type:Boolean,default:!0},disabled:{type:Boolean},type:{default:"button"}},setup(t){return(e,n)=>{const r=Jp;return We(),wn(i$(e.to?Se(Tk):"button"),Kp({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:mt(()=>[Ar(e.$slots,"icon",{},()=>[e.icon?(We(),wn(r,{key:0,icon:e.icon,class:Yr({"n-button-icon":e.$slots.default})},null,8,["icon","class"])):pr("",!0)]),Ar(e.$slots,"default")]),_:3},16,["to","class"])}}}),ZV={},eq={class:"n-loading n-panel-grids-center"},tq={class:"flex flex-col animate-pulse items-center text-lg"};function nq(t,e){return We(),Ct("div",eq,[qe("div",tq,[e[1]||(e[1]=qe("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1)),Ar(t.$slots,"default",{},()=>[e[0]||(e[0]=Ut(" Loading... "))])])])}const WM=Tc(ZV,[["render",nq]]),rq=Ri({__name:"ImageLoader",props:{src:{},aspectRatio:{},maxHeight:{},maxWidth:{}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=Zt(),s=Zt(!0),o=Zt();function a(l){const c=i.value;if(l!==o.value){o.value=l,s.value=!0,c.style.backgroundImage="";const u=Date.now();$fetch.raw(l,{responseType:"blob"}).then(d=>{const h=d.headers.get("content-length"),p=Math.round(Number(h)/1024),m=new FileReader;m.readAsDataURL(d._data),m.onloadend=()=>{const b=m.result;b&&(c.style.backgroundImage=`url(${b})`,s.value=!1,r("load",{timeTaken:Date.now()-u,sizeKb:p}))}})}}return Lu(()=>{bi(()=>n.src,l=>{a(l)},{immediate:!0})}),(l,c)=>{const u=WM;return We(),Ct("div",{ref_key:"image",ref:i,style:Do({aspectRatio:l.aspectRatio})},[Se(s)?(We(),wn(u,{key:0})):pr("",!0)],4)}}}),GM=Tc(rq,[["__scopeId","data-v-aa7a1878"]]),iq={class:"root max-h-full relative flex"},sq={class:"max-h-full border-1 border-solid border-[#cfd9de] rounded-[16px] overflow-hidden"},oq={class:"image-wrap"},aq={key:0,class:"title absolute bottom-3 z-2 left-3 text-white"},lq={class:"domain absolute -bottom-5 z-2 left-0"},cq=Ri({__name:"TwitterCardRenderer",props:{title:{}},setup(t){return(e,n)=>(We(),Ct("div",iq,[qe("div",sq,[qe("div",oq,[Ar(e.$slots,"default",{},void 0,!0)])]),e.title?(We(),Ct("div",aq,[Ar(e.$slots,"title",{},()=>[Ut(Nr(e.title),1)],!0)])):pr("",!0),qe("div",lq,[Ar(e.$slots,"domain",{},void 0,!0)])]))}}),uq=Tc(cq,[["__scopeId","data-v-356f9e5f"]]),dq={},fq={class:"root"},hq={class:"content"},pq={class:"flex items-center space-x-2"},mq={class:"favIcon"},gq={class:"siteName"},vq={class:"title"},yq={class:"description"};function bq(t,e){return We(),Ct("div",fq,[e[0]||(e[0]=qe("div",{class:"bar"},null,-1)),qe("div",hq,[qe("div",pq,[qe("div",mq,[Ar(t.$slots,"favIcon",{},void 0,!0)]),qe("div",gq,[Ar(t.$slots,"siteName",{},void 0,!0)])]),qe("div",vq,[Ar(t.$slots,"title",{},void 0,!0)]),qe("div",yq,[Ar(t.$slots,"description",{},void 0,!0)]),Ar(t.$slots,"default",{},void 0,!0)])])}const wq=Tc(dq,[["render",bq],["__scopeId","data-v-ba8e339e"]]);function KM(t){return Hb()?(dx(t),!0):!1}const D1=new WeakMap,xq=(...t)=>{var e;const n=t[0],r=(e=Sl())==null?void 0:e.proxy;if(r==null&&!Jb())throw new Error("injectLocal must be called in setup");return r&&D1.has(r)&&n in D1.get(r)?D1.get(r)[n]:fu(...t)},_q=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const jq=t=>typeof t<"u",kq=Object.prototype.toString,Sq=t=>kq.call(t)==="[object Object]",Ux=()=>{};function JM(t,e){function n(...r){return new Promise((i,s)=>{Promise.resolve(t(()=>e.apply(this,r),{fn:e,thisArg:this,args:r})).then(i).catch(s)})}return n}const YM=t=>t();function Cq(t,e={}){let n,r,i=Ux;const s=a=>{clearTimeout(a),i(),i=Ux};return a=>{const l=vl(t),c=vl(e.maxWait);return n&&s(n),l<=0||c!==void 0&&c<=0?(r&&(s(r),r=null),Promise.resolve(a())):new Promise((u,d)=>{i=e.rejectOnCancel?d:u,c&&!r&&(r=setTimeout(()=>{n&&s(n),r=null,u(a())},c)),n=setTimeout(()=>{r&&s(r),r=null,u(a())},l)})}}function Eq(t=YM){const e=Zt(!0);function n(){e.value=!1}function r(){e.value=!0}const i=(...s)=>{e.value&&t(...s)};return{isActive:ak(e),pause:n,resume:r,eventFilter:i}}function eE(t){return t.endsWith("rem")?Number.parseFloat(t)*16:Number.parseFloat(t)}function Oq(t){return Sl()}function tE(t){return Array.isArray(t)?t:[t]}function Pk(t,e=200,n={}){return JM(Cq(e,n),t)}function Aq(t,e,n={}){const{eventFilter:r=YM,...i}=n;return bi(t,JM(r,e),i)}function Tq(t,e,n={}){const{eventFilter:r,...i}=n,{eventFilter:s,pause:o,resume:a,isActive:l}=Eq(r);return{stop:Aq(t,e,{...i,eventFilter:s}),pause:o,resume:a,isActive:l}}function QM(t,e=!0,n){Oq()?Lu(t,n):e?t():Ac(t)}const rf=_q?window:void 0;function Pq(t){var e;const n=vl(t);return(e=n==null?void 0:n.$el)!=null?e:n}function xy(...t){let e,n,r,i;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,r,i]=t,e=rf):[e,n,r,i]=t,!e)return Ux;n=tE(n),r=tE(r);const s=[],o=()=>{s.forEach(u=>u()),s.length=0},a=(u,d,h,p)=>(u.addEventListener(d,h,p),()=>u.removeEventListener(d,h,p)),l=bi(()=>[Pq(e),vl(i)],([u,d])=>{if(o(),!u)return;const h=Sq(d)?{...d}:d;s.push(...n.flatMap(p=>r.map(m=>a(u,p,m,h))))},{immediate:!0,flush:"post"}),c=()=>{l(),o()};return KM(c),c}function Rq(){const t=Zt(!1),e=Sl();return e&&Lu(()=>{t.value=!0},e),t}function $q(t){const e=Rq();return mn(()=>(e.value,!!t()))}const Mq=Symbol("vueuse-ssr-width");function Iq(){const t=Jb()?xq(Mq,null):null;return typeof t=="number"?t:void 0}function Nq(t,e={}){const{window:n=rf,ssrWidth:r=Iq()}=e,i=$q(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),s=Zt(typeof r=="number");let o;const a=Zt(!1),l=d=>{a.value=d.matches},c=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",l):o.removeListener(l))},u=Yb(()=>{if(s.value){s.value=!i.value;const d=vl(t).split(",");a.value=d.some(h=>{const p=h.includes("not all"),m=h.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),b=h.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let g=!!(m||b);return m&&g&&(g=r>=eE(m[1])),b&&g&&(g=r<=eE(b[1])),p?!g:g});return}i.value&&(c(),o=n.matchMedia(vl(t)),"addEventListener"in o?o.addEventListener("change",l):o.addListener(l),a.value=o.matches)});return KM(()=>{u(),c(),o=void 0}),mn(()=>a.value)}function Lq(t){return JSON.parse(JSON.stringify(t))}const Im=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Nm="__vueuse_ssr_handlers__",Dq=zq();function zq(){return Nm in Im||(Im[Nm]=Im[Nm]||{}),Im[Nm]}function Bq(t,e){return Dq[t]||e}function Fq(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 Vq={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()}},nE="vueuse-storage";function qq(t,e,n,r={}){var i;const{flush:s="pre",deep:o=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:d=rf,eventFilter:h,onError:p=z=>{console.error(z)},initOnMounted:m}=r,b=(u?Xv:Zt)(typeof e=="function"?e():e),g=mn(()=>vl(t));if(!n)try{n=Bq("getDefaultStorage",()=>{var z;return(z=rf)==null?void 0:z.localStorage})()}catch(z){p(z)}if(!n)return b;const v=vl(e),y=Fq(v),w=(i=r.serializer)!=null?i:Vq[y],{pause:x,resume:_}=Tq(b,()=>k(b.value),{flush:s,deep:o,eventFilter:h});bi(g,()=>C(),{flush:s}),d&&a&&QM(()=>{n instanceof Storage?xy(d,"storage",C,{passive:!0}):xy(d,nE,I),m&&C()}),m||C();function j(z,D){if(d){const K={key:g.value,oldValue:z,newValue:D,storageArea:n};d.dispatchEvent(n instanceof Storage?new StorageEvent("storage",K):new CustomEvent(nE,{detail:K}))}}function k(z){try{const D=n.getItem(g.value);if(z==null)j(D,null),n.removeItem(g.value);else{const K=w.write(z);D!==K&&(n.setItem(g.value,K),j(D,K))}}catch(D){p(D)}}function T(z){const D=z?z.newValue:n.getItem(g.value);if(D==null)return l&&v!=null&&n.setItem(g.value,w.write(v)),v;if(!z&&c){const K=w.read(D);return typeof c=="function"?c(K,v):y==="object"&&!Array.isArray(K)?{...v,...K}:K}else return typeof D!="string"?D:w.read(D)}function C(z){if(!(z&&z.storageArea!==n)){if(z&&z.key==null){b.value=v;return}if(!(z&&z.key!==g.value)){x();try{(z==null?void 0:z.newValue)!==w.write(b.value)&&(b.value=T(z))}catch(D){p(D)}finally{z?Ac(_):_()}}}}function I(z){C(z.detail)}return b}function z1(t,e,n={}){const{window:r=rf}=n;return qq(t,e,r==null?void 0:r.localStorage,n)}function XM(t,e,n,r={}){var i,s,o;const{clone:a=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:d,shouldEmit:h}=r,p=Sl(),m=n||(p==null?void 0:p.emit)||((i=p==null?void 0:p.$emit)==null?void 0:i.bind(p))||((o=(s=p==null?void 0:p.proxy)==null?void 0:s.$emit)==null?void 0:o.bind(p==null?void 0:p.proxy));let b=c;e||(e="modelValue"),b=b||`update:${e.toString()}`;const g=w=>a?typeof a=="function"?a(w):Lq(w):w,v=()=>jq(t[e])?g(t[e]):d,y=w=>{h?h(w)&&m(b,w):m(b,w)};if(l){const w=v(),x=Zt(w);let _=!1;return bi(()=>t[e],j=>{_||(_=!0,x.value=g(j),Ac(()=>_=!1))}),bi(x,j=>{!_&&(j!==t[e]||u)&&y(j)},{deep:u}),x}else return mn({get(){return v()},set(w){y(w)}})}function Hq(t={}){const{window:e=rf,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:i=!0,includeScrollbar:s=!0,type:o="inner"}=t,a=Zt(n),l=Zt(r),c=()=>{if(e)if(o==="outer")a.value=e.outerWidth,l.value=e.outerHeight;else if(o==="visual"&&e.visualViewport){const{width:d,height:h,scale:p}=e.visualViewport;a.value=Math.round(d*p),l.value=Math.round(h*p)}else s?(a.value=e.innerWidth,l.value=e.innerHeight):(a.value=e.document.documentElement.clientWidth,l.value=e.document.documentElement.clientHeight)};c(),QM(c);const u={passive:!0};if(xy("resize",c,u),e&&o==="visual"&&e.visualViewport&&xy(e.visualViewport,"resize",c,u),i){const d=Nq("(orientation: portrait)");bi(d,()=>c())}return{width:a,height:l}}const c0=Zt(Date.now()),ZM=Zt(Date.now()),Hf=Zt(null),Uq=window.location.host,ep=Zt("/"),Wx=Zt(),Wq=Zt("/"),ji=Zt({}),Fs=Zt({}),Uf=Zt(!1),rE=Zt({}),Ji=Pk(()=>{c0.value=Date.now()},200),Gq=Pk(()=>{c0.value=Date.now()},1e3),iE=mn(()=>F$(Wq.value,`${window.location.protocol}//${Uq}`));let Kq;const Wf=[];function Jq(t){if(Wf.push(t),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&Wf.forEach(e=>e(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(e){e&&Wf.forEach(n=>n(e))},get(){return Kq.value},configurable:!0}),()=>{Wf.splice(Wf.indexOf(t),1)}}const tp=Zt(),e3=Zt(),Gl=Zt(),_y=Zt("dark");Jq(async t=>{var n;tp.value=t.host.app.$fetch,Yb(()=>{_y.value=t.host.app.colorMode.value});const e=(n=t.host.nuxt.vueApp.config.globalProperties)==null?void 0:n.$route;Wx.value=e.query,ep.value=e.path||"/",t.host.nuxt.$router.afterEach(r=>{Wx.value=r.query,ep.value=r.path,Ji()}),e3.value=t.devtools,Gl.value=t,t.devtools.extendClientRpc("nuxt-og-image",{refreshRouteData(r){var i,s,o,a;((a=(o=(s=(i=Gl.value)==null?void 0:i.host.nuxt.vueApp.config)==null?void 0:s.globalProperties)==null?void 0:o.$route.matched[0].components)!=null&&a.default.__file.includes(r)||r.endsWith(".md"))&&Ji()},refresh(){Ji()},refreshGlobalData(){ZM.value=Date.now()}})});const Yq=["width","height"],Qq=Ri({__name:"IFrameLoader",props:{src:{},aspectRatio:{},maxHeight:{},maxWidth:{}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=Zt(),s=Zt(),o=mn(()=>n.maxWidth||ji.value.width),a=mn(()=>n.maxHeight||ji.value.height),l=Pk(()=>{const c=s.value,u=Date.now();c.src="";const d=ji.value.width||1200,h=ji.value.height||600,p=a.value,m=o.value,b=p>h?1:p/h,g=m>d?1:m/d,v=g>b?b:g;c.style.opacity="0",c.onload=()=>{c.style.opacity="1",r("load",{timeTaken:Date.now()-u})},c.src=`${i.value}&scale=${v}&colorMode=${_y.value}`},200);return Lu(()=>{bi(()=>n.src,c=>{i.value!==c&&s.value&&(i.value=c,l())},{immediate:!0}),bi([()=>_y,s],()=>{l()})}),!n.maxHeight&&!n.maxWidth&&Dx({bodyAttrs:{onresize:()=>{l()}}}),(c,u)=>(We(),Ct("div",{class:"w-full mx-auto h-full justify-center flex",style:Do({maxHeight:`${Se(a)}px`,maxWidth:`${Se(o)}px`})},[qe("iframe",{ref_key:"iframe",ref:s,class:"max-h-full",style:Do({aspectRatio:c.aspectRatio}),width:Se(o),height:Se(a)},null,12,Yq)],4))}}),t3=Tc(Qq,[["__scopeId","data-v-87cb4c8e"]]),Xq=["disabled"],Zq={key:0,value:"",disabled:"",hidden:""},eH=Ri({__name:"NSelect",props:{modelValue:{default:void 0},placeholder:{default:""},icon:{default:""},disabled:{type:Boolean,default:!1}},setup(t,{emit:e}){const i=XM(t,"modelValue",e,{passive:!0});return(s,o)=>{const a=Jp;return We(),Ct("div",{class:Yr(["n-select flex flex items-center border rounded px-2 py-1 focus-within:n-focus-base focus-within:border-context n-bg-base",s.disabled?"border-gray:10":"n-border-base"])},[Ar(s.$slots,"icon",{},()=>[s.icon?(We(),wn(a,{key:0,icon:s.icon,class:"mr-0.4em text-1.1em op50"},null,8,["icon"])):pr("",!0)]),YR(qe("select",{"onUpdate:modelValue":o[0]||(o[0]=l=>Ti(i)?i.value=l:null),disabled:s.disabled,class:Yr(["w-full flex-auto n-bg-base !outline-none",s.disabled?"appearance-none":""])},[s.placeholder?(We(),Ct("option",Zq,Nr(s.placeholder),1)):pr("",!0),Ar(s.$slots,"default")],10,Xq),[[Vz,Se(i)]])],2)}}}),tH={flex:"~ gap-3","items-center":""},nH=Ri({__name:"NIconTitle",props:{icon:{},text:{}},setup(t){return(e,n)=>(We(),Ct("div",tH,[e.icon?(We(),Ct("div",{key:0,class:Yr(e.icon)},null,2)):pr("",!0),Ar(e.$slots,"default",{},()=>[qe("div",null,Nr(e.text),1)])]))}}),rH=["open"],iH={"text-base":""},sH={key:0,"text-sm":"",op50:""},oH=Ri({__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=XM(t,"open");function r(i){n.value=i.target.open}return(i,s)=>{const o=Jp,a=nH;return We(),Ct(Ei,null,[qe("details",{open:Se(n),onToggle:r},[qe("summary",{class:Yr(["cursor-pointer select-none n-bg-active hover:bg-active p4 rounded transition-all",i.collapse?"":"pointer-events-none"])},[rt(a,{icon:i.icon,text:i.text,"text-xl":"",transition:"",class:Yr([Se(n)?"op100":"op60",i.headerClass])},{default:mt(()=>[qe("div",null,[qe("div",iH,[Ar(i.$slots,"text",{},()=>[Ut(Nr(i.text),1)],!0)]),i.description||i.$slots.description?(We(),Ct("div",sH,[Ar(i.$slots,"description",{},()=>[Ut(Nr(i.description),1)],!0)])):pr("",!0)]),s[0]||(s[0]=qe("div",{class:"flex-auto"},null,-1)),Ar(i.$slots,"actions",{},void 0,!0),i.collapse?(We(),wn(o,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):pr("",!0)]),_:3},8,["icon","text","class"])],2),qe("div",{class:Yr(["flex flex-col flex-gap2 pb6 pt2",typeof i.padding=="string"?i.padding:i.padding?"px4":""])},[Ar(i.$slots,"details",{},void 0,!0),qe("div",{class:Yr([i.containerClass,"mt1"])},[Ar(i.$slots,"default",{},void 0,!0)],2),Ar(i.$slots,"footer",{},void 0,!0)],2)],40,rH),s[1]||(s[1]=qe("div",{class:"x-divider"},null,-1))],64)}}}),aH=Tc(oH,[["__scopeId","data-v-348c1d92"]]),lH={class:"group"},cH={class:"opacity-70 text-sm transition group-hover:opacity-100"},uH={class:"border-2 group-hover:shadow-sm rounded-[0.35rem] border-transparent hover:border-yellow-500 transition-all"},dH={class:"w-[300px] h-[150px] relative"},fH={class:"flex justify-between items-center text-xs px-2"},hH={class:""},pH={key:0,class:"opacity-70 transition group-hover:opacity-100"},mH=Ri({__name:"TemplateComponentPreview",props:{src:{},aspectRatio:{},component:{},active:{type:Boolean},imageFormat:{}},setup(t){const e=t;function n(){var a;(a=Gl.value)==null||a.devtools.rpc.openInEditor(e.component.path)}const r=mn(()=>e.src.includes(".html")),i=mn(()=>{var a;return(a=e.component.credits)==null?void 0:a.split("<")[0].trim()}),s=mn(()=>{var a;return(a=e.component.credits)==null?void 0:a.split("<")[1].trim().replace(">","")}),o=Zt();return(a,l)=>{const c=UM,u=Jp,d=GM,h=t3,p=yl("VTooltip");return We(),Ct("div",lH,[qe("div",cH,[rt(c,{href:s.value,external:"",class:"underline"},{default:mt(()=>[Ut(Nr(a.component.pascalName),1)]),_:1},8,["href"])]),qe("div",uH,[rt(p,null,{popper:mt(()=>[Ut(" Preview "+Nr(a.component.pascalName)+" for the current page. ",1)]),default:mt(()=>[qe("div",dH,[a.active?(We(),wn(u,{key:0,icon:"carbon:checkmark-filled",class:"absolute top-2 right-2 text-green-500"})):pr("",!0),r.value?(We(),wn(h,{key:2,src:a.src,class:"pointer-events-none","max-height":120,"aspect-ratio":a.aspectRatio,onLoad:l[1]||(l[1]=m=>o.value=m)},null,8,["src","aspect-ratio"])):(We(),wn(d,{key:1,src:Se(Ad)(a.src,{component:a.component.pascalName}),"aspect-ratio":a.aspectRatio,class:Yr(["rounded overflow-hidden",a.active?["ring-2 ring-green-500"]:[]]),onLoad:l[0]||(l[0]=m=>o.value=m)},null,8,["src","aspect-ratio","class"]))])]),_:1})]),qe("div",fH,[rt(p,null,{popper:mt(()=>[Ut(" Open the source code of "+Nr(a.component.pascalName)+".vue in your IDE ",1)]),default:mt(()=>[qe("div",hH,[rt(c,{external:"",class:"opacity-70 items-start space-x-1 flex",onClick:Uz(n,["stop"])},{default:mt(()=>l[2]||(l[2]=[qe("span",{class:"underline"},"View source",-1)])),_:1})])]),_:1}),a.component.credits?(We(),Ct("div",pH,[l[3]||(l[3]=Ut(" Credits: ")),s.value?(We(),wn(c,{key:0,href:s.value,external:"",class:"underline"},{default:mt(()=>[Ut(Nr(i.value),1)]),_:1},8,["href"])):pr("",!0)])):pr("",!0)])])}}}),n3=[{id:"abap",name:"ABAP",import:()=>J(()=>import("./DsBKuouk.js"),[],import.meta.url)},{id:"actionscript-3",name:"ActionScript",import:()=>J(()=>import("./D_z4Izcz.js"),[],import.meta.url)},{id:"ada",name:"Ada",import:()=>J(()=>import("./727ZlQH0.js"),[],import.meta.url)},{id:"angular-html",name:"Angular HTML",import:()=>J(()=>import("./CMt9yHYq.js").then(t=>t.f),__vite__mapDeps([0,1,2,3]),import.meta.url)},{id:"angular-ts",name:"Angular TypeScript",import:()=>J(()=>import("./Drsz93k2.js"),__vite__mapDeps([4,0,1,2,3,5]),import.meta.url)},{id:"apache",name:"Apache Conf",import:()=>J(()=>import("./Dn00JSTd.js"),[],import.meta.url)},{id:"apex",name:"Apex",import:()=>J(()=>import("./COJ4H7py.js"),[],import.meta.url)},{id:"apl",name:"APL",import:()=>J(()=>import("./CGVVOGHx.js"),__vite__mapDeps([6,1,2,3,7,8,9]),import.meta.url)},{id:"applescript",name:"AppleScript",import:()=>J(()=>import("./Bu5BbsvL.js"),[],import.meta.url)},{id:"ara",name:"Ara",import:()=>J(()=>import("./7O62HKoU.js"),[],import.meta.url)},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:()=>J(()=>import("./BPT9niGB.js"),[],import.meta.url)},{id:"asm",name:"Assembly",import:()=>J(()=>import("./Dhn9LcZ4.js"),[],import.meta.url)},{id:"astro",name:"Astro",import:()=>J(()=>import("./B-k3dvlD.js"),__vite__mapDeps([10,9,2,11,3,12]),import.meta.url)},{id:"awk",name:"AWK",import:()=>J(()=>import("./eg146-Ew.js"),[],import.meta.url)},{id:"ballerina",name:"Ballerina",import:()=>J(()=>import("./Du268qiB.js"),[],import.meta.url)},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>J(()=>import("./fje9CFhw.js"),[],import.meta.url)},{id:"beancount",name:"Beancount",import:()=>J(()=>import("./BwXTMy5W.js"),[],import.meta.url)},{id:"berry",name:"Berry",aliases:["be"],import:()=>J(()=>import("./3xVqZejG.js"),[],import.meta.url)},{id:"bibtex",name:"BibTeX",import:()=>J(()=>import("./xW4inM5L.js"),[],import.meta.url)},{id:"bicep",name:"Bicep",import:()=>J(()=>import("./DHo0CJ0O.js"),[],import.meta.url)},{id:"blade",name:"Blade",import:()=>J(()=>import("./CZe0XNBd.js"),__vite__mapDeps([13,1,2,3,7,8,14,9]),import.meta.url)},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:()=>J(()=>import("./Bu73EIfS.js"),__vite__mapDeps([15,16]),import.meta.url)},{id:"c",name:"C",import:()=>J(()=>import("./C3t2pwGQ.js"),[],import.meta.url)},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>J(()=>import("./DNquZEk8.js"),[],import.meta.url)},{id:"cairo",name:"Cairo",import:()=>J(()=>import("./D8mZ0lfy.js"),__vite__mapDeps([17,18]),import.meta.url)},{id:"clarity",name:"Clarity",import:()=>J(()=>import("./BHOwM8T6.js"),[],import.meta.url)},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>J(()=>import("./DxSadP1t.js"),[],import.meta.url)},{id:"cmake",name:"CMake",import:()=>J(()=>import("./DbXoA79R.js"),[],import.meta.url)},{id:"cobol",name:"COBOL",import:()=>J(()=>import("./DLVR-baX.js"),__vite__mapDeps([19,1,2,3,8]),import.meta.url)},{id:"codeowners",name:"CODEOWNERS",import:()=>J(()=>import("./Bp6g37R7.js"),[],import.meta.url)},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>J(()=>import("./sacFqUAJ.js"),[],import.meta.url)},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>J(()=>import("./DKOGybHv.js"),__vite__mapDeps([20,2]),import.meta.url)},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:()=>J(()=>import("./C7gG9l05.js"),[],import.meta.url)},{id:"coq",name:"Coq",import:()=>J(()=>import("./Dsg_Bt_b.js"),[],import.meta.url)},{id:"cpp",name:"C++",aliases:["c++"],import:()=>J(()=>import("./BEhvmC7f.js"),__vite__mapDeps([21,22,23,24,14]),import.meta.url)},{id:"crystal",name:"Crystal",import:()=>J(()=>import("./CQ0soPOq.js"),__vite__mapDeps([25,1,2,3,14,24,26]),import.meta.url)},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>J(()=>import("./D9R-vmeu.js"),[],import.meta.url)},{id:"css",name:"CSS",import:()=>J(()=>import("./BPhBrDlE.js"),[],import.meta.url)},{id:"csv",name:"CSV",import:()=>J(()=>import("./B0qRVHPH.js"),[],import.meta.url)},{id:"cue",name:"CUE",import:()=>J(()=>import("./DtFQj3wx.js"),[],import.meta.url)},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>J(()=>import("./m2LEI-9-.js"),[],import.meta.url)},{id:"d",name:"D",import:()=>J(()=>import("./BoXegm-a.js"),[],import.meta.url)},{id:"dart",name:"Dart",import:()=>J(()=>import("./B9wLZaAG.js"),[],import.meta.url)},{id:"dax",name:"DAX",import:()=>J(()=>import("./ClGRhx96.js"),[],import.meta.url)},{id:"desktop",name:"Desktop",import:()=>J(()=>import("./DEIpsLCJ.js"),[],import.meta.url)},{id:"diff",name:"Diff",import:()=>J(()=>import("./BgYniUM_.js"),[],import.meta.url)},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>J(()=>import("./COcR7UxN.js"),[],import.meta.url)},{id:"dotenv",name:"dotEnv",import:()=>J(()=>import("./BjQB5zDj.js"),[],import.meta.url)},{id:"dream-maker",name:"Dream Maker",import:()=>J(()=>import("./C-nORZOA.js"),[],import.meta.url)},{id:"edge",name:"Edge",import:()=>J(()=>import("./BsOYHjMa.js"),__vite__mapDeps([27,11,1,2,3,28]),import.meta.url)},{id:"elixir",name:"Elixir",import:()=>J(()=>import("./B5auBHZD.js"),__vite__mapDeps([29,1,2,3]),import.meta.url)},{id:"elm",name:"Elm",import:()=>J(()=>import("./BdxkyMLR.js"),__vite__mapDeps([30,23,24]),import.meta.url)},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:()=>J(()=>import("./BX77sIaO.js"),[],import.meta.url)},{id:"erb",name:"ERB",import:()=>J(()=>import("./UL5zprDm.js"),__vite__mapDeps([31,1,2,3,32,33,7,8,14,34,11,35,36,21,22,23,24,26,37,38]),import.meta.url)},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>J(()=>import("./B-DoSBHF.js"),[],import.meta.url)},{id:"fennel",name:"Fennel",import:()=>J(()=>import("./bCA53EVm.js"),[],import.meta.url)},{id:"fish",name:"Fish",import:()=>J(()=>import("./w-ucz2PV.js"),[],import.meta.url)},{id:"fluent",name:"Fluent",aliases:["ftl"],import:()=>J(()=>import("./Dayu4EKP.js"),[],import.meta.url)},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>J(()=>import("./DRNBmV_Q.js"),__vite__mapDeps([39,40]),import.meta.url)},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>J(()=>import("./DKXYxT9g.js"),[],import.meta.url)},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>J(()=>import("./Dmy2k9nq.js"),__vite__mapDeps([41,42]),import.meta.url)},{id:"gdresource",name:"GDResource",import:()=>J(()=>import("./BQwtg7Y-.js"),__vite__mapDeps([43,44,45]),import.meta.url)},{id:"gdscript",name:"GDScript",import:()=>J(()=>import("./DfxzS6Rs.js"),[],import.meta.url)},{id:"gdshader",name:"GDShader",import:()=>J(()=>import("./SKMF96pI.js"),[],import.meta.url)},{id:"genie",name:"Genie",import:()=>J(()=>import("./ajMbGru0.js"),[],import.meta.url)},{id:"gherkin",name:"Gherkin",import:()=>J(()=>import("./-30QC5Em.js"),[],import.meta.url)},{id:"git-commit",name:"Git Commit Message",import:()=>J(()=>import("./CKg9tqCS.js"),__vite__mapDeps([46,47]),import.meta.url)},{id:"git-rebase",name:"Git Rebase Message",import:()=>J(()=>import("./CyIGOvEh.js"),__vite__mapDeps([48,26]),import.meta.url)},{id:"gleam",name:"Gleam",import:()=>J(()=>import("./B430Bg39.js"),[],import.meta.url)},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>J(()=>import("./C-wny61x.js"),__vite__mapDeps([49,2,11,3,1]),import.meta.url)},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>J(()=>import("./C5Y8tDhP.js"),__vite__mapDeps([50,11,3,2,1]),import.meta.url)},{id:"glsl",name:"GLSL",import:()=>J(()=>import("./COyJrUc7.js"),__vite__mapDeps([23,24]),import.meta.url)},{id:"gnuplot",name:"Gnuplot",import:()=>J(()=>import("./CM8KxXT1.js"),[],import.meta.url)},{id:"go",name:"Go",import:()=>J(()=>import("./B1SYOhNW.js"),[],import.meta.url)},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>J(()=>import("./DjHMNizO.js"),__vite__mapDeps([34,2,11,35,36]),import.meta.url)},{id:"groovy",name:"Groovy",import:()=>J(()=>import("./DkBy-JyN.js"),[],import.meta.url)},{id:"hack",name:"Hack",import:()=>J(()=>import("./C30yJ1fx.js"),__vite__mapDeps([51,1,2,3,14]),import.meta.url)},{id:"haml",name:"Ruby Haml",import:()=>J(()=>import("./m4gc_qpA.js"),__vite__mapDeps([33,2,3]),import.meta.url)},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>J(()=>import("./C0nbwVuJ.js"),__vite__mapDeps([52,1,2,3,38]),import.meta.url)},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>J(()=>import("./BILxekzW.js"),[],import.meta.url)},{id:"haxe",name:"Haxe",import:()=>J(()=>import("./C5wWYbrZ.js"),[],import.meta.url)},{id:"hcl",name:"HashiCorp HCL",import:()=>J(()=>import("./HzYwdGDm.js"),[],import.meta.url)},{id:"hjson",name:"Hjson",import:()=>J(()=>import("./T-Tgc4AT.js"),[],import.meta.url)},{id:"hlsl",name:"HLSL",import:()=>J(()=>import("./ifBTmRxC.js"),[],import.meta.url)},{id:"html",name:"HTML",import:()=>J(()=>import("./BMYPR7BL.js"),__vite__mapDeps([1,2,3]),import.meta.url)},{id:"html-derivative",name:"HTML (Derivative)",import:()=>J(()=>import("./e4jU7D2d.js"),__vite__mapDeps([28,1,2,3]),import.meta.url)},{id:"http",name:"HTTP",import:()=>J(()=>import("./din0uRiO.js"),__vite__mapDeps([53,26,9,7,8,34,2,11,35,36]),import.meta.url)},{id:"hxml",name:"HXML",import:()=>J(()=>import("./YJb9dmdj.js"),__vite__mapDeps([54,55]),import.meta.url)},{id:"hy",name:"Hy",import:()=>J(()=>import("./BMj5Y0dO.js"),[],import.meta.url)},{id:"imba",name:"Imba",import:()=>J(()=>import("./DPvbFsQx.js"),__vite__mapDeps([56,11]),import.meta.url)},{id:"ini",name:"INI",aliases:["properties"],import:()=>J(()=>import("./BjABl1g7.js"),[],import.meta.url)},{id:"java",name:"Java",import:()=>J(()=>import("./xI-RfyKK.js"),[],import.meta.url)},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>J(()=>import("./ySlJ1b_l.js"),[],import.meta.url)},{id:"jinja",name:"Jinja",import:()=>J(()=>import("./3kbuJQcV.js"),__vite__mapDeps([57,1,2,3]),import.meta.url)},{id:"jison",name:"Jison",import:()=>J(()=>import("./CsSk9TLD.js"),__vite__mapDeps([58,2]),import.meta.url)},{id:"json",name:"JSON",import:()=>J(()=>import("./BQoSv7ci.js"),[],import.meta.url)},{id:"json5",name:"JSON5",import:()=>J(()=>import("./w8dY5SsB.js"),[],import.meta.url)},{id:"jsonc",name:"JSON with Comments",import:()=>J(()=>import("./TU54ms6u.js"),[],import.meta.url)},{id:"jsonl",name:"JSON Lines",import:()=>J(()=>import("./DREVFZK8.js"),[],import.meta.url)},{id:"jsonnet",name:"Jsonnet",import:()=>J(()=>import("./BfivnA6A.js"),[],import.meta.url)},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>J(()=>import("./P4WzXJd0.js"),[],import.meta.url)},{id:"jsx",name:"JSX",import:()=>J(()=>import("./BAng5TT0.js"),[],import.meta.url)},{id:"julia",name:"Julia",aliases:["jl"],import:()=>J(()=>import("./Bw0wYZmb.js"),__vite__mapDeps([59,21,22,23,24,14,18,2,60]),import.meta.url)},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>J(()=>import("./B5lbUyaz.js"),[],import.meta.url)},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>J(()=>import("./mebxcVVE.js"),[],import.meta.url)},{id:"latex",name:"LaTeX",import:()=>J(()=>import("./DsWjAdsX.js"),__vite__mapDeps([61,62,60]),import.meta.url)},{id:"lean",name:"Lean 4",aliases:["lean4"],import:()=>J(()=>import("./XBlWyCtg.js"),[],import.meta.url)},{id:"less",name:"Less",import:()=>J(()=>import("./BfCpw3nA.js"),[],import.meta.url)},{id:"liquid",name:"Liquid",import:()=>J(()=>import("./BVr_1_27.js"),__vite__mapDeps([63,1,2,3,9]),import.meta.url)},{id:"log",name:"Log file",import:()=>J(()=>import("./Cc5clBb7.js"),[],import.meta.url)},{id:"logo",name:"Logo",import:()=>J(()=>import("./IuBKFhSY.js"),[],import.meta.url)},{id:"lua",name:"Lua",import:()=>J(()=>import("./Dbxjm_CC.js"),__vite__mapDeps([37,24]),import.meta.url)},{id:"luau",name:"Luau",import:()=>J(()=>import("./Du5NY7AG.js"),[],import.meta.url)},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>J(()=>import("./Bvotw-X0.js"),[],import.meta.url)},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>J(()=>import("./UIAJJxZW.js"),[],import.meta.url)},{id:"marko",name:"Marko",import:()=>J(()=>import("./Cz8P-rqG.js"),__vite__mapDeps([64,3,65,5,2]),import.meta.url)},{id:"matlab",name:"MATLAB",import:()=>J(()=>import("./D9-PGadD.js"),[],import.meta.url)},{id:"mdc",name:"MDC",import:()=>J(()=>import("./BE9QQhgF.js"),__vite__mapDeps([66,42,38,28,1,2,3]),import.meta.url)},{id:"mdx",name:"MDX",import:()=>J(()=>import("./sdHcTMYB.js"),[],import.meta.url)},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:()=>J(()=>import("./Ci6OQyBP.js"),[],import.meta.url)},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:()=>J(()=>import("./BC5c_5Pe.js"),[],import.meta.url)},{id:"mojo",name:"Mojo",import:()=>J(()=>import("./Tz6hzZYG.js"),[],import.meta.url)},{id:"move",name:"Move",import:()=>J(()=>import("./DB_GagMm.js"),[],import.meta.url)},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>J(()=>import("./DLbgOhZU.js"),[],import.meta.url)},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>J(()=>import("./B0XVJmRM.js"),[],import.meta.url)},{id:"nginx",name:"Nginx",import:()=>J(()=>import("./9C6ErRqt.js"),__vite__mapDeps([67,37,24]),import.meta.url)},{id:"nim",name:"Nim",import:()=>J(()=>import("./D5pd2Owo.js"),__vite__mapDeps([68,24,1,2,3,7,8,23,42]),import.meta.url)},{id:"nix",name:"Nix",import:()=>J(()=>import("./shcSOmrb.js"),[],import.meta.url)},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>J(()=>import("./D4Tzg5kh.js"),[],import.meta.url)},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>J(()=>import("./Deuh7S70.js"),[],import.meta.url)},{id:"objective-cpp",name:"Objective-C++",import:()=>J(()=>import("./BUEGK8hf.js"),[],import.meta.url)},{id:"ocaml",name:"OCaml",import:()=>J(()=>import("./BNioltXt.js"),[],import.meta.url)},{id:"pascal",name:"Pascal",import:()=>J(()=>import("./JqZropPD.js"),[],import.meta.url)},{id:"perl",name:"Perl",import:()=>J(()=>import("./C1tVc3UG.js"),__vite__mapDeps([69,1,2,3,7,8,14]),import.meta.url)},{id:"php",name:"PHP",import:()=>J(()=>import("./HNqc6WRo.js"),__vite__mapDeps([70,1,2,3,7,8,14,9]),import.meta.url)},{id:"plsql",name:"PL/SQL",import:()=>J(()=>import("./LKU2TuZ1.js"),[],import.meta.url)},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:()=>J(()=>import("./BFLt1xDp.js"),[],import.meta.url)},{id:"polar",name:"Polar",import:()=>J(()=>import("./DKykz6zU.js"),[],import.meta.url)},{id:"postcss",name:"PostCSS",import:()=>J(()=>import("./B3ZDOciz.js"),[],import.meta.url)},{id:"powerquery",name:"PowerQuery",import:()=>J(()=>import("./CSHBycmS.js"),[],import.meta.url)},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>J(()=>import("./BIEUsx6d.js"),[],import.meta.url)},{id:"prisma",name:"Prisma",import:()=>J(()=>import("./B48N-Iqd.js"),[],import.meta.url)},{id:"prolog",name:"Prolog",import:()=>J(()=>import("./BY-TUvya.js"),[],import.meta.url)},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:()=>J(()=>import("./zocC4JxJ.js"),[],import.meta.url)},{id:"pug",name:"Pug",aliases:["jade"],import:()=>J(()=>import("./DYvnoCeB.js"),__vite__mapDeps([71,2,3,1]),import.meta.url)},{id:"puppet",name:"Puppet",import:()=>J(()=>import("./Cza_XSSt.js"),[],import.meta.url)},{id:"purescript",name:"PureScript",import:()=>J(()=>import("./Bg-kzb6g.js"),[],import.meta.url)},{id:"python",name:"Python",aliases:["py"],import:()=>J(()=>import("./DhUJRlN_.js"),[],import.meta.url)},{id:"qml",name:"QML",import:()=>J(()=>import("./Bid6LQhH.js"),__vite__mapDeps([72,2]),import.meta.url)},{id:"qmldir",name:"QML Directory",import:()=>J(()=>import("./C8lEn-DE.js"),[],import.meta.url)},{id:"qss",name:"Qt Style Sheets",import:()=>J(()=>import("./DhMKtDLN.js"),[],import.meta.url)},{id:"r",name:"R",import:()=>J(()=>import("./CwjWoCRV.js"),[],import.meta.url)},{id:"racket",name:"Racket",import:()=>J(()=>import("./CzouJOBO.js"),[],import.meta.url)},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>J(()=>import("./B1bQXN8T.js"),[],import.meta.url)},{id:"razor",name:"ASP.NET Razor",import:()=>J(()=>import("./CcHjYXgz.js"),__vite__mapDeps([73,1,2,3,74]),import.meta.url)},{id:"reg",name:"Windows Registry Script",import:()=>J(()=>import("./5LuOXUq_.js"),[],import.meta.url)},{id:"regexp",name:"RegExp",aliases:["regex"],import:()=>J(()=>import("./DWJ3fJO_.js"),[],import.meta.url)},{id:"rel",name:"Rel",import:()=>J(()=>import("./DJlmqQ1C.js"),[],import.meta.url)},{id:"riscv",name:"RISC-V",import:()=>J(()=>import("./QhoSD0DR.js"),[],import.meta.url)},{id:"rst",name:"reStructuredText",import:()=>J(()=>import("./CSp6iqVD.js"),__vite__mapDeps([75,28,1,2,3,21,22,23,24,14,18,26,38,76,32,33,7,8,34,11,35,36,37]),import.meta.url)},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>J(()=>import("./CYFUjXW1.js"),__vite__mapDeps([32,1,2,3,33,7,8,14,34,11,35,36,21,22,23,24,26,37,38]),import.meta.url)},{id:"rust",name:"Rust",aliases:["rs"],import:()=>J(()=>import("./Be6lgOlo.js"),[],import.meta.url)},{id:"sas",name:"SAS",import:()=>J(()=>import("./BiFfXF7O.js"),__vite__mapDeps([77,14]),import.meta.url)},{id:"sass",name:"Sass",import:()=>J(()=>import("./BJ4Li9vH.js"),[],import.meta.url)},{id:"scala",name:"Scala",import:()=>J(()=>import("./B_49xXYf.js"),[],import.meta.url)},{id:"scheme",name:"Scheme",import:()=>J(()=>import("./BJGe-b2p.js"),[],import.meta.url)},{id:"scss",name:"SCSS",import:()=>J(()=>import("./Bl1h29GH.js"),__vite__mapDeps([5,3]),import.meta.url)},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:()=>J(()=>import("./BLhTXw86.js"),[],import.meta.url)},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>J(()=>import("./B14Poo8t.js"),__vite__mapDeps([78,79]),import.meta.url)},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>J(()=>import("./atvbtKCR.js"),[],import.meta.url)},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>J(()=>import("./BNHBcdi1.js"),__vite__mapDeps([80,26]),import.meta.url)},{id:"smalltalk",name:"Smalltalk",import:()=>J(()=>import("./DkLiglaE.js"),[],import.meta.url)},{id:"solidity",name:"Solidity",import:()=>J(()=>import("./C1w2a3ep.js"),[],import.meta.url)},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:()=>J(()=>import("./qpfuy3xp.js"),__vite__mapDeps([81,1,2,3]),import.meta.url)},{id:"sparql",name:"SPARQL",import:()=>J(()=>import("./SPD3sf1n.js"),__vite__mapDeps([82,83]),import.meta.url)},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>J(()=>import("./Cf8iN4DR.js"),[],import.meta.url)},{id:"sql",name:"SQL",import:()=>J(()=>import("./COK4E0Yg.js"),[],import.meta.url)},{id:"ssh-config",name:"SSH Config",import:()=>J(()=>import("./BknIz3MU.js"),[],import.meta.url)},{id:"stata",name:"Stata",import:()=>J(()=>import("./R900dpIa.js"),__vite__mapDeps([84,14]),import.meta.url)},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>J(()=>import("./BeQkCIfX.js"),[],import.meta.url)},{id:"svelte",name:"Svelte",import:()=>J(()=>import("./BXW1EomU.js"),__vite__mapDeps([85,2,11,3,12]),import.meta.url)},{id:"swift",name:"Swift",import:()=>J(()=>import("./Ye_uPAM8.js"),[],import.meta.url)},{id:"system-verilog",name:"SystemVerilog",import:()=>J(()=>import("./C7L56vO4.js"),[],import.meta.url)},{id:"systemd",name:"Systemd Units",import:()=>J(()=>import("./CUnW07Te.js"),[],import.meta.url)},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:()=>J(()=>import("./C1XDQQGZ.js"),[],import.meta.url)},{id:"tasl",name:"Tasl",import:()=>J(()=>import("./CQjiPCtT.js"),[],import.meta.url)},{id:"tcl",name:"Tcl",import:()=>J(()=>import("./DQ1-QYvQ.js"),[],import.meta.url)},{id:"templ",name:"Templ",import:()=>J(()=>import("./B2vK47Ag.js"),__vite__mapDeps([86,87,2,3]),import.meta.url)},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>J(()=>import("./BbSNqyBO.js"),[],import.meta.url)},{id:"tex",name:"TeX",import:()=>J(()=>import("./qmhIZ77x.js"),__vite__mapDeps([62,60]),import.meta.url)},{id:"toml",name:"TOML",import:()=>J(()=>import("./CB2ApiWb.js"),[],import.meta.url)},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:()=>J(()=>import("./wI6OXr6j.js"),__vite__mapDeps([88,11,3,2,23,24,1,14,7,8]),import.meta.url)},{id:"tsv",name:"TSV",import:()=>J(()=>import("./B_m7g4N7.js"),[],import.meta.url)},{id:"tsx",name:"TSX",import:()=>J(()=>import("./B6W0miNI.js"),[],import.meta.url)},{id:"turtle",name:"Turtle",import:()=>J(()=>import("./BMR_PYu6.js"),[],import.meta.url)},{id:"twig",name:"Twig",import:()=>J(()=>import("./DDtJtuOZ.js"),__vite__mapDeps([89,3,2,5,70,1,7,8,14,9,18,32,33,34,11,35,36,21,22,23,24,26,37,38]),import.meta.url)},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>J(()=>import("./Dj6nwHGl.js"),[],import.meta.url)},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:()=>J(()=>import("./BpWG_bgh.js"),[],import.meta.url)},{id:"typst",name:"Typst",aliases:["typ"],import:()=>J(()=>import("./BVUVsWT6.js"),[],import.meta.url)},{id:"v",name:"V",import:()=>J(()=>import("./CAQ2eGtk.js"),[],import.meta.url)},{id:"vala",name:"Vala",import:()=>J(()=>import("./BFOHcciG.js"),[],import.meta.url)},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>J(()=>import("./CdO5JTpU.js"),[],import.meta.url)},{id:"verilog",name:"Verilog",import:()=>J(()=>import("./CJaU5se_.js"),[],import.meta.url)},{id:"vhdl",name:"VHDL",import:()=>J(()=>import("./DYoNaHQp.js"),[],import.meta.url)},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>J(()=>import("./m4uW47V2.js"),[],import.meta.url)},{id:"vue",name:"Vue",import:()=>J(()=>import("./DRhBOlRY.js"),__vite__mapDeps([90,1,2,3,11,9,28]),import.meta.url)},{id:"vue-html",name:"Vue HTML",import:()=>J(()=>import("./BlxRB_8X.js"),__vite__mapDeps([91,90,1,2,3,11,9,28]),import.meta.url)},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>J(()=>import("./nyqBNV6O.js"),[],import.meta.url)},{id:"wasm",name:"WebAssembly",import:()=>J(()=>import("./C6j12Q_x.js"),[],import.meta.url)},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>J(()=>import("./7A4Fjokl.js"),[],import.meta.url)},{id:"wgsl",name:"WGSL",import:()=>J(()=>import("./CB0Krxn9.js"),[],import.meta.url)},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:()=>J(()=>import("./DCE3LsBG.js"),[],import.meta.url)},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>J(()=>import("./C3FkfJm5.js"),[],import.meta.url)},{id:"xml",name:"XML",import:()=>J(()=>import("./cPjAOO0u.js"),__vite__mapDeps([7,8]),import.meta.url)},{id:"xsl",name:"XSL",import:()=>J(()=>import("./ahYVQIuB.js"),__vite__mapDeps([92,7,8]),import.meta.url)},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>J(()=>import("./CVw76BM1.js"),[],import.meta.url)},{id:"zenscript",name:"ZenScript",import:()=>J(()=>import("./HnGAYVZD.js"),[],import.meta.url)},{id:"zig",name:"Zig",import:()=>J(()=>import("./BVz_zdnA.js"),[],import.meta.url)}],gH=Object.fromEntries(n3.map(t=>[t.id,t.import])),vH=Object.fromEntries(n3.flatMap(t=>{var e;return((e=t.aliases)==null?void 0:e.map(n=>[n,t.import]))||[]})),yH={...gH,...vH},bH=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>J(()=>import("./C3khCPGq.js"),[],import.meta.url)},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>J(()=>import("./D-2ljcwZ.js"),[],import.meta.url)},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>J(()=>import("./Cv9koXgw.js"),[],import.meta.url)},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:()=>J(()=>import("./CD_QflpE.js"),[],import.meta.url)},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>J(()=>import("./DRW-0cLl.js"),[],import.meta.url)},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>J(()=>import("./C-_shW-Y.js"),[],import.meta.url)},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>J(()=>import("./LGGdnPYs.js"),[],import.meta.url)},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>J(()=>import("./C3mMm8J8.js"),[],import.meta.url)},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:()=>J(()=>import("./BzJJZx-M.js"),[],import.meta.url)},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:()=>J(()=>import("./BXkSAIEj.js"),[],import.meta.url)},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:()=>J(()=>import("./BgDCqdQA.js"),[],import.meta.url)},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:()=>J(()=>import("./C8M2exoo.js"),[],import.meta.url)},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>J(()=>import("./DHJKELXO.js"),[],import.meta.url)},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>J(()=>import("./Cuk6v7N8.js"),[],import.meta.url)},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>J(()=>import("./DH5Ifo-i.js"),[],import.meta.url)},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:()=>J(()=>import("./E3gJ1_iC.js"),[],import.meta.url)},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>J(()=>import("./DAi9KRSo.js"),[],import.meta.url)},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>J(()=>import("./D7oLnXFd.js"),[],import.meta.url)},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:()=>J(()=>import("./BfjtVDDH.js"),[],import.meta.url)},{id:"houston",displayName:"Houston",type:"dark",import:()=>J(()=>import("./DnULxvSX.js"),[],import.meta.url)},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:()=>J(()=>import("./CkXjmgJE.js"),[],import.meta.url)},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:()=>J(()=>import("./CfQXZHmo.js"),[],import.meta.url)},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:()=>J(()=>import("./DWedfzmr.js"),[],import.meta.url)},{id:"laserwave",displayName:"LaserWave",type:"dark",import:()=>J(()=>import("./DUszq2jm.js"),[],import.meta.url)},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>J(()=>import("./B7mTdjB0.js"),[],import.meta.url)},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>J(()=>import("./D5KoaKCx.js"),[],import.meta.url)},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>J(()=>import("./BfHTSMKl.js"),[],import.meta.url)},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>J(()=>import("./B0m2ddpp.js"),[],import.meta.url)},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>J(()=>import("./CyktbL80.js"),[],import.meta.url)},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>J(()=>import("./Csfq5Kiy.js"),[],import.meta.url)},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>J(()=>import("./CafNBF8u.js"),[],import.meta.url)},{id:"min-light",displayName:"Min Light",type:"light",import:()=>J(()=>import("./CTRr51gU.js"),[],import.meta.url)},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>J(()=>import("./D4h5O-jR.js"),[],import.meta.url)},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>J(()=>import("./C39BiMTA.js"),[],import.meta.url)},{id:"nord",displayName:"Nord",type:"dark",import:()=>J(()=>import("./Ddv68eIx.js"),[],import.meta.url)},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>J(()=>import("./GBQ2dnAY.js"),[],import.meta.url)},{id:"one-light",displayName:"One Light",type:"light",import:()=>J(()=>import("./PoHY5YXO.js"),[],import.meta.url)},{id:"plastic",displayName:"Plastic",type:"dark",import:()=>J(()=>import("./3e1v2bzS.js"),[],import.meta.url)},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>J(()=>import("./CS3Unz2-.js"),[],import.meta.url)},{id:"red",displayName:"Red",type:"dark",import:()=>J(()=>import("./bN70gL4F.js"),[],import.meta.url)},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:()=>J(()=>import("./CmCqftbK.js"),[],import.meta.url)},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:()=>J(()=>import("./Ds-gbosJ.js"),[],import.meta.url)},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:()=>J(()=>import("./CjDtw9vr.js"),[],import.meta.url)},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>J(()=>import("./BthQWCQV.js"),[],import.meta.url)},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>J(()=>import("./DqwNpetd.js"),[],import.meta.url)},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:()=>J(()=>import("./Bw305WKR.js"),[],import.meta.url)},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>J(()=>import("./DXbdFlpD.js"),[],import.meta.url)},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>J(()=>import("./L9t79GZl.js"),[],import.meta.url)},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>J(()=>import("./CbfX1IO0.js"),[],import.meta.url)},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>J(()=>import("./DBQeEorK.js"),[],import.meta.url)},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>J(()=>import("./BEBZ7ncR.js"),[],import.meta.url)},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>J(()=>import("./Bkuqu6BP.js"),[],import.meta.url)},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>J(()=>import("./D0r3Knsf.js"),[],import.meta.url)},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>J(()=>import("./CVO1_9PV.js"),[],import.meta.url)}],wH=Object.fromEntries(bH.map(t=>[t.id,t.import]));let ll=class extends Error{constructor(e){super(e),this.name="ShikiError"}},Rk=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function xH(){return 2147483648}function _H(){return typeof performance<"u"?performance.now():Date.now()}const jH=(t,e)=>t+(e-t%e)%e;async function kH(t){let e,n;const r={};function i(p){n=p,r.HEAPU8=new Uint8Array(p),r.HEAPU32=new Uint32Array(p)}function s(p,m,b){r.HEAPU8.copyWithin(p,m,m+b)}function o(p){try{return e.grow(p-n.byteLength+65535>>>16),i(e.buffer),1}catch{}}function a(p){const m=r.HEAPU8.length;p=p>>>0;const b=xH();if(p>b)return!1;for(let g=1;g<=4;g*=2){let v=m*(1+.2/g);v=Math.min(v,p+100663296);const y=Math.min(b,jH(Math.max(p,v),65536));if(o(y))return!0}return!1}const l=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function c(p,m,b=1024){const g=m+b;let v=m;for(;p[v]&&!(v>=g);)++v;if(v-m>16&&p.buffer&&l)return l.decode(p.subarray(m,v));let y="";for(;m<v;){let w=p[m++];if(!(w&128)){y+=String.fromCharCode(w);continue}const x=p[m++]&63;if((w&224)===192){y+=String.fromCharCode((w&31)<<6|x);continue}const _=p[m++]&63;if((w&240)===224?w=(w&15)<<12|x<<6|_:w=(w&7)<<18|x<<12|_<<6|p[m++]&63,w<65536)y+=String.fromCharCode(w);else{const j=w-65536;y+=String.fromCharCode(55296|j>>10,56320|j&1023)}}return y}function u(p,m){return p?c(r.HEAPU8,p,m):""}const d={emscripten_get_now:_H,emscripten_memcpy_big:s,emscripten_resize_heap:a,fd_write:()=>0};async function h(){const m=await t({env:d,wasi_snapshot_preview1:d});e=m.memory,i(e.buffer),Object.assign(r,m),r.UTF8ToString=u}return await h(),r}var SH=Object.defineProperty,CH=(t,e,n)=>e in t?SH(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Li=(t,e,n)=>(CH(t,typeof e!="symbol"?e+"":e,n),n);let Fi=null;function EH(t){throw new Rk(t.UTF8ToString(t.getLastOnigError()))}class u0{constructor(e){Li(this,"utf16Length"),Li(this,"utf8Length"),Li(this,"utf16Value"),Li(this,"utf8Value"),Li(this,"utf16OffsetToUtf8"),Li(this,"utf8OffsetToUtf16");const n=e.length,r=u0._utf8ByteLength(e),i=r!==n,s=i?new Uint32Array(n+1):null;i&&(s[n]=r);const o=i?new Uint32Array(r+1):null;i&&(o[r]=n);const a=new Uint8Array(r);let l=0;for(let c=0;c<n;c++){const u=e.charCodeAt(c);let d=u,h=!1;if(u>=55296&&u<=56319&&c+1<n){const p=e.charCodeAt(c+1);p>=56320&&p<=57343&&(d=(u-55296<<10)+65536|p-56320,h=!0)}i&&(s[c]=l,h&&(s[c+1]=l),d<=127?o[l+0]=c:d<=2047?(o[l+0]=c,o[l+1]=c):d<=65535?(o[l+0]=c,o[l+1]=c,o[l+2]=c):(o[l+0]=c,o[l+1]=c,o[l+2]=c,o[l+3]=c)),d<=127?a[l++]=d:d<=2047?(a[l++]=192|(d&1984)>>>6,a[l++]=128|(d&63)>>>0):d<=65535?(a[l++]=224|(d&61440)>>>12,a[l++]=128|(d&4032)>>>6,a[l++]=128|(d&63)>>>0):(a[l++]=240|(d&1835008)>>>18,a[l++]=128|(d&258048)>>>12,a[l++]=128|(d&4032)>>>6,a[l++]=128|(d&63)>>>0),h&&c++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=e,this.utf8Value=a,this.utf16OffsetToUtf8=s,this.utf8OffsetToUtf16=o}static _utf8ByteLength(e){let n=0;for(let r=0,i=e.length;r<i;r++){const s=e.charCodeAt(r);let o=s,a=!1;if(s>=55296&&s<=56319&&r+1<i){const l=e.charCodeAt(r+1);l>=56320&&l<=57343&&(o=(s-55296<<10)+65536|l-56320,a=!0)}o<=127?n+=1:o<=2047?n+=2:o<=65535?n+=3:n+=4,a&&r++}return n}createString(e){const n=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,n),n}}const fa=class{constructor(t){if(Li(this,"id",++fa.LAST_ID),Li(this,"_onigBinding"),Li(this,"content"),Li(this,"utf16Length"),Li(this,"utf8Length"),Li(this,"utf16OffsetToUtf8"),Li(this,"utf8OffsetToUtf16"),Li(this,"ptr"),!Fi)throw new Rk("Must invoke loadWasm first.");this._onigBinding=Fi,this.content=t;const e=new u0(t);this.utf16Length=e.utf16Length,this.utf8Length=e.utf8Length,this.utf16OffsetToUtf8=e.utf16OffsetToUtf8,this.utf8OffsetToUtf16=e.utf8OffsetToUtf16,this.utf8Length<1e4&&!fa._sharedPtrInUse?(fa._sharedPtr||(fa._sharedPtr=Fi.omalloc(1e4)),fa._sharedPtrInUse=!0,Fi.HEAPU8.set(e.utf8Value,fa._sharedPtr),this.ptr=fa._sharedPtr):this.ptr=e.createString(Fi)}convertUtf8OffsetToUtf16(t){return this.utf8OffsetToUtf16?t<0?0:t>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[t]:t}convertUtf16OffsetToUtf8(t){return this.utf16OffsetToUtf8?t<0?0:t>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[t]:t}dispose(){this.ptr===fa._sharedPtr?fa._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};let Yp=fa;Li(Yp,"LAST_ID",0);Li(Yp,"_sharedPtr",0);Li(Yp,"_sharedPtrInUse",!1);class OH{constructor(e){if(Li(this,"_onigBinding"),Li(this,"_ptr"),!Fi)throw new Rk("Must invoke loadWasm first.");const n=[],r=[];for(let a=0,l=e.length;a<l;a++){const c=new u0(e[a]);n[a]=c.createString(Fi),r[a]=c.utf8Length}const i=Fi.omalloc(4*e.length);Fi.HEAPU32.set(n,i/4);const s=Fi.omalloc(4*e.length);Fi.HEAPU32.set(r,s/4);const o=Fi.createOnigScanner(i,s,e.length);for(let a=0,l=e.length;a<l;a++)Fi.ofree(n[a]);Fi.ofree(s),Fi.ofree(i),o===0&&EH(Fi),this._onigBinding=Fi,this._ptr=o}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,n,r){let i=0;if(typeof r=="number"&&(i=r),typeof e=="string"){e=new Yp(e);const s=this._findNextMatchSync(e,n,!1,i);return e.dispose(),s}return this._findNextMatchSync(e,n,!1,i)}_findNextMatchSync(e,n,r,i){const s=this._onigBinding,o=s.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(n),i);if(o===0)return null;const a=s.HEAPU32;let l=o/4;const c=a[l++],u=a[l++],d=[];for(let h=0;h<u;h++){const p=e.convertUtf8OffsetToUtf16(a[l++]),m=e.convertUtf8OffsetToUtf16(a[l++]);d[h]={start:p,end:m,length:m-p}}return{index:c,captureIndices:d}}}function AH(t){return typeof t.instantiator=="function"}function TH(t){return typeof t.default=="function"}function PH(t){return typeof t.data<"u"}function RH(t){return typeof Response<"u"&&t instanceof Response}function $H(t){var e;return typeof ArrayBuffer<"u"&&(t instanceof ArrayBuffer||ArrayBuffer.isView(t))||typeof Buffer<"u"&&((e=Buffer.isBuffer)==null?void 0:e.call(Buffer,t))||typeof SharedArrayBuffer<"u"&&t instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&t instanceof Uint32Array}let Lm;function MH(t){if(Lm)return Lm;async function e(){Fi=await kH(async n=>{let r=t;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),AH(r)?r=await r.instantiator(n):TH(r)?r=await r.default(n):(PH(r)&&(r=r.data),RH(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await IH(r)(n):r=await NH(r)(n):$H(r)?r=await B1(r)(n):r instanceof WebAssembly.Module?r=await B1(r)(n):"default"in r&&r.default instanceof WebAssembly.Module&&(r=await B1(r.default)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return Lm=e(),Lm}function B1(t){return e=>WebAssembly.instantiate(t,e)}function IH(t){return e=>WebAssembly.instantiateStreaming(t,e)}function NH(t){return async e=>{const n=await t.arrayBuffer();return WebAssembly.instantiate(n,e)}}let LH;function DH(){return LH}async function r3(t){return t&&await MH(t),{createScanner(e){return new OH(e.map(n=>typeof n=="string"?n:n.source))},createString(e){return new Yp(e)}}}function zH(t){return $k(t)}function $k(t){return Array.isArray(t)?BH(t):t instanceof RegExp?t:typeof t=="object"?FH(t):t}function BH(t){let e=[];for(let n=0,r=t.length;n<r;n++)e[n]=$k(t[n]);return e}function FH(t){let e={};for(let n in t)e[n]=$k(t[n]);return e}function i3(t,...e){return e.forEach(n=>{for(let r in n)t[r]=n[r]}),t}function s3(t){const e=~t.lastIndexOf("/")||~t.lastIndexOf("\\");return e===0?t:~e===t.length-1?s3(t.substring(0,t.length-1)):t.substr(~e+1)}var F1=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Dm=class{static hasCaptures(t){return t===null?!1:(F1.lastIndex=0,F1.test(t))}static replaceCaptures(t,e,n){return t.replace(F1,(r,i,s,o)=>{let a=n[parseInt(i||s,10)];if(a){let l=e.substring(a.start,a.end);for(;l[0]===".";)l=l.substring(1);switch(o){case"downcase":return l.toLowerCase();case"upcase":return l.toUpperCase();default:return l}}else return r})}};function o3(t,e){return t<e?-1:t>e?1:0}function a3(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 s=o3(t[i],e[i]);if(s!==0)return s}return 0}return n-r}function sE(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 l3(t){return t.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var c3=class{constructor(t){De(this,"cache",new Map);this.fn=t}get(t){if(this.cache.has(t))return this.cache.get(t);const e=this.fn(t);return this.cache.set(t,e),e}},jy=class{constructor(t,e,n){De(this,"_cachedMatchRoot",new c3(t=>this._root.match(t)));this._colorMap=t,this._defaults=e,this._root=n}static createFromRawTheme(t,e){return this.createFromParsedTheme(HH(t),e)}static createFromParsedTheme(t,e){return WH(t,e)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(t){if(t===null)return this._defaults;const e=t.scopeName,r=this._cachedMatchRoot.get(e).find(i=>VH(t.parent,i.parentScopes));return r?new u3(r.fontStyle,r.foreground,r.background):null}},V1=class Ev{constructor(e,n){this.parent=e,this.scopeName=n}static push(e,n){for(const r of n)e=new Ev(e,r);return e}static from(...e){let n=null;for(let r=0;r<e.length;r++)n=new Ev(n,e[r]);return n}push(e){return new Ev(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 VH(t,e){if(e.length===0)return!0;for(let n=0;n<e.length;n++){let r=e[n],i=!1;if(r===">"){if(n===e.length-1)return!1;r=e[++n],i=!0}for(;t&&!qH(t.scopeName,r);){if(i)return!1;t=t.parent}if(!t)return!1;t=t.parent}return!0}function qH(t,e){return e===t||t.startsWith(e)&&t[e.length]==="."}var u3=class{constructor(t,e,n){this.fontStyle=t,this.foregroundId=e,this.backgroundId=n}};function HH(t){if(!t)return[];if(!t.settings||!Array.isArray(t.settings))return[];let e=t.settings,n=[],r=0;for(let i=0,s=e.length;i<s;i++){let o=e[i];if(!o.settings)continue;let a;if(typeof o.scope=="string"){let d=o.scope;d=d.replace(/^[,]+/,""),d=d.replace(/[,]+$/,""),a=d.split(",")}else Array.isArray(o.scope)?a=o.scope:a=[""];let l=-1;if(typeof o.settings.fontStyle=="string"){l=0;let d=o.settings.fontStyle.split(" ");for(let h=0,p=d.length;h<p;h++)switch(d[h]){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 o.settings.foreground=="string"&&sE(o.settings.foreground)&&(c=o.settings.foreground);let u=null;typeof o.settings.background=="string"&&sE(o.settings.background)&&(u=o.settings.background);for(let d=0,h=a.length;d<h;d++){let m=a[d].trim().split(" "),b=m[m.length-1],g=null;m.length>1&&(g=m.slice(0,m.length-1),g.reverse()),n[r++]=new UH(b,g,i,l,c,u)}}return n}var UH=class{constructor(t,e,n,r,i,s){this.scope=t,this.parentScopes=e,this.index=n,this.fontStyle=r,this.foreground=i,this.background=s}},rl=(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",t[t.Strikethrough=8]="Strikethrough",t))(rl||{});function WH(t,e){t.sort((l,c)=>{let u=o3(l.scope,c.scope);return u!==0||(u=a3(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 s=new GH(e),o=new u3(n,s.getId(r),s.getId(i)),a=new JH(new Gx(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,s.getId(u.foreground),s.getId(u.background))}return new jy(s,o,a)}var GH=class{constructor(t){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(t)){this._isFrozen=!0;for(let e=0,n=t.length;e<n;e++)this._color2id[t[e]]=e,this._id2color[e]=t[e]}else this._isFrozen=!1}getId(t){if(t===null)return 0;t=t.toUpperCase();let e=this._color2id[t];if(e)return e;if(this._isFrozen)throw new Error(`Missing color in color map - ${t}`);return e=++this._lastColorId,this._color2id[t]=e,this._id2color[e]=t,e}getColorMap(){return this._id2color.slice(0)}},KH=Object.freeze([]),Gx=class d3{constructor(e,n,r,i,s){De(this,"scopeDepth");De(this,"parentScopes");De(this,"fontStyle");De(this,"foreground");De(this,"background");this.scopeDepth=e,this.parentScopes=n||KH,this.fontStyle=r,this.foreground=i,this.background=s}clone(){return new d3(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)}},JH=class Kx{constructor(e,n=[],r={}){De(this,"_rulesWithParentScopes");this._mainRule=e,this._children=r,this._rulesWithParentScopes=n}static _cmpBySpecificity(e,n){if(e.scopeDepth!==n.scopeDepth)return n.scopeDepth-e.scopeDepth;let r=0,i=0;for(;e.parentScopes[r]===">"&&r++,n.parentScopes[i]===">"&&i++,!(r>=e.parentScopes.length||i>=n.parentScopes.length);){const s=n.parentScopes[i].length-e.parentScopes[r].length;if(s!==0)return s;r++,i++}return n.parentScopes.length-e.parentScopes.length}match(e){if(e!==""){let r=e.indexOf("."),i,s;if(r===-1?(i=e,s=""):(i=e.substring(0,r),s=e.substring(r+1)),this._children.hasOwnProperty(i))return this._children[i].match(s)}const n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(Kx._cmpBySpecificity),n}insert(e,n,r,i,s,o){if(n===""){this._doInsertHere(e,r,i,s,o);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 Kx(this._mainRule.clone(),Gx.cloneArr(this._rulesWithParentScopes)),this._children[l]=u),u.insert(e+1,c,r,i,s,o)}_doInsertHere(e,n,r,i,s){if(n===null){this._mainRule.acceptOverwrite(e,r,i,s);return}for(let o=0,a=this._rulesWithParentScopes.length;o<a;o++){let l=this._rulesWithParentScopes[o];if(a3(l.parentScopes,n)===0){l.acceptOverwrite(e,r,i,s);return}}r===-1&&(r=this._mainRule.fontStyle),i===0&&(i=this._mainRule.foreground),s===0&&(s=this._mainRule.background),this._rulesWithParentScopes.push(new Gx(e,n,r,i,s))}},sf=class no{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(e){const n=no.getLanguageId(e),r=no.getTokenType(e),i=no.getFontStyle(e),s=no.getForeground(e),o=no.getBackground(e);console.log({languageId:n,tokenType:r,fontStyle:i,foreground:s,background:o})}static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return(e&1024)!==0}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static set(e,n,r,i,s,o,a){let l=no.getLanguageId(e),c=no.getTokenType(e),u=no.containsBalancedBrackets(e)?1:0,d=no.getFontStyle(e),h=no.getForeground(e),p=no.getBackground(e);return n!==0&&(l=n),r!==8&&(c=r),i!==null&&(u=i?1:0),s!==-1&&(d=s),o!==0&&(h=o),a!==0&&(p=a),(l<<0|c<<8|u<<10|d<<11|h<<15|p<<24)>>>0}};function ky(t,e){const n=[],r=YH(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=o();if(n.push({matcher:c,priority:l}),i!==",")break;i=r.next()}return n;function s(){if(i==="-"){i=r.next();const l=s();return c=>!!l&&!l(c)}if(i==="("){i=r.next();const l=a();return i===")"&&(i=r.next()),l}if(oE(i)){const l=[];do l.push(i),i=r.next();while(oE(i));return c=>e(l,c)}return null}function o(){const l=[];let c=s();for(;c;)l.push(c),c=s();return u=>l.every(d=>d(u))}function a(){const l=[];let c=o();for(;c&&(l.push(c),i==="|"||i===",");){do i=r.next();while(i==="|"||i===",");c=o()}return u=>l.some(d=>d(u))}}function oE(t){return!!t&&!!t.match(/[\w\.:]+/)}function YH(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 f3(t){typeof t.dispose=="function"&&t.dispose()}var np=class{constructor(t){this.scopeName=t}toKey(){return this.scopeName}},QH=class{constructor(t,e){this.scopeName=t,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}},XH=class{constructor(){De(this,"_references",[]);De(this,"_seenReferenceKeys",new Set);De(this,"visitedRule",new Set)}get references(){return this._references}add(t){const e=t.toKey();this._seenReferenceKeys.has(e)||(this._seenReferenceKeys.add(e),this._references.push(t))}},ZH=class{constructor(t,e){De(this,"seenFullScopeRequests",new Set);De(this,"seenPartialScopeRequests",new Set);De(this,"Q");this.repo=t,this.initialScopeName=e,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new np(this.initialScopeName)]}processQueue(){const t=this.Q;this.Q=[];const e=new XH;for(const n of t)eU(n,this.initialScopeName,this.repo,e);for(const n of e.references)if(n instanceof np){if(this.seenFullScopeRequests.has(n.scopeName))continue;this.seenFullScopeRequests.add(n.scopeName),this.Q.push(n)}else{if(this.seenFullScopeRequests.has(n.scopeName)||this.seenPartialScopeRequests.has(n.toKey()))continue;this.seenPartialScopeRequests.add(n.toKey()),this.Q.push(n)}}};function eU(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 s=n.lookup(e);t instanceof np?Ov({baseGrammar:s,selfGrammar:i},r):Jx(t.ruleName,{baseGrammar:s,selfGrammar:i,repository:i.repository},r);const o=n.injections(t.scopeName);if(o)for(const a of o)r.add(new np(a))}function Jx(t,e,n){if(e.repository&&e.repository[t]){const r=e.repository[t];Sy([r],e,n)}}function Ov(t,e){t.selfGrammar.patterns&&Array.isArray(t.selfGrammar.patterns)&&Sy(t.selfGrammar.patterns,{...t,repository:t.selfGrammar.repository},e),t.selfGrammar.injections&&Sy(Object.values(t.selfGrammar.injections),{...t,repository:t.selfGrammar.repository},e)}function Sy(t,e,n){for(const r of t){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const i=r.repository?i3({},e.repository,r.repository):e.repository;Array.isArray(r.patterns)&&Sy(r.patterns,{...e,repository:i},n);const s=r.include;if(!s)continue;const o=h3(s);switch(o.kind){case 0:Ov({...e,selfGrammar:e.baseGrammar},n);break;case 1:Ov(e,n);break;case 2:Jx(o.ruleName,{...e,repository:i},n);break;case 3:case 4:const a=o.scopeName===e.selfGrammar.scopeName?e.selfGrammar:o.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(a){const l={baseGrammar:e.baseGrammar,selfGrammar:a,repository:i};o.kind===4?Jx(o.ruleName,l,n):Ov(l,n)}else o.kind===4?n.add(new QH(o.scopeName,o.ruleName)):n.add(new np(o.scopeName));break}}}var tU=class{constructor(){De(this,"kind",0)}},nU=class{constructor(){De(this,"kind",1)}},rU=class{constructor(t){De(this,"kind",2);this.ruleName=t}},iU=class{constructor(t){De(this,"kind",3);this.scopeName=t}},sU=class{constructor(t,e){De(this,"kind",4);this.scopeName=t,this.ruleName=e}};function h3(t){if(t==="$base")return new tU;if(t==="$self")return new nU;const e=t.indexOf("#");if(e===-1)return new iU(t);if(e===0)return new rU(t.substring(1));{const n=t.substring(0,e),r=t.substring(e+1);return new sU(n,r)}}var oU=/\\(\d+)/,aE=/\\(\d+)/g,aU=-1,p3=-2;var Qp=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=Dm.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=Dm.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${s3(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:Dm.replaceCaptures(this._name,e,n)}getContentName(e,n){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Dm.replaceCaptures(this._contentName,e,n)}},lU=class extends Qp{constructor(e,n,r,i,s){super(e,n,r,i);De(this,"retokenizeCapturedWithRuleId");this.retokenizeCapturedWithRuleId=s}dispose(){}collectPatterns(e,n){throw new Error("Not supported!")}compile(e,n){throw new Error("Not supported!")}compileAG(e,n,r,i){throw new Error("Not supported!")}},cU=class extends Qp{constructor(e,n,r,i,s){super(e,n,r,null);De(this,"_match");De(this,"captures");De(this,"_cachedCompiledPatterns");this._match=new rp(i,this.id),this.captures=s,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,n){n.push(this._match)}compile(e,n){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,n,r,i){return this._getCachedCompiledPatterns(e).compileAG(e,r,i)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new ip,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},lE=class extends Qp{constructor(e,n,r,i,s){super(e,n,r,i);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(e,n){for(const r of this.patterns)e.getRule(r).collectPatterns(e,n)}compile(e,n){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,n,r,i){return this._getCachedCompiledPatterns(e).compileAG(e,r,i)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new ip,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Yx=class extends Qp{constructor(e,n,r,i,s,o,a,l,c,u){super(e,n,r,i);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 rp(s,this.id),this.beginCaptures=o,this._end=new rp(a||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=l,this.applyEndPatternLast=c||!1,this.patterns=u.patterns,this.hasMissingPatterns=u.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(e,n){return this._end.resolveBackReferences(e,n)}collectPatterns(e,n){n.push(this._begin)}compile(e,n){return this._getCachedCompiledPatterns(e,n).compile(e)}compileAG(e,n,r,i){return this._getCachedCompiledPatterns(e,n).compileAG(e,r,i)}_getCachedCompiledPatterns(e,n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new ip;for(const r of this.patterns)e.getRule(r).collectPatterns(e,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,n):this._cachedCompiledPatterns.setSource(0,n)),this._cachedCompiledPatterns}},Cy=class extends Qp{constructor(e,n,r,i,s,o,a,l,c){super(e,n,r,i);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 rp(s,this.id),this.beginCaptures=o,this.whileCaptures=l,this._while=new rp(a,p3),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=c.patterns,this.hasMissingPatterns=c.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(e,n){return this._while.resolveBackReferences(e,n)}collectPatterns(e,n){n.push(this._begin)}compile(e,n){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,n,r,i){return this._getCachedCompiledPatterns(e).compileAG(e,r,i)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new ip;for(const n of this.patterns)e.getRule(n).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,n){return this._getCachedCompiledWhilePatterns(e,n).compile(e)}compileWhileAG(e,n,r,i){return this._getCachedCompiledWhilePatterns(e,n).compileAG(e,r,i)}_getCachedCompiledWhilePatterns(e,n){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new ip,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,n||"￿"),this._cachedCompiledWhilePatterns}},m3=class rs{static createCaptureRule(e,n,r,i,s){return e.registerRule(o=>new lU(n,o,r,i,s))}static getCompiledRuleId(e,n,r){return e.id||n.registerRule(i=>{if(e.id=i,e.match)return new cU(e.$vscodeTextmateLocation,e.id,e.name,e.match,rs._compileCaptures(e.captures,n,r));if(typeof e.begin>"u"){e.repository&&(r=i3({},r,e.repository));let s=e.patterns;return typeof s>"u"&&e.include&&(s=[{include:e.include}]),new lE(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,rs._compilePatterns(s,n,r))}return e.while?new Cy(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,rs._compileCaptures(e.beginCaptures||e.captures,n,r),e.while,rs._compileCaptures(e.whileCaptures||e.captures,n,r),rs._compilePatterns(e.patterns,n,r)):new Yx(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,rs._compileCaptures(e.beginCaptures||e.captures,n,r),e.end,rs._compileCaptures(e.endCaptures||e.captures,n,r),e.applyEndPatternLast,rs._compilePatterns(e.patterns,n,r))}),e.id}static _compileCaptures(e,n,r){let i=[];if(e){let s=0;for(const o in e){if(o==="$vscodeTextmateLocation")continue;const a=parseInt(o,10);a>s&&(s=a)}for(let o=0;o<=s;o++)i[o]=null;for(const o in e){if(o==="$vscodeTextmateLocation")continue;const a=parseInt(o,10);let l=0;e[o].patterns&&(l=rs.getCompiledRuleId(e[o],n,r)),i[a]=rs.createCaptureRule(n,e[o].$vscodeTextmateLocation,e[o].name,e[o].contentName,l)}}return i}static _compilePatterns(e,n,r){let i=[];if(e)for(let s=0,o=e.length;s<o;s++){const a=e[s];let l=-1;if(a.include){const c=h3(a.include);switch(c.kind){case 0:case 1:l=rs.getCompiledRuleId(r[a.include],n,r);break;case 2:let u=r[c.ruleName];u&&(l=rs.getCompiledRuleId(u,n,r));break;case 3:case 4:const d=c.scopeName,h=c.kind===4?c.ruleName:null,p=n.getExternalGrammar(d,r);if(p)if(h){let m=p.repository[h];m&&(l=rs.getCompiledRuleId(m,n,p.repository))}else l=rs.getCompiledRuleId(p.repository.$self,n,p.repository);break}}else l=rs.getCompiledRuleId(a,n,r);if(l!==-1){const c=n.getRule(l);let u=!1;if((c instanceof lE||c instanceof Yx||c instanceof Cy)&&c.hasMissingPatterns&&c.patterns.length===0&&(u=!0),u)continue;i.push(l)}}return{patterns:i,hasMissingPatterns:(e?e.length:0)!==i.length}}},rp=class g3{constructor(e,n){De(this,"source");De(this,"ruleId");De(this,"hasAnchor");De(this,"hasBackReferences");De(this,"_anchorCache");if(e&&typeof e=="string"){const r=e.length;let i=0,s=[],o=!1;for(let a=0;a<r;a++)if(e.charAt(a)==="\\"&&a+1<r){const c=e.charAt(a+1);c==="z"?(s.push(e.substring(i,a)),s.push("$(?!\\n)(?<!\\n)"),i=a+2):(c==="A"||c==="G")&&(o=!0),a++}this.hasAnchor=o,i===0?this.source=e:(s.push(e.substring(i,r)),this.source=s.join(""))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,typeof this.source=="string"?this.hasBackReferences=oU.test(this.source):this.hasBackReferences=!1}clone(){return new g3(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,n){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let r=n.map(i=>e.substring(i.start,i.end));return aE.lastIndex=0,this.source.replace(aE,(i,s)=>l3(r[parseInt(s,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let e=[],n=[],r=[],i=[],s,o,a,l;for(s=0,o=this.source.length;s<o;s++)a=this.source.charAt(s),e[s]=a,n[s]=a,r[s]=a,i[s]=a,a==="\\"&&s+1<o&&(l=this.source.charAt(s+1),l==="A"?(e[s+1]="￿",n[s+1]="￿",r[s+1]="A",i[s+1]="A"):l==="G"?(e[s+1]="￿",n[s+1]="G",r[s+1]="￿",i[s+1]="G"):(e[s+1]=l,n[s+1]=l,r[s+1]=l,i[s+1]=l),s++);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||typeof this.source!="string"?this.source:e?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},ip=class{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(t){this._items.push(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}unshift(t){this._items.unshift(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}length(){return this._items.length}setSource(t,e){this._items[t].source!==e&&(this._disposeCaches(),this._items[t].setSource(e))}compile(t){if(!this._cached){let e=this._items.map(n=>n.source);this._cached=new cE(t,e,this._items.map(n=>n.ruleId))}return this._cached}compileAG(t,e,n){return this._hasAnchors?e?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(t,e,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(t,e,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(t,e,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(t,e,n)),this._anchorCache.A0_G0):this.compile(t)}_resolveAnchors(t,e,n){let r=this._items.map(i=>i.resolveAnchors(e,n));return new cE(t,r,this._items.map(i=>i.ruleId))}},cE=class{constructor(t,e,n){De(this,"scanner");this.regExps=e,this.rules=n,this.scanner=t.createOnigScanner(e)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const t=[];for(let e=0,n=this.rules.length;e<n;e++)t.push(" - "+this.rules[e]+": "+this.regExps[e]);return t.join(`
20
20
  `)}findNextMatchSync(t,e,n){const r=this.scanner.findNextMatchSync(t,e,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},q1=class{constructor(t,e){this.languageId=t,this.tokenType=e}},nl,uU=(nl=class{constructor(e,n){De(this,"_defaultAttributes");De(this,"_embeddedLanguagesMatcher");De(this,"_getBasicScopeAttributes",new c3(e=>{const n=this._scopeToLanguage(e),r=this._toStandardTokenType(e);return new q1(n,r)}));this._defaultAttributes=new q1(e,8),this._embeddedLanguagesMatcher=new dU(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(e){return e===null?nl._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(e)}_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(e){const n=e.match(nl.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(nl,"_NULL_SCOPE_METADATA",new q1(0,0)),De(nl,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/),nl),dU=class{constructor(t){De(this,"values");De(this,"scopesRegExp");if(t.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(t);const e=t.map(([n,r])=>l3(n));e.sort(),e.reverse(),this.scopesRegExp=new RegExp(`^((${e.join(")|(")}))($|\\.)`,"")}}match(t){if(!this.scopesRegExp)return;const e=t.match(this.scopesRegExp);if(e)return this.values.get(e[1])}},uE=class{constructor(t,e){this.stack=t,this.stoppedEarly=e}};function v3(t,e,n,r,i,s,o,a){const l=e.content.length;let c=!1,u=-1;if(o){const p=fU(t,e,n,r,i,s);i=p.stack,r=p.linePos,n=p.isFirstLine,u=p.anchorPosition}const d=Date.now();for(;!c;){if(a!==0&&Date.now()-d>a)return new uE(i,!0);h()}return new uE(i,!1);function h(){const p=hU(t,e,n,r,i,u);if(!p){s.produce(i,l),c=!0;return}const m=p.captureIndices,b=p.matchedRuleId,g=m&&m.length>0?m[0].end>r:!1;if(b===aU){const v=i.getRule(t);s.produce(i,m[0].start),i=i.withContentNameScopesList(i.nameScopesList),dh(t,e,n,i,s,v.endCaptures,m),s.produce(i,m[0].end);const y=i;if(i=i.parent,u=y.getAnchorPos(),!g&&y.getEnterPos()===r){i=y,s.produce(i,l),c=!0;return}}else{const v=t.getRule(b);s.produce(i,m[0].start);const y=i,w=v.getName(e.content,m),x=i.contentNameScopesList.pushAttributed(w,t);if(i=i.push(b,r,u,m[0].end===l,null,x,x),v instanceof Yx){const _=v;dh(t,e,n,i,s,_.beginCaptures,m),s.produce(i,m[0].end),u=m[0].end;const j=_.getContentName(e.content,m),k=x.pushAttributed(j,t);if(i=i.withContentNameScopesList(k),_.endHasBackReferences&&(i=i.withEndRule(_.getEndWithResolvedBackReferences(e.content,m))),!g&&y.hasSameRuleAs(i)){i=i.pop(),s.produce(i,l),c=!0;return}}else if(v instanceof Cy){const _=v;dh(t,e,n,i,s,_.beginCaptures,m),s.produce(i,m[0].end),u=m[0].end;const j=_.getContentName(e.content,m),k=x.pushAttributed(j,t);if(i=i.withContentNameScopesList(k),_.whileHasBackReferences&&(i=i.withEndRule(_.getWhileWithResolvedBackReferences(e.content,m))),!g&&y.hasSameRuleAs(i)){i=i.pop(),s.produce(i,l),c=!0;return}}else if(dh(t,e,n,i,s,v.captures,m),s.produce(i,m[0].end),i=i.pop(),!g){i=i.safePop(),s.produce(i,l),c=!0;return}}m[0].end>r&&(r=m[0].end,n=!1)}}function fU(t,e,n,r,i,s){let o=i.beginRuleCapturedEOL?0:-1;const a=[];for(let l=i;l;l=l.pop()){const c=l.getRule(t);c instanceof Cy&&a.push({rule:c,stack:l})}for(let l=a.pop();l;l=a.pop()){const{ruleScanner:c,findOptions:u}=gU(l.rule,t,l.stack.endRule,n,r===o),d=c.findNextMatchSync(e,r,u);if(d){if(d.ruleId!==p3){i=l.stack.pop();break}d.captureIndices&&d.captureIndices.length&&(s.produce(l.stack,d.captureIndices[0].start),dh(t,e,n,l.stack,s,l.rule.whileCaptures,d.captureIndices),s.produce(l.stack,d.captureIndices[0].end),o=d.captureIndices[0].end,d.captureIndices[0].end>r&&(r=d.captureIndices[0].end,n=!1))}else{i=l.stack.pop();break}}return{stack:i,linePos:r,anchorPosition:o,isFirstLine:n}}function hU(t,e,n,r,i,s){const o=pU(t,e,n,r,i,s),a=t.getInjections();if(a.length===0)return o;const l=mU(a,t,e,n,r,i,s);if(!l)return o;if(!o)return l;const c=o.captureIndices[0].start,u=l.captureIndices[0].start;return u<c||l.priorityMatch&&u===c?l:o}function pU(t,e,n,r,i,s){const o=i.getRule(t),{ruleScanner:a,findOptions:l}=y3(o,t,i.endRule,n,r===s),c=a.findNextMatchSync(e,r,l);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function mU(t,e,n,r,i,s,o){let a=Number.MAX_VALUE,l=null,c,u=0;const d=s.contentNameScopesList.getScopeNames();for(let h=0,p=t.length;h<p;h++){const m=t[h];if(!m.matcher(d))continue;const b=e.getRule(m.ruleId),{ruleScanner:g,findOptions:v}=y3(b,e,null,r,i===o),y=g.findNextMatchSync(n,i,v);if(!y)continue;const w=y.captureIndices[0].start;if(!(w>=a)&&(a=w,l=y.captureIndices,c=y.ruleId,u=m.priority,a===i))break}return l?{priorityMatch:u===-1,captureIndices:l,matchedRuleId:c}:null}function y3(t,e,n,r,i){return{ruleScanner:t.compileAG(e,n,r,i),findOptions:0}}function gU(t,e,n,r,i){return{ruleScanner:t.compileWhileAG(e,n,r,i),findOptions:0}}function dh(t,e,n,r,i,s,o){if(s.length===0)return;const a=e.content,l=Math.min(s.length,o.length),c=[],u=o[0].end;for(let d=0;d<l;d++){const h=s[d];if(h===null)continue;const p=o[d];if(p.length===0)continue;if(p.start>u)break;for(;c.length>0&&c[c.length-1].endPos<=p.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,p.start):i.produce(r,p.start),h.retokenizeCapturedWithRuleId){const b=h.getName(a,o),g=r.contentNameScopesList.pushAttributed(b,t),v=h.getContentName(a,o),y=g.pushAttributed(v,t),w=r.push(h.retokenizeCapturedWithRuleId,p.start,-1,!1,null,g,y),x=t.createOnigString(a.substring(0,p.end));v3(t,x,n&&p.start===0,p.start,w,i,!1,0),f3(x);continue}const m=h.getName(a,o);if(m!==null){const g=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(m,t);c.push(new vU(g,p.end))}}for(;c.length>0;)i.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}var vU=class{constructor(t,e){De(this,"scopes");De(this,"endPos");this.scopes=t,this.endPos=e}};function yU(t,e,n,r,i,s,o,a){return new wU(t,e,n,r,i,s,o,a)}function dE(t,e,n,r,i){const s=ky(e,Ey),o=m3.getCompiledRuleId(n,r,i.repository);for(const a of s)t.push({debugSelector:e,matcher:a.matcher,ruleId:o,grammar:i,priority:a.priority})}function Ey(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(bU(e[i],r))return n=i+1,!0;return!1})}function bU(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]==="."}var wU=class{constructor(t,e,n,r,i,s,o,a){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=t,this.balancedBracketSelectors=s,this._onigLib=a,this._basicScopeAttributesProvider=new uU(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=o,this._grammar=fE(e,null),this._injections=null,this._tokenTypeMatchers=[],i)for(const l of Object.keys(i)){const c=ky(l,Ey);for(const u of c)this._tokenTypeMatchers.push({matcher:u.matcher,type:i[l]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const t of this._ruleId2desc)t&&t.dispose()}createOnigScanner(t){return this._onigLib.createOnigScanner(t)}createOnigString(t){return this._onigLib.createOnigString(t)}getMetadataForScope(t){return this._basicScopeAttributesProvider.getBasicScopeAttributes(t)}_collectInjections(){const t={lookup:i=>i===this._rootScopeName?this._grammar:this.getExternalGrammar(i),injections:i=>this._grammarRepository.injections(i)},e=[],n=this._rootScopeName,r=t.lookup(n);if(r){const i=r.injections;if(i)for(let o in i)dE(e,o,i[o],this,r);const s=this._grammarRepository.injections(n);s&&s.forEach(o=>{const a=this.getExternalGrammar(o);if(a){const l=a.injectionSelector;l&&dE(e,l,a,this,a)}})}return e.sort((i,s)=>i.priority-s.priority),e}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(t){const e=++this._lastRuleId,n=t(e);return this._ruleId2desc[e]=n,n}getRule(t){return this._ruleId2desc[t]}getExternalGrammar(t,e){if(this._includedGrammars[t])return this._includedGrammars[t];if(this._grammarRepository){const n=this._grammarRepository.lookup(t);if(n)return this._includedGrammars[t]=fE(n,e&&e.$base),this._includedGrammars[t]}}tokenizeLine(t,e,n=0){const r=this._tokenize(t,e,!1,n);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(t,e,n=0){const r=this._tokenize(t,e,!0,n);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(t,e,n,r){this._rootId===-1&&(this._rootId=m3.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let i;if(!e||e===Qx.NULL){i=!0;const c=this._basicScopeAttributesProvider.getDefaultAttributes(),u=this.themeProvider.getDefaults(),d=sf.set(0,c.languageId,c.tokenType,null,u.fontStyle,u.foregroundId,u.backgroundId),h=this.getRule(this._rootId).getName(null,null);let p;h?p=Ph.createRootAndLookUpScopeName(h,d,this):p=Ph.createRoot("unknown",d),e=new Qx(null,this._rootId,-1,-1,!1,null,p,p)}else i=!1,e.reset();t=t+`
21
21
  `;const s=this.createOnigString(t),o=s.content.length,a=new _U(n,t,this._tokenTypeMatchers,this.balancedBracketSelectors),l=v3(this,s,i,0,e,a,!0,r);return f3(s),{lineLength:o,lineTokens:a,ruleStack:l.stack,stoppedEarly:l.stoppedEarly}}};function fE(t,e){return t=zH(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}var Ph=class ha{constructor(e,n,r){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 s of n)i=V1.push(i,s.scopeNames),r=new ha(r,i,s.encodedTokenAttributes);return r}static createRoot(e,n){return new ha(null,new V1(null,e),n)}static createRootAndLookUpScopeName(e,n,r){const i=r.getMetadataForScope(e),s=new V1(null,e),o=r.themeProvider.themeMatch(s),a=ha.mergeAttributes(n,i,o);return new ha(null,s,a)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(e){return ha.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,s=0,o=0;return r!==null&&(i=r.fontStyle,s=r.foregroundId,o=r.backgroundId),sf.set(e,n.languageId,n.tokenType,null,i,s,o)}pushAttributed(e,n){if(e===null)return this;if(e.indexOf(" ")===-1)return ha._pushAttributed(this,e,n);const r=e.split(/ /g);let i=this;for(const s of r)i=ha._pushAttributed(i,s,n);return i}static _pushAttributed(e,n,r){const i=r.getMetadataForScope(n),s=e.scopePath.push(n),o=r.themeProvider.themeMatch(s),a=ha.mergeAttributes(e.tokenAttributes,i,o);return new ha(e,s,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}},lo,Qx=(lo=class{constructor(e,n,r,i,s,o,a,l){De(this,"_stackElementBrand");De(this,"_enterPos");De(this,"_anchorPos");De(this,"depth");this.parent=e,this.ruleId=n,this.beginRuleCapturedEOL=s,this.endRule=o,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:lo._equals(this,e)}static _equals(e,n){return e===n?!0:this._structuralEquals(e,n)?Ph.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(){lo._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(e,n,r,i,s,o,a){return new lo(this,e,n,r,i,s,o,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 lo(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=Ph.fromExtension((e==null?void 0:e.nameScopesList)??null,n.nameScopesList);return new lo(e,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,Ph.fromExtension(r,n.contentNameScopesList))}},De(lo,"NULL",new lo(null,0,0,0,!1,null,null,null)),lo),xU=class{constructor(t,e){De(this,"balancedBracketScopes");De(this,"unbalancedBracketScopes");De(this,"allowAny",!1);this.balancedBracketScopes=t.flatMap(n=>n==="*"?(this.allowAny=!0,[]):ky(n,Ey).map(r=>r.matcher)),this.unbalancedBracketScopes=e.flatMap(n=>ky(n,Ey).map(r=>r.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(t){for(const e of this.unbalancedBracketScopes)if(e(t))return!1;for(const e of this.balancedBracketScopes)if(e(t))return!0;return this.allowAny}},_U=class{constructor(t,e,n,r){De(this,"_emitBinaryTokens");De(this,"_lineText");De(this,"_tokens");De(this,"_binaryTokens");De(this,"_lastTokenEndIndex");De(this,"_tokenTypeOverrides");this.balancedBracketSelectors=r,this._emitBinaryTokens=t,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(t,e){this.produceFromScopes(t.contentNameScopesList,e)}produceFromScopes(t,e){var r;if(this._lastTokenEndIndex>=e)return;if(this._emitBinaryTokens){let i=(t==null?void 0:t.tokenAttributes)??0,s=!1;if((r=this.balancedBracketSelectors)!=null&&r.matchesAlways&&(s=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const o=(t==null?void 0:t.getScopeNames())??[];for(const a of this._tokenTypeOverrides)a.matcher(o)&&(i=sf.set(i,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(o))}if(s&&(i=sf.set(i,0,8,s,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===i){this._lastTokenEndIndex=e;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(i),this._lastTokenEndIndex=e;return}const n=(t==null?void 0:t.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:e,scopes:n}),this._lastTokenEndIndex=e}getResult(t,e){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===e-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,e),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(t,e){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===e-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,e),this._binaryTokens[this._binaryTokens.length-2]=0);const n=new Uint32Array(this._binaryTokens.length);for(let r=0,i=this._binaryTokens.length;r<i;r++)n[r]=this._binaryTokens[r];return n}},jU=class{constructor(t,e){De(this,"_grammars",new Map);De(this,"_rawGrammars",new Map);De(this,"_injectionGrammars",new Map);De(this,"_theme");this._onigLib=e,this._theme=t}dispose(){for(const t of this._grammars.values())t.dispose()}setTheme(t){this._theme=t}getColorMap(){return this._theme.getColorMap()}addGrammar(t,e){this._rawGrammars.set(t.scopeName,t),e&&this._injectionGrammars.set(t.scopeName,e)}lookup(t){return this._rawGrammars.get(t)}injections(t){return this._injectionGrammars.get(t)}getDefaults(){return this._theme.getDefaults()}themeMatch(t){return this._theme.match(t)}grammarForScopeName(t,e,n,r,i){if(!this._grammars.has(t)){let s=this._rawGrammars.get(t);if(!s)return null;this._grammars.set(t,yU(t,s,e,n,r,i,this,this._onigLib))}return this._grammars.get(t)}},kU=class{constructor(e){De(this,"_options");De(this,"_syncRegistry");De(this,"_ensureGrammarCache");this._options=e,this._syncRegistry=new jU(jy.createFromRawTheme(e.theme,e.colorMap),e.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(e,n){this._syncRegistry.setTheme(jy.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 xU(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,n,r,i,s){const o=new ZH(this._syncRegistry,e);for(;o.Q.length>0;)o.Q.map(a=>this._loadSingleGrammar(a.scopeName)),o.processQueue();return this._grammarForScopeName(e,n,r,i,s)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){const n=this._options.loadGrammar(e);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(n,r)}}addGrammar(e,n=[],r=0,i=null){return this._syncRegistry.addGrammar(e,n),this._grammarForScopeName(e.scopeName,r,i)}_grammarForScopeName(e,n=0,r=null,i=null,s=null){return this._syncRegistry.grammarForScopeName(e,n,r,i,s)}},Xx=Qx.NULL;const SU=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class Xp{constructor(e,n,r){this.property=e,this.normal=n,r&&(this.space=r)}}Xp.prototype.property={};Xp.prototype.normal={};Xp.prototype.space=null;function b3(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 Xp(n,r,e)}function Zx(t){return t.toLowerCase()}class jo{constructor(e,n){this.property=e,this.attribute=n}}jo.prototype.space=null;jo.prototype.boolean=!1;jo.prototype.booleanish=!1;jo.prototype.overloadedBoolean=!1;jo.prototype.number=!1;jo.prototype.commaSeparated=!1;jo.prototype.spaceSeparated=!1;jo.prototype.commaOrSpaceSeparated=!1;jo.prototype.mustUseProperty=!1;jo.prototype.defined=!1;let CU=0;const _n=zu(),ki=zu(),w3=zu(),tt=zu(),Ir=zu(),Pd=zu(),Vs=zu();function zu(){return 2**++CU}const e_=Object.freeze(Object.defineProperty({__proto__:null,boolean:_n,booleanish:ki,commaOrSpaceSeparated:Vs,commaSeparated:Pd,number:tt,overloadedBoolean:w3,spaceSeparated:Ir},Symbol.toStringTag,{value:"Module"})),H1=Object.keys(e_);class Mk extends jo{constructor(e,n,r,i){let s=-1;if(super(e,n),hE(this,"space",i),typeof r=="number")for(;++s<H1.length;){const o=H1[s];hE(this,H1[s],(r&e_[o])===e_[o])}}}Mk.prototype.defined=!0;function hE(t,e,n){n&&(t[e]=n)}const EU={}.hasOwnProperty;function Sf(t){const e={},n={};let r;for(r in t.properties)if(EU.call(t.properties,r)){const i=t.properties[r],s=new Mk(r,t.transform(t.attributes||{},r),i,t.space);t.mustUseProperty&&t.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),e[r]=s,n[Zx(r)]=r,n[Zx(s.attribute)]=r}return new Xp(e,n,t.space)}const x3=Sf({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}}),_3=Sf({space:"xml",transform(t,e){return"xml:"+e.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function j3(t,e){return e in t?t[e]:e}function k3(t,e){return j3(t,e.toLowerCase())}const S3=Sf({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:k3,properties:{xmlns:null,xmlnsXLink:null}}),C3=Sf({transform(t,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:ki,ariaAutoComplete:null,ariaBusy:ki,ariaChecked:ki,ariaColCount:tt,ariaColIndex:tt,ariaColSpan:tt,ariaControls:Ir,ariaCurrent:null,ariaDescribedBy:Ir,ariaDetails:null,ariaDisabled:ki,ariaDropEffect:Ir,ariaErrorMessage:null,ariaExpanded:ki,ariaFlowTo:Ir,ariaGrabbed:ki,ariaHasPopup:null,ariaHidden:ki,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ir,ariaLevel:tt,ariaLive:null,ariaModal:ki,ariaMultiLine:ki,ariaMultiSelectable:ki,ariaOrientation:null,ariaOwns:Ir,ariaPlaceholder:null,ariaPosInSet:tt,ariaPressed:ki,ariaReadOnly:ki,ariaRelevant:null,ariaRequired:ki,ariaRoleDescription:Ir,ariaRowCount:tt,ariaRowIndex:tt,ariaRowSpan:tt,ariaSelected:ki,ariaSetSize:tt,ariaSort:null,ariaValueMax:tt,ariaValueMin:tt,ariaValueNow:tt,ariaValueText:null,role:null}}),OU=Sf({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:k3,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Pd,acceptCharset:Ir,accessKey:Ir,action:null,allow:null,allowFullScreen:_n,allowPaymentRequest:_n,allowUserMedia:_n,alt:null,as:null,async:_n,autoCapitalize:null,autoComplete:Ir,autoFocus:_n,autoPlay:_n,blocking:Ir,capture:null,charSet:null,checked:_n,cite:null,className:Ir,cols:tt,colSpan:null,content:null,contentEditable:ki,controls:_n,controlsList:Ir,coords:tt|Pd,crossOrigin:null,data:null,dateTime:null,decoding:null,default:_n,defer:_n,dir:null,dirName:null,disabled:_n,download:w3,draggable:ki,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:_n,formTarget:null,headers:Ir,height:tt,hidden:_n,high:tt,href:null,hrefLang:null,htmlFor:Ir,httpEquiv:Ir,id:null,imageSizes:null,imageSrcSet:null,inert:_n,inputMode:null,integrity:null,is:null,isMap:_n,itemId:null,itemProp:Ir,itemRef:Ir,itemScope:_n,itemType:Ir,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:_n,low:tt,manifest:null,max:null,maxLength:tt,media:null,method:null,min:null,minLength:tt,multiple:_n,muted:_n,name:null,nonce:null,noModule:_n,noValidate:_n,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:_n,optimum:tt,pattern:null,ping:Ir,placeholder:null,playsInline:_n,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:_n,referrerPolicy:null,rel:Ir,required:_n,reversed:_n,rows:tt,rowSpan:tt,sandbox:Ir,scope:null,scoped:_n,seamless:_n,selected:_n,shadowRootClonable:_n,shadowRootDelegatesFocus:_n,shadowRootMode:null,shape:null,size:tt,sizes:null,slot:null,span:tt,spellCheck:ki,src:null,srcDoc:null,srcLang:null,srcSet:null,start:tt,step:null,style:null,tabIndex:tt,target:null,title:null,translate:null,type:null,typeMustMatch:_n,useMap:null,value:ki,width:tt,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ir,axis:null,background:null,bgColor:null,border:tt,borderColor:null,bottomMargin:tt,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:_n,declare:_n,event:null,face:null,frame:null,frameBorder:null,hSpace:tt,leftMargin:tt,link:null,longDesc:null,lowSrc:null,marginHeight:tt,marginWidth:tt,noResize:_n,noHref:_n,noShade:_n,noWrap:_n,object:null,profile:null,prompt:null,rev:null,rightMargin:tt,rules:null,scheme:null,scrolling:ki,standby:null,summary:null,text:null,topMargin:tt,valueType:null,version:null,vAlign:null,vLink:null,vSpace:tt,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:_n,disableRemotePlayback:_n,prefix:null,property:null,results:tt,security:null,unselectable:null}}),AU=Sf({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:j3,properties:{about:Vs,accentHeight:tt,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:tt,amplitude:tt,arabicForm:null,ascent:tt,attributeName:null,attributeType:null,azimuth:tt,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:tt,by:null,calcMode:null,capHeight:tt,className:Ir,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:tt,diffuseConstant:tt,direction:null,display:null,dur:null,divisor:tt,dominantBaseline:null,download:_n,dx:null,dy:null,edgeMode:null,editable:null,elevation:tt,enableBackground:null,end:null,event:null,exponent:tt,externalResourcesRequired:null,fill:null,fillOpacity:tt,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:Pd,g2:Pd,glyphName:Pd,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:tt,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:tt,horizOriginX:tt,horizOriginY:tt,id:null,ideographic:tt,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:tt,k:tt,k1:tt,k2:tt,k3:tt,k4:tt,kernelMatrix:Vs,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:tt,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:tt,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:tt,overlineThickness:tt,paintOrder:null,panose1:null,path:null,pathLength:tt,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ir,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:tt,pointsAtY:tt,pointsAtZ:tt,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Vs,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Vs,rev:Vs,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Vs,requiredFeatures:Vs,requiredFonts:Vs,requiredFormats:Vs,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:tt,specularExponent:tt,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:tt,strikethroughThickness:tt,string:null,stroke:null,strokeDashArray:Vs,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:tt,strokeOpacity:tt,strokeWidth:null,style:null,surfaceScale:tt,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Vs,tabIndex:tt,tableValues:null,target:null,targetX:tt,targetY:tt,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Vs,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:tt,underlineThickness:tt,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:tt,values:null,vAlphabetic:tt,vMathematical:tt,vectorEffect:null,vHanging:tt,vIdeographic:tt,version:null,vertAdvY:tt,vertOriginX:tt,vertOriginY:tt,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:tt,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),TU=/^data[-\w.:]+$/i,pE=/-[a-z]/g,PU=/[A-Z]/g;function RU(t,e){const n=Zx(e);let r=e,i=jo;if(n in t.normal)return t.property[t.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&TU.test(e)){if(e.charAt(4)==="-"){const s=e.slice(5).replace(pE,MU);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=e.slice(4);if(!pE.test(s)){let o=s.replace(PU,$U);o.charAt(0)!=="-"&&(o="-"+o),e="data"+o}}i=Mk}return new i(r,e)}function $U(t){return"-"+t.toLowerCase()}function MU(t){return t.charAt(1).toUpperCase()}const IU=b3([_3,x3,S3,C3,OU],"html"),E3=b3([_3,x3,S3,C3,AU],"svg"),mE={}.hasOwnProperty;function NU(t,e){const n=e;function r(i,...s){let o=r.invalid;const a=r.handlers;if(i&&mE.call(i,t)){const l=String(i[t]);o=mE.call(a,l)?a[l]:r.unknown}if(o)return o.call(this,i,...s)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const LU=/["&'<>`]/g,DU=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,zU=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,BU=/[|\\{}()[\]^$+*?.]/g,gE=new WeakMap;function FU(t,e){if(t=t.replace(e.subset?VU(e.subset):LU,r),e.subset||e.escapeOnly)return t;return t.replace(DU,n).replace(zU,r);function n(i,s,o){return e.format((i.charCodeAt(0)-55296)*1024+i.charCodeAt(1)-56320+65536,o.charCodeAt(s+2),e)}function r(i,s,o){return e.format(i.charCodeAt(0),o.charCodeAt(s+1),e)}}function VU(t){let e=gE.get(t);return e||(e=qU(t),gE.set(t,e)),e}function qU(t){const e=[];let n=-1;for(;++n<t.length;)e.push(t[n].replace(BU,"\\$&"));return new RegExp("(?:"+e.join("|")+")","g")}const HU=/[\dA-Fa-f]/;function UU(t,e,n){const r="&#x"+t.toString(16).toUpperCase();return n&&e&&!HU.test(String.fromCharCode(e))?r:r+";"}const WU=/\d/;function GU(t,e,n){const r="&#"+String(t);return n&&e&&!WU.test(String.fromCharCode(e))?r:r+";"}const KU=["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"],U1={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:"€"},JU=["cent","copy","divide","gt","lt","not","para","times"],O3={}.hasOwnProperty,t_={};let zm;for(zm in U1)O3.call(U1,zm)&&(t_[U1[zm]]=zm);const YU=/[^\dA-Za-z]/;function QU(t,e,n,r){const i=String.fromCharCode(t);if(O3.call(t_,i)){const s=t_[i],o="&"+s;return n&&KU.includes(s)&&!JU.includes(s)&&(!r||e&&e!==61&&YU.test(String.fromCharCode(e)))?o:o+";"}return""}function XU(t,e,n){let r=UU(t,e,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=QU(t,e,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){const s=GU(t,e,n.omitOptionalSemicolons);s.length<r.length&&(r=s)}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}function Rd(t,e){return FU(t,Object.assign({format:XU},e))}const ZU=/^>|^->|<!--|-->|--!>|<!-$/g,eW=[">"],tW=["<",">"];function nW(t,e,n,r){return r.settings.bogusComments?"<?"+Rd(t.value,Object.assign({},r.settings.characterReferences,{subset:eW}))+">":"<!--"+t.value.replace(ZU,i)+"-->";function i(s){return Rd(s,Object.assign({},r.settings.characterReferences,{subset:tW}))}}function rW(t,e,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function vE(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 iW(t,e){const n=e||{};return(t[t.length-1]===""?[...t,""]:t).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function sW(t){return t.join(" ").trim()}const oW=/[ \t\n\f\r]/g;function Ik(t){return typeof t=="object"?t.type==="text"?yE(t.value):!1:yE(t)}function yE(t){return t.replace(oW,"")===""}const Bi=T3(1),A3=T3(-1),aW=[];function T3(t){return e;function e(n,r,i){const s=n?n.children:aW;let o=(r||0)+t,a=s[o];if(!i)for(;a&&Ik(a);)o+=t,a=s[o];return a}}const lW={}.hasOwnProperty;function P3(t){return e;function e(n,r,i){return lW.call(t,n.tagName)&&t[n.tagName](n,r,i)}}const Nk=P3({body:uW,caption:W1,colgroup:W1,dd:pW,dt:hW,head:W1,html:cW,li:fW,optgroup:mW,option:gW,p:dW,rp:bE,rt:bE,tbody:yW,td:wE,tfoot:bW,th:wE,thead:vW,tr:wW});function W1(t,e,n){const r=Bi(n,e,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&Ik(r.value.charAt(0)))}function cW(t,e,n){const r=Bi(n,e);return!r||r.type!=="comment"}function uW(t,e,n){const r=Bi(n,e);return!r||r.type!=="comment"}function dW(t,e,n){const r=Bi(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 fW(t,e,n){const r=Bi(n,e);return!r||r.type==="element"&&r.tagName==="li"}function hW(t,e,n){const r=Bi(n,e);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function pW(t,e,n){const r=Bi(n,e);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function bE(t,e,n){const r=Bi(n,e);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function mW(t,e,n){const r=Bi(n,e);return!r||r.type==="element"&&r.tagName==="optgroup"}function gW(t,e,n){const r=Bi(n,e);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function vW(t,e,n){const r=Bi(n,e);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function yW(t,e,n){const r=Bi(n,e);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function bW(t,e,n){return!Bi(n,e)}function wW(t,e,n){const r=Bi(n,e);return!r||r.type==="element"&&r.tagName==="tr"}function wE(t,e,n){const r=Bi(n,e);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const xW=P3({body:kW,colgroup:SW,head:jW,html:_W,tbody:CW});function _W(t){const e=Bi(t,-1);return!e||e.type!=="comment"}function jW(t){const e=new Set;for(const r of t.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(e.has(r.tagName))return!1;e.add(r.tagName)}const n=t.children[0];return!n||n.type==="element"}function kW(t){const e=Bi(t,-1,!0);return!e||e.type!=="comment"&&!(e.type==="text"&&Ik(e.value.charAt(0)))&&!(e.type==="element"&&(e.tagName==="meta"||e.tagName==="link"||e.tagName==="script"||e.tagName==="style"||e.tagName==="template"))}function SW(t,e,n){const r=A3(n,e),i=Bi(t,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Nk(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="col")}function CW(t,e,n){const r=A3(n,e),i=Bi(t,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Nk(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="tr")}const Bm={name:[[`
22
22
  \f\r &/=>`.split(""),`
@@ -3831,4 +3831,4 @@ button.jse-context-menu-button.svelte-1idfykj svg {
3831
3831
  }`);var Ipe=Ee('<div class="jse-main svelte-57bmz4"><!></div> <!> <!> <!>',1);function Npe(t,e){Tt(e,!1);var n=ie(void 0,!0),r=Pi("jsoneditor:JSONEditor"),i={text:""},s=void 0,o=!1,a=yi.tree,l=!0,c=!0,u=!0,d=!0,h=!1,p=!1,m=!0,b=JSON,g=void 0,v=JSON,y={parse:tde,stringify:Lo},w=[xue],x=w[0].id,_=so,j=void 0,k=void 0,T=ede,C=so,I=so,z=so,D=so,K=Ne=>{console.error(Ne),alert(Ne.toString())},de=so,X=so,Q=E(e,"content",13,i),ce=E(e,"selection",13,s),Z=E(e,"readOnly",13,o),le=E(e,"indentation",13,2),te=E(e,"tabSize",13,4),Y=E(e,"mode",13,a),ue=E(e,"mainMenuBar",13,l),N=E(e,"navigationBar",13,c),A=E(e,"statusBar",13,u),L=E(e,"askToFormat",13,d),U=E(e,"escapeControlCharacters",13,h),V=E(e,"escapeUnicodeCharacters",13,p),q=E(e,"flattenColumns",13,m),re=E(e,"parser",13,b),G=E(e,"validator",13,g),F=E(e,"validationParser",13,v),ne=E(e,"pathParser",13,y),S=E(e,"queryLanguages",13,w),R=E(e,"queryLanguageId",13,x),$=E(e,"onChangeQueryLanguage",13,_),pe=E(e,"onChange",13,j),be=E(e,"onSelect",13,k),we=E(e,"onRenderValue",13,T),fe=E(e,"onClassName",13,C),_e=E(e,"onRenderMenu",13,I),ye=E(e,"onRenderContextMenu",13,z),Ce=E(e,"onChangeMode",13,D),Be=E(e,"onError",13,K),Te=E(e,"onFocus",13,de),Oe=E(e,"onBlur",13,X),P=ie(bd(),!0),M=ie(!1,!0),B=ie(void 0,!0),oe=ie(void 0,!0),he=ie(void 0,!0),ke=ie(void 0,!0),me=ie(re(),!0);function Je(){return Q()}function Ve(Ne){return kt.apply(this,arguments)}function kt(){return(kt=Et(function*(Ne){r("set");var ut=Fw(Ne);if(ut)throw new Error(ut);O(P,bd()),Q(Ne)})).apply(this,arguments)}function jt(Ne){return Xe.apply(this,arguments)}function Xe(){return(Xe=Et(function*(Ne){r("update");var ut=Fw(Ne);if(ut)throw new Error(ut);Q(Ne),yield ti()})).apply(this,arguments)}function on(Ne){return wt.apply(this,arguments)}function wt(){return(wt=Et(function*(Ne){var ut=f(B).patch(Ne);return yield ti(),ut})).apply(this,arguments)}function zn(Ne){return qn.apply(this,arguments)}function qn(){return(qn=Et(function*(Ne){ce(Ne),yield ti()})).apply(this,arguments)}function fn(Ne,ut){return Bt.apply(this,arguments)}function Bt(){return(Bt=Et(function*(Ne,ut){f(B).expand(Ne,ut),yield ti()})).apply(this,arguments)}function kn(Ne){return sr.apply(this,arguments)}function sr(){return sr=Et(function*(Ne){var ut=arguments.length>1&&arguments[1]!==void 0&&arguments[1];f(B).collapse(Ne,ut),yield ti()}),sr.apply(this,arguments)}function Sr(Ne){f(B).transform(Ne)}function ot(){return f(B).validate()}function Rt(){return an.apply(this,arguments)}function an(){return an=Et(function*(){var Ne=f(B).acceptAutoRepair();return yield ti(),Ne}),an.apply(this,arguments)}function hn(Ne){return vn.apply(this,arguments)}function vn(){return(vn=Et(function*(Ne){yield f(B).scrollTo(Ne)})).apply(this,arguments)}function In(Ne){return f(B).findElement(Ne)}function Nn(){return fr.apply(this,arguments)}function fr(){return(fr=Et(function*(){f(B).focus(),yield ti()})).apply(this,arguments)}function Kn(){return Xr.apply(this,arguments)}function Xr(){return(Xr=Et(function*(){yield f(B).refresh()})).apply(this,arguments)}function zr(Ne){return li.apply(this,arguments)}function li(){return(li=Et(function*(Ne){var ut,St,gn,Un,yr,Yt,er,wi,xi,ln,Pn,xt,ge,Re,at,cn,Qt,Kt,Jn,ui,Br,Jt,tr,Rn,Ii,Ft,Sn,yn,H,Ae,ze=Object.keys(Ne);for(var Ie of ze)switch(Ie){case"content":Q((ut=Ne[Ie])!==null&&ut!==void 0?ut:i);break;case"selection":ce((St=Ne[Ie])!==null&&St!==void 0?St:s);break;case"readOnly":Z((gn=Ne[Ie])!==null&&gn!==void 0?gn:o);break;case"indentation":le((Un=Ne[Ie])!==null&&Un!==void 0?Un:2);break;case"tabSize":te((yr=Ne[Ie])!==null&&yr!==void 0?yr:4);break;case"mode":Y((Yt=Ne[Ie])!==null&&Yt!==void 0?Yt:a);break;case"mainMenuBar":ue((er=Ne[Ie])!==null&&er!==void 0?er:l);break;case"navigationBar":N((wi=Ne[Ie])!==null&&wi!==void 0?wi:c);break;case"statusBar":A((xi=Ne[Ie])!==null&&xi!==void 0?xi:u);break;case"askToFormat":L((ln=Ne[Ie])!==null&&ln!==void 0?ln:d);break;case"escapeControlCharacters":U((Pn=Ne[Ie])!==null&&Pn!==void 0?Pn:h);break;case"escapeUnicodeCharacters":V((xt=Ne[Ie])!==null&&xt!==void 0?xt:p);break;case"flattenColumns":q((ge=Ne[Ie])!==null&&ge!==void 0?ge:m);break;case"parser":re((Re=Ne[Ie])!==null&&Re!==void 0?Re:b);break;case"validator":G((at=Ne[Ie])!==null&&at!==void 0?at:g);break;case"validationParser":F((cn=Ne[Ie])!==null&&cn!==void 0?cn:v);break;case"pathParser":ne((Qt=Ne[Ie])!==null&&Qt!==void 0?Qt:y);break;case"queryLanguages":S((Kt=Ne[Ie])!==null&&Kt!==void 0?Kt:w);break;case"queryLanguageId":R((Jn=Ne[Ie])!==null&&Jn!==void 0?Jn:x);break;case"onChangeQueryLanguage":$((ui=Ne[Ie])!==null&&ui!==void 0?ui:_);break;case"onChange":pe((Br=Ne[Ie])!==null&&Br!==void 0?Br:j);break;case"onRenderValue":we((Jt=Ne[Ie])!==null&&Jt!==void 0?Jt:T);break;case"onClassName":fe((tr=Ne[Ie])!==null&&tr!==void 0?tr:C);break;case"onRenderMenu":_e((Rn=Ne[Ie])!==null&&Rn!==void 0?Rn:I);break;case"onRenderContextMenu":ye((Ii=Ne[Ie])!==null&&Ii!==void 0?Ii:z);break;case"onChangeMode":Ce((Ft=Ne[Ie])!==null&&Ft!==void 0?Ft:D);break;case"onSelect":be((Sn=Ne[Ie])!==null&&Sn!==void 0?Sn:k);break;case"onError":Be((yn=Ne[Ie])!==null&&yn!==void 0?yn:K);break;case"onFocus":Te((H=Ne[Ie])!==null&&H!==void 0?H:de);break;case"onBlur":Oe((Ae=Ne[Ie])!==null&&Ae!==void 0?Ae:X);break;default:Ge(Ie)}function Ge(lt){r('Unknown property "'.concat(lt,'"'))}S().some(lt=>lt.id===R())||R(S()[0].id),yield ti()})).apply(this,arguments)}function Cr(){return $i.apply(this,arguments)}function $i(){return($i=Et(function*(){throw new Error("class method destroy() is deprecated. It is replaced with a method destroy() in the vanilla library.")})).apply(this,arguments)}function pi(Ne,ut,St){Q(Ne),pe()&&pe()(Ne,ut,St)}function vr(Ne){ce(Ne),be()&&be()(h_(Ne))}function Mi(){O(M,!0),Te()&&Te()()}function ci(){O(M,!1),Oe()&&Oe()()}function $e(Ne){return ct.apply(this,arguments)}function ct(){return(ct=Et(function*(Ne){Y()!==Ne&&(Y(Ne),yield ti(),yield Nn(),Ce()(Ne))})).apply(this,arguments)}function qt(Ne){r("handleChangeQueryLanguage",Ne),R(Ne),$()(Ne)}function pn(Ne){var{id:ut,json:St,rootPath:gn,onTransform:Un,onClose:yr}=Ne;Z()||O(ke,{id:ut,json:St,rootPath:gn,indentation:le(),escapeControlCharacters:U(),escapeUnicodeCharacters:V(),parser:re(),parseMemoizeOne:f(n),validationParser:F(),pathParser:ne(),queryLanguages:S(),queryLanguageId:R(),onChangeQueryLanguage:qt,onRenderValue:we(),onRenderMenu:Yt=>_e()(Yt,{mode:Y(),modal:!0,readOnly:Z()}),onRenderContextMenu:Yt=>ye()(Yt,{mode:Y(),modal:!0,readOnly:Z(),selection:ce()}),onClassName:fe(),onTransform:Un,onClose:yr})}function en(Ne){Z()||O(he,Ne)}function Tn(Ne){var{content:ut,path:St,onPatch:gn,onClose:Un}=Ne;r("onJSONEditorModal",{content:ut,path:St}),O(oe,{content:ut,path:St,onPatch:gn,readOnly:Z(),indentation:le(),tabSize:te(),mainMenuBar:ue(),navigationBar:N(),statusBar:A(),askToFormat:L(),escapeControlCharacters:U(),escapeUnicodeCharacters:V(),flattenColumns:q(),parser:re(),validator:void 0,validationParser:F(),pathParser:ne(),onRenderValue:we(),onClassName:fe(),onRenderMenu:_e(),onRenderContextMenu:ye(),onSortModal:en,onTransformModal:pn,onClose:Un})}return xe(()=>(ee(re()),f(me),ee(Q()),bd),()=>{if(!aue(re(),f(me))){if(r("parser changed, recreate editor"),Pp(Q())){var Ne=f(me).stringify(Q().json);Q({json:Ne!==void 0?re().parse(Ne):void 0})}O(me,re()),O(P,bd())}}),xe(()=>ee(Q()),()=>{var Ne=Fw(Q());Ne&&console.error("Error: "+Ne)}),xe(()=>ee(ce()),()=>{ce()===null&&console.warn("selection is invalid: it is null but should be undefined")}),xe(()=>ee(re()),()=>{O(n,up(re().parse))}),xe(()=>ee(Y()),()=>{r("mode changed to",Y())}),Dn(),Nt(!0),kj(t,{children:(Ne,ut)=>{var St=Ipe(),gn=ht(St);$D(se(gn),()=>f(P),ln=>{kr(R4(ln,{get externalMode(){return Y()},get content(){return Q()},get selection(){return ce()},get readOnly(){return Z()},get indentation(){return le()},get tabSize(){return te()},get statusBar(){return A()},get askToFormat(){return L()},get mainMenuBar(){return ue()},get navigationBar(){return N()},get escapeControlCharacters(){return U()},get escapeUnicodeCharacters(){return V()},get flattenColumns(){return q()},get parser(){return re()},get parseMemoizeOne(){return f(n)},get validator(){return G()},get validationParser(){return F()},get pathParser(){return ne()},insideModal:!1,get onError(){return Be()},onChange:pi,onChangeMode:$e,onSelect:vr,get onRenderValue(){return we()},get onClassName(){return fe()},onFocus:Mi,onBlur:ci,get onRenderMenu(){return _e()},get onRenderContextMenu(){return ye()},onSortModal:en,onTransformModal:pn,onJSONEditorModal:Tn,$$legacy:!0}),Pn=>O(B,Pn),()=>f(B))});var Un=ve(gn,2),yr=ln=>{(function(Pn,xt){var ge,Re;Tt(xt,!1);var at=ie(void 0,!0),cn=ie(void 0,!0),Qt=ie(void 0,!0),Kt=ie(void 0,!0),Jn=Pi("jsoneditor:SortModal"),ui=E(xt,"id",9),Br=E(xt,"json",9),Jt=E(xt,"rootPath",9),tr=E(xt,"onSort",9),Rn=E(xt,"onClose",9),Ii={value:1,label:"ascending"},Ft=[Ii,{value:-1,label:"descending"}],Sn="".concat(ui(),":").concat(At(Jt())),yn=ie((ge=id()[Sn])===null||ge===void 0?void 0:ge.selectedProperty,!0),H=ie(((Re=id()[Sn])===null||Re===void 0?void 0:Re.selectedDirection)||Ii,!0),Ae=ie(void 0,!0);function ze(){try{var Ge,lt,Ot;O(Ae,void 0);var gt=((Ge=f(yn))===null||Ge===void 0?void 0:Ge.value)||((lt=f(Kt))===null||lt===void 0||(lt=lt[0])===null||lt===void 0?void 0:lt.value)||[],$t=(Ot=f(H))===null||Ot===void 0?void 0:Ot.value,un=P5(Br(),Jt(),gt,$t);tr()!==void 0&&Jt()!==void 0&&tr()({operations:un,rootPath:Jt(),itemPath:gt,direction:$t}),Rn()()}catch(Xt){O(Ae,String(Xt))}}function Ie(Ge){Ge.focus()}xe(()=>(ee(Br()),ee(Jt())),()=>{O(at,ft(Br(),Jt()))}),xe(()=>f(at),()=>{O(cn,Array.isArray(f(at)))}),xe(()=>(f(cn),f(at)),()=>{O(Qt,f(cn)?xj(f(at)):void 0)}),xe(()=>(f(Qt),Hl),()=>{O(Kt,f(Qt)?f(Qt).map(Hl):void 0)}),xe(()=>(id(),f(yn),f(H)),()=>{id(id()[Sn]={selectedProperty:f(yn),selectedDirection:f(H)}),Jn("store state in memory",Sn,id()[Sn])}),Dn(),Nt(!0),Bp(Pn,{get onClose(){return Rn()},className:"jse-sort-modal",children:(Ge,lt)=>{var Ot=Mpe(),gt=ht(Ot),$t=st(()=>f(cn)?"Sort array items":"Sort object keys");Rb(gt,{get title(){return f($t)},get onClose(){return Rn()}});var un=se(ve(gt,2)),Xt=ve(se(un)),cr=se(Xt),Kr=ve(se(cr)),W=se(Kr);Ue(()=>Pu(W,Jt()&&!or(Jt())?Lo(Jt()):"(document root)"));var je=ve(cr),Le=tn=>{var nn=Rpe(),nr=ve(se(nn));nu(se(nr),{showChevron:!0,get items(){return f(Kt)},get value(){return f(yn)},set value(Dt){O(yn,Dt)},$$legacy:!0}),ae(tn,nn)};Pe(je,tn=>{var nn;f(cn)&&(f(Kt)&&((nn=f(Kt))===null||nn===void 0?void 0:nn.length)>1||f(yn)===void 0)&&tn(Le)});var Ke=ve(je),Ye=ve(se(Ke));nu(se(Ye),{showChevron:!0,clearable:!1,items:Ft,get value(){return f(H)},set value(tn){O(H,tn)},$$legacy:!0});var Ze=ve(un,2),Mt=se(Ze),It=tn=>{var nn=$pe(),nr=se(nn);Ue(()=>zt(nr,f(Ae))),ae(tn,nn)};Pe(Mt,tn=>{f(Ae)&&tn(It)});var Lt=se(ve(Ze,2));Hi(()=>Fe("click",Lt,ze)),fs(Lt,tn=>Ie==null?void 0:Ie(tn)),Ue(()=>{var tn;return Lt.disabled=!!(f(cn)&&f(Kt)&&((tn=f(Kt))===null||tn===void 0?void 0:tn.length)>1)&&!f(yn)}),ae(Ge,Ot)},$$slots:{default:!0}}),Pt()})(ln,ac(()=>f(he),{onClose:()=>{var Pn;(Pn=f(he))===null||Pn===void 0||Pn.onClose(),O(he,void 0)}}))};Pe(Un,ln=>{f(he)&&ln(yr)});var Yt=ve(Un,2),er=ln=>{Hhe(ln,ac(()=>f(ke),{onClose:()=>{var Pn;(Pn=f(ke))===null||Pn===void 0||Pn.onClose(),O(ke,void 0)}}))};Pe(Yt,ln=>{f(ke)&&ln(er)});var wi=ve(Yt,2),xi=ln=>{(function(Pn,xt){Tt(xt,!1);var ge=ie(void 0,!0),Re=ie(void 0,!0),at=ie(void 0,!0),cn=ie(void 0,!0),Qt=Pi("jsoneditor:JSONEditorModal"),Kt=E(xt,"content",9),Jn=E(xt,"path",9),ui=E(xt,"onPatch",9),Br=E(xt,"readOnly",9),Jt=E(xt,"indentation",9),tr=E(xt,"tabSize",9),Rn=E(xt,"mainMenuBar",9),Ii=E(xt,"navigationBar",9),Ft=E(xt,"statusBar",9),Sn=E(xt,"askToFormat",9),yn=E(xt,"escapeControlCharacters",9),H=E(xt,"escapeUnicodeCharacters",9),Ae=E(xt,"flattenColumns",9),ze=E(xt,"parser",9),Ie=E(xt,"validator",9),Ge=E(xt,"validationParser",9),lt=E(xt,"pathParser",9),Ot=E(xt,"onRenderValue",9),gt=E(xt,"onClassName",9),$t=E(xt,"onRenderMenu",9),un=E(xt,"onRenderContextMenu",9),Xt=E(xt,"onSortModal",9),cr=E(xt,"onTransformModal",9),Kr=E(xt,"onClose",9),W=ie(void 0,!0),je=ie(void 0,!0),Le={mode:Ze(Kt()),content:Kt(),selection:void 0,relativePath:Jn()},Ke=ie([Le],!0),Ye=ie(void 0,!0);function Ze(et){return Pp(et)&&Wr(et.json)?yi.table:yi.tree}function Mt(){var et,nt=(et=jn(f(Ke)))===null||et===void 0?void 0:et.selection;Np(nt)&&f(W).scrollTo(_t(nt))}function It(){if(Qt("handleApply"),!Br())try{O(Ye,void 0);var et=f(ge).relativePath,nt=f(ge).content,Vt=[{op:"replace",path:At(et),value:KP(nt,ze()).json}];if(f(Ke).length>1){var Hn=KP(f(Ke)[f(Ke).length-2].content,ze()).json,bn={json:Vo(Hn,Vt)},rr=Qe(Qe({},f(Ke)[f(Ke).length-2]||Le),{},{content:bn});O(Ke,[...f(Ke).slice(0,f(Ke).length-2),rr]),ti().then(Mt)}else ui()(Vt),Kr()()}catch(Jr){O(Ye,String(Jr))}}function Lt(){Qt("handleClose"),f(je)?O(je,!1):f(Ke).length>1?(O(Ke,Mn(f(Ke))),ti().then(()=>{var et;(et=f(W))===null||et===void 0||et.focus(),Mt()}),O(Ye,void 0)):Kr()()}function tn(et){Qt("handleChange",et),Dt(nt=>Qe(Qe({},nt),{},{content:et}))}function nn(et){Qt("handleChangeSelection",et),Dt(nt=>Qe(Qe({},nt),{},{selection:et}))}function nr(et){Qt("handleChangeMode",et),Dt(nt=>Qe(Qe({},nt),{},{mode:et}))}function Dt(et){var nt=et(jn(f(Ke)));O(Ke,[...Mn(f(Ke)),nt])}function Rr(et){O(Ye,et.toString()),console.error(et)}function hr(et){var{content:nt,path:Vt}=et;Qt("handleJSONEditorModal",{content:nt,path:Vt});var Hn={mode:Ze(nt),content:nt,selection:void 0,relativePath:Vt};O(Ke,[...f(Ke),Hn]),ti().then(()=>{var bn;return(bn=f(W))===null||bn===void 0?void 0:bn.focus()})}function rn(et){et.focus()}ts(()=>{var et;(et=f(W))===null||et===void 0||et.focus()}),xe(()=>f(Ke),()=>{O(ge,jn(f(Ke))||Le)}),xe(()=>f(Ke),()=>{O(Re,f(Ke).flatMap(et=>et.relativePath))}),xe(()=>(f(Re),Lo),()=>{O(at,or(f(Re))?"(document root)":Lo(f(Re)))}),xe(()=>ee(ze()),()=>{O(cn,up(ze().parse))}),Dn(),Nt(!0),Bp(Pn,{onClose:Lt,className:"jse-jsoneditor-modal",get fullscreen(){return f(je)},children:(et,nt)=>{var Vt=Tpe();kj(se(Vt),{children:(Hn,bn)=>{var rr=Ape(),Jr=ht(rr),br=st(()=>{var Yn;return"Edit nested content ".concat((Yn=f(Ke).length>1?" (".concat(f(Ke).length,")"):"")!==null&&Yn!==void 0?Yn:"")});Rb(Jr,{get title(){return f(br)},fullScreenButton:!0,onClose:Lt,get fullscreen(){return f(je)},set fullscreen(Yn){O(je,Yn)},$$legacy:!0});var Zr=ve(Jr,2),_i=ve(se(Zr),2),So=ve(_i,4);kr(R4(se(So),{get externalMode(){return f(ge).mode},get content(){return f(ge).content},get selection(){return f(ge).selection},get readOnly(){return Br()},get indentation(){return Jt()},get tabSize(){return tr()},get statusBar(){return Ft()},get askToFormat(){return Sn()},get mainMenuBar(){return Rn()},get navigationBar(){return Ii()},get escapeControlCharacters(){return yn()},get escapeUnicodeCharacters(){return H()},get flattenColumns(){return Ae()},get parser(){return ze()},get parseMemoizeOne(){return f(cn)},get validator(){return Ie()},get validationParser(){return Ge()},get pathParser(){return lt()},insideModal:!0,onError:Rr,onChange:tn,onChangeMode:nr,onSelect:nn,get onRenderValue(){return Ot()},get onClassName(){return gt()},onFocus:so,onBlur:so,get onRenderMenu(){return $t()},get onRenderContextMenu(){return un()},get onSortModal(){return Xt()},get onTransformModal(){return cr()},onJSONEditorModal:hr,$$legacy:!0}),Yn=>O(W,Yn),()=>f(W));var di=se(ve(So,2)),As=Yn=>{var ei=Spe(),Ts=se(ei);Ue(()=>zt(Ts,f(Ye))),ae(Yn,ei)};Pe(di,Yn=>{f(Ye)&&Yn(As)});var Co=ve(di,2),Eo=Yn=>{var ei=Cpe();On(se(ei),{data:Oee}),Fe("click",ei,Lt),ae(Yn,ei)};Pe(Co,Yn=>{f(Ke).length>1&&Yn(Eo)});var vs=ve(Co,2),wr=Yn=>{var ei=Epe();Hi(()=>Fe("click",ei,It)),fs(ei,Ts=>rn==null?void 0:rn(Ts)),ae(Yn,ei)},ns=Yn=>{var ei=Ope();Fe("click",ei,Lt),ae(Yn,ei)};Pe(vs,Yn=>{Br()?Yn(ns,!1):Yn(wr)}),Ue(()=>Pu(_i,f(at))),ae(Hn,rr)},$$slots:{default:!0}}),ae(et,Vt)},$$slots:{default:!0}}),Pt()})(ln,ac(()=>f(oe),{onClose:()=>{var Pn;(Pn=f(oe))===null||Pn===void 0||Pn.onClose(),O(oe,void 0)}}))};Pe(wi,ln=>{f(oe)&&ln(xi)}),Ue(()=>bt(gn,"jse-focus",f(M))),ae(Ne,St)},$$slots:{default:!0}}),Wt(e,"get",Je),Wt(e,"set",Ve),Wt(e,"update",jt),Wt(e,"patch",on),Wt(e,"select",zn),Wt(e,"expand",fn),Wt(e,"collapse",kn),Wt(e,"transform",Sr),Wt(e,"validate",ot),Wt(e,"acceptAutoRepair",Rt),Wt(e,"scrollTo",hn),Wt(e,"findElement",In),Wt(e,"focus",Nn),Wt(e,"refresh",Kn),Wt(e,"updateProps",zr),Wt(e,"destroy",Cr),Pt({get:Je,set:Ve,update:jt,patch:on,select:zn,expand:fn,collapse:kn,transform:Sr,validate:ot,acceptAutoRepair:Rt,scrollTo:hn,findElement:In,focus:Nn,refresh:Kn,updateProps:zr,destroy:Cr})}function Lpe(t){var{target:e,props:n}=t,r=Fce(Npe,{target:e,props:n});return r.destroy=Et(function*(){return function(i){var s=bj.get(i);s&&s()}(r),new Promise(i=>setTimeout(i))}),r}const Dpe=/"(?:_|\\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*:/,zpe=/"(?: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*:/,Bpe=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Fpe(t,e){if(t==="__proto__"||t==="constructor"&&e&&typeof e=="object"&&"prototype"in e){Vpe(t);return}return e}function Vpe(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}function Gv(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(!Bpe.test(t)){if(e.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(Dpe.test(t)||zpe.test(t)){if(e.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,Fpe)}return JSON.parse(t)}catch(r){if(e.strict)throw r;return t}}function qpe(t,e={}){return Gv(t,{...e,strict:!0})}var Hpe=typeof global=="object"&&global&&global.Object===Object&&global,Upe=typeof self=="object"&&self&&self.Object===Object&&self,H5=Hpe||Upe||Function("return this")(),Ib=H5.Symbol,U5=Object.prototype,Wpe=U5.hasOwnProperty,Gpe=U5.toString,lh=Ib?Ib.toStringTag:void 0;function Kpe(t){var e=Wpe.call(t,lh),n=t[lh];try{t[lh]=void 0;var r=!0}catch{}var i=Gpe.call(t);return r&&(e?t[lh]=n:delete t[lh]),i}var Jpe=Object.prototype,Ype=Jpe.toString;function Qpe(t){return Ype.call(t)}var Xpe="[object Null]",Zpe="[object Undefined]",$4=Ib?Ib.toStringTag:void 0;function eme(t){return t==null?t===void 0?Zpe:Xpe:$4&&$4 in Object(t)?Kpe(t):Qpe(t)}function tme(t){return t!=null&&typeof t=="object"}var nme="[object Symbol]";function rme(t){return typeof t=="symbol"||tme(t)&&eme(t)==nme}var ime=/\s/;function sme(t){for(var e=t.length;e--&&ime.test(t.charAt(e)););return e}var ome=/^\s+/;function ame(t){return t&&t.slice(0,sme(t)+1).replace(ome,"")}function qj(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var M4=NaN,lme=/^[-+]0x[0-9a-f]+$/i,cme=/^0b[01]+$/i,ume=/^0o[0-7]+$/i,dme=parseInt;function I4(t){if(typeof t=="number")return t;if(rme(t))return M4;if(qj(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=qj(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=ame(t);var n=cme.test(t);return n||ume.test(t)?dme(t.slice(2),n?2:8):lme.test(t)?M4:+t}var ax=function(){return H5.Date.now()},fme="Expected a function",hme=Math.max,pme=Math.min;function mme(t,e,n){var r,i,s,o,a,l,c=0,u=!1,d=!1,h=!0;if(typeof t!="function")throw new TypeError(fme);e=I4(e)||0,qj(n)&&(u=!!n.leading,d="maxWait"in n,s=d?hme(I4(n.maxWait)||0,e):s,h="trailing"in n?!!n.trailing:h);function p(j){var k=r,T=i;return r=i=void 0,c=j,o=t.apply(T,k),o}function m(j){return c=j,a=setTimeout(v,e),u?p(j):o}function b(j){var k=j-l,T=j-c,C=e-k;return d?pme(C,s-T):C}function g(j){var k=j-l,T=j-c;return l===void 0||k>=e||k<0||d&&T>=s}function v(){var j=ax();if(g(j))return y(j);a=setTimeout(v,b(j))}function y(j){return a=void 0,h&&r?p(j):(r=i=void 0,o)}function w(){a!==void 0&&clearTimeout(a),c=0,r=l=i=a=void 0}function x(){return a===void 0?o:y(ax())}function _(){var j=ax(),k=g(j);if(r=arguments,i=this,l=j,k){if(a===void 0)return m(l);if(d)return clearTimeout(a),a=setTimeout(v,e),p(l)}return a===void 0&&(a=setTimeout(v,e)),o}return _.cancel=w,_.flush=x,_}var W5=typeof global=="object"&&global&&global.Object===Object&&global,gme=typeof self=="object"&&self&&self.Object===Object&&self,Ha=W5||gme||Function("return this")(),Ba=Ha.Symbol,G5=Object.prototype,vme=G5.hasOwnProperty,yme=G5.toString,ch=Ba?Ba.toStringTag:void 0;function bme(t){var e=vme.call(t,ch),n=t[ch];try{t[ch]=void 0;var r=!0}catch{}var i=yme.call(t);return r&&(e?t[ch]=n:delete t[ch]),i}var wme=Object.prototype,xme=wme.toString;function _me(t){return xme.call(t)}var jme="[object Null]",kme="[object Undefined]",N4=Ba?Ba.toStringTag:void 0;function Uu(t){return t==null?t===void 0?kme:jme:N4&&N4 in Object(t)?bme(t):_me(t)}function Fa(t){return t!=null&&typeof t=="object"}var Sme="[object Symbol]";function jS(t){return typeof t=="symbol"||Fa(t)&&Uu(t)==Sme}function Cme(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 _o=Array.isArray,L4=Ba?Ba.prototype:void 0,D4=L4?L4.toString:void 0;function K5(t){if(typeof t=="string")return t;if(_o(t))return Cme(t,K5)+"";if(jS(t))return D4?D4.call(t):"";var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function Ua(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}function kS(t){return t}var Eme="[object AsyncFunction]",Ome="[object Function]",Ame="[object GeneratorFunction]",Tme="[object Proxy]";function SS(t){if(!Ua(t))return!1;var e=Uu(t);return e==Ome||e==Ame||e==Eme||e==Tme}var lx=Ha["__core-js_shared__"],z4=function(){var t=/[^.]+$/.exec(lx&&lx.keys&&lx.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function Pme(t){return!!z4&&z4 in t}var Rme=Function.prototype,$me=Rme.toString;function Wu(t){if(t!=null){try{return $me.call(t)}catch{}try{return t+""}catch{}}return""}var Mme=/[\\^$.*+?()[\]{}|]/g,Ime=/^\[object .+?Constructor\]$/,Nme=Function.prototype,Lme=Object.prototype,Dme=Nme.toString,zme=Lme.hasOwnProperty,Bme=RegExp("^"+Dme.call(zme).replace(Mme,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Fme(t){if(!Ua(t)||Pme(t))return!1;var e=SS(t)?Bme:Ime;return e.test(Wu(t))}function Vme(t,e){return t==null?void 0:t[e]}function Gu(t,e){var n=Vme(t,e);return Fme(n)?n:void 0}var Hj=Gu(Ha,"WeakMap"),B4=Object.create,qme=function(){function t(){}return function(e){if(!Ua(e))return{};if(B4)return B4(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function Hme(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 Ume(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}var Wme=800,Gme=16,Kme=Date.now;function Jme(t){var e=0,n=0;return function(){var r=Kme(),i=Gme-(r-n);if(n=r,i>0){if(++e>=Wme)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function Yme(t){return function(){return t}}var Nb=function(){try{var t=Gu(Object,"defineProperty");return t({},"",{}),t}catch{}}(),Qme=Nb?function(t,e){return Nb(t,"toString",{configurable:!0,enumerable:!1,value:Yme(e),writable:!0})}:kS,Xme=Jme(Qme);function Zme(t,e){for(var n=-1,r=t==null?0:t.length;++n<r&&e(t[n],n,t)!==!1;);return t}var ege=9007199254740991,tge=/^(?:0|[1-9]\d*)$/;function CS(t,e){var n=typeof t;return e=e??ege,!!e&&(n=="number"||n!="symbol"&&tge.test(t))&&t>-1&&t%1==0&&t<e}function a1(t,e,n){e=="__proto__"&&Nb?Nb(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function xm(t,e){return t===e||t!==t&&e!==e}var nge=Object.prototype,rge=nge.hasOwnProperty;function J5(t,e,n){var r=t[e];(!(rge.call(t,e)&&xm(r,n))||n===void 0&&!(e in t))&&a1(t,e,n)}function Y5(t,e,n,r){var i=!n;n||(n={});for(var s=-1,o=e.length;++s<o;){var a=e[s],l=r?r(n[a],t[a],a,n,t):void 0;l===void 0&&(l=t[a]),i?a1(n,a,l):J5(n,a,l)}return n}var F4=Math.max;function ige(t,e,n){return e=F4(e===void 0?t.length-1:e,0),function(){for(var r=arguments,i=-1,s=F4(r.length-e,0),o=Array(s);++i<s;)o[i]=r[e+i];i=-1;for(var a=Array(e+1);++i<e;)a[i]=r[i];return a[e]=n(o),Hme(t,this,a)}}function sge(t,e){return Xme(ige(t,e,kS),t+"")}var oge=9007199254740991;function ES(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=oge}function l1(t){return t!=null&&ES(t.length)&&!SS(t)}function age(t,e,n){if(!Ua(n))return!1;var r=typeof e;return(r=="number"?l1(n)&&CS(e,n.length):r=="string"&&e in n)?xm(n[e],t):!1}function Q5(t){return sge(function(e,n){var r=-1,i=n.length,s=i>1?n[i-1]:void 0,o=i>2?n[2]:void 0;for(s=t.length>3&&typeof s=="function"?(i--,s):void 0,o&&age(n[0],n[1],o)&&(s=i<3?void 0:s,i=1),e=Object(e);++r<i;){var a=n[r];a&&t(e,a,r,s)}return e})}var lge=Object.prototype;function OS(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||lge;return t===n}function cge(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}var uge="[object Arguments]";function V4(t){return Fa(t)&&Uu(t)==uge}var X5=Object.prototype,dge=X5.hasOwnProperty,fge=X5.propertyIsEnumerable,Lb=V4(function(){return arguments}())?V4:function(t){return Fa(t)&&dge.call(t,"callee")&&!fge.call(t,"callee")};function hge(){return!1}var Z5=typeof exports=="object"&&exports&&!exports.nodeType&&exports,q4=Z5&&typeof module=="object"&&module&&!module.nodeType&&module,pge=q4&&q4.exports===Z5,H4=pge?Ha.Buffer:void 0,mge=H4?H4.isBuffer:void 0,Vp=mge||hge,gge="[object Arguments]",vge="[object Array]",yge="[object Boolean]",bge="[object Date]",wge="[object Error]",xge="[object Function]",_ge="[object Map]",jge="[object Number]",kge="[object Object]",Sge="[object RegExp]",Cge="[object Set]",Ege="[object String]",Oge="[object WeakMap]",Age="[object ArrayBuffer]",Tge="[object DataView]",Pge="[object Float32Array]",Rge="[object Float64Array]",$ge="[object Int8Array]",Mge="[object Int16Array]",Ige="[object Int32Array]",Nge="[object Uint8Array]",Lge="[object Uint8ClampedArray]",Dge="[object Uint16Array]",zge="[object Uint32Array]",Vr={};Vr[Pge]=Vr[Rge]=Vr[$ge]=Vr[Mge]=Vr[Ige]=Vr[Nge]=Vr[Lge]=Vr[Dge]=Vr[zge]=!0;Vr[gge]=Vr[vge]=Vr[Age]=Vr[yge]=Vr[Tge]=Vr[bge]=Vr[wge]=Vr[xge]=Vr[_ge]=Vr[jge]=Vr[kge]=Vr[Sge]=Vr[Cge]=Vr[Ege]=Vr[Oge]=!1;function Bge(t){return Fa(t)&&ES(t.length)&&!!Vr[Uu(t)]}function AS(t){return function(e){return t(e)}}var e6=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Fh=e6&&typeof module=="object"&&module&&!module.nodeType&&module,Fge=Fh&&Fh.exports===e6,cx=Fge&&W5.process,jf=function(){try{var t=Fh&&Fh.require&&Fh.require("util").types;return t||cx&&cx.binding&&cx.binding("util")}catch{}}(),U4=jf&&jf.isTypedArray,TS=U4?AS(U4):Bge,Vge=Object.prototype,qge=Vge.hasOwnProperty;function t6(t,e){var n=_o(t),r=!n&&Lb(t),i=!n&&!r&&Vp(t),s=!n&&!r&&!i&&TS(t),o=n||r||i||s,a=o?cge(t.length,String):[],l=a.length;for(var c in t)(e||qge.call(t,c))&&!(o&&(c=="length"||i&&(c=="offset"||c=="parent")||s&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||CS(c,l)))&&a.push(c);return a}function n6(t,e){return function(n){return t(e(n))}}var Hge=n6(Object.keys,Object),Uge=Object.prototype,Wge=Uge.hasOwnProperty;function Gge(t){if(!OS(t))return Hge(t);var e=[];for(var n in Object(t))Wge.call(t,n)&&n!="constructor"&&e.push(n);return e}function PS(t){return l1(t)?t6(t):Gge(t)}function Kge(t){var e=[];if(t!=null)for(var n in Object(t))e.push(n);return e}var Jge=Object.prototype,Yge=Jge.hasOwnProperty;function Qge(t){if(!Ua(t))return Kge(t);var e=OS(t),n=[];for(var r in t)r=="constructor"&&(e||!Yge.call(t,r))||n.push(r);return n}function RS(t){return l1(t)?t6(t,!0):Qge(t)}var Xge=Q5(function(t,e,n,r){Y5(e,RS(e),t,r)}),Zge=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,eve=/^\w*$/;function $S(t,e){if(_o(t))return!1;var n=typeof t;return n=="number"||n=="symbol"||n=="boolean"||t==null||jS(t)?!0:eve.test(t)||!Zge.test(t)||e!=null&&t in Object(e)}var qp=Gu(Object,"create");function tve(){this.__data__=qp?qp(null):{},this.size=0}function nve(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var rve="__lodash_hash_undefined__",ive=Object.prototype,sve=ive.hasOwnProperty;function ove(t){var e=this.__data__;if(qp){var n=e[t];return n===rve?void 0:n}return sve.call(e,t)?e[t]:void 0}var ave=Object.prototype,lve=ave.hasOwnProperty;function cve(t){var e=this.__data__;return qp?e[t]!==void 0:lve.call(e,t)}var uve="__lodash_hash_undefined__";function dve(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=qp&&e===void 0?uve:e,this}function Nu(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])}}Nu.prototype.clear=tve;Nu.prototype.delete=nve;Nu.prototype.get=ove;Nu.prototype.has=cve;Nu.prototype.set=dve;function fve(){this.__data__=[],this.size=0}function c1(t,e){for(var n=t.length;n--;)if(xm(t[n][0],e))return n;return-1}var hve=Array.prototype,pve=hve.splice;function mve(t){var e=this.__data__,n=c1(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():pve.call(e,n,1),--this.size,!0}function gve(t){var e=this.__data__,n=c1(e,t);return n<0?void 0:e[n][1]}function vve(t){return c1(this.__data__,t)>-1}function yve(t,e){var n=this.__data__,r=c1(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function Al(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])}}Al.prototype.clear=fve;Al.prototype.delete=mve;Al.prototype.get=gve;Al.prototype.has=vve;Al.prototype.set=yve;var Hp=Gu(Ha,"Map");function bve(){this.size=0,this.__data__={hash:new Nu,map:new(Hp||Al),string:new Nu}}function wve(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function u1(t,e){var n=t.__data__;return wve(e)?n[typeof e=="string"?"string":"hash"]:n.map}function xve(t){var e=u1(this,t).delete(t);return this.size-=e?1:0,e}function _ve(t){return u1(this,t).get(t)}function jve(t){return u1(this,t).has(t)}function kve(t,e){var n=u1(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}function Tl(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])}}Tl.prototype.clear=bve;Tl.prototype.delete=xve;Tl.prototype.get=_ve;Tl.prototype.has=jve;Tl.prototype.set=kve;var Sve="Expected a function";function MS(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(Sve);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],s=n.cache;if(s.has(i))return s.get(i);var o=t.apply(this,r);return n.cache=s.set(i,o)||s,o};return n.cache=new(MS.Cache||Tl),n}MS.Cache=Tl;var Cve=500;function Eve(t){var e=MS(t,function(r){return n.size===Cve&&n.clear(),r}),n=e.cache;return e}var Ove=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ave=/\\(\\)?/g,Tve=Eve(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(Ove,function(n,r,i,s){e.push(i?s.replace(Ave,"$1"):r||n)}),e});function Pve(t){return t==null?"":K5(t)}function r6(t,e){return _o(t)?t:$S(t,e)?[t]:Tve(Pve(t))}function d1(t){if(typeof t=="string"||jS(t))return t;var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function i6(t,e){e=r6(e,t);for(var n=0,r=e.length;t!=null&&n<r;)t=t[d1(e[n++])];return n&&n==r?t:void 0}function Rve(t,e,n){var r=t==null?void 0:i6(t,e);return r===void 0?n:r}function $ve(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}var s6=n6(Object.getPrototypeOf,Object),Mve="[object Object]",Ive=Function.prototype,Nve=Object.prototype,o6=Ive.toString,Lve=Nve.hasOwnProperty,Dve=o6.call(Object);function zve(t){if(!Fa(t)||Uu(t)!=Mve)return!1;var e=s6(t);if(e===null)return!0;var n=Lve.call(e,"constructor")&&e.constructor;return typeof n=="function"&&n instanceof n&&o6.call(n)==Dve}function Bve(){this.__data__=new Al,this.size=0}function Fve(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}function Vve(t){return this.__data__.get(t)}function qve(t){return this.__data__.has(t)}var Hve=200;function Uve(t,e){var n=this.__data__;if(n instanceof Al){var r=n.__data__;if(!Hp||r.length<Hve-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Tl(r)}return n.set(t,e),this.size=n.size,this}function Yo(t){var e=this.__data__=new Al(t);this.size=e.size}Yo.prototype.clear=Bve;Yo.prototype.delete=Fve;Yo.prototype.get=Vve;Yo.prototype.has=qve;Yo.prototype.set=Uve;var a6=typeof exports=="object"&&exports&&!exports.nodeType&&exports,W4=a6&&typeof module=="object"&&module&&!module.nodeType&&module,Wve=W4&&W4.exports===a6,G4=Wve?Ha.Buffer:void 0,K4=G4?G4.allocUnsafe:void 0;function l6(t,e){if(e)return t.slice();var n=t.length,r=K4?K4(n):new t.constructor(n);return t.copy(r),r}function Gve(t,e){for(var n=-1,r=t==null?0:t.length,i=0,s=[];++n<r;){var o=t[n];e(o,n,t)&&(s[i++]=o)}return s}function Kve(){return[]}var Jve=Object.prototype,Yve=Jve.propertyIsEnumerable,J4=Object.getOwnPropertySymbols,Qve=J4?function(t){return t==null?[]:(t=Object(t),Gve(J4(t),function(e){return Yve.call(t,e)}))}:Kve;function Xve(t,e,n){var r=e(t);return _o(t)?r:$ve(r,n(t))}function Uj(t){return Xve(t,PS,Qve)}var Wj=Gu(Ha,"DataView"),Gj=Gu(Ha,"Promise"),Kj=Gu(Ha,"Set"),Y4="[object Map]",Zve="[object Object]",Q4="[object Promise]",X4="[object Set]",Z4="[object WeakMap]",eR="[object DataView]",eye=Wu(Wj),tye=Wu(Hp),nye=Wu(Gj),rye=Wu(Kj),iye=Wu(Hj),$o=Uu;(Wj&&$o(new Wj(new ArrayBuffer(1)))!=eR||Hp&&$o(new Hp)!=Y4||Gj&&$o(Gj.resolve())!=Q4||Kj&&$o(new Kj)!=X4||Hj&&$o(new Hj)!=Z4)&&($o=function(t){var e=Uu(t),n=e==Zve?t.constructor:void 0,r=n?Wu(n):"";if(r)switch(r){case eye:return eR;case tye:return Y4;case nye:return Q4;case rye:return X4;case iye:return Z4}return e});var sye=Object.prototype,oye=sye.hasOwnProperty;function aye(t){var e=t.length,n=new t.constructor(e);return e&&typeof t[0]=="string"&&oye.call(t,"index")&&(n.index=t.index,n.input=t.input),n}var Db=Ha.Uint8Array;function IS(t){var e=new t.constructor(t.byteLength);return new Db(e).set(new Db(t)),e}function lye(t,e){var n=IS(t.buffer);return new t.constructor(n,t.byteOffset,t.byteLength)}var cye=/\w*$/;function uye(t){var e=new t.constructor(t.source,cye.exec(t));return e.lastIndex=t.lastIndex,e}var tR=Ba?Ba.prototype:void 0,nR=tR?tR.valueOf:void 0;function dye(t){return nR?Object(nR.call(t)):{}}function c6(t,e){var n=e?IS(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}var fye="[object Boolean]",hye="[object Date]",pye="[object Map]",mye="[object Number]",gye="[object RegExp]",vye="[object Set]",yye="[object String]",bye="[object Symbol]",wye="[object ArrayBuffer]",xye="[object DataView]",_ye="[object Float32Array]",jye="[object Float64Array]",kye="[object Int8Array]",Sye="[object Int16Array]",Cye="[object Int32Array]",Eye="[object Uint8Array]",Oye="[object Uint8ClampedArray]",Aye="[object Uint16Array]",Tye="[object Uint32Array]";function Pye(t,e,n){var r=t.constructor;switch(e){case wye:return IS(t);case fye:case hye:return new r(+t);case xye:return lye(t);case _ye:case jye:case kye:case Sye:case Cye:case Eye:case Oye:case Aye:case Tye:return c6(t,n);case pye:return new r;case mye:case yye:return new r(t);case gye:return uye(t);case vye:return new r;case bye:return dye(t)}}function u6(t){return typeof t.constructor=="function"&&!OS(t)?qme(s6(t)):{}}var Rye="[object Map]";function $ye(t){return Fa(t)&&$o(t)==Rye}var rR=jf&&jf.isMap,Mye=rR?AS(rR):$ye,Iye="[object Set]";function Nye(t){return Fa(t)&&$o(t)==Iye}var iR=jf&&jf.isSet,Lye=iR?AS(iR):Nye,Dye=1,d6="[object Arguments]",zye="[object Array]",Bye="[object Boolean]",Fye="[object Date]",Vye="[object Error]",f6="[object Function]",qye="[object GeneratorFunction]",Hye="[object Map]",Uye="[object Number]",h6="[object Object]",Wye="[object RegExp]",Gye="[object Set]",Kye="[object String]",Jye="[object Symbol]",Yye="[object WeakMap]",Qye="[object ArrayBuffer]",Xye="[object DataView]",Zye="[object Float32Array]",ebe="[object Float64Array]",tbe="[object Int8Array]",nbe="[object Int16Array]",rbe="[object Int32Array]",ibe="[object Uint8Array]",sbe="[object Uint8ClampedArray]",obe="[object Uint16Array]",abe="[object Uint32Array]",Mr={};Mr[d6]=Mr[zye]=Mr[Qye]=Mr[Xye]=Mr[Bye]=Mr[Fye]=Mr[Zye]=Mr[ebe]=Mr[tbe]=Mr[nbe]=Mr[rbe]=Mr[Hye]=Mr[Uye]=Mr[h6]=Mr[Wye]=Mr[Gye]=Mr[Kye]=Mr[Jye]=Mr[ibe]=Mr[sbe]=Mr[obe]=Mr[abe]=!0;Mr[Vye]=Mr[f6]=Mr[Yye]=!1;function Kv(t,e,n,r,i,s){var o,a=e&Dye;if(o!==void 0)return o;if(!Ua(t))return t;var l=_o(t);if(l)o=aye(t);else{var c=$o(t),u=c==f6||c==qye;if(Vp(t))return l6(t,a);if(c==h6||c==d6||u&&!i)o=u?{}:u6(t);else{if(!Mr[c])return i?t:{};o=Pye(t,c,a)}}s||(s=new Yo);var d=s.get(t);if(d)return d;s.set(t,o),Lye(t)?t.forEach(function(m){o.add(Kv(m,e,n,m,t,s))}):Mye(t)&&t.forEach(function(m,b){o.set(b,Kv(m,e,n,b,t,s))});var h=Uj,p=l?void 0:h(t);return Zme(p||t,function(m,b){p&&(b=m,m=t[b]),J5(o,b,Kv(m,e,n,b,t,s))}),o}var lbe=1,cbe=4;function ube(t){return Kv(t,lbe|cbe)}var dbe="__lodash_hash_undefined__";function fbe(t){return this.__data__.set(t,dbe),this}function hbe(t){return this.__data__.has(t)}function zb(t){var e=-1,n=t==null?0:t.length;for(this.__data__=new Tl;++e<n;)this.add(t[e])}zb.prototype.add=zb.prototype.push=fbe;zb.prototype.has=hbe;function pbe(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 mbe(t,e){return t.has(e)}var gbe=1,vbe=2;function p6(t,e,n,r,i,s){var o=n&gbe,a=t.length,l=e.length;if(a!=l&&!(o&&l>a))return!1;var c=s.get(t),u=s.get(e);if(c&&u)return c==e&&u==t;var d=-1,h=!0,p=n&vbe?new zb:void 0;for(s.set(t,e),s.set(e,t);++d<a;){var m=t[d],b=e[d];if(r)var g=o?r(b,m,d,e,t,s):r(m,b,d,t,e,s);if(g!==void 0){if(g)continue;h=!1;break}if(p){if(!pbe(e,function(v,y){if(!mbe(p,y)&&(m===v||i(m,v,n,r,s)))return p.push(y)})){h=!1;break}}else if(!(m===b||i(m,b,n,r,s))){h=!1;break}}return s.delete(t),s.delete(e),h}function ybe(t){var e=-1,n=Array(t.size);return t.forEach(function(r,i){n[++e]=[i,r]}),n}function bbe(t){var e=-1,n=Array(t.size);return t.forEach(function(r){n[++e]=r}),n}var wbe=1,xbe=2,_be="[object Boolean]",jbe="[object Date]",kbe="[object Error]",Sbe="[object Map]",Cbe="[object Number]",Ebe="[object RegExp]",Obe="[object Set]",Abe="[object String]",Tbe="[object Symbol]",Pbe="[object ArrayBuffer]",Rbe="[object DataView]",sR=Ba?Ba.prototype:void 0,ux=sR?sR.valueOf:void 0;function $be(t,e,n,r,i,s,o){switch(n){case Rbe:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case Pbe:return!(t.byteLength!=e.byteLength||!s(new Db(t),new Db(e)));case _be:case jbe:case Cbe:return xm(+t,+e);case kbe:return t.name==e.name&&t.message==e.message;case Ebe:case Abe:return t==e+"";case Sbe:var a=ybe;case Obe:var l=r&wbe;if(a||(a=bbe),t.size!=e.size&&!l)return!1;var c=o.get(t);if(c)return c==e;r|=xbe,o.set(t,e);var u=p6(a(t),a(e),r,i,s,o);return o.delete(t),u;case Tbe:if(ux)return ux.call(t)==ux.call(e)}return!1}var Mbe=1,Ibe=Object.prototype,Nbe=Ibe.hasOwnProperty;function Lbe(t,e,n,r,i,s){var o=n&Mbe,a=Uj(t),l=a.length,c=Uj(e),u=c.length;if(l!=u&&!o)return!1;for(var d=l;d--;){var h=a[d];if(!(o?h in e:Nbe.call(e,h)))return!1}var p=s.get(t),m=s.get(e);if(p&&m)return p==e&&m==t;var b=!0;s.set(t,e),s.set(e,t);for(var g=o;++d<l;){h=a[d];var v=t[h],y=e[h];if(r)var w=o?r(y,v,h,e,t,s):r(v,y,h,t,e,s);if(!(w===void 0?v===y||i(v,y,n,r,s):w)){b=!1;break}g||(g=h=="constructor")}if(b&&!g){var x=t.constructor,_=e.constructor;x!=_&&"constructor"in t&&"constructor"in e&&!(typeof x=="function"&&x instanceof x&&typeof _=="function"&&_ instanceof _)&&(b=!1)}return s.delete(t),s.delete(e),b}var Dbe=1,oR="[object Arguments]",aR="[object Array]",bv="[object Object]",zbe=Object.prototype,lR=zbe.hasOwnProperty;function Bbe(t,e,n,r,i,s){var o=_o(t),a=_o(e),l=o?aR:$o(t),c=a?aR:$o(e);l=l==oR?bv:l,c=c==oR?bv:c;var u=l==bv,d=c==bv,h=l==c;if(h&&Vp(t)){if(!Vp(e))return!1;o=!0,u=!1}if(h&&!u)return s||(s=new Yo),o||TS(t)?p6(t,e,n,r,i,s):$be(t,e,l,n,r,i,s);if(!(n&Dbe)){var p=u&&lR.call(t,"__wrapped__"),m=d&&lR.call(e,"__wrapped__");if(p||m){var b=p?t.value():t,g=m?e.value():e;return s||(s=new Yo),i(b,g,n,r,s)}}return h?(s||(s=new Yo),Lbe(t,e,n,r,i,s)):!1}function NS(t,e,n,r,i){return t===e?!0:t==null||e==null||!Fa(t)&&!Fa(e)?t!==t&&e!==e:Bbe(t,e,n,r,NS,i)}var Fbe=1,Vbe=2;function qbe(t,e,n,r){var i=n.length,s=i;if(t==null)return!s;for(t=Object(t);i--;){var o=n[i];if(o[2]?o[1]!==t[o[0]]:!(o[0]in t))return!1}for(;++i<s;){o=n[i];var a=o[0],l=t[a],c=o[1];if(o[2]){if(l===void 0&&!(a in t))return!1}else{var u=new Yo,d;if(!(d===void 0?NS(c,l,Fbe|Vbe,r,u):d))return!1}}return!0}function m6(t){return t===t&&!Ua(t)}function Hbe(t){for(var e=PS(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,m6(i)]}return e}function g6(t,e){return function(n){return n==null?!1:n[t]===e&&(e!==void 0||t in Object(n))}}function Ube(t){var e=Hbe(t);return e.length==1&&e[0][2]?g6(e[0][0],e[0][1]):function(n){return n===t||qbe(n,t,e)}}function Wbe(t,e){return t!=null&&e in Object(t)}function Gbe(t,e,n){e=r6(e,t);for(var r=-1,i=e.length,s=!1;++r<i;){var o=d1(e[r]);if(!(s=t!=null&&n(t,o)))break;t=t[o]}return s||++r!=i?s:(i=t==null?0:t.length,!!i&&ES(i)&&CS(o,i)&&(_o(t)||Lb(t)))}function Kbe(t,e){return t!=null&&Gbe(t,e,Wbe)}var Jbe=1,Ybe=2;function Qbe(t,e){return $S(t)&&m6(e)?g6(d1(t),e):function(n){var r=Rve(n,t);return r===void 0&&r===e?Kbe(n,t):NS(e,r,Jbe|Ybe)}}function Xbe(t){return function(e){return e==null?void 0:e[t]}}function Zbe(t){return function(e){return i6(e,t)}}function e0e(t){return $S(t)?Xbe(d1(t)):Zbe(t)}function t0e(t){return typeof t=="function"?t:t==null?kS:typeof t=="object"?_o(t)?Qbe(t[0],t[1]):Ube(t):e0e(t)}function n0e(t){return function(e,n,r){for(var i=-1,s=Object(e),o=r(e),a=o.length;a--;){var l=o[++i];if(n(s[l],l,s)===!1)break}return e}}var v6=n0e();function r0e(t,e){return t&&v6(t,e,PS)}function Jj(t,e,n){(n!==void 0&&!xm(t[e],n)||n===void 0&&!(e in t))&&a1(t,e,n)}function i0e(t){return Fa(t)&&l1(t)}function Yj(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}function s0e(t){return Y5(t,RS(t))}function o0e(t,e,n,r,i,s,o){var a=Yj(t,n),l=Yj(e,n),c=o.get(l);if(c){Jj(t,n,c);return}var u=s?s(a,l,n+"",t,e,o):void 0,d=u===void 0;if(d){var h=_o(l),p=!h&&Vp(l),m=!h&&!p&&TS(l);u=l,h||p||m?_o(a)?u=a:i0e(a)?u=Ume(a):p?(d=!1,u=l6(l,!0)):m?(d=!1,u=c6(l,!0)):u=[]:zve(l)||Lb(l)?(u=a,Lb(a)?u=s0e(a):(!Ua(a)||SS(a))&&(u=u6(l))):d=!1}d&&(o.set(l,u),i(u,l,r,s,o),o.delete(l)),Jj(t,n,u)}function y6(t,e,n,r,i){t!==e&&v6(e,function(s,o){if(i||(i=new Yo),Ua(s))o0e(t,e,o,n,y6,r,i);else{var a=r?r(Yj(t,o),s,o+"",t,e,i):void 0;a===void 0&&(a=s),Jj(t,o,a)}},RS)}var a0e=Q5(function(t,e,n,r){y6(t,e,n,r)});function l0e(t,e){var n={};return e=t0e(e),r0e(t,function(r,i,s){a1(n,e(r,i,s),r)}),n}const c0e=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),u0e=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),d0e=new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d","u"),f0e=/[^\p{L}\d]+/giu,cR="$1\0$2",uR="";function b6(t){let e=t.trim();e=e.replace(c0e,cR).replace(u0e,cR),e=e.replace(f0e,"\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 h0e(t){const e=b6(t);for(let n=0;n<e.length;n++){const r=e[n],i=d0e.exec(r);if(i){const s=i.index+(i[1]??i[2]).length;e.splice(n,1,r.slice(0,s),r.slice(s))}}return e}function p0e(t,e){const[n,r,i]=y0e(t,e),s=m0e(void 0),o=g0e(void 0),a=v0e(s,o);return n+r.map((l,c)=>c===0?s(l):a(l,c)).join("")+i}function m0e(t){return e=>e.toLocaleLowerCase(t)}function g0e(t){return e=>e.toLocaleUpperCase(t)}function v0e(t,e){return(n,r)=>{const i=n[0];return(r>0&&i>="0"&&i<="9"?"_"+i:e(i))+t(n.slice(1))}}function y0e(t,e={}){const n=e.split??(e.separateNumbers?h0e:b6),r=e.prefixCharacters??uR,i=e.suffixCharacters??uR;let s=0,o=t.length;for(;s<t.length;){const a=t.charAt(s);if(!r.includes(a))break;s++}for(;o>s;){const a=o-1,l=t.charAt(a);if(!i.includes(l))break;o=a}return[t.slice(0,s),n(t.slice(s,o)),t.slice(o)]}const Vh=t=>/.+-.+/.test(t)?p0e(t):t,b0e=t=>Object.prototype.toString.call(t).slice(8,-1)==="Object";function w0e(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 x0e=w0e("String,Number,Boolean,Function,Symbol,BigInt");function _0e(t){const e=t==null?void 0:t.toString().match(/^\s*function (\w+)/);return e?e[1]:t===null?"null":""}function j0e(t,e){let n;const r=_0e(e);if(x0e(r)){const i=typeof t;n=i===r.toLowerCase(),!n&&i==="object"&&(n=t instanceof e)}else r==="Object"?n=Ua(t):r==="Array"?n=Array.isArray(t):r==="null"?n=t===null:n=t instanceof e;return{valid:n,expectedType:r}}function k0e({prop:t,type:e,validator:n}){if(![void 0,null].includes(t)&&e){let r=!1;const i=Array.isArray(e)?e:[e],s=[];for(let o=0;o<i.length&&!r;o++){const{valid:a,expectedType:l}=j0e(t,i[o]);s.push(l||""),r=a}if(!r)throw new TypeError(`Invalid prop: type check failed, expecting [${s.join(", ")}], receiving: ${t}`)}if(n&&!n(t))throw new Error(`Invalid prop: validator check failed, receiving: ${t}`)}function S0e(t,{mergeObject:e,mergeObjectCustomizer:n,mergeFunction:r}){const i=[];for(let o=t.length-1;o>=0;o--)i.push(t[o]);const s=n||(r?(o,a)=>typeof o=="function"&&typeof a=="function"?r==null?void 0:r(a,o):void 0:void 0);return e==="deep"?a0e(...i,s):Xge(...i,s)}function C0e(t,{mergeFunction:e}){return t.reduce(e,()=>{})}function Dl(t,e={}){const{type:n,default:r,defaultIsDynamic:i=!1,required:s=!1,validator:o,camelizeObjectKeys:a=!1,mergeObjectApplyOnlyToDefault:l=!1,mergeFunctionApplyOnlyToDefault:c=!0}=e;let{mergeObject:u="deep",mergeObjectCustomizer:d,mergeFunction:h=!1}=e;const p=[];let m,b=!1,g=!1;const v=y=>{if(y!==void 0){k0e({type:n,prop:y,validator:o});const w=b0e(y),x=typeof y=="function";return b=w,g=x,w?(y=ube(y),a?l0e(y,(_,j)=>Vh(j)):y):y}};for(const y of t)p.push(v(y));if(!i)p.push(v(r));else if(typeof r!="function")throw new TypeError(`Invalid option: options.default should be Function when options.defaultIsDynamic enabled, receiving: ${r}`);b||(u=!1,g||(h=!1));for(let y=0;y<p.length;y++){const w=p[y];if(w!==void 0){y===p.length-1?m=w:u?m=S0e(l?[w,r]:p,{mergeObject:u,mergeObjectCustomizer:d,mergeFunction:h}):h?m=C0e(c?[w,r]:p,{mergeFunction:h}):m=w;break}}if(s&&[void 0,null].includes(m))throw new Error("Missing required prop");return i?Dl(t,{...e,default:r(m),defaultIsDynamic:!1}):m}function dR(t){const e=Array.from(Vh(t));return e[0]=e[0].toUpperCase(),e.unshift("o","n"),e.join("")}function E0e(t,{props:e=[],camelizePropNames:n=!1}={}){const r={props:{},attrs:{},listeners:{},hooks:{},slots:{}};let i;if(Array.isArray(e))i=n?e.map(s=>Vh(s)):e;else if(n){i=[];for(const s in e)i.push(Vh(s))}else i=Object.keys(e);for(const s in t)if(s.startsWith("@")){const o=s.substring(1);if(o.startsWith("vue:"))r.hooks[dR(o.replace("vue:","vnode-"))]=t[s];else{if(o.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[dR(o)]=t[s]}}else if(s.startsWith("#")){const o=s.substring(1);o&&(r.slots[o]=t[s])}else{const o=n?Vh(s):s;i.includes(o)?r.props[o]=t[s]:r.attrs[s]=t[s]}return r}const fR="JsonEditorVue",$l={},hR={},Jv="modelValue",pR="update:modelValue",Yv=["mainMenuBar","navigationBar","statusBar","askToFormat","readOnly","escapeControlCharacters","escapeUnicodeCharacters","flattenColumns"],mR={[Jv]:{},mode:{type:String},debounce:{type:Number},stringified:{type:Boolean,default:void 0},...Object.fromEntries(Yv.map(t=>[t,{type:Boolean,default:void 0}]))},O0e=Ri({name:fR,install(t,e){const n=E0e(e||{},{props:mR});Object.assign($l,n.props),Object.assign(hR,n.attrs),t.component(fR,this)},props:mR,emits:{[pR](t){return!0},"update:mode":function(t){return!0}},setup(t,{attrs:e,emit:n,expose:r}){var i;const s=(i=Sl())==null?void 0:i.proxy,o=Zt(),a=Zt(!1),l=Zt();Yb(()=>{var v;l.value=Dl([t.mode,$l.mode],{type:String}),(v=o.value)==null||v.updateProps({mode:l.value||yi.tree})});const c=v=>{n("update:mode",v)};$l.mode!==void 0&&t.mode===void 0&&c($l.mode);const u=mn(()=>Dl([t.debounce,$l.debounce,300],{type:Number})),d=mn(()=>Dl([t.stringified,$l.stringified,!0],{type:Boolean}));let h=Gv;const p=v=>{a.value=!0,!d.value&&v.text&&(o.value&&!o.value.validate()&&(v.json=h(v.text)),v.text=void 0),n(pR,v.text===void 0?v.json:v.text)},m=mme(p,u.value),b=v=>{l.value==="text"?m(v):p(v)},g=(v,y)=>(...w)=>{v(...w),y(...w)};return r==null||r({jsonEditor:o}),Kb(()=>{var v;(v=o.value)==null||v.destroy()}),Lu(()=>{const v=Dl([t[Jv],$l[Jv]]),y=Object.fromEntries(Array.from(Yv,x=>[x,Dl([t[x],$l[x]])]).filter(([,x])=>x!==void 0)),w=Dl([y,e,hR],{camelizeObjectKeys:!0,defaultIsDynamic:!0,default:x=>{var _;return h=((_=x.parser)==null?void 0:_.parse)||Gv,{onChange:b,onChangeMode:c,mode:l.value,parser:{parse:qpe,stringify:JSON.stringify},...v!==void 0&&{content:{[typeof v=="string"&&l.value==="text"&&d.value?"text":"json"]:v}}}},mergeFunction:g,mergeObject:"shallow",type:Object});o.value=Lpe({target:s==null?void 0:s.$refs.jsonEditorRef,props:w}),bi(()=>t[Jv],x=>{if(a.value){a.value=!1;return}o.value&&o.value.set([void 0,""].includes(x)?{text:""}:{[typeof x=="string"&&l.value==="text"&&d.value?"text":"json"]:x})},{deep:!0}),bi(()=>Array.from(Yv,x=>t[x]),x=>{var _;(_=o.value)==null||_.updateProps(Object.fromEntries(Array.from(x,(j,k)=>[Yv[k],j]).filter(([,j])=>j!==void 0)))}),bi(()=>e,x=>{var _,j;const k={};(x.onChange||x["on-change"])&&(k.onChange=b),(x.onChangeMode||x["on-change-mode"])&&(k.onChangeMode=c),h=((_=x.parser)==null?void 0:_.parse)||Gv,(j=o.value)==null||j.updateProps(Object.getOwnPropertyNames(k).length>0?Dl([x,k],{camelizeObjectKeys:!0,mergeFunction:g,mergeObject:"shallow",type:Object}):x)},{deep:!0}),r||(r=x=>{for(const _ in x)s[_]=Se(x[_])},r({jsonEditor:o}))}),()=>ef("div",{ref:"jsonEditorRef"})}}),A0e={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),s=Math.max(Math.min(this.getCurrentDragPercentage(t),i),r);let o=[e,e+1],a=this.panes[o[0]]||null,l=this.panes[o[1]]||null;const c=a.max<100&&s>=a.max+n.prevPanesSize,u=l.max<100&&s<=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 d=this.doPushOtherPanes(n,s);if(!d)return;({sums:n,panesToResize:o}=d),a=this.panes[o[0]]||null,l=this.panes[o[1]]||null}a!==null&&(a.size=Math.min(Math.max(s-n.prevPanesSize-n.prevReachedMinPanes,a.min),a.max)),l!==null&&(l.size=Math.min(Math.max(100-s-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,s)=>{s>r[0]&&s<=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,s)=>{s>0&&s<=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,s)=>{s>n&&s<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,s)=>{s<this.panesCount-1&&s>=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=s=>this.onMouseDown(s,r),typeof window<"u"&&"ontouchstart"in window&&(i.ontouchstart=s=>this.onMouseDown(s,r)),i.onclick=s=>this.onSplitterClick(s,r+1)),this.dblClickSplitter&&(i.ondblclick=s=>this.onSplitterDblClick(s,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,s)=>i.index=s),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(s=>{t-=s.size,s.size!==null&&r++,s.size>=s.max&&e.push(s.id),s.size<=s.min&&n.push(s.id)});let i=100;t>.1&&(this.panes.forEach(s=>{s.size===null&&(s.size=Math.max(Math.min(t/(this.panesCount-r),s.max),s.min)),i-=s.size}),i>.1&&this.readjustSizes(t,e,n))},equalizeAfterAddOrRemove({addedPane:t,removedPane:e}={}){let n=100/this.panesCount,r=0;const i=[],s=[];t&&t.givenSize!==null&&(n=(100-t.givenSize)/(this.panesCount-1)),this.panes.forEach(o=>{r-=o.size,o.size>=o.max&&i.push(o.id),o.size<=o.min&&s.push(o.id)}),!(Math.abs(r)<.1)&&(this.panes.forEach(o=>{t&&t.givenSize!==null&&t.id===o.id||(o.size=Math.max(Math.min(n,o.max),o.min)),r-=o.size,o.size>=o.max&&i.push(o.id),o.size<=o.min&&s.push(o.id)}),r>.1&&this.readjustSizes(r,i,s))},readjustSizes(t,e,n){let r;t>0?r=t/(this.panesCount-e.length):r=t/(this.panesCount-n.length),this.panes.forEach((i,s)=>{if(t>0&&!e.includes(i.id)){const o=Math.max(Math.min(i.size+r,i.max),i.min),a=o-i.size;t-=a,i.size=o}else if(!n.includes(i.id)){const o=Math.max(Math.min(i.size+r,i.max),i.min),a=o-i.size;t-=a,i.size=o}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 ef("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},T0e=(t,e)=>{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n},P0e={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 R0e(t,e,n,r,i,s){return We(),Ct("div",{class:"splitpanes__pane",onClick:e[0]||(e[0]=o=>s.onPaneClick(o,t._.uid)),style:Do(t.style)},[Ar(t.$slots,"default")],4)}const gR=T0e(P0e,[["render",R0e]]),$0e=t=>t==="defer"||t===!1;function w6(...t){var b;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 s=oi(),o=r,a=()=>hd.value,l=()=>s.isHydrating?s.payload.data[n]:s.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??hd.deep,i.dedupe=i.dedupe??"cancel";const c=i.getCachedData(n,s),u=c!=null;if(!s._asyncData[n]||!i.immediate){(b=s.payload._errors)[n]??(b[n]=hd.errorValue);const g=i.deep?Zt:Xv;s._asyncData[n]={data:g(u?c:i.default()),pending:Zt(!u),error:WR(s.payload._errors,n),status:Zt("idle"),_default:i.default}}const d={...s._asyncData[n]};delete d._default,d.refresh=d.execute=(g={})=>{if(s._asyncDataPromises[n]){if($0e(g.dedupe??i.dedupe))return s._asyncDataPromises[n];s._asyncDataPromises[n].cancelled=!0}if(g._initial||s.isHydrating&&g._initial!==!1){const y=g._initial?c:i.getCachedData(n,s);if(y!=null)return Promise.resolve(y)}d.pending.value=!0,d.status.value="pending";const v=new Promise((y,w)=>{try{y(o(s))}catch(x){w(x)}}).then(async y=>{if(v.cancelled)return s._asyncDataPromises[n];let w=y;i.transform&&(w=await i.transform(y)),i.pick&&(w=I0e(w,i.pick)),s.payload.data[n]=w,d.data.value=w,d.error.value=hd.errorValue,d.status.value="success"}).catch(y=>{if(v.cancelled)return s._asyncDataPromises[n];d.error.value=t0(y),d.data.value=Se(i.default()),d.status.value="error"}).finally(()=>{v.cancelled||(d.pending.value=!1,delete s._asyncDataPromises[n])});return s._asyncDataPromises[n]=v,s._asyncDataPromises[n]},d.clear=()=>M0e(s,n);const h=()=>d.refresh({_initial:!0}),p=i.server!==!1&&s.payload.serverRendered;{const g=Sl();if(g&&p&&i.immediate&&!g.sp&&(g.sp=[]),g&&!g._nuxtOnBeforeMountCbs){g._nuxtOnBeforeMountCbs=[];const w=g._nuxtOnBeforeMountCbs;e$(()=>{w.forEach(x=>{x()}),w.splice(0,w.length)}),Kb(()=>w.splice(0,w.length))}p&&s.isHydrating&&(d.error.value||c!=null)?(d.pending.value=!1,d.status.value=d.error.value?"error":"success"):g&&(s.payload.serverRendered&&s.isHydrating||i.lazy)&&i.immediate?g._nuxtOnBeforeMountCbs.push(h):i.immediate&&h();const v=Hb();if(i.watch){const w=bi(i.watch,()=>d.refresh());v&&dx(w)}const y=s.hook("app:data:refresh",async w=>{(!w||w.includes(n))&&await d.refresh()});v&&dx(y)}const m=Promise.resolve(s._asyncDataPromises[n]).then(()=>d);return Object.assign(m,d),m}function M0e(t,e){e in t.payload.data&&(t.payload.data[e]=void 0),e in t.payload._errors&&(t.payload._errors[e]=hd.errorValue),t._asyncData[e]&&(t._asyncData[e].data.value=void 0,t._asyncData[e].error.value=hd.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 I0e(t,e){const n={};for(const r of e)n[r]=t[r];return n}function vR(){return w6(async()=>{var r,i,s,o,a,l,c,u;if(!tp.value)return{siteCofig:{},options:{},vnodes:{}};const t=(s=(i=(r=Gl.value)==null?void 0:r.host.nuxt.vueApp.config)==null?void 0:i.globalProperties)==null?void 0:s.$head,e=await(t==null?void 0:t.resolveTags())||[],n=(o=e.find(d=>d._d==="meta:property:og:image"))==null?void 0:o.props.content;return n&&!n.startsWith("/__og-image__/image")?{siteConfig:{},options:{url:n,socialPreview:{og:{title:(a=e.find(d=>d._d==="meta:property:og:title"))==null?void 0:a.props.content,description:(l=e.find(d=>d._d==="meta:property:og:description"))==null?void 0:l.props.content},twitter:{title:(c=e.find(d=>d._d==="meta:name:twitter:title"))==null?void 0:c.props.content,description:(u=e.find(d=>d._d==="meta:name:twitter:description"))==null?void 0:u.props.content}}},vnodes:{},custom:!0}:tp.value(hc("/__og-image__/image",ep.value,"og.json"),{query:Fs.value})},{watch:[ep,c0]},"$XVR8o8RMBy")}function N0e(){return w6(()=>tp.value?tp.value("/__og-image__/debug.json"):{runtimeConfig:{}},{watch:[ZM]},"$cHgKigQ0kS")}function yR(t){return["url","extension","width","height","fonts","alt","props","renderer","html","component","renderer","emojis","_query","satori","resvg","sharp","screenshot","cacheMaxAgeSeconds"].includes(t)}function L0e(t,e=[]){t=t||{};const n=fy(t.props,Object.fromEntries(Object.entries({...t}).filter(([i])=>!yR(i)&&!e.includes(i)))),r={};return Object.entries(n).forEach(([i,s])=>{r[i.replace(/-([a-z])/g,o=>o[1].toUpperCase())]=s}),{...Object.fromEntries(Object.entries({...t}).filter(([i])=>yR(i)||e.includes(i))),props:r}}const D0e={class:"relative n-bg-base flex flex-col"},z0e={class:"sticky top-0 z-2 px-4 pt-4"},B0e={class:"flex justify-between items-start",mb2:""},F0e={class:"flex space-x-5"},V0e={"text-xl":"",flex:"","items-center":"","gap-2":""},q0e={class:"flex items-center space-x-3 text-xl"},H0e={class:"n-select-tabs flex flex-inline flex-wrap items-center border n-border-base rounded-lg n-bg-base"},U0e={class:"px-5 py-2"},W0e={"text-lg":"",flex:"","items-center":""},G0e={class:"px-5 py-2"},K0e={"text-lg":"",flex:"","items-center":""},J0e={class:"px-5 py-2"},Y0e={"text-lg":"",flex:"","items-center":""},Q0e={class:"px-5 py-2"},X0e={"text-lg":"",flex:"","items-center":""},Z0e=["value","title"],e1e={class:"items-center space-x-3 hidden lg:flex"},t1e={class:"opacity-80 text-sm"},n1e={class:"opacity-80 text-sm"},r1e={href:"https://nuxtseo.com",target:"_blank",class:"flex items-end gap-1.5 font-semibold text-xl dark:text-white font-title"},i1e={class:"flex-row flex p4 h-full",style:{"min-height":"calc(100vh - 64px)"}},s1e={class:"mx-auto flex flex-col w-full"},o1e={key:0,class:"h-full relative max-h-full"},a1e={key:0,class:"w-full flex h-full justify-center items-center relative pr-4",style:{"padding-top":"30px"}},l1e={class:"flex justify-between items-center text-sm w-full absolute pr-[30px] top-0 left-0"},c1e={class:"text-xs"},u1e={class:"flex items-center w-[100px]"},d1e=["href"],f1e=["src"],h1e={key:2,class:"w-full h-full"},p1e={key:1},m1e={key:0},g1e={class:"flex flex-col items-center justify-center mx-auto max-w-135 h-85vh"},v1e={class:""},y1e={class:"text-2xl font-semibold mb-3"},b1e={class:"text-lg opacity-80 my-3"},w1e={key:0,class:"text-lg"},x1e={key:1,class:"text-lg opacity-80"},_1e={key:1},j1e={class:"flex justify-between items-center text-sm w-full absolute pr-[30px] top-0 left-0"},k1e={class:"flex items-center text-lg space-x-1 w-[100px]"},S1e={class:"text-xs"},C1e={key:1},E1e={class:"flex items-center w-[100px]"},O1e={key:0,class:"n-icon carbon:side-panel-open"},A1e={key:1,class:"n-icon carbon:open-panel-right"},T1e=["href"],P1e=["src"],R1e={key:2,class:"w-full h-full"},$1e={key:3,class:"mt-3 text-sm opacity-50 absolute bottom-3"},M1e={key:0,class:"text-sm p-2 opacity-80"},I1e={class:"opacity-80 text-base mb-1"},N1e={class:"flex space-between"},L1e={class:"flex flex-grow items-center space-x-2 text-sm"},D1e={key:0,class:"flex items-center text-sm space-x-2"},z1e={class:"opacity-80 text-base mb-1"},B1e={class:"relative"},F1e={key:0,class:"absolute top-1 right-1 text-10px ml-1 bg-blue-100 text-blue-700 px-1 py-2px rounded"},V1e={class:"opacity-80 text-base mb-1"},q1e={key:0,class:"text-sm"},H1e={key:0,class:"text-sm"},U1e={key:1,class:"space-y-3"},W1e={class:"mt-5 text-center opacity-75"},G1e={key:1,class:"h-full max-h-full overflow-hidden space-y-5"},K1e={key:1,class:"space-y-5"},J1e={class:"opacity-80 text-base mb-1"},Y1e={class:"flex flex-wrap items-center justify-center gap-3",style:{"-webkit-overflow-scrolling":"touch","-ms-overflow-style":"-ms-autohiding-scrollbar"}},Q1e=["onClick"],X1e={class:"opacity-80 text-base mb-1"},Z1e={class:"flex flex-wrap items-center justify-center gap-3",style:{"-webkit-overflow-scrolling":"touch","-ms-overflow-style":"-ms-autohiding-scrollbar"}},ewe=["onClick"],twe={key:2,class:"h-full max-h-full overflow-hidden space-y-5"},nwe={class:"opacity-80 text-base mb-1"},rwe={class:"opacity-80 text-base mb-1"},iwe={class:"opacity-80 text-base mb-1"},swe={class:"opacity-80 text-base mb-1"},owe={key:3,class:"h-full max-h-full overflow-hidden"},awe=Ri({__name:"app",async setup(t){let e,n;Dx({title:"Nuxt OG Image"}),[e,n]=GS(()=>jG()),await e,n();const{data:r}=N0e(),i=Zt("noto"),s=vR(),{data:o,pending:a,error:l}=s,c=mn(()=>{var U;return(U=o.value)==null?void 0:U.custom});bi(o,U=>{U&&(ji.value=L0e(Se(U.options),["socialPreview","options"]),i.value=ji.value.emojis,rE.value=ji.value.props)},{immediate:!0});const u=mn(()=>_y.value==="dark");Dx({htmlAttrs:{class:u.value?"dark":""}});function d(U){Fs.value=fy({props:U},Fs.value),Uf.value=!0,Ji()}const h=z1("nuxt-og-image:tab","design");function p(U){h.value="design",delete U.options,Fs.value=fy(U,Fs.value),Uf.value=!0,Ji()}async function m(U=!0){U&&await vR(),Fs.value={},Uf.value=!1,U&&Ji()}[e,n]=GS(()=>m(!1)),await e,n();const b=mn(()=>{var U;return((U=r.value)==null?void 0:U.runtimeConfig.defaults)||{height:600,width:1200}}),g=mn(()=>{var U,V;return((U=Fs.value)==null?void 0:U.height)||((V=ji.value)==null?void 0:V.height)||b.value.height}),v=mn(()=>{var U,V;return((U=Fs.value)==null?void 0:U.width)||((V=ji.value)==null?void 0:V.width)||b.value.width}),y=mn(()=>v.value/g.value),w=mn(()=>{var U,V;return((U=Fs.value)==null?void 0:U.extension)||((V=ji.value)==null?void 0:V.extension)||"png"}),x=z1("nuxt-og-image:social-preview","twitter"),_=mn(()=>o.value?c.value?Cl(o.value.options.url,{acceptRelative:!0})?o.value.options.url:hc(iE.value,o.value.options.url):Ad(hc(iE.value,"/__og-image__/image",ep.value,`/og.${w.value}`),{timestamp:c0.value,...Fs.value,_query:Wx.value}):""),j=mn(()=>{var U,V,q,re,G,F,ne;return x.value==="twitter"&&((q=(V=(U=ji.value)==null?void 0:U.socialPreview)==null?void 0:V.twitter)!=null&&q.title)?(G=(re=ji.value)==null?void 0:re.socialPreview)==null?void 0:G.twitter.title:(ne=(F=ji.value)==null?void 0:F.socialPreview)==null?void 0:ne.og.title}),k=mn(()=>{var U,V,q,re,G,F,ne;return x.value==="twitter"&&((q=(V=(U=ji.value)==null?void 0:U.socialPreview)==null?void 0:V.twitter)!=null&&q.description)?(G=(re=ji.value)==null?void 0:re.socialPreview)==null?void 0:G.twitter.description:(ne=(F=ji.value)==null?void 0:F.socialPreview)==null?void 0:ne.og.description}),T=mn(()=>{var V,q,re,G,F;const U=U$(((q=(V=o.value)==null?void 0:V.siteConfig)==null?void 0:q.url)||"/").host||((G=(re=o.value)==null?void 0:re.siteConfig)==null?void 0:G.url)||"/";return U==="/"?((F=r.value)==null?void 0:F.siteConfigUrl)||"/":U}),C=mn(()=>{var U,V;return((V=(U=ji.value)==null?void 0:U.socialPreview)==null?void 0:V.og.site_name)||T.value});function I(U){!U||U===x.value?x.value="":x.value=U}const z=mn(()=>{var U,V;return((U=Fs.value)==null?void 0:U.component)||((V=ji.value)==null?void 0:V.component)||"NuxtSeo"}),D=mn(()=>{var U,V;return((U=Fs.value)==null?void 0:U.renderer)||((V=ji.value)==null?void 0:V.renderer)||"satori"}),K=mn(()=>{var V;const U=((V=r.value)==null?void 0:V.componentNames)||[];return[U.find(q=>q.pascalName===z.value),...U.filter(q=>q.pascalName!==z.value)].filter(Boolean)}),de=mn(()=>K.value.filter(U=>U.category==="community")),X=mn(()=>K.value.filter(U=>U.category==="app")),Q=Hq(),ce=z1("nuxt-og-image:side-panel-open",Q.width.value>=1024);bi(Q.width,U=>{U<1024&&ce.value&&(ce.value=!1)},{immediate:!0});const Z=Zt(!1);function le(U){const V=(w.value||"").toUpperCase();let q="";switch(w.value){case"png":q=D.value==="satori"?"Satori and ReSVG":"Chromium";break;case"jpeg":case"jpg":q=D.value==="satori"?"Satori, ReSVG and Sharp":"Chromium";break;case"svg":q="Satori";break}Z.value=!1,V!=="HTML"?Hf.value=`Generated ${v.value}x${g.value} ${U.sizeKb?`${U.sizeKb}kB`:""} ${V} ${q?`with ${q}`:""} in ${U.timeTaken}ms.`:Hf.value=""}bi([D,Fs],()=>{Hf.value="Loading...",Z.value=!0});function te(){window.open(_.value,"_blank")}const Y=mn(()=>{var U,V,q,re;return(re=(q=(V=(U=Gl.value)==null?void 0:U.host.nuxt.vueApp.config)==null?void 0:V.globalProperties)==null?void 0:q.$route.matched[0].components)==null?void 0:re.default.__file});function ue(){var U;(U=Gl.value)==null||U.devtools.rpc.openInEditor(Y.value)}function N(){var V;const U=K.value.find(q=>q.pascalName===z.value);(V=Gl.value)==null||V.devtools.rpc.openInEditor(U.path)}const A=mn(()=>z.value==="PageScreenshot");bi(i,U=>{var V;U!==((V=ji.value)==null?void 0:V.emojis)&&p({emojis:U})});const L=mn(()=>{var V,q,re,G;const U=(G=(re=(q=(V=Gl.value)==null?void 0:V.host.nuxt.vueApp.config)==null?void 0:q.globalProperties)==null?void 0:re.$route.matched[0].components)==null?void 0:G.default.__file;return`pages/${U==null?void 0:U.split("pages/")[1]}`});return(U,V)=>{var Te,Oe,P;const q=Jp,re=FV,G=yl("VTooltip"),F=UM,ne=QV,S=XV,R=GM,$=uq,pe=wq,be=t3,we=eH,fe=aH,_e=Tk,ye=WM,Ce=mH,Be=CG;return We(),Ct("div",D0e,[qe("header",z0e,[qe("div",B0e,[qe("div",F0e,[qe("h1",V0e,[rt(q,{icon:"carbon:image-search",class:"text-blue-300"}),V[17]||(V[17]=Ut(" OG Image ")),rt(re,{class:"text-sm"},{default:mt(()=>{var M,B;return[Ut(Nr((B=(M=Se(r))==null?void 0:M.runtimeConfig)==null?void 0:B.version),1)]}),_:1})])]),qe("div",q0e,[qe("fieldset",H0e,[(We(),Ct(Ei,null,Am(["design","templates","debug","docs"],(M,B)=>qe("label",{key:B,class:Yr(["relative n-border-base hover:n-bg-active cursor-pointer",[B?"border-l n-border-base ml--1px":"",M===Se(h)?"n-bg-active":"",Se(A)&&M==="templates"?"hidden":"",Se(a)||Se(l)?"n-disabled":""]])},[M==="design"?(We(),Ct("div",{key:0,class:Yr([M===Se(h)?"":"op35"])},[rt(G,null,{popper:mt(()=>V[18]||(V[18]=[Ut(" Design ")])),default:mt(()=>[qe("div",U0e,[qe("h2",W0e,[rt(q,{icon:"carbon:brush-freehand opacity-50"})])])]),_:1})],2)):pr("",!0),M==="templates"?(We(),Ct("div",{key:1,class:Yr([M===Se(h)?"":"op35"])},[rt(G,null,{popper:mt(()=>V[19]||(V[19]=[Ut(" Templates ")])),default:mt(()=>[qe("div",G0e,[qe("h2",K0e,[rt(q,{icon:"carbon:image opacity-50"})])])]),_:1})],2)):M==="debug"?(We(),Ct("div",{key:2,class:Yr([M===Se(h)?"":"op35"])},[rt(G,null,{popper:mt(()=>V[20]||(V[20]=[Ut(" Debug ")])),default:mt(()=>[qe("div",J0e,[qe("h2",Y0e,[rt(q,{icon:"carbon:debug opacity-50"})])])]),_:1})],2)):M==="docs"?(We(),Ct("div",{key:3,class:Yr([M===Se(h)?"":"op35"])},[rt(G,null,{popper:mt(()=>V[21]||(V[21]=[Ut(" Documentation ")])),default:mt(()=>[qe("div",Q0e,[qe("h2",X0e,[rt(q,{icon:"carbon:book opacity-50"})])])]),_:1})],2)):pr("",!0),YR(qe("input",{"onUpdate:modelValue":V[0]||(V[0]=oe=>Ti(h)?h.value=oe:null),type:"radio",value:M,title:M,class:"absolute cursor-pointer pointer-events-none inset-0 op-0.1"},null,8,Z0e),[[Fz,Se(h)]])],2)),64))]),rt(G,null,{popper:mt(()=>V[22]||(V[22]=[Ut(" Refresh ")])),default:mt(()=>[qe("button",{"text-lg":"",type:"button",class:"n-icon-button n-button n-transition n-disabled:n-disabled",onClick:V[1]||(V[1]=(...M)=>Se(Ji)&&Se(Ji)(...M))},[rt(q,{icon:"carbon:reset",class:"group-hover:text-green-500"})])]),_:1})]),qe("div",e1e,[qe("div",t1e,[rt(F,{href:"https://github.com/sponsors/harlan-zw",target:"_blank"},{default:mt(()=>[rt(q,{icon:"carbon:favorite",class:"mr-[2px]"}),V[23]||(V[23]=Ut(" Sponsor "))]),_:1})]),qe("div",n1e,[rt(F,{href:"https://github.com/nuxt-modules/og-image",target:"_blank"},{default:mt(()=>[rt(q,{icon:"logos:github-icon",class:"mr-[2px]"}),V[24]||(V[24]=Ut(" Submit an issue "))]),_:1})]),qe("a",r1e,[rt(ne)])])])]),qe("div",i1e,[qe("main",s1e,[Se(h)==="design"?(We(),Ct("div",o1e,[Se(c)?(We(),Ct("div",a1e,[qe("div",l1e,[qe("div",c1e," Your prebuilt OG Image: "+Nr((Te=Se(o))==null?void 0:Te.options.url),1),qe("div",u1e,[rt(S,{icon:"carbon:drag-horizontal",border:!Se(x),onClick:V[2]||(V[2]=M=>I())},null,8,["border"]),rt(S,{icon:"logos:twitter",border:Se(x)==="twitter",onClick:V[3]||(V[3]=M=>I("twitter"))},null,8,["border"]),rt(S,{icon:"logos:slack-icon",border:Se(x)==="slack",onClick:V[4]||(V[4]=M=>I("slack"))},null,8,["border"])])]),Se(x)==="twitter"?(We(),wn($,{key:0,title:Se(j)},{domain:mt(()=>[qe("a",{target:"_blank",href:Se(vC)(Se(T))},"From "+Nr(Se(T)),9,d1e)]),default:mt(()=>[rt(R,{src:Se(_),"aspect-ratio":Se(y),onLoad:le,onClick:te,onRefresh:Se(Ji)},null,8,["src","aspect-ratio","onRefresh"])]),_:1},8,["title"])):Se(x)==="slack"?(We(),wn(pe,{key:1},{favIcon:mt(()=>[qe("img",{src:`https://www.google.com/s2/favicons?domain=${encodeURIComponent(Se(T))}&sz=30`},null,8,f1e)]),siteName:mt(()=>[Ut(Nr(Se(C)),1)]),title:mt(()=>[Ut(Nr(Se(j)),1)]),description:mt(()=>[Ut(Nr(Se(k)),1)]),default:mt(()=>[rt(R,{src:Se(_),class:"!h-[300px]","aspect-ratio":Se(y),onLoad:le,onRefresh:Se(Ji)},null,8,["src","aspect-ratio","onRefresh"])]),_:1})):(We(),Ct("div",h1e,[rt(R,{src:Se(_),"aspect-ratio":Se(y),onLoad:le,onRefresh:Se(Ji)},null,8,["src","aspect-ratio","onRefresh"])]))])):Se(l)?(We(),Ct("div",p1e,[Se(l).message.includes("missing the #nuxt-og-")||Se(l).message.includes("missing the Nuxt OG Image payload")||Se(l).message.includes("Got invalid response")?(We(),Ct("div",m1e,[qe("div",g1e,[qe("div",v1e,[qe("h2",y1e,[rt(q,{icon:"carbon:information",class:"text-blue-500"}),V[25]||(V[25]=Ut(" Oops! Did you forget ")),V[26]||(V[26]=qe("code",null,"defineOgImageComponent()",-1)),V[27]||(V[27]=Ut("? "))]),qe("p",b1e,[V[28]||(V[28]=Ut(" Getting started with Nuxt OG Image is easy, simply add the ")),V[29]||(V[29]=qe("code",null,"defineOgImageComponent()",-1)),V[30]||(V[30]=Ut(" within setup script setup of your ")),qe("code",{class:"underline cursor-pointer",onClick:ue},Nr(Se(L)),1),V[31]||(V[31]=Ut(" file. "))]),(P=(Oe=Se(r))==null?void 0:Oe.runtimeConfig)!=null&&P.hasNuxtContent?(We(),Ct("div",w1e,V[32]||(V[32]=[Ut(" Using Nuxt Content? Follow the "),qe("a",{href:"https://nuxtseo.com/docs/integrations/content",target:"_blank",class:"underline"},"Nuxt Content guide",-1),Ut(". ")]))):(We(),Ct("p",x1e,V[33]||(V[33]=[qe("a",{href:"https://nuxtseo.com/og-image/getting-started/getting-familar-with-nuxt-og-image",target:"_blank",class:"underline"}," Learn more ",-1)])))])])])):(We(),Ct("div",_1e,Nr(Se(l)),1))])):(We(),wn(Se(A0e),{key:2,class:"default-theme",onResize:Se(Gq)},{default:mt(()=>[rt(Se(gR),{size:"60",class:"flex h-full justify-center items-center relative n-panel-grids-center pr-4",style:{"padding-top":"30px"}},{default:mt(()=>{var M,B;return[qe("div",j1e,[qe("div",k1e,[(B=(M=Se(r))==null?void 0:M.compatibility)!=null&&B.sharp||Se(D)==="chromium"?(We(),wn(S,{key:0,icon:"carbon:jpg",border:Se(w)==="jpeg"||Se(w)==="jpg",onClick:V[5]||(V[5]=oe=>p({extension:"jpg"}))},null,8,["border"])):pr("",!0),rt(S,{icon:"carbon:png",border:Se(w)==="png",onClick:V[6]||(V[6]=oe=>p({extension:"png"}))},null,8,["border"]),Se(D)!=="chromium"?(We(),wn(S,{key:1,icon:"carbon:svg",border:Se(w)==="svg",onClick:V[7]||(V[7]=oe=>p({extension:"svg"}))},null,8,["border"])):pr("",!0),Se(A)?pr("",!0):(We(),wn(S,{key:2,icon:"carbon:html",border:Se(w)==="html",onClick:V[8]||(V[8]=oe=>p({extension:"html"}))},null,8,["border"]))]),qe("div",S1e,[Se(A)?(We(),Ct("div",C1e," Screenshot of the current page. ")):(We(),Ct("div",{key:0,class:"opacity-70 space-x-1 hover:opacity-90 transition cursor-pointer",onClick:N},[qe("span",null,Nr(Se(z).replace("OgImage","")),1),V[34]||(V[34]=qe("span",{class:"underline"},"View source",-1))]))]),qe("div",E1e,[rt(S,{icon:"carbon:drag-horizontal",border:!Se(x),onClick:V[9]||(V[9]=oe=>I())},null,8,["border"]),rt(S,{icon:"logos:twitter",border:Se(x)==="twitter",onClick:V[10]||(V[10]=oe=>I("twitter"))},null,8,["border"]),rt(S,{icon:"logos:slack-icon",border:Se(x)==="slack",onClick:V[11]||(V[11]=oe=>I("slack"))},null,8,["border"]),rt(G,null,{popper:mt(()=>V[35]||(V[35]=[Ut(" Toggle Sidebar ")])),default:mt(()=>[qe("button",{"text-lg":"",type:"button",class:"n-icon-button n-button n-transition n-disabled:n-disabled",onClick:V[12]||(V[12]=oe=>ce.value=!Se(ce))},[Se(ce)?(We(),Ct("div",O1e)):(We(),Ct("div",A1e))])]),_:1})])]),Se(x)==="twitter"?(We(),wn($,{key:0,title:Se(j)},{domain:mt(()=>[qe("a",{target:"_blank",href:Se(vC)(Se(T))},"From "+Nr(Se(T)),9,T1e)]),default:mt(()=>[Se(w)!=="html"?(We(),wn(R,{key:0,src:Se(_),"aspect-ratio":Se(y),onLoad:le,onClick:te,onRefresh:Se(Ji)},null,8,["src","aspect-ratio","onRefresh"])):(We(),wn(be,{key:1,src:Se(_),"max-height":"300","aspect-ratio":Se(y),onLoad:le,onRefresh:Se(Ji)},null,8,["src","aspect-ratio","onRefresh"]))]),_:1},8,["title"])):Se(x)==="slack"?(We(),wn(pe,{key:1},{favIcon:mt(()=>[qe("img",{src:`https://www.google.com/s2/favicons?domain=${encodeURIComponent(Se(T))}&sz=30`},null,8,P1e)]),siteName:mt(()=>[Ut(Nr(Se(C)),1)]),title:mt(()=>[Ut(Nr(Se(j)),1)]),description:mt(()=>[Ut(Nr(Se(k)),1)]),default:mt(()=>[Se(w)!=="html"?(We(),wn(R,{key:0,src:Se(_),class:"!h-[300px]","aspect-ratio":Se(y),onLoad:le,onRefresh:Se(Ji)},null,8,["src","aspect-ratio","onRefresh"])):(We(),wn(be,{key:1,src:Se(_),"aspect-ratio":Se(y),onLoad:le,onRefresh:Se(Ji)},null,8,["src","aspect-ratio","onRefresh"]))]),_:1})):(We(),Ct("div",R1e,[Se(w)!=="html"?(We(),wn(R,{key:0,src:Se(_),"aspect-ratio":Se(y),onLoad:le,onRefresh:Se(Ji)},null,8,["src","aspect-ratio","onRefresh"])):(We(),wn(be,{key:1,src:Se(_),"aspect-ratio":Se(y),onLoad:le,onRefresh:Se(Ji)},null,8,["src","aspect-ratio","onRefresh"]))])),Se(Hf)?(We(),Ct("div",$1e,Nr(Se(Hf)),1)):pr("",!0)]}),_:1}),Se(ce)?(We(),wn(Se(gR),{key:0,size:"40"},{default:mt(()=>[Se(Uf)?(We(),Ct("div",M1e,[qe("div",null,[V[37]||(V[37]=Ut(" You are previewing changes, you'll need to update your ")),V[38]||(V[38]=qe("code",null,"defineOgImage",-1)),V[39]||(V[39]=Ut(" to persist them. ")),rt(S,{type:"button",class:"underline",onClick:V[13]||(V[13]=M=>m(!0))},{default:mt(()=>V[36]||(V[36]=[Ut(" Reset ")])),_:1})])])):pr("",!0),rt(fe,null,{text:mt(()=>[qe("h3",I1e,[rt(q,{name:"carbon:gui-management",class:"mr-1"}),V[40]||(V[40]=Ut(" Render "))])]),default:mt(()=>{var M,B,oe,he;return[qe("div",N1e,[qe("div",L1e,[(B=(M=Se(r))==null?void 0:M.compatibility)!=null&&B.satori&&!Se(A)?(We(),wn(S,{key:0,icon:"logos:vercel-icon",border:Se(D)==="satori",onClick:V[14]||(V[14]=ke=>p({renderer:"satori"}))},{default:mt(()=>V[41]||(V[41]=[Ut(" Satori ")])),_:1},8,["border"])):pr("",!0),(he=(oe=Se(r))==null?void 0:oe.compatibility)!=null&&he.chromium?(We(),wn(S,{key:1,icon:"logos:chrome",border:Se(D)==="chromium",onClick:V[15]||(V[15]=ke=>p({renderer:"chromium"}))},{default:mt(()=>V[42]||(V[42]=[Ut(" Chromium ")])),_:1},8,["border"])):pr("",!0)]),Se(A)?pr("",!0):(We(),Ct("div",D1e,[V[44]||(V[44]=qe("label",{for:"emojis"},"Emojis",-1)),rt(we,{id:"emojis",modelValue:i.value,"onUpdate:modelValue":V[16]||(V[16]=ke=>i.value=ke)},{default:mt(()=>V[43]||(V[43]=[qe("option",{value:"noto"}," Noto ",-1),qe("option",{value:"noto-v1"}," Noto v1 ",-1),qe("option",{value:"twemoji"}," Twitter Emoji ",-1),qe("option",{value:"fluent-emoji"}," Fluent Emoji ",-1),qe("option",{value:"fluent-emoji-flat"}," Fluent Emoji Flat ",-1),qe("option",{value:"emojione"}," Emojione ",-1),qe("option",{value:"emojione-v1"}," Emojione v1 ",-1),qe("option",{value:"streamline-emojis"}," Streamline Emojis ",-1),qe("option",{value:"openmoji"}," Openmoji ",-1)])),_:1},8,["modelValue"])]))])]}),_:1}),Se(A)?pr("",!0):(We(),wn(fe,{key:1},{text:mt(()=>[qe("h3",z1e,[rt(q,{name:"carbon:operations-record",class:"mr-1"}),V[45]||(V[45]=Ut(" Props "))])]),default:mt(()=>[qe("div",B1e,[rt(Se(O0e),{"model-value":Se(rE),class:Yr(Se(u)?["jse-theme-dark"]:[]),"main-menu-bar":!1,"navigation-bar":!1,"onUpdate:modelValue":d},null,8,["model-value","class"]),Se(Uf)?(We(),Ct("span",F1e,"modified")):pr("",!0)])]),_:1})),rt(fe,null,{text:mt(()=>[qe("h3",V1e,[rt(q,{icon:"carbon:checkmark-filled-warning",class:"mr-1"}),V[46]||(V[46]=Ut(" Compatibility "))])]),default:mt(()=>{var M;return[(M=Se(o))!=null&&M.compatibilityHints?(We(),Ct("div",q1e,[Se(o).compatibilityHints.length?(We(),Ct("div",U1e,[(We(!0),Ct(Ei,null,Am(Se(o).compatibilityHints,(B,oe)=>(We(),Ct("div",{key:oe,class:"space-x-2 flex items-center opacity-65"},[rt(q,{icon:"carbon:warning",class:"text-yellow-500"}),qe("div",null,Nr(B),1)]))),128))])):(We(),Ct("div",H1e,[rt(q,{icon:"carbon:checkmark",class:"text-green-500"}),V[47]||(V[47]=Ut(" Looks good. "))])),qe("div",W1e,[V[49]||(V[49]=Ut(" See the ")),rt(_e,{target:"_blank",to:"https://nuxtseo.com/og-image/guides/compatibility",class:"underline"},{default:mt(()=>V[48]||(V[48]=[Ut(" compatibility guide ")])),_:1}),V[50]||(V[50]=Ut(" to learn more. "))])])):pr("",!0)]}),_:1})]),_:1})):pr("",!0)]),_:1},8,["onResize"]))])):Se(h)==="templates"?(We(),Ct("div",G1e,[Z.value?(We(),wn(ye,{key:0})):(We(),Ct("div",K1e,[Se(X).length?(We(),wn(fe,{key:0},{text:mt(()=>[qe("h3",J1e,[rt(q,{name:"carbon:app",class:"mr-1"}),V[51]||(V[51]=Ut(" Your Templates "))])]),default:mt(()=>[qe("div",Y1e,[(We(!0),Ct(Ei,null,Am(Se(X),M=>(We(),Ct("button",{key:M.pascalName,class:"!p-0",onClick:B=>p({component:M.pascalName})},[rt(Ce,{component:M,src:Se(Ad)(Se(_),{component:M.pascalName}),"aspect-ratio":Se(y),active:M.pascalName===Se(z)},null,8,["component","src","aspect-ratio","active"])],8,Q1e))),128))])]),_:1})):pr("",!0),rt(fe,null,{text:mt(()=>[qe("h3",X1e,[rt(q,{name:"carbon:airline-passenger-care",class:"mr-1"}),V[52]||(V[52]=Ut(" Community Templates "))])]),default:mt(()=>[qe("div",Z1e,[(We(!0),Ct(Ei,null,Am(Se(de),M=>(We(),Ct("button",{key:M.pascalName,class:"!p-0",onClick:B=>p({component:M.pascalName})},[rt(Ce,{component:M,src:Se(Ad)(Se(_),{component:M.pascalName}),"aspect-ratio":Se(y),active:M.pascalName===Se(z)},null,8,["component","src","aspect-ratio","active"])],8,ewe))),128))])]),_:1})]))])):Se(h)==="debug"?(We(),Ct("div",twe,[rt(fe,null,{text:mt(()=>[qe("h3",nwe,[rt(q,{icon:"carbon:settings",class:"mr-1"}),V[53]||(V[53]=Ut(" Compatibility "))])]),default:mt(()=>{var M;return[rt(Be,{code:JSON.stringify(((M=Se(r))==null?void 0:M.compatibility)||{},null,2),lang:"json"},null,8,["code"])]}),_:1}),rt(fe,null,{text:mt(()=>[qe("h3",rwe,[rt(q,{icon:"carbon:ibm-cloud-pak-manta-automated-data-lineage",class:"mr-1"}),V[54]||(V[54]=Ut(" vNodes "))])]),default:mt(()=>{var M;return[rt(Be,{code:JSON.stringify(((M=Se(o))==null?void 0:M.vnodes)||{},null,2),lang:"json"},null,8,["code"])]}),_:1}),rt(fe,null,{text:mt(()=>[qe("h3",iwe,[rt(q,{icon:"carbon:ibm-cloud-pak-manta-automated-data-lineage",class:"mr-1"}),V[55]||(V[55]=Ut(" SVG "))])]),default:mt(()=>{var M;return[rt(Be,{code:(M=Se(o))==null?void 0:M.svg.replaceAll(">",`>
3832
3832
  `),lang:"html"},null,8,["code"])]}),_:1}),rt(fe,null,{text:mt(()=>[qe("h3",swe,[rt(q,{icon:"carbon:settings",class:"mr-1"}),V[56]||(V[56]=Ut(" Runtime Config "))])]),default:mt(()=>{var M;return[rt(Be,{code:JSON.stringify(((M=Se(r))==null?void 0:M.runtimeConfig)||{},null,2),lang:"json"},null,8,["code"])]}),_:1})])):Se(h)==="docs"?(We(),Ct("div",owe,V[57]||(V[57]=[qe("iframe",{src:"https://nuxtseo.com/og-image",class:"w-full h-full border-none",style:{"min-height":"calc(100vh - 100px)"}},null,-1)]))):pr("",!0)])])])}}}),lwe={__name:"nuxt-error-page",props:{error:Object},setup(t){const n=t.error;n.stack&&n.stack.split(`
3833
3833
  `).splice(1).map(d=>({text:d.replace("webpack:/","").replace(".vue",".js").trim(),internal:d.includes("node_modules")&&!d.includes(".cache")||d.includes("internal")||d.includes("new Promise")})).map(d=>`<span class="stack${d.internal?" internal":""}">${d.text}</span>`).join(`
3834
- `);const r=Number(n.statusCode||500),i=r===404,s=n.statusMessage??(i?"Page Not Found":"Internal Server Error"),o=n.message||n.toString(),a=void 0,u=i?HS(()=>J(()=>import("./DB6BmnZb.js"),__vite__mapDeps([93,94]),import.meta.url)):HS(()=>J(()=>import("./BEqZJfBF.js"),__vite__mapDeps([95,96]),import.meta.url));return(d,h)=>(We(),wn(Se(u),SR(yk({statusCode:Se(r),statusMessage:Se(s),description:Se(o),stack:Se(a)})),null,16))}},cwe={key:0},bR={__name:"nuxt-root",setup(t){const e=()=>null,n=oi(),r=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",r);Ra().beforeEach(l)}const i=!1;c$(rM,iM()),n.hooks.callHookWith(l=>l.map(c=>c()),"vue:setup");const s=kk(),o=!1;t$((l,c,u)=>{if(n.hooks.callHook("vue:error",l,c,u).catch(d=>console.error("[nuxt] Error in `vue:error` hook",d)),bB(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>vB(l)),!1});const a=!1;return(l,c)=>(We(),wn(sz,{onResolve:Se(r)},{default:mt(()=>[Se(o)?(We(),Ct("div",cwe)):Se(s)?(We(),wn(Se(lwe),{key:1,error:Se(s)},null,8,["error"])):Se(a)?(We(),wn(Se(e),{key:2,context:Se(a)},null,8,["context"])):Se(i)?(We(),wn(i$(Se(i)),{key:3})):(We(),wn(Se(awe),{key:4}))]),_:1},8,["onResolve"]))}};let wR;{let t;wR=async function(){var o,a;if(t)return t;const r=!!(((o=window.__NUXT__)==null?void 0:o.serverRendered)??((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?Yz(bR):N$(bR),i=iB({vueApp:r});async function s(l){await i.callHook("app:error",l),i.payload.error=i.payload.error||t0(l)}r.config.errorHandler=s,i.hook("app:suspense:resolve",()=>{r.config.errorHandler===s&&(r.config.errorHandler=void 0)});try{await aB(i,LV)}catch(l){s(l)}try{await i.hooks.callHook("app:created",r),await i.hooks.callHook("app:beforeMount",r),r.mount(tB),await i.hooks.callHook("app:mounted",r),await Ac()}catch(l){s(l)}return r},t=wR().catch(e=>{throw console.error("Error while mounting app:",e),e})}export{Tc as _,qe as a,rt as b,Ct as c,Ut as d,Tk as e,We as o,Nr as t,Dx as u,mt as w};
3834
+ `);const r=Number(n.statusCode||500),i=r===404,s=n.statusMessage??(i?"Page Not Found":"Internal Server Error"),o=n.message||n.toString(),a=void 0,u=i?HS(()=>J(()=>import("./B-MI_7-y.js"),__vite__mapDeps([93,94]),import.meta.url)):HS(()=>J(()=>import("./BXWLJovA.js"),__vite__mapDeps([95,96]),import.meta.url));return(d,h)=>(We(),wn(Se(u),SR(yk({statusCode:Se(r),statusMessage:Se(s),description:Se(o),stack:Se(a)})),null,16))}},cwe={key:0},bR={__name:"nuxt-root",setup(t){const e=()=>null,n=oi(),r=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",r);Ra().beforeEach(l)}const i=!1;c$(rM,iM()),n.hooks.callHookWith(l=>l.map(c=>c()),"vue:setup");const s=kk(),o=!1;t$((l,c,u)=>{if(n.hooks.callHook("vue:error",l,c,u).catch(d=>console.error("[nuxt] Error in `vue:error` hook",d)),bB(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>vB(l)),!1});const a=!1;return(l,c)=>(We(),wn(sz,{onResolve:Se(r)},{default:mt(()=>[Se(o)?(We(),Ct("div",cwe)):Se(s)?(We(),wn(Se(lwe),{key:1,error:Se(s)},null,8,["error"])):Se(a)?(We(),wn(Se(e),{key:2,context:Se(a)},null,8,["context"])):Se(i)?(We(),wn(i$(Se(i)),{key:3})):(We(),wn(Se(awe),{key:4}))]),_:1},8,["onResolve"]))}};let wR;{let t;wR=async function(){var o,a;if(t)return t;const r=!!(((o=window.__NUXT__)==null?void 0:o.serverRendered)??((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?Yz(bR):N$(bR),i=iB({vueApp:r});async function s(l){await i.callHook("app:error",l),i.payload.error=i.payload.error||t0(l)}r.config.errorHandler=s,i.hook("app:suspense:resolve",()=>{r.config.errorHandler===s&&(r.config.errorHandler=void 0)});try{await aB(i,LV)}catch(l){s(l)}try{await i.hooks.callHook("app:created",r),await i.hooks.callHook("app:beforeMount",r),r.mount(tB),await i.hooks.callHook("app:mounted",r),await Ac()}catch(l){s(l)}return r},t=wR().catch(e=>{throw console.error("Error while mounting app:",e),e})}export{Tc as _,qe as a,rt as b,Ct as c,Ut as d,Tk as e,We as o,Nr as t,Dx as u,mt as w};