@nuxt/scripts 1.3.0 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/devtools-client/200.html +1 -1
- package/dist/devtools-client/404.html +1 -1
- package/dist/devtools-client/_nuxt/B551Pnuh.js +1 -0
- package/dist/devtools-client/_nuxt/BDNMzG2s.js +1 -0
- package/dist/devtools-client/_nuxt/BGGk5RYW.js +1 -0
- package/dist/devtools-client/_nuxt/BKdLzFmX.js +3 -0
- package/dist/devtools-client/_nuxt/BZCL-v6S.js +1 -0
- package/dist/devtools-client/_nuxt/BgS3c2Ky.js +1 -0
- package/dist/devtools-client/_nuxt/CBuBrHyL.js +152 -0
- package/dist/devtools-client/_nuxt/CH5oUfNi.js +1 -0
- package/dist/devtools-client/_nuxt/C_v3_O0R.js +6 -0
- package/dist/devtools-client/_nuxt/CxN78VhB.js +1 -0
- package/dist/devtools-client/_nuxt/DAubxma0.js +1 -0
- package/dist/devtools-client/_nuxt/DK3Fl9T5.js +1 -0
- package/dist/devtools-client/_nuxt/DMbpbO54.js +1 -0
- package/dist/devtools-client/_nuxt/DgAtAWdT.js +1 -0
- package/dist/devtools-client/_nuxt/DvC3yV2P.js +1 -0
- package/dist/devtools-client/_nuxt/DzbSCA_w.js +1 -0
- package/dist/devtools-client/_nuxt/N_y8tuWA.js +28 -0
- package/dist/devtools-client/_nuxt/VICyrUSM.js +1 -0
- package/dist/devtools-client/_nuxt/VbXTXTou.js +1 -0
- package/dist/devtools-client/_nuxt/WOtyQdps.js +1 -0
- package/dist/devtools-client/_nuxt/builds/latest.json +1 -1
- package/dist/devtools-client/_nuxt/builds/meta/e2926f35-ae20-45a0-929d-54d3919623c3.json +1 -0
- package/dist/devtools-client/_nuxt/entry.CYUdJFoE.css +2 -0
- package/dist/devtools-client/_nuxt/error-404.CIn5oEzb.css +1 -0
- package/dist/devtools-client/_nuxt/error-500.B1YZl8g8.css +1 -0
- package/dist/devtools-client/_nuxt/first-party.D_Sf91yr.css +1 -0
- package/dist/devtools-client/_nuxt/pages.BF1VnccH.css +1 -0
- package/dist/devtools-client/_nuxt/qhed-kSA.js +1 -0
- package/dist/devtools-client/_nuxt/registry.DgEsTieW.css +1 -0
- package/dist/devtools-client/_nuxt/xAZ2vgo3.js +8 -0
- package/dist/devtools-client/docs/index.html +1 -1
- package/dist/devtools-client/first-party/index.html +1 -1
- package/dist/devtools-client/index.html +1 -1
- package/dist/devtools-client/registry/index.html +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +165 -2
- package/dist/registry.mjs +8 -2
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsOverlayView.d.vue.ts +2 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsOverlayView.vue.d.ts +2 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsStaticMap.vue +1 -0
- package/dist/runtime/composables/useScript.js +1 -1
- package/dist/runtime/registry/vimeo-player.d.ts +1 -2
- package/dist/runtime/registry/youtube-player.d.ts +1 -2
- package/dist/runtime/server/instagram-embed.js +2 -1
- package/dist/runtime/server/proxy-handler.js +45 -63
- package/dist/runtime/server/utils/cached-upstream.d.ts +2 -1
- package/dist/runtime/server/utils/cached-upstream.js +6 -3
- package/dist/runtime/types.d.ts +31 -1
- package/package.json +9 -6
- package/dist/devtools-client/_nuxt/B8PEiB0p.js +0 -1
- package/dist/devtools-client/_nuxt/BHx4OUbM.js +0 -195
- package/dist/devtools-client/_nuxt/CGpx20cA.js +0 -1
- package/dist/devtools-client/_nuxt/CVO1_9PV.js +0 -1
- package/dist/devtools-client/_nuxt/Cp-IABpG.js +0 -1
- package/dist/devtools-client/_nuxt/CrquxyIP.js +0 -1
- package/dist/devtools-client/_nuxt/D0r3Knsf.js +0 -1
- package/dist/devtools-client/_nuxt/D2og3hsL.js +0 -1
- package/dist/devtools-client/_nuxt/DSsHxmoa.js +0 -1
- package/dist/devtools-client/_nuxt/DfHxEc1R.js +0 -1
- package/dist/devtools-client/_nuxt/HwG19HWB.js +0 -1
- package/dist/devtools-client/_nuxt/builds/meta/95e11f41-6ffd-4129-ac40-6ad3d141308e.json +0 -1
- package/dist/devtools-client/_nuxt/entry.DehJww9T.css +0 -1
- package/dist/devtools-client/_nuxt/error-404.LWbgYmYe.css +0 -1
- package/dist/devtools-client/_nuxt/error-500.C19ZIySL.css +0 -1
- package/dist/devtools-client/_nuxt/first-party.D_SBdnka.css +0 -1
- package/dist/devtools-client/_nuxt/index.DIj4bh55.css +0 -1
- package/dist/devtools-client/_nuxt/registry.CDbTq1x3.css +0 -1
- package/dist/devtools-client/_nuxt/wDzz0qaB.js +0 -1
|
@@ -1,195 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DfHxEc1R.js","./first-party.D_SBdnka.css","./CrquxyIP.js","./registry.CDbTq1x3.css","./HwG19HWB.js","./index.DIj4bh55.css","./DSsHxmoa.js","./error-404.LWbgYmYe.css","./D2og3hsL.js","./error-500.C19ZIySL.css"])))=>i.map(i=>d[i]);
|
|
2
|
-
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();function Wu(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Le={},As=[],Dn=()=>{},hg=()=>!1,si=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ya=e=>e.startsWith("onUpdate:"),dt=Object.assign,Ku=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},q2=Object.prototype.hasOwnProperty,je=(e,t)=>q2.call(e,t),pe=Array.isArray,Ts=e=>Ws(e)==="[object Map]",gg=e=>Ws(e)==="[object Set]",rd=e=>Ws(e)==="[object Date]",H2=e=>Ws(e)==="[object RegExp]",ye=e=>typeof e=="function",Ke=e=>typeof e=="string",Qt=e=>typeof e=="symbol",De=e=>e!==null&&typeof e=="object",Xu=e=>(De(e)||ye(e))&&ye(e.then)&&ye(e.catch),mg=Object.prototype.toString,Ws=e=>mg.call(e),U2=e=>Ws(e).slice(8,-1),yg=e=>Ws(e)==="[object Object]",Ja=e=>Ke(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Zr=Wu(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Za=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},V2=/-\w/g,_t=Za(e=>e.replace(V2,t=>t.slice(1).toUpperCase())),G2=/\B([A-Z])/g,Mr=Za(e=>e.replace(G2,"-$1").toLowerCase()),Qa=Za(e=>e.charAt(0).toUpperCase()+e.slice(1)),Co=Za(e=>e?`on${Qa(e)}`:""),kt=(e,t)=>!Object.is(e,t),ko=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},vg=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},W2=e=>{const t=parseFloat(e);return isNaN(t)?e:t},bg=e=>{const t=Ke(e)?Number(e):NaN;return isNaN(t)?e:t};let sd;const el=()=>sd||(sd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function wn(e){if(pe(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Ke(r)?J2(r):wn(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(Ke(e)||De(e))return e}const K2=/;(?![^(]*\))/g,X2=/:([^]+)/,Y2=/\/\*[^]*?\*\//g;function J2(e){const t={};return e.replace(Y2,"").split(K2).forEach(n=>{if(n){const r=n.split(X2);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Te(e){let t="";if(Ke(e))t=e;else if(pe(e))for(let n=0;n<e.length;n++){const r=Te(e[n]);r&&(t+=r+" ")}else if(De(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Ht(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ke(t)&&(e.class=Te(t)),n&&(e.style=wn(n)),e}const Z2="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Q2=Wu(Z2);function wg(e){return!!e||e===""}function ev(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Yu(e[r],t[r]);return n}function Yu(e,t){if(e===t)return!0;let n=rd(e),r=rd(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Qt(e),r=Qt(t),n||r)return e===t;if(n=pe(e),r=pe(t),n||r)return n&&r?ev(e,t):!1;if(n=De(e),r=De(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!Yu(e[i],t[i]))return!1}}return String(e)===String(t)}const _g=e=>!!(e&&e.__v_isRef===!0),Qe=e=>Ke(e)?e:e==null?"":pe(e)||De(e)&&(e.toString===mg||!ye(e.toString))?_g(e)?Qe(e.value):JSON.stringify(e,xg,2):String(e),xg=(e,t)=>_g(t)?xg(e,t.value):Ts(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[Nl(r,o)+" =>"]=s,n),{})}:gg(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Nl(n))}:Qt(t)?Nl(t):De(t)&&!pe(t)&&!yg(t)?String(t):t,Nl=(e,t="")=>{var n;return Qt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let mt;class Cg{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&mt&&(mt.active?(this.parent=mt,this.index=(mt.scopes||(mt.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=mt;try{return mt=this,t()}finally{mt=n}}}on(){++this._on===1&&(this.prevScope=mt,mt=this)}off(){if(this._on>0&&--this._on===0){if(mt===this)mt=this.prevScope;else{let t=mt;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function Ju(e){return new Cg(e)}function oi(){return mt}function ii(e,t=!1){mt&&mt.cleanups.push(e)}let Je;const Dl=new WeakSet;class kg{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,mt&&(mt.active?mt.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Dl.has(this)&&(Dl.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Eg(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,od(this),Ag(this);const t=Je,n=vn;Je=this,vn=!0;try{return this.fn()}finally{Tg(this),Je=t,vn=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)ef(t);this.deps=this.depsTail=void 0,od(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Dl.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Sc(this)&&this.run()}get dirty(){return Sc(this)}}let Sg=0,So,Eo;function Eg(e,t=!1){if(e.flags|=8,t){e.next=Eo,Eo=e;return}e.next=So,So=e}function Zu(){Sg++}function Qu(){if(--Sg>0)return;if(Eo){let t=Eo;for(Eo=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;So;){let t=So;for(So=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Ag(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Tg(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),ef(r),tv(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Sc(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Pg(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Pg(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===No)||(e.globalVersion=No,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Sc(e))))return;e.flags|=2;const t=e.dep,n=Je,r=vn;Je=e,vn=!0;try{Ag(e);const s=e.fn(e._value);(t.version===0||kt(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{Je=n,vn=r,Tg(e),e.flags&=-3}}function ef(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)ef(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function tv(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let vn=!0;const Rg=[];function jn(){Rg.push(vn),vn=!1}function zn(){const e=Rg.pop();vn=e===void 0?!0:e}function od(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Je;Je=void 0;try{t()}finally{Je=n}}}let No=0;class nv{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class tl{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!Je||!vn||Je===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Je)n=this.activeLink=new nv(Je,this),Je.deps?(n.prevDep=Je.depsTail,Je.depsTail.nextDep=n,Je.depsTail=n):Je.deps=Je.depsTail=n,Og(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Je.depsTail,n.nextDep=void 0,Je.depsTail.nextDep=n,Je.depsTail=n,Je.deps===n&&(Je.deps=r)}return n}trigger(t){this.version++,No++,this.notify(t)}notify(t){Zu();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Qu()}}}function Og(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Og(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const oa=new WeakMap,Qr=Symbol(""),Ec=Symbol(""),Do=Symbol("");function Rt(e,t,n){if(vn&&Je){let r=oa.get(e);r||oa.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new tl),s.map=r,s.key=n),s.track()}}function sr(e,t,n,r,s,o){const i=oa.get(e);if(!i){No++;return}const a=l=>{l&&l.trigger()};if(Zu(),t==="clear")i.forEach(a);else{const l=pe(e),c=l&&Ja(n);if(l&&n==="length"){const u=Number(r);i.forEach((f,d)=>{(d==="length"||d===Do||!Qt(d)&&d>=u)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),c&&a(i.get(Do)),t){case"add":l?c&&a(i.get("length")):(a(i.get(Qr)),Ts(e)&&a(i.get(Ec)));break;case"delete":l||(a(i.get(Qr)),Ts(e)&&a(i.get(Ec)));break;case"set":Ts(e)&&a(i.get(Qr));break}}Qu()}function rv(e,t){const n=oa.get(e);return n&&n.get(t)}function hs(e){const t=Me(e);return t===e?t:(Rt(t,"iterate",Do),Jt(e)?t:t.map(_n))}function nl(e){return Rt(e=Me(e),"iterate",Do),e}function Mn(e,t){return qn(e)?Ds(Ar(e)?_n(t):t):_n(t)}const sv={__proto__:null,[Symbol.iterator](){return Bl(this,Symbol.iterator,e=>Mn(this,e))},concat(...e){return hs(this).concat(...e.map(t=>pe(t)?hs(t):t))},entries(){return Bl(this,"entries",e=>(e[1]=Mn(this,e[1]),e))},every(e,t){return Kn(this,"every",e,t,void 0,arguments)},filter(e,t){return Kn(this,"filter",e,t,n=>n.map(r=>Mn(this,r)),arguments)},find(e,t){return Kn(this,"find",e,t,n=>Mn(this,n),arguments)},findIndex(e,t){return Kn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Kn(this,"findLast",e,t,n=>Mn(this,n),arguments)},findLastIndex(e,t){return Kn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Kn(this,"forEach",e,t,void 0,arguments)},includes(...e){return Fl(this,"includes",e)},indexOf(...e){return Fl(this,"indexOf",e)},join(e){return hs(this).join(e)},lastIndexOf(...e){return Fl(this,"lastIndexOf",e)},map(e,t){return Kn(this,"map",e,t,void 0,arguments)},pop(){return so(this,"pop")},push(...e){return so(this,"push",e)},reduce(e,...t){return id(this,"reduce",e,t)},reduceRight(e,...t){return id(this,"reduceRight",e,t)},shift(){return so(this,"shift")},some(e,t){return Kn(this,"some",e,t,void 0,arguments)},splice(...e){return so(this,"splice",e)},toReversed(){return hs(this).toReversed()},toSorted(e){return hs(this).toSorted(e)},toSpliced(...e){return hs(this).toSpliced(...e)},unshift(...e){return so(this,"unshift",e)},values(){return Bl(this,"values",e=>Mn(this,e))}};function Bl(e,t,n){const r=nl(e),s=r[t]();return r!==e&&!Jt(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.done||(o.value=n(o.value)),o}),s}const ov=Array.prototype;function Kn(e,t,n,r,s,o){const i=nl(e),a=i!==e&&!Jt(e),l=i[t];if(l!==ov[t]){const f=l.apply(e,o);return a?_n(f):f}let c=n;i!==e&&(a?c=function(f,d){return n.call(this,Mn(e,f),d,e)}:n.length>2&&(c=function(f,d){return n.call(this,f,d,e)}));const u=l.call(i,c,r);return a&&s?s(u):u}function id(e,t,n,r){const s=nl(e),o=s!==e&&!Jt(e);let i=n,a=!1;s!==e&&(o?(a=r.length===0,i=function(c,u,f){return a&&(a=!1,c=Mn(e,c)),n.call(this,c,Mn(e,u),f,e)}):n.length>3&&(i=function(c,u,f){return n.call(this,c,u,f,e)}));const l=s[t](i,...r);return a?Mn(e,l):l}function Fl(e,t,n){const r=Me(e);Rt(r,"iterate",Do);const s=r[t](...n);return(s===-1||s===!1)&&ol(n[0])?(n[0]=Me(n[0]),r[t](...n)):s}function so(e,t,n=[]){jn(),Zu();const r=Me(e)[t].apply(e,n);return Qu(),zn(),r}const iv=Wu("__proto__,__v_isRef,__isVue"),Ig=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Qt));function av(e){Qt(e)||(e=String(e));const t=Me(this);return Rt(t,"has",e),t.hasOwnProperty(e)}class Mg{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?Fg:Bg:o?Dg:Ng).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=pe(t);if(!s){let l;if(i&&(l=sv[n]))return l;if(n==="hasOwnProperty")return av}const a=Reflect.get(t,n,Xe(t)?t:r);if((Qt(n)?Ig.has(n):iv(n))||(s||Rt(t,"get",n),o))return a;if(Xe(a)){const l=i&&Ja(n)?a:a.value;return s&&De(l)?Bo(l):l}return De(a)?s?Bo(a):xt(a):a}}class Lg extends Mg{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];const i=pe(t)&&Ja(n);if(!this._isShallow){const c=qn(o);if(!Jt(r)&&!qn(r)&&(o=Me(o),r=Me(r)),!i&&Xe(o)&&!Xe(r))return c||(o.value=r),!0}const a=i?Number(n)<t.length:je(t,n),l=Reflect.set(t,n,r,Xe(t)?t:s);return t===Me(s)&&l&&(a?kt(r,o)&&sr(t,"set",n,r):sr(t,"add",n,r)),l}deleteProperty(t,n){const r=je(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&sr(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!Qt(n)||!Ig.has(n))&&Rt(t,"has",n),r}ownKeys(t){return Rt(t,"iterate",pe(t)?"length":Qr),Reflect.ownKeys(t)}}class $g extends Mg{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const lv=new Lg,cv=new $g,uv=new Lg(!0),fv=new $g(!0),Ac=e=>e,bi=e=>Reflect.getPrototypeOf(e);function dv(e,t,n){return function(...r){const s=this.__v_raw,o=Me(s),i=Ts(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=s[e](...r),u=n?Ac:t?Ds:_n;return!t&&Rt(o,"iterate",l?Ec:Qr),dt(Object.create(c),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}}})}}function wi(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function pv(e,t){const n={get(s){const o=this.__v_raw,i=Me(o),a=Me(s);e||(kt(s,a)&&Rt(i,"get",s),Rt(i,"get",a));const{has:l}=bi(i),c=t?Ac:e?Ds:_n;if(l.call(i,s))return c(o.get(s));if(l.call(i,a))return c(o.get(a));o!==i&&o.get(s)},get size(){const s=this.__v_raw;return!e&&Rt(Me(s),"iterate",Qr),s.size},has(s){const o=this.__v_raw,i=Me(o),a=Me(s);return e||(kt(s,a)&&Rt(i,"has",s),Rt(i,"has",a)),s===a?o.has(s):o.has(s)||o.has(a)},forEach(s,o){const i=this,a=i.__v_raw,l=Me(a),c=t?Ac:e?Ds:_n;return!e&&Rt(l,"iterate",Qr),a.forEach((u,f)=>s.call(o,c(u),c(f),i))}};return dt(n,e?{add:wi("add"),set:wi("set"),delete:wi("delete"),clear:wi("clear")}:{add(s){const o=Me(this),i=bi(o),a=Me(s),l=!t&&!Jt(s)&&!qn(s)?a:s;return i.has.call(o,l)||kt(s,l)&&i.has.call(o,s)||kt(a,l)&&i.has.call(o,a)||(o.add(l),sr(o,"add",l,l)),this},set(s,o){!t&&!Jt(o)&&!qn(o)&&(o=Me(o));const i=Me(this),{has:a,get:l}=bi(i);let c=a.call(i,s);c||(s=Me(s),c=a.call(i,s));const u=l.call(i,s);return i.set(s,o),c?kt(o,u)&&sr(i,"set",s,o):sr(i,"add",s,o),this},delete(s){const o=Me(this),{has:i,get:a}=bi(o);let l=i.call(o,s);l||(s=Me(s),l=i.call(o,s)),a&&a.call(o,s);const c=o.delete(s);return l&&sr(o,"delete",s,void 0),c},clear(){const s=Me(this),o=s.size!==0,i=s.clear();return o&&sr(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=dv(s,e,t)}),n}function rl(e,t){const n=pv(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(je(n,s)&&s in r?n:r,s,o)}const hv={get:rl(!1,!1)},gv={get:rl(!1,!0)},mv={get:rl(!0,!1)},yv={get:rl(!0,!0)},Ng=new WeakMap,Dg=new WeakMap,Bg=new WeakMap,Fg=new WeakMap;function vv(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function xt(e){return qn(e)?e:sl(e,!1,lv,hv,Ng)}function hn(e){return sl(e,!1,uv,gv,Dg)}function Bo(e){return sl(e,!0,cv,mv,Bg)}function an(e){return sl(e,!0,fv,yv,Fg)}function sl(e,t,n,r,s){if(!De(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const o=s.get(e);if(o)return o;const i=vv(U2(e));if(i===0)return e;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function Ar(e){return qn(e)?Ar(e.__v_raw):!!(e&&e.__v_isReactive)}function qn(e){return!!(e&&e.__v_isReadonly)}function Jt(e){return!!(e&&e.__v_isShallow)}function ol(e){return e?!!e.__v_raw:!1}function Me(e){const t=e&&e.__v_raw;return t?Me(t):e}function tf(e){return!je(e,"__v_skip")&&Object.isExtensible(e)&&vg(e,"__v_skip",!0),e}const _n=e=>De(e)?xt(e):e,Ds=e=>De(e)?Bo(e):e;function Xe(e){return e?e.__v_isRef===!0:!1}function Q(e){return jg(e,!1)}function at(e){return jg(e,!0)}function jg(e,t){return Xe(e)?e:new bv(e,t)}class bv{constructor(t,n){this.dep=new tl,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Me(t),this._value=n?t:_n(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Jt(t)||qn(t);t=r?t:Me(t),kt(t,n)&&(this._rawValue=t,this._value=r?t:_n(t),this.dep.trigger())}}function wv(e){e.dep&&e.dep.trigger()}function _(e){return Xe(e)?e.value:e}function He(e){return ye(e)?e():_(e)}const _v={get:(e,t,n)=>t==="__v_raw"?e:_(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Xe(s)&&!Xe(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function zg(e){return Ar(e)?e:new Proxy(e,_v)}class xv{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new tl,{get:r,set:s}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=s}get value(){return this._value=this._get()}set value(t){this._set(t)}}function nf(e){return new xv(e)}function Rr(e){const t=pe(e)?new Array(e.length):{};for(const n in e)t[n]=qg(e,n);return t}class Cv{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=Qt(n)?n:String(n),this._raw=Me(t);let s=!0,o=t;if(!pe(t)||Qt(this._key)||!Ja(this._key))do s=!ol(o)||Jt(o);while(s&&(o=o.__v_raw));this._shallow=s}get value(){let t=this._object[this._key];return this._shallow&&(t=_(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Xe(this._raw[this._key])){const n=this._object[this._key];if(Xe(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return rv(this._raw,this._key)}}class kv{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Nt(e,t,n){return Xe(e)?e:ye(e)?new kv(e):De(e)&&arguments.length>1?qg(e,t,n):Q(e)}function qg(e,t,n){return new Cv(e,t,n)}class Sv{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new tl(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=No-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Je!==this)return Eg(this,!0),!0}get value(){const t=this.dep.track();return Pg(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ev(e,t,n=!1){let r,s;return ye(e)?r=e:(r=e.get,s=e.set),new Sv(r,s,n)}const _i={},ia=new WeakMap;let Ur;function Av(e,t=!1,n=Ur){if(n){let r=ia.get(n);r||ia.set(n,r=[]),r.push(e)}}function Tv(e,t,n=Le){const{immediate:r,deep:s,once:o,scheduler:i,augmentJob:a,call:l}=n,c=w=>s?w:Jt(w)||s===!1||s===0?or(w,1):or(w);let u,f,d,p,h=!1,m=!1;if(Xe(e)?(f=()=>e.value,h=Jt(e)):Ar(e)?(f=()=>c(e),h=!0):pe(e)?(m=!0,h=e.some(w=>Ar(w)||Jt(w)),f=()=>e.map(w=>{if(Xe(w))return w.value;if(Ar(w))return c(w);if(ye(w))return l?l(w,2):w()})):ye(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){jn();try{d()}finally{zn()}}const w=Ur;Ur=u;try{return l?l(e,3,[p]):e(p)}finally{Ur=w}}:f=Dn,t&&s){const w=f,x=s===!0?1/0:s;f=()=>or(w(),x)}const v=oi(),b=()=>{u.stop(),v&&v.active&&Ku(v.effects,u)};if(o&&t){const w=t;t=(...x)=>{const S=w(...x);return b(),S}}let y=m?new Array(e.length).fill(_i):_i;const g=w=>{if(!(!(u.flags&1)||!u.dirty&&!w))if(t){const x=u.run();if(w||s||h||(m?x.some((S,k)=>kt(S,y[k])):kt(x,y))){d&&d();const S=Ur;Ur=u;try{const k=[x,y===_i?void 0:m&&y[0]===_i?[]:y,p];y=x,l?l(t,3,k):t(...k)}finally{Ur=S}}}else u.run()};return a&&a(g),u=new kg(f),u.scheduler=i?()=>i(g,!1):g,p=w=>Av(w,!1,u),d=u.onStop=()=>{const w=ia.get(u);if(w){if(l)l(w,4);else for(const x of w)x();ia.delete(u)}},t?r?g(!0):y=u.run():i?i(g.bind(null,!0),!0):u.run(),b.pause=u.pause.bind(u),b.resume=u.resume.bind(u),b.stop=b,b}function or(e,t=1/0,n){if(t<=0||!De(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Xe(e))or(e.value,t,n);else if(pe(e))for(let r=0;r<e.length;r++)or(e[r],t,n);else if(gg(e)||Ts(e))e.forEach(r=>{or(r,t,n)});else if(yg(e)){for(const r in e)or(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&or(e[r],t,n)}return e}function ai(e,t,n,r){try{return r?e(...r):e()}catch(s){Ks(s,t,n)}}function fn(e,t,n,r){if(ye(e)){const s=ai(e,t,n,r);return s&&Xu(s)&&s.catch(o=>{Ks(o,t,n)}),s}if(pe(e)){const s=[];for(let o=0;o<e.length;o++)s.push(fn(e[o],t,n,r));return s}}function Ks(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Le;if(t){let a=t.parent;const l=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,l,c)===!1)return}a=a.parent}if(o){jn(),ai(o,null,10,[e,l,c]),zn();return}}Pv(e,n,s,r,i)}function Pv(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const $t=[];let On=-1;const Ps=[];let kr=null,ws=0;const Hg=Promise.resolve();let aa=null;function At(e){const t=aa||Hg;return e?t.then(this?e.bind(this):e):t}function Rv(e){let t=On+1,n=$t.length;for(;t<n;){const r=t+n>>>1,s=$t[r],o=jo(s);o<e||o===e&&s.flags&2?t=r+1:n=r}return t}function rf(e){if(!(e.flags&1)){const t=jo(e),n=$t[$t.length-1];!n||!(e.flags&2)&&t>=jo(n)?$t.push(e):$t.splice(Rv(t),0,e),e.flags|=1,Ug()}}function Ug(){aa||(aa=Hg.then(Vg))}function Fo(e){pe(e)?Ps.push(...e):kr&&e.id===-1?kr.splice(ws+1,0,e):e.flags&1||(Ps.push(e),e.flags|=1),Ug()}function ad(e,t,n=On+1){for(;n<$t.length;n++){const r=$t[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;$t.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function la(e){if(Ps.length){const t=[...new Set(Ps)].sort((n,r)=>jo(n)-jo(r));if(Ps.length=0,kr){kr.push(...t);return}for(kr=t,ws=0;ws<kr.length;ws++){const n=kr[ws];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}kr=null,ws=0}}const jo=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Vg(e){try{for(On=0;On<$t.length;On++){const t=$t[On];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),ai(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;On<$t.length;On++){const t=$t[On];t&&(t.flags&=-2)}On=-1,$t.length=0,la(),aa=null,($t.length||Ps.length)&&Vg()}}let Et=null,Gg=null;function ca(e){const t=Et;return Et=e,Gg=e&&e.type.__scopeId||null,t}function Z(e,t=Et,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&ga(-1);const o=ca(t);let i;try{i=e(...s)}finally{ca(o),r._d&&ga(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function ld(e,t){if(Et===null)return e;const n=ul(Et),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,i,a,l=Le]=t[s];o&&(ye(o)&&(o={mounted:o,updated:o}),o.deep&&or(i),r.push({dir:o,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function In(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const a=s[i];o&&(a.oldValue=o[i].value);let l=a.dir[r];l&&(jn(),fn(l,n,8,[e.el,a,e,t]),zn())}}function qt(e,t){if(St){let n=St.provides;const r=St.parent&&St.parent.provides;r===n&&(n=St.provides=Object.create(r)),n[e]=t}}function We(e,t,n=!1){const r=lt();if(r||es){let s=es?es._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&ye(t)?t.call(r&&r.proxy):t}}function il(){return!!(lt()||es)}const Ov=Symbol.for("v-scx"),Iv=()=>We(Ov);function dn(e,t){return li(e,null,t)}function Wg(e,t){return li(e,null,{flush:"post"})}function Mv(e,t){return li(e,null,{flush:"sync"})}function Ne(e,t,n){return li(e,t,n)}function li(e,t,n=Le){const{immediate:r,deep:s,flush:o,once:i}=n,a=dt({},n),l=t&&r||!t&&o!=="post";let c;if(ss){if(o==="sync"){const p=Iv();c=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=Dn,p.resume=Dn,p.pause=Dn,p}}const u=St;a.call=(p,h,m)=>fn(p,u,h,m);let f=!1;o==="post"?a.scheduler=p=>{ft(p,u&&u.suspense)}:o!=="sync"&&(f=!0,a.scheduler=(p,h)=>{h?p():rf(p)}),a.augmentJob=p=>{t&&(p.flags|=4),f&&(p.flags|=2,u&&(p.id=u.uid,p.i=u))};const d=Tv(e,t,a);return ss&&(c?c.push(d):l&&d()),d}function Lv(e,t,n){const r=this.proxy,s=Ke(e)?e.includes(".")?Kg(r,e):()=>r[e]:e.bind(r,r);let o;ye(t)?o=t:(o=t.handler,n=t);const i=Ys(this),a=li(s,o.bind(r),n);return i(),a}function Kg(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}const wr=new WeakMap,Xg=Symbol("_vte"),Yg=e=>e.__isTeleport,Wr=e=>e&&(e.disabled||e.disabled===""),$v=e=>e&&(e.defer||e.defer===""),cd=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ud=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Tc=(e,t)=>{const n=e&&e.to;return Ke(n)?t?t(n):null:n},Nv={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,i,a,l,c){const{mc:u,pc:f,pbc:d,o:{insert:p,querySelector:h,createText:m,createComment:v,parentNode:b}}=c,y=Wr(t.props);let{dynamicChildren:g}=t;const w=(k,T,P)=>{k.shapeFlag&16&&u(k.children,T,P,s,o,i,a,l)},x=(k=t)=>{const T=Wr(k.props),P=k.target=Tc(k.props,h),I=Pc(P,k,m,p);P&&(i!=="svg"&&cd(P)?i="svg":i!=="mathml"&&ud(P)&&(i="mathml"),s&&s.isCE&&(s.ce._teleportTargets||(s.ce._teleportTargets=new Set)).add(P),T||(w(k,P,I),yo(k,!1)))},S=k=>{const T=()=>{if(wr.get(k)===T){if(wr.delete(k),Wr(k.props)){const P=b(k.el)||n;w(k,P,k.anchor),yo(k,!0)}x(k)}};wr.set(k,T),ft(T,o)};if(e==null){const k=t.el=m(""),T=t.anchor=m("");if(p(k,n,r),p(T,n,r),$v(t.props)||o&&o.pendingBranch){S(t);return}y&&(w(t,n,T),yo(t,!0)),x()}else{t.el=e.el;const k=t.anchor=e.anchor,T=wr.get(e);if(T){T.flags|=8,wr.delete(e),S(t);return}t.targetStart=e.targetStart;const P=t.target=e.target,I=t.targetAnchor=e.targetAnchor,D=Wr(e.props),M=D?n:P,Y=D?k:I;if(i==="svg"||cd(P)?i="svg":(i==="mathml"||ud(P))&&(i="mathml"),g?(d(e.dynamicChildren,g,M,s,o,i,a),uf(e,t,!0)):l||f(e,t,M,Y,s,o,i,a,!1),y)D?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):xi(t,n,k,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const O=Tc(t.props,h);O&&(t.target=O,xi(t,O,null,c,0))}else D&&xi(t,P,I,c,1);yo(t,y)}},remove(e,t,n,{um:r,o:{remove:s}},o){const{shapeFlag:i,children:a,anchor:l,targetStart:c,targetAnchor:u,target:f,props:d}=e,p=Wr(d),h=o||!p,m=wr.get(e);if(m&&(m.flags|=8,wr.delete(e)),f&&(s(c),s(u)),o&&s(l),!m&&(p||f)&&i&16)for(let v=0;v<a.length;v++){const b=a[v];r(b,t,n,h,!!b.dynamicChildren)}},move:xi,hydrate:Dv};function xi(e,t,n,{o:{insert:r},m:s},o=2){o===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:c,props:u}=e,f=o===2;if(f&&r(i,t,n),!wr.has(e)&&(!f||Wr(u))&&l&16)for(let d=0;d<c.length;d++)s(c[d],t,n,2);f&&r(a,t,n)}function Dv(e,t,n,r,s,o,{o:{nextSibling:i,parentNode:a,querySelector:l,insert:c,createText:u}},f){function d(v,b){let y=b;for(;y;){if(y&&y.nodeType===8){if(y.data==="teleport start anchor")t.targetStart=y;else if(y.data==="teleport anchor"){t.targetAnchor=y,v._lpa=t.targetAnchor&&i(t.targetAnchor);break}}y=i(y)}}function p(v,b){b.anchor=f(i(v),b,a(v),n,r,s,o)}const h=t.target=Tc(t.props,l),m=Wr(t.props);if(h){const v=h._lpa||h.firstChild;t.shapeFlag&16&&(m?(p(e,t),d(h,v),t.targetAnchor||Pc(h,t,u,c,a(e)===h?e:null)):(t.anchor=i(e),d(h,v),t.targetAnchor||Pc(h,t,u,c),f(v&&i(v),t,h,n,r,s,o))),yo(t,m)}else m&&t.shapeFlag&16&&(p(e,t),t.targetStart=e,t.targetAnchor=i(e));return t.anchor&&i(t.anchor)}const Jg=Nv;function yo(e,t){const n=e.ctx;if(n&&n.ut){let r,s;for(t?(r=e.el,s=e.anchor):(r=e.targetStart,s=e.targetAnchor);r&&r!==s;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function Pc(e,t,n,r,s=null){const o=t.targetStart=n(""),i=t.targetAnchor=n("");return o[Xg]=i,e&&(r(o,e,s),r(i,e,s)),i}const on=Symbol("_leaveCb"),oo=Symbol("_enterCb");function Bv(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return It(()=>{e.isMounted=!0}),cs(()=>{e.isUnmounting=!0}),e}const nn=[Function,Array],Zg={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:nn,onEnter:nn,onAfterEnter:nn,onEnterCancelled:nn,onBeforeLeave:nn,onLeave:nn,onAfterLeave:nn,onLeaveCancelled:nn,onBeforeAppear:nn,onAppear:nn,onAfterAppear:nn,onAppearCancelled:nn},Qg=e=>{const t=e.subTree;return t.component?Qg(t.component):t},Fv={name:"BaseTransition",props:Zg,setup(e,{slots:t}){const n=lt(),r=Bv();return()=>{const s=t.default&&n0(t.default(),!0),o=s&&s.length?e0(s):n.subTree?xe():void 0;if(!o)return;const i=Me(e),{mode:a}=i;if(r.isLeaving)return jl(o);const l=fd(o);if(!l)return jl(o);let c=Rc(l,i,r,n,f=>c=f);l.type!==it&&Bs(l,c);let u=n.subTree&&fd(n.subTree);if(u&&u.type!==it&&!gn(u,l)&&Qg(n).type!==it){let f=Rc(u,i,r,n);if(Bs(u,f),a==="out-in"&&l.type!==it)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,u=void 0},jl(o);a==="in-out"&&l.type!==it?f.delayLeave=(d,p,h)=>{const m=t0(r,u);m[String(u.key)]=u,d[on]=()=>{p(),d[on]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{h(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return o}}};function e0(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==it){t=n;break}}return t}const jv=Fv;function t0(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Rc(e,t,n,r,s){const{appear:o,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:p,onAfterLeave:h,onLeaveCancelled:m,onBeforeAppear:v,onAppear:b,onAfterAppear:y,onAppearCancelled:g}=t,w=String(e.key),x=t0(n,e),S=(P,I)=>{P&&fn(P,r,9,I)},k=(P,I)=>{const D=I[1];S(P,I),pe(P)?P.every(M=>M.length<=1)&&D():P.length<=1&&D()},T={mode:i,persisted:a,beforeEnter(P){let I=l;if(!n.isMounted)if(o)I=v||l;else return;P[on]&&P[on](!0);const D=x[w];D&&gn(e,D)&&D.el[on]&&D.el[on](),S(I,[P])},enter(P){if(x[w]===e)return;let I=c,D=u,M=f;if(!n.isMounted)if(o)I=b||c,D=y||u,M=g||f;else return;let Y=!1;P[oo]=q=>{Y||(Y=!0,q?S(M,[P]):S(D,[P]),T.delayedLeave&&T.delayedLeave(),P[oo]=void 0)};const O=P[oo].bind(null,!1);I?k(I,[P,O]):O()},leave(P,I){const D=String(e.key);if(P[oo]&&P[oo](!0),n.isUnmounting)return I();S(d,[P]);let M=!1;P[on]=O=>{M||(M=!0,I(),O?S(m,[P]):S(h,[P]),P[on]=void 0,x[D]===e&&delete x[D])};const Y=P[on].bind(null,!1);x[D]=e,p?k(p,[P,Y]):Y()},clone(P){const I=Rc(P,t,n,r,s);return s&&s(I),I}};return T}function jl(e){if(ci(e))return e=Hn(e),e.children=null,e}function fd(e){if(!ci(e))return Yg(e.type)&&e.children?e0(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ye(n.default))return n.default()}}function Bs(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Bs(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function n0(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let i=e[o];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===ze?(i.patchFlag&128&&s++,r=r.concat(n0(i.children,t,a))):(t||i.type!==it)&&r.push(a!=null?Hn(i,{key:a}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function ge(e,t){return ye(e)?dt({name:e.name},t,{setup:e}):e}function r0(){const e=lt();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function sf(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function s0(e){const t=lt(),n=at(null);if(t){const s=t.refs===Le?t.refs={}:t.refs;Object.defineProperty(s,e,{enumerable:!0,get:()=>n.value,set:o=>n.value=o})}return n}function dd(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const ua=new WeakMap;function Rs(e,t,n,r,s=!1){if(pe(e)){e.forEach((m,v)=>Rs(m,t&&(pe(t)?t[v]:t),n,r,s));return}if(ar(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Rs(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?ul(r.component):r.el,i=s?null:o,{i:a,r:l}=e,c=t&&t.r,u=a.refs===Le?a.refs={}:a.refs,f=a.setupState,d=Me(f),p=f===Le?hg:m=>dd(u,m)?!1:je(d,m),h=(m,v)=>!(v&&dd(u,v));if(c!=null&&c!==l){if(pd(t),Ke(c))u[c]=null,p(c)&&(f[c]=null);else if(Xe(c)){const m=t;h(c,m.k)&&(c.value=null),m.k&&(u[m.k]=null)}}if(ye(l)){jn();try{ai(l,a,12,[i,u])}finally{zn()}}else{const m=Ke(l),v=Xe(l);if(m||v){const b=()=>{if(e.f){const y=m?p(l)?f[l]:u[l]:h()||!e.k?l.value:u[e.k];if(s)pe(y)&&Ku(y,o);else if(pe(y))y.includes(o)||y.push(o);else if(m)u[l]=[o],p(l)&&(f[l]=u[l]);else{const g=[o];h(l,e.k)&&(l.value=g),e.k&&(u[e.k]=g)}}else m?(u[l]=i,p(l)&&(f[l]=i)):v&&(h(l,e.k)&&(l.value=i),e.k&&(u[e.k]=i))};if(i){const y=()=>{b(),ua.delete(e)};y.id=-1,ua.set(e,y),ft(y,n)}else pd(e),b()}}}function pd(e){const t=ua.get(e);t&&(t.flags|=8,ua.delete(e))}let hd=!1;const gs=()=>{hd||(console.error("Hydration completed but contains mismatches."),hd=!0)},zv=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",qv=e=>e.namespaceURI.includes("MathML"),Ci=e=>{if(e.nodeType===1){if(zv(e))return"svg";if(qv(e))return"mathml"}},Es=e=>e.nodeType===8;function Hv(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:a,insert:l,createComment:c}}=e,u=(g,w)=>{if(!w.hasChildNodes()){n(null,g,w),la(),w._vnode=g;return}f(w.firstChild,g,null,null,null),la(),w._vnode=g},f=(g,w,x,S,k,T=!1)=>{T=T||!!w.dynamicChildren;const P=Es(g)&&g.data==="[",I=()=>m(g,w,x,S,k,P),{type:D,ref:M,shapeFlag:Y,patchFlag:O}=w;let q=g.nodeType;w.el=g,O===-2&&(T=!1,w.dynamicChildren=null);let $=null;switch(D){case ts:q!==3?w.children===""?(l(w.el=s(""),i(g),g),$=g):$=I():(g.data!==w.children&&(gs(),g.data=w.children),$=o(g));break;case it:y(g)?($=o(g),b(w.el=g.content.firstChild,g,x)):q!==8||P?$=I():$=o(g);break;case To:if(P&&(g=o(g),q=g.nodeType),q===1||q===3){$=g;const J=!w.children.length;for(let F=0;F<w.staticCount;F++)J&&(w.children+=$.nodeType===1?$.outerHTML:$.data),F===w.staticCount-1&&(w.anchor=$),$=o($);return P?o($):$}else I();break;case ze:P?$=h(g,w,x,S,k,T):$=I();break;default:if(Y&1)(q!==1||w.type.toLowerCase()!==g.tagName.toLowerCase())&&!y(g)?$=I():$=d(g,w,x,S,k,T);else if(Y&6){w.slotScopeIds=k;const J=i(g);if(P?$=v(g):Es(g)&&g.data==="teleport start"?$=v(g,g.data,"teleport end"):$=o(g),t(w,J,null,x,S,Ci(J),T),ar(w)&&!w.type.__asyncResolved){let F;P?(F=re(ze),F.anchor=$?$.previousSibling:J.lastChild):F=g.nodeType===3?Dt(""):re("div"),F.el=g,w.component.subTree=F}}else Y&64?q!==8?$=I():$=w.type.hydrate(g,w,x,S,k,T,e,p):Y&128&&($=w.type.hydrate(g,w,x,S,Ci(i(g)),k,T,e,f))}return M!=null&&Rs(M,null,S,w),$},d=(g,w,x,S,k,T)=>{T=T||!!w.dynamicChildren;const{type:P,dynamicProps:I,props:D,patchFlag:M,shapeFlag:Y,dirs:O,transition:q}=w,$=P==="input"||P==="option",J=!!I;if($||J||M!==-1){O&&In(w,null,x,"created");let F=!1;if(y(g)){F=R0(null,q)&&x&&x.vnode.props&&x.vnode.props.appear;const G=g.content.firstChild;if(F){const Ae=G.getAttribute("class");Ae&&(G.$cls=Ae),q.beforeEnter(G)}b(G,g,x),w.el=g=G}if(Y&16&&!(D&&(D.innerHTML||D.textContent))){let G=p(g.firstChild,w,g,x,S,k,T);for(G&&!Yi(g,1)&&gs();G;){const Ae=G;G=G.nextSibling,a(Ae)}}else if(Y&8){let G=w.children;G[0]===`
|
|
3
|
-
`&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(G=G.slice(1));const{textContent:Ae}=g;Ae!==G&&Ae!==G.replace(/\r\n|\r/g,`
|
|
4
|
-
`)&&(Yi(g,0)||gs(),g.textContent=w.children)}if(D){if($||J||!T||M&48){const G=g.tagName.includes("-");for(const Ae in D)($&&(Ae.endsWith("value")||Ae==="indeterminate")||si(Ae)&&!Zr(Ae)||Ae[0]==="."||G&&!Zr(Ae)||I&&I.includes(Ae))&&r(g,Ae,null,D[Ae],void 0,x)}else if(D.onClick)r(g,"onClick",null,D.onClick,void 0,x);else if(M&4&&Ar(D.style))for(const G in D.style)D.style[G]}let ue;(ue=D&&D.onVnodeBeforeMount)&&jt(ue,x,w),O&&In(w,null,x,"beforeMount"),((ue=D&&D.onVnodeMounted)||O||F)&&$0(()=>{ue&&jt(ue,x,w),F&&q.enter(g),O&&In(w,null,x,"mounted")},S)}return g.nextSibling},p=(g,w,x,S,k,T,P)=>{P=P||!!w.dynamicChildren;const I=w.children,D=I.length;let M=!1;for(let Y=0;Y<D;Y++){const O=P?I[Y]:I[Y]=Xt(I[Y]),q=O.type===ts;g?(q&&!P&&Y+1<D&&Xt(I[Y+1]).type===ts&&(l(s(g.data.slice(O.children.length)),x,o(g)),g.data=O.children),g=f(g,O,S,k,T,P)):q&&!O.children?l(O.el=s(""),x):(M||(M=!0,Yi(x,1)||gs()),n(null,O,x,null,S,k,Ci(x),T))}return g},h=(g,w,x,S,k,T)=>{const{slotScopeIds:P}=w;P&&(k=k?k.concat(P):P);const I=i(g),D=p(o(g),w,I,x,S,k,T);return D&&Es(D)&&D.data==="]"?o(w.anchor=D):(gs(),l(w.anchor=c("]"),I,D),D)},m=(g,w,x,S,k,T)=>{if(Vv(g,w)||gs(),w.el=null,T){const D=v(g);for(;;){const M=o(g);if(M&&M!==D)a(M);else break}}const P=o(g),I=i(g);return a(g),n(null,w,I,P,x,S,Ci(I),k),x&&(x.vnode.el=w.el,cl(x,w.el)),P},v=(g,w="[",x="]")=>{let S=0;for(;g;)if(g=o(g),g&&Es(g)&&(g.data===w&&S++,g.data===x)){if(S===0)return o(g);S--}return g},b=(g,w,x)=>{const S=w.parentNode;S&&S.replaceChild(g,w);let k=x;for(;k;)k.vnode.el===w&&(k.vnode.el=k.subTree.el=g),k=k.parent},y=g=>g.nodeType===1&&g.tagName==="TEMPLATE";return[u,f]}const fa="data-allow-mismatch",Uv={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Yi(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(fa);)e=e.parentElement;return of(e&&e.getAttribute(fa),t)}function of(e,t){if(e==null)return!1;if(e==="")return!0;{const n=e.split(",");return t===0&&n.includes("children")?!0:n.includes(Uv[t])}}function Vv(e,t){return Yi(e.parentElement,1)||Gv(e)||Wv(t)}function Gv(e){return e.nodeType===1&&of(e.getAttribute(fa),1)}function Wv({props:e}){const t=e&&e[fa];return typeof t=="string"&&of(t,1)}el().requestIdleCallback;el().cancelIdleCallback;function Kv(e,t){if(Es(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(Es(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const ar=e=>!!e.type.__asyncLoader;function Oc(e){ye(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,hydrate:o,timeout:i,suspensible:a=!0,onError:l}=e;let c=null,u,f=0;const d=()=>(f++,c=null,p()),p=()=>{let h;return c||(h=c=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),l)return new Promise((v,b)=>{l(m,()=>v(d()),()=>b(m),f+1)});throw m}).then(m=>h!==c&&c?c:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),u=m,m)))};return ge({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(h,m,v){let b=!1;(m.bu||(m.bu=[])).push(()=>b=!0);const y=()=>{b||v()},g=o?()=>{const w=o(y,x=>Kv(h,x));w&&(m.bum||(m.bum=[])).push(w)}:y;u?g():p().then(()=>!m.isUnmounted&&g())},get __asyncResolved(){return u},setup(){const h=St;if(sf(h),u)return()=>ki(u,h);const m=x=>{c=null,Ks(x,h,13,!r)};if(a&&h.suspense||ss)return p().then(x=>()=>ki(x,h)).catch(x=>(m(x),()=>r?re(r,{error:x}):null));const v=Q(!1),b=Q(),y=Q(!!s);let g,w;return Lr(()=>{g!=null&&clearTimeout(g),w!=null&&clearTimeout(w)}),s&&(w=setTimeout(()=>{h.isUnmounted||(y.value=!1)},s)),i!=null&&(g=setTimeout(()=>{if(!h.isUnmounted&&!v.value&&!b.value){const x=new Error(`Async component timed out after ${i}ms.`);m(x),b.value=x}},i)),p().then(()=>{h.isUnmounted||(v.value=!0,h.parent&&ci(h.parent.vnode)&&h.parent.update())}).catch(x=>{if(h.isUnmounted){c=null;return}m(x),b.value=x}),()=>{if(v.value&&u)return ki(u,h);if(b.value&&r)return re(r,{error:b.value});if(n&&!y.value)return ki(n,h)}}})}function ki(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=re(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const ci=e=>e.type.__isKeepAlive,Xv={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=lt(),r=n.ctx;if(!r.renderer)return()=>{const y=t.default&&t.default();return y&&y.length===1?y[0]:y};const s=new Map,o=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:f}}}=r,d=f("div");r.activate=(y,g,w,x,S)=>{const k=y.component;c(y,g,w,0,a),l(k.vnode,y,g,w,k,a,x,y.slotScopeIds,S),ft(()=>{k.isDeactivated=!1,k.a&&ko(k.a);const T=y.props&&y.props.onVnodeMounted;T&&jt(T,k.parent,y)},a)},r.deactivate=y=>{const g=y.component;pa(g.m),pa(g.a),c(y,d,null,1,a),ft(()=>{g.da&&ko(g.da);const w=y.props&&y.props.onVnodeUnmounted;w&&jt(w,g.parent,y),g.isDeactivated=!0},a)};function p(y){zl(y),u(y,n,a,!0)}function h(y){s.forEach((g,w)=>{const x=Fc(ar(g)?g.type.__asyncResolved||{}:g.type);x&&!y(x)&&m(w)})}function m(y){const g=s.get(y);g&&(!i||!gn(g,i))?p(g):i&&zl(i),s.delete(y),o.delete(y)}Ne(()=>[e.include,e.exclude],([y,g])=>{y&&h(w=>vo(y,w)),g&&h(w=>!vo(g,w))},{flush:"post",deep:!0});let v=null;const b=()=>{v!=null&&(ha(n.subTree.type)?ft(()=>{s.set(v,Si(n.subTree))},n.subTree.suspense):s.set(v,Si(n.subTree)))};return It(b),af(b),cs(()=>{s.forEach(y=>{const{subTree:g,suspense:w}=n,x=Si(g);if(y.type===x.type&&y.key===x.key){zl(x);const S=x.component.da;S&&ft(S,w);return}p(y)})}),()=>{if(v=null,!t.default)return i=null;const y=t.default(),g=y[0];if(y.length>1)return i=null,y;if(!rs(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return i=null,g;let w=Si(g);if(w.type===it)return i=null,w;const x=w.type,S=Fc(ar(w)?w.type.__asyncResolved||{}:x),{include:k,exclude:T,max:P}=e;if(k&&(!S||!vo(k,S))||T&&S&&vo(T,S))return w.shapeFlag&=-257,i=w,g;const I=w.key==null?x:w.key,D=s.get(I);return w.el&&(w=Hn(w),g.shapeFlag&128&&(g.ssContent=w)),v=I,D?(w.el=D.el,w.component=D.component,w.transition&&Bs(w,w.transition),w.shapeFlag|=512,o.delete(I),o.add(I)):(o.add(I),P&&o.size>parseInt(P,10)&&m(o.values().next().value)),w.shapeFlag|=256,i=w,ha(g.type)?g:w}}},Yv=Xv;function vo(e,t){return pe(e)?e.some(n=>vo(n,t)):Ke(e)?e.split(",").includes(t):H2(e)?(e.lastIndex=0,e.test(t)):!1}function o0(e,t){a0(e,"a",t)}function i0(e,t){a0(e,"da",t)}function a0(e,t,n=St){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(al(t,r,n),n){let s=n.parent;for(;s&&s.parent;)ci(s.parent.vnode)&&Jv(r,t,n,s),s=s.parent}}function Jv(e,t,n,r){const s=al(t,e,r,!0);Lr(()=>{Ku(r[t],s)},n)}function zl(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Si(e){return e.shapeFlag&128?e.ssContent:e}function al(e,t,n=St,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{jn();const a=Ys(n),l=fn(t,n,e,i);return a(),zn(),l});return r?s.unshift(o):s.push(o),o}}const pr=e=>(t,n=St)=>{(!ss||e==="sp")&&al(e,(...r)=>t(...r),n)},l0=pr("bm"),It=pr("m"),Zv=pr("bu"),af=pr("u"),cs=pr("bum"),Lr=pr("um"),Qv=pr("sp"),eb=pr("rtg"),tb=pr("rtc");function c0(e,t=St){al("ec",e,t)}const u0="components";function gd(e,t){return d0(u0,e,!0,t)||e}const f0=Symbol.for("v-ndc");function Ln(e){return Ke(e)?d0(u0,e,!1)||e:e||f0}function d0(e,t,n=!0,r=!1){const s=Et||St;if(s){const o=s.type;{const a=Fc(o,!1);if(a&&(a===t||a===_t(t)||a===Qa(_t(t))))return o}const i=md(s[e]||o[e],t)||md(s.appContext[e],t);return!i&&r?o:i}}function md(e,t){return e&&(e[t]||e[_t(t)]||e[Qa(_t(t))])}function ur(e,t,n,r){let s;const o=n,i=pe(e);if(i||Ke(e)){const a=i&&Ar(e);let l=!1,c=!1;a&&(l=!Jt(e),c=qn(e),e=nl(e)),s=new Array(e.length);for(let u=0,f=e.length;u<f;u++)s[u]=t(l?c?Ds(_n(e[u])):_n(e[u]):e[u],u,void 0,o)}else if(typeof e=="number"){s=new Array(e);for(let a=0;a<e;a++)s[a]=t(a+1,a,void 0,o)}else if(De(e))if(e[Symbol.iterator])s=Array.from(e,(a,l)=>t(a,l,void 0,o));else{const a=Object.keys(e);s=new Array(a.length);for(let l=0,c=a.length;l<c;l++){const u=a[l];s[l]=t(e[u],u,l,o)}}else s=[];return s}function ce(e,t,n={},r,s){if(Et.ce||Et.parent&&ar(Et.parent)&&Et.parent.ce){const c=Object.keys(n).length>0;return t!=="default"&&(n.name=t),N(),W(ze,null,[re("slot",n,r&&r())],c?-2:64)}let o=e[t];o&&o._c&&(o._d=!1),N();const i=o&&p0(o(n)),a=n.key||i&&i.key,l=W(ze,{key:(a&&!Qt(a)?a:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function p0(e){return e.some(t=>rs(t)?!(t.type===it||t.type===ze&&!p0(t.children)):!0)?e:null}function nb(e,t){const n={};for(const r in e)n[Co(r)]=e[r];return n}const Ic=e=>e?j0(e)?ul(e):Ic(e.parent):null,Ao=dt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ic(e.parent),$root:e=>Ic(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>g0(e),$forceUpdate:e=>e.f||(e.f=()=>{rf(e.update)}),$nextTick:e=>e.n||(e.n=At.bind(e.proxy)),$watch:e=>Lv.bind(e)}),ql=(e,t)=>e!==Le&&!e.__isScriptSetup&&je(e,t),rb={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:a,appContext:l}=e;if(t[0]!=="$"){const d=i[t];if(d!==void 0)switch(d){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(ql(r,t))return i[t]=1,r[t];if(s!==Le&&je(s,t))return i[t]=2,s[t];if(je(o,t))return i[t]=3,o[t];if(n!==Le&&je(n,t))return i[t]=4,n[t];Lc&&(i[t]=0)}}const c=Ao[t];let u,f;if(c)return t==="$attrs"&&Rt(e.attrs,"get",""),c(e);if((u=a.__cssModules)&&(u=u[t]))return u;if(n!==Le&&je(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,je(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return ql(s,t)?(s[t]=n,!0):r!==Le&&je(r,t)?(r[t]=n,!0):je(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,props:o,type:i}},a){let l;return!!(n[a]||e!==Le&&a[0]!=="$"&&je(e,a)||ql(t,a)||je(o,a)||je(r,a)||je(Ao,a)||je(s.config.globalProperties,a)||(l=i.__cssModules)&&l[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:je(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Xs(){return sb().slots}function sb(e){const t=lt();return t.setupContext||(t.setupContext=q0(t))}function zo(e){return pe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function ob(e,t){const n=zo(e);for(const r in t){if(r.startsWith("__skip"))continue;let s=n[r];s?pe(s)||ye(s)?s=n[r]={type:s,default:t[r]}:s.default=t[r]:s===null&&(s=n[r]={default:t[r]}),s&&t[`__skip_${r}`]&&(s.skipFactory=!0)}return n}function Mc(e,t){return!e||!t?e||t:pe(e)&&pe(t)?e.concat(t):dt({},zo(e),zo(t))}function yd(e){const t=lt(),n=ss;let r=e();Ho(),n&&Is(!1);const s=()=>{Ys(t),n&&Is(!0)},o=()=>{lt()!==t&&t.scope.off(),Ho(),n&&Is(!1)};return Xu(r)&&(r=r.catch(i=>{throw s(),Promise.resolve().then(()=>Promise.resolve().then(o)),i})),[r,()=>{s(),Promise.resolve().then(o)}]}let Lc=!0;function ib(e){const t=g0(e),n=e.proxy,r=e.ctx;Lc=!1,t.beforeCreate&&vd(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:p,updated:h,activated:m,deactivated:v,beforeDestroy:b,beforeUnmount:y,destroyed:g,unmounted:w,render:x,renderTracked:S,renderTriggered:k,errorCaptured:T,serverPrefetch:P,expose:I,inheritAttrs:D,components:M,directives:Y,filters:O}=t;if(c&&ab(c,r,null),i)for(const J in i){const F=i[J];ye(F)&&(r[J]=F.bind(n))}if(s){const J=s.call(n,n);De(J)&&(e.data=xt(J))}if(Lc=!0,o)for(const J in o){const F=o[J],ue=ye(F)?F.bind(n,n):ye(F.get)?F.get.bind(n,n):Dn,G=!ye(F)&&ye(F.set)?F.set.bind(n):Dn,Ae=R({get:ue,set:G});Object.defineProperty(r,J,{enumerable:!0,configurable:!0,get:()=>Ae.value,set:Be=>Ae.value=Be})}if(a)for(const J in a)h0(a[J],r,n,J);if(l){const J=ye(l)?l.call(n):l;Reflect.ownKeys(J).forEach(F=>{qt(F,J[F])})}u&&vd(u,e,"c");function $(J,F){pe(F)?F.forEach(ue=>J(ue.bind(n))):F&&J(F.bind(n))}if($(l0,f),$(It,d),$(Zv,p),$(af,h),$(o0,m),$(i0,v),$(c0,T),$(tb,S),$(eb,k),$(cs,y),$(Lr,w),$(Qv,P),pe(I))if(I.length){const J=e.exposed||(e.exposed={});I.forEach(F=>{Object.defineProperty(J,F,{get:()=>n[F],set:ue=>n[F]=ue,enumerable:!0})})}else e.exposed||(e.exposed={});x&&e.render===Dn&&(e.render=x),D!=null&&(e.inheritAttrs=D),M&&(e.components=M),Y&&(e.directives=Y),P&&sf(e)}function ab(e,t,n=Dn){pe(e)&&(e=$c(e));for(const r in e){const s=e[r];let o;De(s)?"default"in s?o=We(s.from||r,s.default,!0):o=We(s.from||r):o=We(s),Xe(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function vd(e,t,n){fn(pe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function h0(e,t,n,r){let s=r.includes(".")?Kg(n,r):()=>n[r];if(Ke(e)){const o=t[e];ye(o)&&Ne(s,o)}else if(ye(e))Ne(s,e.bind(n));else if(De(e))if(pe(e))e.forEach(o=>h0(o,t,n,r));else{const o=ye(e.handler)?e.handler.bind(n):t[e.handler];ye(o)&&Ne(s,o,e)}}function g0(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(c=>da(l,c,i,!0)),da(l,t,i)),De(t)&&o.set(t,l),l}function da(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&da(e,o,n,!0),s&&s.forEach(i=>da(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=lb[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const lb={data:bd,props:wd,emits:wd,methods:bo,computed:bo,beforeCreate:Mt,created:Mt,beforeMount:Mt,mounted:Mt,beforeUpdate:Mt,updated:Mt,beforeDestroy:Mt,beforeUnmount:Mt,destroyed:Mt,unmounted:Mt,activated:Mt,deactivated:Mt,errorCaptured:Mt,serverPrefetch:Mt,components:bo,directives:bo,watch:ub,provide:bd,inject:cb};function bd(e,t){return t?e?function(){return dt(ye(e)?e.call(this,this):e,ye(t)?t.call(this,this):t)}:t:e}function cb(e,t){return bo($c(e),$c(t))}function $c(e){if(pe(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Mt(e,t){return e?[...new Set([].concat(e,t))]:t}function bo(e,t){return e?dt(Object.create(null),e,t):t}function wd(e,t){return e?pe(e)&&pe(t)?[...new Set([...e,...t])]:dt(Object.create(null),zo(e),zo(t??{})):t}function ub(e,t){if(!e)return t;if(!t)return e;const n=dt(Object.create(null),e);for(const r in t)n[r]=Mt(e[r],t[r]);return n}function m0(){return{app:null,config:{isNativeTag:hg,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let fb=0;function db(e,t){return function(r,s=null){ye(r)||(r=dt({},r)),s!=null&&!De(s)&&(s=null);const o=m0(),i=new WeakSet,a=[];let l=!1;const c=o.app={_uid:fb++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:qb,get config(){return o.config},set config(u){},use(u,...f){return i.has(u)||(u&&ye(u.install)?(i.add(u),u.install(c,...f)):ye(u)&&(i.add(u),u(c,...f))),c},mixin(u){return o.mixins.includes(u)||o.mixins.push(u),c},component(u,f){return f?(o.components[u]=f,c):o.components[u]},directive(u,f){return f?(o.directives[u]=f,c):o.directives[u]},mount(u,f,d){if(!l){const p=c._ceVNode||re(r,s);return p.appContext=o,d===!0?d="svg":d===!1&&(d=void 0),f&&t?t(p,u):e(p,u,d),l=!0,c._container=u,u.__vue_app__=c,ul(p.component)}},onUnmount(u){a.push(u)},unmount(){l&&(fn(a,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,f){return o.provides[u]=f,c},runWithContext(u){const f=es;es=c;try{return u()}finally{es=f}}};return c}}let es=null;function y0(e,t,n=Le){const r=lt(),s=_t(t),o=Mr(t),i=v0(e,s),a=nf((l,c)=>{let u,f=Le,d;return Mv(()=>{const p=e[s];kt(u,p)&&(u=p,c())}),{get(){return l(),n.get?n.get(u):u},set(p){const h=n.set?n.set(p):p;if(!kt(h,u)&&!(f!==Le&&kt(p,f)))return;const m=r.vnode.props,v=!!(m&&(t in m||s in m||o in m)&&(`onUpdate:${t}`in m||`onUpdate:${s}`in m||`onUpdate:${o}`in m));v||(u=p,c()),r.emit(`update:${t}`,h),kt(p,f)&&(kt(p,h)&&!kt(h,d)||v&&f!==Le&&!kt(h,u))&&c(),f=p,d=h}}});return a[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?i||Le:a,done:!1}:{done:!0}}}},a}const v0=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${_t(t)}Modifiers`]||e[`${Mr(t)}Modifiers`];function pb(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Le;let s=n;const o=t.startsWith("update:"),i=o&&v0(r,t.slice(7));i&&(i.trim&&(s=n.map(u=>Ke(u)?u.trim():u)),i.number&&(s=n.map(W2)));let a,l=r[a=Co(t)]||r[a=Co(_t(t))];!l&&o&&(l=r[a=Co(Mr(t))]),l&&fn(l,e,6,s);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,fn(c,e,6,s)}}const hb=new WeakMap;function b0(e,t,n=!1){const r=n?hb:t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},a=!1;if(!ye(e)){const l=c=>{const u=b0(c,t,!0);u&&(a=!0,dt(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(De(e)&&r.set(e,null),null):(pe(o)?o.forEach(l=>i[l]=null):dt(i,o),De(e)&&r.set(e,i),i)}function ll(e,t){return!e||!si(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),je(e,t[0].toLowerCase()+t.slice(1))||je(e,Mr(t))||je(e,t))}function Hl(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:a,emit:l,render:c,renderCache:u,props:f,data:d,setupState:p,ctx:h,inheritAttrs:m}=e,v=ca(e);let b,y;try{if(n.shapeFlag&4){const w=s||r,x=w;b=Xt(c.call(x,w,u,f,p,d,h)),y=a}else{const w=t;b=Xt(w.length>1?w(f,{attrs:a,slots:i,emit:l}):w(f,null)),y=t.props?a:mb(a)}}catch(w){Po.length=0,Ks(w,e,1),b=re(it)}let g=b;if(y&&m!==!1){const w=Object.keys(y),{shapeFlag:x}=g;w.length&&x&7&&(o&&w.some(Ya)&&(y=yb(y,o)),g=Hn(g,y,!1,!0))}return n.dirs&&(g=Hn(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&Bs(g,n.transition),b=g,ca(v),b}function gb(e,t=!0){let n;for(let r=0;r<e.length;r++){const s=e[r];if(rs(s)){if(s.type!==it||s.children==="v-if"){if(n)return;n=s}}else return}return n}const mb=e=>{let t;for(const n in e)(n==="class"||n==="style"||si(n))&&((t||(t={}))[n]=e[n]);return t},yb=(e,t)=>{const n={};for(const r in e)(!Ya(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function vb(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?_d(r,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(w0(i,r,d)&&!ll(c,d))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?_d(r,i,c):!0:!!i;return!1}function _d(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(w0(t,e,o)&&!ll(n,o))return!0}return!1}function w0(e,t,n){const r=e[n],s=t[n];return n==="style"&&De(r)&&De(s)?!Yu(r,s):r!==s}function cl({vnode:e,parent:t,suspense:n},r){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.suspense.vnode.el=s.el=r,e=s),s===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}const _0={},x0=()=>Object.create(_0),C0=e=>Object.getPrototypeOf(e)===_0;function bb(e,t,n,r=!1){const s={},o=x0();e.propsDefaults=Object.create(null),k0(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:hn(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function wb(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=Me(s),[l]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(ll(e.emitsOptions,d))continue;const p=t[d];if(l)if(je(o,d))p!==o[d]&&(o[d]=p,c=!0);else{const h=_t(d);s[h]=Nc(l,a,h,p,e,!1)}else p!==o[d]&&(o[d]=p,c=!0)}}}else{k0(e,t,s,o)&&(c=!0);let u;for(const f in a)(!t||!je(t,f)&&((u=Mr(f))===f||!je(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(s[f]=Nc(l,a,f,void 0,e,!0)):delete s[f]);if(o!==a)for(const f in o)(!t||!je(t,f))&&(delete o[f],c=!0)}c&&sr(e.attrs,"set","")}function k0(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Zr(l))continue;const c=t[l];let u;s&&je(s,u=_t(l))?!o||!o.includes(u)?n[u]=c:(a||(a={}))[u]=c:ll(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(o){const l=Me(n),c=a||Le;for(let u=0;u<o.length;u++){const f=o[u];n[f]=Nc(s,l,f,c[f],e,!je(c,f))}}return i}function Nc(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=je(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&ye(l)){const{propsDefaults:c}=s;if(n in c)r=c[n];else{const u=Ys(s);r=c[n]=l.call(null,t),u()}}else r=l;s.ce&&s.ce._setProp(n,r)}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===Mr(n))&&(r=!0))}return r}const _b=new WeakMap;function S0(e,t,n=!1){const r=n?_b:t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},a=[];let l=!1;if(!ye(e)){const u=f=>{l=!0;const[d,p]=S0(f,t,!0);dt(i,d),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!l)return De(e)&&r.set(e,As),As;if(pe(o))for(let u=0;u<o.length;u++){const f=_t(o[u]);xd(f)&&(i[f]=Le)}else if(o)for(const u in o){const f=_t(u);if(xd(f)){const d=o[u],p=i[f]=pe(d)||ye(d)?{type:d}:dt({},d),h=p.type;let m=!1,v=!0;if(pe(h))for(let b=0;b<h.length;++b){const y=h[b],g=ye(y)&&y.name;if(g==="Boolean"){m=!0;break}else g==="String"&&(v=!1)}else m=ye(h)&&h.name==="Boolean";p[0]=m,p[1]=v,(m||je(p,"default"))&&a.push(f)}}const c=[i,a];return De(e)&&r.set(e,c),c}function xd(e){return e[0]!=="$"&&!Zr(e)}const lf=e=>e==="_"||e==="_ctx"||e==="$stable",cf=e=>pe(e)?e.map(Xt):[Xt(e)],xb=(e,t,n)=>{if(t._n)return t;const r=Z((...s)=>cf(t(...s)),n);return r._c=!1,r},E0=(e,t,n)=>{const r=e._ctx;for(const s in e){if(lf(s))continue;const o=e[s];if(ye(o))t[s]=xb(s,o,r);else if(o!=null){const i=cf(o);t[s]=()=>i}}},A0=(e,t)=>{const n=cf(t);e.slots.default=()=>n},T0=(e,t,n)=>{for(const r in t)(n||!lf(r))&&(e[r]=t[r])},Cb=(e,t,n)=>{const r=e.slots=x0();if(e.vnode.shapeFlag&32){const s=t._;s?(T0(r,t,n),n&&vg(r,"_",s,!0)):E0(t,r)}else t&&A0(e,t)},kb=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=Le;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:T0(s,t,n):(o=!t.$stable,E0(t,s)),i=t}else t&&(A0(e,t),i={default:1});if(o)for(const a in s)!lf(a)&&i[a]==null&&delete s[a]},ft=$0;function Sb(e){return P0(e)}function Eb(e){return P0(e,Hv)}function P0(e,t){const n=el();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=Dn,insertStaticContent:h}=e,m=(C,E,L,U=null,z=null,H=null,ne=void 0,te=null,ee=!!E.dynamicChildren)=>{if(C===E)return;C&&!gn(C,E)&&(U=j(C),Be(C,z,H,!0),C=null),E.patchFlag===-2&&(ee=!1,E.dynamicChildren=null);const{type:V,ref:me,shapeFlag:se}=E;switch(V){case ts:v(C,E,L,U);break;case it:b(C,E,L,U);break;case To:C==null&&y(E,L,U,ne);break;case ze:M(C,E,L,U,z,H,ne,te,ee);break;default:se&1?x(C,E,L,U,z,H,ne,te,ee):se&6?Y(C,E,L,U,z,H,ne,te,ee):(se&64||se&128)&&V.process(C,E,L,U,z,H,ne,te,ee,fe)}me!=null&&z?Rs(me,C&&C.ref,H,E||C,!E):me==null&&C&&C.ref!=null&&Rs(C.ref,null,H,C,!0)},v=(C,E,L,U)=>{if(C==null)r(E.el=a(E.children),L,U);else{const z=E.el=C.el;E.children!==C.children&&c(z,E.children)}},b=(C,E,L,U)=>{C==null?r(E.el=l(E.children||""),L,U):E.el=C.el},y=(C,E,L,U)=>{[C.el,C.anchor]=h(C.children,E,L,U,C.el,C.anchor)},g=({el:C,anchor:E},L,U)=>{let z;for(;C&&C!==E;)z=d(C),r(C,L,U),C=z;r(E,L,U)},w=({el:C,anchor:E})=>{let L;for(;C&&C!==E;)L=d(C),s(C),C=L;s(E)},x=(C,E,L,U,z,H,ne,te,ee)=>{if(E.type==="svg"?ne="svg":E.type==="math"&&(ne="mathml"),C==null)S(E,L,U,z,H,ne,te,ee);else{const V=C.el&&C.el._isVueCE?C.el:null;try{V&&V._beginPatch(),P(C,E,z,H,ne,te,ee)}finally{V&&V._endPatch()}}},S=(C,E,L,U,z,H,ne,te)=>{let ee,V;const{props:me,shapeFlag:se,transition:de,dirs:ve}=C;if(ee=C.el=i(C.type,H,me&&me.is,me),se&8?u(ee,C.children):se&16&&T(C.children,ee,null,U,z,Ul(C,H),ne,te),ve&&In(C,null,U,"created"),k(ee,C,C.scopeId,ne,U),me){for(const Ge in me)Ge!=="value"&&!Zr(Ge)&&o(ee,Ge,null,me[Ge],H,U);"value"in me&&o(ee,"value",null,me.value,H),(V=me.onVnodeBeforeMount)&&jt(V,U,C)}ve&&In(C,null,U,"beforeMount");const Ie=R0(z,de);Ie&&de.beforeEnter(ee),r(ee,E,L),((V=me&&me.onVnodeMounted)||Ie||ve)&&ft(()=>{V&&jt(V,U,C),Ie&&de.enter(ee),ve&&In(C,null,U,"mounted")},z)},k=(C,E,L,U,z)=>{if(L&&p(C,L),U)for(let H=0;H<U.length;H++)p(C,U[H]);if(z){let H=z.subTree;if(E===H||ha(H.type)&&(H.ssContent===E||H.ssFallback===E)){const ne=z.vnode;k(C,ne,ne.scopeId,ne.slotScopeIds,z.parent)}}},T=(C,E,L,U,z,H,ne,te,ee=0)=>{for(let V=ee;V<C.length;V++){const me=C[V]=te?nr(C[V]):Xt(C[V]);m(null,me,E,L,U,z,H,ne,te)}},P=(C,E,L,U,z,H,ne)=>{const te=E.el=C.el;let{patchFlag:ee,dynamicChildren:V,dirs:me}=E;ee|=C.patchFlag&16;const se=C.props||Le,de=E.props||Le;let ve;if(L&&Nr(L,!1),(ve=de.onVnodeBeforeUpdate)&&jt(ve,L,E,C),me&&In(E,C,L,"beforeUpdate"),L&&Nr(L,!0),V&&(!C.dynamicChildren||C.dynamicChildren.length!==V.length)&&(ee=0,ne=!1,V=null),(se.innerHTML&&de.innerHTML==null||se.textContent&&de.textContent==null)&&u(te,""),V?I(C.dynamicChildren,V,te,L,U,Ul(E,z),H):ne||F(C,E,te,null,L,U,Ul(E,z),H,!1),ee>0){if(ee&16)D(te,se,de,L,z);else if(ee&2&&se.class!==de.class&&o(te,"class",null,de.class,z),ee&4&&o(te,"style",se.style,de.style,z),ee&8){const Ie=E.dynamicProps;for(let Ge=0;Ge<Ie.length;Ge++){const Ve=Ie[Ge],ct=se[Ve],ht=de[Ve];(ht!==ct||Ve==="value")&&o(te,Ve,ct,ht,z,L)}}ee&1&&C.children!==E.children&&u(te,E.children)}else!ne&&V==null&&D(te,se,de,L,z);((ve=de.onVnodeUpdated)||me)&&ft(()=>{ve&&jt(ve,L,E,C),me&&In(E,C,L,"updated")},U)},I=(C,E,L,U,z,H,ne)=>{for(let te=0;te<E.length;te++){const ee=C[te],V=E[te],me=ee.el&&(ee.type===ze||!gn(ee,V)||ee.shapeFlag&198)?f(ee.el):L;m(ee,V,me,null,U,z,H,ne,!0)}},D=(C,E,L,U,z)=>{if(E!==L){if(E!==Le)for(const H in E)!Zr(H)&&!(H in L)&&o(C,H,E[H],null,z,U);for(const H in L){if(Zr(H))continue;const ne=L[H],te=E[H];ne!==te&&H!=="value"&&o(C,H,te,ne,z,U)}"value"in L&&o(C,"value",E.value,L.value,z)}},M=(C,E,L,U,z,H,ne,te,ee)=>{const V=E.el=C?C.el:a(""),me=E.anchor=C?C.anchor:a("");let{patchFlag:se,dynamicChildren:de,slotScopeIds:ve}=E;ve&&(te=te?te.concat(ve):ve),C==null?(r(V,L,U),r(me,L,U),T(E.children||[],L,me,z,H,ne,te,ee)):se>0&&se&64&&de&&C.dynamicChildren&&C.dynamicChildren.length===de.length?(I(C.dynamicChildren,de,L,z,H,ne,te),(E.key!=null||z&&E===z.subTree)&&uf(C,E,!0)):F(C,E,L,me,z,H,ne,te,ee)},Y=(C,E,L,U,z,H,ne,te,ee)=>{E.slotScopeIds=te,C==null?E.shapeFlag&512?z.ctx.activate(E,L,U,ne,ee):O(E,L,U,z,H,ne,ee):q(C,E,ee)},O=(C,E,L,U,z,H,ne)=>{const te=C.component=Db(C,U,z);if(ci(C)&&(te.ctx.renderer=fe),Bb(te,!1,ne),te.asyncDep){if(z&&z.registerDep(te,$,ne),!C.el){const ee=te.subTree=re(it);b(null,ee,E,L),C.placeholder=ee.el}}else $(te,C,E,L,z,H,ne)},q=(C,E,L)=>{const U=E.component=C.component;if(vb(C,E,L))if(U.asyncDep&&!U.asyncResolved){J(U,E,L);return}else U.next=E,U.update();else E.el=C.el,U.vnode=E},$=(C,E,L,U,z,H,ne)=>{const te=()=>{if(C.isMounted){let{next:se,bu:de,u:ve,parent:Ie,vnode:Ge}=C;{const Gt=O0(C);if(Gt){se&&(se.el=Ge.el,J(C,se,ne)),Gt.asyncDep.then(()=>{ft(()=>{C.isUnmounted||V()},z)});return}}let Ve=se,ct;Nr(C,!1),se?(se.el=Ge.el,J(C,se,ne)):se=Ge,de&&ko(de),(ct=se.props&&se.props.onVnodeBeforeUpdate)&&jt(ct,Ie,se,Ge),Nr(C,!0);const ht=Hl(C),pn=C.subTree;C.subTree=ht,m(pn,ht,f(pn.el),j(pn),C,z,H),se.el=ht.el,Ve===null&&cl(C,ht.el),ve&&ft(ve,z),(ct=se.props&&se.props.onVnodeUpdated)&&ft(()=>jt(ct,Ie,se,Ge),z)}else{let se;const{el:de,props:ve}=E,{bm:Ie,m:Ge,parent:Ve,root:ct,type:ht}=C,pn=ar(E);if(Nr(C,!1),Ie&&ko(Ie),!pn&&(se=ve&&ve.onVnodeBeforeMount)&&jt(se,Ve,E),Nr(C,!0),de&&qe){const Gt=()=>{C.subTree=Hl(C),qe(de,C.subTree,C,z,null)};pn&&ht.__asyncHydrate?ht.__asyncHydrate(de,C,Gt):Gt()}else{ct.ce&&ct.ce._hasShadowRoot()&&ct.ce._injectChildStyle(ht,C.parent?C.parent.type:void 0);const Gt=C.subTree=Hl(C);m(null,Gt,L,U,C,z,H),E.el=Gt.el}if(Ge&&ft(Ge,z),!pn&&(se=ve&&ve.onVnodeMounted)){const Gt=E;ft(()=>jt(se,Ve,Gt),z)}(E.shapeFlag&256||Ve&&ar(Ve.vnode)&&Ve.vnode.shapeFlag&256)&&C.a&&ft(C.a,z),C.isMounted=!0,E=L=U=null}};C.scope.on();const ee=C.effect=new kg(te);C.scope.off();const V=C.update=ee.run.bind(ee),me=C.job=ee.runIfDirty.bind(ee);me.i=C,me.id=C.uid,ee.scheduler=()=>rf(me),Nr(C,!0),V()},J=(C,E,L)=>{E.component=C;const U=C.vnode.props;C.vnode=E,C.next=null,wb(C,E.props,U,L),kb(C,E.children,L),jn(),ad(C),zn()},F=(C,E,L,U,z,H,ne,te,ee=!1)=>{const V=C&&C.children,me=C?C.shapeFlag:0,se=E.children,{patchFlag:de,shapeFlag:ve}=E;if(de>0){if(de&128){G(V,se,L,U,z,H,ne,te,ee);return}else if(de&256){ue(V,se,L,U,z,H,ne,te,ee);return}}ve&8?(me&16&&Oe(V,z,H),se!==V&&u(L,se)):me&16?ve&16?G(V,se,L,U,z,H,ne,te,ee):Oe(V,z,H,!0):(me&8&&u(L,""),ve&16&&T(se,L,U,z,H,ne,te,ee))},ue=(C,E,L,U,z,H,ne,te,ee)=>{C=C||As,E=E||As;const V=C.length,me=E.length,se=Math.min(V,me);let de;for(de=0;de<se;de++){const ve=E[de]=ee?nr(E[de]):Xt(E[de]);m(C[de],ve,L,null,z,H,ne,te,ee)}V>me?Oe(C,z,H,!0,!1,se):T(E,L,U,z,H,ne,te,ee,se)},G=(C,E,L,U,z,H,ne,te,ee)=>{let V=0;const me=E.length;let se=C.length-1,de=me-1;for(;V<=se&&V<=de;){const ve=C[V],Ie=E[V]=ee?nr(E[V]):Xt(E[V]);if(gn(ve,Ie))m(ve,Ie,L,null,z,H,ne,te,ee);else break;V++}for(;V<=se&&V<=de;){const ve=C[se],Ie=E[de]=ee?nr(E[de]):Xt(E[de]);if(gn(ve,Ie))m(ve,Ie,L,null,z,H,ne,te,ee);else break;se--,de--}if(V>se){if(V<=de){const ve=de+1,Ie=ve<me?E[ve].el:U;for(;V<=de;)m(null,E[V]=ee?nr(E[V]):Xt(E[V]),L,Ie,z,H,ne,te,ee),V++}}else if(V>de)for(;V<=se;)Be(C[V],z,H,!0),V++;else{const ve=V,Ie=V,Ge=new Map;for(V=Ie;V<=de;V++){const Wt=E[V]=ee?nr(E[V]):Xt(E[V]);Wt.key!=null&&Ge.set(Wt.key,V)}let Ve,ct=0;const ht=de-Ie+1;let pn=!1,Gt=0;const ro=new Array(ht);for(V=0;V<ht;V++)ro[V]=0;for(V=ve;V<=se;V++){const Wt=C[V];if(ct>=ht){Be(Wt,z,H,!0);continue}let Tn;if(Wt.key!=null)Tn=Ge.get(Wt.key);else for(Ve=Ie;Ve<=de;Ve++)if(ro[Ve-Ie]===0&&gn(Wt,E[Ve])){Tn=Ve;break}Tn===void 0?Be(Wt,z,H,!0):(ro[Tn-Ie]=V+1,Tn>=Gt?Gt=Tn:pn=!0,m(Wt,E[Tn],L,null,z,H,ne,te,ee),ct++)}const ed=pn?Ab(ro):As;for(Ve=ed.length-1,V=ht-1;V>=0;V--){const Wt=Ie+V,Tn=E[Wt],td=E[Wt+1],nd=Wt+1<me?td.el||I0(td):U;ro[V]===0?m(null,Tn,L,nd,z,H,ne,te,ee):pn&&(Ve<0||V!==ed[Ve]?Ae(Tn,L,nd,2):Ve--)}}},Ae=(C,E,L,U,z=null)=>{const{el:H,type:ne,transition:te,children:ee,shapeFlag:V}=C;if(V&6){Ae(C.component.subTree,E,L,U);return}if(V&128){C.suspense.move(E,L,U);return}if(V&64){ne.move(C,E,L,fe);return}if(ne===ze){r(H,E,L);for(let se=0;se<ee.length;se++)Ae(ee[se],E,L,U);r(C.anchor,E,L);return}if(ne===To){g(C,E,L);return}if(U!==2&&V&1&&te)if(U===0)te.persisted&&!H[on]?r(H,E,L):(te.beforeEnter(H),r(H,E,L),ft(()=>te.enter(H),z));else{const{leave:se,delayLeave:de,afterLeave:ve}=te,Ie=()=>{C.ctx.isUnmounted?s(H):r(H,E,L)},Ge=()=>{const Ve=H._isLeaving||!!H[on];H._isLeaving&&H[on](!0),te.persisted&&!Ve?Ie():se(H,()=>{Ie(),ve&&ve()})};de?de(H,Ie,Ge):Ge()}else r(H,E,L)},Be=(C,E,L,U=!1,z=!1)=>{const{type:H,props:ne,ref:te,children:ee,dynamicChildren:V,shapeFlag:me,patchFlag:se,dirs:de,cacheIndex:ve,memo:Ie}=C;if(se===-2&&(z=!1),te!=null&&(jn(),Rs(te,null,L,C,!0),zn()),ve!=null&&(E.renderCache[ve]=void 0),me&256){E.ctx.deactivate(C);return}const Ge=me&1&&de,Ve=!ar(C);let ct;if(Ve&&(ct=ne&&ne.onVnodeBeforeUnmount)&&jt(ct,E,C),me&6)Re(C.component,L,U);else{if(me&128){C.suspense.unmount(L,U);return}Ge&&In(C,null,E,"beforeUnmount"),me&64?C.type.remove(C,E,L,fe,U):V&&!V.hasOnce&&(H!==ze||se>0&&se&64)?Oe(V,E,L,!1,!0):(H===ze&&se&384||!z&&me&16)&&Oe(ee,E,L),U&&pt(C)}const ht=Ie!=null&&ve==null;(Ve&&(ct=ne&&ne.onVnodeUnmounted)||Ge||ht)&&ft(()=>{ct&&jt(ct,E,C),Ge&&In(C,null,E,"unmounted"),ht&&(C.el=null)},L)},pt=C=>{const{type:E,el:L,anchor:U,transition:z}=C;if(E===ze){Ct(L,U);return}if(E===To){w(C);return}const H=()=>{s(L),z&&!z.persisted&&z.afterLeave&&z.afterLeave()};if(C.shapeFlag&1&&z&&!z.persisted){const{leave:ne,delayLeave:te}=z,ee=()=>ne(L,H);te?te(C.el,H,ee):ee()}else H()},Ct=(C,E)=>{let L;for(;C!==E;)L=d(C),s(C),C=L;s(E)},Re=(C,E,L)=>{const{bum:U,scope:z,job:H,subTree:ne,um:te,m:ee,a:V}=C;pa(ee),pa(V),U&&ko(U),z.stop(),H&&(H.flags|=8,Be(ne,C,E,L)),te&&ft(te,E),ft(()=>{C.isUnmounted=!0},E)},Oe=(C,E,L,U=!1,z=!1,H=0)=>{for(let ne=H;ne<C.length;ne++)Be(C[ne],E,L,U,z)},j=C=>{if(C.shapeFlag&6)return j(C.component.subTree);if(C.shapeFlag&128)return C.suspense.next();const E=d(C.anchor||C.el),L=E&&E[Xg];return L?d(L):E};let ie=!1;const X=(C,E,L)=>{let U;C==null?E._vnode&&(Be(E._vnode,null,null,!0),U=E._vnode.component):m(E._vnode||null,C,E,null,null,null,L),E._vnode=C,ie||(ie=!0,ad(U),la(),ie=!1)},fe={p:m,um:Be,m:Ae,r:pt,mt:O,mc:T,pc:F,pbc:I,n:j,o:e};let Ce,qe;return t&&([Ce,qe]=t(fe)),{render:X,hydrate:Ce,createApp:db(X,Ce)}}function Ul({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Nr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function R0(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function uf(e,t,n=!1){const r=e.children,s=t.children;if(pe(r)&&pe(s))for(let o=0;o<r.length;o++){const i=r[o];let a=s[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[o]=nr(s[o]),a.el=i.el),!n&&a.patchFlag!==-2&&uf(i,a)),a.type===ts&&(a.patchFlag===-1&&(a=s[o]=nr(a)),a.el=i.el),a.type===it&&!a.el&&(a.el=i.el)}}function Ab(e){const t=e.slice(),n=[0];let r,s,o,i,a;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(s=n[n.length-1],e[s]<c){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<c?o=a+1:i=a;c<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function O0(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:O0(t)}function pa(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function I0(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?I0(t.subTree):null}const ha=e=>e.__isSuspense;let Dc=0;const Tb={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,l,c){if(e==null)Pb(t,n,r,s,o,i,a,l,c);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Rb(e,t,n,r,s,i,a,l,c)}},hydrate:Ob,normalize:Ib},M0=Tb;function qo(e,t){const n=e.props&&e.props[t];ye(n)&&n()}function Pb(e,t,n,r,s,o,i,a,l){const{p:c,o:{createElement:u}}=l,f=u("div"),d=e.suspense=L0(e,s,r,t,f,n,o,i,a,l);c(null,d.pendingBranch=e.ssContent,f,null,r,d,o,i),d.deps>0?(qo(e,"onPending"),qo(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,o,i),Os(d,e.ssFallback)):d.resolve(!1,!0)}function Rb(e,t,n,r,s,o,i,a,{p:l,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:v,isHydrating:b}=f;if(m)f.pendingBranch=d,gn(m,d)?(l(m,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():v&&(b||(l(h,p,n,r,s,null,o,i,a),Os(f,p)))):(f.pendingId=Dc++,b?(f.isHydrating=!1,f.activeBranch=m):c(m,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),v?(l(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():(l(h,p,n,r,s,null,o,i,a),Os(f,p))):h&&gn(h,d)?(l(h,d,n,r,s,f,o,i,a),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0&&f.resolve()));else if(h&&gn(h,d))l(h,d,n,r,s,f,o,i,a),Os(f,d);else if(qo(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=Dc++,l(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0)f.resolve();else{const{timeout:y,pendingId:g}=f;y>0?setTimeout(()=>{f.pendingId===g&&f.fallback(p)},y):y===0&&f.fallback(p)}}function L0(e,t,n,r,s,o,i,a,l,c,u=!1){const{p:f,m:d,um:p,n:h,o:{parentNode:m,remove:v}}=c;let b;const y=Mb(e);y&&t&&t.pendingBranch&&(b=t.pendingId,t.deps++);const g=e.props?bg(e.props.timeout):void 0,w=o,x={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:s,deps:0,pendingId:Dc++,timeout:typeof g=="number"?g:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(S=!1,k=!1){const{vnode:T,activeBranch:P,pendingBranch:I,pendingId:D,effects:M,parentComponent:Y,container:O,isInFallback:q}=x;let $=!1;if(x.isHydrating)x.isHydrating=!1;else if(!S){$=P&&I.transition&&I.transition.mode==="out-in";let ue=!1;$&&(P.transition.afterLeave=()=>{D===x.pendingId&&(d(I,O,o===w&&!ue?h(P):o,0),Fo(M),q&&T.ssFallback&&(T.ssFallback.el=null))}),P&&!x.isFallbackMountPending&&(m(P.el)===O&&(o=h(P),ue=!0),p(P,Y,x,!0),!$&&q&&T.ssFallback&&ft(()=>T.ssFallback.el=null,x)),$||d(I,O,o,0)}x.isFallbackMountPending=!1,Os(x,I),x.pendingBranch=null,x.isInFallback=!1;let J=x.parent,F=!1;for(;J;){if(J.pendingBranch){J.effects.push(...M),F=!0;break}J=J.parent}!F&&!$&&Fo(M),x.effects=[],y&&t&&t.pendingBranch&&b===t.pendingId&&(t.deps--,t.deps===0&&!k&&t.resolve()),qo(T,"onResolve")},fallback(S){if(!x.pendingBranch)return;const{vnode:k,activeBranch:T,parentComponent:P,container:I,namespace:D}=x;qo(k,"onFallback");const M=h(T),Y=()=>{x.isFallbackMountPending=!1,x.isInFallback&&(f(null,S,I,M,P,null,D,a,l),Os(x,S))},O=S.transition&&S.transition.mode==="out-in";O&&(x.isFallbackMountPending=!0,T.transition.afterLeave=Y),x.isInFallback=!0,p(T,P,null,!0),O||Y()},move(S,k,T){x.activeBranch&&d(x.activeBranch,S,k,T),x.container=S},next(){return x.activeBranch&&h(x.activeBranch)},registerDep(S,k,T){const P=!!x.pendingBranch;P&&x.deps++;const I=S.vnode.el;S.asyncDep.catch(D=>{Ks(D,S,0)}).then(D=>{if(S.isUnmounted||x.isUnmounted||x.pendingId!==S.suspenseId)return;Ho(),S.asyncResolved=!0;const{vnode:M}=S;Bc(S,D),I&&(M.el=I);const Y=!I&&S.subTree.el;k(S,M,m(I||S.subTree.el),I?null:h(S.subTree),x,i,T),Y&&(M.placeholder=null,v(Y)),cl(S,M.el),P&&--x.deps===0&&x.resolve()})},unmount(S,k){x.isUnmounted=!0,x.activeBranch&&p(x.activeBranch,n,S,k),x.pendingBranch&&p(x.pendingBranch,n,S,k)}};return x}function Ob(e,t,n,r,s,o,i,a,l){const c=t.suspense=L0(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,a,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,o,i);return c.deps===0&&c.resolve(!1,!0),u}function Ib(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Cd(r?n.default:n),e.ssFallback=r?Cd(n.fallback):re(it)}function Cd(e){let t;if(ye(e)){const n=Fs&&e._c;n&&(e._d=!1,N()),e=e(),n&&(e._d=!0,t=zt,N0())}return pe(e)&&(e=gb(e)),e=Xt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function $0(e,t){t&&t.pendingBranch?pe(e)?t.effects.push(...e):t.effects.push(e):Fo(e)}function Os(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,r&&r.subTree===n&&(r.vnode.el=s,cl(r,s))}function Mb(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const ze=Symbol.for("v-fgt"),ts=Symbol.for("v-txt"),it=Symbol.for("v-cmt"),To=Symbol.for("v-stc"),Po=[];let zt=null;function N(e=!1){Po.push(zt=e?null:[])}function N0(){Po.pop(),zt=Po[Po.length-1]||null}let Fs=1;function ga(e,t=!1){Fs+=e,e<0&&zt&&t&&(zt.hasOnce=!0)}function D0(e){return e.dynamicChildren=Fs>0?zt||As:null,N0(),Fs>0&&zt&&zt.push(e),e}function Ee(e,t,n,r,s,o){return D0(ke(e,t,n,r,s,o,!0))}function W(e,t,n,r,s){return D0(re(e,t,n,r,s,!0))}function rs(e){return e?e.__v_isVNode===!0:!1}function gn(e,t){return e.type===t.type&&e.key===t.key}const B0=({key:e})=>e??null,Ji=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ke(e)||Xe(e)||ye(e)?{i:Et,r:e,k:t,f:!!n}:e:null);function ke(e,t=null,n=null,r=0,s=null,o=e===ze?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&B0(t),ref:t&&Ji(t),scopeId:Gg,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Et};return a?(ma(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Ke(n)?8:16),Fs>0&&!i&&zt&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&zt.push(l),l}const re=Lb;function Lb(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===f0)&&(e=it),rs(e)){const a=Hn(e,t,!0);return n&&ma(a,n),Fs>0&&!o&&zt&&(a.shapeFlag&6?zt[zt.indexOf(e)]=a:zt.push(a)),a.patchFlag=-2,a}if(zb(e)&&(e=e.__vccOpts),t){t=en(t);let{class:a,style:l}=t;a&&!Ke(a)&&(t.class=Te(a)),De(l)&&(ol(l)&&!pe(l)&&(l=dt({},l)),t.style=wn(l))}const i=Ke(e)?1:ha(e)?128:Yg(e)?64:De(e)?4:ye(e)?2:0;return ke(e,t,n,r,s,i,o,!0)}function en(e){return e?ol(e)||C0(e)?dt({},e):e:null}function Hn(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:a,transition:l}=e,c=t?be(s||{},t):s,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&B0(c),ref:t&&t.ref?n&&o?pe(o)?o.concat(Ji(t)):[o,Ji(t)]:Ji(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ze?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Hn(e.ssContent),ssFallback:e.ssFallback&&Hn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Bs(u,l.clone(u)),u}function Dt(e=" ",t=0){return re(ts,null,e,t)}function F0(e,t){const n=re(To,null,e);return n.staticCount=t,n}function xe(e="",t=!1){return t?(N(),W(it,null,e)):re(it,null,e)}function Xt(e){return e==null||typeof e=="boolean"?re(it):pe(e)?re(ze,null,e.slice()):rs(e)?nr(e):re(ts,null,String(e))}function nr(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Hn(e)}function ma(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(pe(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),ma(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!C0(t)?t._ctx=Et:s===3&&Et&&(Et.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(ye(t)){if(r&65){ma(e,{default:t});return}t={default:t,_ctx:Et},n=32}else t=String(t),r&64?(n=16,t=[Dt(t)]):n=8;e.children=t,e.shapeFlag|=n}function be(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=Te([t.class,r.class]));else if(s==="style")t.style=wn([t.style,r.style]);else if(si(s)){const o=t[s],i=r[s];i&&o!==i&&!(pe(o)&&o.includes(i))?t[s]=o?[].concat(o,i):i:i==null&&o==null&&!Ya(s)&&(t[s]=i)}else s!==""&&(t[s]=r[s])}return t}function jt(e,t,n,r=null){fn(e,t,7,[n,r])}const $b=m0();let Nb=0;function Db(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||$b,o={uid:Nb++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Cg(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:S0(r,s),emitsOptions:b0(r,s),emit:null,emitted:null,propsDefaults:Le,inheritAttrs:r.inheritAttrs,ctx:Le,data:Le,props:Le,attrs:Le,slots:Le,refs:Le,setupState:Le,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=pb.bind(null,o),e.ce&&e.ce(o),o}let St=null;const lt=()=>St||Et;let ya,Is;{const e=el(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};ya=t("__VUE_INSTANCE_SETTERS__",n=>St=n),Is=t("__VUE_SSR_SETTERS__",n=>ss=n)}const Ys=e=>{const t=St;return ya(e),e.scope.on(),()=>{e.scope.off(),ya(t)}},Ho=()=>{St&&St.scope.off(),ya(null)};function j0(e){return e.vnode.shapeFlag&4}let ss=!1;function Bb(e,t=!1,n=!1){t&&Is(t);const{props:r,children:s}=e.vnode,o=j0(e);bb(e,r,o,t),Cb(e,s,n||t);const i=o?Fb(e,t):void 0;return t&&Is(!1),i}function Fb(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,rb);const{setup:r}=n;if(r){jn();const s=e.setupContext=r.length>1?q0(e):null,o=Ys(e),i=ai(r,e,0,[e.props,s]),a=Xu(i);if(zn(),o(),(a||e.sp)&&!ar(e)&&sf(e),a){if(i.then(Ho,Ho),t)return i.then(l=>{Bc(e,l)}).catch(l=>{Ks(l,e,0)});e.asyncDep=i}else Bc(e,i)}else z0(e)}function Bc(e,t,n){ye(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:De(t)&&(e.setupState=zg(t)),z0(e)}function z0(e,t,n){const r=e.type;e.render||(e.render=r.render||Dn);{const s=Ys(e);jn();try{ib(e)}finally{zn(),s()}}}const jb={get(e,t){return Rt(e,"get",""),e[t]}};function q0(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,jb),slots:e.slots,emit:e.emit,expose:t}}function ul(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(zg(tf(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ao)return Ao[n](e)},has(t,n){return n in t||n in Ao}})):e.proxy}function Fc(e,t=!0){return ye(e)?e.displayName||e.name:e.name||t&&e.__name}function zb(e){return ye(e)&&"__vccOpts"in e}const R=(e,t)=>Ev(e,t,ss);function Ze(e,t,n){try{ga(-1);const r=arguments.length;return r===2?De(t)&&!pe(t)?rs(t)?re(e,null,[t]):re(e,t):re(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&rs(n)&&(n=[n]),re(e,t,n))}finally{ga(1)}}const qb="3.5.39";let jc;const kd=typeof window<"u"&&window.trustedTypes;if(kd)try{jc=kd.createPolicy("vue",{createHTML:e=>e})}catch{}const H0=jc?e=>jc.createHTML(e):e=>e,Hb="http://www.w3.org/2000/svg",Ub="http://www.w3.org/1998/Math/MathML",tr=typeof document<"u"?document:null,Sd=tr&&tr.createElement("template"),Vb={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?tr.createElementNS(Hb,e):t==="mathml"?tr.createElementNS(Ub,e):n?tr.createElement(e,{is:n}):tr.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>tr.createTextNode(e),createComment:e=>tr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>tr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Sd.innerHTML=H0(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=Sd.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},yr="transition",io="animation",Uo=Symbol("_vtc"),U0={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Gb=dt({},Zg,U0),Wb=e=>(e.displayName="Transition",e.props=Gb,e),V0=Wb((e,{slots:t})=>Ze(jv,Kb(e),t)),Dr=(e,t=[])=>{pe(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ed=e=>e?pe(e)?e.some(t=>t.length>1):e.length>1:!1;function Kb(e){const t={};for(const M in e)M in U0||(t[M]=e[M]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=i,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=Xb(s),m=h&&h[0],v=h&&h[1],{onBeforeEnter:b,onEnter:y,onEnterCancelled:g,onLeave:w,onLeaveCancelled:x,onBeforeAppear:S=b,onAppear:k=y,onAppearCancelled:T=g}=t,P=(M,Y,O,q)=>{M._enterCancelled=q,Br(M,Y?u:a),Br(M,Y?c:i),O&&O()},I=(M,Y)=>{M._isLeaving=!1,Br(M,f),Br(M,p),Br(M,d),Y&&Y()},D=M=>(Y,O)=>{const q=M?k:y,$=()=>P(Y,M,O);Dr(q,[Y,$]),Ad(()=>{Br(Y,M?l:o),Xn(Y,M?u:a),Ed(q)||Td(Y,r,m,$)})};return dt(t,{onBeforeEnter(M){Dr(b,[M]),Xn(M,o),Xn(M,i)},onBeforeAppear(M){Dr(S,[M]),Xn(M,l),Xn(M,c)},onEnter:D(!1),onAppear:D(!0),onLeave(M,Y){M._isLeaving=!0;const O=()=>I(M,Y);Xn(M,f),M._enterCancelled?(Xn(M,d),Od(M)):(Od(M),Xn(M,d)),Ad(()=>{M._isLeaving&&(Br(M,f),Xn(M,p),Ed(w)||Td(M,r,v,O))}),Dr(w,[M,O])},onEnterCancelled(M){P(M,!1,void 0,!0),Dr(g,[M])},onAppearCancelled(M){P(M,!0,void 0,!0),Dr(T,[M])},onLeaveCancelled(M){I(M),Dr(x,[M])}})}function Xb(e){if(e==null)return null;if(De(e))return[Vl(e.enter),Vl(e.leave)];{const t=Vl(e);return[t,t]}}function Vl(e){return bg(e)}function Xn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Uo]||(e[Uo]=new Set)).add(t)}function Br(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Uo];n&&(n.delete(t),n.size||(e[Uo]=void 0))}function Ad(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Yb=0;function Td(e,t,n,r){const s=e._endId=++Yb,o=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:a,propCount:l}=Jb(e,t);if(!i)return r();const c=i+"end";let u=0;const f=()=>{e.removeEventListener(c,d),o()},d=p=>{p.target===e&&++u>=l&&f()};setTimeout(()=>{u<l&&f()},a+1),e.addEventListener(c,d)}function Jb(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),s=r(`${yr}Delay`),o=r(`${yr}Duration`),i=Pd(s,o),a=r(`${io}Delay`),l=r(`${io}Duration`),c=Pd(a,l);let u=null,f=0,d=0;t===yr?i>0&&(u=yr,f=i,d=o.length):t===io?c>0&&(u=io,f=c,d=l.length):(f=Math.max(i,c),u=f>0?i>c?yr:io:null,d=u?u===yr?o.length:l.length:0);const p=u===yr&&/\b(?:transform|all)(?:,|$)/.test(r(`${yr}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:p}}function Pd(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Rd(n)+Rd(e[r])))}function Rd(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Od(e){return(e?e.ownerDocument:document).body.offsetHeight}function Zb(e,t,n){const r=e[Uo];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const va=Symbol("_vod"),G0=Symbol("_vsh"),Id={name:"show",beforeMount(e,{value:t},{transition:n}){e[va]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):ao(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),ao(e,!0),r.enter(e)):r.leave(e,()=>{ao(e,!1)}):ao(e,t))},beforeUnmount(e,{value:t}){ao(e,t)}};function ao(e,t){e.style.display=t?e[va]:"none",e[G0]=!t}const Qb=Symbol(""),e3=/(?:^|;)\s*display\s*:/;function t3(e,t,n){const r=e.style,s=Ke(n);let o=!1;if(n&&!s){if(t)if(Ke(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&wo(r,a,"")}else for(const i in t)n[i]==null&&wo(r,i,"");for(const i in n){i==="display"&&(o=!0);const a=n[i];a!=null?r3(e,i,!Ke(t)&&t?t[i]:void 0,a)||wo(r,i,a):wo(r,i,"")}}else if(s){if(t!==n){const i=r[Qb];i&&(n+=";"+i),r.cssText=n,o=e3.test(n)}}else t&&e.removeAttribute("style");va in e&&(e[va]=o?r.display:"",e[G0]&&(r.display="none"))}const Md=/\s*!important$/;function wo(e,t,n){if(pe(n))n.forEach(r=>wo(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=n3(e,t);Md.test(n)?e.setProperty(Mr(r),n.replace(Md,""),"important"):e[r]=n}}const Ld=["Webkit","Moz","ms"],Gl={};function n3(e,t){const n=Gl[t];if(n)return n;let r=_t(t);if(r!=="filter"&&r in e)return Gl[t]=r;r=Qa(r);for(let s=0;s<Ld.length;s++){const o=Ld[s]+r;if(o in e)return Gl[t]=o}return t}function r3(e,t,n,r){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&Ke(r)&&n===r}const $d="http://www.w3.org/1999/xlink";function Nd(e,t,n,r,s,o=Q2(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS($d,t.slice(6,t.length)):e.setAttributeNS($d,t,n):n==null||o&&!wg(n)?e.removeAttribute(t):e.setAttribute(t,o?"":Qt(n)?String(n):n)}function Dd(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?H0(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const a=o==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=wg(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(s||t)}function s3(e,t,n,r){e.addEventListener(t,n,r)}function o3(e,t,n,r){e.removeEventListener(t,n,r)}const Bd=Symbol("_vei");function i3(e,t,n,r,s=null){const o=e[Bd]||(e[Bd]={}),i=o[t];if(r&&i)i.value=r;else{const[a,l]=c3(t);if(r){const c=o[t]=d3(r,s);s3(e,a,c,l)}else i&&(o3(e,a,i,l),o[t]=void 0)}}const a3=/(Once|Passive|Capture)$/,l3=/^on:?(?:Once|Passive|Capture)$/;function c3(e){let t,n;for(;(n=e.match(a3))&&!l3.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):Mr(e.slice(2)),t]}let Wl=0;const u3=Promise.resolve(),f3=()=>Wl||(u3.then(()=>Wl=0),Wl=Date.now());function d3(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;const s=n.value;if(pe(s)){const o=r.stopImmediatePropagation;r.stopImmediatePropagation=()=>{o.call(r),r._stopped=!0};const i=s.slice(),a=[r];for(let l=0;l<i.length&&!r._stopped;l++){const c=i[l];c&&fn(c,t,5,a)}}else fn(s,t,5,[r])};return n.value=e,n.attached=f3(),n}const Fd=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,p3=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?Zb(e,r,i):t==="style"?t3(e,n,r):si(t)?Ya(t)||i3(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):h3(e,t,r,i))?(Dd(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Nd(e,t,r,i,o,t!=="value")):e._isVueCE&&(g3(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Ke(r)))?Dd(e,_t(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Nd(e,t,r,i))};function h3(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Fd(t)&&ye(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Fd(t)&&Ke(n)?!1:t in e}function g3(e,t){const n=e._def.props;if(!n)return!1;const r=_t(t);return Array.isArray(n)?n.some(s=>_t(s)===r):Object.keys(n).some(s=>_t(s)===r)}const m3=["ctrl","shift","alt","meta"],y3={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>m3.some(n=>e[`${n}Key`]&&!t.includes(n))},Ms=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((s,...o)=>{for(let i=0;i<t.length;i++){const a=y3[t[i]];if(a&&a(s,t))return}return e(s,...o)}))},W0=dt({patchProp:p3},Vb);let Ro,jd=!1;function v3(){return Ro||(Ro=Sb(W0))}function b3(){return Ro=jd?Ro:Eb(W0),jd=!0,Ro}const w3=((...e)=>{const t=v3().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=X0(r);if(!s)return;const o=t._component;!ye(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,K0(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t}),_3=((...e)=>{const t=b3().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=X0(r);if(s)return n(s,!0,K0(s))},t});function K0(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function X0(e){return Ke(e)?document.querySelector(e):e}const x3=/"(?:_|\\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*:/,C3=/"(?: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*:/,k3=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function S3(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){E3(e);return}return t}function E3(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function A3(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!k3.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(x3.test(e)||C3.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,S3)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const Y0=/#/g,J0=/&/g,T3=/\//g,P3=/=/g,R3=/\?/g,fl=/\+/g,O3=/%5e/gi,I3=/%60/gi,M3=/%7c/gi,L3=/%20/gi,$3=/%2f/gi,N3=/%252f/gi;function Z0(e){return encodeURI(""+e).replace(M3,"|")}function zc(e){return Z0(typeof e=="string"?e:JSON.stringify(e)).replace(fl,"%2B").replace(L3,"+").replace(Y0,"%23").replace(J0,"%26").replace(I3,"`").replace(O3,"^").replace(T3,"%2F")}function Kl(e){return zc(e).replace(P3,"%3D")}function D3(e){return Z0(e).replace(Y0,"%23").replace(R3,"%3F").replace(N3,"%2F").replace(J0,"%26").replace(fl,"%2B")}function Vo(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function B3(e){return Vo(e.replace($3,"%252F"))}function F3(e){return Vo(e.replace(fl," "))}function j3(e){return Vo(e.replace(fl," "))}function ff(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=F3(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=j3(r[2]||"");t[s]===void 0?t[s]=o:Array.isArray(t[s])?t[s].push(o):t[s]=[t[s],o]}return t}function z3(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Kl(e)}=${zc(n)}`).join("&"):`${Kl(e)}=${zc(t)}`:Kl(e)}function q3(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>z3(t,e[t])).filter(Boolean).join("&")}const H3=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,U3=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,V3=/^([/\\]\s*){2,}[^/\\]/,G3=/^[\s\0]*(blob|data|javascript|vbscript):$/i,W3=/\/$|\/\?|\/#/,K3=/^\.?\//;function X3(e){return["./","../"].some(t=>e.startsWith(t))}function xn(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?H3.test(e):U3.test(e)||(t.acceptRelative?V3.test(e):!1)}function ba(e){return!!e&&G3.test(e)}function qc(e="",t){return t?W3.test(e):e.endsWith("/")}function Go(e="",t){if(!t)return(qc(e)?e.slice(0,-1):e)||"/";if(!qc(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");s!==-1&&(n=e.slice(0,s),r=e.slice(s));const[o,...i]=n.split("?");return((o.endsWith("/")?o.slice(0,-1):o)||"/")+(i.length>0?`?${i.join("?")}`:"")+r}function Q0(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(qc(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");if(s!==-1&&(n=e.slice(0,s),r=e.slice(s),!n))return r;const[o,...i]=n.split("?");return o+"/"+(i.length>0?`?${i.join("?")}`:"")+r}function e1(e,t){if(t1(t)||xn(e))return e;const n=Go(t);if(e.startsWith(n)){const r=e[n.length];if(!r||r==="/"||r==="?")return e}return Wo(n,e)}function zd(e,t){if(t1(t))return e;const n=Go(t);if(!e.startsWith(n))return e;const r=e[n.length];return r&&r!=="/"&&r!=="?"?e:"/"+e.slice(n.length).replace(/^\/+/,"")}function Kr(e,t){const n=df(e),r={...ff(n.search),...t};return n.search=q3(r),J3(n)}function t1(e){return!e||e==="/"}function Y3(e){return e&&e!=="/"}function Wo(e,...t){let n=e||"";for(const r of t.filter(s=>Y3(s)))if(n){const s=r.replace(K3,"");n=Q0(n)+s}else n=r;return n}function n1(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let s=0;for(const i of n)if(!(!i||i==="/")){for(const[a,l]of i.split(t).entries())if(!(!l||l===".")){if(l===".."){if(r.length===1&&xn(r[0]))continue;r.pop(),s--;continue}if(a===1&&r[r.length-1]?.endsWith(":/")){r[r.length-1]+="/"+l;continue}r.push(l),s++}}let o=r.join("/");return s>=0?n[0]?.startsWith("/")&&!o.startsWith("/")?o="/"+o:n[0]?.startsWith("./")&&!o.startsWith("./")&&(o="./"+o):o="../".repeat(-1*s)+o,n[n.length-1]?.endsWith("/")&&!o.endsWith("/")&&(o+="/"),o}function r1(e,t){return Vo(Go(e))===Vo(Go(t))}const s1=Symbol.for("ufo:protocolRelative");function df(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!xn(e,{acceptRelative:!0}))return qd(e);const[,r="",s,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",a=""]=o.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:c,hash:u}=qd(a);return{protocol:r.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:l,search:c,hash:u,[s1]:!r}}function qd(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function J3(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",s=e.auth?e.auth+"@":"",o=e.host||"";return(e.protocol||e[s1]?(e.protocol||"")+"//":"")+s+o+t+n+r}class Z3 extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function Q3(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",r=e.request?.url||String(e.request)||"/",s=`[${n}] ${JSON.stringify(r)}`,o=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${s}: ${o}${t?` ${t}`:""}`,a=new Z3(i,e.error?{cause:e.error}:void 0);for(const l of["request","options","response"])Object.defineProperty(a,l,{get(){return e[l]}});for(const[l,c]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,l,{get(){return e.response&&e.response[c]}});return a}const e5=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Hd(e="GET"){return e5.has(e.toUpperCase())}function t5(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const n5=new Set(["image/svg","application/xml","application/xhtml","application/html"]),r5=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function s5(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return r5.test(t)?"json":t==="text/event-stream"?"stream":n5.has(t)||t.startsWith("text/")?"text":"blob"}function o5(e,t,n,r){const s=i5(t?.headers??e?.headers,n?.headers,r);let o;return(n?.query||n?.params||t?.params||t?.query)&&(o={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:o,params:o,headers:s}}function i5(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[s,o]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(s,o);return r}async function Ei(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const a5=new Set([408,409,425,429,500,502,503,504]),l5=new Set([101,204,205,304]);function o1(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function s(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let u;typeof a.options.retry=="number"?u=a.options.retry:u=Hd(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):a5.has(f))){const d=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return d>0&&await new Promise(p=>setTimeout(p,d)),o(a.request,{...a.options,retry:u-1})}}const c=Q3(a);throw Error.captureStackTrace&&Error.captureStackTrace(c,o),c}const o=async function(l,c={}){const u={request:l,options:o5(l,c,e.defaults,n),response:void 0,error:void 0};if(u.options.method&&(u.options.method=u.options.method.toUpperCase()),u.options.onRequest&&(await Ei(u,u.options.onRequest),u.options.headers instanceof n||(u.options.headers=new n(u.options.headers||{}))),typeof u.request=="string"&&(u.options.baseURL&&(u.request=e1(u.request,u.options.baseURL)),u.options.query&&(u.request=Kr(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&&Hd(u.options.method))if(t5(u.options.body)){const p=u.options.headers.get("content-type");typeof u.options.body!="string"&&(u.options.body=p==="application/x-www-form-urlencoded"?new URLSearchParams(u.options.body).toString():JSON.stringify(u.options.body)),p||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")}else("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half"));let f;if(!u.options.signal&&u.options.timeout){const p=new r;f=setTimeout(()=>{const h=new Error("[TimeoutError]: The operation was aborted due to timeout");h.name="TimeoutError",h.code=23,p.abort(h)},u.options.timeout),u.options.signal=p.signal}try{u.response=await t(u.request,u.options)}catch(p){return u.error=p,u.options.onRequestError&&await Ei(u,u.options.onRequestError),await s(u)}finally{f&&clearTimeout(f)}if((u.response.body||u.response._bodyInit)&&!l5.has(u.response.status)&&u.options.method!=="HEAD"){const p=(u.options.parseResponse?"json":u.options.responseType)||s5(u.response.headers.get("content-type")||"");switch(p){case"json":{const h=await u.response.text(),m=u.options.parseResponse||A3;u.response._data=m(h);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 Ei(u,u.options.onResponse),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await Ei(u,u.options.onResponseError),await s(u)):u.response},i=async function(l,c){return(await o(l,c))._data};return i.raw=o,i.native=(...a)=>t(...a),i.create=(a={},l={})=>o1({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),i}const wa=(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")})(),c5=wa.fetch?(...e)=>wa.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),u5=wa.Headers,f5=wa.AbortController,i1=o1({fetch:c5,Headers:u5,AbortController:f5}),d5=i1,p5=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config,h5={lang:void 0,message:void 0,abortEarly:void 0,abortPipeEarly:void 0};function g5(e){return h5}let m5;function y5(e){return m5?.get(e)}let v5;function b5(e){return v5?.get(e)}let w5;function _5(e,t){return w5?.get(e)?.get(t)}function js(e){const t=typeof e;return t==="string"?`"${e}"`:t==="number"||t==="bigint"||t==="boolean"?`${e}`:t==="object"||t==="function"?(e&&Object.getPrototypeOf(e)?.constructor?.name)??"null":t}function Bt(e,t,n,r,s){const o=s&&"input"in s?s.input:n.value,i=s?.expected??e.expects??null,a=s?.received??js(o),l={kind:e.kind,type:e.type,input:o,expected:i,received:a,message:`Invalid ${t}: ${i?`Expected ${i} but r`:"R"}eceived ${a}`,requirement:e.requirement,path:s?.path,issues:s?.issues,lang:r.lang,abortEarly:r.abortEarly,abortPipeEarly:r.abortPipeEarly},c=e.kind==="schema",u=s?.message??e.message??_5(e.reference,l.lang)??(c?b5(l.lang):null)??r.message??y5(l.lang);u!==void 0&&(l.message=typeof u=="function"?u(l):u),c&&(n.typed=!1),n.issues?n.issues.push(l):n.issues=[l]}const Ud=new WeakMap;function tn(e){let t=Ud.get(e);return t||(t={version:1,vendor:"valibot",validate(n){return e["~run"]({value:n},g5())}},Ud.set(e,t)),t}function x5(e,t){return Object.prototype.hasOwnProperty.call(e,t)&&t!=="__proto__"&&t!=="prototype"&&t!=="constructor"}function C5(e,t){const n=[...new Set(e)];return n.length>1?`(${n.join(` ${t} `)})`:n[0]??"never"}function a1(e,t){return{kind:"validation",type:"max_value",reference:a1,async:!1,expects:`<=${e instanceof Date?e.toJSON():js(e)}`,requirement:e,message:t,"~run"(n,r){return n.typed&&!(n.value<=this.requirement)&&Bt(this,"value",n,r,{received:n.value instanceof Date?n.value.toJSON():js(n.value)}),n}}}function lr(e,t){return{kind:"validation",type:"min_length",reference:lr,async:!1,expects:`>=${e}`,requirement:e,message:t,"~run"(n,r){return n.typed&&n.value.length<this.requirement&&Bt(this,"length",n,r,{received:`${n.value.length}`}),n}}}function l1(e,t){return{kind:"validation",type:"min_value",reference:l1,async:!1,expects:`>=${e instanceof Date?e.toJSON():js(e)}`,requirement:e,message:t,"~run"(n,r){return n.typed&&!(n.value>=this.requirement)&&Bt(this,"value",n,r,{received:n.value instanceof Date?n.value.toJSON():js(n.value)}),n}}}function k5(e,t,n){return typeof e.fallback=="function"?e.fallback(t,n):e.fallback}function c1(e,t,n){return typeof e.default=="function"?e.default(t,n):e.default}function u1(){return{kind:"schema",type:"any",reference:u1,expects:"any",async:!1,get"~standard"(){return tn(this)},"~run"(e){return e.typed=!0,e}}}function Un(e,t){return{kind:"schema",type:"array",reference:Un,expects:"Array",async:!1,item:e,message:t,get"~standard"(){return tn(this)},"~run"(n,r){const s=n.value;if(Array.isArray(s)){n.typed=!0,n.value=[];for(let o=0;o<s.length;o++){const i=s[o],a=this.item["~run"]({value:i},r);if(a.issues){const l={type:"array",origin:"value",input:s,key:o,value:i};for(const c of a.issues)c.path?c.path.unshift(l):c.path=[l],n.issues?.push(c);if(n.issues||(n.issues=a.issues),r.abortEarly){n.typed=!1;break}}a.typed||(n.typed=!1),n.value.push(a.value)}}else Bt(this,"type",n,r);return n}}}function oe(e){return{kind:"schema",type:"boolean",reference:oe,expects:"boolean",async:!1,message:e,get"~standard"(){return tn(this)},"~run"(t,n){return typeof t.value=="boolean"?t.typed=!0:Bt(this,"type",t,n),t}}}function f1(e,t){return{kind:"schema",type:"custom",reference:f1,expects:"unknown",async:!1,check:e,message:t,get"~standard"(){return tn(this)},"~run"(n,r){return this.check(n.value)?n.typed=!0:Bt(this,"type",n,r),n}}}function d1(e){return{kind:"schema",type:"function",reference:d1,expects:"Function",async:!1,message:e,get"~standard"(){return tn(this)},"~run"(t,n){return typeof t.value=="function"?t.typed=!0:Bt(this,"type",t,n),t}}}function he(e,t){return{kind:"schema",type:"literal",reference:he,expects:js(e),async:!1,literal:e,message:t,get"~standard"(){return tn(this)},"~run"(n,r){return n.value===this.literal?n.typed=!0:Bt(this,"type",n,r),n}}}function tt(e){return{kind:"schema",type:"number",reference:tt,expects:"number",async:!1,message:e,get"~standard"(){return tn(this)},"~run"(t,n){return typeof t.value=="number"&&!isNaN(t.value)?t.typed=!0:Bt(this,"type",t,n),t}}}function we(e,t){return{kind:"schema",type:"object",reference:we,expects:"Object",async:!1,entries:e,message:t,get"~standard"(){return tn(this)},"~run"(n,r){const s=n.value;if(s&&typeof s=="object"){n.typed=!0,n.value={};for(const o in this.entries){const i=this.entries[o];if(o in s||(i.type==="exact_optional"||i.type==="optional"||i.type==="nullish")&&i.default!==void 0){const a=o in s?s[o]:c1(i),l=i["~run"]({value:a},r);if(l.issues){const c={type:"object",origin:"value",input:s,key:o,value:a};for(const u of l.issues)u.path?u.path.unshift(c):u.path=[c],n.issues?.push(u);if(n.issues||(n.issues=l.issues),r.abortEarly){n.typed=!1;break}}l.typed||(n.typed=!1),n.value[o]=l.value}else if(i.fallback!==void 0)n.value[o]=k5(i);else if(i.type!=="exact_optional"&&i.type!=="optional"&&i.type!=="nullish"&&(Bt(this,"key",n,r,{input:void 0,expected:`"${o}"`,path:[{type:"object",origin:"key",input:s,key:o,value:s[o]}]}),r.abortEarly))break}}else Bt(this,"type",n,r);return n}}}function A(e,t){return{kind:"schema",type:"optional",reference:A,expects:`(${e.expects} | undefined)`,async:!1,wrapped:e,default:t,get"~standard"(){return tn(this)},"~run"(n,r){return n.value===void 0&&(this.default!==void 0&&(n.value=c1(this,n,r)),n.value===void 0)?(n.typed=!0,n):this.wrapped["~run"](n,r)}}}function dl(e,t,n){return{kind:"schema",type:"record",reference:dl,expects:"Object",async:!1,key:e,value:t,message:n,get"~standard"(){return tn(this)},"~run"(r,s){const o=r.value;if(o&&typeof o=="object"){r.typed=!0,r.value={};for(const i in o)if(x5(o,i)){const a=o[i],l=this.key["~run"]({value:i},s);if(l.issues){const u={type:"object",origin:"key",input:o,key:i,value:a};for(const f of l.issues)f.path=[u],r.issues?.push(f);if(r.issues||(r.issues=l.issues),s.abortEarly){r.typed=!1;break}}const c=this.value["~run"]({value:a},s);if(c.issues){const u={type:"object",origin:"value",input:o,key:i,value:a};for(const f of c.issues)f.path?f.path.unshift(u):f.path=[u],r.issues?.push(f);if(r.issues||(r.issues=c.issues),s.abortEarly){r.typed=!1;break}}(!l.typed||!c.typed)&&(r.typed=!1),l.typed&&(r.value[l.value]=c.value)}}else Bt(this,"type",r,s);return r}}}function B(e){return{kind:"schema",type:"string",reference:B,expects:"string",async:!1,message:e,get"~standard"(){return tn(this)},"~run"(t,n){return typeof t.value=="string"?t.typed=!0:Bt(this,"type",t,n),t}}}function Vd(e){let t;if(e)for(const n of e)if(t)for(const r of n.issues)t.push(r);else t=n.issues;return t}function $e(e,t){return{kind:"schema",type:"union",reference:$e,expects:C5(e.map(n=>n.expects),"|"),async:!1,options:e,message:t,get"~standard"(){return tn(this)},"~run"(n,r){let s,o,i;for(const a of this.options){const l=a["~run"]({value:n.value},r);if(l.typed)if(l.issues)o?o.push(l):o=[l];else{s=l;break}else i?i.push(l):i=[l]}if(s)return s;if(o){if(o.length===1)return o[0];Bt(this,"type",n,r,{issues:Vd(o)}),n.typed=!0}else{if(i?.length===1)return i[0];Bt(this,"type",n,r,{issues:Vd(i)})}return n}}}function cr(...e){return{...e[0],pipe:e,get"~standard"(){return tn(this)},"~run"(t,n){for(const r of e)if(r.kind!=="metadata"){if(t.issues&&(r.kind==="schema"||r.kind==="transformation")){t.typed=!1;break}(!t.issues||!n.abortEarly&&!n.abortPipeEarly)&&(t=r["~run"](t,n))}return t}}}const _r=$e([he("granted"),he("denied")]),_a=we({ad_storage:A(_r),ad_user_data:A(_r),ad_personalization:A(_r),analytics_storage:A(_r),functionality_storage:A(_r),personalization_storage:A(_r),security_storage:A(_r),wait_for_update:A(tt()),region:A(Un(B()))}),S5=we({key:cr(B(),lr(1))}),E5=we({postUrl:B(),apiEndpoint:A(B()),imageProxyEndpoint:A(B())}),A5=we({id:cr(B(),lr(10)),defaultConsent:A($e([oe(),dl(B(),B())]))}),T5=we({token:cr(B(),lr(32)),spa:A(oe())}),P5=we({id:B(),runtimeConfig:A(we({locale:A(B())})),tokenId:A(B()),cookieDomain:A(B()),cookieExpiry:A(tt())}),R5=we({clientId:B(),scriptUrl:A(B()),apiUrl:A(B()),disabled:A(oe()),trackScreenViews:A(oe()),trackPerformance:A(oe()),trackSessions:A(oe()),trackWebVitals:A(oe()),trackErrors:A(oe()),trackOutgoingLinks:A(oe()),trackScrollDepth:A(oe()),trackEngagement:A(oe()),trackInteractions:A(oe()),trackAttributes:A(oe()),trackHashChanges:A(oe()),trackExitIntent:A(oe()),trackBounceRate:A(oe()),enableBatching:A(oe()),batchSize:A(tt()),batchTimeout:A(tt()),enableRetries:A(oe()),maxRetries:A(tt()),initialRetryDelay:A(tt()),samplingRate:A(tt()),sdk:A(B()),sdkVersion:A(B()),enableObservability:A(oe()),observabilityService:A(B()),observabilityEnvironment:A(B()),observabilityVersion:A(B()),enableLogging:A(oe()),enableTracing:A(oe()),enableErrorTracking:A(oe())}),O5=we({site:B(),spa:A($e([he("auto"),he("history"),he("hash")])),auto:A(oe()),canonical:A(oe()),honorDnt:A(oe())}),I5=we({client:A(B()),autoAds:A(oe())}),M5=we({id:A(B()),l:A(B()),defaultConsent:A($e([_a,Un(_a)]))}),L5=we({apiKey:B(),libraries:A(Un(B())),language:A(B()),region:A(B()),v:A($e([he("weekly"),he("quarterly"),he("beta"),he("alpha"),B()]))}),$5=we({siteKey:B(),enterprise:A(oe()),recaptchaNet:A(oe()),hl:A(B())}),N5=we({clientId:B(),autoSelect:A(oe()),context:A($e([he("signin"),he("signup"),he("use")])),useFedcmForPrompt:A(oe()),cancelOnTapOutside:A(oe()),uxMode:A($e([he("popup"),he("redirect")])),loginUri:A(B()),itpSupport:A(oe()),allowedParentOrigin:A($e([B(),Un(B())])),hd:A(B())}),D5=we({id:B(),l:A(B()),auth:A(B()),preview:A(B()),cookiesWin:A($e([oe(),he("x")])),debug:A($e([oe(),he("x")])),npa:A($e([oe(),he("1")])),dataLayer:A(B()),envName:A(B()),authReferrerPolicy:A(B()),defaultConsent:A($e([_a,Un(_a)]))}),B5=we({id:tt(),sv:A(tt())}),F5=we({postUrl:B(),captions:A(oe()),apiEndpoint:A(B())}),j5=we({app_id:B(),api_base:A($e([he("https://api-iam.intercom.io"),he("https://api-iam.eu.intercom.io"),he("https://api-iam.au.intercom.io")])),name:A(B()),email:A(B()),user_id:A(B()),alignment:A($e([he("left"),he("right")])),horizontal_padding:A(tt()),vertical_padding:A(tt())}),z5=we({matomoUrl:A(B()),siteId:A($e([B(),tt()])),cloudId:A(B()),trackerUrl:A(B()),trackPageView:A(oe()),enableLinkTracking:A(oe()),disableCookies:A(oe()),watch:A(oe()),defaultConsent:A($e([he("required"),he("given"),he("not-required")]))}),q5=we({id:$e([B(),tt()]),defaultConsent:A($e([he("granted"),he("denied")]))}),H5=we({packageName:B(),file:A(B()),version:A(B()),provider:A($e([he("jsdelivr"),he("cdnjs"),he("unpkg")]))}),U5=we({apiKey:B(),region:A($e([he("us"),he("eu")])),apiHost:A(B()),autocapture:A(oe()),capturePageview:A($e([oe(),he("history_change")])),capturePageleave:A(oe()),disableSessionRecording:A(oe()),config:A(dl(B(),u1())),defaultConsent:A($e([he("opt-in"),he("opt-out")]))}),V5=we({id:B()}),G5=we({siteId:$e([B(),tt()]),autoTrackPageview:A(oe()),trackSpa:A(oe()),trackQuery:A(oe()),trackOutbound:A(oe()),trackErrors:A(oe()),sessionReplay:A(oe()),webVitals:A(oe()),skipPatterns:A(Un(B())),maskPatterns:A(Un(B())),debounce:A(tt()),apiKey:A(B()),analyticsHost:A(B())}),W5=we({token:B(),defaultConsent:A($e([he("opt-in"),he("opt-out")]))}),K5=we({id:B(),enableAutoSpaTracking:A(oe()),defaultConsent:A(we({ad_storage:A(_r)}))}),X5=we({id:$e([cr(B(),lr(1)),cr(Un(cr(B(),lr(1))),lr(1))]),eventId:A(B()),enableAutoSpaTracking:A(oe())}),Y5=we({rulesetId:cr(B(),lr(1)),autoblocker:A(oe()),language:A(B())}),J5=we({url:A(B()),prefill:A(we({name:A(B()),email:A(B()),firstName:A(B()),lastName:A(B()),customAnswers:A(dl(B(),B()))})),utm:A(we({utmCampaign:A(B()),utmSource:A(B()),utmMedium:A(B()),utmContent:A(B()),utmTerm:A(B())})),pageSettings:A(we({backgroundColor:A(B()),hideEventTypeDetails:A(oe()),hideLandingPageDetails:A(oe()),primaryColor:A(B()),textColor:A(B())})),parentElement:A(B())}),Z5=we({writeKey:B(),analyticsKey:A(B())}),Q5=we({user_email:A(B()),ip_address:A(B()),user_phone_number:A(B()),user_hashed_email:A(B()),user_hashed_phone_number:A(B()),firstname:A(B()),lastname:A(B()),geo_city:A(B()),geo_region:A(B()),geo_postal_code:A(B()),geo_country:A(B()),age:A(B())}),e4=we({id:cr(B(),lr(1)),spaMode:A(oe()),autoTrackSpaNavigations:A(oe()),label:A($e([B(),d1(),he(!1)])),samplerate:A(cr(tt(),l1(0),a1(100))),sendBeaconOnPageHidden:A(oe()),trackErrors:A(oe()),maxErrors:A(tt()),minMeasureTime:A(tt()),maxMeasureTime:A(tt()),newBeaconOnPageShow:A(oe()),trackHiddenPages:A(oe()),cookieDomain:A(B())}),t4=we({id:B(),trackPageView:A(oe()),...Q5?.entries||{}}),n4=we({advancedFraudSignals:A(oe()),version:A($e([he("v3"),he("acacia"),he("basil"),he("clover"),he("dahlia"),B()]))}),r4=we({id:B(),trackPageView:A(oe()),defaultConsent:A($e([he("granted"),he("denied"),he("hold")])),region:A($e([he("global"),he("us")]))}),s4=we({websiteId:B(),hostUrl:A(B()),autoTrack:A(oe()),domains:A(Un(B())),tag:A(B()),beforeSend:A($e([f1(e=>typeof e=="function"),B()]))}),o4=we({tweetId:B(),apiEndpoint:A(B()),imageProxyEndpoint:A(B())}),i4=we({dsn:A(B()),disableAutoTrack:A(oe()),mode:A($e([he("auto"),he("development"),he("production")])),debug:A(oe()),endpoint:A(B())}),a4=we({id:B(),version:A(B())}),l4=we({cacheMaxAge:A(tt()),default:A(B()),size:A(tt()),rating:A(B())}),c4={ahrefsAnalytics:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="#FF6A00" d="M9.6 4h4.8a4.8 4.8 0 0 1 4.8 4.8v4.8H9.6A4.8 4.8 0 0 1 4.8 8.8 4.8 4.8 0 0 1 9.6 4Zm14.4 24h-4.8a4.8 4.8 0 0 1-4.8-4.8v-9.6h4.8A4.8 4.8 0 0 1 24 18.4Z"/></svg>',plausibleAnalytics:'<svg height="32" id="Layer_2" viewBox="0 0 46 60" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><linearGradient id="New_Gradient_Swatch_1" x1="14.841" y1="22.544" x2="27.473" y2="44.649" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#909cf7"/><stop offset="1" stop-color="#4b38d8"/></linearGradient><linearGradient id="New_Gradient_Swatch_1-2" x1="7.984" y1="-1.358" x2="21.001" y2="21.422" xlink:href="#New_Gradient_Swatch_1"/><style>.cls-3{stroke-width:0;fill:#1f2961}</style></defs><g id="Plausible_-_Branding"><g id="Gradient_Logo_-_Purple_Gradient_on_White"><g id="Symbol_-_Purple_Gradient"><path d="M45.246 22.603C44.155 33.059 35.013 40.83 24.5 40.83h-4.047v9.57a9.6 9.6 0 0 1-9.6 9.6H3.36A3.36 3.36 0 0 1 0 56.64V36.938l5.038-7.07a3.362 3.362 0 0 1 4.037-1.149l2.866 1.2a3.353 3.353 0 0 0 4.025-1.145l6.717-9.417a3.34 3.34 0 0 1 4.014-1.14l5.52 2.32a3.347 3.347 0 0 0 4.022-1.142l6.46-9.063c2.025 3.56 3.014 7.789 2.547 12.27Z" style="stroke-width:0;fill:url(#New_Gradient_Swatch_1)"/><path d="M3.292 28.873c.823-1.155 2.021-2.044 3.414-2.312a5.41 5.41 0 0 1 3.147.316l2.865 1.2a1.357 1.357 0 0 0 1.62-.464l6.594-9.245c.823-1.154 2.02-2.041 3.412-2.309a5.368 5.368 0 0 1 3.128.314l5.52 2.32a1.35 1.35 0 0 0 1.619-.46l6.919-9.707C37.827 3.364 31.78 0 24.945 0H3.36A3.36 3.36 0 0 0 0 3.36v30.132l3.292-4.62Z" style="fill:url(#New_Gradient_Swatch_1-2);stroke-width:0"/></g></g></g></svg>',cloudflareWebAnalytics:'<svg xmlns="http://www.w3.org/2000/svg" width="70.02" height="32" viewBox="0 0 256 117"><path fill="#FBAD41" d="M205.52 50.813c-.858 0-1.705.03-2.551.058c-.137.007-.272.04-.398.094a1.424 1.424 0 0 0-.92.994l-3.628 12.672c-1.565 5.449-.983 10.48 1.646 14.174c2.41 3.416 6.42 5.421 11.289 5.655l19.679 1.194c.585.03 1.092.312 1.4.776a1.92 1.92 0 0 1 .2 1.692a2.496 2.496 0 0 1-2.134 1.662l-20.448 1.193c-11.11.515-23.062 9.58-27.255 20.633l-1.474 3.9a1.092 1.092 0 0 0 .967 1.49h70.425a1.872 1.872 0 0 0 1.81-1.365A51.172 51.172 0 0 0 256 101.828c0-28.16-22.582-50.984-50.449-50.984"/><path fill="#F6821F" d="m174.782 115.362l1.303-4.583c1.568-5.449.987-10.48-1.639-14.173c-2.418-3.417-6.424-5.422-11.296-5.656l-92.312-1.193a1.822 1.822 0 0 1-1.459-.776a1.919 1.919 0 0 1-.203-1.693a2.496 2.496 0 0 1 2.154-1.662l93.173-1.193c11.063-.511 23.015-9.58 27.208-20.633l5.313-14.04c.214-.596.27-1.238.156-1.86C191.126 20.51 166.91 0 137.96 0C111.269 0 88.626 17.403 80.5 41.596a26.996 26.996 0 0 0-19.156-5.359C48.549 37.524 38.25 47.946 36.979 60.88a27.905 27.905 0 0 0 .702 9.642C16.773 71.145 0 88.454 0 109.726c0 1.923.137 3.818.413 5.667c.115.897.879 1.57 1.783 1.568h170.48a2.223 2.223 0 0 0 2.106-1.63"/></svg>',vercelAnalytics:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 512 512"><path d="M256 48L496 464H16z" fill="currentColor"/></svg>',posthog:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 128 128"><path fill="#1d4aff" d="M0 .52v32.15l31.79 31.78V32.3L0 .52zm32.3 32.15v32.15l31.78 31.78V64.45L32.3 32.67zM0 64.97v32.15l31.79 31.78V96.75L0 64.97zm64.6-32.3v32.15l31.78 31.78V64.45L64.6 32.67zm31.78 31.78v32.15l31.78 31.78V96.23l-31.78-31.78zm-64.08.52v32.15l31.78 31.78V96.75L32.3 64.97zM64.6 .52v32.15l31.78 31.78V32.3L64.6 .52zm0 64.45v32.15l31.78 31.78V96.75L64.6 64.97z"/></svg>',fathomAnalytics:'<svg width="32" height="32" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><circle cx="512" cy="512" r="512" style="fill:#9187ff"/><path d="M558.62 256c-36.31.16-78.78 10-129.45 28.4-170.71 62.15-206.9 139.74-144.79 310.45s139.73 206.89 310.45 144.76S801.74 599.88 739.6 429.16c-43.69-120-95-173.55-181-173.17zm59.1 140.16h26.73a5.33 5.33 0 0 1 5.16 6.72l-59.26 220.48a5.34 5.34 0 0 1-5.15 4h-26.75a5.33 5.33 0 0 1-5.16-6.72l3.6-13.4 2.63-9.75 53-197.38a5.33 5.33 0 0 1 5.14-3.94zM421.79 413.4h10.75a5.33 5.33 0 0 1 5.33 5.33v18a5.33 5.33 0 0 1-5.33 5.33h-9.13a36.76 36.76 0 0 0-5.51.24 4.7 4.7 0 0 0-2.56 1 4.19 4.19 0 0 0-1 1.66 18.91 18.91 0 0 0-.92 6.72v13.67h19.16a5.33 5.33 0 0 1 5.33 5.33v18a5.34 5.34 0 0 1-5.33 5.33h-19.21v108.71a5.34 5.34 0 0 1-5.34 5.34H387a5.33 5.33 0 0 1-5.33-5.34V448.48a36.74 36.74 0 0 1 3.6-16.64 29.76 29.76 0 0 1 9.73-11.16c7.9-5.48 17.62-7.27 26.82-7.31zm82.14 50c16.37 0 30.27 4.65 40.17 13.27s15.47 21.21 15.42 35.59v35.91l-16.11 59.92h-10.24a5.33 5.33 0 0 1-5.33-5.34v-4a39.13 39.13 0 0 1-4.76 3.56c-7.14 4.55-16.85 7.51-29.65 7.51a62.65 62.65 0 0 1-28.52-6.18 40.49 40.49 0 0 1-18.84-19.35 46.81 46.81 0 0 1-4-19.54 40.72 40.72 0 0 1 5.23-21.12 36.78 36.78 0 0 1 13.78-13.18c11.09-6.25 24.75-8.45 38.14-10.24 7.3-1 13.14-1.61 17.64-2.2a42 42 0 0 0 9.2-1.88 3.16 3.16 0 0 0 1.39-.86l.24-.48a6.77 6.77 0 0 0 .16-1.84v-.73a17.24 17.24 0 0 0-5.85-13.6c-3.8-3.31-9.77-5.55-18.07-5.57s-14.64 2.26-19 5.59a17.51 17.51 0 0 0-7.21 12.54 5.33 5.33 0 0 1-5.31 4.86h-22.25a5.33 5.33 0 0 1-5.33-5.57 45.64 45.64 0 0 1 17.6-34c10.47-8.34 24.85-13.12 41.49-13.12zm23.92 80.71c-1.92.48-4 1-6.31 1.45-6.47 1.28-14.29 2.41-21.87 3.48a61 61 0 0 0-14.76 3.65c-4.18 1.75-7.1 4-8.68 6.57a12.12 12.12 0 0 0-1.71 6.54v.2a12.93 12.93 0 0 0 1.32 5.87 11.81 11.81 0 0 0 3.76 4.22c3.41 2.45 9.13 4.14 16.85 4.14 11.95 0 19.52-3.5 24.32-8.32s7-11.56 7.08-19.11v-8.65zm0 0" style="fill:#fff"/></svg>',matomoAnalytics:'<svg xmlns="http://www.w3.org/2000/svg" width="56.5" height="32" viewBox="0 0 256 145"><defs><path id="logosMatomoIcon0" d="m105.426 70.887l.035-.021l-.663-1.01c-.1-.153-.2-.313-.303-.46L58.935 0L0 43.91l43.078 66.305c.185.281.36.566.55.847l.229.35l.025-.016c6.676 9.471 17.678 15.673 30.144 15.673c20.373 0 36.889-16.513 36.889-36.89c0-7.083-2.029-13.675-5.489-19.292"/><path id="logosMatomoIcon1" fill="#000" d="M64.549 19.33c0-20.374-16.517-36.89-36.89-36.89S-9.23-1.044-9.23 19.33a36.686 36.686 0 0 0 6.08 20.263c-.003 0-.003 0-.003-.003l-.019.003L-31.179 0h-.04c-6.499-10.524-18.101-17.56-31.376-17.56c-13.275 0-24.877 7.036-31.376 17.56h-.037l-44.61 69.525c6.633-9.8 17.848-16.235 30.57-16.235c13.39 0 25.077 7.158 31.54 17.832h.047l29.15 40.921h.047c6.718 9.1 17.486 15.026 29.663 15.026c12.181 0 22.95-5.927 29.666-15.026h.05l.297-.46a36.949 36.949 0 0 0 2.116-3.312l43.675-68.256v.003A36.747 36.747 0 0 0 64.55 19.33M2.372 46.141c.213.204.435.397.654.594c-.22-.197-.438-.39-.654-.594m3.28 2.745c.243.181.48.369.728.544c-.247-.175-.485-.363-.729-.544m8.096 4.598c.306.128.628.228.94.347c-.312-.12-.634-.22-.94-.347m8.28 2.263c.428.065.853.143 1.287.197c-.434-.054-.856-.132-1.287-.197m9.93.203c.438-.05.869-.135 1.303-.197c-.434.062-.862.147-1.303.197m8.368-2.01c.393-.144.797-.275 1.184-.434c-.387.159-.788.29-1.185.434m8.368-4.326c.313-.216.61-.456.916-.684c-.307.228-.603.465-.916.684m6.258-5.526c.259-.285.528-.563.778-.857c-.25.294-.519.572-.778.857"/><path id="logosMatomoIcon2" fill="#95C748" d="m250.511 88.448l.035-.022l-.663-1.01c-.1-.153-.2-.312-.303-.46L204.02 17.56l-58.935 43.91l43.078 66.305c.185.281.36.566.55.847l.229.35l.025-.016c6.676 9.471 17.678 15.673 30.144 15.673c20.373 0 36.889-16.513 36.889-36.89c0-7.083-2.029-13.675-5.489-19.291"/><filter id="logosMatomoIcon3" width="106.9%" height="109.7%" x="-3.4%" y="-3.5%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"/><feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="2"/><feColorMatrix in="shadowBlurOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0"/></filter></defs><use href="#logosMatomoIcon2"/><path fill="#35BFC0" d="M73.779 107.74c0-20.374-16.516-36.89-36.89-36.89C16.516 70.85 0 87.366 0 107.74c0 20.376 16.516 36.892 36.89 36.892c20.373 0 36.889-16.52 36.889-36.893"/><path fill="#3253A0" d="M172.744 0c20.373 0 36.89 16.516 36.89 36.89a36.747 36.747 0 0 1-6.346 20.688v-.003l-43.675 68.256a36.949 36.949 0 0 1-2.116 3.313l-.297.46h-.05c-6.717 9.098-17.485 15.025-29.666 15.025c-12.177 0-22.945-5.927-29.663-15.026h-.046l-29.15-40.921h-.047C62.114 78.008 50.427 70.85 37.036 70.85c-12.721 0-23.936 6.436-30.569 16.235l44.61-69.525h.037C57.613 7.036 69.215 0 82.49 0c13.275 0 24.877 7.036 31.376 17.56h.04l28.006 39.593l.02-.003c0 .003 0 .003.002.003a36.684 36.684 0 0 1-6.08-20.264C135.855 16.516 152.372 0 172.745 0"/><use href="#logosMatomoIcon2"/><g transform="translate(145.085 17.56)"><mask id="logosMatomoIcon4" fill="#fff"><use href="#logosMatomoIcon0"/></mask><g mask="url(#logosMatomoIcon4)"><use filter="url(#logosMatomoIcon3)" href="#logosMatomoIcon1"/></g></g><path fill="#F38334" d="M209.487 36.89c0-20.374-16.516-36.89-36.89-36.89c-20.373 0-36.89 16.516-36.89 36.89c0 20.373 16.517 36.889 36.89 36.889c20.374 0 36.89-16.516 36.89-36.89"/><path fill="#3152A0" d="M172.597 73.782c-12.887 0-24.214-6.617-30.81-16.629h-.021L113.759 17.56h-.04C107.22 7.04 95.618.003 82.343.003C69.068.003 57.466 7.04 50.967 17.56h-.037L6.323 87.085c6.63-9.796 17.848-16.232 30.566-16.232c13.39 0 25.08 7.155 31.545 17.829h.047l29.15 40.921h.044c6.72 9.096 17.488 15.029 29.665 15.029c12.178 0 22.946-5.93 29.663-15.029h.05l.297-.462a37.588 37.588 0 0 0 2.12-3.307l43.672-68.256c-6.636 9.774-17.839 16.204-30.545 16.204"/></svg>',rybbitAnalytics:{light:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 263.33 173.53" width="37.24" height="32"><g><polygon fill="#0a3a3a" points="181.28 171.2 227.21 123.96 261.15 171.2 181.28 171.2"/><path fill="#0a3a3a" d="M261.15,89.05L206.64,2.33l-33.22,17.75-34.61-7.4c2.88,5.56,4.56,12.11,4.56,19.15,0,20.03-13.46,36.26-30.06,36.26-13.66,0-25.17-11-28.83-26.06l-39.92,71.46L2.18,94.19l22.66,77.01h55.81l22.28-54.01v54.01h64.66l-49.95-82.15h143.51Z"/></g><ellipse fill="#0a3a3a" cx="105.94" cy="28.62" rx="12.9" ry="18.88"/></svg>',dark:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 263.33 173.53" width="37.24" height="32"><g><polygon fill="#2fd381" points="181.28 171.2 227.21 123.96 261.15 171.2 181.28 171.2"/><path fill="#2fd381" d="M261.15,89.05L206.64,2.33l-33.22,17.75-34.61-7.4c2.88,5.56,4.56,12.11,4.56,19.15,0,20.03-13.46,36.26-30.06,36.26-13.66,0-25.17-11-28.83-26.06l-39.92,71.46L2.18,94.19l22.66,77.01h55.81l22.28-54.01v54.01h64.66l-49.95-82.15h143.51Z"/></g><ellipse fill="#2fd381" cx="105.94" cy="28.62" rx="12.9" ry="18.88"/></svg>'},databuddyAnalytics:'<svg xmlns="http://www.w3.org/2000/svg" width="56.5" height="32" viewBox="0 0 8 8" shape-rendering="crispEdges"><path d="M0 0h8v8H0z"/><path fill="#fff" d="M1 1h1v6H1zm1 0h4v1H2zm4 1h1v1H6zm0 1h1v1H6zm0 1h1v1H6zm0 1h1v1H6zM2 6h4v1H2zm1-3h1v1H3zm1 1h1v1H4z"/></svg>',mixpanelAnalytics:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 256 256"><path fill="#7856FF" d="M128 0C57.308 0 0 57.308 0 128s57.308 128 128 128s128-57.308 128-128S198.692 0 128 0m-26.461 176.882c-14.478 0-26.221-11.743-26.221-26.221s11.743-26.221 26.221-26.221s26.221 11.743 26.221 26.221s-11.743 26.221-26.221 26.221m52.922 0c-14.478 0-26.221-11.743-26.221-26.221s11.743-26.221 26.221-26.221s26.221 11.743 26.221 26.221s-11.743 26.221-26.221 26.221m0-52.442c-14.478 0-26.221-11.743-26.221-26.221s11.743-26.221 26.221-26.221s26.221 11.743 26.221 26.221s-11.743 26.221-26.221 26.221"/></svg>',segment:'<svg xmlns="http://www.w3.org/2000/svg" width="30.92" height="32" viewBox="0 0 256 265"><path fill="#4FB58B" d="m233.56 141.927l.17.013l17.892 1.87a4.927 4.927 0 0 1 3.225 1.707l.133.163l-.17.085a4.93 4.93 0 0 1 1.02 3.74a133.272 133.272 0 0 1-41.604 81.083a128.86 128.86 0 0 1-87.629 34.38a127.488 127.488 0 0 1-46.156-8.57l-.802-.312a4.716 4.716 0 0 1-2.686-2.533l-.077-.187a4.891 4.891 0 0 1-.083-3.66l7.062-17.23a4.846 4.846 0 0 1 6.118-2.799l.163.06c36.097 13.939 76.98 6.089 105.349-20.227a104.455 104.455 0 0 0 32.891-63.32a4.93 4.93 0 0 1 5.013-4.27zm-190.08 64.31l.251-.002l.253.002c8.12.093 14.658 6.659 14.746 14.749v.253c0 .084 0 .168-.002.252c-.141 8.284-6.97 14.886-15.254 14.745c-8.284-.141-14.885-6.97-14.745-15.254c.139-8.115 6.695-14.615 14.75-14.745M4.93 147.082h146.316a4.973 4.973 0 0 1 4.928 4.844l.002.171v18.316a4.974 4.974 0 0 1-4.76 5.01l-.17.005H4.93A4.975 4.975 0 0 1 0 170.584v-18.659a4.975 4.975 0 0 1 4.755-4.838zM169.56 7.311a4.974 4.974 0 0 1 2.848 2.635a5.096 5.096 0 0 1 0 3.867l-6.375 16.999a4.845 4.845 0 0 1-6.162 2.974A101.228 101.228 0 0 0 62.13 51.252a105.267 105.267 0 0 0-34.507 54.99a4.93 4.93 0 0 1-4.76 3.698h-1.105L4.25 105.733a4.886 4.886 0 0 1-3.103-2.295h-.085A4.929 4.929 0 0 1 .51 99.57a133.393 133.393 0 0 1 44.41-70.204C79.739.7 127.019-7.666 169.56 7.311m-64.807 73.434H251.07a4.972 4.972 0 0 1 4.922 4.67l.008.174v18.317a4.973 4.973 0 0 1-4.76 5.01l-.17.005H104.754a4.972 4.972 0 0 1-4.886-4.842l-.002-.173V85.759a4.972 4.972 0 0 1 4.715-5.008zm101.572-55.883l.252-.002l.253.002c8.12.093 14.658 6.659 14.746 14.748v.253c0 .085 0 .17-.002.253c-.14 8.284-6.97 14.885-15.254 14.744c-8.284-.14-14.885-6.97-14.744-15.253c.138-8.116 6.694-14.616 14.749-14.745"/></svg>',metaPixel:'<svg xmlns="http://www.w3.org/2000/svg" width="47.91" height="32" viewBox="0 0 256 171"><defs><linearGradient id="logosMetaIcon0" x1="13.878%" x2="89.144%" y1="55.934%" y2="58.694%"><stop offset="0%" stop-color="#0064E1"/><stop offset="40%" stop-color="#0064E1"/><stop offset="83%" stop-color="#0073EE"/><stop offset="100%" stop-color="#0082FB"/></linearGradient><linearGradient id="logosMetaIcon1" x1="54.315%" x2="54.315%" y1="82.782%" y2="39.307%"><stop offset="0%" stop-color="#0082FB"/><stop offset="100%" stop-color="#0064E0"/></linearGradient></defs><path fill="#0081FB" d="M27.651 112.136c0 9.775 2.146 17.28 4.95 21.82c3.677 5.947 9.16 8.466 14.751 8.466c7.211 0 13.808-1.79 26.52-19.372c10.185-14.092 22.186-33.874 30.26-46.275l13.675-21.01c9.499-14.591 20.493-30.811 33.1-41.806C161.196 4.985 172.298 0 183.47 0c18.758 0 36.625 10.87 50.3 31.257C248.735 53.584 256 81.707 256 110.729c0 17.253-3.4 29.93-9.187 39.946c-5.591 9.686-16.488 19.363-34.818 19.363v-27.616c15.695 0 19.612-14.422 19.612-30.927c0-23.52-5.484-49.623-17.564-68.273c-8.574-13.23-19.684-21.313-31.907-21.313c-13.22 0-23.859 9.97-35.815 27.75c-6.356 9.445-12.882 20.956-20.208 33.944l-8.066 14.289c-16.203 28.728-20.307 35.271-28.408 46.07c-14.2 18.91-26.324 26.076-42.287 26.076c-18.935 0-30.91-8.2-38.325-20.556C2.973 139.413 0 126.202 0 111.148z"/><path fill="url(#logosMetaIcon0)" d="M21.802 33.206C34.48 13.666 52.774 0 73.757 0C85.91 0 97.99 3.597 110.605 13.897c13.798 11.261 28.505 29.805 46.853 60.368l6.58 10.967c15.881 26.459 24.917 40.07 30.205 46.49c6.802 8.243 11.565 10.7 17.752 10.7c15.695 0 19.612-14.422 19.612-30.927l24.393-.766c0 17.253-3.4 29.93-9.187 39.946c-5.591 9.686-16.488 19.363-34.818 19.363c-11.395 0-21.49-2.475-32.654-13.007c-8.582-8.083-18.615-22.443-26.334-35.352l-22.96-38.352C118.528 64.08 107.96 49.73 101.845 43.23c-6.578-6.988-15.036-15.428-28.532-15.428c-10.923 0-20.2 7.666-27.963 19.39z"/><path fill="url(#logosMetaIcon1)" d="M73.312 27.802c-10.923 0-20.2 7.666-27.963 19.39c-10.976 16.568-17.698 41.245-17.698 64.944c0 9.775 2.146 17.28 4.95 21.82L9.027 149.482C2.973 139.413 0 126.202 0 111.148C0 83.772 7.514 55.24 21.802 33.206C34.48 13.666 52.774 0 73.757 0z"/></svg>',xPixel:{dark:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 128 128" fill="white" stroke="white"><path d="M75.916 54.2L122.542 0h-11.05L71.008 47.06L38.672 0H1.376l48.898 71.164L1.376 128h11.05L55.18 78.303L89.328 128h37.296L75.913 54.2ZM60.782 71.79l-4.955-7.086l-39.42-56.386h16.972L65.19 53.824l4.954 7.086l41.353 59.15h-16.97L60.782 71.793Z"/></svg>',light:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 128 128" fill="black" stroke="black"><path d="M75.916 54.2L122.542 0h-11.05L71.008 47.06L38.672 0H1.376l48.898 71.164L1.376 128h11.05L55.18 78.303L89.328 128h37.296L75.913 54.2ZM60.782 71.79l-4.955-7.086l-39.42-56.386h16.972L65.19 53.824l4.954 7.086l41.353 59.15h-16.97L60.782 71.793Z"/></svg>'},tiktokPixel:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 256 256"><path d="M224 72a52.059 52.059 0 0 1-52-52a4 4 0 0 0-4-4h-40a4 4 0 0 0-4 4v132a28 28 0 1 1-40.567-25.019a4 4 0 0 0 2.567-3.734V80a4 4 0 0 0-4.652-3.949A84.032 84.032 0 1 0 156 152v-43.047a99.432 99.432 0 0 0 52 14.586a4 4 0 0 0 4-4V76a4 4 0 0 0-4-4z" fill="currentColor"/></svg>',redditPixel:'<svg viewBox="0 0 800 800" xmlns="http://www.w3.org/2000/svg" width="32" height="32"> <circle cx="400" cy="400" fill="#ff4500" r="400"/> <path d="M666.8 400c.08 5.48-.6 10.95-2.04 16.24s-3.62 10.36-6.48 15.04c-2.85 4.68-6.35 8.94-10.39 12.65s-8.58 6.83-13.49 9.27c.11 1.46.2 2.93.25 4.4a107.268 107.268 0 0 1 0 8.8c-.05 1.47-.14 2.94-.25 4.4 0 89.6-104.4 162.4-233.2 162.4S168 560.4 168 470.8c-.11-1.46-.2-2.93-.25-4.4a107.268 107.268 0 0 1 0-8.8c.05-1.47.14-2.94.25-4.4a58.438 58.438 0 0 1-31.85-37.28 58.41 58.41 0 0 1 7.8-48.42 58.354 58.354 0 0 1 41.93-25.4 58.4 58.4 0 0 1 46.52 15.5 286.795 286.795 0 0 1 35.89-20.71c12.45-6.02 25.32-11.14 38.51-15.3s26.67-7.35 40.32-9.56 27.45-3.42 41.28-3.63L418 169.6c.33-1.61.98-3.13 1.91-4.49.92-1.35 2.11-2.51 3.48-3.4 1.38-.89 2.92-1.5 4.54-1.8 1.61-.29 3.27-.26 4.87.09l98 19.6c9.89-16.99 30.65-24.27 48.98-17.19s28.81 26.43 24.71 45.65c-4.09 19.22-21.55 32.62-41.17 31.61-19.63-1.01-35.62-16.13-37.72-35.67L440 186l-26 124.8c13.66.29 27.29 1.57 40.77 3.82a284.358 284.358 0 0 1 77.8 24.86A284.412 284.412 0 0 1 568 360a58.345 58.345 0 0 1 29.4-15.21 58.361 58.361 0 0 1 32.95 3.21 58.384 58.384 0 0 1 25.91 20.61A58.384 58.384 0 0 1 666.8 400zm-396.96 55.31c2.02 4.85 4.96 9.26 8.68 12.97 3.71 3.72 8.12 6.66 12.97 8.68A40.049 40.049 0 0 0 306.8 480c16.18 0 30.76-9.75 36.96-24.69 6.19-14.95 2.76-32.15-8.68-43.59s-28.64-14.87-43.59-8.68c-14.94 6.2-24.69 20.78-24.69 36.96 0 5.25 1.03 10.45 3.04 15.31zm229.1 96.02c2.05-2 3.22-4.73 3.26-7.59.04-2.87-1.07-5.63-3.07-7.68s-4.73-3.22-7.59-3.26c-2.87-.04-5.63 1.07-7.94 2.8a131.06 131.06 0 0 1-19.04 11.35 131.53 131.53 0 0 1-20.68 7.99c-7.1 2.07-14.37 3.54-21.72 4.39-7.36.85-14.77 1.07-22.16.67-7.38.33-14.78.03-22.11-.89a129.01 129.01 0 0 1-21.64-4.6c-7.08-2.14-13.95-4.88-20.56-8.18s-12.93-7.16-18.89-11.53c-2.07-1.7-4.7-2.57-7.38-2.44s-5.21 1.26-7.11 3.15c-1.89 1.9-3.02 4.43-3.15 7.11s.74 5.31 2.44 7.38c7.03 5.3 14.5 9.98 22.33 14s16 7.35 24.4 9.97 17.01 4.51 25.74 5.66c8.73 1.14 17.54 1.53 26.33 1.17 8.79.36 17.6-.03 26.33-1.17A153.961 153.961 0 0 0 476.87 564c7.83-4.02 15.3-8.7 22.33-14zm-7.34-68.13c5.42.06 10.8-.99 15.81-3.07 5.01-2.09 9.54-5.17 13.32-9.06s6.72-8.51 8.66-13.58A39.882 39.882 0 0 0 532 441.6c0-16.18-9.75-30.76-24.69-36.96-14.95-6.19-32.15-2.76-43.59 8.68s-14.87 28.64-8.68 43.59c6.2 14.94 20.78 24.69 36.96 24.69z" fill="#fff"/> </svg>',linkedinInsight:{light:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 34 34"><path fill="#0a66c2" d="M34 2.5v29a2.5 2.5 0 0 1-2.5 2.5h-29A2.5 2.5 0 0 1 0 31.5v-29A2.5 2.5 0 0 1 2.5 0h29A2.5 2.5 0 0 1 34 2.5M10 13H5v16h5zm.45-5.5a2.88 2.88 0 0 0-2.86-2.9H7.5a2.9 2.9 0 0 0 0 5.8 2.88 2.88 0 0 0 2.95-2.81zM29 19.28c0-4.81-3.06-6.68-6.1-6.68a5.7 5.7 0 0 0-5.06 2.58h-.14V13H13v16h5v-8.51a3.32 3.32 0 0 1 3-3.58h.19c1.59 0 2.77 1 2.77 3.52V29h5z"/></svg>',dark:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 34 34"><g transform="scale(.7083)" fill="none" fill-rule="evenodd"><rect fill="#fff" x="1" y="1" width="46" height="46" rx="4"/><path fill="#0077b5" d="M0 4.01A4.01 4.01 0 014.01 0h39.98A4.01 4.01 0 0148 4.01v39.98A4.01 4.01 0 0143.99 48H4.01A4.01 4.01 0 010 43.99V4.01zM19 18.3h6.5v3.266C26.437 19.688 28.838 18 32.445 18 39.359 18 41 21.738 41 28.597V41.3h-7V30.159c0-3.906-.937-6.109-3.32-6.109-3.305 0-4.68 2.375-4.68 6.109V41.3h-7v-23zM7 41h7V18H7v23zm8-30.5a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z"/></g></svg>'},googleAdsense:'<svg xmlns="http://www.w3.org/2000/svg" width="36.09" height="32" viewBox="0 0 256 227"><path fill="#FBBC04" d="M161.8 62.158c11.581-19.822 4.705-45.154-15.355-56.603C126.376-5.878 100.723.899 89.142 20.72c-.51.888-.99 1.794-1.44 2.715L48.553 90.41a49.41 49.41 0 0 0-2.401 4.112L5.495 164.681l72.65 40.721l40.45-69.566a40.013 40.013 0 0 0 2.402-4.112l39.15-66.983a45.769 45.769 0 0 0 1.654-2.583"/><path fill="#34A853" d="M78.483 205.189c-11.515 20.142-37.49 27.553-57.434 15.931c-19.954-11.63-27.036-36.847-15.513-56.982c11.523-20.134 37.267-27.578 57.22-15.956c19.954 11.63 27.241 36.872 15.727 56.998"/><path fill="#4285F4" d="M235.257 75.417c-19.83-11.429-45.17-4.661-56.661 15.134l-41.478 71.67c-11.428 19.755-4.678 45.033 15.076 56.46l.107.062c19.835 11.433 45.18 4.66 56.67-15.142l41.469-71.663c11.426-19.76 4.67-45.042-15.09-56.468z"/></svg>',carbonAds:{light:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><rect width="32" height="32" rx="6" fill="#1E1E1E"/><path transform="translate(9.25,3.5)" d="M2.927 17.98c0 3.248 1.225 4.295 4.933 4.295 1.362 0 3.573-.174 5.31-.488l.305 2.584c-1.633.385-4.015.629-5.717.629C2.212 25 0 22.555 0 18.155V7.887c0-4.401 2.212-6.845 7.759-6.845 1.701 0 4.083.244 5.717.628l-.306 2.585c-1.736-.315-3.948-.49-5.309-.49-3.709 0-4.934 1.049-4.934 4.296v9.92Z" fill="#fff"/></svg>',dark:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><rect width="32" height="32" rx="6" fill="#fff"/><path transform="translate(9.25,3.5)" d="M2.927 17.98c0 3.248 1.225 4.295 4.933 4.295 1.362 0 3.573-.174 5.31-.488l.305 2.584c-1.633.385-4.015.629-5.717.629C2.212 25 0 22.555 0 18.155V7.887c0-4.401 2.212-6.845 7.759-6.845 1.701 0 4.083.244 5.717.628l-.306 2.585c-1.736-.315-3.948-.49-5.309-.49-3.709 0-4.934 1.049-4.934 4.296v9.92Z" fill="#1E1E1E"/></svg>'},intercom:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8.968 8.972"><path d="M7.853 0h-6.73C.496 0-.002.498-.002 1.117v6.73a1.12 1.12 0 0 0 1.126 1.126h6.73c.618 0 1.117-.498 1.117-1.117v-6.73A1.119 1.119 0 0 0 7.853 0zM5.68 1.645c0-.17.13-.3.3-.3s.3.13.3.3v3.998c0 .17-.13.3-.3.3s-.3-.13-.3-.3zm-1.495-.15c0-.17.13-.3.3-.3s.3.13.3.3v4.336c0 .17-.13.3-.3.3s-.3-.13-.3-.3zm-1.495.15c0-.17.13-.3.3-.3s.3.13.3.3v3.998c0 .17-.13.3-.3.3s-.3-.13-.3-.3zm-1.495.598c0-.17.13-.3.3-.3s.3.13.3.3v2.692c0 .17-.13.3-.3.3s-.3-.13-.3-.3zm6.48 4.566c-.05.04-1.156.967-3.2.967s-3.14-.927-3.2-.967a.29.29 0 0 1-.03-.419.29.29 0 0 1 .419-.03c.02 0 1.007.817 2.8.817 1.814 0 2.79-.817 2.79-.827.13-.1.32-.1.42.03a.3.3 0 0 1-.02.429zm.1-1.874c0 .17-.13.3-.3.3s-.3-.13-.3-.3V2.243c0-.17.13-.3.3-.3s.3.13.3.3z" fill="#1f8ded"/></svg>',hotjar:'<svg xmlns="http://www.w3.org/2000/svg" width="28.45" height="32" viewBox="0 0 256 288"><path fill="#FF3C00" d="M256 100.585c0 53.068-23.654 81.018-49.308 99.403l-4.984 3.443l-5 3.23l-4.979 3.04l-4.925 2.877l-18.623 10.45c-.97.554-1.925 1.106-2.867 1.656l-5.484 3.303c-19.473 12.156-31.858 25.278-32.898 54.98l-.071 4.155H71.752c0-51.355 22.158-79.19 46.838-97.595l4.964-3.56a192.48 192.48 0 0 1 2.496-1.693l5-3.229l4.978-3.04l9.759-5.616l13.787-7.712l5.652-3.305c21.022-12.65 34.51-25.579 35.597-56.632l.071-4.155zM184.252.145c0 51.35-22.153 79.185-46.833 97.591l-4.964 3.56c-.831.574-1.664 1.138-2.497 1.693l-5 3.23l-4.979 3.04l-9.76 5.616l-13.788 7.713l-5.652 3.305c-.914.55-1.814 1.1-2.7 1.653l-5.131 3.351c-16.5 11.328-26.82 24.627-27.766 51.63l-.072 4.155H0c0-54.78 25.206-82.793 51.797-101.152l4.997-3.333l4.994-3.133l4.957-2.956L87.82 64.236l5.652-3.306c21.023-12.65 34.51-25.58 35.597-56.631l.072-4.155z"/></svg>',clarity:"https://store-images.s-microsoft.com/image/apps.29332.512b1d3d-80ec-4aec-83bb-411008d2f7cd.76371b6f-9386-463f-bfb0-b75cffb86a4f.bd99f4b1-b18e-4380-aa79-93768763c90d.png",stripe:'<svg xmlns="http://www.w3.org/2000/svg" width="76.57" height="32" viewBox="0 0 512 214"><path fill="#635BFF" d="M512 110.08c0-36.409-17.636-65.138-51.342-65.138c-33.85 0-54.33 28.73-54.33 64.854c0 42.808 24.179 64.426 58.88 64.426c16.925 0 29.725-3.84 39.396-9.244v-28.445c-9.67 4.836-20.764 7.823-34.844 7.823c-13.796 0-26.027-4.836-27.591-21.618h69.547c0-1.85.284-9.245.284-12.658m-70.258-13.511c0-16.071 9.814-22.756 18.774-22.756c8.675 0 17.92 6.685 17.92 22.756zm-90.31-51.627c-13.939 0-22.899 6.542-27.876 11.094l-1.85-8.818h-31.288v165.83l35.555-7.537l.143-40.249c5.12 3.698 12.657 8.96 25.173 8.96c25.458 0 48.64-20.48 48.64-65.564c-.142-41.245-23.609-63.716-48.498-63.716m-8.534 97.991c-8.391 0-13.37-2.986-16.782-6.684l-.143-52.765c3.698-4.124 8.818-6.968 16.925-6.968c12.942 0 21.902 14.506 21.902 33.137c0 19.058-8.818 33.28-21.902 33.28M241.493 36.551l35.698-7.68V0l-35.698 7.538zm0 10.809h35.698v124.444h-35.698zm-38.257 10.524L200.96 47.36h-30.72v124.444h35.556V87.467c8.39-10.951 22.613-8.96 27.022-7.396V47.36c-4.551-1.707-21.191-4.836-29.582 10.524m-71.112-41.386l-34.702 7.395l-.142 113.92c0 21.05 15.787 36.551 36.836 36.551c11.662 0 20.195-2.133 24.888-4.693V140.8c-4.55 1.849-27.022 8.391-27.022-12.658V77.653h27.022V47.36h-27.022zM35.982 83.484c0-5.546 4.551-7.68 12.09-7.68c10.808 0 24.461 3.272 35.27 9.103V51.484c-11.804-4.693-23.466-6.542-35.27-6.542C19.2 44.942 0 60.018 0 85.192c0 39.252 54.044 32.995 54.044 49.92c0 6.541-5.688 8.675-13.653 8.675c-11.804 0-26.88-4.836-38.827-11.378v33.849c13.227 5.689 26.596 8.106 38.827 8.106c29.582 0 49.92-14.648 49.92-40.106c-.142-42.382-54.329-34.845-54.329-50.774"/></svg>',lemonSqueezy:'<svg width="21" height="28" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="m6.929 17.186 7.511 3.472a3.846 3.846 0 0 1 1.943 1.983c.898 2.099-.33 4.246-2.255 5.018-1.926.772-3.979.275-4.912-1.908l-3.27-7.664c-.253-.595.384-1.178.983-.901ZM7.38 14.938l7.753-2.931c2.577-.974 5.392.869 5.354 3.547l-.003.105c-.055 2.608-2.792 4.36-5.312 3.438l-7.786-2.85a.694.694 0 0 1-.007-1.31ZM6.945 13.922l7.622-3.238C17.1 9.607 17.743 6.377 15.76 4.51a9.026 9.026 0 0 0-.078-.073c-1.945-1.805-5.16-1.17-6.267 1.208l-3.42 7.347c-.274.585.343 1.189.951.93ZM4.983 12.643l2.772-7.599a3.678 3.678 0 0 0-.076-2.732C6.78.214 4.344-.464 2.42.31.493 1.083-.595 2.84.34 5.023l3.29 7.656c.255.593 1.132.57 1.352-.036Z" fill="#FFC233"/></svg>',paypal:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 154.728 190.5" xmlns:v="https://vecta.io/nano"><g transform="translate(898.192 276.071)"><path clip-path="none" d="M-837.663-237.968a5.49 5.49 0 0 0-5.423 4.633l-9.013 57.15-8.281 52.514-.005.044.01-.044 8.281-52.514c.421-2.669 2.719-4.633 5.42-4.633h26.404c26.573 0 49.127-19.387 53.246-45.658.314-1.996.482-3.973.52-5.924v-.003h-.003c-6.753-3.543-14.683-5.565-23.372-5.565z" fill="#001c64"/><path clip-path="none" d="M-766.506-232.402c-.037 1.951-.207 3.93-.52 5.926-4.119 26.271-26.673 45.658-53.246 45.658h-26.404c-2.701 0-4.999 1.964-5.42 4.633l-8.281 52.514-5.197 32.947a4.46 4.46 0 0 0 4.405 5.153h28.66a5.49 5.49 0 0 0 5.423-4.633l7.55-47.881c.423-2.669 2.722-4.636 5.423-4.636h16.876c26.573 0 49.124-19.386 53.243-45.655 2.924-18.649-6.46-35.614-22.511-44.026z" fill="#0070e0"/><path clip-path="none" d="M-870.225-276.071a5.49 5.49 0 0 0-5.423 4.636l-22.489 142.608a4.46 4.46 0 0 0 4.405 5.156h33.351l8.281-52.514 9.013-57.15a5.49 5.49 0 0 1 5.423-4.633h47.782c8.691 0 16.621 2.025 23.375 5.563.46-23.917-19.275-43.666-46.412-43.666z" fill="#003087"/></g></svg>',vimeoPlayer:'<svg xmlns="http://www.w3.org/2000/svg" width="36.74" height="32" viewBox="0 0 256 223"><path fill="#32B8E8" d="M255.876 51.662c-1.139 24.968-18.545 59.157-52.209 102.55c-34.806 45.327-64.254 67.989-88.343 67.989c-14.918 0-27.551-13.799-37.863-41.406c-6.892-25.306-13.775-50.61-20.664-75.915c-7.663-27.592-15.878-41.406-24.661-41.406c-1.915 0-8.617 4.038-20.091 12.081L0 60.008a3257.325 3257.325 0 0 0 37.36-33.38C54.21 12.038 66.86 4.366 75.29 3.59c19.925-1.917 32.187 11.728 36.79 40.938c4.974 31.514 8.415 51.116 10.35 58.788c5.742 26.145 12.06 39.201 18.965 39.201c5.358 0 13.407-8.478 24.138-25.436c10.722-16.963 16.464-29.868 17.24-38.733c1.525-14.638-4.22-21.975-17.24-21.975c-6.128 0-12.447 1.413-18.946 4.206c12.58-41.29 36.618-61.343 72.1-60.199c26.304.773 38.705 17.867 37.19 51.282"/></svg>',youtubePlayer:'<svg xmlns="http://www.w3.org/2000/svg" width="45.52" height="32" viewBox="0 0 256 180"><path fill="red" d="M250.346 28.075A32.18 32.18 0 0 0 227.69 5.418C207.824 0 127.87 0 127.87 0S47.912.164 28.046 5.582A32.18 32.18 0 0 0 5.39 28.24c-6.009 35.298-8.34 89.084.165 122.97a32.18 32.18 0 0 0 22.656 22.657c19.866 5.418 99.822 5.418 99.822 5.418s79.955 0 99.82-5.418a32.18 32.18 0 0 0 22.657-22.657c6.338-35.348 8.291-89.1-.164-123.134"/><path fill="#FFF" d="m102.421 128.06l66.328-38.418l-66.328-38.418z"/></svg>',googleMaps:'<svg xmlns="http://www.w3.org/2000/svg" width="22.33" height="32" viewBox="0 0 256 367"><path fill="#34A853" d="M70.585 271.865a370.712 370.712 0 0 1 28.911 42.642c7.374 13.982 10.448 23.463 15.837 40.31c3.305 9.308 6.292 12.086 12.714 12.086c6.998 0 10.173-4.726 12.626-12.035c5.094-15.91 9.091-28.052 15.397-39.525c12.374-22.15 27.75-41.833 42.858-60.75c4.09-5.354 30.534-36.545 42.439-61.156c0 0 14.632-27.035 14.632-64.792c0-35.318-14.43-59.813-14.43-59.813l-41.545 11.126l-25.23 66.451l-6.242 9.163l-1.248 1.66l-1.66 2.078l-2.914 3.319l-4.164 4.163l-22.467 18.304l-56.17 32.432z"/><path fill="#FBBC04" d="M12.612 188.892c13.709 31.313 40.145 58.839 58.031 82.995l95.001-112.534s-13.384 17.504-37.662 17.504c-27.043 0-48.89-21.595-48.89-48.825c0-18.673 11.234-31.501 11.234-31.501l-64.489 17.28z"/><path fill="#4285F4" d="M166.705 5.787c31.552 10.173 58.558 31.53 74.893 63.023l-75.925 90.478s11.234-13.06 11.234-31.617c0-27.864-23.463-48.68-48.81-48.68c-23.969 0-37.735 17.475-37.735 17.475v-57z"/><path fill="#1A73E8" d="M30.015 45.765C48.86 23.218 82.02 0 127.736 0c22.18 0 38.89 5.823 38.89 5.823L90.29 96.516H36.205z"/><path fill="#EA4335" d="M12.612 188.892S0 164.194 0 128.414c0-33.817 13.146-63.377 30.015-82.649l60.318 50.759z"/></svg>',blueskyEmbed:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 568 501"><path fill="#1185FE" d="M123.121 33.664C188.241 82.553 258.281 181.68 284 234.873c25.719-53.192 95.759-152.32 160.879-201.21C491.866-1.611 568-28.906 568 57.947c0 17.346-9.945 145.713-15.778 166.555c-20.275 72.453-94.155 90.933-159.875 79.748c114.875 19.831 144.097 85.561 81.022 151.291C363.929 569.326 289.18 462.062 284 449.7c-.36-.86-.36-.86 0 0c-5.18 12.362-79.929 119.626-189.369 5.84c-63.075-65.729-33.853-131.46 81.022-151.29c-65.72 11.184-139.6-7.296-159.875-79.749C9.945 203.659 0 75.291 0 57.946C0-28.906 76.134-1.612 123.121 33.664"/></svg>',instagramEmbed:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 256 256"><g fill="none"><rect width="256" height="256" fill="url(#skillIconsInstagram0)" rx="60"/><rect width="256" height="256" fill="url(#skillIconsInstagram1)" rx="60"/><path fill="#fff" d="M128.009 28c-27.158 0-30.567.119-41.233.604c-10.646.488-17.913 2.173-24.271 4.646c-6.578 2.554-12.157 5.971-17.716 11.531c-5.563 5.559-8.98 11.138-11.542 17.713c-2.48 6.36-4.167 13.63-4.646 24.271c-.477 10.667-.602 14.077-.602 41.236s.12 30.557.604 41.223c.49 10.646 2.175 17.913 4.646 24.271c2.556 6.578 5.973 12.157 11.533 17.716c5.557 5.563 11.136 8.988 17.709 11.542c6.363 2.473 13.631 4.158 24.275 4.646c10.668.485 14.073.604 41.23.604c27.161 0 30.559-.119 41.225-.604c10.646-.488 17.921-2.173 24.284-4.646c6.575-2.554 12.146-5.979 17.702-11.542c5.563-5.559 8.98-11.138 11.542-17.716c2.458-6.358 4.145-13.625 4.646-24.271c.48-10.666.604-14.066.604-41.223s-.124-30.569-.604-41.236c-.501-10.646-2.188-17.911-4.646-24.271c-2.562-6.575-5.979-12.154-11.542-17.713c-5.559-5.56-11.13-8.977-17.716-11.531c-6.375-2.473-13.646-4.158-24.292-4.646C158.57 28.119 155.164 28 128.009 28m-8.868 18.021h8.868c26.695 0 29.855.103 40.41.582c9.751.446 15.042 2.079 18.567 3.454c4.667 1.813 7.992 3.979 11.492 7.48c3.5 3.5 5.666 6.829 7.483 11.496c1.375 3.525 3.012 8.813 3.454 18.563c.479 10.558.588 13.719.588 40.413s-.109 29.854-.588 40.412c-.446 9.75-2.079 15.042-3.454 18.563c-1.813 4.667-3.983 7.992-7.483 11.492a30.94 30.94 0 0 1-11.492 7.479c-3.521 1.379-8.812 3.013-18.567 3.458c-10.554.48-13.711.589-40.41.589c-26.702 0-29.859-.109-40.413-.589c-9.75-.449-15.046-2.079-18.571-3.458c-4.667-1.813-8-3.979-11.5-7.479s-5.666-6.825-7.483-11.496c-1.375-3.521-3.012-8.813-3.454-18.563c-.479-10.558-.583-13.715-.583-40.42c0-26.704.104-29.856.583-40.413c.446-9.75 2.079-15.042 3.454-18.567c1.813-4.667 3.983-7.996 11.5-11.5a30.804 30.804 0 0 1 11.496-7.479c3.525-1.375 8.821-3.013 18.571-3.458c9.238-.421 12.82-.546 31.505-.563zm62.496 16.604c-6.625 0-12 5.37-12 12c0 6.625 5.375 12 12 12c6.625 0 12-5.375 12-12s-5.375-12-12-12m-53.628 14.021c-28.272 0-51.196 22.924-51.196 51.196s22.924 51.2 51.196 51.2c28.271 0 51.2-22.929 51.2-51.2c0-28.272-22.929-51.196-51.2-51.196m0 18.021c18.334 0 33.183 14.846 33.183 33.175c0 18.334-14.849 33.184-33.183 33.184c-18.33 0-33.175-14.85-33.175-33.184c0-18.329 14.845-33.175 33.175-33.175"/><defs><radialGradient id="skillIconsInstagram0" cx="0" cy="0" r="1" gradientTransform="matrix(0 -253.715 235.975 0 68 275.717)" gradientUnits="userSpaceOnUse"><stop stop-color="#FD5"/><stop offset=".1" stop-color="#FD5"/><stop offset=".5" stop-color="#FF543E"/><stop offset="1" stop-color="#C837AB"/></radialGradient><radialGradient id="skillIconsInstagram1" cx="0" cy="0" r="1" gradientTransform="matrix(22.25952 111.2976 -458.39518 91.75449 -42.881 18.441)" gradientUnits="userSpaceOnUse"><stop stop-color="#3771C8"/><stop offset=".128" stop-color="#3771C8"/><stop offset="1" stop-color="#60F" stop-opacity="0"/></radialGradient></defs></g></svg>',xEmbed:{light:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill="#000" d="M18.205 2.25h3.308l-7.227 8.26l8.502 11.24H16.13l-5.214-6.817L4.95 21.75H1.64l7.73-8.835L1.215 2.25H8.04l4.713 6.231zm-1.161 17.52h1.833L7.045 4.126H5.078z"/></svg>',dark:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill="#fff" d="M18.205 2.25h3.308l-7.227 8.26l8.502 11.24H16.13l-5.214-6.817L4.95 21.75H1.64l7.73-8.835L1.215 2.25H8.04l4.713 6.231zm-1.161 17.52h1.833L7.045 4.126H5.078z"/></svg>'},crisp:{light:'<svg height="30" width="35" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><filter id="a" height="138.7%" width="131.4%" x="-15.7%" y="-15.1%"><feMorphology in="SourceAlpha" operator="dilate" radius="1" result="shadowSpreadOuter1"/><feOffset dy="1" in="shadowSpreadOuter1" result="shadowOffsetOuter1"/><feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="1"/><feComposite in="shadowBlurOuter1" in2="SourceAlpha" operator="out" result="shadowBlurOuter1"/><feColorMatrix in="shadowBlurOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.07 0"/></filter><path id="b" d="M14.23 20.46l-9.65 1.1L3 5.12 30.07 2l1.58 16.46-9.37 1.07-3.5 5.72-4.55-4.8z"/></defs><g fill="none" fill-rule="evenodd"><use fill="#000" filter="url(#a)" xlink:href="#b"/><use fill="#1972f5" stroke="#1972f5" stroke-width="2" xlink:href="#b"/></g></svg>',dark:'<svg height="30" width="35" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><filter id="a" height="138.7%" width="131.4%" x="-15.7%" y="-15.1%"><feMorphology in="SourceAlpha" operator="dilate" radius="1" result="shadowSpreadOuter1"/><feOffset dy="1" in="shadowSpreadOuter1" result="shadowOffsetOuter1"/><feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="1"/><feComposite in="shadowBlurOuter1" in2="SourceAlpha" operator="out" result="shadowBlurOuter1"/><feColorMatrix in="shadowBlurOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.07 0"/></filter><path id="b" d="M14.23 20.46l-9.65 1.1L3 5.12 30.07 2l1.58 16.46-9.37 1.07-3.5 5.72-4.55-4.8z"/></defs><g fill="none" fill-rule="evenodd"><use fill="#000" filter="url(#a)" xlink:href="#b"/><use fill="#fff" stroke="#fff" stroke-width="2" xlink:href="#b"/></g></svg>'},npm:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 256 256"><path fill="#C12127" d="M0 256V0h256v256z"/><path fill="#FFF" d="M48 48h160v160h-32V80h-48v128H48z"/></svg>',calendly:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 256 256"><path fill="#006BFF" d="M128 0C57.308 0 0 57.308 0 128s57.308 128 128 128s128-57.308 128-128S198.692 0 128 0m65.832 165.957l-15.226 13.157c-13.768 11.892-31.358 18.435-49.55 18.435h-2.36c-26.36 0-50.51-14.518-62.99-37.85l-7.392-13.823a71.32 71.32 0 0 1 0-67.752l7.391-13.822c12.48-23.333 36.63-37.851 62.99-37.851h2.361c18.193 0 35.782 6.543 49.55 18.435l15.226 13.157a8.93 8.93 0 0 1 .904 12.598a8.93 8.93 0 0 1-12.598.904l-15.225-13.157c-10.527-9.094-23.97-14.094-37.857-14.094h-2.361c-19.823 0-37.985 10.918-47.367 28.466l-7.39 13.822a53.49 53.49 0 0 0 0 50.83l7.39 13.822c9.382 17.548 27.544 28.466 47.367 28.466h2.361c13.886 0 27.33-5 37.857-14.094l15.225-13.157a8.93 8.93 0 0 1 12.598.904a8.93 8.93 0 0 1-.904 12.598"/></svg>',googleRecaptcha:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 256 262"><path fill="#4285F4" d="M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622l38.755 30.023l2.685.268c24.659-22.774 38.875-56.282 38.875-96.027"/><path fill="#34A853" d="M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055c-34.523 0-63.824-22.773-74.269-54.25l-1.531.13l-40.298 31.187l-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1"/><path fill="#FBBC05" d="M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82c0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602z"/><path fill="#EB4335" d="M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0C79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251"/></svg>',googleSignIn:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 256 262"><path fill="#4285F4" d="M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622l38.755 30.023l2.685.268c24.659-22.774 38.875-56.282 38.875-96.027"/><path fill="#34A853" d="M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055c-34.523 0-63.824-22.773-74.269-54.25l-1.531.13l-40.298 31.187l-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1"/><path fill="#FBBC05" d="M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82c0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602z"/><path fill="#EB4335" d="M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0C79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251"/></svg>',googleTagManager:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 256 256"><path fill="#8AB4F8" d="m150.262 245.516l-44.437-43.331l95.433-97.454l46.007 45.091z"/><path fill="#4285F4" d="M150.45 53.938L106.176 8.731L9.36 104.629c-12.48 12.48-12.48 32.713 0 45.207l95.36 95.986l45.09-42.182l-72.654-76.407z"/><path fill="#8AB4F8" d="m246.625 105.37l-96-96c-12.494-12.494-32.756-12.494-45.25 0c-12.495 12.495-12.495 32.757 0 45.252l96 96c12.494 12.494 32.756 12.494 45.25 0c12.495-12.495 12.495-32.757 0-45.251"/><circle cx="127.265" cy="224.731" r="31.273" fill="#246FDB"/></svg>',googleAnalytics:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" width="192px" height="192px" viewBox="0 0 192 192" enable-background="new 0 0 192 192" xml:space="preserve"><rect x="0" y="0" fill="none" width="192" height="192"/><g><g><path fill="#F9AB00" d="M130,29v132c0,14.77,10.19,23,21,23c10,0,21-7,21-23V30c0-13.54-10-22-21-22S130,17.33,130,29z"/></g><g><path fill="#E37400" d="M75,96v65c0,14.77,10.19,23,21,23c10,0,21-7,21-23V97c0-13.54-10-22-21-22S75,84.33,75,96z"/></g><g><circle fill="#E37400" cx="41" cy="163" r="21"/></g></g></svg>',umamiAnalytics:'<svg xmlns="http://www.w3.org/2000/svg" width="96" height="96" viewBox="0 0 24 24"><path fill="currentColor" d="M2.203 8.611H.857a.845.845 0 0 0-.841.841v.858a13 13 0 0 0-.016.6c0 6.627 5.373 12 12 12c6.527 0 11.837-5.212 11.996-11.701c0-.025.004-.05.004-.075V9.452a.845.845 0 0 0-.841-.841h-1.346c-1.159-4.329-5.112-7.521-9.805-7.521S3.363 4.282 2.203 8.611m18.444 0H3.37c1.127-3.702 4.57-6.399 8.638-6.399c4.069 0 7.512 2.697 8.639 6.399"/></svg>',gravatar:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 27 27"><path fill="#1d4fc4" d="M10.8 2.699v9.45a2.699 2.699 0 005.398 0V5.862a8.101 8.101 0 11-8.423 1.913 2.702 2.702 0 00-3.821-3.821A13.5 13.5 0 1013.499 0 2.699 2.699 0 0010.8 2.699z"/></svg>',usercentrics:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><circle cx="16" cy="16" r="16" fill="#1976d2"/><path fill="#fff" d="M16 7.5a4.25 4.25 0 1 0 0 8.5a4.25 4.25 0 0 0 0-8.5m-7 17a7 7 0 0 1 14 0v.5H9z"/></svg>',bingUet:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 256 256"><path fill="#F25022" d="M0 0h121.5v121.5H0z"/><path fill="#7FBA00" d="M134.5 0H256v121.5H134.5z"/><path fill="#00A4EF" d="M0 134.5h121.5V256H0z"/><path fill="#FFB900" d="M134.5 134.5H256V256H134.5z"/></svg>',snapchatPixel:'<svg width="50" height="50" viewBox="147.353 39.286 514.631 514.631" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve"><path style="fill:#FFFC00;" d="M147.553,423.021v0.023c0.308,11.424,0.403,22.914,2.33,34.268 c2.042,12.012,4.961,23.725,10.53,34.627c7.529,14.756,17.869,27.217,30.921,37.396c9.371,7.309,19.608,13.111,30.94,16.771 c16.524,5.33,33.571,7.373,50.867,7.473c10.791,0.068,21.575,0.338,32.37,0.293c78.395-0.33,156.792,0.566,235.189-0.484 c10.403-0.141,20.636-1.41,30.846-3.277c19.569-3.582,36.864-11.932,51.661-25.133c17.245-15.381,28.88-34.205,34.132-56.924 c3.437-14.85,4.297-29.916,4.444-45.035v-3.016c0-1.17-0.445-256.892-0.486-260.272c-0.115-9.285-0.799-18.5-2.54-27.636 c-2.117-11.133-5.108-21.981-10.439-32.053c-5.629-10.641-12.68-20.209-21.401-28.57c-13.359-12.81-28.775-21.869-46.722-26.661 c-16.21-4.327-32.747-5.285-49.405-5.27c-0.027-0.004-0.09-0.173-0.094-0.255H278.56c-0.005,0.086-0.008,0.172-0.014,0.255 c-9.454,0.173-18.922,0.102-28.328,1.268c-10.304,1.281-20.509,3.21-30.262,6.812c-15.362,5.682-28.709,14.532-40.11,26.347 c-12.917,13.386-22.022,28.867-26.853,46.894c-4.31,16.084-5.248,32.488-5.271,49.008"/><path style="fill:#FFFFFF;" d="M407.001,473.488c-1.068,0-2.087-0.039-2.862-0.076c-0.615,0.053-1.25,0.076-1.886,0.076 c-22.437,0-37.439-10.607-50.678-19.973c-9.489-6.703-18.438-13.031-28.922-14.775c-5.149-0.854-10.271-1.287-15.22-1.287 c-8.917,0-15.964,1.383-21.109,2.389c-3.166,0.617-5.896,1.148-8.006,1.148c-2.21,0-4.895-0.49-6.014-4.311 c-0.887-3.014-1.523-5.934-2.137-8.746c-1.536-7.027-2.65-11.316-5.281-11.723c-28.141-4.342-44.768-10.738-48.08-18.484 c-0.347-0.814-0.541-1.633-0.584-2.443c-0.129-2.309,1.501-4.334,3.777-4.711c22.348-3.68,42.219-15.492,59.064-35.119 c13.049-15.195,19.457-29.713,20.145-31.316c0.03-0.072,0.065-0.148,0.101-0.217c3.247-6.588,3.893-12.281,1.926-16.916 c-3.626-8.551-15.635-12.361-23.58-14.882c-1.976-0.625-3.845-1.217-5.334-1.808c-7.043-2.782-18.626-8.66-17.083-16.773 c1.124-5.916,8.949-10.036,15.273-10.036c1.756,0,3.312,0.308,4.622,0.923c7.146,3.348,13.575,5.045,19.104,5.045 c6.876,0,10.197-2.618,11-3.362c-0.198-3.668-0.44-7.546-0.674-11.214c0-0.004-0.005-0.048-0.005-0.048 c-1.614-25.675-3.627-57.627,4.546-75.95c24.462-54.847,76.339-59.112,91.651-59.112c0.408,0,6.674-0.062,6.674-0.062 c0.283-0.005,0.59-0.009,0.908-0.009c15.354,0,67.339,4.27,91.816,59.15c8.173,18.335,6.158,50.314,4.539,76.016l-0.076,1.23 c-0.222,3.49-0.427,6.793-0.6,9.995c0.756,0.696,3.795,3.096,9.978,3.339c5.271-0.202,11.328-1.891,17.998-5.014 c2.062-0.968,4.345-1.169,5.895-1.169c2.343,0,4.727,0.456,6.714,1.285l0.106,0.041c5.66,2.009,9.367,6.024,9.447,10.242 c0.071,3.932-2.851,9.809-17.223,15.485c-1.472,0.583-3.35,1.179-5.334,1.808c-7.952,2.524-19.951,6.332-23.577,14.878 c-1.97,4.635-1.322,10.326,1.926,16.912c0.036,0.072,0.067,0.145,0.102,0.221c1,2.344,25.205,57.535,79.209,66.432 c2.275,0.379,3.908,2.406,3.778,4.711c-0.048,0.828-0.248,1.656-0.598,2.465c-3.289,7.703-19.915,14.09-48.064,18.438 c-2.642,0.408-3.755,4.678-5.277,11.668c-0.63,2.887-1.271,5.717-2.146,8.691c-0.819,2.797-2.641,4.164-5.567,4.164h-0.441 c-1.905,0-4.604-0.346-8.008-1.012c-5.95-1.158-12.623-2.236-21.109-2.236c-4.948,0-10.069,0.434-15.224,1.287 c-10.473,1.744-19.421,8.062-28.893,14.758C444.443,462.88,429.436,473.488,407.001,473.488"/><path style="fill:#020202;" d="M408.336,124.235c14.455,0,64.231,3.883,87.688,56.472c7.724,17.317,5.744,48.686,4.156,73.885 c-0.248,3.999-0.494,7.875-0.694,11.576l-0.084,1.591l1.062,1.185c0.429,0.476,4.444,4.672,13.374,5.017l0.144,0.008l0.15-0.003 c5.904-0.225,12.554-2.059,19.776-5.442c1.064-0.498,2.48-0.741,3.978-0.741c1.707,0,3.521,0.321,5.017,0.951l0.226,0.09 c3.787,1.327,6.464,3.829,6.505,6.093c0.022,1.28-0.935,5.891-14.359,11.194c-1.312,0.518-3.039,1.069-5.041,1.7 c-8.736,2.774-21.934,6.96-26.376,17.427c-2.501,5.896-1.816,12.854,2.034,20.678c1.584,3.697,26.52,59.865,82.631,69.111 c-0.011,0.266-0.079,0.557-0.229,0.9c-0.951,2.24-6.996,9.979-44.612,15.783c-5.886,0.902-7.328,7.5-9,15.17 c-0.604,2.746-1.218,5.518-2.062,8.381c-0.258,0.865-0.306,0.914-1.233,0.914c-0.128,0-0.278,0-0.442,0 c-1.668,0-4.2-0.346-7.135-0.922c-5.345-1.041-12.647-2.318-21.982-2.318c-5.21,0-10.577,0.453-15.962,1.352 c-11.511,1.914-20.872,8.535-30.786,15.543c-13.314,9.408-27.075,19.143-48.071,19.143c-0.917,0-1.812-0.031-2.709-0.076 l-0.236-0.01l-0.237,0.018c-0.515,0.045-1.034,0.068-1.564,0.068c-20.993,0-34.76-9.732-48.068-19.143 c-9.916-7.008-19.282-13.629-30.791-15.543c-5.38-0.896-10.752-1.352-15.959-1.352c-9.333,0-16.644,1.428-21.978,2.471 c-2.935,0.574-5.476,1.066-7.139,1.066c-1.362,0-1.388-0.08-1.676-1.064c-0.844-2.865-1.461-5.703-2.062-8.445 c-1.676-7.678-3.119-14.312-9.002-15.215c-37.613-5.809-43.659-13.561-44.613-15.795c-0.149-0.352-0.216-0.652-0.231-0.918 c56.11-9.238,81.041-65.408,82.63-69.119c3.857-7.818,4.541-14.775,2.032-20.678c-4.442-10.461-17.638-14.653-26.368-17.422 c-2.007-0.635-3.735-1.187-5.048-1.705c-11.336-4.479-14.823-8.991-14.305-11.725c0.601-3.153,6.067-6.359,10.837-6.359 c1.072,0,2.012,0.173,2.707,0.498c7.747,3.631,14.819,5.472,21.022,5.472c9.751,0,14.091-4.537,14.557-5.055l1.057-1.182 l-0.085-1.583c-0.197-3.699-0.44-7.574-0.696-11.565c-1.583-25.205-3.563-56.553,4.158-73.871 c23.37-52.396,72.903-56.435,87.525-56.435c0.36,0,6.717-0.065,6.717-0.065C407.744,124.239,408.033,124.235,408.336,124.235 M408.336,115.197h-0.017c-0.333,0-0.646,0-0.944,0.004c-2.376,0.024-6.282,0.062-6.633,0.066c-8.566,0-25.705,1.21-44.115,9.336 c-10.526,4.643-19.994,10.921-28.14,18.66c-9.712,9.221-17.624,20.59-23.512,33.796c-8.623,19.336-6.576,51.905-4.932,78.078 l0.006,0.041c0.176,2.803,0.361,5.73,0.53,8.582c-1.265,0.581-3.316,1.194-6.339,1.194c-4.864,0-10.648-1.555-17.187-4.619 c-1.924-0.896-4.12-1.349-6.543-1.349c-3.893,0-7.997,1.146-11.557,3.239c-4.479,2.63-7.373,6.347-8.159,10.468 c-0.518,2.726-0.493,8.114,5.492,13.578c3.292,3.008,8.128,5.782,14.37,8.249c1.638,0.645,3.582,1.261,5.641,1.914 c7.145,2.271,17.959,5.702,20.779,12.339c1.429,3.365,0.814,7.793-1.823,13.145c-0.069,0.146-0.138,0.289-0.201,0.439 c-0.659,1.539-6.807,15.465-19.418,30.152c-7.166,8.352-15.059,15.332-23.447,20.752c-10.238,6.617-21.316,10.943-32.923,12.855 c-4.558,0.748-7.813,4.809-7.559,9.424c0.078,1.33,0.39,2.656,0.931,3.939c0.004,0.008,0.009,0.016,0.013,0.023 c1.843,4.311,6.116,7.973,13.063,11.203c8.489,3.943,21.185,7.26,37.732,9.855c0.836,1.59,1.704,5.586,2.305,8.322 c0.629,2.908,1.285,5.898,2.22,9.074c1.009,3.441,3.626,7.553,10.349,7.553c2.548,0,5.478-0.574,8.871-1.232 c4.969-0.975,11.764-2.305,20.245-2.305c4.702,0,9.575,0.414,14.48,1.229c9.455,1.574,17.606,7.332,27.037,14 c13.804,9.758,29.429,20.803,53.302,20.803c0.651,0,1.304-0.021,1.949-0.066c0.789,0.037,1.767,0.066,2.799,0.066 c23.88,0,39.501-11.049,53.29-20.799l0.022-0.02c9.433-6.66,17.575-12.41,27.027-13.984c4.903-0.814,9.775-1.229,14.479-1.229 c8.102,0,14.517,1.033,20.245,2.15c3.738,0.736,6.643,1.09,8.872,1.09l0.218,0.004h0.226c4.917,0,8.53-2.699,9.909-7.422 c0.916-3.109,1.57-6.029,2.215-8.986c0.562-2.564,1.46-6.674,2.296-8.281c16.558-2.6,29.249-5.91,37.739-9.852 c6.931-3.215,11.199-6.873,13.053-11.166c0.556-1.287,0.881-2.621,0.954-3.979c0.261-4.607-2.999-8.676-7.56-9.424 c-51.585-8.502-74.824-61.506-75.785-63.758c-0.062-0.148-0.132-0.295-0.205-0.438c-2.637-5.354-3.246-9.777-1.816-13.148 c2.814-6.631,13.621-10.062,20.771-12.332c2.07-0.652,4.021-1.272,5.646-1.914c7.039-2.78,12.07-5.796,15.389-9.221 c3.964-4.083,4.736-7.995,4.688-10.555c-0.121-6.194-4.856-11.698-12.388-14.393c-2.544-1.052-5.445-1.607-8.399-1.607 c-2.011,0-4.989,0.276-7.808,1.592c-6.035,2.824-11.441,4.368-16.082,4.588c-2.468-0.125-4.199-0.66-5.32-1.171 c0.141-2.416,0.297-4.898,0.458-7.486l0.067-1.108c1.653-26.19,3.707-58.784-4.92-78.134c-5.913-13.253-13.853-24.651-23.604-33.892 c-8.178-7.744-17.678-14.021-28.242-18.661C434.052,116.402,416.914,115.197,408.336,115.197"/><rect x="147.553" y="39.443" style="fill:none;" width="514.231" height="514.23"/></svg>',speedcurve:{light:'<svg viewBox="0 0 70 70" width="32" height="32" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M65.2 24.44a16.81 16.81 0 0 0-11.61-4.53c-4.39 0-8.51 1.6-11.61 4.53l-8.24 7.76c-.16.16-.3.34-.45.58l-.04.08-.08.04c-.26.14-.45.27-.61.43l-8.66 8.16c-2 1.89-4.66 2.93-7.5 2.93-2.82 0-5.48-1.04-7.49-2.93a9.6 9.6 0 0 1 0-14.13l9.05-8.53c.05-.04.09-.1.13-.15l.07-.09 12.8-12.07a3.84 3.84 0 0 1 2.65-1.03c1 0 1.94.36 2.65 1.03a3.41 3.41 0 0 1 0 5L15.43 31.14a2.64 2.64 0 0 0 0 3.88c.55.52 1.28.8 2.06.8s1.5-.28 2.06-.8l20.82-19.64a8.7 8.7 0 0 0 2.8-6.37c0-2.41-1-4.68-2.8-6.38A9.8 9.8 0 0 0 33.61 0a9.8 9.8 0 0 0-6.76 2.64l-13.9 13.1-.13.15-.07.1-7.95 7.49C1.7 26.4 0 30.28 0 34.42s1.7 8.03 4.8 10.95a16.81 16.81 0 0 0 11.6 4.53c4.4 0 8.51-1.6 11.61-4.53l8.66-8.17c.16-.15.3-.33.45-.57l.05-.08.08-.04c.25-.14.45-.27.6-.43l8.24-7.76c2-1.89 4.67-2.93 7.5-2.93s5.49 1.04 7.49 2.93c2 1.89 3.1 4.4 3.1 7.06 0 2.67-1.1 5.18-3.1 7.07L38.84 63.42a4.1 4.1 0 0 1-2.8 1.1 4.07 4.07 0 0 1-2.81-1.1 3.6 3.6 0 0 1 0-5.29l21.53-20.3a2.65 2.65 0 0 0 0-3.88 2.98 2.98 0 0 0-2.06-.8c-.77 0-1.5.28-2.05.8L29.1 54.25a8.91 8.91 0 0 0-2.86 6.53 8.91 8.91 0 0 0 2.86 6.52c1.85 1.74 4.3 2.7 6.92 2.7s5.08-.96 6.92-2.7L65.2 46.33c3.1-2.93 4.8-6.81 4.8-10.95 0-4.13-1.7-8.02-4.8-10.94" fill="#3c95c5"></path></g></svg>',dark:'<svg viewBox="0 0 70 70" width="32" height="32" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M65.2 24.44a16.81 16.81 0 0 0-11.61-4.53c-4.39 0-8.51 1.6-11.61 4.53l-8.24 7.76c-.16.16-.3.34-.45.58l-.04.08-.08.04c-.26.14-.45.27-.61.43l-8.66 8.16c-2 1.89-4.66 2.93-7.5 2.93-2.82 0-5.48-1.04-7.49-2.93a9.6 9.6 0 0 1 0-14.13l9.05-8.53c.05-.04.09-.1.13-.15l.07-.09 12.8-12.07a3.84 3.84 0 0 1 2.65-1.03c1 0 1.94.36 2.65 1.03a3.41 3.41 0 0 1 0 5L15.43 31.14a2.64 2.64 0 0 0 0 3.88c.55.52 1.28.8 2.06.8s1.5-.28 2.06-.8l20.82-19.64a8.7 8.7 0 0 0 2.8-6.37c0-2.41-1-4.68-2.8-6.38A9.8 9.8 0 0 0 33.61 0a9.8 9.8 0 0 0-6.76 2.64l-13.9 13.1-.13.15-.07.1-7.95 7.49C1.7 26.4 0 30.28 0 34.42s1.7 8.03 4.8 10.95a16.81 16.81 0 0 0 11.6 4.53c4.4 0 8.51-1.6 11.61-4.53l8.66-8.17c.16-.15.3-.33.45-.57l.05-.08.08-.04c.25-.14.45-.27.6-.43l8.24-7.76c2-1.89 4.67-2.93 7.5-2.93s5.49 1.04 7.49 2.93c2 1.89 3.1 4.4 3.1 7.06 0 2.67-1.1 5.18-3.1 7.07L38.84 63.42a4.1 4.1 0 0 1-2.8 1.1 4.07 4.07 0 0 1-2.81-1.1 3.6 3.6 0 0 1 0-5.29l21.53-20.3a2.65 2.65 0 0 0 0-3.88 2.98 2.98 0 0 0-2.06-.8c-.77 0-1.5.28-2.05.8L29.1 54.25a8.91 8.91 0 0 0-2.86 6.53 8.91 8.91 0 0 0 2.86 6.52c1.85 1.74 4.3 2.7 6.92 2.7s5.08-.96 6.92-2.7L65.2 46.33c3.1-2.93 4.8-6.81 4.8-10.95 0-4.13-1.7-8.02-4.8-10.94" fill="#fff"></path></g></svg>'}},ms={ip:!0,userAgent:!0,language:!0,screen:!0,timezone:!0,hardware:!0},Xl={ip:!0,userAgent:!1,language:!0,screen:!1,timezone:!1,hardware:!0},Tt={ip:!0,userAgent:!1,language:!1,screen:!1,timezone:!1,hardware:!1},u4=/[A-Z]/g;function f4(e){return e.replace(u4,t=>`-${t.toLowerCase()}`)}async function d4(e,t,n){const{composableName:r,serverHandlers:s,...o}=n,i={registryKey:t,logo:c4[t],...o};return r!==!1&&(i.import={name:r||`useScript${t.charAt(0).toUpperCase()}${t.slice(1)}`,from:await e(`./runtime/registry/${f4(t)}`)}),s&&(i.serverHandlers=await Promise.all(s.map(async a=>({...a,handler:await e(a.handler)})))),i}async function p4(e){e=e||(n=>Promise.resolve(n));const t=(n,r)=>d4(e,n,r);return Promise.all([t("ahrefsAnalytics",{schema:S5,label:"Ahrefs Web Analytics",src:"https://analytics.ahrefs.com/analytics.js",category:"analytics",envDefaults:{key:""},bundle:!0,proxy:{domains:["analytics.ahrefs.com"],privacy:Tt,sdkPatches:[{type:"replace-new-url-origin",fromDomain:"analytics.ahrefs.com"}]}}),t("plausibleAnalytics",{label:"Plausible Analytics",category:"analytics",envDefaults:{domain:""},bundle:{resolve:n=>{const r=n?.scriptInput?.src;if(typeof r=="string"&&r.trim().length>0)return r.trim();if(n?.scriptId)return`https://plausible.io/js/pa-${n.scriptId}.js`;const s=Array.isArray(n?.extension)?n.extension.join("."):[n?.extension];return n?.extension?`https://plausible.io/js/script.${s}.js`:"https://plausible.io/js/script.js"}},proxy:{domains:["plausible.io"],privacy:Tt,autoInject:{field:"endpoint",target:"plausible.io/api/event"}},partytown:{forwards:["plausible"]}}),t("cloudflareWebAnalytics",{schema:T5,label:"Cloudflare Web Analytics",src:"https://static.cloudflareinsights.com/beacon.min.js",category:"analytics",envDefaults:{token:""},bundle:!0,proxy:{domains:["static.cloudflareinsights.com","cloudflareinsights.com"],privacy:Tt},partytown:{forwards:["__cfBeacon"]}}),t("vercelAnalytics",{schema:i4,label:"Vercel Analytics",src:"https://va.vercel-scripts.com/v1/script.js",category:"analytics",bundle:!0,proxy:{domains:["va.vercel-scripts.com","vitals.vercel-insights.com"],privacy:Tt,configDomainFields:["endpoint"]}}),t("posthog",{composableName:"useScriptPostHog",schema:U5,label:"PostHog",src:!1,category:"analytics",envDefaults:{apiKey:""},proxy:{domains:["us-assets.i.posthog.com","us.i.posthog.com","eu-assets.i.posthog.com","eu.i.posthog.com"],privacy:Tt,autoInject:{field:"apiHost",resolve:(n,r)=>{const o=(r.region||"us")==="eu"?"eu.i.posthog.com":"us.i.posthog.com";return`${n}/${o}`}},configDomainFields:["apiHost"]}}),t("fathomAnalytics",{schema:O5,label:"Fathom Analytics",src:"https://cdn.usefathom.com/script.js",category:"analytics",envDefaults:{site:""},bundle:{sdkPatches:[{type:"neutralize-domain-check",domain:"cdn.usefathom.com"}]}}),t("matomoAnalytics",{schema:z5,label:"Matomo Analytics",category:"analytics",envDefaults:{matomoUrl:""},proxy:{domains:["cdn.matomo.cloud"],privacy:Tt,configDomainFields:["matomoUrl","trackerUrl"]},partytown:{forwards:["_paq.push"]}}),t("rybbitAnalytics",{schema:G5,label:"Rybbit Analytics",category:"analytics",envDefaults:{siteId:""},bundle:{resolve:n=>{const r=n?.analyticsHost;return r&&!r.startsWith("/")?`${r}/script.js`:"https://app.rybbit.io/api/script.js"}},proxy:{domains:["app.rybbit.io"],privacy:Tt,autoInject:{field:"analyticsHost",target:"app.rybbit.io/api"},sdkPatches:[{type:"replace-src-split",separator:"/script.js",fromDomain:"app.rybbit.io",appendPath:"api"}]}}),t("databuddyAnalytics",{schema:R5,label:"Databuddy Analytics",category:"analytics",envDefaults:{clientId:""},bundle:{resolve:()=>"https://cdn.databuddy.cc/databuddy.js"},proxy:{domains:["cdn.databuddy.cc","basket.databuddy.cc"],privacy:Tt,autoInject:{field:"apiUrl",target:"basket.databuddy.cc"},configDomainFields:["scriptUrl"]}}),t("segment",{schema:Z5,label:"Segment",category:"analytics",envDefaults:{writeKey:""},bundle:{resolve:n=>Wo("https://cdn.segment.com/analytics.js/v1",n?.writeKey||"","analytics.min.js")},partytown:{forwards:["analytics","analytics.track","analytics.page","analytics.identify"]}}),t("mixpanelAnalytics",{schema:W5,label:"Mixpanel",category:"analytics",envDefaults:{token:""},bundle:{resolve:n=>n?.token?"https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js":!1},partytown:{forwards:["mixpanel","mixpanel.init","mixpanel.track","mixpanel.identify","mixpanel.people.set","mixpanel.reset","mixpanel.register","mixpanel.opt_in_tracking","mixpanel.opt_out_tracking"]}}),t("bingUet",{schema:K5,label:"Bing UET",src:"https://bat.bing.com/bat.js",category:"ad",envDefaults:{id:""},bundle:!0,partytown:{forwards:["uetq.push"]}}),t("metaPixel",{schema:q5,label:"Meta Pixel",src:"https://connect.facebook.net/en_US/fbevents.js",category:"ad",envDefaults:{id:""},bundle:!0,proxy:{domains:["connect.facebook.net","www.facebook.com","facebook.com","pixel.facebook.com"],privacy:ms},partytown:{forwards:["fbq"]}}),t("xPixel",{schema:a4,label:"X Pixel",src:"https://static.ads-twitter.com/uwt.js",category:"ad",envDefaults:{id:""},bundle:!0,proxy:{domains:["analytics.twitter.com","static.ads-twitter.com","t.co"],privacy:ms},partytown:{forwards:["twq"]}}),t("tiktokPixel",{composableName:"useScriptTikTokPixel",schema:r4,label:"TikTok Pixel",category:"ad",envDefaults:{id:""},bundle:{resolve(n){if(!n?.id)return!1;const r=n.region==="us"?"analytics.us.tiktok.com":"analytics.tiktok.com";return Kr(`https://${r}/i18n/pixel/events.js`,{sdkid:n.id,lib:"ttq"})}},proxy:{domains:["analytics.tiktok.com","analytics.us.tiktok.com","mon.tiktok.com","mcs.tiktok.com"],privacy:ms},partytown:{forwards:["ttq.track","ttq.page","ttq.identify","ttq.grantConsent","ttq.revokeConsent","ttq.holdConsent"]}}),t("snapchatPixel",{schema:t4,label:"Snapchat Pixel",src:"https://sc-static.net/scevent.min.js",category:"ad",envDefaults:{id:""},bundle:!0,proxy:{domains:["sc-static.net","tr.snapchat.com","pixel.tapad.com"],privacy:ms},partytown:{forwards:["snaptr"]}}),t("redditPixel",{schema:V5,label:"Reddit Pixel",src:"https://www.redditstatic.com/ads/pixel.js",category:"ad",envDefaults:{id:""},bundle:!0,proxy:{domains:["www.redditstatic.com","alb.reddit.com","pixel-config.reddit.com"],privacy:ms},partytown:{forwards:["rdt"]}}),t("linkedinInsight",{composableName:"useScriptLinkedInInsight",schema:X5,label:"LinkedIn Insight Tag",src:"https://snap.licdn.com/li.lms-analytics/insight.min.js",category:"ad",envDefaults:{id:""},bundle:!0,proxy:{domains:["snap.licdn.com","px.ads.linkedin.com"],privacy:ms},partytown:{forwards:["lintrk"]}}),t("googleAdsense",{schema:I5,label:"Google Adsense",category:"ad",envDefaults:{client:""},bundle:{resolve:n=>n?.client?Kr("https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js",{client:n?.client}):!1},proxy:"googleAnalytics"}),t("carbonAds",{composableName:!1,label:"Carbon Ads",category:"ad",proxy:{domains:["cdn.carbonads.com","srv.carbonads.net","cdn4.buysellads.net"],privacy:Tt}}),t("intercom",{schema:j5,label:"Intercom",category:"support",envDefaults:{app_id:""},bundle:{resolve(n){return n?.app_id?Wo("https://widget.intercom.io/widget",n?.app_id||""):!1}},proxy:{domains:["widget.intercom.io","api-iam.intercom.io","api-iam.eu.intercom.io","api-iam.au.intercom.io","js.intercomcdn.com","downloads.intercomcdn.com","video-messages.intercomcdn.com"],privacy:Tt}}),t("hotjar",{schema:B5,label:"Hotjar",category:"analytics",envDefaults:{id:""},bundle:{resolve(n){return n?.id?Kr(`https://static.hotjar.com/c/hotjar-${n?.id||""}.js`,{sv:n?.sv||"6"}):!1}},proxy:{domains:["static.hotjar.com","script.hotjar.com","vars.hotjar.com","in.hotjar.com","vc.hotjar.com","vc.hotjar.io","metrics.hotjar.io","insights.hotjar.com","ask.hotjar.io","events.hotjar.io","identify.hotjar.com","surveystats.hotjar.io"],privacy:Xl}}),t("clarity",{schema:A5,label:"Clarity",category:"analytics",envDefaults:{id:""},bundle:{resolve(n){return n?.id?`https://www.clarity.ms/tag/${n?.id}`:!1}},proxy:{domains:["www.clarity.ms","*.clarity.ms"],privacy:Xl},partytown:{forwards:["clarity"]}}),t("stripe",{schema:n4,label:"Stripe",category:"payments"}),t("lemonSqueezy",{label:"Lemon Squeezy",src:!1,category:"payments",proxy:{domains:["assets.lemonsqueezy.com","app.lemonsqueezy.com"],privacy:Tt}}),t("paypal",{composableName:"useScriptPayPal",label:"PayPal",src:!1,envDefaults:{clientId:""},category:"payments"}),t("vimeoPlayer",{label:"Vimeo Player",category:"video",bundle:!0,proxy:{domains:["player.vimeo.com","i.vimeocdn.com","f.vimeocdn.com","fresnel.vimeocdn.com"],privacy:Tt}}),t("youtubePlayer",{composableName:"useScriptYouTubePlayer",label:"YouTube Player",category:"video",bundle:!0,proxy:{domains:["www.youtube.com","www.youtube-nocookie.com","i.ytimg.com","static.doubleclick.net"],privacy:Tt}}),t("googleMaps",{schema:L5,label:"Google Maps",envDefaults:{apiKey:""},category:"content",serverHandlers:[{route:"/_scripts/proxy/google-static-maps",handler:"./runtime/server/google-static-maps-proxy",requiresSigning:!0},{route:"/_scripts/proxy/google-maps-geocode",handler:"./runtime/server/google-maps-geocode-proxy",requiresSigning:!0}]}),t("blueskyEmbed",{composableName:!1,schema:E5,label:"Bluesky Embed",category:"content",serverHandlers:[{route:"/_scripts/embed/bluesky",handler:"./runtime/server/bluesky-embed",requiresSigning:!0},{route:"/_scripts/embed/bluesky-image",handler:"./runtime/server/bluesky-embed-image",requiresSigning:!0}]}),t("instagramEmbed",{composableName:!1,schema:F5,label:"Instagram Embed",category:"content",serverHandlers:[{route:"/_scripts/embed/instagram",handler:"./runtime/server/instagram-embed",requiresSigning:!0},{route:"/_scripts/embed/instagram-image",handler:"./runtime/server/instagram-embed-image",requiresSigning:!0},{route:"/_scripts/embed/instagram-asset",handler:"./runtime/server/instagram-embed-asset",requiresSigning:!0}]}),t("xEmbed",{composableName:!1,schema:o4,label:"X Embed",category:"content",serverHandlers:[{route:"/_scripts/embed/x",handler:"./runtime/server/x-embed",requiresSigning:!0},{route:"/_scripts/embed/x-image",handler:"./runtime/server/x-embed-image",requiresSigning:!0}]}),t("crisp",{schema:P5,label:"Crisp",category:"support",envDefaults:{id:""},bundle:!0}),t("npm",{schema:H5,label:"NPM",category:"cdn",bundle:{resolve(n){return e1(n?.file||"",`https://unpkg.com/${n?.packageName||""}@${n?.version||"latest"}`)}}}),t("calendly",{schema:J5,label:"Calendly",src:"https://assets.calendly.com/assets/external/widget.js",category:"utility",bundle:!0,proxy:{domains:["assets.calendly.com"],privacy:Tt},partytown:{forwards:["Calendly.initInlineWidget","Calendly.initPopupWidget","Calendly.initBadgeWidget"]}}),t("googleRecaptcha",{schema:$5,label:"Google reCAPTCHA",envDefaults:{siteKey:""},category:"utility"}),t("googleSignIn",{schema:N5,label:"Google Sign-In",src:"https://accounts.google.com/gsi/client",envDefaults:{clientId:""},category:"utility"}),t("googleTagManager",{schema:D5,label:"Google Tag Manager",category:"tag-manager",envDefaults:{id:""},bundle:{resolve(n){return n?.id?Kr("https://www.googletagmanager.com/gtm.js",{id:n.id,l:n.l,gtm_auth:n.auth,gtm_preview:n.preview,gtm_cookies_win:n.cookiesWin?"x":void 0,gtm_debug:n.debug?"x":void 0,gtm_npa:n.npa?"1":void 0,gtm_data_layer:n.dataLayer,gtm_env:n.envName,gtm_auth_referrer_policy:n.authReferrerPolicy}):!1}}}),t("googleAnalytics",{schema:M5,label:"Google Analytics",category:"analytics",envDefaults:{id:""},bundle:{resolve(n){return n?.id?Kr("https://www.googletagmanager.com/gtag/js",{id:n?.id,l:n?.l}):!1}},proxy:{domains:["www.google-analytics.com","region1.google-analytics.com","analytics.google.com","stats.g.doubleclick.net","pagead2.googlesyndication.com","www.googleadservices.com","googleads.g.doubleclick.net","www.google.com","www.google.*","www.googletagmanager.com"],privacy:Xl},partytown:{forwards:["dataLayer.push","gtag"]}}),t("umamiAnalytics",{schema:s4,label:"Umami Analytics",category:"analytics",envDefaults:{websiteId:""},bundle:{resolve:()=>"https://cloud.umami.is/script.js"},proxy:{domains:["cloud.umami.is","api-gateway.umami.dev"],privacy:Tt,autoInject:{field:"hostUrl",target:"cloud.umami.is"}},partytown:{forwards:["umami","umami.track"]}}),t("usercentrics",{composableName:"useScriptUsercentrics",schema:Y5,label:"Usercentrics",src:"https://web.cmp.usercentrics.eu/ui/loader.js",category:"utility",envDefaults:{rulesetId:""}}),t("gravatar",{schema:l4,label:"Gravatar",src:"https://secure.gravatar.com/js/gprofiles.js",category:"utility",bundle:!0,proxy:{domains:["secure.gravatar.com","gravatar.com"],privacy:Tt},serverHandlers:[{route:"/_scripts/proxy/gravatar",handler:"./runtime/server/gravatar-proxy",requiresSigning:!0}]}),t("speedcurve",{schema:e4,label:"SpeedCurve LUX",src:!1,category:"analytics",envDefaults:{id:""},composableName:"useScriptSpeedCurve"})])}function h4(e,t){var n;const r=at();return dn(()=>{r.value=e()},{...t,flush:(n=t?.flush)!==null&&n!==void 0?n:"sync"}),Bo(r)}function Js(e,t){return oi()?(ii(e,t),!0):!1}function g4(){const e=new Set,t=o=>{e.delete(o)};return{on:o=>{e.add(o);const i=()=>t(o);return Js(i),{off:i}},off:t,trigger:(...o)=>Promise.all(Array.from(e).map(i=>i(...o))),clear:()=>{e.clear()}}}function VO(e){let t=!1,n;const r=Ju(!0);return((...s)=>(t||(n=r.run(()=>e(...s)),t=!0),n))}const hr=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const m4=e=>typeof e<"u",y4=Object.prototype.toString,v4=e=>y4.call(e)==="[object Object]",Er=()=>{};function p1(...e){if(e.length!==1)return Nt(...e);const t=e[0];return typeof t=="function"?Bo(nf(()=>({get:t,set:Er}))):Q(t)}function h1(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}const g1=e=>e();function b4(e,t={}){let n,r,s=Er;const o=l=>{clearTimeout(l),s(),s=Er};let i;return l=>{const c=He(e),u=He(t.maxWait);return n&&o(n),c<=0||u!==void 0&&u<=0?(r&&(o(r),r=void 0),Promise.resolve(l())):new Promise((f,d)=>{s=t.rejectOnCancel?d:f,i=l,u&&!r&&(r=setTimeout(()=>{n&&o(n),r=void 0,f(i())},u)),n=setTimeout(()=>{r&&o(r),r=void 0,f(l())},c)})}}function w4(e=g1,t={}){const{initialState:n="active"}=t,r=p1(n==="active");function s(){r.value=!1}function o(){r.value=!0}return{isActive:an(r),pause:s,resume:o,eventFilter:(...a)=>{r.value&&e(...a)}}}function _4(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function Yl(e){return Array.isArray(e)?e:[e]}function m1(e){return lt()}function pf(e){if(!hr)return e;let t=0,n,r;const s=()=>{t-=1,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return((...o)=>(t+=1,r||(r=Ju(!0),n=r.run(()=>e(...o))),Js(s),n))}function x4(e){return xt(Xe(e)?new Proxy({},{get(t,n,r){return _(Reflect.get(e.value,n,r))},set(t,n,r){return Xe(e.value[n])&&!Xe(r)?e.value[n].value=r:e.value[n]=r,!0},deleteProperty(t,n){return Reflect.deleteProperty(e.value,n)},has(t,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}}):e)}function y1(e){return x4(R(e))}function C4(e,...t){const n=t.flat(),r=n[0];return y1(()=>Object.fromEntries(typeof r=="function"?Object.entries(Rr(e)).filter(([s,o])=>!r(He(o),s)):Object.entries(Rr(e)).filter(s=>!n.includes(s[0]))))}function us(e,...t){const n=t.flat(),r=n[0];return y1(()=>Object.fromEntries(typeof r=="function"?Object.entries(Rr(e)).filter(([s,o])=>r(He(o),s)):n.map(s=>[s,p1(e,s)])))}function k4(e,t=1e4){return nf((n,r)=>{let s=He(e),o;const i=()=>setTimeout(()=>{s=He(e),r()},He(t));return Js(()=>{clearTimeout(o)}),{get(){return n(),s},set(a){s=a,r(),clearTimeout(o),o=i()}}})}function v1(e,t=200,n={}){return h1(b4(t,n),e)}function S4(e,t,n={}){const{eventFilter:r=g1,...s}=n;return Ne(e,h1(r,t),s)}function Hc(e,t,n={}){const{eventFilter:r,initialState:s="active",...o}=n,{eventFilter:i,pause:a,resume:l,isActive:c}=w4(r,{initialState:s});return{stop:S4(e,t,{...o,eventFilter:i}),pause:a,resume:l,isActive:c}}function GO(e,t,...[n]){const{flush:r="sync",deep:s=!1,immediate:o=!0,direction:i="both",transform:a={}}=n||{},l=[],c="ltr"in a&&a.ltr||(d=>d),u="rtl"in a&&a.rtl||(d=>d);return(i==="both"||i==="ltr")&&l.push(Hc(e,d=>{l.forEach(p=>p.pause()),t.value=c(d),l.forEach(p=>p.resume())},{flush:r,deep:s,immediate:o})),(i==="both"||i==="rtl")&&l.push(Hc(t,d=>{l.forEach(p=>p.pause()),e.value=u(d),l.forEach(p=>p.resume())},{flush:r,deep:s,immediate:o})),()=>{l.forEach(d=>d.stop())}}function WO(e,t){m1()&&cs(e,t)}function E4(e,t=!0,n){m1()?It(e,n):t?e():At(e)}function pl(e,t,n={}){const{immediate:r=!0,immediateCallback:s=!1}=n,o=at(!1);let i;function a(){i&&(clearTimeout(i),i=void 0)}function l(){o.value=!1,a()}function c(...u){s&&e(),a(),o.value=!0,i=setTimeout(()=>{o.value=!1,i=void 0,e(...u)},He(t))}return r&&(o.value=!0,hr&&c()),Js(l),{isPending:an(o),start:c,stop:l}}function A4(e=1e3,t={}){const{controls:n=!1,callback:r}=t,s=pl(r??Er,e,t),o=R(()=>!s.isPending.value);return n?{ready:o,...s}:o}function T4(e,t,n){return Ne(e,t,{...n,immediate:!0})}const $n=hr?window:void 0,b1=hr?window.navigator:void 0;function yn(e){var t;const n=He(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function Bn(...e){const t=(r,s,o,i)=>(r.addEventListener(s,o,i),()=>r.removeEventListener(s,o,i)),n=R(()=>{const r=Yl(He(e[0])).filter(s=>s!=null);return r.every(s=>typeof s!="string")?r:void 0});return T4(()=>{var r,s;return[(r=(s=n.value)===null||s===void 0?void 0:s.map(o=>yn(o)))!==null&&r!==void 0?r:[$n].filter(o=>o!=null),Yl(He(n.value?e[1]:e[0])),Yl(_(n.value?e[2]:e[1])),He(n.value?e[3]:e[2])]},([r,s,o,i],a,l)=>{if(!r?.length||!s?.length||!o?.length)return;const c=v4(i)?{...i}:i,u=r.flatMap(f=>s.flatMap(d=>o.map(p=>t(f,d,p,c))));l(()=>{u.forEach(f=>f())})},{flush:"post"})}function P4(e,t,n={}){const{window:r=$n,ignore:s=[],capture:o=!0,detectIframe:i=!1,controls:a=!1}=n;if(!r)return a?{stop:Er,cancel:Er,trigger:Er}:Er;let l=!0;const c=v=>He(s).some(b=>{if(typeof b=="string")return Array.from(r.document.querySelectorAll(b)).some(y=>y===v.target||v.composedPath().includes(y));{const y=yn(b);return y&&(v.target===y||v.composedPath().includes(y))}});function u(v){const b=He(v);return b&&b.$.subTree.shapeFlag===16}function f(v,b){const y=He(v),g=y.$.subTree&&y.$.subTree.children;return g==null||!Array.isArray(g)?!1:g.some(w=>w.el===b.target||b.composedPath().includes(w.el))}const d=v=>{const b=yn(e);if(v.target!=null&&!(!(b instanceof Element)&&u(e)&&f(e,v))&&!(!b||b===v.target||v.composedPath().includes(b))){if("detail"in v&&v.detail===0&&(l=!c(v)),!l){l=!0;return}t(v)}};let p=!1;const h=[Bn(r,"click",v=>{p||(p=!0,setTimeout(()=>{p=!1},0),d(v))},{passive:!0,capture:o}),Bn(r,"pointerdown",v=>{const b=yn(e);l=!c(v)&&!!(b&&!v.composedPath().includes(b))},{passive:!0}),i&&Bn(r,"blur",v=>{setTimeout(()=>{const b=yn(e);let y=r.document.activeElement;for(;y?.shadowRoot;)y=y.shadowRoot.activeElement;y?.tagName==="IFRAME"&&!b?.contains(r.document.activeElement)&&t(v)},0)},{passive:!0})].filter(Boolean),m=()=>h.forEach(v=>v());return a?{stop:m,cancel:()=>{l=!1},trigger:v=>{l=!0,d(v),l=!1}}:m}function w1(){const e=at(!1),t=lt();return t&&It(()=>{e.value=!0},t),e}function _1(e){const t=w1();return R(()=>(t.value,!!e()))}function R4(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function hf(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:s=$n,eventName:o="keydown",passive:i=!1,dedupe:a=!1}=r,l=R4(t);return Bn(s,o,u=>{u.repeat&&He(a)||l(u)&&n(u)},i)}function O4(e,t={}){const{immediate:n=!0,fpsLimit:r=null,window:s=$n,once:o=!1}=t,i=at(!1),a=R(()=>{const p=He(r);return p?1e3/p:null});let l=0,c=null;function u(p){if(!i.value||!s)return;l||(l=p);const h=p-l;if(a.value&&h<a.value){c=s.requestAnimationFrame(u);return}if(l=p,e({delta:h,timestamp:p}),o){i.value=!1,c=null;return}c=s.requestAnimationFrame(u)}function f(){!i.value&&s&&(i.value=!0,l=0,c=s.requestAnimationFrame(u))}function d(){i.value=!1,c!=null&&s&&(s.cancelAnimationFrame(c),c=null)}return n&&f(),Js(d),{isActive:an(i),pause:d,resume:f}}function Gd(e,t={}){const{controls:n=!1,navigator:r=b1}=t,s=_1(()=>r&&"permissions"in r),o=at(),i=typeof e=="string"?{name:e}:e,a=at(),l=()=>{var u,f;a.value=(u=(f=o.value)===null||f===void 0?void 0:f.state)!==null&&u!==void 0?u:"prompt"};Bn(o,"change",l,{passive:!0});const c=_4(async()=>{if(s.value){if(!o.value)try{o.value=await r.permissions.query(i)}catch{o.value=void 0}finally{l()}if(n)return Me(o.value)}});return c(),n?{state:a,isSupported:s,query:c}:a}function KO(e={}){const{navigator:t=b1,read:n=!1,source:r,copiedDuring:s=1500,legacy:o=!1}=e,i=_1(()=>t&&"clipboard"in t),a=Gd("clipboard-read"),l=Gd("clipboard-write"),c=R(()=>i.value||o),u=at(""),f=at(!1),d=at(!1),p=pl(()=>f.value=!1,s,{immediate:!1});let h=0;async function m(){let x=!(i.value&&w(a.value));if(!x)try{u.value=await t.clipboard.readText()}catch{x=!0}x&&(u.value=g())}c.value&&n&&Bn(["copy","cut"],m,{passive:!0});async function v(x){const S=x??He(r);if(c.value&&S!=null){d.value=!0;let k=!(i.value&&w(l.value));if(!k)try{const T=b(S);await t.clipboard.write([T])}catch{k=!0}if(k)if(typeof S=="string")u.value=S,y(S);else{const T=++h,P=await S();P!=null&&T===h&&(u.value=P,y(P))}f.value=!0,p.start(),d.value=!1}}function b(x){return typeof x=="string"?(u.value=x,new ClipboardItem({"text/plain":x})):new ClipboardItem({"text/plain":x().then((S="")=>(u.value=S,new Blob([S],{type:"text/plain"})))})}function y(x){const S=document.createElement("textarea");S.value=x,S.style.position="absolute",S.style.opacity="0",S.setAttribute("readonly",""),document.body.appendChild(S),S.select(),document.execCommand("copy"),S.remove()}function g(){var x,S,k;return(x=(S=document)===null||S===void 0||(k=S.getSelection)===null||k===void 0||(k=k.call(S))===null||k===void 0?void 0:k.toString())!==null&&x!==void 0?x:""}function w(x){return x==="granted"||x==="prompt"}return{copyPending:an(d),isSupported:c,text:an(u),copied:an(f),copy:v}}function I4(e){return JSON.parse(JSON.stringify(e))}const Ai=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ti="__vueuse_ssr_handlers__",M4=L4();function L4(){return Ti in Ai||(Ai[Ti]=Ai[Ti]||{}),Ai[Ti]}function $4(e,t){return M4[e]||t}function N4(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const D4={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Wd="vueuse-storage";function B4(e,t,n,r={}){var s;const{flush:o="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:f=$n,eventFilter:d,onError:p=O=>{console.error(O)},initOnMounted:h}=r,m=(u?at:Q)(typeof t=="function"?t():t),v=R(()=>He(e));if(!n)try{n=$4("getDefaultStorage",()=>$n?.localStorage)()}catch(O){p(O)}if(!n)return m;const b=He(t),y=N4(b),g=(s=r.serializer)!==null&&s!==void 0?s:D4[y],{pause:w,resume:x}=Hc(m,O=>I(O),{flush:o,deep:i,eventFilter:d});Ne(v,()=>M(),{flush:o});let S=!1;const k=O=>{h&&!S||M(O)},T=O=>{h&&!S||Y(O)};f&&a&&(n instanceof Storage?Bn(f,"storage",k,{passive:!0}):Bn(f,Wd,T)),h?E4(()=>{S=!0,M()}):M();function P(O,q){if(f){const $={key:v.value,oldValue:O,newValue:q,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",$):new CustomEvent(Wd,{detail:$}))}}function I(O){try{const q=n.getItem(v.value);if(O==null)P(q,null),n.removeItem(v.value);else{const $=g.write(O);q!==$&&(n.setItem(v.value,$),P(q,$))}}catch(q){p(q)}}function D(O){const q=O?O.newValue:n.getItem(v.value);if(q==null)return l&&b!=null&&n.setItem(v.value,g.write(b)),b;if(!O&&c){const $=g.read(q);return typeof c=="function"?c($,b):y==="object"&&!Array.isArray($)?{...b,...$}:$}else return typeof q!="string"?q:g.read(q)}function M(O){if(!(O&&O.storageArea!==n)){if(O&&O.key==null){m.value=b;return}if(!(O&&O.key!==v.value)){w();try{const q=g.write(m.value);(O===void 0||O?.newValue!==q)&&(m.value=D(O))}catch(q){p(q)}finally{O?At(x):x()}}}}function Y(O){M(O.detail)}return m}function x1(e,t,n={}){const{window:r=$n}=n;return B4(e,t,r?.localStorage,n)}function Ko(e,t,n,r={}){var s,o;const{clone:i=!1,passive:a=!1,eventName:l,deep:c=!1,defaultValue:u,shouldEmit:f}=r,d=lt(),p=n||d?.emit||(d==null||(s=d.$emit)===null||s===void 0?void 0:s.bind(d))||(d==null||(o=d.proxy)===null||o===void 0||(o=o.$emit)===null||o===void 0?void 0:o.bind(d?.proxy));let h=l;t||(t="modelValue"),h=h||`update:${t.toString()}`;const m=y=>i?typeof i=="function"?i(y):I4(y):y,v=()=>m4(e[t])?m(e[t]):u,b=y=>{f?f(y)&&p(h,y):p(h,y)};if(a){const y=Q(v());let g=!1;return Ne(()=>e[t],w=>{g||(g=!0,y.value=m(w),At(()=>g=!1))}),Ne(y,w=>{!g&&(w!==e[t]||c)&&b(w)},{deep:c}),y}else return R({get(){return v()},set(y){b(y)}})}async function F4(e){const t=await fetch(e,{headers:{"Accept-Encoding":"gzip"}}).catch(s=>({size:null,error:s}));if(t?.error)return t;if(!t.ok)return{size:null,error:new Error(`Failed to fetch ${t.status} ${t.statusText}`)};if((t.headers.get("Content-Type")||"").includes("text/html"))return{size:null};const r=await j4(t);return r?{size:z4(r)}:{size:null}}async function j4(e){const t=e.body?.getReader(),n=e.headers.get("Content-Length");if(n)return Number(n);if(!t)return null;let r=0,s=!1;for(;!s;){const o=await t.read();s=o.done,r+=o.value?.length||0}return r>0?r:null}function z4(e){const t=["Bytes","KB","MB","GB","TB"];if(e===0)return"0 Byte";const n=Math.floor(Math.log(e)/Math.log(1024));return`${Number.parseFloat((e/1024**n).toFixed(2))} ${t[n]}`}function XO(e){return new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"numeric",second:"numeric",hour12:!0}).format(e)}function YO(e){return X3(e)?e:new URL(e).origin}function q4(e){return e<1e3?`${e}ms`:e<6e4?`${(e/1e3).toFixed(2)}s`:`${(e/6e4).toFixed(2)}m`}function JO(e){return e===0?"0 B":e<1024?`${e} B`:e<1024*1024?`${(e/1024).toFixed(1)} KB`:`${(e/(1024*1024)).toFixed(1)} MB`}const H4=Q(Date.now()),C1=Q("/"),U4=Q(),ns=x1("nuxt-scripts:standalone-url",""),xa=Q(!1),_o=R(()=>!xa.value&&!!ns.value),V4=v1(()=>{H4.value=Date.now()},200),k1=x1("nuxt-scripts:preview-source","local"),Uc=Q(""),S1=R(()=>{const e=Uc.value;return!e||!xn(e)?!1:!e.includes("localhost")&&!e.includes("127.0.0.1")}),Pi=R(()=>k1.value==="production"&&S1.value),G4=p4(),E1=Q([]),Kd=Q({}),Xd=xt({}),Yd=xt({}),A1=xt({}),gf=Q(null),zs=Q(null);let Ca=null;async function W4(){E1.value=await G4,Ca&&ka(Ca)}const K4=/([\s_-])+/g,X4=/ /g,Y4=/\(([^)]*)\)/;function J4(e){return e.replace(K4," ").split(" ").map((t,n)=>n===0?t.toLowerCase():t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()).join("")}function ka(e){if(!e||typeof e!="object"){Ca=null,Kd.value={};return}Ca=e,Kd.value=Object.fromEntries(Object.entries({...e}).map(([t,n])=>{if(n.registry=E1.value.find(i=>J4(i.label)===n.registryKey),n.registry){const i=n.registry.label.toLowerCase().replace(X4,"-");n.docs=`https://scripts.nuxt.com/scripts/${i}`}const r=n.events?.find(i=>i.status==="loading")?.at||0,s=n.events?.find(i=>i.status==="loaded")?.at||0;r&&s&&(n.loadTime=q4(s-r));const o=n.src;return!Xd[o]&&n.src&&!_o.value&&F4(n.src).then(i=>{i.size&&(Xd[o]=i.size,n.size=i.size),i.error&&(Yd[o]=i.error instanceof Error?i.error.message:String(i.error),n.error=Yd[o])}),[t,n]}))}function ZO(e){const t=e?.$script?.status;return t?typeof t=="object"&&"value"in t?t.value:String(t):"unknown"}function QO(e){return typeof e?.$script?.load=="function"}function eI(e){return!e||!zs.value?.enabled?!1:zs.value.scripts.some(t=>t.registryKey===e)}function tI(e){if(!(!e||!zs.value?.enabled))return zs.value.scripts.find(t=>t.registryKey===e)}function nI(e){return A1[e]||"events"}function rI(e,t){A1[e]=t}function sI(e){const t=e.registry?.logo;return t?typeof t=="object"?t.dark||t.light:t:null}function Z4(e,t){const n=t.toString(),s=n.match(Y4)?.[1]?.trim()||"",o=s?s.split(",").map((a,l)=>{const c=a.trim();return c?c.includes(":")?c:`${c||`param${l+1}`}: any`:""}).filter(Boolean).join(", "):"";let i="any";return e.startsWith("is")||e.startsWith("has")||e.startsWith("can")?i="boolean":e.startsWith("get")&&e.includes("Element")?i="HTMLElement | null":e.includes("async")||n.includes("async")||n.includes("Promise")?i="Promise<any>":(e.startsWith("on")||e.includes("listen")||e.includes("subscribe"))&&(i="void"),`${e}(${o}): ${i}`}function Q4(e,t){let n=typeof t;return t===null?n="null":Array.isArray(t)?n=t.length>0&&t.every(r=>typeof r==typeof t[0])?`${typeof t[0]}[]`:"any[]":n==="object"?n=t.constructor?.name!=="Object"?t.constructor.name:"object":n==="function"&&(n="Function"),`${e}: ${n}`}function oI(e){if(!e||typeof e!="object")return`interface ScriptInstance {
|
|
5
|
-
// No API available
|
|
6
|
-
}`;const t=Object.entries(e).map(([n,r])=>typeof r=="function"?` ${Z4(n,r)}`:` ${Q4(n,r)}`);return t.length?`interface ScriptInstance {
|
|
7
|
-
${t.join(`
|
|
8
|
-
`)}
|
|
9
|
-
}`:`interface ScriptInstance {
|
|
10
|
-
// No API available
|
|
11
|
-
}`}const mf=()=>p5().app,e6=()=>mf().baseURL,t6=()=>mf().buildAssetsDir,yf=(...e)=>n1(T1(),t6(),...e),T1=(...e)=>{const t=mf(),n=t.cdnURL||t.baseURL;return e.length?n1(n,...e):n};globalThis.__buildAssetsURL=yf,globalThis.__publicAssetsURL=T1;globalThis.$fetch||(globalThis.$fetch=d5.create({baseURL:e6()}));"global"in globalThis||(globalThis.global=globalThis);function Vc(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?Vc(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const P1=(()=>{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function R1(e,t,n,r){for(let s=n;s<e.length;s+=1)try{const o=r?r.run(()=>e[s](...t)):e[s](...t);if(o&&typeof o.then=="function")return Promise.resolve(o).then(()=>R1(e,t,s+1,r))}catch(o){return Promise.reject(o)}}function n6(e,t,n){if(e.length>0)return R1(e,t,0,P1(n))}function r6(e,t,n){if(e.length>0){const r=P1(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}}function Jl(e,t){for(const n of[...e])n(t)}var s6=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;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,t,n={}){if(!e||typeof t!="function")return()=>{};const r=e;let s;for(;this._deprecatedHooks[e];)s=this._deprecatedHooks[e],e=s.to;if(s&&!n.allowDeprecated){let o=s.message;o||(o=`${r} 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(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,r=(...s)=>(typeof n=="function"&&n(),n=void 0,r=void 0,t(...s));return n=this.hook(e,r),n}removeHook(e,t){const n=this._hooks[e];if(n){const r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}clearHook(e){this._hooks[e]=void 0}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t=="string"?{to:t}:t;const n=this._hooks[e]||[];this._hooks[e]=void 0;for(const r of n)this.hook(e,r)}deprecateHooks(e){for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=Vc(e),n=Object.keys(t).map(r=>this.hook(r,t[r]));return()=>{for(const r of n)r();n.length=0}}removeHooks(e){const t=Vc(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(n6,e,t)}callHookParallel(e,...t){return this.callHookWith(r6,e,t)}callHookWith(e,t,n){const r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&Jl(this._before,r);const s=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return s instanceof Promise?s.finally(()=>{this._after&&r&&Jl(this._after,r)}):(this._after&&r&&Jl(this._after,r),s)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function O1(){return new s6}function o6(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let s;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?s=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const o=()=>{if(s){const i=s.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=o();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>o(),set:(i,a)=>{a||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{r(i),t=i;try{return s?s.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const l=()=>{t=i},c=()=>t===i?l:void 0;Gc.add(c);try{const u=s?s.run(i,a):a();return n||(t=void 0),await u}finally{Gc.delete(c)}}}}function i6(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=o6({...e,...r})),t[n]}}}const Sa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Jd="__unctx__",a6=Sa[Jd]||(Sa[Jd]=i6()),l6=(e,t={})=>a6.get(e,t),Zd="__unctx_async_handlers__",Gc=Sa[Zd]||(Sa[Zd]=new Set);function Oo(e){const t=[];for(const s of Gc){const o=s();o&&t.push(o)}const n=()=>{for(const s of t)s()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(s=>{throw n(),s})),[r,n]}const Qd=!1,c6=!1,ep={id:"__nuxt-loader"},u6={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},f6={deep:!1},d6="#__nuxt",I1="nuxt-app",tp=36e5,p6="vite:preloadError";function M1(e=I1){return l6(e,{asyncContext:!1})}const h6="__nuxt_plugin";function g6(e){let t=0;const n={_id:e.id||I1||"nuxt-app",_scope:Ju(),provide:void 0,versions:{get nuxt(){return"4.4.8"},get vue(){return n.vueApp.version}},payload:hn({...e.ssrContext?.payload||{},data:hn({}),state:xt({}),once:new Set,_errors:hn({})}),static:{data:{}},runWithContext(s){return n._scope.active&&!oi()?n._scope.run(()=>np(n,s)):np(n,s)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let s=!1;return()=>{if(!s&&(s=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:hn({}),_state:hn({}),_payloadRevivers:{},...e};{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=O1(),n.hook=n.hooks.hook;{const s=n.hooks.callHook;n.hooks.callHook=(o,...i)=>Promise.resolve().then(()=>s(o,...i))}n.callHook=n.hooks.callHook,n.provide=(s,o)=>{const i="$"+s;Ri(n,i,o),Ri(n.vueApp.config.globalProperties,i,o)},Ri(n.vueApp,"$nuxt",n),Ri(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(p6,o=>{n.callHook("app:chunkError",{error:o.payload}),o.payload?.message?.includes("Unable to preload CSS")&&o.preventDefault()}),window.useNuxtApp||=Ue;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 m6(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function y6(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function v6(e,t){const n=new Set,r=[],s=[];let o,i=0;async function a(l){const c=l.dependsOn?.filter(u=>t.some(f=>f._name===u)&&!n.has(u))??[];if(c.length>0)r.push([new Set(c),l]);else{const u=y6(e,l).then(async()=>{l._name&&(n.add(l._name),await Promise.all(r.map(async([f,d])=>{f.has(l._name)&&(f.delete(l._name),f.size===0&&(i++,await a(d)))})))}).catch(f=>{if(!l.parallel&&!e.payload.error)throw f;o||=f});l.parallel?s.push(u):await u}}for(const l of t)m6(e,l);for(const l of t)await a(l);if(await Promise.all(s),i)for(let l=0;l<i;l++)await Promise.all(s);if(o)throw e.payload.error||o}function An(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[h6]:!0,_name:t})}function np(e,t,n){const r=()=>t();return M1(e._id).set(e),e.vueApp.runWithContext(r)}function b6(e){let t;return il()&&(t=lt()?.appContext.app.$nuxt),t||=M1(e).tryUse(),t||null}function Ue(e){const t=b6(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function ui(e){return Ue().$config}function Ri(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function Zl(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Wc(e,t,n=".",r){if(!Zl(t))return Wc(e,{},n,r);const s={...t};for(const o of Object.keys(e)){if(o==="__proto__"||o==="constructor")continue;const i=e[o];i!=null&&(r&&r(s,o,i,n)||(Array.isArray(i)&&Array.isArray(s[o])?s[o]=[...i,...s[o]]:Zl(i)&&Zl(s[o])?s[o]=Wc(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function L1(e){return(...t)=>t.reduce((n,r)=>Wc(n,r,"",e),{})}const Vn=L1(),w6=L1((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function _6(e,t){try{return t in e}catch{return!1}}class rp extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(t,n={}){super(t,n),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Kc(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=$1(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function x6(e){if(typeof e=="string")return new rp(e);if(C6(e))return e;const t=new rp(e.message??e.statusMessage??"",{cause:e.cause||e});if(_6(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=Kc(e.statusCode,t.statusCode):e.status&&(t.statusCode=Kc(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;$1(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function C6(e){return e?.constructor?.__h3_error__===!0}const k6=/[^\u0009\u0020-\u007E]/g;function $1(e=""){return e.replace(k6,"")}function Kc(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const S6=Symbol("layout-meta"),hl=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const Ut=()=>Ue()?.$router,vf=()=>il()?We(hl,Ue()._route):Ue()._route;const E6=()=>{try{if(Ue()._processingMiddleware)return!0}catch{return!1}return!1},A6=(e,t)=>{e||="/";const n=typeof e=="string"?e:"path"in e?Xc(e):Ut().resolve(e).href;if(t?.open){const{protocol:c}=new URL(n,window.location.href);if(c&&ba(c))throw new Error(`Cannot navigate to a URL with '${c}' protocol.`);const{target:u="_blank",windowFeatures:f={}}=t.open,d=[];for(const[p,h]of Object.entries(f))h!==void 0&&d.push(`${p.toLowerCase()}=${h}`);return open(n,u,d.join(", ")),Promise.resolve()}const r=xn(n,{acceptRelative:!0}),s=t?.external||r;if(s){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:c}=new URL(n,window.location.href);if(c&&ba(c))throw new Error(`Cannot navigate to a URL with '${c}' protocol.`)}const o=E6();if(!s&&o){if(t?.replace){if(typeof e=="string"){const{pathname:c,search:u,hash:f}=df(e);return{path:c,...u&&{query:ff(u)},...f&&{hash:f},replace:!0}}return{...e,replace:!0}}return e}const i=Ut(),a=Ue();if(s)return a._scope.stop(),t?.replace?location.replace(n):location.href=n,o?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve();const l=typeof e=="string"?N1(e):e;return t?.replace?i.replace(l):i.push(l)};function Xc(e){return Kr(e.path||"",e.query||{})+(e.hash||"")}function N1(e){const t=df(e);return D3(B3(t.pathname))+t.search+t.hash}const D1="__nuxt_error",gl=()=>Nt(Ue().payload,"error"),Vr=e=>{const t=Tr(e);try{const n=gl();Ue().hooks.callHook("app:error",t),n.value||=t}catch{throw t}return t},T6=async(e={})=>{const t=Ue(),n=gl();t.callHook("app:error:cleared",e),e.redirect&&await Ut().replace(e.redirect),n.value=void 0},B1=e=>!!e&&typeof e=="object"&&D1 in e,Tr=e=>{typeof e!="string"&&e.statusText&&(e.message??=e.statusText);const t=x6(e);return Object.defineProperty(t,D1,{value:!0,configurable:!1,writable:!1}),Object.defineProperty(t,"status",{get:()=>t.statusCode,configurable:!0}),Object.defineProperty(t,"statusText",{get:()=>t.statusMessage,configurable:!0}),t},P6=-1,R6=-2,O6=-3,I6=-4,M6=-5,L6=-6,$6=-7,F1=2**32-1,Yc=F1-1;function N6(e){return!(!Number.isInteger(e)||e<0||e>Yc)}function D6(e){return!(!Number.isInteger(e)||e<0||e>F1)}function B6(e){return Uint8Array.fromBase64(e).buffer}function F6(e){return Uint8Array.from(Buffer.from(e,"base64")).buffer}function j6(e){const t=atob(e),n=t.length,r=new Uint8Array(n);for(let s=0;s<n;s++)r[s]=t.charCodeAt(s);return r.buffer}const z6=typeof Uint8Array.fromBase64=="function",q6=typeof process=="object"&&process.versions?.node!==void 0,H6=z6?B6:q6?F6:j6;function U6(e,t){return V6(JSON.parse(e),t)}function V6(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);let s=null;function o(i,a=!1){if(i===P6)return;if(i===O6)return NaN;if(i===I6)return 1/0;if(i===M6)return-1/0;if(i===L6)return-0;if(a||typeof i!="number")throw new Error("Invalid input");if(i in r)return r[i];const l=n[i];if(!l||typeof l!="object")r[i]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const c=l[0],u=t&&Object.hasOwn(t,c)?t[c]:void 0;if(u){let f=l[1];if(typeof f!="number"&&(f=n.push(l[1])-1),s??=new Set,s.has(f))throw new Error("Invalid circular reference");return s.add(f),r[i]=u(o(f)),s.delete(f),r[i]}switch(c){case"Date":r[i]=new Date(l[1]);break;case"Set":const f=new Set;r[i]=f;for(let h=1;h<l.length;h+=1)f.add(o(l[h]));break;case"Map":const d=new Map;r[i]=d;for(let h=1;h<l.length;h+=2)d.set(o(l[h]),o(l[h+1]));break;case"RegExp":r[i]=new RegExp(l[1],l[2]);break;case"Object":{const h=l[1];if(typeof n[h]=="object"&&n[h][0]!=="BigInt")throw new Error("Invalid input");r[i]=Object(o(h));break}case"BigInt":r[i]=BigInt(l[1]);break;case"null":const p=Object.create(null);r[i]=p;for(let h=1;h<l.length;h+=2){if(l[h]==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");p[l[h]]=o(l[h+1])}break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Float16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":case"DataView":{if(n[l[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const h=globalThis[c],m=o(l[1]);r[i]=l[2]!==void 0?new h(m,l[2],l[3]):new h(m);break}case"ArrayBuffer":{const h=l[1];if(typeof h!="string")throw new Error("Invalid ArrayBuffer encoding");const m=H6(h);r[i]=m;break}case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{const h=c.slice(9);r[i]=Temporal[h].from(l[1]);break}case"URL":{const h=new URL(l[1]);r[i]=h;break}case"URLSearchParams":{const h=new URLSearchParams(l[1]);r[i]=h;break}default:throw new Error(`Unknown type ${c}`)}}else if(l[0]===$6){const c=l[1];if(!D6(c))throw new Error("Invalid input");const u=[];r[i]=u,u[Yc]=void 0,delete u[Yc];for(let f=2;f<l.length;f+=2){const d=l[f];if(!N6(d)||d>=c)throw new Error("Invalid input");u[d]=o(l[f+1])}u.length=c}else{const c=new Array(l.length);r[i]=c;for(let u=0;u<l.length;u+=1){const f=l[u];f!==R6&&(c[u]=o(f))}}else{const c={};r[i]=c;for(const u of Object.keys(l)){if(u==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");const f=l[u];c[u]=o(f)}}return r[i]}return o(0)}const G6=new Set(["link","style","script","noscript"]),W6=new Set(["title","titleTemplate","script","style","noscript"]),Jc=new Set(["base","meta","link","style","script","noscript"]),K6=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),X6=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Y6=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),J6=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Z6=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),Q6=["name","property","http-equiv"],ew=new Set(["viewport","description","keywords","robots"]);function j1(e){const t=e.split(":");return t.length?Z6.has(t[1]):!1}function Zc(e){const{props:t,tag:n}=e;if(X6.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(n==="link"&&t.rel==="alternate"){if(t.hreflang)return`alternate:${t.hreflang}`;if(t.type)return`alternate:${t.type}:${t.href||""}`}if(t.charset)return"charset";if(e.tag==="meta"){for(const r of Q6)if(t[r]!==void 0){const s=t[r],o=s&&typeof s=="string"&&s.includes(":"),i=s&&ew.has(s),l=!(o||i)&&e.key?`:key:${e.key}`:"";return`${n}:${s}${l}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(n==="link"&&t.rel==="alternate")return`alternate:${t.href||""}`;if(W6.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function z1(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([r,s])=>`${r}:${String(s)}`).join(",")}`}function Ea(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());const s=t?t(n,e):e;if(Array.isArray(s))return s.map(o=>Ea(o,t));if(s?.constructor===Object){const o={};for(const i of Object.keys(s))o[i]=Ea(s[i],t,i);return o}return s}function tw(e,t){const n=e==="style"?new Map:new Set;function r(s){if(s==null||s===void 0)return;const o=String(s).trim();if(o)if(e==="style"){const[i,...a]=o.split(":").map(l=>l?l.trim():"");i&&a.length&&n.set(i,a.join(":"))}else o.split(" ").filter(Boolean).forEach(i=>n.add(i))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(s=>r(s)):t&&typeof t=="object"&&Object.entries(t).forEach(([s,o])=>{o&&o!=="false"&&(e==="style"?n.set(String(s).trim(),String(o)):r(s))}),n}function q1(e,t){if(e.props=e.props||{},!t)return e;if(e.tag==="templateParams")return e.props=t,e;const n=Jc.has(e.tag)||e.tag==="htmlAttrs"||e.tag==="bodyAttrs";return Object.entries(t).forEach(([r,s])=>{if(r==="__proto__"||r==="constructor"||r==="prototype")return;if(s===null){e.props[r]=null;return}if(r==="class"||r==="style"){e.props[r]=tw(r,s);return}if(Y6.has(r)){if((r==="textContent"||r==="innerHTML")&&typeof s=="object"){let c=t.type;if(t.type||(c="application/json"),!c?.endsWith("json")&&c!=="speculationrules")return;t.type=c,e.props.type=c,e[r]=JSON.stringify(s)}else e[r]=s;return}const o=r.startsWith("data-"),i=n&&!o?r.toLowerCase():r,a=String(s),l=e.tag==="meta"&&i==="content";a==="true"||a===""?e.props[i]=o||l?a:!0:!s&&o&&a==="false"?e.props[i]="false":s!==void 0&&(e.props[i]=s)}),e}function nw(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=q1({tag:e,props:{}},n);return r.key&&G6.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(s=>({...r,props:{...r.props,content:s}})):r}function rw(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(s,o)=>{for(let i=0;i<t.length;i++)o=t[i](s,o);return o};e=n(void 0,e);const r=[];return e=Ea(e,n),Object.entries(e||{}).forEach(([s,o])=>{if(o!==void 0)for(const i of Array.isArray(o)?o:[o])r.push(nw(s,i))}),r.flat()}const sp=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,op={base:-10,title:10},sw={critical:-8,high:-1,low:2},ip={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},ow=/@import/,lo=e=>e===""||e===!0;function iw(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=sw[t.tagPriority]||0,s=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:ip;if(t.tag in op)n=op[t.tag];else if(t.tag==="meta"){const o=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;o&&(n=ip.meta[o])}else if(t.tag==="link"&&t.props.rel)n=s.link[t.props.rel];else if(t.tag==="script"){const o=String(t.props.type);lo(t.props.async)?n=s.script.async:t.props.src&&!lo(t.props.defer)&&!lo(t.props.async)&&o!=="module"&&!o.endsWith("json")||t.innerHTML&&!o.endsWith("json")?n=s.script.sync:(lo(t.props.defer)&&t.props.src&&!lo(t.props.async)||o==="module")&&(n=s.script.defer)}else t.tag==="style"&&(n=t.innerHTML&&ow.test(t.innerHTML)?s.style.imported:s.style.sync);return(n||100)+r}function ap(e,t){const n=typeof t=="function"?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function aw(e={}){const t=O1();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,s=new Map,o=new Set,i={_entryCount:1,plugins:s,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:a=>ap(i,a),push(a,l){const c={...l||{}};delete c.head;const u=c._index??i._entryCount++,f={_i:u,input:a,options:c},d={_poll(p=!1){i.dirty=!0,!p&&o.add(u),t.callHook("entries:updated",i)},dispose(){r.delete(u)&&i.invalidate()},patch(p){(!c.mode||c.mode==="server"&&n||c.mode==="client"&&!n)&&(f.input=p,r.set(u,f),d._poll())}};return d.patch(a),d},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...i.entries.values()]};for(await t.callHook("entries:resolve",a);o.size;){const d=o.values().next().value;o.delete(d);const p=r.get(d);if(p){const h={tags:rw(p.input,e.propResolvers||[]).map(m=>Object.assign(m,p.options)),entry:p};await t.callHook("entries:normalize",h),p._tags=h.tags.map((m,v)=>(m._w=iw(i,m),m._p=(p._i<<10)+v,m._d=Zc(m),m._d||(m._h=z1(m)),m))}}let l=!1;a.entries.flatMap(d=>(d._tags||[]).map(p=>({...p,props:{...p.props}}))).sort(sp).reduce((d,p)=>{const h=p._d||p._h;if(!d.has(h))return d.set(h,p);const m=d.get(h);if((p?.tagDuplicateStrategy||(J6.has(p.tag)?"merge":null)||(p.key&&p.key===m.key?"merge":null))==="merge"){const b={...m.props};Object.entries(p.props).forEach(([y,g])=>b[y]=y==="style"?new Map([...m.props.style||new Map,...g]):y==="class"?new Set([...m.props.class||new Set,...g]):g),d.set(h,{...p,props:b})}else p._p>>10===m._p>>10&&p.tag==="meta"&&j1(h)?(d.set(h,Object.assign([...Array.isArray(m)?m:[m],p],p)),l=!0):(p._w===m._w?p._p>m._p:p?._w<m?._w)&&d.set(h,p);return d},a.tagMap);const c=a.tagMap.get("title"),u=a.tagMap.get("titleTemplate");if(i._title=c?.textContent,u){const d=u?.textContent;if(i._titleTemplate=d,d){let p=typeof d=="function"?d(c?.textContent):d;typeof p=="string"&&!i.plugins.has("template-params")&&(p=p.replace("%s",c?.textContent||"")),c?p===null?a.tagMap.delete("title"):a.tagMap.set("title",{...c,textContent:p}):(u.tag="title",u.textContent=p)}}a.tags=Array.from(a.tagMap.values()),l&&(a.tags=a.tags.flat().sort(sp)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);const f=[];for(const d of a.tags){const{innerHTML:p,tag:h,props:m}=d;if(K6.has(h)&&!(Object.keys(m).length===0&&!d.innerHTML&&!d.textContent)&&!(h==="meta"&&!m.content&&!m["http-equiv"]&&!m.charset)){if(h==="script"&&p){if(String(m.type).endsWith("json")){const v=typeof p=="string"?p:JSON.stringify(p);d.innerHTML=v.replace(/</g,"\\u003C")}else typeof p=="string"&&(d.innerHTML=p.replace(new RegExp(`</${h}`,"g"),`<\\/${h}`));d._d=Zc(d)}f.push(d)}}return f},invalidate(){for(const a of r.values())o.add(a._i);i.dirty=!0,t.callHook("entries:updated",i)}};return(e?.plugins||[]).forEach(a=>ap(i,a)),i.hooks.callHook("init",i),e.init?.forEach(a=>a&&i.push(a)),i}const lw=(e,t)=>Xe(t)?He(t):t,bf="usehead";function cw(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(bf,e)}}.install}function uw(){if(il()){const e=We(bf);if(e)return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function fw(e,t={}){const n=t.head||uw();return n.ssr?n.push(e||{},t):dw(n,e,t)}function dw(e,t,n={}){const r=Q(!1);let s;return dn(()=>{const i=r.value?{}:Ea(t,lw);s?s.patch(i):s=e.push(i,n)}),lt()&&(cs(()=>{s.dispose()}),i0(()=>{r.value=!0}),o0(()=>{r.value=!1})),s}function H1(e){const t=e||Ue();return t.ssrContext?.head||t.runWithContext(()=>{if(il()){const n=We(bf);if(!n)throw new Error("[nuxt] [unhead] Missing Unhead instance.");return n}})}function U1(e,t={}){const n=t.head||H1(t.nuxt);return fw(e,{head:n,...t})}const pw=(e,t)=>[],hw=e=>Vn({},...pw("",typeof e=="string"?e.toLowerCase():e).map(t=>t.data).reverse()),gw=hw;let Zi;function mw(){let e;return e=$fetch(yf(`builds/meta/${ui().app.buildId}.json`),{responseType:"json"}).then(t=>{if(!t||typeof t!="object"||!Array.isArray(t.prerendered))throw new Error("[nuxt] Received malformed app manifest. Ensure that `builds/meta/*.json` is served as JSON by your hosting/proxy and not rewritten to an HTML fallback.");return t}),Zi=e,e.catch(t=>{Zi===e&&(Zi=void 0),console.error("[nuxt] Error fetching app manifest.",t)}),e}function yw(){return Zi||mw()}function V1(e){const t=typeof e=="string"?e:e.path;try{return gw(t.toLowerCase())}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function vw(e){return null}let Fr=null;async function bw(){if(Fr)return Fr;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await ww(e.textContent||""),n=e.dataset.src?await vw(e.dataset.src):void 0;return Fr={...t,...n,...window.__NUXT__},Fr.config?.public&&(Fr.config.public=xt(Fr.config.public)),Fr}async function ww(e){return await U6(e,Ue()._payloadRevivers)}function _w(e,t){Ue()._payloadRevivers[e]=t}function lp(e){try{return JSON.parse(e)}catch{return e}}const xw=[["NuxtError",e=>Tr(e)],["EmptyShallowRef",e=>at(e==="_"?void 0:e==="0n"?BigInt(0):lp(e))],["EmptyRef",e=>Q(e==="_"?void 0:e==="0n"?BigInt(0):lp(e))],["ShallowRef",e=>at(e)],["ShallowReactive",e=>hn(e)],["Ref",e=>Q(e)],["Reactive",e=>xt(e)]],Cw=An({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,s]of xw)_w(r,s);Object.assign(e.payload,([t,n]=Oo(()=>e.runWithContext(bw)),t=await t,n(),t)),delete window.__NUXT__}});async function wf(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async s=>{const o=new Map,i=new Promise(p=>{e.resolveTags().then(h=>{p(h.map(m=>{const v=o.get(m._d)||0,b={tag:m,id:(v?`${m._d}:${v}`:m._d)||m._h,shouldRender:!0};return m._d&&j1(m._d)&&o.set(m._d,v+1),b}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const p of["body","head"]){const h=n[p]?.children;for(const m of h){const v=m.tagName.toLowerCase();if(!Jc.has(v))continue;const b=q1({tag:v,props:{}},{innerHTML:m.innerHTML,...m.getAttributeNames().reduce((y,g)=>(y[g]=m.getAttribute(g),y),{})||{}});if(b.key=m.getAttribute("data-hid")||void 0,b._d=Zc(b)||z1(b),a.elMap.has(b._d)){let y=1,g=b._d;for(;a.elMap.has(g);)g=`${b._d}:${y++}`;a.elMap.set(g,m)}else a.elMap.set(b._d,m)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(p,h,m){const v=`${p}:${h}`;a.sideEffects[v]=m,delete a.pendingSideEffects[v]}function c({id:p,$el:h,tag:m}){const v=m.tag.endsWith("Attrs");a.elMap.set(p,h),v||(m.textContent&&m.textContent!==h.textContent&&(h.textContent=m.textContent),m.innerHTML&&m.innerHTML!==h.innerHTML&&(h.innerHTML=m.innerHTML),l(p,"el",()=>{h?.remove(),a.elMap.delete(p)}));for(const b in m.props){if(!Object.prototype.hasOwnProperty.call(m.props,b))continue;const y=m.props[b];if(b.startsWith("on")&&typeof y=="function"){const w=h?.dataset;if(w&&w[`${b}fired`]){const x=b.slice(0,-5);y.call(h,new Event(x.substring(2)))}h.getAttribute(`data-${b}`)!==""&&((m.tag==="bodyAttrs"?n.defaultView:h).addEventListener(b.substring(2),y.bind(h)),h.setAttribute(`data-${b}`,""));continue}const g=`attr:${b}`;if(b==="class"){if(!y)continue;for(const w of y)v&&l(p,`${g}:${w}`,()=>h.classList.remove(w)),!h.classList.contains(w)&&h.classList.add(w)}else if(b==="style"){if(!y)continue;for(const[w,x]of y)l(p,`${g}:${w}`,()=>{h.style.removeProperty(w)}),h.style.setProperty(w,x)}else y!==!1&&y!==null&&(h.getAttribute(b)!==y&&h.setAttribute(b,y===!0?"":String(y)),v&&l(p,g,()=>h.removeAttribute(b)))}}const u=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},d=await i;for(const p of d){const{tag:h,shouldRender:m,id:v}=p;if(m){if(h.tag==="title"){n.title=h.textContent,l("title","",()=>n.title=a.title);continue}p.$el=p.$el||a.elMap.get(v),p.$el?c(p):Jc.has(h.tag)&&u.push(p)}}for(const p of u){const h=p.tag.tagPosition||"head";p.$el=n.createElement(p.tag.tag),c(p),f[h]=f[h]||n.createDocumentFragment(),f[h].appendChild(p.$el)}for(const p of d)await e.hooks.callHook("dom:renderTag",p,n,l);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const p in a.pendingSideEffects)a.pendingSideEffects[p]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:d}),s()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function kw(e={}){const t=e.domOptions?.render||wf;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return aw({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function Sw(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function Ew(e={}){const t=kw({domOptions:{render:Sw(()=>wf(t),n=>setTimeout(n,0))},...e});return t.install=cw(t),t}const Aw={disableDefaults:!0},Tw=An({name:"nuxt:head",enforce:"pre",setup(e){const t=Ew(Aw);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await wf(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r);const s=t.push.bind(t);t.push=((o,i)=>{const a=s(o,i),l=a.dispose.bind(a);return a.dispose=()=>{const c=e["~transitionPromise"];c?c.then(l):l()},a})}}});const _s=typeof document<"u";function G1(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Pw(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&G1(e.default)}const Fe=Object.assign;function Ql(e,t){const n={};for(const r in t){const s=t[r];n[r]=Cn(s)?s.map(e):e(s)}return n}const Io=()=>{},Cn=Array.isArray;function cp(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const W1=Symbol("");function qs(e,t){return Fe(new Error,{type:e,[W1]:!0},t)}function Yn(e,t){return e instanceof Error&&W1 in e&&(t==null||!!(e.type&t))}const Rw=Symbol(""),up=Symbol(""),_f=Symbol(""),K1=Symbol(""),Qc=Symbol(""),Ow={trailing:!0};function Iw(e,t=25,n={}){if(n={...Ow,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let r,s,o=[],i,a;const l=(f,d)=>(i=Mw(e,f,d),i.finally(()=>{if(i=null,n.trailing&&a&&!s){const p=l(f,a);return a=null,p}}),i),c=function(...f){return n.trailing&&(a=f),i||new Promise(d=>{const p=!s&&n.leading;clearTimeout(s),s=setTimeout(()=>{s=null;const h=n.leading?r:l(this,f);a=null;for(const m of o)m(h);o=[]},t),p?(r=l(this,f),d(r)):o.push(d)})},u=f=>{f&&(clearTimeout(f),s=null)};return c.isPending=()=>!!s,c.cancel=()=>{u(s),o=[],a=null},c.flush=()=>{if(u(s),!a||i)return;const f=a;return a=null,l(this,f)},c}async function Mw(e,t,n){return await e.apply(t,n)}const X1=/#/g,Lw=/&/g,$w=/\//g,Nw=/=/g,Dw=/\?/g,Y1=/\+/g,Bw=/%5B/g,Fw=/%5D/g,J1=/%5E/g,jw=/%60/g,Z1=/%7B/g,zw=/%7C/g,Q1=/%7D/g,qw=/%20/g;function xf(e){return e==null?"":encodeURI(""+e).replace(zw,"|").replace(Bw,"[").replace(Fw,"]")}function Hw(e){return xf(e).replace(Z1,"{").replace(Q1,"}").replace(J1,"^")}function eu(e){return xf(e).replace(Y1,"%2B").replace(qw,"+").replace(X1,"%23").replace(Lw,"%26").replace(jw,"`").replace(Z1,"{").replace(Q1,"}").replace(J1,"^")}function Uw(e){return eu(e).replace(Nw,"%3D")}function Vw(e){return xf(e).replace(X1,"%23").replace(Dw,"%3F")}function Gw(e){return Vw(e).replace($w,"%2F")}function Aa(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const Ww=/\/$/,Kw=e=>e.replace(Ww,"");function ec(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return l=a>=0&&l>a?-1:l,l>=0&&(r=t.slice(0,l),o=t.slice(l,a>0?a:t.length),s=e(o.slice(1))),a>=0&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=Zw(r??t,n),{fullPath:r+o+i,path:r,query:s,hash:Aa(i)}}function Xw(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function fp(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Yw(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Hs(t.matched[r],n.matched[s])&&em(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Hs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function em(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Jw(e[n],t[n]))return!1;return!0}function Jw(e,t){return Cn(e)?dp(e,t):Cn(t)?dp(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function dp(e,t){return Cn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Zw(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}const sn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};function Qw(e){if(!e)if(_s){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Kw(e)}const e8=/^[^#]+#/;function t8(e,t){return e.replace(e8,"#")+t}function n8(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const ml=()=>({left:window.scrollX,top:window.scrollY});function r8(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=n8(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function pp(e,t){return(history.state?history.state.position-t:-1)+e}const tu=new Map;function s8(e,t){tu.set(e,t)}function o8(e){const t=tu.get(e);return tu.delete(e),t}function i8(e){return typeof e=="string"||e&&typeof e=="object"}function tm(e){return typeof e=="string"||typeof e=="symbol"}function a8(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const s=n[r].replace(Y1," "),o=s.indexOf("="),i=Aa(o<0?s:s.slice(0,o)),a=o<0?null:Aa(s.slice(o+1));if(i in t){let l=t[i];Cn(l)||(l=t[i]=[l]),l.push(a)}else t[i]=a}return t}function hp(e){let t="";for(let n in e){const r=e[n];if(n=Uw(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Cn(r)?r.map(s=>s&&eu(s)):[r&&eu(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function l8(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Cn(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}function co(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Sr(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,l)=>{const c=d=>{d===!1?l(qs(4,{from:n,to:t})):d instanceof Error?l(d):i8(d)?l(qs(2,{from:t,to:d})):(i&&r.enterCallbacks[s]===i&&typeof d=="function"&&i.push(d),a())},u=o(()=>e.call(r&&r.instances[s],t,n,c));let f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch(d=>l(d))})}function tc(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(G1(l)){const c=(l.__vccOpts||l)[t];c&&o.push(Sr(c,n,r,i,a,s))}else{let c=l();o.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const f=Pw(u)?u.default:u;i.mods[a]=u,i.components[a]=f;const d=(f.__vccOpts||f)[t];return d&&Sr(d,n,r,i,a,s)()}))}}return o}function c8(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const a=t.matched[i];a&&(e.matched.find(c=>Hs(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>Hs(c,l))||s.push(l))}return[n,r,s]}let u8=()=>location.protocol+"//"+location.host;function nm(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let i=s.includes(e.slice(o))?e.slice(o).length:1,a=s.slice(i);return a[0]!=="/"&&(a="/"+a),fp(a,"")}return fp(n,e)+r+s}function f8(e,t,n,r){let s=[],o=[],i=null;const a=({state:d})=>{const p=nm(e,location),h=n.value,m=t.value;let v=0;if(d){if(n.value=p,t.value=d,i&&i===h){i=null;return}v=m?d.position-m.position:0}else r(p);s.forEach(b=>{b(n.value,h,{delta:v,type:"pop",direction:v?v>0?"forward":"back":""})})};function l(){i=n.value}function c(d){s.push(d);const p=()=>{const h=s.indexOf(d);h>-1&&s.splice(h,1)};return o.push(p),p}function u(){if(document.visibilityState==="hidden"){const{history:d}=window;if(!d.state)return;d.replaceState(Fe({},d.state,{scroll:ml()}),"")}}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:l,listen:c,destroy:f}}function gp(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?ml():null}}function d8(e){const{history:t,location:n}=window,r={value:nm(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:u8()+e+l;try{t[u?"replaceState":"pushState"](c,"",d),s.value=c}catch(p){console.error(p),n[u?"replace":"assign"](d)}}function i(l,c){o(l,Fe({},t.state,gp(s.value.back,l,s.value.forward,!0),c,{position:s.value.position}),!0),r.value=l}function a(l,c){const u=Fe({},s.value,t.state,{forward:l,scroll:ml()});o(u.current,u,!0),o(l,Fe({},gp(r.value,l,null),{position:u.position+1},c),!1),r.value=l}return{location:r,state:s,push:a,replace:i}}function p8(e){e=Qw(e);const t=d8(e),n=f8(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=Fe({location:"",base:e,go:r,createHref:t8.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}const h8={type:0,value:""},g8=/[a-zA-Z0-9_]/;function m8(e){if(!e)return[[]];if(e==="/")return[[h8]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,l,c="",u="";function f(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;a<e.length;)switch(l=e[a++],n){case 0:l==="\\"?(r=n,n=4):l==="/"?(c&&f(),i()):l===":"?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:l==="("?n=2:g8.test(l)?d():(f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),i(),s}const mp="[^/]+?",y8={sensitive:!1,strict:!1,start:!0,end:!0},v8=/[.+*?^${}()[\]/\\]/g;function b8(e,t){const n=Fe({},y8,t),r=[];let s=n.start?"^":"";const o=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let f=0;f<c.length;f++){const d=c[f];let p=40+(n.sensitive?.25:0);if(d.type===0)f||(s+="/"),s+=d.value.replace(v8,"\\$&"),p+=40;else if(d.type===1){const{value:h,repeatable:m,optional:v,regexp:b}=d;o.push({name:h,repeatable:m,optional:v});const y=b||mp;if(y!==mp){p+=10;try{new RegExp(`(${y})`)}catch(w){throw new Error(`Invalid custom RegExp for param "${h}" (${y}): `+w.message)}}let g=m?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;f||(g=v&&c.length<2?`(?:/${g})`:"/"+g),v&&(g+="?"),s+=g,p+=20,v&&(p+=-8),m&&(p+=-20),y===".*"&&(p+=-50)}u.push(p)}r.push(u)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function a(c){const u=c.match(i),f={};if(!u)return null;for(let d=1;d<u.length;d++){const p=u[d]||"",h=o[d-1];f[h.name]=p&&h.repeatable?p.split("/"):p}return f}function l(c){let u="",f=!1;for(const d of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const p of d)if(p.type===0)u+=p.value;else if(p.type===1){const{value:h,repeatable:m,optional:v}=p,b=h in c?c[h]:"";if(Cn(b)&&!m)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const y=Cn(b)?b.join("/"):b;if(!y)if(v)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${h}"`);u+=y}}return u||"/"}return{re:i,score:r,keys:o,parse:a,stringify:l}}function w8(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function rm(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=w8(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(yp(r))return 1;if(yp(s))return-1}return s.length-r.length}function yp(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const _8={strict:!1,end:!0,sensitive:!1};function x8(e,t,n){const r=b8(m8(e.path),n),s=Fe(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function C8(e,t){const n=[],r=new Map;t=cp(_8,t);function s(f){return r.get(f)}function o(f,d,p){const h=!p,m=bp(f);m.aliasOf=p&&p.record;const v=cp(t,f),b=[m];if("alias"in f){const w=typeof f.alias=="string"?[f.alias]:f.alias;for(const x of w)b.push(bp(Fe({},m,{components:p?p.record.components:m.components,path:x,aliasOf:p?p.record:m})))}let y,g;for(const w of b){const{path:x}=w;if(d&&x[0]!=="/"){const S=d.record.path,k=S[S.length-1]==="/"?"":"/";w.path=d.record.path+(x&&k+x)}if(y=x8(w,d,v),p?p.alias.push(y):(g=g||y,g!==y&&g.alias.push(y),h&&f.name&&!wp(y)&&i(f.name)),sm(y)&&l(y),m.children){const S=m.children;for(let k=0;k<S.length;k++)o(S[k],y,p&&p.children[k])}p=p||y}return g?()=>{i(g)}:Io}function i(f){if(tm(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function a(){return n}function l(f){const d=E8(f,n);n.splice(d,0,f),f.record.name&&!wp(f)&&r.set(f.record.name,f)}function c(f,d){let p,h={},m,v;if("name"in f&&f.name){if(p=r.get(f.name),!p)throw qs(1,{location:f});v=p.record.name,h=Fe(vp(d.params,p.keys.filter(g=>!g.optional).concat(p.parent?p.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),f.params&&vp(f.params,p.keys.map(g=>g.name))),m=p.stringify(h)}else if(f.path!=null)m=f.path,p=n.find(g=>g.re.test(m)),p&&(h=p.parse(m),v=p.record.name,p.keys.forEach(g=>{g.optional&&!h[g.name]&&delete h[g.name]}));else{if(p=d.name?r.get(d.name):n.find(g=>g.re.test(d.path)),!p)throw qs(1,{location:f,currentLocation:d});v=p.record.name,h=Fe({},d.params,f.params),m=p.stringify(h)}const b=[];let y=p;for(;y;)b.unshift(y.record),y=y.parent;return{name:v,path:m,params:h,matched:b,meta:S8(b)}}e.forEach(f=>o(f));function u(){n.length=0,r.clear()}return{addRoute:o,resolve:c,removeRoute:i,clearRoutes:u,getRoutes:a,getRecordMatcher:s}}function vp(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function bp(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:k8(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function k8(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function wp(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function S8(e){return e.reduce((t,n)=>Fe(t,n.meta),{})}function E8(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;rm(e,t[o])<0?r=o:n=o+1}const s=A8(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function A8(e){let t=e;for(;t=t.parent;)if(sm(t)&&rm(e,t)===0)return t}function sm({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function _p(e){const t=We(_f),n=We(K1),r=R(()=>{const l=_(e.to);return t.resolve(l)}),s=R(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(Hs.bind(null,u));if(d>-1)return d;const p=xp(l[c-2]);return c>1&&xp(u)===p&&f[f.length-1].path!==p?f.findIndex(Hs.bind(null,l[c-2])):d}),o=R(()=>s.value>-1&&O8(n.params,r.value.params)),i=R(()=>s.value>-1&&s.value===n.matched.length-1&&em(n.params,r.value.params));function a(l={}){if(R8(l)){const c=t[_(e.replace)?"replace":"push"](_(e.to)).catch(Io);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:r,href:R(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}function T8(e){return e.length===1?e[0]:e}const P8=ge({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:_p,setup(e,{slots:t}){const n=xt(_p(e)),{options:r}=We(_f),s=R(()=>({[Cp(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Cp(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&T8(t.default(n));return e.custom?o:Ze("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}});function R8(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function O8(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Cn(s)||s.length!==r.length||r.some((o,i)=>o.valueOf()!==s[i].valueOf()))return!1}return!0}function xp(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Cp=(e,t,n)=>e??t??n,I8=ge({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=We(Qc),s=R(()=>e.route||r.value),o=We(up,0),i=R(()=>{let c=_(o);const{matched:u}=s.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=R(()=>s.value.matched[i.value]);qt(up,R(()=>i.value+1)),qt(Rw,a),qt(Qc,s);const l=Q();return Ne(()=>[l.value,a.value,e.name],([c,u,f],[d,p,h])=>{u&&(u.instances[f]=c,p&&p!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),c&&u&&(!p||!Hs(u,p)||!d)&&(u.enterCallbacks[f]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=s.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return kp(n.default,{Component:d,route:c});const p=f.props[u],h=p?p===!0?c.params:typeof p=="function"?p(c):p:null,v=Ze(d,Fe({},h,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return kp(n.default,{Component:v,route:c})||v}}});function kp(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const om=I8;function M8(e){const t=C8(e.routes,e),n=e.parseQuery||a8,r=e.stringifyQuery||hp,s=e.history,o=co(),i=co(),a=co(),l=at(sn);let c=sn;_s&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ql.bind(null,j=>""+j),f=Ql.bind(null,Gw),d=Ql.bind(null,Aa);function p(j,ie){let X,fe;return tm(j)?(X=t.getRecordMatcher(j),fe=ie):fe=j,t.addRoute(fe,X)}function h(j){const ie=t.getRecordMatcher(j);ie&&t.removeRoute(ie)}function m(){return t.getRoutes().map(j=>j.record)}function v(j){return!!t.getRecordMatcher(j)}function b(j,ie){if(ie=Fe({},ie||l.value),typeof j=="string"){const E=ec(n,j,ie.path),L=t.resolve({path:E.path},ie),U=s.createHref(E.fullPath);return Fe(E,L,{params:d(L.params),redirectedFrom:void 0,href:U})}let X;if(j.path!=null)X=Fe({},j,{path:ec(n,j.path,ie.path).path});else{const E=Fe({},j.params);for(const L in E)E[L]==null&&delete E[L];X=Fe({},j,{params:f(E)}),ie.params=f(ie.params)}const fe=t.resolve(X,ie),Ce=j.hash||"";fe.params=u(d(fe.params));const qe=Xw(r,Fe({},j,{hash:Hw(Ce),path:fe.path})),C=s.createHref(qe);return Fe({fullPath:qe,hash:Ce,query:r===hp?l8(j.query):j.query||{}},fe,{redirectedFrom:void 0,href:C})}function y(j){return typeof j=="string"?ec(n,j,l.value.path):Fe({},j)}function g(j,ie){if(c!==j)return qs(8,{from:ie,to:j})}function w(j){return k(j)}function x(j){return w(Fe(y(j),{replace:!0}))}function S(j,ie){const X=j.matched[j.matched.length-1];if(X&&X.redirect){const{redirect:fe}=X;let Ce=typeof fe=="function"?fe(j,ie):fe;return typeof Ce=="string"&&(Ce=Ce.includes("?")||Ce.includes("#")?Ce=y(Ce):{path:Ce},Ce.params={}),Fe({query:j.query,hash:j.hash,params:Ce.path!=null?{}:j.params},Ce)}}function k(j,ie){const X=c=b(j),fe=l.value,Ce=j.state,qe=j.force,C=j.replace===!0,E=S(X,fe);if(E)return k(Fe(y(E),{state:typeof E=="object"?Fe({},Ce,E.state):Ce,force:qe,replace:C}),ie||X);const L=X;L.redirectedFrom=ie;let U;return!qe&&Yw(r,fe,X)&&(U=qs(16,{to:L,from:fe}),Ae(fe,fe,!0,!1)),(U?Promise.resolve(U):I(L,fe)).catch(z=>Yn(z)?Yn(z,2)?z:G(z):F(z,L,fe)).then(z=>{if(z){if(Yn(z,2))return k(Fe({replace:C},y(z.to),{state:typeof z.to=="object"?Fe({},Ce,z.to.state):Ce,force:qe}),ie||L)}else z=M(L,fe,!0,C,Ce);return D(L,fe,z),z})}function T(j,ie){const X=g(j,ie);return X?Promise.reject(X):Promise.resolve()}function P(j){const ie=Ct.values().next().value;return ie&&typeof ie.runWithContext=="function"?ie.runWithContext(j):j()}function I(j,ie){let X;const[fe,Ce,qe]=c8(j,ie);X=tc(fe.reverse(),"beforeRouteLeave",j,ie);for(const E of fe)E.leaveGuards.forEach(L=>{X.push(Sr(L,j,ie))});const C=T.bind(null,j,ie);return X.push(C),Oe(X).then(()=>{X=[];for(const E of o.list())X.push(Sr(E,j,ie));return X.push(C),Oe(X)}).then(()=>{X=tc(Ce,"beforeRouteUpdate",j,ie);for(const E of Ce)E.updateGuards.forEach(L=>{X.push(Sr(L,j,ie))});return X.push(C),Oe(X)}).then(()=>{X=[];for(const E of qe)if(E.beforeEnter)if(Cn(E.beforeEnter))for(const L of E.beforeEnter)X.push(Sr(L,j,ie));else X.push(Sr(E.beforeEnter,j,ie));return X.push(C),Oe(X)}).then(()=>(j.matched.forEach(E=>E.enterCallbacks={}),X=tc(qe,"beforeRouteEnter",j,ie,P),X.push(C),Oe(X))).then(()=>{X=[];for(const E of i.list())X.push(Sr(E,j,ie));return X.push(C),Oe(X)}).catch(E=>Yn(E,8)?E:Promise.reject(E))}function D(j,ie,X){a.list().forEach(fe=>P(()=>fe(j,ie,X)))}function M(j,ie,X,fe,Ce){const qe=g(j,ie);if(qe)return qe;const C=ie===sn,E=_s?history.state:{};X&&(fe||C?s.replace(j.fullPath,Fe({scroll:C&&E&&E.scroll},Ce)):s.push(j.fullPath,Ce)),l.value=j,Ae(j,ie,X,C),G()}let Y;function O(){Y||(Y=s.listen((j,ie,X)=>{if(!Re.listening)return;const fe=b(j),Ce=S(fe,Re.currentRoute.value);if(Ce){k(Fe(Ce,{replace:!0,force:!0}),fe).catch(Io);return}c=fe;const qe=l.value;_s&&s8(pp(qe.fullPath,X.delta),ml()),I(fe,qe).catch(C=>Yn(C,12)?C:Yn(C,2)?(k(Fe(y(C.to),{force:!0}),fe).then(E=>{Yn(E,20)&&!X.delta&&X.type==="pop"&&s.go(-1,!1)}).catch(Io),Promise.reject()):(X.delta&&s.go(-X.delta,!1),F(C,fe,qe))).then(C=>{C=C||M(fe,qe,!1),C&&(X.delta&&!Yn(C,8)?s.go(-X.delta,!1):X.type==="pop"&&Yn(C,20)&&s.go(-1,!1)),D(fe,qe,C)}).catch(Io)}))}let q=co(),$=co(),J;function F(j,ie,X){G(j);const fe=$.list();return fe.length?fe.forEach(Ce=>Ce(j,ie,X)):console.error(j),Promise.reject(j)}function ue(){return J&&l.value!==sn?Promise.resolve():new Promise((j,ie)=>{q.add([j,ie])})}function G(j){return J||(J=!j,O(),q.list().forEach(([ie,X])=>j?X(j):ie()),q.reset()),j}function Ae(j,ie,X,fe){const{scrollBehavior:Ce}=e;if(!_s||!Ce)return Promise.resolve();const qe=!X&&o8(pp(j.fullPath,0))||(fe||!X)&&history.state&&history.state.scroll||null;return At().then(()=>Ce(j,ie,qe)).then(C=>C&&r8(C)).catch(C=>F(C,j,ie))}const Be=j=>s.go(j);let pt;const Ct=new Set,Re={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:m,resolve:b,options:e,push:w,replace:x,go:Be,back:()=>Be(-1),forward:()=>Be(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:$.add,isReady:ue,install(j){j.component("RouterLink",P8),j.component("RouterView",om),j.config.globalProperties.$router=Re,Object.defineProperty(j.config.globalProperties,"$route",{enumerable:!0,get:()=>_(l)}),_s&&!pt&&l.value===sn&&(pt=!0,w(s.location).catch(fe=>{}));const ie={};for(const fe in sn)Object.defineProperty(ie,fe,{get:()=>l.value[fe],enumerable:!0});j.provide(_f,Re),j.provide(K1,hn(ie)),j.provide(Qc,l);const X=j.unmount;Ct.add(j),j.unmount=function(){Ct.delete(j),Ct.size<1&&(c=sn,Y&&Y(),Y=null,l.value=sn,pt=!1,J=!1),X()}}};function Oe(j){return j.reduce((ie,X)=>ie.then(()=>P(X)),Promise.resolve())}return Re}const L8=/(:\w+)\([^)]+\)/g,$8=/(:\w+)[?+*]/g,N8=/:\w+/g,D8=(e,t)=>t.path.replace(L8,"$1").replace($8,"$1").replace(N8,n=>e.params[n.slice(1)]?.toString()||""),nu=(e,t)=>{const n=e.route.matched.find(s=>s.components?.default===e.Component.type),r=t??n?.meta.key??(n&&D8(e.route,n));return typeof r=="function"?r(e.route):r},B8=(e,t)=>({default:()=>e?Ze(Yv,e===!0?{}:e,t):t});function im(e){return Array.isArray(e)?e:[e]}const F8="modulepreload",j8=function(e,t){return new URL(e,t).href},Sp={},ln=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let c=function(u){return Promise.all(u.map(f=>Promise.resolve(f).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};const i=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=a?.nonce||a?.getAttribute("nonce");s=c(n.map(u=>{if(u=j8(u,r),u in Sp)return;Sp[u]=!0;const f=u.endsWith(".css"),d=f?'[rel="stylesheet"]':"";if(r)for(let h=i.length-1;h>=0;h--){const m=i[h];if(m.href===u&&(!f||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${d}`))return;const p=document.createElement("link");if(p.rel=f?"stylesheet":F8,f||(p.as="script"),p.crossOrigin="",p.href=u,l&&p.setAttribute("nonce",l),document.head.appendChild(p),f)return new Promise((h,m)=>{p.addEventListener("load",h),p.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${u}`)))})}))}function o(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return s.then(i=>{for(const a of i||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})},nc=[{name:"docs",path:"/docs",component:()=>ln(()=>import("./CGpx20cA.js"),[],import.meta.url)},{name:"first-party",path:"/first-party",component:()=>ln(()=>import("./DfHxEc1R.js"),__vite__mapDeps([0,1]),import.meta.url)},{name:"registry",path:"/registry",component:()=>ln(()=>import("./CrquxyIP.js"),__vite__mapDeps([2,3]),import.meta.url)},{name:"index",path:"/",component:()=>ln(()=>import("./HwG19HWB.js"),__vite__mapDeps([4,5]),import.meta.url)}],z8=(e,t)=>({default:()=>e?Ze(V0,e===!0?{}:e,t):t.default?.()}),q8=/(:\w+)\([^)]+\)/g,H8=/(:\w+)[?+*]/g,U8=/:\w+/g;function Ep(e){const t=e?.meta.key??e.path.replace(q8,"$1").replace(H8,"$1").replace(U8,n=>e.params[n.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function V8(e,t){return e===t||t===sn?!1:Ep(e)!==Ep(t)?!0:!e.matched.every((r,s)=>r.components&&r.components.default===t.matched[s]?.components?.default)}function Ap(e){return Array.isArray(e)?e:[e]}function G8(e){const t=[];for(const n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?Ap(n.onAfterLeave):void 0,onBeforeLeave:n.onBeforeLeave?Ap(n.onBeforeLeave):void 0});return Vn(...t)}const W8={scrollBehavior(e,t,n){const r=Ue(),s=Ut().options?.scrollBehaviorType??"auto";return e.path.replace(/\/$/,"")===t.path.replace(/\/$/,"")?t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:am(e.hash),behavior:s}:!1:(typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1?!1:t===sn?Tp(e,t,n,s):new Promise(i=>{const a=()=>{requestAnimationFrame(()=>i(Tp(e,t,n,s)))};r.hooks.hookOnce("page:loading:end",()=>{const l=r["~transitionPromise"];l?l.then(a):a()})})}};function am(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function Tp(e,t,n,r){return n||(e.hash?{el:e.hash,top:am(e.hash),behavior:V8(e,t)?r:"instant"}:{left:0,top:0})}const K8={hashMode:!1,scrollBehaviorType:"auto"},vr={...K8,...W8},X8=async(e,t)=>{let n,r;if(!e.meta?.validate)return;const s=([n,r]=Oo(()=>Promise.resolve(e.meta.validate(e))),n=await n,r(),n);if(s===!0)return;const o=Tr({fatal:!0,status:s&&(s.status||s.statusCode)||404,statusText:s&&(s.statusText||s.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<"u"&&window.history.pushState({},"",t.fullPath),o},Y8=e=>{const t=V1({path:e.path});if(t.redirect){const n=t.redirect.includes("#")?t.redirect:t.redirect+e.hash;return xn(n,{acceptRelative:!0})?(window.location.href=n,!1):n}},J8=[X8,Y8],ru={};function Z8(e,t,n){const{pathname:r,search:s,hash:o}=t,i=e.indexOf("#");if(i>-1){const c=o.includes(e.slice(i))?e.slice(i).length:1;let u=o.slice(c);return u[0]!=="/"&&(u="/"+u),zd(u,"")}const a=zd(r,e),l=!n||r1(a,n)?a:n;return l+(l.includes("?")?"":s)+o}const Q8=An({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=ui().app.baseURL;const s=vr.history?.(r)??p8(r),o=vr.routes?([t,n]=Oo(()=>vr.routes(nc)),t=await t,n(),t??nc):nc;let i;const a=M8({...vr,scrollBehavior:(b,y,g)=>{if(y===sn){i=g;return}if(vr.scrollBehavior){if(a.options.scrollBehavior=vr.scrollBehavior,"scrollRestoration"in window.history){const w=a.beforeEach(()=>{w(),window.history.scrollRestoration="manual"})}return vr.scrollBehavior(b,sn,i||g)}},history:s,routes:o});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=at(a.currentRoute.value);a.afterEach((b,y)=>{l.value=y}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const c=Z8(r,window.location,e.payload.path),u=at(a.currentRoute.value),f=()=>{u.value=a.currentRoute.value};a.afterEach((b,y)=>{const g=b.matched.at(-1)?.components?.default,w=y.matched.at(-1)?.components?.default;if(g===w){f();return}b.matched.length<y.matched.length&&b.matched.every((x,S)=>x.components?.default===y.matched[S]?.components?.default)&&f()});const d={sync:f};for(const b in u.value)Object.defineProperty(d,b,{get:()=>u.value[b],enumerable:!0});e._route=hn(d),e._middleware||={global:[],named:{}};const p=gl();a.afterEach(async(b,y,g)=>{delete e._processingMiddleware,!e.isHydrating&&p.value&&await e.runWithContext(T6),g&&await e.callHook("page:loading:end")});try{[t,n]=Oo(()=>a.isReady()),await t,n()}catch(b){[t,n]=Oo(()=>e.runWithContext(()=>Vr(b))),await t,n()}const h=c!==a.currentRoute.value.fullPath?a.resolve(c):a.currentRoute.value,m=e.isHydrating&&e.payload.prerenderedAt&&e.payload.path&&c!==e.payload.path&&r1(a.currentRoute.value.path,e.payload.path);f();const v=e.payload.state._layout;return a.beforeEach(async(b,y)=>{await e.callHook("page:loading:start"),b.meta=xt(b.meta),e.isHydrating&&v&&!qn(b.meta.layout)&&(b.meta.layout=v),e._processingMiddleware=!0;{const g=new Set([...J8,...e._middleware.global]);for(const x of b.matched){const S=x.meta.middleware;if(S)for(const k of im(S))g.add(k)}const w=V1({path:b.path});if(w.appMiddleware)for(const x in w.appMiddleware)w.appMiddleware[x]?g.add(x):g.delete(x);for(const x of g){const S=typeof x=="string"?e._middleware.named[x]||await ru[x]?.().then(k=>k.default||k):x;if(!S)throw new Error(`Unknown route middleware: '${x}'.`);try{const k=await e.runWithContext(()=>S(b,y));if(!e.payload.serverRendered&&e.isHydrating&&(k===!1||k instanceof Error)){const T=k||Tr({status:404,statusText:`Page Not Found: ${c}`});return await e.runWithContext(()=>Vr(T)),!1}if(k===!0)continue;if(k===!1)return k;if(k)return B1(k)&&k.fatal&&await e.runWithContext(()=>Vr(k)),k}catch(k){const T=Tr(k);return T.fatal&&await e.runWithContext(()=>Vr(T)),T}}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(b=>{if(b.matched.length===0&&!p.value)return e.runWithContext(()=>Vr(Tr({status:404,fatal:!1,statusText:`Page not found: ${b.fullPath}`,data:{path:b.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{if("name"in h&&(h.name=void 0),m){const b=a.resolve(e.payload.path);"name"in b&&(b.name=void 0),await a.replace({...b,force:!0}),e.hooks.hookOnce("app:suspense:resolve",async()=>{await a.replace({...h,force:!0})})}else await a.replace({...h,force:!0});a.options.scrollBehavior=vr.scrollBehavior}catch(b){await e.runWithContext(()=>Vr(b))}}),{provide:{router:a}}}}),su=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),e9=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Cf=e=>{const t=Ue();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{su(()=>e())}):su(()=>e())},t9=An(()=>{const e=Ut();Cf(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),n9=An(e=>{let t;async function n(){let r;try{r=await yw()}catch(s){const o=s;if(!("status"in o&&(o.status===404||o.status===403)))throw o}t&&clearTimeout(t),t=setTimeout(n,tp);try{const s=await $fetch(yf("builds/latest.json")+`?${Date.now()}`);s.id!==r?.id&&(e.hooks.callHook("app:manifest:update",s),t&&clearTimeout(t))}catch{}}Cf(()=>{t=setTimeout(n,tp)})});function r9(e={}){const t=e.path||window.location.pathname,n=new URL(t,window.location.href);if(n.host!==window.location.host)throw new Error(`Cannot navigate to a URL with a different host: '${t}'.`);if(n.protocol&&ba(n.protocol))throw new Error(`Cannot navigate to a URL with '${n.protocol}' protocol.`);let r={};try{r=JSON.parse(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||r?.path!==t||r?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:Ue().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const s9=An({name:"nuxt:chunk-reload",setup(e){const t=Ut(),n=ui(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:o})=>{r.add(o)});function s(o){const i=Wo(n.app.baseURL,o.fullPath);r9({path:i,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}}),o9="__NUXT_COLOR_MODE__",i9="nuxt-color-mode",a9="$s";function lm(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const s=a9+n,o=Ue(),i=Nt(o.payload.state,s);if(r&&(o._state[s]??={_default:r}),i.value===void 0&&r){const a=r();if(Xe(a))return o.payload.state[s]=a,a;i.value=a}return i}function Ta(e){return typeof e=="string"?`'${e}'`:new l9().serialize(e)}const l9=(function(){class e{#e=new Map;compare(n,r){const s=typeof n,o=typeof r;return s==="string"&&o==="string"?n.localeCompare(r):s==="number"&&o==="number"?n-r:String.prototype.localeCompare.call(this.serialize(n,!0),this.serialize(r,!0))}serialize(n,r){if(n===null)return"null";switch(typeof n){case"string":return r?n:`'${n}'`;case"bigint":return`${n}n`;case"object":return this.$object(n);case"function":return this.$function(n)}return String(n)}serializeObject(n){const r=Object.prototype.toString.call(n);if(r!=="[object Object]")return this.serializeBuiltInType(r.length<10?`unknown:${r}`:r.slice(8,-1),n);const s=n.constructor,o=s===Object||s===void 0?"":s.name;if(o!==""&&globalThis[o]===s)return this.serializeBuiltInType(o,n);if(typeof n.toJSON=="function"){const i=n.toJSON();return o+(i!==null&&typeof i=="object"?this.$object(i):`(${this.serialize(i)})`)}return this.serializeObjectEntries(o,Object.entries(n))}serializeBuiltInType(n,r){const s=this["$"+n];if(s)return s.call(this,r);if(typeof r?.entries=="function")return this.serializeObjectEntries(n,r.entries());throw new Error(`Cannot serialize ${n}`)}serializeObjectEntries(n,r){const s=Array.from(r).sort((i,a)=>this.compare(i[0],a[0]));let o=`${n}{`;for(let i=0;i<s.length;i++){const[a,l]=s[i];o+=`${this.serialize(a,!0)}:${this.serialize(l)}`,i<s.length-1&&(o+=",")}return o+"}"}$object(n){let r=this.#e.get(n);return r===void 0&&(this.#e.set(n,`#${this.#e.size}`),r=this.serializeObject(n),this.#e.set(n,r)),r}$function(n){const r=Function.prototype.toString.call(n);return r.slice(-15)==="[native code] }"?`${n.name||""}()[native]`:`${n.name}(${n.length})${r.replace(/\s*\n\s*/g,"")}`}$Array(n){let r="[";for(let s=0;s<n.length;s++)r+=this.serialize(n[s]),s<n.length-1&&(r+=",");return r+"]"}$Date(n){try{return`Date(${n.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(n){return`ArrayBuffer[${new Uint8Array(n).join(",")}]`}$Set(n){return`Set${this.$Array(Array.from(n).sort((r,s)=>this.compare(r,s)))}`}$Map(n){return this.serializeObjectEntries("Map",n.entries())}}for(const t of["Error","RegExp","URL"])e.prototype["$"+t]=function(n){return`${t}(${n})`};for(const t of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])e.prototype["$"+t]=function(n){return`${t}[${n.join(",")}]`};for(const t of["BigInt64Array","BigUint64Array"])e.prototype["$"+t]=function(n){return`${t}[${n.join("n,")}${n.length>0?"n":""}]`};return e})();function cm(e,t){return e===t||Ta(e)===Ta(t)}const c9=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],u9=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],f9="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",jr=[];let d9=class{_data=new Oi;_hash=new Oi([...c9]);_nDataBytes=0;_minBufferSize=0;finalize(t){t&&this._append(t);const n=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(r+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}_doProcessBlock(t,n){const r=this._hash.words;let s=r[0],o=r[1],i=r[2],a=r[3],l=r[4],c=r[5],u=r[6],f=r[7];for(let d=0;d<64;d++){if(d<16)jr[d]=t[n+d]|0;else{const g=jr[d-15],w=(g<<25|g>>>7)^(g<<14|g>>>18)^g>>>3,x=jr[d-2],S=(x<<15|x>>>17)^(x<<13|x>>>19)^x>>>10;jr[d]=w+jr[d-7]+S+jr[d-16]}const p=l&c^~l&u,h=s&o^s&i^o&i,m=(s<<30|s>>>2)^(s<<19|s>>>13)^(s<<10|s>>>22),v=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),b=f+v+p+u9[d]+jr[d],y=m+h;f=u,u=c,c=l,l=a+b|0,a=i,i=o,o=s,s=b+y|0}r[0]=r[0]+s|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+l|0,r[5]=r[5]+c|0,r[6]=r[6]+u|0,r[7]=r[7]+f|0}_append(t){typeof t=="string"&&(t=Oi.fromUtf8(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_process(t){let n,r=this._data.sigBytes/64;t?r=Math.ceil(r):r=Math.max((r|0)-this._minBufferSize,0);const s=r*16,o=Math.min(s*4,this._data.sigBytes);if(s){for(let i=0;i<s;i+=16)this._doProcessBlock(this._data.words,i);n=this._data.words.splice(0,s),this._data.sigBytes-=o}return new Oi(n,o)}},Oi=class um{words;sigBytes;constructor(t,n){t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}static fromUtf8(t){const n=unescape(encodeURIComponent(t)),r=n.length,s=[];for(let o=0;o<r;o++)s[o>>>2]|=(n.charCodeAt(o)&255)<<24-o%4*8;return new um(s,r)}toBase64(){const t=[];for(let n=0;n<this.sigBytes;n+=3){const r=this.words[n>>>2]>>>24-n%4*8&255,s=this.words[n+1>>>2]>>>24-(n+1)%4*8&255,o=this.words[n+2>>>2]>>>24-(n+2)%4*8&255,i=r<<16|s<<8|o;for(let a=0;a<4&&n*8+a*6<this.sigBytes*8;a++)t.push(f9.charAt(i>>>6*(3-a)&63))}return t.join("")}concat(t){if(this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4),this.sigBytes%4)for(let n=0;n<t.sigBytes;n++){const r=t.words[n>>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=r<<24-(this.sigBytes+n)%4*8}else for(let n=0;n<t.sigBytes;n+=4)this.words[this.sigBytes+n>>>2]=t.words[n>>>2];this.sigBytes+=t.sigBytes}};function p9(e){return new d9().finalize(e).toBase64()}function h9(e){return p9(Ta(e))}let Jn=window[o9];const g9=An(e=>{const t=lm("color-mode",()=>xt({preference:Jn.preference,value:Jn.value,unknown:!1,forced:!1})).value;Ut().afterEach(s=>{const o=s.meta.colorMode;if(o&&o!=="system")ys(t,o),t.forced=!0;else{o==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1;const i=t.preference==="system"?Jn.getColorScheme():t.preference;ys(t,i)}});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&ys(t,Jn.getColorScheme())}))}Ne(()=>t.preference,s=>{t.forced||(s==="system"?(ys(t,Jn.getColorScheme()),r()):ys(t,s),m9(s))},{immediate:!0}),Ne(()=>t.value,(s,o)=>{let i;i=window.document.createElement("style"),i.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),window.document.head.appendChild(i),Jn.removeColorScheme(o),Jn.addColorScheme(s),window.getComputedStyle(i).opacity,document.head.removeChild(i)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=Jn.preference,ys(t,Jn.value),t.unknown=!1)}),e.provide("colorMode",t)});function ys(e,t){e.value=t}function m9(e){try{window.localStorage?.setItem(i9,e)}catch{}}const fm=/^[a-z0-9]+(-[a-z0-9]+)*$/,fi=(e,t,n,r="")=>{const s=e.split(":");if(e.slice(0,1)==="@"){if(s.length<2||s.length>3)return null;r=s.shift().slice(1)}if(s.length>3||!s.length)return null;if(s.length>1){const a=s.pop(),l=s.pop(),c={provider:s.length>0?s[0]:r,prefix:l,name:a};return t&&!Qi(c)?null:c}const o=s[0],i=o.split("-");if(i.length>1){const a={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!Qi(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:o};return t&&!Qi(a,n)?null:a}return null},Qi=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1;function y9(e,t){const n=e.icons,r=e.aliases||Object.create(null),s=Object.create(null);function o(i){if(n[i])return s[i]=[];if(!(i in s)){s[i]=null;const a=r[i]&&r[i].parent,l=a&&o(a);l&&(s[i]=[a].concat(l))}return s[i]}return Object.keys(n).concat(Object.keys(r)).forEach(o),s}const dm=Object.freeze({left:0,top:0,width:16,height:16}),Pa=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Zs=Object.freeze({...dm,...Pa}),ou=Object.freeze({...Zs,body:"",hidden:!1});function v9(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function Pp(e,t){const n=v9(e,t);for(const r in ou)r in Pa?r in e&&!(r in n)&&(n[r]=Pa[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function b9(e,t,n){const r=e.icons,s=e.aliases||Object.create(null);let o={};function i(a){o=Pp(r[a]||s[a],o)}return i(t),n.forEach(i),Pp(e,o)}function pm(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(s=>{t(s,null),n.push(s)});const r=y9(e);for(const s in r){const o=r[s];o&&(t(s,b9(e,s,o)),n.push(s))}return n}const w9={provider:"",aliases:{},not_found:{},...dm};function rc(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function hm(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!rc(e,w9))return null;const n=t.icons;for(const s in n){const o=n[s];if(!s||typeof o.body!="string"||!rc(o,ou))return null}const r=t.aliases||Object.create(null);for(const s in r){const o=r[s],i=o.parent;if(!s||typeof i!="string"||!n[i]&&!r[i]||!rc(o,ou))return null}return t}const Rp=Object.create(null);function _9(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function os(e,t){const n=Rp[e]||(Rp[e]=Object.create(null));return n[t]||(n[t]=_9(e,t))}function gm(e,t){return hm(t)?pm(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function x9(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Xo=!1;function mm(e){return typeof e=="boolean"&&(Xo=e),Xo}function kf(e){const t=typeof e=="string"?fi(e,!0,Xo):e;if(t){const n=os(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function Sf(e,t){const n=fi(e,!0,Xo);if(!n)return!1;const r=os(n.provider,n.prefix);return t?x9(r,n.name,t):(r.missing.add(n.name),!0)}function C9(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Xo&&!t&&!e.prefix){let r=!1;return hm(e)&&(e.prefix="",pm(e,(s,o)=>{Sf(s,o)&&(r=!0)})),r}const n=e.prefix;return Qi({prefix:n,name:"a"})?!!gm(os(t,n),e):!1}function iu(e){const t=kf(e);return t&&{...Zs,...t}}const ym=Object.freeze({width:null,height:null}),vm=Object.freeze({...ym,...Pa}),k9=/(-?[0-9.]*[0-9]+[0-9.]*)/g,S9=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Op(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(k9);if(r===null||!r.length)return e;const s=[];let o=r.shift(),i=S9.test(o);for(;;){if(i){const a=parseFloat(o);isNaN(a)?s.push(o):s.push(Math.ceil(a*t*n)/n)}else s.push(o);if(o=r.shift(),o===void 0)return s.join("");i=!i}}function E9(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const s=e.indexOf(">",r),o=e.indexOf("</"+t);if(s===-1||o===-1)break;const i=e.indexOf(">",o);if(i===-1)break;n+=e.slice(s+1,o).trim(),e=e.slice(0,r).trim()+e.slice(i+1)}return{defs:n,content:e}}function A9(e,t){return e?"<defs>"+e+"</defs>"+t:t}function T9(e,t,n){const r=E9(e);return A9(r.defs,t+r.content+n)}const P9=e=>e==="unset"||e==="undefined"||e==="none";function R9(e,t){const n={...Zs,...e},r={...vm,...t},s={left:n.left,top:n.top,width:n.width,height:n.height};let o=n.body;[n,r].forEach(m=>{const v=[],b=m.hFlip,y=m.vFlip;let g=m.rotate;b?y?g+=2:(v.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),v.push("scale(-1 1)"),s.top=s.left=0):y&&(v.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),v.push("scale(1 -1)"),s.top=s.left=0);let w;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:w=s.height/2+s.top,v.unshift("rotate(90 "+w.toString()+" "+w.toString()+")");break;case 2:v.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:w=s.width/2+s.left,v.unshift("rotate(-90 "+w.toString()+" "+w.toString()+")");break}g%2===1&&(s.left!==s.top&&(w=s.left,s.left=s.top,s.top=w),s.width!==s.height&&(w=s.width,s.width=s.height,s.height=w)),v.length&&(o=T9(o,'<g transform="'+v.join(" ")+'">',"</g>"))});const i=r.width,a=r.height,l=s.width,c=s.height;let u,f;i===null?(f=a===null?"1em":a==="auto"?c:a,u=Op(f,l/c)):(u=i==="auto"?l:i,f=a===null?Op(u,c/l):a==="auto"?c:a);const d={},p=(m,v)=>{P9(v)||(d[m]=v.toString())};p("width",u),p("height",f);const h=[s.left,s.top,l,c];return d.viewBox=h.join(" "),{attributes:d,viewBox:h,body:o}}const O9=/\sid="(\S+)"/g,Ip=new Map;function I9(e){e=e.replace(/[0-9]+$/,"")||"a";const t=Ip.get(e)||0;return Ip.set(e,t+1),t?`${e}${t}`:e}function M9(e){const t=[];let n;for(;n=O9.exec(e);)t.push(n[1]);if(!t.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(s=>{const o=I9(s),i=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+o+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const au=Object.create(null);function bm(e,t){au[e]=t}function lu(e){return au[e]||au[""]}function Ef(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const yl=Object.create(null),uo=["https://api.simplesvg.com","https://api.unisvg.com"],ea=[];for(;uo.length>0;)uo.length===1||Math.random()>.5?ea.push(uo.shift()):ea.push(uo.pop());yl[""]=Ef({resources:["https://api.iconify.design"].concat(ea)});function wm(e,t){const n=Ef(t);return n===null?!1:(yl[e]=n,!0)}function vl(e){return yl[e]}function L9(){return Object.keys(yl)}const $9=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Ra=$9();function N9(e){Ra=e}function D9(){return Ra}function B9(e,t){const n=vl(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let s=0;n.resources.forEach(i=>{s=Math.max(s,i.length)});const o=t+".json?icons=";r=n.maxURL-s-n.path.length-o.length}return r}function F9(e){return e===404}const j9=(e,t,n)=>{const r=[],s=B9(e,t),o="icons";let i={type:o,provider:e,prefix:t,icons:[]},a=0;return n.forEach((l,c)=>{a+=l.length+1,a>=s&&c>0&&(r.push(i),i={type:o,provider:e,prefix:t,icons:[]},a=l.length),i.icons.push(l)}),r.push(i),r};function z9(e){if(typeof e=="string"){const t=vl(e);if(t)return t.path}return"/"}const q9=(e,t,n)=>{if(!Ra){n("abort",424);return}let r=z9(t.provider);switch(t.type){case"icons":{const o=t.prefix,i=t.icons.join(","),a=new URLSearchParams({icons:i});r+=o+".json?"+a.toString();break}case"custom":{const o=t.uri;r+=o.slice(0,1)==="/"?o.slice(1):o;break}default:n("abort",400);return}let s=503;Ra(e+r).then(o=>{const i=o.status;if(i!==200){setTimeout(()=>{n(F9(i)?"abort":"next",i)});return}return s=501,o.json()}).then(o=>{if(typeof o!="object"||o===null){setTimeout(()=>{o===404?n("abort",o):n("next",s)});return}setTimeout(()=>{n("success",o)})}).catch(()=>{n("next",s)})},H9={prepare:j9,send:q9};function _m(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(s=>s.id!==t))})}function U9(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,s=e.prefix;t.forEach(o=>{const i=o.icons,a=i.pending.length;i.pending=i.pending.filter(l=>{if(l.prefix!==s)return!0;const c=l.name;if(e.icons[c])i.loaded.push({provider:r,prefix:s,name:c});else if(e.missing.has(c))i.missing.push({provider:r,prefix:s,name:c});else return n=!0,!0;return!1}),i.pending.length!==a&&(n||_m([e],o.id),o.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),o.abort))})}))}let V9=0;function G9(e,t,n){const r=V9++,s=_m.bind(null,n,r);if(!t.pending.length)return s;const o={id:r,icons:t,callback:e,abort:s};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(o)}),s}function W9(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((s,o)=>s.provider!==o.provider?s.provider.localeCompare(o.provider):s.prefix!==o.prefix?s.prefix.localeCompare(o.prefix):s.name.localeCompare(o.name));let r={provider:"",prefix:"",name:""};return e.forEach(s=>{if(r.name===s.name&&r.prefix===s.prefix&&r.provider===s.provider)return;r=s;const o=s.provider,i=s.prefix,a=s.name,l=n[o]||(n[o]=Object.create(null)),c=l[i]||(l[i]=os(o,i));let u;a in c.icons?u=t.loaded:i===""||c.missing.has(a)?u=t.missing:u=t.pending;const f={provider:o,prefix:i,name:a};u.push(f)}),t}function K9(e,t=!0,n=!1){const r=[];return e.forEach(s=>{const o=typeof s=="string"?fi(s,t,n):s;o&&r.push(o)}),r}const X9={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Y9(e,t,n,r){const s=e.resources.length,o=e.random?Math.floor(Math.random()*s):e.index;let i;if(e.random){let S=e.resources.slice(0);for(i=[];S.length>1;){const k=Math.floor(Math.random()*S.length);i.push(S[k]),S=S.slice(0,k).concat(S.slice(k+1))}i=i.concat(S)}else i=e.resources.slice(o).concat(e.resources.slice(0,o));const a=Date.now();let l="pending",c=0,u,f=null,d=[],p=[];typeof r=="function"&&p.push(r);function h(){f&&(clearTimeout(f),f=null)}function m(){l==="pending"&&(l="aborted"),h(),d.forEach(S=>{S.status==="pending"&&(S.status="aborted")}),d=[]}function v(S,k){k&&(p=[]),typeof S=="function"&&p.push(S)}function b(){return{startTime:a,payload:t,status:l,queriesSent:c,queriesPending:d.length,subscribe:v,abort:m}}function y(){l="failed",p.forEach(S=>{S(void 0,u)})}function g(){d.forEach(S=>{S.status==="pending"&&(S.status="aborted")}),d=[]}function w(S,k,T){const P=k!=="success";switch(d=d.filter(I=>I!==S),l){case"pending":break;case"failed":if(P||!e.dataAfterTimeout)return;break;default:return}if(k==="abort"){u=T,y();return}if(P){u=T,d.length||(i.length?x():y());return}if(h(),g(),!e.random){const I=e.resources.indexOf(S.resource);I!==-1&&I!==e.index&&(e.index=I)}l="completed",p.forEach(I=>{I(T)})}function x(){if(l!=="pending")return;h();const S=i.shift();if(S===void 0){if(d.length){f=setTimeout(()=>{h(),l==="pending"&&(g(),y())},e.timeout);return}y();return}const k={status:"pending",resource:S,callback:(T,P)=>{w(k,T,P)}};d.push(k),c++,f=setTimeout(x,e.rotate),n(S,t,k.callback)}return setTimeout(x),b}function xm(e){const t={...X9,...e};let n=[];function r(){n=n.filter(i=>i().status==="pending")}function s(i,a,l){const c=Y9(t,i,a,(u,f)=>{r(),l&&l(u,f)});return n.push(c),c}function o(i){return n.find(a=>i(a))||null}return{query:s,find:o,setIndex:i=>{t.index=i},getIndex:()=>t.index,cleanup:r}}function Mp(){}const sc=Object.create(null);function J9(e){if(!sc[e]){const t=vl(e);if(!t)return;sc[e]={config:t,redundancy:xm(t)}}return sc[e]}function Cm(e,t,n){let r,s;if(typeof e=="string"){const o=lu(e);if(!o)return n(void 0,424),Mp;s=o.send;const i=J9(e);i&&(r=i.redundancy)}else{const o=Ef(e);if(o){r=xm(o);const i=lu(e.resources?e.resources[0]:"");i&&(s=i.send)}}return!r||!s?(n(void 0,424),Mp):r.query(t,s,n)().abort}function Lp(){}function Z9(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,U9(e)}))}function Q9(e){const t=[],n=[];return e.forEach(r=>{(r.match(fm)?t:n).push(r)}),{valid:t,invalid:n}}function fo(e,t,n){function r(){const s=e.pendingIcons;t.forEach(o=>{s&&s.delete(o),e.icons[o]||e.missing.add(o)})}if(n&&typeof n=="object")try{if(!gm(e,n).length){r();return}}catch(s){console.error(s)}r(),Z9(e)}function $p(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function e7(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,s=e.iconsToLoad;if(delete e.iconsToLoad,!s||!s.length)return;const o=e.loadIcon;if(e.loadIcons&&(s.length>1||!o)){$p(e.loadIcons(s,r,n),c=>{fo(e,s,c)});return}if(o){s.forEach(c=>{$p(o(c,r,n),u=>{fo(e,[c],u?{prefix:r,icons:{[c]:u}}:null)})});return}const{valid:i,invalid:a}=Q9(s);if(a.length&&fo(e,a,null),!i.length)return;const l=r.match(fm)?lu(n):null;if(!l){fo(e,i,null);return}l.prepare(n,r,i).forEach(c=>{Cm(n,c,u=>{fo(e,c.icons,u)})})}))}const km=(e,t)=>{const n=W9(K9(e,!0,mm()));if(!n.pending.length){let a=!0;return t&&setTimeout(()=>{a&&t(n.loaded,n.missing,n.pending,Lp)}),()=>{a=!1}}const r=Object.create(null),s=[];let o,i;return n.pending.forEach(a=>{const{provider:l,prefix:c}=a;if(c===i&&l===o)return;o=l,i=c,s.push(os(l,c));const u=r[l]||(r[l]=Object.create(null));u[c]||(u[c]=[])}),n.pending.forEach(a=>{const{provider:l,prefix:c,name:u}=a,f=os(l,c),d=f.pendingIcons||(f.pendingIcons=new Set);d.has(u)||(d.add(u),r[l][c].push(u))}),s.forEach(a=>{const l=r[a.provider][a.prefix];l.length&&e7(a,l)}),t?G9(t,n,s):Lp},t7=e=>new Promise((t,n)=>{const r=typeof e=="string"?fi(e,!0):e;if(!r){n(e);return}km([r||e],s=>{if(s.length&&r){const o=kf(r);if(o){t({...Zs,...o});return}}n(e)})});function n7(e,t,n){os("",t).loadIcons=e}function r7(e,t){const n={...e};for(const r in t){const s=t[r],o=typeof s;r in ym?(s===null||s&&(o==="string"||o==="number"))&&(n[r]=s):o===typeof n[r]&&(n[r]=r==="rotate"?s%4:s)}return n}const s7=/[\s,]+/;function o7(e,t){t.split(s7).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function i7(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(s){for(;s<0;)s+=4;return s%4}if(n===""){const s=parseInt(e);return isNaN(s)?0:r(s)}else if(n!==e){let s=0;switch(n){case"%":s=25;break;case"deg":s=90}if(s){let o=parseFloat(e.slice(0,e.length-n.length));return isNaN(o)?0:(o=o/s,o%1===0?r(o):0)}}return t}function a7(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function l7(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function c7(e){return"data:image/svg+xml,"+l7(e)}function u7(e){return'url("'+c7(e)+'")'}const Np={...vm,inline:!1},f7={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},d7={display:"inline-block"},cu={backgroundColor:"currentColor"},Sm={backgroundColor:"transparent"},Dp={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Bp={webkitMask:cu,mask:cu,background:Sm};for(const e in Bp){const t=Bp[e];for(const n in Dp)t[e+n]=Dp[n]}const ta={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";ta[e+"-flip"]=t,ta[e.slice(0,1)+"-flip"]=t,ta[e+"Flip"]=t});function Fp(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const jp=(e,t)=>{const n=r7(Np,t),r={...f7},s=t.mode||"svg",o={},i=t.style,a=typeof i=="object"&&!(i instanceof Array)?i:{};for(let m in t){const v=t[m];if(v!==void 0)switch(m){case"icon":case"style":case"onLoad":case"mode":case"ssr":case"customise":break;case"inline":case"hFlip":case"vFlip":n[m]=v===!0||v==="true"||v===1;break;case"flip":typeof v=="string"&&o7(n,v);break;case"color":o.color=v;break;case"rotate":typeof v=="string"?n[m]=i7(v):typeof v=="number"&&(n[m]=v);break;case"ariaHidden":case"aria-hidden":v!==!0&&v!=="true"&&delete r["aria-hidden"];break;default:{const b=ta[m];b?(v===!0||v==="true"||v===1)&&(n[b]=!0):Np[m]===void 0&&(r[m]=v)}}}const l=R9(e,n),c=l.attributes;if(n.inline&&(o.verticalAlign="-0.125em"),s==="svg")return r.style={...o,...a},Object.assign(r,c),r.innerHTML=M9(l.body),Ze("svg",r);const{body:u,width:f,height:d}=e,p=s==="mask"||(s==="bg"?!1:u.indexOf("currentColor")!==-1),h=a7(u,{...c,width:f+"",height:d+""});return r.style={...o,"--svg":u7(h),width:Fp(c.width),height:Fp(c.height),...d7,...p?cu:Sm,...a},Ze("span",r)};mm(!0);bm("",H9);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!C9(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const s=t[n];if(typeof s!="object"||!s||s.resources===void 0)continue;wm(n,s)||console.error(r)}catch{console.error(r)}}}}const p7={...Zs,body:""},h7=ge((e,{emit:t})=>{const n=Q(null);function r(){n.value&&(n.value.abort?.(),n.value=null)}const s=Q(!!e.ssr),o=Q(""),i=at(null);function a(){const c=e.icon;if(typeof c=="object"&&c!==null&&typeof c.body=="string")return o.value="",{data:c};let u;if(typeof c!="string"||(u=fi(c,!1,!0))===null)return null;let f=kf(u);if(!f){const h=n.value;return(!h||h.name!==c)&&(f===null?n.value={name:c}:n.value={name:c,abort:km([u],l)}),null}r(),o.value!==c&&(o.value=c,At(()=>{t("load",c)}));const d=e.customise;if(d){f=Object.assign({},f);const h=d(f.body,u.name,u.prefix,u.provider);typeof h=="string"&&(f.body=h)}const p=["iconify"];return u.prefix!==""&&p.push("iconify--"+u.prefix),u.provider!==""&&p.push("iconify--"+u.provider),{data:f,classes:p}}function l(){const c=a();c?c.data!==i.value?.data&&(i.value=c):i.value=null}return s.value?l():It(()=>{s.value=!0,l()}),Ne(()=>e.icon,l),Lr(r),()=>{const c=i.value;if(!c)return jp(p7,e);let u=e;return c.classes&&(u={...e,class:c.classes.join(" ")}),jp({...Zs,...c.data},u)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]}),zp={getAPIConfig:vl,setAPIModule:bm,sendAPIQuery:Cm,setFetch:N9,getFetch:D9,listAPIProviders:L9},g7={ui:{colors:{primary:"green",neutral:"neutral"},button:{defaultVariants:{color:"neutral",variant:"ghost",size:"sm"}},badge:{defaultVariants:{color:"neutral",variant:"subtle",size:"xs"}},tooltip:{defaultVariants:{delayDuration:0}}}},m7={nuxt:{},ui:{colors:{primary:"green",secondary:"blue",success:"green",info:"blue",warning:"yellow",error:"red",neutral:"slate"},icons:{arrowDown:"i-lucide-arrow-down",arrowLeft:"i-lucide-arrow-left",arrowRight:"i-lucide-arrow-right",arrowUp:"i-lucide-arrow-up",caution:"i-lucide-circle-alert",check:"i-lucide-check",chevronDoubleLeft:"i-lucide-chevrons-left",chevronDoubleRight:"i-lucide-chevrons-right",chevronDown:"i-lucide-chevron-down",chevronLeft:"i-lucide-chevron-left",chevronRight:"i-lucide-chevron-right",chevronUp:"i-lucide-chevron-up",close:"i-lucide-x",copy:"i-lucide-copy",copyCheck:"i-lucide-copy-check",dark:"i-lucide-moon",drag:"i-lucide-grip-vertical",ellipsis:"i-lucide-ellipsis",error:"i-lucide-circle-x",external:"i-lucide-arrow-up-right",eye:"i-lucide-eye",eyeOff:"i-lucide-eye-off",file:"i-lucide-file",folder:"i-lucide-folder",folderOpen:"i-lucide-folder-open",hash:"i-lucide-hash",info:"i-lucide-info",light:"i-lucide-sun",loading:"i-lucide-loader-circle",menu:"i-lucide-menu",minus:"i-lucide-minus",panelClose:"i-lucide-panel-left-close",panelOpen:"i-lucide-panel-left-open",plus:"i-lucide-plus",reload:"i-lucide-rotate-ccw",search:"i-lucide-search",stop:"i-lucide-square",success:"i-lucide-circle-check",system:"i-lucide-monitor",tip:"i-lucide-lightbulb",upload:"i-lucide-upload",warning:"i-lucide-triangle-alert"},tv:{twMergeConfig:{}}},icon:{provider:"iconify",class:"",aliases:{},iconifyApiEndpoint:"https://api.iconify.design",localApiEndpoint:"/api/_nuxt_icon",fallbackToApi:!0,cssSelectorPrefix:"i-",cssWherePseudo:!0,cssLayer:"base",mode:"css",attrs:{"aria-hidden":!0},collections:["academicons","akar-icons","ant-design","arcticons","basil","bi","bitcoin-icons","bpmn","brandico","bx","bxl","bxs","bytesize","carbon","catppuccin","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codex","codicon","covid","cryptocurrency","cryptocurrency-color","cuida","dashicons","devicon","devicon-plain","dinkie-icons","duo-icons","ei","el","emojione","emojione-monotone","emojione-v1","entypo","entypo-social","eos-icons","ep","et","eva","f7","fa","fa-brands","fa-regular","fa-solid","fa6-brands","fa6-regular","fa6-solid","fa7-brands","fa7-regular","fa7-solid","fad","famicons","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","flowbite","fluent","fluent-color","fluent-emoji","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-mdl2","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","garden","geo","gg","gis","gravity-ui","gridicons","grommet-icons","guidance","healthicons","heroicons","heroicons-outline","heroicons-solid","hugeicons","humbleicons","ic","icomoon-free","icon-park","icon-park-outline","icon-park-solid","icon-park-twotone","iconamoon","iconoir","icons8","il","ion","iwwa","ix","jam","la","lets-icons","line-md","lineicons","logos","ls","lsicon","lucide","lucide-lab","mage","majesticons","maki","map","marketeq","material-icon-theme","material-symbols","material-symbols-light","mdi","mdi-light","medical-icon","memory","meteocons","meteor-icons","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto","noto-v1","nrk","octicon","oi","ooui","openmoji","oui","pajamas","pepicons","pepicons-pencil","pepicons-pop","pepicons-print","ph","picon","pixel","pixelarticons","prime","proicons","ps","qlementine-icons","quill","radix-icons","raphael","ri","rivet-icons","roentgen","si","si-glyph","sidekickicons","simple-icons","simple-line-icons","skill-icons","solar","stash","streamline","streamline-block","streamline-color","streamline-cyber","streamline-cyber-color","streamline-emojis","streamline-flex","streamline-flex-color","streamline-freehand","streamline-freehand-color","streamline-kameleon-color","streamline-logos","streamline-pixel","streamline-plump","streamline-plump-color","streamline-sharp","streamline-sharp-color","streamline-stickies-color","streamline-ultimate","streamline-ultimate-color","subway","svg-spinners","system-uicons","tabler","tdesign","teenyicons","temaki","token","token-branded","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","weui","whh","wi","wpf","zmdi","zondicons"],fetchTimeout:1500}},Em=w6(g7,m7);function vt(){const e=Ue();return e._appConfig||=xt(Em),e._appConfig}const y7=An({name:"@nuxt/icon",setup(){const e=ui(),t=vt().icon;zp.setFetch($fetch.native);const n=[];if(t.provider==="server"){const s=e.app?.baseURL?.replace(/\/$/,"")??"";n.push(s+(t.localApiEndpoint||"/api/_nuxt_icon")),(t.fallbackToApi===!0||t.fallbackToApi==="client-only")&&n.push(t.iconifyApiEndpoint)}else t.provider==="none"?zp.setFetch(()=>Promise.resolve(new Response)):n.push(t.iconifyApiEndpoint);async function r(s,o){try{const i=await $fetch(n[0]+"/"+o+".json",{query:{icons:s.join(",")}});if(!i||i.prefix!==o||!i.icons)throw new Error("Invalid data"+JSON.stringify(i));return i}catch(i){return console.error("Failed to load custom icons",i),null}}wm("",{resources:n});for(const s of t.customCollections||[])s&&n7(r,s)}}),v7=Oc(()=>ln(()=>Promise.resolve().then(()=>sk),void 0,import.meta.url).then(e=>e.default||e.default||e)),b7=[["Icon",v7]],w7=An({name:"nuxt:global-components",setup(e){for(const[t,n]of b7)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),Ii={};function _7(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function Am(e,t=Ut()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;const s=t._preloadPromises||=[];if(s.length>4)return Promise.all(s).then(()=>Am(e,t));t._routePreloaded.add(n);for(const o of r){const i=o.components?.default;if(typeof i!="function")continue;const a=Promise.resolve(i()).catch(()=>{}).finally(()=>s.splice(s.indexOf(a),1));s.push(a)}await Promise.all(s)}const x7=An({name:"nuxt:prefetch",setup(e){const t=Ut();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof Ii[r]=="function"&&await Ii[r]()})}),e.hooks.hook("link:prefetch",n=>{if(xn(n))return;const r=t.resolve(n);if(!r)return;const s=r.meta.layout;let o=im(r.meta.middleware);o=o.filter(i=>typeof i=="string");for(const i of o)typeof ru[i]=="function"&&ru[i]();typeof s=="string"&&s in Ii&&_7(Ii[s])})}});var Mi={inherit:"inherit",current:"currentcolor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},mauve:{50:"oklch(98.5% 0 0)",100:"oklch(96% 0.003 325.6)",200:"oklch(92.2% 0.005 325.62)",300:"oklch(86.5% 0.012 325.68)",400:"oklch(71.1% 0.019 323.02)",500:"oklch(54.2% 0.034 322.5)",600:"oklch(43.5% 0.029 321.78)",700:"oklch(36.4% 0.029 323.89)",800:"oklch(26.3% 0.024 320.12)",900:"oklch(21.2% 0.019 322.12)",950:"oklch(14.5% 0.008 326)"},olive:{50:"oklch(98.8% 0.003 106.5)",100:"oklch(96.6% 0.005 106.5)",200:"oklch(93% 0.007 106.5)",300:"oklch(88% 0.011 106.6)",400:"oklch(73.7% 0.021 106.9)",500:"oklch(58% 0.031 107.3)",600:"oklch(46.6% 0.025 107.3)",700:"oklch(39.4% 0.023 107.4)",800:"oklch(28.6% 0.016 107.4)",900:"oklch(22.8% 0.013 107.4)",950:"oklch(15.3% 0.006 107.1)"},mist:{50:"oklch(98.7% 0.002 197.1)",100:"oklch(96.3% 0.002 197.1)",200:"oklch(92.5% 0.005 214.3)",300:"oklch(87.2% 0.007 219.6)",400:"oklch(72.3% 0.014 214.4)",500:"oklch(56% 0.021 213.5)",600:"oklch(45% 0.017 213.2)",700:"oklch(37.8% 0.015 216)",800:"oklch(27.5% 0.011 216.9)",900:"oklch(21.8% 0.008 223.9)",950:"oklch(14.8% 0.004 228.8)"},taupe:{50:"oklch(98.6% 0.002 67.8)",100:"oklch(96% 0.002 17.2)",200:"oklch(92.2% 0.005 34.3)",300:"oklch(86.8% 0.007 39.5)",400:"oklch(71.4% 0.014 41.2)",500:"oklch(54.7% 0.021 43.1)",600:"oklch(43.8% 0.017 39.3)",700:"oklch(36.7% 0.016 35.7)",800:"oklch(26.8% 0.011 36.5)",900:"oklch(21.4% 0.009 43.1)",950:"oklch(14.7% 0.004 49.3)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"}};const C7=[50,100,200,300,400,500,600,700,800,900,950];function k7(e,t){return e in Mi&&typeof Mi[e]=="object"&&t in Mi[e]?Mi[e][t]:""}function S7(e,t,n){const r=n?`${n}-`:"";return`${C7.map(s=>`--ui-color-${e}-${s}: var(--${r}color-${t==="neutral"?"old-neutral":t}-${s}, ${k7(t,s)});`).join(`
|
|
12
|
-
`)}`}function qp(e,t){return`--ui-${e}: var(--ui-color-${e}-${t});`}function E7(){document.querySelector("[data-nuxt-ui-colors]")?.remove()}const A7=An(()=>{const e=vt(),t=Ue(),n=R(()=>{const{neutral:s,...o}=e.ui.colors,i=e.ui.prefix;return`@layer theme {
|
|
13
|
-
:root, :host {
|
|
14
|
-
${Object.entries(e.ui.colors).map(([a,l])=>S7(a,l,i)).join(`
|
|
15
|
-
`)}
|
|
16
|
-
}
|
|
17
|
-
:root, :host, .light {
|
|
18
|
-
${Object.keys(o).map(a=>qp(a,500)).join(`
|
|
19
|
-
`)}
|
|
20
|
-
}
|
|
21
|
-
.dark {
|
|
22
|
-
${Object.keys(o).map(a=>qp(a,400)).join(`
|
|
23
|
-
`)}
|
|
24
|
-
}
|
|
25
|
-
}`}),r={style:[{innerHTML:n,tagPriority:"critical",id:"nuxt-ui-colors"}]};if(t.isHydrating&&!t.payload.serverRendered){const s=document.createElement("style");s.innerHTML=n.value,s.setAttribute("data-nuxt-ui-colors",""),document.head.appendChild(s),H1().hooks.hookOnce("dom:rendered",E7)}U1(r)}),T7=[Cw,Tw,Q8,t9,n9,s9,g9,y7,w7,x7,A7],Tm=(e="RouteProvider")=>ge({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(t){const n=t.renderKey,r=t.route,s={};for(const o in t.route)Object.defineProperty(s,o,{get:()=>n===t.renderKey?t.route[o]:r[o],enumerable:!0});return qt(hl,hn(s)),()=>t.vnode?Ze(t.vnode,{ref:t.vnodeRef}):t.vnode}}),P7=Tm(),Hp=new WeakMap,R7=ge({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:r}){const s=Ue(),o=Q(),i=We(hl,null);let a;r({pageRef:o});const l=We(S6,null);let c;const u=s.deferHydration();let f=!1,d=!1,p=0;if(s.isHydrating){const m=s.hooks.hookOnce("app:error",u),v=Ut().beforeEach(()=>{m(),v()})}e.pageKey&&Ne(()=>e.pageKey,(m,v)=>{m!==v&&s.callHook("page:loading:start")});let h=!1;{const m=Ut().beforeResolve(()=>{h=!1});cs(()=>{m(),u()})}return()=>Ze(om,{name:e.name,route:e.route,...t},{default:m=>{const v=O7(i,m.route,m.Component),b=i&&i.matched.length===m.route.matched.length;if(!m.Component){if(c&&!b&&!oc(c))return c;u();return}if(c&&l&&!oc(c)&&!l.isCurrent(m.route))return c;if(v&&i&&(!l||l?.isCurrent(i)))return(b||c)&&!oc(c)?c:null;const y=nu(m,e.pageKey),g=I7(i,m.route,m.Component);!s.isHydrating&&a===y&&!g&&At(()=>{h||(h=!0,s.callHook("page:loading:end"))}),f&&a!==y&&d&&p++,a=y;const w=!!(e.transition??m.route.meta.pageTransition??Qd),x=w&&G8([e.transition,m.route.meta.pageTransition,Qd,{onAfterLeave(){s["~transitionFinish"]?.(),delete s["~transitionFinish"],delete s["~transitionPromise"],s.callHook("page:transition:finish",m.Component)}}]),S=e.keepalive??m.route.meta.keepalive??c6;return c=z8(w&&x,B8(S,Ze(M0,{key:p,suspensible:!0,onPending:()=>{f=!0,w&&!s["~transitionPromise"]&&(s["~transitionPromise"]=new Promise(k=>{s["~transitionFinish"]=k})),s.callHook("page:start",m.Component)},onResolve:async()=>{f=!1,d=!0;try{await At(),s._route.sync?.(),await s.callHook("page:finish",m.Component),!h&&!g&&(h=!0,await s.callHook("page:loading:end"))}finally{u()}}},{default:()=>{const k={key:y||void 0,vnode:n.default?M7(n.default,m):m.Component,route:m.route,renderKey:y||void 0,trackRootNodes:w,vnodeRef:o};if(!S)return Ze(P7,k);const T=m.Component.type,P=T;let I=Hp.get(P);return I||(I=Tm(T.name||T.__name),Hp.set(P,I)),Ze(I,k)}}))).default(),c}})}});function O7(e,t,n){if(!e)return!1;const r=t.matched.findIndex(i=>i.components?.default===n?.type);if(r===-1)return!1;const s=t.matched.slice(0,r).filter(i=>i.components?.default);if(!s.length)return!1;const o=e.matched.filter(i=>i.components?.default);return s.some((i,a)=>i.components?.default!==o[a]?.components?.default)||n&&nu({route:t,Component:n})!==nu({route:e,Component:n})}function I7(e,t,n){return e?t.matched.findIndex(s=>s.components?.default===n?.type)<t.matched.length-1:!1}function M7(e,t){const n=e(t);return n.length===1?Ze(n[0]):Ze(ze,void 0,n)}function oc(e){return!!e&&(!!e.suspense?.isUnmounted||!!e.component?.isUnmounted)}const bl=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},L7={},$7={height:"25",viewBox:"0 0 1467 238",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function N7(e,t){return N(),Ee("svg",$7,[...t[0]||(t[0]=[F0('<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="M893.083 200C882.767 200 873.691 198.288 865.856 194.368C858.021 190.319 851.818 184.701 847.248 177.516C842.808 170.2 840.392 161.708 840 152.041H868.207C868.86 159.096 871.341 164.648 875.65 168.698C880.09 172.747 885.901 174.772 893.083 174.772C899.743 174.772 905.032 173.401 908.95 170.657C912.998 167.914 915.022 163.995 915.022 158.9C915.022 155.372 913.847 152.564 911.496 150.473C909.276 148.252 906.468 146.554 903.073 145.378C899.678 144.203 894.846 142.831 888.578 141.263C879.307 139.042 871.667 136.691 865.66 134.209C859.784 131.596 854.691 127.481 850.382 121.863C846.072 116.245 843.918 108.538 843.918 98.7396C843.918 91.2931 845.942 84.6305 849.99 78.7516C854.038 72.8728 859.653 68.3004 866.836 65.0344C874.018 61.6377 882.179 59.9394 891.32 59.9394C901.114 59.9394 909.733 61.7031 917.177 65.2303C924.751 68.7576 930.627 73.7873 934.806 80.3193C939.115 86.8514 941.4 94.4285 941.662 103.051H913.651C913.128 97.5639 910.908 93.2527 906.991 90.1174C903.073 86.8513 897.85 85.2183 891.32 85.2183C885.575 85.2183 881.004 86.4594 877.609 88.9416C874.214 91.4238 872.516 94.6898 872.516 98.7396C872.516 102.528 873.691 105.533 876.042 107.754C878.392 109.975 881.396 111.738 885.052 113.045C888.709 114.221 893.736 115.527 900.135 116.964C909.537 119.185 917.177 121.471 923.053 123.823C928.929 126.174 933.957 130.159 938.136 135.776C942.445 141.263 944.6 148.84 944.6 158.508C944.6 166.999 942.445 174.38 938.136 180.651C933.826 186.922 927.754 191.756 919.919 195.152C912.214 198.549 903.269 200 893.083 200Z" fill="#00DC82"></path><path d="M1005.43 200C995.507 200 986.519 198.026 978.684 193.585C970.98 189.143 964.973 183.068 960.663 175.36C956.485 167.522 954.395 158.834 954.395 149.298C954.395 139.761 956.485 131.138 960.663 123.431C964.973 115.592 970.98 109.452 978.684 105.01C986.519 100.569 995.399 98.3477 1005.32 98.3477C1013.94 98.3477 1021.78 99.9807 1028.83 103.247C1036.01 106.513 1041.76 111.085 1046.07 116.964C1050.51 122.843 1052.99 129.505 1053.51 136.952H1026.09C1025.3 132.51 1023.02 128.852 1019.23 125.978C1015.44 123.104 1011.07 121.667 1006.11 121.667C998.925 121.667 993.245 124.215 989.066 129.31C984.887 134.404 982.798 141.067 982.798 149.298C982.798 157.528 984.887 164.191 989.066 169.285C993.375 174.25 999.186 176.732 1006.5 176.732C1011.46 176.732 1015.77 175.36 1019.43 172.617C1023.08 169.873 1025.43 166.281 1026.48 161.839H1054.29C1053.38 169.024 1050.64 175.556 1046.07 181.435C1041.5 187.314 1035.62 191.952 1028.44 195.348C1021.39 198.614 1013.79 200 1005.43 200Z" fill="#00DC82"></path><path d="M1115.15 122.647C1108.62 122.647 1103.72 125.129 1100.46 130.093C1097.2 135.058 1095.56 141.916 1095.56 150.669V200H1068.14V99.9154H1095.56V116.376C1098.17 110.367 1101.37 106.121 1105.16 103.639C1109.08 101.156 1114.11 99.9154 1120.24 99.9154H1131.41V122.647H1115.15Z" fill="#00DC82"></path><path d="M1171.5 200H1144.08V99.9154H1171.5V200ZM1143.3 85.8062V58H1172.29V85.8062H1143.3Z" fill="#00DC82"></path><path d="M1193.09 238V99.9154H1220.32V110.693C1223.32 106.774 1227.24 103.769 1232.07 101.679C1236.9 99.4582 1242.45 98.3477 1248.72 98.3477C1257.86 98.3477 1265.82 100.438 1272.62 104.618C1279.41 108.799 1284.63 114.743 1288.29 122.451C1292.07 130.159 1293.97 139.108 1293.97 149.298C1293.97 159.487 1291.94 168.436 1287.89 176.144C1283.98 183.721 1278.43 189.665 1271.24 193.977C1264.06 198.157 1255.73 200 1246.33 200C1240.72 200 1235.66 199.333 1231.09 197.504C1226.52 195.675 1222.93 193.127 1220.32 189.861V238H1193.09ZM1243.04 176.732C1250.22 176.732 1256.03 174.25 1260.47 169.285C1264.91 164.191 1267.13 157.528 1267.13 149.298C1267.13 140.937 1264.91 134.274 1260.47 129.31C1256.03 124.215 1250.22 121.667 1243.04 121.667C1235.72 121.667 1229.85 124.215 1225.41 129.31C1220.97 134.274 1218.75 140.937 1218.75 149.298C1218.75 157.528 1220.97 164.191 1225.41 169.285C1229.85 174.25 1235.72 176.732 1243.04 176.732Z" fill="#00DC82"></path><path d="M1319.6 70.7172H1346.83V99.9154H1373.27V122.647H1346.83V163C1346.83 172.406 1351.46 177.109 1360.74 177.109H1373.27V200.037H1357.01C1345.52 200.037 1336.38 196.901 1329.59 190.63C1322.93 184.36 1319.6 175.541 1319.6 164.176V122.647H1300.6V99.9154H1319.6V70.7172Z" fill="#00DC82"></path><path d="M1428.61 200C1416.46 200 1406.6 197.112 1399.03 190.841C1391.59 184.44 1387.6 175.948 1387.08 165.366H1410.59C1411.11 169.808 1412.94 173.335 1416.07 175.948C1419.34 178.43 1423.51 179.671 1428.61 179.671C1432.79 179.671 1436.18 178.757 1438.79 176.928C1441.54 175.099 1442.91 172.813 1442.91 170.069C1442.91 166.411 1441.34 163.864 1438.21 162.427C1435.07 160.99 1430.11 159.683 1423.32 158.508C1416.27 157.201 1410.52 155.764 1406.08 154.197C1401.64 152.629 1397.79 149.82 1394.52 145.77C1391.39 141.59 1389.82 135.711 1389.82 128.134C1389.82 122.386 1391.33 117.291 1394.33 112.849C1397.46 108.276 1401.71 104.749 1407.06 102.267C1412.41 99.6541 1418.42 98.3477 1425.08 98.3477C1436.97 98.3477 1446.56 101.287 1453.88 107.166C1461.32 113.045 1465.3 120.818 1465.82 130.485H1442.12C1441.6 126.435 1439.71 123.3 1436.44 121.079C1433.31 118.728 1429.78 117.552 1425.87 117.552C1421.95 117.552 1418.81 118.401 1416.46 120.099C1414.11 121.798 1412.94 124.149 1412.94 127.154C1412.94 130.812 1414.44 133.294 1417.44 134.6C1420.58 135.776 1425.47 136.821 1432.13 137.736C1439.32 138.781 1445.19 140.087 1449.76 141.655C1454.46 143.092 1458.51 145.966 1461.91 150.277C1465.3 154.588 1467 160.859 1467 169.09C1467 178.496 1463.47 186.073 1456.42 191.821C1449.5 197.439 1440.23 200 1428.61 200Z" fill="#00DC82"></path>',12)])])}const D7=Object.assign(bl(L7,[["render",N7]]),{__name:"Logo"});function gr(e,t){const n=typeof e=="string"&&!t?`${e}Context`:t,r=Symbol(n);return[i=>{const a=We(r,i);if(a||a===null)return a;throw new Error(`Injection \`${r.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`)},i=>(qt(r,i),i)]}function Us(){let e=document.activeElement;if(e==null)return null;for(;e!=null&&e.shadowRoot!=null&&e.shadowRoot.activeElement!=null;)e=e.shadowRoot.activeElement;return e}function Pm(e,t,n){const r=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),r.dispatchEvent(s)}function Af(e){return e==null}function Tf(e){return e?e.flatMap(t=>t.type===ze?Tf(t.children):[t]):[]}const[B7,F7]=gr("ConfigProvider");var j7=ge({inheritAttrs:!1,__name:"ConfigProvider",props:{dir:{type:String,required:!1,default:"ltr"},locale:{type:String,required:!1,default:"en"},scrollBody:{type:[Boolean,Object],required:!1,default:!0},nonce:{type:String,required:!1,default:void 0},useId:{type:Function,required:!1,default:void 0}},setup(e){const t=e,{dir:n,locale:r,scrollBody:s,nonce:o}=Rr(t);return F7({dir:n,locale:r,scrollBody:s,nonce:o,useId:t.useId}),(i,a)=>ce(i.$slots,"default")}}),z7=j7;function Rm(e){const t=lt(),n=t?.type.emits,r={};return n?.length||console.warn(`No emitted event found. Please check component: ${t?.type.__name}`),n?.forEach(s=>{r[Co(_t(s))]=(...o)=>e(s,...o)}),r}function rt(){const e=lt(),t=Q(),n=R(()=>r());af(()=>{n.value!==r()&&wv(t)});function r(){return t.value&&"$el"in t.value&&["#text","#comment"].includes(t.value.$el.nodeName)?t.value.$el.nextElementSibling:yn(t)}const s=Object.assign({},e.exposed),o={};for(const a in e.props)Object.defineProperty(o,a,{enumerable:!0,configurable:!0,get:()=>e.props[a]});if(Object.keys(s).length>0)for(const a in s)Object.defineProperty(o,a,{enumerable:!0,configurable:!0,get:()=>s[a]});Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=o;function i(a){if(t.value=a,!!a&&(Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,get:()=>a instanceof Element?a:a.$el}),!(a instanceof Element)&&!Object.hasOwn(a,"$el"))){const l=a.$.exposed,c=Object.assign({},o);for(const u in l)Object.defineProperty(c,u,{enumerable:!0,configurable:!0,get:()=>l[u]});e.exposed=c}}return{forwardRef:i,currentRef:t,currentElement:n}}function di(e){const t=lt(),n=Object.keys(t?.type.props??{}).reduce((s,o)=>{const i=(t?.type.props[o]).default;return i!==void 0&&(s[o]=i),s},{}),r=Nt(e);return R(()=>{const s={},o=t?.vnode.props??{};return Object.keys(o).forEach(i=>{s[_t(i)]=o[i]}),Object.keys({...n,...s}).reduce((i,a)=>(r.value[a]!==void 0&&(i[a]=r.value[a]),i),{})})}function q7(e,t){const n=di(e),r=t?Rm(t):{};return R(()=>({...n.value,...r}))}function H7(e,t){const n=k4(!1,300);Js(()=>{n.value=!1});const r=Q(null),s=g4();function o(){r.value=null,n.value=!1}function i(a,l){if(!l)return;const c=a.currentTarget,u={x:a.clientX,y:a.clientY},f=U7(u,c.getBoundingClientRect()),d=V7(u,f,1),p=G7(l.getBoundingClientRect()),h=K7([...d,...p]);r.value=h,n.value=!0}return dn(a=>{if(e.value&&t.value){const l=u=>i(u,t.value),c=u=>i(u,e.value);e.value.addEventListener("pointerleave",l),t.value.addEventListener("pointerleave",c),a(()=>{e.value?.removeEventListener("pointerleave",l),t.value?.removeEventListener("pointerleave",c)})}}),dn(a=>{if(r.value){const l=c=>{if(!r.value||!(c.target instanceof Element))return;const u=c.target,f={x:c.clientX,y:c.clientY},d=e.value?.contains(u)||t.value?.contains(u),p=!W7(f,r.value),h=!!u.closest("[data-grace-area-trigger]");d?o():(p||h)&&(o(),s.trigger())};e.value?.ownerDocument.addEventListener("pointermove",l),a(()=>e.value?.ownerDocument.removeEventListener("pointermove",l))}}),{isPointerInTransit:n,onPointerExit:s.on}}function U7(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),s=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,s,o)){case o:return"left";case s:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function V7(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function G7(e){const{top:t,right:n,bottom:r,left:s}=e;return[{x:s,y:t},{x:n,y:t},{x:n,y:r},{x:s,y:r}]}function W7(e,t){const{x:n,y:r}=e;let s=!1;for(let o=0,i=t.length-1;o<t.length;i=o++){const a=t[o].x,l=t[o].y,c=t[i].x,u=t[i].y;l>r!=u>r&&n<(c-a)*(r-l)/(u-l)+a&&(s=!s)}return s}function K7(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),X7(t)}function X7(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const s=e[r];for(;t.length>=2;){const o=t.at(-1),i=t[t.length-2];if((o.x-i.x)*(s.y-i.y)>=(o.y-i.y)*(s.x-i.x))t.pop();else break}t.push(s)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const s=e[r];for(;n.length>=2;){const o=n.at(-1),i=n[n.length-2];if((o.x-i.x)*(s.y-i.y)>=(o.y-i.y)*(s.x-i.x))n.pop();else break}n.push(s)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}function Y7(e,t="reka"){let n;const r=B7({useId:void 0});return r.useId?n=r.useId():n=r0?.(),t?`${t}-${n}`:n}function J7(e){const t=Q(),n=R(()=>t.value?.width??0),r=R(()=>t.value?.height??0);return It(()=>{const s=yn(e);if(s){t.value={width:s.offsetWidth,height:s.offsetHeight};const o=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const a=i[0];let l,c;if("borderBoxSize"in a){const u=a.borderBoxSize,f=Array.isArray(u)?u[0]:u;l=f.inlineSize,c=f.blockSize}else l=s.offsetWidth,c=s.offsetHeight;t.value={width:l,height:c}});return o.observe(s,{box:"border-box"}),()=>o.unobserve(s)}else t.value=void 0}),{width:n,height:r}}function Z7(e,t){const n=Q(e);function r(o){return t[n.value][o]??n.value}return{state:n,dispatch:o=>{n.value=r(o)}}}function Q7(e,t){const n=Q({}),r=Q("none"),s=Q(e),o=e.value?"mounted":"unmounted";let i;const a=t.value?.ownerDocument.defaultView??$n,{state:l,dispatch:c}=Z7(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),u=v=>{if(hr){const b=new CustomEvent(v,{bubbles:!1,cancelable:!1});t.value?.dispatchEvent(b)}};Ne(e,async(v,b)=>{const y=b!==v;if(await At(),y){const g=r.value,w=Li(t.value);v?(c("MOUNT"),u("enter"),w==="none"&&u("after-enter")):w==="none"||w==="undefined"||n.value?.display==="none"?(c("UNMOUNT"),u("leave"),u("after-leave")):b&&g!==w?(c("ANIMATION_OUT"),u("leave")):(c("UNMOUNT"),u("after-leave"))}},{immediate:!0});const f=v=>{const b=Li(t.value),y=b.includes(CSS.escape(v.animationName)),g=l.value==="mounted"?"enter":"leave";if(v.target===t.value&&y&&(u(`after-${g}`),c("ANIMATION_END"),!s.value)){const w=t.value.style.animationFillMode;t.value.style.animationFillMode="forwards",i=a?.setTimeout(()=>{t.value?.style.animationFillMode==="forwards"&&(t.value.style.animationFillMode=w)})}v.target===t.value&&b==="none"&&c("ANIMATION_END")},d=v=>{v.target===t.value&&(r.value=Li(t.value))},p=Ne(t,(v,b)=>{v?(n.value=getComputedStyle(v),v.addEventListener("animationstart",d),v.addEventListener("animationcancel",f),v.addEventListener("animationend",f)):(c("ANIMATION_END"),i!==void 0&&a?.clearTimeout(i),b?.removeEventListener("animationstart",d),b?.removeEventListener("animationcancel",f),b?.removeEventListener("animationend",f))},{immediate:!0}),h=Ne(l,()=>{const v=Li(t.value);r.value=l.value==="mounted"?v:"none"});return Lr(()=>{p(),h()}),{isPresent:R(()=>["mounted","unmountSuspended"].includes(l.value))}}function Li(e){return e&&getComputedStyle(e).animationName||"none"}var Om=ge({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){const{present:r,forceMount:s}=Rr(e),o=Q(),{isPresent:i}=Q7(r,o);n({present:i});let a=t.default({present:i.value});a=Tf(a||[]);const l=lt();if(a&&a?.length>1){const c=l?.parent?.type.name?`<${l.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${c}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(u=>` - ${u}`).join(`
|
|
26
|
-
`)].join(`
|
|
27
|
-
`))}return()=>s.value||r.value||i.value?Ze(t.default({present:i.value})[0],{ref:c=>{const u=yn(c);return typeof u?.hasAttribute>"u"||(u?.hasAttribute("data-reka-popper-content-wrapper")?o.value=u.firstElementChild:o.value=u),u}}):null}});const is=ge({name:"PrimitiveSlot",inheritAttrs:!1,setup(e,{attrs:t,slots:n}){return()=>{if(!n.default)return null;const r=Tf(n.default()),s=r.findIndex(l=>l.type!==it);if(s===-1)return r;const o=r[s];delete o.props?.ref;const i=o.props?be(t,o.props):t,a=Hn({...o,props:{}},i);return r.length===1?a:(r[s]=a,r)}}}),e_=["area","img","input"],st=ge({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(e,{attrs:t,slots:n}){const r=e.asChild?"template":e.as;return typeof r=="string"&&e_.includes(r)?()=>Ze(r,t):r!=="template"?()=>Ze(e.as,t,{default:n.default}):()=>Ze(is,t,{default:n.default})}});function Up(){const e=Q(),t=R(()=>["#text","#comment"].includes(e.value?.$el.nodeName)?e.value?.$el.nextElementSibling:yn(e));return{primitiveElement:e,currentElement:t}}const t_="dismissableLayer.pointerDownOutside",n_="dismissableLayer.focusOutside";function Im(e,t){if(!(t instanceof Element))return!1;const n=t.closest("[data-dismissable-layer]"),r=e.dataset.dismissableLayer===""?e:e.querySelector("[data-dismissable-layer]"),s=Array.from(e.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(n&&(r===n||s.indexOf(r)<s.indexOf(n)))}function r_(e,t,n=!0){const r=t?.value?.ownerDocument??globalThis?.document,s=Q(!1),o=Q(()=>{});return dn(i=>{if(!hr||!He(n))return;const a=async c=>{const u=c.target;if(!(!t?.value||!u)){if(Im(t.value,u)){s.value=!1;return}if(c.target&&!s.value){let d=function(){Pm(t_,e,f)};const f={originalEvent:c};c.pointerType==="touch"?(r.removeEventListener("click",o.value),o.value=d,r.addEventListener("click",o.value,{once:!0})):d()}else r.removeEventListener("click",o.value);s.value=!1}},l=window.setTimeout(()=>{r.addEventListener("pointerdown",a)},0);i(()=>{window.clearTimeout(l),r.removeEventListener("pointerdown",a),r.removeEventListener("click",o.value)})}),{onPointerDownCapture:()=>{He(n)&&(s.value=!0)}}}function s_(e,t,n=!0){const r=t?.value?.ownerDocument??globalThis?.document,s=Q(!1);return dn(o=>{if(!hr||!He(n))return;const i=async a=>{if(!t?.value)return;await At(),await At();const l=a.target;!t.value||!l||Im(t.value,l)||a.target&&!s.value&&Pm(n_,e,{originalEvent:a})};r.addEventListener("focusin",i),o(()=>r.removeEventListener("focusin",i))}),{onFocusCapture:()=>{He(n)&&(s.value=!0)},onBlurCapture:()=>{He(n)&&(s.value=!1)}}}const Lt=xt({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,originalBodyPointerEvents:void 0,branches:new Set});var o_=ge({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(e,{emit:t}){const n=e,r=t,{forwardRef:s,currentElement:o}=rt(),i=R(()=>o.value?.ownerDocument??globalThis.document),a=R(()=>Lt.layersRoot),l=R(()=>o.value?Array.from(a.value).indexOf(o.value):-1),c=R(()=>Lt.layersWithOutsidePointerEventsDisabled.size>0),u=R(()=>{const p=Array.from(a.value),[h]=[...Lt.layersWithOutsidePointerEventsDisabled].slice(-1),m=p.indexOf(h);return l.value>=m}),f=r_(async p=>{const h=[...Lt.branches].some(m=>m?.contains(p.target));!u.value||h||(r("pointerDownOutside",p),r("interactOutside",p),await At(),p.defaultPrevented||r("dismiss"))},o),d=s_(p=>{[...Lt.branches].some(m=>m?.contains(p.target))||(r("focusOutside",p),r("interactOutside",p),p.defaultPrevented||r("dismiss"))},o);return hf("Escape",p=>{l.value===a.value.size-1&&(r("escapeKeyDown",p),p.defaultPrevented||r("dismiss"))}),Ne([o,()=>n.disableOutsidePointerEvents],([p,h],m,v)=>{p&&(h&&(Lt.layersWithOutsidePointerEventsDisabled.size===0&&(Lt.originalBodyPointerEvents=i.value.body.style.pointerEvents,i.value.body.style.pointerEvents="none"),Lt.layersWithOutsidePointerEventsDisabled.add(p),v(()=>{Lt.layersWithOutsidePointerEventsDisabled.delete(p),Lt.layersWithOutsidePointerEventsDisabled.size===0&&!Af(Lt.originalBodyPointerEvents)&&(i.value.body.style.pointerEvents=Lt.originalBodyPointerEvents)})),a.value.add(p))},{immediate:!0}),dn(p=>{p(()=>{o.value&&(a.value.delete(o.value),Lt.layersWithOutsidePointerEventsDisabled.delete(o.value))})}),(p,h)=>(N(),W(_(st),{ref:_(s),"as-child":p.asChild,as:p.as,"data-dismissable-layer":"",style:wn({pointerEvents:c.value?u.value?"auto":"none":void 0}),onFocusCapture:_(d).onFocusCapture,onBlurCapture:_(d).onBlurCapture,onPointerdownCapture:_(f).onPointerDownCapture},{default:Z(()=>[ce(p.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),i_=o_,a_=ge({__name:"DismissableLayerBranch",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,{forwardRef:n,currentElement:r}=rt();return It(()=>{Lt.branches.add(r.value)}),Lr(()=>{Lt.branches.delete(r.value)}),(s,o)=>(N(),W(_(st),be({ref:_(n)},t),{default:Z(()=>[ce(s.$slots,"default")]),_:3},16))}}),l_=a_;const aI="focusScope.autoFocusOnMount",lI="focusScope.autoFocusOnUnmount",cI={bubbles:!1,cancelable:!0};function ic(e,{select:t=!1}={}){const n=Us();for(const r of e)if(f_(r,{select:t}),Us()!==n)return!0}function uI(e){const t=Mm(e),n=Vp(t,e),r=Vp(t.reverse(),e);return[n,r]}function Mm(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Vp(e,t){for(const n of e)if(!c_(n,{upTo:t}))return n}function c_(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function u_(e){return e instanceof HTMLInputElement&&"select"in e}function f_(e,{select:t=!1}={}){if(e&&e.focus){const n=Us();e.focus({preventScroll:!0}),e!==n&&u_(e)&&t&&e.select()}}var d_=ge({__name:"Teleport",props:{to:{type:null,required:!1,default:"body"},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=w1();return(n,r)=>_(t)||n.forceMount?(N(),W(Jg,{key:0,to:n.to,disabled:n.disabled,defer:n.defer},[ce(n.$slots,"default")],8,["to","disabled","defer"])):xe("v-if",!0)}}),Lm=d_;const Gp="data-reka-collection-item";function Pf(e={}){const{key:t="",isProvider:n=!1}=e,r=`${t}CollectionProvider`;let s;n?(s={collectionRef:Q(),itemMap:Q(new Map)},qt(r,s)):s=We(r);const o=(u=!1)=>{const f=s.collectionRef.value;if(!f)return[];const d=Array.from(f.querySelectorAll(`[${Gp}]`)),h=Array.from(s.itemMap.value.values()).sort((m,v)=>d.indexOf(m.ref)-d.indexOf(v.ref));return u?h:h.filter(m=>m.ref.dataset.disabled!=="")},i=ge({name:"CollectionSlot",inheritAttrs:!1,setup(u,{slots:f,attrs:d}){const{primitiveElement:p,currentElement:h}=Up();return Ne(h,()=>{s.collectionRef.value=h.value}),()=>Ze(is,{ref:p,...d},f)}}),a=ge({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(u,{slots:f,attrs:d}){const{primitiveElement:p,currentElement:h}=Up();return dn(m=>{if(h.value){const v=tf(h.value);s.itemMap.value.set(v,{ref:h.value,value:u.value}),m(()=>s.itemMap.value.delete(v))}}),()=>Ze(is,{...d,[Gp]:"",ref:p},f)}}),l=R(()=>Array.from(s.itemMap.value.values())),c=R(()=>s.itemMap.value.size);return{getItems:o,reactiveItems:l,itemMapSize:c,CollectionSlot:i,CollectionItem:a}}var p_=ge({__name:"VisuallyHidden",props:{feature:{type:String,required:!1,default:"focusable"},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){return(t,n)=>(N(),W(_(st),{as:t.as,"as-child":t.asChild,"aria-hidden":t.feature==="focusable"?"true":void 0,"data-hidden":t.feature==="fully-hidden"?"":void 0,tabindex:t.feature==="fully-hidden"?"-1":void 0,style:{position:"absolute",border:0,width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",whiteSpace:"nowrap",wordWrap:"normal",top:"-1px",left:"-1px"}},{default:Z(()=>[ce(t.$slots,"default")]),_:3},8,["as","as-child","aria-hidden","data-hidden","tabindex"]))}}),Rf=p_;const[$m,h_]=gr("PopperRoot");var g_=ge({inheritAttrs:!1,__name:"PopperRoot",setup(e){const t=Q();return h_({anchor:t,onAnchorChange:n=>t.value=n}),(n,r)=>ce(n.$slots,"default")}}),m_=g_,y_=ge({__name:"PopperAnchor",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,{forwardRef:n,currentElement:r}=rt(),s=$m();return Wg(()=>{s.onAnchorChange(t.reference??r.value)}),(o,i)=>(N(),W(_(st),{ref:_(n),as:o.as,"as-child":o.asChild},{default:Z(()=>[ce(o.$slots,"default")]),_:3},8,["as","as-child"]))}}),v_=y_;const b_={key:0,d:"M0 0L6 6L12 0"},w_={key:1,d:"M0 0L4.58579 4.58579C5.36683 5.36683 6.63316 5.36684 7.41421 4.58579L12 0"};var __=ge({__name:"Arrow",props:{width:{type:Number,required:!1,default:10},height:{type:Number,required:!1,default:5},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"svg"}},setup(e){const t=e;return rt(),(n,r)=>(N(),W(_(st),be(t,{width:n.width,height:n.height,viewBox:n.asChild?void 0:"0 0 12 6",preserveAspectRatio:n.asChild?void 0:"none"}),{default:Z(()=>[ce(n.$slots,"default",{},()=>[n.rounded?(N(),Ee("path",w_)):(N(),Ee("path",b_))])]),_:3},16,["width","height","viewBox","preserveAspectRatio"]))}}),x_=__;function C_(e){return e!==null}function k_(e){return{name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:s}=t,i=s.arrow?.centerOffset!==0,a=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[c,u]=uu(n),f={start:"0%",center:"50%",end:"100%"}[u],d=(s.arrow?.x??0)+a/2,p=(s.arrow?.y??0)+l/2;let h="",m="";return c==="bottom"?(h=i?f:`${d}px`,m=`${-l}px`):c==="top"?(h=i?f:`${d}px`,m=`${r.floating.height+l}px`):c==="right"?(h=`${-l}px`,m=i?f:`${p}px`):c==="left"&&(h=`${r.floating.width+l}px`,m=i?f:`${p}px`),{data:{x:h,y:m}}}}}function uu(e){const[t,n="center"]=e.split("-");return[t,n]}const S_=["top","right","bottom","left"],Or=Math.min,Yt=Math.max,Oa=Math.round,$i=Math.floor,Fn=e=>({x:e,y:e}),E_={left:"right",right:"left",bottom:"top",top:"bottom"};function fu(e,t,n){return Yt(e,Or(t,n))}function fr(e,t){return typeof e=="function"?e(t):e}function dr(e){return e.split("-")[0]}function Qs(e){return e.split("-")[1]}function Of(e){return e==="x"?"y":"x"}function If(e){return e==="y"?"height":"width"}function Nn(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Mf(e){return Of(Nn(e))}function A_(e,t,n){n===void 0&&(n=!1);const r=Qs(e),s=Mf(e),o=If(s);let i=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=Ia(i)),[i,Ia(i)]}function T_(e){const t=Ia(e);return[du(e),t,du(t)]}function du(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Wp=["left","right"],Kp=["right","left"],P_=["top","bottom"],R_=["bottom","top"];function O_(e,t,n){switch(e){case"top":case"bottom":return n?t?Kp:Wp:t?Wp:Kp;case"left":case"right":return t?P_:R_;default:return[]}}function I_(e,t,n,r){const s=Qs(e);let o=O_(dr(e),n==="start",r);return s&&(o=o.map(i=>i+"-"+s),t&&(o=o.concat(o.map(du)))),o}function Ia(e){const t=dr(e);return E_[t]+e.slice(t.length)}function M_(e){return{top:0,right:0,bottom:0,left:0,...e}}function Nm(e){return typeof e!="number"?M_(e):{top:e,right:e,bottom:e,left:e}}function Ma(e){const{x:t,y:n,width:r,height:s}=e;return{width:r,height:s,top:n,left:t,right:t+r,bottom:n+s,x:t,y:n}}function Xp(e,t,n){let{reference:r,floating:s}=e;const o=Nn(t),i=Mf(t),a=If(i),l=dr(t),c=o==="y",u=r.x+r.width/2-s.width/2,f=r.y+r.height/2-s.height/2,d=r[a]/2-s[a]/2;let p;switch(l){case"top":p={x:u,y:r.y-s.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-s.width,y:f};break;default:p={x:r.x,y:r.y}}switch(Qs(t)){case"start":p[i]-=d*(n&&c?-1:1);break;case"end":p[i]+=d*(n&&c?-1:1);break}return p}async function L_(e,t){var n;t===void 0&&(t={});const{x:r,y:s,platform:o,rects:i,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=fr(t,e),h=Nm(p),v=a[d?f==="floating"?"reference":"floating":f],b=Ma(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(v)))==null||n?v:v.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),y=f==="floating"?{x:r,y:s,width:i.floating.width,height:i.floating.height}:i.reference,g=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),w=await(o.isElement==null?void 0:o.isElement(g))?await(o.getScale==null?void 0:o.getScale(g))||{x:1,y:1}:{x:1,y:1},x=Ma(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:g,strategy:l}):y);return{top:(b.top-x.top+h.top)/w.y,bottom:(x.bottom-b.bottom+h.bottom)/w.y,left:(b.left-x.left+h.left)/w.x,right:(x.right-b.right+h.right)/w.x}}const $_=50,N_=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:o=[],platform:i}=n,a=i.detectOverflow?i:{...i,detectOverflow:L_},l=await(i.isRTL==null?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:s}),{x:u,y:f}=Xp(c,r,l),d=r,p=0;const h={};for(let m=0;m<o.length;m++){const v=o[m];if(!v)continue;const{name:b,fn:y}=v,{x:g,y:w,data:x,reset:S}=await y({x:u,y:f,initialPlacement:r,placement:d,strategy:s,middlewareData:h,rects:c,platform:a,elements:{reference:e,floating:t}});u=g??u,f=w??f,h[b]={...h[b],...x},S&&p<$_&&(p++,typeof S=="object"&&(S.placement&&(d=S.placement),S.rects&&(c=S.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:s}):S.rects),{x:u,y:f}=Xp(c,d,l)),m=-1)}return{x:u,y:f,placement:d,strategy:s,middlewareData:h}},D_=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:s,rects:o,platform:i,elements:a,middlewareData:l}=t,{element:c,padding:u=0}=fr(e,t)||{};if(c==null)return{};const f=Nm(u),d={x:n,y:r},p=Mf(s),h=If(p),m=await i.getDimensions(c),v=p==="y",b=v?"top":"left",y=v?"bottom":"right",g=v?"clientHeight":"clientWidth",w=o.reference[h]+o.reference[p]-d[p]-o.floating[h],x=d[p]-o.reference[p],S=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c));let k=S?S[g]:0;(!k||!await(i.isElement==null?void 0:i.isElement(S)))&&(k=a.floating[g]||o.floating[h]);const T=w/2-x/2,P=k/2-m[h]/2-1,I=Or(f[b],P),D=Or(f[y],P),M=I,Y=k-m[h]-D,O=k/2-m[h]/2+T,q=fu(M,O,Y),$=!l.arrow&&Qs(s)!=null&&O!==q&&o.reference[h]/2-(O<M?I:D)-m[h]/2<0,J=$?O<M?O-M:O-Y:0;return{[p]:d[p]+J,data:{[p]:q,centerOffset:O-q-J,...$&&{alignmentOffset:J}},reset:$}}}),B_=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:s,middlewareData:o,rects:i,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0,...v}=fr(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const b=dr(s),y=Nn(a),g=dr(a)===a,w=await(l.isRTL==null?void 0:l.isRTL(c.floating)),x=d||(g||!m?[Ia(a)]:T_(a)),S=h!=="none";!d&&S&&x.push(...I_(a,m,h,w));const k=[a,...x],T=await l.detectOverflow(t,v),P=[];let I=((r=o.flip)==null?void 0:r.overflows)||[];if(u&&P.push(T[b]),f){const O=A_(s,i,w);P.push(T[O[0]],T[O[1]])}if(I=[...I,{placement:s,overflows:P}],!P.every(O=>O<=0)){var D,M;const O=(((D=o.flip)==null?void 0:D.index)||0)+1,q=k[O];if(q&&(!(f==="alignment"?y!==Nn(q):!1)||I.every(F=>Nn(F.placement)===y?F.overflows[0]>0:!0)))return{data:{index:O,overflows:I},reset:{placement:q}};let $=(M=I.filter(J=>J.overflows[0]<=0).sort((J,F)=>J.overflows[1]-F.overflows[1])[0])==null?void 0:M.placement;if(!$)switch(p){case"bestFit":{var Y;const J=(Y=I.filter(F=>{if(S){const ue=Nn(F.placement);return ue===y||ue==="y"}return!0}).map(F=>[F.placement,F.overflows.filter(ue=>ue>0).reduce((ue,G)=>ue+G,0)]).sort((F,ue)=>F[1]-ue[1])[0])==null?void 0:Y[0];J&&($=J);break}case"initialPlacement":$=a;break}if(s!==$)return{reset:{placement:$}}}return{}}}};function Yp(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Jp(e){return S_.some(t=>e[t]>=0)}const F_=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:r}=t,{strategy:s="referenceHidden",...o}=fr(e,t);switch(s){case"referenceHidden":{const i=await r.detectOverflow(t,{...o,elementContext:"reference"}),a=Yp(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Jp(a)}}}case"escaped":{const i=await r.detectOverflow(t,{...o,altBoundary:!0}),a=Yp(i,n.floating);return{data:{escapedOffsets:a,escaped:Jp(a)}}}default:return{}}}}},Dm=new Set(["left","top"]);async function j_(e,t){const{placement:n,platform:r,elements:s}=e,o=await(r.isRTL==null?void 0:r.isRTL(s.floating)),i=dr(n),a=Qs(n),l=Nn(n)==="y",c=Dm.has(i)?-1:1,u=o&&l?-1:1,f=fr(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof h=="number"&&(p=a==="end"?h*-1:h),l?{x:p*u,y:d*c}:{x:d*c,y:p*u}}const z_=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:s,y:o,placement:i,middlewareData:a}=t,l=await j_(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:s+l.x,y:o+l.y,data:{...l,placement:i}}}}},q_=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s,platform:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:b=>{let{x:y,y:g}=b;return{x:y,y:g}}},...c}=fr(e,t),u={x:n,y:r},f=await o.detectOverflow(t,c),d=Nn(dr(s)),p=Of(d);let h=u[p],m=u[d];if(i){const b=p==="y"?"top":"left",y=p==="y"?"bottom":"right",g=h+f[b],w=h-f[y];h=fu(g,h,w)}if(a){const b=d==="y"?"top":"left",y=d==="y"?"bottom":"right",g=m+f[b],w=m-f[y];m=fu(g,m,w)}const v=l.fn({...t,[p]:h,[d]:m});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[p]:i,[d]:a}}}}}},H_=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:s,rects:o,middlewareData:i}=t,{offset:a=0,mainAxis:l=!0,crossAxis:c=!0}=fr(e,t),u={x:n,y:r},f=Nn(s),d=Of(f);let p=u[d],h=u[f];const m=fr(a,t),v=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const g=d==="y"?"height":"width",w=o.reference[d]-o.floating[g]+v.mainAxis,x=o.reference[d]+o.reference[g]-v.mainAxis;p<w?p=w:p>x&&(p=x)}if(c){var b,y;const g=d==="y"?"width":"height",w=Dm.has(dr(s)),x=o.reference[f]-o.floating[g]+(w&&((b=i.offset)==null?void 0:b[f])||0)+(w?0:v.crossAxis),S=o.reference[f]+o.reference[g]+(w?0:((y=i.offset)==null?void 0:y[f])||0)-(w?v.crossAxis:0);h<x?h=x:h>S&&(h=S)}return{[d]:p,[f]:h}}}},U_=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:s,rects:o,platform:i,elements:a}=t,{apply:l=()=>{},...c}=fr(e,t),u=await i.detectOverflow(t,c),f=dr(s),d=Qs(s),p=Nn(s)==="y",{width:h,height:m}=o.floating;let v,b;f==="top"||f==="bottom"?(v=f,b=d===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(b=f,v=d==="end"?"top":"bottom");const y=m-u.top-u.bottom,g=h-u.left-u.right,w=Or(m-u[v],y),x=Or(h-u[b],g),S=!t.middlewareData.shift;let k=w,T=x;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(T=g),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(k=y),S&&!d){const I=Yt(u.left,0),D=Yt(u.right,0),M=Yt(u.top,0),Y=Yt(u.bottom,0);p?T=h-2*(I!==0||D!==0?I+D:Yt(u.left,u.right)):k=m-2*(M!==0||Y!==0?M+Y:Yt(u.top,u.bottom))}await l({...t,availableWidth:T,availableHeight:k});const P=await i.getDimensions(a.floating);return h!==P.width||m!==P.height?{reset:{rects:!0}}:{}}}};function wl(){return typeof window<"u"}function fs(e){return Lf(e)?(e.nodeName||"").toLowerCase():"#document"}function Zt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Gn(e){var t;return(t=(Lf(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Lf(e){return wl()?e instanceof Node||e instanceof Zt(e).Node:!1}function kn(e){return wl()?e instanceof Element||e instanceof Zt(e).Element:!1}function mr(e){return wl()?e instanceof HTMLElement||e instanceof Zt(e).HTMLElement:!1}function Zp(e){return!wl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Zt(e).ShadowRoot}function pi(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=Sn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&s!=="inline"&&s!=="contents"}function V_(e){return/^(table|td|th)$/.test(fs(e))}function _l(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const G_=/transform|translate|scale|rotate|perspective|filter/,W_=/paint|layout|strict|content/,zr=e=>!!e&&e!=="none";let ac;function $f(e){const t=kn(e)?Sn(e):e;return zr(t.transform)||zr(t.translate)||zr(t.scale)||zr(t.rotate)||zr(t.perspective)||!Nf()&&(zr(t.backdropFilter)||zr(t.filter))||G_.test(t.willChange||"")||W_.test(t.contain||"")}function K_(e){let t=Ir(e);for(;mr(t)&&!Vs(t);){if($f(t))return t;if(_l(t))return null;t=Ir(t)}return null}function Nf(){return ac==null&&(ac=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),ac}function Vs(e){return/^(html|body|#document)$/.test(fs(e))}function Sn(e){return Zt(e).getComputedStyle(e)}function xl(e){return kn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ir(e){if(fs(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Zp(e)&&e.host||Gn(e);return Zp(t)?t.host:t}function Bm(e){const t=Ir(e);return Vs(t)?e.ownerDocument?e.ownerDocument.body:e.body:mr(t)&&pi(t)?t:Bm(t)}function Yo(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const s=Bm(e),o=s===((r=e.ownerDocument)==null?void 0:r.body),i=Zt(s);if(o){const a=pu(i);return t.concat(i,i.visualViewport||[],pi(s)?s:[],a&&n?Yo(a):[])}else return t.concat(s,Yo(s,[],n))}function pu(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Fm(e){const t=Sn(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const s=mr(e),o=s?e.offsetWidth:n,i=s?e.offsetHeight:r,a=Oa(n)!==o||Oa(r)!==i;return a&&(n=o,r=i),{width:n,height:r,$:a}}function Df(e){return kn(e)?e:e.contextElement}function Ls(e){const t=Df(e);if(!mr(t))return Fn(1);const n=t.getBoundingClientRect(),{width:r,height:s,$:o}=Fm(t);let i=(o?Oa(n.width):n.width)/r,a=(o?Oa(n.height):n.height)/s;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const X_=Fn(0);function jm(e){const t=Zt(e);return!Nf()||!t.visualViewport?X_:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Y_(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Zt(e)?!1:t}function as(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),o=Df(e);let i=Fn(1);t&&(r?kn(r)&&(i=Ls(r)):i=Ls(e));const a=Y_(o,n,r)?jm(o):Fn(0);let l=(s.left+a.x)/i.x,c=(s.top+a.y)/i.y,u=s.width/i.x,f=s.height/i.y;if(o){const d=Zt(o),p=r&&kn(r)?Zt(r):r;let h=d,m=pu(h);for(;m&&r&&p!==h;){const v=Ls(m),b=m.getBoundingClientRect(),y=Sn(m),g=b.left+(m.clientLeft+parseFloat(y.paddingLeft))*v.x,w=b.top+(m.clientTop+parseFloat(y.paddingTop))*v.y;l*=v.x,c*=v.y,u*=v.x,f*=v.y,l+=g,c+=w,h=Zt(m),m=pu(h)}}return Ma({width:u,height:f,x:l,y:c})}function Cl(e,t){const n=xl(e).scrollLeft;return t?t.left+n:as(Gn(e)).left+n}function zm(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Cl(e,n),s=n.top+t.scrollTop;return{x:r,y:s}}function J_(e){let{elements:t,rect:n,offsetParent:r,strategy:s}=e;const o=s==="fixed",i=Gn(r),a=t?_l(t.floating):!1;if(r===i||a&&o)return n;let l={scrollLeft:0,scrollTop:0},c=Fn(1);const u=Fn(0),f=mr(r);if((f||!f&&!o)&&((fs(r)!=="body"||pi(i))&&(l=xl(r)),f)){const p=as(r);c=Ls(r),u.x=p.x+r.clientLeft,u.y=p.y+r.clientTop}const d=i&&!f&&!o?zm(i,l):Fn(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+d.x,y:n.y*c.y-l.scrollTop*c.y+u.y+d.y}}function Z_(e){return Array.from(e.getClientRects())}function Q_(e){const t=Gn(e),n=xl(e),r=e.ownerDocument.body,s=Yt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=Yt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+Cl(e);const a=-n.scrollTop;return Sn(r).direction==="rtl"&&(i+=Yt(t.clientWidth,r.clientWidth)-s),{width:s,height:o,x:i,y:a}}const Qp=25;function ex(e,t){const n=Zt(e),r=Gn(e),s=n.visualViewport;let o=r.clientWidth,i=r.clientHeight,a=0,l=0;if(s){o=s.width,i=s.height;const u=Nf();(!u||u&&t==="fixed")&&(a=s.offsetLeft,l=s.offsetTop)}const c=Cl(r);if(c<=0){const u=r.ownerDocument,f=u.body,d=getComputedStyle(f),p=u.compatMode==="CSS1Compat"&&parseFloat(d.marginLeft)+parseFloat(d.marginRight)||0,h=Math.abs(r.clientWidth-f.clientWidth-p);h<=Qp&&(o-=h)}else c<=Qp&&(o+=c);return{width:o,height:i,x:a,y:l}}function tx(e,t){const n=as(e,!0,t==="fixed"),r=n.top+e.clientTop,s=n.left+e.clientLeft,o=mr(e)?Ls(e):Fn(1),i=e.clientWidth*o.x,a=e.clientHeight*o.y,l=s*o.x,c=r*o.y;return{width:i,height:a,x:l,y:c}}function eh(e,t,n){let r;if(t==="viewport")r=ex(e,n);else if(t==="document")r=Q_(Gn(e));else if(kn(t))r=tx(t,n);else{const s=jm(e);r={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return Ma(r)}function qm(e,t){const n=Ir(e);return n===t||!kn(n)||Vs(n)?!1:Sn(n).position==="fixed"||qm(n,t)}function nx(e,t){const n=t.get(e);if(n)return n;let r=Yo(e,[],!1).filter(a=>kn(a)&&fs(a)!=="body"),s=null;const o=Sn(e).position==="fixed";let i=o?Ir(e):e;for(;kn(i)&&!Vs(i);){const a=Sn(i),l=$f(i);!l&&a.position==="fixed"&&(s=null),(o?!l&&!s:!l&&a.position==="static"&&!!s&&(s.position==="absolute"||s.position==="fixed")||pi(i)&&!l&&qm(e,i))?r=r.filter(u=>u!==i):s=a,i=Ir(i)}return t.set(e,r),r}function rx(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const i=[...n==="clippingAncestors"?_l(t)?[]:nx(t,this._c):[].concat(n),r],a=eh(t,i[0],s);let l=a.top,c=a.right,u=a.bottom,f=a.left;for(let d=1;d<i.length;d++){const p=eh(t,i[d],s);l=Yt(p.top,l),c=Or(p.right,c),u=Or(p.bottom,u),f=Yt(p.left,f)}return{width:c-f,height:u-l,x:f,y:l}}function sx(e){const{width:t,height:n}=Fm(e);return{width:t,height:n}}function ox(e,t,n){const r=mr(t),s=Gn(t),o=n==="fixed",i=as(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const l=Fn(0);function c(){l.x=Cl(s)}if(r||!r&&!o)if((fs(t)!=="body"||pi(s))&&(a=xl(t)),r){const p=as(t,!0,o,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else s&&c();o&&!r&&s&&c();const u=s&&!r&&!o?zm(s,a):Fn(0),f=i.left+a.scrollLeft-l.x-u.x,d=i.top+a.scrollTop-l.y-u.y;return{x:f,y:d,width:i.width,height:i.height}}function lc(e){return Sn(e).position==="static"}function th(e,t){if(!mr(e)||Sn(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Gn(e)===n&&(n=n.ownerDocument.body),n}function Hm(e,t){const n=Zt(e);if(_l(e))return n;if(!mr(e)){let s=Ir(e);for(;s&&!Vs(s);){if(kn(s)&&!lc(s))return s;s=Ir(s)}return n}let r=th(e,t);for(;r&&V_(r)&&lc(r);)r=th(r,t);return r&&Vs(r)&&lc(r)&&!$f(r)?n:r||K_(e)||n}const ix=async function(e){const t=this.getOffsetParent||Hm,n=this.getDimensions,r=await n(e.floating);return{reference:ox(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function ax(e){return Sn(e).direction==="rtl"}const lx={convertOffsetParentRelativeRectToViewportRelativeRect:J_,getDocumentElement:Gn,getClippingRect:rx,getOffsetParent:Hm,getElementRects:ix,getClientRects:Z_,getDimensions:sx,getScale:Ls,isElement:kn,isRTL:ax};function Um(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function cx(e,t){let n=null,r;const s=Gn(e);function o(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function i(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),o();const c=e.getBoundingClientRect(),{left:u,top:f,width:d,height:p}=c;if(a||t(),!d||!p)return;const h=$i(f),m=$i(s.clientWidth-(u+d)),v=$i(s.clientHeight-(f+p)),b=$i(u),g={rootMargin:-h+"px "+-m+"px "+-v+"px "+-b+"px",threshold:Yt(0,Or(1,l))||1};let w=!0;function x(S){const k=S[0].intersectionRatio;if(k!==l){if(!w)return i();k?i(!1,k):r=setTimeout(()=>{i(!1,1e-7)},1e3)}k===1&&!Um(c,e.getBoundingClientRect())&&i(),w=!1}try{n=new IntersectionObserver(x,{...g,root:s.ownerDocument})}catch{n=new IntersectionObserver(x,g)}n.observe(e)}return i(!0),o}function ux(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:o=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,c=Df(e),u=s||o?[...c?Yo(c):[],...t?Yo(t):[]]:[];u.forEach(b=>{s&&b.addEventListener("scroll",n,{passive:!0}),o&&b.addEventListener("resize",n)});const f=c&&a?cx(c,n):null;let d=-1,p=null;i&&(p=new ResizeObserver(b=>{let[y]=b;y&&y.target===c&&p&&t&&(p.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var g;(g=p)==null||g.observe(t)})),n()}),c&&!l&&p.observe(c),t&&p.observe(t));let h,m=l?as(e):null;l&&v();function v(){const b=as(e);m&&!Um(m,b)&&n(),m=b,h=requestAnimationFrame(v)}return n(),()=>{var b;u.forEach(y=>{s&&y.removeEventListener("scroll",n),o&&y.removeEventListener("resize",n)}),f?.(),(b=p)==null||b.disconnect(),p=null,l&&cancelAnimationFrame(h)}}const fx=z_,dx=q_,nh=B_,px=U_,hx=F_,gx=D_,mx=H_,yx=(e,t,n)=>{const r=new Map,s={platform:lx,...n},o={...s.platform,_c:r};return N_(e,t,{...s,platform:o})};function vx(e){return e!=null&&typeof e=="object"&&"$el"in e}function hu(e){if(vx(e)){const t=e.$el;return Lf(t)&&fs(t)==="#comment"?null:t}return e}function xs(e){return typeof e=="function"?e():_(e)}function bx(e){return{name:"arrow",options:e,fn(t){const n=hu(xs(e.element));return n==null?{}:gx({element:n,padding:e.padding}).fn(t)}}}function Vm(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function rh(e,t){const n=Vm(e);return Math.round(t*n)/n}function wx(e,t,n){n===void 0&&(n={});const r=n.whileElementsMounted,s=R(()=>{var k;return(k=xs(n.open))!=null?k:!0}),o=R(()=>xs(n.middleware)),i=R(()=>{var k;return(k=xs(n.placement))!=null?k:"bottom"}),a=R(()=>{var k;return(k=xs(n.strategy))!=null?k:"absolute"}),l=R(()=>{var k;return(k=xs(n.transform))!=null?k:!0}),c=R(()=>hu(e.value)),u=R(()=>hu(t.value)),f=Q(0),d=Q(0),p=Q(a.value),h=Q(i.value),m=at({}),v=Q(!1),b=R(()=>{const k={position:p.value,left:"0",top:"0"};if(!u.value)return k;const T=rh(u.value,f.value),P=rh(u.value,d.value);return l.value?{...k,transform:"translate("+T+"px, "+P+"px)",...Vm(u.value)>=1.5&&{willChange:"transform"}}:{position:p.value,left:T+"px",top:P+"px"}});let y;function g(){if(c.value==null||u.value==null)return;const k=s.value;yx(c.value,u.value,{middleware:o.value,placement:i.value,strategy:a.value}).then(T=>{f.value=T.x,d.value=T.y,p.value=T.strategy,h.value=T.placement,m.value=T.middlewareData,v.value=k!==!1})}function w(){typeof y=="function"&&(y(),y=void 0)}function x(){if(w(),r===void 0){g();return}if(c.value!=null&&u.value!=null){y=r(c.value,u.value,g);return}}function S(){s.value||(v.value=!1)}return Ne([o,i,a,s],g,{flush:"sync"}),Ne([c,u],x,{flush:"sync"}),Ne(s,S,{flush:"sync"}),oi()&&ii(w),{x:an(f),y:an(d),strategy:an(p),placement:an(h),middlewareData:an(m),isPositioned:an(v),floatingStyles:b,update:g}}const _x={side:"bottom",sideOffset:0,sideFlip:!0,align:"center",alignOffset:0,alignFlip:!0,arrowPadding:0,hideShiftedArrow:!0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,positionStrategy:"fixed",updatePositionStrategy:"optimized",prioritizePosition:!1},[xx,Cx]=gr("PopperContent");var kx=ge({inheritAttrs:!1,__name:"PopperContent",props:ob({side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},{..._x}),emits:["placed"],setup(e,{emit:t}){const n=e,r=t,s=$m(),{forwardRef:o,currentElement:i}=rt(),a=Q(),l=Q(),{width:c,height:u}=J7(l),f=R(()=>n.side+(n.align!=="center"?`-${n.align}`:"")),d=R(()=>typeof n.collisionPadding=="number"?n.collisionPadding:{top:0,right:0,bottom:0,left:0,...n.collisionPadding}),p=R(()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary]),h=R(()=>({padding:d.value,boundary:p.value.filter(C_),altBoundary:p.value.length>0})),m=R(()=>({mainAxis:n.sideFlip,crossAxis:n.alignFlip})),v=h4(()=>[fx({mainAxis:n.sideOffset+u.value,alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&nh({...h.value,...m.value}),n.avoidCollisions&&dx({mainAxis:!0,crossAxis:!!n.prioritizePosition,limiter:n.sticky==="partial"?mx():void 0,...h.value}),!n.prioritizePosition&&n.avoidCollisions&&nh({...h.value,...m.value}),px({...h.value,apply:({elements:M,rects:Y,availableWidth:O,availableHeight:q})=>{const{width:$,height:J}=Y.reference,F=M.floating.style;F.setProperty("--reka-popper-available-width",`${O}px`),F.setProperty("--reka-popper-available-height",`${q}px`),F.setProperty("--reka-popper-anchor-width",`${$}px`),F.setProperty("--reka-popper-anchor-height",`${J}px`)}}),l.value&&bx({element:l.value,padding:n.arrowPadding}),k_({arrowWidth:c.value,arrowHeight:u.value}),n.hideWhenDetached&&hx({strategy:"referenceHidden",...h.value})]),b=R(()=>n.reference??s.anchor.value),{floatingStyles:y,placement:g,isPositioned:w,middlewareData:x}=wx(b,a,{strategy:n.positionStrategy,placement:f,whileElementsMounted:(...M)=>ux(...M,{layoutShift:!n.disableUpdateOnLayoutShift,animationFrame:n.updatePositionStrategy==="always"}),middleware:v}),S=R(()=>uu(g.value)[0]),k=R(()=>uu(g.value)[1]);Wg(()=>{w.value&&r("placed")});const T=R(()=>{const M=x.value.arrow?.centerOffset!==0;return n.hideShiftedArrow&&M}),P=Q("");dn(()=>{i.value&&(P.value=window.getComputedStyle(i.value).zIndex)});const I=R(()=>x.value.arrow?.x??0),D=R(()=>x.value.arrow?.y??0);return Cx({placedSide:S,onArrowChange:M=>l.value=M,arrowX:I,arrowY:D,shouldHideArrow:T}),(M,Y)=>(N(),Ee("div",{ref_key:"floatingRef",ref:a,"data-reka-popper-content-wrapper":"",style:wn({..._(y),transform:_(w)?_(y).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:P.value,"--reka-popper-transform-origin":[_(x).transformOrigin?.x,_(x).transformOrigin?.y].join(" "),..._(x).hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}})},[re(_(st),be({ref:_(o)},M.$attrs,{"as-child":n.asChild,as:M.as,"data-side":S.value,"data-align":k.value,style:{animation:_(w)?void 0:"none"}}),{default:Z(()=>[ce(M.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4))}}),Sx=kx;const Ex={top:"bottom",right:"left",bottom:"top",left:"right"};var Ax=ge({inheritAttrs:!1,__name:"PopperArrow",props:{width:{type:Number,required:!1},height:{type:Number,required:!1},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"svg"}},setup(e){const{forwardRef:t}=rt(),n=xx(),r=R(()=>Ex[n.placedSide.value]);return(s,o)=>(N(),Ee("span",{ref:i=>{_(n).onArrowChange(i??void 0)},style:wn({position:"absolute",left:_(n).arrowX?.value?`${_(n).arrowX?.value}px`:void 0,top:_(n).arrowY?.value?`${_(n).arrowY?.value}px`:void 0,[r.value]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[_(n).placedSide.value],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[_(n).placedSide.value],visibility:_(n).shouldHideArrow.value?"hidden":void 0})},[re(x_,be(s.$attrs,{ref:_(t),style:{display:"block"},as:s.as,"as-child":s.asChild,rounded:s.rounded,width:s.width,height:s.height}),{default:Z(()=>[ce(s.$slots,"default")]),_:3},16,["as","as-child","rounded","width","height"])],4))}}),Tx=Ax;const Jo=100,[Px,Rx]=gr("ProgressRoot"),La=e=>typeof e=="number";function Ox(e,t){return Af(e)||La(e)&&!Number.isNaN(e)&&e<=t&&e>=0?e:(console.error(`Invalid prop \`value\` of value \`${e}\` supplied to \`ProgressRoot\`. The \`value\` prop must be:
|
|
28
|
-
- a positive number
|
|
29
|
-
- less than the value passed to \`max\` (or ${Jo} if no \`max\` prop is set)
|
|
30
|
-
- \`null\` or \`undefined\` if the progress is indeterminate.
|
|
31
|
-
|
|
32
|
-
Defaulting to \`null\`.`),null)}function Ix(e){return La(e)&&!Number.isNaN(e)&&e>0?e:(console.error(`Invalid prop \`max\` of value \`${e}\` supplied to \`ProgressRoot\`. Only numbers greater than 0 are valid max values. Defaulting to \`${Jo}\`.`),Jo)}var Mx=ge({__name:"ProgressRoot",props:{modelValue:{type:[Number,null],required:!1},max:{type:Number,required:!1,default:Jo},getValueLabel:{type:Function,required:!1,default:(e,t)=>La(e)?`${Math.round(e/t*Jo)}%`:void 0},getValueText:{type:Function,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["update:modelValue","update:max"],setup(e,{emit:t}){const n=e,r=t;rt();const s=Ko(n,"modelValue",r,{passive:n.modelValue===void 0}),o=Ko(n,"max",r,{passive:n.max===void 0});Ne(()=>s.value,async a=>{const l=Ox(a,n.max);l!==a&&(await At(),s.value=l)},{immediate:!0}),Ne(()=>n.max,a=>{const l=Ix(n.max);l!==a&&(o.value=l)},{immediate:!0});const i=R(()=>Af(s.value)?"indeterminate":s.value===o.value?"complete":"loading");return Rx({modelValue:s,max:o,progressState:i}),(a,l)=>(N(),W(_(st),{"as-child":a.asChild,as:a.as,"aria-valuemax":_(o),"aria-valuemin":0,"aria-valuenow":La(_(s))?_(s):void 0,"aria-valuetext":a.getValueText?.(_(s),_(o)),"aria-label":a.getValueLabel(_(s),_(o)),role:"progressbar","data-state":i.value,"data-value":_(s)??void 0,"data-max":_(o)},{default:Z(()=>[ce(a.$slots,"default",{modelValue:_(s)})]),_:3},8,["as-child","as","aria-valuemax","aria-valuenow","aria-valuetext","aria-label","data-state","data-value","data-max"]))}}),Lx=Mx,$x=ge({__name:"ProgressIndicator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,n=Px();return rt(),(r,s)=>(N(),W(_(st),be(t,{"data-state":_(n).progressState.value,"data-value":_(n).modelValue?.value??void 0,"data-max":_(n).max.value}),{default:Z(()=>[ce(r.$slots,"default")]),_:3},16,["data-state","data-value","data-max"]))}}),Nx=$x,Dx=ge({__name:"ToastAnnounceExclude",props:{altText:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){return(t,n)=>(N(),W(_(st),{as:t.as,"as-child":t.asChild,"data-reka-toast-announce-exclude":"","data-reka-toast-announce-alt":t.altText||void 0},{default:Z(()=>[ce(t.$slots,"default")]),_:3},8,["as","as-child","data-reka-toast-announce-alt"]))}}),Gm=Dx;const[kl,Bx]=gr("ToastProvider");var Fx=ge({inheritAttrs:!1,__name:"ToastProvider",props:{label:{type:String,required:!1,default:"Notification"},duration:{type:Number,required:!1,default:5e3},disableSwipe:{type:Boolean,required:!1},swipeDirection:{type:String,required:!1,default:"right"},swipeThreshold:{type:Number,required:!1,default:50}},setup(e){const t=e,{label:n,duration:r,disableSwipe:s,swipeDirection:o,swipeThreshold:i}=Rr(t);Pf({isProvider:!0});const a=Q(),l=Q(0),c=Q(!1),u=Q(!1);if(t.label&&typeof t.label=="string"&&!t.label.trim()){const f="Invalid prop `label` supplied to `ToastProvider`. Expected non-empty `string`.";throw new Error(f)}return Bx({label:n,duration:r,disableSwipe:s,swipeDirection:o,swipeThreshold:i,toastCount:l,viewport:a,onViewportChange(f){a.value=f},onToastAdd(){l.value++},onToastRemove(){l.value--},isFocusedToastEscapeKeyDownRef:c,isClosePausedRef:u}),(f,d)=>ce(f.$slots,"default")}}),jx=Fx,zx=ge({__name:"ToastAnnounce",setup(e){const t=kl(),n=A4(1e3),r=Q(!1);let s=0,o=0;return hr&&(s=requestAnimationFrame(()=>{o=requestAnimationFrame(()=>{r.value=!0})}),ii(()=>{cancelAnimationFrame(s),cancelAnimationFrame(o)})),(i,a)=>_(n)||r.value?(N(),W(_(Rf),{key:0,feature:"fully-hidden"},{default:Z(()=>[Dt(Qe(_(t).label.value)+" ",1),ce(i.$slots,"default")]),_:3})):xe("v-if",!0)}}),qx=zx;const Hx="toast.swipeStart",Ux="toast.swipeMove",Vx="toast.swipeCancel",Gx="toast.swipeEnd",gu="toast.viewportPause",mu="toast.viewportResume";function Ni(e,t,n){const r=n.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),r.dispatchEvent(s)}function sh(e,t,n=0){const r=Math.abs(e.x),s=Math.abs(e.y),o=r>s;return t==="left"||t==="right"?o&&r>n:!o&&s>n}function Wx(e){return e.nodeType===e.ELEMENT_NODE}function Wm(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),Wx(r)){const s=r.ariaHidden||r.hidden||r.style.display==="none",o=r.dataset.rekaToastAnnounceExclude==="";if(!s)if(o){const i=r.dataset.rekaToastAnnounceAlt;i&&t.push(i)}else t.push(...Wm(r))}}),t}const[Kx,Xx]=gr("ToastRoot");var Yx=ge({inheritAttrs:!1,__name:"ToastRootImpl",props:{type:{type:String,required:!1},open:{type:Boolean,required:!1,default:!1},duration:{type:Number,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"li"}},emits:["close","escapeKeyDown","pause","resume","swipeStart","swipeMove","swipeCancel","swipeEnd"],setup(e,{emit:t}){const n=e,r=t,{forwardRef:s,currentElement:o}=rt(),{CollectionItem:i}=Pf(),a=kl(),l=Q(null),c=Q(null),u=R(()=>typeof n.duration=="number"?n.duration:a.duration.value),f=Q(0),d=Q(u.value),p=Q(0),h=Q(u.value),m=O4(()=>{const g=Date.now()-f.value;h.value=Math.max(d.value-g,0)},{fpsLimit:60});function v(g){g<=0||g===Number.POSITIVE_INFINITY||hr&&(window.clearTimeout(p.value),f.value=Date.now(),p.value=window.setTimeout(b,g))}function b(g){const w=g?.pointerType==="";o.value?.contains(Us())&&w&&a.viewport.value?.focus(),w&&(a.isClosePausedRef.value=!1),r("close")}const y=R(()=>o.value?Wm(o.value):null);if(n.type&&!["foreground","background"].includes(n.type)){const g="Invalid prop `type` supplied to `Toast`. Expected `foreground | background`.";throw new Error(g)}return dn(g=>{const w=a.viewport.value;if(w){const x=()=>{v(d.value),m.resume(),r("resume")},S=()=>{const k=Date.now()-f.value;d.value=d.value-k,window.clearTimeout(p.value),m.pause(),r("pause")};return w.addEventListener(gu,S),w.addEventListener(mu,x),()=>{w.removeEventListener(gu,S),w.removeEventListener(mu,x)}}}),Ne(()=>[n.open,u.value],()=>{d.value=u.value,n.open&&!a.isClosePausedRef.value&&v(u.value)},{immediate:!0}),hf("Escape",g=>{r("escapeKeyDown",g),g.defaultPrevented||(a.isFocusedToastEscapeKeyDownRef.value=!0,b())}),It(()=>{a.onToastAdd()}),Lr(()=>{a.onToastRemove()}),Xx({onClose:b}),(g,w)=>(N(),Ee(ze,null,[y.value?(N(),W(qx,{key:0,role:"alert","aria-live":g.type==="foreground"?"assertive":"polite"},{default:Z(()=>[xe(`
|
|
33
|
-
Render each chunk as its own text node so screen readers get the
|
|
34
|
-
natural pause break between nodes (see comment in utils.ts).
|
|
35
|
-
Interpolating the array directly with \`{{ announceTextContent }}\`
|
|
36
|
-
would route through Vue's \`toDisplayString\`, which JSON-stringifies
|
|
37
|
-
arrays — the live region would then announce literal \`[\`, quotes
|
|
38
|
-
and commas instead of the toast title and description.
|
|
39
|
-
`),(N(!0),Ee(ze,null,ur(y.value,(x,S)=>(N(),Ee(ze,{key:S},[Dt(Qe(x),1)],64))),128))]),_:1},8,["aria-live"])):xe("v-if",!0),_(a).viewport.value?(N(),W(Jg,{key:1,to:_(a).viewport.value},[re(_(i),null,{default:Z(()=>[re(_(st),be({ref:_(s),tabindex:"0"},g.$attrs,{as:g.as,"as-child":g.asChild,"data-state":g.open?"open":"closed","data-swipe-direction":_(a).swipeDirection.value,style:_(a).disableSwipe.value?void 0:{userSelect:"none",touchAction:"none"},onPointerdown:w[0]||(w[0]=Ms(x=>{_(a).disableSwipe.value||(l.value={x:x.clientX,y:x.clientY})},["left"])),onPointermove:w[1]||(w[1]=x=>{if(_(a).disableSwipe.value||!l.value)return;const S=x.clientX-l.value.x,k=x.clientY-l.value.y,T=!!c.value,P=["left","right"].includes(_(a).swipeDirection.value),I=["left","up"].includes(_(a).swipeDirection.value)?Math.min:Math.max,D=P?I(0,S):0,M=P?0:I(0,k),Y=x.pointerType==="touch"?10:2,O={x:D,y:M},q={originalEvent:x,delta:O};T?(c.value=O,_(Ni)(_(Ux),$=>r("swipeMove",$),q)):_(sh)(O,_(a).swipeDirection.value,Y)?(c.value=O,_(Ni)(_(Hx),$=>r("swipeStart",$),q),x.target.setPointerCapture(x.pointerId)):(Math.abs(S)>Y||Math.abs(k)>Y)&&(l.value=null)}),onPointerup:w[2]||(w[2]=x=>{if(_(a).disableSwipe.value)return;const S=c.value,k=x.target;if(k.hasPointerCapture(x.pointerId)&&k.releasePointerCapture(x.pointerId),c.value=null,l.value=null,S){const T=x.currentTarget,P={originalEvent:x,delta:S};_(sh)(S,_(a).swipeDirection.value,_(a).swipeThreshold.value)?_(Ni)(_(Gx),I=>r("swipeEnd",I),P):_(Ni)(_(Vx),I=>r("swipeCancel",I),P),T?.addEventListener("click",I=>I.preventDefault(),{once:!0})}})}),{default:Z(()=>[ce(g.$slots,"default",{remaining:h.value,duration:u.value})]),_:3},16,["as","as-child","data-state","data-swipe-direction","style"])]),_:3})],8,["to"])):xe("v-if",!0)],64))}}),Jx=Yx,Zx=ge({__name:"ToastClose",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e,n=Kx(),{forwardRef:r}=rt();return(s,o)=>(N(),W(Gm,{"as-child":""},{default:Z(()=>[re(_(st),be(t,{ref:_(r),type:s.as==="button"?"button":void 0,onClick:_(n).onClose}),{default:Z(()=>[ce(s.$slots,"default")]),_:3},16,["type","onClick"])]),_:3}))}}),Km=Zx,Qx=ge({__name:"ToastAction",props:{altText:{type:String,required:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){if(!e.altText)throw new Error("Missing prop `altText` expected on `ToastAction`");const{forwardRef:n}=rt();return(r,s)=>r.altText?(N(),W(Gm,{key:0,"alt-text":r.altText,"as-child":""},{default:Z(()=>[re(Km,{ref:_(n),as:r.as,"as-child":r.asChild},{default:Z(()=>[ce(r.$slots,"default")]),_:3},8,["as","as-child"])]),_:3},8,["alt-text"])):xe("v-if",!0)}}),oh=Qx,eC=ge({__name:"ToastDescription",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return rt(),(n,r)=>(N(),W(_(st),Ht(en(t)),{default:Z(()=>[ce(n.$slots,"default")]),_:3},16))}}),tC=eC,nC=ge({__name:"ToastPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=e;return(n,r)=>(N(),W(_(Lm),Ht(en(t)),{default:Z(()=>[ce(n.$slots,"default")]),_:3},16))}}),rC=nC,sC=ge({__name:"ToastRoot",props:{defaultOpen:{type:Boolean,required:!1,default:!0},forceMount:{type:Boolean,required:!1},type:{type:String,required:!1,default:"foreground"},open:{type:Boolean,required:!1,default:void 0},duration:{type:Number,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"li"}},emits:["escapeKeyDown","pause","resume","swipeStart","swipeMove","swipeCancel","swipeEnd","update:open"],setup(e,{emit:t}){const n=e,r=t,{forwardRef:s}=rt(),o=Ko(n,"open",r,{defaultValue:n.defaultOpen,passive:n.open===void 0});return(i,a)=>(N(),W(_(Om),{present:i.forceMount||_(o)},{default:Z(()=>[re(Jx,be({ref:_(s),open:_(o),type:i.type,as:i.as,"as-child":i.asChild,duration:i.duration},i.$attrs,{onClose:a[0]||(a[0]=l=>o.value=!1),onPause:a[1]||(a[1]=l=>r("pause")),onResume:a[2]||(a[2]=l=>r("resume")),onEscapeKeyDown:a[3]||(a[3]=l=>r("escapeKeyDown",l)),onSwipeStart:a[4]||(a[4]=l=>{r("swipeStart",l),l.defaultPrevented||l.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:a[5]||(a[5]=l=>{if(r("swipeMove",l),!l.defaultPrevented){const{x:c,y:u}=l.detail.delta,f=l.currentTarget;f.setAttribute("data-swipe","move"),f.style.setProperty("--reka-toast-swipe-move-x",`${c}px`),f.style.setProperty("--reka-toast-swipe-move-y",`${u}px`)}}),onSwipeCancel:a[6]||(a[6]=l=>{if(r("swipeCancel",l),!l.defaultPrevented){const c=l.currentTarget;c.setAttribute("data-swipe","cancel"),c.style.removeProperty("--reka-toast-swipe-move-x"),c.style.removeProperty("--reka-toast-swipe-move-y"),c.style.removeProperty("--reka-toast-swipe-end-x"),c.style.removeProperty("--reka-toast-swipe-end-y")}}),onSwipeEnd:a[7]||(a[7]=l=>{if(r("swipeEnd",l),!l.defaultPrevented){const{x:c,y:u}=l.detail.delta,f=l.currentTarget;f.setAttribute("data-swipe","end"),f.style.removeProperty("--reka-toast-swipe-move-x"),f.style.removeProperty("--reka-toast-swipe-move-y"),f.style.setProperty("--reka-toast-swipe-end-x",`${c}px`),f.style.setProperty("--reka-toast-swipe-end-y",`${u}px`),o.value=!1}})}),{default:Z(({remaining:l,duration:c})=>[ce(i.$slots,"default",{remaining:l,duration:c,open:_(o)})]),_:3},16,["open","type","as","as-child","duration"])]),_:3},8,["present"]))}}),oC=sC,iC=ge({__name:"ToastTitle",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return rt(),(n,r)=>(N(),W(_(st),Ht(en(t)),{default:Z(()=>[ce(n.$slots,"default")]),_:3},16))}}),aC=iC,lC=ge({__name:"FocusProxy",emits:["focusFromOutsideViewport"],setup(e,{emit:t}){const n=t,r=kl();return(s,o)=>(N(),W(_(Rf),{tabindex:"0",style:{position:"fixed"},onFocus:o[0]||(o[0]=i=>{const a=i.relatedTarget;!_(r).viewport.value?.contains(a)&&n("focusFromOutsideViewport")})},{default:Z(()=>[ce(s.$slots,"default")]),_:3}))}}),ih=lC,cC=ge({inheritAttrs:!1,__name:"ToastViewport",props:{hotkey:{type:Array,required:!1,default:()=>["F8"]},label:{type:[String,Function],required:!1,default:"Notifications ({hotkey})"},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"ol"}},setup(e){const t=e,{hotkey:n,label:r}=Rr(t),{forwardRef:s,currentElement:o}=rt(),{CollectionSlot:i,getItems:a}=Pf(),l=kl(),c=R(()=>l.toastCount.value>0),u=Q(),f=Q(),d=/Key/g,p=/Digit/g,h=R(()=>n.value.join("+").replace(d,"").replace(p,""));hf(n.value,()=>{o.value.focus()}),It(()=>{l.onViewportChange(o.value)}),dn(v=>{const b=o.value;if(c.value&&b){const y=()=>{if(!l.isClosePausedRef.value){const k=new CustomEvent(gu);b.dispatchEvent(k),l.isClosePausedRef.value=!0}},g=()=>{if(l.isClosePausedRef.value){const k=new CustomEvent(mu);b.dispatchEvent(k),l.isClosePausedRef.value=!1}},w=k=>{!b.contains(k.relatedTarget)&&g()},x=()=>{b.contains(Us())||g()},S=k=>{const T=k.altKey||k.ctrlKey||k.metaKey;if(k.key==="Tab"&&!T){const I=Us(),D=k.shiftKey;if(k.target===b&&D){u.value?.focus();return}const O=m({tabbingDirection:D?"backwards":"forwards"}),q=O.findIndex($=>$===I);ic(O.slice(q+1))?k.preventDefault():D?u.value?.focus():f.value?.focus()}};b.addEventListener("focusin",y),b.addEventListener("focusout",w),b.addEventListener("pointermove",y),b.addEventListener("pointerleave",x),b.addEventListener("keydown",S),window.addEventListener("blur",y),window.addEventListener("focus",g),v(()=>{b.removeEventListener("focusin",y),b.removeEventListener("focusout",w),b.removeEventListener("pointermove",y),b.removeEventListener("pointerleave",x),b.removeEventListener("keydown",S),window.removeEventListener("blur",y),window.removeEventListener("focus",g)})}});function m({tabbingDirection:v}){const y=a().map(g=>g.ref).map(g=>{const w=[g,...Mm(g)];return v==="forwards"?w:w.reverse()});return(v==="forwards"?y.reverse():y).flat()}return(v,b)=>(N(),W(_(l_),{role:"region","aria-label":typeof _(r)=="string"?_(r).replace("{hotkey}",h.value):_(r)(h.value),tabindex:"-1",style:wn({pointerEvents:c.value?void 0:"none"})},{default:Z(()=>[c.value?(N(),W(ih,{key:0,ref:y=>{y&&(u.value=_(yn)(y))},onFocusFromOutsideViewport:b[0]||(b[0]=()=>{const y=m({tabbingDirection:"forwards"});_(ic)(y)})},null,512)):xe("v-if",!0),re(_(i),null,{default:Z(()=>[re(_(st),be({ref:_(s),tabindex:"-1",as:v.as,"as-child":v.asChild},v.$attrs),{default:Z(()=>[ce(v.$slots,"default")]),_:3},16,["as","as-child"])]),_:3}),c.value?(N(),W(ih,{key:1,ref:y=>{y&&(f.value=_(yn)(y))},onFocusFromOutsideViewport:b[1]||(b[1]=()=>{const y=m({tabbingDirection:"backwards"});_(ic)(y)})},null,512)):xe("v-if",!0)]),_:3},8,["aria-label","style"]))}}),uC=cC,fC=ge({__name:"TooltipArrow",props:{width:{type:Number,required:!1,default:10},height:{type:Number,required:!1,default:5},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"svg"}},setup(e){const t=e;return rt(),(n,r)=>(N(),W(_(Tx),Ht(en(t)),{default:Z(()=>[ce(n.$slots,"default")]),_:3},16))}}),dC=fC;const[hi,pC]=gr("TooltipProvider");var hC=ge({inheritAttrs:!1,__name:"TooltipProvider",props:{delayDuration:{type:Number,required:!1,default:700},skipDelayDuration:{type:Number,required:!1,default:300},disableHoverableContent:{type:Boolean,required:!1,default:!1},disableClosingTrigger:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:!1},content:{type:Object,required:!1}},setup(e){const t=e,{delayDuration:n,skipDelayDuration:r,disableHoverableContent:s,disableClosingTrigger:o,ignoreNonKeyboardFocus:i,disabled:a,content:l}=Rr(t);rt();const c=Q(!0),u=Q(!1),{start:f,stop:d}=pl(()=>{c.value=!0},r,{immediate:!1});return pC({isOpenDelayed:c,delayDuration:n,onOpen(){d(),c.value=!1},onClose(){f()},isPointerInTransitRef:u,disableHoverableContent:s,disableClosingTrigger:o,disabled:a,ignoreNonKeyboardFocus:i,content:l}),(p,h)=>ce(p.$slots,"default")}}),gC=hC;const Xm="tooltip.open",[Sl,mC]=gr("TooltipRoot");var yC=ge({__name:"TooltipRoot",props:{defaultOpen:{type:Boolean,required:!1,default:!1},open:{type:Boolean,required:!1,default:void 0},delayDuration:{type:Number,required:!1,default:void 0},disableHoverableContent:{type:Boolean,required:!1,default:void 0},disableClosingTrigger:{type:Boolean,required:!1,default:void 0},disabled:{type:Boolean,required:!1,default:void 0},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:void 0}},emits:["update:open"],setup(e,{emit:t}){const n=e,r=t;rt();const s=hi(),o=R(()=>n.disableHoverableContent??s.disableHoverableContent.value),i=R(()=>n.disableClosingTrigger??s.disableClosingTrigger.value),a=R(()=>n.disabled??s.disabled.value),l=R(()=>n.delayDuration??s.delayDuration.value),c=R(()=>n.ignoreNonKeyboardFocus??s.ignoreNonKeyboardFocus.value),u=Ko(n,"open",r,{defaultValue:n.defaultOpen,passive:n.open===void 0});Ne(u,g=>{s.onClose&&(g?(s.onOpen(),document.dispatchEvent(new CustomEvent(Xm))):s.onClose())});const f=Q(!1),d=Q(),p=R(()=>u.value?f.value?"delayed-open":"instant-open":"closed"),{start:h,stop:m}=pl(()=>{f.value=!0,u.value=!0},l,{immediate:!1});function v(){m(),f.value=!1,u.value=!0}function b(){m(),u.value=!1}function y(){h()}return mC({contentId:"",open:u,stateAttribute:p,trigger:d,onTriggerChange(g){d.value=g},onTriggerEnter(){s.isOpenDelayed.value?y():v()},onTriggerLeave(){o.value?b():m()},onOpen:v,onClose:b,disableHoverableContent:o,disableClosingTrigger:i,disabled:a,ignoreNonKeyboardFocus:c}),(g,w)=>(N(),W(_(m_),null,{default:Z(()=>[ce(g.$slots,"default",{open:_(u)})]),_:3}))}}),vC=yC,bC=ge({__name:"TooltipContentImpl",props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1,default:void 0},as:{type:null,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1,default:void 0},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1,default:void 0},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,r=t,s=Sl(),o=hi(),{forwardRef:i,currentElement:a}=rt(),l=R(()=>n.ariaLabel||a.value?.textContent),c=R(()=>{const{ariaLabel:u,...f}=n;return Vn(f,o.content.value??{},{side:"top",sideOffset:0,align:"center",avoidCollisions:!0,collisionBoundary:[],collisionPadding:0,arrowPadding:0,sticky:"partial",hideWhenDetached:!1})});return It(()=>{Bn(window,"scroll",u=>{u.target?.contains(s.trigger.value)&&s.onClose()},{capture:!0}),Bn(window,Xm,s.onClose)}),(u,f)=>(N(),W(_(i_),{"as-child":"","disable-outside-pointer-events":!1,onEscapeKeyDown:f[0]||(f[0]=d=>r("escapeKeyDown",d)),onPointerDownOutside:f[1]||(f[1]=d=>{_(s).disableClosingTrigger.value&&_(s).trigger.value?.contains(d.target)&&d.preventDefault(),r("pointerDownOutside",d)}),onFocusOutside:f[2]||(f[2]=Ms(()=>{},["prevent"])),onDismiss:f[3]||(f[3]=d=>_(s).onClose())},{default:Z(()=>[re(_(Sx),be({ref:_(i),"data-state":_(s).stateAttribute.value},{...u.$attrs,...c.value},{style:{"--reka-tooltip-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-tooltip-content-available-width":"var(--reka-popper-available-width)","--reka-tooltip-content-available-height":"var(--reka-popper-available-height)","--reka-tooltip-trigger-width":"var(--reka-popper-anchor-width)","--reka-tooltip-trigger-height":"var(--reka-popper-anchor-height)"}}),{default:Z(()=>[ce(u.$slots,"default"),re(_(Rf),{id:_(s).contentId,role:"tooltip"},{default:Z(()=>[Dt(Qe(l.value),1)]),_:1},8,["id"])]),_:3},16,["data-state"])]),_:3}))}}),Ym=bC,wC=ge({__name:"TooltipContentHoverable",props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},setup(e){const n=di(e),{forwardRef:r,currentElement:s}=rt(),{trigger:o,onClose:i}=Sl(),a=hi(),{isPointerInTransit:l,onPointerExit:c}=H7(o,s);return a.isPointerInTransitRef=l,c(()=>{i()}),(u,f)=>(N(),W(Ym,be({ref:_(r)},_(n)),{default:Z(()=>[ce(u.$slots,"default")]),_:3},16))}}),_C=wC,xC=ge({__name:"TooltipContent",props:{forceMount:{type:Boolean,required:!1},ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,r=t,s=Sl(),o=q7(n,r),{forwardRef:i}=rt();return(a,l)=>(N(),W(_(Om),{present:a.forceMount||_(s).open.value},{default:Z(()=>[(N(),W(Ln(_(s).disableHoverableContent.value?Ym:_C),be({ref:_(i)},_(o)),{default:Z(()=>[ce(a.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),CC=xC,kC=ge({__name:"TooltipPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=e;return(n,r)=>(N(),W(_(Lm),Ht(en(t)),{default:Z(()=>[ce(n.$slots,"default")]),_:3},16))}}),SC=kC,EC=ge({__name:"TooltipTrigger",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e,n=Sl(),r=hi();n.contentId||=Y7(void 0,"reka-tooltip-content");const{forwardRef:s,currentElement:o}=rt(),i=Q(!1),a=Q(!1),l=R(()=>n.disabled.value?{}:{click:m,focus:p,pointermove:f,pointerleave:d,pointerdown:u,blur:h});It(()=>{n.onTriggerChange(o.value)});function c(){setTimeout(()=>{i.value=!1},1)}function u(){n.open&&!n.disableClosingTrigger.value&&n.onClose(),i.value=!0,document.addEventListener("pointerup",c,{once:!0})}function f(v){v.pointerType!=="touch"&&!a.value&&!r.isPointerInTransitRef.value&&(n.onTriggerEnter(),a.value=!0)}function d(){n.onTriggerLeave(),a.value=!1}function p(v){i.value||n.ignoreNonKeyboardFocus.value&&!v.target.matches?.(":focus-visible")||n.onOpen()}function h(){n.onClose()}function m(){n.disableClosingTrigger.value||n.onClose()}return(v,b)=>(N(),W(_(v_),{"as-child":"",reference:v.reference},{default:Z(()=>[re(_(st),be({ref:_(s),"aria-describedby":_(n).open.value?_(n).contentId:void 0,"data-state":_(n).stateAttribute.value,as:v.as,"as-child":t.asChild,"data-grace-area-trigger":""},nb(l.value)),{default:Z(()=>[ce(v.$slots,"default")]),_:3},16,["aria-describedby","data-state","as","as-child"])]),_:3},8,["reference"]))}}),AC=EC;const TC=Object.freeze({left:0,top:0,width:16,height:16}),Jm=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Bf=Object.freeze({...TC,...Jm});Object.freeze({...Bf,body:"",hidden:!1});function PC(e){const[t,n,r,s]=e;if(r!==s){const o=Math.max(r,s);return[t-(o-r)/2,n-(o-s)/2,o,o]}return e}const RC=/(-?[0-9.]*[0-9]+[0-9.]*)/g,OC=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function yu(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(RC);if(r===null||!r.length)return e;const s=[];let o=r.shift(),i=OC.test(o);for(;;){if(i){const a=parseFloat(o);isNaN(a)?s.push(o):s.push(Math.ceil(a*t*n)/n)}else s.push(o);if(o=r.shift(),o===void 0)return s.join("");i=!i}}const IC=Object.freeze({width:null,height:null}),MC=Object.freeze({...IC,...Jm});function LC(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const s=e.indexOf(">",r),o=e.indexOf("</"+t);if(s===-1||o===-1)break;const i=e.indexOf(">",o);if(i===-1)break;n+=e.slice(s+1,o).trim(),e=e.slice(0,r).trim()+e.slice(i+1)}return{defs:n,content:e}}function $C(e,t){return e?"<defs>"+e+"</defs>"+t:t}function NC(e,t,n){const r=LC(e);return $C(r.defs,t+r.content+n)}const DC=e=>e==="unset"||e==="undefined"||e==="none";function BC(e,t){const n={...Bf,...e},r={...MC,...t},s={left:n.left,top:n.top,width:n.width,height:n.height};let o=n.body;[n,r].forEach(m=>{const v=[],b=m.hFlip,y=m.vFlip;let g=m.rotate;b?y?g+=2:(v.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),v.push("scale(-1 1)"),s.top=s.left=0):y&&(v.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),v.push("scale(1 -1)"),s.top=s.left=0);let w;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:w=s.height/2+s.top,v.unshift("rotate(90 "+w.toString()+" "+w.toString()+")");break;case 2:v.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:w=s.width/2+s.left,v.unshift("rotate(-90 "+w.toString()+" "+w.toString()+")");break}g%2===1&&(s.left!==s.top&&(w=s.left,s.left=s.top,s.top=w),s.width!==s.height&&(w=s.width,s.width=s.height,s.height=w)),v.length&&(o=NC(o,'<g transform="'+v.join(" ")+'">',"</g>"))});const i=r.width,a=r.height,l=s.width,c=s.height;let u,f;i===null?(f=a===null?"1em":a==="auto"?c:a,u=yu(f,l/c)):(u=i==="auto"?l:i,f=a===null?yu(u,c/l):a==="auto"?c:a);const d={},p=(m,v)=>{DC(v)||(d[m]=v.toString())};p("width",u),p("height",f);const h=[s.left,s.top,l,c];return d.viewBox=h.join(" "),{attributes:d,viewBox:h,body:o}}function FC(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function jC(e){return"data:image/svg+xml,"+FC(e)}function zC(e){return'url("'+jC(e)+'")'}function qC(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function HC(e){const t={display:"inline-block",width:"1em",height:"1em"},n=e.varName;switch(e.pseudoSelector&&(t.content="''"),e.mode){case"background":n&&(t["background-image"]="var(--"+n+")"),t["background-repeat"]="no-repeat",t["background-size"]="100% 100%";break;case"mask":t["background-color"]="currentColor",n&&(t["mask-image"]=t["-webkit-mask-image"]="var(--"+n+")"),t["mask-repeat"]=t["-webkit-mask-repeat"]="no-repeat",t["mask-size"]=t["-webkit-mask-size"]="100% 100%";break}return t}function UC(e,t){const n={},r=t.varName,s=BC(e);let o=s.viewBox;o[2]!==o[3]&&(t.forceSquare?o=PC(o):n.width=yu("1em",o[2]/o[3]));const i=zC(qC(s.body.replace(/currentColor/g,t.color||"black"),{viewBox:`${o[0]} ${o[1]} ${o[2]} ${o[3]}`,width:`${o[2]}`,height:`${o[3]}`}));if(r)n["--"+r]=i;else switch(t.mode){case"background":n["background-image"]=i;break;case"mask":n["mask-image"]=n["-webkit-mask-image"]=i;break}return n}const cc={selectorStart:{compressed:"{",compact:" {",expanded:" {"},selectorEnd:{compressed:"}",compact:`; }
|
|
40
|
-
`,expanded:`;
|
|
41
|
-
}
|
|
42
|
-
`},rule:{compressed:"{key}:",compact:" {key}: ",expanded:`
|
|
43
|
-
{key}: `}};function VC(e,t="expanded"){const n=[];for(let r=0;r<e.length;r++){const{selector:s,rules:o}=e[r];let i=(s instanceof Array?s.join(t==="compressed"?",":", "):s)+cc.selectorStart[t],a=!0;for(const l in o)a||(i+=";"),i+=cc.rule[t].replace("{key}",l)+o[l],a=!1;i+=cc.selectorEnd[t],n.push(i)}return n.join(t==="compressed"?"":`
|
|
44
|
-
`)}function GC(e,t={}){const n=t.customise?t.customise(e.body):e.body,r=t.mode||(t.color||!n.includes("currentColor")?"background":"mask");let s=t.varName;s===void 0&&r==="mask"&&(s="svg");const o={...t,mode:r,varName:s};r==="background"&&delete o.varName;const i={...t.rules,...HC(o),...UC({...Bf,...e,body:n},o)};return VC([{selector:t.iconSelector||".icon",rules:i}],o.format)}async function WC(e,t){if(!e)return null;const n=iu(e);return n||(await t7(e).catch(()=>(console.warn(`[Icon] failed to load icon \`${e}\``),null)),iu(e))}function Zm(e){const t=vt().icon,n=(t.collections||[]).sort((r,s)=>s.length-r.length);return R(()=>{const r=e(),s=r.startsWith(t.cssSelectorPrefix)?r.slice(t.cssSelectorPrefix.length):r,o=t.aliases?.[s]||s;if(!o.includes(":")){const i=n.find(a=>o.startsWith(a+"-"));return i?i+":"+o.slice(i.length+1):o}return o})}function Qm(e,t){if(e!==!1)return e===!0||e===null?t:e}let po;function KC(e){return e.replace(/([^\w-])/g,"\\$1")}function XC(){if(po)return po;po=new Set;const e=n=>{if(n=n.replace(/^:where\((.*)\)$/,"$1").trim(),n.startsWith("."))return n},t=n=>{if(n?.length)for(const r of n){r?.cssRules&&t(r.cssRules);const s=r?.selectorText;if(typeof s=="string"){const o=e(s);o&&po.add(o)}}};if(typeof document<"u")for(const n of document.styleSheets)try{const r=n.cssRules||n.rules;t(r)}catch{}return po}const YC=ge({name:"NuxtIconCss",props:{name:{type:String,required:!0},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e){const t=Ue(),n=vt().icon,r=R(()=>{if(!e.name)return"";const a=n.cssSelectorPrefix+e.name;return typeof e.customize=="function"?a+"--customized-"+h9(e.customize.toString()):a});function s(a){if(!a)return;const l=iu(a);if(l)return l;const c=t.payload?.data?.[a];if(c)return Sf(a,c),c}const o=R(()=>"."+KC(r.value));function i(a,l=!0){let c=o.value;n.cssWherePseudo&&(c=`:where(${c})`);const u=GC(a,{iconSelector:c,format:"compressed",customise:Qm(e.customize,n.customize)});return n.cssLayer&&l?`@layer ${n.cssLayer} { ${u} }`:u}{const a=XC();async function l(c){if(a.has(o.value)||typeof document>"u")return;const u=document.createElement("style");u.textContent=i(c);const f=document.head.querySelector('style, link[rel="stylesheet"]');f?document.head.insertBefore(u,f):document.head.appendChild(u),a.add(o.value)}Ne(()=>e.name,()=>{if(a.has(o.value))return;const c=s(e.name);c?l(c):WC(e.name).then(u=>{u&&l(u)}).catch(()=>null)},{immediate:!0})}return()=>Ze("span",{class:["iconify",r.value]})}}),JC=Symbol.for("nuxt:client-only");function ZC(e){return Object.defineProperty(function(){throw new Error(`[nuxt] \`${e.name}\` is a compiler macro and cannot be called at runtime.`)},"__nuxt_factory",{enumerable:!1,get:()=>e.factory})}const ey=ZC({name:"createUseAsyncData",factory(e={}){function t(...n){const r=typeof n[n.length-1]=="string"?n.pop():void 0;QC(n[0],n[1])&&n.unshift(r);let[s,o,i={}]=n,a=!1;const l=Xe(s)||typeof s=="function",c=l?R(()=>He(s)):{value:s};if(!c.value||typeof c.value!="string")throw new TypeError("[nuxt] [useAsyncData] key must be a non-empty string.");if(typeof o!="function")throw new TypeError("[nuxt] [useAsyncData] handler must be a function.");const u=typeof e=="function",f=Ue(),d=u?e(i):e;if(!u)for(const g in d)d[g]!==void 0&&i[g]===void 0&&(i[g]=d[g]);if(i.server??=!0,i.default??=tk,i.getCachedData??=ny,i.lazy??=!1,i.immediate??=!0,i.deep??=f6.deep,i.dedupe??="cancel",u)for(const g in d)d[g]!==void 0&&(i[g]=d[g]);f._asyncData[c.value];function p(){const g={cause:"initial",dedupe:i.dedupe},w=f._asyncData[c.value];return w?._init?f._asyncDataPromises[c.value]&&(g.cachedData=w._initialCachedData):(g.cachedData=i.getCachedData(c.value,f,{cause:"initial"}),f._asyncData[c.value]=ah(f,c.value,o,i,g.cachedData),f._asyncData[c.value]._initialCachedData=g.cachedData),()=>f._asyncData[c.value].execute(g)}const h=p(),m=f._asyncData[c.value];m._deps++;const v=i.server!==!1&&f.payload.serverRendered;{let g=function(I){const D=f._asyncData[I];D?._deps&&(D._deps--,D._deps===0&&D?._off())};const w=lt();if(w&&v&&i.immediate&&!w.sp&&(w.sp=[]),w&&!w._nuxtOnBeforeMountCbs){w._nuxtOnBeforeMountCbs=[];const I=w._nuxtOnBeforeMountCbs;l0(()=>{I.forEach(D=>{D()}),I.splice(0,I.length)}),Lr(()=>I.splice(0,I.length))}const x=w&&(w._nuxtClientOnly||We(JC,!1));v&&f.isHydrating&&(m.error.value||m.data.value!==void 0)?m.status.value=m.error.value?"error":"success":w&&(!x&&f.payload.serverRendered&&f.isHydrating||i.lazy)&&i.immediate?w._nuxtOnBeforeMountCbs.push(h):i.immediate&&m.status.value!=="success"&&h();const S=oi(),k=()=>{},T=l?Ne(c,(I,D)=>{if((I||D)&&I!==D){a=!0;const M=f._asyncData[D]?.data.value!==void 0,Y=f._asyncDataPromises[D]!==void 0,O={cause:"initial",dedupe:i.dedupe};if(!f._asyncData[I]?._init){let $;D&&M?$=f._asyncData[D].data.value:($=i.getCachedData(I,f,{cause:"initial"}),O.cachedData=$),f._asyncData[I]=ah(f,I,o,i,$)}f._asyncData[I]._deps++,D&&g(D),i._keyTriggersExecute!==!1&&(i.immediate||M||Y)&&f._asyncData[I].execute(O),Fo(()=>{a=!1})}},{flush:"sync"}):k,P=i.watch?Ne(i.watch,()=>{a||(f._asyncData[c.value]?._execute.isPending()&&Fo(()=>{f._asyncData[c.value]?._execute.flush()}),f._asyncData[c.value]?._execute({cause:"watch",dedupe:i.dedupe}))}):k;S&&ii(()=>{T(),P(),g(c.value)})}const b={data:Di(()=>f._asyncData[c.value]?.data),pending:Di(()=>f._asyncData[c.value]?.pending),status:Di(()=>f._asyncData[c.value]?.status),error:Di(()=>f._asyncData[c.value]?.error),refresh:(...g)=>f._asyncData[c.value]?._init?f._asyncData[c.value].execute(...g):p()(),execute:(...g)=>b.refresh(...g),clear:()=>{const g=f._asyncData[c.value];if(g?._abortController)try{g._abortController.abort(new DOMException("AsyncData aborted by user.","AbortError"))}finally{g._abortController=void 0}ty(f,c.value)}},y=Promise.resolve(f._asyncDataPromises[c.value]).then(()=>b);return Object.assign(y,b),Object.defineProperties(y,{then:{enumerable:!0,value:y.then.bind(y)},catch:{enumerable:!0,value:y.catch.bind(y)},finally:{enumerable:!0,value:y.finally.bind(y)}}),y}return t}});ey.__nuxt_factory();ey.__nuxt_factory({lazy:!0,_functionName:"useLazyAsyncData"});function Di(e){return R({get(){return e()?.value},set(t){const n=e();n&&(n.value=t)}})}function QC(e,t){return!(typeof e=="string"||typeof e=="object"&&e!==null||typeof e=="function"&&typeof t=="function")}function ty(e,t){t in e.payload.data&&(e.payload.data[t]=void 0),t in e.payload._errors&&(e.payload._errors[t]=void 0),e._asyncData[t]&&(e._asyncData[t].data.value=_(e._asyncData[t]._default()),e._asyncData[t].error.value=void 0,e._asyncData[t].status.value="idle",e._asyncData[t]._initialCachedData=void 0),t in e._asyncDataPromises&&(e._asyncDataPromises[t]=void 0)}function ek(e,t){const n={};for(const r of t)n[r]=e[r];return n}function ah(e,t,n,r,s){e.payload._errors[t]??=void 0;const o=r.getCachedData!==ny,i=n,a=r.deep?Q:at,l=s!==void 0,c=e.hook("app:data:refresh",async f=>{(!f||f.includes(t))&&await u.execute({cause:"refresh:hook"})}),u={data:a(l?s:r.default()),pending:R(()=>u.status.value==="pending"),error:Nt(e.payload._errors,t),status:at("idle"),execute:(...f)=>{const[d,p=void 0]=f,h=d&&p===void 0&&typeof d=="object"?d:{};if(e._asyncDataPromises[t]&&(h.dedupe??r.dedupe)==="defer")return e._asyncDataPromises[t];{const b="cachedData"in h?h.cachedData:r.getCachedData(t,e,{cause:h.cause??"refresh:manual"});if(b!==void 0)return e.payload.data[t]=u.data.value=b,u.error.value=void 0,u.status.value="success",Promise.resolve(b)}u._abortController&&u._abortController.abort(new DOMException("AsyncData request cancelled by deduplication","AbortError")),u._abortController=new AbortController,u.status.value="pending";const m=new AbortController,v=new Promise((b,y)=>{try{const g=h.timeout??r.timeout,w=nk([u._abortController?.signal,h?.signal],m.signal,g);if(w.aborted){const x=w.reason;y(x instanceof Error?x:new DOMException(String(x??"Aborted"),"AbortError"));return}return w.addEventListener("abort",()=>{const x=w.reason;y(x instanceof Error?x:new DOMException(String(x??"Aborted"),"AbortError"))},{once:!0,signal:m.signal}),Promise.resolve(i(e,{signal:w})).then(b,y)}catch(g){y(g)}}).then(async b=>{if(e._asyncDataPromises[t]!==v)return;let y=b;r.transform&&(y=await r.transform(b)),r.pick&&(y=ek(y,r.pick)),e.payload.data[t]=y,u.data.value=y,u.error.value=void 0,u.status.value="success"}).catch(b=>{if(e._asyncDataPromises[t]!==v||u._abortController?.signal.aborted)return e._asyncDataPromises[t];if(typeof DOMException<"u"&&b instanceof DOMException&&b.name==="AbortError")return u.status.value="idle",e._asyncDataPromises[t];u.error.value=Tr(b),u.data.value=_(r.default()),u.status.value="error"}).finally(()=>{m.abort(),e._asyncDataPromises[t]===v&&delete e._asyncDataPromises[t]});return e._asyncDataPromises[t]=v,e._asyncDataPromises[t]},_execute:Iw((...f)=>u.execute(...f),0,{leading:!0}),_default:r.default,_deps:0,_init:!0,_hash:void 0,_off:()=>{c(),e._asyncData[t]?._init&&(e._asyncData[t]._init=!1),o||At(()=>{e._asyncData[t]?._init||(ty(e,t),u.execute=()=>Promise.resolve())})}};return u}const tk=()=>{},ny=(e,t,n)=>{if(t.isHydrating)return t.payload.data[e];if(n.cause!=="refresh:manual"&&n.cause!=="refresh:hook")return t.static.data[e]};function nk(e,t,n){const r=e.filter(i=>!!i);if(typeof n=="number"&&n>=0){const i=AbortSignal.timeout?.(n);i&&r.push(i)}if(AbortSignal.any)return AbortSignal.any(r);const s=new AbortController;for(const i of r)if(i.aborted){const a=i.reason??new DOMException("Aborted","AbortError");try{s.abort(a)}catch{s.abort()}return s.signal}const o=()=>{const a=r.find(l=>l.aborted)?.reason??new DOMException("Aborted","AbortError");try{s.abort(a)}catch{s.abort()}};for(const i of r)i.addEventListener?.("abort",o,{once:!0,signal:t});return s.signal}const rk=ge({name:"NuxtIconSvg",props:{name:{type:String,required:!0},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e,{slots:t}){const n=Ue(),r=vt().icon,s=Zm(()=>e.name),o="i-"+s.value;if(s.value){const i=n.payload.data[o];i&&Sf(s.value,i)}return()=>Ze(h7,{icon:s.value,ssr:!0,customise:Qm(e.customize,r.customize)},t)}}),ry=ge({name:"NuxtIcon",props:{name:{type:String,required:!0},mode:{type:String,required:!1,default:null},size:{type:[Number,String],required:!1,default:null},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e,{slots:t}){const n=Ue(),r=vt().icon,s=Zm(()=>e.name),o=R(()=>n.vueApp?.component(s.value)||((e.mode||r.mode)==="svg"?rk:YC)),i=R(()=>{const a=e.size||r.size;return a?{fontSize:Number.isNaN(+a)?a:a+"px"}:null});return()=>Ze(o.value,{...r.attrs,name:s.value,class:r.class,style:i.value,customize:e.customize},t)}}),sk=Object.freeze(Object.defineProperty({__proto__:null,default:ry},Symbol.toStringTag,{value:"Module"})),En={__name:"UIcon",props:{name:{type:null,required:!0},mode:{type:String,required:!1},size:{type:[String,Number],required:!1},customize:{type:[Function,Boolean,null],required:!1}},setup(e){const n=di(us(e,"mode","size","customize"));return(r,s)=>typeof e.name=="string"?(N(),W(_(ry),be({key:0,name:e.name},_(n)),null,16,["name"])):(N(),W(Ln(e.name),{key:1}))}},sy=Symbol("nuxt-ui.field-group");function Ff(e){const t=We(sy,void 0);return{orientation:R(()=>t?.value.orientation),size:R(()=>e?.size??t?.value.size)}}const ok=ge({name:"FieldGroupReset",setup(e,{slots:t}){return qt(sy,R(()=>({size:void 0,orientation:void 0}))),()=>t.default?.()}});function jf(e){const t=vt(),n=R(()=>He(e)),r=R(()=>n.value.icon&&n.value.leading||n.value.icon&&!n.value.trailing||n.value.loading&&!n.value.trailing||!!n.value.leadingIcon),s=R(()=>n.value.icon&&n.value.trailing||n.value.loading&&n.value.trailing||!!n.value.trailingIcon&&n.value.trailing!==!1),o=R(()=>n.value.loading?n.value.loadingIcon||t.ui.icons.loading:n.value.leadingIcon||n.value.icon),i=R(()=>n.value.loading&&!r.value?n.value.loadingIcon||t.ui.icons.loading:n.value.trailingIcon||n.value.icon);return{isLeading:r,isTrailing:s,leadingIconName:o,trailingIconName:i}}function ik(e,t){const n=vu(e),r=vu(t);return oy(n,r)}function oy(e,t){const n=[],r=new Set([...Object.keys(e.props||{}),...Object.keys(t.props||{})]);if(e.props&&t.props)for(const s of r){const o=e.props[s],i=t.props[s];o&&i?n.push(...oy(e.props?.[s],t.props?.[s])):(o||i)&&n.push(new lh((i||o).key,o?"removed":"added",i,o))}return r.size===0&&e.hash!==t.hash&&n.push(new lh((t||e).key,"changed",t,e)),n}function vu(e,t=""){if(e&&typeof e!="object")return new ch(t,e,Ta(e));const n={},r=[];for(const s in e)n[s]=vu(e[s],t?`${t}.${s}`:s),r.push(n[s].hash);return new ch(t,e,`{${r.join(":")}}`,n)}class lh{constructor(t,n,r,s){this.key=t,this.type=n,this.newValue=r,this.oldValue=s}toString(){return this.toJSON()}toJSON(){switch(this.type){case"added":return`Added \`${this.key}\``;case"removed":return`Removed \`${this.key}\``;case"changed":return`Changed \`${this.key}\` from \`${this.oldValue?.toString()||"-"}\` to \`${this.newValue.toString()}\``}}}class ch{constructor(t,n,r,s){this.key=t,this.value=n,this.hash=r,this.props=s}toString(){return this.props?`{${Object.keys(this.props).join(",")}}`:JSON.stringify(this.value)}toJSON(){const t=this.key||".";return this.props?`${t}({${Object.keys(this.props).join(",")}})`:`${t}(${this.value})`}}function iy(e,t){const n={...e};for(const r of t)delete n[r];return n}function bu(e,t,n){typeof t=="string"&&(t=t.split(".").map(s=>{const o=Number(s);return Number.isNaN(o)?s:o}));let r=e;for(const s of t){if(r==null)return n;r=r[s]}return r!==void 0?r:n}function ak(e){const t=Number.parseFloat(e);return Number.isNaN(t)?e:t}function $a(e,t){return!e&&!t?"":[...Array.isArray(e)?e:[e],t].filter(Boolean)}const[lk]=gr("UTheme","RootContext"),ck={defaults:R(()=>({}))};function uk(e=ck){return lk(e)}function fk(e){return e.replace(/-(\w)/g,(t,n)=>n.toUpperCase())}function dk(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function pk(e,t){return!e||!e.props?!1:e.props[fk(t)]!==void 0||e.props[dk(t)]!==void 0}function Wn(e,t){const n=lt(),{defaults:r}=uk(),s=vt();return new Proxy(t,{get(o,i,a){if(i==="__v_isReactive")return!0;if(i==="__v_raw")return o;const l=Reflect.get(o,i,a);if(typeof i!="string")return l;const c=e.includes(".")?bu(r.value,e):r.value[e];if(i==="ui"){const p=c?.ui;return!l&&!p?l:Vn(l??{},p??{})}if(n&&pk(n.vnode,i))return l;const u=c?.[i];if(u!==void 0)return u;const f=n?.type?.props?.[i];return f&&Object.prototype.hasOwnProperty.call(f,"default")?l:(e.includes(".")?bu(s.ui??{},e):s.ui?.[e])?.defaultVariants?.[i]},has:(o,i)=>Reflect.has(o,i),ownKeys:o=>Reflect.ownKeys(o),getOwnPropertyDescriptor:(o,i)=>Reflect.getOwnPropertyDescriptor(o,i)})}var hk=/\s+/g,gk=e=>typeof e!="string"||!e?e:e.replace(hk," ").trim(),Na=(...e)=>{const t=[],n=r=>{if(!r&&r!==0&&r!==0n)return;if(Array.isArray(r)){for(let o=0,i=r.length;o<i;o++)n(r[o]);return}const s=typeof r;if(s==="string"||s==="number"||s==="bigint"){if(s==="number"&&r!==r)return;t.push(String(r))}else if(s==="object"){const o=Object.keys(r);for(let i=0,a=o.length;i<a;i++){const l=o[i];r[l]&&t.push(l)}}};for(let r=0,s=e.length;r<s;r++){const o=e[r];o!=null&&n(o)}return t.length>0?gk(t.join(" ")):void 0},uh=e=>e===!1?"false":e===!0?"true":e===0?"0":e,Ft=e=>{if(!e||typeof e!="object")return!0;for(const t in e)return!1;return!0},mk=(e,t)=>{if(e===t)return!0;if(!e||!t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let s=0;s<n.length;s++){const o=n[s];if(!r.includes(o)||e[o]!==t[o])return!1}return!0},yk=(e,t)=>{for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)){const r=t[n];n in e?e[n]=Na(e[n],r):e[n]=r}return e},ay=(e,t)=>{for(let n=0;n<e.length;n++){const r=e[n];Array.isArray(r)?ay(r,t):r&&t.push(r)}},ly=(...e)=>{const t=[];ay(e,t);const n=[];for(let r=0;r<t.length;r++)t[r]&&n.push(t[r]);return n},wu=(e,t)=>{const n={};for(const r in e){const s=e[r];if(r in t){const o=t[r];Array.isArray(s)||Array.isArray(o)?n[r]=ly(o,s):typeof s=="object"&&typeof o=="object"&&s&&o?n[r]=wu(s,o):n[r]=o+" "+s}else n[r]=s}for(const r in t)r in e||(n[r]=t[r]);return n},vk={twMerge:!0,twMergeConfig:{}};function bk(){let e=null,t={},n=!1;return{get cachedTwMerge(){return e},set cachedTwMerge(r){e=r},get cachedTwMergeConfig(){return t},set cachedTwMergeConfig(r){t=r},get didTwMergeConfigChange(){return n},set didTwMergeConfigChange(r){n=r},reset(){e=null,t={},n=!1}}}var rr=bk(),wk=e=>{const t=(r,s)=>{const{extend:o=null,slots:i={},variants:a={},compoundVariants:l=[],compoundSlots:c=[],defaultVariants:u={}}=r,f={...vk,...s},d=o?.base?Na(o.base,r?.base):r?.base,p=o?.variants&&!Ft(o.variants)?wu(a,o.variants):a,h=o?.defaultVariants&&!Ft(o.defaultVariants)?{...o.defaultVariants,...u}:u;!Ft(f.twMergeConfig)&&!mk(f.twMergeConfig,rr.cachedTwMergeConfig)&&(rr.didTwMergeConfigChange=!0,rr.cachedTwMergeConfig=f.twMergeConfig);const m=Ft(o?.slots),v=Ft(i)?{}:{base:Na(r?.base,m&&o?.base),...i},b=m?v:yk({...o?.slots},Ft(v)?{base:r?.base}:v),y=Ft(o?.compoundVariants)?l:ly(o?.compoundVariants,l),g=x=>{if(Ft(p)&&Ft(i)&&m)return e(d,x?.class,x?.className)(f);if(y&&!Array.isArray(y))throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof y}`);if(c&&!Array.isArray(c))throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof c}`);const S=(O,q=p,$=null,J=null)=>{const F=q[O];if(!F||Ft(F))return null;const ue=J?.[O]??x?.[O];if(ue===null)return null;const G=uh(ue);if(typeof G=="object")return null;const Ae=h?.[O],Be=G??uh(Ae);return F[Be||"false"]},k=()=>{if(!p)return null;const O=Object.keys(p),q=[];for(let $=0;$<O.length;$++){const J=S(O[$],p);J&&q.push(J)}return q},T=(O,q)=>{if(!p||typeof p!="object")return null;const $=[];for(const J in p){const F=S(J,p,O,q),ue=O==="base"&&typeof F=="string"?F:F&&F[O];ue&&$.push(ue)}return $},P={};for(const O in x){const q=x[O];q!==void 0&&(P[O]=q)}const I=(O,q)=>{const $=typeof x?.[O]=="object"?{[O]:x[O]?.initial}:{};return{...h,...P,...$,...q}},D=(O=[],q)=>{const $=[],J=O.length;for(let F=0;F<J;F++){const{class:ue,className:G,...Ae}=O[F];let Be=!0;const pt=I(null,q);for(const Ct in Ae){const Re=Ae[Ct],Oe=pt[Ct];if(Array.isArray(Re)){if(!Re.includes(Oe)){Be=!1;break}}else{if((Re==null||Re===!1)&&(Oe==null||Oe===!1))continue;if(Oe!==Re){Be=!1;break}}}Be&&(ue&&$.push(ue),G&&$.push(G))}return $},M=O=>{const q=D(y,O);if(!Array.isArray(q))return q;const $={},J=e;for(let F=0;F<q.length;F++){const ue=q[F];if(typeof ue=="string")$.base=J($.base,ue)(f);else if(typeof ue=="object")for(const G in ue)$[G]=J($[G],ue[G])(f)}return $},Y=O=>{if(c.length<1)return null;const q={},$=I(null,O);for(let J=0;J<c.length;J++){const{slots:F=[],class:ue,className:G,...Ae}=c[J];if(!Ft(Ae)){let Be=!0;for(const pt in Ae){const Ct=$[pt],Re=Ae[pt];if(Ct===void 0||(Array.isArray(Re)?!Re.includes(Ct):Re!==Ct)){Be=!1;break}}if(!Be)continue}for(let Be=0;Be<F.length;Be++){const pt=F[Be];q[pt]||(q[pt]=[]),q[pt].push([ue,G])}}return q};if(!Ft(i)||!m){const O={};if(typeof b=="object"&&!Ft(b)){const q=e;for(const $ in b)O[$]=J=>{const F=M(J),ue=Y(J);return q(b[$],T($,J),F?F[$]:void 0,ue?ue[$]:void 0,J?.class,J?.className)(f)}}return O}return e(d,k(),D(y),x?.class,x?.className)(f)},w=()=>{if(!(!p||typeof p!="object"))return Object.keys(p)};return g.variantKeys=w(),g.extend=o,g.base=d,g.slots=b,g.variants=p,g.defaultVariants=h,g.compoundSlots=c,g.compoundVariants=y,g};return{tv:t,createTV:r=>(s,o)=>t(s,o?wu(r,o):r)}};const _k=(e,t)=>{const n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},xk=(e,t)=>({classGroupId:e,validator:t}),cy=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Da="-",fh=[],Ck="arbitrary..",kk=e=>{const t=Ek(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return Sk(i);const a=i.split(Da),l=a[0]===""&&a.length>1?1:0;return uy(a,l,t)},getConflictingClassGroupIds:(i,a)=>{if(a){const l=r[i],c=n[i];return l?c?_k(c,l):l:c||fh}return n[i]||fh}}},uy=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const s=e[t],o=n.nextPart.get(s);if(o){const c=uy(e,t+1,o);if(c)return c}const i=n.validators;if(i===null)return;const a=t===0?e.join(Da):e.slice(t).join(Da),l=i.length;for(let c=0;c<l;c++){const u=i[c];if(u.validator(a))return u.classGroupId}},Sk=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?Ck+r:void 0})(),Ek=e=>{const{theme:t,classGroups:n}=e;return Ak(n,t)},Ak=(e,t)=>{const n=cy();for(const r in e){const s=e[r];zf(s,n,r,t)}return n},zf=(e,t,n,r)=>{const s=e.length;for(let o=0;o<s;o++){const i=e[o];Tk(i,t,n,r)}},Tk=(e,t,n,r)=>{if(typeof e=="string"){Pk(e,t,n);return}if(typeof e=="function"){Rk(e,t,n,r);return}Ok(e,t,n,r)},Pk=(e,t,n)=>{const r=e===""?t:fy(t,e);r.classGroupId=n},Rk=(e,t,n,r)=>{if(Ik(e)){zf(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(xk(n,e))},Ok=(e,t,n,r)=>{const s=Object.entries(e),o=s.length;for(let i=0;i<o;i++){const[a,l]=s[i];zf(l,fy(t,a),n,r)}},fy=(e,t)=>{let n=e;const r=t.split(Da),s=r.length;for(let o=0;o<s;o++){const i=r[o];let a=n.nextPart.get(i);a||(a=cy(),n.nextPart.set(i,a)),n=a}return n},Ik=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Mk=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const s=(o,i)=>{n[o]=i,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(o){let i=n[o];if(i!==void 0)return i;if((i=r[o])!==void 0)return s(o,i),i},set(o,i){o in n?n[o]=i:s(o,i)}}},_u="!",dh=":",Lk=[],ph=(e,t,n,r,s)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:s}),$k=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=s=>{const o=[];let i=0,a=0,l=0,c;const u=s.length;for(let m=0;m<u;m++){const v=s[m];if(i===0&&a===0){if(v===dh){o.push(s.slice(l,m)),l=m+1;continue}if(v==="/"){c=m;continue}}v==="["?i++:v==="]"?i--:v==="("?a++:v===")"&&a--}const f=o.length===0?s:s.slice(l);let d=f,p=!1;f.endsWith(_u)?(d=f.slice(0,-1),p=!0):f.startsWith(_u)&&(d=f.slice(1),p=!0);const h=c&&c>l?c-l:void 0;return ph(o,p,d,h)};if(t){const s=t+dh,o=r;r=i=>i.startsWith(s)?o(i.slice(s.length)):ph(Lk,!1,i,void 0,!0)}if(n){const s=r;r=o=>n({className:o,parseClassName:s})}return r},Nk=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,r)=>{t.set(n,1e6+r)}),n=>{const r=[];let s=[];for(let o=0;o<n.length;o++){const i=n[o],a=i[0]==="[",l=t.has(i);a||l?(s.length>0&&(s.sort(),r.push(...s),s=[]),r.push(i)):s.push(i)}return s.length>0&&(s.sort(),r.push(...s)),r}},Dk=e=>({cache:Mk(e.cacheSize),parseClassName:$k(e),sortModifiers:Nk(e),postfixLookupClassGroupIds:Bk(e),...kk(e)}),Bk=e=>{const t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let r=0;r<n.length;r++)t[n[r]]=!0;return t},Fk=/\s+/,jk=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s,sortModifiers:o,postfixLookupClassGroupIds:i}=t,a=[],l=e.trim().split(Fk);let c="";for(let u=l.length-1;u>=0;u-=1){const f=l[u],{isExternal:d,modifiers:p,hasImportantModifier:h,baseClassName:m,maybePostfixModifierPosition:v}=n(f);if(d){c=f+(c.length>0?" "+c:c);continue}let b=!!v,y;if(b){const k=m.substring(0,v);y=r(k);const T=y&&i[y]?r(m):void 0;T&&T!==y&&(y=T,b=!1)}else y=r(m);if(!y){if(!b){c=f+(c.length>0?" "+c:c);continue}if(y=r(m),!y){c=f+(c.length>0?" "+c:c);continue}b=!1}const g=p.length===0?"":p.length===1?p[0]:o(p).join(":"),w=h?g+_u:g,x=w+y;if(a.indexOf(x)>-1)continue;a.push(x);const S=s(y,b);for(let k=0;k<S.length;++k){const T=S[k];a.push(w+T)}c=f+(c.length>0?" "+c:c)}return c},zk=(...e)=>{let t=0,n,r,s="";for(;t<e.length;)(n=e[t++])&&(r=dy(n))&&(s&&(s+=" "),s+=r);return s},dy=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=dy(e[r]))&&(n&&(n+=" "),n+=t);return n},xu=(e,...t)=>{let n,r,s,o;const i=l=>{const c=t.reduce((u,f)=>f(u),e());return n=Dk(c),r=n.cache.get,s=n.cache.set,o=a,a(l)},a=l=>{const c=r(l);if(c)return c;const u=jk(l,n);return s(l,u),u};return o=i,(...l)=>o(zk(...l))},qk=[],gt=e=>{const t=n=>n[e]||qk;return t.isThemeGetter=!0,t},py=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,hy=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Hk=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Uk=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Vk=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Gk=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Wk=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Kk=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,br=e=>Hk.test(e),Pe=e=>!!e&&!Number.isNaN(Number(e)),Pn=e=>!!e&&Number.isInteger(Number(e)),uc=e=>e.endsWith("%")&&Pe(e.slice(0,-1)),Zn=e=>Uk.test(e),gy=()=>!0,Xk=e=>Vk.test(e)&&!Gk.test(e),qf=()=>!1,Yk=e=>Wk.test(e),Jk=e=>Kk.test(e),Zk=e=>!ae(e)&&!le(e),Qk=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),eS=e=>$r(e,vy,qf),ae=e=>py.test(e),qr=e=>$r(e,by,Xk),hh=e=>$r(e,lS,Pe),tS=e=>$r(e,_y,gy),nS=e=>$r(e,wy,qf),gh=e=>$r(e,my,qf),rS=e=>$r(e,yy,Jk),Bi=e=>$r(e,xy,Yk),le=e=>hy.test(e),ho=e=>ds(e,by),sS=e=>ds(e,wy),mh=e=>ds(e,my),oS=e=>ds(e,vy),iS=e=>ds(e,yy),Fi=e=>ds(e,xy,!0),aS=e=>ds(e,_y,!0),$r=(e,t,n)=>{const r=py.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},ds=(e,t,n=!1)=>{const r=hy.exec(e);return r?r[1]?t(r[1]):n:!1},my=e=>e==="position"||e==="percentage",yy=e=>e==="image"||e==="url",vy=e=>e==="length"||e==="size"||e==="bg-size",by=e=>e==="length",lS=e=>e==="number",wy=e=>e==="family-name",_y=e=>e==="number"||e==="weight",xy=e=>e==="shadow",Cu=()=>{const e=gt("color"),t=gt("font"),n=gt("text"),r=gt("font-weight"),s=gt("tracking"),o=gt("leading"),i=gt("breakpoint"),a=gt("container"),l=gt("spacing"),c=gt("radius"),u=gt("shadow"),f=gt("inset-shadow"),d=gt("text-shadow"),p=gt("drop-shadow"),h=gt("blur"),m=gt("perspective"),v=gt("aspect"),b=gt("ease"),y=gt("animate"),g=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],x=()=>[...w(),le,ae],S=()=>["auto","hidden","clip","visible","scroll"],k=()=>["auto","contain","none"],T=()=>[le,ae,l],P=()=>[br,"full","auto",...T()],I=()=>[Pn,"none","subgrid",le,ae],D=()=>["auto",{span:["full",Pn,le,ae]},Pn,le,ae],M=()=>[Pn,"auto",le,ae],Y=()=>["auto","min","max","fr",le,ae],O=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],q=()=>["start","end","center","stretch","center-safe","end-safe"],$=()=>["auto",...T()],J=()=>[br,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...T()],F=()=>[br,"screen","full","dvw","lvw","svw","min","max","fit",...T()],ue=()=>[br,"screen","full","lh","dvh","lvh","svh","min","max","fit",...T()],G=()=>[e,le,ae],Ae=()=>[...w(),mh,gh,{position:[le,ae]}],Be=()=>["no-repeat",{repeat:["","x","y","space","round"]}],pt=()=>["auto","cover","contain",oS,eS,{size:[le,ae]}],Ct=()=>[uc,ho,qr],Re=()=>["","none","full",c,le,ae],Oe=()=>["",Pe,ho,qr],j=()=>["solid","dashed","dotted","double"],ie=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],X=()=>[Pe,uc,mh,gh],fe=()=>["","none",h,le,ae],Ce=()=>["none",Pe,le,ae],qe=()=>["none",Pe,le,ae],C=()=>[Pe,le,ae],E=()=>[br,"full",...T()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Zn],breakpoint:[Zn],color:[gy],container:[Zn],"drop-shadow":[Zn],ease:["in","out","in-out"],font:[Zk],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Zn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Zn],shadow:[Zn],spacing:["px",Pe],text:[Zn],"text-shadow":[Zn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",br,ae,le,v]}],container:["container"],"container-type":[{"@container":["","normal","size",le,ae]}],"container-named":[Qk],columns:[{columns:[Pe,ae,le,a]}],"break-after":[{"break-after":g()}],"break-before":[{"break-before":g()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:k()}],"overscroll-x":[{"overscroll-x":k()}],"overscroll-y":[{"overscroll-y":k()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:P()}],"inset-x":[{"inset-x":P()}],"inset-y":[{"inset-y":P()}],start:[{"inset-s":P(),start:P()}],end:[{"inset-e":P(),end:P()}],"inset-bs":[{"inset-bs":P()}],"inset-be":[{"inset-be":P()}],top:[{top:P()}],right:[{right:P()}],bottom:[{bottom:P()}],left:[{left:P()}],visibility:["visible","invisible","collapse"],z:[{z:[Pn,"auto",le,ae]}],basis:[{basis:[br,"full","auto",a,...T()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Pe,br,"auto","initial","none",ae]}],grow:[{grow:["",Pe,le,ae]}],shrink:[{shrink:["",Pe,le,ae]}],order:[{order:[Pn,"first","last","none",le,ae]}],"grid-cols":[{"grid-cols":I()}],"col-start-end":[{col:D()}],"col-start":[{"col-start":M()}],"col-end":[{"col-end":M()}],"grid-rows":[{"grid-rows":I()}],"row-start-end":[{row:D()}],"row-start":[{"row-start":M()}],"row-end":[{"row-end":M()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Y()}],"auto-rows":[{"auto-rows":Y()}],gap:[{gap:T()}],"gap-x":[{"gap-x":T()}],"gap-y":[{"gap-y":T()}],"justify-content":[{justify:[...O(),"normal"]}],"justify-items":[{"justify-items":[...q(),"normal"]}],"justify-self":[{"justify-self":["auto",...q()]}],"align-content":[{content:["normal",...O()]}],"align-items":[{items:[...q(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...q(),{baseline:["","last"]}]}],"place-content":[{"place-content":O()}],"place-items":[{"place-items":[...q(),"baseline"]}],"place-self":[{"place-self":["auto",...q()]}],p:[{p:T()}],px:[{px:T()}],py:[{py:T()}],ps:[{ps:T()}],pe:[{pe:T()}],pbs:[{pbs:T()}],pbe:[{pbe:T()}],pt:[{pt:T()}],pr:[{pr:T()}],pb:[{pb:T()}],pl:[{pl:T()}],m:[{m:$()}],mx:[{mx:$()}],my:[{my:$()}],ms:[{ms:$()}],me:[{me:$()}],mbs:[{mbs:$()}],mbe:[{mbe:$()}],mt:[{mt:$()}],mr:[{mr:$()}],mb:[{mb:$()}],ml:[{ml:$()}],"space-x":[{"space-x":T()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":T()}],"space-y-reverse":["space-y-reverse"],size:[{size:J()}],"inline-size":[{inline:["auto",...F()]}],"min-inline-size":[{"min-inline":["auto",...F()]}],"max-inline-size":[{"max-inline":["none",...F()]}],"block-size":[{block:["auto",...ue()]}],"min-block-size":[{"min-block":["auto",...ue()]}],"max-block-size":[{"max-block":["none",...ue()]}],w:[{w:[a,"screen",...J()]}],"min-w":[{"min-w":[a,"screen","none",...J()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[i]},...J()]}],h:[{h:["screen","lh",...J()]}],"min-h":[{"min-h":["screen","lh","none",...J()]}],"max-h":[{"max-h":["screen","lh",...J()]}],"font-size":[{text:["base",n,ho,qr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,aS,tS]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",uc,ae]}],"font-family":[{font:[sS,nS,t]}],"font-features":[{"font-features":[ae]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[s,le,ae]}],"line-clamp":[{"line-clamp":[Pe,"none",le,hh]}],leading:[{leading:[o,...T()]}],"list-image":[{"list-image":["none",le,ae]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",le,ae]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:G()}],"text-color":[{text:G()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...j(),"wavy"]}],"text-decoration-thickness":[{decoration:[Pe,"from-font","auto",le,qr]}],"text-decoration-color":[{decoration:G()}],"underline-offset":[{"underline-offset":[Pe,"auto",le,ae]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:T()}],"tab-size":[{tab:[Pn,le,ae]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",le,ae]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",le,ae]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Ae()}],"bg-repeat":[{bg:Be()}],"bg-size":[{bg:pt()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Pn,le,ae],radial:["",le,ae],conic:[Pn,le,ae]},iS,rS]}],"bg-color":[{bg:G()}],"gradient-from-pos":[{from:Ct()}],"gradient-via-pos":[{via:Ct()}],"gradient-to-pos":[{to:Ct()}],"gradient-from":[{from:G()}],"gradient-via":[{via:G()}],"gradient-to":[{to:G()}],rounded:[{rounded:Re()}],"rounded-s":[{"rounded-s":Re()}],"rounded-e":[{"rounded-e":Re()}],"rounded-t":[{"rounded-t":Re()}],"rounded-r":[{"rounded-r":Re()}],"rounded-b":[{"rounded-b":Re()}],"rounded-l":[{"rounded-l":Re()}],"rounded-ss":[{"rounded-ss":Re()}],"rounded-se":[{"rounded-se":Re()}],"rounded-ee":[{"rounded-ee":Re()}],"rounded-es":[{"rounded-es":Re()}],"rounded-tl":[{"rounded-tl":Re()}],"rounded-tr":[{"rounded-tr":Re()}],"rounded-br":[{"rounded-br":Re()}],"rounded-bl":[{"rounded-bl":Re()}],"border-w":[{border:Oe()}],"border-w-x":[{"border-x":Oe()}],"border-w-y":[{"border-y":Oe()}],"border-w-s":[{"border-s":Oe()}],"border-w-e":[{"border-e":Oe()}],"border-w-bs":[{"border-bs":Oe()}],"border-w-be":[{"border-be":Oe()}],"border-w-t":[{"border-t":Oe()}],"border-w-r":[{"border-r":Oe()}],"border-w-b":[{"border-b":Oe()}],"border-w-l":[{"border-l":Oe()}],"divide-x":[{"divide-x":Oe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Oe()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...j(),"hidden","none"]}],"divide-style":[{divide:[...j(),"hidden","none"]}],"border-color":[{border:G()}],"border-color-x":[{"border-x":G()}],"border-color-y":[{"border-y":G()}],"border-color-s":[{"border-s":G()}],"border-color-e":[{"border-e":G()}],"border-color-bs":[{"border-bs":G()}],"border-color-be":[{"border-be":G()}],"border-color-t":[{"border-t":G()}],"border-color-r":[{"border-r":G()}],"border-color-b":[{"border-b":G()}],"border-color-l":[{"border-l":G()}],"divide-color":[{divide:G()}],"outline-style":[{outline:[...j(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Pe,le,ae]}],"outline-w":[{outline:["",Pe,ho,qr]}],"outline-color":[{outline:G()}],shadow:[{shadow:["","none",u,Fi,Bi]}],"shadow-color":[{shadow:G()}],"inset-shadow":[{"inset-shadow":["none",f,Fi,Bi]}],"inset-shadow-color":[{"inset-shadow":G()}],"ring-w":[{ring:Oe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:G()}],"ring-offset-w":[{"ring-offset":[Pe,qr]}],"ring-offset-color":[{"ring-offset":G()}],"inset-ring-w":[{"inset-ring":Oe()}],"inset-ring-color":[{"inset-ring":G()}],"text-shadow":[{"text-shadow":["none",d,Fi,Bi]}],"text-shadow-color":[{"text-shadow":G()}],opacity:[{opacity:[Pe,le,ae]}],"mix-blend":[{"mix-blend":[...ie(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ie()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Pe]}],"mask-image-linear-from-pos":[{"mask-linear-from":X()}],"mask-image-linear-to-pos":[{"mask-linear-to":X()}],"mask-image-linear-from-color":[{"mask-linear-from":G()}],"mask-image-linear-to-color":[{"mask-linear-to":G()}],"mask-image-t-from-pos":[{"mask-t-from":X()}],"mask-image-t-to-pos":[{"mask-t-to":X()}],"mask-image-t-from-color":[{"mask-t-from":G()}],"mask-image-t-to-color":[{"mask-t-to":G()}],"mask-image-r-from-pos":[{"mask-r-from":X()}],"mask-image-r-to-pos":[{"mask-r-to":X()}],"mask-image-r-from-color":[{"mask-r-from":G()}],"mask-image-r-to-color":[{"mask-r-to":G()}],"mask-image-b-from-pos":[{"mask-b-from":X()}],"mask-image-b-to-pos":[{"mask-b-to":X()}],"mask-image-b-from-color":[{"mask-b-from":G()}],"mask-image-b-to-color":[{"mask-b-to":G()}],"mask-image-l-from-pos":[{"mask-l-from":X()}],"mask-image-l-to-pos":[{"mask-l-to":X()}],"mask-image-l-from-color":[{"mask-l-from":G()}],"mask-image-l-to-color":[{"mask-l-to":G()}],"mask-image-x-from-pos":[{"mask-x-from":X()}],"mask-image-x-to-pos":[{"mask-x-to":X()}],"mask-image-x-from-color":[{"mask-x-from":G()}],"mask-image-x-to-color":[{"mask-x-to":G()}],"mask-image-y-from-pos":[{"mask-y-from":X()}],"mask-image-y-to-pos":[{"mask-y-to":X()}],"mask-image-y-from-color":[{"mask-y-from":G()}],"mask-image-y-to-color":[{"mask-y-to":G()}],"mask-image-radial":[{"mask-radial":[le,ae]}],"mask-image-radial-from-pos":[{"mask-radial-from":X()}],"mask-image-radial-to-pos":[{"mask-radial-to":X()}],"mask-image-radial-from-color":[{"mask-radial-from":G()}],"mask-image-radial-to-color":[{"mask-radial-to":G()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":w()}],"mask-image-conic-pos":[{"mask-conic":[Pe]}],"mask-image-conic-from-pos":[{"mask-conic-from":X()}],"mask-image-conic-to-pos":[{"mask-conic-to":X()}],"mask-image-conic-from-color":[{"mask-conic-from":G()}],"mask-image-conic-to-color":[{"mask-conic-to":G()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Ae()}],"mask-repeat":[{mask:Be()}],"mask-size":[{mask:pt()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",le,ae]}],filter:[{filter:["","none",le,ae]}],blur:[{blur:fe()}],brightness:[{brightness:[Pe,le,ae]}],contrast:[{contrast:[Pe,le,ae]}],"drop-shadow":[{"drop-shadow":["","none",p,Fi,Bi]}],"drop-shadow-color":[{"drop-shadow":G()}],grayscale:[{grayscale:["",Pe,le,ae]}],"hue-rotate":[{"hue-rotate":[Pe,le,ae]}],invert:[{invert:["",Pe,le,ae]}],saturate:[{saturate:[Pe,le,ae]}],sepia:[{sepia:["",Pe,le,ae]}],"backdrop-filter":[{"backdrop-filter":["","none",le,ae]}],"backdrop-blur":[{"backdrop-blur":fe()}],"backdrop-brightness":[{"backdrop-brightness":[Pe,le,ae]}],"backdrop-contrast":[{"backdrop-contrast":[Pe,le,ae]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Pe,le,ae]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Pe,le,ae]}],"backdrop-invert":[{"backdrop-invert":["",Pe,le,ae]}],"backdrop-opacity":[{"backdrop-opacity":[Pe,le,ae]}],"backdrop-saturate":[{"backdrop-saturate":[Pe,le,ae]}],"backdrop-sepia":[{"backdrop-sepia":["",Pe,le,ae]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":T()}],"border-spacing-x":[{"border-spacing-x":T()}],"border-spacing-y":[{"border-spacing-y":T()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",le,ae]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Pe,"initial",le,ae]}],ease:[{ease:["linear","initial",b,le,ae]}],delay:[{delay:[Pe,le,ae]}],animate:[{animate:["none",y,le,ae]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,le,ae]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:Ce()}],"rotate-x":[{"rotate-x":Ce()}],"rotate-y":[{"rotate-y":Ce()}],"rotate-z":[{"rotate-z":Ce()}],scale:[{scale:qe()}],"scale-x":[{"scale-x":qe()}],"scale-y":[{"scale-y":qe()}],"scale-z":[{"scale-z":qe()}],"scale-3d":["scale-3d"],skew:[{skew:C()}],"skew-x":[{"skew-x":C()}],"skew-y":[{"skew-y":C()}],transform:[{transform:[le,ae,"","none","gpu","cpu"]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:E()}],"translate-x":[{"translate-x":E()}],"translate-y":[{"translate-y":E()}],"translate-z":[{"translate-z":E()}],"translate-none":["translate-none"],zoom:[{zoom:[Pn,le,ae]}],accent:[{accent:G()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:G()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",le,ae]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":G()}],"scrollbar-track-color":[{"scrollbar-track":G()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":T()}],"scroll-mx":[{"scroll-mx":T()}],"scroll-my":[{"scroll-my":T()}],"scroll-ms":[{"scroll-ms":T()}],"scroll-me":[{"scroll-me":T()}],"scroll-mbs":[{"scroll-mbs":T()}],"scroll-mbe":[{"scroll-mbe":T()}],"scroll-mt":[{"scroll-mt":T()}],"scroll-mr":[{"scroll-mr":T()}],"scroll-mb":[{"scroll-mb":T()}],"scroll-ml":[{"scroll-ml":T()}],"scroll-p":[{"scroll-p":T()}],"scroll-px":[{"scroll-px":T()}],"scroll-py":[{"scroll-py":T()}],"scroll-ps":[{"scroll-ps":T()}],"scroll-pe":[{"scroll-pe":T()}],"scroll-pbs":[{"scroll-pbs":T()}],"scroll-pbe":[{"scroll-pbe":T()}],"scroll-pt":[{"scroll-pt":T()}],"scroll-pr":[{"scroll-pr":T()}],"scroll-pb":[{"scroll-pb":T()}],"scroll-pl":[{"scroll-pl":T()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",le,ae]}],fill:[{fill:["none",...G()]}],"stroke-w":[{stroke:[Pe,ho,qr,hh]}],stroke:[{stroke:["none",...G()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},cS=(e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:s={},override:o={}})=>(Cs(e,"cacheSize",t),Cs(e,"prefix",n),Cs(e,"experimentalParseClassName",r),ji(e.theme,o.theme),ji(e.classGroups,o.classGroups),ji(e.conflictingClassGroups,o.conflictingClassGroups),ji(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),Cs(e,"postfixLookupClassGroups",o.postfixLookupClassGroups),Cs(e,"orderSensitiveModifiers",o.orderSensitiveModifiers),zi(e.theme,s.theme),zi(e.classGroups,s.classGroups),zi(e.conflictingClassGroups,s.conflictingClassGroups),zi(e.conflictingClassGroupModifiers,s.conflictingClassGroupModifiers),ku(e,s,"postfixLookupClassGroups"),ku(e,s,"orderSensitiveModifiers"),e),Cs=(e,t,n)=>{n!==void 0&&(e[t]=n)},ji=(e,t)=>{if(t)for(const n in t)Cs(e,n,t[n])},zi=(e,t)=>{if(t)for(const n in t)ku(e,t,n)},ku=(e,t,n)=>{const r=t[n];r!==void 0&&(e[n]=e[n]?e[n].concat(r):r)},uS=(e,...t)=>typeof e=="function"?xu(Cu,e,...t):xu(()=>cS(Cu(),e),...t),fS=xu(Cu);var dS=e=>Ft(e)?fS:uS({...e,extend:{theme:e.theme,classGroups:e.classGroups,conflictingClassGroupModifiers:e.conflictingClassGroupModifiers,conflictingClassGroups:e.conflictingClassGroups,...e.extend}}),pS=(e,t)=>{const n=Na(e);return!n||!(t?.twMerge??!0)?n:((!rr.cachedTwMerge||rr.didTwMergeConfigChange)&&(rr.didTwMergeConfigChange=!1,rr.cachedTwMerge=dS(rr.cachedTwMergeConfig)),rr.cachedTwMerge(n)||void 0)},Cy=(...e)=>t=>pS(e,t),{createTV:hS}=wk(Cy);const gS=Em,ky=gS.ui?.tv,mS=hS(ky);function Zo(e){if(typeof e=="function")return e;if(Array.isArray(e))for(let t=e.length-1;t>=0;t--){const n=Zo(e[t]);if(n)return n}}function Su(e){return Array.isArray(e)?e.flatMap(t=>Su(t)):typeof e=="function"?[]:[e]}function Sy(e,t,n){return Cy(e(n()),...Su(t.class),...Su(t.className))(ky)??""}function yS(e,t){return new Proxy(e,{get(n,r){const s=n[r];return typeof s!="function"?s:(o={})=>{const i=Zo(o.class)??Zo(o.className)??t?.[r];return i?Sy(i,o,()=>s({...o,class:void 0,className:void 0})):s(o)}}})}function vS(e){if(!e||typeof e!="object")return{config:e};let t=e,n;typeof e.base=="function"&&(n={base:e.base},t={...t,base:""});const r=e.slots;if(r&&typeof r=="object"){const s=Object.entries(r).filter(([,o])=>typeof o=="function");if(s.length){n??={};const o={...r};for(const[i,a]of s)n[i]=a,o[i]="";t={...t,slots:o}}}return{config:t,directives:n}}const nt=(e=>{const{config:t,directives:n}=vS(e),r=mS(t);return new Proxy(r,{apply(s,o,i){const a=Reflect.apply(s,o,i);if(a&&typeof a=="object")return yS(a,n);if(typeof a=="string"){const l=i[0]??{},c=Zo(l.class)??Zo(l.className)??n?.base;if(c)return Sy(c,l,()=>Reflect.apply(s,o,[{...l,class:void 0,className:void 0}]))}return a}})}),bS="img",yh=Symbol("nuxt-ui.avatar-group");function Ey(e){const t=We(yh,void 0),n=R(()=>e.size??t?.value.size),r=R(()=>e.color??t?.value.color);return qt(yh,R(()=>({size:n.value,color:r.value}))),{size:n,color:r}}const wS={slots:{root:"relative inline-flex items-center justify-center shrink-0",base:"rounded-full ring ring-bg flex items-center justify-center text-inverted font-medium whitespace-nowrap"},variants:{color:{primary:"bg-primary",secondary:"bg-secondary",success:"bg-success",info:"bg-info",warning:"bg-warning",error:"bg-error",neutral:"bg-inverted"},size:{"3xs":"h-[4px] min-w-[4px] text-[4px]","2xs":"h-[5px] min-w-[5px] text-[5px]",xs:"h-[6px] min-w-[6px] text-[6px]",sm:"h-[7px] min-w-[7px] text-[7px]",md:"h-[8px] min-w-[8px] text-[8px]",lg:"h-[9px] min-w-[9px] text-[9px]",xl:"h-[10px] min-w-[10px] text-[10px]","2xl":"h-[11px] min-w-[11px] text-[11px]","3xl":"h-[12px] min-w-[12px] text-[12px]"},position:{"top-right":"top-0 right-0","bottom-right":"bottom-0 right-0","top-left":"top-0 left-0","bottom-left":"bottom-0 left-0"},inset:{false:""},standalone:{false:"absolute"}},compoundVariants:[{position:"top-right",inset:!1,class:"-translate-y-1/2 translate-x-1/2 transform"},{position:"bottom-right",inset:!1,class:"translate-y-1/2 translate-x-1/2 transform"},{position:"top-left",inset:!1,class:"-translate-y-1/2 -translate-x-1/2 transform"},{position:"bottom-left",inset:!1,class:"translate-y-1/2 -translate-x-1/2 transform"}],defaultVariants:{size:"md",color:"primary",position:"top-right"}},_S=Object.assign({inheritAttrs:!1},{__name:"UChip",props:Mc({as:{type:null,required:!1},text:{type:[String,Number],required:!1},color:{type:null,required:!1},size:{type:null,required:!1},position:{type:null,required:!1},inset:{type:Boolean,required:!1,default:!1},standalone:{type:Boolean,required:!1,default:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},{show:{type:Boolean,default:!0},showModifiers:{}}),emits:["update:show"],setup(e){const t=e,n=Wn("chip",t),r=y0(e,"show",{type:Boolean,default:!0}),{size:s}=Ey(t),o=vt(),i=R(()=>nt({extend:nt(wS),...o.ui?.chip||{}})({color:n.color,size:s.value??n.size,position:n.position,inset:n.inset,standalone:n.standalone}));return(a,l)=>(N(),W(_(st),{as:_(n).as,"data-slot":"root",class:Te(i.value.root({class:[_(n).ui?.root,_(n).class]}))},{default:Z(()=>[re(_(is),Ht(en(a.$attrs)),{default:Z(()=>[ce(a.$slots,"default")]),_:3},16),r.value?(N(),Ee("span",{key:0,"data-slot":"base",class:Te(i.value.base({class:_(n).ui?.base}))},[ce(a.$slots,"content",{},()=>[Dt(Qe(_(n).text),1)])],2)):xe("",!0)]),_:3},8,["as","class"]))}}),xS={slots:{root:"inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle",image:"h-full w-full rounded-[inherit] object-cover",fallback:"font-medium truncate",icon:"shrink-0"},variants:{color:{primary:{root:"bg-primary/10",fallback:"text-primary",icon:"text-primary"},secondary:{root:"bg-secondary/10",fallback:"text-secondary",icon:"text-secondary"},success:{root:"bg-success/10",fallback:"text-success",icon:"text-success"},info:{root:"bg-info/10",fallback:"text-info",icon:"text-info"},warning:{root:"bg-warning/10",fallback:"text-warning",icon:"text-warning"},error:{root:"bg-error/10",fallback:"text-error",icon:"text-error"},neutral:{root:"bg-elevated",fallback:"text-muted",icon:"text-muted"}},size:{"3xs":{root:"size-4 text-[8px]"},"2xs":{root:"size-5 text-[10px]"},xs:{root:"size-6 text-xs"},sm:{root:"size-7 text-sm"},md:{root:"size-8 text-base"},lg:{root:"size-9 text-lg"},xl:{root:"size-10 text-xl"},"2xl":{root:"size-11 text-[22px]"},"3xl":{root:"size-12 text-2xl"}}},defaultVariants:{size:"md",color:"neutral"}},El=Object.assign({inheritAttrs:!1},{__name:"UAvatar",props:{as:{type:null,required:!1},src:{type:String,required:!1},alt:{type:String,required:!1},icon:{type:null,required:!1},text:{type:String,required:!1},size:{type:null,required:!1},color:{type:null,required:!1},chip:{type:[Boolean,Object],required:!1},class:{type:null,required:!1},style:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const t=e,n=Wn("avatar",t),r=R(()=>typeof n.as=="string"||typeof n.as?.render=="function"?{root:n.as}:Vn(n.as,{root:"span"})),s=R(()=>n.text||(n.alt||"").split(" ").map(p=>p.charAt(0)).join("").substring(0,2)),o=vt(),{size:i,color:a}=Ey(t),l=R(()=>nt({extend:nt(xS),...o.ui?.avatar||{}})({size:i.value??n.size,color:a.value??n.color})),c=R(()=>l.value.root({class:[n.ui?.root,n.class]})),u=R(()=>{const p=(c.value||"").split(" ").find(h=>/^size-\d+$/.test(h));if(p){const h=Number.parseFloat(p.split("-")[1]??"");if(!Number.isNaN(h))return h*4}return null}),f=Q(!1);Ne(()=>n.src,()=>{f.value&&(f.value=!1)});function d(){f.value=!0}return(p,h)=>(N(),W(Ln(_(n).chip?_S:_(st)),be({as:r.value.root},_(n).chip?typeof _(n).chip=="object"?{inset:!0,..._(n).chip}:{inset:!0}:{},{"data-slot":"root",class:c.value,style:_(n).style}),{default:Z(()=>[_(n).src&&!f.value?(N(),W(Ln(r.value.img||_(bS)),be({key:0,src:_(n).src,alt:_(n).alt,width:u.value,height:u.value},p.$attrs,{"data-slot":"image",class:l.value.image({class:_(n).ui?.image}),onError:d}),null,16,["src","alt","width","height","class"])):(N(),W(_(is),Ht(be({key:1},p.$attrs)),{default:Z(()=>[ce(p.$slots,"default",{},()=>[_(n).icon?(N(),W(En,{key:0,name:_(n).icon,"data-slot":"icon",class:Te(l.value.icon({class:_(n).ui?.icon}))},null,8,["name","class"])):(N(),Ee("span",{key:1,"data-slot":"fallback",class:Te(l.value.fallback({class:_(n).ui?.fallback}))},Qe(s.value||" "),3))])]),_:3},16))]),_:3},16,["as","class","style"]))}}),CS={slots:{base:"font-medium inline-flex items-center",label:"truncate",leadingIcon:"shrink-0",leadingAvatar:"shrink-0",leadingAvatarSize:"",trailingIcon:"shrink-0"},variants:{fieldGroup:{horizontal:"not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none focus-visible:z-[1]",vertical:"not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]"},color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},variant:{solid:"",outline:"",soft:"",subtle:""},size:{xs:{base:"text-[8px]/3 px-1 py-0.5 gap-1 rounded-sm",leadingIcon:"size-3",leadingAvatarSize:"3xs",trailingIcon:"size-3"},sm:{base:"text-[10px]/3 px-1.5 py-1 gap-1 rounded-sm",leadingIcon:"size-3",leadingAvatarSize:"3xs",trailingIcon:"size-3"},md:{base:"text-xs px-2 py-1 gap-1 rounded-md",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4"},lg:{base:"text-sm px-2 py-1 gap-1.5 rounded-md",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5"},xl:{base:"text-base px-2.5 py-1 gap-1.5 rounded-md",leadingIcon:"size-6",leadingAvatarSize:"2xs",trailingIcon:"size-6"}},square:{true:""}},compoundVariants:[{color:"primary",variant:"solid",class:"bg-primary text-inverted"},{color:"secondary",variant:"solid",class:"bg-secondary text-inverted"},{color:"success",variant:"solid",class:"bg-success text-inverted"},{color:"info",variant:"solid",class:"bg-info text-inverted"},{color:"warning",variant:"solid",class:"bg-warning text-inverted"},{color:"error",variant:"solid",class:"bg-error text-inverted"},{color:"primary",variant:"outline",class:"text-primary ring ring-inset ring-primary/50"},{color:"secondary",variant:"outline",class:"text-secondary ring ring-inset ring-secondary/50"},{color:"success",variant:"outline",class:"text-success ring ring-inset ring-success/50"},{color:"info",variant:"outline",class:"text-info ring ring-inset ring-info/50"},{color:"warning",variant:"outline",class:"text-warning ring ring-inset ring-warning/50"},{color:"error",variant:"outline",class:"text-error ring ring-inset ring-error/50"},{color:"primary",variant:"soft",class:"bg-primary/10 text-primary"},{color:"secondary",variant:"soft",class:"bg-secondary/10 text-secondary"},{color:"success",variant:"soft",class:"bg-success/10 text-success"},{color:"info",variant:"soft",class:"bg-info/10 text-info"},{color:"warning",variant:"soft",class:"bg-warning/10 text-warning"},{color:"error",variant:"soft",class:"bg-error/10 text-error"},{color:"primary",variant:"subtle",class:"bg-primary/10 text-primary ring ring-inset ring-primary/25"},{color:"secondary",variant:"subtle",class:"bg-secondary/10 text-secondary ring ring-inset ring-secondary/25"},{color:"success",variant:"subtle",class:"bg-success/10 text-success ring ring-inset ring-success/25"},{color:"info",variant:"subtle",class:"bg-info/10 text-info ring ring-inset ring-info/25"},{color:"warning",variant:"subtle",class:"bg-warning/10 text-warning ring ring-inset ring-warning/25"},{color:"error",variant:"subtle",class:"bg-error/10 text-error ring ring-inset ring-error/25"},{color:"neutral",variant:"solid",class:"text-inverted bg-inverted"},{color:"neutral",variant:"outline",class:"ring ring-inset ring-accented text-default bg-default"},{color:"neutral",variant:"soft",class:"text-default bg-elevated"},{color:"neutral",variant:"subtle",class:"ring ring-inset ring-accented text-default bg-elevated"},{size:"xs",square:!0,class:"p-0.5"},{size:"sm",square:!0,class:"p-1"},{size:"md",square:!0,class:"p-1"},{size:"lg",square:!0,class:"p-1"},{size:"xl",square:!0,class:"p-1"}],defaultVariants:{color:"primary",variant:"solid",size:"md"}},kS={__name:"UBadge",props:{as:{type:null,required:!1,default:"span"},label:{type:[String,Number],required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},square:{type:Boolean,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:null,required:!1},trailing:{type:Boolean,required:!1},trailingIcon:{type:null,required:!1}},setup(e){const t=e,n=Xs(),r=Wn("badge",t),s=vt(),{orientation:o,size:i}=Ff(t),{isLeading:a,isTrailing:l,leadingIconName:c,trailingIconName:u}=jf(r),f=R(()=>nt({extend:nt(CS),...s.ui?.badge||{}})({color:r.color,variant:r.variant,size:i.value??r.size,square:r.square||!n.default&&!r.label,fieldGroup:o.value}));return(d,p)=>(N(),W(_(st),{as:_(r).as,"data-slot":"base",class:Te(f.value.base({class:[_(r).ui?.base,_(r).class]}))},{default:Z(()=>[ce(d.$slots,"leading",{ui:f.value},()=>[_(a)&&_(c)?(N(),W(En,{key:0,name:_(c),"data-slot":"leadingIcon",class:Te(f.value.leadingIcon({class:_(r).ui?.leadingIcon}))},null,8,["name","class"])):_(r).avatar?(N(),W(El,be({key:1,size:_(r).ui?.leadingAvatarSize||f.value.leadingAvatarSize()},_(r).avatar,{"data-slot":"leadingAvatar",class:f.value.leadingAvatar({class:_(r).ui?.leadingAvatar})}),null,16,["size","class"])):xe("",!0)]),ce(d.$slots,"default",{ui:f.value},()=>[_(r).label!==void 0&&_(r).label!==null?(N(),Ee("span",{key:0,"data-slot":"label",class:Te(f.value.label({class:_(r).ui?.label}))},Qe(_(r).label),3)):xe("",!0)]),ce(d.$slots,"trailing",{ui:f.value},()=>[_(l)&&_(u)?(N(),W(En,{key:0,name:_(u),"data-slot":"trailingIcon",class:Te(f.value.trailingIcon({class:_(r).ui?.trailingIcon}))},null,8,["name","class"])):xe("",!0)])]),_:3},8,["as","class"]))}};function gi(e,t){const n=t?Rm(t):{};return R(()=>{const r=Xe(e)?e.value:e,s={...n};for(const o in r){const i=r[o];i!==void 0&&(s[o]=i)}return s})}const Ay=Symbol("nuxt-ui.portal-target");function Ty(e){const t=We(Ay,void 0),n=R(()=>e.value===!0?t?.value:e.value),r=R(()=>typeof n.value=="boolean"?!n.value:!1),s=R(()=>typeof n.value=="boolean"?"body":n.value);return R(()=>({to:s.value,disabled:r.value}))}const qi={meta:"",ctrl:"",alt:"",win:"⊞",command:"⌘",shift:"⇧",control:"⌃",option:"⌥",enter:"↵",delete:"⌦",backspace:"⌫",escape:"Esc",tab:"⇥",capslock:"⇪",arrowup:"↑",arrowright:"→",arrowdown:"↓",arrowleft:"←",pageup:"⇞",pagedown:"⇟",home:"↖",end:"↘"},SS=()=>{const e=R(()=>navigator&&navigator.userAgent&&navigator.userAgent.match(/Macintosh;/)),t=xt({meta:" ",alt:" ",ctrl:" "});It(()=>{t.meta=e.value?qi.command:"Ctrl",t.ctrl=e.value?qi.control:"Ctrl",t.alt=e.value?qi.option:"Alt"});function n(r){if(r)return["meta","alt","ctrl"].includes(r)?t[r]:qi[r]||r}return{macOS:e,getKbdKey:n}},ES=pf(SS),AS={base:"inline-flex items-center justify-center px-1 rounded-sm font-medium font-sans uppercase",variants:{color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},variant:{solid:"",outline:"",soft:"",subtle:""},size:{sm:"h-4 min-w-[16px] text-[10px]",md:"h-5 min-w-[20px] text-[11px]",lg:"h-6 min-w-[24px] text-[12px]"}},compoundVariants:[{color:"primary",variant:"solid",class:"text-inverted bg-primary"},{color:"secondary",variant:"solid",class:"text-inverted bg-secondary"},{color:"success",variant:"solid",class:"text-inverted bg-success"},{color:"info",variant:"solid",class:"text-inverted bg-info"},{color:"warning",variant:"solid",class:"text-inverted bg-warning"},{color:"error",variant:"solid",class:"text-inverted bg-error"},{color:"primary",variant:"outline",class:"ring ring-inset ring-primary/50 text-primary"},{color:"secondary",variant:"outline",class:"ring ring-inset ring-secondary/50 text-secondary"},{color:"success",variant:"outline",class:"ring ring-inset ring-success/50 text-success"},{color:"info",variant:"outline",class:"ring ring-inset ring-info/50 text-info"},{color:"warning",variant:"outline",class:"ring ring-inset ring-warning/50 text-warning"},{color:"error",variant:"outline",class:"ring ring-inset ring-error/50 text-error"},{color:"primary",variant:"soft",class:"text-primary bg-primary/10"},{color:"secondary",variant:"soft",class:"text-secondary bg-secondary/10"},{color:"success",variant:"soft",class:"text-success bg-success/10"},{color:"info",variant:"soft",class:"text-info bg-info/10"},{color:"warning",variant:"soft",class:"text-warning bg-warning/10"},{color:"error",variant:"soft",class:"text-error bg-error/10"},{color:"primary",variant:"subtle",class:"text-primary ring ring-inset ring-primary/25 bg-primary/10"},{color:"secondary",variant:"subtle",class:"text-secondary ring ring-inset ring-secondary/25 bg-secondary/10"},{color:"success",variant:"subtle",class:"text-success ring ring-inset ring-success/25 bg-success/10"},{color:"info",variant:"subtle",class:"text-info ring ring-inset ring-info/25 bg-info/10"},{color:"warning",variant:"subtle",class:"text-warning ring ring-inset ring-warning/25 bg-warning/10"},{color:"error",variant:"subtle",class:"text-error ring ring-inset ring-error/25 bg-error/10"},{color:"neutral",variant:"solid",class:"text-inverted bg-inverted"},{color:"neutral",variant:"outline",class:"ring ring-inset ring-accented text-default bg-default"},{color:"neutral",variant:"soft",class:"text-default bg-elevated"},{color:"neutral",variant:"subtle",class:"ring ring-inset ring-accented text-default bg-elevated"}],defaultVariants:{variant:"outline",color:"neutral",size:"md"}},TS={__name:"UKbd",props:{as:{type:null,required:!1,default:"kbd"},value:{type:null,required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const n=Wn("kbd",e),{getKbdKey:r}=ES(),s=vt(),o=R(()=>nt({extend:nt(AS),...s.ui?.kbd||{}}));return(i,a)=>(N(),W(_(st),{as:_(n).as,class:Te(o.value({class:[_(n).ui?.base,_(n).class],color:_(n).color,variant:_(n).variant,size:_(n).size}))},{default:Z(()=>[ce(i.$slots,"default",{},()=>[Dt(Qe(_(r)(_(n).value)),1)])]),_:3},8,["as","class"]))}},PS={slots:{content:"flex items-center gap-1 bg-default text-highlighted shadow-sm rounded-sm ring ring-default h-6 px-2.5 py-1 text-xs select-none data-[state=delayed-open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-tooltip-content-transform-origin) pointer-events-auto",arrow:"fill-bg stroke-default",text:"truncate",kbds:"hidden lg:inline-flex items-center shrink-0 gap-0.5 not-first-of-type:before:content-['·'] not-first-of-type:before:me-0.5",kbdsSize:"sm"}},RS={__name:"UTooltip",props:{text:{type:String,required:!1},kbds:{type:Array,required:!1},content:{type:Object,required:!1},arrow:{type:[Boolean,Object],required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},reference:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1},delayDuration:{type:Number,required:!1},disableHoverableContent:{type:Boolean,required:!1},disableClosingTrigger:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},ignoreNonKeyboardFocus:{type:Boolean,required:!1}},emits:["update:open"],setup(e,{emit:t}){const n=e,r=t,s=Xs(),o=Wn("tooltip",n),i=vt(),a=hi(),l=gi(us(o,"defaultOpen","open","delayDuration","disableHoverableContent","disableClosingTrigger","ignoreNonKeyboardFocus"),r),c=Ty(Nt(()=>o.portal)),u=Nt(()=>Vn(o.content,a.content.value,{side:"bottom",sideOffset:8,collisionPadding:8})),f=Nt(()=>Vn(o.arrow,{rounded:!0})),d=R(()=>nt({extend:nt(PS),...i.ui?.tooltip||{}})({side:u.value.side}));return(p,h)=>(N(),W(_(vC),be(_(l),{disabled:!(_(o).text||_(o).kbds?.length||s.content)||_(o).disabled}),{default:Z(({open:m})=>[s.default||_(o).reference?(N(),W(_(AC),be({key:0},p.$attrs,{"as-child":"",reference:_(o).reference,class:_(o).class}),{default:Z(()=>[ce(p.$slots,"default",{open:m})]),_:2},1040,["reference","class"])):xe("",!0),re(_(SC),Ht(en(_(c))),{default:Z(()=>[re(_(ok),null,{default:Z(()=>[re(_(CC),be(u.value,{"data-slot":"content",class:d.value.content({class:[!s.default&&_(o).class,_(o).ui?.content]})}),{default:Z(()=>[ce(p.$slots,"content",{ui:d.value},()=>[_(o).text?(N(),Ee("span",{key:0,"data-slot":"text",class:Te(d.value.text({class:_(o).ui?.text}))},Qe(_(o).text),3)):xe("",!0),_(o).kbds?.length?(N(),Ee("span",{key:1,"data-slot":"kbds",class:Te(d.value.kbds({class:_(o).ui?.kbds}))},[(N(!0),Ee(ze,null,ur(_(o).kbds,(v,b)=>(N(),W(TS,be({key:b,size:_(o).ui?.kbdsSize||d.value.kbdsSize()},{ref_for:!0},typeof v=="string"?{value:v}:v),null,16,["size"]))),128))],2)):xe("",!0)]),_(o).arrow?(N(),W(_(dC),be({key:0},f.value,{"data-slot":"arrow",class:d.value.arrow({class:_(o).ui?.arrow})}),null,16,["class"])):xe("",!0)]),_:3},16,["class"])]),_:3})]),_:3},16)]),_:3},16,["disabled"]))}},OS=(...e)=>e.find(t=>t!==void 0);function vh(e){let t=e.replace(/[\u0000-\u001F\s]+/g,"");for(;t.toLowerCase().startsWith("view-source:");)t=t.slice(12);const n=t.indexOf(":");return n>0&&ba(t.slice(0,n+1))?null:e}function IS(e){const t=e.componentName||"NuxtLink";function n(o){return typeof o=="string"&&o.startsWith("#")}function r(o,i,a){const l=a??e.trailingSlash;if(!o||l!=="append"&&l!=="remove")return o;if(typeof o=="string")return Hi(o,l);const c="path"in o&&o.path!==void 0?o.path:i(o).path;return{...o,name:void 0,path:Hi(c,l)}}function s(o){const i=Ut(),a=ui(),l=R(()=>!!_(o.target)&&_(o.target)!=="_self"),c=R(()=>{const v=_(o.to)||_(o.href)||"";return typeof v=="string"&&xn(v,{acceptRelative:!0})}),u=gd("RouterLink"),f=typeof u!="string"?u.useLink:void 0,d=R(()=>{if(_(o.external))return!0;const v=_(o.to)||_(o.href)||"";return typeof v=="object"?!1:v===""||c.value}),p=R(()=>{const v=_(o.to)||_(o.href)||"";return d.value?v:r(v,i.resolve,_(o.trailingSlash))}),h=d.value?void 0:f?.({...o,to:p,viewTransition:_(o.viewTransition)}),m=R(()=>{const v=_(o.trailingSlash)??e.trailingSlash;if(!p.value||c.value||n(p.value)){const b=p.value;return typeof b=="string"?vh(b):b}if(d.value){const b=typeof p.value=="object"&&"path"in p.value?Xc(p.value):p.value,y=typeof b=="object"?i.resolve(b).href:b,g=typeof y=="string"?vh(y):y;return g===null?null:Hi(g,v)}return typeof p.value=="object"?i.resolve(p.value)?.href??null:Hi(Wo(a.app.baseURL,p.value),v)});return{to:p,hasTarget:l,isAbsoluteUrl:c,isExternal:d,href:m,isActive:h?.isActive??R(()=>p.value===i.currentRoute.value.path),isExactActive:h?.isExactActive??R(()=>p.value===i.currentRoute.value.path),route:h?.route??R(()=>i.resolve(p.value)),async navigate(v){m.value!==null&&await A6(m.value,{replace:_(o.replace),external:d.value||l.value})}}}return ge({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},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},trailingSlash:{type:String,default:void 0,required:!1}},useLink:s,setup(o,{slots:i}){const a=Ut(),{to:l,href:c,navigate:u,isExternal:f,hasTarget:d,isAbsoluteUrl:p}=s(o),h=at(!1),m=Q(null),v=g=>{m.value=o.custom?g?.$el?.nextElementSibling:g?.$el};function b(g){return!h.value&&(typeof o.prefetchOn=="string"?o.prefetchOn===g:o.prefetchOn?.[g]??e.prefetchOn?.[g])&&(o.prefetch??e.prefetch)!==!1&&o.noPrefetch!==!0&&o.target!=="_blank"&&!$S()}async function y(g=Ue()){if(h.value||c.value===null)return;h.value=!0;const w=typeof l.value=="string"?l.value:f.value?Xc(l.value):a.resolve(l.value).fullPath,x=f.value?new URL(w,window.location.href).href:w;await Promise.all([g.hooks.callHook("link:prefetch",x)?.catch(()=>{}),!f.value&&!d.value&&Am(l.value,a).catch(()=>{})])}if(b("visibility")){const g=Ue();let w,x=null;It(()=>{const S=MS();Cf(()=>{w=su(()=>{m?.value?.tagName&&(x=S.observe(m.value,async()=>{x?.(),x=null,await y(g)}))})})}),cs(()=>{w&&e9(w),x?.(),x=null})}return()=>{if(!f.value&&!d.value&&!n(l.value)){const x={ref:v,to:l.value,activeClass:o.activeClass||e.activeClass,exactActiveClass:o.exactActiveClass||e.exactActiveClass,replace:o.replace,ariaCurrentValue:o.ariaCurrentValue,custom:o.custom};return o.custom||(b("interaction")&&(x.onPointerenter=y.bind(null,void 0),x.onFocus=y.bind(null,void 0)),h.value&&(x.class=o.prefetchedClass||e.prefetchedClass),x.rel=o.rel||void 0),Ze(gd("RouterLink"),x,i.default)}const g=o.target||null,w=OS(o.noRel?"":o.rel,e.externalRelAttribute,p.value||d.value?"noopener noreferrer":"")||null;return o.custom?i.default?i.default({href:c.value,navigate:u,prefetch:y,get route(){if(!c.value)return;const x=new URL(c.value,window.location.href);return{path:x.pathname,fullPath:x.pathname,get query(){return ff(x.search)},hash:x.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:c.value}},rel:w,target:g,isExternal:f.value||d.value,isActive:!1,isExactActive:!1}):null:Ze("a",{ref:m,href:c.value||null,rel:w,target:g,onClick:async x=>{if(!(f.value||d.value)){x.preventDefault();try{const S=N1(c.value??"");return await(o.replace?a.replace(S):a.push(S))}finally{if(n(l.value)){const S=l.value.slice(1);let k=S;try{k=decodeURIComponent(S)}catch{}document.getElementById(k)?.focus()}}}}},i.default?.())}}})}const Py=IS(u6);function Hi(e,t){const n=t==="append"?Q0:Go;return xn(e)&&!e.startsWith("http")?e:n(e,!0)}function MS(){const e=Ue();if(e._observer)return e._observer;let t=null;const n=new Map,r=(o,i)=>(t||=new IntersectionObserver(a=>{for(const l of a){const c=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&c&&c()}}),n.set(o,i),t.observe(o),()=>{n.delete(o),t?.unobserve(o),n.size===0&&(t?.disconnect(),t=null)});return e._observer={observe:r}}const LS=/2g/;function $S(){const e=navigator.connection;return!!(e&&(e.saveData||LS.test(e.effectiveType)))}const NS=Symbol("nuxt-ui.form-options"),DS=Symbol("nuxt-ui.form-events"),bh=Symbol("nuxt-ui.form-field"),BS=Symbol("nuxt-ui.input-id"),FS=Symbol("nuxt-ui.form-loading");function jS(e,t){const n=We(NS,void 0),r=We(DS,void 0),s=We(bh,void 0),o=We(BS,void 0);qt(bh,void 0),s&&o&&(t?.bind===!1?o.value=void 0:e?.id&&(o.value=e?.id));function i(f,d,p){r&&s&&d&&r.emit({type:f,name:d,eager:p})}function a(){i("blur",s?.value.name)}function l(){i("focus",s?.value.name)}function c(){i("change",s?.value.name)}const u=v1(()=>{i("input",s?.value.name,s?.value.eagerValidation)},s?.value.validateOnInputDelay??n?.value.validateOnInputDelay??0);return{id:R(()=>e?.id??o?.value),name:R(()=>e?.name??s?.value.name),size:R(()=>e?.size??s?.value.size),color:R(()=>s?.value.error?"error":e?.color),highlight:R(()=>s?.value.error?!0:e?.highlight),disabled:R(()=>n?.value.disabled||e?.disabled),emitFormBlur:a,emitFormInput:u,emitFormChange:c,emitFormFocus:l,ariaAttrs:R(()=>{if(!s?.value)return;const f=["error","hint","description","help"].filter(p=>s?.value?.[p]).map(p=>`${s?.value.ariaId}-${p}`)||[],d={"aria-invalid":!!s?.value.error};return f.length>0&&(d["aria-describedby"]=f.join(" ")),d})}}const zS=["active","activeClass","ariaCurrentValue","as","disabled","download","exact","exactActiveClass","exactHash","exactQuery","external","form","formaction","formenctype","formmethod","formnovalidate","formtarget","href","hreflang","inactiveClass","locale","media","noPrefetch","noRel","onClick","ping","prefetch","prefetchOn","prefetchedClass","referrerpolicy","rel","replace","target","title","to","trailingSlash","type","viewTransition"];function qS(e){const t=Object.keys(e),n=t.filter(o=>o.startsWith("aria-")),r=t.filter(o=>o.startsWith("data-")),s=[...zS,...n,...r];return us(e,...s)}function HS(e,t){const n=ik(e,t).reduce((o,i)=>(i.type==="added"&&o.add(i.key),o),new Set),r=Object.fromEntries(Object.entries(e).filter(([o])=>!n.has(o))),s=Object.fromEntries(Object.entries(t).filter(([o])=>!n.has(o)));return cm(r,s)}const Eu={__name:"ULinkBase",props:{as:{type:String,required:!1,default:"button"},type:{type:String,required:!1,default:"button"},disabled:{type:Boolean,required:!1},onClick:{type:[Function,Array],required:!1},href:{type:[String,null],required:!1},navigate:{type:Function,required:!1},target:{type:[String,Object,null],required:!1},rel:{type:[String,Object,null],required:!1},active:{type:Boolean,required:!1},isExternal:{type:Boolean,required:!1}},setup(e){const t=e;function n(r){if(t.disabled){r.stopPropagation(),r.preventDefault();return}if(t.onClick)for(const s of Array.isArray(t.onClick)?t.onClick:[t.onClick])s(r);t.href&&t.navigate&&!t.isExternal&&t.navigate(r)}return(r,s)=>(N(),W(_(st),be(e.href?{as:"a",href:e.disabled?void 0:e.href,"aria-disabled":e.disabled?"true":void 0,role:e.disabled?"link":void 0,tabindex:e.disabled?-1:void 0}:e.as==="button"?{as:e.as,type:e.type,disabled:e.disabled}:{as:e.as},{rel:e.rel,target:e.target,onClick:n}),{default:Z(()=>[ce(r.$slots,"default")]),_:3},16,["rel","target"]))}},US={base:"outline-primary/25 focus-visible:outline-3 rounded-md",variants:{active:{true:"text-primary",false:"text-muted"},disabled:{true:"cursor-not-allowed opacity-75"}},compoundVariants:[{active:!1,disabled:!1,class:["hover:text-default","transition-colors"]}]},VS=Object.assign({inheritAttrs:!1},{__name:"ULink",props:{as:{type:null,required:!1,default:"button"},type:{type:null,required:!1,default:"button"},disabled:{type:Boolean,required:!1},active:{type:Boolean,required:!1,default:void 0},exact:{type:Boolean,required:!1},exactQuery:{type:[Boolean,String],required:!1},exactHash:{type:Boolean,required:!1},inactiveClass:{type:String,required:!1},custom:{type:Boolean,required:!1},raw:{type:Boolean,required:!1},locale:{type:[Boolean,String],required:!1,default:void 0},class:{type:null,required:!1},to:{type:null,required:!1},href:{type:null,required:!1},external:{type:Boolean,required:!1},target:{type:[String,Object,null],required:!1},rel:{type:[String,Object,null],required:!1},noRel:{type:Boolean,required:!1},prefetchedClass:{type:String,required:!1},prefetch:{type:Boolean,required:!1},prefetchOn:{type:[String,Object],required:!1},noPrefetch:{type:Boolean,required:!1},trailingSlash:{type:String,required:!1},activeClass:{type:String,required:!1},exactActiveClass:{type:String,required:!1},ariaCurrentValue:{type:String,required:!1,default:"page"},viewTransition:{type:Boolean,required:!1},replace:{type:Boolean,required:!1}},setup(e){const t=e,n=vf(),r=vt(),s=Ue(),o=di(C4(t,"as","type","disabled","active","exact","exactQuery","exactHash","activeClass","inactiveClass","to","href","raw","custom","locale","class")),i=R(()=>nt({extend:nt(US),...Vn({variants:{active:{true:$a(r.ui?.link?.variants?.active?.true,t.activeClass),false:$a(r.ui?.link?.variants?.active?.false,t.inactiveClass)}}},r.ui?.link||{})})),a=R(()=>{const d=t.to??t.href;if(!d||typeof d!="string"||t.external||xn(d,{acceptRelative:!0})||t.locale===!1)return d;const p=s.$localePath;if(!p)return d;const m=s.$i18n?.localeCodes?.value;return m?.length&&new RegExp(`^/(${m.join("|")})($|[/?#])`).test(d)?d:p(d,typeof t.locale=="string"?t.locale:void 0)}),l=R(()=>!a.value||t.external?!1:typeof a.value!="string"?!0:!(xn(a.value,{acceptRelative:!0})||t.target&&t.target!=="_self")),c=R(()=>t.noRel?null:t.rel?t.rel:"noopener noreferrer");function u({route:d,isActive:p,isExactActive:h}={}){if(t.active!==void 0)return t.active;if(!a.value)return!1;if(t.exactQuery==="partial"){if(!HS(d.query,n.query))return!1}else if(t.exactQuery===!0&&!cm(d.query,n.query))return!1;return t.exactHash&&d.hash!==n.hash?!1:!!(t.exact&&h||!t.exact&&p)}function f({route:d,isActive:p,isExactActive:h}={}){const m=u({route:d,isActive:p,isExactActive:h});return t.raw?[t.class,m?t.activeClass:t.inactiveClass]:i.value({class:t.class,active:m,disabled:t.disabled})}return(d,p)=>{const h=Py;return l.value?(N(),W(h,be({key:0},_(o),{to:a.value,custom:""}),{default:Z(({href:m,navigate:v,route:b,isActive:y,isExactActive:g,...w})=>[e.custom?(N(),W(_(is),{key:0},{default:Z(()=>[ce(d.$slots,"default",Ht(en({...d.$attrs,...e.exact&&g?{"aria-current":t.ariaCurrentValue}:{},as:e.as,type:e.type,disabled:e.disabled,href:m,navigate:v,rel:w.rel,target:w.target,isExternal:w.isExternal,active:u({route:b,isActive:y,isExactActive:g})})))]),_:2},1024)):(N(),W(Eu,be({key:1},{...d.$attrs,...e.exact&&g?{"aria-current":t.ariaCurrentValue}:{},as:e.as,type:e.type,disabled:e.disabled,href:m,navigate:v,rel:w.rel,target:w.target,isExternal:w.isExternal},{class:f({route:b,isActive:y,isExactActive:g})}),{default:Z(()=>[ce(d.$slots,"default",{active:u({route:b,isActive:y,isExactActive:g})})]),_:2},1040,["class"]))]),_:3},16,["to"])):e.custom?(N(),W(_(is),{key:1},{default:Z(()=>[ce(d.$slots,"default",Ht(en({...d.$attrs,as:e.as,type:e.type,disabled:e.disabled,...a.value?{href:String(a.value),target:t.target,rel:c.value,isExternal:!0}:{},active:e.active??!1})))]),_:3})):(N(),W(Eu,be({key:2},{...d.$attrs,as:e.as,type:e.type,disabled:e.disabled,...a.value?{href:String(a.value),target:t.target,rel:c.value,isExternal:!0}:{}},{class:f()}),{default:Z(()=>[ce(d.$slots,"default",{active:e.active??!1})]),_:3},16,["class"]))}}}),GS={slots:{base:["rounded-md font-medium inline-flex items-center disabled:cursor-not-allowed aria-disabled:cursor-not-allowed disabled:opacity-75 aria-disabled:opacity-75","transition-colors"],label:"truncate",leadingIcon:"shrink-0",leadingAvatar:"shrink-0",leadingAvatarSize:"",trailingIcon:"shrink-0"},variants:{fieldGroup:{horizontal:"not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none focus-visible:z-[1]",vertical:"not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]"},color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},variant:{solid:"",outline:"",soft:"",subtle:"",ghost:"",link:""},size:{xs:{base:"px-2 py-1 text-xs gap-1",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4"},sm:{base:"px-2.5 py-1.5 text-xs gap-1.5",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4"},md:{base:"px-2.5 py-1.5 text-sm gap-1.5",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5"},lg:{base:"px-3 py-2 text-sm gap-2",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5"},xl:{base:"px-3 py-2 text-base gap-2",leadingIcon:"size-6",leadingAvatarSize:"xs",trailingIcon:"size-6"}},block:{true:{base:"w-full justify-center",trailingIcon:"ms-auto"}},square:{true:""},leading:{true:""},trailing:{true:""},loading:{true:""},active:{true:{base:""},false:{base:""}}},compoundVariants:[{color:"primary",variant:"solid",class:"text-inverted bg-primary hover:bg-primary/75 active:bg-primary/75 disabled:bg-primary aria-disabled:bg-primary outline-primary/25 focus-visible:outline-3"},{color:"secondary",variant:"solid",class:"text-inverted bg-secondary hover:bg-secondary/75 active:bg-secondary/75 disabled:bg-secondary aria-disabled:bg-secondary outline-secondary/25 focus-visible:outline-3"},{color:"success",variant:"solid",class:"text-inverted bg-success hover:bg-success/75 active:bg-success/75 disabled:bg-success aria-disabled:bg-success outline-success/25 focus-visible:outline-3"},{color:"info",variant:"solid",class:"text-inverted bg-info hover:bg-info/75 active:bg-info/75 disabled:bg-info aria-disabled:bg-info outline-info/25 focus-visible:outline-3"},{color:"warning",variant:"solid",class:"text-inverted bg-warning hover:bg-warning/75 active:bg-warning/75 disabled:bg-warning aria-disabled:bg-warning outline-warning/25 focus-visible:outline-3"},{color:"error",variant:"solid",class:"text-inverted bg-error hover:bg-error/75 active:bg-error/75 disabled:bg-error aria-disabled:bg-error outline-error/25 focus-visible:outline-3"},{color:"primary",variant:"outline",class:"ring ring-inset ring-primary/50 text-primary hover:bg-primary/10 active:bg-primary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent outline-primary/25 focus-visible:outline-3 focus-visible:ring-primary"},{color:"secondary",variant:"outline",class:"ring ring-inset ring-secondary/50 text-secondary hover:bg-secondary/10 active:bg-secondary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent outline-secondary/25 focus-visible:outline-3 focus-visible:ring-secondary"},{color:"success",variant:"outline",class:"ring ring-inset ring-success/50 text-success hover:bg-success/10 active:bg-success/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent outline-success/25 focus-visible:outline-3 focus-visible:ring-success"},{color:"info",variant:"outline",class:"ring ring-inset ring-info/50 text-info hover:bg-info/10 active:bg-info/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent outline-info/25 focus-visible:outline-3 focus-visible:ring-info"},{color:"warning",variant:"outline",class:"ring ring-inset ring-warning/50 text-warning hover:bg-warning/10 active:bg-warning/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent outline-warning/25 focus-visible:outline-3 focus-visible:ring-warning"},{color:"error",variant:"outline",class:"ring ring-inset ring-error/50 text-error hover:bg-error/10 active:bg-error/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent outline-error/25 focus-visible:outline-3 focus-visible:ring-error"},{color:"primary",variant:"soft",class:"text-primary bg-primary/10 hover:bg-primary/15 active:bg-primary/15 outline-primary/25 focus-visible:outline-3 disabled:bg-primary/10 aria-disabled:bg-primary/10"},{color:"secondary",variant:"soft",class:"text-secondary bg-secondary/10 hover:bg-secondary/15 active:bg-secondary/15 outline-secondary/25 focus-visible:outline-3 disabled:bg-secondary/10 aria-disabled:bg-secondary/10"},{color:"success",variant:"soft",class:"text-success bg-success/10 hover:bg-success/15 active:bg-success/15 outline-success/25 focus-visible:outline-3 disabled:bg-success/10 aria-disabled:bg-success/10"},{color:"info",variant:"soft",class:"text-info bg-info/10 hover:bg-info/15 active:bg-info/15 outline-info/25 focus-visible:outline-3 disabled:bg-info/10 aria-disabled:bg-info/10"},{color:"warning",variant:"soft",class:"text-warning bg-warning/10 hover:bg-warning/15 active:bg-warning/15 outline-warning/25 focus-visible:outline-3 disabled:bg-warning/10 aria-disabled:bg-warning/10"},{color:"error",variant:"soft",class:"text-error bg-error/10 hover:bg-error/15 active:bg-error/15 outline-error/25 focus-visible:outline-3 disabled:bg-error/10 aria-disabled:bg-error/10"},{color:"primary",variant:"subtle",class:"text-primary ring ring-inset ring-primary/25 bg-primary/10 hover:bg-primary/15 active:bg-primary/15 disabled:bg-primary/10 aria-disabled:bg-primary/10 outline-primary/25 focus-visible:outline-3 focus-visible:ring-primary"},{color:"secondary",variant:"subtle",class:"text-secondary ring ring-inset ring-secondary/25 bg-secondary/10 hover:bg-secondary/15 active:bg-secondary/15 disabled:bg-secondary/10 aria-disabled:bg-secondary/10 outline-secondary/25 focus-visible:outline-3 focus-visible:ring-secondary"},{color:"success",variant:"subtle",class:"text-success ring ring-inset ring-success/25 bg-success/10 hover:bg-success/15 active:bg-success/15 disabled:bg-success/10 aria-disabled:bg-success/10 outline-success/25 focus-visible:outline-3 focus-visible:ring-success"},{color:"info",variant:"subtle",class:"text-info ring ring-inset ring-info/25 bg-info/10 hover:bg-info/15 active:bg-info/15 disabled:bg-info/10 aria-disabled:bg-info/10 outline-info/25 focus-visible:outline-3 focus-visible:ring-info"},{color:"warning",variant:"subtle",class:"text-warning ring ring-inset ring-warning/25 bg-warning/10 hover:bg-warning/15 active:bg-warning/15 disabled:bg-warning/10 aria-disabled:bg-warning/10 outline-warning/25 focus-visible:outline-3 focus-visible:ring-warning"},{color:"error",variant:"subtle",class:"text-error ring ring-inset ring-error/25 bg-error/10 hover:bg-error/15 active:bg-error/15 disabled:bg-error/10 aria-disabled:bg-error/10 outline-error/25 focus-visible:outline-3 focus-visible:ring-error"},{color:"primary",variant:"ghost",class:"text-primary hover:bg-primary/10 active:bg-primary/10 outline-primary/25 focus-visible:outline-3 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"},{color:"secondary",variant:"ghost",class:"text-secondary hover:bg-secondary/10 active:bg-secondary/10 outline-secondary/25 focus-visible:outline-3 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"},{color:"success",variant:"ghost",class:"text-success hover:bg-success/10 active:bg-success/10 outline-success/25 focus-visible:outline-3 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"},{color:"info",variant:"ghost",class:"text-info hover:bg-info/10 active:bg-info/10 outline-info/25 focus-visible:outline-3 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"},{color:"warning",variant:"ghost",class:"text-warning hover:bg-warning/10 active:bg-warning/10 outline-warning/25 focus-visible:outline-3 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"},{color:"error",variant:"ghost",class:"text-error hover:bg-error/10 active:bg-error/10 outline-error/25 focus-visible:outline-3 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"},{color:"primary",variant:"link",class:"text-primary hover:text-primary/75 active:text-primary/75 disabled:text-primary aria-disabled:text-primary outline-primary/25 focus-visible:outline-3"},{color:"secondary",variant:"link",class:"text-secondary hover:text-secondary/75 active:text-secondary/75 disabled:text-secondary aria-disabled:text-secondary outline-secondary/25 focus-visible:outline-3"},{color:"success",variant:"link",class:"text-success hover:text-success/75 active:text-success/75 disabled:text-success aria-disabled:text-success outline-success/25 focus-visible:outline-3"},{color:"info",variant:"link",class:"text-info hover:text-info/75 active:text-info/75 disabled:text-info aria-disabled:text-info outline-info/25 focus-visible:outline-3"},{color:"warning",variant:"link",class:"text-warning hover:text-warning/75 active:text-warning/75 disabled:text-warning aria-disabled:text-warning outline-warning/25 focus-visible:outline-3"},{color:"error",variant:"link",class:"text-error hover:text-error/75 active:text-error/75 disabled:text-error aria-disabled:text-error outline-error/25 focus-visible:outline-3"},{color:"neutral",variant:"solid",class:"text-inverted bg-inverted hover:bg-inverted/90 active:bg-inverted/90 disabled:bg-inverted aria-disabled:bg-inverted outline-inverted/25 focus-visible:outline-3"},{color:"neutral",variant:"outline",class:"ring ring-inset ring-accented text-default bg-default hover:bg-elevated active:bg-elevated disabled:bg-default aria-disabled:bg-default outline-inverted/25 focus-visible:outline-3 focus-visible:ring-inverted"},{color:"neutral",variant:"soft",class:"text-default bg-elevated hover:bg-accented/75 active:bg-accented/75 outline-inverted/25 focus-visible:outline-3 disabled:bg-elevated aria-disabled:bg-elevated"},{color:"neutral",variant:"subtle",class:"ring ring-inset ring-accented text-default bg-elevated hover:bg-accented/75 active:bg-accented/75 disabled:bg-elevated aria-disabled:bg-elevated outline-inverted/25 focus-visible:outline-3 focus-visible:ring-inverted"},{color:"neutral",variant:"ghost",class:"text-default hover:bg-elevated active:bg-elevated outline-inverted/25 focus-visible:outline-3 hover:disabled:bg-transparent dark:hover:disabled:bg-transparent hover:aria-disabled:bg-transparent dark:hover:aria-disabled:bg-transparent"},{color:"neutral",variant:"link",class:"text-muted hover:text-default active:text-default disabled:text-muted aria-disabled:text-muted outline-inverted/25 focus-visible:outline-3"},{size:"xs",square:!0,class:"p-1"},{size:"sm",square:!0,class:"p-1.5"},{size:"md",square:!0,class:"p-1.5"},{size:"lg",square:!0,class:"p-2"},{size:"xl",square:!0,class:"p-2"},{loading:!0,leading:!0,class:{leadingIcon:"animate-spin"}},{loading:!0,leading:!1,trailing:!0,class:{trailingIcon:"animate-spin"}}],defaultVariants:{color:"primary",variant:"solid",size:"md"}},Mo={__name:"UButton",props:{label:{type:String,required:!1},color:{type:null,required:!1},activeColor:{type:null,required:!1},variant:{type:null,required:!1},activeVariant:{type:null,required:!1},size:{type:null,required:!1},square:{type:Boolean,required:!1},block:{type:Boolean,required:!1},loadingAuto:{type:Boolean,required:!1},onClick:{type:[Function,Array],required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:null,required:!1},trailing:{type:Boolean,required:!1},trailingIcon:{type:null,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1},as:{type:null,required:!1},type:{type:null,required:!1},disabled:{type:Boolean,required:!1},active:{type:Boolean,required:!1},exact:{type:Boolean,required:!1},exactQuery:{type:[Boolean,String],required:!1},exactHash:{type:Boolean,required:!1},inactiveClass:{type:String,required:!1},locale:{type:[Boolean,String],required:!1},to:{type:null,required:!1},href:{type:null,required:!1},external:{type:Boolean,required:!1},target:{type:[String,Object,null],required:!1},rel:{type:[String,Object,null],required:!1},noRel:{type:Boolean,required:!1},prefetchedClass:{type:String,required:!1},prefetch:{type:Boolean,required:!1},prefetchOn:{type:[String,Object],required:!1},noPrefetch:{type:Boolean,required:!1},trailingSlash:{type:String,required:!1},activeClass:{type:String,required:!1},exactActiveClass:{type:String,required:!1},ariaCurrentValue:{type:String,required:!1},viewTransition:{type:Boolean,required:!1},replace:{type:Boolean,required:!1}},setup(e){const t=e,n=Xs(),r=Wn("button",t),s=vt(),{orientation:o,size:i}=Ff(t),a=gi(qS(r)),l=Q(!1),c=We(FS,void 0);async function u(b){l.value=!0;const y=Array.isArray(r.onClick)?r.onClick:[r.onClick];try{await Promise.all(y.map(g=>g?.(b)))}finally{l.value=!1}}const f=R(()=>r.loading||r.loadingAuto&&(l.value||c?.value&&r.type==="submit")),{isLeading:d,isTrailing:p,leadingIconName:h,trailingIconName:m}=jf(R(()=>({...r,loading:f.value}))),v=R(()=>nt({extend:nt(GS),...Vn({variants:{active:{true:{base:$a(s.ui?.button?.variants?.active?.true?.base,r.activeClass)},false:{base:$a(s.ui?.button?.variants?.active?.false?.base,r.inactiveClass)}}}},s.ui?.button||{})})({color:r.color,variant:r.variant,size:i.value??r.size,loading:f.value,block:r.block,square:r.square||!n.default&&!r.label,leading:d.value,trailing:p.value,fieldGroup:o.value}));return(b,y)=>(N(),W(VS,be({type:_(r).type,disabled:_(r).disabled||f.value},_(iy)(_(a),["type","disabled","onClick"]),{custom:""}),{default:Z(({active:g,...w})=>[re(Eu,be(w,{"data-slot":"base",class:v.value.base({class:[_(r).ui?.base,_(r).class],active:g,...g&&_(r).activeVariant?{variant:_(r).activeVariant}:{},...g&&_(r).activeColor?{color:_(r).activeColor}:{}}),onClick:u}),{default:Z(()=>[ce(b.$slots,"leading",{ui:v.value},()=>[_(d)&&_(h)?(N(),W(En,{key:0,name:_(h),"data-slot":"leadingIcon",class:Te(v.value.leadingIcon({class:_(r).ui?.leadingIcon,active:g}))},null,8,["name","class"])):_(r).avatar?(N(),W(El,be({key:1,size:_(r).ui?.leadingAvatarSize||v.value.leadingAvatarSize()},_(r).avatar,{"data-slot":"leadingAvatar",class:v.value.leadingAvatar({class:_(r).ui?.leadingAvatar,active:g})}),null,16,["size","class"])):xe("",!0)]),ce(b.$slots,"default",{ui:v.value},()=>[_(r).label!==void 0&&_(r).label!==null?(N(),Ee("span",{key:0,"data-slot":"label",class:Te(v.value.label({class:_(r).ui?.label,active:g}))},Qe(_(r).label),3)):xe("",!0)]),ce(b.$slots,"trailing",{ui:v.value},()=>[_(p)&&_(m)?(N(),W(En,{key:0,name:_(m),"data-slot":"trailingIcon",class:Te(v.value.trailingIcon({class:_(r).ui?.trailingIcon,active:g}))},null,8,["name","class"])):xe("",!0)])]),_:2},1040,["class"])]),_:3},16,["type","disabled"]))}},WS={slots:{root:"relative inline-flex items-center",base:["w-full rounded-md border-0 appearance-none placeholder:text-dimmed disabled:cursor-not-allowed disabled:opacity-75","transition-colors"],leading:"absolute inset-y-0 start-0 flex items-center",leadingIcon:"shrink-0 text-dimmed",leadingAvatar:"shrink-0",leadingAvatarSize:"",trailing:"absolute inset-y-0 end-0 flex items-center",trailingIcon:"shrink-0 text-dimmed"},variants:{fieldGroup:{horizontal:{root:"group has-focus-visible:z-[1]",base:"group-not-only:group-first:rounded-e-none group-not-only:group-last:rounded-s-none group-not-last:group-not-first:rounded-none"},vertical:{root:"group has-focus-visible:z-[1]",base:"group-not-only:group-first:rounded-b-none group-not-only:group-last:rounded-t-none group-not-last:group-not-first:rounded-none"}},size:{xs:{base:"px-2 py-1 text-sm/4 gap-1",leading:"ps-2",trailing:"pe-2",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4"},sm:{base:"px-2.5 py-1.5 text-sm/4 gap-1.5",leading:"ps-2.5",trailing:"pe-2.5",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4"},md:{base:"px-2.5 py-1.5 text-base/5 gap-1.5",leading:"ps-2.5",trailing:"pe-2.5",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5"},lg:{base:"px-3 py-2 text-base/5 gap-2",leading:"ps-3",trailing:"pe-3",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5"},xl:{base:"px-3 py-2 text-base gap-2",leading:"ps-3",trailing:"pe-3",leadingIcon:"size-6",leadingAvatarSize:"xs",trailingIcon:"size-6"}},variant:{outline:"text-highlighted bg-default ring ring-inset ring-accented",soft:"text-highlighted bg-elevated/50 hover:bg-elevated focus:bg-elevated disabled:bg-elevated/50",subtle:"text-highlighted bg-elevated ring ring-inset ring-accented",ghost:"text-highlighted bg-transparent hover:bg-elevated focus:bg-elevated disabled:bg-transparent dark:disabled:bg-transparent",none:"text-highlighted bg-transparent focus:outline-none"},color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},leading:{true:""},trailing:{true:""},loading:{true:""},highlight:{true:""},fixed:{false:""},type:{file:"file:me-1.5 file:font-medium file:text-muted file:outline-none"}},compoundVariants:[{color:"primary",variant:["outline","subtle"],class:"outline-primary/25 focus-visible:outline-3 focus-visible:ring-primary"},{color:"secondary",variant:["outline","subtle"],class:"outline-secondary/25 focus-visible:outline-3 focus-visible:ring-secondary"},{color:"success",variant:["outline","subtle"],class:"outline-success/25 focus-visible:outline-3 focus-visible:ring-success"},{color:"info",variant:["outline","subtle"],class:"outline-info/25 focus-visible:outline-3 focus-visible:ring-info"},{color:"warning",variant:["outline","subtle"],class:"outline-warning/25 focus-visible:outline-3 focus-visible:ring-warning"},{color:"error",variant:["outline","subtle"],class:"outline-error/25 focus-visible:outline-3 focus-visible:ring-error"},{color:"primary",variant:["soft","ghost"],class:"outline-primary/25 focus-visible:outline-3"},{color:"secondary",variant:["soft","ghost"],class:"outline-secondary/25 focus-visible:outline-3"},{color:"success",variant:["soft","ghost"],class:"outline-success/25 focus-visible:outline-3"},{color:"info",variant:["soft","ghost"],class:"outline-info/25 focus-visible:outline-3"},{color:"warning",variant:["soft","ghost"],class:"outline-warning/25 focus-visible:outline-3"},{color:"error",variant:["soft","ghost"],class:"outline-error/25 focus-visible:outline-3"},{color:"primary",highlight:!0,class:"ring ring-inset ring-primary"},{color:"secondary",highlight:!0,class:"ring ring-inset ring-secondary"},{color:"success",highlight:!0,class:"ring ring-inset ring-success"},{color:"info",highlight:!0,class:"ring ring-inset ring-info"},{color:"warning",highlight:!0,class:"ring ring-inset ring-warning"},{color:"error",highlight:!0,class:"ring ring-inset ring-error"},{color:"neutral",variant:["outline","subtle"],class:"outline-inverted/25 focus-visible:outline-3 focus-visible:ring-inverted"},{color:"neutral",variant:["soft","ghost"],class:"outline-inverted/25 focus-visible:outline-3"},{color:"neutral",highlight:!0,class:"ring ring-inset ring-inverted"},{leading:!0,size:"xs",class:"ps-7"},{leading:!0,size:"sm",class:"ps-8"},{leading:!0,size:"md",class:"ps-9"},{leading:!0,size:"lg",class:"ps-10"},{leading:!0,size:"xl",class:"ps-11"},{trailing:!0,size:"xs",class:"pe-7"},{trailing:!0,size:"sm",class:"pe-8"},{trailing:!0,size:"md",class:"pe-9"},{trailing:!0,size:"lg",class:"pe-10"},{trailing:!0,size:"xl",class:"pe-11"},{loading:!0,leading:!0,class:{leadingIcon:"animate-spin"}},{loading:!0,leading:!1,trailing:!0,class:{trailingIcon:"animate-spin"}},{fixed:!1,size:"xs",class:"md:text-xs"},{fixed:!1,size:"sm",class:"md:text-xs"},{fixed:!1,size:"md",class:"md:text-sm"},{fixed:!1,size:"lg",class:"md:text-sm"}],defaultVariants:{size:"md",color:"primary",variant:"outline"}},KS=["id","type","value","name","placeholder","disabled","required","autocomplete"],XS=Object.assign({inheritAttrs:!1},{__name:"UInput",props:{as:{type:null,required:!1},id:{type:String,required:!1},name:{type:String,required:!1},type:{type:null,required:!1,default:"text"},placeholder:{type:String,required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},required:{type:Boolean,required:!1},autocomplete:{type:[String,Object],required:!1,default:"off"},autofocus:{type:Boolean,required:!1},autofocusDelay:{type:Number,required:!1,default:0},disabled:{type:Boolean,required:!1},highlight:{type:Boolean,required:!1},fixed:{type:Boolean,required:!1},modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1},modelModifiers:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:null,required:!1},trailing:{type:Boolean,required:!1},trailingIcon:{type:null,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1}},emits:["update:modelValue","blur","change"],setup(e,{expose:t,emit:n}){const r=e,s=n,o=Xs(),i=Wn("input",r),a=Ko(i,"modelValue",s,{defaultValue:i.defaultValue}),l=vt(),{emitFormBlur:c,emitFormInput:u,emitFormChange:f,size:d,color:p,id:h,name:m,highlight:v,disabled:b,emitFormFocus:y,ariaAttrs:g}=jS(r,{}),{orientation:w,size:x}=Ff(r),{isLeading:S,isTrailing:k,leadingIconName:T,trailingIconName:P}=jf(i),I=R(()=>x.value||d.value),D=R(()=>nt({extend:nt(WS),...l.ui?.input||{}})({type:i.type,color:p.value??i.color,variant:i.variant,size:I?.value??i.size,loading:i.loading,highlight:v.value??i.highlight,fixed:i.fixed,leading:S.value||!!i.avatar||!!o.leading,trailing:k.value||!!o.trailing,fieldGroup:w.value})),M=s0("inputRef");function Y(F){i.modelModifiers?.trim&&(typeof F=="string"||F===null||F===void 0)&&(F=F?.trim()??null),(i.modelModifiers?.number||i.type==="number")&&(F=ak(F)),i.modelModifiers?.nullable&&(F||=null),i.modelModifiers?.optional&&!i.modelModifiers?.nullable&&F!==null&&(F||=void 0),a.value=F,u()}function O(F){i.modelModifiers?.lazy||Y(F.target.value)}function q(F){const ue=F.target.value;i.modelModifiers?.lazy&&Y(ue),i.modelModifiers?.trim&&(F.target.value=ue.trim()),f(),s("change",F)}function $(F){c(),s("blur",F)}function J(){i.autofocus&&M.value?.focus()}return It(()=>{setTimeout(()=>{J()},i.autofocusDelay)}),t({inputRef:M}),(F,ue)=>(N(),W(_(st),{as:_(i).as,"data-slot":"root",class:Te(D.value.root({class:[_(i).ui?.root,_(i).class]}))},{default:Z(()=>[ke("input",be({id:_(h),ref_key:"inputRef",ref:M,type:_(i).type,value:_(a),name:_(m),placeholder:_(i).placeholder,"data-slot":"base",class:D.value.base({class:_(i).ui?.base}),disabled:_(b),required:_(i).required,autocomplete:_(i).autocomplete},{...F.$attrs,..._(g)},{onInput:O,onBlur:$,onChange:q,onFocus:ue[0]||(ue[0]=(...G)=>_(y)&&_(y)(...G))}),null,16,KS),ce(F.$slots,"default",{ui:D.value}),_(S)||_(i).avatar||o.leading?(N(),Ee("span",{key:0,"data-slot":"leading",class:Te(D.value.leading({class:_(i).ui?.leading}))},[ce(F.$slots,"leading",{ui:D.value},()=>[_(S)&&_(T)?(N(),W(En,{key:0,name:_(T),"data-slot":"leadingIcon",class:Te(D.value.leadingIcon({class:_(i).ui?.leadingIcon}))},null,8,["name","class"])):_(i).avatar?(N(),W(El,be({key:1,size:_(i).ui?.leadingAvatarSize||D.value.leadingAvatarSize()},_(i).avatar,{"data-slot":"leadingAvatar",class:D.value.leadingAvatar({class:_(i).ui?.leadingAvatar})}),null,16,["size","class"])):xe("",!0)])],2)):xe("",!0),_(k)||o.trailing?(N(),Ee("span",{key:1,"data-slot":"trailing",class:Te(D.value.trailing({class:_(i).ui?.trailing}))},[ce(F.$slots,"trailing",{ui:D.value},()=>[_(P)?(N(),W(En,{key:0,name:_(P),"data-slot":"trailingIcon",class:Te(D.value.trailingIcon({class:_(i).ui?.trailingIcon}))},null,8,["name","class"])):xe("",!0)])],2)):xe("",!0)]),_:3},8,["as","class"]))}}),YS={class:"standalone-connect"},JS={class:"standalone-connect-card"},ZS={key:0,class:"text-xs text-[var(--color-warning)] text-center max-w-sm"},QS=ge({__name:"DevtoolsStandaloneConnect",setup(e){const t=/\/+$/,n=Q(ns.value||"http://localhost:3000"),r=Q(""),s=Q(!1);async function o(){r.value="",s.value=!0;const i=n.value.replace(t,"");try{await fetch(i,{mode:"no-cors",signal:AbortSignal.timeout(5e3)}),ns.value=i}catch{r.value=`Could not reach ${i}. Is the dev server running?`}finally{s.value=!1}}return(i,a)=>{const l=En,c=XS,u=Mo;return N(),Ee("div",YS,[ke("div",JS,[re(l,{name:"carbon:plug",class:"text-4xl text-[var(--seo-green)]"}),a[2]||(a[2]=F0('<h2 class="text-lg font-semibold" data-v-b53a764e> Connect to Dev Server </h2><p class="text-sm text-[var(--color-text-muted)] text-center max-w-sm leading-relaxed" data-v-b53a764e> Running in standalone mode. Enter the URL of your Nuxt dev server to start inspecting. </p><p class="text-xs text-[var(--color-text-subtle)] text-center max-w-sm leading-relaxed" data-v-b53a764e> Requires <code class="font-mono px-1 py-0.5 rounded bg-[var(--color-surface-sunken)]" data-v-b53a764e>standaloneDevtools: true</code> in your <code class="font-mono px-1 py-0.5 rounded bg-[var(--color-surface-sunken)]" data-v-b53a764e>scripts</code> module config. </p>',3)),ke("form",{class:"standalone-connect-form",onSubmit:Ms(o,["prevent"])},[re(c,{modelValue:n.value,"onUpdate:modelValue":a[0]||(a[0]=f=>n.value=f),placeholder:"http://localhost:3000",size:"lg",icon:"carbon:link",class:"flex-1",disabled:s.value},null,8,["modelValue","disabled"]),re(u,{type:"submit",icon:"carbon:connect",size:"lg",loading:s.value},{default:Z(()=>[...a[1]||(a[1]=[Dt(" Connect ",-1)])]),_:1},8,["loading"])],32),r.value?(N(),Ee("p",ZS,Qe(r.value),1)):xe("",!0)])])}}}),eE=Object.assign(bl(QS,[["__scopeId","data-v-b53a764e"]]),{__name:"DevtoolsStandaloneConnect"}),tE={},nE={class:"flex flex-col items-center justify-center gap-3 py-20"};function rE(e,t){const n=En;return N(),Ee("div",nE,[re(n,{name:"carbon:circle-dash",class:"animate-spin text-3xl text-[var(--color-text-muted)]"}),t[0]||(t[0]=ke("p",{class:"text-sm text-[var(--color-text-muted)]"}," Connecting to devtools… ",-1))])}const sE=Object.assign(bl(tE,[["render",rE]]),{__name:"DevtoolsLoading"});function oE(e){return(t,n)=>iE(t,n,_(e))}function iE(e,t,n){return bu(n,`messages.${e}`,e).replace(/\{(\w+)\}/g,(s,o)=>`${t?.[o]??`{${o}}`}`)}function aE(e){const t=R(()=>_(e).name),n=R(()=>_(e).code),r=R(()=>_(e).dir);return{lang:t,code:n,dir:r,locale:Xe(e)?e:Q(e),t:oE(e)}}function lE(e){return Vn(e,{dir:"ltr"})}const wh=lE({name:"English",code:"en",messages:{alert:{close:"Close"},authForm:{hidePassword:"Hide password",showPassword:"Show password",submit:"Continue"},banner:{close:"Close"},calendar:{nextMonth:"Next month",nextYear:"Next year",prevMonth:"Previous month",prevYear:"Previous year"},carousel:{dots:"Choose slide to display",goto:"Go to slide {slide}",next:"Next",prev:"Prev"},chatPrompt:{placeholder:"Type your message here…"},chatPromptSubmit:{label:"Send prompt"},colorMode:{dark:"Dark",light:"Light",switchToDark:"Switch to dark mode",switchToLight:"Switch to light mode",system:"System"},commandPalette:{back:"Back",close:"Close",noData:"No data",noMatch:"No matching data",placeholder:"Type a command or search…"},contentSearch:{links:"Links",search:"Results",theme:"Theme"},contentSearchButton:{label:"Search…"},contentToc:{title:"On this page"},dropdownMenu:{noMatch:"No matching data",search:"Search…"},dashboardSearch:{theme:"Theme"},dashboardSearchButton:{label:"Search…"},dashboardSidebarCollapse:{collapse:"Collapse sidebar",expand:"Expand sidebar"},dashboardSidebarToggle:{close:"Close sidebar",open:"Open sidebar"},error:{clear:"Back to home"},fileUpload:{removeFile:"Remove {filename}"},header:{close:"Close menu",open:"Open menu"},inputMenu:{create:'Create "{label}"',noData:"No data",noMatch:"No matching data"},inputNumber:{decrement:"Decrement",increment:"Increment"},listbox:{noData:"No data",noMatch:"No matching data",search:"Search…"},modal:{close:"Close"},pricingTable:{caption:"Pricing plan comparison"},prose:{codeCollapse:{closeText:"Collapse",name:"code",openText:"Expand"},collapsible:{closeText:"Hide",name:"properties",openText:"Show"},pre:{copy:"Copy code to clipboard"},prompt:{copy:"Copy prompt",openIn:"Open in {name}"}},chatReasoning:{thinking:"Thinking…",thought:"Thought",thoughtFor:"Thought for {duration}"},sidebar:{close:"Close",toggle:"Toggle"},selectMenu:{create:'Create "{label}"',noData:"No data",noMatch:"No matching data",search:"Search…"},slideover:{close:"Close"},table:{noData:"No data"},toast:{close:"Close"}}}),Ry=Symbol.for("nuxt-ui.locale-context"),cE=e=>{const t=e||Nt(We(Ry,wh));return aE(R(()=>t.value||wh))},Oy=pf(cE),Iy=Symbol("nuxt-ui.toast-max");function uE(){const e=lm("toasts",()=>[]),t=We(Iy,void 0),n=Q(!1),r=[],s=()=>`${Date.now()}-${Math.random().toString(36).slice(2,9)}`;async function o(){if(!(n.value||r.length===0)){for(n.value=!0;r.length>0;){const u=r.shift();await At(),e.value=[...e.value,u].slice(-(t?.value??5))}n.value=!1}}function i(u){const f={id:s(),open:!0,...u},d=e.value.findIndex(p=>p.id===f.id);return d!==-1?(e.value[d]={...e.value[d],...f,_duplicate:(e.value[d]._duplicate||0)+1},f):(r.push(f),o(),f)}function a(u,f){const d=e.value.findIndex(p=>p.id===u);d!==-1&&(e.value[d]={...e.value[d],...f,duration:f.duration,open:!0,_updated:!0},At(()=>{const p=e.value.findIndex(h=>h.id===u);p!==-1&&e.value[p]._updated&&(e.value[p]={...e.value[p],_updated:void 0})}))}function l(u){const f=e.value.findIndex(d=>d.id===u);f!==-1&&e.value[f]._updated||(f!==-1&&(e.value[f]={...e.value[f],open:!1}),setTimeout(()=>{e.value=e.value.filter(d=>d.id!==u)},200))}function c(){e.value=[]}return{toasts:e,add:i,update:a,remove:l,clear:c}}const fE={slots:{root:"gap-2",base:"relative overflow-hidden rounded-full bg-accented",indicator:"rounded-full size-full transition-transform duration-200 ease-out",status:"flex text-dimmed transition-[width] duration-200",steps:"grid items-end",step:"truncate text-end row-start-1 col-start-1 transition-opacity"},variants:{animation:{carousel:"","carousel-inverse":"",swing:"",elastic:""},color:{primary:{indicator:"bg-primary",steps:"text-primary"},secondary:{indicator:"bg-secondary",steps:"text-secondary"},success:{indicator:"bg-success",steps:"text-success"},info:{indicator:"bg-info",steps:"text-info"},warning:{indicator:"bg-warning",steps:"text-warning"},error:{indicator:"bg-error",steps:"text-error"},neutral:{indicator:"bg-inverted",steps:"text-inverted"}},size:{"2xs":{status:"text-xs",steps:"text-xs"},xs:{status:"text-xs",steps:"text-xs"},sm:{status:"text-sm",steps:"text-sm"},md:{status:"text-sm",steps:"text-sm"},lg:{status:"text-sm",steps:"text-sm"},xl:{status:"text-base",steps:"text-base"},"2xl":{status:"text-base",steps:"text-base"}},step:{active:{step:"opacity-100"},first:{step:"opacity-100 text-muted"},other:{step:"opacity-0"},last:{step:""}},orientation:{horizontal:{root:"w-full flex flex-col",base:"w-full",status:"flex-row items-center justify-end min-w-fit"},vertical:{root:"h-full flex flex-row-reverse",base:"h-full",status:"flex-col justify-end min-h-fit"}},inverted:{true:{status:"self-end"}}},compoundVariants:[{inverted:!0,orientation:"horizontal",class:{step:"text-start",status:"flex-row-reverse"}},{inverted:!0,orientation:"vertical",class:{steps:"items-start",status:"flex-col-reverse"}},{orientation:"horizontal",size:"2xs",class:"h-px"},{orientation:"horizontal",size:"xs",class:"h-0.5"},{orientation:"horizontal",size:"sm",class:"h-1"},{orientation:"horizontal",size:"md",class:"h-2"},{orientation:"horizontal",size:"lg",class:"h-3"},{orientation:"horizontal",size:"xl",class:"h-4"},{orientation:"horizontal",size:"2xl",class:"h-5"},{orientation:"vertical",size:"2xs",class:"w-px"},{orientation:"vertical",size:"xs",class:"w-0.5"},{orientation:"vertical",size:"sm",class:"w-1"},{orientation:"vertical",size:"md",class:"w-2"},{orientation:"vertical",size:"lg",class:"w-3"},{orientation:"vertical",size:"xl",class:"w-4"},{orientation:"vertical",size:"2xl",class:"w-5"},{orientation:"horizontal",animation:"carousel",class:{indicator:"data-[state=indeterminate]:animate-[carousel_2s_ease-in-out_infinite] data-[state=indeterminate]:rtl:animate-[carousel-rtl_2s_ease-in-out_infinite]"}},{orientation:"vertical",animation:"carousel",class:{indicator:"data-[state=indeterminate]:animate-[carousel-vertical_2s_ease-in-out_infinite]"}},{orientation:"horizontal",animation:"carousel-inverse",class:{indicator:"data-[state=indeterminate]:animate-[carousel-inverse_2s_ease-in-out_infinite] data-[state=indeterminate]:rtl:animate-[carousel-inverse-rtl_2s_ease-in-out_infinite]"}},{orientation:"vertical",animation:"carousel-inverse",class:{indicator:"data-[state=indeterminate]:animate-[carousel-inverse-vertical_2s_ease-in-out_infinite]"}},{orientation:"horizontal",animation:"swing",class:{indicator:"data-[state=indeterminate]:animate-[swing_2s_ease-in-out_infinite]"}},{orientation:"vertical",animation:"swing",class:{indicator:"data-[state=indeterminate]:animate-[swing-vertical_2s_ease-in-out_infinite]"}},{orientation:"horizontal",animation:"elastic",class:{indicator:"data-[state=indeterminate]:animate-[elastic_2s_ease-in-out_infinite]"}},{orientation:"vertical",animation:"elastic",class:{indicator:"data-[state=indeterminate]:animate-[elastic-vertical_2s_ease-in-out_infinite]"}}],defaultVariants:{animation:"carousel",color:"primary",size:"md"}},dE={__name:"UProgress",props:{as:{type:null,required:!1},max:{type:[Number,Array],required:!1},status:{type:Boolean,required:!1},inverted:{type:Boolean,required:!1,default:!1},size:{type:null,required:!1},color:{type:null,required:!1},orientation:{type:null,required:!1,default:"horizontal"},animation:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},getValueLabel:{type:Function,required:!1},getValueText:{type:Function,required:!1},modelValue:{type:[Number,null],required:!1,default:null}},emits:["update:modelValue","update:max"],setup(e,{emit:t}){const n=e,r=t,s=Xs(),o=Wn("progress",n),{dir:i}=Oy(),a=vt(),l=gi(us(o,"getValueLabel","getValueText","modelValue"),r),c=R(()=>l.value.modelValue===null),u=R(()=>Array.isArray(o.max)),f=R(()=>{if(!(c.value||!o.max))return Array.isArray(o.max)?o.max.length-1:Number(o.max)}),d=R(()=>{if(!c.value)switch(!0){case l.value.modelValue<0:return 0;case l.value.modelValue>(f.value??100):return 100;default:return Math.round(l.value.modelValue/(f.value??100)*100)}}),p=R(()=>{if(d.value!==void 0)return o.orientation==="vertical"?{transform:`translateY(${o.inverted?"":"-"}${100-d.value}%)`}:i.value==="rtl"?{transform:`translateX(${o.inverted?"-":""}${100-d.value}%)`}:{transform:`translateX(${o.inverted?"":"-"}${100-d.value}%)`}}),h=R(()=>{const w=`${Math.max(d.value??0,0)}%`;return o.orientation==="vertical"?{height:w}:{width:w}});function m(w){return w===Number(o.modelValue)}function v(w){return w===0}function b(w){return w===f.value}function y(w){return w=Number(w),m(w)&&!v(w)?"active":v(w)&&m(w)?"first":b(w)&&m(w)?"last":"other"}const g=R(()=>nt({extend:nt(fE),...a.ui?.progress||{}})({animation:o.animation,size:o.size,color:o.color,orientation:o.orientation,inverted:o.inverted}));return(w,x)=>(N(),W(_(st),{as:_(o).as,"data-orientation":_(o).orientation,"data-slot":"root",class:Te(g.value.root({class:[_(o).ui?.root,_(o).class]}))},{default:Z(()=>[!c.value&&(_(o).status||s.status)?(N(),Ee("div",{key:0,"data-slot":"status",class:Te(g.value.status({class:_(o).ui?.status})),style:wn(h.value)},[ce(w.$slots,"status",{percent:d.value},()=>[Dt(Qe(d.value)+"% ",1)])],6)):xe("",!0),re(_(Lx),be(_(l),{max:f.value,"data-slot":"base",class:g.value.base({class:_(o).ui?.base}),style:{transform:"translateZ(0)"}}),{default:Z(()=>[re(_(Nx),{"data-slot":"indicator",class:Te(g.value.indicator({class:_(o).ui?.indicator})),style:wn(p.value)},null,8,["class","style"])]),_:1},16,["max","class"]),u.value?(N(),Ee("div",{key:1,"data-slot":"steps",class:Te(g.value.steps({class:_(o).ui?.steps}))},[(N(!0),Ee(ze,null,ur(_(o).max,(S,k)=>(N(),Ee("div",{key:k,"data-slot":"step",class:Te(g.value.step({class:_(o).ui?.step,step:y(k)}))},[ce(w.$slots,`step-${k}`,{step:S},()=>[Dt(Qe(S),1)])],2))),128))],2)):xe("",!0)]),_:3},8,["as","data-orientation","class"]))}},pE={slots:{root:"relative group overflow-hidden bg-default shadow-lg rounded-lg ring ring-default p-4 flex gap-2.5",wrapper:"w-0 flex-1 flex flex-col",title:"text-sm font-medium text-highlighted",description:"text-sm text-muted",icon:"shrink-0 size-5",avatar:"shrink-0",avatarSize:"2xl",actions:"flex gap-1.5 shrink-0",progress:"absolute inset-x-0 bottom-0",close:"p-0"},variants:{color:{primary:{root:"outline-primary/25 focus-visible:outline-3 focus-visible:ring-primary",icon:"text-primary"},secondary:{root:"outline-secondary/25 focus-visible:outline-3 focus-visible:ring-secondary",icon:"text-secondary"},success:{root:"outline-success/25 focus-visible:outline-3 focus-visible:ring-success",icon:"text-success"},info:{root:"outline-info/25 focus-visible:outline-3 focus-visible:ring-info",icon:"text-info"},warning:{root:"outline-warning/25 focus-visible:outline-3 focus-visible:ring-warning",icon:"text-warning"},error:{root:"outline-error/25 focus-visible:outline-3 focus-visible:ring-error",icon:"text-error"},neutral:{root:"outline-inverted/25 focus-visible:outline-3 focus-visible:ring-inverted",icon:"text-highlighted"}},orientation:{horizontal:{root:"items-center",actions:"items-center"},vertical:{root:"items-start",actions:"items-start mt-2.5"}},title:{true:{description:"mt-1"}}},defaultVariants:{color:"primary"}},hE={__name:"UToast",props:{as:{type:null,required:!1},title:{type:[String,Object,Function],required:!1},description:{type:[String,Object,Function],required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},color:{type:null,required:!1},orientation:{type:null,required:!1,default:"vertical"},close:{type:[Boolean,Object],required:!1,default:!0},closeIcon:{type:null,required:!1},actions:{type:Array,required:!1},duration:{type:Number,required:!1},progress:{type:[Boolean,Object],required:!1,default:!0},class:{type:null,required:!1},ui:{type:Object,required:!1},defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1},type:{type:String,required:!1}},emits:["escapeKeyDown","pause","resume","swipeStart","swipeMove","swipeCancel","swipeEnd","update:open"],setup(e,{expose:t,emit:n}){const r=e,s=n,o=Xs(),i=Wn("toast",r),{t:a}=Oy(),l=vt(),c=gi(us(i,"as","defaultOpen","open","duration","type"),s),u=R(()=>nt({extend:nt(pE),...l.ui?.toast||{}})({color:i.color,orientation:i.orientation,title:!!i.title||!!o.title})),f=s0("rootRef"),d=Q(0);return It(()=>{f.value?.$el?.getBoundingClientRect&&(d.value=f.value.$el.getBoundingClientRect().height)}),t({height:d}),(p,h)=>(N(),W(_(oC),be({ref_key:"rootRef",ref:f},_(c),{"data-orientation":_(i).orientation,"data-slot":"root",class:u.value.root({class:[_(i).ui?.root,_(i).class]}),style:{"--height":d.value}}),{default:Z(({remaining:m,duration:v,open:b})=>[ce(p.$slots,"leading",{ui:u.value},()=>[_(i).avatar?(N(),W(El,be({key:0,size:_(i).ui?.avatarSize||u.value.avatarSize()},_(i).avatar,{"data-slot":"avatar",class:u.value.avatar({class:_(i).ui?.avatar})}),null,16,["size","class"])):_(i).icon?(N(),W(En,{key:1,name:_(i).icon,"data-slot":"icon",class:Te(u.value.icon({class:_(i).ui?.icon}))},null,8,["name","class"])):xe("",!0)]),ke("div",{"data-slot":"wrapper",class:Te(u.value.wrapper({class:_(i).ui?.wrapper}))},[_(i).title||o.title?(N(),W(_(aC),{key:0,"data-slot":"title",class:Te(u.value.title({class:_(i).ui?.title}))},{default:Z(()=>[ce(p.$slots,"title",{},()=>[typeof _(i).title=="function"?(N(),W(Ln(_(i).title()),{key:0})):typeof _(i).title=="object"?(N(),W(Ln(_(i).title),{key:1})):(N(),Ee(ze,{key:2},[Dt(Qe(_(i).title),1)],64))])]),_:3},8,["class"])):xe("",!0),_(i).description||o.description?(N(),W(_(tC),{key:1,"data-slot":"description",class:Te(u.value.description({class:_(i).ui?.description}))},{default:Z(()=>[ce(p.$slots,"description",{},()=>[typeof _(i).description=="function"?(N(),W(Ln(_(i).description()),{key:0})):typeof _(i).description=="object"?(N(),W(Ln(_(i).description),{key:1})):(N(),Ee(ze,{key:2},[Dt(Qe(_(i).description),1)],64))])]),_:3},8,["class"])):xe("",!0),_(i).orientation==="vertical"&&(_(i).actions?.length||o.actions)?(N(),Ee("div",{key:2,"data-slot":"actions",class:Te(u.value.actions({class:_(i).ui?.actions}))},[ce(p.$slots,"actions",{},()=>[(N(!0),Ee(ze,null,ur(_(i).actions,(y,g)=>(N(),W(_(oh),{key:g,"alt-text":y.label||"Action","as-child":"",onClick:h[0]||(h[0]=Ms(()=>{},["stop"]))},{default:Z(()=>[re(Mo,be({size:"xs",color:_(i).color},{ref_for:!0},y),null,16,["color"])]),_:2},1032,["alt-text"]))),128))])],2)):xe("",!0)],2),_(i).orientation==="horizontal"&&(_(i).actions?.length||o.actions)||_(i).close?(N(),Ee("div",{key:0,"data-slot":"actions",class:Te(u.value.actions({class:_(i).ui?.actions,orientation:"horizontal"}))},[_(i).orientation==="horizontal"&&(_(i).actions?.length||o.actions)?ce(p.$slots,"actions",{key:0},()=>[(N(!0),Ee(ze,null,ur(_(i).actions,(y,g)=>(N(),W(_(oh),{key:g,"alt-text":y.label||"Action","as-child":"",onClick:h[1]||(h[1]=Ms(()=>{},["stop"]))},{default:Z(()=>[re(Mo,be({size:"xs",color:_(i).color},{ref_for:!0},y),null,16,["color"])]),_:2},1032,["alt-text"]))),128))]):xe("",!0),_(i).close||o.close?(N(),W(_(Km),{key:1,"as-child":""},{default:Z(()=>[ce(p.$slots,"close",{ui:u.value},()=>[_(i).close?(N(),W(Mo,be({key:0,icon:_(i).closeIcon||_(l).ui.icons.close,color:"neutral",variant:"link","aria-label":_(a)("toast.close")},typeof _(i).close=="object"?_(i).close:{},{"data-slot":"close",class:u.value.close({class:_(i).ui?.close}),onClick:h[2]||(h[2]=Ms(()=>{},["stop"]))}),null,16,["icon","aria-label","class"])):xe("",!0)])]),_:3})):xe("",!0)],2)):xe("",!0),_(i).progress&&b&&m>0&&v?(N(),W(dE,be({key:1,"model-value":m/v*100,color:_(i).color},typeof _(i).progress=="object"?_(i).progress:{},{size:"sm","data-slot":"progress",class:u.value.progress({class:_(i).ui?.progress})}),null,16,["model-value","color","class"])):xe("",!0)]),_:3},16,["data-orientation","class","style"]))}},gE={slots:{viewport:"fixed flex flex-col w-[calc(100%-2rem)] sm:w-96 z-[100] data-[expanded=true]:h-(--height) focus:outline-none",base:"pointer-events-auto absolute inset-x-0 z-(--index) transform-(--transform) data-[expanded=false]:data-[front=false]:h-(--front-height) data-[expanded=false]:data-[front=false]:*:opacity-0 data-[front=false]:*:transition-opacity data-[front=false]:*:duration-100 data-[state=closed]:animate-[toast-closed_200ms_ease-in-out] data-[state=closed]:data-[expanded=false]:data-[front=false]:animate-[toast-collapsed-closed_200ms_ease-in-out] data-[state=open]:data-[pulsing=odd]:animate-[toast-pulse-a_300ms_ease-out] data-[state=open]:data-[pulsing=even]:animate-[toast-pulse-b_300ms_ease-out] data-[swipe=move]:transition-none transition-[transform,translate,height] duration-200 ease-out"},variants:{position:{"top-left":{viewport:"left-4"},"top-center":{viewport:"left-1/2 transform -translate-x-1/2"},"top-right":{viewport:"right-4"},"bottom-left":{viewport:"left-4"},"bottom-center":{viewport:"left-1/2 transform -translate-x-1/2"},"bottom-right":{viewport:"right-4"}},swipeDirection:{up:"data-[swipe=end]:animate-[toast-slide-up_200ms_ease-out]",right:"data-[swipe=end]:animate-[toast-slide-right_200ms_ease-out]",down:"data-[swipe=end]:animate-[toast-slide-down_200ms_ease-out]",left:"data-[swipe=end]:animate-[toast-slide-left_200ms_ease-out]"}},compoundVariants:[{position:["top-left","top-center","top-right"],class:{viewport:"top-4",base:"top-0 data-[state=open]:animate-[toast-slide-in-from-top_200ms_ease-in-out]"}},{position:["bottom-left","bottom-center","bottom-right"],class:{viewport:"bottom-4",base:"bottom-0 data-[state=open]:animate-[toast-slide-in-from-bottom_200ms_ease-in-out]"}},{swipeDirection:["left","right"],class:"data-[swipe=move]:translate-x-(--reka-toast-swipe-move-x) data-[swipe=end]:translate-x-(--reka-toast-swipe-end-x) data-[swipe=cancel]:translate-x-0"},{swipeDirection:["up","down"],class:"data-[swipe=move]:translate-y-(--reka-toast-swipe-move-y) data-[swipe=end]:translate-y-(--reka-toast-swipe-end-y) data-[swipe=cancel]:translate-y-0"}],defaultVariants:{position:"bottom-right"}},mE={name:"Toaster"},yE=Object.assign(mE,{props:{position:{type:null,required:!1},expand:{type:Boolean,required:!1,default:!0},progress:{type:Boolean,required:!1,default:!0},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},max:{type:Number,required:!1,default:5},class:{type:null,required:!1},ui:{type:Object,required:!1},label:{type:String,required:!1},duration:{type:Number,required:!1,default:5e3},disableSwipe:{type:Boolean,required:!1},swipeThreshold:{type:Number,required:!1}},setup(e){const n=Wn("toaster",e),{toasts:r,remove:s}=uE(),o=vt();qt(Iy,Nt(()=>n.max));const i=gi(us(n,"duration","label","swipeThreshold","disableSwipe")),a=Ty(Nt(()=>n.portal)),l=R(()=>{switch(n.position){case"top-center":return"up";case"top-right":case"bottom-right":return"right";case"bottom-center":return"down";case"top-left":case"bottom-left":return"left"}return"right"}),c=R(()=>nt({extend:nt(gE),...o.ui?.toaster||{}})({position:n.position,swipeDirection:l.value}));function u(b,y){b||s(y)}const f=Q(!1),d=R(()=>n.expand||f.value),p=Q([]),h=R(()=>p.value.reduce((b,{height:y})=>b+y+16,0)),m=R(()=>p.value[p.value.length-1]?.height||0);function v(b){return p.value.slice(b+1).reduce((y,{height:g})=>y+g+16,0)}return(b,y)=>(N(),W(_(jx),be({"swipe-direction":l.value},_(i)),{default:Z(()=>[ce(b.$slots,"default"),(N(!0),Ee(ze,null,ur(_(r),(g,w)=>(N(),W(hE,be({key:g.id,ref_for:!0,ref_key:"refs",ref:p,progress:_(n).progress},{ref_for:!0},_(iy)(g,["id","close","_duplicate","_updated"]),{close:g.close,"data-expanded":d.value,"data-front":!d.value&&w===_(r).length-1,"data-pulsing":g._duplicate?g._duplicate%2===0?"even":"odd":void 0,style:{"--index":w-_(r).length+_(r).length,"--before":_(r).length-1-w,"--offset":v(w),"--scale":d.value?"1":"calc(1 - var(--before) * var(--scale-factor))","--translate":d.value?"calc(var(--offset) * var(--translate-factor))":"calc(var(--before) * var(--gap))","--transform":"translateY(var(--translate)) scale(var(--scale))"},"data-slot":"base",class:c.value.base({class:[_(n).ui?.base,g.onClick?"cursor-pointer":void 0]}),"onUpdate:open":x=>u(x,g.id),onClick:x=>g.onClick&&g.onClick(g)}),null,16,["progress","close","data-expanded","data-front","data-pulsing","style","class","onUpdate:open","onClick"]))),128)),re(_(rC),Ht(en(_(a))),{default:Z(()=>[re(_(uC),{"data-expanded":d.value,"data-slot":"viewport",class:Te(c.value.viewport({class:[_(n).ui?.viewport,_(n).class]})),style:wn({"--scale-factor":"0.05","--translate-factor":_(n).position?.startsWith("top")?"1px":"-1px","--gap":_(n).position?.startsWith("top")?"16px":"-16px","--front-height":`${m.value}px`,"--height":`${h.value}px`}),onMouseenter:y[0]||(y[0]=g=>f.value=!0),onMouseleave:y[1]||(y[1]=g=>f.value=!1)},null,8,["data-expanded","class","style"])]),_:1},16)]),_:3},16,["swipe-direction"]))}}),vE=Object.assign(yE,{__name:"UToaster"});function bE(){const e=hn([]),t=(c,u)=>{const{props:f,defaultOpen:d,destroyOnClose:p}=u||{},h=xt({id:Symbol(""),isOpen:!!d,component:tf(c),isMounted:!!d,destroyOnClose:!!p,originalProps:f||{},props:{...f}});return e.push(h),{...h,open:m=>n(h.id,m),close:m=>r(h.id,m),patch:m=>i(h.id,m)}},n=(c,u)=>{const f=a(c);u?f.props={...f.originalProps,...u}:f.props={...f.originalProps},f.isOpen=!0,f.isMounted=!0;const d=new Promise(p=>f.resolvePromise=p);return Object.assign(d,{id:c,isMounted:f.isMounted,isOpen:f.isOpen,result:d})},r=(c,u)=>{const f=a(c);f.isOpen=!1,f.resolvePromise&&(f.resolvePromise(u),f.resolvePromise=void 0)},s=()=>{e.forEach(c=>r(c.id))},o=c=>{const u=a(c);if(u.isMounted=!1,u.destroyOnClose){const f=e.findIndex(d=>d.id===c);e.splice(f,1)}},i=(c,u)=>{const f=a(c);f.props={...f.props,...u}},a=c=>{const u=e.find(f=>f.id===c);if(!u)throw new Error("Overlay not found");return u};return{overlays:e,open:n,close:r,closeAll:s,create:t,patch:i,unmount:o,isOpen:c=>a(c).isOpen}}const wE=pf(bE),_E={__name:"UOverlayProvider",setup(e){const{overlays:t,unmount:n,close:r}=wE(),s=R(()=>t.filter(a=>a.isMounted)),o=a=>{r(a),n(a)},i=(a,l)=>{r(a,l)};return(a,l)=>(N(!0),Ee(ze,null,ur(s.value,c=>(N(),W(Ln(c.component),be({key:c.id},{ref_for:!0},c.props,{open:c.isOpen,"onUpdate:open":u=>c.isOpen=u,onClose:u=>i(c.id,u),"onAfter:leave":u=>o(c.id)}),null,16,["open","onUpdate:open","onClose","onAfter:leave"]))),128))}},xE={name:"App"},CE=Object.assign(xE,{props:{tooltip:{type:Object,required:!1},toaster:{type:[Object,null],required:!1},locale:{type:Object,required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:"body"},dir:{type:String,required:!1},scrollBody:{type:[Boolean,Object],required:!1},nonce:{type:String,required:!1}},setup(e){const t=e,n=di(us(t,"scrollBody")),r=Nt(()=>t.tooltip),s=Nt(()=>t.toaster),o=Nt(()=>t.locale);return qt(Ry,o),qt(Ay,Nt(()=>t.portal)),(a,l)=>(N(),W(_(z7),be({"use-id":()=>r0(),dir:t.dir||o.value?.dir,locale:o.value?.code},_(n)),{default:Z(()=>[re(_(gC),Ht(en(r.value)),{default:Z(()=>[e.toaster!==null?(N(),W(vE,Ht(be({key:0},s.value)),{default:Z(()=>[ce(a.$slots,"default")]),_:3},16)):ce(a.$slots,"default",{key:1}),re(_E)]),_:3},16)]),_:3},16,["use-id","dir","locale"]))}}),kE=Object.assign(CE,{__name:"UApp"});let SE;const go=[];function EE(e){if(go.push(e),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&go.forEach(t=>t(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(t){t&&go.forEach(n=>n(t))},get(){return SE.value},configurable:!0}),()=>{go.splice(go.indexOf(e),1)}}const AE=globalThis.setInterval,_h=Q(),TE=Q(),Au=Q("dark"),PE="/__nuxt-scripts-api/state",RE=2e3;function OE(e={}){window.parent!==window&&EE(async r=>{if(xa.value=!0,_h.value=r.host.app.$fetch,dn(()=>{Au.value=r.host.app.colorMode.value}),TE.value=r.devtools,e.onConnected?.(r),e.onRouteChange){const s=r.host.nuxt.vueApp.config.globalProperties?.$route;e.onRouteChange(s);const o=r.host.nuxt.$router.afterEach(i=>{e.onRouteChange(i)});r.host.nuxt.hook("app:unmount",o)}});let n;Ne(()=>ns.value,r=>{n&&(clearInterval(n),n=void 0),r&&!xa.value&&(_h.value=i1.create({baseURL:r}),Au.value=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light",V4(),xh(r),n=AE(xh,RE,r))},{immediate:!0}),ii(()=>{n&&clearInterval(n)})}async function xh(e){try{const t=await fetch(`${e}${PE}`,{signal:AbortSignal.timeout(3e3)});if(!t.ok)return;const n=await t.json();n.version&&(gf.value=n.version),n.firstPartyData&&(zs.value=n.firstPartyData),n.scripts&&ka(n.scripts),n.route?.path&&!n.route.path.startsWith("/__nuxt-scripts")&&(C1.value=n.route.path,U4.value=n.route.query)}catch{}}OE({onConnected:e=>{e.host.nuxt.hooks.hook("scripts:updated",t=>{ka(t.scripts)}),gf.value=e.host.nuxt.$config.public["nuxt-scripts"].version,zs.value=e.host.nuxt.$config.public["nuxt-scripts-devtools"]||null,ka(e.host.nuxt._scripts||{})}});const IE={class:"relative bg-base flex flex-col min-h-screen"},ME={class:"devtools-header glass sticky top-0 z-50"},LE={class:"devtools-header-content"},$E={class:"flex items-center gap-3 sm:gap-4"},NE={href:"https://scripts.nuxt.com",target:"_blank",rel:"noopener","aria-label":"Nuxt Scripts",class:"flex items-center opacity-90 hover:opacity-100 transition-opacity"},DE={class:"flex items-center gap-2"},BE={class:"devtools-brand-icon","aria-hidden":"true"},FE={class:"text-sm sm:text-base font-semibold tracking-tight text-[var(--color-text)]"},jE={class:"hidden sm:inline"},zE={key:0,class:"devtools-production-badge"},qE={key:0,class:"mode-dropdown-menu"},HE={class:"devtools-production-badge text-[10px]"},UE={key:2,class:"standalone-indicator"},VE={class:"text-xs font-mono"},GE={class:"flex items-center gap-1 sm:gap-2"},WE={class:"devtools-nav-tabs"},KE={class:"devtools-nav-tab-inner"},XE={class:"devtools-nav-label"},YE=["onClick"],JE={class:"devtools-nav-tab-inner"},ZE={class:"devtools-nav-label"},QE={class:"flex items-center gap-1"},eA={key:0,class:"standalone-path-bar"},tA={class:"standalone-path-inner"},nA={class:"standalone-path-display"},rA={class:"devtools-main"},sA={class:"devtools-main-content"},oA=ge({__name:"DevtoolsLayout",props:Mc({title:{},icon:{},version:{},navItems:{},githubUrl:{},loading:{type:Boolean,default:!1}},{activeTab:{},activeTabModifiers:{}}),emits:Mc(["refresh"],["update:activeTab"]),setup(e,{emit:t}){const n=t,r=y0(e,"activeTab"),s=R(()=>Au.value==="dark");U1({title:`Nuxt ${e.title}`,htmlAttrs:{class:()=>s.value?"dark":""}});const o=R(()=>Pi.value?e.navItems.filter(h=>!h.devOnly):e.navItems),i=R(()=>{try{return new URL(Uc.value).hostname}catch{return Uc.value}}),a=R(()=>e.navItems.some(h=>h.to)),l=Q(!1),c=Q();P4(c,()=>{l.value=!1});function u(h){k1.value=h,l.value=!1}const f=R(()=>{try{return new URL(ns.value).host}catch{return ns.value}}),d=R(()=>!xa.value&&!_o.value);function p(){ns.value=""}return(h,m)=>{const v=D7,b=En,y=kS,g=RS,w=Py,x=Mo,S=eE,k=sE,T=kE;return N(),W(T,null,{default:Z(()=>[ke("div",IE,[m[11]||(m[11]=ke("div",{class:"gradient-bg"},null,-1)),ke("header",ME,[ke("div",LE,[ke("div",$E,[ke("a",NE,[re(v,{class:"h-6 sm:h-7"})]),m[8]||(m[8]=ke("div",{class:"devtools-divider"},null,-1)),ke("div",DE,[ke("div",BE,[re(b,{name:e.icon,class:"text-base sm:text-lg"},null,8,["name"])]),ke("h1",FE,Qe(e.title),1),e.version?(N(),W(y,{key:0,class:"font-mono text-[10px] sm:text-xs hidden sm:inline-flex"},{default:Z(()=>[Dt(" v"+Qe(e.version),1)]),_:1})):xe("",!0),_(S1)&&!_(_o)?(N(),Ee("div",{key:1,ref_key:"modeDropdownRef",ref:c,class:"mode-dropdown-wrapper"},[ke("button",{type:"button",class:"devtools-mode-btn",onClick:m[0]||(m[0]=P=>l.value=!l.value)},[re(b,{name:_(Pi)?"carbon:cloud":"carbon:laptop",class:"w-3.5 h-3.5"},null,8,["name"]),ke("span",jE,Qe(_(Pi)?"Production":"Local"),1),_(Pi)?(N(),Ee("span",zE,[m[4]||(m[4]=ke("span",{class:"devtools-production-dot"},null,-1)),Dt(" "+Qe(i.value),1)])):xe("",!0),re(b,{name:"carbon:chevron-down",class:Te(["w-3 h-3 opacity-50 transition-transform",l.value?"rotate-180":""])},null,8,["class"])]),re(V0,{name:"dropdown"},{default:Z(()=>[l.value?(N(),Ee("div",qE,[ke("button",{type:"button",class:"mode-dropdown-item",onClick:m[1]||(m[1]=P=>u("local"))},[re(b,{name:"carbon:laptop",class:"w-4 h-4"}),m[5]||(m[5]=ke("span",null,"Local",-1))]),ke("button",{type:"button",class:"mode-dropdown-item",onClick:m[2]||(m[2]=P=>u("production"))},[re(b,{name:"carbon:cloud",class:"w-4 h-4"}),m[7]||(m[7]=ke("span",null,"Production",-1)),ke("span",HE,[m[6]||(m[6]=ke("span",{class:"devtools-production-dot"},null,-1)),Dt(" "+Qe(i.value),1)])])])):xe("",!0)]),_:1})],512)):xe("",!0),_(_o)?(N(),Ee("div",UE,[re(b,{name:"carbon:plug",class:"w-3.5 h-3.5 text-[var(--seo-green)]"}),ke("span",VE,Qe(f.value),1),re(g,{text:"Disconnect"},{default:Z(()=>[ke("button",{type:"button",class:"standalone-disconnect",onClick:p},[re(b,{name:"carbon:close",class:"w-3 h-3"})])]),_:1})])):xe("",!0)])]),ke("nav",GE,[ke("div",WE,[a.value?(N(!0),Ee(ze,{key:0},ur(o.value,P=>(N(),W(w,{key:P.value,to:P.to,class:Te(["devtools-nav-tab",[r.value===P.value?"active":"",e.loading?"opacity-50 pointer-events-none":""]])},{default:Z(()=>[re(g,{text:P.label},{default:Z(()=>[ke("div",KE,[re(b,{name:P.icon,class:Te(["text-base sm:text-lg",r.value===P.value?"text-[var(--seo-green)]":""])},null,8,["name","class"]),ke("span",XE,Qe(P.label),1)])]),_:2},1032,["text"])]),_:2},1032,["to","class"]))),128)):(N(!0),Ee(ze,{key:1},ur(o.value,P=>(N(),Ee("button",{key:P.value,type:"button",class:Te(["devtools-nav-tab",[r.value===P.value?"active":"",e.loading?"opacity-50 pointer-events-none":""]]),onClick:I=>r.value=P.value},[re(g,{text:P.label},{default:Z(()=>[ke("div",JE,[re(b,{name:P.icon,class:Te(["text-base sm:text-lg",r.value===P.value?"text-[var(--seo-green)]":""])},null,8,["name","class"]),ke("span",ZE,Qe(P.label),1)])]),_:2},1032,["text"])],10,YE))),128))]),ke("div",QE,[ce(h.$slots,"actions",{},void 0,!0),re(g,{text:"Refresh"},{default:Z(()=>[re(x,{icon:"carbon:reset","aria-label":"Refresh",class:"devtools-nav-action",onClick:m[3]||(m[3]=P=>n("refresh"))})]),_:1}),re(g,{text:"GitHub"},{default:Z(()=>[re(x,{icon:"simple-icons:github","aria-label":"GitHub",to:e.githubUrl,target:"_blank",class:"devtools-nav-action hidden sm:flex"},null,8,["to"])]),_:1})])])])]),_(_o)?(N(),Ee("div",eA,[ke("div",tA,[re(b,{name:"carbon:document",class:"w-3.5 h-3.5 text-[var(--color-text-muted)]"}),m[9]||(m[9]=ke("span",{class:"text-xs text-[var(--color-text-muted)]"},"Page:",-1)),ke("span",nA,Qe(_(C1)),1),m[10]||(m[10]=ke("span",{class:"text-[10px] text-[var(--color-text-subtle)] italic"},"synced from app",-1))])])):xe("",!0),ke("div",rA,[ke("main",sA,[d.value?(N(),W(S,{key:0})):xe("",!0),ld(re(k,null,null,512),[[Id,!d.value&&e.loading]]),ld(ke("div",null,[ce(h.$slots,"default",{},void 0,!0)],512),[[Id,!d.value&&!e.loading]])])])])]),_:3})}}}),iA=Object.assign(bl(oA,[["__scopeId","data-v-7bf91aea"]]),{__name:"DevtoolsLayout"});var et=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function aA(e){return Hf(e)}function Hf(e){return Array.isArray(e)?lA(e):e instanceof RegExp?e:typeof e=="object"?cA(e):e}function lA(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=Hf(e[n]);return t}function cA(e){let t={};for(let n in e)t[n]=Hf(e[n]);return t}function My(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function Ly(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?Ly(e.substring(0,e.length-1)):e.substr(~t+1)}var fc=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Ui=class{static hasCaptures(e){return e===null?!1:(fc.lastIndex=0,fc.test(e))}static replaceCaptures(e,t,n){return e.replace(fc,(r,s,o,i)=>{let a=n[parseInt(s||o,10)];if(a){let l=t.substring(a.start,a.end);for(;l[0]===".";)l=l.substring(1);switch(i){case"downcase":return l.toLowerCase();case"upcase":return l.toUpperCase();default:return l}}else return r})}};function $y(e,t){return e<t?-1:e>t?1:0}function Ny(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let s=0;s<n;s++){let o=$y(e[s],t[s]);if(o!==0)return o}return 0}return n-r}function Ch(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function Dy(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var By=class{constructor(e){this.fn=e}cache=new Map;get(e){if(this.cache.has(e))return this.cache.get(e);const t=this.fn(e);return this.cache.set(e,t),t}},Ba=class{constructor(e,t,n){this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(dA(e),t)}static createFromParsedTheme(e,t){return hA(e,t)}_cachedMatchRoot=new By(e=>this._root.match(e));getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;const t=e.scopeName,r=this._cachedMatchRoot.get(t).find(s=>uA(e.parent,s.parentScopes));return r?new Fy(r.fontStyle,r.foreground,r.background):null}},dc=class na{constructor(t,n){this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new na(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new na(n,t[r]);return n}push(t){return new na(this,t)}getSegments(){let t=this;const n=[];for(;t;)n.push(t.scopeName),t=t.parent;return n.reverse(),n}toString(){return this.getSegments().join(" ")}extends(t){return this===t?!0:this.parent===null?!1:this.parent.extends(t)}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push(r.scopeName),r=r.parent;return r===t?n.reverse():void 0}};function uA(e,t){if(t.length===0)return!0;for(let n=0;n<t.length;n++){let r=t[n],s=!1;if(r===">"){if(n===t.length-1)return!1;r=t[++n],s=!0}for(;e&&!fA(e.scopeName,r);){if(s)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function fA(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}var Fy=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function dA(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let s=0,o=t.length;s<o;s++){let i=t[s];if(!i.settings)continue;let a;if(typeof i.scope=="string"){let f=i.scope;f=f.replace(/^[,]+/,""),f=f.replace(/[,]+$/,""),a=f.split(",")}else Array.isArray(i.scope)?a=i.scope:a=[""];let l=-1;if(typeof i.settings.fontStyle=="string"){l=0;let f=i.settings.fontStyle.split(" ");for(let d=0,p=f.length;d<p;d++)switch(f[d]){case"italic":l=l|1;break;case"bold":l=l|2;break;case"underline":l=l|4;break;case"strikethrough":l=l|8;break}}let c=null;typeof i.settings.foreground=="string"&&Ch(i.settings.foreground)&&(c=i.settings.foreground);let u=null;typeof i.settings.background=="string"&&Ch(i.settings.background)&&(u=i.settings.background);for(let f=0,d=a.length;f<d;f++){let h=a[f].trim().split(" "),m=h[h.length-1],v=null;h.length>1&&(v=h.slice(0,h.length-1),v.reverse()),n[r++]=new pA(m,v,s,l,c,u)}}return n}var pA=class{constructor(e,t,n,r,s,o){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=s,this.background=o}},Ot=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e[e.Strikethrough=8]="Strikethrough",e))(Ot||{});function hA(e,t){e.sort((l,c)=>{let u=$y(l.scope,c.scope);return u!==0||(u=Ny(l.parentScopes,c.parentScopes),u!==0)?u:l.index-c.index});let n=0,r="#000000",s="#ffffff";for(;e.length>=1&&e[0].scope==="";){let l=e.shift();l.fontStyle!==-1&&(n=l.fontStyle),l.foreground!==null&&(r=l.foreground),l.background!==null&&(s=l.background)}let o=new gA(t),i=new Fy(n,o.getId(r),o.getId(s)),a=new yA(new Tu(0,null,-1,0,0),[]);for(let l=0,c=e.length;l<c;l++){let u=e[l];a.insert(0,u.scope,u.parentScopes,u.fontStyle,o.getId(u.foreground),o.getId(u.background))}return new Ba(o,i,a)}var gA=class{_isFrozen;_lastColorId;_id2color;_color2id;constructor(e){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,n=e.length;t<n;t++)this._color2id[e[t]]=t,this._id2color[t]=e[t]}else this._isFrozen=!1}getId(e){if(e===null)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw new Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},mA=Object.freeze([]),Tu=class jy{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(t,n,r,s,o){this.scopeDepth=t,this.parentScopes=n||mA,this.fontStyle=r,this.foreground=s,this.background=o}clone(){return new jy(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let n=[];for(let r=0,s=t.length;r<s;r++)n[r]=t[r].clone();return n}acceptOverwrite(t,n,r,s){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),s!==0&&(this.background=s)}},yA=class Pu{constructor(t,n=[],r={}){this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}_rulesWithParentScopes;static _cmpBySpecificity(t,n){if(t.scopeDepth!==n.scopeDepth)return n.scopeDepth-t.scopeDepth;let r=0,s=0;for(;t.parentScopes[r]===">"&&r++,n.parentScopes[s]===">"&&s++,!(r>=t.parentScopes.length||s>=n.parentScopes.length);){const o=n.parentScopes[s].length-t.parentScopes[r].length;if(o!==0)return o;r++,s++}return n.parentScopes.length-t.parentScopes.length}match(t){if(t!==""){let r=t.indexOf("."),s,o;if(r===-1?(s=t,o=""):(s=t.substring(0,r),o=t.substring(r+1)),this._children.hasOwnProperty(s))return this._children[s].match(o)}const n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(Pu._cmpBySpecificity),n}insert(t,n,r,s,o,i){if(n===""){this._doInsertHere(t,r,s,o,i);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 Pu(this._mainRule.clone(),Tu.cloneArr(this._rulesWithParentScopes)),this._children[l]=u),u.insert(t+1,c,r,s,o,i)}_doInsertHere(t,n,r,s,o){if(n===null){this._mainRule.acceptOverwrite(t,r,s,o);return}for(let i=0,a=this._rulesWithParentScopes.length;i<a;i++){let l=this._rulesWithParentScopes[i];if(Ny(l.parentScopes,n)===0){l.acceptOverwrite(t,r,s,o);return}}r===-1&&(r=this._mainRule.fontStyle),s===0&&(s=this._mainRule.foreground),o===0&&(o=this._mainRule.background),this._rulesWithParentScopes.push(new Tu(t,n,r,s,o))}},Gs=class rn{static toBinaryStr(t){return t.toString(2).padStart(32,"0")}static print(t){const n=rn.getLanguageId(t),r=rn.getTokenType(t),s=rn.getFontStyle(t),o=rn.getForeground(t),i=rn.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:s,foreground:o,background:i})}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static containsBalancedBrackets(t){return(t&1024)!==0}static getFontStyle(t){return(t&30720)>>>11}static getForeground(t){return(t&16744448)>>>15}static getBackground(t){return(t&4278190080)>>>24}static set(t,n,r,s,o,i,a){let l=rn.getLanguageId(t),c=rn.getTokenType(t),u=rn.containsBalancedBrackets(t)?1:0,f=rn.getFontStyle(t),d=rn.getForeground(t),p=rn.getBackground(t);return n!==0&&(l=n),r!==8&&(c=r),s!==null&&(u=s?1:0),o!==-1&&(f=o),i!==0&&(d=i),a!==0&&(p=a),(l<<0|c<<8|u<<10|f<<11|d<<15|p<<24)>>>0}};function Fa(e,t){const n=[],r=vA(e);let s=r.next();for(;s!==null;){let l=0;if(s.length===2&&s.charAt(1)===":"){switch(s.charAt(0)){case"R":l=1;break;case"L":l=-1;break;default:console.log(`Unknown priority ${s} in scope selector`)}s=r.next()}let c=i();if(n.push({matcher:c,priority:l}),s!==",")break;s=r.next()}return n;function o(){if(s==="-"){s=r.next();const l=o();return c=>!!l&&!l(c)}if(s==="("){s=r.next();const l=a();return s===")"&&(s=r.next()),l}if(kh(s)){const l=[];do l.push(s),s=r.next();while(kh(s));return c=>t(l,c)}return null}function i(){const l=[];let c=o();for(;c;)l.push(c),c=o();return u=>l.every(f=>f(u))}function a(){const l=[];let c=i();for(;c&&(l.push(c),s==="|"||s===",");){do s=r.next();while(s==="|"||s===",");c=i()}return u=>l.some(f=>f(u))}}function kh(e){return!!e&&!!e.match(/[\w\.:]+/)}function vA(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:()=>{if(!n)return null;const r=n[0];return n=t.exec(e),r}}}function zy(e){typeof e.dispose=="function"&&e.dispose()}var Qo=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},bA=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},wA=class{_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(e){const t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},_A=class{constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Qo(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){const e=this.Q;this.Q=[];const t=new wA;for(const n of e)xA(n,this.initialScopeName,this.repo,t);for(const n of t.references)if(n instanceof Qo){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 xA(e,t,n,r){const s=n.lookup(e.scopeName);if(!s){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const o=n.lookup(t);e instanceof Qo?ra({baseGrammar:o,selfGrammar:s},r):Ru(e.ruleName,{baseGrammar:o,selfGrammar:s,repository:s.repository},r);const i=n.injections(e.scopeName);if(i)for(const a of i)r.add(new Qo(a))}function Ru(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];ja([r],t,n)}}function ra(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&ja(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&ja(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function ja(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const s=r.repository?My({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&ja(r.patterns,{...t,repository:s},n);const o=r.include;if(!o)continue;const i=qy(o);switch(i.kind){case 0:ra({...t,selfGrammar:t.baseGrammar},n);break;case 1:ra(t,n);break;case 2:Ru(i.ruleName,{...t,repository:s},n);break;case 3:case 4:const a=i.scopeName===t.selfGrammar.scopeName?t.selfGrammar:i.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(a){const l={baseGrammar:t.baseGrammar,selfGrammar:a,repository:s};i.kind===4?Ru(i.ruleName,l,n):ra(l,n)}else i.kind===4?n.add(new bA(i.scopeName,i.ruleName)):n.add(new Qo(i.scopeName));break}}}var CA=class{kind=0},kA=class{kind=1},SA=class{constructor(e){this.ruleName=e}kind=2},EA=class{constructor(e){this.scopeName=e}kind=3},AA=class{constructor(e,t){this.scopeName=e,this.ruleName=t}kind=4};function qy(e){if(e==="$base")return new CA;if(e==="$self")return new kA;const t=e.indexOf("#");if(t===-1)return new EA(e);if(t===0)return new SA(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new AA(n,r)}}var TA=/\\(\d+)/,Sh=/\\(\d+)/g,PA=-1,Hy=-2;var mi=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(e,t,n,r){this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=Ui.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=Ui.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${Ly(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:Ui.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Ui.replaceCaptures(this._contentName,e,t)}},RA=class extends mi{retokenizeCapturedWithRuleId;constructor(e,t,n,r,s){super(e,t,n,r),this.retokenizeCapturedWithRuleId=s}dispose(){}collectPatterns(e,t){throw new Error("Not supported!")}compile(e,t){throw new Error("Not supported!")}compileAG(e,t,n,r){throw new Error("Not supported!")}},OA=class extends mi{_match;captures;_cachedCompiledPatterns;constructor(e,t,n,r,s){super(e,t,n,null),this._match=new ei(r,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,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new ti,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Eh=class extends mi{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,s){super(e,t,n,r),this.patterns=s.patterns,this.hasMissingPatterns=s.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(const n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new ti,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Ou=class extends mi{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,s,o,i,a,l,c){super(e,t,n,r),this._begin=new ei(s,this.id),this.beginCaptures=o,this._end=new ei(i||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=a,this.applyEndPatternLast=l||!1,this.patterns=c.patterns,this.hasMissingPatterns=c.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,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,r)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new ti;for(const n of this.patterns)e.getRule(n).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,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},za=class extends mi{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(e,t,n,r,s,o,i,a,l){super(e,t,n,r),this._begin=new ei(s,this.id),this.beginCaptures=o,this.whileCaptures=a,this._while=new ei(i,Hy),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=l.patterns,this.hasMissingPatterns=l.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,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new ti;for(const t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,n,r){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,r)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new ti,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||""),this._cachedCompiledWhilePatterns}},Uy=class Pt{static createCaptureRule(t,n,r,s,o){return t.registerRule(i=>new RA(n,i,r,s,o))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(s=>{if(t.id=s,t.match)return new OA(t.$vscodeTextmateLocation,t.id,t.name,t.match,Pt._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=My({},r,t.repository));let o=t.patterns;return typeof o>"u"&&t.include&&(o=[{include:t.include}]),new Eh(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,Pt._compilePatterns(o,n,r))}return t.while?new za(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Pt._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,Pt._compileCaptures(t.whileCaptures||t.captures,n,r),Pt._compilePatterns(t.patterns,n,r)):new Ou(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Pt._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,Pt._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,Pt._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let s=[];if(t){let o=0;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const a=parseInt(i,10);a>o&&(o=a)}for(let i=0;i<=o;i++)s[i]=null;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const a=parseInt(i,10);let l=0;t[i].patterns&&(l=Pt.getCompiledRuleId(t[i],n,r)),s[a]=Pt.createCaptureRule(n,t[i].$vscodeTextmateLocation,t[i].name,t[i].contentName,l)}}return s}static _compilePatterns(t,n,r){let s=[];if(t)for(let o=0,i=t.length;o<i;o++){const a=t[o];let l=-1;if(a.include){const c=qy(a.include);switch(c.kind){case 0:case 1:l=Pt.getCompiledRuleId(r[a.include],n,r);break;case 2:let u=r[c.ruleName];u&&(l=Pt.getCompiledRuleId(u,n,r));break;case 3:case 4:const f=c.scopeName,d=c.kind===4?c.ruleName:null,p=n.getExternalGrammar(f,r);if(p)if(d){let h=p.repository[d];h&&(l=Pt.getCompiledRuleId(h,n,p.repository))}else l=Pt.getCompiledRuleId(p.repository.$self,n,p.repository);break}}else l=Pt.getCompiledRuleId(a,n,r);if(l!==-1){const c=n.getRule(l);let u=!1;if((c instanceof Eh||c instanceof Ou||c instanceof za)&&c.hasMissingPatterns&&c.patterns.length===0&&(u=!0),u)continue;s.push(l)}}return{patterns:s,hasMissingPatterns:(t?t.length:0)!==s.length}}},ei=class Vy{source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(t,n){if(t&&typeof t=="string"){const r=t.length;let s=0,o=[],i=!1;for(let a=0;a<r;a++)if(t.charAt(a)==="\\"&&a+1<r){const c=t.charAt(a+1);c==="z"?(o.push(t.substring(s,a)),o.push("$(?!\\n)(?<!\\n)"),s=a+2):(c==="A"||c==="G")&&(i=!0),a++}this.hasAnchor=i,s===0?this.source=t:(o.push(t.substring(s,r)),this.source=o.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,typeof this.source=="string"?this.hasBackReferences=TA.test(this.source):this.hasBackReferences=!1}clone(){return new Vy(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,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(s=>t.substring(s.start,s.end));return Sh.lastIndex=0,this.source.replace(Sh,(s,o)=>Dy(r[parseInt(o,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let t=[],n=[],r=[],s=[],o,i,a,l;for(o=0,i=this.source.length;o<i;o++)a=this.source.charAt(o),t[o]=a,n[o]=a,r[o]=a,s[o]=a,a==="\\"&&o+1<i&&(l=this.source.charAt(o+1),l==="A"?(t[o+1]="",n[o+1]="",r[o+1]="A",s[o+1]="A"):l==="G"?(t[o+1]="",n[o+1]="G",r[o+1]="",s[o+1]="G"):(t[o+1]=l,n[o+1]=l,r[o+1]=l,s[o+1]=l),o++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:s.join("")}}resolveAnchors(t,n){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:t?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},ti=class{_items;_hasAnchors;_cached;_anchorCache;constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(n=>n.source);this._cached=new Ah(e,t,this._items.map(n=>n.ruleId))}return this._cached}compileAG(e,t,n){return this._hasAnchors?t?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,n){let r=this._items.map(s=>s.resolveAnchors(t,n));return new Ah(e,r,this._items.map(s=>s.ruleId))}},Ah=class{constructor(e,t,n){this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}scanner;dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const e=[];for(let t=0,n=this.rules.length;t<n;t++)e.push(" - "+this.rules[t]+": "+this.regExps[t]);return e.join(`
|
|
45
|
-
`)}findNextMatchSync(e,t,n){const r=this.scanner.findNextMatchSync(e,t,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},pc=class{constructor(e,t){this.languageId=e,this.tokenType=t}},IA=class Iu{_defaultAttributes;_embeddedLanguagesMatcher;constructor(t,n){this._defaultAttributes=new pc(t,8),this._embeddedLanguagesMatcher=new MA(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?Iu._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static _NULL_SCOPE_METADATA=new pc(0,0);_getBasicScopeAttributes=new By(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new pc(n,r)});_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(Iu.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!")}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/},MA=class{values;scopesRegExp;constructor(e){if(e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);const t=e.map(([n,r])=>Dy(n));t.sort(),t.reverse(),this.scopesRegExp=new RegExp(`^((${t.join(")|(")}))($|\\.)`,"")}}match(e){if(!this.scopesRegExp)return;const t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}},Th=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function Gy(e,t,n,r,s,o,i,a){const l=t.content.length;let c=!1,u=-1;if(i){const p=LA(e,t,n,r,s,o);s=p.stack,r=p.linePos,n=p.isFirstLine,u=p.anchorPosition}const f=Date.now();for(;!c;){if(a!==0&&Date.now()-f>a)return new Th(s,!0);d()}return new Th(s,!1);function d(){const p=$A(e,t,n,r,s,u);if(!p){o.produce(s,l),c=!0;return}const h=p.captureIndices,m=p.matchedRuleId,v=h&&h.length>0?h[0].end>r:!1;if(m===PA){const b=s.getRule(e);o.produce(s,h[0].start),s=s.withContentNameScopesList(s.nameScopesList),xo(e,t,n,s,o,b.endCaptures,h),o.produce(s,h[0].end);const y=s;if(s=s.parent,u=y.getAnchorPos(),!v&&y.getEnterPos()===r){s=y,o.produce(s,l),c=!0;return}}else{const b=e.getRule(m);o.produce(s,h[0].start);const y=s,g=b.getName(t.content,h),w=s.contentNameScopesList.pushAttributed(g,e);if(s=s.push(m,r,u,h[0].end===l,null,w,w),b instanceof Ou){const x=b;xo(e,t,n,s,o,x.beginCaptures,h),o.produce(s,h[0].end),u=h[0].end;const S=x.getContentName(t.content,h),k=w.pushAttributed(S,e);if(s=s.withContentNameScopesList(k),x.endHasBackReferences&&(s=s.withEndRule(x.getEndWithResolvedBackReferences(t.content,h))),!v&&y.hasSameRuleAs(s)){s=s.pop(),o.produce(s,l),c=!0;return}}else if(b instanceof za){const x=b;xo(e,t,n,s,o,x.beginCaptures,h),o.produce(s,h[0].end),u=h[0].end;const S=x.getContentName(t.content,h),k=w.pushAttributed(S,e);if(s=s.withContentNameScopesList(k),x.whileHasBackReferences&&(s=s.withEndRule(x.getWhileWithResolvedBackReferences(t.content,h))),!v&&y.hasSameRuleAs(s)){s=s.pop(),o.produce(s,l),c=!0;return}}else if(xo(e,t,n,s,o,b.captures,h),o.produce(s,h[0].end),s=s.pop(),!v){s=s.safePop(),o.produce(s,l),c=!0;return}}h[0].end>r&&(r=h[0].end,n=!1)}}function LA(e,t,n,r,s,o){let i=s.beginRuleCapturedEOL?0:-1;const a=[];for(let l=s;l;l=l.pop()){const c=l.getRule(e);c instanceof za&&a.push({rule:c,stack:l})}for(let l=a.pop();l;l=a.pop()){const{ruleScanner:c,findOptions:u}=BA(l.rule,e,l.stack.endRule,n,r===i),f=c.findNextMatchSync(t,r,u);if(f){if(f.ruleId!==Hy){s=l.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(o.produce(l.stack,f.captureIndices[0].start),xo(e,t,n,l.stack,o,l.rule.whileCaptures,f.captureIndices),o.produce(l.stack,f.captureIndices[0].end),i=f.captureIndices[0].end,f.captureIndices[0].end>r&&(r=f.captureIndices[0].end,n=!1))}else{s=l.stack.pop();break}}return{stack:s,linePos:r,anchorPosition:i,isFirstLine:n}}function $A(e,t,n,r,s,o){const i=NA(e,t,n,r,s,o),a=e.getInjections();if(a.length===0)return i;const l=DA(a,e,t,n,r,s,o);if(!l)return i;if(!i)return l;const c=i.captureIndices[0].start,u=l.captureIndices[0].start;return u<c||l.priorityMatch&&u===c?l:i}function NA(e,t,n,r,s,o){const i=s.getRule(e),{ruleScanner:a,findOptions:l}=Wy(i,e,s.endRule,n,r===o),c=a.findNextMatchSync(t,r,l);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function DA(e,t,n,r,s,o,i){let a=Number.MAX_VALUE,l=null,c,u=0;const f=o.contentNameScopesList.getScopeNames();for(let d=0,p=e.length;d<p;d++){const h=e[d];if(!h.matcher(f))continue;const m=t.getRule(h.ruleId),{ruleScanner:v,findOptions:b}=Wy(m,t,null,r,s===i),y=v.findNextMatchSync(n,s,b);if(!y)continue;const g=y.captureIndices[0].start;if(!(g>=a)&&(a=g,l=y.captureIndices,c=y.ruleId,u=h.priority,a===s))break}return l?{priorityMatch:u===-1,captureIndices:l,matchedRuleId:c}:null}function Wy(e,t,n,r,s){return{ruleScanner:e.compileAG(t,n,r,s),findOptions:0}}function BA(e,t,n,r,s){return{ruleScanner:e.compileWhileAG(t,n,r,s),findOptions:0}}function xo(e,t,n,r,s,o,i){if(o.length===0)return;const a=t.content,l=Math.min(o.length,i.length),c=[],u=i[0].end;for(let f=0;f<l;f++){const d=o[f];if(d===null)continue;const p=i[f];if(p.length===0)continue;if(p.start>u)break;for(;c.length>0&&c[c.length-1].endPos<=p.start;)s.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?s.produceFromScopes(c[c.length-1].scopes,p.start):s.produce(r,p.start),d.retokenizeCapturedWithRuleId){const m=d.getName(a,i),v=r.contentNameScopesList.pushAttributed(m,e),b=d.getContentName(a,i),y=v.pushAttributed(b,e),g=r.push(d.retokenizeCapturedWithRuleId,p.start,-1,!1,null,v,y),w=e.createOnigString(a.substring(0,p.end));Gy(e,w,n&&p.start===0,p.start,g,s,!1,0),zy(w);continue}const h=d.getName(a,i);if(h!==null){const v=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(h,e);c.push(new FA(v,p.end))}}for(;c.length>0;)s.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}var FA=class{scopes;endPos;constructor(e,t){this.scopes=e,this.endPos=t}};function jA(e,t,n,r,s,o,i,a){return new qA(e,t,n,r,s,o,i,a)}function Ph(e,t,n,r,s){const o=Fa(t,qa),i=Uy.getCompiledRuleId(n,r,s.repository);for(const a of o)e.push({debugSelector:t,matcher:a.matcher,ruleId:i,grammar:s,priority:a.priority})}function qa(e,t){if(t.length<e.length)return!1;let n=0;return e.every(r=>{for(let s=n;s<t.length;s++)if(zA(t[s],r))return n=s+1,!0;return!1})}function zA(e,t){if(!e)return!1;if(e===t)return!0;const n=t.length;return e.length>n&&e.substr(0,n)===t&&e[n]==="."}var qA=class{constructor(e,t,n,r,s,o,i,a){if(this._rootScopeName=e,this.balancedBracketSelectors=o,this._onigLib=a,this._basicScopeAttributesProvider=new IA(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=i,this._grammar=Rh(t,null),this._injections=null,this._tokenTypeMatchers=[],s)for(const l of Object.keys(s)){const c=Fa(l,qa);for(const u of c)this._tokenTypeMatchers.push({matcher:u.matcher,type:s[l]})}}_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;get themeProvider(){return this._grammarRepository}dispose(){for(const e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){const e={lookup:s=>s===this._rootScopeName?this._grammar:this.getExternalGrammar(s),injections:s=>this._grammarRepository.injections(s)},t=[],n=this._rootScopeName,r=e.lookup(n);if(r){const s=r.injections;if(s)for(let i in s)Ph(t,i,s[i],this,r);const o=this._grammarRepository.injections(n);o&&o.forEach(i=>{const a=this.getExternalGrammar(i);if(a){const l=a.injectionSelector;l&&Ph(t,l,a,this,a)}})}return t.sort((s,o)=>s.priority-o.priority),t}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(e){const t=++this._lastRuleId,n=e(t);return this._ruleId2desc[t]=n,n}getRule(e){return this._ruleId2desc[e]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){const n=this._grammarRepository.lookup(e);if(n)return this._includedGrammars[e]=Rh(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){const r=this._tokenize(e,t,!1,n);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(e,t,n=0){const r=this._tokenize(e,t,!0,n);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(e,t,n,r){this._rootId===-1&&(this._rootId=Uy.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let s;if(!t||t===Mu.NULL){s=!0;const c=this._basicScopeAttributesProvider.getDefaultAttributes(),u=this.themeProvider.getDefaults(),f=Gs.set(0,c.languageId,c.tokenType,null,u.fontStyle,u.foregroundId,u.backgroundId),d=this.getRule(this._rootId).getName(null,null);let p;d?p=Lo.createRootAndLookUpScopeName(d,f,this):p=Lo.createRoot("unknown",f),t=new Mu(null,this._rootId,-1,-1,!1,null,p,p)}else s=!1,t.reset();e=e+`
|
|
46
|
-
`;const o=this.createOnigString(e),i=o.content.length,a=new UA(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),l=Gy(this,o,s,0,t,a,!0,r);return zy(o),{lineLength:i,lineTokens:a,ruleStack:l.stack,stoppedEarly:l.stoppedEarly}}};function Rh(e,t){return e=aA(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}var Lo=class Rn{constructor(t,n,r){this.parent=t,this.scopePath=n,this.tokenAttributes=r}static fromExtension(t,n){let r=t,s=t?.scopePath??null;for(const o of n)s=dc.push(s,o.scopeNames),r=new Rn(r,s,o.encodedTokenAttributes);return r}static createRoot(t,n){return new Rn(null,new dc(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const s=r.getMetadataForScope(t),o=new dc(null,t),i=r.themeProvider.themeMatch(o),a=Rn.mergeAttributes(n,s,i);return new Rn(null,o,a)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return Rn.equals(this,t)}static equals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.scopeName!==n.scopeName||t.tokenAttributes!==n.tokenAttributes)return!1;t=t.parent,n=n.parent}while(!0)}static mergeAttributes(t,n,r){let s=-1,o=0,i=0;return r!==null&&(s=r.fontStyle,o=r.foregroundId,i=r.backgroundId),Gs.set(t,n.languageId,n.tokenType,null,s,o,i)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return Rn._pushAttributed(this,t,n);const r=t.split(/ /g);let s=this;for(const o of r)s=Rn._pushAttributed(s,o,n);return s}static _pushAttributed(t,n,r){const s=r.getMetadataForScope(n),o=t.scopePath.push(n),i=r.themeProvider.themeMatch(o),a=Rn.mergeAttributes(t.tokenAttributes,s,i);return new Rn(t,o,a)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(r.parent?.scopePath??null)}),r=r.parent;return r===t?n.reverse():void 0}},Mu=class Gr{constructor(t,n,r,s,o,i,a,l){this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=o,this.endRule=i,this.nameScopesList=a,this.contentNameScopesList=l,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=s}_stackElementBrand=void 0;static NULL=new Gr(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;equals(t){return t===null?!1:Gr._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?Lo.equals(t.contentNameScopesList,n.contentNameScopesList):!1}static _structuralEquals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.depth!==n.depth||t.ruleId!==n.ruleId||t.endRule!==n.endRule)return!1;t=t.parent,n=n.parent}while(!0)}clone(){return this}static _reset(t){for(;t;)t._enterPos=-1,t._anchorPos=-1,t=t.parent}reset(){Gr._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,s,o,i,a){return new Gr(this,t,n,r,s,o,i,a)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(t){return t.getRule(this.ruleId)}toString(){const t=[];return this._writeString(t,0),"["+t.join(",")+"]"}_writeString(t,n){return this.parent&&(n=this.parent._writeString(t,n)),t[n++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,n}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new Gr(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let n=this;for(;n&&n._enterPos===t._enterPos;){if(n.ruleId===t.ruleId)return!0;n=n.parent}return!1}toStateStackFrame(){return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(t,n){const r=Lo.fromExtension(t?.nameScopesList??null,n.nameScopesList);return new Gr(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,Lo.fromExtension(r,n.contentNameScopesList))}},HA=class{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(e,t){this.balancedBracketScopes=e.flatMap(n=>n==="*"?(this.allowAny=!0,[]):Fa(n,qa).map(r=>r.matcher)),this.unbalancedBracketScopes=t.flatMap(n=>Fa(n,qa).map(r=>r.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(e){for(const t of this.unbalancedBracketScopes)if(t(e))return!1;for(const t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},UA=class{constructor(e,t,n,r){this.balancedBracketSelectors=r,this._emitBinaryTokens=e,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let r=e?.tokenAttributes??0,s=!1;if(this.balancedBracketSelectors?.matchesAlways&&(s=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const o=e?.getScopeNames()??[];for(const i of this._tokenTypeOverrides)i.matcher(o)&&(r=Gs.set(r,0,i.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(o))}if(s&&(r=Gs.set(r,0,8,s,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===r){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(r),this._lastTokenEndIndex=t;return}const n=e?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:n}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);const n=new Uint32Array(this._binaryTokens.length);for(let r=0,s=this._binaryTokens.length;r<s;r++)n[r]=this._binaryTokens[r];return n}},VA=class{constructor(e,t){this._onigLib=t,this._theme=e}_grammars=new Map;_rawGrammars=new Map;_injectionGrammars=new Map;_theme;dispose(){for(const e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,t){this._rawGrammars.set(e.scopeName,e),t&&this._injectionGrammars.set(e.scopeName,t)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}grammarForScopeName(e,t,n,r,s){if(!this._grammars.has(e)){let o=this._rawGrammars.get(e);if(!o)return null;this._grammars.set(e,jA(e,o,t,n,r,s,this,this._onigLib))}return this._grammars.get(e)}},GA=class{_options;_syncRegistry;_ensureGrammarCache;constructor(t){this._options=t,this._syncRegistry=new VA(Ba.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(Ba.createFromRawTheme(t,n))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(t,n,r){return this.loadGrammarWithConfiguration(t,n,{embeddedLanguages:r})}loadGrammarWithConfiguration(t,n,r){return this._loadGrammar(t,n,r.embeddedLanguages,r.tokenTypes,new HA(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}_loadGrammar(t,n,r,s,o){const i=new _A(this._syncRegistry,t);for(;i.Q.length>0;)i.Q.map(a=>this._loadSingleGrammar(a.scopeName)),i.processQueue();return this._grammarForScopeName(t,n,r,s,o)}_loadSingleGrammar(t){this._ensureGrammarCache.has(t)||(this._doLoadSingleGrammar(t),this._ensureGrammarCache.set(t,!0))}_doLoadSingleGrammar(t){const n=this._options.loadGrammar(t);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(n,r)}}addGrammar(t,n=[],r=0,s=null){return this._syncRegistry.addGrammar(t,n),this._grammarForScopeName(t.scopeName,r,s)}_grammarForScopeName(t,n=0,r=null,s=null,o=null){return this._syncRegistry.grammarForScopeName(t,n,r,s,o)}},Lu=Mu.NULL;function Ha(e,t){const n=typeof e=="string"?{}:{...e.colorReplacements},r=typeof e=="string"?e:e.name;for(const[s,o]of Object.entries(t?.colorReplacements||{}))typeof o=="string"?n[s]=o:s===r&&Object.assign(n,o);return n}function Pr(e,t){return e&&(t?.[e?.toLowerCase()]||e)}function WA(e){return Array.isArray(e)?e:[e]}async function Ky(e){return Promise.resolve(typeof e=="function"?e():e).then(t=>t.default||t)}function Al(e){return!e||["plaintext","txt","text","plain"].includes(e)}function KA(e){return e==="ansi"||Al(e)}function Tl(e){return e==="none"}function XA(e){return Tl(e)}const YA=/(\r?\n)/g;function Pl(e,t=!1){if(e.length===0)return[["",0]];const n=e.split(YA);let r=0;const s=[];for(let o=0;o<n.length;o+=2){const i=t?n[o]+(n[o+1]||""):n[o];s.push([i,r]),r+=n[o].length,r+=n[o+1]?.length||0}return s}const Oh={light:"#333333",dark:"#bbbbbb"},Ih={light:"#fffffe",dark:"#1e1e1e"},Mh="__shiki_resolved";function Uf(e){if(e?.[Mh])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||="dark",t.colorReplacements={...t.colorReplacements},t.settings||=[];let{bg:n,fg:r}=t;if(!n||!r){const a=t.settings?t.settings.find(l=>!l.name&&!l.scope):void 0;a?.settings?.foreground&&(r=a.settings.foreground),a?.settings?.background&&(n=a.settings.background),!r&&t?.colors?.["editor.foreground"]&&(r=t.colors["editor.foreground"]),!n&&t?.colors?.["editor.background"]&&(n=t.colors["editor.background"]),r||(r=t.type==="light"?Oh.light:Oh.dark),n||(n=t.type==="light"?Ih.light:Ih.dark),t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let s=0;const o=new Map;function i(a){if(o.has(a))return o.get(a);s+=1;const l=`#${s.toString(16).padStart(8,"0").toLowerCase()}`;return t.colorReplacements?.[`#${l}`]?i(a):(o.set(a,l),l)}t.settings=t.settings.map(a=>{const l=a.settings?.foreground&&!a.settings.foreground.startsWith("#"),c=a.settings?.background&&!a.settings.background.startsWith("#");if(!l&&!c)return a;const u={...a,settings:{...a.settings}};if(l){const f=i(a.settings.foreground);t.colorReplacements[f]=a.settings.foreground,u.settings.foreground=f}if(c){const f=i(a.settings.background);t.colorReplacements[f]=a.settings.background,u.settings.background=f}return u});for(const a of Object.keys(t.colors||{}))if((a==="editor.foreground"||a==="editor.background"||a.startsWith("terminal.ansi"))&&!t.colors[a]?.startsWith("#")){const l=i(t.colors[a]);t.colorReplacements[l]=t.colors[a],t.colors[a]=l}return Object.defineProperty(t,Mh,{enumerable:!1,writable:!1,value:!0}),t}async function Xy(e){return[...new Set((await Promise.all(e.filter(t=>!KA(t)).map(async t=>await Ky(t).then(n=>Array.isArray(n)?n:[n])))).flat())]}async function Yy(e){return(await Promise.all(e.map(async t=>XA(t)?null:Uf(await Ky(t))))).filter(t=>!!t)}function Jy(e,t){if(!t)return e;if(t[e]){const n=new Set([e]);for(;t[e];){if(e=t[e],n.has(e))throw new et(`Circular alias \`${[...n].join(" -> ")} -> ${e}\``);n.add(e)}}return e}var JA=class extends GA{_resolver;_themes;_langs;_alias;_resolvedThemes=new Map;_resolvedGrammars=new Map;_langMap=new Map;_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;constructor(e,t,n,r={}){super(e),this._resolver=e,this._themes=t,this._langs=n,this._alias=r,this._themes.map(s=>this.loadTheme(s)),this.loadLanguages(this._langs)}getTheme(e){return typeof e=="string"?this._resolvedThemes.get(e):this.loadTheme(e)}loadTheme(e){const t=Uf(e);return t.name&&(this._resolvedThemes.set(t.name,t),this._loadedThemesCache=null),t}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(e){let t=this._textmateThemeCache.get(e);t||(t=Ba.createFromRawTheme(e),this._textmateThemeCache.set(e,t)),this._syncRegistry.setTheme(t)}getGrammar(e){return e=Jy(e,this._alias),this._resolvedGrammars.get(e)}loadLanguage(e){if(this.getGrammar(e.name))return;const t=new Set([...this._langMap.values()].filter(s=>s.embeddedLangsLazy?.includes(e.name)));this._resolver.addLanguage(e);const n={balancedBracketSelectors:e.balancedBracketSelectors||["*"],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);const r=this.loadGrammarWithConfiguration(e.scopeName,1,n);if(r.name=e.name,this._resolvedGrammars.set(e.name,r),e.aliases&&e.aliases.forEach(s=>{this._alias[s]=e.name}),this._loadedLanguagesCache=null,t.size)for(const s of t)this._resolvedGrammars.delete(s.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(s.scopeName),this._syncRegistry?._grammars?.delete(s.scopeName),this.loadLanguage(this._langMap.get(s.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(e){for(const r of e)this.resolveEmbeddedLanguages(r);const t=[...this._langGraph.entries()],n=t.filter(([r,s])=>!s);if(n.length){const r=t.filter(([s,o])=>o?(o.embeddedLanguages||o.embeddedLangs)?.some(i=>n.map(([a])=>a).includes(i)):!1).filter(s=>!n.includes(s));throw new et(`Missing languages ${n.map(([s])=>`\`${s}\``).join(", ")}, required by ${r.map(([s])=>`\`${s}\``).join(", ")}`)}for(const[r,s]of t)this._resolver.addLanguage(s);for(const[r,s]of t)this.loadLanguage(s)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(e){this._langMap.set(e.name,e),this._langGraph.set(e.name,e);const t=e.embeddedLanguages??e.embeddedLangs;if(t)for(const n of t)this._langGraph.set(n,this._langMap.get(n))}},ZA=class{_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLib;constructor(e,t){this._onigLib={createOnigScanner:n=>e.createScanner(n),createOnigString:n=>e.createString(n)},t.forEach(n=>this.addLanguage(n))}get onigLib(){return this._onigLib}getLangRegistration(e){return this._langs.get(e)}loadGrammar(e){return this._scopeToLang.get(e)}addLanguage(e){this._langs.set(e.name,e),e.aliases&&e.aliases.forEach(t=>{this._langs.set(t,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(t=>{this._injections.get(t)||this._injections.set(t,[]),this._injections.get(t).push(e.scopeName)})}getInjections(e){const t=e.split(".");let n=[];for(let r=1;r<=t.length;r++){const s=t.slice(0,r).join(".");n=[...n,...this._injections.get(s)||[]]}return n}};let mo=0;function QA(e){mo+=1,e.warnings!==!1&&mo>=10&&mo%10===0&&console.warn(`[Shiki] ${mo} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;if(!e.engine)throw new et("`engine` option is required for synchronous mode");const n=(e.langs||[]).flat(1),r=(e.themes||[]).flat(1).map(Uf),s=new JA(new ZA(e.engine,n),r,n,e.langAlias);let o;function i(y){return Jy(y,e.langAlias)}function a(y){v();const g=s.getGrammar(typeof y=="string"?y:y.name);if(!g)throw new et(`Language \`${y}\` not found, you may need to load it first`);return g}function l(y){if(y==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};v();const g=s.getTheme(y);if(!g)throw new et(`Theme \`${y}\` not found, you may need to load it first`);return g}function c(y){v();const g=l(y);return o!==y&&(s.setTheme(g),o=y),{theme:g,colorMap:s.getColorMap()}}function u(){return v(),s.getLoadedThemes()}function f(){return v(),s.getLoadedLanguages()}function d(...y){v(),s.loadLanguages(y.flat(1))}async function p(...y){return d(await Xy(y))}function h(...y){v();for(const g of y.flat(1))s.loadTheme(g)}async function m(...y){return v(),h(await Yy(y))}function v(){if(t)throw new et("Shiki instance has been disposed")}function b(){t||(t=!0,s.dispose(),mo-=1)}return{setTheme:c,getTheme:l,getLanguage:a,getLoadedThemes:u,getLoadedLanguages:f,resolveLangAlias:i,loadLanguage:p,loadLanguageSync:d,loadTheme:m,loadThemeSync:h,dispose:b,[Symbol.dispose]:b}}async function eT(e){e.engine||console.warn("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[t,n,r]=await Promise.all([Yy(e.themes||[]),Xy(e.langs||[]),e.engine]);return QA({...e,themes:t,langs:n,engine:r})}const Zy=new WeakMap;function Rl(e,t){Zy.set(e,t)}function ni(e){return Zy.get(e)}var Ol=class Qy{_stacks={};lang;get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(t,n){return new Qy(Object.fromEntries(WA(n).map(r=>[r,Lu])),t)}constructor(...t){if(t.length===2){const[n,r]=t;this.lang=r,this._stacks=n}else{const[n,r,s]=t;this.lang=r,this._stacks={[s]:n}}}getInternalStack(t=this.theme){return this._stacks[t]}getScopes(t=this.theme){return tT(this._stacks[t])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}};function tT(e){const t=[],n=new Set;function r(s){if(n.has(s))return;n.add(s);const o=s?.nameScopesList?.scopeName;o&&t.push(o),s.parent&&r(s.parent)}return r(e),t}function nT(e,t){if(!(e instanceof Ol))throw new et("Invalid grammar state");return e.getInternalStack(t)}const rT=/,/,sT=/ /;function e2(e,t,n={}){const{theme:r=e.getLoadedThemes()[0]}=n;if(Al(e.resolveLangAlias(n.lang||"text"))||Tl(r))return Pl(t).map(a=>[{content:a[0],offset:a[1]}]);const{theme:s,colorMap:o}=e.setTheme(r),i=e.getLanguage(n.lang||"text");if(n.grammarState){if(n.grammarState.lang!==i.name)throw new et(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${i.name}"`);if(!n.grammarState.themes.includes(s.name))throw new et(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${s.name}"`)}return iT(t,i,s,o,n)}function oT(...e){if(e.length===2)return ni(e[1]);const[t,n,r={}]=e,{lang:s="text",theme:o=t.getLoadedThemes()[0]}=r;if(Al(s)||Tl(o))throw new et("Plain language does not have grammar state");if(s==="ansi")throw new et("ANSI language does not have grammar state");const{theme:i,colorMap:a}=t.setTheme(o),l=t.getLanguage(s);return new Ol(Vf(n,l,i,a,r).stateStack,l.name,i.name)}function iT(e,t,n,r,s){const o=Vf(e,t,n,r,s),i=new Ol(o.stateStack,t.name,n.name);return Rl(o.tokens,i),o.tokens}function Vf(e,t,n,r,s){const o=Ha(n,s),{tokenizeMaxLineLength:i=0,tokenizeTimeLimit:a=500}=s,l=Pl(e);let c=s.grammarState?nT(s.grammarState,n.name)??Lu:s.grammarContextCode!=null?Vf(s.grammarContextCode,t,n,r,{...s,grammarState:void 0,grammarContextCode:void 0}).stateStack:Lu,u=[];const f=[];for(let d=0,p=l.length;d<p;d++){const[h,m]=l[d];if(h===""){u=[],f.push([]);continue}if(i>0&&h.length>=i){u=[],f.push([{content:h,offset:m,color:"",fontStyle:0}]);continue}let v,b,y;s.includeExplanation&&(v=t.tokenizeLine(h,c,a),b=v.tokens,y=0);const g=t.tokenizeLine2(h,c,a),w=g.tokens.length/2;for(let x=0;x<w;x++){const S=g.tokens[2*x],k=x+1<w?g.tokens[2*x+2]:h.length;if(S===k)continue;const T=g.tokens[2*x+1],P=Pr(r[Gs.getForeground(T)],o),I=Gs.getFontStyle(T),D={content:h.substring(S,k),offset:m+S,color:P,fontStyle:I};if(s.includeExplanation){const M=[];if(s.includeExplanation!=="scopeName")for(const O of n.settings){let q;switch(typeof O.scope){case"string":q=O.scope.split(rT).map($=>$.trim());break;case"object":q=O.scope;break;default:continue}M.push({settings:O,selectors:q.map($=>$.split(sT))})}D.explanation=[];let Y=0;for(;S+Y<k;){const O=b[y],q=h.substring(O.startIndex,O.endIndex);Y+=q.length,D.explanation.push({content:q,scopes:s.includeExplanation==="scopeName"?aT(O.scopes):lT(M,O.scopes)}),y+=1}}u.push(D)}f.push(u),u=[],c=g.ruleStack}return{tokens:f,stateStack:c}}function aT(e){return e.map(t=>({scopeName:t}))}function lT(e,t){const n=[];for(let r=0,s=t.length;r<s;r++){const o=t[r];n[r]={scopeName:o,themeMatches:uT(e,o,t.slice(0,r))}}return n}function Lh(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]==="."}function cT(e,t,n){if(!Lh(e.at(-1),t))return!1;let r=e.length-2,s=n.length-1;for(;r>=0&&s>=0;)Lh(e[r],n[s])&&(r-=1),s-=1;return r===-1}function uT(e,t,n){const r=[];for(const{selectors:s,settings:o}of e)for(const i of s)if(cT(i,t,n)){r.push(o);break}return r}function t2(e,t,n,r=e2){const s=Object.entries(n.themes).filter(c=>c[1]).map(c=>({color:c[0],theme:c[1]})),o=s.map(c=>{const u=r(e,t,{...n,theme:c.theme});return{tokens:u,state:ni(u),theme:typeof c.theme=="string"?c.theme:c.theme.name}}),i=fT(...o.map(c=>c.tokens)),a=i[0].map((c,u)=>c.map((f,d)=>{const p={content:f.content,variants:{},offset:f.offset};return"includeExplanation"in n&&n.includeExplanation&&(p.explanation=f.explanation),i.forEach((h,m)=>{const{content:v,explanation:b,offset:y,...g}=h[u][d];p.variants[s[m].color]=g}),p})),l=o[0].state?new Ol(Object.fromEntries(o.map(c=>[c.theme,c.state?.getInternalStack(c.theme)])),o[0].state.lang):void 0;return l&&Rl(a,l),a}function fT(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const s=e.map(l=>l[r]),o=t.map(()=>[]);t.forEach((l,c)=>l.push(o[c]));const i=s.map(()=>0),a=s.map(l=>l[0]);for(;a.every(l=>l);){const l=Math.min(...a.map(c=>c.content.length));for(let c=0;c<n;c++){const u=a[c];u.content.length===l?(o[c].push(u),i[c]+=1,a[c]=s[c][i[c]]):(o[c].push({...u,content:u.content.slice(0,l)}),a[c]={...u,content:u.content.slice(l),offset:u.offset+l})}}}return t}const dT=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class yi{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}yi.prototype.normal={};yi.prototype.property={};yi.prototype.space=void 0;function n2(e,t){const n={},r={};for(const s of e)Object.assign(n,s.property),Object.assign(r,s.normal);return new yi(n,r,t)}function $u(e){return e.toLowerCase()}class Vt{constructor(t,n){this.attribute=n,this.property=t}}Vt.prototype.attribute="";Vt.prototype.booleanish=!1;Vt.prototype.boolean=!1;Vt.prototype.commaOrSpaceSeparated=!1;Vt.prototype.commaSeparated=!1;Vt.prototype.defined=!1;Vt.prototype.mustUseProperty=!1;Vt.prototype.number=!1;Vt.prototype.overloadedBoolean=!1;Vt.prototype.property="";Vt.prototype.spaceSeparated=!1;Vt.prototype.space=void 0;let pT=0;const Se=ps(),ut=ps(),Nu=ps(),K=ps(),Ye=ps(),$s=ps(),Kt=ps();function ps(){return 2**++pT}const Du=Object.freeze(Object.defineProperty({__proto__:null,boolean:Se,booleanish:ut,commaOrSpaceSeparated:Kt,commaSeparated:$s,number:K,overloadedBoolean:Nu,spaceSeparated:Ye},Symbol.toStringTag,{value:"Module"})),hc=Object.keys(Du);class Gf extends Vt{constructor(t,n,r,s){let o=-1;if(super(t,n),$h(this,"space",s),typeof r=="number")for(;++o<hc.length;){const i=hc[o];$h(this,hc[o],(r&Du[i])===Du[i])}}}Gf.prototype.defined=!0;function $h(e,t,n){n&&(e[t]=n)}function eo(e){const t={},n={};for(const[r,s]of Object.entries(e.properties)){const o=new Gf(r,e.transform(e.attributes||{},r),s,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[$u(r)]=r,n[$u(o.attribute)]=r}return new yi(t,n,e.space)}const r2=eo({properties:{ariaActiveDescendant:null,ariaAtomic:ut,ariaAutoComplete:null,ariaBusy:ut,ariaChecked:ut,ariaColCount:K,ariaColIndex:K,ariaColSpan:K,ariaControls:Ye,ariaCurrent:null,ariaDescribedBy:Ye,ariaDetails:null,ariaDisabled:ut,ariaDropEffect:Ye,ariaErrorMessage:null,ariaExpanded:ut,ariaFlowTo:Ye,ariaGrabbed:ut,ariaHasPopup:null,ariaHidden:ut,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ye,ariaLevel:K,ariaLive:null,ariaModal:ut,ariaMultiLine:ut,ariaMultiSelectable:ut,ariaOrientation:null,ariaOwns:Ye,ariaPlaceholder:null,ariaPosInSet:K,ariaPressed:ut,ariaReadOnly:ut,ariaRelevant:null,ariaRequired:ut,ariaRoleDescription:Ye,ariaRowCount:K,ariaRowIndex:K,ariaRowSpan:K,ariaSelected:ut,ariaSetSize:K,ariaSort:null,ariaValueMax:K,ariaValueMin:K,ariaValueNow:K,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function s2(e,t){return t in e?e[t]:t}function o2(e,t){return s2(e,t.toLowerCase())}const hT=eo({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:$s,acceptCharset:Ye,accessKey:Ye,action:null,allow:null,allowFullScreen:Se,allowPaymentRequest:Se,allowUserMedia:Se,alt:null,as:null,async:Se,autoCapitalize:null,autoComplete:Ye,autoFocus:Se,autoPlay:Se,blocking:Ye,capture:null,charSet:null,checked:Se,cite:null,className:Ye,cols:K,colSpan:null,content:null,contentEditable:ut,controls:Se,controlsList:Ye,coords:K|$s,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Se,defer:Se,dir:null,dirName:null,disabled:Se,download:Nu,draggable:ut,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Se,formTarget:null,headers:Ye,height:K,hidden:Nu,high:K,href:null,hrefLang:null,htmlFor:Ye,httpEquiv:Ye,id:null,imageSizes:null,imageSrcSet:null,inert:Se,inputMode:null,integrity:null,is:null,isMap:Se,itemId:null,itemProp:Ye,itemRef:Ye,itemScope:Se,itemType:Ye,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Se,low:K,manifest:null,max:null,maxLength:K,media:null,method:null,min:null,minLength:K,multiple:Se,muted:Se,name:null,nonce:null,noModule:Se,noValidate:Se,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:Se,optimum:K,pattern:null,ping:Ye,placeholder:null,playsInline:Se,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Se,referrerPolicy:null,rel:Ye,required:Se,reversed:Se,rows:K,rowSpan:K,sandbox:Ye,scope:null,scoped:Se,seamless:Se,selected:Se,shadowRootClonable:Se,shadowRootDelegatesFocus:Se,shadowRootMode:null,shape:null,size:K,sizes:null,slot:null,span:K,spellCheck:ut,src:null,srcDoc:null,srcLang:null,srcSet:null,start:K,step:null,style:null,tabIndex:K,target:null,title:null,translate:null,type:null,typeMustMatch:Se,useMap:null,value:ut,width:K,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ye,axis:null,background:null,bgColor:null,border:K,borderColor:null,bottomMargin:K,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Se,declare:Se,event:null,face:null,frame:null,frameBorder:null,hSpace:K,leftMargin:K,link:null,longDesc:null,lowSrc:null,marginHeight:K,marginWidth:K,noResize:Se,noHref:Se,noShade:Se,noWrap:Se,object:null,profile:null,prompt:null,rev:null,rightMargin:K,rules:null,scheme:null,scrolling:ut,standby:null,summary:null,text:null,topMargin:K,valueType:null,version:null,vAlign:null,vLink:null,vSpace:K,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Se,disableRemotePlayback:Se,prefix:null,property:null,results:K,security:null,unselectable:null},space:"html",transform:o2}),gT=eo({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"},properties:{about:Kt,accentHeight:K,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:K,amplitude:K,arabicForm:null,ascent:K,attributeName:null,attributeType:null,azimuth:K,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:K,by:null,calcMode:null,capHeight:K,className:Ye,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:K,diffuseConstant:K,direction:null,display:null,dur:null,divisor:K,dominantBaseline:null,download:Se,dx:null,dy:null,edgeMode:null,editable:null,elevation:K,enableBackground:null,end:null,event:null,exponent:K,externalResourcesRequired:null,fill:null,fillOpacity:K,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:$s,g2:$s,glyphName:$s,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:K,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:K,horizOriginX:K,horizOriginY:K,id:null,ideographic:K,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:K,k:K,k1:K,k2:K,k3:K,k4:K,kernelMatrix:Kt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:K,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:K,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:K,overlineThickness:K,paintOrder:null,panose1:null,path:null,pathLength:K,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ye,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:K,pointsAtY:K,pointsAtZ:K,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Kt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Kt,rev:Kt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Kt,requiredFeatures:Kt,requiredFonts:Kt,requiredFormats:Kt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:K,specularExponent:K,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:K,strikethroughThickness:K,string:null,stroke:null,strokeDashArray:Kt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:K,strokeOpacity:K,strokeWidth:null,style:null,surfaceScale:K,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Kt,tabIndex:K,tableValues:null,target:null,targetX:K,targetY:K,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Kt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:K,underlineThickness:K,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:K,values:null,vAlphabetic:K,vMathematical:K,vectorEffect:null,vHanging:K,vIdeographic:K,version:null,vertAdvY:K,vertOriginX:K,vertOriginY:K,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:K,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:s2}),i2=eo({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),a2=eo({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:o2}),l2=eo({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),mT=/[A-Z]/g,Nh=/-[a-z]/g,yT=/^data[-\w.:]+$/i;function vT(e,t){const n=$u(t);let r=t,s=Vt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&yT.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(Nh,wT);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!Nh.test(o)){let i=o.replace(mT,bT);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}s=Gf}return new s(r,t)}function bT(e){return"-"+e.toLowerCase()}function wT(e){return e.charAt(1).toUpperCase()}const _T=n2([r2,hT,i2,a2,l2],"html"),c2=n2([r2,gT,i2,a2,l2],"svg"),Dh={}.hasOwnProperty;function xT(e,t){const n=t||{};function r(s,...o){let i=r.invalid;const a=r.handlers;if(s&&Dh.call(s,e)){const l=String(s[e]);i=Dh.call(a,l)?a[l]:r.unknown}if(i)return i.call(this,s,...o)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const CT=/["&'<>`]/g,kT=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ST=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,ET=/[|\\{}()[\]^$+*?.]/g,Bh=new WeakMap;function AT(e,t){if(e=e.replace(t.subset?TT(t.subset):CT,r),t.subset||t.escapeOnly)return e;return e.replace(kT,n).replace(ST,r);function n(s,o,i){return t.format((s.charCodeAt(0)-55296)*1024+s.charCodeAt(1)-56320+65536,i.charCodeAt(o+2),t)}function r(s,o,i){return t.format(s.charCodeAt(0),i.charCodeAt(o+1),t)}}function TT(e){let t=Bh.get(e);return t||(t=PT(e),Bh.set(e,t)),t}function PT(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(ET,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}const RT=/[\dA-Fa-f]/;function OT(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!RT.test(String.fromCharCode(t))?r:r+";"}const IT=/\d/;function MT(e,t,n){const r="&#"+String(e);return n&&t&&!IT.test(String.fromCharCode(t))?r:r+";"}const LT=["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"],gc={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:"€"},$T=["cent","copy","divide","gt","lt","not","para","times"],u2={}.hasOwnProperty,Bu={};let Vi;for(Vi in gc)u2.call(gc,Vi)&&(Bu[gc[Vi]]=Vi);const NT=/[^\dA-Za-z]/;function DT(e,t,n,r){const s=String.fromCharCode(e);if(u2.call(Bu,s)){const o=Bu[s],i="&"+o;return n&<.includes(o)&&!$T.includes(o)&&(!r||t&&t!==61&&NT.test(String.fromCharCode(t)))?i:i+";"}return""}function BT(e,t,n){let r=OT(e,t,n.omitOptionalSemicolons),s;if((n.useNamedReferences||n.useShortestReferences)&&(s=DT(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!s)&&n.useShortestReferences){const o=MT(e,t,n.omitOptionalSemicolons);o.length<r.length&&(r=o)}return s&&(!n.useShortestReferences||s.length<r.length)?s:r}function Ns(e,t){return AT(e,Object.assign({format:BT},t))}const FT=/^>|^->|<!--|-->|--!>|<!-$/g,jT=[">"],zT=["<",">"];function qT(e,t,n,r){return r.settings.bogusComments?"<?"+Ns(e.value,Object.assign({},r.settings.characterReferences,{subset:jT}))+">":"<!--"+e.value.replace(FT,s)+"-->";function s(o){return Ns(o,Object.assign({},r.settings.characterReferences,{subset:zT}))}}function HT(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function Fh(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,s=n.indexOf(t);for(;s!==-1;)r++,s=n.indexOf(t,s+t.length);return r}function UT(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function VT(e){return e.join(" ").trim()}const GT=/[ \t\n\f\r]/g;function Wf(e){return typeof e=="object"?e.type==="text"?jh(e.value):!1:jh(e)}function jh(e){return e.replace(GT,"")===""}const bt=d2(1),f2=d2(-1),WT=[];function d2(e){return t;function t(n,r,s){const o=n?n.children:WT;let i=(r||0)+e,a=o[i];if(!s)for(;a&&Wf(a);)i+=e,a=o[i];return a}}const KT={}.hasOwnProperty;function p2(e){return t;function t(n,r,s){return KT.call(e,n.tagName)&&e[n.tagName](n,r,s)}}const Kf=p2({body:YT,caption:mc,colgroup:mc,dd:eP,dt:QT,head:mc,html:XT,li:ZT,optgroup:tP,option:nP,p:JT,rp:zh,rt:zh,tbody:sP,td:qh,tfoot:oP,th:qh,thead:rP,tr:iP});function mc(e,t,n){const r=bt(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&Wf(r.value.charAt(0)))}function XT(e,t,n){const r=bt(n,t);return!r||r.type!=="comment"}function YT(e,t,n){const r=bt(n,t);return!r||r.type!=="comment"}function JT(e,t,n){const r=bt(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function ZT(e,t,n){const r=bt(n,t);return!r||r.type==="element"&&r.tagName==="li"}function QT(e,t,n){const r=bt(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function eP(e,t,n){const r=bt(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function zh(e,t,n){const r=bt(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function tP(e,t,n){const r=bt(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function nP(e,t,n){const r=bt(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function rP(e,t,n){const r=bt(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function sP(e,t,n){const r=bt(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function oP(e,t,n){return!bt(n,t)}function iP(e,t,n){const r=bt(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function qh(e,t,n){const r=bt(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const aP=p2({body:uP,colgroup:fP,head:cP,html:lP,tbody:dP});function lP(e){const t=bt(e,-1);return!t||t.type!=="comment"}function cP(e){const t=new Set;for(const r of e.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(t.has(r.tagName))return!1;t.add(r.tagName)}const n=e.children[0];return!n||n.type==="element"}function uP(e){const t=bt(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&Wf(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function fP(e,t,n){const r=f2(n,t),s=bt(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Kf(r,n.children.indexOf(r),n)?!1:!!(s&&s.type==="element"&&s.tagName==="col")}function dP(e,t,n){const r=f2(n,t),s=bt(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Kf(r,n.children.indexOf(r),n)?!1:!!(s&&s.type==="element"&&s.tagName==="tr")}const Gi={name:[[`
|
|
47
|
-
\f\r &/=>`.split(""),`
|
|
48
|
-
\f\r "&'/=>\``.split("")],[`\0
|
|
49
|
-
\f\r "&'/<=>`.split(""),`\0
|
|
50
|
-
\f\r "&'/<=>\``.split("")]],unquoted:[[`
|
|
51
|
-
\f\r &>`.split(""),`\0
|
|
52
|
-
\f\r "&'<=>\``.split("")],[`\0
|
|
53
|
-
\f\r "&'<=>\``.split(""),`\0
|
|
54
|
-
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function pP(e,t,n,r){const s=r.schema,o=s.space==="svg"?!1:r.settings.omitOptionalTags;let i=s.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const a=[];let l;s.space==="html"&&e.tagName==="svg"&&(r.schema=c2);const c=hP(r,e.properties),u=r.all(s.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=s,u&&(i=!1),(c||!o||!aP(e,t,n))&&(a.push("<",e.tagName,c?" "+c:""),i&&(s.space==="svg"||r.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),(!r.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&a.push(" "),a.push("/")),a.push(">")),a.push(u),!i&&(!o||!Kf(e,t,n))&&a.push("</"+e.tagName+">"),a.join("")}function hP(e,t){const n=[];let r=-1,s;if(t){for(s in t)if(t[s]!==null&&t[s]!==void 0){const o=gP(e,s,t[s]);o&&n.push(o)}}for(;++r<n.length;){const o=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&o!=='"'&&o!=="'"&&(n[r]+=" ")}return n.join("")}function gP(e,t,n){const r=vT(e.schema,t),s=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,o=e.settings.allowDangerousCharacters?0:1;let i=e.quote,a;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean)&&(typeof n!="string"||n===r.attribute||n==="")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const l=Ns(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Gi.name[s][o]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?UT:VT)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?l:(e.settings.preferUnquoted&&(a=Ns(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Gi.unquoted[s][o]}))),a!==n&&(e.settings.quoteSmart&&Fh(n,i)>Fh(n,e.alternative)&&(i=e.alternative),a=i+Ns(n,Object.assign({},e.settings.characterReferences,{subset:(i==="'"?Gi.single:Gi.double)[s][o],attribute:!0}))+i),l+(a&&"="+a))}const mP=["<","&"];function h2(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:Ns(e.value,Object.assign({},r.settings.characterReferences,{subset:mP}))}function yP(e,t,n,r){return r.settings.allowDangerousHtml?e.value:h2(e,t,n,r)}function vP(e,t,n,r){return r.all(e)}const bP=xT("type",{invalid:wP,unknown:_P,handlers:{comment:qT,doctype:HT,element:pP,raw:yP,root:vP,text:h2}});function wP(e){throw new Error("Expected node, not `"+e+"`")}function _P(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const xP={},CP={},kP=[];function SP(e,t){const n=t||xP,r=n.quote||'"',s=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:EP,all:AP,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||dT,characterReferences:n.characterReferences||CP,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?c2:_T,quote:r,alternative:s}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function EP(e,t,n){return bP(e,t,n,this)}function AP(e){const t=[],n=e&&e.children||kP;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}const Hh=/\s+/g;function g2(e,t){if(!t)return e;e.properties||={},e.properties.class||=[],typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(Hh)),Array.isArray(e.properties.class)||(e.properties.class=[]);const n=Array.isArray(t)?t:t.split(Hh);for(const r of n)r&&!e.properties.class.includes(r)&&e.properties.class.push(r);return e}function TP(e){const t=Pl(e,!0).map(([s])=>s);function n(s){if(s===e.length)return{line:t.length-1,character:t.at(-1).length};let o=s,i=0;for(const a of t){if(o<a.length)break;o-=a.length,i++}return{line:i,character:o}}function r(s,o){let i=0;for(let a=0;a<s;a++)i+=t[a].length;return i+=o,i}return{lines:t,indexToPos:n,posToIndex:r}}const PP=["color","background-color"];function RP(e,t){let n=0;const r=[];for(const s of t)s>n&&r.push({...e,content:e.content.slice(n,s),offset:e.offset+n}),n=s;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r}function OP(e,t){const n=[...t instanceof Set?t:new Set(t)].sort((r,s)=>r-s);return n.length?e.map(r=>r.flatMap(s=>{const o=n.filter(i=>s.offset<i&&i<s.offset+s.content.length).map(i=>i-s.offset).sort((i,a)=>i-a);return o.length?RP(s,o):s})):e}function IP(e,t,n,r,s="css-vars"){const o={content:e.content,explanation:e.explanation,offset:e.offset},i=t.map(u=>Ua(e.variants[u])),a=new Set(i.flatMap(u=>Object.keys(u))),l={},c=(u,f)=>{const d=f==="color"?"":f==="background-color"?"-bg":`-${f}`;return n+t[u]+(f==="color"?"":d)};return i.forEach((u,f)=>{for(const d of a){const p=u[d]||"inherit";if(f===0&&r&&PP.includes(d))if(r==="light-dark()"&&i.length>1){const h=t.findIndex(v=>v==="light"),m=t.findIndex(v=>v==="dark");if(h===-1||m===-1)throw new et('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');l[d]=`light-dark(${i[h][d]||"inherit"}, ${i[m][d]||"inherit"})`,s==="css-vars"&&(l[c(f,d)]=p)}else l[d]=p;else s==="css-vars"&&(l[c(f,d)]=p)}}),o.htmlStyle=l,o}function Ua(e){const t={};if(e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle){e.fontStyle&Ot.Italic&&(t["font-style"]="italic"),e.fontStyle&Ot.Bold&&(t["font-weight"]="bold");const n=[];e.fontStyle&Ot.Underline&&n.push("underline"),e.fontStyle&Ot.Strikethrough&&n.push("line-through"),n.length&&(t["text-decoration"]=n.join(" "))}return t}function Fu(e){return typeof e=="string"?e:Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}function MP(){const e=new WeakMap;function t(n){if(!e.has(n.meta)){let s=function(i){if(typeof i=="number"){if(i<0||i>n.source.length)throw new et(`Invalid decoration offset: ${i}. Code length: ${n.source.length}`);return{...r.indexToPos(i),offset:i}}else{const a=r.lines[i.line];if(a===void 0)throw new et(`Invalid decoration position ${JSON.stringify(i)}. Lines length: ${r.lines.length}`);let l=i.character;if(l<0&&(l=a.length+l),l<0||l>a.length)throw new et(`Invalid decoration position ${JSON.stringify(i)}. Line ${i.line} length: ${a.length}`);return{...i,character:l,offset:r.posToIndex(i.line,l)}}};const r=TP(n.source),o=(n.options.decorations||[]).map(i=>({...i,start:s(i.start),end:s(i.end)}));LP(o),e.set(n.meta,{decorations:o,converter:r,source:n.source})}return e.get(n.meta)}return{name:"shiki:decorations",tokens(n){if(this.options.decorations?.length)return OP(n,t(this).decorations.flatMap(r=>[r.start.offset,r.end.offset]))},code(n){if(!this.options.decorations?.length)return;const r=t(this),s=[...n.children].filter(u=>u.type==="element"&&u.tagName==="span");if(s.length!==r.converter.lines.length)throw new et(`Number of lines in code element (${s.length}) does not match the number of lines in the source (${r.converter.lines.length}). Failed to apply decorations.`);function o(u,f,d,p){const h=s[u];let m="",v=-1,b=-1;if(f===0&&(v=0),d===0&&(b=0),d===Number.POSITIVE_INFINITY&&(b=h.children.length),v===-1||b===-1)for(let g=0;g<h.children.length;g++)m+=m2(h.children[g]),v===-1&&m.length===f&&(v=g+1),b===-1&&m.length===d&&(b=g+1);if(v===-1)throw new et(`Failed to find start index for decoration ${JSON.stringify(p.start)}`);if(b===-1)throw new et(`Failed to find end index for decoration ${JSON.stringify(p.end)}`);const y=h.children.slice(v,b);if(!p.alwaysWrap&&y.length===h.children.length)a(h,p,"line");else if(!p.alwaysWrap&&y.length===1&&y[0].type==="element")a(y[0],p,"token");else{const g={type:"element",tagName:"span",properties:{},children:y};a(g,p,"wrapper"),h.children.splice(v,y.length,g)}}function i(u,f){s[u]=a(s[u],f,"line")}function a(u,f,d){const p=f.properties||{},h=f.transform||(m=>m);return u.tagName=f.tagName||"span",u.properties={...u.properties,...p,class:u.properties.class},f.properties?.class&&g2(u,f.properties.class),u=h(u,d)||u,u}const l=[],c=r.decorations.sort((u,f)=>f.start.offset-u.start.offset||u.end.offset-f.end.offset);for(const u of c){const{start:f,end:d}=u;if(f.line===d.line)o(f.line,f.character,d.character,u);else if(f.line<d.line){o(f.line,f.character,Number.POSITIVE_INFINITY,u);for(let p=f.line+1;p<d.line;p++)l.unshift(()=>i(p,u));o(d.line,0,d.character,u)}}l.forEach(u=>u())}}}function LP(e){for(let t=0;t<e.length;t++){const n=e[t];if(n.start.offset>n.end.offset)throw new et(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=t+1;r<e.length;r++){const s=e[r],o=n.start.offset<=s.start.offset&&s.start.offset<n.end.offset,i=n.start.offset<s.end.offset&&s.end.offset<=n.end.offset,a=s.start.offset<=n.start.offset&&n.start.offset<s.end.offset,l=s.start.offset<n.end.offset&&n.end.offset<=s.end.offset;if(o||i||a||l){if(o&&i||a&&l||a&&n.start.offset===n.end.offset||i&&s.start.offset===s.end.offset)continue;throw new et(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(s.start)} intersect.`)}}}}function m2(e){return e.type==="text"?e.value:e.type==="element"?e.children.map(m2).join(""):""}const $P=[MP()];function Va(e){const t=NP(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...$P]}function NP(e){const t=[],n=[],r=[];for(const s of e)switch(s.enforce){case"pre":t.push(s);break;case"post":n.push(s);break;default:r.push(s)}return{pre:t,post:n,normal:r}}var Yr=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],yc={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function DP(e,t){const n=e.indexOf("\x1B",t);if(n!==-1&&e[n+1]==="["){const r=e.indexOf("m",n);if(r!==-1)return{sequence:e.substring(n+2,r).split(";"),startPosition:n,position:r+1}}return{position:e.length}}function Uh(e){const t=e.shift();if(t==="2"){const n=e.splice(0,3).map(r=>Number.parseInt(r));return n.length!==3||n.some(r=>Number.isNaN(r))?void 0:{type:"rgb",rgb:n}}else if(t==="5"){const n=e.shift();if(n)return{type:"table",index:Number(n)}}}function BP(e){const t=[];for(;e.length>0;){const n=e.shift();if(!n)continue;const r=Number.parseInt(n);if(!Number.isNaN(r))if(r===0)t.push({type:"resetAll"});else if(r<=9)yc[r]&&t.push({type:"setDecoration",value:yc[r]});else if(r<=29){const s=yc[r-20];s&&(t.push({type:"resetDecoration",value:s}),s==="dim"&&t.push({type:"resetDecoration",value:"bold"}))}else if(r<=37)t.push({type:"setForegroundColor",value:{type:"named",name:Yr[r-30]}});else if(r===38){const s=Uh(e);s&&t.push({type:"setForegroundColor",value:s})}else if(r===39)t.push({type:"resetForegroundColor"});else if(r<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:Yr[r-40]}});else if(r===48){const s=Uh(e);s&&t.push({type:"setBackgroundColor",value:s})}else r===49?t.push({type:"resetBackgroundColor"}):r===53?t.push({type:"setDecoration",value:"overline"}):r===55?t.push({type:"resetDecoration",value:"overline"}):r>=90&&r<=97?t.push({type:"setForegroundColor",value:{type:"named",name:Yr[r-90+8]}}):r>=100&&r<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Yr[r-100+8]}})}return t}function FP(){let e=null,t=null,n=new Set;return{parse(r){const s=[];let o=0;do{const i=DP(r,o),a=i.sequence?r.substring(o,i.startPosition):r.substring(o);if(a.length>0&&s.push({value:a,foreground:e,background:t,decorations:new Set(n)}),i.sequence){const l=BP(i.sequence);for(const c of l)c.type==="resetAll"?(e=null,t=null,n.clear()):c.type==="resetForegroundColor"?e=null:c.type==="resetBackgroundColor"?t=null:c.type==="resetDecoration"&&n.delete(c.value);for(const c of l)c.type==="setForegroundColor"?e=c.value:c.type==="setBackgroundColor"?t=c.value:c.type==="setDecoration"&&n.add(c.value)}o=i.position}while(o<r.length);return s}}}var jP={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function zP(e=jP){function t(a){return e[a]}function n(a){return`#${a.map(l=>Math.max(0,Math.min(l,255)).toString(16).padStart(2,"0")).join("")}`}let r;function s(){if(r)return r;r=[];for(let c=0;c<Yr.length;c++)r.push(t(Yr[c]));let a=[0,95,135,175,215,255];for(let c=0;c<6;c++)for(let u=0;u<6;u++)for(let f=0;f<6;f++)r.push(n([a[c],a[u],a[f]]));let l=8;for(let c=0;c<24;c++,l+=10)r.push(n([l,l,l]));return r}function o(a){return s()[a]}function i(a){switch(a.type){case"named":return t(a.name);case"rgb":return n(a.rgb);case"table":return o(a.index)}}return{value:i}}const qP=/#([0-9a-f]{3,8})/i,HP=/var\((--[\w-]+-ansi-[\w-]+)\)/,UP={black:"#000000",red:"#cd3131",green:"#0DBC79",yellow:"#E5E510",blue:"#2472C8",magenta:"#BC3FBC",cyan:"#11A8CD",white:"#E5E5E5",brightBlack:"#666666",brightRed:"#F14C4C",brightGreen:"#23D18B",brightYellow:"#F5F543",brightBlue:"#3B8EEA",brightMagenta:"#D670D6",brightCyan:"#29B8DB",brightWhite:"#FFFFFF"};function VP(e,t,n){const r=Ha(e,n),s=Pl(t),o=zP(Object.fromEntries(Yr.map(a=>{const l=`terminal.ansi${a[0].toUpperCase()}${a.substring(1)}`;return[a,e.colors?.[l]||UP[a]]}))),i=FP();return s.map(a=>i.parse(a[0]).map(l=>{let c,u;l.decorations.has("reverse")?(c=l.background?o.value(l.background):e.bg,u=l.foreground?o.value(l.foreground):e.fg):(c=l.foreground?o.value(l.foreground):e.fg,u=l.background?o.value(l.background):void 0),c=Pr(c,r),u=Pr(u,r),l.decorations.has("dim")&&(c=GP(c));let f=Ot.None;return l.decorations.has("bold")&&(f|=Ot.Bold),l.decorations.has("italic")&&(f|=Ot.Italic),l.decorations.has("underline")&&(f|=Ot.Underline),l.decorations.has("strikethrough")&&(f|=Ot.Strikethrough),{content:l.value,offset:a[1],color:c,bgColor:u,fontStyle:f}}))}function GP(e){const t=e.match(qP);if(t){const r=t[1];if(r.length===8){const s=Math.round(Number.parseInt(r.slice(6,8),16)/2).toString(16).padStart(2,"0");return`#${r.slice(0,6)}${s}`}else{if(r.length===6)return`#${r}80`;if(r.length===4){const s=r[0],o=r[1],i=r[2],a=r[3];return`#${s}${s}${o}${o}${i}${i}${Math.round(Number.parseInt(`${a}${a}`,16)/2).toString(16).padStart(2,"0")}`}else if(r.length===3){const s=r[0],o=r[1],i=r[2];return`#${s}${s}${o}${o}${i}${i}80`}}}const n=e.match(HP);return n?`var(${n[1]}-dim)`:e}function ju(e,t,n={}){const r=e.resolveLangAlias(n.lang||"text"),{theme:s=e.getLoadedThemes()[0]}=n;if(!Al(r)&&!Tl(s)&&r==="ansi"){const{theme:o}=e.setTheme(s);return VP(o,t,n)}return e2(e,t,n)}function Ga(e,t,n){let r,s,o,i,a,l;if("themes"in n){const{defaultColor:c="light",cssVariablePrefix:u="--shiki-",colorsRendering:f="css-vars"}=n,d=Object.entries(n.themes).filter(b=>b[1]).map(b=>({color:b[0],theme:b[1]})).sort((b,y)=>b.color===c?-1:y.color===c?1:0);if(d.length===0)throw new et("`themes` option must not be empty");const p=t2(e,t,n,ju);if(l=ni(p),c&&c!=="light-dark()"&&!d.some(b=>b.color===c))throw new et(`\`themes\` option must contain the defaultColor key \`${c}\``);const h=d.map(b=>e.getTheme(b.theme)),m=d.map(b=>b.color);o=p.map(b=>b.map(y=>IP(y,m,u,c,f))),l&&Rl(o,l);const v=d.map(b=>Ha(b.theme,n));s=Vh(d,h,v,u,c,"fg",f),r=Vh(d,h,v,u,c,"bg",f),i=`shiki-themes ${h.map(b=>b.name).join(" ")}`,a=c?void 0:[s,r].join(";")}else if("theme"in n){const c=Ha(n.theme,n);o=ju(e,t,n);const u=e.getTheme(n.theme);r=Pr(u.bg,c),s=Pr(u.fg,c),i=u.name,l=ni(o)}else throw new et("Invalid options, either `theme` or `themes` must be provided");return{tokens:o,fg:s,bg:r,themeName:i,rootStyle:a,grammarState:l}}function Vh(e,t,n,r,s,o,i){return e.map((a,l)=>{const c=Pr(t[l][o],n[l])||"inherit",u=`${r+a.color}${o==="bg"?"-bg":""}:${c}`;if(l===0&&s){if(s==="light-dark()"&&e.length>1){const f=e.findIndex(p=>p.color==="light"),d=e.findIndex(p=>p.color==="dark");if(f===-1||d===-1)throw new et('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');return`light-dark(${Pr(t[f][o],n[f])||"inherit"}, ${Pr(t[d][o],n[d])||"inherit"});${u}`}return c}return i==="css-vars"?u:null}).filter(a=>!!a).join(";")}const y2=/^\s+$/,WP=/^(\s*)(.*?)(\s*)$/;function Wa(e,t,n,r={meta:{},options:n,codeToHast:(s,o)=>Wa(e,s,o),codeToTokens:(s,o)=>Ga(e,s,o)}){let s=t;for(const h of Va(n))s=h.preprocess?.call(r,s,n)||s;let{tokens:o,fg:i,bg:a,themeName:l,rootStyle:c,grammarState:u}=Ga(e,s,n);const{mergeWhitespaces:f=!0,mergeSameStyleTokens:d=!1}=n;f===!0?o=XP(o):f==="never"&&(o=YP(o)),d&&(o=JP(o));const p={...r,get source(){return s}};for(const h of Va(n))o=h.tokens?.call(p,o)||o;return KP(o,{...n,fg:i,bg:a,themeName:l,rootStyle:n.rootStyle===!1?!1:n.rootStyle??c},p,u)}function KP(e,t,n,r=ni(e)){const s=Va(t),o=[],i={type:"root",children:[]},{structure:a="classic",tabindex:l="0"}=t,c={class:`shiki ${t.themeName||""}`};t.rootStyle!==!1&&(t.rootStyle!=null?c.style=t.rootStyle:c.style=`background-color:${t.bg};color:${t.fg}`),l!==!1&&l!=null&&(c.tabindex=l.toString());for(const[m,v]of Object.entries(t.meta||{}))m.startsWith("_")||(c[m]=v);let u={type:"element",tagName:"pre",properties:c,children:[],data:t.data},f={type:"element",tagName:"code",properties:{},children:o};const d=[],p={...n,structure:a,addClassToHast:g2,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return i},get pre(){return u},get code(){return f},get lines(){return d}};if(e.forEach((m,v)=>{v&&(a==="inline"?i.children.push({type:"element",tagName:"br",properties:{},children:[]}):a==="classic"&&o.push({type:"text",value:`
|
|
55
|
-
`}));let b={type:"element",tagName:"span",properties:{class:"line"},children:[]},y=0;for(const g of m){let w={type:"element",tagName:"span",properties:{...g.htmlAttrs},children:[{type:"text",value:g.content}]};const x=Fu(g.htmlStyle||Ua(g));x&&(w.properties.style=x);for(const S of s)w=S?.span?.call(p,w,v+1,y,b,g)||w;a==="inline"?i.children.push(w):a==="classic"&&b.children.push(w),y+=g.content.length}if(a==="classic"){for(const g of s)b=g?.line?.call(p,b,v+1)||b;d.push(b),o.push(b)}else a==="inline"&&d.push(b)}),a==="classic"){for(const m of s)f=m?.code?.call(p,f)||f;u.children.push(f);for(const m of s)u=m?.pre?.call(p,u)||u;i.children.push(u)}else if(a==="inline"){const m=[];let v={type:"element",tagName:"span",properties:{class:"line"},children:[]};for(const y of i.children)y.type==="element"&&y.tagName==="br"?(m.push(v),v={type:"element",tagName:"span",properties:{class:"line"},children:[]}):(y.type==="element"||y.type==="text")&&v.children.push(y);m.push(v);let b={type:"element",tagName:"code",properties:{},children:m};for(const y of s)b=y?.code?.call(p,b)||b;i.children=[];for(let y=0;y<b.children.length;y++){y>0&&i.children.push({type:"element",tagName:"br",properties:{},children:[]});const g=b.children[y];g.type==="element"&&i.children.push(...g.children)}}let h=i;for(const m of s)h=m?.root?.call(p,h)||h;return r&&Rl(h,r),h}function XP(e){return e.map(t=>{const n=[];let r="",s;return t.forEach((o,i)=>{const a=!(o.fontStyle&&(o.fontStyle&Ot.Underline||o.fontStyle&Ot.Strikethrough));a&&y2.test(o.content)&&t[i+1]?(s===void 0&&(s=o.offset),r+=o.content):r?(a?n.push({...o,offset:s,content:r+o.content}):n.push({content:r,offset:s},o),s=void 0,r=""):n.push(o)}),n})}function YP(e){return e.map(t=>t.flatMap(n=>{if(y2.test(n.content))return n;const r=n.content.match(WP);if(!r)return n;const[,s,o,i]=r;if(!s&&!i)return n;const a=[{...n,offset:n.offset+s.length,content:o}];return s&&a.unshift({content:s,offset:n.offset}),i&&a.push({content:i,offset:n.offset+s.length+o.length}),a}))}function JP(e){return e.map(t=>{const n=[];for(const r of t){if(n.length===0){n.push({...r});continue}const s=n.at(-1),o=Fu(s.htmlStyle||Ua(s)),i=Fu(r.htmlStyle||Ua(r)),a=s.fontStyle&&(s.fontStyle&Ot.Underline||s.fontStyle&Ot.Strikethrough),l=r.fontStyle&&(r.fontStyle&Ot.Underline||r.fontStyle&Ot.Strikethrough);!a&&!l&&o===i?s.content+=r.content:n.push({...r})}return n})}const ZP=SP;function QP(e,t,n){const r={meta:{},options:n,codeToHast:(o,i)=>Wa(e,o,i),codeToTokens:(o,i)=>Ga(e,o,i)};let s=ZP(Wa(e,t,n,r));for(const o of Va(n))s=o.postprocess?.call(r,s,n)||s;return s}async function eR(e){const t=await eT(e);return{getLastGrammarState:(...n)=>oT(t,...n),codeToTokensBase:(n,r)=>ju(t,n,r),codeToTokensWithThemes:(n,r)=>t2(t,n,r),codeToTokens:(n,r)=>Ga(t,n,r),codeToHast:(n,r)=>Wa(t,n,r),codeToHtml:(n,r)=>QP(t,n,r),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}const Gh=4294967295;var tR=class{patterns;options;regexps;constructor(e,t={}){this.patterns=e,this.options=t;const{forgiving:n=!1,cache:r,regexConstructor:s}=t;if(!s)throw new Error("Option `regexConstructor` is not provided");this.regexps=e.map(o=>{if(typeof o!="string")return o;const i=r?.get(o);if(i){if(i instanceof RegExp)return i;if(n)return null;throw i}try{const a=s(o);return r?.set(o,a),a}catch(a){if(r?.set(o,a),n)return null;throw a}})}findNextMatchSync(e,t,n){const r=typeof e=="string"?e:e.content,s=[];function o(i,a,l=0){return{index:i,captureIndices:a.indices.map(c=>c==null?{start:Gh,end:Gh,length:0}:{start:c[0]+l,end:c[1]+l,length:c[1]-c[0]})}}for(let i=0;i<this.regexps.length;i++){const a=this.regexps[i];if(a)try{a.lastIndex=t;const l=a.exec(r);if(!l)continue;if(l.index===t)return o(i,l,0);s.push([i,l,0])}catch(l){if(this.options.forgiving)continue;throw l}}if(s.length){const i=Math.min(...s.map(a=>a[1].index));for(const[a,l,c]of s)if(l.index===i)return o(a,l,c)}return null}};function to(e){if([...e].length!==1)throw new Error(`Expected "${e}" to be a single code point`);return e.codePointAt(0)}function nR(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}const Xf=new Set(["alnum","alpha","ascii","blank","cntrl","digit","graph","lower","print","punct","space","upper","word","xdigit"]),wt=String.raw;function no(e,t){if(e==null)throw new Error(t??"Value expected");return e}const v2=wt`\[\^?`,b2=`c.? | C(?:-.?)?|${wt`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${wt`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${wt`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${wt`o\{[^\}]*\}?`}|${wt`\d{1,3}`}`,Yf=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,Wi=new RegExp(wt`
|
|
56
|
-
\\ (?:
|
|
57
|
-
${b2}
|
|
58
|
-
| [gk]<[^>]*>?
|
|
59
|
-
| [gk]'[^']*'?
|
|
60
|
-
| .
|
|
61
|
-
)
|
|
62
|
-
| \( (?:
|
|
63
|
-
\? (?:
|
|
64
|
-
[:=!>({]
|
|
65
|
-
| <[=!]
|
|
66
|
-
| <[^>]*>
|
|
67
|
-
| '[^']*'
|
|
68
|
-
| ~\|?
|
|
69
|
-
| #(?:[^)\\]|\\.?)*
|
|
70
|
-
| [^:)]*[:)]
|
|
71
|
-
)?
|
|
72
|
-
| \*[^\)]*\)?
|
|
73
|
-
)?
|
|
74
|
-
| (?:${Yf.source})+
|
|
75
|
-
| ${v2}
|
|
76
|
-
| .
|
|
77
|
-
`.replace(/\s+/g,""),"gsu"),vc=new RegExp(wt`
|
|
78
|
-
\\ (?:
|
|
79
|
-
${b2}
|
|
80
|
-
| .
|
|
81
|
-
)
|
|
82
|
-
| \[:(?:\^?\p{Alpha}+|\^):\]
|
|
83
|
-
| ${v2}
|
|
84
|
-
| &&
|
|
85
|
-
| .
|
|
86
|
-
`.replace(/\s+/g,""),"gsu");function rR(e,t={}){const n={flags:"",...t,rules:{captureGroup:!1,singleline:!1,...t.rules}};if(typeof e!="string")throw new Error("String expected as pattern");const r=xR(n.flags),s=[r.extended],o={captureGroup:n.rules.captureGroup,getCurrentModX(){return s.at(-1)},numOpenGroups:0,popModX(){s.pop()},pushModX(f){s.push(f)},replaceCurrentModX(f){s[s.length-1]=f},singleline:n.rules.singleline};let i=[],a;for(Wi.lastIndex=0;a=Wi.exec(e);){const f=sR(o,e,a[0],Wi.lastIndex);f.tokens?i.push(...f.tokens):f.token&&i.push(f.token),f.lastIndex!==void 0&&(Wi.lastIndex=f.lastIndex)}const l=[];let c=0;i.filter(f=>f.type==="GroupOpen").forEach(f=>{f.kind==="capturing"?f.number=++c:f.raw==="("&&l.push(f)}),c||l.forEach((f,d)=>{f.kind="capturing",f.number=d+1});const u=c||l.length;return{tokens:i.map(f=>f.type==="EscapedNumber"?kR(f,u):f).flat(),flags:r}}function sR(e,t,n,r){const[s,o]=n;if(n==="["||n==="[^"){const i=oR(t,n,r);return{tokens:i.tokens,lastIndex:i.lastIndex}}if(s==="\\"){if("AbBGyYzZ".includes(o))return{token:Wh(n,n)};if(/^\\g[<']/.test(n)){if(!/^\\g(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:gR(n)}}if(/^\\k[<']/.test(n)){if(!/^\\k(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:_2(n)}}if(o==="K")return{token:x2("keep",n)};if(o==="N"||o==="R")return{token:Jr("newline",n,{negate:o==="N"})};if(o==="O")return{token:Jr("any",n)};if(o==="X")return{token:Jr("text_segment",n)};const i=w2(n,{inCharClass:!1});return Array.isArray(i)?{tokens:i}:{token:i}}if(s==="("){if(o==="*")return{token:bR(n)};if(n==="(?{")throw new Error(`Unsupported callout "${n}"`);if(n.startsWith("(?#")){if(t[r]!==")")throw new Error('Unclosed comment group "(?#"');return{lastIndex:r+1}}if(/^\(\?[-imx]+[:)]$/.test(n))return{token:vR(n,e)};if(e.pushModX(e.getCurrentModX()),e.numOpenGroups++,n==="("&&!e.captureGroup||n==="(?:")return{token:ks("group",n)};if(n==="(?>")return{token:ks("atomic",n)};if(n==="(?="||n==="(?!"||n==="(?<="||n==="(?<!")return{token:ks(n[2]==="<"?"lookbehind":"lookahead",n,{negate:n.endsWith("!")})};if(n==="("&&e.captureGroup||n.startsWith("(?<")&&n.endsWith(">")||n.startsWith("(?'")&&n.endsWith("'"))return{token:ks("capturing",n,{...n!=="("&&{name:n.slice(3,-1)}})};if(n.startsWith("(?~")){if(n==="(?~|")throw new Error(`Unsupported absence function kind "${n}"`);return{token:ks("absence_repeater",n)}}throw n==="(?("?new Error(`Unsupported conditional "${n}"`):new Error(`Invalid or unsupported group option "${n}"`)}if(n===")"){if(e.popModX(),e.numOpenGroups--,e.numOpenGroups<0)throw new Error('Unmatched ")"');return{token:dR(n)}}if(e.getCurrentModX()){if(n==="#"){const i=t.indexOf(`
|
|
87
|
-
`,r);return{lastIndex:i===-1?t.length:i}}if(/^\s$/.test(n)){const i=/\s+/y;return i.lastIndex=r,{lastIndex:i.exec(t)?i.lastIndex:r}}}if(n===".")return{token:Jr("dot",n)};if(n==="^"||n==="$"){const i=e.singleline?{"^":wt`\A`,$:wt`\Z`}[n]:n;return{token:Wh(i,n)}}return n==="|"?{token:aR(n)}:Yf.test(n)?{tokens:SR(n)}:{token:ir(to(n),n)}}function oR(e,t,n){const r=[Kh(t[1]==="^",t)];let s=1,o;for(vc.lastIndex=n;o=vc.exec(e);){const i=o[0];if(i[0]==="["&&i[1]!==":")s++,r.push(Kh(i[1]==="^",i));else if(i==="]"){if(r.at(-1).type==="CharacterClassOpen")r.push(ir(93,i));else if(s--,r.push(lR(i)),!s)break}else{const a=iR(i);Array.isArray(a)?r.push(...a):r.push(a)}}return{tokens:r,lastIndex:vc.lastIndex||e.length}}function iR(e){if(e[0]==="\\")return w2(e,{inCharClass:!0});if(e[0]==="["){const t=/\[:(?<negate>\^?)(?<name>[a-z]+):\]/.exec(e);if(!t||!Xf.has(t.groups.name))throw new Error(`Invalid POSIX class "${e}"`);return Jr("posix",e,{value:t.groups.name,negate:!!t.groups.negate})}return e==="-"?cR(e):e==="&&"?uR(e):ir(to(e),e)}function w2(e,{inCharClass:t}){const n=e[1];if(n==="c"||n==="C")return yR(e);if("dDhHsSwW".includes(n))return wR(e);if(e.startsWith(wt`\o{`))throw new Error(`Incomplete, invalid, or unsupported octal code point "${e}"`);if(/^\\[pP]\{/.test(e)){if(e.length===3)throw new Error(`Incomplete or invalid Unicode property "${e}"`);return _R(e)}if(new RegExp("^\\\\x[89A-Fa-f]\\p{AHex}","u").test(e))try{const r=e.split(/\\x/).slice(1).map(i=>parseInt(i,16)),s=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}).decode(new Uint8Array(r)),o=new TextEncoder;return[...s].map(i=>{const a=[...o.encode(i)].map(l=>`\\x${l.toString(16)}`).join("");return ir(to(i),a)})}catch{throw new Error(`Multibyte code "${e}" incomplete or invalid in Oniguruma`)}if(n==="u"||n==="x")return ir(CR(e),e);if(Xh.has(n))return ir(Xh.get(n),e);if(/\d/.test(n))return fR(t,e);if(e==="\\")throw new Error(wt`Incomplete escape "\"`);if(n==="M")throw new Error(`Unsupported meta "${e}"`);if([...e].length===2)return ir(e.codePointAt(1),e);throw new Error(`Unexpected escape "${e}"`)}function aR(e){return{type:"Alternator",raw:e}}function Wh(e,t){return{type:"Assertion",kind:e,raw:t}}function _2(e){return{type:"Backreference",raw:e}}function ir(e,t){return{type:"Character",value:e,raw:t}}function lR(e){return{type:"CharacterClassClose",raw:e}}function cR(e){return{type:"CharacterClassHyphen",raw:e}}function uR(e){return{type:"CharacterClassIntersector",raw:e}}function Kh(e,t){return{type:"CharacterClassOpen",negate:e,raw:t}}function Jr(e,t,n={}){return{type:"CharacterSet",kind:e,...n,raw:t}}function x2(e,t,n={}){return e==="keep"?{type:"Directive",kind:e,raw:t}:{type:"Directive",kind:e,flags:no(n.flags),raw:t}}function fR(e,t){return{type:"EscapedNumber",inCharClass:e,raw:t}}function dR(e){return{type:"GroupClose",raw:e}}function ks(e,t,n={}){return{type:"GroupOpen",kind:e,...n,raw:t}}function pR(e,t,n,r){return{type:"NamedCallout",kind:e,tag:t,arguments:n,raw:r}}function hR(e,t,n,r){return{type:"Quantifier",kind:e,min:t,max:n,raw:r}}function gR(e){return{type:"Subroutine",raw:e}}const mR=new Set(["COUNT","CMP","ERROR","FAIL","MAX","MISMATCH","SKIP","TOTAL_COUNT"]),Xh=new Map([["a",7],["b",8],["e",27],["f",12],["n",10],["r",13],["t",9],["v",11]]);function yR(e){const t=e[1]==="c"?e[2]:e[3];if(!t||!/[A-Za-z]/.test(t))throw new Error(`Unsupported control character "${e}"`);return ir(to(t.toUpperCase())-64,e)}function vR(e,t){let{on:n,off:r}=/^\(\?(?<on>[imx]*)(?:-(?<off>[-imx]*))?/.exec(e).groups;r??="";const s=(t.getCurrentModX()||n.includes("x"))&&!r.includes("x"),o=Jh(n),i=Jh(r),a={};if(o&&(a.enable=o),i&&(a.disable=i),e.endsWith(")"))return t.replaceCurrentModX(s),x2("flags",e,{flags:a});if(e.endsWith(":"))return t.pushModX(s),t.numOpenGroups++,ks("group",e,{...(o||i)&&{flags:a}});throw new Error(`Unexpected flag modifier "${e}"`)}function bR(e){const t=/\(\*(?<name>[A-Za-z_]\w*)?(?:\[(?<tag>(?:[A-Za-z_]\w*)?)\])?(?:\{(?<args>[^}]*)\})?\)/.exec(e);if(!t)throw new Error(`Incomplete or invalid named callout "${e}"`);const{name:n,tag:r,args:s}=t.groups;if(!n)throw new Error(`Invalid named callout "${e}"`);if(r==="")throw new Error(`Named callout tag with empty value not allowed "${e}"`);const o=s?s.split(",").filter(u=>u!=="").map(u=>/^[+-]?\d+$/.test(u)?+u:u):[],[i,a,l]=o,c=mR.has(n)?n.toLowerCase():"custom";switch(c){case"fail":case"mismatch":case"skip":if(o.length>0)throw new Error(`Named callout arguments not allowed "${o}"`);break;case"error":if(o.length>1)throw new Error(`Named callout allows only one argument "${o}"`);if(typeof i=="string")throw new Error(`Named callout argument must be a number "${i}"`);break;case"max":if(!o.length||o.length>2)throw new Error(`Named callout must have one or two arguments "${o}"`);if(typeof i=="string"&&!/^[A-Za-z_]\w*$/.test(i))throw new Error(`Named callout argument one must be a tag or number "${i}"`);if(o.length===2&&(typeof a=="number"||!/^[<>X]$/.test(a)))throw new Error(`Named callout optional argument two must be '<', '>', or 'X' "${a}"`);break;case"count":case"total_count":if(o.length>1)throw new Error(`Named callout allows only one argument "${o}"`);if(o.length===1&&(typeof i=="number"||!/^[<>X]$/.test(i)))throw new Error(`Named callout optional argument must be '<', '>', or 'X' "${i}"`);break;case"cmp":if(o.length!==3)throw new Error(`Named callout must have three arguments "${o}"`);if(typeof i=="string"&&!/^[A-Za-z_]\w*$/.test(i))throw new Error(`Named callout argument one must be a tag or number "${i}"`);if(typeof a=="number"||!/^(?:[<>!=]=|[<>])$/.test(a))throw new Error(`Named callout argument two must be '==', '!=', '>', '<', '>=', or '<=' "${a}"`);if(typeof l=="string"&&!/^[A-Za-z_]\w*$/.test(l))throw new Error(`Named callout argument three must be a tag or number "${l}"`);break;case"custom":throw new Error(`Undefined callout name "${n}"`);default:throw new Error(`Unexpected named callout kind "${c}"`)}return pR(c,r??null,s?.split(",")??null,e)}function Yh(e){let t=null,n,r;if(e[0]==="{"){const{minStr:s,maxStr:o}=/^\{(?<minStr>\d*)(?:,(?<maxStr>\d*))?/.exec(e).groups,i=1e5;if(+s>i||o&&+o>i)throw new Error("Quantifier value unsupported in Oniguruma");if(n=+s,r=o===void 0?+s:o===""?1/0:+o,n>r&&(t="possessive",[n,r]=[r,n]),e.endsWith("?")){if(t==="possessive")throw new Error('Unsupported possessive interval quantifier chain with "?"');t="lazy"}else t||(t="greedy")}else n=e[0]==="+"?1:0,r=e[0]==="?"?1:1/0,t=e[1]==="+"?"possessive":e[1]==="?"?"lazy":"greedy";return hR(t,n,r,e)}function wR(e){const t=e[1].toLowerCase();return Jr({d:"digit",h:"hex",s:"space",w:"word"}[t],e,{negate:e[1]!==t})}function _R(e){const{p:t,neg:n,value:r}=/^\\(?<p>[pP])\{(?<neg>\^?)(?<value>[^}]+)/.exec(e).groups;return Jr("property",e,{value:r,negate:t==="P"&&!n||t==="p"&&!!n})}function Jh(e){const t={};return e.includes("i")&&(t.ignoreCase=!0),e.includes("m")&&(t.dotAll=!0),e.includes("x")&&(t.extended=!0),Object.keys(t).length?t:null}function xR(e){const t={ignoreCase:!1,dotAll:!1,extended:!1,digitIsAscii:!1,posixIsAscii:!1,spaceIsAscii:!1,wordIsAscii:!1,textSegmentMode:null};for(let n=0;n<e.length;n++){const r=e[n];if(!"imxDPSWy".includes(r))throw new Error(`Invalid flag "${r}"`);if(r==="y"){if(!/^y{[gw]}/.test(e.slice(n)))throw new Error('Invalid or unspecified flag "y" mode');t.textSegmentMode=e[n+2]==="g"?"grapheme":"word",n+=3;continue}t[{i:"ignoreCase",m:"dotAll",x:"extended",D:"digitIsAscii",P:"posixIsAscii",S:"spaceIsAscii",W:"wordIsAscii"}[r]]=!0}return t}function CR(e){if(new RegExp("^(?:\\\\u(?!\\p{AHex}{4})|\\\\x(?!\\p{AHex}{1,2}|\\{\\p{AHex}{1,8}\\}))","u").test(e))throw new Error(`Incomplete or invalid escape "${e}"`);const t=e[2]==="{"?new RegExp("^\\\\x\\{\\s*(?<hex>\\p{AHex}+)","u").exec(e).groups.hex:e.slice(2);return parseInt(t,16)}function kR(e,t){const{raw:n,inCharClass:r}=e,s=n.slice(1);if(!r&&(s!=="0"&&s.length===1||s[0]!=="0"&&+s<=t))return[_2(n)];const o=[],i=s.match(/^[0-7]+|\d/g);for(let a=0;a<i.length;a++){const l=i[a];let c;if(a===0&&l!=="8"&&l!=="9"){if(c=parseInt(l,8),c>127)throw new Error(wt`Octal encoded byte above 177 unsupported "${n}"`)}else c=to(l);o.push(ir(c,(a===0?"\\":"")+l))}return o}function SR(e){const t=[],n=new RegExp(Yf,"gy");let r;for(;r=n.exec(e);){const s=r[0];if(s[0]==="{"){const o=/^\{(?<min>\d+),(?<max>\d+)\}\??$/.exec(s);if(o){const{min:i,max:a}=o.groups;if(+i>+a&&s.endsWith("?")){n.lastIndex--,t.push(Yh(s.slice(0,-1)));continue}}}t.push(Yh(s))}return t}function C2(e,t){if(!Array.isArray(e.body))throw new Error("Expected node with body array");if(e.body.length!==1)return!1;const n=e.body[0];return!t||Object.keys(t).every(r=>t[r]===n[r])}function ER(e){return AR.has(e.type)}const AR=new Set(["AbsenceFunction","Backreference","CapturingGroup","Character","CharacterClass","CharacterSet","Group","Quantifier","Subroutine"]);function k2(e,t={}){const n={flags:"",normalizeUnknownPropertyNames:!1,skipBackrefValidation:!1,skipLookbehindValidation:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t,rules:{captureGroup:!1,singleline:!1,...t.rules}},r=rR(e,{flags:n.flags,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline}}),s=(d,p)=>{const h=r.tokens[o.nextIndex];switch(o.parent=d,o.nextIndex++,h.type){case"Alternator":return ls();case"Assertion":return TR(h);case"Backreference":return PR(h,o);case"Character":return Il(h.value,{useLastValid:!!p.isCheckingRangeEnd});case"CharacterClassHyphen":return RR(h,o,p);case"CharacterClassOpen":return OR(h,o,p);case"CharacterSet":return IR(h,o);case"Directive":return BR(h.kind,{flags:h.flags});case"GroupOpen":return MR(h,o,p);case"NamedCallout":return jR(h.kind,h.tag,h.arguments);case"Quantifier":return LR(h,o);case"Subroutine":return $R(h,o);default:throw new Error(`Unexpected token type "${h.type}"`)}},o={capturingGroups:[],hasNumberedRef:!1,namedGroupsByName:new Map,nextIndex:0,normalizeUnknownPropertyNames:n.normalizeUnknownPropertyNames,parent:null,skipBackrefValidation:n.skipBackrefValidation,skipLookbehindValidation:n.skipLookbehindValidation,skipPropertyNameValidation:n.skipPropertyNameValidation,subroutines:[],tokens:r.tokens,unicodePropertyMap:n.unicodePropertyMap,walk:s},i=qR(FR(r.flags));let a=i.body[0];for(;o.nextIndex<r.tokens.length;){const d=s(a,{});d.type==="Alternative"?(i.body.push(d),a=d):a.body.push(d)}const{capturingGroups:l,hasNumberedRef:c,namedGroupsByName:u,subroutines:f}=o;if(c&&u.size&&!n.rules.captureGroup)throw new Error("Numbered backref/subroutine not allowed when using named capture");for(const{ref:d}of f)if(typeof d=="number"){if(d>l.length)throw new Error("Subroutine uses a group number that's not defined");d&&(l[d-1].isSubroutined=!0)}else if(u.has(d)){if(u.get(d).length>1)throw new Error(wt`Subroutine uses a duplicate group name "\g<${d}>"`);u.get(d)[0].isSubroutined=!0}else throw new Error(wt`Subroutine uses a group name that's not defined "\g<${d}>"`);return i}function TR({kind:e}){return zu(no({"^":"line_start",$:"line_end","\\A":"string_start","\\b":"word_boundary","\\B":"word_boundary","\\G":"search_start","\\y":"text_segment_boundary","\\Y":"text_segment_boundary","\\z":"string_end","\\Z":"string_end_newline"}[e],`Unexpected assertion kind "${e}"`),{negate:e===wt`\B`||e===wt`\Y`})}function PR({raw:e},t){const n=/^\\k[<']/.test(e),r=n?e.slice(3,-1):e.slice(1),s=(o,i=!1)=>{const a=t.capturingGroups.length;let l=!1;if(o>a)if(t.skipBackrefValidation)l=!0;else throw new Error(`Not enough capturing groups defined to the left "${e}"`);return t.hasNumberedRef=!0,qu(i?a+1-o:o,{orphan:l})};if(n){const o=/^(?<sign>-?)0*(?<num>[1-9]\d*)$/.exec(r);if(o)return s(+o.groups.num,!!o.groups.sign);if(/[-+]/.test(r))throw new Error(`Invalid backref name "${e}"`);if(!t.namedGroupsByName.has(r))throw new Error(`Group name not defined to the left "${e}"`);return qu(r)}return s(+r)}function RR(e,t,n){const{tokens:r,walk:s}=t,o=t.parent,i=o.body.at(-1),a=r[t.nextIndex];if(!n.isCheckingRangeEnd&&i&&i.type!=="CharacterClass"&&i.type!=="CharacterClassRange"&&a&&a.type!=="CharacterClassOpen"&&a.type!=="CharacterClassClose"&&a.type!=="CharacterClassIntersector"){const l=s(o,{...n,isCheckingRangeEnd:!0});if(i.type==="Character"&&l.type==="Character")return o.body.pop(),DR(i,l);throw new Error("Invalid character class range")}return Il(to("-"))}function OR({negate:e},t,n){const{tokens:r,walk:s}=t,o=[sa()],i=r[t.nextIndex];let a=eg(i);for(;a.type!=="CharacterClassClose";){if(a.type==="CharacterClassIntersector")o.push(sa()),t.nextIndex++;else{const c=o.at(-1);c.body.push(s(c,n))}a=eg(r[t.nextIndex],i)}const l=sa({negate:e});return o.length===1?l.body=o[0].body:(l.kind="intersection",l.body=o.map(c=>c.body.length===1?c.body[0]:c)),t.nextIndex++,l}function IR({kind:e,negate:t,value:n},r){const{normalizeUnknownPropertyNames:s,skipPropertyNameValidation:o,unicodePropertyMap:i}=r;if(e==="property"){const a=Ml(n);if(Xf.has(a)&&!i?.has(a))e="posix",n=a;else return Ss(n,{negate:t,normalizeUnknownPropertyNames:s,skipPropertyNameValidation:o,unicodePropertyMap:i})}return e==="posix"?zR(n,{negate:t}):Hu(e,{negate:t})}function MR(e,t,n){const{tokens:r,capturingGroups:s,namedGroupsByName:o,skipLookbehindValidation:i,walk:a}=t,l=HR(e),c=l.type==="AbsenceFunction",u=Qh(l),f=u&&l.negate;if(l.type==="CapturingGroup"&&(s.push(l),l.name&&nR(o,l.name,[]).push(l)),c&&n.isInAbsenceFunction)throw new Error("Nested absence function not supported by Oniguruma");let d=tg(r[t.nextIndex]);for(;d.type!=="GroupClose";){if(d.type==="Alternator")l.body.push(ls()),t.nextIndex++;else{const p=l.body.at(-1),h=a(p,{...n,isInAbsenceFunction:n.isInAbsenceFunction||c,isInLookbehind:n.isInLookbehind||u,isInNegLookbehind:n.isInNegLookbehind||f});if(p.body.push(h),(u||n.isInLookbehind)&&!i){const m="Lookbehind includes a pattern not allowed by Oniguruma";if(f||n.isInNegLookbehind){if(Zh(h)||h.type==="CapturingGroup")throw new Error(m)}else if(Zh(h)||Qh(h)&&h.negate)throw new Error(m)}}d=tg(r[t.nextIndex])}return t.nextIndex++,l}function LR({kind:e,min:t,max:n},r){const s=r.parent,o=s.body.at(-1);if(!o||!ER(o))throw new Error("Quantifier requires a repeatable token");const i=E2(e,t,n,o);return s.body.pop(),i}function $R({raw:e},t){const{capturingGroups:n,subroutines:r}=t;let s=e.slice(3,-1);const o=/^(?<sign>[-+]?)0*(?<num>[1-9]\d*)$/.exec(s);if(o){const a=+o.groups.num,l=n.length;if(t.hasNumberedRef=!0,s={"":a,"+":l+a,"-":l+1-a}[o.groups.sign],s<1)throw new Error("Invalid subroutine number")}else s==="0"&&(s=0);const i=A2(s);return r.push(i),i}function NR(e,t){return{type:"AbsenceFunction",kind:e,body:vi(t?.body)}}function ls(e){return{type:"Alternative",body:T2(e?.body)}}function zu(e,t){const n={type:"Assertion",kind:e};return(e==="word_boundary"||e==="text_segment_boundary")&&(n.negate=!!t?.negate),n}function qu(e,t){const n=!!t?.orphan;return{type:"Backreference",ref:e,...n&&{orphan:n}}}function S2(e,t){const n={name:void 0,isSubroutined:!1,...t};if(n.name!==void 0&&!UR(n.name))throw new Error(`Group name "${n.name}" invalid in Oniguruma`);return{type:"CapturingGroup",number:e,...n.name&&{name:n.name},...n.isSubroutined&&{isSubroutined:n.isSubroutined},body:vi(t?.body)}}function Il(e,t){const n={useLastValid:!1,...t};if(e>1114111){const r=e.toString(16);if(n.useLastValid)e=1114111;else throw e>1310719?new Error(`Invalid code point out of range "\\x{${r}}"`):new Error(`Invalid code point out of range in JS "\\x{${r}}"`)}return{type:"Character",value:e}}function sa(e){const t={kind:"union",negate:!1,...e};return{type:"CharacterClass",kind:t.kind,negate:t.negate,body:T2(e?.body)}}function DR(e,t){if(t.value<e.value)throw new Error("Character class range out of order");return{type:"CharacterClassRange",min:e,max:t}}function Hu(e,t){const n=!!t?.negate,r={type:"CharacterSet",kind:e};return(e==="digit"||e==="hex"||e==="newline"||e==="space"||e==="word")&&(r.negate=n),(e==="text_segment"||e==="newline"&&!n)&&(r.variableLength=!0),r}function BR(e,t={}){if(e==="keep")return{type:"Directive",kind:e};if(e==="flags")return{type:"Directive",kind:e,flags:no(t.flags)};throw new Error(`Unexpected directive kind "${e}"`)}function FR(e){return{type:"Flags",...e}}function mn(e){const t=e?.atomic,n=e?.flags;if(t&&n)throw new Error("Atomic group cannot have flags");return{type:"Group",...t&&{atomic:t},...n&&{flags:n},body:vi(e?.body)}}function Xr(e){const t={behind:!1,negate:!1,...e};return{type:"LookaroundAssertion",kind:t.behind?"lookbehind":"lookahead",negate:t.negate,body:vi(e?.body)}}function jR(e,t,n){return{type:"NamedCallout",kind:e,tag:t,arguments:n}}function zR(e,t){const n=!!t?.negate;if(!Xf.has(e))throw new Error(`Invalid POSIX class "${e}"`);return{type:"CharacterSet",kind:"posix",value:e,negate:n}}function E2(e,t,n,r){if(t>n)throw new Error("Invalid reversed quantifier range");return{type:"Quantifier",kind:e,min:t,max:n,body:r}}function qR(e,t){return{type:"Regex",body:vi(t?.body),flags:e}}function A2(e){return{type:"Subroutine",ref:e}}function Ss(e,t){const n={negate:!1,normalizeUnknownPropertyNames:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t};let r=n.unicodePropertyMap?.get(Ml(e));if(!r){if(n.normalizeUnknownPropertyNames)r=VR(e);else if(n.unicodePropertyMap&&!n.skipPropertyNameValidation)throw new Error(wt`Invalid Unicode property "\p{${e}}"`)}return{type:"CharacterSet",kind:"property",value:r??e,negate:n.negate}}function HR({flags:e,kind:t,name:n,negate:r,number:s}){switch(t){case"absence_repeater":return NR("repeater");case"atomic":return mn({atomic:!0});case"capturing":return S2(s,{name:n});case"group":return mn({flags:e});case"lookahead":case"lookbehind":return Xr({behind:t==="lookbehind",negate:r});default:throw new Error(`Unexpected group kind "${t}"`)}}function vi(e){if(e===void 0)e=[ls()];else if(!Array.isArray(e)||!e.length||!e.every(t=>t.type==="Alternative"))throw new Error("Invalid body; expected array of one or more Alternative nodes");return e}function T2(e){if(e===void 0)e=[];else if(!Array.isArray(e)||!e.every(t=>!!t.type))throw new Error("Invalid body; expected array of nodes");return e}function Zh(e){return e.type==="LookaroundAssertion"&&e.kind==="lookahead"}function Qh(e){return e.type==="LookaroundAssertion"&&e.kind==="lookbehind"}function UR(e){return/^[\p{Alpha}\p{Pc}][^)]*$/u.test(e)}function VR(e){return e.trim().replace(/[- _]+/g,"_").replace(/[A-Z][a-z]+(?=[A-Z])/g,"$&_").replace(/[A-Za-z]+/g,t=>t[0].toUpperCase()+t.slice(1).toLowerCase())}function Ml(e){return e.replace(/[- _]+/g,"").toLowerCase()}function eg(e,t){const n=t;return no(e,`Unclosed character class${n?.type==="Character"&&n.value===93&&n.raw==="]"?' (started with "]")':""}`)}function tg(e){return no(e,"Unclosed group")}function $o(e,t,n=null){function r(o,i){for(let a=0;a<o.length;a++){const l=s(o[a],i,a,o);a=Math.max(-1,a+l)}}function s(o,i=null,a=null,l=null){let c=0,u=!1;const f={node:o,parent:i,key:a,container:l,root:e,remove(){Ki(l).splice(Math.max(0,vs(a)+c),1),c--,u=!0},removeAllNextSiblings(){return Ki(l).splice(vs(a)+1)},removeAllPrevSiblings(){const b=vs(a)+c;return c-=b,Ki(l).splice(0,Math.max(0,b))},replaceWith(b,y={}){const g=!!y.traverse;l?l[Math.max(0,vs(a)+c)]=b:no(i,"Can't replace root node")[a]=b,g&&s(b,i,a,l),u=!0},replaceWithMultiple(b,y={}){const g=!!y.traverse;if(Ki(l).splice(Math.max(0,vs(a)+c),1,...b),c+=b.length-1,g){let w=0;for(let x=0;x<b.length;x++)w+=s(b[x],i,vs(a)+x+w,l)}u=!0},skip(){u=!0}},{type:d}=o,p=t["*"],h=t[d],m=typeof p=="function"?p:p?.enter,v=typeof h=="function"?h:h?.enter;if(m?.(f,n),v?.(f,n),!u)switch(d){case"AbsenceFunction":case"Alternative":case"CapturingGroup":case"CharacterClass":case"Group":case"LookaroundAssertion":r(o.body,o);break;case"Assertion":case"Backreference":case"Character":case"CharacterSet":case"Directive":case"Flags":case"NamedCallout":case"Subroutine":break;case"CharacterClassRange":s(o.min,o,"min"),s(o.max,o,"max");break;case"Quantifier":s(o.body,o,"body");break;case"Regex":r(o.body,o),s(o.flags,o,"flags");break;default:throw new Error(`Unexpected node type "${d}"`)}return h?.exit?.(f,n),p?.exit?.(f,n),c}return s(e),e}function Ki(e){if(!Array.isArray(e))throw new Error("Container expected");return e}function vs(e){if(typeof e!="number")throw new Error("Numeric key expected");return e}const GR=String.raw`\(\?(?:[:=!>A-Za-z\-]|<[=!]|\(DEFINE\))`;function WR(e,t){for(let n=0;n<e.length;n++)e[n]>=t&&e[n]++}function KR(e,t,n,r){return e.slice(0,t)+r+e.slice(t+n.length)}const un=Object.freeze({DEFAULT:"DEFAULT",CHAR_CLASS:"CHAR_CLASS"});function Jf(e,t,n,r){const s=new RegExp(String.raw`${t}|(?<$skip>\[\^?|\\?.)`,"gsu"),o=[!1];let i=0,a="";for(const l of e.matchAll(s)){const{0:c,groups:{$skip:u}}=l;if(!u&&(!r||r===un.DEFAULT==!i)){n instanceof Function?a+=n(l,{context:i?un.CHAR_CLASS:un.DEFAULT,negated:o[o.length-1]}):a+=n;continue}c[0]==="["?(i++,o.push(c[1]==="^")):c==="]"&&i&&(i--,o.pop()),a+=c}return a}function P2(e,t,n,r){Jf(e,t,n,r)}function XR(e,t,n=0,r){if(!new RegExp(t,"su").test(e))return null;const s=new RegExp(`${t}|(?<$skip>\\\\?.)`,"gsu");s.lastIndex=n;let o=0,i;for(;i=s.exec(e);){const{0:a,groups:{$skip:l}}=i;if(!l&&(!r||r===un.DEFAULT==!o))return i;a==="["?o++:a==="]"&&o&&o--,s.lastIndex==i.index&&s.lastIndex++}return null}function Xi(e,t,n){return!!XR(e,t,0,n)}function YR(e,t){const n=/\\?./gsu;n.lastIndex=t;let r=e.length,s=0,o=1,i;for(;i=n.exec(e);){const[a]=i;if(a==="[")s++;else if(s)a==="]"&&s--;else if(a==="(")o++;else if(a===")"&&(o--,!o)){r=i.index;break}}return e.slice(t,r)}const ng=new RegExp(String.raw`(?<noncapturingStart>${GR})|(?<capturingStart>\((?:\?<[^>]+>)?)|\\?.`,"gsu");function JR(e,t){const n=t?.hiddenCaptures??[];let r=t?.captureTransfers??new Map;if(!/\(\?>/.test(e))return{pattern:e,captureTransfers:r,hiddenCaptures:n};const s="(?>",o="(?:(?=(",i=[0],a=[];let l=0,c=0,u=NaN,f;do{f=!1;let d=0,p=0,h=!1,m;for(ng.lastIndex=Number.isNaN(u)?0:u+o.length;m=ng.exec(e);){const{0:v,index:b,groups:{capturingStart:y,noncapturingStart:g}}=m;if(v==="[")d++;else if(d)v==="]"&&d--;else if(v===s&&!h)u=b,h=!0;else if(h&&g)p++;else if(y)h?p++:(l++,i.push(l+c));else if(v===")"&&h){if(!p){c++;const w=l+c;if(e=`${e.slice(0,u)}${o}${e.slice(u+s.length,b)}))<$$${w}>)${e.slice(b+1)}`,f=!0,a.push(w),WR(n,w),r.size){const x=new Map;r.forEach((S,k)=>{x.set(k>=w?k+1:k,S.map(T=>T>=w?T+1:T))}),r=x}break}p--}}}while(f);return n.push(...a),e=Jf(e,String.raw`\\(?<backrefNum>[1-9]\d*)|<\$\$(?<wrappedBackrefNum>\d+)>`,({0:d,groups:{backrefNum:p,wrappedBackrefNum:h}})=>{if(p){const m=+p;if(m>i.length-1)throw new Error(`Backref "${d}" greater than number of captures`);return`\\${i[m]}`}return`\\${h}`},un.DEFAULT),{pattern:e,captureTransfers:r,hiddenCaptures:n}}const R2=String.raw`(?:[?*+]|\{\d+(?:,\d*)?\})`,bc=new RegExp(String.raw`
|
|
88
|
-
\\(?: \d+
|
|
89
|
-
| c[A-Za-z]
|
|
90
|
-
| [gk]<[^>]+>
|
|
91
|
-
| [pPu]\{[^\}]+\}
|
|
92
|
-
| u[A-Fa-f\d]{4}
|
|
93
|
-
| x[A-Fa-f\d]{2}
|
|
94
|
-
)
|
|
95
|
-
| \((?: \? (?: [:=!>]
|
|
96
|
-
| <(?:[=!]|[^>]+>)
|
|
97
|
-
| [A-Za-z\-]+:
|
|
98
|
-
| \(DEFINE\)
|
|
99
|
-
))?
|
|
100
|
-
| (?<qBase>${R2})(?<qMod>[?+]?)(?<invalidQ>[?*+\{]?)
|
|
101
|
-
| \\?.
|
|
102
|
-
`.replace(/\s+/g,""),"gsu");function ZR(e){if(!new RegExp(`${R2}\\+`).test(e))return{pattern:e};const t=[];let n=null,r=null,s="",o=0,i;for(bc.lastIndex=0;i=bc.exec(e);){const{0:a,index:l,groups:{qBase:c,qMod:u,invalidQ:f}}=i;if(a==="[")o||(r=l),o++;else if(a==="]")o?o--:r=null;else if(!o)if(u==="+"&&s&&!s.startsWith("(")){if(f)throw new Error(`Invalid quantifier "${a}"`);let d=-1;if(/^\{\d+\}$/.test(c))e=KR(e,l+c.length,u,"");else{if(s===")"||s==="]"){const p=s===")"?n:r;if(p===null)throw new Error(`Invalid unmatched "${s}"`);e=`${e.slice(0,p)}(?>${e.slice(p,l)}${c})${e.slice(l+a.length)}`}else e=`${e.slice(0,l-s.length)}(?>${s}${c})${e.slice(l+a.length)}`;d+=4}bc.lastIndex+=d}else a[0]==="("?t.push(l):a===")"&&(n=t.length?t.pop():null);s=a}return{pattern:e}}const cn=String.raw,QR=cn`\\g<(?<gRNameOrNum>[^>&]+)&R=(?<gRDepth>[^>]+)>`,Uu=cn`\(\?R=(?<rDepth>[^\)]+)\)|${QR}`,Ll=cn`\(\?<(?![=!])(?<captureName>[^>]+)>`,O2=cn`${Ll}|(?<unnamed>\()(?!\?)`,Hr=new RegExp(cn`${Ll}|${Uu}|\(\?|\\?.`,"gsu"),wc="Cannot use multiple overlapping recursions";function eO(e,t){const{hiddenCaptures:n,mode:r}={hiddenCaptures:[],mode:"plugin",...t};let s=t?.captureTransfers??new Map;if(!new RegExp(Uu,"su").test(e))return{pattern:e,captureTransfers:s,hiddenCaptures:n};if(r==="plugin"&&Xi(e,cn`\(\?\(DEFINE\)`,un.DEFAULT))throw new Error("DEFINE groups cannot be used with recursion");const o=[],i=Xi(e,cn`\\[1-9]`,un.DEFAULT),a=new Map,l=[];let c=!1,u=0,f=0,d;for(Hr.lastIndex=0;d=Hr.exec(e);){const{0:p,groups:{captureName:h,rDepth:m,gRNameOrNum:v,gRDepth:b}}=d;if(p==="[")u++;else if(u)p==="]"&&u--;else if(m){if(rg(m),c)throw new Error(wc);if(i)throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with global recursion`);const y=e.slice(0,d.index),g=e.slice(Hr.lastIndex);if(Xi(g,Uu,un.DEFAULT))throw new Error(wc);const w=+m-1;e=sg(y,g,w,!1,n,o,f),s=ig(s,y,w,o.length,0,f);break}else if(v){rg(b);let y=!1;for(const M of l)if(M.name===v||M.num===+v){if(y=!0,M.hasRecursedWithin)throw new Error(wc);break}if(!y)throw new Error(cn`Recursive \g cannot be used outside the referenced group "${r==="external"?v:cn`\g<${v}&R=${b}>`}"`);const g=a.get(v),w=YR(e,g);if(i&&Xi(w,cn`${Ll}|\((?!\?)`,un.DEFAULT))throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with recursion of capturing groups`);const x=e.slice(g,d.index),S=w.slice(x.length+p.length),k=o.length,T=+b-1,P=sg(x,S,T,!0,n,o,f);s=ig(s,x,T,o.length-k,k,f);const I=e.slice(0,g),D=e.slice(g+w.length);e=`${I}${P}${D}`,Hr.lastIndex+=P.length-p.length-x.length-S.length,l.forEach(M=>M.hasRecursedWithin=!0),c=!0}else if(h)f++,a.set(String(f),Hr.lastIndex),a.set(h,Hr.lastIndex),l.push({num:f,name:h});else if(p[0]==="("){const y=p==="(";y&&(f++,a.set(String(f),Hr.lastIndex)),l.push(y?{num:f}:{})}else p===")"&&l.pop()}return n.push(...o),{pattern:e,captureTransfers:s,hiddenCaptures:n}}function rg(e){const t=`Max depth must be integer between 2 and 100; used ${e}`;if(!/^[1-9]\d*$/.test(e))throw new Error(t);if(e=+e,e<2||e>100)throw new Error(t)}function sg(e,t,n,r,s,o,i){const a=new Set;r&&P2(e+t,Ll,({groups:{captureName:c}})=>{a.add(c)},un.DEFAULT);const l=[n,r?a:null,s,o,i];return`${e}${og(`(?:${e}`,"forward",...l)}(?:)${og(`${t})`,"backward",...l)}${t}`}function og(e,t,n,r,s,o,i){const l=u=>t==="forward"?u+2:n-u+2-1;let c="";for(let u=0;u<n;u++){const f=l(u);c+=Jf(e,cn`${O2}|\\k<(?<backref>[^>]+)>`,({0:d,groups:{captureName:p,unnamed:h,backref:m}})=>{if(m&&r&&!r.has(m))return d;const v=`_$${f}`;if(h||p){const b=i+o.length+1;return o.push(b),tO(s,b),h?d:`(?<${p}${v}>`}return cn`\k<${m}${v}>`},un.DEFAULT)}return c}function tO(e,t){for(let n=0;n<e.length;n++)e[n]>=t&&e[n]++}function ig(e,t,n,r,s,o){if(e.size&&r){let i=0;P2(t,O2,()=>i++,un.DEFAULT);const a=o-i+s,l=new Map;return e.forEach((c,u)=>{const f=(r-i*n)/n,d=i*n,p=u>a+i?u+r:u,h=[];for(const m of c)if(m<=a)h.push(m);else if(m>a+i+f)h.push(m+r);else if(m<=a+i)for(let v=0;v<=n;v++)h.push(m+i*v);else for(let v=0;v<=n;v++)h.push(m+d+f*v);l.set(p,h)}),l}return e}var yt=String.fromCodePoint,_e=String.raw,bn={},$l=globalThis.RegExp;bn.flagGroups=(()=>{try{new $l("(?i:)")}catch{return!1}return!0})();bn.unicodeSets=(()=>{try{new $l("[[]]","v")}catch{return!1}return!0})();bn.bugFlagVLiteralHyphenIsRange=bn.unicodeSets?(()=>{try{new $l(_e`[\d\-a]`,"v")}catch{return!0}return!1})():!1;bn.bugNestedClassIgnoresNegation=bn.unicodeSets&&new $l("[[^a]]","v").test("a");function Ka(e,{enable:t,disable:n}){return{dotAll:!n?.dotAll&&!!(t?.dotAll||e.dotAll),ignoreCase:!n?.ignoreCase&&!!(t?.ignoreCase||e.ignoreCase)}}function ri(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}function Vu(e,t){return ag[e]>=ag[t]}function nO(e,t){if(e==null)throw new Error(t??"Value expected");return e}var ag={ES2025:2025,ES2024:2024,ES2018:2018},rO={auto:"auto",ES2025:"ES2025",ES2024:"ES2024",ES2018:"ES2018"};function I2(e={}){if({}.toString.call(e)!=="[object Object]")throw new Error("Unexpected options");if(e.target!==void 0&&!rO[e.target])throw new Error(`Unexpected target "${e.target}"`);const t={accuracy:"default",avoidSubclass:!1,flags:"",global:!1,hasIndices:!1,lazyCompileLength:1/0,target:"auto",verbose:!1,...e,rules:{allowOrphanBackrefs:!1,asciiWordBoundaries:!1,captureGroup:!1,recursionLimit:20,singleline:!1,...e.rules}};return t.target==="auto"&&(t.target=bn.flagGroups?"ES2025":bn.unicodeSets?"ES2024":"ES2018"),t}var sO="[ -\r ]",oO=new Set([yt(304),yt(305)]),Qn=_e`[\p{L}\p{M}\p{N}\p{Pc}]`;function M2(e){if(oO.has(e))return[e];const t=new Set,n=e.toLowerCase(),r=n.toUpperCase(),s=lO.get(n),o=iO.get(n),i=aO.get(n);return[...r].length===1&&t.add(r),i&&t.add(i),s&&t.add(s),t.add(n),o&&t.add(o),[...t]}var Zf=new Map(`C Other
|
|
103
|
-
Cc Control cntrl
|
|
104
|
-
Cf Format
|
|
105
|
-
Cn Unassigned
|
|
106
|
-
Co Private_Use
|
|
107
|
-
Cs Surrogate
|
|
108
|
-
L Letter
|
|
109
|
-
LC Cased_Letter
|
|
110
|
-
Ll Lowercase_Letter
|
|
111
|
-
Lm Modifier_Letter
|
|
112
|
-
Lo Other_Letter
|
|
113
|
-
Lt Titlecase_Letter
|
|
114
|
-
Lu Uppercase_Letter
|
|
115
|
-
M Mark Combining_Mark
|
|
116
|
-
Mc Spacing_Mark
|
|
117
|
-
Me Enclosing_Mark
|
|
118
|
-
Mn Nonspacing_Mark
|
|
119
|
-
N Number
|
|
120
|
-
Nd Decimal_Number digit
|
|
121
|
-
Nl Letter_Number
|
|
122
|
-
No Other_Number
|
|
123
|
-
P Punctuation punct
|
|
124
|
-
Pc Connector_Punctuation
|
|
125
|
-
Pd Dash_Punctuation
|
|
126
|
-
Pe Close_Punctuation
|
|
127
|
-
Pf Final_Punctuation
|
|
128
|
-
Pi Initial_Punctuation
|
|
129
|
-
Po Other_Punctuation
|
|
130
|
-
Ps Open_Punctuation
|
|
131
|
-
S Symbol
|
|
132
|
-
Sc Currency_Symbol
|
|
133
|
-
Sk Modifier_Symbol
|
|
134
|
-
Sm Math_Symbol
|
|
135
|
-
So Other_Symbol
|
|
136
|
-
Z Separator
|
|
137
|
-
Zl Line_Separator
|
|
138
|
-
Zp Paragraph_Separator
|
|
139
|
-
Zs Space_Separator
|
|
140
|
-
ASCII
|
|
141
|
-
ASCII_Hex_Digit AHex
|
|
142
|
-
Alphabetic Alpha
|
|
143
|
-
Any
|
|
144
|
-
Assigned
|
|
145
|
-
Bidi_Control Bidi_C
|
|
146
|
-
Bidi_Mirrored Bidi_M
|
|
147
|
-
Case_Ignorable CI
|
|
148
|
-
Cased
|
|
149
|
-
Changes_When_Casefolded CWCF
|
|
150
|
-
Changes_When_Casemapped CWCM
|
|
151
|
-
Changes_When_Lowercased CWL
|
|
152
|
-
Changes_When_NFKC_Casefolded CWKCF
|
|
153
|
-
Changes_When_Titlecased CWT
|
|
154
|
-
Changes_When_Uppercased CWU
|
|
155
|
-
Dash
|
|
156
|
-
Default_Ignorable_Code_Point DI
|
|
157
|
-
Deprecated Dep
|
|
158
|
-
Diacritic Dia
|
|
159
|
-
Emoji
|
|
160
|
-
Emoji_Component EComp
|
|
161
|
-
Emoji_Modifier EMod
|
|
162
|
-
Emoji_Modifier_Base EBase
|
|
163
|
-
Emoji_Presentation EPres
|
|
164
|
-
Extended_Pictographic ExtPict
|
|
165
|
-
Extender Ext
|
|
166
|
-
Grapheme_Base Gr_Base
|
|
167
|
-
Grapheme_Extend Gr_Ext
|
|
168
|
-
Hex_Digit Hex
|
|
169
|
-
IDS_Binary_Operator IDSB
|
|
170
|
-
IDS_Trinary_Operator IDST
|
|
171
|
-
ID_Continue IDC
|
|
172
|
-
ID_Start IDS
|
|
173
|
-
Ideographic Ideo
|
|
174
|
-
Join_Control Join_C
|
|
175
|
-
Logical_Order_Exception LOE
|
|
176
|
-
Lowercase Lower
|
|
177
|
-
Math
|
|
178
|
-
Noncharacter_Code_Point NChar
|
|
179
|
-
Pattern_Syntax Pat_Syn
|
|
180
|
-
Pattern_White_Space Pat_WS
|
|
181
|
-
Quotation_Mark QMark
|
|
182
|
-
Radical
|
|
183
|
-
Regional_Indicator RI
|
|
184
|
-
Sentence_Terminal STerm
|
|
185
|
-
Soft_Dotted SD
|
|
186
|
-
Terminal_Punctuation Term
|
|
187
|
-
Unified_Ideograph UIdeo
|
|
188
|
-
Uppercase Upper
|
|
189
|
-
Variation_Selector VS
|
|
190
|
-
White_Space space
|
|
191
|
-
XID_Continue XIDC
|
|
192
|
-
XID_Start XIDS`.split(/\s/).map(e=>[Ml(e),e])),iO=new Map([["s",yt(383)],[yt(383),"s"]]),aO=new Map([[yt(223),yt(7838)],[yt(107),yt(8490)],[yt(229),yt(8491)],[yt(969),yt(8486)]]),lO=new Map([xr(453),xr(456),xr(459),xr(498),..._c(8072,8079),..._c(8088,8095),..._c(8104,8111),xr(8124),xr(8140),xr(8188)]),cO=new Map([["alnum",_e`[\p{Alpha}\p{Nd}]`],["alpha",_e`\p{Alpha}`],["ascii",_e`\p{ASCII}`],["blank",_e`[\p{Zs}\t]`],["cntrl",_e`\p{Cc}`],["digit",_e`\p{Nd}`],["graph",_e`[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]`],["lower",_e`\p{Lower}`],["print",_e`[[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]\p{Zs}]`],["punct",_e`[\p{P}\p{S}]`],["space",_e`\p{space}`],["upper",_e`\p{Upper}`],["word",_e`[\p{Alpha}\p{M}\p{Nd}\p{Pc}]`],["xdigit",_e`\p{AHex}`]]);function uO(e,t){const n=[];for(let r=e;r<=t;r++)n.push(r);return n}function xr(e){const t=yt(e);return[t.toLowerCase(),t]}function _c(e,t){return uO(e,t).map(n=>xr(n))}var L2=new Set(["Lower","Lowercase","Upper","Uppercase","Ll","Lowercase_Letter","Lt","Titlecase_Letter","Lu","Uppercase_Letter"]);function fO(e,t){const n={accuracy:"default",asciiWordBoundaries:!1,avoidSubclass:!1,bestEffortTarget:"ES2025",...t};$2(e);const r={accuracy:n.accuracy,asciiWordBoundaries:n.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,flagDirectivesByAlt:new Map,jsGroupNameMap:new Map,minTargetEs2024:Vu(n.bestEffortTarget,"ES2024"),passedLookbehind:!1,strategy:null,subroutineRefMap:new Map,supportedGNodes:new Set,digitIsAscii:e.flags.digitIsAscii,spaceIsAscii:e.flags.spaceIsAscii,wordIsAscii:e.flags.wordIsAscii};$o(e,dO,r);const s={dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},o={currentFlags:s,prevFlags:null,globalFlags:s,groupOriginByCopy:new Map,groupsByName:new Map,multiplexCapturesToLeftByRef:new Map,openRefs:new Map,reffedNodesByReferencer:new Map,subroutineRefMap:r.subroutineRefMap};$o(e,pO,o);const i={groupsByName:o.groupsByName,highestOrphanBackref:0,numCapturesToLeft:0,reffedNodesByReferencer:o.reffedNodesByReferencer};return $o(e,hO,i),e._originMap=o.groupOriginByCopy,e._strategy=r.strategy,e}var dO={AbsenceFunction({node:e,parent:t,replaceWith:n}){const{body:r,kind:s}=e;if(s==="repeater"){const o=mn();o.body[0].body.push(Xr({negate:!0,body:r}),Ss("Any"));const i=mn();i.body[0].body.push(E2("greedy",0,1/0,o)),n(ot(i,t),{traverse:!0})}else throw new Error('Unsupported absence function "(?~|"')},Alternative:{enter({node:e,parent:t,key:n},{flagDirectivesByAlt:r}){const s=e.body.filter(o=>o.kind==="flags");for(let o=n+1;o<t.body.length;o++){const i=t.body[o];ri(r,i,[]).push(...s)}},exit({node:e},{flagDirectivesByAlt:t}){if(t.get(e)?.length){const n=D2(t.get(e));if(n){const r=mn({flags:n});r.body[0].body=e.body,e.body=[ot(r,e)]}}}},Assertion({node:e,parent:t,key:n,container:r,root:s,remove:o,replaceWith:i},a){const{kind:l,negate:c}=e,{asciiWordBoundaries:u,avoidSubclass:f,supportedGNodes:d,wordIsAscii:p}=a;if(l==="text_segment_boundary")throw new Error(`Unsupported text segment boundary "\\${c?"Y":"y"}"`);if(l==="line_end")i(ot(Xr({body:[ls({body:[zu("string_end")]}),ls({body:[Il(10)]})]}),t));else if(l==="line_start")i(ot(er(_e`(?<=\A|\n(?!\z))`,{skipLookbehindValidation:!0}),t));else if(l==="search_start")if(d.has(e))s.flags.sticky=!0,o();else{const h=r[n-1];if(h&&wO(h))i(ot(Xr({negate:!0}),t));else{if(f)throw new Error(_e`Uses "\G" in a way that requires a subclass`);i(Cr(zu("string_start"),t)),a.strategy="clip_search"}}else if(!(l==="string_end"||l==="string_start"))if(l==="string_end_newline")i(ot(er(_e`(?=\n?\z)`),t));else if(l==="word_boundary"){if(!p&&!u){const h=`(?:(?<=${Qn})(?!${Qn})|(?<!${Qn})(?=${Qn}))`,m=`(?:(?<=${Qn})(?=${Qn})|(?<!${Qn})(?!${Qn}))`;i(ot(er(c?m:h),t))}}else throw new Error(`Unexpected assertion kind "${l}"`)},Backreference({node:e},{jsGroupNameMap:t}){let{ref:n}=e;typeof n=="string"&&!Cc(n)&&(n=xc(n,t),e.ref=n)},CapturingGroup({node:e},{jsGroupNameMap:t,subroutineRefMap:n}){let{name:r}=e;r&&!Cc(r)&&(r=xc(r,t),e.name=r),n.set(e.number,e),r&&n.set(r,e)},CharacterClassRange({node:e,parent:t,replaceWith:n}){if(t.kind==="intersection"){const r=sa({body:[e]});n(ot(r,t),{traverse:!0})}},CharacterSet({node:e,parent:t,replaceWith:n},{accuracy:r,minTargetEs2024:s,digitIsAscii:o,spaceIsAscii:i,wordIsAscii:a}){const{kind:l,negate:c,value:u}=e;if(o&&(l==="digit"||u==="digit")){n(Cr(Hu("digit",{negate:c}),t));return}if(i&&(l==="space"||u==="space")){n(ot(kc(er(sO),c),t));return}if(a&&(l==="word"||u==="word")){n(Cr(Hu("word",{negate:c}),t));return}if(l==="any")n(Cr(Ss("Any"),t));else if(l==="digit")n(Cr(Ss("Nd",{negate:c}),t));else if(l!=="dot")if(l==="text_segment"){if(r==="strict")throw new Error(_e`Use of "\X" requires non-strict accuracy`);const f="\\p{Emoji}(?:\\p{EMod}|\\uFE0F\\u20E3?|[\\x{E0020}-\\x{E007E}]+\\x{E007F})?",d=_e`\p{RI}{2}|${f}(?:\u200D${f})*`;n(ot(er(_e`(?>\r\n|${s?_e`\p{RGI_Emoji}`:d}|\P{M}\p{M}*)`,{skipPropertyNameValidation:!0}),t))}else if(l==="hex")n(Cr(Ss("AHex",{negate:c}),t));else if(l==="newline")n(ot(er(c?`[^
|
|
193
|
-
]`:`(?>\r
|
|
194
|
-
?|[
|
|
195
|
-
\v\f
\u2028\u2029])`),t));else if(l==="posix")if(!s&&(u==="graph"||u==="print")){if(r==="strict")throw new Error(`POSIX class "${u}" requires min target ES2024 or non-strict accuracy`);let f={graph:"!-~",print:" -~"}[u];c&&(f=`\0-${yt(f.codePointAt(0)-1)}${yt(f.codePointAt(2)+1)}-`),n(ot(er(`[${f}]`),t))}else n(ot(kc(er(cO.get(u)),c),t));else if(l==="property")Zf.has(Ml(u))||(e.key="sc");else if(l==="space")n(Cr(Ss("space",{negate:c}),t));else if(l==="word")n(ot(kc(er(Qn),c),t));else throw new Error(`Unexpected character set kind "${l}"`)},Directive({node:e,parent:t,root:n,remove:r,replaceWith:s,removeAllPrevSiblings:o,removeAllNextSiblings:i}){const{kind:a,flags:l}=e;if(a==="flags")if(!l.enable&&!l.disable)r();else{const c=mn({flags:l});c.body[0].body=i(),s(ot(c,t),{traverse:!0})}else if(a==="keep"){const c=n.body[0],f=n.body.length===1&&C2(c,{type:"Group"})&&c.body[0].body.length===1?c.body[0]:n;if(t.parent!==f||f.body.length>1)throw new Error(_e`Uses "\K" in a way that's unsupported`);const d=Xr({behind:!0});d.body[0].body=o(),s(ot(d,t))}else throw new Error(`Unexpected directive kind "${a}"`)},Flags({node:e,parent:t}){if(e.posixIsAscii)throw new Error('Unsupported flag "P"');if(e.textSegmentMode==="word")throw new Error('Unsupported flag "y{w}"');["digitIsAscii","extended","posixIsAscii","spaceIsAscii","wordIsAscii","textSegmentMode"].forEach(n=>delete e[n]),Object.assign(e,{global:!1,hasIndices:!1,multiline:!1,sticky:e.sticky??!1}),t.options={disable:{x:!0,n:!0},force:{v:!0}}},Group({node:e}){if(!e.flags)return;const{enable:t,disable:n}=e.flags;t?.extended&&delete t.extended,n?.extended&&delete n.extended,t?.dotAll&&n?.dotAll&&delete t.dotAll,t?.ignoreCase&&n?.ignoreCase&&delete t.ignoreCase,t&&!Object.keys(t).length&&delete e.flags.enable,n&&!Object.keys(n).length&&delete e.flags.disable,!e.flags.enable&&!e.flags.disable&&delete e.flags},LookaroundAssertion({node:e},t){const{kind:n}=e;n==="lookbehind"&&(t.passedLookbehind=!0)},NamedCallout({node:e,parent:t,replaceWith:n}){const{kind:r}=e;if(r==="fail")n(ot(Xr({negate:!0}),t));else throw new Error(`Unsupported named callout "(*${r.toUpperCase()}"`)},Quantifier({node:e}){if(e.body.type==="Quantifier"){const t=mn();t.body[0].body.push(e.body),e.body=ot(t,e)}},Regex:{enter({node:e},{supportedGNodes:t}){const n=[];let r=!1,s=!1;for(const o of e.body)if(o.body.length===1&&o.body[0].kind==="search_start")o.body.pop();else{const i=F2(o.body);i?(r=!0,Array.isArray(i)?n.push(...i):n.push(i)):s=!0}r&&!s&&n.forEach(o=>t.add(o))},exit(e,{accuracy:t,passedLookbehind:n,strategy:r}){if(t==="strict"&&n&&r)throw new Error(_e`Uses "\G" in a way that requires non-strict accuracy`)}},Subroutine({node:e},{jsGroupNameMap:t}){let{ref:n}=e;typeof n=="string"&&!Cc(n)&&(n=xc(n,t),e.ref=n)}},pO={Backreference({node:e},{multiplexCapturesToLeftByRef:t,reffedNodesByReferencer:n}){const{orphan:r,ref:s}=e;r||n.set(e,[...t.get(s).map(({node:o})=>o)])},CapturingGroup:{enter({node:e,parent:t,replaceWith:n,skip:r},{groupOriginByCopy:s,groupsByName:o,multiplexCapturesToLeftByRef:i,openRefs:a,reffedNodesByReferencer:l}){const c=s.get(e);if(c&&a.has(e.number)){const f=Cr(lg(e.number),t);l.set(f,a.get(e.number)),n(f);return}a.set(e.number,e),i.set(e.number,[]),e.name&&ri(i,e.name,[]);const u=i.get(e.name??e.number);for(let f=0;f<u.length;f++){const d=u[f];if(c===d.node||c&&c===d.origin||e===d.origin){u.splice(f,1);break}}if(i.get(e.number).push({node:e,origin:c}),e.name&&i.get(e.name).push({node:e,origin:c}),e.name){const f=ri(o,e.name,new Map);let d=!1;if(c)d=!0;else for(const p of f.values())if(!p.hasDuplicateNameToRemove){d=!0;break}o.get(e.name).set(e,{node:e,hasDuplicateNameToRemove:d})}},exit({node:e},{openRefs:t}){t.get(e.number)===e&&t.delete(e.number)}},Group:{enter({node:e},t){t.prevFlags=t.currentFlags,e.flags&&(t.currentFlags=Ka(t.currentFlags,e.flags))},exit(e,t){t.currentFlags=t.prevFlags}},Subroutine({node:e,parent:t,replaceWith:n},r){const{isRecursive:s,ref:o}=e;if(s){let u=t;for(;(u=u.parent)&&!(u.type==="CapturingGroup"&&(u.name===o||u.number===o)););r.reffedNodesByReferencer.set(e,u);return}const i=r.subroutineRefMap.get(o),a=o===0,l=a?lg(0):N2(i,r.groupOriginByCopy,null);let c=l;if(!a){const u=D2(yO(i,d=>d.type==="Group"&&!!d.flags)),f=u?Ka(r.globalFlags,u):r.globalFlags;gO(f,r.currentFlags)||(c=mn({flags:vO(f)}),c.body[0].body.push(l))}n(ot(c,t),{traverse:!a})}},hO={Backreference({node:e,parent:t,replaceWith:n},r){if(e.orphan){r.highestOrphanBackref=Math.max(r.highestOrphanBackref,e.ref);return}const o=r.reffedNodesByReferencer.get(e).filter(i=>mO(i,e));if(!o.length)n(ot(Xr({negate:!0}),t));else if(o.length>1){const i=mn({atomic:!0,body:o.reverse().map(a=>ls({body:[qu(a.number)]}))});n(ot(i,t))}else e.ref=o[0].number},CapturingGroup({node:e},t){e.number=++t.numCapturesToLeft,e.name&&t.groupsByName.get(e.name).get(e).hasDuplicateNameToRemove&&delete e.name},Regex:{exit({node:e},t){const n=Math.max(t.highestOrphanBackref-t.numCapturesToLeft,0);for(let r=0;r<n;r++){const s=S2();e.body.at(-1).body.push(s)}}},Subroutine({node:e},t){!e.isRecursive||e.ref===0||(e.ref=t.reffedNodesByReferencer.get(e).number)}};function $2(e){$o(e,{"*"({node:t,parent:n}){t.parent=n}})}function gO(e,t){return e.dotAll===t.dotAll&&e.ignoreCase===t.ignoreCase}function mO(e,t){let n=t;do{if(n.type==="Regex")return!1;if(n.type==="Alternative")continue;if(n===e)return!1;const r=B2(n.parent);for(const s of r){if(s===n)break;if(s===e||j2(s,e))return!0}}while(n=n.parent);throw new Error("Unexpected path")}function N2(e,t,n,r){const s=Array.isArray(e)?[]:{};for(const[o,i]of Object.entries(e))o==="parent"?s.parent=Array.isArray(n)?r:n:i&&typeof i=="object"?s[o]=N2(i,t,s,n):(o==="type"&&i==="CapturingGroup"&&t.set(s,t.get(e)??e),s[o]=i);return s}function lg(e){const t=A2(e);return t.isRecursive=!0,t}function yO(e,t){const n=[];for(;e=e.parent;)(!t||t(e))&&n.push(e);return n}function xc(e,t){if(t.has(e))return t.get(e);const n=`$${t.size}_${e.replace(/^[^$_\p{IDS}]|[^$\u200C\u200D\p{IDC}]/ug,"_")}`;return t.set(e,n),n}function D2(e){const t=["dotAll","ignoreCase"],n={enable:{},disable:{}};return e.forEach(({flags:r})=>{t.forEach(s=>{r.enable?.[s]&&(delete n.disable[s],n.enable[s]=!0),r.disable?.[s]&&(n.disable[s]=!0)})}),Object.keys(n.enable).length||delete n.enable,Object.keys(n.disable).length||delete n.disable,n.enable||n.disable?n:null}function vO({dotAll:e,ignoreCase:t}){const n={};return(e||t)&&(n.enable={},e&&(n.enable.dotAll=!0),t&&(n.enable.ignoreCase=!0)),(!e||!t)&&(n.disable={},!e&&(n.disable.dotAll=!0),!t&&(n.disable.ignoreCase=!0)),n}function B2(e){if(!e)throw new Error("Node expected");const{body:t}=e;return Array.isArray(t)?t:t?[t]:null}function F2(e){const t=e.find(n=>n.kind==="search_start"||_O(n,{negate:!1})||!bO(n));if(!t)return null;if(t.kind==="search_start")return t;if(t.type==="LookaroundAssertion")return t.body[0].body[0];if(t.type==="CapturingGroup"||t.type==="Group"){const n=[];for(const r of t.body){const s=F2(r.body);if(!s)return null;Array.isArray(s)?n.push(...s):n.push(s)}return n}return null}function j2(e,t){const n=B2(e)??[];for(const r of n)if(r===t||j2(r,t))return!0;return!1}function bO({type:e}){return e==="Assertion"||e==="Directive"||e==="LookaroundAssertion"}function wO(e){const t=["Character","CharacterClass","CharacterSet"];return t.includes(e.type)||e.type==="Quantifier"&&e.min&&t.includes(e.body.type)}function _O(e,t){const n={negate:null,...t};return e.type==="LookaroundAssertion"&&(n.negate===null||e.negate===n.negate)&&e.body.length===1&&C2(e.body[0],{type:"Assertion",kind:"search_start"})}function Cc(e){return/^[$_\p{IDS}][$\u200C\u200D\p{IDC}]*$/u.test(e)}function er(e,t){const r=k2(e,{...t,unicodePropertyMap:Zf}).body;return r.length>1||r[0].body.length>1?mn({body:r}):r[0].body[0]}function kc(e,t){return e.negate=t,e}function Cr(e,t){return e.parent=t,e}function ot(e,t){return $2(e),e.parent=t,e}function xO(e,t){const n=I2(t),r=Vu(n.target,"ES2024"),s=Vu(n.target,"ES2025"),o=n.rules.recursionLimit;if(!Number.isInteger(o)||o<2||o>20)throw new Error("Invalid recursionLimit; use 2-20");let i=null,a=null;if(!s){const p=[e.flags.ignoreCase];$o(e,CO,{getCurrentModI:()=>p.at(-1),popModI(){p.pop()},pushModI(h){p.push(h)},setHasCasedChar(){p.at(-1)?i=!0:a=!0}})}const l={dotAll:e.flags.dotAll,ignoreCase:!!((e.flags.ignoreCase||i)&&!a)};let c=e;const u={accuracy:n.accuracy,appliedGlobalFlags:l,captureMap:new Map,currentFlags:{dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},inCharClass:!1,lastNode:c,originMap:e._originMap,recursionLimit:o,useAppliedIgnoreCase:!!(!s&&i&&a),useFlagMods:s,useFlagV:r,verbose:n.verbose};function f(p){return u.lastNode=c,c=p,nO(kO[p.type],`Unexpected node type "${p.type}"`)(p,u,f)}const d={pattern:e.body.map(f).join("|"),flags:f(e.flags),options:{...e.options}};return r||(delete d.options.force.v,d.options.disable.v=!0,d.options.unicodeSetsPlugin=null),d._captureTransfers=new Map,d._hiddenCaptures=[],u.captureMap.forEach((p,h)=>{p.hidden&&d._hiddenCaptures.push(h),p.transferTo&&ri(d._captureTransfers,p.transferTo,[]).push(h)}),d}var CO={"*":{enter({node:e},t){if(ug(e)){const n=t.getCurrentModI();t.pushModI(e.flags?Ka({ignoreCase:n},e.flags).ignoreCase:n)}},exit({node:e},t){ug(e)&&t.popModI()}},Backreference(e,t){t.setHasCasedChar()},Character({node:e},t){Qf(yt(e.value))&&t.setHasCasedChar()},CharacterClassRange({node:e,skip:t},n){t(),z2(e,{firstOnly:!0}).length&&n.setHasCasedChar()},CharacterSet({node:e},t){e.kind==="property"&&L2.has(e.value)&&t.setHasCasedChar()}},kO={Alternative({body:e},t,n){return e.map(n).join("")},Assertion({kind:e,negate:t}){if(e==="string_end")return"$";if(e==="string_start")return"^";if(e==="word_boundary")return t?_e`\B`:_e`\b`;throw new Error(`Unexpected assertion kind "${e}"`)},Backreference({ref:e},t){if(typeof e!="number")throw new Error("Unexpected named backref in transformed AST");if(!t.useFlagMods&&t.accuracy==="strict"&&t.currentFlags.ignoreCase&&!t.captureMap.get(e).ignoreCase)throw new Error("Use of case-insensitive backref to case-sensitive group requires target ES2025 or non-strict accuracy");return"\\"+e},CapturingGroup(e,t,n){const{body:r,name:s,number:o}=e,i={ignoreCase:t.currentFlags.ignoreCase},a=t.originMap.get(e);return a&&(i.hidden=!0,o>a.number&&(i.transferTo=a.number)),t.captureMap.set(o,i),`(${s?`?<${s}>`:""}${r.map(n).join("|")})`},Character({value:e},t){const n=yt(e),r=bs(e,{escDigit:t.lastNode.type==="Backreference",inCharClass:t.inCharClass,useFlagV:t.useFlagV});if(r!==n)return r;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase&&Qf(n)){const s=M2(n);return t.inCharClass?s.join(""):s.length>1?`[${s.join("")}]`:s[0]}return n},CharacterClass(e,t,n){const{kind:r,negate:s,parent:o}=e;let{body:i}=e;if(r==="intersection"&&!t.useFlagV)throw new Error("Use of character class intersection requires min target ES2024");bn.bugFlagVLiteralHyphenIsRange&&t.useFlagV&&i.some(fg)&&(i=[Il(45),...i.filter(c=>!fg(c))]);const a=()=>`[${s?"^":""}${i.map(n).join(r==="intersection"?"&&":"")}]`;if(!t.inCharClass){if((!t.useFlagV||bn.bugNestedClassIgnoresNegation)&&!s){const u=i.filter(f=>f.type==="CharacterClass"&&f.kind==="union"&&f.negate);if(u.length){const f=mn(),d=f.body[0];return f.parent=o,d.parent=f,i=i.filter(p=>!u.includes(p)),e.body=i,i.length?(e.parent=d,d.body.push(e)):f.body.pop(),u.forEach(p=>{const h=ls({body:[p]});p.parent=h,h.parent=f,f.body.push(h)}),n(f)}}t.inCharClass=!0;const c=a();return t.inCharClass=!1,c}const l=i[0];if(r==="union"&&!s&&l&&((!t.useFlagV||!t.verbose)&&o.kind==="union"&&!(bn.bugFlagVLiteralHyphenIsRange&&t.useFlagV)||!t.verbose&&o.kind==="intersection"&&i.length===1&&l.type!=="CharacterClassRange"))return i.map(n).join("");if(!t.useFlagV&&o.type==="CharacterClass")throw new Error("Uses nested character class in a way that requires min target ES2024");return a()},CharacterClassRange(e,t){const n=e.min.value,r=e.max.value,s={escDigit:!1,inCharClass:!0,useFlagV:t.useFlagV},o=bs(n,s),i=bs(r,s),a=new Set;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase){const l=z2(e);PO(l).forEach(u=>{a.add(Array.isArray(u)?`${bs(u[0],s)}-${bs(u[1],s)}`:bs(u,s))})}return`${o}-${i}${[...a].join("")}`},CharacterSet({kind:e,negate:t,value:n,key:r},s){if(e==="dot")return s.currentFlags.dotAll?s.appliedGlobalFlags.dotAll||s.useFlagMods?".":"[^]":_e`[^\n]`;if(e==="digit")return t?_e`\D`:_e`\d`;if(e==="property"){if(s.useAppliedIgnoreCase&&s.currentFlags.ignoreCase&&L2.has(n))throw new Error(`Unicode property "${n}" can't be case-insensitive when other chars have specific case`);return`${t?_e`\P`:_e`\p`}{${r?`${r}=`:""}${n}}`}if(e==="word")return t?_e`\W`:_e`\w`;throw new Error(`Unexpected character set kind "${e}"`)},Flags(e,t){return(t.appliedGlobalFlags.ignoreCase?"i":"")+(e.dotAll?"s":"")+(e.sticky?"y":"")},Group({atomic:e,body:t,flags:n,parent:r},s,o){const i=s.currentFlags;n&&(s.currentFlags=Ka(i,n));const a=t.map(o).join("|"),l=!s.verbose&&t.length===1&&r.type!=="Quantifier"&&!e&&(!s.useFlagMods||!n)?a:`(?${RO(e,n,s.useFlagMods)}${a})`;return s.currentFlags=i,l},LookaroundAssertion({body:e,kind:t,negate:n},r,s){return`(?${`${t==="lookahead"?"":"<"}${n?"!":"="}`}${e.map(s).join("|")})`},Quantifier(e,t,n){return n(e.body)+OO(e)},Subroutine({isRecursive:e,ref:t},n){if(!e)throw new Error("Unexpected non-recursive subroutine in transformed AST");const r=n.recursionLimit;return t===0?`(?R=${r})`:_e`\g<${t}&R=${r}>`}},SO=new Set(["$","(",")","*","+",".","?","[","\\","]","^","{","|","}"]),EO=new Set(["-","\\","]","^","["]),AO=new Set(["(",")","-","/","[","\\","]","^","{","|","}","!","#","$","%","&","*","+",",",".",":",";","<","=",">","?","@","`","~"]),cg=new Map([[9,_e`\t`],[10,_e`\n`],[11,_e`\v`],[12,_e`\f`],[13,_e`\r`],[8232,_e`\u2028`],[8233,_e`\u2029`],[65279,_e`\uFEFF`]]),TO=new RegExp("^\\p{Cased}$","u");function Qf(e){return TO.test(e)}function z2(e,t){const n=!!t?.firstOnly,r=e.min.value,s=e.max.value,o=[];if(r<65&&(s===65535||s>=131071)||r===65536&&s>=131071)return o;for(let i=r;i<=s;i++){const a=yt(i);if(!Qf(a))continue;const l=M2(a).filter(c=>{const u=c.codePointAt(0);return u<r||u>s});if(l.length&&(o.push(...l),n))break}return o}function bs(e,{escDigit:t,inCharClass:n,useFlagV:r}){if(cg.has(e))return cg.get(e);if(e<32||e>126&&e<160||e>262143||t&&IO(e))return e>255?`\\u{${e.toString(16).toUpperCase()}}`:`\\x${e.toString(16).toUpperCase().padStart(2,"0")}`;const s=n?r?AO:EO:SO,o=yt(e);return(s.has(o)?"\\":"")+o}function PO(e){const t=e.map(s=>s.codePointAt(0)).sort((s,o)=>s-o),n=[];let r=null;for(let s=0;s<t.length;s++)t[s+1]===t[s]+1?r??=t[s]:r===null?n.push(t[s]):(n.push([r,t[s]]),r=null);return n}function RO(e,t,n){if(e)return">";let r="";if(t&&n){const{enable:s,disable:o}=t;r=(s?.ignoreCase?"i":"")+(s?.dotAll?"s":"")+(o?"-":"")+(o?.ignoreCase?"i":"")+(o?.dotAll?"s":"")}return`${r}:`}function OO({kind:e,max:t,min:n}){let r;return!n&&t===1?r="?":!n&&t===1/0?r="*":n===1&&t===1/0?r="+":n===t?r=`{${n}}`:r=`{${n},${t===1/0?"":t}}`,r+{greedy:"",lazy:"?",possessive:"+"}[e]}function ug({type:e}){return e==="CapturingGroup"||e==="Group"||e==="LookaroundAssertion"}function IO(e){return e>47&&e<58}function fg({type:e,value:t}){return e==="Character"&&t===45}var MO=class Gu extends RegExp{#e=new Map;#t=null;#r;#n=null;#s=null;rawOptions={};get source(){return this.#r||"(?:)"}constructor(t,n,r){const s=!!r?.lazyCompile;if(t instanceof RegExp){if(r)throw new Error("Cannot provide options when copying a regexp");const o=t;super(o,n),this.#r=o.source,o instanceof Gu&&(this.#e=o.#e,this.#n=o.#n,this.#s=o.#s,this.rawOptions=o.rawOptions)}else{const o={hiddenCaptures:[],strategy:null,transfers:[],...r};super(s?"":t,n),this.#r=t,this.#e=$O(o.hiddenCaptures,o.transfers),this.#s=o.strategy,this.rawOptions=r??{}}s||(this.#t=this)}exec(t){if(!this.#t){const{lazyCompile:s,...o}=this.rawOptions;this.#t=new Gu(this.#r,this.flags,o)}const n=this.global||this.sticky,r=this.lastIndex;if(this.#s==="clip_search"&&n&&r){this.lastIndex=0;const s=this.#o(t.slice(r));return s&&(LO(s,r,t,this.hasIndices),this.lastIndex+=r),s}return this.#o(t)}#o(t){this.#t.lastIndex=this.lastIndex;const n=super.exec.call(this.#t,t);if(this.lastIndex=this.#t.lastIndex,!n||!this.#e.size)return n;const r=[...n];n.length=1;let s;this.hasIndices&&(s=[...n.indices],n.indices.length=1);const o=[0];for(let i=1;i<r.length;i++){const{hidden:a,transferTo:l}=this.#e.get(i)??{};if(a?o.push(null):(o.push(n.length),n.push(r[i]),this.hasIndices&&n.indices.push(s[i])),l&&r[i]!==void 0){const c=o[l];if(!c)throw new Error(`Invalid capture transfer to "${c}"`);if(n[c]=r[i],this.hasIndices&&(n.indices[c]=s[i]),n.groups){this.#n||(this.#n=NO(this.source));const u=this.#n.get(l);u&&(n.groups[u]=r[i],this.hasIndices&&(n.indices.groups[u]=s[i]))}}}return n}};function LO(e,t,n,r){if(e.index+=t,e.input=n,r){const s=e.indices;for(let i=0;i<s.length;i++){const a=s[i];a&&(s[i]=[a[0]+t,a[1]+t])}const o=s.groups;o&&Object.keys(o).forEach(i=>{const a=o[i];a&&(o[i]=[a[0]+t,a[1]+t])})}}function $O(e,t){const n=new Map;for(const r of e)n.set(r,{hidden:!0});for(const[r,s]of t)for(const o of s)ri(n,o,{}).transferTo=r;return n}function NO(e){const t=/(?<capture>\((?:\?<(?![=!])(?<name>[^>]+)>|(?!\?)))|\\?./gsu,n=new Map;let r=0,s=0,o;for(;o=t.exec(e);){const{0:i,groups:{capture:a,name:l}}=o;i==="["?r++:r?i==="]"&&r--:a&&(s++,l&&n.set(s,l))}return n}function DO(e,t){const n=BO(e,t);return n.options?new MO(n.pattern,n.flags,n.options):new RegExp(n.pattern,n.flags)}function BO(e,t){const n=I2(t),r=k2(e,{flags:n.flags,normalizeUnknownPropertyNames:!0,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline},skipBackrefValidation:n.rules.allowOrphanBackrefs,unicodePropertyMap:Zf}),s=fO(r,{accuracy:n.accuracy,asciiWordBoundaries:n.rules.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,bestEffortTarget:n.target}),o=xO(s,n),i=eO(o.pattern,{captureTransfers:o._captureTransfers,hiddenCaptures:o._hiddenCaptures,mode:"external"}),a=ZR(i.pattern),l=JR(a.pattern,{captureTransfers:i.captureTransfers,hiddenCaptures:i.hiddenCaptures}),c={pattern:l.pattern,flags:`${n.hasIndices?"d":""}${n.global?"g":""}${o.flags}${o.options.disable.v?"u":"v"}`};if(n.avoidSubclass){if(n.lazyCompileLength!==1/0)throw new Error("Lazy compilation requires subclass")}else{const u=l.hiddenCaptures.sort((h,m)=>h-m),f=Array.from(l.captureTransfers),d=s._strategy,p=c.pattern.length>=n.lazyCompileLength;(u.length||f.length||d||p)&&(c.options={...u.length&&{hiddenCaptures:u},...f.length&&{transfers:f},...d&&{strategy:d},...p&&{lazyCompile:p}})}return c}function FO(e,t){return DO(e,{global:!0,hasIndices:!0,lazyCompileLength:3e3,rules:{allowOrphanBackrefs:!0,asciiWordBoundaries:!0,captureGroup:!0,recursionLimit:5,singleline:!0},...t})}function jO(e={}){const t={target:"auto",cache:new Map,...e};return t.regexConstructor||=n=>FO(n,{target:t.target}),{createScanner(n){return new tR(n,t)},createString(n){return{content:n}}}}const Xa=Q();async function zO(e={}){const t=[ln(()=>import("./B8PEiB0p.js"),[],import.meta.url),ln(()=>import("./Cp-IABpG.js"),[],import.meta.url),ln(()=>import("./wDzz0qaB.js"),[],import.meta.url)];return e.extraLangs&&t.push(...e.extraLangs),Xa.value=await eR({themes:[ln(()=>import("./CVO1_9PV.js"),[],import.meta.url),ln(()=>import("./D0r3Knsf.js"),[],import.meta.url)],langs:t,engine:jO()}).catch(n=>{console.warn("[nuxt-scripts] Failed to load shiki highlighter:",n)}),Xa.value}function dI(e,t){return R(()=>Xa.value&&Xa.value.codeToHtml(He(e)||"",{lang:t,themes:{light:"vitesse-light",dark:"vitesse-dark"}})||"")}const qO=ge({__name:"app",async setup(e){let t,n;[t,n]=yd(()=>zO()),await t,n(),[t,n]=yd(()=>W4()),await t,n();const r=vf(),s=R(()=>{const a=r.path;return a.startsWith("/first-party")?"first-party":a.startsWith("/registry")?"registry":a.startsWith("/docs")?"docs":"scripts"}),o=[{value:"scripts",to:"/",icon:"carbon:script",label:"Active Scripts",devOnly:!1},{value:"first-party",to:"/first-party",icon:"carbon:security",label:"First-Party Mode",devOnly:!0},{value:"registry",to:"/registry",icon:"carbon:catalog",label:"Registry",devOnly:!0},{value:"docs",to:"/docs",icon:"carbon:book",label:"Docs",devOnly:!1}],i=R(()=>gf.value);return(a,l)=>{const c=R7,u=iA;return N(),W(u,{"active-tab":s.value,title:"Scripts",icon:"carbon:script",version:i.value,"nav-items":o,"github-url":"https://github.com/nuxt/scripts",loading:!1},{default:Z(()=>[re(c)]),_:1},8,["active-tab","version"])}}}),HO={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error,r=Number(n.statusCode||500),s=r===404,o=n.statusMessage??(s?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,u=s?Oc(()=>ln(()=>import("./DSsHxmoa.js"),__vite__mapDeps([6,7]),import.meta.url)):Oc(()=>ln(()=>import("./D2og3hsL.js"),__vite__mapDeps([8,9]),import.meta.url));return(f,d)=>(N(),W(_(u),Ht(en({status:_(r),statusText:_(o),statusCode:_(r),statusMessage:_(o),description:_(i),stack:_(a)})),null,16))}},UO={key:0},dg={__name:"nuxt-root",setup(e){const t=()=>null,n=Ue(),r=n.deferHydration();if(n.isHydrating){const u=n.hooks.hookOnce("app:error",r),f=Ut().beforeEach(()=>{u(),f()})}const s=!1;qt(hl,vf()),n.hooks.callHookWith(u=>u.map(f=>f()),"vue:setup",[]);const o=gl(),i=!1,a=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;function l(u,f,d){const p=n.vueApp.config.errorHandler;if(p&&!p.__nuxt_default)try{p(u,f,d)}catch(h){console.error("[nuxt] Error in `app.config.errorHandler`",h)}}c0((u,f,d)=>{if(n.hooks.callHook("vue:error",u,f,d)?.catch(p=>console.error("[nuxt] Error in `vue:error` hook",p)),a.test(navigator.userAgent))return n.hooks.callHook("app:error",u),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,u),!1;if(B1(u)&&(u.fatal||u.unhandled))return n.runWithContext(()=>Vr(u)),l(u,f,d),!1});const c=!1;return(u,f)=>(N(),W(M0,{onResolve:_(r)},{default:Z(()=>[_(i)?(N(),Ee("div",UO)):_(o)?(N(),W(_(HO),{key:1,error:_(o)},null,8,["error"])):_(c)?(N(),W(_(t),{key:2,context:_(c)},null,8,["context"])):_(s)?(N(),W(Ln(_(s)),{key:3})):(N(),W(_(qO),{key:4}))]),_:1},8,["onResolve"]))}};let pg;{let e;pg=async function(){if(e)return e;const n=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true"),r=n?_3(dg):w3(dg),s=g6({vueApp:r});async function o(i){await s.callHook("app:error",i),s.payload.error||=Tr(i)}o.__nuxt_default=!0,r.config.errorHandler=o,s.hook("app:suspense:resolve",()=>{r.config.errorHandler===o&&(r.config.errorHandler=void 0)}),!n&&ep.id&&s.hook("app:suspense:resolve",()=>{document.getElementById(ep.id)?.remove()});try{await v6(s,T7)}catch(i){o(i)}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(d6),await s.hooks.callHook("app:mounted",r),await At()}catch(i){o(i)}return r},e=pg().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{l0 as $,Q as A,Ne as B,hr as C,Vn as D,At as E,ze as F,R as G,dn as H,yn as I,Lr as J,VO as K,rt as L,f_ as M,Us as N,aI as O,ic as P,Mm as Q,lI as R,cI as S,ce as T,st as U,uI as V,Rr as W,Ko as X,m_ as Y,gr as Z,bl as _,ke as a,Ht as a0,en as a1,v_ as a2,Tx as a3,di as a4,C4 as a5,i_ as a6,Sx as a7,be as a8,q7 as a9,sI as aA,YO as aB,QO as aC,ZO as aD,Yd as aE,eI as aF,Xd as aG,rI as aH,nI as aI,XO as aJ,tI as aK,oI as aL,Ms as aa,Y7 as ab,Om as ac,Lm as ad,It as ae,Ln as af,H7 as ag,GO as ah,Bn as ai,Xs as aj,Wn as ak,vt as al,us as am,gi as an,Ty as ao,Nt as ap,ok as aq,nb as ar,nt as as,JO as at,q4 as au,wn as av,KO as aw,Mo as ax,dI as ay,Kd as az,re as b,Ee as c,Dt as d,Py as e,ge as f,W as g,_ as h,zs as i,En as j,F0 as k,RS as l,xe as m,Te as n,N as o,ld as p,xt as q,ur as r,E1 as s,Qe as t,U1 as u,Id as v,Z as w,WO as x,pf as y,B7 as z};
|