PageSourceSearch

https://elk-zone.netlify.app/_nuxt/DREHXjTd.js

js elk-zone.netlify.app collected 2026-10-03 10:41:37 UTC 539,952 bytes, 12 lines download raw bytes

vendor: 7,561 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BdyhGJvg.js","./CxkMWFnk.js","./Bt_ywt1i.js","./BNMhYjt1.js","./B1BBioz6.js","./D9AS87yQ.js","./Bq_sSO39.js","./BxIuzSuc.js","./DT0ENWEa.js","./DhvdbkJf.js","./Dhl8RJdc.js","./BkxkImH3.js","./Dy3eQG4e.js","./StatusPreviewCard.C5G_Pg4a.css","./StatusCard.5UFk0O3A.css","./4_1hyuWm.js","./CWI2W-Za.js","./FTxbCxnw.js","./4jAdUL_M.js","./ModalDialog.B2zIgTKK.css","./Bw0n4hiA.js","./CommonCheckbox.DeiOOksl.css","./YGirYfaB.js","./CB5mdFk9.js","./GctFFk09.js","./8R9WQNKl.js","./Crde6C7V.js","./PublishWidgetList.DLOJlCbw.css","./bWwe4b0P.js","./bjfNH4AV.js","./Xq0vsQdj.js","./DBLXZzwI.js","./BKNBIBYe.js","./CTQmBc4M.js","./BQ5JJhpA.js","./6D6ZpIWi.js","./D-1eoppE.js","./Bl8jSrGh.js","./DobXzJPh.js","./NotificationPreferences.Br3dYumx.css","./DLCXkjrG.js","./hGxgE4KJ.js","./DbczPBSb.js","./DwebwD6l.js","./BLztc4RP.js","./CGXwo7xb.js","./CQf94e1Y.js","./CAy8WBL7.js","./B9DzNh3Z.js","./DKt60DJN.js","./jqGcCsm1.js","./DA3tj6bQ.js","./BOVZPQSy.js","./cHs0jgZ4.js","./appearance.BrDh0YTd.css","./CIXb2F82.js","./96wmVWA6.js","./index.B399Xaws.css","./CbR9xo83.js","./DF3ASvJK.js","./Bhim0HJZ.js","./C_3Spb1Y.js","./YR4ac8mo.js","./5F4d9ao8.js","./CD40zOe2.js","./Ca6RToE0.js","./CLLOk-G4.js","./DIrH7QNT.js","./Bv_03y_4.js","./Cczd8CY3.js","./279VXUQI.js","./Dhs_K2tS.js","./Bdo1WA67.js","./Dy0Jc4Q9.js","./DCEP07bw.js","./g6oofgfx.js","./d1nmbKfC.js","./DxXcqeL6.js","./D2NbkkIf.js","./B2166KRQ.js","./C0XRu0RH.js","./DRAAb7pE.js","./index.Byb5qhsk.css","./DVFqPW-N.js","./Cs51AAJj.js","./CCs1kZ1K.js","./BFKa6vLO.js","./B8bZWE1n.js","./Djez2uQv.js","./wX1l-XUF.js","./default.CTQ244gn.css"])))=>i.map(i=>d[i]);
2(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();function Ic(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Le={},Ao=[],un=()=>{},Em=()=>!1,Qs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Nc=e=>e.startsWith("onUpdate:"),tt=Object.assign,Mc=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ZD=Object.prototype.hasOwnProperty,Me=(e,t)=>ZD.call(e,t),ue=Array.isArray,So=e=>Yo(e)==="[object Map]",Go=e=>Yo(e)==="[object Set]",Qf=e=>Yo(e)==="[object Date]",e0=e=>Yo(e)==="[object RegExp]",me=e=>typeof e=="function",Ge=e=>typeof e=="string",pn=e=>typeof e=="symbol",xe=e=>e!==null&&typeof e=="object",Bc=e=>(xe(e)||me(e))&&me(e.then)&&me(e.catch),Cm=Object.prototype.toString,Yo=e=>Cm.call(e),t0=e=>Yo(e).slice(8,-1),Fm=e=>Yo(e)==="[object Object]",Ra=e=>Ge(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Xr=Ic(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Pa=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},n0=/-\w/g,At=Pa(e=>e.replace(n0,t=>t.slice(1).toUpperCase())),r0=/\B([A-Z])/g,rr=Pa(e=>e.replace(r0,"-$1").toLowerCase()),Oa=Pa(e=>e.charAt(0).toUpperCase()+e.slice(1)),Cl=Pa(e=>e?`on${Oa(e)}`:""),Ct=(e,t)=>!Object.is(e,t),To=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Am=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},La=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Sm=e=>{const t=Ge(e)?Number(e):NaN;return isNaN(t)?e:t};let Zf;const $a=()=>Zf||(Zf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function yr(e){if(ue(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Ge(r)?a0(r):yr(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(Ge(e)||xe(e))return e}const o0=/;(?![^(]*\))/g,s0=/:([^]+)/,i0=/\/\*[^]*?\*\//g;function a0(e){const t={};return e.replace(i0,"").split(o0).forEach(n=>{if(n){const r=n.split(s0);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Je(e){let t="";if(Ge(e))t=e;else if(ue(e))for(let n=0;n<e.length;n++){const r=Je(e[n]);r&&(t+=r+" ")}else if(xe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Tm(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ge(t)&&(e.class=Je(t)),n&&(e.style=yr(n)),e}const l0="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",u0=Ic(l0);function km(e){return!!e||e===""}function c0(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Cr(e[r],t[r]);return n}function Cr(e,t){if(e===t)return!0;let n=Qf(e),r=Qf(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=pn(e),r=pn(t),n||r)return e===t;if(n=ue(e),r=ue(t),n||r)return n&&r?c0(e,t):!1;if(n=xe(e),r=xe(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,s=Object.keys(t).length;if(o!==s)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!Cr(e[i],t[i]))return!1}}return String(e)===String(t)}function jc(e,t){return e.findIndex(n=>Cr(n,t))}const Rm=e=>!!(e&&e.__v_isRef===!0),ye=e=>Ge(e)?e:e==null?"":ue(e)||xe(e)&&(e.toString===Cm||!me(e.toString))?Rm(e)?ye(e.value):JSON.stringify(e,Pm,2):String(e),Pm=(e,t)=>Rm(t)?Pm(e,t.value):So(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[Fl(r,s)+" =>"]=o,n),{})}:Go(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Fl(n))}:pn(t)?Fl(t):xe(t)&&!ue(t)&&!Fm(t)?String(t):t,Fl=(e,t="")=>{var n;return pn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function f0(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:String(e)}let Et;class Om{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Et,!t&&Et&&(this.index=(Et.scopes||(Et.scopes=[])).push(this)-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=Et;try{return Et=this,t()}finally{Et=n}}}on(){++this._on===1&&(this.prevScope=Et,Et=this)}off(){this._on>0&&--this._on===0&&(Et=this.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 o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function Xo(e){return new Om(e)}function or(){return Et}function to(e,t=!1){Et&&Et.cleanups.push(e)}let ze;const Al=new WeakSet;class Lm{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
vendor: 4,724 bytes, line 2
2=void 0,Et&&Et.active&&Et.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Al.has(this)&&(Al.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||xm(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ed(this),Im(this);const t=ze,n=cn;ze=this,cn=!0;try{return this.fn()}finally{Nm(this),ze=t,cn=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Wc(t);this.deps=this.depsTail=void 0,ed(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Al.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){_u(this)&&this.run()}get dirty(){return _u(this)}}let $m=0,ys,Ds;function xm(e,t=!1){if(e.flags|=8,t){e.next=Ds,Ds=e;return}e.next=ys,ys=e}function Hc(){$m++}function Uc(){if(--$m>0)return;if(Ds){let t=Ds;for(Ds=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;ys;){let t=ys;for(ys=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 Im(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Nm(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Wc(r),d0(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function _u(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Mm(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Mm(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===$s)||(e.globalVersion=$s,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!_u(e))))return;e.flags|=2;const t=e.dep,n=ze,r=cn;ze=e,cn=!0;try{Im(e);const o=e.fn(e._value);(t.version===0||Ct(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{ze=n,cn=r,Nm(e),e.flags&=-3}}function Wc(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)Wc(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function d0(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let cn=!0;const Bm=[];function Zn(){Bm.push(cn),cn=!1}function er(){const e=Bm.pop();cn=e===void 0?!0:e}function ed(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ze;ze=void 0;try{t()}finally{ze=n}}}let $s=0;class h0{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 xa{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(!ze||!cn||ze===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ze)n=this.activeLink=new h0(ze,this),ze.deps?(n.prevDep=ze.depsTail,ze.depsTail.nextDep=n,ze.depsTail=n):ze.deps=ze.depsTail=n,jm(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=ze.depsTail,n.nextDep=void 0,ze.depsTail.nextDep=n,ze.depsTail=n,ze.deps===n&&(ze.deps=r)}return n}trigger(t){this.version++,$s++,this.notify(t)}notify(t){Hc();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Uc()}}}function jm(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)jm(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const zi=new WeakMap,Jr=Symbol(""),vu=Symbol(""),xs=Symbol("");function Ft(e,t,n){if(cn&&ze){let r=zi.get(e);r||zi.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new xa),o.map=r,o.key=n),o.track()}}function Vn(e,t,n,r,o,s){const i=zi.get(e);if(!i){$s++;return}const a=l=>{l&&l.trigger()};if(Hc(),t==="clear")i.forEach(a);else{const l=ue(e),c=l&&Ra(n);if(l&&n==="length"){const u=Number(r);i.forEach((f,d)=>{(d==="length"||d===xs||!pn(d)&&d>=u)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),c&&a(i.get(xs)),t){case"add":l?c&&a(i.get("length")):(a(i.get(Jr)),So(e)&&a(i.get(vu)));break;case"delete":l||(a(i.get(Jr)),So(e)&&a(i.get(vu)));break;case"set":So(e)&&a(i.get(Jr));break}}Uc()}function p0(e,t){const n=zi.get(e);return n&&n.get(t)}function mo(e){const t=Ee(e);return t===e?t:(Ft(t,"iterate",xs),Ht(e)?t:t.map(mn))}function Ia(e){return Ft(e=Ee(e),"iterate",xs),e}function Sn(e,t){return xn(e)?Mo(Pn(e)?mn(t):t):mn(t)}const m0={__proto__:null,[Symbol.iterator](){return Sl(this,Symbol.iterator,e=>Sn(this,e))},concat(...e){return mo(this).concat(...e.map(t=>ue(t)?mo(t):t))}
vendor: 9,765 bytes, line 2
2,entries(){return Sl(this,"entries",e=>(e[1]=Sn(this,e[1]),e))},every(e,t){return Nn(this,"every",e,t,void 0,arguments)},filter(e,t){return Nn(this,"filter",e,t,n=>n.map(r=>Sn(this,r)),arguments)},find(e,t){return Nn(this,"find",e,t,n=>Sn(this,n),arguments)},findIndex(e,t){return Nn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Nn(this,"findLast",e,t,n=>Sn(this,n),arguments)},findLastIndex(e,t){return Nn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Nn(this,"forEach",e,t,void 0,arguments)},includes(...e){return Tl(this,"includes",e)},indexOf(...e){return Tl(this,"indexOf",e)},join(e){return mo(this).join(e)},lastIndexOf(...e){return Tl(this,"lastIndexOf",e)},map(e,t){return Nn(this,"map",e,t,void 0,arguments)},pop(){return as(this,"pop")},push(...e){return as(this,"push",e)},reduce(e,...t){return td(this,"reduce",e,t)},reduceRight(e,...t){return td(this,"reduceRight",e,t)},shift(){return as(this,"shift")},some(e,t){return Nn(this,"some",e,t,void 0,arguments)},splice(...e){return as(this,"splice",e)},toReversed(){return mo(this).toReversed()},toSorted(e){return mo(this).toSorted(e)},toSpliced(...e){return mo(this).toSpliced(...e)},unshift(...e){return as(this,"unshift",e)},values(){return Sl(this,"values",e=>Sn(this,e))}};function Sl(e,t,n){const r=Ia(e),o=r[t]();return r!==e&&!Ht(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.done||(s.value=n(s.value)),s}),o}const g0=Array.prototype;function Nn(e,t,n,r,o,s){const i=Ia(e),a=i!==e&&!Ht(e),l=i[t];if(l!==g0[t]){const f=l.apply(e,s);return a?mn(f):f}let c=n;i!==e&&(a?c=function(f,d){return n.call(this,Sn(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&&o?o(u):u}function td(e,t,n,r){const o=Ia(e),s=o!==e&&!Ht(e);let i=n,a=!1;o!==e&&(s?(a=r.length===0,i=function(c,u,f){return a&&(a=!1,c=Sn(e,c)),n.call(this,c,Sn(e,u),f,e)}):n.length>3&&(i=function(c,u,f){return n.call(this,c,u,f,e)}));const l=o[t](i,...r);return a?Sn(e,l):l}function Tl(e,t,n){const r=Ee(e);Ft(r,"iterate",xs);const o=r[t](...n);return(o===-1||o===!1)&&Ba(n[0])?(n[0]=Ee(n[0]),r[t](...n)):o}function as(e,t,n=[]){Zn(),Hc();const r=Ee(e)[t].apply(e,n);return Uc(),er(),r}const _0=Ic("__proto__,__v_isRef,__isVue"),Hm=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(pn));function v0(e){pn(e)||(e=String(e));const t=Ee(this);return Ft(t,"has",e),t.hasOwnProperty(e)}class Um{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?Gm:Km:s?qm:zm).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=ue(t);if(!o){let l;if(i&&(l=m0[n]))return l;if(n==="hasOwnProperty")return v0}const a=Reflect.get(t,n,Pe(t)?t:r);if((pn(n)?Hm.has(n):_0(n))||(o||Ft(t,"get",n),s))return a;if(Pe(a)){const l=i&&Ra(n)?a:a.value;return o&&xe(l)?kt(l):l}return xe(a)?o?kt(a):it(a):a}}class Wm extends Um{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];const i=ue(t)&&Ra(n);if(!this._isShallow){const c=xn(s);if(!Ht(r)&&!xn(r)&&(s=Ee(s),r=Ee(r)),!i&&Pe(s)&&!Pe(r))return c||(s.value=r),!0}const a=i?Number(n)<t.length:Me(t,n),l=Reflect.set(t,n,r,Pe(t)?t:o);return t===Ee(o)&&(a?Ct(r,s)&&Vn(t,"set",n,r):Vn(t,"add",n,r)),l}deleteProperty(t,n){const r=Me(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&Vn(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!pn(n)||!Hm.has(n))&&Ft(t,"has",n),r}ownKeys(t){return Ft(t,"iterate",ue(t)?"length":Jr),Reflect.ownKeys(t)}}class Vm extends Um{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const y0=new Wm,D0=new Vm,b0=new Wm(!0),w0=new Vm(!0),yu=e=>e,li=e=>Reflect.getPrototypeOf(e);function E0(e,t,n){return function(...r){const o=this.__v_raw,s=Ee(o),i=So(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=o[e](...r),u=n?yu:t?Mo:mn;return!t&&Ft(s,"iterate",l?vu:Jr),tt(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 ui(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function C0(e,t){const n={get(o){const s=this.__v_raw,i=Ee(s),a=Ee(o);e||(Ct(o,a)&&Ft(i,"get",o),Ft(i,"get",a));const{has:l}=li(i),c=t?yu:e?Mo:mn;if(l.call(i,o))return c(s.get(o));if(l.call(i,a))return c(s.get(a));s!==i&&s.get(o)},get size(){const o=this.__v_raw;return!e&&Ft(Ee(o),"iterate",Jr),o.size},has(o){const s=this.__v_raw,i=Ee(s),a=Ee(o);return e||(Ct(o,a)&&Ft(i,"has",o),Ft(i,"has",a)),o===a?s.has(o):s.has(o)||s.has(a)},forEach(o,s){const i=this,a=i.__v_raw,l=Ee(a),c=t?yu:e?Mo:mn;return!e&&Ft(l,"iterate",Jr),a.forEach((u,f)=>o.call(s,c(u),c(f),i))}};return tt(n,e?{add:ui("add"),set:ui("set"),delete:ui("delete"),clear:ui("clear")}:{add(o){const s=Ee(this),i=li(s),a=Ee(o),l=!t&&!Ht(o)&&!xn(o)?a:o;return i.has.call(s,l)||Ct(o,l)&&i.has.call(s,o)||Ct(a,l)&&i.has.call(s,a)||(s.add(l),Vn(s,"add",l,l)),this},set(o,s){!t&&!Ht(s)&&!xn(s)&&(s=Ee(s));const i=Ee(this),{has:a,get:l}=li(i);let c=a.call(i,o);c||(o=Ee(o),c=a.call(i,o));const u=l.call(i,o);return i.set(o,s),c?Ct(s,u)&&Vn(i,"set",o,s):Vn(i,"add",o,s),this},delete(o){const s=Ee(this),{has:i,get:a}=li(s);let l=i.call(s,o);l||(o=Ee(o),l=i.call(s,o)),a&&a.call(s,o);const c=s.delete(o);return l&&Vn(s,"delete",o,void 0),c},clear(){const o=Ee(this),s=o.size!==0,i=o.clear();return s&&Vn(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=E0(o,e,t)}),n}function Na(e,t){const n=C0(e,t);return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Me(n,o)&&o in r?n:r,o,s)}const F0={get:Na(!1,!1)},A0={get:Na(!1,!0)},S0={get:Na(!0,!1)},T0={get:Na(!0,!0)},zm=new WeakMap,qm=new WeakMap,Km=new WeakMap,Gm=new WeakMap;function k0(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function R0(e){return e.__v_skip||!Object.isExtensible(e)?0:k0(t0(e))}function it(e){return xn(e)?e:Ma(e,!1,y0,F0,zm)}function on(e){return Ma(e,!1,b0,A0,qm)}function kt(e){return Ma(e,!0,D0,S0,Km)}function bs(e){return Ma(e,!0,w0,T0,Gm)}function Ma(e,t,n,r,o){if(!xe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=R0(e);if(s===0)return e;const i=o.get(e);if(i)return i;const a=new Proxy(e,s===2?r:n);return o.set(e,a),a}function Pn(e){return xn(e)?Pn(e.__v_raw):!!(e&&e.__v_isReactive)}function xn(e){return!!(e&&e.__v_isReadonly)}function Ht(e){return!!(e&&e.__v_isShallow)}function Ba(e){return e?!!e.__v_raw:!1}function Ee(e){const t=e&&e.__v_raw;return t?Ee(t):e}function Vc(e){return!Me(e,"__v_skip")&&Object.isExtensible(e)&&Am(e,"__v_skip",!0),e}const mn=e=>xe(e)?it(e):e,Mo=e=>xe(e)?kt(e):e;function Pe(e){return e?e.__v_isRef===!0:!1}function Q(e){return Ym(e,!1)}function ie(e){return Ym(e,!0)}function Ym(e,t){return Pe(e)?e:new P0(e,t)}class P0{constructor(t,n){this.dep=new xa,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Ee(t),this._value=n?t:mn(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Ht(t)||xn(t);t=r?t:Ee(t),Ct(t,n)&&(this._rawValue=t,this._value=r?t:mn(t),this.dep.trigger())}}function N(e){return Pe(e)?e.value:e}function ae(e){return me(e)?e():N(e)}const O0={get:(e,t,n)=>t==="__v_raw"?e:N(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Pe(o)&&!Pe(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Xm(e){return Pn(e)?e:new Proxy(e,O0)}class L0{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new xa,{get:r,set:o}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function zc(e){return new L0(e)}function $0(e){const t=ue(e)?new Array(e.length):{};for(const n in e)t[n]=Jm(e,n);return t}class x0{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._raw=Ee(t);let o=!0,s=t;if(!ue(t)||!Ra(String(n)))do o=!Ba(s)||Ht(s);while(o&&(s=s.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=N(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Pe(this._raw[this._key])){const n=this._object[this._key];if(Pe(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return p0(this._raw,this._key)}}class I0{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 ja(e,t,n){return Pe(e)?e:me(e)?new I0(e):xe(e)&&arguments.length>1?Jm(e,t,n):Q(e)}function Jm(e,t,n){return new x0(e,t,n)}class N0{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new xa(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=$s-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&ze!==this)return xm(this,!0),!0}get value(){const t=this.dep.track();return Mm(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function M0(e,t,n=!1){let r,o;return me(e)?r=e:(r=e.get,o=e.set),new N0(r,o,n)}const ci={},qi=new WeakMap;let Hr;function B0(e,t=!1,n=Hr){if(n){let r=qi.get(n);r||qi.set(n,r=[]),r.push(e)}}function j0(e,t,n=Le){const{immediate:r,deep:o,once:s,scheduler:i,augmentJob:a,call:l}=n,c=D=>o?D:Ht(D)||o===!1||o===0?zn(D,1):zn(D);let u,f,d,h,p=!1,g=!1;if(Pe(e)?(f=()=>e.value,p=Ht(e)):Pn(e)?(f=()=>c(e),p=!0):ue(e)?(g=!0,p=e.some(D=>Pn(D)||Ht(D)),f=()=>e.map(D=>
vendor: 19,261 bytes, lines 2-4
2{if(Pe(D))return D.value;if(Pn(D))return c(D);if(me(D))return l?l(D,2):D()})):me(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){Zn();try{d()}finally{er()}}const D=Hr;Hr=u;try{return l?l(e,3,[h]):e(h)}finally{Hr=D}}:f=un,t&&o){const D=f,b=o===!0?1/0:o;f=()=>zn(D(),b)}const v=or(),m=()=>{u.stop(),v&&v.active&&Mc(v.effects,u)};if(s&&t){const D=t;t=(...b)=>{D(...b),m()}}let y=g?new Array(e.length).fill(ci):ci;const _=D=>{if(!(!(u.flags&1)||!u.dirty&&!D))if(t){const b=u.run();if(o||p||(g?b.some((A,E)=>Ct(A,y[E])):Ct(b,y))){d&&d();const A=Hr;Hr=u;try{const E=[b,y===ci?void 0:g&&y[0]===ci?[]:y,h];y=b,l?l(t,3,E):t(...E)}finally{Hr=A}}}else u.run()};return a&&a(_),u=new Lm(f),u.scheduler=i?()=>i(_,!1):_,h=D=>B0(D,!1,u),d=u.onStop=()=>{const D=qi.get(u);if(D){if(l)l(D,4);else for(const b of D)b();qi.delete(u)}},t?r?_(!0):y=u.run():i?i(_.bind(null,!0),!0):u.run(),m.pause=u.pause.bind(u),m.resume=u.resume.bind(u),m.stop=m,m}function zn(e,t=1/0,n){if(t<=0||!xe(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Pe(e))zn(e.value,t,n);else if(ue(e))for(let r=0;r<e.length;r++)zn(e[r],t,n);else if(Go(e)||So(e))e.forEach(r=>{zn(r,t,n)});else if(Fm(e)){for(const r in e)zn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&zn(e[r],t,n)}return e}function Zs(e,t,n,r){try{return r?e(...r):e()}catch(o){Jo(o,t,n)}}function gn(e,t,n,r){if(me(e)){const o=Zs(e,t,n,r);return o&&Bc(o)&&o.catch(s=>{Jo(s,t,n)}),o}if(ue(e)){const o=[];for(let s=0;s<e.length;s++)o.push(gn(e[s],t,n,r));return o}}function Jo(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:s,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(s){Zn(),Zs(s,null,10,[e,l,c]),er();return}}H0(e,n,o,r,i)}function H0(e,t,n,r=!0,o=!1){if(o)throw e}const Pt=[];let Cn=-1;const ko=[];let pr=null,yo=0;const Qm=Promise.resolve();let Ki=null;function ot(e){const t=Ki||Qm;return e?t.then(this?e.bind(this):e):t}function U0(e){let t=Cn+1,n=Pt.length;for(;t<n;){const r=t+n>>>1,o=Pt[r],s=Is(o);s<e||s===e&&o.flags&2?t=r+1:n=r}return t}function qc(e){if(!(e.flags&1)){const t=Is(e),n=Pt[Pt.length-1];!n||!(e.flags&2)&&t>=Is(n)?Pt.push(e):Pt.splice(U0(t),0,e),e.flags|=1,Zm()}}function Zm(){Ki||(Ki=Qm.then(eg))}function Bo(e){ue(e)?ko.push(...e):pr&&e.id===-1?pr.splice(yo+1,0,e):e.flags&1||(ko.push(e),e.flags|=1),Zm()}function nd(e,t,n=Cn+1){for(;n<Pt.length;n++){const r=Pt[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Pt.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Gi(e){if(ko.length){const t=[...new Set(ko)].sort((n,r)=>Is(n)-Is(r));if(ko.length=0,pr){pr.push(...t);return}for(pr=t,yo=0;yo<pr.length;yo++){const n=pr[yo];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}pr=null,yo=0}}const Is=e=>e.id==null?e.flags&2?-1:1/0:e.id;function eg(e){try{for(Cn=0;Cn<Pt.length;Cn++){const t=Pt[Cn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Zs(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Cn<Pt.length;Cn++){const t=Pt[Cn];t&&(t.flags&=-2)}Cn=-1,Pt.length=0,Gi(),Ki=null,(Pt.length||ko.length)&&eg()}}let Dt=null,Ha=null;function Yi(e){const t=Dt;return Dt=e,Ha=e&&e.type.__scopeId||null,t}function W0(e){Ha=e}function V0(){Ha=null}const z0=e=>Fe;function Fe(e,t=Dt,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&ta(-1);const s=Yi(t);let i;try{i=e(...o)}finally{Yi(s),r._d&&ta(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function q0(e,t){if(Dt===null)return e;const n=qa(Dt),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,i,a,l=Le]=t[o];s&&(me(s)&&(s={mounted:s,updated:s}),s.deep&&zn(i),r.push({dir:s,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function Fn(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];s&&(a.oldValue=s[i].value);let l=a.dir[r];l&&(Zn(),gn(l,n,8,[e.el,a,e,t]),er())}}function Xn(e,t){if(yt){let n=yt.provides;const r=yt.parent&&yt.parent.provides;r===n&&(n=yt.provides=Object.create(r)),n[e]=t}}function et(e,t,n=!1){const r=_t();if(r||Zr){let o=Zr?Zr._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&me(t)?t.call(r&&r.proxy):t}}function ao(){return!!(_t()||Zr)}const K0=Symbol.for("v-scx"),G0=()=>et(K0);function Qr(e,t){return Ua(e,null,t)}function Y0(e,t){return Ua(e,null,{flush:"sync"})}function De(e,t,n){return Ua(e,t,n)}function Ua(e,t,n=Le){const{immediate:r,deep:o,flush:s,once:i}=n,a=tt({},n),l=t&&r||!t&&s!=="post";let c;if(ro){if(s==="sync"){const h=G0();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!l){const h=()=>{};return h.stop=un,h.resume=un,h.pause=un,h}}const u=yt;a.call=(h,p,g)=>gn(h,u,p,g);let f=!1;s==="post"?a.scheduler=h=>{rt(h,u&&u.suspense)}:s!=="sync"&&(f=!0,a.scheduler=(h,p)=>{p?h():qc(h)}),a.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const d=j0(e,t,a);return ro&&(c?c.push(d):l&&d()),d}function X0(e,t,n){const r=this.proxy,o=Ge(e)?e.includes(".")?tg(r,e):()=>r[e]:e.bind(r,r);let s;me(t)?s=t:(s=t.handler,n=t);const i=es(this),a=Ua(o,s.bind(r),n);return i(),a}function tg(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}const ng=Symbol("_vte"),rg=e=>e.__isTeleport,ws=e=>e&&(e.disabled||e.disabled===""),rd=e=>e&&(e.defer||e.defer===""),od=e=>typeof SVGElement<"u"&&e instanceof SVGElement,sd=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Du=(e,t)=>{const n=e&&e.to;return Ge(n)?t?t(n):null:n},og={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,s,i,a,l,c){const{mc:u,pc:f,pbc:d,o:{insert:h,querySelector:p,createText:g,createComment:v}}=c,m=ws(t.props);let{shapeFlag:y,children:_,dynamicChildren:D}=t;if(e==null){const b=t.el=g(""),A=t.anchor=g("");h(b,n,r),h(A,n,r);const E=(S,k)=>{y&16&&u(_,S,k,o,s,i,a,l)},O=()=>{const S=t.target=Du(t.props,p),k=bu(S,t,g,h);S&&(i!=="svg"&&od(S)?i="svg":i!=="mathml"&&sd(S)&&(i="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add(S),m||(E(S,k),Ni(t,!1)))};m&&(E(n,A),Ni(t,!0)),rd(t.props)?(t.el.__isMounted=!1,rt(()=>{O(),delete t.el.__isMounted},s)):O()}else{if(rd(t.props)&&e.el.__isMounted===!1){rt(()=>{og.process(e,t,n,r,o,s,i,a,l,c)},s);return}t.el=e.el,t.targetStart=e.targetStart;const b=t.anchor=e.anchor,A=t.target=e.target,E=t.targetAnchor=e.targetAnchor,O=ws(e.props),S=O?n:A,k=O?b:E;if(i==="svg"||od(A)?i="svg":(i==="mathml"||sd(A))&&(i="mathml"),D?(d(e.dynamicChildren,D,S,o,s,i,a),Zc(e,t,!0)):l||f(e,t,S,k,o,s,i,a,!1),m)O?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):fi(t,n,b,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const M=t.target=Du(t.props,p);M&&fi(t,M,null,c,0)}else O&&fi(t,A,E,c,1);Ni(t,m)}},remove(e,t,n,{um:r,o:{remove:o}},s){const{shapeFlag:i,children:a,anchor:l,targetStart:c,targetAnchor:u,target:f,props:d}=e;if(f&&(o(c),o(u)),s&&o(l),i&16){const h=s||!ws(d);for(let p=0;p<a.length;p++){const g=a[p];r(g,t,n,h,!!g.dynamicChildren)}}},move:fi,hydrate:J0};function fi(e,t,n,{o:{insert:r},m:o},s=2){s===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:c,props:u}=e,f=s===2;if(f&&r(i,t,n),(!f||ws(u))&&l&16)for(let d=0;d<c.length;d++)o(c[d],t,n,2);f&&r(a,t,n)}function J0(e,t,n,r,o,s,{o:{nextSibling:i,parentNode:a,querySelector:l,insert:c,createText:u}},f){function d(v,m){let y=m;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 h(v,m){m.anchor=f(i(v),m,a(v),n,r,o,s)}const p=t.target=Du(t.props,l),g=ws(t.props);if(p){const v=p._lpa||p.firstChild;t.shapeFlag&16&&(g?(h(e,t),d(p,v),t.targetAnchor||bu(p,t,u,c,a(e)===p?e:null)):(t.anchor=i(e),d(p,v),t.targetAnchor||bu(p,t,u,c),f(v&&i(v),t,p,n,r,o,s))),Ni(t,g)}else g&&t.shapeFlag&16&&(h(e,t),t.targetStart=e,t.targetAnchor=i(e));return t.anchor&&i(t.anchor)}const BM=og;function Ni(e,t){const n=e.ctx;if(n&&n.ut){let r,o;for(t?(r=e.el,o=e.anchor):(r=e.targetStart,o=e.targetAnchor);r&&r!==o;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function bu(e,t,n,r,o=null){const s=t.targetStart=n(""),i=t.targetAnchor=n("");return s[ng]=i,e&&(r(s,e,o),r(i,e,o)),i}const An=Symbol("_leaveCb"),ls=Symbol("_enterCb");function Q0(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Qt(()=>{e.isMounted=!0}),lo(()=>{e.isUnmounting=!0}),e}const qt=[Function,Array],sg={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:qt,onEnter:qt,onAfterEnter:qt,onEnterCancelled:qt,onBeforeLeave:qt,onLeave:qt,onAfterLeave:qt,onLeaveCancelled:qt,onBeforeAppear:qt,onAppear:qt,onAfterAppear:qt,onAppearCancelled:qt},ig=e=>{const t=e.subTree;return t.component?ig(t.component):t},Z0={name:"BaseTransition",props:sg,setup(e,{slots:t}){const n=_t(),r=Q0();return()=>{const o=t.default&&ug(t.default(),!0);if(!o||!o.length)return;const s=ag(o),i=Ee(e),{mode:a}=i;if(r.isLeaving)return kl(s);const l=id(s);if(!l)return kl(s);let c=wu(l,i,r,n,f=>c=f);l.type!==ft&&jo(l,c);let u=n.subTree&&id(n.subTree);if(u&&u.type!==ft&&!sn(u,l)&&ig(n).type!==ft){let f=wu(u,i,r,n);if(jo(u,f),a==="out-in"&&l.type!==ft)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,u=void 0},kl(s);a==="in-out"&&l.type!==ft?f.delayLeave=(d,h,p)=>{const g=lg(r,u);g[String(u.key)]=u,d[An]=()=>{h(),d[An]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{p(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return s}}};function ag(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ft){t=n;break}}return t}const eb=Z0;function lg(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 wu(e,t,n,r,o){const{appear:s,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:p,onLeaveCancelled:g,onBeforeAppear:v,onAppear:m,onAfterAppear:y,onAppearCancelled:_}=t,D=String(e.key),b=lg(n,e),A=(S,k)=>{S&&gn(S,r,9,k)},E=(S,k)=>{const M=k[1];A(S,k),ue(S)?S.every(L=>L.length<=1)&&M():S.length<=1&&M()},O={mode:i,persisted:a,beforeEnter(S){let k=l;if(!n.isMounted)if(s)k=v||l;else return;S[An]&&S[An](!0);const M=b[D];M&&sn(e,M)&&M.el[An]&&M.el[An](),A(k,[S])},enter(S){if(b[D]===e)return;let k=c,M=u,L=f;if(!n.isMounted)if(s)k=m||c,M=y||u,L=_||f;else return;let G=!1;S[ls]=Z=>{G||(G=!0,Z?A(L,[S]):A(M,[S]),O.delayedLeave&&O.delayedLeave(),S[ls]=void 0)};const U=S[ls].bind(null,!1);k?E(k,[S,U]):U()},leave(S,k){const M=String(e.key);if(S[ls]&&S[ls](!0),n.isUnmounting)return k();A(d,[S]);let L=!1;S[An]=U=>{L||(L=!0,k(),U?A(g,[S]):A(p,[S]),S[An]=void 0,b[M]===e&&delete b[M])};const G=S[An].bind(null,!1);b[M]=e,h?E(h,[S,G]):G()},clone(S){const k=wu(S,t,n,r,o);return o&&o(k),k}};return O}function kl(e){if(ei(e))return e=Ut(e),e.children=null,e}function id(e){if(!ei(e))return rg(e.type)&&e.children?ag(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&&me(n.default))return n.default()}}function jo(e,t){e.shapeFlag&6&&e.component?(e.transition=t,jo(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 ug(e,t=!1,n){let r=[],o=0;for(let s=0;s<e.length;s++){let i=e[s];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:s);i.type===Ce?(i.patchFlag&128&&o++,r=r.concat(ug(i.children,t,a))):(t||i.type!==ft)&&r.push(a!=null?Ut(i,{key:a}):i)}if(o>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}function ge(e,t){return me(e)?tt({name:e.name},t,{setup:e}):e}function Kc(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function ad(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Xi=new WeakMap;function Ro(e,t,n,r,o=!1){if(ue(e)){e.forEach((g,v)=>Ro(g,t&&(ue(t)?t[v]:t),n,r,o));return}if(Jn(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Ro(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?qa(r.component):r.el,i=o?null:s,{i:a,r:l}=e,c=t&&t.r,u=a.refs===Le?a.refs={}:a.refs,f=a.setupState,d=Ee(f),h=f===Le?Em:g=>ad(u,g)?!1:Me(d,g),p=(g,v)=>!(v&&ad(u,v));if(c!=null&&c!==l){if(ld(t),Ge(c))u[c]=null,h(c)&&(f[c]=null);else if(Pe(c)){const g=t;p(c,g.k)&&(c.value=null),g.k&&(u[g.k]=null)}}if(me(l))Zs(l,a,12,[i,u]);else{const g=Ge(l),v=Pe(l);if(g||v){const m=()=>{if(e.f){const y=g?h(l)?f[l]:u[l]:p()||!e.k?l.value:u[e.k];if(o)ue(y)&&Mc(y,s);else if(ue(y))y.includes(s)||y.push(s);else if(g)u[l]=[s],h(l)&&(f[l]=u[l]);else{const _=[s];p(l,e.k)&&(l.value=_),e.k&&(u[e.k]=_)}}else g?(u[l]=i,h(l)&&(f[l]=i)):v&&(p(l,e.k)&&(l.value=i),e.k&&(u[e.k]=i))};if(i){const y=()=>{m(),Xi.delete(e)};y.id=-1,Xi.set(e,y),rt(y,n)}else ld(e),m()}}}function ld(e){const t=Xi.get(e);t&&(t.flags|=8,Xi.delete(e))}let ud=!1;const go=()=>{ud||(ud=!0)},tb=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",nb=e=>e.namespaceURI.includes("MathML"),di=e=>{if(e.nodeType===1){if(tb(e))return"svg";if(nb(e))return"mathml"}},Eo=e=>e.nodeType===8;function rb(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:i,remove:a,insert:l,createComment:c}}=e,u=(_,D)=>{if(!D.hasChildNodes()){n(null,_,D),Gi(),D._vnode=_;return}f(D.firstChild,_,null,null,null),Gi(),D._vnode=_},f=(_,D,b,A,E,O=!1)=>{O=O||!!D.dynamicChildren;const S=Eo(_)&&_.data==="[",k=()=>g(_,D,b,A,E,S),{type:M,ref:L,shapeFlag:G,patchFlag:U}=D;let Z=_.nodeType;D.el=_,U===-2&&(O=!1,D.dynamicChildren=null);let W=null;switch(M){case Dr:Z!==3?D.children===""?(l(D.el=o(""),i(_),_),W=_):W=k():(_.data!==D.children&&(go(),_.data=D.children),W=s(_));break;case ft:y(_)?(W=s(_),m(D.el=_.content.firstChild,_,b)):Z!==8||S?W=k():W=s(_);break;case Oo:if(S&&(_=s(_),Z=_.nodeType),Z===1||Z===3){W=_;const ee=!D.children.length;for(let Y=0;Y<D.staticCount;Y++)ee&&(D.children+=W.nodeType===1?W.outerHTML:W.data),Y===D.staticCount-1&&(D.anchor=W),W=s(W);return S?s(W):W}else k();break;case Ce:S?W=p(_,D,b,A,E,O):W=k();break;default:if(G&1)(Z!==1||D.type.toLowerCase()!==_.tagName.toLowerCase())&&!y(_)?W=k():W=d(_,D,b,A,E,O);else if(G&6){D.slotScopeIds=E;const ee=i(_);if(S?W=v(_):Eo(_)&&_.data==="teleport start"?W=v(_,_.data,"teleport end"):W=s(_),t(D,ee,null,b,A,di(ee),O),Jn(D)&&!D.type.__asyncResolved){let Y;S?(Y=he(Ce),Y.anchor=W?W.previousSibling:ee.lastChild):Y=_.nodeType===3?no(""):he("div"),Y.el=_,D.component.subTree=Y}}else G&64?Z!==8?W=k():W=D.type.hydrate(_,D,b,A,E,O,e,h):G&128&&(W=D.type.hydrate(_,D,b,A,di(i(_)),E,O,e,f))}return L!=null&&Ro(L,null,A,D),W},d=(_,D,b,A,E,O)=>{O=O||!!D.dynamicChildren;const{type:S,props:k,patchFlag:M,shapeFlag:L,dirs:G,transition:U}=D,Z=S==="input"||S==="option";if(Z||M!==-1){G&&Fn(D,null,b,"created");let W=!1;if(y(_)){W=Og(null,U)&&b&&b.vnode.props&&b.vnode.props.appear;const Y=_.content.firstChild;if(W){const ce=Y.getAttribute("class");ce&&(Y.$cls=ce),U.beforeEnter(Y)}m(Y,_,b),D.el=_=Y}if(L&16&&!(k&&(k.innerHTML||k.textContent))){let Y=h(_.firstChild,D,_,b,A,E,O);for(;Y;){hi(_,1)||go();const ce=Y;Y=Y.nextSibling,a(ce)}}else if(L&8){let Y=D.children;Y[0]===`
3`&&(_.tagName==="PRE"||_.tagName==="TEXTAREA")&&(Y=Y.slice(1));const{textContent:ce}=_;ce!==Y&&ce!==Y.replace(/\r\n|\r/g,`
4`)&&(hi(_,0)||go(),_.textContent=D.children)}if(k){if(Z||!O||M&48){const Y=_.tagName.includes("-");for(const ce in k)(Z&&(ce.endsWith("value")||ce==="indeterminate")||Qs(ce)&&!Xr(ce)||ce[0]==="."||Y&&!Xr(ce))&&r(_,ce,null,k[ce],void 0,b)}else if(k.onClick)r(_,"onClick",null,k.onClick,void 0,b);else if(M&4&&Pn(k.style))for(const Y in k.style)k.style[Y]}let ee;(ee=k&&k.onVnodeBeforeMount)&&$t(ee,b,D),G&&Fn(D,null,b,"beforeMount"),((ee=k&&k.onVnodeMounted)||G||W)&&Ig(()=>{ee&&$t(ee,b,D),W&&U.enter(_),G&&Fn(D,null,b,"mounted")},A)}return _.nextSibling},h=(_,D,b,A,E,O,S)=>{S=S||!!D.dynamicChildren;const k=D.children,M=k.length;for(let L=0;L<M;L++){const G=S?k[L]:k[L]=Bt(k[L]),U=G.type===Dr;_?(U&&!S&&L+1<M&&Bt(k[L+1]).type===Dr&&(l(o(_.data.slice(G.children.length)),b,s(_)),_.data=G.children),_=f(_,G,A,E,O,S)):U&&!G.children?l(G.el=o(""),b):(hi(b,1)||go(),n(null,G,b,null,A,E,di(b),O))}return _},p=(_,D,b,A,E,O)=>{const{slotScopeIds:S}=D;S&&(E=E?E.concat(S):S);const k=i(_),M=h(s(_),D,k,b,A,E,O);return M&&Eo(M)&&M.data==="]"?s(D.anchor=M):(go(),l(D.anchor=c("]"),k,M),M)},g=(_,D,b,A,E,O)=>{if(hi(_.parentElement,1)||go(),D.el=null,O){const M=v(_);for(;;){const L=s(_);if(L&&L!==M)a(L);else break}}const S=s(_),k=i(_);return a(_),n(null,D,k,S,b,A,di(k),E),b&&(b.vnode.el=D.el,za(b,D.el)),S},v=(_,D="[",b="]")=>{let A=0;for(;_;)if(_=s(_),_&&Eo(_)&&(_.data===D&&A++,_.data===b)){if(A===0)return s(_);A--}return _},m=(_,D,b)=>{const A=D.parentNode;A&&A.replaceChild(_,D);let E=b;for(;E;)E.vnode.el===D&&(E.vnode.el=E.subTree.el=_),E=E.parent},y=_=>_.nodeType===1&&_.tagName==="TEMPLATE";return[u,f]}const cd="data-allow-mismatch",ob={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function hi(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(cd);)e=e.parentElement;const n=e&&e.getAttribute(cd);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:r.includes(ob[t])}}$a().requestIdleCallback;$a().cancelIdleCallback;function sb(e,t){if(Eo(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(Eo(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const Jn=e=>!!e.type.__asyncLoader;function fd(e){me(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,hydrate:s,timeout:i,suspensible:a=!0,onError:l}=e;let c=null,u,f=0;const d=()=>(f++,c=null,h()),h=()=>{let p;return c||(p=c=t().catch(g=>{if(g=g instanceof Error?g:new Error(String(g)),l)return new Promise((v,m)=>{l(g,()=>v(d()),()=>m(g),f+1)});throw g}).then(g=>p!==c&&c?c:(g&&(g.__esModule||g[Symbol.toStringTag]==="Module")&&(g=g.default),u=g,g)))};return ge({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(p,g,v){let m=!1;(g.bu||(g.bu=[])).push(()=>m=!0);const y=()=>{m||v()},_=s?()=>{const D=s(y,b=>sb(p,b));D&&(g.bum||(g.bum=[])).push(D)}:y;u?_():h().then(()=>!g.isUnmounted&&_())},get __asyncResolved(){return u},setup(){const p=yt;if(Kc(p),u)return()=>pi(u,p);const g=_=>{c=null,Jo(_,p,13,!r)};if(a&&p.suspense||ro)return h().then(_=>()=>pi(_,p)).catch(_=>(g(_),()=>r?he(r,{error:_}):null));const v=Q(!1),m=Q(),y=Q(!!o);return o&&setTimeout(()=>{y.value=!1},o),i!=null&&setTimeout(()=>{if(!v.value&&!m.value){const _=new Error(`Async component timed out after ${i}ms.`);g(_),m.value=_}},i),h().then(()=>{v.value=!0,p.parent&&ei(p.parent.vnode)&&p.parent.update()}).catch(_=>{g(_),m.value=_}),()=>{if(v.value&&u)return pi(u,p);if(m.value&&r)return he(r,{error:m.value});if(n&&!y.value)return pi(n,p)}}})}function pi(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,i=he(e,r,o);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const ei=e=>e.type.__isKeepAlive,ib={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array
vendor: 8,372 bytes, line 4
4],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=_t(),r=n.ctx;if(!r.renderer)return()=>{const y=t.default&&t.default();return y&&y.length===1?y[0]:y};const o=new Map,s=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,_,D,b,A)=>{const E=y.component;c(y,_,D,0,a),l(E.vnode,y,_,D,E,a,b,y.slotScopeIds,A),rt(()=>{E.isDeactivated=!1,E.a&&To(E.a);const O=y.props&&y.props.onVnodeMounted;O&&$t(O,E.parent,y)},a)},r.deactivate=y=>{const _=y.component;Zi(_.m),Zi(_.a),c(y,d,null,1,a),rt(()=>{_.da&&To(_.da);const D=y.props&&y.props.onVnodeUnmounted;D&&$t(D,_.parent,y),_.isDeactivated=!0},a)};function h(y){Rl(y),u(y,n,a,!0)}function p(y){o.forEach((_,D)=>{const b=ku(Jn(_)?_.type.__asyncResolved||{}:_.type);b&&!y(b)&&g(D)})}function g(y){const _=o.get(y);_&&(!i||!sn(_,i))?h(_):i&&Rl(i),o.delete(y),s.delete(y)}De(()=>[e.include,e.exclude],([y,_])=>{y&&p(D=>gs(y,D)),_&&p(D=>!gs(_,D))},{flush:"post",deep:!0});let v=null;const m=()=>{v!=null&&(ea(n.subTree.type)?rt(()=>{o.set(v,mi(n.subTree))},n.subTree.suspense):o.set(v,mi(n.subTree)))};return Qt(m),hg(m),lo(()=>{o.forEach(y=>{const{subTree:_,suspense:D}=n,b=mi(_);if(y.type===b.type&&y.key===b.key){Rl(b);const A=b.component.da;A&&rt(A,D);return}h(y)})}),()=>{if(v=null,!t.default)return i=null;const y=t.default(),_=y[0];if(y.length>1)return i=null,y;if(!Fr(_)||!(_.shapeFlag&4)&&!(_.shapeFlag&128))return i=null,_;let D=mi(_);if(D.type===ft)return i=null,D;const b=D.type,A=ku(Jn(D)?D.type.__asyncResolved||{}:b),{include:E,exclude:O,max:S}=e;if(E&&(!A||!gs(E,A))||O&&A&&gs(O,A))return D.shapeFlag&=-257,i=D,_;const k=D.key==null?b:D.key,M=o.get(k);return D.el&&(D=Ut(D),_.shapeFlag&128&&(_.ssContent=D)),v=k,M?(D.el=M.el,D.component=M.component,D.transition&&jo(D,D.transition),D.shapeFlag|=512,s.delete(k),s.add(k)):(s.add(k),S&&s.size>parseInt(S,10)&&g(s.values().next().value)),D.shapeFlag|=256,i=D,ea(_.type)?_:D}}},ab=ib;function gs(e,t){return ue(e)?e.some(n=>gs(n,t)):Ge(e)?e.split(",").includes(t):e0(e)?(e.lastIndex=0,e.test(t)):!1}function ti(e,t){cg(e,"a",t)}function Qo(e,t){cg(e,"da",t)}function cg(e,t,n=yt){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Wa(t,r,n),n){let o=n.parent;for(;o&&o.parent;)ei(o.parent.vnode)&&lb(r,t,n,o),o=o.parent}}function lb(e,t,n,r){const o=Wa(t,e,r,!0);Zo(()=>{Mc(r[t],o)},n)}function Rl(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function mi(e){return e.shapeFlag&128?e.ssContent:e}function Wa(e,t,n=yt,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{Zn();const a=es(n),l=gn(t,n,e,i);return a(),er(),l});return r?o.unshift(s):o.push(s),s}}const sr=e=>(t,n=yt)=>{(!ro||e==="sp")&&Wa(e,(...r)=>t(...r),n)},fg=sr("bm"),Qt=sr("m"),dg=sr("bu"),hg=sr("u"),lo=sr("bum"),Zo=sr("um"),ub=sr("sp"),cb=sr("rtg"),fb=sr("rtc");function pg(e,t=yt){Wa("ec",e,t)}const Gc="components",db="directives";function Wt(e,t){return Yc(Gc,e,!0,t)||e}const mg=Symbol.for("v-ndc");function ni(e){return Ge(e)?Yc(Gc,e,!1)||e:e||mg}function jM(e){return Yc(db,e)}function Yc(e,t,n=!0,r=!1){const o=Dt||yt;if(o){const s=o.type;if(e===Gc){const a=ku(s,!1);if(a&&(a===t||a===At(t)||a===Oa(At(t))))return s}const i=dd(o[e]||s[e],t)||dd(o.appContext[e],t);return!i&&r?s:i}}function dd(e,t){return e&&(e[t]||e[At(t)]||e[Oa(At(t))])}function gg(e,t,n,r){let o;const s=n,i=ue(e);if(i||Ge(e)){const a=i&&Pn(e);let l=!1,c=!1;a&&(l=!Ht(e),c=xn(e),e=Ia(e)),o=new Array(e.length);for(let u=0,f=e.length;u<f;u++)o[u]=t(l?c?Mo(mn(e[u])):mn(e[u]):e[u],u,void 0,s)}else if(typeof e=="number"){o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,s)}else if(xe(e))if(e[Symbol.iterator])o=Array.from(e,(a,l)=>t(a,l,void 0,s));else{const a=Object.keys(e);o=new Array(a.length);for(let l=0,c=a.length;l<c;l++){const u=a[l];o[l]=t(e[u],u,l,s)}}else o=[];return o}function HM(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(ue(r))for(let o=0;o<r.length;o++)e[r[o].name]=r[o].fn;else r&&(e[r.name]=r.key?(...o)=>{const s=r.fn(...o);return s&&(s.key=r.key),s}:r.fn)}return e}function Ye(e,t,n={},r,o){if(Dt.ce||Dt.parent&&Jn(Dt.parent)&&Dt.parent.ce){const c=Object.keys(n).length>0;return t!=="default"&&(n.name=t),z(),be(Ce,null,[he("slot",n,r&&r())],c?-2:64)}let s=e[t];s&&s._c&&(s._d=!1),z();const i=s&&_g(s(n)),a=n.key||i&&i.key,l=be(Ce,{key:(a&&!pn(a)?a:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function _g(e){return e.some(t=>Fr(t)?!(t.type===ft||t.type===Ce&&!_g(t.children)):!0)?e:null}const Eu=e=>e?Hg(e)?qa(e):Eu(e.parent):null,Es=tt(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=>Eu(e.parent),$root:e=>Eu(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Xc(e),$forceUpdate:e=>e.f||(e.f=()=>{qc(e.update)}),$nextTick:e=>e.n||(e.n=ot.bind(e.proxy)),$watch:e=>X0.bind(e)}),Pl=(e,t)=>e!==Le&&!e.__isScriptSetup&&Me(e,t),hb={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:s,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 o[t];case 4:return n[t];case 3:return s[t]}else{if(Pl(r,t))return i[t]=1,r[t];if(o!==Le&&Me(o,t))return i[t]=2,o[t];if(Me(s,t))return i[t]=3,s[t];if(n!==Le&&Me(n,t))return i[t]=4,n[t];Cu&&(i[t]=0)}}const c=Es[t];let u,f;if(c)return t==="$attrs"&&Ft(e.attrs,"get",""),c(e);if((u=a.__cssModules)&&(u=u[t]))return u;if(n!==Le&&Me(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,Me(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Pl(o,t)?(o[t]=n,!0):r!==Le&&Me(r,t)?(r[t]=n,!0):Me(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,props:s,type:i}},a){let l;return!!(n[a]||e!==Le&&a[0]!=="$"&&Me(e,a)||Pl(t,a)||Me(s,a)||Me(r,a)||Me(Es,a)||Me(o.config.globalProperties,a)||(l=i.__cssModules)&&l[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Me(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ji(e){return ue(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function UM(e,t){return!e||!t?e||t:ue(e)&&ue(t)?e.concat(t):tt({},Ji(e),Ji(t))}function pb(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function WM(e){const t=_t(),n=ro;let r=e();ra(),n&&Lo(!1);const o=()=>{es(t),n&&Lo(!0)},s=()=>{_t()!==t&&t.scope.off(),ra(),n&&Lo(!1)};return Bc(r)&&(r=r.catch(i=>{throw o(),Promise.resolve().then(()=>Promise.resolve().then(s)),i})),[r,()=>{o(),Promise.resolve().then(s)}]}let Cu=!0;function mb(e){const t=Xc(e),n=e.proxy,r=e.ctx;Cu=!1,t.beforeCreate&&hd(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:p,activated:g,deactivated:v,beforeDestroy:m,beforeUnmount:y,destroyed:_,unmounted:D,render:b,renderTracked:A,renderTriggered:E,errorCaptured:O,serverPrefetch:S,expose:k,inheritAttrs:M,components:L,directives:G,filters:U}=t;if(c&&gb(c,r,null),i)for(const ee in i){const Y=i[ee];me(Y)&&(r[ee]=Y.bind(n))}if(o){const ee=o.call(n,n);xe(ee)&&(e.data=it(ee))}if(Cu=!0,s)for(const ee in s){const Y=s[ee],ce=me(Y)?Y.bind(n,n):me(Y.get)?Y.get.bind(n,n):un,Qe=!me(Y)&&me(Y.set)?Y.set.bind(n):un,Oe=K({get:ce,set:Qe});Object.defineProperty(r,ee,{enumerable:!0,configurable:!0,get:()=>Oe.value,set:Ke=>Oe.value=Ke})}if(a)for(const ee in a)vg(a[ee],r,n,ee);if(l){const ee=me(l)?l.call(n):l;Reflect.ownKeys(ee).forEach(Y=>{Xn(Y,ee[Y])})}u&&hd(u,e,"c");function W(ee,Y){ue(Y)?Y.forEach(ce=>ee(ce.bind(n))):Y&&ee(Y.bind(n))}if(W(fg,f),W(Qt,d),W(dg,h),W(hg,p),W(ti,g),W(Qo,v),W(pg,O),W(fb,A),W(cb,E),W(lo,y),W(Zo,D),W(ub,S),ue(k))if(k.length){const ee=e.exposed||(e.exposed={});k.forEach(Y=>{Object.defineProperty(ee,Y,{get:()=>n[Y],set:ce=>n[Y]=ce,enumerable:!0})})}else e.exposed||(e.exposed={});b&&e.render===un&&(e.render=b),M!=null&&(e.inheritAttrs=M),L&&(e.components=L),G&&(e.directives=G),S&&Kc(e)}function gb(e,t,n=un){ue(e)&&(e=Fu(e));for(const r in e){const o=e[r];let s;xe(o)?"default"in o?s=et(o.from||r,o.default,!0):s=et(o.from||r):s=et(o),Pe(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}
vendor: 4,346 bytes, line 4
4function hd(e,t,n){gn(ue(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function vg(e,t,n,r){let o=r.includes(".")?tg(n,r):()=>n[r];if(Ge(e)){const s=t[e];me(s)&&De(o,s)}else if(me(e))De(o,e.bind(n));else if(xe(e))if(ue(e))e.forEach(s=>vg(s,t,n,r));else{const s=me(e.handler)?e.handler.bind(n):t[e.handler];me(s)&&De(o,s,e)}}function Xc(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let l;return a?l=a:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(c=>Qi(l,c,i,!0)),Qi(l,t,i)),xe(t)&&s.set(t,l),l}function Qi(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&Qi(e,s,n,!0),o&&o.forEach(i=>Qi(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=_b[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const _b={data:pd,props:md,emits:md,methods:_s,computed:_s,beforeCreate:Tt,created:Tt,beforeMount:Tt,mounted:Tt,beforeUpdate:Tt,updated:Tt,beforeDestroy:Tt,beforeUnmount:Tt,destroyed:Tt,unmounted:Tt,activated:Tt,deactivated:Tt,errorCaptured:Tt,serverPrefetch:Tt,components:_s,directives:_s,watch:yb,provide:pd,inject:vb};function pd(e,t){return t?e?function(){return tt(me(e)?e.call(this,this):e,me(t)?t.call(this,this):t)}:t:e}function vb(e,t){return _s(Fu(e),Fu(t))}function Fu(e){if(ue(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Tt(e,t){return e?[...new Set([].concat(e,t))]:t}function _s(e,t){return e?tt(Object.create(null),e,t):t}function md(e,t){return e?ue(e)&&ue(t)?[...new Set([...e,...t])]:tt(Object.create(null),Ji(e),Ji(t??{})):t}function yb(e,t){if(!e)return t;if(!t)return e;const n=tt(Object.create(null),e);for(const r in t)n[r]=Tt(e[r],t[r]);return n}function yg(){return{app:null,config:{isNativeTag:Em,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 Db=0;function bb(e,t){return function(r,o=null){me(r)||(r=tt({},r)),o!=null&&!xe(o)&&(o=null);const s=yg(),i=new WeakSet,a=[];let l=!1;const c=s.app={_uid:Db++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:Zb,get config(){return s.config},set config(u){},use(u,...f){return i.has(u)||(u&&me(u.install)?(i.add(u),u.install(c,...f)):me(u)&&(i.add(u),u(c,...f))),c},mixin(u){return s.mixins.includes(u)||s.mixins.push(u),c},component(u,f){return f?(s.components[u]=f,c):s.components[u]},directive(u,f){return f?(s.directives[u]=f,c):s.directives[u]},mount(u,f,d){if(!l){const h=c._ceVNode||he(r,o);return h.appContext=s,d===!0?d="svg":d===!1&&(d=void 0),f&&t?t(h,u):e(h,u,d),l=!0,c._container=u,u.__vue_app__=c,qa(h.component)}},onUnmount(u){a.push(u)},unmount(){l&&(gn(a,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,f){return s.provides[u]=f,c},runWithContext(u){const f=Zr;Zr=c;try{return u()}finally{Zr=f}}};return c}}let Zr=null;function VM(e,t,n=Le){const r=_t(),o=At(t),s=rr(t),i=Dg(e,o),a=zc((l,c)=>{let u,f=Le,d;return Y0(()=>{const h=e[o];Ct(u,h)&&(u=h,c())}),{get(){return l(),n.get?n.get(u):u},set(h){const p=n.set?n.set(h):h;if(!Ct(p,u)&&!(f!==Le&&Ct(h,f)))return;const g=r.vnode.props;g&&(t in g||o in g||s in g)&&(`onUpdate:${t}`in g||`onUpdate:${o}`in g||`onUpdate:${s}`in g)||(u=h,c()),r.emit(`update:${t}`,p),Ct(h,p)&&Ct(h,f)&&!Ct(p,d)&&c(),f=h,d=p}}});return a[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?i||Le:a,done:!1}:{done:!0}}}},a}const Dg=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${At(t)}Modifiers`]||e[`${rr(t)}Modifiers`];function wb(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Le;let o=n;const s=t.startsWith("update:"),i=s&&Dg(r,t.slice(7));i&&(i.trim&&(o=n.map(u=>Ge(u)?u.trim():u)),i.number&&(o=n.map(La)));let a,l=r[a=Cl(t)]||r[a=Cl(At(t))];!l&&s&&(l=r[a=Cl(rr(t))]),l&&gn(l,e,6,o);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,gn(c,e,6,o)}}const Eb=new WeakMap;function bg(e,t,n=!1){const r=n?Eb:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},a=!1;if(!me(e)){const l=c=>{const u=bg(c,t,!0);u&&(a=!0,tt(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}
vendor: 16,635 bytes, line 4
4return!s&&!a?(xe(e)&&r.set(e,null),null):(ue(s)?s.forEach(l=>i[l]=null):tt(i,s),xe(e)&&r.set(e,i),i)}function Va(e,t){return!e||!Qs(t)?!1:(t=t.slice(2).replace(/Once$/,""),Me(e,t[0].toLowerCase()+t.slice(1))||Me(e,rr(t))||Me(e,t))}function Ol(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:i,attrs:a,emit:l,render:c,renderCache:u,props:f,data:d,setupState:h,ctx:p,inheritAttrs:g}=e,v=Yi(e);let m,y;try{if(n.shapeFlag&4){const D=o||r,b=D;m=Bt(c.call(b,D,u,f,h,d,p)),y=a}else{const D=t;m=Bt(D.length>1?D(f,{attrs:a,slots:i,emit:l}):D(f,null)),y=t.props?a:Fb(a)}}catch(D){Cs.length=0,Jo(D,e,1),m=he(ft)}let _=m;if(y&&g!==!1){const D=Object.keys(y),{shapeFlag:b}=_;D.length&&b&7&&(s&&D.some(Nc)&&(y=Ab(y,s)),_=Ut(_,y,!1,!0))}return n.dirs&&(_=Ut(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&jo(_,n.transition),m=_,Yi(v),m}function Cb(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(Fr(o)){if(o.type!==ft||o.children==="v-if"){if(n)return;n=o}}else return}return n}const Fb=e=>{let t;for(const n in e)(n==="class"||n==="style"||Qs(n))&&((t||(t={}))[n]=e[n]);return t},Ab=(e,t)=>{const n={};for(const r in e)(!Nc(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Sb(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:a,patchFlag:l}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?gd(r,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(wg(i,r,d)&&!Va(c,d))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?gd(r,i,c):!0:!!i;return!1}function gd(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(wg(t,e,s)&&!Va(n,s))return!0}return!1}function wg(e,t,n){const r=e[n],o=t[n];return n==="style"&&xe(r)&&xe(o)?!Cr(r,o):r!==o}function za({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const Eg={},Cg=()=>Object.create(Eg),Fg=e=>Object.getPrototypeOf(e)===Eg;function Tb(e,t,n,r=!1){const o={},s=Cg();e.propsDefaults=Object.create(null),Ag(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:on(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function kb(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=Ee(o),[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(Va(e.emitsOptions,d))continue;const h=t[d];if(l)if(Me(s,d))h!==s[d]&&(s[d]=h,c=!0);else{const p=At(d);o[p]=Au(l,a,p,h,e,!1)}else h!==s[d]&&(s[d]=h,c=!0)}}}else{Ag(e,t,o,s)&&(c=!0);let u;for(const f in a)(!t||!Me(t,f)&&((u=rr(f))===f||!Me(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=Au(l,a,f,void 0,e,!0)):delete o[f]);if(s!==a)for(const f in s)(!t||!Me(t,f))&&(delete s[f],c=!0)}c&&Vn(e.attrs,"set","")}function Ag(e,t,n,r){const[o,s]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Xr(l))continue;const c=t[l];let u;o&&Me(o,u=At(l))?!s||!s.includes(u)?n[u]=c:(a||(a={}))[u]=c:Va(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(s){const l=Ee(n),c=a||Le;for(let u=0;u<s.length;u++){const f=s[u];n[f]=Au(o,l,f,c[f],e,!Me(c,f))}}return i}function Au(e,t,n,r,o,s){const i=e[n];if(i!=null){const a=Me(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&me(l)){const{propsDefaults:c}=o;if(n in c)r=c[n];else{const u=es(o);r=c[n]=l.call(null,t),u()}}else r=l;o.ce&&o.ce._setProp(n,r)}i[0]&&(s&&!a?r=!1:i[1]&&(r===""||r===rr(n))&&(r=!0))}return r}const Rb=new WeakMap;function Sg(e,t,n=!1){const r=n?Rb:t.propsCache,o=r.get(e);if(o)return o;const s=e.props,i={},a=[];let l=!1;if(!me(e)){const u=f=>{l=!0;const[d,h]=Sg(f,t,!0);tt(i,d),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return xe(e)&&r.set(e,Ao),Ao;if(ue(s))for(let u=0;u<s.length;u++){const f=At(s[u]);_d(f)&&(i[f]=Le)}else if(s)for(const u in s){const f=At(u);if(_d(f)){const d=s[u],h=i[f]=ue(d)||me(d)?{type:d}:tt({},d),p=h.type;let g=!1,v=!0;if(ue(p))for(let m=0;m<p.length;++m){const y=p[m],_=me(y)&&y.name;if(_==="Boolean"){g=!0;break}else _==="String"&&(v=!1)}else g=me(p)&&p.name==="Boolean";h[0]=g,h[1]=v,(g||Me(h,"default"))&&a.push(f)}}const c=[i,a];return xe(e)&&r.set(e,c),c}function _d(e){return e[0]!=="$"&&!Xr(e)}const Jc=e=>e==="_"||e==="_ctx"||e==="$stable",Qc=e=>ue(e)?e.map(Bt):[Bt(e)],Pb=(e,t,n)=>{if(t._n)return t;const r=Fe((...o)=>Qc(t(...o)),n);return r._c=!1,r},Tg=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Jc(o))continue;const s=e[o];if(me(s))t[o]=Pb(o,s,r);else if(s!=null){const i=Qc(s);t[o]=()=>i}}},kg=(e,t)=>{const n=Qc(t);e.slots.default=()=>n},Rg=(e,t,n)=>{for(const r in t)(n||!Jc(r))&&(e[r]=t[r])},Ob=(e,t,n)=>{const r=e.slots=Cg();if(e.vnode.shapeFlag&32){const o=t._;o?(Rg(r,t,n),n&&Am(r,"_",o,!0)):Tg(t,r)}else t&&kg(e,t)},Lb=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=Le;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:Rg(o,t,n):(s=!t.$stable,Tg(t,o)),i=t}else t&&(kg(e,t),i={default:1});if(s)for(const a in o)!Jc(a)&&i[a]==null&&delete o[a]},rt=Ig;function $b(e){return Pg(e)}function xb(e){return Pg(e,rb)}function Pg(e,t){const n=$a();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=un,insertStaticContent:p}=e,g=(C,T,$,q=null,j=null,w=null,F=void 0,P=null,I=!!T.dynamicChildren)=>{if(C===T)return;C&&!sn(C,T)&&(q=H(C),Ke(C,j,w,!0),C=null),T.patchFlag===-2&&(I=!1,T.dynamicChildren=null);const{type:B,ref:X,shapeFlag:R}=T;switch(B){case Dr:v(C,T,$,q);break;case ft:m(C,T,$,q);break;case Oo:C==null&&y(T,$,q,F);break;case Ce:L(C,T,$,q,j,w,F,P,I);break;default:R&1?b(C,T,$,q,j,w,F,P,I):R&6?G(C,T,$,q,j,w,F,P,I):(R&64||R&128)&&B.process(C,T,$,q,j,w,F,P,I,le)}X!=null&&j?Ro(X,C&&C.ref,w,T||C,!T):X==null&&C&&C.ref!=null&&Ro(C.ref,null,w,C,!0)},v=(C,T,$,q)=>{if(C==null)r(T.el=a(T.children),$,q);else{const j=T.el=C.el;T.children!==C.children&&c(j,T.children)}},m=(C,T,$,q)=>{C==null?r(T.el=l(T.children||""),$,q):T.el=C.el},y=(C,T,$,q)=>{[C.el,C.anchor]=p(C.children,T,$,q,C.el,C.anchor)},_=({el:C,anchor:T},$,q)=>{let j;for(;C&&C!==T;)j=d(C),r(C,$,q),C=j;r(T,$,q)},D=({el:C,anchor:T})=>{let $;for(;C&&C!==T;)$=d(C),o(C),C=$;o(T)},b=(C,T,$,q,j,w,F,P,I)=>{if(T.type==="svg"?F="svg":T.type==="math"&&(F="mathml"),C==null)A(T,$,q,j,w,F,P,I);else{const B=C.el&&C.el._isVueCE?C.el:null;try{B&&B._beginPatch(),S(C,T,j,w,F,P,I)}finally{B&&B._endPatch()}}},A=(C,T,$,q,j,w,F,P)=>{let I,B;const{props:X,shapeFlag:R,transition:x,dirs:ne}=C;if(I=C.el=i(C.type,w,X&&X.is,X),R&8?u(I,C.children):R&16&&O(C.children,I,null,q,j,Ll(C,w),F,P),ne&&Fn(C,null,q,"created"),E(I,C,C.scopeId,F,q),X){for(const Ae in X)Ae!=="value"&&!Xr(Ae)&&s(I,Ae,null,X[Ae],w,q);"value"in X&&s(I,"value",null,X.value,w),(B=X.onVnodeBeforeMount)&&$t(B,q,C)}ne&&Fn(C,null,q,"beforeMount");const de=Og(j,x);de&&x.beforeEnter(I),r(I,T,$),((B=X&&X.onVnodeMounted)||de||ne)&&rt(()=>{B&&$t(B,q,C),de&&x.enter(I),ne&&Fn(C,null,q,"mounted")},j)},E=(C,T,$,q,j)=>{if($&&h(C,$),q)for(let w=0;w<q.length;w++)h(C,q[w]);if(j){let w=j.subTree;if(T===w||ea(w.type)&&(w.ssContent===T||w.ssFallback===T)){const F=j.vnode;E(C,F,F.scopeId,F.slotScopeIds,j.parent)}}},O=(C,T,$,q,j,w,F,P,I=0)=>{for(let B=I;B<C.length;B++){const X=C[B]=P?Wn(C[B]):Bt(C[B]);g(null,X,T,$,q,j,w,F,P)}},S=(C,T,$,q,j,w,F)=>{const P=T.el=C.el;let{patchFlag:I,dynamicChildren:B,dirs:X}=T;I|=C.patchFlag&16;const R=C.props||Le,x=T.props||Le;let ne;if($&&$r($,!1),(ne=x.onVnodeBeforeUpdate)&&$t(ne,$,T,C),X&&Fn(T,C,$,"beforeUpdate"),$&&$r($,!0),(R.innerHTML&&x.innerHTML==null||R.textContent&&x.textContent==null)&&u(P,""),B?k(C.dynamicChildren,B,P,$,q,Ll(T,j),w):F||Y(C,T,P,null,$,q,Ll(T,j),w,!1),I>0){if(I&16)M(P,R,x,$,j);else if(I&2&&R.class!==x.class&&s(P,"class",null,x.class,j),I&4&&s(P,"style",R.style,x.style,j),I&8){const de=T.dynamicProps;for(let Ae=0;Ae<de.length;Ae++){const Se=de[Ae],nt=R[Se],mt=x[Se];(mt!==nt||Se==="value")&&s(P,Se,nt,mt,j,$)}}I&1&&C.children!==T.children&&u(P,T.children)}else!F&&B==null&&M(P,R,x,$,j);((ne=x.onVnodeUpdated)||X)&&rt(()=>{ne&&$t(ne,$,T,C),X&&Fn(T,C,$,"updated")},q)},k=(C,T,$,q,j,w,F)=>{for(let P=0;P<T.length;P++){const I=C[P],B=T[P],X=I.el&&(I.type===Ce||!sn(I,B)||I.shapeFlag&198)?f(I.el):$;g(I,B,X,null,q,j,w,F,!0)}},M=(C,T,$,q,j)=>{if(T!==$){if(T!==Le)for(const w in T)!Xr(w)&&!(w in $)&&s(C,w,T[w],null,j,q);for(const w in $){if(Xr(w))continue;const F=$[w],P=T[w];F!==P&&w!=="value"&&s(C,w,P,F,j,q)}"value"in $&&s(C,"value",T.value,$.value,j)}},L=(C,T,$,q,j,w,F,P,I)=>{const B=T.el=C?C.el:a(""),X=T.anchor=C?C.anchor:a("");let{patchFlag:R,dynamicChildren:x,slotScopeIds:ne}=T;ne&&(P=P?P.concat(ne):ne),C==null?(r(B,$,q),r(X,$,q),O(T.children||[],$,X,j,w,F,P,I)):R>0&&R&64&&x&&C.dynamicChildren&&C.dynamicChildren.length===x.length?(k(C.dynamicChildren,x,$,j,w,F,P),(T.key!=null||j&&T===j.subTree)&&Zc(C,T,!0)):Y(C,T,$,X,j,w,F,P,I)},G=(C,T,$,q,j,w,F,P,I)=>{T.slotScopeIds=P,C==null?T.shapeFlag&512?j.ctx.activate(T,$,q,F,I):U(T,$,q,j,w,F,I):Z(C,T,I)},U=(C,T,$,q,j,w,F)=>{const P=C.component=Kb(C,q,j);if(ei(C)&&(P.ctx.renderer=le),Gb(P,!1,F),P.asyncDep){if(j&&j.registerDep(P,W,F),!C.el){const I=P.subTree=he(ft);m(null,I,T,$),C.placeholder=I.el}}else W(P,C,T,$,j,w,F)},Z=(C,T,$)=>{const q=T.component=C.component;if(Sb(C,T,$))if(q.asyncDep&&!q.asyncResolved){ee(q,T,$);return}else q.next=T,q.update();else T.el=C.el,q.vnode=T},W=(C,T,$,q,j,w,F)=>{const P=()=>{if(C.isMounted){let{next:R,bu:x,u:ne,parent:de,vnode:Ae}=C;{const Nt=Lg(C);if(Nt){R&&(R.el=Ae.el,ee(C,R,F)),Nt.asyncDep.then(()=>{rt(()=>{C.isUnmounted||B()},j)});return}}let Se=R,nt;$r(C,!1),R?(R.el=Ae.el,ee(C,R,F)):R=Ae,x&&To(x),(nt=R.props&&R.props.onVnodeBeforeUpdate)&&$t(nt,de,R,Ae),$r(C,!0);const mt=Ol(C),zt=C.subTree;C.subTree=mt,g(zt,mt,f(zt.el),H(zt),C,j,w),R.el=mt.el,Se===null&&za(C,mt.el),ne&&rt(ne,j),(nt=R.props&&R.props.onVnodeUpdated)&&rt(()=>$t(nt,de,R,Ae),j)}else{let R;const{el:x,props:ne}=T,{bm:de,m:Ae,parent:Se,root:nt,type:mt}=C,zt=Jn(T);if($r(C,!1),de&&To(de),!zt&&(R=ne&&ne.onVnodeBeforeMount)&&$t(R,Se,T),$r(C,!0),x&&je){const Nt=()=>{C.subTree=Ol(C),je(x,C.subTree,C,j,null)};zt&&mt.__asyncHydrate?mt.__asyncHydrate(x,C,Nt):Nt()}else{nt.ce&&nt.ce._hasShadowRoot()&&nt.ce._injectChildStyle(mt,C.parent?C.parent.type:void 0);const Nt=C.subTree=Ol(C);g(null,Nt,$,q,C,j,w),T.el=Nt.el}if(Ae&&rt(Ae,j),!zt&&(R=ne&&ne.onVnodeMounted)){const Nt=T;rt(()=>$t(R,Se,Nt),j)}(T.shapeFlag&256||Se&&Jn(Se.vnode)&&Se.vnode.shapeFlag&256)&&C.a&&rt(C.a,j),C.isMounted=!0,T=$=q=null}};C.scope.on();const I=C.effect=new Lm(P);C.scope.off();const B=C.update=I.run.bind(I),X=C.job=I.runIfDirty.bind(I);X.i=C,X.id=C.uid,I.scheduler=()=>qc(X),$r(C,!0),B()},ee=(C,T,$)=>{T.component=C;const q=C.vnode.props;C.vnode=T,C.next=null,kb(C,T.props,q,$),Lb(C,T.children,$),Zn(),nd(C),er()},Y=(C,T,$,q,j,w,F,P,I=!1)=>{const B=C&&C.children,X=C?C.shapeFlag:0,R=T.children,{patchFlag:x,shapeFlag:ne}=T;if(x>0){if(x&128){Qe(B,R,$,q,j,w,F,P,I);return}else if(x&256){ce(B,R,$,q,j,w,F,P,I);return}}ne&8?(X&16&&lt(B,j,w),R!==B&&u($,R)):X&16?ne&16?Qe(B,R,$,q,j,w,F,P,I):lt(B,j,w,!0):(X&8&&u($,""),ne&16&&O(R,$,q,j,w,F,P,I))},ce=(C,T,$,q,j,w,F,P,I)=>{C=C||Ao,T=T||Ao;const B=C.length,X=T.length,R=Math.min(B,X);let x;for(x=0;x<R;x++){const ne=T[x]=I?Wn(T[x]):Bt(T[x]);g(C[x],ne,$,null,j,w,F,P,I)}B>X?lt(C,j,w,!0,!1,R):O(T,$,q,j,w,F,P,I,R)},Qe=(C,T,$,q,j,w,F,P,I)=>{let B=0;const X=T.length;let R=C.length-1,x=X-1;for(;B<=R&&B<=x;){const ne=C[B],de=T[B]=I?Wn(T[B]):Bt(T[B]);if(sn(ne,de))g(ne,de,$,null,j,w,F,P,I);else break;B++}for(;B<=R&&B<=x;){const ne=C[R],de=T[x]=I?Wn(T[x]):Bt(T[x]);if(sn(ne,de))g(ne,de,$,null,j,w,F,P,I);else break;R--,x--}if(B>R){if(B<=x){const ne=x+1,de=ne<X?T[ne].el:q;for(;B<=x;)g(null,T[B]=I?Wn(T[B]):Bt(T[B]),$,de,j,w,F,P,I),B++}}else if(B>x)for(;B<=R;)Ke(C[B],j,w,!0),B++;else{const ne=B,de=B,Ae=new Map;for(B=de;B<=x;B++){const Mt=T[B]=I?Wn(T[B]):Bt(T[B]);Mt.key!=null&&Ae.set(Mt.key,B)}let Se,nt=0;const mt=x-de+1;let zt=!1,Nt=0;const is=new Array(mt);for(B=0;B<mt;B++)is[B]=0;for(B=ne;B<=R;B++){const Mt=C[B];if(nt>=mt){Ke(Mt,j,w,!0);continue}let bn;if(Mt.key!=null)bn=Ae.get(Mt.key);else for(Se=de;Se<=x;Se++)if(is[Se-de]===0&&sn(Mt,T[Se])){bn=Se;break}bn===void 0?Ke(Mt,j,w,!0):(is[bn-de]=B+1,bn>=Nt?Nt=bn:zt=!0,g(Mt,T[bn],$,null,j,w,F,P,I),nt++)}const Yf=zt?Ib(is):Ao;for(Se=Yf.length-1,B=mt-1;B>=0;B--){const Mt=de+B,bn=T[Mt],Xf=T[Mt+1],Jf=Mt+1<X?Xf.el||$g(Xf):q;is[B]===0?g(null,bn,$,Jf,j,w,F,P,I):zt&&(Se<0||B!==Yf[Se]?Oe(bn,$,Jf,2):Se--)}}},Oe=(C,T,$,q,j=null)=>{const{el:w,type:F,transition:P,children:I,shapeFlag:B}=C;if(B&6){Oe(C.component.subTree,T,$,q);return}if(B&128){C.suspense.move(T,$,q);return}if(B&64){F.move(C,T,$,le);return}if(F===Ce){r(w,T,$);for(let R=0;R<I.length;R++)Oe(I[R],T,$,q);r(C.anchor,T,$);return}if(F===Oo){_(C,T,$);return}if(q!==2&&B&1&&P)if(q===0)P.beforeEnter(w),r(w,T,$),rt(()=>P.enter(w),j);else{const{leave:R,delayLeave:x,afterLeave:ne}=P,de=()=>{C.ctx.isUnmounted?o(w):r(w,T,$)},Ae=()=>{w._isLeaving&&w[An](!0),R(w,()=>{de(),ne&&ne()})};x?x(w,de,Ae):Ae()}else r(w,T,$)},Ke=(C,T,$,q=!1,j=!1)=>{const{type:w,props:F,ref:P,children:I,dynamicChildren:B,shapeFlag:X,patchFlag:R,dirs:x,cacheIndex:ne}=C;if(R===-2&&(j=!1),P!=null&&(Zn(),Ro(P,null,$,C,!0),er()),ne!=null&&(T.renderCache[ne]=void 0),X&256){T.ctx.deactivate(C);return}const de=X&1&&x,Ae=!Jn(C);let Se;if(Ae&&(Se=F&&F.onVnodeBeforeUnmount)&&$t(Se,T,C),X&6)St(C.component,$,q);else{if(X&128){C.suspense.unmount($,q);return}de&&Fn(C,null,T,"beforeUnmount"),X&64?C.type.remove(C,T,$,le,q):B&&!B.hasOnce&&(w!==Ce||R>0&&R&64)?lt(B,T,$,!1,!0):(w===Ce&&R&384||!j&&X&16)&&lt(I,T,$),q&&at(C)}(Ae&&(Se=F&&F.onVnodeUnmounted)||de)&&rt(()=>{Se&&$t(Se,T,C),de&&Fn(C,null,T,"unmounted")},$)},at=C=>{const{type:T,el:$,anchor:q,transition:j}=C;if(T===Ce){vt($,q);return}if(T===Oo){D(C);return}const w=()=>{o($),j&&!j.persisted&&j.afterLeave&&j.afterLeave()};if(C.shapeFlag&1&&j&&!j.persisted){const{leave:F,delayLeave:P}=j,I=()=>F($,w);P?P(C.el,w,I):I()}else w()},vt=(C,T)=>{let $;for(;C!==T;)$=d(C),o(C),C=$;o(T)},St=(C,T,$)=>{const{bum:q,scope:j,job:w,subTree:F,um:P,m:I,a:B}=C;Zi(I),Zi(B),q&&To(q),j.stop(),w&&(w.flags|=8,Ke(F,C,T,$)),P&&rt(P,T),rt(()=>{C.isUnmounted=!0},T)},lt=(C,T,$,q=!1,j=!1,w=0)=>{for(let F=w;F<C.length;F++)Ke(C[F],T,$,q,j)},H=C=>{if(C.shapeFlag&6)return H(C.component.subTree);if(C.shapeFlag&128)return C.suspense.next();const T=d(C.anchor||C.el),$=T&&T[ng];return $?d($):T};let re=!1;const te=(C,T,$)=>{let q;C==null?T._vnode&&(Ke(T._vnode,null,null,!0),q=T._vnode.component):g(T._vnode||null,C,T,null,null,null,$),T._vnode=C,re||(re=!0,nd(q),Gi(),re=!1)},le={p:g,um:Ke,m:Oe,r:at,mt:U,mc:O,pc:Y,pbc:k,n:H,o:e};let ve,je;return t&&([ve,je]=t(le)),{render:te,hydrate:ve,createApp:bb(te,ve)}}function Ll({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 $r({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Og(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Zc(e,t,n=!1){const r=e.children,o=t.children;if(ue(r)&&ue(o))for(let s=0;s<r.length;s++){const i=r[s];let a=o[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[s]=Wn(o[s]),a.el=i.el),!n&&a.patchFlag!==-2&&Zc(i,a)),a.type===Dr&&(a.patchFlag===-1&&(a=o[s]=Wn(a)),a.el=i.el),a.type===ft&&!a.el&&(a.el=i.el)}}function Ib(e){const t=e.slice(),n=[0];let r,o,s,i,a;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(s=0,i=n.length-1;s<i;)a=s+i>>1,e[n[a]]<c?s=a+1:i=a;c<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}function Lg(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Lg(t)}function Zi(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function $g(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?$g(t.subTree):null}const ea=e=>e.__isSuspense;let Su=0;const Nb={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,s,i,a,l,c){if(e==null)Mb(t,n,r,o,s,i,a,l,c);else{if(s&&s.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Bb(e,t,n,r,o,i,a,l,c)}},hydrate:jb,normalize:Hb},ef=Nb;function Ns(e,t){const n=e.props&&e.props[t];me(n)&&n()}function Mb(e,t,n,r,o,s,i,a,l){const{p:c,o:{createElement:u}}=l,f=u("div"),d=e.suspense=xg(e,o,r,t,f,n,s,i,a,l);c(null,d.pendingBranch=e.ssContent,f,null,r,d,s,i),d.deps>
vendor: 21,970 bytes, line 4
40?(Ns(e,"onPending"),Ns(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,s,i),Po(d,e.ssFallback)):d.resolve(!1,!0)}function Bb(e,t,n,r,o,s,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,h=t.ssFallback,{activeBranch:p,pendingBranch:g,isInFallback:v,isHydrating:m}=f;if(g)f.pendingBranch=d,sn(g,d)?(l(g,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0?f.resolve():v&&(m||(l(p,h,n,r,o,null,s,i,a),Po(f,h)))):(f.pendingId=Su++,m?(f.isHydrating=!1,f.activeBranch=g):c(g,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),v?(l(null,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0?f.resolve():(l(p,h,n,r,o,null,s,i,a),Po(f,h))):p&&sn(p,d)?(l(p,d,n,r,o,f,s,i,a),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0&&f.resolve()));else if(p&&sn(p,d))l(p,d,n,r,o,f,s,i,a),Po(f,d);else if(Ns(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=Su++,l(null,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0)f.resolve();else{const{timeout:y,pendingId:_}=f;y>0?setTimeout(()=>{f.pendingId===_&&f.fallback(h)},y):y===0&&f.fallback(h)}}function xg(e,t,n,r,o,s,i,a,l,c,u=!1){const{p:f,m:d,um:h,n:p,o:{parentNode:g,remove:v}}=c;let m;const y=Ub(e);y&&t&&t.pendingBranch&&(m=t.pendingId,t.deps++);const _=e.props?Sm(e.props.timeout):void 0,D=s,b={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:o,deps:0,pendingId:Su++,timeout:typeof _=="number"?_:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(A=!1,E=!1){const{vnode:O,activeBranch:S,pendingBranch:k,pendingId:M,effects:L,parentComponent:G,container:U,isInFallback:Z}=b;let W=!1;b.isHydrating?b.isHydrating=!1:A||(W=S&&k.transition&&k.transition.mode==="out-in",W&&(S.transition.afterLeave=()=>{M===b.pendingId&&(d(k,U,s===D?p(S):s,0),Bo(L),Z&&O.ssFallback&&(O.ssFallback.el=null))}),S&&(g(S.el)===U&&(s=p(S)),h(S,G,b,!0),!W&&Z&&O.ssFallback&&rt(()=>O.ssFallback.el=null,b)),W||d(k,U,s,0)),Po(b,k),b.pendingBranch=null,b.isInFallback=!1;let ee=b.parent,Y=!1;for(;ee;){if(ee.pendingBranch){ee.effects.push(...L),Y=!0;break}ee=ee.parent}!Y&&!W&&Bo(L),b.effects=[],y&&t&&t.pendingBranch&&m===t.pendingId&&(t.deps--,t.deps===0&&!E&&t.resolve()),Ns(O,"onResolve")},fallback(A){if(!b.pendingBranch)return;const{vnode:E,activeBranch:O,parentComponent:S,container:k,namespace:M}=b;Ns(E,"onFallback");const L=p(O),G=()=>{b.isInFallback&&(f(null,A,k,L,S,null,M,a,l),Po(b,A))},U=A.transition&&A.transition.mode==="out-in";U&&(O.transition.afterLeave=G),b.isInFallback=!0,h(O,S,null,!0),U||G()},move(A,E,O){b.activeBranch&&d(b.activeBranch,A,E,O),b.container=A},next(){return b.activeBranch&&p(b.activeBranch)},registerDep(A,E,O){const S=!!b.pendingBranch;S&&b.deps++;const k=A.vnode.el;A.asyncDep.catch(M=>{Jo(M,A,0)}).then(M=>{if(A.isUnmounted||b.isUnmounted||b.pendingId!==A.suspenseId)return;A.asyncResolved=!0;const{vnode:L}=A;Tu(A,M,!1),k&&(L.el=k);const G=!k&&A.subTree.el;E(A,L,g(k||A.subTree.el),k?null:p(A.subTree),b,i,O),G&&(L.placeholder=null,v(G)),za(A,L.el),S&&--b.deps===0&&b.resolve()})},unmount(A,E){b.isUnmounted=!0,b.activeBranch&&h(b.activeBranch,n,A,E),b.pendingBranch&&h(b.pendingBranch,n,A,E)}};return b}function jb(e,t,n,r,o,s,i,a,l){const c=t.suspense=xg(t,r,n,e.parentNode,document.createElement("div"),null,o,s,i,a,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,s,i);return c.deps===0&&c.resolve(!1,!0),u}function Hb(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=vd(r?n.default:n),e.ssFallback=r?vd(n.fallback):he(ft)}function vd(e){let t;if(me(e)){const n=Ho&&e._c;n&&(e._d=!1,z()),e=e(),n&&(e._d=!0,t=xt,Ng())}return ue(e)&&(e=Cb(e)),e=Bt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Ig(e,t){t&&t.pendingBranch?ue(e)?t.effects.push(...e):t.effects.push(e):Bo(e)}function Po(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,za(r,o))}function Ub(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Ce=Symbol.for("v-fgt"),Dr=Symbol.for("v-txt"),ft=Symbol.for("v-cmt"),Oo=Symbol.for("v-stc"),Cs=[];let xt=null;function z(e=!1){Cs.push(xt=e?null:[])}function Ng(){Cs.pop(),xt=Cs[Cs.length-1]||null}let Ho=1;function ta(e,t=!1){Ho+=e,e<0&&xt&&t&&(xt.hasOnce=!0)}function Mg(e){return e.dynamicChildren=Ho>0?xt||Ao:null,Ng(),Ho>0&&xt&&xt.push(e),e}function oe(e,t,n,r,o,s){return Mg(J(e,t,n,r,o,s,!0))}function be(e,t,n,r,o){return Mg(he(e,t,n,r,o,!0))}function Fr(e){return e?e.__v_isVNode===!0:!1}function sn(e,t){return e.type===t.type&&e.key===t.key}const Bg=({key:e})=>e??null,Mi=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ge(e)||Pe(e)||me(e)?{i:Dt,r:e,k:t,f:!!n}:e:null);function J(e,t=null,n=null,r=0,o=null,s=e===Ce?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Bg(t),ref:t&&Mi(t),scopeId:Ha,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:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Dt};return a?(tf(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=Ge(n)?8:16),Ho>0&&!i&&xt&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&xt.push(l),l}const he=Wb;function Wb(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===mg)&&(e=ft),Fr(e)){const a=Ut(e,t,!0);return n&&tf(a,n),Ho>0&&!s&&xt&&(a.shapeFlag&6?xt[xt.indexOf(e)]=a:xt.push(a)),a.patchFlag=-2,a}if(Qb(e)&&(e=e.__vccOpts),t){t=jg(t);let{class:a,style:l}=t;a&&!Ge(a)&&(t.class=Je(a)),xe(l)&&(Ba(l)&&!ue(l)&&(l=tt({},l)),t.style=yr(l))}const i=Ge(e)?1:ea(e)?128:rg(e)?64:xe(e)?4:me(e)?2:0;return J(e,t,n,r,o,i,s,!0)}function jg(e){return e?Ba(e)||Fg(e)?tt({},e):e:null}function Ut(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:a,transition:l}=e,c=t?Ot(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Bg(c),ref:t&&t.ref?n&&s?ue(s)?s.concat(Mi(t)):[s,Mi(t)]:Mi(t):s,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!==Ce?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&&Ut(e.ssContent),ssFallback:e.ssFallback&&Ut(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&jo(u,l.clone(u)),u}function no(e=" ",t=0){return he(Dr,null,e,t)}function Vb(e,t){const n=he(Oo,null,e);return n.staticCount=t,n}function Ve(e="",t=!1){return t?(z(),be(ft,null,e)):he(ft,null,e)}function Bt(e){return e==null||typeof e=="boolean"?he(ft):ue(e)?he(Ce,null,e.slice()):Fr(e)?Wn(e):he(Dr,null,String(e))}function Wn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ut(e)}function tf(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ue(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),tf(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!Fg(t)?t._ctx=Dt:o===3&&Dt&&(Dt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else me(t)?(t={default:t,_ctx:Dt},n=32):(t=String(t),r&64?(n=16,t=[no(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ot(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=Je([t.class,r.class]));else if(o==="style")t.style=yr([t.style,r.style]);else if(Qs(o)){const s=t[o],i=r[o];i&&s!==i&&!(ue(s)&&s.includes(i))&&(t[o]=s?[].concat(s,i):i)}else o!==""&&(t[o]=r[o])}return t}function $t(e,t,n,r=null){gn(e,t,7,[n,r])}const zb=yg();let qb=0;function Kb(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||zb,s={uid:qb++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Om(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Sg(r,o),emitsOptions:bg(r,o),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 s.ctx={_:s},s.root=t?t.root:s,s.emit=wb.bind(null,s),e.ce&&e.ce(s),s}let yt=null;const _t=()=>yt||Dt;let na,Lo;{const e=$a(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(i=>i(s)):o[0](s)}};na=t("__VUE_INSTANCE_SETTERS__",n=>yt=n),Lo=t("__VUE_SSR_SETTERS__",n=>ro=n)}const es=e=>{const t=yt;return na(e),e.scope.on(),()=>{e.scope.off(),na(t)}},ra=()=>{yt&&yt.scope.off(),na(null)};function Hg(e){return e.vnode.shapeFlag&4}let ro=!1;function Gb(e,t=!1,n=!1){t&&Lo(t);const{props:r,children:o}=e.vnode,s=Hg(e);Tb(e,r,s,t),Ob(e,o,n||t);const i=s?Yb(e,t):void 0;return t&&Lo(!1),i}function Yb(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,hb);const{setup:r}=n;if(r){Zn();const o=e.setupContext=r.length>1?Jb(e):null,s=es(e),i=Zs(r,e,0,[e.props,o]),a=Bc(i);if(er(),s(),(a||e.sp)&&!Jn(e)&&Kc(e),a){if(i.then(ra,ra),t)return i.then(l=>{Tu(e,l,t)}).catch(l=>{Jo(l,e,0)});e.asyncDep=i}else Tu(e,i,t)}else Ug(e,t)}function Tu(e,t,n){me(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:xe(t)&&(e.setupState=Xm(t)),Ug(e,n)}let yd;function Ug(e,t,n){const r=e.type;if(!e.render){if(!t&&yd&&!r.render){const o=r.template||Xc(e).template;if(o){const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=tt(tt({isCustomElement:s,delimiters:a},i),l);r.render=yd(o,c)}}e.render=r.render||un}{const o=es(e);Zn();try{mb(e)}finally{er(),o()}}}const Xb={get(e,t){return Ft(e,"get",""),e[t]}};function Jb(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Xb),slots:e.slots,emit:e.emit,expose:t}}function qa(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Xm(Vc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Es)return Es[n](e)},has(t,n){return n in t||n in Es}})):e.proxy}function ku(e,t=!0){return me(e)?e.displayName||e.name:e.name||t&&e.__name}function Qb(e){return me(e)&&"__vccOpts"in e}const K=(e,t)=>M0(e,t,ro);function we(e,t,n){try{ta(-1);const r=arguments.length;return r===2?xe(t)&&!ue(t)?Fr(t)?he(e,null,[t]):he(e,t):he(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Fr(n)&&(n=[n]),he(e,t,n))}finally{ta(1)}}const Zb="3.5.30";let Ru;const Dd=typeof window<"u"&&window.trustedTypes;if(Dd)try{Ru=Dd.createPolicy("vue",{createHTML:e=>e})}catch{}const Wg=Ru?e=>Ru.createHTML(e):e=>e,ew="http://www.w3.org/2000/svg",tw="http://www.w3.org/1998/Math/MathML",Un=typeof document<"u"?document:null,bd=Un&&Un.createElement("template"),nw={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Un.createElementNS(ew,e):t==="mathml"?Un.createElementNS(tw,e):n?Un.createElement(e,{is:n}):Un.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Un.createTextNode(e),createComment:e=>Un.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Un.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{bd.innerHTML=Wg(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=bd.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]}},lr="transition",us="animation",Ms=Symbol("_vtc"),Vg={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},rw=tt({},sg,Vg),ow=e=>(e.displayName="Transition",e.props=rw,e),sw=ow((e,{slots:t})=>we(eb,iw(e),t)),xr=(e,t=[])=>{ue(e)?e.forEach(n=>n(...t)):e&&e(...t)},wd=e=>e?ue(e)?e.some(t=>t.length>1):e.length>1:!1;function iw(e){const t={};for(const L in e)L in Vg||(t[L]=e[L]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:c=i,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,p=aw(o),g=p&&p[0],v=p&&p[1],{onBeforeEnter:m,onEnter:y,onEnterCancelled:_,onLeave:D,onLeaveCancelled:b,onBeforeAppear:A=m,onAppear:E=y,onAppearCancelled:O=_}=t,S=(L,G,U,Z)=>{L._enterCancelled=Z,Ir(L,G?u:a),Ir(L,G?c:i),U&&U()},k=(L,G)=>{L._isLeaving=!1,Ir(L,f),Ir(L,h),Ir(L,d),G&&G()},M=L=>(G,U)=>{const Z=L?E:y,W=()=>S(G,L,U);xr(Z,[G,W]),Ed(()=>{Ir(G,L?l:s),Mn(G,L?u:a),wd(Z)||Cd(G,r,g,W)})};return tt(t,{onBeforeEnter(L){xr(m,[L]),Mn(L,s),Mn(L,i)},onBeforeAppear(L){xr(A,[L]),Mn(L,l),Mn(L,c)},onEnter:M(!1),onAppear:M(!0),onLeave(L,G){L._isLeaving=!0;const U=()=>k(L,G);Mn(L,f),L._enterCancelled?(Mn(L,d),Sd(L)):(Sd(L),Mn(L,d)),Ed(()=>{L._isLeaving&&(Ir(L,f),Mn(L,h),wd(D)||Cd(L,r,v,U))}),xr(D,[L,U])},onEnterCancelled(L){S(L,!1,void 0,!0),xr(_,[L])},onAppearCancelled(L){S(L,!0,void 0,!0),xr(O,[L])},onLeaveCancelled(L){k(L),xr(b,[L])}})}function aw(e){if(e==null)return null;if(xe(e))return[$l(e.enter),$l(e.leave)];{const t=$l(e);return[t,t]}}function $l(e){return Sm(e)}function Mn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ms]||(e[Ms]=new Set)).add(t)}function Ir(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Ms];n&&(n.delete(t),n.size||(e[Ms]=void 0))}function Ed(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let lw=0;function Cd(e,t,n,r){const o=e._endId=++lw,s=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=uw(e,t);if(!i)return r();const c=i+"end";let u=0;const f=()=>{e.removeEventListener(c,d),s()},d=h=>{h.target===e&&++u>=l&&f()};setTimeout(()=>{u<l&&f()},a+1),e.addEventListener(c,d)}function uw(e,t){const n=window.getComputedStyle(e),r=p=>(n[p]||"").split(", "),o=r(`${lr}Delay`),s=r(`${lr}Duration`),i=Fd(o,s),a=r(`${us}Delay`),l=r(`${us}Duration`),c=Fd(a,l);let u=null,f=0,d=0;t===lr?i>0&&(u=lr,f=i,d=s.length):t===us?c>0&&(u=us,f=c,d=l.length):(f=Math.max(i,c),u=f>0?i>c?lr:us:null,d=u?u===lr?s.length:l.length:0);const h=u===lr&&/\b(?:transform|all)(?:,|$)/.test(r(`${lr}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:h}}function Fd(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Ad(n)+Ad(e[r])))}function Ad(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Sd(e){return(e?e.ownerDocument:document).body.offsetHeight}function cw(e,t,n){const r=e[Ms];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const oa=Symbol("_vod"),zg=Symbol("_vsh"),fw={name:"show",beforeMount(e,{value:t},{transition:n}){e[oa]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):cs(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),cs(e,!0),r.enter(e)):r.leave(e,()=>{cs(e,!1)}):cs(e,t))},beforeUnmount(e,{value:t}){cs(e,t)}};function cs(e,t){e.style.display=t?e[oa]:"none",e[zg]=!t}const qg=Symbol("");function zM(e){const t=_t();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(s=>sa(s,o))},r=()=>{const o=e(t.proxy);t.ce?sa(t.ce,o):Pu(t.subTree,o),n(o)};dg(()=>{Bo(r)}),Qt(()=>{De(r,un,{flush:"post"});const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),Zo(()=>o.disconnect())})}function Pu(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Pu(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)sa(e.el,t);else if(e.type===Ce)e.children.forEach(n=>Pu(n,t));else if(e.type===Oo){let{el:n,anchor:r}=e;for(;n&&(sa(n,t),n!==r);)n=n.nextSibling}}function sa(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const o in t){const s=f0(t[o]);n.setProperty(`--${o}`,s),r+=`--${o}: ${s};`}n[qg]=r}}const dw=/(?:^|;)\s*display\s*:/;function hw(e,t,n){const r=e.style,o=Ge(n);let s=!1;if(n&&!o){if(t)if(Ge(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Bi(r,a,"")}else for(const i in t)n[i]==null&&Bi(r,i,"");for(const i in n)i==="display"&&(s=!0),Bi(r,i,n[i])}else if(o){if(t!==n){const i=r[qg];i&&(n+=";"+i),r.cssText=n,s=dw.test(n)}}else t&&e.removeAttribute("style");oa in e&&(e[oa]=s?r.display:"",e[zg]&&(r.display="none"))}const Td=/\s*!important$/;function Bi(e,t,n){if(ue(n))n.forEach(r=>Bi(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=pw(e,t);Td.test(n)?e.setProperty(rr(r),n.replace(Td,""),"important"):e[r]=n}}const kd=["Webkit","Moz","ms"],xl={};function pw(e,t){const n=xl[t];if(n)return n;let r=At(t);if(r!=="filter"&&r in e)return xl[t]=r;r=Oa(r);for(let o=0;o<kd.length;o++){const s=kd[o]+r;if(s in e)return xl[t]=s}return t}const Rd="http://www.w3.org/1999/xlink";function Pd(e,t,n,r,o,s=u0(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Rd,t.slice(6,t.length)):e.setAttributeNS(Rd,t,n):n==null||s&&!km(n)?e.removeAttribute(t):e.setAttribute(t,s?"":pn(n)?String(n):n)}function Od(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Wg(n):n);return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const a=s==="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=km(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(o||t)}function qn(e,t,n,r){e.addEventListener(t,n,r)}function mw(e,t,n,r){e.removeEventListener(t,n,r)}const Ld=Symbol("_vei");function gw(e,t,n,r,o=null){const s=e[Ld]||(e[Ld]={}),i=s[t];if(r&&i)i.value=r;else{const[a,l]=_w(t);if(r){const c=s[t]=Dw(r,o);qn(e,a,c,l)}else i&&(mw(e,a,i,l),s[t]=void 0)}}const $d=/(?:Once|Passive|Capture)$/;function _w(e){let t;if($d.test(e)){t={};let r;for(;r=e.match($d);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):rr(e.slice(2)),t]}let Il=0;const vw=Promise.resolve(),yw=()=>Il||(vw.then(()=>Il=0),Il=Date.now());function Dw(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;gn(bw(r,n.value),t,5,[r])};return n.value=e,n.attached=yw(),n}function bw(e,t){if(ue(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const xd=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ww=(e,t,n,r,o,s)=>{const i=o==="svg";t==="class"?cw(e,r,i):t==="style"?hw(e,n,r):Qs(t)?Nc(t)||gw(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ew(e,t,r,i))?(Od(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Pd(e,t,r,i,s,t!=="value")):e._isVueCE&&(Cw(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Ge(r)))?Od(e,At(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Pd(e,t,r,i))};function Ew(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&xd(t)&&me(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 o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return xd(t)&&Ge(n)?!1:t in e}function Cw(e,t){const n=e._def.props;if(!n)return!1;const r=At(t);return Array.isArray(n)?n.some(o=>At(o)===r):Object.keys(n).some(o=>At(o)===r)}const Ar=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ue(t)?n=>To(t,n):t};function Fw(e){e.target.composing=!0}function Id(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Xt=Symbol("_assign");function Nd(e,t,n){return t&&(e=e.trim()),n&&(e=La(e)),e}const qM={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[Xt]=Ar(o);const s=r||o.props&&o.props.type==="number";qn(e,t?"change":"input",i=>{i.target.composing||e[Xt](Nd(e.value,n,s))}),(n||s)&&qn(e,"change",()=>{e.value=Nd(e.value,n,s)}),t||(qn(e,"compositionstart",Fw),qn(e,"compositionend",Id),qn(e,"change",Id))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:s}},i){if(e[Xt]=Ar(i),e.composing)return;const a=(s||e.type==="number")&&!/^0\d/.test(e.value)?La(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||o&&e.value.trim()===l)||(e.value=l))}},KM={deep:!0,created(e,t,n){e[Xt]=Ar(n),qn(e,"change",()=>{const r=e._modelValue,o=Uo(e),s=e.checked,i=e[Xt];if(ue(r)){const a=jc(r,o),l=a!==-1;if(s&&!l)i(r.concat(o));else if(!s&&l){const c=[...r];c.splice(a,1),i(c)}}else if(Go(r)){const a=new Set(r);s?a.add(o):a.delete(o),i(a)}else i(Kg(e,s))})}
4,mounted:Md,beforeUpdate(e,t,n){e[Xt]=Ar(n),Md(e,t,n)}};function Md(e,{value:t,oldValue:n},r){e._modelValue=t;let o;if(ue(t))o=jc(t,r.props.value)>-1;else if(Go(t))o=t.has(r.props.value);else{if(t===n)return;o=Cr(t,Kg(e,!0))}e.checked!==o&&(e.checked=o)}const GM={created(e,{value:t},n){e.checked=Cr(t,n.props.value),e[Xt]=Ar(n),qn(e,"change",()=>{e[Xt](Uo(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Xt]=Ar(r),t!==n&&(e.checked=Cr(t,r.props.value))}},YM={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=Go(t);qn(e,"change",()=>{const s=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?La(Uo(i)):Uo(i));e[Xt](e.multiple?o?new Set(s):s:s[0]),e._assigning=!0,ot(()=>{e._assigning=!1})}),e[Xt]=Ar(r)},mounted(e,{value:t}){Bd(e,t)},beforeUpdate(e,t,n){e[Xt]=Ar(n)},updated(e,{value:t}){e._assigning||Bd(e,t)}};function Bd(e,t){const n=e.multiple,r=ue(t);if(!(n&&!r&&!Go(t))){for(let o=0,s=e.options.length;o<s;o++){const i=e.options[o],a=Uo(i);if(n)if(r){const l=typeof a;l==="string"||l==="number"?i.selected=t.some(c=>String(c)===String(a)):i.selected=jc(t,a)>-1}else i.selected=t.has(a);else if(Cr(Uo(i),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Uo(e){return"_value"in e?e._value:e.value}function Kg(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Aw=["ctrl","shift","alt","meta"],Sw={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)=>Aw.some(n=>e[`${n}Key`]&&!t.includes(n))},XM=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((o,...s)=>{for(let i=0;i<t.length;i++){const a=Sw[t[i]];if(a&&a(o,t))return}return e(o,...s)}))},Tw={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Gg=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=(o=>{if(!("key"in o))return;const s=rr(o.key);if(t.some(i=>i===s||Tw[i]===s))return e(o)}))},Yg=tt({patchProp:ww},nw);let Fs,jd=!1;function Xg(){return Fs||(Fs=$b(Yg))}function kw(){return Fs=jd?Fs:xb(Yg),jd=!0,Fs}const JM=((...e)=>{Xg().render(...e)}),Jg=((...e)=>{const t=Xg().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Zg(r);if(!o)return;const s=t._component;!me(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=n(o,!1,Qg(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t}),Rw=((...e)=>{const t=kw().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Zg(r);if(o)return n(o,!0,Qg(o))},t});function Qg(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Zg(e){return Ge(e)?document.querySelector(e):e}const Pw=/"(?:_|\\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*:/,Ow=/"(?: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*:/,Lw=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function $w(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){return}return t}function xw(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(!Lw.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Pw.test(e)||Ow.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,$w)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const Iw=/#/g,Nw=/&/g,Mw=/\//g,Bw=/=/g,nf=/\+/g,jw=/%5e/gi,Hw=/%60/gi,Uw=/%7c/gi,Ww=/%20/gi;function Vw(e){return encodeURI(""+e).replace(Uw,"|")}function Ou(e){return Vw(typeof e=="string"?e:JSON.stringify(e)).replace(nf,"%2B").replace(Ww,"+").replace(Iw,"%23").replace(Nw,"%26").replace(Hw,"`").replace(jw,"^").replace(Mw,"%2F")}function Nl(e){return Ou(e).replace(Bw,"%3D")}function e_(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function zw(e){return e_(e.replace(nf," "))}function qw(e){return e_(e.replace(nf," "))}function t_(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 o=zw(r[1]);if(o==="__proto__"||o==="constructor")continue;const s=qw(r[2]||"");t[o]===void 0?t[o]=s:Array.isArray(t[o])?t[o].push(s):t[o]=[t[o],s]}return t}function Kw(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Nl(e)}=${Ou(n)}`).join("&"):`${Nl(e)}=${Ou(t)}`:Nl(e)}function Gw(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>
4Kw(t,e[t])).filter(Boolean).join("&")}const Yw=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,n_=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Xw=/^([/\\]\s*){2,}[^/\\]/,Jw=/\/$|\/\?|\/#/,Qw=/^\.?\//;function uo(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Yw.test(e):n_.test(e)||(t.acceptRelative?Xw.test(e):!1)}function Lu(e="",t){return t?Jw.test(e):e.endsWith("/")}function r_(e="",t){if(!t)return(Lu(e)?e.slice(0,-1):e)||"/";if(!Lu(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");o!==-1&&(n=e.slice(0,o),r=e.slice(o));const[s,...i]=n.split("?");return((s.endsWith("/")?s.slice(0,-1):s)||"/")+(i.length>0?`?${i.join("?")}`:"")+r}function Zw(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Lu(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");if(o!==-1&&(n=e.slice(0,o),r=e.slice(o),!n))return r;const[s,...i]=n.split("?");return s+"/"+(i.length>0?`?${i.join("?")}`:"")+r}function eE(e,t){if(tE(t)||uo(e))return e;const n=r_(t);if(e.startsWith(n)){const r=e[n.length];if(!r||r==="/"||r==="?")return e}return Bs(n,e)}function rf(e,t){const n=a_(e),r={...t_(n.search),...t};return n.search=Gw(r),oE(n)}function tE(e){return!e||e==="/"}function nE(e){return e&&e!=="/"}function Bs(e,...t){let n=e||"";for(const r of t.filter(o=>nE(o)))if(n){const o=r.replace(Qw,"");n=Zw(n)+o}else n=r;return n}function o_(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let o=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&&uo(r[0]))continue;r.pop(),o--;continue}if(a===1&&r[r.length-1]?.endsWith(":/")){r[r.length-1]+="/"+l;continue}r.push(l),o++}}let s=r.join("/");return o>=0?n[0]?.startsWith("/")&&!s.startsWith("/")?s="/"+s:n[0]?.startsWith("./")&&!s.startsWith("./")&&(s="./"+s):s="../".repeat(-1*o)+s,n[n.length-1]?.endsWith("/")&&!s.endsWith("/")&&(s+="/"),s}function s_(e){return rE(e,"")}function rE(e,t){let n=e.match(n_);return n||(n=e.match(/^\/{2,}/)),n?t+e.slice(n[0].length):t+e}const i_=Symbol.for("ufo:protocolRelative");function a_(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(!uo(e,{acceptRelative:!0}))return $u(e);const[,r="",o,s=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",a=""]=s.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:c,hash:u}=$u(a);return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:i,pathname:l,search:c,hash:u,[i_]:!r}}function $u(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function oE(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",o=e.auth?e.auth+"@":"",s=e.host||"";return(e.protocol||e[i_]?(e.protocol||"")+"//":"")+o+s+t+n+r}
4class sE extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function iE(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",r=e.request?.url||String(e.request)||"/",o=`[${n}] ${JSON.stringify(r)}`,s=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${o}: ${s}${t?` ${t}`:""}`,a=new sE(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 aE=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Hd(e="GET"){return aE.has(e.toUpperCase())}function lE(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 uE=new Set(["image/svg","application/xml","application/xhtml","application/html"]),cE=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function fE(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return cE.test(t)?"json":t==="text/event-stream"?"stream":uE.has(t)||t.startsWith("text/")?"text":"blob"}function dE(e,t,n,r){const o=hE(t?.headers??e?.headers,n?.headers,r);let s;return(n?.query||n?.params||t?.params||t?.query)&&(s={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:s,params:s,headers:o}}function hE(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[o,s]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(o,s);return r}async function gi(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const pE=new Set([408,409,425,429,500,502,503,504]),mE=new Set([101,204,205,304]);function l_(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function o(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):pE.has(f))){const d=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return d>0&&await new Promise(h=>setTimeout(h,d)),s(a.request,{...a.options,retry:u-1})}}const c=iE(a);throw Error.captureStackTrace&&Error.captureStackTrace(c,s),c}const s=async function(l,c={}){const u={request:l,options:dE(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 gi(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=eE(u.request,u.options.baseURL)),u.options.query&&(u.request=rf(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(lE(u.options.body)){const h=u.options.headers.get("content-type");typeof u.options.body!="string"&&(u.options.body=h==="application/x-www-form-urlencoded"?new URLSearchParams(u.options.body).toString():JSON.stringify(u.options.body)),h||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 h=new r;f=setTimeout(()=>{const p=new Error("[TimeoutError]: The operation was aborted due to timeout");p.name="TimeoutError",p.code=23,h.abort(p)},u.options.timeout),u.options.signal=h.signal}try{u.response=await t(u.request,u.options)}catch(h){return u.error=h,u.options.onRequestError&&await gi(u,u.options.onRequestError),await o(u)}finally{f&&clearTimeout(f)}if((u.response.body||u.response._bodyInit)&&!mE.has(u.response.status)&&u.options.method!=="HEAD"){const h=(u.options.parseResponse?"json":u.options.responseType)||fE(u.response.headers.get("content-type")||"");switch(h){case"json":{const p=await u.response.text(),g=u.options.parseResponse||xw;u.response._data=g(p);break}case"stream":{u.response._data=u.response.body||u.response._bodyInit;break}default:u.response._data=await u.response[h]()}}return u.options.onResponse&&await gi(u,u.options.onResponse),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await gi(u,u.options.onResponseError),await o(u)):u.response},i=async function(l,c){return(await s(l,c))._data};return i.raw=s,i.native=(...a)=>t(...a),i.create=(a={},l={})=>l_({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),i}const ia=(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")})(),gE=ia.fetch?(...e)=>ia.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),_E=ia.Headers,vE=ia.AbortController,yE=l_({fetch:gE,Headers:_E,AbortController:vE}),DE=yE,bE=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config,of=()=>bE().app,wE=()=>of().baseURL,EE=()=>of().buildAssetsDir,sf=(...e)=>o_(u_(),EE(),...e),u_=(...e)=>{const t=of(),n=t.cdnURL||t.baseURL;return e.length?o_(n,...e):n};globalThis.__buildAssetsURL=sf,globalThis.__publicAssetsURL=u_;globalThis.$fetch||(globalThis.$fetch=DE.create({baseURL:wE()}));"global"in globalThis||(globalThis.global=globalThis);function xu(e,t={},n){for(const r in e){const o=e[r],s=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?xu(o,t,s):typeof o=="function"&&(t[s]=o)}return t}const c_=(()=>
4{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function f_(e,t,n,r){for(let o=n;o<e.length;o+=1)try{const s=r?r.run(()=>e[o](...t)):e[o](...t);if(s&&typeof s.then=="function")return Promise.resolve(s).then(()=>f_(e,t,o+1,r))}catch(s){return Promise.reject(s)}}function CE(e,t,n){if(e.length>0)return f_(e,t,0,c_(n))}function FE(e,t,n){if(e.length>0){const r=c_(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}}function Ml(e,t){for(const n of[...e])n(t)}var AE=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 o;for(;this._deprecatedHooks[e];)o=this._deprecatedHooks[e],e=o.to;if(o&&!n.allowDeprecated){let s=o.message;s||(s=`${r} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||this._deprecatedMessages.add(s)}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=(...o)=>(typeof n=="function"&&n(),n=void 0,r=void 0,t(...o));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=xu(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=xu(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(CE,e,t)}callHookParallel(e,...t){return this.callHookWith(FE,e,t)}callHookWith(e,t,n){const r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&Ml(this._before,r);const o=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return o instanceof Promise?o.finally(()=>{this._after&&r&&Ml(this._after,r)}):(this._after&&r&&Ml(this._after,r),o)}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 d_(){return new AE}function SE(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let o;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i&&(o=new i)}const s=()=>
4{if(o){const i=o.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=s();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>s(),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 o?o.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;Iu.add(c);try{const u=o?o.run(i,a):a();return n||(t=void 0),await u}finally{Iu.delete(c)}}}}function TE(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=SE({...e,...r})),t[n]}}}const aa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Ud="__unctx__",kE=aa[Ud]||(aa[Ud]=TE()),RE=(e,t={})=>kE.get(e,t),Wd="__unctx_async_handlers__",Iu=aa[Wd]||(aa[Wd]=new Set);function Jt(e){const t=[];for(const o of Iu){const s=o();s&&t.push(s)}const n=()=>{for(const o of t)o()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(o=>{throw n(),o})),[r,n]}const PE=!0,Vd=!1,zd=!1,qd={id:"__nuxt-loader"},OE={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},LE={deep:!1},$E={},xE="#__nuxt",h_="nuxt-app",Kd=36e5,IE="vite:preloadError";function p_(e=h_){return RE(e,{asyncContext:!1})}const NE="__nuxt_plugin";function ME(e){let t=0;const n={_id:e.id||h_||"nuxt-app",_scope:Xo(),provide:void 0,versions:{get nuxt(){return"4.4.7"},get vue(){return n.vueApp.version}},payload:on({...e.ssrContext?.payload||{},data:on({}),state:it({}),once:new Set,_errors:on({})}),static:{data:{}},runWithContext(o){return n._scope.active&&!or()?n._scope.run(()=>Gd(n,o)):Gd(n,o)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:on({}),_state:on({}),_payloadRevivers:{},...e};{const o=window.__NUXT__;if(o)for(const s in o)switch(s){case"data":case"state":case"_errors":Object.assign(n.payload[s],o[s]);break;default:n.payload[s]=o[s]}}n.hooks=d_(),n.hook=n.hooks.hook;{const o=n.hooks.callHook;n.hooks.callHook=(s,...i)=>Promise.resolve().then(()=>o(s,...i))}n.callHook=n.hooks.callHook,n.provide=(o,s)=>{const i="$"+o;_i(n,i,s),_i(n.vueApp.config.globalProperties,i,s)},_i(n.vueApp,"$nuxt",n),_i(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(IE,s=>{n.callHook("app:chunkError",{error:s.payload}),s.payload?.message?.includes("Unable to preload CSS")&&s.preventDefault()}),window.useNuxtApp||=fe;const o=n.hook("app:error",(...s)=>{});n.hook("app:mounted",o)}const r=n.payload.config;return n.provide("config",r),n}function BE(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function jE(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 HE(e,t){const n=new Set,r=[],o=[];let s,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=jE(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;s||=f});l.parallel?o.push(u):await u}}for(const l of t)BE(e,l);for(const l of t)await a(l);if(await Promise.all(o),i)for(let l=0;l<i;l++)await Promise.all(o);if(s)throw e.payload.error||s}function We(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[NE]:!0,_name:t})}const UE=We;function Gd(e,t,n){const r=()=>t();return p_(e._id).set(e),e.vueApp.runWithContext(r)}function WE(e){let t;return ao()&&(t=_t()?.appContext.app.$nuxt),t||=p_(e).tryUse(),t||null}function fe(e){const t=WE(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function ir(e){return fe().$config}function _i(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function Bl(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 Nu(e,t,n=".",r){if(!Bl(t))return Nu(e,{},n,r);const o={...t};for(const s of Object.keys(e)){if(s==="__proto__"||s==="constructor")continue;const i=e[s];i!=null&&(r&&r(o,s,i,n)||(Array.isArray(i)&&Array.isArray(o[s])?o[s]=[...i,...o[s]]:Bl(i)&&Bl(o[s])?o[s]=Nu(i,o[s],(n?`${n}.`:"")+s.toString(),r):o[s]=i))}return o}function m_(e){return(...t)=>t.reduce((n,r)=>Nu(n,r,"",e),{})}const g_=m_(),VE=m_((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function zE(e,t){try{return t in e}catch{return!1}}
4class Yd 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:Mu(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=__(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function qE(e){if(typeof e=="string")return new Yd(e);if(KE(e))return e;const t=new Yd(e.message??e.statusMessage??"",{cause:e.cause||e});if(zE(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=Mu(e.statusCode,t.statusCode):e.status&&(t.statusCode=Mu(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage,r=__(t.statusMessage)}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function KE(e){return e?.constructor?.__h3_error__===!0}const GE=/[^\u0009\u0020-\u007E]/g;function __(e=""){return e.replace(GE,"")}function Mu(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const v_=/#/g,y_=/&/g,YE=/\//g,XE=/=/g,JE=/\?/g,Ka=/\+/g,QE=/%5e/gi,ZE=/%60/gi,eC=/%7c/gi,tC=/%20/gi,nC=/%2f/gi,rC=/%252f/gi;function D_(e){return encodeURI(""+e).replace(eC,"|")}function Bu(e){return D_(typeof e=="string"?e:JSON.stringify(e)).replace(Ka,"%2B").replace(tC,"+").replace(v_,"%23").replace(y_,"%26").replace(ZE,"`").replace(QE,"^").replace(YE,"%2F")}function jl(e){return Bu(e).replace(XE,"%3D")}function oC(e){return D_(e).replace(v_,"%23").replace(JE,"%3F").replace(rC,"%2F").replace(y_,"%26").replace(Ka,"%2B")}function js(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function sC(e){return js(e.replace(nC,"%252F"))}function iC(e){return js(e.replace(Ka," "))}function aC(e){return js(e.replace(Ka," "))}function af(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 o=iC(r[1]);if(o==="__proto__"||o==="constructor")continue;const s=aC(r[2]||"");t[o]===void 0?t[o]=s:Array.isArray(t[o])?t[o].push(s):t[o]=[t[o],s]}return t}function lC(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${jl(e)}=${Bu(n)}`).join("&"):`${jl(e)}=${Bu(t)}`:jl(e)}function uC(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>lC(t,e[t])).filter(Boolean).join("&")}const cC=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,fC=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,dC=/^([/\\]\s*){2,}[^/\\]/,hC=/^[\s\0]*(blob|data|javascript|vbscript):$/i,pC=/\/$|\/\?|\/#/,mC=/^\.?\//;function ts(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?cC.test(e):fC.test(e)||(t.acceptRelative?dC.test(e):!1)}function la(e){return!!e&&hC.test(e)}function ju(e="",t){return t?pC.test(e):e.endsWith("/")}function ua(e="",t){if(!t)return(ju(e)?e.slice(0,-1):e)||"/";if(!ju(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");o!==-1&&(n=e.slice(0,o),r=e.slice(o));const[s,...i]=n.split("?");return((s.endsWith("/")?s.slice(0,-1):s)||"/")+(i.length>0?`?${i.join("?")}`:"")+r}function b_(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(ju(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");if(o!==-1&&(n=e.slice(0,o),r=e.slice(o),!n))return r;const[s,...i]=n.split("?");return s+"/"+(i.length>0?`?${i.join("?")}`:"")+r}function Xd(e,t){if(_C(t))return e;const n=ua(t);if(!e.startsWith(n))return e;const r=e[n.length];return r&&r!=="/"&&r!=="?"?e:"/"+e.slice(n.length).replace(/^\/+/,"")}function gC(e,t){const n=Ga(e),r={...af(n.search),...t};return n.search=uC(r),yC(n)}function _C(e){return!e||e==="/"}function vC(e){return e&&e!=="/"}function w_(e,...t){let n=e||"";for(const r of t.filter(o=>vC(o)))if(n){const o=r.replace(mC,"");n=b_(n)+o}else n=r;return n}function E_(e,t){return js(ua(e))===js(ua(t))}const C_=Symbol.for("ufo:protocolRelative");function Ga(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(!ts(e,{acceptRelative:!0}))return t?Ga(t+e):Jd(e);const[,r="",o,s=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",a=""]=s.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:c,hash:u}=Jd(a);return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:i,pathname:l,search:c,hash:u,[C_]:!r}}function Jd(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function yC(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?""
4:"?")+e.search:"",r=e.hash||"",o=e.auth?e.auth+"@":"",s=e.host||"";return(e.protocol||e[C_]?(e.protocol||"")+"//":"")+o+s+t+n+r}const F_=Symbol("layout-meta"),tr=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const He=()=>fe()?.$router,co=()=>ao()?et(tr,fe()._route):fe()._route;function QM(e){return e}const DC=()=>{try{if(fe()._processingMiddleware)return!0}catch{return!1}return!1},Ya=(e,t)=>{e||="/";const n=typeof e=="string"?e:"path"in e?Hu(e):He().resolve(e).href;if(t?.open){const{protocol:c}=new URL(n,window.location.href);if(c&&la(c))throw new Error(`Cannot navigate to a URL with '${c}' protocol.`);const{target:u="_blank",windowFeatures:f={}}=t.open,d=[];for(const[h,p]of Object.entries(f))p!==void 0&&d.push(`${h.toLowerCase()}=${p}`);return open(n,u,d.join(", ")),Promise.resolve()}const r=ts(n,{acceptRelative:!0}),o=t?.external||r;if(o){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&&la(c))throw new Error(`Cannot navigate to a URL with '${c}' protocol.`)}const s=DC();if(!o&&s){if(t?.replace){if(typeof e=="string"){const{pathname:c,search:u,hash:f}=Ga(e);return{path:c,...u&&{query:af(u)},...f&&{hash:f},replace:!0}}return{...e,replace:!0}}return e}const i=He(),a=fe();if(o)return a._scope.stop(),t?.replace?location.replace(n):location.href=n,s?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve();const l=typeof e=="string"?A_(e):e;return t?.replace?i.replace(l):i.push(l)};function Hu(e){return gC(e.path||"",e.query||{})+(e.hash||"")}function A_(e){const t=Ga(e);return oC(sC(t.pathname))+t.search+t.hash}const S_="__nuxt_error",Xa=()=>ja(fe().payload,"error"),Ur=e=>{const t=br(e);try{const n=Xa();fe().hooks.callHook("app:error",t),n.value||=t}catch{throw t}return t},T_=async(e={})=>{const t=fe(),n=Xa();t.callHook("app:error:cleared",e),e.redirect&&await He().replace(e.redirect),n.value=void 0},k_=e=>!!e&&typeof e=="object"&&S_ in e,br=e=>{typeof e!="string"&&e.statusText&&(e.message??=e.statusText);const t=qE(e);return Object.defineProperty(t,S_,{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};let R_;const ri=e=>R_=e,P_=Symbol();function Uu(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var As;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(As||(As={}));function bC(){const e=Xo(!0),t=e.run(()=>Q({}));let n=[],r=[];const o=Vc({install(s){ri(o),o._a=s,s.provide(P_,o),s.config.globalProperties.$pinia=o,r.forEach(i=>n.push(i)),r=[]},use(s){return this._a?n.push(s):r.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const O_=()=>{};function Qd(e,t,n,r=O_){e.push(t);const o=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),r())};return!n&&or()&&to(o),o}function _o(e,...t){e.slice().forEach(n=>{n(...t)})}const wC=e=>e(),Zd=Symbol(),Hl=Symbol();function Wu(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];Uu(o)&&Uu(r)&&e.hasOwnProperty(n)&&!Pe(r)&&!Pn(r)?e[n]=Wu(o,r):e[n]=r}return e}const EC=Symbol();function CC(e){return!Uu(e)||!Object.prototype.hasOwnProperty.call(e,EC)}const{assign:cr}=Object;function FC(e){return!!(Pe(e)&&e.effect)}function AC(e,t,n,r){const{state:o,actions:s,getters:i}=t,a=n.state.value[e];let l;function c(){a||(n.state.value[e]=o?o():{});const u=$0(n.state.value[e]);return cr(u,s,Object.keys(i||{}).reduce((f,d)=>(f[d]=Vc(K(()=>{ri(n);const h=n._s.get(e);return i[d].call(h,h)})),f),{}))}return l=L_(e,c,t,n,r,!0),l}function L_(e,t,n={},r,o,s){let i;const a=cr({actions:{}},n),l={deep:!0};let c,u,f=[],d=[],h;const p=r.state.value[e];!s&&!p&&(r.state.value[e]={});let g;function v(O){let S;c=u=!1,typeof O=="function"?(O(r.state.value[e]),S={type:As.patchFunction,storeId:e,events:h}):(Wu(r.state.value[e],O),S={type:As.patchObject,payload:O,storeId:e,events:h});const k=g=Symbol();ot().then(()=>{g===k&&(c=!0)}),u=!0,_o(f,S,r.state.value[e])}const m=s?function(){const{state:S}=n,k=S?S():{};this.$patch(M=>{cr(M,k)})}:O_;function y(){i.stop(),f=[],d=[],r._s.delete(e)}const _=(O,S="")=>{if(Zd in O)return O[Hl]=S,O;const k=function(){ri(r);const M=Array.from(arguments),L=[],G=[];function U(ee){L.push(ee)}function Z(ee){G.push(ee)}_o(d,{args:M,name:k[Hl],store:b,after:U,onError:Z});let W;try{W=O.apply(this&&this.$id===e?this:b,M)}catch(ee){throw _o(G,ee),ee}return W instanceof Promise?W.then(ee=>(_o(L,ee),ee)).catch(ee=>(_o(G,ee),Promise.reject(ee))):(_o(L,W),W)};return k[Zd]=!0,k[Hl]=S,k}
4,D={_p:r,$id:e,$onAction:Qd.bind(null,d),$patch:v,$reset:m,$subscribe(O,S={}){const k=Qd(f,O,S.detached,()=>M()),M=i.run(()=>De(()=>r.state.value[e],L=>{(S.flush==="sync"?u:c)&&O({storeId:e,type:As.direct,events:h},L)},cr({},l,S)));return k},$dispose:y},b=it(D);r._s.set(e,b);const E=(r._a&&r._a.runWithContext||wC)(()=>r._e.run(()=>(i=Xo()).run(()=>t({action:_}))));for(const O in E){const S=E[O];if(Pe(S)&&!FC(S)||Pn(S))s||(p&&CC(S)&&(Pe(S)?S.value=p[O]:Wu(S,p[O])),r.state.value[e][O]=S);else if(typeof S=="function"){const k=_(S,O);E[O]=k,a.actions[O]=S}}return cr(b,E),cr(Ee(b),E),Object.defineProperty(b,"$state",{get:()=>r.state.value[e],set:O=>{v(S=>{cr(S,O)})}}),r._p.forEach(O=>{cr(b,i.run(()=>O({store:b,app:r._a,pinia:r,options:a})))}),p&&s&&n.hydrate&&n.hydrate(b.$state,p),c=!0,u=!0,b}function SC(e,t,n){let r;const o=typeof t=="function";r=o?n:t;function s(i,a){const l=ao();return i=i||(l?et(P_,null):null),i&&ri(i),i=R_,i._s.has(e)||(o?L_(e,t,r,i):AC(e,r,i)),i._s.get(e)}return s.$id=e,s}const TC=-1,kC=-2,RC=-3,PC=-4,OC=-5,LC=-6,$C=-7,$_=2**32-1,Vu=$_-1;function xC(e){return!(!Number.isInteger(e)||e<0||e>Vu)}function IC(e){return!(!Number.isInteger(e)||e<0||e>$_)}function NC(e){return Uint8Array.fromBase64(e).buffer}function MC(e){return Uint8Array.from(Buffer.from(e,"base64")).buffer}function BC(e){const t=atob(e),n=t.length,r=new Uint8Array(n);for(let o=0;o<n;o++)r[o]=t.charCodeAt(o);return r.buffer}const jC=typeof Uint8Array.fromBase64=="function",HC=typeof process=="object"&&process.versions?.node!==void 0,UC=jC?NC:HC?MC:BC;function WC(e,t){return VC(JSON.parse(e),t)}function VC(e,t){if(typeof e=="number")return s(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);let o=null;function s(i,a=!1){if(i===TC)return;if(i===RC)return NaN;if(i===PC)return 1/0;if(i===OC)return-1/0;if(i===LC)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),o??=new Set,o.has(f))throw new Error("Invalid circular reference");return o.add(f),r[i]=u(s(f)),o.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 p=1;p<l.length;p+=1)f.add(s(l[p]));break;case"Map":const d=new Map;r[i]=d;for(let p=1;p<l.length;p+=2)d.set(s(l[p]),s(l[p+1]));break;case"RegExp":r[i]=new RegExp(l[1],l[2]);break;case"Object":{const p=l[1];if(typeof n[p]=="object"&&n[p][0]!=="BigInt")throw new Error("Invalid input");r[i]=Object(s(p));break}case"BigInt":r[i]=BigInt(l[1]);break;case"null":const h=Object.create(null);r[i]=h;for(let p=1;p<l.length;p+=2){if(l[p]==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");h[l[p]]=s(l[p+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 p=globalThis[c],g=s(l[1]);r[i]=l[2]!==void 0?new p(g,l[2],l[3]):new p(g);break}case"ArrayBuffer":{const p=l[1];if(typeof p!="string")throw new Error("Invalid ArrayBuffer encoding");const g=UC(p);r[i]=g;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 p=c.slice(9);r[i]=Temporal[p].from(l[1]);break}case"URL":{const p=new URL(l[1]);r[i]=p;break}case"URLSearchParams":{const p=new URLSearchParams(l[1]);r[i]=p;break}default:throw new Error(`Unknown type ${c}`)}}else if(l[0]===$C){const c=l[1];if(!IC(c))throw new Error("Invalid input");const u=[];r[i]=u,u[Vu]=void 0,delete u[Vu];for(let f=2;f<l.length;f+=2){const d=l[f];if(!xC(d)||d>=c)throw new Error("Invalid input");u[d]=s(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!==kC&&(c[u]=s(f))}}else{const c={};r[i]=c;
4for(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]=s(f)}}return r[i]}return s(0)}const zC=new Set(["link","style","script","noscript"]),qC=new Set(["title","titleTemplate","script","style","noscript"]),zu=new Set(["base","meta","link","style","script","noscript"]),KC=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),GC=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),YC=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),XC=new Set(["templateParams","htmlAttrs","bodyAttrs"]),JC=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),QC=["name","property","http-equiv"],ZC=new Set(["viewport","description","keywords","robots"]);function x_(e){const t=e.split(":");return t.length?JC.has(t[1]):!1}function qu(e){const{props:t,tag:n}=e;if(GC.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 QC)if(t[r]!==void 0){const o=t[r],s=o&&typeof o=="string"&&o.includes(":"),i=o&&ZC.has(o),l=!(s||i)&&e.key?`:key:${e.key}`:"";return`${n}:${o}${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(qC.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function I_(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,o])=>`${r}:${String(o)}`).join(",")}`}function ca(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());const o=t?t(n,e):e;if(Array.isArray(o))return o.map(s=>ca(s,t));if(o?.constructor===Object){const s={};for(const i of Object.keys(o))s[i]=ca(o[i],t,i);return s}return o}function eF(e,t){const n=e==="style"?new Map:new Set;function r(o){if(o==null||o===void 0)return;const s=String(o).trim();if(s)if(e==="style"){const[i,...a]=s.split(":").map(l=>l?l.trim():"");i&&a.length&&n.set(i,a.join(":"))}else s.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(o=>r(o)):t&&typeof t=="object"&&Object.entries(t).forEach(([o,s])=>{s&&s!=="false"&&(e==="style"?n.set(String(o).trim(),String(s)):r(o))}),n}function N_(e,t){if(e.props=e.props||{},!t)return e;if(e.tag==="templateParams")return e.props=t,e;const n=zu.has(e.tag)||e.tag==="htmlAttrs"||e.tag==="bodyAttrs";return Object.entries(t).forEach(([r,o])=>{if(r==="__proto__"||r==="constructor"||r==="prototype")return;if(o===null){e.props[r]=null;return}if(r==="class"||r==="style"){e.props[r]=eF(r,o);return}if(YC.has(r)){if((r==="textContent"||r==="innerHTML")&&typeof o=="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(o)}else e[r]=o;return}const s=r.startsWith("data-"),i=n&&!s?r.toLowerCase():r,a=String(o),l=e.tag==="meta"&&i==="content";a==="true"||a===""?e.props[i]=s||l?a:!0:!o&&s&&a==="false"?e.props[i]="false":o!==void 0&&(e.props[i]=o)}),e}function tF(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=N_({tag:e,props:{}},n);return r.key&&zC.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(o=>({...r,props:{...r.props,content:o}})):r}function nF(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(o,s)=>{for(let i=0;i<t.length;i++)s=t[i](o,s);return s};e=n(void 0,e);const r=[];return e=ca(e,n),Object.entries(e||{}).forEach(([o,s])=>{if(s!==void 0)for(const i of Array.isArray(s)?s:[s])r.push(tF(o,i))}),r.flat()}const eh=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,th={base:-10,title:10},rF={critical:-8,high:-1,low:2},nh={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}},oF=/@import/,fs=e=>e===""||e===!0;function sF(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=rF[t.tagPriority]||0,o=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:nh;if(t.tag in th)n=th[t.tag];else if(t.tag==="meta"){const s=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;s&&(n=nh.meta[s])}else if(t.tag==="link"&&t.props.rel)n=o.link[t.props.rel];else if(t.tag==="script"){const s=String(t.props.type);fs(t.props.async)?n=o.script.async:t.props.src&&!fs(t.props.defer)&&!fs(t.props.async)&&s!=="module"&&!s.endsWith("json")||t.innerHTML&&!s.endsWith("json")?n=o.script.sync:(fs(t.props.defer)&&t.props.src&&!fs(t.props.async)||s==="module")&&(n=o.script.defer)}else t.tag==="style"&&(n=t.innerHTML&&oF.test(t.innerHTML)?o.style.imported:o.style.sync);return(n||100)+r}function rh(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 iF(e={}){const t=d_();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,o=new Map,s=new Set,i={_entryCount:1,plugins:o,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:a=>rh(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(h=!1){i.dirty=!0,!h&&s.add(u),t.callHook("entries:updated",i)},dispose(){r.delete(u)&&i.invalidate()},patch(h){(!c.mode||c.mode==="server"&&n||c.mode==="client"&&!n)&&(f.input=h,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);s.size;){const d=s.values().next().value;
4s.delete(d);const h=r.get(d);if(h){const p={tags:nF(h.input,e.propResolvers||[]).map(g=>Object.assign(g,h.options)),entry:h};await t.callHook("entries:normalize",p),h._tags=p.tags.map((g,v)=>(g._w=sF(i,g),g._p=(h._i<<10)+v,g._d=qu(g),g._d||(g._h=I_(g)),g))}}let l=!1;a.entries.flatMap(d=>(d._tags||[]).map(h=>({...h,props:{...h.props}}))).sort(eh).reduce((d,h)=>{const p=h._d||h._h;if(!d.has(p))return d.set(p,h);const g=d.get(p);if((h?.tagDuplicateStrategy||(XC.has(h.tag)?"merge":null)||(h.key&&h.key===g.key?"merge":null))==="merge"){const m={...g.props};Object.entries(h.props).forEach(([y,_])=>m[y]=y==="style"?new Map([...g.props.style||new Map,..._]):y==="class"?new Set([...g.props.class||new Set,..._]):_),d.set(p,{...h,props:m})}else h._p>>10===g._p>>10&&h.tag==="meta"&&x_(p)?(d.set(p,Object.assign([...Array.isArray(g)?g:[g],h],h)),l=!0):(h._w===g._w?h._p>g._p:h?._w<g?._w)&&d.set(p,h);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 h=typeof d=="function"?d(c?.textContent):d;typeof h=="string"&&!i.plugins.has("template-params")&&(h=h.replace("%s",c?.textContent||"")),c?h===null?a.tagMap.delete("title"):a.tagMap.set("title",{...c,textContent:h}):(u.tag="title",u.textContent=h)}}a.tags=Array.from(a.tagMap.values()),l&&(a.tags=a.tags.flat().sort(eh)),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:h,tag:p,props:g}=d;if(KC.has(p)&&!(Object.keys(g).length===0&&!d.innerHTML&&!d.textContent)&&!(p==="meta"&&!g.content&&!g["http-equiv"]&&!g.charset)){if(p==="script"&&h){if(String(g.type).endsWith("json")){const v=typeof h=="string"?h:JSON.stringify(h);d.innerHTML=v.replace(/</g,"\\u003C")}else typeof h=="string"&&(d.innerHTML=h.replace(new RegExp(`</${p}`,"g"),`<\\/${p}`));d._d=qu(d)}f.push(d)}}return f},invalidate(){for(const a of r.values())s.add(a._i);i.dirty=!0,t.callHook("entries:updated",i)}};return(e?.plugins||[]).forEach(a=>rh(i,a)),i.hooks.callHook("init",i),e.init?.forEach(a=>a&&i.push(a)),i}const aF=(e,t)=>Pe(t)?ae(t):t,lf="usehead";function lF(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(lf,e)}}.install}function uF(){if(ao()){const e=et(lf);if(e)return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function cF(e,t={}){const n=t.head||uF();return n.ssr?n.push(e||{},t):fF(n,e,t)}function fF(e,t,n={}){const r=Q(!1);let o;return Qr(()=>{const i=r.value?{}:ca(t,aF);o?o.patch(i):o=e.push(i,n)}),_t()&&(lo(()=>{o.dispose()}),Qo(()=>{r.value=!0}),ti(()=>{r.value=!1})),o}function dF(e){const t=e||fe();return t.ssrContext?.head||t.runWithContext(()=>{if(ao()){const n=et(lf);if(!n)throw new Error("[nuxt] [unhead] Missing Unhead instance.");return n}})}function uf(e,t={}){const n=t.head||dF(t.nuxt);return cF(e,{head:n,...t})}const hF=(()=>{const e={prerender:!0},t={payload:!0,payload:!0},n={},r={prerender:!1};return(o,s)=>{let i=[];s.charCodeAt(s.length-1)===47&&(s=s.slice(0,-1)||"/"),s==="/"?i.unshift({data:e}):s==="/api/list-servers"?i.unshift({data:t}):s==="/manifest.webmanifest"?i.unshift({data:n}):s==="/sw.js"?i.unshift({data:n}):s==="/elk-sw.js"?i.unshift({data:n}):s==="/manifest-ar-EG.webmanifest"?i.unshift({data:n}):s==="/manifest-ar-EG-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-ca-ES.webmanifest"?i.unshift({data:n}):s==="/manifest-ca-ES-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-ca-valencia.webmanifest"?i.unshift({data:n}):s==="/manifest-ca-valencia-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-ckb.webmanifest"?i.unshift({data:n}):s==="/manifest-ckb-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-cs-CZ.webmanifest"?i.unshift({data:n}):s==="/manifest-cs-CZ-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-cy.webmanifest"?i.unshift({data:n}):s==="/manifest-cy-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-de-DE.webmanifest"?i.unshift({data:n}):s==="/manifest-de-DE-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-el-GR.webmanifest"?i.unshift({data:n}):s==="/manifest-el-GR-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-en-CA.webmanifest"?i.unshift({data:n}):s==="/manifest-en-CA-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-en-GB.webmanifest"?i.unshift({data:n}):s==="/manifest-en-GB-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-en-US.webmanifest"?i.unshift({data:n}):s==="/manifest-en-US-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-es-419.webmanifest"?i.unshift({data:n}):s==="/manifest-es-419-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-es-ES.webmanifest"?i.unshift({data:n}):s==="/manifest-es-ES-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-eu-ES.webmanifest"?i.unshift({data:n}):s==="/manifest-eu-ES-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-fa-IR.webmanifest"?i.unshift({data:n}):s==="/manifest-fa-IR-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-fi.webmanifest"?i.unshift({data:n}):s==="/manifest-fi-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-fr-FR.webmanifest"?i.unshift({data:n}):s==="/manifest-fr-FR-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-gl-ES.webmanifest"?i.unshift({data:n}):s==="/manifest-gl-ES-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-he.webmanifest"?i.unshift({data:n}):s==="/manifest-he-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-hu-HU.webmanifest"?i.unshift({data:n}):s==="/manifest-hu-HU-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-id-ID.webmanifest"?i.unshift({data:n}):s==="/manifest-id-ID-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-it-IT.webmanifest"?i.unshift({data:n}):s==="/manifest-it-IT-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-ja-JP.webmanifest"?i.unshift({data:n}):s==="/manifest-ja-JP-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-ko-KR.webmanifest"?i.unshift({data:n}):s==="/manifest-ko-KR-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-nl-NL.webmanifest"?i.unshift({data:n}):s==="/manifest-nl-NL-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-pl-PL.webmanifest"?i.unshift({data:n}):s==="/manifest-pl-PL-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-pt-BR.webmanifest"?i.unshift({data:n}):s==="/manifest-pt-BR-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-pt-PT.webmanifest"?i.unshift({data:n}):s==="/manifest-pt-PT-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-ru-RU.webmanifest"?i.unshift({data:n}):s==="/manifest-ru-RU-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-sv.webmanifest"?i.unshift({data:n}):s==="/manifest-sv-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-th-TH.webmanifest"?i.unshift({data:n}):s==="/manifest-th-TH-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-tl-PH.webmanifest"?i.unshift({data:n}):s==="/manifest-tl-PH-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-tr-TR.webmanifest"?i.unshift({data:n}):s==="/manifest-tr-TR-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-uk-UA.webmanifest"?i.unshift({data:n}):s==="/manifest-uk-UA-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-vi-VN.webmanifest"?i.unshift({data:n}):s==="/manifest-vi-VN-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-zh-CN.webmanifest"?i.unshift({data:n}):s==="/manifest-zh-CN-dark.webmanifest"?i.unshift({data:n}):s==="/manifest-zh-TW.webmanifest"?i.unshift({data:n}):s==="/manifest-zh-TW-dark.webmanifest"&&i.unshift({data:n});let a=s.split("/");return a.length>1&&a[1]==="settings"&&i.unshift({data:r,params:{_:a.slice(2).join("/")}}),i.unshift({data:n,params:{_:a.slice(1).join("/")}}),i}})(),M_=e=>g_({},...hF("",typeof e=="string"?e.toLowerCase():e).map(t=>t.data).reverse()),pF=M_;let ji;function mF(){let e;return e=$fetch(sf(`builds/meta/${ir().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}),ji=e,e.catch(t=>{ji===e&&(ji=void 0)}),e}function gF(){return ji||mF()}function B_(e){const t=typeof e=="string"?e:e.path;try{return pF(t.toLowerCase())}catch{return{}}}async function _F(e){return null}let Nr=null;async function vF(){if(Nr)return Nr;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await yF(e.textContent||""),n=e.dataset.src?await _F(e.dataset.src):void 0;return Nr={...t,...n,...window.__NUXT__},Nr.config?.public&&(Nr.config.public=it(Nr.config.public)),Nr}async function yF(e){return await WC(e,fe()._payloadRevivers)}function j_(e,t){fe()._payloadRevivers[e]=t}const DF=UE(()=>{j_("skipHydrate",e=>{})}),bF=We({order:-40,setup:e=>{delete e.payload.path}});function oh(e){try{return JSON.parse(e)}catch{return e}}const wF=[["NuxtError",e=>br(e)],["EmptyShallowRef",e=>ie(e==="_"?void 0:e==="0n"?BigInt(0):oh(e))],["EmptyRef",e=>Q(e==="_"?void 0:e==="0n"?BigInt(0):oh(e))],["ShallowRef",e=>ie(e)],["ShallowReactive",e=>on(e)],["Ref",e=>Q(e)],["Reactive",e=>it(e)]],EF=We({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,o]of wF)j_(r,o);Object.assign(e.payload,([t,n]=Jt(()=>e.runWithContext(vF)),t=await t,n(),t)),delete window.__NUXT__}});async function cf(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 o=>{const s=new Map,i=new Promise(h=>{e.resolveTags().then(p=>{h(p.map(g=>{const v=s.get(g._d)||0,m={tag:g,id:(v?`${g._d}:${v}`:g._d)||g._h,shouldRender:!0};return g._d&&x_(g._d)&&s.set(g._d,v+1),m}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const h of["body","head"]){const p=n[h]?.children;for(const g of p){const v=g.tagName.toLowerCase();if(!zu.has(v))continue;const m=N_({tag:v,props:{}},{innerHTML:g.innerHTML,...g.getAttributeNames().reduce((y,_)=>(y[_]=g.getAttribute(_),y),{})||{}});if(m.key=g.getAttribute("data-hid")||void 0,m._d=qu(m)||I_(m),a.elMap.has(m._d)){let y=1,_=m._d;for(;a.elMap.has(_);)_=`${m._d}:${y++}`;a.elMap.set(_,g)}else a.elMap.set(m._d,g)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(h,p,g){const v=`${h}:${p}`;a.sideEffects[v]=g,delete a.pendingSideEffects[v]}function c({id:h,$el:p,tag:g}){const v=g.tag.endsWith("Attrs");a.elMap.set(h,p),v||(g.textContent&&g.textContent!==p.textContent&&(p.textContent=g.textContent),g.innerHTML&&g.innerHTML!==p.innerHTML&&(p.innerHTML=g.innerHTML),l(h,"el",()=>{p?.remove(),a.elMap.delete(h)}));for(const m in g.props){if(!Object.prototype.hasOwnProperty.call(g.props,m))continue;const y=g.props[m];if(m.startsWith("on")&&typeof y=="function"){const D=p?.dataset;if(D&&D[`${m}fired`]){const b=m.slice(0,-5);y.call(p,new Event(b.substring(2)))}p.getAttribute(`data-${m}`)!==""&&((g.tag==="bodyAttrs"?n.defaultView:p).addEventListener(m.substring(2),y.bind(p)),p.setAttribute(`data-${m}`,""));continue}const _=`attr:${m}`;if(m==="class"){if(!y)continue;for(const D of y)v&&l(h,`${_}:${D}`,()=>p.classList.remove(D)),!p.classList.contains(D)&&p.classList.add(D)}else if(m==="style"){if(!y)continue;for(const[D,b]of y)l(h,`${_}:${D}`,()=>{p.style.removeProperty(D)}),p.style.setProperty(D,b)}else y!==!1&&y!==null&&(p.getAttribute(m)!==y&&p.setAttribute(m,y===!0?"":String(y)),v&&l(h,_,()=>p.removeAttribute(m)))}}const u=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},d=await i;for(const h of d){const{tag:p,shouldRender:g,id:v}=h;if(g){if(p.tag==="title"){n.title=p.textContent,l("title","",()=>n.title=a.title);continue}h.$el=h.$el||a.elMap.get(v),h.$el?c(h):zu.has(p.tag)&&u.push(h)}}for(const h of u){const p=h.tag.tagPosition||"head";h.$el=n.createElement(h.tag.tag),c(h),f[p]=f[p]||n.createDocumentFragment(),f[p].appendChild(h.$el)}for(const h of d)await e.hooks.callHook("dom:renderTag",h,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 h in a.pendingSideEffects)a.pendingSideEffects[h]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:d}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function CF(e={}){const t=e.domOptions?.render||cf;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return iF({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function FF(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function AF(e={}){const t=CF({domOptions:{render:FF(()=>cf(t),n=>setTimeout(n,0))},...e});return t.install=lF(t),t}const SF={disableDefaults:!0},TF=We({name:"nuxt:head",enforce:"pre",setup(e){const t=AF(SF);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await cf(t)};t.hooks.hook("dom:beforeRender",s=>{s.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 o=t.push.bind(t);t.push=((s,i)=>{const a=o(s,i),l=a.dispose.bind(a);return a.dispose=()=>{const c=e["~transitionPromise"];c?c.then(l):l()},a})}}});const Do=typeof document<"u";function H_(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}
4function kF(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&H_(e.default)}const Ie=Object.assign;function Ul(e,t){const n={};for(const r in t){const o=t[r];n[r]=_n(o)?o.map(e):e(o)}return n}const Ss=()=>{},_n=Array.isArray;function sh(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const U_=Symbol("");function Wo(e,t){return Ie(new Error,{type:e,[U_]:!0},t)}function Bn(e,t){return e instanceof Error&&U_ in e&&(t==null||!!(e.type&t))}const RF=Symbol(""),ih=Symbol(""),ff=Symbol(""),df=Symbol(""),Ku=Symbol("");function W_(e){return et(df)}const PF={trailing:!0};function OF(e,t=25,n={}){if(n={...PF,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let r,o,s=[],i,a;const l=(f,d)=>(i=LF(e,f,d),i.finally(()=>{if(i=null,n.trailing&&a&&!o){const h=l(f,a);return a=null,h}}),i),c=function(...f){return n.trailing&&(a=f),i||new Promise(d=>{const h=!o&&n.leading;clearTimeout(o),o=setTimeout(()=>{o=null;const p=n.leading?r:l(this,f);a=null;for(const g of s)g(p);s=[]},t),h?(r=l(this,f),d(r)):s.push(d)})},u=f=>{f&&(clearTimeout(f),o=null)};return c.isPending=()=>!!o,c.cancel=()=>{u(o),s=[],a=null},c.flush=()=>
vendor: 5,567 bytes, line 4
4{if(u(o),!a||i)return;const f=a;return a=null,l(this,f)},c}async function LF(e,t,n){return await e.apply(t,n)}const V_=/#/g,$F=/&/g,xF=/\//g,IF=/=/g,NF=/\?/g,z_=/\+/g,MF=/%5B/g,BF=/%5D/g,q_=/%5E/g,jF=/%60/g,K_=/%7B/g,HF=/%7C/g,G_=/%7D/g,UF=/%20/g;function hf(e){return e==null?"":encodeURI(""+e).replace(HF,"|").replace(MF,"[").replace(BF,"]")}function WF(e){return hf(e).replace(K_,"{").replace(G_,"}").replace(q_,"^")}function Gu(e){return hf(e).replace(z_,"%2B").replace(UF,"+").replace(V_,"%23").replace($F,"%26").replace(jF,"`").replace(K_,"{").replace(G_,"}").replace(q_,"^")}function VF(e){return Gu(e).replace(IF,"%3D")}function zF(e){return hf(e).replace(V_,"%23").replace(NF,"%3F")}function qF(e){return zF(e).replace(xF,"%2F")}function fa(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const KF=/\/$/,GF=e=>e.replace(KF,"");function Wl(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return l=a>=0&&l>a?-1:l,l>=0&&(r=t.slice(0,l),s=t.slice(l,a>0?a:t.length),o=e(s.slice(1))),a>=0&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=QF(r??t,n),{fullPath:r+s+i,path:r,query:o,hash:fa(i)}}function YF(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ah(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function XF(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Vo(t.matched[r],n.matched[o])&&Y_(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Vo(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Y_(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!JF(e[n],t[n]))return!1;return!0}function JF(e,t){return _n(e)?lh(e,t):_n(t)?lh(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function lh(e,t){return _n(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function QF(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}const Kt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};function ZF(e){if(!e)if(Do){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),GF(e)}const eA=/^[^#]+#/;function tA(e,t){return e.replace(eA,"#")+t}function nA(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 Ja=()=>({left:window.scrollX,top:window.scrollY});function rA(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=nA(o,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 uh(e,t){return(history.state?history.state.position-t:-1)+e}const Yu=new Map;function oA(e,t){Yu.set(e,t)}function sA(e){const t=Yu.get(e);return Yu.delete(e),t}function iA(e){return typeof e=="string"||e&&typeof e=="object"}function X_(e){return typeof e=="string"||typeof e=="symbol"}function aA(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 o=n[r].replace(z_," "),s=o.indexOf("="),i=fa(s<0?o:o.slice(0,s)),a=s<0?null:fa(o.slice(s+1));if(i in t){let l=t[i];_n(l)||(l=t[i]=[l]),l.push(a)}else t[i]=a}return t}function ch(e){let t="";for(let n in e){const r=e[n];if(n=VF(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(_n(r)?r.map(o=>o&&Gu(o)):[r&&Gu(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function lA(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=_n(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}function ds(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function mr(e,t,n,r,o,s=i=>i()){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const c=d=>{d===!1?l(Wo(4,{from:n,to:t})):d instanceof Error?l(d):iA(d)?l(Wo(2,{from:t,to:d})):(i&&r.enterCallbacks[o]===i&&typeof d=="function"&&i.push(d),a())},u=s(()=>e.call(r&&r.instances[o],t,n,c));let f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch(d=>l(d))})}function Vl(e,t,n,r,o=s=>s()){const s=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(H_(l)){const c=(l.__vccOpts||l)[t];c&&s.push(mr(c,n,r,i,a,o))}else{let c=l();s.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const f=kF(u)?u.default:u;i.mods[a]=u,i.components[a]=f;const d=(f.__vccOpts||f)[t];return d&&mr(d,n,r,i,a,o)()}))}}return s}function uA(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;i<s;i++){const a=t.matched[i];a&&(e.matched.find(c=>Vo(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>Vo(c,l))||o.push(l))}return[n,r,o]}let cA=()=>location.protocol+"//"+location.host;function J_(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let i=o.includes(e.slice(s))?e.slice(s).length:1,a=o.slice(i);
4return a[0]!=="/"&&(a="/"+a),ah(a,"")}return ah(n,e)+r+o}function fA(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const h=J_(e,location),p=n.value,g=t.value;let v=0;if(d){if(n.value=h,t.value=d,i&&i===p){i=null;return}v=g?d.position-g.position:0}else r(h);o.forEach(m=>{m(n.value,p,{delta:v,type:"pop",direction:v?v>0?"forward":"back":""})})};function l(){i=n.value}function c(d){o.push(d);const h=()=>{const p=o.indexOf(d);p>-1&&o.splice(p,1)};return s.push(h),h}function u(){if(document.visibilityState==="hidden"){const{history:d}=window;if(!d.state)return;d.replaceState(Ie({},d.state,{scroll:Ja()}),"")}}function f(){for(const d of s)d();s=[],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 fh(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Ja():null}}function dA(e){const{history:t,location:n}=window,r={value:J_(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:cA()+e+l;try{t[u?"replaceState":"pushState"](c,"",d),o.value=c}catch{n[u?"replace":"assign"](d)}}function i(l,c){s(l,Ie({},t.state,fh(o.value.back,l,o.value.forward,!0),c,{position:o.value.position}),!0),r.value=l}function a(l,c){const u=Ie({},o.value,t.state,{forward:l,scroll:Ja()});s(u.current,u,!0),s(l,Ie({},fh(r.value,l,null),{position:u.position+1},c),!1),r.value=l}return{location:r,state:o,push:a,replace:i}}function hA(e){e=ZF(e);const t=dA(e),n=fA(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=Ie({location:"",base:e,go:r,createHref:tA.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}const pA={type:0,value:""},mA=/[a-zA-Z0-9_]/;function gA(e){if(!e)return[[]];if(e==="/")return[[pA]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let a=0,l,c="",u="";function f(){c&&(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.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:mA.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(),o}const dh="[^/]+?",_A={sensitive:!1,strict:!1,start:!0,end:!0},vA=/[.+*?^${}()[\]/\\]/g;function yA(e,t){const n=Ie({},_A,t),r=[];let o=n.start?"^":"";const s=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let f=0;f<c.length;f++){const d=c[f];let h=40+(n.sensitive?.25:0);if(d.type===0)f||(o+="/"),o+=d.value.replace(vA,"\\$&"),h+=40;else if(d.type===1){const{value:p,repeatable:g,optional:v,regexp:m}=d;s.push({name:p,repeatable:g,optional:v});const y=m||dh;if(y!==dh){h+=10;try{new RegExp(`(${y})`)}catch(D){throw new Error(`Invalid custom RegExp for param "${p}" (${y}): `+D.message)}}let _=g?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;f||(_=v&&c.length<2?`(?:/${_})`:"/"+_),v&&(_+="?"),o+=_,h+=20,v&&(h+=-8),g&&(h+=-20),y===".*"&&(h+=-50)}u.push(h)}r.push(u)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const i=new RegExp(o,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 h=u[d]||"",p=s[d-1];f[p.name]=h&&p.repeatable?h.split("/"):h}return f}function l(c){let u="",f=!1;for(const d of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const h of d)if(h.type===0)u+=h.value;else if(h.type===1){const{value:p,repeatable:g,optional:v}=h,m=p in c?c[p]:"";if(_n(m)&&!g)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const y=_n(m)?m.join("/"):m;if(!y)if(v)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);u+=y}}return u||"/"}return{re:i,score:r,keys:s,parse:a,stringify:l}}function DA(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}
vendor: 9,140 bytes, line 4
4return 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 Q_(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=DA(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(hh(r))return 1;if(hh(o))return-1}return o.length-r.length}function hh(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const bA={strict:!1,end:!0,sensitive:!1};function wA(e,t,n){const r=yA(gA(e.path),n),o=Ie(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function EA(e,t){const n=[],r=new Map;t=sh(bA,t);function o(f){return r.get(f)}function s(f,d,h){const p=!h,g=mh(f);g.aliasOf=h&&h.record;const v=sh(t,f),m=[g];if("alias"in f){const D=typeof f.alias=="string"?[f.alias]:f.alias;for(const b of D)m.push(mh(Ie({},g,{components:h?h.record.components:g.components,path:b,aliasOf:h?h.record:g})))}let y,_;for(const D of m){const{path:b}=D;if(d&&b[0]!=="/"){const A=d.record.path,E=A[A.length-1]==="/"?"":"/";D.path=d.record.path+(b&&E+b)}if(y=wA(D,d,v),h?h.alias.push(y):(_=_||y,_!==y&&_.alias.push(y),p&&f.name&&!gh(y)&&i(f.name)),Z_(y)&&l(y),g.children){const A=g.children;for(let E=0;E<A.length;E++)s(A[E],y,h&&h.children[E])}h=h||y}return _?()=>{i(_)}:Ss}function i(f){if(X_(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=AA(f,n);n.splice(d,0,f),f.record.name&&!gh(f)&&r.set(f.record.name,f)}function c(f,d){let h,p={},g,v;if("name"in f&&f.name){if(h=r.get(f.name),!h)throw Wo(1,{location:f});v=h.record.name,p=Ie(ph(d.params,h.keys.filter(_=>!_.optional).concat(h.parent?h.parent.keys.filter(_=>_.optional):[]).map(_=>_.name)),f.params&&ph(f.params,h.keys.map(_=>_.name))),g=h.stringify(p)}else if(f.path!=null)g=f.path,h=n.find(_=>_.re.test(g)),h&&(p=h.parse(g),v=h.record.name,h.keys.forEach(_=>{_.optional&&!p[_.name]&&delete p[_.name]}));else{if(h=d.name?r.get(d.name):n.find(_=>_.re.test(d.path)),!h)throw Wo(1,{location:f,currentLocation:d});v=h.record.name,p=Ie({},d.params,f.params),g=h.stringify(p)}const m=[];let y=h;for(;y;)m.unshift(y.record),y=y.parent;return{name:v,path:g,params:p,matched:m,meta:FA(m)}}e.forEach(f=>s(f));function u(){n.length=0,r.clear()}return{addRoute:s,resolve:c,removeRoute:i,clearRoutes:u,getRoutes:a,getRecordMatcher:o}}function ph(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function mh(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:CA(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 CA(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 gh(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function FA(e){return e.reduce((t,n)=>Ie(t,n.meta),{})}function AA(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;Q_(e,t[s])<0?r=s:n=s+1}const o=SA(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function SA(e){let t=e;for(;t=t.parent;)if(Z_(t)&&Q_(e,t)===0)return t}function Z_({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function _h(e){const t=et(ff),n=et(df),r=K(()=>{const l=N(e.to);return t.resolve(l)}),o=K(()=>{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(Vo.bind(null,u));if(d>-1)return d;const h=vh(l[c-2]);return c>1&&vh(u)===h&&f[f.length-1].path!==h?f.findIndex(Vo.bind(null,l[c-2])):d}),s=K(()=>o.value>-1&&RA(n.params,r.value.params)),i=K(()=>o.value>-1&&o.value===n.matched.length-1&&Y_(n.params,r.value.params));function a(l={}){if(kA(l)){const c=t[N(e.replace)?"replace":"push"](N(e.to)).catch(Ss);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:r,href:K(()=>r.value.href),isActive:s,isExactActive:i,navigate:a}}function TA(e){return e.length===1?e[0]:e}const ev=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:_h,setup(e,{slots:t}){const n=it(_h(e)),{options:r}=et(ff),o=K(()=>({[yh(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[yh(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&TA(t.default(n));return e.custom?s:we("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}});function kA(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 RA(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!_n(o)||o.length!==r.length||r.some((s,i)=>s.valueOf()!==o[i].valueOf()))return!1}return!0}function vh(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const yh=(e,t,n)=>e??t??n,PA=ge({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=et(Ku),o=K(()=>e.route||r.value),s=et(ih,0),i=K(()=>{let c=N(s);const{matched:u}=o.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=K(()=>o.value.matched[i.value]);Xn(ih,K(()=>i.value+1)),Xn(RF,a),Xn(Ku,o);const l=Q();return De(()=>[l.value,a.value,e.name],([c,u,f],[d,h,p])=>{u&&(u.instances[f]=c,h&&h!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!Vo(u,h)||!d)&&(u.enterCallbacks[f]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return Dh(n.default,{Component:d,route:c});const h=f.props[u],p=h?h===!0?c.params:typeof h=="function"?h(c):h:null,v=we(d,Ie({},p,t,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return Dh(n.default,{Component:v,route:c})||v}}});function Dh(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const tv=PA;function OA(e){const t=EA(e.routes,e),n=e.parseQuery||aA,r=e.stringifyQuery||ch,o=e.history,s=ds(),i=ds(),a=ds(),l=ie(Kt);let c=Kt;Do&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ul.bind(null,H=>""+H),f=Ul.bind(null,qF),d=Ul.bind(null,fa);function h(H,re){let te,le;return X_(H)?(te=t.getRecordMatcher(H),le=re):le=H,t.addRoute(le,te)}function p(H){const re=t.getRecordMatcher(H);re&&t.removeRoute(re)}function g(){return t.getRoutes().map(H=>H.record)}function v(H){return!!t.getRecordMatcher(H)}function m(H,re){if(re=Ie({},re||l.value),typeof H=="string"){const T=Wl(n,H,re.path),$=t.resolve({path:T.path},re),q=o.createHref(T.fullPath);return Ie(T,$,{params:d($.params),redirectedFrom:void 0,href:q})}let te;if(H.path!=null)te=Ie({},H,{path:Wl(n,H.path,re.path).path});else{const T=Ie({},H.params);for(const $ in T)T[$]==null&&delete T[$];te=Ie({},H,{params:f(T)}),re.params=f(re.params)}const le=t.resolve(te,re),ve=H.hash||"";le.params=u(d(le.params));const je=YF(r,Ie({},H,{hash:WF(ve),path:le.path})),C=o.createHref(je);return Ie({fullPath:je,hash:ve,query:r===ch?lA(H.query):H.query||{}},le,{redirectedFrom:void 0,href:C})}function y(H){return typeof H=="string"?Wl(n,H,l.value.path):Ie({},H)}function _(H,re){if(c!==H)return Wo(8,{from:re,to:H})}function D(H){return E(H)}function b(H){return D(Ie(y(H),{replace:!0}))}function A(H,re){const te=H.matched[H.matched.length-1];if(te&&te.redirect){const{redirect:le}=te;let ve=typeof le=="function"?le(H,re):le;return typeof ve=="string"&&(ve=ve.includes("?")||ve.includes("#")?ve=y(ve):{path:ve},ve.params={}),Ie({query:H.query,hash:H.hash,params:ve.path!=null?{}:H.params},ve)}}function E(H,re){const te=c=m(H),le=l.value,ve=H.state,je=H.force,C=H.replace===!0,T=A(te,le);if(T)return E(Ie(y(T),{state:typeof T=="object"?Ie({},ve,T.state):ve,force:je,replace:C}),re||te);const $=te;$.redirectedFrom=re;let q;return!je&&XF(r,le,te)&&(q=Wo(16,{to:$,from:le}),Oe(le,le,!0,!1)),(q?Promise.resolve(q):k($,le)).catch(j=>Bn(j)?Bn(j,2)?j:Qe(j):Y(j,$,le)).then(j=>{if(j){if(Bn(j,2))return E(Ie({replace:C},y(j.to),{state:typeof j.to=="object"?Ie({},ve,j.to.state):ve,force:je}),re||$)}else j=L($,le,!0,C,ve);return M($,le,j),j})}function O(H,re){const te=_(H,re);return te?Promise.reject(te):Promise.resolve()}function S(H){const re=vt.values().next().value;return re&&typeof re.runWithContext=="function"?re.runWithContext(H):H()}
4function k(H,re){let te;const[le,ve,je]=uA(H,re);te=Vl(le.reverse(),"beforeRouteLeave",H,re);for(const T of le)T.leaveGuards.forEach($=>{te.push(mr($,H,re))});const C=O.bind(null,H,re);return te.push(C),lt(te).then(()=>{te=[];for(const T of s.list())te.push(mr(T,H,re));return te.push(C),lt(te)}).then(()=>{te=Vl(ve,"beforeRouteUpdate",H,re);for(const T of ve)T.updateGuards.forEach($=>{te.push(mr($,H,re))});return te.push(C),lt(te)}).then(()=>{te=[];for(const T of je)if(T.beforeEnter)if(_n(T.beforeEnter))for(const $ of T.beforeEnter)te.push(mr($,H,re));else te.push(mr(T.beforeEnter,H,re));return te.push(C),lt(te)}).then(()=>(H.matched.forEach(T=>T.enterCallbacks={}),te=Vl(je,"beforeRouteEnter",H,re,S),te.push(C),lt(te))).then(()=>{te=[];for(const T of i.list())te.push(mr(T,H,re));return te.push(C),lt(te)}).catch(T=>Bn(T,8)?T:Promise.reject(T))}function M(H,re,te){a.list().forEach(le=>S(()=>le(H,re,te)))}function L(H,re,te,le,ve){const je=_(H,re);if(je)return je;const C=re===Kt,T=Do?history.state:{};te&&(le||C?o.replace(H.fullPath,Ie({scroll:C&&T&&T.scroll},ve)):o.push(H.fullPath,ve)),l.value=H,Oe(H,re,te,C),Qe()}let G;function U(){G||(G=o.listen((H,re,te)=>{if(!St.listening)return;const le=m(H),ve=A(le,St.currentRoute.value);if(ve){E(Ie(ve,{replace:!0,force:!0}),le).catch(Ss);return}c=le;const je=l.value;Do&&oA(uh(je.fullPath,te.delta),Ja()),k(le,je).catch(C=>Bn(C,12)?C:Bn(C,2)?(E(Ie(y(C.to),{force:!0}),le).then(T=>{Bn(T,20)&&!te.delta&&te.type==="pop"&&o.go(-1,!1)}).catch(Ss),Promise.reject()):(te.delta&&o.go(-te.delta,!1),Y(C,le,je))).then(C=>{C=C||L(le,je,!1),C&&(te.delta&&!Bn(C,8)?o.go(-te.delta,!1):te.type==="pop"&&Bn(C,20)&&o.go(-1,!1)),M(le,je,C)}).catch(Ss)}))}let Z=ds(),W=ds(),ee;function Y(H,re,te){Qe(H);const le=W.list();return le.length&&le.forEach(ve=>ve(H,re,te)),Promise.reject(H)}function ce(){return ee&&l.value!==Kt?Promise.resolve():new Promise((H,re)=>{Z.add([H,re])})}function Qe(H){return ee||(ee=!H,U(),Z.list().forEach(([re,te])=>H?te(H):re()),Z.reset()),H}function Oe(H,re,te,le){const{scrollBehavior:ve}=e;if(!Do||!ve)return Promise.resolve();const je=!te&&sA(uh(H.fullPath,0))||(le||!te)&&history.state&&history.state.scroll||null;return ot().then(()=>ve(H,re,je)).then(C=>C&&rA(C)).catch(C=>Y(C,H,re))}const Ke=H=>o.go(H);let at;const vt=new Set,St={currentRoute:l,listening:!0,addRoute:h,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:g,resolve:m,options:e,push:D,replace:b,go:Ke,back:()=>Ke(-1),forward:()=>Ke(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:W.add,isReady:ce,install(H){H.component("RouterLink",ev),H.component("RouterView",tv),H.config.globalProperties.$router=St,Object.defineProperty(H.config.globalProperties,"$route",{enumerable:!0,get:()=>N(l)}),Do&&!at&&l.value===Kt&&(at=!0,D(o.location).catch(le=>{}));const re={};for(const le in Kt)Object.defineProperty(re,le,{get:()=>l.value[le],enumerable:!0});H.provide(ff,St),H.provide(df,on(re)),H.provide(Ku,l);const te=H.unmount;vt.add(H),H.unmount=function(){vt.delete(H),vt.size<1&&(c=Kt,G&&G(),G=null,l.value=Kt,at=!1,ee=!1),te()}}};function lt(H){return H.reduce((re,te)=>re.then(()=>S(te)),Promise.resolve())}return St}const LA=/(:\w+)\([^)]+\)/g,$A=/(:\w+)[?+*]/g,xA=/:\w+/g,IA=(e,t)=>t.path.replace(LA,"$1").replace($A,"$1").replace(xA,n=>e.params[n.slice(1)]?.toString()||""),Xu=(e,t)=>{const n=e.route.matched.find(o=>o.components?.default===e.Component.type),r=t??n?.meta.key??(n&&IA(e.route,n));return typeof r=="function"?r(e.route):r},NA=(e,t)=>({default:()=>e?we(ab,e===!0?{}:e,t):t});function nv(e){return Array.isArray(e)?e:[e]}const MA="modulepreload",BA=function(e,t){return new URL(e,t).href},bh={},V=function(t,n,r){let o=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");o=c(n.map(u=>{if(u=BA(u,r),u in bh)return;bh[u]=!0;const f=u.endsWith(".css"),d=f?'[rel="stylesheet"]':"";if(r)for(let p=i.length-1;p>=0;p--){const g=i[p];if(g.href===u&&(!f||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${d}`))return;const h=document.createElement("link");
4if(h.rel=f?"stylesheet":MA,f||(h.as="script"),h.crossOrigin="",h.href=u,l&&h.setAttribute("nonce",l),document.head.appendChild(h),f)return new Promise((p,g)=>{h.addEventListener("load",p),h.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${u}`)))})}))}function s(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return o.then(i=>{for(const a of i||[])a.status==="rejected"&&s(a.reason);return t().catch(s)})},jA=null,HA={};function rn(e){if(typeof e!="object")return e;var t,n,r=Object.prototype.toString.call(e);if(r==="[object Object]"){if(e.constructor!==Object&&typeof e.constructor=="function"){n=new e.constructor;for(t in e)e.hasOwnProperty(t)&&n[t]!==e[t]&&(n[t]=rn(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:rn(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=rn(e[t])}return n}if(r==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=rn(e[t]);return n}return r==="[object Set]"?(n=new Set,e.forEach(function(o){n.add(rn(o))}),n):r==="[object Map]"?(n=new Map,e.forEach(function(o,s){n.set(rn(s),rn(o))}),n):r==="[object Date]"?new Date(+e):r==="[object RegExp]"?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):r==="[object DataView]"?new e.constructor(rn(e.buffer)):r==="[object ArrayBuffer]"?e.slice(0):r.slice(-6)==="Array]"?new e.constructor(e):e}const UA={storage:{driver:"cloudflare"},nuxt:{},env:"release",buildInfo:{version:"1.0.1",time:1785378365136,commit:"ace6a4c43a8d13c753a4bbd72a03adecbab250dc",shortCommit:"ace6a4c",branch:"release",env:"release"},pwaEnabled:!0},WA=VE(UA);function fo(){const e=fe();return e._appConfig||=it(WA),e._appConfig}const VA={middleware:["auth",()=>{if(!fo().pwaEnabled)return Ya("/settings/notifications")}]},wh={wideLayout:!0},zA={middleware:()=>{if(!fo().pwaEnabled)return Ya("/")}},qA={},KA=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,rv=new Set,Ju=typeof process=="object"&&process?process:{},ov=(e,t,n,r)=>{typeof Ju.emitWarning=="function"&&Ju.emitWarning(e,t,n,r)};let da=globalThis.AbortController,Eh=globalThis.AbortSignal;if(typeof da>"u"){Eh=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(r,o){this._onabort.push(o)}},da=class{constructor(){t()}signal=new Eh;abort(r){if(!this.signal.aborted){this.signal.reason=r,this.signal.aborted=!0;for(const o of this.signal._onabort)o(r);this.signal.onabort?.(r)}}};let e=Ju.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1";const t=()=>{e&&(e=!1,ov("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",t))}}const GA=e=>!rv.has(e),fr=e=>e&&e===Math.floor(e)&&e>0&&isFinite(e),sv=e=>fr(e)?e<=Math.pow(2,8)?Uint8Array:e<=Math.pow(2,16)?Uint16Array:e<=Math.pow(2,32)?Uint32Array:e<=Number.MAX_SAFE_INTEGER?Hi:null:null;class Hi extends Array{constructor(t){super(t),this.fill(0)}}class Co{heap;length;static#r=!1;static create(t){const n=sv(t);if(!n)return[];Co.#r=!0;const r=new Co(t,n);return Co.#r=!1,r}constructor(t,n){if(!Co.#r)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new n(t),this.length=0}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}}class pf{#r;#f;#m;#T;#g;#O;#L;#_;get perf(){return this.#_}ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#s;#v;#o;#n;#e;#u;#d;#l;#i;#y;#a;#D;#b;#h;#w;#S;#c;#$;static unsafeExposeInternals(t){return{starts:t.#b,ttls:t.#h,sizes:t.#D,keyMap:t.#o,keyList:t.#n,valList:t.#e,next:t.#u,prev:t.#d,get head(){return t.#l},get tail(){return t.#i}
4,free:t.#y,isBackgroundFetch:n=>t.#t(n),backgroundFetch:(n,r,o,s)=>t.#N(n,r,o,s),moveToTail:n=>t.#P(n),indexes:n=>t.#E(n),rindexes:n=>t.#C(n),isStale:n=>t.#p(n)}}get max(){return this.#r}get maxSize(){return this.#f}get calculatedSize(){return this.#v}get size(){return this.#s}get fetchMethod(){return this.#O}get memoMethod(){return this.#L}get dispose(){return this.#m}get onInsert(){return this.#T}get disposeAfter(){return this.#g}constructor(t){const{max:n=0,ttl:r,ttlResolution:o=1,ttlAutopurge:s,updateAgeOnGet:i,updateAgeOnHas:a,allowStale:l,dispose:c,onInsert:u,disposeAfter:f,noDisposeOnSet:d,noUpdateTTL:h,maxSize:p=0,maxEntrySize:g=0,sizeCalculation:v,fetchMethod:m,memoMethod:y,noDeleteOnFetchRejection:_,noDeleteOnStaleGet:D,allowStaleOnFetchRejection:b,allowStaleOnFetchAbort:A,ignoreFetchAbort:E,perf:O}=t;if(O!==void 0&&typeof O?.now!="function")throw new TypeError("perf option must have a now() method if specified");if(this.#_=O??KA,n!==0&&!fr(n))throw new TypeError("max option must be a nonnegative integer");const S=n?sv(n):Array;if(!S)throw new Error("invalid max value: "+n);if(this.#r=n,this.#f=p,this.maxEntrySize=g||this.#f,this.sizeCalculation=v,this.sizeCalculation){if(!this.#f&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(y!==void 0&&typeof y!="function")throw new TypeError("memoMethod must be a function if defined");if(this.#L=y,m!==void 0&&typeof m!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#O=m,this.#S=!!m,this.#o=new Map,this.#n=new Array(n).fill(void 0),this.#e=new Array(n).fill(void 0),this.#u=new S(n),this.#d=new S(n),this.#l=0,this.#i=0,this.#y=Co.create(n),this.#s=0,this.#v=0,typeof c=="function"&&(this.#m=c),typeof u=="function"&&(this.#T=u),typeof f=="function"?(this.#g=f,this.#a=[]):(this.#g=void 0,this.#a=void 0),this.#w=!!this.#m,this.#$=!!this.#T,this.#c=!!this.#g,this.noDisposeOnSet=!!d,this.noUpdateTTL=!!h,this.noDeleteOnFetchRejection=!!_,this.allowStaleOnFetchRejection=!!b,this.allowStaleOnFetchAbort=!!A,this.ignoreFetchAbort=!!E,this.maxEntrySize!==0){if(this.#f!==0&&!fr(this.#f))throw new TypeError("maxSize must be a positive integer if specified");if(!fr(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#V()}if(this.allowStale=!!l,this.noDeleteOnStaleGet=!!D,this.updateAgeOnGet=!!i,this.updateAgeOnHas=!!a,this.ttlResolution=fr(o)||o===0?o:1,this.ttlAutopurge=!!s,this.ttl=r||0,this.ttl){if(!fr(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#M()}if(this.#r===0&&this.ttl===0&&this.#f===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#r&&!this.#f){const k="LRU_CACHE_UNBOUNDED";GA(k)&&(rv.add(k),ov("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",k,pf))}}getRemainingTTL(t){return this.#o.has(t)?1/0:0}#M(){const t=new Hi(this.#r),n=new Hi(this.#r);this.#h=t,this.#b=n,this.#B=(s,i,a=this.#_.now())=>{if(n[s]=i!==0?a:0,t[s]=i,i!==0&&this.ttlAutopurge){const l=setTimeout(()=>{this.#p(s)&&this.#F(this.#n[s],"expire")},i+1);l.unref&&l.unref()}},this.#k=s=>{n[s]=t[s]!==0?this.#_.now():0},this.#A=(s,i)=>{if(t[i]){const a=t[i],l=n[i];if(!a||!l)return;s.ttl=a,s.start=l,s.now=r||o();const c=s.now-l;s.remainingTTL=a-c}};let r=0;const o=()=>{const s=this.#_.now();if(this.ttlResolution>0){r=s;const i=setTimeout(()=>r=0,this.ttlResolution);i.unref&&i.unref()}return s};this.getRemainingTTL=s=>{const i=this.#o.get(s);if(i===void 0)return 0;const a=t[i],l=n[i];if(!a||!l)return 1/0;const c=(r||o())-l;return a-c},this.#p=s=>{const i=n[s],a=t[s];return!!a&&!!i&&(r||o())-i>a}}#k=()=>{};#A=()=>{};#B=()=>{};#p=()=>!1;#V(){const t=new Hi(this.#r);this.#v=0,this.#D=t,this.#R=n=>{this.#v-=t[n],t[n]=0},this.#j=(n,r,o,s)=>{if(this.#t(r))return 0;if(!fr(o))if(s){if(typeof s!="function")throw new TypeError("sizeCalculation must be a function");if(o=s(r,n),!fr(o))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return o},this.#x=(n,r,o)=>{if(t[n]=r,this.#f){const s=this.#f-t[n];for(;this.#v>s;)this.#I(!0)}this.#v+=t[n],o&&(o.entrySize=r,o.totalCalculatedSize=this.#v)}}#R=t=>{};#x=(t,n,r)=>{};#j=(t,n,r,o)=>{if(r||o)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#E({allowStale:t=this.allowStale}={}){if(this.#s)for(let n=this.#i;!(!this.#H(n)||((t||!this.#p(n))&&(yield n),n===this.#l));)n=this.#d[n]}
4*#C({allowStale:t=this.allowStale}={}){if(this.#s)for(let n=this.#l;!(!this.#H(n)||((t||!this.#p(n))&&(yield n),n===this.#i));)n=this.#u[n]}#H(t){return t!==void 0&&this.#o.get(this.#n[t])===t}*entries(){for(const t of this.#E())this.#e[t]!==void 0&&this.#n[t]!==void 0&&!this.#t(this.#e[t])&&(yield[this.#n[t],this.#e[t]])}*rentries(){for(const t of this.#C())this.#e[t]!==void 0&&this.#n[t]!==void 0&&!this.#t(this.#e[t])&&(yield[this.#n[t],this.#e[t]])}*keys(){for(const t of this.#E()){const n=this.#n[t];n!==void 0&&!this.#t(this.#e[t])&&(yield n)}}*rkeys(){for(const t of this.#C()){const n=this.#n[t];n!==void 0&&!this.#t(this.#e[t])&&(yield n)}}*values(){for(const t of this.#E())this.#e[t]!==void 0&&!this.#t(this.#e[t])&&(yield this.#e[t])}*rvalues(){for(const t of this.#C())this.#e[t]!==void 0&&!this.#t(this.#e[t])&&(yield this.#e[t])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(t,n={}){for(const r of this.#E()){const o=this.#e[r],s=this.#t(o)?o.__staleWhileFetching:o;if(s!==void 0&&t(s,this.#n[r],this))return this.get(this.#n[r],n)}}forEach(t,n=this){for(const r of this.#E()){const o=this.#e[r],s=this.#t(o)?o.__staleWhileFetching:o;s!==void 0&&t.call(n,s,this.#n[r],this)}}rforEach(t,n=this){for(const r of this.#C()){const o=this.#e[r],s=this.#t(o)?o.__staleWhileFetching:o;s!==void 0&&t.call(n,s,this.#n[r],this)}}purgeStale(){let t=!1;for(const n of this.#C({allowStale:!0}))this.#p(n)&&(this.#F(this.#n[n],"expire"),t=!0);return t}info(t){const n=this.#o.get(t);if(n===void 0)return;const r=this.#e[n],o=this.#t(r)?r.__staleWhileFetching:r;if(o===void 0)return;const s={value:o};if(this.#h&&this.#b){const i=this.#h[n],a=this.#b[n];if(i&&a){const l=i-(this.#_.now()-a);s.ttl=l,s.start=Date.now()}}return this.#D&&(s.size=this.#D[n]),s}dump(){const t=[];for(const n of this.#E({allowStale:!0})){const r=this.#n[n],o=this.#e[n],s=this.#t(o)?o.__staleWhileFetching:o;if(s===void 0||r===void 0)continue;const i={value:s};if(this.#h&&this.#b){i.ttl=this.#h[n];const a=this.#_.now()-this.#b[n];i.start=Math.floor(Date.now()-a)}this.#D&&(i.size=this.#D[n]),t.unshift([r,i])}return t}load(t){this.clear();for(const[n,r]of t){if(r.start){const o=Date.now()-r.start;r.start=this.#_.now()-o}this.set(n,r.value,r)}}set(t,n,r={}){if(n===void 0)return this.delete(t),this;const{ttl:o=this.ttl,start:s,noDisposeOnSet:i=this.noDisposeOnSet,sizeCalculation:a=this.sizeCalculation,status:l}=r;let{noUpdateTTL:c=this.noUpdateTTL}=r;const u=this.#j(t,n,r.size||0,a);if(this.maxEntrySize&&u>this.maxEntrySize)return l&&(l.set="miss",l.maxEntrySizeExceeded=!0),this.#F(t,"set"),this;let f=this.#s===0?void 0:this.#o.get(t);if(f===void 0)f=this.#s===0?this.#i:this.#y.length!==0?this.#y.pop():this.#s===this.#r?this.#I(!1):this.#s,this.#n[f]=t,this.#e[f]=n,this.#o.set(t,f),this.#u[this.#i]=f,this.#d[f]=this.#i,this.#i=f,this.#s++,this.#x(f,u,l),l&&(l.set="add"),c=!1,this.#$&&this.#T?.(n,t,"add");else{this.#P(f);const d=this.#e[f];if(n!==d){if(this.#S&&this.#t(d)){d.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:h}=d;h!==void 0&&!i&&(this.#w&&this.#m?.(h,t,"set"),this.#c&&this.#a?.push([h,t,"set"]))}else i||(this.#w&&this.#m?.(d,t,"set"),this.#c&&this.#a?.push([d,t,"set"]));if(this.#R(f),this.#x(f,u,l),this.#e[f]=n,l){l.set="replace";const h=d&&this.#t(d)?d.__staleWhileFetching:d;h!==void 0&&(l.oldValue=h)}}else l&&(l.set="update");this.#$&&this.onInsert?.(n,t,n===d?"update":"replace")}if(o!==0&&!this.#h&&this.#M(),this.#h&&(c||this.#B(f,o,s),l&&this.#A(l,f)),!i&&this.#c&&this.#a){const d=this.#a;let h;for(;h=d?.shift();)this.#g?.(...h)}return this}pop(){try{for(;this.#s;){const t=this.#e[this.#l];if(this.#I(!0),this.#t(t)){if(t.__staleWhileFetching)return t.__staleWhileFetching}else if(t!==void 0)return t}}finally{if(this.#c&&this.#a){const t=this.#a;let n;for(;n=t?.shift();)this.#g?.(...n)}}}#I(t){const n=this.#l,r=this.#n[n],o=this.#e[n];return this.#S&&this.#t(o)?o.__abortController.abort(new Error("evicted")):(this.#w||this.#c)&&(this.#w&&this.#m?.(o,r,"evict"),this.#c&&this.#a?.push([o,r,"evict"])),this.#R(n),t&&(this.#n[n]=void 0,this.#e[n]=void 0,this.#y.push(n)),this.#s===1?(this.#l=this.#i=0,this.#y.length=0):this.#l=this.#u[n],this.#o.delete(r),this.#s--,n}has(t,n={}){const{updateAgeOnHas:r=this.updateAgeOnHas,status:o}=n,s=this.#o.get(t);if(s!==void 0){const i=this.#e[s];if(this.#t(i)&&i.__staleWhileFetching===void 0)return!1;if(this.#p(s))o&&(o.has="stale",this.#A(o,s));else return r&&this.#k(s),o&&(o.has="hit",this.#A(o,s)),!0}else o&&(o.has="miss");return!1}peek(t,n={}){const{allowStale:r=this.allowStale}=n,o=this.#o.get(t);if(o===void 0||!r&&this.#p(o))return;const s=this.#e[o];return this.#t(s)?s.__staleWhileFetching:s}#N(t,n,r,o){const s=n===void 0?void 0:this.#e[n];if(this.#t(s))return s;const i=new da,{signal:a}=r;a?.addEventListener("abort",()=>i.abort(a.reason),{signal:i.signal});const l={signal:i.signal,options:r,context:o},c=(g,v=!1)=>{const{aborted:m}=i.signal,y=r.ignoreFetchAbort&&g!==void 0;if(r.status&&(m&&!v?(r.status.fetchAborted=!0,r.status.fetchError=i.signal.reason,y&&(r.status.fetchAbortIgnored=!0)):r.status.fetchResolved=!0),m&&!y&&!v)return f(i.signal.reason);const _=h,D=this.#e[n];return(D===h||y&&v&&D===void 0)&&(g===void 0?_.__staleWhileFetching!==void 0?this.#e[n]=_.__staleWhileFetching:this.#F(t,"fetch"):(r.status&&(r.status.fetchUpdated=!0),this.set(t,g,l.options))),g},u=g=>(r.status&&(r.status.fetchRejected=!0,r.status.fetchError=g),f(g)),f=g=>{const{aborted:v}=i.signal,m=v&&r.allowStaleOnFetchAbort,y=m||r.allowStaleOnFetchRejection,_=y||r.noDeleteOnFetchRejection,D=h;if(this.#e[n]===h&&(!_||D.__staleWhileFetching===void 0?this.#F(t,"fetch"):m||(this.#e[n]=D.__staleWhileFetching)),y)return r.status&&D.__staleWhileFetching!==void 0&&(r.status.returnedStale=!0),D.__staleWhileFetching;if(D.__returned===D)throw g},d=(g,v)=>{const m=this.#O?.(t,s,l);m&&m instanceof Promise&&m.then(y=>g(y===void 0?void 0:y),v),i.signal.addEventListener("abort",()=>{(!r.ignoreFetchAbort||r.allowStaleOnFetchAbort)&&(g(void 0),r.allowStaleOnFetchAbort&&(g=y=>c(y,!0)))})};
4r.status&&(r.status.fetchDispatched=!0);const h=new Promise(d).then(c,u),p=Object.assign(h,{__abortController:i,__staleWhileFetching:s,__returned:void 0});return n===void 0?(this.set(t,p,{...l.options,status:void 0}),n=this.#o.get(t)):this.#e[n]=p,p}#t(t){if(!this.#S)return!1;const n=t;return!!n&&n instanceof Promise&&n.hasOwnProperty("__staleWhileFetching")&&n.__abortController instanceof da}async fetch(t,n={}){const{allowStale:r=this.allowStale,updateAgeOnGet:o=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,ttl:i=this.ttl,noDisposeOnSet:a=this.noDisposeOnSet,size:l=0,sizeCalculation:c=this.sizeCalculation,noUpdateTTL:u=this.noUpdateTTL,noDeleteOnFetchRejection:f=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:d=this.allowStaleOnFetchRejection,ignoreFetchAbort:h=this.ignoreFetchAbort,allowStaleOnFetchAbort:p=this.allowStaleOnFetchAbort,context:g,forceRefresh:v=!1,status:m,signal:y}=n;if(!this.#S)return m&&(m.fetch="get"),this.get(t,{allowStale:r,updateAgeOnGet:o,noDeleteOnStaleGet:s,status:m});const _={allowStale:r,updateAgeOnGet:o,noDeleteOnStaleGet:s,ttl:i,noDisposeOnSet:a,size:l,sizeCalculation:c,noUpdateTTL:u,noDeleteOnFetchRejection:f,allowStaleOnFetchRejection:d,allowStaleOnFetchAbort:p,ignoreFetchAbort:h,status:m,signal:y};let D=this.#o.get(t);if(D===void 0){m&&(m.fetch="miss");const b=this.#N(t,D,_,g);return b.__returned=b}else{const b=this.#e[D];if(this.#t(b)){const k=r&&b.__staleWhileFetching!==void 0;return m&&(m.fetch="inflight",k&&(m.returnedStale=!0)),k?b.__staleWhileFetching:b.__returned=b}const A=this.#p(D);if(!v&&!A)return m&&(m.fetch="hit"),this.#P(D),o&&this.#k(D),m&&this.#A(m,D),b;const E=this.#N(t,D,_,g),S=E.__staleWhileFetching!==void 0&&r;return m&&(m.fetch=A?"stale":"refresh",S&&A&&(m.returnedStale=!0)),S?E.__staleWhileFetching:E.__returned=E}}async forceFetch(t,n={}){const r=await this.fetch(t,n);if(r===void 0)throw new Error("fetch() returned undefined");return r}memo(t,n={}){const r=this.#L;if(!r)throw new Error("no memoMethod provided to constructor");const{context:o,forceRefresh:s,...i}=n,a=this.get(t,i);if(!s&&a!==void 0)return a;const l=r(t,a,{options:i,context:o});return this.set(t,l,i),l}get(t,n={}){const{allowStale:r=this.allowStale,updateAgeOnGet:o=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,status:i}=n,a=this.#o.get(t);if(a!==void 0){const l=this.#e[a],c=this.#t(l);return i&&this.#A(i,a),this.#p(a)?(i&&(i.get="stale"),c?(i&&r&&l.__staleWhileFetching!==void 0&&(i.returnedStale=!0),r?l.__staleWhileFetching:void 0):(s||this.#F(t,"expire"),i&&r&&(i.returnedStale=!0),r?l:void 0)):(i&&(i.get="hit"),c?l.__staleWhileFetching:(this.#P(a),o&&this.#k(a),l))}else i&&(i.get="miss")}#U(t,n){this.#d[n]=t,this.#u[t]=n}#P(t){t!==this.#i&&(t===this.#l?this.#l=this.#u[t]:this.#U(this.#d[t],this.#u[t]),this.#U(this.#i,t),this.#i=t)}delete(t){return this.#F(t,"delete")}#F(t,n){let r=!1;if(this.#s!==0){const o=this.#o.get(t);if(o!==void 0)if(r=!0,this.#s===1)this.#W(n);else{this.#R(o);const s=this.#e[o];if(this.#t(s)?s.__abortController.abort(new Error("deleted")):(this.#w||this.#c)&&(this.#w&&this.#m?.(s,t,n),this.#c&&this.#a?.push([s,t,n])),this.#o.delete(t),this.#n[o]=void 0,this.#e[o]=void 0,o===this.#i)this.#i=this.#d[o];else if(o===this.#l)this.#l=this.#u[o];else{const i=this.#d[o];this.#u[i]=this.#u[o];const a=this.#u[o];this.#d[a]=this.#d[o]}this.#s--,this.#y.push(o)}}if(this.#c&&this.#a?.length){const o=this.#a;let s;for(;s=o?.shift();)this.#g?.(...s)}return r}clear(){return this.#W("delete")}#W(t){for(const n of this.#C({allowStale:!0})){const r=this.#e[n];if(this.#t(r))r.__abortController.abort(new Error("deleted"));else{const o=this.#n[n];this.#w&&this.#m?.(r,o,t),this.#c&&this.#a?.push([r,o,t])}}if(this.#o.clear(),this.#e.fill(void 0),this.#n.fill(void 0),this.#h&&this.#b&&(this.#h.fill(0),this.#b.fill(0)),this.#D&&this.#D.fill(0),this.#l=0,this.#i=0,this.#y.length=0,this.#v=0,this.#s=0,this.#c&&this.#a){const n=this.#a;let r;for(;r=n?.shift();)this.#g?.(...r)}}}const YA=500,iv="15px",Ch="elk-frozen",XA="elk-drafts",zl="elk-users",JA="elk-servers",QA="elk-nodes",ZA="elk-current-user-handle",e1="elk-settings",t1="elk-custom-emojis",t3="elk-hide-explore-posts-tips",n3="elk-hide-explore-ne
4ws-tips",r3="elk-hide-explore-tags-tips",n1="elk-notification",r1="elk-notification-policy",o1="elk-pwa-hide-install",o3="elk-last-accessed-notification-route",s3="elk-last-accessed-explore-route",i3="elk-bottom-nav-buttons",a3=["status","reblog","quote","follow","follow_request","favourite","poll","update","admin.sign_up","admin.report"],Fh={defaultTheme:"#cc7d24",themeDark:"#111111",themeLight:"#fafafa"};function Zt(e){return or()?(to(e),!0):!1}const ql=new WeakMap,s1=(...e)=>{var t;const n=e[0],r=(t=_t())==null?void 0:t.proxy;if(r==null&&!ao())throw new Error("injectLocal must be called in setup");return r&&ql.has(r)&&n in ql.get(r)?ql.get(r)[n]:et(...e)},oo=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const av=e=>e!=null,i1=Object.prototype.toString,a1=e=>i1.call(e)==="[object Object]",l3=(e,t,n)=>Math.min(n,Math.max(t,e)),pt=()=>{},Qu=l1();function l1(){var e,t;return oo&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function lv(...e){if(e.length!==1)return ja(...e);const t=e[0];return typeof t=="function"?kt(zc(()=>({get:t,set:pt}))):Q(t)}function mf(e,t){function n(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(s)})}return n}const uv=e=>e();function cv(e,t={}){let n,r,o=pt;const s=l=>{clearTimeout(l),o(),o=pt};let i;return l=>{const c=ae(e),u=ae(t.maxWait);return n&&s(n),c<=0||u!==void 0&&u<=0?(r&&(s(r),r=void 0),Promise.resolve(l())):new Promise((f,d)=>{o=t.rejectOnCancel?d:f,i=l,u&&!r&&(r=setTimeout(()=>{n&&s(n),r=void 0,f(i())},u)),n=setTimeout(()=>{r&&s(r),r=void 0,f(l())},c)})}}function u1(...e){let t=0,n,r=!0,o=pt,s,i,a,l,c;!Pe(e[0])&&typeof e[0]=="object"?{delay:i,trailing:a=!0,leading:l=!0,rejectOnCancel:c=!1}=e[0]:[i,a=!0,l=!0,c=!1]=e;const u=()=>{n&&(clearTimeout(n),n=void 0,o(),o=pt)};return d=>{const h=ae(i),p=Date.now()-t,g=()=>s=d();return u(),h<=0?(t=Date.now(),g()):(p>h&&(l||!r)?(t=Date.now(),g()):a&&(s=new Promise((v,m)=>{o=c?m:v,n=setTimeout(()=>{t=Date.now(),r=!0,v(g()),u()},Math.max(0,h-p))})),!l&&!n&&(n=setTimeout(()=>r=!0,h)),r=!1,s)}}function c1(e=uv,t={}){const{initialState:n="active"}=t,r=lv(n==="active");function o(){r.value=!1}function s(){r.value=!0}return{isActive:kt(r),pause:o,resume:s,eventFilter:(...a)=>{r.value&&e(...a)}}}function Ah(e,t=!1,n="Timeout"){return new Promise((r,o)=>{setTimeout(t?()=>o(n):r,e)})}function f1(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 u3(e){return e()}function d1(e,t){var n;if(typeof e=="number")return e+t;const r=((n=e.match(/^-?\d+\.?\d*/))==null?void 0:n[0])||"",o=e.slice(r.length),s=Number.parseFloat(r)+t;return Number.isNaN(s)?e:s+o}function Ts(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function ks(e){return Array.isArray(e)?e:[e]}function fv(e){return _t()}function h1(e,t=200,n={}){return mf(cv(t,n),e)}function p1(e,t=200,n=!1,r=!0,o=!1){return mf(u1(t,n,r,o),e)}function dv(e,t,n={}){const{eventFilter:r=uv,...o}=n;return De(e,mf(r,t),o)}function hv(e,t,n={}){const{eventFilter:r,initialState:o="active",...s}=n,{eventFilter:i,pause:a,resume:l,isActive:c}=c1(r,{initialState:o});return{stop:dv(e,t,{...s,eventFilter:i}),pause:a,resume:l,isActive:c}}function m1(e,t){fv()&&lo(e,t)}function oi(e,t=!0,n){fv()?Qt(e,n):t?e():ot(e)}function Zu(e,t=!1){function n(f,{flush:d="sync",deep:h=!1,timeout:p,throwOnTimeout:g}={}){let v=null;const y=[new Promise(_=>{v=De(e,D=>{f(D)!==t&&(v?v():ot(()=>v?.()),_(D))},{flush:d,deep:h,immediate:!0})})];return p!=null&&y.push(Ah(p,g).then(()=>ae(e)).finally(()=>v?.())),Promise.race(y)}function r(f,d){if(!Pe(f))return n(D=>D===f,d);const{flush:h="sync",deep:p=!1,timeout:g,throwOnTimeout:v}=d??{};let m=null;const _=[new Promise(D=>{m=De([e,f],([b,A])=>{t!==(b===A)&&(m?m():ot(()=>m?.()),D(b))},{flush:h,deep:p,immediate:!0})})];return g!=null&&_.push(Ah(g,v).then(()=>ae(e)).finally(()=>(m?.(),ae(e)))),Promise.race(_)}function o(f){return n(d=>!!d,f)}function s(f){return r(null,f)}function i(f){return r(void 0,f)}function a(f){return n(Number.isNaN,f)}function l(f,d){return n(h=>{const p=Array.from(h);return p.includes(f)||p.includes(ae(f))},d)}function c(f){return u(1,f)}function u(f=1,d){let h=-1;return n(()=>(h+=1,h>=f),d)}
4return Array.isArray(ae(e))?{toMatch:n,toContains:l,changed:c,changedTimes:u,get not(){return Zu(e,!t)}}:{toMatch:n,toBe:r,toBeTruthy:o,toBeNull:s,toBeNaN:a,toBeUndefined:i,changed:c,changedTimes:u,get not(){return Zu(e,!t)}}}function gf(e){return Zu(e)}function g1(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:o=!1}=n;let s=null;const i=ie(!1);function a(){s&&(clearInterval(s),s=null)}function l(){i.value=!1,a()}function c(){const u=ae(t);u<=0||(i.value=!0,o&&e(),a(),i.value&&(s=setInterval(e,u)))}if(r&&oo&&c(),Pe(t)||typeof t=="function"){const u=De(t,()=>{i.value&&oo&&c()});Zt(u)}return Zt(l),{isActive:bs(i),pause:l,resume:c}}function pv(e,t,n={}){const{immediate:r=!0,immediateCallback:o=!1}=n,s=ie(!1);let i;function a(){i&&(clearTimeout(i),i=void 0)}function l(){s.value=!1,a()}function c(...u){o&&e(),a(),s.value=!0,i=setTimeout(()=>{s.value=!1,i=void 0,e(...u)},ae(t))}return r&&(s.value=!0,oo&&c()),Zt(l),{isPending:bs(s),start:c,stop:l}}function c3(e=1e3,t={}){const{controls:n=!1,callback:r}=t,o=pv(r??pt,e,t),s=K(()=>!o.isPending.value);return n?{ready:s,...o}:s}function f3(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=Pe(e),s=ie(e);function i(a){if(arguments.length)return s.value=a,s.value;{const l=ae(n);return s.value=s.value===l?ae(r):l,s.value}}return o?i:[s,i]}function _1(e,t,n={}){const{debounce:r=0,maxWait:o=void 0,...s}=n;return dv(e,t,{...s,eventFilter:cv(r,{maxWait:o})})}function v1(e,t,n){return De(e,t,{...n,immediate:!0})}function y1(e,t,n){return De(e,t,{...n,once:!0})}function ut(e,t,n){return De(e,(o,s,i)=>{o&&t(o,s,i)},{...n,once:!1})}const ht=oo?window:void 0,_f=oo?window.navigator:void 0;function bt(e){var t;const n=ae(e);return(t=n?.$el)!=null?t:n}function Re(...e){const t=[],n=()=>{t.forEach(a=>a()),t.length=0},r=(a,l,c,u)=>(a.addEventListener(l,c,u),()=>a.removeEventListener(l,c,u)),o=K(()=>{const a=ks(ae(e[0])).filter(l=>l!=null);return a.every(l=>typeof l!="string")?a:void 0}),s=v1(()=>{var a,l;return[(l=(a=o.value)==null?void 0:a.map(c=>bt(c)))!=null?l:[ht].filter(c=>c!=null),ks(ae(o.value?e[1]:e[0])),ks(N(o.value?e[2]:e[1])),ae(o.value?e[3]:e[2])]},([a,l,c,u])=>{if(n(),!a?.length||!l?.length||!c?.length)return;const f=a1(u)?{...u}:u;t.push(...a.flatMap(d=>l.flatMap(h=>c.map(p=>r(d,h,p,f)))))},{flush:"post"}),i=()=>{s(),n()};return Zt(n),i}let Sh=!1;function d3(e,t,n={}){const{window:r=ht,ignore:o=[],capture:s=!0,detectIframe:i=!1,controls:a=!1}=n;if(!r)return a?{stop:pt,cancel:pt,trigger:pt}:pt;if(Qu&&!Sh){Sh=!0;const v={passive:!0};Array.from(r.document.body.children).forEach(m=>m.addEventListener("click",pt,v)),r.document.documentElement.addEventListener("click",pt,v)}let l=!0;const c=v=>ae(o).some(m=>{if(typeof m=="string")return Array.from(r.document.querySelectorAll(m)).some(y=>y===v.target||v.composedPath().includes(y));{const y=bt(m);return y&&(v.target===y||v.composedPath().includes(y))}});function u(v){const m=ae(v);return m&&m.$.subTree.shapeFlag===16}function f(v,m){const y=ae(v),_=y.$.subTree&&y.$.subTree.children;return _==null||!Array.isArray(_)?!1:_.some(D=>D.el===m.target||m.composedPath().includes(D.el))}const d=v=>{const m=bt(e);if(v.target!=null&&!(!(m instanceof Element)&&u(e)&&f(e,v))&&!(!m||m===v.target||v.composedPath().includes(m))){if("detail"in v&&v.detail===0&&(l=!c(v)),!l){l=!0;return}t(v)}};let h=!1;const p=[Re(r,"click",v=>{h||(h=!0,setTimeout(()=>{h=!1},0),d(v))},{passive:!0,capture:s}),Re(r,"pointerdown",v=>{const m=bt(e);l=!c(v)&&!!(m&&!v.composedPath().includes(m))},{passive:!0}),i&&Re(r,"blur",v=>{setTimeout(()=>{var m;const y=bt(e);((m=r.document.activeElement)==null?void 0:m.tagName)==="IFRAME"&&!y?.contains(r.document.activeElement)&&t(v)},0)},{passive:!0})].filter(Boolean),g=()=>p.forEach(v=>v());return a?{stop:g,cancel:()=>{l=!1},trigger:v=>{l=!0,d(v),l=!1}}:g}function D1(){const e=ie(!1),t=_t();return t&&Qt(()=>{e.value=!0},t),e}function kr(e){const t=D1();return K(()=>(t.value,!!e()))}function vf(e,t,n={}){const{window:r=ht,...o}=n;let s;const i=kr(()=>r&&"MutationObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},l=K(()=>{const d=ae(e),h=ks(d).map(bt).filter(av);return new Set(h)}),c=De(l,d=>{a(),i.value&&d.size&&(s=new MutationObserver(t),d.forEach(h=>s.observe(h,o)))},{immediate:!0,flush:"post"}),u=()=>s?.takeRecords(),f=()=>{c(),a()};return Zt(f),{isSupported:i,stop:f,takeRecords:u}}function mv(e,t,n={}){const{window:r=ht,document:o=r?.document,flush:s="sync"}=n;if(!r||!o)return pt;let i;const a=u=>{i?.(),i=u},l=Qr(()=>{const u=bt(e);if(u){const{stop:f}=vf(o,d=>{d.map(p=>[...p.removedNodes]).flat().some(p=>p===u||p.contains(u))&&t(d)},{window:r,childList:!0,subtree:!0});a(f)}},{flush:s}),c=()=>
4{l(),a()};return Zt(c),c}function gv(e={}){var t;const{window:n=ht,deep:r=!0,triggerOnRemoval:o=!1}=e,s=(t=e.document)!=null?t:n?.document,i=()=>{var c;let u=s?.activeElement;if(r)for(;u?.shadowRoot;)u=(c=u?.shadowRoot)==null?void 0:c.activeElement;return u},a=ie(),l=()=>{a.value=i()};if(n){const c={capture:!0,passive:!0};Re(n,"blur",u=>{u.relatedTarget===null&&l()},c),Re(n,"focus",l,c)}return o&&mv(a,l,{document:s}),l(),a}function b1(e,t={}){const{immediate:n=!0,fpsLimit:r=void 0,window:o=ht,once:s=!1}=t,i=ie(!1),a=K(()=>r?1e3/ae(r):null);let l=0,c=null;function u(h){if(!i.value||!o)return;l||(l=h);const p=h-l;if(a.value&&p<a.value){c=o.requestAnimationFrame(u);return}if(l=h,e({delta:p,timestamp:h}),s){i.value=!1,c=null;return}c=o.requestAnimationFrame(u)}function f(){!i.value&&o&&(i.value=!0,l=0,c=o.requestAnimationFrame(u))}function d(){i.value=!1,c!=null&&o&&(o.cancelAnimationFrame(c),c=null)}return n&&f(),Zt(d),{isActive:kt(i),pause:d,resume:f}}const w1=Symbol("vueuse-ssr-width");function _v(){const e=ao()?s1(w1,null):null;return typeof e=="number"?e:void 0}function zr(e,t={}){const{window:n=ht,ssrWidth:r=_v()}=t,o=kr(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),s=ie(typeof r=="number"),i=ie(),a=ie(!1),l=c=>{a.value=c.matches};return Qr(()=>{if(s.value){s.value=!o.value;const c=ae(e).split(",");a.value=c.some(u=>{const f=u.includes("not all"),d=u.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),h=u.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let p=!!(d||h);return d&&p&&(p=r>=Ts(d[1])),h&&p&&(p=r<=Ts(h[1])),f?!p:p});return}o.value&&(i.value=n.matchMedia(ae(e)),a.value=i.value.matches)}),Re(i,"change",l,{passive:!0}),K(()=>a.value)}const E1={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};function C1(e,t={}){function n(h,p){let g=ae(e[ae(h)]);return p!=null&&(g=d1(g,p)),typeof g=="number"&&(g=`${g}px`),g}const{window:r=ht,strategy:o="min-width",ssrWidth:s=_v()}=t,i=typeof s=="number",a=i?ie(!1):{value:!0};i&&oi(()=>a.value=!!r);function l(h,p){return!a.value&&i?h==="min"?s>=Ts(p):s<=Ts(p):r?r.matchMedia(`(${h}-width: ${p})`).matches:!1}const c=h=>zr(()=>`(min-width: ${n(h)})`,t),u=h=>zr(()=>`(max-width: ${n(h)})`,t),f=Object.keys(e).reduce((h,p)=>(Object.defineProperty(h,p,{get:()=>o==="min-width"?c(p):u(p),enumerable:!0,configurable:!0}),h),{});function d(){const h=Object.keys(e).map(p=>[p,f[p],Ts(n(p))]).sort((p,g)=>p[2]-g[2]);return K(()=>h.filter(([,p])=>p.value).map(([p])=>p))}return Object.assign(f,{greaterOrEqual:c,smallerOrEqual:u,greater(h){return zr(()=>`(min-width: ${n(h,.1)})`,t)},smaller(h){return zr(()=>`(max-width: ${n(h,-.1)})`,t)},between(h,p){return zr(()=>`(min-width: ${n(h)}) and (max-width: ${n(p,-.1)})`,t)},isGreater(h){return l("min",n(h,.1))},isGreaterOrEqual(h){return l("min",n(h))},isSmaller(h){return l("max",n(h,-.1))},isSmallerOrEqual(h){return l("max",n(h))},isInBetween(h,p){return l("min",n(h))&&l("max",n(p,-.1))},current:d,active(){const h=d();return K(()=>h.value.length===0?"":h.value.at(o==="min-width"?-1:0))}})}function Th(e,t={}){const{controls:n=!1,navigator:r=_f}=t,o=kr(()=>r&&"permissions"in r),s=ie(),i=typeof e=="string"?{name:e}:e,a=ie(),l=()=>{var u,f;a.value=(f=(u=s.value)==null?void 0:u.state)!=null?f:"prompt"};Re(s,"change",l,{passive:!0});const c=f1(async()=>{if(o.value){if(!s.value)try{s.value=await r.permissions.query(i)}catch{s.value=void 0}finally{l()}if(n)return Ee(s.value)}});return c(),n?{state:a,isSupported:o,query:c}:a}function h3(e={}){const{navigator:t=_f,read:n=!1,source:r,copiedDuring:o=1500,legacy:s=!1}=e,i=kr(()=>t&&"clipboard"in t),a=Th("clipboard-read"),l=Th("clipboard-write"),c=K(()=>i.value||s),u=ie(""),f=ie(!1),d=pv(()=>f.value=!1,o,{immediate:!1});async function h(){let y=!(i.value&&m(a.value));if(!y)try{u.value=await t.clipboard.readText()}catch{y=!0}y&&(u.value=v())}c.value&&n&&Re(["copy","cut"],h,{passive:!0});async function p(y=ae(r)){if(c.value&&y!=null){let _=!(i.value&&m(l.value));if(!_)try{await t.clipboard.writeText(y)}catch{_=!0}_&&g(y),u.value=y,f.value=!0,d.start()}}function g(y){const _=document.createElement("textarea");_.value=y??"",_.style.position="absolute",_.style.opacity="0",document.body.appendChild(_),_.select(),document.execCommand("copy"),_.remove()}function v(){var y,_,D;return(D=(_=(y=document?.getSelection)==null?void 0:y.call(document))==null?void 0:_.toString())!=null?D:""}function m(y){return y==="granted"||y==="prompt"}return{isSupported:c,text:u,copied:f,copy:p}}const vi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},yi="__vueuse_ssr_handlers__",F1=A1();function A1(){return yi in vi||(vi[yi]=vi[yi]||{}),vi[yi]}function S1(e,t){return F1[e]||t}function T1(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 k1={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()}},kh="vueuse-storage";function R1(e,t,n,r={}){var o;const{flush:s="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:f=ht,eventFilter:d,onError:h=U=>{},initOnMounted:p}=r,g=(u?ie:Q)(typeof t=="function"?t():t),v=K(()=>ae(e));if(!n)try{n=S1("getDefaultStorage",()=>{var U;return(U=ht)==null?void 0:U.localStorage})()}catch(U){h(U)}if(!n)return g;const m=ae(t),y=T1(m),_=(o=r.serializer)!=null?o:k1[y],{pause:D,resume:b}=hv(g,U=>k(U),{flush:s,deep:i,eventFilter:d});De(v,()=>L(),{flush:s});let A=!1;const E=U=>{p&&!A||L(U)},O=U=>{p&&!A||G(U)};f&&a&&(n instanceof Storage?Re(f,"storage",E,{passive:!0}):Re(f,kh,O)),p?oi(()=>{A=!0,L()}):L();function S(U,Z){if(f){const W={key:v.value,oldValue:U,newValue:Z,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",W):new CustomEvent(kh,{detail:W}))}}function k(U){try{const Z=n.getItem(v.value);if(U==null)S(Z,null),n.removeItem(v.value);else{const W=_.write(U);Z!==W&&(n.setItem(v.value,W),S(Z,W))}}catch(Z){h(Z)}}function M(U){const Z=U?U.newValue:n.getItem(v.value);if(Z==null)return l&&m!=null&&n.setItem(v.value,_.write(m)),m;if(!U&&c){const W=_.read(Z);return typeof c=="function"?c(W,m):y==="object"&&!Array.isArray(W)?{...m,...W}:W}else return typeof Z!="string"?Z:_.read(Z)}function L(U){if(!(U&&U.storageArea!==n)){if(U&&U.key==null){g.value=m;return}if(!(U&&U.key!==v.value)){D();try{const Z=_.write(g.value);(U===void 0||U?.newValue!==Z)&&(g.value=M(U))}catch(Z){h(Z)}finally{U?ot(b):b()}}}}function G(U){L(U.detail)}return g}function p3(e,t={}){var n,r;const o=ie(!1),s=ie(null);let i=0,a=!0;if(oo){const l=typeof t=="function"?{onDrop:t}:t,c=(n=l.multiple)!=null?n:!0,u=(r=l.preventDefaultForUnhandled)!=null?r:!1,f=v=>{var m,y;const _=Array.from((y=(m=v.dataTransfer)==null?void 0:m.files)!=null?y:[]);return _.length===0?null:c?_:[_[0]]},d=v=>{const m=N(l.dataTypes);return typeof m=="function"?m(v):m?.length?v.length===0?!1:v.every(y=>m.some(_=>y.includes(_))):!0},h=v=>{const m=Array.from(v??[]).map(D=>D.type),y=d(m),_=c||v.length<=1;return y&&_},p=()=>/^(?:(?!chrome|android).)*safari/i.test(navigator.userAgent)&&!("chrome"in window),g=(v,m)=>{var y,_,D,b,A,E;const O=(y=v.dataTransfer)==null?void 0:y.items;if(a=(_=O&&h(O))!=null?_:!1,u&&v.preventDefault(),!p()&&!a){v.dataTransfer&&(v.dataTransfer.dropEffect="none");return}v.preventDefault(),v.dataTransfer&&(v.dataTransfer.dropEffect="copy");const S=f(v);switch(m){case"enter":i+=1,o.value=!0,(D=l.onEnter)==null||D.call(l,null,v);break;case"over":(b=l.onOver)==null||b.call(l,null,v);break;case"leave":i-=1,i===0&&(o.value=!1),(A=l.onLeave)==null||A.call(l,null,v);break;case"drop":i=0,o.value=!1,a&&(s.value=S,(E=l.onDrop)==null||E.call(l,S,v));break}};Re(e,"dragenter",v=>g(v,"enter")),Re(e,"dragover",v=>g(v,"over")),Re(e,"dragleave",v=>g(v,"leave")),Re(e,"drop",v=>g(v,"drop"))}return{files:s,isOverDropZone:o}}function P1(e,t,n={}){const{window:r=ht,...o}=n;let s;const i=kr(()=>r&&"ResizeObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},l=K(()=>{const f=ae(e);return Array.isArray(f)?f.map(d=>bt(d)):[bt(f)]}),c=De(l,f=>{if(a(),i.value&&r){s=new ResizeObserver(t);for(const d of f)d&&s.observe(d,o)}},{immediate:!0,flush:"post"}),u=()=>{a(),c()};return Zt(u),{isSupported:i,stop:u}}function O1(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:o=!0,immediate:s=!0,updateTiming:i="sync"}=t,a=ie(0),l=ie(0),c=ie(0),u=ie(0),f=ie(0),d=ie(0),h=ie(0),p=ie(0);function g(){const m=bt(e);if(!m){n&&(a.value=0,l.value=0,c.value=0,u.value=0,f.value=0,d.value=0,h.value=0,p.value=0);return}const y=m.getBoundingClientRect();a.value=y.height,l.value=y.bottom,c.value=y.left,u.value=y.right,f.value=y.top,d.value=y.width,h.value=y.x,p.value=y.y}function v(){i==="sync"?g():i==="next-frame"&&requestAnimationFrame(()=>g())}return P1(e,v),De(()=>bt(e),m=>!m&&v()),vf(e,v,{attributeFilter:["style","class"]}),o&&Re("scroll",v,{capture:!0,passive:!0}),r&&Re("resize",v,{passive:!0}),oi(()=>{s&&v()}),{height:a,bottom:l,left:c,right:u,top:f,width:d,x:h,y:p,update:v}}function vv(e,t={}){const{delayEnter:n=0,delayLeave:r=0,triggerOnRemoval:o=!1,window:s=ht}=t,i=ie(!1);let a;const l=c=>{const u=c?n:r;a&&(clearTimeout(a),a=void 0),u?a=setTimeout(()=>i.value=c,u):i.value=c};return s&&(Re(e,"mouseenter",()=>l(!0),{passive:!0}),Re(e,"mouseleave",()=>l(!1),{passive:!0}),o&&mv(K(()=>bt(e)),()=>l(!1))),i}function m3(e,t,n={}){const{root:r,rootMargin:o="0px",threshold:s=0,window:i=ht,immediate:a=!0}=n,l=kr(()=>i&&"IntersectionObserver"in i),c=K(()=>{const p=ae(e);return ks(p).map(bt).filter(av)}
4);let u=pt;const f=ie(a),d=l.value?De(()=>[c.value,bt(r),f.value],([p,g])=>{if(u(),!f.value||!p.length)return;const v=new IntersectionObserver(t,{root:bt(g),rootMargin:o,threshold:s});p.forEach(m=>m&&v.observe(m)),u=()=>{v.disconnect(),u=pt}},{immediate:a,flush:"post"}):pt,h=()=>{u(),d(),f.value=!1};return Zt(h),{isSupported:l,isActive:f,pause(){u(),f.value=!1},resume(){f.value=!0},stop:h}}const hs=new Map;function L1(e){const t=or();function n(a){var l;const c=hs.get(e)||new Set;c.add(a),hs.set(e,c);const u=()=>o(a);return(l=t?.cleanups)==null||l.push(u),u}function r(a){function l(...c){o(l),a(...c)}return n(l)}function o(a){const l=hs.get(e);l&&(l.delete(a),l.size||s())}function s(){hs.delete(e)}function i(a,l){var c;(c=hs.get(e))==null||c.forEach(u=>u(a,l))}return{on:n,once:r,off:o,emit:i,reset:s}}const $1="focusin",x1="focusout",I1=":focus-within";function g3(e,t={}){const{window:n=ht}=t,r=K(()=>bt(e)),o=ie(!1),s=K(()=>o.value);if(!n||!gv(t).value)return{focused:s};const a={passive:!0};return Re(r,$1,()=>o.value=!0,a),Re(r,x1,()=>{var l,c,u;return o.value=(u=(c=(l=r.value)==null?void 0:l.matches)==null?void 0:c.call(l,I1))!=null?u:!1},a),{focused:s}}function Kl(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}const Rh=1;function N1(e,t={}){const{throttle:n=0,idle:r=200,onStop:o=pt,onScroll:s=pt,offset:i={left:0,right:0,top:0,bottom:0},observe:a={mutation:!1},eventListenerOptions:l={capture:!1,passive:!0},behavior:c="auto",window:u=ht,onError:f=S=>{}}=t,d=typeof a=="boolean"?{mutation:a}:a,h=ie(0),p=ie(0),g=K({get(){return h.value},set(S){m(S,void 0)}}),v=K({get(){return p.value},set(S){m(void 0,S)}});function m(S,k){var M,L,G,U;if(!u)return;const Z=ae(e);if(!Z)return;(G=Z instanceof Document?u.document.body:Z)==null||G.scrollTo({top:(M=ae(k))!=null?M:v.value,left:(L=ae(S))!=null?L:g.value,behavior:ae(c)});const W=((U=Z?.document)==null?void 0:U.documentElement)||Z?.documentElement||Z;g!=null&&(h.value=W.scrollLeft),v!=null&&(p.value=W.scrollTop)}const y=ie(!1),_=it({left:!0,right:!1,top:!0,bottom:!1}),D=it({left:!1,right:!1,top:!1,bottom:!1}),b=S=>{y.value&&(y.value=!1,D.left=!1,D.right=!1,D.top=!1,D.bottom=!1,o(S))},A=h1(b,n+r),E=S=>{var k;if(!u)return;const M=((k=S?.document)==null?void 0:k.documentElement)||S?.documentElement||bt(S),{display:L,flexDirection:G,direction:U}=getComputedStyle(M),Z=U==="rtl"?-1:1,W=M.scrollLeft;D.left=W<h.value,D.right=W>h.value;const ee=Math.abs(W*Z)<=(i.left||0),Y=Math.abs(W*Z)+M.clientWidth>=M.scrollWidth-(i.right||0)-Rh;L==="flex"&&G==="row-reverse"?(_.left=Y,_.right=ee):(_.left=ee,_.right=Y),h.value=W;let ce=M.scrollTop;S===u.document&&!ce&&(ce=u.document.body.scrollTop),D.top=ce<p.value,D.bottom=ce>p.value;const Qe=Math.abs(ce)<=(i.top||0),Oe=Math.abs(ce)+M.clientHeight>=M.scrollHeight-(i.bottom||0)-Rh;L==="flex"&&G==="column-reverse"?(_.top=Oe,_.bottom=Qe):(_.top=Qe,_.bottom=Oe),p.value=ce},O=S=>{var k;if(!u)return;const M=(k=S.target.documentElement)!=null?k:S.target;E(M),y.value=!0,A(S),s(S)};return Re(e,"scroll",n?p1(O,n,!0,!1):O,l),oi(()=>{try{const S=ae(e);if(!S)return;E(S)}catch(S){f(S)}}),d?.mutation&&e!=null&&e!==u&&e!==document&&vf(e,()=>{const S=ae(e);S&&E(S)},{attributes:!0,childList:!0,subtree:!0}),Re(e,"scrollend",b,l),{x:g,y:v,isScrolling:y,arrivedState:_,directions:D,measure(){const S=ae(e);u&&S&&E(S)}}}function Sr(e,t,n={}){const{window:r=ht}=n;return R1(e,t,r?.localStorage,n)}const M1={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function yv(e={}){const{reactive:t=!1,target:n=ht,aliasMap:r=M1,passive:o=!0,onEventFired:s=pt}=e,i=it(new Set),a={toJSON(){return{}},current:i},l=t?it(a):a,c=new Set,u=new Set,f=new Set;function d(v,m){v in l&&(t?l[v]=m:l[v].value=m)}function h(){i.clear();for(const v of f)d(v,!1)}function p(v,m){var y,_;const D=(y=v.key)==null?void 0:y.toLowerCase(),A=[(_=v.code)==null?void 0:_.toLowerCase(),D].filter(Boolean);D&&(m?i.add(D):i.delete(D));for(const E of A)f.add(E),d(E,m);if(D==="shift"&&!m){const E=Array.from(u),O=E.indexOf("shift");
4E.forEach((S,k)=>{k>=O&&(i.delete(S),d(S,!1))}),u.clear()}else typeof v.getModifierState=="function"&&v.getModifierState("Shift")&&m&&[...i,...A].forEach(E=>u.add(E));D==="meta"&&!m?(c.forEach(E=>{i.delete(E),d(E,!1)}),c.clear()):typeof v.getModifierState=="function"&&v.getModifierState("Meta")&&m&&[...i,...A].forEach(E=>c.add(E))}Re(n,"keydown",v=>(p(v,!0),s(v)),{passive:o}),Re(n,"keyup",v=>(p(v,!1),s(v)),{passive:o}),Re("blur",h,{passive:o}),Re("focus",h,{passive:o});const g=new Proxy(l,{get(v,m,y){if(typeof m!="string")return Reflect.get(v,m,y);if(m=m.toLowerCase(),m in r&&(m=r[m]),!(m in l))if(/[+_-]/.test(m)){const D=m.split(/[+_-]/g).map(b=>b.trim());l[m]=K(()=>D.map(b=>ae(g[b])).every(Boolean))}else l[m]=ie(!1);const _=Reflect.get(v,m,y);return t?ae(_):_}});return g}function B1(e={}){const{window:t=ht}=e,n=t?.navigator,r=kr(()=>n&&"connection"in n),o=ie(!0),s=ie(!1),i=ie(void 0),a=ie(void 0),l=ie(void 0),c=ie(void 0),u=ie(void 0),f=ie(void 0),d=ie("unknown"),h=r.value&&n.connection;function p(){n&&(o.value=n.onLine,i.value=o.value?void 0:Date.now(),a.value=o.value?Date.now():void 0,h&&(l.value=h.downlink,c.value=h.downlinkMax,f.value=h.effectiveType,u.value=h.rtt,s.value=h.saveData,d.value=h.type))}const g={passive:!0};return t&&(Re(t,"offline",()=>{o.value=!1,i.value=Date.now()},g),Re(t,"online",()=>{o.value=!0,a.value=Date.now()},g)),h&&Re(h,"change",p,g),p(),{isSupported:r,isOnline:kt(o),saveData:kt(s),offlineAt:kt(i),onlineAt:kt(a),downlink:kt(l),downlinkMax:kt(c),effectiveType:kt(f),rtt:kt(u),type:kt(d)}}function j1(e={}){const{controls:t=!1,interval:n="requestAnimationFrame",immediate:r=!0}=e,o=Q(new Date),s=()=>o.value=new Date,i=n==="requestAnimationFrame"?b1(s,{immediate:r}):g1(s,n,{immediate:r});return t?{now:o,...i}:o}function H1(e={}){const{isOnline:t}=B1(e);return t}function U1(e){const t=zr("(prefers-reduced-motion: reduce)",e);return K(()=>t.value?"reduce":"no-preference")}function Dv(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!n||n.tagName==="BODY"?!1:Dv(n)}}function W1(e){const t=e||window.event,n=t.target;return Dv(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const Gl=new WeakMap;function _3(e,t=!1){const n=ie(t);let r=null,o="";De(lv(e),a=>{const l=Kl(ae(a));if(l){const c=l;if(Gl.get(c)||Gl.set(c,c.style.overflow),c.style.overflow!=="hidden"&&(o=c.style.overflow),c.style.overflow==="hidden")return n.value=!0;if(n.value)return c.style.overflow="hidden"}},{immediate:!0});const s=()=>{const a=Kl(ae(e));!a||n.value||(Qu&&(r=Re(a,"touchmove",l=>{W1(l)},{passive:!1})),a.style.overflow="hidden",n.value=!0)},i=()=>{const a=Kl(ae(e));!a||!n.value||(Qu&&r?.(),a.style.overflow=o,Gl.delete(a),n.value=!1)};return Zt(i),K({get(){return n.value},set(a){a?s():i()}})}function v3(e={},t={}){const{navigator:n=_f}=t,r=n,o=kr(()=>r&&"canShare"in r);return{isSupported:o,share:async(i={})=>{if(o.value){const a={...ae(e),...ae(i)};let l=!0;if(a.files&&r.canShare&&(l=r.canShare({files:a.files})),l)return r.share(a)}}}}const V1=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:Number.POSITIVE_INFINITY,value:31536e6,name:"year"}],z1={justNow:"just now",past:e=>e.match(/\d/)?`${e} ago`:e,future:e=>e.match(/\d/)?`in ${e}`:e,month:(e,t)=>e===1?t?"last month":"next month":`${e} month${e>1?"s":""}`,year:(e,t)=>e===1?t?"last year":"next year":`${e} year${e>1?"s":""}`,day:(e,t)=>e===1?t?"yesterday":"tomorrow":`${e} day${e>1?"s":""}`,week:(e,t)=>e===1?t?"last week":"next week":`${e} week${e>1?"s":""}`,hour:e=>`${e} hour${e>1?"s":""}`,minute:e=>`${e} minute${e>1?"s":""}`,second:e=>`${e} second${e>1?"s":""}`,invalid:""};function q1(e){return e.toISOString().slice(0,10)}function y3(e,t={}){const{controls:n=!1,updateInterval:r=3e4}=t,{now:o,...s}=j1({interval:r,controls:!0}),i=K(()=>K1(new Date(ae(e)),t,ae(o)));return n?{timeAgo:i,...s}:i}function K1(e,t={},n=Date.now()){var r;const{max:o,messages:s=z1,fullDateFormatter:i=q1,units:a=V1,showSecond:l=!1,rounding:c="round"}=t,u=typeof c=="number"?v=>+v.toFixed(c):Math[c],f=+n-+e,d=Math.abs(f);function h(v,m){return u(Math.abs(v)/m.value)}function p(v,m){const y=h(v,m),_=v>0,D=g(m.name,y,_);return g(_?"past":"future",D,_)}function g(v,m,y){const _=s[v];return typeof _=="function"?_(m,y):_.replace("{0}",m.toString())}if(d<6e4&&!l)return s.justNow;if(typeof o=="number"&&d>o)return i(new Date(e));
4if(typeof o=="string"){const v=(r=a.find(m=>m.name===o))==null?void 0:r.max;if(v&&d>v)return i(new Date(e))}for(const[v,m]of a.entries()){if(h(f,m)<=0&&a[v-1])return p(f,a[v-1]);if(d<m.max)return p(f,m)}return s.invalid}function G1(e={}){const{window:t=ht,...n}=e;return N1(t,n)}function Y1(e={}){const{window:t=ht,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:o=!0,includeScrollbar:s=!0,type:i="inner"}=e,a=ie(n),l=ie(r),c=()=>{if(t)if(i==="outer")a.value=t.outerWidth,l.value=t.outerHeight;else if(i==="visual"&&t.visualViewport){const{width:f,height:d,scale:h}=t.visualViewport;a.value=Math.round(f*h),l.value=Math.round(d*h)}else s?(a.value=t.innerWidth,l.value=t.innerHeight):(a.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight)};c(),oi(c);const u={passive:!0};if(Re("resize",c,u),t&&i==="visual"&&t.visualViewport&&Re(t.visualViewport,"resize",c,u),o){const f=zr("(orientation: portrait)");De(f,()=>c())}return{width:a,height:l}}function X1(e,t){var n=Object.setPrototypeOf;n?n(e,t):e.__proto__=t}function J1(e,t){t===void 0&&(t=e.constructor);var n=Error.captureStackTrace;n&&n(e,t)}var Q1=(function(){var e=function(n,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,s){o.__proto__=s}||function(o,s){for(var i in s)Object.prototype.hasOwnProperty.call(s,i)&&(o[i]=s[i])},e(n,r)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),ns=(function(e){Q1(t,e);function t(n,r){var o=this.constructor,s=e.call(this,n,r)||this;return Object.defineProperty(s,"name",{value:o.name,enumerable:!1,configurable:!0}),X1(s,o.prototype),J1(s),s}return t})(Error);class so extends ns{}class Ph extends ns{contentType;data;constructor(t,n,r,o){super(t,o),this.contentType=n,this.data=r}}class yf extends ns{statusCode;description;details;additionalProperties;constructor(t,n){super(t.message,n),this.statusCode=t.statusCode,this.message=t.message,this.description=t.description,this.additionalProperties=t.additionalProperties,this.details=t.details}}class bv extends ns{}class Yl extends ns{constructor(t,n){super(t,n),this.message=t}}const Z1=/\d/,eS=["-","_","/","."];function tS(e=""){if(!Z1.test(e))return e!==e.toLowerCase()}function wv(e,t){const n=eS,r=[];if(!e||typeof e!="string")return r;let o="",s,i;for(const a of e){const l=n.includes(a);if(l===!0){r.push(o),o="",s=void 0;continue}const c=tS(a);if(i===!1){if(s===!1&&c===!0){r.push(o),o=a,s=c;continue}if(s===!0&&c===!1&&o.length>1){const u=o.at(-1);r.push(o.slice(0,Math.max(0,o.length-1))),o=u+a,s=c;continue}}o+=a,s=c,i=l}return r.push(o),r}function nS(e){return e?e[0].toUpperCase()+e.slice(1):""}function rS(e){return e?e[0].toLowerCase()+e.slice(1):""}function oS(e,t){return e?(Array.isArray(e)?e:wv(e)).map(n=>nS(t?.normalize?n.toLowerCase():n)).join(""):""}function sS(e,t){return rS(oS(e||"",t))}function iS(e,t){return e?(Array.isArray(e)?e:wv(e)).map(n=>n.toLowerCase()).join(t):""}function Df(e){return iS(e||"","_")}const Ev=e=>new Promise(t=>setTimeout(()=>t(),e)),bf=e=>typeof e=="object"&&e!==null&&e.constructor.name==="Object";function aS(){}class lS extends ns{constructor(t,n){super(`Maximum number of attempts reached: ${t}`,n)}}class uS{props;attempts=0;constructor(t={}){this.props=t}async sleep(){if(this.attempts>=this.maxAttempts)throw new lS(this.attempts);await Ev(this.timeout),this.attempts++}clear(){this.attempts=0}get factor(){return this.props.factor??1e3}get base(){return this.props.base??2}get maxAttempts(){return this.props.maxAttempts??Number.POSITIVE_INFINITY}get timeout(){return this.factor*this.base**this.attempts}}const cS=()=>{let e,t;return{promise:new Promise((r,o)=>{e=r,t=o}),resolve:e,reject:t}},fS=e=>{const t=new Map;for(const n of e.split(",")){const r=n.match(/<([^>]+)>;\s*rel="([^"]+)"/);r&&t.set(r[2],r[1])}return t};function Cv(e){return["fetch","create","update","remove","list"].includes(e)}function dS(e){if(Cv(e))return e;switch(e){case"lookup":case"verify_credentials":return"fetch";case"update_credentials":return"update";default:return"create"}}function hS(e,t){return e==="create"&&t==="/api/v1/accounts"||e==="update"&&t==="/api/v1/accounts/update_credentials"||e==="create"&&t==="/api/v1/email"||e==="create"&&t==="/api/v1/featured_tag"||e==="create"&&t==="/api/v1/media"||e==="create"&&t==="/api/v2/media"?"multipart-form":"json"}async function Oh(e,t,n){let r;const o=AbortSignal.timeout(t);for(;!r;){if(o.aborted)throw new bv(`Media processing timed out of ${t}ms`);try{await Ev(1e3);const s=await n.get(`/api/v1/media/${e}`).then(i=>i.data);s.url&&(r=s)}catch(s){if(s instanceof yf&&s.statusCode===404)continue;throw s}}return r}class pS{http;mediaTimeout;constructor(t,n=1e3*60){this.http=t,this.mediaTimeout=n}beforeDispatch(t){const n=dS(t.type),r=Cv(t.type)?t.path:t.path+"/"+Df(t.type),o=hS(n,r),s={...t.meta,encoding:o};return{...t,type:n,path:r,meta:s}}dispatch(t){return t.type==="update"&&t.path==="/api/v1/accounts/update_credentials"?this.http.patch(t.path,t.data,t.meta).then(n=>n.data):!1}afterDispatch(t,n){if(t.type==="create"&&t.path==="/api/v2/media"){if(bf(t.data)&&t.data?.ski
4pPolling===!0)return n;if(t.raw){const r=n;return Oh(r.data.id,this.mediaTimeout,this.http).then(o=>({headers:r.headers,data:o}))}else return Oh(n.id,this.mediaTimeout,this.http)}return n}}class wf{http;raw;path;params;meta;direction;constructor(t,n,r,o,s,i="next"){this.http=t,this.raw=n,this.path=r,this.params=o,this.meta=s,this.direction=i}async*values(){let t=this.path,n=this.params;for(;t!=null;){const r=await this.http.request({method:"GET",path:t,search:n,...this.meta}),o=this.getLink(r.headers.get("link"));t=o?.pathname,n=o?.search.replace(/^\?/,""),yield this.raw?r:r.data}}then(t=Promise.resolve.bind(Promise),n=Promise.reject.bind(Promise)){return this.values().next().then(r=>t(r.value),n)}getDirection(){return this.direction}setDirection(t){return new wf(this.http,this.raw,this.path,this.params,this.meta,t)}[Symbol.asyncIterator](){return this.values()}getLink(t){if(!t)return;const n=fS(t).get(this.direction);if(n)return new URL(n)}}class mS{http;hook;constructor(t,n){this.http=t,this.hook=n}dispatch(t){this.hook&&(t=this.hook.beforeDispatch(t));let n=this.hook.dispatch(t);if(n!==!1)return n;switch(t.type){case"fetch":{n=this.http.get(t.path,t.data,t.meta).then(r=>t.raw?r:r.data);break}case"create":{n=this.http.post(t.path,t.data,t.meta).then(r=>t.raw?r:r.data);break}case"update":{n=this.http.put(t.path,t.data,t.meta).then(r=>t.raw?r:r.data);break}case"remove":{n=this.http.delete(t.path,t.data,t.meta).then(r=>t.raw?r:r.data);break}case"list":{n=new wf(this.http,t.raw,t.path,t.data);break}}return n instanceof Promise?n.then(r=>this.hook?.afterDispatch(t,r)):this.hook.afterDispatch(t,n)}}var _r=null;typeof WebSocket<"u"?_r=WebSocket:typeof MozWebSocket<"u"?_r=MozWebSocket:typeof global<"u"?_r=global.WebSocket||global.MozWebSocket:typeof window<"u"?_r=window.WebSocket||window.MozWebSocket:typeof self<"u"&&(_r=self.WebSocket||self.MozWebSocket);function gS(e){return e.readyState===_r.OPEN?Promise.resolve():new Promise((t,n)=>{const r=i=>{n(i)},o=()=>{n(new Error("WebSocket closed"))},s=()=>{t()};e.addEventListener("error",r,{once:!0}),e.addEventListener("close",o,{once:!0}),e.addEventListener("open",s,{once:!0})})}function _S(e){return e.readyState===_r.CLOSED?Promise.resolve():new Promise(t=>{const n=()=>{t()};e.addEventListener("error",n,{once:!0}),e.addEventListener("close",n,{once:!0})})}class vS{props;logger;ws;killed=!1;queue=[];backoff;constructor(t,n){this.props=t,this.logger=n,this.backoff=new uS({maxAttempts:this.props.maxAttempts}),this.spawn()}acquire(){if(this.killed)throw new Yl("WebSocket closed");if(this.ws)return Promise.resolve(this.ws);const t=cS();return this.queue.push(t),t.promise}async*[Symbol.asyncIterator](){for(;!this.killed;)yield await this.acquire()}kill(){this.killed=!0,this.ws?.close(),this.backoff.clear();for(const{reject:t}of this.queue)t(new Yl("WebSocket closed"));this.queue=[]}async spawn(){for(;!this.killed;){try{await this.backoff.sleep()}catch{break}try{this.logger?.log("info","Connecting to WebSocket...");{const t=this.props.implementation??_r,n=new t(...this.props.constructorParameters);await gS(n),this.ws=n}this.logger?.log("info","Connected to WebSocket");for(const{resolve:t}of this.queue)t(this.ws);this.queue=[],await _S(this.ws),this.logger?.log("info","WebSocket closed"),this.backoff.clear()}catch(t){this.logger?.log("error","WebSocket error:",t)}this.ws=void 0}for(const{reject:t}of this.queue)t(new Yl(`Failed to connect to WebSocket after ${this.props.maxAttempts} attempts`));this.queue=[]}}function yS(){let e,t;const n=new Promise((...r)=>[e,t]=r);return Object.freeze({resolve:e,reject:t,promise:n})}function DS(e,t){const n=[],r=[],o=e((...l)=>{const c=r.shift();c?c.resolve({value:l,done:!1}):n.push(l)});let s=!1,i=null;const a=()=>{o?.()};return{async next(){const l=n.shift();if(l)return{value:l,done:!1};if(s)return{value:void 0,done:!0};if(i)return Promise.reject(i);const c=yS();return r.push(c),c.promise},async return(){s=!0,a();for(const l of r)l.resolve({value:void 0,done:!0});return{value:void 0,done:!0}},async throw(l){return i=l,a(),{value:void 0,done:!0}},[Symbol.asyncIterator](){return this}}}async function*bS(e){const t=async o=>{if(!r.return)throw new so("events.return is undefined");await r.return(o)},n=async o=>{if(!r.return)throw new so("events.return is undefined");await r.return(o)},r=DS(o=>(e.addEventListener("message",o),e.addEventListener("error",n),e.addEventListener("close",t),()=>{e.removeEventListener("message",o),e.removeEventListener("error",n),e.removeEventListener("close",t)}));for await(const[o]of r)yield o}class wS{connector;counter;
4serializer;stream;logger;params;connection;constructor(t,n,r,o,s,i){this.connector=t,this.counter=n,this.serializer=r,this.stream=o,this.logger=s,this.params=i}async*values(){try{this.logger?.log("info","Subscribing to stream",this.stream);for await(this.connection of this.connector){const t=this.serializer.serialize("json",{type:"subscribe",stream:this.stream,...this.params});this.logger?.log("debug","↑ WEBSOCKET",t),this.connection.send(t),this.counter.increment(this.stream,this.params);const n=bS(this.connection);for await(const r of n){const o=this.parseMessage(r.data);this.test(o)&&(this.logger?.log("debug","↓ WEBSOCKET",o),yield o)}}}finally{this.unsubscribe()}}unsubscribe(){if(this.connection){if(this.counter.decrement(this.stream,this.params),this.counter.count(this.stream,this.params)<=0){const t=this.serializer.serialize("json",{type:"unsubscribe",stream:this.stream,...this.params});this.connection.send(t)}this.connection=void 0}}[Symbol.asyncIterator](){return this.values()}[Symbol.dispose](){this.unsubscribe()}test(t){const n=this.params??{},r=Object.values(n);return[this.stream,...r].every(s=>t.stream.includes(s))}parseMessage(t){const n=this.serializer.deserialize("json",t);if("error"in n)throw new so(n.error);const r=n.event==="delete"||n.payload==null?n.payload:this.serializer.deserialize("json",n.payload);return{stream:n.stream,event:n.event,payload:r}}}class ES{counts=new Map;count(t,n){const r=this.hash(t,n);return this.counts.get(r)??0}increment(t,n){const r=this.hash(t,n);this.counts.has(r)||this.counts.set(r,0),this.counts.set(r,this.counts.get(r)+1)}decrement(t,n){const r=this.hash(t,n);if(!this.counts.has(r))throw new Error("Cannot decrement non-existent count");this.counts.set(r,this.counts.get(r)-1)}hash(t,n){return JSON.stringify({stream:t,params:n})}}class CS{connector;counter;serializer;logger;constructor(t,n,r,o){this.connector=t,this.counter=n,this.serializer=r,this.logger=o}dispatch(t){if(t.type==="close")return this.connector.kill(),{};if(t.type==="prepare")return this.connector.acquire();if(t.type!=="subscribe")throw new so(`Unknown action type ${t.type}`);const n=t.data??{},r=t.path.replace(/^\//,"").replaceAll("/",":");return new wS(this.connector,this.counter,this.serializer,r,this.logger,{...n})}[Symbol.dispose](){this.connector.kill()}}const Hs=(e,t={})=>{const{context:n=[],applicable:r=!1}=t;let o={};const s={get:AS(e,n)};return r&&(o=aS,s.apply=SS(e,n)),new Proxy(o,s)},FS=new Set(["then","catch","finally","inspect","toString","valueOf","toJSON","constructor","prototype","length","name","caller","callee","arguments","bind","apply","call"]),AS=(e,t)=>(n,r)=>
4{if(!(typeof r=="string"&&FS.has(r))){if(r===Symbol.dispose)return e[Symbol.dispose];if(typeof r!="symbol")return r.startsWith("$")?Hs(e,{context:[...t,r],applicable:!0}):Hs(e,{context:[...t,Df(r)],applicable:!0})}},SS=(e,t)=>(n,r,o)=>{let s=t.pop(),i=!1;if(s==="$select")return Hs(e,{context:[...t,...o],applicable:!0});if(s==="$raw"&&(s=t.pop(),i=!0),!s)throw new Error("No action specified");const a="/"+t.join("/"),[l,c]=o;return e.dispatch({type:s,path:a,data:l,meta:c,raw:i})},TS=([e,...t])=>{const n=new Headers(e);for(const r of t)for(const[o,s]of new Headers(r).entries())n.set(o,s);return n};class kS{props;serializer;constructor(t,n){this.props=t,this.serializer=n}mergeRequestInitWithDefaults(t={}){const n={...this.props.requestInit};{const{headers:r,signal:o,...s}=t;Object.assign(n,s),n.headers=this.mergeHeadersWithDefaults(r),n.signal=this.mergeAbortSignalWithDefaults(o)}return n}resolvePath(t,n){const r=new URL(t,this.props.url);return typeof n=="string"?r.search=n:n&&(r.search=this.serializer.serialize("querystring",n)),r}mergeHeadersWithDefaults(t={}){const n=TS([this.props.requestInit?.headers??{},t]),r=new Headers(n);return this.props.accessToken&&r.set("Authorization",`Bearer ${this.props.accessToken}`),new Headers(r)}mergeAbortSignalWithDefaults(t){const n=[];return this.props.timeout&&n.push(AbortSignal.timeout(this.props.timeout)),this.props.requestInit?.signal&&n.push(this.props.requestInit.signal),t&&n.push(t),AbortSignal.any(n)}}class RS{props;serializer;constructor(t,n){this.props=t,this.serializer=n}getProtocols(t=[]){return this.props.useInsecureAccessToken||this.props.accessToken==null?[...t]:[this.props.accessToken,...t]}resolvePath(t,n={}){const r=new URL(t,this.props.streamingApiUrl);return this.props.useInsecureAccessToken&&(n.accessToken=this.props.accessToken),r.search=this.serializer.serialize("querystring",n),r}getMaxAttempts(){return this.props.retry===!0||this.props.retry==null?Number.POSITIVE_INFINITY:this.props.retry===!1?1:this.props.retry}}class PS{get(t,n,r={}){return this.request({method:"GET",path:t,search:n,...r})}post(t,n,r={}){return this.request({method:"POST",path:t,body:n,...r})}delete(t,n,r={}){return this.request({method:"DELETE",path:t,body:n,...r})}put(t,n,r={}){return this.request({method:"PUT",path:t,body:n,...r})}patch(t,n,r={}){return this.request({method:"PATCH",path:t,body:n,...r})}}const Lh=e=>{const t=e.get("Content-Type")?.replace(/\s*;.*$/,"");if(typeof t=="string")switch(t){case"application/json":return"json";case"multipart/form-data":return"multipart-form";default:return}};class OS extends PS{serializer;config;logger;constructor(t,n,r){super(),this.serializer=t,this.config=n,this.logger=r}async request(t){const n=this.createRequest(t);try{this.logger?.log("info",`↑ ${n.method} ${n.url}`),this.logger?.log("debug","	body",{encoding:t.encoding,body:t.body});const r=await fetch(n);if(!r.ok)throw r;const o=await r.text(),s=Lh(r.headers);if(!s)throw new so("The server returned data with an unknown encoding.");const i=this.serializer.deserialize(s,o);return this.logger?.log("info",`↓ ${n.method} ${n.url}`),this.logger?.log("debug","	body",o),{headers:r.headers,data:i}}catch(r){throw this.logger?.log("debug","HTTP failed",r),await this.createError(r)}}createRequest(t){const{method:n,path:r,search:o,encoding:s="json",requestInit:i={}}=t,a=this.config.resolvePath(r,o),l=this.serializer.serialize(s,t.body),c=this.config.mergeRequestInitWithDefaults(i),u=new Request(a,{method:n,body:l,...c});return typeof l=="string"&&s==="json"&&u.headers.set("Content-Type","application/json"),u}async createError(t){if(t instanceof Response){const n=Lh(t.headers);if(!n)throw new so("The server returned data with an unknown encoding. The server may be down.");const r=this.serializer.deserialize(n,await t.text()),{error:o,errorDescription:s,details:i,...a}=r;return new yf({statusCode:t.status,message:o,description:s,details:i,additionalProperties:a},{cause:t})}return t instanceof DOMException&&t.name==="TimeoutError"?new bv("Request timed out",{cause:t}):t}}class LS{level;constructor(t){this.level=t}log(t,n,r){if(!this.level.satisfies(t))return;const o=r==null?[n]:[n,r];switch(t){case"debug":return;case"info":return;case"warn":return;case"error":return}}}const Lt=Object.freeze({DEBUG:1,INFO:2,WARN:4,ERROR:8});class Fo{level;constructor(t){this.level=t}satisfies(t){switch(t){case"debug":return!!(this.level&Lt.DEBUG);case"info":return!!(this.level&Lt.INFO);case"warn":return!!(this.level&Lt.WARN);case"error":return!!(this.level&Lt.ERROR)}}static from(t){switch(t){case"debug":return new Fo(Lt.DEBUG|Lt.INFO|Lt.WARN|Lt.ERROR);case"info":return new Fo(Lt.INFO|Lt.WARN|Lt.ERROR);case"warn":return new Fo(Lt.WARN|Lt.ERROR);case"error":return new Fo(Lt.ERROR)}}}const Fv=e=>{const t=Fo.from(e??"warn");return new LS(t)},Av=e=>{const t=(n,r="")=>Array.isArray(n)?n.flatMap((o,s)=>t(o,r==""?s.toString():e.onArray(r,s))):bf(n)?Object.entries(n).flatMap(([o,s])=>t(s,r===""?o:e.onObject(r,o))):[[r,n]];return t}
4,$S=e=>{const t=Av({onArray:(n,r)=>`${n}[${r}]`,onObject:(n,r)=>`${n}[${r}]`});return Object.fromEntries(t(e))},xS=e=>Av({onArray:n=>`${n}[]`,onObject:(n,r)=>`${n}[${r}]`})(e).filter(([,n])=>n!=null).map(([n,r])=>`${n}=${encodeURIComponent(r)}`).join("&"),ec=(e,t)=>Array.isArray(e)?e.map(n=>ec(n,t)):bf(e)?Object.fromEntries(Object.entries(e).map(([n,r])=>[t(n),ec(r,t)])):e,$h=(e,t)=>ec(e,r=>r.includes(":")||r.startsWith("_")?r:t(r));class Sv{serialize(t,n){const r=$h(n,Df);switch(t){case"json":return JSON.stringify(r);case"multipart-form":{const o=new FormData;for(const[s,i]of Object.entries($S(r)))o.append(s,i);return o}case"querystring":return xS(r);default:throw new so(`Unknown content type ${t} to serialize.`)}}deserialize(t,n){switch(t){case"json":try{return $h(JSON.parse(n),sS)}catch{throw new Ph(`Malformed JSON ${n} returned from the server.`,t,n)}default:throw new Ph(`Unknown content type ${t} returned from the server.`,t,n)}}}const IS=e=>{const t=new Sv,n=new kS(e,t),r=Fv(e.log),o=new OS(t,n,r),s=new pS(o,e.mediaTimeout),i=new mS(o,s);return Hs(i,{context:["api"]})};function NS(e){const t=new Sv,n=new RS(e,t),r=Fv(e.log),o=new vS({constructorParameters:[n.resolvePath("/api/v1/streaming"),n.getProtocols()],implementation:e.implementation,maxAttempts:n.getMaxAttempts()},r),s=new ES,i=new CS(o,s,t,r);return Hs(i)}function MS(){return{client:ie(void 0),streamingClient:ie()}}function Vt(){return fe().$masto}function ho(){return Vt().client.value}function BS(e,t){const n=t.server,r=`https://${n}`,o=it(Zv(n)||{uri:n,accountDomain:n}),s=t.token,i=l=>l&&pe.value?NS({streamingApiUrl:l,accessToken:s,implementation:globalThis.WebSocket}):void 0,a=o?.configuration?.urls?.streaming;return e.client.value=IS({url:r,accessToken:s}),e.streamingClient.value=i(a),e.client.value.v2.instance.fetch().catch(l=>new Promise((c,u)=>l instanceof yf&&l.statusCode===404?e.client.value.v1.instance.fetch().then(f=>{const d={...f,domain:f.uri,sourceUrl:"",usage:{users:{activeMonth:0}},icon:[],apiVersions:{mastodon:f.version},contact:{email:f.email}
4,configuration:{...f.configuration,urls:{streaming:f.urls.streamingApi}}};return c(d)}).catch(u):u(l))).then(l=>{Object.assign(o,l),l.configuration.urls.streaming!==a&&(e.streamingClient.value=i(l.configuration.urls.streaming)),nl.value[n]=l}),o}function D3(e,{immediate:t=!0,controls:n}={}){const{streamingClient:r}=Vt(),o=Q(t),s=Q();function i(){o.value=!1}function a(){o.value=!0}function l(){s.value&&(s.value.unsubscribe(),s.value=void 0)}return Qr(()=>{l(),r.value&&o.value&&(s.value=e(r.value))}),fe().$pageLifecycle.addFrozenListener(l),m1(()=>o.value=!1),n?{stream:s,isActive:o,pause:i,resume:a}:s}const jS=65039,Tv=65536,tc=55296,Ui=56320,kv=57344;function HS(e){if(e>=tc){if(e<Ui)return 1;if(e<kv)return 2}return!1}function US(e,t){if(!(e<tc||e>=Ui||t<Ui||t>=kv))return(e-tc<<10)+(t-Ui)+Tv}function WS(e,t=!0){const n=[];for(let r=0;r<e.length;r++){const o=e[r];if(o>=Tv){n.push(o);continue}const s=HS(o);if(!s){n.push(o);continue}if(s===1&&e.length>r+1){const i=US(o,e[r+1]);if(i){r++,n.push(i);continue}}if(t){const i=e[r+1];throw new Error(`Invalid UTF-16 sequence: ${o.toString(16)}-${i?i.toString(16):"undefined"}`)}n.push(o)}return n}function VS(e){return e.map(t=>t.toString(16)).join("-")}function zS(e){return new RegExp(e,"g")}function Rv(e,t){const n=[],r=new Set;return(e instanceof Array?e:[e]).forEach((o,s)=>{const i=t.match(typeof o=="string"?zS(o):o);if(i)for(let a=0;a<i.length;a++){const l=i[a];if(r.has(l))continue;r.add(l);const c=[];for(const u of l){const f=u.codePointAt(0);f!==jS&&c.push(f)}n.push({match:l,sequence:c,keyword:VS(WS(c)),regexp:s})}}),n.sort((o,s)=>{const i=o.match,a=s.match;return a.length===i.length?i.localeCompare(a):a.length-i.length}),n}function qS(e,t){const n=[],r=(a,l)=>{for(let c=0;c<n.length;c++)if(a<n[c].end&&l>n[c].start)return!1;return!0};for(let a=0;a<t.length;a++){const l=t[a],c=l.match;let u=0,f;for(;(f=e.indexOf(c,u))!==-1;){const d=f+c.length;u=d,r(f,d)&&n.push({start:f,end:d,match:l})}}n.sort((a,l)=>a.start-l.start);const o=[];let s,i;for(let a=0;a<n.length;a++){const l=n[a],c=e.slice(s?s.end:0,l.start);o.push({match:l.match,prev:c}),s=l,i=l.end}return i?o.map((a,l)=>{const c=o[l+1];return{...a,next:c?c.prev:e.slice(i)}}):[]}function Pv(e,t,n){const r=Rv(e,t);if(!r.length)return null;const o=qS(t,r);let s="",i=!1;for(let a=0;a<o.length;a++){const l=o[a];s+=l.prev;const c=n({...l.match},s);c===void 0?s+=l.match.match:(s+=c,i=!0)}return s+=o[o.length-1].next,i?s:null}const xh=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});?/gi;let Xl;function KS(e){return Xl||(Xl=new DOMParser),Xl.parseFromString(e,"text/html").documentElement.textContent}function Ov(e){return xh.lastIndex=0,e.replace(xh,t=>KS(t))}var GS=0,ha=1,tn=2;function Rt(e,t={},...n){let r={type:1,name:typeof e=="function"?e.name:e,attributes:t||{},children:n.map(o=>typeof o=="string"?{type:2,value:xv(String(o))}:o),parent:void 0,loc:[]};return typeof e=="function"&&QS(r,e),r}var YS=Symbol("Fragment"),Lv=new Set(["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),Jl=new Set(["script","style"]),gt=/(?:<(\/?)([a-zA-Z][a-zA-Z0-9\:-]*)(?:\s([^>]*?))?((?:\s*\/)?)>|(<\!\-\-)([\s\S]*?)(\-\->)|(<\!)([\s\S]*?)(>))/gm,Ih=/[\@\.a-z0-9_\:\-]/i;function XS(e){let t={};if(e){let n="none",r,o="",s,i;for(let a=0;a<e.length;a++){let l=e[a];n==="none"?Ih.test(l)?(r&&(t[r]=o,r=void 0,o=""),s=a,n="key"):l==="="&&r&&(n="value"):n==="key"?Ih.test(l)||(r=e.substring(s,a),l==="="?n="value":n="none"):l===i&&a>0&&e[a-1]!=="\\"?i&&(o=e.substring(s,a),i=void 0,n="none"):(l==='"'||l==="'")&&!i&&(s=a+1,i=l)}n==="key"&&s!=null&&s<e.length&&(r=e.substring(s,e.length)),r&&(t[r]=o)}return t}function Ef(e){let t=typeof e=="string"?e:e.value,n,r,o,s,i,a,l,c,u,f=[];gt.lastIndex=0,r=n={type:0,children:[]};let d=0;function h(){s=t.substring(d,gt.lastIndex-o[0].length),s&&r.children.push({type:2,value:s,parent:r})}for(;o=gt.exec(t);){if(a=o[5]||o[8],l=o[6]||o[9],c=o[7]||o[10],Jl.has(r.name)&&o[2]!==r.name){i=gt.lastIndex-o[0].length,r.children.length>0&&(r.children[0].value+=o[0]);continue}else if(a==="<!--"){if(i=gt.lastIndex-o[0].length,Jl.has(r.name))continue;u={type:3,value:l,parent:r,loc:[{start:i,end:i+a.length},{start:gt.lastIndex-c.length,end:gt.lastIndex}]},f.push(u),u.parent.children.push(u)}else if(a==="<!")i=gt.lastIndex-o[0].length,u={type:4,value:l,parent:r,loc:[{start:i,end:i+a.length},{start:gt.lastIndex-c.length,end:gt.lastIndex}]},f.push(u),u.parent.children.push(u);else if(o[1]!=="/")if(h(),Jl.has(r.name)){d=gt.lastIndex,h();continue}else u={type:1,name:o[2]+"",attributes:XS(o[3]),parent:r,children:[],loc:[{start:gt.lastIndex-o[0].length,end:gt.lastIndex}]},f.push(u),u.parent.children.push(u),o[4]&&o[4].indexOf("/")>-1||Lv.has(u.name)?(u.loc[1]=u.loc[0],u.isSelfClosingTag=!0):r=u;else h(),o[2]+""===r.name?(u=r,r=u.parent,u.loc.push({start:gt.lastIndex-o[0].length,end:gt.lastIndex}),s=t.substring(u.loc[0].end,u.loc[1].start),u.children.length===0&&u.children.push({type:2,value:s,parent:r})):o[2]+""===f[f.length-1].name&&f[f.length-1].isSelfClosingTag===!0&&(u=f[f.length-1],u.loc.push({start:gt.lastIndex-o[0].length,end:gt.lastIndex}));d=gt.lastIndex}return s=t.slice(d),r.children.push({type:2,value:s,parent:r}),n}var Cf=Symbol("HTMLString"),JS=Symbol("AttrString"),nc=Symbol("RenderFn");function $v(e,t=[Cf]){let n={value:e};for(let r of t)Object.defineProperty(n,r,{value:!0,enumerable:!1,writable:!1});return n}function QS(e,t){return Object.defineProperty(e,nc,{value:t,enumerable:!1}),e}var ZS={"&":"&amp;","<":"&lt;",">":"&gt;"};function xv(e){return e.replace(/[&<>]/g,t=>ZS[t]||t)}function Nh(e){let t="";for(let[n,r]of Object.entries(e))t+=` ${n}="${r}"`;return $v(t,[Cf,JS])}function eT(e){if(e.children.length===0){let t=e;for(;t=t.parent;)if(t.name==="svg")return!0}return!1}async function tT(e){let{name:t,attributes:n={}}=e,r=await Promise.all(e.children.map(s=>Ff(s))).then(s=>s.join(""));if(nc in e){let s=await e[nc](n,$v(r));return s&&s[Cf]?s.value:xv(String(s))}if(t===YS)return r;let o=eT(e);return o||Lv.has(t)?`<${e.name}${Nh(n).value}${o?" /":""}>`:`<${e.name}${Nh(n).value}>${r}</${e.name}>`}async function Ff(e){switch(e.type){case 0:return Promise.all(e.children.map(t=>Ff(t))).then(t=>t.join(""));case 1:return tT(e);case 2:return`${e.value}`;case 3:return`<!--${e.value}-->`;case 4:return`<!${e.value}>`}}const Mh="twemoji",Af=/\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79)\uFE0F?)?|\uD83D(?:\uDC15\uFE0F?(?:\u200D\uD83E\uDDBA\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDE2E\uFE0F?(?:\u200D\uD83D\uDCA8\uFE0F?)?|\uDE35\uFE0F?(?:\u200D\uD83D\uDCAB\uFE0F?)?|\uDE36\uFE0F?(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDC08\uFE0F?(?:\u200D\u2B1B\uFE0F?)?|\uDC3B\uFE0F?(?:\u200D\u2744\uFE0F?)?|\uDC68(?:\uD83C(?:\uDFFB\u200D\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFC|\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFD|\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFE|\uDFFF\u200D\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFF)|\uFE0F?(?:\uD83C(?:\uDFFB(?:\u200D(?:\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\uFE0F?\u200D)?\uD83D\uDC68\uFE0F?\uD83C[\uDFFB-\uDFFF]|\uD83E\uDD1D\uFE0F?\u200D\uD83D\uDC68\uFE0F?\uD83C[\uDFFC-\uDFFF]|(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]|[\u2695\u2696\u2708])\uFE0F?))?|\uDFFC(?:\u200D(?:\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\uFE0F?\u200D)?\uD83D\uDC68\uFE0F?\uD83C[\uDFFB-\uDFFF]|\uD83E\uDD1D\uFE0F?\u200D\uD83D\uDC68\uFE0F?\uD83C[\uDFFB\uDFFD-\uDFFF]|(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]|[\u2695\u2696\u2708])\uFE0F?))?|\uDFFD(?:\u200D(?:\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\uFE0F?\u200D)?\uD83D\uDC68\uFE0F?\uD83C[\uDFFB-\uDFFF]|\uD83E\uDD1D\uFE0F?\u200D\uD83D\uDC68\uFE0F?\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]|[\u2695\u2696\u2708])\uFE0F?))?|\uDFFE(?:\u200D(?:\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\uFE0F?\u200D)?\uD83D\uDC68\uFE0F?\uD83C[\uDFFB-\uDFFF]|\uD83E\uDD1D\uFE0F?\u200D\uD83D\uDC68\uFE0F?\uD83C[\uDFFB-\uDFFD\uDFFF]|(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]|[\u2695\u2696\u2708])\uFE0F?))?|\uDFFF(?:\u200D(?:\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\uFE0F?\u200D)?\uD83D\uDC68\uFE0F?\uD83C[\uDFFB-\uDFFF]|\uD83E\uDD1D\uFE0F?\u200D\uD83D\uDC68\uFE0F?\uD83C[\uDFFB-\uDFFE]|(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]|[\u2695\u2696\u2708])\uFE0F?))?)|(?:\u200D(?:\uD83D(?:[\uDC68\uDC69]\uFE0F?\u200D\uD83D(?:\uDC66\uFE0F?(?:\u200D\uD83D\uDC66\uFE0F?)?|\uDC67\uFE0F?(?:\u200D\uD83D[\uDC66\uDC67]\uFE0F?)?)|\uDC66\uFE0F?(?:\u200D\uD83D\uDC66\uFE0F?)?|\uDC67\uFE0F?(?:\u200D\uD83D[\uDC66\uDC67]\uFE0F?)?)|(?:\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\uFE0F?\u200D)?\uD83D\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]|[\u2695\u2696\u2708])\uFE0F?))?))|\uDC69(?:\uD83C(?:\uDFFB\u200D\uD83E\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C\uDFFB|\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C\uDFFC|\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C\uDFFD|\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C\uDFFE|\uDFFF\u200D\uD83E\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C\uDFFF)|\uFE0F?(?:\uD83C(?:\uDFFB(?:\u200D(?:\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\uFE0F?\u200D\uD83D)?[\uDC68\uDC69]\uFE0F?\uD83C[\uDFFB-\uDFFF]|\uD83E\uDD1D\uFE0F?\u200D\uD83D[\uDC68\uDC69]\uFE0F?\uD83C[\uDFFC-\uDFFF]|(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]|[\u2695\u2696\u2708])\uFE0F?))?|\uDFFC(?:\u200D(?:\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\uFE0F?\u200D\uD83D)?[\uDC68\uDC69]\uFE0F?\uD83C[\uDFFB-\uDFFF]|\uD83E\uDD1D\uFE0F?\u200D\uD83D[\uDC68\uDC69]\uFE0F?\uD83C[\uDFFB\uDFFD-\uDFFF]|(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]|[\u2695\u2696\u2708])\uFE0F?))?|\uDFFD(?:\u200D(?:\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\uFE0F?\u200D\uD83D)?[\uDC68\uDC69]\uFE0F?\uD83C[\uDFFB-\uDFFF]|\uD83E\uDD1D\uFE0F?\u200D\uD83D[\uDC68\uDC69]\uFE0F?\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]|[\u2695\u2696\u2708])\uFE0F?))?|\uDFFE(?:\u200D(?:\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\uFE0F?\u200D\uD83D)?[\uDC68\uDC69]\uFE0F?\uD83C[\uDFFB-\uDFFF]|\uD83E\uDD1D\uFE0F?\u200D\uD83D[\uDC68\uDC69]\uFE0F?\uD83C[\uDFFB-\uDFFD\uDFFF]|(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]|[\u2695\u2696\u2708])\uFE0F?))?|\uDFFF(?:\u200D(?:\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\uFE0F?\u200D\uD83D)?[\uDC68\uDC69]\uFE0F?\uD83C[\uDFFB-\uDFFF]|\uD83E\uDD1D\uFE0F?\u200D\uD83D[\uDC68\uDC69]\uFE0F?\uD83C[\uDFFB-\uDFFE]|(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]|[\u2695\u2696\u2708])\uFE0F?))?)|(?:\u200D(?:\uD83D(?:\uDC69\uFE0F?\u200D\uD83D(?:\uDC66\uFE0F?(?:\u200D\uD83D\uDC66\uFE0F?)?|\uDC67\uFE0F?(?:\u200D\uD83D[\uDC66\uDC67]\uFE0F?)?)|\uDC66\uFE0F?(?:\u200D\uD83D\uDC66\uFE0F?)?|\uDC67\uFE0F?(?:\u200D\uD83D[\uDC66\uDC67]\uFE0F?)?)|(?:\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\uFE0F?\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]|[\u2695\u2696\u2708])\uFE0F?))?)))|\uD83E(?:\uDEF1(?:\uFE0F?\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uFE0F?\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uFE0F?\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uFE0F?\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uFE0F?\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uFE0F?\uD83C[\uDFFB-\uDFFE])?)|\uD83C(?:\uDFFB\u200D\uD83E\uDEF2\uD83C\uDFFB|\uDFFC\u200D\uD83E\uDEF2\uD83C\uDFFC|\uDFFD\u200D\uD83E\uDEF2\uD83C\uDFFD|\uDFFE\u200D\uD83E\uDEF2\uD83C\uDFFE|\uDFFF\u200D\uD83E\uDEF2\uD83C\uDFFF))|\uDDD1(?:\uD83C(?:\uDFFB\u200D\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C\uDFFB|\uDFFC\u200D\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C\uDFFC|\uDFFD\u200D\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C\uDFFD|\uDFFE\u200D\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C\uDFFE|\uDFFF\u200D\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C\uDFFF)|\uFE0F?(?:\uD83C(?:\uDFFB(?:\u200D(?:\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\uFE0F?\u200D)?\uD83E\uDDD1\uFE0F?\uD83C[\uDFFC-\uDFFF]|\uD83E\uDD1D\uFE0F?\u200D\uD83E\uDDD1\uFE0F?\uD83C[\uDFFB-\uDFFF]|(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]|[\u2695\u2696\u2708])\uFE0F?))?|\uDFFC(?:\u200D(?:\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\uFE0F?\u200D)?\uD83E\uDDD1\uFE0F?\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83E\uDD1D\uFE0F?\u200D\uD83E\uDDD1\uFE0F?\uD83C[\uDFFB-\uDFFF]|(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]|[\u2695\u2696\u2708])\uFE0F?))?|\uDFFD(?:\u200D(?:\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\uFE0F?\u200D)?\uD83E\uDDD1\uFE0F?\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83E\uDD1D\uFE0F?\u200D\uD83E\uDDD1\uFE0F?\uD83C[\uDFFB-\uDFFF]|(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]|[\u2695\u2696\u2708])\uFE0F?))?|\uDFFE(?:\u200D(?:\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\uFE0F?\u200D)?\uD83E\uDDD1\uFE0F?\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83E\uDD1D\uFE0F?\u200D\uD83E\uDDD1\uFE0F?\uD83C[\uDFFB-\uDFFF]|(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]|[\u2695\u2696\u2708])\uFE0F?))?|\uDFFF(?:\u200D(?:\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\uFE0F?\u200D)?\uD83E\uDDD1\uFE0F?\uD83C[\uDFFB-\uDFFE]|\uD83E\uDD1D\uFE0F?\u200D\uD83E\uDDD1\uFE0F?\uD83C[\uDFFB-\uDFFF]|(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]|[\u2695\u2696\u2708])\uFE0F?))?)|(?:\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:\uDD1D\uFE0F?\u200D\uD83E\uDDD1|[\uDDAF-\uDDB3\uDDBC\uDDBD])|[\u2695\u2696\u2708])\uFE0F?)?)))|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA-\uDFCC]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDD74\uDD75\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\u26F9)\uFE0F?\uD83C[\uDFFB-\uDFFF]|(?:\uD83C[\uDFC3\uDFC4\uDFCA-\uDFCC]|\uD83D[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDD74\uDD75\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDF]|\u26F9)\uFE0F?)(?:\u200D[\u2640\u2642]\uFE0F?)?|(?:\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF6]|[\u261D\u26F7\u270A-\u270D])\uFE0F?\uD83C[\uDFFB-\uDFFF]|\uD83C(?:\uDFF3\uFE0F?(?:\u200D(?:\uD83C\uDF08|\u26A7)\uFE0F?)?|\uDFF4(?:\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uFE0F?(?:\u200D\u2620\uFE0F?)?)|[\uDF85\uDFC2\uDFC7]\uFE0F?\uD83C[\uDFFB-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uD
4DE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC])|[\#\*0-9]\uFE0F?\u20E3|(?:\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFC2\uDFC5-\uDFC9\uDFCD-\uDFF0\uDFF5\uDFF7-\uDFFA]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC40\uDC42-\uDC67\uDC6A-\uDC6D\uDC72\uDC74-\uDC76\uDC78-\uDC80\uDC83-\uDC85\uDC88-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73\uDD76-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE4C\uDE4F\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEDD-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDD0C-\uDD25\uDD27-\uDD34\uDD36\uDD3A\uDD3F-\uDD45\uDD47-\uDDAF\uDDB4-\uDDB7\uDDBA-\uDDCC\uDDD0\uDDD2\uDDD3\uDDD5\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7C\uDE80-\uDE86\uDE90-\uDEAC\uDEB0-\uDEBA\uDEC0-\uDEC5\uDED0-\uDED9\uDEE0-\uDEE7\uDEF0-\uDEF6]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7\u26F8\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299\uE50A])\uFE0F?/g;function nT(e){return{filename:e.keyword+".svg"}}function rT(e){const t=typeof e=="string"?Rv(Af,e)?.[0]:e,n=nT(t);return{class:`iconify-emoji iconify-emoji--${Mh}${n.padding?" iconify-emoji-padded":""}`,src:`/emojis/${Mh}/${n.filename}`,alt:t.match}}function oT(e){return{}}const Iv=/^(?:https:\/)?\/([^/]+)\/@([^/]+)$/,sT=/^https?:\/\/([^/]+)\/tags\/([^/]+)\/?$/,iT=/<[^>]+>/g;function b3(e,t,n){const r=document.createElement("canvas"),o=r.getContext("2d");r.width=t,r.height=n;const s=o.createImageData(t,n);return s.data.set(e),o.putImageData(s,0,0),r.toDataURL()}function aT(e){return Object.fromEntries(e.map(t=>[t.shortcode,t]))}function Nv(){}function w3(){const e=oT();return K(()=>e["user-agent"]?.includes("Macintosh")??navigator?.userAgent?.includes("Mac")??!1)}function E3(e){let t=e,n;do n=t,t=t.replaceAll(iT,"");while(t!==n);return t}const lT=/\n(<[^>]+>)/g,uT=/>(?<fence>```|~~~)(?<lang>[^\s<]*)(?=[<\s])(?<code>[\s\S]+?)\k<fence>/g,Mr={LESS_THAN:/</g,GREATER_THAN:/>/g,BACKTICK:/`/g,ASTERISK:/\*/g},cT=/`([^`\n]*)`/g,fT=/\s/g,dT=/&amp;/g,hT=/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,Mv={WITH_COLON:/\s?:([\w-]+):/g,WITHOUT_COLON:/:([\w-]+):/g},pT=/(.+\.)(.+\..+)/,Bh=sc(/^h-\S*|p-\S*|u-\S*|dt-\S*|e-\S*|mention|hashtag|ellipsis|invisible$/u),mT=Hv({br:{},p:{class:sc(/^quote-inline$/)},a:{href:jh(),class:Bh,rel:ic("nofollow noopener noreferrer"),target:ic("_blank")},span:{class:Bh},pre:{},code:{class:sc(/^language-\w+$/)},abbr:{title:Di},del:{},blockquote:{cite:jh()},b:{},strong:{},u:{},sub:{},sup:{},i:{},em:{},h1:{},h2:{},h3:{},h4:{},h5:{},ul:{}
4,ol:{start:Di,reversed:Di},li:{value:Di},ruby:{},rp:{},rt:{}});function rc(e,t={}){e=e.trim();const{markdown:n=!0,replaceUnicodeEmoji:r=!0,convertMentionLink:o=!1,collapseMentionLink:s=!1,hideEmojis:i=!1,mentions:a,status:l,inReplyToStatus:c}=t;e=e.replace(lT,(f,d)=>d),n&&(e=e.replace(uT,(f,d,h,p)=>{const g=oc(p).replace(Mr.LESS_THAN,"&lt;").replace(Mr.GREATER_THAN,"&gt;").replace(Mr.BACKTICK,"&#96;").replace(Mr.ASTERISK,"&ast;");return`><pre><code${h?` class="language-${h}"`:""}>${g}</code></pre>`}).replace(cT,(f,d)=>d?`<code>${oc(d).replace(Mr.LESS_THAN,"&lt;").replace(Mr.GREATER_THAN,"&gt;").replace(Mr.ASTERISK,"&ast;")}</code>`:""));const u=[mT,...t.astTransforms||[]];return i?(u.push(vT),u.push(DT(t.emojis??{}))):(r&&u.push(yT),u.push(bT(t.emojis??{}))),n&&u.push(ET),a?.length&&u.push(kT(a)),o&&u.push(TT),u.push(FT),s&&u.push(ST(l,c)),jv(Ef(e),u)}function gT(e,t={}){const n=rc(e,{emojis:t,markdown:!0,convertMentionLink:!0});return Ff(n)}function C3(e){const t=[Hv({iframe:{src:n=>typeof n!="string"?void 0:new URL(n).protocol==="https:"?n:void 0,allowfullscreen:ic("true")}})];return jv(Ef(e),t)}function oc(e){try{return Ef(e).children.map(n=>Sf(n)).join("").trim()}catch{return""}}function Bv(e){return e&&e.children&&e.children.length>0?e.children.map(t=>Bv(t)).join(""):Sf(e)}const _T=/^[\w-]+$/;function Sf(e){let t="",n="",r="";if(e.type===tn)return Ov(e.value);if(e.name==="br")return`
5`;if(["p","pre"].includes(e.name)&&(t=`
6`),e.attributes?.["data-type"]==="mention"){const o=e.attributes["data-id"];if(o)return o.startsWith("@")?o:`@${o}`}if(e.name==="code"?e.parent?.name==="pre"?(t=`\`\`\`${e.attributes.class?.replace("language-","")||""}
7`,r="\n```"):(t="`",r="`"):e.name==="b"||e.name==="strong"?(t="**",r="**"):e.name==="i"||e.name==="em"?(t="*",r="*"):e.name==="del"&&(t="~~",r="~~"),"children"in e&&(n=e.children.map(o=>Sf(o)).join("")),e.name==="img"||e.name==="picture"){if(e.attributes.class?.includes("custom-emoji")){const o=e.attributes["data-emoji-id"]??e.attributes.alt??e.attributes.title??"unknown";return _T.test(o)?`:${o}:`:o}if(e.attributes.class?.includes("iconify-emoji"))return e.attributes.alt}return t+n+r}function jv(e,t){function n(r,o,s){if(Array.isArray(r.children)){const i=[];for(let a=0;a<r.children.length;a++){const l=n(r.children[a],o,s);Array.isArray(l)?i.push(...l):l&&i.push(l)}r.children=i.map(a=>typeof a=="string"?{type:tn,value:a,parent:r}:(a.parent=r,a))}return o(r,s)}for(const r of t)e=n(e,r,e);return e}function Hv(e){return t=>{if(t.type!==ha)return t;if(!Object.hasOwn(e,t.name))return null;const n=e[t.name],r={};for(const[o,s]of Object.entries(n)){const i=s(t.attributes[o]);i!==void 0&&(r[o]=i)}return t.attributes=r,t}}function sc(e){return t=>{if(t)return t.split(fT).filter(n=>e.test(n)).join(" ")}}function Di(e){return e}function ic(e){return()=>e}function jh(){const e=new Set(["http:","https:","dat:","dweb:","ipfs:","ipns:","ssb:","gopher:","xmpp:","magnet:","gemini:"]);return t=>{if(t===void 0)return;if(t=t.replace(hT,""),t.startsWith("/")||t.startsWith("."))return t;t=t.replace(dT,"&");let n;try{n=new URL(t)}catch(r){if(r instanceof TypeError)return;throw r}return e.has(n.protocol)?n.toString():"#"}}function vT(e){if(e.type!==tn)return e;let t=0;const n=[];return Pv(Af,e.value,(r,o)=>{n.push(o.slice(t).trimEnd()),t=o.length+r.match.length}),n.length===0?e:(n.push(e.value.slice(t)),n.filter(Boolean))}function yT(e){if(e.type!==tn)return e;let t=0;const n=[];return Pv(Af,e.value,(r,o)=>{const s=rT(r);n.push(o.slice(t)),n.push(Rt("img",{src:s.src,alt:s.alt,class:s.class})),t=o.length+r.match.length}),n.length===0?e:(n.push(e.value.slice(t)),n.filter(Boolean))}function DT(e){return t=>{if(t.type!==tn)return t;const n=t.value.split(Mv.WITH_COLON);return n.length===1?t:n.map((r,o)=>o%2===0?r:e[r]?"":`:${r}:`).filter(Boolean)}}function bT(e){return t=>{if(t.type!==tn)return t;const n=t.value.split(Mv.WITHOUT_COLON);return n.length===1?t:n.map((r,o)=>{if(o%2===0)return r;const s=e[r];return s?Rt("picture",{alt:`:${r}:`,class:"custom-emoji","data-emoji-id":r},[Rt("source",{srcset:s.staticUrl,media:"(prefers-reduced-motion: reduce)"}),Rt("img",{src:s.url,alt:`:${r}:`})]):`:${r}:`}
7).filter(Boolean)}}const wT=[[/\*\*\*(.*?)\*\*\*/g,([e])=>Rt("b",null,[Rt("em",null,e)])],[/\*\*(.*?)\*\*/g,e=>Rt("b",null,e)],[/\*(.*?)\*/g,e=>Rt("em",null,e)],[/~~(.*?)~~/g,e=>Rt("del",null,e)],[/`([^`]+)`/g,e=>Rt("code",null,e)],[/\B@(\w+)@twitter\.com\b/gi,e=>Rt("a",{href:`https://twitter.com/${e}`,target:"_blank",rel:"nofollow noopener noreferrer",class:"mention external"},`@${e}@twitter.com`)]];function Uv(e){const t=[];let n=0;for(;;){let r;for(const[o,s]of wT){o.lastIndex=n;const i=o.exec(e);i&&(!r||i.index<r.match.index)&&(r={match:i,replacer:s})}if(!r)break;t.push(e.slice(n,r.match.index)),t.push(r.replacer(Uv(r.match[1]))),n=r.match.index+r.match[0].length}return t.push(e.slice(n)),t.filter(Boolean)}function ET(e){return e.type!==tn?e:Uv(e.value)}function CT(e){return e.name==="p"&&!("dir"in e.attributes)&&e.children?.length&&e.children.length>1&&(e.attributes.dir="auto"),e}function FT(e){return CT(e),e.parent?.type===GS&&e.name==="p"&&e.parent.children.at(-1)!==e?[e,Rt("p")]:e}function Hh(e){const t=e.children?.length===1?e.children[0]:null;return!!(t?.name==="a"&&t.attributes.class?.includes("mention"))}function Uh(e){return e.type===tn&&!e.value.trim()}function AT(e){return Wv(e.children?.[0].attributes.href)??e.children?.[0]?.children?.[0]?.attributes?.["data-id"]}function ST(e,t){let n=!1;return(r,o)=>{if(n||r.parent!==o||!r.children)return r;const s=[],i=r.children;let a;for(const v of i)if(Hh(v))s.push(v);else if(Uh(v))s.push(v);else{v.type===tn&&(a=()=>{v.value=v.value.trimStart()}),v.name==="br"&&s.push(void 0);break}if(n=!0,s.length===0)return r;let l=0,c=0,u=!1;const f=s.filter(v=>{if(!v)return!1;if(u&&Uh(v))return u=!1,!1;if(Hh(v)){if(l++,t){const m=AT(v);if(t.account.acct===m||t.mentions.some(y=>y.acct===m))return u=!0,!1}c++}return!0}),d=!(c===0||l===1&&e?.inReplyToAccountId),h=c>2;(!d||h)&&a?.();const p=i.slice(s.length),g=d?h?[Rt("mention-group",null,...f)]:f:[];return{...r,children:[...g,...p]}}}function Wv(e){const t=e.match(Iv);if(t){const[,n,r]=t;return`${r}@${n.replace(pT,"$2")}`}}function TT(e){if(e.name==="a"&&e.attributes.class?.includes("mention")){const t=e.attributes.href;if(t){const n=Wv(t);if(n)return Rt("span",{"data-type":"mention","data-id":n},n)}}return e}function kT(e){return t=>{if(t.name==="a"&&t.attributes.class?.includes("mention")){const n=t.attributes.href,r=n&&e.find(o=>o.url===n);if(r)return t.attributes.href=`/${Ue.value}/@${r.acct}`,t.children=[Rt("span",{"data-type":"mention","data-id":r.acct},`@${r.username}`)],t}return t}}function rs(e){return new Promise((t,n)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>n(e.error)})}function RT(e,t){let n;const r=()=>{if(n)return n;const o=indexedDB.open(e);return o.onupgradeneeded=()=>o.result.createObjectStore(t),n=rs(o),n.then(s=>{s.onclose=()=>n=void 0},()=>{}),n};return(o,s)=>r().then(i=>s(i.transaction(t,o).objectStore(t)))}let Ql;function Qa(){return Ql||(Ql=RT("keyval-store","keyval")),Ql}function PT(e,t=Qa()){return t("readonly",n=>rs(n.get(e)))}function OT(e,t,n=Qa()){return n("readwrite",r=>(r.put(t,e),rs(r.transaction)))}function LT(e,t,n=Qa()){return n("readwrite",r=>new Promise((o,s)=>{r.get(e).onsuccess=function(){try{r.put(t(this.result),e),o(rs(r.transaction))}catch(i){s(i)}}}))}function $T(e,t=Qa()){return t("readwrite",n=>(n.delete(e),rs(n.transaction)))}const Vv=[];function xT(){const e="keyval",t=indexedDB.open("keyval-store");Vv.push(t),t.onupgradeneeded=()=>t.result.createObjectStore(e);const n=rs(t);return(r,o)=>n.then(s=>o(s.transaction(e,r).objectStore(e)))}let Wi;function Za(){return Wi||(Wi=xT()),Wi}function Wh(e){return PT(e,Za())}function IT(e,t){return OT(e,t,Za())}function NT(e,t){return LT(e,t,Za())}function MT(e){return $T(e,Za())}function BT(){Vv.forEach(e=>{e.result&&e.result.close()}),Wi=void 0}const jT=/^(@\S+\s?)+/,HT=/```/g,Gt=zo(XA,()=>({home:[],dialog:[],intent:[],quote:[]})),Vh=["public","unlisted","private","direct"];function UT(e){const t=pe.value?.account.source.privacy||"public";return Vh.indexOf(e)>Vh.indexOf(t)?e:t}const zh=["public","followers","nobody"];function WT(e){const t=pe.value?.account.source.quotePolicy||"public";return zh.indexOf(e)>zh.indexOf(t)?e:t}function os(e={}){const{attachments:t=[],initialText:n="",status:r,inReplyToId:o,visibility:s,sensitive:i,spoilerText:a,language:l,mentions:c,poll:u,scheduledAt:f,quotedStatusId:d,quoteApprovalPolicy:h}=e;return{attachments:t,initialText:n,params:{status:r||"",poll:u,scheduledAt:f,inReplyToId:o,quotedStatusId:d,quoteApprovalPolicy:WT(h||"public"),visibility:UT(s||"public"),sensitive:i??!1,spoilerText:a||"",language:l||""},mentions:c,lastUpdated:Date.now()}}async function F3(e){const t={status:await gT(e.content),visibility:e.visibility,attachments:e.mediaAttachments,sensitive:e.sensitive,spoilerText:e.spoilerText,language:e.language,inReplyToId:e.inReplyToId};return os(e.mediaAttachments!==void 0&&e.mediaAttachments.length>0?{...t,mediaIds:e.mediaAttachments.map(n=>n.id)}:{...t,poll:e.poll?{expiresIn:Math.abs(Date.now()-new Date(e.poll.expiresAt).getTime())/1e3,options:[...e.poll.options.map(({title:n})=>n),""],multiple:e.poll.multiple,hideTotals:e.poll.options[0].votesCount===null}:void 0})}function VT(e){const t=pe.value?.account.id,n=new Set;return e.account.id!==t&&n.add(e.account.acct),e.mentions.filter(r=>r.id!==t).map(r=>r.acct).forEach(r=>n.add(r)),[...n]}function A3(e){const t=VT(e);return{key:`reply-${e.id}`,draft:()=>os({initialText:"",inReplyToId:e.id,sensitive:e.sensitive,spoilerText:e.spoilerText,visibility:e.visibility,mentions:t,language:e.language})}}function pa(e){if(!e)return!0;const t=Array.isArray(e)?e:[e];return t.length===0?!0:!t.some(r=>{const{params:o,attachments:s}=r,i=o.status??"",a=oc(i).trim().replace(jT,"").replaceAll(HT,"").trim(),l=!!o.quotedStatusId;return a.length>0||s.length>0||l})}function S3(e,t=()=>os({})){const n=K({get(){Gt.value[e]||(Gt.value[e]=[t()]);const o=Gt.value[e];return Array.isArray(o)?o:[o]},set(o){Gt.value[e]=o}}),r=K(()=>pa(n.value));return Zo(async()=>{r.value&&e&&(await ot(),delete Gt.value[e])}),{draftItems:n,isEmpty:r}}function T3(e){Tf("dialog",os({status:`@${e.acct} `}))}function k3(e){Tf("dialog",os({status:`@${e.acct} `,visibility:"direct"}))}const zv=["home","dialog","intent","quote"];function R3(){for(const e in Gt.value)if(zT(e)){if(zv.includes(e)&&!pa(Gt.value[e]))continue;pa(Gt.value[e])&&delete Gt.value[e]}}function zT(e){return zv.includes(e)||e.startsWith("reply-")}const qh=Q(),qT=Q(),KT=Q(),qv=Q([]),Kv=Q(0),GT=Q(),YT=Q(),XT=Q(),JT=Q(),QT=Q(""),ZT=Q(!1),Kh=Q(!1),ac=Q(!1),Gv=Q(!1),ek=Q(!1),Yv=Q(!1),Xv=Q(!1),Gh=Q(!1),lc=Q(!1),tk=Q(!1),Jv=Q(!1),P3=Q(null),nk=Q(null);function el(){ZT.value=!0}async function tl(e){return qT.value=typeof e=="string"?{title:e}:e,qh.value=void 0,Gh.value=!0,await gf(Gh).toBe(!1),qh.value}async function Tf(e="dialog",t,n=!1){YT.value=e,t&&(n&&pa(Gt.value[e]),(n||!Gt.value[e])&&(Gt.value[e]=[t])),Kh.value=!0,await gf(Kh).toBe(!1)}async function O3(e){tk.value=!0,nk.value=e}function Yh(){qv.value=JSON.parse(history.state?.mediaPreviewList??"[]"),Kv.value=history.state?.mediaPreviewIndex??0,Gv.value=history.state?.mediaPreview??!1}window.addEventListener("popstate",Yh),Yh();function L3(e,t=0){qv.value=e,Kv.value=t,Gv.value=!0,history.pushState({...history.state,mediaPreview:!0,mediaPreviewList:JSON.stringify(e),mediaPreviewIndex:t},"")}async function rk(e){KT.value=e,lc.value=!0,await gf(lc).toBe(!1)}function $3(){lc.value=!1}function x3(){history.back()}function I3(e){GT.value=e,ek.value=!0}function N3(){Yv.value=!0}function M3(){Yv.value=!1}function B3(e=!1){QT.value=e?"> ":"",Xv.value=!0}function j3(){Xv.value=!1}function ok(){ac.value=!ac.value}function sk(){ac.value=!1}function H3(e,t){XT.value=e,JT.value=t,Jv.value=!0}function U3(){Jv.value=!1}const Tn=Q([]),Qv=Sr(QA,{},{deep:!0}),eo=Sr(ZA,""),nl=Sr(JA,{},{deep:!0});function Zv(e){return nl.value[e]}const pe=K(()=>{const e=eo.value,t=Tn.value;if(e){const n=t.find(r=>r.account?.acct===e);if(n)return n}return t.length?t[0]:void 0}),ey=Q(null),fn=K(()=>{const e=pe.value,t=nl.value,n=ey.value;return e?t[e.server]??null:n});function si(e){return e.accountDomain||s_(e.domain||"")}const io=Q(""),Ue=K(()=>pe.value?.server||io.value),ik=K(()=>Qv.value[Ue.value]||null),ak=K(()=>ik.value?.software?.name==="gotosocial"),W3=K(()=>fn.value?.version?.includes("+glitch"));function rl(){return Tn}function lk(e){return K(()=>pe.value&&ae(e)?.id===pe.value.account.id)}const V3=K(()=>fn.value?.configuration?.statuses.maxCharacters??YA);async function ii(e,t){const{client:n}=e,r=BS(e,t),o=`https://${t.server}`;if(fetch(`${o}/nodeinfo/2.0`).then(u=>u.json()).then(u=>{Qv.value[t.server]=u}).catch(()=>{}),!t?.token){io.value=t.server,ey.value=r;return}function s(){return Tn.value.find(u=>u.server===t.server&&u.token===t.token)}const i=s()?.account;i&&(eo.value=i.acct);const[a,l]=await Promise.all([ty(n.value,t.server),fo().pwaEnabled?n.value.v1.push.subscription.fetch().catch(()=>Promise.resolve(void 0)):Promise.resolve(void 0)]),c=s();c?(c.account=a,c.pushSubscription=l):Tn.value.push({...t,account:a,pushSubscription:l}),eo.value=a.acct}const ol=new Map;function z3(e){return ol.get(e.acct)?.["reading:expand:spoilers"]??!1}function q3(e){return ol.get(e.acct)?.["reading:expand:media"]==="show_all"}function K3(e){return ol.get(e.acct)?.["reading:expand:media"]==="hide_all"}async function ty(e,t){const n=async()=>{try{return await e.v1.preferences.fetch()}catch{return{}}},[r,o]=await Promise.all([e.v1.accounts.verifyCredentials(),n()]);
7if(!r.acct.includes("@")){const s=kf(t);r.acct=`${r.acct}@${s}`}return ol.set(r.acct,o),Rf(r,t,!0),r}function kf(e){const t=Zv(e);return t?si(t):e}async function G3(){const e=await ty(ho(),Ue.value);return pe.value.account=e,e}async function uk(e,t=!0){e.pushSubscription=void 0;const{acct:n}=e.account;delete Sr(n1,{}).value[n],delete Sr(r1,{}).value[n];const r=fo().pwaEnabled,o=fe().$pwa,s=o?.registrationError===!0;if(r&&!s&&o?.registrationError===!0&&t&&(Tn.value.length===0||Tn.value.every(a=>!a.pushSubscription)))try{const l=await(await navigator.serviceWorker.ready).pushManager.getSubscription();l&&await l.unsubscribe()}catch{}}async function ck(e){e.pushSubscription&&await ho().v1.push.subscription.remove().catch(()=>Promise.resolve())}async function fk(e){const t=Vt();await ii(t,e);const n=co(),r=He();"server"in n.params&&e?.token&&!fe()._processingMiddleware&&await r.push({...n,force:!0})}async function ny(){if(!pe.value)return;const e=Vt(),t=pe.value.account.id,n=Tn.value.findIndex(r=>r.account?.id===t);n!==-1&&(dk(),Tn.value.some((r,o)=>r.server===pe.value.server&&o!==n)||delete nl.value[pe.value.server],await ck(pe.value),await uk(pe.value),eo.value="",Tn.value.splice(n,1)),eo.value=Tn.value[0]?.account?.acct,eo.value||await He().push("/"),await ii(e,pe.value||{server:io.value})}function Y3(){return pe.value?!0:(el(),!1)}function zo(e,t){const n=zo._=zo._||new Map;if(!n.has(e)){const r=Xo(!0),o=r.run(()=>{const s=Sr(e,{},{deep:!0});return K(()=>{const i=pe.value?.account.id?pe.value.account.acct:"[anonymous]";if(!s.value[i]){const[a,l]=i.split("@"),c=Ue.value;if(l&&c&&c!==l){const u=`${a}@${c}`,f=s.value[u];if(f){const d={...s.value,[i]:f};delete d[u],s.value=d}}s.value[i]=Object.assign(t(),s.value[i]||{})}return s.value[i]})});n.set(e,{scope:r,value:o})}return n.get(e).value}function dk(e){if(e||(e=pe.value?.account),!e)return;const t=`${e.acct}@${fn.value?si(fn.value):Ue.value}`;zo._?.forEach(({value:r})=>{r.value[t]&&delete r.value[t]})}const vn=new pf({max:1e3});function ma(e,t,n=!1){(n||!vn.has(e))&&vn.set(e,t)}function hk(e){vn.delete(e)}function pk(e,t=!1){const n=Ue.value,r=pe.value?.account.id,o=`${n}:${r}:status:${e}`,s=vn.get(o);if(s&&!t)return Promise.resolve(s);const i=ho().v1.statuses.$select(e).fetch().then(a=>(gk(a),a));return vn.set(o,i),i}function X3(e){if(!e)return Promise.resolve(null);const t=Ue.value,n=pe.value?.account.id,r=`${t}:${n}:account:${e}`,o=vn.get(r);if(o)return Promise.resolve(o);const s=kf(t),i=ho().v1.accounts.$select(e).fetch().then(a=>(a.acct&&!a.acct.includes("@")&&s&&(a.acct=`${a.acct}@${s}`),Rf(a,t,!0),a));return vn.set(r,i),i}async function ry(e){const t=Ue.value,n=pe.value?.account.id,r=kf(t),o=r&&e.endsWith(`@${r}`)?e.slice(0,-r.length-1):e,s=`${t}:${n}:account:${o}`,i=vn.get(s);if(i)return Promise.resolve(i);async function a(){const c=ho();let u;if(!ak.value)u=await c.v1.accounts.lookup({acct:o});else{const f=o.includes("@")?o:`${o}@${r}`;u=(await c.v1.search.list({q:`@${f}`,type:"accounts"})).accounts[0]}return u.acct&&!u.acct.includes("@")&&r&&(u.acct=`${u.acct}@${r}`),u}const l=a().then(c=>(Rf(c,t,!0),c));return vn.set(s,l),l}function mk(e,t=!1){const n=Ue.value,r=pe.value?.account.id,o=`${n}:${r}:tag:${e}`,s=vn.get(o);if(s&&!t)return Promise.resolve(s);const i=ho().v1.tags.$select(e).fetch().then(a=>(_k(a),a));return vn.set(o,i),i}function gk(e,t=Ue.value,n){const r=pe.value?.account.id;ma(`${t}:${r}:status:${e.id}`,e,n)}function J3(e,t=Ue.value){const n=pe.value?.account.id;hk(`${t}:${n}:status:${e}`)}function Rf(e,t=Ue.value,n){const r=pe.value?.account.id,o=e.acct.endsWith(`@${t}`)?e.acct.slice(0,-t.length-1):e.acct;ma(`${t}:${r}:account:${e.id}`,e,n),ma(`${t}:${r}:account:${o}`,e,n)}function _k(e,t=Ue.value,n){const r=pe.value?.account.id;ma(`${t}:${r}:tag:${e.name}`,e,n)}const vk=/:([\w-]+):/g;function yk(e,t){const n=e.displayName||e.username||e.acct||"";return t?.rich?n:n.replace(vk,"")}function Dk(e){return`@${e.includes("@")?e.split("@")[0]:e}`}function oy({acct:e}){return e?Dk(e):""}function ga(e){return e.acct?.includes("@")?e.acct.split("@")[1]:fn.value?si(fn.value):""}function _a(e){const t=`@${e.acct}`;
7return!pe.value||e.acct.includes("@")?t:`${t}@${ga(e)}`}function Q3(e){if(!pe.value)return e;const t=pe.value.server;return e.endsWith(`@${t}`)?e.slice(0,-t.length-1):e}function sl(e){let t=_a(e).slice(1);const n=fn.value?si(fn.value):Ue.value;return fn.value&&t.endsWith(`@${n}`)&&(t=t.slice(0,-n.length-1)),t}function Us(e){return He().resolve({name:"account-index",params:{server:Ue.value,account:sl(e)}})}function bk(e){return He().resolve({name:"account-following",params:{server:Ue.value,account:sl(e)}})}function wk(e){return He().resolve({name:"account-followers",params:{server:Ue.value,account:sl(e)}})}function Z3(e){return`https://${pe.value?.server}/admin/reports/${encodeURIComponent(e)}`}function Pf(e){return He().resolve({name:"status",params:{server:Ue.value,account:sl(e.account),status:e.id}})}function e8(e){return He().resolve({name:"tag",params:{server:Ue.value,tag:e}})}function t8(e){return e.url?s_(e.url):null}function n8(e){return He().resolve({name:"status-by-id",params:{server:Ue.value,status:e.inReplyToId}})}function r8({status:e,focusReply:t=!1}){return Ya({path:Pf(e).href,state:{focusReply:t}})}const Ek={middleware:async e=>{let t,n;const o=e.params.status,s=([t,n]=Jt(()=>pk(o)),t=await t,n(),t);return Pf(s)}},Ck=null,Fk=null,Ak={key:e=>e.path},Xh={key:e=>`${e.params.server??Ue.value}:${e.params.account}`},Sk={middleware:async e=>{const t=Array.isArray(e.params.permalink)?e.params.permalink.join("/"):e.params.permalink;if(uo(t)){const{host:n,pathname:r}=a_(t);if(n)return`/${n}${r}`}return!1}},Zl=[{name:"intent-post",path:"/intent/post",component:()=>V(()=>import("./wlO4hwHH.js"),[],import.meta.url)},{name:"blocks",path:"/blocks",meta:{middleware:"auth"},component:()=>V(()=>import("./BdyhGJvg.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)},{name:"bookmarks",path:"/bookmarks",meta:{middleware:"auth"},component:()=>V(()=>import("./B1BBioz6.js"),__vite__mapDeps([4,5,6,7,8,9,3,10,11,12,13,14]),import.meta.url)},{name:"compose",path:"/compose",meta:{middleware:"auth"},component:()=>V(()=>import("./4_1hyuWm.js"),__vite__mapDeps([15,16,17,6,7,8,9,3,10,11,12,13,14,18,19,20,21,22,23,24,25,26,27]),import.meta.url)},{name:"conversations",path:"/conversations",meta:{middleware:"auth"},component:()=>V(()=>import("./bWwe4b0P.js"),__vite__mapDeps([28,6,7,8,9,3,10,11,12,13,14]),import.meta.url)},{name:"domain_blocks",path:"/domain_blocks",meta:{middleware:"auth"},component:()=>V(()=>import("./bjfNH4AV.js"),__vite__mapDeps([29,3]),import.meta.url)},{name:"favourites",path:"/favourites",meta:{middleware:"auth"},component:()=>V(()=>import("./Xq0vsQdj.js"),__vite__mapDeps([30,5,6,7,8,9,3,10,11,12,13,14]),import.meta.url)},{name:jA?.name,path:"/hashtags",component:()=>V(()=>import("./DZzHUEWb.js"),[],import.meta.url),children:[{name:"hashtags",path:"",meta:{middleware:"auth"},component:()=>V(()=>import("./DBLXZzwI.js"),__vite__mapDeps([31,32,3]),import.meta.url)}]},{name:"home",path:"/home",meta:{middleware:"auth"},alias:["/signin/callback"],component:()=>V(()=>import("./CTQmBc4M.js"),__vite__mapDeps([33,16,17,6,7,8,9,3,10,11,12,13,14,18,19,20,21,22,23,24,25,26,27,5,34]),import.meta.url)},{name:"mutes",path:"/mutes",meta:{middleware:"auth"},component:()=>V(()=>import("./6D6ZpIWi.js"),__vite__mapDeps([35,1,2,3]),import.meta.url)},{name:HA?.name,path:"/notifications",meta:{middleware:"auth"},component:()=>V(()=>import("./D-1eoppE.js"),__vite__mapDeps([36,37,10,38,20,21,39,40]),import.meta.url),children:[{name:"notifications-filter",path:":filter()",component:()=>V(()=>import("./hGxgE4KJ.js"),__vite__mapDeps([41,42,8,6,7,9,3,10,11,12,13,14,43,44,2,45,40]),import.meta.url)},{name:"notifications",path:"",component:()=>V(()=>import("./CQf94e1Y.js"),__vite__mapDeps([46,42,8,6,7,9,3,10,11,12,13,14,43,44,2,45]),import.meta.url)}]},{name:"pinned",path:"/pinned",meta:{middleware:"auth"},component:()=>V(()=>import("./CAy8WBL7.js"),__vite__mapDeps([47,5,6,7,8,9,3,10,11,12,13,14]),import.meta.url)},{name:"scheduled-posts",path:"/scheduled-posts",meta:{middleware:"auth"},component:()=>V(()=>import("./B9DzNh3Z.js"),__vite__mapDeps([48,8,3]),import.meta.url)},{name:wh?.name,path:"/settings",meta:wh||{},component:()=>V(()=>import("./DKt60DJN.js"),__vite__mapDeps([49,50]),import.meta.url),children:[{name:"settings-notifications-notifications",path:"notifications/notifications",meta:{middleware:"auth"},component:()=>V(()=>import("./WtY71MP4.js"),[],import.meta.url)},{name:"settings-notifications-push-notifications",path:"notifications/push-notifications",meta:VA||{},component:()=>V(()=>import("./DA3tj6bQ.js"),__vite__mapDeps([51,38,20,21,39]),import.meta.url)},{name:"settings-profile-appearance",path:"profile/appearance",meta:{middleware:"auth"},component:()=>V(()=>import("./BOVZPQSy.js"),__vite__mapDeps([52,23,18,19,10,9,17,53,54]),import.meta.url)},{name:"settings-profile-featured-tags",path:"profile/featured-tags",meta:{middleware:"auth"},component:()=>V(()=>import("./DWi0cRXL.js"),[],import.meta.url)},{name:"settings-about",path:"about",component:()=>V(()=>import("./CIXb2F82.js"),__vite__mapDeps([55,50]),import.meta.url)},{name:"settings-interface",path:"interface",component:()=>V(()=>import("./96wmVWA6.js"),__vite__mapDeps([56,57]),import.meta.url)},{name:"settings-language",path:"language",component:()=>V(()=>import("./CbR9xo83.js"),__vite__mapDeps([58,50,20,21,22,11]),import.meta.url)},{name:"settings-notifications",path:"notifications",meta:{middleware:"auth"},component:()=>V(()=>import("./DF3ASvJK.js"),__vite__mapDeps([59,50]),import.meta.url)},{name:"settings-preferences",path:"preferences",component:()=>V(()=>import("./B0jeDFM3.js"),[],import.meta.url)},{name:"settings-profile",path:"profile",meta:{middleware:"auth"},component:()=>V(()=>import("./Bhim0HJZ.js"),__vite__mapDeps([60,50]),import.meta.url)},{name:"settings-users",path:"users",component:()=>V(()=>import("./C_3Spb1Y.js"),__vite__mapDeps([61,23]),import.meta.url)},{name:"settings",path:"",component:()=>V(()=>import("./BnXKRHJM.js"),[],import.meta.url)}]},{name:"share-target",path:"/share-target",meta:zA||{},component:()=>V(()=>import("./YR4ac8mo.js"),__vite__mapDeps([62,26]),import.meta.url)},{name:"server-public-local",path:"/:server?/public/local",component:()=>V(()=>import("./5F4d9ao8.js"),__vite__mapDeps([63,5,6,7,8,9,3,10,11,12,13,14,34]),import.meta.url)},{name:qA?.name,path:"/:server?/list/:list()",meta:{middleware:"auth"},component:()=>V(()=>import("./CD40zOe2.js"),__vite__mapDeps([64,37,10]),import.meta.url),children:[{name:"list-accounts",path:"accounts",component:()=>V(()=>import("./Ca6RToE0.js"),__vite__mapDeps([65,66,3,24]),import.meta.url)},{name:"list",path:"",component:()=>V(()=>import("./DIrH7QNT.js"),__vite__mapDeps([67,5,6,7,8,9,3,10,11,12,13,14,34]),import.meta.url)}]},{name:"status-by-id",path:"/:server?/status/:status()",meta:Ek||{},component:()=>V(()=>import("./B4ZK0R18.js"),[],import.meta.url)},{name:"tag",path:"/:server?/tags/:tag()",component:()=>V(()=>import("./Bv_03y_4.js"),__vite__mapDeps([68,5,6,7,8,9,3,10,11,12,13,14]),import.meta.url)},{name:Ck?.name,path:"/:server?/explore",component:()=>V(()=>import("./Cczd8CY3.js"),__vite__mapDeps([69,37,10]),import.meta.url),children:[{name:"server-explore-links",path:"links",component:()=>V(()=>import("./279VXUQI.js"),__vite__mapDeps([70,71,12,7,13,3]),import.meta.url)},{name:"server-explore-tags",path:"tags",component:()=>V(()=>import("./Bdo1WA67.js"),__vite__mapDeps([72,71,32,3]),import.meta.url)},{name:"server-explore-users",path:"users",component:()=>V(()=>import("./Dy0Jc4Q9.js"),__vite__mapDeps([73,43,3]),import.meta.url)},{name:"server-explore",path:"",component:()=>V(()=>import("./DCEP07bw.js"),__vite__mapDeps([74,71,5,6,7,8,9,3,10,11,12,13,14]),import.meta.url)}]},{name:Fk?.name,path:"/:server?/lists",component:()=>V(()=>import("./C_N1AQEO.js"),[],import.meta.url),children:[{name:"server-lists",path:"",meta:{middleware:"auth"},component:()=>V(()=>import("./g6oofgfx.js"),__vite__mapDeps([75,17,53,3]),import.meta.url)}]},{name:"server-public",path:"/:server?/public",component:()=>V(()=>import("./d1nmbKfC.js"),__vite__mapDeps([76,5,6,7,8,9,3,10,11,12,13,14,34]),import.meta.url)},{name:"server-search",path:"/:server?/search",component:()=>V(()=>import("./DxXcqeL6.js"),__vite__mapDeps([77,78,25,6,7,8,9,3,10,11,12,13,14,24,66]),import.meta.url)},{name:"status",path:"/:server?/@:account()/:status()",meta:Ak||{},alias:["/:server?/@:account/statuses/:status"],component:()=>V(()=>import("./B2166KRQ.js"),__vite__mapDeps([79,6,7,8,9,3,10,11,12,13,14,16,17,18,19,20,21,22,23,24,25,26,27,80]),import.meta.url)},{name:Xh?.name,path:"/:server?/@:account()",meta:Xh||{},component:()=>V(()=>import("./DRAAb7pE.js"),__vite__mapDeps([81,7,44,10,3,9,80,82]),import.meta.url),children:[{name:"account-followers",path:"followers",component:()=>V(()=>import("./DVFqPW-N.js"),__vite__mapDeps([83,1,2,3]),import.meta.url)},{name:"account-following",path:"following",component:()=>V(()=>import("./Cs51AAJj.js"),__vite__mapDeps([84,1,2,3]),import.meta.url)},{name:"account-media",path:"media",component:()=>V(()=>
7import("./CCs1kZ1K.js"),__vite__mapDeps([85,86,37,10,5,6,7,8,9,3,11,12,13,14,34]),import.meta.url)},{name:"account-replies",path:"with_replies",component:()=>V(()=>import("./B8bZWE1n.js"),__vite__mapDeps([87,86,37,10,5,6,7,8,9,3,11,12,13,14,34]),import.meta.url)},{name:"account-index",path:"",component:()=>V(()=>import("./Djez2uQv.js"),__vite__mapDeps([88,86,37,10,5,6,7,8,9,3,11,12,13,14,34]),import.meta.url)}]},{name:"server",path:"/:server?",component:()=>V(()=>import("./CUEhZXLX.js"),[],import.meta.url)},{name:"permalink",path:"/:permalink(.*)*",meta:Sk||{},component:()=>V(()=>import("./Fp_vAybZ.js"),[],import.meta.url)},{name:"index",path:"/",meta:{middleware:"auth"},component:()=>V(()=>import("./Bdl0bD2B.js"),[],import.meta.url)}];const eu=e=>typeof e=="function",Tk=e=>e!==null&&typeof e=="object",kk=e=>(Tk(e)||eu(e))&&eu(e.then)&&eu(e.catch),Rk=Object.prototype.toString,Pk=e=>Rk.call(e),Ok=e=>Pk(e)==="[object Object]",sy=(e,t)=>({default:()=>e?we(sw,e===!0?{}:e,t):t.default?.()}),Lk=/(:\w+)\([^)]+\)/g,$k=/(:\w+)[?+*]/g,xk=/:\w+/g;function Jh(e){const t=e?.meta.key??e.path.replace(Lk,"$1").replace($k,"$1").replace(xk,n=>e.params[n.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function Ik(e,t){return e===t||t===Kt?!1:Jh(e)!==Jh(t)?!0:!e.matched.every((r,o)=>r.components&&r.components.default===t.matched[o]?.components?.default)}function Nk(e,t=!1){if(e){if(e.nodeName==="#comment"&&e.nodeValue==="[")return iy(e,[],t);if(t){const n=e.cloneNode(!0);return n.querySelectorAll("[data-island-slot]").forEach(r=>{r.innerHTML=""}),[n.outerHTML]}return[e.outerHTML]}}function iy(e,t=[],n=!1){if(e&&e.nodeName){if(jk(e))return t;if(!Bk(e)){const r=e.cloneNode(!0);n&&r.querySelectorAll?.("[data-island-slot]").forEach(o=>{o.innerHTML=""}),t.push(r.outerHTML)}iy(e.nextSibling,t,n)}return t}function Mk(e,t){const n=e?Nk(e):[t];return n?Vb(n.join(""),n.length):we("div")}function Bk(e){return e.nodeName==="#comment"&&e.nodeValue==="["}function jk(e){return e.nodeName==="#comment"&&e.nodeValue==="]"}function Qh(e){return Array.isArray(e)?e:[e]}function ay(e){const t=[];for(const n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?Qh(n.onAfterLeave):void 0,onBeforeLeave:n.onBeforeLeave?Qh(n.onBeforeLeave):void 0});return g_(...t)}const Hk={scrollBehavior(e,t,n){const r=fe(),o=He().options?.scrollBehaviorType??"auto";return e.path.replace(/\/$/,"")===t.path.replace(/\/$/,"")?t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:ly(e.hash),behavior:o}:!1:(typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1?!1:t===Kt?Zh(e,t,n,o):new Promise(i=>{const a=()=>{requestAnimationFrame(()=>i(Zh(e,t,n,o)))};r.hooks.hookOnce("page:loading:end",()=>{const l=r["~transitionPromise"];l?l.then(a):a()})})}};function ly(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 Zh(e,t,n,r){return n||(e.hash?{el:e.hash,top:ly(e.hash),behavior:Ik(e,t)?r:"instant"}:{left:0,top:0})}const Uk={hashMode:!1,scrollBehaviorType:"auto"},ur={...Uk,...Hk},Wk=async(e,t)=>{let n,r;if(!e.meta?.validate)return;const o=([n,r]=Jt(()=>Promise.resolve(e.meta.validate(e))),n=await n,r(),n);if(o===!0)return;const s=br({fatal:!0,status:o&&(o.status||o.statusCode)||404,statusText:o&&(o.statusText||o.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<"u"&&window.history.pushState({},"",t.fullPath),s},Vk=async(e,t)=>{let n,r;if(!("server"in e.params))return;const o=e.params.server||Ue.value,s=pe.value,i=Vt();if(!s){(t.params.server||Ue.value)!==o&&ii(i,{server:o});return}if(s.server!==o&&!e.params.tag){if(!ir().public.singleInstance&&!e.params.server)return{...e,params:{...e.params,server:s.server}};try{if(e.params.account&&e.name!=="status"&&e.params.account.includes("@")){const u=([n,r]=Jt(()=>ry(e.params.account)),n=await n,r(),n);if(u)return Us(u)}const a=i.client.value.v2.search.list({q:`https:/${e.fullPath}`,resolve:!0,limit:1}),{accounts:l,statuses:c}=([n,r]=Jt(()=>a.values().next()),n=await n,r(),n).value??{accounts:[],statuses:[]};if(c[0])return Pf(c[0]);if(l[0])return Us(l[0])}catch{}return"/home"}},zk=async e=>{if(ir().public.singleInstance&&e.params.server){const t={...e};return delete t.params.server,t}},qk=e=>{const t=B_({path:e.path});if(t.redirect){const n=t.redirect.includes("#")?t.redirect:t.redirect+e.hash;return ts(n,{acceptRelative:!0})?(window.location.href=n,!1):n}},Kk=[Wk,Vk,zk,qk],uc={auth:()=>V(()=>import("./ChaFVUEM.js"),[],import.meta.url)};
7function Gk(e,t,n){const{pathname:r,search:o,hash:s}=t,i=e.indexOf("#");if(i>-1){const c=s.includes(e.slice(i))?e.slice(i).length:1;let u=s.slice(c);return u[0]!=="/"&&(u="/"+u),Xd(u,"")}const a=Xd(r,e),l=!n||E_(a,n)?a:n;return l+(l.includes("?")?"":o)+s}const Yk=We({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=ir().app.baseURL;const o=ur.history?.(r)??hA(r),s=ur.routes?([t,n]=Jt(()=>ur.routes(Zl)),t=await t,n(),t??Zl):Zl;let i;const a=OA({...ur,scrollBehavior:(m,y,_)=>{if(y===Kt){i=_;return}if(ur.scrollBehavior){if(a.options.scrollBehavior=ur.scrollBehavior,"scrollRestoration"in window.history){const D=a.beforeEach(()=>{D(),window.history.scrollRestoration="manual"})}return ur.scrollBehavior(m,Kt,i||_)}},history:o,routes:s});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=ie(a.currentRoute.value);a.afterEach((m,y)=>{l.value=y}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const c=Gk(r,window.location,e.payload.path),u=ie(a.currentRoute.value),f=()=>{u.value=a.currentRoute.value};a.afterEach((m,y)=>{const _=m.matched.at(-1)?.components?.default,D=y.matched.at(-1)?.components?.default;if(_===D){f();return}m.matched.length<y.matched.length&&m.matched.every((b,A)=>b.components?.default===y.matched[A]?.components?.default)&&f()});const d={sync:f};for(const m in u.value)Object.defineProperty(d,m,{get:()=>u.value[m],enumerable:!0});e._route=on(d),e._middleware||={global:[],named:{}};const h=Xa();a.afterEach(async(m,y,_)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(T_),_&&await e.callHook("page:loading:end")});try{[t,n]=Jt(()=>a.isReady()),await t,n()}catch(m){[t,n]=Jt(()=>e.runWithContext(()=>Ur(m))),await t,n()}const p=c!==a.currentRoute.value.fullPath?a.resolve(c):a.currentRoute.value,g=e.isHydrating&&e.payload.prerenderedAt&&e.payload.path&&c!==e.payload.path&&E_(a.currentRoute.value.path,e.payload.path);f();const v=e.payload.state._layout;return a.beforeEach(async(m,y)=>{await e.callHook("page:loading:start"),m.meta=it(m.meta),e.isHydrating&&v&&!xn(m.meta.layout)&&(m.meta.layout=v),e._processingMiddleware=!0;{const _=new Set([...Kk,...e._middleware.global]);for(const b of m.matched){const A=b.meta.middleware;if(A)for(const E of nv(A))_.add(E)}const D=B_({path:m.path});if(D.appMiddleware)for(const b in D.appMiddleware)D.appMiddleware[b]?_.add(b):_.delete(b);for(const b of _){const A=typeof b=="string"?e._middleware.named[b]||await uc[b]?.().then(E=>E.default||E):b;if(!A)throw new Error(`Unknown route middleware: '${b}'.`);try{const E=await e.runWithContext(()=>A(m,y));if(!e.payload.serverRendered&&e.isHydrating&&(E===!1||E instanceof Error)){const O=E||br({status:404,statusText:`Page Not Found: ${c}`});return await e.runWithContext(()=>Ur(O)),!1}if(E===!0)continue;if(E===!1)return E;if(E)return k_(E)&&E.fatal&&await e.runWithContext(()=>Ur(E)),E}catch(E){const O=br(E);return O.fatal&&await e.runWithContext(()=>Ur(O)),O}}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(m=>{if(m.matched.length===0&&!h.value)return e.runWithContext(()=>Ur(br({status:404,fatal:!1,statusText:`Page not found: ${m.fullPath}`,data:{path:m.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{if("name"in p&&(p.name=void 0),g){const m=a.resolve(e.payload.path);"name"in m&&(m.name=void 0),await a.replace({...m,force:!0}),e.hooks.hookOnce("app:suspense:resolve",async()=>{await a.replace({...p,force:!0})})}else await a.replace({...p,force:!0});a.options.scrollBehavior=ur.scrollBehavior}catch(m){await e.runWithContext(()=>Ur(m))}}),{provide:{router:a}}}});async function Xk(e,t,n,r={}){const{flush:o="pre",deep:s=!0,writeDefaults:i=!0,onError:a=h=>{}}=r,l=ae(t);try{const h=await Wh(e);h===void 0?l!=null&&i&&(await IT(e,l),n.value=l):n.value=h}catch(h){a(h)}async function c(h){try{h==null?await MT(e):await NT(e,()=>Ee(h))}catch(p){a(p)}}const{pause:u,resume:f}=hv(n,h=>c(h),{flush:o,deep:s});async function d(h){u();try{await c(h),n.value=h}finally{f()}}return{set:d,readIDB:()=>Wh(e)}}const Jk=We({enforce:"pre",parallel:!1,async setup(){let e,t;const n=rl();let r=[],o=!1;if(globalThis?.localStorage){const u=globalThis.localStorage.getItem(zl);u&&(r=JSON.parse(u),o=!0)}o&&globalThis.localStorage.removeItem(zl);let s=Nv;{let u=function(){setTimeout(()=>{window.location.reload()},0)};const f=Q(!0);s=()=>f.value=!1;const{readIDB:d}=([e,t]=Jt(()=>Xk(zl,r,n)),e=await e,t(),e);_1(()=>
7[eo.value,n.value.length],async([h,p],g)=>{if(f.value)return;const v=g?.[0],y=(await d())?.length||0;if(p!==y){u();return}let _;if(v)_=h===v;else{const D=pe.value?.account?.acct;_=!D||D===h}_||u()},{debounce:450,flush:"post",immediate:!0})}const{params:i,query:a}=co();io.value=i.server||ir().public.defaultServer;const l=MS(),c=typeof a.server=="string"&&typeof a.token=="string"?{server:a.server,token:a.token,vapidKey:typeof a.vapid_key=="string"?a.vapid_key:void 0}:pe.value||{server:io.value};return ii(l,c).finally(s),{provide:{masto:l}}}}),cc=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Qk=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Of=e=>{const t=fe();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{cc(()=>e())}):cc(()=>e())},Zk=We(()=>{const e=He();Of(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),eR=We(e=>{let t;async function n(){let r;try{r=await gF()}catch(o){const s=o;if(!("status"in s&&(s.status===404||s.status===403)))throw s}t&&clearTimeout(t),t=setTimeout(n,Kd);try{const o=await $fetch(sf("builds/latest.json")+`?${Date.now()}`);o.id!==r?.id&&(e.hooks.callHook("app:manifest:update",o),t&&clearTimeout(t))}catch{}}Of(()=>{t=setTimeout(n,Kd)})});function tR(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&&la(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:fe().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const nR=We({name:"nuxt:chunk-reload",setup(e){const t=He(),n=ir(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:s})=>{r.add(s)});function o(s){const i=w_(n.app.baseURL,s.fullPath);tR({path:i,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((s,i)=>{r.has(s)&&o(i)})}});function fc(e){return typeof e=="string"?`'${e}'`:new rR().serialize(e)}const rR=(function(){class e{#r=new Map;compare(n,r){const o=typeof n,s=typeof r;return o==="string"&&s==="string"?n.localeCompare(r):o==="number"&&s==="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 o=n.constructor,s=o===Object||o===void 0?"":o.name;if(s!==""&&globalThis[s]===o)return this.serializeBuiltInType(s,n);if(typeof n.toJSON=="function"){const i=n.toJSON();return s+(i!==null&&typeof i=="object"?this.$object(i):`(${this.serialize(i)})`)}return this.serializeObjectEntries(s,Object.entries(n))}serializeBuiltInType(n,r){const o=this["$"+n];if(o)return o.call(this,r);if(typeof r?.entries=="function")return this.serializeObjectEntries(n,r.entries());throw new Error(`Cannot serialize ${n}`)}serializeObjectEntries(n,r){const o=Array.from(r).sort((i,a)=>this.compare(i[0],a[0]));let s=`${n}{`;for(let i=0;i<o.length;i++){const[a,l]=o[i];s+=`${this.serialize(a,!0)}:${this.serialize(l)}`,i<o.length-1&&(s+=",")}return s+"}"}$object(n){let r=this.#r.get(n);return r===void 0&&(this.#r.set(n,`#${this.#r.size}`),r=this.serializeObject(n),this.#r.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 o=0;o<n.length;o++)r+=this.serialize(n[o]),o<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,o)=>this.compare(r,o)))}`}
7$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 oR(e,t){return e===t||fc(e)===fc(t)}const sR=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],iR=[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],aR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",Br=[];let lR=class{_data=new bi;_hash=new bi([...sR]);_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 o=r[0],s=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)Br[d]=t[n+d]|0;else{const _=Br[d-15],D=(_<<25|_>>>7)^(_<<14|_>>>18)^_>>>3,b=Br[d-2],A=(b<<15|b>>>17)^(b<<13|b>>>19)^b>>>10;Br[d]=D+Br[d-7]+A+Br[d-16]}const h=l&c^~l&u,p=o&s^o&i^s&i,g=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),v=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),m=f+v+h+iR[d]+Br[d],y=g+p;f=u,u=c,c=l,l=a+m|0,a=i,i=s,s=o,o=m+y|0}r[0]=r[0]+o|0,r[1]=r[1]+s|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=bi.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 o=r*16,s=Math.min(o*4,this._data.sigBytes);if(o){for(let i=0;i<o;i+=16)this._doProcessBlock(this._data.words,i);n=this._data.words.splice(0,o),this._data.sigBytes-=s}return new bi(n,s)}}
7,bi=class uy{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,o=[];for(let s=0;s<r;s++)o[s>>>2]|=(n.charCodeAt(s)&255)<<24-s%4*8;return new uy(o,r)}toBase64(){const t=[];for(let n=0;n<this.sigBytes;n+=3){const r=this.words[n>>>2]>>>24-n%4*8&255,o=this.words[n+1>>>2]>>>24-(n+1)%4*8&255,s=this.words[n+2>>>2]>>>24-(n+2)%4*8&255,i=r<<16|o<<8|s;for(let a=0;a<4&&n*8+a*6<this.sigBytes*8;a++)t.push(aR.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 uR(e){return new lR().finalize(e).toBase64()}function bo(e){return uR(fc(e))}const cy=Symbol.for("nuxt:client-only"),cR="<div></div>";function fR(e){return e.nodeName==="#comment"&&e.nodeValue==="placeholder"}function tu(e){return e&&!fR(e)?Mk(e,cR):we("div")}const s8=ge({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=ie(!1);Qt(()=>{r.value=!0});const o=_t();return o&&(o._nuxtClientOnly=!0),Xn(cy,!0),()=>{if(r.value){const l=t.default?.();return l&&l.length===1?[Ut(l[0],n)]:l}const s=t.fallback||t.placeholder;if(s)return we(s);const i=e.fallback||e.placeholder||"",a=e.fallbackTag||e.placeholderTag||"span";return oe(a,n,i)}}}),nu=new WeakMap;function fy(e){if(nu.has(e))return nu.get(e);const t={...e};if(t.render)t.render=(n,r,o,s,i,a)=>{if(s.mounted$??n.mounted$){const l=e.render?.bind(n)(n,r,o,s,i,a);return l.children===null||typeof l.children=="string"?Ut(l):we(l)}return tu(n._.vnode.el)};else{const n="<div></div>";t.template&&=`
8      <template v-if="mounted$">${e.template}</template>
9      <template v-else>${n}</template>
10    `}return t.setup=(n,r)=>{const o=fe(),s=ie(o.isHydrating===!1),i=_t();if(o.isHydrating){const l={...i.attrs},c=dR(i);for(const u in l)delete i.attrs[u];Qt(()=>{Object.assign(i.attrs,l),i.vnode.dirs=c})}Qt(()=>{s.value=!0});const a=e.setup?.(n,r)||{};return kk(a)?Promise.resolve(a).then(l=>typeof l!="function"?(l||={},l.mounted$=s,l):(...c)=>{if(s.value||!o.isHydrating){const u=l(...c);return u.children===null||typeof u.children=="string"?Ut(u):we(u)}return tu(i?.vnode.el)}):typeof a=="function"?(...l)=>{if(s.value){const c=a(...l),u=t.inheritAttrs!==!1?r.attrs:void 0;return c.children===null||typeof c.children=="string"?Ut(c,u):we(c,u)}return tu(i?.vnode.el)}:Object.assign(a,{mounted$:s})},nu.set(e,t),t}function dR(e){if(!e||!e.vnode.dirs)return null;const t=e.vnode.dirs;return e.vnode.dirs=null,t}function dy(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 hy=dy({name:"createUseAsyncData",factory(e={}){function t(...n){const r=typeof n[n.length-1]=="string"?n.pop():void 0;pR(n[0],n[1])&&n.unshift(r);let[o,s,i={}]=n,a=!1;const l=Pe(o)||typeof o=="function",c=l?K(()=>ae(o)):{value:o};if(!c.value||typeof c.value!="string")throw new TypeError("[nuxt] [useAsyncData] key must be a non-empty string.");if(typeof s!="function")throw new TypeError("[nuxt] [useAsyncData] handler must be a function.");const u=typeof e=="function",f=fe(),d=u?e(i):e;if(!u)for(const _ in d)d[_]!==void 0&&i[_]===void 0&&(i[_]=d[_]);if(i.server??=!0,i.default??=gR,i.getCachedData??=my,i.lazy??=!1,i.immediate??=!0,i.deep??=LE.deep,i.dedupe??="cancel",u)for(const _ in d)d[_]!==void 0&&(i[_]=d[_]);f._asyncData[c.value];function h(){const _={cause:"initial",dedupe:i.dedupe},D=f._asyncData[c.value];return D?._init?f._asyncDataPromises[c.value]&&(_.cachedData=D._initialCachedData):(_.cachedData=i.getCachedData(c.value,f,{cause:"initial"}),f._asyncData[c.value]=ep(f,c.value,s,i,_.cachedData),f._asyncData[c.value]._initialCachedData=_.cachedData),()=>f._asyncData[c.value].execute(_)}const p=h(),g=f._asyncData[c.value];g._deps++;const v=i.server!==!1&&f.payload.serverRendered;{let _=function(k){const M=f._asyncData[k];M?._deps&&(M._deps--,M._deps===0&&M?._off())};const D=_t();if(D&&v&&i.immediate&&!D.sp&&(D.sp=[]),D&&!D._nuxtOnBeforeMountCbs){D._nuxtOnBeforeMountCbs=[];const k=D._nuxtOnBeforeMountCbs;fg(()=>
10{k.forEach(M=>{M()}),k.splice(0,k.length)}),Zo(()=>k.splice(0,k.length))}const b=D&&(D._nuxtClientOnly||et(cy,!1));v&&f.isHydrating&&(g.error.value||g.data.value!==void 0)?g.status.value=g.error.value?"error":"success":D&&(!b&&f.payload.serverRendered&&f.isHydrating||i.lazy)&&i.immediate?D._nuxtOnBeforeMountCbs.push(p):i.immediate&&g.status.value!=="success"&&p();const A=or(),E=()=>{},O=l?De(c,(k,M)=>{if((k||M)&&k!==M){a=!0;const L=f._asyncData[M]?.data.value!==void 0,G=f._asyncDataPromises[M]!==void 0,U={cause:"initial",dedupe:i.dedupe};if(!f._asyncData[k]?._init){let W;M&&L?W=f._asyncData[M].data.value:(W=i.getCachedData(k,f,{cause:"initial"}),U.cachedData=W),f._asyncData[k]=ep(f,k,s,i,W)}f._asyncData[k]._deps++,M&&_(M),i._keyTriggersExecute!==!1&&(i.immediate||L||G)&&f._asyncData[k].execute(U),Bo(()=>{a=!1})}},{flush:"sync"}):E,S=i.watch?De(i.watch,()=>{a||(f._asyncData[c.value]?._execute.isPending()&&Bo(()=>{f._asyncData[c.value]?._execute.flush()}),f._asyncData[c.value]?._execute({cause:"watch",dedupe:i.dedupe}))}):E;A&&to(()=>{O(),S(),_(c.value)})}const m={data:wi(()=>f._asyncData[c.value]?.data),pending:wi(()=>f._asyncData[c.value]?.pending),status:wi(()=>f._asyncData[c.value]?.status),error:wi(()=>f._asyncData[c.value]?.error),refresh:(..._)=>f._asyncData[c.value]?._init?f._asyncData[c.value].execute(..._):h()(),execute:(..._)=>m.refresh(..._),clear:()=>{const _=f._asyncData[c.value];if(_?._abortController)try{_._abortController.abort(new DOMException("AsyncData aborted by user.","AbortError"))}finally{_._abortController=void 0}py(f,c.value)}},y=Promise.resolve(f._asyncDataPromises[c.value]).then(()=>m);return Object.assign(y,m),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}}),hR=hy.__nuxt_factory();hy.__nuxt_factory({lazy:!0,_functionName:"useLazyAsyncData"});function wi(e){return K({get(){return e()?.value},set(t){const n=e();n&&(n.value=t)}})}function pR(e,t){return!(typeof e=="string"||typeof e=="object"&&e!==null||typeof e=="function"&&typeof t=="function")}function py(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=N(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 mR(e,t){const n={};for(const r of t)n[r]=e[r];return n}function ep(e,t,n,r,o){e.payload._errors[t]??=void 0;const s=r.getCachedData!==my,i=n,a=r.deep?Q:ie,l=o!==void 0,c=e.hook("app:data:refresh",async f=>{(!f||f.includes(t))&&await u.execute({cause:"refresh:hook"})}),u={data:a(l?o:r.default()),pending:K(()=>u.status.value==="pending"),error:ja(e.payload._errors,t),status:ie("idle"),execute:(...f)=>{const[d,h=void 0]=f,p=d&&h===void 0&&typeof d=="object"?d:{};if(e._asyncDataPromises[t]&&(p.dedupe??r.dedupe)==="defer")return e._asyncDataPromises[t];{const m="cachedData"in p?p.cachedData:r.getCachedData(t,e,{cause:p.cause??"refresh:manual"});if(m!==void 0)return e.payload.data[t]=u.data.value=m,u.error.value=void 0,u.status.value="success",Promise.resolve(m)}u._abortController&&u._abortController.abort(new DOMException("AsyncData request cancelled by deduplication","AbortError")),u._abortController=new AbortController,u.status.value="pending";const g=new AbortController,v=new Promise((m,y)=>{try{const _=p.timeout??r.timeout,D=_R([u._abortController?.signal,p?.signal],g.signal,_);if(D.aborted){const b=D.reason;y(b instanceof Error?b:new DOMException(String(b??"Aborted"),"AbortError"));return}return D.addEventListener("abort",()=>{const b=D.reason;y(b instanceof Error?b:new DOMException(String(b??"Aborted"),"AbortError"))},{once:!0,signal:g.signal}),Promise.resolve(i(e,{signal:D})).then(m,y)}catch(_){y(_)}}).then(async m=>{if(e._asyncDataPromises[t]!==v)return;let y=m;r.transform&&(y=await r.transform(m)),r.pick&&(y=mR(y,r.pick)),e.payload.data[t]=y,u.data.value=y,u.error.value=void 0,u.status.value="success"}).catch(m=>{if(e._asyncDataPromises[t]!==v||u._abortController?.signal.aborted)return e._asyncDataPromises[t];if(typeof DOMException<"u"&&m instanceof DOMException&&m.name==="AbortError")return u.status.value="idle",e._asyncDataPromises[t];u.error.value=br(m),u.data.value=N(r.default()),u.status.value="error"}).finally(()=>{g.abort(),e._asyncDataPromises[t]===v&&delete e._asyncDataPromises[t]});return e._asyncDataPromises[t]=v,e._asyncDataPromises[t]},_execute:OF((...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),s||ot(()=>{e._asyncData[t]?._init||(py(e,t),u.execute=()=>Promise.resolve())})}};return u}const gR=()=>{},my=(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 _R(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 o=new AbortController;for(const i of r)if(i.aborted){const a=i.reason??new DOMException("Aborted","AbortError");try{o.abort(a)}catch{o.abort()}return o.signal}const s=()=>{const a=r.find(l=>l.aborted)?.reason??new DOMException("Aborted","AbortError");try{o.abort(a)}catch{o.abort()}};for(const i of r)i.addEventListener?.("abort",s,{once:!0,signal:t});return o.signal}const vR="$s";function il(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;
10typeof 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 o=vR+n,s=fe(),i=ja(s.payload.state,o);if(r&&(s._state[o]??={_default:r}),i.value===void 0&&r){const a=r();if(Pe(a))return s.payload.state[o]=a,a;i.value=a}return i}function yR(e){const t=[ae(e.method)?.toUpperCase()||"GET",ae(e.baseURL)];for(const n of[e.query||e.params]){const r=ae(n);if(!r)continue;const o={};for(const[s,i]of Object.entries(r))o[ae(s)]=ae(i);t.push(o)}if(e.body){const n=ae(e.body);if(!n)t.push(bo(n));else if(n instanceof ArrayBuffer)t.push(bo(Object.fromEntries([...new Uint8Array(n).entries()].map(([r,o])=>[r,o.toString()]))));else if(n instanceof FormData){const r=[];for(const o of n.entries()){const[s,i]=o;r.push([s,i instanceof File?`${i.name}:${i.size}:${i.lastModified}`:i])}t.push(bo(r))}else if(Ok(n))t.push(bo(it(n)));else try{t.push(bo(n))}catch{}}return t}const gy=dy({name:"createUseFetch",factory(e={}){function t(n,r,o){const[s={},i]=typeof r=="string"?[{},r]:[r,o],a=typeof e=="function"?e(s):e,{server:l,lazy:c,default:u,transform:f,pick:d,watch:h,immediate:p,getCachedData:g,deep:v,dedupe:m,timeout:y,..._}={...typeof e=="function"?{}:a,...s,...typeof e=="function"?a:{}},D=K(()=>ae(n)),b=K(()=>ae(_.key)||"$f"+bo([i,typeof D.value=="string"?D.value:"",...yR(_)]));if(!_.baseURL&&typeof D.value=="string"&&D.value[0]==="/"&&D.value[1]==="/")throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const A=it({...$E,..._,cache:typeof _.cache=="boolean"?void 0:_.cache}),E={server:l,lazy:c,default:u,transform:f,pick:d,immediate:p,getCachedData:g,deep:v,dedupe:m,timeout:y,watch:h===!1?[]:[...h||[],A]};return h===!1&&(E._keyTriggersExecute=!1),hR(b,(S,{signal:k})=>(_.$fetch||globalThis.$fetch)(D.value,{signal:k,...A}),E)}return t}});gy.__nuxt_factory();gy.__nuxt_factory({lazy:!0,_functionName:"useLazyFetch"});const DR=3456e4;function bR(e,t,n){const r=e.indexOf(";",t);return r===-1?n:r}function wR(e,t,n){const r=e.indexOf("=",t);return r<n?r:-1}function tp(e,t,n){if(t===n)return"";let r=t,o=n;do{const s=e.charCodeAt(r);if(s!==32&&s!==9)break}while(++r<o);for(;o>r;){const s=e.charCodeAt(o-1);if(s!==32&&s!==9)break;o--}return e.slice(r,o)}const ER=(()=>{const e=function(){};return e.prototype=Object.create(null),e})();function CR(e,t){const n=new ER,r=e.length;if(r<2)return n;const o=t?.decode||FR,s=t?.allowMultiple||!1;let i=0;do{const a=wR(e,i,r);if(a===-1)break;const l=bR(e,i,r);if(a>l){i=e.lastIndexOf(";",a-1)+1;continue}const c=tp(e,i,a);if(t?.filter&&!t.filter(c)){i=l+1;continue}const u=o(tp(e,a+1,l));if(s){const f=n[c];f===void 0?n[c]=u:Array.isArray(f)?f.push(u):n[c]=[f,u]}else n[c]===void 0&&(n[c]=u);i=l+1}while(i<r);return n}function FR(e){if(!e.includes("%"))return e;try{return decodeURIComponent(e)}catch{return e}}const AR=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,SR=/^[\u0021-\u003A\u003C-\u007E]*$/,TR=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,kR=/^[\u0020-\u003A\u003C-\u007E]*$/,RR=Object.prototype.toString;
10function np(e,t,n){const r=typeof e=="object"&&e!==null,o=r?t:n,s=o?.stringify||JSON.stringify,i=r?e:{...n,name:e,value:t==null?"":typeof t=="string"?t:s(t)},a=o?.encode||encodeURIComponent;if(!AR.test(i.name))throw new TypeError(`argument name is invalid: ${i.name}`);const l=i.value?a(i.value):"";if(!SR.test(l))throw new TypeError(`argument val is invalid: ${i.value}`);if(!i.secure){if(i.partitioned)throw new TypeError("Partitioned cookies must have the Secure attribute");if(i.sameSite&&String(i.sameSite).toLowerCase()==="none")throw new TypeError("SameSite=None cookies must have the Secure attribute");if(i.name.length>9&&i.name.charCodeAt(0)===95&&i.name.charCodeAt(1)===95){const u=i.name.toLowerCase();if(u.startsWith("__secure-")||u.startsWith("__host-"))throw new TypeError(`${i.name} cookies must have the Secure attribute`)}}if(i.name.length>7&&i.name.charCodeAt(0)===95&&i.name.charCodeAt(1)===95&&i.name.toLowerCase().startsWith("__host-")){if(i.path!=="/")throw new TypeError("__Host- cookies must have Path=/");if(i.domain)throw new TypeError("__Host- cookies must not have a Domain attribute")}let c=i.name+"="+l;if(i.maxAge!==void 0){if(!Number.isInteger(i.maxAge))throw new TypeError(`option maxAge is invalid: ${i.maxAge}`);c+="; Max-Age="+Math.max(0,Math.min(i.maxAge,DR))}if(i.domain){if(!TR.test(i.domain))throw new TypeError(`option domain is invalid: ${i.domain}`);c+="; Domain="+i.domain}if(i.path){if(!kR.test(i.path))throw new TypeError(`option path is invalid: ${i.path}`);c+="; Path="+i.path}if(i.expires){if(!PR(i.expires)||!Number.isFinite(i.expires.valueOf()))throw new TypeError(`option expires is invali
10d: ${i.expires}`);c+="; Expires="+i.expires.toUTCString()}if(i.httpOnly&&(c+="; HttpOnly"),i.secure&&(c+="; Secure"),i.partitioned&&(c+="; Partitioned"),i.priority)switch(typeof i.priority=="string"?i.priority.toLowerCase():void 0){case"low":c+="; Priority=Low";break;case"medium":c+="; Priority=Medium";break;case"high":c+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${i.priority}`)}if(i.sameSite)switch(typeof i.sameSite=="string"?i.sameSite.toLowerCase():i.sameSite){case!0:case"strict":c+="; SameSite=Strict";break;case"lax":c+="; SameSite=Lax";break;case"none":c+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${i.sameSite}`)}return c}function PR(e){return RR.call(e)==="[object Date]"}function OR(e){if(e!=="undefined")try{const t=JSON.parse(e);return typeof t=="number"&&String(t)!==e?e:t}catch{return e}}const LR={path:"/",watch:!0,decode:e=>e&&OR(decodeURIComponent(e)),encode:e=>{if(typeof e!="string"||e==="undefined")return encodeURIComponent(JSON.stringify(e));try{if(typeof JSON.parse(e)!="string")return encodeURIComponent(JSON.stringify(e))}catch{}return encodeURIComponent(e)},refresh:!1},Ei=globalThis.cookieStore;function _y(e,t){const n={...LR,...t};n.filter??=c=>c===e;const r=rp(n)||{};let o;n.maxAge!==void 0?o=n.maxAge*1e3:n.expires&&(o=n.expires.getTime()-Date.now());const s=o!==void 0&&o<=0,i=s||r[e]===void 0||r[e]===null,a=rn(s?void 0:r[e]??n.default?.()),l=o&&!s?MR(a,o,n.watch&&n.watch!=="shallow"):Q(a);{let c=null;try{!Ei&&typeof BroadcastChannel<"u"&&(c=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const u=(p=!1)=>{if(!p&&(n.readonly||oR(l.value,r[e])))return;const g=l.value===null||l.value===void 0?void 0:n.encode(l.value);NR(e,g,n),r[e]=rn(l.value),c?.postMessage({value:n.encode(l.value)})},f=p=>{const g=p.refresh?rp(n)?.[e]:n.decode(p.value);d=!0,l.value=g,r[e]=rn(g),ot(()=>{d=!1})};let d=!1;const h=!!or();if(h&&to(()=>{d=!0,u(),c?.close()}),Ei){const p=g=>{const v=g.changed.find(y=>y.name===e),m=g.deleted.find(y=>y.name===e);v&&f({value:v.value}),m&&f({value:null})};Ei.addEventListener("change",p),h&&to(()=>Ei.removeEventListener("change",p))}else c&&(c.onmessage=({data:p})=>f(p));n.watch&&De(l,()=>{d||u(n.refresh)},{deep:n.watch!=="shallow"}),i&&u(i)}return l}function rp(e={}){return CR(document.cookie,e)}const $R=e=>e;function xR(e){const{encode:t,decode:n,...r}=e;return{...r,encode:$R}}function IR(e,t,n={}){const r=xR(n);return t===void 0?np(e,"",{...r,maxAge:-1}):np(e,t,r)}function NR(e,t,n={}){document.cookie=IR(e,t,n)}const op=2147483647;function MR(e,t,n){let r,o,s=0;const i=n?Q(e):{value:e};return or()&&to(()=>{o?.(),clearTimeout(r)}),zc((a,l)=>{n&&(o=De(i,l));function c(){const f=t-s,d=f<op?f:op;r=setTimeout(()=>{if(s+=d,s<t)return c();i.value=void 0,l()},d)}function u(){s=0,clearTimeout(r),c()}return{get(){return a(),i.value},set(f){u(),i.value=f,l()}}})}function BR(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function vy(e,t=He()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;const o=t._preloadPromises||=[];if(o.length>4)return Promise.all(o).then(()=>vy(e,t));t._routePreloaded.add(n);for(const s of r){const i=s.components?.default;if(typeof i!="function")continue;const a=Promise.resolve(i()).catch(()=>{}).finally(()=>o.splice(o.indexOf(a),1));o.push(a)}await Promise.all(o)}function yy(e){return new URL(globalThis.location.href)}const jR=(...e)=>e.find(t=>t!==void 0);function sp(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&&la(t.slice(0,n+1))?null:e}function HR(e){const t=e.componentName||"NuxtLink";function n(s){return typeof s=="string"&&s.startsWith("#")}function r(s,i,a){const l=a??e.trailingSlash;if(!s||l!=="append"&&l!=="remove")return s;if(typeof s=="string")return Ci(s,l);const c="path"in s&&s.path!==void 0?s.path:i(s).path;return{...s,name:void 0,path:Ci(c,l)}}function o(s){const i=He(),a=ir(),l=K(()=>!!N(s.target)&&N(s.target)!=="_self"),c=K(()=>{const v=N(s.to)||N(s.href)||"";return typeof v=="string"&&ts(v,{acceptRelative:!0})}),u=Wt("RouterLink"),f=u&&typeof u!="string"?u.useLink:void 0,d=K(()=>
10{if(N(s.external))return!0;const v=N(s.to)||N(s.href)||"";return typeof v=="object"?!1:v===""||c.value}),h=K(()=>{const v=N(s.to)||N(s.href)||"";return d.value?v:r(v,i.resolve,N(s.trailingSlash))}),p=d.value?void 0:f?.({...s,to:h,viewTransition:N(s.viewTransition)}),g=K(()=>{const v=N(s.trailingSlash)??e.trailingSlash;if(!h.value||c.value||n(h.value)){const m=h.value;return typeof m=="string"?sp(m):m}if(d.value){const m=typeof h.value=="object"&&"path"in h.value?Hu(h.value):h.value,y=typeof m=="object"?i.resolve(m).href:m,_=typeof y=="string"?sp(y):y;return _===null?null:Ci(_,v)}return typeof h.value=="object"?i.resolve(h.value)?.href??null:Ci(w_(a.app.baseURL,h.value),v)});return{to:h,hasTarget:l,isAbsoluteUrl:c,isExternal:d,href:g,isActive:p?.isActive??K(()=>h.value===i.currentRoute.value.path),isExactActive:p?.isExactActive??K(()=>h.value===i.currentRoute.value.path),route:p?.route??K(()=>i.resolve(h.value)),async navigate(v){g.value!==null&&await Ya(g.value,{replace:N(s.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:o,setup(s,{slots:i}){const a=He(),{to:l,href:c,navigate:u,isExternal:f,hasTarget:d,isAbsoluteUrl:h}=o(s),p=ie(!1),g=Q(null),v=_=>{g.value=s.custom?_?.$el?.nextElementSibling:_?.$el};function m(_){return!p.value&&(typeof s.prefetchOn=="string"?s.prefetchOn===_:s.prefetchOn?.[_]??e.prefetchOn?.[_])&&(s.prefetch??e.prefetch)!==!1&&s.noPrefetch!==!0&&s.target!=="_blank"&&!VR()}async function y(_=fe()){if(p.value||c.value===null)return;p.value=!0;const D=typeof l.value=="string"?l.value:f.value?Hu(l.value):a.resolve(l.value).fullPath,b=f.value?new URL(D,window.location.href).href:D;await Promise.all([_.hooks.callHook("link:prefetch",b)?.catch(()=>{}),!f.value&&!d.value&&vy(l.value,a).catch(()=>{})])}if(m("visibility")){const _=fe();let D,b=null;Qt(()=>{const A=UR();Of(()=>{D=cc(()=>{g?.value?.tagName&&(b=A.observe(g.value,async()=>{b?.(),b=null,await y(_)}))})})}),lo(()=>{D&&Qk(D),b?.(),b=null})}return()=>{if(!f.value&&!d.value&&!n(l.value)){const b={ref:v,to:l.value,activeClass:s.activeClass||e.activeClass,exactActiveClass:s.exactActiveClass||e.exactActiveClass,replace:s.replace,ariaCurrentValue:s.ariaCurrentValue,custom:s.custom};
10return s.custom||(m("interaction")&&(b.onPointerenter=y.bind(null,void 0),b.onFocus=y.bind(null,void 0)),p.value&&(b.class=s.prefetchedClass||e.prefetchedClass),b.rel=s.rel||void 0),we(Wt("RouterLink"),b,i.default)}const _=s.target||null,D=jR(s.noRel?"":s.rel,e.externalRelAttribute,h.value||d.value?"noopener noreferrer":"")||null;return s.custom?i.default?i.default({href:c.value,navigate:u,prefetch:y,get route(){if(!c.value)return;const b=new URL(c.value,window.location.href);return{path:b.pathname,fullPath:b.pathname,get query(){return af(b.search)},hash:b.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:c.value}},rel:D,target:_,isExternal:f.value||d.value,isActive:!1,isExactActive:!1}):null:we("a",{ref:g,href:c.value||null,rel:D,target:_,onClick:async b=>{if(!(f.value||d.value)){b.preventDefault();try{const A=A_(c.value??"");return await(s.replace?a.replace(A):a.push(A))}finally{if(n(l.value)){const A=l.value.slice(1);let E=A;try{E=decodeURIComponent(A)}catch{}document.getElementById(E)?.focus()}}}}},i.default?.())}}})}const Dy=HR(OE);function Ci(e,t){const n=t==="append"?b_:ua;return ts(e)&&!e.startsWith("http")?e:n(e,!0)}function UR(){const e=fe();if(e._observer)return e._observer;let t=null;const n=new Map,r=(s,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(s,i),t.observe(s),()=>{n.delete(s),t?.unobserve(s),n.size===0&&(t?.disconnect(),t=null)});return e._observer={observe:r}}const WR=/2g/;function VR(){const e=navigator.connection;return!!(e&&(e.saveData||WR.test(e.effectiveType)))}const zR=We({name:"pinia",setup(e){const t=bC();return e.vueApp.use(t),ri(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}}}),qR=We({name:"nuxt:global-components"}),vr={default:fd(()=>V(()=>import("./wX1l-XUF.js"),__vite__mapDeps([89,45,78,25,6,7,8,9,3,10,11,12,13,14,24,66,18,19,16,17,20,21,22,23,26,27,1,2,90]),import.meta.url).then(e=>e.default||e)),none:fd(()=>V(()=>import("./D-y5BMUd.js"),[],import.meta.url).then(e=>e.default||e))},KR=We({name:"nuxt:prefetch",setup(e){const t=He();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof vr[r]=="function"&&await vr[r]()})}),e.hooks.hook("link:prefetch",n=>{if(ts(n))return;const r=t.resolve(n);if(!r)return;const o=r.meta.layout;let s=nv(r.meta.middleware);s=s.filter(i=>typeof i=="string");for(const i of s)typeof uc[i]=="function"&&uc[i]();typeof o=="string"&&o in vr&&BR(vr[o])})}});function GR(e={}){const{immediate:t=!1,onNeedRefresh:n,onOfflineReady:r,onRegistered:o,onRegisteredSW:s,onRegisterError:i}=e;let a,l,c;const u=async(d=!0)=>{await l,c?.()};async function f(){if("serviceWorker"in navigator){if(a=await V(async()=>{const{Workbox:d}=await import("./BIl4cyR9.js");return{Workbox:d}},[],import.meta.url).then(({Workbox:d})=>new d("/elk-sw.js",{scope:"/",type:"classic"})).catch(d=>{i?.(d)}),!a)return;c=()=>{a?.messageSkipWaiting()};{let d=!1;const h=()=>{d=!0,a?.addEventListener("controlling",p=>{p.isUpdate&&window.location.reload()}),n?.()};a.addEventListener("installed",p=>{typeof p.isUpdate>"u"?typeof p.isExternal<"u"&&p.isExternal?h():!d&&r?.():p.isUpdate||r?.()}),a.addEventListener("waiting",h)}a.register({immediate:t}).then(d=>{s?s("/elk-sw.js",d):o?.(d)}).catch(d=>{i?.(d)})}}return l=f(),u}function YR(e={}){const{immediate:t=!0,onNeedRefresh:n,onOfflineReady:r,onRegistered:o,onRegisteredSW:s,onRegisterError:i}=e,a=Q(!1),l=Q(!1);return{updateServiceWorker:GR({immediate:t,onNeedRefresh(){a.value=!0,n?.()},onOfflineReady(){l.value=!0,r?.()},onRegistered:o,onRegisteredSW:s,onRegisterError:i}),offlineReady:l,needRefresh:a}}const XR=globalThis.setInterval,JR=/iPhone|iPad|iPod/,QR=We(()=>{const e=H1(),t=Q(!1),n=Q(!1),r=Q(!1),o=Sr(o1,!1),s=navigator.userAgent,i=s.match(JR),l=!!(window.matchMedia("(display-mode: window-controls-overlay)").matches||window.matchMedia("(display-mode: standalone)").matches||i&&!s.match("Safari")),c=(g,v)=>{XR(async()=>{if(!e.value)return;(await fetch(g,{cache:"no-store",headers:{cache:"no-store","cache-control":"no-cache"}}
10))?.status===200&&await v.update()},3600*1e3)},{needRefresh:u,updateServiceWorker:f}=YR({immediate:!0,onRegisterError(){t.value=!0},onRegisteredSW(g,v){v?.active?.state==="activated"?(n.value=!0,c(g,v)):v?.installing&&v.installing.addEventListener("statechange",m=>{const y=m.target;n.value=y.state==="activated",n.value&&c(g,v)})}}),d=async()=>{u.value=!1};let h=()=>Promise.resolve(),p=Nv;if(!o.value){let g;const v=m=>{m.preventDefault(),g=m,r.value=!0};window.addEventListener("beforeinstallprompt",v),window.addEventListener("appinstalled",()=>{g=void 0,r.value=!1}),p=()=>{g=void 0,r.value=!1,window.removeEventListener("beforeinstallprompt",v),o.value=!0},h=async()=>{if(!r.value||!g){r.value=!1;return}r.value=!1,await ot(),g.prompt(),await g.userChoice}}return{provide:{pwa:it({isInstalled:l,showInstallPrompt:r,cancelInstall:p,install:h,swActivated:n,registrationError:t,needRefresh:u,updateServiceWorker:f,close:d})}}}),ZR="__NUXT_COLOR_MODE__",ru="nuxt-color-mode",eP="localStorage";let jn=window[ZR];const tP=We(e=>{const t=il("color-mode",()=>it({preference:jn.preference,value:jn.value,unknown:!1,forced:!1})).value;He().afterEach(s=>{const i=s.meta.colorMode;if(i&&i!=="system")vo(t,i),t.forced=!0;else{t.forced=!1;const a=t.preference==="system"?jn.getColorScheme():t.preference;vo(t,a)}});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&vo(t,jn.getColorScheme())}))}function o(s,i){switch(s){case"cookie":window.document.cookie=`${ru}=${i}; max-age=${3600*24*365}; path=/`;break;case"sessionStorage":window.sessionStorage?.setItem(ru,i);break;default:window.localStorage?.setItem(ru,i)}}De(()=>t.preference,s=>{t.forced||(s==="system"?(vo(t,jn.getColorScheme()),r()):vo(t,s),o(eP,s))},{immediate:!0}),De(()=>t.value,(s,i)=>{jn.removeColorScheme(i),jn.addColorScheme(s)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=jn.preference,vo(t,jn.value),t.unknown=!1)}),e.provide("colorMode",t)});function vo(e,t){e.value=t}function nP(e,t){}const va=typeof window<"u",Rr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),rP=(e,t,n)=>oP({l:e,k:t,s:n}),oP=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),dt=e=>typeof e=="number"&&isFinite(e),sP=e=>ll(e)==="[object Date]",ya=e=>ll(e)==="[object RegExp]",al=e=>ke(e)&&Object.keys(e).length===0,st=Object.assign,iP=Object.create,Be=(e=null)=>iP(e);function ip(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/\//g,"&#x2F;").replace(/=/g,"&#x3D;")}function ap(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function aP(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(r,o,s)=>`${o}="${ap(s)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(r,o,s)=>`${o}='${ap(s)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1&#111;n$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(r=>{e=e.replace(r,"$1javascript&#58;")}),e}const lP=Object.prototype.hasOwnProperty;function ln(e,t){return lP.call(e,t)}const Ze=Array.isArray,qe=e=>typeof e=="function",se=e=>typeof e=="string",Xe=e=>typeof e=="boolean",$e=e=>e!==null&&typeof e=="object",uP=e=>$e(e)&&qe(e.then)&&qe(e.catch),by=Object.prototype.toString,ll=e=>by.call(e),ke=e=>ll(e)==="[object Object]",cP=e=>e==null?"":Ze(e)||ke(e)&&e.toString===by?JSON.stringify(e,null,2):String(e);function Lf(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const Fi=e=>!$e(e)||Ze(e);function $o(e,t){if(Fi(e)||Fi(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(s=>{s!=="__proto__"&&($e(r[s])&&!$e(o[s])&&(o[s]=Array.isArray(r[s])?[]:Be()),Fi(o[s])||Fi(r[s])?o[s]=r[s]:n.push({src:r[s],des:o[s]}))})}}function fP(e,t=e.getCurrentLanguage(),n=e.getCurrentDirection()){const r={htmlAttrs:{},link:[],meta:[]};if(e.dir&&(r.htmlAttrs.dir=n),e.lang&&t&&(r.htmlAttrs.lang=t),e.seo){const o=hP(e);r.link=r.link.concat(o,mP(e)),r.meta=r.meta.concat(gP(e),_P(e),vP(e,e.locales.map(s=>s.language||s.code)))}return r}function dP(e){const t=new Map;for(const n of e){if(!n.language)continue;const[r,o]=n.language.split("-");r&&o&&(n.isCatchallLocale||!t.has(r))&&t.set(r,n),t.set(n.language,n)}return t}function hP(e){if(!e.hreflangLinks)return[];const t=[],n=dP(e.locales);for(const[r,o]of n.entries()){const s=pP(r,o,e);
10s&&(t.push(s),e.defaultLocale&&e.defaultLocale===o.code&&t[0].hreflang!=="x-default"&&t.unshift({[e.key]:"i18n-xd",rel:"alternate",href:s.href,hreflang:"x-default"}))}return t}function pP(e,t,n,r=n.strictCanonicals?n.getRouteWithoutQuery():void 0){const o=n.getLocalizedRoute(t.code,r);if(!o)return;const s=rf(uo(o)?o:Bs(n.baseUrl,o),n.strictCanonicals?Ey(n):{});return{[n.key]:`i18n-alt-${e}`,rel:"alternate",href:s,hreflang:e}}function wy(e,t=e.getCurrentRoute()){const n=e.getLocaleRoute(Object.assign({},t,{path:void 0,name:e.getRouteBaseName(t)}));return n?rf(Bs(e.baseUrl,n.path),Ey(e)):""}function mP(e,t=wy(e)){return t?[{[e.key]:"i18n-can",rel:"canonical",href:t}]:[]}function Ey(e,t=e.getCurrentRoute()){const r=e.getLocaleRoute(Object.assign({},t,{path:void 0,name:e.getRouteBaseName(t)}))?.query??{},o={};for(const s of e.canonicalQueries.filter(i=>i in r)){o[s]??=[];for(const i of yP(r[s]))o[s].push(i||"")}return o}function gP(e,t=wy(e)){return t?[{[e.key]:"i18n-og-url",property:"og:url",content:t}]:[]}function _P(e,t=e.getCurrentLanguage()){return t?[{[e.key]:"i18n-og",property:"og:locale",content:Cy(t)}]:[]}function vP(e,t,n=e.getCurrentLanguage()){return t.filter(o=>o&&o!==n).map(o=>({[e.key]:`i18n-og-alt-${o}`,property:"og:locale:alternate",content:Cy(o)}))}function Cy(e=""){return e.replace(/-/g,"_")}function yP(e){return Array.isArray(e)?e:[e]}function Fy(e,t,n=e.getLocale()){if(se(t)&&uo(t,{acceptRelative:!0}))return t;try{return Sy(e,t,n).fullPath}catch{return""}}function Ay(e,t,n=e.getLocale()){try{return Sy(e,t,n)}catch{return}}function DP(e){if(!se(e))return st({},e);if(e[0]==="/"){const{pathname:t,search:n,hash:r}=$u(e);return{path:t,query:t_(n),hash:r}}return{name:e}}function Sy(e,t,n){const r=DP(t),o=e.router.resolve(e.resolveLocalizedRouteObject(r,n));return o.name?o:e.router.resolve(t)}function Ty(e,t,n=e.router.currentRoute.value){const r=e.getRouteBaseName(n);if(!r)return"";const o={name:r,params:st({},n.params,e.getLocalizedDynamicParams(t)),fullPath:n.fullPath,query:n.query,hash:n.hash,path:n.path,meta:n.meta},s=Fy(e,o,t);return e.afterSwitchLocalePath(s,t)}function bP(e,t,n=e.getLocale(),r=e.getLocales(),o=e.getBaseUrl()){const s=r.find(a=>a.code===n)||{},i=typeof t.seo=="object"&&t.seo?.canonicalQueries||[];return{...t,key:"id",locales:r,baseUrl:o,canonicalQueries:i,hreflangLinks:e.routingOptions.hreflangLinks,defaultLocale:e.routingOptions.defaultLocale,strictCanonicals:e.routingOptions.strictCanonicals,getRouteBaseName:e.getRouteBaseName,getCurrentRoute:()=>e.router.currentRoute.value,getCurrentLanguage:()=>s.language,getCurrentDirection:()=>s.dir||"ltr",getLocaleRoute:a=>Ay(e,a),getLocalizedRoute:(a,l)=>Ty(e,a,l),getRouteWithoutQuery:()=>{try{return st({},e.router.resolve({query:{}}),{meta:e.router.currentRoute.value.meta})}catch{return}}}}function wP(e,{dir:t=!0,lang:n=!0,seo:r=!0}){return fP(bP(e,{dir:t,lang:n,seo:r}))}function EP(e=0){return t=>{const o=(typeof t=="string"?t:t.pathname).split("?")[0].split("/");return o[0]===""&&o.shift(),o.length>e&&o[e]||""}}const ky="___";function Ry(e){return typeof e=="string"?e:e!=null?e.toString():""}function ou(e){return Ry(typeof e=="object"?e?.name:e).split(ky)[0]}const CP=EP(0),Py=e=>CP(e),FP=e=>e.split(ky).at(1)??"";function AP(e){return String(typeof e!="object"?e:e?.name||e?.path||"")}function SP(e){const t=AP(e);return t[0]==="/"?Py(t):FP(t)}function TP(e){return t=>Ry(t)}function kP(e){return t=>t}const Ws=["ar-EG","ca-ES","ca-valencia","ckb","cs-CZ","cy","de-DE","el-GR","en-CA","en-GB","en-US","es-419","es-ES","eu-ES","fa-IR","fi","fr-FR","gl-ES","he","hu-HU","id-ID","it-IT","ja-JP","ko-KR","nl-NL","pl-PL","pt-BR","pt-PT","ru-RU","sv","th-TH","tl-PH","tr-TR","uk-UA","vi-VN","zh-CN","zh-TW"],Da={"ar-EG":[{key:"locale_ar_46json_9389652b",load:()=>V(()=>import("./DjiJA88-.js"),[],import.meta.url),cache:!0},{key:"locale_ar_45EG_46json_799ce2e7",load:()=>V(()=>import("./BIHI7g3E.js"),[],import.meta.url),cache:!0}],"ca-ES":[{key:"locale_ca_46json_840bdbbc",load:()=>V(()=>import("./eZBwUV8t.js"),[],import.meta.url),cache:!0},{key:"locale_ca_45ES_46json_7741d2be",load:()=>V(()=>import("./Df6KNeSA.js"),[],import.meta.url),cache:!0}],"ca-valencia":[{key:"locale_ca_46json_840bdbbc",load:()=>V(()=>import("./eZBwUV8t.js"),[],import.meta.url),cache:!0},{key:"locale_ca_45valencia_46json_35e0b4b1",load:()=>V(()=>import("./DTsIBGKE.js"),[],import.meta.url),cache:!0}],ckb:[{key:"locale_ckb_46json_3ec37352",load:()=>V(()=>import("./D88dcpoT.js"),[],import.meta.url),cache:!0}],"cs-CZ":[{key:"locale_cs_45CZ_46json_a51d168a",load:()=>V(()=>import("./DcJhdzVu.js"),[],import.meta.url),cache:!0}],cy:[{key:"locale_cy_46json_0372afe6",load:()=>V(()=>import("./CM63ibgs.js"),[],import.meta.url),cache:!0}],"de-DE":[{key:"locale_de_45DE_46json_25640503",load:()=>V(()=>import("./C1nrJGDX.js"),[],import.meta.url),cache:!0}],"el-GR":[{key:"locale_el_45GR_46json_16c35301",load:()=>V(()=>import("./BIVxKWw2.js"),[],import.meta.url),cache:!0}],"en-CA":[{key:"locale_en_46json_9e5639a9",load:()=>V(()=>import("./CCr8jte5.js"),[],import.meta.url),cache:!0},{key:"locale_en_45CA_46json_36b9d18f",load:()=>V(()=>import("./BQ6YOkCc.js"),[],import.meta.url),cache:!0}],"en-GB":[{key:"locale_en_46json_9e5639a9",load:()=>V(()=>import("./CCr8jte5.js"),[],import.meta.url),cache:!0},{key:"locale_en_45GB_46json_83250698",load:()=>V(()=>import("./DvkI2XUx.js"),[],import.meta.url),cache:!0}],"en-US":[{key:"locale_en_46json_9e5639a9",load:()=>V(()=>import("./CCr8jte5.js"),[],import.meta.url),cache:!0},{key:"locale_en_45US_46json_243a3a7b",load:()=>V(()=>import("./CoSEDE74.js"),[],import.meta.url),cache:!0}],"es-419":[{key:"locale_es_46json_d5b2182e",load:()=>V(()=>import("./Ds0Aw3N3.js"),[],import.meta.url),cache:!0},{key:"locale_es_45419_46json_f5b407cb",load:()=>V(()=>import("./CwUNZsma.js"),[],import.meta.url),cache:!0}],"es-ES":[{key:"locale_es_46json_d5b2182e",load:()=>V(()=>import("./Ds0Aw3N3.js"),[],import.meta.url),cache:!0},{key:"locale_es_45ES_46json_11387eb8",load:()=>V(()=>import("./CKPqBeRP.js"),[],import.meta.url),cache:!0}],"eu-ES":[{key:"locale_eu_45ES_46json_39566caa",load:()=>V(()=>import("./DHPWeXm5.js"),[],import.meta.url),cache:!0}],"fa-IR":[{key:"locale_fa_45IR_46json_14b1dda8",load:()=>V(()=>import("./DvGkrXEj.js"),[],import.meta.url),cache:!0}],fi:[{key:"locale_fi_46json_133cab38",load:()=>V(()=>import("./BP1E024g.js"),[],import.meta.url),cache:!0}],"fr-FR":[{key:"locale_fr_45FR_46json_f6084543",load:()=>V(()=>import("./CJERBUZ1.js"),[],import.meta.url),cache:!0}],"gl-ES":[{key:"locale_gl_45ES_46json_7cf86b09",load:()=>V(()=>import("./DpdbZ0UX.js"),[],import.meta.url),cache:!0}],he:[{key:"locale_he_46json_4a835a10",load:()=>V(()=>import("./RAHnK5Aa.js"),[],import.meta.url),cache:!0}],"hu-HU":[{key:"locale_hu_45HU_46json_409261e2",load:()=>V(()=>import("./DpC10UE8.js"),[],import.meta.url),cache:!0}],"id-ID":[{key:"locale_id_45ID_46json_091399e6",load:()=>V(()=>import("./Dj30-n07.js"),[],import.meta.url),cache:!0}],"it-IT":[{key:"locale_it_45IT_46json_5856fb4c",load:()=>V(()=>import("./B31PHw25.js"),[],import.meta.url),cache:!0}],"ja-JP":[{key:"locale_ja_45JP_46json_26fc1254",load:()=>V(()=>import("./DQ1w0Gey.js"),[],import.meta.url),cache:!0}],"ko-KR":[{key:"locale_ko_45KR_46json_a88ae2ff",load:()=>V(()=>import("./BAJnJ8jD.js"),[],import.meta.url),cache:!0}],"nl-NL":[{key:"locale_nl_45NL_46json_a341089a",load:()=>V(()=>import("./glfu8vtZ.js"),[],import.meta.url),cache:!0}],"pl-PL":[{key:"locale_pl_45PL_46json_6487df22",load:()=>V(()=>import("./BmQSbSDs.js"),[],import.meta.url),cache:!0}
10],"pt-BR":[{key:"locale_pt_46json_00cee1d1",load:()=>V(()=>import("./C-t0GIe_.js"),[],import.meta.url),cache:!0},{key:"locale_pt_45BR_46json_2a37b352",load:()=>V(()=>import("./M8Y3OMyQ.js"),[],import.meta.url),cache:!0}],"pt-PT":[{key:"locale_pt_46json_00cee1d1",load:()=>V(()=>import("./C-t0GIe_.js"),[],import.meta.url),cache:!0},{key:"locale_pt_45PT_46json_d88d8ae4",load:()=>V(()=>import("./BxmSTC4j.js"),[],import.meta.url),cache:!0}],"ru-RU":[{key:"locale_ru_45RU_46json_4c89dac6",load:()=>V(()=>import("./D9m32UI0.js"),[],import.meta.url),cache:!0}],sv:[{key:"locale_sv_46json_67be43e0",load:()=>V(()=>import("./CEXeGp1J.js"),[],import.meta.url),cache:!0}],"th-TH":[{key:"locale_th_45TH_46json_c9d743c7",load:()=>V(()=>import("./D2ctsxhC.js"),[],import.meta.url),cache:!0}],"tl-PH":[{key:"locale_tl_45PH_46json_e9aca026",load:()=>V(()=>import("./DFh_Jb_a.js"),[],import.meta.url),cache:!0}],"tr-TR":[{key:"locale_tr_45TR_46json_6eca37f9",load:()=>V(()=>import("./Bbk9W5xw.js"),[],import.meta.url),cache:!0}],"uk-UA":[{key:"locale_uk_45UA_46json_7c14b7c5",load:()=>V(()=>import("./4w1fc7zC.js"),[],import.meta.url),cache:!0}],"vi-VN":[{key:"locale_vi_45VN_46json_5d55368b",load:()=>V(()=>import("./CvQq8Q_S.js"),[],import.meta.url),cache:!0}],"zh-CN":[{key:"locale_zh_45CN_46json_c96f07cc",load:()=>V(()=>import("./BEgStWvG.js"),[],import.meta.url),cache:!0}],"zh-TW":[{key:"locale_zh_45TW_46json_7fd5cb33",load:()=>V(()=>import("./BXSoPm-A.js"),[],import.meta.url),cache:!0}]},RP=[()=>V(()=>import("./BiiK0jbb.js"),[],import.meta.url)],ai=[{code:"ar-EG",name:"العربية",dir:"rtl",language:void 0},{code:"ca-ES",name:"Català",language:void 0},{code:"ca-valencia",name:"Valencià",language:void 0},{code:"ckb",name:"کوردیی ناوەندی",dir:"rtl",language:void 0},{code:"cs-CZ",name:"Česky",language:void 0},{code:"cy",name:"Cymraeg",language:void 0},{code:"de-DE",name:"Deutsch",language:void 0},{code:"el-GR",name:"Ελληνικά",language:void 0},{code:"en-CA",name:"English (Canada)",language:void 0},{code:"en-GB",name:"English (UK)",language:void 0},{code:"en-US",name:"English (US)",language:void 0},{code:"es-419",name:"Español (Latinoamérica)",language:void 0},{code:"es-ES",name:"Español (España)",language:void 0},{code:"eu-ES",name:"Euskara",language:void 0},{code:"fa-IR",name:"فارسی",dir:"rtl",language:void 0},{code:"fi",name:"Suomi",language:void 0},{code:"fr-FR",name:"Français",language:void 0},{code:"gl-ES",name:"Galego",language:void 0},{code:"he",name:"עברית",dir:"rtl",language:void 0},{code:"hu-HU",name:"Magyar",language:void 0},{code:"id-ID",name:"Indonesia",language:void 0},{code:"it-IT",name:"Italiano",language:void 0},{code:"ja-JP",name:"日本語",language:void 0},{code:"ko-KR",name:"한국어",language:void 0},{code:"nl-NL",name:"Nederlands",language:void 0},{code:"pl-PL",name:"Polski",language:void 0},{code:"pt-BR",name:"Português (Brasil)",language:void 0},{code:"pt-PT",name:"Português (Portugal)",language:void 0},{code:"ru-RU",name:"Русский",language:void 0},{code:"sv",name:"Svenska",language:void 0},{code:"th-TH",name:"ไทย",language:void 0},{code:"tl-PH",name:"Tagalog",language:void 0},{code:"tr-TR",name:"Türkçe",language:void 0},{code:"uk-UA",name:"Українська",language:void 0},{code:"vi-VN",name:"Tiếng Việt",language:void 0},{code:"zh-CN",name:"简体中文",language:void 0},{code:"zh-TW",name:"繁體中文",language:void 0}];function su(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 dc(e,t,n=".",r){if(!su(t))return dc(e,{},n,r);const o=Object.assign({},t);for(const s in e){if(s==="__proto__"||s==="constructor")continue;const i=e[s];i!=null&&(r&&r(o,s,i,n)||(Array.isArray(i)&&Array.isArray(o[s])?o[s]=[...i,...o[s]]:su(i)&&su(o[s])?o[s]=dc(i,o[s],(n?`${n}.`:"")+s.toString(),r):o[s]=i))}return o}function PP(e){return(...t)=>t.reduce((n,r)=>dc(n,r,"",e),{})}
10const Oy=new Map,OP=PP((e,t,n)=>{if(t==="messages"||t==="datetimeFormats"||t==="numberFormats")return e[t]??=Be(null),$o(n,e[t]),!0});async function LP(e){const t=fe();let n={messages:Be(null)};for(const r of e){const o=await r().then(i=>i.default),s=qe(o)?await t.runWithContext(()=>o()):o;n=OP(Be(null),s,n)}return n.fallbackLocale??=!1,n}const $P=e=>ll(e)==="[object Module]",xP=e=>$P(e)||!1;async function IP(e,t){const n=fe();try{const r=await n.runWithContext(t.load).then(o=>xP(o)?o.default:o);return qe(r)?await n.runWithContext(()=>r(e)):r}catch(r){throw new Error(`Failed loading locale (${e}): `+r.message)}}async function NP(e,t=[]){const n=fe(),r=await Promise.all(t.map(async s=>{const i=MP(s),a=i||await n.runWithContext(()=>IP(e,s));return!i&&s.cache!==!1&&Oy.set(s.key,{ttl:Date.now()+86400*1e3,value:a}),a})),o={};for(const s of r)$o(s,o);return o}function MP(e){if(e.cache===!1)return;const t=Oy.get(e.key);if(t!=null)return t.ttl>Date.now()?t.value:void 0}function $f(e){return e!=null&&"global"in e&&"mode"in e?e.global:e}function Ai(e){const t=$f(e);return"__composer"in t?t.__composer:t}function ul(e,t){return e?e.$config.public.i18n:ir().public.i18n}function cl(e){const t=ul(e).detectBrowserLanguage,n=t||{};return{...n,enabled:!!t,cookieKey:n.cookieKey||"i18n_redirected"}}function BP(e){if(e)return{path:"/"+(se(e)?e:e.path).replace(/^\//,""),code:!se(e)&&e.statusCode||302}}function jP(e){return Array.isArray(e)?e:[e]}function HP(e,t,n){const r=(s="")=>s.replace(/https?:\/\//,""),o=e.filter(s=>r(s.domain)===t||jP(s.domains).includes(t));return o.length<=1?o[0]?.code:o.find(s=>s.code===n)?.code||o.find(s=>s.defaultForDomains?.includes(t)??s.domainDefault)?.code}function UP(e,t,n){const r=ai.find(s=>s.code===n),o=e?.[n]?.domain||r?.domain||r?.domains?.find(s=>s===t.host);if(o)return uo(o,{strict:!0})?o:t.protocol+"//"+o}function WP(e){const t={};for(const n of Ws){const r=VP(e,[n]),o=zP(n,r);t[n]={fallbacks:r,cacheable:o}}return t}function VP(e,t){if(e===!1)return[];if(Ze(e))return e;let n=[];if(se(e))return t.every(o=>o!==e)&&n.push(e),n;const r=[...t,"default"];for(const o of r)o in e&&(n=[...n,...e[o].filter(Boolean)]);return n}function lp(e){return Da[e]!=null&&Da[e].every(t=>t.cache!==!1)}function zP(e,t){return lp(e)&&t.every(n=>lp(n))}function qP(e){return ai.find(t=>!!t.defaultForDomains?.includes(e))?.code}const xo=e=>Ws.includes(e||""),up=e=>xo(e)?e:void 0,Ly=()=>il("i18n:cached-locale-configs",()=>{}),$y=()=>il("i18n:resolved-locale",()=>"");function KP({cookieCrossOrigin:e,cookieDomain:t,cookieSecure:n,cookieKey:r}){const o=new Date;return _y(r||"i18n_redirected",{path:"/",readonly:!1,expires:new Date(o.setDate(o.getDate()+365)),sameSite:e?"none":"lax",domain:t||void 0,secure:e||n})}function GP(e,t,n){const r=$f(t),o=ul(e),s=cl(e),i=Ly(),a=KP(s),l=new Set,c=v=>i.value[v],u=v=>UP(o.domainLocales,yy(),v),f=lO(e,o.baseUrl),d=$y(),h=async v=>{const m=c(v)?.fallbacks??[];m.includes(v)||m.push(v);for(const y of m){const _=await e.runWithContext(()=>NP(y,Da[y]));r.mergeLocaleMessage(y,_)}},p=async v=>{if(!(v in Da))return;const m=c(v)?.cacheable?{}:{"Cache-Control":"no-cache"},y=await $fetch(`/_i18n/_s8pqoEn/${v}/messages.json`,{headers:m});for(const _ of Object.keys(y))r.mergeLocaleMessage(_,y[_])},g={vueI18n:t,initial:!0,preloaded:!1,config:o,rootRedirect:BP(o.rootRedirect),redirectStatusCode:o.redirectStatusCode??302,dynamicResourcesSSG:!1,getDefaultLocale:()=>n,getLocale:()=>N(r.locale),setLocale:async v=>{const m=g.getLocale();v===m||!xo(v)||(Pe(r.locale)?r.locale.value=v:r.locale=v,await e.callHook("i18n:localeSwitched",{newLocale:v,oldLocale:m}),d.value=v)},setLocaleSuspend:async v=>{xo(v)&&(g.vueI18n.__pendingLocale=v,g.vueI18n.__pendingLocalePromise=new Promise(m=>{g.vueI18n.__resolvePendingLocalePromise=async()=>{g.setCookieLocale(v),await g.setLocale(v),g.vueI18n.__pendingLocale=void 0,m()}}),(e.isHydrating||!g.config.skipSettingLocaleOnNavigate)&&await g.vueI18n.__resolvePendingLocalePromise?.())},getLocales:()=>N(r.locales).map(v=>se(v)?{code:v}:v),setCookieLocale:v=>{s.useCookie&&xo(v)&&(a.value=v)},getBaseUrl:v=>Bs(v&&u(v)||f(),e.$config.app.baseURL),loadMessages:async v=>{if(!(e.isHydrating&&l.has(v)))try{return g.dynamicResourcesSSG?await h(v):await p(v)}catch{}finally{l.add(v)}},composableCtx:void 0};return g.composableCtx=oO(g,e),g}
10function xf(e){if(e._nuxtI18n==null)throw new Error("Nuxt I18n context has not been set up yet.");return e._nuxtI18n}function YP(e,t){const n=[];for(const[r,o]of t.entries()){const s=e.find(i=>i.language?.toLowerCase()===o.toLowerCase());if(s){n.push({code:s.code,score:1-r/t.length});break}}for(const[r,o]of t.entries()){const s=o.split("-")[0].toLowerCase(),i=e.find(a=>a.language?.split("-")[0].toLowerCase()===s);if(i){n.push({code:i.code,score:.999-r/t.length});break}}return n}function XP(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}function JP(e,t){return YP(e.map(r=>({code:r.code,language:r.language||r.code})),t).sort(XP).at(0)?.code??""}const QP=(e,t)=>_y(t).value||void 0,ZP=(e,t)=>SP(t),eO=e=>JP(ai,navigator.languages),tO=(e,t,n)=>{const r=new URL(window.location.href).host,o=ai.map(s=>({...s,domain:n[s.code]?.domain??s.domain}));return HP(o,r,Py(t))},If=(e,t,n)=>{const r=ul(n);return{cookie:()=>QP(e,t.cookieKey),header:()=>{},navigator:()=>eO(),host:o=>tO(e,o,r.domainLocales),route:o=>ZP(e,o)}},nO=e=>!!e.path&&!e.name;function fl(e){const t=e?._nuxtI18n?.composableCtx;if(!t)throw new Error("i18n context is not initialized. Ensure the i18n plugin is installed and the composable is used within a Vue component or setup function.");return t}const rO=r_;function oO(e,t=fe()){const n=He();If(void 0,cl(t),t);const r=e.getDefaultLocale(),o=TP();function s(c,u){c.name=ou(c.name||n.currentRoute.value);const f=o(c.name,u);return n.hasRoute(f)&&(c.name=f),c}const i=kP();function a(c,u){const f=i(c,u),d=ou(f);return d?(f.name=o(d,u),f):(f.path=rO(f.path,!0),f)}const l={router:n,_head:void 0,get head(){return this._head??=uf({}),this._head},metaState:{htmlAttrs:{},meta:[],link:[]},seoSettings:{dir:!1,lang:!1,seo:!1},localePathPayload:sO(),routingOptions:{defaultLocale:r,strictCanonicals:e.config.experimental.alternateLinkCanonicalQueries??!0,hreflangLinks:!1},getLocale:e.getLocale,getLocales:e.getLocales,getBaseUrl:e.getBaseUrl,getRouteBaseName:ou,getRouteLocalizedParams:()=>n.currentRoute.value.meta.nuxtI18nInternal??{},getLocalizedDynamicParams:c=>l.getRouteLocalizedParams()?.[c],afterSwitchLocalePath:(c,u)=>(l.getRouteLocalizedParams(),c),resolveLocalizedRouteObject:(c,u)=>nO(c)?a(c,u):s(c,u)};return l}function sO(e=fe()){const t=document.querySelector(`[data-nuxt-i18n-slp="${e._id}"]`)?.textContent;return JSON.parse(t||"{}")}async function xy(e,t){const n=xf(e),r=n.getLocale();if(t===r&&!n.initial)return t;const o={oldLocale:r,newLocale:t,initialSetup:n.initial,context:e};let s=await e.callHook("i18n:beforeLocaleSwitch",o);return s!=null,s??=o.newLocale,xo(s)&&(t=s),await n.loadMessages(t),await n.setLocaleSuspend(t),t}function iO(e,t,n){return!1}function aO(e,t){const n=cl(e),r=If(void 0,n,e),o=xf(e),s=se(t)?t:t.path;function*i(){o.initial&&n.enabled&&!iO(n,s,r.route(s))&&(yield r.cookie(),yield r.header(),yield r.navigator(),yield n.fallbackLocale)}for(const a of i())if(a&&xo(a))return a;return o.getLocale()||o.getDefaultLocale()||""}function lO(e,t,n,r){return qe(t)?()=>t(e):()=>t??""}function uO(e,t,n){return{line:e,column:t,offset:n}}function hc(e,t,n){return{start:e,end:t}}const Ne={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14},cO=17;function dl(e,t,n={}){const{domain:r,messages:o,args:s}=n,i=e,a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=r,a}function fO(e){throw e}const wn=" ",dO="\r",wt=`
11`,hO="\u2028",pO="\u2029";function mO(e){const t=e;let n=0,r=1,o=1,s=0;const i=E=>t[E]===dO&&t[E+1]===wt,a=E=>t[E]===wt,l=E=>t[E]===pO,c=E=>t[E]===hO,u=E=>i(E)||a(E)||l(E)||c(E),f=()=>n,d=()=>r,h=()=>o,p=()=>s,g=E=>i(E)||l(E)||c(E)?wt:t[E],v=()=>g(n),m=()=>g(n+s);function y(){return s=0,u(n)&&(r++,o=0),i(n)&&n++,n++,o++,t[n]}function _(){return i(n+s)&&s++,s++,t[n+s]}function D(){n=0,r=1,o=1,s=0}function b(E=0){s=E}function A(){const E=n+s;for(;E!==n;)y();s=0}return{index:f,line:d,column:h,peekOffset:p,charAt:g,currentChar:v,currentPeek:m,next:y,peek:_,reset:D,resetPeek:b,skipToPeek:A}}const Hn=void 0,gO=".",cp="'",_O="tokenizer";function vO(e,t={}){const n=t.location!==!1,r=mO(e),o=()=>r.index(),s=()=>uO(r.line(),r.column(),r.index()),i=s(),a=o(),l={currentType:13,offset:a,startLoc:i,endLoc:i,lastType:13,lastOffset:a,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function f(w,F,P,...I){const B=c();if(F.column+=P,F.offset+=P,u){const X=n?hc(B.startLoc,F):null,R=dl(w,X,{domain:_O,args:I});u(R)}}function d(w,F,P){w.endLoc=s(),w.currentType=F;const I={type:F};return n&&(I.loc=hc(w.startLoc,w.endLoc)),P!=null&&(I.value=P),I}const h=w=>d(w,13);function p(w,F){return w.currentChar()===F?(w.next(),F):(f(Ne.EXPECTED_TOKEN,s(),0,F),"")}function g(w){let F="";for(;w.currentPeek()===wn||w.currentPeek()===wt;)F+=w.currentPeek(),w.peek();return F}function v(w){const F=g(w);return w.skipToPeek(),F}function m(w){if(w===Hn)return!1;const F=w.charCodeAt(0);return F>=97&&F<=122||F>=65&&F<=90||F===95}function y(w){if(w===Hn)return!1;const F=w.charCodeAt(0);return F>=48&&F<=57}function _(w,F){const{currentType:P}=F;if(P!==2)return!1;g(w);const I=m(w.currentPeek());return w.resetPeek(),I}function D(w,F){const{currentType:P}=F;if(P!==2)return!1;g(w);
11const I=w.currentPeek()==="-"?w.peek():w.currentPeek(),B=y(I);return w.resetPeek(),B}function b(w,F){const{currentType:P}=F;if(P!==2)return!1;g(w);const I=w.currentPeek()===cp;return w.resetPeek(),I}function A(w,F){const{currentType:P}=F;if(P!==7)return!1;g(w);const I=w.currentPeek()===".";return w.resetPeek(),I}function E(w,F){const{currentType:P}=F;if(P!==8)return!1;g(w);const I=m(w.currentPeek());return w.resetPeek(),I}function O(w,F){const{currentType:P}=F;if(!(P===7||P===11))return!1;g(w);const I=w.currentPeek()===":";return w.resetPeek(),I}function S(w,F){const{currentType:P}=F;if(P!==9)return!1;const I=()=>{const X=w.currentPeek();return X==="{"?m(w.peek()):X==="@"||X==="|"||X===":"||X==="."||X===wn||!X?!1:X===wt?(w.peek(),I()):M(w,!1)},B=I();return w.resetPeek(),B}function k(w){g(w);const F=w.currentPeek()==="|";return w.resetPeek(),F}function M(w,F=!0){const P=(B=!1,X="")=>{const R=w.currentPeek();return R==="{"||R==="@"||!R?B:R==="|"?!(X===wn||X===wt):R===wn?(w.peek(),P(!0,wn)):R===wt?(w.peek(),P(!0,wt)):!0},I=P();return F&&w.resetPeek(),I}function L(w,F){const P=w.currentChar();return P===Hn?Hn:F(P)?(w.next(),P):null}function G(w){const F=w.charCodeAt(0);return F>=97&&F<=122||F>=65&&F<=90||F>=48&&F<=57||F===95||F===36}function U(w){return L(w,G)}function Z(w){const F=w.charCodeAt(0);return F>=97&&F<=122||F>=65&&F<=90||F>=48&&F<=57||F===95||F===36||F===45}function W(w){return L(w,Z)}function ee(w){const F=w.charCodeAt(0);return F>=48&&F<=57}function Y(w){return L(w,ee)}function ce(w){const F=w.charCodeAt(0);return F>=48&&F<=57||F>=65&&F<=70||F>=97&&F<=102}function Qe(w){return L(w,ce)}function Oe(w){let F="",P="";for(;F=Y(w);)P+=F;return P}function Ke(w){let F="";for(;;){const P=w.currentChar();if(P==="{"||P==="}"||P==="@"||P==="|"||!P)break;if(P===wn||P===wt)if(M(w))F+=P,w.next();else{if(k(w))break;F+=P,w.next()}else F+=P,w.next()}return F}function at(w){v(w);let F="",P="";for(;F=W(w);)P+=F;const I=w.currentChar();if(I&&I!=="}"&&I!==Hn&&I!==wn&&I!==wt&&I!==" "){const B=le(w);return f(Ne.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,P+B),P+B}return w.currentChar()===Hn&&f(Ne.UNTERMINATED_CLOSING_BRACE,s(),0),P}function vt(w){v(w);let F="";return w.currentChar()==="-"?(w.next(),F+=`-${Oe(w)}`):F+=Oe(w),w.currentChar()===Hn&&f(Ne.UNTERMINATED_CLOSING_BRACE,s(),0),F}function St(w){return w!==cp&&w!==wt}function lt(w){v(w),p(w,"'");let F="",P="";for(;F=L(w,St);)F==="\\"?P+=H(w):P+=F;const I=w.currentChar();return I===wt||I===Hn?(f(Ne.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),I===wt&&(w.next(),p(w,"'")),P):(p(w,"'"),P)}function H(w){const F=w.currentChar();switch(F){case"\\":case"'":return w.next(),`\\${F}`;case"u":return re(w,F,4);case"U":return re(w,F,6);default:return f(Ne.UNKNOWN_ESCAPE_SEQUENCE,s(),0,F),""}}function re(w,F,P){p(w,F);let I="";for(let B=0;B<P;B++){const X=Qe(w);if(!X){f(Ne.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${F}${I}${w.currentChar()}`);break}I+=X}return`\\${F}${I}`}function te(w){return w!=="{"&&w!=="}"&&w!==wn&&w!==wt}function le(w){v(w);let F="",P="";for(;F=L(w,te);)P+=F;return P}function ve(w){let F="",P="";for(;F=U(w);)P+=F;return P}function je(w){const F=P=>{const I=w.currentChar();return I==="{"||I==="@"||I==="|"||I==="("||I===")"||!I||I===wn?P:(P+=I,w.next(),F(P))};return F("")}function C(w){v(w);const F=p(w,"|");return v(w),F}function T(w,F){let P=null;switch(w.currentChar()){case"{":return F.braceNest>=1&&f(Ne.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),w.next(),P=d(F,2,"{"),v(w),F.braceNest++,P;case"}":return F.braceNest>0&&F.currentType===2&&f(Ne.EMPTY_PLACEHOLDER,s(),0),w.next(),P=d(F,3,"}"),F.braceNest--,F.braceNest>0&&v(w),F.inLinked&&F.braceNest===0&&(F.inLinked=!1),P;case"@":return F.braceNest>0&&f(Ne.UNTERMINATED_CLOSING_BRACE,s(),0),P=$(w,F)||h(F),F.braceNest=0,P;default:{let B=!0,X=!0,R=!0;if(k(w))return F.braceNest>0&&f(Ne.UNTERMINATED_CLOSING_BRACE,s(),0),P=d(F,1,C(w)),F.braceNest=0,F.inLinked=!1,P;if(F.braceNest>0&&(F.currentType===4||F.currentType===5||F.currentType===6))return f(Ne.UNTERMINATED_CLOSING_BRACE,s(),0),F.braceNest=0,q(w,F);if(B=_(w,F))return P=d(F,4,at(w)),v(w),P;if(X=D(w,F))return P=d(F,5,vt(w)),v(w),P;if(R=b(w,F))return P=d(F,6,lt(w)),v(w),P;if(!B&&!X&&!R)return P=d(F,12,le(w)),f(Ne.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,P.value),v(w),P;break}}return P}function $(w,F){const{currentType:P}=F;let I=null;const B=w.currentChar();switch((P===7||P===8||P===11||P===9)&&(B===wt||B===wn)&&f(Ne.INVALID_LINKED_FORMAT,s(),0),B){case"@":return w.next(),I=d(F,7,"@"),F.inLinked=!0,I;case".":return v(w),w.next(),d(F,8,".");case":":return v(w),w.next(),d(F,9,":");default:return k(w)?(I=d(F,1,C(w)),F.braceNest=0,F.inLinked=!1,I):A(w,F)||O(w,F)?(v(w),$(w,F)):E(w,F)?(v(w),d(F,11,ve(w))):S(w,F)?(v(w),B==="{"?T(w,F)||I:d(F,10,je(w))):(P===7&&f(Ne.INVALID_LINKED_FORMAT,s(),0),F.braceNest=0,F.inLinked=!1,q(w,F))}}function q(w,F){let P={type:13};if(F.braceNest>0)return T(w,F)||h(F);if(F.inLinked)return $(w,F)||h(F);switch(w.currentChar()){case"{":return T(w,F)||h(F);case"}":return f(Ne.UNBALANCED_CLOSING_BRACE,s(),0),w.next(),d(F,3,"}");case"@":return $(w,F)||h(F);
11default:{if(k(w))return P=d(F,1,C(w)),F.braceNest=0,F.inLinked=!1,P;if(M(w))return d(F,0,Ke(w));break}}return P}function j(){const{currentType:w,offset:F,startLoc:P,endLoc:I}=l;return l.lastType=w,l.lastOffset=F,l.lastStartLoc=P,l.lastEndLoc=I,l.offset=o(),l.startLoc=s(),r.currentChar()===Hn?d(l,13):q(r,l)}return{nextToken:j,currentOffset:o,currentPosition:s,context:c}}const yO="parser",DO=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function bO(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function wO(e={}){const t=e.location!==!1,{onError:n}=e;function r(m,y,_,D,...b){const A=m.currentPosition();if(A.offset+=D,A.column+=D,n){const E=t?hc(_,A):null,O=dl(y,E,{domain:yO,args:b});n(O)}}function o(m,y,_){const D={type:m};return t&&(D.start=y,D.end=y,D.loc={start:_,end:_}),D}function s(m,y,_,D){t&&(m.end=y,m.loc&&(m.loc.end=_))}function i(m,y){const _=m.context(),D=o(3,_.offset,_.startLoc);return D.value=y,s(D,m.currentOffset(),m.currentPosition()),D}function a(m,y){const _=m.context(),{lastOffset:D,lastStartLoc:b}=_,A=o(5,D,b);return A.index=parseInt(y,10),m.nextToken(),s(A,m.currentOffset(),m.currentPosition()),A}function l(m,y){const _=m.context(),{lastOffset:D,lastStartLoc:b}=_,A=o(4,D,b);return A.key=y,m.nextToken(),s(A,m.currentOffset(),m.currentPosition()),A}function c(m,y){const _=m.context(),{lastOffset:D,lastStartLoc:b}=_,A=o(9,D,b);return A.value=y.replace(DO,bO),m.nextToken(),s(A,m.currentOffset(),m.currentPosition()),A}function u(m){const y=m.nextToken(),_=m.context(),{lastOffset:D,lastStartLoc:b}=_,A=o(8,D,b);return y.type!==11?(r(m,Ne.UNEXPECTED_EMPTY_LINKED_MODIFIER,_.lastStartLoc,0),A.value="",s(A,D,b),{nextConsumeToken:y,node:A}):(y.value==null&&r(m,Ne.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,En(y)),A.value=y.value||"",s(A,m.currentOffset(),m.currentPosition()),{node:A})}function f(m,y){const _=m.context(),D=o(7,_.offset,_.startLoc);return D.value=y,s(D,m.currentOffset(),m.currentPosition()),D}function d(m){const y=m.context(),_=o(6,y.offset,y.startLoc);let D=m.nextToken();if(D.type===8){const b=u(m);_.modifier=b.node,D=b.nextConsumeToken||m.nextToken()}switch(D.type!==9&&r(m,Ne.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,En(D)),D=m.nextToken(),D.type===2&&(D=m.nextToken()),D.type){case 10:D.value==null&&r(m,Ne.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,En(D)),_.key=f(m,D.value||"");break;case 4:D.value==null&&r(m,Ne.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,En(D)),_.key=l(m,D.value||"");break;case 5:D.value==null&&r(m,Ne.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,En(D)),_.key=a(m,D.value||"");break;case 6:D.value==null&&r(m,Ne.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,En(D)),_.key=c(m,D.value||"");break;default:{r(m,Ne.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const b=m.context(),A=o(7,b.offset,b.startLoc);return A.value="",s(A,b.offset,b.startLoc),_.key=A,s(_,b.offset,b.startLoc),{nextConsumeToken:D,node:_}}}return s(_,m.currentOffset(),m.currentPosition()),{node:_}}function h(m){const y=m.context(),_=y.currentType===1?m.currentOffset():y.offset,D=y.currentType===1?y.endLoc:y.startLoc,b=o(2,_,D);b.items=[];let A=null;do{const S=A||m.nextToken();switch(A=null,S.type){case 0:S.value==null&&r(m,Ne.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,En(S)),b.items.push(i(m,S.value||""));break;case 5:S.value==null&&r(m,Ne.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,En(S)),b.items.push(a(m,S.value||""));break;case 4:S.value==null&&r(m,Ne.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,En(S)),b.items.push(l(m,S.value||""));break;case 6:S.value==null&&r(m,Ne.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,En(S)),b.items.push(c(m,S.value||""));break;case 7:{const k=d(m);b.items.push(k.node),A=k.nextConsumeToken||null;break}}}while(y.currentType!==13&&y.currentType!==1);const E=y.currentType===1?y.lastOffset:m.currentOffset(),O=y.currentType===1?y.lastEndLoc:m.currentPosition();return s(b,E,O),b}function p(m,y,_,D){const b=m.context();let A=D.items.length===0;const E=o(1,y,_);E.cases=[],E.cases.push(D);do{const O=h(m);A||(A=O.items.length===0),E.cases.push(O)}while(b.currentType!==13);return A&&r(m,Ne.MUST_HAVE_MESSAGES_IN_PLURAL,_,0),s(E,m.currentOffset(),m.currentPosition()),E}function g(m){const y=m.context(),{offset:_,startLoc:D}=y,b=h(m);return y.currentType===13?b:p(m,_,D,b)}function v(m){const y=vO(m,st({},e)),_=y.context(),D=o(0,_.offset,_.startLoc);return t&&D.loc&&(D.loc.source=m),D.body=g(y),e.onCacheKey&&(D.cacheKey=e.onCacheKey(m)),_.currentType!==13&&r(y,Ne.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,m[_.offset]||""),s(D,y.currentOffset(),y.currentPosition()),D}return{parse:v}}function En(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function EO(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function fp(e,t){for(let n=0;n<e.length;
11n++)Nf(e[n],t)}function Nf(e,t){switch(e.type){case 1:fp(e.cases,t),t.helper("plural");break;case 2:fp(e.items,t);break;case 6:{Nf(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function CO(e,t={}){const n=EO(e);n.helper("normalize"),e.body&&Nf(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function FO(e){const t=e.body;return t.type===2?dp(t):t.cases.forEach(n=>dp(n)),e}function dp(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=Lf(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}function wo(e){switch(e.t=e.type,e.type){case 0:{const t=e;wo(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)wo(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)wo(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;wo(t.key),t.k=t.key,delete t.key,t.modifier&&(wo(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}}delete e.type}function AO(e,t){const{filename:n,breakLineCode:r,needIndent:o}=t,s=t.location!==!1,i={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:o,indentLevel:0};s&&e.loc&&(i.source=e.loc.source);const a=()=>i;function l(g,v){i.code+=g}function c(g,v=!0){const m=v?r:"";l(o?m+"  ".repeat(g):m)}function u(g=!0){const v=++i.indentLevel;g&&c(v)}function f(g=!0){const v=--i.indentLevel;g&&c(v)}function d(){c(i.indentLevel)}return{context:a,push:l,indent:u,deindent:f,newline:d,helper:g=>`_${g}`,needIndent:()=>i.needIndent}}function SO(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),qo(e,t.key),t.modifier?(e.push(", "),qo(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function TO(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let s=0;s<o&&(qo(e,t.items[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}function kO(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const o=t.cases.length;for(let s=0;s<o&&(qo(e,t.cases[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}}function RO(e,t){t.body?qo(e,t.body):e.push("null")}function qo(e,t){const{helper:n}=e;switch(t.type){case 0:RO(e,t);break;case 1:kO(e,t);break;case 2:TO(e,t);break;case 6:SO(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const PO=(e,t={})=>{const n=se(t.mode)?t.mode:"normal",r=se(t.filename)?t.filename:"message.intl";t.sourceMap;const o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
12`,s=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],a=AO(e,{filename:r,breakLineCode:o,needIndent:s});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(s),i.length>0&&(a.push(`const { ${Lf(i.map(u=>`${u}: _${u}`),", ")} } = ctx`),a.newline()),a.push("return "),qo(a,e),a.deindent(s),a.push("}"),delete e.helpers;const{code:l,map:c}=a.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function OO(e,t={}){const n=st({},t),r=!!n.jit,o=!!n.minify,s=n.optimize==null?!0:n.optimize,a=wO(n).parse(e);return r?(s&&FO(a),o&&wo(a),{ast:a,code:""}):(CO(a,n),PO(a,n))}function On(e){return $e(e)&&Mf(e)===0&&(ln(e,"b")||ln(e,"body"))}const Iy=["b","body"];function LO(e){return Pr(e,Iy)}const Ny=["c","cases"];function $O(e){return Pr(e,Ny,[])}const My=["s","static"];function xO(e){return Pr(e,My)}const By=["i","items"];function IO(e){return Pr(e,By,[])}const jy=["t","type"];function Mf(e){return Pr(e,jy)}const Hy=["v","value"];function Si(e,t){const n=Pr(e,Hy);if(n!=null)return n;throw Vs(t)}const Uy=["m","modifier"];function NO(e){return Pr(e,Uy)}const Wy=["k","key"];function MO(e){const t=Pr(e,Wy);if(t)return t;throw Vs(6)}function Pr(e,t,n){for(let r=0;r<t.length;r++){const o=t[r];if(ln(e,o)&&e[o]!=null)return e[o]}return n}const Vy=[...Iy,...Ny,...My,...By,...Wy,...Uy,...Hy,...jy];function Vs(e){return new Error(`unhandled node type: ${e}`)}function iu(e){return n=>BO(n,e)}function BO(e,t){const n=LO(t);if(n==null)throw Vs(0);if(Mf(n)===1){const s=$O(n);return e.plural(s.reduce((i,a)=>[...i,hp(e,a)],[]))}else return hp(e,n)}function hp(e,t){const n=xO(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);
12{const r=IO(t).reduce((o,s)=>[...o,pc(e,s)],[]);return e.normalize(r)}}function pc(e,t){const n=Mf(t);switch(n){case 3:return Si(t,n);case 9:return Si(t,n);case 4:{const r=t;if(ln(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(ln(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw Vs(n)}case 5:{const r=t;if(ln(r,"i")&&dt(r.i))return e.interpolate(e.list(r.i));if(ln(r,"index")&&dt(r.index))return e.interpolate(e.list(r.index));throw Vs(n)}case 6:{const r=t,o=NO(r),s=MO(r);return e.linked(pc(e,s),o?pc(e,o):void 0,e.type)}case 7:return Si(t,n);case 8:return Si(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const jO=e=>e;let Ti=Be();function HO(e,t={}){let n=!1;const r=t.onError||fO;return t.onError=o=>{n=!0,r(o)},{...OO(e,t),detectError:n}}function UO(e,t){if(se(e)){Xe(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||jO)(e),o=Ti[r];if(o)return o;const{ast:s,detectError:i}=HO(e,{...t,location:!1,jit:!0}),a=iu(s);return i?a:Ti[r]=a}else{const n=e.cacheKey;if(n){const r=Ti[n];return r||(Ti[n]=iu(e))}else return iu(e)}}const Kn={INVALID_ARGUMENT:cO,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},WO=24;function Gn(e){return dl(e,null,void 0)}function Bf(e,t){return t.locale!=null?pp(t.locale):pp(e.locale)}let au;function pp(e){if(se(e))return e;if(qe(e)){if(e.resolvedOnce&&au!=null)return au;if(e.constructor.name==="Function"){const t=e();if(uP(t))throw Gn(Kn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return au=t}else throw Gn(Kn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Gn(Kn.NOT_SUPPORT_LOCALE_TYPE)}function VO(e,t,n){return[...new Set([n,...Ze(t)?t:$e(t)?Object.keys(t):se(t)?[t]:[n]])]}function zy(e,t,n){const r=se(n)?n:ba,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let i=[n];for(;Ze(i);)i=mp(s,i,t);const a=Ze(t)||!ke(t)?t:t.default?t.default:null;i=se(a)?[a]:a,Ze(i)&&mp(s,i,!1),o.__localeChainCache.set(r,s)}return s}function mp(e,t,n){let r=!0;for(let o=0;o<t.length&&Xe(r);o++){const s=t[o];se(s)&&(r=zO(e,t[o],n))}return r}function zO(e,t,n){let r;const o=t.split("-");do{const s=o.join("-");r=qO(e,s,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function qO(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(Ze(n)||ke(n))&&n[o]&&(r=n[o])}return r}const Or=[];Or[0]={w:[0],i:[3,0],"[":[4],o:[7]};Or[1]={w:[1],".":[2],"[":[4],o:[7]};Or[2]={w:[2],i:[3,0],0:[3,0]};Or[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Or[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Or[5]={"'":[4,0],o:8,l:[5,0]};Or[6]={'"':[4,0],o:8,l:[6,0]};const KO=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function GO(e){return KO.test(e)}function YO(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function XO(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function JO(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:GO(t)?YO(t):"*"+t}function QO(e){const t=[];let n=-1,r=0,o=0,s,i,a,l,c,u,f;const d=[];d[0]=()=>{i===void 0?i=a:i+=a},d[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},d[2]=()=>{d[0](),o++},d[3]=()=>{if(o>0)o--,r=4,d[0]();else{if(o=0,i===void 0||(i=JO(i),i===!1))return!1;d[1]()}};function h(){const p=e[n+1];if(r===5&&p==="'"||r===6&&p==='"')return n++,a="\\"+p,d[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&h())){if(l=XO(s),f=Or[r],c=f[l]||f.l||8,c===8||(r=c[0],c[1]!==void 0&&(u=d[c[1]],u&&(a=s,u()===!1))))return;if(r===7)return t}}const gp=new Map;function ZO(e,t){return $e(e)?e[t]:null}function eL(e,t){if(!$e(e))return null;let n=gp.get(t);if(n||(n=QO(t),n&&gp.set(t,n)),!n)return null;const r=n.length;let o=e,s=0;for(;s<r;){const i=n[s];if(Vy.includes(i)&&On(o))return null;const a=o[i];if(a===void 0||qe(o))return null;o=a,s++}return o}const tL="11.1.12",hl=-1,ba="en-US",_p="",vp=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function nL(){return{upper:(e,t)=>t==="text"&&se(e)?e.toUpperCase():t==="vnode"&&$e(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&se(e)?e.toLowerCase():t==="vnode"&&$e(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>
12t==="text"&&se(e)?vp(e):t==="vnode"&&$e(e)&&"__v_isVNode"in e?vp(e.children):e}}let qy;function rL(e){qy=e}let Ky;function oL(e){Ky=e}let Gy;function sL(e){Gy=e}let Yy=null;const yp=e=>{Yy=e},iL=()=>Yy;let Dp=0;function aL(e={}){const t=qe(e.onWarn)?e.onWarn:nP,n=se(e.version)?e.version:tL,r=se(e.locale)||qe(e.locale)?e.locale:ba,o=qe(r)?ba:r,s=Ze(e.fallbackLocale)||ke(e.fallbackLocale)||se(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=ke(e.messages)?e.messages:lu(o),a=ke(e.datetimeFormats)?e.datetimeFormats:lu(o),l=ke(e.numberFormats)?e.numberFormats:lu(o),c=st(Be(),e.modifiers,nL()),u=e.pluralRules||Be(),f=qe(e.missing)?e.missing:null,d=Xe(e.missingWarn)||ya(e.missingWarn)?e.missingWarn:!0,h=Xe(e.fallbackWarn)||ya(e.fallbackWarn)?e.fallbackWarn:!0,p=!!e.fallbackFormat,g=!!e.unresolving,v=qe(e.postTranslation)?e.postTranslation:null,m=ke(e.processor)?e.processor:null,y=Xe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,_=!!e.escapeParameter,D=qe(e.messageCompiler)?e.messageCompiler:qy,b=qe(e.messageResolver)?e.messageResolver:Ky||ZO,A=qe(e.localeFallbacker)?e.localeFallbacker:Gy||VO,E=$e(e.fallbackContext)?e.fallbackContext:void 0,O=e,S=$e(O.__datetimeFormatters)?O.__datetimeFormatters:new Map,k=$e(O.__numberFormatters)?O.__numberFormatters:new Map,M=$e(O.__meta)?O.__meta:{};Dp++;const L={version:n,cid:Dp,locale:r,fallbackLocale:s,messages:i,modifiers:c,pluralRules:u,missing:f,missingWarn:d,fallbackWarn:h,fallbackFormat:p,unresolving:g,postTranslation:v,processor:m,warnHtmlMessage:y,escapeParameter:_,messageCompiler:D,messageResolver:b,localeFallbacker:A,fallbackContext:E,onWarn:t,__meta:M};return L.datetimeFormats=a,L.numberFormats=l,L.__datetimeFormatters=S,L.__numberFormatters=k,L}const lu=e=>({[e]:Be()});function jf(e,t,n,r,o){const{missing:s,onWarn:i}=e;if(s!==null){const a=s(e,n,t,o);return se(a)?a:t}else return t}function ps(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function lL(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function uL(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(lL(e,t[r]))return!0;return!1}function bp(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__datetimeFormatters:a}=e,[l,c,u,f]=mc(...t),d=Xe(u.missingWarn)?u.missingWarn:e.missingWarn;Xe(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const h=!!u.part,p=Bf(e,u),g=i(e,o,p);if(!se(l)||l==="")return new Intl.DateTimeFormat(p,f).format(c);let v={},m,y=null;const _="datetime format";for(let A=0;A<g.length&&(m=g[A],v=n[m]||{},y=v[l],!ke(y));A++)jf(e,l,m,d,_);if(!ke(y)||!se(m))return r?hl:l;let D=`${m}__${l}`;al(f)||(D=`${D}__${JSON.stringify(f)}`);let b=a.get(D);return b||(b=new Intl.DateTimeFormat(m,st({},y,f)),a.set(D,b)),h?b.formatToParts(c):b.format(c)}const Xy=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function mc(...e){const[t,n,r,o]=e,s=Be();let i=Be(),a;if(se(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw Gn(Kn.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();a=new Date(c);try{a.toISOString()}catch{throw Gn(Kn.INVALID_ISO_DATE_ARGUMENT)}}else if(sP(t)){if(isNaN(t.getTime()))throw Gn(Kn.INVALID_DATE_ARGUMENT);a=t}else if(dt(t))a=t;else throw Gn(Kn.INVALID_ARGUMENT);return se(n)?s.key=n:ke(n)&&Object.keys(n).forEach(l=>{Xy.includes(l)?i[l]=n[l]:s[l]=n[l]}),se(r)?s.locale=r:ke(r)&&(i=r),ke(o)&&(i=o),[s.key||"",a,s,i]}function wp(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function Ep(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__numberFormatters:a}=e,[l,c,u,f]=gc(...t),d=Xe(u.missingWarn)?u.missingWarn:e.missingWarn;Xe(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const h=!!u.part,p=Bf(e,u),g=i(e,o,p);if(!se(l)||l==="")return new Intl.NumberFormat(p,f).format(c);let v={},m,y=null;const _="number format";for(let A=0;A<g.length&&(m=g[A],v=n[m]||{},y=v[l],!ke(y));A++)jf(e,l,m,d,_);if(!ke(y)||!se(m))return r?hl:l;let D=`${m}__${l}`;al(f)||(D=`${D}__${JSON.stringify(f)}`);let b=a.get(D);return b||(b=new Intl.NumberFormat(m,st({},y,f)),a.set(D,b)),h?b.formatToParts(c):b.format(c)}const Jy=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function gc(...e){const[t,n,r,o]=e,s=Be();let i=Be();
12if(!dt(t))throw Gn(Kn.INVALID_ARGUMENT);const a=t;return se(n)?s.key=n:ke(n)&&Object.keys(n).forEach(l=>{Jy.includes(l)?i[l]=n[l]:s[l]=n[l]}),se(r)?s.locale=r:ke(r)&&(i=r),ke(o)&&(i=o),[s.key||"",a,s,i]}function Cp(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}const cL=e=>e,fL=e=>"",dL="text",hL=e=>e.length===0?"":Lf(e),pL=cP;function Fp(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function mL(e){const t=dt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(dt(e.named.count)||dt(e.named.n))?dt(e.named.count)?e.named.count:dt(e.named.n)?e.named.n:t:t}function gL(e,t){t.count||(t.count=e),t.n||(t.n=e)}function _L(e={}){const t=e.locale,n=mL(e),r=$e(e.pluralRules)&&se(t)&&qe(e.pluralRules[t])?e.pluralRules[t]:Fp,o=$e(e.pluralRules)&&se(t)&&qe(e.pluralRules[t])?Fp:void 0,s=m=>m[r(n,m.length,o)],i=e.list||[],a=m=>i[m],l=e.named||Be();dt(e.pluralIndex)&&gL(n,l);const c=m=>l[m];function u(m,y){const _=qe(e.messages)?e.messages(m,!!y):$e(e.messages)?e.messages[m]:!1;return _||(e.parent?e.parent.message(m):fL)}const f=m=>e.modifiers?e.modifiers[m]:cL,d=ke(e.processor)&&qe(e.processor.normalize)?e.processor.normalize:hL,h=ke(e.processor)&&qe(e.processor.interpolate)?e.processor.interpolate:pL,p=ke(e.processor)&&se(e.processor.type)?e.processor.type:dL,v={list:a,named:c,plural:s,linked:(m,...y)=>{const[_,D]=y;let b="text",A="";y.length===1?$e(_)?(A=_.modifier||A,b=_.type||b):se(_)&&(A=_||A):y.length===2&&(se(_)&&(A=_||A),se(D)&&(b=D||b));const E=u(m,!0)(v),O=b==="vnode"&&Ze(E)&&A?E[0]:E;return A?f(A)(O,b):O},message:u,type:p,interpolate:h,normalize:d,values:st(Be(),i,l)};return v}const Ap=()=>"",Qn=e=>qe(e);function Sp(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:i,messages:a}=e,[l,c]=_c(...t),u=Xe(c.missingWarn)?c.missingWarn:e.missingWarn,f=Xe(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,d=Xe(c.escapeParameter)?c.escapeParameter:e.escapeParameter,h=!!c.resolvedMessage,p=se(c.default)||Xe(c.default)?Xe(c.default)?s?l:()=>l:c.default:n?s?l:()=>l:null,g=n||p!=null&&(se(p)||qe(p)),v=Bf(e,c);d&&vL(c);let[m,y,_]=h?[l,v,a[v]||Be()]:Qy(e,l,v,i,f,u),D=m,b=l;if(!h&&!(se(D)||On(D)||Qn(D))&&g&&(D=p,b=D),!h&&(!(se(D)||On(D)||Qn(D))||!se(y)))return o?hl:l;let A=!1;const E=()=>{A=!0},O=Qn(D)?D:Zy(e,l,y,D,b,E);if(A)return D;const S=bL(e,y,_,c),k=_L(S),M=yL(e,O,k);let L=r?r(M,l):M;return d&&se(L)&&(L=aP(L)),L}function vL(e){Ze(e.list)?e.list=e.list.map(t=>se(t)?ip(t):t):$e(e.named)&&Object.keys(e.named).forEach(t=>{se(e.named[t])&&(e.named[t]=ip(e.named[t]))})}function Qy(e,t,n,r,o,s){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:c}=e,u=c(e,r,n);let f=Be(),d,h=null;const p="translate";for(let g=0;g<u.length&&(d=u[g],f=i[d]||Be(),(h=l(f,t))===null&&(h=f[t]),!(se(h)||On(h)||Qn(h)));g++)if(!uL(d,u)){const v=jf(e,t,d,s,p);v!==t&&(h=v)}return[h,d,f]}function Zy(e,t,n,r,o,s){const{messageCompiler:i,warnHtmlMessage:a}=e;if(Qn(r)){const c=r;return c.locale=c.locale||n,c.key=c.key||t,c}if(i==null){const c=(()=>r);return c.locale=n,c.key=t,c}const l=i(r,DL(e,n,o,r,a,s));return l.locale=n,l.key=t,l.source=r,l}function yL(e,t,n){return t(n)}function _c(...e){const[t,n,r]=e,o=Be();if(!se(t)&&!dt(t)&&!Qn(t)&&!On(t))throw Gn(Kn.INVALID_ARGUMENT);const s=dt(t)?String(t):(Qn(t),t);return dt(n)?o.plural=n:se(n)?o.default=n:ke(n)&&!al(n)?o.named=n:Ze(n)&&(o.list=n),dt(r)?o.plural=r:se(r)?o.default=r:ke(r)&&st(o,r),[s,o]}function DL(e,t,n,r,o,s){return{locale:t,key:n,warnHtmlMessage:o,onError:i=>{throw s&&s(i),i},onCacheKey:i=>rP(t,n,i)}}function bL(e,t,n,r){const{modifiers:o,pluralRules:s,messageResolver:i,fallbackLocale:a,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,d={locale:t,modifiers:o,pluralRules:s,messages:(h,p)=>{let g=i(n,h);if(g==null&&(u||p)){const[,,v]=Qy(u||e,h,t,a,l,c);g=i(v,h)}if(se(g)||On(g)){let v=!1;const y=Zy(e,h,t,g,h,()=>{v=!0});return v?Ap:y}else return Qn(g)?g:Ap}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),dt(r.plural)&&(d.pluralIndex=r.plural),d}const wL="11.1.12",en={UNEXPECTED_RETURN_TYPE:WO,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function yn(e,...t){return dl(e,null,void 0)}const vc=Rr("__translateVNode"),yc=Rr("__datetimeParts"),Dc=Rr("__numberParts"),EL=Rr("__setPluralRules"),CL=Rr("__injectWithOption"),bc=Rr("__dispose");function zs(e){if(!$e(e)||On(e))return e;for(const t in e)if(ln(e,t))if(!t.includes("."))$e(e[t])&&zs(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,s=!1;for(let i=0;i<r;i++){if(n[i]==="__proto__")throw new Error(`unsafe key: ${n[i]}`);if(n[i]in o||(o[n[i]]=Be()),!$e(o[n[i]])){s=!0;break}o=o[n[i]]}if(s||(On(o)?Vy.includes(n[r])||delete e[t]:(o[n[r]]=e[t],delete e[t])),!On(o)){const i=o[n[r]];$e(i)&&zs(i)}}return e}function eD(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:s}=t,i=ke(n)?n:Ze(r)?Be():{[e]:Be()};if(Ze(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(i[l]=i[l]||Be(),$o(c,i[l])):$o(c,i)}else se(a)&&$o(JSON.parse(a),i)}),o==null&&s)for(const a in i)ln(i,a)&&zs(i[a]);return i}function FL(e){return e.type}
12function AL(e,t,n){let r=$e(t.messages)?t.messages:Be();"__i18nGlobal"in n&&(r=eD(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if($e(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if($e(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Tp(e){return he(Dr,null,e,0)}const kp=()=>[],SL=()=>!1;let Rp=0;function Pp(e){return((t,n,r,o)=>e(n,r,_t()||void 0,o))}function tD(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,s=va?Q:ie;let i=Xe(e.inheritLocale)?e.inheritLocale:!0;const a=s(t&&i?t.locale.value:se(e.locale)?e.locale:ba),l=s(t&&i?t.fallbackLocale.value:se(e.fallbackLocale)||Ze(e.fallbackLocale)||ke(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),c=s(eD(a.value,e)),u=s(ke(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),f=s(ke(e.numberFormats)?e.numberFormats:{[a.value]:{}});let d=t?t.missingWarn:Xe(e.missingWarn)||ya(e.missingWarn)?e.missingWarn:!0,h=t?t.fallbackWarn:Xe(e.fallbackWarn)||ya(e.fallbackWarn)?e.fallbackWarn:!0,p=t?t.fallbackRoot:Xe(e.fallbackRoot)?e.fallbackRoot:!0,g=!!e.fallbackFormat,v=qe(e.missing)?e.missing:null,m=qe(e.missing)?Pp(e.missing):null,y=qe(e.postTranslation)?e.postTranslation:null,_=t?t.warnHtmlMessage:Xe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,D=!!e.escapeParameter;const b=t?t.modifiers:ke(e.modifiers)?e.modifiers:{};let A=e.pluralRules||t&&t.pluralRules,E;E=(()=>{r&&yp(null);const R={version:wL,locale:a.value,fallbackLocale:l.value,messages:c.value,modifiers:b,pluralRules:A,missing:m===null?void 0:m,missingWarn:d,fallbackWarn:h,fallbackFormat:g,unresolving:!0,postTranslation:y===null?void 0:y,warnHtmlMessage:_,escapeParameter:D,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};R.datetimeFormats=u.value,R.numberFormats=f.value,R.__datetimeFormatters=ke(E)?E.__datetimeFormatters:void 0,R.__numberFormatters=ke(E)?E.__numberFormatters:void 0;const x=aL(R);return r&&yp(x),x})(),ps(E,a.value,l.value);function S(){return[a.value,l.value,c.value,u.value,f.value]}const k=K({get:()=>a.value,set:R=>{E.locale=R,a.value=R}}),M=K({get:()=>l.value,set:R=>{E.fallbackLocale=R,l.value=R,ps(E,a.value,R)}}),L=K(()=>c.value),G=K(()=>u.value),U=K(()=>f.value);function Z(){return qe(y)?y:null}function W(R){y=R,E.postTranslation=R}function ee(){return v}function Y(R){R!==null&&(m=Pp(R)),v=R,E.missing=m}const ce=(R,x,ne,de,Ae,Se)=>{S();let nt;try{r||(E.fallbackContext=t?iL():void 0),nt=R(E)}finally{r||(E.fallbackContext=void 0)}if(ne!=="translate exists"&&dt(nt)&&nt===hl||ne==="translate exists"&&!nt){const[mt,zt]=x();return t&&p?de(t):Ae(mt)}else{if(Se(nt))return nt;throw yn(en.UNEXPECTED_RETURN_TYPE)}};function Qe(...R){return ce(x=>Reflect.apply(Sp,null,[x,...R]),()=>_c(...R),"translate",x=>Reflect.apply(x.t,x,[...R]),x=>x,x=>se(x))}function Oe(...R){const[x,ne,de]=R;if(de&&!$e(de))throw yn(en.INVALID_ARGUMENT);return Qe(x,ne,st({resolvedMessage:!0},de||{}))}function Ke(...R){return ce(x=>Reflect.apply(bp,null,[x,...R]),()=>mc(...R),"datetime format",x=>Reflect.apply(x.d,x,[...R]),()=>_p,x=>se(x)||Ze(x))}function at(...R){return ce(x=>Reflect.apply(Ep,null,[x,...R]),()=>gc(...R),"number format",x=>Reflect.apply(x.n,x,[...R]),()=>_p,x=>se(x)||Ze(x))}function vt(R){return R.map(x=>se(x)||dt(x)||Xe(x)?Tp(String(x)):x)}const lt={normalize:vt,interpolate:R=>R,type:"vnode"};function H(...R){return ce(x=>{let ne;const de=x;try{de.processor=lt,ne=Reflect.apply(Sp,null,[de,...R])}finally{de.processor=null}return ne},()=>_c(...R),"translate",x=>x[vc](...R),x=>[Tp(x)],x=>Ze(x))}function re(...R){return ce(x=>Reflect.apply(Ep,null,[x,...R]),()=>gc(...R),"number format",x=>x[Dc](...R),kp,x=>se(x)||Ze(x))}function te(...R){return ce(x=>Reflect.apply(bp,null,[x,...R]),()=>mc(...R),"datetime format",x=>x[yc](...R),kp,x=>se(x)||Ze(x))}function le(R){A=R,E.pluralRules=A}function ve(R,x){return ce(()=>{if(!R)return!1;const ne=se(x)?x:a.value,de=T(ne),Ae=E.messageResolver(de,R);return On(Ae)||Qn(Ae)||se(Ae)},()=>[R],"translate exists",ne=>Reflect.apply(ne.te,ne,[R,x]),SL,ne=>Xe(ne))}function je(R){let x=null;const ne=zy(E,l.value,a.value);for(let de=0;de<ne.length;de++){const Ae=c.value[ne[de]]||{},Se=E.messageResolver(Ae,R);if(Se!=null){x=Se;break}}return x}function C(R){const x=je(R);return x??(t?t.tm(R)||{}:{})}function T(R){return c.value[R]||{}}function $(R,x){if(o){const ne={[R]:x};for(const de in ne)ln(ne,de)&&zs(ne[de]);x=ne[R]}c.value[R]=x,E.messages=c.value}function q(R,x){c.value[R]=c.value[R]||{};const ne={[R]:x};if(o)for(const de in ne)ln(ne,de)&&zs(ne[de]);x=ne[R],$o(x,c.value[R]),E.messages=c.value}function j(R){return u.value[R]||{}}function w(R,x){u.value[R]=x,E.datetimeFormats=u.value,wp(E,R,x)}function F(R,x){u.value[R]=st(u.value[R]||{},x),E.datetimeFormats=u.value,wp(E,R,x)}function P(R){return f.value[R]||{}}function I(R,x){f.value[R]=x,E.numberFormats=f.value,Cp(E,R,x)}function B(R,x){f.value[R]=st(f.value[R]||{},x),E.numberFormats=f.value,Cp(E,R,x)}Rp++,t&&va&&(De(t.locale,R=>{i&&(a.value=R,E.locale=R,ps(E,a.value,l.value))}),De(t.fallbackLocale,R=>{i&&(l.value=R,E.fallbackLocale=R,ps(E,a.value,l.value))}));const X={id:Rp,locale:k,fallbackLocale:M,get inheritLocale(){return i},set inheritLocale(R){i=R,R&&t&&(a.value=t.locale.value,l.value=t.fallbackLocale.value,ps(E,a.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:L,get modifiers(){return b},get pluralRules(){return A||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(R){d=R,E.missingWarn=d},get fallbackWarn(){return h},set fallbackWarn(R){h=R,E.fallbackWarn=h},get fallbackRoot(){return p},set fallbackRoot(R){p=R},get fallbackFormat(){return g},set fallbackFormat(R){g=R,E.fallbackFormat=g},get warnHtmlMessage(){return _},set warnHtmlMessage(R){_=R,E.warnHtmlMessage=R},get escapeParameter(){return D},set escapeParameter(R){D=R,E.escapeParameter=R},t:Qe,getLocaleMessage:T,setLocaleMessage:$,mergeLocaleMessage:q,getPostTranslationHandler:Z,setPostTranslationHandler:W,getMissingHandler:ee,setMissingHandler:Y,[EL]:le};return X.datetimeFormats=G,X.numberFormats=U,X.rt=Oe,X.te=ve,X.tm=C,X.d=Ke,X.n=at,X.getDateTimeFormat=j,X.setDateTimeFormat=w,X.mergeDateTimeFormat=F,X.getNumberFormat=P,X.setNumberFormat=I,X.mergeNumberFormat=B,X[CL]=n,X[vc]=H,X[yc]=te,X[Dc]=re,X}const Hf={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function TL({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===Ce?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},Be())}function nD(){return Ce}const kL=ge({name:"i18n-t",props:st({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>dt(e)||!isNaN(e)}},Hf),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||pl({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(f=>f[0]!=="_"),i=Be();e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=se(e.plural)?+e.plural:e.plural);const a=TL(t,s),l=o[vc](e.keypath,a,i),c=st(Be(),r),u=se(e.tag)||$e(e.tag)?e.tag:nD();return we(u,c,l)}}}),Op=kL;function RL(e){return Ze(e)&&!se(e[0])}function rD(e,t,n,r){const{slots:o,attrs:s}=t;return()=>{const i={part:!0};let a=Be();e.locale&&(i.locale=e.locale),se(e.format)?i.key=e.format:$e(e.format)&&(se(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((d,h)=>n.includes(h)?st(Be(),d,{[h]:e.format[h]}):d,Be()));const l=r(e.value,i,a);let c=[i.key];Ze(l)?c=l.map((d,h)=>{const p=o[d.type],g=p?p({[d.type]:d.value,index:h,parts:l}):[d.value];return RL(g)&&(g[0].key=`${d.type}-${h}`),g}):se(l)&&(c=[l]);const u=st(Be(),s),f=se(e.tag)||$e(e.tag)?e.tag:nD();return we(f,u,c)}}const PL=ge({name:"i18n-n",props:st({value:{type:Number,required:!0},format:{type:[String,Object]}},Hf),setup(e,t){const n=e.i18n||pl({useScope:e.scope,__useComponent:!0});return rD(e,t,Jy,(...r)=>n[Dc](...r))}}),Lp=PL;function OL(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function LL(e){const t=i=>{const{instance:a,value:l}=i;if(!a||!a.$)throw yn(en.UNEXPECTED_ERROR);const c=OL(e,a.$),u=$p(l);return[Reflect.apply(c.t,c,[...xp(u)]),c]};return{created:(i,a)=>{const[l,c]=t(a);va&&e.global===c&&(i.__i18nWatcher=De(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=c,i.textContent=l},unmounted:i=>{va&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:a})=>{if(i.__composer){const l=i.__composer,c=$p(a);i.textContent=Reflect.apply(l.t,l,[...xp(c)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function $p(e){if(se(e))return{path:e};if(ke(e)){if(!("path"in e))throw yn(en.REQUIRED_VALUE,"path");return e}else throw yn(en.INVALID_VALUE)}function xp(e){const{path:t,locale:n,args:r,choice:o,plural:s}=e,i={},a=r||{};
12return se(n)&&(i.locale=n),dt(o)&&(i.plural=o),dt(s)&&(i.plural=s),[t,a,i]}function $L(e,t,...n){const r=ke(n[0])?n[0]:{};(!Xe(r.globalInstall)||r.globalInstall)&&([Op.name,"I18nT"].forEach(s=>e.component(s,Op)),[Lp.name,"I18nN"].forEach(s=>e.component(s,Lp)),[Np.name,"I18nD"].forEach(s=>e.component(s,Np))),e.directive("t",LL(t))}const xL=Rr("global-vue-i18n");function IL(e={}){const t=Xe(e.globalInjection)?e.globalInjection:!0,n=new Map,[r,o]=NL(e),s=Rr("");function i(u){return n.get(u)||null}function a(u,f){n.set(u,f)}function l(u){n.delete(u)}const c={get mode(){return"composition"},async install(u,...f){if(u.__VUE_I18N_SYMBOL__=s,u.provide(u.__VUE_I18N_SYMBOL__,c),ke(f[0])){const p=f[0];c.__composerExtend=p.__composerExtend,c.__vueI18nExtend=p.__vueI18nExtend}let d=null;t&&(d=zL(u,c.global)),$L(u,c,...f);const h=u.unmount;u.unmount=()=>{d&&d(),c.dispose(),h()}},get global(){return o},dispose(){r.stop()},__instances:n,__getInstance:i,__setInstance:a,__deleteInstance:l};return c}function pl(e={}){const t=_t();if(t==null)throw yn(en.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw yn(en.NOT_INSTALLED);const n=ML(t),r=jL(n),o=FL(t),s=BL(e,o);if(s==="global")return AL(r,e,o),r;if(s==="parent"){let l=HL(n,t,e.__useComponent);return l==null&&(l=r),l}const i=n;let a=i.__getInstance(t);if(a==null){const l=st({},e);"__i18n"in o&&(l.__i18n=o.__i18n),r&&(l.__root=r),a=tD(l),i.__composerExtend&&(a[bc]=i.__composerExtend(a)),WL(i,t,a),i.__setInstance(t,a)}return a}function NL(e,t){const n=Xo(),r=n.run(()=>tD(e));if(r==null)throw yn(en.UNEXPECTED_ERROR);return[n,r]}function ML(e){const t=et(e.isCE?xL:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw yn(e.isCE?en.NOT_INSTALLED_WITH_PROVIDE:en.UNEXPECTED_ERROR);return t}function BL(e,t){return al(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function jL(e){return e.mode==="composition"?e.global:e.global.__composer}function HL(e,t,n=!1){let r=null;const o=t.root;let s=UL(t,n);for(;s!=null;){const i=e;if(e.mode==="composition"&&(r=i.__getInstance(s)),r!=null||o===s)break;s=s.parent}return r}function UL(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function WL(e,t,n){Qt(()=>{},t),Zo(()=>{const r=n;e.__deleteInstance(t);const o=r[bc];o&&(o(),delete r[bc])},t)}const VL=["locale","fallbackLocale","availableLocales"],Ip=["t","rt","d","n","tm","te"];function zL(e,t){const n=Object.create(null);return VL.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s)throw yn(en.UNEXPECTED_ERROR);const i=Pe(s.value)?{get(){return s.value.value},set(a){s.value.value=a}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,o,i)}),e.config.globalProperties.$i18n=n,Ip.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s||!s.value)throw yn(en.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,Ip.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}const qL=ge({name:"i18n-d",props:st({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Hf),setup(e,t){const n=e.i18n||pl({useScope:e.scope,__useComponent:!0});return rD(e,t,Xy,(...r)=>n[yc](...r))}}),Np=qL;rL(UO);oL(eL);sL(zy);function Mp(e=fe()){const t=fl(e);return n=>{if(n!=null)return t.getRouteBaseName(n)||void 0}}function KL(e=fe()){const t=fl(e);return(n,r)=>Fy(t,n,r)}function GL(e=fe()){const t=fl(e);return(n,r)=>Ay(t,n,r)}function oD(e=fe()){const t=fl(e);return n=>Ty(t,n)}const Bp="nuxt-i18n-slp",YL=new RegExp([`<!--${Bp}-\\[(\\w+)\\]-->`,".+?",`<!--/${Bp}-->`].join(""),"g"),XL=We({name:"i18n:plugin:switch-locale-path-ssr",dependsOn:["i18n:plugin"],setup(e){const t=fe(e._id),n=oD(t);t.hook("app:rendered",r=>{r.renderResult?.html!=null&&(r.renderResult.html=r.renderResult.html.replaceAll(YL,(o,s)=>{const i=encodeURI(n(s??""));return o.replace(/href="([^"]+)"/,`href="${i||"#"}" `)}))})}}),JL=We({name:"i18n:plugin:route-locale-detect",dependsOn:["i18n:plugin"],async setup(e){let t,n;const r=fe(e._id),o=xf(r),s=$y();[t,n]=Jt(()=>r.runWithContext(()=>xy(r,o.initial&&s.value||aO(r,r.$router.currentRoute.value)))),await t,n()}}),QL=We({name:"i18n:plugin:preload",dependsOn:["i18n:plugin"],async setup(e){}});function ZL(e,{extendComposer:t,extendComposerInstance:n}){const r=Xo(),o=e.install.bind(e);e.install=(s,...i)=>{const a=st({},i[0]);a.__composerExtend=c=>(n(c,Ai(e)),()=>{}),e.mode==="legacy"&&(a.__vueI18nExtend=c=>(n(c,Ai(c)),()=>{})),Reflect.apply(o,e,[s,a]);const l=Ai(e);if(r.run(()=>{t(l),e.mode==="legacy"&&"__composer"in e.global&&n(e.global,Ai(e.global))}),e.mode==="composition"&&s.config.globalProperties.$i18n!=null&&n(s.config.globalProperties.$i18n,l),s.unmount){const c=s.unmount.bind(s);s.unmount=()=>{r.stop(),c()}}}}const e$=async e=>{const t=await LP(RP);t.locale=e||t.locale||"en-US",t.defaultLocale=e,t.fallbackLocale??=!1,t.messages??={};for(const n of Ws)t.messages[n]??={};return t},t$=We({name:"i18n:plugin",parallel:!1,async setup(e){let t,n;Object.defineProperty(e.versions,"nuxtI18n",{get:()=>"10.2.1"});const r=fe(e._id),o=ul(r),s=r.ssrContext?.event?.context?.nuxtI18n?.vueI18nOptions,i=qP(yy().host)||o.defaultLocale||"",a=s||([t,n]=Jt(()=>e$(i)),t=await t,n(),t),l=Ly();l.value??=WP(a.fallbackLocale),Ws.map(d=>`/_i18n/_s8pqoEn/${d}/messages.json`);
12const c=IL(a),u=If(void 0,cl(r),r),f=GP(r,c,a.defaultLocale);r._nuxtI18n=f,ZL(c,{extendComposer(d){d.locales=K(()=>o.locales),d.localeCodes=K(()=>Ws);const h=Q(f.getBaseUrl());d.baseUrl=K(()=>h.value),De(d.locale,()=>h.value=f.getBaseUrl()),d.strategy="no_prefix",d.localeProperties=K(()=>ai.find(p=>p.code===d.locale.value)||{code:d.locale.value}),d.setLocale=async p=>{await xy(r,p),await r.runWithContext(()=>(r.$router.currentRoute.value,void 0))},d.loadLocaleMessages=f.loadMessages,d.differentDomains=!1,d.defaultLocale=a.defaultLocale,d.getBrowserLocale=()=>up(u.navigator()),d.getLocaleCookie=()=>up(u.cookie()),d.setLocaleCookie=f.setCookieLocale,d.finalizePendingLocaleChange=async()=>{c.__pendingLocale&&await c.__resolvePendingLocalePromise?.()},d.waitForPendingLocaleChange=async()=>{await c?.__pendingLocalePromise}},extendComposerInstance(d,h){const p=[["locales",()=>h.locales],["localeCodes",()=>h.localeCodes],["baseUrl",()=>h.baseUrl],["strategy",()=>"no_prefix"],["localeProperties",()=>h.localeProperties],["setLocale",()=>g=>Reflect.apply(h.setLocale,h,[g])],["loadLocaleMessages",()=>g=>Reflect.apply(h.loadLocaleMessages,h,[g])],["differentDomains",()=>!1],["defaultLocale",()=>h.defaultLocale],["getBrowserLocale",()=>()=>Reflect.apply(h.getBrowserLocale,h,[])],["getLocaleCookie",()=>()=>Reflect.apply(h.getLocaleCookie,h,[])],["setLocaleCookie",()=>g=>Reflect.apply(h.setLocaleCookie,h,[g])],["finalizePendingLocaleChange",()=>()=>Reflect.apply(h.finalizePendingLocaleChange,h,[])],["waitForPendingLocaleChange",()=>()=>Reflect.apply(h.waitForPendingLocaleChange,h,[])]];for(const[g,v]of p)Object.defineProperty(d,g,{get:v})}}),r.vueApp.use(c),Object.defineProperty(r,"$i18n",{get:()=>$f(c)}),r.provide("localeHead",d=>wP(r._nuxtI18n.composableCtx,d)),r.provide("localePath",KL(r)),r.provide("localeRoute",GL(r)),r.provide("routeBaseName",Mp(r)),r.provide("getRouteBaseName",Mp(r)),r.provide("switchLocalePath",oD(r))}}),n$=We(()=>{}),r$=We(()=>({provide:{scrollToTop:()=>{window.scrollTo({top:0,left:0,behavior:"smooth"})}}})),ml=()=>il("color-mode").value,o$=We(()=>{const e=ml();uf({meta:[{id:"theme-color",name:"theme-color",content:()=>e.value==="dark"?Fh.themeDark:Fh.themeLight}]})}),s$=["top","right","bottom","left"],jp=["start","end"],Hp=s$.reduce((e,t)=>e.concat(t,t+"-"+jp[0],t+"-"+jp[1]),[]),qs=Math.min,Wr=Math.max,i$={left:"right",right:"left",bottom:"top",top:"bottom"},a$={start:"end",end:"start"};function wc(e,t,n){return Wr(e,qs(t,n))}function po(e,t){return typeof e=="function"?e(t):e}function In(e){return e.split("-")[0]}function dn(e){return e.split("-")[1]}function sD(e){return e==="x"?"y":"x"}function Uf(e){return e==="y"?"height":"width"}const l$=new Set(["top","bottom"]);function Yn(e){return l$.has(In(e))?"y":"x"}function Wf(e){return sD(Yn(e))}function iD(e,t,n){n===void 0&&(n=!1);const r=dn(e),o=Wf(e),s=Uf(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=Ea(i)),[i,Ea(i)]}function u$(e){const t=Ea(e);return[wa(e),t,wa(t)]}function wa(e){return e.replace(/start|end/g,t=>a$[t])}const Up=["left","right"],Wp=["right","left"],c$=["top","bottom"],f$=["bottom","top"];function d$(e,t,n){switch(e){case"top":case"bottom":return n?t?Wp:Up:t?Up:Wp;case"left":case"right":return t?c$:f$;default:return[]}}function h$(e,t,n,r){const o=dn(e);let s=d$(In(e),n==="start",r);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(wa)))),s}function Ea(e){return e.replace(/left|right|bottom|top/g,t=>i$[t])}function p$(e){return{top:0,right:0,bottom:0,left:0,...e}}function aD(e){return typeof e!="number"?p$(e):{top:e,right:e,bottom:e,left:e}}function Rs(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Vp(e,t,n){let{reference:r,floating:o}=e;const s=Yn(t),i=Wf(t),a=Uf(i),l=In(t),c=s==="y",u=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,d=r[a]/2-o[a]/2;let h;switch(l){case"top":h={x:u,y:r.y-o.height};break;case"bottom":h={x:u,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-o.width,y:f};break;default:h={x:r.x,y:r.y}}switch(dn(t)){case"start":h[i]-=d*(n&&c?-1:1);break;case"end":h[i]+=d*(n&&c?-1:1);break}return h}const m$=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:i}
12=n,a=s.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:f}=Vp(c,r,l),d=r,h={},p=0;for(let g=0;g<a.length;g++){const{name:v,fn:m}=a[g],{x:y,y:_,data:D,reset:b}=await m({x:u,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:h,rects:c,platform:i,elements:{reference:e,floating:t}});u=y??u,f=_??f,h={...h,[v]:{...h[v],...D}},b&&p<=50&&(p++,typeof b=="object"&&(b.placement&&(d=b.placement),b.rects&&(c=b.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):b.rects),{x:u,y:f}=Vp(c,d,l)),g=-1)}return{x:u,y:f,placement:d,strategy:o,middlewareData:h}};async function gl(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:s,rects:i,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=po(t,e),p=aD(h),v=a[d?f==="floating"?"reference":"floating":f],m=Rs(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(v)))==null||n?v:v.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),y=f==="floating"?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,_=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),D=await(s.isElement==null?void 0:s.isElement(_))?await(s.getScale==null?void 0:s.getScale(_))||{x:1,y:1}:{x:1,y:1},b=Rs(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:_,strategy:l}):y);return{top:(m.top-b.top+p.top)/D.y,bottom:(b.bottom-m.bottom+p.bottom)/D.y,left:(m.left-b.left+p.left)/D.x,right:(b.right-m.right+p.right)/D.x}}const g$=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:i,elements:a,middlewareData:l}=t,{element:c,padding:u=0}=po(e,t)||{};if(c==null)return{};const f=aD(u),d={x:n,y:r},h=Wf(o),p=Uf(h),g=await i.getDimensions(c),v=h==="y",m=v?"top":"left",y=v?"bottom":"right",_=v?"clientHeight":"clientWidth",D=s.reference[p]+s.reference[h]-d[h]-s.floating[p],b=d[h]-s.reference[h],A=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c));let E=A?A[_]:0;(!E||!await(i.isElement==null?void 0:i.isElement(A)))&&(E=a.floating[_]||s.floating[p]);const O=D/2-b/2,S=E/2-g[p]/2-1,k=qs(f[m],S),M=qs(f[y],S),L=k,G=E-g[p]-M,U=E/2-g[p]/2+O,Z=wc(L,U,G),W=!l.arrow&&dn(o)!=null&&U!==Z&&s.reference[p]/2-(U<L?k:M)-g[p]/2<0,ee=W?U<L?U-L:U-G:0;return{[h]:d[h]+ee,data:{[h]:Z,centerOffset:U-Z-ee,...W&&{alignmentOffset:ee}},reset:W}}});function _$(e,t,n){return(e?[...n.filter(o=>dn(o)===e),...n.filter(o=>dn(o)!==e)]:n.filter(o=>In(o)===o)).filter(o=>e?dn(o)===e||(t?wa(o)!==o:!1):!0)}const v$=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,o;const{rects:s,middlewareData:i,placement:a,platform:l,elements:c}=t,{crossAxis:u=!1,alignment:f,allowedPlacements:d=Hp,autoAlignment:h=!0,...p}=po(e,t),g=f!==void 0||d===Hp?_$(f||null,h,d):d,v=await gl(t,p),m=((n=i.autoPlacement)==null?void 0:n.index)||0,y=g[m];if(y==null)return{};const _=iD(y,s,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==y)return{reset:{placement:g[0]}};const D=[v[In(y)],v[_[0]],v[_[1]]],b=[...((r=i.autoPlacement)==null?void 0:r.overflows)||[],{placement:y,overflows:D}],A=g[m+1];if(A)return{data:{index:m+1,overflows:b},reset:{placement:A}};const E=b.map(k=>{const M=dn(k.placement);return[k.placement,M&&u?k.overflows.slice(0,2).reduce((L,G)=>L+G,0):k.overflows[0],k.overflows]}).sort((k,M)=>k[1]-M[1]),S=((o=E.filter(k=>k[2].slice(0,dn(k[0])?2:3).every(M=>M<=0))[0])==null?void 0:o[0])||E[0][0];return S!==a?{data:{index:m+1,overflows:b},reset:{placement:S}}:{}}}},y$=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:s,rects:i,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:g=!0,...v}=po(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const m=In(o),y=Yn(a),_=In(a)===a,D=await(l.isRTL==null?void 0:l.isRTL(c.floating)),b=d||(_||!g?[Ea(a)]:u$(a)),A=p!=="none";
vendor: 2,735 bytes, line 12
12!d&&A&&b.push(...h$(a,g,p,D));const E=[a,...b],O=await gl(t,v),S=[];let k=((r=s.flip)==null?void 0:r.overflows)||[];if(u&&S.push(O[m]),f){const U=iD(o,i,D);S.push(O[U[0]],O[U[1]])}if(k=[...k,{placement:o,overflows:S}],!S.every(U=>U<=0)){var M,L;const U=(((M=s.flip)==null?void 0:M.index)||0)+1,Z=E[U];if(Z&&(!(f==="alignment"?y!==Yn(Z):!1)||k.every(Y=>Yn(Y.placement)===y?Y.overflows[0]>0:!0)))return{data:{index:U,overflows:k},reset:{placement:Z}};let W=(L=k.filter(ee=>ee.overflows[0]<=0).sort((ee,Y)=>ee.overflows[1]-Y.overflows[1])[0])==null?void 0:L.placement;if(!W)switch(h){case"bestFit":{var G;const ee=(G=k.filter(Y=>{if(A){const ce=Yn(Y.placement);return ce===y||ce==="y"}return!0}).map(Y=>[Y.placement,Y.overflows.filter(ce=>ce>0).reduce((ce,Qe)=>ce+Qe,0)]).sort((Y,ce)=>Y[1]-ce[1])[0])==null?void 0:G[0];ee&&(W=ee);break}case"initialPlacement":W=a;break}if(o!==W)return{reset:{placement:W}}}return{}}}},D$=new Set(["left","top"]);async function b$(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=In(n),a=dn(n),l=Yn(n)==="y",c=D$.has(i)?-1:1,u=s&&l?-1:1,f=po(t,e);let{mainAxis:d,crossAxis:h,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof p=="number"&&(h=a==="end"?p*-1:p),l?{x:h*u,y:d*c}:{x:d*c,y:h*u}}const w$=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:s,placement:i,middlewareData:a}=t,l=await b$(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:s+l.y,data:{...l,placement:i}}}}},E$=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:a={fn:v=>{let{x:m,y}=v;return{x:m,y}}},...l}=po(e,t),c={x:n,y:r},u=await gl(t,l),f=Yn(In(o)),d=sD(f);let h=c[d],p=c[f];if(s){const v=d==="y"?"top":"left",m=d==="y"?"bottom":"right",y=h+u[v],_=h-u[m];h=wc(y,h,_)}if(i){const v=f==="y"?"top":"left",m=f==="y"?"bottom":"right",y=p+u[v],_=p-u[m];p=wc(y,p,_)}const g=a.fn({...t,[d]:h,[f]:p});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[d]:s,[f]:i}}}}}},C$=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:s,platform:i,elements:a}=t,{apply:l=()=>{},...c}=po(e,t),u=await gl(t,c),f=In(o),d=dn(o),h=Yn(o)==="y",{width:p,height:g}=s.floating;let v,m;f==="top"||f==="bottom"?(v=f,m=d===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(m=f,v=d==="end"?"top":"bottom");const y=g-u.top-u.bottom,_=p-u.left-u.right,D=qs(g-u[v],y),b=qs(p-u[m],_),A=!t.middlewareData.shift;let E=D,O=b;
12if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(O=_),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(E=y),A&&!d){const k=Wr(u.left,0),M=Wr(u.right,0),L=Wr(u.top,0),G=Wr(u.bottom,0);h?O=p-2*(k!==0||M!==0?k+M:Wr(u.left,u.right)):E=g-2*(L!==0||G!==0?L+G:Wr(u.top,u.bottom))}await l({...t,availableWidth:O,availableHeight:E});const S=await i.getDimensions(a.floating);return p!==S.width||g!==S.height?{reset:{rects:!0}}:{}}}};function Yt(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ln(e){return Yt(e).getComputedStyle(e)}const zp=Math.min,Ps=Math.max,Ca=Math.round;function lD(e){const t=Ln(e);let n=parseFloat(t.width),r=parseFloat(t.height);const o=e.offsetWidth,s=e.offsetHeight,i=Ca(n)!==o||Ca(r)!==s;return i&&(n=o,r=s),{width:n,height:r,fallback:i}}function Tr(e){return cD(e)?(e.nodeName||"").toLowerCase():""}let ki;function uD(){if(ki)return ki;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(ki=e.brands.map((t=>t.brand+"/"+t.version)).join(" "),ki):navigator.userAgent}function $n(e){return e instanceof Yt(e).HTMLElement}function wr(e){return e instanceof Yt(e).Element}function cD(e){return e instanceof Yt(e).Node}function qp(e){return typeof ShadowRoot>"u"?!1:e instanceof Yt(e).ShadowRoot||e instanceof ShadowRoot}function _l(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Ln(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function F$(e){return["table","td","th"].includes(Tr(e))}function Ec(e){const t=/firefox/i.test(uD()),n=Ln(e),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!r&&r!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some((o=>n.willChange.includes(o)))||["paint","layout","strict","content"].some((o=>{const s=n.contain;return s!=null&&s.includes(o)}))}function fD(){return!/^((?!chrome|android).)*safari/i.test(uD())}function Vf(e){return["html","body","#document"].includes(Tr(e))}function dD(e){return wr(e)?e:e.contextElement}const hD={x:1,y:1};function Io(e){const t=dD(e);if(!$n(t))return hD;const n=t.getBoundingClientRect(),{width:r,height:o,fallback:s}=lD(t);let i=(s?Ca(n.width):n.width)/r,a=(s?Ca(n.height):n.height)/o;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}function Ks(e,t,n,r){var o,s;t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=dD(e);let l=hD;t&&(r?wr(r)&&(l=Io(r)):l=Io(e));const c=a?Yt(a):window,u=!fD()&&n;let f=(i.left+(u&&((o=c.visualViewport)==null?void 0:o.offsetLeft)||0))/l.x,d=(i.top+(u&&((s=c.visualViewport)==null?void 0:s.offsetTop)||0))/l.y,h=i.width/l.x,p=i.height/l.y;if(a){const g=Yt(a),v=r&&wr(r)?Yt(r):r;let m=g.frameElement;for(;m&&r&&v!==g;){const y=Io(m),_=m.getBoundingClientRect(),D=getComputedStyle(m);_.x+=(m.clientLeft+parseFloat(D.paddingLeft))*y.x,_.y+=(m.clientTop+parseFloat(D.paddingTop))*y.y,f*=y.x,d*=y.y,h*=y.x,p*=y.y,f+=_.x,d+=_.y,m=Yt(m).frameElement}}return{width:h,height:p,top:d,right:f+h,bottom:d+p,left:f,x:f,y:d}}function Er(e){return((cD(e)?e.ownerDocument:e.document)||window.document).documentElement}function vl(e){return wr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function pD(e){return Ks(Er(e)).left+vl(e).scrollLeft}function Gs(e){if(Tr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||qp(e)&&e.host||Er(e);return qp(t)?t.host:t}function mD(e){const t=Gs(e);return Vf(t)?t.ownerDocument.body:$n(t)&&_l(t)?t:mD(t)}function Fa(e,t){var n;t===void 0&&(t=[]);const r=mD(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),s=Yt(r);return o?t.concat(s,s.visualViewport||[],_l(r)?r:[]):t.concat(r,Fa(r))}function Kp(e,t,n){return t==="viewport"?Rs((function(r,o){const s=Yt(r),i=Er(r),a=s.visualViewport;let l=i.clientWidth,c=i.clientHeight,u=0,f=0;if(a){l=a.width,c=a.height;const d=fD();(d||!d&&o==="fixed")&&(u=a.offsetLeft,f=a.offsetTop)}return{width:l,height:c,x:u,y:f}})(e,n)):wr(t)?Rs((function(r,o){const s=Ks(r,!0,o==="fixed"),i=s.top+r.clientTop,a=s.left+r.clientLeft,l=$n(r)?Io(r):{x:1,y:1};return{width:r.clientWidth*l.x,height:r.clientHeight*l.y,x:a*l.x,y:i*l.y}})(t,n)):Rs((function(r){const o=Er(r),s=vl(r),i=r.ownerDocument.body,a=Ps(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),l=Ps(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let c=-s.scrollLeft+pD(r);const u=-s.scrollTop;return Ln(i).direction==="rtl"&&(c+=Ps(o.clientWidth,i.clientWidth)-a),{width:a,height:l,x:c,y:u}})(Er(e)))}function Gp(e){return $n(e)&&Ln(e).position!=="fixed"?e.offsetParent:null}function Yp(e){const t=Yt(e);let n=Gp(e);for(;n&&F$(n)&&Ln(n).position==="static";)n=Gp(n);return n&&(Tr(n)==="html"||Tr(n)==="body"&&Ln(n).position==="static"&&!Ec(n))?t:n||(function(r){let o=Gs(r);for(;
12$n(o)&&!Vf(o);){if(Ec(o))return o;o=Gs(o)}return null})(e)||t}function A$(e,t,n){const r=$n(t),o=Er(t),s=Ks(e,!0,n==="fixed",t);let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((Tr(t)!=="body"||_l(o))&&(i=vl(t)),$n(t)){const l=Ks(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else o&&(a.x=pD(o));return{x:s.left+i.scrollLeft-a.x,y:s.top+i.scrollTop-a.y,width:s.width,height:s.height}}const S$={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=n==="clippingAncestors"?(function(c,u){const f=u.get(c);if(f)return f;let d=Fa(c).filter((v=>wr(v)&&Tr(v)!=="body")),h=null;const p=Ln(c).position==="fixed";let g=p?Gs(c):c;for(;wr(g)&&!Vf(g);){const v=Ln(g),m=Ec(g);(p?m||h:m||v.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=v:d=d.filter((y=>y!==g)),g=Gs(g)}return u.set(c,d),d})(t,this._c):[].concat(n),i=[...s,r],a=i[0],l=i.reduce(((c,u)=>{const f=Kp(t,u,o);return c.top=Ps(f.top,c.top),c.right=zp(f.right,c.right),c.bottom=zp(f.bottom,c.bottom),c.left=Ps(f.left,c.left),c}),Kp(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=$n(n),s=Er(n);if(n===s)return t;let i={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((o||!o&&r!=="fixed")&&((Tr(n)!=="body"||_l(s))&&(i=vl(n)),$n(n))){const c=Ks(n);a=Io(n),l.x=c.x+n.clientLeft,l.y=c.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-i.scrollLeft*a.x+l.x,y:t.y*a.y-i.scrollTop*a.y+l.y}},isElement:wr,getDimensions:function(e){return $n(e)?lD(e):e.getBoundingClientRect()},getOffsetParent:Yp,getDocumentElement:Er,getScale:Io,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||Yp,s=this.getDimensions;return{reference:A$(t,await o(n),r),floating:{x:0,y:0,...await s(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Ln(e).direction==="rtl"},T$=(e,t,n)=>{const r=new Map,o={platform:S$,...n},s={...o.platform,_c:r};return m$(e,t,{...o,platform:s})};function gD(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?gD(e[n],t[n]):e[n]=t[n])}const hn={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function Ys(e,t){let n=hn.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=hn.themes[n.$extend]||{}:(n=null,r=hn[t]):n=null;while(n);return r}function k$(e){const t=[e];let n=hn.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=hn.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function Xp(e){const t=[e];let n=hn.themes[e]||{};do n.$extend?(t.push(n.$extend),n=hn.themes[n.$extend]||{}):n=null;while(n);return t}let Ko=!1;if(typeof window<"u"){Ko=!1;try{const e=Object.defineProperty({},"passive",{get(){Ko=!0}});window.addEventListener("test",null,e)}catch{}}let _D=!1;typeof window<"u"&&typeof navigator<"u"&&(_D=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const vD=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Jp={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Qp={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Zp(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function uu(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const an=[];let jr=null;const em={};function tm(e){let t=em[e];return t||(t=em[e]=[]),t}let Cc=function(){};typeof window<"u"&&(Cc=window.Element);function Te(e){return function(t){return Ys(t.theme,e)}}const cu="__floating-vue__popper",yD=()=>ge({name:"VPopper",provide(){return{[cu]:{parentPopper:this}}},inject:{[cu]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:Te("disabled")},positioningDisabled:{type:Boolean,default:Te("positioningDisabled")},placement:{type:String,default:Te("placement"),validator:e=>vD.includes(e)},delay:{type:[String,Number,Object],default:Te("delay")},distance:{type:[Number,String],default:Te("distance")},skidding:{type:[Number,String],default:Te("skidding")},triggers:{type:Array,default:Te("triggers")},showTriggers:{type:[Array,Function],default:Te("showTriggers")},hideTriggers:{type:[Array,Function],default:Te("hideTriggers")},popperTriggers:{type:Array,default:Te("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:Te("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:Te("popperHideTriggers")},container:{type:[String,Object,Cc,Boolean],default:Te("container")},boundary:{type:[String,Cc],default:Te("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:Te("strategy")},autoHide:{type:[Boolean,Function],default:Te("autoHide")},handleResize:{type:Boolean,default:Te("handleResize")},instantMove:{type:Boolean,default:Te("instantMove")},eagerMount:{type:Boolean,default:Te("eagerMount")},popperClass:{type:[String,Array,Object],default:Te("popperClass")},computeTransformOrigin:{type:Boolean,default:Te("computeTransformOrigin")},autoMinSize:{type:Boolean,default:Te("autoMinSize")},autoSize:{type:[Boolean,String],default:Te("autoSize")},autoMaxSize:{type:Boolean,default:Te("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:Te("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:Te("preventOverflow")},overflowPadding:{type:[Number,String],default:Te("overflowPadding")},arrowPadding:{type:[Number,String],default:Te("arrowPadding")},arrowOverflow:{type:Boolean,default:Te("arrowOverflow")},flip:{type:Boolean,default:Te("flip")},shift:{type:Boolean,default:Te("shift")},shiftCrossAxis:{type:Boolean,default:Te("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:Te("noAutoFocus")},disposeTimeout:{type:Number,default:Te("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}
12},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[cu])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize,this.autoMaxSize},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var r,o;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((o=this.parentPopper)==null?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(w$({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(v$({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(E$({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(y$({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(g$({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:o,middlewareData:s})=>{let i;const{centerOffset:a}=s.arrow;return r.startsWith("top")||r.startsWith("bottom")?i=Math.abs(a)>o.reference.width/2:i=Math.abs(a)>o.reference.height/2,{data:{overflow:i}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:o,placement:s,middlewareData:i})=>{var a;if((a=i.autoSize)!=null&&a.skip)return{};let l,c;return s.startsWith("top")||s.startsWith("bottom")?l=o.reference.width:c=o.reference.height,this.$_inner
12Node.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=c!=null?`${c}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(C$({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:o})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=o!=null?`${o}px`:null}})));const n=await T$(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),jr&&this.instantMove&&jr.instantMove&&jr!==this.parentPopper){jr.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(jr=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await uu(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Fa(this.$_referenceNode),...Fa(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),r=n.parentNode.getBoundingClientRect(),o=t.x+t.width/2-(r.left+n.offsetLeft),s=t.y+t.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${o}px ${s}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<an.length;n++)t=an[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}an.push(this),document.body.classList.add("v-popper--some-open");for(const t of Xp(this.theme))tm(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await uu(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,Zp(an,this),an.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Xp(this.theme)){const r=tm(n);Zp(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}jr===this&&(jr=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await uu(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,Jp,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Jp,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,Qp,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Qp,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(r=>r.addEventListener(t,n,Ko?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,r,o){let s=n;
12r!=null&&(s=typeof r=="function"?r(s):r),s.forEach(i=>{const a=t[i];a&&this.$_registerEventListeners(e,a,o)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:o,handler:s}=n;!e||e===o?r.forEach(i=>i.removeEventListener(o,s)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const r=n.getAttribute(e);r&&(n.removeAttribute(e),n.setAttribute(t,r))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const r=e[n];r==null?t.removeAttribute(n):t.setAttribute(n,r)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(Os>=e.left&&Os<=e.right&&Ls>=e.top&&Ls<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Os-dr,r=Ls-hr,o=t.left+t.width/2-dr+(t.top+t.height/2)-hr+t.width+t.height,s=dr+n*o,i=hr+r*o;return Ri(dr,hr,s,i,t.left,t.top,t.left,t.bottom)||Ri(dr,hr,s,i,t.left,t.top,t.right,t.top)||Ri(dr,hr,s,i,t.right,t.top,t.right,t.bottom)||Ri(dr,hr,s,i,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(_D){const e=Ko?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>nm(t,!0),e),document.addEventListener("touchend",t=>rm(t,!0),e)}else window.addEventListener("mousedown",e=>nm(e,!1),!0),window.addEventListener("click",e=>rm(e,!1),!0);window.addEventListener("resize",P$)}function nm(e,t){if(hn.autoHideOnMousedown)DD(e,t);else for(let n=0;n<an.length;n++){const r=an[n];try{r.mouseDownContains=r.popperNode().contains(e.target)}catch{}}}function rm(e,t){hn.autoHideOnMousedown||DD(e,t)}function DD(e,t){const n={};for(let r=an.length-1;r>=0;r--){const o=an[r];try{const s=o.containsGlobalTarget=o.mouseDownContains||o.popperNode().contains(e.target);o.pendingHide=!1,requestAnimationFrame(()=>{if(o.pendingHide=!1,!n[o.randomId]&&om(o,s,e)){if(o.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&s){let a=o.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let i=o.parentPopper;for(;i&&om(i,i.containsGlobalTarget,e);)i.$_handleGlobalClose(e,t),i=i.parentPopper}})}catch{}}}function om(e,t,n){return n.closeAllPopover||n.closePopover&&t||R$(e,n)&&!t}function R$(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function P$(){for(let e=0;e<an.length;e++)an[e].$_computePosition()}let dr=0,hr=0,Os=0,Ls=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{dr=Os,hr=Ls,Os=e.clientX,Ls=e.clientY},Ko?{passive:!0}:void 0);function Ri(e,t,n,r,o,s,i,a){const l=((i-o)*(t-s)-(a-s)*(e-o))/((a-s)*(n-e)-(i-o)*(r-t)),c=((n-e)*(t-s)-(r-t)*(e-o))/((a-s)*(n-e)-(i-o)*(r-t));return l>=0&&l<=1&&c>=0&&c<=1}const O$={extends:yD()},yl=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};function L$(e,t,n,r,o,s){return z(),oe("div",{ref:"reference",class:Je(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[Ye(e.$slots,"default",Tm(jg(e.slotData)))],2)}const $$=yl(O$,[["render",L$]]);function x$(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var o=e.indexOf("Edge/");return o>0?parseInt(e.substring(o+5,e.indexOf(".",o)),10):-1}let Vi;function Fc(){Fc.init||(Fc.init=!0,Vi=x$()!==-1)}var Dl={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Fc(),ot(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",Vi&&this.$el.appendChild(e),e.data="about:blank",Vi||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!Vi&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const I$=z0();W0("data-v-b329ee4c");const N$={class:"resize-observer",tabindex:"-1"};V0();const M$=I$((e,t,n,r,o,s)=>(z(),be("div",N$)));Dl.render=M$;Dl.__scopeId="data-v-b329ee4c";Dl.__file="src/components/ResizeObserver.vue";const bD=(e="theme")=>({computed:{themeClass(){return k$(this[e])}}}),B$=ge({name:"VPopperContent",components:{ResizeObserver:Dl},mixins:[bD()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}
12),j$=["id","aria-hidden","tabindex","data-popper-placement"],H$={ref:"inner",class:"v-popper__inner"},U$=J("div",{class:"v-popper__arrow-outer"},null,-1),W$=J("div",{class:"v-popper__arrow-inner"},null,-1),V$=[U$,W$];function z$(e,t,n,r,o,s){const i=Wt("ResizeObserver");return z(),oe("div",{id:e.popperId,ref:"popover",class:Je(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:yr(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=Gg(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[J("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),J("div",{class:"v-popper__wrapper",style:yr(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[J("div",H$,[e.mounted?(z(),oe(Ce,{key:0},[J("div",null,[Ye(e.$slots,"default")]),e.handleResize?(z(),be(i,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):Ve("",!0)],64)):Ve("",!0)],512),J("div",{ref:"arrow",class:"v-popper__arrow-container",style:yr(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},V$,4)],4)],46,j$)}const wD=yl(B$,[["render",z$]]),ED={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let Ac=function(){};typeof window<"u"&&(Ac=window.Element);const q$=ge({name:"VPopperWrapper",components:{Popper:$$,PopperContent:wD},mixins:[ED,bD("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,Ac,Boolean],default:void 0},boundary:{type:[String,Ac],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function K$(e,t,n,r,o,s){const i=Wt("PopperContent"),a=Wt("Popper");return z(),be(a,Ot({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=l=>e.$emit("update:shown",l)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:Fe(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,show:h,hide:p,handleResize:g,onResize:v,classes:m,result:y})=>[Ye(e.$slots,"default",{shown:c,show:h,hide:p}),he(i,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":g,classes:m,result:y,onHide:p,onResize:v},{default:Fe(()=>[Ye(e.$slots,"popper",{shown:c,hide:p})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const zf=yl(q$,[["render",K$]]),G$={...zf,name:"VDropdown",vPopperTheme:"dropdown"},Y$={...zf,name:"VMenu",vPopperTheme:"menu"},X$={...zf,name:"VTooltip",vPopperTheme:"tooltip"},J$=ge({name:"VTooltipDirective",components:{Popper:yD(),PopperContent:wD},mixins:[ED],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Ys(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Ys(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(r=>this.onResult(t,r)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),Q$=["innerHTML"],Z$=["textContent"];function ex(e,t,n,r,o,s){const i=Wt("PopperContent"),a=Wt("Popper");return z(),be(a,Ot({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:Fe(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,hide:h,handleResize:p,onResize:g,classes:v,result:m})=>[he(i,{ref:"popperContent",class:Je({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":p,classes:v,result:m,onHide:h,onResize:g},{default:Fe(()=>[e.html?(z(),oe("div",{key:0,innerHTML:e.finalContent},null,8,Q$)):(z(),oe("div",{key:1,textContent:ye(e.finalContent)},null,8,Z$))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const tx=yl(J$,[["render",ex]]),CD="v-popper--has-tooltip";function nx(e,t){let n=e.placement;if(!n&&t)for(const r of vD)t[r]&&(n=r);return n||(n=Ys(e.theme||"tooltip","placement")),n}
12function FD(e,t,n){let r;const o=typeof t;return o==="string"?r={content:t}:t&&o==="object"?r=t:r={content:!1},r.placement=nx(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let fu,Xs,rx=0;function ox(){if(fu)return;Xs=Q([]),fu=Jg({name:"VTooltipDirectiveApp",setup(){return{directives:Xs}},render(){return this.directives.map(t=>we(tx,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),fu.mount(e)}function sx(e,t,n){ox();const r=Q(FD(e,t,n)),o=Q(!1),s={id:rx++,options:r,shown:o};return Xs.value.push(s),e.classList&&e.classList.add(CD),e.$_popper={options:r,item:s,show(){o.value=!0},hide(){o.value=!1}}}function AD(e){if(e.$_popper){const t=Xs.value.indexOf(e.$_popper.item);t!==-1&&Xs.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(CD)}function sm(e,{value:t,modifiers:n}){const r=FD(e,t,n);if(!r.content||Ys(r.theme||"tooltip","disabled"))AD(e);else{let o;e.$_popper?(o=e.$_popper,o.options.value=r):o=sx(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?o.show():o.hide())}}const ix={beforeMount:sm,updated:sm,beforeUnmount(e){AD(e)}};function im(e){e.addEventListener("mousedown",Aa),e.addEventListener("click",Aa),e.addEventListener("touchstart",SD,Ko?{passive:!0}:!1)}function am(e){e.removeEventListener("mousedown",Aa),e.removeEventListener("click",Aa),e.removeEventListener("touchstart",SD),e.removeEventListener("touchend",TD),e.removeEventListener("touchcancel",kD)}function Aa(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function SD(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",TD),t.addEventListener("touchcancel",kD)}}function TD(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],r=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function kD(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const ax={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&im(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?im(e):am(e))},beforeUnmount(e){am(e)}};function lx(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,gD(hn,t),e.directive("tooltip",ix),e.directive("close-popper",ax),e.component("VTooltip",X$),e.component("VDropdown",G$),e.component("VMenu",Y$))}const ux={version:"5.2.2",install:lx,options:hn},cx=We(e=>{e.vueApp.use(ux)}),It=Q(!1);function i8(e){y1(It,()=>e(),{immediate:It.value})}function a8(){const e=Q(!1);return ti(()=>e.value=!1),Qo(()=>e.value=!0),e}function l8(e,t){const n=Q(!0);ti(()=>{n.value||e()},t),Qo(()=>n.value=!1)}function fx(e,t){if(e&&typeof e=="object"&&!("value"in e)){const n="title"in e?e.title:void 0;n&&(e.title=()=>It.value?typeof n=="function"?n():n:"")}return uf((()=>It.value?ae(e):{}),t)}const dx=We(e=>{e.hooks.hookOnce("app:suspense:resolve",()=>{It.value=!0})});function nn(e){const t=yv(),n=Q(!1),r=Q(0);let o=!1;return De(()=>t.current,()=>{t[e[r.value]].value&&!o?(o=!0,r.value+=1):r.value>0&&!t[e[r.value-1]].value&&o?o=!1:(r.value=0,o=!1,n.value=!1),r.value>=e.length&&!o&&(r.value=0,o=!1,n.value=!0)},{deep:!0}),K(()=>n.value)}const RD={xs:"13px",sm:"14px",md:"15px",lg:"16px",xl:"17px"};function hx(e,t){{const r=t.map(o=>e.find(s=>s===o||s==="ca-valencia"&&o==="ca-Es-VALENCIA"||o.startsWith("es-")&&o!=="es-ES"&&s==="es-419"||s.startsWith(o)?s:void 0)).filter(o=>!!o)?.[0];if(r)return r}const n=t.map(r=>(r=r.split("-")[0],e.find(o=>o.startsWith(r)))).filter(r=>!!r)[0];return n||null}function PD(e){return hx(e,navigator.languages)||"en-US"}const OD={hideAltIndicatorOnPosts:!1,hideGifIndicatorOnPosts:!1,hideBoostCount:!1,hideQuoteCount:!1,hideReplyCount:!1,hideFavoriteCount:!1,hideFollowerCount:!1,hideTranslation:!1,hideUsernameEmojis:!1,hideAccountHoverCard:!1,hideTagHoverCard:!1,hideNews:!1,hideRepliesInTimeline:!1,hideBoostsInTimeline:!1,disableTimelineAutoloading:!1,grayscaleMode:!1,enableAutoplay:!1,unmuteVideos:!1,optimizeForLowPerformanceDevice:!1,enableDataSaving:!1,enablePinchToZoom:!1,useStarFavoriteIcon:!1,zenMode:!1,experimentalVirtualScroller:!0,experimentalGitHubCards:!0,experimentalUserPicker:!0,experimentalEmbeddedMedia:!1};function px(e){return{language:PD(e),fontSize:iv,disabledTranslationLanguages:[],preferences:OD}}function ar(){const{locales:e}=fe().$i18n,t=N(e).map(r=>r.code),n=zo(e1,()=>px(t));return n.value.fontSize&&!n.value.fontSize.includes("px")&&(n.value.fontSize=RD[n.value.fontSize]),n}
12function qf(e){const t=ar();return K({get(){return kn(t.value,e)},set(n){t.value.preferences[e]=n}})}function kn(e,t){const n=e?.preferences?.[t]??OD[t];return t==="enableAutoplay"&&kn(e,"enableDataSaving")?!1:n}function mx(e){const t=qf(e);t.value=!t.value}function ct(...e){return K(()=>e.every(t=>ae(t)))}const gx=We(({$scrollToTop:e})=>{const t=yv(),n=He(),r=fe().$i18n,{y:o}=G1({behavior:"instant"}),s=qf("experimentalVirtualScroller"),i=gv(),a=K(()=>i.value?.tagName!=="INPUT"&&i.value?.tagName!=="TEXTAREA"&&!i.value?.isContentEditable),l=pe.value!==void 0,c=v=>{sk(),e(),n.push(v)};ut(ct(a,t["?"]),ok);const u=()=>{const v=t.current;!v.has("shift")&&!v.has("meta")&&!v.has("control")&&!v.has("alt")&&Tf("dialog",os())};ut(ct(l,a,t.c),u);const f=fn.value?si(fn.value):"m.webtoo.ls";ut(ct(a,nn(["g","h"])),()=>c("/home")),ut(ct(l,a,nn(["g","n"])),()=>c("/notifications")),ut(ct(l,a,nn(["g","c"])),()=>c("/conversations")),ut(ct(l,a,nn(["g","f"])),()=>c("/favourites")),ut(ct(l,a,nn(["g","b"])),()=>c("/bookmarks")),ut(ct(a,nn(["g","e"])),()=>c(`/${f}/explore`)),ut(ct(a,nn(["g","l"])),()=>c(`/${f}/public/local`)),ut(ct(a,nn(["g","t"])),()=>c(`/${f}/public`)),ut(ct(l,a,nn(["g","i"])),()=>c("/lists")),ut(ct(a,nn(["g","s"])),()=>c("/settings")),ut(ct(l,a,nn(["g","p"])),()=>c(`/${f}/@${pe.value?.account.username}`)),ut(ct(a,K(()=>t.current.size===1),t["/"]),()=>c("/search"));const d=()=>{document.querySelector("[aria-roledescription=status-details]")?.querySelector(`button[aria-label=${r.t("action.favourite")}]`)?.click()};ut(ct(l,a,t.f),d);const h=()=>{document.querySelector("[aria-roledescription=status-details]")?.querySelector(`button[aria-label=${r.t("action.boost")}]`)?.click()};ut(ct(l,a,t.b),h);const p=()=>{const v=document.querySelector("[aria-roledescription=status-details]")?.getAttribute("id")?.replace("status-","");v&&c(`/compose?quote=${v}`)};ut(ct(l,a,t.q),p);const g=()=>{document?.querySelector("button#elk_show_new_items")?.click()};if(ut(ct(l,a,t["."]),g),!s.value){let v=function(D){if(D.nodeName!=="HTML")return D.matches(_)?D.id:v(D.parentNode)},m=function(D){const b=i.value?v(i.value):void 0,A=y(b,D);if(A){const E=document.getElementById(A);if(E){E.focus({preventScroll:!0});const O=58;o.value+=E.getBoundingClientRect().top-O}}},y=function(D,b){const A=Array.from(document.querySelectorAll(_),S=>S.id);if(D===void 0)return A[0];const E=A.findIndex(S=>S===D);return b==="next"?A[Math.min(E+1,A.length)]:A[Math.max(0,E-1)]};const _='[aria-roledescription="status-card"]';ut(ct(a,t.j),()=>m("next")),ut(ct(a,t.k),()=>m("previous"))}});let Sa;try{new EventTarget,Sa=!0}catch{Sa=!1}class _x{constructor(){this.e={}}addEventListener(t,n,r=!1){this.t(t).push(n)}removeEventListener(t,n,r=!1){const o=this.t(t),s=o.indexOf(n);s>-1&&o.splice(s,1)}dispatchEvent(t){return t.target=this,Object.freeze(t),this.t(t.type).forEach(n=>n(t)),!0}t(t){return this.e[t]=this.e[t]||[]}}var vx=Sa?EventTarget:_x;class yx{constructor(t){this.type=t}}var Dx=Sa?Event:yx;class bx extends Dx{constructor(t,n){super(t),this.newState=n.newState,this.oldState=n.oldState,this.originalEvent=n.originalEvent}}const Kr="active",vs="passive",Gr="hidden",Yr="frozen",Sc="terminated",lm=typeof safari=="object"&&safari.pushNotification,wx="onpageshow"in self,Ex=["focus","blur","visibilitychange","freeze","resume","pageshow",wx?"pagehide":"unload"],um=e=>(e.preventDefault(),e.returnValue="Are you sure?"),Cx=e=>e.reduce((t,n,r)=>(t[n]=r,t),{}),Fx=[[Kr,vs,Gr,Sc],[Kr,vs,Gr,Yr],[Gr,vs,Kr],[Yr,Gr],[Yr,Kr],[Yr,vs]].map(Cx),Ax=(e,t)=>{for(let n,r=0;n=Fx[r];++r){const o=n[e],s=n[t];if(o>=0&&s>=0&&s>o)return Object.keys(n).slice(o,s+1)}return[]},Pi=()=>document.visibilityState===Gr?Gr:document.hasFocus()?Kr:vs;class Sx extends vx{constructor(){super();const t=Pi();this.s=t,this.i=[],this.a=this.a.bind(this),Ex.forEach(n=>addEventListener(n,this.a,!0)),lm&&addEventListener("beforeunload",n=>{this.n=setTimeout(()=>{n.defaultPrevented||n.returnValue.length>0||this.r(n,Gr)},0)})}get state(){return this.s}get pageWasDiscarded(){return document.wasDiscarded||!1}addUnsavedChanges(t){!this.i.indexOf(t)>-1&&(this.i.length===0&&addEventListener("beforeunload",um),this.i.push(t))}removeUnsavedChanges(t){const n=this.i.indexOf(t);n>-1&&(this.i.splice(n,1),this.i.length===0&&removeEventListener("beforeunload",um))}r(t,n){if(n!==this.s){const r=this.s,o=Ax(r,n);for(let s=0;s<o.length-1;++s){const i=o[s],a=o[s+1];this.s=a,this.dispatchEvent(new bx("statechange",{oldState:i,newState:a,originalEvent:t}))}}}a(t){switch(lm&&clearTimeout(this.n),t.type){case"pageshow":case"resume":this.r(t,Pi());break;case"focus":this.r(t,Kr);break;case"blur":this.s===Kr&&this.r(t,Pi());break;case"pagehide":case"unload":this.r(t,t.persisted?Yr:Sc);break;case"visibilitychange":this.s!==Yr&&this.s!==Sc&&this.r(t,Pi());break;case"freeze":this.r(t,Yr)}}}var cm=new Sx;const Tx=We(()=>{const e=Q(cm.state),t=[],n=Sr(Ch,!1);cm.addEventListener("statechange",o=>{if(o.newState==="hidden"&&o.oldState==="frozen"){n.value=!1,ot().then(()=>window.location.reload());return}o.newState==="frozen"?(n.value=!0,t.forEach(s=>s())):e.value=o.newState});const r=o=>{t.push(o)};return r(()=>{fo().pwaEnabled&&navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage(Ch),BT()}),{provide:{pageLifecycle:it({state:e,addFrozenListener:r})}}}),kx=We(()=>{const e=ar(),t=document.documentElement;Qr(()=>{const{fontSize:n}=e.value;t.style.setProperty("--font-size",n?RD[n]??n:iv)}),Qr(()=>{t.classList.toggle("zen",kn(e.value,"zenMode"))}),Qr(()=>{Object.entries(e.value.themeColors||{}
12).forEach(([n,r])=>t.style.setProperty(n,r))})});function Dn(){const{t:e,d:t,n,...r}=pl();return{...r,t:No(e),d:No(t),n:No(n)}}function No(e){return((...t)=>It.value?e(...t):"")}const Rx=We(async e=>{let t,n;const r=e.vueApp.config.globalProperties.$t,o=e.vueApp.config.globalProperties.$d,s=e.vueApp.config.globalProperties.$n;e.vueApp.config.globalProperties.$t=No(r),e.vueApp.config.globalProperties.$d=No(o),e.vueApp.config.globalProperties.$n=No(s);{const i=fe().$i18n,{setLocale:a,locales:l}=i,c=ar(),u=K(()=>c.value.language),f=N(l).map(d=>d.code);f.includes(u.value)||(c.value.language=PD(f)),u.value!==i.locale.value&&([t,n]=Jt(()=>a(c.value.language)),t=await t,n()),De([u,It],()=>{It.value&&u.value!==i.locale.value&&a(u.value)},{immediate:!0})}}),Px=We({name:"i18n:plugin:ssg-detect",dependsOn:["i18n:plugin","i18n:plugin:route-locale-detect"],enforce:"post",setup(e){}}),Ox=[DF,bF,EF,TF,Yk,Jk,Zk,eR,nR,zR,qR,KR,QR,tP,XL,JL,QL,t$,n$,r$,o$,cx,dx,gx,Tx,kx,Rx,Px];function Lx(e,t){const n=t/e*100;return 2/Math.PI*100*Math.atan(n/50)}function $x(e={}){const{duration:t=2e3,throttle:n=200,hideDelay:r=500,resetDelay:o=400}=e,s=e.estimatedProgress||Lx,i=fe(),a=ie(0),l=ie(!1),c=ie(!1);let u=!1,f,d,h,p;const g=(E={})=>{_(),c.value=!1,v(0,E)};function v(E=0,O={}){if(i.isHydrating)return;if(E>=100)return y({force:O.force});D(),a.value=E<0?0:E;const S=O.force?0:n;S?d=setTimeout(()=>{l.value=!0,b()},S):(l.value=!0,b())}function m(){h=setTimeout(()=>{l.value=!1,p=setTimeout(()=>{a.value=0},o)},r)}function y(E={}){a.value=100,u=!0,D(),_(),E.error&&(c.value=!0),E.force?(a.value=0,l.value=!1):m()}function _(){clearTimeout(h),clearTimeout(p)}function D(){clearTimeout(d),cancelAnimationFrame(f)}function b(){u=!1;let E;function O(S){if(u)return;E??=S;const k=S-E;a.value=Math.max(0,Math.min(100,s(t,k))),f=requestAnimationFrame(O)}f=requestAnimationFrame(O)}let A=()=>{};{const E=i.hook("page:loading:start",()=>{g()}),O=i.hook("page:loading:end",()=>{y()}),S=i.hook("vue:error",()=>y({error:!0}));A=()=>{S(),E(),O(),D(),_()}}return{_cleanup:A,progress:bs(a),isLoading:bs(l),error:bs(c),start:g,set:v,finish:y,clear:D}}function xx(e={}){const t=fe(),n=t._loadingIndicator||=$x(e);return or()&&(t._loadingIndicatorDeps||=0,t._loadingIndicatorDeps++,to(()=>{t._loadingIndicatorDeps--,t._loadingIndicatorDeps===0&&(n._cleanup(),delete t._loadingIndicator)})),n}const LD=ge({name:"NuxtLoadingIndicator",props:{throttle:{type:Number,default:200},duration:{type:Number,default:2e3},hideDelay:{type:Number,default:500},resetDelay:{type:Number,default:400},height:{type:Number,default:3},color:{type:[String,Boolean],default:"repeating-linear-gradient(to right,#00dc82 0%,#34cdfe 50%,#0047e1 100%)"},errorColor:{type:String,default:"repeating-linear-gradient(to right,#f87171 0%,#ef4444 100%)"},estimatedProgress:{type:Function,required:!1}},setup(e,{slots:t,expose:n}){const{progress:r,isLoading:o,error:s,start:i,finish:a,clear:l}=xx({duration:e.duration,throttle:e.throttle,hideDelay:e.hideDelay,resetDelay:e.resetDelay,estimatedProgress:e.estimatedProgress});return n({progress:r,isLoading:o,error:s,start:i,finish:a,clear:l}),()=>we("div",{class:"nuxt-loading-indicator",style:{position:"fixed",top:0,right:0,left:0,pointerEvents:"none",width:"auto",height:`${e.height}px`,opacity:o.value?1:0,background:s.value?e.errorColor:e.color||void 0,backgroundSize:`${r.value>0?100/r.value*100:0}% auto`,transform:`scaleX(${r.value}%)`,transformOrigin:"left",transition:"transform 0.1s, height 0.4s, opacity 0.4s",zIndex:999999}},t)}}),$D=(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,o={};for(const s in t.route)Object.defineProperty(o,s,{get:()=>n===t.renderKey?t.route[s]:r[s],enumerable:!0});return Xn(tr,on(o)),()=>t.vnode?we(t.vnode,{ref:t.vnodeRef}):t.vnode}}),Ix=$D(),fm=new WeakMap,Nx=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 o=fe(),s=Q(),i=et(tr,null);let a;r({pageRef:s});const l=et(F_,null);let c;const u=o.deferHydration();let f=!1,d=!1,h=0;if(o.isHydrating){const g=o.hooks.hookOnce("app:error",u),v=He().beforeEach(()=>{g(),v()})}e.pageKey&&De(()=>e.pageKey,(g,v)=>{g!==v&&o.callHook("page:loading:start")});let p=!1;{const g=He().beforeResolve(()=>{p=!1});lo(()=>{g(),u()})}return()=>we(tv,{name:e.name,route:e.route,...t},{default:g=>{const v=Mx(i,g.route,g.Component),m=i&&i.matched.length===g.route.matched.length;if(!g.Component){if(c&&!m&&!du(c))return c;
12u();return}if(c&&l&&!du(c)&&!l.isCurrent(g.route))return c;if(v&&i&&(!l||l?.isCurrent(i)))return(m||c)&&!du(c)?c:null;const y=Xu(g,e.pageKey),_=Bx(i,g.route,g.Component);!o.isHydrating&&a===y&&!_&&ot(()=>{p||(p=!0,o.callHook("page:loading:end"))}),f&&a!==y&&d&&h++,a=y;const D=!!(e.transition??g.route.meta.pageTransition??zd),b=D&&ay([e.transition,g.route.meta.pageTransition,zd,{onAfterLeave(){o["~transitionFinish"]?.(),delete o["~transitionFinish"],delete o["~transitionPromise"],o.callHook("page:transition:finish",g.Component)}}]),A=e.keepalive??g.route.meta.keepalive??PE;return c=sy(D&&b,NA(A,we(ef,{key:h,suspensible:!0,onPending:()=>{f=!0,D&&!o["~transitionPromise"]&&(o["~transitionPromise"]=new Promise(E=>{o["~transitionFinish"]=E})),o.callHook("page:start",g.Component)},onResolve:async()=>{f=!1,d=!0;try{await ot(),o._route.sync?.(),await o.callHook("page:finish",g.Component),!p&&!_&&(p=!0,await o.callHook("page:loading:end"))}finally{u()}}},{default:()=>{const E={key:y||void 0,vnode:n.default?jx(n.default,g):g.Component,route:g.route,renderKey:y||void 0,trackRootNodes:D,vnodeRef:s};if(!A)return we(Ix,E);const O=g.Component.type,S=O;let k=fm.get(S);return k||(k=$D(O.name||O.__name),fm.set(S,k)),we(k,E)}}))).default(),c}})}});function Mx(e,t,n){if(!e)return!1;const r=t.matched.findIndex(i=>i.components?.default===n?.type);if(r===-1)return!1;const o=t.matched.slice(0,r).filter(i=>i.components?.default);if(!o.length)return!1;const s=e.matched.filter(i=>i.components?.default);return o.some((i,a)=>i.components?.default!==s[a]?.components?.default)||n&&Xu({route:t,Component:n})!==Xu({route:e,Component:n})}function Bx(e,t,n){return e?t.matched.findIndex(o=>o.components?.default===n?.type)<t.matched.length-1:!1}function jx(e,t){const n=e(t);return n.length===1?we(n[0]):we(Ce,void 0,n)}function du(e){return!!e&&(!!e.suspense?.isUnmounted||!!e.component?.isUnmounted)}const xD=M_,Hx=ge({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>we(vr[e.name],e.layoutProps,t.slots)}}),Ux={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},ID=ge({name:"NuxtLayout",inheritAttrs:!1,props:Ux,setup(e,t){const n=fe(),r=et(tr),s=!r||r===co()?W_():r,i=K(()=>{let u=N(e.name)??s?.meta.layout??xD(s?.path).appLayout??"default";return u&&!(u in vr)&&e.fallback&&(u=N(e.fallback)),u}),a=ie();t.expose({layoutRef:a});const l=n.deferHydration();if(n.isHydrating){const u=n.hooks.hookOnce("app:error",l),f=He().beforeEach(()=>{u(),f()})}let c;return()=>{const f=!!i.value&&i.value in vr&&!!(s?.meta.layoutTransition??Vd),d=f&&ay([s?.meta.layoutTransition,Vd,{onBeforeLeave(){n["~transitionPromise"]=new Promise(p=>{n["~transitionFinish"]=p})},onAfterLeave(){n["~transitionFinish"]?.(),delete n["~transitionFinish"],delete n["~transitionPromise"]}}]),h=c;return c=i.value,sy(d,{default:()=>we(ef,{suspensible:!0,onResolve:async()=>{await ot(l)}},{default:()=>we(Wx,{layoutProps:Ot(t.attrs,s.meta.layoutProps??{},{ref:a}),key:i.value||void 0,name:i.value,shouldProvide:!e.name,isRenderingNewLayout:p=>p!==h&&p===i.value,hasTransition:f},t.slots)})}).default()}}}),Wx=ge({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean},isRenderingNewLayout:{type:Function,required:!0}},setup(e,t){const n=e.name;e.shouldProvide&&Xn(F_,{isCurrent:s=>n===!1||n===(s.meta.layout??xD(s.path).appLayout??"default")});const r=et(tr);if(r&&r===co()){const s=W_(),i={};for(const a in s){const l=a;Object.defineProperty(i,l,{enumerable:!0,get:()=>e.isRenderingNewLayout(e.name)?s[l]:r[l]})}Xn(tr,on(i))}return()=>!n||typeof n=="string"&&!(n in vr)?t.slots.default?.():we(Hx,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}),Oi=L1(Symbol("aria-announcer"));function Vx(){return{announce:r=>{Oi.emit("announce",r)},ariaAnnouncer:Oi,mute:()=>{Oi.emit("mute")},unmute:()=>{Oi.emit("unmute")}}}const zx=["aria-live"],qx=ge({__name:"AriaAnnouncer",setup(e){const t=He(),{t:n,locale:r,locales:o}=Dn(),{ariaAnnouncer:s,announce:i}=Vx(),a=o.value.reduce((f,d)=>(f[d.code]=d.name,f),{}),l=Q("polite"),c=Q("");function u(f,d){f==="announce"?c.value=d:f==="mute"?l.value="off":l.value="polite"}return De(r,(f,d)=>{d&&(i(n("a11y.locale_changing",[a[d]??d])),setTimeout(()=>{i(n("a11y.locale_changed",[a[f]??f]))},1e3))},{immediate:!0}),Qt(()=>{s.on(u),t.beforeEach(()=>{i(n("a11y.loading_page"))}),t.afterEach((f,d)=>{d&&setTimeout(()=>{requestAnimationFrame(()=>{const h=document.title.trim().split("|");
12i(n("a11y.route_loaded",[h[0]]))})},512)})}),(f,d)=>(z(),oe("p",{"sr-only":"",role:"status","aria-live":N(l)},ye(N(c)),9,zx))}}),ND=Object.assign(qx,{__name:"AriaAnnouncer"}),u8=[{github:"antfu",display:"Anthony Fu",twitter:"antfu7",mastodon:"[email protected]",link:"/m.webtoo.ls/@antfu"},{github:"patak-cat",display:"Patak",mastodon:"[email protected]",link:"/m.webtoo.ls/@patak"},{github:"danielroe",display:"Daniel Roe",mastodon:"[email protected]",link:"/mastodon.roe.dev/@daniel"},{github:"sxzz",display:"三咲智子 Kevin Deng",twitter:"sanxiaozhizi",mastodon:"[email protected]",link:"/m.webtoo.ls/@sxzz"},{github:"userquin",display:"Joaquín Sánchez",twitter:"userquin",mastodon:"[email protected]",link:"/m.webtoo.ls/@userquin",sponsors:"elk-zone"},{github:"shuuji3",display:"TAKAHASHI Shuuji",mastodon:"[email protected]",link:"/m.webtoo.ls/@shuuji3"},{github:"ayo-run",display:"Ayo",mastodon:"[email protected]",link:"/m.webtoo.ls/@ayo",sponsors:"elk-zone"}].sort(()=>Math.random()-.5);function Kx(){return fo().buildInfo}const Gx=/&[a-z0-9#]+;/i;function Yx(){const{locale:e,locales:t,t:n}=Dn(),r=ml(),o=Kx(),s=qf("enablePinchToZoom"),i=t.value.reduce((a,l)=>(a[l.code]=l.dir??"ltr",a),{});fx({htmlAttrs:{lang:()=>e.value,dir:()=>i[e.value]??"ltr",class:()=>s.value?["enable-pinch-to-zoom"]:[]},meta:[{name:"viewport",content:()=>`width=device-width,initial-scale=1${s.value?"":",maximum-scale=1,user-scalable=0"},viewport-fit=cover`}],titleTemplate:a=>{let l=a??"";return Gx.test(l)?(l=Xx(l,[['"',["&#34;","&quot;"]],["&",["&#38;","&amp;"]],["'",["&#39;","&apos;"]],["<",["&#60;","&lt;"]],[">",["&#62;","&gt;"]]]),l.length>60&&(l=`${l.slice(0,60)}...${l.endsWith('"')?'"':""}`),l.includes('"')||(l=`"${l}"`)):l.length>60&&(l=`${l.slice(0,60)}...${l.endsWith('"')?'"':""}`),l.length&&(l+=" | "),l+=n("app_name"),o.env!=="release"&&(l+=` (${o.env})`),l},link:fo().pwaEnabled?()=>[{key:"webmanifest",rel:"manifest",href:`/manifest-${e.value}${r.value==="dark"?"-dark":""}.webmanifest`}]:[]})}function Xx(e,t){let n=e;for(const[r,o]of t)for(const s of o)n=n.replaceAll(s,r);return n.trim()}function nr(e){return Array.isArray?Array.isArray(e):jD(e)==="[object Array]"}function Jx(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function Qx(e){return e==null?"":Jx(e)}function Rn(e){return typeof e=="string"}function MD(e){return typeof e=="number"}function Zx(e){return e===!0||e===!1||eI(e)&&jD(e)=="[object Boolean]"}function BD(e){return typeof e=="object"}function eI(e){return BD(e)&&e!==null}function jt(e){return e!=null}function hu(e){return!e.trim().length}function jD(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const tI="Incorrect 'index' type",nI=e=>`Invalid value for key ${e}`,rI=e=>`Pattern length exceeds max of ${e}.`,oI=e=>`Missing ${e} property in key`,sI=e=>`Property 'weight' in key '${e}' must be a positive integer`,dm=Object.prototype.hasOwnProperty;class iI{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(r=>{let o=HD(r);this._keys.push(o),this._keyMap[o.id]=o,n+=o.weight}),this._keys.forEach(r=>{r.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function HD(e){let t=null,n=null,r=null,o=1,s=null;if(Rn(e)||nr(e))r=e,t=hm(e),n=Tc(e);else{if(!dm.call(e,"name"))throw new Error(oI("name"));const i=e.name;if(r=i,dm.call(e,"weight")&&(o=e.weight,o<=0))throw new Error(sI(i));t=hm(i),n=Tc(i),s=e.getFn}return{path:t,id:n,weight:o,src:r,getFn:s}}function hm(e){return nr(e)?e:e.split(".")}function Tc(e){return nr(e)?e.join("."):e}function aI(e,t){let n=[],r=!1;const o=(s,i,a)=>{if(jt(s))if(!i[a])n.push(s);else{let l=i[a];const c=s[l];if(!jt(c))return;if(a===i.length-1&&(Rn(c)||MD(c)||Zx(c)))n.push(Qx(c));else if(nr(c)){r=!0;for(let u=0,f=c.length;u<f;u+=1)o(c[u],i,a+1)}else i.length&&o(c,i,a+1)}};return o(e,Rn(t)?t.split("."):t,0),r?n:n[0]}const lI={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},uI={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},cI={location:0,threshold:.6,distance:100},fI={useExtendedSearch:!1,getFn:aI,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var _e={...uI,...lI,...cI,...fI};const dI=/[^ ]+/g;function hI(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(o){const s=o.match(dI).length;if(n.has(s))return n.get(s);const i=1/Math.pow(s,.5*e),a=parseFloat(Math.round(i*r)/r);return n.set(s,a),a},clear(){n.clear()}}}class Kf{constructor({getFn:t=_e.getFn,fieldNormWeight:n=_e.fieldNormWeight}={}){this.norm=hI(n,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((n,r)=>{this._keysMap[n.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Rn(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();Rn(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,r=this.size();n<r;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(t,n){return t[this._keysMap[n]]}size(){return this.records.length}_addString(t,n){if(!jt(t)||hu(t))return;let r={v:t,i:n,n:this.norm.get(t)};this.records.push(r)}_addObject(t,n){let r={i:n,$:{}};this.keys.forEach((o,s)=>{let i=o.getFn?o.getFn(t):this.getFn(t,o.path);
vendor: 15,162 bytes, line 12
12if(jt(i)){if(nr(i)){let a=[];const l=[{nestedArrIndex:-1,value:i}];for(;l.length;){const{nestedArrIndex:c,value:u}=l.pop();if(jt(u))if(Rn(u)&&!hu(u)){let f={v:u,i:c,n:this.norm.get(u)};a.push(f)}else nr(u)&&u.forEach((f,d)=>{l.push({nestedArrIndex:d,value:f})})}r.$[s]=a}else if(Rn(i)&&!hu(i)){let a={v:i,n:this.norm.get(i)};r.$[s]=a}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function UD(e,t,{getFn:n=_e.getFn,fieldNormWeight:r=_e.fieldNormWeight}={}){const o=new Kf({getFn:n,fieldNormWeight:r});return o.setKeys(e.map(HD)),o.setSources(t),o.create(),o}function pI(e,{getFn:t=_e.getFn,fieldNormWeight:n=_e.fieldNormWeight}={}){const{keys:r,records:o}=e,s=new Kf({getFn:t,fieldNormWeight:n});return s.setKeys(r),s.setIndexRecords(o),s}function Li(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:o=_e.distance,ignoreLocation:s=_e.ignoreLocation}={}){const i=t/e.length;if(s)return i;const a=Math.abs(r-n);return o?i+a/o:a?1:i}function mI(e=[],t=_e.minMatchCharLength){let n=[],r=-1,o=-1,s=0;for(let i=e.length;s<i;s+=1){let a=e[s];a&&r===-1?r=s:!a&&r!==-1&&(o=s-1,o-r+1>=t&&n.push([r,o]),r=-1)}return e[s-1]&&s-r>=t&&n.push([r,s-1]),n}const qr=32;function gI(e,t,n,{location:r=_e.location,distance:o=_e.distance,threshold:s=_e.threshold,findAllMatches:i=_e.findAllMatches,minMatchCharLength:a=_e.minMatchCharLength,includeMatches:l=_e.includeMatches,ignoreLocation:c=_e.ignoreLocation}={}){if(t.length>qr)throw new Error(rI(qr));const u=t.length,f=e.length,d=Math.max(0,Math.min(r,f));let h=s,p=d;const g=a>1||l,v=g?Array(f):[];let m;for(;(m=e.indexOf(t,p))>-1;){let E=Li(t,{currentLocation:m,expectedLocation:d,distance:o,ignoreLocation:c});if(h=Math.min(E,h),p=m+u,g){let O=0;for(;O<u;)v[m+O]=1,O+=1}}p=-1;let y=[],_=1,D=u+f;const b=1<<u-1;for(let E=0;E<u;E+=1){let O=0,S=D;for(;O<S;)Li(t,{errors:E,currentLocation:d+S,expectedLocation:d,distance:o,ignoreLocation:c})<=h?O=S:D=S,S=Math.floor((D-O)/2+O);D=S;let k=Math.max(1,d-S+1),M=i?f:Math.min(d+S,f)+u,L=Array(M+2);L[M+1]=(1<<E)-1;for(let U=M;U>=k;U-=1){let Z=U-1,W=n[e.charAt(Z)];if(g&&(v[Z]=+!!W),L[U]=(L[U+1]<<1|1)&W,E&&(L[U]|=(y[U+1]|y[U])<<1|1|y[U+1]),L[U]&b&&(_=Li(t,{errors:E,currentLocation:Z,expectedLocation:d,distance:o,ignoreLocation:c}),_<=h)){if(h=_,p=Z,p<=d)break;k=Math.max(1,2*d-p)}}if(Li(t,{errors:E+1,currentLocation:d,expectedLocation:d,distance:o,ignoreLocation:c})>h)break;y=L}const A={isMatch:p>=0,score:Math.max(.001,_)};if(g){const E=mI(v,a);E.length?l&&(A.indices=E):A.isMatch=!1}return A}function _I(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const o=e.charAt(n);t[o]=(t[o]||0)|1<<r-n-1}return t}const Ta=String.prototype.normalize?(e=>e.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,"")):(e=>e);class WD{constructor(t,{location:n=_e.location,threshold:r=_e.threshold,distance:o=_e.distance,includeMatches:s=_e.includeMatches,findAllMatches:i=_e.findAllMatches,minMatchCharLength:a=_e.minMatchCharLength,isCaseSensitive:l=_e.isCaseSensitive,ignoreDiacritics:c=_e.ignoreDiacritics,ignoreLocation:u=_e.ignoreLocation}={}){if(this.options={location:n,threshold:r,distance:o,includeMatches:s,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:l,ignoreDiacritics:c,ignoreLocation:u},t=l?t:t.toLowerCase(),t=c?Ta(t):t,this.pattern=t,this.chunks=[],!this.pattern.length)return;const f=(h,p)=>{this.chunks.push({pattern:h,alphabet:_I(h),startIndex:p})},d=this.pattern.length;if(d>qr){let h=0;const p=d%qr,g=d-p;for(;h<g;)f(this.pattern.substr(h,qr),h),h+=qr;if(p){const v=d-qr;f(this.pattern.substr(v),v)}}else f(this.pattern,0)}searchIn(t){const{isCaseSensitive:n,ignoreDiacritics:r,includeMatches:o}=this.options;if(t=n?t:t.toLowerCase(),t=r?Ta(t):t,this.pattern===t){let g={isMatch:!0,score:0};return o&&(g.indices=[[0,t.length-1]]),g}const{location:s,distance:i,threshold:a,findAllMatches:l,minMatchCharLength:c,ignoreLocation:u}=this.options;let f=[],d=0,h=!1;this.chunks.forEach(({pattern:g,alphabet:v,startIndex:m})=>{const{isMatch:y,score:_,indices:D}=gI(t,g,v,{location:s+m,distance:i,threshold:a,findAllMatches:l,minMatchCharLength:c,includeMatches:o,ignoreLocation:u});y&&(h=!0),d+=_,y&&D&&(f=[...f,...D])});let p={isMatch:h,score:h?d/this.chunks.length:1};return h&&o&&(p.indices=f),p}}class Lr{constructor(t){this.pattern=t}static isMultiMatch(t){return pm(t,this.multiRegex)}static isSingleMatch(t){return pm(t,this.singleRegex)}search(){}}function pm(e,t){const n=e.match(t);return n?n[1]:null}class vI extends Lr{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class yI extends Lr{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const r=t.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,t.length-1]}}}class DI extends Lr{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class bI extends Lr{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class wI extends Lr{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class EI extends Lr{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class VD extends Lr{constructor(t,{location:n=_e.location,threshold:r=_e.threshold,distance:o=_e.distance,includeMatches:s=_e.includeMatches,findAllMatches:i=_e.findAllMatches,minMatchCharLength:a=_e.minMatchCharLength,isCaseSensitive:l=_e.isCaseSensitive,ignoreDiacritics:c=_e.ignoreDiacritics,ignoreLocation:u=_e.ignoreLocation}={}){super(t),this._bitapSearch=new WD(t,{location:n,threshold:r,distance:o,includeMatches:s,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:l,ignoreDiacritics:c,ignoreLocation:u})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class zD extends Lr{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,r;const o=[],s=this.pattern.length;for(;(r=t.indexOf(this.pattern,n))>-1;)n=r+s,o.push([r,n-1]);const i=!!o.length;return{isMatch:i,score:i?0:1,indices:o}}}const kc=[vI,zD,DI,bI,EI,wI,yI,VD],mm=kc.length,CI=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,FI="|";function AI(e,t={}){return e.split(FI).map(n=>{let r=n.trim().split(CI).filter(s=>s&&!!s.trim()),o=[];for(let s=0,i=r.length;s<i;s+=1){const a=r[s];let l=!1,c=-1;for(;!l&&++c<mm;){const u=kc[c];let f=u.isMultiMatch(a);f&&(o.push(new u(f,t)),l=!0)}if(!l)for(c=-1;++c<mm;){const u=kc[c];let f=u.isSingleMatch(a);if(f){o.push(new u(f,t));break}}}return o})}const SI=new Set([VD.type,zD.type]);class TI{constructor(t,{isCaseSensitive:n=_e.isCaseSensitive,ignoreDiacritics:r=_e.ignoreDiacritics,includeMatches:o=_e.includeMatches,minMatchCharLength:s=_e.minMatchCharLength,ignoreLocation:i=_e.ignoreLocation,findAllMatches:a=_e.findAllMatches,location:l=_e.location,threshold:c=_e.threshold,distance:u=_e.distance}={}){this.query=null,this.options={isCaseSensitive:n,ignoreDiacritics:r,includeMatches:o,minMatchCharLength:s,findAllMatches:a,ignoreLocation:i,location:l,threshold:c,distance:u},t=n?t:t.toLowerCase(),t=r?Ta(t):t,this.pattern=t,this.query=AI(this.pattern,this.options)}static condition(t,n){return n.useExtendedSearch}searchIn(t){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:r,isCaseSensitive:o,ignoreDiacritics:s}=this.options;t=o?t:t.toLowerCase(),t=s?Ta(t):t;let i=0,a=[],l=0;for(let c=0,u=n.length;c<u;c+=1){const f=n[c];a.length=0,i=0;for(let d=0,h=f.length;d<h;d+=1){const p=f[d],{isMatch:g,indices:v,score:m}=p.search(t);if(g){if(i+=1,l+=m,r){const y=p.constructor.type;SI.has(y)?a=[...a,...v]:a.push(v)}}else{l=0,i=0,a.length=0;break}}if(i){let d={isMatch:!0,score:l/i};return r&&(d.indices=a),d}}return{isMatch:!1,score:1}}}const Rc=[];function kI(...e){Rc.push(...e)}function Pc(e,t){for(let n=0,r=Rc.length;n<r;n+=1){let o=Rc[n];if(o.condition(e,t))return new o(e,t)}return new WD(e,t)}const ka={AND:"$and",OR:"$or"},Oc={PATH:"$path",PATTERN:"$val"},Lc=e=>!!(e[ka.AND]||e[ka.OR]),RI=e=>!!e[Oc.PATH],PI=e=>!nr(e)&&BD(e)&&!Lc(e),gm=e=>({[ka.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function qD(e,t,{auto:n=!0}={}){const r=o=>{let s=Object.keys(o);const i=RI(o);if(!i&&s.length>1&&!Lc(o))return r(gm(o));if(PI(o)){const l=i?o[Oc.PATH]:s[0],c=i?o[Oc.PATTERN]:o[l];if(!Rn(c))throw new Error(nI(l));const u={keyId:Tc(l),pattern:c};return n&&(u.searcher=Pc(c,t)),u}let a={children:[],operator:s[0]};return s.forEach(l=>{const c=o[l];nr(c)&&c.forEach(u=>{a.children.push(r(u))})}),a};return Lc(e)||(e=gm(e)),r(e)}function OI(e,{ignoreFieldNorm:t=_e.ignoreFieldNorm}){e.forEach(n=>{let r=1;n.matches.forEach(({key:o,norm:s,score:i})=>{const a=o?o.weight:null;r*=Math.pow(i===0&&a?Number.EPSILON:i,(a||1)*(t?1:s))}),n.score=r})}function LI(e,t){const n=e.matches;t.matches=[],jt(n)&&n.forEach(r=>{if(!jt(r.indices)||!r.indices.length)return;const{indices:o,value:s}=r;let i={indices:o,value:s};r.key&&(i.key=r.key.src),r.idx>-1&&(i.refIndex=r.idx),t.matches.push(i)})}function $I(e,t){t.score=e.score}function xI(e,t,{includeMatches:n=_e.includeMatches,includeScore:r=_e.includeScore}={}){const o=[];return n&&o.push(LI),r&&o.push($I),e.map(s=>{const{idx:i}=s,a={item:t[i],refIndex:i};return o.length&&o.forEach(l=>{l(s,a)}),a})}class ss{constructor(t,n={},r){this.options={..._e,...n},this.options.useExtendedSearch,this._keyStore=new iI(this.options.keys),this.setCollection(t,r)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof Kf))throw new Error(tI);this._myIndex=n||UD(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){jt(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let r=0,o=this._docs.length;r<o;r+=1){const s=this._docs[r];t(s,r)&&(this.removeAt(r),r-=1,o-=1,n.push(s))}return n}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:n=-1}={}){const{includeMatches:r,includeScore:o,shouldSort:s,sortFn:i,ignoreFieldNorm:a}=this.options;let l=Rn(t)?Rn(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return OI(l,{ignoreFieldNorm:a}),s&&l.sort(i),MD(n)&&n>-1&&(l=l.slice(0,n)),xI(l,this._docs,{includeMatches:r,includeScore:o})}_searchStringList(t){const n=Pc(t,this.options),{records:r}=this._myIndex,o=[];return r.forEach(({v:s,i,n:a})=>{if(!jt(s))return;const{isMatch:l,score:c,indices:u}=n.searchIn(s);l&&o.push({item:s,idx:i,matches:[{score:c,value:s,norm:a,indices:u}]})}),o}_searchLogical(t){const n=qD(t,this.options),r=(a,l,c)=>{if(!a.children){const{keyId:f,searcher:d}=a,h=this._findMatches({key:this._keyStore.get(f),value:this._myIndex.getValueForItemAtKeyId(l,f),searcher:d});return h&&h.length?[{idx:c,item:l,matches:h}]:[]}const u=[];for(let f=0,d=a.children.length;f<d;f+=1){const h=a.children[f],p=r(h,l,c);if(p.length)u.push(...p);else if(a.operator===ka.AND)return[]}return u},o=this._myIndex.records,s={},i=[];return o.forEach(({$:a,i:l})=>{if(jt(a)){let c=r(n,a,l);c.length&&(s[l]||(s[l]={idx:l,item:a,matches:[]},i.push(s[l])),c.forEach(({matches:u})=>{s[l].matches.push(...u)}))}}),i}_searchObjectList(t){const n=Pc(t,this.options),{keys:r,records:o}=this._myIndex,s=[];return o.forEach(({$:i,i:a})=>{if(!jt(i))return;let l=[];r.forEach((c,u)=>{l.push(...this._findMatches({key:c,value:i[u],searcher:n}))}),l.length&&s.push({idx:a,item:i,matches:l})}),s}_findMatches({key:t,value:n,searcher:r}){if(!jt(n))return[];let o=[];if(nr(n))n.forEach(({v:s,i,n:a})=>{if(!jt(s))return;const{isMatch:l,score:c,indices:u}=r.searchIn(s);l&&o.push({score:c,key:t,value:s,idx:i,norm:a,indices:u})});else{const{v:s,n:i}=n,{isMatch:a,score:l,indices:c}=r.searchIn(s);a&&o.push({score:l,key:t,value:s,norm:i,indices:c})}return o}}ss.version="7.1.0";ss.createIndex=UD;ss.parseIndex=pI;ss.config=_e;ss.parseQuery=qD;kI(TI);function Gf(e){const t=ir().public.singleInstance,n=ar(),r=rl(),{t:o}=Dn(),s=Q(!1),i=Q(!1),a=Q(""),l=Q(!1);async function c(){if(!s.value){s.value=!0,i.value=!1,l.value=!1,await ot(),!t&&a.value&&(
12a.value=a.value.split("/")[0]);try{let u;t?(u=await globalThis.$fetch(`/api/${io.value}/login`,{method:"POST",body:{force_login:r.value.length>0,origin:location.origin,lang:n.value.language}}),s.value=!1):u=await globalThis.$fetch(`/api/${a.value||io.value}/login`,{method:"POST",body:{force_login:r.value.some(f=>f.server===a.value),origin:location.origin,lang:n.value.language}}),location.href=u}catch{t?(s.value=!1,await rk({title:o("common.error"),messages:[o("error.sign_in_error")],close:o("action.close")})):(l.value=!0,i.value=!0,await ot(),e?.value?.focus(),await ot(),setTimeout(()=>{s.value=!1,i.value=!1},512))}}}return{busy:s,displayError:l,error:i,server:a,singleInstanceServer:t,oauth:c}}const II=["","Actions","Tabs","Navigation","Preferences","Account","Languages","Switch account","Settings","Hashtags","Users"];function $i(e){return typeof e=="function"?e():e}const KD=SC("command",()=>{const e=it(new Set),t=K(()=>[...e].filter(o=>o.visible?o.visible():!0).map(o=>({...o,icon:$i(o.icon),name:$i(o.name),description:$i(o.description),bindings:$i(o.bindings)})));let n="",r;return De(t,()=>{r=void 0}),{register:o=>{e.add(o)},remove:o=>{e.delete(o)},query:(o,s)=>{const i=t.value.filter(a=>(a.parent??"")===o);if(s){const a=n===o&&r?r:new ss(i,{keys:["scope","name","description"],includeScore:!0});n=o,r=a;const l=a.search(s).map(({item:d})=>({...d})),c=new Map;for(const d of l){const h=d.scope??"";c.has(h)||c.set(h,[]),c.get(h).push({index:0,type:"command",scope:h,cmd:d,onActivate:d.onActivate,onComplete:d.onComplete})}let u=0;const f=[];for(const d of c.values())for(const h of d)h.index=u++,f.push(h);return{length:l.length,items:f,grouped:c}}else{const a=i.map((f,d)=>({...f,index:d})),l=new Map(II.map(f=>[f,[]]));for(const f of a){const d=f.scope??"";l.get(d).push({index:f.index,type:"command",scope:d,cmd:f,onActivate:f.onActivate,onComplete:f.onComplete})}let c=0;const u=[];for(const[f,d]of l)if(d.length===0)l.delete(f);else{const h=p=>(p.cmd.order??0)*100+p.index;d.sort((p,g)=>h(p)-h(g));for(const p of d)p.index=c++,u.push(p)}return{length:a.length,items:u,grouped:l}}}}});function gr(e){const t=KD(),n=()=>t.register(e),r=()=>t.remove(e);n(),ti(n),Qo(r),Zt(r)}function _m(e){const t=KD(),n=K(e);De(n,(o,s=[])=>{for(const i of s)t.remove(i);for(const i of o)t.register(i)},{deep:!0,immediate:!0});const r=()=>{n.value.forEach(o=>t.remove(o))};Qo(r),Zt(r)}function NI(){const{locale:e,t}=Dn(),{locales:n}=Dn(),r=rl(),o=Vt(),s=ml(),i=ar(),{singleInstanceServer:a,oauth:l}=Gf();gr({scope:"Preferences",name:()=>t("command.toggle_dark_mode"),icon:()=>s.value==="light"?"i-ri:sun-line":"i-ri:moon-line",onActivate(){s.preference=s.value==="light"?"dark":"light"}}),gr({scope:"Preferences",name:()=>t("command.toggle_zen_mode"),icon:()=>i.value.preferences.zenMode?"i-ri:layout-right-2-line":"i-ri:layout-right-line",onActivate(){mx("zenMode")}}),gr({scope:"Preferences",name:()=>t("command.select_lang"),icon:"i-ri:earth-line",onComplete:()=>({id:"language",display:"Languages"})}),_m(()=>n.value.map(c=>({parent:"language",scope:"Languages",name:c.name,icon:"i-ri:earth-line",onActivate(){e.value=c.code}}))),gr({scope:"Account",name:()=>t("action.sign_in"),description:()=>t("command.sign_in_desc"),icon:"i-ri:user-add-line",onActivate(){a?l():el()}}),gr({scope:"Account",visible:()=>r.value.length>1,name:()=>t("action.switch_account"),description:()=>t("command.switch_account_desc"),icon:"i-ri:user-shared-line",onComplete:()=>({id:"account-switch",display:"Accounts"})}),_m(()=>r.value.map(c=>({parent:"account-switch",scope:"Switch account",visible:()=>c.account.id!==pe.value?.account.id,name:()=>t("command.switch_account",[_a(c.account)]),icon:"i-ri:user-shared-line",onActivate(){ii(o,c)}}))),gr({scope:"Account",visible:()=>pe.value,name:()=>t("user.sign_out_account",[_a(pe.value.account)]),icon:"i-ri:logout-box-line",onActivate(){ny()}})}const MI=ge({__name:"app",setup(e){Yx(),NI(),co();const t=K(()=>`${pe.value?.server??Ue.value}:${pe.value?.account.id||""}`);return(n,r)=>{const o=LD,s=Nx,i=ID,a=ND;return z(),oe(Ce,null,[he(o,{color:"repeating-linear-gradient(to right,var(--c-primary) 0%,var(--c-primary-active) 100%)"}),(z(),be(i,{key:N(t)},{default:Fe(()=>[he(s)]),_:1})),he(a),r[0]||(r[0]=J("svg",{absolute:"",op0:"",width:"0",height:"0"},[J("defs",null,[J("clipPath",{id:"avatar-mask",clipPathUnits:"objectBoundingBox"},[J("path",{d:"M 0,0.5 C 0,0 0,0 0.5,0 S 1,0 1,0.5 1,1 0.5,1 0,1 0,0.5"})])])],-1))],64)}}}),BI={"min-w-8":"","line-clamp-2":""},jI=ge({__name:"MainTitle",props:{as:{default:"div"},icon:{},secondary:{type:Boolean}},setup(e){function t({currentTarget:n,metaKey:r,ctrlKey:o}){(r||o)&&n?.nodeName==="A"||fe().$scrollToTop()}return(n,r)=>(z(),be(ni(e.as),{class:Je(["flex items-center gap-2 min-h-10 px-3 text-start text-lg lh-tight font-bold cursor-pointer",{"text-primary":!e.secondary}]),onClick:r[0]||(r[0]=o=>t(o))},{default:Fe(()=>[e.icon?(z(),oe("span",{key:0,class:Je(e.icon)},null,2)):Ve("",!0),J("span",BI,[Ye(n.$slots,"default")])]),_:3},8,["class"]))}}),HI=Object.assign(jI,{__name:"MainTitle"}),bl=(e,t)=>
12{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},UI={},WI={flex:"~ gap-2","items-center":""};function VI(e,t){return("useNuxtApp"in e?e.useNuxtApp:N(fe))().$pwa?.needRefresh?(z(),oe("button",{key:0,bg:"primary-fade",relative:"",rounded:"",flex:"~ gap-1 center",px3:"",py1:"","text-primary":"",onClick:t[0]||(t[0]=n=>("useNuxtApp"in e?e.useNuxtApp:N(fe))().$pwa?.updateServiceWorker())},[t[1]||(t[1]=J("div",{"i-ri-download-cloud-2-line":""},null,-1)),J("h2",WI,ye(e.$t("pwa.update_available_short")),1)])):Ve("",!0)}const zI=Object.assign(bl(UI,[["render",VI]]),{__name:"PwaBadge"}),qI=["src","alt"],KI=ge({__name:"AccountAvatar",props:{account:{},square:{type:Boolean}},setup(e){const t=Q(!1),n=Q(!1),r=U1(),o=K(()=>r.value==="reduce"?e.account?.avatarStatic??e.account.avatar:e.account.avatar);return(s,i)=>(z(),oe("img",Ot({key:e.account.avatar,width:"400",height:"400","select-none":"",src:N(n)||!N(t)?"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7":N(o),alt:s.$t("account.avatar_description",[e.account.username]),loading:"lazy",class:["account-avatar object-cover",(N(t)?"bg-base":"bg-gray:10")+(e.square?" ":" rounded-full")],style:{"clip-path":e.square?"url(#avatar-mask)":"none"}},s.$attrs,{onLoad:i[0]||(i[0]=a=>t.value=!0),onError:i[1]||(i[1]=a=>n.value=!0)}),null,16,qI))}}),GD=Object.assign(KI,{__name:"AccountAvatar"}),GI=ge({__name:"AccountBigAvatar",props:{account:{},square:{type:Boolean}},setup(e){return(t,n)=>{const r=GD;return z(),oe("div",Ot({key:e.account.avatar},t.$attrs,{style:{"clip-path":e.square?"url(#avatar-mask)":"none"},class:{"rounded-full":!e.square},"bg-base":"","w-54px":"","h-54px":"",flex:"","items-center":"","justify-center":""}),[he(r,{account:e.account,"w-48px":"","h-48px":"",square:e.square},null,8,["account","square"])],16)}}}),YI=Object.assign(GI,{__name:"AccountBigAvatar"}),$c=new Map;let xi;function YD(e){if(!pe.value)return Q();let t=$c.get(e.id);return t||(t=Q(),$c.set(e.id,t),xi&&clearTimeout(xi),xi=setTimeout(()=>{xi=void 0,XI()},100),t)}async function XI(){const e=[...$c.entries()].filter(([,n])=>!n.value),t=await ho().v1.accounts.relationships.fetch({id:e.map(([n])=>n)});for(const n of t){const r=e.find(([o])=>o===n.id);r&&(r[1].value=n)}}async function vm(e,t){const{client:n}=Vt(),r=fe().$i18n,o=e.following||e.requested;o&&(await tl({title:r.t("confirm.unfollow.title"),description:r.t("confirm.unfollow.description",[`@${t.acct}`]),confirm:r.t("confirm.unfollow.confirm"),cancel:r.t("confirm.unfollow.cancel")})).choice!=="confirm"||(o?(e.following=!1,e.requested=!1):t.locked?e.requested=!0:e.following=!0,e=await n.value.v1.accounts.$select(t.id)[o?"unfollow":"follow"]())}async function c8(e,t){const{client:n}=Vt(),r=fe().$i18n;let o=0,s=!0;if(!e.muting){const i=await tl({title:r.t("confirm.mute_account.title"),description:r.t("confirm.mute_account.description",[t.acct]),confirm:r.t("confirm.mute_account.confirm"),cancel:r.t("confirm.mute_account.cancel"),extraOptionType:"mute"});if(i.choice!=="confirm")return;o=i.extraOptions?.mute?.duration??0,s=i.extraOptions?.mute?.notifications??!0}e.muting=!e.muting,e=e.muting?await n.value.v1.accounts.$select(t.id).mute({duration:o,notifications:s}):await n.value.v1.accounts.$select(t.id).unmute()}async function f8(e,t){const{client:n}=Vt(),r=fe().$i18n;!e.blocking&&(await tl({title:r.t("confirm.block_account.title"),description:r.t("confirm.block_account.description",[t.acct]),confirm:r.t("confirm.block_account.confirm"),cancel:r.t("confirm.block_account.cancel")})).choice!=="confirm"||(e.blocking=!e.blocking,e=await n.value.v1.accounts.$select(t.id)[e.blocking?"block":"unblock"]())}async function d8(e,t){const{client:n}=Vt(),r=fe().$i18n;if(!e.domainBlocking){const o=ga(t);if((await tl({title:r.t("confirm.block_domain.title"),description:r.t("confirm.block_domain.description",[o]),confirm:r.t("confirm.block_domain.confirm"),cancel:r.t("confirm.block_domain.cancel"),extraOptionType:"block_domain",domainToBlock:o})).choice!=="confirm")return}e.domainBlocking=!e.domainBlocking,await n.value.v1.domainBlocks[e.domainBlocking?"create":"remove"]({domain:ga(t)})}const JI=["hover"],QI={key:0,"i-svg-spinners-180-ring-with-bg":""},ZI={"elk-group-hover":"hidden"},e2={hidden:"","elk-group-hover":"inline"},t2={"elk-group-hover":"hidden"},n2={hidden:"","elk-group-hover":"inline"},r2={"elk-group-hover":"hidden"},o2={hidden:"","elk-group-hover":"inline"},s2={"elk-group-hover":"hidden"},i2={hidden:"","elk-group-hover":"inline"},a2={"elk-group-hover":"hidden"},l2={hidden:"","elk-group-hover":"inline"},u2={key:5},c2=ge({__name:"AccountFollowButton",props:{account:{},relationship:{},context:{},command:{type:Boolean}},setup(e){const t=pb(e,["account","context","command"]),{t:n}=Dn(),r=lk(()=>e.account),o=K(()=>!r.value&&pe.value),s=K(()=>t.relationship||YD(e.account).value),i=K(()=>s.value===void 0),{client:a}=Vt();async function l(){s.value.blocking=!1;try{const f=await a.value.v1.accounts.$select(e.account.id).unblock();Object.assign(s,f)}catch{s.value.blocking=!0}}async function c(){s.value.muting=!1;try{const f=await a.value.v1.accounts.$select(e.account.id).unmute();Object.assign(s,f)}catch{s.value.muting=!0}}gr({scope:"Actions",order:-2,visible:()=>e.command&&o,name:()=>`${s.value?.following?n("account.unfollow"):n("account.follow")} ${oy(e.account)}`,icon:"i-ri:star-line",onActivate:()=>vm(s.value,e.account)});const u=K(()=>s.value?.blocking?"text-inverted bg-red border-red":s.value?.muting?"text-base bg-card border-base":(s.value?s.value.following:e.context==="following")?`text-base ${s.value?.followedBy?"border-strong":"border-base"}`:i.value?"text-base border-base":"text-inverted bg-primary border-primary");return(f,d)=>
12N(o)?(z(),oe("button",{key:0,"gap-1":"","items-center":"",group:"","border-1":"","rounded-full":"",flex:"~ gap2 center","font-500":"","min-w-30":"","h-fit":"",px3:"",py1:"",class:Je(N(u)),hover:!N(s)?.blocking&&!N(s)?.muting&&N(s)?.following?"border-red text-red":"bg-base border-primary text-primary",onClick:d[0]||(d[0]=h=>N(s)?.blocking?l():N(s)?.muting?c():N(vm)(N(s),e.account))},[N(i)?(z(),oe("span",QI)):(z(),oe(Ce,{key:1},[N(s)?.blocking?(z(),oe(Ce,{key:0},[J("span",ZI,ye(f.$t("account.blocking")),1),J("span",e2,ye(f.$t("account.unblock")),1)],64)):N(s)?.muting?(z(),oe(Ce,{key:1},[J("span",t2,ye(f.$t("account.muting")),1),J("span",n2,ye(f.$t("account.unmute")),1)],64)):(N(s)?N(s).following:e.context==="following")?(z(),oe(Ce,{key:2},[J("span",r2,ye(N(s)?.followedBy?f.$t("account.unfollow"):f.$t("account.following")),1),J("span",o2,ye(f.$t("account.unfollow")),1)],64)):N(s)?.requested?(z(),oe(Ce,{key:3},[J("span",s2,ye(f.$t("account.follow_requested")),1),J("span",i2,ye(f.$t("account.withdraw_follow_request")),1)],64)):(N(s)?N(s).followedBy:e.context==="followedBy")?(z(),oe(Ce,{key:4},[J("span",a2,ye(e.account.locked?f.$t("account.request_follow"):f.$t("account.follow_back")),1),J("span",l2,ye(e.account.locked?f.$t("account.request_follow"):f.$t("account.follow_back")),1)],64)):(z(),oe("span",u2,ye(e.account.locked?f.$t("account.request_follow"):f.$t("account.follow")),1))],64))],10,JI)):Ve("",!0)}}),f2=Object.assign(c2,{__name:"AccountFollowButton"}),d2=1e3*60*60*24;function h2(){return{lastUpdate:0,emojis:[]}}const Js=zo(t1,h2);async function h8(){if(Date.now()-Js.value.lastUpdate<d2)return;const{client:e}=Vt(),t=await e.value.v1.customEmojis.list();Object.assign(Js.value,{lastUpdate:Date.now(),emojis:t})}function p2(e){const t=[];for(const n of e)n.visibleInPicker&&t.push({id:n.shortcode,native:":emoji.shortcode:",name:n.shortcode,skins:[{src:n.url||n.staticUrl}]});return t}const p8=K(()=>Js.value.emojis.length?[{id:"custom",name:`Custom emojis on ${Ue.value}`,emojis:p2(Js.value.emojis)}]:void 0);function m2(e){return K(()=>{const t=[],n=e();return n&&t.push(...n),t.push(...Js.value.emojis),aT(t)})}const g2={},_2={p4:"",flex:"","justify-between":"","gap-4":""};function v2(e,t){return z(),oe("div",_2,[...t[0]||(t[0]=[J("div",{flex:"~ col 1 gap-2"},[J("div",{flex:"",class:"skeleton-loading-bg","h-5":"","w-30":"",rounded:""}),J("div",{flex:"",class:"skeleton-loading-bg","h-4":"","w-45":"",rounded:""})],-1),J("div",{flex:"","items-center":""},[J("div",{flex:"",class:"skeleton-loading-bg","h-9":"","w-15":"",rounded:""})],-1)])])}const y2=Object.assign(bl(g2,[["render",v2]]),{__name:"TagCardSkeleton"}),D2={"text-3":""},b2=ge({__name:"CommonTooltip",props:{content:{}},setup(e){return(t,n)=>{const r=Wt("VTooltip");return("isHydrated"in t?t.isHydrated:N(It))?(z(),be(r,Ot({key:0},t.$attrs,{"auto-hide":"","no-auto-focus":""}),{popper:Fe(()=>[J("div",D2,[Ye(t.$slots,"popper",{},()=>[no(ye(e.content),1)])])]),default:Fe(()=>[Ye(t.$slots,"default")]),_:3},16)):Ve("",!0)}}}),wl=Object.assign(b2,{__name:"CommonTooltip"}),w2=["aria-label"],E2={"rounded-full":"",p2:"","elk-group-hover":"bg-orange/10","group-focus-visible":"bg-orange/10","group-focus-visible:ring":"2 current"},C2=ge({__name:"TagActionButton",props:{tag:{}},emits:["change"],setup(e,{emit:t}){const n=t,{client:r}=Vt();async function o(){const s=e.tag.following;e.tag.following=!e.tag.following;try{s?await r.value.v1.tags.$select(e.tag.name).unfollow():await r.value.v1.tags.$select(e.tag.name).follow(),n("change")}catch{e.tag.following=s}}return(s,i)=>{const a=wl;return z(),oe("button",{rounded:"",group:"","focus:outline-none":"","hover:text-primary":"","focus-visible:text-primary":"","aria-label":e.tag.following?s.$t("tag.unfollow_label",[e.tag.name]):s.$t("tag.follow_label",[e.tag.name]),onClick:i[0]||(i[0]=l=>o())},[he(a,{placement:"bottom",content:e.tag.following?s.$t("tag.unfollow"):s.$t("tag.follow")},{default:Fe(()=>[J("div",E2,[J("div",{class:Je([e.tag.following?"i-ri:star-fill":"i-ri:star-line"])},null,2)])]),_:1},8,["content"])],8,w2)}}}),F2=Object.assign(C2,{__name:"TagActionButton"}),A2=ge({__name:"CommonTrending",props:{history:{},maxDay:{default:2}},setup(e){const t=K(()=>e.history.slice(0,e.maxDay)),n=K(()=>t.value.reduce((r,o)=>r+(Number(o.accounts)||0),0));return(r,o)=>(z(),oe("p",null,ye(r.$t("command.n_people_in_the_past_n_days",[N(n),e.maxDay]
12)),1))}}),S2=Object.assign(A2,{__name:"CommonTrending"});var m8=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function T2(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var pu,ym;function k2(){return ym||(ym=1,pu=(function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(r,o,s){n.o(r,o)||Object.defineProperty(r,o,{enumerable:!0,get:s})},n.r=function(r){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},n.t=function(r,o){if(1&o&&(r=n(r)),8&o||4&o&&typeof r=="object"&&r&&r.__esModule)return r;var s=Object.create(null);if(n.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:r}),2&o&&typeof r!="string")for(var i in r)n.d(s,i,function(a){return r[a]}.bind(null,i));return s},n.n=function(r){var o=r&&r.__esModule?function(){return r.default}:function(){return r};return n.d(o,"a",o),o},n.o=function(r,o){return Object.prototype.hasOwnProperty.call(r,o)},n.p="",n(n.s=1)})([function(e,t,n){var r=n(2),o=n(3),s=n(4);e.exports=function(i){return r(i)||o(i)||s()}},function(e,t,n){n.r(t),n.d(t,"sparkline",function(){return l});var r=n(0),o=n.n(r);function s(c,u,f,d){return parseFloat((u-d*u/c+f).toFixed(2))}function i(c){return c.value}function a(c,u){var f=document.createElementNS("http://www.w3.org/2000/svg",c);for(var d in u)f.setAttribute(d,u[d]);return f}function l(c,u,f){var d;if(d=c,o()(d.querySelectorAll("*")).forEach(function(Oe){return d.removeChild(Oe)}),!(u.length<=1)){f=f||{},typeof u[0]=="number"&&(u=u.map(function(Oe){return{value:Oe}}));var h=f.onmousemove,p=f.onmouseout,g="interactive"in f?f.interactive:!!h,v=f.spotRadius||2,m=2*v,y=f.cursorWidth||2,_=parseFloat(c.attributes["stroke-width"].value),D=f.fetch||i,b=u.map(function(Oe){return D(Oe)}),A=parseFloat(c.attributes.width.value)-2*m,E=parseFloat(c.attributes.height.value),O=E-2*_-m,S=Math.max.apply(Math,o()(b)),k=-1e3,M=b.length-1,L=A/M,G=[],U=s(S,O,_+v,b[0]),Z="M".concat(m," ").concat(U);b.forEach(function(Oe,Ke){var at=Ke*L+m,vt=s(S,O,_+v,Oe);G.push(Object.assign({},u[Ke],{index:Ke,x:at,y:vt})),Z+=" L ".concat(at," ").concat(vt)});var W=a("path",{class:"sparkline--line",d:Z,fill:"none"}),ee=a("path",{class:"sparkline--fill",d:"".concat(Z," V ").concat(E," L ").concat(m," ").concat(E," Z"),stroke:"none"});if(c.appendChild(ee),c.appendChild(W),g){var Y=a("line",{class:"sparkline--cursor",x1:k,x2:k,y1:0,y2:E,"stroke-width":y}),ce=a("circle",{class:"sparkline--spot",cx:k,cy:k,r:v});c.appendChild(Y),c.appendChild(ce);var Qe=a("rect",{width:c.attributes.width.value,height:c.attributes.height.value,style:"fill: transparent; stroke: transparent",class:"sparkline--interaction-layer"});c.appendChild(Qe),Qe.addEventListener("mouseout",function(Oe){Y.setAttribute("x1",k),Y.setAttribute("x2",k),ce.setAttribute("cx",k),p&&p(Oe)}),Qe.addEventListener("mousemove",function(Oe){var Ke=Oe.offsetX,at=G.find(function(re){return re.x>=Ke});at||(at=G[M]);var vt,St=G[G.indexOf(at)-1],lt=(vt=St?St.x+(at.x-St.x)/2<=Ke?at:St:at).x,H=vt.y;ce.setAttribute("cx",lt),ce.setAttribute("cy",H),Y.setAttribute("x1",lt),Y.setAttribute("x2",lt),h&&h(Oe,vt)})}}}t.default=l},function(e,t){e.exports=function(n){if(Array.isArray(n)){for(var r=0,o=new Array(n.length);r<n.length;r++)o[r]=n[r];return o}}},function(e,t){e.exports=function(n){if(Symbol.iterator in Object(n)||Object.prototype.toString.call(n)==="[object Arguments]")return Array.from(n)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}}])),pu}var R2=k2();const mu=T2(R2),P2=["width","height"],O2=ge({__name:"CommonTrendingCharts",props:{history:{},width:{default:60},height:{default:40}},setup(e){const t=K(()=>e.history?e.history.toReversed().map(o=>Number(o.accounts)||0):[1,1,1,1,1,1,1]),n=Q(),r=typeof mu!="function"?mu.default:mu;return De([t,n],([o,s])=>{s&&r(s,o)}),(o,s)=>(z(),oe("svg",{ref_key:"sparklineEl",ref:n,class:"sparkline",width:e.width,height:e.height,"stroke-width":"3"},null,8,P2))}}),L2=Object.assign(O2,{__name:"CommonTrendingCharts"}),$2={flex:"","flex-gap-2":""},x2={flex:"","items-center":"","text-size-base":"","leading-normal":"","font-medium":"","line-clamp-1":"","break-all":"","ws-pre-wrap":""},I2={"hover:underline":""},N2={key:0,flex:"","items-center":""},M2=ge({__name:"TagCard",props:{tag:{}},setup(e){const t=K(()=>{const{hostname:s,pathname:i}=new URL(e.tag.url);return`/${s}${i}`}),n=He();function r(s){const a=s.composedPath().find(c=>["A","BUTTON"].includes(c.tagName?.toUpperCase())),l=window.getSelection()?.toString();!a&&!l&&o(s)}function o(s){s.metaKey||s.ctrlKey?window.open(t.value):n.push(t.value)}return(s,i)=>{const a=F2,l=S2,c=L2;return z(),oe("div",{block:"",p4:"","hover:bg-active":"",flex:"","justify-between":"","cursor-pointer":"","flex-gap-2":"",onClick:r,onKeydown:Gg(r,["enter"])},[J("div",$2,[he(a,{tag:e.tag},null,8,["tag"]),J("div",null,[J("h4",x2,[J("bdi",null,[i[0]||(i[0]=J("span",null,"#",-1)),J("span",I2,ye(e.tag.name),1)])]),e.tag.history?(z(),be(l,{key:0,history:e.tag.history,"text-sm":"","text-secondary":"","line-clamp-1":"","ws-pre-wrap":"","break-all":""},null,8,["history"])):Ve("",!0)])]),e.tag.history?(z(),oe("div",N2,[he(c,{history:e.tag.history},null,8,["history"])])):Ve("",!0)],32)}}}),B2=Object.assign(M2,{__name:"TagCard"}),j2=ge({inheritAttrs:!1,__name:"TagHoverWrapper",props:{tagName:{},disabled:{type:Boolean}},setup(e){const t=Q(),n=Q(),r=vv(n);De(r,s=>{s&&e.tagName&&mk(e.tagName).then(i=>{t.value=i})});const o=ar();return(s,i)=>{const a=y2,l=B2,c=Wt("VMenu");return z(),oe("span",{ref_key:"tagHover",ref:n},[!e.disabled&&!("getPreferences"in s?s.getPreferences:N(kn))(N(o),"hideTagHoverCard")?(z(),be(c,Ot({key:0,placement:"bottom-start",delay:{show:500,hide:100}},s.$attrs,{"close-on-content-click":!1,"no-auto-focus":""}),{popper:Fe(()=>[N(t)?(z(),be(l,{key:1,tag:N(t)},null,8,["tag"])):(z(),be(a,{key:0}))]),default:Fe(()=>[Ye(s.$slots,"default")]),_:3},16)):Ye(s.$slots,"default",{key:1})],512)}}}),H2=Object.assign(j2,{__name:"AccountTagHoverWrapper"}),ms=Q(),gu=Q(new Map);let Ii;function U2(e){return Ii?ms.value?gu.value.get(e)?{highlighter:ms.value}:{promise:ms.value.loadLanguage(e).then(()=>{gu.value.set(e,!0)}).catch(()=>{ms.value?.loadLanguage("md").then(()=>{gu.value.set("md",!0)})})}:{promise:Ii}:(Ii=V(()=>import("./BDzwB5vw.js"),[],import.meta.url).then(async({createHighlighter:t})=>{ms.value=await t({themes:["vitesse-dark","vitesse-light"],langs:["js","css","html"]})}),{promise:Ii})}function W2(){return ml().value==="dark"?"vitesse-dark":"vitesse-light"}const V2=/[<>&'"]/g,z2={"<":"&lt;",">":"&gt;","&":"&amp;","'":"&apos;",'"':"&quot;"};function q2(e){return e.replace(V2,t=>z2[t])}function K2(e,t){const{highlighter:n}=U2(t);return n?n.codeToHtml(e,{lang:t,theme:W2()}):q2(e)}const G2=["innerHTML"],Y2={key:1,class:"code-block"},X2=ge({__name:"ContentCode",props:{code:{},lang:{}},setup(e){const t=/&#39;/g,n=K(()=>
12decodeURIComponent(e.code).replace(t,"'")),r={js:"javascript",ts:"typescript",vue:"html"},o=K(()=>e.lang?K2(n.value,r[e.lang]||e.lang):n);return(s,i)=>e.lang?(z(),oe("pre",{key:0,class:"code-block",innerHTML:N(o)},null,8,G2)):(z(),oe("pre",Y2,ye(N(n)),1))}}),J2=Object.assign(X2,{__name:"ContentCode"}),Q2=ge({__name:"ContentMentionGroup",props:{replying:{type:Boolean}},setup(e){return(t,n)=>(z(),oe("p",{flex:"~ gap-1 wrap","items-center":"","text-sm":"",class:Je({"zen-none":!e.replying})},[n[0]||(n[0]=J("span",{"i-ri-arrow-right-line":"","ml--1":"","text-secondary-light":""},null,-1)),Ye(t.$slots,"default")],2))}}),Z2=Object.assign(Q2,{__name:"ContentMentionGroup"}),eN=ge({__name:"Emoji",props:{as:{},alt:{},dataEmojiId:{}},setup(e){const t=/:/g,n=/_/g,r=Q();return e.alt&&(e.alt.startsWith(":")?r.value=e.alt.replace(t,""):V(async()=>{const{find:o}=await import("./DTMKycC_.js");return{find:o}},[],import.meta.url).then(({find:o})=>{r.value=o(e.alt)?.key.replace(n," ")})),e.dataEmojiId&&(r.value=e.dataEmojiId),(o,s)=>(z(),be(ni(e.as),Ot(o.$attrs,{alt:e.alt,"data-emoji-id":e.dataEmojiId,title:N(r)}),{default:Fe(()=>[Ye(o.$slots,"default")]),_:3},16,["alt","data-emoji-id","title"]))}}),tN=Object.assign(eN,{__name:"Emoji"}),nN=/(.+\.)(.+\..+)/,rN=/\s/g;function oN(e){return e.filter(({type:t})=>t===tn).map(({value:t})=>t).reduce((t,n)=>t+n,"").trim()}function sN(e,t){let n=rc(e,t);const r=oN(n.children);return t?.hideEmojis&&r.length===0&&(n=rc(e,{...t,hideEmojis:!1})),we(Ce,(n.children||[]).map(o=>Vr(o)))}function xc(e){if(e.type===tn)return e.value;if(e.name==="mention-group")return we(Z2,e.attributes,()=>e.children.map(Vr));if(e.name==="picture"||e.name==="img"&&e.attributes?.alt){const t=e.attributes??{};return t.as=e.name,we(tN,t,()=>e.children.map(Vr))}if("children"in e){if(e.name==="a"){if(e.attributes.href?.startsWith("/")||e.attributes.href?.startsWith(".")){e.attributes.to=e.attributes.href;const{href:t,target:n,...r}=e.attributes;return we(ev,r,()=>e.children.map(Vr))}return we(e.name,e.attributes,e.children.map(t=>{if(t&&t.type===ha&&t.name!=="bdi"&&t.attributes?.class?.includes("ellipsis")){const n=t.children.splice(0,t.children.length),r={...t,name:"bdi",children:n};return n.forEach(o=>o.parent=r),Vr(r)}return Vr(t)}))}return we(e.name,e.attributes,e.children.map(Vr))}return null}function Vr(e){if(!e)return null;if(e.type===tn)return Ov(e.value);if("children"in e){const t=lN(e);return t==null?null:Fr(t)?t:xc(t)}return null}function Dm(e){if(e.children.length===1&&e.children[0].type===ha&&e.children[0].name==="bdi")return;const t=e.children.splice(0,e.children.length),n={name:"bdi",parent:e,loc:e.loc,type:ha,attributes:{},children:t};t.forEach(r=>r.parent=n),e.children.push(n)}function iN(e){if(e.name==="a"&&e.attributes.class?.includes("mention")){const t=e.attributes.href;if(t){const n=t.match(Iv);if(n){const[,o,s]=n,i=`${s}@${o.replace(nN,"$2")}`;return e.attributes.href=`/${o}/@${s}`,Dm(e),we(JD,{handle:i,class:"inline-block"},()=>xc(e))}const r=t.match(sT);if(r){const[,,o]=r;return Dm(e),e.attributes.href=`/${Ue.value}/tags/${o}`,we(H2,{tagName:o,class:"inline-block"},()=>xc(e))}}}}function aN(e){if(e.name==="pre"&&e.children[0]?.name==="code"){const t=e.children[0],r=t.attributes.class?.split(rN).find(s=>s.startsWith("language-"))?.replace("language-",""),o=t.children&&t.children.length>0?Bv(t):"";return we(J2,{lang:r,code:encodeURIComponent(o)})}}function lN(e){return aN(e)||iN(e)||e}const uN=ge({name:"ContentRich",props:{content:{type:String,required:!0},emojis:{type:Array,default:void 0},hideEmojis:{type:Boolean,default:!1},markdown:{type:Boolean,default:!0}},setup(e){const t=m2(()=>e.emojis);return()=>we("span",{class:"content-rich",dir:"auto"},sN(e.content,{emojis:t.value,hideEmojis:e.hideEmojis,markdown:e.markdown}))}}),XD=Object.assign(uN,{__name:"ContentRich"});function cN(){const{n:e,locale:t}=Dn(),n=r=>e(r,r<1e4?"smallCounting":r<1e6?"kiloCounting":"millionCounting",t.value);return{formatHumanReadableNumber:r=>n(N(r)),formatNumber:r=>e(N(r),"smallCounting",t.value),formatPercentage:r=>e(N(r),"percentage",t.value),forSR:r=>N(r)>1e4}}function g8(e,t={dateStyle:"long",timeStyle:"medium"}){const{locale:n}=Dn(),r=K(()=>Intl.DateTimeFormat(n.value,t));return K(()=>{const o=ae(e);return o?r.value.format(new Date(o)):""})}function _8(e=!1){const{d:t,t:n,n:r,locale:o}=Dn(),s=e?"short_":"",i=(a,l,c)=>n(`time_ago_options.${s}${c}_${l?"past":"future"}`,a,{named:{v:r(a,"smallCounting",o.value)}});return{rounding:"floor",showSecond:!e,updateInterval:e?6e4:1e3,messages:{justNow:n("time_ago_options.just_now"),past:a=>a,future:a=>a,second:(a,l)=>i(a,l,"second"),minute:(a,l)=>i(a,l,"minute"),hour:(a,l)=>i(a,l,"hour"),day:(a,l)=>i(a,l,"day"),week:(a,l)=>i(a,l,"week"),month:(a,l)=>i(a,l,"month"),year:(a,l)=>i(a,l,"year"),invalid:""},fullDateFormatter(a){return t(a,e?"short":"long")}}}function v8(){const{locale:e}=Dn(),t=K(()=>[Intl.NumberFormat(e.value,{style:"unit",unit:"megabyte",unitDisplay:"narrow",maximumFractionDigits:0}),Intl.NumberFormat(e.value,{style:"unit",unit:"kilobyte",unitDisplay:"narrow",maximumFractionDigits:0})]),n=1024*1024;function r(o){return o>
12=n?t.value[0].format(o/n):t.value[1].format(o/1024)}return{formatFileSize:r}}const fN={"sr-only":""},dN=ge({inheritAttrs:!1,__name:"LocalizedNumber",props:{count:{},keypath:{}},setup(e){const{formatHumanReadableNumber:t,formatNumber:n,forSR:r}=cN(),o=K(()=>r(e.count)),s=K(()=>n(e.count)),i=K(()=>t(e.count));return(a,l)=>{const c=wl,u=Wt("i18n-t");return z(),be(u,{keypath:e.keypath,plural:e.count,tag:"span",class:"flex gap-x-1"},{default:Fe(()=>[N(o)?(z(),be(c,{key:0,content:N(s),placement:"bottom"},{default:Fe(()=>[J("span",Ot({"aria-hidden":"true"},a.$attrs),ye(N(i)),17),J("span",fN,ye(N(s)),1)]),_:1},8,["content"])):(z(),oe("span",Tm(Ot({key:1},a.$attrs)),ye(N(i)),17))]),_:1},8,["keypath","plural"])}}}),hN=Object.assign(dN,{__name:"CommonLocalizedNumber"}),pN={flex:"","gap-5":""},mN={key:1,flex:"","gap-x-1":""},gN={key:1},_N={key:1,flex:"","gap-x-1":""},vN={key:1},yN=ge({__name:"AccountPostsFollowers",props:{account:{},isHoverCard:{type:Boolean}},setup(e){const t=ar();return(n,r)=>{const o=hN,s=Dy;return z(),oe("div",pN,[he(s,{to:("getAccountRoute"in n?n.getAccountRoute:N(Us))(e.account),replace:"","text-secondary":"","exact-active-class":"text-primary"},{default:Fe(({isExactActive:i})=>[he(o,{keypath:"account.posts_count",count:e.account.statusesCount,"font-bold":"",class:Je(i?"text-primary":"text-base")},null,8,["count","class"])]),_:1},8,["to"]),e.isHoverCard&&("getPreferences"in n?n.getPreferences:N(kn))(N(t),"hideFollowerCount")?Ve("",!0):(z(),be(s,{key:0,to:("getAccountFollowingRoute"in n?n.getAccountFollowingRoute:N(bk))(e.account),replace:"","text-secondary":"","exact-active-class":"text-primary"},{default:Fe(({isExactActive:i})=>[("getPreferences"in n?n.getPreferences:N(kn))(N(t),"hideFollowerCount")?(z(),oe("span",gN,ye(n.$t("account.following")),1)):(z(),oe(Ce,{key:0},[e.account.followingCount>=0?(z(),be(o,{key:0,keypath:"account.following_count",count:e.account.followingCount,"font-bold":"",class:Je(i?"text-primary":"text-base")},null,8,["count","class"])):(z(),oe("div",mN,[r[0]||(r[0]=J("span",{"font-bold":"","text-base":""},"Hidden",-1)),J("span",null,ye(n.$t("account.following")),1)]))],64))]),_:1},8,["to"])),e.isHoverCard&&("getPreferences"in n?n.getPreferences:N(kn))(N(t),"hideFollowerCount")?Ve("",!0):(z(),be(s,{key:1,to:("getAccountFollowersRoute"in n?n.getAccountFollowersRoute:N(wk))(e.account),replace:"","text-secondary":"","exact-active-class":"text-primary"},{default:Fe(({isExactActive:i})=>[("getPreferences"in n?n.getPreferences:N(kn))(N(t),"hideFollowerCount")?(z(),oe("span",vN,ye(n.$t("account.followers")),1)):(z(),oe(Ce,{key:0},[e.account.followersCount>=0?(z(),be(o,{key:0,keypath:"account.followers_count",count:e.account.followersCount,"font-bold":"",class:Je(i?"text-primary":"text-base")},null,8,["count","class"])):(z(),oe("div",_N,[r[1]||(r[1]=J("span",{"font-bold":"","text-base":""},"Hidden",-1)),J("span",null,ye(n.$t("account.followers")),1)]))],64))]),_:1},8,["to"]))])}}}),DN=Object.assign(yN,{__name:"AccountPostsFollowers"}),bN={flex:"~ col gap2",rounded:"","min-w-90":"","max-w-120":"","z-100":"","overflow-hidden":"","p-4":""},wN={flex:"~ gap2","items-center":""},EN={key:0,"max-h-100":"","overflow-y-auto":""},CN=ge({__name:"AccountHoverCard",props:{account:{}},setup(e){const t=YD(e.account);return(n,r)=>{const o=QD,s=Dy,i=f2,a=XD,l=DN;return q0((z(),oe("div",bN,[J("div",wN,[he(s,{to:("getAccountRoute"in n?n.getAccountRoute:N(Us))(e.account),"flex-auto":"","rounded-full":"","hover:bg-active":"","transition-100":"",pe5:"","me-a":""},{default:Fe(()=>[he(o,{account:e.account,"hover-card":!1},null,8,["account"])]),_:1},8,["to"]),he(i,{"text-sm":"",account:e.account,relationship:N(t)},null,8,["account","relationship"])]),e.account.note?(z(),oe("div",EN,[he(a,{"text-4":"","text-secondary":"",content:e.account.note,emojis:e.account.emojis},null,8,["content","emojis"])])):Ve("",!0),he(l,{"text-sm":"",account:e.account,"is-hover-card":!0},null,8,["account"])],512)),[[fw,N(t)]])}}}),FN=Object.assign(CN,{__name:"AccountHoverCard"}),AN=ge({inheritAttrs:!1,__name:"AccountHoverWrapper",props:{account:{},handle:{},disabled:{type:Boolean}},setup(e){const t=e,n=Q(),r=vv(n),o=Q(t.account);De(()=>[t.account,t.handle,r.value],([i,a,l],c)=>{if(l){if(i){o.value=i;return}if(a){const[u,f,d]=c??[void 0,void 0,!1];(!f||a!==f||!o.value)&&ry(a).then(h=>{a===t.handle&&(o.value=h)});return}o.value=void 0}},{immediate:!0,flush:"post"});const s=ar();return(i,a)=>{const l=FN,c=Wt("VMenu");return z(),oe("span",{ref_key:"accountHover",ref:n},[!e.disabled&&N(o)&&!("getPreferences"in i?i.getPreferences:N(kn))(N(s),"hideAccountHoverCard")?(z(),be(c,Ot({key:0,placement:"bottom-start",delay:{show:500,hide:100}},i.$attrs,{"close-on-content-click":!1,"no-auto-focus":""}),{popper:Fe(()=>[N(o)?(z(),be(l,{key:0,account:N(o)},null,8,["account"])):Ve("",!0)]),default:Fe(()=>[Ye(i.$slots,"default")]),_:3},16)):Ye(i.$slots,"default",{key:1})],512)}}}),JD=Object.assign(AN,{__name:"AccountHoverWrapper"}),SN=ge({__name:"AccountDisplayName",props:{account:{},hideEmojis:{type:Boolean,default:!1}},setup(e){return(t,n)=>{const r=XD;return z(),be(r,{content:("getDisplayName"in t?t.getDisplayName:N(yk))(e.account,{rich:!0}),emojis:e.account.emojis,"hide-emojis":e.hideEmojis,markdown:!1},null,8,["content","emojis","hide-emojis"])}}}),TN=Object.assign(SN,{__name:"AccountDisplayName"}),kN={key:0},RN=ge({__name:"AccountLockIndicator",props:{showLabel:{type:Boolean}},setup(e){const{t}=Dn();return(n,r)=>{const o=wl;return z(),oe("div",{flex:"~ gap1","items-center":"",class:Je({"border border-base rounded-md px-1":e.showLabel}),"text-secondary-light":""},[Ye(n.$slots,"prepend"),he(o,{content:"Lock",disabled:e.showLabel},{default:Fe(()=>[...r[0]||(r[0]=[J("div",{"i-ri:lock-line":""},null,-1)])]),_:1},8,["disabled"]),e.showLabel?(z(),oe("div",kN,ye(N(t)("account.lock")),1)):Ve("",!0)],2)}}}),PN=Object.assign(RN,{__name:"AccountLockIndicator"}),ON={key:0},LN=ge({__name:"AccountBotIndicator",props:{showLabel:{type:Boolean}},setup(e){return(t,n)=>{const r=wl;return z(),oe("div",{flex:"~ gap1","items-center":"",class:Je({"border border-base rounded-md px-1":e.showLabel}),"text-secondary-light":""},[Ye(t.$slots,"prepend"),he(r,{content:t.$t("account.bot"),disabled:e.showLabel},{default:Fe(()=>[...n[0]||(n[0]=[J("div",{"i-mdi:robot-outline":""},null,-1)])]),_:1},8,["content","disabled"]),e.showLabel?(z(),oe("div",ON,ye(t.$t("account.bot")),1)):Ve("",!0)],2)}}}),$N=Object.assign(LN,{__name:"AccountBotIndicator"}),xN={"line-clamp-1":"","whitespace-pre-wrap":"","break-all":"","text-secondary-light":"","leading-tight":"",dir:"ltr"},IN={"text-secondary":""},NN={key:0,"text-secondary-light":""},MN=ge({__name:"AccountHandle",props:{account:{}},setup(e){const t=K(()=>ga(e.account));return(n,r)=>(z(),oe("p",xN,[J("span",IN,ye(("getShortHandle"in n?n.getShortHandle:N(oy))(e.account)),1),N(t)?(z(),oe("span",NN,"@"+ye(N(t)),1)):Ve("",!0)]))}}),BN=Object.assign(MN,{__name:"AccountHandle"}),jN={flex:"~ gap1","items-center":"",class:"border border-base rounded-md px-1","text-secondary-light":""},HN={key:0,flex:"~ gap1","items-center":"",class:"border border-base rounded-md px-1","text-secondary-light":""},UN=ge({__name:"AccountRolesIndicator",props:{account:{},limit:{}},setup(e){return(t,n)=>(z(),oe(Ce,null,[J("div",jN,[Ye(t.$slots,"prepend"),(z(!0),oe(Ce,null,gg(e.account.roles?.slice(0,e.limit),r=>(z(),oe("div",{key:r.id,flex:""},[J("div",{style:yr(`color: ${r.color}; border-color: ${r.color}`)},ye(r.name),5)]))),128))]),e.limit&&e.account.roles?.length>e.limit?(z(),oe("div",HN," +"+ye(e.account.roles?.length-e.limit),1)):Ve("",!0)],64))}}),WN=Object.assign(UN,{__name:"AccountRolesIndicator"}),VN={flex:"~ col",shrink:"","h-full":"","overflow-hidden":"","justify-center":"","leading-none":"","select-none":"","p-1":""},zN={flex:"~","gap-2":""},qN={"self-start":"","mt-1":""},KN=ge({inheritAttrs:!1,__name:"AccountInfo",props:{account:{},as:{default:"div"},hoverCard:{type:Boolean},square:{type:Boolean}},setup(e){return(t,n)=>{const r=YI,o=JD,s=TN,i=PN,a=$N,l=BN,c=WN;return z(),be(ni(e.as),Ot({flex:"","items-center":"","gap-3":""},t.$attrs),{default:Fe(()=>[he(o,{disabled:!e.hoverCard,account:e.account},{default:Fe(()=>[he(r,{account:e.account,"shrink-0":"",square:e.square},null,8,["account","square"])]),_:1},8,["disabled","account"]),J("div",VN,[J("div",zN,[he(s,{account:e.account,"font-bold":"","line-clamp-1":"","ws-pre-wrap":"","break-all":"","text-lg":""},null,8,["account"]),e.account.locked?(z(),be(i,{key:0,"text-xs":""})):Ve("",!0),e.account.bot?(z(),be(a,{key:1,"text-xs":""})):Ve("",!0)]),he(l,{account:e.account,"text-secondary-light":""},null,8,["account"]),J("div",qN,[e.account.roles?.length?(z(),be(c,{key:0,account:e.account,limit:1},null,8,["account"])):Ve("",!0)])])]),_:1},16)}}}),QD=Object.assign(KN,{__name:"AccountInfo"}),GN=Symbol("dropdown-context");function YN(){return et(GN,void 0)}const XN={flex:"~ col"},JN={"text-15px":""},QN={"text-3":"","text-secondary":""},ZN={key:0},eM={key:1,"i-ri:check-line":""},tM=ge({__name:"DropdownItem",props:{is:{default:"div"},text:{},description:{},icon:{},checked:{type:Boolean},command:{type:Boolean}},emits:["click"],setup(e,{emit:t}){const n=t,r=K(()=>e.is==="button"?"button":null),{hide:o}=YN()||{},s=Q();function i(a){o?.(),n("click",a)}return gr({scope:"Actions",order:-1,visible:()=>e.command&&e.text,name:()=>e.text,icon:()=>e.icon??"i-ri:question-line",description:()=>e.description,onActivate(){const a=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0});s.value?.dispatchEvent(a)}}),(a,l)=>(z(),be(ni(e.is),Ot(a.$attrs,{ref_key:"el",ref:s,type:N(r),"w-full":"",flex:"","gap-3":"","items-center":"","cursor-pointer":"",px4:"",py3:"","select-none":"","hover-bg-active":"","aria-label":e.text,onClick:i}),{default:Fe(()=>[e.icon?(z(),oe("div",{key:0,class:Je(e.icon)},null,2)):Ve("",!0),J("div",XN,[J("div",JN,[Ye(a.$slots,"default",{},()=>[no(ye(e.text),1)])]),J("div",QN,[Ye(a.$slots,"description",{},()=>[e.description?(z(),oe("p",ZN,ye(e.description),1)):Ve("",!0)])])]),l[0]||(l[0]=J("div",{"flex-auto":""},null,-1)),e.checked?(z(),oe("div",eM)):Ve("",!0),Ye(a.$slots,"actions")]),_:3},16,["type","aria-label"]))}}),nM=Object.assign(tM,{__name:"CommonDropdownItem"}),rM=["aria-label","onClick"],oM={key:0,"i-ri:check-line":"","text-primary":"",mya:"","text-2xl":""},sM={border:"t base",pt2:""},iM=ge({__name:"UserSwitcher",emits:["click"],setup(e,{emit:t}){const n=t,r=rl(),{singleInstanceServer:o,oauth:s}=Gf(),i=K(()=>[pe.value,...r.value.filter(u=>
12u.token!==pe.value?.token)].filter(Boolean)),a=He();function l(u){u.account.id===pe.value?.account.id?a.push(Us(u.account)):fk(u)}function c(){o?s():el()}return(u,f)=>{const d=QD,h=nM;return z(),oe("div",{"sm:min-w-80":"","max-w-100vw":"",mxa:"",py2:"",flex:"~ col",onClick:f[0]||(f[0]=p=>n("click"))},[(z(!0),oe(Ce,null,gg(N(i),p=>(z(),oe("button",{key:p.id,flex:"",rounded:"",px4:"",py3:"","text-left":"","hover:bg-active":"","cursor-pointer":"","transition-100":"","aria-label":u.$t("action.switch_account"),onClick:g=>l(p)},[he(d,{account:p.account,"hover-card":!1,square:""},null,8,["account"]),f[1]||(f[1]=J("div",{"flex-auto":""},null,-1)),p.token===("currentUser"in u?u.currentUser:N(pe))?.token?(z(),oe("div",oM)):Ve("",!0)],8,rM))),128)),J("div",sM,[he(h,{is:"button",text:u.$t("user.add_existing"),icon:"i-ri:user-add-line","w-full":"",onClick:c},null,8,["text"]),("isHydrated"in u?u.isHydrated:N(It))&&("currentUser"in u?u.currentUser:N(pe))?(z(),be(h,{key:0,is:"button",text:u.$t("user.sign_out_account",[("getFullHandle"in u?u.getFullHandle:N(_a))(("currentUser"in u?u.currentUser:N(pe)).account)]),icon:"i-ri:logout-box-line rtl-flip","w-full":"",onClick:"signOut"in u?u.signOut:N(ny)},null,8,["text","onClick"])):Ve("",!0)])])}}}),aM=Object.assign(iM,{__name:"UserSwitcher"}),lM={style:{"-webkit-touch-callout":"none"}},uM=["disabled"],cM={key:0,"aria-hidden":"true",block:"",animate:"","animate-spin":"","preserve-3d":"",class:"rtl-flip"}
12,fM={key:1,"aria-hidden":"true",block:"","i-ri:login-circle-line":"",class:"rtl-flip"},dM=ge({__name:"NavUser",setup(e){const{busy:t,oauth:n,singleInstanceServer:r}=Gf();return(o,s)=>{const i=GD,a=aM,l=Wt("VDropdown"),c=Wt("i18n-t");return("isHydrated"in o?o.isHydrated:N(It))&&("currentUser"in o?o.currentUser:N(pe))?(z(),be(l,{key:0,"sm:hidden":""},{popper:Fe(({hide:u})=>[he(a,{onClick:f=>u()},null,8,["onClick"])]),default:Fe(()=>[J("div",lM,[he(i,{account:("currentUser"in o?o.currentUser:N(pe)).account,"h-8":"","w-8":"",draggable:!1,square:""},null,8,["account"])])]),_:1})):(z(),oe(Ce,{key:1},[N(r)?(z(),oe("button",{key:0,flex:"~ row","gap-x-1":"","items-center":"","justify-center":"","btn-solid":"","text-sm":"","px-2":"","py-1":"","xl:hidden":"",disabled:N(t),onClick:s[0]||(s[0]=u=>N(n)())},[N(t)?(z(),oe("span",cM,[...s[2]||(s[2]=[J("span",{block:"","i-ri:loader-2-fill":"","aria-hidden":"true"},null,-1)])])):(z(),oe("span",fM)),he(c,{keypath:"action.sign_in_to"},{default:Fe(()=>[J("strong",null,ye("currentServer"in o?o.currentServer:N(Ue)),1)]),_:1})],8,uM)):(z(),oe("button",{key:1,flex:"~ row","gap-x-1":"","items-center":"","justify-center":"","btn-solid":"","text-sm":"","px-2":"","py-1":"","xl:hidden":"",onClick:s[1]||(s[1]=u=>("openSigninDialog"in o?o.openSigninDialog:N(el))())},[s[3]||(s[3]=J("span",{"aria-hidden":"true",block:"","i-ri:login-circle-line":"",class:"rtl-flip"},null,-1)),no(" "+ye(o.$t("action.sign_in")),1)]))],64))}}}),hM=Object.assign(dM,{__name:"NavUser"}),pM={},mM={"bg-base":"","h-8":"","w-8":"","rounded-full":""};function gM(e,t){return z(),oe("div",mM)}const _M=Object.assign(bl(pM,[["render",gM]]),{__name:"NavUserSkeleton"}),vM={},yM={flex:"~ gap-2","items-center":""},DM={flex:"~ gap-1"};function bM(e,t){return("useNuxtApp"in e?e.useNuxtApp:N(fe))().$pwa?.showInstallPrompt&&!("useNuxtApp"in e?e.useNuxtApp:N(fe))().$pwa?.needRefresh?(z(),oe("div",Ot({key:0,"m-2":"",p5:"",bg:"primary-fade",relative:"","rounded-lg":"","of-hidden":"",flex:"~ col gap-3"},e.$attrs),[J("h2",yM,ye(e.$t("pwa.install_title")),1),J("div",DM,[J("button",{type:"button","btn-solid":"","px-4":"","py-1":"","text-center":"","text-sm":"",onClick:t[0]||(t[0]=n=>("useNuxtApp"in e?e.useNuxtApp:N(fe))().$pwa?.install())},ye(e.$t("pwa.install")),1),J("button",{type:"button","btn-text":"","filter-saturate-0":"","px-4":"","py-1":"","text-center":"","text-sm":"",onClick:t[1]||(t[1]=n=>("useNuxtApp"in e?e.useNuxtApp:N(fe))().$pwa?.cancelInstall())},ye(e.$t("pwa.dismiss")),1)]),t[2]||(t[2]=J("div",{"i-material-symbols:install-desktop-rounded":"",absolute:"","text-6em":"","bottom--2":"","inset-ie--2":"","text-primary":"","dark:text-white":"",op10:"",class:"-z-1 rtl-flip"},null,-1))],16)):Ve("",!0)}const wM=Object.assign(bl(vM,[["render",bM]]),{__name:"PwaInstallPrompt"}),El=C1(E1),y8=El.smaller("sm"),EM=El.smaller("lg"),D8=El.between("sm","xl"),CM=El.greaterOrEqual("xl"),FM=fy(zI),AM=fy(wM),SM={flex:"~ items-center","w-full":""},TM=["aria-label"],kM={flex:"","w-full":""},RM={flex:"~ items-center shrink-0 gap-x-2","px-3":""},PM=ge({__name:"MainContent",props:{back:{type:[Boolean,String],default:!1},backOnSmallScreen:{type:Boolean},noOverflowHidden:{type:Boolean}},setup(e){const t=Q(),n=co(),r=ar(),{height:o}=Y1(),{height:s}=O1(t),i=K(()=>n.meta.wideLayout??!1),a=K(()=>n.path?.startsWith("/settings/")),l=K(()=>!It.value||!a.value||o.value<s.value?null:"lg:sticky lg:top-0"),c=K(()=>{switch(e.back){case"small-only":return EM.value;case!0:return!CM.value;default:return!1}});return(u,f)=>{const d=FM,h=hM,p=_M,g=AM;return z(),oe("div",{ref_key:"container",ref:t,class:Je(N(l))},[J("div",{sticky:"","top-0":"","z-20":"",pt:"[env(safe-area-inset-top,0)]",bg:"[rgba(var(--rgb-bg-base),0.7)]",class:Je({"backdrop-blur":!("getPreferences"in u?u.getPreferences:N(kn))(N(r),"optimizeForLowPerformanceDevice")})},[J("div",{flex:"~ justify-between","min-h-53px":"","px-2":"","py-1":"",class:Je({"xl:hidden":(u._.provides[tr]||u.$route).name!=="tag"}),border:"b base"},[J("div",SM,[e.backOnSmallScreen||N(c)?(z(),oe("button",{key:0,"btn-text":"",flex:"","items-center":"","p-3":"","xl:hidden":"","aria-label":u.$t("nav.back"),onClick:f[0]||(f[0]=v=>u.$router.go(-1))},[...f[1]||(f[1]=[J("div",{"text-lg":"","i-ri:arrow-left-line":"",class:"rtl-flip"},null,-1)])],8,TM)):Ve("",!0),J("div",kM,[Ye(u.$slots,"title")]),f[2]||(f[2]=J("div",{"sm:hidden":"","h-7":"","w-1px":""},null,-1))]),J("div",RM,[Ye(u.$slots,"actions"),he(d,{"xl:hidden":""}),("isHydrated"in u?u.isHydrated:N(It))?(z(),be(h,{key:0})):(z(),be(p,{key:1}))])],2),Ye(u.$slots,"header",{},()=>[f[3]||(f[3]=J("div",{hidden:""},null,-1))])],2),he(g,{"xl:hidden":""}),J("div",{class:Je(("isHydrated"in u?u.isHydrated:N(It))&&N(i)?"xl:w-full sm:max-w-600px":"sm:max-w-600px md:shrink-0"),"m-auto":""},[J("div",{hidden:"",class:Je({"xl:block":(u._.provides[tr]||u.$route).name!=="tag"&&!u.$slots.header}),"h-6":""},null,2),Ye(u.$slots,"default")],2)],2)}}}),OM=Object.assign(PM,{__name:"MainContent"}),LM={"text-secondary":""},$M=["disabled"],xM={key:0,block:"","animate-spin":"","preserve-3d":""},IM="Something went wrong",NM=ge({__name:"error",props:{error:{}},setup(e){const t={404:"Page not found"},n=e.error.message??t[e.error.statusCode]??IM,r=Q("error");async function o(){r.value="reloading";try{T_({redirect:pe.value?"/home":`/${Ue.value}/public/local`})}catch{r.value="error"}}return(s,i)=>{const a=LD,l=HI,c=OM,u=ID,f=ND;return z(),oe(Ce,null,[he(a,{color:"repeating-linear-gradient(to right,var(--c-primary) 0%,var(--c-primary-active) 100%)"}),he(u,null,{default:Fe(()=>[he(c,null,{title:Fe(()=>[he(l,null,{default:Fe(()=>[...i[0]||(i[0]=[no("Error",-1)])]),_:1})]),default:Fe(()=>[Ye(s.$slots,"default",{},()=>[J("form",{p5:"",grid:"","gap-y-4":"",onSubmit:o},[i[2]||(i[2]=J("div",{"text-lg":""}," Something went wrong ",-1)),J("div",LM,ye(N(n)),1),J("button",{flex:"","items-center":"","gap-2":"","justify-center":"","btn-solid":"","text-center":"",disabled:N(r)==="reloading"},[N(r)==="reloading"?(z(),oe("span",xM,[...i[1]||(i[1]=[J("span",{block:"","i-ri:loader-2-fill":""},null,-1)])])):Ve("",!0),no(" "+ye(N(r)==="reloading"?"Reloading":"Reload"),1)],8,$M)],32)])]),_:3})]),_:3}),he(f)],64)}}}),MM={key:0},bm={__name:"nuxt-root",setup(e){const t=()=>null,n=fe(),r=n.deferHydration();if(n.isHydrating){const u=n.hooks.hookOnce("app:error",r),f=He().beforeEach(()=>{u(),f()})}const o=!1;Xn(tr,co()),n.hooks.callHookWith(u=>u.map(f=>f()),"vue:setup",[]);const s=Xa(),i=!1,a=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;function l(u,f,d){const h=n.vueApp.config.errorHandler;if(h&&!h.__nuxt_default)try{h(u,f,d)}catch{}}pg((u,f,d)=>{if(n.hooks.callHook("vue:error",u,f,d)?.catch(h=>{}),a.test(navigator.userAgent))return n.hooks.callHook("app:error",u),!1;if(k_(u)&&(u.fatal||u.unhandled))return n.runWithContext(()=>Ur(u)),l(u,f,d),!1});const c=!1;return(u,f)=>
12(z(),be(ef,{onResolve:N(r)},{default:Fe(()=>[N(i)?(z(),oe("div",MM)):N(s)?(z(),be(N(NM),{key:1,error:N(s)},null,8,["error"])):N(c)?(z(),be(N(t),{key:2,context:N(c)},null,8,["context"])):N(o)?(z(),be(ni(N(o)),{key:3})):(z(),be(N(MI),{key:4}))]),_:1},8,["onResolve"]))}};let wm;{let e;wm=async function(){if(e)return e;const n=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true"),r=n?Rw(bm):Jg(bm),o=ME({vueApp:r});async function s(i){await o.callHook("app:error",i),o.payload.error||=br(i)}s.__nuxt_default=!0,r.config.errorHandler=s,o.hook("app:suspense:resolve",()=>{r.config.errorHandler===s&&(r.config.errorHandler=void 0)}),!n&&qd.id&&o.hook("app:suspense:resolve",()=>{document.getElementById(qd.id)?.remove()});try{await HE(o,Ox)}catch(i){s(i)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(xE),await o.hooks.callHook("app:mounted",r),await ot()}catch(i){s(i)}return r},e=wm().catch(t=>{throw t})}export{a3 as $,Qo as A,R3 as B,Wt as C,J as D,gg as E,Ce as F,Dy as G,K1 as H,oc as I,Q as J,K,pa as L,fy as M,GD as N,pe as O,Vt as P,nM as Q,qf as R,Nx as S,Tm as T,jg as U,D3 as V,WM as W,Ot as X,B1 as Y,fo as Z,HI as _,co as a,i3 as a$,Je as a0,Us as a1,TN as a2,JD as a3,hN as a4,y3 as a5,Z3 as a6,Ue as a7,Sr as a8,o3 as a9,fw as aA,it as aB,W3 as aC,Ef as aD,tn as aE,Ov as aF,qM as aG,Rf as aH,p3 as aI,i8 as aJ,l8 as aK,PN as aL,KM as aM,$N as aN,BN as aO,G3 as aP,Kx as aQ,N3 as aR,u8 as aS,fd as aT,V as aU,ar as aV,iv as aW,ml as aX,Fh as aY,yr as aZ,ie as a_,ti as aa,g8 as ab,YI as ac,wl as ad,XD as ae,tl as af,HM as ag,ni as ah,ga as ai,tr as aj,s8 as ak,VM as al,XM as am,q0 as an,GM as ao,UM as ap,zr as aq,ck as ar,uk as as,n1 as at,r1 as au,De as av,ot as aw,sw as ax,Pe as ay,fn as az,Tf as b,p8 as b$,YM as b0,mx as b1,kn as b2,gr as b3,QD as b4,rl as b5,bl as b6,fe as b7,f2 as b8,Zo as b9,P3 as bA,Pf as bB,A3 as bC,O3 as bD,t8 as bE,pk as bF,sN as bG,m2 as bH,jM as bI,L3 as bJ,l3 as bK,b3 as bL,U1 as bM,zM as bN,C3 as bO,xc as bP,z3 as bQ,q3 as bR,f3 as bS,K3 as bT,r8 as bU,Gg as bV,Xn as bW,GN as bX,ir as bY,lo as bZ,h8 as b_,Fr as ba,O1 as bb,a8 as bc,gk as bd,J3 as be,g1 as bf,ja as bg,m3 as bh,X3 as bi,yk as bj,n8 as bk,I3 as bl,Y3 as bm,Ya as bn,pb as bo,et as bp,Nv as bq,h3 as br,T3 as bs,YD as bt,c8 as bu,f8 as bv,d8 as bw,H3 as bx,v3 as by,F3 as bz,z as c,fk as c$,ss as c0,v8 as c1,S3 as c2,we as c3,_t as c4,Vc as c5,zc as c6,JM as c7,rT as c8,Af as c9,DN as cA,kt as cB,g3 as cC,_1 as cD,e8 as cE,F2 as cF,D8 as cG,n3 as cH,s3 as cI,r3 as cJ,t3 as cK,yv as cL,E3 as cM,y1 as cN,k3 as cO,lk as cP,WN as cQ,oy as cR,Q3 as cS,ry as cT,nl as cU,T_ as cV,QM as cW,y8 as cX,Gf as cY,el as cZ,aM as c_,U2 as ca,Rv as cb,nT as cc,Mh as cd,Js as ce,hR as cf,Z2 as cg,Dk as ch,V3 as ci,h1 as cj,j1 as ck,fg as cl,T2 as cm,Zt as cn,ae as co,ks as cp,bt as cq,av as cr,Re as cs,BM as ct,S2 as cu,L2 as cv,y2 as cw,B2 as cx,_m as cy,gf as cz,ge as d,H1 as d0,u3 as d1,ok as d2,d3,c3 as d4,_3 as d5,ut as d6,Kv as d7,qv as d8,w3 as d9,XT as dA,U3 as dB,JT as dC,qh as dD,ct as dE,wM as dF,m8 as dG,KD as da,QT as db,$3 as dc,nk as dd,vm as de,B3 as df,ZT as dg,Yv as dh,M3 as di,Kh as dj,YT as dk,x3 as dl,Gv as dm,ek as dn,GT as dp,Xv as dq,j3 as dr,Gh as ds,qT as dt,lc as du,KT as dv,tk as dw,ac as dx,sk as dy,Jv as dz,oe as e,ho as f,os as g,be as h,N as i,Dn as j,fx as k,It as l,Ve as m,he as n,Qt as o,no as p,OM as q,Ye as r,cN as s,ye as t,He as u,_8 as v,Fe as w,Qr as x,Gt as y,zT as z};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.