diff --git a/assets/index-CeXU4NBb.js b/assets/index-CeXU4NBb.js deleted file mode 100644 index 5832a4d..0000000 --- a/assets/index-CeXU4NBb.js +++ /dev/null @@ -1,24 +0,0 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))n(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function s(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(r){if(r.ep)return;r.ep=!0;const i=s(r);fetch(r.href,i)}})();/** -* @vue/shared v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function Mn(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const se={},At=[],Ye=()=>{},No=()=>!1,Ds=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Bn=e=>e.startsWith("onUpdate:"),me=Object.assign,Fn=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},ko=Object.prototype.hasOwnProperty,ee=(e,t)=>ko.call(e,t),F=Array.isArray,It=e=>is(e)==="[object Map]",Ms=e=>is(e)==="[object Set]",dr=e=>is(e)==="[object Date]",q=e=>typeof e=="function",he=e=>typeof e=="string",Xe=e=>typeof e=="symbol",oe=e=>e!==null&&typeof e=="object",Yr=e=>(oe(e)||q(e))&&q(e.then)&&q(e.catch),Jr=Object.prototype.toString,is=e=>Jr.call(e),Po=e=>is(e).slice(8,-1),Xr=e=>is(e)==="[object Object]",Un=e=>he(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Kt=Mn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Bs=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},Lo=/-(\w)/g,ht=Bs(e=>e.replace(Lo,(t,s)=>s?s.toUpperCase():"")),Do=/\B([A-Z])/g,St=Bs(e=>e.replace(Do,"-$1").toLowerCase()),Qr=Bs(e=>e.charAt(0).toUpperCase()+e.slice(1)),sn=Bs(e=>e?`on${Qr(e)}`:""),ft=(e,t)=>!Object.is(e,t),gs=(e,...t)=>{for(let s=0;s{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},_n=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let hr;const Fs=()=>hr||(hr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Hn(e){if(F(e)){const t={};for(let s=0;s{if(s){const n=s.split(Bo);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function ne(e){let t="";if(he(e))t=e;else if(F(e))for(let s=0;sUs(s,t))}const si=e=>!!(e&&e.__v_isRef===!0),je=e=>he(e)?e:e==null?"":F(e)||oe(e)&&(e.toString===Jr||!q(e.toString))?si(e)?je(e.value):JSON.stringify(e,ni,2):String(e),ni=(e,t)=>si(t)?ni(e,t.value):It(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,r],i)=>(s[nn(n,i)+" =>"]=r,s),{})}:Ms(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>nn(s))}:Xe(t)?nn(t):oe(t)&&!F(t)&&!Xr(t)?String(t):t,nn=(e,t="")=>{var s;return Xe(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/** -* @vue/reactivity v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let Te;class ri{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Te,!t&&Te&&(this.index=(Te.scopes||(Te.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t0)return;if(zt){let t=zt;for(zt=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;Gt;){let t=Gt;for(Gt=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=s}}if(e)throw e}function ui(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function fi(e){let t,s=e.depsTail,n=s;for(;n;){const r=n.prevDep;n.version===-1?(n===s&&(s=r),jn(n),Wo(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=r}e.deps=t,e.depsTail=s}function yn(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(di(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function di(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===es))return;e.globalVersion=es;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!yn(e)){e.flags&=-3;return}const s=ie,n=We;ie=e,We=!0;try{ui(e);const r=e.fn(e._value);(t.version===0||ft(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ie=s,We=n,fi(e),e.flags&=-3}}function jn(e,t=!1){const{dep:s,prevSub:n,nextSub:r}=e;if(n&&(n.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let i=s.computed.deps;i;i=i.nextDep)jn(i,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function Wo(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let We=!0;const hi=[];function pt(){hi.push(We),We=!1}function mt(){const e=hi.pop();We=e===void 0?!0:e}function pr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=ie;ie=void 0;try{t()}finally{ie=s}}}let es=0;class qo{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Wn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!ie||!We||ie===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==ie)s=this.activeLink=new qo(ie,this),ie.deps?(s.prevDep=ie.depsTail,ie.depsTail.nextDep=s,ie.depsTail=s):ie.deps=ie.depsTail=s,pi(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=ie.depsTail,s.nextDep=void 0,ie.depsTail.nextDep=s,ie.depsTail=s,ie.deps===s&&(ie.deps=n)}return s}trigger(t){this.version++,es++,this.notify(t)}notify(t){$n();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Vn()}}}function pi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)pi(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const Ss=new WeakMap,bt=Symbol(""),vn=Symbol(""),ts=Symbol("");function _e(e,t,s){if(We&&ie){let n=Ss.get(e);n||Ss.set(e,n=new Map);let r=n.get(s);r||(n.set(s,r=new Wn),r.map=n,r.key=s),r.track()}}function nt(e,t,s,n,r,i){const o=Ss.get(e);if(!o){es++;return}const l=c=>{c&&c.trigger()};if($n(),t==="clear")o.forEach(l);else{const c=F(e),u=c&&Un(s);if(c&&s==="length"){const f=Number(n);o.forEach((h,m)=>{(m==="length"||m===ts||!Xe(m)&&m>=f)&&l(h)})}else switch((s!==void 0||o.has(void 0))&&l(o.get(s)),u&&l(o.get(ts)),t){case"add":c?u&&l(o.get("length")):(l(o.get(bt)),It(e)&&l(o.get(vn)));break;case"delete":c||(l(o.get(bt)),It(e)&&l(o.get(vn)));break;case"set":It(e)&&l(o.get(bt));break}}Vn()}function Ko(e,t){const s=Ss.get(e);return s&&s.get(t)}function Rt(e){const t=Q(e);return t===e?t:(_e(t,"iterate",ts),Be(e)?t:t.map(ye))}function Hs(e){return _e(e=Q(e),"iterate",ts),e}const Go={__proto__:null,[Symbol.iterator](){return on(this,Symbol.iterator,ye)},concat(...e){return Rt(this).concat(...e.map(t=>F(t)?Rt(t):t))},entries(){return on(this,"entries",e=>(e[1]=ye(e[1]),e))},every(e,t){return tt(this,"every",e,t,void 0,arguments)},filter(e,t){return tt(this,"filter",e,t,s=>s.map(ye),arguments)},find(e,t){return tt(this,"find",e,t,ye,arguments)},findIndex(e,t){return tt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return tt(this,"findLast",e,t,ye,arguments)},findLastIndex(e,t){return tt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return tt(this,"forEach",e,t,void 0,arguments)},includes(...e){return ln(this,"includes",e)},indexOf(...e){return ln(this,"indexOf",e)},join(e){return Rt(this).join(e)},lastIndexOf(...e){return ln(this,"lastIndexOf",e)},map(e,t){return tt(this,"map",e,t,void 0,arguments)},pop(){return Ut(this,"pop")},push(...e){return Ut(this,"push",e)},reduce(e,...t){return mr(this,"reduce",e,t)},reduceRight(e,...t){return mr(this,"reduceRight",e,t)},shift(){return Ut(this,"shift")},some(e,t){return tt(this,"some",e,t,void 0,arguments)},splice(...e){return Ut(this,"splice",e)},toReversed(){return Rt(this).toReversed()},toSorted(e){return Rt(this).toSorted(e)},toSpliced(...e){return Rt(this).toSpliced(...e)},unshift(...e){return Ut(this,"unshift",e)},values(){return on(this,"values",ye)}};function on(e,t,s){const n=Hs(e),r=n[t]();return n!==e&&!Be(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=s(i.value)),i}),r}const zo=Array.prototype;function tt(e,t,s,n,r,i){const o=Hs(e),l=o!==e&&!Be(e),c=o[t];if(c!==zo[t]){const h=c.apply(e,i);return l?ye(h):h}let u=s;o!==e&&(l?u=function(h,m){return s.call(this,ye(h),m,e)}:s.length>2&&(u=function(h,m){return s.call(this,h,m,e)}));const f=c.call(o,u,n);return l&&r?r(f):f}function mr(e,t,s,n){const r=Hs(e);let i=s;return r!==e&&(Be(e)?s.length>3&&(i=function(o,l,c){return s.call(this,o,l,c,e)}):i=function(o,l,c){return s.call(this,o,ye(l),c,e)}),r[t](i,...n)}function ln(e,t,s){const n=Q(e);_e(n,"iterate",ts);const r=n[t](...s);return(r===-1||r===!1)&&Gn(s[0])?(s[0]=Q(s[0]),n[t](...s)):r}function Ut(e,t,s=[]){pt(),$n();const n=Q(e)[t].apply(e,s);return Vn(),mt(),n}const Yo=Mn("__proto__,__v_isRef,__isVue"),mi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Xe));function Jo(e){Xe(e)||(e=String(e));const t=Q(this);return _e(t,"has",e),t.hasOwnProperty(e)}class gi{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(s==="__v_isReactive")return!r;if(s==="__v_isReadonly")return r;if(s==="__v_isShallow")return i;if(s==="__v_raw")return n===(r?i?ol:bi:i?vi:yi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=F(t);if(!r){let c;if(o&&(c=Go[s]))return c;if(s==="hasOwnProperty")return Jo}const l=Reflect.get(t,s,ae(t)?t:n);return(Xe(s)?mi.has(s):Yo(s))||(r||_e(t,"get",s),i)?l:ae(l)?o&&Un(s)?l:l.value:oe(l)?r?Ei(l):$s(l):l}}class _i extends gi{constructor(t=!1){super(!1,t)}set(t,s,n,r){let i=t[s];if(!this._isShallow){const c=wt(i);if(!Be(n)&&!wt(n)&&(i=Q(i),n=Q(n)),!F(t)&&ae(i)&&!ae(n))return c?!1:(i.value=n,!0)}const o=F(t)&&Un(s)?Number(s)e,fs=e=>Reflect.getPrototypeOf(e);function tl(e,t,s){return function(...n){const r=this.__v_raw,i=Q(r),o=It(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,u=r[e](...n),f=s?bn:t?En:ye;return!t&&_e(i,"iterate",c?vn:bt),{next(){const{value:h,done:m}=u.next();return m?{value:h,done:m}:{value:l?[f(h[0]),f(h[1])]:f(h),done:m}},[Symbol.iterator](){return this}}}}function ds(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function sl(e,t){const s={get(r){const i=this.__v_raw,o=Q(i),l=Q(r);e||(ft(r,l)&&_e(o,"get",r),_e(o,"get",l));const{has:c}=fs(o),u=t?bn:e?En:ye;if(c.call(o,r))return u(i.get(r));if(c.call(o,l))return u(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&_e(Q(r),"iterate",bt),Reflect.get(r,"size",r)},has(r){const i=this.__v_raw,o=Q(i),l=Q(r);return e||(ft(r,l)&&_e(o,"has",r),_e(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,c=Q(l),u=t?bn:e?En:ye;return!e&&_e(c,"iterate",bt),l.forEach((f,h)=>r.call(i,u(f),u(h),o))}};return me(s,e?{add:ds("add"),set:ds("set"),delete:ds("delete"),clear:ds("clear")}:{add(r){!t&&!Be(r)&&!wt(r)&&(r=Q(r));const i=Q(this);return fs(i).has.call(i,r)||(i.add(r),nt(i,"add",r,r)),this},set(r,i){!t&&!Be(i)&&!wt(i)&&(i=Q(i));const o=Q(this),{has:l,get:c}=fs(o);let u=l.call(o,r);u||(r=Q(r),u=l.call(o,r));const f=c.call(o,r);return o.set(r,i),u?ft(i,f)&&nt(o,"set",r,i):nt(o,"add",r,i),this},delete(r){const i=Q(this),{has:o,get:l}=fs(i);let c=o.call(i,r);c||(r=Q(r),c=o.call(i,r)),l&&l.call(i,r);const u=i.delete(r);return c&&nt(i,"delete",r,void 0),u},clear(){const r=Q(this),i=r.size!==0,o=r.clear();return i&&nt(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{s[r]=tl(r,e,t)}),s}function qn(e,t){const s=sl(e,t);return(n,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?n:Reflect.get(ee(s,r)&&r in n?s:n,r,i)}const nl={get:qn(!1,!1)},rl={get:qn(!1,!0)},il={get:qn(!0,!1)};const yi=new WeakMap,vi=new WeakMap,bi=new WeakMap,ol=new WeakMap;function ll(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function cl(e){return e.__v_skip||!Object.isExtensible(e)?0:ll(Po(e))}function $s(e){return wt(e)?e:Kn(e,!1,Qo,nl,yi)}function al(e){return Kn(e,!1,el,rl,vi)}function Ei(e){return Kn(e,!0,Zo,il,bi)}function Kn(e,t,s,n,r){if(!oe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=cl(e);if(o===0)return e;const l=new Proxy(e,o===2?n:s);return r.set(e,l),l}function it(e){return wt(e)?it(e.__v_raw):!!(e&&e.__v_isReactive)}function wt(e){return!!(e&&e.__v_isReadonly)}function Be(e){return!!(e&&e.__v_isShallow)}function Gn(e){return e?!!e.__v_raw:!1}function Q(e){const t=e&&e.__v_raw;return t?Q(t):e}function zn(e){return!ee(e,"__v_skip")&&Object.isExtensible(e)&&Zr(e,"__v_skip",!0),e}const ye=e=>oe(e)?$s(e):e,En=e=>oe(e)?Ei(e):e;function ae(e){return e?e.__v_isRef===!0:!1}function G(e){return ul(e,!1)}function ul(e,t){return ae(e)?e:new fl(e,t)}class fl{constructor(t,s){this.dep=new Wn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:Q(t),this._value=s?t:ye(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||Be(t)||wt(t);t=n?t:Q(t),ft(t,s)&&(this._rawValue=t,this._value=n?t:ye(t),this.dep.trigger())}}function $(e){return ae(e)?e.value:e}const dl={get:(e,t,s)=>t==="__v_raw"?e:$(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const r=e[t];return ae(r)&&!ae(s)?(r.value=s,!0):Reflect.set(e,t,s,n)}};function wi(e){return it(e)?e:new Proxy(e,dl)}function hl(e){const t=F(e)?new Array(e.length):{};for(const s in e)t[s]=Ti(e,s);return t}class pl{constructor(t,s,n){this._object=t,this._key=s,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Ko(Q(this._object),this._key)}}class ml{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function gl(e,t,s){return ae(e)?e:q(e)?new ml(e):oe(e)&&arguments.length>1?Ti(e,t,s):G(e)}function Ti(e,t,s){const n=e[t];return ae(n)?n:new pl(e,t,s)}class _l{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new Wn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=es-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&ie!==this)return ai(this,!0),!0}get value(){const t=this.dep.track();return di(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function yl(e,t,s=!1){let n,r;return q(e)?n=e:(n=e.get,r=e.set),new _l(n,r,s)}const hs={},xs=new WeakMap;let yt;function vl(e,t=!1,s=yt){if(s){let n=xs.get(s);n||xs.set(s,n=[]),n.push(e)}}function bl(e,t,s=se){const{immediate:n,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=s,u=P=>r?P:Be(P)||r===!1||r===0?rt(P,1):rt(P);let f,h,m,w,S=!1,I=!1;if(ae(e)?(h=()=>e.value,S=Be(e)):it(e)?(h=()=>u(e),S=!0):F(e)?(I=!0,S=e.some(P=>it(P)||Be(P)),h=()=>e.map(P=>{if(ae(P))return P.value;if(it(P))return u(P);if(q(P))return c?c(P,2):P()})):q(e)?t?h=c?()=>c(e,2):e:h=()=>{if(m){pt();try{m()}finally{mt()}}const P=yt;yt=f;try{return c?c(e,3,[w]):e(w)}finally{yt=P}}:h=Ye,t&&r){const P=h,Y=r===!0?1/0:r;h=()=>rt(P(),Y)}const M=oi(),k=()=>{f.stop(),M&&M.active&&Fn(M.effects,f)};if(i&&t){const P=t;t=(...Y)=>{P(...Y),k()}}let A=I?new Array(e.length).fill(hs):hs;const j=P=>{if(!(!(f.flags&1)||!f.dirty&&!P))if(t){const Y=f.run();if(r||S||(I?Y.some((Ee,le)=>ft(Ee,A[le])):ft(Y,A))){m&&m();const Ee=yt;yt=f;try{const le=[Y,A===hs?void 0:I&&A[0]===hs?[]:A,w];c?c(t,3,le):t(...le),A=Y}finally{yt=Ee}}}else f.run()};return l&&l(j),f=new li(h),f.scheduler=o?()=>o(j,!1):j,w=P=>vl(P,!1,f),m=f.onStop=()=>{const P=xs.get(f);if(P){if(c)c(P,4);else for(const Y of P)Y();xs.delete(f)}},t?n?j(!0):A=f.run():o?o(j.bind(null,!0),!0):f.run(),k.pause=f.pause.bind(f),k.resume=f.resume.bind(f),k.stop=k,k}function rt(e,t=1/0,s){if(t<=0||!oe(e)||e.__v_skip||(s=s||new Set,s.has(e)))return e;if(s.add(e),t--,ae(e))rt(e.value,t,s);else if(F(e))for(let n=0;n{rt(n,t,s)});else if(Xr(e)){for(const n in e)rt(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&rt(e[n],t,s)}return e}/** -* @vue/runtime-core v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function os(e,t,s,n){try{return n?e(...n):e()}catch(r){Vs(r,t,s)}}function Qe(e,t,s,n){if(q(e)){const r=os(e,t,s,n);return r&&Yr(r)&&r.catch(i=>{Vs(i,t,s)}),r}if(F(e)){const r=[];for(let i=0;i>>1,r=Se[n],i=ss(r);i=ss(s)?Se.push(e):Se.splice(wl(t),0,e),e.flags|=1,Ri()}}function Ri(){Rs||(Rs=Si.then(Oi))}function Tl(e){F(e)?Nt.push(...e):at&&e.id===-1?at.splice(Ot+1,0,e):e.flags&1||(Nt.push(e),e.flags|=1),Ri()}function gr(e,t,s=Ge+1){for(;sss(s)-ss(n));if(Nt.length=0,at){at.push(...t);return}for(at=t,Ot=0;Ote.id==null?e.flags&2?-1:1/0:e.id;function Oi(e){try{for(Ge=0;Ge{n._d&&Sr(-1);const i=Cs(t);let o;try{o=e(...r)}finally{Cs(i),n._d&&Sr(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function Ve(e,t){if(Pe===null)return e;const s=zs(Pe),n=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport;function Jn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Jn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function De(e,t){return q(e)?me({name:e.name},t,{setup:e}):e}function Ii(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Os(e,t,s,n,r=!1){if(F(e)){e.forEach((S,I)=>Os(S,t&&(F(t)?t[I]:t),s,n,r));return}if(Yt(n)&&!r){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Os(e,t,s,n.component.subTree);return}const i=n.shapeFlag&4?zs(n.component):n.el,o=r?null:i,{i:l,r:c}=e,u=t&&t.r,f=l.refs===se?l.refs={}:l.refs,h=l.setupState,m=Q(h),w=h===se?()=>!1:S=>ee(m,S);if(u!=null&&u!==c&&(he(u)?(f[u]=null,w(u)&&(h[u]=null)):ae(u)&&(u.value=null)),q(c))os(c,l,12,[o,f]);else{const S=he(c),I=ae(c);if(S||I){const M=()=>{if(e.f){const k=S?w(c)?h[c]:f[c]:c.value;r?F(k)&&Fn(k,i):F(k)?k.includes(i)||k.push(i):S?(f[c]=[i],w(c)&&(h[c]=f[c])):(c.value=[i],e.k&&(f[e.k]=c.value))}else S?(f[c]=o,w(c)&&(h[c]=o)):I&&(c.value=o,e.k&&(f[e.k]=o))};o?(M.id=-1,ke(M,s)):M()}}}Fs().requestIdleCallback;Fs().cancelIdleCallback;const Yt=e=>!!e.type.__asyncLoader,Ni=e=>e.type.__isKeepAlive;function Cl(e,t){ki(e,"a",t)}function Ol(e,t){ki(e,"da",t)}function ki(e,t,s=be){const n=e.__wdc||(e.__wdc=()=>{let r=s;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(js(t,n,s),s){let r=s.parent;for(;r&&r.parent;)Ni(r.parent.vnode)&&Al(n,t,s,r),r=r.parent}}function Al(e,t,s,n){const r=js(t,e,n,!0);Xn(()=>{Fn(n[t],r)},s)}function js(e,t,s=be,n=!1){if(s){const r=s[e]||(s[e]=[]),i=t.__weh||(t.__weh=(...o)=>{pt();const l=ls(s),c=Qe(t,s,e,o);return l(),mt(),c});return n?r.unshift(i):r.push(i),i}}const ot=e=>(t,s=be)=>{(!rs||e==="sp")&&js(e,(...n)=>t(...n),s)},Il=ot("bm"),Ws=ot("m"),Nl=ot("bu"),kl=ot("u"),Pl=ot("bum"),Xn=ot("um"),Ll=ot("sp"),Dl=ot("rtg"),Ml=ot("rtc");function Bl(e,t=be){js("ec",e,t)}const Fl=Symbol.for("v-ndc");function Pi(e,t,s,n){let r;const i=s,o=F(e);if(o||he(e)){const l=o&&it(e);let c=!1;l&&(c=!Be(e),e=Hs(e)),r=new Array(e.length);for(let u=0,f=e.length;ut(l,c,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,u=l.length;ce?eo(e)?zs(e):wn(e.parent):null,Jt=me(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=>wn(e.parent),$root:e=>wn(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Qn(e),$forceUpdate:e=>e.f||(e.f=()=>{Yn(e.update)}),$nextTick:e=>e.n||(e.n=xi.bind(e.proxy)),$watch:e=>lc.bind(e)}),cn=(e,t)=>e!==se&&!e.__isScriptSetup&&ee(e,t),Ul={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let u;if(t[0]!=="$"){const w=o[t];if(w!==void 0)switch(w){case 1:return n[t];case 2:return r[t];case 4:return s[t];case 3:return i[t]}else{if(cn(n,t))return o[t]=1,n[t];if(r!==se&&ee(r,t))return o[t]=2,r[t];if((u=e.propsOptions[0])&&ee(u,t))return o[t]=3,i[t];if(s!==se&&ee(s,t))return o[t]=4,s[t];Tn&&(o[t]=0)}}const f=Jt[t];let h,m;if(f)return t==="$attrs"&&_e(e.attrs,"get",""),f(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(s!==se&&ee(s,t))return o[t]=4,s[t];if(m=c.config.globalProperties,ee(m,t))return m[t]},set({_:e},t,s){const{data:n,setupState:r,ctx:i}=e;return cn(r,t)?(r[t]=s,!0):n!==se&&ee(n,t)?(n[t]=s,!0):ee(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:r,propsOptions:i}},o){let l;return!!s[o]||e!==se&&ee(e,o)||cn(t,o)||(l=i[0])&&ee(l,o)||ee(n,o)||ee(Jt,o)||ee(r.config.globalProperties,o)},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:ee(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function _r(e){return F(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let Tn=!0;function Hl(e){const t=Qn(e),s=e.proxy,n=e.ctx;Tn=!1,t.beforeCreate&&yr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:u,created:f,beforeMount:h,mounted:m,beforeUpdate:w,updated:S,activated:I,deactivated:M,beforeDestroy:k,beforeUnmount:A,destroyed:j,unmounted:P,render:Y,renderTracked:Ee,renderTriggered:le,errorCaptured:K,serverPrefetch:T,expose:N,inheritAttrs:v,components:D,directives:W,filters:ce}=t;if(u&&$l(u,n,null),o)for(const z in o){const Z=o[z];q(Z)&&(n[z]=Z.bind(s))}if(r){const z=r.call(s,s);oe(z)&&(e.data=$s(z))}if(Tn=!0,i)for(const z in i){const Z=i[z],Ce=q(Z)?Z.bind(s,s):q(Z.get)?Z.get.bind(s,s):Ye,lt=!q(Z)&&q(Z.set)?Z.set.bind(s):Ye,Ue=Ys({get:Ce,set:lt});Object.defineProperty(n,z,{enumerable:!0,configurable:!0,get:()=>Ue.value,set:Oe=>Ue.value=Oe})}if(l)for(const z in l)Li(l[z],n,s,z);if(c){const z=q(c)?c.call(s):c;Reflect.ownKeys(z).forEach(Z=>{Gl(Z,z[Z])})}f&&yr(f,e,"c");function ue(z,Z){F(Z)?Z.forEach(Ce=>z(Ce.bind(s))):Z&&z(Z.bind(s))}if(ue(Il,h),ue(Ws,m),ue(Nl,w),ue(kl,S),ue(Cl,I),ue(Ol,M),ue(Bl,K),ue(Ml,Ee),ue(Dl,le),ue(Pl,A),ue(Xn,P),ue(Ll,T),F(N))if(N.length){const z=e.exposed||(e.exposed={});N.forEach(Z=>{Object.defineProperty(z,Z,{get:()=>s[Z],set:Ce=>s[Z]=Ce})})}else e.exposed||(e.exposed={});Y&&e.render===Ye&&(e.render=Y),v!=null&&(e.inheritAttrs=v),D&&(e.components=D),W&&(e.directives=W),T&&Ii(e)}function $l(e,t,s=Ye){F(e)&&(e=Sn(e));for(const n in e){const r=e[n];let i;oe(r)?"default"in r?i=Xt(r.from||n,r.default,!0):i=Xt(r.from||n):i=Xt(r),ae(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[n]=i}}function yr(e,t,s){Qe(F(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function Li(e,t,s,n){let r=n.includes(".")?zi(s,n):()=>s[n];if(he(e)){const i=t[e];q(i)&&xe(r,i)}else if(q(e))xe(r,e.bind(s));else if(oe(e))if(F(e))e.forEach(i=>Li(i,t,s,n));else{const i=q(e.handler)?e.handler.bind(s):t[e.handler];q(i)&&xe(r,i,e)}}function Qn(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!s&&!n?c=t:(c={},r.length&&r.forEach(u=>As(c,u,o,!0)),As(c,t,o)),oe(t)&&i.set(t,c),c}function As(e,t,s,n=!1){const{mixins:r,extends:i}=t;i&&As(e,i,s,!0),r&&r.forEach(o=>As(e,o,s,!0));for(const o in t)if(!(n&&o==="expose")){const l=Vl[o]||s&&s[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Vl={data:vr,props:br,emits:br,methods:Wt,computed:Wt,beforeCreate:we,created:we,beforeMount:we,mounted:we,beforeUpdate:we,updated:we,beforeDestroy:we,beforeUnmount:we,destroyed:we,unmounted:we,activated:we,deactivated:we,errorCaptured:we,serverPrefetch:we,components:Wt,directives:Wt,watch:Wl,provide:vr,inject:jl};function vr(e,t){return t?e?function(){return me(q(e)?e.call(this,this):e,q(t)?t.call(this,this):t)}:t:e}function jl(e,t){return Wt(Sn(e),Sn(t))}function Sn(e){if(F(e)){const t={};for(let s=0;s1)return s&&q(t)?t.call(n&&n.proxy):t}}function zl(){return!!(be||Pe||Et)}const Mi={},Bi=()=>Object.create(Mi),Fi=e=>Object.getPrototypeOf(e)===Mi;function Yl(e,t,s,n=!1){const r={},i=Bi();e.propsDefaults=Object.create(null),Ui(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);s?e.props=n?r:al(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Jl(e,t,s,n){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=Q(r),[c]=e.propsOptions;let u=!1;if((n||o>0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[m,w]=Hi(h,t,!0);me(o,m),w&&l.push(...w)};!s&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!i&&!c)return oe(e)&&n.set(e,At),At;if(F(i))for(let f=0;fe[0]==="_"||e==="$stable",Zn=e=>F(e)?e.map(ze):[ze(e)],Ql=(e,t,s)=>{if(t._n)return t;const n=Sl((...r)=>Zn(t(...r)),s);return n._c=!1,n},Vi=(e,t,s)=>{const n=e._ctx;for(const r in e){if($i(r))continue;const i=e[r];if(q(i))t[r]=Ql(r,i,n);else if(i!=null){const o=Zn(i);t[r]=()=>o}}},ji=(e,t)=>{const s=Zn(t);e.slots.default=()=>s},Wi=(e,t,s)=>{for(const n in t)(s||n!=="_")&&(e[n]=t[n])},Zl=(e,t,s)=>{const n=e.slots=Bi();if(e.vnode.shapeFlag&32){const r=t._;r?(Wi(n,t,s),s&&Zr(n,"_",r,!0)):Vi(t,n)}else t&&ji(e,t)},ec=(e,t,s)=>{const{vnode:n,slots:r}=e;let i=!0,o=se;if(n.shapeFlag&32){const l=t._;l?s&&l===1?i=!1:Wi(r,t,s):(i=!t.$stable,Vi(t,r)),o=t}else t&&(ji(e,t),o={default:1});if(i)for(const l in r)!$i(l)&&o[l]==null&&delete r[l]},ke=pc;function tc(e){return sc(e)}function sc(e,t){const s=Fs();s.__VUE__=!0;const{insert:n,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:u,setElementText:f,parentNode:h,nextSibling:m,setScopeId:w=Ye,insertStaticContent:S}=e,I=(a,d,p,b=null,g=null,y=null,C=void 0,R=null,x=!!d.dynamicChildren)=>{if(a===d)return;a&&!Ht(a,d)&&(b=us(a),Oe(a,g,y,!0),a=null),d.patchFlag===-2&&(x=!1,d.dynamicChildren=null);const{type:E,ref:B,shapeFlag:O}=d;switch(E){case Ks:M(a,d,p,b);break;case Tt:k(a,d,p,b);break;case _s:a==null&&A(d,p,b,C);break;case ve:D(a,d,p,b,g,y,C,R,x);break;default:O&1?Y(a,d,p,b,g,y,C,R,x):O&6?W(a,d,p,b,g,y,C,R,x):(O&64||O&128)&&E.process(a,d,p,b,g,y,C,R,x,Bt)}B!=null&&g&&Os(B,a&&a.ref,y,d||a,!d)},M=(a,d,p,b)=>{if(a==null)n(d.el=l(d.children),p,b);else{const g=d.el=a.el;d.children!==a.children&&u(g,d.children)}},k=(a,d,p,b)=>{a==null?n(d.el=c(d.children||""),p,b):d.el=a.el},A=(a,d,p,b)=>{[a.el,a.anchor]=S(a.children,d,p,b,a.el,a.anchor)},j=({el:a,anchor:d},p,b)=>{let g;for(;a&&a!==d;)g=m(a),n(a,p,b),a=g;n(d,p,b)},P=({el:a,anchor:d})=>{let p;for(;a&&a!==d;)p=m(a),r(a),a=p;r(d)},Y=(a,d,p,b,g,y,C,R,x)=>{d.type==="svg"?C="svg":d.type==="math"&&(C="mathml"),a==null?Ee(d,p,b,g,y,C,R,x):T(a,d,g,y,C,R,x)},Ee=(a,d,p,b,g,y,C,R)=>{let x,E;const{props:B,shapeFlag:O,transition:L,dirs:H}=a;if(x=a.el=o(a.type,y,B&&B.is,B),O&8?f(x,a.children):O&16&&K(a.children,x,null,b,g,an(a,y),C,R),H&>(a,null,b,"created"),le(x,a,a.scopeId,C,b),B){for(const re in B)re!=="value"&&!Kt(re)&&i(x,re,null,B[re],y,b);"value"in B&&i(x,"value",null,B.value,y),(E=B.onVnodeBeforeMount)&&Ke(E,b,a)}H&>(a,null,b,"beforeMount");const X=nc(g,L);X&&L.beforeEnter(x),n(x,d,p),((E=B&&B.onVnodeMounted)||X||H)&&ke(()=>{E&&Ke(E,b,a),X&&L.enter(x),H&>(a,null,b,"mounted")},g)},le=(a,d,p,b,g)=>{if(p&&w(a,p),b)for(let y=0;y{for(let E=x;E{const R=d.el=a.el;let{patchFlag:x,dynamicChildren:E,dirs:B}=d;x|=a.patchFlag&16;const O=a.props||se,L=d.props||se;let H;if(p&&_t(p,!1),(H=L.onVnodeBeforeUpdate)&&Ke(H,p,d,a),B&>(d,a,p,"beforeUpdate"),p&&_t(p,!0),(O.innerHTML&&L.innerHTML==null||O.textContent&&L.textContent==null)&&f(R,""),E?N(a.dynamicChildren,E,R,p,b,an(d,g),y):C||Z(a,d,R,null,p,b,an(d,g),y,!1),x>0){if(x&16)v(R,O,L,p,g);else if(x&2&&O.class!==L.class&&i(R,"class",null,L.class,g),x&4&&i(R,"style",O.style,L.style,g),x&8){const X=d.dynamicProps;for(let re=0;re{H&&Ke(H,p,d,a),B&>(d,a,p,"updated")},b)},N=(a,d,p,b,g,y,C)=>{for(let R=0;R{if(d!==p){if(d!==se)for(const y in d)!Kt(y)&&!(y in p)&&i(a,y,d[y],null,g,b);for(const y in p){if(Kt(y))continue;const C=p[y],R=d[y];C!==R&&y!=="value"&&i(a,y,R,C,g,b)}"value"in p&&i(a,"value",d.value,p.value,g)}},D=(a,d,p,b,g,y,C,R,x)=>{const E=d.el=a?a.el:l(""),B=d.anchor=a?a.anchor:l("");let{patchFlag:O,dynamicChildren:L,slotScopeIds:H}=d;H&&(R=R?R.concat(H):H),a==null?(n(E,p,b),n(B,p,b),K(d.children||[],p,B,g,y,C,R,x)):O>0&&O&64&&L&&a.dynamicChildren?(N(a.dynamicChildren,L,p,g,y,C,R),(d.key!=null||g&&d===g.subTree)&&qi(a,d,!0)):Z(a,d,p,B,g,y,C,R,x)},W=(a,d,p,b,g,y,C,R,x)=>{d.slotScopeIds=R,a==null?d.shapeFlag&512?g.ctx.activate(d,p,b,C,x):ce(d,p,b,g,y,C,x):et(a,d,x)},ce=(a,d,p,b,g,y,C)=>{const R=a.component=wc(a,b,g);if(Ni(a)&&(R.ctx.renderer=Bt),Tc(R,!1,C),R.asyncDep){if(g&&g.registerDep(R,ue,C),!a.el){const x=R.subTree=fe(Tt);k(null,x,d,p)}}else ue(R,a,d,p,g,y,C)},et=(a,d,p)=>{const b=d.component=a.component;if(dc(a,d,p))if(b.asyncDep&&!b.asyncResolved){z(b,d,p);return}else b.next=d,b.update();else d.el=a.el,b.vnode=d},ue=(a,d,p,b,g,y,C)=>{const R=()=>{if(a.isMounted){let{next:O,bu:L,u:H,parent:X,vnode:re}=a;{const Ie=Ki(a);if(Ie){O&&(O.el=re.el,z(a,O,C)),Ie.asyncDep.then(()=>{a.isUnmounted||R()});return}}let te=O,Ae;_t(a,!1),O?(O.el=re.el,z(a,O,C)):O=re,L&&gs(L),(Ae=O.props&&O.props.onVnodeBeforeUpdate)&&Ke(Ae,X,O,re),_t(a,!0);const ge=un(a),He=a.subTree;a.subTree=ge,I(He,ge,h(He.el),us(He),a,g,y),O.el=ge.el,te===null&&hc(a,ge.el),H&&ke(H,g),(Ae=O.props&&O.props.onVnodeUpdated)&&ke(()=>Ke(Ae,X,O,re),g)}else{let O;const{el:L,props:H}=d,{bm:X,m:re,parent:te,root:Ae,type:ge}=a,He=Yt(d);if(_t(a,!1),X&&gs(X),!He&&(O=H&&H.onVnodeBeforeMount)&&Ke(O,te,d),_t(a,!0),L&&ar){const Ie=()=>{a.subTree=un(a),ar(L,a.subTree,a,g,null)};He&&ge.__asyncHydrate?ge.__asyncHydrate(L,a,Ie):Ie()}else{Ae.ce&&Ae.ce._injectChildStyle(ge);const Ie=a.subTree=un(a);I(null,Ie,p,b,a,g,y),d.el=Ie.el}if(re&&ke(re,g),!He&&(O=H&&H.onVnodeMounted)){const Ie=d;ke(()=>Ke(O,te,Ie),g)}(d.shapeFlag&256||te&&Yt(te.vnode)&&te.vnode.shapeFlag&256)&&a.a&&ke(a.a,g),a.isMounted=!0,d=p=b=null}};a.scope.on();const x=a.effect=new li(R);a.scope.off();const E=a.update=x.run.bind(x),B=a.job=x.runIfDirty.bind(x);B.i=a,B.id=a.uid,x.scheduler=()=>Yn(B),_t(a,!0),E()},z=(a,d,p)=>{d.component=a;const b=a.vnode.props;a.vnode=d,a.next=null,Jl(a,d.props,b,p),ec(a,d.children,p),pt(),gr(a),mt()},Z=(a,d,p,b,g,y,C,R,x=!1)=>{const E=a&&a.children,B=a?a.shapeFlag:0,O=d.children,{patchFlag:L,shapeFlag:H}=d;if(L>0){if(L&128){lt(E,O,p,b,g,y,C,R,x);return}else if(L&256){Ce(E,O,p,b,g,y,C,R,x);return}}H&8?(B&16&&Mt(E,g,y),O!==E&&f(p,O)):B&16?H&16?lt(E,O,p,b,g,y,C,R,x):Mt(E,g,y,!0):(B&8&&f(p,""),H&16&&K(O,p,b,g,y,C,R,x))},Ce=(a,d,p,b,g,y,C,R,x)=>{a=a||At,d=d||At;const E=a.length,B=d.length,O=Math.min(E,B);let L;for(L=0;LB?Mt(a,g,y,!0,!1,O):K(d,p,b,g,y,C,R,x,O)},lt=(a,d,p,b,g,y,C,R,x)=>{let E=0;const B=d.length;let O=a.length-1,L=B-1;for(;E<=O&&E<=L;){const H=a[E],X=d[E]=x?ut(d[E]):ze(d[E]);if(Ht(H,X))I(H,X,p,null,g,y,C,R,x);else break;E++}for(;E<=O&&E<=L;){const H=a[O],X=d[L]=x?ut(d[L]):ze(d[L]);if(Ht(H,X))I(H,X,p,null,g,y,C,R,x);else break;O--,L--}if(E>O){if(E<=L){const H=L+1,X=HL)for(;E<=O;)Oe(a[E],g,y,!0),E++;else{const H=E,X=E,re=new Map;for(E=X;E<=L;E++){const Ne=d[E]=x?ut(d[E]):ze(d[E]);Ne.key!=null&&re.set(Ne.key,E)}let te,Ae=0;const ge=L-X+1;let He=!1,Ie=0;const Ft=new Array(ge);for(E=0;E=ge){Oe(Ne,g,y,!0);continue}let qe;if(Ne.key!=null)qe=re.get(Ne.key);else for(te=X;te<=L;te++)if(Ft[te-X]===0&&Ht(Ne,d[te])){qe=te;break}qe===void 0?Oe(Ne,g,y,!0):(Ft[qe-X]=E+1,qe>=Ie?Ie=qe:He=!0,I(Ne,d[qe],p,null,g,y,C,R,x),Ae++)}const ur=He?rc(Ft):At;for(te=ur.length-1,E=ge-1;E>=0;E--){const Ne=X+E,qe=d[Ne],fr=Ne+1{const{el:y,type:C,transition:R,children:x,shapeFlag:E}=a;if(E&6){Ue(a.component.subTree,d,p,b);return}if(E&128){a.suspense.move(d,p,b);return}if(E&64){C.move(a,d,p,Bt);return}if(C===ve){n(y,d,p);for(let O=0;OR.enter(y),g);else{const{leave:O,delayLeave:L,afterLeave:H}=R,X=()=>n(y,d,p),re=()=>{O(y,()=>{X(),H&&H()})};L?L(y,X,re):re()}else n(y,d,p)},Oe=(a,d,p,b=!1,g=!1)=>{const{type:y,props:C,ref:R,children:x,dynamicChildren:E,shapeFlag:B,patchFlag:O,dirs:L,cacheIndex:H}=a;if(O===-2&&(g=!1),R!=null&&Os(R,null,p,a,!0),H!=null&&(d.renderCache[H]=void 0),B&256){d.ctx.deactivate(a);return}const X=B&1&&L,re=!Yt(a);let te;if(re&&(te=C&&C.onVnodeBeforeUnmount)&&Ke(te,d,a),B&6)Io(a.component,p,b);else{if(B&128){a.suspense.unmount(p,b);return}X&>(a,null,d,"beforeUnmount"),B&64?a.type.remove(a,d,p,Bt,b):E&&!E.hasOnce&&(y!==ve||O>0&&O&64)?Mt(E,d,p,!1,!0):(y===ve&&O&384||!g&&B&16)&&Mt(x,d,p),b&&Dt(a)}(re&&(te=C&&C.onVnodeUnmounted)||X)&&ke(()=>{te&&Ke(te,d,a),X&>(a,null,d,"unmounted")},p)},Dt=a=>{const{type:d,el:p,anchor:b,transition:g}=a;if(d===ve){as(p,b);return}if(d===_s){P(a);return}const y=()=>{r(p),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(a.shapeFlag&1&&g&&!g.persisted){const{leave:C,delayLeave:R}=g,x=()=>C(p,y);R?R(a.el,y,x):x()}else y()},as=(a,d)=>{let p;for(;a!==d;)p=m(a),r(a),a=p;r(d)},Io=(a,d,p)=>{const{bum:b,scope:g,job:y,subTree:C,um:R,m:x,a:E}=a;wr(x),wr(E),b&&gs(b),g.stop(),y&&(y.flags|=8,Oe(C,a,d,p)),R&&ke(R,d),ke(()=>{a.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&a.asyncDep&&!a.asyncResolved&&a.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},Mt=(a,d,p,b=!1,g=!1,y=0)=>{for(let C=y;C{if(a.shapeFlag&6)return us(a.component.subTree);if(a.shapeFlag&128)return a.suspense.next();const d=m(a.anchor||a.el),p=d&&d[xl];return p?m(p):d};let tn=!1;const lr=(a,d,p)=>{a==null?d._vnode&&Oe(d._vnode,null,null,!0):I(d._vnode||null,a,d,null,null,null,p),d._vnode=a,tn||(tn=!0,gr(),Ci(),tn=!1)},Bt={p:I,um:Oe,m:Ue,r:Dt,mt:ce,mc:K,pc:Z,pbc:N,n:us,o:e};let cr,ar;return{render:lr,hydrate:cr,createApp:Kl(lr,cr)}}function an({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function _t({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function nc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function qi(e,t,s=!1){const n=e.children,r=t.children;if(F(n)&&F(r))for(let i=0;i>1,e[s[l]]0&&(t[n]=s[i-1]),s[i]=n)}}for(i=s.length,o=s[i-1];i-- >0;)s[i]=o,o=t[o];return s}function Ki(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ki(t)}function wr(e){if(e)for(let t=0;tXt(ic);function xe(e,t,s){return Gi(e,t,s)}function Gi(e,t,s=se){const{immediate:n,deep:r,flush:i,once:o}=s,l=me({},s),c=t&&n||!t&&i!=="post";let u;if(rs){if(i==="sync"){const w=oc();u=w.__watcherHandles||(w.__watcherHandles=[])}else if(!c){const w=()=>{};return w.stop=Ye,w.resume=Ye,w.pause=Ye,w}}const f=be;l.call=(w,S,I)=>Qe(w,f,S,I);let h=!1;i==="post"?l.scheduler=w=>{ke(w,f&&f.suspense)}:i!=="sync"&&(h=!0,l.scheduler=(w,S)=>{S?w():Yn(w)}),l.augmentJob=w=>{t&&(w.flags|=4),h&&(w.flags|=2,f&&(w.id=f.uid,w.i=f))};const m=bl(e,t,l);return rs&&(u?u.push(m):c&&m()),m}function lc(e,t,s){const n=this.proxy,r=he(e)?e.includes(".")?zi(n,e):()=>n[e]:e.bind(n,n);let i;q(t)?i=t:(i=t.handler,s=t);const o=ls(this),l=Gi(r,i.bind(n),s);return o(),l}function zi(e,t){const s=t.split(".");return()=>{let n=e;for(let r=0;rt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ht(t)}Modifiers`]||e[`${St(t)}Modifiers`];function ac(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||se;let r=s;const i=t.startsWith("update:"),o=i&&cc(n,t.slice(7));o&&(o.trim&&(r=s.map(f=>he(f)?f.trim():f)),o.number&&(r=s.map(_n)));let l,c=n[l=sn(t)]||n[l=sn(ht(t))];!c&&i&&(c=n[l=sn(St(t))]),c&&Qe(c,e,6,r);const u=n[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Qe(u,e,6,r)}}function Yi(e,t,s=!1){const n=t.emitsCache,r=n.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!q(e)){const c=u=>{const f=Yi(u,t,!0);f&&(l=!0,me(o,f))};!s&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(oe(e)&&n.set(e,null),null):(F(i)?i.forEach(c=>o[c]=null):me(o,i),oe(e)&&n.set(e,o),o)}function qs(e,t){return!e||!Ds(t)?!1:(t=t.slice(2).replace(/Once$/,""),ee(e,t[0].toLowerCase()+t.slice(1))||ee(e,St(t))||ee(e,t))}function un(e){const{type:t,vnode:s,proxy:n,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:u,renderCache:f,props:h,data:m,setupState:w,ctx:S,inheritAttrs:I}=e,M=Cs(e);let k,A;try{if(s.shapeFlag&4){const P=r||n,Y=P;k=ze(u.call(Y,P,f,h,w,m,S)),A=l}else{const P=t;k=ze(P.length>1?P(h,{attrs:l,slots:o,emit:c}):P(h,null)),A=t.props?l:uc(l)}}catch(P){Qt.length=0,Vs(P,e,1),k=fe(Tt)}let j=k;if(A&&I!==!1){const P=Object.keys(A),{shapeFlag:Y}=j;P.length&&Y&7&&(i&&P.some(Bn)&&(A=fc(A,i)),j=Pt(j,A,!1,!0))}return s.dirs&&(j=Pt(j,null,!1,!0),j.dirs=j.dirs?j.dirs.concat(s.dirs):s.dirs),s.transition&&Jn(j,s.transition),k=j,Cs(M),k}const uc=e=>{let t;for(const s in e)(s==="class"||s==="style"||Ds(s))&&((t||(t={}))[s]=e[s]);return t},fc=(e,t)=>{const s={};for(const n in e)(!Bn(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function dc(e,t,s){const{props:n,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&c>=0){if(c&1024)return!0;if(c&16)return n?Tr(n,o,u):!!o;if(c&8){const f=t.dynamicProps;for(let h=0;he.__isSuspense;function pc(e,t){t&&t.pendingBranch?F(e)?t.effects.push(...e):t.effects.push(e):Tl(e)}const ve=Symbol.for("v-fgt"),Ks=Symbol.for("v-txt"),Tt=Symbol.for("v-cmt"),_s=Symbol.for("v-stc"),Qt=[];let Le=null;function U(e=!1){Qt.push(Le=e?null:[])}function mc(){Qt.pop(),Le=Qt[Qt.length-1]||null}let ns=1;function Sr(e,t=!1){ns+=e,e<0&&Le&&t&&(Le.hasOnce=!0)}function Xi(e){return e.dynamicChildren=ns>0?Le||At:null,mc(),ns>0&&Le&&Le.push(e),e}function V(e,t,s,n,r,i){return Xi(_(e,t,s,n,r,i,!0))}function Gs(e,t,s,n,r){return Xi(fe(e,t,s,n,r,!0))}function Qi(e){return e?e.__v_isVNode===!0:!1}function Ht(e,t){return e.type===t.type&&e.key===t.key}const Zi=({key:e})=>e??null,ys=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?he(e)||ae(e)||q(e)?{i:Pe,r:e,k:t,f:!!s}:e:null);function _(e,t=null,s=null,n=0,r=null,i=e===ve?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Zi(t),ref:t&&ys(t),scopeId:Ai,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:n,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Pe};return l?(tr(c,s),i&128&&e.normalize(c)):s&&(c.shapeFlag|=he(s)?8:16),ns>0&&!o&&Le&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Le.push(c),c}const fe=gc;function gc(e,t=null,s=null,n=0,r=null,i=!1){if((!e||e===Fl)&&(e=Tt),Qi(e)){const l=Pt(e,t,!0);return s&&tr(l,s),ns>0&&!i&&Le&&(l.shapeFlag&6?Le[Le.indexOf(e)]=l:Le.push(l)),l.patchFlag=-2,l}if(Cc(e)&&(e=e.__vccOpts),t){t=_c(t);let{class:l,style:c}=t;l&&!he(l)&&(t.class=ne(l)),oe(c)&&(Gn(c)&&!F(c)&&(c=me({},c)),t.style=Hn(c))}const o=he(e)?1:Ji(e)?128:Rl(e)?64:oe(e)?4:q(e)?2:0;return _(e,t,s,n,r,o,i,!0)}function _c(e){return e?Gn(e)||Fi(e)?me({},e):e:null}function Pt(e,t,s=!1,n=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,u=t?vc(r||{},t):r,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Zi(u),ref:t&&t.ref?s&&i?F(i)?i.concat(ys(t)):[i,ys(t)]:ys(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ve?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Pt(e.ssContent),ssFallback:e.ssFallback&&Pt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&n&&Jn(f,c.clone(f)),f}function er(e=" ",t=0){return fe(Ks,null,e,t)}function yc(e,t){const s=fe(_s,null,e);return s.staticCount=t,s}function pe(e="",t=!1){return t?(U(),Gs(Tt,null,e)):fe(Tt,null,e)}function ze(e){return e==null||typeof e=="boolean"?fe(Tt):F(e)?fe(ve,null,e.slice()):Qi(e)?ut(e):fe(Ks,null,String(e))}function ut(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Pt(e)}function tr(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(F(t))s=16;else if(typeof t=="object")if(n&65){const r=t.default;r&&(r._c&&(r._d=!1),tr(e,r()),r._c&&(r._d=!0));return}else{s=32;const r=t._;!r&&!Fi(t)?t._ctx=Pe:r===3&&Pe&&(Pe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else q(t)?(t={default:t,_ctx:Pe},s=32):(t=String(t),n&64?(s=16,t=[er(t)]):s=8);e.children=t,e.shapeFlag|=s}function vc(...e){const t={};for(let s=0;s{let r;return(r=e[s])||(r=e[s]=[]),r.push(n),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Is=t("__VUE_INSTANCE_SETTERS__",s=>be=s),Rn=t("__VUE_SSR_SETTERS__",s=>rs=s)}const ls=e=>{const t=be;return Is(e),e.scope.on(),()=>{e.scope.off(),Is(t)}},xr=()=>{be&&be.scope.off(),Is(null)};function eo(e){return e.vnode.shapeFlag&4}let rs=!1;function Tc(e,t=!1,s=!1){t&&Rn(t);const{props:n,children:r}=e.vnode,i=eo(e);Yl(e,n,i,t),Zl(e,r,s);const o=i?Sc(e,t):void 0;return t&&Rn(!1),o}function Sc(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ul);const{setup:n}=s;if(n){pt();const r=e.setupContext=n.length>1?Rc(e):null,i=ls(e),o=os(n,e,0,[e.props,r]),l=Yr(o);if(mt(),i(),(l||e.sp)&&!Yt(e)&&Ii(e),l){if(o.then(xr,xr),t)return o.then(c=>{Rr(e,c,t)}).catch(c=>{Vs(c,e,0)});e.asyncDep=o}else Rr(e,o,t)}else to(e,t)}function Rr(e,t,s){q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:oe(t)&&(e.setupState=wi(t)),to(e,s)}let Cr;function to(e,t,s){const n=e.type;if(!e.render){if(!t&&Cr&&!n.render){const r=n.template||Qn(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=n,u=me(me({isCustomElement:i,delimiters:l},o),c);n.render=Cr(r,u)}}e.render=n.render||Ye}{const r=ls(e);pt();try{Hl(e)}finally{mt(),r()}}}const xc={get(e,t){return _e(e,"get",""),e[t]}};function Rc(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,xc),slots:e.slots,emit:e.emit,expose:t}}function zs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(wi(zn(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Jt)return Jt[s](e)},has(t,s){return s in t||s in Jt}})):e.proxy}function Cc(e){return q(e)&&"__vccOpts"in e}const Ys=(e,t)=>yl(e,t,rs),Oc="3.5.13";/** -* @vue/runtime-dom v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let Cn;const Or=typeof window<"u"&&window.trustedTypes;if(Or)try{Cn=Or.createPolicy("vue",{createHTML:e=>e})}catch{}const so=Cn?e=>Cn.createHTML(e):e=>e,Ac="http://www.w3.org/2000/svg",Ic="http://www.w3.org/1998/Math/MathML",st=typeof document<"u"?document:null,Ar=st&&st.createElement("template"),Nc={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const r=t==="svg"?st.createElementNS(Ac,e):t==="mathml"?st.createElementNS(Ic,e):s?st.createElement(e,{is:s}):st.createElement(e);return e==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:e=>st.createTextNode(e),createComment:e=>st.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>st.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,r,i){const o=s?s.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),s),!(r===i||!(r=r.nextSibling)););else{Ar.innerHTML=so(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const l=Ar.content;if(n==="svg"||n==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},kc=Symbol("_vtc");function Pc(e,t,s){const n=e[kc];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const Ns=Symbol("_vod"),no=Symbol("_vsh"),$t={beforeMount(e,{value:t},{transition:s}){e[Ns]=e.style.display==="none"?"":e.style.display,s&&t?s.beforeEnter(e):Vt(e,t)},mounted(e,{value:t},{transition:s}){s&&t&&s.enter(e)},updated(e,{value:t,oldValue:s},{transition:n}){!t!=!s&&(n?t?(n.beforeEnter(e),Vt(e,!0),n.enter(e)):n.leave(e,()=>{Vt(e,!1)}):Vt(e,t))},beforeUnmount(e,{value:t}){Vt(e,t)}};function Vt(e,t){e.style.display=t?e[Ns]:"none",e[no]=!t}const Lc=Symbol(""),Dc=/(^|;)\s*display\s*:/;function Mc(e,t,s){const n=e.style,r=he(s);let i=!1;if(s&&!r){if(t)if(he(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&vs(n,l,"")}else for(const o in t)s[o]==null&&vs(n,o,"");for(const o in s)o==="display"&&(i=!0),vs(n,o,s[o])}else if(r){if(t!==s){const o=n[Lc];o&&(s+=";"+o),n.cssText=s,i=Dc.test(s)}}else t&&e.removeAttribute("style");Ns in e&&(e[Ns]=i?n.display:"",e[no]&&(n.display="none"))}const Ir=/\s*!important$/;function vs(e,t,s){if(F(s))s.forEach(n=>vs(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=Bc(e,t);Ir.test(s)?e.setProperty(St(n),s.replace(Ir,""),"important"):e[n]=s}}const Nr=["Webkit","Moz","ms"],fn={};function Bc(e,t){const s=fn[t];if(s)return s;let n=ht(t);if(n!=="filter"&&n in e)return fn[t]=n;n=Qr(n);for(let r=0;rdn||($c.then(()=>dn=0),dn=Date.now());function jc(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Qe(Wc(n,s.value),t,5,[n])};return s.value=e,s.attached=Vc(),s}function Wc(e,t){if(F(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>r=>!r._stopped&&n&&n(r))}else return t}const Br=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,qc=(e,t,s,n,r,i)=>{const o=r==="svg";t==="class"?Pc(e,n,o):t==="style"?Mc(e,s,n):Ds(t)?Bn(t)||Uc(e,t,s,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Kc(e,t,n,o))?(Lr(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Pr(e,t,n,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!he(n))?Lr(e,ht(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Pr(e,t,n,o))};function Kc(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Br(t)&&q(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Br(t)&&he(s)?!1:t in e}const ks=e=>{const t=e.props["onUpdate:modelValue"]||!1;return F(t)?s=>gs(t,s):t};function Gc(e){e.target.composing=!0}function Fr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const kt=Symbol("_assign"),Ps={created(e,{modifiers:{lazy:t,trim:s,number:n}},r){e[kt]=ks(r);const i=n||r.props&&r.props.type==="number";vt(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;s&&(l=l.trim()),i&&(l=_n(l)),e[kt](l)}),s&&vt(e,"change",()=>{e.value=e.value.trim()}),t||(vt(e,"compositionstart",Gc),vt(e,"compositionend",Fr),vt(e,"change",Fr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:n,trim:r,number:i}},o){if(e[kt]=ks(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?_n(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(n&&t===s||r&&e.value.trim()===c)||(e.value=c))}},Ur={deep:!0,created(e,t,s){e[kt]=ks(s),vt(e,"change",()=>{const n=e._modelValue,r=zc(e),i=e.checked,o=e[kt];if(F(n)){const l=ti(n,r),c=l!==-1;if(i&&!c)o(n.concat(r));else if(!i&&c){const u=[...n];u.splice(l,1),o(u)}}else if(Ms(n)){const l=new Set(n);i?l.add(r):l.delete(r),o(l)}else o(ro(e,i))})},mounted:Hr,beforeUpdate(e,t,s){e[kt]=ks(s),Hr(e,t,s)}};function Hr(e,{value:t,oldValue:s},n){e._modelValue=t;let r;if(F(t))r=ti(t,n.props.value)>-1;else if(Ms(t))r=t.has(n.props.value);else{if(t===s)return;r=Us(t,ro(e,!0))}e.checked!==r&&(e.checked=r)}function zc(e){return"_value"in e?e._value:e.value}function ro(e,t){const s=t?"_trueValue":"_falseValue";return s in e?e[s]:t}const Yc=["ctrl","shift","alt","meta"],Jc={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Yc.some(s=>e[`${s}Key`]&&!t.includes(s))},io=(e,t)=>{const s=e._withMods||(e._withMods={}),n=t.join(".");return s[n]||(s[n]=(r,...i)=>{for(let o=0;o{const t=Qc().createApp(...e),{mount:s}=t;return t.mount=n=>{const r=ta(n);if(!r)return;const i=t._component;!q(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=s(r,!1,ea(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function ea(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ta(e){return he(e)?document.querySelector(e):e}var sa=!1;/*! - * pinia v2.3.0 - * (c) 2024 Eduardo San Martin Morote - * @license MIT - */let oo;const Js=e=>oo=e,lo=Symbol();function On(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Zt;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Zt||(Zt={}));function na(){const e=ii(!0),t=e.run(()=>G({}));let s=[],n=[];const r=zn({install(i){Js(r),r._a=i,i.provide(lo,r),i.config.globalProperties.$pinia=r,n.forEach(o=>s.push(o)),n=[]},use(i){return!this._a&&!sa?n.push(i):s.push(i),this},_p:s,_a:null,_e:e,_s:new Map,state:t});return r}const co=()=>{};function Vr(e,t,s,n=co){e.push(t);const r=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),n())};return!s&&oi()&&jo(r),r}function Ct(e,...t){e.slice().forEach(s=>{s(...t)})}const ra=e=>e(),jr=Symbol(),hn=Symbol();function An(e,t){e instanceof Map&&t instanceof Map?t.forEach((s,n)=>e.set(n,s)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const s in t){if(!t.hasOwnProperty(s))continue;const n=t[s],r=e[s];On(r)&&On(n)&&e.hasOwnProperty(s)&&!ae(n)&&!it(n)?e[s]=An(r,n):e[s]=n}return e}const ia=Symbol();function oa(e){return!On(e)||!e.hasOwnProperty(ia)}const{assign:ct}=Object;function la(e){return!!(ae(e)&&e.effect)}function ca(e,t,s,n){const{state:r,actions:i,getters:o}=t,l=s.state.value[e];let c;function u(){l||(s.state.value[e]=r?r():{});const f=hl(s.state.value[e]);return ct(f,i,Object.keys(o||{}).reduce((h,m)=>(h[m]=zn(Ys(()=>{Js(s);const w=s._s.get(e);return o[m].call(w,w)})),h),{}))}return c=ao(e,u,t,s,n,!0),c}function ao(e,t,s={},n,r,i){let o;const l=ct({actions:{}},s),c={deep:!0};let u,f,h=[],m=[],w;const S=n.state.value[e];!i&&!S&&(n.state.value[e]={}),G({});let I;function M(K){let T;u=f=!1,typeof K=="function"?(K(n.state.value[e]),T={type:Zt.patchFunction,storeId:e,events:w}):(An(n.state.value[e],K),T={type:Zt.patchObject,payload:K,storeId:e,events:w});const N=I=Symbol();xi().then(()=>{I===N&&(u=!0)}),f=!0,Ct(h,T,n.state.value[e])}const k=i?function(){const{state:T}=s,N=T?T():{};this.$patch(v=>{ct(v,N)})}:co;function A(){o.stop(),h=[],m=[],n._s.delete(e)}const j=(K,T="")=>{if(jr in K)return K[hn]=T,K;const N=function(){Js(n);const v=Array.from(arguments),D=[],W=[];function ce(z){D.push(z)}function et(z){W.push(z)}Ct(m,{args:v,name:N[hn],store:Y,after:ce,onError:et});let ue;try{ue=K.apply(this&&this.$id===e?this:Y,v)}catch(z){throw Ct(W,z),z}return ue instanceof Promise?ue.then(z=>(Ct(D,z),z)).catch(z=>(Ct(W,z),Promise.reject(z))):(Ct(D,ue),ue)};return N[jr]=!0,N[hn]=T,N},P={_p:n,$id:e,$onAction:Vr.bind(null,m),$patch:M,$reset:k,$subscribe(K,T={}){const N=Vr(h,K,T.detached,()=>v()),v=o.run(()=>xe(()=>n.state.value[e],D=>{(T.flush==="sync"?f:u)&&K({storeId:e,type:Zt.direct,events:w},D)},ct({},c,T)));return N},$dispose:A},Y=$s(P);n._s.set(e,Y);const le=(n._a&&n._a.runWithContext||ra)(()=>n._e.run(()=>(o=ii()).run(()=>t({action:j}))));for(const K in le){const T=le[K];if(ae(T)&&!la(T)||it(T))i||(S&&oa(T)&&(ae(T)?T.value=S[K]:An(T,S[K])),n.state.value[e][K]=T);else if(typeof T=="function"){const N=j(T,K);le[K]=N,l.actions[K]=T}}return ct(Y,le),ct(Q(Y),le),Object.defineProperty(Y,"$state",{get:()=>n.state.value[e],set:K=>{M(T=>{ct(T,K)})}}),n._p.forEach(K=>{ct(Y,o.run(()=>K({store:Y,app:n._a,pinia:n,options:l})))}),S&&i&&s.hydrate&&s.hydrate(Y.$state,S),u=!0,f=!0,Y}/*! #__NO_SIDE_EFFECTS__ */function Xs(e,t,s){let n,r;const i=typeof t=="function";typeof e=="string"?(n=e,r=i?s:t):(r=e,n=e.id);function o(l,c){const u=zl();return l=l||(u?Xt(lo,null):null),l&&Js(l),l=oo,l._s.has(n)||(i?ao(n,t,r,l):ca(n,r,l)),l._s.get(n)}return o.$id=n,o}function Fe(e){{const t=Q(e),s={};for(const n in t){const r=t[n];r.effect?s[n]=Ys({get:()=>e[n],set(i){e[n]=i}}):(ae(r)||it(r))&&(s[n]=gl(e,n))}return s}}const aa=10,ua=[{urls:"stun:stun.l.google.com:19302"},{urls:"stun:stun.l.google.com:5349"},{urls:"stun:stun1.l.google.com:3478"},{urls:"stun:stun1.l.google.com:5349"},{urls:"stun:stun2.l.google.com:19302"},{urls:"stun:stun2.l.google.com:5349"},{urls:"stun:stun3.l.google.com:3478"},{urls:"stun:stun3.l.google.com:5349"},{urls:"stun:stun4.l.google.com:19302"},{urls:"stun:stun4.l.google.com:5349"},{urls:"turn:103.124.107.241:3478",username:"easytransfer",credential:"sharesimplyandstayanonymous"}],cs=Xs("setting",()=>{const e=G(!0);localStorage.getItem("autoDisplayImage")&&(e.value=JSON.parse(localStorage.getItem("autoDisplayImage"))),xe(e,()=>{localStorage.setItem("autoDisplayImage",JSON.stringify(e.value))});const t=G(!0);localStorage.getItem("directlyOpenLink")&&(t.value=JSON.parse(localStorage.getItem("directlyOpenLink"))),xe(t,()=>{localStorage.setItem("directlyOpenLink",JSON.stringify(t.value))});const s=G(aa);localStorage.getItem("maxConnectionNumber")&&(s.value=JSON.parse(localStorage.getItem("maxConnectionNumber"))),xe(s,()=>{localStorage.setItem("maxConnectionNumber",JSON.stringify(s.value))});const n=G(ua);if(localStorage.getItem("iceServers")){const r=JSON.parse(localStorage.getItem("iceServers")),i=[...n.value,...r],o=Array.from(new Set(i.map(l=>JSON.stringify(l)))).map(l=>JSON.parse(l));n.value=o}return xe(n,()=>{localStorage.setItem("iceServers",JSON.stringify(n.value))}),{autoDisplayImage:e,directlyOpenLink:t,maxConnectionNumber:s,iceServers:n}}),fa={class:"settings-cluster shadow"},da={class:"setting-item"},ha={class:"range-input"},pa={class:"switch-input blur shadow"},ma={class:"switch-input blur shadow"},ga={class:"setting-button"},_a=["disabled"],ya=De({__name:"SettingsModal",emits:["close"],setup(e,{emit:t}){const s=cs(),{maxConnectionNumber:n,iceServers:r,autoDisplayImage:i,directlyOpenLink:o}=Fe(s),l=t,c=()=>{l("close")},u=G(!0),f=G("Save"),h=G(null),m=G(null),w=G(null),S=G(null);Ws(()=>{h.value=n.value,m.value=r.value.map(k=>JSON.stringify(k)).join(` -`),w.value=i.value,S.value=o.value});function I(){var A;n.value!==h.value&&(n.value=h.value);let k=JSON.parse(`[${(A=m.value)==null?void 0:A.split(` -`).join(",")}]`);JSON.stringify(r.value)!==JSON.stringify(k)&&(r.value=k),i.value!==w.value&&(i.value=w.value),o.value!==S.value&&(o.value=S.value),c()}const M=()=>{var A;u.value=!1,f.value="Checking...",h.value!==null&&h.value<1&&(h.value=1);let k;try{k=JSON.parse(`[${(A=m.value)==null?void 0:A.split(` -`).join(",")}]`)}catch{u.value=!1,f.value="ICE Servers format incorrect";return}if(k.length===0){u.value=!1,f.value="ICE Servers cannot be empty";return}for(let j of k)if(!j.urls){u.value=!1,f.value="ICE Servers must have urls property";return}u.value=!0,f.value="Save"};return(k,A)=>(U(),V("div",{class:"overlay blur",onClick:io(c,["self"])},[_("div",fa,[A[12]||(A[12]=_("h2",null,[_("span",{class:"mdi mdi-cog"}),er("Settings")],-1)),_("div",da,[A[8]||(A[8]=_("label",{for:"max-connection-number"},"Max connection number",-1)),_("div",ha,[Ve(_("input",{type:"range",id:"max-connection-number",class:"blur shadow","onUpdate:modelValue":A[0]||(A[0]=j=>h.value=j),onInput:M,min:"0",max:"16",step:"1"},null,544),[[Ps,h.value]]),A[5]||(A[5]=_("div",{class:"range-input-label"},[_("span",null,"0"),_("span",null,"4"),_("span",null,"8"),_("span",null,"12"),_("span",null,"16")],-1))]),A[9]||(A[9]=_("label",{for:"ice-servers"},"ICE Servers",-1)),Ve(_("textarea",{id:"ice-servers",class:"blur shadow","onUpdate:modelValue":A[1]||(A[1]=j=>m.value=j),spellcheck:"false",onInput:M},null,544),[[Ps,m.value]]),A[10]||(A[10]=_("label",{for:"enable-img-display"},"Auto display image",-1)),_("label",pa,[Ve(_("input",{class:"blur shadow",type:"checkbox",id:"enable-img-display","onUpdate:modelValue":A[2]||(A[2]=j=>w.value=j)},null,512),[[Ur,w.value]]),A[6]||(A[6]=_("span",{class:"blur shadow"},null,-1))]),A[11]||(A[11]=_("label",{for:"enable-open-link"},"Directly open link",-1)),_("label",ma,[Ve(_("input",{class:"blur shadow",type:"checkbox",id:"enable-open-link","onUpdate:modelValue":A[3]||(A[3]=j=>S.value=j)},null,512),[[Ur,S.value]]),A[7]||(A[7]=_("span",{class:"blur shadow"},null,-1))])]),_("div",ga,[_("button",{onClick:c,class:"cancel-button"},"Cancel"),_("button",{onClick:A[4]||(A[4]=j=>I()),class:ne(["save-button",{error:!u.value}]),disabled:!u.value},je(f.value),11,_a)])])]))}}),Re=(e,t)=>{const s=e.__vccOpts||e;for(const[n,r]of t)s[n]=r;return s},va=Re(ya,[["__scopeId","data-v-e9e3660a"]]),ba=De({__name:"HeaderModal",setup(e){const t=G(!1),s=()=>{t.value=!t.value},n="v3.1.14",r=G(!1),i=()=>{window.scrollY>50?r.value=!0:r.value=!1};return Ws(()=>{window.addEventListener("scroll",i)}),Xn(()=>{window.removeEventListener("scroll",i)}),(o,l)=>(U(),V(ve,null,[_("header",{class:ne({blur:r.value,shadow:r.value})},[_("div",{class:"header-cluster"},[_("div",{class:"logo-cluster"},[l[2]||(l[2]=_("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},[_("path",{d:"M21.4 7.5C22.2 8.3 22.2 9.6 21.4 10.3L18.6 13.1L10.8 5.3L13.6 2.5C14.4 1.7 15.7 1.7 16.4 2.5L18.2 4.3L21.2 1.3L22.6 2.7L19.6 5.7L21.4 7.5M15.6 13.3L14.2 11.9L11.4 14.7L9.3 12.6L12.1 9.8L10.7 8.4L7.9 11.2L6.4 9.8L3.6 12.6C2.8 13.4 2.8 14.7 3.6 15.4L5.4 17.2L1.4 21.2L2.8 22.6L6.8 18.6L8.6 20.4C9.4 21.2 10.7 21.2 11.4 20.4L14.2 17.6L12.8 16.2L15.6 13.3Z"})],-1)),_("div",{class:"logo-text"},[l[0]||(l[0]=_("h1",null,"EasyTransfer",-1)),_("span",null,je(n)),l[1]||(l[1]=_("p",null,"Share simply & stay anonymous.",-1))])]),_("div",{class:"link-cluster"},[_("button",{class:"link-item shadow",onClick:s},l[3]||(l[3]=[_("span",{class:"mdi mdi-cog"},null,-1),_("span",{class:"text"},"Settings",-1)])),l[4]||(l[4]=_("a",{href:"https://github.com/WCY-dt/EasyTransfer",class:"link-item shadow github"},[_("span",{class:"mdi mdi-github"}),_("span",{class:"text"},"Star on GitHub")],-1))])])],2),t.value?(U(),Gs(va,{key:0,onClose:s})):pe("",!0)],64))}}),Ea=Re(ba,[["__scopeId","data-v-efe22c15"]]),Ze=Object.create(null);Ze.open="0";Ze.close="1";Ze.ping="2";Ze.pong="3";Ze.message="4";Ze.upgrade="5";Ze.noop="6";const bs=Object.create(null);Object.keys(Ze).forEach(e=>{bs[Ze[e]]=e});const In={type:"error",data:"parser error"},uo=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",fo=typeof ArrayBuffer=="function",ho=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,sr=({type:e,data:t},s,n)=>uo&&t instanceof Blob?s?n(t):Wr(t,n):fo&&(t instanceof ArrayBuffer||ho(t))?s?n(t):Wr(new Blob([t]),n):n(Ze[e]+(t||"")),Wr=(e,t)=>{const s=new FileReader;return s.onload=function(){const n=s.result.split(",")[1];t("b"+(n||""))},s.readAsDataURL(e)};function qr(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let pn;function wa(e,t){if(uo&&e.data instanceof Blob)return e.data.arrayBuffer().then(qr).then(t);if(fo&&(e.data instanceof ArrayBuffer||ho(e.data)))return t(qr(e.data));sr(e,!1,s=>{pn||(pn=new TextEncoder),t(pn.encode(s))})}const Kr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qt=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e{let t=e.length*.75,s=e.length,n,r=0,i,o,l,c;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const u=new ArrayBuffer(t),f=new Uint8Array(u);for(n=0;n>4,f[r++]=(o&15)<<4|l>>2,f[r++]=(l&3)<<6|c&63;return u},Sa=typeof ArrayBuffer=="function",nr=(e,t)=>{if(typeof e!="string")return{type:"message",data:po(e,t)};const s=e.charAt(0);return s==="b"?{type:"message",data:xa(e.substring(1),t)}:bs[s]?e.length>1?{type:bs[s],data:e.substring(1)}:{type:bs[s]}:In},xa=(e,t)=>{if(Sa){const s=Ta(e);return po(s,t)}else return{base64:!0,data:e}},po=(e,t)=>{switch(t){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}},mo="",Ra=(e,t)=>{const s=e.length,n=new Array(s);let r=0;e.forEach((i,o)=>{sr(i,!1,l=>{n[o]=l,++r===s&&t(n.join(mo))})})},Ca=(e,t)=>{const s=e.split(mo),n=[];for(let r=0;r{const n=s.length;let r;if(n<126)r=new Uint8Array(1),new DataView(r.buffer).setUint8(0,n);else if(n<65536){r=new Uint8Array(3);const i=new DataView(r.buffer);i.setUint8(0,126),i.setUint16(1,n)}else{r=new Uint8Array(9);const i=new DataView(r.buffer);i.setUint8(0,127),i.setBigUint64(1,BigInt(n))}e.data&&typeof e.data!="string"&&(r[0]|=128),t.enqueue(r),t.enqueue(s)})}})}let mn;function ps(e){return e.reduce((t,s)=>t+s.length,0)}function ms(e,t){if(e[0].length===t)return e.shift();const s=new Uint8Array(t);let n=0;for(let r=0;rMath.pow(2,21)-1){l.enqueue(In);break}r=f*Math.pow(2,32)+u.getUint32(4),n=3}else{if(ps(s)e){l.enqueue(In);break}}}})}const go=4;function de(e){if(e)return Ia(e)}function Ia(e){for(var t in de.prototype)e[t]=de.prototype[t];return e}de.prototype.on=de.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this};de.prototype.once=function(e,t){function s(){this.off(e,s),t.apply(this,arguments)}return s.fn=t,this.on(e,s),this};de.prototype.off=de.prototype.removeListener=de.prototype.removeAllListeners=de.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var s=this._callbacks["$"+e];if(!s)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var n,r=0;rPromise.resolve().then(t):(t,s)=>s(t,0),Me=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),Na="arraybuffer";function _o(e,...t){return t.reduce((s,n)=>(e.hasOwnProperty(n)&&(s[n]=e[n]),s),{})}const ka=Me.setTimeout,Pa=Me.clearTimeout;function Zs(e,t){t.useNativeTimers?(e.setTimeoutFn=ka.bind(Me),e.clearTimeoutFn=Pa.bind(Me)):(e.setTimeoutFn=Me.setTimeout.bind(Me),e.clearTimeoutFn=Me.clearTimeout.bind(Me))}const La=1.33;function Da(e){return typeof e=="string"?Ma(e):Math.ceil((e.byteLength||e.size)*La)}function Ma(e){let t=0,s=0;for(let n=0,r=e.length;n=57344?s+=3:(n++,s+=4);return s}function yo(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function Ba(e){let t="";for(let s in e)e.hasOwnProperty(s)&&(t.length&&(t+="&"),t+=encodeURIComponent(s)+"="+encodeURIComponent(e[s]));return t}function Fa(e){let t={},s=e.split("&");for(let n=0,r=s.length;n{this.readyState="paused",t()};if(this._polling||!this.writable){let n=0;this._polling&&(n++,this.once("pollComplete",function(){--n||s()})),this.writable||(n++,this.once("drain",function(){--n||s()}))}else s()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const s=n=>{if(this.readyState==="opening"&&n.type==="open"&&this.onOpen(),n.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(n)};Ca(t,this.socket.binaryType).forEach(s),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,Ra(t,s=>{this.doWrite(s,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const t=this.opts.secure?"https":"http",s=this.query||{};return this.opts.timestampRequests!==!1&&(s[this.opts.timestampParam]=yo()),!this.supportsBinary&&!s.sid&&(s.b64=1),this.createUri(t,s)}}let vo=!1;try{vo=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const $a=vo;function Va(){}class ja extends Ha{constructor(t){if(super(t),typeof location<"u"){const s=location.protocol==="https:";let n=location.port;n||(n=s?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||n!==t.port}}doWrite(t,s){const n=this.request({method:"POST",data:t});n.on("success",s),n.on("error",(r,i)=>{this.onError("xhr post error",r,i)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(s,n)=>{this.onError("xhr poll error",s,n)}),this.pollXhr=t}}class Je extends de{constructor(t,s,n){super(),this.createRequest=t,Zs(this,n),this._opts=n,this._method=n.method||"GET",this._uri=s,this._data=n.data!==void 0?n.data:null,this._create()}_create(){var t;const s=_o(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");s.xdomain=!!this._opts.xd;const n=this._xhr=this.createRequest(s);try{n.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let r in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(r)&&n.setRequestHeader(r,this._opts.extraHeaders[r])}}catch{}if(this._method==="POST")try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{n.setRequestHeader("Accept","*/*")}catch{}(t=this._opts.cookieJar)===null||t===void 0||t.addCookies(n),"withCredentials"in n&&(n.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(n.timeout=this._opts.requestTimeout),n.onreadystatechange=()=>{var r;n.readyState===3&&((r=this._opts.cookieJar)===null||r===void 0||r.parseCookies(n.getResponseHeader("set-cookie"))),n.readyState===4&&(n.status===200||n.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof n.status=="number"?n.status:0)},0))},n.send(this._data)}catch(r){this.setTimeoutFn(()=>{this._onError(r)},0);return}typeof document<"u"&&(this._index=Je.requestsCount++,Je.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=Va,t)try{this._xhr.abort()}catch{}typeof document<"u"&&delete Je.requests[this._index],this._xhr=null}}_onLoad(){const t=this._xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}Je.requestsCount=0;Je.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Gr);else if(typeof addEventListener=="function"){const e="onpagehide"in Me?"pagehide":"unload";addEventListener(e,Gr,!1)}}function Gr(){for(let e in Je.requests)Je.requests.hasOwnProperty(e)&&Je.requests[e].abort()}const Wa=function(){const e=bo({xdomain:!1});return e&&e.responseType!==null}();class qa extends ja{constructor(t){super(t);const s=t&&t.forceBase64;this.supportsBinary=Wa&&!s}request(t={}){return Object.assign(t,{xd:this.xd},this.opts),new Je(bo,this.uri(),t)}}function bo(e){const t=e.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||$a))return new XMLHttpRequest}catch{}if(!t)try{return new Me[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const Eo=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class Ka extends rr{get name(){return"websocket"}doOpen(){const t=this.uri(),s=this.opts.protocols,n=Eo?{}:_o(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=this.createSocket(t,s,n)}catch(r){return this.emitReserved("error",r)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let s=0;s{try{this.doWrite(n,i)}catch{}r&&Qs(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const t=this.opts.secure?"wss":"ws",s=this.query||{};return this.opts.timestampRequests&&(s[this.opts.timestampParam]=yo()),this.supportsBinary||(s.b64=1),this.createUri(t,s)}}const gn=Me.WebSocket||Me.MozWebSocket;class Ga extends Ka{createSocket(t,s,n){return Eo?new gn(t,s,n):s?new gn(t,s):new gn(t)}doWrite(t,s){this.ws.send(s)}}class za extends rr{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(t){return this.emitReserved("error",t)}this._transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(t=>{const s=Aa(Number.MAX_SAFE_INTEGER,this.socket.binaryType),n=t.readable.pipeThrough(s).getReader(),r=Oa();r.readable.pipeTo(t.writable),this._writer=r.writable.getWriter();const i=()=>{n.read().then(({done:l,value:c})=>{l||(this.onPacket(c),i())}).catch(l=>{})};i();const o={type:"open"};this.query.sid&&(o.data=`{"sid":"${this.query.sid}"}`),this._writer.write(o).then(()=>this.onOpen())})})}write(t){this.writable=!1;for(let s=0;s{r&&Qs(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this._transport)===null||t===void 0||t.close()}}const Ya={websocket:Ga,webtransport:za,polling:qa},Ja=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Xa=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Nn(e){if(e.length>8e3)throw"URI too long";const t=e,s=e.indexOf("["),n=e.indexOf("]");s!=-1&&n!=-1&&(e=e.substring(0,s)+e.substring(s,n).replace(/:/g,";")+e.substring(n,e.length));let r=Ja.exec(e||""),i={},o=14;for(;o--;)i[Xa[o]]=r[o]||"";return s!=-1&&n!=-1&&(i.source=t,i.host=i.host.substring(1,i.host.length-1).replace(/;/g,":"),i.authority=i.authority.replace("[","").replace("]","").replace(/;/g,":"),i.ipv6uri=!0),i.pathNames=Qa(i,i.path),i.queryKey=Za(i,i.query),i}function Qa(e,t){const s=/\/{2,9}/g,n=t.replace(s,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&n.splice(0,1),t.slice(-1)=="/"&&n.splice(n.length-1,1),n}function Za(e,t){const s={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(n,r,i){r&&(s[r]=i)}),s}const kn=typeof addEventListener=="function"&&typeof removeEventListener=="function",Es=[];kn&&addEventListener("offline",()=>{Es.forEach(e=>e())},!1);class dt extends de{constructor(t,s){if(super(),this.binaryType=Na,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&typeof t=="object"&&(s=t,t=null),t){const n=Nn(t);s.hostname=n.host,s.secure=n.protocol==="https"||n.protocol==="wss",s.port=n.port,n.query&&(s.query=n.query)}else s.host&&(s.hostname=Nn(s.host).host);Zs(this,s),this.secure=s.secure!=null?s.secure:typeof location<"u"&&location.protocol==="https:",s.hostname&&!s.port&&(s.port=this.secure?"443":"80"),this.hostname=s.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=s.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},s.transports.forEach(n=>{const r=n.prototype.name;this.transports.push(r),this._transportsByName[r]=n}),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},s),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=Fa(this.opts.query)),kn&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},Es.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){const s=Object.assign({},this.opts.query);s.EIO=go,s.transport=t,this.id&&(s.sid=this.id);const n=Object.assign({},this.opts,{query:s,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](n)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const t=this.opts.rememberUpgrade&&dt.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const s=this.createTransport(t);s.open(),this.setTransport(s)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",s=>this._onClose("transport close",s))}onOpen(){this.readyState="open",dt.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const s=new Error("server error");s.code=t.data,this._onError(s);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let s=1;for(let n=0;n0&&s>this._maxPayload)return this.writeBuffer.slice(0,n);s+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,Qs(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,s,n){return this._sendPacket("message",t,s,n),this}send(t,s,n){return this._sendPacket("message",t,s,n),this}_sendPacket(t,s,n,r){if(typeof s=="function"&&(r=s,s=void 0),typeof n=="function"&&(r=n,n=null),this.readyState==="closing"||this.readyState==="closed")return;n=n||{},n.compress=n.compress!==!1;const i={type:t,data:s,options:n};this.emitReserved("packetCreate",i),this.writeBuffer.push(i),r&&this.once("flush",r),this.flush()}close(){const t=()=>{this._onClose("forced close"),this.transport.close()},s=()=>{this.off("upgrade",s),this.off("upgradeError",s),t()},n=()=>{this.once("upgrade",s),this.once("upgradeError",s)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?n():t()}):this.upgrading?n():t()),this}_onError(t){if(dt.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,s){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),kn&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const n=Es.indexOf(this._offlineEventListener);n!==-1&&Es.splice(n,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,s),this.writeBuffer=[],this._prevBufferLen=0}}}dt.protocol=go;class eu extends dt{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let t=0;t{n||(s.send([{type:"ping",data:"probe"}]),s.once("packet",h=>{if(!n)if(h.type==="pong"&&h.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",s),!s)return;dt.priorWebsocketSuccess=s.name==="websocket",this.transport.pause(()=>{n||this.readyState!=="closed"&&(f(),this.setTransport(s),s.send([{type:"upgrade"}]),this.emitReserved("upgrade",s),s=null,this.upgrading=!1,this.flush())})}else{const m=new Error("probe error");m.transport=s.name,this.emitReserved("upgradeError",m)}}))};function i(){n||(n=!0,f(),s.close(),s=null)}const o=h=>{const m=new Error("probe error: "+h);m.transport=s.name,i(),this.emitReserved("upgradeError",m)};function l(){o("transport closed")}function c(){o("socket closed")}function u(h){s&&h.name!==s.name&&i()}const f=()=>{s.removeListener("open",r),s.removeListener("error",o),s.removeListener("close",l),this.off("close",c),this.off("upgrading",u)};s.once("open",r),s.once("error",o),s.once("close",l),this.once("close",c),this.once("upgrading",u),this._upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{n||s.open()},200):s.open()}onHandshake(t){this._upgrades=this._filterUpgrades(t.upgrades),super.onHandshake(t)}_filterUpgrades(t){const s=[];for(let n=0;nYa[r]).filter(r=>!!r)),super(t,n)}};function su(e,t="",s){let n=e;s=s||typeof location<"u"&&location,e==null&&(e=s.protocol+"//"+s.host),typeof e=="string"&&(e.charAt(0)==="/"&&(e.charAt(1)==="/"?e=s.protocol+e:e=s.host+e),/^(https?|wss?):\/\//.test(e)||(typeof s<"u"?e=s.protocol+"//"+e:e="https://"+e),n=Nn(e)),n.port||(/^(http|ws)$/.test(n.protocol)?n.port="80":/^(http|ws)s$/.test(n.protocol)&&(n.port="443")),n.path=n.path||"/";const i=n.host.indexOf(":")!==-1?"["+n.host+"]":n.host;return n.id=n.protocol+"://"+i+":"+n.port+t,n.href=n.protocol+"://"+i+(s&&s.port===n.port?"":":"+n.port),n}const nu=typeof ArrayBuffer=="function",ru=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,wo=Object.prototype.toString,iu=typeof Blob=="function"||typeof Blob<"u"&&wo.call(Blob)==="[object BlobConstructor]",ou=typeof File=="function"||typeof File<"u"&&wo.call(File)==="[object FileConstructor]";function ir(e){return nu&&(e instanceof ArrayBuffer||ru(e))||iu&&e instanceof Blob||ou&&e instanceof File}function ws(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let s=0,n=e.length;s=0&&e.num{delete this.acks[t];for(let l=0;l{this.io.clearTimeoutFn(i),s.apply(this,l)};o.withError=!0,this.acks[t]=o}emitWithAck(t,...s){return new Promise((n,r)=>{const i=(o,l)=>o?r(o):n(l);i.withError=!0,s.push(i),this.emit(t,...s)})}_addToQueue(t){let s;typeof t[t.length-1]=="function"&&(s=t.pop());const n={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((r,...i)=>n!==this._queue[0]?void 0:(r!==null?n.tryCount>this._opts.retries&&(this._queue.shift(),s&&s(r)):(this._queue.shift(),s&&s(null,...i)),n.pending=!1,this._drainQueue())),this._queue.push(n),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const s=this._queue[0];s.pending&&!t||(s.pending=!0,s.tryCount++,this.flags=s.flags,this.emit.apply(this,s.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:J.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,s){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,s),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(t=>{if(!this.sendBuffer.some(n=>String(n.id)===t)){const n=this.acks[t];delete this.acks[t],n.withError&&n.call(this,new Error("socket has been disconnected"))}})}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case J.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.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 J.EVENT:case J.BINARY_EVENT:this.onevent(t);break;case J.ACK:case J.BINARY_ACK:this.onack(t);break;case J.DISCONNECT:this.ondisconnect();break;case J.CONNECT_ERROR:this.destroy();const n=new Error(t.data.message);n.data=t.data.data,this.emitReserved("connect_error",n);break}}onevent(t){const s=t.data||[];t.id!=null&&s.push(this.ack(t.id)),this.connected?this.emitEvent(s):this.receiveBuffer.push(Object.freeze(s))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const s=this._anyListeners.slice();for(const n of s)n.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const s=this;let n=!1;return function(...r){n||(n=!0,s.packet({type:J.ACK,id:t,data:r}))}}onack(t){const s=this.acks[t.id];typeof s=="function"&&(delete this.acks[t.id],s.withError&&t.data.unshift(null),s.apply(this,t.data))}onconnect(t,s){this.id=t,this.recovered=s&&this._pid===s,this._pid=s,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:J.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const s=this._anyListeners;for(let n=0;n0&&e.jitter<=1?e.jitter:0,this.attempts=0}Lt.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),s=Math.floor(t*this.jitter*e);e=Math.floor(t*10)&1?e+s:e-s}return Math.min(e,this.max)|0};Lt.prototype.reset=function(){this.attempts=0};Lt.prototype.setMin=function(e){this.ms=e};Lt.prototype.setMax=function(e){this.max=e};Lt.prototype.setJitter=function(e){this.jitter=e};class Dn extends de{constructor(t,s){var n;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(s=t,t=void 0),s=s||{},s.path=s.path||"/socket.io",this.opts=s,Zs(this,s),this.reconnection(s.reconnection!==!1),this.reconnectionAttempts(s.reconnectionAttempts||1/0),this.reconnectionDelay(s.reconnectionDelay||1e3),this.reconnectionDelayMax(s.reconnectionDelayMax||5e3),this.randomizationFactor((n=s.randomizationFactor)!==null&&n!==void 0?n:.5),this.backoff=new Lt({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(s.timeout==null?2e4:s.timeout),this._readyState="closed",this.uri=t;const r=s.parser||hu;this.encoder=new r.Encoder,this.decoder=new r.Decoder,this._autoConnect=s.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,t||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var s;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(s=this.backoff)===null||s===void 0||s.setMin(t),this)}randomizationFactor(t){var s;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(s=this.backoff)===null||s===void 0||s.setJitter(t),this)}reconnectionDelayMax(t){var s;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(s=this.backoff)===null||s===void 0||s.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new tu(this.uri,this.opts);const s=this.engine,n=this;this._readyState="opening",this.skipReconnect=!1;const r=$e(s,"open",function(){n.onopen(),t&&t()}),i=l=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",l),t?t(l):this.maybeReconnectOnOpen()},o=$e(s,"error",i);if(this._timeout!==!1){const l=this._timeout,c=this.setTimeoutFn(()=>{r(),i(new Error("timeout")),s.close()},l);this.opts.autoUnref&&c.unref(),this.subs.push(()=>{this.clearTimeoutFn(c)})}return this.subs.push(r),this.subs.push(o),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push($e(t,"ping",this.onping.bind(this)),$e(t,"data",this.ondata.bind(this)),$e(t,"error",this.onerror.bind(this)),$e(t,"close",this.onclose.bind(this)),$e(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(s){this.onclose("parse error",s)}}ondecoded(t){Qs(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,s){let n=this.nsps[t];return n?this._autoConnect&&!n.active&&n.connect():(n=new To(this,t,s),this.nsps[t]=n),n}_destroy(t){const s=Object.keys(this.nsps);for(const n of s)if(this.nsps[n].active)return;this._close()}_packet(t){const s=this.encoder.encode(t);for(let n=0;nt()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(t,s){var n;this.cleanup(),(n=this.engine)===null||n===void 0||n.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,s),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const s=this.backoff.duration();this._reconnecting=!0;const n=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(r=>{r?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",r)):t.onreconnect()}))},s);this.opts.autoUnref&&n.unref(),this.subs.push(()=>{this.clearTimeoutFn(n)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const jt={};function Ts(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const s=su(e,t.path||"/socket.io"),n=s.source,r=s.id,i=s.path,o=jt[r]&&i in jt[r].nsps,l=t.forceNew||t["force new connection"]||t.multiplex===!1||o;let c;return l?c=new Dn(n,t):(jt[r]||(jt[r]=new Dn(n,t)),c=jt[r]),s.query&&!t.query&&(t.query=s.queryKey),c.socket(s.path,t)}Object.assign(Ts,{Manager:Dn,Socket:To,io:Ts,connect:Ts});var mu={VITE_SIGNAL_SERVER_URL:"https://easy-transfer.glitch.me/",GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_49109ffb-1c51-4019-9f1d-a00e8e77559d",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.9.2 node/v23.5.0 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_49109ffb-1c51-4019-9f1d-a00e8e77559d",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/23.5.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",OLDPWD:"/home/runner/work/EasyTransfer/EasyTransfer",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/EasyTransfer/EasyTransfer/client/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"WCY-dt",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"55525165",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/EasyTransfer/EasyTransfer/client",SYSTEMD_EXEC_PID:"847",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241215.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:8250",GITHUB_WORKFLOW:"Deploy Client",_:"/opt/hostedtoolcache/node/23.5.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/23.5.0/x64",npm_config_npm_version:"10.9.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12599444054",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"9283d8d938dd27f655a406c939f24af3b10dfb02",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"WCY-dt/EasyTransfer/.github/workflows/deploy.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/23.5.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/EasyTransfer/EasyTransfer/client/node_modules/.bin:/home/runner/work/EasyTransfer/EasyTransfer/node_modules/.bin:/home/runner/work/EasyTransfer/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/23.5.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/23.5.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_571457aa-42f5-40af-84cb-03f7e05e5845",INVOCATION_ID:"261cca450f744b5fa2e1fce12764b2ca",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/23.5.0/x64/bin/node",npm_package_name:"client",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"128",GITHUB_TRIGGERING_ACTOR:"WCY-dt",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 38",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"WCY-dt/EasyTransfer",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"816812807",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"3.1.14",npm_lifecycle_event:"build",GITHUB_REF_PROTECTED:"false",GITHUB_WORKSPACE:"/home/runner/work/EasyTransfer/EasyTransfer",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"9283d8d938dd27f655a406c939f24af3b10dfb02",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"WCY-dt",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/23.5.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_49109ffb-1c51-4019-9f1d-a00e8e77559d",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/EasyTransfer/EasyTransfer/client",GITHUB_ACTOR_ID:"55525165",RUNNER_WORKSPACE:"/home/runner/work/EasyTransfer",npm_execpath:"/opt/hostedtoolcache/node/23.5.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_49109ffb-1c51-4019-9f1d-a00e8e77559d",npm_config_global_prefix:"/opt/hostedtoolcache/node/23.5.0/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_49109ffb-1c51-4019-9f1d-a00e8e77559d",INIT_CWD:"/home/runner/work/EasyTransfer/EasyTransfer/client",EDITOR:"vi",NODE_ENV:"production"};const xt=Xs("connect",()=>{const e=cs(),{maxConnectionNumber:t,iceServers:s}=Fe(e),n=mu.VITE_SIGNAL_SERVER_URL;let r=null;const i=G(null),o=G(!1),l=G("LOADING"),c=G("");let u=[];const f=G(!1),h=G([]),m=1024*16,w=10,S=G(!1);function I(){h.value=[];const T={iceServers:s.value};r=Ts(n),i.value=new RTCPeerConnection(T),j(),Y()}async function M(){r==null||r.emit("register",t.value)}function k(){var T;S.value=!0,(T=i.value)==null||T.createOffer().then(N=>{var v;return(v=i.value)==null?void 0:v.setLocalDescription(N)}).then(()=>{var N;r==null||r.emit("offer",(N=i.value)==null?void 0:N.localDescription,l.value,c.value)}),A()}function A(){i.value.onicecandidate=T=>{T.candidate&&(r==null||r.emit("candidate",T.candidate,c.value))}}function j(){r==null||r.on("success",T=>{l.value=T,o.value=!0}),r==null||r.on("disconnect",()=>{o.value=!1,window.location.reload()}),r==null||r.on("offer",(T,N,v)=>{var D;c.value=N,t.value=v,S.value=!0,(D=i.value)==null||D.setRemoteDescription(new RTCSessionDescription(T)).then(()=>{var W;return(W=i.value)==null?void 0:W.createAnswer()}).then(W=>{var ce;return(ce=i.value)==null?void 0:ce.setLocalDescription(W)}).then(()=>{var W;r==null||r.emit("answer",(W=i.value)==null?void 0:W.localDescription,l.value,c.value)}).then(()=>{P()}),A()}),r==null||r.on("answer",(T,N)=>{var v;c.value===N?(v=i.value)==null||v.setRemoteDescription(new RTCSessionDescription(T)).then(()=>{P()}):console.error(`[ERROR] Received answer from unexpected id: ${N}`)}),r==null||r.on("candidate",T=>{var N;(N=i.value)!=null&&N.remoteDescription?i.value.addIceCandidate(new RTCIceCandidate(T)):u.push(T)})}function P(){var T;for(;u.length;)(T=i.value)==null||T.addIceCandidate(new RTCIceCandidate(u.shift()))}function Y(){var T;for(let N=0;N{S.value=!1,f.value=!0},v.onerror=D=>{console.error(`[ERR] Data channel error: ${D}`),S.value=!1,f.value=!1},v.onclose=()=>{S.value=!1,f.value=!1},h.value.push(v))}}function Ee(){return h.value.map(N=>N.readyState).every(N=>N==="open")?"open":"pending"}let le=s.value,K=t.value;return xe([s,t],async()=>{i.value&&(s.value!==le||t.value!==K)&&(console.warn("[INFO] ===Reconnecting==="),await Promise.all(h.value.map(T=>T.close())),i.value.close(),r==null||r.disconnect(),window.location.reload(),le=s.value,K=t.value)}),{peerConnection:i,isConnectSuccess:f,registered:o,clientId:l,targetId:c,sendChannels:h,maxBufferedAmount:m,isConnecting:S,initializeConnection:I,registerClient:M,connectTarget:k,getSendChannelState:Ee}});async function gu(e){const t={iceServers:e},s=new RTCPeerConnection(t);return new Promise(n=>{s.onicecandidate=r=>{r.candidate&&r.candidate.candidate.includes("typ relay")&&(n(!0),s.close())},s.onicegatheringstatechange=()=>{s.iceGatheringState==="complete"&&(n(!1),s.close())},s.createDataChannel(""),s.createOffer().then(r=>s.setLocalDescription(r)).catch(()=>{n(!1),s.close()})})}const _u={class:"id-cluster"},yu={class:"cover blur"},vu={key:0,class:"mdi mdi-check-bold"},bu={key:1,class:"mdi mdi-content-copy"},Eu=["disabled"],wu={key:0,class:"mdi mdi-dots-horizontal"},Tu={key:1,class:"mdi mdi-connection"},Su={class:"isTurnServerAvailable"},xu={class:"notice"},Ru=De({__name:"OperationId",setup(e){const t=xt();t.initializeConnection();const s=cs(),{isConnectSuccess:n,registered:r,clientId:i,targetId:o,isConnecting:l}=Fe(t),{iceServers:c}=Fe(s),u=G(!1),f=G(!1),h=Ys(()=>({disabled:!u.value&&!n.value||!r.value,ready:u.value&&!n.value&&r.value,success:!u.value&&n.value&&r.value})),m=G(!1);xe(o,M=>{M!==M.toUpperCase()&&(o.value=M.toUpperCase()),w(M)}),xe(n,M=>{M&&(u.value=!1)});function w(M){u.value=M.length===4,n.value=!1}function S(){r.value&&(navigator.clipboard.writeText(i.value),f.value=!0,setTimeout(()=>{f.value=!1},1e3))}function I(){o.value=o.value.toUpperCase(),t.connectTarget()}return Ws(async()=>{await t.registerClient(),m.value=await gu(c.value)}),(M,k)=>(U(),V("div",_u,[_("div",{class:ne(["clientId-cluster",$(i)==="LOADING"?"disabled":"ready"]),onClick:S},[er(je($(i))+" ",1),_("div",yu,[f.value?(U(),V("span",vu)):(U(),V("span",bu))])],2),_("div",{class:ne(["targetId-cluster shadow",h.value])},[k[1]||(k[1]=_("span",{class:"input-hint shadow"},"Enter the peer's code",-1)),Ve(_("input",{type:"text",id:"targetIdInput",class:"targetId-input blur",placeholder:"code",maxlength:"4","onUpdate:modelValue":k[0]||(k[0]=A=>ae(o)?o.value=A:null)},null,512),[[Ps,$(o)]]),_("button",{id:"connectButton",class:"connect-button",disabled:!u.value||!$(r),onClick:I,"aria-label":"Connect"},[$(l)?(U(),V("span",wu)):(U(),V("span",Tu))],8,Eu)],2),_("div",Su,[_("span",{class:ne(["dot",{green:m.value,red:!m.value}])},null,2),_("span",xu,je(m.value?"Turn server is available":"Turn server is not available"),1)])]))}}),Cu=Re(Ru,[["__scopeId","data-v-b8d6ef63"]]),en=Xs("send",()=>{const e=xt(),{sendChannels:t}=Fe(e),s=G([]);function n(v,D,W,ce,et){s.value.push({url:v,name:D,size:W,progress:ce,type:et}),s.value=[...s.value]}async function r(v,D){s.value[v].progress=D,s.value=[...s.value]}async function i(v,D){s.value[v].url=D,s.value=[...s.value]}async function o(v,D){s.value[v].success=D,s.value=[...s.value]}let l=-1,c=[];for(let v=0;v{await f()};async function u(v,D=!1){c.push(v),await f(D)}async function f(v){let D=null;if(v)D=t.value[0];else{const W=Math.floor(Math.random()*t.value.length);D=t.value[W]}for(;c.length>0&&D.bufferedAmount<=e.maxBufferedAmount;){let W=c.shift();!(W instanceof ArrayBuffer)&&!ArrayBuffer.isView(W)&&(W=new TextEncoder().encode(W)),D.send(new Uint8Array(W))}}let h="";const m=G("Drop file here or click to upload"),w=G(0),S=16384;let I=null;const M=G(0);async function k(v,D){const W=v.length;if(W===0){console.error("[ERR] No file selected");return}for(let ce=0;cenew Promise((ue,z)=>{const Z=new FileReader;Z.onload=async Ce=>{var Oe,Dt,as;const lt=new Uint8Array(2);lt[0]=(et&65280)>>8,lt[1]=et&255;const Ue=new Uint8Array(((Oe=Ce.target)==null?void 0:Oe.result).byteLength+2);Ue.set(lt,0),Ue.set(new Uint8Array((Dt=Ce.target)==null?void 0:Dt.result),2),await u(Ue),M.value=M.value+((as=Ce.target)==null?void 0:as.result).byteLength,M.value{z(Ce)},Z.readAsArrayBuffer(ce)}));await Promise.all(W)}async function Ee(){I=new FileReader,I.addEventListener("error",v=>{console.error(`[ERR] Error reading file: ${v}`)}),I.addEventListener("abort",v=>{console.log(`[INFO] File reading aborted: ${v}`)})}function le(v){return v===0?(console.error("[ERR] File is empty"),!1):e.getSendChannelState()!=="open"?(console.error("[ERR] Data channel is not open"),!1):!0}async function K(v){await T(v)}async function T(v){N(v)&&(await u("CONTENT_METAtTRANSFER_TYPE_TEXT",!0),await u("CONTENT_METAn"+v,!0),await u("CONTENT_METAs"+v.length,!0),n("javascript:void(0)",v,v.length,v.length,"TRANSFER_TYPE_TEXT"),l++,o(l,!0))}function N(v){return v===""?(console.error("[ERR] Text is empty"),!1):e.getSendChannelState()!=="open"?(console.error("[ERR] Data channel is not open"),!1):!0}return{uploadFileItems:s,sendFiles:k,sendText:K,processQueue:f}}),Ou=["disabled"],Au=["disabled"],Iu={key:0,class:"upload-text-title"},Nu={key:1,class:"upload-text-title"},ku=De({__name:"UploadText",setup(e){const t=xt(),{isConnectSuccess:s}=Fe(t),n=en(),r=G(""),i=G(!1);function o(){s.value&&(n.sendText(r.value),i.value=!0,setTimeout(()=>{i.value=!1,r.value=""},1e3))}return(l,c)=>(U(),V("div",{id:"text",class:ne(["upload-text-cluster",{disabled:!$(s),active:$(s)}])},[Ve(_("textarea",{id:"textInput",class:"text-input blur",placeholder:"Send a short message...",disabled:!$(s),"onUpdate:modelValue":c[0]||(c[0]=u=>r.value=u),ref:"textInput.value"},null,8,Ou),[[Ps,r.value]]),_("button",{id:"sendButton",class:"send-button",disabled:!$(s),onClick:o},[_("span",{class:ne(["mdi",{"mdi-send":!i.value,"mdi-check-bold":i.value}])},null,2),i.value?(U(),V("p",Nu,"Succeed")):(U(),V("p",Iu,"Send Message"))],8,Au)],2))}}),Pu=Re(ku,[["__scopeId","data-v-c9d5339b"]]),Lu=["disabled"],Du=De({__name:"UploadFile",setup(e){const t=xt(),{isConnectSuccess:s}=Fe(t),n=en(),r=G(null);async function i(){r.value&&r.value.files&&await n.sendFiles(Array.from(r.value.files),"TRANSFER_TYPE_FILE")}async function o(c){var u;s.value&&(c.preventDefault(),r.value&&(r.value.files=((u=c.dataTransfer)==null?void 0:u.files)??null,await i()))}function l(){s.value&&r.value&&r.value.click()}return(c,u)=>(U(),V("div",{id:"dropzone",class:ne(["upload-file-cluster",{disabled:!$(s),active:$(s)}]),onDragover:u[0]||(u[0]=io(()=>{},["prevent"])),onDrop:o,onClick:l},[_("input",{type:"file",id:"fileInput",class:"file-input",title:"Choose a file to send",multiple:"",onChange:i,ref_key:"fileInput",ref:r,disabled:!$(s)},null,40,Lu),u[1]||(u[1]=_("span",{class:"mdi mdi-file-upload"},null,-1)),u[2]||(u[2]=_("p",{class:"file-input-title"},"File",-1))],34))}}),Mu=Re(Du,[["__scopeId","data-v-acede28d"]]),Bu={id:"cameradisplay",class:"camera-display-cluster"},Fu=De({__name:"UploadPhoto",setup(e){const t=xt(),{isConnectSuccess:s}=Fe(t),n=en(),r=G(!1),i=G(!1),o=G(!1),l=G(null),c=G(null);function u(){s.value&&navigator.mediaDevices.getUserMedia({audio:!1,video:{facingMode:"environment"}}).then(S=>{window.stream=S,l.value&&(l.value.srcObject=S),i.value=!0,o.value=!0}).catch(S=>{console.error(`[ERR] GetUserMedia error: ${S}`),i.value=!1,o.value=!1,alert("Please allow camera access to use this feature")})}function f(){var S;if(c.value&&l.value){c.value.width=l.value.videoWidth,c.value.height=l.value.videoHeight;const I=c.value.getContext("2d");I&&I.drawImage(l.value,0,0,c.value.width,c.value.height),(S=window.stream)==null||S.getTracks().forEach(M=>M.stop()),o.value=!1}}function h(){var S;(S=window.stream)==null||S.getTracks().forEach(I=>I.stop()),i.value=!1,o.value=!1}async function m(){c.value&&c.value.toBlob(async function(S){if(S){const I=new Date().getTime(),M=new File([S],`image_${I}.png`,{type:"image/png"});await n.sendFiles([M],"TRANSFER_TYPE_FILE")}},"image/png")}async function w(){s.value&&(await m(),r.value=!0,setTimeout(()=>{r.value=!1,h()},1e3))}return(S,I)=>(U(),V(ve,null,[Ve(_("div",Bu,[_("button",{class:"close-button mdi mdi-close",onClick:h}),Ve(_("video",{class:"stream-display",ref_key:"stream",ref:l,autoplay:"",playsinline:""},null,512),[[$t,o.value]]),Ve(_("button",{class:"snapshot-button mdi mdi-camera",onClick:f},null,512),[[$t,o.value]]),Ve(_("canvas",{class:"photo-display",ref_key:"photo",ref:c},null,512),[[$t,!o.value]]),Ve(_("button",{class:ne(["send-button mdi",{"mdi-send":!r.value,"mdi-check-bold":r.value}]),onClick:w},null,2),[[$t,!o.value]])],512),[[$t,i.value]]),_("div",{id:"camera",class:ne(["upload-photo-cluster",{disabled:!$(s),active:$(s)}]),onClick:u},I[0]||(I[0]=[_("span",{class:"mdi mdi-camera"},null,-1),_("p",{class:"upload-photo-title"},"Photo",-1)]),2)],64))}}),Uu=Re(Fu,[["__scopeId","data-v-a386c348"]]),Hu={id:"upload",class:"upload-cluster"},$u=De({__name:"UploadModal",setup(e){return(t,s)=>(U(),V("div",Hu,[fe(Mu),fe(Uu),fe(Pu)]))}}),Vu=Re($u,[["__scopeId","data-v-ce8de059"]]),ju={class:"operation-cluster"},Wu=De({__name:"OperationModal",setup(e){return(t,s)=>(U(),V("div",ju,[fe(Cu),fe(Vu)]))}}),qu=Re(Wu,[["__scopeId","data-v-b3ad3813"]]);function Ls(e){return!!Ku.test(e)}function So(e){return Co.some(t=>e.toLowerCase().endsWith(t))}function xo(e){return Oo.some(t=>e.toLowerCase().endsWith(t))}function Ro(e){const t=e.toLowerCase();for(const[s,n]of Object.entries(Gu))if(n.some(r=>t.endsWith(r)))return s;return"mdi-file-document"}const Ku=new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),Co=[".png",".jpg",".jpeg",".gif",".bmp",".webp",".svg",".ico",".tiff",".tif",".heic",".raw"],Oo=[".mp4",".mkv",".avi",".mov",".wmv",".flv",".webm",".mpeg",".mpg",".m4v",".3gp",".3g2"],Gu={"mdi-file-image":Co,"mdi-file-word":[".doc",".docx",".odt",".rtf",".txt",".wps",".wpd"],"mdi-file-table":[".xls",".xlsx",".ods",".csv",".tsv",".xlsm",".xlsb"],"mdi-file-powerpoint":[".ppt",".pptx",".odp",".pps",".ppsx",".pot",".potx"],"mdi-file-music":[".mp3",".wav",".flac",".ogg",".aac",".wma",".m4a",".aiff",".alac"],"mdi-file-video":Oo,"mdi-file-code":[".html",".css",".js",".ts",".jsx",".tsx",".json",".xml",".yaml",".yml",".md",".markdown",".cpp",".c",".h",".hpp",".java",".py",".rb",".php",".sql",".sh",".bat",".ps1",".psm1",".psd1",".ps1xml",".pssc",".psc1",".pssc",".pl",".perl",".go",".rs",".swift",".kt",".kts",".clj",".cljs",".scala",".groovy",".gradle",".dockerfile",".properties",".ini",".cfg",".conf",".toml",".yaml",".yml",".json",".xml",".csv",".tsv",".log",".r",".sas",".stata",".do",".m",".mat",".rmd",".ipynb"],"mdi-folder-zip":[".zip",".rar",".7z",".tar",".gz",".bz2",".xz",".lz",".lzma",".lzo",".zst",".z",".tar.gz",".tgz",".tar.bz2",".tbz2",".tar.xz",".txz",".tar.lz",".tlz",".tar.lzma",".tar.lzo",".tar.zst",".tzst"],"mdi-file-cad":[".dwg",".dxf",".dgn",".stl",".obj",".fbx",".3ds",".skp",".step",".stp",".igs",".iges",".x_t",".x_b",".sat",".sab",".3dm",".prt",".asm",".xas",".xpr"],"mdi-file-key":[".key",".pem",".pub",".asc",".gpg",".pgp",".p12",".pfx",".cer",".crt",".der",".keychain",".jks",".keystore",".bks",".pkcs12",".p7b",".p7c",".p7r",".p7s",".p8"]},zu=["href","download"],Yu={class:"upload-item-detail"},Ju={class:"upload-item-name"},Xu=["value","max"],Qu=["src"],Zu=["src","controls"],ef={class:"upload-item-detail"},tf={class:"upload-item-content"},sf={key:0,class:"mdi mdi-check-bold"},nf={key:1,class:"mdi mdi-content-copy"},rf=["href"],of={class:"upload-item-detail"},lf={class:"upload-item-content"},cf=De({__name:"SendItem",props:{url:{default:"javascript:void(0)"},name:{default:"No file to upload"},size:{default:1},progress:{default:0},type:{default:"TRANSFER_TYPE_FILE"},success:{type:Boolean,default:!1}},setup(e){const t=e,s=cs(),{autoDisplayImage:n,directlyOpenLink:r}=Fe(s),i=G(!1);function o(){navigator.clipboard.writeText(t.name),i.value=!0,setTimeout(()=>{i.value=!1},1e3)}const l=window.matchMedia("(hover: hover)").matches;return(c,u)=>(U(),V(ve,null,[t.type==="TRANSFER_TYPE_FILE"?(U(),V("a",{key:0,ref:"uploadLink",href:t.url,class:ne(["upload-item file shadow",{success:t.success,loading:!t.success}]),download:t.name},[_("span",{class:ne(["mdi",$(Ro)(t.name)])},null,2),_("div",Yu,[_("p",Ju,je(t.name),1),_("progress",{class:"upload-item-progress",value:t.progress,max:t.size},null,8,Xu),$(So)(t.name)&&t.success&&$(n)?(U(),V("img",{key:0,class:"upload-item-content",src:t.url,alt:"Photo"},null,8,Qu)):pe("",!0),$(xo)(t.name)&&t.success?(U(),V("video",{key:1,class:"download-item-content",src:t.url,controls:!$(l),muted:"",autoplay:"",loop:""},null,8,Zu)):pe("",!0)]),t.success?(U(),V("div",{key:0,class:ne({"copy-cover blur":$(l),"none-hover":!$(l)})},u[0]||(u[0]=[_("span",{class:"mdi mdi-download"},null,-1)]),2)):pe("",!0)],10,zu)):pe("",!0),t.type==="TRANSFER_TYPE_TEXT"&&(!$(Ls)(t.name)||!$(r))?(U(),V("div",{key:1,class:ne(["upload-item text shadow",{success:t.success,loading:!t.success}]),onClick:o},[u[1]||(u[1]=_("span",{class:"mdi mdi-message-text"},null,-1)),_("div",ef,[_("p",tf,je(t.name),1)]),t.success?(U(),V("div",{key:0,class:ne({"copy-cover blur":$(l),"none-hover":!$(l)})},[i.value?(U(),V("span",sf)):(U(),V("span",nf))],2)):pe("",!0)],2)):pe("",!0),t.type==="TRANSFER_TYPE_TEXT"&&$(Ls)(t.name)&&$(r)?(U(),V("a",{key:2,class:ne(["upload-item text shadow",{success:t.success,loading:!t.success}]),onClick:o,href:t.name,target:"_blank",rel:"noopener noreferrer"},[u[3]||(u[3]=_("span",{class:"mdi mdi-link-variant"},null,-1)),_("div",of,[_("p",lf,je(t.name),1)]),t.success?(U(),V("div",{key:0,class:ne({"copy-cover blur":$(l),"none-hover":!$(l)})},u[2]||(u[2]=[_("span",{class:"mdi mdi-open-in-new"},null,-1)]),2)):pe("",!0)],10,rf)):pe("",!0)],64))}}),af=Re(cf,[["__scopeId","data-v-22560d61"]]),uf={class:"upload-cluster"},ff={key:0,class:"noting-to-upload-text"},df=De({__name:"SendModal",setup(e){const t=en(),s=G([]);return xe(()=>t.uploadFileItems,n=>{s.value=n},{deep:!0}),(n,r)=>(U(),V("div",uf,[r[0]||(r[0]=_("div",{class:"upload-cluster-title"},[_("span",{class:"mdi mdi-upload-network"}),_("p",{class:"upload-cluster-title-text"},"Upload")],-1)),s.value.length===0?(U(),V("p",ff," Nothing to upload ")):pe("",!0),(U(!0),V(ve,null,Pi(s.value,(i,o)=>(U(),Gs(af,{key:o,url:i.url,name:i.name,size:i.size,progress:i.progress,success:i.success,type:i.type},null,8,["url","name","size","progress","success","type"]))),128))]))}}),hf=Re(df,[["__scopeId","data-v-b5e41870"]]),pf=Xs("receive",()=>{const e=xt(),{peerConnection:t}=Fe(e),s=G([]);function n(T,N,v,D,W){s.value.push({url:T,name:N,size:v,progress:D,type:W}),s.value=[...s.value]}function r(T,N){s.value[T].progress=N,s.value=[...s.value]}function i(T,N){s.value[T].url=N,s.value=[...s.value]}function o(T,N){s.value[T].success=N,s.value=[...s.value]}let l=[],c=[],u="",f="",h=0,m=0,w="",S=[],I=[],M=[],k=-1;function A(){if(!t.value){console.error("[ERR] Peer connection not ready");return}t.value.ondatachannel=T=>{K();const N=T.channel;N.onopen=()=>{},N.onerror=v=>{console.error(`[ERR] Receive channel error: ${v}`)},N.onclose=()=>{window.location.reload()},N.onmessage=v=>{Y(v)}}}const j="CONTENT_META",P=new TextEncoder().encode(j);async function Y(T){const N=new DataView(T.data);let v=!0;for(let D=0;D0&&(u=S.shift(),f=I.shift(),h=M.shift(),k++,console.log(`[INFO] ===Receiving file ${u} | ${f} | ${h}===`));const v=new DataView(T).getUint16(0,!1),D=T.slice(2);l[v]||(m+=D.byteLength),l[v]=D,r(k,m),m===h&&(c=l,w=URL.createObjectURL(new Blob(c)),f.endsWith(".svg")&&(w=URL.createObjectURL(new Blob(c,{type:"image/svg+xml"}))),i(k,w),o(k,!0),K())}function K(){l=[],c=[],u="",f="",h=0,m=0,w=""}return{downloadFileItems:s,receiveFiles:A}}),mf=["href","download"],gf={class:"download-item-detail"},_f={class:"download-item-name"},yf=["value","max"],vf=["src"],bf=["src","controls"],Ef={class:"download-item-detail"},wf={class:"download-item-content"},Tf={key:0,class:"mdi mdi-check-bold"},Sf={key:1,class:"mdi mdi-content-copy"},xf=["href"],Rf={class:"download-item-detail"},Cf={class:"download-item-content"},Of=De({__name:"ReceiveItem",props:{url:{default:"javascript:void(0)"},name:{default:"No file to download"},size:{default:1},progress:{default:0},type:{default:"TRANSFER_TYPE_FILE"},success:{type:Boolean,default:!1}},setup(e){const t=e,s=cs(),{autoDisplayImage:n,directlyOpenLink:r}=Fe(s),i=G(!1);function o(){navigator.clipboard.writeText(t.name),i.value=!0,setTimeout(()=>{i.value=!1},1e3)}const l=window.matchMedia("(hover: hover)").matches;return(c,u)=>(U(),V(ve,null,[t.type==="TRANSFER_TYPE_FILE"?(U(),V("a",{key:0,ref:"downloadLink",href:t.url,class:ne(["download-item file shadow",{success:t.success,loading:!t.success}]),download:t.name},[_("span",{class:ne(["mdi",$(Ro)(t.name)])},null,2),_("div",gf,[_("p",_f,je(t.name),1),_("progress",{class:"download-item-progress",value:t.progress,max:t.size},null,8,yf),$(So)(t.name)&&t.success&&$(n)?(U(),V("img",{key:0,class:"download-item-content",src:t.url,alt:"Photo"},null,8,vf)):pe("",!0),$(xo)(t.name)&&t.success?(U(),V("video",{key:1,class:"download-item-content",src:t.url,controls:!$(l),muted:"",autoplay:"",loop:""},null,8,bf)):pe("",!0)]),t.success?(U(),V("div",{key:0,class:ne({"copy-cover blur":$(l),"none-hover":!$(l)})},u[0]||(u[0]=[_("span",{class:"mdi mdi-download"},null,-1)]),2)):pe("",!0)],10,mf)):pe("",!0),t.type==="TRANSFER_TYPE_TEXT"&&(!$(Ls)(t.name)||!$(r))?(U(),V("div",{key:1,class:ne(["download-item text shadow",{success:t.success,loading:!t.success}]),onClick:o},[u[1]||(u[1]=_("span",{class:"mdi mdi-message-text"},null,-1)),_("div",Ef,[_("p",wf,je(t.name),1)]),t.success?(U(),V("div",{key:0,class:ne({"copy-cover blur":$(l),"none-hover":!$(l)})},[i.value?(U(),V("span",Tf)):(U(),V("span",Sf))],2)):pe("",!0)],2)):pe("",!0),t.type==="TRANSFER_TYPE_TEXT"&&$(Ls)(t.name)&&$(r)?(U(),V("a",{key:2,class:ne(["download-item text shadow",{success:t.success,loading:!t.success}]),onClick:o,href:t.name,target:"_blank",rel:"noopener noreferrer"},[u[3]||(u[3]=_("span",{class:"mdi mdi-link-variant"},null,-1)),_("div",Rf,[_("p",Cf,je(t.name),1)]),t.success?(U(),V("div",{key:0,class:ne({"copy-cover blur":$(l),"none-hover":!$(l)})},u[2]||(u[2]=[_("span",{class:"mdi mdi-open-in-new"},null,-1)]),2)):pe("",!0)],10,xf)):pe("",!0)],64))}}),Af=Re(Of,[["__scopeId","data-v-5ed08d2f"]]),If={class:"download-cluster"},Nf={key:0,class:"noting-to-download-text"},kf=De({__name:"ReceiveModal",setup(e){const t=xt(),s=pf(),{isConnectSuccess:n}=Fe(t),r=G([]);return xe(n,i=>{i&&s.receiveFiles()}),xe(()=>s.downloadFileItems,i=>{r.value=i},{deep:!0}),(i,o)=>(U(),V("div",If,[o[0]||(o[0]=_("div",{class:"download-cluster-title"},[_("span",{class:"mdi mdi-download-network"}),_("p",{class:"download-cluster-title-text"},"Download")],-1)),r.value.length===0?(U(),V("p",Nf," Nothing to download ")):pe("",!0),(U(!0),V(ve,null,Pi(r.value,(l,c)=>(U(),Gs(Af,{key:c,url:l.url,name:l.name,size:l.size,progress:l.progress,success:l.success,type:l.type},null,8,["url","name","size","progress","success","type"]))),128))]))}}),Pf=Re(kf,[["__scopeId","data-v-2dba2b30"]]),Lf={};function Df(e,t){return U(),V("footer",null,t[0]||(t[0]=[yc('

© 2024 EasyTransfer. All rights reserved.

About | Feedback | GitHub

',2)]))}const Mf=Re(Lf,[["render",Df],["__scopeId","data-v-cd00c0b7"]]),Bf={id:"app-content"},Ff={class:"app-cluster"},Uf=De({__name:"App",setup(e){return(t,s)=>(U(),V(ve,null,[fe(Ea),_("div",Bf,[_("div",Ff,[fe(qu),fe(hf),fe(Pf)])]),fe(Mf)],64))}}),Hf=Re(Uf,[["__scopeId","data-v-e68b6bcc"]]),Ao=Zc(Hf);Ao.use(na());Ao.mount("#app"); diff --git a/assets/index-DRhrfVSe.js b/assets/index-DRhrfVSe.js new file mode 100644 index 0000000..e88769b --- /dev/null +++ b/assets/index-DRhrfVSe.js @@ -0,0 +1,24 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))n(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function s(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(r){if(r.ep)return;r.ep=!0;const i=s(r);fetch(r.href,i)}})();/** +* @vue/shared v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function Bn(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const se={},At=[],Ye=()=>{},No=()=>!1,Ds=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Fn=e=>e.startsWith("onUpdate:"),me=Object.assign,Un=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},ko=Object.prototype.hasOwnProperty,ee=(e,t)=>ko.call(e,t),B=Array.isArray,It=e=>is(e)==="[object Map]",Ms=e=>is(e)==="[object Set]",hr=e=>is(e)==="[object Date]",q=e=>typeof e=="function",he=e=>typeof e=="string",Xe=e=>typeof e=="symbol",oe=e=>e!==null&&typeof e=="object",Yr=e=>(oe(e)||q(e))&&q(e.then)&&q(e.catch),Jr=Object.prototype.toString,is=e=>Jr.call(e),Po=e=>is(e).slice(8,-1),Xr=e=>is(e)==="[object Object]",Hn=e=>he(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Kt=Bn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Bs=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},Lo=/-(\w)/g,ht=Bs(e=>e.replace(Lo,(t,s)=>s?s.toUpperCase():"")),Do=/\B([A-Z])/g,St=Bs(e=>e.replace(Do,"-$1").toLowerCase()),Qr=Bs(e=>e.charAt(0).toUpperCase()+e.slice(1)),sn=Bs(e=>e?`on${Qr(e)}`:""),ft=(e,t)=>!Object.is(e,t),gs=(e,...t)=>{for(let s=0;s{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},yn=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let pr;const Fs=()=>pr||(pr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function $n(e){if(B(e)){const t={};for(let s=0;s{if(s){const n=s.split(Bo);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function ne(e){let t="";if(he(e))t=e;else if(B(e))for(let s=0;sUs(s,t))}const si=e=>!!(e&&e.__v_isRef===!0),je=e=>he(e)?e:e==null?"":B(e)||oe(e)&&(e.toString===Jr||!q(e.toString))?si(e)?je(e.value):JSON.stringify(e,ni,2):String(e),ni=(e,t)=>si(t)?ni(e,t.value):It(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,r],i)=>(s[nn(n,i)+" =>"]=r,s),{})}:Ms(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>nn(s))}:Xe(t)?nn(t):oe(t)&&!B(t)&&!Xr(t)?String(t):t,nn=(e,t="")=>{var s;return Xe(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/** +* @vue/reactivity v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Se;class ri{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Se,!t&&Se&&(this.index=(Se.scopes||(Se.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t0)return;if(zt){let t=zt;for(zt=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;Gt;){let t=Gt;for(Gt=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=s}}if(e)throw e}function ui(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function fi(e){let t,s=e.depsTail,n=s;for(;n;){const r=n.prevDep;n.version===-1?(n===s&&(s=r),Wn(n),Wo(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=r}e.deps=t,e.depsTail=s}function vn(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(di(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function di(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===es))return;e.globalVersion=es;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!vn(e)){e.flags&=-3;return}const s=ie,n=We;ie=e,We=!0;try{ui(e);const r=e.fn(e._value);(t.version===0||ft(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ie=s,We=n,fi(e),e.flags&=-3}}function Wn(e,t=!1){const{dep:s,prevSub:n,nextSub:r}=e;if(n&&(n.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let i=s.computed.deps;i;i=i.nextDep)Wn(i,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function Wo(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let We=!0;const hi=[];function pt(){hi.push(We),We=!1}function mt(){const e=hi.pop();We=e===void 0?!0:e}function mr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=ie;ie=void 0;try{t()}finally{ie=s}}}let es=0;class qo{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class qn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!ie||!We||ie===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==ie)s=this.activeLink=new qo(ie,this),ie.deps?(s.prevDep=ie.depsTail,ie.depsTail.nextDep=s,ie.depsTail=s):ie.deps=ie.depsTail=s,pi(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=ie.depsTail,s.nextDep=void 0,ie.depsTail.nextDep=s,ie.depsTail=s,ie.deps===s&&(ie.deps=n)}return s}trigger(t){this.version++,es++,this.notify(t)}notify(t){Vn();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{jn()}}}function pi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)pi(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const Ss=new WeakMap,bt=Symbol(""),bn=Symbol(""),ts=Symbol("");function _e(e,t,s){if(We&&ie){let n=Ss.get(e);n||Ss.set(e,n=new Map);let r=n.get(s);r||(n.set(s,r=new qn),r.map=n,r.key=s),r.track()}}function nt(e,t,s,n,r,i){const o=Ss.get(e);if(!o){es++;return}const l=c=>{c&&c.trigger()};if(Vn(),t==="clear")o.forEach(l);else{const c=B(e),f=c&&Hn(s);if(c&&s==="length"){const u=Number(n);o.forEach((h,m)=>{(m==="length"||m===ts||!Xe(m)&&m>=u)&&l(h)})}else switch((s!==void 0||o.has(void 0))&&l(o.get(s)),f&&l(o.get(ts)),t){case"add":c?f&&l(o.get("length")):(l(o.get(bt)),It(e)&&l(o.get(bn)));break;case"delete":c||(l(o.get(bt)),It(e)&&l(o.get(bn)));break;case"set":It(e)&&l(o.get(bt));break}}jn()}function Ko(e,t){const s=Ss.get(e);return s&&s.get(t)}function Rt(e){const t=Q(e);return t===e?t:(_e(t,"iterate",ts),Fe(e)?t:t.map(ye))}function Hs(e){return _e(e=Q(e),"iterate",ts),e}const Go={__proto__:null,[Symbol.iterator](){return on(this,Symbol.iterator,ye)},concat(...e){return Rt(this).concat(...e.map(t=>B(t)?Rt(t):t))},entries(){return on(this,"entries",e=>(e[1]=ye(e[1]),e))},every(e,t){return tt(this,"every",e,t,void 0,arguments)},filter(e,t){return tt(this,"filter",e,t,s=>s.map(ye),arguments)},find(e,t){return tt(this,"find",e,t,ye,arguments)},findIndex(e,t){return tt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return tt(this,"findLast",e,t,ye,arguments)},findLastIndex(e,t){return tt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return tt(this,"forEach",e,t,void 0,arguments)},includes(...e){return ln(this,"includes",e)},indexOf(...e){return ln(this,"indexOf",e)},join(e){return Rt(this).join(e)},lastIndexOf(...e){return ln(this,"lastIndexOf",e)},map(e,t){return tt(this,"map",e,t,void 0,arguments)},pop(){return Ut(this,"pop")},push(...e){return Ut(this,"push",e)},reduce(e,...t){return gr(this,"reduce",e,t)},reduceRight(e,...t){return gr(this,"reduceRight",e,t)},shift(){return Ut(this,"shift")},some(e,t){return tt(this,"some",e,t,void 0,arguments)},splice(...e){return Ut(this,"splice",e)},toReversed(){return Rt(this).toReversed()},toSorted(e){return Rt(this).toSorted(e)},toSpliced(...e){return Rt(this).toSpliced(...e)},unshift(...e){return Ut(this,"unshift",e)},values(){return on(this,"values",ye)}};function on(e,t,s){const n=Hs(e),r=n[t]();return n!==e&&!Fe(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=s(i.value)),i}),r}const zo=Array.prototype;function tt(e,t,s,n,r,i){const o=Hs(e),l=o!==e&&!Fe(e),c=o[t];if(c!==zo[t]){const h=c.apply(e,i);return l?ye(h):h}let f=s;o!==e&&(l?f=function(h,m){return s.call(this,ye(h),m,e)}:s.length>2&&(f=function(h,m){return s.call(this,h,m,e)}));const u=c.call(o,f,n);return l&&r?r(u):u}function gr(e,t,s,n){const r=Hs(e);let i=s;return r!==e&&(Fe(e)?s.length>3&&(i=function(o,l,c){return s.call(this,o,l,c,e)}):i=function(o,l,c){return s.call(this,o,ye(l),c,e)}),r[t](i,...n)}function ln(e,t,s){const n=Q(e);_e(n,"iterate",ts);const r=n[t](...s);return(r===-1||r===!1)&&zn(s[0])?(s[0]=Q(s[0]),n[t](...s)):r}function Ut(e,t,s=[]){pt(),Vn();const n=Q(e)[t].apply(e,s);return jn(),mt(),n}const Yo=Bn("__proto__,__v_isRef,__isVue"),mi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Xe));function Jo(e){Xe(e)||(e=String(e));const t=Q(this);return _e(t,"has",e),t.hasOwnProperty(e)}class gi{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(s==="__v_isReactive")return!r;if(s==="__v_isReadonly")return r;if(s==="__v_isShallow")return i;if(s==="__v_raw")return n===(r?i?ol:bi:i?vi:yi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=B(t);if(!r){let c;if(o&&(c=Go[s]))return c;if(s==="hasOwnProperty")return Jo}const l=Reflect.get(t,s,ae(t)?t:n);return(Xe(s)?mi.has(s):Yo(s))||(r||_e(t,"get",s),i)?l:ae(l)?o&&Hn(s)?l:l.value:oe(l)?r?wi(l):$s(l):l}}class _i extends gi{constructor(t=!1){super(!1,t)}set(t,s,n,r){let i=t[s];if(!this._isShallow){const c=Et(i);if(!Fe(n)&&!Et(n)&&(i=Q(i),n=Q(n)),!B(t)&&ae(i)&&!ae(n))return c?!1:(i.value=n,!0)}const o=B(t)&&Hn(s)?Number(s)e,fs=e=>Reflect.getPrototypeOf(e);function tl(e,t,s){return function(...n){const r=this.__v_raw,i=Q(r),o=It(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,f=r[e](...n),u=s?wn:t?En:ye;return!t&&_e(i,"iterate",c?bn:bt),{next(){const{value:h,done:m}=f.next();return m?{value:h,done:m}:{value:l?[u(h[0]),u(h[1])]:u(h),done:m}},[Symbol.iterator](){return this}}}}function ds(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function sl(e,t){const s={get(r){const i=this.__v_raw,o=Q(i),l=Q(r);e||(ft(r,l)&&_e(o,"get",r),_e(o,"get",l));const{has:c}=fs(o),f=t?wn:e?En:ye;if(c.call(o,r))return f(i.get(r));if(c.call(o,l))return f(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&_e(Q(r),"iterate",bt),Reflect.get(r,"size",r)},has(r){const i=this.__v_raw,o=Q(i),l=Q(r);return e||(ft(r,l)&&_e(o,"has",r),_e(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,c=Q(l),f=t?wn:e?En:ye;return!e&&_e(c,"iterate",bt),l.forEach((u,h)=>r.call(i,f(u),f(h),o))}};return me(s,e?{add:ds("add"),set:ds("set"),delete:ds("delete"),clear:ds("clear")}:{add(r){!t&&!Fe(r)&&!Et(r)&&(r=Q(r));const i=Q(this);return fs(i).has.call(i,r)||(i.add(r),nt(i,"add",r,r)),this},set(r,i){!t&&!Fe(i)&&!Et(i)&&(i=Q(i));const o=Q(this),{has:l,get:c}=fs(o);let f=l.call(o,r);f||(r=Q(r),f=l.call(o,r));const u=c.call(o,r);return o.set(r,i),f?ft(i,u)&&nt(o,"set",r,i):nt(o,"add",r,i),this},delete(r){const i=Q(this),{has:o,get:l}=fs(i);let c=o.call(i,r);c||(r=Q(r),c=o.call(i,r)),l&&l.call(i,r);const f=i.delete(r);return c&&nt(i,"delete",r,void 0),f},clear(){const r=Q(this),i=r.size!==0,o=r.clear();return i&&nt(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{s[r]=tl(r,e,t)}),s}function Kn(e,t){const s=sl(e,t);return(n,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?n:Reflect.get(ee(s,r)&&r in n?s:n,r,i)}const nl={get:Kn(!1,!1)},rl={get:Kn(!1,!0)},il={get:Kn(!0,!1)};const yi=new WeakMap,vi=new WeakMap,bi=new WeakMap,ol=new WeakMap;function ll(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function cl(e){return e.__v_skip||!Object.isExtensible(e)?0:ll(Po(e))}function $s(e){return Et(e)?e:Gn(e,!1,Qo,nl,yi)}function al(e){return Gn(e,!1,el,rl,vi)}function wi(e){return Gn(e,!0,Zo,il,bi)}function Gn(e,t,s,n,r){if(!oe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=cl(e);if(o===0)return e;const l=new Proxy(e,o===2?n:s);return r.set(e,l),l}function it(e){return Et(e)?it(e.__v_raw):!!(e&&e.__v_isReactive)}function Et(e){return!!(e&&e.__v_isReadonly)}function Fe(e){return!!(e&&e.__v_isShallow)}function zn(e){return e?!!e.__v_raw:!1}function Q(e){const t=e&&e.__v_raw;return t?Q(t):e}function Yn(e){return!ee(e,"__v_skip")&&Object.isExtensible(e)&&Zr(e,"__v_skip",!0),e}const ye=e=>oe(e)?$s(e):e,En=e=>oe(e)?wi(e):e;function ae(e){return e?e.__v_isRef===!0:!1}function V(e){return ul(e,!1)}function ul(e,t){return ae(e)?e:new fl(e,t)}class fl{constructor(t,s){this.dep=new qn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:Q(t),this._value=s?t:ye(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||Fe(t)||Et(t);t=n?t:Q(t),ft(t,s)&&(this._rawValue=t,this._value=n?t:ye(t),this.dep.trigger())}}function H(e){return ae(e)?e.value:e}const dl={get:(e,t,s)=>t==="__v_raw"?e:H(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const r=e[t];return ae(r)&&!ae(s)?(r.value=s,!0):Reflect.set(e,t,s,n)}};function Ei(e){return it(e)?e:new Proxy(e,dl)}function hl(e){const t=B(e)?new Array(e.length):{};for(const s in e)t[s]=Ti(e,s);return t}class pl{constructor(t,s,n){this._object=t,this._key=s,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Ko(Q(this._object),this._key)}}class ml{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function gl(e,t,s){return ae(e)?e:q(e)?new ml(e):oe(e)&&arguments.length>1?Ti(e,t,s):V(e)}function Ti(e,t,s){const n=e[t];return ae(n)?n:new pl(e,t,s)}class _l{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new qn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=es-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&ie!==this)return ai(this,!0),!0}get value(){const t=this.dep.track();return di(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function yl(e,t,s=!1){let n,r;return q(e)?n=e:(n=e.get,r=e.set),new _l(n,r,s)}const hs={},xs=new WeakMap;let yt;function vl(e,t=!1,s=yt){if(s){let n=xs.get(s);n||xs.set(s,n=[]),n.push(e)}}function bl(e,t,s=se){const{immediate:n,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=s,f=y=>r?y:Fe(y)||r===!1||r===0?rt(y,1):rt(y);let u,h,m,T,x=!1,A=!1;if(ae(e)?(h=()=>e.value,x=Fe(e)):it(e)?(h=()=>f(e),x=!0):B(e)?(A=!0,x=e.some(y=>it(y)||Fe(y)),h=()=>e.map(y=>{if(ae(y))return y.value;if(it(y))return f(y);if(q(y))return c?c(y,2):y()})):q(e)?t?h=c?()=>c(e,2):e:h=()=>{if(m){pt();try{m()}finally{mt()}}const y=yt;yt=u;try{return c?c(e,3,[T]):e(T)}finally{yt=y}}:h=Ye,t&&r){const y=h,D=r===!0?1/0:r;h=()=>rt(y(),D)}const L=oi(),U=()=>{u.stop(),L&&L.active&&Un(L.effects,u)};if(i&&t){const y=t;t=(...D)=>{y(...D),U()}}let Y=A?new Array(e.length).fill(hs):hs;const K=y=>{if(!(!(u.flags&1)||!u.dirty&&!y))if(t){const D=u.run();if(r||x||(A?D.some((Ee,le)=>ft(Ee,Y[le])):ft(D,Y))){m&&m();const Ee=yt;yt=u;try{const le=[D,Y===hs?void 0:A&&Y[0]===hs?[]:Y,T];c?c(t,3,le):t(...le),Y=D}finally{yt=Ee}}}else u.run()};return l&&l(K),u=new li(h),u.scheduler=o?()=>o(K,!1):K,T=y=>vl(y,!1,u),m=u.onStop=()=>{const y=xs.get(u);if(y){if(c)c(y,4);else for(const D of y)D();xs.delete(u)}},t?n?K(!0):Y=u.run():o?o(K.bind(null,!0),!0):u.run(),U.pause=u.pause.bind(u),U.resume=u.resume.bind(u),U.stop=U,U}function rt(e,t=1/0,s){if(t<=0||!oe(e)||e.__v_skip||(s=s||new Set,s.has(e)))return e;if(s.add(e),t--,ae(e))rt(e.value,t,s);else if(B(e))for(let n=0;n{rt(n,t,s)});else if(Xr(e)){for(const n in e)rt(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&rt(e[n],t,s)}return e}/** +* @vue/runtime-core v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function os(e,t,s,n){try{return n?e(...n):e()}catch(r){Vs(r,t,s)}}function Qe(e,t,s,n){if(q(e)){const r=os(e,t,s,n);return r&&Yr(r)&&r.catch(i=>{Vs(i,t,s)}),r}if(B(e)){const r=[];for(let i=0;i>>1,r=xe[n],i=ss(r);i=ss(s)?xe.push(e):xe.splice(El(t),0,e),e.flags|=1,Ri()}}function Ri(){Rs||(Rs=Si.then(Oi))}function Tl(e){B(e)?Nt.push(...e):at&&e.id===-1?at.splice(Ot+1,0,e):e.flags&1||(Nt.push(e),e.flags|=1),Ri()}function _r(e,t,s=Ge+1){for(;sss(s)-ss(n));if(Nt.length=0,at){at.push(...t);return}for(at=t,Ot=0;Ote.id==null?e.flags&2?-1:1/0:e.id;function Oi(e){try{for(Ge=0;Ge{n._d&&xr(-1);const i=Cs(t);let o;try{o=e(...r)}finally{Cs(i),n._d&&xr(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function Be(e,t){if(Pe===null)return e;const s=zs(Pe),n=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport;function Xn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Xn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function De(e,t){return q(e)?me({name:e.name},t,{setup:e}):e}function Ii(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Os(e,t,s,n,r=!1){if(B(e)){e.forEach((x,A)=>Os(x,t&&(B(t)?t[A]:t),s,n,r));return}if(Yt(n)&&!r){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Os(e,t,s,n.component.subTree);return}const i=n.shapeFlag&4?zs(n.component):n.el,o=r?null:i,{i:l,r:c}=e,f=t&&t.r,u=l.refs===se?l.refs={}:l.refs,h=l.setupState,m=Q(h),T=h===se?()=>!1:x=>ee(m,x);if(f!=null&&f!==c&&(he(f)?(u[f]=null,T(f)&&(h[f]=null)):ae(f)&&(f.value=null)),q(c))os(c,l,12,[o,u]);else{const x=he(c),A=ae(c);if(x||A){const L=()=>{if(e.f){const U=x?T(c)?h[c]:u[c]:c.value;r?B(U)&&Un(U,i):B(U)?U.includes(i)||U.push(i):x?(u[c]=[i],T(c)&&(h[c]=u[c])):(c.value=[i],e.k&&(u[e.k]=c.value))}else x?(u[c]=o,T(c)&&(h[c]=o)):A&&(c.value=o,e.k&&(u[e.k]=o))};o?(L.id=-1,ke(L,s)):L()}}}Fs().requestIdleCallback;Fs().cancelIdleCallback;const Yt=e=>!!e.type.__asyncLoader,Ni=e=>e.type.__isKeepAlive;function Cl(e,t){ki(e,"a",t)}function Ol(e,t){ki(e,"da",t)}function ki(e,t,s=we){const n=e.__wdc||(e.__wdc=()=>{let r=s;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(js(t,n,s),s){let r=s.parent;for(;r&&r.parent;)Ni(r.parent.vnode)&&Al(n,t,s,r),r=r.parent}}function Al(e,t,s,n){const r=js(t,e,n,!0);Qn(()=>{Un(n[t],r)},s)}function js(e,t,s=we,n=!1){if(s){const r=s[e]||(s[e]=[]),i=t.__weh||(t.__weh=(...o)=>{pt();const l=ls(s),c=Qe(t,s,e,o);return l(),mt(),c});return n?r.unshift(i):r.push(i),i}}const ot=e=>(t,s=we)=>{(!rs||e==="sp")&&js(e,(...n)=>t(...n),s)},Il=ot("bm"),Ws=ot("m"),Nl=ot("bu"),kl=ot("u"),Pl=ot("bum"),Qn=ot("um"),Ll=ot("sp"),Dl=ot("rtg"),Ml=ot("rtc");function Bl(e,t=we){js("ec",e,t)}const Fl=Symbol.for("v-ndc");function Pi(e,t,s,n){let r;const i=s,o=B(e);if(o||he(e)){const l=o&&it(e);let c=!1;l&&(c=!Fe(e),e=Hs(e)),r=new Array(e.length);for(let f=0,u=e.length;ft(l,c,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,f=l.length;ce?eo(e)?zs(e):Tn(e.parent):null,Jt=me(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=>Tn(e.parent),$root:e=>Tn(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Zn(e),$forceUpdate:e=>e.f||(e.f=()=>{Jn(e.update)}),$nextTick:e=>e.n||(e.n=xi.bind(e.proxy)),$watch:e=>lc.bind(e)}),cn=(e,t)=>e!==se&&!e.__isScriptSetup&&ee(e,t),Ul={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let f;if(t[0]!=="$"){const T=o[t];if(T!==void 0)switch(T){case 1:return n[t];case 2:return r[t];case 4:return s[t];case 3:return i[t]}else{if(cn(n,t))return o[t]=1,n[t];if(r!==se&&ee(r,t))return o[t]=2,r[t];if((f=e.propsOptions[0])&&ee(f,t))return o[t]=3,i[t];if(s!==se&&ee(s,t))return o[t]=4,s[t];Sn&&(o[t]=0)}}const u=Jt[t];let h,m;if(u)return t==="$attrs"&&_e(e.attrs,"get",""),u(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(s!==se&&ee(s,t))return o[t]=4,s[t];if(m=c.config.globalProperties,ee(m,t))return m[t]},set({_:e},t,s){const{data:n,setupState:r,ctx:i}=e;return cn(r,t)?(r[t]=s,!0):n!==se&&ee(n,t)?(n[t]=s,!0):ee(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:r,propsOptions:i}},o){let l;return!!s[o]||e!==se&&ee(e,o)||cn(t,o)||(l=i[0])&&ee(l,o)||ee(n,o)||ee(Jt,o)||ee(r.config.globalProperties,o)},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:ee(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function yr(e){return B(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let Sn=!0;function Hl(e){const t=Zn(e),s=e.proxy,n=e.ctx;Sn=!1,t.beforeCreate&&vr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:f,created:u,beforeMount:h,mounted:m,beforeUpdate:T,updated:x,activated:A,deactivated:L,beforeDestroy:U,beforeUnmount:Y,destroyed:K,unmounted:y,render:D,renderTracked:Ee,renderTriggered:le,errorCaptured:G,serverPrefetch:S,expose:N,inheritAttrs:b,components:P,directives:W,filters:ce}=t;if(f&&$l(f,n,null),o)for(const z in o){const Z=o[z];q(Z)&&(n[z]=Z.bind(s))}if(r){const z=r.call(s,s);oe(z)&&(e.data=$s(z))}if(Sn=!0,i)for(const z in i){const Z=i[z],Ce=q(Z)?Z.bind(s,s):q(Z.get)?Z.get.bind(s,s):Ye,lt=!q(Z)&&q(Z.set)?Z.set.bind(s):Ye,He=Ys({get:Ce,set:lt});Object.defineProperty(n,z,{enumerable:!0,configurable:!0,get:()=>He.value,set:Oe=>He.value=Oe})}if(l)for(const z in l)Li(l[z],n,s,z);if(c){const z=q(c)?c.call(s):c;Reflect.ownKeys(z).forEach(Z=>{Gl(Z,z[Z])})}u&&vr(u,e,"c");function ue(z,Z){B(Z)?Z.forEach(Ce=>z(Ce.bind(s))):Z&&z(Z.bind(s))}if(ue(Il,h),ue(Ws,m),ue(Nl,T),ue(kl,x),ue(Cl,A),ue(Ol,L),ue(Bl,G),ue(Ml,Ee),ue(Dl,le),ue(Pl,Y),ue(Qn,y),ue(Ll,S),B(N))if(N.length){const z=e.exposed||(e.exposed={});N.forEach(Z=>{Object.defineProperty(z,Z,{get:()=>s[Z],set:Ce=>s[Z]=Ce})})}else e.exposed||(e.exposed={});D&&e.render===Ye&&(e.render=D),b!=null&&(e.inheritAttrs=b),P&&(e.components=P),W&&(e.directives=W),S&&Ii(e)}function $l(e,t,s=Ye){B(e)&&(e=xn(e));for(const n in e){const r=e[n];let i;oe(r)?"default"in r?i=Xt(r.from||n,r.default,!0):i=Xt(r.from||n):i=Xt(r),ae(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[n]=i}}function vr(e,t,s){Qe(B(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function Li(e,t,s,n){let r=n.includes(".")?zi(s,n):()=>s[n];if(he(e)){const i=t[e];q(i)&&be(r,i)}else if(q(e))be(r,e.bind(s));else if(oe(e))if(B(e))e.forEach(i=>Li(i,t,s,n));else{const i=q(e.handler)?e.handler.bind(s):t[e.handler];q(i)&&be(r,i,e)}}function Zn(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!s&&!n?c=t:(c={},r.length&&r.forEach(f=>As(c,f,o,!0)),As(c,t,o)),oe(t)&&i.set(t,c),c}function As(e,t,s,n=!1){const{mixins:r,extends:i}=t;i&&As(e,i,s,!0),r&&r.forEach(o=>As(e,o,s,!0));for(const o in t)if(!(n&&o==="expose")){const l=Vl[o]||s&&s[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Vl={data:br,props:wr,emits:wr,methods:Wt,computed:Wt,beforeCreate:Te,created:Te,beforeMount:Te,mounted:Te,beforeUpdate:Te,updated:Te,beforeDestroy:Te,beforeUnmount:Te,destroyed:Te,unmounted:Te,activated:Te,deactivated:Te,errorCaptured:Te,serverPrefetch:Te,components:Wt,directives:Wt,watch:Wl,provide:br,inject:jl};function br(e,t){return t?e?function(){return me(q(e)?e.call(this,this):e,q(t)?t.call(this,this):t)}:t:e}function jl(e,t){return Wt(xn(e),xn(t))}function xn(e){if(B(e)){const t={};for(let s=0;s1)return s&&q(t)?t.call(n&&n.proxy):t}}function zl(){return!!(we||Pe||wt)}const Mi={},Bi=()=>Object.create(Mi),Fi=e=>Object.getPrototypeOf(e)===Mi;function Yl(e,t,s,n=!1){const r={},i=Bi();e.propsDefaults=Object.create(null),Ui(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);s?e.props=n?r:al(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Jl(e,t,s,n){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=Q(r),[c]=e.propsOptions;let f=!1;if((n||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[m,T]=Hi(h,t,!0);me(o,m),T&&l.push(...T)};!s&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!c)return oe(e)&&n.set(e,At),At;if(B(i))for(let u=0;ue[0]==="_"||e==="$stable",er=e=>B(e)?e.map(ze):[ze(e)],Ql=(e,t,s)=>{if(t._n)return t;const n=Sl((...r)=>er(t(...r)),s);return n._c=!1,n},Vi=(e,t,s)=>{const n=e._ctx;for(const r in e){if($i(r))continue;const i=e[r];if(q(i))t[r]=Ql(r,i,n);else if(i!=null){const o=er(i);t[r]=()=>o}}},ji=(e,t)=>{const s=er(t);e.slots.default=()=>s},Wi=(e,t,s)=>{for(const n in t)(s||n!=="_")&&(e[n]=t[n])},Zl=(e,t,s)=>{const n=e.slots=Bi();if(e.vnode.shapeFlag&32){const r=t._;r?(Wi(n,t,s),s&&Zr(n,"_",r,!0)):Vi(t,n)}else t&&ji(e,t)},ec=(e,t,s)=>{const{vnode:n,slots:r}=e;let i=!0,o=se;if(n.shapeFlag&32){const l=t._;l?s&&l===1?i=!1:Wi(r,t,s):(i=!t.$stable,Vi(t,r)),o=t}else t&&(ji(e,t),o={default:1});if(i)for(const l in r)!$i(l)&&o[l]==null&&delete r[l]},ke=pc;function tc(e){return sc(e)}function sc(e,t){const s=Fs();s.__VUE__=!0;const{insert:n,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:f,setElementText:u,parentNode:h,nextSibling:m,setScopeId:T=Ye,insertStaticContent:x}=e,A=(a,d,p,w=null,_=null,v=null,O=void 0,C=null,R=!!d.dynamicChildren)=>{if(a===d)return;a&&!Ht(a,d)&&(w=us(a),Oe(a,_,v,!0),a=null),d.patchFlag===-2&&(R=!1,d.dynamicChildren=null);const{type:E,ref:M,shapeFlag:I}=d;switch(E){case Ks:L(a,d,p,w);break;case Tt:U(a,d,p,w);break;case _s:a==null&&Y(d,p,w,O);break;case ve:P(a,d,p,w,_,v,O,C,R);break;default:I&1?D(a,d,p,w,_,v,O,C,R):I&6?W(a,d,p,w,_,v,O,C,R):(I&64||I&128)&&E.process(a,d,p,w,_,v,O,C,R,Bt)}M!=null&&_&&Os(M,a&&a.ref,v,d||a,!d)},L=(a,d,p,w)=>{if(a==null)n(d.el=l(d.children),p,w);else{const _=d.el=a.el;d.children!==a.children&&f(_,d.children)}},U=(a,d,p,w)=>{a==null?n(d.el=c(d.children||""),p,w):d.el=a.el},Y=(a,d,p,w)=>{[a.el,a.anchor]=x(a.children,d,p,w,a.el,a.anchor)},K=({el:a,anchor:d},p,w)=>{let _;for(;a&&a!==d;)_=m(a),n(a,p,w),a=_;n(d,p,w)},y=({el:a,anchor:d})=>{let p;for(;a&&a!==d;)p=m(a),r(a),a=p;r(d)},D=(a,d,p,w,_,v,O,C,R)=>{d.type==="svg"?O="svg":d.type==="math"&&(O="mathml"),a==null?Ee(d,p,w,_,v,O,C,R):S(a,d,_,v,O,C,R)},Ee=(a,d,p,w,_,v,O,C)=>{let R,E;const{props:M,shapeFlag:I,transition:k,dirs:$}=a;if(R=a.el=o(a.type,v,M&&M.is,M),I&8?u(R,a.children):I&16&&G(a.children,R,null,w,_,an(a,v),O,C),$&>(a,null,w,"created"),le(R,a,a.scopeId,O,w),M){for(const re in M)re!=="value"&&!Kt(re)&&i(R,re,null,M[re],v,w);"value"in M&&i(R,"value",null,M.value,v),(E=M.onVnodeBeforeMount)&&Ke(E,w,a)}$&>(a,null,w,"beforeMount");const X=nc(_,k);X&&k.beforeEnter(R),n(R,d,p),((E=M&&M.onVnodeMounted)||X||$)&&ke(()=>{E&&Ke(E,w,a),X&&k.enter(R),$&>(a,null,w,"mounted")},_)},le=(a,d,p,w,_)=>{if(p&&T(a,p),w)for(let v=0;v{for(let E=R;E{const C=d.el=a.el;let{patchFlag:R,dynamicChildren:E,dirs:M}=d;R|=a.patchFlag&16;const I=a.props||se,k=d.props||se;let $;if(p&&_t(p,!1),($=k.onVnodeBeforeUpdate)&&Ke($,p,d,a),M&>(d,a,p,"beforeUpdate"),p&&_t(p,!0),(I.innerHTML&&k.innerHTML==null||I.textContent&&k.textContent==null)&&u(C,""),E?N(a.dynamicChildren,E,C,p,w,an(d,_),v):O||Z(a,d,C,null,p,w,an(d,_),v,!1),R>0){if(R&16)b(C,I,k,p,_);else if(R&2&&I.class!==k.class&&i(C,"class",null,k.class,_),R&4&&i(C,"style",I.style,k.style,_),R&8){const X=d.dynamicProps;for(let re=0;re{$&&Ke($,p,d,a),M&>(d,a,p,"updated")},w)},N=(a,d,p,w,_,v,O)=>{for(let C=0;C{if(d!==p){if(d!==se)for(const v in d)!Kt(v)&&!(v in p)&&i(a,v,d[v],null,_,w);for(const v in p){if(Kt(v))continue;const O=p[v],C=d[v];O!==C&&v!=="value"&&i(a,v,C,O,_,w)}"value"in p&&i(a,"value",d.value,p.value,_)}},P=(a,d,p,w,_,v,O,C,R)=>{const E=d.el=a?a.el:l(""),M=d.anchor=a?a.anchor:l("");let{patchFlag:I,dynamicChildren:k,slotScopeIds:$}=d;$&&(C=C?C.concat($):$),a==null?(n(E,p,w),n(M,p,w),G(d.children||[],p,M,_,v,O,C,R)):I>0&&I&64&&k&&a.dynamicChildren?(N(a.dynamicChildren,k,p,_,v,O,C),(d.key!=null||_&&d===_.subTree)&&qi(a,d,!0)):Z(a,d,p,M,_,v,O,C,R)},W=(a,d,p,w,_,v,O,C,R)=>{d.slotScopeIds=C,a==null?d.shapeFlag&512?_.ctx.activate(d,p,w,O,R):ce(d,p,w,_,v,O,R):et(a,d,R)},ce=(a,d,p,w,_,v,O)=>{const C=a.component=Ec(a,w,_);if(Ni(a)&&(C.ctx.renderer=Bt),Tc(C,!1,O),C.asyncDep){if(_&&_.registerDep(C,ue,O),!a.el){const R=C.subTree=fe(Tt);U(null,R,d,p)}}else ue(C,a,d,p,_,v,O)},et=(a,d,p)=>{const w=d.component=a.component;if(dc(a,d,p))if(w.asyncDep&&!w.asyncResolved){z(w,d,p);return}else w.next=d,w.update();else d.el=a.el,w.vnode=d},ue=(a,d,p,w,_,v,O)=>{const C=()=>{if(a.isMounted){let{next:I,bu:k,u:$,parent:X,vnode:re}=a;{const Ie=Ki(a);if(Ie){I&&(I.el=re.el,z(a,I,O)),Ie.asyncDep.then(()=>{a.isUnmounted||C()});return}}let te=I,Ae;_t(a,!1),I?(I.el=re.el,z(a,I,O)):I=re,k&&gs(k),(Ae=I.props&&I.props.onVnodeBeforeUpdate)&&Ke(Ae,X,I,re),_t(a,!0);const ge=un(a),$e=a.subTree;a.subTree=ge,A($e,ge,h($e.el),us($e),a,_,v),I.el=ge.el,te===null&&hc(a,ge.el),$&&ke($,_),(Ae=I.props&&I.props.onVnodeUpdated)&&ke(()=>Ke(Ae,X,I,re),_)}else{let I;const{el:k,props:$}=d,{bm:X,m:re,parent:te,root:Ae,type:ge}=a,$e=Yt(d);if(_t(a,!1),X&&gs(X),!$e&&(I=$&&$.onVnodeBeforeMount)&&Ke(I,te,d),_t(a,!0),k&&ur){const Ie=()=>{a.subTree=un(a),ur(k,a.subTree,a,_,null)};$e&&ge.__asyncHydrate?ge.__asyncHydrate(k,a,Ie):Ie()}else{Ae.ce&&Ae.ce._injectChildStyle(ge);const Ie=a.subTree=un(a);A(null,Ie,p,w,a,_,v),d.el=Ie.el}if(re&&ke(re,_),!$e&&(I=$&&$.onVnodeMounted)){const Ie=d;ke(()=>Ke(I,te,Ie),_)}(d.shapeFlag&256||te&&Yt(te.vnode)&&te.vnode.shapeFlag&256)&&a.a&&ke(a.a,_),a.isMounted=!0,d=p=w=null}};a.scope.on();const R=a.effect=new li(C);a.scope.off();const E=a.update=R.run.bind(R),M=a.job=R.runIfDirty.bind(R);M.i=a,M.id=a.uid,R.scheduler=()=>Jn(M),_t(a,!0),E()},z=(a,d,p)=>{d.component=a;const w=a.vnode.props;a.vnode=d,a.next=null,Jl(a,d.props,w,p),ec(a,d.children,p),pt(),_r(a),mt()},Z=(a,d,p,w,_,v,O,C,R=!1)=>{const E=a&&a.children,M=a?a.shapeFlag:0,I=d.children,{patchFlag:k,shapeFlag:$}=d;if(k>0){if(k&128){lt(E,I,p,w,_,v,O,C,R);return}else if(k&256){Ce(E,I,p,w,_,v,O,C,R);return}}$&8?(M&16&&Mt(E,_,v),I!==E&&u(p,I)):M&16?$&16?lt(E,I,p,w,_,v,O,C,R):Mt(E,_,v,!0):(M&8&&u(p,""),$&16&&G(I,p,w,_,v,O,C,R))},Ce=(a,d,p,w,_,v,O,C,R)=>{a=a||At,d=d||At;const E=a.length,M=d.length,I=Math.min(E,M);let k;for(k=0;kM?Mt(a,_,v,!0,!1,I):G(d,p,w,_,v,O,C,R,I)},lt=(a,d,p,w,_,v,O,C,R)=>{let E=0;const M=d.length;let I=a.length-1,k=M-1;for(;E<=I&&E<=k;){const $=a[E],X=d[E]=R?ut(d[E]):ze(d[E]);if(Ht($,X))A($,X,p,null,_,v,O,C,R);else break;E++}for(;E<=I&&E<=k;){const $=a[I],X=d[k]=R?ut(d[k]):ze(d[k]);if(Ht($,X))A($,X,p,null,_,v,O,C,R);else break;I--,k--}if(E>I){if(E<=k){const $=k+1,X=$k)for(;E<=I;)Oe(a[E],_,v,!0),E++;else{const $=E,X=E,re=new Map;for(E=X;E<=k;E++){const Ne=d[E]=R?ut(d[E]):ze(d[E]);Ne.key!=null&&re.set(Ne.key,E)}let te,Ae=0;const ge=k-X+1;let $e=!1,Ie=0;const Ft=new Array(ge);for(E=0;E=ge){Oe(Ne,_,v,!0);continue}let qe;if(Ne.key!=null)qe=re.get(Ne.key);else for(te=X;te<=k;te++)if(Ft[te-X]===0&&Ht(Ne,d[te])){qe=te;break}qe===void 0?Oe(Ne,_,v,!0):(Ft[qe-X]=E+1,qe>=Ie?Ie=qe:$e=!0,A(Ne,d[qe],p,null,_,v,O,C,R),Ae++)}const fr=$e?rc(Ft):At;for(te=fr.length-1,E=ge-1;E>=0;E--){const Ne=X+E,qe=d[Ne],dr=Ne+1{const{el:v,type:O,transition:C,children:R,shapeFlag:E}=a;if(E&6){He(a.component.subTree,d,p,w);return}if(E&128){a.suspense.move(d,p,w);return}if(E&64){O.move(a,d,p,Bt);return}if(O===ve){n(v,d,p);for(let I=0;IC.enter(v),_);else{const{leave:I,delayLeave:k,afterLeave:$}=C,X=()=>n(v,d,p),re=()=>{I(v,()=>{X(),$&&$()})};k?k(v,X,re):re()}else n(v,d,p)},Oe=(a,d,p,w=!1,_=!1)=>{const{type:v,props:O,ref:C,children:R,dynamicChildren:E,shapeFlag:M,patchFlag:I,dirs:k,cacheIndex:$}=a;if(I===-2&&(_=!1),C!=null&&Os(C,null,p,a,!0),$!=null&&(d.renderCache[$]=void 0),M&256){d.ctx.deactivate(a);return}const X=M&1&&k,re=!Yt(a);let te;if(re&&(te=O&&O.onVnodeBeforeUnmount)&&Ke(te,d,a),M&6)Io(a.component,p,w);else{if(M&128){a.suspense.unmount(p,w);return}X&>(a,null,d,"beforeUnmount"),M&64?a.type.remove(a,d,p,Bt,w):E&&!E.hasOnce&&(v!==ve||I>0&&I&64)?Mt(E,d,p,!1,!0):(v===ve&&I&384||!_&&M&16)&&Mt(R,d,p),w&&Dt(a)}(re&&(te=O&&O.onVnodeUnmounted)||X)&&ke(()=>{te&&Ke(te,d,a),X&>(a,null,d,"unmounted")},p)},Dt=a=>{const{type:d,el:p,anchor:w,transition:_}=a;if(d===ve){as(p,w);return}if(d===_s){y(a);return}const v=()=>{r(p),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(a.shapeFlag&1&&_&&!_.persisted){const{leave:O,delayLeave:C}=_,R=()=>O(p,v);C?C(a.el,v,R):R()}else v()},as=(a,d)=>{let p;for(;a!==d;)p=m(a),r(a),a=p;r(d)},Io=(a,d,p)=>{const{bum:w,scope:_,job:v,subTree:O,um:C,m:R,a:E}=a;Tr(R),Tr(E),w&&gs(w),_.stop(),v&&(v.flags|=8,Oe(O,a,d,p)),C&&ke(C,d),ke(()=>{a.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&a.asyncDep&&!a.asyncResolved&&a.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},Mt=(a,d,p,w=!1,_=!1,v=0)=>{for(let O=v;O{if(a.shapeFlag&6)return us(a.component.subTree);if(a.shapeFlag&128)return a.suspense.next();const d=m(a.anchor||a.el),p=d&&d[xl];return p?m(p):d};let tn=!1;const cr=(a,d,p)=>{a==null?d._vnode&&Oe(d._vnode,null,null,!0):A(d._vnode||null,a,d,null,null,null,p),d._vnode=a,tn||(tn=!0,_r(),Ci(),tn=!1)},Bt={p:A,um:Oe,m:He,r:Dt,mt:ce,mc:G,pc:Z,pbc:N,n:us,o:e};let ar,ur;return{render:cr,hydrate:ar,createApp:Kl(cr,ar)}}function an({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function _t({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function nc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function qi(e,t,s=!1){const n=e.children,r=t.children;if(B(n)&&B(r))for(let i=0;i>1,e[s[l]]0&&(t[n]=s[i-1]),s[i]=n)}}for(i=s.length,o=s[i-1];i-- >0;)s[i]=o,o=t[o];return s}function Ki(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ki(t)}function Tr(e){if(e)for(let t=0;tXt(ic);function be(e,t,s){return Gi(e,t,s)}function Gi(e,t,s=se){const{immediate:n,deep:r,flush:i,once:o}=s,l=me({},s),c=t&&n||!t&&i!=="post";let f;if(rs){if(i==="sync"){const T=oc();f=T.__watcherHandles||(T.__watcherHandles=[])}else if(!c){const T=()=>{};return T.stop=Ye,T.resume=Ye,T.pause=Ye,T}}const u=we;l.call=(T,x,A)=>Qe(T,u,x,A);let h=!1;i==="post"?l.scheduler=T=>{ke(T,u&&u.suspense)}:i!=="sync"&&(h=!0,l.scheduler=(T,x)=>{x?T():Jn(T)}),l.augmentJob=T=>{t&&(T.flags|=4),h&&(T.flags|=2,u&&(T.id=u.uid,T.i=u))};const m=bl(e,t,l);return rs&&(f?f.push(m):c&&m()),m}function lc(e,t,s){const n=this.proxy,r=he(e)?e.includes(".")?zi(n,e):()=>n[e]:e.bind(n,n);let i;q(t)?i=t:(i=t.handler,s=t);const o=ls(this),l=Gi(r,i.bind(n),s);return o(),l}function zi(e,t){const s=t.split(".");return()=>{let n=e;for(let r=0;rt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ht(t)}Modifiers`]||e[`${St(t)}Modifiers`];function ac(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||se;let r=s;const i=t.startsWith("update:"),o=i&&cc(n,t.slice(7));o&&(o.trim&&(r=s.map(u=>he(u)?u.trim():u)),o.number&&(r=s.map(yn)));let l,c=n[l=sn(t)]||n[l=sn(ht(t))];!c&&i&&(c=n[l=sn(St(t))]),c&&Qe(c,e,6,r);const f=n[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Qe(f,e,6,r)}}function Yi(e,t,s=!1){const n=t.emitsCache,r=n.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!q(e)){const c=f=>{const u=Yi(f,t,!0);u&&(l=!0,me(o,u))};!s&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(oe(e)&&n.set(e,null),null):(B(i)?i.forEach(c=>o[c]=null):me(o,i),oe(e)&&n.set(e,o),o)}function qs(e,t){return!e||!Ds(t)?!1:(t=t.slice(2).replace(/Once$/,""),ee(e,t[0].toLowerCase()+t.slice(1))||ee(e,St(t))||ee(e,t))}function un(e){const{type:t,vnode:s,proxy:n,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:f,renderCache:u,props:h,data:m,setupState:T,ctx:x,inheritAttrs:A}=e,L=Cs(e);let U,Y;try{if(s.shapeFlag&4){const y=r||n,D=y;U=ze(f.call(D,y,u,h,T,m,x)),Y=l}else{const y=t;U=ze(y.length>1?y(h,{attrs:l,slots:o,emit:c}):y(h,null)),Y=t.props?l:uc(l)}}catch(y){Qt.length=0,Vs(y,e,1),U=fe(Tt)}let K=U;if(Y&&A!==!1){const y=Object.keys(Y),{shapeFlag:D}=K;y.length&&D&7&&(i&&y.some(Fn)&&(Y=fc(Y,i)),K=Pt(K,Y,!1,!0))}return s.dirs&&(K=Pt(K,null,!1,!0),K.dirs=K.dirs?K.dirs.concat(s.dirs):s.dirs),s.transition&&Xn(K,s.transition),U=K,Cs(L),U}const uc=e=>{let t;for(const s in e)(s==="class"||s==="style"||Ds(s))&&((t||(t={}))[s]=e[s]);return t},fc=(e,t)=>{const s={};for(const n in e)(!Fn(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function dc(e,t,s){const{props:n,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&c>=0){if(c&1024)return!0;if(c&16)return n?Sr(n,o,f):!!o;if(c&8){const u=t.dynamicProps;for(let h=0;he.__isSuspense;function pc(e,t){t&&t.pendingBranch?B(e)?t.effects.push(...e):t.effects.push(e):Tl(e)}const ve=Symbol.for("v-fgt"),Ks=Symbol.for("v-txt"),Tt=Symbol.for("v-cmt"),_s=Symbol.for("v-stc"),Qt=[];let Le=null;function F(e=!1){Qt.push(Le=e?null:[])}function mc(){Qt.pop(),Le=Qt[Qt.length-1]||null}let ns=1;function xr(e,t=!1){ns+=e,e<0&&Le&&t&&(Le.hasOnce=!0)}function Xi(e){return e.dynamicChildren=ns>0?Le||At:null,mc(),ns>0&&Le&&Le.push(e),e}function j(e,t,s,n,r,i){return Xi(g(e,t,s,n,r,i,!0))}function Gs(e,t,s,n,r){return Xi(fe(e,t,s,n,r,!0))}function Qi(e){return e?e.__v_isVNode===!0:!1}function Ht(e,t){return e.type===t.type&&e.key===t.key}const Zi=({key:e})=>e??null,ys=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?he(e)||ae(e)||q(e)?{i:Pe,r:e,k:t,f:!!s}:e:null);function g(e,t=null,s=null,n=0,r=null,i=e===ve?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Zi(t),ref:t&&ys(t),scopeId:Ai,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:n,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Pe};return l?(sr(c,s),i&128&&e.normalize(c)):s&&(c.shapeFlag|=he(s)?8:16),ns>0&&!o&&Le&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Le.push(c),c}const fe=gc;function gc(e,t=null,s=null,n=0,r=null,i=!1){if((!e||e===Fl)&&(e=Tt),Qi(e)){const l=Pt(e,t,!0);return s&&sr(l,s),ns>0&&!i&&Le&&(l.shapeFlag&6?Le[Le.indexOf(e)]=l:Le.push(l)),l.patchFlag=-2,l}if(Cc(e)&&(e=e.__vccOpts),t){t=_c(t);let{class:l,style:c}=t;l&&!he(l)&&(t.class=ne(l)),oe(c)&&(zn(c)&&!B(c)&&(c=me({},c)),t.style=$n(c))}const o=he(e)?1:Ji(e)?128:Rl(e)?64:oe(e)?4:q(e)?2:0;return g(e,t,s,n,r,o,i,!0)}function _c(e){return e?zn(e)||Fi(e)?me({},e):e:null}function Pt(e,t,s=!1,n=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,f=t?vc(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&Zi(f),ref:t&&t.ref?s&&i?B(i)?i.concat(ys(t)):[i,ys(t)]:ys(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ve?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Pt(e.ssContent),ssFallback:e.ssFallback&&Pt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&n&&Xn(u,c.clone(u)),u}function tr(e=" ",t=0){return fe(Ks,null,e,t)}function yc(e,t){const s=fe(_s,null,e);return s.staticCount=t,s}function pe(e="",t=!1){return t?(F(),Gs(Tt,null,e)):fe(Tt,null,e)}function ze(e){return e==null||typeof e=="boolean"?fe(Tt):B(e)?fe(ve,null,e.slice()):Qi(e)?ut(e):fe(Ks,null,String(e))}function ut(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Pt(e)}function sr(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(B(t))s=16;else if(typeof t=="object")if(n&65){const r=t.default;r&&(r._c&&(r._d=!1),sr(e,r()),r._c&&(r._d=!0));return}else{s=32;const r=t._;!r&&!Fi(t)?t._ctx=Pe:r===3&&Pe&&(Pe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else q(t)?(t={default:t,_ctx:Pe},s=32):(t=String(t),n&64?(s=16,t=[tr(t)]):s=8);e.children=t,e.shapeFlag|=s}function vc(...e){const t={};for(let s=0;s{let r;return(r=e[s])||(r=e[s]=[]),r.push(n),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Is=t("__VUE_INSTANCE_SETTERS__",s=>we=s),Cn=t("__VUE_SSR_SETTERS__",s=>rs=s)}const ls=e=>{const t=we;return Is(e),e.scope.on(),()=>{e.scope.off(),Is(t)}},Rr=()=>{we&&we.scope.off(),Is(null)};function eo(e){return e.vnode.shapeFlag&4}let rs=!1;function Tc(e,t=!1,s=!1){t&&Cn(t);const{props:n,children:r}=e.vnode,i=eo(e);Yl(e,n,i,t),Zl(e,r,s);const o=i?Sc(e,t):void 0;return t&&Cn(!1),o}function Sc(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ul);const{setup:n}=s;if(n){pt();const r=e.setupContext=n.length>1?Rc(e):null,i=ls(e),o=os(n,e,0,[e.props,r]),l=Yr(o);if(mt(),i(),(l||e.sp)&&!Yt(e)&&Ii(e),l){if(o.then(Rr,Rr),t)return o.then(c=>{Cr(e,c,t)}).catch(c=>{Vs(c,e,0)});e.asyncDep=o}else Cr(e,o,t)}else to(e,t)}function Cr(e,t,s){q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:oe(t)&&(e.setupState=Ei(t)),to(e,s)}let Or;function to(e,t,s){const n=e.type;if(!e.render){if(!t&&Or&&!n.render){const r=n.template||Zn(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=n,f=me(me({isCustomElement:i,delimiters:l},o),c);n.render=Or(r,f)}}e.render=n.render||Ye}{const r=ls(e);pt();try{Hl(e)}finally{mt(),r()}}}const xc={get(e,t){return _e(e,"get",""),e[t]}};function Rc(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,xc),slots:e.slots,emit:e.emit,expose:t}}function zs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ei(Yn(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Jt)return Jt[s](e)},has(t,s){return s in t||s in Jt}})):e.proxy}function Cc(e){return q(e)&&"__vccOpts"in e}const Ys=(e,t)=>yl(e,t,rs),Oc="3.5.13";/** +* @vue/runtime-dom v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let On;const Ar=typeof window<"u"&&window.trustedTypes;if(Ar)try{On=Ar.createPolicy("vue",{createHTML:e=>e})}catch{}const so=On?e=>On.createHTML(e):e=>e,Ac="http://www.w3.org/2000/svg",Ic="http://www.w3.org/1998/Math/MathML",st=typeof document<"u"?document:null,Ir=st&&st.createElement("template"),Nc={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const r=t==="svg"?st.createElementNS(Ac,e):t==="mathml"?st.createElementNS(Ic,e):s?st.createElement(e,{is:s}):st.createElement(e);return e==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:e=>st.createTextNode(e),createComment:e=>st.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>st.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,r,i){const o=s?s.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),s),!(r===i||!(r=r.nextSibling)););else{Ir.innerHTML=so(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const l=Ir.content;if(n==="svg"||n==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},kc=Symbol("_vtc");function Pc(e,t,s){const n=e[kc];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const Ns=Symbol("_vod"),no=Symbol("_vsh"),$t={beforeMount(e,{value:t},{transition:s}){e[Ns]=e.style.display==="none"?"":e.style.display,s&&t?s.beforeEnter(e):Vt(e,t)},mounted(e,{value:t},{transition:s}){s&&t&&s.enter(e)},updated(e,{value:t,oldValue:s},{transition:n}){!t!=!s&&(n?t?(n.beforeEnter(e),Vt(e,!0),n.enter(e)):n.leave(e,()=>{Vt(e,!1)}):Vt(e,t))},beforeUnmount(e,{value:t}){Vt(e,t)}};function Vt(e,t){e.style.display=t?e[Ns]:"none",e[no]=!t}const Lc=Symbol(""),Dc=/(^|;)\s*display\s*:/;function Mc(e,t,s){const n=e.style,r=he(s);let i=!1;if(s&&!r){if(t)if(he(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&vs(n,l,"")}else for(const o in t)s[o]==null&&vs(n,o,"");for(const o in s)o==="display"&&(i=!0),vs(n,o,s[o])}else if(r){if(t!==s){const o=n[Lc];o&&(s+=";"+o),n.cssText=s,i=Dc.test(s)}}else t&&e.removeAttribute("style");Ns in e&&(e[Ns]=i?n.display:"",e[no]&&(n.display="none"))}const Nr=/\s*!important$/;function vs(e,t,s){if(B(s))s.forEach(n=>vs(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=Bc(e,t);Nr.test(s)?e.setProperty(St(n),s.replace(Nr,""),"important"):e[n]=s}}const kr=["Webkit","Moz","ms"],fn={};function Bc(e,t){const s=fn[t];if(s)return s;let n=ht(t);if(n!=="filter"&&n in e)return fn[t]=n;n=Qr(n);for(let r=0;rdn||($c.then(()=>dn=0),dn=Date.now());function jc(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Qe(Wc(n,s.value),t,5,[n])};return s.value=e,s.attached=Vc(),s}function Wc(e,t){if(B(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>r=>!r._stopped&&n&&n(r))}else return t}const Fr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,qc=(e,t,s,n,r,i)=>{const o=r==="svg";t==="class"?Pc(e,n,o):t==="style"?Mc(e,s,n):Ds(t)?Fn(t)||Uc(e,t,s,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Kc(e,t,n,o))?(Dr(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Lr(e,t,n,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!he(n))?Dr(e,ht(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Lr(e,t,n,o))};function Kc(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Fr(t)&&q(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Fr(t)&&he(s)?!1:t in e}const ks=e=>{const t=e.props["onUpdate:modelValue"]||!1;return B(t)?s=>gs(t,s):t};function Gc(e){e.target.composing=!0}function Ur(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const kt=Symbol("_assign"),Ps={created(e,{modifiers:{lazy:t,trim:s,number:n}},r){e[kt]=ks(r);const i=n||r.props&&r.props.type==="number";vt(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;s&&(l=l.trim()),i&&(l=yn(l)),e[kt](l)}),s&&vt(e,"change",()=>{e.value=e.value.trim()}),t||(vt(e,"compositionstart",Gc),vt(e,"compositionend",Ur),vt(e,"change",Ur))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:n,trim:r,number:i}},o){if(e[kt]=ks(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?yn(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(n&&t===s||r&&e.value.trim()===c)||(e.value=c))}},hn={deep:!0,created(e,t,s){e[kt]=ks(s),vt(e,"change",()=>{const n=e._modelValue,r=zc(e),i=e.checked,o=e[kt];if(B(n)){const l=ti(n,r),c=l!==-1;if(i&&!c)o(n.concat(r));else if(!i&&c){const f=[...n];f.splice(l,1),o(f)}}else if(Ms(n)){const l=new Set(n);i?l.add(r):l.delete(r),o(l)}else o(ro(e,i))})},mounted:Hr,beforeUpdate(e,t,s){e[kt]=ks(s),Hr(e,t,s)}};function Hr(e,{value:t,oldValue:s},n){e._modelValue=t;let r;if(B(t))r=ti(t,n.props.value)>-1;else if(Ms(t))r=t.has(n.props.value);else{if(t===s)return;r=Us(t,ro(e,!0))}e.checked!==r&&(e.checked=r)}function zc(e){return"_value"in e?e._value:e.value}function ro(e,t){const s=t?"_trueValue":"_falseValue";return s in e?e[s]:t}const Yc=["ctrl","shift","alt","meta"],Jc={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Yc.some(s=>e[`${s}Key`]&&!t.includes(s))},io=(e,t)=>{const s=e._withMods||(e._withMods={}),n=t.join(".");return s[n]||(s[n]=(r,...i)=>{for(let o=0;o{const t=Qc().createApp(...e),{mount:s}=t;return t.mount=n=>{const r=ta(n);if(!r)return;const i=t._component;!q(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=s(r,!1,ea(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function ea(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ta(e){return he(e)?document.querySelector(e):e}var sa=!1;/*! + * pinia v2.3.0 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */let oo;const Js=e=>oo=e,lo=Symbol();function An(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Zt;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Zt||(Zt={}));function na(){const e=ii(!0),t=e.run(()=>V({}));let s=[],n=[];const r=Yn({install(i){Js(r),r._a=i,i.provide(lo,r),i.config.globalProperties.$pinia=r,n.forEach(o=>s.push(o)),n=[]},use(i){return!this._a&&!sa?n.push(i):s.push(i),this},_p:s,_a:null,_e:e,_s:new Map,state:t});return r}const co=()=>{};function Vr(e,t,s,n=co){e.push(t);const r=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),n())};return!s&&oi()&&jo(r),r}function Ct(e,...t){e.slice().forEach(s=>{s(...t)})}const ra=e=>e(),jr=Symbol(),pn=Symbol();function In(e,t){e instanceof Map&&t instanceof Map?t.forEach((s,n)=>e.set(n,s)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const s in t){if(!t.hasOwnProperty(s))continue;const n=t[s],r=e[s];An(r)&&An(n)&&e.hasOwnProperty(s)&&!ae(n)&&!it(n)?e[s]=In(r,n):e[s]=n}return e}const ia=Symbol();function oa(e){return!An(e)||!e.hasOwnProperty(ia)}const{assign:ct}=Object;function la(e){return!!(ae(e)&&e.effect)}function ca(e,t,s,n){const{state:r,actions:i,getters:o}=t,l=s.state.value[e];let c;function f(){l||(s.state.value[e]=r?r():{});const u=hl(s.state.value[e]);return ct(u,i,Object.keys(o||{}).reduce((h,m)=>(h[m]=Yn(Ys(()=>{Js(s);const T=s._s.get(e);return o[m].call(T,T)})),h),{}))}return c=ao(e,f,t,s,n,!0),c}function ao(e,t,s={},n,r,i){let o;const l=ct({actions:{}},s),c={deep:!0};let f,u,h=[],m=[],T;const x=n.state.value[e];!i&&!x&&(n.state.value[e]={}),V({});let A;function L(G){let S;f=u=!1,typeof G=="function"?(G(n.state.value[e]),S={type:Zt.patchFunction,storeId:e,events:T}):(In(n.state.value[e],G),S={type:Zt.patchObject,payload:G,storeId:e,events:T});const N=A=Symbol();xi().then(()=>{A===N&&(f=!0)}),u=!0,Ct(h,S,n.state.value[e])}const U=i?function(){const{state:S}=s,N=S?S():{};this.$patch(b=>{ct(b,N)})}:co;function Y(){o.stop(),h=[],m=[],n._s.delete(e)}const K=(G,S="")=>{if(jr in G)return G[pn]=S,G;const N=function(){Js(n);const b=Array.from(arguments),P=[],W=[];function ce(z){P.push(z)}function et(z){W.push(z)}Ct(m,{args:b,name:N[pn],store:D,after:ce,onError:et});let ue;try{ue=G.apply(this&&this.$id===e?this:D,b)}catch(z){throw Ct(W,z),z}return ue instanceof Promise?ue.then(z=>(Ct(P,z),z)).catch(z=>(Ct(W,z),Promise.reject(z))):(Ct(P,ue),ue)};return N[jr]=!0,N[pn]=S,N},y={_p:n,$id:e,$onAction:Vr.bind(null,m),$patch:L,$reset:U,$subscribe(G,S={}){const N=Vr(h,G,S.detached,()=>b()),b=o.run(()=>be(()=>n.state.value[e],P=>{(S.flush==="sync"?u:f)&&G({storeId:e,type:Zt.direct,events:T},P)},ct({},c,S)));return N},$dispose:Y},D=$s(y);n._s.set(e,D);const le=(n._a&&n._a.runWithContext||ra)(()=>n._e.run(()=>(o=ii()).run(()=>t({action:K}))));for(const G in le){const S=le[G];if(ae(S)&&!la(S)||it(S))i||(x&&oa(S)&&(ae(S)?S.value=x[G]:In(S,x[G])),n.state.value[e][G]=S);else if(typeof S=="function"){const N=K(S,G);le[G]=N,l.actions[G]=S}}return ct(D,le),ct(Q(D),le),Object.defineProperty(D,"$state",{get:()=>n.state.value[e],set:G=>{L(S=>{ct(S,G)})}}),n._p.forEach(G=>{ct(D,o.run(()=>G({store:D,app:n._a,pinia:n,options:l})))}),x&&i&&s.hydrate&&s.hydrate(D.$state,x),f=!0,u=!0,D}/*! #__NO_SIDE_EFFECTS__ */function Xs(e,t,s){let n,r;const i=typeof t=="function";typeof e=="string"?(n=e,r=i?s:t):(r=e,n=e.id);function o(l,c){const f=zl();return l=l||(f?Xt(lo,null):null),l&&Js(l),l=oo,l._s.has(n)||(i?ao(n,t,r,l):ca(n,r,l)),l._s.get(n)}return o.$id=n,o}function Ue(e){{const t=Q(e),s={};for(const n in t){const r=t[n];r.effect?s[n]=Ys({get:()=>e[n],set(i){e[n]=i}}):(ae(r)||it(r))&&(s[n]=gl(e,n))}return s}}const aa=10,ua=[{urls:"stun:stun.l.google.com:19302"},{urls:"stun:stun.l.google.com:5349"},{urls:"stun:stun1.l.google.com:3478"},{urls:"stun:stun1.l.google.com:5349"},{urls:"stun:stun2.l.google.com:19302"},{urls:"stun:stun2.l.google.com:5349"},{urls:"stun:stun3.l.google.com:3478"},{urls:"stun:stun3.l.google.com:5349"},{urls:"stun:stun4.l.google.com:19302"},{urls:"stun:stun4.l.google.com:5349"},{urls:"turn:103.124.107.241:3478",username:"easytransfer",credential:"sharesimplyandstayanonymous"}],cs=Xs("setting",()=>{const e=V(!0);localStorage.getItem("autoDisplayImage")&&(e.value=JSON.parse(localStorage.getItem("autoDisplayImage"))),be(e,()=>{localStorage.setItem("autoDisplayImage",JSON.stringify(e.value))});const t=V(!0);localStorage.getItem("directlyOpenLink")&&(t.value=JSON.parse(localStorage.getItem("directlyOpenLink"))),be(t,()=>{localStorage.setItem("directlyOpenLink",JSON.stringify(t.value))});const s=V(!0);localStorage.getItem("autoDownload")&&(s.value=JSON.parse(localStorage.getItem("autoDownload"))),be(s,()=>{localStorage.setItem("autoDownload",JSON.stringify(s.value))});const n=V(aa);localStorage.getItem("maxConnectionNumber")&&(n.value=JSON.parse(localStorage.getItem("maxConnectionNumber"))),be(n,()=>{localStorage.setItem("maxConnectionNumber",JSON.stringify(n.value))});const r=V(ua);if(localStorage.getItem("iceServers")){const i=JSON.parse(localStorage.getItem("iceServers")),o=[...r.value,...i],l=Array.from(new Set(o.map(c=>JSON.stringify(c)))).map(c=>JSON.parse(c));r.value=l}return be(r,()=>{localStorage.setItem("iceServers",JSON.stringify(r.value))}),{autoDisplayImage:e,directlyOpenLink:t,autoDownload:s,maxConnectionNumber:n,iceServers:r}}),fa={class:"settings-cluster shadow"},da={class:"setting-item"},ha={class:"range-input"},pa={class:"switch-input blur shadow"},ma={class:"switch-input blur shadow"},ga={class:"switch-input blur shadow"},_a={class:"setting-button"},ya=["disabled"],va=De({__name:"SettingsModal",emits:["close"],setup(e,{emit:t}){const s=cs(),{maxConnectionNumber:n,iceServers:r,autoDisplayImage:i,directlyOpenLink:o,autoDownload:l}=Ue(s),c=t,f=()=>{c("close")},u=V(!0),h=V("Save"),m=V(null),T=V(null),x=V(null),A=V(null),L=V(null);Ws(()=>{m.value=n.value,T.value=r.value.map(K=>JSON.stringify(K)).join(` +`),x.value=i.value,A.value=o.value,L.value=l.value});function U(){var y;n.value!==m.value&&(n.value=m.value);let K=JSON.parse(`[${(y=T.value)==null?void 0:y.split(` +`).join(",")}]`);JSON.stringify(r.value)!==JSON.stringify(K)&&(r.value=K),i.value!==x.value&&(i.value=x.value),o.value!==A.value&&(o.value=A.value),l.value!==L.value&&(l.value=L.value),f()}const Y=()=>{var y;u.value=!1,h.value="Checking...",m.value!==null&&m.value<1&&(m.value=1);let K;try{K=JSON.parse(`[${(y=T.value)==null?void 0:y.split(` +`).join(",")}]`)}catch{u.value=!1,h.value="ICE Servers format incorrect";return}if(K.length===0){u.value=!1,h.value="ICE Servers cannot be empty";return}for(let D of K)if(!D.urls){u.value=!1,h.value="ICE Servers must have urls property";return}u.value=!0,h.value="Save"};return(K,y)=>(F(),j("div",{class:"overlay blur",onClick:io(f,["self"])},[g("div",fa,[y[15]||(y[15]=g("h2",null,[g("span",{class:"mdi mdi-cog"}),tr("Settings")],-1)),g("div",da,[y[10]||(y[10]=g("label",{for:"max-connection-number"},"Max connection number",-1)),g("div",ha,[Be(g("input",{type:"range",id:"max-connection-number",class:"blur shadow","onUpdate:modelValue":y[0]||(y[0]=D=>m.value=D),onInput:Y,min:"0",max:"16",step:"1"},null,544),[[Ps,m.value]]),y[6]||(y[6]=g("div",{class:"range-input-label"},[g("span",null,"0"),g("span",null,"4"),g("span",null,"8"),g("span",null,"12"),g("span",null,"16")],-1))]),y[11]||(y[11]=g("label",{for:"ice-servers"},"ICE Servers",-1)),Be(g("textarea",{id:"ice-servers",class:"blur shadow","onUpdate:modelValue":y[1]||(y[1]=D=>T.value=D),spellcheck:"false",onInput:Y},null,544),[[Ps,T.value]]),y[12]||(y[12]=g("label",{for:"enable-img-display"},"Auto display image",-1)),g("label",pa,[Be(g("input",{class:"blur shadow",type:"checkbox",id:"enable-img-display","onUpdate:modelValue":y[2]||(y[2]=D=>x.value=D)},null,512),[[hn,x.value]]),y[7]||(y[7]=g("span",{class:"blur shadow"},null,-1))]),y[13]||(y[13]=g("label",{for:"enable-open-link"},"Directly open link",-1)),g("label",ma,[Be(g("input",{class:"blur shadow",type:"checkbox",id:"enable-open-link","onUpdate:modelValue":y[3]||(y[3]=D=>A.value=D)},null,512),[[hn,A.value]]),y[8]||(y[8]=g("span",{class:"blur shadow"},null,-1))]),y[14]||(y[14]=g("label",{for:"auto-download"},"Auto download",-1)),g("label",ga,[Be(g("input",{class:"blur shadow",type:"checkbox",id:"auto-download","onUpdate:modelValue":y[4]||(y[4]=D=>L.value=D)},null,512),[[hn,L.value]]),y[9]||(y[9]=g("span",{class:"blur shadow"},null,-1))])]),g("div",_a,[g("button",{onClick:f,class:"cancel-button"},"Cancel"),g("button",{onClick:y[5]||(y[5]=D=>U()),class:ne(["save-button",{error:!u.value}]),disabled:!u.value},je(h.value),11,ya)])])]))}}),Re=(e,t)=>{const s=e.__vccOpts||e;for(const[n,r]of t)s[n]=r;return s},ba=Re(va,[["__scopeId","data-v-000e74aa"]]),wa=De({__name:"HeaderModal",setup(e){const t=V(!1),s=()=>{t.value=!t.value},n="v3.1.15",r=V(!1),i=()=>{window.scrollY>50?r.value=!0:r.value=!1};return Ws(()=>{window.addEventListener("scroll",i)}),Qn(()=>{window.removeEventListener("scroll",i)}),(o,l)=>(F(),j(ve,null,[g("header",{class:ne({blur:r.value,shadow:r.value})},[g("div",{class:"header-cluster"},[g("div",{class:"logo-cluster"},[l[2]||(l[2]=g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},[g("path",{d:"M21.4 7.5C22.2 8.3 22.2 9.6 21.4 10.3L18.6 13.1L10.8 5.3L13.6 2.5C14.4 1.7 15.7 1.7 16.4 2.5L18.2 4.3L21.2 1.3L22.6 2.7L19.6 5.7L21.4 7.5M15.6 13.3L14.2 11.9L11.4 14.7L9.3 12.6L12.1 9.8L10.7 8.4L7.9 11.2L6.4 9.8L3.6 12.6C2.8 13.4 2.8 14.7 3.6 15.4L5.4 17.2L1.4 21.2L2.8 22.6L6.8 18.6L8.6 20.4C9.4 21.2 10.7 21.2 11.4 20.4L14.2 17.6L12.8 16.2L15.6 13.3Z"})],-1)),g("div",{class:"logo-text"},[l[0]||(l[0]=g("h1",null,"EasyTransfer",-1)),g("span",null,je(n)),l[1]||(l[1]=g("p",null,"Share simply & stay anonymous.",-1))])]),g("div",{class:"link-cluster"},[g("button",{class:"link-item shadow",onClick:s},l[3]||(l[3]=[g("span",{class:"mdi mdi-cog"},null,-1),g("span",{class:"text"},"Settings",-1)])),l[4]||(l[4]=g("a",{href:"https://github.com/WCY-dt/EasyTransfer",class:"link-item shadow github"},[g("span",{class:"mdi mdi-github"}),g("span",{class:"text"},"Star on GitHub")],-1))])])],2),t.value?(F(),Gs(ba,{key:0,onClose:s})):pe("",!0)],64))}}),Ea=Re(wa,[["__scopeId","data-v-efe22c15"]]),Ze=Object.create(null);Ze.open="0";Ze.close="1";Ze.ping="2";Ze.pong="3";Ze.message="4";Ze.upgrade="5";Ze.noop="6";const bs=Object.create(null);Object.keys(Ze).forEach(e=>{bs[Ze[e]]=e});const Nn={type:"error",data:"parser error"},uo=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",fo=typeof ArrayBuffer=="function",ho=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,nr=({type:e,data:t},s,n)=>uo&&t instanceof Blob?s?n(t):Wr(t,n):fo&&(t instanceof ArrayBuffer||ho(t))?s?n(t):Wr(new Blob([t]),n):n(Ze[e]+(t||"")),Wr=(e,t)=>{const s=new FileReader;return s.onload=function(){const n=s.result.split(",")[1];t("b"+(n||""))},s.readAsDataURL(e)};function qr(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let mn;function Ta(e,t){if(uo&&e.data instanceof Blob)return e.data.arrayBuffer().then(qr).then(t);if(fo&&(e.data instanceof ArrayBuffer||ho(e.data)))return t(qr(e.data));nr(e,!1,s=>{mn||(mn=new TextEncoder),t(mn.encode(s))})}const Kr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qt=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e{let t=e.length*.75,s=e.length,n,r=0,i,o,l,c;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const f=new ArrayBuffer(t),u=new Uint8Array(f);for(n=0;n>4,u[r++]=(o&15)<<4|l>>2,u[r++]=(l&3)<<6|c&63;return f},xa=typeof ArrayBuffer=="function",rr=(e,t)=>{if(typeof e!="string")return{type:"message",data:po(e,t)};const s=e.charAt(0);return s==="b"?{type:"message",data:Ra(e.substring(1),t)}:bs[s]?e.length>1?{type:bs[s],data:e.substring(1)}:{type:bs[s]}:Nn},Ra=(e,t)=>{if(xa){const s=Sa(e);return po(s,t)}else return{base64:!0,data:e}},po=(e,t)=>{switch(t){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}},mo="",Ca=(e,t)=>{const s=e.length,n=new Array(s);let r=0;e.forEach((i,o)=>{nr(i,!1,l=>{n[o]=l,++r===s&&t(n.join(mo))})})},Oa=(e,t)=>{const s=e.split(mo),n=[];for(let r=0;r{const n=s.length;let r;if(n<126)r=new Uint8Array(1),new DataView(r.buffer).setUint8(0,n);else if(n<65536){r=new Uint8Array(3);const i=new DataView(r.buffer);i.setUint8(0,126),i.setUint16(1,n)}else{r=new Uint8Array(9);const i=new DataView(r.buffer);i.setUint8(0,127),i.setBigUint64(1,BigInt(n))}e.data&&typeof e.data!="string"&&(r[0]|=128),t.enqueue(r),t.enqueue(s)})}})}let gn;function ps(e){return e.reduce((t,s)=>t+s.length,0)}function ms(e,t){if(e[0].length===t)return e.shift();const s=new Uint8Array(t);let n=0;for(let r=0;rMath.pow(2,21)-1){l.enqueue(Nn);break}r=u*Math.pow(2,32)+f.getUint32(4),n=3}else{if(ps(s)e){l.enqueue(Nn);break}}}})}const go=4;function de(e){if(e)return Na(e)}function Na(e){for(var t in de.prototype)e[t]=de.prototype[t];return e}de.prototype.on=de.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this};de.prototype.once=function(e,t){function s(){this.off(e,s),t.apply(this,arguments)}return s.fn=t,this.on(e,s),this};de.prototype.off=de.prototype.removeListener=de.prototype.removeAllListeners=de.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var s=this._callbacks["$"+e];if(!s)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var n,r=0;rPromise.resolve().then(t):(t,s)=>s(t,0),Me=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),ka="arraybuffer";function _o(e,...t){return t.reduce((s,n)=>(e.hasOwnProperty(n)&&(s[n]=e[n]),s),{})}const Pa=Me.setTimeout,La=Me.clearTimeout;function Zs(e,t){t.useNativeTimers?(e.setTimeoutFn=Pa.bind(Me),e.clearTimeoutFn=La.bind(Me)):(e.setTimeoutFn=Me.setTimeout.bind(Me),e.clearTimeoutFn=Me.clearTimeout.bind(Me))}const Da=1.33;function Ma(e){return typeof e=="string"?Ba(e):Math.ceil((e.byteLength||e.size)*Da)}function Ba(e){let t=0,s=0;for(let n=0,r=e.length;n=57344?s+=3:(n++,s+=4);return s}function yo(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function Fa(e){let t="";for(let s in e)e.hasOwnProperty(s)&&(t.length&&(t+="&"),t+=encodeURIComponent(s)+"="+encodeURIComponent(e[s]));return t}function Ua(e){let t={},s=e.split("&");for(let n=0,r=s.length;n{this.readyState="paused",t()};if(this._polling||!this.writable){let n=0;this._polling&&(n++,this.once("pollComplete",function(){--n||s()})),this.writable||(n++,this.once("drain",function(){--n||s()}))}else s()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const s=n=>{if(this.readyState==="opening"&&n.type==="open"&&this.onOpen(),n.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(n)};Oa(t,this.socket.binaryType).forEach(s),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,Ca(t,s=>{this.doWrite(s,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const t=this.opts.secure?"https":"http",s=this.query||{};return this.opts.timestampRequests!==!1&&(s[this.opts.timestampParam]=yo()),!this.supportsBinary&&!s.sid&&(s.b64=1),this.createUri(t,s)}}let vo=!1;try{vo=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const Va=vo;function ja(){}class Wa extends $a{constructor(t){if(super(t),typeof location<"u"){const s=location.protocol==="https:";let n=location.port;n||(n=s?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||n!==t.port}}doWrite(t,s){const n=this.request({method:"POST",data:t});n.on("success",s),n.on("error",(r,i)=>{this.onError("xhr post error",r,i)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(s,n)=>{this.onError("xhr poll error",s,n)}),this.pollXhr=t}}class Je extends de{constructor(t,s,n){super(),this.createRequest=t,Zs(this,n),this._opts=n,this._method=n.method||"GET",this._uri=s,this._data=n.data!==void 0?n.data:null,this._create()}_create(){var t;const s=_o(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");s.xdomain=!!this._opts.xd;const n=this._xhr=this.createRequest(s);try{n.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let r in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(r)&&n.setRequestHeader(r,this._opts.extraHeaders[r])}}catch{}if(this._method==="POST")try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{n.setRequestHeader("Accept","*/*")}catch{}(t=this._opts.cookieJar)===null||t===void 0||t.addCookies(n),"withCredentials"in n&&(n.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(n.timeout=this._opts.requestTimeout),n.onreadystatechange=()=>{var r;n.readyState===3&&((r=this._opts.cookieJar)===null||r===void 0||r.parseCookies(n.getResponseHeader("set-cookie"))),n.readyState===4&&(n.status===200||n.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof n.status=="number"?n.status:0)},0))},n.send(this._data)}catch(r){this.setTimeoutFn(()=>{this._onError(r)},0);return}typeof document<"u"&&(this._index=Je.requestsCount++,Je.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=ja,t)try{this._xhr.abort()}catch{}typeof document<"u"&&delete Je.requests[this._index],this._xhr=null}}_onLoad(){const t=this._xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}Je.requestsCount=0;Je.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Gr);else if(typeof addEventListener=="function"){const e="onpagehide"in Me?"pagehide":"unload";addEventListener(e,Gr,!1)}}function Gr(){for(let e in Je.requests)Je.requests.hasOwnProperty(e)&&Je.requests[e].abort()}const qa=function(){const e=bo({xdomain:!1});return e&&e.responseType!==null}();class Ka extends Wa{constructor(t){super(t);const s=t&&t.forceBase64;this.supportsBinary=qa&&!s}request(t={}){return Object.assign(t,{xd:this.xd},this.opts),new Je(bo,this.uri(),t)}}function bo(e){const t=e.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||Va))return new XMLHttpRequest}catch{}if(!t)try{return new Me[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const wo=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class Ga extends ir{get name(){return"websocket"}doOpen(){const t=this.uri(),s=this.opts.protocols,n=wo?{}:_o(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=this.createSocket(t,s,n)}catch(r){return this.emitReserved("error",r)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let s=0;s{try{this.doWrite(n,i)}catch{}r&&Qs(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const t=this.opts.secure?"wss":"ws",s=this.query||{};return this.opts.timestampRequests&&(s[this.opts.timestampParam]=yo()),this.supportsBinary||(s.b64=1),this.createUri(t,s)}}const _n=Me.WebSocket||Me.MozWebSocket;class za extends Ga{createSocket(t,s,n){return wo?new _n(t,s,n):s?new _n(t,s):new _n(t)}doWrite(t,s){this.ws.send(s)}}class Ya extends ir{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(t){return this.emitReserved("error",t)}this._transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(t=>{const s=Ia(Number.MAX_SAFE_INTEGER,this.socket.binaryType),n=t.readable.pipeThrough(s).getReader(),r=Aa();r.readable.pipeTo(t.writable),this._writer=r.writable.getWriter();const i=()=>{n.read().then(({done:l,value:c})=>{l||(this.onPacket(c),i())}).catch(l=>{})};i();const o={type:"open"};this.query.sid&&(o.data=`{"sid":"${this.query.sid}"}`),this._writer.write(o).then(()=>this.onOpen())})})}write(t){this.writable=!1;for(let s=0;s{r&&Qs(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this._transport)===null||t===void 0||t.close()}}const Ja={websocket:za,webtransport:Ya,polling:Ka},Xa=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Qa=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function kn(e){if(e.length>8e3)throw"URI too long";const t=e,s=e.indexOf("["),n=e.indexOf("]");s!=-1&&n!=-1&&(e=e.substring(0,s)+e.substring(s,n).replace(/:/g,";")+e.substring(n,e.length));let r=Xa.exec(e||""),i={},o=14;for(;o--;)i[Qa[o]]=r[o]||"";return s!=-1&&n!=-1&&(i.source=t,i.host=i.host.substring(1,i.host.length-1).replace(/;/g,":"),i.authority=i.authority.replace("[","").replace("]","").replace(/;/g,":"),i.ipv6uri=!0),i.pathNames=Za(i,i.path),i.queryKey=eu(i,i.query),i}function Za(e,t){const s=/\/{2,9}/g,n=t.replace(s,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&n.splice(0,1),t.slice(-1)=="/"&&n.splice(n.length-1,1),n}function eu(e,t){const s={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(n,r,i){r&&(s[r]=i)}),s}const Pn=typeof addEventListener=="function"&&typeof removeEventListener=="function",ws=[];Pn&&addEventListener("offline",()=>{ws.forEach(e=>e())},!1);class dt extends de{constructor(t,s){if(super(),this.binaryType=ka,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&typeof t=="object"&&(s=t,t=null),t){const n=kn(t);s.hostname=n.host,s.secure=n.protocol==="https"||n.protocol==="wss",s.port=n.port,n.query&&(s.query=n.query)}else s.host&&(s.hostname=kn(s.host).host);Zs(this,s),this.secure=s.secure!=null?s.secure:typeof location<"u"&&location.protocol==="https:",s.hostname&&!s.port&&(s.port=this.secure?"443":"80"),this.hostname=s.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=s.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},s.transports.forEach(n=>{const r=n.prototype.name;this.transports.push(r),this._transportsByName[r]=n}),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},s),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=Ua(this.opts.query)),Pn&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},ws.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){const s=Object.assign({},this.opts.query);s.EIO=go,s.transport=t,this.id&&(s.sid=this.id);const n=Object.assign({},this.opts,{query:s,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](n)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const t=this.opts.rememberUpgrade&&dt.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const s=this.createTransport(t);s.open(),this.setTransport(s)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",s=>this._onClose("transport close",s))}onOpen(){this.readyState="open",dt.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const s=new Error("server error");s.code=t.data,this._onError(s);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let s=1;for(let n=0;n0&&s>this._maxPayload)return this.writeBuffer.slice(0,n);s+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,Qs(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,s,n){return this._sendPacket("message",t,s,n),this}send(t,s,n){return this._sendPacket("message",t,s,n),this}_sendPacket(t,s,n,r){if(typeof s=="function"&&(r=s,s=void 0),typeof n=="function"&&(r=n,n=null),this.readyState==="closing"||this.readyState==="closed")return;n=n||{},n.compress=n.compress!==!1;const i={type:t,data:s,options:n};this.emitReserved("packetCreate",i),this.writeBuffer.push(i),r&&this.once("flush",r),this.flush()}close(){const t=()=>{this._onClose("forced close"),this.transport.close()},s=()=>{this.off("upgrade",s),this.off("upgradeError",s),t()},n=()=>{this.once("upgrade",s),this.once("upgradeError",s)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?n():t()}):this.upgrading?n():t()),this}_onError(t){if(dt.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,s){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),Pn&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const n=ws.indexOf(this._offlineEventListener);n!==-1&&ws.splice(n,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,s),this.writeBuffer=[],this._prevBufferLen=0}}}dt.protocol=go;class tu extends dt{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let t=0;t{n||(s.send([{type:"ping",data:"probe"}]),s.once("packet",h=>{if(!n)if(h.type==="pong"&&h.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",s),!s)return;dt.priorWebsocketSuccess=s.name==="websocket",this.transport.pause(()=>{n||this.readyState!=="closed"&&(u(),this.setTransport(s),s.send([{type:"upgrade"}]),this.emitReserved("upgrade",s),s=null,this.upgrading=!1,this.flush())})}else{const m=new Error("probe error");m.transport=s.name,this.emitReserved("upgradeError",m)}}))};function i(){n||(n=!0,u(),s.close(),s=null)}const o=h=>{const m=new Error("probe error: "+h);m.transport=s.name,i(),this.emitReserved("upgradeError",m)};function l(){o("transport closed")}function c(){o("socket closed")}function f(h){s&&h.name!==s.name&&i()}const u=()=>{s.removeListener("open",r),s.removeListener("error",o),s.removeListener("close",l),this.off("close",c),this.off("upgrading",f)};s.once("open",r),s.once("error",o),s.once("close",l),this.once("close",c),this.once("upgrading",f),this._upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{n||s.open()},200):s.open()}onHandshake(t){this._upgrades=this._filterUpgrades(t.upgrades),super.onHandshake(t)}_filterUpgrades(t){const s=[];for(let n=0;nJa[r]).filter(r=>!!r)),super(t,n)}};function nu(e,t="",s){let n=e;s=s||typeof location<"u"&&location,e==null&&(e=s.protocol+"//"+s.host),typeof e=="string"&&(e.charAt(0)==="/"&&(e.charAt(1)==="/"?e=s.protocol+e:e=s.host+e),/^(https?|wss?):\/\//.test(e)||(typeof s<"u"?e=s.protocol+"//"+e:e="https://"+e),n=kn(e)),n.port||(/^(http|ws)$/.test(n.protocol)?n.port="80":/^(http|ws)s$/.test(n.protocol)&&(n.port="443")),n.path=n.path||"/";const i=n.host.indexOf(":")!==-1?"["+n.host+"]":n.host;return n.id=n.protocol+"://"+i+":"+n.port+t,n.href=n.protocol+"://"+i+(s&&s.port===n.port?"":":"+n.port),n}const ru=typeof ArrayBuffer=="function",iu=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,Eo=Object.prototype.toString,ou=typeof Blob=="function"||typeof Blob<"u"&&Eo.call(Blob)==="[object BlobConstructor]",lu=typeof File=="function"||typeof File<"u"&&Eo.call(File)==="[object FileConstructor]";function or(e){return ru&&(e instanceof ArrayBuffer||iu(e))||ou&&e instanceof Blob||lu&&e instanceof File}function Es(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let s=0,n=e.length;s=0&&e.num{delete this.acks[t];for(let l=0;l{this.io.clearTimeoutFn(i),s.apply(this,l)};o.withError=!0,this.acks[t]=o}emitWithAck(t,...s){return new Promise((n,r)=>{const i=(o,l)=>o?r(o):n(l);i.withError=!0,s.push(i),this.emit(t,...s)})}_addToQueue(t){let s;typeof t[t.length-1]=="function"&&(s=t.pop());const n={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((r,...i)=>n!==this._queue[0]?void 0:(r!==null?n.tryCount>this._opts.retries&&(this._queue.shift(),s&&s(r)):(this._queue.shift(),s&&s(null,...i)),n.pending=!1,this._drainQueue())),this._queue.push(n),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const s=this._queue[0];s.pending&&!t||(s.pending=!0,s.tryCount++,this.flags=s.flags,this.emit.apply(this,s.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:J.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,s){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,s),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(t=>{if(!this.sendBuffer.some(n=>String(n.id)===t)){const n=this.acks[t];delete this.acks[t],n.withError&&n.call(this,new Error("socket has been disconnected"))}})}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case J.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.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 J.EVENT:case J.BINARY_EVENT:this.onevent(t);break;case J.ACK:case J.BINARY_ACK:this.onack(t);break;case J.DISCONNECT:this.ondisconnect();break;case J.CONNECT_ERROR:this.destroy();const n=new Error(t.data.message);n.data=t.data.data,this.emitReserved("connect_error",n);break}}onevent(t){const s=t.data||[];t.id!=null&&s.push(this.ack(t.id)),this.connected?this.emitEvent(s):this.receiveBuffer.push(Object.freeze(s))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const s=this._anyListeners.slice();for(const n of s)n.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const s=this;let n=!1;return function(...r){n||(n=!0,s.packet({type:J.ACK,id:t,data:r}))}}onack(t){const s=this.acks[t.id];typeof s=="function"&&(delete this.acks[t.id],s.withError&&t.data.unshift(null),s.apply(this,t.data))}onconnect(t,s){this.id=t,this.recovered=s&&this._pid===s,this._pid=s,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:J.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const s=this._anyListeners;for(let n=0;n0&&e.jitter<=1?e.jitter:0,this.attempts=0}Lt.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),s=Math.floor(t*this.jitter*e);e=Math.floor(t*10)&1?e+s:e-s}return Math.min(e,this.max)|0};Lt.prototype.reset=function(){this.attempts=0};Lt.prototype.setMin=function(e){this.ms=e};Lt.prototype.setMax=function(e){this.max=e};Lt.prototype.setJitter=function(e){this.jitter=e};class Mn extends de{constructor(t,s){var n;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(s=t,t=void 0),s=s||{},s.path=s.path||"/socket.io",this.opts=s,Zs(this,s),this.reconnection(s.reconnection!==!1),this.reconnectionAttempts(s.reconnectionAttempts||1/0),this.reconnectionDelay(s.reconnectionDelay||1e3),this.reconnectionDelayMax(s.reconnectionDelayMax||5e3),this.randomizationFactor((n=s.randomizationFactor)!==null&&n!==void 0?n:.5),this.backoff=new Lt({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(s.timeout==null?2e4:s.timeout),this._readyState="closed",this.uri=t;const r=s.parser||pu;this.encoder=new r.Encoder,this.decoder=new r.Decoder,this._autoConnect=s.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,t||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var s;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(s=this.backoff)===null||s===void 0||s.setMin(t),this)}randomizationFactor(t){var s;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(s=this.backoff)===null||s===void 0||s.setJitter(t),this)}reconnectionDelayMax(t){var s;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(s=this.backoff)===null||s===void 0||s.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new su(this.uri,this.opts);const s=this.engine,n=this;this._readyState="opening",this.skipReconnect=!1;const r=Ve(s,"open",function(){n.onopen(),t&&t()}),i=l=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",l),t?t(l):this.maybeReconnectOnOpen()},o=Ve(s,"error",i);if(this._timeout!==!1){const l=this._timeout,c=this.setTimeoutFn(()=>{r(),i(new Error("timeout")),s.close()},l);this.opts.autoUnref&&c.unref(),this.subs.push(()=>{this.clearTimeoutFn(c)})}return this.subs.push(r),this.subs.push(o),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(Ve(t,"ping",this.onping.bind(this)),Ve(t,"data",this.ondata.bind(this)),Ve(t,"error",this.onerror.bind(this)),Ve(t,"close",this.onclose.bind(this)),Ve(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(s){this.onclose("parse error",s)}}ondecoded(t){Qs(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,s){let n=this.nsps[t];return n?this._autoConnect&&!n.active&&n.connect():(n=new To(this,t,s),this.nsps[t]=n),n}_destroy(t){const s=Object.keys(this.nsps);for(const n of s)if(this.nsps[n].active)return;this._close()}_packet(t){const s=this.encoder.encode(t);for(let n=0;nt()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(t,s){var n;this.cleanup(),(n=this.engine)===null||n===void 0||n.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,s),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const s=this.backoff.duration();this._reconnecting=!0;const n=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(r=>{r?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",r)):t.onreconnect()}))},s);this.opts.autoUnref&&n.unref(),this.subs.push(()=>{this.clearTimeoutFn(n)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const jt={};function Ts(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const s=nu(e,t.path||"/socket.io"),n=s.source,r=s.id,i=s.path,o=jt[r]&&i in jt[r].nsps,l=t.forceNew||t["force new connection"]||t.multiplex===!1||o;let c;return l?c=new Mn(n,t):(jt[r]||(jt[r]=new Mn(n,t)),c=jt[r]),s.query&&!t.query&&(t.query=s.queryKey),c.socket(s.path,t)}Object.assign(Ts,{Manager:Mn,Socket:To,io:Ts,connect:Ts});var gu={VITE_SIGNAL_SERVER_URL:"https://easy-transfer.glitch.me/",GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_1c11d5de-bde8-4665-8688-f13b3382ce35",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.9.2 node/v23.5.0 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_1c11d5de-bde8-4665-8688-f13b3382ce35",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/23.5.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",OLDPWD:"/home/runner/work/EasyTransfer/EasyTransfer",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/EasyTransfer/EasyTransfer/client/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"WCY-dt",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"55525165",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/EasyTransfer/EasyTransfer/client",SYSTEMD_EXEC_PID:"845",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241215.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:1855",GITHUB_WORKFLOW:"Deploy Client",_:"/opt/hostedtoolcache/node/23.5.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/23.5.0/x64",npm_config_npm_version:"10.9.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12608459820",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"401fa637de5e3208f8d3dec6576edf0b6f6e1d9d",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"WCY-dt/EasyTransfer/.github/workflows/deploy.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/23.5.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/EasyTransfer/EasyTransfer/client/node_modules/.bin:/home/runner/work/EasyTransfer/EasyTransfer/node_modules/.bin:/home/runner/work/EasyTransfer/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/23.5.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/23.5.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_d987104e-7b85-42c0-ae5b-c29f2ad892e6",INVOCATION_ID:"514f9b1a9171471b90e00eaff7f029e5",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/23.5.0/x64/bin/node",npm_package_name:"client",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"129",GITHUB_TRIGGERING_ACTOR:"WCY-dt",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 20",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"WCY-dt/EasyTransfer",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"816812807",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"3.1.15",npm_lifecycle_event:"build",GITHUB_REF_PROTECTED:"false",GITHUB_WORKSPACE:"/home/runner/work/EasyTransfer/EasyTransfer",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"401fa637de5e3208f8d3dec6576edf0b6f6e1d9d",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"WCY-dt",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/23.5.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_1c11d5de-bde8-4665-8688-f13b3382ce35",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/EasyTransfer/EasyTransfer/client",GITHUB_ACTOR_ID:"55525165",RUNNER_WORKSPACE:"/home/runner/work/EasyTransfer",npm_execpath:"/opt/hostedtoolcache/node/23.5.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_1c11d5de-bde8-4665-8688-f13b3382ce35",npm_config_global_prefix:"/opt/hostedtoolcache/node/23.5.0/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_1c11d5de-bde8-4665-8688-f13b3382ce35",INIT_CWD:"/home/runner/work/EasyTransfer/EasyTransfer/client",EDITOR:"vi",NODE_ENV:"production"};const xt=Xs("connect",()=>{const e=cs(),{maxConnectionNumber:t,iceServers:s}=Ue(e),n=gu.VITE_SIGNAL_SERVER_URL;let r=null;const i=V(null),o=V(!1),l=V("LOADING"),c=V("");let f=[];const u=V(!1),h=V([]),m=1024*16,T=10,x=V(!1);function A(){h.value=[];const S={iceServers:s.value};r=Ts(n),i.value=new RTCPeerConnection(S),K(),D()}async function L(){r==null||r.emit("register",t.value)}function U(){var S;x.value=!0,(S=i.value)==null||S.createOffer().then(N=>{var b;return(b=i.value)==null?void 0:b.setLocalDescription(N)}).then(()=>{var N;r==null||r.emit("offer",(N=i.value)==null?void 0:N.localDescription,l.value,c.value)}),Y()}function Y(){i.value.onicecandidate=S=>{S.candidate&&(r==null||r.emit("candidate",S.candidate,c.value))}}function K(){r==null||r.on("success",S=>{l.value=S,o.value=!0}),r==null||r.on("disconnect",()=>{o.value=!1,window.location.reload()}),r==null||r.on("offer",(S,N,b)=>{var P;c.value=N,t.value=b,x.value=!0,(P=i.value)==null||P.setRemoteDescription(new RTCSessionDescription(S)).then(()=>{var W;return(W=i.value)==null?void 0:W.createAnswer()}).then(W=>{var ce;return(ce=i.value)==null?void 0:ce.setLocalDescription(W)}).then(()=>{var W;r==null||r.emit("answer",(W=i.value)==null?void 0:W.localDescription,l.value,c.value)}).then(()=>{y()}),Y()}),r==null||r.on("answer",(S,N)=>{var b;c.value===N?(b=i.value)==null||b.setRemoteDescription(new RTCSessionDescription(S)).then(()=>{y()}):console.error(`[ERROR] Received answer from unexpected id: ${N}`)}),r==null||r.on("candidate",S=>{var N;(N=i.value)!=null&&N.remoteDescription?i.value.addIceCandidate(new RTCIceCandidate(S)):f.push(S)})}function y(){var S;for(;f.length;)(S=i.value)==null||S.addIceCandidate(new RTCIceCandidate(f.shift()))}function D(){var S;for(let N=0;N{x.value=!1,u.value=!0},b.onerror=P=>{console.error(`[ERR] Data channel error: ${P}`),x.value=!1,u.value=!1},b.onclose=()=>{x.value=!1,u.value=!1},h.value.push(b))}}function Ee(){return h.value.map(N=>N.readyState).every(N=>N==="open")?"open":"pending"}let le=s.value,G=t.value;return be([s,t],async()=>{i.value&&(s.value!==le||t.value!==G)&&(console.warn("[INFO] ===Reconnecting==="),await Promise.all(h.value.map(S=>S.close())),i.value.close(),r==null||r.disconnect(),window.location.reload(),le=s.value,G=t.value)}),{peerConnection:i,isConnectSuccess:u,registered:o,clientId:l,targetId:c,sendChannels:h,maxBufferedAmount:m,isConnecting:x,initializeConnection:A,registerClient:L,connectTarget:U,getSendChannelState:Ee}});async function _u(e){const t={iceServers:e},s=new RTCPeerConnection(t);return new Promise(n=>{s.onicecandidate=r=>{r.candidate&&r.candidate.candidate.includes("typ relay")&&(n(!0),s.close())},s.onicegatheringstatechange=()=>{s.iceGatheringState==="complete"&&(n(!1),s.close())},s.createDataChannel(""),s.createOffer().then(r=>s.setLocalDescription(r)).catch(()=>{n(!1),s.close()})})}const yu={class:"id-cluster"},vu={class:"cover blur"},bu={key:0,class:"mdi mdi-check-bold"},wu={key:1,class:"mdi mdi-content-copy"},Eu=["disabled"],Tu={key:0,class:"mdi mdi-dots-horizontal"},Su={key:1,class:"mdi mdi-connection"},xu={class:"isTurnServerAvailable"},Ru={class:"notice"},Cu=De({__name:"OperationId",setup(e){const t=xt();t.initializeConnection();const s=cs(),{isConnectSuccess:n,registered:r,clientId:i,targetId:o,isConnecting:l}=Ue(t),{iceServers:c}=Ue(s),f=V(!1),u=V(!1),h=Ys(()=>({disabled:!f.value&&!n.value||!r.value,ready:f.value&&!n.value&&r.value,success:!f.value&&n.value&&r.value})),m=V(!1);be(o,L=>{L!==L.toUpperCase()&&(o.value=L.toUpperCase()),T(L)}),be(n,L=>{L&&(f.value=!1)});function T(L){f.value=L.length===4,n.value=!1}function x(){r.value&&(navigator.clipboard.writeText(i.value),u.value=!0,setTimeout(()=>{u.value=!1},1e3))}function A(){o.value=o.value.toUpperCase(),t.connectTarget()}return Ws(async()=>{await t.registerClient(),m.value=await _u(c.value)}),(L,U)=>(F(),j("div",yu,[g("div",{class:ne(["clientId-cluster",H(i)==="LOADING"?"disabled":"ready"]),onClick:x},[tr(je(H(i))+" ",1),g("div",vu,[u.value?(F(),j("span",bu)):(F(),j("span",wu))])],2),g("div",{class:ne(["targetId-cluster shadow",h.value])},[U[1]||(U[1]=g("span",{class:"input-hint shadow"},"Enter the peer's code",-1)),Be(g("input",{type:"text",id:"targetIdInput",class:"targetId-input blur",placeholder:"code",maxlength:"4","onUpdate:modelValue":U[0]||(U[0]=Y=>ae(o)?o.value=Y:null)},null,512),[[Ps,H(o)]]),g("button",{id:"connectButton",class:"connect-button",disabled:!f.value||!H(r),onClick:A,"aria-label":"Connect"},[H(l)?(F(),j("span",Tu)):(F(),j("span",Su))],8,Eu)],2),g("div",xu,[g("span",{class:ne(["dot",{green:m.value,red:!m.value}])},null,2),g("span",Ru,je(m.value?"Turn server is available":"Turn server is not available"),1)])]))}}),Ou=Re(Cu,[["__scopeId","data-v-b8d6ef63"]]),en=Xs("send",()=>{const e=xt(),{sendChannels:t}=Ue(e),s=V([]);function n(b,P,W,ce,et){s.value.push({url:b,name:P,size:W,progress:ce,type:et}),s.value=[...s.value]}async function r(b,P){s.value[b].progress=P,s.value=[...s.value]}async function i(b,P){s.value[b].url=P,s.value=[...s.value]}async function o(b,P){s.value[b].success=P,s.value=[...s.value]}let l=-1,c=[];for(let b=0;b{await u()};async function f(b,P=!1){c.push(b),await u(P)}async function u(b){let P=null;if(b)P=t.value[0];else{const W=Math.floor(Math.random()*t.value.length);P=t.value[W]}for(;c.length>0&&P.bufferedAmount<=e.maxBufferedAmount;){let W=c.shift();!(W instanceof ArrayBuffer)&&!ArrayBuffer.isView(W)&&(W=new TextEncoder().encode(W)),P.send(new Uint8Array(W))}}let h="";const m=V("Drop file here or click to upload"),T=V(0),x=16384;let A=null;const L=V(0);async function U(b,P){const W=b.length;if(W===0){console.error("[ERR] No file selected");return}for(let ce=0;cenew Promise((ue,z)=>{const Z=new FileReader;Z.onload=async Ce=>{var Oe,Dt,as;const lt=new Uint8Array(2);lt[0]=(et&65280)>>8,lt[1]=et&255;const He=new Uint8Array(((Oe=Ce.target)==null?void 0:Oe.result).byteLength+2);He.set(lt,0),He.set(new Uint8Array((Dt=Ce.target)==null?void 0:Dt.result),2),await f(He),L.value=L.value+((as=Ce.target)==null?void 0:as.result).byteLength,L.value{z(Ce)},Z.readAsArrayBuffer(ce)}));await Promise.all(W)}async function Ee(){A=new FileReader,A.addEventListener("error",b=>{console.error(`[ERR] Error reading file: ${b}`)}),A.addEventListener("abort",b=>{console.log(`[INFO] File reading aborted: ${b}`)})}function le(b){return b===0?(console.error("[ERR] File is empty"),!1):e.getSendChannelState()!=="open"?(console.error("[ERR] Data channel is not open"),!1):!0}async function G(b){await S(b)}async function S(b){N(b)&&(await f("CONTENT_METAtTRANSFER_TYPE_TEXT",!0),await f("CONTENT_METAn"+b,!0),await f("CONTENT_METAs"+b.length,!0),n("javascript:void(0)",b,b.length,b.length,"TRANSFER_TYPE_TEXT"),l++,o(l,!0))}function N(b){return b===""?(console.error("[ERR] Text is empty"),!1):e.getSendChannelState()!=="open"?(console.error("[ERR] Data channel is not open"),!1):!0}return{uploadFileItems:s,sendFiles:U,sendText:G,processQueue:u}}),Au=["disabled"],Iu=["disabled"],Nu={key:0,class:"upload-text-title"},ku={key:1,class:"upload-text-title"},Pu=De({__name:"UploadText",setup(e){const t=xt(),{isConnectSuccess:s}=Ue(t),n=en(),r=V(""),i=V(!1);function o(){s.value&&(n.sendText(r.value),i.value=!0,setTimeout(()=>{i.value=!1,r.value=""},1e3))}return(l,c)=>(F(),j("div",{id:"text",class:ne(["upload-text-cluster",{disabled:!H(s),active:H(s)}])},[Be(g("textarea",{id:"textInput",class:"text-input blur",placeholder:"Send a short message...",disabled:!H(s),"onUpdate:modelValue":c[0]||(c[0]=f=>r.value=f),ref:"textInput.value"},null,8,Au),[[Ps,r.value]]),g("button",{id:"sendButton",class:"send-button",disabled:!H(s),onClick:o},[g("span",{class:ne(["mdi",{"mdi-send":!i.value,"mdi-check-bold":i.value}])},null,2),i.value?(F(),j("p",ku,"Succeed")):(F(),j("p",Nu,"Send Message"))],8,Iu)],2))}}),Lu=Re(Pu,[["__scopeId","data-v-c9d5339b"]]),Du=["disabled"],Mu=De({__name:"UploadFile",setup(e){const t=xt(),{isConnectSuccess:s}=Ue(t),n=en(),r=V(null);async function i(){r.value&&r.value.files&&await n.sendFiles(Array.from(r.value.files),"TRANSFER_TYPE_FILE")}async function o(c){var f;s.value&&(c.preventDefault(),r.value&&(r.value.files=((f=c.dataTransfer)==null?void 0:f.files)??null,await i()))}function l(){s.value&&r.value&&r.value.click()}return(c,f)=>(F(),j("div",{id:"dropzone",class:ne(["upload-file-cluster",{disabled:!H(s),active:H(s)}]),onDragover:f[0]||(f[0]=io(()=>{},["prevent"])),onDrop:o,onClick:l},[g("input",{type:"file",id:"fileInput",class:"file-input",title:"Choose a file to send",multiple:"",onChange:i,ref_key:"fileInput",ref:r,disabled:!H(s)},null,40,Du),f[1]||(f[1]=g("span",{class:"mdi mdi-file-upload"},null,-1)),f[2]||(f[2]=g("p",{class:"file-input-title"},"File",-1))],34))}}),Bu=Re(Mu,[["__scopeId","data-v-acede28d"]]),Fu={id:"cameradisplay",class:"camera-display-cluster"},Uu=De({__name:"UploadPhoto",setup(e){const t=xt(),{isConnectSuccess:s}=Ue(t),n=en(),r=V(!1),i=V(!1),o=V(!1),l=V(null),c=V(null);function f(){s.value&&navigator.mediaDevices.getUserMedia({audio:!1,video:{facingMode:"environment"}}).then(x=>{window.stream=x,l.value&&(l.value.srcObject=x),i.value=!0,o.value=!0}).catch(x=>{console.error(`[ERR] GetUserMedia error: ${x}`),i.value=!1,o.value=!1,alert("Please allow camera access to use this feature")})}function u(){var x;if(c.value&&l.value){c.value.width=l.value.videoWidth,c.value.height=l.value.videoHeight;const A=c.value.getContext("2d");A&&A.drawImage(l.value,0,0,c.value.width,c.value.height),(x=window.stream)==null||x.getTracks().forEach(L=>L.stop()),o.value=!1}}function h(){var x;(x=window.stream)==null||x.getTracks().forEach(A=>A.stop()),i.value=!1,o.value=!1}async function m(){c.value&&c.value.toBlob(async function(x){if(x){const A=new Date().getTime(),L=new File([x],`image_${A}.png`,{type:"image/png"});await n.sendFiles([L],"TRANSFER_TYPE_FILE")}},"image/png")}async function T(){s.value&&(await m(),r.value=!0,setTimeout(()=>{r.value=!1,h()},1e3))}return(x,A)=>(F(),j(ve,null,[Be(g("div",Fu,[g("button",{class:"close-button mdi mdi-close",onClick:h}),Be(g("video",{class:"stream-display",ref_key:"stream",ref:l,autoplay:"",playsinline:""},null,512),[[$t,o.value]]),Be(g("button",{class:"snapshot-button mdi mdi-camera",onClick:u},null,512),[[$t,o.value]]),Be(g("canvas",{class:"photo-display",ref_key:"photo",ref:c},null,512),[[$t,!o.value]]),Be(g("button",{class:ne(["send-button mdi",{"mdi-send":!r.value,"mdi-check-bold":r.value}]),onClick:T},null,2),[[$t,!o.value]])],512),[[$t,i.value]]),g("div",{id:"camera",class:ne(["upload-photo-cluster",{disabled:!H(s),active:H(s)}]),onClick:f},A[0]||(A[0]=[g("span",{class:"mdi mdi-camera"},null,-1),g("p",{class:"upload-photo-title"},"Photo",-1)]),2)],64))}}),Hu=Re(Uu,[["__scopeId","data-v-a386c348"]]),$u={id:"upload",class:"upload-cluster"},Vu=De({__name:"UploadModal",setup(e){return(t,s)=>(F(),j("div",$u,[fe(Bu),fe(Hu),fe(Lu)]))}}),ju=Re(Vu,[["__scopeId","data-v-ce8de059"]]),Wu={class:"operation-cluster"},qu=De({__name:"OperationModal",setup(e){return(t,s)=>(F(),j("div",Wu,[fe(Ou),fe(ju)]))}}),Ku=Re(qu,[["__scopeId","data-v-b3ad3813"]]);function Ls(e){return!!Gu.test(e)}function So(e){return Co.some(t=>e.toLowerCase().endsWith(t))}function xo(e){return Oo.some(t=>e.toLowerCase().endsWith(t))}function Ro(e){const t=e.toLowerCase();for(const[s,n]of Object.entries(zu))if(n.some(r=>t.endsWith(r)))return s;return"mdi-file-document"}const Gu=new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),Co=[".png",".jpg",".jpeg",".gif",".bmp",".webp",".svg",".ico",".tiff",".tif",".heic",".raw"],Oo=[".mp4",".mkv",".avi",".mov",".wmv",".flv",".webm",".mpeg",".mpg",".m4v",".3gp",".3g2"],zu={"mdi-file-image":Co,"mdi-file-word":[".doc",".docx",".odt",".rtf",".txt",".wps",".wpd"],"mdi-file-table":[".xls",".xlsx",".ods",".csv",".tsv",".xlsm",".xlsb"],"mdi-file-powerpoint":[".ppt",".pptx",".odp",".pps",".ppsx",".pot",".potx"],"mdi-file-music":[".mp3",".wav",".flac",".ogg",".aac",".wma",".m4a",".aiff",".alac"],"mdi-file-video":Oo,"mdi-file-code":[".html",".css",".js",".ts",".jsx",".tsx",".json",".xml",".yaml",".yml",".md",".markdown",".cpp",".c",".h",".hpp",".java",".py",".rb",".php",".sql",".sh",".bat",".ps1",".psm1",".psd1",".ps1xml",".pssc",".psc1",".pssc",".pl",".perl",".go",".rs",".swift",".kt",".kts",".clj",".cljs",".scala",".groovy",".gradle",".dockerfile",".properties",".ini",".cfg",".conf",".toml",".yaml",".yml",".json",".xml",".csv",".tsv",".log",".r",".sas",".stata",".do",".m",".mat",".rmd",".ipynb"],"mdi-folder-zip":[".zip",".rar",".7z",".tar",".gz",".bz2",".xz",".lz",".lzma",".lzo",".zst",".z",".tar.gz",".tgz",".tar.bz2",".tbz2",".tar.xz",".txz",".tar.lz",".tlz",".tar.lzma",".tar.lzo",".tar.zst",".tzst"],"mdi-file-cad":[".dwg",".dxf",".dgn",".stl",".obj",".fbx",".3ds",".skp",".step",".stp",".igs",".iges",".x_t",".x_b",".sat",".sab",".3dm",".prt",".asm",".xas",".xpr"],"mdi-file-key":[".key",".pem",".pub",".asc",".gpg",".pgp",".p12",".pfx",".cer",".crt",".der",".keychain",".jks",".keystore",".bks",".pkcs12",".p7b",".p7c",".p7r",".p7s",".p8"]},Yu=["href","download"],Ju={class:"upload-item-detail"},Xu={class:"upload-item-name"},Qu=["value","max"],Zu=["src"],ef=["src","controls"],tf={class:"upload-item-detail"},sf={class:"upload-item-content"},nf={key:0,class:"mdi mdi-check-bold"},rf={key:1,class:"mdi mdi-content-copy"},of=["href"],lf={class:"upload-item-detail"},cf={class:"upload-item-content"},af=De({__name:"SendItem",props:{url:{default:"javascript:void(0)"},name:{default:"No file to upload"},size:{default:1},progress:{default:0},type:{default:"TRANSFER_TYPE_FILE"},success:{type:Boolean,default:!1}},setup(e){const t=e,s=cs(),{autoDisplayImage:n,directlyOpenLink:r}=Ue(s),i=V(!1);function o(){navigator.clipboard.writeText(t.name),i.value=!0,setTimeout(()=>{i.value=!1},1e3)}const l=window.matchMedia("(hover: hover)").matches;return(c,f)=>(F(),j(ve,null,[t.type==="TRANSFER_TYPE_FILE"?(F(),j("a",{key:0,ref:"uploadLink",href:t.url,class:ne(["upload-item file shadow",{success:t.success,loading:!t.success}]),download:t.name},[g("span",{class:ne(["mdi",H(Ro)(t.name)])},null,2),g("div",Ju,[g("p",Xu,je(t.name),1),g("progress",{class:"upload-item-progress",value:t.progress,max:t.size},null,8,Qu),H(So)(t.name)&&t.success&&H(n)?(F(),j("img",{key:0,class:"upload-item-content",src:t.url,alt:"Photo"},null,8,Zu)):pe("",!0),H(xo)(t.name)&&t.success?(F(),j("video",{key:1,class:"download-item-content",src:t.url,controls:!H(l),muted:"",autoplay:"",loop:""},null,8,ef)):pe("",!0)]),t.success?(F(),j("div",{key:0,class:ne({"copy-cover blur":H(l),"none-hover":!H(l)})},f[0]||(f[0]=[g("span",{class:"mdi mdi-download"},null,-1)]),2)):pe("",!0)],10,Yu)):pe("",!0),t.type==="TRANSFER_TYPE_TEXT"&&(!H(Ls)(t.name)||!H(r))?(F(),j("div",{key:1,class:ne(["upload-item text shadow",{success:t.success,loading:!t.success}]),onClick:o},[f[1]||(f[1]=g("span",{class:"mdi mdi-message-text"},null,-1)),g("div",tf,[g("p",sf,je(t.name),1)]),t.success?(F(),j("div",{key:0,class:ne({"copy-cover blur":H(l),"none-hover":!H(l)})},[i.value?(F(),j("span",nf)):(F(),j("span",rf))],2)):pe("",!0)],2)):pe("",!0),t.type==="TRANSFER_TYPE_TEXT"&&H(Ls)(t.name)&&H(r)?(F(),j("a",{key:2,class:ne(["upload-item text shadow",{success:t.success,loading:!t.success}]),onClick:o,href:t.name,target:"_blank",rel:"noopener noreferrer"},[f[3]||(f[3]=g("span",{class:"mdi mdi-link-variant"},null,-1)),g("div",lf,[g("p",cf,je(t.name),1)]),t.success?(F(),j("div",{key:0,class:ne({"copy-cover blur":H(l),"none-hover":!H(l)})},f[2]||(f[2]=[g("span",{class:"mdi mdi-open-in-new"},null,-1)]),2)):pe("",!0)],10,of)):pe("",!0)],64))}}),uf=Re(af,[["__scopeId","data-v-22560d61"]]),ff={class:"upload-cluster"},df={key:0,class:"noting-to-upload-text"},hf=De({__name:"SendModal",setup(e){const t=en(),s=V([]);return be(()=>t.uploadFileItems,n=>{s.value=n},{deep:!0}),(n,r)=>(F(),j("div",ff,[r[0]||(r[0]=g("div",{class:"upload-cluster-title"},[g("span",{class:"mdi mdi-upload-network"}),g("p",{class:"upload-cluster-title-text"},"Upload")],-1)),s.value.length===0?(F(),j("p",df," Nothing to upload ")):pe("",!0),(F(!0),j(ve,null,Pi(s.value,(i,o)=>(F(),Gs(uf,{key:o,url:i.url,name:i.name,size:i.size,progress:i.progress,success:i.success,type:i.type},null,8,["url","name","size","progress","success","type"]))),128))]))}}),pf=Re(hf,[["__scopeId","data-v-b5e41870"]]),mf=Xs("receive",()=>{const e=xt(),{peerConnection:t}=Ue(e),s=V([]);function n(S,N,b,P,W){s.value.push({url:S,name:N,size:b,progress:P,type:W}),s.value=[...s.value]}function r(S,N){s.value[S].progress=N,s.value=[...s.value]}function i(S,N){s.value[S].url=N,s.value=[...s.value]}function o(S,N){s.value[S].success=N,s.value=[...s.value]}let l=[],c=[],f="",u="",h=0,m=0,T="",x=[],A=[],L=[],U=-1;function Y(){if(!t.value){console.error("[ERR] Peer connection not ready");return}t.value.ondatachannel=S=>{G();const N=S.channel;N.onopen=()=>{},N.onerror=b=>{console.error(`[ERR] Receive channel error: ${b}`)},N.onclose=()=>{window.location.reload()},N.onmessage=b=>{D(b)}}}const K="CONTENT_META",y=new TextEncoder().encode(K);async function D(S){const N=new DataView(S.data);let b=!0;for(let P=0;P0&&(f=x.shift(),u=A.shift(),h=L.shift(),U++,console.log(`[INFO] ===Receiving file ${f} | ${u} | ${h}===`));const b=new DataView(S).getUint16(0,!1),P=S.slice(2);l[b]||(m+=P.byteLength),l[b]=P,r(U,m),m===h&&(c=l,T=URL.createObjectURL(new Blob(c)),u.endsWith(".svg")&&(T=URL.createObjectURL(new Blob(c,{type:"image/svg+xml"}))),i(U,T),o(U,!0),G())}function G(){l=[],c=[],f="",u="",h=0,m=0,T=""}return{downloadFileItems:s,receiveFiles:Y}}),gf=["href","download"],_f={class:"download-item-detail"},yf={class:"download-item-name"},vf=["value","max"],bf=["src"],wf=["src","controls"],Ef={class:"download-item-detail"},Tf={class:"download-item-content"},Sf={key:0,class:"mdi mdi-check-bold"},xf={key:1,class:"mdi mdi-content-copy"},Rf=["href"],Cf={class:"download-item-detail"},Of={class:"download-item-content"},Af=De({__name:"ReceiveItem",props:{url:{default:"javascript:void(0)"},name:{default:"No file to download"},size:{default:1},progress:{default:0},type:{default:"TRANSFER_TYPE_FILE"},success:{type:Boolean,default:!1}},setup(e){const t=e,s=cs(),{autoDisplayImage:n,directlyOpenLink:r,autoDownload:i}=Ue(s),o=V(!1);function l(){navigator.clipboard.writeText(t.name),o.value=!0,setTimeout(()=>{o.value=!1},1e3)}const c=window.matchMedia("(hover: hover)").matches,f=V(null);return be(()=>t.success,u=>{u&&i.value&&t.type==="TRANSFER_TYPE_FILE"&&setTimeout(()=>{f.value.click()},1e3)}),(u,h)=>(F(),j(ve,null,[t.type==="TRANSFER_TYPE_FILE"?(F(),j("a",{key:0,ref_key:"downloadLink",ref:f,href:t.url,class:ne(["download-item file shadow",{success:t.success,loading:!t.success}]),download:t.name},[g("span",{class:ne(["mdi",H(Ro)(t.name)])},null,2),g("div",_f,[g("p",yf,je(t.name),1),g("progress",{class:"download-item-progress",value:t.progress,max:t.size},null,8,vf),H(So)(t.name)&&t.success&&H(n)?(F(),j("img",{key:0,class:"download-item-content",src:t.url,alt:"Photo"},null,8,bf)):pe("",!0),H(xo)(t.name)&&t.success&&H(n)?(F(),j("video",{key:1,class:"download-item-content",src:t.url,controls:!H(c),muted:"",autoplay:"",loop:""},null,8,wf)):pe("",!0)]),t.success?(F(),j("div",{key:0,class:ne({"copy-cover blur":H(c),"none-hover":!H(c)})},h[0]||(h[0]=[g("span",{class:"mdi mdi-download"},null,-1)]),2)):pe("",!0)],10,gf)):pe("",!0),t.type==="TRANSFER_TYPE_TEXT"&&(!H(Ls)(t.name)||!H(r))?(F(),j("div",{key:1,class:ne(["download-item text shadow",{success:t.success,loading:!t.success}]),onClick:l},[h[1]||(h[1]=g("span",{class:"mdi mdi-message-text"},null,-1)),g("div",Ef,[g("p",Tf,je(t.name),1)]),t.success?(F(),j("div",{key:0,class:ne({"copy-cover blur":H(c),"none-hover":!H(c)})},[o.value?(F(),j("span",Sf)):(F(),j("span",xf))],2)):pe("",!0)],2)):pe("",!0),t.type==="TRANSFER_TYPE_TEXT"&&H(Ls)(t.name)&&H(r)?(F(),j("a",{key:2,class:ne(["download-item text shadow",{success:t.success,loading:!t.success}]),onClick:l,href:t.name,target:"_blank",rel:"noopener noreferrer"},[h[3]||(h[3]=g("span",{class:"mdi mdi-link-variant"},null,-1)),g("div",Cf,[g("p",Of,je(t.name),1)]),t.success?(F(),j("div",{key:0,class:ne({"copy-cover blur":H(c),"none-hover":!H(c)})},h[2]||(h[2]=[g("span",{class:"mdi mdi-open-in-new"},null,-1)]),2)):pe("",!0)],10,Rf)):pe("",!0)],64))}}),If=Re(Af,[["__scopeId","data-v-02e252d6"]]),Nf={class:"download-cluster"},kf={key:0,class:"noting-to-download-text"},Pf=De({__name:"ReceiveModal",setup(e){const t=xt(),s=mf(),{isConnectSuccess:n}=Ue(t),r=V([]);return be(n,i=>{i&&s.receiveFiles()}),be(()=>s.downloadFileItems,i=>{r.value=i},{deep:!0}),(i,o)=>(F(),j("div",Nf,[o[0]||(o[0]=g("div",{class:"download-cluster-title"},[g("span",{class:"mdi mdi-download-network"}),g("p",{class:"download-cluster-title-text"},"Download")],-1)),r.value.length===0?(F(),j("p",kf," Nothing to download ")):pe("",!0),(F(!0),j(ve,null,Pi(r.value,(l,c)=>(F(),Gs(If,{key:c,url:l.url,name:l.name,size:l.size,progress:l.progress,success:l.success,type:l.type},null,8,["url","name","size","progress","success","type"]))),128))]))}}),Lf=Re(Pf,[["__scopeId","data-v-2dba2b30"]]),Df={};function Mf(e,t){return F(),j("footer",null,t[0]||(t[0]=[yc('

© 2024 EasyTransfer. All rights reserved.

About | Feedback | GitHub

',2)]))}const Bf=Re(Df,[["render",Mf],["__scopeId","data-v-cd00c0b7"]]),Ff={id:"app-content"},Uf={class:"app-cluster"},Hf=De({__name:"App",setup(e){return(t,s)=>(F(),j(ve,null,[fe(Ea),g("div",Ff,[g("div",Uf,[fe(Ku),fe(pf),fe(Lf)])]),fe(Bf)],64))}}),$f=Re(Hf,[["__scopeId","data-v-e68b6bcc"]]),Ao=Zc($f);Ao.use(na());Ao.mount("#app"); diff --git a/assets/index-DU_4KNWn.css b/assets/index-DU_4KNWn.css new file mode 100644 index 0000000..34ff379 --- /dev/null +++ b/assets/index-DU_4KNWn.css @@ -0,0 +1 @@ +@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap";@import"https://cdn.jsdelivr.net/npm/@mdi/font@7.4.47/css/materialdesignicons.min.css";*{box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none;-moz-user-drag:none;-ms-user-drag:none}:root{--primary-color: #007bff;--primary-dark-color: #0056b3;--primary-semi-light-color: #b6d9ff;--primary-light-color: #dcecfc;--primary-extra-light-color: #f0f8ff;--primary-blur-color: #007bff4f;--secondary-color: #6c757d;--secondary-light-color: #f0f0f0;--secondary-extra-light-color: #0000000f;--success-color: #28a745;--success-dark-color: #218838;--success-semi-light-color: #28a74650;--success-light-color: #d4edda;--error-color: #dc3545;--light-color: #f8f9fa;--light-blur-color: #f8f9fa4f;--dark-color: #343a40;--gold-color: #ffc107;--gold-light-color: #ffcd27;--normal-font-family: "Open Sans", sans-serif;--code-font-family: "Source Code Pro", monospace;--border-radius: .5rem;--small-border-radius: .25rem;--box-shadow: 0 4px 10px rgba(0, 0, 0, .1);--blur-effect: blur(2px);font-size:16px}@media (max-width: 768px){:root{font-size:13.5px}}@media (max-width: 425px){:root{font-size:12px}}@media (max-width: 375px){:root{font-size:11px}}body{margin:0;padding:0}#app{display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:3rem;min-height:100vh;font-family:var(--normal-font-family);background-color:var(--light-color);background-image:radial-gradient(var(--primary-light-color) 1px,transparent 1px);background-size:20px 20px;color:var(--dark-color)}.shadow{box-shadow:var(--box-shadow)}.blur{-webkit-backdrop-filter:var(--blur-effect);backdrop-filter:var(--blur-effect)}.overlay[data-v-000e74aa]{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.settings-cluster[data-v-000e74aa]{display:felx;flex-direction:column;gap:0;min-width:min(60rem,90vw);border-radius:var(--border-radius);background-color:var(--light-color);background-image:radial-gradient(var(--primary-light-color) 1px,transparent 1px);background-size:20px 20px;z-index:1002}.settings-cluster h2[data-v-000e74aa]{display:flex;justify-content:center;align-items:center;gap:.5rem;color:var(--light-color);background-color:var(--primary-color);width:100%;padding:1rem;margin:0;border-radius:var(--border-radius) var(--border-radius) 0 0;font-size:2rem;font-weight:700}.settings-cluster .setting-item[data-v-000e74aa]{display:grid;grid-template-columns:auto 1fr;gap:1.5rem;width:100%;padding:2rem 1.5rem}.settings-cluster .setting-item label[data-v-000e74aa]{font-size:1.2rem;font-weight:700;text-align:right}.settings-cluster .setting-item .switch-input[data-v-000e74aa]{position:relative;display:inline-block;width:4rem;height:2rem}.settings-cluster .setting-item .switch-input input[data-v-000e74aa]{opacity:0;width:0;height:0}.settings-cluster .setting-item .switch-input span[data-v-000e74aa]{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;border-radius:var(--border-radius);background-color:var(--secondary-color);transition:all .1s ease-in-out}.settings-cluster .setting-item .switch-input span[data-v-000e74aa]:before{position:absolute;content:"";height:1.5rem;width:1.5rem;left:.25rem;bottom:.25rem;border-radius:var(--small-border-radius);background-color:var(--light-color);transition:all .1s ease-in-out}.settings-cluster .setting-item .switch-input input:checked+span[data-v-000e74aa]{background-color:var(--success-color)}.settings-cluster .setting-item .switch-input input:checked+span[data-v-000e74aa]:before{transform:translate(2rem)}.settings-cluster .setting-item .range-input[data-v-000e74aa]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.2rem}.settings-cluster .setting-item .range-input input[type=range][data-v-000e74aa]{width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0;outline:0;background-color:transparent;border-radius:var(--border-radius);cursor:pointer}.settings-cluster .setting-item .range-input input[type=range][data-v-000e74aa]::-webkit-slider-runnable-track{height:1.5rem;background-color:var(--light-blur-color);border-radius:var(--border-radius)}.settings-cluster .setting-item .range-input input[type=range][data-v-000e74aa]::-moz-range-track{height:1.5rem;background-color:var(--light-blur-color);outline:none;border-radius:var(--border-radius)}.settings-cluster .setting-item .range-input input[type=range][data-v-000e74aa]::-webkit-slider-container{width:100%;height:1.5rem;overflow:hidden;background-color:transparent;border-radius:var(--border-radius)}.settings-cluster .setting-item .range-input input[type=range][data-v-000e74aa]::-moz-range-progress{width:100%;height:1.5rem;overflow:hidden;background-color:transparent;border-radius:var(--border-radius)}.settings-cluster .setting-item .range-input input[type=range][data-v-000e74aa]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:0rem;height:1.5rem;border-image:linear-gradient(var(--primary-color),var(--primary-color)) 0 fill/8 20 8 0/0 0 0 2000px}.settings-cluster .setting-item .range-input input[type=range][data-v-000e74aa]::-moz-range-thumb{width:0rem;height:1.5rem;border-image:linear-gradient(var(--primary-color),var(--primary-color)) 0 fill/8 20 8 0/0 0 0 2000px}.settings-cluster .setting-item .range-input input[type=range][data-v-000e74aa]:focus{outline:none}.settings-cluster .setting-item .range-input .range-input-label[data-v-000e74aa]{display:flex;justify-content:space-between;width:calc(100% + 1rem);font-size:1rem;font-weight:700}.settings-cluster .setting-item .range-input .range-input-label span[data-v-000e74aa]{width:1rem;text-align:center;font-family:var(--code-font-family);font-size:1rem;color:var(--secondary-color)}.settings-cluster .setting-item textarea[data-v-000e74aa]{width:100%;padding:.5rem;border:none;border-radius:var(--border-radius);min-height:16rem;background-color:var(--light-blur-color);font-size:1.2rem;font-family:var(--code-font-family);word-break:keep-all;line-break:keep-all;resize:none;transition:all .1s ease-in-out}.settings-cluster .setting-item textarea[data-v-000e74aa]:focus{border:none;outline:2px solid var(--primary-color)}.settings-cluster .setting-button[data-v-000e74aa]{display:grid;grid-template-columns:1fr 1fr;width:100%;border-radius:0 0 var(--border-radius) var(--border-radius)}.settings-cluster .setting-button button[data-v-000e74aa]{width:100%;padding:1rem;border:none;font-size:1.2rem;cursor:pointer;transition:all .1s ease-in-out}.settings-cluster .setting-button button.cancel-button[data-v-000e74aa]{background-color:var(--primary-light-color);color:var(--primary-color);border-radius:0 0 0 var(--border-radius)}@media (hover: hover){.settings-cluster .setting-button button.cancel-button[data-v-000e74aa]:hover{background-color:var(--primary-color);color:var(--light-color)}}.settings-cluster .setting-button button.save-button[data-v-000e74aa]{background-color:var(--success-color);color:var(--light-color);border-radius:0 0 var(--border-radius) 0;font-weight:700}@media (hover: hover){.settings-cluster .setting-button button.save-button[data-v-000e74aa]:hover{background-color:var(--success-dark-color)}}.settings-cluster .setting-button button.save-button.error[data-v-000e74aa]{background-color:var(--secondary-light-color);color:var(--secondary-color);cursor:not-allowed}@media (hover: hover){.settings-cluster .setting-button button.save-button.error[data-v-000e74aa]:hover{background-color:var(--secondary-light-color)}}@media (max-width: 1024px){.settings-cluster .setting-item[data-v-000e74aa]{grid-template-columns:1fr;gap:.5rem}.settings-cluster .setting-item label[data-v-000e74aa]{text-align:left}.settings-cluster .setting-button[data-v-000e74aa]{grid-template-columns:1fr}.settings-cluster .setting-button button.cancel-button[data-v-000e74aa]{border-radius:0}.settings-cluster .setting-button button.save-button[data-v-000e74aa]{border-radius:0 0 var(--border-radius) var(--border-radius)}}header[data-v-efe22c15]{display:grid;place-items:center;position:sticky;top:0;width:100%;z-index:1000;margin-bottom:1rem;background-color:var(--primary-color);color:var(--light-color);font-family:var(--normal-font-family);transition:all .3s ease-in-out}header .header-cluster[data-v-efe22c15]{width:min(100%,125rem);padding:1rem;display:flex;justify-content:space-between;align-items:center;transition:all .3s ease-in-out}header .logo-cluster[data-v-efe22c15]{display:flex;align-items:center;gap:.5rem;transition:all .3s ease-in-out}header .logo-cluster svg[data-v-efe22c15]{fill:var(--light-color);width:3rem;height:3rem;transition:all .3s ease-in-out}header .logo-cluster .logo-text[data-v-efe22c15]{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;gap:.1rem .5rem;place-items:start start}header .logo-cluster .logo-text[data-v-efe22c15] *{margin:0;padding:0;line-height:1rem;transition:all .3s ease-in-out}header .logo-cluster .logo-text h1[data-v-efe22c15]{grid-row:1/2;grid-column:1/2;font-size:2rem;line-height:2rem;font-weight:900;font-family:var(--code-font-family)}header .logo-cluster .logo-text span[data-v-efe22c15]{grid-row:1/2;grid-column:2/3;font-weight:100;font-size:.8rem}header .logo-cluster .logo-text p[data-v-efe22c15]{grid-row:2/3;grid-column:1/3;letter-spacing:.08rem}header .link-cluster[data-v-efe22c15]{display:flex;align-items:center;justify-content:center;gap:.8rem;transition:all .3s ease-in-out}@media (max-width: 425px){header .link-cluster[data-v-efe22c15]{gap:.4rem}}header .link-item[data-v-efe22c15]{border:none;outline:none;background:none;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.5rem 1rem;color:var(--light-color);background-color:var(--primary-dark-color);border-radius:var(--border-radius);text-decoration:none;line-height:1rem;cursor:pointer;transition:padding .3s ease-in-out,color .1s ease-in-out,background-color .1s ease-in-out}header .link-item.github[data-v-efe22c15]{color:var(--dark-color);background-color:var(--gold-color)}header .link-item .mdi[data-v-efe22c15]{font-size:1.5rem;line-height:1.5rem}header .link-item .text[data-v-efe22c15]{font-family:var(--normal-font-family);font-size:1rem}@media (hover: hover){header .link-item[data-v-efe22c15]:hover{color:var(--primary-light-color)}header .link-item:hover.github[data-v-efe22c15]{color:var(--dark-color);background-color:var(--gold-light-color)}}@media (max-width: 768px){header .link-item[data-v-efe22c15]{padding:.5rem}header .link-item .text[data-v-efe22c15]{display:none}}header.blur.shadow[data-v-efe22c15]{--blur-effect: blur(10px);background-color:var(--light-blur-color)}header.blur.shadow .header-cluster[data-v-efe22c15]{padding:.5rem 1rem}header.blur.shadow .header-cluster .logo-cluster[data-v-efe22c15]{gap:.3rem}header.blur.shadow .header-cluster .logo-cluster svg[data-v-efe22c15]{fill:var(--primary-color);width:2.5rem;height:2.5rem}header.blur.shadow .header-cluster .logo-cluster .logo-text[data-v-efe22c15] *{color:var(--primary-color)}header.blur.shadow .header-cluster .logo-cluster .logo-text h1[data-v-efe22c15]{font-size:1.5rem;line-height:1.5rem}header.blur.shadow .header-cluster .logo-cluster .logo-text span[data-v-efe22c15]{font-size:.8rem}header.blur.shadow .header-cluster .logo-cluster .logo-text p[data-v-efe22c15]{font-size:.8rem}header.blur.shadow .link-cluster[data-v-efe22c15]{gap:.6rem}@media (max-width: 425px){header.blur.shadow .link-cluster[data-v-efe22c15]{gap:.3rem}}header.blur.shadow .link-item[data-v-efe22c15]{padding:.3rem .8rem}@media (max-width: 768px){header.blur.shadow .link-item[data-v-efe22c15]{padding:.3rem}}.id-cluster[data-v-b8d6ef63]{display:flex;flex-direction:column;align-items:center;gap:1rem;font-family:var(--code-font-family)}.id-cluster .clientId-cluster[data-v-b8d6ef63]{position:relative;font-size:6rem;line-height:6rem;font-weight:900;text-align:center;transition:all .1s ease-in-out}.id-cluster .clientId-cluster .cover[data-v-b8d6ef63]{display:grid;place-content:center;position:absolute;top:0;left:0;width:100%;height:100%;color:var(--primary-color);background-color:transparent;opacity:0;font-size:4rem;cursor:pointer;transition:all .1s ease-in-out}.id-cluster .clientId-cluster.ready[data-v-b8d6ef63]{color:var(--primary-color)}.id-cluster .clientId-cluster.disabled[data-v-b8d6ef63]{color:var(--secondary-color);cursor:not-allowed}@media (hover: hover){.id-cluster .clientId-cluster:hover .cover[data-v-b8d6ef63]{opacity:1}.id-cluster .clientId-cluster.ready[data-v-b8d6ef63]:hover{color:var(--primary-light-color)}.id-cluster .clientId-cluster.disabled[data-v-b8d6ef63]:hover{color:var(--secondary-color)}.id-cluster .clientId-cluster.disabled:hover .cover[data-v-b8d6ef63]{opacity:0;cursor:not-allowed}}.id-cluster .targetId-cluster[data-v-b8d6ef63]{display:flex;justify-content:center;position:relative;border-radius:var(--border-radius);transition:all .1s ease-in-out}.id-cluster .targetId-cluster .input-hint[data-v-b8d6ef63]{position:absolute;bottom:0;left:0;right:0;transform:translateY(80%);background-color:var(--primary-light-color);color:var(--primary-color);opacity:0;text-align:center;padding:.2rem .5rem;border-radius:var(--border-radius);z-index:-1;transition:all .1s ease-in-out}.id-cluster .targetId-cluster.disabled[data-v-b8d6ef63]{border-color:var(--secondary-color)}@media (hover: hover){.id-cluster .targetId-cluster.disabled:hover .input-hint[data-v-b8d6ef63]{opacity:1;transform:translateY(110%)}}.id-cluster .targetId-cluster.disabled .connect-button[data-v-b8d6ef63]{background-color:var(--secondary-color);cursor:not-allowed}.id-cluster .targetId-cluster.ready[data-v-b8d6ef63]{border-color:var(--primary-color)}.id-cluster .targetId-cluster.ready .connect-button[data-v-b8d6ef63]{background-color:var(--primary-color);transition:all .1s ease-in-out}@media (hover: hover){.id-cluster .targetId-cluster.ready .connect-button[data-v-b8d6ef63]:hover{background-color:var(--primary-dark-color)}}.id-cluster .targetId-cluster.success[data-v-b8d6ef63]{border-color:var(--success-color)}.id-cluster .targetId-cluster.success .targetId-input[data-v-b8d6ef63]{color:var(--success-color)}.id-cluster .targetId-cluster.success .connect-button[data-v-b8d6ef63]{background-color:var(--success-color);cursor:not-allowed}.id-cluster .targetId-cluster .targetId-input[data-v-b8d6ef63]{width:12rem;padding:.5rem;border:none;border-radius:var(--border-radius) 0 0 var(--border-radius);font-family:var(--code-font-family);font-size:4rem;font-weight:700;text-align:center;text-transform:uppercase;color:var(--dark-color);background-color:var(--light-blur-color)}.id-cluster .targetId-cluster .targetId-input[data-v-b8d6ef63]::placeholder{color:var(--secondary-color)}.id-cluster .targetId-cluster .targetId-input[data-v-b8d6ef63]:focus{outline:none}.id-cluster .targetId-cluster .connect-button[data-v-b8d6ef63]{padding:.5rem 1rem;border:none;border-radius:0 var(--border-radius) var(--border-radius) 0;font-family:var(--normal-font-family);font-size:1rem;font-weight:700;text-transform:uppercase;color:var(--light-color);cursor:pointer}.id-cluster .targetId-cluster .connect-button .mdi[data-v-b8d6ef63]{margin:auto;font-size:3rem;line-height:3rem}.id-cluster .isTurnServerAvailable[data-v-b8d6ef63]{display:flex;align-items:center;gap:.5rem;margin-top:2rem;font-size:1rem;font-weight:700;text-transform:uppercase}.id-cluster .isTurnServerAvailable .dot[data-v-b8d6ef63]{width:.6rem;height:.6rem;border-radius:50%}.id-cluster .isTurnServerAvailable .dot.green[data-v-b8d6ef63]{background-color:var(--success-color)}.id-cluster .isTurnServerAvailable .dot.red[data-v-b8d6ef63]{background-color:var(--error-color)}.id-cluster .isTurnServerAvailable .notice[data-v-b8d6ef63]{color:var(--dark-color)}.upload-text-cluster[data-v-c9d5339b]{grid-column:1/3;grid-row:2/3;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--primary-color)}.upload-text-cluster.disabled[data-v-c9d5339b]{color:var(--secondary-color);cursor:not-allowed}.upload-text-cluster.disabled .text-input[data-v-c9d5339b]{cursor:not-allowed}.upload-text-cluster.disabled .send-button[data-v-c9d5339b]{border-color:var(--secondary-light-color);background-color:var(--secondary-light-color);color:var(--secondary-color);cursor:not-allowed}.upload-text-cluster .text-input[data-v-c9d5339b]{width:100%;height:12rem;padding:.5rem;border-width:2px 2px 0 2px;border-style:solid;border:none;border-radius:var(--border-radius) var(--border-radius) 0 0;background-color:var(--light-blur-color);font-family:inherit;font-size:1.5rem;resize:none}.upload-text-cluster .text-input[data-v-c9d5339b]:focus{outline:none}.upload-text-cluster .send-button[data-v-c9d5339b]{display:flex;align-items:center;justify-content:center;gap:.5rem;width:100%;padding:.5rem;border:2px solid;border-color:var(--primary-light-color);border-radius:0 0 var(--border-radius) var(--border-radius);outline:none;font-weight:700;background-color:var(--primary-light-color);color:var(--primary-color);cursor:pointer;transition:all .1s ease-in-out}.upload-text-cluster .send-button[data-v-c9d5339b]:has(.mdi-check-bold){border-color:var(--success-light-color);background-color:var(--success-light-color);color:var(--success-color)}.upload-text-cluster .send-button .mdi[data-v-c9d5339b]{font-size:1.5rem;line-height:1.5rem}.upload-text-cluster .send-button .upload-text-title[data-v-c9d5339b]{margin:0;font-size:1.5rem;line-height:1.5rem}@media (hover: hover){.upload-text-cluster:not(.disabled) .send-button[data-v-c9d5339b]:hover{border-color:var(--primary-color);background-color:var(--primary-color);color:var(--light-color)}.upload-text-cluster:not(.disabled) .send-button[data-v-c9d5339b]:has(.mdi-check-bold):hover{border-color:var(--success-color);background-color:var(--success-color);color:var(--light-color)}}@media (max-width: 768px){.upload-text-cluster[data-v-c9d5339b]{grid-column:1/2;grid-row:3/4}.upload-text-cluster .text-input[data-v-c9d5339b]{height:10rem}}.upload-file-cluster[data-v-acede28d]{grid-column:1/2;grid-row:1/2;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.5rem;border-color:var(--primary-color);border-width:2px;border-radius:var(--border-radius);border-style:solid;background-color:var(--primary-color);color:var(--light-color);cursor:pointer}.upload-file-cluster.disabled[data-v-acede28d]{border-color:var(--secondary-color);background-color:var(--secondary-color);color:var(--secondary-light-color);cursor:not-allowed}.upload-file-cluster .file-input[data-v-acede28d]{display:none}.upload-file-cluster .mdi[data-v-acede28d]{font-size:3rem;line-height:3rem}.upload-file-cluster .file-input-title[data-v-acede28d]{margin:0;font-size:1.5rem;font-weight:700;line-height:1.5rem;text-align:center}@media (hover: hover){.upload-file-cluster[data-v-acede28d]:not(.disabled):hover{border-color:var(--primary-dark-color);background-color:var(--primary-dark-color)}}.upload-photo-cluster[data-v-a386c348]{grid-column:2/3;grid-row:1/2;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.5rem 1rem!important;border-color:var(--primary-light-color);border-width:2px;border-radius:var(--border-radius);border-style:solid;background-color:var(--primary-light-color);color:var(--primary-color);cursor:pointer;transition:all .1s ease-in-out}.upload-photo-cluster.disabled[data-v-a386c348]{border-color:var(--secondary-light-color);background-color:var(--secondary-light-color);color:var(--secondary-color);cursor:not-allowed}@media (hover: hover){.upload-photo-cluster[data-v-a386c348]:not(.disabled):hover{border-color:var(--primary-color);background-color:var(--primary-color);color:var(--light-color)}}.upload-photo-cluster .mdi[data-v-a386c348]{font-size:3rem;font-weight:700;line-height:3rem}.upload-photo-cluster .upload-photo-title[data-v-a386c348]{display:none;margin:0;font-size:1.5rem;font-weight:700;line-height:1.5rem;text-align:center}.camera-display-cluster[data-v-a386c348]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;width:auto;border-radius:var(--border-radius);background-color:var(--primary-light-color);box-shadow:0 0 1rem #0000004d,0 0 .5rem #00000080;z-index:500}.camera-display-cluster button[data-v-a386c348]{position:absolute;border:none;z-index:20;cursor:pointer;transition:all .1s ease-in-out}.camera-display-cluster .close-button[data-v-a386c348]{top:2rem;right:2rem;font-size:2rem;background-color:transparent;color:var(--prime-color);z-index:504}@media (hover: hover){.camera-display-cluster .close-button[data-v-a386c348]:hover{color:var(--primary-dark-color)}}.camera-display-cluster .stream-display[data-v-a386c348]{width:auto;height:auto;max-width:94vw;max-height:94vh;border-radius:var(--border-radius);z-index:502}.camera-display-cluster .snapshot-button[data-v-a386c348]{width:4rem;height:4rem;bottom:2rem;left:50%;transform:translate(-50%);padding:0;border-radius:50%;font-size:2rem;line-height:0;background-color:var(--primary-color);color:var(--light-color);z-index:504}@media (hover: hover){.camera-display-cluster .snapshot-button[data-v-a386c348]:hover{background-color:var(--primary-dark-color)}}.camera-display-cluster .photo-display[data-v-a386c348]{width:auto;height:auto;max-width:94vw;max-height:94vh;border-radius:var(--border-radius);z-index:506}.camera-display-cluster .send-button[data-v-a386c348]{width:6rem;height:3rem;bottom:2rem;left:50%;transform:translate(-50%);border-radius:var(--border-radius);font-size:2rem;background-color:var(--primary-color);color:var(--light-color);z-index:508}.camera-display-cluster .send-button.mdi-check-bold[data-v-a386c348]{background-color:var(--success-color)}@media (hover: hover){.camera-display-cluster .send-button[data-v-a386c348]:hover{background-color:var(--primary-dark-color)}.camera-display-cluster .send-button.mdi-check-bold[data-v-a386c348]:hover{background-color:var(--success-color)}}@media (max-width: 768px){.upload-photo-cluster[data-v-a386c348]{grid-column:1/2;grid-row:2/3}.upload-photo-cluster .upload-photo-title[data-v-a386c348]{display:block}}.upload-cluster[data-v-ce8de059]{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;gap:.5rem;width:100%;z-index:400}.upload-cluster[data-v-ce8de059]>*{width:100%;border-radius:var(--border-radius);box-shadow:var(--box-shadow);transition:all .1s ease-in-out}@media (max-width: 768px){.upload-cluster[data-v-ce8de059]{grid-template-columns:1fr;grid-template-rows:auto auto auto}.upload-cluster[data-v-ce8de059]>*{width:100%}}.operation-cluster[data-v-b3ad3813]{grid-column:1/2;grid-row:1/2;display:flex;flex-direction:column;align-items:center;gap:4rem;z-index:300}@media (max-width: 1440px){.operation-cluster[data-v-b3ad3813]{grid-column:1/2;grid-row:1/3}}@media (max-width: 768px){.operation-cluster[data-v-b3ad3813]{grid-column:1/2;grid-row:1/2;gap:2rem}}.upload-item[data-v-22560d61]{display:flex;align-items:center;justify-content:center;gap:.25rem;width:100%;padding:.5rem 1rem;border-radius:var(--small-border-radius);text-decoration:none;cursor:pointer;transition:all .1s ease-in-out}.upload-item .mdi[data-v-22560d61]{align-self:flex-start;font-size:2.5rem;transition:all .1s ease-in-out}.upload-item .upload-item-detail[data-v-22560d61]{display:flex;flex-direction:column;gap:.5rem;margin:0 auto;width:100%}.upload-item .upload-item-detail p[data-v-22560d61]{margin:0;transition:all .1s ease-in-out}.upload-item .upload-item-detail p.upload-item-name[data-v-22560d61]{font-size:1.5rem;font-weight:700;word-break:break-all;line-break:anywhere}.upload-item .upload-item-detail p.upload-item-content[data-v-22560d61]{font-size:1.2rem;font-weight:500;word-break:break-all;line-break:anywhere}.upload-item .upload-item-detail .upload-item-progress[data-v-22560d61]{width:100%;height:.5rem;border:none;border-radius:var(--small-border-radius)}.upload-item .upload-item-detail img[data-v-22560d61],.upload-item .upload-item-detail video[data-v-22560d61]{width:100%;height:auto;border-radius:var(--small-border-radius);opacity:1;transition:all .1s ease-in-out}.upload-item.success[data-v-22560d61]{background-color:var(--success-light-color);color:var(--success-color)}.upload-item.success .upload-item-detail .upload-item-progress[data-v-22560d61]::-webkit-progress-value{background-color:var(--success-color);border-radius:.25rem;transition:all .1s ease-in-out}.upload-item.success .upload-item-detail .upload-item-progress[data-v-22560d61]::-webkit-progress-bar{background-color:transparent;border-radius:.25rem;transition:all .1s ease-in-out}.upload-item.success.text[data-v-22560d61],.upload-item.success.file[data-v-22560d61]{position:relative}@media (hover: hover){.upload-item.success.text[data-v-22560d61]:hover,.upload-item.success.file[data-v-22560d61]:hover{color:var(--success-semi-light-color)}.upload-item.success.text:hover .upload-item-detail .upload-item-progress[data-v-22560d61]::-webkit-progress-value,.upload-item.success.file:hover .upload-item-detail .upload-item-progress[data-v-22560d61]::-webkit-progress-value{background-color:var(--success-semi-light-color)}.upload-item.success.text:hover .upload-item-detail img[data-v-22560d61],.upload-item.success.file:hover .upload-item-detail img[data-v-22560d61]{opacity:.3}.upload-item.success.text:hover .copy-cover[data-v-22560d61],.upload-item.success.file:hover .copy-cover[data-v-22560d61]{opacity:1}}.upload-item.loading[data-v-22560d61]{background-color:var(--primary-light-color);color:var(--primary-color);cursor:not-allowed}.upload-item.loading .upload-item-detail .upload-item-progress[data-v-22560d61]::-webkit-progress-value{background-color:var(--primary-color);border-radius:.25rem;transition:all .1s ease-in-out}.upload-item.loading .upload-item-detail .upload-item-progress[data-v-22560d61]::-webkit-progress-bar{background-color:var(--light-color);border-radius:.25rem}.copy-cover[data-v-22560d61]{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;display:grid;place-content:center;font-size:1.5rem;background-color:transparent;color:var(--success-color);transition:all .1s ease-in-out}.copy-cover .mdi[data-v-22560d61]{height:100%}.copy-cover .mdi[data-v-22560d61]:before{display:grid;place-content:center;height:100%}.none-hover[data-v-22560d61]{align-self:flex-start}.upload-cluster[data-v-b5e41870]{grid-column:2/3;grid-row:1/2;display:flex;flex-direction:column;align-items:center;gap:.5rem;height:100%;width:100%;padding:1rem;border-radius:var(--border-radius);overflow-y:auto;background-color:var(--secondary-extra-light-color);backdrop-filter:var(--blur-effect);-webkit-backdrop-filter:var(--blur-effect)}.upload-cluster .upload-cluster-title[data-v-b5e41870]{display:flex;align-items:center;gap:.5rem}.upload-cluster .upload-cluster-title .mdi[data-v-b5e41870]{font-size:2.5rem;color:var(--secondary-color)}.upload-cluster .upload-cluster-title .upload-cluster-title-text[data-v-b5e41870]{font-size:2rem;font-weight:700;color:var(--secondary-color)}.upload-cluster .noting-to-upload-text[data-v-b5e41870]{font-size:1.5rem;color:var(--secondary-color)}@media (max-width: 1440px){.upload-cluster[data-v-b5e41870]{grid-column:2/3;grid-row:1/2}}@media (max-width: 768px){.upload-cluster[data-v-b5e41870]{grid-column:1/2;grid-row:2/3}}.download-item[data-v-02e252d6]{display:flex;align-items:center;justify-content:center;gap:.25rem;width:100%;padding:.5rem 1rem;border-radius:var(--small-border-radius);text-decoration:none;cursor:pointer;transition:all .1s ease-in-out}.download-item .mdi[data-v-02e252d6]{align-self:flex-start;font-size:2.5rem;transition:all .1s ease-in-out}.download-item .download-item-detail[data-v-02e252d6]{display:flex;flex-direction:column;gap:.5rem;margin:0 auto;width:100%}.download-item .download-item-detail p[data-v-02e252d6]{margin:0;transition:all .1s ease-in-out}.download-item .download-item-detail p.download-item-name[data-v-02e252d6]{font-size:1.5rem;font-weight:700;word-break:break-all;line-break:anywhere}.download-item .download-item-detail p.download-item-content[data-v-02e252d6]{font-size:1.2rem;font-weight:500;word-break:break-all;line-break:anywhere}.download-item .download-item-detail .download-item-progress[data-v-02e252d6]{width:100%;height:.5rem;border:none;border-radius:var(--small-border-radius)}.download-item .download-item-detail img[data-v-02e252d6],.download-item .download-item-detail video[data-v-02e252d6]{width:100%;height:auto;border-radius:var(--small-border-radius);opacity:1;transition:all .1s ease-in-out}.download-item.success[data-v-02e252d6]{background-color:var(--success-light-color);color:var(--success-color)}.download-item.success .download-item-detail .download-item-progress[data-v-02e252d6]::-webkit-progress-value{background-color:var(--success-color);border-radius:.25rem;transition:all .1s ease-in-out}.download-item.success .download-item-detail .download-item-progress[data-v-02e252d6]::-webkit-progress-bar{background-color:transparent;border-radius:.25rem;transition:all .1s ease-in-out}.download-item.success.text[data-v-02e252d6],.download-item.success.file[data-v-02e252d6]{position:relative}@media (hover: hover){.download-item.success.text[data-v-02e252d6]:hover,.download-item.success.file[data-v-02e252d6]:hover{color:var(--success-semi-light-color)}.download-item.success.text:hover .download-item-detail .download-item-progress[data-v-02e252d6]::-webkit-progress-value,.download-item.success.file:hover .download-item-detail .download-item-progress[data-v-02e252d6]::-webkit-progress-value{background-color:var(--success-semi-light-color)}.download-item.success.text:hover .download-item-detail img[data-v-02e252d6],.download-item.success.file:hover .download-item-detail img[data-v-02e252d6]{opacity:.3}.download-item.success.text:hover .copy-cover[data-v-02e252d6],.download-item.success.file:hover .copy-cover[data-v-02e252d6]{opacity:1}}.download-item.loading[data-v-02e252d6]{background-color:var(--primary-light-color);color:var(--primary-color);cursor:not-allowed}.download-item.loading .download-item-detail .download-item-progress[data-v-02e252d6]::-webkit-progress-value{background-color:var(--primary-color);border-radius:.25rem;transition:all .1s ease-in-out}.download-item.loading .download-item-detail .download-item-progress[data-v-02e252d6]::-webkit-progress-bar{background-color:var(--light-color);border-radius:.25rem}.copy-cover[data-v-02e252d6]{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;display:grid;place-content:center;font-size:1.5rem;background-color:transparent;color:var(--success-color);transition:all .1s ease-in-out}.copy-cover .mdi[data-v-02e252d6]{height:100%}.copy-cover .mdi[data-v-02e252d6]:before{display:grid;place-content:center;height:100%}.none-hover[data-v-02e252d6]{align-self:flex-start}.download-cluster[data-v-2dba2b30]{grid-column:3/4;grid-row:1/2;display:flex;flex-direction:column;align-items:center;gap:.5rem;height:100%;padding:1rem;border-radius:var(--border-radius);overflow-y:auto;background-color:var(--secondary-extra-light-color);backdrop-filter:var(--blur-effect);-webkit-backdrop-filter:var(--blur-effect)}.download-cluster .download-cluster-title[data-v-2dba2b30]{display:flex;align-items:center;gap:.5rem}.download-cluster .download-cluster-title .mdi[data-v-2dba2b30]{font-size:2.5rem;color:var(--secondary-color)}.download-cluster .download-cluster-title .download-cluster-title-text[data-v-2dba2b30]{font-size:2rem;font-weight:700;color:var(--secondary-color)}.download-cluster .noting-to-download-text[data-v-2dba2b30]{font-size:1.5rem;color:var(--secondary-color)}@media (max-width: 1440px){.download-cluster[data-v-2dba2b30]{grid-column:2/3;grid-row:2/3}}@media (max-width: 768px){.download-cluster[data-v-2dba2b30]{grid-column:1/2;grid-row:3/4}}footer[data-v-cd00c0b7]{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:1rem}footer p[data-v-cd00c0b7]{margin:0;padding:0;font-size:1.2rem;text-align:center;color:var(--secondary-color)}footer p a[data-v-cd00c0b7]{color:var(--primary-color);text-decoration:none;transition:all .1s ease-in-out}@media (hover: hover){footer p a[data-v-cd00c0b7]:hover{color:var(--primary-dark-color);text-decoration:underline}}#app-content[data-v-e68b6bcc]{display:flex;align-items:start;justify-content:center;width:100%;min-height:40vh;z-index:0}.app-cluster[data-v-e68b6bcc]{display:grid;grid-template-columns:1fr 1fr 1fr;grid-template-rows:auto;gap:2rem;width:min(96vw,120rem);margin:2rem 2vw}.app-cluster[data-v-e68b6bcc]>*{width:calc((min(96vw,120rem) - 4rem) / 3)}@media (max-width: 1440px){.app-cluster[data-v-e68b6bcc]{grid-template-columns:1fr 1fr;grid-template-rows:auto auto}.app-cluster[data-v-e68b6bcc]>*{width:calc((min(96vw,120rem) - 2rem)/2)}}@media (max-width: 768px){.app-cluster[data-v-e68b6bcc]{grid-template-columns:1fr;grid-template-rows:auto auto auto;gap:4rem}.app-cluster[data-v-e68b6bcc]>*{width:96vw}} diff --git a/assets/index-n2Pb8e9K.css b/assets/index-n2Pb8e9K.css deleted file mode 100644 index 8bea7e0..0000000 --- a/assets/index-n2Pb8e9K.css +++ /dev/null @@ -1 +0,0 @@ -@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap";@import"https://cdn.jsdelivr.net/npm/@mdi/font@7.4.47/css/materialdesignicons.min.css";*{box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none;-moz-user-drag:none;-ms-user-drag:none}:root{--primary-color: #007bff;--primary-dark-color: #0056b3;--primary-semi-light-color: #b6d9ff;--primary-light-color: #dcecfc;--primary-extra-light-color: #f0f8ff;--primary-blur-color: #007bff4f;--secondary-color: #6c757d;--secondary-light-color: #f0f0f0;--secondary-extra-light-color: #0000000f;--success-color: #28a745;--success-dark-color: #218838;--success-semi-light-color: #28a74650;--success-light-color: #d4edda;--error-color: #dc3545;--light-color: #f8f9fa;--light-blur-color: #f8f9fa4f;--dark-color: #343a40;--gold-color: #ffc107;--gold-light-color: #ffcd27;--normal-font-family: "Open Sans", sans-serif;--code-font-family: "Source Code Pro", monospace;--border-radius: .5rem;--small-border-radius: .25rem;--box-shadow: 0 4px 10px rgba(0, 0, 0, .1);--blur-effect: blur(2px);font-size:16px}@media (max-width: 768px){:root{font-size:13.5px}}@media (max-width: 425px){:root{font-size:12px}}@media (max-width: 375px){:root{font-size:11px}}body{margin:0;padding:0}#app{display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:3rem;min-height:100vh;font-family:var(--normal-font-family);background-color:var(--primary-light-color);background-image:radial-gradient(var(--primary-semi-light-color) 1px,transparent 1px);background-size:20px 20px;color:var(--dark-color)}.shadow{box-shadow:var(--box-shadow)}.blur{-webkit-backdrop-filter:var(--blur-effect);backdrop-filter:var(--blur-effect)}.overlay[data-v-e9e3660a]{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.settings-cluster[data-v-e9e3660a]{display:felx;flex-direction:column;gap:0;min-width:min(60rem,90vw);border-radius:var(--border-radius);background-color:var(--primary-extra-light-color);background-image:linear-gradient(to right,var(--primary-light-color) 1px,transparent 1px),linear-gradient(to bottom,var(--primary-light-color) 1px,transparent 1px);background-size:20px 20px;z-index:1002}.settings-cluster h2[data-v-e9e3660a]{display:flex;justify-content:center;align-items:center;gap:.5rem;color:var(--light-color);background-color:var(--primary-color);width:100%;padding:1rem;margin:0;border-radius:var(--border-radius) var(--border-radius) 0 0;font-size:2rem;font-weight:700}.settings-cluster .setting-item[data-v-e9e3660a]{display:grid;grid-template-columns:auto 1fr;gap:1.5rem;width:100%;padding:2rem 1.5rem}.settings-cluster .setting-item label[data-v-e9e3660a]{font-size:1.2rem;font-weight:700;text-align:right}.settings-cluster .setting-item .switch-input[data-v-e9e3660a]{position:relative;display:inline-block;width:4rem;height:2rem}.settings-cluster .setting-item .switch-input input[data-v-e9e3660a]{opacity:0;width:0;height:0}.settings-cluster .setting-item .switch-input span[data-v-e9e3660a]{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;border-radius:var(--border-radius);background-color:var(--secondary-color);transition:all .1s ease-in-out}.settings-cluster .setting-item .switch-input span[data-v-e9e3660a]:before{position:absolute;content:"";height:1.5rem;width:1.5rem;left:.25rem;bottom:.25rem;border-radius:var(--small-border-radius);background-color:var(--light-color);transition:all .1s ease-in-out}.settings-cluster .setting-item .switch-input input:checked+span[data-v-e9e3660a]{background-color:var(--success-color)}.settings-cluster .setting-item .switch-input input:checked+span[data-v-e9e3660a]:before{transform:translate(2rem)}.settings-cluster .setting-item .range-input[data-v-e9e3660a]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.2rem}.settings-cluster .setting-item .range-input input[type=range][data-v-e9e3660a]{width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0;outline:0;background-color:transparent;border-radius:var(--border-radius);cursor:pointer}.settings-cluster .setting-item .range-input input[type=range][data-v-e9e3660a]::-webkit-slider-runnable-track{height:1.5rem;background-color:var(--light-blur-color);border-radius:var(--border-radius)}.settings-cluster .setting-item .range-input input[type=range][data-v-e9e3660a]::-moz-range-track{height:1.5rem;background-color:var(--light-blur-color);outline:none;border-radius:var(--border-radius)}.settings-cluster .setting-item .range-input input[type=range][data-v-e9e3660a]::-webkit-slider-container{width:100%;height:1.5rem;overflow:hidden;background-color:transparent;border-radius:var(--border-radius)}.settings-cluster .setting-item .range-input input[type=range][data-v-e9e3660a]::-moz-range-progress{width:100%;height:1.5rem;overflow:hidden;background-color:transparent;border-radius:var(--border-radius)}.settings-cluster .setting-item .range-input input[type=range][data-v-e9e3660a]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:0rem;height:1.5rem;border-image:linear-gradient(var(--primary-color),var(--primary-color)) 0 fill/8 20 8 0/0 0 0 2000px}.settings-cluster .setting-item .range-input input[type=range][data-v-e9e3660a]::-moz-range-thumb{width:0rem;height:1.5rem;border-image:linear-gradient(var(--primary-color),var(--primary-color)) 0 fill/8 20 8 0/0 0 0 2000px}.settings-cluster .setting-item .range-input input[type=range][data-v-e9e3660a]:focus{outline:none}.settings-cluster .setting-item .range-input .range-input-label[data-v-e9e3660a]{display:flex;justify-content:space-between;width:calc(100% + 1rem);font-size:1rem;font-weight:700}.settings-cluster .setting-item .range-input .range-input-label span[data-v-e9e3660a]{width:1rem;text-align:center;font-family:var(--code-font-family);font-size:1rem;color:var(--secondary-color)}.settings-cluster .setting-item textarea[data-v-e9e3660a]{width:100%;padding:.5rem;border:none;border-radius:var(--border-radius);min-height:16rem;background-color:var(--light-blur-color);font-size:1.2rem;font-family:var(--code-font-family);word-break:keep-all;line-break:keep-all;resize:none;transition:all .1s ease-in-out}.settings-cluster .setting-item textarea[data-v-e9e3660a]:focus{border:none;outline:2px solid var(--primary-color)}.settings-cluster .setting-button[data-v-e9e3660a]{display:grid;grid-template-columns:1fr 1fr;width:100%;border-radius:0 0 var(--border-radius) var(--border-radius)}.settings-cluster .setting-button button[data-v-e9e3660a]{width:100%;padding:1rem;border:none;font-size:1.2rem;cursor:pointer;transition:all .1s ease-in-out}.settings-cluster .setting-button button.cancel-button[data-v-e9e3660a]{background-color:var(--primary-light-color);color:var(--primary-color);border-radius:0 0 0 var(--border-radius)}@media (hover: hover){.settings-cluster .setting-button button.cancel-button[data-v-e9e3660a]:hover{background-color:var(--primary-color);color:var(--light-color)}}.settings-cluster .setting-button button.save-button[data-v-e9e3660a]{background-color:var(--success-color);color:var(--light-color);border-radius:0 0 var(--border-radius) 0;font-weight:700}@media (hover: hover){.settings-cluster .setting-button button.save-button[data-v-e9e3660a]:hover{background-color:var(--success-dark-color)}}.settings-cluster .setting-button button.save-button.error[data-v-e9e3660a]{background-color:var(--secondary-light-color);color:var(--secondary-color);cursor:not-allowed}@media (hover: hover){.settings-cluster .setting-button button.save-button.error[data-v-e9e3660a]:hover{background-color:var(--secondary-light-color)}}@media (max-width: 1024px){.settings-cluster .setting-item[data-v-e9e3660a]{grid-template-columns:1fr;gap:.5rem}.settings-cluster .setting-item label[data-v-e9e3660a]{text-align:left}.settings-cluster .setting-button[data-v-e9e3660a]{grid-template-columns:1fr}.settings-cluster .setting-button button.cancel-button[data-v-e9e3660a]{border-radius:0}.settings-cluster .setting-button button.save-button[data-v-e9e3660a]{border-radius:0 0 var(--border-radius) var(--border-radius)}}header[data-v-efe22c15]{display:grid;place-items:center;position:sticky;top:0;width:100%;z-index:1000;margin-bottom:1rem;background-color:var(--primary-color);color:var(--light-color);font-family:var(--normal-font-family);transition:all .3s ease-in-out}header .header-cluster[data-v-efe22c15]{width:min(100%,125rem);padding:1rem;display:flex;justify-content:space-between;align-items:center;transition:all .3s ease-in-out}header .logo-cluster[data-v-efe22c15]{display:flex;align-items:center;gap:.5rem;transition:all .3s ease-in-out}header .logo-cluster svg[data-v-efe22c15]{fill:var(--light-color);width:3rem;height:3rem;transition:all .3s ease-in-out}header .logo-cluster .logo-text[data-v-efe22c15]{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;gap:.1rem .5rem;place-items:start start}header .logo-cluster .logo-text[data-v-efe22c15] *{margin:0;padding:0;line-height:1rem;transition:all .3s ease-in-out}header .logo-cluster .logo-text h1[data-v-efe22c15]{grid-row:1/2;grid-column:1/2;font-size:2rem;line-height:2rem;font-weight:900;font-family:var(--code-font-family)}header .logo-cluster .logo-text span[data-v-efe22c15]{grid-row:1/2;grid-column:2/3;font-weight:100;font-size:.8rem}header .logo-cluster .logo-text p[data-v-efe22c15]{grid-row:2/3;grid-column:1/3;letter-spacing:.08rem}header .link-cluster[data-v-efe22c15]{display:flex;align-items:center;justify-content:center;gap:.8rem;transition:all .3s ease-in-out}@media (max-width: 425px){header .link-cluster[data-v-efe22c15]{gap:.4rem}}header .link-item[data-v-efe22c15]{border:none;outline:none;background:none;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.5rem 1rem;color:var(--light-color);background-color:var(--primary-dark-color);border-radius:var(--border-radius);text-decoration:none;line-height:1rem;cursor:pointer;transition:padding .3s ease-in-out,color .1s ease-in-out,background-color .1s ease-in-out}header .link-item.github[data-v-efe22c15]{color:var(--dark-color);background-color:var(--gold-color)}header .link-item .mdi[data-v-efe22c15]{font-size:1.5rem;line-height:1.5rem}header .link-item .text[data-v-efe22c15]{font-family:var(--normal-font-family);font-size:1rem}@media (hover: hover){header .link-item[data-v-efe22c15]:hover{color:var(--primary-light-color)}header .link-item:hover.github[data-v-efe22c15]{color:var(--dark-color);background-color:var(--gold-light-color)}}@media (max-width: 768px){header .link-item[data-v-efe22c15]{padding:.5rem}header .link-item .text[data-v-efe22c15]{display:none}}header.blur.shadow[data-v-efe22c15]{--blur-effect: blur(10px);background-color:var(--light-blur-color)}header.blur.shadow .header-cluster[data-v-efe22c15]{padding:.5rem 1rem}header.blur.shadow .header-cluster .logo-cluster[data-v-efe22c15]{gap:.3rem}header.blur.shadow .header-cluster .logo-cluster svg[data-v-efe22c15]{fill:var(--primary-color);width:2.5rem;height:2.5rem}header.blur.shadow .header-cluster .logo-cluster .logo-text[data-v-efe22c15] *{color:var(--primary-color)}header.blur.shadow .header-cluster .logo-cluster .logo-text h1[data-v-efe22c15]{font-size:1.5rem;line-height:1.5rem}header.blur.shadow .header-cluster .logo-cluster .logo-text span[data-v-efe22c15]{font-size:.8rem}header.blur.shadow .header-cluster .logo-cluster .logo-text p[data-v-efe22c15]{font-size:.8rem}header.blur.shadow .link-cluster[data-v-efe22c15]{gap:.6rem}@media (max-width: 425px){header.blur.shadow .link-cluster[data-v-efe22c15]{gap:.3rem}}header.blur.shadow .link-item[data-v-efe22c15]{padding:.3rem .8rem}@media (max-width: 768px){header.blur.shadow .link-item[data-v-efe22c15]{padding:.3rem}}.id-cluster[data-v-b8d6ef63]{display:flex;flex-direction:column;align-items:center;gap:1rem;font-family:var(--code-font-family)}.id-cluster .clientId-cluster[data-v-b8d6ef63]{position:relative;font-size:6rem;line-height:6rem;font-weight:900;text-align:center;transition:all .1s ease-in-out}.id-cluster .clientId-cluster .cover[data-v-b8d6ef63]{display:grid;place-content:center;position:absolute;top:0;left:0;width:100%;height:100%;color:var(--primary-color);background-color:transparent;opacity:0;font-size:4rem;cursor:pointer;transition:all .1s ease-in-out}.id-cluster .clientId-cluster.ready[data-v-b8d6ef63]{color:var(--primary-color)}.id-cluster .clientId-cluster.disabled[data-v-b8d6ef63]{color:var(--secondary-color);cursor:not-allowed}@media (hover: hover){.id-cluster .clientId-cluster:hover .cover[data-v-b8d6ef63]{opacity:1}.id-cluster .clientId-cluster.ready[data-v-b8d6ef63]:hover{color:var(--primary-light-color)}.id-cluster .clientId-cluster.disabled[data-v-b8d6ef63]:hover{color:var(--secondary-color)}.id-cluster .clientId-cluster.disabled:hover .cover[data-v-b8d6ef63]{opacity:0;cursor:not-allowed}}.id-cluster .targetId-cluster[data-v-b8d6ef63]{display:flex;justify-content:center;position:relative;border-radius:var(--border-radius);transition:all .1s ease-in-out}.id-cluster .targetId-cluster .input-hint[data-v-b8d6ef63]{position:absolute;bottom:0;left:0;right:0;transform:translateY(80%);background-color:var(--primary-light-color);color:var(--primary-color);opacity:0;text-align:center;padding:.2rem .5rem;border-radius:var(--border-radius);z-index:-1;transition:all .1s ease-in-out}.id-cluster .targetId-cluster.disabled[data-v-b8d6ef63]{border-color:var(--secondary-color)}@media (hover: hover){.id-cluster .targetId-cluster.disabled:hover .input-hint[data-v-b8d6ef63]{opacity:1;transform:translateY(110%)}}.id-cluster .targetId-cluster.disabled .connect-button[data-v-b8d6ef63]{background-color:var(--secondary-color);cursor:not-allowed}.id-cluster .targetId-cluster.ready[data-v-b8d6ef63]{border-color:var(--primary-color)}.id-cluster .targetId-cluster.ready .connect-button[data-v-b8d6ef63]{background-color:var(--primary-color);transition:all .1s ease-in-out}@media (hover: hover){.id-cluster .targetId-cluster.ready .connect-button[data-v-b8d6ef63]:hover{background-color:var(--primary-dark-color)}}.id-cluster .targetId-cluster.success[data-v-b8d6ef63]{border-color:var(--success-color)}.id-cluster .targetId-cluster.success .targetId-input[data-v-b8d6ef63]{color:var(--success-color)}.id-cluster .targetId-cluster.success .connect-button[data-v-b8d6ef63]{background-color:var(--success-color);cursor:not-allowed}.id-cluster .targetId-cluster .targetId-input[data-v-b8d6ef63]{width:12rem;padding:.5rem;border:none;border-radius:var(--border-radius) 0 0 var(--border-radius);font-family:var(--code-font-family);font-size:4rem;font-weight:700;text-align:center;text-transform:uppercase;color:var(--dark-color);background-color:var(--light-blur-color)}.id-cluster .targetId-cluster .targetId-input[data-v-b8d6ef63]::placeholder{color:var(--secondary-color)}.id-cluster .targetId-cluster .targetId-input[data-v-b8d6ef63]:focus{outline:none}.id-cluster .targetId-cluster .connect-button[data-v-b8d6ef63]{padding:.5rem 1rem;border:none;border-radius:0 var(--border-radius) var(--border-radius) 0;font-family:var(--normal-font-family);font-size:1rem;font-weight:700;text-transform:uppercase;color:var(--light-color);cursor:pointer}.id-cluster .targetId-cluster .connect-button .mdi[data-v-b8d6ef63]{margin:auto;font-size:3rem;line-height:3rem}.id-cluster .isTurnServerAvailable[data-v-b8d6ef63]{display:flex;align-items:center;gap:.5rem;margin-top:2rem;font-size:1rem;font-weight:700;text-transform:uppercase}.id-cluster .isTurnServerAvailable .dot[data-v-b8d6ef63]{width:.6rem;height:.6rem;border-radius:50%}.id-cluster .isTurnServerAvailable .dot.green[data-v-b8d6ef63]{background-color:var(--success-color)}.id-cluster .isTurnServerAvailable .dot.red[data-v-b8d6ef63]{background-color:var(--error-color)}.id-cluster .isTurnServerAvailable .notice[data-v-b8d6ef63]{color:var(--dark-color)}.upload-text-cluster[data-v-c9d5339b]{grid-column:1/3;grid-row:2/3;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--primary-color)}.upload-text-cluster.disabled[data-v-c9d5339b]{color:var(--secondary-color);cursor:not-allowed}.upload-text-cluster.disabled .text-input[data-v-c9d5339b]{cursor:not-allowed}.upload-text-cluster.disabled .send-button[data-v-c9d5339b]{border-color:var(--secondary-light-color);background-color:var(--secondary-light-color);color:var(--secondary-color);cursor:not-allowed}.upload-text-cluster .text-input[data-v-c9d5339b]{width:100%;height:12rem;padding:.5rem;border-width:2px 2px 0 2px;border-style:solid;border:none;border-radius:var(--border-radius) var(--border-radius) 0 0;background-color:var(--light-blur-color);font-family:inherit;font-size:1.5rem;resize:none}.upload-text-cluster .text-input[data-v-c9d5339b]:focus{outline:none}.upload-text-cluster .send-button[data-v-c9d5339b]{display:flex;align-items:center;justify-content:center;gap:.5rem;width:100%;padding:.5rem;border:2px solid;border-color:var(--primary-light-color);border-radius:0 0 var(--border-radius) var(--border-radius);outline:none;font-weight:700;background-color:var(--primary-light-color);color:var(--primary-color);cursor:pointer;transition:all .1s ease-in-out}.upload-text-cluster .send-button[data-v-c9d5339b]:has(.mdi-check-bold){border-color:var(--success-light-color);background-color:var(--success-light-color);color:var(--success-color)}.upload-text-cluster .send-button .mdi[data-v-c9d5339b]{font-size:1.5rem;line-height:1.5rem}.upload-text-cluster .send-button .upload-text-title[data-v-c9d5339b]{margin:0;font-size:1.5rem;line-height:1.5rem}@media (hover: hover){.upload-text-cluster:not(.disabled) .send-button[data-v-c9d5339b]:hover{border-color:var(--primary-color);background-color:var(--primary-color);color:var(--light-color)}.upload-text-cluster:not(.disabled) .send-button[data-v-c9d5339b]:has(.mdi-check-bold):hover{border-color:var(--success-color);background-color:var(--success-color);color:var(--light-color)}}@media (max-width: 768px){.upload-text-cluster[data-v-c9d5339b]{grid-column:1/2;grid-row:3/4}.upload-text-cluster .text-input[data-v-c9d5339b]{height:10rem}}.upload-file-cluster[data-v-acede28d]{grid-column:1/2;grid-row:1/2;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.5rem;border-color:var(--primary-color);border-width:2px;border-radius:var(--border-radius);border-style:solid;background-color:var(--primary-color);color:var(--light-color);cursor:pointer}.upload-file-cluster.disabled[data-v-acede28d]{border-color:var(--secondary-color);background-color:var(--secondary-color);color:var(--secondary-light-color);cursor:not-allowed}.upload-file-cluster .file-input[data-v-acede28d]{display:none}.upload-file-cluster .mdi[data-v-acede28d]{font-size:3rem;line-height:3rem}.upload-file-cluster .file-input-title[data-v-acede28d]{margin:0;font-size:1.5rem;font-weight:700;line-height:1.5rem;text-align:center}@media (hover: hover){.upload-file-cluster[data-v-acede28d]:not(.disabled):hover{border-color:var(--primary-dark-color);background-color:var(--primary-dark-color)}}.upload-photo-cluster[data-v-a386c348]{grid-column:2/3;grid-row:1/2;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.5rem 1rem!important;border-color:var(--primary-light-color);border-width:2px;border-radius:var(--border-radius);border-style:solid;background-color:var(--primary-light-color);color:var(--primary-color);cursor:pointer;transition:all .1s ease-in-out}.upload-photo-cluster.disabled[data-v-a386c348]{border-color:var(--secondary-light-color);background-color:var(--secondary-light-color);color:var(--secondary-color);cursor:not-allowed}@media (hover: hover){.upload-photo-cluster[data-v-a386c348]:not(.disabled):hover{border-color:var(--primary-color);background-color:var(--primary-color);color:var(--light-color)}}.upload-photo-cluster .mdi[data-v-a386c348]{font-size:3rem;font-weight:700;line-height:3rem}.upload-photo-cluster .upload-photo-title[data-v-a386c348]{display:none;margin:0;font-size:1.5rem;font-weight:700;line-height:1.5rem;text-align:center}.camera-display-cluster[data-v-a386c348]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;width:auto;border-radius:var(--border-radius);background-color:var(--primary-light-color);box-shadow:0 0 1rem #0000004d,0 0 .5rem #00000080;z-index:500}.camera-display-cluster button[data-v-a386c348]{position:absolute;border:none;z-index:20;cursor:pointer;transition:all .1s ease-in-out}.camera-display-cluster .close-button[data-v-a386c348]{top:2rem;right:2rem;font-size:2rem;background-color:transparent;color:var(--prime-color);z-index:504}@media (hover: hover){.camera-display-cluster .close-button[data-v-a386c348]:hover{color:var(--primary-dark-color)}}.camera-display-cluster .stream-display[data-v-a386c348]{width:auto;height:auto;max-width:94vw;max-height:94vh;border-radius:var(--border-radius);z-index:502}.camera-display-cluster .snapshot-button[data-v-a386c348]{width:4rem;height:4rem;bottom:2rem;left:50%;transform:translate(-50%);padding:0;border-radius:50%;font-size:2rem;line-height:0;background-color:var(--primary-color);color:var(--light-color);z-index:504}@media (hover: hover){.camera-display-cluster .snapshot-button[data-v-a386c348]:hover{background-color:var(--primary-dark-color)}}.camera-display-cluster .photo-display[data-v-a386c348]{width:auto;height:auto;max-width:94vw;max-height:94vh;border-radius:var(--border-radius);z-index:506}.camera-display-cluster .send-button[data-v-a386c348]{width:6rem;height:3rem;bottom:2rem;left:50%;transform:translate(-50%);border-radius:var(--border-radius);font-size:2rem;background-color:var(--primary-color);color:var(--light-color);z-index:508}.camera-display-cluster .send-button.mdi-check-bold[data-v-a386c348]{background-color:var(--success-color)}@media (hover: hover){.camera-display-cluster .send-button[data-v-a386c348]:hover{background-color:var(--primary-dark-color)}.camera-display-cluster .send-button.mdi-check-bold[data-v-a386c348]:hover{background-color:var(--success-color)}}@media (max-width: 768px){.upload-photo-cluster[data-v-a386c348]{grid-column:1/2;grid-row:2/3}.upload-photo-cluster .upload-photo-title[data-v-a386c348]{display:block}}.upload-cluster[data-v-ce8de059]{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;gap:.5rem;width:100%;z-index:400}.upload-cluster[data-v-ce8de059]>*{width:100%;border-radius:var(--border-radius);box-shadow:var(--box-shadow);transition:all .1s ease-in-out}@media (max-width: 768px){.upload-cluster[data-v-ce8de059]{grid-template-columns:1fr;grid-template-rows:auto auto auto}.upload-cluster[data-v-ce8de059]>*{width:100%}}.operation-cluster[data-v-b3ad3813]{grid-column:1/2;grid-row:1/2;display:flex;flex-direction:column;align-items:center;gap:4rem;z-index:300}@media (max-width: 1440px){.operation-cluster[data-v-b3ad3813]{grid-column:1/2;grid-row:1/3}}@media (max-width: 768px){.operation-cluster[data-v-b3ad3813]{grid-column:1/2;grid-row:1/2;gap:2rem}}.upload-item[data-v-22560d61]{display:flex;align-items:center;justify-content:center;gap:.25rem;width:100%;padding:.5rem 1rem;border-radius:var(--small-border-radius);text-decoration:none;cursor:pointer;transition:all .1s ease-in-out}.upload-item .mdi[data-v-22560d61]{align-self:flex-start;font-size:2.5rem;transition:all .1s ease-in-out}.upload-item .upload-item-detail[data-v-22560d61]{display:flex;flex-direction:column;gap:.5rem;margin:0 auto;width:100%}.upload-item .upload-item-detail p[data-v-22560d61]{margin:0;transition:all .1s ease-in-out}.upload-item .upload-item-detail p.upload-item-name[data-v-22560d61]{font-size:1.5rem;font-weight:700;word-break:break-all;line-break:anywhere}.upload-item .upload-item-detail p.upload-item-content[data-v-22560d61]{font-size:1.2rem;font-weight:500;word-break:break-all;line-break:anywhere}.upload-item .upload-item-detail .upload-item-progress[data-v-22560d61]{width:100%;height:.5rem;border:none;border-radius:var(--small-border-radius)}.upload-item .upload-item-detail img[data-v-22560d61],.upload-item .upload-item-detail video[data-v-22560d61]{width:100%;height:auto;border-radius:var(--small-border-radius);opacity:1;transition:all .1s ease-in-out}.upload-item.success[data-v-22560d61]{background-color:var(--success-light-color);color:var(--success-color)}.upload-item.success .upload-item-detail .upload-item-progress[data-v-22560d61]::-webkit-progress-value{background-color:var(--success-color);border-radius:.25rem;transition:all .1s ease-in-out}.upload-item.success .upload-item-detail .upload-item-progress[data-v-22560d61]::-webkit-progress-bar{background-color:transparent;border-radius:.25rem;transition:all .1s ease-in-out}.upload-item.success.text[data-v-22560d61],.upload-item.success.file[data-v-22560d61]{position:relative}@media (hover: hover){.upload-item.success.text[data-v-22560d61]:hover,.upload-item.success.file[data-v-22560d61]:hover{color:var(--success-semi-light-color)}.upload-item.success.text:hover .upload-item-detail .upload-item-progress[data-v-22560d61]::-webkit-progress-value,.upload-item.success.file:hover .upload-item-detail .upload-item-progress[data-v-22560d61]::-webkit-progress-value{background-color:var(--success-semi-light-color)}.upload-item.success.text:hover .upload-item-detail img[data-v-22560d61],.upload-item.success.file:hover .upload-item-detail img[data-v-22560d61]{opacity:.3}.upload-item.success.text:hover .copy-cover[data-v-22560d61],.upload-item.success.file:hover .copy-cover[data-v-22560d61]{opacity:1}}.upload-item.loading[data-v-22560d61]{background-color:var(--primary-light-color);color:var(--primary-color);cursor:not-allowed}.upload-item.loading .upload-item-detail .upload-item-progress[data-v-22560d61]::-webkit-progress-value{background-color:var(--primary-color);border-radius:.25rem;transition:all .1s ease-in-out}.upload-item.loading .upload-item-detail .upload-item-progress[data-v-22560d61]::-webkit-progress-bar{background-color:var(--light-color);border-radius:.25rem}.copy-cover[data-v-22560d61]{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;display:grid;place-content:center;font-size:1.5rem;background-color:transparent;color:var(--success-color);transition:all .1s ease-in-out}.copy-cover .mdi[data-v-22560d61]{height:100%}.copy-cover .mdi[data-v-22560d61]:before{display:grid;place-content:center;height:100%}.none-hover[data-v-22560d61]{align-self:flex-start}.upload-cluster[data-v-b5e41870]{grid-column:2/3;grid-row:1/2;display:flex;flex-direction:column;align-items:center;gap:.5rem;height:100%;width:100%;padding:1rem;border-radius:var(--border-radius);overflow-y:auto;background-color:var(--secondary-extra-light-color);backdrop-filter:var(--blur-effect);-webkit-backdrop-filter:var(--blur-effect)}.upload-cluster .upload-cluster-title[data-v-b5e41870]{display:flex;align-items:center;gap:.5rem}.upload-cluster .upload-cluster-title .mdi[data-v-b5e41870]{font-size:2.5rem;color:var(--secondary-color)}.upload-cluster .upload-cluster-title .upload-cluster-title-text[data-v-b5e41870]{font-size:2rem;font-weight:700;color:var(--secondary-color)}.upload-cluster .noting-to-upload-text[data-v-b5e41870]{font-size:1.5rem;color:var(--secondary-color)}@media (max-width: 1440px){.upload-cluster[data-v-b5e41870]{grid-column:2/3;grid-row:1/2}}@media (max-width: 768px){.upload-cluster[data-v-b5e41870]{grid-column:1/2;grid-row:2/3}}.download-item[data-v-5ed08d2f]{display:flex;align-items:center;justify-content:center;gap:.25rem;width:100%;padding:.5rem 1rem;border-radius:var(--small-border-radius);text-decoration:none;cursor:pointer;transition:all .1s ease-in-out}.download-item .mdi[data-v-5ed08d2f]{align-self:flex-start;font-size:2.5rem;transition:all .1s ease-in-out}.download-item .download-item-detail[data-v-5ed08d2f]{display:flex;flex-direction:column;gap:.5rem;margin:0 auto;width:100%}.download-item .download-item-detail p[data-v-5ed08d2f]{margin:0;transition:all .1s ease-in-out}.download-item .download-item-detail p.download-item-name[data-v-5ed08d2f]{font-size:1.5rem;font-weight:700;word-break:break-all;line-break:anywhere}.download-item .download-item-detail p.download-item-content[data-v-5ed08d2f]{font-size:1.2rem;font-weight:500;word-break:break-all;line-break:anywhere}.download-item .download-item-detail .download-item-progress[data-v-5ed08d2f]{width:100%;height:.5rem;border:none;border-radius:var(--small-border-radius)}.download-item .download-item-detail img[data-v-5ed08d2f],.download-item .download-item-detail video[data-v-5ed08d2f]{width:100%;height:auto;border-radius:var(--small-border-radius);opacity:1;transition:all .1s ease-in-out}.download-item.success[data-v-5ed08d2f]{background-color:var(--success-light-color);color:var(--success-color)}.download-item.success .download-item-detail .download-item-progress[data-v-5ed08d2f]::-webkit-progress-value{background-color:var(--success-color);border-radius:.25rem;transition:all .1s ease-in-out}.download-item.success .download-item-detail .download-item-progress[data-v-5ed08d2f]::-webkit-progress-bar{background-color:transparent;border-radius:.25rem;transition:all .1s ease-in-out}.download-item.success.text[data-v-5ed08d2f],.download-item.success.file[data-v-5ed08d2f]{position:relative}@media (hover: hover){.download-item.success.text[data-v-5ed08d2f]:hover,.download-item.success.file[data-v-5ed08d2f]:hover{color:var(--success-semi-light-color)}.download-item.success.text:hover .download-item-detail .download-item-progress[data-v-5ed08d2f]::-webkit-progress-value,.download-item.success.file:hover .download-item-detail .download-item-progress[data-v-5ed08d2f]::-webkit-progress-value{background-color:var(--success-semi-light-color)}.download-item.success.text:hover .download-item-detail img[data-v-5ed08d2f],.download-item.success.file:hover .download-item-detail img[data-v-5ed08d2f]{opacity:.3}.download-item.success.text:hover .copy-cover[data-v-5ed08d2f],.download-item.success.file:hover .copy-cover[data-v-5ed08d2f]{opacity:1}}.download-item.loading[data-v-5ed08d2f]{background-color:var(--primary-light-color);color:var(--primary-color);cursor:not-allowed}.download-item.loading .download-item-detail .download-item-progress[data-v-5ed08d2f]::-webkit-progress-value{background-color:var(--primary-color);border-radius:.25rem;transition:all .1s ease-in-out}.download-item.loading .download-item-detail .download-item-progress[data-v-5ed08d2f]::-webkit-progress-bar{background-color:var(--light-color);border-radius:.25rem}.copy-cover[data-v-5ed08d2f]{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;display:grid;place-content:center;font-size:1.5rem;background-color:transparent;color:var(--success-color);transition:all .1s ease-in-out}.copy-cover .mdi[data-v-5ed08d2f]{height:100%}.copy-cover .mdi[data-v-5ed08d2f]:before{display:grid;place-content:center;height:100%}.none-hover[data-v-5ed08d2f]{align-self:flex-start}.download-cluster[data-v-2dba2b30]{grid-column:3/4;grid-row:1/2;display:flex;flex-direction:column;align-items:center;gap:.5rem;height:100%;padding:1rem;border-radius:var(--border-radius);overflow-y:auto;background-color:var(--secondary-extra-light-color);backdrop-filter:var(--blur-effect);-webkit-backdrop-filter:var(--blur-effect)}.download-cluster .download-cluster-title[data-v-2dba2b30]{display:flex;align-items:center;gap:.5rem}.download-cluster .download-cluster-title .mdi[data-v-2dba2b30]{font-size:2.5rem;color:var(--secondary-color)}.download-cluster .download-cluster-title .download-cluster-title-text[data-v-2dba2b30]{font-size:2rem;font-weight:700;color:var(--secondary-color)}.download-cluster .noting-to-download-text[data-v-2dba2b30]{font-size:1.5rem;color:var(--secondary-color)}@media (max-width: 1440px){.download-cluster[data-v-2dba2b30]{grid-column:2/3;grid-row:2/3}}@media (max-width: 768px){.download-cluster[data-v-2dba2b30]{grid-column:1/2;grid-row:3/4}}footer[data-v-cd00c0b7]{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:1rem}footer p[data-v-cd00c0b7]{margin:0;padding:0;font-size:1.2rem;text-align:center;color:var(--secondary-color)}footer p a[data-v-cd00c0b7]{color:var(--primary-color);text-decoration:none;transition:all .1s ease-in-out}@media (hover: hover){footer p a[data-v-cd00c0b7]:hover{color:var(--primary-dark-color);text-decoration:underline}}#app-content[data-v-e68b6bcc]{display:flex;align-items:start;justify-content:center;width:100%;min-height:40vh;z-index:0}.app-cluster[data-v-e68b6bcc]{display:grid;grid-template-columns:1fr 1fr 1fr;grid-template-rows:auto;gap:2rem;width:min(96vw,120rem);margin:2rem 2vw}.app-cluster[data-v-e68b6bcc]>*{width:calc((min(96vw,120rem) - 4rem) / 3)}@media (max-width: 1440px){.app-cluster[data-v-e68b6bcc]{grid-template-columns:1fr 1fr;grid-template-rows:auto auto}.app-cluster[data-v-e68b6bcc]>*{width:calc((min(96vw,120rem) - 2rem)/2)}}@media (max-width: 768px){.app-cluster[data-v-e68b6bcc]{grid-template-columns:1fr;grid-template-rows:auto auto auto;gap:4rem}.app-cluster[data-v-e68b6bcc]>*{width:96vw}} diff --git a/index.html b/index.html index c1e3972..b8cb36a 100644 --- a/index.html +++ b/index.html @@ -42,8 +42,8 @@ content="EasyTransfer is a free, anonymous, encrypted, and easy-to-use E2EE file transfer tool. You only need to visit a simple web page to connect to any device in any network using a device code. It is built using webRTC and Vue.js. What makes EasyTransfer different? It's these features: 🫣 Anonymous: No need to register an account, log in, or provide any personal information 🔒 Encrypted: Default encryption ensures the security of file transfer 🔄 End-to-end: Files are transferred directly from the sender to the receiver without going through the server1 🌐 Cross-network: Supports file transfer between LAN and WAN 🛠️ Easy to use: Connect devices using a four-digit device code, without any extra operations 📎 Multimedia messages: Supports sending text and various file types, and also supports sending photos ⚙️ Custom settings: All modules can be customized and deployed by yourself" /> - - + +