diff --git a/assets/index-Da_YUUKP.js b/assets/index-DxkevBRi.js similarity index 74% rename from assets/index-Da_YUUKP.js rename to assets/index-DxkevBRi.js index 3656a95..cb51cc4 100644 --- a/assets/index-Da_YUUKP.js +++ b/assets/index-DxkevBRi.js @@ -1,4 +1,4 @@ (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const l of o)if(l.type==="childList")for(const a of l.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const l={};return o.integrity&&(l.integrity=o.integrity),o.referrerPolicy&&(l.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?l.credentials="include":o.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(o){if(o.ep)return;o.ep=!0;const l=n(o);fetch(o.href,l)}})();function Rr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ue={},Pt=[],Ge=()=>{},Ps=()=>!1,Dn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Nr=e=>e.startsWith("onUpdate:"),xe=Object.assign,Pr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ls=Object.prototype.hasOwnProperty,le=(e,t)=>Ls.call(e,t),Y=Array.isArray,Ht=e=>kn(e)==="[object Map]",Ms=e=>kn(e)==="[object Set]",Z=e=>typeof e=="function",we=e=>typeof e=="string",Dt=e=>typeof e=="symbol",ye=e=>e!==null&&typeof e=="object",no=e=>(ye(e)||Z(e))&&Z(e.then)&&Z(e.catch),js=Object.prototype.toString,kn=e=>js.call(e),Ds=e=>kn(e).slice(8,-1),ks=e=>kn(e)==="[object Object]",Lr=e=>we(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Kt=Rr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Un=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Us=/-(\w)/g,ut=Un(e=>e.replace(Us,(t,n)=>n?n.toUpperCase():"")),Vs=/\B([A-Z])/g,Bt=Un(e=>e.replace(Vs,"-$1").toLowerCase()),ro=Un(e=>e.charAt(0).toUpperCase()+e.slice(1)),Zn=Un(e=>e?`on${ro(e)}`:""),ct=(e,t)=>!Object.is(e,t),_n=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},hr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},$s=e=>{const t=we(e)?Number(e):NaN;return isNaN(t)?e:t};let Xr;const Vn=()=>Xr||(Xr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Mr(e){if(Y(e)){const t={};for(let n=0;n{if(n){const r=n.split(Hs);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function jr(e){let t="";if(we(e))t=e;else if(Y(e))for(let n=0;n0)return;if(Gt){let t=Gt;for(Gt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;qt;){let t=qt;for(qt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function uo(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function fo(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Ur(r),Zs(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function pr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ho(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ho(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===en))return;e.globalVersion=en;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!pr(e)){e.flags&=-3;return}const n=he,r=ke;he=e,ke=!0;try{uo(e);const o=e.fn(e._value);(t.version===0||ct(o,e._value))&&(e._value=o,t.version++)}catch(o){throw t.version++,o}finally{he=n,ke=r,fo(e),e.flags&=-3}}function Ur(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let l=n.computed.deps;l;l=l.nextDep)Ur(l,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Zs(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let ke=!0;const po=[];function ht(){po.push(ke),ke=!1}function pt(){const e=po.pop();ke=e===void 0?!0:e}function ei(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=he;he=void 0;try{t()}finally{he=n}}}let en=0;class Qs{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class $n{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(!he||!ke||he===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==he)n=this.activeLink=new Qs(he,this),he.deps?(n.prevDep=he.depsTail,he.depsTail.nextDep=n,he.depsTail=n):he.deps=he.depsTail=n,go(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=he.depsTail,n.nextDep=void 0,he.depsTail.nextDep=n,he.depsTail=n,he.deps===n&&(he.deps=r)}return n}trigger(t){this.version++,en++,this.notify(t)}notify(t){Dr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{kr()}}}function go(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)go(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const An=new WeakMap,Ct=Symbol(""),gr=Symbol(""),tn=Symbol("");function Ce(e,t,n){if(ke&&he){let r=An.get(e);r||An.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new $n),o.map=r,o.key=n),o.track()}}function Ze(e,t,n,r,o,l){const a=An.get(e);if(!a){en++;return}const c=d=>{d&&d.trigger()};if(Dr(),t==="clear")a.forEach(c);else{const d=Y(e),g=d&&Lr(n);if(d&&n==="length"){const h=Number(r);a.forEach((b,E)=>{(E==="length"||E===tn||!Dt(E)&&E>=h)&&c(b)})}else switch((n!==void 0||a.has(void 0))&&c(a.get(n)),g&&c(a.get(tn)),t){case"add":d?g&&c(a.get("length")):(c(a.get(Ct)),Ht(e)&&c(a.get(gr)));break;case"delete":d||(c(a.get(Ct)),Ht(e)&&c(a.get(gr)));break;case"set":Ht(e)&&c(a.get(Ct));break}}kr()}function Xs(e,t){const n=An.get(e);return n&&n.get(t)}function Ft(e){const t=se(e);return t===e?t:(Ce(t,"iterate",tn),Ue(e)?t:t.map(Ie))}function Vr(e){return Ce(e=se(e),"iterate",tn),e}const el={__proto__:null,[Symbol.iterator](){return Xn(this,Symbol.iterator,Ie)},concat(...e){return Ft(this).concat(...e.map(t=>Y(t)?Ft(t):t))},entries(){return Xn(this,"entries",e=>(e[1]=Ie(e[1]),e))},every(e,t){return Je(this,"every",e,t,void 0,arguments)},filter(e,t){return Je(this,"filter",e,t,n=>n.map(Ie),arguments)},find(e,t){return Je(this,"find",e,t,Ie,arguments)},findIndex(e,t){return Je(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Je(this,"findLast",e,t,Ie,arguments)},findLastIndex(e,t){return Je(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Je(this,"forEach",e,t,void 0,arguments)},includes(...e){return er(this,"includes",e)},indexOf(...e){return er(this,"indexOf",e)},join(e){return Ft(this).join(e)},lastIndexOf(...e){return er(this,"lastIndexOf",e)},map(e,t){return Je(this,"map",e,t,void 0,arguments)},pop(){return Ut(this,"pop")},push(...e){return Ut(this,"push",e)},reduce(e,...t){return ti(this,"reduce",e,t)},reduceRight(e,...t){return ti(this,"reduceRight",e,t)},shift(){return Ut(this,"shift")},some(e,t){return Je(this,"some",e,t,void 0,arguments)},splice(...e){return Ut(this,"splice",e)},toReversed(){return Ft(this).toReversed()},toSorted(e){return Ft(this).toSorted(e)},toSpliced(...e){return Ft(this).toSpliced(...e)},unshift(...e){return Ut(this,"unshift",e)},values(){return Xn(this,"values",Ie)}};function Xn(e,t,n){const r=Vr(e),o=r[t]();return r!==e&&!Ue(e)&&(o._next=o.next,o.next=()=>{const l=o._next();return l.value&&(l.value=n(l.value)),l}),o}const tl=Array.prototype;function Je(e,t,n,r,o,l){const a=Vr(e),c=a!==e&&!Ue(e),d=a[t];if(d!==tl[t]){const b=d.apply(e,l);return c?Ie(b):b}let g=n;a!==e&&(c?g=function(b,E){return n.call(this,Ie(b),E,e)}:n.length>2&&(g=function(b,E){return n.call(this,b,E,e)}));const h=d.call(a,g,r);return c&&o?o(h):h}function ti(e,t,n,r){const o=Vr(e);let l=n;return o!==e&&(Ue(e)?n.length>3&&(l=function(a,c,d){return n.call(this,a,c,d,e)}):l=function(a,c,d){return n.call(this,a,Ie(c),d,e)}),o[t](l,...r)}function er(e,t,n){const r=se(e);Ce(r,"iterate",tn);const o=r[t](...n);return(o===-1||o===!1)&&Hr(n[0])?(n[0]=se(n[0]),r[t](...n)):o}function Ut(e,t,n=[]){ht(),Dr();const r=se(e)[t].apply(e,n);return kr(),pt(),r}const nl=Rr("__proto__,__v_isRef,__isVue"),mo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Dt));function rl(e){Dt(e)||(e=String(e));const t=se(this);return Ce(t,"has",e),t.hasOwnProperty(e)}class yo{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,l=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return l;if(n==="__v_raw")return r===(o?l?hl:_o:l?vo:wo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=Y(t);if(!o){let d;if(a&&(d=el[n]))return d;if(n==="hasOwnProperty")return rl}const c=Reflect.get(t,n,_e(t)?t:r);return(Dt(n)?mo.has(n):nl(n))||(o||Ce(t,"get",n),l)?c:_e(c)?a&&Lr(n)?c:c.value:ye(c)?o?Tt(c):Mt(c):c}}class bo extends yo{constructor(t=!1){super(!1,t)}set(t,n,r,o){let l=t[n];if(!this._isShallow){const d=It(l);if(!Ue(r)&&!It(r)&&(l=se(l),r=se(r)),!Y(t)&&_e(l)&&!_e(r))return d?!1:(l.value=r,!0)}const a=Y(t)&&Lr(n)?Number(n)e,pn=e=>Reflect.getPrototypeOf(e);function cl(e,t,n){return function(...r){const o=this.__v_raw,l=se(o),a=Ht(l),c=e==="entries"||e===Symbol.iterator&&a,d=e==="keys"&&a,g=o[e](...r),h=n?mr:t?yr:Ie;return!t&&Ce(l,"iterate",d?gr:Ct),{next(){const{value:b,done:E}=g.next();return E?{value:b,done:E}:{value:c?[h(b[0]),h(b[1])]:h(b),done:E}},[Symbol.iterator](){return this}}}}function gn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function al(e,t){const n={get(o){const l=this.__v_raw,a=se(l),c=se(o);e||(ct(o,c)&&Ce(a,"get",o),Ce(a,"get",c));const{has:d}=pn(a),g=t?mr:e?yr:Ie;if(d.call(a,o))return g(l.get(o));if(d.call(a,c))return g(l.get(c));l!==a&&l.get(o)},get size(){const o=this.__v_raw;return!e&&Ce(se(o),"iterate",Ct),Reflect.get(o,"size",o)},has(o){const l=this.__v_raw,a=se(l),c=se(o);return e||(ct(o,c)&&Ce(a,"has",o),Ce(a,"has",c)),o===c?l.has(o):l.has(o)||l.has(c)},forEach(o,l){const a=this,c=a.__v_raw,d=se(c),g=t?mr:e?yr:Ie;return!e&&Ce(d,"iterate",Ct),c.forEach((h,b)=>o.call(l,g(h),g(b),a))}};return xe(n,e?{add:gn("add"),set:gn("set"),delete:gn("delete"),clear:gn("clear")}:{add(o){!t&&!Ue(o)&&!It(o)&&(o=se(o));const l=se(this);return pn(l).has.call(l,o)||(l.add(o),Ze(l,"add",o,o)),this},set(o,l){!t&&!Ue(l)&&!It(l)&&(l=se(l));const a=se(this),{has:c,get:d}=pn(a);let g=c.call(a,o);g||(o=se(o),g=c.call(a,o));const h=d.call(a,o);return a.set(o,l),g?ct(l,h)&&Ze(a,"set",o,l):Ze(a,"add",o,l),this},delete(o){const l=se(this),{has:a,get:c}=pn(l);let d=a.call(l,o);d||(o=se(o),d=a.call(l,o)),c&&c.call(l,o);const g=l.delete(o);return d&&Ze(l,"delete",o,void 0),g},clear(){const o=se(this),l=o.size!==0,a=o.clear();return l&&Ze(o,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=cl(o,e,t)}),n}function $r(e,t){const n=al(e,t);return(r,o,l)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(le(n,o)&&o in r?n:r,o,l)}const ul={get:$r(!1,!1)},fl={get:$r(!1,!0)},dl={get:$r(!0,!1)};const wo=new WeakMap,vo=new WeakMap,_o=new WeakMap,hl=new WeakMap;function pl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function gl(e){return e.__v_skip||!Object.isExtensible(e)?0:pl(Ds(e))}function Mt(e){return It(e)?e:Wr(e,!1,ol,ul,wo)}function ml(e){return Wr(e,!1,ll,fl,vo)}function Tt(e){return Wr(e,!0,sl,dl,_o)}function Wr(e,t,n,r,o){if(!ye(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const l=o.get(e);if(l)return l;const a=gl(e);if(a===0)return e;const c=new Proxy(e,a===2?r:n);return o.set(e,c),c}function Jt(e){return It(e)?Jt(e.__v_raw):!!(e&&e.__v_isReactive)}function It(e){return!!(e&&e.__v_isReadonly)}function Ue(e){return!!(e&&e.__v_isShallow)}function Hr(e){return e?!!e.__v_raw:!1}function se(e){const t=e&&e.__v_raw;return t?se(t):e}function yl(e){return!le(e,"__v_skip")&&Object.isExtensible(e)&&io(e,"__v_skip",!0),e}const Ie=e=>ye(e)?Mt(e):e,yr=e=>ye(e)?Tt(e):e;function _e(e){return e?e.__v_isRef===!0:!1}function ee(e){return xo(e,!1)}function bl(e){return xo(e,!0)}function xo(e,t){return _e(e)?e:new wl(e,t)}class wl{constructor(t,n){this.dep=new $n,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:se(t),this._value=n?t:Ie(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Ue(t)||It(t);t=r?t:se(t),ct(t,n)&&(this._rawValue=t,this._value=r?t:Ie(t),this.dep.trigger())}}function zt(e){return _e(e)?e.value:e}function nn(e){return Z(e)?e():zt(e)}const vl={get:(e,t,n)=>t==="__v_raw"?e:zt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return _e(o)&&!_e(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Eo(e){return Jt(e)?e:new Proxy(e,vl)}class _l{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new $n,{get:r,set:o}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function xl(e){return new _l(e)}class El{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Xs(se(this._object),this._key)}}class Cl{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 Sl(e,t,n){return _e(e)?e:Z(e)?new Cl(e):ye(e)&&arguments.length>1?Al(e,t,n):ee(e)}function Al(e,t,n){const r=e[t];return _e(r)?r:new El(e,t,n)}class Tl{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new $n(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=en-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&he!==this)return ao(this,!0),!0}get value(){const t=this.dep.track();return ho(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Il(e,t,n=!1){let r,o;return Z(e)?r=e:(r=e.get,o=e.set),new Tl(r,o,n)}const mn={},Tn=new WeakMap;let vt;function Bl(e,t=!1,n=vt){if(n){let r=Tn.get(n);r||Tn.set(n,r=[]),r.push(e)}}function Ol(e,t,n=ue){const{immediate:r,deep:o,once:l,scheduler:a,augmentJob:c,call:d}=n,g=x=>o?x:Ue(x)||o===!1||o===0?Qe(x,1):Qe(x);let h,b,E,_,T=!1,S=!1;if(_e(e)?(b=()=>e.value,T=Ue(e)):Jt(e)?(b=()=>g(e),T=!0):Y(e)?(S=!0,T=e.some(x=>Jt(x)||Ue(x)),b=()=>e.map(x=>{if(_e(x))return x.value;if(Jt(x))return g(x);if(Z(x))return d?d(x,2):x()})):Z(e)?t?b=d?()=>d(e,2):e:b=()=>{if(E){ht();try{E()}finally{pt()}}const x=vt;vt=h;try{return d?d(e,3,[_]):e(_)}finally{vt=x}}:b=Ge,t&&o){const x=b,P=o===!0?1/0:o;b=()=>Qe(x(),P)}const R=so(),L=()=>{h.stop(),R&&R.active&&Pr(R.effects,h)};if(l&&t){const x=t;t=(...P)=>{x(...P),L()}}let I=S?new Array(e.length).fill(mn):mn;const v=x=>{if(!(!(h.flags&1)||!h.dirty&&!x))if(t){const P=h.run();if(o||T||(S?P.some((q,z)=>ct(q,I[z])):ct(P,I))){E&&E();const q=vt;vt=h;try{const z=[P,I===mn?void 0:S&&I[0]===mn?[]:I,_];d?d(t,3,z):t(...z),I=P}finally{vt=q}}}else h.run()};return c&&c(v),h=new lo(b),h.scheduler=a?()=>a(v,!1):v,_=x=>Bl(x,!1,h),E=h.onStop=()=>{const x=Tn.get(h);if(x){if(d)d(x,4);else for(const P of x)P();Tn.delete(h)}},t?r?v(!0):I=h.run():a?a(v.bind(null,!0),!0):h.run(),L.pause=h.pause.bind(h),L.resume=h.resume.bind(h),L.stop=L,L}function Qe(e,t=1/0,n){if(t<=0||!ye(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,_e(e))Qe(e.value,t,n);else if(Y(e))for(let r=0;r{Qe(r,t,n)});else if(ks(e)){for(const r in e)Qe(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Qe(e[r],t,n)}return e}function an(e,t,n,r){try{return r?e(...r):e()}catch(o){Wn(o,t,n)}}function Ve(e,t,n,r){if(Z(e)){const o=an(e,t,n,r);return o&&no(o)&&o.catch(l=>{Wn(l,t,n)}),o}if(Y(e)){const o=[];for(let l=0;l>>1,o=Be[r],l=rn(o);l=rn(n)?Be.push(e):Be.splice(Rl(t),0,e),e.flags|=1,So()}}function So(){In||(In=Co.then(To))}function Nl(e){Y(e)?Lt.push(...e):ot&&e.id===-1?ot.splice(Rt+1,0,e):e.flags&1||(Lt.push(e),e.flags|=1),So()}function ni(e,t,n=He+1){for(;nrn(n)-rn(r));if(Lt.length=0,ot){ot.push(...t);return}for(ot=t,Rt=0;Rte.id==null?e.flags&2?-1:1/0:e.id;function To(e){try{for(He=0;He{r._d&&di(-1);const l=Bn(t);let a;try{a=e(...o)}finally{Bn(l),r._d&&di(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function Pl(e,t){if(Fe===null)return e;const n=zn(Fe),r=e.dirs||(e.dirs=[]);for(let o=0;oe.__isTeleport,st=Symbol("_leaveCb"),yn=Symbol("_enterCb");function Ml(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return un(()=>{e.isMounted=!0}),jo(()=>{e.isUnmounting=!0}),e}const je=[Function,Array],Oo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:je,onEnter:je,onAfterEnter:je,onEnterCancelled:je,onBeforeLeave:je,onLeave:je,onAfterLeave:je,onLeaveCancelled:je,onBeforeAppear:je,onAppear:je,onAfterAppear:je,onAppearCancelled:je},Fo=e=>{const t=e.subTree;return t.component?Fo(t.component):t},jl={name:"BaseTransition",props:Oo,setup(e,{slots:t}){const n=Jn(),r=Ml();return()=>{const o=t.default&&Po(t.default(),!0);if(!o||!o.length)return;const l=Ro(o),a=se(e),{mode:c}=a;if(r.isLeaving)return tr(l);const d=ri(l);if(!d)return tr(l);let g=wr(d,a,r,n,b=>g=b);d.type!==Oe&&on(d,g);let h=n.subTree&&ri(n.subTree);if(h&&h.type!==Oe&&!Et(d,h)&&Fo(n).type!==Oe){let b=wr(h,a,r,n);if(on(h,b),c==="out-in"&&d.type!==Oe)return r.isLeaving=!0,b.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete b.afterLeave,h=void 0},tr(l);c==="in-out"&&d.type!==Oe?b.delayLeave=(E,_,T)=>{const S=No(r,h);S[String(h.key)]=h,E[st]=()=>{_(),E[st]=void 0,delete g.delayedLeave,h=void 0},g.delayedLeave=()=>{T(),delete g.delayedLeave,h=void 0}}:h=void 0}else h&&(h=void 0);return l}}};function Ro(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Oe){t=n;break}}return t}const Dl=jl;function No(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function wr(e,t,n,r,o){const{appear:l,mode:a,persisted:c=!1,onBeforeEnter:d,onEnter:g,onAfterEnter:h,onEnterCancelled:b,onBeforeLeave:E,onLeave:_,onAfterLeave:T,onLeaveCancelled:S,onBeforeAppear:R,onAppear:L,onAfterAppear:I,onAppearCancelled:v}=t,x=String(e.key),P=No(n,e),q=(W,V)=>{W&&Ve(W,r,9,V)},z=(W,V)=>{const G=V[1];q(W,V),Y(W)?W.every(M=>M.length<=1)&&G():W.length<=1&&G()},Q={mode:a,persisted:c,beforeEnter(W){let V=d;if(!n.isMounted)if(l)V=R||d;else return;W[st]&&W[st](!0);const G=P[x];G&&Et(e,G)&&G.el[st]&&G.el[st](),q(V,[W])},enter(W){let V=g,G=h,M=b;if(!n.isMounted)if(l)V=L||g,G=I||h,M=v||b;else return;let re=!1;const fe=W[yn]=Se=>{re||(re=!0,Se?q(M,[W]):q(G,[W]),Q.delayedLeave&&Q.delayedLeave(),W[yn]=void 0)};V?z(V,[W,fe]):fe()},leave(W,V){const G=String(e.key);if(W[yn]&&W[yn](!0),n.isUnmounting)return V();q(E,[W]);let M=!1;const re=W[st]=fe=>{M||(M=!0,V(),fe?q(S,[W]):q(T,[W]),W[st]=void 0,P[G]===e&&delete P[G])};P[G]=e,_?z(_,[W,re]):re()},clone(W){const V=wr(W,t,n,r,o);return o&&o(V),V}};return Q}function tr(e){if(Hn(e))return e=ft(e),e.children=null,e}function ri(e){if(!Hn(e))return Bo(e.type)&&e.children?Ro(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Z(n.default))return n.default()}}function on(e,t){e.shapeFlag&6&&e.component?(e.transition=t,on(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Po(e,t=!1,n){let r=[],o=0;for(let l=0;l1)for(let l=0;lOn(T,t&&(Y(t)?t[S]:t),n,r,o));return}if(Yt(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&On(e,t,n,r.component.subTree);return}const l=r.shapeFlag&4?zn(r.component):r.el,a=o?null:l,{i:c,r:d}=e,g=t&&t.r,h=c.refs===ue?c.refs={}:c.refs,b=c.setupState,E=se(b),_=b===ue?()=>!1:T=>le(E,T);if(g!=null&&g!==d&&(we(g)?(h[g]=null,_(g)&&(b[g]=null)):_e(g)&&(g.value=null)),Z(d))an(d,c,12,[a,h]);else{const T=we(d),S=_e(d);if(T||S){const R=()=>{if(e.f){const L=T?_(d)?b[d]:h[d]:d.value;o?Y(L)&&Pr(L,l):Y(L)?L.includes(l)||L.push(l):T?(h[d]=[l],_(d)&&(b[d]=h[d])):(d.value=[l],e.k&&(h[e.k]=d.value))}else T?(h[d]=a,_(d)&&(b[d]=a)):S&&(d.value=a,e.k&&(h[e.k]=a))};a?(R.id=-1,Ne(R,n)):R()}}}Vn().requestIdleCallback;Vn().cancelIdleCallback;const Yt=e=>!!e.type.__asyncLoader,Hn=e=>e.type.__isKeepAlive;function Ul(e,t){Mo(e,"a",t)}function Vl(e,t){Mo(e,"da",t)}function Mo(e,t,n=Ee){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Kn(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Hn(o.parent.vnode)&&$l(r,t,n,o),o=o.parent}}function $l(e,t,n,r){const o=Kn(t,e,r,!0);Gr(()=>{Pr(r[t],o)},n)}function Kn(e,t,n=Ee,r=!1){if(n){const o=n[e]||(n[e]=[]),l=t.__weh||(t.__weh=(...a)=>{ht();const c=fn(n),d=Ve(t,n,e,a);return c(),pt(),d});return r?o.unshift(l):o.push(l),l}}const et=e=>(t,n=Ee)=>{(!ln||e==="sp")&&Kn(e,(...r)=>t(...r),n)},Wl=et("bm"),un=et("m"),Hl=et("bu"),Kl=et("u"),jo=et("bum"),Gr=et("um"),ql=et("sp"),Gl=et("rtg"),Jl=et("rtc");function zl(e,t=Ee){Kn("ec",e,t)}const Yl=Symbol.for("v-ndc"),vr=e=>e?ss(e)?zn(e):vr(e.parent):null,Zt=xe(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=>vr(e.parent),$root:e=>vr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ko(e),$forceUpdate:e=>e.f||(e.f=()=>{qr(e.update)}),$nextTick:e=>e.n||(e.n=Kr.bind(e.proxy)),$watch:e=>bc.bind(e)}),nr=(e,t)=>e!==ue&&!e.__isScriptSetup&&le(e,t),Zl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:l,accessCache:a,type:c,appContext:d}=e;let g;if(t[0]!=="$"){const _=a[t];if(_!==void 0)switch(_){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return l[t]}else{if(nr(r,t))return a[t]=1,r[t];if(o!==ue&&le(o,t))return a[t]=2,o[t];if((g=e.propsOptions[0])&&le(g,t))return a[t]=3,l[t];if(n!==ue&&le(n,t))return a[t]=4,n[t];_r&&(a[t]=0)}}const h=Zt[t];let b,E;if(h)return t==="$attrs"&&Ce(e.attrs,"get",""),h(e);if((b=c.__cssModules)&&(b=b[t]))return b;if(n!==ue&&le(n,t))return a[t]=4,n[t];if(E=d.config.globalProperties,le(E,t))return E[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:l}=e;return nr(o,t)?(o[t]=n,!0):r!==ue&&le(r,t)?(r[t]=n,!0):le(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(l[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:l}},a){let c;return!!n[a]||e!==ue&&le(e,a)||nr(t,a)||(c=l[0])&&le(c,a)||le(r,a)||le(Zt,a)||le(o.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:le(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ii(e){return Y(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let _r=!0;function Ql(e){const t=ko(e),n=e.proxy,r=e.ctx;_r=!1,t.beforeCreate&&oi(t.beforeCreate,e,"bc");const{data:o,computed:l,methods:a,watch:c,provide:d,inject:g,created:h,beforeMount:b,mounted:E,beforeUpdate:_,updated:T,activated:S,deactivated:R,beforeDestroy:L,beforeUnmount:I,destroyed:v,unmounted:x,render:P,renderTracked:q,renderTriggered:z,errorCaptured:Q,serverPrefetch:W,expose:V,inheritAttrs:G,components:M,directives:re,filters:fe}=t;if(g&&Xl(g,r,null),a)for(const ce in a){const oe=a[ce];Z(oe)&&(r[ce]=oe.bind(n))}if(o){const ce=o.call(n,n);ye(ce)&&(e.data=Mt(ce))}if(_r=!0,l)for(const ce in l){const oe=l[ce],Me=Z(oe)?oe.bind(n,n):Z(oe.get)?oe.get.bind(n,n):Ge,tt=!Z(oe)&&Z(oe.set)?oe.set.bind(n):Ge,de=Xe({get:Me,set:tt});Object.defineProperty(r,ce,{enumerable:!0,configurable:!0,get:()=>de.value,set:pe=>de.value=pe})}if(c)for(const ce in c)Do(c[ce],r,n,ce);if(d){const ce=Z(d)?d.call(n):d;Reflect.ownKeys(ce).forEach(oe=>{oc(oe,ce[oe])})}h&&oi(h,e,"c");function me(ce,oe){Y(oe)?oe.forEach(Me=>ce(Me.bind(n))):oe&&ce(oe.bind(n))}if(me(Wl,b),me(un,E),me(Hl,_),me(Kl,T),me(Ul,S),me(Vl,R),me(zl,Q),me(Jl,q),me(Gl,z),me(jo,I),me(Gr,x),me(ql,W),Y(V))if(V.length){const ce=e.exposed||(e.exposed={});V.forEach(oe=>{Object.defineProperty(ce,oe,{get:()=>n[oe],set:Me=>n[oe]=Me})})}else e.exposed||(e.exposed={});P&&e.render===Ge&&(e.render=P),G!=null&&(e.inheritAttrs=G),M&&(e.components=M),re&&(e.directives=re),W&&Lo(e)}function Xl(e,t,n=Ge){Y(e)&&(e=xr(e));for(const r in e){const o=e[r];let l;ye(o)?"default"in o?l=Qt(o.from||r,o.default,!0):l=Qt(o.from||r):l=Qt(o),_e(l)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>l.value,set:a=>l.value=a}):t[r]=l}}function oi(e,t,n){Ve(Y(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Do(e,t,n,r){let o=r.includes(".")?es(n,r):()=>n[r];if(we(e)){const l=t[e];Z(l)&&at(o,l)}else if(Z(e))at(o,e.bind(n));else if(ye(e))if(Y(e))e.forEach(l=>Do(l,t,n,r));else{const l=Z(e.handler)?e.handler.bind(n):t[e.handler];Z(l)&&at(o,l,e)}}function ko(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:l,config:{optionMergeStrategies:a}}=e.appContext,c=l.get(t);let d;return c?d=c:!o.length&&!n&&!r?d=t:(d={},o.length&&o.forEach(g=>Fn(d,g,a,!0)),Fn(d,t,a)),ye(t)&&l.set(t,d),d}function Fn(e,t,n,r=!1){const{mixins:o,extends:l}=t;l&&Fn(e,l,n,!0),o&&o.forEach(a=>Fn(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const c=ec[a]||n&&n[a];e[a]=c?c(e[a],t[a]):t[a]}return e}const ec={data:si,props:li,emits:li,methods:Wt,computed:Wt,beforeCreate:Ae,created:Ae,beforeMount:Ae,mounted:Ae,beforeUpdate:Ae,updated:Ae,beforeDestroy:Ae,beforeUnmount:Ae,destroyed:Ae,unmounted:Ae,activated:Ae,deactivated:Ae,errorCaptured:Ae,serverPrefetch:Ae,components:Wt,directives:Wt,watch:nc,provide:si,inject:tc};function si(e,t){return t?e?function(){return xe(Z(e)?e.call(this,this):e,Z(t)?t.call(this,this):t)}:t:e}function tc(e,t){return Wt(xr(e),xr(t))}function xr(e){if(Y(e)){const t={};for(let n=0;n1)return n&&Z(t)?t.call(r&&r.proxy):t}}function Vo(){return!!(Ee||Fe||St)}const $o={},Wo=()=>Object.create($o),Ho=e=>Object.getPrototypeOf(e)===$o;function sc(e,t,n,r=!1){const o={},l=Wo();e.propsDefaults=Object.create(null),Ko(e,t,o,l);for(const a in e.propsOptions[0])a in o||(o[a]=void 0);n?e.props=r?o:ml(o):e.type.props?e.props=o:e.props=l,e.attrs=l}function lc(e,t,n,r){const{props:o,attrs:l,vnode:{patchFlag:a}}=e,c=se(o),[d]=e.propsOptions;let g=!1;if((r||a>0)&&!(a&16)){if(a&8){const h=e.vnode.dynamicProps;for(let b=0;b{d=!0;const[E,_]=qo(b,t,!0);xe(a,E),_&&c.push(..._)};!n&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}if(!l&&!d)return ye(e)&&r.set(e,Pt),Pt;if(Y(l))for(let h=0;he[0]==="_"||e==="$stable",Jr=e=>Y(e)?e.map(qe):[qe(e)],ac=(e,t,n)=>{if(t._n)return t;const r=br((...o)=>Jr(t(...o)),n);return r._c=!1,r},Jo=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Go(o))continue;const l=e[o];if(Z(l))t[o]=ac(o,l,r);else if(l!=null){const a=Jr(l);t[o]=()=>a}}},zo=(e,t)=>{const n=Jr(t);e.slots.default=()=>n},Yo=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},uc=(e,t,n)=>{const r=e.slots=Wo();if(e.vnode.shapeFlag&32){const o=t._;o?(Yo(r,t,n),n&&io(r,"_",o,!0)):Jo(t,r)}else t&&zo(e,t)},fc=(e,t,n)=>{const{vnode:r,slots:o}=e;let l=!0,a=ue;if(r.shapeFlag&32){const c=t._;c?n&&c===1?l=!1:Yo(o,t,n):(l=!t.$stable,Jo(t,o)),a=t}else t&&(zo(e,t),a={default:1});if(l)for(const c in o)!Go(c)&&a[c]==null&&delete o[c]},Ne=Sc;function dc(e){return hc(e)}function hc(e,t){const n=Vn();n.__VUE__=!0;const{insert:r,remove:o,patchProp:l,createElement:a,createText:c,createComment:d,setText:g,setElementText:h,parentNode:b,nextSibling:E,setScopeId:_=Ge,insertStaticContent:T}=e,S=(p,m,C,N=null,B=null,O=null,k=void 0,D=null,j=!!m.dynamicChildren)=>{if(p===m)return;p&&!Et(p,m)&&(N=gt(p),pe(p,B,O,!0),p=null),m.patchFlag===-2&&(j=!1,m.dynamicChildren=null);const{type:F,ref:$,shapeFlag:U}=m;switch(F){case Gn:R(p,m,C,N);break;case Oe:L(p,m,C,N);break;case ir:p==null&&I(m,C,N,k);break;case De:M(p,m,C,N,B,O,k,D,j);break;default:U&1?P(p,m,C,N,B,O,k,D,j):U&6?re(p,m,C,N,B,O,k,D,j):(U&64||U&128)&&F.process(p,m,C,N,B,O,k,D,j,rt)}$!=null&&B&&On($,p&&p.ref,O,m||p,!m)},R=(p,m,C,N)=>{if(p==null)r(m.el=c(m.children),C,N);else{const B=m.el=p.el;m.children!==p.children&&g(B,m.children)}},L=(p,m,C,N)=>{p==null?r(m.el=d(m.children||""),C,N):m.el=p.el},I=(p,m,C,N)=>{[p.el,p.anchor]=T(p.children,m,C,N,p.el,p.anchor)},v=({el:p,anchor:m},C,N)=>{let B;for(;p&&p!==m;)B=E(p),r(p,C,N),p=B;r(m,C,N)},x=({el:p,anchor:m})=>{let C;for(;p&&p!==m;)C=E(p),o(p),p=C;o(m)},P=(p,m,C,N,B,O,k,D,j)=>{m.type==="svg"?k="svg":m.type==="math"&&(k="mathml"),p==null?q(m,C,N,B,O,k,D,j):W(p,m,B,O,k,D,j)},q=(p,m,C,N,B,O,k,D)=>{let j,F;const{props:$,shapeFlag:U,transition:H,dirs:K}=p;if(j=p.el=a(p.type,O,$&&$.is,$),U&8?h(j,p.children):U&16&&Q(p.children,j,null,N,B,rr(p,O),k,D),K&&mt(p,null,N,"created"),z(j,p,p.scopeId,k,N),$){for(const u in $)u!=="value"&&!Kt(u)&&l(j,u,null,$[u],O,N);"value"in $&&l(j,"value",null,$.value,O),(F=$.onVnodeBeforeMount)&&We(F,N,p)}K&&mt(p,null,N,"beforeMount");const te=pc(B,H);te&&H.beforeEnter(j),r(j,m,C),((F=$&&$.onVnodeMounted)||te||K)&&Ne(()=>{F&&We(F,N,p),te&&H.enter(j),K&&mt(p,null,N,"mounted")},B)},z=(p,m,C,N,B)=>{if(C&&_(p,C),N)for(let O=0;O{for(let F=j;F{const D=m.el=p.el;let{patchFlag:j,dynamicChildren:F,dirs:$}=m;j|=p.patchFlag&16;const U=p.props||ue,H=m.props||ue;let K;if(C&&yt(C,!1),(K=H.onVnodeBeforeUpdate)&&We(K,C,m,p),$&&mt(m,p,C,"beforeUpdate"),C&&yt(C,!0),(U.innerHTML&&H.innerHTML==null||U.textContent&&H.textContent==null)&&h(D,""),F?V(p.dynamicChildren,F,D,C,N,rr(m,B),O):k||oe(p,m,D,null,C,N,rr(m,B),O,!1),j>0){if(j&16)G(D,U,H,C,B);else if(j&2&&U.class!==H.class&&l(D,"class",null,H.class,B),j&4&&l(D,"style",U.style,H.style,B),j&8){const te=m.dynamicProps;for(let u=0;u{K&&We(K,C,m,p),$&&mt(m,p,C,"updated")},N)},V=(p,m,C,N,B,O,k)=>{for(let D=0;D{if(m!==C){if(m!==ue)for(const O in m)!Kt(O)&&!(O in C)&&l(p,O,m[O],null,B,N);for(const O in C){if(Kt(O))continue;const k=C[O],D=m[O];k!==D&&O!=="value"&&l(p,O,D,k,B,N)}"value"in C&&l(p,"value",m.value,C.value,B)}},M=(p,m,C,N,B,O,k,D,j)=>{const F=m.el=p?p.el:c(""),$=m.anchor=p?p.anchor:c("");let{patchFlag:U,dynamicChildren:H,slotScopeIds:K}=m;K&&(D=D?D.concat(K):K),p==null?(r(F,C,N),r($,C,N),Q(m.children||[],C,$,B,O,k,D,j)):U>0&&U&64&&H&&p.dynamicChildren?(V(p.dynamicChildren,H,C,B,O,k,D),(m.key!=null||B&&m===B.subTree)&&Zo(p,m,!0)):oe(p,m,C,$,B,O,k,D,j)},re=(p,m,C,N,B,O,k,D,j)=>{m.slotScopeIds=D,p==null?m.shapeFlag&512?B.ctx.activate(m,C,N,k,j):fe(m,C,N,B,O,k,j):Se(p,m,j)},fe=(p,m,C,N,B,O,k)=>{const D=p.component=Nc(p,N,B);if(Hn(p)&&(D.ctx.renderer=rt),Pc(D,!1,k),D.asyncDep){if(B&&B.registerDep(D,me,k),!p.el){const j=D.subTree=ve(Oe);L(null,j,m,C)}}else me(D,p,m,C,B,O,k)},Se=(p,m,C)=>{const N=m.component=p.component;if(Ec(p,m,C))if(N.asyncDep&&!N.asyncResolved){ce(N,m,C);return}else N.next=m,N.update();else m.el=p.el,N.vnode=m},me=(p,m,C,N,B,O,k)=>{const D=()=>{if(p.isMounted){let{next:U,bu:H,u:K,parent:te,vnode:u}=p;{const w=Qo(p);if(w){U&&(U.el=u.el,ce(p,U,k)),w.asyncDep.then(()=>{p.isUnmounted||D()});return}}let i=U,s;yt(p,!1),U?(U.el=u.el,ce(p,U,k)):U=u,H&&_n(H),(s=U.props&&U.props.onVnodeBeforeUpdate)&&We(s,te,U,u),yt(p,!0);const f=ui(p),y=p.subTree;p.subTree=f,S(y,f,b(y.el),gt(y),p,B,O),U.el=f.el,i===null&&Cc(p,f.el),K&&Ne(K,B),(s=U.props&&U.props.onVnodeUpdated)&&Ne(()=>We(s,te,U,u),B)}else{let U;const{el:H,props:K}=m,{bm:te,m:u,parent:i,root:s,type:f}=p,y=Yt(m);yt(p,!1),te&&_n(te),!y&&(U=K&&K.onVnodeBeforeMount)&&We(U,i,m),yt(p,!0);{s.ce&&s.ce._injectChildStyle(f);const w=p.subTree=ui(p);S(null,w,C,N,p,B,O),m.el=w.el}if(u&&Ne(u,B),!y&&(U=K&&K.onVnodeMounted)){const w=m;Ne(()=>We(U,i,w),B)}(m.shapeFlag&256||i&&Yt(i.vnode)&&i.vnode.shapeFlag&256)&&p.a&&Ne(p.a,B),p.isMounted=!0,m=C=N=null}};p.scope.on();const j=p.effect=new lo(D);p.scope.off();const F=p.update=j.run.bind(j),$=p.job=j.runIfDirty.bind(j);$.i=p,$.id=p.uid,j.scheduler=()=>qr($),yt(p,!0),F()},ce=(p,m,C)=>{m.component=p;const N=p.vnode.props;p.vnode=m,p.next=null,lc(p,m.props,N,C),fc(p,m.children,C),ht(),ni(p),pt()},oe=(p,m,C,N,B,O,k,D,j=!1)=>{const F=p&&p.children,$=p?p.shapeFlag:0,U=m.children,{patchFlag:H,shapeFlag:K}=m;if(H>0){if(H&128){tt(F,U,C,N,B,O,k,D,j);return}else if(H&256){Me(F,U,C,N,B,O,k,D,j);return}}K&8?($&16&&nt(F,B,O),U!==F&&h(C,U)):$&16?K&16?tt(F,U,C,N,B,O,k,D,j):nt(F,B,O,!0):($&8&&h(C,""),K&16&&Q(U,C,N,B,O,k,D,j))},Me=(p,m,C,N,B,O,k,D,j)=>{p=p||Pt,m=m||Pt;const F=p.length,$=m.length,U=Math.min(F,$);let H;for(H=0;H$?nt(p,B,O,!0,!1,U):Q(m,C,N,B,O,k,D,j,U)},tt=(p,m,C,N,B,O,k,D,j)=>{let F=0;const $=m.length;let U=p.length-1,H=$-1;for(;F<=U&&F<=H;){const K=p[F],te=m[F]=j?lt(m[F]):qe(m[F]);if(Et(K,te))S(K,te,C,null,B,O,k,D,j);else break;F++}for(;F<=U&&F<=H;){const K=p[U],te=m[H]=j?lt(m[H]):qe(m[H]);if(Et(K,te))S(K,te,C,null,B,O,k,D,j);else break;U--,H--}if(F>U){if(F<=H){const K=H+1,te=K<$?m[K].el:N;for(;F<=H;)S(null,m[F]=j?lt(m[F]):qe(m[F]),C,te,B,O,k,D,j),F++}}else if(F>H)for(;F<=U;)pe(p[F],B,O,!0),F++;else{const K=F,te=F,u=new Map;for(F=te;F<=H;F++){const ne=m[F]=j?lt(m[F]):qe(m[F]);ne.key!=null&&u.set(ne.key,F)}let i,s=0;const f=H-te+1;let y=!1,w=0;const A=new Array(f);for(F=0;F=f){pe(ne,B,O,!0);continue}let ie;if(ne.key!=null)ie=u.get(ne.key);else for(i=te;i<=H;i++)if(A[i-te]===0&&Et(ne,m[i])){ie=i;break}ie===void 0?pe(ne,B,O,!0):(A[ie-te]=F+1,ie>=w?w=ie:y=!0,S(ne,m[ie],C,null,B,O,k,D,j),s++)}const X=y?gc(A):Pt;for(i=X.length-1,F=f-1;F>=0;F--){const ne=te+F,ie=m[ne],ge=ne+1<$?m[ne+1].el:N;A[F]===0?S(null,ie,C,ge,B,O,k,D,j):y&&(i<0||F!==X[i]?de(ie,C,ge,2):i--)}}},de=(p,m,C,N,B=null)=>{const{el:O,type:k,transition:D,children:j,shapeFlag:F}=p;if(F&6){de(p.component.subTree,m,C,N);return}if(F&128){p.suspense.move(m,C,N);return}if(F&64){k.move(p,m,C,rt);return}if(k===De){r(O,m,C);for(let U=0;UD.enter(O),B);else{const{leave:U,delayLeave:H,afterLeave:K}=D,te=()=>r(O,m,C),u=()=>{U(O,()=>{te(),K&&K()})};H?H(O,te,u):u()}else r(O,m,C)},pe=(p,m,C,N=!1,B=!1)=>{const{type:O,props:k,ref:D,children:j,dynamicChildren:F,shapeFlag:$,patchFlag:U,dirs:H,cacheIndex:K}=p;if(U===-2&&(B=!1),D!=null&&On(D,null,C,p,!0),K!=null&&(m.renderCache[K]=void 0),$&256){m.ctx.deactivate(p);return}const te=$&1&&H,u=!Yt(p);let i;if(u&&(i=k&&k.onVnodeBeforeUnmount)&&We(i,m,p),$&6)hn(p.component,C,N);else{if($&128){p.suspense.unmount(C,N);return}te&&mt(p,null,m,"beforeUnmount"),$&64?p.type.remove(p,m,C,rt,N):F&&!F.hasOnce&&(O!==De||U>0&&U&64)?nt(F,m,C,!1,!0):(O===De&&U&384||!B&&$&16)&&nt(j,m,C),N&&kt(p)}(u&&(i=k&&k.onVnodeUnmounted)||te)&&Ne(()=>{i&&We(i,m,p),te&&mt(p,null,m,"unmounted")},C)},kt=p=>{const{type:m,el:C,anchor:N,transition:B}=p;if(m===De){dn(C,N);return}if(m===ir){x(p);return}const O=()=>{o(C),B&&!B.persisted&&B.afterLeave&&B.afterLeave()};if(p.shapeFlag&1&&B&&!B.persisted){const{leave:k,delayLeave:D}=B,j=()=>k(C,O);D?D(p.el,O,j):j()}else O()},dn=(p,m)=>{let C;for(;p!==m;)C=E(p),o(p),p=C;o(m)},hn=(p,m,C)=>{const{bum:N,scope:B,job:O,subTree:k,um:D,m:j,a:F}=p;ai(j),ai(F),N&&_n(N),B.stop(),O&&(O.flags|=8,pe(k,p,m,C)),D&&Ne(D,m),Ne(()=>{p.isUnmounted=!0},m),m&&m.pendingBranch&&!m.isUnmounted&&p.asyncDep&&!p.asyncResolved&&p.suspenseId===m.pendingId&&(m.deps--,m.deps===0&&m.resolve())},nt=(p,m,C,N=!1,B=!1,O=0)=>{for(let k=O;k{if(p.shapeFlag&6)return gt(p.component.subTree);if(p.shapeFlag&128)return p.suspense.next();const m=E(p.anchor||p.el),C=m&&m[Ll];return C?E(C):m};let $e=!1;const Ot=(p,m,C)=>{p==null?m._vnode&&pe(m._vnode,null,null,!0):S(m._vnode||null,p,m,null,null,null,C),m._vnode=p,$e||($e=!0,ni(),Ao(),$e=!1)},rt={p:S,um:pe,m:de,r:kt,mt:fe,mc:Q,pc:oe,pbc:V,n:gt,o:e};return{render:Ot,hydrate:void 0,createApp:ic(Ot)}}function rr({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function yt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function pc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Zo(e,t,n=!1){const r=e.children,o=t.children;if(Y(r)&&Y(o))for(let l=0;l>1,e[n[c]]0&&(t[r]=n[l-1]),n[l]=r)}}for(l=n.length,a=n[l-1];l-- >0;)n[l]=a,a=t[a];return n}function Qo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Qo(t)}function ai(e){if(e)for(let t=0;tQt(mc);function Xo(e,t){return zr(e,null,t)}function at(e,t,n){return zr(e,t,n)}function zr(e,t,n=ue){const{immediate:r,deep:o,flush:l,once:a}=n,c=xe({},n),d=t&&r||!t&&l!=="post";let g;if(ln){if(l==="sync"){const _=yc();g=_.__watcherHandles||(_.__watcherHandles=[])}else if(!d){const _=()=>{};return _.stop=Ge,_.resume=Ge,_.pause=Ge,_}}const h=Ee;c.call=(_,T,S)=>Ve(_,h,T,S);let b=!1;l==="post"?c.scheduler=_=>{Ne(_,h&&h.suspense)}:l!=="sync"&&(b=!0,c.scheduler=(_,T)=>{T?_():qr(_)}),c.augmentJob=_=>{t&&(_.flags|=4),b&&(_.flags|=2,h&&(_.id=h.uid,_.i=h))};const E=Ol(e,t,c);return ln&&(g?g.push(E):d&&E()),E}function bc(e,t,n){const r=this.proxy,o=we(e)?e.includes(".")?es(r,e):()=>r[e]:e.bind(r,r);let l;Z(t)?l=t:(l=t.handler,n=t);const a=fn(this),c=zr(o,l.bind(r),n);return a(),c}function es(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;ot==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ut(t)}Modifiers`]||e[`${Bt(t)}Modifiers`];function vc(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ue;let o=n;const l=t.startsWith("update:"),a=l&&wc(r,t.slice(7));a&&(a.trim&&(o=n.map(h=>we(h)?h.trim():h)),a.number&&(o=n.map(hr)));let c,d=r[c=Zn(t)]||r[c=Zn(ut(t))];!d&&l&&(d=r[c=Zn(Bt(t))]),d&&Ve(d,e,6,o);const g=r[c+"Once"];if(g){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Ve(g,e,6,o)}}function ts(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const l=e.emits;let a={},c=!1;if(!Z(e)){const d=g=>{const h=ts(g,t,!0);h&&(c=!0,xe(a,h))};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}return!l&&!c?(ye(e)&&r.set(e,null),null):(Y(l)?l.forEach(d=>a[d]=null):xe(a,l),ye(e)&&r.set(e,a),a)}function qn(e,t){return!e||!Dn(t)?!1:(t=t.slice(2).replace(/Once$/,""),le(e,t[0].toLowerCase()+t.slice(1))||le(e,Bt(t))||le(e,t))}function ui(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[l],slots:a,attrs:c,emit:d,render:g,renderCache:h,props:b,data:E,setupState:_,ctx:T,inheritAttrs:S}=e,R=Bn(e);let L,I;try{if(n.shapeFlag&4){const x=o||r,P=x;L=qe(g.call(P,x,h,b,_,E,T)),I=c}else{const x=t;L=qe(x.length>1?x(b,{attrs:c,slots:a,emit:d}):x(b,null)),I=t.props?c:_c(c)}}catch(x){Xt.length=0,Wn(x,e,1),L=ve(Oe)}let v=L;if(I&&S!==!1){const x=Object.keys(I),{shapeFlag:P}=v;x.length&&P&7&&(l&&x.some(Nr)&&(I=xc(I,l)),v=ft(v,I,!1,!0))}return n.dirs&&(v=ft(v,null,!1,!0),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&on(v,n.transition),L=v,Bn(R),L}const _c=e=>{let t;for(const n in e)(n==="class"||n==="style"||Dn(n))&&((t||(t={}))[n]=e[n]);return t},xc=(e,t)=>{const n={};for(const r in e)(!Nr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ec(e,t,n){const{props:r,children:o,component:l}=e,{props:a,children:c,patchFlag:d}=t,g=l.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&d>=0){if(d&1024)return!0;if(d&16)return r?fi(r,a,g):!!a;if(d&8){const h=t.dynamicProps;for(let b=0;be.__isSuspense;function Sc(e,t){t&&t.pendingBranch?Y(e)?t.effects.push(...e):t.effects.push(e):Nl(e)}const De=Symbol.for("v-fgt"),Gn=Symbol.for("v-txt"),Oe=Symbol.for("v-cmt"),ir=Symbol.for("v-stc"),Xt=[];let Le=null;function Ke(e=!1){Xt.push(Le=e?null:[])}function Ac(){Xt.pop(),Le=Xt[Xt.length-1]||null}let sn=1;function di(e,t=!1){sn+=e,e<0&&Le&&t&&(Le.hasOnce=!0)}function rs(e){return e.dynamicChildren=sn>0?Le||Pt:null,Ac(),sn>0&&Le&&Le.push(e),e}function _t(e,t,n,r,o,l){return rs(Pe(e,t,n,r,o,l,!0))}function Cr(e,t,n,r,o){return rs(ve(e,t,n,r,o,!0))}function Rn(e){return e?e.__v_isVNode===!0:!1}function Et(e,t){return e.type===t.type&&e.key===t.key}const is=({key:e})=>e??null,xn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?we(e)||_e(e)||Z(e)?{i:Fe,r:e,k:t,f:!!n}:e:null);function Pe(e,t=null,n=null,r=0,o=null,l=e===De?0:1,a=!1,c=!1){const d={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&is(t),ref:t&&xn(t),scopeId:Io,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Fe};return c?(Yr(d,n),l&128&&e.normalize(d)):n&&(d.shapeFlag|=we(n)?8:16),sn>0&&!a&&Le&&(d.patchFlag>0||l&6)&&d.patchFlag!==32&&Le.push(d),d}const ve=Tc;function Tc(e,t=null,n=null,r=0,o=null,l=!1){if((!e||e===Yl)&&(e=Oe),Rn(e)){const c=ft(e,t,!0);return n&&Yr(c,n),sn>0&&!l&&Le&&(c.shapeFlag&6?Le[Le.indexOf(e)]=c:Le.push(c)),c.patchFlag=-2,c}if(Dc(e)&&(e=e.__vccOpts),t){t=Ic(t);let{class:c,style:d}=t;c&&!we(c)&&(t.class=jr(c)),ye(d)&&(Hr(d)&&!Y(d)&&(d=xe({},d)),t.style=Mr(d))}const a=we(e)?1:ns(e)?128:Bo(e)?64:ye(e)?4:Z(e)?2:0;return Pe(e,t,n,r,o,a,l,!0)}function Ic(e){return e?Hr(e)||Ho(e)?xe({},e):e:null}function ft(e,t,n=!1,r=!1){const{props:o,ref:l,patchFlag:a,children:c,transition:d}=e,g=t?Oc(o||{},t):o,h={__v_isVNode:!0,__v_skip:!0,type:e.type,props:g,key:g&&is(g),ref:t&&t.ref?n&&l?Y(l)?l.concat(xn(t)):[l,xn(t)]:xn(t):l,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==De?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:d,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ft(e.ssContent),ssFallback:e.ssFallback&&ft(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return d&&r&&on(h,d.clone(h)),h}function os(e=" ",t=0){return ve(Gn,null,e,t)}function Bc(e="",t=!1){return t?(Ke(),Cr(Oe,null,e)):ve(Oe,null,e)}function qe(e){return e==null||typeof e=="boolean"?ve(Oe):Y(e)?ve(De,null,e.slice()):Rn(e)?lt(e):ve(Gn,null,String(e))}function lt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ft(e)}function Yr(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Y(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Yr(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!Ho(t)?t._ctx=Fe:o===3&&Fe&&(Fe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Z(t)?(t={default:t,_ctx:Fe},n=32):(t=String(t),r&64?(n=16,t=[os(t)]):n=8);e.children=t,e.shapeFlag|=n}function Oc(...e){const t={};for(let n=0;nEe||Fe;let Nn,Sr;{const e=Vn(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),l=>{o.length>1?o.forEach(a=>a(l)):o[0](l)}};Nn=t("__VUE_INSTANCE_SETTERS__",n=>Ee=n),Sr=t("__VUE_SSR_SETTERS__",n=>ln=n)}const fn=e=>{const t=Ee;return Nn(e),e.scope.on(),()=>{e.scope.off(),Nn(t)}},hi=()=>{Ee&&Ee.scope.off(),Nn(null)};function ss(e){return e.vnode.shapeFlag&4}let ln=!1;function Pc(e,t=!1,n=!1){t&&Sr(t);const{props:r,children:o}=e.vnode,l=ss(e);sc(e,r,l,t),uc(e,o,n);const a=l?Lc(e,t):void 0;return t&&Sr(!1),a}function Lc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Zl);const{setup:r}=n;if(r){ht();const o=e.setupContext=r.length>1?jc(e):null,l=fn(e),a=an(r,e,0,[e.props,o]),c=no(a);if(pt(),l(),(c||e.sp)&&!Yt(e)&&Lo(e),c){if(a.then(hi,hi),t)return a.then(d=>{pi(e,d)}).catch(d=>{Wn(d,e,0)});e.asyncDep=a}else pi(e,a)}else ls(e)}function pi(e,t,n){Z(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ye(t)&&(e.setupState=Eo(t)),ls(e)}function ls(e,t,n){const r=e.type;e.render||(e.render=r.render||Ge);{const o=fn(e);ht();try{Ql(e)}finally{pt(),o()}}}const Mc={get(e,t){return Ce(e,"get",""),e[t]}};function jc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Mc),slots:e.slots,emit:e.emit,expose:t}}function zn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Eo(yl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Zt)return Zt[n](e)},has(t,n){return n in t||n in Zt}})):e.proxy}function Dc(e){return Z(e)&&"__vccOpts"in e}const Xe=(e,t)=>Il(e,t,ln);function kc(e,t,n){const r=arguments.length;return r===2?ye(t)&&!Y(t)?Rn(t)?ve(e,null,[t]):ve(e,t):ve(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Rn(n)&&(n=[n]),ve(e,t,n))}const Uc="3.5.13";let Ar;const gi=typeof window<"u"&&window.trustedTypes;if(gi)try{Ar=gi.createPolicy("vue",{createHTML:e=>e})}catch{}const cs=Ar?e=>Ar.createHTML(e):e=>e,Vc="http://www.w3.org/2000/svg",$c="http://www.w3.org/1998/Math/MathML",Ye=typeof document<"u"?document:null,mi=Ye&&Ye.createElement("template"),Wc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Ye.createElementNS(Vc,e):t==="mathml"?Ye.createElementNS($c,e):n?Ye.createElement(e,{is:n}):Ye.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Ye.createTextNode(e),createComment:e=>Ye.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ye.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,l){const a=n?n.previousSibling:t.lastChild;if(o&&(o===l||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===l||!(o=o.nextSibling)););else{mi.innerHTML=cs(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const c=mi.content;if(r==="svg"||r==="mathml"){const d=c.firstChild;for(;d.firstChild;)c.appendChild(d.firstChild);c.removeChild(d)}t.insertBefore(c,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},it="transition",Vt="animation",cn=Symbol("_vtc"),as={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Hc=xe({},Oo,as),Kc=e=>(e.displayName="Transition",e.props=Hc,e),yi=Kc((e,{slots:t})=>kc(Dl,qc(e),t)),bt=(e,t=[])=>{Y(e)?e.forEach(n=>n(...t)):e&&e(...t)},bi=e=>e?Y(e)?e.some(t=>t.length>1):e.length>1:!1;function qc(e){const t={};for(const M in e)M in as||(t[M]=e[M]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:l=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:c=`${n}-enter-to`,appearFromClass:d=l,appearActiveClass:g=a,appearToClass:h=c,leaveFromClass:b=`${n}-leave-from`,leaveActiveClass:E=`${n}-leave-active`,leaveToClass:_=`${n}-leave-to`}=e,T=Gc(o),S=T&&T[0],R=T&&T[1],{onBeforeEnter:L,onEnter:I,onEnterCancelled:v,onLeave:x,onLeaveCancelled:P,onBeforeAppear:q=L,onAppear:z=I,onAppearCancelled:Q=v}=t,W=(M,re,fe,Se)=>{M._enterCancelled=Se,wt(M,re?h:c),wt(M,re?g:a),fe&&fe()},V=(M,re)=>{M._isLeaving=!1,wt(M,b),wt(M,_),wt(M,E),re&&re()},G=M=>(re,fe)=>{const Se=M?z:I,me=()=>W(re,M,fe);bt(Se,[re,me]),wi(()=>{wt(re,M?d:l),ze(re,M?h:c),bi(Se)||vi(re,r,S,me)})};return xe(t,{onBeforeEnter(M){bt(L,[M]),ze(M,l),ze(M,a)},onBeforeAppear(M){bt(q,[M]),ze(M,d),ze(M,g)},onEnter:G(!1),onAppear:G(!0),onLeave(M,re){M._isLeaving=!0;const fe=()=>V(M,re);ze(M,b),M._enterCancelled?(ze(M,E),Ei()):(Ei(),ze(M,E)),wi(()=>{M._isLeaving&&(wt(M,b),ze(M,_),bi(x)||vi(M,r,R,fe))}),bt(x,[M,fe])},onEnterCancelled(M){W(M,!1,void 0,!0),bt(v,[M])},onAppearCancelled(M){W(M,!0,void 0,!0),bt(Q,[M])},onLeaveCancelled(M){V(M),bt(P,[M])}})}function Gc(e){if(e==null)return null;if(ye(e))return[or(e.enter),or(e.leave)];{const t=or(e);return[t,t]}}function or(e){return $s(e)}function ze(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[cn]||(e[cn]=new Set)).add(t)}function wt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[cn];n&&(n.delete(t),n.size||(e[cn]=void 0))}function wi(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Jc=0;function vi(e,t,n,r){const o=e._endId=++Jc,l=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(l,n);const{type:a,timeout:c,propCount:d}=zc(e,t);if(!a)return r();const g=a+"end";let h=0;const b=()=>{e.removeEventListener(g,E),l()},E=_=>{_.target===e&&++h>=d&&b()};setTimeout(()=>{h(n[T]||"").split(", "),o=r(`${it}Delay`),l=r(`${it}Duration`),a=_i(o,l),c=r(`${Vt}Delay`),d=r(`${Vt}Duration`),g=_i(c,d);let h=null,b=0,E=0;t===it?a>0&&(h=it,b=a,E=l.length):t===Vt?g>0&&(h=Vt,b=g,E=d.length):(b=Math.max(a,g),h=b>0?a>g?it:Vt:null,E=h?h===it?l.length:d.length:0);const _=h===it&&/\b(transform|all)(,|$)/.test(r(`${it}Property`).toString());return{type:h,timeout:b,propCount:E,hasTransform:_}}function _i(e,t){for(;e.lengthxi(n)+xi(e[r])))}function xi(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ei(){return document.body.offsetHeight}function Yc(e,t,n){const r=e[cn];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ci=Symbol("_vod"),Zc=Symbol("_vsh"),Qc=Symbol(""),Xc=/(^|;)\s*display\s*:/;function ea(e,t,n){const r=e.style,o=we(n);let l=!1;if(n&&!o){if(t)if(we(t))for(const a of t.split(";")){const c=a.slice(0,a.indexOf(":")).trim();n[c]==null&&En(r,c,"")}else for(const a in t)n[a]==null&&En(r,a,"");for(const a in n)a==="display"&&(l=!0),En(r,a,n[a])}else if(o){if(t!==n){const a=r[Qc];a&&(n+=";"+a),r.cssText=n,l=Xc.test(n)}}else t&&e.removeAttribute("style");Ci in e&&(e[Ci]=l?r.display:"",e[Zc]&&(r.display="none"))}const Si=/\s*!important$/;function En(e,t,n){if(Y(n))n.forEach(r=>En(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=ta(e,t);Si.test(n)?e.setProperty(Bt(r),n.replace(Si,""),"important"):e[r]=n}}const Ai=["Webkit","Moz","ms"],sr={};function ta(e,t){const n=sr[t];if(n)return n;let r=ut(t);if(r!=="filter"&&r in e)return sr[t]=r;r=ro(r);for(let o=0;olr||(oa.then(()=>lr=0),lr=Date.now());function la(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ve(ca(r,n.value),t,5,[r])};return n.value=e,n.attached=sa(),n}function ca(e,t){if(Y(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const Ri=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,aa=(e,t,n,r,o,l)=>{const a=o==="svg";t==="class"?Yc(e,r,a):t==="style"?ea(e,n,r):Dn(t)?Nr(t)||ra(e,t,n,r,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ua(e,t,r,a))?(Bi(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ii(e,t,r,a,l,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!we(r))?Bi(e,ut(t),r,l,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Ii(e,t,r,a))};function ua(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ri(t)&&Z(n));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 o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Ri(t)&&we(n)?!1:t in e}const Ni=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Y(t)?n=>_n(t,n):t};function fa(e){e.target.composing=!0}function Pi(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const cr=Symbol("_assign"),da={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[cr]=Ni(o);const l=r||o.props&&o.props.type==="number";Nt(e,t?"change":"input",a=>{if(a.target.composing)return;let c=e.value;n&&(c=c.trim()),l&&(c=hr(c)),e[cr](c)}),n&&Nt(e,"change",()=>{e.value=e.value.trim()}),t||(Nt(e,"compositionstart",fa),Nt(e,"compositionend",Pi),Nt(e,"change",Pi))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:l}},a){if(e[cr]=Ni(a),e.composing)return;const c=(l||e.type==="number")&&!/^0\d/.test(e.value)?hr(e.value):e.value,d=t??"";c!==d&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||o&&e.value.trim()===d)||(e.value=d))}},ha=xe({patchProp:aa},Wc);let Li;function pa(){return Li||(Li=dc(ha))}const ga=(...e)=>{const t=pa().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=ya(r);if(!o)return;const l=t._component;!Z(l)&&!l.render&&!l.template&&(l.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const a=n(o,!1,ma(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},t};function ma(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ya(e){return we(e)?document.querySelector(e):e}var Pn={d:(e,t)=>{for(var n in t)Pn.o(t,n)&&!Pn.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},us={};function Tr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nxa});const J=(Mi={computed:()=>Xe,createTextVNode:()=>os,createVNode:()=>ve,defineComponent:()=>kl,reactive:()=>Mt,ref:()=>ee,watch:()=>at,watchEffect:()=>Xo},ar={},Pn.d(ar,Mi),ar),ba=(0,J.defineComponent)({props:{data:{required:!0,type:String},onClick:Function},render:function(){var e=this.data,t=this.onClick;return(0,J.createVNode)("span",{class:"vjs-tree-brackets",onClick:t},[e])}}),wa=(0,J.defineComponent)({emits:["change","update:modelValue"],props:{checked:{type:Boolean,default:!1},isMultiple:Boolean,onChange:Function},setup:function(e,t){var n=t.emit;return{uiType:(0,J.computed)(function(){return e.isMultiple?"checkbox":"radio"}),model:(0,J.computed)({get:function(){return e.checked},set:function(r){return n("update:modelValue",r)}})}},render:function(){var e=this.uiType,t=this.model,n=this.$emit;return(0,J.createVNode)("label",{class:["vjs-check-controller",t?"is-checked":""],onClick:function(r){return r.stopPropagation()}},[(0,J.createVNode)("span",{class:"vjs-check-controller-inner is-".concat(e)},null),(0,J.createVNode)("input",{checked:t,class:"vjs-check-controller-original is-".concat(e),type:e,onChange:function(){return n("change",t)}},null)])}}),va=(0,J.defineComponent)({props:{nodeType:{required:!0,type:String},onClick:Function},render:function(){var e=this.nodeType,t=this.onClick,n=e==="objectStart"||e==="arrayStart";return n||e==="objectCollapsed"||e==="arrayCollapsed"?(0,J.createVNode)("span",{class:"vjs-carets vjs-carets-".concat(n?"open":"close"),onClick:t},[(0,J.createVNode)("svg",{viewBox:"0 0 1024 1024",focusable:"false","data-icon":"caret-down",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},[(0,J.createVNode)("path",{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"},null)])]):null}});var Mi,ar;function Ir(e){return Ir=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ir(e)}function ds(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function xt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"root",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,r=arguments.length>3?arguments[3]:void 0,o=r||{},l=o.key,a=o.index,c=o.type,d=c===void 0?"content":c,g=o.showComma,h=g!==void 0&&g,b=o.length,E=b===void 0?1:b,_=ds(e);if(_==="array"){var T=ji(e.map(function(L,I,v){return xt(L,"".concat(t,"[").concat(I,"]"),n+1,{index:I,showComma:I!==v.length-1,length:E,type:d})}));return[xt("[",t,n,{showComma:!1,key:l,length:e.length,type:"arrayStart"})[0]].concat(T,xt("]",t,n,{showComma:h,length:e.length,type:"arrayEnd"})[0])}if(_==="object"){var S=Object.keys(e),R=ji(S.map(function(L,I,v){return xt(e[L],/^[a-zA-Z_]\w*$/.test(L)?"".concat(t,".").concat(L):"".concat(t,'["').concat(L,'"]'),n+1,{key:L,showComma:I!==v.length-1,length:E,type:d})}));return[xt("{",t,n,{showComma:!1,key:l,index:a,length:S.length,type:"objectStart"})[0]].concat(R,xt("}",t,n,{showComma:h,length:S.length,type:"objectEnd"})[0])}return[{content:e,level:n,key:l,index:a,path:t,showComma:h,length:E,type:d}]}function ji(e){if(typeof Array.prototype.flat=="function")return e.flat();for(var t=Ln(e),n=[];t.length;){var r=t.shift();Array.isArray(r)?t.unshift.apply(t,Ln(r)):n.push(r)}return n}function Br(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new WeakMap;if(e==null)return e;if(e instanceof Date)return new Date(e);if(e instanceof RegExp)return new RegExp(e);if(Ir(e)!=="object")return e;if(t.get(e))return t.get(e);if(Array.isArray(e)){var n=e.map(function(l){return Br(l,t)});return t.set(e,n),n}var r={};for(var o in e)r[o]=Br(e[o],t);return t.set(e,r),r}function Di(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function ki(e){for(var t=1;t=v||q.length>=x,W=(z=e.pathCollapsible)===null||z===void 0?void 0:z.call(e,q);return q.type!=="objectStart"&&q.type!=="arrayStart"||!Q&&!W?P:Re(Re({},P),{},Mn({},q.path,1))},{})},c=(0,J.reactive)({translateY:0,visibleData:null,hiddenPaths:a(e.deep,e.collapsedNodeLength)}),d=(0,J.computed)(function(){for(var v=null,x=[],P=l.value.length,q=0;qv.length?v.length-P:z;Q<0&&(Q=0);var W=Q+P;c.translateY=Q*e.itemHeight,c.visibleData=v.filter(function(V,G){return G>=Q&&G0){document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),c=a?.nonce||a?.getAttribute("nonce");o=Promise.allSettled(n.map(d=>{if(d=Ca(d),d in $i)return;$i[d]=!0;const g=d.endsWith(".css"),h=g?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${d}"]${h}`))return;const b=document.createElement("link");if(b.rel=g?"stylesheet":Ea,g||(b.as="script"),b.crossOrigin="",b.href=d,c&&b.setAttribute("nonce",c),document.head.appendChild(b),g)return new Promise((E,_)=>{b.addEventListener("load",E),b.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${d}`)))})}))}function l(a){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=a,window.dispatchEvent(c),!c.defaultPrevented)throw a}return o.then(a=>{for(const c of a||[])c.status==="rejected"&&l(c.reason);return t().catch(l)})},Sa=(e,t,n)=>{const r=e[t];return r?typeof r=="function"?r():Promise.resolve(r):new Promise((o,l)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(l.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==n?". Note that variables only represent file names one level deep.":""))))})};var ur={},$t={},Wi;function Aa(){if(Wi)return $t;Wi=1,$t.byteLength=c,$t.toByteArray=g,$t.fromByteArray=E;for(var e=[],t=[],n=typeof Uint8Array<"u"?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,l=r.length;o0)throw new Error("Invalid string. Length must be a multiple of 4");var S=_.indexOf("=");S===-1&&(S=T);var R=S===T?0:4-S%4;return[S,R]}function c(_){var T=a(_),S=T[0],R=T[1];return(S+R)*3/4-R}function d(_,T,S){return(T+S)*3/4-S}function g(_){var T,S=a(_),R=S[0],L=S[1],I=new n(d(_,R,L)),v=0,x=L>0?R-4:R,P;for(P=0;P>16&255,I[v++]=T>>8&255,I[v++]=T&255;return L===2&&(T=t[_.charCodeAt(P)]<<2|t[_.charCodeAt(P+1)]>>4,I[v++]=T&255),L===1&&(T=t[_.charCodeAt(P)]<<10|t[_.charCodeAt(P+1)]<<4|t[_.charCodeAt(P+2)]>>2,I[v++]=T>>8&255,I[v++]=T&255),I}function h(_){return e[_>>18&63]+e[_>>12&63]+e[_>>6&63]+e[_&63]}function b(_,T,S){for(var R,L=[],I=T;Ix?x:v+I));return R===1?(T=_[S-1],L.push(e[T>>2]+e[T<<4&63]+"==")):R===2&&(T=(_[S-2]<<8)+_[S-1],L.push(e[T>>10]+e[T>>4&63]+e[T<<2&63]+"=")),L.join("")}return $t}var bn={};var Hi;function Ta(){return Hi||(Hi=1,bn.read=function(e,t,n,r,o){var l,a,c=o*8-r-1,d=(1<>1,h=-7,b=n?o-1:0,E=n?-1:1,_=e[t+b];for(b+=E,l=_&(1<<-h)-1,_>>=-h,h+=c;h>0;l=l*256+e[t+b],b+=E,h-=8);for(a=l&(1<<-h)-1,l>>=-h,h+=r;h>0;a=a*256+e[t+b],b+=E,h-=8);if(l===0)l=1-g;else{if(l===d)return a?NaN:(_?-1:1)*(1/0);a=a+Math.pow(2,r),l=l-g}return(_?-1:1)*a*Math.pow(2,l-r)},bn.write=function(e,t,n,r,o,l){var a,c,d,g=l*8-o-1,h=(1<>1,E=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,_=r?0:l-1,T=r?1:-1,S=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(c=isNaN(t)?1:0,a=h):(a=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-a))<1&&(a--,d*=2),a+b>=1?t+=E/d:t+=E*Math.pow(2,1-b),t*d>=2&&(a++,d/=2),a+b>=h?(c=0,a=h):a+b>=1?(c=(t*d-1)*Math.pow(2,o),a=a+b):(c=t*Math.pow(2,b-1)*Math.pow(2,o),a=0));o>=8;e[n+_]=c&255,_+=T,c/=256,o-=8);for(a=a<0;e[n+_]=a&255,_+=T,a/=256,g-=8);e[n+_-T]|=S*128}),bn}var Ki;function Ia(){return Ki||(Ki=1,function(e){const t=Aa(),n=Ta(),r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=c,e.SlowBuffer=I,e.INSPECT_MAX_BYTES=50;const o=2147483647;e.kMaxLength=o,c.TYPED_ARRAY_SUPPORT=l(),!c.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function l(){try{const u=new Uint8Array(1),i={foo:function(){return 42}};return Object.setPrototypeOf(i,Uint8Array.prototype),Object.setPrototypeOf(u,i),u.foo()===42}catch{return!1}}Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.byteOffset}});function a(u){if(u>o)throw new RangeError('The value "'+u+'" is invalid for option "size"');const i=new Uint8Array(u);return Object.setPrototypeOf(i,c.prototype),i}function c(u,i,s){if(typeof u=="number"){if(typeof i=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return b(u)}return d(u,i,s)}c.poolSize=8192;function d(u,i,s){if(typeof u=="string")return E(u,i);if(ArrayBuffer.isView(u))return T(u);if(u==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof u);if($(u,ArrayBuffer)||u&&$(u.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&($(u,SharedArrayBuffer)||u&&$(u.buffer,SharedArrayBuffer)))return S(u,i,s);if(typeof u=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const f=u.valueOf&&u.valueOf();if(f!=null&&f!==u)return c.from(f,i,s);const y=R(u);if(y)return y;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof u[Symbol.toPrimitive]=="function")return c.from(u[Symbol.toPrimitive]("string"),i,s);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof u)}c.from=function(u,i,s){return d(u,i,s)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array);function g(u){if(typeof u!="number")throw new TypeError('"size" argument must be of type number');if(u<0)throw new RangeError('The value "'+u+'" is invalid for option "size"')}function h(u,i,s){return g(u),u<=0?a(u):i!==void 0?typeof s=="string"?a(u).fill(i,s):a(u).fill(i):a(u)}c.alloc=function(u,i,s){return h(u,i,s)};function b(u){return g(u),a(u<0?0:L(u)|0)}c.allocUnsafe=function(u){return b(u)},c.allocUnsafeSlow=function(u){return b(u)};function E(u,i){if((typeof i!="string"||i==="")&&(i="utf8"),!c.isEncoding(i))throw new TypeError("Unknown encoding: "+i);const s=v(u,i)|0;let f=a(s);const y=f.write(u,i);return y!==s&&(f=f.slice(0,y)),f}function _(u){const i=u.length<0?0:L(u.length)|0,s=a(i);for(let f=0;f=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return u|0}function I(u){return+u!=u&&(u=0),c.alloc(+u)}c.isBuffer=function(i){return i!=null&&i._isBuffer===!0&&i!==c.prototype},c.compare=function(i,s){if($(i,Uint8Array)&&(i=c.from(i,i.offset,i.byteLength)),$(s,Uint8Array)&&(s=c.from(s,s.offset,s.byteLength)),!c.isBuffer(i)||!c.isBuffer(s))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(i===s)return 0;let f=i.length,y=s.length;for(let w=0,A=Math.min(f,y);wy.length?(c.isBuffer(A)||(A=c.from(A)),A.copy(y,w)):Uint8Array.prototype.set.call(y,A,w);else if(c.isBuffer(A))A.copy(y,w);else throw new TypeError('"list" argument must be an Array of Buffers');w+=A.length}return y};function v(u,i){if(c.isBuffer(u))return u.length;if(ArrayBuffer.isView(u)||$(u,ArrayBuffer))return u.byteLength;if(typeof u!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof u);const s=u.length,f=arguments.length>2&&arguments[2]===!0;if(!f&&s===0)return 0;let y=!1;for(;;)switch(i){case"ascii":case"latin1":case"binary":return s;case"utf8":case"utf-8":return O(u).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return s*2;case"hex":return s>>>1;case"base64":return j(u).length;default:if(y)return f?-1:O(u).length;i=(""+i).toLowerCase(),y=!0}}c.byteLength=v;function x(u,i,s){let f=!1;if((i===void 0||i<0)&&(i=0),i>this.length||((s===void 0||s>this.length)&&(s=this.length),s<=0)||(s>>>=0,i>>>=0,s<=i))return"";for(u||(u="utf8");;)switch(u){case"hex":return Me(this,i,s);case"utf8":case"utf-8":return fe(this,i,s);case"ascii":return ce(this,i,s);case"latin1":case"binary":return oe(this,i,s);case"base64":return re(this,i,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return tt(this,i,s);default:if(f)throw new TypeError("Unknown encoding: "+u);u=(u+"").toLowerCase(),f=!0}}c.prototype._isBuffer=!0;function P(u,i,s){const f=u[i];u[i]=u[s],u[s]=f}c.prototype.swap16=function(){const i=this.length;if(i%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let s=0;ss&&(i+=" ... "),""},r&&(c.prototype[r]=c.prototype.inspect),c.prototype.compare=function(i,s,f,y,w){if($(i,Uint8Array)&&(i=c.from(i,i.offset,i.byteLength)),!c.isBuffer(i))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof i);if(s===void 0&&(s=0),f===void 0&&(f=i?i.length:0),y===void 0&&(y=0),w===void 0&&(w=this.length),s<0||f>i.length||y<0||w>this.length)throw new RangeError("out of range index");if(y>=w&&s>=f)return 0;if(y>=w)return-1;if(s>=f)return 1;if(s>>>=0,f>>>=0,y>>>=0,w>>>=0,this===i)return 0;let A=w-y,X=f-s;const ne=Math.min(A,X),ie=this.slice(y,w),ge=i.slice(s,f);for(let ae=0;ae2147483647?s=2147483647:s<-2147483648&&(s=-2147483648),s=+s,U(s)&&(s=y?0:u.length-1),s<0&&(s=u.length+s),s>=u.length){if(y)return-1;s=u.length-1}else if(s<0)if(y)s=0;else return-1;if(typeof i=="string"&&(i=c.from(i,f)),c.isBuffer(i))return i.length===0?-1:z(u,i,s,f,y);if(typeof i=="number")return i=i&255,typeof Uint8Array.prototype.indexOf=="function"?y?Uint8Array.prototype.indexOf.call(u,i,s):Uint8Array.prototype.lastIndexOf.call(u,i,s):z(u,[i],s,f,y);throw new TypeError("val must be string, number or Buffer")}function z(u,i,s,f,y){let w=1,A=u.length,X=i.length;if(f!==void 0&&(f=String(f).toLowerCase(),f==="ucs2"||f==="ucs-2"||f==="utf16le"||f==="utf-16le")){if(u.length<2||i.length<2)return-1;w=2,A/=2,X/=2,s/=2}function ne(ge,ae){return w===1?ge[ae]:ge.readUInt16BE(ae*w)}let ie;if(y){let ge=-1;for(ie=s;ieA&&(s=A-X),ie=s;ie>=0;ie--){let ge=!0;for(let ae=0;aey&&(f=y)):f=y;const w=i.length;f>w/2&&(f=w/2);let A;for(A=0;A>>0,isFinite(f)?(f=f>>>0,y===void 0&&(y="utf8")):(y=f,f=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const w=this.length-s;if((f===void 0||f>w)&&(f=w),i.length>0&&(f<0||s<0)||s>this.length)throw new RangeError("Attempt to write outside buffer bounds");y||(y="utf8");let A=!1;for(;;)switch(y){case"hex":return Q(this,i,s,f);case"utf8":case"utf-8":return W(this,i,s,f);case"ascii":case"latin1":case"binary":return V(this,i,s,f);case"base64":return G(this,i,s,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,i,s,f);default:if(A)throw new TypeError("Unknown encoding: "+y);y=(""+y).toLowerCase(),A=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function re(u,i,s){return i===0&&s===u.length?t.fromByteArray(u):t.fromByteArray(u.slice(i,s))}function fe(u,i,s){s=Math.min(u.length,s);const f=[];let y=i;for(;y239?4:w>223?3:w>191?2:1;if(y+X<=s){let ne,ie,ge,ae;switch(X){case 1:w<128&&(A=w);break;case 2:ne=u[y+1],(ne&192)===128&&(ae=(w&31)<<6|ne&63,ae>127&&(A=ae));break;case 3:ne=u[y+1],ie=u[y+2],(ne&192)===128&&(ie&192)===128&&(ae=(w&15)<<12|(ne&63)<<6|ie&63,ae>2047&&(ae<55296||ae>57343)&&(A=ae));break;case 4:ne=u[y+1],ie=u[y+2],ge=u[y+3],(ne&192)===128&&(ie&192)===128&&(ge&192)===128&&(ae=(w&15)<<18|(ne&63)<<12|(ie&63)<<6|ge&63,ae>65535&&ae<1114112&&(A=ae))}}A===null?(A=65533,X=1):A>65535&&(A-=65536,f.push(A>>>10&1023|55296),A=56320|A&1023),f.push(A),y+=X}return me(f)}const Se=4096;function me(u){const i=u.length;if(i<=Se)return String.fromCharCode.apply(String,u);let s="",f=0;for(;ff)&&(s=f);let y="";for(let w=i;wf&&(i=f),s<0?(s+=f,s<0&&(s=0)):s>f&&(s=f),ss)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUintLE=c.prototype.readUIntLE=function(i,s,f){i=i>>>0,s=s>>>0,f||de(i,s,this.length);let y=this[i],w=1,A=0;for(;++A>>0,s=s>>>0,f||de(i,s,this.length);let y=this[i+--s],w=1;for(;s>0&&(w*=256);)y+=this[i+--s]*w;return y},c.prototype.readUint8=c.prototype.readUInt8=function(i,s){return i=i>>>0,s||de(i,1,this.length),this[i]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(i,s){return i=i>>>0,s||de(i,2,this.length),this[i]|this[i+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(i,s){return i=i>>>0,s||de(i,2,this.length),this[i]<<8|this[i+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(i,s){return i=i>>>0,s||de(i,4,this.length),(this[i]|this[i+1]<<8|this[i+2]<<16)+this[i+3]*16777216},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(i,s){return i=i>>>0,s||de(i,4,this.length),this[i]*16777216+(this[i+1]<<16|this[i+2]<<8|this[i+3])},c.prototype.readBigUInt64LE=K(function(i){i=i>>>0,m(i,"offset");const s=this[i],f=this[i+7];(s===void 0||f===void 0)&&C(i,this.length-8);const y=s+this[++i]*2**8+this[++i]*2**16+this[++i]*2**24,w=this[++i]+this[++i]*2**8+this[++i]*2**16+f*2**24;return BigInt(y)+(BigInt(w)<>>0,m(i,"offset");const s=this[i],f=this[i+7];(s===void 0||f===void 0)&&C(i,this.length-8);const y=s*2**24+this[++i]*2**16+this[++i]*2**8+this[++i],w=this[++i]*2**24+this[++i]*2**16+this[++i]*2**8+f;return(BigInt(y)<>>0,s=s>>>0,f||de(i,s,this.length);let y=this[i],w=1,A=0;for(;++A=w&&(y-=Math.pow(2,8*s)),y},c.prototype.readIntBE=function(i,s,f){i=i>>>0,s=s>>>0,f||de(i,s,this.length);let y=s,w=1,A=this[i+--y];for(;y>0&&(w*=256);)A+=this[i+--y]*w;return w*=128,A>=w&&(A-=Math.pow(2,8*s)),A},c.prototype.readInt8=function(i,s){return i=i>>>0,s||de(i,1,this.length),this[i]&128?(255-this[i]+1)*-1:this[i]},c.prototype.readInt16LE=function(i,s){i=i>>>0,s||de(i,2,this.length);const f=this[i]|this[i+1]<<8;return f&32768?f|4294901760:f},c.prototype.readInt16BE=function(i,s){i=i>>>0,s||de(i,2,this.length);const f=this[i+1]|this[i]<<8;return f&32768?f|4294901760:f},c.prototype.readInt32LE=function(i,s){return i=i>>>0,s||de(i,4,this.length),this[i]|this[i+1]<<8|this[i+2]<<16|this[i+3]<<24},c.prototype.readInt32BE=function(i,s){return i=i>>>0,s||de(i,4,this.length),this[i]<<24|this[i+1]<<16|this[i+2]<<8|this[i+3]},c.prototype.readBigInt64LE=K(function(i){i=i>>>0,m(i,"offset");const s=this[i],f=this[i+7];(s===void 0||f===void 0)&&C(i,this.length-8);const y=this[i+4]+this[i+5]*2**8+this[i+6]*2**16+(f<<24);return(BigInt(y)<>>0,m(i,"offset");const s=this[i],f=this[i+7];(s===void 0||f===void 0)&&C(i,this.length-8);const y=(s<<24)+this[++i]*2**16+this[++i]*2**8+this[++i];return(BigInt(y)<>>0,s||de(i,4,this.length),n.read(this,i,!0,23,4)},c.prototype.readFloatBE=function(i,s){return i=i>>>0,s||de(i,4,this.length),n.read(this,i,!1,23,4)},c.prototype.readDoubleLE=function(i,s){return i=i>>>0,s||de(i,8,this.length),n.read(this,i,!0,52,8)},c.prototype.readDoubleBE=function(i,s){return i=i>>>0,s||de(i,8,this.length),n.read(this,i,!1,52,8)};function pe(u,i,s,f,y,w){if(!c.isBuffer(u))throw new TypeError('"buffer" argument must be a Buffer instance');if(i>y||iu.length)throw new RangeError("Index out of range")}c.prototype.writeUintLE=c.prototype.writeUIntLE=function(i,s,f,y){if(i=+i,s=s>>>0,f=f>>>0,!y){const X=Math.pow(2,8*f)-1;pe(this,i,s,f,X,0)}let w=1,A=0;for(this[s]=i&255;++A>>0,f=f>>>0,!y){const X=Math.pow(2,8*f)-1;pe(this,i,s,f,X,0)}let w=f-1,A=1;for(this[s+w]=i&255;--w>=0&&(A*=256);)this[s+w]=i/A&255;return s+f},c.prototype.writeUint8=c.prototype.writeUInt8=function(i,s,f){return i=+i,s=s>>>0,f||pe(this,i,s,1,255,0),this[s]=i&255,s+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(i,s,f){return i=+i,s=s>>>0,f||pe(this,i,s,2,65535,0),this[s]=i&255,this[s+1]=i>>>8,s+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(i,s,f){return i=+i,s=s>>>0,f||pe(this,i,s,2,65535,0),this[s]=i>>>8,this[s+1]=i&255,s+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(i,s,f){return i=+i,s=s>>>0,f||pe(this,i,s,4,4294967295,0),this[s+3]=i>>>24,this[s+2]=i>>>16,this[s+1]=i>>>8,this[s]=i&255,s+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(i,s,f){return i=+i,s=s>>>0,f||pe(this,i,s,4,4294967295,0),this[s]=i>>>24,this[s+1]=i>>>16,this[s+2]=i>>>8,this[s+3]=i&255,s+4};function kt(u,i,s,f,y){p(i,f,y,u,s,7);let w=Number(i&BigInt(4294967295));u[s++]=w,w=w>>8,u[s++]=w,w=w>>8,u[s++]=w,w=w>>8,u[s++]=w;let A=Number(i>>BigInt(32)&BigInt(4294967295));return u[s++]=A,A=A>>8,u[s++]=A,A=A>>8,u[s++]=A,A=A>>8,u[s++]=A,s}function dn(u,i,s,f,y){p(i,f,y,u,s,7);let w=Number(i&BigInt(4294967295));u[s+7]=w,w=w>>8,u[s+6]=w,w=w>>8,u[s+5]=w,w=w>>8,u[s+4]=w;let A=Number(i>>BigInt(32)&BigInt(4294967295));return u[s+3]=A,A=A>>8,u[s+2]=A,A=A>>8,u[s+1]=A,A=A>>8,u[s]=A,s+8}c.prototype.writeBigUInt64LE=K(function(i,s=0){return kt(this,i,s,BigInt(0),BigInt("0xffffffffffffffff"))}),c.prototype.writeBigUInt64BE=K(function(i,s=0){return dn(this,i,s,BigInt(0),BigInt("0xffffffffffffffff"))}),c.prototype.writeIntLE=function(i,s,f,y){if(i=+i,s=s>>>0,!y){const ne=Math.pow(2,8*f-1);pe(this,i,s,f,ne-1,-ne)}let w=0,A=1,X=0;for(this[s]=i&255;++w>0)-X&255;return s+f},c.prototype.writeIntBE=function(i,s,f,y){if(i=+i,s=s>>>0,!y){const ne=Math.pow(2,8*f-1);pe(this,i,s,f,ne-1,-ne)}let w=f-1,A=1,X=0;for(this[s+w]=i&255;--w>=0&&(A*=256);)i<0&&X===0&&this[s+w+1]!==0&&(X=1),this[s+w]=(i/A>>0)-X&255;return s+f},c.prototype.writeInt8=function(i,s,f){return i=+i,s=s>>>0,f||pe(this,i,s,1,127,-128),i<0&&(i=255+i+1),this[s]=i&255,s+1},c.prototype.writeInt16LE=function(i,s,f){return i=+i,s=s>>>0,f||pe(this,i,s,2,32767,-32768),this[s]=i&255,this[s+1]=i>>>8,s+2},c.prototype.writeInt16BE=function(i,s,f){return i=+i,s=s>>>0,f||pe(this,i,s,2,32767,-32768),this[s]=i>>>8,this[s+1]=i&255,s+2},c.prototype.writeInt32LE=function(i,s,f){return i=+i,s=s>>>0,f||pe(this,i,s,4,2147483647,-2147483648),this[s]=i&255,this[s+1]=i>>>8,this[s+2]=i>>>16,this[s+3]=i>>>24,s+4},c.prototype.writeInt32BE=function(i,s,f){return i=+i,s=s>>>0,f||pe(this,i,s,4,2147483647,-2147483648),i<0&&(i=4294967295+i+1),this[s]=i>>>24,this[s+1]=i>>>16,this[s+2]=i>>>8,this[s+3]=i&255,s+4},c.prototype.writeBigInt64LE=K(function(i,s=0){return kt(this,i,s,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),c.prototype.writeBigInt64BE=K(function(i,s=0){return dn(this,i,s,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function hn(u,i,s,f,y,w){if(s+f>u.length)throw new RangeError("Index out of range");if(s<0)throw new RangeError("Index out of range")}function nt(u,i,s,f,y){return i=+i,s=s>>>0,y||hn(u,i,s,4),n.write(u,i,s,f,23,4),s+4}c.prototype.writeFloatLE=function(i,s,f){return nt(this,i,s,!0,f)},c.prototype.writeFloatBE=function(i,s,f){return nt(this,i,s,!1,f)};function gt(u,i,s,f,y){return i=+i,s=s>>>0,y||hn(u,i,s,8),n.write(u,i,s,f,52,8),s+8}c.prototype.writeDoubleLE=function(i,s,f){return gt(this,i,s,!0,f)},c.prototype.writeDoubleBE=function(i,s,f){return gt(this,i,s,!1,f)},c.prototype.copy=function(i,s,f,y){if(!c.isBuffer(i))throw new TypeError("argument should be a Buffer");if(f||(f=0),!y&&y!==0&&(y=this.length),s>=i.length&&(s=i.length),s||(s=0),y>0&&y=this.length)throw new RangeError("Index out of range");if(y<0)throw new RangeError("sourceEnd out of bounds");y>this.length&&(y=this.length),i.length-s>>0,f=f===void 0?this.length:f>>>0,i||(i=0);let w;if(typeof i=="number")for(w=s;w2**32?y=rt(String(s)):typeof s=="bigint"&&(y=String(s),(s>BigInt(2)**BigInt(32)||s<-(BigInt(2)**BigInt(32)))&&(y=rt(y)),y+="n"),f+=` It must be ${i}. Received ${y}`,f},RangeError);function rt(u){let i="",s=u.length;const f=u[0]==="-"?1:0;for(;s>=f+4;s-=3)i=`_${u.slice(s-3,s)}${i}`;return`${u.slice(0,s)}${i}`}function Qr(u,i,s){m(i,"offset"),(u[i]===void 0||u[i+s]===void 0)&&C(i,u.length-(s+1))}function p(u,i,s,f,y,w){if(u>s||u= 0${A} and < 2${A} ** ${(w+1)*8}${A}`:X=`>= -(2${A} ** ${(w+1)*8-1}${A}) and < 2 ** ${(w+1)*8-1}${A}`,new $e.ERR_OUT_OF_RANGE("value",X,u)}Qr(f,y,w)}function m(u,i){if(typeof u!="number")throw new $e.ERR_INVALID_ARG_TYPE(i,"number",u)}function C(u,i,s){throw Math.floor(u)!==u?(m(u,s),new $e.ERR_OUT_OF_RANGE("offset","an integer",u)):i<0?new $e.ERR_BUFFER_OUT_OF_BOUNDS:new $e.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${i}`,u)}const N=/[^+/0-9A-Za-z-_]/g;function B(u){if(u=u.split("=")[0],u=u.trim().replace(N,""),u.length<2)return"";for(;u.length%4!==0;)u=u+"=";return u}function O(u,i){i=i||1/0;let s;const f=u.length;let y=null;const w=[];for(let A=0;A55295&&s<57344){if(!y){if(s>56319){(i-=3)>-1&&w.push(239,191,189);continue}else if(A+1===f){(i-=3)>-1&&w.push(239,191,189);continue}y=s;continue}if(s<56320){(i-=3)>-1&&w.push(239,191,189),y=s;continue}s=(y-55296<<10|s-56320)+65536}else y&&(i-=3)>-1&&w.push(239,191,189);if(y=null,s<128){if((i-=1)<0)break;w.push(s)}else if(s<2048){if((i-=2)<0)break;w.push(s>>6|192,s&63|128)}else if(s<65536){if((i-=3)<0)break;w.push(s>>12|224,s>>6&63|128,s&63|128)}else if(s<1114112){if((i-=4)<0)break;w.push(s>>18|240,s>>12&63|128,s>>6&63|128,s&63|128)}else throw new Error("Invalid code point")}return w}function k(u){const i=[];for(let s=0;s>8,y=s%256,w.push(y),w.push(f);return w}function j(u){return t.toByteArray(B(u))}function F(u,i,s,f){let y;for(y=0;y=i.length||y>=u.length);++y)i[y+s]=u[y];return y}function $(u,i){return u instanceof i||u!=null&&u.constructor!=null&&u.constructor.name!=null&&u.constructor.name===i.name}function U(u){return u!==u}const H=function(){const u="0123456789abcdef",i=new Array(256);for(let s=0;s<16;++s){const f=s*16;for(let y=0;y<16;++y)i[f+y]=u[s]+u[y]}return i}();function K(u){return typeof BigInt>"u"?te:u}function te(){throw new Error("BigInt not supported")}}(ur)),ur}var dt=Ia();const{initData:Ba,initDataUnsafe:Oa,version:Fa,platform:Ra,isVersionAtLeast:ps,sendData:Na,close:Pa}=Telegram.WebApp,gs=ee(!1),La=(...e)=>{Telegram.WebApp.ready(...e),gs.value=!0},ms=e=>Telegram.WebApp.platform===e,ys=ms("unknown"),Ma={ClosingConfirmation:"6.2",CloudStorage:"6.9",RequestWriteAccess:"6.9",RequestContact:"6.9",SettingsButton:"7.0",BiometricManager:"7.2",DisableVerticalSwipes:"7.7"},ja=e=>ps(Ma[e]),Da=!ys&&Telegram.WebApp.initData==="";function Yn(){return{initData:Ba,initDataUnsafe:Oa,version:Fa,platform:Ra,isVersionAtLeast:ps,onEvent:(e,t,n={manual:!1})=>{const{manual:r}=n,o=()=>{Telegram.WebApp.onEvent(e,t)},l=()=>{Telegram.WebApp.offEvent(e,t)};return r?o():(un(o),Gr(l)),{off:l}},sendData:Na,ready:La,close:Pa,isReady:Tt(gs),isPlatform:ms,isPlatformUnknown:ys,isFeatureSupported:ja,canSendData:Da}}ee(Telegram.WebApp.BackButton.isVisible);Telegram.WebApp.BiometricManager;ee(Telegram.WebApp.BiometricManager.isInited);ee(Telegram.WebApp.BiometricManager.isBiometricAvailable);ee(Telegram.WebApp.BiometricManager.biometricType);ee(Telegram.WebApp.BiometricManager.isAccessRequested);ee(Telegram.WebApp.BiometricManager.isAccessGranted);ee(Telegram.WebApp.BiometricManager.isAccessGranted);ee(Telegram.WebApp.BiometricManager.deviceId);Telegram.WebApp;ee(Telegram.WebApp.isClosingConfirmationEnabled);Telegram.WebApp.CloudStorage;const{impactOccurred:ka,notificationOccurred:Ua,selectionChanged:Va}=Telegram.WebApp.HapticFeedback;function $a(){return{impactOccurred:ka,notificationOccurred:Ua,selectionChanged:Va}}ee(Telegram.WebApp.MainButton.text);ee(Telegram.WebApp.MainButton.color);ee(Telegram.WebApp.MainButton.textColor);ee(Telegram.WebApp.MainButton.isVisible);ee(Telegram.WebApp.MainButton.isActive);ee(Telegram.WebApp.MainButton.isProgressVisible);Telegram.WebApp;const{showPopup:Wa,showAlert:Ha,showConfirm:Ka}=Telegram.WebApp;function qa(){const{onEvent:e}=Yn();return{showPopup:Wa,showAlert:Ha,showConfirm:Ka,onPopupClosed:(t,n)=>e("popupClosed",t,n)}}Telegram.WebApp;Telegram.WebApp;Yn();ee(Telegram.WebApp.SettingsButton.isVisible);const bs=ee(Telegram.WebApp.colorScheme),ws=ee(Telegram.WebApp.themeParams),vs=ee(Telegram.WebApp.headerColor),_s=ee(Telegram.WebApp.backgroundColor);function Zr(){bs.value=Telegram.WebApp.colorScheme,ws.value={...Telegram.WebApp.themeParams},vs.value=Telegram.WebApp.headerColor,_s.value=Telegram.WebApp.backgroundColor}function qi(...e){Telegram.WebApp.setHeaderColor(...e),Zr()}function Gi(...e){Telegram.WebApp.setBackgroundColor(...e),Zr()}function Ga(){const{onEvent:e}=Yn(),t=(n,r)=>e("themeChanged",n,r);return t(Zr),{colorScheme:Tt(bs),themeParams:Tt(ws),headerColor:Xe({get(){return vs.value},set(n){qi(n)}}),backgroundColor:Xe({get(){return _s.value},set(n){Gi(n)}}),setHeaderColor:qi,setBackgroundColor:Gi,onThemeChanged:t}}ee(Telegram.WebApp.isExpanded);ee(Telegram.WebApp.viewportHeight);ee(Telegram.WebApp.viewportStableHeight);ee(Telegram.WebApp.isVerticalSwipesEnabled);function xs(e,t=!0,n=!1){let r=dt.Buffer.from(e);const o=r.length;t&&(r=r.reverse());let l=BigInt("0x"+r.toString("hex"));return n&&l>=1n<>>1:e>>>1;t[n]=e}return t}let fr;function Ji(e){fr||(fr=Ya()),dt.Buffer.isBuffer(e)||(e=dt.Buffer.from(e));let t=-1;for(let n=0;n>>8}return(t^-1)>>>0}const Za=e=>/^[0-9a-fA-F]+$/.test(e),Qa=e=>/^[A-Za-z0-9+/=]*$|^[A-Za-z0-9-_]*$/.test(e),Xa=e=>{const t=e.replace(/[\s\n]+/g,"").replace(/-/g,"+").replace(/_/g,"/");if(Za(t))return dt.Buffer.from(t,"hex");if(Qa(t))return dt.Buffer.from(t,"base64");throw new Error("String is neither hex nor base64")},At=!!Yn().initData;function eu(e,t){return e.reduce((n,r)=>r<=t&&r>n?r:n,-1/0)}function Cn(e){if(e===null||typeof e!="object")return e;if(typeof e.toJSON=="function")return Cn(e.toJSON());if(Array.isArray(e))return e.map(Cn);const t={};for(const n in e)if(e.hasOwnProperty(n)){const r=e[n];r!=null&&(t[n]=Cn(r))}return t}function tu(){return"scheduler"in window&&"yield"in scheduler?scheduler.yield():new Promise(e=>{setTimeout(e,0)})}const Sn=[185,186,187,188,189,190,191,192,193,195,196],nu=e=>e,ru=e=>e,iu=new Set([3162085175,2574415285,1072550713,3300522427,1450380236]),ou=new Set([85337187,2211011308,2851430293,1013613780,1459478408,3504867164,3045658042,1715713620,3608339646,4110704415,812830625]),su=new Set(["int?=Int;","long?=Long;","double?=Double;","string?=String;","bytes=Bytes;"]),lu=(e,t)=>{const n=e.match(/([\w.]+)(?:#([0-9a-fA-F]+))?(?:\s{?\w+:[\w\d<>#.?!]+}?)*\s=\s([\w\d<>#.?]+);$/);if(!n)throw new Error(`Cannot parse TLObject ${e}`);const r=Es(/({)?(\w+):([\w\d<>#.?!]+)}?/,e),o={name:n[1],constructorId:parseInt(n[2],16),argsConfig:{},subclassOfId:Ji(n[3]),result:n[3],isFunction:t,namespace:void 0};if(!o.constructorId){const l="";let a;Object.values(o.argsConfig).length?a=` ${Object.keys(o.argsConfig).map(d=>d.toString()).join(" ")}`:a="";const c=`${o.name}${l}${a} = ${o.result}`.replace(/(:|\?)bytes /g,"$1string ").replace(/|{|}/g,"").replace(/ \w+:flags(\d+)?\.\d+\?true/g,"");o.constructorId=Ji(dt.Buffer.from(c,"utf8"))}for(const[l,a,c]of r)l===void 0&&(o.argsConfig[ru(a)]=cu(a,c));return o.name.includes(".")&&([o.namespace,o.name]=o.name.split(/\.(.+)/)),o.name=nu(o.name),o};function cu(e,t){const n={isVector:!1,isFlag:!1,skipConstructorId:!1,flagName:null,flagIndex:-1,flagIndicator:!0,type:null,useVectorId:null};if(t!=="#"){n.flagIndicator=!1,n.type=t.replace(/^!+/,"");const r=n.type.match(/(flags(?:\d+)?).(\d+)\?([\w<>.]+)/);r&&(n.isFlag=!0,n.flagName=r[1],n.flagIndex=Number(r[2]),n.type=r[3]);const o=n.type.match(/[Vv]ector<([\w\d.]+)>/);o&&(n.isVector=!0,n.useVectorId=n.type.charAt(0)==="V",[,n.type]=o),/^[a-z]$/.test(n.type.split(".").pop().charAt(0))&&(n.skipConstructorId=!0)}return n.type=="future_salt"&&(n.type="FutureSalt"),n}const au=function*(e,t,n=[],r=iu){(n||[]).reduce((g,h)=>({...g,[h.name]:h}),{});const o=[],l={},a={},c=e;let d=!1;for(let g of c.split(` +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}())[0],G=q;n("update:selectedValue",G),n("selectedChange",G,V)}},T=function(v){n("nodeClick",v)},S=function(v,x){if(v)c.hiddenPaths=Re(Re({},c.hiddenPaths),{},Mn({},x,1));else{var P=Re({},c.hiddenPaths);delete P[x],c.hiddenPaths=P}},R=function(v,x){e.collapsedOnClickBrackets&&S(v,x.path),n("bracketsClick",v,x)},L=function(v,x){S(v,x.path),n("iconClick",v,x)},I=function(v,x){var P=Br(e.data),q=e.rootPath;new Function("data","val","data".concat(x.slice(q.length),"=val"))(P,v),n("update:data",P)};return(0,J.watchEffect)(function(){h.value&&function(v){throw new Error("[VueJSONPretty] ".concat(v))}(h.value)}),(0,J.watchEffect)(function(){d.value&&b()}),(0,J.watch)(function(){return e.deep},function(v){v&&(c.hiddenPaths=a(v,e.collapsedNodeLength))}),(0,J.watch)(function(){return e.collapsedNodeLength},function(v){v&&(c.hiddenPaths=a(e.deep,v))}),function(){var v,x,P=(v=e.renderNodeKey)!==null&&v!==void 0?v:r.renderNodeKey,q=(x=e.renderNodeValue)!==null&&x!==void 0?x:r.renderNodeValue,z=c.visibleData&&c.visibleData.map(function(Q){return(0,J.createVNode)(_a,{key:Q.id,node:Q,collapsed:!!c.hiddenPaths[Q.path],theme:e.theme,showDoubleQuotes:e.showDoubleQuotes,showLength:e.showLength,checked:g.value.includes(Q.path),selectableType:e.selectableType,showLine:e.showLine,showLineNumber:e.showLineNumber,showSelectController:e.showSelectController,selectOnClickNode:e.selectOnClickNode,nodeSelectable:e.nodeSelectable,highlightSelectedNode:e.highlightSelectedNode,editable:e.editable,editableTrigger:e.editableTrigger,showIcon:e.showIcon,showKeyValueSpace:e.showKeyValueSpace,renderNodeKey:P,renderNodeValue:q,onNodeClick:T,onBracketsClick:R,onIconClick:L,onSelectedChange:_,onValueChange:I,style:e.itemHeight&&e.itemHeight!==20?{lineHeight:"".concat(e.itemHeight,"px")}:{}},null)});return(0,J.createVNode)("div",{ref:o,class:{"vjs-tree":!0,"is-virtual":e.virtual,dark:e.theme==="dark"},onScroll:e.virtual?E:void 0,style:e.showLineNumber?Re({paddingLeft:"".concat(12*Number(l.value.length.toString().length),"px")},e.style):e.style},[e.virtual?(0,J.createVNode)("div",{class:"vjs-tree-list",style:{height:"".concat(e.height,"px")}},[(0,J.createVNode)("div",{class:"vjs-tree-list-holder",style:{height:"".concat(d.value.length*e.itemHeight,"px")}},[(0,J.createVNode)("div",{class:"vjs-tree-list-holder-inner",style:{transform:"translateY(".concat(c.translateY,"px)")}},[z])])]):z])}}});var Vi=us.Z;const Ea="modulepreload",Ca=function(e){return"/tlv/"+e},$i={},be=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),c=a?.nonce||a?.getAttribute("nonce");o=Promise.allSettled(n.map(d=>{if(d=Ca(d),d in $i)return;$i[d]=!0;const g=d.endsWith(".css"),h=g?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${d}"]${h}`))return;const b=document.createElement("link");if(b.rel=g?"stylesheet":Ea,g||(b.as="script"),b.crossOrigin="",b.href=d,c&&b.setAttribute("nonce",c),document.head.appendChild(b),g)return new Promise((E,_)=>{b.addEventListener("load",E),b.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${d}`)))})}))}function l(a){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=a,window.dispatchEvent(c),!c.defaultPrevented)throw a}return o.then(a=>{for(const c of a||[])c.status==="rejected"&&l(c.reason);return t().catch(l)})},Sa=(e,t,n)=>{const r=e[t];return r?typeof r=="function"?r():Promise.resolve(r):new Promise((o,l)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(l.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==n?". Note that variables only represent file names one level deep.":""))))})};var ur={},$t={},Wi;function Aa(){if(Wi)return $t;Wi=1,$t.byteLength=c,$t.toByteArray=g,$t.fromByteArray=E;for(var e=[],t=[],n=typeof Uint8Array<"u"?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,l=r.length;o0)throw new Error("Invalid string. Length must be a multiple of 4");var S=_.indexOf("=");S===-1&&(S=T);var R=S===T?0:4-S%4;return[S,R]}function c(_){var T=a(_),S=T[0],R=T[1];return(S+R)*3/4-R}function d(_,T,S){return(T+S)*3/4-S}function g(_){var T,S=a(_),R=S[0],L=S[1],I=new n(d(_,R,L)),v=0,x=L>0?R-4:R,P;for(P=0;P>16&255,I[v++]=T>>8&255,I[v++]=T&255;return L===2&&(T=t[_.charCodeAt(P)]<<2|t[_.charCodeAt(P+1)]>>4,I[v++]=T&255),L===1&&(T=t[_.charCodeAt(P)]<<10|t[_.charCodeAt(P+1)]<<4|t[_.charCodeAt(P+2)]>>2,I[v++]=T>>8&255,I[v++]=T&255),I}function h(_){return e[_>>18&63]+e[_>>12&63]+e[_>>6&63]+e[_&63]}function b(_,T,S){for(var R,L=[],I=T;Ix?x:v+I));return R===1?(T=_[S-1],L.push(e[T>>2]+e[T<<4&63]+"==")):R===2&&(T=(_[S-2]<<8)+_[S-1],L.push(e[T>>10]+e[T>>4&63]+e[T<<2&63]+"=")),L.join("")}return $t}var bn={};var Hi;function Ta(){return Hi||(Hi=1,bn.read=function(e,t,n,r,o){var l,a,c=o*8-r-1,d=(1<>1,h=-7,b=n?o-1:0,E=n?-1:1,_=e[t+b];for(b+=E,l=_&(1<<-h)-1,_>>=-h,h+=c;h>0;l=l*256+e[t+b],b+=E,h-=8);for(a=l&(1<<-h)-1,l>>=-h,h+=r;h>0;a=a*256+e[t+b],b+=E,h-=8);if(l===0)l=1-g;else{if(l===d)return a?NaN:(_?-1:1)*(1/0);a=a+Math.pow(2,r),l=l-g}return(_?-1:1)*a*Math.pow(2,l-r)},bn.write=function(e,t,n,r,o,l){var a,c,d,g=l*8-o-1,h=(1<>1,E=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,_=r?0:l-1,T=r?1:-1,S=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(c=isNaN(t)?1:0,a=h):(a=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-a))<1&&(a--,d*=2),a+b>=1?t+=E/d:t+=E*Math.pow(2,1-b),t*d>=2&&(a++,d/=2),a+b>=h?(c=0,a=h):a+b>=1?(c=(t*d-1)*Math.pow(2,o),a=a+b):(c=t*Math.pow(2,b-1)*Math.pow(2,o),a=0));o>=8;e[n+_]=c&255,_+=T,c/=256,o-=8);for(a=a<0;e[n+_]=a&255,_+=T,a/=256,g-=8);e[n+_-T]|=S*128}),bn}var Ki;function Ia(){return Ki||(Ki=1,function(e){const t=Aa(),n=Ta(),r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=c,e.SlowBuffer=I,e.INSPECT_MAX_BYTES=50;const o=2147483647;e.kMaxLength=o,c.TYPED_ARRAY_SUPPORT=l(),!c.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function l(){try{const u=new Uint8Array(1),i={foo:function(){return 42}};return Object.setPrototypeOf(i,Uint8Array.prototype),Object.setPrototypeOf(u,i),u.foo()===42}catch{return!1}}Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.byteOffset}});function a(u){if(u>o)throw new RangeError('The value "'+u+'" is invalid for option "size"');const i=new Uint8Array(u);return Object.setPrototypeOf(i,c.prototype),i}function c(u,i,s){if(typeof u=="number"){if(typeof i=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return b(u)}return d(u,i,s)}c.poolSize=8192;function d(u,i,s){if(typeof u=="string")return E(u,i);if(ArrayBuffer.isView(u))return T(u);if(u==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof u);if($(u,ArrayBuffer)||u&&$(u.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&($(u,SharedArrayBuffer)||u&&$(u.buffer,SharedArrayBuffer)))return S(u,i,s);if(typeof u=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const f=u.valueOf&&u.valueOf();if(f!=null&&f!==u)return c.from(f,i,s);const y=R(u);if(y)return y;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof u[Symbol.toPrimitive]=="function")return c.from(u[Symbol.toPrimitive]("string"),i,s);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof u)}c.from=function(u,i,s){return d(u,i,s)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array);function g(u){if(typeof u!="number")throw new TypeError('"size" argument must be of type number');if(u<0)throw new RangeError('The value "'+u+'" is invalid for option "size"')}function h(u,i,s){return g(u),u<=0?a(u):i!==void 0?typeof s=="string"?a(u).fill(i,s):a(u).fill(i):a(u)}c.alloc=function(u,i,s){return h(u,i,s)};function b(u){return g(u),a(u<0?0:L(u)|0)}c.allocUnsafe=function(u){return b(u)},c.allocUnsafeSlow=function(u){return b(u)};function E(u,i){if((typeof i!="string"||i==="")&&(i="utf8"),!c.isEncoding(i))throw new TypeError("Unknown encoding: "+i);const s=v(u,i)|0;let f=a(s);const y=f.write(u,i);return y!==s&&(f=f.slice(0,y)),f}function _(u){const i=u.length<0?0:L(u.length)|0,s=a(i);for(let f=0;f=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return u|0}function I(u){return+u!=u&&(u=0),c.alloc(+u)}c.isBuffer=function(i){return i!=null&&i._isBuffer===!0&&i!==c.prototype},c.compare=function(i,s){if($(i,Uint8Array)&&(i=c.from(i,i.offset,i.byteLength)),$(s,Uint8Array)&&(s=c.from(s,s.offset,s.byteLength)),!c.isBuffer(i)||!c.isBuffer(s))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(i===s)return 0;let f=i.length,y=s.length;for(let w=0,A=Math.min(f,y);wy.length?(c.isBuffer(A)||(A=c.from(A)),A.copy(y,w)):Uint8Array.prototype.set.call(y,A,w);else if(c.isBuffer(A))A.copy(y,w);else throw new TypeError('"list" argument must be an Array of Buffers');w+=A.length}return y};function v(u,i){if(c.isBuffer(u))return u.length;if(ArrayBuffer.isView(u)||$(u,ArrayBuffer))return u.byteLength;if(typeof u!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof u);const s=u.length,f=arguments.length>2&&arguments[2]===!0;if(!f&&s===0)return 0;let y=!1;for(;;)switch(i){case"ascii":case"latin1":case"binary":return s;case"utf8":case"utf-8":return O(u).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return s*2;case"hex":return s>>>1;case"base64":return j(u).length;default:if(y)return f?-1:O(u).length;i=(""+i).toLowerCase(),y=!0}}c.byteLength=v;function x(u,i,s){let f=!1;if((i===void 0||i<0)&&(i=0),i>this.length||((s===void 0||s>this.length)&&(s=this.length),s<=0)||(s>>>=0,i>>>=0,s<=i))return"";for(u||(u="utf8");;)switch(u){case"hex":return Me(this,i,s);case"utf8":case"utf-8":return fe(this,i,s);case"ascii":return ce(this,i,s);case"latin1":case"binary":return oe(this,i,s);case"base64":return re(this,i,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return tt(this,i,s);default:if(f)throw new TypeError("Unknown encoding: "+u);u=(u+"").toLowerCase(),f=!0}}c.prototype._isBuffer=!0;function P(u,i,s){const f=u[i];u[i]=u[s],u[s]=f}c.prototype.swap16=function(){const i=this.length;if(i%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let s=0;ss&&(i+=" ... "),""},r&&(c.prototype[r]=c.prototype.inspect),c.prototype.compare=function(i,s,f,y,w){if($(i,Uint8Array)&&(i=c.from(i,i.offset,i.byteLength)),!c.isBuffer(i))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof i);if(s===void 0&&(s=0),f===void 0&&(f=i?i.length:0),y===void 0&&(y=0),w===void 0&&(w=this.length),s<0||f>i.length||y<0||w>this.length)throw new RangeError("out of range index");if(y>=w&&s>=f)return 0;if(y>=w)return-1;if(s>=f)return 1;if(s>>>=0,f>>>=0,y>>>=0,w>>>=0,this===i)return 0;let A=w-y,X=f-s;const ne=Math.min(A,X),ie=this.slice(y,w),ge=i.slice(s,f);for(let ae=0;ae2147483647?s=2147483647:s<-2147483648&&(s=-2147483648),s=+s,U(s)&&(s=y?0:u.length-1),s<0&&(s=u.length+s),s>=u.length){if(y)return-1;s=u.length-1}else if(s<0)if(y)s=0;else return-1;if(typeof i=="string"&&(i=c.from(i,f)),c.isBuffer(i))return i.length===0?-1:z(u,i,s,f,y);if(typeof i=="number")return i=i&255,typeof Uint8Array.prototype.indexOf=="function"?y?Uint8Array.prototype.indexOf.call(u,i,s):Uint8Array.prototype.lastIndexOf.call(u,i,s):z(u,[i],s,f,y);throw new TypeError("val must be string, number or Buffer")}function z(u,i,s,f,y){let w=1,A=u.length,X=i.length;if(f!==void 0&&(f=String(f).toLowerCase(),f==="ucs2"||f==="ucs-2"||f==="utf16le"||f==="utf-16le")){if(u.length<2||i.length<2)return-1;w=2,A/=2,X/=2,s/=2}function ne(ge,ae){return w===1?ge[ae]:ge.readUInt16BE(ae*w)}let ie;if(y){let ge=-1;for(ie=s;ieA&&(s=A-X),ie=s;ie>=0;ie--){let ge=!0;for(let ae=0;aey&&(f=y)):f=y;const w=i.length;f>w/2&&(f=w/2);let A;for(A=0;A>>0,isFinite(f)?(f=f>>>0,y===void 0&&(y="utf8")):(y=f,f=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const w=this.length-s;if((f===void 0||f>w)&&(f=w),i.length>0&&(f<0||s<0)||s>this.length)throw new RangeError("Attempt to write outside buffer bounds");y||(y="utf8");let A=!1;for(;;)switch(y){case"hex":return Q(this,i,s,f);case"utf8":case"utf-8":return W(this,i,s,f);case"ascii":case"latin1":case"binary":return V(this,i,s,f);case"base64":return G(this,i,s,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,i,s,f);default:if(A)throw new TypeError("Unknown encoding: "+y);y=(""+y).toLowerCase(),A=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function re(u,i,s){return i===0&&s===u.length?t.fromByteArray(u):t.fromByteArray(u.slice(i,s))}function fe(u,i,s){s=Math.min(u.length,s);const f=[];let y=i;for(;y239?4:w>223?3:w>191?2:1;if(y+X<=s){let ne,ie,ge,ae;switch(X){case 1:w<128&&(A=w);break;case 2:ne=u[y+1],(ne&192)===128&&(ae=(w&31)<<6|ne&63,ae>127&&(A=ae));break;case 3:ne=u[y+1],ie=u[y+2],(ne&192)===128&&(ie&192)===128&&(ae=(w&15)<<12|(ne&63)<<6|ie&63,ae>2047&&(ae<55296||ae>57343)&&(A=ae));break;case 4:ne=u[y+1],ie=u[y+2],ge=u[y+3],(ne&192)===128&&(ie&192)===128&&(ge&192)===128&&(ae=(w&15)<<18|(ne&63)<<12|(ie&63)<<6|ge&63,ae>65535&&ae<1114112&&(A=ae))}}A===null?(A=65533,X=1):A>65535&&(A-=65536,f.push(A>>>10&1023|55296),A=56320|A&1023),f.push(A),y+=X}return me(f)}const Se=4096;function me(u){const i=u.length;if(i<=Se)return String.fromCharCode.apply(String,u);let s="",f=0;for(;ff)&&(s=f);let y="";for(let w=i;wf&&(i=f),s<0?(s+=f,s<0&&(s=0)):s>f&&(s=f),ss)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUintLE=c.prototype.readUIntLE=function(i,s,f){i=i>>>0,s=s>>>0,f||de(i,s,this.length);let y=this[i],w=1,A=0;for(;++A>>0,s=s>>>0,f||de(i,s,this.length);let y=this[i+--s],w=1;for(;s>0&&(w*=256);)y+=this[i+--s]*w;return y},c.prototype.readUint8=c.prototype.readUInt8=function(i,s){return i=i>>>0,s||de(i,1,this.length),this[i]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(i,s){return i=i>>>0,s||de(i,2,this.length),this[i]|this[i+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(i,s){return i=i>>>0,s||de(i,2,this.length),this[i]<<8|this[i+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(i,s){return i=i>>>0,s||de(i,4,this.length),(this[i]|this[i+1]<<8|this[i+2]<<16)+this[i+3]*16777216},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(i,s){return i=i>>>0,s||de(i,4,this.length),this[i]*16777216+(this[i+1]<<16|this[i+2]<<8|this[i+3])},c.prototype.readBigUInt64LE=K(function(i){i=i>>>0,m(i,"offset");const s=this[i],f=this[i+7];(s===void 0||f===void 0)&&C(i,this.length-8);const y=s+this[++i]*2**8+this[++i]*2**16+this[++i]*2**24,w=this[++i]+this[++i]*2**8+this[++i]*2**16+f*2**24;return BigInt(y)+(BigInt(w)<>>0,m(i,"offset");const s=this[i],f=this[i+7];(s===void 0||f===void 0)&&C(i,this.length-8);const y=s*2**24+this[++i]*2**16+this[++i]*2**8+this[++i],w=this[++i]*2**24+this[++i]*2**16+this[++i]*2**8+f;return(BigInt(y)<>>0,s=s>>>0,f||de(i,s,this.length);let y=this[i],w=1,A=0;for(;++A=w&&(y-=Math.pow(2,8*s)),y},c.prototype.readIntBE=function(i,s,f){i=i>>>0,s=s>>>0,f||de(i,s,this.length);let y=s,w=1,A=this[i+--y];for(;y>0&&(w*=256);)A+=this[i+--y]*w;return w*=128,A>=w&&(A-=Math.pow(2,8*s)),A},c.prototype.readInt8=function(i,s){return i=i>>>0,s||de(i,1,this.length),this[i]&128?(255-this[i]+1)*-1:this[i]},c.prototype.readInt16LE=function(i,s){i=i>>>0,s||de(i,2,this.length);const f=this[i]|this[i+1]<<8;return f&32768?f|4294901760:f},c.prototype.readInt16BE=function(i,s){i=i>>>0,s||de(i,2,this.length);const f=this[i+1]|this[i]<<8;return f&32768?f|4294901760:f},c.prototype.readInt32LE=function(i,s){return i=i>>>0,s||de(i,4,this.length),this[i]|this[i+1]<<8|this[i+2]<<16|this[i+3]<<24},c.prototype.readInt32BE=function(i,s){return i=i>>>0,s||de(i,4,this.length),this[i]<<24|this[i+1]<<16|this[i+2]<<8|this[i+3]},c.prototype.readBigInt64LE=K(function(i){i=i>>>0,m(i,"offset");const s=this[i],f=this[i+7];(s===void 0||f===void 0)&&C(i,this.length-8);const y=this[i+4]+this[i+5]*2**8+this[i+6]*2**16+(f<<24);return(BigInt(y)<>>0,m(i,"offset");const s=this[i],f=this[i+7];(s===void 0||f===void 0)&&C(i,this.length-8);const y=(s<<24)+this[++i]*2**16+this[++i]*2**8+this[++i];return(BigInt(y)<>>0,s||de(i,4,this.length),n.read(this,i,!0,23,4)},c.prototype.readFloatBE=function(i,s){return i=i>>>0,s||de(i,4,this.length),n.read(this,i,!1,23,4)},c.prototype.readDoubleLE=function(i,s){return i=i>>>0,s||de(i,8,this.length),n.read(this,i,!0,52,8)},c.prototype.readDoubleBE=function(i,s){return i=i>>>0,s||de(i,8,this.length),n.read(this,i,!1,52,8)};function pe(u,i,s,f,y,w){if(!c.isBuffer(u))throw new TypeError('"buffer" argument must be a Buffer instance');if(i>y||iu.length)throw new RangeError("Index out of range")}c.prototype.writeUintLE=c.prototype.writeUIntLE=function(i,s,f,y){if(i=+i,s=s>>>0,f=f>>>0,!y){const X=Math.pow(2,8*f)-1;pe(this,i,s,f,X,0)}let w=1,A=0;for(this[s]=i&255;++A>>0,f=f>>>0,!y){const X=Math.pow(2,8*f)-1;pe(this,i,s,f,X,0)}let w=f-1,A=1;for(this[s+w]=i&255;--w>=0&&(A*=256);)this[s+w]=i/A&255;return s+f},c.prototype.writeUint8=c.prototype.writeUInt8=function(i,s,f){return i=+i,s=s>>>0,f||pe(this,i,s,1,255,0),this[s]=i&255,s+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(i,s,f){return i=+i,s=s>>>0,f||pe(this,i,s,2,65535,0),this[s]=i&255,this[s+1]=i>>>8,s+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(i,s,f){return i=+i,s=s>>>0,f||pe(this,i,s,2,65535,0),this[s]=i>>>8,this[s+1]=i&255,s+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(i,s,f){return i=+i,s=s>>>0,f||pe(this,i,s,4,4294967295,0),this[s+3]=i>>>24,this[s+2]=i>>>16,this[s+1]=i>>>8,this[s]=i&255,s+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(i,s,f){return i=+i,s=s>>>0,f||pe(this,i,s,4,4294967295,0),this[s]=i>>>24,this[s+1]=i>>>16,this[s+2]=i>>>8,this[s+3]=i&255,s+4};function kt(u,i,s,f,y){p(i,f,y,u,s,7);let w=Number(i&BigInt(4294967295));u[s++]=w,w=w>>8,u[s++]=w,w=w>>8,u[s++]=w,w=w>>8,u[s++]=w;let A=Number(i>>BigInt(32)&BigInt(4294967295));return u[s++]=A,A=A>>8,u[s++]=A,A=A>>8,u[s++]=A,A=A>>8,u[s++]=A,s}function dn(u,i,s,f,y){p(i,f,y,u,s,7);let w=Number(i&BigInt(4294967295));u[s+7]=w,w=w>>8,u[s+6]=w,w=w>>8,u[s+5]=w,w=w>>8,u[s+4]=w;let A=Number(i>>BigInt(32)&BigInt(4294967295));return u[s+3]=A,A=A>>8,u[s+2]=A,A=A>>8,u[s+1]=A,A=A>>8,u[s]=A,s+8}c.prototype.writeBigUInt64LE=K(function(i,s=0){return kt(this,i,s,BigInt(0),BigInt("0xffffffffffffffff"))}),c.prototype.writeBigUInt64BE=K(function(i,s=0){return dn(this,i,s,BigInt(0),BigInt("0xffffffffffffffff"))}),c.prototype.writeIntLE=function(i,s,f,y){if(i=+i,s=s>>>0,!y){const ne=Math.pow(2,8*f-1);pe(this,i,s,f,ne-1,-ne)}let w=0,A=1,X=0;for(this[s]=i&255;++w>0)-X&255;return s+f},c.prototype.writeIntBE=function(i,s,f,y){if(i=+i,s=s>>>0,!y){const ne=Math.pow(2,8*f-1);pe(this,i,s,f,ne-1,-ne)}let w=f-1,A=1,X=0;for(this[s+w]=i&255;--w>=0&&(A*=256);)i<0&&X===0&&this[s+w+1]!==0&&(X=1),this[s+w]=(i/A>>0)-X&255;return s+f},c.prototype.writeInt8=function(i,s,f){return i=+i,s=s>>>0,f||pe(this,i,s,1,127,-128),i<0&&(i=255+i+1),this[s]=i&255,s+1},c.prototype.writeInt16LE=function(i,s,f){return i=+i,s=s>>>0,f||pe(this,i,s,2,32767,-32768),this[s]=i&255,this[s+1]=i>>>8,s+2},c.prototype.writeInt16BE=function(i,s,f){return i=+i,s=s>>>0,f||pe(this,i,s,2,32767,-32768),this[s]=i>>>8,this[s+1]=i&255,s+2},c.prototype.writeInt32LE=function(i,s,f){return i=+i,s=s>>>0,f||pe(this,i,s,4,2147483647,-2147483648),this[s]=i&255,this[s+1]=i>>>8,this[s+2]=i>>>16,this[s+3]=i>>>24,s+4},c.prototype.writeInt32BE=function(i,s,f){return i=+i,s=s>>>0,f||pe(this,i,s,4,2147483647,-2147483648),i<0&&(i=4294967295+i+1),this[s]=i>>>24,this[s+1]=i>>>16,this[s+2]=i>>>8,this[s+3]=i&255,s+4},c.prototype.writeBigInt64LE=K(function(i,s=0){return kt(this,i,s,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),c.prototype.writeBigInt64BE=K(function(i,s=0){return dn(this,i,s,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function hn(u,i,s,f,y,w){if(s+f>u.length)throw new RangeError("Index out of range");if(s<0)throw new RangeError("Index out of range")}function nt(u,i,s,f,y){return i=+i,s=s>>>0,y||hn(u,i,s,4),n.write(u,i,s,f,23,4),s+4}c.prototype.writeFloatLE=function(i,s,f){return nt(this,i,s,!0,f)},c.prototype.writeFloatBE=function(i,s,f){return nt(this,i,s,!1,f)};function gt(u,i,s,f,y){return i=+i,s=s>>>0,y||hn(u,i,s,8),n.write(u,i,s,f,52,8),s+8}c.prototype.writeDoubleLE=function(i,s,f){return gt(this,i,s,!0,f)},c.prototype.writeDoubleBE=function(i,s,f){return gt(this,i,s,!1,f)},c.prototype.copy=function(i,s,f,y){if(!c.isBuffer(i))throw new TypeError("argument should be a Buffer");if(f||(f=0),!y&&y!==0&&(y=this.length),s>=i.length&&(s=i.length),s||(s=0),y>0&&y=this.length)throw new RangeError("Index out of range");if(y<0)throw new RangeError("sourceEnd out of bounds");y>this.length&&(y=this.length),i.length-s>>0,f=f===void 0?this.length:f>>>0,i||(i=0);let w;if(typeof i=="number")for(w=s;w2**32?y=rt(String(s)):typeof s=="bigint"&&(y=String(s),(s>BigInt(2)**BigInt(32)||s<-(BigInt(2)**BigInt(32)))&&(y=rt(y)),y+="n"),f+=` It must be ${i}. Received ${y}`,f},RangeError);function rt(u){let i="",s=u.length;const f=u[0]==="-"?1:0;for(;s>=f+4;s-=3)i=`_${u.slice(s-3,s)}${i}`;return`${u.slice(0,s)}${i}`}function Qr(u,i,s){m(i,"offset"),(u[i]===void 0||u[i+s]===void 0)&&C(i,u.length-(s+1))}function p(u,i,s,f,y,w){if(u>s||u= 0${A} and < 2${A} ** ${(w+1)*8}${A}`:X=`>= -(2${A} ** ${(w+1)*8-1}${A}) and < 2 ** ${(w+1)*8-1}${A}`,new $e.ERR_OUT_OF_RANGE("value",X,u)}Qr(f,y,w)}function m(u,i){if(typeof u!="number")throw new $e.ERR_INVALID_ARG_TYPE(i,"number",u)}function C(u,i,s){throw Math.floor(u)!==u?(m(u,s),new $e.ERR_OUT_OF_RANGE("offset","an integer",u)):i<0?new $e.ERR_BUFFER_OUT_OF_BOUNDS:new $e.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${i}`,u)}const N=/[^+/0-9A-Za-z-_]/g;function B(u){if(u=u.split("=")[0],u=u.trim().replace(N,""),u.length<2)return"";for(;u.length%4!==0;)u=u+"=";return u}function O(u,i){i=i||1/0;let s;const f=u.length;let y=null;const w=[];for(let A=0;A55295&&s<57344){if(!y){if(s>56319){(i-=3)>-1&&w.push(239,191,189);continue}else if(A+1===f){(i-=3)>-1&&w.push(239,191,189);continue}y=s;continue}if(s<56320){(i-=3)>-1&&w.push(239,191,189),y=s;continue}s=(y-55296<<10|s-56320)+65536}else y&&(i-=3)>-1&&w.push(239,191,189);if(y=null,s<128){if((i-=1)<0)break;w.push(s)}else if(s<2048){if((i-=2)<0)break;w.push(s>>6|192,s&63|128)}else if(s<65536){if((i-=3)<0)break;w.push(s>>12|224,s>>6&63|128,s&63|128)}else if(s<1114112){if((i-=4)<0)break;w.push(s>>18|240,s>>12&63|128,s>>6&63|128,s&63|128)}else throw new Error("Invalid code point")}return w}function k(u){const i=[];for(let s=0;s>8,y=s%256,w.push(y),w.push(f);return w}function j(u){return t.toByteArray(B(u))}function F(u,i,s,f){let y;for(y=0;y=i.length||y>=u.length);++y)i[y+s]=u[y];return y}function $(u,i){return u instanceof i||u!=null&&u.constructor!=null&&u.constructor.name!=null&&u.constructor.name===i.name}function U(u){return u!==u}const H=function(){const u="0123456789abcdef",i=new Array(256);for(let s=0;s<16;++s){const f=s*16;for(let y=0;y<16;++y)i[f+y]=u[s]+u[y]}return i}();function K(u){return typeof BigInt>"u"?te:u}function te(){throw new Error("BigInt not supported")}}(ur)),ur}var dt=Ia();const{initData:Ba,initDataUnsafe:Oa,version:Fa,platform:Ra,isVersionAtLeast:ps,sendData:Na,close:Pa}=Telegram.WebApp,gs=ee(!1),La=(...e)=>{Telegram.WebApp.ready(...e),gs.value=!0},ms=e=>Telegram.WebApp.platform===e,ys=ms("unknown"),Ma={ClosingConfirmation:"6.2",CloudStorage:"6.9",RequestWriteAccess:"6.9",RequestContact:"6.9",SettingsButton:"7.0",BiometricManager:"7.2",DisableVerticalSwipes:"7.7"},ja=e=>ps(Ma[e]),Da=!ys&&Telegram.WebApp.initData==="";function Yn(){return{initData:Ba,initDataUnsafe:Oa,version:Fa,platform:Ra,isVersionAtLeast:ps,onEvent:(e,t,n={manual:!1})=>{const{manual:r}=n,o=()=>{Telegram.WebApp.onEvent(e,t)},l=()=>{Telegram.WebApp.offEvent(e,t)};return r?o():(un(o),Gr(l)),{off:l}},sendData:Na,ready:La,close:Pa,isReady:Tt(gs),isPlatform:ms,isPlatformUnknown:ys,isFeatureSupported:ja,canSendData:Da}}ee(Telegram.WebApp.BackButton.isVisible);Telegram.WebApp.BiometricManager;ee(Telegram.WebApp.BiometricManager.isInited);ee(Telegram.WebApp.BiometricManager.isBiometricAvailable);ee(Telegram.WebApp.BiometricManager.biometricType);ee(Telegram.WebApp.BiometricManager.isAccessRequested);ee(Telegram.WebApp.BiometricManager.isAccessGranted);ee(Telegram.WebApp.BiometricManager.isAccessGranted);ee(Telegram.WebApp.BiometricManager.deviceId);Telegram.WebApp;ee(Telegram.WebApp.isClosingConfirmationEnabled);Telegram.WebApp.CloudStorage;const{impactOccurred:ka,notificationOccurred:Ua,selectionChanged:Va}=Telegram.WebApp.HapticFeedback;function $a(){return{impactOccurred:ka,notificationOccurred:Ua,selectionChanged:Va}}ee(Telegram.WebApp.MainButton.text);ee(Telegram.WebApp.MainButton.color);ee(Telegram.WebApp.MainButton.textColor);ee(Telegram.WebApp.MainButton.isVisible);ee(Telegram.WebApp.MainButton.isActive);ee(Telegram.WebApp.MainButton.isProgressVisible);Telegram.WebApp;const{showPopup:Wa,showAlert:Ha,showConfirm:Ka}=Telegram.WebApp;function qa(){const{onEvent:e}=Yn();return{showPopup:Wa,showAlert:Ha,showConfirm:Ka,onPopupClosed:(t,n)=>e("popupClosed",t,n)}}Telegram.WebApp;Telegram.WebApp;Yn();ee(Telegram.WebApp.SettingsButton.isVisible);const bs=ee(Telegram.WebApp.colorScheme),ws=ee(Telegram.WebApp.themeParams),vs=ee(Telegram.WebApp.headerColor),_s=ee(Telegram.WebApp.backgroundColor);function Zr(){bs.value=Telegram.WebApp.colorScheme,ws.value={...Telegram.WebApp.themeParams},vs.value=Telegram.WebApp.headerColor,_s.value=Telegram.WebApp.backgroundColor}function qi(...e){Telegram.WebApp.setHeaderColor(...e),Zr()}function Gi(...e){Telegram.WebApp.setBackgroundColor(...e),Zr()}function Ga(){const{onEvent:e}=Yn(),t=(n,r)=>e("themeChanged",n,r);return t(Zr),{colorScheme:Tt(bs),themeParams:Tt(ws),headerColor:Xe({get(){return vs.value},set(n){qi(n)}}),backgroundColor:Xe({get(){return _s.value},set(n){Gi(n)}}),setHeaderColor:qi,setBackgroundColor:Gi,onThemeChanged:t}}ee(Telegram.WebApp.isExpanded);ee(Telegram.WebApp.viewportHeight);ee(Telegram.WebApp.viewportStableHeight);ee(Telegram.WebApp.isVerticalSwipesEnabled);function xs(e,t=!0,n=!1){let r=dt.Buffer.from(e);const o=r.length;t&&(r=r.reverse());let l=BigInt("0x"+r.toString("hex"));return n&&l>=1n<>>1:e>>>1;t[n]=e}return t}let fr;function Ji(e){fr||(fr=Ya()),dt.Buffer.isBuffer(e)||(e=dt.Buffer.from(e));let t=-1;for(let n=0;n>>8}return(t^-1)>>>0}const Za=e=>/^[0-9a-fA-F]+$/.test(e),Qa=e=>/^[A-Za-z0-9+/=]*$|^[A-Za-z0-9-_]*$/.test(e),Xa=e=>{const t=e.replace(/[\s\n]+/g,"").replace(/-/g,"+").replace(/_/g,"/");if(Za(t))return dt.Buffer.from(t,"hex");if(Qa(t))return dt.Buffer.from(t,"base64");throw new Error("String is neither hex nor base64")},At=!!Yn().initData;function eu(e,t){return e.reduce((n,r)=>r<=t&&r>n?r:n,-1/0)}function Cn(e){if(e===null||typeof e!="object")return e;if(typeof e.toJSON=="function")return Cn(e.toJSON());if(Array.isArray(e))return e.map(Cn);const t={};for(const n in e)if(e.hasOwnProperty(n)){const r=e[n];r!=null&&(t[n]=Cn(r))}return t}function tu(){return"scheduler"in window&&"yield"in scheduler?scheduler.yield():new Promise(e=>{setTimeout(e,0)})}const Sn=[185,186,187,188,189,190,191,192,193,195,196],nu=e=>e,ru=e=>e,iu=new Set([3162085175,2574415285,1072550713,3300522427,1450380236]),ou=new Set([85337187,2211011308,2851430293,1013613780,1459478408,3504867164,3045658042,1715713620,3608339646,4110704415,812830625]),su=new Set(["int?=Int;","long?=Long;","double?=Double;","string?=String;","bytes=Bytes;"]),lu=(e,t)=>{const n=e.match(/([\w.]+)(?:#([0-9a-fA-F]+))?(?:\s{?\w+:[\w\d<>#.?!]+}?)*\s=\s([\w\d<>#.?]+);$/);if(!n)throw new Error(`Cannot parse TLObject ${e}`);const r=Es(/({)?(\w+):([\w\d<>#.?!]+)}?/,e),o={name:n[1],constructorId:parseInt(n[2],16),argsConfig:{},subclassOfId:Ji(n[3]),result:n[3],isFunction:t,namespace:void 0};if(!o.constructorId){const l="";let a;Object.values(o.argsConfig).length?a=` ${Object.keys(o.argsConfig).map(d=>d.toString()).join(" ")}`:a="";const c=`${o.name}${l}${a} = ${o.result}`.replace(/(:|\?)bytes /g,"$1string ").replace(/|{|}/g,"").replace(/ \w+:flags(\d+)?\.\d+\?true/g,"");o.constructorId=Ji(dt.Buffer.from(c,"utf8"))}for(const[l,a,c]of r)l===void 0&&(o.argsConfig[ru(a)]=cu(a,c));return o.name.includes(".")&&([o.namespace,o.name]=o.name.split(/\.(.+)/)),o.name=nu(o.name),o};function cu(e,t){const n={isVector:!1,isFlag:!1,skipConstructorId:!1,flagName:null,flagIndex:-1,flagIndicator:!0,type:null,useVectorId:null};if(t!=="#"){n.flagIndicator=!1,n.type=t.replace(/^!+/,"");const r=n.type.match(/(flags(?:\d+)?).(\d+)\?([\w<>.]+)/);r&&(n.isFlag=!0,n.flagName=r[1],n.flagIndex=Number(r[2]),n.type=r[3]);const o=n.type.match(/[Vv]ector<([\w\d.]+)>/);o&&(n.isVector=!0,n.useVectorId=n.type.charAt(0)==="V",[,n.type]=o),/^[a-z]$/.test(n.type.split(".").pop().charAt(0))&&(n.skipConstructorId=!0)}return n.type=="future_salt"&&(n.type="FutureSalt"),n}const au=function*(e,t,n=[],r=iu){(n||[]).reduce((g,h)=>({...g,[h.name]:h}),{});const o=[],l={},a={},c=e;let d=!1;for(let g of c.split(` `)){const h=g.indexOf("//");if(h!==-1&&(g=g.slice(0,h)),g=g.trim(),!g)continue;const b=g.match(/---(\w+)---/);if(b){const[,E]=b;d=E==="functions";continue}if(!su.has(g.replace(/\s/g,"")))try{const E=lu(g,d);if(r.has(E.constructorId))continue;o.push(E),E.isFunction||(a[E.result]||(a[E.result]=[]),l[E.name]=E,a[E.result].push(E))}catch(E){if(!E.toString().includes("vector#1cb5c415"))throw E}}for(const g of o)if(ou.has(g.constructorId))for(const h in g.argsConfig)g.argsConfig[h].type==="string"&&(g.argsConfig[h].type="bytes");for(const g of o)yield g},Es=(e,t,n=[])=>{e.flags.includes("g")||(e=new RegExp(e.source,"g"));const r=e.exec(t);return r&&(n.push(r.slice(1)),Es(e,t,n)),n};function zi(){return xs(Ja(8),!1,!0)}const Or=typeof self<"u"&&typeof localStorage<"u",Cs=1,Ss="schema:",uu=Ss+Cs;function fu(){if(Or)for(let e=0;e3==At)&&localStorage.removeItem(t)}else(t.startsWith("schema")||t.startsWith("layer"))&&localStorage.removeItem(t)}}async function du(e){let t;if(Or){const r=hu(e);r?t=r:(t=await Yi(e),Or&&pu(e,t))}else t=await Yi(e);const n=await gu(e,t);return yu("all",n)}function hu(e){const t=localStorage.getItem(As(e));return t||null}function pu(e,t){try{localStorage.setItem(As(e),t)}catch(n){console.error("Failed to save to cache",n)}}function As(e){return uu+":"+e+(At?"":":ex")}async function Yi(e){let t=await Sa(Object.assign({"./layers/layer-185-ex.js":()=>be(()=>import("./layer-185-ex-DUgxEDWI.js"),[]),"./layers/layer-185.js":()=>be(()=>import("./layer-185-CnhAau8t.js"),[]),"./layers/layer-186-ex.js":()=>be(()=>import("./layer-186-ex-M05Ef7BB.js"),[]),"./layers/layer-186.js":()=>be(()=>import("./layer-186-C8eG1A6Q.js"),[]),"./layers/layer-187-ex.js":()=>be(()=>import("./layer-187-ex-hairXBcE.js"),[]),"./layers/layer-187.js":()=>be(()=>import("./layer-187-BfADT8a-.js"),[]),"./layers/layer-188-ex.js":()=>be(()=>import("./layer-188-ex-BI3yarcd.js"),[]),"./layers/layer-188.js":()=>be(()=>import("./layer-188-DeEIDG-m.js"),[]),"./layers/layer-189-ex.js":()=>be(()=>import("./layer-189-ex-DCrpKgmw.js"),[]),"./layers/layer-189.js":()=>be(()=>import("./layer-189-caJ_y9cj.js"),[]),"./layers/layer-190-ex.js":()=>be(()=>import("./layer-190-ex-BQPDVogI.js"),[]),"./layers/layer-190.js":()=>be(()=>import("./layer-190-D4JQnnXj.js"),[]),"./layers/layer-191-ex.js":()=>be(()=>import("./layer-191-ex-BFauM5In.js"),[]),"./layers/layer-191.js":()=>be(()=>import("./layer-191-BxsaILHZ.js"),[]),"./layers/layer-192-ex.js":()=>be(()=>import("./layer-192-ex-C26y6mTo.js"),[]),"./layers/layer-192.js":()=>be(()=>import("./layer-192-CRuSeIYf.js"),[]),"./layers/layer-193-ex.js":()=>be(()=>import("./layer-193-ex-DVUrnAv2.js"),[]),"./layers/layer-193.js":()=>be(()=>import("./layer-193-CGAFwfYA.js"),[]),"./layers/layer-195-ex.js":()=>be(()=>import("./layer-195-ex-Drng-_73.js"),[]),"./layers/layer-195.js":()=>be(()=>import("./layer-195-Cud-nyA2.js"),[]),"./layers/layer-196-ex.js":()=>be(()=>import("./layer-196-ex-BQlypH4Q.js"),[]),"./layers/layer-196.js":()=>be(()=>import("./layer-196-BBtfuOwC.js"),[])}),`./layers/layer-${e}${At?"":"-ex"}.js`,3);return console.log(`Loaded layer ${e}${At?"":":ex"} without cache`),t?t.schema:null}async function gu(e,t){const[n,r]=mu(t),o=[].concat(n),l=r;return[].concat(o,l)}function mu(e){const t=au(e),n=[],r=[];for(const o of t)o.isFunction?r.push(o):n.push(o);return[n,r]}function Fr(e,t){if(t.isVector){t.useVectorId&&e.readInt();const n=[],r=e.readInt();t.isVector=!1;for(let o=0;o{e(n)});return}let r=0;const o=Sn.length;Sn.forEach(async l=>{await Zi(l,n),await tu(),++r===o&&e(n)})}async function Zi(e,t){let n=await du(e);for(const r of Object.values(n))if("CONSTRUCTOR_ID"in r)t[r.CONSTRUCTOR_ID]=r;else for(const o of Object.values(r))t[o.CONSTRUCTOR_ID]=o}class wu{stream;tlobjects;_last;offset;constructor(t,n){this.stream=t,this.tlobjects=n,this._last=void 0,this.offset=0}readByte(){return this.read(1)[0]}readInt(t=!0){let n;return t?n=this.stream.readInt32LE(this.offset):n=this.stream.readUInt32LE(this.offset),this.offset+=4,n}readLong(t=!0){return this.readLargeInt(64,t)}readFloat(){return this.read(4).readFloatLE(0)}readDouble(){return this.read(8).readDoubleLE(0)}readLargeInt(t,n=!0){const r=this.read(Math.floor(t/8));return xs(r,!0,n)}read(t=-1,n=!0){t===-1&&(t=this.stream.length-this.offset);const r=this.stream.slice(this.offset,this.offset+t);if(this.offset+=t,n&&r.length!==t)throw Error(`No more data left to read (need ${t}, got ${r.length}: ${r}); last read ${this._last}`);return this._last=r,r}getBuffer(){return this.stream}tgReadBytes(){const t=this.readByte();let n,r;t===254?(r=this.readByte()|this.readByte()<<8|this.readByte()<<16,n=r%4):(r=t,n=(r+1)%4);const o=this.read(r);return n>0&&(n=4-n,this.read(n)),o}tgReadString(){return this.tgReadBytes().toString("utf-8")}tgReadBool(){const t=this.readInt(!1);if(t===2574415285)return!0;if(t===3162085175)return!1;throw new Error(`Invalid boolean code ${t.toString(16)}`)}tgReadDate(){const t=this.readInt();return new Date(t*1e3)}tgReadObject(){const t=this.readInt(!1);let n=this.tlobjects[t];if(n===void 0){const r=t;if(r===2574415285)return!0;if(r===3162085175)return!1;if(r===481674261){const o=[],l=this.readInt();for(let a=0;a{var t;const n=e[0],r=(t=Jn())==null?void 0:t.proxy;if(r==null&&!Vo())throw new Error("injectLocal must be called in setup");return r&&dr.has(r)&&n in dr.get(r)?dr.get(r)[n]:Qt(...e)},xu=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Eu=Object.prototype.toString,Cu=e=>Eu.call(e)==="[object Object]",Is=()=>{};function Su(e,t){function n(...r){return new Promise((o,l)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(l)})}return n}const Bs=e=>e();function Au(e=Bs){const t=ee(!0);function n(){t.value=!1}function r(){t.value=!0}const o=(...l)=>{t.value&&e(...l)};return{isActive:Tt(t),pause:n,resume:r,eventFilter:o}}function Qi(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Tu(e){return Jn()}function Xi(e){return Array.isArray(e)?e:[e]}function Iu(...e){if(e.length!==1)return Sl(...e);const t=e[0];return typeof t=="function"?Tt(xl(()=>({get:t,set:Is}))):ee(t)}function Bu(e,t,n={}){const{eventFilter:r=Bs,...o}=n;return at(e,Su(r,t),o)}function Os(e,t,n={}){const{eventFilter:r,...o}=n,{eventFilter:l,pause:a,resume:c,isActive:d}=Au(r);return{stop:Bu(e,t,{...o,eventFilter:l}),pause:a,resume:c,isActive:d}}function Fs(e,t=!0,n){Tu()?un(e,n):t?e():Kr(e)}const jt=xu?window:void 0;function Rs(e){var t;const n=nn(e);return(t=n?.$el)!=null?t:n}function jn(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=jt):[t,n,r,o]=e,!t)return Is;n=Xi(n),r=Xi(r);const l=[],a=()=>{l.forEach(h=>h()),l.length=0},c=(h,b,E,_)=>(h.addEventListener(b,E,_),()=>h.removeEventListener(b,E,_)),d=at(()=>[Rs(t),nn(o)],([h,b])=>{if(a(),!h)return;const E=Cu(b)?{...b}:b;l.push(...n.flatMap(_=>r.map(T=>c(h,_,T,E))))},{immediate:!0,flush:"post"}),g=()=>{d(),a()};return Ts(g),g}function Ou(){const e=ee(!1),t=Jn();return t&&un(()=>{e.value=!0},t),e}function Fu(e){const t=Ou();return Xe(()=>(t.value,!!e()))}const Ru=Symbol("vueuse-ssr-width");function Nu(){const e=Vo()?_u(Ru,null):null;return typeof e=="number"?e:void 0}function Pu(e,t={}){const{window:n=jt,ssrWidth:r=Nu()}=t,o=Fu(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),l=ee(typeof r=="number");let a;const c=ee(!1),d=b=>{c.value=b.matches},g=()=>{a&&("removeEventListener"in a?a.removeEventListener("change",d):a.removeListener(d))},h=Xo(()=>{if(l.value){l.value=!o.value;const b=nn(e).split(",");c.value=b.some(E=>{const _=E.includes("not all"),T=E.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),S=E.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let R=!!(T||S);return T&&R&&(R=r>=Qi(T[1])),S&&R&&(R=r<=Qi(S[1])),_?!R:R});return}o.value&&(g(),a=n.matchMedia(nn(e)),"addEventListener"in a?a.addEventListener("change",d):a.addListener(d),c.value=a.matches)});return Ts(()=>{h(),g(),a=void 0}),Xe(()=>c.value)}const wn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},vn="__vueuse_ssr_handlers__",Lu=Mu();function Mu(){return vn in wn||(wn[vn]=wn[vn]||{}),wn[vn]}function Ns(e,t){return Lu[e]||t}function ju(e){return Pu("(prefers-color-scheme: dark)",e)}function Du(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const ku={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},eo="vueuse-storage";function Uu(e,t,n,r={}){var o;const{flush:l="pre",deep:a=!0,listenToStorageChanges:c=!0,writeDefaults:d=!0,mergeDefaults:g=!1,shallow:h,window:b=jt,eventFilter:E,onError:_=V=>{console.error(V)},initOnMounted:T}=r,S=(h?bl:ee)(typeof t=="function"?t():t);if(!n)try{n=Ns("getDefaultStorage",()=>{var V;return(V=jt)==null?void 0:V.localStorage})()}catch(V){_(V)}if(!n)return S;const R=nn(t),L=Du(R),I=(o=r.serializer)!=null?o:ku[L],{pause:v,resume:x}=Os(S,()=>q(S.value),{flush:l,deep:a,eventFilter:E});b&&c&&Fs(()=>{n instanceof Storage?jn(b,"storage",Q):jn(b,eo,W),T&&Q()}),T||Q();function P(V,G){if(b){const M={key:e,oldValue:V,newValue:G,storageArea:n};b.dispatchEvent(n instanceof Storage?new StorageEvent("storage",M):new CustomEvent(eo,{detail:M}))}}function q(V){try{const G=n.getItem(e);if(V==null)P(G,null),n.removeItem(e);else{const M=I.write(V);G!==M&&(n.setItem(e,M),P(G,M))}}catch(G){_(G)}}function z(V){const G=V?V.newValue:n.getItem(e);if(G==null)return d&&R!=null&&n.setItem(e,I.write(R)),R;if(!V&&g){const M=I.read(G);return typeof g=="function"?g(M,R):L==="object"&&!Array.isArray(M)?{...R,...M}:M}else return typeof G!="string"?G:I.read(G)}function Q(V){if(!(V&&V.storageArea!==n)){if(V&&V.key==null){S.value=R;return}if(!(V&&V.key!==e)){v();try{V?.newValue!==I.write(S.value)&&(S.value=z(V))}catch(G){_(G)}finally{V?Kr(x):x()}}}}function W(V){Q(V.detail)}return S}const Vu="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function $u(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:o=jt,storage:l,storageKey:a="vueuse-color-scheme",listenToStorageChanges:c=!0,storageRef:d,emitAuto:g,disableTransition:h=!0}=e,b={auto:"",light:"light",dark:"dark",...e.modes||{}},E=ju({window:o}),_=Xe(()=>E.value?"dark":"light"),T=d||(a==null?Iu(r):Uu(a,r,l,{window:o,listenToStorageChanges:c})),S=Xe(()=>T.value==="auto"?_.value:T.value),R=Ns("updateHTMLAttrs",(x,P,q)=>{const z=typeof x=="string"?o?.document.querySelector(x):Rs(x);if(!z)return;const Q=new Set,W=new Set;let V=null;if(P==="class"){const M=q.split(/\s/g);Object.values(b).flatMap(re=>(re||"").split(/\s/g)).filter(Boolean).forEach(re=>{M.includes(re)?Q.add(re):W.add(re)})}else V={key:P,value:q};if(Q.size===0&&W.size===0&&V===null)return;let G;h&&(G=o.document.createElement("style"),G.appendChild(document.createTextNode(Vu)),o.document.head.appendChild(G));for(const M of Q)z.classList.add(M);for(const M of W)z.classList.remove(M);V&&z.setAttribute(V.key,V.value),h&&(o.getComputedStyle(G).opacity,document.head.removeChild(G))});function L(x){var P;R(t,n,(P=b[x])!=null?P:x)}function I(x){e.onChanged?e.onChanged(x,L):L(x)}at(S,I,{flush:"post",immediate:!0}),Fs(()=>I(S.value));const v=Xe({get(){return g?T.value:S.value},set(x){T.value=x}});return Object.assign(v,{store:T,system:_,state:S})}function Wu(e="history",t={}){const{initialValue:n={},removeNullishValues:r=!0,removeFalsyValues:o=!1,write:l=!0,writeMode:a="replace",window:c=jt}=t;if(!c)return Mt(n);const d=Mt({});function g(){if(e==="history")return c.location.search||"";if(e==="hash"){const I=c.location.hash||"",v=I.indexOf("?");return v>0?I.slice(v):""}else return(c.location.hash||"").replace(/^#/,"")}function h(I){const v=I.toString();if(e==="history")return`${v?`?${v}`:""}${c.location.hash||""}`;if(e==="hash-params")return`${c.location.search||""}${v?`#${v}`:""}`;const x=c.location.hash||"#",P=x.indexOf("?");return P>0?`${c.location.search||""}${x.slice(0,P)}${v?`?${v}`:""}`:`${c.location.search||""}${x}${v?`?${v}`:""}`}function b(){return new URLSearchParams(g())}function E(I){const v=new Set(Object.keys(d));for(const x of I.keys()){const P=I.getAll(x);d[x]=P.length>1?P:I.get(x)||"",v.delete(x)}Array.from(v).forEach(x=>delete d[x])}const{pause:_,resume:T}=Os(d,()=>{const I=new URLSearchParams("");Object.keys(d).forEach(v=>{const x=d[v];Array.isArray(x)?x.forEach(P=>I.append(v,P)):r&&x==null||o&&!x?I.delete(v):I.set(v,x)}),S(I,!1)},{deep:!0});function S(I,v){_(),v&&E(I),a==="replace"?c.history.replaceState(c.history.state,c.document.title,c.location.pathname+h(I)):c.history.pushState(c.history.state,c.document.title,c.location.pathname+h(I)),T()}function R(){l&&S(b(),!0)}jn(c,"popstate",R,!1),e!=="history"&&jn(c,"hashchange",R,!1);const L=b();return L.keys().next().value?E(L):Object.assign(d,n),d}const Hu=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Ku={},qu={"aria-hidden":"true",class:"text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Gu(e,t){return Ke(),_t("svg",qu,t[0]||(t[0]=[Pe("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"},null,-1),Pe("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"},null,-1)]))}const to=Hu(Ku,[["render",Gu]]),Ju={class:"container mx-auto p-2"},zu={class:"relative"},Yu={key:1,class:"transition-all p-1 absolute top-0 end-0"},Zu={key:0,class:"p-2"},Qu={class:"mb-2 p-6 bg-white border border-gray-200 rounded-lg shadow dark:bg-gray-800 dark:border-gray-700"},Xu={class:"d-grid gap-2"},ef=["disabled"],tf={key:1,class:"transition-all p-1 flex justify-center items-center h-screen fixed top-0 left-0 right-0 bottom-0 w-full"},nf={__name:"App",setup(e){dt.Buffer.prototype.toJSON=function(){return this.toString("base64")},BigInt.prototype.toJSON=function(){return this};const t=ee("light"),n=ee(null),r=Wu("hash-params"),o=r.l,l=r.m,a=r.td,c=ee(null),d=ee(!1),g=ee(null);b(),bu(function(S){n.value=S,d.value=!0,h()},o);function h(){l&&!g.value&&T(l)}function b(){const S=$u(),R=Ga().colorScheme;console.log(`systemColorMode: ${S.value}, tgColorMode: ${R.value}`),E((At?R:S).value),at(At?R:S,async(L,I)=>{E(L)})}function E(S){document.documentElement.setAttribute("data-mode",S),t.value=S}function _(){T(c.value)}async function T(S){try{let R=Xa(S),I=new wu(R,n.value).tgReadObject();g.value=Cn(a?I.messages[0]:I)}catch(R){console.error(R),At?($a().notificationOccurred("error"),qa().showAlert(R.message)):alert(R.message)}}return(S,R)=>(Ke(),_t("div",Ju,[Pe("div",zu,[ve(yi,{"enter-active-class":"duration-300 ease-out","enter-from-class":"transform opacity-0","enter-to-class":"opacity-100","leave-active-class":"duration-200 ease-in","leave-from-class":"opacity-100","leave-to-class":"transform opacity-0"},{default:br(()=>[zt(l)?(Ke(),_t(De,{key:0},[d.value&&g.value?(Ke(),Cr(zt(Vi),{key:0,data:g.value,showLength:!0,theme:t.value=="dark"?"dark":"light"},null,8,["data","theme"])):(Ke(),_t("div",Yu,[ve(to,{class:"w-4 h-4"}),R[1]||(R[1]=Pe("span",{class:"sr-only"},"Loading...",-1))]))],64)):(Ke(),_t(De,{key:1},[d.value?(Ke(),_t("div",Zu,[Pe("div",Qu,[R[2]||(R[2]=Pe("h5",{class:"mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white"},"Telegram TL Viewer",-1)),R[3]||(R[3]=Pe("p",{class:"mb-3 font-normal text-gray-700 dark:text-gray-400"},"View Telegram TL objects in JSON format.",-1)),Pe("div",Xu,[Pl(Pe("textarea",{"onUpdate:modelValue":R[0]||(R[0]=L=>c.value=L),class:"transition-all block p-2.5 w-full text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300 focus:ring-4 focus:ring-blue-300 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500 outline-none",rows:"5",placeholder:"Base64 or HEX encoded..."},null,512),[[da,c.value]]),Pe("button",{type:"submit",class:"transition-all enabled:active:scale-95 mt-2 w-full disabled:bg-blue-300 text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 me-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 outline-none",disabled:!c.value,onClick:_},"Parse",8,ef)])]),ve(yi,{"enter-active-class":"duration-300 ease-out","enter-from-class":"transform opacity-0","enter-to-class":"opacity-100","leave-active-class":"duration-200 ease-in","leave-from-class":"opacity-100","leave-to-class":"transform opacity-0",appear:""},{default:br(()=>[g.value?(Ke(),Cr(zt(Vi),{key:0,data:g.value,showLength:!0,theme:t.value=="dark"?"dark":"light"},null,8,["data","theme"])):Bc("",!0)]),_:1})])):(Ke(),_t("div",tf,[ve(to,{class:"w-16 h-16"}),R[4]||(R[4]=Pe("span",{class:"sr-only"},"Loading...",-1))]))],64))]),_:1})])]))}},rf=ga(nf);rf.mount("#app"); diff --git a/index.html b/index.html index 44ee5ed..9dbf4fe 100644 --- a/index.html +++ b/index.html @@ -6,8 +6,8 @@ TL Viewer - - + +