23 lines
100 KiB
JavaScript
23 lines
100 KiB
JavaScript
"use strict";(self["webpackChunkfrontend"]=self["webpackChunkfrontend"]||[]).push([[504],{953:(e,t,n)=>{n.d(t,{C4:()=>m,EW:()=>Se,Gc:()=>ye,IG:()=>Ce,Kh:()=>de,Pr:()=>$e,X2:()=>l,bl:()=>v,fE:()=>_e,g8:()=>ve,hZ:()=>A,i9:()=>Re,ju:()=>we,o5:()=>a,u4:()=>O,ux:()=>ke,yC:()=>i});var s=n(33);
|
|
/**
|
|
* @vue/reactivity v3.4.31
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let r,o;class i{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=r,!e&&r&&(this.index=(r.scopes||(r.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=r;try{return r=this,e()}finally{r=t}}else 0}on(){r=this}off(){r=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this._active=!1}}}function c(e,t=r){t&&t.active&&t.effects.push(e)}function a(){return r}class l{constructor(e,t,n,s){this.fn=e,this.trigger=t,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,c(this,s)}get dirty(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,m();for(let e=0;e<this._depsLength;e++){const t=this.deps[e];if(t.computed&&(u(t.computed),this._dirtyLevel>=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),v()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=d,t=o;try{return d=!0,o=this,this._runnings++,h(this),this.fn()}finally{p(this),this._runnings--,o=t,d=e}}stop(){this.active&&(h(this),p(this),this.onStop&&this.onStop(),this.active=!1)}}function u(e){return e.value}function h(e){e._trackId++,e._depsLength=0}function p(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)f(e.deps[t],e);e.deps.length=e._depsLength}}function f(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}let d=!0,y=0;const g=[];function m(){g.push(d),d=!1}function v(){const e=g.pop();d=void 0===e||e}function b(){y++}function _(){y--;while(!y&&k.length)k.shift()()}function w(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&f(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const k=[];function C(e,t,n){b();for(const s of e.keys()){let n;s._dirtyLevel<t&&(null!=n?n:n=e.get(s)===s._trackId)&&(s._shouldSchedule||(s._shouldSchedule=0===s._dirtyLevel),s._dirtyLevel=t),s._shouldSchedule&&(null!=n?n:n=e.get(s)===s._trackId)&&(s.trigger(),s._runnings&&!s.allowRecurse||2===s._dirtyLevel||(s._shouldSchedule=!1,s.scheduler&&k.push(s.scheduler)))}_()}const E=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},T=new WeakMap,x=Symbol(""),S=Symbol("");function O(e,t,n){if(d&&o){let t=T.get(e);t||T.set(e,t=new Map);let s=t.get(n);s||t.set(n,s=E((()=>t.delete(n)))),w(o,s,void 0)}}function A(e,t,n,r,o,i){const c=T.get(e);if(!c)return;let a=[];if("clear"===t)a=[...c.values()];else if("length"===n&&(0,s.cy)(e)){const e=Number(r);c.forEach(((t,n)=>{("length"===n||!(0,s.Bm)(n)&&n>=e)&&a.push(t)}))}else switch(void 0!==n&&a.push(c.get(n)),t){case"add":(0,s.cy)(e)?(0,s.yI)(n)&&a.push(c.get("length")):(a.push(c.get(x)),(0,s.CE)(e)&&a.push(c.get(S)));break;case"delete":(0,s.cy)(e)||(a.push(c.get(x)),(0,s.CE)(e)&&a.push(c.get(S)));break;case"set":(0,s.CE)(e)&&a.push(c.get(x));break}b();for(const s of a)s&&C(s,4,void 0);_()}const R=(0,s.pD)("__proto__,__v_isRef,__isVue"),L=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(s.Bm)),B=$();function $(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=ke(this);for(let t=0,r=this.length;t<r;t++)O(n,"get",t+"");const s=n[t](...e);return-1===s||!1===s?n[t](...e.map(ke)):s}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){m(),b();const n=ke(this)[t].apply(this,e);return _(),v(),n}})),e}function N(e){(0,s.Bm)(e)||(e=String(e));const t=ke(this);return O(t,"has",e),t.hasOwnProperty(e)}class F{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const r=this._isReadonly,o=this._isShallow;if("__v_isReactive"===t)return!r;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return o;if("__v_raw"===t)return n===(r?o?he:ue:o?le:ae).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=(0,s.cy)(e);if(!r){if(i&&(0,s.$3)(B,t))return Reflect.get(B,t,n);if("hasOwnProperty"===t)return N}const c=Reflect.get(e,t,n);return((0,s.Bm)(t)?L.has(t):R(t))?c:(r||O(e,"get",t),o?c:Re(c)?i&&(0,s.yI)(t)?c:c.value:(0,s.Gv)(c)?r?ge(c):de(c):c)}}class M extends F{constructor(e=!1){super(!1,e)}set(e,t,n,r){let o=e[t];if(!this._isShallow){const t=be(o);if(_e(n)||be(n)||(o=ke(o),n=ke(n)),!(0,s.cy)(e)&&Re(o)&&!Re(n))return!t&&(o.value=n,!0)}const i=(0,s.cy)(e)&&(0,s.yI)(t)?Number(t)<e.length:(0,s.$3)(e,t),c=Reflect.set(e,t,n,r);return e===ke(r)&&(i?(0,s.$H)(n,o)&&A(e,"set",t,n,o):A(e,"add",t,n)),c}deleteProperty(e,t){const n=(0,s.$3)(e,t),r=e[t],o=Reflect.deleteProperty(e,t);return o&&n&&A(e,"delete",t,void 0,r),o}has(e,t){const n=Reflect.has(e,t);return(0,s.Bm)(t)&&L.has(t)||O(e,"has",t),n}ownKeys(e){return O(e,"iterate",(0,s.cy)(e)?"length":x),Reflect.ownKeys(e)}}class P extends F{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const j=new M,I=new P,U=new M(!0),D=e=>e,q=e=>Reflect.getPrototypeOf(e);function V(e,t,n=!1,r=!1){e=e["__v_raw"];const o=ke(e),i=ke(t);n||((0,s.$H)(t,i)&&O(o,"get",t),O(o,"get",i));const{has:c}=q(o),a=r?D:n?Te:Ee;return c.call(o,t)?a(e.get(t)):c.call(o,i)?a(e.get(i)):void(e!==o&&e.get(t))}function H(e,t=!1){const n=this["__v_raw"],r=ke(n),o=ke(e);return t||((0,s.$H)(e,o)&&O(r,"has",e),O(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function K(e,t=!1){return e=e["__v_raw"],!t&&O(ke(e),"iterate",x),Reflect.get(e,"size",e)}function W(e){e=ke(e);const t=ke(this),n=q(t),s=n.has.call(t,e);return s||(t.add(e),A(t,"add",e,e)),this}function Z(e,t){t=ke(t);const n=ke(this),{has:r,get:o}=q(n);let i=r.call(n,e);i||(e=ke(e),i=r.call(n,e));const c=o.call(n,e);return n.set(e,t),i?(0,s.$H)(t,c)&&A(n,"set",e,t,c):A(n,"add",e,t),this}function X(e){const t=ke(this),{has:n,get:s}=q(t);let r=n.call(t,e);r||(e=ke(e),r=n.call(t,e));const o=s?s.call(t,e):void 0,i=t.delete(e);return r&&A(t,"delete",e,void 0,o),i}function G(){const e=ke(this),t=0!==e.size,n=void 0,s=e.clear();return t&&A(e,"clear",void 0,void 0,n),s}function z(e,t){return function(n,s){const r=this,o=r["__v_raw"],i=ke(o),c=t?D:e?Te:Ee;return!e&&O(i,"iterate",x),o.forEach(((e,t)=>n.call(s,c(e),c(t),r)))}}function Y(e,t,n){return function(...r){const o=this["__v_raw"],i=ke(o),c=(0,s.CE)(i),a="entries"===e||e===Symbol.iterator&&c,l="keys"===e&&c,u=o[e](...r),h=n?D:t?Te:Ee;return!t&&O(i,"iterate",l?S:x),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:a?[h(e[0]),h(e[1])]:h(e),done:t}},[Symbol.iterator](){return this}}}}function J(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function Q(){const e={get(e){return V(this,e)},get size(){return K(this)},has:H,add:W,set:Z,delete:X,clear:G,forEach:z(!1,!1)},t={get(e){return V(this,e,!1,!0)},get size(){return K(this)},has:H,add:W,set:Z,delete:X,clear:G,forEach:z(!1,!0)},n={get(e){return V(this,e,!0)},get size(){return K(this,!0)},has(e){return H.call(this,e,!0)},add:J("add"),set:J("set"),delete:J("delete"),clear:J("clear"),forEach:z(!0,!1)},s={get(e){return V(this,e,!0,!0)},get size(){return K(this,!0)},has(e){return H.call(this,e,!0)},add:J("add"),set:J("set"),delete:J("delete"),clear:J("clear"),forEach:z(!0,!0)},r=["keys","values","entries",Symbol.iterator];return r.forEach((r=>{e[r]=Y(r,!1,!1),n[r]=Y(r,!0,!1),t[r]=Y(r,!1,!0),s[r]=Y(r,!0,!0)})),[e,n,t,s]}const[ee,te,ne,se]=Q();function re(e,t){const n=t?e?se:ne:e?te:ee;return(t,r,o)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get((0,s.$3)(n,r)&&r in t?n:t,r,o)}const oe={get:re(!1,!1)},ie={get:re(!1,!0)},ce={get:re(!0,!1)};const ae=new WeakMap,le=new WeakMap,ue=new WeakMap,he=new WeakMap;function pe(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function fe(e){return e["__v_skip"]||!Object.isExtensible(e)?0:pe((0,s.Zf)(e))}function de(e){return be(e)?e:me(e,!1,j,oe,ae)}function ye(e){return me(e,!1,U,ie,le)}function ge(e){return me(e,!0,I,ce,ue)}function me(e,t,n,r,o){if(!(0,s.Gv)(e))return e;if(e["__v_raw"]&&(!t||!e["__v_isReactive"]))return e;const i=o.get(e);if(i)return i;const c=fe(e);if(0===c)return e;const a=new Proxy(e,2===c?r:n);return o.set(e,a),a}function ve(e){return be(e)?ve(e["__v_raw"]):!(!e||!e["__v_isReactive"])}function be(e){return!(!e||!e["__v_isReadonly"])}function _e(e){return!(!e||!e["__v_isShallow"])}function we(e){return!!e&&!!e["__v_raw"]}function ke(e){const t=e&&e["__v_raw"];return t?ke(t):e}function Ce(e){return Object.isExtensible(e)&&(0,s.yQ)(e,"__v_skip",!0),e}const Ee=e=>(0,s.Gv)(e)?de(e):e,Te=e=>(0,s.Gv)(e)?ge(e):e;class xe{constructor(e,t,n,s){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this["__v_isReadonly"]=!1,this.effect=new l((()=>e(this._value)),(()=>Ae(this,2===this.effect._dirtyLevel?2:3))),this.effect.computed=this,this.effect.active=this._cacheable=!s,this["__v_isReadonly"]=n}get value(){const e=ke(this);return e._cacheable&&!e.effect.dirty||!(0,s.$H)(e._value,e._value=e.effect.run())||Ae(e,4),Oe(e),e.effect._dirtyLevel>=2&&Ae(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Se(e,t,n=!1){let r,o;const i=(0,s.Tn)(e);i?(r=e,o=s.tE):(r=e.get,o=e.set);const c=new xe(r,o,i||!o,n);return c}function Oe(e){var t;d&&o&&(e=ke(e),w(o,null!=(t=e.dep)?t:e.dep=E((()=>e.dep=void 0),e instanceof xe?e:void 0),void 0))}function Ae(e,t=4,n,s){e=ke(e);const r=e.dep;r&&C(r,t,void 0)}function Re(e){return!(!e||!0!==e.__v_isRef)}function Le(e){return Re(e)?e.value:e}const Be={get:(e,t,n)=>Le(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Re(r)&&!Re(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function $e(e){return ve(e)?e:new Proxy(e,Be)}},641:(e,t,n)=>{n.d(t,{$u:()=>z,CE:()=>Jt,Df:()=>It,FK:()=>Dt,Gy:()=>Ot,K9:()=>tt,Lk:()=>sn,MZ:()=>jt,OW:()=>Ft,QP:()=>Rt,bF:()=>rn,bo:()=>se,dY:()=>v,h:()=>jn,nI:()=>bn,pI:()=>oe,pR:()=>$t,qL:()=>i,uX:()=>Zt});var s=n(953),r=n(33);function o(e,t,n,s){try{return s?e(...s):e()}catch(r){c(r,t,n)}}function i(e,t,n,s){if((0,r.Tn)(e)){const i=o(e,t,n,s);return i&&(0,r.yL)(i)&&i.catch((e=>{c(e,t,n)})),i}if((0,r.cy)(e)){const r=[];for(let o=0;o<e.length;o++)r.push(i(e[o],t,n,s));return r}}function c(e,t,n,r=!0){const i=t?t.vnode:null;if(t){let r=t.parent;const i=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;while(r){const t=r.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,i,c))return;r=r.parent}const a=t.appContext.config.errorHandler;if(a)return(0,s.C4)(),o(a,null,10,[e,i,c]),void(0,s.bl)()}a(e,n,i,r)}function a(e,t,n,s=!0){console.error(e)}let l=!1,u=!1;const h=[];let p=0;const f=[];let d=null,y=0;const g=Promise.resolve();let m=null;function v(e){const t=m||g;return e?t.then(this?e.bind(this):e):t}function b(e){let t=p+1,n=h.length;while(t<n){const s=t+n>>>1,r=h[s],o=x(r);o<e||o===e&&r.pre?t=s+1:n=s}return t}function _(e){h.length&&h.includes(e,l&&e.allowRecurse?p+1:p)||(null==e.id?h.push(e):h.splice(b(e.id),0,e),w())}function w(){l||u||(u=!0,m=g.then(O))}function k(e){const t=h.indexOf(e);t>p&&h.splice(t,1)}function C(e){(0,r.cy)(e)?f.push(...e):d&&d.includes(e,e.allowRecurse?y+1:y)||f.push(e),w()}function E(e,t,n=(l?p+1:0)){for(0;n<h.length;n++){const t=h[n];if(t&&t.pre){if(e&&t.id!==e.uid)continue;0,h.splice(n,1),n--,t()}}}function T(e){if(f.length){const e=[...new Set(f)].sort(((e,t)=>x(e)-x(t)));if(f.length=0,d)return void d.push(...e);for(d=e,y=0;y<d.length;y++){const e=d[y];0,!1!==e.active&&e()}d=null,y=0}}const x=e=>null==e.id?1/0:e.id,S=(e,t)=>{const n=x(e)-x(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function O(e){u=!1,l=!0,h.sort(S);r.tE;try{for(p=0;p<h.length;p++){const e=h[p];e&&!1!==e.active&&o(e,null,14)}}finally{p=0,h.length=0,T(e),l=!1,m=null,(h.length||f.length)&&O(e)}}function A(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||r.MZ;let o=n;const c=t.startsWith("update:"),a=c&&t.slice(7);if(a&&a in s){const e=`${"modelValue"===a?"model":a}Modifiers`,{number:t,trim:i}=s[e]||r.MZ;i&&(o=n.map((e=>(0,r.Kg)(e)?e.trim():e))),t&&(o=n.map(r.bB))}let l;let u=s[l=(0,r.rU)(t)]||s[l=(0,r.rU)((0,r.PT)(t))];!u&&c&&(u=s[l=(0,r.rU)((0,r.Tg)(t))]),u&&i(u,e,6,o);const h=s[l+"Once"];if(h){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,i(h,e,6,o)}}function R(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(void 0!==o)return o;const i=e.emits;let c={},a=!1;if(!(0,r.Tn)(e)){const s=e=>{const n=R(e,t,!0);n&&(a=!0,(0,r.X$)(c,n))};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return i||a?((0,r.cy)(i)?i.forEach((e=>c[e]=null)):(0,r.X$)(c,i),(0,r.Gv)(e)&&s.set(e,c),c):((0,r.Gv)(e)&&s.set(e,null),null)}function L(e,t){return!(!e||!(0,r.Mp)(t))&&(t=t.slice(2).replace(/Once$/,""),(0,r.$3)(e,t[0].toLowerCase()+t.slice(1))||(0,r.$3)(e,(0,r.Tg)(t))||(0,r.$3)(e,t))}let B=null,$=null;function N(e){const t=B;return B=e,$=e&&e.type.__scopeId||null,t}function F(e,t=B,n){if(!t)return e;if(e._n)return e;const s=(...n)=>{s._d&&zt(-1);const r=N(t);let o;try{o=e(...n)}finally{N(r),s._d&&zt(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function M(e){const{type:t,vnode:n,proxy:s,withProxy:o,propsOptions:[i],slots:a,attrs:l,emit:u,render:h,renderCache:p,props:f,data:d,setupState:y,ctx:g,inheritAttrs:m}=e,v=N(e);let b,_;try{if(4&n.shapeFlag){const e=o||s,t=e;b=un(h.call(t,e,p,f,y,d,g)),_=l}else{const e=t;0,b=un(e.length>1?e(f,{attrs:l,slots:a,emit:u}):e(f,null)),_=t.props?l:P(l)}}catch(k){Kt.length=0,c(k,e,1),b=rn(Vt)}let w=b;if(_&&!1!==m){const e=Object.keys(_),{shapeFlag:t}=w;e.length&&7&t&&(i&&e.some(r.CP)&&(_=j(_,i)),w=an(w,_,!1,!0))}return n.dirs&&(w=an(w,null,!1,!0),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&(w.transition=n.transition),b=w,N(v),b}const P=e=>{let t;for(const n in e)("class"===n||"style"===n||(0,r.Mp)(n))&&((t||(t={}))[n]=e[n]);return t},j=(e,t)=>{const n={};for(const s in e)(0,r.CP)(s)&&s.slice(9)in t||(n[s]=e[s]);return n};function I(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:c,patchFlag:a}=t,l=o.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&a>=0))return!(!r&&!c||c&&c.$stable)||s!==i&&(s?!i||U(s,i,l):!!i);if(1024&a)return!0;if(16&a)return s?U(s,i,l):!!i;if(8&a){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(i[n]!==s[n]&&!L(l,n))return!0}}return!1}function U(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const o=s[r];if(t[o]!==e[o]&&!L(n,o))return!0}return!1}function D({vnode:e,parent:t},n){while(t){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s!==e)break;(e=t.vnode).el=n,t=t.parent}}const q=Symbol.for("v-ndc");const V=e=>e.__isSuspense;function H(e,t){t&&t.pendingBranch?(0,r.cy)(e)?t.effects.push(...e):t.effects.push(e):C(e)}function K(e,t,n=vn,r=!1){if(n){const o=n[e]||(n[e]=[]),c=t.__weh||(t.__weh=(...r)=>{(0,s.C4)();const o=kn(n),c=i(t,n,e,r);return o(),(0,s.bl)(),c});return r?o.unshift(c):o.push(c),c}}const W=e=>(t,n=vn)=>{Sn&&"sp"!==e||K(e,((...e)=>t(...e)),n)},Z=W("bm"),X=W("m"),G=W("bu"),z=W("u"),Y=W("bum"),J=W("um"),Q=W("sp"),ee=W("rtg"),te=W("rtc");function ne(e,t=vn){K("ec",e,t)}function se(e,t){if(null===B)return e;const n=Nn(B),s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[e,i,c,a=r.MZ]=t[o];e&&((0,r.Tn)(e)&&(e={mounted:e,updated:e}),e.deep&&mt(i),s.push({dir:e,instance:n,value:i,oldValue:void 0,arg:c,modifiers:a}))}return e}function re(e,t,n,r){const o=e.dirs,c=t&&t.dirs;for(let a=0;a<o.length;a++){const l=o[a];c&&(l.oldValue=c[a].value);let u=l.dir[r];u&&((0,s.C4)(),i(u,n,8,[e.el,l,e,t]),(0,s.bl)())}}function oe(e,t,n,s){let o;const i=n&&n[s];if((0,r.cy)(e)||(0,r.Kg)(e)){o=new Array(e.length);for(let n=0,s=e.length;n<s;n++)o[n]=t(e[n],n,void 0,i&&i[n])}else if("number"===typeof e){0,o=new Array(e);for(let n=0;n<e;n++)o[n]=t(n+1,n,void 0,i&&i[n])}else if((0,r.Gv)(e))if(e[Symbol.iterator])o=Array.from(e,((e,n)=>t(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);o=new Array(n.length);for(let s=0,r=n.length;s<r;s++){const r=n[s];o[s]=t(e[r],r,s,i&&i[s])}}else o=[];return n&&(n[s]=o),o}const ie=e=>!!e.type.__asyncLoader
|
|
/*! #__NO_SIDE_EFFECTS__ */;const ce=e=>e?En(e)?Nn(e):ce(e.parent):null,ae=(0,r.X$)(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=>ce(e.parent),$root:e=>ce(e.root),$emit:e=>e.emit,$options:e=>me(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,_(e.update)}),$nextTick:e=>e.n||(e.n=v.bind(e.proxy)),$watch:e=>yt.bind(e)}),le=(e,t)=>e!==r.MZ&&!e.__isScriptSetup&&(0,r.$3)(e,t),ue={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:n,setupState:o,data:i,props:c,accessCache:a,type:l,appContext:u}=e;let h;if("$"!==t[0]){const s=a[t];if(void 0!==s)switch(s){case 1:return o[t];case 2:return i[t];case 4:return n[t];case 3:return c[t]}else{if(le(o,t))return a[t]=1,o[t];if(i!==r.MZ&&(0,r.$3)(i,t))return a[t]=2,i[t];if((h=e.propsOptions[0])&&(0,r.$3)(h,t))return a[t]=3,c[t];if(n!==r.MZ&&(0,r.$3)(n,t))return a[t]=4,n[t];pe&&(a[t]=0)}}const p=ae[t];let f,d;return p?("$attrs"===t&&(0,s.u4)(e.attrs,"get",""),p(e)):(f=l.__cssModules)&&(f=f[t])?f:n!==r.MZ&&(0,r.$3)(n,t)?(a[t]=4,n[t]):(d=u.config.globalProperties,(0,r.$3)(d,t)?d[t]:void 0)},set({_:e},t,n){const{data:s,setupState:o,ctx:i}=e;return le(o,t)?(o[t]=n,!0):s!==r.MZ&&(0,r.$3)(s,t)?(s[t]=n,!0):!(0,r.$3)(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(i[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,propsOptions:i}},c){let a;return!!n[c]||e!==r.MZ&&(0,r.$3)(e,c)||le(t,c)||(a=i[0])&&(0,r.$3)(a,c)||(0,r.$3)(s,c)||(0,r.$3)(ae,c)||(0,r.$3)(o.config.globalProperties,c)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:(0,r.$3)(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function he(e){return(0,r.cy)(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let pe=!0;function fe(e){const t=me(e),n=e.proxy,o=e.ctx;pe=!1,t.beforeCreate&&ye(t.beforeCreate,e,"bc");const{data:i,computed:c,methods:a,watch:l,provide:u,inject:h,created:p,beforeMount:f,mounted:d,beforeUpdate:y,updated:g,activated:m,deactivated:v,beforeDestroy:b,beforeUnmount:_,destroyed:w,unmounted:k,render:C,renderTracked:E,renderTriggered:T,errorCaptured:x,serverPrefetch:S,expose:O,inheritAttrs:A,components:R,directives:L,filters:B}=t,$=null;if(h&&de(h,o,$),a)for(const s in a){const e=a[s];(0,r.Tn)(e)&&(o[s]=e.bind(n))}if(i){0;const t=i.call(n,n);0,(0,r.Gv)(t)&&(e.data=(0,s.Kh)(t))}if(pe=!0,c)for(const s in c){const e=c[s],t=(0,r.Tn)(e)?e.bind(n,n):(0,r.Tn)(e.get)?e.get.bind(n,n):r.tE;0;const i=!(0,r.Tn)(e)&&(0,r.Tn)(e.set)?e.set.bind(n):r.tE,a=Pn({get:t,set:i});Object.defineProperty(o,s,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(l)for(const s in l)ge(l[s],o,n,s);if(u){const e=(0,r.Tn)(u)?u.call(n):u;Reflect.ownKeys(e).forEach((t=>{Le(t,e[t])}))}function N(e,t){(0,r.cy)(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(p&&ye(p,e,"c"),N(Z,f),N(X,d),N(G,y),N(z,g),N(_t,m),N(wt,v),N(ne,x),N(te,E),N(ee,T),N(Y,_),N(J,k),N(Q,S),(0,r.cy)(O))if(O.length){const t=e.exposed||(e.exposed={});O.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});C&&e.render===r.tE&&(e.render=C),null!=A&&(e.inheritAttrs=A),R&&(e.components=R),L&&(e.directives=L)}function de(e,t,n=r.tE){(0,r.cy)(e)&&(e=ke(e));for(const o in e){const n=e[o];let i;i=(0,r.Gv)(n)?"default"in n?Be(n.from||o,n.default,!0):Be(n.from||o):Be(n),(0,s.i9)(i)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[o]=i}}function ye(e,t,n){i((0,r.cy)(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function ge(e,t,n,s){const o=s.includes(".")?gt(n,s):()=>n[s];if((0,r.Kg)(e)){const n=t[e];(0,r.Tn)(n)&&ft(o,n)}else if((0,r.Tn)(e))ft(o,e.bind(n));else if((0,r.Gv)(e))if((0,r.cy)(e))e.forEach((e=>ge(e,t,n,s)));else{const s=(0,r.Tn)(e.handler)?e.handler.bind(n):t[e.handler];(0,r.Tn)(s)&&ft(o,s,e)}else 0}function me(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:c}}=e.appContext,a=i.get(t);let l;return a?l=a:o.length||n||s?(l={},o.length&&o.forEach((e=>ve(l,e,c,!0))),ve(l,t,c)):l=t,(0,r.Gv)(t)&&i.set(t,l),l}function ve(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&ve(e,o,n,!0),r&&r.forEach((t=>ve(e,t,n,!0)));for(const i in t)if(s&&"expose"===i);else{const s=be[i]||n&&n[i];e[i]=s?s(e[i],t[i]):t[i]}return e}const be={data:_e,props:Te,emits:Te,methods:Ee,computed:Ee,beforeCreate:Ce,created:Ce,beforeMount:Ce,mounted:Ce,beforeUpdate:Ce,updated:Ce,beforeDestroy:Ce,beforeUnmount:Ce,destroyed:Ce,unmounted:Ce,activated:Ce,deactivated:Ce,errorCaptured:Ce,serverPrefetch:Ce,components:Ee,directives:Ee,watch:xe,provide:_e,inject:we};function _e(e,t){return t?e?function(){return(0,r.X$)((0,r.Tn)(e)?e.call(this,this):e,(0,r.Tn)(t)?t.call(this,this):t)}:t:e}function we(e,t){return Ee(ke(e),ke(t))}function ke(e){if((0,r.cy)(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ce(e,t){return e?[...new Set([].concat(e,t))]:t}function Ee(e,t){return e?(0,r.X$)(Object.create(null),e,t):t}function Te(e,t){return e?(0,r.cy)(e)&&(0,r.cy)(t)?[...new Set([...e,...t])]:(0,r.X$)(Object.create(null),he(e),he(null!=t?t:{})):t}function xe(e,t){if(!e)return t;if(!t)return e;const n=(0,r.X$)(Object.create(null),e);for(const s in t)n[s]=Ce(e[s],t[s]);return n}function Se(){return{app:null,config:{isNativeTag:r.NO,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Oe=0;function Ae(e,t){return function(n,s=null){(0,r.Tn)(n)||(n=(0,r.X$)({},n)),null==s||(0,r.Gv)(s)||(s=null);const o=Se(),i=new WeakSet;let c=!1;const a=o.app={_uid:Oe++,_component:n,_props:s,_container:null,_context:o,_instance:null,version:In,get config(){return o.config},set config(e){0},use(e,...t){return i.has(e)||(e&&(0,r.Tn)(e.install)?(i.add(e),e.install(a,...t)):(0,r.Tn)(e)&&(i.add(e),e(a,...t))),a},mixin(e){return o.mixins.includes(e)||o.mixins.push(e),a},component(e,t){return t?(o.components[e]=t,a):o.components[e]},directive(e,t){return t?(o.directives[e]=t,a):o.directives[e]},mount(r,i,l){if(!c){0;const u=rn(n,s);return u.appContext=o,!0===l?l="svg":!1===l&&(l=void 0),i&&t?t(u,r):e(u,r,l),c=!0,a._container=r,r.__vue_app__=a,Nn(u.component)}},unmount(){c&&(e(null,a._container),delete a._container.__vue_app__)},provide(e,t){return o.provides[e]=t,a},runWithContext(e){const t=Re;Re=a;try{return e()}finally{Re=t}}};return a}}let Re=null;function Le(e,t){if(vn){let n=vn.provides;const s=vn.parent&&vn.parent.provides;s===n&&(n=vn.provides=Object.create(s)),n[e]=t}else 0}function Be(e,t,n=!1){const s=vn||B;if(s||Re){const o=s?null==s.parent?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:Re._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&(0,r.Tn)(t)?t.call(s&&s.proxy):t}else 0}const $e={},Ne=()=>Object.create($e),Fe=e=>Object.getPrototypeOf(e)===$e;function Me(e,t,n,r=!1){const o={},i=Ne();e.propsDefaults=Object.create(null),je(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=r?o:(0,s.Gc)(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function Pe(e,t,n,o){const{props:i,attrs:c,vnode:{patchFlag:a}}=e,l=(0,s.ux)(i),[u]=e.propsOptions;let h=!1;if(!(o||a>0)||16&a){let s;je(e,t,i,c)&&(h=!0);for(const o in l)t&&((0,r.$3)(t,o)||(s=(0,r.Tg)(o))!==o&&(0,r.$3)(t,s))||(u?!n||void 0===n[o]&&void 0===n[s]||(i[o]=Ie(u,l,o,void 0,e,!0)):delete i[o]);if(c!==l)for(const e in c)t&&(0,r.$3)(t,e)||(delete c[e],h=!0)}else if(8&a){const n=e.vnode.dynamicProps;for(let s=0;s<n.length;s++){let o=n[s];if(L(e.emitsOptions,o))continue;const a=t[o];if(u)if((0,r.$3)(c,o))a!==c[o]&&(c[o]=a,h=!0);else{const t=(0,r.PT)(o);i[t]=Ie(u,l,t,a,e,!1)}else a!==c[o]&&(c[o]=a,h=!0)}}h&&(0,s.hZ)(e.attrs,"set","")}function je(e,t,n,o){const[i,c]=e.propsOptions;let a,l=!1;if(t)for(let s in t){if((0,r.SU)(s))continue;const u=t[s];let h;i&&(0,r.$3)(i,h=(0,r.PT)(s))?c&&c.includes(h)?(a||(a={}))[h]=u:n[h]=u:L(e.emitsOptions,s)||s in o&&u===o[s]||(o[s]=u,l=!0)}if(c){const t=(0,s.ux)(n),o=a||r.MZ;for(let s=0;s<c.length;s++){const a=c[s];n[a]=Ie(i,t,a,o[a],e,!(0,r.$3)(o,a))}}return l}function Ie(e,t,n,s,o,i){const c=e[n];if(null!=c){const e=(0,r.$3)(c,"default");if(e&&void 0===s){const e=c.default;if(c.type!==Function&&!c.skipFactory&&(0,r.Tn)(e)){const{propsDefaults:r}=o;if(n in r)s=r[n];else{const i=kn(o);s=r[n]=e.call(null,t),i()}}else s=e}c[0]&&(i&&!e?s=!1:!c[1]||""!==s&&s!==(0,r.Tg)(n)||(s=!0))}return s}function Ue(e,t,n=!1){const s=t.propsCache,o=s.get(e);if(o)return o;const i=e.props,c={},a=[];let l=!1;if(!(0,r.Tn)(e)){const s=e=>{l=!0;const[n,s]=Ue(e,t,!0);(0,r.X$)(c,n),s&&a.push(...s)};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}if(!i&&!l)return(0,r.Gv)(e)&&s.set(e,r.Oj),r.Oj;if((0,r.cy)(i))for(let h=0;h<i.length;h++){0;const e=(0,r.PT)(i[h]);De(e)&&(c[e]=r.MZ)}else if(i){0;for(const e in i){const t=(0,r.PT)(e);if(De(t)){const n=i[e],s=c[t]=(0,r.cy)(n)||(0,r.Tn)(n)?{type:n}:(0,r.X$)({},n);if(s){const e=He(Boolean,s.type),n=He(String,s.type);s[0]=e>-1,s[1]=n<0||e<n,(e>-1||(0,r.$3)(s,"default"))&&a.push(t)}}}}const u=[c,a];return(0,r.Gv)(e)&&s.set(e,u),u}function De(e){return"$"!==e[0]&&!(0,r.SU)(e)}function qe(e){if(null===e)return"null";if("function"===typeof e)return e.name||"";if("object"===typeof e){const t=e.constructor&&e.constructor.name;return t||""}return""}function Ve(e,t){return qe(e)===qe(t)}function He(e,t){return(0,r.cy)(t)?t.findIndex((t=>Ve(t,e))):(0,r.Tn)(t)&&Ve(t,e)?0:-1}const Ke=e=>"_"===e[0]||"$stable"===e,We=e=>(0,r.cy)(e)?e.map(un):[un(e)],Ze=(e,t,n)=>{if(t._n)return t;const s=F(((...e)=>We(t(...e))),n);return s._c=!1,s},Xe=(e,t,n)=>{const s=e._ctx;for(const o in e){if(Ke(o))continue;const n=e[o];if((0,r.Tn)(n))t[o]=Ze(o,n,s);else if(null!=n){0;const e=We(n);t[o]=()=>e}}},Ge=(e,t)=>{const n=We(t);e.slots.default=()=>n},ze=(e,t)=>{const n=e.slots=Ne();if(32&e.vnode.shapeFlag){const e=t._;e?((0,r.X$)(n,t),(0,r.yQ)(n,"_",e,!0)):Xe(t,n)}else t&&Ge(e,t)},Ye=(e,t,n)=>{const{vnode:s,slots:o}=e;let i=!0,c=r.MZ;if(32&s.shapeFlag){const e=t._;e?n&&1===e?i=!1:((0,r.X$)(o,t),n||1!==e||delete o._):(i=!t.$stable,Xe(t,o)),c=t}else t&&(Ge(e,t),c={default:1});if(i)for(const r in o)Ke(r)||null!=c[r]||delete o[r]};function Je(e,t,n,i,c=!1){if((0,r.cy)(e))return void e.forEach(((e,s)=>Je(e,t&&((0,r.cy)(t)?t[s]:t),n,i,c)));if(ie(i)&&!c)return;const a=4&i.shapeFlag?Nn(i.component):i.el,l=c?null:a,{i:u,r:h}=e;const p=t&&t.r,f=u.refs===r.MZ?u.refs={}:u.refs,d=u.setupState;if(null!=p&&p!==h&&((0,r.Kg)(p)?(f[p]=null,(0,r.$3)(d,p)&&(d[p]=null)):(0,s.i9)(p)&&(p.value=null)),(0,r.Tn)(h))o(h,u,12,[l,f]);else{const t=(0,r.Kg)(h),o=(0,s.i9)(h);if(t||o){const s=()=>{if(e.f){const n=t?(0,r.$3)(d,h)?d[h]:f[h]:h.value;c?(0,r.cy)(n)&&(0,r.TF)(n,a):(0,r.cy)(n)?n.includes(a)||n.push(a):t?(f[h]=[a],(0,r.$3)(d,h)&&(d[h]=f[h])):(h.value=[a],e.k&&(f[e.k]=h.value))}else t?(f[h]=l,(0,r.$3)(d,h)&&(d[h]=l)):o&&(h.value=l,e.k&&(f[e.k]=l))};l?(s.id=-1,et(s,n)):s()}else 0}}function Qe(){"boolean"!==typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&((0,r.We)().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1)}const et=H;function tt(e){return nt(e)}function nt(e,t){Qe();const n=(0,r.We)();n.__VUE__=!0;const{insert:o,remove:i,patchProp:c,createElement:a,createText:l,createComment:u,setText:h,setElementText:p,parentNode:f,nextSibling:d,setScopeId:y=r.tE,insertStaticContent:g}=e,m=(e,t,n,s=null,r=null,o=null,i=void 0,c=null,a=!!t.dynamicChildren)=>{if(e===t)return;e&&!en(e,t)&&(s=J(e),Z(e,r,o,!0),e=null),-2===t.patchFlag&&(a=!1,t.dynamicChildren=null);const{type:l,ref:u,shapeFlag:h}=t;switch(l){case qt:v(e,t,n,s);break;case Vt:b(e,t,n,s);break;case Ht:null==e&&w(t,n,s,i);break;case Dt:N(e,t,n,s,r,o,i,c,a);break;default:1&h?S(e,t,n,s,r,o,i,c,a):6&h?F(e,t,n,s,r,o,i,c,a):(64&h||128&h)&&l.process(e,t,n,s,r,o,i,c,a,te)}null!=u&&r&&Je(u,e&&e.ref,o,t||e,!t)},v=(e,t,n,s)=>{if(null==e)o(t.el=l(t.children),n,s);else{const n=t.el=e.el;t.children!==e.children&&h(n,t.children)}},b=(e,t,n,s)=>{null==e?o(t.el=u(t.children||""),n,s):t.el=e.el},w=(e,t,n,s)=>{[e.el,e.anchor]=g(e.children,t,n,s,e.el,e.anchor)},C=({el:e,anchor:t},n,s)=>{let r;while(e&&e!==t)r=d(e),o(e,n,s),e=r;o(t,n,s)},x=({el:e,anchor:t})=>{let n;while(e&&e!==t)n=d(e),i(e),e=n;i(t)},S=(e,t,n,s,r,o,i,c,a)=>{"svg"===t.type?i="svg":"math"===t.type&&(i="mathml"),null==e?O(t,n,s,r,o,i,c,a):L(e,t,r,o,i,c,a)},O=(e,t,n,s,i,l,u,h)=>{let f,d;const{props:y,shapeFlag:g,transition:m,dirs:v}=e;if(f=e.el=a(e.type,l,y&&y.is,y),8&g?p(f,e.children):16&g&&R(e.children,f,null,s,i,st(e,l),u,h),v&&re(e,null,s,"created"),A(f,e,e.scopeId,u,s),y){for(const t in y)"value"===t||(0,r.SU)(t)||c(f,t,null,y[t],l,e.children,s,i,Y);"value"in y&&c(f,"value",null,y.value,l),(d=y.onVnodeBeforeMount)&&dn(d,s,e)}v&&re(e,null,s,"beforeMount");const b=ot(i,m);b&&m.beforeEnter(f),o(f,t,n),((d=y&&y.onVnodeMounted)||b||v)&&et((()=>{d&&dn(d,s,e),b&&m.enter(f),v&&re(e,null,s,"mounted")}),i)},A=(e,t,n,s,r)=>{if(n&&y(e,n),s)for(let o=0;o<s.length;o++)y(e,s[o]);if(r){let n=r.subTree;if(t===n){const t=r.vnode;A(e,t,t.scopeId,t.slotScopeIds,r.parent)}}},R=(e,t,n,s,r,o,i,c,a=0)=>{for(let l=a;l<e.length;l++){const a=e[l]=c?hn(e[l]):un(e[l]);m(null,a,t,n,s,r,o,i,c)}},L=(e,t,n,s,o,i,a)=>{const l=t.el=e.el;let{patchFlag:u,dynamicChildren:h,dirs:f}=t;u|=16&e.patchFlag;const d=e.props||r.MZ,y=t.props||r.MZ;let g;if(n&&rt(n,!1),(g=y.onVnodeBeforeUpdate)&&dn(g,n,t,e),f&&re(t,e,n,"beforeUpdate"),n&&rt(n,!0),h?B(e.dynamicChildren,h,l,n,s,st(t,o),i):a||V(e,t,l,null,n,s,st(t,o),i,!1),u>0){if(16&u)$(l,t,d,y,n,s,o);else if(2&u&&d.class!==y.class&&c(l,"class",null,y.class,o),4&u&&c(l,"style",d.style,y.style,o),8&u){const r=t.dynamicProps;for(let t=0;t<r.length;t++){const i=r[t],a=d[i],u=y[i];u===a&&"value"!==i||c(l,i,a,u,o,e.children,n,s,Y)}}1&u&&e.children!==t.children&&p(l,t.children)}else a||null!=h||$(l,t,d,y,n,s,o);((g=y.onVnodeUpdated)||f)&&et((()=>{g&&dn(g,n,t,e),f&&re(t,e,n,"updated")}),s)},B=(e,t,n,s,r,o,i)=>{for(let c=0;c<t.length;c++){const a=e[c],l=t[c],u=a.el&&(a.type===Dt||!en(a,l)||70&a.shapeFlag)?f(a.el):n;m(a,l,u,null,s,r,o,i,!0)}},$=(e,t,n,s,o,i,a)=>{if(n!==s){if(n!==r.MZ)for(const l in n)(0,r.SU)(l)||l in s||c(e,l,n[l],null,a,t.children,o,i,Y);for(const l in s){if((0,r.SU)(l))continue;const u=s[l],h=n[l];u!==h&&"value"!==l&&c(e,l,h,u,a,t.children,o,i,Y)}"value"in s&&c(e,"value",n.value,s.value,a)}},N=(e,t,n,s,r,i,c,a,u)=>{const h=t.el=e?e.el:l(""),p=t.anchor=e?e.anchor:l("");let{patchFlag:f,dynamicChildren:d,slotScopeIds:y}=t;y&&(a=a?a.concat(y):y),null==e?(o(h,n,s),o(p,n,s),R(t.children||[],n,p,r,i,c,a,u)):f>0&&64&f&&d&&e.dynamicChildren?(B(e.dynamicChildren,d,n,r,i,c,a),(null!=t.key||r&&t===r.subTree)&&it(e,t,!0)):V(e,t,n,p,r,i,c,a,u)},F=(e,t,n,s,r,o,i,c,a)=>{t.slotScopeIds=c,null==e?512&t.shapeFlag?r.ctx.activate(t,n,s,i,a):P(t,n,s,r,o,i,a):j(e,t,a)},P=(e,t,n,s,r,o,i)=>{const c=e.component=mn(e,s,r);if(vt(e)&&(c.ctx.renderer=te),On(c),c.asyncDep){if(r&&r.registerDep(c,U,i),!e.el){const e=c.subTree=rn(Vt);b(null,e,t,n)}}else U(c,e,t,n,r,o,i)},j=(e,t,n)=>{const s=t.component=e.component;if(I(e,t,n)){if(s.asyncDep&&!s.asyncResolved)return void q(s,t,n);s.next=t,k(s.update),s.effect.dirty=!0,s.update()}else t.el=e.el,s.vnode=t},U=(e,t,n,o,i,c,a)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:s,parent:o,vnode:u}=e;{const n=at(e);if(n)return t&&(t.el=u.el,q(e,t,a)),void n.asyncDep.then((()=>{e.isUnmounted||l()}))}let h,p=t;0,rt(e,!1),t?(t.el=u.el,q(e,t,a)):t=u,n&&(0,r.DY)(n),(h=t.props&&t.props.onVnodeBeforeUpdate)&&dn(h,o,t,u),rt(e,!0);const d=M(e);0;const y=e.subTree;e.subTree=d,m(y,d,f(y.el),J(y),e,i,c),t.el=d.el,null===p&&D(e,d.el),s&&et(s,i),(h=t.props&&t.props.onVnodeUpdated)&&et((()=>dn(h,o,t,u)),i)}else{let s;const{el:a,props:l}=t,{bm:u,m:h,parent:p}=e,f=ie(t);if(rt(e,!1),u&&(0,r.DY)(u),!f&&(s=l&&l.onVnodeBeforeMount)&&dn(s,p,t),rt(e,!0),a&&se){const n=()=>{e.subTree=M(e),se(a,e.subTree,e,i,null)};f?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{0;const s=e.subTree=M(e);0,m(null,s,n,o,e,i,c),t.el=s.el}if(h&&et(h,i),!f&&(s=l&&l.onVnodeMounted)){const e=t;et((()=>dn(s,p,e)),i)}(256&t.shapeFlag||p&&ie(p.vnode)&&256&p.vnode.shapeFlag)&&e.a&&et(e.a,i),e.isMounted=!0,t=n=o=null}},u=e.effect=new s.X2(l,r.tE,(()=>_(h)),e.scope),h=e.update=()=>{u.dirty&&u.run()};h.id=e.uid,rt(e,!0),h()},q=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,Pe(e,t.props,r,n),Ye(e,t.children,n),(0,s.C4)(),E(e),(0,s.bl)()},V=(e,t,n,s,r,o,i,c,a=!1)=>{const l=e&&e.children,u=e?e.shapeFlag:0,h=t.children,{patchFlag:f,shapeFlag:d}=t;if(f>0){if(128&f)return void K(l,h,n,s,r,o,i,c,a);if(256&f)return void H(l,h,n,s,r,o,i,c,a)}8&d?(16&u&&Y(l,r,o),h!==l&&p(n,h)):16&u?16&d?K(l,h,n,s,r,o,i,c,a):Y(l,r,o,!0):(8&u&&p(n,""),16&d&&R(h,n,s,r,o,i,c,a))},H=(e,t,n,s,o,i,c,a,l)=>{e=e||r.Oj,t=t||r.Oj;const u=e.length,h=t.length,p=Math.min(u,h);let f;for(f=0;f<p;f++){const s=t[f]=l?hn(t[f]):un(t[f]);m(e[f],s,n,null,o,i,c,a,l)}u>h?Y(e,o,i,!0,!1,p):R(t,n,s,o,i,c,a,l,p)},K=(e,t,n,s,o,i,c,a,l)=>{let u=0;const h=t.length;let p=e.length-1,f=h-1;while(u<=p&&u<=f){const s=e[u],r=t[u]=l?hn(t[u]):un(t[u]);if(!en(s,r))break;m(s,r,n,null,o,i,c,a,l),u++}while(u<=p&&u<=f){const s=e[p],r=t[f]=l?hn(t[f]):un(t[f]);if(!en(s,r))break;m(s,r,n,null,o,i,c,a,l),p--,f--}if(u>p){if(u<=f){const e=f+1,r=e<h?t[e].el:s;while(u<=f)m(null,t[u]=l?hn(t[u]):un(t[u]),n,r,o,i,c,a,l),u++}}else if(u>f)while(u<=p)Z(e[u],o,i,!0),u++;else{const d=u,y=u,g=new Map;for(u=y;u<=f;u++){const e=t[u]=l?hn(t[u]):un(t[u]);null!=e.key&&g.set(e.key,u)}let v,b=0;const _=f-y+1;let w=!1,k=0;const C=new Array(_);for(u=0;u<_;u++)C[u]=0;for(u=d;u<=p;u++){const s=e[u];if(b>=_){Z(s,o,i,!0);continue}let r;if(null!=s.key)r=g.get(s.key);else for(v=y;v<=f;v++)if(0===C[v-y]&&en(s,t[v])){r=v;break}void 0===r?Z(s,o,i,!0):(C[r-y]=u+1,r>=k?k=r:w=!0,m(s,t[r],n,null,o,i,c,a,l),b++)}const E=w?ct(C):r.Oj;for(v=E.length-1,u=_-1;u>=0;u--){const e=y+u,r=t[e],p=e+1<h?t[e+1].el:s;0===C[u]?m(null,r,n,p,o,i,c,a,l):w&&(v<0||u!==E[v]?W(r,n,p,2):v--)}}},W=(e,t,n,s,r=null)=>{const{el:i,type:c,transition:a,children:l,shapeFlag:u}=e;if(6&u)return void W(e.component.subTree,t,n,s);if(128&u)return void e.suspense.move(t,n,s);if(64&u)return void c.move(e,t,n,te);if(c===Dt){o(i,t,n);for(let e=0;e<l.length;e++)W(l[e],t,n,s);return void o(e.anchor,t,n)}if(c===Ht)return void C(e,t,n);const h=2!==s&&1&u&&a;if(h)if(0===s)a.beforeEnter(i),o(i,t,n),et((()=>a.enter(i)),r);else{const{leave:e,delayLeave:s,afterLeave:r}=a,c=()=>o(i,t,n),l=()=>{e(i,(()=>{c(),r&&r()}))};s?s(i,c,l):l()}else o(i,t,n)},Z=(e,t,n,s=!1,r=!1)=>{const{type:o,props:i,ref:c,children:a,dynamicChildren:l,shapeFlag:u,patchFlag:h,dirs:p,memoIndex:f}=e;if(-2===h&&(r=!1),null!=c&&Je(c,null,n,e,!0),null!=f&&(t.renderCache[f]=void 0),256&u)return void t.ctx.deactivate(e);const d=1&u&&p,y=!ie(e);let g;if(y&&(g=i&&i.onVnodeBeforeUnmount)&&dn(g,t,e),6&u)z(e.component,n,s);else{if(128&u)return void e.suspense.unmount(n,s);d&&re(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,te,s):l&&(o!==Dt||h>0&&64&h)?Y(l,t,n,!1,!0):(o===Dt&&384&h||!r&&16&u)&&Y(a,t,n),s&&X(e)}(y&&(g=i&&i.onVnodeUnmounted)||d)&&et((()=>{g&&dn(g,t,e),d&&re(e,null,t,"unmounted")}),n)},X=e=>{const{type:t,el:n,anchor:s,transition:r}=e;if(t===Dt)return void G(n,s);if(t===Ht)return void x(e);const o=()=>{i(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){const{leave:t,delayLeave:s}=r,i=()=>t(n,o);s?s(e.el,o,i):i()}else o()},G=(e,t)=>{let n;while(e!==t)n=d(e),i(e),e=n;i(t)},z=(e,t,n)=>{const{bum:s,scope:o,update:i,subTree:c,um:a,m:l,a:u}=e;lt(l),lt(u),s&&(0,r.DY)(s),o.stop(),i&&(i.active=!1,Z(c,e,t,n)),a&&et(a,t),et((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},Y=(e,t,n,s=!1,r=!1,o=0)=>{for(let i=o;i<e.length;i++)Z(e[i],t,n,s,r)},J=e=>6&e.shapeFlag?J(e.component.subTree):128&e.shapeFlag?e.suspense.next():d(e.anchor||e.el);let Q=!1;const ee=(e,t,n)=>{null==e?t._vnode&&Z(t._vnode,null,null,!0):m(t._vnode||null,e,t,null,null,null,n),Q||(Q=!0,E(),T(),Q=!1),t._vnode=e},te={p:m,um:Z,m:W,r:X,mt:P,mc:R,pc:V,pbc:B,n:J,o:e};let ne,se;return t&&([ne,se]=t(te)),{render:ee,hydrate:ne,createApp:Ae(ee,ne)}}function st({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function rt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function ot(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function it(e,t,n=!1){const s=e.children,o=t.children;if((0,r.cy)(s)&&(0,r.cy)(o))for(let r=0;r<s.length;r++){const e=s[r];let t=o[r];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=o[r]=hn(o[r]),t.el=e.el),n||-2===t.patchFlag||it(e,t)),t.type===qt&&(t.el=e.el)}}function ct(e){const t=e.slice(),n=[0];let s,r,o,i,c;const a=e.length;for(s=0;s<a;s++){const a=e[s];if(0!==a){if(r=n[n.length-1],e[r]<a){t[s]=r,n.push(s);continue}o=0,i=n.length-1;while(o<i)c=o+i>>1,e[n[c]]<a?o=c+1:i=c;a<e[n[o]]&&(o>0&&(t[s]=n[o-1]),n[o]=s)}}o=n.length,i=n[o-1];while(o-- >0)n[o]=i,i=t[i];return n}function at(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:at(t)}function lt(e){if(e)for(let t=0;t<e.length;t++)e[t].active=!1}const ut=Symbol.for("v-scx"),ht=()=>{{const e=Be(ut);return e}};const pt={};function ft(e,t,n){return dt(e,t,n)}function dt(e,t,{immediate:n,deep:c,flush:a,once:l,onTrack:u,onTrigger:h}=r.MZ){if(t&&l){const e=t;t=(...t)=>{e(...t),x()}}const p=vn,f=e=>!0===c?e:mt(e,!1===c?1:void 0);let d,y,g=!1,m=!1;if((0,s.i9)(e)?(d=()=>e.value,g=(0,s.fE)(e)):(0,s.g8)(e)?(d=()=>f(e),g=!0):(0,r.cy)(e)?(m=!0,g=e.some((e=>(0,s.g8)(e)||(0,s.fE)(e))),d=()=>e.map((e=>(0,s.i9)(e)?e.value:(0,s.g8)(e)?f(e):(0,r.Tn)(e)?o(e,p,2):void 0))):d=(0,r.Tn)(e)?t?()=>o(e,p,2):()=>(y&&y(),i(e,p,3,[b])):r.tE,t&&c){const e=d;d=()=>mt(e())}let v,b=e=>{y=E.onStop=()=>{o(e,p,4),y=E.onStop=void 0}};if(Sn){if(b=r.tE,t?n&&i(t,p,3,[d(),m?[]:void 0,b]):d(),"sync"!==a)return r.tE;{const e=ht();v=e.__watcherHandles||(e.__watcherHandles=[])}}let w=m?new Array(e.length).fill(pt):pt;const k=()=>{if(E.active&&E.dirty)if(t){const e=E.run();(c||g||(m?e.some(((e,t)=>(0,r.$H)(e,w[t]))):(0,r.$H)(e,w)))&&(y&&y(),i(t,p,3,[e,w===pt?void 0:m&&w[0]===pt?[]:w,b]),w=e)}else E.run()};let C;k.allowRecurse=!!t,"sync"===a?C=k:"post"===a?C=()=>et(k,p&&p.suspense):(k.pre=!0,p&&(k.id=p.uid),C=()=>_(k));const E=new s.X2(d,r.tE,C),T=(0,s.o5)(),x=()=>{E.stop(),T&&(0,r.TF)(T.effects,E)};return t?n?k():w=E.run():"post"===a?et(E.run.bind(E),p&&p.suspense):E.run(),v&&v.push(x),x}function yt(e,t,n){const s=this.proxy,o=(0,r.Kg)(e)?e.includes(".")?gt(s,e):()=>s[e]:e.bind(s,s);let i;(0,r.Tn)(t)?i=t:(i=t.handler,n=t);const c=kn(this),a=dt(o,i.bind(s),n);return c(),a}function gt(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function mt(e,t=1/0,n){if(t<=0||!(0,r.Gv)(e)||e["__v_skip"])return e;if(n=n||new Set,n.has(e))return e;if(n.add(e),t--,(0,s.i9)(e))mt(e.value,t,n);else if((0,r.cy)(e))for(let s=0;s<e.length;s++)mt(e[s],t,n);else if((0,r.vM)(e)||(0,r.CE)(e))e.forEach((e=>{mt(e,t,n)}));else if((0,r.Qd)(e)){for(const s in e)mt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&mt(e[s],t,n)}return e}const vt=e=>e.type.__isKeepAlive;RegExp,RegExp;function bt(e,t){return(0,r.cy)(e)?e.some((e=>bt(e,t))):(0,r.Kg)(e)?e.split(",").includes(t):!!(0,r.gd)(e)&&e.test(t)}function _t(e,t){kt(e,"a",t)}function wt(e,t){kt(e,"da",t)}function kt(e,t,n=vn){const s=e.__wdc||(e.__wdc=()=>{let t=n;while(t){if(t.isDeactivated)return;t=t.parent}return e()});if(K(t,s,n),n){let e=n.parent;while(e&&e.parent)vt(e.parent.vnode)&&Ct(s,t,n,e),e=e.parent}}function Ct(e,t,n,s){const o=K(t,e,s,!0);J((()=>{(0,r.TF)(s[t],o)}),n)}function Et(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Tt(e){return 128&e.shapeFlag?e.ssContent:e}const xt=Symbol("_leaveCb"),St=Symbol("_enterCb");function Ot(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return X((()=>{e.isMounted=!0})),Y((()=>{e.isUnmounting=!0})),e}const At=[Function,Array],Rt={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:At,onEnter:At,onAfterEnter:At,onEnterCancelled:At,onBeforeLeave:At,onLeave:At,onAfterLeave:At,onLeaveCancelled:At,onBeforeAppear:At,onAppear:At,onAfterAppear:At,onAppearCancelled:At},Lt=e=>{const t=e.subTree;return t.component?Lt(t.component):t},Bt={name:"BaseTransition",props:Rt,setup(e,{slots:t}){const n=bn(),r=Ot();return()=>{const o=t.default&&It(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){let e=!1;for(const t of o)if(t.type!==Vt){0,i=t,e=!0;break}}const c=(0,s.ux)(e),{mode:a}=c;if(r.isLeaving)return Mt(i);const l=Pt(i);if(!l)return Mt(i);let u=Ft(l,c,r,n,(e=>u=e));jt(l,u);const h=n.subTree,p=h&&Pt(h);if(p&&p.type!==Vt&&!en(l,p)&&Lt(n).type!==Vt){const e=Ft(p,c,r,n);if(jt(p,e),"out-in"===a&&l.type!==Vt)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},Mt(i);"in-out"===a&&l.type!==Vt&&(e.delayLeave=(e,t,n)=>{const s=Nt(r,p);s[String(p.key)]=p,e[xt]=()=>{t(),e[xt]=void 0,delete u.delayedLeave},u.delayedLeave=n})}return i}}},$t=Bt;function Nt(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Ft(e,t,n,s,o){const{appear:c,mode:a,persisted:l=!1,onBeforeEnter:u,onEnter:h,onAfterEnter:p,onEnterCancelled:f,onBeforeLeave:d,onLeave:y,onAfterLeave:g,onLeaveCancelled:m,onBeforeAppear:v,onAppear:b,onAfterAppear:_,onAppearCancelled:w}=t,k=String(e.key),C=Nt(n,e),E=(e,t)=>{e&&i(e,s,9,t)},T=(e,t)=>{const n=t[1];E(e,t),(0,r.cy)(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},x={mode:a,persisted:l,beforeEnter(t){let s=u;if(!n.isMounted){if(!c)return;s=v||u}t[xt]&&t[xt](!0);const r=C[k];r&&en(e,r)&&r.el[xt]&&r.el[xt](),E(s,[t])},enter(e){let t=h,s=p,r=f;if(!n.isMounted){if(!c)return;t=b||h,s=_||p,r=w||f}let o=!1;const i=e[St]=t=>{o||(o=!0,E(t?r:s,[e]),x.delayedLeave&&x.delayedLeave(),e[St]=void 0)};t?T(t,[e,i]):i()},leave(t,s){const r=String(e.key);if(t[St]&&t[St](!0),n.isUnmounting)return s();E(d,[t]);let o=!1;const i=t[xt]=n=>{o||(o=!0,s(),E(n?m:g,[t]),t[xt]=void 0,C[r]===e&&delete C[r])};C[r]=e,y?T(y,[t,i]):i()},clone(e){const r=Ft(e,t,n,s,o);return o&&o(r),r}};return x}function Mt(e){if(vt(e))return e=an(e),e.children=null,e}function Pt(e){if(!vt(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0];if(32&t&&(0,r.Tn)(n.default))return n.default()}}function jt(e,t){6&e.shapeFlag&&e.component?jt(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function It(e,t=!1,n){let s=[],r=0;for(let o=0;o<e.length;o++){let i=e[o];const c=null==n?i.key:String(n)+String(null!=i.key?i.key:o);i.type===Dt?(128&i.patchFlag&&r++,s=s.concat(It(i.children,t,c))):(t||i.type!==Vt)&&s.push(null!=c?an(i,{key:c}):i)}if(r>1)for(let o=0;o<s.length;o++)s[o].patchFlag=-2;return s}const Ut=e=>e.__isTeleport;const Dt=Symbol.for("v-fgt"),qt=Symbol.for("v-txt"),Vt=Symbol.for("v-cmt"),Ht=Symbol.for("v-stc"),Kt=[];let Wt=null;function Zt(e=!1){Kt.push(Wt=e?null:[])}function Xt(){Kt.pop(),Wt=Kt[Kt.length-1]||null}let Gt=1;function zt(e){Gt+=e}function Yt(e){return e.dynamicChildren=Gt>0?Wt||r.Oj:null,Xt(),Gt>0&&Wt&&Wt.push(e),e}function Jt(e,t,n,s,r,o){return Yt(sn(e,t,n,s,r,o,!0))}function Qt(e){return!!e&&!0===e.__v_isVNode}function en(e,t){return e.type===t.type&&e.key===t.key}const tn=({key:e})=>null!=e?e:null,nn=({ref:e,ref_key:t,ref_for:n})=>("number"===typeof e&&(e=""+e),null!=e?(0,r.Kg)(e)||(0,s.i9)(e)||(0,r.Tn)(e)?{i:B,r:e,k:t,f:!!n}:e:null);function sn(e,t=null,n=null,s=0,o=null,i=(e===Dt?0:1),c=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&tn(t),ref:t&&nn(t),scopeId:$,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:B};return a?(pn(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=(0,r.Kg)(n)?8:16),Gt>0&&!c&&Wt&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&Wt.push(l),l}const rn=on;function on(e,t=null,n=null,o=0,i=null,c=!1){if(e&&e!==q||(e=Vt),Qt(e)){const s=an(e,t,!0);return n&&pn(s,n),Gt>0&&!c&&Wt&&(6&s.shapeFlag?Wt[Wt.indexOf(e)]=s:Wt.push(s)),s.patchFlag=-2,s}if(Mn(e)&&(e=e.__vccOpts),t){t=cn(t);let{class:e,style:n}=t;e&&!(0,r.Kg)(e)&&(t.class=(0,r.C4)(e)),(0,r.Gv)(n)&&((0,s.ju)(n)&&!(0,r.cy)(n)&&(n=(0,r.X$)({},n)),t.style=(0,r.Tr)(n))}const a=(0,r.Kg)(e)?1:V(e)?128:Ut(e)?64:(0,r.Gv)(e)?4:(0,r.Tn)(e)?2:0;return sn(e,t,n,o,i,a,c,!0)}function cn(e){return e?(0,s.ju)(e)||Fe(e)?(0,r.X$)({},e):e:null}function an(e,t,n=!1,s=!1){const{props:o,ref:i,patchFlag:c,children:a,transition:l}=e,u=t?fn(o||{},t):o,h={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&tn(u),ref:t&&t.ref?n&&i?(0,r.cy)(i)?i.concat(nn(t)):[i,nn(t)]:nn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Dt?-1===c?16:16|c:c,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&an(e.ssContent),ssFallback:e.ssFallback&&an(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&s&&jt(h,l.clone(h)),h}function ln(e=" ",t=0){return rn(qt,null,e,t)}function un(e){return null==e||"boolean"===typeof e?rn(Vt):(0,r.cy)(e)?rn(Dt,null,e.slice()):"object"===typeof e?hn(e):rn(qt,null,String(e))}function hn(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:an(e)}function pn(e,t){let n=0;const{shapeFlag:s}=e;if(null==t)t=null;else if((0,r.cy)(t))n=16;else if("object"===typeof t){if(65&s){const n=t.default;return void(n&&(n._c&&(n._d=!1),pn(e,n()),n._c&&(n._d=!0)))}{n=32;const s=t._;s||Fe(t)?3===s&&B&&(1===B.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=B}}else(0,r.Tn)(t)?(t={default:t,_ctx:B},n=32):(t=String(t),64&s?(n=16,t=[ln(t)]):n=8);e.children=t,e.shapeFlag|=n}function fn(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const e in s)if("class"===e)t.class!==s.class&&(t.class=(0,r.C4)([t.class,s.class]));else if("style"===e)t.style=(0,r.Tr)([t.style,s.style]);else if((0,r.Mp)(e)){const n=t[e],o=s[e];!o||n===o||(0,r.cy)(n)&&n.includes(o)||(t[e]=n?[].concat(n,o):o)}else""!==e&&(t[e]=s[e])}return t}function dn(e,t,n,s=null){i(e,t,7,[n,s])}const yn=Se();let gn=0;function mn(e,t,n){const o=e.type,i=(t?t.appContext:e.appContext)||yn,c={uid:gn++,vnode:e,type:o,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new s.yC(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ue(o,i),emitsOptions:R(o,i),emit:null,emitted:null,propsDefaults:r.MZ,inheritAttrs:o.inheritAttrs,ctx:r.MZ,data:r.MZ,props:r.MZ,attrs:r.MZ,slots:r.MZ,refs:r.MZ,setupState:r.MZ,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return c.ctx={_:c},c.root=t?t.root:c,c.emit=A.bind(null,c),e.ce&&e.ce(c),c}let vn=null;const bn=()=>vn||B;let _n,wn;{const e=(0,r.We)(),t=(t,n)=>{let s;return(s=e[t])||(s=e[t]=[]),s.push(n),e=>{s.length>1?s.forEach((t=>t(e))):s[0](e)}};_n=t("__VUE_INSTANCE_SETTERS__",(e=>vn=e)),wn=t("__VUE_SSR_SETTERS__",(e=>Sn=e))}const kn=e=>{const t=vn;return _n(e),e.scope.on(),()=>{e.scope.off(),_n(t)}},Cn=()=>{vn&&vn.scope.off(),_n(null)};function En(e){return 4&e.vnode.shapeFlag}let Tn,xn,Sn=!1;function On(e,t=!1){t&&wn(t);const{props:n,children:s}=e.vnode,r=En(e);Me(e,n,r,t),ze(e,s);const o=r?An(e,t):void 0;return t&&wn(!1),o}function An(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ue);const{setup:i}=n;if(i){const n=e.setupContext=i.length>1?$n(e):null,a=kn(e);(0,s.C4)();const l=o(i,e,0,[e.props,n]);if((0,s.bl)(),a(),(0,r.yL)(l)){if(l.then(Cn,Cn),t)return l.then((n=>{Rn(e,n,t)})).catch((t=>{c(t,e,0)}));e.asyncDep=l}else Rn(e,l,t)}else Ln(e,t)}function Rn(e,t,n){(0,r.Tn)(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:(0,r.Gv)(t)&&(e.setupState=(0,s.Pr)(t)),Ln(e,n)}function Ln(e,t,n){const o=e.type;if(!e.render){if(!t&&Tn&&!o.render){const t=o.template||me(e).template;if(t){0;const{isCustomElement:n,compilerOptions:s}=e.appContext.config,{delimiters:i,compilerOptions:c}=o,a=(0,r.X$)((0,r.X$)({isCustomElement:n,delimiters:i},s),c);o.render=Tn(t,a)}}e.render=o.render||r.tE,xn&&xn(e)}{const t=kn(e);(0,s.C4)();try{fe(e)}finally{(0,s.bl)(),t()}}}const Bn={get(e,t){return(0,s.u4)(e,"get",""),e[t]}};function $n(e){const t=t=>{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,Bn),slots:e.slots,emit:e.emit,expose:t}}function Nn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy((0,s.Pr)((0,s.IG)(e.exposed)),{get(t,n){return n in t?t[n]:n in ae?ae[n](e):void 0},has(e,t){return t in e||t in ae}})):e.proxy}function Fn(e,t=!0){return(0,r.Tn)(e)?e.displayName||e.name:e.name||t&&e.__name}function Mn(e){return(0,r.Tn)(e)&&"__vccOpts"in e}const Pn=(e,t)=>{const n=(0,s.EW)(e,t,Sn);return n};function jn(e,t,n){const s=arguments.length;return 2===s?(0,r.Gv)(t)&&!(0,r.cy)(t)?Qt(t)?rn(e,null,[t]):rn(e,t):rn(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):3===s&&Qt(n)&&(n=[n]),rn(e,t,n))}const In="3.4.31"},751:(e,t,n)=>{n.d(t,{Jo:()=>U,jR:()=>q});var s=n(641),r=n(33),o=n(953);
|
|
/**
|
|
* @vue/runtime-dom v3.4.31
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/
|
|
"undefined"!==typeof document&&document;const i="transition",c="animation",a=Symbol("_vtc"),l=(e,{slots:t})=>(0,s.h)(s.pR,d(e),t);l.displayName="Transition";const u={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},h=l.props=(0,r.X$)({},s.QP,u),p=(e,t=[])=>{(0,r.cy)(e)?e.forEach((e=>e(...t))):e&&e(...t)},f=e=>!!e&&((0,r.cy)(e)?e.some((e=>e.length>1)):e.length>1);function d(e){const t={};for(const r in e)r in u||(t[r]=e[r]);if(!1===e.css)return t;const{name:n="v",type:s,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:c=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:h=c,appearToClass:d=a,leaveFromClass:g=`${n}-leave-from`,leaveActiveClass:_=`${n}-leave-active`,leaveToClass:k=`${n}-leave-to`}=e,C=y(o),E=C&&C[0],x=C&&C[1],{onBeforeEnter:S,onEnter:O,onEnterCancelled:A,onLeave:R,onLeaveCancelled:L,onBeforeAppear:B=S,onAppear:$=O,onAppearCancelled:N=A}=t,F=(e,t,n)=>{v(e,t?d:a),v(e,t?h:c),n&&n()},M=(e,t)=>{e._isLeaving=!1,v(e,g),v(e,k),v(e,_),t&&t()},P=e=>(t,n)=>{const r=e?$:O,o=()=>F(t,e,n);p(r,[t,o]),b((()=>{v(t,e?l:i),m(t,e?d:a),f(r)||w(t,s,E,o)}))};return(0,r.X$)(t,{onBeforeEnter(e){p(S,[e]),m(e,i),m(e,c)},onBeforeAppear(e){p(B,[e]),m(e,l),m(e,h)},onEnter:P(!1),onAppear:P(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>M(e,t);m(e,g),m(e,_),T(),b((()=>{e._isLeaving&&(v(e,g),m(e,k),f(R)||w(e,s,x,n))})),p(R,[e,n])},onEnterCancelled(e){F(e,!1),p(A,[e])},onAppearCancelled(e){F(e,!0),p(N,[e])},onLeaveCancelled(e){M(e),p(L,[e])}})}function y(e){if(null==e)return null;if((0,r.Gv)(e))return[g(e.enter),g(e.leave)];{const t=g(e);return[t,t]}}function g(e){const t=(0,r.Ro)(e);return t}function m(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[a]||(e[a]=new Set)).add(t)}function v(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[a];n&&(n.delete(t),n.size||(e[a]=void 0))}function b(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let _=0;function w(e,t,n,s){const r=e._endId=++_,o=()=>{r===e._endId&&s()};if(n)return setTimeout(o,n);const{type:i,timeout:c,propCount:a}=k(e,t);if(!i)return s();const l=i+"end";let u=0;const h=()=>{e.removeEventListener(l,p),o()},p=t=>{t.target===e&&++u>=a&&h()};setTimeout((()=>{u<a&&h()}),c+1),e.addEventListener(l,p)}function k(e,t){const n=window.getComputedStyle(e),s=e=>(n[e]||"").split(", "),r=s(`${i}Delay`),o=s(`${i}Duration`),a=C(r,o),l=s(`${c}Delay`),u=s(`${c}Duration`),h=C(l,u);let p=null,f=0,d=0;t===i?a>0&&(p=i,f=a,d=o.length):t===c?h>0&&(p=c,f=h,d=u.length):(f=Math.max(a,h),p=f>0?a>h?i:c:null,d=p?p===i?o.length:u.length:0);const y=p===i&&/\b(transform|all)(,|$)/.test(s(`${i}Property`).toString());return{type:p,timeout:f,propCount:d,hasTransform:y}}function C(e,t){while(e.length<t.length)e=e.concat(e);return Math.max(...t.map(((t,n)=>E(t)+E(e[n]))))}function E(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function T(){return document.body.offsetHeight}Symbol("_vod"),Symbol("_vsh");Symbol("");function x(e,t,n,s){e.addEventListener(t,n,s)}Symbol("_vei");
|
|
/*! #__NO_SIDE_EFFECTS__ */
|
|
"undefined"!==typeof HTMLElement&&HTMLElement;const S=new WeakMap,O=new WeakMap,A=Symbol("_moveCb"),R=Symbol("_enterCb"),L={name:"TransitionGroup",props:(0,r.X$)({},h,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=(0,s.nI)(),r=(0,s.Gy)();let i,c;return(0,s.$u)((()=>{if(!i.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!F(i[0].el,n.vnode.el,t))return;i.forEach(B),i.forEach($);const s=i.filter(N);T(),s.forEach((e=>{const n=e.el,s=n.style;m(n,t),s.transform=s.webkitTransform=s.transitionDuration="";const r=n[A]=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",r),n[A]=null,v(n,t))};n.addEventListener("transitionend",r)}))})),()=>{const a=(0,o.ux)(e),l=d(a);let u=a.tag||s.FK;if(i=[],c)for(let e=0;e<c.length;e++){const t=c[e];t.el&&t.el instanceof Element&&(i.push(t),(0,s.MZ)(t,(0,s.OW)(t,l,r,n)),S.set(t,t.el.getBoundingClientRect()))}c=t.default?(0,s.Df)(t.default()):[];for(let e=0;e<c.length;e++){const t=c[e];null!=t.key&&(0,s.MZ)(t,(0,s.OW)(t,l,r,n))}return(0,s.bF)(u,null,c)}}};L.props;function B(e){const t=e.el;t[A]&&t[A](),t[R]&&t[R]()}function $(e){O.set(e,e.el.getBoundingClientRect())}function N(e){const t=S.get(e),n=O.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const t=e.el.style;return t.transform=t.webkitTransform=`translate(${s}px,${r}px)`,t.transitionDuration="0s",e}}function F(e,t,n){const s=e.cloneNode(),r=e[a];r&&r.forEach((e=>{e.split(/\s+/).forEach((e=>e&&s.classList.remove(e)))})),n.split(/\s+/).forEach((e=>e&&s.classList.add(e))),s.style.display="none";const o=1===t.nodeType?t:t.parentNode;o.appendChild(s);const{hasTransform:i}=k(s);return o.removeChild(s),i}const M=e=>{const t=e.props["onUpdate:modelValue"]||!1;return(0,r.cy)(t)?e=>(0,r.DY)(t,e):t};function P(e){e.target.composing=!0}function j(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const I=Symbol("_assign"),U={created(e,{modifiers:{lazy:t,trim:n,number:s}},o){e[I]=M(o);const i=s||o.props&&"number"===o.props.type;x(e,t?"change":"input",(t=>{if(t.target.composing)return;let s=e.value;n&&(s=s.trim()),i&&(s=(0,r.bB)(s)),e[I](s)})),n&&x(e,"change",(()=>{e.value=e.value.trim()})),t||(x(e,"compositionstart",P),x(e,"compositionend",j),x(e,"change",j))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:o,number:i}},c){if(e[I]=M(c),e.composing)return;const a=!i&&"number"!==e.type||/^0\d/.test(e.value)?e.value:(0,r.bB)(e.value),l=null==t?"":t;if(a!==l){if(document.activeElement===e&&"range"!==e.type){if(s&&t===n)return;if(o&&e.value.trim()===l)return}e.value=l}}};const D={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},q=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=n=>{if(!("key"in n))return;const s=(0,r.Tg)(n.key);return t.some((e=>e===s||D[e]===s))?e(n):void 0})}},33:(e,t,n)=>{
|
|
/**
|
|
* @vue/shared v3.4.31
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/
|
|
/*! #__NO_SIDE_EFFECTS__ */
|
|
function s(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}n.d(t,{$3:()=>f,$H:()=>P,BH:()=>K,BX:()=>ne,Bm:()=>w,C4:()=>Y,CE:()=>y,CP:()=>l,DY:()=>j,Gv:()=>k,J$:()=>Q,Kg:()=>_,MZ:()=>r,Mp:()=>a,NO:()=>c,Oj:()=>o,PT:()=>B,Qd:()=>S,Ro:()=>D,SU:()=>A,TF:()=>h,Tg:()=>N,Tn:()=>b,Tr:()=>W,We:()=>V,X$:()=>u,Y2:()=>ee,ZH:()=>F,Zf:()=>x,bB:()=>U,cy:()=>d,gd:()=>v,pD:()=>s,rU:()=>M,tE:()=>i,u3:()=>se,vM:()=>g,v_:()=>oe,yI:()=>O,yL:()=>C,yQ:()=>I});const r={},o=[],i=()=>{},c=()=>!1,a=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),l=e=>e.startsWith("onUpdate:"),u=Object.assign,h=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},p=Object.prototype.hasOwnProperty,f=(e,t)=>p.call(e,t),d=Array.isArray,y=e=>"[object Map]"===T(e),g=e=>"[object Set]"===T(e),m=e=>"[object Date]"===T(e),v=e=>"[object RegExp]"===T(e),b=e=>"function"===typeof e,_=e=>"string"===typeof e,w=e=>"symbol"===typeof e,k=e=>null!==e&&"object"===typeof e,C=e=>(k(e)||b(e))&&b(e.then)&&b(e.catch),E=Object.prototype.toString,T=e=>E.call(e),x=e=>T(e).slice(8,-1),S=e=>"[object Object]"===T(e),O=e=>_(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,A=s(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),R=e=>{const t=Object.create(null);return n=>{const s=t[n];return s||(t[n]=e(n))}},L=/-(\w)/g,B=R((e=>e.replace(L,((e,t)=>t?t.toUpperCase():"")))),$=/\B([A-Z])/g,N=R((e=>e.replace($,"-$1").toLowerCase())),F=R((e=>e.charAt(0).toUpperCase()+e.slice(1))),M=R((e=>{const t=e?`on${F(e)}`:"";return t})),P=(e,t)=>!Object.is(e,t),j=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},I=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},U=e=>{const t=parseFloat(e);return isNaN(t)?e:t},D=e=>{const t=_(e)?Number(e):NaN;return isNaN(t)?e:t};let q;const V=()=>q||(q="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{});const H="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error",K=s(H);function W(e){if(d(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=_(s)?z(s):W(s);if(r)for(const e in r)t[e]=r[e]}return t}if(_(e)||k(e))return e}const Z=/;(?![^(]*\))/g,X=/:([^]+)/,G=/\/\*[^]*?\*\//g;function z(e){const t={};return e.replace(G,"").split(Z).forEach((e=>{if(e){const n=e.split(X);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function Y(e){let t="";if(_(e))t=e;else if(d(e))for(let n=0;n<e.length;n++){const s=Y(e[n]);s&&(t+=s+" ")}else if(k(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const J="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Q=s(J);function ee(e){return!!e||""===e}function te(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=ne(e[s],t[s]);return n}function ne(e,t){if(e===t)return!0;let n=m(e),s=m(t);if(n||s)return!(!n||!s)&&e.getTime()===t.getTime();if(n=w(e),s=w(t),n||s)return e===t;if(n=d(e),s=d(t),n||s)return!(!n||!s)&&te(e,t);if(n=k(e),s=k(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,o=Object.keys(t).length;if(r!==o)return!1;for(const n in e){const s=e.hasOwnProperty(n),r=t.hasOwnProperty(n);if(s&&!r||!s&&r||!ne(e[n],t[n]))return!1}}return String(e)===String(t)}function se(e,t){return e.findIndex((e=>ne(e,t)))}const re=e=>!(!e||!0!==e.__v_isRef),oe=e=>_(e)?e:null==e?"":d(e)||k(e)&&(e.toString===E||!b(e.toString))?re(e)?oe(e.value):JSON.stringify(e,ie,2):String(e),ie=(e,t)=>re(t)?ie(e,t.value):y(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],s)=>(e[ce(t,s)+" =>"]=n,e)),{})}:g(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>ce(e)))}:w(t)?ce(t):!k(t)||d(t)||S(t)?t:String(t),ce=(e,t="")=>{var n;return w(e)?`Symbol(${null!=(n=e.description)?n:t})`:e}},262:(e,t)=>{t.A=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n}},756:(e,t,n)=>{},373:(e,t,n)=>{n.d(t,{Ay:()=>Ze});var s={};n.r(s),n.d(s,{Decoder:()=>Ie,Encoder:()=>Pe,PacketType:()=>Me,protocol:()=>Fe});const r=Object.create(null);r["open"]="0",r["close"]="1",r["ping"]="2",r["pong"]="3",r["message"]="4",r["upgrade"]="5",r["noop"]="6";const o=Object.create(null);Object.keys(r).forEach((e=>{o[r[e]]=e}));const i={type:"error",data:"parser error"},c="function"===typeof Blob||"undefined"!==typeof Blob&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),a="function"===typeof ArrayBuffer,l=e=>"function"===typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,u=({type:e,data:t},n,s)=>c&&t instanceof Blob?n?s(t):h(t,s):a&&(t instanceof ArrayBuffer||l(t))?n?s(t):h(new Blob([t]),s):s(r[e]+(t||"")),h=(e,t)=>{const n=new FileReader;return n.onload=function(){const e=n.result.split(",")[1];t("b"+(e||""))},n.readAsDataURL(e)};function p(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let f;function d(e,t){return c&&e.data instanceof Blob?e.data.arrayBuffer().then(p).then(t):a&&(e.data instanceof ArrayBuffer||l(e.data))?t(p(e.data)):void u(e,!1,(e=>{f||(f=new TextEncoder),t(f.encode(e))}))}const y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g="undefined"===typeof Uint8Array?[]:new Uint8Array(256);for(let Ge=0;Ge<y.length;Ge++)g[y.charCodeAt(Ge)]=Ge;const m=e=>{let t,n,s,r,o,i=.75*e.length,c=e.length,a=0;"="===e[e.length-1]&&(i--,"="===e[e.length-2]&&i--);const l=new ArrayBuffer(i),u=new Uint8Array(l);for(t=0;t<c;t+=4)n=g[e.charCodeAt(t)],s=g[e.charCodeAt(t+1)],r=g[e.charCodeAt(t+2)],o=g[e.charCodeAt(t+3)],u[a++]=n<<2|s>>4,u[a++]=(15&s)<<4|r>>2,u[a++]=(3&r)<<6|63&o;return l},v="function"===typeof ArrayBuffer,b=(e,t)=>{if("string"!==typeof e)return{type:"message",data:w(e,t)};const n=e.charAt(0);if("b"===n)return{type:"message",data:_(e.substring(1),t)};const s=o[n];return s?e.length>1?{type:o[n],data:e.substring(1)}:{type:o[n]}:i},_=(e,t)=>{if(v){const n=m(e);return w(n,t)}return{base64:!0,data:e}},w=(e,t)=>{switch(t){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}},k=String.fromCharCode(30),C=(e,t)=>{const n=e.length,s=new Array(n);let r=0;e.forEach(((e,o)=>{u(e,!1,(e=>{s[o]=e,++r===n&&t(s.join(k))}))}))},E=(e,t)=>{const n=e.split(k),s=[];for(let r=0;r<n.length;r++){const e=b(n[r],t);if(s.push(e),"error"===e.type)break}return s};function T(){return new TransformStream({transform(e,t){d(e,(n=>{const s=n.length;let r;if(s<126)r=new Uint8Array(1),new DataView(r.buffer).setUint8(0,s);else if(s<65536){r=new Uint8Array(3);const e=new DataView(r.buffer);e.setUint8(0,126),e.setUint16(1,s)}else{r=new Uint8Array(9);const e=new DataView(r.buffer);e.setUint8(0,127),e.setBigUint64(1,BigInt(s))}e.data&&"string"!==typeof e.data&&(r[0]|=128),t.enqueue(r),t.enqueue(n)}))}})}let x;function S(e){return e.reduce(((e,t)=>e+t.length),0)}function O(e,t){if(e[0].length===t)return e.shift();const n=new Uint8Array(t);let s=0;for(let r=0;r<t;r++)n[r]=e[0][s++],s===e[0].length&&(e.shift(),s=0);return e.length&&s<e[0].length&&(e[0]=e[0].slice(s)),n}function A(e,t){x||(x=new TextDecoder);const n=[];let s=0,r=-1,o=!1;return new TransformStream({transform(c,a){n.push(c);while(1){if(0===s){if(S(n)<1)break;const e=O(n,1);o=128===(128&e[0]),r=127&e[0],s=r<126?3:126===r?1:2}else if(1===s){if(S(n)<2)break;const e=O(n,2);r=new DataView(e.buffer,e.byteOffset,e.length).getUint16(0),s=3}else if(2===s){if(S(n)<8)break;const e=O(n,8),t=new DataView(e.buffer,e.byteOffset,e.length),o=t.getUint32(0);if(o>Math.pow(2,21)-1){a.enqueue(i);break}r=o*Math.pow(2,32)+t.getUint32(4),s=3}else{if(S(n)<r)break;const e=O(n,r);a.enqueue(b(o?e:x.decode(e),t)),s=0}if(0===r||r>e){a.enqueue(i);break}}}})}const R=4;function L(e){if(e)return B(e)}function B(e){for(var t in L.prototype)e[t]=L.prototype[t];return e}L.prototype.on=L.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},L.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},L.prototype.off=L.prototype.removeListener=L.prototype.removeAllListeners=L.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,s=this._callbacks["$"+e];if(!s)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var r=0;r<s.length;r++)if(n=s[r],n===t||n.fn===t){s.splice(r,1);break}return 0===s.length&&delete this._callbacks["$"+e],this},L.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],s=1;s<arguments.length;s++)t[s-1]=arguments[s];if(n){n=n.slice(0);s=0;for(var r=n.length;s<r;++s)n[s].apply(this,t)}return this},L.prototype.emitReserved=L.prototype.emit,L.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},L.prototype.hasListeners=function(e){return!!this.listeners(e).length};const $=(()=>"undefined"!==typeof self?self:"undefined"!==typeof window?window:Function("return this")())();function N(e,...t){return t.reduce(((t,n)=>(e.hasOwnProperty(n)&&(t[n]=e[n]),t)),{})}const F=$.setTimeout,M=$.clearTimeout;function P(e,t){t.useNativeTimers?(e.setTimeoutFn=F.bind($),e.clearTimeoutFn=M.bind($)):(e.setTimeoutFn=$.setTimeout.bind($),e.clearTimeoutFn=$.clearTimeout.bind($))}const j=1.33;function I(e){return"string"===typeof e?U(e):Math.ceil((e.byteLength||e.size)*j)}function U(e){let t=0,n=0;for(let s=0,r=e.length;s<r;s++)t=e.charCodeAt(s),t<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(s++,n+=4);return n}function D(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}function q(e){let t={},n=e.split("&");for(let s=0,r=n.length;s<r;s++){let e=n[s].split("=");t[decodeURIComponent(e[0])]=decodeURIComponent(e[1])}return t}class V extends Error{constructor(e,t,n){super(e),this.description=t,this.context=n,this.type="TransportError"}}class H extends L{constructor(e){super(),this.writable=!1,P(this,e),this.opts=e,this.query=e.query,this.socket=e.socket}onError(e,t,n){return super.emitReserved("error",new V(e,t,n)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this}send(e){"open"===this.readyState&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const t=b(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}createUri(e,t={}){return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(t)}_hostname(){const e=this.opts.hostname;return-1===e.indexOf(":")?e:"["+e+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(443!==this.opts.port)||!this.opts.secure&&80!==Number(this.opts.port))?":"+this.opts.port:""}_query(e){const t=D(e);return t.length?"?"+t:""}}const K="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),W=64,Z={};let X,G=0,z=0;function Y(e){let t="";do{t=K[e%W]+t,e=Math.floor(e/W)}while(e>0);return t}function J(){const e=Y(+new Date);return e!==X?(G=0,X=e):e+"."+Y(G++)}for(;z<W;z++)Z[K[z]]=z;let Q=!1;try{Q="undefined"!==typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(Xe){}const ee=Q;function te(e){const t=e.xdomain;try{if("undefined"!==typeof XMLHttpRequest&&(!t||ee))return new XMLHttpRequest}catch(n){}if(!t)try{return new($[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(n){}}function ne(){}function se(){}const re=function(){const e=new te({xdomain:!1});return null!=e.responseType}();class oe extends H{constructor(e){if(super(e),this.polling=!1,"undefined"!==typeof location){const t="https:"===location.protocol;let n=location.port;n||(n=t?"443":"80"),this.xd="undefined"!==typeof location&&e.hostname!==location.hostname||n!==e.port}const t=e&&e.forceBase64;this.supportsBinary=re&&!t,this.opts.withCredentials&&(this.cookieJar=ne())}get name(){return"polling"}doOpen(){this.poll()}pause(e){this.readyState="pausing";const t=()=>{this.readyState="paused",e()};if(this.polling||!this.writable){let e=0;this.polling&&(e++,this.once("pollComplete",(function(){--e||t()}))),this.writable||(e++,this.once("drain",(function(){--e||t()})))}else t()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const t=e=>{if("opening"===this.readyState&&"open"===e.type&&this.onOpen(),"close"===e.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(e)};E(e,this.socket.binaryType).forEach(t),"closed"!==this.readyState&&(this.polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this.poll())}doClose(){const e=()=>{this.write([{type:"close"}])};"open"===this.readyState?e():this.once("open",e)}write(e){this.writable=!1,C(e,(e=>{this.doWrite(e,(()=>{this.writable=!0,this.emitReserved("drain")}))}))}uri(){const e=this.opts.secure?"https":"http",t=this.query||{};return!1!==this.opts.timestampRequests&&(t[this.opts.timestampParam]=J()),this.supportsBinary||t.sid||(t.b64=1),this.createUri(e,t)}request(e={}){return Object.assign(e,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new ie(this.uri(),e)}doWrite(e,t){const n=this.request({method:"POST",data:e});n.on("success",t),n.on("error",((e,t)=>{this.onError("xhr post error",e,t)}))}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",((e,t)=>{this.onError("xhr poll error",e,t)})),this.pollXhr=e}}class ie extends L{constructor(e,t){super(),P(this,t),this.opts=t,this.method=t.method||"GET",this.uri=e,this.data=void 0!==t.data?t.data:null,this.create()}create(){var e;const t=N(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this.opts.xd;const n=this.xhr=new te(t);try{n.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let e in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(e)&&n.setRequestHeader(e,this.opts.extraHeaders[e])}}catch(s){}if("POST"===this.method)try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(s){}try{n.setRequestHeader("Accept","*/*")}catch(s){}null===(e=this.opts.cookieJar)||void 0===e||e.addCookies(n),"withCredentials"in n&&(n.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(n.timeout=this.opts.requestTimeout),n.onreadystatechange=()=>{var e;3===n.readyState&&(null===(e=this.opts.cookieJar)||void 0===e||e.parseCookies(n)),4===n.readyState&&(200===n.status||1223===n.status?this.onLoad():this.setTimeoutFn((()=>{this.onError("number"===typeof n.status?n.status:0)}),0))},n.send(this.data)}catch(s){return void this.setTimeoutFn((()=>{this.onError(s)}),0)}"undefined"!==typeof document&&(this.index=ie.requestsCount++,ie.requests[this.index]=this)}onError(e){this.emitReserved("error",e,this.xhr),this.cleanup(!0)}cleanup(e){if("undefined"!==typeof this.xhr&&null!==this.xhr){if(this.xhr.onreadystatechange=se,e)try{this.xhr.abort()}catch(t){}"undefined"!==typeof document&&delete ie.requests[this.index],this.xhr=null}}onLoad(){const e=this.xhr.responseText;null!==e&&(this.emitReserved("data",e),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}if(ie.requestsCount=0,ie.requests={},"undefined"!==typeof document)if("function"===typeof attachEvent)attachEvent("onunload",ce);else if("function"===typeof addEventListener){const e="onpagehide"in $?"pagehide":"unload";addEventListener(e,ce,!1)}function ce(){for(let e in ie.requests)ie.requests.hasOwnProperty(e)&&ie.requests[e].abort()}const ae=(()=>{const e="function"===typeof Promise&&"function"===typeof Promise.resolve;return e?e=>Promise.resolve().then(e):(e,t)=>t(e,0)})(),le=$.WebSocket||$.MozWebSocket,ue=!0,he="arraybuffer",pe="undefined"!==typeof navigator&&"string"===typeof navigator.product&&"reactnative"===navigator.product.toLowerCase();class fe extends H{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const e=this.uri(),t=this.opts.protocols,n=pe?{}:N(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=ue&&!pe?t?new le(e,t):new le(e):new le(e,t,n)}catch(Xe){return this.emitReserved("error",Xe)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const n=e[t],s=t===e.length-1;u(n,this.supportsBinary,(e=>{const t={};if(!ue&&(n.options&&(t.compress=n.options.compress),this.opts.perMessageDeflate)){const n="string"===typeof e?Buffer.byteLength(e):e.length;n<this.opts.perMessageDeflate.threshold&&(t.compress=!1)}try{ue?this.ws.send(e):this.ws.send(e,t)}catch(r){}s&&ae((()=>{this.writable=!0,this.emitReserved("drain")}),this.setTimeoutFn)}))}}doClose(){"undefined"!==typeof this.ws&&(this.ws.close(),this.ws=null)}uri(){const e=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=J()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}check(){return!!le}}class de extends H{get name(){return"webtransport"}doOpen(){"function"===typeof WebTransport&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then((()=>{this.onClose()})).catch((e=>{this.onError("webtransport error",e)})),this.transport.ready.then((()=>{this.transport.createBidirectionalStream().then((e=>{const t=A(Number.MAX_SAFE_INTEGER,this.socket.binaryType),n=e.readable.pipeThrough(t).getReader(),s=T();s.readable.pipeTo(e.writable),this.writer=s.writable.getWriter();const r=()=>{n.read().then((({done:e,value:t})=>{e||(this.onPacket(t),r())})).catch((e=>{}))};r();const o={type:"open"};this.query.sid&&(o.data=`{"sid":"${this.query.sid}"}`),this.writer.write(o).then((()=>this.onOpen()))}))})))}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const n=e[t],s=t===e.length-1;this.writer.write(n).then((()=>{s&&ae((()=>{this.writable=!0,this.emitReserved("drain")}),this.setTimeoutFn)}))}}doClose(){var e;null===(e=this.transport)||void 0===e||e.close()}}const ye={websocket:fe,webtransport:de,polling:oe},ge=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,me=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function ve(e){if(e.length>2e3)throw"URI too long";const t=e,n=e.indexOf("["),s=e.indexOf("]");-1!=n&&-1!=s&&(e=e.substring(0,n)+e.substring(n,s).replace(/:/g,";")+e.substring(s,e.length));let r=ge.exec(e||""),o={},i=14;while(i--)o[me[i]]=r[i]||"";return-1!=n&&-1!=s&&(o.source=t,o.host=o.host.substring(1,o.host.length-1).replace(/;/g,":"),o.authority=o.authority.replace("[","").replace("]","").replace(/;/g,":"),o.ipv6uri=!0),o.pathNames=be(o,o["path"]),o.queryKey=_e(o,o["query"]),o}function be(e,t){const n=/\/{2,9}/g,s=t.replace(n,"/").split("/");return"/"!=t.slice(0,1)&&0!==t.length||s.splice(0,1),"/"==t.slice(-1)&&s.splice(s.length-1,1),s}function _e(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,(function(e,t,s){t&&(n[t]=s)})),n}class we extends L{constructor(e,t={}){super(),this.binaryType=he,this.writeBuffer=[],e&&"object"===typeof e&&(t=e,e=null),e?(e=ve(e),t.hostname=e.host,t.secure="https"===e.protocol||"wss"===e.protocol,t.port=e.port,e.query&&(t.query=e.query)):t.host&&(t.hostname=ve(t.host).host),P(this,t),this.secure=null!=t.secure?t.secure:"undefined"!==typeof location&&"https:"===location.protocol,t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||("undefined"!==typeof location?location.hostname:"localhost"),this.port=t.port||("undefined"!==typeof location&&location.port?location.port:this.secure?"443":"80"),this.transports=t.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},t),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),"string"===typeof this.opts.query&&(this.opts.query=q(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,"function"===typeof addEventListener&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(e){const t=Object.assign({},this.opts.query);t.EIO=R,t.transport=e,this.id&&(t.sid=this.id);const n=Object.assign({},this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new ye[e](n)}open(){let e;if(this.opts.rememberUpgrade&&we.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))e="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn((()=>{this.emitReserved("error","No transports available")}),0);e=this.transports[0]}this.readyState="opening";try{e=this.createTransport(e)}catch(t){return this.transports.shift(),void this.open()}e.open(),this.setTransport(e)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",(e=>this.onClose("transport close",e)))}probe(e){let t=this.createTransport(e),n=!1;we.priorWebsocketSuccess=!1;const s=()=>{n||(t.send([{type:"ping",data:"probe"}]),t.once("packet",(e=>{if(!n)if("pong"===e.type&&"probe"===e.data){if(this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;we.priorWebsocketSuccess="websocket"===t.name,this.transport.pause((()=>{n||"closed"!==this.readyState&&(l(),this.setTransport(t),t.send([{type:"upgrade"}]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())}))}else{const e=new Error("probe error");e.transport=t.name,this.emitReserved("upgradeError",e)}})))};function r(){n||(n=!0,l(),t.close(),t=null)}const o=e=>{const n=new Error("probe error: "+e);n.transport=t.name,r(),this.emitReserved("upgradeError",n)};function i(){o("transport closed")}function c(){o("socket closed")}function a(e){t&&e.name!==t.name&&r()}const l=()=>{t.removeListener("open",s),t.removeListener("error",o),t.removeListener("close",i),this.off("close",c),this.off("upgrading",a)};t.once("open",s),t.once("error",o),t.once("close",i),this.once("close",c),this.once("upgrading",a),-1!==this.upgrades.indexOf("webtransport")&&"webtransport"!==e?this.setTimeoutFn((()=>{n||t.open()}),200):t.open()}onOpen(){if(this.readyState="open",we.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade){let e=0;const t=this.upgrades.length;for(;e<t;e++)this.probe(this.upgrades[e])}}onPacket(e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),this.resetPingTimeout(),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const t=new Error("server error");t.code=e.data,this.onError(t);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data);break}}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this.upgrades=this.filterUpgrades(e.upgrades),this.pingInterval=e.pingInterval,this.pingTimeout=e.pingTimeout,this.maxPayload=e.maxPayload,this.onOpen(),"closed"!==this.readyState&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn((()=>{this.onClose("ping timeout")}),this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this.getWritablePackets();this.transport.send(e),this.prevBufferLen=e.length,this.emitReserved("flush")}}getWritablePackets(){const e=this.maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1;if(!e)return this.writeBuffer;let t=1;for(let n=0;n<this.writeBuffer.length;n++){const e=this.writeBuffer[n].data;if(e&&(t+=I(e)),n>0&&t>this.maxPayload)return this.writeBuffer.slice(0,n);t+=2}return this.writeBuffer}write(e,t,n){return this.sendPacket("message",e,t,n),this}send(e,t,n){return this.sendPacket("message",e,t,n),this}sendPacket(e,t,n,s){if("function"===typeof t&&(s=t,t=void 0),"function"===typeof n&&(s=n,n=null),"closing"===this.readyState||"closed"===this.readyState)return;n=n||{},n.compress=!1!==n.compress;const r={type:e,data:t,options:n};this.emitReserved("packetCreate",r),this.writeBuffer.push(r),s&&this.once("flush",s),this.flush()}close(){const e=()=>{this.onClose("forced close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},n=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return"opening"!==this.readyState&&"open"!==this.readyState||(this.readyState="closing",this.writeBuffer.length?this.once("drain",(()=>{this.upgrading?n():e()})):this.upgrading?n():e()),this}onError(e){we.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(e,t){"opening"!==this.readyState&&"open"!==this.readyState&&"closing"!==this.readyState||(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),"function"===typeof removeEventListener&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const t=[];let n=0;const s=e.length;for(;n<s;n++)~this.transports.indexOf(e[n])&&t.push(e[n]);return t}}we.protocol=R;we.protocol;function ke(e,t="",n){let s=e;n=n||"undefined"!==typeof location&&location,null==e&&(e=n.protocol+"//"+n.host),"string"===typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?n.protocol+e:n.host+e),/^(https?|wss?):\/\//.test(e)||(e="undefined"!==typeof n?n.protocol+"//"+e:"https://"+e),s=ve(e)),s.port||(/^(http|ws)$/.test(s.protocol)?s.port="80":/^(http|ws)s$/.test(s.protocol)&&(s.port="443")),s.path=s.path||"/";const r=-1!==s.host.indexOf(":"),o=r?"["+s.host+"]":s.host;return s.id=s.protocol+"://"+o+":"+s.port+t,s.href=s.protocol+"://"+o+(n&&n.port===s.port?"":":"+s.port),s}const Ce="function"===typeof ArrayBuffer,Ee=e=>"function"===typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,Te=Object.prototype.toString,xe="function"===typeof Blob||"undefined"!==typeof Blob&&"[object BlobConstructor]"===Te.call(Blob),Se="function"===typeof File||"undefined"!==typeof File&&"[object FileConstructor]"===Te.call(File);function Oe(e){return Ce&&(e instanceof ArrayBuffer||Ee(e))||xe&&e instanceof Blob||Se&&e instanceof File}function Ae(e,t){if(!e||"object"!==typeof e)return!1;if(Array.isArray(e)){for(let t=0,n=e.length;t<n;t++)if(Ae(e[t]))return!0;return!1}if(Oe(e))return!0;if(e.toJSON&&"function"===typeof e.toJSON&&1===arguments.length)return Ae(e.toJSON(),!0);for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&Ae(e[n]))return!0;return!1}function Re(e){const t=[],n=e.data,s=e;return s.data=Le(n,t),s.attachments=t.length,{packet:s,buffers:t}}function Le(e,t){if(!e)return e;if(Oe(e)){const n={_placeholder:!0,num:t.length};return t.push(e),n}if(Array.isArray(e)){const n=new Array(e.length);for(let s=0;s<e.length;s++)n[s]=Le(e[s],t);return n}if("object"===typeof e&&!(e instanceof Date)){const n={};for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(n[s]=Le(e[s],t));return n}return e}function Be(e,t){return e.data=$e(e.data,t),delete e.attachments,e}function $e(e,t){if(!e)return e;if(e&&!0===e._placeholder){const n="number"===typeof e.num&&e.num>=0&&e.num<t.length;if(n)return t[e.num];throw new Error("illegal attachments")}if(Array.isArray(e))for(let n=0;n<e.length;n++)e[n]=$e(e[n],t);else if("object"===typeof e)for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=$e(e[n],t));return e}const Ne=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],Fe=5;var Me;(function(e){e[e["CONNECT"]=0]="CONNECT",e[e["DISCONNECT"]=1]="DISCONNECT",e[e["EVENT"]=2]="EVENT",e[e["ACK"]=3]="ACK",e[e["CONNECT_ERROR"]=4]="CONNECT_ERROR",e[e["BINARY_EVENT"]=5]="BINARY_EVENT",e[e["BINARY_ACK"]=6]="BINARY_ACK"})(Me||(Me={}));class Pe{constructor(e){this.replacer=e}encode(e){return e.type!==Me.EVENT&&e.type!==Me.ACK||!Ae(e)?[this.encodeAsString(e)]:this.encodeAsBinary({type:e.type===Me.EVENT?Me.BINARY_EVENT:Me.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id})}encodeAsString(e){let t=""+e.type;return e.type!==Me.BINARY_EVENT&&e.type!==Me.BINARY_ACK||(t+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(t+=e.nsp+","),null!=e.id&&(t+=e.id),null!=e.data&&(t+=JSON.stringify(e.data,this.replacer)),t}encodeAsBinary(e){const t=Re(e),n=this.encodeAsString(t.packet),s=t.buffers;return s.unshift(n),s}}function je(e){return"[object Object]"===Object.prototype.toString.call(e)}class Ie extends L{constructor(e){super(),this.reviver=e}add(e){let t;if("string"===typeof e){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");t=this.decodeString(e);const n=t.type===Me.BINARY_EVENT;n||t.type===Me.BINARY_ACK?(t.type=n?Me.EVENT:Me.ACK,this.reconstructor=new Ue(t),0===t.attachments&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t)}else{if(!Oe(e)&&!e.base64)throw new Error("Unknown type: "+e);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");t=this.reconstructor.takeBinaryData(e),t&&(this.reconstructor=null,super.emitReserved("decoded",t))}}decodeString(e){let t=0;const n={type:Number(e.charAt(0))};if(void 0===Me[n.type])throw new Error("unknown packet type "+n.type);if(n.type===Me.BINARY_EVENT||n.type===Me.BINARY_ACK){const s=t+1;while("-"!==e.charAt(++t)&&t!=e.length);const r=e.substring(s,t);if(r!=Number(r)||"-"!==e.charAt(t))throw new Error("Illegal attachments");n.attachments=Number(r)}if("/"===e.charAt(t+1)){const s=t+1;while(++t){const n=e.charAt(t);if(","===n)break;if(t===e.length)break}n.nsp=e.substring(s,t)}else n.nsp="/";const s=e.charAt(t+1);if(""!==s&&Number(s)==s){const s=t+1;while(++t){const n=e.charAt(t);if(null==n||Number(n)!=n){--t;break}if(t===e.length)break}n.id=Number(e.substring(s,t+1))}if(e.charAt(++t)){const s=this.tryParse(e.substr(t));if(!Ie.isPayloadValid(n.type,s))throw new Error("invalid payload");n.data=s}return n}tryParse(e){try{return JSON.parse(e,this.reviver)}catch(t){return!1}}static isPayloadValid(e,t){switch(e){case Me.CONNECT:return je(t);case Me.DISCONNECT:return void 0===t;case Me.CONNECT_ERROR:return"string"===typeof t||je(t);case Me.EVENT:case Me.BINARY_EVENT:return Array.isArray(t)&&("number"===typeof t[0]||"string"===typeof t[0]&&-1===Ne.indexOf(t[0]));case Me.ACK:case Me.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class Ue{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const e=Be(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function De(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const qe=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class Ve extends L{constructor(e,t,n){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=t,n&&n.auth&&(this.auth=n.auth),this._opts=Object.assign({},n),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[De(e,"open",this.onopen.bind(this)),De(e,"packet",this.onpacket.bind(this)),De(e,"error",this.onerror.bind(this)),De(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io["_reconnecting"]||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...t){if(qe.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');if(t.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(t),this;const n={type:Me.EVENT,data:t,options:{}};if(n.options.compress=!1!==this.flags.compress,"function"===typeof t[t.length-1]){const e=this.ids++,s=t.pop();this._registerAckCallback(e,s),n.id=e}const s=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable,r=this.flags.volatile&&(!s||!this.connected);return r||(this.connected?(this.notifyOutgoingListeners(n),this.packet(n)):this.sendBuffer.push(n)),this.flags={},this}_registerAckCallback(e,t){var n;const s=null!==(n=this.flags.timeout)&&void 0!==n?n:this._opts.ackTimeout;if(void 0===s)return void(this.acks[e]=t);const r=this.io.setTimeoutFn((()=>{delete this.acks[e];for(let t=0;t<this.sendBuffer.length;t++)this.sendBuffer[t].id===e&&this.sendBuffer.splice(t,1);t.call(this,new Error("operation has timed out"))}),s),o=(...e)=>{this.io.clearTimeoutFn(r),t.apply(this,e)};o.withError=!0,this.acks[e]=o}emitWithAck(e,...t){return new Promise(((n,s)=>{const r=(e,t)=>e?s(e):n(t);r.withError=!0,t.push(r),this.emit(e,...t)}))}_addToQueue(e){let t;"function"===typeof e[e.length-1]&&(t=e.pop());const n={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push(((e,...s)=>{if(n!==this._queue[0])return;const r=null!==e;return r?n.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(e)):(this._queue.shift(),t&&t(null,...s)),n.pending=!1,this._drainQueue()})),this._queue.push(n),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||0===this._queue.length)return;const t=this._queue[0];t.pending&&!e||(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){"function"==typeof this.auth?this.auth((e=>{this._sendConnectPacket(e)})):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:Me.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,t){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach((e=>{const t=this.sendBuffer.some((t=>String(t.id)===e));if(!t){const t=this.acks[e];delete this.acks[e],t.withError&&t.call(this,new Error("socket has been disconnected"))}}))}onpacket(e){const t=e.nsp===this.nsp;if(t)switch(e.type){case Me.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case Me.EVENT:case Me.BINARY_EVENT:this.onevent(e);break;case Me.ACK:case Me.BINARY_ACK:this.onack(e);break;case Me.DISCONNECT:this.ondisconnect();break;case Me.CONNECT_ERROR:this.destroy();const t=new Error(e.data.message);t.data=e.data.data,this.emitReserved("connect_error",t);break}}onevent(e){const t=e.data||[];null!=e.id&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const t=this._anyListeners.slice();for(const n of t)n.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&"string"===typeof e[e.length-1]&&(this._lastOffset=e[e.length-1])}ack(e){const t=this;let n=!1;return function(...s){n||(n=!0,t.packet({type:Me.ACK,id:e,data:s}))}}onack(e){const t=this.acks[e.id];"function"===typeof t&&(delete this.acks[e.id],t.withError&&e.data.unshift(null),t.apply(this,e.data))}onconnect(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach((e=>this.emitEvent(e))),this.receiveBuffer=[],this.sendBuffer.forEach((e=>{this.notifyOutgoingListeners(e),this.packet(e)})),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach((e=>e())),this.subs=void 0),this.io["_destroy"](this)}disconnect(){return this.connected&&this.packet({type:Me.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const t=this._anyListeners;for(let n=0;n<t.length;n++)if(e===t[n])return t.splice(n,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){const t=this._anyOutgoingListeners;for(let n=0;n<t.length;n++)if(e===t[n])return t.splice(n,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const t=this._anyOutgoingListeners.slice();for(const n of t)n.apply(this,e.data)}}}function He(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}He.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},He.prototype.reset=function(){this.attempts=0},He.prototype.setMin=function(e){this.ms=e},He.prototype.setMax=function(e){this.max=e},He.prototype.setJitter=function(e){this.jitter=e};class Ke extends L{constructor(e,t){var n;super(),this.nsps={},this.subs=[],e&&"object"===typeof e&&(t=e,e=void 0),t=t||{},t.path=t.path||"/socket.io",this.opts=t,P(this,t),this.reconnection(!1!==t.reconnection),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(n=t.randomizationFactor)&&void 0!==n?n:.5),this.backoff=new He({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==t.timeout?2e4:t.timeout),this._readyState="closed",this.uri=e;const r=t.parser||s;this.encoder=new r.Encoder,this.decoder=new r.Decoder,this._autoConnect=!1!==t.autoConnect,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}reconnectionAttempts(e){return void 0===e?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return void 0===e?this._reconnectionDelay:(this._reconnectionDelay=e,null===(t=this.backoff)||void 0===t||t.setMin(e),this)}randomizationFactor(e){var t;return void 0===e?this._randomizationFactor:(this._randomizationFactor=e,null===(t=this.backoff)||void 0===t||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return void 0===e?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,null===(t=this.backoff)||void 0===t||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new we(this.uri,this.opts);const t=this.engine,n=this;this._readyState="opening",this.skipReconnect=!1;const s=De(t,"open",(function(){n.onopen(),e&&e()})),r=t=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",t),e?e(t):this.maybeReconnectOnOpen()},o=De(t,"error",r);if(!1!==this._timeout){const e=this._timeout,n=this.setTimeoutFn((()=>{s(),r(new Error("timeout")),t.close()}),e);this.opts.autoUnref&&n.unref(),this.subs.push((()=>{this.clearTimeoutFn(n)}))}return this.subs.push(s),this.subs.push(o),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(De(e,"ping",this.onping.bind(this)),De(e,"data",this.ondata.bind(this)),De(e,"error",this.onerror.bind(this)),De(e,"close",this.onclose.bind(this)),De(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(t){this.onclose("parse error",t)}}ondecoded(e){ae((()=>{this.emitReserved("packet",e)}),this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,t){let n=this.nsps[e];return n?this._autoConnect&&!n.active&&n.connect():(n=new Ve(this,e,t),this.nsps[e]=n),n}_destroy(e){const t=Object.keys(this.nsps);for(const n of t){const e=this.nsps[n];if(e.active)return}this._close()}_packet(e){const t=this.encoder.encode(e);for(let n=0;n<t.length;n++)this.engine.write(t[n],e.options)}cleanup(){this.subs.forEach((e=>e())),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(e,t){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const t=this.backoff.duration();this._reconnecting=!0;const n=this.setTimeoutFn((()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),e.skipReconnect||e.open((t=>{t?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",t)):e.onreconnect()})))}),t);this.opts.autoUnref&&n.unref(),this.subs.push((()=>{this.clearTimeoutFn(n)}))}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const We={};function Ze(e,t){"object"===typeof e&&(t=e,e=void 0),t=t||{};const n=ke(e,t.path||"/socket.io"),s=n.source,r=n.id,o=n.path,i=We[r]&&o in We[r]["nsps"],c=t.forceNew||t["force new connection"]||!1===t.multiplex||i;let a;return c?a=new Ke(s,t):(We[r]||(We[r]=new Ke(s,t)),a=We[r]),n.query&&!t.query&&(t.query=n.queryKey),a.socket(n.path,t)}Object.assign(Ze,{Manager:Ke,Socket:Ve,io:Ze,connect:Ze})}}]);
|
|
//# sourceMappingURL=chunk-vendors.e0723df7.js.map
|