@vitejs/devtools-vite 0.4.7 → 0.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/nitro.json +1 -1
- package/dist/public/200.html +1 -1
- package/dist/public/404.html +1 -1
- package/dist/public/_nuxt/B7BE8jcn.js +1 -0
- package/dist/public/_nuxt/BHsU1Toe.js +2 -0
- package/dist/public/_nuxt/{BJv-YGcz.js → BsnJoUMR.js} +1 -1
- package/dist/public/_nuxt/{457Jr4Pr.js → C0U5Fjr2.js} +1 -1
- package/dist/public/_nuxt/{CQYaOgKz.js → C8ASv8Uh.js} +1 -1
- package/dist/public/_nuxt/{CmUhjeqQ.js → CzrZMop3.js} +5 -5
- package/dist/public/_nuxt/D_wf7E37.js +1 -0
- package/dist/public/_nuxt/DentZQxO.js +1 -0
- package/dist/public/_nuxt/DiZC6pg2.js +1 -0
- package/dist/public/_nuxt/{BjNQYZhJ.js → DoSdEpoN.js} +1 -1
- package/dist/public/_nuxt/Dq6qvGpt.js +3 -0
- package/dist/public/_nuxt/HclGiUj8.js +1 -0
- package/dist/public/_nuxt/{D0mRlQPq.js → Wb4b6J_a.js} +1 -1
- package/dist/public/_nuxt/builds/latest.json +1 -1
- package/dist/public/_nuxt/builds/meta/1bd70f59-c8bf-40a3-a3b5-03f5c6f09f60.json +1 -0
- package/dist/public/_nuxt/dIMRCyvM.js +2 -0
- package/dist/public/_nuxt/{entry.hOJ48ssG.css → entry.B1GV0iLs.css} +1 -1
- package/dist/public/_nuxt/error-404.CynJTODH.css +1 -0
- package/dist/public/_nuxt/error-500.BY-oSCxa.css +1 -0
- package/dist/public/_nuxt/x4u6fM2h.js +1 -0
- package/dist/public/index.html +1 -1
- package/package.json +4 -4
- package/dist/public/_nuxt/B1xYalZA.js +0 -1
- package/dist/public/_nuxt/BD3m7KFk.js +0 -2
- package/dist/public/_nuxt/C3lVFA1Q.js +0 -1
- package/dist/public/_nuxt/CAlSLYmJ.js +0 -1
- package/dist/public/_nuxt/CE0N17bB.js +0 -1
- package/dist/public/_nuxt/CHXuaNaj.js +0 -1
- package/dist/public/_nuxt/CWPpjZx6.js +0 -1
- package/dist/public/_nuxt/D3MExTHO.js +0 -3
- package/dist/public/_nuxt/DwuSCfqj.js +0 -2
- package/dist/public/_nuxt/builds/meta/bda2b3e4-2bc8-4ad9-8634-cdf7d8780e82.json +0 -1
- package/dist/public/_nuxt/error-404.CWapcjku.css +0 -1
- package/dist/public/_nuxt/error-500.CqRdOQcg.css +0 -1
- package/dist/public/_nuxt/rFMnVJ5F.js +0 -1
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
function e(e,...t){return typeof e==`function`?e(...t):e}var t=Error.captureStackTrace,n=class e extends Error{name;code;docs;fix;sources;get why(){return this.message}constructor(n,r=e){super(n.why,{cause:n.cause}),this.code=this.name=n.code,this.fix=n.fix,this.docs=n.docs,this.sources=n.sources,t?.(this,r)}toJSON(){return{name:this.name,why:this.why,fix:this.fix,docs:this.docs,sources:this.sources,cause:this.cause,stack:this.stack}}};function r(e,t){return typeof e==`string`?`${e}/${t.toLowerCase()}`:e?.(t)}function i(t){let i=t.reporters??[],a={},{docsBase:o}=t;for(let s of Object.keys(t.codes)){let c=t.codes[s],l=c.docs===!1?void 0:c.docs||r(o,s),u=(t={},r={})=>{let a=new n({code:s,why:e(c.why,t),fix:e(c.fix,t),docs:l,cause:t.cause,sources:t.sources},u);for(let e of i)e(a,r);return a};a[s]=u}return a}function a(e={}){let{docsBase:t,reporters:i=[]}=e;return new Proxy({},{get(e,a){if(typeof a!=`string`)return;let o=(e={},s={})=>{let c=r(t,a),l=new n({code:a,why:c??``,docs:c,cause:e.cause,sources:e.sources},o);for(let e of i)e(l,s);return l};return o}})}function o(e){return`https://nuxt.com/docs/4.x/errors/${e.replace(`NUXT_`,``).toLowerCase()}`}var s=[e=>{console.error(`[${e.name}]`)}],c=a({docsBase:o,reporters:s});function l(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}var u={},d=[],f=()=>{},p=()=>!1,m=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),h=e=>e.startsWith(`onUpdate:`),g=Object.assign,_=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},v=Object.prototype.hasOwnProperty,y=(e,t)=>v.call(e,t),b=Array.isArray,x=e=>re(e)===`[object Map]`,S=e=>re(e)===`[object Set]`,C=e=>re(e)===`[object Date]`,ee=e=>re(e)===`[object RegExp]`,w=e=>typeof e==`function`,T=e=>typeof e==`string`,E=e=>typeof e==`symbol`,D=e=>typeof e==`object`&&!!e,te=e=>(D(e)||w(e))&&w(e.then)&&w(e.catch),ne=Object.prototype.toString,re=e=>ne.call(e),ie=e=>re(e).slice(8,-1),ae=e=>re(e)===`[object Object]`,oe=e=>T(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,O=l(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),se=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},ce=/-\w/g,k=se(e=>e.replace(ce,e=>e.slice(1).toUpperCase())),le=/\B([A-Z])/g,ue=se(e=>e.replace(le,`-$1`).toLowerCase()),de=se(e=>e.charAt(0).toUpperCase()+e.slice(1)),A=se(e=>e?`on${de(e)}`:``),j=(e,t)=>!Object.is(e,t),fe=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},pe=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},me=e=>{let t=parseFloat(e);return isNaN(t)?e:t},he=e=>{let t=T(e)?Number(e):NaN;return isNaN(t)?e:t},ge,_e=()=>ge||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof globalThis<`u`?globalThis:{};function ve(e){if(b(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=T(r)?Se(r):ve(r);if(i)for(let e in i)t[e]=i[e]}return t}else if(T(e)||D(e))return e}var ye=/;(?![^(]*\))/g,be=/:([^]+)/,xe=/\/\*[^]*?\*\//g;function Se(e){let t={};return e.replace(xe,``).split(ye).forEach(e=>{if(e){let n=e.split(be);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Ce(e){let t=``;if(T(e))t=e;else if(b(e))for(let n=0;n<e.length;n++){let r=Ce(e[n]);r&&(t+=r+` `)}else if(D(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}function we(e){if(!e)return null;let{class:t,style:n}=e;return t&&!T(t)&&(e.class=Ce(t)),n&&(e.style=ve(n)),e}var Te=`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`,Ee=l(Te);Te+``;function De(e){return!!e||e===``}function Oe(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=ke(e[r],t[r]);return n}function ke(e,t){if(e===t)return!0;let n=C(e),r=C(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=E(e),r=E(t),n||r)return e===t;if(n=b(e),r=b(t),n||r)return n&&r?Oe(e,t):!1;if(n=D(e),r=D(t),n||r){if(!n||!r||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e){let r=e.hasOwnProperty(n),i=t.hasOwnProperty(n);if(r&&!i||!r&&i||!ke(e[n],t[n]))return!1}}return String(e)===String(t)}var Ae=e=>!!(e&&e.__v_isRef===!0),je=e=>T(e)?e:e==null?``:b(e)||D(e)&&(e.toString===ne||!w(e.toString))?Ae(e)?je(e.value):JSON.stringify(e,Me,2):String(e),Me=(e,t)=>Ae(t)?Me(e,t.value):x(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[Ne(t,r)+` =>`]=n,e),{})}:S(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Ne(e))}:E(t)?Ne(t):D(t)&&!b(t)&&!ae(t)?String(t):t,Ne=(e,t=``)=>E(e)?`Symbol(${e.description??t})`:e,M,Pe=class{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&M&&(M.active?(this.parent=M,this.index=(M.scopes||=[]).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].pause()}for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}let n=this.effects.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}}run(e){if(this._active){let t=M;try{return M=this,e()}finally{M=t}}}on(){++this._on===1&&(this.prevScope=M,M=this)}off(){if(this._on>0&&--this._on===0){if(M===this)M=this.prevScope;else{let e=M;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){this._active=!1;let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){let e=this.scopes.slice();for(t=0,n=e.length;t<n;t++)e[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}};function Fe(e){return new Pe(e)}function Ie(){return M}function Le(e,t=!1){M&&M.cleanups.push(e)}var N,Re=new WeakSet,ze=class{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,M&&(M.active?M.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Re.has(this)&&(Re.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ue(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,tt(this),Ke(this);let e=N,t=P;N=this,P=!0;try{return this.fn()}finally{qe(this),N=e,P=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)Xe(e);this.deps=this.depsTail=void 0,tt(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Re.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Je(this)&&this.run()}get dirty(){return Je(this)}},Be=0,Ve,He;function Ue(e,t=!1){if(e.flags|=8,t){e.next=He,He=e;return}e.next=Ve,Ve=e}function We(){Be++}function Ge(){if(--Be>0)return;if(He){let e=He;for(He=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;Ve;){let t=Ve;for(Ve=void 0;t;){let n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(t){e||=t}t=n}}if(e)throw e}function Ke(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function qe(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;r.version===-1?(r===n&&(n=e),Xe(r),Ze(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function Je(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ye(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ye(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===nt)||(e.globalVersion=nt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Je(e))))return;e.flags|=2;let t=e.dep,n=N,r=P;N=e,P=!0;try{Ke(e);let n=e.fn(e._value);(t.version===0||j(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{N=n,P=r,qe(e),e.flags&=-3}}function Xe(e,t=!1){let{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)Xe(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ze(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}var P=!0,Qe=[];function $e(){Qe.push(P),P=!1}function et(){let e=Qe.pop();P=e===void 0||e}function tt(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=N;N=void 0;try{t()}finally{N=e}}}var nt=0,rt=class{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},it=class{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!N||!P||N===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==N)t=this.activeLink=new rt(N,this),N.deps?(t.prevDep=N.depsTail,N.depsTail.nextDep=t,N.depsTail=t):N.deps=N.depsTail=t,at(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=N.depsTail,t.nextDep=void 0,N.depsTail.nextDep=t,N.depsTail=t,N.deps===t&&(N.deps=e)}return t}trigger(e){this.version++,nt++,this.notify(e)}notify(e){We();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Ge()}}};function at(e){if(e.dep.sc++,e.sub.flags&4){let t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)at(e)}let n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}var ot=new WeakMap,st=Symbol(``),ct=Symbol(``),lt=Symbol(``);function F(e,t,n){if(P&&N){let t=ot.get(e);t||ot.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new it),r.map=t,r.key=n),r.track()}}function ut(e,t,n,r,i,a){let o=ot.get(e);if(!o){nt++;return}let s=e=>{e&&e.trigger()};if(We(),t===`clear`)o.forEach(s);else{let i=b(e),a=i&&oe(n);if(i&&n===`length`){let e=Number(r);o.forEach((t,n)=>{(n===`length`||n===lt||!E(n)&&n>=e)&&s(t)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),a&&s(o.get(lt)),t){case`add`:i?a&&s(o.get(`length`)):(s(o.get(st)),x(e)&&s(o.get(ct)));break;case`delete`:i||(s(o.get(st)),x(e)&&s(o.get(ct)));break;case`set`:x(e)&&s(o.get(st));break}}Ge()}function dt(e,t){let n=ot.get(e);return n&&n.get(t)}function ft(e){let t=L(e);return t===e?t:(F(t,`iterate`,lt),I(e)?t:t.map(R))}function pt(e){return F(e=L(e),`iterate`,lt),e}function mt(e,t){return $t(e)?nn(Qt(e)?R(t):t):R(t)}var ht={__proto__:null,[Symbol.iterator](){return gt(this,Symbol.iterator,e=>mt(this,e))},concat(...e){return ft(this).concat(...e.map(e=>b(e)?ft(e):e))},entries(){return gt(this,`entries`,e=>(e[1]=mt(this,e[1]),e))},every(e,t){return vt(this,`every`,e,t,void 0,arguments)},filter(e,t){return vt(this,`filter`,e,t,e=>e.map(e=>mt(this,e)),arguments)},find(e,t){return vt(this,`find`,e,t,e=>mt(this,e),arguments)},findIndex(e,t){return vt(this,`findIndex`,e,t,void 0,arguments)},findLast(e,t){return vt(this,`findLast`,e,t,e=>mt(this,e),arguments)},findLastIndex(e,t){return vt(this,`findLastIndex`,e,t,void 0,arguments)},forEach(e,t){return vt(this,`forEach`,e,t,void 0,arguments)},includes(...e){return bt(this,`includes`,e)},indexOf(...e){return bt(this,`indexOf`,e)},join(e){return ft(this).join(e)},lastIndexOf(...e){return bt(this,`lastIndexOf`,e)},map(e,t){return vt(this,`map`,e,t,void 0,arguments)},pop(){return xt(this,`pop`)},push(...e){return xt(this,`push`,e)},reduce(e,...t){return yt(this,`reduce`,e,t)},reduceRight(e,...t){return yt(this,`reduceRight`,e,t)},shift(){return xt(this,`shift`)},some(e,t){return vt(this,`some`,e,t,void 0,arguments)},splice(...e){return xt(this,`splice`,e)},toReversed(){return ft(this).toReversed()},toSorted(e){return ft(this).toSorted(e)},toSpliced(...e){return ft(this).toSpliced(...e)},unshift(...e){return xt(this,`unshift`,e)},values(){return gt(this,`values`,e=>mt(this,e))}};function gt(e,t,n){let r=pt(e),i=r[t]();return r!==e&&!I(e)&&(i._next=i.next,i.next=()=>{let e=i._next();return e.done||(e.value=n(e.value)),e}),i}var _t=Array.prototype;function vt(e,t,n,r,i,a){let o=pt(e),s=o!==e&&!I(e),c=o[t];if(c!==_t[t]){let t=c.apply(e,a);return s?R(t):t}let l=n;o!==e&&(s?l=function(t,r){return n.call(this,mt(e,t),r,e)}:n.length>2&&(l=function(t,r){return n.call(this,t,r,e)}));let u=c.call(o,l,r);return s&&i?i(u):u}function yt(e,t,n,r){let i=pt(e),a=i!==e&&!I(e),o=n,s=!1;i!==e&&(a?(s=r.length===0,o=function(t,r,i){return s&&(s=!1,t=mt(e,t)),n.call(this,t,mt(e,r),i,e)}):n.length>3&&(o=function(t,r,i){return n.call(this,t,r,i,e)}));let c=i[t](o,...r);return s?mt(e,c):c}function bt(e,t,n){let r=L(e);F(r,`iterate`,lt);let i=r[t](...n);return(i===-1||i===!1)&&en(n[0])?(n[0]=L(n[0]),r[t](...n)):i}function xt(e,t,n=[]){$e(),We();let r=L(e)[t].apply(e,n);return Ge(),et(),r}var St=l(`__proto__,__v_isRef,__isVue`),Ct=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==`arguments`&&e!==`caller`).map(e=>Symbol[e]).filter(E));function wt(e){E(e)||(e=String(e));let t=L(this);return F(t,`has`,e),t.hasOwnProperty(e)}var Tt=class{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if(t===`__v_skip`)return e.__v_skip;let r=this._isReadonly,i=this._isShallow;if(t===`__v_isReactive`)return!r;if(t===`__v_isReadonly`)return r;if(t===`__v_isShallow`)return i;if(t===`__v_raw`)return n===(r?i?Gt:Wt:i?Ut:Ht).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let a=b(e);if(!r){let e;if(a&&(e=ht[t]))return e;if(t===`hasOwnProperty`)return wt}let o=Reflect.get(e,t,z(e)?e:n);if((E(t)?Ct.has(t):St(t))||(r||F(e,`get`,t),i))return o;if(z(o)){let e=a&&oe(t)?o:o.value;return r&&D(e)?Yt(e):e}return D(o)?r?Yt(o):qt(o):o}},Et=class extends Tt{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t],a=b(e)&&oe(t);if(!this._isShallow){let e=$t(i);if(!I(n)&&!$t(n)&&(i=L(i),n=L(n)),!a&&z(i)&&!z(n))return e||(i.value=n),!0}let o=a?Number(t)<e.length:y(e,t),s=Reflect.set(e,t,n,z(e)?e:r);return e===L(r)&&s&&(o?j(n,i)&&ut(e,`set`,t,n,i):ut(e,`add`,t,n)),s}deleteProperty(e,t){let n=y(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&ut(e,`delete`,t,void 0,r),i}has(e,t){let n=Reflect.has(e,t);return(!E(t)||!Ct.has(t))&&F(e,`has`,t),n}ownKeys(e){return F(e,`iterate`,b(e)?`length`:st),Reflect.ownKeys(e)}},Dt=class extends Tt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},Ot=new Et,kt=new Dt,At=new Et(!0),jt=new Dt(!0),Mt=e=>e,Nt=e=>Reflect.getPrototypeOf(e);function Pt(e,t,n){return function(...r){let i=this.__v_raw,a=L(i),o=x(a),s=e===`entries`||e===Symbol.iterator&&o,c=e===`keys`&&o,l=i[e](...r),u=n?Mt:t?nn:R;return!t&&F(a,`iterate`,c?ct:st),g(Object.create(l),{next(){let{value:e,done:t}=l.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}}})}}function Ft(e){return function(...t){return e===`delete`?!1:e===`clear`?void 0:this}}function It(e,t){let n={get(n){let r=this.__v_raw,i=L(r),a=L(n);e||(j(n,a)&&F(i,`get`,n),F(i,`get`,a));let{has:o}=Nt(i),s=t?Mt:e?nn:R;if(o.call(i,n))return s(r.get(n));if(o.call(i,a))return s(r.get(a));r!==i&&r.get(n)},get size(){let t=this.__v_raw;return!e&&F(L(t),`iterate`,st),t.size},has(t){let n=this.__v_raw,r=L(n),i=L(t);return e||(j(t,i)&&F(r,`has`,t),F(r,`has`,i)),t===i?n.has(t):n.has(t)||n.has(i)},forEach(n,r){let i=this,a=i.__v_raw,o=L(a),s=t?Mt:e?nn:R;return!e&&F(o,`iterate`,st),a.forEach((e,t)=>n.call(r,s(e),s(t),i))}};return g(n,e?{add:Ft(`add`),set:Ft(`set`),delete:Ft(`delete`),clear:Ft(`clear`)}:{add(e){let n=L(this),r=Nt(n),i=L(e),a=!t&&!I(e)&&!$t(e)?i:e;return r.has.call(n,a)||j(e,a)&&r.has.call(n,e)||j(i,a)&&r.has.call(n,i)||(n.add(a),ut(n,`add`,a,a)),this},set(e,n){!t&&!I(n)&&!$t(n)&&(n=L(n));let r=L(this),{has:i,get:a}=Nt(r),o=i.call(r,e);o||=(e=L(e),i.call(r,e));let s=a.call(r,e);return r.set(e,n),o?j(n,s)&&ut(r,`set`,e,n,s):ut(r,`add`,e,n),this},delete(e){let t=L(this),{has:n,get:r}=Nt(t),i=n.call(t,e);i||=(e=L(e),n.call(t,e));let a=r?r.call(t,e):void 0,o=t.delete(e);return i&&ut(t,`delete`,e,void 0,a),o},clear(){let e=L(this),t=e.size!==0,n=e.clear();return t&&ut(e,`clear`,void 0,void 0,void 0),n}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(r=>{n[r]=Pt(r,e,t)}),n}function Lt(e,t){let n=It(e,t);return(t,r,i)=>r===`__v_isReactive`?!e:r===`__v_isReadonly`?e:r===`__v_raw`?t:Reflect.get(y(n,r)&&r in t?n:t,r,i)}var Rt={get:Lt(!1,!1)},zt={get:Lt(!1,!0)},Bt={get:Lt(!0,!1)},Vt={get:Lt(!0,!0)},Ht=new WeakMap,Ut=new WeakMap,Wt=new WeakMap,Gt=new WeakMap;function Kt(e){switch(e){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function qt(e){return $t(e)?e:Zt(e,!1,Ot,Rt,Ht)}function Jt(e){return Zt(e,!1,At,zt,Ut)}function Yt(e){return Zt(e,!0,kt,Bt,Wt)}function Xt(e){return Zt(e,!0,jt,Vt,Gt)}function Zt(e,t,n,r,i){if(!D(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;let a=i.get(e);if(a)return a;let o=Kt(ie(e));if(o===0)return e;let s=new Proxy(e,o===2?r:n);return i.set(e,s),s}function Qt(e){return $t(e)?Qt(e.__v_raw):!!(e&&e.__v_isReactive)}function $t(e){return!!(e&&e.__v_isReadonly)}function I(e){return!!(e&&e.__v_isShallow)}function en(e){return e?!!e.__v_raw:!1}function L(e){let t=e&&e.__v_raw;return t?L(t):e}function tn(e){return!y(e,`__v_skip`)&&Object.isExtensible(e)&&pe(e,`__v_skip`,!0),e}var R=e=>D(e)?qt(e):e,nn=e=>D(e)?Yt(e):e;function z(e){return e?e.__v_isRef===!0:!1}function rn(e){return on(e,!1)}function an(e){return on(e,!0)}function on(e,t){return z(e)?e:new sn(e,t)}var sn=class{constructor(e,t){this.dep=new it,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:L(e),this._value=t?e:R(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||I(e)||$t(e);e=n?e:L(e),j(e,t)&&(this._rawValue=e,this._value=n?e:R(e),this.dep.trigger())}};function cn(e){e.dep&&e.dep.trigger()}function ln(e){return z(e)?e.value:e}function un(e){return w(e)?e():ln(e)}var dn={get:(e,t,n)=>t===`__v_raw`?e:ln(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let i=e[t];return z(i)&&!z(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function fn(e){return Qt(e)?e:new Proxy(e,dn)}var pn=class{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new it,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}};function mn(e){return new pn(e)}function hn(e){let t=b(e)?Array(e.length):{};for(let n in e)t[n]=yn(e,n);return t}var gn=class{constructor(e,t,n){this._object=e,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=E(t)?t:String(t),this._raw=L(e);let r=!0,i=e;if(!b(e)||E(this._key)||!oe(this._key))do r=!en(i)||I(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let e=this._object[this._key];return this._shallow&&(e=ln(e)),this._value=e===void 0?this._defaultValue:e}set value(e){if(this._shallow&&z(this._raw[this._key])){let t=this._object[this._key];if(z(t)){t.value=e;return}}this._object[this._key]=e}get dep(){return dt(this._raw,this._key)}},_n=class{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}};function vn(e,t,n){return z(e)?e:w(e)?new _n(e):D(e)&&arguments.length>1?yn(e,t,n):rn(e)}function yn(e,t,n){return new gn(e,t,n)}var bn=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new it(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=nt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&N!==this)return Ue(this,!0),!0}get value(){let e=this.dep.track();return Ye(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}};function xn(e,t,n=!1){let r,i;return w(e)?r=e:(r=e.get,i=e.set),new bn(r,i,n)}var Sn={},Cn=new WeakMap,wn=void 0;function Tn(e,t=!1,n=wn){if(n){let t=Cn.get(n);t||Cn.set(n,t=[]),t.push(e)}}function En(e,t,n=u){let{immediate:r,deep:i,once:a,scheduler:o,augmentJob:s,call:c}=n,l=e=>i?e:I(e)||i===!1||i===0?Dn(e,1):Dn(e),d,p,m,h,g=!1,v=!1;if(z(e)?(p=()=>e.value,g=I(e)):Qt(e)?(p=()=>l(e),g=!0):b(e)?(v=!0,g=e.some(e=>Qt(e)||I(e)),p=()=>e.map(e=>{if(z(e))return e.value;if(Qt(e))return l(e);if(w(e))return c?c(e,2):e()})):p=w(e)?t?c?()=>c(e,2):e:()=>{if(m){$e();try{m()}finally{et()}}let t=wn;wn=d;try{return c?c(e,3,[h]):e(h)}finally{wn=t}}:f,t&&i){let e=p,t=i===!0?1/0:i;p=()=>Dn(e(),t)}let y=Ie(),x=()=>{d.stop(),y&&y.active&&_(y.effects,d)};if(a&&t){let e=t;t=(...t)=>{let n=e(...t);return x(),n}}let S=v?Array(e.length).fill(Sn):Sn,C=e=>{if(!(!(d.flags&1)||!d.dirty&&!e))if(t){let n=d.run();if(e||i||g||(v?n.some((e,t)=>j(e,S[t])):j(n,S))){m&&m();let e=wn;wn=d;try{let e=[n,S===Sn?void 0:v&&S[0]===Sn?[]:S,h];S=n,c?c(t,3,e):t(...e)}finally{wn=e}}}else d.run()};return s&&s(C),d=new ze(p),d.scheduler=o?()=>o(C,!1):C,h=e=>Tn(e,!1,d),m=d.onStop=()=>{let e=Cn.get(d);if(e){if(c)c(e,4);else for(let t of e)t();Cn.delete(d)}},t?r?C(!0):S=d.run():o?o(C.bind(null,!0),!0):d.run(),x.pause=d.pause.bind(d),x.resume=d.resume.bind(d),x.stop=x,x}function Dn(e,t=1/0,n){if(t<=0||!D(e)||e.__v_skip||(n||=new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,z(e))Dn(e.value,t,n);else if(b(e))for(let r=0;r<e.length;r++)Dn(e[r],t,n);else if(S(e)||x(e))e.forEach(e=>{Dn(e,t,n)});else if(ae(e)){for(let r in e)Dn(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Dn(e[r],t,n)}return e}function On(e,t,n,r){try{return r?e(...r):e()}catch(e){kn(e,t,n)}}function B(e,t,n,r){if(w(e)){let i=On(e,t,n,r);return i&&te(i)&&i.catch(e=>{kn(e,t,n)}),i}if(b(e)){let i=[];for(let a=0;a<e.length;a++)i.push(B(e[a],t,n,r));return i}}function kn(e,t,n,r=!0){let i=t?t.vnode:null,{errorHandler:a,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||u;if(t){let r=t.parent,i=t.proxy,o=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){let t=r.ec;if(t){for(let n=0;n<t.length;n++)if(t[n](e,i,o)===!1)return}r=r.parent}if(a){$e(),On(a,null,10,[e,i,o]),et();return}}An(e,n,i,r,o)}function An(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}var V=[],jn=-1,Mn=[],Nn=null,Pn=0,Fn=Promise.resolve(),In=null;function Ln(e){let t=In||Fn;return e?t.then(this?e.bind(this):e):t}function Rn(e){let t=jn+1,n=V.length;for(;t<n;){let r=t+n>>>1,i=V[r],a=Wn(i);a<e||a===e&&i.flags&2?t=r+1:n=r}return t}function zn(e){if(!(e.flags&1)){let t=Wn(e),n=V[V.length-1];!n||!(e.flags&2)&&t>=Wn(n)?V.push(e):V.splice(Rn(t),0,e),e.flags|=1,Bn()}}function Bn(){In||=Fn.then(Gn)}function Vn(e){b(e)?Mn.push(...e):Nn&&e.id===-1?Nn.splice(Pn+1,0,e):e.flags&1||(Mn.push(e),e.flags|=1),Bn()}function Hn(e,t,n=jn+1){for(;n<V.length;n++){let t=V[n];if(t&&t.flags&2){if(e&&t.id!==e.uid)continue;V.splice(n,1),n--,t.flags&4&&(t.flags&=-2),t(),t.flags&4||(t.flags&=-2)}}}function Un(e){if(Mn.length){let e=[...new Set(Mn)].sort((e,t)=>Wn(e)-Wn(t));if(Mn.length=0,Nn){Nn.push(...e);return}for(Nn=e,Pn=0;Pn<Nn.length;Pn++){let e=Nn[Pn];e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2}Nn=null,Pn=0}}var Wn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Gn(e){try{for(jn=0;jn<V.length;jn++){let e=V[jn];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),On(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;jn<V.length;jn++){let e=V[jn];e&&(e.flags&=-2)}jn=-1,V.length=0,Un(e),In=null,(V.length||Mn.length)&&Gn(e)}}var H=null,Kn=null;function qn(e){let t=H;return H=e,Kn=e&&e.type.__scopeId||null,t}function Jn(e){Kn=e}function Yn(){Kn=null}var Xn=e=>Zn;function Zn(e,t=H,n){if(!t||e._n)return e;let r=(...n)=>{r._d&&To(-1);let i=qn(t),a=xo.length,o;try{o=e(...n)}finally{for(let e=xo.length;e>a;e--)Co();qn(i),r._d&&To(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Qn(e,t){if(H===null)return e;let n=ss(H),r=e.dirs||=[];for(let e=0;e<t.length;e++){let[i,a,o,s=u]=t[e];i&&(w(i)&&(i={mounted:i,updated:i}),i.deep&&Dn(a),r.push({dir:i,instance:n,value:a,oldValue:void 0,arg:o,modifiers:s}))}return e}function $n(e,t,n,r){let i=e.dirs,a=t&&t.dirs;for(let o=0;o<i.length;o++){let s=i[o];a&&(s.oldValue=a[o].value);let c=s.dir[r];c&&($e(),B(c,n,8,[e.el,s,e,t]),et())}}function er(e,t){if($){let n=$.provides,r=$.parent&&$.parent.provides;r===n&&(n=$.provides=Object.create(r)),n[e]=t}}function tr(e,t,n=!1){let r=Ko();if(r||ha){let i=ha?ha._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&w(t)?t.call(r&&r.proxy):t}}function nr(){return!!(Ko()||ha)}var rr=Symbol.for(`v-scx`),ir=()=>tr(rr);function ar(e,t){return cr(e,null,t)}function or(e,t){return cr(e,null,{flush:`sync`})}function sr(e,t,n){return cr(e,t,n)}function cr(e,t,n=u){let{immediate:r,deep:i,flush:a,once:o}=n,s=g({},n),c=t&&r||!t&&a!==`post`,l;if(Qo){if(a===`sync`){let e=ir();l=e.__watcherHandles||=[]}else if(!c){let e=()=>{};return e.stop=f,e.resume=f,e.pause=f,e}}let d=$;s.call=(e,t,n)=>B(e,d,t,n);let p=!1;a===`post`?s.scheduler=e=>{K(e,d&&d.suspense)}:a!==`sync`&&(p=!0,s.scheduler=(e,t)=>{t?e():zn(e)}),s.augmentJob=e=>{t&&(e.flags|=4),p&&(e.flags|=2,d&&(e.id=d.uid,e.i=d))};let m=En(e,t,s);return Qo&&(l?l.push(m):c&&m()),m}function lr(e,t,n){let r=this.proxy,i=T(e)?e.includes(`.`)?ur(r,e):()=>r[e]:e.bind(r,r),a;w(t)?a=t:(a=t.handler,n=t);let o=Yo(this),s=cr(i,a.bind(r),n);return o(),s}function ur(e,t){let n=t.split(`.`);return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}var dr=new WeakMap,fr=Symbol(`_vte`),pr=e=>e.__isTeleport,mr=e=>e&&(e.disabled||e.disabled===``),hr=e=>e&&(e.defer||e.defer===``),gr=e=>typeof SVGElement<`u`&&e instanceof SVGElement,_r=e=>typeof MathMLElement==`function`&&e instanceof MathMLElement,vr=(e,t)=>{let n=e&&e.to;return T(n)?t?t(n):null:n},yr={name:`Teleport`,__isTeleport:!0,process(e,t,n,r,i,a,o,s,c,l){let{mc:u,pc:d,pbc:f,o:{insert:p,querySelector:m,createText:h,createComment:g,parentNode:_}}=l,v=mr(t.props),{dynamicChildren:y}=t,b=(e,t,n)=>{e.shapeFlag&16&&u(e.children,t,n,i,a,o,s,c)},x=(e=t)=>{let n=mr(e.props),r=e.target=vr(e.props,m),a=wr(r,e,h,p);r&&(o!==`svg`&&gr(r)?o=`svg`:o!==`mathml`&&_r(r)&&(o=`mathml`),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(r),n||(b(e,r,a),Cr(e,!1)))},S=e=>{let t=()=>{if(dr.get(e)===t){if(dr.delete(e),mr(e.props)){let t=_(e.el)||n;b(e,t,e.anchor),Cr(e,!0)}x(e)}};dr.set(e,t),K(t,a)};if(e==null){let e=t.el=h(``),i=t.anchor=h(``);if(p(e,n,r),p(i,n,r),hr(t.props)||a&&a.pendingBranch){S(t);return}v&&(b(t,n,i),Cr(t,!0)),x()}else{t.el=e.el;let r=t.anchor=e.anchor,u=dr.get(e);if(u){u.flags|=8,dr.delete(e),S(t);return}t.targetStart=e.targetStart;let p=t.target=e.target,h=t.targetAnchor=e.targetAnchor,g=mr(e.props),_=g?n:p,b=g?r:h;if(o===`svg`||gr(p)?o=`svg`:(o===`mathml`||_r(p))&&(o=`mathml`),y?(f(e.dynamicChildren,y,_,i,a,o,s),eo(e,t,!0)):c||d(e,t,_,b,i,a,o,s,!1),v)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):br(t,n,r,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){let e=vr(t.props,m);e&&(t.target=e,br(t,e,null,l,0))}else g&&br(t,p,h,l,1);Cr(t,v)}},remove(e,t,n,{um:r,o:{remove:i}},a){let{shapeFlag:o,children:s,anchor:c,targetStart:l,targetAnchor:u,target:d,props:f}=e,p=mr(f),m=a||!p,h=dr.get(e);if(h&&(h.flags|=8,dr.delete(e)),d&&(i(l),i(u)),a&&i(c),!h&&(p||d)&&o&16)for(let e=0;e<s.length;e++){let i=s[e];r(i,t,n,m,!!i.dynamicChildren)}},move:br,hydrate:xr};function br(e,t,n,{o:{insert:r},m:i},a=2){a===0&&r(e.targetAnchor,t,n);let{el:o,anchor:s,shapeFlag:c,children:l,props:u}=e,d=a===2;if(d&&r(o,t,n),!dr.has(e)&&(!d||mr(u))&&c&16)for(let e=0;e<l.length;e++)i(l[e],t,n,2);d&&r(s,t,n)}function xr(e,t,n,r,i,a,{o:{nextSibling:o,parentNode:s,querySelector:c,insert:l,createText:u}},d){function f(e,n){let r=n;for(;r;){if(r&&r.nodeType===8){if(r.data===`teleport start anchor`)t.targetStart=r;else if(r.data===`teleport anchor`){t.targetAnchor=r,e._lpa=t.targetAnchor&&o(t.targetAnchor);break}}r=o(r)}}function p(e,t){t.anchor=d(o(e),t,s(e),n,r,i,a)}let m=t.target=vr(t.props,c),h=mr(t.props);if(m){let c=m._lpa||m.firstChild;t.shapeFlag&16&&(h?(p(e,t),f(m,c),t.targetAnchor||wr(m,t,u,l,s(e)===m?e:null)):(t.anchor=o(e),f(m,c),t.targetAnchor||wr(m,t,u,l),d(c&&o(c),t,m,n,r,i,a))),Cr(t,h)}else h&&t.shapeFlag&16&&(p(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}var Sr=yr;function Cr(e,t){let n=e.ctx;if(n&&n.ut){let r,i;for(t?(r=e.el,i=e.anchor):(r=e.targetStart,i=e.targetAnchor);r&&r!==i;)r.nodeType===1&&r.setAttribute(`data-v-owner`,n.uid),r=r.nextSibling;n.ut()}}function wr(e,t,n,r,i=null){let a=t.targetStart=n(``),o=t.targetAnchor=n(``);return a[fr]=o,e&&(r(a,e,i),r(o,e,i)),o}var U=Symbol(`_leaveCb`),Tr=Symbol(`_enterCb`);function Er(){let e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return xi(()=>{e.isMounted=!0}),wi(()=>{e.isUnmounting=!0}),e}var W=[Function,Array],Dr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:W,onEnter:W,onAfterEnter:W,onEnterCancelled:W,onBeforeLeave:W,onLeave:W,onAfterLeave:W,onLeaveCancelled:W,onBeforeAppear:W,onAppear:W,onAfterAppear:W,onAppearCancelled:W},Or=e=>{let t=e.subTree;return t.component?Or(t.component):t},kr={name:`BaseTransition`,props:Dr,setup(e,{slots:t}){let n=Ko(),r=Er();return()=>{let i=t.default&&Lr(t.default(),!0),a=i&&i.length?Ar(i):n.subTree?zo():void 0;if(!a)return;let o=L(e),{mode:s}=o;if(r.isLeaving)return Pr(a);let c=Fr(a);if(!c)return Pr(a);let l=Nr(c,o,r,n,e=>l=e);c.type!==J&&Ir(c,l);let u=n.subTree&&Fr(n.subTree);if(u&&u.type!==J&&!Ao(u,c)&&Or(n).type!==J){let e=Nr(u,o,r,n);if(Ir(u,e),s===`out-in`&&c.type!==J)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete e.afterLeave,u=void 0},Pr(a);s===`in-out`&&c.type!==J?e.delayLeave=(e,t,n)=>{let i=Mr(r,u);i[String(u.key)]=u,e[U]=()=>{t(),e[U]=void 0,delete l.delayedLeave,u=void 0},l.delayedLeave=()=>{n(),delete l.delayedLeave,u=void 0}}:u=void 0}else u&&=void 0;return a}}};function Ar(e){let t=e[0];if(e.length>1){for(let n of e)if(n.type!==J){t=n;break}}return t}var jr=kr;function Mr(e,t){let{leavingVNodes:n}=e,r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Nr(e,t,n,r,i){let{appear:a,mode:o,persisted:s=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:p,onAfterLeave:m,onLeaveCancelled:h,onBeforeAppear:g,onAppear:_,onAfterAppear:v,onAppearCancelled:y}=t,x=String(e.key),S=Mr(n,e),C=(e,t)=>{e&&B(e,r,9,t)},ee=(e,t)=>{let n=t[1];C(e,t),b(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},w={mode:o,persisted:s,beforeEnter(t){let r=c;if(!n.isMounted)if(a)r=g||c;else return;t[U]&&t[U](!0);let i=S[x];i&&Ao(e,i)&&i.el[U]&&i.el[U](),C(r,[t])},enter(t){if(S[x]===e)return;let r=l,i=u,o=d;if(!n.isMounted)if(a)r=_||l,i=v||u,o=y||d;else return;let s=!1;t[Tr]=e=>{s||(s=!0,C(e?o:i,[t]),w.delayedLeave&&w.delayedLeave(),t[Tr]=void 0)};let c=t[Tr].bind(null,!1);r?ee(r,[t,c]):c()},leave(t,r){let i=String(e.key);if(t[Tr]&&t[Tr](!0),n.isUnmounting)return r();C(f,[t]);let a=!1;t[U]=n=>{a||(a=!0,r(),C(n?h:m,[t]),t[U]=void 0,S[i]===e&&delete S[i])};let o=t[U].bind(null,!1);S[i]=e,p?ee(p,[t,o]):o()},clone(e){let a=Nr(e,t,n,r,i);return i&&i(a),a}};return w}function Pr(e){if(li(e))return e=Io(e),e.children=null,e}function Fr(e){if(!li(e))return pr(e.type)&&e.children?Ar(e.children):e;if(e.component)return e.component.subTree;let{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&w(n.default))return n.default()}}function Ir(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ir(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 Lr(e,t=!1,n){let r=[],i=0;for(let a=0;a<e.length;a++){let o=e[a],s=n==null?o.key:String(n)+String(o.key==null?a:o.key);o.type===q?(o.patchFlag&128&&i++,r=r.concat(Lr(o.children,t,s))):(t||o.type!==J)&&r.push(s==null?o:Io(o,{key:s}))}if(i>1)for(let e=0;e<r.length;e++)r[e].patchFlag=-2;return r}function Rr(e,t){return w(e)?g({name:e.name},t,{setup:e}):e}function zr(e){e.ids=[e.ids[0]+e.ids[2]+++`-`,0,0]}function Br(e){let t=Ko(),n=an(null);if(t){let r=t.refs===u?t.refs={}:t.refs;Object.defineProperty(r,e,{enumerable:!0,get:()=>n.value,set:e=>n.value=e})}return n}function Vr(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}var Hr=new WeakMap;function Ur(e,t,n,r,i=!1){if(b(e)){e.forEach((e,a)=>Ur(e,t&&(b(t)?t[a]:t),n,r,i));return}if(oi(r)&&!i){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Ur(e,t,n,r.component.subTree);return}let a=r.shapeFlag&4?ss(r.component):r.el,o=i?null:a,{i:s,r:c}=e,l=t&&t.r,d=s.refs===u?s.refs={}:s.refs,f=s.setupState,m=L(f),h=f===u?p:e=>!Vr(d,e)&&y(m,e),g=(e,t)=>!(t&&Vr(d,t));if(l!=null&&l!==c){if(Wr(t),T(l))d[l]=null,h(l)&&(f[l]=null);else if(z(l)){let e=t;g(l,e.k)&&(l.value=null),e.k&&(d[e.k]=null)}}if(w(c))On(c,s,12,[o,d]);else{let t=T(c),r=z(c);if(t||r){let s=()=>{if(e.f){let n=t?h(c)?f[c]:d[c]:g(c)||!e.k?c.value:d[e.k];if(i)b(n)&&_(n,a);else if(b(n))n.includes(a)||n.push(a);else if(t)d[c]=[a],h(c)&&(f[c]=d[c]);else{let t=[a];g(c,e.k)&&(c.value=t),e.k&&(d[e.k]=t)}}else t?(d[c]=o,h(c)&&(f[c]=o)):r&&(g(c,e.k)&&(c.value=o),e.k&&(d[e.k]=o))};if(o){let t=()=>{s(),Hr.delete(e)};t.id=-1,Hr.set(e,t),K(t,n)}else Wr(e),s()}}}function Wr(e){let t=Hr.get(e);t&&(t.flags|=8,Hr.delete(e))}var Gr=!1,Kr=()=>{Gr||=(console.error(`Hydration completed but contains mismatches.`),!0)},qr=e=>e.namespaceURI.includes(`svg`)&&e.tagName!==`foreignObject`,Jr=e=>e.namespaceURI.includes(`MathML`),Yr=e=>{if(e.nodeType===1){if(qr(e))return`svg`;if(Jr(e))return`mathml`}},Xr=e=>e.nodeType===8;function Zr(e){let{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:a,parentNode:o,remove:s,insert:c,createComment:l}}=e,u=(e,t)=>{if(!t.hasChildNodes()){n(null,e,t),Un(),t._vnode=e;return}d(t.firstChild,e,null,null,null),Un(),t._vnode=e},d=(n,r,s,l,u,m=!1)=>{m||=!!r.dynamicChildren;let b=Xr(n)&&n.data===`[`,x=()=>g(n,r,s,l,u,b),{type:S,ref:C,shapeFlag:ee,patchFlag:w}=r,T=n.nodeType;r.el=n,w===-2&&(m=!1,r.dynamicChildren=null);let E=null;switch(S){case yo:T===3?(n.data!==r.children&&(Kr(),n.data=r.children),E=a(n)):r.children===``?(c(r.el=i(``),o(n),n),E=n):E=x();break;case J:y(n)?(E=a(n),v(r.el=n.content.firstChild,n,s)):E=T!==8||b?x():a(n);break;case bo:if(b&&(n=a(n),T=n.nodeType),T===1||T===3){E=n;let e=!r.children.length;for(let t=0;t<r.staticCount;t++)e&&(r.children+=E.nodeType===1?E.outerHTML:E.data),t===r.staticCount-1&&(r.anchor=E),E=a(E);return b?a(E):E}else x();break;case q:E=b?h(n,r,s,l,u,m):x();break;default:if(ee&1)E=(T!==1||r.type.toLowerCase()!==n.tagName.toLowerCase())&&!y(n)?x():f(n,r,s,l,u,m);else if(ee&6){r.slotScopeIds=u;let e=o(n);if(E=b?_(n):Xr(n)&&n.data===`teleport start`?_(n,n.data,`teleport end`):a(n),t(r,e,null,s,l,Yr(e),m),oi(r)&&!r.type.__asyncResolved){let t;b?(t=X(q),t.anchor=E?E.previousSibling:e.lastChild):t=n.nodeType===3?Lo(``):X(`div`),t.el=n,r.component.subTree=t}}else ee&64?E=T===8?r.type.hydrate(n,r,s,l,u,m,e,p):x():ee&128&&(E=r.type.hydrate(n,r,s,l,Yr(o(n)),u,m,e,d))}return C!=null&&Ur(C,null,l,r),E},f=(e,t,n,i,a,o)=>{o||=!!t.dynamicChildren;let{type:c,dynamicProps:l,props:u,patchFlag:d,shapeFlag:f,dirs:h,transition:g}=t,_=c===`input`||c===`option`,b=!!l;if(_||b||d!==-1){h&&$n(t,null,n,`created`);let c=!1;if(y(e)){c=$a(null,g)&&n&&n.vnode.props&&n.vnode.props.appear;let r=e.content.firstChild;if(c){let e=r.getAttribute(`class`);e&&(r.$cls=e),g.beforeEnter(r)}v(r,e,n),t.el=e=r}if(f&16&&!(u&&(u.innerHTML||u.textContent))){let r=p(e.firstChild,t,e,n,i,a,o);for(r&&!ei(e,1)&&Kr();r;){let e=r;r=r.nextSibling,s(e)}}else if(f&8){let n=t.children;n[0]===`
|
|
2
|
+
`&&(e.tagName===`PRE`||e.tagName===`TEXTAREA`)&&(n=n.slice(1));let{textContent:r}=e;r!==n&&r!==n.replace(/\r\n|\r/g,`
|
|
3
|
+
`)&&(ei(e,0)||Kr(),e.textContent=t.children)}if(u){if(_||b||!o||d&48){let t=e.tagName.includes(`-`),i=e.namespaceURI.includes(`svg`)?`svg`:e.namespaceURI.includes(`MathML`)?`mathml`:void 0;for(let a in u)(_&&(a.endsWith(`value`)||a===`indeterminate`)||m(a)&&!O(a)||a[0]===`.`||t&&!O(a)||l&&l.includes(a))&&r(e,a,null,u[a],i,n)}else if(u.onClick)r(e,`onClick`,null,u.onClick,void 0,n);else if(d&4&&Qt(u.style))for(let e in u.style)u.style[e]}let x;(x=u&&u.onVnodeBeforeMount)&&Q(x,n,t),h&&$n(t,null,n,`beforeMount`),((x=u&&u.onVnodeMounted)||h||c)&&go(()=>{x&&Q(x,n,t),c&&g.enter(e),h&&$n(t,null,n,`mounted`)},i)}return e.nextSibling},p=(e,t,r,o,s,l,u)=>{u||=!!t.dynamicChildren;let f=t.children,p=f.length,m=!1;for(let t=0;t<p;t++){let h=u?f[t]:f[t]=Z(f[t]),g=h.type===yo;e?(g&&!u&&t+1<p&&Z(f[t+1]).type===yo&&(c(i(e.data.slice(h.children.length)),r,a(e)),e.data=h.children),e=d(e,h,o,s,l,u)):g&&!h.children?c(h.el=i(``),r):(m||(m=!0,ei(r,1)||Kr()),n(null,h,r,null,o,s,Yr(r),l))}return e},h=(e,t,n,r,i,s)=>{let{slotScopeIds:u}=t;u&&(i=i?i.concat(u):u);let d=o(e),f=p(a(e),t,d,n,r,i,s);return f&&Xr(f)&&f.data===`]`?a(t.anchor=f):(Kr(),c(t.anchor=l(`]`),d,f),f)},g=(e,t,r,i,c,l)=>{if(ni(e,t)||Kr(),t.el=null,l){let t=_(e);for(;;){let n=a(e);if(n&&n!==t)s(n);else break}}let u=a(e),d=o(e);return s(e),n(null,t,d,u,r,i,Yr(d),c),r&&(r.vnode.el=t.el,ka(r,t.el)),u},_=(e,t=`[`,n=`]`)=>{let r=0;for(;e;)if(e=a(e),e&&Xr(e)&&(e.data===t&&r++,e.data===n)){if(r===0)return a(e);r--}return e},v=(e,t,n)=>{let r=t.parentNode;r&&r.replaceChild(e,t);let i=n;for(;i;)i.vnode.el===t&&(i.vnode.el=i.subTree.el=e),i=i.parent},y=e=>e.nodeType===1&&e.tagName===`TEMPLATE`;return[u,d]}var Qr=`data-allow-mismatch`,$r={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`};function ei(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Qr);)e=e.parentElement;return ti(e&&e.getAttribute(Qr),t)}function ti(e,t){if(e==null)return!1;if(e===``)return!0;{let n=e.split(`,`);return t===0&&n.includes(`children`)?!0:n.includes($r[t])}}function ni(e,t){return ei(e.parentElement,1)||ri(e)||ii(t)}function ri(e){return e.nodeType===1&&ti(e.getAttribute(Qr),1)}function ii({props:e}){let t=e&&e[Qr];return typeof t==`string`&&ti(t,1)}_e().requestIdleCallback,_e().cancelIdleCallback;function ai(e,t){if(Xr(e)&&e.data===`[`){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(Xr(r))if(r.data===`]`){if(--n===0)break}else r.data===`[`&&n++;r=r.nextSibling}}else t(e)}var oi=e=>!!e.type.__asyncLoader;function si(e){w(e)&&(e={loader:e});let{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,hydrate:a,timeout:o,suspensible:s=!0,onError:c}=e,l=null,u,d=0,f=()=>(d++,l=null,p()),p=()=>{let e;return l||(e=l=t().catch(e=>{if(e=e instanceof Error?e:Error(String(e)),c)return new Promise((t,n)=>{c(e,()=>t(f()),()=>n(e),d+1)});throw e}).then(t=>e!==l&&l?l:(t&&(t.__esModule||t[Symbol.toStringTag]===`Module`)&&(t=t.default),u=t,t)))};return Rr({name:`AsyncComponentWrapper`,__asyncLoader:p,__asyncHydrate(e,t,n){let r=e.isConnected,i=!1;(t.bu||=[]).push(()=>i=!0);let o=()=>{i||!e.parentNode||r&&!e.isConnected||n()},s=a?()=>{let n=a(o,t=>ai(e,t));n&&(t.bum||=[]).push(n)}:o;u?s():p().then(()=>!t.isUnmounted&&s())},get __asyncResolved(){return u},setup(){let e=$;if(zr(e),u)return()=>ci(u,e);let t=t=>{l=null,kn(t,e,13,!r)};if(s&&e.suspense||Qo)return p().then(t=>()=>ci(t,e)).catch(e=>(t(e),()=>r?X(r,{error:e}):null));let a=rn(!1),c=rn(),d=rn(!!i),f,m;return Ti(()=>{f!=null&&clearTimeout(f),m!=null&&clearTimeout(m)}),i&&(m=setTimeout(()=>{e.isUnmounted||(d.value=!1)},i)),o!=null&&(f=setTimeout(()=>{if(!e.isUnmounted&&!a.value&&!c.value){let e=Error(`Async component timed out after ${o}ms.`);t(e),c.value=e}},o)),p().then(()=>{e.isUnmounted||(a.value=!0,e.parent&&li(e.parent.vnode)&&e.parent.update())}).catch(n=>{if(e.isUnmounted){l=null;return}t(n),c.value=n}),()=>{if(a.value&&u)return ci(u,e);if(c.value&&r)return X(r,{error:c.value});if(n&&!d.value)return ci(n,e)}}})}function ci(e,t){let{ref:n,props:r,children:i,ce:a}=t.vnode,o=X(e,r,i);return o.ref=n,o.ce=a,delete t.vnode.ce,o}var li=e=>e.type.__isKeepAlive,ui={name:`KeepAlive`,__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){let n=Ko(),r=n.ctx;if(!r.renderer)return()=>{let e=t.default&&t.default();return e&&e.length===1?e[0]:e};let i=new Map,a=new Set,o=null,s=n.suspense,{renderer:{p:c,m:l,um:u,o:{createElement:d}}}=r,f=d(`div`);r.activate=(e,t,n,r,i)=>{let a=e.component;l(e,t,n,0,s),c(a.vnode,e,t,n,a,s,r,e.slotScopeIds,i),K(()=>{a.isDeactivated=!1,a.a&&fe(a.a);let t=e.props&&e.props.onVnodeMounted;t&&Q(t,a.parent,e)},s)},r.deactivate=e=>{let t=e.component;ro(t.m),ro(t.a),l(e,f,null,1,s),K(()=>{t.da&&fe(t.da);let n=e.props&&e.props.onVnodeUnmounted;n&&Q(n,t.parent,e),t.isDeactivated=!0},s)};function p(e){gi(e),u(e,n,s,!0)}function m(e){i.forEach((t,n)=>{let r=cs(oi(t)?t.type.__asyncResolved||{}:t.type);r&&!e(r)&&h(n)})}function h(e){let t=i.get(e);t&&(!o||!Ao(t,o))?p(t):o&&gi(o),i.delete(e),a.delete(e)}sr(()=>[e.include,e.exclude],([e,t])=>{e&&m(t=>di(e,t)),t&&m(e=>!di(t,e))},{flush:`post`,deep:!0});let g=null,_=()=>{g!=null&&(ao(n.subTree.type)?K(()=>{i.set(g,_i(n.subTree))},n.subTree.suspense):i.set(g,_i(n.subTree)))};return xi(_),Ci(_),wi(()=>{i.forEach(e=>{let{subTree:t,suspense:r}=n,i=_i(t);if(e.type===i.type&&e.key===i.key){gi(i);let e=i.component.da;e&&K(e,r);return}p(e)})}),()=>{if(g=null,!t.default)return o=null;let n=t.default(),r=n[0];if(n.length>1)return o=null,n;if(!ko(r)||!(r.shapeFlag&4)&&!(r.shapeFlag&128))return o=null,r;let s=_i(r);if(s.type===J)return o=null,s;let c=s.type,l=cs(oi(s)?s.type.__asyncResolved||{}:c),{include:u,exclude:d,max:f}=e;if(u&&(!l||!di(u,l))||d&&l&&di(d,l))return s.shapeFlag&=-257,o=s,r;let p=s.key==null?c:s.key,m=i.get(p);return s.el&&(s=Io(s),r.shapeFlag&128&&(r.ssContent=s)),g=p,m?(s.el=m.el,s.component=m.component,s.transition&&Ir(s,s.transition),s.shapeFlag|=512,a.delete(p),a.add(p)):(a.add(p),f&&a.size>parseInt(f,10)&&h(a.values().next().value)),s.shapeFlag|=256,o=s,ao(r.type)?r:s}}};function di(e,t){return b(e)?e.some(e=>di(e,t)):T(e)?e.split(`,`).includes(t):ee(e)?(e.lastIndex=0,e.test(t)):!1}function fi(e,t){mi(e,`a`,t)}function pi(e,t){mi(e,`da`,t)}function mi(e,t,n=$){let r=e.__wdc||=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()};if(vi(t,r,n),n){let e=n.parent;for(;e&&e.parent;)li(e.parent.vnode)&&hi(r,t,n,e),e=e.parent}}function hi(e,t,n,r){let i=vi(t,e,r,!0);Ti(()=>{_(r[t],i)},n)}function gi(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function _i(e){return e.shapeFlag&128?e.ssContent:e}function vi(e,t,n=$,r=!1){if(n){let i=n[e]||(n[e]=[]),a=t.__weh||=(...r)=>{$e();let i=Yo(n),a=B(t,n,e,r);return i(),et(),a};return r?i.unshift(a):i.push(a),a}}var yi=e=>(t,n=$)=>{(!Qo||e===`sp`)&&vi(e,(...e)=>t(...e),n)},bi=yi(`bm`),xi=yi(`m`),Si=yi(`bu`),Ci=yi(`u`),wi=yi(`bum`),Ti=yi(`um`),Ei=yi(`sp`),Di=yi(`rtg`),Oi=yi(`rtc`);function ki(e,t=$){vi(`ec`,e,t)}var Ai=`components`,ji=`directives`;function Mi(e,t){return Ii(Ai,e,!0,t)||e}var Ni=Symbol.for(`v-ndc`);function Pi(e){return T(e)?Ii(Ai,e,!1)||e:e||Ni}function Fi(e){return Ii(ji,e)}function Ii(e,t,n=!0,r=!1){let i=H||$;if(i){let n=i.type;if(e===Ai){let e=cs(n,!1);if(e&&(e===t||e===k(t)||e===de(k(t))))return n}let a=Li(i[e]||n[e],t)||Li(i.appContext[e],t);return!a&&r?n:a}}function Li(e,t){return e&&(e[t]||e[k(t)]||e[de(k(t))])}function Ri(e,t,n,r){let i,a=n&&n[r],o=b(e);if(o||T(e)){let n=o&&Qt(e),r=!1,s=!1;n&&(r=!I(e),s=$t(e),e=pt(e)),i=Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(r?s?nn(R(e[n])):R(e[n]):e[n],n,void 0,a&&a[n])}else if(typeof e==`number`){i=Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,a&&a[n])}else if(D(e))if(e[Symbol.iterator])i=Array.from(e,(e,n)=>t(e,n,void 0,a&&a[n]));else{let n=Object.keys(e);i=Array(n.length);for(let r=0,o=n.length;r<o;r++){let o=n[r];i[r]=t(e[o],o,r,a&&a[r])}}else i=[];return n&&(n[r]=i),i}function zi(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(b(r))for(let t=0;t<r.length;t++)e[r[t].name]=r[t].fn;else r&&(e[r.name]=r.key?(...e)=>{let t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}function Bi(e,t,n={},r,i,a){if(H.ce||H.parent&&oi(H.parent)&&H.parent.ce){let e=a!=null&&n.key==null?g({},n,{key:a}):n,i=Object.keys(e).length>0;return t!=="default"&&(e.name=t),So(),Oo(q,null,[X(`slot`,e,r&&r())],i?-2:64)}let o=e[t];o&&o._c&&(o._d=!1);let s=xo.length;So();let c;try{let i=o&&Vi(o(n)),s=n.key||a||i&&i.key;c=Oo(q,{key:(s&&!E(s)?s:`_${t}`)+(!i&&r?`_fb`:``)},i||(r?r():[]),i&&e._===1?64:-2)}catch(e){for(let e=xo.length;e>s;e--)Co();throw e}finally{o&&o._c&&(o._d=!0)}return!i&&c.scopeId&&(c.slotScopeIds=[c.scopeId+`-s`]),c}function Vi(e){return e.some(e=>!ko(e)||!(e.type===J||e.type===q&&!Vi(e.children)))?e:null}function Hi(e,t){let n={};for(let r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:A(r)]=e[r];return n}var Ui=e=>e?Zo(e)?ss(e):Ui(e.parent):null,Wi=g(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=>Ui(e.parent),$root:e=>Ui(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ra(e),$forceUpdate:e=>e.f||=()=>{zn(e.update)},$nextTick:e=>e.n||=Ln.bind(e.proxy),$watch:e=>lr.bind(e)}),Gi=(e,t)=>e!==u&&!e.__isScriptSetup&&y(e,t),Ki={get({_:e},t){if(t===`__v_skip`)return!0;let{ctx:n,setupState:r,data:i,props:a,accessCache:o,type:s,appContext:c}=e;if(t[0]!==`$`){let e=o[t];if(e!==void 0)switch(e){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return a[t]}else if(Gi(r,t))return o[t]=1,r[t];else if(i!==u&&y(i,t))return o[t]=2,i[t];else if(y(a,t))return o[t]=3,a[t];else if(n!==u&&y(n,t))return o[t]=4,n[t];else Qi&&(o[t]=0)}let l=Wi[t],d,f;if(l)return t===`$attrs`&&F(e.attrs,`get`,``),l(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(n!==u&&y(n,t))return o[t]=4,n[t];if(f=c.config.globalProperties,y(f,t))return f[t]},set({_:e},t,n){let{data:r,setupState:i,ctx:a}=e;return Gi(i,t)?(i[t]=n,!0):r!==u&&y(r,t)?(r[t]=n,!0):y(e.props,t)||t[0]===`$`&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,props:a,type:o}},s){let c;return!!(n[s]||e!==u&&s[0]!==`$`&&y(e,s)||Gi(t,s)||y(a,s)||y(r,s)||y(Wi,s)||y(i.config.globalProperties,s)||(c=o.__cssModules)&&c[s])},defineProperty(e,t,n){return n.get==null?y(n,`value`)&&this.set(e,t,n.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,n)}};function qi(){return Yi(`useSlots`).slots}function Ji(){return Yi(`useAttrs`).attrs}function Yi(e){let t=Ko();return t.setupContext||=os(t)}function Xi(e){return b(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function Zi(e,t){return!e||!t?e||t:b(e)&&b(t)?e.concat(t):g({},Xi(e),Xi(t))}var Qi=!0;function $i(e){let t=ra(e),n=e.proxy,r=e.ctx;Qi=!1,t.beforeCreate&&ta(t.beforeCreate,e,`bc`);let{data:i,computed:a,methods:o,watch:s,provide:c,inject:l,created:u,beforeMount:d,mounted:p,beforeUpdate:m,updated:h,activated:g,deactivated:_,beforeDestroy:v,beforeUnmount:y,destroyed:x,unmounted:S,render:C,renderTracked:ee,renderTriggered:T,errorCaptured:E,serverPrefetch:te,expose:ne,inheritAttrs:re,components:ie,directives:ae,filters:oe}=t;if(l&&ea(l,r,null),o)for(let e in o){let t=o[e];w(t)&&(r[e]=t.bind(n))}if(i){let t=i.call(n,n);D(t)&&(e.data=qt(t))}if(Qi=!0,a)for(let e in a){let t=a[e],i=us({get:w(t)?t.bind(n,n):w(t.get)?t.get.bind(n,n):f,set:!w(t)&&w(t.set)?t.set.bind(n):f});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e})}if(s)for(let e in s)na(s[e],r,n,e);if(c){let e=w(c)?c.call(n):c;Reflect.ownKeys(e).forEach(t=>{er(t,e[t])})}u&&ta(u,e,`c`);function O(e,t){b(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(O(bi,d),O(xi,p),O(Si,m),O(Ci,h),O(fi,g),O(pi,_),O(ki,E),O(Oi,ee),O(Di,T),O(wi,y),O(Ti,S),O(Ei,te),b(ne))if(ne.length){let t=e.exposed||={};ne.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||={};C&&e.render===f&&(e.render=C),re!=null&&(e.inheritAttrs=re),ie&&(e.components=ie),ae&&(e.directives=ae),te&&zr(e)}function ea(e,t,n=f){b(e)&&(e=ca(e));for(let n in e){let r=e[n],i;i=D(r)?`default`in r?tr(r.from||n,r.default,!0):tr(r.from||n):tr(r),z(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}function ta(e,t,n){B(b(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function na(e,t,n,r){let i=r.includes(`.`)?ur(n,r):()=>n[r];if(T(e)){let n=t[e];w(n)&&sr(i,n)}else if(w(e))sr(i,e.bind(n));else if(D(e))if(b(e))e.forEach(e=>na(e,t,n,r));else{let r=w(e.handler)?e.handler.bind(n):t[e.handler];w(r)&&sr(i,r,e)}}function ra(e){let t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,s=a.get(t),c;return s?c=s:!i.length&&!n&&!r?c=t:(c={},i.length&&i.forEach(e=>ia(c,e,o,!0)),ia(c,t,o)),D(t)&&a.set(t,c),c}function ia(e,t,n,r=!1){let{mixins:i,extends:a}=t;a&&ia(e,a,n,!0),i&&i.forEach(t=>ia(e,t,n,!0));for(let i in t)if(!(r&&i===`expose`)){let r=aa[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}var aa={data:oa,props:ua,emits:ua,methods:la,computed:la,beforeCreate:G,created:G,beforeMount:G,mounted:G,beforeUpdate:G,updated:G,beforeDestroy:G,beforeUnmount:G,destroyed:G,unmounted:G,activated:G,deactivated:G,errorCaptured:G,serverPrefetch:G,components:la,directives:la,watch:da,provide:oa,inject:sa};function oa(e,t){return t?e?function(){return g(w(e)?e.call(this,this):e,w(t)?t.call(this,this):t)}:t:e}function sa(e,t){return la(ca(e),ca(t))}function ca(e){if(b(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function G(e,t){return e?[...new Set([].concat(e,t))]:t}function la(e,t){return e?g(Object.create(null),e,t):t}function ua(e,t){return e?b(e)&&b(t)?[...new Set([...e,...t])]:g(Object.create(null),Xi(e),Xi(t??{})):t}function da(e,t){if(!e)return t;if(!t)return e;let n=g(Object.create(null),e);for(let r in t)n[r]=G(e[r],t[r]);return n}function fa(){return{app:null,config:{isNativeTag:p,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}}var pa=0;function ma(e,t){return function(n,r=null){w(n)||(n=g({},n)),r!=null&&!D(r)&&(r=null);let i=fa(),a=new WeakSet,o=[],s=!1,c=i.app={_uid:pa++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:fs,get config(){return i.config},set config(e){},use(e,...t){return a.has(e)||(e&&w(e.install)?(a.add(e),e.install(c,...t)):w(e)&&(a.add(e),e(c,...t))),c},mixin(e){return i.mixins.includes(e)||i.mixins.push(e),c},component(e,t){return t?(i.components[e]=t,c):i.components[e]},directive(e,t){return t?(i.directives[e]=t,c):i.directives[e]},mount(a,o,l){if(!s){let u=c._ceVNode||X(n,r);return u.appContext=i,l===!0?l=`svg`:l===!1&&(l=void 0),o&&t?t(u,a):e(u,a,l),s=!0,c._container=a,a.__vue_app__=c,ss(u.component)}},onUnmount(e){o.push(e)},unmount(){s&&(B(o,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(e,t){return i.provides[e]=t,c},runWithContext(e){let t=ha;ha=c;try{return e()}finally{ha=t}}};return c}}var ha=null;function ga(e,t,n=u){let r=Ko(),i=k(t),a=ue(t),o=_a(e,i),s=mn((o,s)=>{let c,l=u,d;return or(()=>{let t=e[i];j(c,t)&&(c=t,s())}),{get(){return o(),n.get?n.get(c):c},set(e){let o=n.set?n.set(e):e;if(!j(o,c)&&!(l!==u&&j(e,l)))return;let f=r.vnode.props,p=!!(f&&(t in f||i in f||a in f)&&(`onUpdate:${t}`in f||`onUpdate:${i}`in f||`onUpdate:${a}`in f));p||(c=e,s()),r.emit(`update:${t}`,o),j(e,l)&&(j(e,o)&&!j(o,d)||p&&l!==u&&!j(o,c))&&s(),l=e,d=o}}});return s[Symbol.iterator]=()=>{let e=0;return{next(){return e<2?{value:e++?o||u:s,done:!1}:{done:!0}}}},s}var _a=(e,t)=>t===`modelValue`||t===`model-value`?e.modelModifiers:e[`${t}Modifiers`]||e[`${k(t)}Modifiers`]||e[`${ue(t)}Modifiers`];function va(e,t,...n){if(e.isUnmounted)return;let r=e.vnode.props||u,i=n,a=t.startsWith(`update:`),o=a&&_a(r,t.slice(7));o&&(o.trim&&(i=n.map(e=>T(e)?e.trim():e)),o.number&&(i=n.map(me)));let s,c=r[s=A(t)]||r[s=A(k(t))];!c&&a&&(c=r[s=A(ue(t))]),c&&B(c,e,6,i);let l=r[s+`Once`];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,B(l,e,6,i)}}var ya=new WeakMap;function ba(e,t,n=!1){let r=n?ya:t.emitsCache,i=r.get(e);if(i!==void 0)return i;let a=e.emits,o={},s=!1;if(!w(e)){let r=e=>{let n=ba(e,t,!0);n&&(s=!0,g(o,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!a&&!s?(D(e)&&r.set(e,null),null):(b(a)?a.forEach(e=>o[e]=null):g(o,a),D(e)&&r.set(e,o),o)}function xa(e,t){return!e||!m(t)?!1:(t=t.slice(2),t=t===`Once`?t:t.replace(/Once$/,``),y(e,t[0].toLowerCase()+t.slice(1))||y(e,ue(t))||y(e,t))}function Sa(e){let{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[a],slots:o,attrs:s,emit:c,render:l,renderCache:u,props:d,data:f,setupState:p,ctx:m,inheritAttrs:g}=e,_=qn(e),v,y;try{if(n.shapeFlag&4){let e=i||r,t=e;v=Z(l.call(t,e,u,d,p,f,m)),y=s}else{let e=t;v=Z(e.length>1?e(d,{attrs:s,slots:o,emit:c}):e(d,null)),y=t.props?s:wa(s)}}catch(t){xo.length=0,kn(t,e,1),v=X(J)}let b=v;if(y&&g!==!1){let e=Object.keys(y),{shapeFlag:t}=b;e.length&&t&7&&(a&&e.some(h)&&(y=Ta(y,a)),b=Io(b,y,!1,!0))}return n.dirs&&(b=Io(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&Ir(b,n.transition),v=b,qn(_),v}function Ca(e,t=!0){let n;for(let t=0;t<e.length;t++){let r=e[t];if(ko(r)){if(r.type!==J||r.children===`v-if`){if(n)return;n=r}}else return}return n}var wa=e=>{let t;for(let n in e)(n===`class`||n===`style`||m(n))&&((t||={})[n]=e[n]);return t},Ta=(e,t)=>{let n={};for(let r in e)(!h(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ea(e,t,n){let{props:r,children:i,component:a}=e,{props:o,children:s,patchFlag:c}=t,l=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Da(r,o,l):!!o;if(c&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t];if(Oa(o,r,n)&&!xa(l,n))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===o?!1:r?!o||Da(r,o,l):!!o;return!1}function Da(e,t,n){let r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){let a=r[i];if(Oa(t,e,a)&&!xa(n,a))return!0}return!1}function Oa(e,t,n){let r=e[n],i=t[n];return n===`style`&&D(r)&&D(i)?!ke(r,i):r!==i}function ka({vnode:e,parent:t,suspense:n},r){for(;t;){let n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.suspense.vnode.el=n.el=r,e=n),n===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}var Aa={},ja=()=>Object.create(Aa),Ma=e=>Object.getPrototypeOf(e)===Aa;function Na(e,t,n,r=!1){let i={},a=ja();e.propsDefaults=Object.create(null),Fa(e,t,i,a);for(let t in e.propsOptions[0])t in i||(i[t]=void 0);n?e.props=r?i:Jt(i):e.type.props?e.props=i:e.props=a,e.attrs=a}function Pa(e,t,n,r){let{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=L(i),[c]=e.propsOptions,l=!1;if((r||o>0)&&!(o&16)){if(o&8){let n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let o=n[r];if(xa(e.emitsOptions,o))continue;let u=t[o];if(c)if(y(a,o))u!==a[o]&&(a[o]=u,l=!0);else{let t=k(o);i[t]=Ia(c,s,t,u,e,!1)}else u!==a[o]&&(a[o]=u,l=!0)}}}else{Fa(e,t,i,a)&&(l=!0);let r;for(let a in s)(!t||!y(t,a)&&((r=ue(a))===a||!y(t,r)))&&(c?n&&(n[a]!==void 0||n[r]!==void 0)&&(i[a]=Ia(c,s,a,void 0,e,!0)):delete i[a]);if(a!==s)for(let e in a)(!t||!y(t,e))&&(delete a[e],l=!0)}l&&ut(e.attrs,`set`,``)}function Fa(e,t,n,r){let[i,a]=e.propsOptions,o=!1,s;if(t)for(let c in t){if(O(c))continue;let l=t[c],u;i&&y(i,u=k(c))?!a||!a.includes(u)?n[u]=l:(s||={})[u]=l:xa(e.emitsOptions,c)||(!(c in r)||l!==r[c])&&(r[c]=l,o=!0)}if(a){let t=L(n),r=s||u;for(let o=0;o<a.length;o++){let s=a[o];n[s]=Ia(i,t,s,r[s],e,!y(r,s))}}return o}function Ia(e,t,n,r,i,a){let o=e[n];if(o!=null){let e=y(o,`default`);if(e&&r===void 0){let e=o.default;if(o.type!==Function&&!o.skipFactory&&w(e)){let{propsDefaults:a}=i;if(n in a)r=a[n];else{let o=Yo(i);r=a[n]=e.call(null,t),o()}}else r=e;i.ce&&i.ce._setProp(n,r)}o[0]&&(a&&!e?r=!1:o[1]&&(r===``||r===ue(n))&&(r=!0))}return r}var La=new WeakMap;function Ra(e,t,n=!1){let r=n?La:t.propsCache,i=r.get(e);if(i)return i;let a=e.props,o={},s=[],c=!1;if(!w(e)){let r=e=>{c=!0;let[n,r]=Ra(e,t,!0);g(o,n),r&&s.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!a&&!c)return D(e)&&r.set(e,d),d;if(b(a))for(let e=0;e<a.length;e++){let t=k(a[e]);za(t)&&(o[t]=u)}else if(a)for(let e in a){let t=k(e);if(za(t)){let n=a[e],r=o[t]=b(n)||w(n)?{type:n}:g({},n),i=r.type,c=!1,l=!0;if(b(i))for(let e=0;e<i.length;++e){let t=i[e],n=w(t)&&t.name;if(n===`Boolean`){c=!0;break}else n===`String`&&(l=!1)}else c=w(i)&&i.name===`Boolean`;r[0]=c,r[1]=l,(c||y(r,`default`))&&s.push(t)}}let l=[o,s];return D(e)&&r.set(e,l),l}function za(e){return e[0]!==`$`&&!O(e)}var Ba=e=>e===`_`||e===`_ctx`||e===`$stable`,Va=e=>b(e)?e.map(Z):[Z(e)],Ha=(e,t,n)=>{if(t._n)return t;let r=Zn((...e)=>Va(t(...e)),n);return r._c=!1,r},Ua=(e,t,n)=>{let r=e._ctx;for(let n in e){if(Ba(n))continue;let i=e[n];if(w(i))t[n]=Ha(n,i,r);else if(i!=null){let e=Va(i);t[n]=()=>e}}},Wa=(e,t)=>{let n=Va(t);e.slots.default=()=>n},Ga=(e,t,n)=>{for(let r in t)(n||!Ba(r))&&(e[r]=t[r])},Ka=(e,t,n)=>{let r=e.slots=ja();if(e.vnode.shapeFlag&32){let e=t._;e?(Ga(r,t,n),n&&pe(r,`_`,e,!0)):Ua(t,r)}else t&&Wa(e,t)},qa=(e,t,n)=>{let{vnode:r,slots:i}=e,a=!0,o=u;if(r.shapeFlag&32){let e=t._;e?n&&e===1?a=!1:Ga(i,t,n):(a=!t.$stable,Ua(t,i)),o=t}else t&&(Wa(e,t),o={default:1});if(a)for(let e in i)!Ba(e)&&o[e]==null&&delete i[e]},K=go;function Ja(e){return Xa(e)}function Ya(e){return Xa(e,Zr)}function Xa(e,t){let n=_e();n.__VUE__=!0;let{insert:r,remove:i,patchProp:a,createElement:o,createText:s,createComment:c,setText:l,setElementText:p,parentNode:m,nextSibling:h,setScopeId:g=f,insertStaticContent:_}=e,v=(e,t,n,r=null,i=null,a=null,o=void 0,s=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!Ao(e,t)&&(r=ge(e),A(e,i,a,!0),e=null),t.patchFlag===-2&&(c=!1,t.dynamicChildren=null);let{type:l,ref:u,shapeFlag:d}=t;switch(l){case yo:y(e,t,n,r);break;case J:b(e,t,n,r);break;case bo:e??x(t,n,r,o);break;case q:re(e,t,n,r,i,a,o,s,c);break;default:d&1?ee(e,t,n,r,i,a,o,s,c):d&6?ie(e,t,n,r,i,a,o,s,c):(d&64||d&128)&&l.process(e,t,n,r,i,a,o,s,c,be)}u!=null&&i?Ur(u,e&&e.ref,a,t||e,!t):u==null&&e&&e.ref!=null&&Ur(e.ref,null,a,e,!0)},y=(e,t,n,i)=>{if(e==null)r(t.el=s(t.children),n,i);else{let n=t.el=e.el;t.children!==e.children&&l(n,t.children)}},b=(e,t,n,i)=>{e==null?r(t.el=c(t.children||``),n,i):t.el=e.el},x=(e,t,n,r)=>{[e.el,e.anchor]=_(e.children,t,n,r,e.el,e.anchor)},S=({el:e,anchor:t},n,i)=>{let a;for(;e&&e!==t;)a=h(e),r(e,n,i),e=a;r(t,n,i)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=h(e),i(e),e=n;i(t)},ee=(e,t,n,r,i,a,o,s,c)=>{if(t.type===`svg`?o=`svg`:t.type===`math`&&(o=`mathml`),e==null)w(t,n,r,i,a,o,s,c);else{let n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),D(e,t,i,a,o,s,c)}finally{n&&n._endPatch()}}},w=(e,t,n,i,s,c,l,u)=>{let d,f,{props:m,shapeFlag:h,transition:g,dirs:_}=e;if(d=e.el=o(e.type,c,m&&m.is,m),h&8?p(d,e.children):h&16&&E(e.children,d,null,i,s,Za(e,c),l,u),_&&$n(e,null,i,`created`),T(d,e,e.scopeId,l,i),m){for(let e in m)e!==`value`&&!O(e)&&a(d,e,null,m[e],c,i);`value`in m&&a(d,`value`,null,m.value,c),(f=m.onVnodeBeforeMount)&&Q(f,i,e)}_&&$n(e,null,i,`beforeMount`);let v=$a(s,g);v&&g.beforeEnter(d),r(d,t,n),((f=m&&m.onVnodeMounted)||v||_)&&K(()=>{try{f&&Q(f,i,e),v&&g.enter(d),_&&$n(e,null,i,`mounted`)}finally{}},s)},T=(e,t,n,r,i)=>{if(n&&g(e,n),r)for(let t=0;t<r.length;t++)g(e,r[t]);if(i){let n=i.subTree;if(t===n||ao(n.type)&&(n.ssContent===t||n.ssFallback===t)){let t=i.vnode;T(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},E=(e,t,n,r,i,a,o,s,c=0)=>{for(let l=c;l<e.length;l++){let c=e[l]=s?Bo(e[l]):Z(e[l]);v(null,c,t,n,r,i,a,o,s)}},D=(e,t,n,r,i,o,s)=>{let c=t.el=e.el,{patchFlag:l,dynamicChildren:d,dirs:f}=t;l|=e.patchFlag&16;let m=e.props||u,h=t.props||u,g;if(n&&Qa(n,!1),(g=h.onVnodeBeforeUpdate)&&Q(g,n,t,e),f&&$n(t,e,n,`beforeUpdate`),n&&Qa(n,!0),d&&(!e.dynamicChildren||e.dynamicChildren.length!==d.length)&&(l=0,s=!1,d=null),(m.innerHTML&&h.innerHTML==null||m.textContent&&h.textContent==null)&&p(c,``),d?te(e.dynamicChildren,d,c,n,r,Za(t,i),o):s||k(e,t,c,null,n,r,Za(t,i),o,!1),l>0){if(l&16)ne(c,m,h,n,i);else if(l&2&&m.class!==h.class&&a(c,`class`,null,h.class,i),l&4&&a(c,`style`,m.style,h.style,i),l&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let r=e[t],o=m[r],s=h[r];(s!==o||r===`value`)&&a(c,r,o,s,i,n)}}l&1&&e.children!==t.children&&p(c,t.children)}else!s&&d==null&&ne(c,m,h,n,i);((g=h.onVnodeUpdated)||f)&&K(()=>{g&&Q(g,n,t,e),f&&$n(t,e,n,`updated`)},r)},te=(e,t,n,r,i,a,o)=>{for(let s=0;s<t.length;s++){let c=e[s],l=t[s],u=c.el&&(c.type===q||!Ao(c,l)||c.shapeFlag&198)?m(c.el):n;v(c,l,u,null,r,i,a,o,!0)}},ne=(e,t,n,r,i)=>{if(t!==n){if(t!==u)for(let o in t)!O(o)&&!(o in n)&&a(e,o,t[o],null,i,r);for(let o in n){if(O(o))continue;let s=n[o],c=t[o];s!==c&&o!==`value`&&a(e,o,c,s,i,r)}`value`in n&&a(e,`value`,t.value,n.value,i)}},re=(e,t,n,i,a,o,c,l,u)=>{let d=t.el=e?e.el:s(``),f=t.anchor=e?e.anchor:s(``),{patchFlag:p,dynamicChildren:m,slotScopeIds:h}=t;h&&(l=l?l.concat(h):h),e==null?(r(d,n,i),r(f,n,i),E(t.children||[],n,f,a,o,c,l,u)):p>0&&p&64&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(te(e.dynamicChildren,m,n,a,o,c,l),(t.key!=null||a&&t===a.subTree)&&eo(e,t,!0)):k(e,t,n,f,a,o,c,l,u)},ie=(e,t,n,r,i,a,o,s,c)=>{t.slotScopeIds=s,e==null?t.shapeFlag&512?i.ctx.activate(t,n,r,o,c):ae(t,n,r,i,a,o,c):oe(e,t,c)},ae=(e,t,n,r,i,a,o)=>{let s=e.component=Go(e,r,i);if(li(e)&&(s.ctx.renderer=be),$o(s,!1,o),s.asyncDep){if(i&&i.registerDep(s,se,o),!e.el){let r=s.subTree=X(J);b(null,r,t,n),e.placeholder=r.el}}else se(s,e,t,n,i,a,o)},oe=(e,t,n)=>{let r=t.component=e.component;if(Ea(e,t,n))if(r.asyncDep&&!r.asyncResolved){ce(r,t,n);return}else r.next=t,r.update();else t.el=e.el,r.vnode=t},se=(e,t,n,r,i,a,o)=>{let s=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:s,vnode:c}=e;{let n=no(e);if(n){t&&(t.el=c.el,ce(e,t,o)),n.asyncDep.then(()=>{K(()=>{e.isUnmounted||l()},i)});return}}let u=t,d;Qa(e,!1),t?(t.el=c.el,ce(e,t,o)):t=c,n&&fe(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&Q(d,s,t,c),Qa(e,!0);let f=Sa(e),p=e.subTree;e.subTree=f,v(p,f,m(p.el),ge(p),e,i,a),t.el=f.el,u===null&&ka(e,f.el),r&&K(r,i),(d=t.props&&t.props.onVnodeUpdated)&&K(()=>Q(d,s,t,c),i)}else{let o,{el:s,props:c}=t,{bm:l,m:u,parent:d,root:f,type:p}=e,m=oi(t);if(Qa(e,!1),l&&fe(l),!m&&(o=c&&c.onVnodeBeforeMount)&&Q(o,d,t),Qa(e,!0),s&&Se){let t=()=>{e.subTree=Sa(e),Se(s,e.subTree,e,i,null)};m&&p.__asyncHydrate?p.__asyncHydrate(s,e,t):t()}else{f.ce&&f.ce._hasShadowRoot()&&f.ce._injectChildStyle(p,e.parent?e.parent.type:void 0);let o=e.subTree=Sa(e);v(null,o,n,r,e,i,a),t.el=o.el}if(u&&K(u,i),!m&&(o=c&&c.onVnodeMounted)){let e=t;K(()=>Q(o,d,e),i)}(t.shapeFlag&256||d&&oi(d.vnode)&&d.vnode.shapeFlag&256)&&e.a&&K(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();let c=e.effect=new ze(s);e.scope.off();let l=e.update=c.run.bind(c),u=e.job=c.runIfDirty.bind(c);u.i=e,u.id=e.uid,c.scheduler=()=>zn(u),Qa(e,!0),l()},ce=(e,t,n)=>{t.component=e;let r=e.vnode.props;e.vnode=t,e.next=null,Pa(e,t.props,r,n),qa(e,t.children,n),$e(),Hn(e),et()},k=(e,t,n,r,i,a,o,s,c=!1)=>{let l=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:m}=t;if(f>0){if(f&128){ue(l,d,n,r,i,a,o,s,c);return}else if(f&256){le(l,d,n,r,i,a,o,s,c);return}}m&8?(u&16&&he(l,i,a),d!==l&&p(n,d)):u&16?m&16?ue(l,d,n,r,i,a,o,s,c):he(l,i,a,!0):(u&8&&p(n,``),m&16&&E(d,n,r,i,a,o,s,c))},le=(e,t,n,r,i,a,o,s,c)=>{e||=d,t||=d;let l=e.length,u=t.length,f=Math.min(l,u),p;for(p=0;p<f;p++){let r=t[p]=c?Bo(t[p]):Z(t[p]);v(e[p],r,n,null,i,a,o,s,c)}l>u?he(e,i,a,!0,!1,f):E(t,n,r,i,a,o,s,c,f)},ue=(e,t,n,r,i,a,o,s,c)=>{let l=0,u=t.length,f=e.length-1,p=u-1;for(;l<=f&&l<=p;){let r=e[l],u=t[l]=c?Bo(t[l]):Z(t[l]);if(Ao(r,u))v(r,u,n,null,i,a,o,s,c);else break;l++}for(;l<=f&&l<=p;){let r=e[f],l=t[p]=c?Bo(t[p]):Z(t[p]);if(Ao(r,l))v(r,l,n,null,i,a,o,s,c);else break;f--,p--}if(l>f){if(l<=p){let e=p+1,d=e<u?t[e].el:r;for(;l<=p;)v(null,t[l]=c?Bo(t[l]):Z(t[l]),n,d,i,a,o,s,c),l++}}else if(l>p)for(;l<=f;)A(e[l],i,a,!0),l++;else{let m=l,h=l,g=new Map;for(l=h;l<=p;l++){let e=t[l]=c?Bo(t[l]):Z(t[l]);e.key!=null&&g.set(e.key,l)}let _,y=0,b=p-h+1,x=!1,S=0,C=Array(b);for(l=0;l<b;l++)C[l]=0;for(l=m;l<=f;l++){let r=e[l];if(y>=b){A(r,i,a,!0);continue}let u;if(r.key!=null)u=g.get(r.key);else for(_=h;_<=p;_++)if(C[_-h]===0&&Ao(r,t[_])){u=_;break}u===void 0?A(r,i,a,!0):(C[u-h]=l+1,u>=S?S=u:x=!0,v(r,t[u],n,null,i,a,o,s,c),y++)}let ee=x?to(C):d;for(_=ee.length-1,l=b-1;l>=0;l--){let e=h+l,d=t[e],f=t[e+1],p=e+1<u?f.el||io(f):r;C[l]===0?v(null,d,n,p,i,a,o,s,c):x&&(_<0||l!==ee[_]?de(d,n,p,2):_--)}}},de=(e,t,n,a,o=null)=>{let{el:s,type:c,transition:l,children:u,shapeFlag:d}=e;if(d&6){de(e.component.subTree,t,n,a);return}if(d&128){e.suspense.move(t,n,a);return}if(d&64){c.move(e,t,n,be);return}if(c===q){r(s,t,n);for(let e=0;e<u.length;e++)de(u[e],t,n,a);r(e.anchor,t,n);return}if(c===bo){S(e,t,n);return}if(a!==2&&d&1&&l)if(a===0)l.persisted&&!s[U]?r(s,t,n):(l.beforeEnter(s),r(s,t,n),K(()=>l.enter(s),o));else{let{leave:a,delayLeave:o,afterLeave:c}=l,u=()=>{e.ctx.isUnmounted?i(s):r(s,t,n)},d=()=>{let e=s._isLeaving||!!s[U];s._isLeaving&&s[U](!0),l.persisted&&!e?u():a(s,()=>{u(),c&&c()})};o?o(s,u,d):d()}else r(s,t,n)},A=(e,t,n,r=!1,i=!1)=>{let{type:a,props:o,ref:s,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:d,dirs:f,cacheIndex:p,memo:m}=e;if(d===-2&&(i=!1),s!=null&&($e(),Ur(s,null,n,e,!0),et()),p!=null&&(t.renderCache[p]=void 0),u&256){t.ctx.deactivate(e);return}let h=u&1&&f,g=!oi(e),_;if(g&&(_=o&&o.onVnodeBeforeUnmount)&&Q(_,t,e),u&6)me(e.component,n,r);else{if(u&128){e.suspense.unmount(n,r);return}h&&$n(e,null,t,`beforeUnmount`),u&64?e.type.remove(e,t,n,be,r):l&&!l.hasOnce&&(a!==q||d>0&&d&64)?he(l,t,n,!1,!0):(a===q&&d&384||!i&&u&16)&&he(c,t,n),r&&j(e)}let v=m!=null&&p==null;(g&&(_=o&&o.onVnodeUnmounted)||h||v)&&K(()=>{_&&Q(_,t,e),h&&$n(e,null,t,`unmounted`),v&&(e.el=null)},n)},j=e=>{let{type:t,el:n,anchor:r,transition:a}=e;if(t===q){pe(n,r);return}if(t===bo){C(e);return}let o=()=>{i(n),a&&!a.persisted&&a.afterLeave&&a.afterLeave()};if(e.shapeFlag&1&&a&&!a.persisted){let{leave:t,delayLeave:r}=a,i=()=>t(n,o);r?r(e.el,o,i):i()}else o()},pe=(e,t)=>{let n;for(;e!==t;)n=h(e),i(e),e=n;i(t)},me=(e,t,n)=>{let{bum:r,scope:i,job:a,subTree:o,um:s,m:c,a:l}=e;ro(c),ro(l),r&&fe(r),i.stop(),a&&(a.flags|=8,A(o,e,t,n)),s&&K(s,t),K(()=>{e.isUnmounted=!0},t)},he=(e,t,n,r=!1,i=!1,a=0)=>{for(let o=a;o<e.length;o++)A(e[o],t,n,r,i)},ge=e=>{if(e.shapeFlag&6)return ge(e.component.subTree);if(e.shapeFlag&128)return e.suspense.next();let t=h(e.anchor||e.el),n=t&&t[fr];return n?h(n):t},ve=!1,ye=(e,t,n)=>{let r;e==null?t._vnode&&(A(t._vnode,null,null,!0),r=t._vnode.component):v(t._vnode||null,e,t,null,null,null,n),t._vnode=e,ve||=(ve=!0,Hn(r),Un(),!1)},be={p:v,um:A,m:de,r:j,mt:ae,mc:E,pc:k,pbc:te,n:ge,o:e},xe,Se;return t&&([xe,Se]=t(be)),{render:ye,hydrate:xe,createApp:ma(ye,xe)}}function Za({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 Qa({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function $a(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function eo(e,t,n=!1){let r=e.children,i=t.children;if(b(r)&&b(i))for(let e=0;e<r.length;e++){let t=r[e],a=i[e];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[e]=Bo(i[e]),a.el=t.el),!n&&a.patchFlag!==-2&&eo(t,a)),a.type===yo&&(a.patchFlag===-1&&(a=i[e]=Bo(a)),a.el=t.el),a.type===J&&!a.el&&(a.el=t.el)}}function to(e){let t=e.slice(),n=[0],r,i,a,o,s,c=e.length;for(r=0;r<c;r++){let c=e[r];if(c!==0){if(i=n[n.length-1],e[i]<c){t[r]=i,n.push(r);continue}for(a=0,o=n.length-1;a<o;)s=a+o>>1,e[n[s]]<c?a=s+1:o=s;c<e[n[a]]&&(a>0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,o=n[a-1];a-->0;)n[a]=o,o=t[o];return n}function no(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:no(t)}function ro(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function io(e){if(e.placeholder)return e.placeholder;let t=e.component;return t?io(t.subTree):null}var ao=e=>e.__isSuspense,oo=0,so={name:`Suspense`,__isSuspense:!0,process(e,t,n,r,i,a,o,s,c,l){if(e==null)lo(t,n,r,i,a,o,s,c,l);else{if(a&&a.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}uo(e,t,n,r,i,o,s,c,l)}},hydrate:po,normalize:mo};function co(e,t){let n=e.props&&e.props[t];w(n)&&n()}function lo(e,t,n,r,i,a,o,s,c){let{p:l,o:{createElement:u}}=c,d=u(`div`),f=e.suspense=fo(e,i,r,t,d,n,a,o,s,c);l(null,f.pendingBranch=e.ssContent,d,null,r,f,a,o),f.deps>0?(co(e,`onPending`),co(e,`onFallback`),l(null,e.ssFallback,t,n,r,null,a,o),_o(f,e.ssFallback)):f.resolve(!1,!0)}function uo(e,t,n,r,i,a,o,s,{p:c,um:l,o:{createElement:u}}){let d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;let f=t.ssContent,p=t.ssFallback,{activeBranch:m,pendingBranch:h,isInFallback:g,isHydrating:_}=d;if(h)d.pendingBranch=f,Ao(h,f)?(c(h,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0?d.resolve():g&&(_||(c(m,p,n,r,i,null,a,o,s),_o(d,p)))):(d.pendingId=oo++,_?(d.isHydrating=!1,d.activeBranch=h):l(h,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u(`div`),g?(c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0?d.resolve():(c(m,p,n,r,i,null,a,o,s),_o(d,p))):m&&Ao(m,f)?(c(m,f,n,r,i,d,a,o,s),d.resolve(!0)):(c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0&&d.resolve()));else if(m&&Ao(m,f))c(m,f,n,r,i,d,a,o,s),_o(d,f);else if(co(t,`onPending`),d.pendingBranch=f,f.shapeFlag&512?d.pendingId=f.component.suspenseId:d.pendingId=oo++,c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0)d.resolve();else{let{timeout:e,pendingId:t}=d;e>0?setTimeout(()=>{d.pendingId===t&&d.fallback(p)},e):e===0&&d.fallback(p)}}function fo(e,t,n,r,i,a,o,s,c,l,u=!1){let{p:d,m:f,um:p,n:m,o:{parentNode:h,remove:g}}=l,_,v=vo(e);v&&t&&t.pendingBranch&&(_=t.pendingId,t.deps++);let y=e.props?he(e.props.timeout):void 0,b=a,x={vnode:e,parent:t,parentComponent:n,namespace:o,container:r,hiddenContainer:i,deps:0,pendingId:oo++,timeout:typeof y==`number`?y:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){let{vnode:r,activeBranch:i,pendingBranch:o,pendingId:s,effects:c,parentComponent:l,container:u,isInFallback:d}=x,g=!1;if(x.isHydrating)x.isHydrating=!1;else if(!e){g=i&&o.transition&&o.transition.mode===`out-in`;let e=!1;g&&(i.transition.afterLeave=()=>{s===x.pendingId&&(f(o,u,a===b&&!e?m(i):a,0),Vn(c),d&&r.ssFallback&&(r.ssFallback.el=null))}),i&&!x.isFallbackMountPending&&(h(i.el)===u&&(a=m(i),e=!0),p(i,l,x,!0),!g&&d&&r.ssFallback&&K(()=>r.ssFallback.el=null,x)),g||f(o,u,a,0)}x.isFallbackMountPending=!1,_o(x,o),x.pendingBranch=null,x.isInFallback=!1;let y=x.parent,S=!1;for(;y;){if(y.pendingBranch){y.effects.push(...c),S=!0;break}y=y.parent}!S&&!g&&Vn(c),x.effects=[],v&&t&&t.pendingBranch&&_===t.pendingId&&(t.deps--,t.deps===0&&!n&&t.resolve()),co(r,`onResolve`)},fallback(e){if(!x.pendingBranch)return;let{vnode:t,activeBranch:n,parentComponent:r,container:i,namespace:a}=x;co(t,`onFallback`);let o=m(n),l=()=>{x.isFallbackMountPending=!1,x.isInFallback&&(d(null,e,i,o,r,null,a,s,c),_o(x,e))},u=e.transition&&e.transition.mode===`out-in`;u&&(x.isFallbackMountPending=!0,n.transition.afterLeave=l),x.isInFallback=!0,p(n,r,null,!0),u||l()},move(e,t,n){x.activeBranch&&f(x.activeBranch,e,t,n),x.container=e},next(){return x.activeBranch&&m(x.activeBranch)},registerDep(e,t,n){let r=!!x.pendingBranch;r&&x.deps++;let i=e.vnode.el;e.asyncDep.catch(t=>{kn(t,e,0)}).then(a=>{if(e.isUnmounted||x.isUnmounted||x.pendingId!==e.suspenseId)return;Xo(),e.asyncResolved=!0;let{vnode:s}=e;ts(e,a,!1),i&&(s.el=i);let c=!i&&e.subTree.el;t(e,s,h(i||e.subTree.el),i?null:m(e.subTree),x,o,n),c&&(s.placeholder=null,g(c)),ka(e,s.el),r&&--x.deps===0&&x.resolve()})},unmount(e,t){x.isUnmounted=!0,x.activeBranch&&p(x.activeBranch,n,e,t),x.pendingBranch&&p(x.pendingBranch,n,e,t)}};return x}function po(e,t,n,r,i,a,o,s,c){let l=t.suspense=fo(t,r,n,e.parentNode,document.createElement(`div`),null,i,a,o,s,!0),u=c(e,l.pendingBranch=t.ssContent,n,l,a,o);return l.deps===0&&l.resolve(!1,!0),u}function mo(e){let{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=ho(r?n.default:n),e.ssFallback=r?ho(n.fallback):X(J)}function ho(e){let t;if(w(e)){let n=wo&&e._c;n&&(e._d=!1,So()),e=e(),n&&(e._d=!0,t=Y,Co())}return b(e)&&(e=Ca(e)),e=Z(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(t=>t!==e)),e}function go(e,t){t&&t.pendingBranch?b(e)?t.effects.push(...e):t.effects.push(e):Vn(e)}function _o(e,t){e.activeBranch=t;let{vnode:n,parentComponent:r}=e,i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,r&&r.subTree===n&&(r.vnode.el=i,ka(r,i))}function vo(e){let t=e.props&&e.props.suspensible;return t!=null&&t!==!1}var q=Symbol.for(`v-fgt`),yo=Symbol.for(`v-txt`),J=Symbol.for(`v-cmt`),bo=Symbol.for(`v-stc`),xo=[],Y=null;function So(e=!1){xo.push(Y=e?null:[])}function Co(){xo.pop(),Y=xo[xo.length-1]||null}var wo=1;function To(e,t=!1){wo+=e,e<0&&Y&&t&&(Y.hasOnce=!0)}function Eo(e){return e.dynamicChildren=wo>0?Y||d:null,Co(),wo>0&&Y&&Y.push(e),e}function Do(e,t,n,r,i,a){return Eo(No(e,t,n,r,i,a,!0))}function Oo(e,t,n,r,i){return Eo(X(e,t,n,r,i,!0))}function ko(e){return e?e.__v_isVNode===!0:!1}function Ao(e,t){return e.type===t.type&&e.key===t.key}var jo=({key:e})=>e??null,Mo=({ref:e,ref_key:t,ref_for:n})=>(typeof e==`number`&&(e=``+e),e==null?null:T(e)||z(e)||w(e)?{i:H,r:e,k:t,f:!!n}:e);function No(e,t=null,n=null,r=0,i=null,a=e===q?0:1,o=!1,s=!1){let c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&jo(t),ref:t&&Mo(t),scopeId:Kn,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:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:H};return s?(Vo(c,n),a&128&&e.normalize(c)):n&&(c.shapeFlag|=T(n)?8:16),wo>0&&!o&&Y&&(c.patchFlag>0||a&6)&&c.patchFlag!==32&&Y.push(c),c}var X=Po;function Po(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===Ni)&&(e=J),ko(e)){let r=Io(e,t,!0);return n&&Vo(r,n),wo>0&&!a&&Y&&(r.shapeFlag&6?Y[Y.indexOf(e)]=r:Y.push(r)),r.patchFlag=-2,r}if(ls(e)&&(e=e.__vccOpts),t){t=Fo(t);let{class:e,style:n}=t;e&&!T(e)&&(t.class=Ce(e)),D(n)&&(en(n)&&!b(n)&&(n=g({},n)),t.style=ve(n))}let o=T(e)?1:ao(e)?128:pr(e)?64:D(e)?4:w(e)?2:0;return No(e,t,n,r,i,o,a,!0)}function Fo(e){return e?en(e)||Ma(e)?g({},e):e:null}function Io(e,t,n=!1,r=!1){let{props:i,ref:a,patchFlag:o,children:s,transition:c}=e,l=t?Ho(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&jo(l),ref:t&&t.ref?n&&a?b(a)?a.concat(Mo(t)):[a,Mo(t)]:Mo(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==q?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Io(e.ssContent),ssFallback:e.ssFallback&&Io(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&Ir(u,c.clone(u)),u}function Lo(e=` `,t=0){return X(yo,null,e,t)}function Ro(e,t){let n=X(bo,null,e);return n.staticCount=t,n}function zo(e=``,t=!1){return t?(So(),Oo(J,null,e)):X(J,null,e)}function Z(e){return e==null||typeof e==`boolean`?X(J):b(e)?X(q,null,e.slice()):ko(e)?Bo(e):X(yo,null,String(e))}function Bo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Io(e)}function Vo(e,t){let n=0,{shapeFlag:r}=e;if(t==null)t=null;else if(b(t))n=16;else if(typeof t==`object`)if(r&65){let n=t.default;n&&(n._c&&(n._d=!1),Vo(e,n()),n._c&&(n._d=!0));return}else{n=32;let r=t._;!r&&!Ma(t)?t._ctx=H:r===3&&H&&(H.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(w(t)){if(r&65){Vo(e,{default:t});return}t={default:t,_ctx:H},n=32}else t=String(t),r&64?(n=16,t=[Lo(t)]):n=8;e.children=t,e.shapeFlag|=n}function Ho(...e){let t={};for(let n=0;n<e.length;n++){let r=e[n];for(let e in r)if(e===`class`)t.class!==r.class&&(t.class=Ce([t.class,r.class]));else if(e===`style`)t.style=ve([t.style,r.style]);else if(m(e)){let n=t[e],i=r[e];i&&n!==i&&!(b(n)&&n.includes(i))?t[e]=n?[].concat(n,i):i:i==null&&n==null&&!h(e)&&(t[e]=i)}else e!==``&&(t[e]=r[e])}return t}function Q(e,t,n,r=null){B(e,t,7,[n,r])}var Uo=fa(),Wo=0;function Go(e,t,n){let r=e.type,i=(t?t.appContext:e.appContext)||Uo,a={uid:Wo++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Pe(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:[``,0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ra(r,i),emitsOptions:ba(r,i),emit:null,emitted:null,propsDefaults:u,inheritAttrs:r.inheritAttrs,ctx:u,data:u,props:u,attrs:u,slots:u,refs:u,setupState:u,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=t?t.root:a,a.emit=va.bind(null,a),e.ce&&e.ce(a),a}var $=null,Ko=()=>$||H,qo,Jo;{let e=_e(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};qo=t(`__VUE_INSTANCE_SETTERS__`,e=>$=e),Jo=t(`__VUE_SSR_SETTERS__`,e=>Qo=e)}var Yo=e=>{let t=$;return qo(e),e.scope.on(),()=>{e.scope.off(),qo(t)}},Xo=()=>{$&&$.scope.off(),qo(null)};function Zo(e){return e.vnode.shapeFlag&4}var Qo=!1;function $o(e,t=!1,n=!1){t&&Jo(t);let{props:r,children:i}=e.vnode,a=Zo(e);Na(e,r,a,t),Ka(e,i,n||t);let o=a?es(e,t):void 0;return t&&Jo(!1),o}function es(e,t){let n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ki);let{setup:r}=n;if(r){$e();let n=e.setupContext=r.length>1?os(e):null,i=Yo(e),a=On(r,e,0,[e.props,n]),o=te(a);if(et(),i(),(o||e.sp)&&!oi(e)&&zr(e),o){if(a.then(Xo,Xo),t)return a.then(n=>{ts(e,n,t)}).catch(t=>{kn(t,e,0)});e.asyncDep=a}else ts(e,a,t)}else is(e,t)}function ts(e,t,n){w(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:D(t)&&(e.setupState=fn(t)),is(e,n)}var ns,rs;function is(e,t,n){let r=e.type;if(!e.render){if(!t&&ns&&!r.render){let t=r.template||ra(e).template;if(t){let{isCustomElement:n,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:o}=r;r.render=ns(t,g(g({isCustomElement:n,delimiters:a},i),o))}}e.render=r.render||f,rs&&rs(e)}{let t=Yo(e);$e();try{$i(e)}finally{et(),t()}}}var as={get(e,t){return F(e,`get`,``),e[t]}};function os(e){return{attrs:new Proxy(e.attrs,as),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function ss(e){return e.exposed?e.exposeProxy||=new Proxy(fn(tn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Wi)return Wi[n](e)},has(e,t){return t in e||t in Wi}}):e.proxy}function cs(e,t=!0){return w(e)?e.displayName||e.name:e.name||t&&e.__name}function ls(e){return w(e)&&`__vccOpts`in e}var us=(e,t)=>xn(e,t,Qo);function ds(e,t,n){try{To(-1);let r=arguments.length;return r===2?D(t)&&!b(t)?ko(t)?X(e,null,[t]):X(e,t):X(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ko(n)&&(n=[n]),X(e,t,n))}finally{To(1)}}var fs=`3.5.40`;function ps(e,t={},n){for(let r in e){let i=e[r],a=n?`${n}:${r}`:r;typeof i==`object`&&i?ps(i,t,a):typeof i==`function`&&(t[a]=i)}return t}var ms=(()=>{if(console.createTask)return console.createTask;let e={run:e=>e()};return()=>e})();function hs(e,t,n,r){for(let i=n;i<e.length;i+=1)try{let n=r?r.run(()=>e[i](...t)):e[i](...t);if(n&&typeof n.then==`function`)return Promise.resolve(n).then(()=>hs(e,t,i+1,r))}catch(e){return Promise.reject(e)}}function gs(e,t,n){if(e.length>0)return hs(e,t,0,ms(n))}function _s(e,t,n){if(e.length>0){let r=ms(n);return Promise.all(e.map(e=>r.run(()=>e(...t))))}}function vs(e,t){for(let n of[...e])n(t)}var ys=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||typeof t!=`function`)return()=>{};let r=e,i;for(;this._deprecatedHooks[e];)i=this._deprecatedHooks[e],e=i.to;if(i&&!n.allowDeprecated){let e=i.message;e||=`${r} hook has been deprecated`+(i.to?`, please use ${i.to}`:``),this._deprecatedMessages||=new Set,this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>`_`+e.replace(/\W+/g,`_`)+`_hook_cb`,configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&=(this.removeHook(e,t),void 0)}}hookOnce(e,t){let n,r=(...e)=>(typeof n==`function`&&n(),n=void 0,r=void 0,t(...e));return n=this.hook(e,r),n}removeHook(e,t){let n=this._hooks[e];if(n){let r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}clearHook(e){this._hooks[e]=void 0}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t==`string`?{to:t}:t;let n=this._hooks[e]||[];this._hooks[e]=void 0;for(let t of n)this.hook(e,t)}deprecateHooks(e){for(let t in e)this.deprecateHook(t,e[t])}addHooks(e){let t=ps(e),n=Object.keys(t).map(e=>this.hook(e,t[e]));return()=>{for(let e of n)e();n.length=0}}removeHooks(e){let t=ps(e);for(let e in t)this.removeHook(e,t[e])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(gs,e,t)}callHookParallel(e,...t){return this.callHookWith(_s,e,t)}callHookWith(e,t,n){let r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&vs(this._before,r);let i=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return i instanceof Promise?i.finally(()=>{this._after&&r&&vs(this._after,r)}):(this._after&&r&&vs(this._after,r),i)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){let t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){let t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function bs(){return new ys}var xs=class{_hooks;constructor(){this._hooks={}}hook(e,t){return!e||typeof t!=`function`?()=>{}:(this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&=(this.removeHook(e,t),void 0)})}removeHook(e,t){let n=this._hooks[e];if(n){let r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}callHook(e,...t){let n=this._hooks[e];if(!(!n||n.length===0))return hs(n,t,0)}};function Ss(){return globalThis.AsyncLocalStorage||globalThis.process?.getBuiltinModule?.(`node:async_hooks`)?.AsyncLocalStorage}function Cs(e={}){let t,n=!1,r=e=>{if(t&&t!==e)throw Error(`Context conflict`)},i;if(e.asyncContext){let t=e.AsyncLocalStorage||Ss();t?i=new t:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}let a=e=>i&&typeof e==`object`&&e?{__unctx_weak:new WeakRef(e)}:e,o=e=>e&&e.__unctx_weak?e.__unctx_weak.deref():e,s=()=>{if(i){let e=i.getStore();if(e!==void 0)return o(e)}return t};return{use:()=>{let e=s();if(e===void 0)throw Error(`Context is not available`);return e},tryUse:()=>s(),set:(e,i)=>{i||r(e),t=e,n=!0},unset:()=>{t=void 0,n=!1},call:(e,o)=>{r(e),t=e;try{return i?i.run(a(e),o):o()}finally{n||(t=void 0)}},async callAsync(e,r){t=e;let o=()=>{t=e},s=()=>t===e?o:void 0;As.add(s);try{let o=i?i.run(a(e),r):r();return n||(t=void 0),await o}finally{As.delete(s)}}}}function ws(e={}){let t={};return{get(n,r={}){return t[n]||(t[n]=Cs({...e,...r})),t[n]}}}var Ts=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof globalThis<`u`?globalThis:typeof window<`u`?window:{},Es=`__unctx__`,Ds=Ts[Es]||(Ts[Es]=ws()),Os=(e,t={})=>Ds.get(e,t),ks=`__unctx_async_handlers__`,As=Ts[ks]||(Ts[ks]=new Set);function js(e){let t=[];for(let e of As){let n=e();n&&t.push(n)}let n=()=>{for(let e of t)e()},r=e();return r&&typeof r==`object`&&`catch`in r&&(r=r.catch(e=>{throw n(),e})),[r,n]}var Ms={meta:[{name:`viewport`,content:`width=device-width,initial-scale=1`},{charset:`utf-8`},{name:`description`,content:`DevTools for Vite`},{property:`og:title`,content:`Vite DevTools`},{property:`og:description`,content:`DevTools for Vite`}],link:[{rel:`icon`,type:`image/svg+xml`,href:`/favicon.svg`}],style:[],script:[],noscript:[],title:`Vite DevTools`,charset:`utf-8`,viewport:`width=device-width,initial-scale=1`,htmlAttrs:{lang:`en`,class:`bg-dots`}},Ns={id:`__nuxt-loader`},Ps={componentName:`NuxtLink`,prefetch:!0,prefetchOn:{visibility:!0}},Fs=`#__nuxt`,Is=`nuxt-app`,Ls=36e5,Rs=`vite:preloadError`;function zs(e=`nuxt-app`){return Os(e,{asyncContext:!1})}var Bs=`__nuxt_plugin`;function Vs(e){let t=0,n={_id:e.id||`nuxt-app`,_scope:Fe(),provide:void 0,versions:{get nuxt(){return`4.5.0`},get vue(){return n.vueApp.version}},payload:Jt({...e.ssrContext?.payload||{},data:Jt({}),state:qt({}),once:new Set,_errors:Jt({})}),static:{data:{}},runWithContext(e){return n._scope.active&&!Ie()?n._scope.run(()=>Gs(n,e)):Gs(n,e)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let e=!1;return()=>{if(!e&&(e=!0,t--,t===0))return n.isHydrating=!1,n.callHook(`app:suspense:resolve`)}},_asyncDataPromises:{},_asyncData:Jt({}),_state:Jt({}),_payloadRevivers:{},...e};{let e=window.__NUXT__;if(e)for(let t in e)switch(t){case`data`:case`state`:case`_errors`:Object.assign(n.payload[t],e[t]);break;default:n.payload[t]=e[t]}}n.hooks=bs(),n.hook=n.hooks.hook;{let e=n.hooks.callHook;n.hooks.callHook=(t,...n)=>Promise.resolve().then(()=>e(t,...n))}n.callHook=n.hooks.callHook,n.provide=(e,t)=>{let r=`$`+e;Ys(n,r,t),Ys(n.vueApp.config.globalProperties,r,t)},Ys(n.vueApp,`$nuxt`,n),Ys(n.vueApp.config.globalProperties,`$nuxt`,n);{window.addEventListener(Rs,e=>{n.callHook(`app:chunkError`,{error:e.payload}),e.payload?.message?.includes(`Unable to preload CSS`)&&e.preventDefault()}),window.useNuxtApp||=qs;let e=n.hook(`app:error`,(...e)=>{c.NUXT_E1005({cause:e.length>1?e:e[0]})});n.hook(`app:mounted`,e)}let r=n.payload.config;return n.provide(`config`,r),n}async function Hs(e,t){if(typeof t==`function`){let{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n==`object`)for(let t in n)e.provide(t,n[t])}}async function Us(e,t){let n;for(let r of t)try{await Hs(e,r)}catch(t){if(!e.payload.error)throw t;n||=t}if(n)throw e.payload.error||n}function Ws(e){if(typeof e==`function`)return e;let t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[Bs]:!0,_name:t})}function Gs(e,t,n){return zs(e._id).set(e),e.vueApp.runWithContext(()=>n?t(...n):t())}function Ks(e){let t;return nr()&&(t=Ko()?.appContext.app.$nuxt),t||=zs(e).tryUse(),t||null}function qs(e){let t=Ks(e);if(!t)throw c.NUXT_E1001();return t}function Js(e){return qs().$config}function Ys(e,t,n){Object.defineProperty(e,t,{get:()=>n})}export{Ri as $,o as $t,Lo as A,cn as At,Zi as B,h as Bt,Oo as C,rn as Ct,Ja as D,vn as Dt,Ya as E,an as Et,Fo as F,ue as Ft,pi as G,E as Gt,Ln as H,m as Ht,ds as I,De as It,Ti as J,we as Jt,ki as K,me as Kt,nr as L,fe as Lt,si as M,k as Mt,Rr as N,de as Nt,zi as O,hn as Ot,Ko as P,g as Pt,Jn as Q,c as Qt,tr as R,b as Rt,No as S,Yt as St,Do as T,Xt as Tt,fi as U,Ee as Ut,Ho as V,D as Vt,wi as W,T as Wt,Yn as X,je as Xt,So as Y,ve as Yt,er as Z,he as Zt,ui as _,$t as _t,Js as a,Ji as at,B as b,Le as bt,Ns as c,Br as ct,Fs as d,Zn as dt,s as en,Bi as et,js as f,Qn as ft,q as g,Ie as gt,Dr as h,Fe as ht,qs as i,Hi as it,X as j,ln as jt,Ro as k,un as kt,Ps as l,sr as lt,jr as m,mn as mt,Vs as n,a as nn,Fi as nt,Ms as o,ga as ot,xs as p,Xn as pt,xi as q,Ce as qt,Ws as r,Pi as rt,Is as s,qi as st,Us as t,i as tn,Mi as tt,Ls as u,ar as ut,so as v,z as vt,zo as w,Jt as wt,us as x,qt as xt,Sr as y,tn as yt,ko as z,w as zt};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=function(e,t){return new URL(e,t).href},t={},n=function(n,r,i){let a=Promise.resolve();if(r&&r.length>0){let n=document.getElementsByTagName(`link`),o=document.querySelector(`meta[property=csp-nonce]`),s=o?.nonce||o?.getAttribute(`nonce`);function c(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function l(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}a=c(r.map(r=>{if(r=e(r,i),r=l(r),r in t)return;t[r]=!0;let a=r.endsWith(`.css`);for(let e=n.length-1;e>=0;e--){let t=n[e];if(t.href===r&&(!a||t.rel===`stylesheet`))return}let o=document.createElement(`link`);if(o.rel=a?`stylesheet`:`modulepreload`,a||(o.as=`script`),o.crossOrigin=``,o.href=r,s&&o.setAttribute(`nonce`,s),document.head.appendChild(o),a)return new Promise((e,t)=>{o.addEventListener(`load`,e),o.addEventListener(`error`,()=>t(Error(`Unable to preload CSS for ${r}`)))})}))}function o(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return a.then(e=>{for(let t of e||[])t.status===`rejected`&&o(t.reason);return n().catch(o)})};export{n as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{S as e,T as t,Xt as n,Y as r}from"./
|
|
1
|
+
import{S as e,T as t,Xt as n,Y as r}from"./Dq6qvGpt.js";import{t as i}from"./C8ASv8Uh.js";import{t as a}from"./BDNMzG2s.js";var o={class:`antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide`},s={class:`max-w-520px text-center`},c=[`textContent`],l=[`textContent`],u=[`textContent`],d=a({__name:`error-500`,props:{appName:{type:String,default:`Nuxt`},status:{type:Number,default:500},statusText:{type:String,default:`Internal server error`},description:{type:String,default:`This page is temporarily unavailable.`},refresh:{type:String,default:`Refresh this page`}},setup(a){let d=a;return i({title:`${d.status} - ${d.statusText} | ${d.appName}`,script:[{innerHTML:`!function(){let e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(let e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(let t of e)if("childList"===t.type)for(let e of t.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;let r=function(e){let r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:`*,:after,:before{box-sizing:border-box;border-style:solid;border-width:0;border-color:var(--un-default-border-color,#e5e7eb)}:after,:before{--un-content:""}html{-webkit-text-size-adjust:100%;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}body{line-height:inherit;margin:0}h1,h2{font-size:inherit;font-weight:inherit}h1,h2,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 #0000;--un-ring-shadow:0 0 #0000;--un-shadow-inset: ;--un-shadow:0 0 #0000;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:#93c5fd80;--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }`}]}),(i,d)=>(r(),t(`div`,o,[e(`div`,s,[e(`h1`,{class:`font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]`,textContent:n(a.status)},null,8,c),e(`h2`,{class:`font-semibold mb-2 sm:text-3xl text-2xl`,textContent:n(a.statusText)},null,8,l),e(`p`,{class:`mb-4 px-2 text-[#64748B] text-md`,textContent:n(a.description)},null,8,u)])]))}},[[`__scopeId`,`data-v-03a2b1b3`]]);export{d as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"
|
|
1
|
+
{"id":"1bd70f59-c8bf-40a3-a3b5-03f5c6f09f60","timestamp":1785131810391}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":"1bd70f59-c8bf-40a3-a3b5-03f5c6f09f60","timestamp":1785131810391,"prerendered":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{C as e,Ct as t,Dt as n,Et as r,H as i,J as a,L as o,N as s,Ot as c,P as l,R as u,S as d,St as f,T as p,Tt as m,Xt as h,Y as g,a as _,bt as v,dt as y,et as b,gt as x,ht as S,j as C,jt as w,k as ee,kt as T,lt as E,mt as te,q as ne,tn as re,ut as ie,vt as ae,x as D,xt as O}from"./Dq6qvGpt.js";import{d as oe,u as se}from"./NLJpu4QF.js";function ce(e){return t=>{let n=`${e.bold(e.red(`[${t.name}]`))} ${t.message}`,r=[];return t.fix&&r.push(`${e.dim(`fix:`)} ${t.fix}`),t.sources?.length&&r.push(`${e.dim(`sources:`)} ${t.sources.join(`, `)}`),t.docs&&r.push(`${e.dim(`see:`)} ${e.cyan(t.docs)}`),r.length===0?n:[n,...r.map((t,n)=>`${e.dim(n<r.length-1?`├▶`:`╰▶`)} ${t}`)].join(`
|
|
2
|
+
`)}}var le={viewBox:`0 0 1053 86`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,class:`banner-devtools`},ue=s({__name:`BannerViteDevTools`,setup(e){return(e,t)=>(g(),p(`svg`,le,[...t[0]||=[ee(`<g clip-path="url(#clip0_3_25)"><path d="M32.087 10.9L49.292 57.772L66.218 10.9H89.375L63.707 76H33.947L8.279 10.9H32.087ZM97.094 76V10.9H119.414V76H97.094ZM152.569 76V26.896H127.552V10.9H199.906V26.896H174.889V76H152.569ZM208.076 76V10.9H272.339V26.71H230.396V35.452H271.688V50.797H230.396V60.19H273.548V76H208.076Z" fill="currentColor"></path><path d="M294.792 9.89331C281.775 28.5257 281.698 57.4071 294.792 76.1065H303.586C290.496 57.4071 290.572 28.5257 303.586 9.89331H294.792Z" fill="currentColor"></path><path d="M383.128 9.89314H374.333C387.35 28.5255 387.426 57.4069 374.333 76.1064H383.128C396.218 57.4069 396.142 28.5255 383.128 9.89314Z" fill="currentColor"></path><path d="M406.719 77V11.9H447.639C470.238 11.9 483.165 22.223 483.165 44.45C483.165 66.77 470.145 77 447.546 77H406.719ZM460.287 44.45C460.287 32.267 455.079 27.71 444.477 27.71H429.039V61.19H444.477C455.079 61.19 460.287 56.633 460.287 44.45ZM494.542 77V11.9H558.805V27.71H516.862V36.452H558.154V51.797H516.862V61.19H560.014V77H494.542ZM588.198 11.9L605.403 58.772L622.329 11.9H645.486L619.818 77H590.058L564.39 11.9H588.198ZM673.624 77V27.896H648.607V11.9H720.961V27.896H695.944V77H673.624ZM764.891 78.116C737.456 78.116 723.134 66.584 723.134 44.45C723.134 22.316 737.456 10.784 764.891 10.784C792.326 10.784 806.741 22.316 806.741 44.45C806.741 66.584 792.326 78.116 764.891 78.116ZM764.891 62.027C777.818 62.027 783.863 56.54 783.863 44.45C783.863 32.267 777.818 26.78 764.891 26.78C751.964 26.78 745.919 32.267 745.919 44.45C745.919 56.54 751.964 62.027 764.891 62.027ZM855.802 78.116C828.367 78.116 814.045 66.584 814.045 44.45C814.045 22.316 828.367 10.784 855.802 10.784C883.237 10.784 897.652 22.316 897.652 44.45C897.652 66.584 883.237 78.116 855.802 78.116ZM855.802 62.027C868.729 62.027 874.774 56.54 874.774 44.45C874.774 32.267 868.729 26.78 855.802 26.78C842.875 26.78 836.83 32.267 836.83 44.45C836.83 56.54 842.875 62.027 855.802 62.027ZM908.955 77V11.9H931.275V60.725H970.242V77H908.955ZM1011.9 78.116C985.302 78.116 974.049 71.234 974.049 55.238V55.145H996.648V55.238C996.648 60.632 1000.27 63.515 1011.9 63.515C1023.9 63.515 1026.69 61.283 1026.69 57.842C1026.69 54.773 1024.64 53.378 1020.18 53.006L1001.2 51.518C981.117 49.937 974.979 43.799 974.979 32.081C974.979 17.945 987.255 10.784 1012.27 10.784C1037.85 10.784 1048.17 17.387 1048.17 32.639V32.825H1025.94V32.639C1025.94 27.245 1022.59 25.199 1011.9 25.199C1000.65 25.199 997.206 27.245 997.206 30.872C997.206 34.034 999.717 35.243 1005.58 35.708L1024.36 37.103C1042.03 38.405 1049.29 44.078 1049.29 56.261C1049.29 70.304 1038.78 78.116 1011.9 78.116Z" fill="currentColor"></path><path d="M341.534 73.5459C340.625 74.7024 338.767 74.0592 338.767 72.59V58.4788C338.767 56.7677 337.38 55.3811 335.669 55.3811H320.089C318.829 55.3811 318.094 53.9561 318.829 52.9323L329.072 38.5911C330.538 36.5405 329.072 33.6906 326.55 33.6906H307.695C306.435 33.6906 305.7 32.2657 306.435 31.242L319.714 12.6493C320.006 12.2422 320.475 12.0002 320.974 12.0002H360.546C361.806 12.0002 362.54 13.4252 361.806 14.449L351.562 28.7902C350.096 30.8407 351.562 33.6906 354.085 33.6906H369.665C370.957 33.6906 371.683 35.1806 370.884 36.1984L341.537 73.5488L341.534 73.5459Z" fill="#9135FF"></path><mask id="mask0_3_25" style="mask-type:alpha;" maskUnits="userSpaceOnUse" x="306" y="12" width="66" height="63"><path d="M341.392 73.5457C340.483 74.7021 338.624 74.059 338.624 72.5897V58.4787C338.624 56.7674 337.238 55.3808 335.527 55.3808H319.946C318.686 55.3808 317.952 53.9558 318.686 52.9321L328.93 38.5908C330.396 36.5404 328.93 33.6904 326.407 33.6904H307.552C306.292 33.6904 305.558 32.2655 306.292 31.2417L319.572 12.6491C319.864 12.2419 320.333 12 320.831 12H360.403C361.663 12 362.398 13.425 361.663 14.4487L351.42 28.79C349.953 30.8404 351.42 33.6904 353.942 33.6904H369.523C370.815 33.6904 371.541 35.1803 370.741 36.1982L341.395 73.5485L341.392 73.5457Z" fill="black"></path></mask><g mask="url(#mask0_3_25)"><g filter="url(#filter0_f_3_25)"><path d="M340.18 62.5759C340.194 66.7421 331.189 70.1487 320.066 70.1847C308.944 70.2208 299.917 66.8726 299.904 62.7064C299.89 58.5402 308.895 55.1336 320.017 55.0976C331.14 55.0615 340.167 58.4097 340.18 62.5759Z" fill="#EEE6FF"></path></g><g filter="url(#filter1_f_3_25)"><path d="M333.95 36.7736C333.976 44.6397 315.692 51.0757 293.113 51.1489C270.534 51.222 252.209 44.9047 252.184 37.0387C252.158 29.1726 270.442 22.7366 293.021 22.6634C315.6 22.5902 333.925 28.9076 333.95 36.7736Z" fill="#EEE6FF"></path></g><g filter="url(#filter2_f_3_25)"><path d="M334.109 34.778C334.122 38.9442 315.44 42.3822 292.38 42.4569C269.32 42.5317 250.615 39.2149 250.602 35.0487C250.588 30.8825 269.271 27.4446 292.331 27.3698C315.391 27.2951 334.095 30.6118 334.109 34.778Z" fill="#8900FF"></path></g><g filter="url(#filter3_f_3_25)"><path d="M340.708 59.4281C340.722 63.5943 321.971 67.0325 298.826 67.1075C275.682 67.1825 256.909 63.866 256.895 59.6998C256.882 55.5336 275.633 52.0954 298.777 52.0204C321.922 51.9454 340.695 55.2619 340.708 59.4281Z" fill="#8900FF"></path></g><g filter="url(#filter4_f_3_25)"><path d="M342.807 61.0016C342.82 65.1678 324.069 68.606 300.925 68.681C277.781 68.756 259.007 65.4395 258.994 61.2733C258.98 57.1071 277.732 53.6689 300.876 53.5939C324.02 53.5189 342.793 56.8354 342.807 61.0016Z" fill="#8900FF"></path></g><g filter="url(#filter5_f_3_25)"><path d="M348.58 26.0173C349.202 15.392 363.221 7.56971 379.892 8.54583C396.563 9.52195 409.574 18.9268 408.952 29.5521C408.33 40.1775 394.311 47.9997 377.639 47.0236C360.968 46.0475 347.958 36.6426 348.58 26.0173Z" fill="#EEE6FF"></path></g><g filter="url(#filter6_f_3_25)"><path d="M350.839 33.0047C350.793 30.3802 363.938 28.0245 380.199 27.7432C396.459 27.4619 409.678 29.3614 409.723 31.986C409.769 34.6105 396.624 36.9662 380.363 37.2475C364.102 37.5288 350.884 35.6293 350.839 33.0047Z" fill="#8900FF"></path></g><g filter="url(#filter7_f_3_25)"><path d="M350.839 33.0047C350.793 30.3802 363.938 28.0245 380.199 27.7432C396.459 27.4619 409.678 29.3614 409.723 31.986C409.769 34.6105 396.624 36.9662 380.363 37.2475C364.102 37.5288 350.884 35.6293 350.839 33.0047Z" fill="#8900FF"></path></g><g filter="url(#filter8_f_3_25)"><path d="M281.167 55.0432C283.739 57.1638 297.179 45.113 311.186 28.1269C325.193 11.1408 334.464 -4.34828 331.892 -6.46889C329.321 -8.5895 315.881 3.46136 301.874 20.4475C287.866 37.4336 278.596 52.9226 281.167 55.0432Z" fill="#8900FF"></path></g><g filter="url(#filter9_f_3_25)"><path d="M346.601 35.117C349.232 37.1642 362.326 24.7387 375.848 7.36381C389.37 -10.011 398.2 -25.7557 395.569 -27.8028C392.939 -29.85 379.845 -17.4244 366.323 -0.0495851C352.8 17.3253 343.971 33.0699 346.601 35.117Z" fill="#8900FF"></path></g><g filter="url(#filter10_f_3_25)"><path d="M354.587 31.1204C358.151 33.8946 364.681 31.4665 369.171 25.6972C373.661 19.9279 374.411 13.0021 370.846 10.228C367.282 7.45385 360.753 9.88193 356.262 15.6512C351.772 21.4205 351.022 28.3463 354.587 31.1204Z" fill="#00C2FF"></path></g><g filter="url(#filter11_f_3_25)"><path d="M278.942 95.9583C281.573 98.0054 294.667 85.5799 308.189 68.2051C321.711 50.8302 330.541 35.0856 327.91 33.0384C325.28 30.9913 312.186 43.4168 298.664 60.7917C285.141 78.1665 276.312 93.9111 278.942 95.9583Z" fill="#8900FF"></path></g><g filter="url(#filter12_f_3_25)"><path d="M278.942 95.9583C281.573 98.0054 294.667 85.5799 308.189 68.2051C321.711 50.8302 330.541 35.0856 327.91 33.0384C325.28 30.9913 312.186 43.4168 298.664 60.7917C285.141 78.1665 276.312 93.9111 278.942 95.9583Z" fill="#8900FF"></path></g><g filter="url(#filter13_f_3_25)"><path d="M330.342 84.4194C332.973 86.4665 346.067 74.041 359.589 56.6661C373.111 39.2913 381.941 23.5466 379.311 21.4995C376.68 19.4523 363.586 31.8779 350.064 49.2527C336.542 66.6276 327.712 82.3722 330.342 84.4194Z" fill="#8900FF"></path></g><g filter="url(#filter14_f_3_25)"><path d="M345.748 72.9077C349.313 75.6818 357.963 70.5283 365.07 61.397C372.176 52.2657 375.048 42.6144 371.483 39.8403C367.919 37.0662 359.268 42.2197 352.162 51.351C345.055 60.4823 342.184 70.1335 345.748 72.9077Z" fill="#00C2FF"></path></g></g></g><defs><filter id="filter0_f_3_25" x="278.924" y="34.1176" width="82.2362" height="57.0471" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="10.4899" result="effect1_foregroundBlur_3_25"></feGaussianBlur></filter><filter id="filter1_f_3_25" x="231.204" y="1.68307" width="123.726" height="70.4461" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="10.4899" result="effect1_foregroundBlur_3_25"></feGaussianBlur></filter><filter id="filter2_f_3_25" x="238.014" y="14.7807" width="108.683" height="40.2653" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="6.29392" result="effect1_foregroundBlur_3_25"></feGaussianBlur></filter><filter id="filter3_f_3_25" x="244.307" y="39.4313" width="108.989" height="40.2653" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="6.29392" result="effect1_foregroundBlur_3_25"></feGaussianBlur></filter><filter id="filter4_f_3_25" x="246.406" y="41.0048" width="108.989" height="40.2653" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="6.29392" result="effect1_foregroundBlur_3_25"></feGaussianBlur></filter><filter id="filter5_f_3_25" x="327.579" y="-12.5161" width="102.374" height="80.6017" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="10.4899" result="effect1_foregroundBlur_3_25"></feGaussianBlur></filter><filter id="filter6_f_3_25" x="338.251" y="15.1277" width="84.0606" height="34.7352" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="6.29392" result="effect1_foregroundBlur_3_25"></feGaussianBlur></filter><filter id="filter7_f_3_25" x="338.251" y="15.1277" width="84.0606" height="34.7352" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="6.29392" result="effect1_foregroundBlur_3_25"></feGaussianBlur></filter><filter id="filter8_f_3_25" x="268.151" y="-19.2987" width="76.7577" height="87.1718" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="6.29392" result="effect1_foregroundBlur_3_25"></feGaussianBlur></filter><filter id="filter9_f_3_25" x="333.55" y="-40.6113" width="75.0711" height="88.5369" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="6.29392" result="effect1_foregroundBlur_3_25"></feGaussianBlur></filter><filter id="filter10_f_3_25" x="339.748" y="-3.50744" width="45.9371" height="48.3633" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="6.29392" result="effect1_foregroundBlur_3_25"></feGaussianBlur></filter><filter id="filter11_f_3_25" x="265.891" y="20.2299" width="75.0711" height="88.5369" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="6.29392" result="effect1_foregroundBlur_3_25"></feGaussianBlur></filter><filter id="filter12_f_3_25" x="265.891" y="20.2299" width="75.0711" height="88.5369" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="6.29392" result="effect1_foregroundBlur_3_25"></feGaussianBlur></filter><filter id="filter13_f_3_25" x="317.291" y="8.69097" width="75.0711" height="88.5369" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="6.29392" result="effect1_foregroundBlur_3_25"></feGaussianBlur></filter><filter id="filter14_f_3_25" x="331.629" y="26.5018" width="53.9728" height="59.7445" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="6.29392" result="effect1_foregroundBlur_3_25"></feGaussianBlur></filter><clipPath id="clip0_3_25"><rect width="1053" height="86" fill="white"></rect></clipPath></defs>`,2)]]))}}),de={class:`p10 h-full flex flex-col items-center justify-center`},fe={class:`flex gap-2 animate-pulse items-center justify-center`},pe=s({__name:`VisualLoading`,props:{text:{}},setup(e){return(t,n)=>(g(),p(`div`,de,[b(t.$slots,`banner`),d(`div`,fe,[n[0]||=d(`div`,{class:`i-svg-spinners-8-dots-rotate`},null,-1),d(`span`,null,h(e.text??`Loading...`),1)])]))}}),me=Object.assign(s({__name:`Loading`,props:{text:{}},setup(t){return(n,r)=>(g(),e(pe,{text:t.text},{banner:y(()=>[C(ue)]),_:1},8,[`text`]))}}),{__name:`VisualLoading`});function he(e,t,n={}){let r,i,a,o=!0,s=()=>{o=!0,a()};E(e,s,{flush:`sync`,...n});let c=typeof t==`function`?t:t.get,l=typeof t==`function`?void 0:t.set,u=te((e,t)=>(i=e,a=t,{get(){return o&&=(r=c(r),!1),i(),r},set(e){l?.(e)}}));return u.trigger=s,u}function ge(e={}){function t(e){return typeof e==`function`}let n=t(e)?{mounted:e,updated:e}:e,{mounted:r,unmounted:i}=n;if(!t(r))return e;let a=new WeakMap;return{...n,mounted(e,t,n,i){let o=a.get(e)??S();a.set(e,o),o.run(()=>{r?.(e,t,n,i)})},unmounted(e,n,r,o){var s;(s=a.get(e))==null||s.stop(),a.delete(e),t(i)&&i(e,n,r,o)}}}function _e(e,t){return x()?(v(e,t),!0):!1}var ve=new WeakMap,ye=(...e)=>{let t=e[0],n=l()?.proxy??x();if(n==null&&!o())throw Error(`injectLocal must be called in setup`);return n&&ve.has(n)&&t in ve.get(n)?ve.get(n)[t]:u(...e)},be=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var xe=e=>e!==void 0,Se=e=>e!=null,Ce=Object.prototype.toString,we=e=>Ce.call(e)===`[object Object]`,k=()=>{},Te=Ee();function Ee(){var e,t;return be&&!!((e=window)!=null&&(e=e.navigator)!=null&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)==null||(t=t.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function De(...e){if(e.length!==1)return n(...e);let r=e[0];return typeof r==`function`?f(te(()=>({get:r,set:k}))):t(r)}function Oe(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}var ke=e=>e();function Ae(e,t={}){let n,r,i=k,a=e=>{clearTimeout(e),i(),i=k},o;return s=>{let c=T(e),l=T(t.maxWait);return n&&a(n),c<=0||l!==void 0&&l<=0?(r&&=(a(r),void 0),Promise.resolve(s())):new Promise((e,u)=>{i=t.rejectOnCancel?u:e,o=s,l&&!r&&(r=setTimeout(()=>{n&&a(n),r=void 0,e(o())},l)),n=setTimeout(()=>{r&&a(r),r=void 0,e(s())},c)})}}function je(...e){let t=0,n,r=!0,i=k,a,o,s,c,l;!ae(e[0])&&typeof e[0]==`object`?{delay:o,trailing:s=!0,leading:c=!0,rejectOnCancel:l=!1}=e[0]:[o,s=!0,c=!0,l=!1]=e;let u=()=>{n&&(clearTimeout(n),n=void 0,i(),i=k)};return e=>{let d=T(o),f=Date.now()-t,p=()=>a=e();return u(),d<=0?(t=Date.now(),p()):(f>d?(t=Date.now(),(c||!r)&&p()):s&&(a=new Promise((e,a)=>{i=l?a:e,n=setTimeout(()=>{t=Date.now(),r=!0,e(p()),u()},Math.max(0,d-f))})),!c&&!n&&(n=setTimeout(()=>r=!0,d)),r=!1,a)}}function Me(e=ke,t={}){let{initialState:n=`active`}=t,r=De(n===`active`);function i(){r.value=!1}function a(){r.value=!0}return{isActive:m(r),pause:i,resume:a,eventFilter:(...t)=>{r.value&&e(...t)}}}function Ne(e,t=!1,n=`Timeout`){return new Promise((r,i)=>{t?setTimeout(i,e,n):setTimeout(r,e)})}function Pe(e){return e.endsWith(`rem`)?Number.parseFloat(e)*16:Number.parseFloat(e)}function Fe(e){return Array.isArray(e)?e:[e]}function Ie(e){return e||l()}function Le(e){return ae(e)?O(new Proxy({},{get(t,n,r){return w(Reflect.get(e.value,n,r))},set(t,n,r){return ae(e.value[n])&&!ae(r)?e.value[n].value=r:e.value[n]=r,!0},deleteProperty(t,n){return Reflect.deleteProperty(e.value,n)},has(t,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}})):O(e)}function Re(e){return Le(D(e))}function ze(e,...t){let n=t.flat(),r=n[0];return Re(()=>Object.fromEntries(typeof r==`function`?Object.entries(c(e)).filter(([e,t])=>!r(T(t),e)):Object.entries(c(e)).filter(e=>!n.includes(e[0]))))}function Be(e,t=200,n={}){return Oe(Ae(t,n),e)}function Ve(e,t=200,n=!1,r=!0,i=!1){return Oe(je(t,n,r,i),e)}function He(e,t,n={}){let{eventFilter:r=ke,...i}=n;return E(e,Oe(r,t),i)}function Ue(e,t,n={}){let{eventFilter:r,initialState:i=`active`,...a}=n,{eventFilter:o,pause:s,resume:c,isActive:l}=Me(r,{initialState:i});return{stop:He(e,t,{...a,eventFilter:o}),pause:s,resume:c,isActive:l}}function We(e,t=!0,n){Ie(n)?ne(e,n):t?e():i(e)}function Ge(e,t){Ie(t)&&a(e,t)}function Ke(e,t=!1){function n(n,{flush:r=`sync`,deep:a=!1,timeout:o,throwOnTimeout:s}={}){let c=null,l=[new Promise(o=>{c=E(e,e=>{n(e)!==t&&(c?c():i(()=>c?.()),o(e))},{flush:r,deep:a,immediate:!0})})];return o!=null&&l.push(Ne(o,s).then(()=>T(e)).finally(()=>c?.())),Promise.race(l)}function r(r,a){if(!ae(r))return n(e=>e===r,a);let{flush:o=`sync`,deep:s=!1,timeout:c,throwOnTimeout:l}=a??{},u=null,d=[new Promise(n=>{u=E([e,r],([e,r])=>{t!==(e===r)&&(u?u():i(()=>u?.()),n(e))},{flush:o,deep:s,immediate:!0})})];return c!=null&&d.push(Ne(c,l).then(()=>T(e)).finally(()=>(u?.(),T(e)))),Promise.race(d)}function a(e){return n(e=>!!e,e)}function o(e){return r(null,e)}function s(e){return r(void 0,e)}function c(e){return n(Number.isNaN,e)}function l(e,t){return n(t=>{let n=Array.from(t);return n.includes(e)||n.includes(T(e))},t)}function u(e){return d(1,e)}function d(e=1,t){let r=-1;return n(()=>(r+=1,r>=e),t)}return Array.isArray(T(e))?{toMatch:n,toContains:l,changed:u,changedTimes:d,get not(){return Ke(e,!t)}}:{toMatch:n,toBe:r,toBeTruthy:a,toBeNull:o,toBeNaN:c,toBeUndefined:s,changed:u,changedTimes:d,get not(){return Ke(e,!t)}}}function qe(e){return Ke(e)}function Je(e=!1,t={}){let{truthyValue:n=!0,falsyValue:i=!1}=t,a=ae(e),o=r(e);function s(e){if(arguments.length)return o.value=e,o.value;{let e=T(n);return o.value=o.value===e?T(i):e,o.value}}return a?s:[o,s]}function Ye(e,t,n={}){let{debounce:r=0,maxWait:i=void 0,...a}=n;return He(e,t,{...a,eventFilter:Ae(r,{maxWait:i})})}function Xe(e,t,n){return E(e,t,{...n,immediate:!0})}function Ze(e,t,n){return E(e,t,{...n,once:!0})}var A=be?window:void 0;be&&window.document,be&&window.navigator,be&&window.location;function j(e){let t=T(e);return t?.$el??t}function M(...e){let t=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),n=D(()=>{let t=Fe(T(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0});return Xe(()=>[n.value?.map(e=>j(e))??[A].filter(e=>e!=null),Fe(T(n.value?e[1]:e[0])),Fe(w(n.value?e[2]:e[1])),T(n.value?e[3]:e[2])],([e,n,r,i],a,o)=>{if(!e?.length||!n?.length||!r?.length)return;let s=we(i)?{...i}:i,c=e.flatMap(e=>n.flatMap(n=>r.map(r=>t(e,n,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}var Qe=!1;function $e(e,t,n={}){let{window:r=A,ignore:i=[],capture:a=!0,detectIframe:o=!1,controls:s=!1}=n;if(!r)return s?{stop:k,cancel:k,trigger:k}:k;if(Te&&!Qe){Qe=!0;let e={passive:!0};Array.from(r.document.body.children).forEach(t=>t.addEventListener(`click`,k,e)),r.document.documentElement.addEventListener(`click`,k,e)}let c=!0,l=e=>T(i).some(t=>{if(typeof t==`string`)return Array.from(r.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{let n=j(t);return n&&(e.target===n||e.composedPath().includes(n))}});function u(e){let t=T(e);return t&&t.$.subTree.shapeFlag===16}function d(e,t){let n=T(e),r=n.$.subTree&&n.$.subTree.children;return r==null||!Array.isArray(r)?!1:r.some(e=>e.el===t.target||t.composedPath().includes(e.el))}let f=n=>{let r=j(e);if(n.target!=null&&!(!(r instanceof Element)&&u(e)&&d(e,n))&&!(!r||r===n.target||n.composedPath().includes(r))){if(`detail`in n&&n.detail===0&&(c=!l(n)),!c){c=!0;return}t(n)}},p=!1,m=[M(r,`click`,e=>{p||(p=!0,setTimeout(()=>{p=!1},0),f(e))},{passive:!0,capture:a}),M(r,`pointerdown`,t=>{let n=j(e);c=!l(t)&&!!(n&&!t.composedPath().includes(n))},{passive:!0}),o&&M(r,`blur`,n=>{setTimeout(()=>{let i=j(e),a=r.document.activeElement;for(;a?.shadowRoot;)a=a.shadowRoot.activeElement;a?.tagName===`IFRAME`&&!i?.contains(r.document.activeElement)&&t(n)},0)},{passive:!0})].filter(Boolean),h=()=>m.forEach(e=>e());return s?{stop:h,cancel:()=>{c=!1},trigger:e=>{c=!0,f(e),c=!1}}:h}function et(){let e=r(!1),t=l();return t&&ne(()=>{e.value=!0},t),e}function tt(e){let t=et();return D(()=>(t.value,!!e()))}function nt(e,t,n={}){let{window:r=A,...i}=n,a,o=tt(()=>r&&`MutationObserver`in r),s=()=>{a&&=(a.disconnect(),void 0)},c=E(D(()=>{let t=Fe(T(e)).map(j).filter(Se);return new Set(t)}),e=>{s(),o.value&&e.size&&(a=new MutationObserver(t),e.forEach(e=>a.observe(e,i)))},{immediate:!0,flush:`post`}),l=()=>a?.takeRecords(),u=()=>{c(),s()};return _e(u),{isSupported:o,stop:u,takeRecords:l}}function rt(e,t,n={}){let{window:r=A,document:i=r?.document,flush:a=`sync`}=n;if(!r||!i)return k;let o,s=e=>{o?.(),o=e},c=ie(()=>{let n=j(e);if(n){let{stop:e}=nt(i,e=>{e.map(e=>[...e.removedNodes]).flat().some(e=>e===n||e.contains(n))&&t(e)},{window:r,childList:!0,subtree:!0});s(e)}},{flush:a}),l=()=>{c(),s()};return _e(l),l}function it(e){return typeof e==`function`?e:typeof e==`string`?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function at(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]==`object`?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);let{target:i=A,eventName:a=`keydown`,passive:o=!1,dedupe:s=!1}=r,c=it(t);return M(i,a,e=>{e.repeat&&T(s)||c(e)&&n(e)},o)}function ot(e,t,n={}){return at(e,t,{...n,eventName:`keydown`})}function st(e,t,n={}){return at(e,t,{...n,eventName:`keypress`})}var ct=500,lt=10;function ut(e,t,n){var r,i;let a=D(()=>j(e)),o,s,c,l=!1;function u(){o&&=(clearTimeout(o),void 0),s=void 0,c=void 0,l=!1}function d(e){let t=n?.delay;return typeof t==`function`?t(e):t??ct}function f(e){var t,r,i;let[o,d,f]=[c,s,l];if(u(),!n?.onMouseUp||!d||!o||n!=null&&(t=n.modifiers)!=null&&t.self&&e.target!==a.value)return;n!=null&&(r=n.modifiers)!=null&&r.prevent&&e.preventDefault(),n!=null&&(i=n.modifiers)!=null&&i.stop&&e.stopPropagation();let p=e.x-d.x,m=e.y-d.y,h=Math.sqrt(p*p+m*m);n.onMouseUp(e.timeStamp-o,h,f,e)}function p(e){var r,i,f;n!=null&&(r=n.modifiers)!=null&&r.self&&e.target!==a.value||(u(),n!=null&&(i=n.modifiers)!=null&&i.prevent&&e.preventDefault(),n!=null&&(f=n.modifiers)!=null&&f.stop&&e.stopPropagation(),s={x:e.x,y:e.y},c=e.timeStamp,o=setTimeout(()=>{l=!0,t(e)},d(e)))}function m(e){var t,r,i;if(n!=null&&(t=n.modifiers)!=null&&t.self&&e.target!==a.value||!s||n?.distanceThreshold===!1)return;n!=null&&(r=n.modifiers)!=null&&r.prevent&&e.preventDefault(),n!=null&&(i=n.modifiers)!=null&&i.stop&&e.stopPropagation();let o=e.x-s.x,c=e.y-s.y;Math.sqrt(o*o+c*c)>=(n?.distanceThreshold??lt)&&u()}let h={capture:n==null||(r=n.modifiers)==null?void 0:r.capture,once:n==null||(i=n.modifiers)==null?void 0:i.once},g=[M(a,`pointerdown`,p,h),M(a,`pointermove`,m,h),M(a,[`pointerup`,`pointerleave`],f,h)];return()=>g.forEach(e=>e())}function dt(e,n,i){let{immediate:a=!0,delay:o=0,onError:s=globalThis.reportError??k,onSuccess:c=k,resetOnExecute:l=!0,shallow:u=!0,throwError:d}=i??{},f=u?r(n):t(n),p=r(!1),m=r(!1),h=r(void 0),g=0;async function _(t=0,...r){let i=g+=1;l&&(f.value=T(n)),h.value=void 0,p.value=!1,m.value=!0,t>0&&await Ne(t);let a=typeof e==`function`?e(...r):e;try{let e=await a;return i===g&&(f.value=e,p.value=!0),c(e),e}catch(e){if(i===g&&(h.value=e),s(e),d)throw e}finally{i===g&&(m.value=!1)}}a&&_(o);let v={state:f,isReady:p,isLoading:m,error:h,execute:_,executeImmediate:(...e)=>_(0,...e)};function y(){return new Promise((e,t)=>{qe(m).toBe(!1).then(()=>e(v)).catch(t)})}return{...v,then(e,t){return y().then(e,t)}}}var ft=Symbol(`vueuse-ssr-width`);function pt(){let e=o()?ye(ft,null):null;return typeof e==`number`?e:void 0}function mt(e,t={}){let{window:n=A,ssrWidth:i=pt()}=t,a=tt(()=>n&&`matchMedia`in n&&typeof n.matchMedia==`function`),o=r(typeof i==`number`),s=r(),c=r(!1);return ie(()=>{if(o.value){o.value=!a.value,c.value=T(e).split(`,`).some(e=>{let t=e.includes(`not all`),n=e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),r=e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),a=!!(n||r);return n&&a&&(a=i>=Pe(n[1])),r&&a&&(a=i<=Pe(r[1])),t?!a:a});return}a.value&&(s.value=n.matchMedia(T(e)),c.value=s.value.matches)}),M(s,`change`,e=>{c.value=e.matches},{passive:!0}),D(()=>c.value)}function ht(e){return JSON.parse(JSON.stringify(e))}var gt=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},_t=`__vueuse_ssr_handlers__`,vt=yt();function yt(){return _t in gt||(gt[_t]=gt[_t]||{}),gt[_t]}function bt(e,t){return vt[e]||t}function xt(e){return mt(`(prefers-color-scheme: dark)`,e)}function St(e){return e==null?`any`:e instanceof Set?`set`:e instanceof Map?`map`:e instanceof Date?`date`:typeof e==`boolean`?`boolean`:typeof e==`string`?`string`:typeof e==`object`?`object`:Number.isNaN(e)?`any`:`number`}var Ct={boolean:{read:e=>e===`true`,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},wt=`vueuse-storage`;function Tt(e,n,a,o={}){let{flush:s=`pre`,deep:c=!0,listenToStorageChanges:l=!0,writeDefaults:u=!0,mergeDefaults:d=!1,shallow:f,window:p=A,eventFilter:m,onError:h=e=>{console.error(e)},initOnMounted:g}=o,_=(f?r:t)(typeof n==`function`?n():n),v=D(()=>T(e));if(!a)try{a=bt(`getDefaultStorage`,()=>A?.localStorage)()}catch(e){h(e)}if(!a)return _;let y=T(n),b=St(y),x=o.serializer??Ct[b],{pause:S,resume:C}=Ue(_,e=>te(e),{flush:s,deep:c,eventFilter:m});E(v,()=>re(),{flush:s});let w=!1;p&&l&&(a instanceof Storage?M(p,`storage`,e=>{g&&!w||re(e)},{passive:!0}):M(p,wt,e=>{g&&!w||ie(e)})),g?We(()=>{w=!0,re()}):re();function ee(e,t){if(p){let n={key:v.value,oldValue:e,newValue:t,storageArea:a};p.dispatchEvent(a instanceof Storage?new StorageEvent(`storage`,n):new CustomEvent(wt,{detail:n}))}}function te(e){try{let t=a.getItem(v.value);if(e==null)ee(t,null),a.removeItem(v.value);else{let n=x.write(e);t!==n&&(a.setItem(v.value,n),ee(t,n))}}catch(e){h(e)}}function ne(e){let t=e?e.newValue:a.getItem(v.value);if(t==null)return u&&y!=null&&a.setItem(v.value,x.write(y)),y;if(!e&&d){let e=x.read(t);return typeof d==`function`?d(e,y):b===`object`&&!Array.isArray(e)?{...y,...e}:e}else if(typeof t!=`string`)return t;else return x.read(t)}function re(e){if(!(e&&e.storageArea!==a)){if(e&&e.key==null){_.value=y;return}if(!(e&&e.key!==v.value)){S();try{let t=x.write(_.value);(e===void 0||e?.newValue!==t)&&(_.value=ne(e))}catch(e){h(e)}finally{e?i(C):C()}}}}function ie(e){re(e.detail)}return _}function Et(e,t){let n=r(u()),i=De(e),a=D({get(){let e=i.value,r=t?.getIndexOf?t.getIndexOf(n.value,e):e.indexOf(n.value);return r<0&&(r=t?.fallbackIndex??0),r},set(e){o(e)}});function o(e){let t=i.value,r=t.length,a=t[(e%r+r)%r];return n.value=a,a}function s(e=1){return o(a.value+e)}function c(e=1){return s(e)}function l(e=1){return s(-e)}function u(){return T(t?.initialValue??T(e)[0])??void 0}return E(i,()=>o(a.value)),{state:n,index:a,next:c,prev:l,go:o}}function Dt(e,t,n={}){let{window:r=A,...i}=n,a,o=tt(()=>r&&`ResizeObserver`in r),s=()=>{a&&=(a.disconnect(),void 0)},c=E(D(()=>{let t=T(e);return Array.isArray(t)?t.map(e=>j(e)):[j(t)]}),e=>{if(s(),o.value&&r){a=new ResizeObserver(t);for(let t of e)t&&a.observe(t,i)}},{immediate:!0,flush:`post`}),l=()=>{s(),c()};return _e(l),{isSupported:o,stop:l}}function Ot(e,t={}){let{reset:n=!0,windowResize:i=!0,windowScroll:a=!0,immediate:o=!0,updateTiming:s=`sync`}=t,c=r(0),l=r(0),u=r(0),d=r(0),f=r(0),p=r(0),m=r(0),h=r(0);function g(){let t=j(e);if(!t){n&&(c.value=0,l.value=0,u.value=0,d.value=0,f.value=0,p.value=0,m.value=0,h.value=0);return}let r=t.getBoundingClientRect();c.value=r.height,l.value=r.bottom,u.value=r.left,d.value=r.right,f.value=r.top,p.value=r.width,m.value=r.x,h.value=r.y}function _(){s===`sync`?g():s===`next-frame`&&requestAnimationFrame(()=>g())}return Dt(e,_),E(()=>j(e),e=>!e&&_()),nt(e,_,{attributeFilter:[`style`,`class`]}),a&&M(`scroll`,_,{capture:!0,passive:!0}),i&&M(`resize`,_,{passive:!0}),We(()=>{o&&_()}),{height:c,bottom:l,left:u,right:d,top:f,width:p,x:m,y:h,update:_}}function kt(e,t={}){let{delayEnter:n=0,delayLeave:i=0,triggerOnRemoval:a=!1,window:o=A}=t,s=r(!1),c,l=e=>{let t=e?n:i;c&&=(clearTimeout(c),void 0),t?c=setTimeout(()=>s.value=e,t):s.value=e};return o?(M(e,`mouseenter`,()=>l(!0),{passive:!0}),M(e,`mouseleave`,()=>l(!1),{passive:!0}),a&&rt(D(()=>j(e)),()=>l(!1)),s):s}function At(e,t={width:0,height:0},n={}){let{window:i=A,box:a=`content-box`}=n,o=D(()=>{var t;return(t=j(e))==null||(t=t.namespaceURI)==null?void 0:t.includes(`svg`)}),s=r(t.width),c=r(t.height),{stop:l}=Dt(e,([t])=>{let n=a===`border-box`?t.borderBoxSize:a===`content-box`?t.contentBoxSize:t.devicePixelContentBoxSize;if(i&&o.value){let t=j(e);if(t){let e=t.getBoundingClientRect();s.value=e.width,c.value=e.height}}else if(n){let e=Fe(n);s.value=e.reduce((e,{inlineSize:t})=>e+t,0),c.value=e.reduce((e,{blockSize:t})=>e+t,0)}else s.value=t.contentRect.width,c.value=t.contentRect.height},n);We(()=>{let n=j(e);n&&(s.value=`offsetWidth`in n?n.offsetWidth:t.width,c.value=`offsetHeight`in n?n.offsetHeight:t.height)});let u=E(()=>j(e),e=>{s.value=e?t.width:0,c.value=e?t.height:0});function d(){l(),u()}return{width:s,height:c,stop:d}}function jt(e,t,n={}){let{root:i,rootMargin:a,threshold:o=0,window:s=A,immediate:c=!0}=n,l=tt(()=>s&&`IntersectionObserver`in s),u=D(()=>Fe(T(e)).map(j).filter(Se)),d=k,f=r(c),p=l.value?E(()=>[u.value,j(i),T(a),f.value],([e,n,r])=>{if(d(),!f.value||!e.length)return;let i=new IntersectionObserver(t,{root:j(n),rootMargin:r,threshold:o});e.forEach(e=>e&&i.observe(e)),d=()=>{i.disconnect(),d=k}},{immediate:c,flush:`post`}):k,m=()=>{d(),p(),f.value=!1};return _e(m),{isSupported:l,isActive:f,pause(){d(),f.value=!1},resume(){f.value=!0},stop:m}}function Mt(e,t={}){let{window:n=A,scrollTarget:i,threshold:a=0,rootMargin:o,once:s=!1,initialValue:c=!1}=t,l=r(c),u=jt(e,e=>{let t=l.value,n=0;for(let r of e)r.time>=n&&(n=r.time,t=r.isIntersecting);l.value=t,s&&Ze(l,()=>{u.stop()})},{root:i,window:n,threshold:a,rootMargin:o});return t.controls?{...u,isVisible:l}:l}function Nt(e){return typeof Window<`u`&&e instanceof Window?e.document.documentElement:typeof Document<`u`&&e instanceof Document?e.documentElement:e}var Pt=1;function Ft(e,t={}){let{throttle:n=0,idle:i=200,onStop:a=k,onScroll:o=k,offset:s={left:0,right:0,top:0,bottom:0},observe:c={mutation:!1},eventListenerOptions:l={capture:!1,passive:!0},behavior:u=`auto`,window:d=A,onError:f=e=>{console.error(e)}}=t,p=typeof c==`boolean`?{mutation:c}:c,m=r(0),h=r(0),g=D({get(){return m.value},set(e){v(e,void 0)}}),_=D({get(){return h.value},set(e){v(void 0,e)}});function v(t,n){var r,i;if(!d)return;let a=T(e);if(!a)return;(r=a instanceof Document?d.document.body:a)==null||r.scrollTo({top:T(n)??_.value,left:T(t)??g.value,behavior:T(u)});let o=(a==null||(i=a.document)==null?void 0:i.documentElement)||a?.documentElement||a;g!=null&&(m.value=o.scrollLeft),_!=null&&(h.value=o.scrollTop)}let y=r(!1),b=O({left:!0,right:!1,top:!0,bottom:!1}),x=O({left:!1,right:!1,top:!1,bottom:!1}),S=e=>{y.value&&(y.value=!1,x.left=!1,x.right=!1,x.top=!1,x.bottom=!1,a(e))},C=Be(S,n+i),w=e=>{var t;if(!d)return;let n=(e==null||(t=e.document)==null?void 0:t.documentElement)||e?.documentElement||j(e),{display:r,flexDirection:i,direction:a}=d.getComputedStyle(n),o=a===`rtl`?-1:1,c=n.scrollLeft;x.left=c<m.value,x.right=c>m.value;let l=Math.abs(c*o)<=(s.left||0),u=Math.abs(c*o)+n.clientWidth>=n.scrollWidth-(s.right||0)-Pt;r===`flex`&&i===`row-reverse`?(b.left=u,b.right=l):(b.left=l,b.right=u),m.value=c;let f=n.scrollTop;e===d.document&&!f&&(f=d.document.body.scrollTop),x.top=f<h.value,x.bottom=f>h.value;let p=Math.abs(f)<=(s.top||0),g=Math.abs(f)+n.clientHeight>=n.scrollHeight-(s.bottom||0)-Pt;r===`flex`&&i===`column-reverse`?(b.top=g,b.bottom=p):(b.top=p,b.bottom=g),h.value=f},ee=e=>{d&&(w(e.target.documentElement??e.target),y.value=!0,C(e),o(e))};return M(e,`scroll`,n?Ve(ee,n,!0,!1):ee,l),We(()=>{try{let t=T(e);if(!t)return;w(t)}catch(e){f(e)}}),p?.mutation&&e!=null&&e!==d&&e!==document&&nt(e,()=>{let t=T(e);t&&w(t)},{attributes:!0,childList:!0,subtree:!0}),M(e,`scrollend`,S,l),{x:g,y:_,isScrolling:y,arrivedState:b,directions:x,measure(){let t=T(e);d&&t&&w(t)}}}function It(e,t,n={}){let{direction:a=`bottom`,interval:o=100,canLoadMore:s=()=>!0}=n,c=O(Ft(e,{...n,offset:{[a]:n.distance??0,...n.offset}})),l=r(),u=D(()=>!!l.value),d=D(()=>Nt(T(e))),f=Mt(d),p=D(()=>d.value?s(d.value):!1);function m(){if(c.measure(),!d.value||!f.value||!p.value||l.value)return;let{scrollHeight:e,clientHeight:n,scrollWidth:r,clientWidth:s}=d.value,u=a===`bottom`||a===`top`?e<=n:r<=s;(c.arrivedState[a]||u)&&(l.value=Promise.all([t(c),new Promise(e=>setTimeout(e,o))]).finally(()=>{l.value=null,i(()=>m())}))}return Ge(E(()=>[c.arrivedState[a],f.value,p.value],m,{immediate:!0,flush:`post`})),{isLoading:u,reset(){i(()=>m())}}}function Lt(e,t,n={}){let{window:r=A}=n;return Tt(e,t,r?.localStorage,n)}var Rt={ctrl:`control`,command:`meta`,cmd:`meta`,option:`alt`,up:`arrowup`,down:`arrowdown`,left:`arrowleft`,right:`arrowright`};function zt(e={}){let{reactive:t=!1,target:n=A,aliasMap:i=Rt,passive:a=!0,onEventFired:o=k}=e,s=O(new Set),c={toJSON(){return{}},current:s},l=t?O(c):c,u=new Set,d=new Map([[`Meta`,u],[`Shift`,new Set],[`Alt`,new Set]]),f=new Set;function p(e,n){e in l&&(t?l[e]=n:l[e].value=n)}function m(){s.clear();for(let e of f)p(e,!1)}function h(e,t,n){if(!(!e||typeof t.getModifierState!=`function`)){for(let[e,r]of d)if(t.getModifierState(e)){n.forEach(e=>r.add(e));break}}}function g(e,t){if(e)return;let n=`${t[0].toUpperCase()}${t.slice(1)}`,r=d.get(n);if(![`shift`,`alt`].includes(t)||!r)return;let i=Array.from(r),a=i.indexOf(t);i.forEach((e,t)=>{t>=a&&(s.delete(e),p(e,!1))}),r.clear()}function _(e,t){let n=e.key?.toLowerCase(),r=[e.code?.toLowerCase(),n].filter(Boolean);if(n){n&&(t?s.add(n):s.delete(n));for(let e of r)f.add(e),p(e,t);h(t,e,[...s,...r]),g(t,n),n===`meta`&&!t&&(u.forEach(e=>{s.delete(e),p(e,!1)}),u.clear())}}M(n,`keydown`,e=>(_(e,!0),o(e)),{passive:a}),M(n,`keyup`,e=>(_(e,!1),o(e)),{passive:a}),M(`blur`,m,{passive:a}),M(`focus`,m,{passive:a});let v=new Proxy(l,{get(e,n,a){if(typeof n!=`string`)return Reflect.get(e,n,a);if(n=n.toLowerCase(),n in i&&(n=i[n]),!(n in l))if(/[+_-]/.test(n)){let e=n.split(/[+_-]/g).map(e=>e.trim());l[n]=D(()=>e.map(e=>T(v[e])).every(Boolean))}else l[n]=r(!1);let o=Reflect.get(e,n,a);return t?T(o):o}});return v}var Bt={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof MouseEvent?[e.movementX,e.movementY]:null};function Vt(e={}){let{type:t=`page`,touch:n=!0,resetOnTouchEnds:i=!1,initialValue:a={x:0,y:0},window:o=A,target:s=o,scroll:c=!0,eventFilter:l}=e,u=null,d=0,f=0,p=r(a.x),m=r(a.y),h=r(null),g=typeof t==`function`?t:Bt[t],_=e=>{let t=g(e);u=e,t&&([p.value,m.value]=t,h.value=`mouse`),o&&(d=o.scrollX,f=o.scrollY)},v=e=>{if(e.touches.length>0){let t=g(e.touches[0]);t&&([p.value,m.value]=t,h.value=`touch`)}},y=()=>{if(!u||!o)return;let e=g(u);u instanceof MouseEvent&&e&&(p.value=e[0]+o.scrollX-d,m.value=e[1]+o.scrollY-f)},b=()=>{p.value=a.x,m.value=a.y},x=l?e=>l(()=>_(e),{}):e=>_(e),S=l?e=>l(()=>v(e),{}):e=>v(e),C=l?()=>l(()=>y(),{}):()=>y();if(s){let e={passive:!0};M(s,[`mousemove`,`dragover`],x,e),n&&t!==`movement`&&(M(s,[`touchstart`,`touchmove`],S,e),i&&M(s,`touchend`,b,e)),c&&t===`page`&&M(o,`scroll`,C,e)}return{x:p,y:m,sourceType:h}}function Ht(e,t={}){let{windowResize:n=!0,windowScroll:i=!0,handleOutside:a=!0,window:o=A}=t,s=t.type||`page`,{x:c,y:l,sourceType:u}=Vt(t),d=r(e??o?.document.body),f=r(0),p=r(0),m=r(0),h=r(0),g=r(0),_=r(0),v=r(!0);function y(){if(!o)return;let e=j(d);if(!(!e||!(e instanceof Element)))for(let t of e.getClientRects()){let{left:e,top:n,width:r,height:i}=t;m.value=e+(s===`page`?o.pageXOffset:0),h.value=n+(s===`page`?o.pageYOffset:0),g.value=i,_.value=r;let u=c.value-m.value,d=l.value-h.value;if(v.value=r===0||i===0||u<0||d<0||u>r||d>i,(a||!v.value)&&(f.value=u,p.value=d),!v.value)break}}let b=[];function x(){b.forEach(e=>e()),b.length=0}if(We(()=>{y()}),o){let{stop:e}=Dt(d,y),{stop:t}=nt(d,y,{attributeFilter:[`style`,`class`]}),r=E([d,c,l],y);b.push(e,t,r),M(document,`mouseleave`,()=>v.value=!0,{passive:!0}),i&&b.push(M(`scroll`,y,{capture:!0,passive:!0})),n&&b.push(M(`resize`,y,{passive:!0}))}return{x:c,y:l,sourceType:u,elementX:f,elementY:p,elementPositionX:m,elementPositionY:h,elementHeight:g,elementWidth:_,isOutside:v,stop:x}}function Ut(e){let t=window.getComputedStyle(e);if(t.overflowX===`scroll`||t.overflowY===`scroll`||t.overflowX===`auto`&&e.clientWidth<e.scrollWidth||t.overflowY===`auto`&&e.clientHeight<e.scrollHeight)return!0;{let t=e.parentNode;return!t||t.tagName===`BODY`?!1:Ut(t)}}function Wt(e){let t=e||window.event,n=t.target;return Ut(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}var Gt=new WeakMap;function Kt(e,t=!1){let n=r(t),i=null,a=``;E(De(e),e=>{let t=Nt(T(e));if(t){let e=t;if(Gt.get(e)||Gt.set(e,e.style.overflow),e.style.overflow!==`hidden`&&(a=e.style.overflow),e.style.overflow===`hidden`)return n.value=!0;if(n.value)return e.style.overflow=`hidden`}},{immediate:!0});let o=()=>{let t=Nt(T(e));!t||n.value||(Te&&(i=M(t,`touchmove`,e=>{Wt(e)},{passive:!1})),t.style.overflow=`hidden`,n.value=!0)},s=()=>{let t=Nt(T(e));!t||!n.value||(Te&&i?.(),t.style.overflow=a,Gt.delete(t),n.value=!1)};return _e(s),D({get(){return n.value},set(e){e?o():s()}})}function qt(e,n,r,a={}){var o,s;let{clone:c=!1,passive:u=!1,eventName:d,deep:f=!1,defaultValue:p,shouldEmit:m}=a,h=l(),g=r||h?.emit||(h==null||(o=h.$emit)==null?void 0:o.bind(h))||(h==null||(s=h.proxy)==null||(s=s.$emit)==null?void 0:s.bind(h?.proxy)),_=d;n||=`modelValue`,_||=`update:${n.toString()}`;let v=e=>c?typeof c==`function`?c(e):ht(e):e,y=()=>xe(e[n])?v(e[n]):p,b=e=>{m?m(e)&&g(_,e):g(_,e)};if(u){let r=t(y()),a=!1;return E(()=>e[n],e=>{a||(a=!0,r.value=v(e),i(()=>a=!1))}),E(r,t=>{!a&&(t!==e[n]||f)&&b(t)},{deep:f}),r}else return D({get(){return y()},set(e){b(e)}})}function Jt(e){return typeof e==`string`?`'${e}'`:new Yt().serialize(e)}var Yt=function(){class e{#e=new Map;compare(e,t){let n=typeof e,r=typeof t;return n===`string`&&r===`string`?e.localeCompare(t):n===`number`&&r===`number`?e-t:String.prototype.localeCompare.call(this.serialize(e,!0),this.serialize(t,!0))}serialize(e,t){if(e===null)return`null`;switch(typeof e){case`string`:return t?e:`'${e}'`;case`bigint`:return`${e}n`;case`object`:return this.$object(e);case`function`:return this.$function(e)}return String(e)}serializeObject(e){let t=Object.prototype.toString.call(e);if(t!==`[object Object]`)return this.serializeBuiltInType(t.length<10?`unknown:${t}`:t.slice(8,-1),e);let n=e.constructor,r=n===Object||n===void 0?``:n.name;if(r!==``&&globalThis[r]===n)return this.serializeBuiltInType(r,e);if(typeof e.toJSON==`function`){let t=e.toJSON();return r+(typeof t==`object`&&t?this.$object(t):`(${this.serialize(t)})`)}return this.serializeObjectEntries(r,Object.entries(e))}serializeBuiltInType(e,t){let n=this[`$`+e];if(n)return n.call(this,t);if(typeof t?.entries==`function`)return this.serializeObjectEntries(e,t.entries());throw Error(`Cannot serialize ${e}`)}serializeObjectEntries(e,t){let n=Array.from(t).sort((e,t)=>this.compare(e[0],t[0])),r=`${e}{`;for(let e=0;e<n.length;e++){let[t,i]=n[e];r+=`${this.serialize(t,!0)}:${this.serialize(i)}`,e<n.length-1&&(r+=`,`)}return r+`}`}$object(e){let t=this.#e.get(e);return t===void 0&&(this.#e.set(e,`#${this.#e.size}`),t=this.serializeObject(e),this.#e.set(e,t)),t}$function(e){let t=Function.prototype.toString.call(e);return t.slice(-15)===`[native code] }`?`${e.name||``}()[native]`:`${e.name}(${e.length})${t.replace(/\s*\n\s*/g,``)}`}$Array(e){let t=`[`;for(let n=0;n<e.length;n++)t+=this.serialize(e[n]),n<e.length-1&&(t+=`,`);return t+`]`}$Date(e){try{return`Date(${e.toISOString()})`}catch{return`Date(null)`}}$ArrayBuffer(e){return`ArrayBuffer[${new Uint8Array(e).join(`,`)}]`}$Set(e){return`Set${this.$Array(Array.from(e).sort((e,t)=>this.compare(e,t)))}`}$Map(e){return this.serializeObjectEntries(`Map`,e.entries())}}for(let t of[`Error`,`RegExp`,`URL`])e.prototype[`$`+t]=function(e){return`${t}(${e})`};for(let t of[`Int8Array`,`Uint8Array`,`Uint8ClampedArray`,`Int16Array`,`Uint16Array`,`Int32Array`,`Uint32Array`,`Float32Array`,`Float64Array`])e.prototype[`$`+t]=function(e){return`${t}[${e.join(`,`)}]`};for(let t of[`BigInt64Array`,`BigUint64Array`])e.prototype[`$`+t]=function(e){return`${t}[${e.join(`n,`)}${e.length>0?`n`:``}]`};return e}(),Xt=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],Zt=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],Qt=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_`,N=[],$t=class{_data=new en;_hash=new en([...Xt]);_nDataBytes=0;_minBufferSize=0;finalize(e){e&&this._append(e);let t=this._nDataBytes*8,n=this._data.sigBytes*8;return this._data.words[n>>>5]|=128<<24-n%32,this._data.words[(n+64>>>9<<4)+14]=Math.floor(t/4294967296),this._data.words[(n+64>>>9<<4)+15]=t,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}_doProcessBlock(e,t){let n=this._hash.words,r=n[0],i=n[1],a=n[2],o=n[3],s=n[4],c=n[5],l=n[6],u=n[7];for(let n=0;n<64;n++){if(n<16)N[n]=e[t+n]|0;else{let e=N[n-15],t=(e<<25|e>>>7)^(e<<14|e>>>18)^e>>>3,r=N[n-2],i=(r<<15|r>>>17)^(r<<13|r>>>19)^r>>>10;N[n]=t+N[n-7]+i+N[n-16]}let d=s&c^~s&l,f=r&i^r&a^i&a,p=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),m=(s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25),h=u+m+d+Zt[n]+N[n],g=p+f;u=l,l=c,c=s,s=o+h|0,o=a,a=i,i=r,r=h+g|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+a|0,n[3]=n[3]+o|0,n[4]=n[4]+s|0,n[5]=n[5]+c|0,n[6]=n[6]+l|0,n[7]=n[7]+u|0}_append(e){typeof e==`string`&&(e=en.fromUtf8(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes}_process(e){let t,n=this._data.sigBytes/64;n=e?Math.ceil(n):Math.max((n|0)-this._minBufferSize,0);let r=n*16,i=Math.min(r*4,this._data.sigBytes);if(r){for(let e=0;e<r;e+=16)this._doProcessBlock(this._data.words,e);t=this._data.words.splice(0,r),this._data.sigBytes-=i}return new en(t,i)}},en=class e{words;sigBytes;constructor(e,t){e=this.words=e||[],this.sigBytes=t===void 0?e.length*4:t}static fromUtf8(t){let n=unescape(encodeURIComponent(t)),r=n.length,i=[];for(let e=0;e<r;e++)i[e>>>2]|=(n.charCodeAt(e)&255)<<24-e%4*8;return new e(i,r)}toBase64(){let e=[];for(let t=0;t<this.sigBytes;t+=3){let n=this.words[t>>>2]>>>24-t%4*8&255,r=this.words[t+1>>>2]>>>24-(t+1)%4*8&255,i=this.words[t+2>>>2]>>>24-(t+2)%4*8&255,a=n<<16|r<<8|i;for(let n=0;n<4&&t*8+n*6<this.sigBytes*8;n++)e.push(Qt.charAt(a>>>6*(3-n)&63))}return e.join(``)}concat(e){if(this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4),this.sigBytes%4)for(let t=0;t<e.sigBytes;t++){let n=e.words[t>>>2]>>>24-t%4*8&255;this.words[this.sigBytes+t>>>2]|=n<<24-(this.sigBytes+t)%4*8}else for(let t=0;t<e.sigBytes;t+=4)this.words[this.sigBytes+t>>>2]=e.words[t>>>2];this.sigBytes+=e.sigBytes}};function tn(e){return new $t().finalize(e).toBase64()}function nn(e){return tn(Jt(e))}function rn(e){return nn(e)}function P(e,t){let n=`\x1B[${e}m`,r=`\x1B[${t}m`;return((e,...t)=>{if(Array.isArray(e)&&`raw`in e){let i=e,a=``;for(let e=0;e<i.length;e++)a+=i[e],e<t.length&&(a+=String(t[e]));return`${n}${a}${r}`}return`${n}${String(e)}${r}`})}var an={blue:P(34,39),cyan:P(36,39),gray:P(90,39),green:P(32,39),red:P(31,39),yellow:P(33,39),bold:P(1,22),dim:P(2,22),reset:P(0,0),underline:P(4,24)};function on(){let e={};function t(t,...n){let r=e[t]||[];for(let e=0,t=r.length;e<t;e++){let t=r[e];t&&t(...n)}}function n(n,...r){t(n,...r),delete e[n]}function r(t,n){return(e[t]||=[]).push(n),()=>{e[t]=e[t]?.filter(e=>n!==e)}}function i(e,t){let n=r(e,((...e)=>(n(),t(...e))));return n}return{_listeners:e,emit:t,emitOnce:n,on:r,once:i}}var sn=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`;function cn(e=21){let t=``,n=e;for(;n--;)t+=sn[Math.random()*64|0];return t}var ln=Symbol.for(`immer-nothing`),un=Symbol.for(`immer-draftable`),F=Symbol.for(`immer-state`),dn=[function(e){return`The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`},function(e){return`produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${e}'`},`This object has been frozen and should not be mutated`,function(e){return`Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? `+e},`An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.`,`Immer forbids circular references`,"The first or second argument to `produce` must be a function","The third argument to `produce` must be a function or undefined","First argument to `createDraft` must be a plain object, an array, or an immerable object","First argument to `finishDraft` must be a draft returned by `createDraft`",function(e){return`'current' expects a draft, got: ${e}`},`Object.defineProperty() cannot be used on an Immer draft`,`Object.setPrototypeOf() cannot be used on an Immer draft`,`Immer only supports deleting array indices`,`Immer only supports setting array indices and the 'length' property`,function(e){return`'original' expects a draft, got: ${e}`}];function I(e,...t){{let n=dn[e],r=V(n)?n.apply(null,t):n;throw Error(`[Immer] ${r}`)}}var L=Object,fn=L.getPrototypeOf,pn=`constructor`,mn=`prototype`,hn=`configurable`,gn=`enumerable`,_n=`writable`,vn=`value`,R=e=>!!e&&!!e[F];function z(e){return e?xn(e)||Dn(e)||!!e[un]||!!e[pn]?.[un]||On(e)||kn(e):!1}var yn=L[mn][pn].toString(),bn=new WeakMap;function xn(e){if(!e||!An(e))return!1;let t=fn(e);if(t===null||t===L[mn])return!0;let n=L.hasOwnProperty.call(t,pn)&&t[pn];if(n===Object)return!0;if(!V(n))return!1;let r=bn.get(n);return r===void 0&&(r=Function.toString.call(n),bn.set(n,r)),r===yn}function Sn(e,t,n=!0){Cn(e)===0?(n?Reflect.ownKeys(e):L.keys(e)).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function Cn(e){let t=e[F];return t?t.type_:Dn(e)?1:On(e)?2:kn(e)?3:0}var wn=(e,t,n=Cn(e))=>n===2?e.has(t):L[mn].hasOwnProperty.call(e,t),B=(e,t,n=Cn(e))=>n===2?e.get(t):e[t],Tn=(e,t,n,r=Cn(e))=>{r===2?e.set(t,n):r===3?e.add(n):e[t]=n};function En(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}var Dn=Array.isArray,On=e=>e instanceof Map,kn=e=>e instanceof Set,An=e=>typeof e==`object`,V=e=>typeof e==`function`,jn=e=>typeof e==`boolean`;function Mn(e){let t=+e;return Number.isInteger(t)&&String(t)===e}var Nn=e=>An(e)?e?.[F]:null,H=e=>e.copy_||e.base_,Pn=e=>e.modified_?e.copy_:e.base_;function Fn(e,t){if(On(e))return new Map(e);if(kn(e))return new Set(e);if(Dn(e))return Array[mn].slice.call(e);let n=xn(e);if(t===!0||t===`class_only`&&!n){let t=L.getOwnPropertyDescriptors(e);delete t[F];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){let i=n[r],a=t[i];a[_n]===!1&&(a[_n]=!0,a[hn]=!0),(a.get||a.set)&&(t[i]={[hn]:!0,[_n]:!0,[gn]:a[gn],[vn]:e[i]})}return L.create(fn(e),t)}else{let t=fn(e);if(t!==null&&n)return{...e};let r=L.create(t);return L.assign(r,e)}}function In(e,t=!1){return zn(e)||R(e)||!z(e)?e:(Cn(e)>1&&L.defineProperties(e,{set:Rn,add:Rn,clear:Rn,delete:Rn}),L.freeze(e),t&&Sn(e,(e,t)=>{In(t,!0)},!1),e)}function Ln(){I(2)}var Rn={[vn]:Ln};function zn(e){return e===null||!An(e)||L.isFrozen(e)}var Bn=`MapSet`,Vn=`Patches`,Hn=`ArrayMethods`,Un={};function Wn(e){let t=Un[e];return t||I(0,e),t}var Gn=e=>!!Un[e];function Kn(e,t){Un[e]||(Un[e]=t)}var qn,Jn=()=>qn,Yn=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:Gn(Bn)?Wn(Bn):void 0,arrayMethodsPlugin_:Gn(Hn)?Wn(Hn):void 0});function Xn(e,t){t&&(e.patchPlugin_=Wn(Vn),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Zn(e){Qn(e),e.drafts_.forEach(er),e.drafts_=null}function Qn(e){e===qn&&(qn=e.parent_)}var $n=e=>qn=Yn(qn,e);function er(e){let t=e[F];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function tr(e,t){t.unfinalizedDrafts_=t.drafts_.length;let n=t.drafts_[0];if(e!==void 0&&e!==n){n[F].modified_&&(Zn(t),I(4)),z(e)&&(e=nr(t,e));let{patchPlugin_:r}=t;r&&r.generateReplacementPatches_(n[F].base_,e,t)}else e=nr(t,n);return rr(t,e,!0),Zn(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e===ln?void 0:e}function nr(e,t){if(zn(t))return t;let n=t[F];if(!n)return dr(t,e.handledSet_,e);if(!ar(n,e))return t;if(!n.modified_)return n.base_;if(!n.finalized_){let{callbacks_:t}=n;if(t)for(;t.length>0;)t.pop()(e);lr(n,e)}return n.copy_}function rr(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&In(t,n)}function ir(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var ar=(e,t)=>e.scope_===t,or=[];function sr(e,t,n,r){let i=H(e),a=e.type_;if(r!==void 0&&B(i,r,a)===t){Tn(i,r,n,a);return}if(!e.draftLocations_){let t=e.draftLocations_=new Map;Sn(i,(e,n)=>{if(R(n)){let r=t.get(n)||[];r.push(e),t.set(n,r)}})}let o=e.draftLocations_.get(t)??or;for(let e of o)Tn(i,e,n,a)}function cr(e,t,n){e.callbacks_.push(function(r){let i=t;if(!i||!ar(i,r))return;r.mapSetPlugin_?.fixSetContents(i);let a=Pn(i);sr(e,i.draft_??i,a,n),lr(i,r)})}function lr(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:n}=t;if(n){let r=n.getPath(e);r&&n.generatePatches_(e,r,t)}ir(e)}}function ur(e,t,n){let{scope_:r}=e;if(R(n)){let i=n[F];ar(i,r)&&i.callbacks_.push(function(){br(e),sr(e,n,Pn(i),t)})}else z(n)&&e.callbacks_.push(function(){let i=H(e);e.type_===3?i.has(n)&&dr(n,r.handledSet_,r):B(i,t,e.type_)===n&&r.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&dr(B(e.copy_,t,e.type_),r.handledSet_,r)})}function dr(e,t,n){return!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1||R(e)||t.has(e)||!z(e)||zn(e)?e:(t.add(e),Sn(e,(r,i)=>{if(R(i)){let t=i[F];ar(t,n)&&(Tn(e,r,Pn(t),e.type_),ir(t))}else z(i)&&dr(i,t,n)}),e)}function fr(e,t){let n=Dn(e),r={type_:+!!n,scope_:t?t.scope_:Jn(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=r,a=pr;n&&(i=[r],a=mr);let{revoke:o,proxy:s}=Proxy.revocable(i,a);return r.draft_=s,r.revoke_=o,[s,r]}var pr={get(e,t){if(t===F)return e;let n=e.scope_.arrayMethodsPlugin_,r=e.type_===1&&typeof t==`string`;if(r&&n?.isArrayOperationMethod(t))return n.createMethodInterceptor(e,t);let i=H(e);if(!wn(i,t,e.type_))return _r(e,i,t);let a=i[t];if(e.finalized_||!z(a)||r&&e.operationMethod&&n?.isMutatingArrayMethod(e.operationMethod)&&Mn(t))return a;if(a===hr(e.base_,t)||gr(e,t,a)){br(e);let n=e.type_===1?+t:t,r=Sr(e.scope_,a,e,n);return e.copy_[n]=r}return a},has(e,t){return t in H(e)},ownKeys(e){return Reflect.ownKeys(H(e))},set(e,t,n){let r=vr(H(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){let r=hr(H(e),t),i=r?.[F];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_.set(t,!1),!0;if(En(n,r)&&(n!==void 0||wn(e.base_,t,e.type_)))return!0;br(e),yr(e)}return e.copy_[t]===n&&(n!==void 0||wn(e.copy_,t,e.type_))||Number.isNaN(n)&&Number.isNaN(e.copy_[t])?!0:(e.copy_[t]=n,e.assigned_.set(t,!0),ur(e,t,n),!0)},deleteProperty(e,t){return br(e),hr(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),yr(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let n=H(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{[_n]:!0,[hn]:e.type_!==1||t!==`length`,[gn]:r[gn],[vn]:n[t]}},defineProperty(){I(11)},getPrototypeOf(e){return fn(e.base_)},setPrototypeOf(){I(12)}},mr={};for(let e in pr){let t=pr[e];mr[e]=function(){let e=arguments;return e[0]=e[0][0],t.apply(this,e)}}mr.deleteProperty=function(e,t){return isNaN(parseInt(t))&&I(13),mr.set.call(this,e,t,void 0)},mr.set=function(e,t,n){return t!==`length`&&isNaN(parseInt(t))&&I(14),pr.set.call(this,e[0],t,n,e[0])};function hr(e,t){let n=e[F];return(n?H(n):e)[t]}function gr(e,t,n){return e.type_!==1||!e.allIndicesReassigned_||e.assigned_?.get(t)||!z(n)||n[F]?!1:e.baseRefs_.has(n)}function _r(e,t,n){let r=vr(t,n);return r?vn in r?r[vn]:r.get?.call(e.draft_):void 0}function vr(e,t){if(!(t in e))return;let n=fn(e);for(;n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=fn(n)}}function yr(e){e.modified_||(e.modified_=!0,e.parent_&&yr(e.parent_))}function br(e){e.copy_||=(e.assigned_=new Map,Fn(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var xr=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,t,n)=>{if(V(e)&&!V(t)){let n=t;t=e;let r=this;return function(e=n,...i){return r.produce(e,e=>t.call(this,e,...i))}}V(t)||I(6),n!==void 0&&!V(n)&&I(7);let r;if(z(e)){let i=$n(this),a=Sr(i,e,void 0),o=!0;try{r=t(a),o=!1}finally{o?Zn(i):Qn(i)}return Xn(i,n),tr(r,i)}else if(!e||!An(e)){if(r=t(e),r===void 0&&(r=e),r===ln&&(r=void 0),this.autoFreeze_&&In(r,!0),n){let t=[],i=[];Wn(Vn).generateReplacementPatches_(e,r,{patches_:t,inversePatches_:i}),n(t,i)}return r}else I(1,e)},this.produceWithPatches=(e,t)=>{if(V(e))return(t,...n)=>this.produceWithPatches(t,t=>e(t,...n));let n,r;return[this.produce(e,t,(e,t)=>{n=e,r=t}),n,r]},jn(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),jn(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),jn(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){z(e)||I(8),R(e)&&(e=Cr(e));let t=$n(this),n=Sr(t,e,void 0);return n[F].isManual_=!0,Qn(t),n}finishDraft(e,t){let n=e&&e[F];(!n||!n.isManual_)&&I(9);let{scope_:r}=n;return Xn(r,t),tr(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){let r=t[n];if(r.path.length===0&&r.op===`replace`){e=r.value;break}}n>-1&&(t=t.slice(n+1));let r=Wn(Vn).applyPatches_;return R(e)?r(e,t):this.produce(e,e=>r(e,t))}};function Sr(e,t,n,r){let[i,a]=On(t)?Wn(Bn).proxyMap_(t,n):kn(t)?Wn(Bn).proxySet_(t,n):fr(t,n);return(n?.scope_??Jn()).drafts_.push(i),a.callbacks_=n?.callbacks_??[],a.key_=r,n&&r!==void 0?cr(n,a,r):a.callbacks_.push(function(e){e.mapSetPlugin_?.fixSetContents(a);let{patchPlugin_:t}=e;a.modified_&&t&&t.generatePatches_(a,[],e)}),i}function Cr(e){return R(e)||I(10,e),wr(e)}function wr(e){if(!z(e)||zn(e))return e;let t=e[F],n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Fn(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=Fn(e,!0);return Sn(n,(e,t)=>{Tn(n,e,wr(t))},r),t&&(t.finalized_=!1),n}function Tr(){dn.push(`Sets cannot have "replace" patches.`,function(e){return`Unsupported patch operation: `+e},function(e){return`Cannot apply patch, path doesn't resolve: `+e},`Patching reserved attributes like __proto__, prototype and constructor is not allowed`);function e(n,r=[]){if(n.key_!==void 0){let e=n.parent_.copy_??n.parent_.base_,t=Nn(B(e,n.key_)),i=B(e,n.key_);if(i===void 0||i!==n.draft_&&i!==n.base_&&i!==n.copy_||t!=null&&t.base_!==n.base_)return null;let a=n.parent_.type_===3,o;if(a){let e=n.parent_;o=Array.from(e.drafts_.keys()).indexOf(n.key_)}else o=n.key_;if(!(a&&e.size>o||wn(e,o)))return null;r.push(o)}if(n.parent_)return e(n.parent_,r);r.reverse();try{t(n.copy_,r)}catch{return null}return r}function t(e,t){let n=e;for(let e=0;e<t.length-1;e++){let r=t[e];if(n=B(n,r),!An(n)||n===null)throw Error(`Cannot resolve path at '${t.join(`/`)}'`)}return n}let n=`replace`,r=`remove`;function i(e,t,n){if(e.scope_.processedForPatches_.has(e))return;e.scope_.processedForPatches_.add(e);let{patches_:r,inversePatches_:i}=n;switch(e.type_){case 0:case 2:return o(e,t,r,i);case 1:return a(e,t,r,i);case 3:return s(e,t,r,i)}}function a(e,t,i,a){let{base_:o,assigned_:s}=e,c=e.copy_;c.length<o.length&&([o,c]=[c,o],[i,a]=[a,i]);let l=e.allIndicesReassigned_===!0;for(let e=0;e<o.length;e++){let r=c[e],u=o[e];if((l||s?.get(e.toString()))&&r!==u){let o=r?.[F];if(o&&o.modified_)continue;let s=t.concat([e]);i.push({op:n,path:s,value:d(r)}),a.push({op:n,path:s,value:d(u)})}}for(let e=o.length;e<c.length;e++){let n=t.concat([e]);i.push({op:`add`,path:n,value:d(c[e])})}for(let e=c.length-1;o.length<=e;--e){let n=t.concat([e]);a.push({op:r,path:n})}}function o(e,t,i,a){let{base_:o,copy_:s,type_:c}=e;Sn(e.assigned_,(e,l)=>{let u=B(o,e,c),f=B(s,e,c),p=l?wn(o,e)?n:`add`:r;if(u===f&&p===n)return;let m=t.concat(e);i.push(p===r?{op:p,path:m}:{op:p,path:m,value:d(f)}),a.push(p===`add`?{op:r,path:m}:p===r?{op:`add`,path:m,value:d(u)}:{op:n,path:m,value:d(u)})})}function s(e,t,n,i){let{base_:a,copy_:o}=e,s=0;a.forEach(e=>{if(!o.has(e)){let a=t.concat([s]);n.push({op:r,path:a,value:e}),i.unshift({op:`add`,path:a,value:e})}s++}),s=0,o.forEach(e=>{if(!a.has(e)){let a=t.concat([s]);n.push({op:`add`,path:a,value:e}),i.unshift({op:r,path:a,value:e})}s++})}function c(e,t,r){let{patches_:i,inversePatches_:a}=r;i.push({op:n,path:[],value:t===ln?void 0:t}),a.push({op:n,path:[],value:e})}function l(e,t){return t.forEach(t=>{let{path:i,op:a}=t,o=e;for(let e=0;e<i.length-1;e++){let t=Cn(o),n=i[e];typeof n!=`string`&&typeof n!=`number`&&(n=``+n),(t===0||t===1)&&(n===`__proto__`||n===pn)&&I(19),V(o)&&n===mn&&I(19),o=B(o,n),(o===null||!An(o))&&I(18,i.join(`/`))}let s=Cn(o),c=u(t.value),l=i[i.length-1];switch(a){case n:switch(s){case 2:return o.set(l,c);case 3:I(16);default:return o[l]=c}case`add`:switch(s){case 1:return l===`-`?o.push(c):o.splice(l,0,c);case 2:return o.set(l,c);case 3:return o.add(c);default:return o[l]=c}case r:switch(s){case 1:return o.splice(l,1);case 2:return o.delete(l);case 3:return o.delete(t.value);default:return delete o[l]}default:I(17,a)}}),e}function u(e){if(!z(e))return e;if(Dn(e))return e.map(u);if(On(e))return new Map(Array.from(e.entries()).map(([e,t])=>[e,u(t)]));if(kn(e))return new Set(Array.from(e).map(u));let t=Object.create(fn(e));for(let n in e)t[n]=u(e[n]);return wn(e,un)&&(t[un]=e[un]),t}function d(e){return R(e)?u(e):e}Kn(Vn,{applyPatches_:l,generatePatches_:i,generateReplacementPatches_:c,getPath:e})}var Er=new xr,Dr=Er.produce,Or=Er.produceWithPatches.bind(Er),kr=Er.applyPatches.bind(Er),Ar=1e3;function jr(e,t){if(e.add(t),e.size>Ar){let t=e.values().next().value;t!==void 0&&e.delete(t)}}function Mr(e){let{enablePatches:t=!1}=e;t&&Tr();let n=on(),r=e.initialValue,i=new Set;return{on:n.on,value:()=>r,patch:(e,t=cn())=>{i.has(t)||(Tr(),r=kr(r,e),jr(i,t),n.emit(`updated`,r,void 0,t))},mutate:(e,a=cn())=>{if(!i.has(a))if(jr(i,a),t){let[t,i]=Or(r,e);r=t,n.emit(`updated`,r,i,a)}else r=Dr(r,e),n.emit(`updated`,r,void 0,a)},syncIds:i}}var Nr=typeof self==`object`?self:globalThis;function Pr(e,t){let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[a,o]=t[i];switch(a){case 0:case-1:return n(o,i);case 1:{let e=n([],i);for(let t of o)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of o)e[r(t)]=r(n);return e}case 3:return n(new Date(o),i);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of o)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of o)e.add(r(t));return e}case 7:{let{name:e,message:t}=o;return n(new Nr[e](t),i)}case 8:return n(BigInt(o),i);case`BigInt`:return n(Object(BigInt(o)),i);case`ArrayBuffer`:return n(new Uint8Array(o).buffer,o);case`DataView`:{let{buffer:e}=new Uint8Array(o);return n(new DataView(e),o)}}return n(new Nr[a](o),i)};return r}function Fr(e){return Pr(new Map,e)(0)}var Ir=``,{toString:Lr}={},{keys:Rr}=Object;function zr(e){let t=typeof e;if(t!==`object`||!e)return[0,t];let n=Lr.call(e).slice(8,-1);switch(n){case`Array`:return[1,Ir];case`Object`:return[2,Ir];case`Date`:return[3,Ir];case`RegExp`:return[4,Ir];case`Map`:return[5,Ir];case`Set`:return[6,Ir];case`DataView`:return[1,n]}return n.includes(`Array`)?[1,n]:n.includes(`Error`)?[7,n]:[2,n]}function Br([e,t]){return e===0&&(t===`function`||t===`symbol`)}function Vr(e,t,n,r){let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},a=r=>{if(n.has(r))return n.get(r);let[o,s]=zr(r);switch(o){case 0:{let t=r;switch(s){case`bigint`:o=8,t=r.toString();break;case`function`:case`symbol`:if(e)throw TypeError(`unable to serialize ${s}`);t=null;break;case`undefined`:return i([-1],r)}return i([o,t],r)}case 1:{if(s){let e=r;return s===`DataView`?e=new Uint8Array(r.buffer):s===`ArrayBuffer`&&(e=new Uint8Array(r)),i([s,[...e]],r)}let e=[],t=i([o,e],r);for(let t of r)e.push(a(t));return t}case 2:{if(s)switch(s){case`BigInt`:return i([s,r.toString()],r);case`Boolean`:case`Number`:case`String`:return i([s,r.valueOf()],r)}if(t&&`toJSON`in r)return a(r.toJSON());let n=[],c=i([o,n],r);for(let t of Rr(r))(e||!Br(zr(r[t])))&&n.push([a(t),a(r[t])]);return c}case 3:return i([o,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return i([o,{source:e,flags:t}],r)}case 5:{let t=[],n=i([o,t],r);for(let[n,i]of r)(e||!(Br(zr(n))||Br(zr(i))))&&t.push([a(n),a(i)]);return n}case 6:{let t=[],n=i([o,t],r);for(let n of r)(e||!Br(zr(n)))&&t.push(a(n));return n}}let{message:c}=r;return i([o,{name:s,message:c}],r)};return a}function Hr(e,t={}){let n=[];return Vr(!(t.json||t.lossy),!!t.json,new Map,n)(e),n}var{parse:Ur,stringify:Wr}=JSON,Gr={json:!0,lossy:!0};function Kr(e){return Fr(Ur(e))}function qr(e){return Wr(Hr(e,Gr))}function Jr(e){return Fr(e)}function Yr(e){return qr(e)}function Xr(e){return Kr(e)}var Zr=256,Qr=class extends Error{name=`StreamClosedError`};function $r(e={}){let t=e.id??cn(),n=Math.max(0,e.replayWindow??0),r=on(),i=new AbortController,a=[],o=!1,s=0;function c(e){if(o)throw new Qr(`Cannot write to a closed stream "${t}"`);s+=1,n>0&&(a.push({seq:s,chunk:e}),a.length>n&&a.splice(0,a.length-n)),r.emit(`chunk`,s,e)}function l(e){if(o)return;o=!0;let t=ti(e);i.abort(e),r.emit(`end`,t)}function u(){o||(o=!0,i.signal.aborted||i.abort(`stream closed`),r.emit(`end`,void 0))}function d(e){o||i.signal.aborted||i.abort(e??`aborted`)}let f=new WritableStream({write(e){c(e)},close(){u()},abort(e){l(e)}});return{id:t,signal:i.signal,get closed(){return o},get lastSeq(){return s},write:c,error:l,close:u,abort:d,writable:f,events:r,buffer:a}}function ei(e={}){let t=e.id??cn(),n=Math.max(1,e.highWaterMark??Zr),r=[],i=0,a=!1,o=!1,s,c,l,u;function d(){if(c){if(r.length>0){let e=r.shift(),t=c;c=void 0,t.resolve({value:e,done:!1});return}if(a){let e=c;if(c=void 0,s){let t=Error(s.message);t.name=s.name,e.reject(t)}else e.resolve({value:void 0,done:!0})}}}function f(){if(l){for(;r.length>0;){let e=r.shift();try{l.enqueue(e)}catch{break}}if(a&&l){try{if(s){let e=Error(s.message);e.name=s.name,l.error(e)}else l.close()}catch{}l=void 0}}}function p(t,s){if(!(a||o)&&!(t<=i)){if(i=t,r.push(s),r.length>n){let t=r.length-n;r.splice(0,t),e.onOverflow?.(t)}d(),u&&f()}}function m(e){a||(a=!0,s=e,d(),u&&f())}function h(){o||a||(o=!0,e.onCancel?.(),m(void 0))}function g(){return u||(u=new ReadableStream({start(e){l=e,f()},cancel(){h()}}),u)}return{id:t,get cancelled(){return o},get done(){return a},get lastSeenSeq(){return i},get readable(){return g()},cancel:h,_push:p,_end:m,[Symbol.asyncIterator](){return{next(){if(r.length>0)return Promise.resolve({value:r.shift(),done:!1});if(a){if(s){let e=Error(s.message);return e.name=s.name,Promise.reject(e)}return Promise.resolve({value:void 0,done:!0})}return new Promise((e,t)=>{c={resolve:e,reject:t}})},return(){return h(),Promise.resolve({value:void 0,done:!0})}}}}}function ti(e){if(e instanceof Error)return{name:e.name||`Error`,message:e.message};if(typeof e==`string`)return{name:`Error`,message:e};try{return{name:`Error`,message:JSON.stringify(e)}}catch{return{name:`Error`,message:String(e)}}}function ni(){let e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}function ri(e){return e.includes(`:`)}function ii(e,t){return ri(t)?t:`${e}:${t}`}var ai=`q`,oi=`s`;function si(){let e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var ci=Math.random.bind(Math),li=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`;function ui(e=21){let t=``,n=e;for(;n--;)t+=li[ci()*64|0];return t}var di=6e4,fi=e=>e,pi=fi,{clearTimeout:mi,setTimeout:hi}=globalThis;function gi(e,t){let{post:n,on:r,off:i=()=>{},eventNames:a=[],serialize:o=fi,deserialize:s=pi,resolver:c,bind:l=`rpc`,timeout:u=di,proxify:d=!0}=t,f=!1,p=new Map,m,h;async function g(e,r,i,a){if(f)throw Error(`[birpc] rpc is closed, cannot call "${e}"`);let s={m:e,a:r,t:ai};a&&(s.o=!0);let c=async e=>n(o(e));if(i){await c(s);return}if(m)try{await m}finally{m=void 0}let{promise:l,resolve:d,reject:g}=si(),_=ui();s.i=_;let v;async function y(n=s){return u>=0&&(v=hi(()=>{try{if(t.onTimeoutError?.call(h,e,r)!==!0)throw Error(`[birpc] timeout on calling "${e}"`)}catch(e){g(e)}p.delete(_)},u),typeof v==`object`&&(v=v.unref?.())),p.set(_,{resolve:d,reject:g,timeoutId:v,method:e}),await c(n),l}try{t.onRequest?await t.onRequest.call(h,s,y,d):await y()}catch(e){if(t.onGeneralError?.call(h,e)!==!0)throw e;return}finally{mi(v),p.delete(_)}return l}let _={$call:(e,...t)=>g(e,t,!1),$callOptional:(e,...t)=>g(e,t,!1,!0),$callEvent:(e,...t)=>g(e,t,!0),$callRaw:e=>g(e.method,e.args,e.event,e.optional),$rejectPendingCalls:y,get $closed(){return f},get $meta(){return t.meta},$close:v,$functions:e};h=d?new Proxy({},{get(t,n){if(Object.prototype.hasOwnProperty.call(_,n))return _[n];if(n===`then`&&!a.includes(`then`)&&!(`then`in e))return;let r=(...e)=>g(n,e,!0);if(a.includes(n))return r.asEvent=r,r;let i=(...e)=>g(n,e,!1);return i.asEvent=r,i}}):_;function v(e){f=!0,p.forEach(({reject:t,method:n})=>{let r=Error(`[birpc] rpc is closed, cannot call "${n}"`);if(e)return e.cause??=r,t(e);t(r)}),p.clear(),i(b)}function y(e){let t=Array.from(p.values()).map(({method:t,reject:n})=>e?e({method:t,reject:n}):n(Error(`[birpc]: rejected pending call "${t}".`)));return p.clear(),t}async function b(r,...i){let a;try{a=s(r)}catch(e){if(t.onGeneralError?.call(h,e)!==!0)throw e;return}if(a.t===ai){let{m:r,a:s,o:u}=a,d,f,p=await(c?c.call(h,r,e[r]):e[r]);if(u&&(p||=()=>void 0),!p)f=Error(`[birpc] function "${r}" not found`);else try{d=await p.apply(l===`rpc`?h:e,s)}catch(e){f=e}if(a.i){if(f&&t.onFunctionError&&t.onFunctionError.call(h,f,r,s)===!0)return;if(!f)try{await n(o({t:oi,i:a.i,r:d}),...i);return}catch(e){if(f=e,t.onGeneralError?.call(h,e,r,s)!==!0)throw e}try{await n(o({t:oi,i:a.i,e:f}),...i)}catch(e){if(t.onGeneralError?.call(h,e,r,s)!==!0)throw e}}}else{let{i:e,r:t,e:n}=a,r=p.get(e);r&&(mi(r.timeoutId),n?r.reject(n):r.resolve(t)),p.delete(e)}}return m=r(b),h}var _i=`__connection.json`,vi=`__rpc-dump/index.json`,yi=`devframe_otp`,bi=`devframe_auth_token`,xi=ce(an);function Si(e,{method:t=`warn`}={}){console[t](xi(e))}var Ci=re({docsBase:`https://devfra.me/errors`,reporters:[Si],codes:{DF0019:{why:e=>`RPC function "${e.name}" has \`agent\` set but \`jsonSerializable\` is not \`true\` — MCP requires JSON-serializable data.`,fix:"Set `jsonSerializable: true` if the payload is JSON-safe, or remove `agent` to keep it RPC-only."},DF0020:{why:e=>`RPC function "${e.name}" declares \`jsonSerializable: true\` but the value at "${e.path}" is a ${e.type}.`,fix:"Either drop `jsonSerializable: true` (falls back to structured-clone) or change the value to a JSON-safe shape."},DF0021:{why:e=>`RPC function "${e.name}" is already registered`,fix:"Use the `force` parameter to overwrite an existing registration."},DF0022:{why:e=>`RPC function "${e.name}" is not registered. Use register() to add new functions.`},DF0023:{why:e=>`RPC function "${e.name}" is not registered`},DF0024:{why:e=>`Either handler or setup function must be provided for RPC function "${e.name}"`},DF0025:{why:e=>`Function "${e.name}" not found in dump store`},DF0026:{why:e=>`No dump match for "${e.name}" with args: ${e.args}`},DF0027:{why:e=>`Function "${e.name}" with type "${e.type}" cannot have dump configuration. Only "static" and "query" types support dumps.`},DF0028:{why:e=>`Function "${e.name}" with type "${e.type}" cannot use \`snapshot: true\`. Only "query" functions support this sugar; "static" functions have equivalent default behavior already.`,fix:"Remove `snapshot: true`, or change the function type to `query`."}}});function wi(e){let t=e.cause instanceof Error?e.cause:Ti(e.cause)?wi(e.cause):e.cause,n=t===void 0?Error(e.message):Error(e.message,{cause:t});n.name=e.name;for(let t of Object.keys(e))t!==`name`&&t!==`message`&&t!==`cause`&&(n[t]=e[t]);return n}function Ti(e){return typeof e==`object`&&!!e&&typeof e.message==`string`&&typeof e.name==`string`}async function Ei(e,t){if(!e.setup)return{};if(typeof t==`object`&&t){e.__cache??=new WeakMap;let n=e.__cache,r=n.get(t);return r||(r=Promise.resolve(e.setup(t)),r.catch(()=>{n.get(t)===r&&n.delete(t)}),n.set(t,r)),await r}if(!e.__promise){let n=Promise.resolve(e.setup(t));n.catch(()=>{e.__promise===n&&(e.__promise=void 0)}),e.__promise=n}return await e.__promise}async function Di(e,t){if(e.handler)return e.handler;let n=await Ei(e,t);if(!n.handler)throw Ci.DF0024({name:e.name});return n.handler}var Oi=class{cacheMap=new Map;options;keySerializer;constructor(e){this.options=e,this.keySerializer=e.keySerializer||(e=>rn(e))}updateOptions(e){this.options={...this.options,...e}}cached(e,t){let n=this.cacheMap.get(e);if(n)return n.get(this.keySerializer(t))}has(e,t){return this.cacheMap.get(e)?.has(this.keySerializer(t))??!1}apply(e,t){let n=this.cacheMap.get(e.m)||new Map;n.set(this.keySerializer(e.a),t),this.cacheMap.set(e.m,n)}validate(e){return this.options.functions.includes(e)}clear(e){e?this.cacheMap.delete(e):this.cacheMap.clear()}},ki=class{context;definitions=new Map;functions;_onChanged=[];constructor(e){this.context=e;let t=this.definitions,n=this;this.functions=new Proxy({},{get(e,r){let i=t.get(r);if(i)return Di(i,n.context)},has(e,n){return t.has(n)},getOwnPropertyDescriptor(e,n){return{value:t.get(n)?.handler,configurable:!0,enumerable:!0}},ownKeys(){return Array.from(t.keys())}})}register(e,t=!1){if(this.definitions.has(e.name)&&!t)throw Ci.DF0021({name:e.name});Ai(e),this.definitions.set(e.name,e),this._onChanged.forEach(t=>t(e.name))}update(e,t=!1){if(!this.definitions.has(e.name)&&!t)throw Ci.DF0022({name:e.name});Ai(e),this.definitions.set(e.name,e),this._onChanged.forEach(t=>t(e.name))}onChanged(e){return this._onChanged.push(e),()=>{let t=this._onChanged.indexOf(e);t!==-1&&this._onChanged.splice(t,1)}}async getHandler(e){return await Di(this.definitions.get(e),this.context)}getSchema(e){let t=this.definitions.get(e);if(!t)throw Ci.DF0023({name:String(e)});return{args:t.args,returns:t.returns}}has(e){return this.definitions.has(e)}get(e){return this.definitions.get(e)}list(){return Array.from(this.definitions.keys())}};function Ai(e){if(e.agent&&e.jsonSerializable!==!0)throw Ci.DF0019({name:e.name})}function ji(e,t=``){return JSON.stringify(e,function(e,n){let r=this,i=r==null?n:r[e];if(i===void 0){if(Array.isArray(r))throw Mi(t,`undefined`,r,e);return n}if(i===null)return n;if(typeof i==`bigint`)throw Mi(t,`BigInt`,r,e);if(typeof i==`object`){if(i instanceof Map)throw Mi(t,`Map`,r,e);if(i instanceof Set)throw Mi(t,`Set`,r,e);if(i instanceof Date)throw Mi(t,`Date`,r,e);if(Array.isArray(i))return n;let a=Object.getPrototypeOf(i);if(a!==null&&a!==Object.prototype)throw Mi(t,i.constructor?.name??`class instance`,r,e)}return n})}function Mi(e,t,n,r){let i=Ni(n,r);return Ci.DF0020({name:e||`<anonymous>`,type:t,path:i})}function Ni(e,t){return Array.isArray(e)?`[${t}]`:t===``?`<root>`:t}function Pi(e=yi){try{return new URLSearchParams(globalThis.location?.search).get(e)||void 0}catch{return}}function Fi(e){try{let t=new URL(globalThis.location.href);if(!t.searchParams.has(e))return;t.searchParams.delete(e),globalThis.history?.replaceState(globalThis.history.state,``,t.href)}catch{}}function Ii(e=yi){let t=Pi(e);return t&&Fi(e),t}async function Li(e,t={}){let n=Ii(t.param??`devframe_otp`);return n?e.isTrusted?!0:e.requestTrustWithCode(n):!1}function Ri(e){let t=new Map,n=new Map,r=new Map,i=new Set,a=e.connectionMeta.backend===`static`;function o(e,t){let n=r.get(e);return n&&typeof n==`object`&&!Array.isArray(n)&&typeof t==`object`&&!Array.isArray(t)?{...n,...t}:t}e.client.register({name:`devframe:rpc:client-state:updated`,type:`event`,handler:(e,n,r)=>{let i=t.get(e);!i||i.syncIds.has(r)||i.mutate(()=>o(e,n),r)}}),e.client.register({name:`devframe:rpc:client-state:patch`,type:`event`,handler:(e,n,r)=>{let i=t.get(e);!i||i.syncIds.has(r)||i.patch(n,r)}});function s(t,n){let r=[];return r.push(n.on(`updated`,(n,r,i)=>{a||(r?e.callEvent(`devframe:rpc:server-state:patch`,t,r,i):e.callEvent(`devframe:rpc:server-state:set`,t,n,i))})),()=>{for(let e of r)e()}}return{keys:()=>Array.from(t.keys()),onKeyAdded(e){return i.add(e),()=>{i.delete(e)}},delete(e){let i=n.get(e);n.delete(e);let a=t.delete(e);return r.delete(e),i?.(),a},get:async(c,l)=>{if(l?.initialValue!==void 0&&r.set(c,l.initialValue),t.has(c))return t.get(c);let u=Mr({initialValue:l?.initialValue,enablePatches:!1});async function d(){if(a||e.callEvent(`devframe:rpc:server-state:subscribe`,c),l?.initialValue!==void 0){t.set(c,u);for(let e of i)e(c);return e.call(`devframe:rpc:server-state:get`,c).then(e=>{e!==void 0&&u.mutate(()=>o(c,e))}).catch(e=>{console.error(`Error getting server state`,e)}),n.set(c,s(c,u)),u}else{let r=await e.call(`devframe:rpc:server-state:get`,c);u.mutate(()=>o(c,r)),t.set(c,u);for(let e of i)e(c);return n.set(c,s(c,u)),u}}return new Promise(t=>{if(e.isTrusted)d().then(t);else{t(u);let n=!1;e.events.on(`rpc:is-trusted:updated`,e=>{e&&!n&&(n=!0,d())})}})}}}function zi(e){return typeof e==`object`&&!!e&&e.type===`static`&&typeof e.path==`string`}function Bi(e){return typeof e==`object`&&!!e&&e.type===`query`&&typeof e.records==`object`&&e.records!==null}function Vi(e){return typeof e==`object`&&!!e&&(`output`in e||`error`in e)}function Hi(e){if(e.error)throw wi(e.error);return e.output}function Ui(e){return e.some(e=>e!=null)}function Wi(e){return typeof e==`object`&&e&&`serialization`in e&&`data`in e?e.data:e}function Gi(e,t){let n=new Map,r=new Map;function i(e,t){return t===`structured-clone`&&Array.isArray(e)?Jr(e):e}function a(e,t){return i(Wi(e),t)}async function o(e){n.has(e.path)||n.set(e.path,t(e.path).then(t=>a(t,e.serialization)));let r=await n.get(e.path);return Vi(r)?Hi(r):r}async function s(e,n){return r.has(e)||r.set(e,t(e).then(e=>a(e,n))),await r.get(e)}async function c(t,n){if(!(t in e))throw Error(`[devframe-rpc] Function "${t}" not found in dump store`);let r=e[t];if(zi(r)){if(Ui(n))throw Error(`[devframe-rpc] No dump match for "${t}" with args: ${JSON.stringify(n)}`);return await o(r)}if(Bi(r)){let e=rn(n),i=r.records[e];if(i)return Hi(await s(i,r.serialization));if(r.fallback)return Hi(await s(r.fallback,r.serialization));throw Error(`[devframe-rpc] No dump match for "${t}" with args: ${JSON.stringify(n)}`)}if(!Ui(n))return r;throw Error(`[devframe-rpc] No dump match for "${t}" with args: ${JSON.stringify(n)}`)}return{call:async(e,t)=>await c(e,t),callOptional:async(t,n)=>{if(t in e)return await c(t,n)},callEvent:async(e,t)=>{}}}async function Ki(e){let t=Gi(await e.fetchJsonFromBases(vi),e.fetchJsonFromBases);return{isTrusted:!0,status:`connected`,connectionError:null,requestTrust:async()=>!0,requestTrustWithToken:async()=>!0,requestTrustWithCode:async()=>null,ensureTrusted:async()=>!0,call:(...e)=>t.call(e[0],e.slice(1)),callEvent:(...e)=>t.callEvent(e[0],e.slice(1)),callOptional:(...e)=>t.callOptional(e[0],e.slice(1))}}var qi=``;function Ji(e,t){return`${e}${qi}${t}`}function Yi(e){let t=new Map,n=new Map;e.client.register({name:`devframe:streaming:chunk`,type:`event`,handler(e,n,r,i){t.get(Ji(e,n))?._push(r,i)}}),e.client.register({name:`devframe:streaming:end`,type:`event`,handler(e,n,r){let i=Ji(e,n),a=t.get(i);a&&(a._end(r),t.delete(i))}}),e.client.register({name:`devframe:streaming:upload-cancel`,type:`event`,handler(e,t){let r=Ji(e,t),i=n.get(r);i&&(i.abort(`server cancelled upload`),n.delete(r))}}),e.events.on(`rpc:is-trusted:updated`,n=>{if(n)for(let[n,r]of t){if(r.cancelled||r.done)continue;let t=n.indexOf(qi);if(t<0)continue;let i=n.slice(0,t),a=n.slice(t+1);e.callEvent(`devframe:streaming:subscribe`,i,a,{afterSeq:r.lastSeenSeq})}});function r(n,r,i={}){let a=Ji(n,r),o=t.get(a);if(o)return o;let s=ei({id:r,highWaterMark:i.highWaterMark,onOverflow(e){console.warn(`[devframe] DF0029: Stream "${n}#${r}" dropped ${e} chunk(s) after exceeding the client high-water mark.`)},onCancel(){e.callEvent(`devframe:streaming:cancel`,n,r),t.delete(a)}});if(t.set(a,s),e.isTrusted)e.callEvent(`devframe:streaming:subscribe`,n,r,{afterSeq:0});else{let i=e.events.on(`rpc:is-trusted:updated`,o=>{o&&(i(),t.has(a)&&!s.cancelled&&!s.done&&e.callEvent(`devframe:streaming:subscribe`,n,r,{afterSeq:s.lastSeenSeq}))})}return s}function i(t,r){let i=Ji(t,r),a=n.get(i);if(a)return a;let o=$r({id:r});return o.events.on(`chunk`,(n,i)=>{e.callEvent(`devframe:streaming:upload-chunk`,t,r,n,i)}),o.events.on(`end`,a=>{e.callEvent(`devframe:streaming:upload-end`,t,r,a),n.delete(i)}),n.set(i,o),o}return{subscribe:r,upload:i}}function Xi(e,t){let{channel:n,rpcOptions:r={}}=t;return gi(e,{...n,timeout:-1,...r,proxify:!1})}function Zi(){}var Qi=new Map;function $i(e){let t=e.url;e.authToken&&(t=`${t}?${bi}=${encodeURIComponent(e.authToken)}`);let n=new WebSocket(t),{onConnected:r=Zi,onError:i=Zi,onDisconnected:a=Zi,definitions:o=Qi}=e;n.addEventListener(`open`,e=>{r(e)}),n.addEventListener(`error`,e=>{let t=e instanceof Error?e:Error(e.type);i(t)}),n.addEventListener(`close`,e=>{a(e)});let s=new Map;return{on:e=>{n.addEventListener(`message`,t=>{e(t.data)})},post:e=>{if(n.readyState===WebSocket.OPEN){n.send(e);return}if(n.readyState===WebSocket.CONNECTING){let t=()=>{i(),n.readyState===WebSocket.OPEN&&n.send(e)},r=()=>i();function i(){n.removeEventListener(`open`,t),n.removeEventListener(`close`,r)}n.addEventListener(`open`,t),n.addEventListener(`close`,r);return}i(Error(`Devframe WebSocket is not open; message dropped`))},serialize:e=>{let t;return e.t===`q`?t=e.m:(t=s.get(e.i),s.delete(e.i)),!(e.t===`s`&&`e`in e)&&t&&o.get(t)?.jsonSerializable===!0?ji(e,t??``):`s:${Yr(e)}`},deserialize:e=>{let t=e.startsWith(`s:`)?Xr(e.slice(2)):JSON.parse(e);return t.t===`q`&&t.i&&t.m&&s.set(t.i,t.m),t}}}var ea=``,ta=`?`,na=`major`,U=`model`,W=`name`,G=`type`,K=`vendor`,q=`version`,J=`architecture`,ra=`console`,Y=`mobile`,X=`tablet`,Z=`smarttv`,ia=`wearable`,aa=`embedded`,oa=500,sa=`Amazon`,ca=`Apple`,la=`ASUS`,ua=`BlackBerry`,Q=`Browser`,da=`Chrome`,fa=`Edge`,pa=`Firefox`,ma=`Google`,ha=`Huawei`,ga=`LG`,_a=`Microsoft`,va=`Motorola`,ya=`Opera`,ba=`Samsung`,xa=`Sharp`,Sa=`Sony`,Ca=`Xiaomi`,wa=`Zebra`,Ta=`Facebook`,Ea=`Chromium OS`,Da=`Mac OS`;function Oa(e,t={}){let n={};for(let r of Object.keys(e)){let i=t[r];i&&i.length%2==0?n[r]=[...i,...e[r]]:n[r]=e[r]}return n}function ka(e){let t={};for(let n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t}function Aa(e){return e.toLowerCase()}function ja(e,t){return typeof e==`string`&&Aa(t).includes(Aa(e))}function Ma(e){return typeof e==`string`?e.replace(/[^\d.]/g,ea).split(`.`)[0]:void 0}function Na(e,t){let n=e.replace(/^\s+/,ea);return t===void 0?n:n.substring(0,t)}function Pa(e,t,n){let r=n??{};for(let n=0;n<t.length;n+=2){let i=t[n],a=t[n+1];for(let t=0;t<i.length;t++){let n=i[t];if(!n)break;let o=n.exec(e);if(o){for(let e=0;e<a.length;e++){let t=o[e+1],n=a[e];if(Array.isArray(n)){let e=n[0],i=n.length;if(i===2){let i=n[1];typeof i==`function`?r[e]=i(t,void 0,r):r[e]=i}else if(i===3){let i=n[1],a=n[2];typeof i==`function`&&!(`exec`in i)&&!(`test`in i)?r[e]=t?i(t,a,r):void 0:r[e]=t?t.replace(i,a):void 0}else i===4&&(r[e]=t?n[3](t.replace(n[1],n[2]),void 0,r):void 0)}else r[n]=t||void 0}return r}}}return r}function Fa(e,t){for(let n in t){let r=t[n];if(Array.isArray(r)&&r.length>0){for(let t=0;t<r.length;t++)if(ja(r[t],e))return n===ta?void 0:n}else if(ja(r,e))return n===ta?void 0:n}return e}var Ia={"1.0":`/8`,"1.2":`/1`,"1.3":`/3`,"2.0":`/412`,"2.0.2":`/416`,"2.0.3":`/417`,"2.0.4":`/419`,"?":`/`},La={ME:`4.90`,"NT 3.11":`NT3.51`,"NT 4.0":`NT4.0`,2e3:`NT 5.0`,XP:[`NT 5.1`,`NT 5.2`],Vista:`NT 6.0`,7:`NT 6.1`,8:`NT 6.2`,"8.1":`NT 6.3`,10:[`NT 6.4`,`NT 10.0`],RT:`ARM`},Ra={browser:[[/\b(?:crmo|crios)\/([\w.]+)/i],[q,[W,`Chrome`]],[/edg(?:e|ios|a)?\/([\w.]+)/i],[q,[W,`Edge`]],[/(opera mini)\/([-\w.]+)/i,/(opera [mobileta]{3,6})\b.+version\/([-\w.]+)/i,/(opera)(?:.+version\/|[/ ]+)([\w.]+)/i],[W,q],[/opios[/ ]+([\w.]+)/i],[q,[W,`${ya} Mini`]],[/\bop(?:rg)?x\/([\w.]+)/i],[q,[W,`${ya} GX`]],[/\bopr\/([\w.]+)/i],[q,[W,ya]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[/ ]?([\w.]+)/i],[q,[W,`Baidu`]],[/(kindle)\/([\w.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[/ ]?([\w.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[/ ]?([\w.]*)/i,/(?:ms|\()(ie) ([\w.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w.]+)/i,/(heytap|ovi)browser\/([\d.]+)/i,/(weibo)__([\d.]+)/i],[W,q],[/\bddg\/([\w.]+)/i],[q,[W,`DuckDuckGo`]],[/(?:\buc? ?browser|juc.+ucweb)[/ ]?([\w.]+)/i],[q,[W,`UC${Q}`]],[/microm.+\bqbcore\/([\w.]+)/i,/\bqbcore\/([\w.]+).+microm/i,/micromessenger\/([\w.]+)/i],[q,[W,`WeChat`]],[/konqueror\/([\w.]+)/i],[q,[W,`Konqueror`]],[/trident.+rv[: ]([\w.]{1,9})\b.+like gecko/i],[q,[W,`IE`]],[/ya(?:search)?browser\/([\w.]+)/i],[q,[W,`Yandex`]],[/slbrowser\/([\w.]+)/i],[q,[W,`Smart Lenovo ${Q}`]],[/(avast|avg)\/([\w.]+)/i],[[W,/(.+)/,`$1 Secure ${Q}`],q],[/\bfocus\/([\w.]+)/i],[q,[W,`${pa} Focus`]],[/\bopt\/([\w.]+)/i],[q,[W,`${ya} Touch`]],[/coc_coc\w+\/([\w.]+)/i],[q,[W,`Coc Coc`]],[/dolfin\/([\w.]+)/i],[q,[W,`Dolphin`]],[/coast\/([\w.]+)/i],[q,[W,`${ya} Coast`]],[/miuibrowser\/([\w.]+)/i],[q,[W,`MIUI ${Q}`]],[/fxios\/([-\w.]+)/i],[q,[W,pa]],[/\bqihu|(qi?ho{0,2}|360)browser/i],[[W,`360 ${Q}`]],[/(oculus|sailfish|huawei|vivo)browser\/([\w.]+)/i],[[W,/(.+)/,`$1 ${Q}`],q],[/samsungbrowser\/([\w.]+)/i],[q,[W,`${ba} Internet`]],[/(comodo_dragon)\/([\w.]+)/i],[[W,/_/g,` `],q],[/metasr[/ ]?([\d.]+)/i],[q,[W,`Sogou Explorer`]],[/(sogou)mo\w+\/([\d.]+)/i],[[W,`Sogou Mobile`],q],[/(electron)\/([\w.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w.]+))/i,/m?(qqbrowser|2345Explorer)[/ ]?([\w.]+)/i],[W,q],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[W],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w.]+);)/i],[[W,Ta],q],[/(Klarna)\/([\w.]+)/i,/(kakao(?:talk|story))[/ ]([\w.]+)/i,/(naver)\(.*?(\d+\.[\w.]+).*\)/i,/safari (line)\/([\w.]+)/i,/\b(line)\/([\w.]+)\/iab/i,/(alipay)client\/([\w.]+)/i,/(twitter)(?:and| f.+e\/([\w.]+))/i,/(chromium|instagram|snapchat)[/ ]([-\w.]+)/i],[W,q],[/\bgsa\/([\w.]+) .*safari\//i],[q,[W,`GSA`]],[/musical_ly(?:.+app_?version\/|_)([\w.]+)/i],[q,[W,`TikTok`]],[/headlesschrome(?:\/([\w.]+)| )/i],[q,[W,`${da} Headless`]],[/ wv\).+(chrome)\/([\w.]+)/i],[[W,`${da} WebView`],q],[/droid.+ version\/([\w.]+)\b.+(?:mobile safari|safari)/i],[q,[W,`Android ${Q}`]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w.]+)/i],[W,q],[/version\/([\w.,]+) .*mobile\/\w+ (safari)/i],[q,[W,`Mobile Safari`]],[/version\/([\w(.|,)]+) .*(mobile ?safari|safari)/i],[q,W],[/webkit.+?(mobile ?safari|safari)(\/[\w.]+)/i],[W,[q,Fa,Ia]],[/(webkit|khtml)\/([\w.]+)/i],[W,q],[/(navigator|netscape\d?)\/([-\w.]+)/i],[[W,`Netscape`],q],[/mobile vr; rv:([\w.]+)\).+firefox/i],[q,[W,`${pa} Reality`]],[/ekiohf.+(flow)\/([\w.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[/ ]?([\w.+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w.]+)$/i,/(firefox)\/([\w.]+)/i,/(mozilla)\/([\w.]+) .+rv:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[. ]?browser)[-/ ]?v?([\w.]+)/i,/(links) \(([\w.]+)/i,/panasonic;(viera)/i],[W,q],[/(cobalt)\/([\w.]+)/i],[W,[q,/master.|lts./,``]]],cpu:[[/(amd|x(?:(?:86|64)[-_])?|wow|win)64[;)]/i],[[J,`amd64`]],[/(ia32(?=;))/i],[[J,Aa]],[/((?:i[346]|x)86)[;)]/i],[[J,`ia32`]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[J,`arm64`]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[J,`armhf`]],[/windows (ce|mobile); ppc;/i],[[J,`arm`]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[J,/ower/,ea,Aa]],[/(sun4\w)[;)]/i],[[J,`sparc`]],[/(avr32|ia64(?=;)|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[J,Aa]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[U,[K,ba],[G,X]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?\d+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[U,[K,ba],[G,Y]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[U,[K,ca],[G,Y]],[/\((ipad);[-\w),; ]+apple/i,/applecoremedia\/[\w.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[U,[K,ca],[G,X]],[/(macintosh);/i],[U,[K,ca]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[U,[K,xa],[G,Y]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[U,[K,ha],[G,X]],[/(?:huawei|honor)([-\w ]+)[;)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][0-359c][adn]?)\b(?!.+d\/s)/i],[U,[K,ha],[G,Y]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?[\w ]+)(?: bui|\))/i,/oid[^)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?\d?\w?[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[U,/_/g,` `],[K,Ca],[G,Y]],[/oid[^)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?pad[\w ]+)(?: bui|\))/i],[[U,/_/g,` `],[K,Ca],[G,X]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[U,[K,`OPPO`],[G,Y]],[/\b(opd2\d{3}a?) bui/i],[U,[K,`OPPO`],[G,X]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[U,[K,`Vivo`],[G,Y]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[U,[K,`Realme`],[G,Y]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w() ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[U,[K,va],[G,Y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[U,[K,va],[G,X]],[/((?=lg)?[vl]k-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[U,[K,ga],[G,X]],[/(lm(?:-?f100[nv]?|-[\w.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?(\w+) bui/i],[U,[K,ga],[G,Y]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab[\w ]+|yt[-\w]{6}|tb[-\w]{6})/i],[U,[K,`Lenovo`],[G,X]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w.]*)/i],[[U,/_/g,` `],[K,`Nokia`],[G,Y]],[/(pixel c)\b/i],[U,[K,ma],[G,X]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[U,[K,ma],[G,Y]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]?\d\.))/i],[U,[K,Sa],[G,Y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[U,`Xperia Tablet`],[K,Sa],[G,X]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[U,[K,`OnePlus`],[G,Y]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[U,[K,sa],[G,X]],[/((?:sd|kf)[0349hijor-uw]+)( bui|\)).+silk\//i],[[U,/(.+)/g,`Fire Phone $1`],[K,sa],[G,Y]],[/(playbook);[-\w),; ]+(rim)/i],[U,K,[G,X]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[U,[K,ua],[G,Y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[U,[K,la],[G,X]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[U,[K,la],[G,Y]],[/(nexus 9)/i],[U,[K,`HTC`],[G,X]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!;|\.)|sony(?!-bra))[-_ ]?([-\w]*)/i],[K,[U,/_/g,` `],[G,Y]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[U,[K,`Acer`],[G,X]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[U,[K,`Meizu`],[G,Y]],[/; ((?:power )?armor[\w ]{0,8})(?: bui|\))/i],[U,[K,`Ulefone`],[G,Y]],[/(blackberry|benq|palm(?=-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[K,U,[G,Y]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[K,U,[G,X]],[/(surface duo)/i],[U,[K,_a],[G,X]],[/droid [\d.]+; (fp\du?)(?: b|\))/i],[U,[K,`Fairphone`],[G,Y]],[/(u304aa)/i],[U,[K,`AT&T`],[G,Y]],[/\bsie-(\w*)/i],[U,[K,`Siemens`],[G,Y]],[/\b(rct\w+) b/i],[U,[K,`RCA`],[G,X]],[/\b(venue[\d ]{2,7}) b/i],[U,[K,`Dell`],[G,X]],[/\b(q(?:mv|ta)\w+) b/i],[U,[K,`Verizon`],[G,X]],[/\b(?:barnes[& ]+noble |bn[rt])([\w+ ]*) b/i],[U,[K,`Barnes & Noble`],[G,X]],[/\b(tm\d{3}\w+) b/i],[U,[K,`NuVision`],[G,X]],[/\b(k88) b/i],[U,[K,`ZTE`],[G,X]],[/\b(nx\d{3}j) b/i],[U,[K,`ZTE`],[G,Y]],[/\b(gen\d{3}) b.+49h/i],[U,[K,`Swiss`],[G,Y]],[/\b(zur\d{3}) b/i],[U,[K,`Swiss`],[G,X]],[/\b((zeki)?tb.*\b) b/i],[U,[K,`Zeki`],[G,X]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[K,`Dragon Touch`],U,[G,X]],[/\b(ns-?\w{0,9}) b/i],[U,[K,`Insignia`],[G,X]],[/\b((nxa|next)-?\w{0,9}) b/i],[U,[K,`NextBook`],[G,X]],[/\b(xtreme_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[K,`Voice`],U,[G,Y]],[/\b(lvtel-)?(v1[12]) b/i],[[K,`LvTel`],U,[G,Y]],[/\b(ph-1) /i],[U,[K,`Essential`],[G,Y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[U,[K,`Envizen`],[G,X]],[/\b(trio[-\w. ]+) b/i],[U,[K,`MachSpeed`],[G,X]],[/\btu_(1491) b/i],[U,[K,`Rotor`],[G,X]],[/(shield[\w ]+) b/i],[U,[K,`Nvidia`],[G,X]],[/(sprint) (\w+)/i],[K,U,[G,Y]],[/(kin\.[onetw]{3})/i],[[U,/\./g,` `],[K,_a],[G,Y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[U,[K,wa],[G,X]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[U,[K,wa],[G,Y]],[/smart-tv.+(samsung)/i],[K,[G,Z]],[/hbbtv.+maple;(\d+)/i],[[U,/^/,`SmartTV`],[K,ba],[G,Z]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[K,ga],[G,Z]],[/(apple) ?tv/i],[K,[U,`${ca} TV`],[G,Z]],[/crkey/i],[[U,`${da}cast`],[K,ma],[G,Z]],[/droid.+aft(\w+)( bui|\))/i],[U,[K,sa],[G,Z]],[/\(dtv[);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[U,[K,xa],[G,Z]],[/(bravia[\w ]+)( bui|\))/i],[U,[K,Sa],[G,Z]],[/(mitv-\w{5}) bui/i],[U,[K,Ca],[G,Z]],[/Hbbtv.*(technisat) (.*);/i],[K,U,[G,Z]],[/\b(roku)[\dx]*[)/]((?:dvp-)?[\d.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w+ ]*; *(\w[^;]*);([^;]*)/i],[[K,Na],[U,Na],[G,Z]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[G,Z]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[K,U,[G,ra]],[/droid.+; (shield) bui/i],[U,[K,`Nvidia`],[G,ra]],[/(playstation [345portablevi]+)/i],[U,[K,Sa],[G,ra]],[/\b(xbox(?: one)?(?!; xbox))[); ]/i],[U,[K,_a],[G,ra]],[/((pebble))app/i],[K,U,[G,ia]],[/(watch)(?: ?os[,/]|\d,\d\/)[\d.]+/i],[U,[K,ca],[G,ia]],[/droid.+; (glass) \d/i],[U,[K,ma],[G,ia]],[/droid.+; (wt63?0{2,3})\)/i],[U,[K,wa],[G,ia]],[/(quest( \d| pro)?)/i],[U,[K,Ta],[G,ia]],[/(tesla)(?: qtcarbrowser|\/[-\w.]+)/i],[K,[G,aa]],[/(aeobc)\b/i],[U,[K,sa],[G,aa]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[U,[G,Y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[U,[G,X]],[/\b((tablet|tab)[;/]|focus\/\d(?!.+mobile))/i],[[G,X]],[/(phone|mobile(?:[;/]| [ \w/.]*safari)|pda(?=.+windows ce))/i],[[G,Y]],[/(android[-\w. ]{0,9});.+buil/i],[U,[K,`Generic`]]],engine:[[/windows.+ edge\/([\w.]+)/i],[q,[W,`${fa}HTML`]],[/webkit\/537\.36.+chrome\/(?!27)([\w.]+)/i],[q,[W,`Blink`]],[/(presto)\/([\w.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w.]+)/i,/ekioh(flow)\/([\w.]+)/i,/(khtml|tasman|links)[/ ]\(?([\w.]+)/i,/(icab)[/ ]([23]\.[\d.]+)/i,/\b(libweb)/i],[W,q],[/rv:([\w.]{1,9})\b.+(gecko)/i],[q,W]],os:[[/microsoft (windows) (vista|xp)/i],[W,q],[/(windows (?:phone(?: os)?|mobile))[/ ]?([.\w ]*)/i],[W,[q,Fa,La]],[/windows nt 6\.2; (arm)/i,/windows[/ ]?([ntce\d. ]+\w)(?!.+xbox)/i,/(?:win(?=[39n])|win 9x )([nt\d.]+)/i],[[q,Fa,La],[W,`Windows`]],[/ip[honead]{2,4}\b(?:.*os (\w+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[/ ])([\d.]+)/i,/cfnetwork\/.+darwin/i],[[q,/_/g,`.`],[W,`iOS`]],[/(mac os x) ?([\w. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[W,Da],[q,/_/g,`.`]],[/droid ([\w.]+)\b.+(android[- ]x86|harmonyos)/i],[q,W],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-/ ]?([\w.]*)/i,/(blackberry)\w*\/([\w.]*)/i,/(tizen|kaios)[/ ]([\w.]+)/i,/\((series40);/i],[W,q],[/\(bb(10);/i],[q,[W,ua]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-/ ]?([\w.]*)/i],[q,[W,`Symbian`]],[/mozilla\/[\d.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w.]+)/i],[q,[W,`${pa} OS`]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w.]+)/i],[q,[W,`webOS`]],[/watch(?: ?os[,/]|\d,\d\/)([\d.]+)/i],[q,[W,`watchOS`]],[/crkey\/([\d.]+)/i],[q,[W,`${da}cast`]],[/(cros) \w+(?:\)| ([\w.]+)\b)/i],[[W,Ea],q],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w.]*)/i,/(mint)[/() ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-/ ]?(?!chrom|package)([-\w.]*)/i,/(hurd|linux) ?([\w.]*)/i,/(gnu) ?([\w.]*)/i,/\b([-e-hrntopcs]{0,5}bsd|dragonfly)[/ ]?(?!amd|[ix346]{1,2}86)([\w.]*)/i,/(haiku) (\w+)/i],[W,q],[/(sunos) ?([\w.]*)/i],[[W,`Solaris`],q],[/((?:open)?solaris)[-/ ]?([\w.]*)/i,/(aix) ((\d)(?=[.) ])[\w.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w.]*)/i],[W,q]]};function za(e){return typeof e==`object`&&!!e}Object.freeze(ka([W,q,na])),Object.freeze(ka([J])),Object.freeze(ka([U,K,G,ra,Y,Z,X,ia,aa])),Object.freeze(ka([W,q])),Object.freeze(ka([W,q]));function Ba(){if(!(typeof window>`u`||!window.navigator))return window.navigator}function Va(e){return e.length>oa?Na(e,oa):e}function Ha(e){if(typeof e==`string`)return{ua:Va(e),isSelfNavigator:!1,navigator:void 0,userAgentData:void 0,regexMap:Ra};let t=Ba(),n=Va(t&&t.userAgent?t.userAgent:ea);return{ua:n,isSelfNavigator:!!(t&&t.userAgent===n),navigator:t,userAgentData:t?.userAgentData,regexMap:Ra}}function Ua(e,t){if(!t&&!za(e))return Ha(e);let n=Ba(),r=za(e)?void 0:e,i=za(e)?e:t,a=Va(r||(n&&n.userAgent?n.userAgent:ea)),o=n?.userAgentData;return{ua:a,isSelfNavigator:!!(n&&n.userAgent===a),navigator:n,userAgentData:o,regexMap:i?Oa(Ra,i):Ra}}function Wa(e){let t={name:void 0,version:void 0,major:void 0};return Pa(e.ua,e.regexMap.browser,t),t.major=Ma(t.version),e.isSelfNavigator&&e.navigator?.brave&&typeof e.navigator.brave.isBrave==`function`&&(t.name=`Brave`),t}function Ga(e){let t={architecture:void 0};return Pa(e.ua,e.regexMap.cpu,t),t}function Ka(e){let t={vendor:void 0,model:void 0,type:void 0};return Pa(e.ua,e.regexMap.device,t),e.isSelfNavigator&&!t.type&&e.userAgentData?.mobile&&(t.type=Y),e.isSelfNavigator&&t.model===`Macintosh`&&e.navigator&&e.navigator.standalone!==void 0&&e.navigator.maxTouchPoints&&e.navigator.maxTouchPoints>2&&(t.model=`iPad`,t.type=X),t}function qa(e){let t={name:void 0,version:void 0};return Pa(e.ua,e.regexMap.engine,t),t}function Ja(e){let t={name:void 0,version:void 0};return Pa(e.ua,e.regexMap.os,t),e.isSelfNavigator&&!t.name&&e.userAgentData?.platform&&e.userAgentData.platform!==`Unknown`&&(t.name=e.userAgentData.platform.replace(/chrome os/i,Ea).replace(/macos/i,Da)),t}function Ya(e,t){let n,r,i,a,o,s,c=()=>n||=Ua(e,t);return{get ua(){return c().ua},get browser(){return r||=Wa(c()),r},get engine(){return i||=qa(c()),i},get os(){return a||=Ja(c()),a},get device(){return o||=Ka(c()),o},get cpu(){return s||=Ga(c()),s}}}var Xa=class extends Error{name=`DevframeConnectionError`;kind;constructor(e,t,n){super(t,n),this.kind=e}};function Za(e,t,n){let r=n.protocol===`https:`?`wss:`:`ws:`,i=(()=>{try{return new URL(t,n.href)}catch{return new URL(n.href)}})();if(e&&typeof e==`object`){if(e.host!=null||e.port!=null){let t=e.host??`${n.hostname}:${e.port}`,i=new URL(e.path??`/`,`${r}//${t}`);return i.protocol=r,i.href}let t=new URL(e.path??``,i);return t.protocol=r,t.href}if(typeof e==`number`)return`${r}//${n.hostname}:${e}`;let a=e??``;if(/^wss?:\/\//i.test(a))return a;if(/^https?:\/\//i.test(a))return oe(a,/^https/i.test(a)?`wss://`:`ws://`);let o=new URL(a,i);return o.protocol=r,o.href}function Qa(e){let{authToken:t,connectionMeta:n,metaBaseUrl:r,events:i,clientRpc:a,rpcOptions:o={},wsOptions:s={},callTimeout:c=0}=e,l=!1,u=`connecting`,d=null,f=ni(),p=Za(n.websocket,r??`./`,location);function m(e,t=null){if(t?d=t:e===`connected`&&(d=null),e===u)return;let n=u;u=e,i.emit(`connection:status`,e,n)}let h=new Set;function g(e){for(let t of[...h])t.reject(e)}function _(){return u===`disconnected`||u===`error`?new Xa(`connection`,`[devframe] Not connected to the devframe server`,{cause:d??void 0}):u===`unauthorized`?new Xa(`auth`,`[devframe] Not authorized by the devframe server`,{cause:d??void 0}):null}function v(e,t){return new Promise((n,r)=>{let a=!1,o,s={reject(e){a||(l(),i.emit(`rpc:error`,e,t),r(e))}};function l(){a=!0,h.delete(s),o&&clearTimeout(o)}h.add(s),c>0&&(o=setTimeout(()=>{s.reject(new Xa(`timeout`,`[devframe] RPC call "${t}" timed out after ${c}ms`))},c)),e.then(e=>{a||(l(),n(e))},e=>{if(a)return;l();let n=e instanceof Error?e:Error(String(e));i.emit(`rpc:error`,n,t),r(n)})})}let y=new Map;for(let e of n.jsonSerializableMethods??[])y.set(e,{jsonSerializable:!0});let b=Xi(a.functions,{channel:$i({url:p,authToken:t,definitions:y,...s,onConnected(e){s.onConnected?.(e)},onError(e){m(`error`,e),i.emit(`connection:error`,e),g(new Xa(`connection`,`[devframe] Connection to the devframe server failed`,{cause:e})),s.onError?.(e)},onDisconnected(e){u!==`error`&&m(`disconnected`),g(new Xa(`connection`,`[devframe] Disconnected from the devframe server`,{cause:d??void 0})),s.onDisconnected?.(e)}}),rpcOptions:o});a.register({name:`devframe:auth:revoked`,type:`event`,handler:()=>{l=!1;let e=new Xa(`auth`,`[devframe] The devframe server revoked this client's trust`);m(`unauthorized`,e),i.emit(`connection:error`,e),g(e),i.emit(`rpc:is-trusted:updated`,!1)}});let x=t;function S(){let e=Ya(navigator.userAgent);return[e.browser.name,e.browser.version,`|`,e.os.name,e.os.version,e.device.type].filter(e=>e).join(` `)}async function C(e){x=e;let t=await b.$call(`anonymous:devframe:auth`,{authToken:e,ua:S(),origin:location.origin});if(l=t.isTrusted,l)f.resolve(!0),m(`connected`);else{let e=new Xa(`auth`,`[devframe] The devframe server refused this client's credentials`);m(`unauthorized`,e),i.emit(`connection:error`,e)}return i.emit(`rpc:is-trusted:updated`,l),t.isTrusted}async function w(e){let t=(await b.$call(`anonymous:devframe:auth:exchange`,{code:e,ua:S(),origin:location.origin}))?.authToken??null;return t&&(x=t,l=!0,f.resolve(!0),m(`connected`),i.emit(`rpc:is-trusted:updated`,!0)),t}async function ee(){return l?!0:C(x??``)}async function T(e=6e4){if(l&&f.resolve(!0),e<=0)return f.promise;let t=()=>{};return await Promise.race([f.promise.then(t),new Promise((n,r)=>{let i=setTimeout(()=>{r(Error(`[devframe] Timeout waiting for rpc to be trusted`))},e);t=()=>clearTimeout(i)})]),l}return{get isTrusted(){return l},get status(){return u},get connectionError(){return d},requestTrust:ee,requestTrustWithToken:C,requestTrustWithCode:w,ensureTrusted:T,call:(...e)=>{let t=String(e[0]),n=_();return n?(i.emit(`rpc:error`,n,t),Promise.reject(n)):v(b.$call(...e),t)},callEvent:(...e)=>{let t=_();if(t){i.emit(`rpc:error`,t,String(e[0]));return}return b.$callEvent(...e)},callOptional:(...e)=>{let t=String(e[0]),n=_();return n?(i.emit(`rpc:error`,n,t),Promise.reject(n)):v(b.$callOptional(...e),t)}}}function $a(e,t,n){let r=`devframe:settings:${n}:${t}`,i;function a(){return i||=e.sharedState.get(r,{initialValue:{}}),i}return{async get(e){return(await a()).value()[e]},async set(e,t){(await a()).mutate(n=>{n[e]=t})},async delete(e){(await a()).mutate(t=>{delete t[e]})},async all(){return(await a()).value()},async onChange(e){return(await a()).on(`updated`,t=>e(t))}}}function eo(e,t){return{global:$a(e,t,`global`),project:$a(e,t,`project`)}}function to(e,t){return{namespace:t,base:e,rpc:{namespace:t,register(n){if(ri(n.name))throw Error(`[devframe] Scoped client RPC registration for namespace "${t}" received an already-namespaced function name "${n.name}". Pass a bare name without a ":" separator.`);e.client.register({...n,name:`${t}:${n.name}`})},call:((n,...r)=>e.call(ii(t,n),...r)),callEvent:((n,...r)=>e.callEvent(ii(t,n),...r)),callOptional:((n,...r)=>e.callOptional(ii(t,n),...r)),sharedState:((n,r)=>e.sharedState.get(ii(t,n),r)),streaming:{subscribe:(n,r,i)=>e.streaming.subscribe(ii(t,n),r,i),upload:(n,r)=>e.streaming.upload(ii(t,n),r)}},settings:eo(e,t),scope:e.scope}}var no=`__DEVFRAME_CONNECTION_META__`,ro=`__DEVFRAME_CONNECTION_AUTH_TOKEN__`;function io(e){let t=[()=>e,()=>localStorage.getItem(ro)??void 0,()=>window?.[ro],()=>globalThis?.[ro],()=>parent.window?.[ro]];for(let e of t)try{let t=e();if(t)return t}catch{}}function ao(e){try{localStorage.setItem(ro,e)}catch{}globalThis[ro]=e}function oo(){let e=[()=>window?.[no],()=>globalThis?.[no],()=>parent.window?.[no]];for(let t of e)try{let e=t();if(e)return e}catch{}}async function so(e={}){let{baseURL:t=`./`,rpcOptions:n={},cacheOptions:r=!1}=e,i=on(),a=Array.isArray(t)?t:[t],o=e.connectionMeta||oo(),s=a[0]??`./`,c=e.connectionMeta?void 0:o?.baseUrl;function l(){if(c)return c;let e=se(_i,s);try{return new URL(e,globalThis.location?.href).href}catch{return e}}if(!o){let e=[];for(let t of a)try{o=await fetch(se(_i,t)).then(e=>e.json()),s=t,globalThis[no]={...o,baseUrl:l()};break}catch(t){e.push(t)}if(!o)throw Error(`Failed to get connection meta from ${a.join(`, `)}`,{cause:e})}let u=new Oi({functions:[],...typeof e.cacheOptions==`object`?e.cacheOptions:{}}),d={rpc:void 0},f=io(e.authToken||o.authToken);f&&ao(f);let p=new ki(d);async function m(e){let t=[s,...a.filter(e=>e!==s)].filter(e=>e!=null),n=[];for(let r of t)try{return await fetch(se(e,r)).then(t=>{if(!t.ok)throw Error(`Failed to fetch ${e} from ${r}: ${t.status}`);return t.json()})}catch(e){n.push(e)}throw Error(`Failed to load ${e} from ${t.join(`, `)}`,{cause:n})}let h=o.backend===`static`?await Ki({fetchJsonFromBases:m}):Qa({authToken:f,connectionMeta:o,metaBaseUrl:l(),events:i,clientRpc:p,callTimeout:e.callTimeout,rpcOptions:{...n,async onRequest(e,t,i){if(await n.onRequest?.call(this,e,t,i),r&&u?.validate(e.m)){if(u.has(e.m,e.a))return i(u.cached(e.m,e.a));let n=await t(e);u.apply(e,n)}else await t(e)}},wsOptions:e.wsOptions}),g;try{g=new BroadcastChannel(`devframe-auth`)}catch{}let _,v=!1;function y(e){return((...t)=>v||!_?e(...t):_.then(()=>e(...t)))}let b={events:i,get isTrusted(){return h.isTrusted},get status(){return h.status},get connectionError(){return h.connectionError},connectionMeta:o,ensureTrusted:h.ensureTrusted,requestTrust:h.requestTrust,requestTrustWithToken:async e=>(ao(e),h.requestTrustWithToken(e)),requestTrustWithCode:async e=>{let t=await h.requestTrustWithCode(e);if(!t)return!1;ao(t);try{g?.postMessage({type:`auth-update`,authToken:t})}catch{}return!0},call:y(h.call),callEvent:y(h.callEvent),callOptional:y(h.callOptional),client:p,sharedState:void 0,streaming:void 0,cacheManager:u,scope:void 0};b.sharedState=Ri(b),b.streaming=Yi(b);let x=new Map;b.scope=(e=>{if(!e)return b;let t=x.get(e);return t||(t=to(b,e),x.set(e,t)),t}),d.rpc=b;function S(){try{return typeof window<`u`&&window.self===window.top}catch{return!1}}async function C(){if(!(e.simpleAuth===!1||!S())&&typeof globalThis.prompt==`function`)for(;!b.isTrusted;){let e=globalThis.prompt(`devframe: enter the authentication code shown in your terminal`);if(e==null)return;let t=e.trim();if(t&&await b.requestTrustWithCode(t))return}}async function w(){let t=await h.requestTrust(),n=e.otpParam??`devframe_otp`,r=n?await Li(b,{param:n}):!1;t||r||b.isTrusted||await C()}return _=w().then(()=>{v=!0},()=>{v=!0}),g&&(g.onmessage=e=>{e.data?.type===`auth-update`&&e.data.authToken&&b.requestTrustWithToken(e.data.authToken)}),b}function co(e={}){return so({...e,simpleAuth:!1})}var lo=`/__devtools/`;`${lo}`;var $=O({connected:!1,error:null}),uo=r(void 0),fo=on(),po;function mo(e={}){fo.emit(`updated`,e)}async function ho(e){po?.(),po=(await e.sharedState.get(`vite:inspect:module-updated`,{initialValue:{ids:null,updatedAt:0}})).on(`updated`,t=>{e.cacheManager.clear(),mo({ids:t.ids??void 0})})}async function go(){let e=_();try{uo.value=await co({baseURL:[lo,e.app.baseURL],cacheOptions:!0,connectionMeta:e.app.connection,wsOptions:{onConnected:()=>{$.connected=!0},onError:e=>{$.error=e},onDisconnected:()=>{$.connected=!1}},rpcOptions:{onGeneralError:(e,t)=>{$.error=e,console.error(`[vite-devtools] RPC error on executing "${t}":`)},onFunctionError:(e,t)=>{$.error=e,console.error(`[vite-devtools] RPC error on executing "${t}":`)}}}),await ho(uo.value);let t=await uo.value.call(`devtoolskit:internal:rpc:server:list`);uo.value.cacheManager.updateOptions({functions:Object.keys(t).filter(e=>t[e]?.cacheable)}),$.connected=!0}catch(e){$.error=e}}function _o(){return uo}function vo(e){let t=fo.on(`updated`,e);return x()&&v(t),t}export{ge as A,xt as C,Tt as D,Kt as E,me as F,ue as I,Be as M,Je as N,qt as O,Ye as P,Ht as S,Ft as T,It as _,$e as a,zt as b,at as c,Et as d,Ot as f,M as g,Mt as h,_o as i,ze as j,he as k,ut as l,At as m,vo as n,ot as o,kt as p,$ as r,st as s,go as t,dt as u,jt as v,Dt as w,Vt as x,Lt as y};
|