PageSourceSearch

https://www.free2convert.com/_nuxt/BwYa6-TV.js

js free2convert.com collected 2026-10-04 08:40:31 UTC 449,948 bytes, 68 lines download raw bytes

vendor: 3,167 bytes, lines 1-5
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./-uLK7bqU.js","./CSK4lPVz.js","./muUSNxLZ.js","./Bn9-0bRJ.js","./DlAUqK2U.js","./CAG9Z6IW.js","./BOiaJA3P.js","./CqtsBHOB.js","./DuXtAlmg.js","./DY429H3E.js","./index.Dk4mB6Sh.css","./Dcg3y1ph.js","./DFjYiCu7.js","./bRKmu4jq.js","./Bgfm5tqZ.js","./DlIvQxB7.js","./lldZdVDi.js","./D3wpHQlj.js","./B9KQ0h48.js","./PNBJM-Le.js","./C9tC1kop.js","./Ciz8VBm6.js","./CMt5M0Cf.js","./D51AyV9S.js","./Cc2DncaK.js","./BhtIV7Mj.js","./DPFZ-yu4.js","./Bgm3YTZj.js","./D-QsvgoW.js","./BFe1ByB5.js","./BUEEl-_J.js","./index.DV38clLL.css","./kuw1wKwq.js","./BhT7oDR5.js","./_...34tm7dyi.css","./BZdQFtHl.js","./DmHTEEp0.js","./CyWjlA5D.js","./CSEFx22H.js","./adVbWWty.js","./CSbYzLYD.js","./BWBeBmKr.js","./CkHrI5zA.js","./DNhD9BYV.js","./DglWntJL.js","./Bm89PCU0.js","./CeI64NTT.js","./DcQqrI0c.js","./CAT-vhUz.js","./CdtLJYOe.js","./DBE_5Fl2.js","./index.qNOeyFU0.css","./DvxZr0UT.js","./index.C972gs4o.css","./D5mSH1sr.js","./index.KlW7LoX2.css","./CHSh-VYi.js","./vAM6n4bh.js","./BPfMnhpe.js","./q1GRjuGq.js","./Ek89VKSM.js","./B91TgYqY.js","./C9RdMvIh.js","./oak1Xr_p.js","./B_RK4na7.js","./D8aC_TgJ.js","./DVWz6yJa.js","./C4uix4fl.js","./CjkIkBRy.js","./BaEujsvs.js","./bwZnG3lx.js","./BQakFFjh.js","./index.BKuOYtM_.css","./CkkPzSpt.js","./dhVpw2mY.js","./BEN-LdAN.js","./Dt85nxY-.js","./b6dDupYU.js","./-jgjtTgf.js","./DMcW5KLn.js","./index.BfVCSvVh.css","./CFXs5g6d.js","./DGkf2eZK.js","./index.CaOFi90O.css","./Bhyn8Y3q.js","./Cj8Wf4cV.js","./25MZbCo4.js","./C78fvyXY.js","./CQQnvTRb.js","./_3SPbTWp.js","./DYQLqRFY.js","./rsc_g9qP.js","./Da9ooXgs.js","./CFQ_LMjz.js","./ProsePre.D5orA6B_.css","./xuuV8DMr.js","./dLAHyymX.js","./WvVtRc_m.js","./C_ZWXcvu.js","./CvOa0n0e.js","./v9-393io.js","./idvRzyN7.js","./BTpv1XeX.js","./DNZuk--n.js","./CaynlsJU.js","./BFE0v-VS.js","./DBE99Sfa.js","./error-404.CZ8ai6q2.css","./BSwCHjl-.js","./error-500.HF4WQMaD.css"])))=>i.map(i=>d[i]);
2var Yg=Object.defineProperty;var Bc=e=>{throw TypeError(e)};var Xg=(e,t,n)=>t in e?Yg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var xe=(e,t,n)=>Xg(e,typeof t!="symbol"?t+"":t,n),Qg=(e,t,n)=>t.has(e)||Bc("Cannot "+n);var gs=(e,t,n)=>(Qg(e,t,"read from private field"),n?n.call(e):t.get(e)),Vc=(e,t,n)=>t.has(e)?Bc("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();/**
3* @vue/shared v3.5.14
4* (c) 2018-present Yuxi (Evan) You and Vue contributors
5* @license MIT
6**//*! #__NO_SIDE_EFFECTS__ */function Gl(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ce={},Vr=[],nn=()=>{},Zg=()=>!1,uo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Jl=e=>e.startsWith("onUpdate:"),nt=Object.assign,Yl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},e_=Object.prototype.hasOwnProperty,Ee=(e,t)=>e_.call(e,t),ee=Array.isArray,Wr=e=>cs(e)==="[object Map]",ls=e=>cs(e)==="[object Set]",Wc=e=>cs(e)==="[object Date]",t_=e=>cs(e)==="[object RegExp]",oe=e=>typeof e=="function",$e=e=>typeof e=="string",Ht=e=>typeof e=="symbol",Pe=e=>e!==null&&typeof e=="object",Xl=e=>(Pe(e)||oe(e))&&oe(e.then)&&oe(e.catch),Xd=Object.prototype.toString,cs=e=>Xd.call(e),n_=e=>cs(e).slice(8,-1),Qd=e=>cs(e)==="[object Object]",Ql=e=>$e(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,zr=Gl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Oi=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},r_=/-(\w)/g,Lt=Oi(e=>e.replace(r_,(t,n)=>n?n.toUpperCase():"")),s_=/\B([A-Z])/g,Yn=Oi(e=>e.replace(s_,"-$1").toLowerCase()),Li=Oi(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ko=Oi(e=>e?`on${Li(e)}`:""),Hn=(e,t)=>!Object.is(e,t),qr=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Zd=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},ni=e=>{const t=parseFloat(e);return isNaN(t)?e:t},eh=e=>{const t=$e(e)?Number(e):NaN;return isNaN(t)?e:t};let zc;const Ii=()=>zc||(zc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Bn(e){if(ee(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=$e(r)?l_(r):Bn(r);if(s)for(const o in s)t[o]=s[o]}return t}else if($e(e)||Pe(e))return e}const o_=/;(?![^(]*\))/g,i_=/:([^]+)/,a_=/\/\*[^]*?\*\//g;function l_(e){const t={};return e.replace(a_,"").split(o_).forEach(n=>{if(n){const r=n.split(i_);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Et(e){let t="";if($e(e))t=e;else if(ee(e))for(let n=0;n<e.length;n++){const r=Et(e[n]);r&&(t+=r+" ")}else if(Pe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Fa(e){if(!e)return null;let{class:t,style:n}=e;return t&&!$e(t)&&(e.class=Et(t)),n&&(e.style=Bn(n)),e}const c_="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",u_=Gl(c_);function th(e){return!!e||e===""}function f_(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=gr(e[r],t[r]);return n}function gr(e,t){if(e===t)return!0;let n=Wc(e),r=Wc(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Ht(e),r=Ht(t),n||r)return e===t;if(n=ee(e),r=ee(t),n||r)return n&&r?f_(e,t):!1;if(n=Pe(e),r=Pe(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!gr(e[i],t[i]))return!1}}return String(e)===String(t)}function Zl(e,t){return e.findIndex(n=>gr(n,t))}const nh=e=>!!(e&&e.__v_isRef===!0),Cs=e=>$e(e)?e:e==null?"":ee(e)||Pe(e)&&(e.toString===Xd||!oe(e.toString))?nh(e)?Cs(e.value):JSON.stringify(e,rh,2):String(e),rh=(e,t)=>nh(t)?rh(e,t.value):Wr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[oa(r,o)+" =>"]=s,n),{})}:ls(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>oa(n))}:Ht(t)?oa(t):Pe(t)&&!ee(t)&&!Qd(t)?String(t):t,oa=(e,t="")=>{var n;return Ht(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
7* @vue/reactivity v3.5.14
8* (c) 2018-present Yuxi (Evan) You and Vue contributors
9* @license MIT
vendor: 5,570 bytes, line 10
10**/let at;class sh{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=at,!t&&at&&(this.index=(at.scopes||(at.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=at;try{return at=this,t()}finally{at=n}}}on(){++this._on===1&&(this.prevScope=at,at=this)}off(){this._on>0&&--this._on===0&&(at=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 s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function fo(e){return new sh(e)}function ho(){return at}function ri(e,t=!1){at&&at.cleanups.push(e)}let Le;const ia=new WeakSet;class oh{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,at&&at.active&&at.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ia.has(this)&&(ia.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||ah(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,qc(this),lh(this);const t=Le,n=Ft;Le=this,Ft=!0;try{return this.fn()}finally{ch(this),Le=t,Ft=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)nc(t);this.deps=this.depsTail=void 0,qc(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ia.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ha(this)&&this.run()}get dirty(){return Ha(this)}}let ih=0,Is,xs;function ah(e,t=!1){if(e.flags|=8,t){e.next=xs,xs=e;return}e.next=Is,Is=e}function ec(){ih++}function tc(){if(--ih>0)return;if(xs){let t=xs;for(xs=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Is;){let t=Is;for(Is=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 lh(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ch(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),nc(r),d_(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Ha(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(uh(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function uh(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Gs)||(e.globalVersion=Gs,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ha(e))))return;e.flags|=2;const t=e.dep,n=Le,r=Ft;Le=e,Ft=!0;try{lh(e);const s=e.fn(e._value);(t.version===0||Hn(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{Le=n,Ft=r,ch(e),e.flags&=-3}}function nc(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)nc(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function d_(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ft=!0;const fh=[];function bn(){fh.push(Ft),Ft=!1}function wn(){const e=fh.pop();Ft=e===void 0?!0:e}function qc(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Le;Le=void 0;try{t()}finally{Le=n}}}let Gs=0;class h_{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 xi{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}track(t){if(!Le||!Ft||Le===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Le)n=this.activeLink=new h_(Le,this),Le.deps?(n.prevDep=Le.depsTail,Le.depsTail.nextDep=n,Le.depsTail=n):Le.deps=Le.depsTail=n,dh(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=Le.depsTail,n.nextDep=void 0,Le.depsTail.nextDep=n,Le.depsTail=n,Le.deps===n&&(Le.deps=r)}return n}trigger(t){this.version++,Gs++,this.notify(t)}notify(t){ec();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{tc()}}}function dh(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)dh(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const si=new WeakMap,dr=Symbol(""),Ba=Symbol(""),Js=Symbol("");function lt(e,t,n){if(Ft&&Le){let r=si.get(e);r||si.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new xi),s.map=r,s.key=n),s.track()}}function pn(e,t,n,r,s,o){const i=si.get(e);if(!i){Gs++;return}const a=l=>{l&&l.trigger()};if(ec(),t==="clear")i.forEach(a);else{const l=ee(e),u=l&&Ql(n);if(l&&n==="length"){const c=Number(r);
vendor: 5,241 bytes, line 10
10i.forEach((f,d)=>{(d==="length"||d===Js||!Ht(d)&&d>=c)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),u&&a(i.get(Js)),t){case"add":l?u&&a(i.get("length")):(a(i.get(dr)),Wr(e)&&a(i.get(Ba)));break;case"delete":l||(a(i.get(dr)),Wr(e)&&a(i.get(Ba)));break;case"set":Wr(e)&&a(i.get(dr));break}}tc()}function p_(e,t){const n=si.get(e);return n&&n.get(t)}function Tr(e){const t=ge(e);return t===e?t:(lt(t,"iterate",Js),Rt(e)?t:t.map(rt))}function $i(e){return lt(e=ge(e),"iterate",Js),e}const m_={__proto__:null,[Symbol.iterator](){return aa(this,Symbol.iterator,rt)},concat(...e){return Tr(this).concat(...e.map(t=>ee(t)?Tr(t):t))},entries(){return aa(this,"entries",e=>(e[1]=rt(e[1]),e))},every(e,t){return an(this,"every",e,t,void 0,arguments)},filter(e,t){return an(this,"filter",e,t,n=>n.map(rt),arguments)},find(e,t){return an(this,"find",e,t,rt,arguments)},findIndex(e,t){return an(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return an(this,"findLast",e,t,rt,arguments)},findLastIndex(e,t){return an(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return an(this,"forEach",e,t,void 0,arguments)},includes(...e){return la(this,"includes",e)},indexOf(...e){return la(this,"indexOf",e)},join(e){return Tr(this).join(e)},lastIndexOf(...e){return la(this,"lastIndexOf",e)},map(e,t){return an(this,"map",e,t,void 0,arguments)},pop(){return _s(this,"pop")},push(...e){return _s(this,"push",e)},reduce(e,...t){return Kc(this,"reduce",e,t)},reduceRight(e,...t){return Kc(this,"reduceRight",e,t)},shift(){return _s(this,"shift")},some(e,t){return an(this,"some",e,t,void 0,arguments)},splice(...e){return _s(this,"splice",e)},toReversed(){return Tr(this).toReversed()},toSorted(e){return Tr(this).toSorted(e)},toSpliced(...e){return Tr(this).toSpliced(...e)},unshift(...e){return _s(this,"unshift",e)},values(){return aa(this,"values",rt)}};function aa(e,t,n){const r=$i(e),s=r[t]();return r!==e&&!Rt(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.value&&(o.value=n(o.value)),o}),s}const g_=Array.prototype;function an(e,t,n,r,s,o){const i=$i(e),a=i!==e&&!Rt(e),l=i[t];if(l!==g_[t]){const f=l.apply(e,o);return a?rt(f):f}let u=n;i!==e&&(a?u=function(f,d){return n.call(this,rt(f),d,e)}:n.length>2&&(u=function(f,d){return n.call(this,f,d,e)}));const c=l.call(i,u,r);return a&&s?s(c):c}function Kc(e,t,n,r){const s=$i(e);let o=n;return s!==e&&(Rt(e)?n.length>3&&(o=function(i,a,l){return n.call(this,i,a,l,e)}):o=function(i,a,l){return n.call(this,i,rt(a),l,e)}),s[t](o,...r)}function la(e,t,n){const r=ge(e);lt(r,"iterate",Js);const s=r[t](...n);return(s===-1||s===!1)&&rc(n[0])?(n[0]=ge(n[0]),r[t](...n)):s}function _s(e,t,n=[]){bn(),ec();const r=ge(e)[t].apply(e,n);return tc(),wn(),r}const __=Gl("__proto__,__v_isRef,__isVue"),hh=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ht));function y_(e){Ht(e)||(e=String(e));const t=ge(this);return lt(t,"has",e),t.hasOwnProperty(e)}class ph{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?bh:vh:o?yh:_h).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=ee(t);if(!s){let l;if(i&&(l=m_[n]))return l;if(n==="hasOwnProperty")return y_}const a=Reflect.get(t,n,Se(t)?t:r);return(Ht(n)?hh.has(n):__(n))||(s||lt(t,"get",n),o)?a:Se(a)?i&&Ql(n)?a:a.value:Pe(a)?s?wh(a):qt(a):a}}class mh extends ph{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const l=En(o);if(!Rt(r)&&!En(r)&&(o=ge(o),r=ge(r)),!ee(t)&&Se(o)&&!Se(r))return l?!1:(o.value=r,!0)}const i=ee(t)&&Ql(n)?Number(n)<t.length:Ee(t,n),a=Reflect.set(t,n,r,Se(t)?t:s);return t===ge(s)&&(i?Hn(r,o)&&pn(t,"set",n,r):pn(t,"add",n,r)),a}deleteProperty(t,n){const r=Ee(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&pn(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!Ht(n)||!hh.has(n))&&lt(t,"has",n),r}ownKeys(t){return lt(t,"iterate",ee(t)?"length":dr),Reflect.ownKeys(t)}}class gh extends ph{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const v_=new mh,b_=new gh,w_=new mh(!0),E_=new gh(!0),Va=e=>e,To=e=>Reflect.getPrototypeOf(e);function T_(e,t,n){return function(...r){const s=this.__v_raw,o=ge(s),i=Wr(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=s[e](...r),c=n?Va:t?oi:rt;return!t&&lt(o,"iterate",l?Ba:dr),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:a?[c(f[0]),c(f[1])]:c(f),done:d}},[Symbol.iterator](){return this}}}}function ko(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function k_(e,t){const n={get(s){const o=this.__v_raw,i=ge(o),a=ge(s);e||(Hn(s,a)&&lt(i,"get",s),lt(i,"get",a));const{has:l}=To(i),u=t?Va:e?oi:rt;if(l.call(i,s))return u(o.get(s));if(l.call(i,a))return u(o.get(a));o!==i&&o.get(s)},get size(){const s=this.__v_raw;return!e&&lt(ge(s),"iterate",dr),Reflect.get(s,"size",s)},has(s){const o=this.__v_raw,i=ge(o),a=ge(s);return e||(Hn(s,a)&&lt(i,"has",s),lt(i,"has",a)),s===a?o.has(s):o.has(s)||o.has(a)}
vendor: 34,279 bytes, lines 10-15
10,forEach(s,o){const i=this,a=i.__v_raw,l=ge(a),u=t?Va:e?oi:rt;return!e&&lt(l,"iterate",dr),a.forEach((c,f)=>s.call(o,u(c),u(f),i))}};return nt(n,e?{add:ko("add"),set:ko("set"),delete:ko("delete"),clear:ko("clear")}:{add(s){!t&&!Rt(s)&&!En(s)&&(s=ge(s));const o=ge(this);return To(o).has.call(o,s)||(o.add(s),pn(o,"add",s,s)),this},set(s,o){!t&&!Rt(o)&&!En(o)&&(o=ge(o));const i=ge(this),{has:a,get:l}=To(i);let u=a.call(i,s);u||(s=ge(s),u=a.call(i,s));const c=l.call(i,s);return i.set(s,o),u?Hn(o,c)&&pn(i,"set",s,o):pn(i,"add",s,o),this},delete(s){const o=ge(this),{has:i,get:a}=To(o);let l=i.call(o,s);l||(s=ge(s),l=i.call(o,s)),a&&a.call(o,s);const u=o.delete(s);return l&&pn(o,"delete",s,void 0),u},clear(){const s=ge(this),o=s.size!==0,i=s.clear();return o&&pn(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=T_(s,e,t)}),n}function Di(e,t){const n=k_(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(Ee(n,s)&&s in r?n:r,s,o)}const S_={get:Di(!1,!1)},P_={get:Di(!1,!0)},C_={get:Di(!0,!1)},A_={get:Di(!0,!0)},_h=new WeakMap,yh=new WeakMap,vh=new WeakMap,bh=new WeakMap;function R_(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function O_(e){return e.__v_skip||!Object.isExtensible(e)?0:R_(n_(e))}function qt(e){return En(e)?e:ji(e,!1,v_,S_,_h)}function tn(e){return ji(e,!1,w_,P_,yh)}function wh(e){return ji(e,!0,b_,C_,vh)}function eL(e){return ji(e,!0,E_,A_,bh)}function ji(e,t,n,r,s){if(!Pe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=O_(e);if(o===0)return e;const i=s.get(e);if(i)return i;const a=new Proxy(e,o===2?r:n);return s.set(e,a),a}function rn(e){return En(e)?rn(e.__v_raw):!!(e&&e.__v_isReactive)}function En(e){return!!(e&&e.__v_isReadonly)}function Rt(e){return!!(e&&e.__v_isShallow)}function rc(e){return e?!!e.__v_raw:!1}function ge(e){const t=e&&e.__v_raw;return t?ge(t):e}function sc(e){return!Ee(e,"__v_skip")&&Object.isExtensible(e)&&Zd(e,"__v_skip",!0),e}const rt=e=>Pe(e)?qt(e):e,oi=e=>Pe(e)?wh(e):e;function Se(e){return e?e.__v_isRef===!0:!1}function ae(e){return Eh(e,!1)}function Gn(e){return Eh(e,!0)}function Eh(e,t){return Se(e)?e:new L_(e,t)}class L_{constructor(t,n){this.dep=new xi,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ge(t),this._value=n?t:rt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Rt(t)||En(t);t=r?t:ge(t),Hn(t,n)&&(this._rawValue=t,this._value=r?t:rt(t),this.dep.trigger())}}function te(e){return Se(e)?e.value:e}function Hr(e){return oe(e)?e():te(e)}const I_={get:(e,t,n)=>t==="__v_raw"?e:te(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Se(s)&&!Se(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Th(e){return rn(e)?e:new Proxy(e,I_)}class x_{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new xi,{get:r,set:s}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=s}get value(){return this._value=this._get()}set value(t){this._set(t)}}function $_(e){return new x_(e)}function D_(e){const t=ee(e)?new Array(e.length):{};for(const n in e)t[n]=kh(e,n);return t}class j_{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return p_(ge(this._object),this._key)}}class N_{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 oc(e,t,n){return Se(e)?e:oe(e)?new N_(e):Pe(e)&&arguments.length>1?kh(e,t,n):ae(e)}function kh(e,t,n){const r=e[t];return Se(r)?r:new j_(e,t,n)}class M_{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new xi(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Gs-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Le!==this)return ah(this,!0),!0}get value(){const t=this.dep.track();return uh(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function U_(e,t,n=!1){let r,s;return oe(e)?r=e:(r=e.get,s=e.set),new M_(r,s,n)}const So={},ii=new WeakMap;let ir;function F_(e,t=!1,n=ir){if(n){let r=ii.get(n);r||ii.set(n,r=[]),r.push(e)}}function H_(e,t,n=Ce){const{immediate:r,deep:s,once:o,scheduler:i,augmentJob:a,call:l}=n,u=_=>s?_:Rt(_)||s===!1||s===0?mn(_,1):mn(_);let c,f,d,h,g=!1,p=!1;if(Se(e)?(f=()=>e.value,g=Rt(e)):rn(e)?(f=()=>u(e),g=!0):ee(e)?(p=!0,g=e.some(_=>rn(_)||Rt(_)),f=()=>e.map(_=>{if(Se(_))return _.value;if(rn(_))return u(_);if(oe(_))return l?l(_,2):_()})):oe(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){bn();try{d()}finally{wn()}}const _=ir;ir=c;try{return l?l(e,3,[h]):e(h)}finally{ir=_}}:f=nn,t&&s){const _=f,T=s===!0?1/0:s;f=()=>mn(_(),T)}const b=ho(),y=()=>{c.stop(),b&&b.active&&Yl(b.effects,c)};if(o&&t){const _=t;t=(...T)=>{_(...T),y()}}let v=p?new Array(e.length).fill(So):So;const m=_=>{if(!(!(c.flags&1)||!c.dirty&&!_))if(t){const T=c.run();if(s||g||(p?T.some((C,A)=>Hn(C,v[A])):Hn(T,v))){d&&d();const C=ir;ir=c;try{const A=[T,v===So?void 0:p&&v[0]===So?[]:v,h];l?l(t,3,A):t(...A),v=T}finally{ir=C}}}else c.run()};return a&&a(m),c=new oh(f),c.scheduler=i?()=>i(m,!1):m,h=_=>F_(_,!1,c),d=c.onStop=()=>{const _=ii.get(c);if(_){if(l)l(_,4);else for(const T of _)T();ii.delete(c)}},t?r?m(!0):v=c.run():i?i(m.bind(null,!0),!0):c.run(),y.pause=c.pause.bind(c),y.resume=c.resume.bind(c),y.stop=y,y}function mn(e,t=1/0,n){if(t<=0||!Pe(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Se(e))mn(e.value,t,n);else if(ee(e))for(let r=0;r<e.length;r++)mn(e[r],t,n);else if(ls(e)||Wr(e))e.forEach(r=>{mn(r,t,n)});else if(Qd(e)){for(const r in e)mn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&mn(e[r],t,n)}return e}/**
11* @vue/runtime-core v3.5.14
12* (c) 2018-present Yuxi (Evan) You and Vue contributors
13* @license MIT
14**/function po(e,t,n,r){try{return r?e(...r):e()}catch(s){us(s,t,n)}}function Bt(e,t,n,r){if(oe(e)){const s=po(e,t,n,r);return s&&Xl(s)&&s.catch(o=>{us(o,t,n)}),s}if(ee(e)){const s=[];for(let o=0;o<e.length;o++)s.push(Bt(e[o],t,n,r));return s}}function us(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Ce;if(t){let a=t.parent;const l=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const c=a.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,l,u)===!1)return}a=a.parent}if(o){bn(),po(o,null,10,[e,l,u]),wn();return}}B_(e,n,s,r,i)}function B_(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const gt=[];let Zt=-1;const Kr=[];let xn=null,jr=0;const Sh=Promise.resolve();let ai=null;function Vt(e){const t=ai||Sh;return e?t.then(this?e.bind(this):e):t}function V_(e){let t=Zt+1,n=gt.length;for(;t<n;){const r=t+n>>>1,s=gt[r],o=Ys(s);o<e||o===e&&s.flags&2?t=r+1:n=r}return t}function ic(e){if(!(e.flags&1)){const t=Ys(e),n=gt[gt.length-1];!n||!(e.flags&2)&&t>=Ys(n)?gt.push(e):gt.splice(V_(t),0,e),e.flags|=1,Ph()}}function Ph(){ai||(ai=Sh.then(Ch))}function Wa(e){ee(e)?Kr.push(...e):xn&&e.id===-1?xn.splice(jr+1,0,e):e.flags&1||(Kr.push(e),e.flags|=1),Ph()}function Gc(e,t,n=Zt+1){for(;n<gt.length;n++){const r=gt[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;gt.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function li(e){if(Kr.length){const t=[...new Set(Kr)].sort((n,r)=>Ys(n)-Ys(r));if(Kr.length=0,xn){xn.push(...t);return}for(xn=t,jr=0;jr<xn.length;jr++){const n=xn[jr];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}xn=null,jr=0}}const Ys=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Ch(e){try{for(Zt=0;Zt<gt.length;Zt++){const t=gt[Zt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),po(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Zt<gt.length;Zt++){const t=gt[Zt];t&&(t.flags&=-2)}Zt=-1,gt.length=0,li(),ai=null,(gt.length||Kr.length)&&Ch()}}let Je=null,Ah=null;function ci(e){const t=Je;return Je=e,Ah=e&&e.type.__scopeId||null,t}function hn(e,t=Je,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&lu(-1);const o=ci(t);let i;try{i=e(...s)}finally{ci(o),r._d&&lu(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function tL(e,t){if(Je===null)return e;const n=Bi(Je),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,i,a,l=Ce]=t[s];o&&(oe(o)&&(o={mounted:o,updated:o}),o.deep&&mn(i),r.push({dir:o,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function en(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const a=s[i];o&&(a.oldValue=o[i].value);let l=a.dir[r];l&&(bn(),Bt(l,n,8,[e.el,a,e,t]),wn())}}const Rh=Symbol("_vte"),Oh=e=>e.__isTeleport,$s=e=>e&&(e.disabled||e.disabled===""),Jc=e=>e&&(e.defer||e.defer===""),Yc=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Xc=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,za=(e,t)=>{const n=e&&e.to;return $e(n)?t?t(n):null:n},Lh={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,i,a,l,u){const{mc:c,pc:f,pbc:d,o:{insert:h,querySelector:g,createText:p,createComment:b}}=u,y=$s(t.props);let{shapeFlag:v,children:m,dynamicChildren:_}=t;if(e==null){const T=t.el=p(""),C=t.anchor=p("");h(T,n,r),h(C,n,r);const A=(L,x)=>{v&16&&(s&&s.isCE&&(s.ce._teleportTarget=L),c(m,L,x,s,o,i,a,l))},O=()=>{const L=t.target=za(t.props,g),x=Ih(L,t,p,h);L&&(i!=="svg"&&Yc(L)?i="svg":i!=="mathml"&&Xc(L)&&(i="mathml"),y||(A(L,x),Go(t,!1)))};y&&(A(n,C),Go(t,!0)),Jc(t.props)?Ke(()=>{O(),t.el.__isMounted=!0},o):O()}else{if(Jc(t.props)&&!e.el.__isMounted){Ke(()=>{Lh.process(e,t,n,r,s,o,i,a,l,u),delete e.el.__isMounted},o);return}t.el=e.el,t.targetStart=e.targetStart;const T=t.anchor=e.anchor,C=t.target=e.target,A=t.targetAnchor=e.targetAnchor,O=$s(e.props),L=O?n:C,x=O?T:A;if(i==="svg"||Yc(C)?i="svg":(i==="mathml"||Xc(C))&&(i="mathml"),_?(d(e.dynamicChildren,_,L,s,o,i,a),uc(e,t,!0)):l||f(e,t,L,x,s,o,i,a,!1),y)O?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Po(t,n,T,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const B=t.target=za(t.props,g);B&&Po(t,B,null,u,0)}else O&&Po(t,C,A,u,1);Go(t,y)}},remove(e,t,n,{um:r,o:{remove:s}},o){const{shapeFlag:i,children:a,anchor:l,targetStart:u,targetAnchor:c,target:f,props:d}=e;if(f&&(s(u),s(c)),o&&s(l),i&16){const h=o||!$s(d);for(let g=0;g<a.length;g++){const p=a[g];r(p,t,n,h,!!p.dynamicChildren)}}},move:Po,hydrate:W_};function Po(e,t,n,{o:{insert:r},m:s},o=2){o===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:u,props:c}=e,f=o===2;if(f&&r(i,t,n),(!f||$s(c))&&l&16)for(let d=0;d<u.length;d++)s(u[d],t,n,2);f&&r(a,t,n)}function W_(e,t,n,r,s,o,{o:{nextSibling:i,parentNode:a,querySelector:l,insert:u,createText:c}},f){const d=t.target=za(t.props,l);if(d){const h=$s(t.props),g=d._lpa||d.firstChild;if(t.shapeFlag&16)if(h)t.anchor=f(i(e),t,a(e),n,r,s,o),t.targetStart=g,t.targetAnchor=g&&i(g);else{t.anchor=i(e);let p=g;for(;p;){if(p&&p.nodeType===8){if(p.data==="teleport start anchor")t.targetStart=p;else if(p.data==="teleport anchor"){t.targetAnchor=p,d._lpa=t.targetAnchor&&i(t.targetAnchor);break}}p=i(p)}t.targetAnchor||Ih(d,t,c,u),f(g&&i(g),t,d,n,r,s,o)}Go(t,h)}return t.anchor&&i(t.anchor)}const nL=Lh;function Go(e,t){const n=e.ctx;if(n&&n.ut){let r,s;for(t?(r=e.el,s=e.anchor):(r=e.targetStart,s=e.targetAnchor);r&&r!==s;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function Ih(e,t,n,r){const s=t.targetStart=n(""),o=t.targetAnchor=n("");return s[Rh]=o,e&&(r(s,e),r(o,e)),o}const $n=Symbol("_leaveCb"),Co=Symbol("_enterCb");function z_(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Wn(()=>{e.isMounted=!0}),fs(()=>{e.isUnmounting=!0}),e}const kt=[Function,Array],xh={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:kt,onEnter:kt,onAfterEnter:kt,onEnterCancelled:kt,onBeforeLeave:kt,onLeave:kt,onAfterLeave:kt,onLeaveCancelled:kt,onBeforeAppear:kt,onAppear:kt,onAfterAppear:kt,onAppearCancelled:kt},$h=e=>{const t=e.subTree;return t.component?$h(t.component):t},q_={name:"BaseTransition",props:xh,setup(e,{slots:t}){const n=on(),r=z_();return()=>{const s=t.default&&Nh(t.default(),!0);if(!s||!s.length)return;const o=Dh(s),i=ge(e),{mode:a}=i;if(r.isLeaving)return ca(o);const l=Qc(o);if(!l)return ca(o);let u=qa(l,i,r,n,f=>u=f);l.type!==We&&Xr(l,u);let c=n.subTree&&Qc(n.subTree);if(c&&c.type!==We&&!Nt(l,c)&&$h(n).type!==We){let f=qa(c,i,r,n);if(Xr(c,f),a==="out-in"&&l.type!==We)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},ca(o);a==="in-out"&&l.type!==We?f.delayLeave=(d,h,g)=>{const p=jh(r,c);p[String(c.key)]=c,d[$n]=()=>{h(),d[$n]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{g(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return o}}};function Dh(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==We){t=n;break}}return t}const K_=q_;function jh(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 qa(e,t,n,r,s){const{appear:o,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:g,onLeaveCancelled:p,onBeforeAppear:b,onAppear:y,onAfterAppear:v,onAppearCancelled:m}=t,_=String(e.key),T=jh(n,e),C=(L,x)=>{L&&Bt(L,r,9,x)},A=(L,x)=>{const B=x[1];C(L,x),ee(L)?L.every(M=>M.length<=1)&&B():L.length<=1&&B()},O={mode:i,persisted:a,beforeEnter(L){let x=l;if(!n.isMounted)if(o)x=b||l;else return;L[$n]&&L[$n](!0);const B=T[_];B&&Nt(e,B)&&B.el[$n]&&B.el[$n](),C(x,[L])},enter(L){let x=u,B=c,M=f;if(!n.isMounted)if(o)x=y||u,B=v||c,M=m||f;else return;let G=!1;const ie=L[Co]=le=>{G||(G=!0,le?C(M,[L]):C(B,[L]),O.delayedLeave&&O.delayedLeave(),L[Co]=void 0)};x?A(x,[L,ie]):ie()},leave(L,x){const B=String(e.key);if(L[Co]&&L[Co](!0),n.isUnmounting)return x();C(d,[L]);let M=!1;const G=L[$n]=ie=>{M||(M=!0,x(),ie?C(p,[L]):C(g,[L]),L[$n]=void 0,T[B]===e&&delete T[B])};T[B]=e,h?A(h,[L,G]):G()},clone(L){const x=qa(L,t,n,r,s);return s&&s(x),x}};return O}function ca(e){if(mo(e))return e=Tn(e),e.children=null,e}function Qc(e){if(!mo(e))return Oh(e.type)&&e.children?Dh(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&&oe(n.default))return n.default()}}function Xr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Xr(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 Nh(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let i=e[o];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===Re?(i.patchFlag&128&&s++,r=r.concat(Nh(i.children,t,a))):(t||i.type!==We)&&r.push(a!=null?Tn(i,{key:a}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function st(e,t){return oe(e)?nt({name:e.name},t,{setup:e}):e}function rL(){const e=on();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function ac(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Xs(e,t,n,r,s=!1){if(ee(e)){e.forEach((g,p)=>Xs(g,t&&(ee(t)?t[p]:t),n,r,s));return}if(Vn(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Xs(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?Bi(r.component):r.el,i=s?null:o,{i:a,r:l}=e,u=t&&t.r,c=a.refs===Ce?a.refs={}:a.refs,f=a.setupState,d=ge(f),h=f===Ce?()=>!1:g=>Ee(d,g);if(u!=null&&u!==l&&($e(u)?(c[u]=null,h(u)&&(f[u]=null)):Se(u)&&(u.value=null)),oe(l))po(l,a,12,[i,c]);else{const g=$e(l),p=Se(l);if(g||p){const b=()=>{if(e.f){const y=g?h(l)?f[l]:c[l]:l.value;s?ee(y)&&Yl(y,o):ee(y)?y.includes(o)||y.push(o):g?(c[l]=[o],h(l)&&(f[l]=c[l])):(l.value=[o],e.k&&(c[e.k]=l.value))}else g?(c[l]=i,h(l)&&(f[l]=i)):p&&(l.value=i,e.k&&(c[e.k]=i))};i?(b.id=-1,Ke(b,n)):b()}}}let Zc=!1;const kr=()=>{Zc||(console.error("Hydration completed but contains mismatches."),Zc=!0)},G_=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",J_=e=>e.namespaceURI.includes("MathML"),Ao=e=>{if(e.nodeType===1){if(G_(e))return"svg";if(J_(e))return"mathml"}},Br=e=>e.nodeType===8;function Y_(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:a,insert:l,createComment:u}}=e,c=(m,_)=>{if(!_.hasChildNodes()){n(null,m,_),li(),_._vnode=m;return}f(_.firstChild,m,null,null,null),li(),_._vnode=m},f=(m,_,T,C,A,O=!1)=>{O=O||!!_.dynamicChildren;const L=Br(m)&&m.data==="[",x=()=>p(m,_,T,C,A,L),{type:B,ref:M,shapeFlag:G,patchFlag:ie}=_;let le=m.nodeType;_.el=m,ie===-2&&(O=!1,_.dynamicChildren=null);let J=null;switch(B){case qn:le!==3?_.children===""?(l(_.el=s(""),i(m),m),J=m):J=x():(m.data!==_.children&&(kr(),m.data=_.children),J=o(m));break;case We:v(m)?(J=o(m),y(_.el=m.content.firstChild,m,T)):le!==8||L?J=x():J=o(m);break;case js:if(L&&(m=o(m),le=m.nodeType),le===1||le===3){J=m;const Q=!_.children.length;for(let X=0;X<_.staticCount;X++)Q&&(_.children+=J.nodeType===1?J.outerHTML:J.data),X===_.staticCount-1&&(_.anchor=J),J=o(J);return L?o(J):J}else x();break;case Re:L?J=g(m,_,T,C,A,O):J=x();break;default:if(G&1)(le!==1||_.type.toLowerCase()!==m.tagName.toLowerCase())&&!v(m)?J=x():J=d(m,_,T,C,A,O);else if(G&6){_.slotScopeIds=A;const Q=i(m);if(L?J=b(m):Br(m)&&m.data==="teleport start"?J=b(m,m.data,"teleport end"):J=o(m),t(_,Q,null,T,C,Ao(Q),O),Vn(_)&&!_.type.__asyncResolved){let X;L?(X=ve(Re),X.anchor=J?J.previousSibling:Q.lastChild):X=m.nodeType===3?hi(""):ve("div"),X.el=m,_.component.subTree=X}}else G&64?le!==8?J=x():J=_.type.hydrate(m,_,T,C,A,O,e,h):G&128&&(J=_.type.hydrate(m,_,T,C,Ao(i(m)),A,O,e,f))}return M!=null&&Xs(M,null,C,_),J},d=(m,_,T,C,A,O)=>{O=O||!!_.dynamicChildren;const{type:L,props:x,patchFlag:B,shapeFlag:M,dirs:G,transition:ie}=_,le=L==="input"||L==="option";if(le||B!==-1){G&&en(_,null,T,"created");let J=!1;if(v(m)){J=ip(null,ie)&&T&&T.vnode.props&&T.vnode.props.appear;const X=m.content.firstChild;J&&ie.beforeEnter(X),y(X,m,T),_.el=m=X}if(M&16&&!(x&&(x.innerHTML||x.textContent))){let X=h(m.firstChild,_,m,T,C,A,O);for(;X;){Ro(m,1)||kr();const me=X;X=X.nextSibling,a(me)}}else if(M&8){let X=_.children;X[0]===`
15`&&(m.tagName==="PRE"||m.tagName==="TEXTAREA")&&(X=X.slice(1)),m.textContent!==X&&(Ro(m,0)||kr(),m.textContent=_.children)}if(x){if(le||!O||B&48){const X=m.tagName.includes("-");for(const me in x)(le&&(me.endsWith("value")||me==="indeterminate")||uo(me)&&!zr(me)||me[0]==="."||X)&&r(m,me,null,x[me],void 0,T)}else if(x.onClick)r(m,"onClick",null,x.onClick,void 0,T);else if(B&4&&rn(x.style))for(const X in x.style)x.style[X]}let Q;(Q=x&&x.onVnodeBeforeMount)&&yt(Q,T,_),G&&en(_,null,T,"beforeMount"),((Q=x&&x.onVnodeMounted)||G||J)&&fp(()=>{Q&&yt(Q,T,_),J&&ie.enter(m),G&&en(_,null,T,"mounted")},C)}return m.nextSibling},h=(m,_,T,C,A,O,L)=>{L=L||!!_.dynamicChildren;const x=_.children,B=x.length;for(let M=0;M<B;M++){const G=L?x[M]:x[M]=Tt(x[M]),ie=G.type===qn;m?(ie&&!L&&M+1<B&&Tt(x[M+1]).type===qn&&(l(s(m.data.slice(G.children.length)),T,o(m)),m.data=G.children),m=f(m,G,C,A,O,L)):ie&&!G.children?l(G.el=s(""),T):(Ro(T,1)||kr(),n(null,G,T,null,C,A,Ao(T),O))}return m},g=(m,_,T,C,A,O)=>{const{slotScopeIds:L}=_;L&&(A=A?A.concat(L):L);const x=i(m),B=h(o(m),_,x,T,C,A,O);return B&&Br(B)&&B.data==="]"?o(_.anchor=B):(kr(),l(_.anchor=u("]"),x,B),B)},p=(m,_,T,C,A,O)=>{if(Ro(m.parentElement,1)||kr(),_.el=null,O){const B=b(m);for(;;){const M=o(m);if(M&&M!==B)a(M);else break}}const L=o(m),x=i(m);return a(m),n(null,_,x,L,T,C,Ao(x),A),T&&(T.vnode.el=_.el,Hi(T,_.el)),L},b=(m,_="[",T="]")=>{let C=0;for(;m;)if(m=o(m),m&&Br(m)&&(m.data===_&&C++,m.data===T)){if(C===0)return o(m);C--}return m},y=(m,_,T)=>{const C=_.parentNode;C&&C.replaceChild(m,_);let A=T;for(;A;)A.vnode.el===_&&(A.vnode.el=A.subTree.el=m),A=A.parent},v=m=>m.nodeType===1&&m.tagName==="TEMPLATE";return[c,f]}const eu="data-allow-mismatch",X_={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Ro(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(eu);)e=e.parentElement;const n=e&&e.getAttribute(eu);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes(X_[t])}}Ii().requestIdleCallback;Ii().cancelIdleCallback;function Q_(e,t){if(Br(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(Br(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const Vn=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function be(e){oe(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,hydrate:o,timeout:i,suspensible:a=!0,onError:l}=e;let u=null,c,f=0;const d=()=>(f++,u=null,h()),h=()=>{let g;return u||(g=u=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),l)return new Promise((b,y)=>{l(p,()=>b(d()),()=>y(p),f+1)});throw p}).then(p=>g!==u&&u?u:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),c=p,p)))};return st({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(g,p,b){const y=o?()=>{const v=o(b,m=>Q_(g,m));v&&(p.bum||(p.bum=[])).push(v)}:b;c?y():h().then(()=>!p.isUnmounted&&y())},get __asyncResolved(){return c},setup(){const g=Ge;if(ac(g),c)return()=>ua(c,g);const p=m=>{u=null,us(m,g,13,!r)};if(a&&g.suspense||Zr)return h().then(m=>()=>ua(m,g)).catch(m=>(p(m),()=>r?ve(r,{error:m}):null));const b=ae(!1),y=ae(),v=ae(!!s);return s&&setTimeout(()=>{v.value=!1},s),i!=null&&setTimeout(()=>{if(!b.value&&!y.value){const m=new Error(`Async component timed out after ${i}ms.`);p(m),y.value=m}},i),h().then(()=>{b.value=!0,g.parent&&mo(g.parent.vnode)&&g.parent.update()}).catch(m=>{p(m),y.value=m}),()=>{if(b.value&&c)return ua(c,g);if(y.value&&r)return ve(r,{error:y.value});if(n&&!v.value)return ve(n)}}})}function ua(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=ve(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const mo=e=>e.type.__isKeepAlive,Z_={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=on(),r=n.ctx;if(!r.renderer)return()=>{const v=t.default&&t.default();return v&&v.length===1?v[0]:v};const s=new Map,o=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:f}}}=r,d=f("div");r.activate=(v,m,_,T,C)=>{const A=v.component;u(v,m,_,0,a),l(A.vnode,v,m,_,A,a,T,v.slotScopeIds,C),Ke(()=>{A.isDeactivated=!1,A.a&&qr(A.a);const O=v.props&&v.props.onVnodeMounted;O&&yt(O,A.parent,v)},a)},r.deactivate=v=>{const m=v.component;fi(m.m),fi(m.a),u(v,d,null,1,a),Ke(()=>{m.da&&qr(m.da);const _=v.props&&v.props.onVnodeUnmounted;_&&yt(_,m.parent,v),m.isDeactivated=!0},a)};function h(v){fa(v),c(v,n,a,!0)}function g(v){s.forEach((m,_)=>{const T=rl(m.type);T&&!v(T)&&p(_)})}function p(v){const m=s.get(v);m&&(!i||!Nt(m,i))?h(m):i&&fa(i),s.delete(v),o.delete(v)}Xe(()=>[e.include,e.exclude],([v,m])=>{v&&g(_=>As(v,_)),m&&g(_=>!As(m,_))},{flush:"post",deep:!0});let b=null;const y=()=>{b!=null&&(di(n.subTree.type)?Ke(()=>{s.set(b,Oo(n.subTree))},n.subTree.suspense):s.set(b,Oo(n.subTree)))};return Wn(y),Hh(y),fs(()=>{s.forEach(v=>{const{subTree:m,suspense:_}=n,T=Oo(m);if(v.type===T.type&&v.key===T.key){fa(T);const C=T.component.da;C&&Ke(C,_);return}h(v)})}),()=>{if(b=null,!t.default)return i=null;const v=t.default(),m=v[0];if(v.length>1)return i=null,v;if(!At(m)||!(m.shapeFlag&4)&&!(m.shapeFlag&128))return i=null,m;let _=Oo(m);if(_.type===We)return i=null,_;const T=_.type,C=rl(Vn(_)?_.type.__asyncResolved||{}:T),{include:A,exclude:O,max:L}=e;if(A&&(!C||!As(A,C))||O&&C&&As(O,C))return _.shapeFlag&=-257,i=_,m;const x=_.key==null?T:_.key,B=s.get(x);return _.el&&(_=Tn(_),m.shapeFlag&128&&(m.ssContent=_)),b=x,B?(_.el=B.el,_.component=B.component,_.transition&&Xr(_,_.transition),_.shapeFlag|=512,o.delete(x),o.add(x)):(o.add(x),L&&o.size>parseInt(L,10)&&p(o.values().next().value)),_.shapeFlag|=256,i=_,di(m.type)?m:_}}},ey=Z_;function As(e,t){return ee(e)?e.some(n=>As(n,t)):$e(e)?e.split(",").includes(t):t_(e)?(e.lastIndex=0,e.test(t)):!1}function Mh(e,t){Fh(e,"a",t)}function Uh(e,t){Fh(e,"da",t)}function Fh(e,t,n=Ge){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Ni(t,r,n),n){let s=n.parent;for(;s&&s.parent;)mo(s.parent.vnode)&&ty(r,t,n,s),s=s.parent}}function ty(e,t,n,r){const s=Ni(t,e,r,!0);Mi(()=>{Yl(r[t],s)},n)}function fa(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Oo(e){return e.shapeFlag&128?e.ssContent:e}function Ni(e,t,n=Ge,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{bn();const a=_r(n),l=Bt(t,n,e,i);return a(),wn(),l});return r?s.unshift(o):s.push(o),o}}const kn=e=>(t,n=Ge)=>{(!Zr||e==="sp")&&Ni(e,(...r)=>t(...r),n)},ny=kn("bm"),Wn=kn("m"),ry=kn("bu"),Hh=kn("u"),fs=kn("bum"),Mi=kn("um"),sy=kn("sp"),oy=kn("rtg"),iy=kn("rtc");function Bh(e,t=Ge){Ni("ec",e,t)}const Vh="components";function sL(e,t){return zh(Vh,e,!0,t)||e}const Wh=Symbol.for("v-ndc");function Nr(e){return $e(e)?zh(Vh,e,!1)||e:e||Wh}function zh(e,t,n=!0,r=!1){const s=Je||Ge;if(s){const o=s.type;{const a=rl(o,!1);if(a&&(a===t||a===Lt(t)||a===Li(Lt(t))))return o}const i=tu(s[e]||o[e],t)||tu(s.appContext[e],t);return!i&&r?o:i}}function tu(e,t){return e&&(e[t]||e[Lt(t)]||e[Li(Lt(t))])}function Ka(e,t,n,r){let s;const o=n,i=ee(e);if(i||$e(e)){const a=i&&rn(e);let l=!1,u=!1;a&&(l=!Rt(e),u=En(e),e=$i(e)),s=new Array(e.length);for(let c=0,f=e.length;c<f;c++)s[c]=t(l?u?oi(rt(e[c])):rt(e[c]):e[c],c,void 0,o)}else if(typeof e=="number"){s=new Array(e);for(let a=0;a<e;a++)s[a]=t(a+1,a,void 0,o)}else if(Pe(e))if(e[Symbol.iterator])s=Array.from(e,(a,l)=>t(a,l,void 0,o));else{const a=Object.keys(e);s=new Array(a.length);for(let l=0,u=a.length;l<u;l++){const c=a[l];s[l]=t(e[c],c,l,o)}}else s=[];return s}function Pt(e,t,n={},r,s){if(Je.ce||Je.parent&&Vn(Je.parent)&&Je.parent.ce)return t!=="default"&&(n.name=t),ue(),ct(Re,null,[ve("slot",n,r&&r())],64);let o=e[t];o&&o._c&&(o._d=!1),ue();const i=o&&qh(o(n)),a=n.key||i&&i.key,l=ct(Re,{key:(a&&!Ht(a)?a:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function qh(e){return e.some(t=>At(t)?!(t.type===We||t.type===Re&&!qh(t.children)):!0)?e:null}function oL(e,t){const n={};for(const r in e)n[Ko(r)]=e[r];return n}const Ga=e=>e?gp(e)?Bi(e):Ga(e.parent):null,Ds=nt(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=>Ga(e.parent),$root:e=>Ga(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Jh(e),$forceUpdate:e=>e.f||(e.f=()=>{ic(e.update)}),$nextTick:e=>e.n||(e.n=Vt.bind(e.proxy)),$watch:e=>Cy.bind(e)}),da=(e,t)=>e!==Ce&&!e.__isScriptSetup&&Ee(e,t),ay={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:a,appContext:l}=e;let u;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(da(r,t))return i[t]=1,r[t];if(s!==Ce&&Ee(s,t))return i[t]=2,s[t];if((u=e.propsOptions[0])&&Ee(u,t))return i[t]=3,o[t];if(n!==Ce&&Ee(n,t))return i[t]=4,n[t];Ya&&(i[t]=0)}}const c=Ds[t];let f,d;if(c)return t==="$attrs"&&lt(e.attrs,"get",""),c(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==Ce&&Ee(n,t))return i[t]=4,n[t];if(d=l.config.globalProperties,Ee(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return da(s,t)?(s[t]=n,!0):r!==Ce&&Ee(r,t)?(r[t]=n,!0):Ee(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let a;return!!n[i]||e!==Ce&&Ee(e,i)||da(t,i)||(a=o[0])&&Ee(a,i)||Ee(r,i)||Ee(Ds,i)||Ee(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ee(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function iL(){return Kh().slots}function ly(){return Kh().attrs}function Kh(){const e=on();return e.setupContext||(e.setupContext=yp(e))}function Ja(e){return ee(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function aL(e,t){const n=Ja(e);for(const r in t){if(r.startsWith("__skip"))continue;let s=n[r];s?ee(s)||oe(s)?s=n[r]={type:s,default:t[r]}:s.default=t[r]:s===null&&(s=n[r]={default:t[r]}),s&&t[`__skip_${r}`]&&(s.skipFactory=!0)}return n}function lL(e){const t=on();let n=e();return tl(),Xl(n)&&(n=n.catch(r=>{throw _r(t),r})),[n,()=>_r(t)]}let Ya=!0;function cy(e){const t=Jh(e),n=e.proxy,r=e.ctx;Ya=!1,t.beforeCreate&&nu(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:h,updated:g,activated:p,deactivated:b,beforeDestroy:y,beforeUnmount:v,destroyed:m,unmounted:_,render:T,renderTracked:C,renderTriggered:A,errorCaptured:O,serverPrefetch:L,expose:x,inheritAttrs:B,components:M,directives:G,filters:ie}=t;if(u&&uy(u,r,null),i)for(const Q in i){const X=i[Q];oe(X)&&(r[Q]=X.bind(n))}if(s){const Q=s.call(n,n);Pe(Q)&&(e.data=qt(Q))}if(Ya=!0,o)for(const Q in o){const X=o[Q],me=oe(X)?X.bind(n,n):oe(X.get)?X.get.bind(n,n):nn,He=!oe(X)&&oe(X.set)?X.set.bind(n):nn,Ie=se({get:me,set:He});Object.defineProperty(r,Q,{enumerable:!0,configurable:!0,get:()=>Ie.value,set:De=>Ie.value=De})}if(a)for(const Q in a)Gh(a[Q],r,n,Q);if(l){const Q=oe(l)?l.call(n):l;Reflect.ownKeys(Q).forEach(X=>{zn(X,Q[X])})}c&&nu(c,e,"c");function J(Q,X){ee(X)?X.forEach(me=>Q(me.bind(n))):X&&Q(X.bind(n))}if(J(ny,f),J(Wn,d),J(ry,h),J(Hh,g),J(Mh,p),J(Uh,b),J(Bh,O),J(iy,C),J(oy,A),J(fs,v),J(Mi,_),J(sy,L),ee(x))if(x.length){const Q=e.exposed||(e.exposed={});x.forEach(X=>{Object.defineProperty(Q,X,{get:()=>n[X],set:me=>n[X]=me})})}else e.exposed||(e.exposed={});T&&e.render===nn&&(e.render=T),B!=null&&(e.inheritAttrs=B),M&&(e.components=M),G&&(e.directives=G),L&&ac(e)}function uy(e,t,n=nn){ee(e)&&(e=Xa(e));for(const r in e){const s=e[r];let o;Pe(s)?"default"in s?o=Ye(s.from||r,s.default,!0):o=Ye(s.from||r):o=Ye(s),Se(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function nu(e,t,n){Bt(ee(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Gh(e,t,n,r){let s=r.includes(".")?lp(n,r):()=>n[r];if($e(e)){const o=t[e];oe(o)&&Xe(s,o)}else if(oe(e))Xe(s,e.bind(n));else if(Pe(e))if(ee(e))e.forEach(o=>Gh(o,t,n,r));else{const o=oe(e.handler)?e.handler.bind(n):t[e.handler];oe(o)&&Xe(s,o,e)}}function Jh(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(u=>ui(l,u,i,!0)),ui(l,t,i)),Pe(t)&&o.set(t,l),l}function ui(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&ui(e,o,n,!0),s&&s.forEach(i=>ui(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=fy[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const fy={data:ru,props:su,emits:su,methods:Rs,computed:Rs,beforeCreate:pt,created:pt,beforeMount:pt,mounted:pt,beforeUpdate:pt,updated:pt,beforeDestroy:pt,beforeUnmount:pt,destroyed:pt,unmounted:pt,activated:pt,deactivated:pt,errorCaptured:pt,serverPrefetch:pt,components:Rs,directives:Rs,watch:hy,provide:ru,inject:dy};function ru(e,t){return t?e?function(){return nt(oe(e)?e.call(this,this):e,oe(t)?t.call(this,this):t)}:t:e}function dy(e,t){return Rs(Xa(e),Xa(t))}function Xa(e){if(ee(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function pt(e,t){return e?[...new Set([].concat(e,t))]:t}function Rs(e,t){return e?nt(Object.create(null),e,t):t}function su(e,t){return e?ee(e)&&ee(t)?[...new Set([...e,...t])]:nt(Object.create(null),Ja(e),Ja(t??{})):t}function hy(e,t){if(!e)return t;if(!t)return e;const n=nt(Object.create(null),e);for(const r in t)n[r]=pt(e[r],t[r]);return n}function Yh(){return{app:null,config:{isNativeTag:Zg,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 py=0;function my(e,t){return function(r,s=null){oe(r)||(r=nt({},r)),s!=null&&!Pe(s)&&(s=null);const o=Yh(),i=new WeakSet,a=[];let l=!1;const u=o.app={_uid:py++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:Gy,get config(){return o.config},set config(c){},use(c,...f){return i.has(c)||(c&&oe(c.install)?(i.add(c),c.install(u,...f)):oe(c)&&(i.add(c),c(u,...f))),u},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),u},component(c,f){return f?(o.components[c]=f,u):o.components[c]},directive(c,f){return f?(o.directives[c]=f,u):o.directives[c]},mount(c,f,d){if(!l){const h=u._ceVNode||ve(r,s);return h.appContext=o,d===!0?d="svg":d===!1&&(d=void 0),f&&t?t(h,c):e(h,c,d),l=!0,u._container=c,c.__vue_app__=u,Bi(h.component)}},onUnmount(c){a.push(c)},unmount(){l&&(Bt(a,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,f){return o.provides[c]=f,u},runWithContext(c){const f=hr;hr=u;try{return c()}finally{hr=f}}};return u}}let hr=null;function zn(e,t){if(Ge){let n=Ge.provides;const r=Ge.parent&&Ge.parent.provides;r===n&&(n=Ge.provides=Object.create(r)),n[e]=t}}function Ye(e,t,n=!1){const r=Ge||Je;if(r||hr){const s=hr?hr._context.provides:r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&oe(t)?t.call(r&&r.proxy):t}}function go(){return!!(Ge||Je||hr)}const Xh={},Qh=()=>Object.create(Xh),Zh=e=>Object.getPrototypeOf(e)===Xh;function gy(e,t,n,r=!1){const s={},o=Qh();e.propsDefaults=Object.create(null),ep(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:tn(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function _y(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=ge(s),[l]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let d=c[f];if(Fi(e.emitsOptions,d))continue;const h=t[d];if(l)if(Ee(o,d))h!==o[d]&&(o[d]=h,u=!0);else{const g=Lt(d);s[g]=Qa(l,a,g,h,e,!1)}else h!==o[d]&&(o[d]=h,u=!0)}}}else{ep(e,t,s,o)&&(u=!0);let c;
vendor: 4,110 bytes, line 15
15for(const f in a)(!t||!Ee(t,f)&&((c=Yn(f))===f||!Ee(t,c)))&&(l?n&&(n[f]!==void 0||n[c]!==void 0)&&(s[f]=Qa(l,a,f,void 0,e,!0)):delete s[f]);if(o!==a)for(const f in o)(!t||!Ee(t,f))&&(delete o[f],u=!0)}u&&pn(e.attrs,"set","")}function ep(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(zr(l))continue;const u=t[l];let c;s&&Ee(s,c=Lt(l))?!o||!o.includes(c)?n[c]=u:(a||(a={}))[c]=u:Fi(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,i=!0)}if(o){const l=ge(n),u=a||Ce;for(let c=0;c<o.length;c++){const f=o[c];n[f]=Qa(s,l,f,u[f],e,!Ee(u,f))}}return i}function Qa(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=Ee(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&oe(l)){const{propsDefaults:u}=s;if(n in u)r=u[n];else{const c=_r(s);r=u[n]=l.call(null,t),c()}}else r=l;s.ce&&s.ce._setProp(n,r)}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===Yn(n))&&(r=!0))}return r}const yy=new WeakMap;function tp(e,t,n=!1){const r=n?yy:t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},a=[];let l=!1;if(!oe(e)){const c=f=>{l=!0;const[d,h]=tp(f,t,!0);nt(i,d),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!l)return Pe(e)&&r.set(e,Vr),Vr;if(ee(o))for(let c=0;c<o.length;c++){const f=Lt(o[c]);ou(f)&&(i[f]=Ce)}else if(o)for(const c in o){const f=Lt(c);if(ou(f)){const d=o[c],h=i[f]=ee(d)||oe(d)?{type:d}:nt({},d),g=h.type;let p=!1,b=!0;if(ee(g))for(let y=0;y<g.length;++y){const v=g[y],m=oe(v)&&v.name;if(m==="Boolean"){p=!0;break}else m==="String"&&(b=!1)}else p=oe(g)&&g.name==="Boolean";h[0]=p,h[1]=b,(p||Ee(h,"default"))&&a.push(f)}}const u=[i,a];return Pe(e)&&r.set(e,u),u}function ou(e){return e[0]!=="$"&&!zr(e)}const lc=e=>e[0]==="_"||e==="$stable",cc=e=>ee(e)?e.map(Tt):[Tt(e)],vy=(e,t,n)=>{if(t._n)return t;const r=hn((...s)=>cc(t(...s)),n);return r._c=!1,r},np=(e,t,n)=>{const r=e._ctx;for(const s in e){if(lc(s))continue;const o=e[s];if(oe(o))t[s]=vy(s,o,r);else if(o!=null){const i=cc(o);t[s]=()=>i}}},rp=(e,t)=>{const n=cc(t);e.slots.default=()=>n},sp=(e,t,n)=>{for(const r in t)(n||!lc(r))&&(e[r]=t[r])},by=(e,t,n)=>{const r=e.slots=Qh();if(e.vnode.shapeFlag&32){const s=t._;s?(sp(r,t,n),n&&Zd(r,"_",s,!0)):np(t,r)}else t&&rp(e,t)},wy=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=Ce;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:sp(s,t,n):(o=!t.$stable,np(t,s)),i=t}else t&&(rp(e,t),i={default:1});if(o)for(const a in s)!lc(a)&&i[a]==null&&delete s[a]},Ke=fp;function Ey(e){return op(e)}function Ty(e){return op(e,Y_)}function op(e,t){const n=Ii();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:h=nn,insertStaticContent:g}=e,p=(E,S,$,H=null,U=null,w=null,k=void 0,I=null,j=!!S.dynamicChildren)=>{if(E===S)return;E&&!Nt(E,S)&&(H=P(E),De(E,U,w,!0),E=null),S.patchFlag===-2&&(j=!1,S.dynamicChildren=null);const{type:F,ref:z,shapeFlag:R}=S;switch(F){case qn:b(E,S,$,H);break;case We:y(E,S,$,H);break;case js:E==null&&v(S,$,H,k);break;case Re:M(E,S,$,H,U,w,k,I,j);break;default:R&1?T(E,S,$,H,U,w,k,I,j):R&6?G(E,S,$,H,U,w,k,I,j):(R&64||R&128)&&F.process(E,S,$,H,U,w,k,I,j,q)}z!=null&&U&&Xs(z,E&&E.ref,w,S||E,!S)},b=(E,S,$,H)=>{if(E==null)r(S.el=a(S.children),$,H);else{const U=S.el=E.el;S.children!==E.children&&u(U,S.children)}},y=(E,S,$,H)=>{E==null?r(S.el=l(S.children||""),$,H):S.el=E.el},v=(E,S,$,H)=>{[E.el,E.anchor]=g(E.children,S,$,H,E.el,E.anchor)},m=({el:E,anchor:S},$,H)=>{let U;for(;E&&E!==S;)U=d(E),r(E,$,H),E=U;r(S,$,H)},_=({el:E,anchor:S})=>{let $;for(;E&&E!==S;)$=d(E),s(E),E=$;s(S)},T=(E,S,$,H,U,w,k,I,j)=>{S.type==="svg"?k="svg":S.type==="math"&&(k="mathml"),E==null?C(S,$,H,U,w,k,I,j):L(E,S,U,w,k,I,j)},C=(E,S,$,H,U,w,k,I)=>{let j,F;const{props:z,shapeFlag:R,transition:D,dirs:Y}=E;if(j=E.el=i(E.type,w,z&&z.is,z),R&8?c(j,E.children):R&16&&O(E.children,j,null,H,U,ha(E,w),k,I),Y&&en(E,null,H,"created"),A(j,E,E.scopeId,k,H),z){for(const fe in z)fe!=="value"&&!zr(fe)&&o(j,fe,null,z[fe],w,H);"value"in z&&o(j,"value",null,z.value,w),(F=z.onVnodeBeforeMount)&&yt
vendor: 21,620 bytes, line 15
15(F,H,E)}Y&&en(E,null,H,"beforeMount");const Z=ip(U,D);Z&&D.beforeEnter(j),r(j,S,$),((F=z&&z.onVnodeMounted)||Z||Y)&&Ke(()=>{F&&yt(F,H,E),Z&&D.enter(j),Y&&en(E,null,H,"mounted")},U)},A=(E,S,$,H,U)=>{if($&&h(E,$),H)for(let w=0;w<H.length;w++)h(E,H[w]);if(U){let w=U.subTree;if(S===w||di(w.type)&&(w.ssContent===S||w.ssFallback===S)){const k=U.vnode;A(E,k,k.scopeId,k.slotScopeIds,U.parent)}}},O=(E,S,$,H,U,w,k,I,j=0)=>{for(let F=j;F<E.length;F++){const z=E[F]=I?Dn(E[F]):Tt(E[F]);p(null,z,S,$,H,U,w,k,I)}},L=(E,S,$,H,U,w,k)=>{const I=S.el=E.el;let{patchFlag:j,dynamicChildren:F,dirs:z}=S;j|=E.patchFlag&16;const R=E.props||Ce,D=S.props||Ce;let Y;if($&&tr($,!1),(Y=D.onVnodeBeforeUpdate)&&yt(Y,$,S,E),z&&en(S,E,$,"beforeUpdate"),$&&tr($,!0),(R.innerHTML&&D.innerHTML==null||R.textContent&&D.textContent==null)&&c(I,""),F?x(E.dynamicChildren,F,I,$,H,ha(S,U),w):k||X(E,S,I,null,$,H,ha(S,U),w,!1),j>0){if(j&16)B(I,R,D,$,U);else if(j&2&&R.class!==D.class&&o(I,"class",null,D.class,U),j&4&&o(I,"style",R.style,D.style,U),j&8){const Z=S.dynamicProps;for(let fe=0;fe<Z.length;fe++){const de=Z[fe],Me=R[de],Be=D[de];(Be!==Me||de==="value")&&o(I,de,Me,Be,U,$)}}j&1&&E.children!==S.children&&c(I,S.children)}else!k&&F==null&&B(I,R,D,$,U);((Y=D.onVnodeUpdated)||z)&&Ke(()=>{Y&&yt(Y,$,S,E),z&&en(S,E,$,"updated")},H)},x=(E,S,$,H,U,w,k)=>{for(let I=0;I<S.length;I++){const j=E[I],F=S[I],z=j.el&&(j.type===Re||!Nt(j,F)||j.shapeFlag&70)?f(j.el):$;p(j,F,z,null,H,U,w,k,!0)}},B=(E,S,$,H,U)=>{if(S!==$){if(S!==Ce)for(const w in S)!zr(w)&&!(w in $)&&o(E,w,S[w],null,U,H);for(const w in $){if(zr(w))continue;const k=$[w],I=S[w];k!==I&&w!=="value"&&o(E,w,I,k,U,H)}"value"in $&&o(E,"value",S.value,$.value,U)}},M=(E,S,$,H,U,w,k,I,j)=>{const F=S.el=E?E.el:a(""),z=S.anchor=E?E.anchor:a("");let{patchFlag:R,dynamicChildren:D,slotScopeIds:Y}=S;Y&&(I=I?I.concat(Y):Y),E==null?(r(F,$,H),r(z,$,H),O(S.children||[],$,z,U,w,k,I,j)):R>0&&R&64&&D&&E.dynamicChildren?(x(E.dynamicChildren,D,$,U,w,k,I),(S.key!=null||U&&S===U.subTree)&&uc(E,S,!0)):X(E,S,$,z,U,w,k,I,j)},G=(E,S,$,H,U,w,k,I,j)=>{S.slotScopeIds=I,E==null?S.shapeFlag&512?U.ctx.activate(S,$,H,k,j):ie(S,$,H,U,w,k,j):le(E,S,j)},ie=(E,S,$,H,U,w,k)=>{const I=E.component=Vy(E,H,U);if(mo(E)&&(I.ctx.renderer=q),Wy(I,!1,k),I.asyncDep){if(U&&U.registerDep(I,J,k),!E.el){const j=I.subTree=ve(We);y(null,j,S,$)}}else J(I,E,S,$,U,w,k)},le=(E,S,$)=>{const H=S.component=E.component;if(xy(E,S,$))if(H.asyncDep&&!H.asyncResolved){Q(H,S,$);return}else H.next=S,H.update();else S.el=E.el,H.vnode=S},J=(E,S,$,H,U,w,k)=>{const I=()=>{if(E.isMounted){let{next:R,bu:D,u:Y,parent:Z,vnode:fe}=E;{const ot=ap(E);if(ot){R&&(R.el=fe.el,Q(E,R,k)),ot.asyncDep.then(()=>{E.isUnmounted||I()});return}}let de=R,Me;tr(E,!1),R?(R.el=fe.el,Q(E,R,k)):R=fe,D&&qr(D),(Me=R.props&&R.props.onVnodeBeforeUpdate)&&yt(Me,Z,R,fe),tr(E,!0);const Be=pa(E),ht=E.subTree;E.subTree=Be,p(ht,Be,f(ht.el),P(ht),E,U,w),R.el=Be.el,de===null&&Hi(E,Be.el),Y&&Ke(Y,U),(Me=R.props&&R.props.onVnodeUpdated)&&Ke(()=>yt(Me,Z,R,fe),U)}else{let R;const{el:D,props:Y}=S,{bm:Z,m:fe,parent:de,root:Me,type:Be}=E,ht=Vn(S);if(tr(E,!1),Z&&qr(Z),!ht&&(R=Y&&Y.onVnodeBeforeMount)&&yt(R,de,S),tr(E,!0),D&&re){const ot=()=>{E.subTree=pa(E),re(D,E.subTree,E,U,null)};ht&&Be.__asyncHydrate?Be.__asyncHydrate(D,E,ot):ot()}else{Me.ce&&Me.ce._injectChildStyle(Be);const ot=E.subTree=pa(E);p(null,ot,$,H,E,U,w),S.el=ot.el}if(fe&&Ke(fe,U),!ht&&(R=Y&&Y.onVnodeMounted)){const ot=S;Ke(()=>yt(R,de,ot),U)}(S.shapeFlag&256||de&&Vn(de.vnode)&&de.vnode.shapeFlag&256)&&E.a&&Ke(E.a,U),E.isMounted=!0,S=$=H=null}};E.scope.on();const j=E.effect=new oh(I);E.scope.off();const F=E.update=j.run.bind(j),z=E.job=j.runIfDirty.bind(j);z.i=E,z.id=E.uid,j.scheduler=()=>ic(z),tr(E,!0),F()},Q=(E,S,$)=>{S.component=E;const H=E.vnode.props;E.vnode=S,E.next=null,_y(E,S.props,H,$),wy(E,S.children,$),bn(),Gc(E),wn()},X=(E,S,$,H,U,w,k,I,j=!1)=>{const F=E&&E.children,z=E?E.shapeFlag:0,R=S.children,{patchFlag:D,shapeFlag:Y}=S;if(D>0){if(D&128){He(F,R,$,H,U,w,k,I,j);return}else if(D&256){me(F,R,$,H,U,w,k,I,j);return}}Y&8?(z&16&&Qe(F,U,w),R!==F&&c($,R)):z&16?Y&16?He(F,R,$,H,U,w,k,I,j):Qe(F,U,w,!0):(z&8&&c($,""),Y&16&&O(R,$,H,U,w,k,I,j))},me=(E,S,$,H,U,w,k,I,j)=>{E=E||Vr,S=S||Vr;const F=E.length,z=S.length,R=Math.min(F,z);let D;for(D=0;D<R;D++){const Y=S[D]=j?Dn(S[D]):Tt(S[D]);p(E[D],Y,$,null,U,w,k,I,j)}F>z?Qe(E,U,w,!0,!1,R):O(S,$,H,U,w,k,I,j,R)},He=(E,S,$,H,U,w,k,I,j)=>{let F=0;const z=S.length;let R=E.length-1,D=z-1;for(;F<=R&&F<=D;){const Y=E[F],Z=S[F]=j?Dn(S[F]):Tt(S[F]);if(Nt(Y,Z))p(Y,Z,$,null,U,w,k,I,j);else break;F++}for(;F<=R&&F<=D;){const Y=E[R],Z=S[D]=j?Dn(S[D]):Tt(S[D]);if(Nt(Y,Z))p(Y,Z,$,null,U,w,k,I,j);else break;R--,D--}if(F>R){if(F<=D){const Y=D+1,Z=Y<z?S[Y].el:H;for(;F<=D;)p(null,S[F]=j?Dn(S[F]):Tt(S[F]),$,Z,U,w,k,I,j),F++}}else if(F>D)for(;F<=R;)De(E[F],U,w,!0),F++;else{const Y=F,Z=F,fe=new Map;for(F=Z;F<=D;F++){const Ze=S[F]=j?Dn(S[F]):Tt(S[F]);Ze.key!=null&&fe.set(Ze.key,F)}let de,Me=0;const Be=D-Z+1;let ht=!1,ot=0;const Sn=new Array(Be);for(F=0;F<Be;F++)Sn[F]=0;for(F=Y;F<=R;F++){const Ze=E[F];if(Me>=Be){De(Ze,U,w,!0);continue}let it;if(Ze.key!=null)it=fe.get(Ze.key);else for(de=Z;de<=D;de++)if(Sn[de-Z]===0&&Nt(Ze,S[de])){it=de;break}it===void 0?De(Ze,U,w,!0):(Sn[it-Z]=F+1,it>=ot?ot=it:ht=!0,p(Ze,S[it],$,null,U,w,k,I,j),Me++)}const ms=ht?ky(Sn):Vr;for(de=ms.length-1,F=Be-1;F>=0;F--){const Ze=Z+F,it=S[Ze],Pn=Ze+1<z?S[Ze+1].el:H;Sn[F]===0?p(null,it,$,Pn,U,w,k,I,j):ht&&(de<0||F!==ms[de]?Ie(it,$,Pn,2):de--)}}},Ie=(E,S,$,H,U=null)=>{const{el:w,type:k,transition:I,children:j,shapeFlag:F}=E;if(F&6){Ie(E.component.subTree,S,$,H);return}if(F&128){E.suspense.move(S,$,H);return}if(F&64){k.move(E,S,$,q);return}if(k===Re){r(w,S,$);for(let R=0;R<j.length;R++)Ie(j[R],S,$,H);r(E.anchor,S,$);return}if(k===js){m(E,S,$);return}if(H!==2&&F&1&&I)if(H===0)I.beforeEnter(w),r(w,S,$),Ke(()=>I.enter(w),U);else{const{leave:R,delayLeave:D,afterLeave:Y}=I,Z=()=>{E.ctx.isUnmounted?s(w):r(w,S,$)},fe=()=>{R(w,()=>{Z(),Y&&Y()})};D?D(w,Z,fe):fe()}else r(w,S,$)},De=(E,S,$,H=!1,U=!1)=>{const{type:w,props:k,ref:I,children:j,dynamicChildren:F,shapeFlag:z,patchFlag:R,dirs:D,cacheIndex:Y}=E;if(R===-2&&(U=!1),I!=null&&(bn(),Xs(I,null,$,E,!0),wn()),Y!=null&&(S.renderCache[Y]=void 0),z&256){S.ctx.deactivate(E);return}const Z=z&1&&D,fe=!Vn(E);let de;if(fe&&(de=k&&k.onVnodeBeforeUnmount)&&yt(de,S,E),z&6)$t(E.component,$,H);else{if(z&128){E.suspense.unmount($,H);return}Z&&en(E,null,S,"beforeUnmount"),z&64?E.type.remove(E,S,$,q,H):F&&!F.hasOnce&&(w!==Re||R>0&&R&64)?Qe(F,S,$,!1,!0):(w===Re&&R&384||!U&&z&16)&&Qe(j,S,$),H&&ft(E)}(fe&&(de=k&&k.onVnodeUnmounted)||Z)&&Ke(()=>{de&&yt(de,S,E),Z&&en(E,null,S,"unmounted")},$)},ft=E=>{const{type:S,el:$,anchor:H,transition:U}=E;if(S===Re){dt($,H);return}if(S===js){_(E);return}const w=()=>{s($),U&&!U.persisted&&U.afterLeave&&U.afterLeave()};if(E.shapeFlag&1&&U&&!U.persisted){const{leave:k,delayLeave:I}=U,j=()=>k($,w);I?I(E.el,w,j):j()}else w()},dt=(E,S)=>{let $;for(;E!==S;)$=d(E),s(E),E=$;s(S)},$t=(E,S,$)=>{const{bum:H,scope:U,job:w,subTree:k,um:I,m:j,a:F,parent:z,slots:{__:R}}=E;fi(j),fi(F),H&&qr(H),z&&ee(R)&&R.forEach(D=>{z.renderCache[D]=void 0}),U.stop(),w&&(w.flags|=8,De(k,E,S,$)),I&&Ke(I,S),Ke(()=>{E.isUnmounted=!0},S),S&&S.pendingBranch&&!S.isUnmounted&&E.asyncDep&&!E.asyncResolved&&E.suspenseId===S.pendingId&&(S.deps--,S.deps===0&&S.resolve())},Qe=(E,S,$,H=!1,U=!1,w=0)=>{for(let k=w;k<E.length;k++)De(E[k],S,$,H,U)},P=E=>{if(E.shapeFlag&6)return P(E.component.subTree);if(E.shapeFlag&128)return E.suspense.next();const S=d(E.anchor||E.el),$=S&&S[Rh];return $?d($):S};let W=!1;const V=(E,S,$)=>{E==null?S._vnode&&De(S._vnode,null,null,!0):p(S._vnode||null,E,S,null,null,null,$),S._vnode=E,W||(W=!0,Gc(),li(),W=!1)},q={p,um:De,m:Ie,r:ft,mt:ie,mc:O,pc:X,pbc:x,n:P,o:e};let ne,re;return t&&([ne,re]=t(q)),{render:V,hydrate:ne,createApp:my(V,ne)}}function ha({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 tr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ip(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function uc(e,t,n=!1){const r=e.children,s=t.children;if(ee(r)&&ee(s))for(let o=0;o<r.length;o++){const i=r[o];let a=s[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[o]=Dn(s[o]),a.el=i.el),!n&&a.patchFlag!==-2&&uc(i,a)),a.type===qn&&(a.el=i.el),a.type===We&&!a.el&&(a.el=i.el)}}function ky(e){const t=e.slice(),n=[0];let r,s,o,i,a;const l=e.length;for(r=0;r<l;r++){const u=e[r];if(u!==0){if(s=n[n.length-1],e[s]<u){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<u?o=a+1:i=a;u<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function ap(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ap(t)}function fi(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Sy=Symbol.for("v-scx"),Py=()=>Ye(Sy);function fr(e,t){return Ui(e,null,t)}function cL(e,t){return Ui(e,null,{flush:"post"})}function Xe(e,t,n){return Ui(e,t,n)}function Ui(e,t,n=Ce){const{immediate:r,deep:s,flush:o,once:i}=n,a=nt({},n),l=t&&r||!t&&o!=="post";let u;if(Zr){if(o==="sync"){const h=Py();u=h.__watcherHandles||(h.__watcherHandles=[])}else if(!l){const h=()=>{};return h.stop=nn,h.resume=nn,h.pause=nn,h}}const c=Ge;a.call=(h,g,p)=>Bt(h,c,g,p);let f=!1;o==="post"?a.scheduler=h=>{Ke(h,c&&c.suspense)}:o!=="sync"&&(f=!0,a.scheduler=(h,g)=>{g?h():ic(h)}),a.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,c&&(h.id=c.uid,h.i=c))};const d=H_(e,t,a);return Zr&&(u?u.push(d):l&&d()),d}function Cy(e,t,n){const r=this.proxy,s=$e(e)?e.includes(".")?lp(r,e):()=>r[e]:e.bind(r,r);let o;oe(t)?o=t:(o=t.handler,n=t);const i=_r(this),a=Ui(s,o.bind(r),n);return i(),a}function lp(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}const Ay=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Lt(t)}Modifiers`]||e[`${Yn(t)}Modifiers`];function Ry(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ce;let s=n;const o=t.startsWith("update:"),i=o&&Ay(r,t.slice(7));i&&(i.trim&&(s=n.map(c=>$e(c)?c.trim():c)),i.number&&(s=n.map(ni)));let a,l=r[a=Ko(t)]||r[a=Ko(Lt(t))];!l&&o&&(l=r[a=Ko(Yn(t))]),l&&Bt(l,e,6,s);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Bt(u,e,6,s)}}function cp(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},a=!1;if(!oe(e)){const l=u=>{const c=cp(u,t,!0);c&&(a=!0,nt(i,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(Pe(e)&&r.set(e,null),null):(ee(o)?o.forEach(l=>i[l]=null):nt(i,o),Pe(e)&&r.set(e,i),i)}function Fi(e,t){return!e||!uo(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ee(e,t[0].toLowerCase()+t.slice(1))||Ee(e,Yn(t))||Ee(e,t))}function pa(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:a,emit:l,render:u,renderCache:c,props:f,data:d,setupState:h,ctx:g,inheritAttrs:p}=e,b=ci(e);let y,v;try{if(n.shapeFlag&4){const _=s||r,T=_;y=Tt(u.call(T,_,c,f,h,d,g)),v=a}else{const _=t;y=Tt(_.length>1?_(f,{attrs:a,slots:i,emit:l}):_(f,null)),v=t.props?a:Ly(a)}}catch(_){Ns.length=0,us(_,e,1),y=ve(We)}let m=y;if(v&&p!==!1){const _=Object.keys(v),{shapeFlag:T}=m;_.length&&T&7&&(o&&_.some(Jl)&&(v=Iy(v,o)),m=Tn(m,v,!1,!0))}return n.dirs&&(m=Tn(m,null,!1,!0),m.dirs=m.dirs?m.dirs.concat(n.dirs):n.dirs),n.transition&&Xr(m,n.transition),y=m,ci(b),y}function Oy(e,t=!0){let n;for(let r=0;r<e.length;r++){const s=e[r];if(At(s)){if(s.type!==We||s.children==="v-if"){if(n)return;n=s}}else return}return n}const Ly=e=>{let t;for(const n in e)(n==="class"||n==="style"||uo(n))&&((t||(t={}))[n]=e[n]);return t},Iy=(e,t)=>{const n={};for(const r in e)(!Jl(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function xy(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:l}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?iu(r,i,u):!!i;if(l&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const d=c[f];if(i[d]!==r[d]&&!Fi(u,d))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?iu(r,i,u):!0:!!i;return!1}function iu(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(t[o]!==e[o]&&!Fi(n,o))return!0}return!1}function Hi({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 di=e=>e.__isSuspense;let Za=0;const $y={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,l,u){if(e==null)Dy(t,n,r,s,o,i,a,l,u);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}jy(e,t,n,r,s,i,a,l,u)}},hydrate:Ny,normalize:My},fc=$y;function Qs(e,t){const n=e.props&&e.props[t];oe(n)&&n()}function Dy(e,t,n,r,s,o,i,a,l){const{p:u,o:{createElement:c}}=l,f=c("div"),d=e.suspense=up(e,s,r,t,f,n,o,i,a,l);u(null,d.pendingBranch=e.ssContent,f,null,r,d,o,i),d.deps>0?(Qs(e,"onPending"),Qs(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,o,i),Gr(d,e.ssFallback)):d.resolve(!1,!0)}function jy(e,t,n,r,s,o,i,a,{p:l,um:u,o:{createElement:c}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:g,pendingBranch:p,isInFallback:b,isHydrating:y}=f;if(p)f.pendingBranch=d,Nt(d,p)?(l(p,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():b&&(y||(l(g,h,n,r,s,null,o,i,a),Gr(f,h)))):(f.pendingId=Za++,y?(f.isHydrating=!1,f.activeBranch=p):u(p,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),b?(l(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():(l(g,h,n,r,s,null,o,i,a),Gr(f,h))):g&&Nt(d,g)?(l(g,d,n,r,s,f,o,i,a),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0&&f.resolve()));else if(g&&Nt(d,g))l(g,d,n,r,s,f,o,i,a),Gr(f,d);else if(Qs(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=Za++,l(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0)f.resolve();else{const{timeout:v,pendingId:m}=f;v>0?setTimeout(()=>{f.pendingId===m&&f.fallback(h)},v):v===0&&f.fallback(h)}}function up(e,t,n,r,s,o,i,a,l,u,c=!1){const{p:f,m:d,um:h,n:g,o:{parentNode:p,remove:b}}=u;let y;const v=Uy(e);v&&t&&t.pendingBranch&&(y=t.pendingId,t.deps++);const m=e.props?eh(e.props.timeout):void 0,_=o,T={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:s,deps:0,pendingId:Za++,timeout:typeof m=="number"?m:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(C=!1,A=!1){const{vnode:O,activeBranch:L,pendingBranch:x,pendingId:B,effects:M,parentComponent:G,container:ie}=T;let le=!1;T.isHydrating?T.isHydrating=!1:C||(le=L&&x.transition&&x.transition.mode==="out-in",le&&(L.transition.afterLeave=()=>{B===T.pendingId&&(d(x,ie,o===_?g(L):o,0),Wa(M))}),L&&(p(L.el)===ie&&(o=g(L)),h(L,G,T,!0)),le||d(x,ie,o,0)),Gr(T,x),T.pendingBranch=null,T.isInFallback=!1;let J=T.parent,Q=!1;for(;J;){if(J.pendingBranch){J.effects.push(...M),Q=!0;break}J=J.parent}!Q&&!le&&Wa(M),T.effects=[],v&&t&&t.pendingBranch&&y===t.pendingId&&(t.deps--,t.deps===0&&!A&&t.resolve()),Qs(O,"onResolve")},fallback(C){if(!T.pendingBranch)return;const{vnode:A,activeBranch:O,parentComponent:L,container:x,namespace:B}=T;Qs(A,"onFallback");const M=g(O),G=()=>{T.isInFallback&&(f(null,C,x,M,L,null,B,a,l),Gr(T,C))},ie=C.transition&&C.transition.mode==="out-in";ie&&(O.transition.afterLeave=G),T.isInFallback=!0,h(O,L,null,!0),ie||G()},move(C,A,O){T.activeBranch&&d(T.activeBranch,C,A,O),T.container=C},next(){return T.activeBranch&&g(T.activeBranch)},registerDep(C,A,O){const L=!!T.pendingBranch;L&&T.deps++;const x=C.vnode.el;C.asyncDep.catch(B=>{us(B,C,0)}).then(B=>{if(C.isUnmounted||T.isUnmounted||T.pendingId!==C.suspenseId)return;C.asyncResolved=!0;const{vnode:M}=C;nl(C,B),x&&(M.el=x);const G=!x&&C.subTree.el;A(C,M,p(x||C.subTree.el),x?null:g(C.subTree),T,i,O),G&&b(G),Hi(C,M.el),L&&--T.deps===0&&T.resolve()})},unmount(C,A){T.isUnmounted=!0,T.activeBranch&&h(T.activeBranch,n,C,A),T.pendingBranch&&h(T.pendingBranch,n,C,A)}};return T}function Ny(e,t,n,r,s,o,i,a,l){const u=t.suspense=up(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,a,!0),c=l(e,u.pendingBranch=t.ssContent,n,u,o,i);return u.deps===0&&u.resolve(!1,!0),c}function My(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=au(r?n.default:n),e.ssFallback=r?au(n.fallback):ve(We)}function au(e){let t;if(oe(e)){const n=Qr&&e._c;n&&(e._d=!1,ue()),e=e(),n&&(e._d=!0,t=bt,dp())}return ee(e)&&(e=Oy(e)),e=Tt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function fp(e,t){t&&t.pendingBranch?ee(e)?t.effects.push(...e):t.effects.push(e):Wa(e)}function Gr(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,r&&r.subTree===n&&(r.vnode.el=s,Hi(r,s))}function Uy(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Re=Symbol.for("v-fgt"),qn=Symbol.for("v-txt"),We=Symbol.for("v-cmt"),js=Symbol.for("v-stc"),Ns=[];let bt=null;function ue(e=!1){Ns.push(bt=e?null:[])}function dp(){Ns.pop(),bt=Ns[Ns.length-1]||null}let Qr=1;function lu(e,t=!1){Qr+=e,e<0&&bt&&t&&(bt.hasOnce=!0)}function hp(e){return e.dynamicChildren=Qr>0?bt||Vr:null,dp(),Qr>0&&bt&&bt.push(e),e}function je(e,t,n,r,s,o){return hp(It(e,t,n,r,s,o,!0))}function ct(e,t,n,r,s){return hp(ve(e,t,n,r,s,!0))}function At(e){return e?e.__v_isVNode===!0:!1}function Nt(e,t){return e.type===t.type&&e.key===t.key}const pp=({key:e})=>e??null,Jo=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?$e(e)||Se(e)||oe(e)?{i:Je,r:e,k:t,f:!!n}:e:null);function It(e,t=null,n=null,r=0,s=null,o=e===Re?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&pp(t),ref:t&&Jo(t),scopeId:Ah,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Je};return a?(dc(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=$e(n)?8:16),Qr>0&&!i&&bt&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&bt.push(l),l}const ve=Fy;function Fy(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===Wh)&&(e=We),At(e)){const a=Tn(e,t,!0);return n&&dc(a,n),Qr>0&&!o&&bt&&(a.shapeFlag&6?bt[bt.indexOf(e)]=a:bt.push(a)),a.patchFlag=-2,a}if(Ky(e)&&(e=e.__vccOpts),t){t=mp(t);let{class:a,style:l}=t;a&&!$e(a)&&(t.class=Et(a)),Pe(l)&&(rc(l)&&!ee(l)&&(l=nt({},l)),t.style=Bn(l))}const i=$e(e)?1:di(e)?128:Oh(e)?64:Pe(e)?4:oe(e)?2:0;return It(e,t,n,r,s,i,o,!0)}function mp(e){return e?rc(e)||Zh(e)?nt({},e):e:null}function Tn(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:a,transition:l}=e,u=t?pr(s||{},t):s,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&pp(u),ref:t&&t.ref?n&&o?ee(o)?o.concat(Jo(t)):[o,Jo(t)]:Jo(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Re?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&&Tn(e.ssContent),ssFallback:e.ssFallback&&Tn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Xr(c,l.clone(c)),c}function hi(e=" ",t=0){return ve(qn,null,e,t)}function uL(e,t){const n=ve(js,null,e);return n.staticCount=t,n}function ar(e="",t=!1){return t?(ue(),ct(We,null,e)):ve(We,null,e)}function Tt(e){return e==null||typeof e=="boolean"?ve(We):ee(e)?ve(Re,null,e.slice()):At(e)?Dn(e):ve(qn,null,String(e))}function Dn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Tn(e)}function dc(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ee(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),dc(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Zh(t)?t._ctx=Je:s===3&&Je&&(Je.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else oe(t)?(t={default:t,_ctx:Je},n=32):(t=String(t),r&64?(n=16,t=[hi(t)]):n=8);e.children=t,e.shapeFlag|=n}function pr(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=Et([t.class,r.class]));else if(s==="style")t.style=Bn([t.style,r.style]);else if(uo(s)){const o=t[s],i=r[s];i&&o!==i&&!(ee(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function yt(e,t,n,r=null){Bt(e,t,7,[n,r])}const Hy=Yh();let By=0;function Vy(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||Hy,o={uid:By++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new sh(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:tp(r,s),emitsOptions:cp(r,s),emit:null,emitted:null,propsDefaults:Ce,inheritAttrs:r.inheritAttrs,ctx:Ce,data:Ce,props:Ce,attrs:Ce,slots:Ce,refs:Ce,setupState:Ce,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,
vendor: 2,023 bytes, lines 15-18
15sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=Ry.bind(null,o),e.ce&&e.ce(o),o}let Ge=null;const on=()=>Ge||Je;let pi,el;{const e=Ii(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};pi=t("__VUE_INSTANCE_SETTERS__",n=>Ge=n),el=t("__VUE_SSR_SETTERS__",n=>Zr=n)}const _r=e=>{const t=Ge;return pi(e),e.scope.on(),()=>{e.scope.off(),pi(t)}},tl=()=>{Ge&&Ge.scope.off(),pi(null)};function gp(e){return e.vnode.shapeFlag&4}let Zr=!1;function Wy(e,t=!1,n=!1){t&&el(t);const{props:r,children:s}=e.vnode,o=gp(e);gy(e,r,o,t),by(e,s,n||t);const i=o?zy(e,t):void 0;return t&&el(!1),i}function zy(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ay);const{setup:r}=n;if(r){bn();const s=e.setupContext=r.length>1?yp(e):null,o=_r(e),i=po(r,e,0,[e.props,s]),a=Xl(i);if(wn(),o(),(a||e.sp)&&!Vn(e)&&ac(e),a){if(i.then(tl,tl),t)return i.then(l=>{nl(e,l)}).catch(l=>{us(l,e,0)});e.asyncDep=i}else nl(e,i)}else _p(e)}function nl(e,t,n){oe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Pe(t)&&(e.setupState=Th(t)),_p(e)}function _p(e,t,n){const r=e.type;e.render||(e.render=r.render||nn);{const s=_r(e);bn();try{cy(e)}finally{wn(),s()}}}const qy={get(e,t){return lt(e,"get",""),e[t]}};function yp(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,qy),slots:e.slots,emit:e.emit,expose:t}}function Bi(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Th(sc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ds)return Ds[n](e)},has(t,n){return n in t||n in Ds}})):e.proxy}function rl(e,t=!0){return oe(e)?e.displayName||e.name:e.name||t&&e.__name}function Ky(e){return oe(e)&&"__vccOpts"in e}const se=(e,t)=>U_(e,t,Zr);function qe(e,t,n){const r=arguments.length;return r===2?Pe(t)&&!ee(t)?At(t)?ve(e,null,[t]):ve(e,t):ve(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&At(n)&&(n=[n]),ve(e,t,n))}const Gy="3.5.14";/**
16* @vue/runtime-dom v3.5.14
17* (c) 2018-present Yuxi (Evan) You and Vue contributors
18* @license MIT
19**/let sl;const cu=typeof window<"u"&&window.trustedTypes;if(cu)try{sl=cu.createPolicy("vue",{createHTML:e=>e})}catch{}const vp=sl?e=>sl.createHTML(e):e=>e,Jy="http://www.w3.org/2000/svg",Yy="http://www.w3.org/1998/Math/MathML",fn=typeof document<"u"?document:null,uu=fn&&fn.createElement("template"),Xy={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?fn.createElementNS(Jy,e):t==="mathml"?fn.createElementNS(Yy,e):n?fn.createElement(e,{is:n}):fn.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>fn.createTextNode(e),createComment:e=>fn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>fn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{uu.innerHTML=vp(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=uu.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]}},Cn="transition",ys="animation",Zs=Symbol("_vtc"),bp={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},Qy=nt({},xh,bp),Zy=e=>(e.displayName="Transition",e.props=Qy,e),ev=Zy((e,{slots:t})=>qe(K_,tv(e),t)),nr=(e,t=[])=>{ee(e)?e.forEach(n=>n(...t)):e&&e(...t)},fu=e=>e?ee(e)?e.some(t=>t.length>1):e.length>1:!1;function tv(e){const t={};for(const M in e)M in bp||(t[M]=e[M]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:u=i,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=nv(s),p=g&&g[0],b=g&&g[1],{onBeforeEnter:y,onEnter:v,onEnterCancelled:m,onLeave:_,onLeaveCancelled:T,onBeforeAppear:C=y,onAppear:A=v,onAppearCancelled:O=m}=t,L=(M,G,ie,le)=>{M._enterCancelled=le,rr(M,G?c:a),rr(M,G?u:i),ie&&ie()},x=(M,G)=>{M._isLeaving=!1,rr(M,f),rr(M,h),rr(M,d),G&&G()},B=M=>(G,ie)=>{const le=M?A:v,J=()=>L(G,M,ie);nr(le,[G,J]),du(()=>{rr(G,M?l:o),ln(G,M?c:a),fu(le)||hu(G,r,p,J)})};return nt(t,{onBeforeEnter(M){nr(y,[M]),ln(M,o),ln(M,i)},onBeforeAppear(M){nr(C,[M]),ln(M,l),ln(M,u)},onEnter:B(!1),onAppear:B(!0),onLeave(M,G){M._isLeaving=!0;const ie=()=>x(M,G);ln(M,f),M._enterCancelled?(ln(M,d),gu()):(gu(),ln(M,d)),du(()=>{M._isLeaving&&(rr(M,f),ln(M,h),fu(_)||hu(M,r,b,ie))}),nr(_,[M,ie])},onEnterCancelled(M){L(M,!1,void 0,!0),nr(m,[M])},onAppearCancelled(M){L(M,!0,void 0,!0),nr(O,[M])},onLeaveCancelled(M){x(M),nr(T,[M])}})}function nv(e){if(e==null)return null;if(Pe(e))return[ma(e.enter),ma(e.leave)];{const t=ma(e);return[t,t]}}function ma(e){return eh(e)}function ln(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Zs]||(e[Zs]=new Set)).add(t)}function rr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Zs];n&&(n.delete(t),n.size||(e[Zs]=void 0))}function du(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let rv=0;function hu(e,t,n,r){const s=e._endId=++rv,o=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:a,propCount:l}=sv(e,t);if(!i)return r();const u=i+"end";let c=0;const f=()=>{e.removeEventListener(u,d),o()},d=h=>{h.target===e&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},a+1),e.addEventListener(u,d)}function sv(e,t){const n=window.getComputedStyle(e),r=g=>(n[g]||"").split(", "),s=r(`${Cn}Delay`),o=r(`${Cn}Duration`),i=pu(s,o),a=r(`${ys}Delay`),l=r(`${ys}Duration`),u=pu(a,l);let c=null,f=0,d=0;t===Cn?i>0&&(c=Cn,f=i,d=o.length):t===ys?u>0&&(c=ys,f=u,d=l.length):(f=Math.max(i,u),c=f>0?i>u?Cn:ys:null,d=c?c===Cn?o.length:l.length:0);const h=c===Cn&&/\b(transform|all)(,|$)/.test(r(`${Cn}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:h}}function pu(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>mu(n)+mu(e[r])))}function mu(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function gu(){return document.body.offsetHeight}function ov(e,t,n){const r=e[Zs];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const mi=Symbol("_vod"),wp=Symbol("_vsh"),fL={beforeMount(e,{value:t},{transition:n}){e[mi]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):vs(e,t)}
vendor: 6,761 bytes, line 19
19,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),vs(e,!0),r.enter(e)):r.leave(e,()=>{vs(e,!1)}):vs(e,t))},beforeUnmount(e,{value:t}){vs(e,t)}};function vs(e,t){e.style.display=t?e[mi]:"none",e[wp]=!t}const iv=Symbol(""),av=/(^|;)\s*display\s*:/;function lv(e,t,n){const r=e.style,s=$e(n);let o=!1;if(n&&!s){if(t)if($e(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Yo(r,a,"")}else for(const i in t)n[i]==null&&Yo(r,i,"");for(const i in n)i==="display"&&(o=!0),Yo(r,i,n[i])}else if(s){if(t!==n){const i=r[iv];i&&(n+=";"+i),r.cssText=n,o=av.test(n)}}else t&&e.removeAttribute("style");mi in e&&(e[mi]=o?r.display:"",e[wp]&&(r.display="none"))}const _u=/\s*!important$/;function Yo(e,t,n){if(ee(n))n.forEach(r=>Yo(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=cv(e,t);_u.test(n)?e.setProperty(Yn(r),n.replace(_u,""),"important"):e[r]=n}}const yu=["Webkit","Moz","ms"],ga={};function cv(e,t){const n=ga[t];if(n)return n;let r=Lt(t);if(r!=="filter"&&r in e)return ga[t]=r;r=Li(r);for(let s=0;s<yu.length;s++){const o=yu[s]+r;if(o in e)return ga[t]=o}return t}const vu="http://www.w3.org/1999/xlink";function bu(e,t,n,r,s,o=u_(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(vu,t.slice(6,t.length)):e.setAttributeNS(vu,t,n):n==null||o&&!th(n)?e.removeAttribute(t):e.setAttribute(t,o?"":Ht(n)?String(n):n)}function wu(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?vp(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const a=o==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=th(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(s||t)}function gn(e,t,n,r){e.addEventListener(t,n,r)}function uv(e,t,n,r){e.removeEventListener(t,n,r)}const Eu=Symbol("_vei");function fv(e,t,n,r,s=null){const o=e[Eu]||(e[Eu]={}),i=o[t];if(r&&i)i.value=r;else{const[a,l]=dv(t);if(r){const u=o[t]=mv(r,s);gn(e,a,u,l)}else i&&(uv(e,a,i,l),o[t]=void 0)}}const Tu=/(?:Once|Passive|Capture)$/;function dv(e){let t;if(Tu.test(e)){t={};let r;for(;r=e.match(Tu);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Yn(e.slice(2)),t]}let _a=0;const hv=Promise.resolve(),pv=()=>_a||(hv.then(()=>_a=0),_a=Date.now());function mv(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Bt(gv(r,n.value),t,5,[r])};return n.value=e,n.attached=pv(),n}function gv(e,t){if(ee(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const ku=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,_v=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?ov(e,r,i):t==="style"?lv(e,n,r):uo(t)?Jl(t)||fv(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):yv(e,t,r,i))?(wu(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&bu(e,t,r,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!$e(r))?wu(e,Lt(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),bu(e,t,r,i))};function yv(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&ku(t)&&oe(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return ku(t)&&$e(n)?!1:t in e}const Jn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ee(t)?n=>qr(t,n):t};function vv(e){e.target.composing=!0}function Su(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ot=Symbol("_assign"),dL={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[Ot]=Jn(s);const o=r||s.props&&s.props.type==="number";gn(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=ni(a)),e[Ot](a)}),n&&gn(e,"change",()=>{e.value=e.value.trim()}),t||(gn(e,"compositionstart",vv),gn(e,"compositionend",Su),gn(e,"change",Su))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[Ot]=Jn(i),e.composing)return;const a=(o||e.type==="number")&&!/^0\d/.test(e.value)?ni(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===l)||(e.value=l))}},hL={deep:!0,created(e,t,n){e[Ot]=Jn(n),gn(e,"change",()=>{const r=e._modelValue,s=es(e),o=e.checked,i=e[Ot];if(ee(r)){const a=Zl(r,s),l=a!==-1;if(o&&!l)i(r.concat(s));else if(!o&&l){const u=[...r];u.splice(a,1),i(u)}}else if(ls(r)){const a=new Set(r);o?a.add(s):a.delete(s),i(a)}else i(Ep(e,o))})},mounted:Pu,beforeUpdate(e,t,n){e[Ot]=Jn(n),Pu(e,t,n)}};function Pu(e,{value:t,oldValue:n},r){e._modelValue=t;let s;if(ee(t))s=Zl(t,r.props.value)>-1;else if(ls(t))s=t.has(r.props.value);else{if(t===n)return;s=gr(t,Ep(e,!0))}e.checked!==s&&(e.checked=s)}const pL={created(e,{value:t},n){e.checked=gr(t,n.props.value),e[Ot]=Jn(n),gn(e,"change",()=>{e[Ot](es(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Ot]=Jn(r),t!==n&&(e.checked=gr(t,r.props.value))}},mL={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=ls(t);gn(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?ni(es(i)):es(i));e[Ot](e.multiple?s?new Set(o):o:o[0]),e._assigning=!0,Vt(()=>{e._assigning=!1})}),e[Ot]=Jn(r)},mounted(e,{value:t}){Cu(e,t)},beforeUpdate(e,t,n){e[Ot]=Jn(n)},updated(e,{value:t}){e._assigning||Cu(e,t)}};function Cu(e,t){const n=e.multiple,r=ee(t);if(!(n&&!r&&!ls(t))){for(let s=0,o=e.options.length;s<o;s++){const i=e.options[s],a=es(i);if(n)if(r){const l=typeof a;l==="string"||l==="number"?i.selected=t.some(u=>String(u)===String(a)):i.selected=Zl(t,a)>-1}else i.selected=t.has(a);else if(gr(es(i),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function es(e){return"_value"in e?e._value:e.value}function Ep(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const bv=["ctrl","shift","alt","meta"],wv={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)=>
19bv.some(n=>e[`${n}Key`]&&!t.includes(n))},gL=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...o)=>{for(let i=0;i<t.length;i++){const a=wv[t[i]];if(a&&a(s,t))return}return e(s,...o)})},Ev={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},_L=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const o=Yn(s.key);if(t.some(i=>i===o||Ev[i]===o))return e(s)})},Tp=nt({patchProp:_v},Xy);let Ms,Au=!1;function Tv(){return Ms||(Ms=Ey(Tp))}function kv(){return Ms=Au?Ms:Ty(Tp),Au=!0,Ms}const Sv=(...e)=>{const t=Tv().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Sp(r);if(!s)return;const o=t._component;!oe(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,kp(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},Pv=(...e)=>{const t=kv().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Sp(r);if(s)return n(s,!0,kp(s))},t};function kp(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Sp(e){return $e(e)?document.querySelector(e):e}const Cv=/"(?:_|\\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*:/,Av=/"(?: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*:/,Rv=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Ov(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Lv(e);return}return t}function Lv(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function eo(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(!Rv.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Cv.test(e)||Av.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Ov)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const Iv=/#/g,xv=/&/g,$v=/\//g,Dv=/=/g,hc=/\+/g,jv=/%5e/gi,Nv=/%60/gi,Mv=/%7c/gi,Uv=/%20/gi;function Fv(e){return encodeURI(""+e).replace(Mv,"|")}function ol(e){return Fv(typeof e=="string"?e:JSON.stringify(e)).replace(hc,"%2B").replace(Uv,"+").replace(Iv,"%23").replace(xv,"%26").replace(Nv,"`").replace(jv,"^").replace($v,"%2F")}function ya(e){return ol(e).replace(Dv,"%3D")}function ts(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Hv(e){return ts(e.replace(hc," "))}function Bv(e){return ts(e.replace(hc," "))}function pc(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=Hv(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=Bv(r[2]||"");t[s]===void 0?t[s]=o:Array.isArray(t[s])?t[s].push(o):t[s]=[t[s],o]}return t}function Vv(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${ya(e)}=${ol(n)}`).join("&"):`${ya(e)}=${ol(t)}`:ya(e)}function Wv(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Vv(t,e[t])).filter(Boolean).join("&")}const zv=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Pp=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,qv=/^([/\\]\s*){2,}[^/\\]/,Kv=/^[\s\0]*(blob|data|javascript|vbscript):$/i,Gv=/\/$|\/\?|\/#/,Jv=/^\.?\//;function Kt(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?zv.test(e):Pp.test(e)||(t.acceptRelative?qv.test(e):!1)}function Yv(e){return!!e&&Kv.test(e)}function il(e="",t){return t?Gv.test(e):e.endsWith("/")}function ns(e="",t){if(!t)return(il(e)?e.slice(0,-1):e)||"/";if(!il(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");s!==-1&&(n=e.slice(0,s),r=e.slice(s));const[o,...i]=n.split("?");return((o.endsWith("/")?o.slice(0,-1):o)||"/")+(i.length>0?`?${i.join("?")}`:"")+r}function gi(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(il(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");if(s!==-1&&(n=e.slice(0,s),r=e.slice(s),!n))return r;const[o,...i]=n.split("?");return o+"/"+(i.length>0?`?${i.join("?")}`:"")+r}function Xv(e=""){return e.startsWith("/")}function Ru(e=""){return Xv(e)?e:"/"+e}function Qv(e,t){if(Cp(t)||Kt(e))return e;const n=ns(t);return e.startsWith(n)?e:wr(n,e)}function Ou(e,t){if(Cp(t))return e;const n=ns(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function Vi(e,t){const n=to(e),r={...pc(n.search),...t};return n.search=Wv(r),rb(n)}function Cp(e){return!e||e==="/"}function Zv(e){return e&&e!=="/"}function wr(e,...t){let n=e||"";for(const r of t.filter(s=>Zv(s)))if(n){const s=r.replace(Jv,"");n=gi(n)+s}else n=r;return n}function Ap(...e){var i,a,l,u;const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let s=0;for(const c of n)if(!(!c||c==="/")){for(const[f,d]of c.split(t).entries())if(!(!d||d===".")){if(d===".."){if(r.length===1&&Kt(r[0]))continue;r.pop(),s--;continue}if(f===1&&((i=r[r.length-1])!=null&&i.endsWith(":/"))){r[r.length-1]+="/"+d;continue}r.push(d),s++}}let o=r.join("/");return s>=0?(a=n[0])!=null&&a.startsWith("/")&&!o.startsWith("/")?o="/"+o:(l=n[0])!=null&&l.startsWith("./")&&!o.startsWith("./")&&(o="./"+o):o="../".repeat(-1*s)+o,(u=n[n.length-1])!=null&&u.endsWith("/")&&!o.endsWith("/")&&(o+="/"),o}function eb(e){return tb(e,"https://")}function tb(e,t){let n=e.match(Pp);return n||(n=e.match(/^\/{2,}/)),n?t+e.slice(n[0].length):t+e}function nb(e,t){return ts(ns(e))===ts(ns(t))}function Lu(e,t,n={}){return n.trailingSlash||(e=gi(e),t=gi(t)),n.leadingSlash||(e=Ru(e),t=Ru(t)),n.encoding||(e=ts(e),t=ts(t)),e===t}const Rp=Symbol.for("ufo:protocolRelative");function to(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(!Kt(e,{acceptRelative:!0}))return t?to(t+e):al(e);const[,r="",s,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",a=""]=o.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:u,hash:c}=al(a);return{protocol:r.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:l,search:u,hash:c,[Rp]:!r}}function al(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function rb(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?""
19:"?")+e.search:"",r=e.hash||"",s=e.auth?e.auth+"@":"",o=e.host||"";return(e.protocol||e[Rp]?(e.protocol||"")+"//":"")+s+o+t+n+r}class sb extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function ob(e){var l,u,c,f,d;const t=((l=e.error)==null?void 0:l.message)||((u=e.error)==null?void 0:u.toString())||"",n=((c=e.request)==null?void 0:c.method)||((f=e.options)==null?void 0:f.method)||"GET",r=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",s=`[${n}] ${JSON.stringify(r)}`,o=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${s}: ${o}${t?` ${t}`:""}`,a=new sb(i,e.error?{cause:e.error}:void 0);for(const h of["request","options","response"])Object.defineProperty(a,h,{get(){return e[h]}});for(const[h,g]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,h,{get(){return e.response&&e.response[g]}});return a}const ib=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Iu(e="GET"){return ib.has(e.toUpperCase())}function ab(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const lb=new Set(["image/svg","application/xml","application/xhtml","application/html"]),cb=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function ub(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return cb.test(t)?"json":lb.has(t)||t.startsWith("text/")?"text":"blob"}function fb(e,t,n,r){const s=db((t==null?void 0:t.headers)??(e==null?void 0:e.headers),n==null?void 0:n.headers,r);let o;return(n!=null&&n.query||n!=null&&n.params||t!=null&&t.params||t!=null&&t.query)&&(o={...n==null?void 0:n.params,...n==null?void 0:n.query,...t==null?void 0:t.params,...t==null?void 0:t.query}),{...n,...t,query:o,params:o,headers:s}}function db(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[s,o]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(s,o);return r}async function Lo(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const hb=new Set([408,409,425,429,500,502,503,504]),pb=new Set([101,204,205,304]);function Op(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function s(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let c;typeof a.options.retry=="number"?c=a.options.retry:c=Iu(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(c>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):hb.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)),o(a.request,{...a.options,retry:c-1})}}const u=ob(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,o),u}const o=async function(l,u={}){const c={request:l,options:fb(l,u,e.defaults,n),response:void 0,error:void 0};c.options.method&&(c.options.method=c.options.method.toUpperCase()),c.options.onRequest&&await Lo(c,c.options.onRequest),typeof c.request=="string"&&(c.options.baseURL&&(c.request=Qv(c.request,c.options.baseURL)),c.options.query&&(c.request=Vi(c.request,c.options.query),delete c.options.query),"query"in c.options&&delete c.options.query,"params"in c.options&&delete c.options.params),c.options.body&&Iu(c.options.method)&&(ab(c.options.body)?(c.options.body=typeof c.options.body=="string"?c.options.body:JSON.stringify(c.options.body),c.options.headers=new n(c.options.headers||{}),c.options.headers.has("content-type")||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")):("pipeTo"in c.options.body&&typeof c.options.body.pipeTo=="function"||typeof c.options.body.pipe=="function")&&("duplex"in c.options||(c.options.duplex="half")));let f;if(!c.options.signal&&c.options.timeout){const h=new r;f=setTimeout(()=>{const g=new Error("[TimeoutError]: The operation was aborted due to timeout");g.name="TimeoutError",g.code=23,h.abort(g)},c.options.timeout),c.options.signal=h.signal}try{c.response=await t(c.request,c.options)}catch(h){return c.error=h,c.options.onRequestError&&await Lo(c,c.options.onRequestError),await s(c)}finally{f&&clearTimeout(f)}if((c.response.body||c.response._bodyInit)&&!pb.has(c.response.status)&&c.options.method!=="HEAD"){const h=(c.options.parseResponse?"json":c.options.responseType)||ub(c.response.headers.get("content-type")||"");switch(h){case"json":{const g=await c.response.text(),p=c.options.parseResponse||eo;c.response._data=p(g);break}case"stream":{c.response._data=c.response.body||c.response._bodyInit;break}default:c.response._data=await c.response[h]()}}return c.options.onResponse&&await Lo(c,c.options.onResponse),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await Lo(c,c.options.onResponseError),await s(c)):c.response},i=async function(l,u){return(await o(l,u))._data};return i.raw=o,i.native=(...a)=>t(...a),i.create=(a={},l={})=>Op({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),i}const _i=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")}(),mb=_i.fetch?(...e)=>_i.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),gb=_i.Headers,_b=_i.AbortController,yb=Op({fetch:mb,Headers:gb,AbortController:_b}),vb=yb,bb=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},yi=bb().app,wb=()=>yi.baseURL,Eb=()=>yi.buildAssetsDir,mc=(...e)=>Ap(Lp(),Eb(),...e),Lp=(...e)=>{const t=yi.cdnURL||yi.baseURL;return e.length?Ap(t,...e):t};globalThis.__buildAssetsURL=mc,globalThis.__publicAssetsURL=Lp;globalThis.$fetch||(globalThis.$fetch=vb.create({baseURL:wb()}));"global"in globalThis||(globalThis.global=globalThis);function ll(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?ll(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const Tb={run:e=>e()},kb=()=>Tb,Ip=typeof console.createTask<"u"?console.createTask:kb;function Sb(e,t){const n=t.shift(),r=Ip(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function Pb(e,t){const n=t.shift(),r=Ip(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function va(e,t){for(const n of[...e])n(t)}class Cb{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const s=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!r.allowDeprecated){let i=o.message;i||(i=`${s} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,s=(...o)=>(typeof r=="function"&&r(),r=void 0,s=void 0,n(...o));return r=this.hook(t,s),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const s of r)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=ll(t),r=Object.keys(n).map(s=>this.hook(s,n[s]));return()=>{for(const s of r.splice(0,r.length))s()}}removeHooks(t){const n=ll(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(Sb,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Pb,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;
19this._before&&va(this._before,s);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&va(this._after,s)}):(this._after&&s&&va(this._after,s),o)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function xp(){return new Cb}function Ab(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let s;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?s=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const o=()=>{if(s){const i=s.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=o();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>o(),set:(i,a)=>{a||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{r(i),t=i;try{return s?s.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const l=()=>{t=i},u=()=>t===i?l:void 0;cl.add(u);try{const c=s?s.run(i,a):a();return n||(t=void 0),await c}finally{cl.delete(u)}}}}function Rb(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=Ab({...e,...r})),t[n]}}}const vi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},xu="__unctx__",Ob=vi[xu]||(vi[xu]=Rb()),Lb=(e,t={})=>Ob.get(e,t),$u="__unctx_async_handlers__",cl=vi[$u]||(vi[$u]=new Set);function Mt(e){const t=[];for(const s of cl){const o=s();o&&t.push(o)}const n=()=>{for(const s of t)s()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(s=>{throw n(),s})),[r,n]}const Ib=!1,Du=!1,xb=!1,yL={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},vL={value:null,errorValue:null,deep:!0},$b=null,Db="#__nuxt",$p="nuxt-app",ju=36e5,jb="vite:preloadError";function Dp(e=$p){return Lb(e,{asyncContext:!1})}const Nb="__nuxt_plugin";function Mb(e){var s;let t=0;const n={_id:e.id||$p||"nuxt-app",_scope:fo(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.17.4"},get vue(){return n.vueApp.version}},payload:tn({...((s=e.ssrContext)==null?void 0:s.payload)||{},data:tn({}),state:qt({}),once:new Set,_errors:tn({})}),static:{data:{}},runWithContext(o){return n._scope.active&&!ho()?n._scope.run(()=>Nu(n,o)):Nu(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:tn({}),_payloadRevivers:{},...e};{const o=window.__NUXT__;if(o)for(const i in o)switch(i){case"data":case"state":case"_errors":Object.assign(n.payload[i],o[i]);break;default:n.payload[i]=o[i]}}n.hooks=xp(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,i)=>{const a="$"+o;Io(n,a,i),Io(n.vueApp.config.globalProperties,a,i)},Io(n.vueApp,"$nuxt",n),Io(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(jb,i=>{n.callHook("app:chunkError",{error:i.payload}),i.payload.message.includes("Unable to preload CSS")&&i.preventDefault()}),window.useNuxtApp||(window.useNuxtApp=pe);const o=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",o)}const r=n.payload.config;return n.provide("config",r),n}function Ub(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function Fb(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 Hb(e,t){const n=new Set,r=[],s=[],o=[];let i=0;async function a(l){var c;const u=((c=l.dependsOn)==null?void 0:c.filter(f=>t.some(d=>d._name===f)&&!n.has(f)))??[];if(u.length>0)r.push([new Set(u),l]);else{const f=Fb(e,l).then(async()=>{l._name&&(n.add(l._name),await Promise.all(r.map(async([d,h])=>{d.has(l._name)&&(d.delete(l._name),d.size===0&&(i++,await a(h)))})))});l.parallel?s.push(f.catch(d=>o.push(d))):await f}}for(const l of t)Ub(e,l);for(const l of t)await a(l);if(await Promise.all(s),i)for(let l=0;l<i;l++)await Promise.all(s);if(o.length)throw o[0]}function Ve(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[Nb]:!0,_name:t})}const Bb=Ve;function Nu(e,t,n){const r=()=>t();return Dp(e._id).set(e),e.vueApp.runWithContext(r)}function jp(e){var n;let t;return go()&&(t=(n=on())==null?void 0:n.appContext.app.$nuxt),t||(t=Dp(e).tryUse()),t||null}function pe(e){const t=jp(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function Gt(e){return pe().$config}
19function Io(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function Vb(e,t){return{ctx:{table:e},matchAll:n=>Mp(n,e)}}function Np(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,s])=>[r,Np(s)])):new Map(Object.entries(e[n]));return t}function Wb(e){return Vb(Np(e))}function Mp(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[o,i]of Mu(t.wildcard))(e===o||e.startsWith(o+"/"))&&r.push(i);for(const[o,i]of Mu(t.dynamic))if(e.startsWith(o+"/")){const a="/"+e.slice(o.length).split("/").splice(2).join("/");r.push(...Mp(a,i))}const s=t.static.get(e);return s&&r.push(s),r.filter(Boolean)}function Mu(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function ba(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 ul(e,t,n=".",r){if(!ba(t))return ul(e,{},n,r);const s=Object.assign({},t);for(const o in e){if(o==="__proto__"||o==="constructor")continue;const i=e[o];i!=null&&(r&&r(s,o,i,n)||(Array.isArray(i)&&Array.isArray(s[o])?s[o]=[...i,...s[o]]:ba(i)&&ba(s[o])?s[o]=ul(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function Up(e){return(...t)=>t.reduce((n,r)=>ul(n,r,"",e),{})}const Fp=Up(),zb=Up((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function qb(e,t){try{return t in e}catch{return!1}}class fl extends Error{constructor(n,r={}){super(n,r);xe(this,"statusCode",500);xe(this,"fatal",!1);xe(this,"unhandled",!1);xe(this,"statusMessage");xe(this,"data");xe(this,"cause");r.cause&&!this.cause&&(this.cause=r.cause)}toJSON(){const n={message:this.message,statusCode:dl(this.statusCode,500)};return this.statusMessage&&(n.statusMessage=Hp(this.statusMessage)),this.data!==void 0&&(n.data=this.data),n}}xe(fl,"__h3_error__",!0);function Kb(e){if(typeof e=="string")return new fl(e);if(Gb(e))return e;const t=new fl(e.message??e.statusMessage??"",{cause:e.cause||e});if(qb(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=dl(e.statusCode,t.statusCode):e.status&&(t.statusCode=dl(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Hp(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Gb(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const Jb=/[^\u0009\u0020-\u007E]/g;function Hp(e=""){return e.replace(Jb,"")}function dl(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Bp=Symbol("layout-meta"),yr=Symbol("route"),ut=()=>{var e;return(e=pe())==null?void 0:e.$router},_o=()=>go()?Ye(yr,pe()._route):pe()._route;function bL(e){return e}const Yb=(e,t,n={})=>{const r=pe(),s=n.global||!1,o=t;if(!o){console.warn("[nuxt] No route middleware passed to `addRouteMiddleware`.",e);return}s?r._middleware.global.push(o):r._middleware.named[e]=o},Xb=()=>{try{if(pe()._processingMiddleware)return!0}catch{return!1}return!1},Sr=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?Qb(e):ut().resolve(e).href;if(t!=null&&t.open){const{target:l="_blank",windowFeatures:u={}}=t.open,c=Object.entries(u).filter(([f,d])=>d!==void 0).map(([f,d])=>`${f.toLowerCase()}=${d}`).join(", ");return open(n,l,c),Promise.resolve()}const r=Kt(n,{acceptRelative:!0}),s=(t==null?void 0:t.external)||r;if(s){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:l}=new URL(n,window.location.href);if(l&&Yv(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const o=Xb();if(!s&&o){if(t!=null&&t.replace){if(typeof e=="string"){const{pathname:l,search:u,hash:c}=to(e);return{path:l,...u&&{query:pc(u)},...c&&{hash:c},replace:!0}}return{...e,replace:!0}}return e}const i=ut(),a=pe();return s?(a._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,o?a.isHydrating?new Promise(()=>{}
vendor: 4,558 bytes, lines 19-23
19):!1:Promise.resolve()):t!=null&&t.replace?i.replace(e):i.push(e)};function Qb(e){return Vi(e.path||"",e.query||{})+(e.hash||"")}const Vp="__nuxt_error",Wi=()=>oc(pe().payload,"error"),lr=e=>{const t=mr(e);try{const n=pe(),r=Wi();n.hooks.callHook("app:error",t),r.value||(r.value=t)}catch{throw t}return t},Zb=async(e={})=>{const t=pe(),n=Wi();t.callHook("app:error:cleared",e),e.redirect&&await ut().replace(e.redirect),n.value=$b},Wp=e=>!!e&&typeof e=="object"&&Vp in e,mr=e=>{const t=Kb(e);return Object.defineProperty(t,Vp,{value:!0,configurable:!1,writable:!1}),t};/*!
20 * pinia v3.0.2
21 * (c) 2025 Eduardo San Martin Morote
22 * @license MIT
23 */let zp;const yo=e=>zp=e,qp=Symbol();function hl(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Us;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Us||(Us={}));function e0(){const e=fo(!0),t=e.run(()=>ae({}));let n=[],r=[];const s=sc({install(o){yo(s),s._a=o,o.provide(qp,s),o.config.globalProperties.$pinia=s,r.forEach(i=>n.push(i)),r=[]},use(o){return this._a?n.push(o):r.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const Kp=()=>{};function Uu(e,t,n,r=Kp){e.push(t);const s=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),r())};return!n&&ho()&&ri(s),s}function Pr(e,...t){e.slice().forEach(n=>{n(...t)})}const t0=e=>e(),Fu=Symbol(),wa=Symbol();function pl(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],s=e[n];hl(s)&&hl(r)&&e.hasOwnProperty(n)&&!Se(r)&&!rn(r)?e[n]=pl(s,r):e[n]=r}return e}const n0=Symbol();function r0(e){return!hl(e)||!Object.prototype.hasOwnProperty.call(e,n0)}const{assign:On}=Object;function s0(e){return!!(Se(e)&&e.effect)}function o0(e,t,n,r){const{state:s,actions:o,getters:i}=t,a=n.state.value[e];let l;function u(){a||(n.state.value[e]=s?s():{});const c=D_(n.state.value[e]);return On(c,o,Object.keys(i||{}).reduce((f,d)=>(f[d]=sc(se(()=>{yo(n);const h=n._s.get(e);return i[d].call(h,h)})),f),{}))}return l=Gp(e,u,t,n,r,!0),l}function Gp(e,t,n={},r,s,o){let i;const a=On({actions:{}},n),l={deep:!0};let u,c,f=[],d=[],h;const g=r.state.value[e];!o&&!g&&(r.state.value[e]={}),ae({});let p;function b(O){let L;u=c=!1,typeof O=="function"?(O(r.state.value[e]),L={type:Us.patchFunction,storeId:e,events:h}):(pl(r.state.value[e],O),L={type:Us.patchObject,payload:O,storeId:e,events:h});const x=p=Symbol();Vt().then(()=>{p===x&&(u=!0)}),c=!0,Pr(f,L,r.state.value[e])}const y=o?function(){const{state:L}=n,x=L?L():{};this.$patch(B=>{On(B,x)})}:Kp;function v(){i.stop(),f=[],d=[],r._s.delete(e)}const m=(O,L="")=>{if(Fu in O)return O[wa]=L,O;const x=function(){yo(r);const B=Array.from(arguments),M=[],G=[];function ie(Q){M.push(Q)}function le(Q){G.push(Q)}Pr(d,{args:B,name:x[wa],store:T,after:ie,onError:le});let J;try{J=O.apply(this&&this.$id===e?this:T,B)}catch(Q){throw Pr(G,Q),Q}return J instanceof Promise?J.then(Q=>(Pr(M,Q),Q)).catch(Q=>(Pr(G,Q),Promise.reject(Q))):(Pr(M,J),J)};return x[Fu]=!0,x[wa]=L,x},_={_p:r,$id:e,$onAction:Uu.bind(null,d),$patch:b,$reset:y,$subscribe(O,L={}){const x=Uu(f,O,L.detached,()=>B()),B=i.run(()=>Xe(()=>r.state.value[e],M=>{(L.flush==="sync"?c:u)&&O({storeId:e,type:Us.direct,events:h},M)},On({},l,L)));return x},$dispose:v},T=qt(_);r._s.set(e,T);const A=(r._a&&r._a.runWithContext||t0)(()=>r._e.run(()=>(i=fo()).run(()=>t({action:m}))));for(const O in A){const L=A[O];if(Se(L)&&!s0(L)||rn(L))o||(g&&r0(L)&&(Se(L)?L.value=g[O]:pl(L,g[O])),r.state.value[e][O]=L);else if(typeof L=="function"){const x=m(L,O);A[O]=x,a.actions[O]=L}}return On(T,A),On(ge(T),A),Object.defineProperty(T,"$state",{get:()=>r.state.value[e],set:O=>{b(L=>{On(L,O)})}}),r._p.forEach(O=>{On(T,i.run(()=>O({store:T,app:r._a,pinia:r,options:a})))}),g&&o&&n.hydrate&&n.hydrate(T.$state,g),u=!0,c=!0,T}/*! #__NO_SIDE_EFFECTS__ */function wL(e,t,n){let r;const s=typeof t=="function";r=s?n:t;function o(i,a){const l=go();return i=i||(l?Ye(qp,null):null),i&&yo(i),i=zp,i._s.has(e)||(s?Gp(e,t,r,i):o0(e,r,i)),i._s.get(e)}return o.$id=e,o}function EL(e){const t=ge(e),n={};for(const r in t){const s=t[r];s.effect?n[r]=se({get:()=>e[r],set(o){e[r]=o}}):(Se(s)||rn(s))&&(n[r]=oc(e,r))}return n}function Hu(e){const t=a0(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let s=0;s<n.byteLength;s++)r.setUint8(s,t.charCodeAt(s));return n}const i0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
23+/";function a0(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,r=0;for(let s=0;s<e.length;s++)n<<=6,n|=i0.indexOf(e[s]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const l0=-1,c0=-2,u0=-3,f0=-4,d0=-5,h0=-6;function p0(e,t){return m0(JSON.parse(e),t)}function m0(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);function s(o,i=!1){if(o===l0)return;if(o===u0)return NaN;if(o===f0)return 1/0;if(o===d0)return-1/0;if(o===h0)return-0;if(i)throw new Error("Invalid input");if(o in r)return r[o];const a=n[o];if(!a||typeof a!="object")r[o]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],u=t==null?void 0:t[l];if(u)return r[o]=u(s(a[1]));switch(l){case"Date":r[o]=new Date(a[1]);break;case"Set":const c=new Set;r[o]=c;for(let h=1;h<a.length;h+=1)c.add(s(a[h]));break;case"Map":const f=new Map;r[o]=f;for(let h=1;h<a.length;h+=2)f.set(s(a[h]),s(a[h+1]));break;case"RegExp":r[o]=new RegExp(a[1],a[2]);break;case"Object":r[o]=Object(a[1]);break;case"BigInt":r[o]=BigInt(a[1]);break;case"null":const d=Object.create(null);r[o]=d;for(let h=1;h<a.length;h+=2)d[a[h]]=s(a[h+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const h=globalThis[l],g=a[1],p=Hu(g),b=new h(p);r[o]=b;break}case"ArrayBuffer":{const h=a[1],g=Hu(h);r[o]=g;break}default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);r[o]=l;for(let u=0;u<a.length;u+=1){const c=a[u];c!==c0&&(l[u]=s(c))}}else{const l={};r[o]=l;for(const u in a){const c=a[u];l[u]=s(c)}}return r[o]}return s(0)}const g0=new Set(["link","style","script","noscript"]),_0=new Set(["title","titleTemplate","script","style","noscript"]),Bu=new Set(["base","meta","link","style","script","noscript"]),y0=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),v0=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),b0=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),w0=new Set(["templateParams","htmlAttrs","bodyAttrs"]),gc=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),no={META:new Set(["twitter"]),OG:new Set(["og","book","article","profile","fb"]),MEDIA:new Set(["ogImage","ogVideo","ogAudio","twitterImage"]),HTTP_EQUIV:new Set(["contentType","defaultStyle","xUaCompatible"])},E0={articleExpirationTime:"article:expiration_time",articleModifiedTime:"article:modified_time",articlePublishedTime:"article:published_time",bookReleaseDate:"book:release_date",fbAppId:"fb:app_id",ogAudioSecureUrl:"og:audio:secure_url",ogAudioUrl:"og:audio",ogImageSecureUrl:"og:image:secure_url",ogImageUrl:"og:image",ogSiteName:"og:site_name",ogVideoSecureUrl:"og:video:secure_url",ogVideoUrl:"og:video",profileFirstName:"profile:first_name",profileLastName:"profile:last_name",profileUsername:"profile:username",msapplicationConfig:"msapplication-Config",msapplicationTileColor:"msapplication-TileColor",msapplicationTileImage:"msapplication-TileImage"},Jp={appleItunesApp:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>`${_n(e)}=${t}`}},refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve:({key:e,value:t})=>e==="seconds"?`${t}`:void 0}},robots:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>typeof t=="boolean"?_n(e):`${_n(e)}:${t}`}},contentSecurityPolicy:{metaKey:"http-equiv",unpack:{entrySeparator:"; ",resolve:({key:e,value:t})=>`${_n(e)} ${t}`}},charset:{}};function _n(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),n=t.indexOf("-");return n===-1?t:no.META.has(t.slice(0,n))||no.OG.has(t.slice(0,n))?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function Yp(e){return Object.fromEntries(Object.entries(e).filter(([t,n])=>String(n)!=="false"&&t))}function ml(e){return Array.isArray(e)?e.map(ml):!e||typeof e!="object"?e:Object.fromEntries(Object.entries(e).map(([t,n])=>[_n(t),ml(n)]))}function Xp(e,t={}){const{entrySeparator:n="",keyValueSeparator:r="",wrapValue:s,resolve:o}=t;return Object.entries(e).map(([i,a])=>{if(o){const u=o({key:i,value:a});if(u!==void 0)return u}const l=typeof a=="object"?Xp(a,t):typeof a=="number"?a.toString():typeof a=="str
23ing"&&s?`${s}${a.replace(new RegExp(s,"g"),`\\${s}`)}${s}`:a;return`${i}${r}${l}`}).join(n)}function Vu(e,t){const n=Yp(t),r=_n(e),s=Qp(r);if(!gc.has(r))return[{[s]:r,...n}];const o=Object.fromEntries(Object.entries(n).map(([i,a])=>[`${e}${i==="url"?"":`${i[0].toUpperCase()}${i.slice(1)}`}`,a]));return bi(o||{}).sort((i,a)=>{var l,u;return(((l=i[s])==null?void 0:l.length)||0)-(((u=a[s])==null?void 0:u.length)||0)})}function Qp(e){var r;if(((r=Jp[e])==null?void 0:r.metaKey)==="http-equiv"||no.HTTP_EQUIV.has(e))return"http-equiv";const t=_n(e),n=t.indexOf(":");return n===-1?"name":no.OG.has(t.slice(0,n))?"property":"name"}function T0(e){return E0[e]||_n(e)}function k0(e,t){var n;return t==="refresh"?`${e.seconds};url=${e.url}`:Xp(ml(e),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:r,key:s})=>r===null?"":typeof r=="boolean"?s:void 0,...(n=Jp[t])==null?void 0:n.unpack})}function bi(e){const t=[],n={};for(const[s,o]of Object.entries(e)){if(Array.isArray(o)){if(s==="themeColor"){o.forEach(i=>{typeof i=="object"&&i!==null&&t.push({name:"theme-color",...i})});continue}for(const i of o)if(typeof i=="object"&&i!==null){const a=[],l=[];for(const[u,c]of Object.entries(i)){const f=`${s}${u==="url"?"":`:${u}`}`,d=bi({[f]:c});(u==="url"?a:l).push(...d)}t.push(...a,...l)}else t.push(...typeof i=="string"?bi({[s]:i}):Vu(s,i));continue}if(typeof o=="object"&&o)if(no.MEDIA.has(s)){const i=s.startsWith("twitter")?"twitter":"og",a=s.replace(/^(og|twitter)/,"").toLowerCase(),l=i==="twitter"?"name":"property";o.url&&t.push({[l]:`${i}:${a}`,content:o.url}),o.secureUrl&&t.push({[l]:`${i}:${a}:secure_url`,content:o.secureUrl});for(const[u,c]of Object.entries(o))u!=="url"&&u!=="secureUrl"&&t.push({[l]:`${i}:${a}:${u}`,content:c})}else gc.has(_n(s))?t.push(...Vu(s,o)):n[s]=Yp(o);else n[s]=o}const r=Object.entries(n).map(([s,o])=>{if(s==="charset")return{charset:o===null?"_null":o};const i=Qp(s),a=T0(s),l=o===null?"_null":typeof o=="object"?k0(o,s):typeof o=="number"?o.toString():o;return i==="http-equiv"?{"http-equiv":a,content:l}:{[i]:a,content:l}});return[...t,...r].map(s=>"content"in s&&s.content==="_null"?{...s,content:null}:s)}const S0={key:"flatMeta",hooks:{"entries:normalize":e=>{const t=[];e.tags=e.tags.map(n=>n.tag!=="_flatMeta"?n:(t.push(bi(n.props).map(r=>({...n,tag:"meta",props:r}))),!1)).filter(Boolean).concat(...t)}}},P0=["name","property","http-equiv"];function Zp(e){const t=e.split(":");return t.length?gc.has(t[1]):!1}function gl(e){const{props:t,tag:n}=e;if(v0.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const r of P0)if(t[r]!==void 0)return`${n}:${t[r]}`}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(_0.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function Wu(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([r,s])=>`${r}:${String(s)}`).join(",")}`}function wi(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());let s;if(t&&(s=t(n,e)),Array.isArray(s))return s.map(o=>wi(o,t));if((s==null?void 0:s.constructor)===Object){const o={};for(const i of Object.keys(s))o[i]=wi(s[i],t,i);return o}return s}function C0(e,t){const n=e==="style"?new Map:new Set;function r(s){const o=s.trim();if(o)if(e==="style"){const[i,...a]=o.split(":").map(l=>l.trim());i&&a.length&&n.set(i,a.join(":"))}else o.split(" ").filter(Boolean).forEach(i=>n.add(i))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(s=>r(s)):t&&typeof t=="object"&&Object.entries(t).forEach(([s,o])=>{o&&o!=="false"&&(e==="style"?n.set(s.trim(),o):r(s))}),n}function em(e,t){return e.props=e.props||{},t&&Object.entries(t).forEach(([n,r])=>{if(r===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=C0(n,r);return}if(b0.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof r=="object"){let i=t.type;if(t.type||(i="application/json"),!(i!=null&&i.endsWith("json"))&&i!=="speculationrules")return;t.type=i,e.props.type=i,e[n]=JSON.stringify(r)}else e[n]=r;return}const s=String(r),o=n.startsWith("data-");s==="true"||s===""?e.props[n]=o?s:!0:!r&&o&&s==="false"?e.props[n]="false":r!==void 0&&(e.props[n]=r)}),e}function A0(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=em({tag:e,props:{}},n);return r.key&&g0.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(s=>({...r,props:{...r.props,content:s}})):r}function R0(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(s,o)=>{for(let i=0;i<t.length;i++)o=t[i](s,o);return o};e=n(void 0,e);const r=[];return e=wi(e,n),Object.entries(e||{}
23).forEach(([s,o])=>{if(o!==void 0)for(const i of Array.isArray(o)?o:[o])r.push(A0(s,i))}),r.flat()}const _l=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,zu={base:-10,title:10},O0={critical:-8,high:-1,low:2},qu={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}},L0=/@import/,bs=e=>e===""||e===!0;function I0(e,t){var o;if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=O0[t.tagPriority]||0,s=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:qu;if(t.tag in zu)n=zu[t.tag];else if(t.tag==="meta"){const i=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;i&&(n=qu.meta[i])}else t.tag==="link"&&t.props.rel?n=s.link[t.props.rel]:t.tag==="script"?bs(t.props.async)?n=s.script.async:t.props.src&&!bs(t.props.defer)&&!bs(t.props.async)&&t.props.type!=="module"&&!((o=t.props.type)!=null&&o.endsWith("json"))?n=s.script.sync:bs(t.props.defer)&&t.props.src&&!bs(t.props.async)&&(n=s.script.defer):t.tag==="style"&&(n=t.innerHTML&&L0.test(t.innerHTML)?s.style.imported:s.style.sync);return(n||100)+r}function Ku(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 x0(e={}){var a;const t=xp();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,s=new Map,o=[],i={_entryCount:1,plugins:s,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:l=>Ku(i,l),push(l,u){const c={...u||{}};delete c.head;const f=c._index??i._entryCount++,d={_i:f,input:l,options:c},h={_poll(g=!1){i.dirty=!0,!g&&o.push(f),t.callHook("entries:updated",i)},dispose(){r.delete(f)&&h._poll(!0)},patch(g){(!c.mode||c.mode==="server"&&n||c.mode==="client"&&!n)&&(d.input=g,r.set(f,d),h._poll())}};return h.patch(l),h},async resolveTags(){var h;const l={tagMap:new Map,tags:[],entries:[...i.entries.values()]};for(await t.callHook("entries:resolve",l);o.length;){const g=o.shift(),p=r.get(g);if(p){const b={tags:R0(p.input,e.propResolvers||[]).map(y=>Object.assign(y,p.options)),entry:p};await t.callHook("entries:normalize",b),p._tags=b.tags.map((y,v)=>(y._w=I0(i,y),y._p=(p._i<<10)+v,y._d=gl(y),y))}}let u=!1;l.entries.flatMap(g=>(g._tags||[]).map(p=>({...p,props:{...p.props}}))).sort(_l).reduce((g,p)=>{const b=String(p._d||p._p);if(!g.has(b))return g.set(b,p);const y=g.get(b);if(((p==null?void 0:p.tagDuplicateStrategy)||(w0.has(p.tag)?"merge":null)||(p.key&&p.key===y.key?"merge":null))==="merge"){const m={...y.props};Object.entries(p.props).forEach(([_,T])=>m[_]=_==="style"?new Map([...y.props.style||new Map,...T]):_==="class"?new Set([...y.props.class||new Set,...T]):T),g.set(b,{...p,props:m})}else p._p>>10===y._p>>10&&p.tag==="meta"&&Zp(b)?(g.set(b,Object.assign([...Array.isArray(y)?y:[y],p],p)),u=!0):(p._w===y._w?p._p>y._p:(p==null?void 0:p._w)<(y==null?void 0:y._w))&&g.set(b,p);return g},l.tagMap);const c=l.tagMap.get("title"),f=l.tagMap.get("titleTemplate");if(i._title=c==null?void 0:c.textContent,f){const g=f==null?void 0:f.textContent;if(i._titleTemplate=g,g){let p=typeof g=="function"?g(c==null?void 0:c.textContent):g;typeof p=="string"&&!i.plugins.has("template-params")&&(p=p.replace("%s",(c==null?void 0:c.textContent)||"")),c?p===null?l.tagMap.delete("title"):l.tagMap.set("title",{...c,textContent:p}):(f.tag="title",f.textContent=p)}}l.tags=Array.from(l.tagMap.values()),u&&(l.tags=l.tags.flat().sort(_l)),await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l);const d=[];for(const g of l.tags){const{innerHTML:p,tag:b,props:y}=g;if(y0.has(b)&&!(Object.keys(y).length===0&&!g.innerHTML&&!g.textContent)&&!(b==="meta"&&!y.content&&!y["http-equiv"]&&!y.charset)){if(b==="script"&&p){if((h=y.type)!=null&&h.endsWith("json")){const v=typeof p=="string"?p:JSON.stringify(p);g.innerHTML=v.replace(/</g,"\\u003C")}else typeof p=="string"&&(g.innerHTML=p.replace(new RegExp(`</${b}`,"g"),`<\\/${b}`));g._d=gl(g)}d.push(g)}}return d}};
23return((e==null?void 0:e.plugins)||[]).forEach(l=>Ku(i,l)),i.hooks.callHook("init",i),(a=e.init)==null||a.forEach(l=>l&&i.push(l)),i}const jn="%separator",$0=new RegExp(`${jn}(?:\\s*${jn})*`,"g");function D0(e,t,n=!1){var s;let r;if(t==="s"||t==="pageTitle")r=e.pageTitle;else if(t.includes(".")){const o=t.indexOf(".");r=(s=e[t.substring(0,o)])==null?void 0:s[t.substring(o+1)]}else r=e[t];if(r!==void 0)return n?(r||"").replace(/\\/g,"\\\\").replace(/</g,"\\u003C").replace(/"/g,'\\"'):r||""}function xo(e,t,n,r=!1){if(typeof e!="string"||!e.includes("%"))return e;let s=e;try{s=decodeURI(e)}catch{}const o=s.match(/%\w+(?:\.\w+)?/g);if(!o)return e;const i=e.includes(jn);return e=e.replace(/%\w+(?:\.\w+)?/g,a=>{if(a===jn||!o.includes(a))return a;const l=D0(t,a.slice(1),r);return l!==void 0?l:a}).trim(),i&&(e.endsWith(jn)&&(e=e.slice(0,-jn.length)),e.startsWith(jn)&&(e=e.slice(jn.length)),e=e.replace($0,n||"").trim()),e}const Gu=e=>e.includes(":key")?e:e.split(":").join(":key:"),j0={key:"aliasSorting",hooks:{"tags:resolve":e=>{let t=!1;for(const n of e.tags){const r=n.tagPriority;if(!r)continue;const s=String(r);if(s.startsWith("before:")){const o=Gu(s.slice(7)),i=e.tagMap.get(o);i&&(typeof i.tagPriority=="number"&&(n.tagPriority=i.tagPriority),n._p=i._p-1,t=!0)}else if(s.startsWith("after:")){const o=Gu(s.slice(6)),i=e.tagMap.get(o);i&&(typeof i.tagPriority=="number"&&(n.tagPriority=i.tagPriority),n._p=i._p+1,t=!0)}}t&&(e.tags=e.tags.sort(_l))}}},N0={key:"deprecations",hooks:{"entries:normalize":({tags:e})=>{for(const t of e)t.props.children&&(t.innerHTML=t.props.children,delete t.props.children),t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),t.props.body&&(t.tagPosition="bodyClose",delete t.props.body)}}};async function yl(e){if(typeof e==="function")return e;if(e instanceof Promise)return await e;if(Array.isArray(e))return await Promise.all(e.map(n=>yl(n)));if((e==null?void 0:e.constructor)===Object){const n={};for(const r of Object.keys(e))n[r]=await yl(e[r]);return n}return e}const M0={key:"promises",hooks:{"entries:resolve":async e=>{const t=[];for(const n in e.entries)e.entries[n]._promisesProcessed||t.push(yl(e.entries[n].input).then(r=>{e.entries[n].input=r,e.entries[n]._promisesProcessed=!0}));await Promise.all(t)}}},U0={meta:"content",link:"href",htmlAttrs:"lang"},F0=["innerHTML","textContent"],H0=e=>({key:"template-params",hooks:{"entries:normalize":t=>{var r,s,o;const n=((s=(r=t.tags.filter(i=>i.tag==="templateParams"&&i.mode==="server"))==null?void 0:r[0])==null?void 0:s.props)||{};Object.keys(n).length&&(e._ssrPayload={templateParams:{...((o=e._ssrPayload)==null?void 0:o.templateParams)||{},...n}})},"tags:resolve":({tagMap:t,tags:n})=>{var o;const r=((o=t.get("templateParams"))==null?void 0:o.props)||{},s=r.separator||"|";delete r.separator,r.pageTitle=xo(r.pageTitle||e._title||"",r,s);for(const i of n){if(i.processTemplateParams===!1)continue;const a=U0[i.tag];if(a&&typeof i.props[a]=="string")i.props[a]=xo(i.props[a],r,s);else if(i.processTemplateParams||i.tag==="titleTemplate"||i.tag==="title")for(const l of F0)typeof i[l]=="string"&&(i[l]=xo(i[l],r,s,i.tag==="script"&&i.props.type.endsWith("json")))}e._templateParams=r,e._separator=s},"tags:afterResolve":({tagMap:t})=>{const n=t.get("title");n!=null&&n.textContent&&n.processTemplateParams!==!1&&(n.textContent=xo(n.textContent,e._templateParams,e._separator))}}}),B0=(e,t)=>Se(t)?Hr(t):t,_c="usehead";function V0(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(_c,e)}}.install}function tm(){if(go()){const e=Ye(_c);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function nm(e,t={}){const n=t.head||tm();return n.ssr?n.push(e||{},t):W0(n,e,t)}function W0(e,t,n={}){const r=ae(!1);let s;return fr(()=>{const i=r.value?{}:wi(t,B0);s?s.patch(i):s=e.push(i,n)}),on()&&(fs(()=>{s.dispose()}),Uh(()=>{r.value=!0}),Mh(()=>{r.value=!1})),s}function z0(e={},t={}){(t.head||tm()).use(S0);const{title:r,titleTemplate:s,...o}=e;return nm({title:r,titleTemplate:s,_flatMeta:o},t)}function rm(e){var n;const t=e||jp();return((n=t==null?void 0:t.ssrContext)==null?void 0:n.head)||(t==null?void 0:t.runWithContext(()=>{if(go())return Ye(_c)}))}function sm(e,t={}){const n=rm(t.nuxt);if(n)return nm(e,{head:n,...t})}function q0(e,t={}){const n=rm(t.nuxt);if(n)return z0(e,{head:n,...t})}const K0="modulepreload",G0=function(e,t){return new URL(e,t).href},Ju={},N=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let i=function(c){return Promise.all(c.map(f=>Promise.resolve(f).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};const a=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),u=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));s=i(n.map(c=>{if(c=G0(c,r),c in Ju)return;Ju[c]=!0;const f=c.endsWith(".css"),d=f?'[rel="stylesheet"]':"";if(!!r)for(let p=a.length-1;p>=0;p--){const b=a[p];if(b.href===c&&(!f||b.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${d}`))return;const g=document.createElement("link");if(g.rel=f?"stylesheet":K0,f||(g.as="script"),g.crossOrigin="",g.href=c,u&&g.setAttribute("nonce",u),document.head.appendChild(g),f)return new Promise((p,b)=>{g.addEventListener("load",p),g.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return s.then(i=>{for(const a of i||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})};let Xo,Qo;function J0(){return Xo=$fetch(mc(`builds/meta/${Gt().app.buildId}.json`),{responseType:"json"}),Xo.then(e=>{Qo=Wb(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),Xo}function zi(){return Xo||J0()}async function yc(e){const t=typeof e=="string"?e:e.path;if(await zi(),!Qo)return console.error("[nuxt] Error creating app manifest matcher.",Qo),{};try{return Fp({},...Qo.matchAll(t).reverse())}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function Yu(e,t={}){if(!await im(e))return null;const r=await X0(e,t);return await om(r)||null}const Y0="_payload.json";async function X0(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Kt(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);
23const r=Gt(),s=t.hash||(t.fresh?Date.now():r.app.buildId),o=r.app.cdnURL,i=o&&await im(e)?o:r.app.baseURL;return wr(i,n.pathname,Y0+(s?`?${s}`:""))}async function om(e){const t=fetch(e,{cache:"force-cache"}).then(n=>n.text().then(am));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function im(e=_o().path){const t=pe();return e=ns(e),(await zi()).prerendered.includes(e)?!0:t.runWithContext(async()=>{const r=await yc({path:e});return!!r.prerender&&!r.redirect})}let sr=null;async function Q0(){var r;if(sr)return sr;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await am(e.textContent||""),n=e.dataset.src?await om(e.dataset.src):void 0;return sr={...t,...n,...window.__NUXT__},(r=sr.config)!=null&&r.public&&(sr.config.public=qt(sr.config.public)),sr}async function am(e){return await p0(e,pe()._payloadRevivers)}function lm(e,t){pe()._payloadRevivers[e]=t}const Z0=Bb(()=>{lm("skipHydrate",e=>{})}),ew=[["NuxtError",e=>mr(e)],["EmptyShallowRef",e=>Gn(e==="_"?void 0:e==="0n"?BigInt(0):eo(e))],["EmptyRef",e=>ae(e==="_"?void 0:e==="0n"?BigInt(0):eo(e))],["ShallowRef",e=>Gn(e)],["ShallowReactive",e=>tn(e)],["Ref",e=>ae(e)],["Reactive",e=>qt(e)]],tw=Ve({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,s]of ew)lm(r,s);Object.assign(e.payload,([t,n]=Mt(()=>e.runWithContext(Q0)),t=await t,n(),t)),window.__NUXT__=e.payload}});async function vc(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async s=>{var h;const o=new Map,i=new Promise(g=>{e.resolveTags().then(p=>{g(p.map(b=>{const y=o.get(b._d)||0,v={tag:b,id:(y?`${b._d}:${y}`:b._d)||Wu(b),shouldRender:!0};return b._d&&Zp(b._d)&&o.set(b._d,y+1),v}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const g of["body","head"]){const p=(h=n[g])==null?void 0:h.children;for(const b of p){const y=b.tagName.toLowerCase();if(!Bu.has(y))continue;const v=em({tag:y,props:{}},{innerHTML:b.innerHTML,...b.getAttributeNames().reduce((m,_)=>(m[_]=b.getAttribute(_),m),{})||{}});if(v.key=b.getAttribute("data-hid")||void 0,v._d=gl(v)||Wu(v),a.elMap.has(v._d)){let m=1,_=v._d;for(;a.elMap.has(_);)_=`${v._d}:${m++}`;a.elMap.set(_,b)}else a.elMap.set(v._d,b)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(g,p,b){const y=`${g}:${p}`;a.sideEffects[y]=b,delete a.pendingSideEffects[y]}function u({id:g,$el:p,tag:b}){const y=b.tag.endsWith("Attrs");a.elMap.set(g,p),y||(b.textContent&&b.textContent!==p.textContent&&(p.textContent=b.textContent),b.innerHTML&&b.innerHTML!==p.innerHTML&&(p.innerHTML=b.innerHTML),l(g,"el",()=>{p==null||p.remove(),a.elMap.delete(g)}));for(const v in b.props){if(!Object.prototype.hasOwnProperty.call(b.props,v))continue;const m=b.props[v];if(v.startsWith("on")&&typeof m=="function"){const T=p==null?void 0:p.dataset;if(T&&T[`${v}fired`]){const C=v.slice(0,-5);m.call(p,new Event(C.substring(2)))}p.getAttribute(`data-${v}`)!==""&&((b.tag==="bodyAttrs"?n.defaultView:p).addEventListener(v.substring(2),m.bind(p)),p.setAttribute(`data-${v}`,""));continue}const _=`attr:${v}`;if(v==="class"){if(!m)continue;for(const T of m)y&&l(g,`${_}:${T}`,()=>p.classList.remove(T)),!p.classList.contains(T)&&p.classList.add(T)}else if(v==="style"){if(!m)continue;for(const[T,C]of m)l(g,`${_}:${T}`,()=>{p.style.removeProperty(T)}),p.style.setProperty(T,C)}else m!==!1&&m!==null&&(p.getAttribute(v)!==m&&p.setAttribute(v,m===!0?"":String(m)),y&&l(g,_,()=>p.removeAttribute(v)))}}const c=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},d=await i;for(const g of d){const{tag:p,shouldRender:b,id:y}=g;if(b){if(p.tag==="title"){n.title=p.textContent,l("title","",()=>n.title=a.title);continue}g.$el=g.$el||a.elMap.get(y),g.$el?u(g):Bu.has(p.tag)&&c.push(g)}}for(const g of c){const p=g.tag.tagPosition||"head";g.$el=n.createElement(g.tag.tag),u(g),f[p]=f[p]||n.createDocumentFragment(),f[p].appendChild(g.$el)}for(const g of d)await e.hooks.callHook("dom:renderTag",g,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 g in a.pendingSideEffects)a.pendingSideEffects[g]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:d}),s()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function nw(e={}){var r,s,o;const t=((r=e.domOptions)==null?void 0:r.render)||vc;e.document=e.document||(typeof window<"u"?document:void 0);const n=((o=(s=e.document)==null?void 0:s.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return x0({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function rw(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function sw(e={}){const t=nw({domOptions:{render:rw(()=>vc(t),n=>setTimeout(n,0))},...e});return t.install=V0(t),t}const ow={disableDefaults:!0,disableCapoSorting:!1,plugins:[N0,M0,H0,j0]},iw=Ve({name:"nuxt:head",enforce:"pre",setup(e){const t=sw(ow);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await vc(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)}}});/*!
24  * vue-router v4.5.1
25  * (c) 2025 Eduardo San Martin Morote
26  * @license MIT
27  */const Mr=typeof document<"u";function cm(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}
vendor: 14,637 bytes, line 27
27function aw(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&cm(e.default)}const we=Object.assign;function Ea(e,t){const n={};for(const r in t){const s=t[r];n[r]=Wt(s)?s.map(e):e(s)}return n}const Fs=()=>{},Wt=Array.isArray,um=/#/g,lw=/&/g,cw=/\//g,uw=/=/g,fw=/\?/g,fm=/\+/g,dw=/%5B/g,hw=/%5D/g,dm=/%5E/g,pw=/%60/g,hm=/%7B/g,mw=/%7C/g,pm=/%7D/g,gw=/%20/g;function bc(e){return encodeURI(""+e).replace(mw,"|").replace(dw,"[").replace(hw,"]")}function _w(e){return bc(e).replace(hm,"{").replace(pm,"}").replace(dm,"^")}function vl(e){return bc(e).replace(fm,"%2B").replace(gw,"+").replace(um,"%23").replace(lw,"%26").replace(pw,"`").replace(hm,"{").replace(pm,"}").replace(dm,"^")}function yw(e){return vl(e).replace(uw,"%3D")}function vw(e){return bc(e).replace(um,"%23").replace(fw,"%3F")}function bw(e){return e==null?"":vw(e).replace(cw,"%2F")}function ro(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const ww=/\/$/,Ew=e=>e.replace(ww,"");function Ta(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,a>-1?a:t.length),s=e(o)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=Pw(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:ro(i)}}function Tw(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Xu(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function kw(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&rs(t.matched[r],n.matched[s])&&mm(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function rs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function mm(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Sw(e[n],t[n]))return!1;return!0}function Sw(e,t){return Wt(e)?Qu(e,t):Wt(t)?Qu(t,e):e===t}function Qu(e,t){return Wt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Pw(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}const St={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var so;(function(e){e.pop="pop",e.push="push"})(so||(so={}));var Hs;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Hs||(Hs={}));function Cw(e){if(!e)if(Mr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Ew(e)}const Aw=/^[^#]+#/;function Rw(e,t){return e.replace(Aw,"#")+t}function Ow(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 qi=()=>({left:window.scrollX,top:window.scrollY});function Lw(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=Ow(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Zu(e,t){return(history.state?history.state.position-t:-1)+e}const bl=new Map;function Iw(e,t){bl.set(e,t)}function xw(e){const t=bl.get(e);return bl.delete(e),t}let $w=()=>location.protocol+"//"+location.host;function gm(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),Xu(l,"")}return Xu(n,e)+r+s}function Dw(e,t,n,r){let s=[],o=[],i=null;const a=({state:d})=>{const h=gm(e,location),g=n.value,p=t.value;let b=0;if(d){if(n.value=h,t.value=d,i&&i===g){i=null;return}b=p?d.position-p.position:0}else r(h);s.forEach(y=>{y(n.value,g,{delta:b,type:so.pop,direction:b?b>0?Hs.forward:Hs.back:Hs.unknown})})};function l(){i=n.value}function u(d){s.push(d);const h=()=>{const g=s.indexOf(d);g>-1&&s.splice(g,1)};return o.push(h),h}function c(){const{history:d}=window;d.state&&d.replaceState(we({},d.state,{scroll:qi()}),"")}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:f}}function ef(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?qi():null}}function jw(e){const{history:t,location:n}=window,r={value:gm(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:$w()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),s.value=u}catch(h){console.error(h),n[c?"replace":"assign"](d)}}function i(l,u){const c=we({},t.state,ef(s.value.back,l,s.value.forward,!0),u,{position:s.value.position});o(l,c,!0),r.value=l}function a(l,u){const c=we({},s.value,t.state,{forward:l,scroll:qi()});o(c.current,c,!0);const f=we({},ef(r.value,l,null),{position:c.position+1},u);o(l,f,!1),r.value=l}return{location:r,state:s,push:a,replace:i}}function _m(e){e=Cw(e);const t=jw(e),n=Dw(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=we({location:"",base:e,go:r,createHref:Rw.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function Nw(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),_m(e)}function Mw(e){return typeof e=="string"||e&&typeof e=="object"}function ym(e){return typeof e=="string"||typeof e=="symbol"}const vm=Symbol("");var tf;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(tf||(tf={}));function ss(e,t){return we(new Error,{type:e,[vm]:!0},t)}function Xt(e,t){return e instanceof Error&&vm in e&&(t==null||!!(e.type&t))}const nf="[^/]+?",Uw={sensitive:!1,strict:!1,start:!0,end:!0},Fw=/[.+*?^${}()[\]/\\]/g;function Hw(e,t){const n=we({},Uw,t),r=[];let s=n.start?"^":"";const o=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(s+="/");for(let f=0;f<u.length;f++){const d=u[f];let h=40+(n.sensitive?.25:0);if(d.type===0)f||(s+="/"),s+=d.value.replace(Fw,"\\$&"),h+=40;else if(d.type===1){const{value:g,repeatable:p,optional:b,regexp:y}=d;o.push({name:g,repeatable:p,optional:b});const v=y||nf;if(v!==nf){h+=10;try{new RegExp(`(${v})`)}catch(_){throw new Error(`Invalid custom RegExp for param "${g}" (${v}): `+_.message)}}let m=p?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;f||(m=b&&u.length<2?`(?:/${m})`:"/"+m),b&&(m+="?"),s+=m,h+=20,b&&(h+=-8),p&&(h+=-20),v===".*"&&(h+=-50)}c.push(h)}r.push(c)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function a(u){const c=u.match(i),f={};if(!c)return null;for(let d=1;d<c.length;d++){const h=c[d]||"",g=o[d-1];f[g.name]=h&&g.repeatable?h.split("/"):h}return f}function l(u){let c="",f=!1;for(const d of e){(!f||!c.endsWith("/"))&&(c+="/"),f=!1;for(const h of d)if(h.type===0)c+=h.value;else if(h.type===1){const{value:g,repeatable:p,optional:b}=h,y=g in u?u[g]:"";if(Wt(y)&&!p)throw new Error(`Provided param "${g}" is an array but it is not repeatable (* or + modifiers)`);const v=Wt(y)?y.join("/"):y;if(!v)if(b)d.length<2&&(c.endsWith("/")?c=c.slice(0,-1):f=!0);else throw new Error(`Missing required param "${g}"`);c+=v}}return c||"/"}return{re:i,score:r,keys:o,parse:a,stringify:l}}function Bw(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function bm(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=Bw(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(rf(r))return 1;if(rf(s))return-1}return s.length-r.length}function rf(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Vw={type:0,value:""},Ww=/[a-zA-Z0-9_]/;function zw(e){if(!e)return[[]];if(e==="/")return[[Vw]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${u}": ${h}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,l,u="",c="";function f(){u&&(n===0?o.push({type:0,value:u}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(u&&f(),i()):l===":"?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:l==="("?n=2:Ww.test(l)?d():(f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+l:n=3:c+=l;break;case 3:f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,c="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${u}"`),f(),i(),s}function qw(e,t,n){const r=Hw(zw(e.path),n),s=we(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function Kw(e,t){const n=[],r=new Map;t=lf({strict:!1,end:!0,sensitive:!1},t);function s(f){return r.get(f)}function o(f,d,h){const g=!h,p=of(f);p.aliasOf=h&&h.record;const b=lf(t,f),y=[p];if("alias"in f){const _=typeof f.alias=="string"?[f.alias]:f.alias;for(const T of _)y.push(of(we({},p,{components:h?h.record.components:p.components,path:T,aliasOf:h?h.record:p})))}let v,m;for(const _ of y){const{path:T}=_;if(d&&T[0]!=="/"){const C=d.record.path,A=C[C.length-1]==="/"?"":"/";_.path=d.record.path+(T&&A+T)}if(v=qw(_,d,b),h?h.alias.push(v):(m=m||v,m!==v&&m.alias.push(v),g&&f.name&&!af(v)&&i(f.name)),wm(v)&&l(v),p.children){const C=p.children;for(let A=0;A<C.length;A++)o(C[A],v,h&&h.children[A])}h=h||v}return m?()=>{i(m)}:Fs}function i(f){if(ym(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=Yw(f,n);n.splice(d,0,f),f.record.name&&!af(f)&&r.set(f.record.name,f)}function u(f,d){let h,g={},p,b;if("name"in f&&f.name){if(h=r.get(f.name),!h)throw ss(1,{location:f});b=h.record.name,g=we(sf(d.params,h.keys.filter(m=>!m.optional).concat(h.parent?h.parent.keys.filter(m=>m.optional):[]).map(m=>m.name)),f.params&&sf(f.params,h.keys.map(m=>m.name))),p=h.stringify(g)}else if(f.path!=null)p=f.path,h=n.find(m=>m.re.test(p)),h&&(g=h.parse(p),b=h.record.name);else{if(h=d.name?r.get(d.name):n.find(m=>m.re.test(d.path)),!h)throw ss(1,{location:f,currentLocation:d});b=h.record.name,g=we({},d.params,f.params),p=h.stringify(g)}const y=[];let v=h;for(;v;)y.unshift(v.record),v=v.parent;return{name:b,path:p,params:g,matched:y,meta:Jw(y)}}e.forEach(f=>o(f));function c(){n.length=0,r.clear()}return{addRoute:o,resolve:u,removeRoute:i,clearRoutes:c,getRoutes:a,getRecordMatcher:s}}function sf(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function of(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Gw(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 Gw(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 af(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Jw(e){return e.reduce((t,n)=>we(t,n.meta),{})}function lf(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Yw(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;bm(e,t[o])<0?r=o:n=o+1}const s=Xw(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function Xw(e){let t=e;for(;t=t.parent;)if(wm(t)&&bm(e,t)===0)return t}function wm({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Qw(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<r.length;++s){const o=r[s].replace(fm," "),i=o.indexOf("="),a=ro(i<0?o:o.slice(0,i)),l=i<0?null:ro(o.slice(i+1));if(a in t){let u=t[a];Wt(u)||(u=t[a]=[u]),u.push(l)}else t[a]=l}return t}function cf(e){let t="";for(let n in e){const r=e[n];if(n=yw(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Wt(r)?r.map(o=>o&&vl(o)):[r&&vl(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Zw(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Wt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const eE=Symbol(""),uf=Symbol(""),wc=Symbol(""),Ec=Symbol(""),wl=Symbol("");function ws(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Nn(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,l)=>{const u=d=>{d===!1?l(ss(4,{from:n,to:t})):d instanceof Error?l(d):Mw(d)?l(ss(2,{from:t,to:d})):(i&&r.enterCallbacks[s]===i&&typeof d=="function"&&i.push(d),a())},c=o(()=>e.call(r&&r.instances[s],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(d=>l(d))})}function ka(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(cm(l)){const c=(l.__vccOpts||l)[t];c&&o.push(Nn(c,n,r,i,a,s))}else{let u=l();o.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const f=aw(c)?c.default:c;i.mods[a]=c,i.components[a]=f;const h=(f.__vccOpts||f)[t];return h&&Nn(h,n,r,i,a,s)()}))}}return o}function ff(e){const t=Ye(wc),n=Ye(Ec),r=se(()=>{const l=te(e.to);return t.resolve(l)}),s=se(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;
vendor: 6,166 bytes, line 27
27if(!c||!f.length)return-1;const d=f.findIndex(rs.bind(null,c));if(d>-1)return d;const h=df(l[u-2]);return u>1&&df(c)===h&&f[f.length-1].path!==h?f.findIndex(rs.bind(null,l[u-2])):d}),o=se(()=>s.value>-1&&oE(n.params,r.value.params)),i=se(()=>s.value>-1&&s.value===n.matched.length-1&&mm(n.params,r.value.params));function a(l={}){if(sE(l)){const u=t[te(e.replace)?"replace":"push"](te(e.to)).catch(Fs);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:se(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}function tE(e){return e.length===1?e[0]:e}const nE=st({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:ff,setup(e,{slots:t}){const n=qt(ff(e)),{options:r}=Ye(wc),s=se(()=>({[hf(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[hf(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&tE(t.default(n));return e.custom?o:qe("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),rE=nE;function sE(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 oE(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Wt(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function df(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const hf=(e,t,n)=>e??t??n,iE=st({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ye(wl),s=se(()=>e.route||r.value),o=Ye(uf,0),i=se(()=>{let u=te(o);const{matched:c}=s.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=se(()=>s.value.matched[i.value]);zn(uf,se(()=>i.value+1)),zn(eE,a),zn(wl,s);const l=ae();return Xe(()=>[l.value,a.value,e.name],([u,c,f],[d,h,g])=>{c&&(c.instances[f]=u,h&&h!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=h.leaveGuards),c.updateGuards.size||(c.updateGuards=h.updateGuards))),u&&c&&(!h||!rs(c,h)||!d)&&(c.enterCallbacks[f]||[]).forEach(p=>p(u))},{flush:"post"}),()=>{const u=s.value,c=e.name,f=a.value,d=f&&f.components[c];if(!d)return pf(n.default,{Component:d,route:u});const h=f.props[c],g=h?h===!0?u.params:typeof h=="function"?h(u):h:null,b=qe(d,we({},g,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return pf(n.default,{Component:b,route:u})||b}}});function pf(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Em=iE;function aE(e){const t=Kw(e.routes,e),n=e.parseQuery||Qw,r=e.stringifyQuery||cf,s=e.history,o=ws(),i=ws(),a=ws(),l=Gn(St);let u=St;Mr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Ea.bind(null,P=>""+P),f=Ea.bind(null,bw),d=Ea.bind(null,ro);function h(P,W){let V,q;return ym(P)?(V=t.getRecordMatcher(P),q=W):q=P,t.addRoute(q,V)}function g(P){const W=t.getRecordMatcher(P);W&&t.removeRoute(W)}function p(){return t.getRoutes().map(P=>P.record)}function b(P){return!!t.getRecordMatcher(P)}function y(P,W){if(W=we({},W||l.value),typeof P=="string"){const S=Ta(n,P,W.path),$=t.resolve({path:S.path},W),H=s.createHref(S.fullPath);return we(S,$,{params:d($.params),hash:ro(S.hash),redirectedFrom:void 0,href:H})}let V;if(P.path!=null)V=we({},P,{path:Ta(n,P.path,W.path).path});else{const S=we({},P.params);for(const $ in S)S[$]==null&&delete S[$];V=we({},P,{params:f(S)}),W.params=f(W.params)}const q=t.resolve(V,W),ne=P.hash||"";q.params=c(d(q.params));const re=Tw(r,we({},P,{hash:_w(ne),path:q.path})),E=s.createHref(re);return we({fullPath:re,hash:ne,query:r===cf?Zw(P.query):P.query||{}},q,{redirectedFrom:void 0,href:E})}function v(P){return typeof P=="string"?Ta(n,P,l.value.path):we({},P)}function m(P,W){if(u!==P)return ss(8,{from:W,to:P})}function _(P){return A(P)}function T(P){return _(we(v(P),{replace:!0}))}function C(P){const W=P.matched[P.matched.length-1];if(W&&W.redirect){const{redirect:V}=W;let q=typeof V=="function"?V(P):V;return typeof q=="string"&&(q=q.includes("?")||q.includes("#")?q=v(q):{path:q},q.params={}),we({query:P.query,hash:P.hash,params:q.path!=null?{}:P.params},q)}}function A(P,W){const V=u=y(P),q=l.value,ne=P.state,re=P.force,E=P.replace===!0,S=C(V);if(S)return A(we(v(S),{state:typeof S=="object"?we({},ne,S.state):ne,force:re,replace:E}),W||V);const $=V;$.redirectedFrom=W;let H;return!re&&kw(r,q,V)&&(H=ss(16,{to:$,from:q}),Ie(q,q,!0,!1)),(H?Promise.resolve(H):x($,q)).catch(U=>Xt(U)?Xt(U,2)?U:He(U):X(U,$,q)).then(U=>{if(U){if(Xt(U,2))return A(we({replace:E},v(U.to),{state:typeof U.to=="object"?we({},ne,U.to.state):ne,force:re}),W||$)}else U=M($,q,!0,E,ne);return B($,q,U),U})}function O(P,W){const V=m(P,W);return V?Promise.reject(V):Promise.resolve()}function L(P){const W=dt.values().next().value;return W&&typeof W.runWithContext=="function"?W.runWithContext(P):P()}function x(P,W){let V;const[q,ne,re]=lE(P,W);V=ka(q.reverse(),"beforeRouteLeave",P,W);for(const S of q)S.leaveGuards.forEach($=>{V.push(Nn($,P,W))});const E=O.bind(null,P,W);return V.push(E),Qe(V).then(()=>{V=[];for(const S of o.list())V.push(Nn(S,P,W));return V.push(E),Qe(V)}).then(()=>{V=ka(ne,"beforeRouteUpdate",P,W);for(const S of ne)S.updateGuards.forEach($=>{V.push(Nn($,P,W))});return V.push(E),Qe(V)}).then(()=>{V=[];for(const S of re)if(S.beforeEnter)if(Wt(S.beforeEnter))for(const $ of S.beforeEnter)V.push(Nn($,P,W));else V.push(Nn(S.beforeEnter,P,W));return V.push(E),Qe(V)}).then(()=>(P.matched.forEach(S=>S.enterCallbacks={}),V=ka(re,"beforeRouteEnter",P,W,L),V.push(E),Qe(V))).then(()=>{V=[];for(const S of i.list())V.push(Nn(S,P,W));return V.push(E),Qe(V)}).catch(S=>Xt(S,8)?S:Promise.reject(S))}
27function B(P,W,V){a.list().forEach(q=>L(()=>q(P,W,V)))}function M(P,W,V,q,ne){const re=m(P,W);if(re)return re;const E=W===St,S=Mr?history.state:{};V&&(q||E?s.replace(P.fullPath,we({scroll:E&&S&&S.scroll},ne)):s.push(P.fullPath,ne)),l.value=P,Ie(P,W,V,E),He()}let G;function ie(){G||(G=s.listen((P,W,V)=>{if(!$t.listening)return;const q=y(P),ne=C(q);if(ne){A(we(ne,{replace:!0,force:!0}),q).catch(Fs);return}u=q;const re=l.value;Mr&&Iw(Zu(re.fullPath,V.delta),qi()),x(q,re).catch(E=>Xt(E,12)?E:Xt(E,2)?(A(we(v(E.to),{force:!0}),q).then(S=>{Xt(S,20)&&!V.delta&&V.type===so.pop&&s.go(-1,!1)}).catch(Fs),Promise.reject()):(V.delta&&s.go(-V.delta,!1),X(E,q,re))).then(E=>{E=E||M(q,re,!1),E&&(V.delta&&!Xt(E,8)?s.go(-V.delta,!1):V.type===so.pop&&Xt(E,20)&&s.go(-1,!1)),B(q,re,E)}).catch(Fs)}))}let le=ws(),J=ws(),Q;function X(P,W,V){He(P);const q=J.list();return q.length?q.forEach(ne=>ne(P,W,V)):console.error(P),Promise.reject(P)}function me(){return Q&&l.value!==St?Promise.resolve():new Promise((P,W)=>{le.add([P,W])})}function He(P){return Q||(Q=!P,ie(),le.list().forEach(([W,V])=>P?V(P):W()),le.reset()),P}function Ie(P,W,V,q){const{scrollBehavior:ne}=e;if(!Mr||!ne)return Promise.resolve();const re=!V&&xw(Zu(P.fullPath,0))||(q||!V)&&history.state&&history.state.scroll||null;return Vt().then(()=>ne(P,W,re)).then(E=>E&&Lw(E)).catch(E=>X(E,P,W))}const De=P=>s.go(P);let ft;const dt=new Set,$t={currentRoute:l,listening:!0,addRoute:h,removeRoute:g,clearRoutes:t.clearRoutes,hasRoute:b,getRoutes:p,resolve:y,options:e,push:_,replace:T,go:De,back:()=>De(-1),forward:()=>De(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:J.add,isReady:me,install(P){const W=this;P.component("RouterLink",rE),P.component("RouterView",Em),P.config.globalProperties.$router=W,Object.defineProperty(P.config.globalProperties,"$route",{enumerable:!0,get:()=>te(l)}),Mr&&!ft&&l.value===St&&(ft=!0,_(s.location).catch(ne=>{}));const V={};for(const ne in St)Object.defineProperty(V,ne,{get:()=>l.value[ne],enumerable:!0});P.provide(wc,W),P.provide(Ec,tn(V)),P.provide(wl,l);const q=P.unmount;dt.add(P),P.unmount=function(){dt.delete(P),dt.size<1&&(u=St,G&&G(),G=null,l.value=St,ft=!1,Q=!1),q()}}};function Qe(P){return P.reduce((W,V)=>W.then(()=>L(V)),Promise.resolve())}return $t}function lE(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const a=t.matched[i];a&&(e.matched.find(u=>rs(u,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(u=>rs(u,l))||s.push(l))}return[n,r,s]}function Tm(e){return Ye(Ec)}const cE=/(:\w+)\([^)]+\)/g,uE=/(:\w+)[?+*]/g,fE=/:\w+/g,dE=(e,t)=>t.path.replace(cE,"$1").replace(uE,"$1").replace(fE,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),El=(e,t)=>{const n=e.route.matched.find(s=>{var o;return((o=s.components)==null?void 0:o.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&dE(e.route,n));return typeof r=="function"?r(e.route):r},hE=(e,t)=>({default:()=>e?qe(ey,e===!0?{}:e,t):t});function Tc(e){return Array.isArray(e)?e:[e]}const mf={layout:"simple"},gf={layout:"simple"},_f={layout:"dashboard"},yf={layout:"dashboard"},Cr=null,vf={},Sa=[{name:"about___en",path:"/about",component:()=>N(()=>import("./-uLK7bqU.js"),__vite__mapDeps([0,1]),import.meta.url)},{name:"about___zh",path:"/zh/about",component:()=>N(()=>import("./-uLK7bqU.js"),__vite__mapDeps([0,1]),import.meta.url)},{name:"index___en",path:"/",component:()=>N(()=>import("./muUSNxLZ.js"),__vite__mapDeps([2,1,3,4,5,6,7,8,9,10]),import.meta.url)},{name:"index___zh",path:"/zh",component:()=>N(()=>import("./muUSNxLZ.js"),__vite__mapDeps([2,1,3,4,5,6,7,8,9,10]),import.meta.url)},{name:"login___en",path:"/login",meta:mf||{},component:()=>N(()=>import("./Dcg3y1ph.js"),__vite__mapDeps([11,1,12,13,14,15,16,17,18,19,20,3,21]),import.meta.url)},{name:"login___zh",path:"/zh/login",meta:mf||{},component:()=>N(()=>import("./Dcg3y1ph.js"),__vite__mapDeps([11,1,12,13,14,15,16,17,18,19,20,3,21]),import.meta.url)},{name:"terms___en",path:"/terms",component:()=>N(()=>import("./CuGC6llC.js"),[],import.meta.url)},{name:"terms___zh",path:"/zh/terms",component:()=>N(()=>import("./CuGC6llC.js"),[],import.meta.url)},{name:"contact___en",path:"/contact",component:()=>N(()=>import("./CMt5M0Cf.js"),__vite__mapDeps([22,15,14,13,16,17,12,18,19]),import.meta.url)},{name:"contact___zh",path:"/zh/contact",component:()=>N(()=>import("./CMt5M0Cf.js"),__vite__mapDeps([22,15,14,13,16,17,12,18,19]),import.meta.url)},{name:"privacy___en",path:"/privacy",component:()=>N(()=>import("./CkGUcyfT.js"),[],import.meta.url)},{name:"privacy___zh",path:"/zh/privacy",component:()=>N(()=>import("./CkGUcyfT.js"),[],import.meta.url)},{name:"register___en",path:"/register",meta:gf||{},component:()=>N(()=>import("./D51AyV9S.js"),__vite__mapDeps([23,15,14,13,16,17,18,19,12,20,3,21]),import.meta.url)},{name:"register___zh",path:"/zh/register",meta:gf||{},component:()=>N(()=>import("./D51AyV9S.js"),__vite__mapDeps([23,15,14,13,16,17,18,19,12,20,3,21]),import.meta.url)},{name:"dashboard___en",path:"/dashboard",meta:{..._f||{},middleware:"auth"},component:()=>N(()=>import("./Cc2DncaK.js"),__vite__mapDeps([24,25,13]),import.meta.url)},{name:"dashboard___zh",path:"/zh/dashboard",meta:{..._f||{},middleware:"auth"},component:()=>N(()=>import("./Cc2DncaK.js"),__vite__mapDeps([24,25,13]),import.meta.url)},{name:"blog___en",path:"/blog",component:()=>N(()=>import("./DPFZ-yu4.js"),__vite__mapDeps([26,1,3,12,13,14,27,16,17,28,29,30,4,31]),import.meta.url)},{name:"blog___zh",path:"/zh/blog",component:()=>N(()=>import("./DPFZ-yu4.js"),__vite__mapDeps([26,1,3,12,13,14,27,16,17,28,29,30,4,31]),import.meta.url)},{name:"conversion___en",path:"/:conversion()",component:()=>N(()=>import("./kuw1wKwq.js"),__vite__mapDeps([32,3,1,12,13,14,7]),import.meta.url)},{name:"conversion___zh",path:"/zh/:conversion()",component:()=>N(()=>import("./kuw1wKwq.js"),__vite__mapDeps([32,3,1,12,13,14,7]),import.meta.url)}
27,{name:"blog-slug___en",path:"/blog/:slug(.*)*",component:()=>N(()=>import("./BhT7oDR5.js"),__vite__mapDeps([33,30,3,34]),import.meta.url)},{name:"blog-slug___zh",path:"/zh/blog/:slug(.*)*",component:()=>N(()=>import("./BhT7oDR5.js"),__vite__mapDeps([33,30,3,34]),import.meta.url)},{name:"pdf-to-md___en",path:"/pdf-to-md",component:()=>N(()=>import("./BZdQFtHl.js"),__vite__mapDeps([35,36,1,12,13,14,37,3,6]),import.meta.url)},{name:"pdf-to-md___zh",path:"/zh/pdf-to-md",component:()=>N(()=>import("./BZdQFtHl.js"),__vite__mapDeps([35,36,1,12,13,14,37,3,6]),import.meta.url)},{name:"avi-to-mp4___en",path:"/avi-to-mp4",component:()=>N(()=>import("./CSEFx22H.js"),__vite__mapDeps([38,39,3,1,12,13,14,8]),import.meta.url)},{name:"avi-to-mp4___zh",path:"/zh/avi-to-mp4",component:()=>N(()=>import("./CSEFx22H.js"),__vite__mapDeps([38,39,3,1,12,13,14,8]),import.meta.url)},{name:"mkv-to-mp4___en",path:"/mkv-to-mp4",component:()=>N(()=>import("./CSbYzLYD.js"),__vite__mapDeps([40,39,3,1,12,13,14,8]),import.meta.url)},{name:"mkv-to-mp4___zh",path:"/zh/mkv-to-mp4",component:()=>N(()=>import("./CSbYzLYD.js"),__vite__mapDeps([40,39,3,1,12,13,14,8]),import.meta.url)},{name:"mov-to-mp4___en",path:"/mov-to-mp4",component:()=>N(()=>import("./BWBeBmKr.js"),__vite__mapDeps([41,39,3,1,12,13,14,8]),import.meta.url)},{name:"mov-to-mp4___zh",path:"/zh/mov-to-mp4",component:()=>N(()=>import("./BWBeBmKr.js"),__vite__mapDeps([41,39,3,1,12,13,14,8]),import.meta.url)},{name:"mp4-to-avi___en",path:"/mp4-to-avi",component:()=>N(()=>import("./CkHrI5zA.js"),__vite__mapDeps([42,39,3,1,12,13,14,8]),import.meta.url)},{name:"mp4-to-avi___zh",path:"/zh/mp4-to-avi",component:()=>N(()=>import("./CkHrI5zA.js"),__vite__mapDeps([42,39,3,1,12,13,14,8]),import.meta.url)},{name:"mp4-to-mov___en",path:"/mp4-to-mov",component:()=>N(()=>import("./DNhD9BYV.js"),__vite__mapDeps([43,39,3,1,12,13,14,8]),import.meta.url)},{name:"mp4-to-mov___zh",path:"/zh/mp4-to-mov",component:()=>N(()=>import("./DNhD9BYV.js"),__vite__mapDeps([43,39,3,1,12,13,14,8]),import.meta.url)},{name:"odt-to-pdf___en",path:"/odt-to-pdf",component:()=>N(()=>import("./DglWntJL.js"),__vite__mapDeps([44,45,3,1,5]),import.meta.url)},{name:"odt-to-pdf___zh",path:"/zh/odt-to-pdf",component:()=>N(()=>import("./DglWntJL.js"),__vite__mapDeps([44,45,3,1,5]),import.meta.url)},{name:"pdf-to-bmp___en",path:"/pdf-to-bmp",component:()=>N(()=>import("./CeI64NTT.js"),__vite__mapDeps([46,1,12,13,14,37,3,6]),import.meta.url)},{name:"pdf-to-bmp___zh",path:"/zh/pdf-to-bmp",component:()=>N(()=>import("./CeI64NTT.js"),__vite__mapDeps([46,1,12,13,14,37,3,6]),import.meta.url)},{name:"ppt-to-pdf___en",path:"/ppt-to-pdf",component:()=>N(()=>import("./DcQqrI0c.js"),__vite__mapDeps([47,45,3,1,5]),import.meta.url)},{name:"ppt-to-pdf___zh",path:"/zh/ppt-to-pdf",component:()=>N(()=>import("./DcQqrI0c.js"),__vite__mapDeps([47,45,3,1,5]),import.meta.url)},{name:"settings-profile___en",path:"/settings/profile",meta:{...yf||{},middleware:"auth"},component:()=>N(()=>import("./CAT-vhUz.js"),__vite__mapDeps([48,25,13,49,17,14,21,1,12,18,19]),import.meta.url)},{name:"settings-profile___zh",path:"/zh/settings/profile",meta:{...yf||{},middleware:"auth"},component:()=>N(()=>import("./CAT-vhUz.js"),__vite__mapDeps([48,25,13,49,17,14,21,1,12,18,19]),import.meta.url)},{name:"svg-editor___en",path:"/svg-editor",component:()=>N(()=>import("./DBE_5Fl2.js"),__vite__mapDeps([50,1,12,13,14,4,51]),import.meta.url)},{name:"svg-editor___zh",path:"/zh/svg-editor",component:()=>N(()=>import("./DBE_5Fl2.js"),__vite__mapDeps([50,1,12,13,14,4,51]),import.meta.url)},{name:"svg-to-ico___en",path:"/svg-to-ico",component:()=>N(()=>import("./DvxZr0UT.js"),__vite__mapDeps([52,1,12,13,14,4,53]),import.meta.url)},{name:"svg-to-ico___zh",path:"/zh/svg-to-ico",component:()=>N(()=>import("./DvxZr0UT.js"),__vite__mapDeps([52,1,12,13,14,4,53]),import.meta.url)},{name:"svg-to-png___en",path:"/svg-to-png",component:()=>N(()=>import("./D5mSH1sr.js"),__vite__mapDeps([54,1,12,13,14,4,55]),import.meta.url)},{name:"svg-to-png___zh",path:"/zh/svg-to-png",component:()=>N(()=>import("./D5mSH1sr.js"),__vite__mapDeps([54,1,12,13,14,4,55]),import.meta.url)},{name:"heic-to-pdf___en",path:"/heic-to-pdf",component:()=>N(()=>import("./CHSh-VYi.js"),__vite__mapDeps([56,45,3,1,5]),import.meta.url)},{name:"heic-to-pdf___zh",path:"/zh/heic-to-pdf",component:()=>N(()=>import("./CHSh-VYi.js"),__vite__mapDeps([56,45,3,1,5]),import.meta.url)},{name:"heic-to-png___en",path:"/heic-to-png",component:()=>N(()=>import("./vAM6n4bh.js"),__vite__mapDeps([57,45,3,1,5]),import.meta.url)},{name:"heic-to-png___zh",path:"/zh/heic-to-png",component:()=>N(()=>import("./vAM6n4bh.js"),__vite__mapDeps([57,45,3,1,5]),import.meta.url)}
27,{name:"html-to-pdf___en",path:"/html-to-pdf",component:()=>N(()=>import("./BPfMnhpe.js"),__vite__mapDeps([58,45,3,1,5]),import.meta.url)},{name:"html-to-pdf___zh",path:"/zh/html-to-pdf",component:()=>N(()=>import("./BPfMnhpe.js"),__vite__mapDeps([58,45,3,1,5]),import.meta.url)},{name:"image-to-hd___en",path:"/image-to-hd",component:()=>N(()=>import("./q1GRjuGq.js"),__vite__mapDeps([59,45,3,1,5]),import.meta.url)},{name:"image-to-hd___zh",path:"/zh/image-to-hd",component:()=>N(()=>import("./q1GRjuGq.js"),__vite__mapDeps([59,45,3,1,5]),import.meta.url)},{name:"mpeg-to-mp3___en",path:"/mpeg-to-mp3",component:()=>N(()=>import("./Ek89VKSM.js"),__vite__mapDeps([60,39,3,1,12,13,14,8]),import.meta.url)},{name:"mpeg-to-mp3___zh",path:"/zh/mpeg-to-mp3",component:()=>N(()=>import("./Ek89VKSM.js"),__vite__mapDeps([60,39,3,1,12,13,14,8]),import.meta.url)},{name:"pdf-to-text___en",path:"/pdf-to-text",component:()=>N(()=>import("./B91TgYqY.js"),__vite__mapDeps([61,36,1,12,13,14,37,3,6]),import.meta.url)},{name:"pdf-to-text___zh",path:"/zh/pdf-to-text",component:()=>N(()=>import("./B91TgYqY.js"),__vite__mapDeps([61,36,1,12,13,14,37,3,6]),import.meta.url)},{name:"text-to-pdf___en",path:"/text-to-pdf",component:()=>N(()=>import("./C9RdMvIh.js"),__vite__mapDeps([62,1,12,13,14,37,3,6]),import.meta.url)},{name:"text-to-pdf___zh",path:"/zh/text-to-pdf",component:()=>N(()=>import("./C9RdMvIh.js"),__vite__mapDeps([62,1,12,13,14,37,3,6]),import.meta.url)},{name:"video-to-4k___en",path:"/video-to-4k",component:()=>N(()=>import("./oak1Xr_p.js"),__vite__mapDeps([63,45,3,1,5]),import.meta.url)},{name:"video-to-4k___zh",path:"/zh/video-to-4k",component:()=>N(()=>import("./oak1Xr_p.js"),__vite__mapDeps([63,45,3,1,5]),import.meta.url)},{name:"webm-to-gif___en",path:"/webm-to-gif",component:()=>N(()=>import("./B_RK4na7.js"),__vite__mapDeps([64,39,3,1,12,13,14,8]),import.meta.url)},{name:"webm-to-gif___zh",path:"/zh/webm-to-gif",component:()=>N(()=>import("./B_RK4na7.js"),__vite__mapDeps([64,39,3,1,12,13,14,8]),import.meta.url)},{name:"webm-to-mp4___en",path:"/webm-to-mp4",component:()=>N(()=>import("./D8aC_TgJ.js"),__vite__mapDeps([65,39,3,1,12,13,14,8]),import.meta.url)},{name:"webm-to-mp4___zh",path:"/zh/webm-to-mp4",component:()=>N(()=>import("./D8aC_TgJ.js"),__vite__mapDeps([65,39,3,1,12,13,14,8]),import.meta.url)},{name:"audio-to-srt___en",path:"/audio-to-srt",component:()=>N(()=>import("./DVWz6yJa.js"),__vite__mapDeps([66,45,3,1,5]),import.meta.url)},{name:"audio-to-srt___zh",path:"/zh/audio-to-srt",component:()=>N(()=>import("./DVWz6yJa.js"),__vite__mapDeps([66,45,3,1,5]),import.meta.url)},{name:"audio-to-midi___en",path:"/audio-to-midi",component:()=>N(()=>import("./C4uix4fl.js"),__vite__mapDeps([67,45,3,1,5]),import.meta.url)},{name:"audio-to-midi___zh",path:"/zh/audio-to-midi",component:()=>N(()=>import("./C4uix4fl.js"),__vite__mapDeps([67,45,3,1,5]),import.meta.url)},{name:"image-to-word___en",path:"/image-to-word",component:()=>N(()=>import("./CjkIkBRy.js"),__vite__mapDeps([68,45,3,1,5]),import.meta.url)},{name:"image-to-word___zh",path:"/zh/image-to-word",component:()=>N(()=>import("./CjkIkBRy.js"),__vite__mapDeps([68,45,3,1,5]),import.meta.url)},{name:"time-converter___en",path:"/time-converter",component:()=>N(()=>import("./BaEujsvs.js"),__vite__mapDeps([69,18,19,17,13,70,27,14,16,71,28,1,12,4,72]),import.meta.url)},{name:"time-converter___zh",path:"/zh/time-converter",component:()=>N(()=>import("./BaEujsvs.js"),__vite__mapDeps([69,18,19,17,13,70,27,14,16,71,28,1,12,4,72]),import.meta.url)},{name:"youtube-to-mp3___en",path:"/youtube-to-mp3",component:()=>N(()=>import("./CkkPzSpt.js"),__vite__mapDeps([73,9,74,3,1]),import.meta.url)},{name:"youtube-to-mp3___zh",path:"/zh/youtube-to-mp3",component:()=>N(()=>import("./CkkPzSpt.js"),__vite__mapDeps([73,9,74,3,1]),import.meta.url)},{name:"youtube-to-mp4___en",path:"/youtube-to-mp4",component:()=>N(()=>import("./BEN-LdAN.js"),__vite__mapDeps([75,9,74,3,1]),import.meta.url)},{name:"youtube-to-mp4___zh",path:"/zh/youtube-to-mp4",component:()=>N(()=>import("./BEN-LdAN.js"),__vite__mapDeps([75,9,74,3,1]),import.meta.url)},{name:"youtube-to-wav___en",path:"/youtube-to-wav",component:()=>N(()=>import("./Dt85nxY-.js"),__vite__mapDeps([76,9,74,3,1]),import.meta.url)},{name:"youtube-to-wav___zh",path:"/zh/youtube-to-wav",component:()=>N(()=>import("./Dt85nxY-.js"),__vite__mapDeps([76,9,74,3,1]),import.meta.url)},{name:"video-converter___en",path:"/video-converter",component:()=>N(()=>import("./b6dDupYU.js"),__vite__mapDeps([77,3,1,8]),import.meta.url)},{name:"video-converter___zh",path:"/zh/video-converter",component:()=>N(()=>import("./b6dDupYU.js"),__vite__mapDeps([77,3,1,8]),import.meta.url)},{name:"favicon-converter___en",path:"/favicon-converter",component:()=>N(()=>import("./-jgjtTgf.js"),__vite__mapDeps([78,3,1,12,13,14,79,4,80]),import.meta.url)},{name:"favicon-converter___zh",path:"/zh/favicon-converter",component:()=>N(()=>import("./-jgjtTgf.js"),__vite__mapDeps([78,3,1,12,13,14,79,4,80]),import.meta.url)},{name:"bank-statement-to-csv___en",path:"/bank-statement-to-csv",component:()=>N(()=>import("./CFXs5g6d.js"),__vite__mapDeps([81,45,3,1,5]),import.meta.url)},{name:"bank-statement-to-csv___zh",path:"/zh/bank-statement-to-csv",component:()=>N(()=>import("./CFXs5g6d.js"),__vite__mapDeps([81,45,3,1,5]),import.meta.url)},{name:"pdf-multiple-pages-per-sheet___en",path:"/pdf-multiple-pages-per-sheet",component:()=>N(()=>import("./DGkf2eZK.js"),__vite__mapDeps([82,1,4,83]),import.meta.url)},{name:"pdf-multiple-pages-per-sheet___zh",path:"/zh/pdf-multiple-pages-per-sheet",component:()=>N(()=>import("./DGkf2eZK.js"),__vite__mapDeps([82,1,4,83]),import.meta.url)},{name:"how-to-convert-spotify-to-mp3___en",path:"/how-to-convert-spotify-to-mp3",component:()=>N(()=>import("./Bhyn8Y3q.js"),__vite__mapDeps([84,3,1]),import.meta.url)},{name:"how-to-convert-spotify-to-mp3___zh",path:"/zh/how-to-convert-spotify-to-mp3",component:()=>N(()=>import("./Bhyn8Y3q.js"),__vite__mapDeps([84,3,1]),import.meta.url)},{name:Cr==null?void 0:Cr.name,path:"/sitemap.xml",component:vf},{name:Cr==null?void 0:Cr.name,path:"/zh/sitemap.xml",component:vf}],km=(e,t)=>({default:()=>{var n;return e?qe(ev,e===!0?{}:e,t):(n=t.default)==null?void 0:n.call(t)}}),pE=/(:\w+)\([^)]+\)/g,mE=/(:\w+)[?+*]/g,gE=/:\w+/g;function bf(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(pE,"$1").replace(mE,"$1").replace(gE,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""});return typeof t=="function"?t(e):t}function _E(e,t){return e===t||t===St?!1:bf(e)!==bf(t)?!0:!e.matched.every((r,s)=>{var o,i;return r.components&&r.components.default===((i=(o=t.matched[s])==null?void 0:o.components)==null?void 0:i.default)})}const Sm={scrollBehavior(e,t,n){var l;const r=pe(),s=((l=ut().options)==null?void 0:l.scrollBehaviorType)??"auto";if(e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Pm(e.hash),behavior:s}:!1;if((typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1)return!1;let i=n||void 0;!i&&_E(e,t)&&(i={left:0,top:0});const a=r._runningTransition?"page:transition:finish":"page:loading:end";return new Promise(u=>{if(t===St){u(wf(e,"instant",i));return}r.hooks.hookOnce(a,()=>{requestAnimationFrame(()=>u(wf(e,"instant",i)))})})}};function Pm(e){try{const t=document.querySelector(e);
27if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function wf(e,t,n){return n||(e.hash?{el:e.hash,top:Pm(e.hash),behavior:t}:{left:0,top:0,behavior:t})}const yE={scrollBehavior(e,t,n){return n||(e.hash?new Promise(r=>{setTimeout(()=>{r({el:e.hash,behavior:"smooth"})},300)}):{top:0,left:0})}},vE={hashMode:!1,scrollBehaviorType:"auto"},Ef=Sm.hashMode??!1,Jt={...vE,...Sm,...yE},bE=async(e,t)=>{var i;let n,r;if(!((i=e.meta)!=null&&i.validate))return;const s=([n,r]=Mt(()=>Promise.resolve(e.meta.validate(e))),n=await n,r(),n);if(s===!0)return;const o=mr({fatal:!0,statusCode:s&&s.statusCode||404,statusMessage:s&&s.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<"u"&&window.history.pushState({},"",t.fullPath),o},wE=async e=>{let t,n;const r=([t,n]=Mt(()=>yc({path:e.path})),t=await t,n(),t);if(r.redirect)return Kt(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},EE=[bE,wE],Bs={auth:()=>N(()=>import("./CfB7kQFz.js"),[],import.meta.url)};function TE(e,t,n){const{pathname:r,search:s,hash:o}=t,i=e.indexOf("#");if(i>-1){const u=o.includes(e.slice(i))?e.slice(i).length:1;let c=o.slice(u);return c[0]!=="/"&&(c="/"+c),Ou(c,"")}const a=Ou(r,e),l=!n||nb(a,n)?a:n;return l+(l.includes("?")?"":s)+o}const kE=Ve({name:"nuxt:router",enforce:"pre",async setup(e){var b;let t,n,r=Gt().app.baseURL;Ef&&!r.includes("#")&&(r+="#");const s=((b=Jt.history)==null?void 0:b.call(Jt,r))??(Ef?Nw(r):_m(r)),o=Jt.routes?([t,n]=Mt(()=>Jt.routes(Sa)),t=await t,n(),t??Sa):Sa;let i;const a=aE({...Jt,scrollBehavior:(y,v,m)=>{if(v===St){i=m;return}if(Jt.scrollBehavior){if(a.options.scrollBehavior=Jt.scrollBehavior,"scrollRestoration"in window.history){const _=a.beforeEach(()=>{_(),window.history.scrollRestoration="manual"})}return Jt.scrollBehavior(y,St,i||m)}},history:s,routes:o});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=Gn(a.currentRoute.value);a.afterEach((y,v)=>{l.value=v}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const u=TE(r,window.location,e.payload.path),c=Gn(a.currentRoute.value),f=()=>{c.value=a.currentRoute.value};e.hook("page:finish",f),a.afterEach((y,v)=>{var m,_,T,C;((_=(m=y.matched[0])==null?void 0:m.components)==null?void 0:_.default)===((C=(T=v.matched[0])==null?void 0:T.components)==null?void 0:C.default)&&f()});const d={};for(const y in c.value)Object.defineProperty(d,y,{get:()=>c.value[y],enumerable:!0});e._route=tn(d),e._middleware||(e._middleware={global:[],named:{}});const h=Wi();a.afterEach(async(y,v,m)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(Zb),m&&await e.callHook("page:loading:end")});try{[t,n]=Mt(()=>a.isReady()),await t,n()}catch(y){[t,n]=Mt(()=>e.runWithContext(()=>lr(y))),await t,n()}const g=u!==a.currentRoute.value.fullPath?a.resolve(u):a.currentRoute.value;f();const p=e.payload.state._layout;return a.beforeEach(async(y,v)=>{var m;await e.callHook("page:loading:start"),y.meta=qt(y.meta),e.isHydrating&&p&&!En(y.meta.layout)&&(y.meta.layout=p),e._processingMiddleware=!0;{const _=new Set([...EE,...e._middleware.global]);for(const T of y.matched){const C=T.meta.middleware;if(C)for(const A of Tc(C))_.add(A)}{const T=await e.runWithContext(()=>yc({path:y.path}));if(T.appMiddleware)for(const C in T.appMiddleware)T.appMiddleware[C]?_.add(C):_.delete(C)}for(const T of _){const C=typeof T=="string"?e._middleware.named[T]||await((m=Bs[T])==null?void 0:m.call(Bs).then(A=>A.default||A)):T;if(!C)throw new Error(`Unknown route middleware: '${T}'.`);try{const A=await e.runWithContext(()=>C(y,v));if(!e.payload.serverRendered&&e.isHydrating&&(A===!1||A instanceof Error)){const O=A||mr({statusCode:404,statusMessage:`Page Not Found: ${u}`});return await e.runWithContext(()=>lr(O)),!1}if(A===!0)continue;if(A===!1)return A;if(A)return Wp(A)&&A.fatal&&await e.runWithContext(()=>lr(A)),A}catch(A){const O=mr(A);return O.fatal&&await e.runWithContext(()=>lr(O)),O}}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(async(y,v)=>{y.matched.length===0&&await e.runWithContext(()=>lr(mr({statusCode:404,fatal:!1,statusMessage:`Page not found: ${y.fullPath}`,data:{path:y.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in g&&(g.name=void 0),await a.replace({...g,force:!0}),a.options.scrollBehavior=Jt.scrollBehavior}catch(y){await e.runWithContext(()=>lr(y))}}),{provide:{router:a}}}});function Tf(e){return typeof e=="string"?`'${e}'`:new SE().serialize(e)}const SE=function(){var t;class e{constructor(){Vc(this,t,new Map)}compare(r,s){const o=typeof r,i=typeof s;
27return o==="string"&&i==="string"?r.localeCompare(s):o==="number"&&i==="number"?r-s:String.prototype.localeCompare.call(this.serialize(r,!0),this.serialize(s,!0))}serialize(r,s){if(r===null)return"null";switch(typeof r){case"string":return s?r:`'${r}'`;case"bigint":return`${r}n`;case"object":return this.$object(r);case"function":return this.$function(r)}return String(r)}serializeObject(r){const s=Object.prototype.toString.call(r);if(s!=="[object Object]")return this.serializeBuiltInType(s.length<10?`unknown:${s}`:s.slice(8,-1),r);const o=r.constructor,i=o===Object||o===void 0?"":o.name;if(i!==""&&globalThis[i]===o)return this.serializeBuiltInType(i,r);if(typeof r.toJSON=="function"){const a=r.toJSON();return i+(a!==null&&typeof a=="object"?this.$object(a):`(${this.serialize(a)})`)}return this.serializeObjectEntries(i,Object.entries(r))}serializeBuiltInType(r,s){const o=this["$"+r];if(o)return o.call(this,s);if(typeof(s==null?void 0:s.entries)=="function")return this.serializeObjectEntries(r,s.entries());throw new Error(`Cannot serialize ${r}`)}serializeObjectEntries(r,s){const o=Array.from(s).sort((a,l)=>this.compare(a[0],l[0]));let i=`${r}{`;for(let a=0;a<o.length;a++){const[l,u]=o[a];i+=`${this.serialize(l,!0)}:${this.serialize(u)}`,a<o.length-1&&(i+=",")}return i+"}"}$object(r){let s=gs(this,t).get(r);return s===void 0&&(gs(this,t).set(r,`#${gs(this,t).size}`),s=this.serializeObject(r),gs(this,t).set(r,s)),s}$function(r){const s=Function.prototype.toString.call(r);return s.slice(-15)==="[native code] }"?`${r.name||""}()[native]`:`${r.name}(${r.length})${s.replace(/\s*\n\s*/g,"")}`}$Array(r){let s="[";for(let o=0;o<r.length;o++)s+=this.serialize(r[o]),o<r.length-1&&(s+=",");return s+"]"}$Date(r){try{return`Date(${r.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(r){return`ArrayBuffer[${new Uint8Array(r).join(",")}]`}$Set(r){return`Set${this.$Array(Array.from(r).sort((s,o)=>this.compare(s,o)))}`}$Map(r){return this.serializeObjectEntries("Map",r.entries())}}t=new WeakMap;for(const n of["Error","RegExp","URL"])e.prototype["$"+n]=function(r){return`${n}(${r})`};for(const n of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])e.prototype["$"+n]=function(r){return`${n}[${r.join(",")}]`};for(const n of["BigInt64Array","BigUint64Array"])e.prototype["$"+n]=function(r){return`${n}[${r.join("n,")}${r.length>0?"n":""}]`};return e}();function PE(e,t){return e===t||Tf(e)===Tf(t)}const kf=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),TL=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),kc=e=>{const t=pe();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{kf(()=>e())}):kf(()=>e())},CE="$s";function ds(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const s=CE+n,o=pe(),i=oc(o.payload.state,s);if(i.value===void 0&&r){const a=r();if(Se(a))return o.payload.state[s]=a,a;i.value=a}return i}function AE(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},r=t||{},s=r.decode||RE;let o=0;for(;o<e.length;){const i=e.indexOf("=",o);if(i===-1)break;let a=e.indexOf(";",o);if(a===-1)a=e.length;else if(a<i){o=e.lastIndexOf(";",i-1)+1;continue}const l=e.slice(o,i).trim();if(r!=null&&r.filter&&!(r!=null&&r.filter(l))){o=a+1;continue}if(n[l]===void 0){let u=e.slice(i+1,a).trim();u.codePointAt(0)===34&&(u=u.slice(1,-1)),n[l]=OE(u,s)}o=a+1}return n}function RE(e){return e.includes("%")?decodeURIComponent(e):e}function OE(e,t){try{return t(e)}catch{return e}}const $o=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function Sf(e,t,n){const r=n||{},s=r.encode||encodeURIComponent;if(typeof s!="function")throw new TypeError("option encode is invalid");
27if(!$o.test(e))throw new TypeError("argument name is invalid");const o=s(t);if(o&&!$o.test(o))throw new TypeError("argument val is invalid");let i=e+"="+o;if(r.maxAge!==void 0&&r.maxAge!==null){const a=r.maxAge-0;if(Number.isNaN(a)||!Number.isFinite(a))throw new TypeError("option maxAge is invalid");i+="; Max-Age="+Math.floor(a)}if(r.domain){if(!$o.test(r.domain))throw new TypeError("option domain is invalid");i+="; Domain="+r.domain}if(r.path){if(!$o.test(r.path))throw new TypeError("option path is invalid");i+="; Path="+r.path}if(r.expires){if(!LE(r.expires)||Number.isNaN(r.expires.valueOf()))throw new TypeError("option expires is invalid");i+="; Expires="+r.expires.toUTCString()}if(r.httpOnly&&(i+="; HttpOnly"),r.secure&&(i+="; Secure"),r.priority)switch(typeof r.priority=="string"?r.priority.toLowerCase():r.priority){case"low":{i+="; Priority=Low";break}case"medium":{i+="; Priority=Medium";break}case"high":{i+="; Priority=High";break}default:throw new TypeError("option priority is invalid")}if(r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:{i+="; SameSite=Strict";break}case"lax":{i+="; SameSite=Lax";break}case"strict":{i+="; SameSite=Strict";break}case"none":{i+="; SameSite=None";break}default:throw new TypeError("option sameSite is invalid")}return r.partitioned&&(i+="; Partitioned"),i}function LE(e){return Object.prototype.toString.call(e)==="[object Date]"||e instanceof Date}function Dt(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]=Dt(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:Dt(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=Dt(e[t])}return n}if(r==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=Dt(e[t]);return n}return r==="[object Set]"?(n=new Set,e.forEach(function(s){n.add(Dt(s))}),n):r==="[object Map]"?(n=new Map,e.forEach(function(s,o){n.set(Dt(o),Dt(s))}),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(Dt(e.buffer)):r==="[object ArrayBuffer]"?e.slice(0):r.slice(-6)==="Array]"?new e.constructor(e):e}const IE={path:"/",watch:!0,decode:e=>eo(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},Do=window.cookieStore;function xE(e,t){var u;const n={...IE,...t};n.filter??(n.filter=c=>c===e);const r=Pf(n)||{};let s;n.maxAge!==void 0?s=n.maxAge*1e3:n.expires&&(s=n.expires.getTime()-Date.now());const o=s!==void 0&&s<=0,i=o||r[e]===void 0||r[e]===null,a=Dt(o?void 0:r[e]??((u=n.default)==null?void 0:u.call(n))),l=s&&!o?jE(a,s,n.watch&&n.watch!=="shallow"):ae(a);{let c=null;try{!Do&&typeof BroadcastChannel<"u"&&(c=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const f=(p=!1)=>{!p&&(n.readonly||PE(l.value,r[e]))||(DE(e,l.value,n),r[e]=Dt(l.value),c==null||c.postMessage({value:n.encode(l.value)}))},d=p=>{var y;const b=p.refresh?(y=Pf(n))==null?void 0:y[e]:n.decode(p.value);h=!0,l.value=b,r[e]=Dt(b),Vt(()=>{h=!1})};let h=!1;const g=!!ho();if(g&&ri(()=>{h=!0,f(),c==null||c.close()}),Do){const p=b=>{const y=b.changed.find(m=>m.name===e),v=b.deleted.find(m=>m.name===e);y&&d({value:y.value}),v&&d({value:null})};Do.addEventListener("change",p),g&&ri(()=>Do.removeEventListener("change",p))}else c&&(c.onmessage=({data:p})=>d(p));n.watch&&Xe(l,()=>{h||f()},{deep:n.watch!=="shallow"}),i&&f(i)}return l}function Pf(e={}){return AE(document.cookie,e)}function $E(e,t,n={}){return t==null?Sf(e,t,{...n,maxAge:-1}):Sf(e,t,n)}function DE(e,t,n={}){document.cookie=$E(e,t,n)}const Cf=2147483647;function jE(e,t,n){let r,s,o=0;const i=n?ae(e):{value:e};return ho()&&ri(()=>{s==null||s(),clearTimeout(r)}),$_((a,l)=>{n&&(s=Xe(i,l));function u(){o=0,clearTimeout(r);const c=t-o,f=c<Cf?c:Cf;r=setTimeout(()=>{if(o+=f,o<t)return u();i.value=void 0,l()},f)}return{get(){return a(),i.value},set(c){u(),i.value=c,l()}}})}function NE(e){if(e!=null&&e.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function ME(e,t=ut()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const s=t._preloadPromises||(t._preloadPromises=[]);if(s.length>4)return Promise.all(s).then(()=>ME(e,t));t._routePreloaded.add(n);const o=r.map(i=>{var a;return(a=i.components)==null?void 0:a.default}).filter(i=>typeof i=="function");for(const i of o){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>s.splice(s.indexOf(a)));s.push(a)}await Promise.all(s)}function UE(e={}){const t=e.path||window.location.pathname;let n={};try{n=eo(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires)<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:pe().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const FE={nuxt:{},icon:{provider:"server",class:"",aliases:{},iconifyApiEndpoint:"https://api.iconify.design",localApiEndpoint:"/api/_nuxt_icon",fallbackToApi:!0,cssSelectorPrefix:"i-",cssWherePseudo:!0,mode:"css",attrs:{"aria-hidden":!0},collections:["academicons","akar-icons","ant-design","arcticons","basil","bi","bitcoin-icons","bpmn","brandico","bx","bxl","bxs","bytesize","carbon","catppuccin","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codicon","covid","cryptocurrency","cryptocurrency-color","dashicons","devicon","devicon-plain","ei","el","emojione","emojione-monotone","emojione-v1","entypo","entypo-social","eos-icons","ep","et","eva","f7","fa","fa-brands","fa-regular","fa-solid","fa6-brands","fa6-regular","fa6-solid","fad","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","flowbite","fluent","fluent-emoji","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-mdl2","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","geo","gg","gis","gravity-ui","gridicons","grommet-icons","guid
27ance","healthicons","heroicons","heroicons-outline","heroicons-solid","hugeicons","humbleicons","ic","icomoon-free","icon-park","icon-park-outline","icon-park-solid","icon-park-twotone","iconamoon","iconoir","icons8","il","ion","iwwa","jam","la","lets-icons","line-md","logos","ls","lucide","lucide-lab","mage","majesticons","maki","map","marketeq","material-symbols","material-symbols-light","mdi","mdi-light","medical-icon","memory","meteocons","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto","noto-v1","octicon","oi","ooui","openmoji","oui","pajamas","pepicons","pepicons-pencil","pepicons-pop","pepicons-print","ph","pixelarticons","prime","ps","quill","radix-icons","raphael","ri","rivet-icons","si-glyph","simple-icons","simple-line-icons","skill-icons","solar","streamline","streamline-emojis","subway","svg-spinners","system-uicons","tabler","tdesign","teenyicons","token","token-branded","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","weui","whh","wi","wpf","zmdi","zondicons"],fetchTimeout:1500}},HE=zb(FE);function BE(){const e=pe();return e._appConfig||(e._appConfig=qt(HE)),e._appConfig}function VE(e){typeof e.indexable<"u"&&(e.indexable=String(e.indexable)!=="false"),typeof e.trailingSlash<"u"&&!e.trailingSlash&&(e.trailingSlash=String(e.trailingSlash)!=="false"),e.url&&!Kt(String(e.url),{acceptRelative:!0,strict:!1})&&(e.url=eb(String(e.url)));const t=Object.keys(e).sort((r,s)=>r.localeCompare(s)),n={};for(const r of t)n[r]=e[r];return n}function WE(e){const n=[];function r(o){if(!o||typeof o!="object"||Object.keys(o).length===0)return()=>{};o._context;const i={};for(const l in o){const u=o[l];typeof u<"u"&&u!==""&&(i[l]=u)}let a;return Object.keys(i).filter(l=>!l.startsWith("_")).length>0&&(a=n.push(i)),()=>{typeof a<"u"&&n.splice(a-1,1)}}function s(o){var a;const i={};o!=null&&o.debug&&(i._context={}),i._priority={};for(const l in n.sort((u,c)=>(u._priority||0)-(c._priority||0)))for(const u in n[l]){const c=u,f=o!=null&&o.resolveRefs?Hr(n[l][u]):n[l][u];!u.startsWith("_")&&typeof f<"u"&&f!==""&&(i[u]=f,typeof n[l]._priority<"u"&&n[l]._priority!==-1&&(i._priority[c]=n[l]._priority),o!=null&&o.debug&&(i._context[c]=((a=n[l]._context)==null?void 0:a[c])||n[l]._context||"anonymous"))}return o!=null&&o.skipNormalize?i:VE(i)}return{stack:n,push:r,get:s}}const zE=Ve({name:"nuxt-site-config:init",enforce:"pre",async setup(e){var r;const t=WE(),n=ds("site-config");{const s=n.value||window.__NUXT_SITE_CONFIG__||{};for(const o in s)o[0]!=="_"&&t.push({[o]:s[o],_priority:((r=s._priority)==null?void 0:r[o])||-1})}return{provide:{nuxtSiteConfig:t}}}}),qE=e=>{let t;return e?t=e:typeof fetch>"u"?t=(...n)=>N(async()=>{const{default:r}=await Promise.resolve().then(()=>hs);return{default:r}},void 0,import.meta.url).then(({default:r})=>r(...n)):t=fetch,(...n)=>t(...n)};class Sc extends Error{constructor(t,n="FunctionsError",r){super(t),this.name=n,this.context=r}}class KE extends Sc{constructor(t){super("Failed to send a request to the Edge Function","FunctionsFetchError",t)}}class GE extends Sc{constructor(t){super("Relay Error invoking the Edge Function","FunctionsRelayError",t)}}class JE extends Sc{constructor(t){super("Edge Function returned a non-2xx status code","FunctionsHttpError",t)}}var Tl;(function(e){e.Any="any",e.ApNortheast1="ap-northeast-1",e.ApNortheast2="ap-northeast-2",e.ApSouth1="ap-south-1",e.ApSoutheast1="ap-southeast-1",e.ApSoutheast2="ap-southeast-2",e.CaCentral1="ca-central-1",e.EuCentral1="eu-central-1",e.EuWest1="eu-west-1",e.EuWest2="eu-west-2",e.EuWest3="eu-west-3",e.SaEast1="sa-east-1",e.UsEast1="us-east-1",e.UsWest1="us-west-1",e.UsWest2="us-west-2"})(Tl||(Tl={}));var YE=function(e,t,n,r){function s(o){return o instanceof n?o:new n(function(i){i(o)})}return new(n||(n=Promise))(function(o,i){function a(c){try{u(r.next(c))}catch(f){i(f)}}function l(c){try{u(r.throw(c))}catch(f){i(f)}}function u(c){c.done?o(c.value):s(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})};class XE{constructor(t,{headers:n={},customFetch:r,region:s=Tl.Any}={}){this.url=t,this.headers=n,this.region=s,this.fetch=qE(r)}setAuth(t){this.headers.Authorization=`Bearer ${t}`}invoke(t,n={}){var r;return YE(this,void 0,void 0,function*(){try{const{headers:s,method:o,body:i}=n;let a={},{region:l}=n;l||(l=this.region),l&&l!=="any"&&(a["x-region"]=l);let u;i&&(s&&!Object.prototype.hasOwnProperty.call(s,"Content-Type")||!s)&&(typeof Blob<"u"&&i instanceof Blob||i instanceof ArrayBuffer?(a["Content-Type"]="application/octet-stream",u=i):typeof i=="string"?(a["Content-Type"]="text/plain",u=i):typeof FormData<"u"&&i instanceof FormData?u=i:(a["Content-Type"]="application/json",u=JSON.stringify(i)));const c=yield this.fetch(`${this.url}/${t}`,{method:o||"POST",headers:Object.assign(Object.assign(Object.assign({},a),this.headers),s),body:u}).catch(g=>{throw new KE(g)}),f=c.headers.get("x-relay-error");
27if(f&&f==="true")throw new GE(c);if(!c.ok)throw new JE(c);let d=((r=c.headers.get("Content-Type"))!==null&&r!==void 0?r:"text/plain").split(";")[0].trim(),h;return d==="application/json"?h=yield c.json():d==="application/octet-stream"?h=yield c.blob():d==="text/event-stream"?h=c:d==="multipart/form-data"?h=yield c.formData():h=yield c.text(),{data:h,error:null}}catch(s){return{data:null,error:s}}})}}function QE(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ZE(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return e[r]}})}),n}var et={},Ar={},Rr={},Or={},Lr={},Ir={},eT=function(){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")},os=eT();const tT=os.fetch,Cm=os.fetch.bind(os),Am=os.Headers,nT=os.Request,rT=os.Response,hs=Object.freeze(Object.defineProperty({__proto__:null,Headers:Am,Request:nT,Response:rT,default:Cm,fetch:tT},Symbol.toStringTag,{value:"Module"})),sT=ZE(hs);var jo={},Af;function Rm(){if(Af)return jo;Af=1,Object.defineProperty(jo,"__esModule",{value:!0});class e extends Error{constructor(n){super(n.message),this.name="PostgrestError",this.details=n.details,this.hint=n.hint,this.co
27de=n.code}}return jo.default=e,jo}var Rf;function Om(){if(Rf)return Ir;Rf=1;var e=Ir&&Ir.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(Ir,"__esModule",{value:!0});const t=e(sT),n=e(Rm());class r{constructor(o){this.shouldThrowOnError=!1,this.method=o.method,this.url=o.url,this.headers=o.headers,this.schema=o.schema,this.body=o.body,this.shouldThrowOnError=o.shouldThrowOnError,this.signal=o.signal,this.isMaybeSingle=o.isMaybeSingle,o.fetch?this.fetch=o.fetch:typeof fetch>"u"?this.fetch=t.default:this.fetch=fetch}throwOnError(){return this.shouldThrowOnError=!0,this}setHeader(o,i){return this.headers=Object.assign({},this.headers),this.headers[o]=i,this}then(o,i){this.schema===void 0||(["GET","HEAD"].includes(this.method)?this.headers["Accept-Profile"]=this.schema:this.headers["Content-Profile"]=this.schema),this.method!=="GET"&&this.method!=="HEAD"&&(this.headers["Content-Type"]="application/json");const a=this.fetch;let l=a(this.url.toString(),{method:this.method,headers:this.headers,body:JSON.stringify(this.body),signal:this.signal}).then(async u=>{var c,f,d;let h=null,g=null,p=null,b=u.status,y=u.statusText;if(u.ok){if(this.method!=="HEAD"){const T=await u.text();T===""||(this.headers.Accept==="text/csv"||this.headers.Accept&&this.headers.Accept.includes("application/vnd.pgrst.plan+text")?g=T:g=JSON.parse(T))}const m=(c=this.headers.Prefer)===null||c===void 0?void 0:c.match(/count=(exact|planned|estimated)/),_=(f=u.headers.get("content-range"))===null||f===void 0?void 0:f.split("/");m&&_&&_.length>1&&(p=parseInt(_[1])),this.isMaybeSingle&&this.method==="GET"&&Array.isArray(g)&&(g.length>1?(h={code:"PGRST116",details:`Results contain ${g.length} rows, application/vnd.pgrst.object+json requires 1 row`,hint:null,message:"JSON object requested, multiple (or no) rows returned"},g=null,p=null,b=406,y="Not Acceptable"):g.length===1?g=g[0]:g=null)}else{const m=await u.text();try{h=JSON.parse(m),Array.isArray(h)&&u.status===404&&(g=[],h=null,b=200,y="OK")}catch{u.status===404&&m===""?(b=204,y="No Content"):h={message:m}}if(h&&this.isMaybeSingle&&(!((d=h==null?void 0:h.details)===null||d===void 0)&&d.includes("0 rows"))&&(h=null,b=200,y="OK"),h&&this.shouldThrowOnError)throw new n.default(h)}return{error:h,data:g,count:p,status:b,statusText:y}});return this.shouldThrowOnError||(l=l.catch(u=>{var c,f,d;return{error:{message:`${(c=u==null?void 0:u.name)!==null&&c!==void 0?c:"FetchError"}: ${u==null?void 0:u.message}`,details:`${(f=u==null?void 0:u.stack)!==null&&f!==void 0?f:""}`,hint:"",code:`${(d=u==null?void 0:u.code)!==null&&d!==void 0?d:""}`},data:null,count:null,status:0,statusText:""}})),l.then(o,i)}returns(){return this}overrideTypes(){return this}}return Ir.default=r,Ir}var Of;
27function Lm(){if(Of)return Lr;Of=1;var e=Lr&&Lr.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Lr,"__esModule",{value:!0});const t=e(Om());class n extends t.default{select(s){let o=!1;const i=(s??"*").split("").map(a=>/\s/.test(a)&&!o?"":(a==='"'&&(o=!o),a)).join("");return this.url.searchParams.set("select",i),this.headers.Prefer&&(this.headers.Prefer+=","),this.headers.Prefer+="return=representation",this}order(s,{ascending:o=!0,nullsFirst:i,foreignTable:a,referencedTable:l=a}={}){const u=l?`${l}.order`:"order",c=this.url.searchParams.get(u);return this.url.searchParams.set(u,`${c?`${c},`:""}${s}.${o?"asc":"desc"}${i===void 0?"":i?".nullsfirst":".nullslast"}`),this}limit(s,{foreignTable:o,referencedTable:i=o}={}){const a=typeof i>"u"?"limit":`${i}.limit`;return this.url.searchParams.set(a,`${s}`),this}range(s,o,{foreignTable:i,referencedTable:a=i}={}){const l=typeof a>"u"?"offset":`${a}.offset`,u=typeof a>"u"?"limit":`${a}.limit`;return this.url.searchParams.set(l,`${s}`),this.url.searchParams.set(u,`${o-s+1}`),this}abortSignal(s){return this.signal=s,this}single(){return this.headers.Accept="application/vnd.pgrst.object+json",this}maybeSingle(){return this.method==="GET"?this.headers.Accept="application/json":this.headers.Accept="application/vnd.pgrst.object+json",this.isMaybeSingle=!0,this}csv(){return this.headers.Accept="text/csv",this}geojson(){return this.headers.Accept="application/geo+json",this}explain({analyze:s=!1,verbose:o=!1,settings:i=!1,buffers:a=!1,wal:l=!1,format:u="text"}={}){var c;const f=[s?"analyze":null,o?"verbose":null,i?"settings":null,a?"buffers":null,l?"wal":null].filter(Boolean).join("|"),d=(c=this.headers.Accept)!==null&&c!==void 0?c:"application/json";return this.headers.Accept=`application/vnd.pgrst.plan+${u}; for="${d}"; options=${f};`,u==="json"?this:this}rollback(){var s;return((s=this.headers.Prefer)!==null&&s!==void 0?s:"").trim().length>0?this.headers.Prefer+=",tx=rollback":this.headers.Prefer="tx=rollback",this}returns(){return this}}return Lr.default=n,Lr}var Lf;function Pc(){if(Lf)return Or;Lf=1;var e=Or&&Or.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Or,"__esModule",{value:!0});const t=e(Lm());class n extends t.default{eq(s,o){return this.url.searchParams.append(s,`eq.${o}`),this}neq(s,o){return this.url.searchParams.append(s,`neq.${o}`),this}gt(s,o){return this.url.searchParams.append(s,`gt.${o}`),this}gte(s,o){return this.url.searchParams.append(s,`gte.${o}`),this}lt(s,o){return this.url.searchParams.append(s,`lt.${o}`),this}lte(s,o){return this.url.searchParams.append(s,`lte.${o}`),this}like(s,o){return this.url.searchParams.append(s,`like.${o}`),this}likeAllOf(s,o){return this.url.searchParams.append(s,`like(all).{${o.join(",")}}`),this}likeAnyOf(s,o){return this.url.searchParams.append(s,`like(any).{${o.join(",")}}`),this}ilike(s,o){return this.url.searchParams.append(s,`ilike.${o}`),this}ilikeAllOf(s,o){return this.url.searchParams.append(s,`ilike(all).{${o.join(",")}}`),this}ilikeAnyOf(s,o){return this.url.searchParams.append(s,`ilike(any).{${o.join(",")}}`),this}is(s,o){return this.url.searchParams.append(s,`is.${o}`),this}in(s,o){const i=Array.from(new Set(o)).map(a=>typeof a=="string"&&new RegExp("[,()]").test(a)?`"${a}"`:`${a}`).join(",");return this.url.searchParams.append(s,`in.(${i})`),this}contains(s,o){return typeof o=="string"?this.url.searchParams.append(s,`cs.${o}`):Array.isArray(o)?this.url.searchParams.append(s,`cs.{${o.join(",")}}`):this.url.searchParams.append(s,`cs.${JSON.stringify(o)}`),this}containedBy(s,o){return typeof o=="string"?this.url.searchParams.append(s,`cd.${o}`):Array.isArray(o)?this.url.searchParams.append(s,`cd.{${o.join(",")}}`):this.url.searchParams.append(s,`cd.${JSON.stringify(o)}`),this}rangeGt(s,o){return this.url.searchParams.append(s,`sr.${o}`),this}rangeGte(s,o){return this.url.searchParams.append(s,`nxl.${o}`),this}rangeLt(s,o){return this.url.searchParams.append(s,`sl.${o}`),this}rangeLte(s,o){return this.url.searchParams.append(s,`nxr.${o}`),this}rangeAdjacent(s,o){return this.url.searchParams.append(s,`adj.${o}`),this}
27overlaps(s,o){return typeof o=="string"?this.url.searchParams.append(s,`ov.${o}`):this.url.searchParams.append(s,`ov.{${o.join(",")}}`),this}textSearch(s,o,{config:i,type:a}={}){let l="";a==="plain"?l="pl":a==="phrase"?l="ph":a==="websearch"&&(l="w");const u=i===void 0?"":`(${i})`;return this.url.searchParams.append(s,`${l}fts${u}.${o}`),this}match(s){return Object.entries(s).forEach(([o,i])=>{this.url.searchParams.append(o,`eq.${i}`)}),this}not(s,o,i){return this.url.searchParams.append(s,`not.${o}.${i}`),this}or(s,{foreignTable:o,referencedTable:i=o}={}){const a=i?`${i}.or`:"or";return this.url.searchParams.append(a,`(${s})`),this}filter(s,o,i){return this.url.searchParams.append(s,`${o}.${i}`),this}}return Or.default=n,Or}var If;function Im(){if(If)return Rr;If=1;var e=Rr&&Rr.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Rr,"__esModule",{value:!0});const t=e(Pc());class n{constructor(s,{headers:o={},schema:i,fetch:a}){this.url=s,this.headers=o,this.schema=i,this.fetch=a}select(s,{head:o=!1,count:i}={}){const a=o?"HEAD":"GET";let l=!1;const u=(s??"*").split("").map(c=>/\s/.test(c)&&!l?"":(c==='"'&&(l=!l),c)).join("");return this.url.searchParams.set("select",u),i&&(this.headers.Prefer=`count=${i}`),new t.default({method:a,url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch,allowEmpty:!1})}insert(s,{count:o,defaultToNull:i=!0}={}){const a="POST",l=[];if(this.headers.Prefer&&l.push(this.headers.Prefer),o&&l.push(`count=${o}`),i||l.push("missing=default"),this.headers.Prefer=l.join(","),Array.isArray(s)){const u=s.reduce((c,f)=>c.concat(Object.keys(f)),[]);if(u.length>0){const c=[...new Set(u)].map(f=>`"${f}"`);this.url.searchParams.set("columns",c.join(","))}}return new t.default({method:a,url:this.url,headers:this.headers,schema:this.schema,body:s,fetch:this.fetch,allowEmpty:!1})}upsert(s,{onConflict:o,ignoreDuplicates:i=!1,count:a,defaultToNull:l=!0}={}){const u="POST",c=[`resolution=${i?"ignore":"merge"}-duplicates`];if(o!==void 0&&this.url.searchParams.set("on_conflict",o),this.headers.Prefer&&c.push(this.headers.Prefer),a&&c.push(`count=${a}`),l||c.push("missing=default"),this.headers.Prefer=c.join(","),Array.isArray(s)){const f=s.reduce((d,h)=>d.concat(Object.keys(h)),[]);if(f.length>0){const d=[...new Set(f)].map(h=>`"${h}"`);this.url.searchParams.set("columns",d.join(","))}}return new t.default({method:u,url:this.url,headers:this.headers,schema:this.schema,body:s,fetch:this.fetch,allowEmpty:!1})}update(s,{count:o}={}){const i="PATCH",a=[];return this.headers.Prefer&&a.push(this.headers.Prefer),o&&a.push(`count=${o}`),this.headers.Prefer=a.join(","),new t.default({method:i,url:this.url,headers:this.headers,schema:this.schema,body:s,fetch:this.fetch,allowEmpty:!1})}delete({count:s}={}){const o="DELETE",i=[];return s&&i.push(`count=${s}`),this.headers.Prefer&&i.unshift(this.headers.Prefer),this.headers.Prefer=i.join(","),new t.default({method:o,url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch,allowEmpty:!1})}}return Rr.default=n,Rr}var Es={},Ts={},xf;function oT(){return xf||(xf=1,Object.defineProperty(Ts,"__esModule",{value:!0}),Ts.version=void 0,Ts.version="0.0.0-automated"),Ts}var $f;function iT(){if($f)return Es;$f=1,Object.defineProperty(Es,"__esModule",{value:!0}),Es.DEFAULT_HEADERS=void 0;const e=oT();return Es.DEFAULT_HEADERS={"X-Client-Info":`postgrest-js/${e.version}`},Es}var Df;function aT(){if(Df)return Ar;Df=1;var e=Ar&&Ar.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Ar,"__esModule",{value:!0});const t=e(Im()),n=e(Pc()),r=iT();class s{constructor(i,{headers:a={},schema:l,fetch:u}={}){this.url=i,this.headers=Object.assign(Object.assign({},r.DEFAULT_HEADERS),a),this.schemaName=l,this.fetch=u}from(i){const a=new URL(`${this.url}/${i}`);return new t.default(a,{headers:Object.assign({},this.headers),schema:this.schemaName,fetch:this.fetch})}schema(i){return new s(this.url,{headers:this.headers,schema:i,fetch:this.fetch})}rpc(i,a={},{head:l=!1,get:u=!1,count:c}={}){let f;const d=new URL(`${this.url}/rpc/${i}`);let h;l||u?(f=l?"HEAD":"GET",Object.entries(a).filter(([p,b])=>b!==void 0).map(([p,b])=>[p,Array.isArray(b)?`{${b.join(",")}}`:`${b}
27`]).forEach(([p,b])=>{d.searchParams.append(p,b)})):(f="POST",h=a);const g=Object.assign({},this.headers);return c&&(g.Prefer=`count=${c}`),new n.default({method:f,url:d,headers:g,schema:this.schemaName,body:h,fetch:this.fetch,allowEmpty:!1})}}return Ar.default=s,Ar}var jf;function lT(){if(jf)return et;jf=1;var e=et&&et.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(et,"__esModule",{value:!0}),et.PostgrestError=et.PostgrestBuilder=et.PostgrestTransformBuilder=et.PostgrestFilterBuilder=et.PostgrestQueryBuilder=et.PostgrestClient=void 0;const t=e(aT());et.PostgrestClient=t.default;const n=e(Im());et.PostgrestQueryBuilder=n.default;const r=e(Pc());et.PostgrestFilterBuilder=r.default;const s=e(Lm());et.PostgrestTransformBuilder=s.default;const o=e(Om());et.PostgrestBuilder=o.default;const i=e(Rm());return et.PostgrestError=i.default,et.default={PostgrestClient:t.default,PostgrestQueryBuilder:n.default,PostgrestFilterBuilder:r.default,PostgrestTransformBuilder:s.default,PostgrestBuilder:o.default,PostgrestError:i.default},et}var cT=lT();const uT=QE(cT),{PostgrestClient:fT,PostgrestQueryBuilder:kL,PostgrestFilterBuilder:SL,PostgrestTransformBuilder:PL,PostgrestBuilder:CL,PostgrestError:AL}=uT,dT="2.11.2",hT={"X-Client-Info":`realtime-js/${dT}`},pT="1.0.0",xm=1e4,mT=1e3;var Jr;(function(e){e[e.connecting=0]="connecting",e[e.open=1]="open",e[e.closing=2]="closing",e[e.closed=3]="closed"})(Jr||(Jr={}));var wt;(function(e){e.closed="closed",e.errored="errored",e.joined="joined",e.joining="joining",e.leaving="leaving"})(wt||(wt={}));var jt;(function(e){e.close="phx_close",e.error="phx_error",e.join="phx_join",e.reply="phx_reply",e.leave="phx_leave",e.access_token="access_token"})(jt||(jt={}));var kl;(function(e){e.websocket="websocket"})(kl||(kl={}));var ur;(function(e){e.Connecting="connecting",e.Open="open",e.Closing="closing",e.Closed="closed"})(ur||(ur={}));class gT{constructor(){this.HEADER_LENGTH=1}decode(t,n){return t.constructor===ArrayBuffer?n(this._binaryDecode(t)):n(typeof t=="string"?JSON.parse(t):{})}_binaryDecode(t){const n=new DataView(t),r=new TextDecoder;return this._decodeBroadcast(t,n,r)}_decodeBroadcast(t,n,r){const s=n.getUint8(1),o=n.getUint8(2);let i=this.HEADER_LENGTH+2;const a=r.decode(t.slice(i,i+s));i=i+s;const l=r.decode(t.slice(i,i+o));i=i+o;const u=JSON.parse(r.decode(t.slice(i,t.byteLength)));return{ref:null,topic:a,event:l,payload:u}}}class $m{constructor(t,n){this.callback=t,this.timerCalc=n,this.timer=void 0,this.tries=0,this.callback=t,this.timerCalc=n}reset(){this.tries=0,clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}}var Oe;(function(e){e.abstime="abstime",e.bool="bool",e.date="date",e.daterange="daterange",e.float4="float4",e.float8="float8",e.int2="int2",e.int4="int4",e.int4range="int4range",e.int8="int8",e.int8range="int8range",e.json="json",e.jsonb="jsonb",e.money="money",e.numeric="numeric",e.oid="oid",e.reltime="reltime",e.text="text",e.time="time",e.timestamp="timestamp",e.timestamptz="timestamptz",e.timetz="timetz",e.tsrange="tsrange",e.tstzrange="tstzrange"})(Oe||(Oe={}));const Nf=(e,t,n={})=>{var r;const s=(r=n.skipTypes)!==null&&r!==void 0?r:[];return Object.keys(t).reduce((o,i)=>(o[i]=_T(i,e,t,s),o),{})},_T=(e,t,n,r)=>{const s=t.find(a=>a.name===e),o=s==null?void 0:s.type,i=n[e];return o&&!r.includes(o)?Dm(o,i):Sl(i)},Dm=(e,t)=>{if(e.charAt(0)==="_"){const n=e.slice(1,e.length);return wT(t,n)}switch(e){case Oe.bool:return yT(t);case Oe.float4:case Oe.float8:case Oe.int2:case Oe.int4:case Oe.int8:case Oe.numeric:case Oe.oid:return vT(t);case Oe.json:case Oe.jsonb:return bT(t);case Oe.timestamp:return ET(t);case Oe.abstime:case Oe.date:case Oe.daterange:case Oe.int4range:case Oe.int8range:case Oe.money:case Oe.reltime:case Oe.text:case Oe.time:case Oe.timestamptz:case Oe.timetz:case Oe.tsrange:case Oe.tstzrange:return Sl(t);default:return Sl(t)}},Sl=e=>e,yT=e=>{switch(e){case"t":return!0;case"f":return!1;default:return e}},vT=e=>{if(typeof e=="string"){const t=parseFloat(e);
vendor: 13,518 bytes, lines 27-32
27if(!Number.isNaN(t))return t}return e},bT=e=>{if(typeof e=="string")try{return JSON.parse(e)}catch(t){return console.log(`JSON parse error: ${t}`),e}return e},wT=(e,t)=>{if(typeof e!="string")return e;const n=e.length-1,r=e[n];if(e[0]==="{"&&r==="}"){let o;const i=e.slice(1,n);try{o=JSON.parse("["+i+"]")}catch{o=i?i.split(","):[]}return o.map(a=>Dm(t,a))}return e},ET=e=>typeof e=="string"?e.replace(" ","T"):e,jm=e=>{let t=e;return t=t.replace(/^ws/i,"http"),t=t.replace(/(\/socket\/websocket|\/socket|\/websocket)\/?$/i,""),t.replace(/\/+$/,"")};class Pa{constructor(t,n,r={},s=xm){this.channel=t,this.event=n,this.payload=r,this.timeout=s,this.sent=!1,this.timeoutTimer=void 0,this.ref="",this.receivedResp=null,this.recHooks=[],this.refEvent=null}resend(t){this.timeout=t,this._cancelRefEvent(),this.ref="",this.refEvent=null,this.receivedResp=null,this.sent=!1,this.send()}send(){this._hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload,ref:this.ref,join_ref:this.channel._joinRef()}))}updatePayload(t){this.payload=Object.assign(Object.assign({},this.payload),t)}receive(t,n){var r;return this._hasReceived(t)&&n((r=this.receivedResp)===null||r===void 0?void 0:r.response),this.recHooks.push({status:t,callback:n}),this}startTimeout(){if(this.timeoutTimer)return;this.ref=this.channel.socket._makeRef(),this.refEvent=this.channel._replyEventName(this.ref);const t=n=>{this._cancelRefEvent(),this._cancelTimeout(),this.receivedResp=n,this._matchReceive(n)};this.channel._on(this.refEvent,{},t),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}trigger(t,n){this.refEvent&&this.channel._trigger(this.refEvent,{status:t,response:n})}destroy(){this._cancelRefEvent(),this._cancelTimeout()}_cancelRefEvent(){this.refEvent&&this.channel._off(this.refEvent,{})}_cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=void 0}_matchReceive({status:t,response:n}){this.recHooks.filter(r=>r.status===t).forEach(r=>r.callback(n))}_hasReceived(t){return this.receivedResp&&this.receivedResp.status===t}}var Mf;(function(e){e.SYNC="sync",e.JOIN="join",e.LEAVE="leave"})(Mf||(Mf={}));class Vs{constructor(t,n){this.channel=t,this.state={},this.pendingDiffs=[],this.joinRef=null,this.caller={onJoin:()=>{},onLeave:()=>{},onSync:()=>{}};const r=(n==null?void 0:n.events)||{state:"presence_state",diff:"presence_diff"};this.channel._on(r.state,{},s=>{const{onJoin:o,onLeave:i,onSync:a}=this.caller;this.joinRef=this.channel._joinRef(),this.state=Vs.syncState(this.state,s,o,i),this.pendingDiffs.forEach(l=>{this.state=Vs.syncDiff(this.state,l,o,i)}),this.pendingDiffs=[],a()}),this.channel._on(r.diff,{},s=>{const{onJoin:o,onLeave:i,onSync:a}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(s):(this.state=Vs.syncDiff(this.state,s,o,i),a())}),this.onJoin((s,o,i)=>{this.channel._trigger("presence",{event:"join",key:s,currentPresences:o,newPresences:i})}),this.onLeave((s,o,i)=>{this.channel._trigger("presence",{event:"leave",key:s,currentPresences:o,leftPresences:i})}),this.onSync(()=>{this.channel._trigger("presence",{event:"sync"})})}static syncState(t,n,r,s){const o=this.cloneDeep(t),i=this.transformState(n),a={},l={};return this.map(o,(u,c)=>{i[u]||(l[u]=c)}),this.map(i,(u,c)=>{const f=o[u];if(f){const d=c.map(b=>b.presence_ref),h=f.map(b=>b.presence_ref),g=c.filter(b=>h.indexOf(b.presence_ref)<0),p=f.filter(b=>d.indexOf(b.presence_ref)<0);g.length>0&&(a[u]=g),p.length>0&&(l[u]=p)}else a[u]=c}),this.syncDiff(o,{joins:a,leaves:l},r,s)}static syncDiff(t,n,r,s){const{joins:o,leaves:i}={joins:this.transformState(n.joins),leaves:this.transformState(n.leaves)};return r||(r=()=>{}),s||(s=()=>{}),this.map(o,(a,l)=>{var u;const c=(u=t[a])!==null&&u!==void 0?u:[];if(t[a]=this.cloneDeep(l),c.length>0){const f=t[a].map(h=>h.presence_ref),d=c.filter(h=>f.indexOf(h.presence_ref)<0);t[a].unshift(...d)}r(a,c,l)}),this.map(i,(a,l)=>{let u=t[a];if(!u)return;const c=l.map(f=>f.presence_ref);u=u.filter(f=>c.indexOf(f.presence_ref)<0),t[a]=u,s(a,u,l),u.length===0&&delete t[a]}),t}static map(t,n){return Object.getOwnPropertyNames(t).map(r=>n(r,t[r]))}static transformState(t){return t=this.cloneDeep(t),Object.getOwnPropertyNames(t).reduce((n,r)=>{const s=t[r];return"metas"in s?n[r]=s.metas.map(o=>(o.presence_ref=o.phx_ref,delete o.phx_ref,delete o.phx_ref_prev,o)):n[r]=s,n},{})}static cloneDeep(t){return JSON.parse(JSON.stringify(t))}onJoin(t){this.caller.onJoin=t}onLeave(t){this.caller.onLeave=t}onSync(t){this.caller.onSync=t}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel._joinRef()}}var Uf;(function(e){e.ALL="*",e.INSERT="INSERT",e.UPDATE="UPDATE",e.DELETE="DELETE"})(Uf||(Uf={}));var Ff;(function(e){e.BROADCAST="broadcast",e.PRESENCE="presence",e.POSTGRES_CHANGES="postgres_changes",e.SYSTEM="system"})(Ff||(Ff={}));var dn;(function(e){e.SUBSCRIBED="SUBSCRIBED",e.TIMED_OUT="TIMED_OUT",e.CLOSED="CLOSED",e.CHANNEL_ERROR="CHANNEL_ERROR"})(dn||(dn={}));class Cc{constructor(t,n={config:{}},r){this.topic=t,this.params=n,this.socket=r,this.bindings={},this.state=wt.closed,this.joinedOnce=!1,this.pushBuffer=[],this.subTopic=t.replace(/^realtime:/i,""),this.params.config=Object.assign({broadcast:{ack:!1,self:!1},presence:{key:""},private:!1},n.config),this.timeout=this.socket.timeout,this.joinPush=new Pa(this,jt.join,this.params,this.timeout),this.rejoinTimer=new $m(()=>this._rejoinUntilConnected(),this.socket.reconnectAfterMs),this.joinPush.receive("ok",()=>{this.state=wt.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(s=>s.send()),this.pushBuffer=[]}),this._onClose(()=>{this.rejoinTimer.reset(),this.socket.log("channel",`close ${this.topic} ${this._joinRef()}`),this.state=wt.closed,this.socket._remove(this)}),this._onError(s=>{this._isLeaving()||this._isClosed()||(this.socket.log("channel",`error ${this.topic}`,s),this.state=wt.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive("timeout",()=>{this._isJoining()&&(this.socket.log("channel",`timeout ${this.topic}`,this.joinPush.timeout),this.state=wt.errored,this.rejoinTimer.scheduleTimeout())}),this._on(jt.reply,{},(s,o)=>{this._trigger(this._replyEventName(o),s)}),this.presence=new Vs(this),this.broadcastEndpointURL=jm(this.socket.endPoint)+"/api/broadcast",this.private=this.params.config.private||!1}subscribe(t,n=this.timeout){var r,s;if(this.socket.isConnected()||this.socket.connect(),this.joinedOnce)throw"tried to subscribe multiple times. 'subscribe' can only be called a single time per channel instance";{const{config:{broadcast:o,presence:i,private:a}}=this.params;this._onError(c=>t==null?void 0:t(dn.CHANNEL_ERROR,c)),this._onClose(()=>t==null?void 0:t(dn.CLOSED));const l={},u={broadcast:o,presence:i,postgres_changes:(s=(r=this.bindings.postgres_changes)===null||r===void 0?void 0:r.map(c=>c.filter))!==null&&s!==void 0?s:[],private:a};this.socket.accessTokenValue&&(l.access_token=this.socket.accessTokenValue),this.updateJoinPayload(Object.assign({config:u},l)),this.joinedOnce=!0,this._rejoin(n),this.joinPush.receive("ok",async({postgres_changes:c})=>{var f;if(this.socket.setAuth(),c===void 0){t==null||t(dn.SUBSCRIBED);return}else{const d=this.bindings.postgres_changes,h=(f=d==null?void 0:d.length)!==null&&f!==void 0?f:0,g=[];for(let p=0;p<h;p++){const b=d[p],{filter:{event:y,schema:v,table:m,filter:_}}=b,T=c&&c[p];if(T&&T.event===y&&T.schema===v&&T.table===m&&T.filter===_)g.push(Object.assign(Object.assign({},b),{id:T.id}));else{this.unsubscribe(),t==null||t(dn.CHANNEL_ERROR,new Error("mismatch between server and client bindings for postgres changes"));return}}this.bindings.postgres_changes=g,t&&t(dn.SUBSCRIBED);return}}).receive("error",c=>{t==null||t(dn.CHANNEL_ERROR,new Error(JSON.stringify(Object.values(c).join(", ")||"error")))}).receive("timeout",()=>{t==null||t(dn.TIMED_OUT)})}return this}presenceState(){return this.presence.state}async track(t,n={}){return await this.send({type:"presence",event:"track",payload:t},n.timeout||this.timeout)}async untrack(t={}){return await this.send({type:"presence",event:"untrack"},t)}on(t,n,r){return this._on(t,n,r)}async send(t,n={}){var r,s;if(!this._canPush()&&t.type==="broadcast"){const{event:o,payload:i}=t,l={method:"POST",headers:{Authorization:this.socket.accessTokenValue?`Bearer ${this.socket.accessTokenValue}`:"",apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":"application/json"},body:JSON.stringify({messages:[{topic:this.subTopic,event:o,payload:i,private:this.private}]})};try{const u=await this._fetchWithTimeout(this.broadcastEndpointURL,l,(r=n.timeout)!==null&&r!==void 0?r:this.timeout);return await((s=u.body)===null||s===void 0?void 0:s.cancel()),u.ok?"ok":"error"}catch(u){return u.name==="AbortError"?"timed out":"error"}}else return new Promise(o=>{var i,a,l;const u=this._push(t.type,t,n.timeout||this.timeout);t.type==="broadcast"&&!(!((l=(a=(i=this.params)===null||i===void 0?void 0:i.config)===null||a===void 0?void 0:a.broadcast)===null||l===void 0)&&l.ack)&&o("ok"),u.receive("ok",()=>o("ok")),u.receive("error",()=>o("error")),u.receive("timeout",()=>o("timed out"))})}updateJoinPayload(t){this.joinPush.updatePayload(t)}unsubscribe(t=this.timeout){this.state=wt.leaving;const n=()=>{this.socket.log("channel",`leave ${this.topic}`),this._trigger(jt.close,"leave",this._joinRef())};return this.rejoinTimer.reset(),this.joinPush.destroy(),new Promise(r=>{const s=new Pa(this,jt.leave,{},t);s.receive("ok",()=>{n(),r("ok")}).receive("timeout",()=>{n(),r("timed out")}).receive("error",()=>{r("error")}),s.send(),this._canPush()||s.trigger("ok",{})})}async _fetchWithTimeout(t,n,r){const s=new AbortController,o=setTimeout(()=>s.abort(),r),i=await this.socket.fetch(t,Object.assign(Object.assign({},n),{signal:s.signal}));return clearTimeout(o),i}_push(t,n,r=this.timeout){if(!this.joinedOnce)throw`tried to push '${t}' to '${this.topic}' before joining. Use channel.subscribe() before pushing events`;let s=new Pa(this,t,n,r);return this._canPush()?s.send():(s.startTimeout(),this.pushBuffer.push(s)),s}_onMessage(t,n,r){return n}_isMember(t){return this.topic===t}_joinRef(){return this.joinPush.ref}_trigger(t,n,r){var s,o;const i=t.toLocaleLowerCase(),{close:a,error:l,leave:u,join:c}=jt;if(r&&[a,l,u,c].indexOf(i)>=0&&r!==this._joinRef())return;let d=this._onMessage(i,n,r);if(n&&!d)throw"channel onMessage callbacks must return the payload, modified or unmodified";["insert","update","delete"].includes(i)?(s=this.bindings.postgres_changes)===null||s===void 0||s.filter(h=>{var g,p,b;return((g=h.filter)===null||g===void 0?void 0:g.event)==="*"||((b=(p=h.filter)===null||p===void 0?void 0:p.event)===null||b===void 0?void 0:b.toLocaleLowerCase())===i}).map(h=>h.callback(d,r)):(o=this.bindings[i])===null||o===void 0||o.filter(h=>{var g,p,b,y,v,m;if(["broadcast","presence","postgres_changes"].includes(i))if("id"in h){const _=h.id,T=(g=h.filter)===null||g===void 0?void 0:g.event;return _&&((p=n.ids)===null||p===void 0?void 0:p.includes(_))&&(T==="*"||(T==null?void 0:T.toLocaleLowerCase())===((b=n.data)===null||b===void 0?void 0:b.type.toLocaleLowerCase()))}else{const _=(v=(y=h==null?void 0:h.filter)===null||y===void 0?void 0:y.event)===null||v===void 0?void 0:v.toLocaleLowerCase();return _==="*"||_===((m=n==null?void 0:n.event)===null||m===void 0?void 0:m.toLocaleLowerCase())}else return h.type.toLocaleLowerCase()===i}).map(h=>{if(typeof d=="object"&&"ids"in d){const g=d.data,{schema:p,table:b,commit_timestamp:y,type:v,errors:m}=g;d=Object.assign(Object.assign({},{schema:p,table:b,commit_timestamp:y,eventType:v,new:{},old:{},errors:m}),this._getPayloadRecords(g))}h.callback(d,r)})}_isClosed(){return this.state===wt.closed}_isJoined(){return this.state===wt.joined}_isJoining(){return this.state===wt.joining}_isLeaving(){return this.state===wt.leaving}_replyEventName(t){return`chan_reply_${t}`}_on(t,n,r){const s=t.toLocaleLowerCase(),o={type:s,filter:n,callback:r};return this.bindings[s]?this.bindings[s].push(o):this.bindings[s]=[o],this}_off(t,n){const r=t.toLocaleLowerCase();return this.bindings[r]=this.bindings[r].filter(s=>{var o;return!(((o=s.type)===null||o===void 0?void 0:o.toLocaleLowerCase())===r&&Cc.isEqual(s.filter,n))}),this}static isEqual(t,n){if(Object.keys(t).length!==Object.keys(n).length)return!1;for(const r in t)if(t[r]!==n[r])return!1;return!0}_rejoinUntilConnected(){this.rejoinTimer.scheduleTimeout(),this.socket.isConnected()&&this._rejoin()}_onClose(t){this._on(jt.close,{},t)}_onError(t){this._on(jt.error,{},n=>t(n))}_canPush(){return this.socket.isConnected()&&this._isJoined()}_rejoin(t=this.timeout){this._isLeaving()||(this.socket._leaveOpenTopic(this.topic),this.state=wt.joining,this.joinPush.resend(t))}_getPayloadRecords(t){const n={new:{},old:{}};return(t.type==="INSERT"||t.type==="UPDATE")&&(n.new=Nf(t.columns,t.record)),(t.type==="UPDATE"||t.type==="DELETE")&&(n.old=Nf(t.columns,t.old_record)),n}}const TT=()=>{},kT=typeof WebSocket<"u",ST=`
28  addEventListener("message", (e) => {
29    if (e.data.event === "start") {
30      setInterval(() => postMessage({ event: "keepAlive" }), e.data.interval);
31    }
32  });`;class PT{constructor(t,n){var r;this.accessTokenValue=null,this.apiKey=null,this.channels=[],this.endPoint="",this.httpEndpoint="",this.headers=hT,this.params={},this.timeout=xm,this.heartbeatIntervalMs=3e4,this.heartbeatTimer=void 0,this.pendingHeartbeatRef=null,this.ref=0,this.logger=TT,this.conn=null,this.sendBuffer=[],this.serializer
32=new gT,this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.accessToken=null,this._resolveFetch=o=>{let i;return o?i=o:typeof fetch>"u"?i=(...a)=>N(async()=>{const{default:l}=await Promise.resolve().then(()=>hs);return{default:l}},void 0,import.meta.url).then(({default:l})=>l(...a)):i=fetch,(...a)=>i(...a)},this.endPoint=`${t}/${kl.websocket}`,this.httpEndpoint=jm(t),n!=null&&n.transport?this.transport=n.transport:this.transport=null,n!=null&&n.params&&(this.params=n.params),n!=null&&n.headers&&(this.headers=Object.assign(Object.assign({},this.headers),n.headers)),n!=null&&n.timeout&&(this.timeout=n.timeout),n!=null&&n.logger&&(this.logger=n.logger),n!=null&&n.heartbeatIntervalMs&&(this.heartbeatIntervalMs=n.heartbeatIntervalMs);const s=(r=n==null?void 0:n.params)===null||r===void 0?void 0:r.apikey;if(s&&(this.accessTokenValue=s,this.apiKey=s),this.reconnectAfterMs=n!=null&&n.reconnectAfterMs?n.reconnectAfterMs:o=>[1e3,2e3,5e3,1e4][o-1]||1e4,this.encode=n!=null&&n.encode?n.encode:(o,i)=>i(JSON.stringify(o)),this.decode=n!=null&&n.decode?n.decode:this.serializer.decode.bind(this.serializer),this.reconnectTimer=new $m(async()=>{this.disconnect(),this.connect()},this.reconnectAfterMs),this.fetch=this._resolveFetch(n==null?void 0:n.fetch),n!=null&&n.worker){if(typeof window<"u"&&!window.Worker)throw new Error("Web Worker is not supported");this.worker=(n==null?void 0:n.worker)||!1,this.workerUrl=n==null?void 0:n.workerUrl}this.accessToken=(n==null?void 0:n.accessToken)||null}connect(){if(!this.conn){if(this.transport){this.conn=new this.transport(this.endpointURL(),void 0,{headers:this.headers});return}if(kT){this.conn=new WebSocket(this.endpointURL()),this.setupConnection();return}this.conn=new CT(this.endpointURL(),void 0,{close:()=>{this.conn=null}}),N(async()=>{const{default:t}=await import("./B166Qdtp.js").then(n=>n.b);return{default:t}},[],import.meta.url).then(({default:t})=>{this.conn=new t(this.endpointURL(),void 0,{headers:this.headers}),this.setupConnection()})}}endpointURL(){return this._appendParams(this.endPoint,Object.assign({},this.params,{vsn:pT}))}disconnect(t,n){this.conn&&(this.conn.onclose=function(){},t?this.conn.close(t,n??""):this.conn.close(),this.conn=null,this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.reconnectTimer.reset())}getChannels(){return this.channels}async removeChannel(t){const n=await t.unsubscribe();return this.channels.length===0&&this.disconnect(),n}async removeAllChannels(){const t=await Promise.all(this.channels.map(n=>n.unsubscribe()));return this.disconnect(),t}log(t,n,r){this.logger(t,n,r)}connectionState(){switch(this.conn&&this.conn.readyState){case Jr.connecting:return ur.Connecting;case Jr.open:return ur.Open;case Jr.closing:return ur.Closing;default:return ur.Closed}}isConnected(){return this.connectionState()===ur.Open}channel(t,n={config:{}}){const r=new Cc(`realtime:${t}`,n,this);return this.channels.push(r),r}push(t){const{topic:n,event:r,payload:s,ref:o}=t,i=()=>{this.encode(t,a=>{var l;(l=this.conn)===null||l===void 0||l.send(a)})};this.log("push",`${n} ${r} (${o})`,s),this.isConnected()?i():this.sendBuffer.push(i)}async setAuth(t=null){let n=t||this.accessToken&&await this.accessToken()||this.accessTokenValue;if(n){let r=null;try{r=JSON.parse(atob(n.split(".")[1]))}catch{}if(r&&r.exp&&!(Math.floor(Date.now()/1e3)-r.exp<0))return this.log("auth",`InvalidJWTToken: Invalid value for JWT claim "exp" with value ${r.exp}`),Promise.reject(`InvalidJWTToken: Invalid value for JWT claim "exp" with value ${r.exp}`);this.accessTokenValue=n,this.channels.forEach(s=>{n&&s.updateJoinPayload({access_token:n}),s.joinedOnce&&s._isJoined()&&s._push(jt.access_token,{access_token:n})})}}async sendHeartbeat(){var t;if(this.isConnected()){if(this.pendingHeartbeatRef){this.pendingHeartbeatRef=null,this.log("transport","heartbeat timeout. Attempting to re-establish connection"),(t=this.conn)===null||t===void 0||t.close(mT,"hearbeat timeout");return}this.pendingHeartbeatRef=this._makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef}),this.setAuth()}}flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(t=>t()),this.sendBuffer=[])}_makeRef(){let t=this.ref+1;return t===this.ref?this.ref=0:this.ref=t,this.ref.toString()}_leaveOpenTopic(t){let n=this.channels.find(r=>r.topic===t&&(r._isJoined()||r._isJoining()));n&&(this.log("transport",`leaving duplicate topic "${t}"`),n.unsubscribe())}_remove(t){this.channels=this.channels.filter(n=>n._joinRef()!==t._joinRef())}setupConnection(){this.conn&&(this.conn.binaryType="arraybuffer",this.conn.onopen=()=>this._onConnOpen(),this.conn.onerror=t=>this._onConnError(t),this.conn.onmessage=t=>
32this._onConnMessage(t),this.conn.onclose=t=>this._onConnClose(t))}_onConnMessage(t){this.decode(t.data,n=>{let{topic:r,event:s,payload:o,ref:i}=n;i&&i===this.pendingHeartbeatRef&&(this.pendingHeartbeatRef=null),this.log("receive",`${o.status||""} ${r} ${s} ${i&&"("+i+")"||""}`,o),this.channels.filter(a=>a._isMember(r)).forEach(a=>a._trigger(s,o,i)),this.stateChangeCallbacks.message.forEach(a=>a(n))})}async _onConnOpen(){if(this.log("transport",`connected to ${this.endpointURL()}`),this.flushSendBuffer(),this.reconnectTimer.reset(),!this.worker)this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.heartbeatTimer=setInterval(()=>this.sendHeartbeat(),this.heartbeatIntervalMs);else{this.workerUrl?this.log("worker",`starting worker for from ${this.workerUrl}`):this.log("worker","starting default worker");const t=this._workerObjectUrl(this.workerUrl);this.workerRef=new Worker(t),this.workerRef.onerror=n=>{this.log("worker","worker error",n.message),this.workerRef.terminate()},this.workerRef.onmessage=n=>{n.data.event==="keepAlive"&&this.sendHeartbeat()},this.workerRef.postMessage({event:"start",interval:this.heartbeatIntervalMs})}this.stateChangeCallbacks.open.forEach(t=>t())}_onConnClose(t){this.log("transport","close",t),this._triggerChanError(),this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.reconnectTimer.scheduleTimeout(),this.stateChangeCallbacks.close.forEach(n=>n(t))}_onConnError(t){this.log("transport",t.message),this._triggerChanError(),this.stateChangeCallbacks.error.forEach(n=>n(t))}_triggerChanError(){this.channels.forEach(t=>t._trigger(jt.error))}_appendParams(t,n){if(Object.keys(n).length===0)return t;const r=t.match(/\?/)?"&":"?",s=new URLSearchParams(n);return`${t}${r}${s}`}_workerObjectUrl(t){let n;if(t)n=t;else{const r=new Blob([ST],{type:"application/javascript"});n=URL.createObjectURL(r)}return n}}class CT{constructor(t,n,r){this.binaryType="arraybuffer",this.onclose=()=>{},this.onerror=()=>{},this.onmessage=()=>{},this.onopen=()=>{},this.readyState=Jr.connecting,this.send=()=>{},this.url=null,this.url=t,this.close=r.close}}class Ac extends Error{constructor(t){super(t),this.__isStorageError=!0,this.name="StorageError"}}function tt(e){return typeof e=="object"&&e!==null&&"__isStorageError"in e}class AT extends Ac{constructor(t,n){super(t),this.name="StorageApiError",this.status=n}toJSON(){return{name:this.name,message:this.message,status:this.status}}}class Pl extends Ac{constructor(t,n){super(t),this.name="StorageUnknownError",this.originalError=n}}var RT=function(e,t,n,r){function s(o){return o instanceof n?o:new n(function(i){i(o)})}return new(n||(n=Promise))(function(o,i){function a(c){try{u(r.next(c))}catch(f){i(f)}}function l(c){try{u(r.throw(c))}catch(f){i(f)}}function u(c){c.done?o(c.value):s(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})};const Nm=e=>{let t;return e?t=e:typeof fetch>"u"?t=(...n)=>N(async()=>{const{default:r}=await Promise.resolve().then(()=>hs);return{default:r}},void 0,import.meta.url).then(({default:r})=>r(...n)):t=fetch,(...n)=>t(...n)},OT=()=>RT(void 0,void 0,void 0,function*(){return typeof Response>"u"?(yield N(()=>Promise.resolve().then(()=>hs),void 0,import.meta.url)).Response:Response}),Cl=e=>{if(Array.isArray(e))return e.map(n=>Cl(n));if(typeof e=="function"||e!==Object(e))return e;const t={};return Object.entries(e).forEach(([n,r])=>{const s=n.replace(/([-_][a-z])/gi,o=>o.toUpperCase().replace(/[-_]/g,""));t[s]=Cl(r)}),t};var Er=function(e,t,n,r){function s(o){return o instanceof n?o:new n(function(i){i(o)})}return new(n||(n=Promise))(function(o,i){function a(c){try{u(r.next(c))}catch(f){i(f)}}function l(c){try{u(r.throw(c))}catch(f){i(f)}}function u(c){c.done?o(c.value):s(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})};const Ca=e=>e.msg||e.message||e.error_description||e.error||JSON.stringify(e),LT=(e,t,n)=>Er(void 0,void 0,void 0,function*(){const r=yield OT();e instanceof r&&!(n!=null&&n.noResolveJson)?e.json().then(s=>{t(new AT(Ca(s),e.status||500))}).catch(s=>{t(new Pl(Ca(s),s))}):t(new Pl(Ca(e),e))}),IT=(e,t,n,r)=>{const s={method:e,headers:(t==null?void 0:t.headers)||{}};return e==="GET"?s:(s.headers=Object.assign({"Content-Type":"application/json"},t==null?void 0:t.headers),r&&(s.body=JSON.stringify(r)),Object.assign(Object.assign({},s),n))};function vo(e,t,n,r,s,o){return Er(this,void 0,void 0,function*(){return new Promise((i,a)=>{e(n,IT(t,r,s,o)).then(l=>{if(!l.ok)throw l;return r!=null&&r.noResolveJson?l:l.json()}).then(l=>i(l)).catch(l=>LT(l,a,r))})})}function Ei(e,t,n,r){return Er(this,void 0,void 0,function*(){return vo(e,"GET",t,n,r)})}
32function Mn(e,t,n,r,s){return Er(this,void 0,void 0,function*(){return vo(e,"POST",t,r,s,n)})}function xT(e,t,n,r,s){return Er(this,void 0,void 0,function*(){return vo(e,"PUT",t,r,s,n)})}function $T(e,t,n,r){return Er(this,void 0,void 0,function*(){return vo(e,"HEAD",t,Object.assign(Object.assign({},n),{noResolveJson:!0}),r)})}function Mm(e,t,n,r,s){return Er(this,void 0,void 0,function*(){return vo(e,"DELETE",t,r,s,n)})}var _t=function(e,t,n,r){function s(o){return o instanceof n?o:new n(function(i){i(o)})}return new(n||(n=Promise))(function(o,i){function a(c){try{u(r.next(c))}catch(f){i(f)}}function l(c){try{u(r.throw(c))}catch(f){i(f)}}function u(c){c.done?o(c.value):s(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})};const DT={limit:100,offset:0,sortBy:{column:"name",order:"asc"}},Hf={cacheControl:"3600",contentType:"text/plain;charset=UTF-8",upsert:!1};class jT{constructor(t,n={},r,s){this.url=t,this.headers=n,this.bucketId=r,this.fetch=Nm(s)}uploadOrUpdate(t,n,r,s){return _t(this,void 0,void 0,function*(){try{let o;const i=Object.assign(Object.assign({},Hf),s);let a=Object.assign(Object.assign({},this.headers),t==="POST"&&{"x-upsert":String(i.upsert)});const l=i.metadata;typeof Blob<"u"&&r instanceof Blob?(o=new FormData,o.append("cacheControl",i.cacheControl),l&&o.append("metadata",this.encodeMetadata(l)),o.append("",r)):typeof FormData<"u"&&r instanceof FormData?(o=r,o.append("cacheControl",i.cacheControl),l&&o.append("metadata",this.encodeMetadata(l))):(o=r,a["cache-control"]=`max-age=${i.cacheControl}`,a["content-type"]=i.contentType,l&&(a["x-metadata"]=this.toBase64(this.encodeMetadata(l)))),s!=null&&s.headers&&(a=Object.assign(Object.assign({},a),s.headers));const u=this._removeEmptyFolders(n),c=this._getFinalPath(u),f=yield this.fetch(`${this.url}/object/${c}`,Object.assign({method:t,body:o,headers:a},i!=null&&i.duplex?{duplex:i.duplex}:{})),d=yield f.json();return f.ok?{data:{path:u,id:d.Id,fullPath:d.Key},error:null}:{data:null,error:d}}catch(o){if(tt(o))return{data:null,error:o};throw o}})}upload(t,n,r){return _t(this,void 0,void 0,function*(){return this.uploadOrUpdate("POST",t,n,r)})}uploadToSignedUrl(t,n,r,s){return _t(this,void 0,void 0,function*(){const o=this._removeEmptyFolders(t),i=this._getFinalPath(o),a=new URL(this.url+`/object/upload/sign/${i}`);a.searchParams.set("token",n);try{let l;const u=Object.assign({upsert:Hf.upsert},s),c=Object.assign(Object.assign({},this.headers),{"x-upsert":String(u.upsert)});typeof Blob<"u"&&r instanceof Blob?(l=new FormData,l.append("cacheControl",u.cacheControl),l.append("",r)):typeof FormData<"u"&&r instanceof FormData?(l=r,l.append("cacheControl",u.cacheControl)):(l=r,c["cache-control"]=`max-age=${u.cacheControl}`,c["content-type"]=u.contentType);const f=yield this.fetch(a.toString(),{method:"PUT",body:l,headers:c}),d=yield f.json();return f.ok?{data:{path:o,fullPath:d.Key},error:null}:{data:null,error:d}}catch(l){if(tt(l))return{data:null,error:l};throw l}})}createSignedUploadUrl(t,n){return _t(this,void 0,void 0,function*(){try{let r=this._getFinalPath(t);const s=Object.assign({},this.headers);n!=null&&n.upsert&&(s["x-upsert"]="true");const o=yield Mn(this.fetch,`${this.url}/object/upload/sign/${r}`,{},{headers:s}),i=new URL(this.url+o.url),a=i.searchParams.get("token");if(!a)throw new Ac("No token returned by API");return{data:{signedUrl:i.toString(),path:t,token:a},error:null}}catch(r){if(tt(r))return{data:null,error:r};throw r}})}update(t,n,r){return _t(this,void 0,void 0,function*(){return this.uploadOrUpdate("PUT",t,n,r)})}move(t,n,r){return _t(this,void 0,void 0,function*(){try{return{data:yield Mn(this.fetch,`${this.url}/object/move`,{bucketId:this.bucketId,sourceKey:t,destinationKey:n,destinationBucket:r==null?void 0:r.destinationBucket},{headers:this.headers}),error:null}}catch(s){if(tt(s))return{data:null,error:s};throw s}})}copy(t,n,r){return _t(this,void 0,void 0,function*(){try{return{data:{path:(yield Mn(this.fetch,`${this.url}/object/copy`,{bucketId:this.bucketId,sourceKey:t,destinationKey:n,destinationBucket:r==null?void 0:r.destinationBucket},{headers:this.headers})).Key},error:null}}catch(s){if(tt(s))return{data:null,error:s};throw s}})}createSignedUrl(t,n,r){return _t(this,void 0,void 0,function*(){try{let s=this._getFinalPath(t),o=yield Mn(this.fetch,`${this.url}/object/sign/${s}
32`,Object.assign({expiresIn:n},r!=null&&r.transform?{transform:r.transform}:{}),{headers:this.headers});const i=r!=null&&r.download?`&download=${r.download===!0?"":r.download}`:"";return o={signedUrl:encodeURI(`${this.url}${o.signedURL}${i}`)},{data:o,error:null}}catch(s){if(tt(s))return{data:null,error:s};throw s}})}createSignedUrls(t,n,r){return _t(this,void 0,void 0,function*(){try{const s=yield Mn(this.fetch,`${this.url}/object/sign/${this.bucketId}`,{expiresIn:n,paths:t},{headers:this.headers}),o=r!=null&&r.download?`&download=${r.download===!0?"":r.download}`:"";return{data:s.map(i=>Object.assign(Object.assign({},i),{signedUrl:i.signedURL?encodeURI(`${this.url}${i.signedURL}${o}`):null})),error:null}}catch(s){if(tt(s))return{data:null,error:s};throw s}})}download(t,n){return _t(this,void 0,void 0,function*(){const s=typeof(n==null?void 0:n.transform)<"u"?"render/image/authenticated":"object",o=this.transformOptsToQueryString((n==null?void 0:n.transform)||{}),i=o?`?${o}`:"";try{const a=this._getFinalPath(t);return{data:yield(yield Ei(this.fetch,`${this.url}/${s}/${a}${i}`,{headers:this.headers,noResolveJson:!0})).blob(),error:null}}catch(a){if(tt(a))return{data:null,error:a};throw a}})}info(t){return _t(this,void 0,void 0,function*(){const n=this._getFinalPath(t);try{const r=yield Ei(this.fetch,`${this.url}/object/info/${n}`,{headers:this.headers});return{data:Cl(r),error:null}}catch(r){if(tt(r))return{data:null,error:r};throw r}})}exists(t){return _t(this,void 0,void 0,function*(){const n=this._getFinalPath(t);try{return yield $T(this.fetch,`${this.url}/object/${n}`,{headers:this.headers}),{data:!0,error:null}}catch(r){if(tt(r)&&r instanceof Pl){const s=r.originalError;if([400,404].includes(s==null?void 0:s.status))return{data:!1,error:r}}throw r}})}getPublicUrl(t,n){const r=this._getFinalPath(t),s=[],o=n!=null&&n.download?`download=${n.download===!0?"":n.download}`:"";o!==""&&s.push(o);const a=typeof(n==null?void 0:n.transform)<"u"?"render/image":"object",l=this.transformOptsToQueryString((n==null?void 0:n.transform)||{});l!==""&&s.push(l);let u=s.join("&");return u!==""&&(u=`?${u}`),{data:{publicUrl:encodeURI(`${this.url}/${a}/public/${r}${u}`)}}}remove(t){return _t(this,void 0,void 0,function*(){try{return{data:yield Mm(this.fetch,`${this.url}/object/${this.bucketId}`,{prefixes:t},{headers:this.headers}),error:null}}catch(n){if(tt(n))return{data:null,error:n};throw n}})}list(t,n,r){return _t(this,void 0,void 0,function*(){try{const s=Object.assign(Object.assign(Object.assign({},DT),n),{prefix:t||""});return{data:yield Mn(this.fetch,`${this.url}/object/list/${this.bucketId}`,s,{headers:this.headers},r),error:null}}catch(s){if(tt(s))return{data:null,error:s};throw s}})}encodeMetadata(t){return JSON.stringify(t)}toBase64(t){return typeof Buffer<"u"?Buffer.from(t).toString("base64"):btoa(t)}_getFinalPath(t){return`${this.bucketId}/${t}`}_removeEmptyFolders(t){return t.replace(/^\/|\/$/g,"").replace(/\/+/g,"/")}transformOptsToQueryString(t){const n=[];return t.width&&n.push(`width=${t.width}`),t.height&&n.push(`height=${t.height}`),t.resize&&n.push(`resize=${t.resize}`),t.format&&n.push(`format=${t.format}`),t.quality&&n.push(`quality=${t.quality}`),n.join("&")}}const NT="2.7.1",MT={"X-Client-Info":`storage-js/${NT}`};var xr=function(e,t,n,r){function s(o){return o instanceof n?o:new n(function(i){i(o)})}return new(n||(n=Promise))(function(o,i){function a(c){try{u(r.next(c))}catch(f){i(f)}}function l(c){try{u(r.throw(c))}catch(f){i(f)}}function u(c){c.done?o(c.value):s(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})};class UT{constructor(t,n={},r){this.url=t,this.headers=Object.assign(Object.assign({},MT),n),this.fetch=Nm(r)}listBuckets(){return xr(this,void 0,void 0,function*(){try{return{data:yield Ei(this.fetch,`${this.url}/bucket`,{headers:this.headers}),error:null}}catch(t){if(tt(t))return{data:null,error:t};throw t}})}getBucket(t){return xr(this,void 0,void 0,function*(){try{return{data:yield Ei(this.fetch,`${this.url}/bucket/${t}`,{headers:this.headers}),error:null}}catch(n){if(tt(n))return{data:null,error:n};throw n}})}createBucket(t,n={public:!1}){return xr(this,void 0,void 0,function*(){try{return{data:yield Mn(this.fetch,`${this.url}/bucket`,{id:t,name:t,public:n.public,file_size_limit:n.fileSizeLimit,allowed_mime_types:n.allowedMimeTypes},{headers:this.headers}),error:null}}catch(r){if(tt(r))return{data:null,error:r};throw r}})}updateBucket(t,n){return xr(this,void 0,void 0,function*(){try{return{data:yield xT(this.fetch,`${this.url}/bucket/${t}`,{id:t,name:t,public:n.public,file_size_limit:n.fileSizeLimit,allowed_mime_types:n.allowedMimeTypes},{headers:this.headers}),error:null}}catch(r){if(tt(r))return{data:null,error:r};throw r}})}emptyBucket(t){return xr(this,void 0,void 0,function*(){try{return{data:yield Mn(this.fetch,`${this.url}/bucket/${t}/empty`,{},{headers:this.headers}),error:null}}catch(n){if(tt(n))return{data:null,error:n};throw n}})}deleteBucket(t){return xr(this,void 0,void 0,function*(){try{return{data:yield Mm(this.fetch,`${this.url}/bucket/${t}`,{},{headers:this.headers}),error:null}}catch(n){if(tt(n))return{data:null,error:n};throw n}})}}class FT extends UT{constructor(t,n={},r){super(t,n,r)}from(t){return new jT(this.url,this.headers,t,this.fetch)}}const HT="2.49.8";let Os="";typeof Deno<"u"?Os="deno":typeof document<"u"?Os="web":typeof navigator<"u"&&navigator.product==="ReactNative"?Os="react-native":Os="node";const BT={"X-Client-Info":`supabase-js-${Os}/${HT}`},VT={headers:BT},WT={schema:"public"},zT={autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,flowType:"implicit"},qT={};var KT=function(e,t,n,r){function s(o){return o instanceof n?o:new n(function(i){i(o)})}
32return new(n||(n=Promise))(function(o,i){function a(c){try{u(r.next(c))}catch(f){i(f)}}function l(c){try{u(r.throw(c))}catch(f){i(f)}}function u(c){c.done?o(c.value):s(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})};const GT=e=>{let t;return e?t=e:typeof fetch>"u"?t=Cm:t=fetch,(...n)=>t(...n)},JT=()=>typeof Headers>"u"?Am:Headers,YT=(e,t,n)=>{const r=GT(n),s=JT();return(o,i)=>KT(void 0,void 0,void 0,function*(){var a;const l=(a=yield t())!==null&&a!==void 0?a:e;let u=new s(i==null?void 0:i.headers);return u.has("apikey")||u.set("apikey",e),u.has("Authorization")||u.set("Authorization",`Bearer ${l}`),r(o,Object.assign(Object.assign({},i),{headers:u}))})};var XT=function(e,t,n,r){function s(o){return o instanceof n?o:new n(function(i){i(o)})}return new(n||(n=Promise))(function(o,i){function a(c){try{u(r.next(c))}catch(f){i(f)}}function l(c){try{u(r.throw(c))}catch(f){i(f)}}function u(c){c.done?o(c.value):s(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})};function QT(e){return e.endsWith("/")?e:e+"/"}function ZT(e,t){var n,r;const{db:s,auth:o,realtime:i,global:a}=e,{db:l,auth:u,realtime:c,global:f}=t,d={db:Object.assign(Object.assign({},l),s),auth:Object.assign(Object.assign({},u),o),realtime:Object.assign(Object.assign({},c),i),global:Object.assign(Object.assign(Object.assign({},f),a),{headers:Object.assign(Object.assign({},(n=f==null?void 0:f.headers)!==null&&n!==void 0?n:{}),(r=a==null?void 0:a.headers)!==null&&r!==void 0?r:{})}),accessToken:()=>XT(this,void 0,void 0,function*(){return""})};return e.accessToken?d.accessToken=e.accessToken:delete d.accessToken,d}const Um="2.69.1",Ur=30*1e3,Al=3,Aa=Al*Ur,ek="http://localhost:9999",tk="supabase.auth.token",nk={"X-Client-Info":`gotrue-js/${Um}`},Rl="X-Supabase-Api-Version",Fm={"2024-01-01":{timestamp:Date.parse("2024-01-01T00:00:00.0Z"),name:"2024-01-01"}},rk=/^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}$|[a-z0-9_-]{2}$)$/i,sk=6e5;class Rc extends Error{constructor(t,n,r){super(t),this.__isAuthError=!0,this.name="AuthError",this.status=n,this.code=r}}function ce(e){return typeof e=="object"&&e!==null&&"__isAuthError"in e}class ok extends Rc{constructor(t,n,r){super(t,n,r),this.name="AuthApiError",this.status=n,this.code=r}}function ik(e){return ce(e)&&e.name==="AuthApiError"}class Hm extends Rc{constructor(t,n){super(t),this.name="AuthUnknownError",this.originalError=n}}class Xn extends Rc{constructor(t,n,r,s){super(t,r,s),this.name=n,this.status=r}}class Ln extends Xn{constructor(){super("Auth session missing!","AuthSessionMissingError",400,void 0)}}function ak(e){return ce(e)&&e.name==="AuthSessionMissingError"}class Ra extends Xn{constructor(){super("Auth session or user missing","AuthInvalidToken
32ResponseError",500,void 0)}}class No extends Xn{constructor(t){super(t,"AuthInvalidCredentialsError",400,void 0)}}class Mo extends Xn{constructor(t,n=null){super(t,"AuthImplicitGrantRedirectError",500,void 0),this.details=null,this.details=n}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}function lk(e){return ce(e)&&e.name==="AuthImplicitGrantRedirectError"}class Bf extends Xn{constructor(t,n=null){super(t,"AuthPKCEGrantCodeExchangeError",500,void 0),this.details=null,this.details=n}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}class Ol extends Xn{constructor(t,n){super(t,"AuthRetryableFetchError",n,void 0)}}function Oa(e){return ce(e)&&e.name==="AuthRetryableFetchError"}class Vf extends Xn{constructor(t,n,r){super(t,"AuthWeakPasswordError",n,"weak_password"),this.reasons=r}}class Ws extends Xn{constructor(t){super(t,"AuthInvalidJwtError",400,"invalid_jwt")}}const Wf="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".split(""),zf=` 	
33\r=`.split(""),ck=(()=>{const e=new Array(128);for(let t=0;t<e.length;t+=1)e[t]=-1;for(let t=0;t<zf.length;t+=1)e[zf[t].charCodeAt(0)]=-2;for(let t=0;t<Wf.length;t+=1)e[Wf[t].charCodeAt(0)]=t;return e})();function Bm(e,t,n){const r=ck[e];if(r>-1)for(t.queue=t.queue<<6|r,t.queuedBits+=6;t.queuedBits>=8;)n(t.queue>>t.queuedBits-8&255),t.queuedBits-=8;else{if(r===-2)return;throw new Error(`Invalid Base64-URL character "${String.fromCharCode(e)}"`)}}function qf(e){const t=[],n=i=>{t.push(String.fromCodePoint(i))},r={utf8seq:0,codepoint:0},s={queue:0,queuedBits:0},o=i=>{dk(i,r,n)};for(let i=0;i<e.length;i+=1)Bm(e.charCodeAt(i),s,o);return t.join("")}function uk(e,t){if(e<=127){t(e);return}else if(e<=2047){t(192|e>>6),t(128|e&63);return}else if(e<=65535){t(224|e>>12),t(128|e>>6&63),t(128|e&63);return}else if(e<=1114111){t(240|e>>18),t(128|e>>12&63),t(128|e>>6&63),t(128|e&63);return}throw new Error(`Unrecognized Unicode codepoint: ${e.toString(16)}`)}function fk(e,t){for(let n=0;n<e.length;n+=1){let r=e.charCodeAt(n);if(r>55295&&r<=56319){const s=(r-55296)*1024&65535;r=(e.charCodeAt(n+1)-56320&65535|s)+65536,n+=1}uk(r,t)}}function dk(e,t,n){if(t.utf8seq===0){if(e<=127){n(e);return}for(let r=1;r<6;r+=1)if((e>>7-r&1)===0){t.utf8seq=r;break}if(t.utf8seq===2)t.codepoint=e&31;else if(t.utf8seq===3)t.codepoint=e&15;else if(t.utf8seq===4)t.codepoint=e&7;else throw new Error("Invalid UTF-8 sequence");t.utf8seq-=1}else if(t.utf8seq>0){if(e<=127)throw new Error("Invalid UTF-8 sequence");t.codepoint=t.codepoint<<6|e&63,t.utf8seq-=1,t.utf8seq===0&&n(t.codepoint)}}function hk(e){const t=[],n={queue:0,queuedBits:0},r=s=>{t.push(s)};for(let s=0;s<e.length;s+=1)Bm(e.charCodeAt(s),n,r);return new Uint8Array(t)}function pk(e){const t=[];return fk(e,n=>t.push(n)),new Uint8Array(t)}function mk(e){return Math.round(Date.now()/1e3)+e}function gk(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const t=Math.random()*16|0;return(e=="x"?t:t&3|8).toString(16)})}const Qt=()=>typeof window<"u"&&typeof document<"u",or={tested:!1,writable:!1},zs=()=>{if(!Qt())return!1;try{if(typeof globalThis.localStorage!="object")return!1}catch{return!1}if(or.tested)return or.writable;const e=`lswt-${Math.random()}${Math.random()}`;try{globalThis.localStorage.setItem(e,e),globalThis.localStorage.removeItem(e),or.tested=!0,or.writable=!0}catch{or.tested=!0,or.writable=!1}return or.writable};function _k(e){const t={},n=new URL(e);if(n.hash&&n.hash[0]==="#")try{new URLSearchParams(n.hash.substring(1)).forEach((s,o)=>{t[o]=s})}catch{}return n.searchParams.forEach((r,s)=>{t[s]=r}),t}const Vm=e=>{let t;return e?t=e:typeof fetch>"u"?t=(...n)=>N(async()=>{const{default:r}=await Promise.resolve().then(()=>hs);return{default:r}},void 0,import.meta.url).then(({default:r})=>r(...n)):t=fetch,(...n)=>t(...n)},yk=e=>typeof e=="object"&&e!==null&&"status"in e&&"ok"in e&&"json"in e&&typeof e.json=="function",Wm=async(e,t,n)=>{await e.setItem(t,JSON.stringify(n))},Uo=async(e,t)=>{const n=await e.getItem(t);if(!n)return null;try{return JSON.parse(n)}catch{return n}},Fo=async(e,t)=>{await e.removeItem(t)};class Ki{constructor(){this.promise=new Ki.promiseConstructor((t,n)=>{this.resolve=t,this.reject=n})}}Ki.promiseConstructor=Promise;function La(e){const t=e.split(".");if(t.length!==3)throw new Ws("Invalid JWT structure");for(let r=0;r<t.length;r++)if(!rk.test(t[r]))throw new Ws("JWT not in base64url format");return{header:JSON.parse(qf(t[0])),payload:JSON.parse(qf(t[1])),signature:hk(t[2]),raw:{header:t[0],payload:t[1]}}}async function vk(e){return await new Promise(t=>{setTimeout(()=>t(null),e)})}function bk(e,t){return new Promise((r,s)=>{(async()=>{for(let o=0;o<1/0;o++)try{const i=await e(o);if(!t(o,null,i)){r(i);return}}catch(i){if(!t(o,i)){s(i);return}}})()})}function wk(e){return("0"+e.toString(16)).substr(-2)}function Ek(){const t=new Uint32Array(56);if(typeof crypto>"u"){const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",r=n.length;let s="";for(let o=0;o<56;o++)s+=n.charAt(Math.floor(Math.random()*r));return s}return crypto.getRandomValues(t),Array.from(t,wk).join("")}async function Tk(e){const n=new TextEncoder().encode(e),r=await crypto.subtle.digest("SHA-256",
33n),s=new Uint8Array(r);return Array.from(s).map(o=>String.fromCharCode(o)).join("")}async function kk(e){if(!(typeof crypto<"u"&&typeof crypto.subtle<"u"&&typeof TextEncoder<"u"))return console.warn("WebCrypto API is not supported. Code challenge method will default to use plain instead of sha256."),e;const n=await Tk(e);return btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function $r(e,t,n=!1){const r=Ek();let s=r;n&&(s+="/PASSWORD_RECOVERY"),await Wm(e,`${t}-code-verifier`,s);const o=await kk(r);return[o,r===o?"plain":"s256"]}const Sk=/^2[0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-9]|3[0-1])$/i;function Pk(e){const t=e.headers.get(Rl);if(!t||!t.match(Sk))return null;try{return new Date(`${t}T00:00:00.0Z`)}catch{return null}}function Ck(e){if(!e)throw new Error("Missing exp claim");const t=Math.floor(Date.now()/1e3);if(e<=t)throw new Error("JWT has expired")}function Ak(e){switch(e){case"RS256":return{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}};case"ES256":return{name:"ECDSA",namedCurve:"P-256",hash:{name:"SHA-256"}};default:throw new Error("Invalid alg claim")}}var Rk=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]]);return n};const cr=e=>e.msg||e.message||e.error_description||e.error||JSON.stringify(e),Ok=[502,503,504];async function Kf(e){var t;if(!yk(e))throw new Ol(cr(e),0);if(Ok.includes(e.status))throw new Ol(cr(e),e.status);let n;try{n=await e.json()}catch(o){throw new Hm(cr(o),o)}let r;const s=Pk(e);if(s&&s.getTime()>=Fm["2024-01-01"].timestamp&&typeof n=="object"&&n&&typeof n.code=="string"?r=n.code:typeof n=="object"&&n&&typeof n.error_code=="string"&&(r=n.error_code),r){if(r==="weak_password")throw new Vf(cr(n),e.status,((t=n.weak_password)===null||t===void 0?void 0:t.reasons)||[]);if(r==="session_not_found")throw new Ln}else if(typeof n=="object"&&n&&typeof n.weak_password=="object"&&n.weak_password&&Array.isArray(n.weak_password.reasons)&&n.weak_password.reasons.length&&n.weak_password.reasons.reduce((o,i)=>o&&typeof i=="string",!0))throw new Vf(cr(n),e.status,n.weak_password.reasons);throw new ok(cr(n),e.status||500,r)}const Lk=(e,t,n,r)=>{const s={method:e,headers:(t==null?void 0:t.headers)||{}};return e==="GET"?s:(s.headers=Object.assign({"Content-Type":"application/json;charset=UTF-8"},t==null?void 0:t.headers),s.body=JSON.stringify(r),Object.assign(Object.assign({},s),n))};async function he(e,t,n,r){var s;const o=Object.assign({},r==null?void 0:r.headers);o[Rl]||(o[Rl]=Fm["2024-01-01"].name),r!=null&&r.jwt&&(o.Authorization=`Bearer ${r.jwt}`);const i=(s=r==null?void 0:r.query)!==null&&s!==void 0?s:{};r!=null&&r.redirectTo&&(i.redirect_to=r.redirectTo);const a=Object.keys(i).length?"?"+new URLSearchParams(i).toString():"",l=await Ik(e,t,n+a,{headers:o,noResolveJson:r==null?void 0:r.noResolveJson},{},r==null?void 0:r.body);return r!=null&&r.xform?r==null?void 0:r.xform(l):{data:Object.assign({},l),error:null}}async function Ik(e,t,n,r,s,o){const i=Lk(t,r,s,o);let a;try{a=await e(n,Object.assign({},i))}catch(l){throw console.error(l),new Ol(cr(l),0)}if(a.ok||await Kf(a),r!=null&&r.noResolveJson)return a;try{return await a.json()}catch(l){await Kf(l)}}function In(e){var t;let n=null;jk(e)&&(n=Object.assign({},e),e.expires_at||(n.expires_at=mk(e.expires_in)));const r=(t=e.user)!==null&&t!==void 0?t:e;return{data:{session:n,user:r},error:null}}function Gf(e){const t=In(e);return!t.error&&e.weak_password&&typeof e.weak_password=="object"&&Array.isArray(e.weak_password.reasons)&&e.weak_password.reasons.length&&e.weak_password.message&&typeof e.weak_password.message=="string"&&e.weak_password.reasons.reduce((n,r)=>n&&typeof r=="string",!0)&&(t.data.weak_password=e.weak_password),t}function Un(e){var t;return{data:{user:(t=e.user)!==null&&t!==void 0?t:e},error:null}}function xk(e){return{data:e,error:null}}function $k(e){const{action_link:t,email_otp:n,hashed_token:r,redirect_to:s,verification_type:o}=e,i=Rk(e,["action_link","email_otp","hashed_token","redirect_to","verification_type"]),a={action_link:t,email_otp:n,hashed_token:r,redirect_to:s,verification_type:o},l=Object.assign({},i);return{data:{properties:a,user:l},error:null}}function Dk(e){return e}function jk(e){return e.access_token&&e.refresh_token&&e.expires_in}var Nk=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]]);return n};class Mk{constructor({url:t="",headers:n={},fetch:r}){this.url=t,this.headers=n,this.fetch=Vm(r),this.mfa={listFactors:this._listFactors.bind(this),deleteFactor:this._deleteFactor.bind(this)}}async signOut(t,n="global"){try{return await he(this.fetch,"POST",`${this.url}/logout?scope=${n}`,{headers:this.headers,jwt:t,noResolveJson:!0}),{data:null,error:null}}catch(r){if(ce(r))return{data:null,error:r};throw r}}async inviteUserByEmail(t,n={}){try{return await he(this.fetch,"POST",`${this.url}/invite`,{body:{email:t,data:n.data},headers:this.headers,redirectTo:n.redirectTo,xform:Un})}catch(r){if(ce(r))return{data:{user:null},error:r};throw r}}async generateLink(t){try{const{options:n}=t,r=Nk(t,["options"]),s=Object.assign(Object.assign({},r),n);return"newEmail"in r&&(s.new_email=r==null?void 0:r.newEmail,delete s.newEmail),await he(this.fetch,"POST",`${this.url}/admin/generate_link`,{body:s,headers:this.headers,xform:$k,redirectTo:n==null?void 0:n.redirectTo})}catch(n){if(ce(n))return{data:{properties:null,user:null},error:n};throw n}}async createUser(t){try{return await he(this.fetch,"POST",`${this.url}/admin/users`,{body:t,headers:this.headers,xform:Un})}catch(n){if(ce(n))return{data:{user:null},error:n};throw n}}async listUsers(t){var n,r,s,o,i,a,l;try{const u={nextPage:null,lastPage:0,total:0},c=await he(this.fetch,"GET",`${this.url}/admin/users`,{headers:this.headers,noResolveJson:!0,query:{page:(r=(n=t==null?void 0:t.page)===null||n===void 0?void 0:n.toString())!==null&&r!==void 0?r:"",per_page:(o=(s=t==null?void 0:t.perPage)===null||s===void 0?void 0:s.toString())!==null&&o!==void 0?o:""},xform:Dk});if(c.error)throw c.error;const f=await c.json(),d=(i=c.headers.get("x-total-count"))!==null&&i!==void 0?i:0,h=(l=(a=c.headers.get("link"))===null||a===void 0?void 0:a.split(","))!==null&&l!==void 0?l:[];return h.length>
330&&(h.forEach(g=>{const p=parseInt(g.split(";")[0].split("=")[1].substring(0,1)),b=JSON.parse(g.split(";")[1].split("=")[1]);u[`${b}Page`]=p}),u.total=parseInt(d)),{data:Object.assign(Object.assign({},f),u),error:null}}catch(u){if(ce(u))return{data:{users:[]},error:u};throw u}}async getUserById(t){try{return await he(this.fetch,"GET",`${this.url}/admin/users/${t}`,{headers:this.headers,xform:Un})}catch(n){if(ce(n))return{data:{user:null},error:n};throw n}}async updateUserById(t,n){try{return await he(this.fetch,"PUT",`${this.url}/admin/users/${t}`,{body:n,headers:this.headers,xform:Un})}catch(r){if(ce(r))return{data:{user:null},error:r};throw r}}async deleteUser(t,n=!1){try{return await he(this.fetch,"DELETE",`${this.url}/admin/users/${t}`,{headers:this.headers,body:{should_soft_delete:n},xform:Un})}catch(r){if(ce(r))return{data:{user:null},error:r};throw r}}async _listFactors(t){try{const{data:n,error:r}=await he(this.fetch,"GET",`${this.url}/admin/users/${t.userId}/factors`,{headers:this.headers,xform:s=>({data:{factors:s},error:null})});return{data:n,error:r}}catch(n){if(ce(n))return{data:null,error:n};throw n}}async _deleteFactor(t){try{return{data:await he(this.fetch,"DELETE",`${this.url}/admin/users/${t.userId}/factors/${t.id}`,{headers:this.headers}),error:null}}catch(n){if(ce(n))return{data:null,error:n};throw n}}}const Uk={getItem:e=>zs()?globalThis.localStorage.getItem(e):null,setItem:(e,t)=>{zs()&&globalThis.localStorage.setItem(e,t)},removeItem:e=>{zs()&&globalThis.localStorage.removeItem(e)}};function Jf(e={}){return{getItem:t=>e[t]||null,setItem:(t,n)=>{e[t]=n},removeItem:t=>{delete e[t]}}}function Fk(){if(typeof globalThis!="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch{typeof self<"u"&&(self.globalThis=self)}}const Dr={debug:!!(globalThis&&zs()&&globalThis.localStorage&&globalThis.localStorage.getItem("supabase.gotrue-js.locks.debug")==="true")};class zm extends Error{constructor(t){super(t),this.isAcquireTimeout=!0}}class Hk extends zm{}async function Bk(e,t,n){Dr.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquire lock",e,t);const r=new globalThis.AbortController;return t>0&&setTimeout(()=>{r.abort(),Dr.debug&&console.log("@supabase/gotrue-js: navigatorLock acquire timed out",e)},t),await Promise.resolve().then(()=>globalThis.navigator.locks.request(e,t===0?{mode:"exclusive",ifAvailable:!0}:{mode:"exclusive",signal:r.signal},async s=>{if(s){Dr.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquired",e,s.name);try{return await n()}finally{Dr.debug&&console.log("@supabase/gotrue-js: navigatorLock: released",e,s.name)}}else{if(t===0)throw Dr.debug&&console.log("@supabase/gotrue-js: navigatorLock: not immediately available",e),new Hk(`Acquiring an exclusive Navigator LockManager lock "${e}" immediately failed`);if(Dr.debug)try{const o=await globalThis.navigator.locks.query();console.log("@supabase/gotrue-js: Navigator LockManager state",JSON.stringify(o,null,"  "))}catch(o){console.warn("@supabase/gotrue-js: Error when querying Navigator LockManager state",o)}return console.warn("@supabase/gotrue-js: Navigator LockManager returned a null lock when using #request without ifAvailable set to true, it appears this browser is not following the LockManager spec https://developer.mozilla.org/en-US/docs/Web/API/LockManager/request"),await n()}}))}Fk();const Vk={url:ek,storageKey:tk,autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,headers:nk,flowType:"implicit",debug:!1,hasCustomAuthorizationHeader:!1};async function Yf(e,t,n){return await n()}class oo{constructor(t){var n,r;this.memoryStorage=null,this.stateChangeEmitters=new Map,this.autoRefreshTicker=null,this.visibilityChangedCallback=null,this.refreshingDeferred=null,this.initializePromise=null,this.detectSessionInUrl=!0,this.hasCustomAuthorizationHeader=!1,this.suppressGetSessionWarning=!1,this.lockAcquired=!1,this.pendingInLock=[],this.broadcastChannel=null,this.logger=console.log,this.instanceID=oo.nextInstanceID,oo.nextInstanceID+=1,this.instanceID>0&&Qt()&&console.warn("Multiple GoTrueClient instances detected in the same browser context. It is not an error, but this should be avoided as it may produce undefined behavior when used concurrently under the same storage key.");const s=Object.assign(Object.assign({},Vk),t);
33if(this.logDebugMessages=!!s.debug,typeof s.debug=="function"&&(this.logger=s.debug),this.persistSession=s.persistSession,this.storageKey=s.storageKey,this.autoRefreshToken=s.autoRefreshToken,this.admin=new Mk({url:s.url,headers:s.headers,fetch:s.fetch}),this.url=s.url,this.headers=s.headers,this.fetch=Vm(s.fetch),this.lock=s.lock||Yf,this.detectSessionInUrl=s.detectSessionInUrl,this.flowType=s.flowType,this.hasCustomAuthorizationHeader=s.hasCustomAuthorizationHeader,s.lock?this.lock=s.lock:Qt()&&(!((n=globalThis==null?void 0:globalThis.navigator)===null||n===void 0)&&n.locks)?this.lock=Bk:this.lock=Yf,this.jwks={keys:[]},this.jwks_cached_at=Number.MIN_SAFE_INTEGER,this.mfa={verify:this._verify.bind(this),enroll:this._enroll.bind(this),unenroll:this._unenroll.bind(this),challenge:this._challenge.bind(this),listFactors:this._listFactors.bind(this),challengeAndVerify:this._challengeAndVerify.bind(this),getAuthenticatorAssuranceLevel:this._getAuthenticatorAssuranceLevel.bind(this)},this.persistSession?s.storage?this.storage=s.storage:zs()?this.storage=Uk:(this.memoryStorage={},this.storage=Jf(this.memoryStorage)):(this.memoryStorage={},this.storage=Jf(this.memoryStorage)),Qt()&&globalThis.BroadcastChannel&&this.persistSession&&this.storageKey){try{this.broadcastChannel=new globalThis.BroadcastChannel(this.storageKey)}catch(o){console.error("Failed to create a new BroadcastChannel, multi-tab state changes will not be available",o)}(r=this.broadcastChannel)===null||r===void 0||r.addEventListener("message",async o=>{this._debug("received broadcast notification from other tab or client",o),await this._notifyAllSubscribers(o.data.event,o.data.session,!1)})}this.initialize()}_debug(...t){return this.logDebugMessages&&this.logger(`GoTrueClient@${this.instanceID} (${Um}) ${new Date().toISOString()}`,...t),this}async initialize(){return this.initializePromise?await this.initializePromise:(this.initializePromise=(async()=>await this._acquireLock(-1,async()=>await this._initialize()))(),await this.initializePromise)}async _initialize(){var t;try{const n=_k(window.location.href);let r="none";if(this._isImplicitGrantCallback(n)?r="implicit":await this._isPKCECallback(n)&&(r="pkce"),Qt()&&this.detectSessionInUrl&&r!=="none"){const{data:s,error:o}=await this._getSessionFromURL(n,r);if(o){if(this._debug("#_initialize()","error detecting session from URL",o),lk(o)){const l=(t=o.details)===null||t===void 0?void 0:t.code;if(l==="identity_already_exists"||l==="identity_not_found"||l==="single_identity_not_deletable")return{error:o}}return await this._removeSession(),{error:o}}const{session:i,redirectType:a}=s;return this._debug("#_initialize()","detected session in URL",i,"redirect type",a),await this._saveSession(i),setTimeout(async()=>{a==="recovery"?await this._notifyAllSubscribers("PASSWORD_RECOVERY",i):await this._notifyAllSubscribers("SIGNED_IN",i)},0),{error:null}}return await this._recoverAndRefresh(),{error:null}}catch(n){return ce(n)?{error:n}:{error:new Hm("Unexpected error during initialization",n)}}finally{await this._handleVisibilityChange(),this._debug("#_initialize()","end")}}async signInAnonymously(t){var n,r,s;try{const o=await he(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{data:(r=(n=t==null?void 0:t.options)===null||n===void 0?void 0:n.data)!==null&&r!==void 0?r:{},gotrue_meta_security:{captcha_token:(s=t==null?void 0:t.options)===null||s===void 0?void 0:s.captchaToken}},xform:In}),{data:i,error:a}=o;if(a||!i)return{data:{user:null,session:null},error:a};const l=i.session,u=i.user;return i.session&&(await this._saveSession(i.session),await this._notifyAllSubscribers("SIGNED_IN",l)),{data:{user:u,session:l},error:null}}catch(o){if(ce(o))return{data:{user:null,session:null},error:o};throw o}}async signUp(t){var n,r,s;try{let o;if("email"in t){const{email:c,password:f,options:d}=t;let h=null,g=null;this.flowType==="pkce"&&([h,g]=await $r(this.storage,this.storageKey)),o=await he(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,redirectTo:d==null?void 0:d.emailRedirectTo,body:{email:c,password:f,data:(n=d==null?void 0:d.data)!==null&&n!==void 0?n:{},gotrue_meta_security:{captcha_token:d==null?void 0:d.captchaToken},code_challenge:h,code_challenge_method:g},xform:In})}else if("phone"in t){const{phone:c,password:f,options:d}=t;o=await he(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{phone:c,password:f,data:(r=d==null?void 0:d.data)!==null&&r!==void 0?r:{},channel:(s=d==null?void 0:d.channel)!==null&&s!==void 0?s:"sms",gotrue_meta_security:{captcha_token:d==null?void 0:d.captchaToken}},xform:In})}else throw new No("You must provide either an email or phone number and a password");const{data:i,error:a}=o;if(a||!i)return{data:{user:null,session:null},error:a};const l=i.session,u=i.user;return i.session&&(await this._saveSession(i.session),await this._notifyAllSubscribers("SIGNED_IN",l)),{data:{user:u,session:l},error:null}}catch(o){if(ce(o))return{data:{user:null,session:null},error:o};throw o}}async signInWithPassword(t){try{let n;if("email"in t){const{email:o,password:i,options:a}=t;n=await he(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{email:o,password:i,gotrue_meta_security:{captcha_token:a==null?void 0:a.captchaToken}},xform:Gf})}else if("phone"in t){const{phone:o,password:i,options:a}=t;n=await he(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{phone:o,password:i,gotrue_meta_security:{captcha_token:a==null?void 0:a.captchaToken}},xform:Gf})}else throw new No("You must provide either an email or phone number and a password");const{data:r,error:s}=n;return s?{data:{user:null,session:null},error:s}:!r||!r.session||!r.user?{data:{user:null,session:null},error:new Ra}:(r.session&&(await this._saveSession(r.session),await this._notifyAllSubscribers("SIGNED_IN",r.session)),{data:Object.assign({user:r.user,session:r.session},r.weak_password?{weakPassword:r.weak_password}:null),error:s})}catch(n){if(ce(n))return{data:{user:null,session:null},error:n};throw n}}async signInWithOAuth(t){var n,r,s,o;return await this._handleProviderSignIn(t.provider,{redirectTo:(n=t.options)===null||n===void 0?void 0:n.redirectTo,scopes:(r=t.options)===null||r===void 0?void 0:r.scopes,queryParams:(s=t.options)===null||s===void 0?void 0:s.queryParams,skipBrowserRedirect:(o=t.o
33ptions)===null||o===void 0?void 0:o.skipBrowserRedirect})}async exchangeCodeForSession(t){return await this.initializePromise,this._acquireLock(-1,async()=>this._exchangeCodeForSession(t))}async _exchangeCodeForSession(t){const n=await Uo(this.storage,`${this.storageKey}-code-verifier`),[r,s]=(n??"").split("/");try{const{data:o,error:i}=await he(this.fetch,"POST",`${this.url}/token?grant_type=pkce`,{headers:this.headers,body:{auth_code:t,code_verifier:r},xform:In});if(await Fo(this.storage,`${this.storageKey}-code-verifier`),i)throw i;return!o||!o.session||!o.user?{data:{user:null,session:null,redirectType:null},error:new Ra}:(o.session&&(await this._saveSession(o.session),await this._notifyAllSubscribers("SIGNED_IN",o.session)),{data:Object.assign(Object.assign({},o),{redirectType:s??null}),error:i})}catch(o){if(ce(o))return{data:{user:null,session:null,redirectType:null},error:o};throw o}}async signInWithIdToken(t){try{const{options:n,provider:r,token:s,access_token:o,nonce:i}=t,a=await he(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,body:{provider:r,id_token:s,access_token:o,nonce:i,gotrue_meta_security:{captcha_token:n==null?void 0:n.captchaToken}},xform:In}),{data:l,error:u}=a;return u?{data:{user:null,session:null},error:u}:!l||!l.session||!l.user?{data:{user:null,session:null},error:new Ra}:(l.session&&(await this._saveSession(l.session),await this._notifyAllSubscribers("SIGNED_IN",l.session)),{data:l,error:u})}catch(n){if(ce(n))return{data:{user:null,session:null},error:n};throw n}}async signInWithOtp(t){var n,r,s,o,i;try{if("email"in t){const{email:a,options:l}=t;let u=null,c=null;this.flowType==="pkce"&&([u,c]=await $r(this.storage,this.storageKey));const{error:f}=await he(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{email:a,data:(n=l==null?void 0:l.data)!==null&&n!==void 0?n:{},create_user:(r=l==null?void 0:l.shouldCreateUser)!==null&&r!==void 0?r:!0,gotrue_meta_security:{captcha_token:l==null?void 0:l.captchaToken},code_challenge:u,code_challenge_method:c},redirectTo:l==null?void 0:l.emailRedirectTo});return{data:{user:null,session:null},error:f}}if("phone"in t){const{phone:a,options:l}=t,{data:u,error:c}=await he(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{phone:a,data:(s=l==null?void 0:l.data)!==null&&s!==void 0?s:{},create_user:(o=l==null?void 0:l.shouldCreateUser)!==null&&o!==void 0?o:!0,gotrue_meta_security:{captcha_token:l==null?void 0:l.captchaToken},channel:(i=l==null?void 0:l.channel)!==null&&i!==void 0?i:"sms"}});return{data:{user:null,session:null,messageId:u==null?void 0:u.message_id},error:c}}throw new No("You must provide either an email or phone number.")}catch(a){if(ce(a))return{data:{user:null,session:null},error:a};throw a}}async verifyOtp(t){var n,r;try{let s,o;"options"in t&&(s=(n=t.options)===null||n===void 0?void 0:n.redirectTo,o=(r=t.options)===null||r===void 0?void 0:r.captchaToken);const{data:i,error:a}=await he(this.fetch,"POST",`${this.url}/verify`,{headers:this.headers,body:Object.assign(Object.assign({},t),{gotrue_meta_security:{captcha_token:o}}),redirectTo:s,xform:In});if(a)throw a;if(!i)throw new Error("An error occurred on token verification.");const l=i.session,u=i.user;return l!=null&&l.access_token&&(await this._saveSession(l),await this._notifyAllSubscribers(t.type=="recovery"?"PASSWORD_RECOVERY":"SIGNED_IN",l)),{data:{user:u,session:l},error:null}}catch(s){if(ce(s))return{data:{user:null,session:null},error:s};throw s}}async signInWithSSO(t){var n,r,s;try{let o=null,i=null;return this.flowType==="pkce"&&([o,i]=await $r(this.storage,this.storageKey)),await he(this.fetch,"POST",`${this.url}/sso`,{body:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},"providerId"in t?{provider_id:t.providerId}:null),"domain"in t?{domain:t.domain}:null),{redirect_to:(r=(n=t.options)===null||n===void 0?void 0:n.redirectTo)!==null&&r!==void 0?r:void 0}),!((s=t==null?void 0:t.options)===null||s===void 0)&&s.captchaToken?{gotrue_meta_security:{captcha_token:t.options.captchaToken}}
33:null),{skip_http_redirect:!0,code_challenge:o,code_challenge_method:i}),headers:this.headers,xform:xk})}catch(o){if(ce(o))return{data:null,error:o};throw o}}async reauthenticate(){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._reauthenticate())}async _reauthenticate(){try{return await this._useSession(async t=>{const{data:{session:n},error:r}=t;if(r)throw r;if(!n)throw new Ln;const{error:s}=await he(this.fetch,"GET",`${this.url}/reauthenticate`,{headers:this.headers,jwt:n.access_token});return{data:{user:null,session:null},error:s}})}catch(t){if(ce(t))return{data:{user:null,session:null},error:t};throw t}}async resend(t){try{const n=`${this.url}/resend`;if("email"in t){const{email:r,type:s,options:o}=t,{error:i}=await he(this.fetch,"POST",n,{headers:this.headers,body:{email:r,type:s,gotrue_meta_security:{captcha_token:o==null?void 0:o.captchaToken}},redirectTo:o==null?void 0:o.emailRedirectTo});return{data:{user:null,session:null},error:i}}else if("phone"in t){const{phone:r,type:s,options:o}=t,{data:i,error:a}=await he(this.fetch,"POST",n,{headers:this.headers,body:{phone:r,type:s,gotrue_meta_security:{captcha_token:o==null?void 0:o.captchaToken}}});return{data:{user:null,session:null,messageId:i==null?void 0:i.message_id},error:a}}throw new No("You must provide either an email or phone number and a type")}catch(n){if(ce(n))return{data:{user:null,session:null},error:n};throw n}}async getSession(){return await this.initializePromise,await this._acquireLock(-1,async()=>this._useSession(async n=>n))}async _acquireLock(t,n){this._debug("#_acquireLock","begin",t);try{if(this.lockAcquired){const r=this.pendingInLock.length?this.pendingInLock[this.pendingInLock.length-1]:Promise.resolve(),s=(async()=>(await r,await n()))();return this.pendingInLock.push((async()=>{try{await s}catch{}})()),s}return await this.lock(`lock:${this.storageKey}`,t,async()=>{this._debug("#_acquireLock","lock acquired for storage key",this.storageKey);try{this.lockAcquired=!0;const r=n();for(this.pendingInLock.push((async()=>{try{await r}catch{}})()),await r;this.pendingInLock.length;){const s=[...this.pendingInLock];await Promise.all(s),this.pendingInLock.splice(0,s.length)}return await r}finally{this._debug("#_acquireLock","lock released for storage key",this.storageKey),this.lockAcquired=!1}})}finally{this._debug("#_acquireLock","end")}}async _useSession(t){this._debug("#_useSession","begin");try{const n=await this.__loadSession();return await t(n)}finally{this._debug("#_useSession","end")}}async __loadSession(){this._debug("#__loadSession()","begin"),this.lockAcquired||this._debug("#__loadSession()","used outside of an acquired lock!",new Error().stack);try{let t=null;const n=await Uo(this.storage,this.storageKey);if(this._debug("#getSession()","session from storage",n),n!==null&&(this._isValidSession(n)?t=n:(this._debug("#getSession()","session from storage is not valid"),await this._removeSession())),!t)return{data:{session:null},error:null};const r=t.expires_at?t.expires_at*1e3-Date.now()<Aa:!1;if(this._debug("#__loadSession()",`session has${r?"":" not"} expired`,"expires_at",t.expires_at),!r){if(this.storage.isServer){let i=this.suppressGetSessionWarning;t=new Proxy(t,{get:(l,u,c)=>(!i&&u==="user"&&(console.warn("Using the user object as returned from supabase.auth.getSession() or from some supabase.auth.onAuthStateChange() events could be insecure! This value comes directly from the storage medium (usually cookies on the server) and may not be authentic. Use supabase.auth.getUser() instead which authenticates the data by contacting the Supabase Auth server."),i=!0,this.suppressGetSessionWarning=!0),Reflect.get(l,u,c))})}return{data:{session:t},error:null}}const{session:s,error:o}=await this._callRefreshToken(t.refresh_token);return o?{data:{session:null},error:o}:{data:{session:s},error:null}}finally{this._debug("#__loadSession()","end")}}async getUser(t){return t?await this._getUser(t):(await this.initializePromise,await this._acquireLock(-1,async()=>await this._getUser()))}async _getUser(t){try{return t?await he(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:t,xform:Un}):await this._useSession(async n=>{var r,s,o;const{data:i,error:a}=n;
33if(a)throw a;return!(!((r=i.session)===null||r===void 0)&&r.access_token)&&!this.hasCustomAuthorizationHeader?{data:{user:null},error:new Ln}:await he(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:(o=(s=i.session)===null||s===void 0?void 0:s.access_token)!==null&&o!==void 0?o:void 0,xform:Un})})}catch(n){if(ce(n))return ak(n)&&(await this._removeSession(),await Fo(this.storage,`${this.storageKey}-code-verifier`)),{data:{user:null},error:n};throw n}}async updateUser(t,n={}){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._updateUser(t,n))}async _updateUser(t,n={}){try{return await this._useSession(async r=>{const{data:s,error:o}=r;if(o)throw o;if(!s.session)throw new Ln;const i=s.session;let a=null,l=null;this.flowType==="pkce"&&t.email!=null&&([a,l]=await $r(this.storage,this.storageKey));const{data:u,error:c}=await he(this.fetch,"PUT",`${this.url}/user`,{headers:this.headers,redirectTo:n==null?void 0:n.emailRedirectTo,body:Object.assign(Object.assign({},t),{code_challenge:a,code_challenge_method:l}),jwt:i.access_token,xform:Un});if(c)throw c;return i.user=u.user,await this._saveSession(i),await this._notifyAllSubscribers("USER_UPDATED",i),{data:{user:i.user},error:null}})}catch(r){if(ce(r))return{data:{user:null},error:r};throw r}}async setSession(t){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._setSession(t))}async _setSession(t){try{if(!t.access_token||!t.refresh_token)throw new Ln;const n=Date.now()/1e3;let r=n,s=!0,o=null;const{payload:i}=La(t.access_token);if(i.exp&&(r=i.exp,s=r<=n),s){const{session:a,error:l}=await this._callRefreshToken(t.refresh_token);if(l)return{data:{user:null,session:null},error:l};if(!a)return{data:{user:null,session:null},error:null};o=a}else{const{data:a,error:l}=await this._getUser(t.access_token);if(l)throw l;o={access_token:t.access_token,refresh_token:t.refresh_token,user:a.user,token_type:"bearer",expires_in:r-n,expires_at:r},await this._saveSession(o),await this._notifyAllSubscribers("SIGNED_IN",o)}return{data:{user:o.user,session:o},error:null}}catch(n){if(ce(n))return{data:{session:null,user:null},error:n};throw n}}async refreshSession(t){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._refreshSession(t))}async _refreshSession(t){try{return await this._useSession(async n=>{var r;if(!t){const{data:i,error:a}=n;if(a)throw a;t=(r=i.session)!==null&&r!==void 0?r:void 0}if(!(t!=null&&t.refresh_token))throw new Ln;const{session:s,error:o}=await this._callRefreshToken(t.refresh_token);return o?{data:{user:null,session:null},error:o}:s?{data:{user:s.user,session:s},error:null}:{data:{user:null,session:null},error:null}})}catch(n){if(ce(n))return{data:{user:null,session:null},error:n};throw n}}async _getSessionFromURL(t,n){try{if(!Qt())throw new Mo("No browser detected.");if(t.error||t.error_description||t.error_code)throw new Mo(t.error_description||"Error in URL with unspecified error_description",{error:t.error||"unspecified_error",code:t.error_code||"unspecified_code"});switch(n){case"implicit":if(this.flowType==="pkce")throw new Bf("Not a valid PKCE flow url.");break;case"pkce":if(this.flowType==="implicit")throw new Mo("Not a valid implicit grant flow url.");break;default:}if(n==="pkce"){if(this._debug("#_initialize()","begin","is PKCE flow",!0),!t.code)throw new Bf("No code detected.");const{data:v,error:m}=await this._exchangeCodeForSession(t.code);if(m)throw m;const _=new URL(window.location.href);return _.searchParams.delete("code"),window.history.replaceState(window.history.state,"",_.toString()),{data:{session:v.session,redirectType:null},error:null}}const{provider_token:r,provider_refresh_token:s,access_token:o,refresh_token:i,expires_in:a,expires_at:l,token_type:u}=t;if(!o||!a||!i||!u)throw new Mo("No session defined in URL");const c=Math.round(Date.now()/1e3),f=parseInt(a);let d=c+f;l&&(d=parseInt(l));const h=d-c;h*1e3<=Ur&&console.warn(`@supabase/gotrue-js: Session as retrieved from URL expires in ${h}s, should have been closer to ${f}s`);const g=d-f;c-g>=120?console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued over 120s ago, URL could be stale",g,d,c):c-g<0&&console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clock for skew",g,d,c);const{data:p,error:b}=await this._getUser(o);if(b)throw b;const y={provider_token:r,provider_refresh_token:s,access_token:o,expires_in:f,expires_at:d,refresh_token:i,token_type:u,user:p.user};return window.location.hash="",this._debug("#_getSessionFromURL()","clearing window.location.hash"),{data:{session:y,redirectType:t.type},error:null}}catch(r){if(ce(r))return{data:{session:null,redirectType:null},error:r};throw r}}_isImplicitGrantCallback(t){return!!(t.access_token||t.error_description)}async _isPKCECallback(t){const n=await Uo(this.storage,`${this.storageKey}-code-verifier`);return!!(t.code&&n)}async signOut(t={scope:"global"}){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._signOut(t))}async _signOut({scope:t}={scope:"global"}){return await this._useSession(async n=>{var r;const{data:s,error:o}=n;
33if(o)return{error:o};const i=(r=s.session)===null||r===void 0?void 0:r.access_token;if(i){const{error:a}=await this.admin.signOut(i,t);if(a&&!(ik(a)&&(a.status===404||a.status===401||a.status===403)))return{error:a}}return t!=="others"&&(await this._removeSession(),await Fo(this.storage,`${this.storageKey}-code-verifier`)),{error:null}})}onAuthStateChange(t){const n=gk(),r={id:n,callback:t,unsubscribe:()=>{this._debug("#unsubscribe()","state change callback with id removed",n),this.stateChangeEmitters.delete(n)}};return this._debug("#onAuthStateChange()","registered callback with id",n),this.stateChangeEmitters.set(n,r),(async()=>(await this.initializePromise,await this._acquireLock(-1,async()=>{this._emitInitialSession(n)})))(),{data:{subscription:r}}}async _emitInitialSession(t){return await this._useSession(async n=>{var r,s;try{const{data:{session:o},error:i}=n;if(i)throw i;await((r=this.stateChangeEmitters.get(t))===null||r===void 0?void 0:r.callback("INITIAL_SESSION",o)),this._debug("INITIAL_SESSION","callback id",t,"session",o)}catch(o){await((s=this.stateChangeEmitters.get(t))===null||s===void 0?void 0:s.callback("INITIAL_SESSION",null)),this._debug("INITIAL_SESSION","callback id",t,"error",o),console.error(o)}})}async resetPasswordForEmail(t,n={}){let r=null,s=null;this.flowType==="pkce"&&([r,s]=await $r(this.storage,this.storageKey,!0));try{return await he(this.fetch,"POST",`${this.url}/recover`,{body:{email:t,code_challenge:r,code_challenge_method:s,gotrue_meta_security:{captcha_token:n.captchaToken}},headers:this.headers,redirectTo:n.redirectTo})}catch(o){if(ce(o))return{data:null,error:o};throw o}}async getUserIdentities(){var t;try{const{data:n,error:r}=await this.getUser();if(r)throw r;return{data:{identities:(t=n.user.identities)!==null&&t!==void 0?t:[]},error:null}}catch(n){if(ce(n))return{data:null,error:n};throw n}}async linkIdentity(t){var n;try{const{data:r,error:s}=await this._useSession(async o=>{var i,a,l,u,c;const{data:f,error:d}=o;if(d)throw d;const h=await this._getUrlForProvider(`${this.url}/user/identities/authorize`,t.provider,{redirectTo:(i=t.options)===null||i===void 0?void 0:i.redirectTo,scopes:(a=t.options)===null||a===void 0?void 0:a.scopes,queryParams:(l=t.options)===null||l===void 0?void 0:l.queryParams,skipBrowserRedirect:!0});return await he(this.fetch,"GET",h,{headers:this.headers,jwt:(c=(u=f.session)===null||u===void 0?void 0:u.access_token)!==null&&c!==void 0?c:void 0})});if(s)throw s;return Qt()&&!(!((n=t.options)===null||n===void 0)&&n.skipBrowserRedirect)&&window.location.assign(r==null?void 0:r.url),{data:{provider:t.provider,url:r==null?void 0:r.url},error:null}}catch(r){if(ce(r))return{data:{provider:t.provider,url:null},error:r};throw r}}async unlinkIdentity(t){try{return await this._useSession(async n=>{var r,s;const{data:o,error:i}=n;if(i)throw i;return await he(this.fetch,"DELETE",`${this.url}/user/identities/${t.identity_id}`,{headers:this.headers,jwt:(s=(r=o.session)===null||r===void 0?void 0:r.access_token)!==null&&s!==void 0?s:void 0})})}catch(n){if(ce(n))return{data:null,error:n};throw n}}async _refreshAccessToken(t){const n=`#_refreshAccessToken(${t.substring(0,5)}...)`;this._debug(n,"begin");try{const r=Date.now();return await bk(async s=>(s>
330&&await vk(200*Math.pow(2,s-1)),this._debug(n,"refreshing attempt",s),await he(this.fetch,"POST",`${this.url}/token?grant_type=refresh_token`,{body:{refresh_token:t},headers:this.headers,xform:In})),(s,o)=>{const i=200*Math.pow(2,s);return o&&Oa(o)&&Date.now()+i-r<Ur})}catch(r){if(this._debug(n,"error",r),ce(r))return{data:{session:null,user:null},error:r};throw r}finally{this._debug(n,"end")}}_isValidSession(t){return typeof t=="object"&&t!==null&&"access_token"in t&&"refresh_token"in t&&"expires_at"in t}async _handleProviderSignIn(t,n){const r=await this._getUrlForProvider(`${this.url}/authorize`,t,{redirectTo:n.redirectTo,scopes:n.scopes,queryParams:n.queryParams});return this._debug("#_handleProviderSignIn()","provider",t,"options",n,"url",r),Qt()&&!n.skipBrowserRedirect&&window.location.assign(r),{data:{provider:t,url:r},error:null}}async _recoverAndRefresh(){var t;const n="#_recoverAndRefresh()";this._debug(n,"begin");try{const r=await Uo(this.storage,this.storageKey);if(this._debug(n,"session from storage",r),!this._isValidSession(r)){this._debug(n,"session is not valid"),r!==null&&await this._removeSession();return}const s=((t=r.expires_at)!==null&&t!==void 0?t:1/0)*1e3-Date.now()<Aa;if(this._debug(n,`session has${s?"":" not"} expired with margin of ${Aa}s`),s){if(this.autoRefreshToken&&r.refresh_token){const{error:o}=await this._callRefreshToken(r.refresh_token);o&&(console.error(o),Oa(o)||(this._debug(n,"refresh failed with a non-retryable error, removing the session",o),await this._removeSession()))}}else await this._notifyAllSubscribers("SIGNED_IN",r)}catch(r){this._debug(n,"error",r),console.error(r);return}finally{this._debug(n,"end")}}async _callRefreshToken(t){var n,r;if(!t)throw new Ln;if(this.refreshingDeferred)return this.refreshingDeferred.promise;const s=`#_callRefreshToken(${t.substring(0,5)}...)`;this._debug(s,"begin");try{this.refreshingDeferred=new Ki;const{data:o,error:i}=await this._refreshAccessToken(t);if(i)throw i;if(!o.session)throw new Ln;await this._saveSession(o.session),await this._notifyAllSubscribers("TOKEN_REFRESHED",o.session);const a={session:o.session,error:null};return this.refreshingDeferred.resolve(a),a}catch(o){if(this._debug(s,"error",o),ce(o)){const i={session:null,error:o};return Oa(o)||await this._removeSession(),(n=this.refreshingDeferred)===null||n===void 0||n.resolve(i),i}throw(r=this.refreshingDeferred)===null||r===void 0||r.reject(o),o}finally{this.refreshingDeferred=null,this._debug(s,"end")}}async _notifyAllSubscribers(t,n,r=!0){const s=`#_notifyAllSubscribers(${t})`;this._debug(s,"begin",n,`broadcast = ${r}`);try{this.broadcastChannel&&r&&this.broadcastChannel.postMessage({event:t,session:n});const o=[],i=Array.from(this.stateChangeEmitters.values()).map(async a=>{try{await a.callback(t,n)}catch(l){o.push(l)}});if(await Promise.all(i),o.length>0){for(let a=0;a<o.length;a+=1)console.error(o[a]);throw o[0]}}finally{this._debug(s,"end")}}async _saveSession(t){this._debug("#_saveSession()",t),this.suppressGetSessionWarning=!0,await Wm(this.storage,this.storageKey,t)}async _removeSession(){this._debug("#_removeSession()"),await Fo(this.storage,this.storageKey),await this._notifyAllSubscribers("SIGNED_OUT",null)}_removeVisibilityChangedCallback(){this._debug("#_removeVisibilityChangedCallback()");const t=this.visibilityChangedCallback;this.visibilityChangedCallback=null;try{t&&Qt()&&(window!=null&&window.removeEventListener)&&window.removeEventListener("visibilitychange",t)}catch(n){console.error("removing visibilitychange callback failed",n)}}async _startAutoRefresh(){await this._stopAutoRefresh(),this._debug("#_startAutoRefresh()");const t=setInterval(()=>this._autoRefreshTokenTick(),Ur);this.autoRefreshTicker=t,t&&typeof t=="object"&&typeof t.unref=="function"?t.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(t),setTimeout(async()=>{await this.initializePromise,await this._autoRefreshTokenTick()},0)}async _stopAutoRefresh(){this._debug("#_stopAutoRefresh()");const t=this.autoRefreshTicker;this.autoRefreshTicker=null,t&&clearInterval(t)}async startAutoRefresh(){this._removeVisibilityChangedCallback(),await this._startAutoRefresh()}async stopAutoRefresh(){this._removeVisibilityChangedCallback(),await this._stopAutoRefresh()}async _autoRefreshTokenTick(){this._debug("#_autoRefreshTokenTick()","begin");try{await this._acquireLock(0,async()=>{try{const t=Date.now();try{return await this._useSession(async n=>{const{data:{session:r}}=n;if(!r||!r.refresh_token||!r.expires_at){this._debug("#_autoRefreshTokenTick()","no session");return}const s=Math.floor((r.expires_at*1e3-t)/Ur);this._debug("#_autoRefreshTokenTick()",`access token expires in ${s} ticks, a tick lasts ${Ur}ms, refresh threshold is ${Al} ticks`),s<=Al&&await this._callRefreshToken(r.refresh_token)})}catch(n){console.error("Auto refresh tick failed with error. This is likely a transient error.",n)}}finally{this._debug("#_autoRefreshTokenTick()","end")}})}catch(t){if(t.isAcquireTimeout||t instanceof zm)this._debug("auto refresh token tick lock not available");else throw t}}async _handleVisibilityChange(){if(this._debug("#_handleVisibilityChange()"),!Qt()||!(window!=null&&window.addEventListener))return this.autoRefreshToken&&this.startAutoRefresh(),!1;try{this.visibilityChangedCallback=async()=>await this._onVisibilityChanged(!1),window==null||window.addEventListener("visibilitychange",this.visibilityChangedCallback),await this._onVisibilityChanged(!0)}catch(t){console.error("_handleVisibilityChange",t)}}async _onVisibilityChanged(t){const n=`#_onVisibilityChanged(${t})`;this._debug(n,"visibilityState",document.visibilityState),document.visibilityState==="visible"?(this.autoRefreshToken&&this._startAutoRefresh(),t||(await this.initializePromise,await this._acquireLock(-1,async()=>
33{if(document.visibilityState!=="visible"){this._debug(n,"acquired the lock to recover the session, but the browser visibilityState is no longer visible, aborting");return}await this._recoverAndRefresh()}))):document.visibilityState==="hidden"&&this.autoRefreshToken&&this._stopAutoRefresh()}async _getUrlForProvider(t,n,r){const s=[`provider=${encodeURIComponent(n)}`];if(r!=null&&r.redirectTo&&s.push(`redirect_to=${encodeURIComponent(r.redirectTo)}`),r!=null&&r.scopes&&s.push(`scopes=${encodeURIComponent(r.scopes)}`),this.flowType==="pkce"){const[o,i]=await $r(this.storage,this.storageKey),a=new URLSearchParams({code_challenge:`${encodeURIComponent(o)}`,code_challenge_method:`${encodeURIComponent(i)}`});s.push(a.toString())}if(r!=null&&r.queryParams){const o=new URLSearchParams(r.queryParams);s.push(o.toString())}return r!=null&&r.skipBrowserRedirect&&s.push(`skip_http_redirect=${r.skipBrowserRedirect}`),`${t}?${s.join("&")}`}async _unenroll(t){try{return await this._useSession(async n=>{var r;const{data:s,error:o}=n;return o?{data:null,error:o}:await he(this.fetch,"DELETE",`${this.url}/factors/${t.factorId}`,{headers:this.headers,jwt:(r=s==null?void 0:s.session)===null||r===void 0?void 0:r.access_token})})}catch(n){if(ce(n))return{data:null,error:n};throw n}}async _enroll(t){try{return await this._useSession(async n=>{var r,s;const{data:o,error:i}=n;if(i)return{data:null,error:i};const a=Object.assign({friendly_name:t.friendlyName,factor_type:t.factorType},t.factorType==="phone"?{phone:t.phone}:{issuer:t.issuer}),{data:l,error:u}=await he(this.fetch,"POST",`${this.url}/factors`,{body:a,headers:this.headers,jwt:(r=o==null?void 0:o.session)===null||r===void 0?void 0:r.access_token});return u?{data:null,error:u}:(t.factorType==="totp"&&(!((s=l==null?void 0:l.totp)===null||s===void 0)&&s.qr_code)&&(l.totp.qr_code=`data:image/svg+xml;utf-8,${l.totp.qr_code}`),{data:l,error:null})})}catch(n){if(ce(n))return{data:null,error:n};throw n}}async _verify(t){return this._acquireLock(-1,async()=>{try{return await this._useSession(async n=>{var r;const{data:s,error:o}=n;if(o)return{data:null,error:o};const{data:i,error:a}=await he(this.fetch,"POST",`${this.url}/factors/${t.factorId}/verify`,{body:{code:t.code,challenge_id:t.challengeId},headers:this.headers,jwt:(r=s==null?void 0:s.session)===null||r===void 0?void 0:r.access_token});return a?{data:null,error:a}:(await this._saveSession(Object.assign({expires_at:Math.round(Date.now()/1e3)+i.expires_in},i)),await this._notifyAllSubscribers("MFA_CHALLENGE_VERIFIED",i),{data:i,error:a})})}catch(n){if(ce(n))return{data:null,error:n};throw n}})}async _challenge(t){return this._acquireLock(-1,async()=>{try{return await this._useSession(async n=>{var r;const{data:s,error:o}=n;return o?{data:null,error:o}:await he(this.fetch,"POST",`${this.url}/factors/${t.factorId}/challenge`,{body:{channel:t.channel},headers:this.headers,jwt:(r=s==null?void 0:s.session)===null||r===void 0?void 0:r.access_token})})}catch(n){if(ce(n))return{data:null,error:n};throw n}})}async _challengeAndVerify(t){const{data:n,error:r}=await this._challenge({factorId:t.factorId});return r?{data:null,error:r}:await this._verify({factorId:t.factorId,challengeId:n.id,code:t.code})}async _listFactors(){const{data:{user:t},error:n}=await this.getUser();if(n)return{data:null,error:n};const r=(t==null?void 0:t.factors)||[],s=r.filter(i=>i.factor_type==="totp"&&i.status==="verified"),o=r.filter(i=>i.factor_type==="phone"&&i.status==="verified");return{data:{all:r,totp:s,phone:o},error:null}}async _getAuthenticatorAssuranceLevel(){return this._acquireLock(-1,async()=>await this._useSession(async t=>{var n,r;const{data:{session:s},error:o}=t;if(o)return{data:null,error:o};if(!s)return{data:{currentLevel:null,nextLevel:null,currentAuthenticationMethods:[]},error:null};const{payload:i}=La(s.access_token);let a=null;i.aal&&(a=i.aal);let l=a;((r=(n=s.user.factors)===null||n===void 0?void 0:n.filter(f=>f.status==="verified"))!==null&&r!==void 0?r:[]).length>0&&(l="aal2");const c=i.amr||[];return{data:{currentLevel:a,nextLevel:l,currentAuthenticationMethods:c},error:null}}))}async fetchJwk(t,n={keys:[]}){let r=n.keys.find(i=>i.kid===t);if(r||(r=this.jwks.keys.find(i=>i.kid===t),r&&this.jwks_cached_at+sk>Date.now()))return r;const{data:s,error:o}=await he(this.fetch,"GET",`${this.url}/.well-known/jwks.json`,{headers:this.headers});if(o)throw o;if(!s.keys||s.keys.length===0)throw new Ws("JWKS is empty");if(this.jwks=s,this.jwks_cached_at=Date.now(),r=s.keys.find(i=>i.kid===t),!r)throw new Ws("No matching signing key found in JWKS");return r}async getClaims(t,n={keys:[]}){try{let r=t;if(!r){const{data:h,error:g}
33=await this.getSession();if(g||!h.session)return{data:null,error:g};r=h.session.access_token}const{header:s,payload:o,signature:i,raw:{header:a,payload:l}}=La(r);if(Ck(o.exp),!s.kid||s.alg==="HS256"||!("crypto"in globalThis&&"subtle"in globalThis.crypto)){const{error:h}=await this.getUser(r);if(h)throw h;return{data:{claims:o,header:s,signature:i},error:null}}const u=Ak(s.alg),c=await this.fetchJwk(s.kid,n),f=await crypto.subtle.importKey("jwk",c,u,!0,["verify"]);if(!await crypto.subtle.verify(u,f,i,pk(`${a}.${l}`)))throw new Ws("Invalid JWT signature");return{data:{claims:o,header:s,signature:i},error:null}}catch(r){if(ce(r))return{data:null,error:r};throw r}}}oo.nextInstanceID=0;const Wk=oo;class zk extends Wk{constructor(t){super(t)}}var qk=function(e,t,n,r){function s(o){return o instanceof n?o:new n(function(i){i(o)})}return new(n||(n=Promise))(function(o,i){function a(c){try{u(r.next(c))}catch(f){i(f)}}function l(c){try{u(r.throw(c))}catch(f){i(f)}}function u(c){c.done?o(c.value):s(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})};class Kk{constructor(t,n,r){var s,o,i;if(this.supabaseUrl=t,this.supabaseKey=n,!t)throw new Error("supabaseUrl is required.");if(!n)throw new Error("supabaseKey is required.");const a=QT(t),l=new URL(a);this.realtimeUrl=new URL("realtime/v1",l),this.realtimeUrl.protocol=this.realtimeUrl.protocol.replace("http","ws"),this.authUrl=new URL("auth/v1",l),this.storageUrl=new URL("storage/v1",l),this.functionsUrl=new URL("functions/v1",l);const u=`sb-${l.hostname.split(".")[0]}-auth-token`,c={db:WT,realtime:qT,auth:Object.assign(Object.assign({},zT),{storageKey:u}),global:VT},f=ZT(r??{},c);this.storageKey=(s=f.auth.storageKey)!==null&&s!==void 0?s:"",this.headers=(o=f.global.headers)!==null&&o!==void 0?o:{},f.accessToken?(this.accessToken=f.accessToken,this.auth=new Proxy({},{get:(d,h)=>{throw new Error(`@supabase/supabase-js: Supabase Client is configured with the accessToken option, accessing supabase.auth.${String(h)} is not possible`)}})):this.auth=this._initSupabaseAuthClient((i=f.auth)!==null&&i!==void 0?i:{},this.headers,f.global.fetch),this.fetch=YT(n,this._getAccessToken.bind(this),f.global.fetch),this.realtime=this._initRealtimeClient(Object.assign({headers:this.headers,accessToken:this._getAccessToken.bind(this)},f.realtime)),this.rest=new fT(new URL("rest/v1",l).href,{headers:this.headers,schema:f.db.schema,fetch:this.fetch}),f.accessToken||this._listenForAuthEvents()}get functions(){return new XE(this.functionsUrl.href,{headers:this.headers,customFetch:this.fetch})}get storage(){return new FT(this.storageUrl.href,this.headers,this.fetch)}from(t){return this.rest.from(t)}schema(t){return this.rest.schema(t)}rpc(t,n={},r={}){return this.rest.rpc(t,n,r)}channel(t,n={config:{}}){return this.realtime.channel(t,n)}getChannels(){return this.realtime.getChannels()}removeChannel(t){return this.realtime.removeChannel(t)}removeAllChannels(){return this.realtime.removeAllChannels()}_getAccessToken(){var t,n;return qk(this,void 0,void 0,function*(){if(this.accessToken)return yield this.accessToken();const{data:r}=yield this.auth.getSession();return(n=(t=r.session)===null||t===void 0?void 0:t.access_token)!==null&&n!==void 0?n:null})}_initSupabaseAuthClient({autoRefreshToken:t,persistSession:n,detectSessionInUrl:r,storage:s,storageKey:o,flowType:i,lock:a,debug:l},u,c){const f={Authorization:`Bearer ${this.supabaseKey}`,apikey:`${this.supabaseKey}`};return new zk({url:this.authUrl.href,headers:Object.assign(Object.assign({},f),u),storageKey:o,autoRefreshToken:t,persistSession:n,detectSessionInUrl:r,storage:s,flowType:i,lock:a,debug:l,fetch:c,hasCustomAuthorizationHeader:"Authorization"in this.headers})}_initRealtimeClient(t){return new PT(this.realtimeUrl.href,Object.assign(Object.assign({},t),{params:Object.assign({apikey:this.supabaseKey},t==null?void 0:t.params)}))}_listenForAuthEvents(){return this.auth.onAuthStateChange((n,r)=>{this._handleTokenChanged(n,"CLIENT",r==null?void 0:r.access_token)})}_handleTokenChanged(t,n,r){(t==="TOKEN_REFRESHED"||t==="SIGNED_IN")&&this.changedAccessToken!==r?this.changedAccessToken=r:t==="SIGNED_OUT"&&(this.realtime.setAuth(),n=="STORAGE"&&this.auth.signOut(),this.changedAccessToken=void 0)}}
33const qm=(e,t,n)=>new Kk(e,t,n),Gk="0.6.1";var Ho={};/*!
34 * cookie
35 * Copyright(c) 2012-2014 Roman Shtylman
36 * Copyright(c) 2015 Douglas Christopher Wilson
37 * MIT Licensed
38 */var Xf;function Jk(){if(Xf)return Ho;Xf=1,Ho.parse=i,Ho.serialize=u;var e=Object.prototype.toString,t=Object.prototype.hasOwnProperty,n=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,r=/^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/,s=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,o=/^[\u0020-\u003A\u003D-\u007E]*$/;function i(h,g){if(typeof h!="string")throw new TypeError("argument str must be a string");var p={},b=h.length;if(b<2)return p;var y=g&&g.decode||c,v=0,m=0,_=0;do{if(m=h.indexOf("=",v),m===-1)break;if(_=h.indexOf(";",v),_===-1)_=b;else if(m>_){v=h.lastIndexOf(";",m-1)+1;continue}var T=a(h,v,m),C=l(h,m,T),A=h.slice(T,C);if(!t.call(p,A)){var O=a(h,m+1,_),L=l(h,_,O);h.charCodeAt(O)===34&&h.charCodeAt(L-1)===34&&(O++,L--);var x=h.slice(O,L);p[A]=d(x,y)}v=_+1}while(v<b);return p}function a(h,g,p){do{var b=h.charCodeAt(g);if(b!==32&&b!==9)return g}while(++g<p);return p}function l(h,g,p){for(;g>p;){var b=h.charCodeAt(--g);if(b!==32&&b!==9)return g+1}return p}function u(h,g,p){var b=p&&p.encode||encodeURIComponent;if(typeof b!="function")throw new TypeError("option encode is invalid");if(!n.test(h))throw new TypeError("argument name is invalid");var y=b(g);if(!r.test(y))throw new TypeError("argument val is invalid");var v=h+"="+y;if(!p)return v;if(p.maxAge!=null){var m=Math.floor(p.maxAge);if(!isFinite(m))throw new TypeError("option maxAge is invalid");v+="; Max-Age="+m}if(p.domain){if(!s.test(p.domain))throw new TypeError("option domain is invalid");v+="; Domain="+p.domain}if(p.path){if(!o.test(p.path))throw new TypeError("option path is invalid");v+="; Path="+p.path}if(p.expires){var _=p.expires;if(!f(_)||isNaN(_.valueOf()))throw new TypeError("option expires is invali
38d");v+="; Expires="+_.toUTCString()}if(p.httpOnly&&(v+="; HttpOnly"),p.secure&&(v+="; Secure"),p.partitioned&&(v+="; Partitioned"),p.priority){var T=typeof p.priority=="string"?p.priority.toLowerCase():p.priority;switch(T){case"low":v+="; Priority=Low";break;case"medium":v+="; Priority=Medium";break;case"high":v+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(p.sameSite){var C=typeof p.sameSite=="string"?p.sameSite.toLowerCase():p.sameSite;switch(C){case!0:v+="; SameSite=Strict";break;case"lax":v+="; SameSite=Lax";break;case"strict":v+="; SameSite=Strict";break;case"none":v+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return v}function c(h){return h.indexOf("%")!==-1?decodeURIComponent(h):h}function f(h){return e.call(h)==="[object Date]"}function d(h,g){try{return g(h)}catch{return h}}return Ho}var Qf=Jk();function qs(){return typeof window<"u"&&typeof window.document<"u"}const Bo={path:"/",sameSite:"lax",httpOnly:!1,maxAge:400*24*60*60},Yk=3180,Xk=/^(.*)[.](0|[1-9][0-9]*)$/;function Zf(e,t){if(e===t)return!0;const n=e.match(Xk);return!!(n&&n[1]===t)}function Qk(e,t,n){const r=Yk;let s=encodeURIComponent(t);if(s.length<=r)return[{name:e,value:t}];const o=[];for(;s.length>0;){let i=s.slice(0,r);const a=i.lastIndexOf("%");a>r-3&&(i=i.slice(0,a));let l="";for(;i.length>0;)try{l=decodeURIComponent(i);break}catch(u){if(u instanceof URIError&&i.at(-3)==="%"&&i.length>3)i=i.slice(0,i.length-3);else throw u}o.push(l),s=s.slice(i.length)}return o.map((i,a)=>({name:`${e}.${a}`,value:i}))}async function Zk(e,t){const n=await t(e);if(n)return n;let r=[];for(let s=0;;s++){const o=`${e}.${s}`,i=await t(o);if(!i)break;r.push(i)}return r.length>0?r.join(""):null}const Ti="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".split(""),ed=` 	
39\r=`.split(""),eS=(()=>{const e=new Array(128);for(let t=0;t<e.length;t+=1)e[t]=-1;for(let t=0;t<ed.length;t+=1)e[ed[t].charCodeAt(0)]=-2;for(let t=0;t<Ti.length;t+=1)e[Ti[t].charCodeAt(0)]=t;return e})();function tS(e){const t=[];let n=0,r=0;if(sS(e,o=>{for(n=n<<8|o,r+=8;r>=6;){const i=n>>r-6&63;t.push(Ti[i]),r-=6}}),r>0)for(n=n<<6-r,r=6;r>=6;){const o=n>>r-6&63;t.push(Ti[o]),r-=6}return t.join("")}function nS(e){const t=[],n=i=>{t.push(String.fromCodePoint(i))},r={utf8seq:0,codepoint:0};let s=0,o=0;for(let i=0;i<e.length;i+=1){const a=e.charCodeAt(i),l=eS[a];if(l>-1)for(s=s<<6|l,o+=6;o>=8;)oS(s>>o-8&255,r,n),o-=8;else{if(l===-2)continue;throw new Error(`Invalid Base64-URL character "${e.at(i)}" at position ${i}`)}}return t.join("")}function rS(e,t){if(e<=127){t(e);return}else if(e<=2047){t(192|e>>6),t(128|e&63);return}else if(e<=65535){t(224|e>>12),t(128|e>>6&63),t(128|e&63);return}else if(e<=1114111){t(240|e>>18),t(128|e>>12&63),t(128|e>>6&63),t(128|e&63);return}throw new Error(`Unrecognized Unicode codepoint: ${e.toString(16)}`)}function sS(e,t){for(let n=0;n<e.length;n+=1){let r=e.charCodeAt(n);if(r>55295&&r<=56319){const s=(r-55296)*1024&65535;r=(e.charCodeAt(n+1)-56320&65535|s)+65536,n+=1}rS(r,t)}}function oS(e,t,n){if(t.utf8seq===0){if(e<=127){n(e);return}for(let r=1;r<6;r+=1)if((e>>7-r&1)===0){t.utf8seq=r;break}if(t.utf8seq===2)t.codepoint=e&31;else if(t.utf8seq===3)t.codepoint=e&15;else if(t.utf8seq===4)t.codepoint=e&7;else throw new Error("Invalid UTF-8 sequence");t.utf8seq-=1}else if(t.utf8seq>0){if(e<=127)throw new Error("Invalid UTF-8 sequence");t.codepoint=t.codepoint<<6|e&63,t.utf8seq-=1,t.utf8seq===0&&n(t.codepoint)}}const Ia="base64-";function iS(e,t){const n=e.cookies??null,r=e.cookieEncoding,s={},o={};let i,a;if(n)if("get"in n){const l=async u=>{const c=u.flatMap(d=>[d,...Array.from({length:5}).map((h,g)=>`${d}.${g}`)]),f=[];for(let d=0;d<c.length;d+=1){const h=await n.get(c[d]);!h&&typeof h!="string"||f.push({name:c[d],value:h})}return f};if(i=async u=>await l(u),"set"in n&&"remove"in n)a=async u=>{for(let c=0;c<u.length;c+=1){const{name:f,value:d,options:h}=u[c];d?await n.set(f,d,h):await n.remove(f,h)}};else throw new Error("@supabase/ssr: createBrowserClient requires configuring a getAll and setAll cookie method (deprecated: alternatively both get, set and remove can be used)")}else if("getAll"in n)if(i=async()=>await n.getAll(),"setAll"in n)a=n.setAll;else throw new Error("@supabase/ssr: createBrowserClient requires configuring both getAll and setAll cookie methods (deprecated: alternatively both get, set and remove can be used)");else throw new Error(`@supabase/ssr: createBrowserClient requires configuring getAll and setAll cookie methods (deprecated: alternatively use get, set and remove).${qs()?" As this is called 
39in a browser runtime, consider removing the cookies option object to use the document.cookie API automatically.":""}`);else if(qs()){const l=()=>{const u=Qf.parse(document.cookie);return Object.keys(u).map(c=>({name:c,value:u[c]??""}))};i=()=>l(),a=u=>{u.forEach(({name:c,value:f,options:d})=>{document.cookie=Qf.serialize(c,f,d)})}}else i=()=>[],a=()=>{throw new Error("@supabase/ssr: createBrowserClient in non-browser runtimes (including Next.js pre-rendering mode) was not initialized cookie options that specify getAll and setAll functions (deprecated: alternatively use get, set and remove), but they were needed")};return{getAll:i,setAll:a,setItems:s,removedItems:o,storage:{isServer:!1,getItem:async l=>{const u=await i([l]),c=await Zk(l,async d=>{const h=(u==null?void 0:u.find(({name:g})=>g===d))||null;return h?h.value:null});if(!c)return null;let f=c;return c.startsWith(Ia)&&(f=nS(c.substring(Ia.length))),f},setItem:async(l,u)=>{const c=await i([l]),f=(c==null?void 0:c.map(({name:v})=>v))||[],d=new Set(f.filter(v=>Zf(v,l)));let h=u;r==="base64url"&&(h=Ia+tS(u));const g=Qk(l,h);g.forEach(({name:v})=>{d.delete(v)});const p={...Bo,...e==null?void 0:e.cookieOptions,maxAge:0},b={...Bo,...e==null?void 0:e.cookieOptions,maxAge:Bo.maxAge};delete p.name,delete b.name;const y=[...[...d].map(v=>({name:v,value:"",options:p})),...g.map(({name:v,value:m})=>({name:v,value:m,options:b}))];y.length>0&&await a(y)},removeItem:async l=>{const u=await i([l]),f=((u==null?void 0:u.map(({name:h})=>h))||[]).filter(h=>Zf(h,l)),d={...Bo,...e==null?void 0:e.cookieOptions,maxAge:0};delete d.name,f.length>0&&await a(f.map(h=>({name:h,value:"",options:d})))}}}}let xa;function aS(e,t,n){var i,a;const r=(n==null?void 0:n.isSingleton)===!0||(!n||!("isSingleton"in n))&&qs();if(r&&xa)return xa;if(!e||!t)throw new Error(`@supabase/ssr: Your project's URL and API key are required to create a Supabase client!
40
41Check your Supabase project's API settings to find these values
42
43https://supabase.com/dashboard/project/_/settings/api`);const{storage:s}=iS({...n,cookieEncoding:(n==null?void 0:n.cookieEncoding)??"base64url"}),o=qm(e,t,{...n,global:{...n==null?void 0:n.global,headers:{...(i=n==null?void 0:n.global)==null?void 0:i.headers,"X-Client-Info":`supabase-ssr/${Gk} createBrowserClient`}},auth:{...n==null?void 0:n.auth,...(a=n==null?void 0:n.cookieOptions)!=null&&a.name?{storageKey:n.cookieOptions.name}:null,flowType:"pkce",autoRefreshToken:qs(),detectSessionInUrl:qs(),persistSession:!0,storage:s}});return r&&(xa=o),o}async function td(e,t){var r;for(let s=1;s<=3;s++)try{return await fetch(e,t)}catch(o){if((r=t==null?void 0:t.signal)!=null&&r.aborted)throw o;if(s===3)throw console.error(`Error fetching request ${e}`,o,t),o;console.warn(`Retrying fetch attempt ${s+1} for request: ${e}`)}throw new Error("Unreachable code")}const lS=()=>ds("supabase_session",()=>null),cS=()=>ds("supabase_user",()=>null),uS=Ve({name:"supabase",enforce:"pre",async setup({provide:e}){const{url:t,key:n,cookieOptions:r,cookiePrefix:s,useSsrCookies:o,clientOptions:i}=Gt().public.supabase;let a;o?a=aS(t,n,{...i,cookieOptions:{...r,name:s},isSingleton:!0,global:{fetch:td,...i.global}}):a=qm(t,n,{...i,global:{fetch:td,...i.global}}),e("supabase",{client:a});const l=lS(),u=cS();a.auth.onAuthStateChange((c,f)=>{JSON.stringify(l.value)!==JSON.stringify(f)&&(l.value=f,u.value=(f==null?void 0:f.user)??null)})}}),fS=Ve({name:"nuxt:payload",setup(e){const t=new Set;ut().beforeResolve(async(n,r)=>{if(n.path===r.path)return;const s=await Yu(n.path);if(s){for(const o of t)delete e.static.data[o];for(const o in s.data)o in e.static.data||t.add(o),e.static.data[o]=s.data[o]}}),kc(()=>{var n;e.hooks.hook("link:prefetch",async r=>{const{hostname:s}=new URL(r,window.location.href);s===window.location.hostname&&await Yu(r).catch(()=>{console.warn("[nuxt] Error preloading payload for",r)})}),((n=navigator.connection)==null?void 0:n.effectiveType)!=="slow-2g"&&setTimeout(zi,1e3)})}}),dS=Ve(()=>{const e=ut();kc(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),hS=Ve(e=>{let t;async function n(){const r=await zi();t&&clearTimeout(t),t=setTimeout(n,ju);try{const s=await $fetch(mc("builds/latest.json")+`?${Date.now()}`);s.id!==r.id&&e.hooks.callHook("app:manifest:update",s)}catch{}}kc(()=>{t=setTimeout(n,ju)})}),pS=Ve({name:"nuxt:chunk-reload",setup(e){const t=ut(),n=Gt(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:o})=>{r.add(o)});function s(o){const a="href"in o&&o.href[0]==="#"?n.app.baseURL+o.href:wr(n.app.baseURL,o.fullPath);UE({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}}),mS=Ve({name:"pinia",setup(e){const t=e0();return e.vueApp.use(t),yo(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}}});/*!
44  * shared v10.0.7
45  * (c) 2025 kazuya kawaguchi
46  * Released under the MIT License.
47  */const ki=typeof window<"u",Qn=(e,t=!1)=>t?Symbol.for(e):Symbol(e),gS=(e,t,n)=>_S({l:e,k:t,s:n}),_S=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ze=e=>typeof e=="number"&&isFinite(e),yS=e=>Ji(e)==="[object Date]",Si=e=>Ji(e)==="[object RegExp]",Gi=e=>_e(e)&&Object.keys(e).length===0,Ne=Object.assign,vS=Object.create,ke=(e=null)=>vS(e);let nd;const Oc=()=>nd||(nd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:ke());function rd(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const bS=Object.prototype.hasOwnProperty;function Ut(e,t){return bS.call(e,t)}const Fe=Array.isArray,Ae=e=>typeof e=="function",K=e=>typeof e=="string",Ue=e=>typeof e=="boolean",ye=e=>e!==null&&typeof e=="object",wS=e=>ye(e)&&Ae(e.then)&&Ae(e.catch),Km=Object.prototype.toString,Ji=e=>Km.call(e),_e=e=>Ji(e)==="[object Object]",ES=e=>e==null?"":Fe(e)||_e(e)&&e.toString===Km?JSON.stringify(e,null,2):String(e);function Lc(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}function TS(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Vo=e=>!ye(e)||Fe(e);function Yr(e,t){if(Vo(e)||Vo(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:s}=n.pop();Object.keys(r).forEach(o=>{o!=="__proto__"&&(ye(r[o])&&!ye(s[o])&&(s[o]=Array.isArray(r[o])?[]:ke()),Vo(s[o])||Vo(r[o])?s[o]=r[o]:n.push({src:r[o],des:s[o]}))})}}const Kn=["en","zh"],Ll={en:[{key:"locale_en_46json_76ef8785",load:()=>N(()=>import("./9P61XhWP.js"),[],import.meta.url),cache:!0}],zh:[{key:"locale_zh_46json_cca0d698",load:()=>N(()=>import("./C4prefkE.js"),[],import.meta.url),cache:!0}]}
47,kS=[],Yi=[{code:"en",name:"English",_hreflang:"en",_sitemap:"en",files:[{path:"/vercel/path0/i18n/locales/en.json",cache:void 0}]},{code:"zh",name:"中文",_hreflang:"zh",_sitemap:"zh",files:[{path:"/vercel/path0/i18n/locales/zh.json",cache:void 0}]}],Gm="@nuxtjs/i18n",SS=!1,PS="i18n_redirected",CS="nuxtI18nInternal",sd="nuxt-i18n-slp";function Xi(e){return K(e)?e:e!=null?e.toString():"(null)"}function od(e,t,n){const{defaultLocale:r,strategy:s,routesNameSeparator:o,defaultLocaleRouteNameSuffix:i,differentDomains:a}=n,l=s!=="no_prefix"||a,u=Xi(e)+(l?o+t:"");return t===r&&s==="prefix_and_default"?u+o+i:u}function AS(e,t){const n=[];for(const[r,s]of t.entries()){const o=e.find(i=>{var a;return((a=i.language)==null?void 0:a.toLowerCase())===s.toLowerCase()});if(o){n.push({code:o.code,score:1-r/t.length});break}}for(const[r,s]of t.entries()){const o=s.split("-")[0].toLowerCase(),i=e.find(a=>{var l;return((l=a.language)==null?void 0:l.split("-")[0].toLowerCase())===o});if(i){n.push({code:i.code,score:.999-r/t.length});break}}return n}function RS(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}function OS(e,t){const n=e.map(s=>({code:s.code,language:s.language||s.code})),r=AS(n,t);return r.length===0?"":(r.length>1&&r.sort(RS),r[0].code)}function Jm(e){return new RegExp(`^/(${e.join("|")})(?:/|$)`,"i")}const LS=`(${Kn.join("|")})`,Il=Jm(Kn);function IS(){const{routesNameSeparator:e,defaultLocaleRouteNameSuffix:t}=Gt().public.i18n,n=`(?:${e}${t})?`,r=new RegExp(`${e}${LS}${n}$`,"i");return s=>{var o,i,a;return K(s)?((o=s.match(Il))==null?void 0:o[1])??"":s.name?((i=Xi(s.name).match(r))==null?void 0:i[1])??"":s.path?((a=s.path.match(Il))==null?void 0:a[1])??"":""}}function xS(e){return e!=null&&"global"in e&&"mode"in e}function $S(e){return e!=null&&!("__composer"in e)&&"locale"in e&&Se(e.locale)}function Ym(e){return e!=null&&"__composer"in e}function Pi(e){return xS(e)?e.global:e}function Ls(e){const t=Pi(e);return $S(t)?t:Ym(t)?t.__composer:t}function Qi(){return window.location.host}function DS(e,t,n){var a,l,u;const r=Qi();if(!r)return r;const s=K(n)?n:n.path,o=e.filter(c=>c.domain?(Kt(c.domain)?c.domain.replace(/(http|https):\/\//,""):c.domain)===r:Fe(c==null?void 0:c.domains)?c.domains.includes(r):!1);if(o.length===0)return"";if(o.length===1)return((a=o[0])==null?void 0:a.code)??"";if(t==="no_prefix")return console.warn(Zm("Multiple matching domains found! This is not supported for no_prefix strategy in combination with differentDomains!")),((l=o[0])==null?void 0:l.code)??"";if(n&&s){const c=(u=s.match(Jm(o.map(f=>f.code))))==null?void 0:u.at(1);if(c){const f=o.find(d=>d.code===c);return(f==null?void 0:f.code)??""}}const i=o.find(c=>{var f;return((f=c.defaultForDomains)==null?void 0:f.includes(r))??c.domainDefault});return(i==null?void 0:i.code)??""}function Xm(e){var i,a;pe();const t=Qi(),{domainLocales:n}=Gt().public.i18n,r=Yi.find(l=>l.code===e),s=((i=n==null?void 0:n[e])==null?void 0:i.domain)||(r==null?void 0:r.domain)||((a=r==null?void 0:r.domains)==null?void 0:a.find(l=>l===t));if(!s){console.warn(Zm("Could not find domain name for locale "+e));return}return Kt(s,{strict:!0})?s:new URL(window.location.origin).protocol+"//"+s}function jS(e,t){const{multiDomainLocales:n,strategy:r,routesNameSeparator:s,defaultLocaleRouteNameSuffix:o}=e;if(!n||!(r==="prefix_except_default"||r==="prefix_and_default"))return;const i=ut(),a=[s,o].join("");for(const l of i.getRoutes()){const u=Xi(l.name);if(u.endsWith(a)){i.removeRoute(u);continue}const c=u.split(s)[1];c===t&&i.addRoute({...l,path:l.path===`/${c}`?"/":l.path.replace(`/${c}`,"")})}}function NS(e){const{locales:t,defaultLocale:n,multiDomainLocales:r}=e;if(!r)return n||"";const s=Qi();if(t.some(o=>!K(o)&&o.defaultForDomains!=null)){const o=t.find(i=>{var a;return!K(i)&&!!((a=i.defaultForDomains)!=null&&a.includes(s))});return(o==null?void 0:o.code)??""}return n||""}const Ks=new Map;async function MS(e,t){const n={messages:{}};for(const r of e){const{default:s}=await r(),o=Ae(s)?await t.runWithContext(()=>s()):s;Yr(o,n)}return n}function Qm(e,t){if(e===!1)return[];if(Fe(e))return e;let n=[];if(K(e))return t.every(s=>s!==e)&&n.push(e),n;const r=[...t,"default"];
47for(const s of r)s in e&&(n=[...n,...e[s].filter(Boolean)]);return n}const US=e=>Ji(e)==="[object Module]";async function FS(e,{key:t,load:n},r){let s=null;try{const o=await n().then(i=>US(i)?i.default:i);Ae(o)?s=await r.runWithContext(()=>o(e)):(s=o,s!=null&&Ks&&Ks.set(t,s))}catch(o){console.error("Failed locale loading: "+o.message)}return s}async function xl(e,t,n,r){const s=t[e];if(s==null)return;const o={};for(const i of s){let a=null;Ks&&Ks.has(i.key)&&i.cache?a=Ks.get(i.key):a=await r.runWithContext(()=>FS(e,i,r)),a!=null&&Yr(a,o)}n(e,o)}function is(e,t){const n=te(t),r=ye(n)?n==null?void 0:n.name:n;if(!(n==null||!r))return Xi(r).split(e.runtimeConfig.public.i18n.routesNameSeparator)[0]}function Ic(e,t,n){var s;if(K(t)&&Kt(t,{acceptRelative:!0}))return t;const r=xc(e,t,n);return r==null?"":((s=r.redirectedFrom)==null?void 0:s.fullPath)||r.fullPath}function Zi(e,t,n){return xc(e,t,n)??void 0}function HS(e){if(!K(e))return Ne({},e);if(e[0]==="/"){const{pathname:t,search:n,hash:r}=al(e);return{path:t,query:pc(n),hash:r}}return{name:e}}const BS=e=>!!e.path&&!e.name;function VS(e,t,n){const r=e.runtimeConfig.public.i18n;if(BS(t)){const o=zS(e,t,n),i=is(e,o);return i?(o.name=od(i,n,r),o):(!r.differentDomains&&GS(n,r.defaultLocale,r.strategy)&&(t.path="/"+n+t.path),t.path=(r.trailingSlash?gi:ns)(t.path,!0),t)}t.name||(t.name=is(e,e.router.currentRoute.value));const s=od(t.name,n,r);return e.router.hasRoute(s)&&(t.name=s),t}function xc(e,t,n){try{const r=n||te(Pi(e.i18n).locale),s=HS(t),o=e.router.resolve(VS(e,s,r));return o.name?o:e.router.resolve(t)}catch(r){if(Xt(r,1))return null}}function WS(e,t){var r;if(e.runtimeConfig.public.i18n.experimental.switchLocalePathLinkSSR)return te(e.metaState.value);const n=t.meta||{};return((r=te(n))==null?void 0:r[CS])||{}}function $c(e,t,n){const r=n??e.router.currentRoute.value,s=is(e,r);if(!s)return"";const o=WS(e,r)[t],i={name:s,params:Ne({},r.params,o),fullPath:r.fullPath,query:r.query,hash:r.hash,path:r.path,meta:r.meta},a=Ic(e,i,t);if(e.runtimeConfig.public.i18n.differentDomains){const l=Xm(t);return l&&wr(l,a)||a}return a}function zS(e,t,n){if(e.runtimeConfig.public.i18n.strategy==="no_prefix")return t;if(e.runtimeConfig.public.i18n.strategy!=="prefix")return e.router.resolve(t);const r=t.path.slice(1),s=t.path[0]+n+(r&&"/"+r),o=e.router.options.routes.find(i=>i.path===s);return o==null?t:e.router.resolve(Ne({},t,o,{path:s}))}function Zm(e){return`[${Gm}]: ${e}`}function eg(e){return{i18n:e??pe().$i18n,router:ut(),runtimeConfig:Gt(),metaState:ds("nuxt-i18n-meta",()=>({}))}}async function tg(e,t=!1){const n=pe(),{differentDomains:r,skipSettingLocaleOnNavigate:s}=n.$config.public.i18n,o=bo(),i=te(n.$i18n.locale),a=te(n.$i18n.localeCodes);function l(d=i){o===!1||!o.useCookie||s||n.$i18n.setLocaleCookie(d)}const u=await n.$i18n.onBeforeLanguageSwitch(i,e,t,n);if(u&&a.includes(u)){if(i===u)return l(),!1;e=u}if(!e||!t&&r||i===e)return l(),!1;const c=te(n.$i18n.fallbackLocale),f=n.$i18n.mergeLocaleMessage.bind(n.$i18n);if(c){const d=Qm(c,[e]);await Promise.all(d.map(h=>xl(h,Ll,f,n)))}return await xl(e,Ll,f,n),s?!1:(l(e),n._vueI18n.__setLocale(e),await n.$i18n.onLanguageSwitched(i,e),!0)}function qS(e,t,n,r){const s=pe(),{strategy:o,defaultLocale:i,differentDomains:a,multiDomainLocales:l}=s.$config.public.i18n,u=bo(),c=eP(e,r,n);if(c.locale&&c.from!=null&&Kn.includes(c.locale))return c.locale;let f="";a||l?f||(f=DS(Yi,o,e)):o!=="no_prefix"&&(f||(f=t));const d=(Kn.includes(c.locale)||r&&Kn.includes(r))&&u&&u.useCookie&&r;return f||(f=d||n||i||""),f}function ng({to:e,from:t,locale:n,routeLocale:r},s=!1){if(r===n||pe().$i18n.strategy==="no_prefix")return"";const o=eg();let i=$c(o,n,e);return s&&!i&&(i=Ic(o,e.fullPath,n)),Lu(i,e.fullPath)||t&&Lu(i,t.fullPath)?"":i}const KS=()=>ds(Gm+":redirect",()=>"");async function rg({nuxt:e,locale:t,route:n,redirectPath:r},s=!1){const{rootRedirect:o,differentDomains:i,multiDomainLocales:a,skipSettingLocaleOnNavigate:l,locales:u,strategy:c}=e.$config.public.i18n;if(n.path==="/"&&o)return K(o)?r="/"+o:(r="/"+o.path,o.statusCode),r=e.$localePath(r,t),Sr(r,{});
47if(!(l&&(e._vueI18n.__pendingLocale=t,e._vueI18n.__pendingLocalePromise=new Promise(f=>{e._vueI18n.__resolvePendingLocalePromise=()=>f()}),!s))){if(a&&c==="prefix_except_default"){const f=Qi(),d=u.find(g=>{var p;if(!K(g))return(p=g.defaultForDomains)==null?void 0:p.find(b=>b===f)}),h=K(d)||d==null?void 0:d.code;if(n.path.startsWith(`/${h}`))return Sr(n.path.replace(`/${h}`,""));if(!n.path.startsWith(`/${t}`)&&t!==h){const g=e._vueI18n.__localeFromRoute(n.path);return Sr(g!==""?`/${t+n.path.replace(`/${g}`,"")}`:`/${t+(n.path==="/"?"":n.path)}`)}return r&&n.path!==r?Sr(r):void 0}if(i){const f=KS();f.value&&f.value!==r&&(f.value="",window.location.assign(r))}else if(r)return Sr(r)}}function GS(e,t,n){return n!=="no_prefix"&&!(e===t&&(n==="prefix_and_default"||n==="prefix_except_default"))}function JS(e){const{baseUrl:t,defaultLocale:n,differentDomains:r}=e.$config.public.i18n;if(Ae(t))return()=>t(e);const s=Ae(n)?n():n;return()=>{if(r&&s){const o=Xm(s);if(o)return o}return t??""}}function YS(e){return Fe(e)?e:[e]}function vr(e,t=eg()){return(...n)=>e(t,...n)}function XS(){const e=navigator.languages;return OS(Yi,e)||void 0}function QS(){const e=bo(),t=e&&e.cookieKey||PS,n=new Date,r={path:"/",readonly:!1,expires:new Date(n.setDate(n.getDate()+365)),sameSite:e&&e.cookieCrossOrigin?"none":"lax",domain:e&&e.cookieDomain||void 0,secure:e&&e.cookieCrossOrigin||e&&e.cookieSecure};return xE(t,r)}function ZS(e,t,n){if(t===!1||!t.useCookie)return;const r=e.value??void 0;if(r!=null){if(Kn.includes(r))return r;if(n)return e.value=n,n;e.value=void 0}}function eP(e,t,n=""){const r=bo();if(!r)return{locale:"",error:"disabled"};const s=pe(),o=s.$i18n.strategy;if(!s._vueI18n.__firstAccess)return{locale:o==="no_prefix"?n:"",error:"first_access_only"};if(o!=="no_prefix"){const u=K(e)?e:e.path;if(r.redirectOn==="root"&&u!=="/")return{locale:"",error:"not_redirect_on_root"};if(r.redirectOn==="no prefix"&&!r.alwaysRedirect&&u.match(Il))return{locale:"",error:"not_redirect_on_no_prefix"}}const a=r.useCookie&&t||void 0;if(a)return{locale:a,from:"cookie"};const l=s.$i18n.getBrowserLocale();return l?{locale:l,from:"navigator_or_header"}:{locale:r.fallbackLocale||"",from:"fallback"}}function bo(e=Gt().public.i18n){return(e==null?void 0:e.detectBrowserLanguage)===!1?!1:e==null?void 0:e.detectBrowserLanguage}function tP(e){const t=pe(),n=te(t.$i18n.locale),r=te(t.$i18n.locales).map(a=>K(a)?{code:a}:a),s=r.find(a=>a.code===n)||{code:n},o=wr(te(Ls(t.$i18n).baseUrl),t.$config.app.baseURL),i=t.$config.public.i18n;return o||console.warn("I18n `baseUrl` is required to generate valid SEO tag links."),{dir:e.dir,lang:e.lang,key:e.key,seo:e.seo,locale:n,locales:r,currentDir:s.dir||i.defaultDirection,currentLocale:s,currentLanguage:s.language,baseUrl:o,runtimeI18n:i}}function nP(e,{dir:t=!0,lang:n=!0,seo:r=!0,key:s="hid"}){return rP(e,{dir:t,lang:n,seo:r,key:s})}function rP(e,t){const n={htmlAttrs:{},link:[],meta:[]},r=tP(t);return r.baseUrl==null||(r.dir&&(n.htmlAttrs.dir=r.currentDir),r.lang&&r.currentLanguage&&(n.htmlAttrs.lang=r.currentLanguage),r.seo&&(n.link=n.link.concat(sP(e,r),oP(e,r)),n.meta=n.meta.concat(iP(e,r),aP(r),lP(r)))),n}function sP(e,t){const{defaultLocale:n,strategy:r,differentDomains:s}=t.runtimeI18n,o=[];if(r==="no_prefix"&&!s)return o;const i=new Map;for(const u of t.locales){if(!u.language){console.warn("Locale `language` ISO code is required to generate alternate link");continue}const[c,f]=u.language.split("-");c&&f&&(u.isCatchallLocale||!i.has(c))&&i.set(c,u),i.set(u.language,u)}const a=t.runtimeI18n.experimental.alternateLinkCanonicalQueries===!0,l=a?e.router.resolve({query:{}}):void 0;!t.runtimeI18n.experimental.switchLocalePathLinkSSR&&a&&(l.meta=e.router.currentRoute.value.meta);for(const[u,c]of i.entries()){const f=$c(e,c.code,l);if(!f)continue;const d=s&&c.domain?f:wr(t.baseUrl,f),h=Vi(d,a?og(e,t):{});o.push({[t.key]:`i18n-alt-${u}`,rel:"alternate",href:h,hreflang:u}),n&&n===c.code&&o.unshift({[t.key]:"i18n-xd",rel:"alternate",href:h,hreflang:"x-default"})}return o}function sg(e,t){const n=e.router.currentRoute.value,r=Zi(e,Ne({},n,{path:void 0,name:is(e,n)}));return r?Vi(wr(t.baseUrl,r.path),og(e,t)):""}function oP(e,t){const n=sg(e,t);return n?[{[t.key]:"i18n-can",rel:"canonical",href:n}]:[]}function og(e,t){var a;const n=e.router.currentRoute.value,r=Zi(e,Ne({},n,{path:void 0,name:is(e,n)})),s=ye(t.seo)&&((a=t.seo)==null?void 0:a.canonicalQueries)||[],o=(r==null?void 0:r.query)||{},i={};for(const l of s.filter(u=>u in o)){i[l]??(i[l]=[]);for(const u of YS(o[l]))i[l].push(u||"")}return i}function iP(e,t){const n=sg(e,t);return n?[{[t.key]:"i18n-og-url",property:"og:url",content:n}]:[]}function aP(e){return e.currentLanguage?[{[e.key]:"i18n-og",property:"og:locale",content:ig(e.currentLanguage)}]:[]}function lP(e){return e.locales.filter(n=>n.language&&n.language!==e.currentLanguage).map(n=>({[e.key]:`i18n-og-alt-${n.language}`,property:"og:locale:alternate",content:ig(n.language)}))}function ig(e=""){return e.replace(/-/g,"_")}/*!
48  * message-compiler v11.1.3
49  * (c) 2025 kazuya kawaguchi
50  * Released under the MIT License.
51  */function cP(e,t,n){return{line:e,column:t,offset:n}}function $l(e,t,n){return{start:e,end:t}}const Te={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,UNTE
51RMINATED_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},uP=17;function ea(e,t,n={}){const{domain:r,messages:s,args:o}=n,i=e,a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=r,a}function fP(e){throw e}const cn=" ",dP="\r",mt=`
52`,hP="\u2028",pP="\u2029";function mP(e){const t=e;let n=0,r=1,s=1,o=0;const i=A=>t[A]===dP&&t[A+1]===mt,a=A=>t[A]===mt,l=A=>t[A]===pP,u=A=>t[A]===hP,c=A=>i(A)||a(A)||l(A)||u(A),f=()=>n,d=()=>r,h=()=>s,g=()=>o,p=A=>i(A)||l(A)||u(A)?mt:t[A],b=()=>p(n),y=()=>p(n+o);function v(){return o=0,c(n)&&(r++,s=0),i(n)&&n++,n++,s++,t[n]}function m(){return i(n+o)&&o++,o++,t[n+o]}function _(){n=0,r=1,s=1,o=0}function T(A=0){o=A}function C(){const A=n+o;for(;A!==n;)v();o=0}return{index:f,line:d,column:h,peekOffset:g,charAt:p,currentChar:b,currentPeek:y,next:v,peek:m,reset:_,resetPeek:T,skipToPeek:C}}const An=void 0,gP=".",id="'",_P="tokenizer";function yP(e,t={}){const n=t.location!==!1,r=mP(e),s=()=>r.index(),o=()=>cP(r.line(),r.column(),r.index()),i=o(),a=s(),l={currentType:13,offset:a,startLoc:i,endLoc:i,lastType:13,lastOffset:a,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},u=()=>l,{onError:c}=t;function f(w,k,I,...j){const F=u();if(k.column+=I,k.offset+=I,c){const z=n?$l(F.startLoc,k):null,R=ea(w,z,{domain:_P,args:j});c(R)}}function d(w,k,I){w.endLoc=o(),w.currentType=k;const j={type:k};return n&&(j.loc=$l(w.startLoc,w.endLoc)),I!=null&&(j.value=I),j}const h=w=>d(w,13);function g(w,k){return w.currentChar()===k?(w.next(),k):(f(Te.EXPECTED_TOKEN,o(),0,k),"")}function p(w){let k="";for(;w.currentPeek()===cn||w.currentPeek()===mt;)k+=w.currentPeek(),w.peek();return k}function b(w){const k=p(w);return w.skipToPeek(),k}function y(w){if(w===An)return!1;const k=w.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k===95}function v(w){if(w===An)return!1;const k=w.charCodeAt(0);return k>=48&&k<=57}function m(w,k){const{currentType:I}=k;if(I!==2)return!1;p(w);const j=y(w.currentPeek());return w.resetPeek(),j}function _(w,k){const{currentType:I}=k;if(I!==2)return!1;p(w);const j=w.currentPeek()==="-"?w.peek():w.currentPeek(),F=v(j);return w.resetPeek(),F}function T(w,k){const{currentType:I}=k;if(I!==2)return!1;p(w);const j=w.currentPeek()===id;return w.resetPeek(),j}function C(w,k){const{currentType:I}=k;if(I!==7)return!1;p(w);const j=w.currentPeek()===".";return w.resetPeek(),j}function A(w,k){const{currentType:I}=k;if(I!==8)return!1;p(w);const j=y(w.currentPeek());return w.resetPeek(),j}function O(w,k){const{currentType:I}=k;if(!(I===7||I===11))return!1;p(w);const j=w.currentPeek()===":";return w.resetPeek(),j}function L(w,k){const{currentType:I}=k;if(I!==9)return!1;const j=()=>{const z=w.currentPeek();return z==="{"?y(w.peek()):z==="@"||z==="|"||z===":"||z==="."||z===cn||!z?!1:z===mt?(w.peek(),j()):B(w,!1)},F=j();return w.resetPeek(),F}function x(w){p(w);const k=w.currentPeek()==="|";return w.resetPeek(),k}function B(w,k=!0){const I=(F=!1,z="")=>{const R=w.currentPeek();return R==="{"||R==="@"||!R?F:R==="|"?!(z===cn||z===mt):R===cn?(w.peek(),I(!0,cn)):R===mt?(w.peek(),I(!0,mt)):!0},j=I();return k&&w.resetPeek(),j}function M(w,k){const I=w.currentChar();return I===An?An:k(I)?(w.next(),I):null}function G(w){const k=w.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k>=48&&k<=57||k===95||k===36}function ie(w){return M(w,G)}function le(w){const k=w.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k>=48&&k<=57||k===95||k===36||k===45}function J(w){return M(w,le)}function Q(w){const k=w.charCodeAt(0);return k>=48&&k<=57}function X(w){return M(w,Q)}function me(w){const k=w.charCodeAt(0);return k>=48&&k<=57||k>=65&&k<=70||k>=97&&k<=102}function He(w){return M(w,me)}function Ie(w){let k="",I="";for(;k=X(w);)I+=k;return I}function De(w){let k="";for(;;){const I=w.currentChar();if(I==="{"||I==="}"||I==="@"||I==="|"||!I)break;if(I===cn||I===mt)if(B(w))k+=I,w.next();else{if(x(w))break;k+=I,w.next()}else k+=I,w.next()}return k}function ft(w){b(w);let k="",I="";for(;k=J(w);)I+=k;return w.currentChar()===An&&f(Te.UNTERMINATED_CLOSING_BRACE,o(),0),I}function dt(w){b(w);let k="";return w.currentChar()==="-"?(w.next(),k+=`-${Ie(w)}`):k+=Ie(w),w.currentChar()===An&&f(Te.UNTERMINATED_CLOSING_BRACE,o(),0),k}function $t(w){return w!==id&&w!==mt}function Qe(w){b(w),g(w,"'");let k="",I="";for(;k=M(w,$t);)k==="\\"?I+=P(w):I+=k;const j=w.currentChar();return j===mt||j===An?(f(Te.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),j===mt&&(w.next(),g(w,"'")),I):(g(w,"'"),I)}function P(w){const k=w.currentChar();switch(k){case"\\":case"'":return w.next(),`\\${k}`;case"u":return W(w,k,4);case"U":return W(w,k,6);default:return f(Te.UNKNOWN_ESCAPE_SEQUENCE,o(),0,k),""}}function W(w,k,I){g(w,k);let j="";for(let F=0;F<I;F++){const z=He(w);if(!z){f(Te.INVALID_UNICODE_ESCAPE_SEQUENCE,o(),0,`\\${k}${j}${w.currentChar()}`);break}j+=z}return`\\${k}${j}`}function V(w){return w!=="{"&&w!=="}"&&w!==cn&&w!==mt}function q(w){b(w);let k="",I="";for(;k=M(w,V);)I+=k;return I}function ne(w){let k="",I="";for(;k=ie(w);)I+=k;return I}function re(w){const k=I=>{const j=w.currentChar();return j==="{"||j==="@"||j==="|"||j==="("||j===")"||!j||j===cn?I:(I+=j,w.next(),k(I))};return k("")}function E(w){b(w);const k=g(w,"|");return b(w),k}function S(w,k){let I=null;switch(w.currentChar()){case"{":return k.braceNest>=1&&f(Te.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),w.next(),I=d(k,2,"{"),b(w),k.braceNest++,I;case"}":return k.braceNest>0&&k.currentType===2&&f(Te.EMPTY_PLACEHOLDER,o(),0),w.next(),I=d(k,3,"}"),k.braceNest--,k.braceNest>0&&b(w),k.inLinked&&k.braceNest===0&&(k.inLinked=!1),I;case"@":return k.braceNest>0&&f(Te.UNTERMINATED_CLOSING_BRACE,o(),0),I=$(w,k)||h(k),k.braceNest=0,I;default:{let F=!0,z=!0,R=!0;if(x(w))return k.braceNest>0&&f(Te.UNTERMINATED_CLOSING_BRACE,o(),0),I=d(k,1,E(w)),k.braceNest=0,k.inLinked=!1,I;if(k.braceNest>
520&&(k.currentType===4||k.currentType===5||k.currentType===6))return f(Te.UNTERMINATED_CLOSING_BRACE,o(),0),k.braceNest=0,H(w,k);if(F=m(w,k))return I=d(k,4,ft(w)),b(w),I;if(z=_(w,k))return I=d(k,5,dt(w)),b(w),I;if(R=T(w,k))return I=d(k,6,Qe(w)),b(w),I;if(!F&&!z&&!R)return I=d(k,12,q(w)),f(Te.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,I.value),b(w),I;break}}return I}function $(w,k){const{currentType:I}=k;let j=null;const F=w.currentChar();switch((I===7||I===8||I===11||I===9)&&(F===mt||F===cn)&&f(Te.INVALID_LINKED_FORMAT,o(),0),F){case"@":return w.next(),j=d(k,7,"@"),k.inLinked=!0,j;case".":return b(w),w.next(),d(k,8,".");case":":return b(w),w.next(),d(k,9,":");default:return x(w)?(j=d(k,1,E(w)),k.braceNest=0,k.inLinked=!1,j):C(w,k)||O(w,k)?(b(w),$(w,k)):A(w,k)?(b(w),d(k,11,ne(w))):L(w,k)?(b(w),F==="{"?S(w,k)||j:d(k,10,re(w))):(I===7&&f(Te.INVALID_LINKED_FORMAT,o(),0),k.braceNest=0,k.inLinked=!1,H(w,k))}}function H(w,k){let I={type:13};if(k.braceNest>0)return S(w,k)||h(k);if(k.inLinked)return $(w,k)||h(k);switch(w.currentChar()){case"{":return S(w,k)||h(k);case"}":return f(Te.UNBALANCED_CLOSING_BRACE,o(),0),w.next(),d(k,3,"}");case"@":return $(w,k)||h(k);default:{if(x(w))return I=d(k,1,E(w)),k.braceNest=0,k.inLinked=!1,I;if(B(w))return d(k,0,De(w));break}}return I}function U(){const{currentType:w,offset:k,startLoc:I,endLoc:j}=l;return l.lastType=w,l.lastOffset=k,l.lastStartLoc=I,l.lastEndLoc=j,l.offset=s(),l.startLoc=o(),r.currentChar()===An?d(l,13):H(r,l)}return{nextToken:U,currentOffset:s,currentPosition:o,context:u}}const vP="parser",bP=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function wP(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 EP(e={}){const t=e.location!==!1,{onError:n}=e;function r(y,v,m,_,...T){const C=y.currentPosition();if(C.offset+=_,C.column+=_,n){const A=t?$l(m,C):null,O=ea(v,A,{domain:vP,args:T});n(O)}}function s(y,v,m){const _={type:y};return t&&(_.start=v,_.end=v,_.loc={start:m,end:m}),_}function o(y,v,m,_){t&&(y.end=v,y.loc&&(y.loc.end=m))}function i(y,v){const m=y.context(),_=s(3,m.offset,m.startLoc);return _.value=v,o(_,y.currentOffset(),y.currentPosition()),_}function a(y,v){const m=y.context(),{lastOffset:_,lastStartLoc:T}=m,C=s(5,_,T);return C.index=parseInt(v,10),y.nextToken(),o(C,y.currentOffset(),y.currentPosition()),C}function l(y,v){const m=y.context(),{lastOffset:_,lastStartLoc:T}=m,C=s(4,_,T);return C.key=v,y.nextToken(),o(C,y.currentOffset(),y.currentPosition()),C}function u(y,v){const m=y.context(),{lastOffset:_,lastStartLoc:T}=m,C=s(9,_,T);return C.value=v.replace(bP,wP),y.nextToken(),o(C,y.currentOffset(),y.currentPosition()),C}function c(y){const v=y.nextToken(),m=y.context(),{lastOffset:_,lastStartLoc:T}=m,C=s(8,_,T);return v.type!==11?(r(y,Te.UNEXPECTED_EMPTY_LINKED_MODIFIER,m.lastStartLoc,0),C.value="",o(C,_,T),{nextConsumeToken:v,node:C}):(v.value==null&&r(y,Te.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,Yt(v)),C.value=v.value||"",o(C,y.currentOffset(),y.currentPosition()),{node:C})}function f(y,v){const m=y.context(),_=s(7,m.offset,m.startLoc);return _.value=v,o(_,y.currentOffset(),y.currentPosition()),_}function d(y){const v=y.context(),m=s(6,v.offset,v.startLoc);let _=y.nextToken();if(_.type===8){const T=c(y);m.modifier=T.node,_=T.nextConsumeToken||y.nextToken()}switch(_.type!==9&&r(y,Te.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Yt(_)),_=y.nextToken(),_.type===2&&(_=y.nextToken()),_.type){case 10:_.value==null&&r(y,Te.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Yt(_)),m.key=f(y,_.value||"");break;case 4:_.value==null&&r(y,Te.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Yt(_)),m.key=l(y,_.value||"");break;case 5:_.value==null&&r(y,Te.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Yt(_)),m.key=a(y,_.value||"");break;case 6:_.value==null&&r(y,Te.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Yt(_)),m.key=u(y,_.value||"");break;default:{r(y,Te.UNEXPECTED_EMPTY_LINKED_KEY,v.lastStartLoc,0);const T=y.context(),C=s(7,T.offset,T.startLoc);return C.value="",o(C,T.offset,T.startLoc),m.key=C,o(m,T.offset,T.startLoc),{nextConsumeToken:_,node:m}}}return o(m,y.currentOffset(),y.currentPosition()),{node:m}}function h(y){const v=y.context(),m=v.currentType===1?y.currentOffset():v.offset,_=v.currentType===1?v.endLoc:v.startLoc,T=s(2,m,_);T.items=[];let C=null;do{const L=C||y.nextToken();
52switch(C=null,L.type){case 0:L.value==null&&r(y,Te.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Yt(L)),T.items.push(i(y,L.value||""));break;case 5:L.value==null&&r(y,Te.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Yt(L)),T.items.push(a(y,L.value||""));break;case 4:L.value==null&&r(y,Te.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Yt(L)),T.items.push(l(y,L.value||""));break;case 6:L.value==null&&r(y,Te.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Yt(L)),T.items.push(u(y,L.value||""));break;case 7:{const x=d(y);T.items.push(x.node),C=x.nextConsumeToken||null;break}}}while(v.currentType!==13&&v.currentType!==1);const A=v.currentType===1?v.lastOffset:y.currentOffset(),O=v.currentType===1?v.lastEndLoc:y.currentPosition();return o(T,A,O),T}function g(y,v,m,_){const T=y.context();let C=_.items.length===0;const A=s(1,v,m);A.cases=[],A.cases.push(_);do{const O=h(y);C||(C=O.items.length===0),A.cases.push(O)}while(T.currentType!==13);return C&&r(y,Te.MUST_HAVE_MESSAGES_IN_PLURAL,m,0),o(A,y.currentOffset(),y.currentPosition()),A}function p(y){const v=y.context(),{offset:m,startLoc:_}=v,T=h(y);return v.currentType===13?T:g(y,m,_,T)}function b(y){const v=yP(y,Ne({},e)),m=v.context(),_=s(0,m.offset,m.startLoc);return t&&_.loc&&(_.loc.source=y),_.body=p(v),e.onCacheKey&&(_.cacheKey=e.onCacheKey(y)),m.currentType!==13&&r(v,Te.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,y[m.offset]||""),o(_,v.currentOffset(),v.currentPosition()),_}return{parse:b}}function Yt(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 TP(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:o=>(n.helpers.add(o),o)}}function ad(e,t){for(let n=0;n<e.length;n++)Dc(e[n],t)}function Dc(e,t){switch(e.type){case 1:ad(e.cases,t),t.helper("plural");break;case 2:ad(e.items,t);break;case 6:{Dc(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 kP(e,t={}){const n=TP(e);n.helper("normalize"),e.body&&Dc(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function SP(e){const t=e.body;return t.type===2?ld(t):t.cases.forEach(n=>ld(n)),e}function ld(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=Lc(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 Fr(e){switch(e.t=e.type,e.type){case 0:{const t=e;Fr(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++)Fr(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++)Fr(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;Fr(t.key),t.k=t.key,delete t.key,t.modifier&&(Fr(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 PP(e,t){const{filename:n,breakLineCode:r,needIndent:s}=t,o=t.location!==!1,i={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:s,indentLevel:0};o&&e.loc&&(i.source=e.loc.source);const a=()=>i;function l(p,b){i.code+=p}function u(p,b=!0){const y=b?r:"";l(s?y+"  ".repeat(p):y)}function c(p=!0){const b=++i.indentLevel;p&&u(b)}function f(p=!0){const b=--i.indentLevel;p&&u(b)}function d(){u(i.indentLevel)}return{context:a,push:l,indent:c,deindent:f,newline:d,helper:p=>`_${p}`,needIndent:()=>i.needIndent}}function CP(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),as(e,t.key),t.modifier?(e.push(", "),as(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function AP(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const s=t.items.length;for(let o=0;o<s&&(as(e,t.items[o]),o!==s-1);
52o++)e.push(", ");e.deindent(r()),e.push("])")}function RP(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const s=t.cases.length;for(let o=0;o<s&&(as(e,t.cases[o]),o!==s-1);o++)e.push(", ");e.deindent(r()),e.push("])")}}function OP(e,t){t.body?as(e,t.body):e.push("null")}function as(e,t){const{helper:n}=e;switch(t.type){case 0:OP(e,t);break;case 1:RP(e,t);break;case 2:AP(e,t);break;case 6:CP(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 LP=(e,t={})=>{const n=K(t.mode)?t.mode:"normal",r=K(t.filename)?t.filename:"message.intl";t.sourceMap;const s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
53`,o=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],a=PP(e,{filename:r,breakLineCode:s,needIndent:o});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(o),i.length>0&&(a.push(`const { ${Lc(i.map(c=>`${c}: _${c}`),", ")} } = ctx`),a.newline()),a.push("return "),as(a,e),a.deindent(o),a.push("}"),delete e.helpers;const{code:l,map:u}=a.context();return{ast:e,code:l,map:u?u.toJSON():void 0}};function IP(e,t={}){const n=Ne({},t),r=!!n.jit,s=!!n.minify,o=n.optimize==null?!0:n.optimize,a=EP(n).parse(e);return r?(o&&SP(a),s&&Fr(a),{ast:a,code:""}):(kP(a,n),LP(a,n))}/*!
54  * core-base v10.0.7
55  * (c) 2025 kazuya kawaguchi
56  * Released under the MIT License.
57  */function xP(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Oc().__INTLIFY_PROD_DEVTOOLS__=!1)}function sn(e){return ye(e)&&jc(e)===0&&(Ut(e,"b")||Ut(e,"body"))}const ag=["b","body"];function $P(e){return Zn(e,ag)}const lg=["c","cases"];function DP(e){return Zn(e,lg,[])}const cg=["s","static"];function jP(e){return Zn(e,cg)}const ug=["i","items"];function NP(e){return Zn(e,ug,[])}const fg=["t","type"];function jc(e){return Zn(e,fg)}const dg=["v","value"];function Wo(e,t){const n=Zn(e,dg);if(n!=null)return n;throw io(t)}const hg=["m","modifier"];function MP(e){return Zn(e,hg)}const pg=["k","key"];function UP(e){const t=Zn(e,pg);if(t)return t;throw io(6)}function Zn(e,t,n){for(let r=0;r<t.length;r++){const s=t[r];if(Ut(e,s)&&e[s]!=null)return e[s]}return n}const mg=[...ag,...lg,...cg,...ug,...pg,...hg,...dg,...fg];function io(e){return new Error(`unhandled node type: ${e}`)}function $a(e){return n=>FP(n,e)}function FP(e,t){const n=$P(t);if(n==null)throw io(0);if(jc(n)===1){const o=DP(n);return e.plural(o.reduce((i,a)=>[...i,cd(e,a)],[]))}else return cd(e,n)}function cd(e,t){const n=jP(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=NP(t).reduce((s,o)=>[...s,Dl(e,o)],[]);return e.normalize(r)}}function Dl(e,t){const n=jc(t);switch(n){case 3:return Wo(t,n);case 9:return Wo(t,n);case 4:{const r=t;if(Ut(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(Ut(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw io(n)}case 5:{const r=t;if(Ut(r,"i")&&ze(r.i))return e.interpolate(e.list(r.i));if(Ut(r,"index")&&ze(r.index))return e.interpolate(e.list(r.index));throw io(n)}case 6:{const r=t,s=MP(r),o=UP(r);return e.linked(Dl(e,o),s?Dl(e,s):void 0,e.type)}case 7:return Wo(t,n);case 8:return Wo(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const HP=e=>e;let zo=ke();function BP(e,t={}){let n=!1;const r=t.onError||fP;return t.onError=s=>{n=!0,r(s)},{...IP(e,t),detectError:n}}function VP(e,t){if(K(e)){Ue(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||HP)(e),s=zo[r];if(s)return s;const{ast:o,detectError:i}=BP(e,{...t,location:!1,jit:!0}),a=$a(o);return i?a:zo[r]=a}else{const n=e.cacheKey;if(n){const r=zo[n];return r||(zo[n]=$a(e))}else return $a(e)}}let ao=null;function WP(e){ao=e}function zP(e,t,n){ao&&ao.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const qP=KP("function:translate");function KP(e){return t=>ao&&ao.emit(e,t)}const yn={INVALID_ARGUMENT:uP,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},GP=24;function vn(e){return ea(e,null,void 0)}function Nc(e,t){return t.locale!=null?ud(t.locale):ud(e.locale)}let Da;function ud(e){if(K(e))return e;if(Ae(e)){if(e.resolvedOnce&&Da!=null)return Da;if(e.constructor.name==="Function"){const t=e();if(wS(t))throw vn(yn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Da=t}else throw vn(yn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw vn(yn.NOT_SUPPORT_LOCALE_TYPE)}function JP(e,t,n){return[...new Set([n,...Fe(t)?t:ye(t)?Object.keys(t):K(t)?[t]:[n]])]}function gg(e,t,n){const r=K(n)?n:Ci,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let o=s.__localeChainCache.get(r);if(!o){o=[];let i=[n];for(;Fe(i);)i=fd(o,i,t);const a=Fe(t)||!_e(t)?t:t.default?t.default:null;i=K(a)?[a]:a,Fe(i)&&fd(o,i,!1),s.__localeChainCache.set(r,o)}return o}function fd(e,t,n){let r=!0;for(let s=0;s<t.length&&Ue(r);s++){const o=t[s];K(o)&&(r=YP(e,t[s],n))}return r}function YP(e,t,n){let r;const s=t.split("-");do{const o=s.join("-");r=XP(e,o,n),s.splice(-1,1)}while(s.length&&r===!0);return r}function XP(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const s=t.replace(/!/g,"");e.push(s),(Fe(n)||_e(n))&&n[s]&&(r=n[s])}return r}const er=[];er[0]={w:[0],i:[3,0],"[":[4],o:[7]};er[1]={w:[1],".":[2],"[":[4],o:[7]};er[2]={w:[2],i:[3,0],0:[3,0]};er[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};er[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};er[5]={"'":[4,0],o:8,l:[5,0]};er[6]={'"':[4,0],o:8,l:[6,0]};const QP=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function ZP(e){return QP.test(e)}function eC(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 tC(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 nC(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:ZP(t)?eC(t):"*"+t}function rC(e){const t=[];let n=-1,r=0,s=0,o,i,a,l,u,c,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](),s++},d[3]=()=>
57{if(s>0)s--,r=4,d[0]();else{if(s=0,i===void 0||(i=nC(i),i===!1))return!1;d[1]()}};function h(){const g=e[n+1];if(r===5&&g==="'"||r===6&&g==='"')return n++,a="\\"+g,d[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&h())){if(l=tC(o),f=er[r],u=f[l]||f.l||8,u===8||(r=u[0],u[1]!==void 0&&(c=d[u[1]],c&&(a=o,c()===!1))))return;if(r===7)return t}}const dd=new Map;function sC(e,t){return ye(e)?e[t]:null}function oC(e,t){if(!ye(e))return null;let n=dd.get(t);if(n||(n=rC(t),n&&dd.set(t,n)),!n)return null;const r=n.length;let s=e,o=0;for(;o<r;){const i=n[o];if(mg.includes(i)&&sn(s))return null;const a=s[i];if(a===void 0||Ae(s))return null;s=a,o++}return s}const iC="10.0.7",ta=-1,Ci="en-US",hd="",pd=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function aC(){return{upper:(e,t)=>t==="text"&&K(e)?e.toUpperCase():t==="vnode"&&ye(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&K(e)?e.toLowerCase():t==="vnode"&&ye(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&K(e)?pd(e):t==="vnode"&&ye(e)&&"__v_isVNode"in e?pd(e.children):e}}let _g;function lC(e){_g=e}let yg;function cC(e){yg=e}let vg;function uC(e){vg=e}let bg=null;const fC=e=>{bg=e},dC=()=>bg;let wg=null;const md=e=>{wg=e},hC=()=>wg;let gd=0;function pC(e={}){const t=Ae(e.onWarn)?e.onWarn:TS,n=K(e.version)?e.version:iC,r=K(e.locale)||Ae(e.locale)?e.locale:Ci,s=Ae(r)?Ci:r,o=Fe(e.fallbackLocale)||_e(e.fallbackLocale)||K(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,i=_e(e.messages)?e.messages:ja(s),a=_e(e.datetimeFormats)?e.datetimeFormats:ja(s),l=_e(e.numberFormats)?e.numberFormats:ja(s),u=Ne(ke(),e.modifiers,aC()),c=e.pluralRules||ke(),f=Ae(e.missing)?e.missing:null,d=Ue(e.missingWarn)||Si(e.missingWarn)?e.missingWarn:!0,h=Ue(e.fallbackWarn)||Si(e.fallbackWarn)?e.fallbackWarn:!0,g=!!e.fallbackFormat,p=!!e.unresolving,b=Ae(e.postTranslation)?e.postTranslation:null,y=_e(e.processor)?e.processor:null,v=Ue(e.warnHtmlMessage)?e.warnHtmlMessage:!0,m=!!e.escapeParameter,_=Ae(e.messageCompiler)?e.messageCompiler:_g,T=Ae(e.messageResolver)?e.messageResolver:yg||sC,C=Ae(e.localeFallbacker)?e.localeFallbacker:vg||JP,A=ye(e.fallbackContext)?e.fallbackContext:void 0,O=e,L=ye(O.__datetimeFormatters)?O.__datetimeFormatters:new Map,x=ye(O.__numberFormatters)?O.__numberFormatters:new Map,B=ye(O.__meta)?O.__meta:{};gd++;const M={version:n,cid:gd,locale:r,fallbackLocale:o,messages:i,modifiers:u,pluralRules:c,missing:f,missingWarn:d,fallbackWarn:h,fallbackFormat:g,unresolving:p,postTranslation:b,processor:y,warnHtmlMessage:v,escapeParameter:m,messageCompiler:_,messageResolver:T,localeFallbacker:C,fallbackContext:A,onWarn:t,__meta:B};return M.datetimeFormats=a,M.numberFormats=l,M.__datetimeFormatters=L,M.__numberFormatters=x,__INTLIFY_PROD_DEVTOOLS__&&zP(M,n,B),M}const ja=e=>({[e]:ke()});function Mc(e,t,n,r,s){const{missing:o,onWarn:i}=e;if(o!==null){const a=o(e,n,t,s);return K(a)?a:t}else return t}function ks(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function mC(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function gC(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(mC(e,t[r]))return!0;return!1}function _d(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:i}=e,{__datetimeFormatters:a}=e,[l,u,c,f]=jl(...t),d=Ue(c.missingWarn)?c.missingWarn:e.missingWarn;Ue(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const h=!!c.part,g=Nc(e,c),p=i(e,s,g);if(!K(l)||l==="")return new Intl.DateTimeFormat(g,f).format(u);let b={},y,v=null;const m="datetime format";for(let C=0;C<p.length&&(y=p[C],b=n[y]||{},v=b[l],!_e(v));C++)Mc(e,l,y,d,m);if(!_e(v)||!K(y))return r?ta:l;let _=`${y}__${l}`;Gi(f)||(_=`${_}__${JSON.stringify(f)}`);let T=a.get(_);return T||(T=new Intl.DateTimeFormat(y,Ne({},v,f)),a.set(_,T)),h?T.formatToParts(u):T.format(u)}const Eg=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function jl(...e){const[t,n,r,s]=e,o=ke();let i=ke(),a;if(K(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw vn(yn.INVALID_ISO_DATE_ARGUMENT);const u=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(u);try{a.toISOString()}catch{throw vn(yn.INVALID_ISO_DATE_ARGUMENT)}}else if(yS(t)){if(isNaN(t.getTime()))throw vn(yn.INVALID_DATE_ARGUMENT);a=t}else if(ze(t))a=t;else throw vn(yn.INVALID_ARGUMENT);
57return K(n)?o.key=n:_e(n)&&Object.keys(n).forEach(l=>{Eg.includes(l)?i[l]=n[l]:o[l]=n[l]}),K(r)?o.locale=r:_e(r)&&(i=r),_e(s)&&(i=s),[o.key||"",a,o,i]}function yd(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__datetimeFormatters.has(o)&&r.__datetimeFormatters.delete(o)}}function vd(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:i}=e,{__numberFormatters:a}=e,[l,u,c,f]=Nl(...t),d=Ue(c.missingWarn)?c.missingWarn:e.missingWarn;Ue(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const h=!!c.part,g=Nc(e,c),p=i(e,s,g);if(!K(l)||l==="")return new Intl.NumberFormat(g,f).format(u);let b={},y,v=null;const m="number format";for(let C=0;C<p.length&&(y=p[C],b=n[y]||{},v=b[l],!_e(v));C++)Mc(e,l,y,d,m);if(!_e(v)||!K(y))return r?ta:l;let _=`${y}__${l}`;Gi(f)||(_=`${_}__${JSON.stringify(f)}`);let T=a.get(_);return T||(T=new Intl.NumberFormat(y,Ne({},v,f)),a.set(_,T)),h?T.formatToParts(u):T.format(u)}const Tg=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Nl(...e){const[t,n,r,s]=e,o=ke();let i=ke();if(!ze(t))throw vn(yn.INVALID_ARGUMENT);const a=t;return K(n)?o.key=n:_e(n)&&Object.keys(n).forEach(l=>{Tg.includes(l)?i[l]=n[l]:o[l]=n[l]}),K(r)?o.locale=r:_e(r)&&(i=r),_e(s)&&(i=s),[o.key||"",a,o,i]}function bd(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__numberFormatters.has(o)&&r.__numberFormatters.delete(o)}}const _C=e=>e,yC=e=>"",vC="text",bC=e=>e.length===0?"":Lc(e),wC=ES;function wd(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function EC(e){const t=ze(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(ze(e.named.count)||ze(e.named.n))?ze(e.named.count)?e.named.count:ze(e.named.n)?e.named.n:t:t}function TC(e,t){t.count||(t.count=e),t.n||(t.n=e)}function kC(e={}){const t=e.locale,n=EC(e),r=ye(e.pluralRules)&&K(t)&&Ae(e.pluralRules[t])?e.pluralRules[t]:wd,s=ye(e.pluralRules)&&K(t)&&Ae(e.pluralRules[t])?wd:void 0,o=y=>y[r(n,y.length,s)],i=e.list||[],a=y=>i[y],l=e.named||ke();ze(e.pluralIndex)&&TC(n,l);const u=y=>l[y];function c(y,v){const m=Ae(e.messages)?e.messages(y,!!v):ye(e.messages)?e.messages[y]:!1;return m||(e.parent?e.parent.message(y):yC)}const f=y=>e.modifiers?e.modifiers[y]:_C,d=_e(e.processor)&&Ae(e.processor.normalize)?e.processor.normalize:bC,h=_e(e.processor)&&Ae(e.processor.interpolate)?e.processor.interpolate:wC,g=_e(e.processor)&&K(e.processor.type)?e.processor.type:vC,b={list:a,named:u,plural:o,linked:(y,...v)=>{const[m,_]=v;let T="text",C="";v.length===1?ye(m)?(C=m.modifier||C,T=m.type||T):K(m)&&(C=m||C):v.length===2&&(K(m)&&(C=m||C),K(_)&&(T=_||T));const A=c(y,!0)(b),O=T==="vnode"&&Fe(A)&&C?A[0]:A;return C?f(C)(O,T):O},message:c,type:g,interpolate:h,normalize:d,values:Ne(ke(),i,l)};return b}const Ed=()=>"",Ct=e=>Ae(e);function Td(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:o,fallbackLocale:i,messages:a}=e,[l,u]=Ml(...t),c=Ue(u.missingWarn)?u.missingWarn:e.missingWarn,f=Ue(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,d=Ue(u.escapeParameter)?u.escapeParameter:e.escapeParameter,h=!!u.resolvedMessage,g=K(u.default)||Ue(u.default)?Ue(u.default)?o?l:()=>l:u.default:n?o?l:()=>l:null,p=n||g!=null&&(K(g)||Ae(g)),b=Nc(e,u);d&&SC(u);let[y,v,m]=h?[l,b,a[b]||ke()]:kg(e,l,b,i,f,c),_=y,T=l;if(!h&&!(K(_)||sn(_)||Ct(_))&&p&&(_=g,T=_),!h&&(!(K(_)||sn(_)||Ct(_))||!K(v)))return s?ta:l;let C=!1;const A=()=>{C=!0},O=Ct(_)?_:Sg(e,l,v,_,T,A);if(C)return _;const L=AC(e,v,m,u),x=kC(L),B=PC(e,O,x),M=r?r(B,l):B;if(__INTLIFY_PROD_DEVTOOLS__){const G={timestamp:Date.now(),key:K(l)?l:Ct(_)?_.key:"",locale:v||(Ct(_)?_.locale:""),format:K(_)?_:Ct(_)?_.source:"",message:M};G.meta=Ne({},e.__meta,dC()||{}),qP(G)}return M}function SC(e){Fe(e.list)?e.list=e.list.map(t=>K(t)?rd(t):t):ye(e.named)&&Object.keys(e.named).forEach(t=>{K(e.named[t])&&(e.named[t]=rd(e.named[t]))})}function kg(e,t,n,r,s,o){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:u}=e,c=u(e,r,n);let f=ke(),d,h=null;const g="translate";for(let p=0;p<c.length&&(d=c[p],f=i[d]||ke(),(h=l(f,t))===null&&(h=f[t]),!(K(h)||sn(h)||Ct(h)));p++)if(!gC(d,c)){const b=Mc(e,t,d,o,g);b!==t&&(h=b)}return[h,d,f]}function Sg(e,t,n,r,s,o){const{messageCompiler:i,warnHtmlMessage:a}=e;if(Ct(r)){const u=r;return u.locale=u.locale||n,u.key=u.key||t,u}if(i==null){const u=()=>r;return u.locale=n,u.key=t,u}const l=i(r,CC(e,n,s,r,a,o));return l.locale=n,l.key=t,l.source=r,l}
57function PC(e,t,n){return t(n)}function Ml(...e){const[t,n,r]=e,s=ke();if(!K(t)&&!ze(t)&&!Ct(t)&&!sn(t))throw vn(yn.INVALID_ARGUMENT);const o=ze(t)?String(t):(Ct(t),t);return ze(n)?s.plural=n:K(n)?s.default=n:_e(n)&&!Gi(n)?s.named=n:Fe(n)&&(s.list=n),ze(r)?s.plural=r:K(r)?s.default=r:_e(r)&&Ne(s,r),[o,s]}function CC(e,t,n,r,s,o){return{locale:t,key:n,warnHtmlMessage:s,onError:i=>{throw o&&o(i),i},onCacheKey:i=>gS(t,n,i)}}function AC(e,t,n,r){const{modifiers:s,pluralRules:o,messageResolver:i,fallbackLocale:a,fallbackWarn:l,missingWarn:u,fallbackContext:c}=e,d={locale:t,modifiers:s,pluralRules:o,messages:(h,g)=>{let p=i(n,h);if(p==null&&(c||g)){const[,,b]=kg(c||e,h,t,a,l,u);p=i(b,h)}if(K(p)||sn(p)){let b=!1;const v=Sg(e,h,t,p,h,()=>{b=!0});return b?Ed:v}else return Ct(p)?p:Ed}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),ze(r.plural)&&(d.pluralIndex=r.plural),d}xP();/*!
58  * vue-i18n v10.0.7
59  * (c) 2025 kazuya kawaguchi
60  * Released under the MIT License.
61  */const RC="10.0.7";function OC(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Oc().__INTLIFY_PROD_DEVTOOLS__=!1)}
61const xt={UNEXPECTED_RETURN_TYPE:GP,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 zt(e,...t){return ea(e,null,void 0)}const Ul=Qn("__translateVNode"),Fl=Qn("__datetimeParts"),Hl=Qn("__numberParts"),LC=Qn("__setPluralRules"),IC=Qn("__injectWithOption"),Bl=Qn("__dispose");function lo(e){if(!ye(e)||sn(e))return e;for(const t in e)if(Ut(e,t))if(!t.includes("."))ye(e[t])&&lo(e[t]);else{const n=t.split("."),r=n.length-1;let s=e,o=!1;for(let i=0;i<r;i++){if(n[i]==="__proto__")throw new Error(`unsafe key: ${n[i]}`);if(n[i]in s||(s[n[i]]=ke()),!ye(s[n[i]])){o=!0;break}s=s[n[i]]}if(o||(sn(s)?mg.includes(n[r])||delete e[t]:(s[n[r]]=e[t],delete e[t])),!sn(s)){const i=s[n[r]];ye(i)&&lo(i)}}return e}function Pg(e,t){const{messages:n,__i18n:r,messageResolver:s,flatJson:o}=t,i=_e(n)?n:Fe(r)?ke():{[e]:ke()};if(Fe(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:u}=a;l?(i[l]=i[l]||ke(),Yr(u,i[l])):Yr(u,i)}else K(a)&&Yr(JSON.parse(a),i)}),s==null&&o)for(const a in i)Ut(i,a)&&lo(i[a]);return i}function Cg(e){return e.type}function xC(e,t,n){let r=ye(t.messages)?t.messages:ke();"__i18nGlobal"in n&&(r=Pg(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(ye(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(ye(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function kd(e){return ve(qn,null,e,0)}const Sd="__INTLIFY_META__",Pd=()=>[],$C=()=>!1;let Cd=0;function Ad(e){return(t,n,r,s)=>e(n,r,on()||void 0,s)}const DC=()=>{const e=on();let t=null;return e&&(t=Cg(e)[Sd])?{[Sd]:t}:null};function Ag(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,s=e.flatJson,o=ki?ae:Gn;let i=Ue(e.inheritLocale)?e.inheritLocale:!0;const a=o(t&&i?t.locale.value:K(e.locale)?e.locale:Ci),l=o(t&&i?t.fallbackLocale.value:K(e.fallbackLocale)||Fe(e.fallbackLocale)||_e(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),u=o(Pg(a.value,e)),c=o(_e(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),f=o(_e(e.numberFormats)?e.numberFormats:{[a.value]:{}});let d=t?t.missingWarn:Ue(e.missingWarn)||Si(e.missingWarn)?e.missingWarn:!0,h=t?t.fallbackWarn:Ue(e.fallbackWarn)||Si(e.fallbackWarn)?e.fallbackWarn:!0,g=t?t.fallbackRoot:Ue(e.fallbackRoot)?e.fallbackRoot:!0,p=!!e.fallbackFormat,b=Ae(e.missing)?e.missing:null,y=Ae(e.missing)?Ad(e.missing):null,v=Ae(e.postTranslation)?e.postTranslation:null,m=t?t.warnHtmlMessage:Ue(e.warnHtmlMessage)?e.warnHtmlMessage:!0,_=!!e.escapeParameter;const T=t?t.modifiers:_e(e.modifiers)?e.modifiers:{};let C=e.pluralRules||t&&t.pluralRules,A;A=(()=>{r&&md(null);const R={version:RC,locale:a.value,fallbackLocale:l.value,messages:u.value,modifiers:T,pluralRules:C,missing:y===null?void 0:y,missingWarn:d,fallbackWarn:h,fallbackFormat:p,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:m,escapeParameter:_,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};R.datetimeFormats=c.value,R.numberFormats=f.value,R.__datetimeFormatters=_e(A)?A.__datetimeFormatters:void 0,R.__numberFormatters=_e(A)?A.__numberFormatters:void 0;const D=pC(R);return r&&md(D),D})(),ks(A,a.value,l.value);function L(){return[a.value,l.value,u.value,c.value,f.value]}const x=se({get:()=>a.value,set:R=>{a.value=R,A.locale=a.value}}),B=se({get:()=>l.value,set:R=>{l.value=R,A.fallbackLocale=l.value,ks(A,a.value,R)}}),M=se(()=>u.value),G=se(()=>c.value),ie=se(()=>f.value);function le(){return Ae(v)?v:null}function J(R){v=R,A.postTranslation=R}function Q(){return b}function X(R){R!==null&&(y=Ad(R)),b=R,A.missing=y}const me=(R,D,Y,Z,fe,de)=>{L();let Me;try{__INTLIFY_PROD_DEVTOOLS__,r||(A.fallbackContext=t?hC():void 0),Me=R(A)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(A.fallbackContext=void 0)}if(Y!=="translate exists"&&ze(Me)&&Me===ta||Y==="translate exists"&&!Me){const[Be,ht]=D();return t&&g?Z(t):fe(Be)}else{if(de(Me))return Me;throw zt(xt.UNEXPECTED_RETURN_TYPE)}};function He(...R){return me(D=>Reflect.apply(Td,null,[D,...R]),()=>Ml(...R),"translate",D=>Reflect.apply(D.t,D,[...R]),D=>D,D=>K(D))}function Ie(...R){const[D,Y,Z]=R;if(Z&&!ye(Z))throw zt(xt.INVALID_ARGUMENT);return He(D,Y,Ne({resolvedMessage:!0},Z||{}))}function De(...R){return me(D=>Reflect.apply(_d,null,[D,...R]),()=>jl(...R),"datetime format",D=>Reflect.apply(D.d,D,[...R]),()=>hd,D=>K(D))}function ft(...R){return me(D=>Reflect.apply(vd,null,[D,...R]),()=>Nl(...R),"number format",D=>Reflect.apply(D.n,D,[...R]),()=>hd,D=>K(D))}function dt(R){return R.map(D=>K(D)||ze(D)||Ue(D)?kd(String(D)):D)}const Qe={normalize:dt,interpolate:R=>R,type:"vnode"};function P(...R){return me(D=>{let Y;const Z=D;try{Z.processor=Qe,Y=Reflect.apply(Td,null,[Z,...R])}finally{Z.processor=null}return Y},()=>Ml(...R),"translate",D=>D[Ul](...R),D=>[kd(D)],D=>Fe(D))}function W(...R){return me(D=>Reflect.apply(vd,null,[D,...R]),()=>Nl(...R),"number format",D=>D[Hl](...R),Pd,D=>K(D)||Fe(D))}function V(...R){return me(D=>Reflect.apply(_d,null,[D,...R]),()=>jl(...R),"datetime format",D=>D[Fl](...R),Pd,D=>K(D)||Fe(D))}function q(R){C=R,A.pluralRules=C}function ne(R,D){return me(()=>{if(!R)return!1;const Y=K(D)?D:a.value,Z=S(Y),fe=A.messageResolver(Z,R);return sn(fe)||Ct(fe)||K(fe)},()=>[R],"translate exists",Y=>Reflect.apply(Y.te,Y,[R,D]),$C,Y=>Ue(Y))}function re(R){let D=null;const Y=gg(A,l.value,a.value);for(let Z=0;Z<Y.length;Z++){const fe=u.value[Y[Z]]||{},de=A.messageResolver(fe,R);if(de!=null){D=de;break}}return D}function E(R){const D=re(R);return D??(t?t.tm(R)||{}:{})}function S(R){return u.value[R]||{}}function $(R,D){if(s){const Y={[R]:D};for(const Z in Y)Ut(Y,Z)&&lo(Y[Z]);D=Y[R]}u.value[R]=D,A.messages=u.value}function H(R,D){u.value[R]=u.value[R]||{};const Y={[R]:D};if(s)for(const Z in Y)Ut(Y,Z)&&lo(Y[Z]);D=Y[R],Yr(D,u.value[R]),A.messages=u.value}function U(R){return c.value[R]||{}}function w(R,D){c.value[R]=D,A.datetimeFormats=c.value,yd(A,R,D)}function k(R,D){c.value[R]=Ne(c.value[R]||{},D),A.datetimeFormats=c.value,yd(A,R,D)}function I(R){return f.value[R]||{}}function j(R,D){f.value[R]=D,A.numberFormats=f.value,bd(A,R,D)}function F(R,D){f.value[R]=Ne(f.value[R]||{},D),A.numberFormats=f.value,bd(A,R,D)}Cd++,t&&ki&&(Xe(t.locale,R=>{i&&(a.value=R,A.locale=R,ks(A,a.value,l.value))}),Xe(t.fallbackLocale,R=>{i&&(l.value=R,A.fallbackLocale=R,ks(A,a.value,l.value))}));const z={id:Cd,locale:x,fallbackLocale:B,get inheritLocale(){return i},set inheritLocale(R){i=R,R&&t&&(a.value=t.locale.value,l.value=t.fallbackLocale.value,ks(A,a.value,l.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:M,get modifiers(){return T},get pluralRules(){return C||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(R){d=R,A.missingWarn=d},get fallbackWarn(){return h},set fallbackWarn(R){h=R,A.fallbackWarn=h},get fallbackRoot(){return g},set fallbackRoot(R){g=R},get fallbackFormat(){return p},set fallbackFormat(R){p=R,A.fallbackFormat=p},get warnHtmlMessage(){return m},set warnHtmlMessage(R){m=R,A.warnHtmlMessage=R},get escapeParameter(){return _},set escapeParameter(R){_=R,A.escapeParameter=R},t:He,getLocaleMessage:S,setLocaleMessage:$,mergeLocaleMessage:H,getPostTranslationHandler:le,setPostTranslationHandler:J,getMissingHandler:Q,setMissingHandler:X,[LC]:q};return z.datetimeFormats=G,z.numberFormats=ie,z.rt=Ie,z.te=ne,z.tm=E,z.d=De,z.n=ft,z.getDateTimeFormat=U,z.setDateTimeFormat=w,z.mergeDateTimeFormat=k,z.getNumberFormat=I,z.setNumberFormat=j,z.mergeNumberFormat=F,z[IC]=n,z[Ul]=P,z[Fl]=V,z[Hl]=W,z}const Uc={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function jC({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>[...r,...s.type===Re?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},ke())}function Rg(){return Re}const NC=st({name:"i18n-t",props:Ne({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ze(e)||!isNaN(e)}},Uc),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||na({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(f=>f!=="_"),i=ke();e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=K(e.plural)?+e.plural:e.plural);const a=jC(t,o),l=s[Ul](e.keypath,a,i),u=Ne(ke(),r),c=K(e.tag)||ye(e.tag)?e.tag:Rg();return qe(c,u,l)}}}),Rd=NC;function MC(e){return Fe(e)&&!K(e[0])}function Og(e,t,n,r){const{slots:s,attrs:o}=t;return()=>{const i={part:!0};let a=ke();e.locale&&(i.locale=e.locale),K(e.format)?i.key=e.format:ye(e.format)&&(K(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((d,h)=>n.includes(h)?Ne(ke(),d,{[h]:e.format[h]}):d,ke()));const l=r(e.value,i,a);let u=[i.key];Fe(l)?u=l.map((d,h)=>{const g=s[d.type],p=g?g({[d.type]:d.value,index:h,parts:l}):[d.value];return MC(p)&&(p[0].key=`${d.type}-${h}`),p}):K(l)&&(u=[l]);const c=Ne(ke(),o),f=K(e.tag)||ye(e.tag)?e.tag:Rg();return qe(f,c,u)}}const UC=st({name:"i18n-n",props:Ne({value:{type:Number,required:!0},format:{type:[String,Object]}},Uc),setup(e,t){const n=e.i18n||na({useScope:e.scope,__useComponent:!0});return Og(e,t,Tg,(...r)=>n[Hl](...r))}}),Od=UC,FC=st({name:"i18n-d",props:Ne({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Uc),setup(e,t){const n=e.i18n||na({useScope:e.scope,__useComponent:!0});return Og(e,t,Eg,(...r)=>n[Fl](...r))}}),Ld=FC;function HC(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 BC(e){const t=i=>{const{instance:a,value:l}=i;if(!a||!a.$)throw zt(xt.UNEXPECTED_ERROR);const u=HC(e,a.$),c=Id(l);return[Reflect.apply(u.t,u,[...xd(c)]),u]};return{created:(i,a)=>{const[l,u]=t(a);ki&&e.global===u&&(i.__i18nWatcher=Xe(u.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=u,i.textContent=l},unmounted:i=>{ki&&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,u=Id(a);i.textContent=Reflect.apply(l.t,l,[...xd(u)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function Id(e){if(K(e))return{path:e};if(_e(e)){if(!("path"in e))throw zt(xt.REQUIRED_VALUE,"path");return e}else throw zt(xt.INVALID_VALUE)}function xd(e){const{path:t,locale:n,args:r,choice:s,plural:o}=e,i={},a=r||{};return K(n)&&(i.locale=n),ze(s)&&(i.plural=s),ze(o)&&(i.plural=o),[t,a,i]}function VC(e,t,...n){const r=_e(n[0])?n[0]:{};(Ue(r.globalInstall)?r.globalInstall:!0)&&([Rd.name,"I18nT"].forEach(o=>e.component(o,Rd)),[Od.name,"I18nN"].forEach(o=>e.component(o,Od)),[Ld.name,"I18nD"].forEach(o=>e.component(o,Ld))),e.directive("t",BC(t))}const WC=Qn("global-vue-i18n");function zC(e={},t){const n=Ue(e.globalInjection)?e.globalInjection:!0,r=new Map,[s,o]=qC(e),i=Qn("");function a(f){return r.get(f)||null}function l(f,d){r.set(f,d)}function u(f){r.delete(f)}const c={get mode(){return"composition"}
61,async install(f,...d){if(f.__VUE_I18N_SYMBOL__=i,f.provide(f.__VUE_I18N_SYMBOL__,c),_e(d[0])){const p=d[0];c.__composerExtend=p.__composerExtend,c.__vueI18nExtend=p.__vueI18nExtend}let h=null;n&&(h=eA(f,c.global)),VC(f,c,...d);const g=f.unmount;f.unmount=()=>{h&&h(),c.dispose(),g()}},get global(){return o},dispose(){s.stop()},__instances:r,__getInstance:a,__setInstance:l,__deleteInstance:u};return c}function na(e={}){const t=on();if(t==null)throw zt(xt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw zt(xt.NOT_INSTALLED);const n=KC(t),r=JC(n),s=Cg(t),o=GC(e,s);if(o==="global")return xC(r,e,s),r;if(o==="parent"){let l=YC(n,t,e.__useComponent);return l==null&&(l=r),l}const i=n;let a=i.__getInstance(t);if(a==null){const l=Ne({},e);"__i18n"in s&&(l.__i18n=s.__i18n),r&&(l.__root=r),a=Ag(l),i.__composerExtend&&(a[Bl]=i.__composerExtend(a)),QC(i,t,a),i.__setInstance(t,a)}return a}function qC(e,t,n){const r=fo(),s=r.run(()=>Ag(e));if(s==null)throw zt(xt.UNEXPECTED_ERROR);return[r,s]}function KC(e){const t=Ye(e.isCE?WC:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw zt(e.isCE?xt.NOT_INSTALLED_WITH_PROVIDE:xt.UNEXPECTED_ERROR);return t}function GC(e,t){return Gi(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function JC(e){return e.mode==="composition"?e.global:e.global.__composer}function YC(e,t,n=!1){let r=null;const s=t.root;let o=XC(t,n);for(;o!=null;){const i=e;if(e.mode==="composition"&&(r=i.__getInstance(o)),r!=null||s===o)break;o=o.parent}return r}function XC(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function QC(e,t,n){Wn(()=>{},t),Mi(()=>{const r=n;e.__deleteInstance(t);const s=r[Bl];s&&(s(),delete r[Bl])},t)}const ZC=["locale","fallbackLocale","availableLocales"],$d=["t","rt","d","n","tm","te"];function eA(e,t){const n=Object.create(null);return ZC.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o)throw zt(xt.UNEXPECTED_ERROR);const i=Se(o.value)?{get(){return o.value.value},set(a){o.value.value=a}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,s,i)}),e.config.globalProperties.$i18n=n,$d.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o||!o.value)throw zt(xt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,o)}),()=>{delete e.config.globalProperties.$i18n,$d.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}OC();lC(VP);cC(oC);uC(gg);if(__INTLIFY_PROD_DEVTOOLS__){const e=Oc();e.__INTLIFY__=!0,WP(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function tA(){return vr(is)}function nA(){return vr(Ic)}function rA(){return vr(Zi)}function sA(){return vr(Zi)}function Lg(){return vr($c)}const oA=Ve({name:"i18n:plugin:switch-locale-path-ssr",dependsOn:["i18n:plugin"],setup(){const e=pe();if(e.$config.public.i18n.experimental.switchLocalePathLinkSSR!==!0)return;const t=Lg(),n=new RegExp([`<!--${sd}-\\[(\\w+)\\]-->`,".+?",`<!--/${sd}-->`].join(""),"g");e.hook("app:rendered",r=>{var s;((s=r.renderResult)==null?void 0:s.html)!=null&&(r.renderResult.html=r.renderResult.html.replaceAll(n,(o,i)=>o.replace(/href="([^"]+)"/,`href="${encodeURI(t(i??""))}"`)))})}}),iA=Ve({name:"i18n:plugin:route-locale-detect",dependsOn:["i18n:plugin"],async setup(){let e,t;const n=pe(),r=n.$router.currentRoute;async function s(i){let a=qS(i,n._vueI18n.__localeFromRoute(i),te(n.$i18n.locale),n.$i18n.getLocaleCookie());if(n._vueI18n.__firstAccess){n._vueI18n.__setLocale(a);const u=Qm(te(n._vueI18n.global.fallbackLocale),[a]);await Promise.all(u.map(c=>n.$i18n.loadLocaleMessages(c))),await n.$i18n.loadLocaleMessages(a)}return await n.runWithContext(()=>tg(a,n._vueI18n.__firstAccess))&&(a=te(n.$i18n.locale)),a}[e,t]=Mt(()=>s(r.value)),await e,t(),Yb("locale-changing",async(i,a)=>{let l,u;const c=([l,u]=Mt(()=>n.runWithContext(()=>s(i))),l=await l,u(),l),f=([l,u]=Mt(()=>n.runWithContext(()=>ng({to:i,from:a,locale:c,routeLocale:n._vueI18n.__localeFromRoute(i)},!0))),l=await l,u(),l);return n._vueI18n.__firstAccess=!1,[l,u]=Mt(()=>n.runWithContext(()=>rg({nuxt:n,redirectPath:f,locale:c,route:i}))),l=await l,u(),l},{global:!0})}});function aA(e,{extendComposer:t,extendComposerInstance:n}){const r=fo(),s=e.install.bind(e);e.install=(o,...i)=>{const a=Ne({},i[0]);a.__composerExtend=u=>(n(u,Ls(e)),()=>{}),e.mode==="legacy"&&(a.__vueI18nExtend=u=>(n(u,Ls(u)),()=>{})),Reflect.apply(s,e,[o,a]);const l=Ls(e);if(r.run(()=>{t(l),e.mode==="legacy"&&Ym(e.global)&&n(e.global,Ls(e.global))}),e.mode==="composition"&&o.config.globalProperties.$i18n!=null&&n(o.config.globalProperties.$i18n,l),o.unmount){const u=o.unmount.bind(o);o.unmount=()=>{r.stop(),u()}}}}const lA=Ve({name:"i18n:plugin",parallel:SS,async setup(e){var f;let t,n;Object.defineProperty(e.versions,"nuxtI18n",{get:()=>"9.5.4"});const r=pe(),s=r.$config.public.i18n,o=NS(s);jS(s,o),r.$config.public.i18n.defaultLocale=o;const i={...s,defaultLocale:o,baseUrl:JS(r)},a=([t,n]=Mt(()=>MS(kS,pe())),t=await t,n(),t);a.messages||(a.messages={}),a.fallbackLocale??(a.fallbackLocale=!1),o&&(a.locale=o);for(const d of Kn)(f=a.messages)[d]??(f[d]={});const l=zC(a);
61r._vueI18n=l,l.__localeFromRoute=IS(),l.__firstAccess=!0,l.__setLocale=d=>{const h=Pi(l);Se(h.locale)?h.locale.value=d:h.locale=d};const u=QS(),c=bo();return aA(l,{extendComposer(d){const h=ae(i.locales);d.locales=se(()=>h.value);const g=ae(Kn);d.localeCodes=se(()=>g.value);const p=ae(i.baseUrl());d.baseUrl=se(()=>p.value),Xe(d.locale,()=>p.value=i.baseUrl()),d.strategy=i.strategy,d.localeProperties=se(()=>Yi.find(b=>b.code===d.locale.value)||{code:d.locale.value}),d.setLocale=async b=>{if(await tg(b,l.__firstAccess),d.strategy==="no_prefix"){await d.loadLocaleMessages(b),l.__setLocale(b);return}const y=r.$router.currentRoute.value,v=await r.runWithContext(()=>ng({to:y,locale:b,routeLocale:l.__localeFromRoute(y)}));await r.runWithContext(()=>rg({nuxt:r,redirectPath:v,locale:b,route:y},!0))},d.loadLocaleMessages=async b=>await xl(b,Ll,d.mergeLocaleMessage.bind(d),r),d.differentDomains=i.differentDomains,d.defaultLocale=i.defaultLocale,d.getBrowserLocale=()=>XS(),d.getLocaleCookie=()=>ZS(u,c,d.defaultLocale),d.setLocaleCookie=b=>{!c||!c.useCookie||(u.value=b)},d.onBeforeLanguageSwitch=(b,y,v,m)=>r.callHook("i18n:beforeLocaleSwitch",{oldLocale:b,newLocale:y,initialSetup:v,context:m}),d.onLanguageSwitched=(b,y)=>r.callHook("i18n:localeSwitched",{oldLocale:b,newLocale:y}),d.finalizePendingLocaleChange=async()=>{var b;l.__pendingLocale&&(l.__setLocale(l.__pendingLocale),(b=l.__resolvePendingLocalePromise)==null||b.call(l),l.__pendingLocale=void 0)},d.waitForPendingLocaleChange=async()=>{l.__pendingLocale&&l.__pendingLocalePromise&&await l.__pendingLocalePromise}},extendComposerInstance(d,h){const g=[["locales",()=>h.locales],["localeCodes",()=>h.localeCodes],["baseUrl",()=>h.baseUrl],["strategy",()=>h.strategy],["localeProperties",()=>h.localeProperties],["setLocale",()=>async p=>Reflect.apply(h.setLocale,h,[p])],["loadLocaleMessages",()=>async p=>Reflect.apply(h.loadLocaleMessages,h,[p])],["differentDomains",()=>h.differentDomains],["defaultLocale",()=>h.defaultLocale],["getBrowserLocale",()=>()=>Reflect.apply(h.getBrowserLocale,h,[])],["getLocaleCookie",()=>()=>Reflect.apply(h.getLocaleCookie,h,[])],["setLocaleCookie",()=>p=>Reflect.apply(h.setLocaleCookie,h,[p])],["onBeforeLanguageSwitch",()=>(p,b,y,v)=>Reflect.apply(h.onBeforeLanguageSwitch,h,[p,b,y,v])],["onLanguageSwitched",()=>(p,b)=>Reflect.apply(h.onLanguageSwitched,h,[p,b])],["finalizePendingLocaleChange",()=>()=>Reflect.apply(h.finalizePendingLocaleChange,h,[])],["waitForPendingLocaleChange",()=>()=>Reflect.apply(h.waitForPendingLocaleChange,h,[])]];for(const[p,b]of g)Object.defineProperty(d,p,{get:b})}}),r.vueApp.use(l),Object.defineProperty(r,"$i18n",{get:()=>Pi(l)}),{provide:{localeHead:vr(nP),localePath:nA(),localeRoute:rA(),getRouteBaseName:tA(),switchLocalePath:Lg(),resolveRoute:vr(xc),localeLocation:sA()}}}}),cA=be(()=>N(()=>import("./Cj8Wf4cV.js"),__vite__mapDeps([85,3]),import.meta.url).then(e=>e.default||e.default||e)),uA=be(()=>N(()=>import("./25MZbCo4.js"),__vite__mapDeps([86,4]),import.meta.url).then(e=>e.default||e.default||e)),fA=be(()=>N(()=>import("./C78fvyXY.js"),__vite__mapDeps([87,4]),import.meta.url).then(e=>e.default||e.default||e)),dA=be(()=>N(()=>import("./CQQnvTRb.js"),__vite__mapDeps([88,4]),import.meta.url).then(e=>e.default||e.default||e)),hA=be(()=>N(()=>import("./DoeC5JvT.js"),[],import.meta.url).then(e=>e.default||e.default||e)),pA=be(()=>N(()=>import("./DFXe_7BX.js"),[],import.meta.url).then(e=>e.default||e.default||e)),mA=be(()=>N(()=>import("./CkfPris4.js"),[],import.meta.url).then(e=>e.default||e.default||e)),gA=be(()=>N(()=>import("./Bc_2c8uI.js"),[],import.meta.url).then(e=>e.default||e.default||e)),_A=be(()=>N(()=>import("./CxUjRPZv.js"),[],import.meta.url).then(e=>e.default||e.default||e)),yA=be(()=>N(()=>import("./Br3XDQqo.js"),[],import.meta.url).then(e=>e.default||e.default||e)),vA=be(()=>N(()=>import("./_3SPbTWp.js"),__vite__mapDeps([89,4]),import.meta.url).then(e=>e.default||e.default||e)),bA=be(()=>N(()=>import("./Def1uo9d.js"),[],import.meta.url).then(e=>e.default||e.default||e)),wA=be(()=>N(()=>import("./DYQLqRFY.js"),__vite__mapDeps([90,4]),import.meta.url).then(e=>e.default||e.default||e)),EA=be(()=>N(()=>import("./rsc_g9qP.js"),__vite__mapDeps([91,4]),import.meta.url).then(e=>e.default||e.default||e)),TA=be(()=>N(()=>import("./Da9ooXgs.js"),__vite__mapDeps([92,4]),import.meta.url).then(e=>e.default||e.default||e)),kA=be(()=>N(()=>import("./CFQ_LMjz.js"),__vite__mapDeps([93,94]),import.meta.url).then(e=>e.default||e.default||e)),SA=be(()=>N(()=>import("./D1qsm-3p.js"),[],import.meta.url).then(e=>e.default||e.default||e)),PA=be(()=>N(()=>import("./xuuV8DMr.js"),__vite__mapDeps([95,4]),import.meta.url).then(e=>e.default||e.default||e)),CA=be(()=>N(()=>import("./dLAHyymX.js"),__vite__mapDeps([96,4]),import.meta.url).then(e=>e.default||e.default||e)),AA=be(()=>N(()=>import("./WvVtRc_m.js"),__vite__mapDeps([97,4]),import.meta.url).then(e=>e.default||e.default||e)),RA=be(()=>N(()=>import("./C_ZWXcvu.js"),__vite__mapDeps([98,4]),import.meta.url).then(e=>e.default||e.default||e)),OA=be(()=>N(()=>import("./CvOa0n0e.js"),__vite__mapDeps([99,4]),import.meta.url).then(e=>e.default||e.default||e)),LA=be(()=>N(()=>import("./v9-393io.js"),__vite__mapDeps([100,4]),import.meta.url).then(e=>e.default||e.default||e)),IA=be(()=>N(()=>import("./idvRzyN7.js"),__vite__mapDeps([101,4]),import.meta.url).then(e=>e.default||e.default||e)),xA=be(()=>N(()=>import("./BTpv1XeX.js"),__vite__mapDeps([102,4]),import.meta.url).then(e=>e.default||e.default||e)),$A=be(()=>N(()=>import("./CSK4lPVz.js"),[],import.meta.url).then(e=>e.default||e.default||e)),DA=[["ProseA",cA],["ProseBlockquote",uA],["ProseCode",fA],["ProseEm",dA],["ProseH1",hA],["ProseH2",pA],["ProseH3",mA],["ProseH4",gA],["ProseH5",_A],["ProseH6",yA],["ProseHr",vA],["ProseImg",bA],["ProseLi",wA],["ProseOl",EA],["ProseP",TA],["ProsePre",kA],["ProseScript",SA],["ProseStrong",PA],["ProseTable",CA],["ProseTbody",AA],["ProseTd",RA],["ProseTh",OA],["ProseThead",LA],["ProseTr",IA],["ProseUl",xA],["Icon",$A]],jA=Ve({name:"nuxt:global-components",setup(e){for(const[t,n]of DA)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),Fn={dashboard:be(()=>N(()=>import("./DNZuk--n.js"),__vite__mapDeps([103,20,3,13,27,14,16,17,71,12,104,49,21,29,19]),import.meta.url).then(e=>e.default||e)),default:be(()=>N(()=>import("./BFE0v-VS.js"),__vite__mapDeps([105,20,3,1,70,27,14,16,17,13,71,28,104,4]),import.meta.url).then(e=>e.default||e)),empty:be(()=>N(()=>import("./CAyljZ41.js"),[],import.meta.url).then(e=>e.default||e)),simple:be(()=>N(()=>import("./B_5ESgLN.js"),[],import.meta.url).then(e=>e.default||e))},NA=Ve({name:"nuxt:prefetch",setup(e){const t=ut();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var s;const r=(s=n==null?void 0:n.meta)==null?void 0:s.layout;r&&typeof Fn[r]=="function"&&await Fn[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Kt(n))return;const r=t.resolve(n);if(!r)return;const s=r.meta.layout;let o=Tc(r.meta.middleware);o=o.filter(i=>typeof i=="string");for(const i of o)typeof Bs[i]=="function"&&Bs[i]();typeof s=="string"&&s in Fn&&NE(Fn[s])})}}),MA=["i18n:plugin","i18n:plugin:ssg-detect","i18n:plugin:route-locale-detect"],UA=Ve({name:"nuxt-site-config:i18n",dependsOn:MA,setup(e){const t=e.$i18n;if(!t)return;const n=pe().$nuxtSiteConfig,r=Hr(t.baseUrl);if(r){const o=n.get({resolveRefs:!0}),i=o.url;if(i&&!i.includes("localhost")){const a=to(r,"https://"),l=to(i,"https://");a.host!==l.host&&o.env==="production"&&console.error(`[Nuxt Site Config] Your I18n baseUrl \`${a.host}\` doesn't match your site url ${l.host}. This will cause production SEO issues. Either provide a matching baseUrl or remove the site url config.`)}}let s;Xe(t.locale,()=>{s&&s();const o=se(()=>{const i=Hr(t.locales).find(a=>a.code===t.defaultLocale);return(i==null?void 0:i.language)||(i==null?void 0:i.iso)||t.defaultLocale});s=n.push({_priority:-1,_context:"@nuxtjs/i18n",url:se(()=>Hr(t.baseUrl)||void 0),defaultLocale:o,currentLocale:se(()=>{const i=Hr(t.localeProperties);return i.language?i.language:o.value}),description:se(()=>t.te("nuxtSiteConfig.description")?t.t("nuxtSiteConfig.description"):void 0),name:se(()=>t.te("nuxtSiteConfig.name")?t.t("nuxtSiteConfig.name"):void 0)})},{immediate:!0})}}),FA="__NUXT_COLOR_MODE__",Na="nuxt-color-mode",HA="localStorage",un=window[FA]||{},BA=Ve(e=>{const t=ds("color-mode",()=>qt({preference:un.preference,value:un.value,unknown:!1,forced:!1})).value;ut().afterEach(o=>{const i=o.meta.colorMode;i&&i!=="system"?(t.value=i,t.forced=!0):(i==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?un.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=un.getColorScheme())}))}function s(o,i){var a,l;switch(o){case"cookie":window.document.cookie=Na+"="+i;break;case"sessionStorage":(a=window.sessionStorage)==null||a.setItem(Na,i);break;case"localStorage":default:(l=window.localStorage)==null||l.setItem(Na,i)}}Xe(()=>t.preference,o=>{t.forced||(o==="system"?(t.value=un.getColorScheme(),r()):t.value=o,s(HA,o))},{immediate:!0}),Xe(()=>t.value,(o,i)=>{un.removeColorScheme(i),un.addColorScheme(o)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=un.preference,t.value=un.value,t.unknown=!1)}),e.provide("colorMode",t)}),Ig=/^[a-z0-9]+(-[a-z0-9]+)*$/,wo=(e,t,n,r="")=>{const s=e.split(":");if(e.slice(0,1)==="@"){if(s.length<2||s.length>3)return null;r=s.shift().slice(1)}if(s.length>3||!s.length)return null;if(s.length>1){const a=s.pop(),l=s.pop(),u={provider:s.length>0?s[0]:r,prefix:l,name:a};return t&&!Zo(u)?null:u}const o=s[0],i=o.split("-");if(i.length>1){const a={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!Zo(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:o};return t&&!Zo(a,n)?null:a}return null},Zo=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1,xg=Object.freeze({left:0,top:0,width:16,height:16}),Ai=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ps=Object.freeze({...xg,...Ai}),Vl=Object.freeze({...ps,body:"",hidden:!1});function VA(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function Dd(e,t){const n=VA(e,t);for(const r in Vl)r in Ai?r in e&&!(r in n)&&(n[r]=Ai[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function WA(e,t){const n=e.icons,r=e.aliases||Object.create(null),s=Object.create(null);function o(i){if(n[i])return s[i]=[];if(!(i in s)){s[i]=null;const a=r[i]&&r[i].parent,l=a&&o(a);l&&(s[i]=[a].concat(l))}return s[i]}
61return Object.keys(n).concat(Object.keys(r)).forEach(o),s}function zA(e,t,n){const r=e.icons,s=e.aliases||Object.create(null);let o={};function i(a){o=Dd(r[a]||s[a],o)}return i(t),n.forEach(i),Dd(e,o)}function $g(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(s=>{t(s,null),n.push(s)});const r=WA(e);for(const s in r){const o=r[s];o&&(t(s,zA(e,s,o)),n.push(s))}return n}const qA={provider:"",aliases:{},not_found:{},...xg};function Ma(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Dg(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Ma(e,qA))return null;const n=t.icons;for(const s in n){const o=n[s];if(!s||typeof o.body!="string"||!Ma(o,Vl))return null}const r=t.aliases||Object.create(null);for(const s in r){const o=r[s],i=o.parent;if(!s||typeof i!="string"||!n[i]&&!r[i]||!Ma(o,Vl))return null}return t}const jd=Object.create(null);function KA(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function br(e,t){const n=jd[e]||(jd[e]=Object.create(null));return n[t]||(n[t]=KA(e,t))}function jg(e,t){return Dg(t)?$g(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function GA(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let co=!1;function Ng(e){return typeof e=="boolean"&&(co=e),co}function Fc(e){const t=typeof e=="string"?wo(e,!0,co):e;if(t){const n=br(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function JA(e,t){const n=wo(e,!0,co);if(!n)return!1;const r=br(n.provider,n.prefix);return t?GA(r,n.name,t):(r.missing.add(n.name),!0)}function YA(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),co&&!t&&!e.prefix){let s=!1;return Dg(e)&&(e.prefix="",$g(e,(o,i)=>{JA(o,i)&&(s=!0)})),s}const n=e.prefix;if(!Zo({prefix:n,name:"a"}))return!1;const r=br(t,n);return!!jg(r,e)}function RL(e){const t=Fc(e);return t&&{...ps,...t}}const Mg=Object.freeze({width:null,height:null}),Ug=Object.freeze({...Mg,...Ai}),XA=/(-?[0-9.]*[0-9]+[0-9.]*)/g,QA=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Nd(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(XA);if(r===null||!r.length)return e;const s=[];let o=r.shift(),i=QA.test(o);for(;;){if(i){const a=parseFloat(o);isNaN(a)?s.push(o):s.push(Math.ceil(a*t*n)/n)}else s.push(o);if(o=r.shift(),o===void 0)return s.join("");i=!i}}function ZA(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const s=e.indexOf(">",r),o=e.indexOf("</"+t);if(s===-1||o===-1)break;const i=e.indexOf(">",o);if(i===-1)break;n+=e.slice(s+1,o).trim(),e=e.slice(0,r).trim()+e.slice(i+1)}return{defs:n,content:e}}function eR(e,t){return e?"<defs>"+e+"</defs>"+t:t}function tR(e,t,n){const r=ZA(e);return eR(r.defs,t+r.content+n)}const nR=e=>e==="unset"||e==="undefined"||e==="none";function rR(e,t){const n={...ps,...e},r={...Ug,...t},s={left:n.left,top:n.top,width:n.width,height:n.height};let o=n.body;[n,r].forEach(p=>{const b=[],y=p.hFlip,v=p.vFlip;let m=p.rotate;y?v?m+=2:(b.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),b.push("scale(-1 1)"),s.top=s.left=0):v&&(b.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),b.push("scale(1 -1)"),s.top=s.left=0);let _;switch(m<0&&(m-=Math.floor(m/4)*4),m=m%4,m){case 1:_=s.height/2+s.top,b.unshift("rotate(90 "+_.toString()+" "+_.toString()+")");break;case 2:b.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:_=s.width/2+s.left,b.unshift("rotate(-90 "+_.toString()+" "+_.toString()+")");break}m%2===1&&(s.left!==s.top&&(_=s.left,s.left=s.top,s.top=_),s.width!==s.height&&(_=s.width,s.width=s.height,s.height=_)),b.length&&(o=tR(o,'<g transform="'+b.join(" ")+'">',"</g>"))});const i=r.width,a=r.height,l=s.width,u=s.height;let c,f;i===null?(f=a===null?"1em":a==="auto"?u:a,c=Nd(f,l/u)):(c=i==="auto"?l:i,f=a===null?Nd(c,u/l):a==="auto"?u:a);const d={},h=(p,b)=>{nR(b)||(d[p]=b.toString())};h("width",c),h("height",f);const g=[s.left,s.top,l,u];
61return d.viewBox=g.join(" "),{attributes:d,viewBox:g,body:o}}const sR=/\sid="(\S+)"/g,oR="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let iR=0;function aR(e,t=oR){const n=[];let r;for(;r=sR.exec(e);)n.push(r[1]);if(!n.length)return e;const s="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(o=>{const i=typeof t=="function"?t(o):t+(iR++).toString(),a=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+i+s+"$3")}),e=e.replace(new RegExp(s,"g"),""),e}const Wl=Object.create(null);function Fg(e,t){Wl[e]=t}function zl(e){return Wl[e]||Wl[""]}function Hc(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const ra=Object.create(null),Ss=["https://api.simplesvg.com","https://api.unisvg.com"],ei=[];for(;Ss.length>0;)Ss.length===1||Math.random()>.5?ei.push(Ss.shift()):ei.push(Ss.pop());ra[""]=Hc({resources:["https://api.iconify.design"].concat(ei)});function Hg(e,t){const n=Hc(t);return n===null?!1:(ra[e]=n,!0)}function sa(e){return ra[e]}function lR(){return Object.keys(ra)}const cR=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Ri=cR();function uR(e){Ri=e}function fR(){return Ri}function dR(e,t){const n=sa(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let s=0;n.resources.forEach(i=>{s=Math.max(s,i.length)});const o=t+".json?icons=";r=n.maxURL-s-n.path.length-o.length}return r}function hR(e){return e===404}const pR=(e,t,n)=>{const r=[],s=dR(e,t),o="icons";let i={type:o,provider:e,prefix:t,icons:[]},a=0;return n.forEach((l,u)=>{a+=l.length+1,a>=s&&u>0&&(r.push(i),i={type:o,provider:e,prefix:t,icons:[]},a=l.length),i.icons.push(l)}),r.push(i),r};function mR(e){if(typeof e=="string"){const t=sa(e);if(t)return t.path}return"/"}const gR=(e,t,n)=>{if(!Ri){n("abort",424);return}let r=mR(t.provider);switch(t.type){case"icons":{const o=t.prefix,a=t.icons.join(","),l=new URLSearchParams({icons:a});r+=o+".json?"+l.toString();break}case"custom":{const o=t.uri;r+=o.slice(0,1)==="/"?o.slice(1):o;break}default:n("abort",400);return}let s=503;Ri(e+r).then(o=>{const i=o.status;if(i!==200){setTimeout(()=>{n(hR(i)?"abort":"next",i)});return}return s=501,o.json()}).then(o=>{if(typeof o!="object"||o===null){setTimeout(()=>{o===404?n("abort",o):n("next",s)});return}setTimeout(()=>{n("success",o)})}).catch(()=>{n("next",s)})},_R={prepare:pR,send:gR};function yR(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((s,o)=>s.provider!==o.provider?s.provider.localeCompare(o.provider):s.prefix!==o.prefix?s.prefix.localeCompare(o.prefix):s.name.localeCompare(o.name));let r={provider:"",prefix:"",name:""};return e.forEach(s=>{if(r.name===s.name&&r.prefix===s.prefix&&r.provider===s.provider)return;r=s;const o=s.provider,i=s.prefix,a=s.name,l=n[o]||(n[o]=Object.create(null)),u=l[i]||(l[i]=br(o,i));let c;a in u.icons?c=t.loaded:i===""||u.missing.has(a)?c=t.missing:c=t.pending;const f={provider:o,prefix:i,name:a};c.push(f)}),t}function Bg(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(s=>s.id!==t))})}function vR(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,s=e.prefix;t.forEach(o=>{const i=o.icons,a=i.pending.length;i.pending=i.pending.filter(l=>{if(l.prefix!==s)return!0;const u=l.name;if(e.icons[u])i.loaded.push({provider:r,prefix:s,name:u});else if(e.missing.has(u))i.missing.push({provider:r,prefix:s,name:u});else return n=!0,!0;return!1}),i.pending.length!==a&&(n||Bg([e],o.id),o.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),o.abort))})}))}let bR=0;function wR(e,t,n){const r=bR++,s=Bg.bind(null,n,r);if(!t.pending.length)return s;const o={id:r,icons:t,callback:e,abort:s};
61return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(o)}),s}function ER(e,t=!0,n=!1){const r=[];return e.forEach(s=>{const o=typeof s=="string"?wo(s,t,n):s;o&&r.push(o)}),r}var TR={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function kR(e,t,n,r){const s=e.resources.length,o=e.random?Math.floor(Math.random()*s):e.index;let i;if(e.random){let C=e.resources.slice(0);for(i=[];C.length>1;){const A=Math.floor(Math.random()*C.length);i.push(C[A]),C=C.slice(0,A).concat(C.slice(A+1))}i=i.concat(C)}else i=e.resources.slice(o).concat(e.resources.slice(0,o));const a=Date.now();let l="pending",u=0,c,f=null,d=[],h=[];typeof r=="function"&&h.push(r);function g(){f&&(clearTimeout(f),f=null)}function p(){l==="pending"&&(l="aborted"),g(),d.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),d=[]}function b(C,A){A&&(h=[]),typeof C=="function"&&h.push(C)}function y(){return{startTime:a,payload:t,status:l,queriesSent:u,queriesPending:d.length,subscribe:b,abort:p}}function v(){l="failed",h.forEach(C=>{C(void 0,c)})}function m(){d.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),d=[]}function _(C,A,O){const L=A!=="success";switch(d=d.filter(x=>x!==C),l){case"pending":break;case"failed":if(L||!e.dataAfterTimeout)return;break;default:return}if(A==="abort"){c=O,v();return}if(L){c=O,d.length||(i.length?T():v());return}if(g(),m(),!e.random){const x=e.resources.indexOf(C.resource);x!==-1&&x!==e.index&&(e.index=x)}l="completed",h.forEach(x=>{x(O)})}function T(){if(l!=="pending")return;g();const C=i.shift();if(C===void 0){if(d.length){f=setTimeout(()=>{g(),l==="pending"&&(m(),v())},e.timeout);return}v();return}const A={status:"pending",resource:C,callback:(O,L)=>{_(A,O,L)}};d.push(A),u++,f=setTimeout(T,e.rotate),n(C,t,A.callback)}return setTimeout(T),y}function Vg(e){const t={...TR,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function s(a,l,u){const c=kR(t,a,l,(f,d)=>{r(),u&&u(f,d)});return n.push(c),c}function o(a){return n.find(l=>a(l))||null}return{query:s,find:o,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function Md(){}const Ua=Object.create(null);function SR(e){if(!Ua[e]){const t=sa(e);if(!t)return;const n=Vg(t),r={config:t,redundancy:n};Ua[e]=r}return Ua[e]}function Wg(e,t,n){let r,s;if(typeof e=="string"){const o=zl(e);if(!o)return n(void 0,424),Md;s=o.send;const i=SR(e);i&&(r=i.redundancy)}else{const o=Hc(e);if(o){r=Vg(o);const i=e.resources?e.resources[0]:"",a=zl(i);a&&(s=a.send)}}return!r||!s?(n(void 0,424),Md):r.query(t,s,n)().abort}function Ud(){}function PR(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,vR(e)}))}function CR(e){const t=[],n=[];return e.forEach(r=>{(r.match(Ig)?t:n).push(r)}),{valid:t,invalid:n}}function Ps(e,t,n){function r(){const s=e.pendingIcons;t.forEach(o=>{s&&s.delete(o),e.icons[o]||e.missing.add(o)})}if(n&&typeof n=="object")try{if(!jg(e,n).length){r();return}}catch(s){console.error(s)}r(),PR(e)}function Fd(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function AR(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,s=e.iconsToLoad;if(delete e.iconsToLoad,!s||!s.length)return;const o=e.loadIcon;if(e.loadIcons&&(s.length>1||!o)){Fd(e.loadIcons(s,r,n),c=>{Ps(e,s,c)});return}if(o){s.forEach(c=>{const f=o(c,r,n);Fd(f,d=>{const h=d?{prefix:r,icons:{[c]:d}}:null;Ps(e,[c],h)})});return}const{valid:i,invalid:a}=CR(s);if(a.length&&Ps(e,a,null),!i.length)return;const l=r.match(Ig)?zl(n):null;if(!l){Ps(e,i,null);return}l.prepare(n,r,i).forEach(c=>{Wg(n,c,f=>{Ps(e,c.icons,f)})})}))}const zg=(e,t)=>{const n=ER(e,!0,Ng()),r=yR(n);if(!r.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(r.loaded,r.missing,r.pending,Ud)}),()=>{l=!1}}const s=Object.create(null),o=[];let i,a;return r.pending.forEach(l=>{const{provider:u,prefix:c}=l;if(c===a&&u===i)return;i=u,a=c,o.push(br(u,c));const f=s[u]||(s[u]=Object.create(null));f[c]||(f[c]=[])}),r.pending.forEach(l=>{const{provider:u,prefix:c,name:f}=l,d=br(u,c),h=d.pendingIcons||(d.pendingIcons=new Set);h.has(f)||(h.add(f),s[u][c].push(f))}),o.forEach(l=>{const u=s[l.provider][l.prefix];u.length&&AR(l,u)}),t?wR(t,r,o):Ud},OL=e=>
61new Promise((t,n)=>{const r=typeof e=="string"?wo(e,!0):e;if(!r){n(e);return}zg([r||e],s=>{if(s.length&&r){const o=Fc(r);if(o){t({...ps,...o});return}}n(e)})});function RR(e,t,n){br("",t).loadIcons=e}function OR(e,t){const n={...e};for(const r in t){const s=t[r],o=typeof s;r in Mg?(s===null||s&&(o==="string"||o==="number"))&&(n[r]=s):o===typeof n[r]&&(n[r]=r==="rotate"?s%4:s)}return n}const LR=/[\s,]+/;function IR(e,t){t.split(LR).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function xR(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(s){for(;s<0;)s+=4;return s%4}if(n===""){const s=parseInt(e);return isNaN(s)?0:r(s)}else if(n!==e){let s=0;switch(n){case"%":s=25;break;case"deg":s=90}if(s){let o=parseFloat(e.slice(0,e.length-n.length));return isNaN(o)?0:(o=o/s,o%1===0?r(o):0)}}return t}function $R(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function DR(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function jR(e){return"data:image/svg+xml,"+DR(e)}function NR(e){return'url("'+jR(e)+'")'}const Hd={...Ug,inline:!1},MR={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},UR={display:"inline-block"},ql={backgroundColor:"currentColor"},qg={backgroundColor:"transparent"},Bd={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Vd={webkitMask:ql,mask:ql,background:qg};for(const e in Vd){const t=Vd[e];for(const n in Bd)t[e+n]=Bd[n]}const ti={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";ti[e+"-flip"]=t,ti[e.slice(0,1)+"-flip"]=t,ti[e+"Flip"]=t});function Wd(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const zd=(e,t)=>{const n=OR(Hd,t),r={...MR},s=t.mode||"svg",o={},i=t.style,a=typeof i=="object"&&!(i instanceof Array)?i:{};for(let p in t){const b=t[p];if(b!==void 0)switch(p){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":n[p]=b===!0||b==="true"||b===1;break;case"flip":typeof b=="string"&&IR(n,b);break;case"color":o.color=b;break;case"rotate":typeof b=="string"?n[p]=xR(b):typeof b=="number"&&(n[p]=b);break;case"ariaHidden":case"aria-hidden":b!==!0&&b!=="true"&&delete r["aria-hidden"];break;default:{const y=ti[p];y?(b===!0||b==="true"||b===1)&&(n[y]=!0):Hd[p]===void 0&&(r[p]=b)}}}const l=rR(e,n),u=l.attributes;if(n.inline&&(o.verticalAlign="-0.125em"),s==="svg"){r.style={...o,...a},Object.assign(r,u);let p=0,b=t.id;return typeof b=="string"&&(b=b.replace(/-/g,"_")),r.innerHTML=aR(l.body,b?()=>b+"ID"+p++:"iconifyVue"),qe("svg",r)}const{body:c,width:f,height:d}=e,h=s==="mask"||(s==="bg"?!1:c.indexOf("currentColor")!==-1),g=$R(c,{...u,width:f+"",height:d+""});return r.style={...o,"--svg":NR(g),width:Wd(u.width),height:Wd(u.height),...UR,...h?ql:qg,...a},qe("span",r)};Ng(!0);Fg("",_R);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!YA(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const s=t[n];if(typeof s!="object"||!s||s.resources===void 0)continue;Hg(n,s)||console.error(r)}catch{console.error(r)}}}}const FR={...ps,body:""},LL=st((e,{emit:t})=>{const n=ae(null);function r(){var u,c;n.value&&((c=(u=n.value).abort)==null||c.call(u),n.value=null)}const s=ae(!!e.ssr),o=ae(""),i=Gn(null);function a(){const u=e.icon;if(typeof u=="object"&&u!==null&&typeof u.body=="string")return o.value="",{data:u};let c;if(typeof u!="string"||(c=wo(u,!1,!0))===null)return null;let f=Fc(c);if(!f){const g=n.value;
61return(!g||g.name!==u)&&(f===null?n.value={name:u}:n.value={name:u,abort:zg([c],l)}),null}r(),o.value!==u&&(o.value=u,Vt(()=>{t("load",u)}));const d=e.customise;if(d){f=Object.assign({},f);const g=d(f.body,c.name,c.prefix,c.provider);typeof g=="string"&&(f.body=g)}const h=["iconify"];return c.prefix!==""&&h.push("iconify--"+c.prefix),c.provider!==""&&h.push("iconify--"+c.provider),{data:f,classes:h}}function l(){var c;const u=a();u?u.data!==((c=i.value)==null?void 0:c.data)&&(i.value=u):i.value=null}return s.value?l():Wn(()=>{s.value=!0,l()}),Xe(()=>e.icon,l),Mi(r),()=>{const u=i.value;if(!u)return zd(FR,e);let c=e;return u.classes&&(c={...e,class:u.classes.join(" ")}),zd({...ps,...u.data},c)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]}),qd={getAPIConfig:sa,setAPIModule:Fg,sendAPIQuery:Wg,setFetch:uR,getFetch:fR,listAPIProviders:lR},HR=Ve({name:"@nuxt/icon",setup(){var s,o;const e=Gt(),t=BE().icon;qd.setFetch($fetch.native);const n=[];if(t.provider==="server"){const i=((o=(s=e.app)==null?void 0:s.baseURL)==null?void 0:o.replace(/\/$/,""))??"";n.push(i+(t.localApiEndpoint||"/api/_nuxt_icon")),(t.fallbackToApi===!0||t.fallbackToApi==="client-only")&&n.push(t.iconifyApiEndpoint)}else t.provider==="none"?qd.setFetch(()=>Promise.resolve(new Response)):n.push(t.iconifyApiEndpoint);async function r(i,a){try{const l=await $fetch(n[0]+"/"+a+".json",{query:{icons:i.join(",")}});if(!l||l.prefix!==a||!l.icons)throw new Error("Invalid data"+JSON.stringify(l));return l}catch(l){return console.error("Failed to load custom icons",l),null}}Hg("",{resources:n});for(const i of t.customCollections||[])i&&RR(r,i)}}),BR=Ve(()=>{sm({script:[{src:"https://www.googletagmanager.com/gtag/js?id=G-MF0K43N53E",async:!0},{innerHTML:`
62          
vendor: 157 bytes, lines 62-65
62window.dataLayer = window.dataLayer || [];
63          function gtag(){dataLayer.push(arguments);}
64          gtag('js', new Date());
65          gtag('config', '
65G-MF0K43N53E
vendor: 12 bytes, lines 65-66
65');
66        
66`}]})}),VR=Ve({name:"i18n:plugin:ssg-detect",dependsOn:["i18n:plugin","i18n:plugin:route-locale-detect"],enforce:"post",setup(){pe()}}),WR=[Z0,tw,iw,kE,zE,uS,fS,dS,hS,pS,mS,oA,iA,lA,jA,NA,UA,BA,HR,BR,VR],Kg=(e="RouteProvider")=>st({name:e,props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(t){const n=t.renderKey,r=t.route,s={};for(const o in t.route)Object.defineProperty(s,o,{get:()=>n===t.renderKey?t.route[o]:r[o],enumerable:!0});return zn(yr,tn(s)),()=>qe(t.vnode,{ref:t.vnodeRef})}}),zR=Kg(),Kd=new WeakMap,qR=st({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:r}){const s=pe(),o=ae(),i=Ye(yr,null);let a;r({pageRef:o});const l=Ye(Bp,null);let u;const c=s.deferHydration();if(s.isHydrating){const d=s.hooks.hookOnce("app:error",c);ut().beforeEach(d)}e.pageKey&&Xe(()=>e.pageKey,(d,h)=>{d!==h&&s.callHook("page:loading:start")});let f=!1;{const d=ut().beforeResolve(()=>{f=!1});fs(()=>{d()})}return()=>qe(Em,{name:e.name,route:e.route,...t},{default:d=>{const h=GR(i,d.route,d.Component),g=i&&i.matched.length===d.route.matched.length;if(!d.Component){if(u&&!g)return u;c();return}if(u&&l&&!l.isCurrent(d.route))return u;if(h&&i&&(!l||l!=null&&l.isCurrent(i)))return g?u:null;const p=El(d,e.pageKey),b=JR(i,d.route,d.Component);!s.isHydrating&&a===p&&!b&&Vt(()=>{f=!0,s.callHook("page:loading:end")}),a=p;const y=!!(e.transition??d.route.meta.pageTransition??Du),v=y&&KR([e.transition,d.route.meta.pageTransition,Du,{onBeforeLeave(){s._runningTransition=!0},onAfterLeave(){delete s._runningTransition,s.callHook("page:transition:finish",d.Component)}}]),m=e.keepalive??d.route.meta.keepalive??xb;return u=km(y&&v,hE(m,qe(fc,{suspensible:!0,onPending:()=>s.callHook("page:start",d.Component),onResolve:()=>{Vt(()=>s.callHook("page:finish",d.Component).then(()=>{if(!f&&!b)return f=!0,s.callHook("page:loading:end")}).finally(c))}},{default:()=>{const _={key:p||void 0,vnode:n.default?YR(n.default,d):d.Component,route:d.route,renderKey:p||void 0,trackRootNodes:y,vnodeRef:o};if(!m)return qe(zR,_);const T=d.Component.type,C=T;let A=Kd.get(C);return A||(A=Kg(T.name||T.__name),Kd.set(C,A)),qe(A,_)}}))).default(),u}})}});function KR(e){const t=e.filter(Boolean).map(n=>({...n,onAfterLeave:n.onAfterLeave?Tc(n.onAfterLeave):void 0}));return Fp(...t)}function GR(e,t,n){if(!e)return!1;const r=t.matched.findIndex(s=>{var o;return((o=s.components)==null?void 0:o.default)===(n==null?void 0:n.type)});return!r||r===-1?!1:t.matched.slice(0,r).some((s,o)=>{var i,a,l;return((i=s.components)==null?void 0:i.default)!==((l=(a=e.matched[o])==null?void 0:a.components)==null?void 0:l.default)})||n&&El({route:t,Component:n})!==El({route:e,Component:n})}function JR(e,t,n){return e?t.matched.findIndex(s=>{var o;return((o=s.components)==null?void 0:o.default)===(n==null?void 0:n.type)})<t.matched.length-1:!1}function YR(e,t){const n=e(t);return n.length===1?qe(n[0]):qe(Re,void 0,n)}const XR=st({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>qe(Fn[e.name],e.layoutProps,t.slots)}}),QR={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},ZR=st({name:"NuxtLayout",inheritAttrs:!1,props:QR,setup(e,t){const n=pe(),r=Ye(yr),o=!r||r===_o()?Tm():r,i=se(()=>{let c=te(e.name)??(o==null?void 0:o.meta.layout)??"default";return c&&!(c in Fn)&&e.fallback&&(c=te(e.fallback)),c}),a=Gn();t.expose({layoutRef:a});const l=n.deferHydration();if(n.isHydrating){const c=n.hooks.hookOnce("app:error",l);ut().beforeEach(c)}let u;return()=>{const c=i.value&&i.value in Fn,f=(o==null?void 0:o.meta.layoutTransition)??Ib,d=u;return u=i.value,km(c&&f,{default:()=>qe(fc,{suspensible:!0,onResolve:()=>{Vt(l)}},{default:()=>qe(eO,{layoutProps:pr(t.attrs,{ref:a}),key:i.value||void 0,name:i.value,shouldProvide:!e.name,isRenderingNewLayout:h=>h!==d&&h===i.value,hasTransition:!!f},t.slots)})}).default()}}}),eO=st({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&&zn(Bp,{isCurrent:o=>n===(o.meta.layout??"default")});const r=Ye(yr);if(r&&r===_o()){const o=Tm(),i={};for(const a in o){const l=a;Object.defineProperty(i,l,{enumerable:!0,get:()=>e.isRenderingNewLayout(e.name)?o[l]:r[l]})}zn(yr,tn(i))}return()=>{var o,i;return!n||typeof n=="string"&&!(n in Fn)?(i=(o=t.slots).default)==null?void 0:i.call(o):qe(XR,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}});let Kl=1;var tO=class{constructor(){xe(this,"subscribers");xe(this,"toasts");xe(this,"dismissedToasts");xe(this,"subscribe",e=>(this.subscribers.push(e),()=>{const t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}));xe(this,"publish",e=>
66{this.subscribers.forEach(t=>t(e))});xe(this,"addToast",e=>{this.publish(e),this.toasts=[...this.toasts,e]});xe(this,"create",e=>{var i;const{message:t,...n}=e,r=typeof e.id=="number"||e.id&&((i=e.id)==null?void 0:i.length)>0?e.id:Kl++,s=this.toasts.find(a=>a.id===r),o=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(r)&&this.dismissedToasts.delete(r),s?this.toasts=this.toasts.map(a=>a.id===r?(this.publish({...a,...e,id:r,title:t}),{...a,...e,id:r,dismissible:o,title:t}):a):this.addToast({title:t,...n,dismissible:o,id:r}),r});xe(this,"dismiss",e=>(e?(this.dismissedToasts.add(e),requestAnimationFrame(()=>this.subscribers.forEach(t=>t({id:e,dismiss:!0})))):this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),e));xe(this,"message",(e,t)=>this.create({...t,message:e,type:"default"}));xe(this,"error",(e,t)=>this.create({...t,type:"error",message:e}));xe(this,"success",(e,t)=>this.create({...t,type:"success",message:e}));xe(this,"info",(e,t)=>this.create({...t,type:"info",message:e}));xe(this,"warning",(e,t)=>this.create({...t,type:"warning",message:e}));xe(this,"loading",(e,t)=>this.create({...t,type:"loading",message:e}));xe(this,"promise",(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));const r=Promise.resolve(e instanceof Function?e():e);let s=n!==void 0,o;const i=r.then(async l=>{if(o=["resolve",l],At(l))s=!1,this.create({id:n,type:"default",message:l});else if(rO(l)&&!l.ok){s=!1;const c=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,f=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description,h=typeof c=="object"&&!At(c)?c:{message:c||"",id:n||""};this.create({id:n,type:"error",description:f,...h})}else if(l instanceof Error){s=!1;const c=typeof t.error=="function"?await t.error(l):t.error,f=typeof t.description=="function"?await t.description(l):t.description,h=typeof c=="object"&&!At(c)?c:{message:c||"",id:n||""};this.create({id:n,type:"error",description:f,...h})}else if(t.success!==void 0){s=!1;const c=typeof t.success=="function"?await t.success(l):t.success,f=typeof t.description=="function"?await t.description(l):t.description,h=typeof c=="object"&&!At(c)?c:{message:c||"",id:n||""};this.create({id:n,type:"success",description:f,...h})}}).catch(async l=>{if(o=["reject",l],t.error!==void 0){s=!1;const u=typeof t.error=="function"?await t.error(l):t.error,c=typeof t.description=="function"?await t.description(l):t.description,d=typeof u=="object"&&!At(u)?u:{message:u||"",id:n||""};this.create({id:n,type:"error",description:c,...d})}}).finally(()=>{var l;s&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),a=()=>new Promise((l,u)=>i.then(()=>o[0]==="reject"?u(o[1]):l(o[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:a}:Object.assign(n,{unwrap:a})});xe(this,"custom",(e,t)=>{const n=(t==null?void 0:t.id)||Kl++;return this.publish({component:e,id:n,...t}),n});xe(this,"getActiveToasts",()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)));this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}};const vt=new tO;function nO(e,t){const n=(t==null?void 0:t.id)||Kl++;return vt.create({message:e,id:n,type:"default",...t}),n}const rO=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",sO=nO,oO=()=>vt.toasts,iO=()=>vt.getActiveToasts(),IL=Object.assign(sO,{success:vt.success,info:vt.info,warning:vt.warning,error:vt.error,custom:vt.custom,message:vt.message,promise:vt.promise,dismiss:vt.dismiss,loading:vt.loading},{getHistory:oO,getToasts:iO});function qo(e){return e.label!==void 0}
66const aO=3,Gg="24px",Jg="16px",Gd=4e3,lO=356,cO=14,uO=45,fO=200;function dO(){const e=ae(!1);return fr(()=>{const t=()=>{e.value=document.hidden};return document.addEventListener("visibilitychange",t),()=>window.removeEventListener("visibilitychange",t)}),{isDocumentHidden:e}}function Rn(...e){return e.filter(Boolean).join(" ")}function hO(e){const[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}function pO(e,t){const n={};return[e,t].forEach((r,s)=>{const o=s===1,i=o?"--mobile-offset":"--offset",a=o?Jg:Gg;function l(u){["top","right","bottom","left"].forEach(c=>{n[`${i}-${c}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${i}-${u}`]=a:n[`${i}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):l(a)}),n}const mO=["data-rich-colors","data-styled","data-mounted","data-promise","data-swiped","data-removed","data-visible","data-y-position","data-x-position","data-index","data-front","data-swiping","data-dismissible","data-type","data-invert","data-swipe-out","data-swipe-direction","data-expanded"],gO=["aria-label","data-disabled"];var _O=st({__name:"Toast",props:{toast:{},toasts:{},index:{},swipeDirections:{},expanded:{type:Boolean},invert:{type:Boolean},heights:{},gap:{},position:{},visibleToasts:{},expandByDefault:{type:Boolean},closeButton:{type:Boolean},interacting:{type:Boolean},style:{},cancelButtonStyle:{},actionButtonStyle:{},duration:{},class:{},unstyled:{type:Boolean},descriptionClass:{},loadingIcon:{},classes:{},icons:{},closeButtonAriaLabel:{},defaultRichColors:{type:Boolean}},emits:["update:heights","removeToast"],setup(e,{emit:t}){const n=e,r=t,s=ae(null),o=ae(null),i=ae(!1),a=ae(!1),l=ae(!1),u=ae(!1),c=ae(!1),f=ae(0),d=ae(0),h=ae(n.toast.duration||n.duration||Gd),g=ae(null),p=ae(null),b=se(()=>n.index===0),y=se(()=>n.index+1<=n.visibleToasts),v=se(()=>n.toast.type),m=se(()=>n.toast.dismissible!==!1),_=se(()=>n.toast.class||""),T=se(()=>n.descriptionClass||""),C=se(()=>n.heights.findIndex(P=>P.toastId===n.toast.id)||0),A=se(()=>n.toast.closeButton??n.closeButton),O=se(()=>n.toast.duration||n.duration||Gd),L=ae(0),x=ae(0),B=ae(null),M=se(()=>n.position.split("-")),G=se(()=>M.value[0]),ie=se(()=>M.value[1]),le=se(()=>typeof n.toast.title!="string"),J=se(()=>typeof n.toast.description!="string"),{isDocumentHidden:Q}=dO(),X=se(()=>v.value&&v.value==="loading"),me=se(()=>n.heights.reduce((P,W,V)=>V>=C.value?P:P+W.height,0)),He=se(()=>C.value*n.gap+me.value||0);Wn(()=>{h.value=O.value}),Wn(()=>{if(!i.value)return;const P=p.value,W=P==null?void 0:P.style.height;P.style.height="auto";const V=P.getBoundingClientRect().height;P.style.height=W,d.value=V;let q;n.heights.find(re=>re.toastId===n.toast.id)?q=n.heights.map(re=>re.toastId===n.toast.id?{...re,height:V}:re):q=[{toastId:n.toast.id,height:V,position:n.toast.position},...n.heights],r("update:heights",q)});function Ie(){a.value=!0,f.value=He.value;const P=n.heights.filter(W=>W.toastId!==n.toast.id);r("update:heights",P),setTimeout(()=>{r("removeToast",n.toast)},fO)}function De(){var P,W;if(X.value||!m.value)return{};Ie(),(W=(P=n.toast).onDismiss)==null||W.call(P,n.toast)}function ft(P){X.value||!m.value||(g.value=new Date,f.value=He.value,P.target.setPointerCapture(P.pointerId),P.target.tagName!=="BUTTON"&&(l.value=!0,B.value={x:P.clientX,y:P.clientY}))}function dt(){var re,E,S,$,H,U,w;if(u.value||!m.value)return;B.value=null;const P=Number(((re=p.value)==null?void 0:re.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),W=Number(((E=p.value)==null?void 0:E.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),V=new Date().getTime()-(((S=g.value)==null?void 0:S.getTime())||0),q=s.value==="x"?P:W,ne=Math.abs(q)/V;if(Math.abs(q)>=uO||ne>.11){f.value=He.value,(H=($=n.toast).onDismiss)==null||H.call($,n.toast),s.value==="x"?o.value=P>0?"right":"left":o.value=W>0?"down":"up",Ie(),u.value=!0;return}else(U=p.value)==null||U.style.setProperty("--swipe-amount-x","0px"),(w=p.value)==null||w.style.setProperty("--swipe-amount-y","0px");c.value=!1,l.value=!1,s.value=null}function $t(P){var S,$,H,U;if(!B.value||!m.value||((($=(S=window==null?void 0:window.getSelection())==null?void 0:S.toString())==null?void 0:$.length)??!1))return;const V=P.clientY-B.value.y,q=P.clientX-B.value.x,ne=n.swipeDirections??hO(n.position);!s.value&&(Math.abs(q)>1||Math.abs(V)>1)&&(s.value=Math.abs(q)>Math.abs(V)?"x":"y");let re={x:0,y:0};const E=w=>1/(1.5+Math.abs(w)/20);if(s.value==="y"){if(ne.includes("top")||ne.includes("bottom"))if(ne.includes("top")&&V<0||ne.includes("bottom")&&V>0)re.y=V;else{const w=V*E(V);re.y=Math.abs(w)<Math.abs(V)?w:V}}else if(s.value==="x"&&(ne.includes("left")||ne.includes("right")))if(ne.includes("left")&&q<0||ne.includes("right")&&q>0)re.x=q;else{const w=q*E(q);re.x=Math.abs(w)<Math.abs(q)?w:q}(Math.abs(re.x)>0||Math.abs(re.y)>0)&&(c.value=!0),(H=p.value)==null||H.style.setProperty("--swipe-amount-x",`${re.x}px`),(U=p.value)==null||U.style.setProperty("--swipe-amount-y",`${re.y}px`)}Wn(()=>
66{if(i.value=!0,!p.value)return;const P=p.value.getBoundingClientRect().height;d.value=P;const W=[{toastId:n.toast.id,height:P,position:n.toast.position},...n.heights];r("update:heights",W)}),fs(()=>{if(p.value){const P=n.heights.filter(W=>W.toastId!==n.toast.id);r("update:heights",P)}}),fr(P=>{if(n.toast.promise&&v.value==="loading"||n.toast.duration===1/0||n.toast.type==="loading")return;let W;const V=()=>{if(x.value<L.value){const ne=new Date().getTime()-L.value;h.value=h.value-ne}x.value=new Date().getTime()},q=()=>{h.value!==1/0&&(L.value=new Date().getTime(),W=setTimeout(()=>{var ne,re;(re=(ne=n.toast).onAutoClose)==null||re.call(ne,n.toast),Ie()},h.value))};n.expanded||n.interacting||Q.value?V():q(),P(()=>{clearTimeout(W)})}),Xe(()=>n.toast.delete,P=>{P!==void 0&&P&&Ie()},{deep:!0});function Qe(){l.value=!1,s.value=null,B.value=null}return(P,W)=>{var V,q,ne,re,E,S,$,H,U,w,k,I,j,F,z,R,D,Y,Z,fe,de,Me,Be,ht,ot,Sn,ms;return ue(),je("li",{tabindex:"0",ref_key:"toastRef",ref:p,class:Et(te(Rn)(n.class,_.value,(V=P.classes)==null?void 0:V.toast,(q=P.toast.classes)==null?void 0:q.toast,(ne=P.classes)==null?void 0:ne[v.value],(E=(re=P.toast)==null?void 0:re.classes)==null?void 0:E[v.value])),"data-sonner-toast":"","data-rich-colors":P.toast.richColors??P.defaultRichColors,"data-styled":!(P.toast.component||(S=P.toast)!=null&&S.unstyled||P.unstyled),"data-mounted":i.value,"data-promise":!!P.toast.promise,"data-swiped":c.value,"data-removed":a.value,"data-visible":y.value,"data-y-position":G.value,"data-x-position":ie.value,"data-index":P.index,"data-front":b.value,"data-swiping":l.value,"data-dismissible":m.value,"data-type":v.value,"data-invert":P.toast.invert||P.invert,"data-swipe-out":u.value,"data-swipe-direction":o.value,"data-expanded":!!(P.expanded||P.expandByDefault&&i.value),style:Bn({"--index":P.index,"--toasts-before":P.index,"--z-index":P.toasts.length-P.index,"--offset":`${a.value?f.value:He.value}px`,"--initial-height":P.expandByDefault?"auto":`${d.value}px`,...P.style,...n.toast.style}),onDragend:Qe,onPointerdown:ft,onPointerup:dt,onPointermove:$t},[A.value&&!P.toast.component&&v.value!=="loading"?(ue(),je("button",{key:0,"aria-label":P.closeButtonAriaLabel||"Close toast","data-disabled":X.value,"data-close-button":"true",class:Et(te(Rn)(($=P.classes)==null?void 0:$.closeButton,(U=(H=P.toast)==null?void 0:H.classes)==null?void 0:U.closeButton)),onClick:De},[(w=P.icons)!=null&&w.close?(ue(),ct(Nr((k=P.icons)==null?void 0:k.close),{key:0})):Pt(P.$slots,"close-icon",{key:1})],10,gO)):ar("v-if",!0),P.toast.component?(ue(),ct(Nr(P.toast.component),pr({key:1},P.toast.componentProps,{onCloseToast:De}),null,16)):(ue(),je(Re,{key:2},[v.value!=="default"||P.toast.icon||P.toast.promise?(ue(),je("div",{key:0,"data-icon":"",class:Et(te(Rn)((I=P.classes)==null?void 0:I.icon,(F=(j=P.toast)==null?void 0:j.classes)==null?void 0:F.icon))},[P.toast.icon?(ue(),ct(Nr(P.toast.icon),{key:0})):(ue(),je(Re,{key:1},[v.value==="loading"?Pt(P.$slots,"loading-icon",{key:0}):v.value==="success"?Pt(P.$slots,"success-icon",{key:1}):v.value==="error"?Pt(P.$slots,"error-icon",{key:2}):v.value==="warning"?Pt(P.$slots,"warning-icon",{key:3}):v.value==="info"?Pt(P.$slots,"info-icon",{key:4}):ar("v-if",!0)],64))],2)):ar("v-if",!0),It("div",{"data-content":"",class:Et(te(Rn)((z=P.classes)==null?void 0:z.content,(D=(R=P.toast)==null?void 0:R.classes)==null?void 0:D.content))},[It("div",{"data-title":"",class:Et(te(Rn)((Y=P.classes)==null?void 0:Y.title,(Z=P.toast.classes)==null?void 0:Z.title))},[le.value?(ue(),ct(Nr(P.toast.title),Fa(pr({key:0},P.toast.componentProps)),null,16)):(ue(),je(Re,{key:1},[hi(Cs(P.toast.title),1)],64))],2),P.toast.description?(ue(),je("div",{key:0,"data-description":"",class:Et(te(Rn)(P.descriptionClass,T.value,(fe=P.classes)==null?void 0:fe.description,(de=P.toast.classes)==null?void 0:de.description))},[J.value?(ue(),ct(Nr(P.toast.description),Fa(pr({key:0},P.toast.componentProps)),null,16)):(ue(),je(Re,{key:1},[hi(Cs(P.toast.description),1)],64))],2)):ar("v-if",!0)],2),P.toast.cancel?(ue(),je("button",{key:1,style:Bn(P.toast.cancelButtonStyle||P.cancelButtonStyle),class:Et(te(Rn)((Me=P.classes)==null?void 0:Me.cancelButton,(Be=P.toast.classes)==null?void 0:Be.cancelButton)),"data-button":"","data-cancel":"",onClick:W[0]||(W[0]=Ze=>{var it,Pn;te(qo)(P.toast.cancel)&&m.value&&((Pn=(it=P.toast.cancel).onClick)==null||Pn.call(it,Ze),Ie())})},Cs(te(qo)(P.toast.cancel)?(ht=P.toast.cancel)==null?void 0:ht.label:P.toast.cancel),7)):ar("v-if",!0),P.toast.action?(ue(),je("button",{key:2,style:Bn(P.toast.actionButtonStyle||P.actionButtonStyle),class:Et(te(Rn)((ot=P.classes)==null?void 0:ot.actionButton,(Sn=P.toast.classes)==null?void 0:Sn.actionButton)),"data-button":"","data-action":"",onClick:W[1]||(W[1]=Ze=>{var it,Pn;te(qo)(P.toast.action)&&((Pn=(it=P.toast.action).onClick)==null||Pn.call(it,Ze),!Ze.defaultPrevented&&Ie())})},Cs(te(qo)(P.toast.action)?(ms=P.toast.action)==null?void 0:ms.label:P.toast.action),7)):ar("v-if",!0)],64))],46,mO)}}}),yO=_O,Eo=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};const vO={},bO={xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stoke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"};function wO(e,t){return ue(),je("svg",bO,t[0]||(t[0]=[It("line",{x1:"18",y1:"6",x2:"6",y2:"18"},null,-1),It("line",{x1:"6",y1:"6",x2:"18",y2:"18"},null,-1)]))}var EO=Eo(vO,[["render",wO]]);const TO=["data-visible"],kO={class:"sonner-spinner"};var SO=st({__name:"Loader",props:{visible:{type:Boolean}},setup(e){const t=Array(12).fill(0);return(n,r)=>(ue(),je("div",{class:"sonner-loading-wrapper","data-visible":n.visible},[It("div",kO,[(ue(!0),je(Re,null,Ka(te(t),s=>(ue(),je("div",{key:`spinner-bar-${s}`,class:"sonner-loading-bar"}))),128))])],8,TO))}}),PO=SO;const CO={},AO={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function RO(e,t){return ue(),je("svg",AO,t[0]||(t[0]=[It("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z","clip-rule":"evenodd"},null,-1)]))}var OO=Eo(CO,[["render",RO]]);const LO={},IO={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function xO(e,t){return ue(),je("svg",IO,t[0]||(t[0]=[It("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z","clip-rule":"evenodd"},null,-1)]))}var $O=Eo(LO,[["render",xO]]);const DO={},jO={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
66currentColor",height:"20",width:"20"};function NO(e,t){return ue(),je("svg",jO,t[0]||(t[0]=[It("path",{"fill-rule":"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z","clip-rule":"evenodd"},null,-1)]))}var MO=Eo(DO,[["render",NO]]);const UO={},FO={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function HO(e,t){return ue(),je("svg",FO,t[0]||(t[0]=[It("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z","clip-rule":"evenodd"},null,-1)]))}var BO=Eo(UO,[["render",HO]]);const VO=["aria-label"],WO=["data-sonner-theme","dir","data-theme","data-rich-colors","data-y-position","data-x-position","data-lifted"],zO=typeof window<"u"&&typeof document<"u";function qO(){if(typeof window>"u"||typeof document>"u")return"ltr";const e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}var KO=st({name:"Toaster",inheritAttrs:!1,__name:"Toaster",props:{invert:{type:Boolean,default:!1},theme:{default:"light"},position:{default:"bottom-right"},hotkey:{default:()=>["altKey","KeyT"]},richColors:{type:Boolean,default:!1},expand:{type:Boolean,default:!1},duration:{},gap:{default:cO},visibleToasts:{default:aO},closeButton:{type:Boolean,default:!1},toastOptions:{default:()=>({})},class:{default:""},style:{},offset:{default:Gg},mobileOffset:{default:Jg},dir:{default:"auto"},swipeDirections:{},icons:{},containerAriaLabel:{default:"Notifications"}},setup(e){const t=e,n=ly(),r=ae([]);function s(O,L){return r.value.filter(x=>!x.position&&L===0||x.position===O)}const o=se(()=>{const O=r.value.filter(L=>L.position).map(L=>L.position);return O.length>0?Array.from(new Set([t.position].concat(O))):[t.position]}),i=se(()=>{const O={};return o.value.forEach(L=>{O[L]=r.value.filter(x=>x.position===L)}),O}),a=ae([]),l=ae(!1),u=ae(!1),c=ae(t.theme!=="system"?t.theme:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),f=ae(null),d=ae(null),h=ae(!1),g=t.hotkey.join("+").replace(/Key/g,"").replace(/Digit/g,"");function p(O){var L;(L=r.value.find(x=>x.id===O.id))!=null&&L.delete||vt.dismiss(O.id),r.value=r.value.filter(({id:x})=>x!==O.id)}function b(O){var L,x;h.value&&!((x=(L=O.currentTarget)==null?void 0:L.contains)!=null&&x.call(L,O.relatedTarget))&&(h.value=!1,d.value&&(d.value.focus({preventScroll:!0}),d.value=null))}function y(O){O.target instanceof HTMLElement&&O.target.dataset.dismissible==="false"||h.value||(h.value=!0,d.value=O.relatedTarget)}function v(O){O.target&&O.target instanceof HTMLElement&&O.target.dataset.dismissible==="false"||(u.value=!0)}fr(O=>{const L=vt.subscribe(x=>{if(x.dismiss){requestAnimationFrame(()=>{r.value=r.value.map(B=>B.id===x.id?{...B,delete:!0}:B)});return}Vt(()=>{const B=r.value.findIndex(M=>M.id===x.id);B!==-1?r.value=[...r.value.slice(0,B),{...r.value[B],...x},...r.value.slice(B+1)]:r.value=[x,...r.value]})});O(L)}),Xe(()=>t.theme,O=>{if(O!=="system"){c.value=O;return}if(O==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?c.value="dark":c.value="light"),typeof window>"u")return;const L=window.matchMedia("(prefers-color-scheme: dark)");try{L.addEventListener("change",({matches:x})=>{x?c.value="dark":c.value="light"})}catch{L.addListener(({matches:B})=>{try{B?c.value="dark":c.value="light"}catch(M){console.error(M)}})}}),fr(()=>{f.value&&d.value&&(d.value.focus({preventScroll:!0}),d.value=null,h.value=!1)}),fr(()=>{r.value.length<=1&&(l.value=!1)}),fr(O=>{function L(x){const B=t.hotkey.every(ie=>x[ie]||x.code===ie),M=Array.isArray(f.value)?f.value[0]:f.value;B&&(l.value=!0,M==null||M.focus());const G=document.activeElement===f.value||(M==null?void 0:M.contains(document.activeElement));x.code==="Escape"&&G&&(l.value=!1)}zO&&(document.addEventListener("keydown",L),O(()=>{document.removeEventListener("keydown",L)}))});function m(){l.value=!0}function _(){u.value||(l.value=!1)}function T(){l.value=!1}function C(){u.value=!1}function A(O){a.value=O}return(O,L)=>(ue(),je(Re,null,[ar(" Remove item from normal navigation flow, only available via hotkey "),It("section",{"aria-label":`${O.containerAriaLabel} ${te(g)}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false"},[(ue(!0),je(Re,null,Ka(o.value,(x,B)=>{var M;return ue(),je("ol",pr({key:x,ref_for:!0,ref_key:"listRef",ref:f,"data-sonner-toaster":"","data-sonner-theme":c.value,class:t.class,dir:O.dir==="auto"?qO():O.dir,tabIndex:-1,"data-theme":O.theme,"data-rich-colors":O.richColors,"data-y-position":x.split("-")[0],"data-x-position":x.split("-")[1],"data-lifted":l.value&&r.value.length>1&&!O.expand,style:{"--front-toast-height":`${((M=a.value[0])==null?void 0:M.height)||0}px`,"--width":`${te(lO)}px`,"--gap":`${O.gap}px`,...O.style,...te(n).style,...te(pO)(O.offset,O.mobileOffset)}}
66,O.$attrs,{onBlur:b,onFocus:y,onMouseenter:m,onMousemove:m,onMouseleave:_,onDragend:T,onPointerdown:v,onPointerup:C}),[(ue(!0),je(Re,null,Ka(s(x,B),(G,ie)=>{var le,J,Q,X,me,He,Ie,De,ft,dt;return ue(),ct(yO,{key:G.id,heights:a.value.filter($t=>$t.position===G.position),icons:O.icons,index:ie,toast:G,defaultRichColors:O.richColors,duration:((le=O.toastOptions)==null?void 0:le.duration)??O.duration,class:Et(((J=O.toastOptions)==null?void 0:J.class)??""),descriptionClass:(Q=O.toastOptions)==null?void 0:Q.descriptionClass,invert:O.invert,visibleToasts:O.visibleToasts,closeButton:((X=O.toastOptions)==null?void 0:X.closeButton)??O.closeButton,interacting:u.value,position:x,style:Bn((me=O.toastOptions)==null?void 0:me.style),unstyled:(He=O.toastOptions)==null?void 0:He.unstyled,classes:(Ie=O.toastOptions)==null?void 0:Ie.classes,cancelButtonStyle:(De=O.toastOptions)==null?void 0:De.cancelButtonStyle,actionButtonStyle:(ft=O.toastOptions)==null?void 0:ft.actionButtonStyle,"close-button-aria-label":(dt=O.toastOptions)==null?void 0:dt.closeButtonAriaLabel,toasts:i.value[x],expandByDefault:O.expand,gap:O.gap,expanded:l.value,swipeDirections:t.swipeDirections,"onUpdate:heights":A,onRemoveToast:p},{"close-icon":hn(()=>[Pt(O.$slots,"close-icon",{},()=>[ve(EO)])]),"loading-icon":hn(()=>[Pt(O.$slots,"loading-icon",{},()=>[ve(PO,{visible:G.type==="loading"},null,8,["visible"])])]),"success-icon":hn(()=>[Pt(O.$slots,"success-icon",{},()=>[ve(OO)])]),"error-icon":hn(()=>[Pt(O.$slots,"error-icon",{},()=>[ve(BO)])]),"warning-icon":hn(()=>[Pt(O.$slots,"warning-icon",{},()=>[ve(MO)])]),"info-icon":hn(()=>[Pt(O.$slots,"info-icon",{},()=>[ve($O)])]),_:2},1032,["heights","icons","index","toast","defaultRichColors","duration","class","descriptionClass","invert","visibleToasts","closeButton","interacting","position","style","unstyled","classes","cancelButtonStyle","actionButtonStyle","close-button-aria-label","toasts","expandByDefault","gap","expanded","swipeDirections"])}),128))],16,WO)}),128))],8,VO)],2112))}}),GO=KO;const JO=st({__name:"Sonner",props:{invert:{type:Boolean},theme:{},position:{},hotkey:{},richColors:{type:Boolean},expand:{type:Boolean},duration:{},gap:{},visibleToasts:{},closeButton:{type:Boolean},toastOptions:{},class:{},style:{},offset:{},mobileOffset:{},dir:{},swipeDirections:{},icons:{},containerAriaLabel:{}},setup(e){const t=e;return(n,r)=>(ue(),ct(te(GO),pr({class:"toaster group"},t,{style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"}}),null,16))}}),YO=st({__name:"app",setup(e){const{t}=na(),n=se(()=>t("common.meta.title")),r=se(()=>t("common.meta.description")),s=_o(),o=Gt().public.webUrl||"https://free2convert.com",i=se(()=>`${o}${s.path}`);return q0({titleTemplate:a=>a?`${a} | ${n.value}`:n.value,ogTitle:n,description:r,ogDescription:r,ogImage:"https://www.free2convert.com/logo.png",twitterCard:"summary_large_image"}),sm({link:[{key:"canonical",rel:"canonical",href:i}]}),(a,l)=>{const u=qR,c=ZR;return ue(),je(Re,null,[ve(c,null,{default:hn(()=>[ve(u)]),_:1}),ve(te(JO),{position:"top-right",richColors:""})],64)}}}),XO={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(`
67`).splice(1).map(f=>({text:f.replace("webpack:/","").replace(".vue",".js").trim(),internal:f.includes("node_modules")&&!f.includes(".cache")||f.includes("internal")||f.includes("new Promise")})).map(f=>`<span class="stack${f.internal?" internal":""}">${f.text}</span>`).join(`
68`);const r=Number(n.statusCode||500),s=r===404,o=n.statusMessage??(s?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,c=s?be(()=>N(()=>import("./DBE99Sfa.js"),__vite__mapDeps([106,3,4,107]),import.meta.url)):be(()=>N(()=>import("./BSwCHjl-.js"),__vite__mapDeps([108,4,109]),import.meta.url));return(f,d)=>(ue(),ct(te(c),Fa(mp({statusCode:te(r),statusMessage:te(o),description:te(i),stack:te(a)})),null,16))}},QO={key:0},Jd={__name:"nuxt-root",setup(e){const t=()=>null,n=pe(),r=n.deferHydration();if(n.isHydrating){const u=n.hooks.hookOnce("app:error",r);ut().beforeEach(u)}const s=!1;zn(yr,_o()),n.hooks.callHookWith(u=>u.map(c=>c()),"vue:setup");const o=Wi(),i=!1,a=/bot\b|chrome-lighthouse|facebookexternalhit|google\b|googlebot/i;Bh((u,c,f)=>{if(n.hooks.callHook("vue:error",u,c,f).catch(d=>console.error("[nuxt] Error in `vue:error` hook",d)),a.test(navigator.userAgent))return n.hooks.callHook("app:error",u),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,u),!1;if(Wp(u)&&(u.fatal||u.unhandled))return n.runWithContext(()=>lr(u)),!1});const l=!1;return(u,c)=>(ue(),ct(fc,{onResolve:te(r)},{default:hn(()=>[te(i)?(ue(),je("div",QO)):te(o)?(ue(),ct(te(XO),{key:1,error:te(o)},null,8,["error"])):te(l)?(ue(),ct(te(t),{key:2,context:te(l)},null,8,["context"])):te(s)?(ue(),ct(Nr(te(s)),{key:3})):(ue(),ct(te(YO),{key:4}))]),_:1},8,["onResolve"]))}};let Yd;{let e;Yd=async function(){var i,a;if(e)return e;const r=!!(((i=window.__NUXT__)==null?void 0:i.serverRendered)??((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?Pv(Jd):Sv(Jd),s=Mb({vueApp:r});async function o(l){var u;await s.callHook("app:error",l),(u=s.payload).error||(u.error=mr(l))}r.config.errorHandler=o,s.hook("app:suspense:resolve",()=>{r.config.errorHandler===o&&(r.config.errorHandler=void 0)});try{await Hb(s,WR)}catch(l){o(l)}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(Db),await s.hooks.callHook("app:mounted",r),await Vt()}catch(l){o(l)}return r},e=Yd().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{gL as $,fr as A,pr as B,Sr as C,IL as D,uL as E,Re as F,Pt as G,qt as H,Xe as I,Hr as J,wh as K,Gn as L,oc as M,Nr as N,qe as O,fs as P,on as Q,Ye as R,zn as S,PE as T,D_ as U,ar as V,Fa as W,mp as X,lL as Y,_o as Z,mr as _,It as a,ge as a0,sL as a1,be as a2,qn as a3,We as a4,eo as a5,N as a6,pe as a7,vL as a8,ny as a9,ye as aA,$_ as aB,fo as aC,go as aD,Tn as aE,rL as aF,Ko as aG,Lt as aH,sc as aI,mL as aJ,fL as aK,wL as aL,nL as aM,eL as aN,Fp as aO,cL as aP,aL as aQ,bL as aR,Ru as aS,_L as aT,iL as aU,oL as aV,Lp as aW,Lg as aX,ds as aY,QE as aZ,ri as aa,ho as ab,ns as ac,jp as ad,pL as ae,EL as af,hL as ag,Bn as ah,ev as ai,ut as aj,kc as ak,kf as al,TL as am,pc as an,Qb as ao,ME as ap,yL as aq,Kt as ar,
68wr as as,Ef as at,gi as au,BE as av,RL as aw,OL as ax,JA as ay,LL as az,ve as b,je as c,hi as d,st as e,na as f,Wn as g,Mi as h,te as i,nA as j,se as k,Ka as l,tL as m,Vt as n,ue as o,Se as p,Et as q,ae as r,ct as s,Cs as t,sm as u,dL as v,hn as w,Gt as x,q0 as y,cS 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.