20 lines
146 KiB
JavaScript
20 lines
146 KiB
JavaScript
function e(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}var t={},n=[],r=()=>{},i=()=>!1,a=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),o=e=>e.startsWith(`onUpdate:`),s=Object.assign,c=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},l=Object.prototype.hasOwnProperty,u=(e,t)=>l.call(e,t),d=Array.isArray,f=e=>x(e)===`[object Map]`,p=e=>x(e)===`[object Set]`,m=e=>x(e)===`[object Date]`,h=e=>typeof e==`function`,g=e=>typeof e==`string`,_=e=>typeof e==`symbol`,v=e=>typeof e==`object`&&!!e,y=e=>(v(e)||h(e))&&h(e.then)&&h(e.catch),b=Object.prototype.toString,x=e=>b.call(e),S=e=>x(e).slice(8,-1),C=e=>x(e)===`[object Object]`,w=e=>g(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,T=e(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),ee=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},te=/-\w/g,E=ee(e=>e.replace(te,e=>e.slice(1).toUpperCase())),ne=/\B([A-Z])/g,D=ee(e=>e.replace(ne,`-$1`).toLowerCase()),re=ee(e=>e.charAt(0).toUpperCase()+e.slice(1)),ie=ee(e=>e?`on${re(e)}`:``),O=(e,t)=>!Object.is(e,t),ae=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},k=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},oe=e=>{let t=parseFloat(e);return isNaN(t)?e:t},se=e=>{let t=g(e)?Number(e):NaN;return isNaN(t)?e:t},ce,le=()=>ce||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{};function ue(e){if(d(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=g(r)?me(r):ue(r);if(i)for(let e in i)t[e]=i[e]}return t}else if(g(e)||v(e))return e}var de=/;(?![^(]*\))/g,fe=/:([^]+)/,pe=/\/\*[^]*?\*\//g;function me(e){let t={};return e.replace(pe,``).split(de).forEach(e=>{if(e){let n=e.split(fe);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function he(e){let t=``;if(g(e))t=e;else if(d(e))for(let n=0;n<e.length;n++){let r=he(e[n]);r&&(t+=r+` `)}else if(v(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}var ge=`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`,_e=e(ge);ge+``;function ve(e){return!!e||e===``}function ye(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=be(e[r],t[r]);return n}function be(e,t){if(e===t)return!0;let n=m(e),r=m(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=_(e),r=_(t),n||r)return e===t;if(n=d(e),r=d(t),n||r)return n&&r?ye(e,t):!1;if(n=v(e),r=v(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||!be(e[n],t[n]))return!1}}return String(e)===String(t)}var xe=e=>!!(e&&e.__v_isRef===!0),Se=e=>g(e)?e:e==null?``:d(e)||v(e)&&(e.toString===b||!h(e.toString))?xe(e)?Se(e.value):JSON.stringify(e,Ce,2):String(e),Ce=(e,t)=>xe(t)?Ce(e,t.value):f(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[we(t,r)+` =>`]=n,e),{})}:p(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>we(e))}:_(t)?we(t):v(t)&&!d(t)&&!C(t)?String(t):t,we=(e,t=``)=>_(e)?`Symbol(${e.description??t})`:e,A,Te=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&&A&&(A.active?(this.parent=A,this.index=(A.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)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[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)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){let t=A;try{return A=this,e()}finally{A=t}}}on(){++this._on===1&&(this.prevScope=A,A=this)}off(){if(this._on>0&&--this._on===0){if(A===this)A=this.prevScope;else{let e=A;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){for(t=0,n=this.scopes.length;t<n;t++)this.scopes[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 Ee(e){return new Te(e)}function De(){return A}function Oe(e,t=!1){A&&A.cleanups.push(e)}var j,ke=new WeakSet,Ae=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,A&&(A.active?A.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ke.has(this)&&(ke.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Pe(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,qe(this),Le(this);let e=j,t=Ue;j=this,Ue=!0;try{return this.fn()}finally{Re(this),j=e,Ue=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)Ve(e);this.deps=this.depsTail=void 0,qe(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ke.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ze(this)&&this.run()}get dirty(){return ze(this)}},je=0,Me,Ne;function Pe(e,t=!1){if(e.flags|=8,t){e.next=Ne,Ne=e;return}e.next=Me,Me=e}function Fe(){je++}function Ie(){if(--je>0)return;if(Ne){let e=Ne;for(Ne=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;Me;){let t=Me;for(Me=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 Le(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Re(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;r.version===-1?(r===n&&(n=e),Ve(r),He(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function ze(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Be(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Be(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Je)||(e.globalVersion=Je,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ze(e))))return;e.flags|=2;let t=e.dep,n=j,r=Ue;j=e,Ue=!0;try{Le(e);let n=e.fn(e._value);(t.version===0||O(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{j=n,Ue=r,Re(e),e.flags&=-3}}function Ve(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)Ve(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function He(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}var Ue=!0,We=[];function Ge(){We.push(Ue),Ue=!1}function Ke(){let e=We.pop();Ue=e===void 0?!0:e}function qe(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=j;j=void 0;try{t()}finally{j=e}}}var Je=0,Ye=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}},Xe=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(!j||!Ue||j===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==j)t=this.activeLink=new Ye(j,this),j.deps?(t.prevDep=j.depsTail,j.depsTail.nextDep=t,j.depsTail=t):j.deps=j.depsTail=t,Ze(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=j.depsTail,t.nextDep=void 0,j.depsTail.nextDep=t,j.depsTail=t,j.deps===t&&(j.deps=e)}return t}trigger(e){this.version++,Je++,this.notify(e)}notify(e){Fe();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Ie()}}};function Ze(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)Ze(e)}let n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}var Qe=new WeakMap,$e=Symbol(``),et=Symbol(``),tt=Symbol(``);function M(e,t,n){if(Ue&&j){let t=Qe.get(e);t||Qe.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new Xe),r.map=t,r.key=n),r.track()}}function nt(e,t,n,r,i,a){let o=Qe.get(e);if(!o){Je++;return}let s=e=>{e&&e.trigger()};if(Fe(),t===`clear`)o.forEach(s);else{let i=d(e),a=i&&w(n);if(i&&n===`length`){let e=Number(r);o.forEach((t,n)=>{(n===`length`||n===tt||!_(n)&&n>=e)&&s(t)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),a&&s(o.get(tt)),t){case`add`:i?a&&s(o.get(`length`)):(s(o.get($e)),f(e)&&s(o.get(et)));break;case`delete`:i||(s(o.get($e)),f(e)&&s(o.get(et)));break;case`set`:f(e)&&s(o.get($e));break}}Ie()}function rt(e,t){let n=Qe.get(e);return n&&n.get(t)}function it(e){let t=P(e);return t===e?t:(M(t,`iterate`,tt),N(e)?t:t.map(Gt))}function at(e){return M(e=P(e),`iterate`,tt),e}function ot(e,t){return Ht(e)?Kt(Vt(e)?Gt(t):t):Gt(t)}var st={__proto__:null,[Symbol.iterator](){return ct(this,Symbol.iterator,e=>ot(this,e))},concat(...e){return it(this).concat(...e.map(e=>d(e)?it(e):e))},entries(){return ct(this,`entries`,e=>(e[1]=ot(this,e[1]),e))},every(e,t){return ut(this,`every`,e,t,void 0,arguments)},filter(e,t){return ut(this,`filter`,e,t,e=>e.map(e=>ot(this,e)),arguments)},find(e,t){return ut(this,`find`,e,t,e=>ot(this,e),arguments)},findIndex(e,t){return ut(this,`findIndex`,e,t,void 0,arguments)},findLast(e,t){return ut(this,`findLast`,e,t,e=>ot(this,e),arguments)},findLastIndex(e,t){return ut(this,`findLastIndex`,e,t,void 0,arguments)},forEach(e,t){return ut(this,`forEach`,e,t,void 0,arguments)},includes(...e){return ft(this,`includes`,e)},indexOf(...e){return ft(this,`indexOf`,e)},join(e){return it(this).join(e)},lastIndexOf(...e){return ft(this,`lastIndexOf`,e)},map(e,t){return ut(this,`map`,e,t,void 0,arguments)},pop(){return pt(this,`pop`)},push(...e){return pt(this,`push`,e)},reduce(e,...t){return dt(this,`reduce`,e,t)},reduceRight(e,...t){return dt(this,`reduceRight`,e,t)},shift(){return pt(this,`shift`)},some(e,t){return ut(this,`some`,e,t,void 0,arguments)},splice(...e){return pt(this,`splice`,e)},toReversed(){return it(this).toReversed()},toSorted(e){return it(this).toSorted(e)},toSpliced(...e){return it(this).toSpliced(...e)},unshift(...e){return pt(this,`unshift`,e)},values(){return ct(this,`values`,e=>ot(this,e))}};function ct(e,t,n){let r=at(e),i=r[t]();return r!==e&&!N(e)&&(i._next=i.next,i.next=()=>{let e=i._next();return e.done||(e.value=n(e.value)),e}),i}var lt=Array.prototype;function ut(e,t,n,r,i,a){let o=at(e),s=o!==e&&!N(e),c=o[t];if(c!==lt[t]){let t=c.apply(e,a);return s?Gt(t):t}let l=n;o!==e&&(s?l=function(t,r){return n.call(this,ot(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 dt(e,t,n,r){let i=at(e),a=i!==e&&!N(e),o=n,s=!1;i!==e&&(a?(s=r.length===0,o=function(t,r,i){return s&&(s=!1,t=ot(e,t)),n.call(this,t,ot(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?ot(e,c):c}function ft(e,t,n){let r=P(e);M(r,`iterate`,tt);let i=r[t](...n);return(i===-1||i===!1)&&Ut(n[0])?(n[0]=P(n[0]),r[t](...n)):i}function pt(e,t,n=[]){Ge(),Fe();let r=P(e)[t].apply(e,n);return Ie(),Ke(),r}var mt=e(`__proto__,__v_isRef,__isVue`),ht=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==`arguments`&&e!==`caller`).map(e=>Symbol[e]).filter(_));function gt(e){_(e)||(e=String(e));let t=P(this);return M(t,`has`,e),t.hasOwnProperty(e)}var _t=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?Ft:Pt:i?Nt:Mt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let a=d(e);if(!r){let e;if(a&&(e=st[t]))return e;if(t===`hasOwnProperty`)return gt}let o=Reflect.get(e,t,F(e)?e:n);if((_(t)?ht.has(t):mt(t))||(r||M(e,`get`,t),i))return o;if(F(o)){let e=a&&w(t)?o:o.value;return r&&v(e)?zt(e):e}return v(o)?r?zt(o):Lt(o):o}},vt=class extends _t{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t],a=d(e)&&w(t);if(!this._isShallow){let e=Ht(i);if(!N(n)&&!Ht(n)&&(i=P(i),n=P(n)),!a&&F(i)&&!F(n))return e||(i.value=n),!0}let o=a?Number(t)<e.length:u(e,t),s=Reflect.set(e,t,n,F(e)?e:r);return e===P(r)&&s&&(o?O(n,i)&&nt(e,`set`,t,n,i):nt(e,`add`,t,n)),s}deleteProperty(e,t){let n=u(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&nt(e,`delete`,t,void 0,r),i}has(e,t){let n=Reflect.has(e,t);return(!_(t)||!ht.has(t))&&M(e,`has`,t),n}ownKeys(e){return M(e,`iterate`,d(e)?`length`:$e),Reflect.ownKeys(e)}},yt=class extends _t{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},bt=new vt,xt=new yt,St=new vt(!0),Ct=e=>e,wt=e=>Reflect.getPrototypeOf(e);function Tt(e,t,n){return function(...r){let i=this.__v_raw,a=P(i),o=f(a),c=e===`entries`||e===Symbol.iterator&&o,l=e===`keys`&&o,u=i[e](...r),d=n?Ct:t?Kt:Gt;return!t&&M(a,`iterate`,l?et:$e),s(Object.create(u),{next(){let{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:c?[d(e[0]),d(e[1])]:d(e),done:t}}})}}function Et(e){return function(...t){return e===`delete`?!1:e===`clear`?void 0:this}}function Dt(e,t){let n={get(n){let r=this.__v_raw,i=P(r),a=P(n);e||(O(n,a)&&M(i,`get`,n),M(i,`get`,a));let{has:o}=wt(i),s=t?Ct:e?Kt:Gt;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&&M(P(t),`iterate`,$e),t.size},has(t){let n=this.__v_raw,r=P(n),i=P(t);return e||(O(t,i)&&M(r,`has`,t),M(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=P(a),s=t?Ct:e?Kt:Gt;return!e&&M(o,`iterate`,$e),a.forEach((e,t)=>n.call(r,s(e),s(t),i))}};return s(n,e?{add:Et(`add`),set:Et(`set`),delete:Et(`delete`),clear:Et(`clear`)}:{add(e){let n=P(this),r=wt(n),i=P(e),a=!t&&!N(e)&&!Ht(e)?i:e;return r.has.call(n,a)||O(e,a)&&r.has.call(n,e)||O(i,a)&&r.has.call(n,i)||(n.add(a),nt(n,`add`,a,a)),this},set(e,n){!t&&!N(n)&&!Ht(n)&&(n=P(n));let r=P(this),{has:i,get:a}=wt(r),o=i.call(r,e);o||=(e=P(e),i.call(r,e));let s=a.call(r,e);return r.set(e,n),o?O(n,s)&&nt(r,`set`,e,n,s):nt(r,`add`,e,n),this},delete(e){let t=P(this),{has:n,get:r}=wt(t),i=n.call(t,e);i||=(e=P(e),n.call(t,e));let a=r?r.call(t,e):void 0,o=t.delete(e);return i&&nt(t,`delete`,e,void 0,a),o},clear(){let e=P(this),t=e.size!==0,n=e.clear();return t&&nt(e,`clear`,void 0,void 0,void 0),n}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(r=>{n[r]=Tt(r,e,t)}),n}function Ot(e,t){let n=Dt(e,t);return(t,r,i)=>r===`__v_isReactive`?!e:r===`__v_isReadonly`?e:r===`__v_raw`?t:Reflect.get(u(n,r)&&r in t?n:t,r,i)}var kt={get:Ot(!1,!1)},At={get:Ot(!1,!0)},jt={get:Ot(!0,!1)},Mt=new WeakMap,Nt=new WeakMap,Pt=new WeakMap,Ft=new WeakMap;function It(e){switch(e){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function Lt(e){return Ht(e)?e:Bt(e,!1,bt,kt,Mt)}function Rt(e){return Bt(e,!1,St,At,Nt)}function zt(e){return Bt(e,!0,xt,jt,Pt)}function Bt(e,t,n,r,i){if(!v(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=It(S(e));if(o===0)return e;let s=new Proxy(e,o===2?r:n);return i.set(e,s),s}function Vt(e){return Ht(e)?Vt(e.__v_raw):!!(e&&e.__v_isReactive)}function Ht(e){return!!(e&&e.__v_isReadonly)}function N(e){return!!(e&&e.__v_isShallow)}function Ut(e){return e?!!e.__v_raw:!1}function P(e){let t=e&&e.__v_raw;return t?P(t):e}function Wt(e){return!u(e,`__v_skip`)&&Object.isExtensible(e)&&k(e,`__v_skip`,!0),e}var Gt=e=>v(e)?Lt(e):e,Kt=e=>v(e)?zt(e):e;function F(e){return e?e.__v_isRef===!0:!1}function qt(e){return Yt(e,!1)}function Jt(e){return Yt(e,!0)}function Yt(e,t){return F(e)?e:new Xt(e,t)}var Xt=class{constructor(e,t){this.dep=new Xe,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:P(e),this._value=t?e:Gt(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||N(e)||Ht(e);e=n?e:P(e),O(e,t)&&(this._rawValue=e,this._value=n?e:Gt(e),this.dep.trigger())}};function Zt(e){return F(e)?e.value:e}var Qt={get:(e,t,n)=>t===`__v_raw`?e:Zt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let i=e[t];return F(i)&&!F(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function $t(e){return Vt(e)?e:new Proxy(e,Qt)}var en=class{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new Xe,{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 tn(e){return new en(e)}function nn(e){let t=d(e)?Array(e.length):{};for(let n in e)t[n]=sn(e,n);return t}var rn=class{constructor(e,t,n){this._object=e,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=_(t)?t:String(t),this._raw=P(e);let r=!0,i=e;if(!d(e)||_(this._key)||!w(this._key))do r=!Ut(i)||N(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let e=this._object[this._key];return this._shallow&&(e=Zt(e)),this._value=e===void 0?this._defaultValue:e}set value(e){if(this._shallow&&F(this._raw[this._key])){let t=this._object[this._key];if(F(t)){t.value=e;return}}this._object[this._key]=e}get dep(){return rt(this._raw,this._key)}},an=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 on(e,t,n){return F(e)?e:h(e)?new an(e):v(e)&&arguments.length>1?sn(e,t,n):qt(e)}function sn(e,t,n){return new rn(e,t,n)}var cn=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Xe(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Je-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&j!==this)return Pe(this,!0),!0}get value(){let e=this.dep.track();return Be(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}};function ln(e,t,n=!1){let r,i;return h(e)?r=e:(r=e.get,i=e.set),new cn(r,i,n)}var un={},dn=new WeakMap,fn=void 0;function pn(e,t=!1,n=fn){if(n){let t=dn.get(n);t||dn.set(n,t=[]),t.push(e)}}function mn(e,n,i=t){let{immediate:a,deep:o,once:s,scheduler:l,augmentJob:u,call:f}=i,p=e=>o?e:N(e)||o===!1||o===0?hn(e,1):hn(e),m,g,_,v,y=!1,b=!1;if(F(e)?(g=()=>e.value,y=N(e)):Vt(e)?(g=()=>p(e),y=!0):d(e)?(b=!0,y=e.some(e=>Vt(e)||N(e)),g=()=>e.map(e=>{if(F(e))return e.value;if(Vt(e))return p(e);if(h(e))return f?f(e,2):e()})):g=h(e)?n?f?()=>f(e,2):e:()=>{if(_){Ge();try{_()}finally{Ke()}}let t=fn;fn=m;try{return f?f(e,3,[v]):e(v)}finally{fn=t}}:r,n&&o){let e=g,t=o===!0?1/0:o;g=()=>hn(e(),t)}let x=De(),S=()=>{m.stop(),x&&x.active&&c(x.effects,m)};if(s&&n){let e=n;n=(...t)=>{let n=e(...t);return S(),n}}let C=b?Array(e.length).fill(un):un,w=e=>{if(!(!(m.flags&1)||!m.dirty&&!e))if(n){let t=m.run();if(e||o||y||(b?t.some((e,t)=>O(e,C[t])):O(t,C))){_&&_();let e=fn;fn=m;try{let e=[t,C===un?void 0:b&&C[0]===un?[]:C,v];C=t,f?f(n,3,e):n(...e)}finally{fn=e}}}else m.run()};return u&&u(w),m=new Ae(g),m.scheduler=l?()=>l(w,!1):w,v=e=>pn(e,!1,m),_=m.onStop=()=>{let e=dn.get(m);if(e){if(f)f(e,4);else for(let t of e)t();dn.delete(m)}},n?a?w(!0):C=m.run():l?l(w.bind(null,!0),!0):m.run(),S.pause=m.pause.bind(m),S.resume=m.resume.bind(m),S.stop=S,S}function hn(e,t=1/0,n){if(t<=0||!v(e)||e.__v_skip||(n||=new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,F(e))hn(e.value,t,n);else if(d(e))for(let r=0;r<e.length;r++)hn(e[r],t,n);else if(p(e)||f(e))e.forEach(e=>{hn(e,t,n)});else if(C(e)){for(let r in e)hn(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&hn(e[r],t,n)}return e}function gn(e,t,n,r){try{return r?e(...r):e()}catch(e){vn(e,t,n)}}function _n(e,t,n,r){if(h(e)){let i=gn(e,t,n,r);return i&&y(i)&&i.catch(e=>{vn(e,t,n)}),i}if(d(e)){let i=[];for(let a=0;a<e.length;a++)i.push(_n(e[a],t,n,r));return i}}function vn(e,n,r,i=!0){let a=n?n.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:s}=n&&n.appContext.config||t;if(n){let t=n.parent,i=n.proxy,a=`https://vuejs.org/error-reference/#runtime-${r}`;for(;t;){let n=t.ec;if(n){for(let t=0;t<n.length;t++)if(n[t](e,i,a)===!1)return}t=t.parent}if(o){Ge(),gn(o,null,10,[e,i,a]),Ke();return}}yn(e,r,a,i,s)}function yn(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}var I=[],bn=-1,xn=[],Sn=null,Cn=0,wn=Promise.resolve(),Tn=null;function En(e){let t=Tn||wn;return e?t.then(this?e.bind(this):e):t}function Dn(e){let t=bn+1,n=I.length;for(;t<n;){let r=t+n>>>1,i=I[r],a=Nn(i);a<e||a===e&&i.flags&2?t=r+1:n=r}return t}function On(e){if(!(e.flags&1)){let t=Nn(e),n=I[I.length-1];!n||!(e.flags&2)&&t>=Nn(n)?I.push(e):I.splice(Dn(t),0,e),e.flags|=1,kn()}}function kn(){Tn||=wn.then(Pn)}function An(e){d(e)?xn.push(...e):Sn&&e.id===-1?Sn.splice(Cn+1,0,e):e.flags&1||(xn.push(e),e.flags|=1),kn()}function jn(e,t,n=bn+1){for(;n<I.length;n++){let t=I[n];if(t&&t.flags&2){if(e&&t.id!==e.uid)continue;I.splice(n,1),n--,t.flags&4&&(t.flags&=-2),t(),t.flags&4||(t.flags&=-2)}}}function Mn(e){if(xn.length){let e=[...new Set(xn)].sort((e,t)=>Nn(e)-Nn(t));if(xn.length=0,Sn){Sn.push(...e);return}for(Sn=e,Cn=0;Cn<Sn.length;Cn++){let e=Sn[Cn];e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2}Sn=null,Cn=0}}var Nn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Pn(e){try{for(bn=0;bn<I.length;bn++){let e=I[bn];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),gn(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;bn<I.length;bn++){let e=I[bn];e&&(e.flags&=-2)}bn=-1,I.length=0,Mn(e),Tn=null,(I.length||xn.length)&&Pn(e)}}var L=null,Fn=null;function In(e){let t=L;return L=e,Fn=e&&e.type.__scopeId||null,t}function Ln(e,t=L,n){if(!t||e._n)return e;let r=(...n)=>{r._d&&wa(-1);let i=In(t),a;try{a=e(...n)}finally{In(i),r._d&&wa(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function Rn(e,n){if(L===null)return e;let r=so(L),i=e.dirs||=[];for(let e=0;e<n.length;e++){let[a,o,s,c=t]=n[e];a&&(h(a)&&(a={mounted:a,updated:a}),a.deep&&hn(o),i.push({dir:a,instance:r,value:o,oldValue:void 0,arg:s,modifiers:c}))}return e}function zn(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&&(Ge(),_n(c,n,8,[e.el,s,e,t]),Ke())}}function Bn(e,t){if(G){let n=G.provides,r=G.parent&&G.parent.provides;r===n&&(n=G.provides=Object.create(r)),n[e]=t}}function R(e,t,n=!1){let r=Ka();if(r||Oi){let i=Oi?Oi._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&&h(t)?t.call(r&&r.proxy):t}}function Vn(){return!!(Ka()||Oi)}var Hn=Symbol.for(`v-scx`),Un=()=>R(Hn);function Wn(e,t){return qn(e,null,t)}function Gn(e,t){return qn(e,null,{flush:`sync`})}function Kn(e,t,n){return qn(e,t,n)}function qn(e,n,i=t){let{immediate:a,deep:o,flush:c,once:l}=i,u=s({},i),d=n&&a||!n&&c!==`post`,f;if(Qa){if(c===`sync`){let e=Un();f=e.__watcherHandles||=[]}else if(!d){let e=()=>{};return e.stop=r,e.resume=r,e.pause=r,e}}let p=G;u.call=(e,t,n)=>_n(e,p,t,n);let m=!1;c===`post`?u.scheduler=e=>{B(e,p&&p.suspense)}:c!==`sync`&&(m=!0,u.scheduler=(e,t)=>{t?e():On(e)}),u.augmentJob=e=>{n&&(e.flags|=4),m&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};let h=mn(e,n,u);return Qa&&(f?f.push(h):d&&h()),h}function Jn(e,t,n){let r=this.proxy,i=g(e)?e.includes(`.`)?Yn(r,e):()=>r[e]:e.bind(r,r),a;h(t)?a=t:(a=t.handler,n=t);let o=Ya(this),s=qn(i,a.bind(r),n);return o(),s}function Yn(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 Xn=new WeakMap,Zn=Symbol(`_vte`),Qn=e=>e.__isTeleport,$n=e=>e&&(e.disabled||e.disabled===``),er=e=>e&&(e.defer||e.defer===``),tr=e=>typeof SVGElement<`u`&&e instanceof SVGElement,nr=e=>typeof MathMLElement==`function`&&e instanceof MathMLElement,rr=(e,t)=>{let n=e&&e.to;return g(n)?t?t(n):null:n},ir={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=$n(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=$n(e.props),r=e.target=rr(e.props,m),a=lr(r,e,h,p);r&&(o!==`svg`&&tr(r)?o=`svg`:o!==`mathml`&&nr(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(Xn.get(e)===t){if(Xn.delete(e),$n(e.props)){let t=_(e.el)||n;b(e,t,e.anchor),cr(e,!0)}x(e)}};Xn.set(e,t),B(t,a)};if(e==null){let e=t.el=h(``),i=t.anchor=h(``);if(p(e,n,r),p(i,n,r),er(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=Xn.get(e);if(u){u.flags|=8,Xn.delete(e),S(t);return}t.targetStart=e.targetStart;let p=t.target=e.target,h=t.targetAnchor=e.targetAnchor,g=$n(e.props),_=g?n:p,b=g?r:h;if(o===`svg`||tr(p)?o=`svg`:(o===`mathml`||nr(p))&&(o=`mathml`),y?(f(e.dynamicChildren,y,_,i,a,o,s),da(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):ar(t,n,r,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){let e=rr(t.props,m);e&&(t.target=e,ar(t,e,null,l,0))}else g&&ar(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=$n(f),m=a||!p,h=Xn.get(e);if(h&&(h.flags|=8,Xn.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:ar,hydrate:or};function ar(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),!Xn.has(e)&&(!d||$n(u))&&c&16)for(let e=0;e<l.length;e++)i(l[e],t,n,2);d&&r(s,t,n)}function or(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=rr(t.props,c),h=$n(t.props);if(m){let c=m._lpa||m.firstChild;t.shapeFlag&16&&(h?(p(e,t),f(m,c),t.targetAnchor||lr(m,t,u,l,s(e)===m?e:null)):(t.anchor=o(e),f(m,c),t.targetAnchor||lr(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=ir;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 lr(e,t,n,r,i=null){let a=t.targetStart=n(``),o=t.targetAnchor=n(``);return a[Zn]=o,e&&(r(a,e,i),r(o,e,i)),o}var ur=Symbol(`_leaveCb`),dr=Symbol(`_enterCb`);function fr(){let e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Br(()=>{e.isMounted=!0}),Ur(()=>{e.isUnmounting=!0}),e}var pr=[Function,Array],mr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:pr,onEnter:pr,onAfterEnter:pr,onEnterCancelled:pr,onBeforeLeave:pr,onLeave:pr,onAfterLeave:pr,onLeaveCancelled:pr,onBeforeAppear:pr,onAppear:pr,onAfterAppear:pr,onAppearCancelled:pr},hr=e=>{let t=e.subTree;return t.component?hr(t.component):t},gr={name:`BaseTransition`,props:mr,setup(e,{slots:t}){let n=Ka(),r=fr();return()=>{let i=t.default&&wr(t.default(),!0),a=i&&i.length?_r(i):n.subTree?La():void 0;if(!a)return;let o=P(e),{mode:s}=o;if(r.isLeaving)return xr(a);let c=Sr(a);if(!c)return xr(a);let l=br(c,o,r,n,e=>l=e);c.type!==H&&Cr(c,l);let u=n.subTree&&Sr(n.subTree);if(u&&u.type!==H&&!ka(u,c)&&hr(n).type!==H){let e=br(u,o,r,n);if(Cr(u,e),s===`out-in`&&c.type!==H)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete e.afterLeave,u=void 0},xr(a);s===`in-out`&&c.type!==H?e.delayLeave=(e,t,n)=>{let i=yr(r,u);i[String(u.key)]=u,e[ur]=()=>{t(),e[ur]=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 _r(e){let t=e[0];if(e.length>1){for(let n of e)if(n.type!==H){t=n;break}}return t}var vr=gr;function yr(e,t){let{leavingVNodes:n}=e,r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function br(e,t,n,r,i){let{appear:a,mode:o,persisted:s=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:p,onLeave:m,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:_,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,x=String(e.key),S=yr(n,e),C=(e,t)=>{e&&_n(e,r,9,t)},w=(e,t)=>{let n=t[1];C(e,t),d(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},T={mode:o,persisted:s,beforeEnter(t){let r=c;if(!n.isMounted)if(a)r=_||c;else return;t[ur]&&t[ur](!0);let i=S[x];i&&ka(e,i)&&i.el[ur]&&i.el[ur](),C(r,[t])},enter(t){if(S[x]===e)return;let r=l,i=u,o=f;if(!n.isMounted)if(a)r=v||l,i=y||u,o=b||f;else return;let s=!1;t[dr]=e=>{s||(s=!0,C(e?o:i,[t]),T.delayedLeave&&T.delayedLeave(),t[dr]=void 0)};let c=t[dr].bind(null,!1);r?w(r,[t,c]):c()},leave(t,r){let i=String(e.key);if(t[dr]&&t[dr](!0),n.isUnmounting)return r();C(p,[t]);let a=!1;t[ur]=n=>{a||(a=!0,r(),C(n?g:h,[t]),t[ur]=void 0,S[i]===e&&delete S[i])};let o=t[ur].bind(null,!1);S[i]=e,m?w(m,[t,o]):o()},clone(e){let a=br(e,t,n,r,i);return i&&i(a),a}};return T}function xr(e){if(Mr(e))return e=Fa(e),e.children=null,e}function Sr(e){if(!Mr(e))return Qn(e.type)&&e.children?_r(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&&h(n.default))return n.default()}}function Cr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Cr(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 wr(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===V?(o.patchFlag&128&&i++,r=r.concat(wr(o.children,t,s))):(t||o.type!==H)&&r.push(s==null?o:Fa(o,{key:s}))}if(i>1)for(let e=0;e<r.length;e++)r[e].patchFlag=-2;return r}function Tr(e,t){return h(e)?s({name:e.name},t,{setup:e}):e}function Er(e){e.ids=[e.ids[0]+e.ids[2]+++`-`,0,0]}function Dr(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}var Or=new WeakMap;function kr(e,n,r,a,o=!1){if(d(e)){e.forEach((e,t)=>kr(e,n&&(d(n)?n[t]:n),r,a,o));return}if(jr(a)&&!o){a.shapeFlag&512&&a.type.__asyncResolved&&a.component.subTree.component&&kr(e,n,r,a.component.subTree);return}let s=a.shapeFlag&4?so(a.component):a.el,l=o?null:s,{i:f,r:p}=e,m=n&&n.r,_=f.refs===t?f.refs={}:f.refs,v=f.setupState,y=P(v),b=v===t?i:e=>Dr(_,e)?!1:u(y,e),x=(e,t)=>!(t&&Dr(_,t));if(m!=null&&m!==p){if(Ar(n),g(m))_[m]=null,b(m)&&(v[m]=null);else if(F(m)){let e=n;x(m,e.k)&&(m.value=null),e.k&&(_[e.k]=null)}}if(h(p)){Ge();try{gn(p,f,12,[l,_])}finally{Ke()}}else{let t=g(p),n=F(p);if(t||n){let i=()=>{if(e.f){let n=t?b(p)?v[p]:_[p]:x(p)||!e.k?p.value:_[e.k];if(o)d(n)&&c(n,s);else if(d(n))n.includes(s)||n.push(s);else if(t)_[p]=[s],b(p)&&(v[p]=_[p]);else{let t=[s];x(p,e.k)&&(p.value=t),e.k&&(_[e.k]=t)}}else t?(_[p]=l,b(p)&&(v[p]=l)):n&&(x(p,e.k)&&(p.value=l),e.k&&(_[e.k]=l))};if(l){let t=()=>{i(),Or.delete(e)};t.id=-1,Or.set(e,t),B(t,r)}else Ar(e),i()}}}function Ar(e){let t=Or.get(e);t&&(t.flags|=8,Or.delete(e))}le().requestIdleCallback,le().cancelIdleCallback;var jr=e=>!!e.type.__asyncLoader,Mr=e=>e.type.__isKeepAlive;function Nr(e,t){Fr(e,`a`,t)}function Pr(e,t){Fr(e,`da`,t)}function Fr(e,t,n=G){let r=e.__wdc||=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()};if(Lr(t,r,n),n){let e=n.parent;for(;e&&e.parent;)Mr(e.parent.vnode)&&Ir(r,t,n,e),e=e.parent}}function Ir(e,t,n,r){let i=Lr(t,e,r,!0);Wr(()=>{c(r[t],i)},n)}function Lr(e,t,n=G,r=!1){if(n){let i=n[e]||(n[e]=[]),a=t.__weh||=(...r)=>{Ge();let i=Ya(n),a=_n(t,n,e,r);return i(),Ke(),a};return r?i.unshift(a):i.push(a),a}}var Rr=e=>(t,n=G)=>{(!Qa||e===`sp`)&&Lr(e,(...e)=>t(...e),n)},zr=Rr(`bm`),Br=Rr(`m`),Vr=Rr(`bu`),Hr=Rr(`u`),Ur=Rr(`bum`),Wr=Rr(`um`),Gr=Rr(`sp`),Kr=Rr(`rtg`),qr=Rr(`rtc`);function Jr(e,t=G){Lr(`ec`,e,t)}var Yr=`components`;function Xr(e,t){return $r(Yr,e,!0,t)||e}var Zr=Symbol.for(`v-ndc`);function Qr(e){return g(e)?$r(Yr,e,!1)||e:e||Zr}function $r(e,t,n=!0,r=!1){let i=L||G;if(i){let n=i.type;if(e===Yr){let e=co(n,!1);if(e&&(e===t||e===E(t)||e===re(E(t))))return n}let a=ei(i[e]||n[e],t)||ei(i.appContext[e],t);return!a&&r?n:a}}function ei(e,t){return e&&(e[t]||e[E(t)]||e[re(E(t))])}function ti(e,t,n,r){let i,a=n&&n[r],o=d(e);if(o||g(e)){let n=o&&Vt(e),r=!1,s=!1;n&&(r=!N(e),s=Ht(e),e=at(e)),i=Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(r?s?Kt(Gt(e[n])):Gt(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(v(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 ni(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(d(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 ri(e,t,n={},r,i){if(L.ce||L.parent&&jr(L.parent)&&L.parent.ce){let e=Object.keys(n).length>0;return t!=="default"&&(n.name=t),xa(),Da(V,null,[W(`slot`,n,r&&r())],e?-2:64)}let a=e[t];a&&a._c&&(a._d=!1),xa();let o=a&&ii(a(n)),s=n.key||o&&o.key,c=Da(V,{key:(s&&!_(s)?s:`_${t}`)+(!o&&r?`_fb`:``)},o||(r?r():[]),o&&e._===1?64:-2);return!i&&c.scopeId&&(c.slotScopeIds=[c.scopeId+`-s`]),a&&a._c&&(a._d=!0),c}function ii(e){return e.some(e=>Oa(e)?!(e.type===H||e.type===V&&!ii(e.children)):!0)?e:null}var ai=e=>e?Za(e)?so(e):ai(e.parent):null,oi=s(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=>ai(e.parent),$root:e=>ai(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>gi(e),$forceUpdate:e=>e.f||=()=>{On(e.update)},$nextTick:e=>e.n||=En.bind(e.proxy),$watch:e=>Jn.bind(e)}),si=(e,n)=>e!==t&&!e.__isScriptSetup&&u(e,n),ci={get({_:e},n){if(n===`__v_skip`)return!0;let{ctx:r,setupState:i,data:a,props:o,accessCache:s,type:c,appContext:l}=e;if(n[0]!==`$`){let e=s[n];if(e!==void 0)switch(e){case 1:return i[n];case 2:return a[n];case 4:return r[n];case 3:return o[n]}else if(si(i,n))return s[n]=1,i[n];else if(a!==t&&u(a,n))return s[n]=2,a[n];else if(u(o,n))return s[n]=3,o[n];else if(r!==t&&u(r,n))return s[n]=4,r[n];else di&&(s[n]=0)}let d=oi[n],f,p;if(d)return n===`$attrs`&&M(e.attrs,`get`,``),d(e);if((f=c.__cssModules)&&(f=f[n]))return f;if(r!==t&&u(r,n))return s[n]=4,r[n];if(p=l.config.globalProperties,u(p,n))return p[n]},set({_:e},n,r){let{data:i,setupState:a,ctx:o}=e;return si(a,n)?(a[n]=r,!0):i!==t&&u(i,n)?(i[n]=r,!0):u(e.props,n)||n[0]===`$`&&n.slice(1)in e?!1:(o[n]=r,!0)},has({_:{data:e,setupState:n,accessCache:r,ctx:i,appContext:a,props:o,type:s}},c){let l;return!!(r[c]||e!==t&&c[0]!==`$`&&u(e,c)||si(n,c)||u(o,c)||u(i,c)||u(oi,c)||u(a.config.globalProperties,c)||(l=s.__cssModules)&&l[c])},defineProperty(e,t,n){return n.get==null?u(n,`value`)&&this.set(e,t,n.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,n)}};function li(e){return d(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function ui(e,t){return!e||!t?e||t:d(e)&&d(t)?e.concat(t):s({},li(e),li(t))}var di=!0;function fi(e){let t=gi(e),n=e.proxy,i=e.ctx;di=!1,t.beforeCreate&&mi(t.beforeCreate,e,`bc`);let{data:a,computed:o,methods:s,watch:c,provide:l,inject:u,created:f,beforeMount:p,mounted:m,beforeUpdate:g,updated:_,activated:y,deactivated:b,beforeDestroy:x,beforeUnmount:S,destroyed:C,unmounted:w,render:T,renderTracked:ee,renderTriggered:te,errorCaptured:E,serverPrefetch:ne,expose:D,inheritAttrs:re,components:ie,directives:O,filters:ae}=t;if(u&&pi(u,i,null),s)for(let e in s){let t=s[e];h(t)&&(i[e]=t.bind(n))}if(a){let t=a.call(n,n);v(t)&&(e.data=Lt(t))}if(di=!0,o)for(let e in o){let t=o[e],a=K({get:h(t)?t.bind(n,n):h(t.get)?t.get.bind(n,n):r,set:!h(t)&&h(t.set)?t.set.bind(n):r});Object.defineProperty(i,e,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(c)for(let e in c)hi(c[e],i,n,e);if(l){let e=h(l)?l.call(n):l;Reflect.ownKeys(e).forEach(t=>{Bn(t,e[t])})}f&&mi(f,e,`c`);function k(e,t){d(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(k(zr,p),k(Br,m),k(Vr,g),k(Hr,_),k(Nr,y),k(Pr,b),k(Jr,E),k(qr,ee),k(Kr,te),k(Ur,S),k(Wr,w),k(Gr,ne),d(D))if(D.length){let t=e.exposed||={};D.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||={};T&&e.render===r&&(e.render=T),re!=null&&(e.inheritAttrs=re),ie&&(e.components=ie),O&&(e.directives=O),ne&&Er(e)}function pi(e,t,n=r){d(e)&&(e=xi(e));for(let n in e){let r=e[n],i;i=v(r)?`default`in r?R(r.from||n,r.default,!0):R(r.from||n):R(r),F(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}function mi(e,t,n){_n(d(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function hi(e,t,n,r){let i=r.includes(`.`)?Yn(n,r):()=>n[r];if(g(e)){let n=t[e];h(n)&&Kn(i,n)}else if(h(e))Kn(i,e.bind(n));else if(v(e))if(d(e))e.forEach(e=>hi(e,t,n,r));else{let r=h(e.handler)?e.handler.bind(n):t[e.handler];h(r)&&Kn(i,r,e)}}function gi(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=>_i(c,e,o,!0)),_i(c,t,o)),v(t)&&a.set(t,c),c}function _i(e,t,n,r=!1){let{mixins:i,extends:a}=t;a&&_i(e,a,n,!0),i&&i.forEach(t=>_i(e,t,n,!0));for(let i in t)if(!(r&&i===`expose`)){let r=vi[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}var vi={data:yi,props:Ci,emits:Ci,methods:Si,computed:Si,beforeCreate:z,created:z,beforeMount:z,mounted:z,beforeUpdate:z,updated:z,beforeDestroy:z,beforeUnmount:z,destroyed:z,unmounted:z,activated:z,deactivated:z,errorCaptured:z,serverPrefetch:z,components:Si,directives:Si,watch:wi,provide:yi,inject:bi};function yi(e,t){return t?e?function(){return s(h(e)?e.call(this,this):e,h(t)?t.call(this,this):t)}:t:e}function bi(e,t){return Si(xi(e),xi(t))}function xi(e){if(d(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function z(e,t){return e?[...new Set([].concat(e,t))]:t}function Si(e,t){return e?s(Object.create(null),e,t):t}function Ci(e,t){return e?d(e)&&d(t)?[...new Set([...e,...t])]:s(Object.create(null),li(e),li(t??{})):t}function wi(e,t){if(!e)return t;if(!t)return e;let n=s(Object.create(null),e);for(let r in t)n[r]=z(e[r],t[r]);return n}function Ti(){return{app:null,config:{isNativeTag:i,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 Ei=0;function Di(e,t){return function(n,r=null){h(n)||(n=s({},n)),r!=null&&!v(r)&&(r=null);let i=Ti(),a=new WeakSet,o=[],c=!1,l=i.app={_uid:Ei++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:fo,get config(){return i.config},set config(e){},use(e,...t){return a.has(e)||(e&&h(e.install)?(a.add(e),e.install(l,...t)):h(e)&&(a.add(e),e(l,...t))),l},mixin(e){return i.mixins.includes(e)||i.mixins.push(e),l},component(e,t){return t?(i.components[e]=t,l):i.components[e]},directive(e,t){return t?(i.directives[e]=t,l):i.directives[e]},mount(a,o,s){if(!c){let u=l._ceVNode||W(n,r);return u.appContext=i,s===!0?s=`svg`:s===!1&&(s=void 0),o&&t?t(u,a):e(u,a,s),c=!0,l._container=a,a.__vue_app__=l,so(u.component)}},onUnmount(e){o.push(e)},unmount(){c&&(_n(o,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide(e,t){return i.provides[e]=t,l},runWithContext(e){let t=Oi;Oi=l;try{return e()}finally{Oi=t}}};return l}}var Oi=null;function ki(e,n,r=t){let i=Ka(),a=E(n),o=D(n),s=Ai(e,a),c=tn((s,c)=>{let l,u=t,d;return Gn(()=>{let t=e[a];O(l,t)&&(l=t,c())}),{get(){return s(),r.get?r.get(l):l},set(e){let s=r.set?r.set(e):e;if(!O(s,l)&&!(u!==t&&O(e,u)))return;let f=i.vnode.props,p=!!(f&&(n in f||a in f||o in f)&&(`onUpdate:${n}`in f||`onUpdate:${a}`in f||`onUpdate:${o}`in f));p||(l=e,c()),i.emit(`update:${n}`,s),O(e,u)&&(O(e,s)&&!O(s,d)||p&&u!==t&&!O(s,l))&&c(),u=e,d=s}}});return c[Symbol.iterator]=()=>{let e=0;return{next(){return e<2?{value:e++?s||t:c,done:!1}:{done:!0}}}},c}var Ai=(e,t)=>t===`modelValue`||t===`model-value`?e.modelModifiers:e[`${t}Modifiers`]||e[`${E(t)}Modifiers`]||e[`${D(t)}Modifiers`];function ji(e,n,...r){if(e.isUnmounted)return;let i=e.vnode.props||t,a=r,o=n.startsWith(`update:`),s=o&&Ai(i,n.slice(7));s&&(s.trim&&(a=r.map(e=>g(e)?e.trim():e)),s.number&&(a=r.map(oe)));let c,l=i[c=ie(n)]||i[c=ie(E(n))];!l&&o&&(l=i[c=ie(D(n))]),l&&_n(l,e,6,a);let u=i[c+`Once`];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,_n(u,e,6,a)}}var Mi=new WeakMap;function Ni(e,t,n=!1){let r=n?Mi:t.emitsCache,i=r.get(e);if(i!==void 0)return i;let a=e.emits,o={},c=!1;if(!h(e)){let r=e=>{let n=Ni(e,t,!0);n&&(c=!0,s(o,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!a&&!c?(v(e)&&r.set(e,null),null):(d(a)?a.forEach(e=>o[e]=null):s(o,a),v(e)&&r.set(e,o),o)}function Pi(e,t){return!e||!a(t)?!1:(t=t.slice(2),t=t===`Once`?t:t.replace(/Once$/,``),u(e,t[0].toLowerCase()+t.slice(1))||u(e,D(t))||u(e,t))}function Fi(e){let{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[a],slots:s,attrs:c,emit:l,render:u,renderCache:d,props:f,data:p,setupState:m,ctx:h,inheritAttrs:g}=e,_=In(e),v,y;try{if(n.shapeFlag&4){let e=i||r,t=e;v=Ra(u.call(t,e,d,f,m,p,h)),y=c}else{let e=t;v=Ra(e.length>1?e(f,{attrs:c,slots:s,emit:l}):e(f,null)),y=t.props?c:Ii(c)}}catch(t){ba.length=0,vn(t,e,1),v=W(H)}let b=v;if(y&&g!==!1){let e=Object.keys(y),{shapeFlag:t}=b;e.length&&t&7&&(a&&e.some(o)&&(y=Li(y,a)),b=Fa(b,y,!1,!0))}return n.dirs&&(b=Fa(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&Cr(b,n.transition),v=b,In(_),v}var Ii=e=>{let t;for(let n in e)(n===`class`||n===`style`||a(n))&&((t||={})[n]=e[n]);return t},Li=(e,t)=>{let n={};for(let r in e)(!o(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ri(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?zi(r,o,l):!!o;if(c&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t];if(Bi(o,r,n)&&!Pi(l,n))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===o?!1:r?o?zi(r,o,l):!0:!!o;return!1}function zi(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(Bi(t,e,a)&&!Pi(n,a))return!0}return!1}function Bi(e,t,n){let r=e[n],i=t[n];return n===`style`&&v(r)&&v(i)?!be(r,i):r!==i}function Vi({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 Hi={},Ui=()=>Object.create(Hi),Wi=e=>Object.getPrototypeOf(e)===Hi;function Gi(e,t,n,r=!1){let i={},a=Ui();e.propsDefaults=Object.create(null),qi(e,t,i,a);for(let t in e.propsOptions[0])t in i||(i[t]=void 0);n?e.props=r?i:Rt(i):e.type.props?e.props=i:e.props=a,e.attrs=a}function Ki(e,t,n,r){let{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=P(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(Pi(e.emitsOptions,o))continue;let d=t[o];if(c)if(u(a,o))d!==a[o]&&(a[o]=d,l=!0);else{let t=E(o);i[t]=Ji(c,s,t,d,e,!1)}else d!==a[o]&&(a[o]=d,l=!0)}}}else{qi(e,t,i,a)&&(l=!0);let r;for(let a in s)(!t||!u(t,a)&&((r=D(a))===a||!u(t,r)))&&(c?n&&(n[a]!==void 0||n[r]!==void 0)&&(i[a]=Ji(c,s,a,void 0,e,!0)):delete i[a]);if(a!==s)for(let e in a)(!t||!u(t,e))&&(delete a[e],l=!0)}l&&nt(e.attrs,`set`,``)}function qi(e,n,r,i){let[a,o]=e.propsOptions,s=!1,c;if(n)for(let t in n){if(T(t))continue;let l=n[t],d;a&&u(a,d=E(t))?!o||!o.includes(d)?r[d]=l:(c||={})[d]=l:Pi(e.emitsOptions,t)||(!(t in i)||l!==i[t])&&(i[t]=l,s=!0)}if(o){let n=P(r),i=c||t;for(let t=0;t<o.length;t++){let s=o[t];r[s]=Ji(a,n,s,i[s],e,!u(i,s))}}return s}function Ji(e,t,n,r,i,a){let o=e[n];if(o!=null){let e=u(o,`default`);if(e&&r===void 0){let e=o.default;if(o.type!==Function&&!o.skipFactory&&h(e)){let{propsDefaults:a}=i;if(n in a)r=a[n];else{let o=Ya(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===D(n))&&(r=!0))}return r}var Yi=new WeakMap;function Xi(e,r,i=!1){let a=i?Yi:r.propsCache,o=a.get(e);if(o)return o;let c=e.props,l={},f=[],p=!1;if(!h(e)){let t=e=>{p=!0;let[t,n]=Xi(e,r,!0);s(l,t),n&&f.push(...n)};!i&&r.mixins.length&&r.mixins.forEach(t),e.extends&&t(e.extends),e.mixins&&e.mixins.forEach(t)}if(!c&&!p)return v(e)&&a.set(e,n),n;if(d(c))for(let e=0;e<c.length;e++){let n=E(c[e]);Zi(n)&&(l[n]=t)}else if(c)for(let e in c){let t=E(e);if(Zi(t)){let n=c[e],r=l[t]=d(n)||h(n)?{type:n}:s({},n),i=r.type,a=!1,o=!0;if(d(i))for(let e=0;e<i.length;++e){let t=i[e],n=h(t)&&t.name;if(n===`Boolean`){a=!0;break}else n===`String`&&(o=!1)}else a=h(i)&&i.name===`Boolean`;r[0]=a,r[1]=o,(a||u(r,`default`))&&f.push(t)}}let m=[l,f];return v(e)&&a.set(e,m),m}function Zi(e){return e[0]!==`$`&&!T(e)}var Qi=e=>e===`_`||e===`_ctx`||e===`$stable`,$i=e=>d(e)?e.map(Ra):[Ra(e)],ea=(e,t,n)=>{if(t._n)return t;let r=Ln((...e)=>$i(t(...e)),n);return r._c=!1,r},ta=(e,t,n)=>{let r=e._ctx;for(let n in e){if(Qi(n))continue;let i=e[n];if(h(i))t[n]=ea(n,i,r);else if(i!=null){let e=$i(i);t[n]=()=>e}}},na=(e,t)=>{let n=$i(t);e.slots.default=()=>n},ra=(e,t,n)=>{for(let r in t)(n||!Qi(r))&&(e[r]=t[r])},ia=(e,t,n)=>{let r=e.slots=Ui();if(e.vnode.shapeFlag&32){let e=t._;e?(ra(r,t,n),n&&k(r,`_`,e,!0)):ta(t,r)}else t&&na(e,t)},aa=(e,n,r)=>{let{vnode:i,slots:a}=e,o=!0,s=t;if(i.shapeFlag&32){let e=n._;e?r&&e===1?o=!1:ra(a,n,r):(o=!n.$stable,ta(n,a)),s=n}else n&&(na(e,n),s={default:1});if(o)for(let e in a)!Qi(e)&&s[e]==null&&delete a[e]},B=_a;function oa(e){return sa(e)}function sa(e,i){let a=le();a.__VUE__=!0;let{insert:o,remove:s,patchProp:c,createElement:l,createText:u,createComment:d,setText:f,setElementText:p,parentNode:m,nextSibling:h,setScopeId:g=r,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&&!ka(e,t)&&(r=ye(e),me(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 va:y(e,t,n,r);break;case H:b(e,t,n,r);break;case ya:e??x(t,n,r,o);break;case V:ie(e,t,n,r,i,a,o,s,c);break;default:d&1?w(e,t,n,r,i,a,o,s,c):d&6?O(e,t,n,r,i,a,o,s,c):(d&64||d&128)&&l.process(e,t,n,r,i,a,o,s,c,Se)}u!=null&&i?kr(u,e&&e.ref,a,t||e,!t):u==null&&e&&e.ref!=null&&kr(e.ref,null,a,e,!0)},y=(e,t,n,r)=>{if(e==null)o(t.el=u(t.children),n,r);else{let n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},b=(e,t,n,r)=>{e==null?o(t.el=d(t.children||``),n,r):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,r)=>{let i;for(;e&&e!==t;)i=h(e),o(e,n,r),e=i;o(t,n,r)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=h(e),s(e),e=n;s(t)},w=(e,t,n,r,i,a,o,s,c)=>{if(t.type===`svg`?o=`svg`:t.type===`math`&&(o=`mathml`),e==null)ee(t,n,r,i,a,o,s,c);else{let n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),ne(e,t,i,a,o,s,c)}finally{n&&n._endPatch()}}},ee=(e,t,n,r,i,a,s,u)=>{let d,f,{props:m,shapeFlag:h,transition:g,dirs:_}=e;if(d=e.el=l(e.type,a,m&&m.is,m),h&8?p(d,e.children):h&16&&E(e.children,d,null,r,i,ca(e,a),s,u),_&&zn(e,null,r,`created`),te(d,e,e.scopeId,s,r),m){for(let e in m)e!==`value`&&!T(e)&&c(d,e,null,m[e],a,r);`value`in m&&c(d,`value`,null,m.value,a),(f=m.onVnodeBeforeMount)&&Ha(f,r,e)}_&&zn(e,null,r,`beforeMount`);let v=ua(i,g);v&&g.beforeEnter(d),o(d,t,n),((f=m&&m.onVnodeMounted)||v||_)&&B(()=>{try{f&&Ha(f,r,e),v&&g.enter(d),_&&zn(e,null,r,`mounted`)}finally{}},i)},te=(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||ga(n.type)&&(n.ssContent===t||n.ssFallback===t)){let t=i.vnode;te(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?za(e[l]):Ra(e[l]);v(null,c,t,n,r,i,a,o,s)}},ne=(e,n,r,i,a,o,s)=>{let l=n.el=e.el,{patchFlag:u,dynamicChildren:d,dirs:f}=n;u|=e.patchFlag&16;let m=e.props||t,h=n.props||t,g;if(r&&la(r,!1),(g=h.onVnodeBeforeUpdate)&&Ha(g,r,n,e),f&&zn(n,e,r,`beforeUpdate`),r&&la(r,!0),d&&(!e.dynamicChildren||e.dynamicChildren.length!==d.length)&&(u=0,s=!1,d=null),(m.innerHTML&&h.innerHTML==null||m.textContent&&h.textContent==null)&&p(l,``),d?D(e.dynamicChildren,d,l,r,i,ca(n,a),o):s||ue(e,n,l,null,r,i,ca(n,a),o,!1),u>0){if(u&16)re(l,m,h,r,a);else if(u&2&&m.class!==h.class&&c(l,`class`,null,h.class,a),u&4&&c(l,`style`,m.style,h.style,a),u&8){let e=n.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t],i=m[n],o=h[n];(o!==i||n===`value`)&&c(l,n,i,o,a,r)}}u&1&&e.children!==n.children&&p(l,n.children)}else!s&&d==null&&re(l,m,h,r,a);((g=h.onVnodeUpdated)||f)&&B(()=>{g&&Ha(g,r,n,e),f&&zn(n,e,r,`updated`)},i)},D=(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===V||!ka(c,l)||c.shapeFlag&198)?m(c.el):n;v(c,l,u,null,r,i,a,o,!0)}},re=(e,n,r,i,a)=>{if(n!==r){if(n!==t)for(let t in n)!T(t)&&!(t in r)&&c(e,t,n[t],null,a,i);for(let t in r){if(T(t))continue;let o=r[t],s=n[t];o!==s&&t!==`value`&&c(e,t,s,o,a,i)}`value`in r&&c(e,`value`,n.value,r.value,a)}},ie=(e,t,n,r,i,a,s,c,l)=>{let d=t.el=e?e.el:u(``),f=t.anchor=e?e.anchor:u(``),{patchFlag:p,dynamicChildren:m,slotScopeIds:h}=t;h&&(c=c?c.concat(h):h),e==null?(o(d,n,r),o(f,n,r),E(t.children||[],n,f,i,a,s,c,l)):p>0&&p&64&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(D(e.dynamicChildren,m,n,i,a,s,c),(t.key!=null||i&&t===i.subTree)&&da(e,t,!0)):ue(e,t,n,f,i,a,s,c,l)},O=(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):k(t,n,r,i,a,o,c):oe(e,t,c)},k=(e,t,n,r,i,a,o)=>{let s=e.component=Ga(e,r,i);if(Mr(e)&&(s.ctx.renderer=Se),$a(s,!1,o),s.asyncDep){if(i&&i.registerDep(s,se,o),!e.el){let r=s.subTree=W(H);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(Ri(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=pa(e);if(n){t&&(t.el=c.el,ce(e,t,o)),n.asyncDep.then(()=>{B(()=>{e.isUnmounted||l()},i)});return}}let u=t,d;la(e,!1),t?(t.el=c.el,ce(e,t,o)):t=c,n&&ae(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&Ha(d,s,t,c),la(e,!0);let f=Fi(e),p=e.subTree;e.subTree=f,v(p,f,m(p.el),ye(p),e,i,a),t.el=f.el,u===null&&Vi(e,f.el),r&&B(r,i),(d=t.props&&t.props.onVnodeUpdated)&&B(()=>Ha(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=jr(t);if(la(e,!1),l&&ae(l),!m&&(o=c&&c.onVnodeBeforeMount)&&Ha(o,d,t),la(e,!0),s&&we){let t=()=>{e.subTree=Fi(e),we(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=Fi(e);v(null,o,n,r,e,i,a),t.el=o.el}if(u&&B(u,i),!m&&(o=c&&c.onVnodeMounted)){let e=t;B(()=>Ha(o,d,e),i)}(t.shapeFlag&256||d&&jr(d.vnode)&&d.vnode.shapeFlag&256)&&e.a&&B(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();let c=e.effect=new Ae(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=()=>On(u),la(e,!0),l()},ce=(e,t,n)=>{t.component=e;let r=e.vnode.props;e.vnode=t,e.next=null,Ki(e,t.props,r,n),aa(e,t.children,n),Ge(),jn(e),Ke()},ue=(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){fe(l,d,n,r,i,a,o,s,c);return}else if(f&256){de(l,d,n,r,i,a,o,s,c);return}}m&8?(u&16&&ve(l,i,a),d!==l&&p(n,d)):u&16?m&16?fe(l,d,n,r,i,a,o,s,c):ve(l,i,a,!0):(u&8&&p(n,``),m&16&&E(d,n,r,i,a,o,s,c))},de=(e,t,r,i,a,o,s,c,l)=>{e||=n,t||=n;let u=e.length,d=t.length,f=Math.min(u,d),p;for(p=0;p<f;p++){let n=t[p]=l?za(t[p]):Ra(t[p]);v(e[p],n,r,null,a,o,s,c,l)}u>d?ve(e,a,o,!0,!1,f):E(t,r,i,a,o,s,c,l,f)},fe=(e,t,r,i,a,o,s,c,l)=>{let u=0,d=t.length,f=e.length-1,p=d-1;for(;u<=f&&u<=p;){let n=e[u],i=t[u]=l?za(t[u]):Ra(t[u]);if(ka(n,i))v(n,i,r,null,a,o,s,c,l);else break;u++}for(;u<=f&&u<=p;){let n=e[f],i=t[p]=l?za(t[p]):Ra(t[p]);if(ka(n,i))v(n,i,r,null,a,o,s,c,l);else break;f--,p--}if(u>f){if(u<=p){let e=p+1,n=e<d?t[e].el:i;for(;u<=p;)v(null,t[u]=l?za(t[u]):Ra(t[u]),r,n,a,o,s,c,l),u++}}else if(u>p)for(;u<=f;)me(e[u],a,o,!0),u++;else{let m=u,h=u,g=new Map;for(u=h;u<=p;u++){let e=t[u]=l?za(t[u]):Ra(t[u]);e.key!=null&&g.set(e.key,u)}let _,y=0,b=p-h+1,x=!1,S=0,C=Array(b);for(u=0;u<b;u++)C[u]=0;for(u=m;u<=f;u++){let n=e[u];if(y>=b){me(n,a,o,!0);continue}let i;if(n.key!=null)i=g.get(n.key);else for(_=h;_<=p;_++)if(C[_-h]===0&&ka(n,t[_])){i=_;break}i===void 0?me(n,a,o,!0):(C[i-h]=u+1,i>=S?S=i:x=!0,v(n,t[i],r,null,a,o,s,c,l),y++)}let w=x?fa(C):n;for(_=w.length-1,u=b-1;u>=0;u--){let e=h+u,n=t[e],f=t[e+1],p=e+1<d?f.el||ha(f):i;C[u]===0?v(null,n,r,p,a,o,s,c,l):x&&(_<0||u!==w[_]?pe(n,r,p,2):_--)}}},pe=(e,t,n,r,i=null)=>{let{el:a,type:c,transition:l,children:u,shapeFlag:d}=e;if(d&6){pe(e.component.subTree,t,n,r);return}if(d&128){e.suspense.move(t,n,r);return}if(d&64){c.move(e,t,n,Se);return}if(c===V){o(a,t,n);for(let e=0;e<u.length;e++)pe(u[e],t,n,r);o(e.anchor,t,n);return}if(c===ya){S(e,t,n);return}if(r!==2&&d&1&&l)if(r===0)l.persisted&&!a[ur]?o(a,t,n):(l.beforeEnter(a),o(a,t,n),B(()=>l.enter(a),i));else{let{leave:r,delayLeave:i,afterLeave:c}=l,u=()=>{e.ctx.isUnmounted?s(a):o(a,t,n)},d=()=>{let e=a._isLeaving||!!a[ur];a._isLeaving&&a[ur](!0),l.persisted&&!e?u():r(a,()=>{u(),c&&c()})};i?i(a,u,d):d()}else o(a,t,n)},me=(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&&(Ge(),kr(s,null,n,e,!0),Ke()),p!=null&&(t.renderCache[p]=void 0),u&256){t.ctx.deactivate(e);return}let h=u&1&&f,g=!jr(e),_;if(g&&(_=o&&o.onVnodeBeforeUnmount)&&Ha(_,t,e),u&6)_e(e.component,n,r);else{if(u&128){e.suspense.unmount(n,r);return}h&&zn(e,null,t,`beforeUnmount`),u&64?e.type.remove(e,t,n,Se,r):l&&!l.hasOnce&&(a!==V||d>0&&d&64)?ve(l,t,n,!1,!0):(a===V&&d&384||!i&&u&16)&&ve(c,t,n),r&&he(e)}let v=m!=null&&p==null;(g&&(_=o&&o.onVnodeUnmounted)||h||v)&&B(()=>{_&&Ha(_,t,e),h&&zn(e,null,t,`unmounted`),v&&(e.el=null)},n)},he=e=>{let{type:t,el:n,anchor:r,transition:i}=e;if(t===V){ge(n,r);return}if(t===ya){C(e);return}let a=()=>{s(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(e.shapeFlag&1&&i&&!i.persisted){let{leave:t,delayLeave:r}=i,o=()=>t(n,a);r?r(e.el,a,o):o()}else a()},ge=(e,t)=>{let n;for(;e!==t;)n=h(e),s(e),e=n;s(t)},_e=(e,t,n)=>{let{bum:r,scope:i,job:a,subTree:o,um:s,m:c,a:l}=e;ma(c),ma(l),r&&ae(r),i.stop(),a&&(a.flags|=8,me(o,e,t,n)),s&&B(s,t),B(()=>{e.isUnmounted=!0},t)},ve=(e,t,n,r=!1,i=!1,a=0)=>{for(let o=a;o<e.length;o++)me(e[o],t,n,r,i)},ye=e=>{if(e.shapeFlag&6)return ye(e.component.subTree);if(e.shapeFlag&128)return e.suspense.next();let t=h(e.anchor||e.el),n=t&&t[Zn];return n?h(n):t},be=!1,xe=(e,t,n)=>{let r;e==null?t._vnode&&(me(t._vnode,null,null,!0),r=t._vnode.component):v(t._vnode||null,e,t,null,null,null,n),t._vnode=e,be||=(be=!0,jn(r),Mn(),!1)},Se={p:v,um:me,m:pe,r:he,mt:k,mc:E,pc:ue,pbc:D,n:ye,o:e},Ce,we;return i&&([Ce,we]=i(Se)),{render:xe,hydrate:Ce,createApp:Di(xe,Ce)}}function ca({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 la({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ua(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function da(e,t,n=!1){let r=e.children,i=t.children;if(d(r)&&d(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]=za(i[e]),a.el=t.el),!n&&a.patchFlag!==-2&&da(t,a)),a.type===va&&(a.patchFlag===-1&&(a=i[e]=za(a)),a.el=t.el),a.type===H&&!a.el&&(a.el=t.el)}}function fa(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 pa(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:pa(t)}function ma(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function ha(e){if(e.placeholder)return e.placeholder;let t=e.component;return t?ha(t.subTree):null}var ga=e=>e.__isSuspense;function _a(e,t){t&&t.pendingBranch?d(e)?t.effects.push(...e):t.effects.push(e):An(e)}var V=Symbol.for(`v-fgt`),va=Symbol.for(`v-txt`),H=Symbol.for(`v-cmt`),ya=Symbol.for(`v-stc`),ba=[],U=null;function xa(e=!1){ba.push(U=e?null:[])}function Sa(){ba.pop(),U=ba[ba.length-1]||null}var Ca=1;function wa(e,t=!1){Ca+=e,e<0&&U&&t&&(U.hasOnce=!0)}function Ta(e){return e.dynamicChildren=Ca>0?U||n:null,Sa(),Ca>0&&U&&U.push(e),e}function Ea(e,t,n,r,i,a){return Ta(Ma(e,t,n,r,i,a,!0))}function Da(e,t,n,r,i){return Ta(W(e,t,n,r,i,!0))}function Oa(e){return e?e.__v_isVNode===!0:!1}function ka(e,t){return e.type===t.type&&e.key===t.key}var Aa=({key:e})=>e??null,ja=({ref:e,ref_key:t,ref_for:n})=>(typeof e==`number`&&(e=``+e),e==null?null:g(e)||F(e)||h(e)?{i:L,r:e,k:t,f:!!n}:e);function Ma(e,t=null,n=null,r=0,i=null,a=e===V?0:1,o=!1,s=!1){let c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Aa(t),ref:t&&ja(t),scopeId:Fn,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:L};return s?(Ba(c,n),a&128&&e.normalize(c)):n&&(c.shapeFlag|=g(n)?8:16),Ca>0&&!o&&U&&(c.patchFlag>0||a&6)&&c.patchFlag!==32&&U.push(c),c}var W=Na;function Na(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===Zr)&&(e=H),Oa(e)){let r=Fa(e,t,!0);return n&&Ba(r,n),Ca>0&&!a&&U&&(r.shapeFlag&6?U[U.indexOf(e)]=r:U.push(r)),r.patchFlag=-2,r}if(lo(e)&&(e=e.__vccOpts),t){t=Pa(t);let{class:e,style:n}=t;e&&!g(e)&&(t.class=he(e)),v(n)&&(Ut(n)&&!d(n)&&(n=s({},n)),t.style=ue(n))}let o=g(e)?1:ga(e)?128:Qn(e)?64:v(e)?4:h(e)?2:0;return Ma(e,t,n,r,i,o,a,!0)}function Pa(e){return e?Ut(e)||Wi(e)?s({},e):e:null}function Fa(e,t,n=!1,r=!1){let{props:i,ref:a,patchFlag:o,children:s,transition:c}=e,l=t?Va(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Aa(l),ref:t&&t.ref?n&&a?d(a)?a.concat(ja(t)):[a,ja(t)]:ja(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!==V?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&&Fa(e.ssContent),ssFallback:e.ssFallback&&Fa(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&Cr(u,c.clone(u)),u}function Ia(e=` `,t=0){return W(va,null,e,t)}function La(e=``,t=!1){return t?(xa(),Da(H,null,e)):W(H,null,e)}function Ra(e){return e==null||typeof e==`boolean`?W(H):d(e)?W(V,null,e.slice()):Oa(e)?za(e):W(va,null,String(e))}function za(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Fa(e)}function Ba(e,t){let n=0,{shapeFlag:r}=e;if(t==null)t=null;else if(d(t))n=16;else if(typeof t==`object`)if(r&65){let n=t.default;n&&(n._c&&(n._d=!1),Ba(e,n()),n._c&&(n._d=!0));return}else{n=32;let r=t._;!r&&!Wi(t)?t._ctx=L:r===3&&L&&(L.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(h(t)){if(r&65){Ba(e,{default:t});return}t={default:t,_ctx:L},n=32}else t=String(t),r&64?(n=16,t=[Ia(t)]):n=8;e.children=t,e.shapeFlag|=n}function Va(...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=he([t.class,r.class]));else if(e===`style`)t.style=ue([t.style,r.style]);else if(a(e)){let n=t[e],i=r[e];i&&n!==i&&!(d(n)&&n.includes(i))?t[e]=n?[].concat(n,i):i:i==null&&n==null&&!o(e)&&(t[e]=i)}else e!==``&&(t[e]=r[e])}return t}function Ha(e,t,n,r=null){_n(e,t,7,[n,r])}var Ua=Ti(),Wa=0;function Ga(e,n,r){let i=e.type,a=(n?n.appContext:e.appContext)||Ua,o={uid:Wa++,vnode:e,type:i,parent:n,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Te(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:n?n.provides:Object.create(a.provides),ids:n?n.ids:[``,0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Xi(i,a),emitsOptions:Ni(i,a),emit:null,emitted:null,propsDefaults:t,inheritAttrs:i.inheritAttrs,ctx:t,data:t,props:t,attrs:t,slots:t,refs:t,setupState:t,setupContext:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=n?n.root:o,o.emit=ji.bind(null,o),e.ce&&e.ce(o),o}var G=null,Ka=()=>G||L,qa,Ja;{let e=le(),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)}};qa=t(`__VUE_INSTANCE_SETTERS__`,e=>G=e),Ja=t(`__VUE_SSR_SETTERS__`,e=>Qa=e)}var Ya=e=>{let t=G;return qa(e),e.scope.on(),()=>{e.scope.off(),qa(t)}},Xa=()=>{G&&G.scope.off(),qa(null)};function Za(e){return e.vnode.shapeFlag&4}var Qa=!1;function $a(e,t=!1,n=!1){t&&Ja(t);let{props:r,children:i}=e.vnode,a=Za(e);Gi(e,r,a,t),ia(e,i,n||t);let o=a?eo(e,t):void 0;return t&&Ja(!1),o}function eo(e,t){let n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ci);let{setup:r}=n;if(r){Ge();let n=e.setupContext=r.length>1?oo(e):null,i=Ya(e),a=gn(r,e,0,[e.props,n]),o=y(a);if(Ke(),i(),(o||e.sp)&&!jr(e)&&Er(e),o){if(a.then(Xa,Xa),t)return a.then(n=>{to(e,n,t)}).catch(t=>{vn(t,e,0)});e.asyncDep=a}else to(e,a,t)}else io(e,t)}function to(e,t,n){h(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:v(t)&&(e.setupState=$t(t)),io(e,n)}var no,ro;function io(e,t,n){let i=e.type;if(!e.render){if(!t&&no&&!i.render){let t=i.template||gi(e).template;if(t){let{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:a,compilerOptions:o}=i;i.render=no(t,s(s({isCustomElement:n,delimiters:a},r),o))}}e.render=i.render||r,ro&&ro(e)}{let t=Ya(e);Ge();try{fi(e)}finally{Ke(),t()}}}var ao={get(e,t){return M(e,`get`,``),e[t]}};function oo(e){return{attrs:new Proxy(e.attrs,ao),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function so(e){return e.exposed?e.exposeProxy||=new Proxy($t(Wt(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in oi)return oi[n](e)},has(e,t){return t in e||t in oi}}):e.proxy}function co(e,t=!0){return h(e)?e.displayName||e.name:e.name||t&&e.__name}function lo(e){return h(e)&&`__vccOpts`in e}var K=(e,t)=>ln(e,t,Qa);function uo(e,t,n){try{wa(-1);let r=arguments.length;return r===2?v(t)&&!d(t)?Oa(t)?W(e,null,[t]):W(e,t):W(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Oa(n)&&(n=[n]),W(e,t,n))}finally{wa(1)}}var fo=`3.5.39`;function po(e){let t=`.`,n=`__`,r=`--`,i;if(e){let i=e.blockPrefix;i&&(t=i),i=e.elementPrefix,i&&(n=i),i=e.modifierPrefix,i&&(r=i)}let a={install(e){i=e.c;let t=e.context;t.bem={},t.bem.b=null,t.bem.els=null}};function o(e){let n,r;return{before(e){n=e.bem.b,r=e.bem.els,e.bem.els=null},after(e){e.bem.b=n,e.bem.els=r},$({context:n,props:r}){return e=typeof e==`string`?e:e({context:n,props:r}),n.bem.b=e,`${r?.bPrefix||t}${n.bem.b}`}}}function s(e){let r;return{before(e){r=e.bem.els},after(e){e.bem.els=r},$({context:r,props:i}){return e=typeof e==`string`?e:e({context:r,props:i}),r.bem.els=e.split(`,`).map(e=>e.trim()),r.bem.els.map(e=>`${i?.bPrefix||t}${r.bem.b}${n}${e}`).join(`, `)}}}function c(e){return{$({context:i,props:a}){e=typeof e==`string`?e:e({context:i,props:a});let o=e.split(`,`).map(e=>e.trim());function s(e){return o.map(o=>`&${a?.bPrefix||t}${i.bem.b}${e===void 0?``:`${n}${e}`}${r}${o}`).join(`, `)}let c=i.bem.els;return c===null?s():s(c[0])}}}function l(e){return{$({context:i,props:a}){e=typeof e==`string`?e:e({context:i,props:a});let o=i.bem.els;return`&:not(${a?.bPrefix||t}${i.bem.b}${o!==null&&o.length>0?`${n}${o[0]}`:``}${r}${e})`}}}return Object.assign(a,{cB:((...e)=>i(o(e[0]),e[1],e[2])),cE:((...e)=>i(s(e[0]),e[1],e[2])),cM:((...e)=>i(c(e[0]),e[1],e[2])),cNotM:((...e)=>i(l(e[0]),e[1],e[2]))}),a}function mo(e){let t=0;for(let n=0;n<e.length;++n)e[n]===`&`&&++t;return t}var ho=/\s*,(?![^(]*\))\s*/g,go=/\s+/g;function _o(e,t){let n=[];return t.split(ho).forEach(t=>{let r=mo(t);if(!r){e.forEach(e=>{n.push((e&&e+` `)+t)});return}else if(r===1){e.forEach(e=>{n.push(t.replace(`&`,e))});return}let i=[t];for(;r--;){let t=[];i.forEach(n=>{e.forEach(e=>{t.push(n.replace(`&`,e))})}),i=t}i.forEach(e=>n.push(e))}),n}function vo(e,t){let n=[];return t.split(ho).forEach(t=>{e.forEach(e=>{n.push((e&&e+` `)+t)})}),n}function yo(e){let t=[``];return e.forEach(e=>{e&&=e.trim(),e&&(t=e.includes(`&`)?_o(t,e):vo(t,e))}),t.join(`, `).replace(go,` `)}function bo(e){if(!e)return;let t=e.parentElement;t&&t.removeChild(e)}function xo(e,t){return(t??document.head).querySelector(`style[cssr-id="${e}"]`)}function So(e){let t=document.createElement(`style`);return t.setAttribute(`cssr-id`,e),t}function Co(e){return e?/^\s*@(s|m)/.test(e):!1}var wo=/[A-Z]/g;function To(e){return e.replace(wo,e=>`-`+e.toLowerCase())}function Eo(e,t=` `){return typeof e==`object`&&e?` {
|
|
`+Object.entries(e).map(e=>t+` ${To(e[0])}: ${e[1]};`).join(`
|
|
`)+`
|
|
`+t+`}`:`: ${e};`}function Do(e,t,n){return typeof e==`function`?e({context:t.context,props:n}):e}function Oo(e,t,n,r){if(!t)return``;let i=Do(t,n,r);if(!i)return``;if(typeof i==`string`)return`${e} {\n${i}\n}`;let a=Object.keys(i);if(a.length===0)return n.config.keepEmptyBlock?e+` {
|
|
}`:``;let o=e?[e+` {`]:[];return a.forEach(e=>{let t=i[e];if(e===`raw`){o.push(`
|
|
`+t+`
|
|
`);return}e=To(e),t!=null&&o.push(` ${e}${Eo(t)}`)}),e&&o.push(`}`),o.join(`
|
|
`)}function ko(e,t,n){e&&e.forEach(e=>{if(Array.isArray(e))ko(e,t,n);else if(typeof e==`function`){let r=e(t);Array.isArray(r)?ko(r,t,n):r&&n(r)}else e&&n(e)})}function Ao(e,t,n,r,i){let a=e.$,o=``;if(!a||typeof a==`string`)Co(a)?o=a:t.push(a);else if(typeof a==`function`){let e=a({context:r.context,props:i});Co(e)?o=e:t.push(e)}else if(a.before&&a.before(r.context),!a.$||typeof a.$==`string`)Co(a.$)?o=a.$:t.push(a.$);else if(a.$){let e=a.$({context:r.context,props:i});Co(e)?o=e:t.push(e)}let s=yo(t),c=Oo(s,e.props,r,i);o?n.push(`${o} {`):c.length&&n.push(c),e.children&&ko(e.children,{context:r.context,props:i},e=>{if(typeof e==`string`){let t=Oo(s,{raw:e},r,i);n.push(t)}else Ao(e,t,n,r,i)}),t.pop(),o&&n.push(`}`),a&&a.after&&a.after(r.context)}function jo(e,t,n){let r=[];return Ao(e,[],r,t,n),r.join(`
|
|
|
|
`)}function Mo(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}typeof window<`u`&&(window.__cssrContext={});function No(e,t,n,r){let{els:i}=t;if(n===void 0)i.forEach(bo),t.els=[];else{let e=xo(n,r);e&&i.includes(e)&&(bo(e),t.els=i.filter(t=>t!==e))}}function Po(e,t){e.push(t)}function Fo(e,t,n,r,i,a,o,s,c){let l;if(n===void 0&&(l=t.render(r),n=Mo(l)),c){c.adapter(n,l??t.render(r));return}s===void 0&&(s=document.head);let u=xo(n,s);if(u!==null&&!a)return u;let d=u??So(n);if(l===void 0&&(l=t.render(r)),d.textContent=l,u!==null)return u;if(o){let e=s.querySelector(`meta[name="${o}"]`);if(e)return s.insertBefore(d,e),Po(t.els,d),d}return i?s.insertBefore(d,s.querySelector(`style, link`)):s.appendChild(d),Po(t.els,d),d}function Io(e){return jo(this,this.instance,e)}function Lo(e={}){let{id:t,ssr:n,props:r,head:i=!1,force:a=!1,anchorMetaName:o,parent:s}=e;return Fo(this.instance,this,t,r,i,a,o,s,n)}function Ro(e={}){let{id:t,parent:n}=e;No(this.instance,this,t,n)}var zo=function(e,t,n,r){return{instance:e,$:t,props:n,children:r,els:[],render:Io,mount:Lo,unmount:Ro}},Bo=function(e,t,n,r){return Array.isArray(t)?zo(e,{$:null},null,t):Array.isArray(n)?zo(e,t,null,n):Array.isArray(r)?zo(e,t,n,r):zo(e,t,n,null)};function Vo(e={}){let t={c:((...e)=>Bo(t,...e)),use:(e,...n)=>e.install(t,...n),find:xo,context:{},config:e};return t}function Ho(e,t){if(e===void 0)return!1;if(t){let{context:{ids:n}}=t;return n.has(e)}return xo(e)!==null}var Uo=`.n-`,Wo=`__`,Go=`--`,Ko=Vo(),qo=po({blockPrefix:Uo,elementPrefix:Wo,modifierPrefix:Go});Ko.use(qo);var{c:Jo,find:Yo}=Ko,{cB:Xo,cE:Zo,cM:Qo,cNotM:$o}=qo;function es(e){return Jo(({props:{bPrefix:e}})=>`${e||Uo}modal, ${e||Uo}drawer`,[e])}function ts(e){return Jo(({props:{bPrefix:e}})=>`${e||Uo}popover`,[e])}function ns(e){return Jo(({props:{bPrefix:e}})=>`&${e||Uo}modal`,e)}var rs=(...e)=>Jo(`>`,[Xo(...e)]);function is(e,t){return e+(t==="default"?``:t.replace(/^[a-z]/,e=>e.toUpperCase()))}var as={aliceblue:`#F0F8FF`,antiquewhite:`#FAEBD7`,aqua:`#0FF`,aquamarine:`#7FFFD4`,azure:`#F0FFFF`,beige:`#F5F5DC`,bisque:`#FFE4C4`,black:`#000`,blanchedalmond:`#FFEBCD`,blue:`#00F`,blueviolet:`#8A2BE2`,brown:`#A52A2A`,burlywood:`#DEB887`,cadetblue:`#5F9EA0`,chartreuse:`#7FFF00`,chocolate:`#D2691E`,coral:`#FF7F50`,cornflowerblue:`#6495ED`,cornsilk:`#FFF8DC`,crimson:`#DC143C`,cyan:`#0FF`,darkblue:`#00008B`,darkcyan:`#008B8B`,darkgoldenrod:`#B8860B`,darkgray:`#A9A9A9`,darkgrey:`#A9A9A9`,darkgreen:`#006400`,darkkhaki:`#BDB76B`,darkmagenta:`#8B008B`,darkolivegreen:`#556B2F`,darkorange:`#FF8C00`,darkorchid:`#9932CC`,darkred:`#8B0000`,darksalmon:`#E9967A`,darkseagreen:`#8FBC8F`,darkslateblue:`#483D8B`,darkslategray:`#2F4F4F`,darkslategrey:`#2F4F4F`,darkturquoise:`#00CED1`,darkviolet:`#9400D3`,deeppink:`#FF1493`,deepskyblue:`#00BFFF`,dimgray:`#696969`,dimgrey:`#696969`,dodgerblue:`#1E90FF`,firebrick:`#B22222`,floralwhite:`#FFFAF0`,forestgreen:`#228B22`,fuchsia:`#F0F`,gainsboro:`#DCDCDC`,ghostwhite:`#F8F8FF`,gold:`#FFD700`,goldenrod:`#DAA520`,gray:`#808080`,grey:`#808080`,green:`#008000`,greenyellow:`#ADFF2F`,honeydew:`#F0FFF0`,hotpink:`#FF69B4`,indianred:`#CD5C5C`,indigo:`#4B0082`,ivory:`#FFFFF0`,khaki:`#F0E68C`,lavender:`#E6E6FA`,lavenderblush:`#FFF0F5`,lawngreen:`#7CFC00`,lemonchiffon:`#FFFACD`,lightblue:`#ADD8E6`,lightcoral:`#F08080`,lightcyan:`#E0FFFF`,lightgoldenrodyellow:`#FAFAD2`,lightgray:`#D3D3D3`,lightgrey:`#D3D3D3`,lightgreen:`#90EE90`,lightpink:`#FFB6C1`,lightsalmon:`#FFA07A`,lightseagreen:`#20B2AA`,lightskyblue:`#87CEFA`,lightslategray:`#778899`,lightslategrey:`#778899`,lightsteelblue:`#B0C4DE`,lightyellow:`#FFFFE0`,lime:`#0F0`,limegreen:`#32CD32`,linen:`#FAF0E6`,magenta:`#F0F`,maroon:`#800000`,mediumaquamarine:`#66CDAA`,mediumblue:`#0000CD`,mediumorchid:`#BA55D3`,mediumpurple:`#9370DB`,mediumseagreen:`#3CB371`,mediumslateblue:`#7B68EE`,mediumspringgreen:`#00FA9A`,mediumturquoise:`#48D1CC`,mediumvioletred:`#C71585`,midnightblue:`#191970`,mintcream:`#F5FFFA`,mistyrose:`#FFE4E1`,moccasin:`#FFE4B5`,navajowhite:`#FFDEAD`,navy:`#000080`,oldlace:`#FDF5E6`,olive:`#808000`,olivedrab:`#6B8E23`,orange:`#FFA500`,orangered:`#FF4500`,orchid:`#DA70D6`,palegoldenrod:`#EEE8AA`,palegreen:`#98FB98`,paleturquoise:`#AFEEEE`,palevioletred:`#DB7093`,papayawhip:`#FFEFD5`,peachpuff:`#FFDAB9`,peru:`#CD853F`,pink:`#FFC0CB`,plum:`#DDA0DD`,powderblue:`#B0E0E6`,purple:`#800080`,rebeccapurple:`#663399`,red:`#F00`,rosybrown:`#BC8F8F`,royalblue:`#4169E1`,saddlebrown:`#8B4513`,salmon:`#FA8072`,sandybrown:`#F4A460`,seagreen:`#2E8B57`,seashell:`#FFF5EE`,sienna:`#A0522D`,silver:`#C0C0C0`,skyblue:`#87CEEB`,slateblue:`#6A5ACD`,slategray:`#708090`,slategrey:`#708090`,snow:`#FFFAFA`,springgreen:`#00FF7F`,steelblue:`#4682B4`,tan:`#D2B48C`,teal:`#008080`,thistle:`#D8BFD8`,tomato:`#FF6347`,turquoise:`#40E0D0`,violet:`#EE82EE`,wheat:`#F5DEB3`,white:`#FFF`,whitesmoke:`#F5F5F5`,yellow:`#FF0`,yellowgreen:`#9ACD32`,transparent:`#0000`};function os(e,t,n){t/=100,n/=100;let r=(r,i=(r+e/60)%6)=>n-n*t*Math.max(Math.min(i,4-i,1),0);return[r(5)*255,r(3)*255,r(1)*255]}function ss(e,t,n){t/=100,n/=100;let r=t*Math.min(n,1-n),i=(t,i=(t+e/30)%12)=>n-r*Math.max(Math.min(i-3,9-i,1),-1);return[i(0)*255,i(8)*255,i(4)*255]}var cs=`^\\s*`,ls=`\\s*$`,us=`\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))%\\s*`,q=`\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*`,ds=`([0-9A-Fa-f])`,fs=`([0-9A-Fa-f]{2})`,ps=RegExp(`${cs}hsl\\s*\\(${q},${us},${us}\\)${ls}`),ms=RegExp(`${cs}hsv\\s*\\(${q},${us},${us}\\)${ls}`),hs=RegExp(`${cs}hsla\\s*\\(${q},${us},${us},${q}\\)${ls}`),gs=RegExp(`${cs}hsva\\s*\\(${q},${us},${us},${q}\\)${ls}`),_s=RegExp(`${cs}rgb\\s*\\(${q},${q},${q}\\)${ls}`),vs=RegExp(`${cs}rgba\\s*\\(${q},${q},${q},${q}\\)${ls}`),ys=RegExp(`${cs}#${ds}${ds}${ds}${ls}`),bs=RegExp(`${cs}#${fs}${fs}${fs}${ls}`),xs=RegExp(`${cs}#${ds}${ds}${ds}${ds}${ls}`),Ss=RegExp(`${cs}#${fs}${fs}${fs}${fs}${ls}`);function J(e){return parseInt(e,16)}function Cs(e){try{let t;if(t=hs.exec(e))return[Ns(t[1]),Ps(t[5]),Ps(t[9]),Ms(t[13])];if(t=ps.exec(e))return[Ns(t[1]),Ps(t[5]),Ps(t[9]),1];throw Error(`[seemly/hsla]: Invalid color value ${e}.`)}catch(e){throw e}}function ws(e){try{let t;if(t=gs.exec(e))return[Ns(t[1]),Ps(t[5]),Ps(t[9]),Ms(t[13])];if(t=ms.exec(e))return[Ns(t[1]),Ps(t[5]),Ps(t[9]),1];throw Error(`[seemly/hsva]: Invalid color value ${e}.`)}catch(e){throw e}}function Ts(e){try{let t;if(t=bs.exec(e))return[J(t[1]),J(t[2]),J(t[3]),1];if(t=_s.exec(e))return[Y(t[1]),Y(t[5]),Y(t[9]),1];if(t=vs.exec(e))return[Y(t[1]),Y(t[5]),Y(t[9]),Ms(t[13])];if(t=ys.exec(e))return[J(t[1]+t[1]),J(t[2]+t[2]),J(t[3]+t[3]),1];if(t=Ss.exec(e))return[J(t[1]),J(t[2]),J(t[3]),Ms(J(t[4])/255)];if(t=xs.exec(e))return[J(t[1]+t[1]),J(t[2]+t[2]),J(t[3]+t[3]),Ms(J(t[4]+t[4])/255)];if(e in as)return Ts(as[e]);if(ps.test(e)||hs.test(e)){let[t,n,r,i]=Cs(e);return[...ss(t,n,r),i]}else if(ms.test(e)||gs.test(e)){let[t,n,r,i]=ws(e);return[...os(t,n,r),i]}throw Error(`[seemly/rgba]: Invalid color value ${e}.`)}catch(e){throw e}}function Es(e){return e>1?1:e<0?0:e}function Ds(e,t,n,r){return`rgba(${Y(e)}, ${Y(t)}, ${Y(n)}, ${Es(r)})`}function Os(e,t,n,r,i){return Y((e*t*(1-r)+n*r)/i)}function ks(e,t){Array.isArray(e)||(e=Ts(e)),Array.isArray(t)||(t=Ts(t));let n=e[3],r=t[3],i=Ms(n+r-n*r);return Ds(Os(e[0],n,t[0],r,i),Os(e[1],n,t[1],r,i),Os(e[2],n,t[2],r,i),i)}function As(e,t){let[n,r,i,a=1]=Array.isArray(e)?e:Ts(e);return typeof t.alpha==`number`?Ds(n,r,i,t.alpha):Ds(n,r,i,a)}function js(e,t){let[n,r,i,a=1]=Array.isArray(e)?e:Ts(e),{lightness:o=1,alpha:s=1}=t;return Fs([n*o,r*o,i*o,a*s])}function Ms(e){let t=Math.round(Number(e)*100)/100;return t>1?1:t<0?0:t}function Ns(e){let t=Math.round(Number(e));return t>=360||t<0?0:t}function Y(e){let t=Math.round(Number(e));return t>255?255:t<0?0:t}function Ps(e){let t=Math.round(Number(e));return t>100?100:t<0?0:t}function Fs(e){let[t,n,r]=e;return 3 in e?`rgba(${Y(t)}, ${Y(n)}, ${Y(r)}, ${Ms(e[3])})`:`rgba(${Y(t)}, ${Y(n)}, ${Y(r)}, 1)`}function Is(e){return e}var Ls=`@css-render/vue3-ssr`;function Rs(e,t){return`<style cssr-id="${e}">\n${t}\n</style>`}function zs(e,t,n){let{styles:r,ids:i}=n;i.has(e)||r!==null&&(i.add(e),r.push(Rs(e,t)))}var Bs=typeof document<`u`;function Vs(){if(Bs)return;let e=R(Ls,null);if(e!==null)return{adapter:(t,n)=>zs(t,n,e),context:e}}function Hs(e,t){console.error(`[naive/${e}]: ${t}`)}function Us(e,t,n){console.error(`[naive/${e}]: ${t}`,n)}function Ws(e,t){throw Error(`[naive/${e}]: ${t}`)}var Gs=Is(`n-config-provider`);function Ks(e={},t={defaultBordered:!0}){let n=R(Gs,null);return{inlineThemeDisabled:n?.inlineThemeDisabled,mergedRtlRef:n?.mergedRtlRef,mergedComponentPropsRef:n?.mergedComponentPropsRef,mergedBreakpointsRef:n?.mergedBreakpointsRef,mergedBorderedRef:K(()=>{let{bordered:r}=e;return r===void 0?n?.mergedBorderedRef.value??t.defaultBordered??!0:r}),mergedClsPrefixRef:n?n.mergedClsPrefixRef:Jt(`n`),namespaceRef:K(()=>n?.mergedNamespaceRef.value)}}function qs(e,t,n,r){n||Ws(`useThemeClass`,`cssVarsRef is not passed`);let i=R(Gs,null),a=i?.mergedThemeHashRef,o=i?.styleMountTarget,s=qt(``),c=Vs(),l,u=`__${e}`,d=()=>{let e=u,i=t?t.value:void 0,d=a?.value;d&&(e+=`-${d}`),i&&(e+=`-${i}`);let{themeOverrides:f,builtinThemeOverrides:p}=r;f&&(e+=`-${Mo(JSON.stringify(f))}`),p&&(e+=`-${Mo(JSON.stringify(p))}`),s.value=e,l=()=>{let t=n.value,r=``;for(let e in t)r+=`${e}: ${t[e]};`;Jo(`.${e}`,r).mount({id:e,ssr:c,parent:o}),l=void 0}};return Wn(()=>{d()}),{themeClass:s,onRender:()=>{l?.()}}}var Js=typeof global==`object`&&global&&global.Object===Object&&global,Ys=typeof self==`object`&&self&&self.Object===Object&&self,Xs=Js||Ys||Function(`return this`)(),Zs=Xs.Symbol,Qs=Object.prototype,$s=Qs.hasOwnProperty,ec=Qs.toString,tc=Zs?Zs.toStringTag:void 0;function nc(e){var t=$s.call(e,tc),n=e[tc];try{e[tc]=void 0;var r=!0}catch{}var i=ec.call(e);return r&&(t?e[tc]=n:delete e[tc]),i}var rc=Object.prototype.toString;function ic(e){return rc.call(e)}var ac=`[object Null]`,oc=`[object Undefined]`,sc=Zs?Zs.toStringTag:void 0;function cc(e){return e==null?e===void 0?oc:ac:sc&&sc in Object(e)?nc(e):ic(e)}function lc(e){return typeof e==`object`&&!!e}var uc=Array.isArray;function dc(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}function fc(e){return e}var pc=`[object AsyncFunction]`,mc=`[object Function]`,hc=`[object GeneratorFunction]`,gc=`[object Proxy]`;function _c(e){if(!dc(e))return!1;var t=cc(e);return t==mc||t==hc||t==pc||t==gc}var vc=Xs[`__core-js_shared__`],yc=function(){var e=/[^.]+$/.exec(vc&&vc.keys&&vc.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}();function bc(e){return!!yc&&yc in e}var xc=Function.prototype.toString;function Sc(e){if(e!=null){try{return xc.call(e)}catch{}try{return e+``}catch{}}return``}var Cc=/[\\^$.*+?()[\]{}|]/g,wc=/^\[object .+?Constructor\]$/,Tc=Function.prototype,Ec=Object.prototype,Dc=Tc.toString,Oc=Ec.hasOwnProperty,kc=RegExp(`^`+Dc.call(Oc).replace(Cc,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function Ac(e){return!dc(e)||bc(e)?!1:(_c(e)?kc:wc).test(Sc(e))}function jc(e,t){return e?.[t]}function Mc(e,t){var n=jc(e,t);return Ac(n)?n:void 0}var Nc=Object.create,Pc=function(){function e(){}return function(t){if(!dc(t))return{};if(Nc)return Nc(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function Fc(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Ic(e,t){var n=-1,r=e.length;for(t||=Array(r);++n<r;)t[n]=e[n];return t}var Lc=800,Rc=16,zc=Date.now;function Bc(e){var t=0,n=0;return function(){var r=zc(),i=Rc-(r-n);if(n=r,i>0){if(++t>=Lc)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Vc(e){return function(){return e}}var Hc=function(){try{var e=Mc(Object,`defineProperty`);return e({},``,{}),e}catch{}}(),Uc=Bc(Hc?function(e,t){return Hc(e,`toString`,{configurable:!0,enumerable:!1,value:Vc(t),writable:!0})}:fc),Wc=9007199254740991,Gc=/^(?:0|[1-9]\d*)$/;function Kc(e,t){var n=typeof e;return t??=Wc,!!t&&(n==`number`||n!=`symbol`&&Gc.test(e))&&e>-1&&e%1==0&&e<t}function qc(e,t,n){t==`__proto__`&&Hc?Hc(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Jc(e,t){return e===t||e!==e&&t!==t}var Yc=Object.prototype.hasOwnProperty;function Xc(e,t,n){var r=e[t];(!(Yc.call(e,t)&&Jc(r,n))||n===void 0&&!(t in e))&&qc(e,t,n)}function Zc(e,t,n,r){var i=!n;n||={};for(var a=-1,o=t.length;++a<o;){var s=t[a],c=r?r(n[s],e[s],s,n,e):void 0;c===void 0&&(c=e[s]),i?qc(n,s,c):Xc(n,s,c)}return n}var Qc=Math.max;function $c(e,t,n){return t=Qc(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=Qc(r.length-t,0),o=Array(a);++i<a;)o[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(o),Fc(e,this,s)}}function el(e,t){return Uc($c(e,t,fc),e+``)}var tl=9007199254740991;function nl(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=tl}function rl(e){return e!=null&&nl(e.length)&&!_c(e)}function il(e,t,n){if(!dc(n))return!1;var r=typeof t;return(r==`number`?rl(n)&&Kc(t,n.length):r==`string`&&t in n)?Jc(n[t],e):!1}function al(e){return el(function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,o=i>2?n[2]:void 0;for(a=e.length>3&&typeof a==`function`?(i--,a):void 0,o&&il(n[0],n[1],o)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var s=n[r];s&&e(t,s,r,a)}return t})}var ol=Object.prototype;function sl(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||ol)}function cl(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var ll=`[object Arguments]`;function ul(e){return lc(e)&&cc(e)==ll}var dl=Object.prototype,fl=dl.hasOwnProperty,pl=dl.propertyIsEnumerable,ml=ul(function(){return arguments}())?ul:function(e){return lc(e)&&fl.call(e,`callee`)&&!pl.call(e,`callee`)};function hl(){return!1}var gl=typeof exports==`object`&&exports&&!exports.nodeType&&exports,_l=gl&&typeof module==`object`&&module&&!module.nodeType&&module,vl=_l&&_l.exports===gl?Xs.Buffer:void 0,yl=(vl?vl.isBuffer:void 0)||hl,bl=`[object Arguments]`,xl=`[object Array]`,Sl=`[object Boolean]`,Cl=`[object Date]`,wl=`[object Error]`,Tl=`[object Function]`,El=`[object Map]`,Dl=`[object Number]`,Ol=`[object Object]`,kl=`[object RegExp]`,Al=`[object Set]`,jl=`[object String]`,Ml=`[object WeakMap]`,Nl=`[object ArrayBuffer]`,Pl=`[object DataView]`,Fl=`[object Float32Array]`,Il=`[object Float64Array]`,Ll=`[object Int8Array]`,Rl=`[object Int16Array]`,zl=`[object Int32Array]`,Bl=`[object Uint8Array]`,Vl=`[object Uint8ClampedArray]`,Hl=`[object Uint16Array]`,Ul=`[object Uint32Array]`,X={};X[Fl]=X[Il]=X[Ll]=X[Rl]=X[zl]=X[Bl]=X[Vl]=X[Hl]=X[Ul]=!0,X[bl]=X[xl]=X[Nl]=X[Sl]=X[Pl]=X[Cl]=X[wl]=X[Tl]=X[El]=X[Dl]=X[Ol]=X[kl]=X[Al]=X[jl]=X[Ml]=!1;function Wl(e){return lc(e)&&nl(e.length)&&!!X[cc(e)]}function Gl(e){return function(t){return e(t)}}var Kl=typeof exports==`object`&&exports&&!exports.nodeType&&exports,ql=Kl&&typeof module==`object`&&module&&!module.nodeType&&module,Jl=ql&&ql.exports===Kl&&Js.process,Yl=function(){try{return ql&&ql.require&&ql.require(`util`).types||Jl&&Jl.binding&&Jl.binding(`util`)}catch{}}(),Xl=Yl&&Yl.isTypedArray,Zl=Xl?Gl(Xl):Wl,Ql=Object.prototype.hasOwnProperty;function $l(e,t){var n=uc(e),r=!n&&ml(e),i=!n&&!r&&yl(e),a=!n&&!r&&!i&&Zl(e),o=n||r||i||a,s=o?cl(e.length,String):[],c=s.length;for(var l in e)(t||Ql.call(e,l))&&!(o&&(l==`length`||i&&(l==`offset`||l==`parent`)||a&&(l==`buffer`||l==`byteLength`||l==`byteOffset`)||Kc(l,c)))&&s.push(l);return s}function eu(e,t){return function(n){return e(t(n))}}function tu(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var nu=Object.prototype.hasOwnProperty;function ru(e){if(!dc(e))return tu(e);var t=sl(e),n=[];for(var r in e)r==`constructor`&&(t||!nu.call(e,r))||n.push(r);return n}function iu(e){return rl(e)?$l(e,!0):ru(e)}var au=Mc(Object,`create`);function ou(){this.__data__=au?au(null):{},this.size=0}function su(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t}var cu=`__lodash_hash_undefined__`,lu=Object.prototype.hasOwnProperty;function uu(e){var t=this.__data__;if(au){var n=t[e];return n===cu?void 0:n}return lu.call(t,e)?t[e]:void 0}var du=Object.prototype.hasOwnProperty;function fu(e){var t=this.__data__;return au?t[e]!==void 0:du.call(t,e)}var pu=`__lodash_hash_undefined__`;function mu(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=au&&t===void 0?pu:t,this}function hu(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}hu.prototype.clear=ou,hu.prototype.delete=su,hu.prototype.get=uu,hu.prototype.has=fu,hu.prototype.set=mu;function gu(){this.__data__=[],this.size=0}function _u(e,t){for(var n=e.length;n--;)if(Jc(e[n][0],t))return n;return-1}var vu=Array.prototype.splice;function yu(e){var t=this.__data__,n=_u(t,e);return n<0?!1:(n==t.length-1?t.pop():vu.call(t,n,1),--this.size,!0)}function bu(e){var t=this.__data__,n=_u(t,e);return n<0?void 0:t[n][1]}function xu(e){return _u(this.__data__,e)>-1}function Su(e,t){var n=this.__data__,r=_u(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Cu(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Cu.prototype.clear=gu,Cu.prototype.delete=yu,Cu.prototype.get=bu,Cu.prototype.has=xu,Cu.prototype.set=Su;var wu=Mc(Xs,`Map`);function Tu(){this.size=0,this.__data__={hash:new hu,map:new(wu||Cu),string:new hu}}function Eu(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}function Du(e,t){var n=e.__data__;return Eu(t)?n[typeof t==`string`?`string`:`hash`]:n.map}function Ou(e){var t=Du(this,e).delete(e);return this.size-=+!!t,t}function ku(e){return Du(this,e).get(e)}function Au(e){return Du(this,e).has(e)}function ju(e,t){var n=Du(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Mu(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Mu.prototype.clear=Tu,Mu.prototype.delete=Ou,Mu.prototype.get=ku,Mu.prototype.has=Au,Mu.prototype.set=ju;var Nu=eu(Object.getPrototypeOf,Object),Pu=`[object Object]`,Fu=Function.prototype,Iu=Object.prototype,Lu=Fu.toString,Ru=Iu.hasOwnProperty,zu=Lu.call(Object);function Bu(e){if(!lc(e)||cc(e)!=Pu)return!1;var t=Nu(e);if(t===null)return!0;var n=Ru.call(t,`constructor`)&&t.constructor;return typeof n==`function`&&n instanceof n&&Lu.call(n)==zu}function Vu(){this.__data__=new Cu,this.size=0}function Hu(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Uu(e){return this.__data__.get(e)}function Wu(e){return this.__data__.has(e)}var Gu=200;function Ku(e,t){var n=this.__data__;if(n instanceof Cu){var r=n.__data__;if(!wu||r.length<Gu-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Mu(r)}return n.set(e,t),this.size=n.size,this}function qu(e){var t=this.__data__=new Cu(e);this.size=t.size}qu.prototype.clear=Vu,qu.prototype.delete=Hu,qu.prototype.get=Uu,qu.prototype.has=Wu,qu.prototype.set=Ku;var Ju=typeof exports==`object`&&exports&&!exports.nodeType&&exports,Yu=Ju&&typeof module==`object`&&module&&!module.nodeType&&module,Xu=Yu&&Yu.exports===Ju?Xs.Buffer:void 0,Zu=Xu?Xu.allocUnsafe:void 0;function Qu(e,t){if(t)return e.slice();var n=e.length,r=Zu?Zu(n):new e.constructor(n);return e.copy(r),r}var $u=Xs.Uint8Array;function ed(e){var t=new e.constructor(e.byteLength);return new $u(t).set(new $u(e)),t}function td(e,t){var n=t?ed(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function nd(e){return typeof e.constructor==`function`&&!sl(e)?Pc(Nu(e)):{}}function rd(e){return function(t,n,r){for(var i=-1,a=Object(t),o=r(t),s=o.length;s--;){var c=o[e?s:++i];if(n(a[c],c,a)===!1)break}return t}}var id=rd();function ad(e,t,n){(n!==void 0&&!Jc(e[t],n)||n===void 0&&!(t in e))&&qc(e,t,n)}function od(e){return lc(e)&&rl(e)}function sd(e,t){if(!(t===`constructor`&&typeof e[t]==`function`)&&t!=`__proto__`)return e[t]}function cd(e){return Zc(e,iu(e))}function ld(e,t,n,r,i,a,o){var s=sd(e,n),c=sd(t,n),l=o.get(c);if(l){ad(e,n,l);return}var u=a?a(s,c,n+``,e,t,o):void 0,d=u===void 0;if(d){var f=uc(c),p=!f&&yl(c),m=!f&&!p&&Zl(c);u=c,f||p||m?uc(s)?u=s:od(s)?u=Ic(s):p?(d=!1,u=Qu(c,!0)):m?(d=!1,u=td(c,!0)):u=[]:Bu(c)||ml(c)?(u=s,ml(s)?u=cd(s):(!dc(s)||_c(s))&&(u=nd(c))):d=!1}d&&(o.set(c,u),i(u,c,r,a,o),o.delete(c)),ad(e,n,u)}function ud(e,t,n,r,i){e!==t&&id(t,function(a,o){if(i||=new qu,dc(a))ld(e,t,o,n,ud,r,i);else{var s=r?r(sd(e,o),a,o+``,e,t,i):void 0;s===void 0&&(s=a),ad(e,o,s)}},iu)}var dd=al(function(e,t,n){ud(e,t,n)}),fd=`naive-ui-style`;function pd(e,t,n){if(!t)return;let r=Vs(),i=K(()=>{let{value:n}=t;if(!n)return;let r=n[e];if(r)return r}),a=R(Gs,null),o=()=>{Wn(()=>{let{value:t}=n,o=`${t}${e}Rtl`;if(Ho(o,r))return;let{value:s}=i;s&&s.style.mount({id:o,head:!0,anchorMetaName:fd,props:{bPrefix:t?`.${t}-`:void 0},ssr:r,parent:a?.styleMountTarget})})};return r?o():zr(o),i}var md={fontFamily:`v-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"`,fontFamilyMono:`v-mono, SFMono-Regular, Menlo, Consolas, Courier, monospace`,fontWeight:`400`,fontWeightStrong:`500`,cubicBezierEaseInOut:`cubic-bezier(.4, 0, .2, 1)`,cubicBezierEaseOut:`cubic-bezier(0, 0, .2, 1)`,cubicBezierEaseIn:`cubic-bezier(.4, 0, 1, 1)`,borderRadius:`3px`,borderRadiusSmall:`2px`,fontSize:`14px`,fontSizeMini:`12px`,fontSizeTiny:`12px`,fontSizeSmall:`14px`,fontSizeMedium:`14px`,fontSizeLarge:`15px`,fontSizeHuge:`16px`,lineHeight:`1.6`,heightMini:`16px`,heightTiny:`22px`,heightSmall:`28px`,heightMedium:`34px`,heightLarge:`40px`,heightHuge:`46px`},{fontSize:hd,fontFamily:gd,lineHeight:_d}=md,vd=Jo(`body`,`
|
|
margin: 0;
|
|
font-size: ${hd};
|
|
font-family: ${gd};
|
|
line-height: ${_d};
|
|
-webkit-text-size-adjust: 100%;
|
|
-webkit-tap-highlight-color: transparent;
|
|
`,[Jo(`input`,`
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
`)]);function yd(e,t,n){if(!t)return;let r=Vs(),i=R(Gs,null),a=()=>{let a=n.value;t.mount({id:a===void 0?e:a+e,head:!0,anchorMetaName:fd,props:{bPrefix:a?`.${a}-`:void 0},ssr:r,parent:i?.styleMountTarget}),i?.preflightStyleDisabled||vd.mount({id:`n-global`,head:!0,anchorMetaName:fd,ssr:r,parent:i?.styleMountTarget})};r?a():zr(a)}function bd(e){return e}function xd(e,t,n,r,i,a){let o=Vs(),s=R(Gs,null);if(n){let e=()=>{let e=a?.value;n.mount({id:e===void 0?t:e+t,head:!0,props:{bPrefix:e?`.${e}-`:void 0},anchorMetaName:fd,ssr:o,parent:s?.styleMountTarget}),s?.preflightStyleDisabled||vd.mount({id:`n-global`,head:!0,anchorMetaName:fd,ssr:o,parent:s?.styleMountTarget})};o?e():zr(e)}return K(()=>{let{theme:{common:t,self:n,peers:a={}}={},themeOverrides:o={},builtinThemeOverrides:c={}}=i,{common:l,peers:u}=o,{common:d=void 0,[e]:{common:f=void 0,self:p=void 0,peers:m={}}={}}=s?.mergedThemeRef.value||{},{common:h=void 0,[e]:g={}}=s?.mergedThemeOverridesRef.value||{},{common:_,peers:v={}}=g,y=dd({},t||f||d||r.common,h,_,l);return{common:y,self:dd((n||p||r.self)?.(y),c,g,o),peers:dd({},r.peers,m,a),peerOverrides:dd({},c.peers,v,u)}})}xd.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object};var Z={neutralBase:`#FFF`,neutralInvertBase:`#000`,neutralTextBase:`#000`,neutralPopover:`#fff`,neutralCard:`#fff`,neutralModal:`#fff`,neutralBody:`#fff`,alpha1:`0.82`,alpha2:`0.72`,alpha3:`0.38`,alpha4:`0.24`,alpha5:`0.18`,alphaClose:`0.6`,alphaDisabled:`0.5`,alphaDisabledInput:`0.02`,alphaPending:`0.05`,alphaTablePending:`0.02`,alphaPressed:`0.07`,alphaAvatar:`0.2`,alphaRail:`0.14`,alphaProgressRail:`.08`,alphaBorder:`0.12`,alphaDivider:`0.06`,alphaInput:`0`,alphaAction:`0.02`,alphaTab:`0.04`,alphaScrollbar:`0.25`,alphaScrollbarHover:`0.4`,alphaCode:`0.05`,alphaTag:`0.02`,primaryHover:`#36ad6a`,primaryDefault:`#18a058`,primaryActive:`#0c7a43`,primarySuppl:`#36ad6a`,infoHover:`#4098fc`,infoDefault:`#2080f0`,infoActive:`#1060c9`,infoSuppl:`#4098fc`,errorHover:`#de576d`,errorDefault:`#d03050`,errorActive:`#ab1f3f`,errorSuppl:`#de576d`,warningHover:`#fcb040`,warningDefault:`#f0a020`,warningActive:`#c97c10`,warningSuppl:`#fcb040`,successHover:`#36ad6a`,successDefault:`#18a058`,successActive:`#0c7a43`,successSuppl:`#36ad6a`},Sd=Ts(Z.neutralBase),Cd=Ts(Z.neutralInvertBase),wd=`rgba(${Cd.slice(0,3).join(`, `)}, `;function Td(e){return`${wd+String(e)})`}function Q(e){let t=Array.from(Cd);return t[3]=Number(e),ks(Sd,t)}var Ed=Object.assign(Object.assign({name:`common`},md),{baseColor:Z.neutralBase,primaryColor:Z.primaryDefault,primaryColorHover:Z.primaryHover,primaryColorPressed:Z.primaryActive,primaryColorSuppl:Z.primarySuppl,infoColor:Z.infoDefault,infoColorHover:Z.infoHover,infoColorPressed:Z.infoActive,infoColorSuppl:Z.infoSuppl,successColor:Z.successDefault,successColorHover:Z.successHover,successColorPressed:Z.successActive,successColorSuppl:Z.successSuppl,warningColor:Z.warningDefault,warningColorHover:Z.warningHover,warningColorPressed:Z.warningActive,warningColorSuppl:Z.warningSuppl,errorColor:Z.errorDefault,errorColorHover:Z.errorHover,errorColorPressed:Z.errorActive,errorColorSuppl:Z.errorSuppl,textColorBase:Z.neutralTextBase,textColor1:`rgb(31, 34, 37)`,textColor2:`rgb(51, 54, 57)`,textColor3:`rgb(118, 124, 130)`,textColorDisabled:Q(Z.alpha4),placeholderColor:Q(Z.alpha4),placeholderColorDisabled:Q(Z.alpha5),iconColor:Q(Z.alpha4),iconColorHover:js(Q(Z.alpha4),{lightness:.75}),iconColorPressed:js(Q(Z.alpha4),{lightness:.9}),iconColorDisabled:Q(Z.alpha5),opacity1:Z.alpha1,opacity2:Z.alpha2,opacity3:Z.alpha3,opacity4:Z.alpha4,opacity5:Z.alpha5,dividerColor:`rgb(239, 239, 245)`,borderColor:`rgb(224, 224, 230)`,closeIconColor:Q(Number(Z.alphaClose)),closeIconColorHover:Q(Number(Z.alphaClose)),closeIconColorPressed:Q(Number(Z.alphaClose)),closeColorHover:`rgba(0, 0, 0, .09)`,closeColorPressed:`rgba(0, 0, 0, .13)`,clearColor:Q(Z.alpha4),clearColorHover:js(Q(Z.alpha4),{lightness:.75}),clearColorPressed:js(Q(Z.alpha4),{lightness:.9}),scrollbarColor:Td(Z.alphaScrollbar),scrollbarColorHover:Td(Z.alphaScrollbarHover),scrollbarWidth:`5px`,scrollbarHeight:`5px`,scrollbarBorderRadius:`5px`,progressRailColor:Q(Z.alphaProgressRail),railColor:`rgb(219, 219, 223)`,popoverColor:Z.neutralPopover,tableColor:Z.neutralCard,cardColor:Z.neutralCard,modalColor:Z.neutralModal,bodyColor:Z.neutralBody,tagColor:`#eee`,avatarColor:Q(Z.alphaAvatar),invertedColor:`rgb(0, 20, 40)`,inputColor:Q(Z.alphaInput),codeColor:`rgb(244, 244, 248)`,tabColor:`rgb(247, 247, 250)`,actionColor:`rgb(250, 250, 252)`,tableHeaderColor:`rgb(250, 250, 252)`,hoverColor:`rgb(243, 243, 245)`,tableColorHover:`rgba(0, 0, 100, 0.03)`,tableColorStriped:`rgba(0, 0, 100, 0.02)`,pressedColor:`rgb(237, 237, 239)`,opacityDisabled:Z.alphaDisabled,inputColorDisabled:`rgb(250, 250, 252)`,buttonColor2:`rgba(46, 51, 56, .05)`,buttonColor2Hover:`rgba(46, 51, 56, .09)`,buttonColor2Pressed:`rgba(46, 51, 56, .13)`,boxShadow1:`0 1px 2px -2px rgba(0, 0, 0, .08), 0 3px 6px 0 rgba(0, 0, 0, .06), 0 5px 12px 4px rgba(0, 0, 0, .04)`,boxShadow2:`0 3px 6px -4px rgba(0, 0, 0, .12), 0 6px 16px 0 rgba(0, 0, 0, .08), 0 9px 28px 8px rgba(0, 0, 0, .05)`,boxShadow3:`0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)`}),Dd=typeof document<`u`;function Od(e){return typeof e==`object`||`displayName`in e||`props`in e||`__vccOpts`in e}function kd(e){return e.__esModule||e[Symbol.toStringTag]===`Module`||e.default&&Od(e.default)}var $=Object.assign;function Ad(e,t){let n={};for(let r in t){let i=t[r];n[r]=Md(i)?i.map(e):e(i)}return n}var jd=()=>{},Md=Array.isArray;function Nd(e,t){let n={};for(let r in e)n[r]=r in t?t[r]:e[r];return n}var Pd=Symbol(``);function Fd(e,t){return $(Error(),{type:e,[Pd]:!0},t)}function Id(e,t){return e instanceof Error&&Pd in e&&(t==null||!!(e.type&t))}var Ld=Symbol(``),Rd=Symbol(``),zd=Symbol(``),Bd=Symbol(``),Vd=Symbol(``);function Hd(){return R(zd)}function Ud(e){return R(Bd)}var Wd=/#/g,Gd=/&/g,Kd=/\//g,qd=/=/g,Jd=/\?/g,Yd=/\+/g,Xd=/%5B/g,Zd=/%5D/g,Qd=/%5E/g,$d=/%60/g,ef=/%7B/g,tf=/%7C/g,nf=/%7D/g,rf=/%20/g;function af(e){return e==null?``:encodeURI(``+e).replace(tf,`|`).replace(Xd,`[`).replace(Zd,`]`)}function of(e){return af(e).replace(ef,`{`).replace(nf,`}`).replace(Qd,`^`)}function sf(e){return af(e).replace(Yd,`%2B`).replace(rf,`+`).replace(Wd,`%23`).replace(Gd,`%26`).replace($d,"`").replace(ef,`{`).replace(nf,`}`).replace(Qd,`^`)}function cf(e){return sf(e).replace(qd,`%3D`)}function lf(e){return af(e).replace(Wd,`%23`).replace(Jd,`%3F`)}function uf(e){return lf(e).replace(Kd,`%2F`)}function df(e){if(e==null)return null;try{return decodeURIComponent(``+e)}catch{}return``+e}var ff=/\/$/,pf=e=>e.replace(ff,``);function mf(e,t,n=`/`){let r,i={},a=``,o=``,s=t.indexOf(`#`),c=t.indexOf(`?`);return c=s>=0&&c>s?-1:c,c>=0&&(r=t.slice(0,c),a=t.slice(c,s>0?s:t.length),i=e(a.slice(1))),s>=0&&(r||=t.slice(0,s),o=t.slice(s,t.length)),r=Sf(r??t,n),{fullPath:r+a+o,path:r,query:i,hash:df(o)}}function hf(e,t){let n=t.query?e(t.query):``;return t.path+(n&&`?`)+n+(t.hash||``)}function gf(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||`/`}function _f(e,t,n){let r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&vf(t.matched[r],n.matched[i])&&yf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function vf(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function yf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!bf(e[n],t[n]))return!1;return!0}function bf(e,t){return Md(e)?xf(e,t):Md(t)?xf(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function xf(e,t){return Md(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function Sf(e,t){if(e.startsWith(`/`))return e;if(!e)return t;let n=t.split(`/`),r=e.split(`/`),i=r[r.length-1];(i===`..`||i===`.`)&&r.push(``);let a=n.length-1,o,s;for(o=0;o<r.length;o++)if(s=r[o],s!==`.`)if(s===`..`)a>1&&a--;else break;return n.slice(0,a).join(`/`)+`/`+r.slice(o).join(`/`)}var Cf={path:`/`,name:void 0,params:{},query:{},hash:``,fullPath:`/`,matched:[],meta:{},redirectedFrom:void 0};function wf(e){if(!e)if(Dd){let t=document.querySelector(`base`);e=t&&t.getAttribute(`href`)||`/`,e=e.replace(/^\w+:\/\/[^/]+/,``)}else e=`/`;return e[0]!==`/`&&e[0]!==`#`&&(e=`/`+e),pf(e)}var Tf=/^[^#]+#/;function Ef(e,t){return e.replace(Tf,`#`)+t}function Df(e,t){let n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}var Of=()=>({left:window.scrollX,top:window.scrollY});function kf(e){let t;if(`el`in e){let n=e.el,r=typeof n==`string`&&n.startsWith(`#`),i=typeof n==`string`?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=Df(i,e)}else t=e;`scrollBehavior`in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left==null?window.scrollX:t.left,t.top==null?window.scrollY:t.top)}function Af(e,t){return(history.state?history.state.position-t:-1)+e}var jf=new Map;function Mf(e,t){jf.set(e,t)}function Nf(e){let t=jf.get(e);return jf.delete(e),t}function Pf(e){return typeof e==`string`||e&&typeof e==`object`}function Ff(e){return typeof e==`string`||typeof e==`symbol`}function If(e){let t={};if(e===``||e===`?`)return t;let n=(e[0]===`?`?e.slice(1):e).split(`&`);for(let e=0;e<n.length;++e){let r=n[e].replace(Yd,` `),i=r.indexOf(`=`),a=df(i<0?r:r.slice(0,i)),o=i<0?null:df(r.slice(i+1));if(a in t){let e=t[a];Md(e)||(e=t[a]=[e]),e.push(o)}else t[a]=o}return t}function Lf(e){let t=``;for(let n in e){let r=e[n];if(n=cf(n),r==null){r!==void 0&&(t+=(t.length?`&`:``)+n);continue}(Md(r)?r.map(e=>e&&sf(e)):[r&&sf(r)]).forEach(e=>{e!==void 0&&(t+=(t.length?`&`:``)+n,e!=null&&(t+=`=`+e))})}return t}function Rf(e){let t={};for(let n in e){let r=e[n];r!==void 0&&(t[n]=Md(r)?r.map(e=>e==null?null:``+e):r==null?r:``+r)}return t}function zf(){let e=[];function t(t){return e.push(t),()=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Bf(e,t,n,r,i,a=e=>e()){let o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,c)=>{let l=e=>{e===!1?c(Fd(4,{from:n,to:t})):e instanceof Error?c(e):Pf(e)?c(Fd(2,{from:t,to:e})):(o&&r.enterCallbacks[i]===o&&typeof e==`function`&&o.push(e),s())},u=a(()=>e.call(r&&r.instances[i],t,n,l)),d=Promise.resolve(u);e.length<3&&(d=d.then(l)),d.catch(e=>c(e))})}function Vf(e,t,n,r,i=e=>e()){let a=[];for(let o of e)for(let e in o.components){let s=o.components[e];if(!(t!==`beforeRouteEnter`&&!o.instances[e]))if(Od(s)){let c=(s.__vccOpts||s)[t];c&&a.push(Bf(c,n,r,o,e,i))}else{let c=s();a.push(()=>c.then(a=>{if(!a)throw Error(`Couldn't resolve component "${e}" at "${o.path}"`);let s=kd(a)?a.default:a;o.mods[e]=a,o.components[e]=s;let c=(s.__vccOpts||s)[t];return c&&Bf(c,n,r,o,e,i)()}))}}return a}function Hf(e,t){let n=[],r=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;o<a;o++){let a=t.matched[o];a&&(e.matched.find(e=>vf(e,a))?r.push(a):n.push(a));let s=e.matched[o];s&&(t.matched.find(e=>vf(e,s))||i.push(s))}return[n,r,i]}var Uf=()=>location.protocol+`//`+location.host;function Wf(e,t){let{pathname:n,search:r,hash:i}=t,a=e.indexOf(`#`);if(a>-1){let t=i.includes(e.slice(a))?e.slice(a).length:1,n=i.slice(t);return n[0]!==`/`&&(n=`/`+n),gf(n,``)}return gf(n,e)+r+i}function Gf(e,t,n,r){let i=[],a=[],o=null,s=({state:a})=>{let s=Wf(e,location),c=n.value,l=t.value,u=0;if(a){if(n.value=s,t.value=a,o&&o===c){o=null;return}u=l?a.position-l.position:0}else r(s);i.forEach(e=>{e(n.value,c,{delta:u,type:`pop`,direction:u?u>0?`forward`:`back`:``})})};function c(){o=n.value}function l(e){i.push(e);let t=()=>{let t=i.indexOf(e);t>-1&&i.splice(t,1)};return a.push(t),t}function u(){if(document.visibilityState===`hidden`){let{history:e}=window;if(!e.state)return;e.replaceState($({},e.state,{scroll:Of()}),``)}}function d(){for(let e of a)e();a=[],window.removeEventListener(`popstate`,s),window.removeEventListener(`pagehide`,u),document.removeEventListener(`visibilitychange`,u)}return window.addEventListener(`popstate`,s),window.addEventListener(`pagehide`,u),document.addEventListener(`visibilitychange`,u),{pauseListeners:c,listen:l,destroy:d}}function Kf(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?Of():null}}function qf(e){let{history:t,location:n}=window,r={value:Wf(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(r,a,o){let s=e.indexOf(`#`),c=s>-1?(n.host&&document.querySelector(`base`)?e:e.slice(s))+r:Uf()+e+r;try{t[o?`replaceState`:`pushState`](a,``,c),i.value=a}catch(e){console.error(e),n[o?`replace`:`assign`](c)}}function o(e,n){a(e,$({},t.state,Kf(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),r.value=e}function s(e,n){let o=$({},i.value,t.state,{forward:e,scroll:Of()});a(o.current,o,!0),a(e,$({},Kf(r.value,e,null),{position:o.position+1},n),!1),r.value=e}return{location:r,state:i,push:s,replace:o}}function Jf(e){e=wf(e);let t=qf(e),n=Gf(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}let i=$({location:``,base:e,go:r,createHref:Ef.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}var Yf={type:0,value:``},Xf=/[a-zA-Z0-9_]/;function Zf(e){if(!e)return[[]];if(e===`/`)return[[Yf]];if(!e.startsWith(`/`))throw Error(`Invalid path "${e}"`);function t(e){throw Error(`ERR (${n})/"${l}": ${e}`)}let n=0,r=n,i=[],a;function o(){a&&i.push(a),a=[]}let s=0,c,l=``,u=``;function d(){l&&=(n===0?a.push({type:0,value:l}):n===1||n===2||n===3?(a.length>1&&(c===`*`||c===`+`)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:l,regexp:u,repeatable:c===`*`||c===`+`,optional:c===`*`||c===`?`})):t(`Invalid state to consume buffer`),``)}function f(){l+=c}for(;s<e.length;)switch(c=e[s++],n){case 0:c===`\\`?(r=n,n=4):c===`/`?(l&&d(),o()):c===`:`?(d(),n=1):f();break;case 4:f(),n=r;break;case 1:c===`(`?n=2:Xf.test(c)?f():(d(),n=0,c!==`*`&&c!==`?`&&c!==`+`&&s--);break;case 2:c===`)`?u[u.length-1]==`\\`?u=u.slice(0,-1)+c:n=3:u+=c;break;case 3:d(),n=0,c!==`*`&&c!==`?`&&c!==`+`&&s--,u=``;break;default:t(`Unknown state`);break}return n===2&&t(`Unfinished custom RegExp for param "${l}"`),d(),o(),i}var Qf=`[^/]+?`,$f={sensitive:!1,strict:!1,start:!0,end:!0},ep=/[.+*?^${}()[\]/\\]/g;function tp(e,t){let n=$({},$f,t),r=[],i=n.start?`^`:``,a=[];for(let t of e){let e=t.length?[]:[90];n.strict&&!t.length&&(i+=`/`);for(let r=0;r<t.length;r++){let o=t[r],s=40+(n.sensitive?.25:0);if(o.type===0)r||(i+=`/`),i+=o.value.replace(ep,`\\$&`),s+=40;else if(o.type===1){let{value:e,repeatable:n,optional:c,regexp:l}=o;a.push({name:e,repeatable:n,optional:c});let u=l||Qf;if(u!==Qf){s+=10;try{RegExp(`(${u})`)}catch(t){throw Error(`Invalid custom RegExp for param "${e}" (${u}): `+t.message)}}let d=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;r||(d=c&&t.length<2?`(?:/${d})`:`/`+d),c&&(d+=`?`),i+=d,s+=20,c&&(s+=-8),n&&(s+=-20),u===`.*`&&(s+=-50)}e.push(s)}r.push(e)}if(n.strict&&n.end){let e=r.length-1;r[e][r[e].length-1]+=.7000000000000001}n.strict||(i+=`/?`),n.end?i+=`$`:n.strict&&!i.endsWith(`/`)&&(i+=`(?:/|$)`);let o=new RegExp(i,n.sensitive?``:`i`);function s(e){let t=e.match(o),n={};if(!t)return null;for(let e=1;e<t.length;e++){let r=t[e]||``,i=a[e-1];n[i.name]=r&&i.repeatable?r.split(`/`):r}return n}function c(t){let n=``,r=!1;for(let i of e){(!r||!n.endsWith(`/`))&&(n+=`/`),r=!1;for(let e of i)if(e.type===0)n+=e.value;else if(e.type===1){let{value:a,repeatable:o,optional:s}=e,c=a in t?t[a]:``;if(Md(c)&&!o)throw Error(`Provided param "${a}" is an array but it is not repeatable (* or + modifiers)`);let l=Md(c)?c.join(`/`):c;if(!l)if(s)i.length<2&&(n.endsWith(`/`)?n=n.slice(0,-1):r=!0);else throw Error(`Missing required param "${a}"`);n+=l}}return n||`/`}return{re:o,score:r,keys:a,parse:s,stringify:c}}function np(e,t){let n=0;for(;n<e.length&&n<t.length;){let r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function rp(e,t){let n=0,r=e.score,i=t.score;for(;n<r.length&&n<i.length;){let e=np(r[n],i[n]);if(e)return e;n++}if(Math.abs(i.length-r.length)===1){if(ip(r))return 1;if(ip(i))return-1}return i.length-r.length}function ip(e){let t=e[e.length-1];return e.length>0&&t[t.length-1]<0}var ap={strict:!1,end:!0,sensitive:!1};function op(e,t,n){let r=$(tp(Zf(e.path),n),{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function sp(e,t){let n=[],r=new Map;t=Nd(ap,t);function i(e){return r.get(e)}function a(e,n,r){let i=!r,s=lp(e);s.aliasOf=r&&r.record;let l=Nd(t,e),u=[s];if(`alias`in e){let t=typeof e.alias==`string`?[e.alias]:e.alias;for(let e of t)u.push(lp($({},s,{components:r?r.record.components:s.components,path:e,aliasOf:r?r.record:s})))}let d,f;for(let t of u){let{path:u}=t;if(n&&u[0]!==`/`){let e=n.record.path,r=e[e.length-1]===`/`?``:`/`;t.path=n.record.path+(u&&r+u)}if(d=op(t,n,l),r?r.alias.push(d):(f||=d,f!==d&&f.alias.push(d),i&&e.name&&!dp(d)&&o(e.name)),hp(d)&&c(d),s.children){let e=s.children;for(let t=0;t<e.length;t++)a(e[t],d,r&&r.children[t])}r||=d}return f?()=>{o(f)}:jd}function o(e){if(Ff(e)){let t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{let t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function s(){return n}function c(e){let t=pp(e,n);n.splice(t,0,e),e.record.name&&!dp(e)&&r.set(e.record.name,e)}function l(e,t){let i,a={},o,s;if(`name`in e&&e.name){if(i=r.get(e.name),!i)throw Fd(1,{location:e});s=i.record.name,a=$(cp(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&cp(e.params,i.keys.map(e=>e.name))),o=i.stringify(a)}else if(e.path!=null)o=e.path,i=n.find(e=>e.re.test(o)),i&&(a=i.parse(o),s=i.record.name,i.keys.forEach(e=>{e.optional&&!a[e.name]&&delete a[e.name]}));else{if(i=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw Fd(1,{location:e,currentLocation:t});s=i.record.name,a=$({},t.params,e.params),o=i.stringify(a)}let c=[],l=i;for(;l;)c.unshift(l.record),l=l.parent;return{name:s,path:o,params:a,matched:c,meta:fp(c)}}e.forEach(e=>a(e));function u(){n.length=0,r.clear()}return{addRoute:a,resolve:l,removeRoute:o,clearRoutes:u,getRoutes:s,getRecordMatcher:i}}function cp(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function lp(e){let t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:up(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:`components`in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function up(e){let t={},n=e.props||!1;if(`component`in e)t.default=n;else for(let r in e.components)t[r]=typeof n==`object`?n[r]:n;return t}function dp(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function fp(e){return e.reduce((e,t)=>$(e,t.meta),{})}function pp(e,t){let n=0,r=t.length;for(;n!==r;){let i=n+r>>1;rp(e,t[i])<0?r=i:n=i+1}let i=mp(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function mp(e){let t=e;for(;t=t.parent;)if(hp(t)&&rp(e,t)===0)return t}function hp({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function gp(e){let t=R(zd),n=R(Bd),r=K(()=>{let n=Zt(e.to);return t.resolve(n)}),i=K(()=>{let{matched:e}=r.value,{length:t}=e,i=e[t-1],a=n.matched;if(!i||!a.length)return-1;let o=a.findIndex(vf.bind(null,i));if(o>-1)return o;let s=xp(e[t-2]);return t>1&&xp(i)===s&&a[a.length-1].path!==s?a.findIndex(vf.bind(null,e[t-2])):o}),a=K(()=>i.value>-1&&bp(n.params,r.value.params)),o=K(()=>i.value>-1&&i.value===n.matched.length-1&&yf(n.params,r.value.params));function s(n={}){if(yp(n)){let n=t[Zt(e.replace)?`replace`:`push`](Zt(e.to)).catch(jd);return e.viewTransition&&typeof document<`u`&&`startViewTransition`in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}return{route:r,href:K(()=>r.value.href),isActive:a,isExactActive:o,navigate:s}}function _p(e){return e.length===1?e[0]:e}var vp=Tr({name:`RouterLink`,compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:`page`},viewTransition:Boolean},useLink:gp,setup(e,{slots:t}){let n=Lt(gp(e)),{options:r}=R(zd),i=K(()=>({[Sp(e.activeClass,r.linkActiveClass,`router-link-active`)]:n.isActive,[Sp(e.exactActiveClass,r.linkExactActiveClass,`router-link-exact-active`)]:n.isExactActive}));return()=>{let r=t.default&&_p(t.default(n));return e.custom?r:uo(`a`,{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}});function yp(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){let t=e.currentTarget.getAttribute(`target`);if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function bp(e,t){for(let n in t){let r=t[n],i=e[n];if(typeof r==`string`){if(r!==i)return!1}else if(!Md(i)||i.length!==r.length||r.some((e,t)=>e.valueOf()!==i[t].valueOf()))return!1}return!0}function xp(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}var Sp=(e,t,n)=>e??t??n,Cp=Tr({name:`RouterView`,inheritAttrs:!1,props:{name:{type:String,default:`default`},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){let r=R(Vd),i=K(()=>e.route||r.value),a=R(Rd,0),o=K(()=>{let e=Zt(a),{matched:t}=i.value,n;for(;(n=t[e])&&!n.components;)e++;return e}),s=K(()=>i.value.matched[o.value]);Bn(Rd,K(()=>o.value+1)),Bn(Ld,s),Bn(Vd,i);let c=qt();return Kn(()=>[c.value,s.value,e.name],([e,t,n],[r,i,a])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),e&&t&&(!i||!vf(t,i)||!r)&&(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:`post`}),()=>{let r=i.value,a=e.name,o=s.value,l=o&&o.components[a];if(!l)return wp(n.default,{Component:l,route:r});let u=o.props[a],d=uo(l,$({},u?u===!0?r.params:typeof u==`function`?u(r):u:null,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(o.instances[a]=null)},ref:c}));return wp(n.default,{Component:d,route:r})||d}}});function wp(e,t){if(!e)return null;let n=e(t);return n.length===1?n[0]:n}var Tp=Cp;function Ep(e){let t=sp(e.routes,e),n=e.parseQuery||If,r=e.stringifyQuery||Lf,i=e.history,a=zf(),o=zf(),s=zf(),c=Jt(Cf),l=Cf;Dd&&e.scrollBehavior&&`scrollRestoration`in history&&(history.scrollRestoration=`manual`);let u=Ad.bind(null,e=>``+e),d=Ad.bind(null,uf),f=Ad.bind(null,df);function p(e,n){let r,i;return Ff(e)?(r=t.getRecordMatcher(e),i=n):i=e,t.addRoute(i,r)}function m(e){let n=t.getRecordMatcher(e);n&&t.removeRoute(n)}function h(){return t.getRoutes().map(e=>e.record)}function g(e){return!!t.getRecordMatcher(e)}function _(e,a){if(a=$({},a||c.value),typeof e==`string`){let r=mf(n,e,a.path),o=t.resolve({path:r.path},a),s=i.createHref(r.fullPath);return $(r,o,{params:f(o.params),redirectedFrom:void 0,href:s})}let o;if(e.path!=null)o=$({},e,{path:mf(n,e.path,a.path).path});else{let t=$({},e.params);for(let e in t)t[e]??delete t[e];o=$({},e,{params:d(t)}),a.params=d(a.params)}let s=t.resolve(o,a),l=e.hash||``;s.params=u(f(s.params));let p=hf(r,$({},e,{hash:of(l),path:s.path})),m=i.createHref(p);return $({fullPath:p,hash:l,query:r===Lf?Rf(e.query):e.query||{}},s,{redirectedFrom:void 0,href:m})}function v(e){return typeof e==`string`?mf(n,e,c.value.path):$({},e)}function y(e,t){if(l!==e)return Fd(8,{from:t,to:e})}function b(e){return C(e)}function x(e){return b($(v(e),{replace:!0}))}function S(e,t){let n=e.matched[e.matched.length-1];if(n&&n.redirect){let{redirect:r}=n,i=typeof r==`function`?r(e,t):r;return typeof i==`string`&&(i=i.includes(`?`)||i.includes(`#`)?i=v(i):{path:i},i.params={}),$({query:e.query,hash:e.hash,params:i.path==null?e.params:{}},i)}}function C(e,t){let n=l=_(e),i=c.value,a=e.state,o=e.force,s=e.replace===!0,u=S(n,i);if(u)return C($(v(u),{state:typeof u==`object`?$({},a,u.state):a,force:o,replace:s}),t||n);let d=n;d.redirectedFrom=t;let f;return!o&&_f(r,i,n)&&(f=Fd(16,{to:d,from:i}),se(i,i,!0,!1)),(f?Promise.resolve(f):ee(d,i)).catch(e=>Id(e)?Id(e,2)?e:oe(e):ae(e,d,i)).then(e=>{if(e){if(Id(e,2))return C($({replace:s},v(e.to),{state:typeof e.to==`object`?$({},a,e.to.state):a,force:o}),t||d)}else e=E(d,i,!0,s,a);return te(d,i,e),e})}function w(e,t){let n=y(e,t);return n?Promise.reject(n):Promise.resolve()}function T(e){let t=ue.values().next().value;return t&&typeof t.runWithContext==`function`?t.runWithContext(e):e()}function ee(e,t){let n,[r,i,s]=Hf(e,t);n=Vf(r.reverse(),`beforeRouteLeave`,e,t);for(let i of r)i.leaveGuards.forEach(r=>{n.push(Bf(r,e,t))});let c=w.bind(null,e,t);return n.push(c),fe(n).then(()=>{n=[];for(let r of a.list())n.push(Bf(r,e,t));return n.push(c),fe(n)}).then(()=>{n=Vf(i,`beforeRouteUpdate`,e,t);for(let r of i)r.updateGuards.forEach(r=>{n.push(Bf(r,e,t))});return n.push(c),fe(n)}).then(()=>{n=[];for(let r of s)if(r.beforeEnter)if(Md(r.beforeEnter))for(let i of r.beforeEnter)n.push(Bf(i,e,t));else n.push(Bf(r.beforeEnter,e,t));return n.push(c),fe(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Vf(s,`beforeRouteEnter`,e,t,T),n.push(c),fe(n))).then(()=>{n=[];for(let r of o.list())n.push(Bf(r,e,t));return n.push(c),fe(n)}).catch(e=>Id(e,8)?e:Promise.reject(e))}function te(e,t,n){s.list().forEach(r=>T(()=>r(e,t,n)))}function E(e,t,n,r,a){let o=y(e,t);if(o)return o;let s=t===Cf,l=Dd?history.state:{};n&&(r||s?i.replace(e.fullPath,$({scroll:s&&l&&l.scroll},a)):i.push(e.fullPath,a)),c.value=e,se(e,t,n,s),oe()}let ne;function D(){ne||=i.listen((e,t,n)=>{if(!de.listening)return;let r=_(e),a=S(r,de.currentRoute.value);if(a){C($(a,{replace:!0,force:!0}),r).catch(jd);return}l=r;let o=c.value;Dd&&Mf(Af(o.fullPath,n.delta),Of()),ee(r,o).catch(e=>Id(e,12)?e:Id(e,2)?(C($(v(e.to),{force:!0}),r).then(e=>{Id(e,20)&&!n.delta&&n.type===`pop`&&i.go(-1,!1)}).catch(jd),Promise.reject()):(n.delta&&i.go(-n.delta,!1),ae(e,r,o))).then(e=>{e||=E(r,o,!1),e&&(n.delta&&!Id(e,8)?i.go(-n.delta,!1):n.type===`pop`&&Id(e,20)&&i.go(-1,!1)),te(r,o,e)}).catch(jd)})}let re=zf(),ie=zf(),O;function ae(e,t,n){oe(e);let r=ie.list();return r.length?r.forEach(r=>r(e,t,n)):console.error(e),Promise.reject(e)}function k(){return O&&c.value!==Cf?Promise.resolve():new Promise((e,t)=>{re.add([e,t])})}function oe(e){return O||(O=!e,D(),re.list().forEach(([t,n])=>e?n(e):t()),re.reset()),e}function se(t,n,r,i){let{scrollBehavior:a}=e;if(!Dd||!a)return Promise.resolve();let o=!r&&Nf(Af(t.fullPath,0))||(i||!r)&&history.state&&history.state.scroll||null;return En().then(()=>a(t,n,o)).then(e=>e&&kf(e)).catch(e=>ae(e,t,n))}let ce=e=>i.go(e),le,ue=new Set,de={currentRoute:c,listening:!0,addRoute:p,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:g,getRoutes:h,resolve:_,options:e,push:b,replace:x,go:ce,back:()=>ce(-1),forward:()=>ce(1),beforeEach:a.add,beforeResolve:o.add,afterEach:s.add,onError:ie.add,isReady:k,install(e){e.component(`RouterLink`,vp),e.component(`RouterView`,Tp),e.config.globalProperties.$router=de,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>Zt(c)}),Dd&&!le&&c.value===Cf&&(le=!0,b(i.location).catch(e=>{}));let t={};for(let e in Cf)Object.defineProperty(t,e,{get:()=>c.value[e],enumerable:!0});e.provide(zd,de),e.provide(Bd,Rt(t)),e.provide(Vd,c);let n=e.unmount;ue.add(e),e.unmount=function(){ue.delete(e),ue.size<1&&(l=Cf,ne&&ne(),ne=null,c.value=Cf,le=!1,O=!1),n()}}};function fe(e){return e.reduce((e,t)=>e.then(()=>T(t)),Promise.resolve())}return de}function Dp(e){return{DeviceHeartbeat(t){let n=JSON.stringify(t),r=[],i=`api/devices/heartbeat`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`DeviceHeartbeat`})},GetDevices(t){let n=[];t.gameID&&n.push(`gameID=${encodeURIComponent(t.gameID.toString())}`);let r=`api/devices`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetDevices`})},GetTasks(t){let n=[],r=`api/tasks`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetTasks`})},GetTaskAssignees(t){let n=[],r=`api/tasks/assignees`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetTaskAssignees`})},CreateTask(t){let n=JSON.stringify(t),r=[],i=`api/tasks`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`CreateTask`})},UpdateTask(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/tasks/${t.ID}`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`UpdateTask`})},SetTaskStatus(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/tasks/${t.ID}/status`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`SetTaskStatus`})},DeleteTask(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/tasks/${t.ID}/delete`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`DeleteTask`})},GetParticipation(t){let n=JSON.stringify(t),r=[],i=`api/participation/get`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`GetParticipation`})},AnswerParticipation(t){let n=JSON.stringify(t),r=[],i=`api/participation/answer`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`AnswerParticipation`})},Ping(t){let n=[],r=`api/test/ping`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`Ping`})},Echo(t){let n=[];t.text&&n.push(`text=${encodeURIComponent(t.text.toString())}`);let r=`api/test/echo`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`POST`,body:null},{service:`EveningDetectiveServer`,method:`Echo`})},Signup(t){let n=JSON.stringify(t),r=[],i=`api/auth/signup`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`Signup`})},RefreshPassword(t){let n=JSON.stringify(t),r=[],i=`api/auth/refresh-password`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`RefreshPassword`})},Login(t){let n=JSON.stringify(t),r=[],i=`api/auth/login`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`Login`})},Refresh(t){let n=JSON.stringify(t),r=[],i=`api/auth/refresh`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`Refresh`})},DeleteAccount(t){let n=[],r=`api/auth/delete-account`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`DELETE`,body:null},{service:`EveningDetectiveServer`,method:`DeleteAccount`})},GetTerms(t){let n=[],r=`api/terms`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetTerms`})},GetPrivacy(t){let n=[],r=`api/privacy`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetPrivacy`})},GetConsent(t){let n=[],r=`api/consent`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetConsent`})},GetUsers(t){let n=[],r=`api/users`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetUsers`})},GetUserByID(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/users/${t.ID}`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetUserByID`})},GetMe(t){let n=[],r=`api/users/me`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetMe`})},ChangeUserPassword(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/users/${t.ID}/password`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`ChangeUserPassword`})},AddUserRole(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/users/${t.ID}/role/add`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`AddUserRole`})},DeleteUserRole(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/users/${t.ID}/role/delete`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`DeleteUserRole`})},GetPermissions(t){let n=[],r=`api/ui/permissions`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetPermissions`})},UploadFile(t){let n=JSON.stringify(t),r=[],i=`api/files/upload`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`UploadFile`})},DownloadFile(t){if(!t.filename)throw Error(`missing required field request.filename`);let n=`api/files/${t.filename}`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`DownloadFile`})},GetPlaylists(t){let n=[],r=`api/playlists`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetPlaylists`})},CreatePlaylist(t){let n=JSON.stringify(t),r=[],i=`api/playlists`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`CreatePlaylist`})},UpdatePlaylist(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/playlists/${t.ID}`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`UpdatePlaylist`})},DeletePlaylist(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/playlists/${t.ID}`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`DELETE`,body:null},{service:`EveningDetectiveServer`,method:`DeletePlaylist`})},UploadPlaylistTrack(t){if(!t.playlistID)throw Error(`missing required field request.playlistID`);let n=`api/playlists/${t.playlistID}/tracks`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`UploadPlaylistTrack`})},DeletePlaylistTrack(t){if(!t.playlistID)throw Error(`missing required field request.playlistID`);if(!t.trackID)throw Error(`missing required field request.trackID`);let n=`api/playlists/${t.playlistID}/tracks/${t.trackID}`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`DELETE`,body:null},{service:`EveningDetectiveServer`,method:`DeletePlaylistTrack`})},SetScenarioPlaylist(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/scenarios/${t.ID}/playlist`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`SetScenarioPlaylist`})},AddScenario(t){let n=JSON.stringify(t),r=[],i=`api/scenario`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`AddScenario`})},GetMyScenarios(t){let n=[],r=`api/my-scenarios`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetMyScenarios`})},GetScenariosCatalog(t){let n=[],r=`api/catalog`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetScenariosCatalog`})},GetFullScenario(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/scenarios/${t.ID}/full`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetFullScenario`})},GetScenario(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/scenarios/${t.ID}`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetScenario`})},UpdateScenario(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/scenarios/${t.ID}`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`UpdateScenario`})},PublicScenario(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/scenarios/${t.ID}/public`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`PublicScenario`})},DraftScenario(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/scenarios/${t.ID}/draft`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`DraftScenario`})},DeleteScenario(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/scenarios/${t.ID}`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`DELETE`,body:null},{service:`EveningDetectiveServer`,method:`DeleteScenario`})},AddScenarioPlace(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/scenarios/${t.ID}/places`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`AddScenarioPlace`})},UpdateScenarioPlace(t){if(!t.ID)throw Error(`missing required field request.ID`);if(!t.code)throw Error(`missing required field request.code`);let n=`api/scenarios/${t.ID}/places/${t.code}`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`UpdateScenarioPlace`})},DeleteScenarioPlace(t){if(!t.ID)throw Error(`missing required field request.ID`);if(!t.code)throw Error(`missing required field request.code`);let n=`api/scenarios/${t.ID}/places/${t.code}`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`DELETE`,body:null},{service:`EveningDetectiveServer`,method:`DeleteScenarioPlace`})},AddScenarioQuestion(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/scenarios/${t.ID}/questions`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`AddScenarioQuestion`})},UpdateScenarioQuestion(t){if(!t.ID)throw Error(`missing required field request.ID`);if(!t.code)throw Error(`missing required field request.code`);let n=`api/scenarios/${t.ID}/questions/${t.code}`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`UpdateScenarioQuestion`})},DeleteScenarioQuestion(t){if(!t.ID)throw Error(`missing required field request.ID`);if(!t.code)throw Error(`missing required field request.code`);let n=`api/scenarios/${t.ID}/questions/${t.code}`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`DELETE`,body:null},{service:`EveningDetectiveServer`,method:`DeleteScenarioQuestion`})},UpdateScenarioBackground(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/scenarios/${t.ID}/background`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`UpdateScenarioBackground`})},UpdateScenarioIntro(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/scenarios/${t.ID}/introduction`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`UpdateScenarioIntro`})},UpdateScenarioConclusion(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/scenarios/${t.ID}/conclusion`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`UpdateScenarioConclusion`})},DownloadScenarioArchive(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/scenarios/${t.ID}/archive`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`DownloadScenarioArchive`})},UploadScenarioArchive(t){let n=JSON.stringify(t),r=[],i=`api/scenarios/archive`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`UploadScenarioArchive`})},AddGame(t){let n=JSON.stringify(t),r=[],i=`api/games`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`AddGame`})},GetGames(t){let n=[],r=`api/games`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetGames`})},GetGame(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/games/${t.ID}`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetGame`})},ImportGame(t){let n=JSON.stringify(t),r=[],i=`api/games/import`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`ImportGame`})},DownloadGameResultsPackage(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/games/${t.ID}/results-package/download`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`DownloadGameResultsPackage`})},ApplyGameResultsPackage(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/games/${t.ID}/results-package/apply`,r=JSON.stringify(t?.package??{}),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`ApplyGameResultsPackage`})},StartGameExport(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/games/${t.ID}/export`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`StartGameExport`})},GetGameExport(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/games/${t.ID}/export`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetGameExport`})},IssueGameTickets(t){if(!t.gameID)throw Error(`missing required field request.gameID`);let n=`api/games/${t.gameID}/tickets`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`IssueGameTickets`})},GetTicket(t){if(!t.token)throw Error(`missing required field request.token`);let n=`api/tickets/${t.token}`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetTicket`})},AcceptTicket(t){if(!t.token)throw Error(`missing required field request.token`);let n=`api/tickets/${t.token}/accept`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`AcceptTicket`})},CreateScreenSession(t){let n=JSON.stringify(t),r=[],i=`api/screens`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`CreateScreenSession`})},GetScreenState(t){let n=JSON.stringify(t),r=[],i=`api/screens/state`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`GetScreenState`})},GetGameScreens(t){if(!t.gameID)throw Error(`missing required field request.gameID`);let n=`api/games/${t.gameID}/screens`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetGameScreens`})},GetGameMusic(t){if(!t.gameID)throw Error(`missing required field request.gameID`);let n=`api/games/${t.gameID}/music`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetGameMusic`})},SetGameMusic(t){if(!t.gameID)throw Error(`missing required field request.gameID`);let n=`api/games/${t.gameID}/music`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`SetGameMusic`})},AdvanceScreenMusic(t){let n=JSON.stringify(t),r=[],i=`api/screens/music/advance`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`AdvanceScreenMusic`})},BindScreen(t){if(!t.screenID)throw Error(`missing required field request.screenID`);let n=`api/screens/${t.screenID}/bind`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`BindScreen`})},UnbindScreen(t){if(!t.screenID)throw Error(`missing required field request.screenID`);let n=`api/screens/${t.screenID}/unbind`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`UnbindScreen`})},SetScreenSound(t){if(!t.screenID)throw Error(`missing required field request.screenID`);let n=`api/screens/${t.screenID}/sound`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`SetScreenSound`})},GetGameMap(t){if(!t.gameID)throw Error(`missing required field request.gameID`);let n=`api/games/${t.gameID}/map`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetGameMap`})},UpdateGameMapItem(t){if(!t.gameID)throw Error(`missing required field request.gameID`);if(!t.kind)throw Error(`missing required field request.kind`);if(!t.itemID)throw Error(`missing required field request.itemID`);let n=`api/games/${t.gameID}/map/items/${t.kind}/${t.itemID}`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`UpdateGameMapItem`})},SetScreenMode(t){if(!t.gameID)throw Error(`missing required field request.gameID`);let n=`api/games/${t.gameID}/screens/mode`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`SetScreenMode`})},SetScreenTimer(t){if(!t.gameID)throw Error(`missing required field request.gameID`);let n=`api/games/${t.gameID}/screens/timer`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`SetScreenTimer`})},SendScreenCommand(t){if(!t.gameID)throw Error(`missing required field request.gameID`);let n=`api/games/${t.gameID}/screens/command`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`SendScreenCommand`})},GetScreenPlan(t){if(!t.gameID)throw Error(`missing required field request.gameID`);let n=`api/games/${t.gameID}/screen-plan`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetScreenPlan`})},SaveScreenPlan(t){if(!t.gameID)throw Error(`missing required field request.gameID`);let n=`api/games/${t.gameID}/screen-plan`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`SaveScreenPlan`})},SetScreenPlanStep(t){if(!t.gameID)throw Error(`missing required field request.gameID`);let n=`api/games/${t.gameID}/screen-plan/step`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`SetScreenPlanStep`})},GetScreenResults(t){let n=JSON.stringify(t),r=[],i=`api/screens/results`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`GetScreenResults`})},DownloadGamePrintMaterials(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/games/${t.ID}/print-materials`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`DownloadGamePrintMaterials`})},PreviewTeamReceipt(t){if(!t.gameID)throw Error(`missing required field request.gameID`);if(!t.teamID)throw Error(`missing required field request.teamID`);let n=`api/games/${t.gameID}/teams/${t.teamID}/receipt.png`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`PreviewTeamReceipt`})},PrintTeamReceipt(t){if(!t.gameID)throw Error(`missing required field request.gameID`);if(!t.teamID)throw Error(`missing required field request.teamID`);let n=`api/games/${t.gameID}/teams/${t.teamID}/receipt/print`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`PrintTeamReceipt`})},DownloadTeamQR(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/games/${t.ID}/teams/qr.pdf`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`DownloadTeamQR`})},GetGameAnswers(t){if(!t.gameID)throw Error(`missing required field request.gameID`);let n=`api/games/${t.gameID}/answers`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetGameAnswers`})},GetGameResults(t){if(!t.gameID)throw Error(`missing required field request.gameID`);let n=`api/games/${t.gameID}/results`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetGameResults`})},CreateGameReview(t){if(!t.gameID)throw Error(`missing required field request.gameID`);let n=`api/games/${t.gameID}/reviews`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`CreateGameReview`})},GetGameReviews(t){if(!t.gameID)throw Error(`missing required field request.gameID`);let n=`api/games/${t.gameID}/reviews`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetGameReviews`})},GetScenarioReviews(t){if(!t.scenarioID)throw Error(`missing required field request.scenarioID`);let n=`api/scenarios/${t.scenarioID}/reviews`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetScenarioReviews`})},GetGameReviewsForModeration(t){if(!t.gameID)throw Error(`missing required field request.gameID`);let n=`api/admin/games/${t.gameID}/reviews`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetGameReviewsForModeration`})},GetReviewsForModeration(t){let n=[],r=`api/admin/game-reviews`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetReviewsForModeration`})},ModerateGameReview(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/admin/game-reviews/${t.ID}`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`ModerateGameReview`})},UpdateGame(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/games/${t.ID}`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`UpdateGame`})},StartGame(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/games/${t.ID}/start`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`StartGame`})},PauseGame(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/games/${t.ID}/pause`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`PauseGame`})},PlayGame(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/games/${t.ID}/play`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`PlayGame`})},FinishGame(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/games/${t.ID}/finish`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`FinishGame`})},ResetGame(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/games/${t.ID}/reset`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`ResetGame`})},DeleteGame(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/games/${t.ID}`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`DELETE`,body:null},{service:`EveningDetectiveServer`,method:`DeleteGame`})},AddTeam(t){let n=JSON.stringify(t),r=[],i=`api/teams`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`AddTeam`})},UpdateTeam(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/teams/${t.ID}`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`UpdateTeam`})},DeleteTeam(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/teams/${t.ID}`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`DELETE`,body:null},{service:`EveningDetectiveServer`,method:`DeleteTeam`})},GiveTeamApplications(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/teams/${t.ID}/applications`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`GiveTeamApplications`})},GetTeamStory(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/teams/${t.ID}/story`,r=[];t.password&&r.push(`password=${encodeURIComponent(t.password.toString())}`);let i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetTeamStory`})},AddTeamAction(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/teams/${t.ID}/actions`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`AddTeamAction`})},DeleteLastTeamAction(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/teams/${t.ID}/last-actions`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`DELETE`,body:null},{service:`EveningDetectiveServer`,method:`DeleteLastTeamAction`})},GetTeamAnswers(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/teams/${t.ID}/answers`,r=[];t.password&&r.push(`password=${encodeURIComponent(t.password.toString())}`);let i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetTeamAnswers`})},SubmitTeamAnswers(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/teams/${t.ID}/answers`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`SubmitTeamAnswers`})},SetTeamAnswerScore(t){if(!t.ID)throw Error(`missing required field request.ID`);if(!t.questionCode)throw Error(`missing required field request.questionCode`);let n=`api/teams/${t.ID}/answers/${t.questionCode}/score`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`SetTeamAnswerScore`})}}}function Op(e,t){return Dp(kp(e,t))}function kp(e,t){return async n=>{let r=`${Ap()}/${n.path}`,i={"Content-Type":`application/json`},a=e?.();a&&(i.Authorization=`Bearer ${a}`);let o=t?.();o&&Object.assign(i,o);let s=await fetch(r,{method:n.method,headers:i,body:n.body});if(s.status==401)throw Error(`unauthorized`);let c=await s.json();if(c&&typeof c==`object`&&`code`in c&&c.code!==0)throw Error(`message`in c&&typeof c.message==`string`?c.message:`Ошибка запроса`);return c}}function Ap(){return`https://evening-detective-api.crabs-games.art`}export{js as $,Cr as $t,nl as A,v as An,Ka as At,Zs as B,zr as Bt,eu as C,s as Cn,La as Ct,ml as D,d as Dn,Ia as Dt,yl as E,ae as En,ni as Et,fc as F,oe as Fn,Oa as Ft,Us as G,Hr as Gt,qs as H,Pr as Ht,dc as I,he as In,ui as It,Vs as J,ti as Jt,Ws as K,xa as Kt,uc as L,ue as Ln,Va as Lt,Kc as M,_e as Mn,uo as Mt,Mc as N,g as Nn,Vn as Nt,sl as O,h as On,W as Ot,Sc as P,_ as Pn,R as Pt,Ts as Q,br as Qt,lc as R,Se as Rn,En as Rt,wu as S,re as Sn,Da as St,Zl as T,ve as Tn,oa as Tt,Ks as U,Br as Ut,Xs as V,Ur as Vt,Gs as W,Wr as Wt,As as X,Xr as Xt,Is as Y,ri as Yt,ks as Z,Qr as Zt,dd as _,P as _n,va as _t,vp as a,Rn as an,Qo as at,qu as b,Zt as bn,K as bt,Jf as c,Ut as cn,es as ct,Ed as d,Wt as dn,Mo as dt,ki as en,ns as et,bd as f,Oe as fn,vr as ft,pd as g,Jt as gn,sr as gt,md as h,qt as hn,V as ht,Dp as i,Ln as in,Zo as it,Jc as j,a as jn,wr as jt,rl as k,o as kn,Tr as kt,Ud as l,Vt as ln,ts as lt,yd as m,zt as mn,H as mt,kp as n,Kn as nn,Xo as nt,Tp as o,Ee as on,$o as ot,xd as p,Lt as pn,mr as pt,Hs as q,Bn as qt,Ap as r,Wn as rn,rs as rt,Ep as s,De as sn,is as st,Op as t,fr as tn,Jo as tt,Hd as u,F as un,Vo as ut,id as v,on as vn,_n as vt,$l as w,D as wn,Ea as wt,Mu as x,E as xn,Ma as xt,$u as y,nn as yn,Fa as yt,cc as z,se as zn,Nr as zt}; |