From 59a151f382e22b7b449fbc5691711b72ba66bed0 Mon Sep 17 00:00:00 2001 From: Lloyd Date: Tue, 30 Dec 2025 15:17:48 +0000 Subject: [PATCH] Add build scripts and setup for pyMC_Repeater - Implemented build-dev.sh for creating development .deb packages from untagged commits. - Implemented build-prod.sh for creating production .deb packages from tagged commits, including checks for a clean git state. - Added setup-build-env.sh to automate the installation of required build dependencies for Debian/Ubuntu. - Created setup.py to manage package setup using setuptools with versioning from git tags. --- .gitignore | 1 + .../.pydistutils.cfg | 10 + debian/.gitignore | 6 + debian/changelog | 6 + debian/control | 34 + debian/debhelper-build-stamp | 1 + debian/pymc-repeater.dirs | 3 + debian/pymc-repeater.install | 3 + debian/pymc-repeater.postinst | 29 + debian/pymc-repeater.postrm | 18 + debian/pymc-repeater.service | 15 + debian/rules | 22 + debian/source/format | 1 + pyproject.toml | 11 +- repeater/__init__.py | 9 +- repeater/web/auth/middleware.py | 65 ++ .../{index-ViklARR2.js => index-DWtvChhM.js} | 762 +++++++++--------- repeater/web/html/assets/index-DiNHIYsR.css | 32 - repeater/web/html/assets/index-Di_qhLFB.css | 32 + repeater/web/html/index.html | 4 +- scripts/build-dev.sh | 134 +++ scripts/build-prod.sh | 181 +++++ scripts/setup-build-env.sh | 81 ++ setup.py | 10 + 24 files changed, 1057 insertions(+), 413 deletions(-) create mode 100644 .pybuild/cpython3_3.12_pymc-repeater/.pydistutils.cfg create mode 100644 debian/.gitignore create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/debhelper-build-stamp create mode 100644 debian/pymc-repeater.dirs create mode 100644 debian/pymc-repeater.install create mode 100755 debian/pymc-repeater.postinst create mode 100755 debian/pymc-repeater.postrm create mode 100644 debian/pymc-repeater.service create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 repeater/web/auth/middleware.py rename repeater/web/html/assets/{index-ViklARR2.js => index-DWtvChhM.js} (52%) delete mode 100644 repeater/web/html/assets/index-DiNHIYsR.css create mode 100644 repeater/web/html/assets/index-Di_qhLFB.css create mode 100755 scripts/build-dev.sh create mode 100755 scripts/build-prod.sh create mode 100755 scripts/setup-build-env.sh create mode 100755 setup.py diff --git a/.gitignore b/.gitignore index 6714355..b9ca82b 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ __pycache__/ *.so .Python build/ +repeater/_version.py develop-eggs/ dist/ downloads/ diff --git a/.pybuild/cpython3_3.12_pymc-repeater/.pydistutils.cfg b/.pybuild/cpython3_3.12_pymc-repeater/.pydistutils.cfg new file mode 100644 index 0000000..80e531f --- /dev/null +++ b/.pybuild/cpython3_3.12_pymc-repeater/.pydistutils.cfg @@ -0,0 +1,10 @@ +[clean] +all=1 +[build] +build_lib=/home/rightup/Documents/GIT/meshcore/pyMC_Repeater/.pybuild/cpython3_3.12_pymc-repeater/build +[install] +force=1 +install_layout=deb +install_scripts=$base/bin +install_lib=/usr/lib/python3.12/dist-packages +prefix=/usr diff --git a/debian/.gitignore b/debian/.gitignore new file mode 100644 index 0000000..e18f4ce --- /dev/null +++ b/debian/.gitignore @@ -0,0 +1,6 @@ +*.debhelper +*.debhelper.log +*.substvars +.debhelper/ +files +pymc-repeater/ diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..3508527 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +pymc-repeater (1.0.5~dev0) unstable; urgency=medium + + * Development build from git commit 7112da9 + * Version: 1.0.5.post0 + + -- Lloyd Tue, 30 Dec 2025 12:55:47 +0000 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..85cc62c --- /dev/null +++ b/debian/control @@ -0,0 +1,34 @@ +Source: pymc-repeater +Section: net +Priority: optional +Maintainer: Lloyd +Build-Depends: debhelper-compat (= 13), + dh-python, + python3-all, + python3-setuptools, + python3-setuptools-scm, + python3-wheel, + python3-pip, + python3-yaml, + python3-cherrypy3, + python3-paho-mqtt, + python3-psutil, + git +Standards-Version: 4.6.2 +Homepage: https://github.com/rightup/pyMC_Repeater +X-Python3-Version: >= 3.8 + +Package: pymc-repeater +Architecture: all +Depends: ${python3:Depends}, + ${misc:Depends}, + python3-yaml, + python3-cherrypy3, + python3-paho-mqtt, + python3-psutil, + python3-jwt +Description: PyMC Repeater Daemon + A mesh networking repeater daemon for LoRa devices. + . + This package provides the pymc-repeater service for managing + mesh network repeater functionality with a web interface. diff --git a/debian/debhelper-build-stamp b/debian/debhelper-build-stamp new file mode 100644 index 0000000..a8bda05 --- /dev/null +++ b/debian/debhelper-build-stamp @@ -0,0 +1 @@ +pymc-repeater diff --git a/debian/pymc-repeater.dirs b/debian/pymc-repeater.dirs new file mode 100644 index 0000000..2fc1a82 --- /dev/null +++ b/debian/pymc-repeater.dirs @@ -0,0 +1,3 @@ +etc/pymc-repeater +var/log/pymc-repeater +usr/share/pymc-repeater diff --git a/debian/pymc-repeater.install b/debian/pymc-repeater.install new file mode 100644 index 0000000..dccc880 --- /dev/null +++ b/debian/pymc-repeater.install @@ -0,0 +1,3 @@ +config.yaml.example usr/share/pymc-repeater/ +radio-presets.json usr/share/pymc-repeater/ +radio-settings.json usr/share/pymc-repeater/ diff --git a/debian/pymc-repeater.postinst b/debian/pymc-repeater.postinst new file mode 100755 index 0000000..90b7194 --- /dev/null +++ b/debian/pymc-repeater.postinst @@ -0,0 +1,29 @@ +#!/bin/sh +set -e + +case "$1" in + configure) + # Create system user + if ! getent passwd pymc-repeater >/dev/null; then + adduser --system --group --home /var/lib/pymc-repeater \ + --gecos "PyMC Repeater Service" pymc-repeater + fi + + # Set permissions + chown -R pymc-repeater:pymc-repeater /etc/pymc-repeater + chown -R pymc-repeater:pymc-repeater /var/log/pymc-repeater + chmod 750 /etc/pymc-repeater + chmod 750 /var/log/pymc-repeater + + # Copy example config if no config exists + if [ ! -f /etc/pymc-repeater/config.yaml ]; then + cp /usr/share/pymc-repeater/config.yaml.example /etc/pymc-repeater/config.yaml + chown pymc-repeater:pymc-repeater /etc/pymc-repeater/config.yaml + chmod 640 /etc/pymc-repeater/config.yaml + fi + ;; +esac + +#DEBHELPER# + +exit 0 diff --git a/debian/pymc-repeater.postrm b/debian/pymc-repeater.postrm new file mode 100755 index 0000000..5762452 --- /dev/null +++ b/debian/pymc-repeater.postrm @@ -0,0 +1,18 @@ +#!/bin/sh +set -e + +case "$1" in + purge) + # Remove user and directories + if getent passwd pymc-repeater >/dev/null; then + deluser --system pymc-repeater || true + fi + rm -rf /etc/pymc-repeater + rm -rf /var/log/pymc-repeater + rm -rf /var/lib/pymc-repeater + ;; +esac + +#DEBHELPER# + +exit 0 diff --git a/debian/pymc-repeater.service b/debian/pymc-repeater.service new file mode 100644 index 0000000..b2a9893 --- /dev/null +++ b/debian/pymc-repeater.service @@ -0,0 +1,15 @@ +[Unit] +Description=PyMC Repeater Daemon +After=network.target + +[Service] +Type=simple +User=pymc-repeater +Group=pymc-repeater +WorkingDirectory=/etc/pymc-repeater +ExecStart=/usr/bin/pymc-repeater +Restart=always +RestartSec=10 + +[Install] +WantedBy=multi-user.target diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..90bb323 --- /dev/null +++ b/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +export PYBUILD_NAME=pymc-repeater +export DH_VERBOSE=1 + +%: + dh $@ --with python3 --buildsystem=pybuild + +override_dh_auto_test: + # Skip tests - cherrypy-cors not available in Debian repos + # Tests pass in development with: pip install cherrypy-cors + + override_dh_auto_clean: + dh_auto_clean + rm -rf build/ + rm -rf *.egg-info/ + rm -rf .pybuild/ + rm -f repeater/_version.py + +override_dh_installsystemd: + dh_installsystemd --name=pymc-repeater diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/pyproject.toml b/pyproject.toml index cd08342..d7da41e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,10 @@ [build-system] -requires = ["setuptools>=61.0", "wheel"] +requires = ["setuptools>=61.0", "wheel", "setuptools_scm>=8.0"] build-backend = "setuptools.build_meta" [project] name = "pymc_repeater" -version = "1.0.5" +dynamic = ["version"] authors = [ {name = "Lloyd", email = "lloyd@rightup.co.uk"}, ] @@ -31,7 +31,7 @@ keywords = ["mesh", "networking", "lora", "repeater", "daemon", "iot"] dependencies = [ - "pymc_core[hardware] @ git+https://github.com/rightup/pyMC_core.git@feat/anon-req", + "pymc_core[hardware]>=1.0.6", "pyyaml>=6.0.0", "cherrypy>=18.0.0", "paho-mqtt>=1.6.0", @@ -73,3 +73,8 @@ target-version = ['py38', 'py39', 'py310', 'py311', 'py312'] [tool.isort] profile = "black" line_length = 100 + +[tool.setuptools_scm] +write_to = "repeater/_version.py" +version_scheme = "post-release" +local_scheme = "no-local-version" diff --git a/repeater/__init__.py b/repeater/__init__.py index df7827c..df25aa5 100644 --- a/repeater/__init__.py +++ b/repeater/__init__.py @@ -1 +1,8 @@ -__version__ = "1.0.5-beta-3" +try: + from ._version import version as __version__ +except ImportError: + try: + from importlib.metadata import version + __version__ = version("pymc_repeater") + except Exception: + __version__ = "unknown" diff --git a/repeater/web/auth/middleware.py b/repeater/web/auth/middleware.py new file mode 100644 index 0000000..c5cdb50 --- /dev/null +++ b/repeater/web/auth/middleware.py @@ -0,0 +1,65 @@ +import cherrypy +from functools import wraps +import logging + +logger = logging.getLogger(__name__) + + +def require_auth(func): + + @wraps(func) + def wrapper(*args, **kwargs): + # Skip authentication for OPTIONS requests (CORS preflight) + if cherrypy.request.method == 'OPTIONS': + return func(*args, **kwargs) + + # Get auth handlers from global cherrypy config (not app config) + jwt_handler = cherrypy.config.get('jwt_handler') + token_manager = cherrypy.config.get('token_manager') + + if not jwt_handler or not token_manager: + logger.error("Auth handlers not configured") + raise cherrypy.HTTPError(500, "Authentication not configured") + + # Try JWT authentication first + auth_header = cherrypy.request.headers.get('Authorization', '') + if auth_header.startswith('Bearer '): + token = auth_header[7:] # Remove 'Bearer ' prefix + payload = jwt_handler.verify_jwt(token) + + if payload: + # JWT is valid + cherrypy.request.user = { + 'username': payload['sub'], + 'client_id': payload['client_id'], + 'auth_type': 'jwt' + } + return func(*args, **kwargs) + else: + logger.warning("Invalid or expired JWT token") + + # Try API token authentication + api_key = cherrypy.request.headers.get('X-API-Key', '') + if api_key: + token_info = token_manager.verify_token(api_key) + + if token_info: + # API token is valid + cherrypy.request.user = { + 'username': 'api_token', + 'token_name': token_info['name'], + 'token_id': token_info['id'], + 'auth_type': 'api_token' + } + return func(*args, **kwargs) + else: + logger.warning("Invalid API token") + + # No valid authentication found + logger.warning(f"Unauthorized access attempt to {cherrypy.request.path_info}") + + cherrypy.response.status = 401 + cherrypy.response.headers['Content-Type'] = 'application/json' + return {'success': False, 'error': 'Unauthorized - Valid JWT or API token required'} + + return wrapper \ No newline at end of file diff --git a/repeater/web/html/assets/index-ViklARR2.js b/repeater/web/html/assets/index-DWtvChhM.js similarity index 52% rename from repeater/web/html/assets/index-ViklARR2.js rename to repeater/web/html/assets/index-DWtvChhM.js index 56184c3..cc11168 100644 --- a/repeater/web/html/assets/index-ViklARR2.js +++ b/repeater/web/html/assets/index-DWtvChhM.js @@ -1,54 +1,54 @@ -function rit(e,t){for(var r=0;rh[M]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const M of document.querySelectorAll('link[rel="modulepreload"]'))h(M);new MutationObserver(M=>{for(const $ of M)if($.type==="childList")for(const Y of $.addedNodes)Y.tagName==="LINK"&&Y.rel==="modulepreload"&&h(Y)}).observe(document,{childList:!0,subtree:!0});function r(M){const $={};return M.integrity&&($.integrity=M.integrity),M.referrerPolicy&&($.referrerPolicy=M.referrerPolicy),M.crossOrigin==="use-credentials"?$.credentials="include":M.crossOrigin==="anonymous"?$.credentials="omit":$.credentials="same-origin",$}function h(M){if(M.ep)return;M.ep=!0;const $=r(M);fetch(M.href,$)}})();/** +function wie(t,e){for(var r=0;rc[S]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const S of document.querySelectorAll('link[rel="modulepreload"]'))c(S);new MutationObserver(S=>{for(const H of S)if(H.type==="childList")for(const Z of H.addedNodes)Z.tagName==="LINK"&&Z.rel==="modulepreload"&&c(Z)}).observe(document,{childList:!0,subtree:!0});function r(S){const H={};return S.integrity&&(H.integrity=S.integrity),S.referrerPolicy&&(H.referrerPolicy=S.referrerPolicy),S.crossOrigin==="use-credentials"?H.credentials="include":S.crossOrigin==="anonymous"?H.credentials="omit":H.credentials="same-origin",H}function c(S){if(S.ep)return;S.ep=!0;const H=r(S);fetch(S.href,H)}})();/** * @vue/shared v3.5.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function q9(e){const t=Object.create(null);for(const r of e.split(","))t[r]=1;return r=>r in t}const Tf={},w2=[],Mv=()=>{},iit=()=>!1,eS=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Z9=e=>e.startsWith("onUpdate:"),Ip=Object.assign,G9=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},nit=Object.prototype.hasOwnProperty,qh=(e,t)=>nit.call(e,t),hu=Array.isArray,k2=e=>U5(e)==="[object Map]",rS=e=>U5(e)==="[object Set]",rO=e=>U5(e)==="[object Date]",Ku=e=>typeof e=="function",wd=e=>typeof e=="string",Rg=e=>typeof e=="symbol",Sf=e=>e!==null&&typeof e=="object",AN=e=>(Sf(e)||Ku(e))&&Ku(e.then)&&Ku(e.catch),CN=Object.prototype.toString,U5=e=>CN.call(e),ait=e=>U5(e).slice(8,-1),MN=e=>U5(e)==="[object Object]",K9=e=>wd(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,i5=q9(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),iS=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},oit=/-(\w)/g,yg=iS(e=>e.replace(oit,(t,r)=>r?r.toUpperCase():"")),sit=/\B([A-Z])/g,d_=iS(e=>e.replace(sit,"-$1").toLowerCase()),nS=iS(e=>e.charAt(0).toUpperCase()+e.slice(1)),YC=iS(e=>e?`on${nS(e)}`:""),a_=(e,t)=>!Object.is(e,t),Jk=(e,...t)=>{for(let r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:h,value:r})},wT=e=>{const t=parseFloat(e);return isNaN(t)?e:t},lit=e=>{const t=wd(e)?Number(e):NaN;return isNaN(t)?e:t};let iO;const aS=()=>iO||(iO=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function km(e){if(hu(e)){const t={};for(let r=0;r{if(r){const h=r.split(cit);h.length>1&&(t[h[0].trim()]=h[1].trim())}}),t}function to(e){let t="";if(wd(e))t=e;else if(hu(e))for(let r=0;rE2(r,t))}const LN=e=>!!(e&&e.__v_isRef===!0),Hi=e=>wd(e)?e:e==null?"":hu(e)||Sf(e)&&(e.toString===CN||!Ku(e.toString))?LN(e)?Hi(e.value):JSON.stringify(e,PN,2):String(e),PN=(e,t)=>LN(t)?PN(e,t.value):k2(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[h,M],$)=>(r[XC(h,$)+" =>"]=M,r),{})}:rS(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>XC(r))}:Rg(t)?XC(t):Sf(t)&&!hu(t)&&!MN(t)?String(t):t,XC=(e,t="")=>{var r;return Rg(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};/** +**//*! #__NO_SIDE_EFFECTS__ */function iE(t){const e=Object.create(null);for(const r of t.split(","))e[r]=1;return r=>r in e}const Af={},A2=[],Mv=()=>{},kie=()=>!1,lS=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),nE=t=>t.startsWith("onUpdate:"),zp=Object.assign,aE=(t,e)=>{const r=t.indexOf(e);r>-1&&t.splice(r,1)},Tie=Object.prototype.hasOwnProperty,Zh=(t,e)=>Tie.call(t,e),fu=Array.isArray,C2=t=>K5(t)==="[object Map]",uS=t=>K5(t)==="[object Set]",mO=t=>K5(t)==="[object Date]",Xu=t=>typeof t=="function",Ad=t=>typeof t=="string",Rg=t=>typeof t=="symbol",Cf=t=>t!==null&&typeof t=="object",$N=t=>(Cf(t)||Xu(t))&&Xu(t.then)&&Xu(t.catch),HN=Object.prototype.toString,K5=t=>HN.call(t),Sie=t=>K5(t).slice(8,-1),VN=t=>K5(t)==="[object Object]",oE=t=>Ad(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,u5=iE(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cS=t=>{const e=Object.create(null);return r=>e[r]||(e[r]=t(r))},Aie=/-(\w)/g,xg=cS(t=>t.replace(Aie,(e,r)=>r?r.toUpperCase():"")),Cie=/\B([A-Z])/g,g_=cS(t=>t.replace(Cie,"-$1").toLowerCase()),hS=cS(t=>t.charAt(0).toUpperCase()+t.slice(1)),o7=cS(t=>t?`on${hS(t)}`:""),s_=(t,e)=>!Object.is(t,e),aT=(t,...e)=>{for(let r=0;r{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:c,value:r})},ET=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Mie=t=>{const e=Ad(t)?Number(t):NaN;return isNaN(e)?t:e};let gO;const fS=()=>gO||(gO=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Tm(t){if(fu(t)){const e={};for(let r=0;r{if(r){const c=r.split(Lie);c.length>1&&(e[c[0].trim()]=c[1].trim())}}),e}function eo(t){let e="";if(Ad(t))e=t;else if(fu(t))for(let r=0;rD2(r,e))}const qN=t=>!!(t&&t.__v_isRef===!0),Ci=t=>Ad(t)?t:t==null?"":fu(t)||Cf(t)&&(t.toString===HN||!Xu(t.toString))?qN(t)?Ci(t.value):JSON.stringify(t,GN,2):String(t),GN=(t,e)=>qN(e)?GN(t,e.value):C2(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((r,[c,S],H)=>(r[s7(c,H)+" =>"]=S,r),{})}:uS(e)?{[`Set(${e.size})`]:[...e.values()].map(r=>s7(r))}:Rg(e)?s7(e):Cf(e)&&!fu(e)&&!VN(e)?String(e):e,s7=(t,e="")=>{var r;return Rg(t)?`Symbol(${(r=t.description)!=null?r:e})`:t};/** * @vue/reactivity v3.5.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let I0;class IN{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=I0,!t&&I0&&(this.index=(I0.scopes||(I0.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,r;if(this.scopes)for(t=0,r=this.scopes.length;t0&&--this._on===0&&(I0=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let r,h;for(r=0,h=this.effects.length;r0)return;if(a5){let t=a5;for(a5=void 0;t;){const r=t.next;t.next=void 0,t.flags&=-9,t=r}}let e;for(;n5;){let t=n5;for(n5=void 0;t;){const r=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(h){e||(e=h)}t=r}}if(e)throw e}function FN(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function NN(e){let t,r=e.depsTail,h=r;for(;h;){const M=h.prevDep;h.version===-1?(h===r&&(r=M),J9(h),yit(h)):t=h,h.dep.activeLink=h.prevActiveLink,h.prevActiveLink=void 0,h=M}e.deps=t,e.depsTail=r}function gM(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(jN(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function jN(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===_5)||(e.globalVersion=_5,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!gM(e))))return;e.flags|=2;const t=e.dep,r=Df,h=Og;Df=e,Og=!0;try{FN(e);const M=e.fn(e._value);(t.version===0||a_(M,e._value))&&(e.flags|=128,e._value=M,t.version++)}catch(M){throw t.version++,M}finally{Df=r,Og=h,NN(e),e.flags&=-3}}function J9(e,t=!1){const{dep:r,prevSub:h,nextSub:M}=e;if(h&&(h.nextSub=M,e.prevSub=void 0),M&&(M.prevSub=h,e.nextSub=void 0),r.subs===e&&(r.subs=h,!h&&r.computed)){r.computed.flags&=-5;for(let $=r.computed.deps;$;$=$.nextDep)J9($,!0)}!t&&!--r.sc&&r.map&&r.map.delete(r.key)}function yit(e){const{prevDep:t,nextDep:r}=e;t&&(t.nextDep=r,e.prevDep=void 0),r&&(r.prevDep=t,e.nextDep=void 0)}let Og=!0;const UN=[];function B1(){UN.push(Og),Og=!1}function R1(){const e=UN.pop();Og=e===void 0?!0:e}function nO(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const r=Df;Df=void 0;try{t()}finally{Df=r}}}let _5=0;class _it{constructor(t,r){this.sub=t,this.dep=r,this.version=r.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Q9{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,this.__v_skip=!0}track(t){if(!Df||!Og||Df===this.computed)return;let r=this.activeLink;if(r===void 0||r.sub!==Df)r=this.activeLink=new _it(Df,this),Df.deps?(r.prevDep=Df.depsTail,Df.depsTail.nextDep=r,Df.depsTail=r):Df.deps=Df.depsTail=r,HN(r);else if(r.version===-1&&(r.version=this.version,r.nextDep)){const h=r.nextDep;h.prevDep=r.prevDep,r.prevDep&&(r.prevDep.nextDep=h),r.prevDep=Df.depsTail,r.nextDep=void 0,Df.depsTail.nextDep=r,Df.depsTail=r,Df.deps===r&&(Df.deps=h)}return r}trigger(t){this.version++,_5++,this.notify(t)}notify(t){Y9();try{for(let r=this.subs;r;r=r.prevSub)r.sub.notify()&&r.sub.dep.notify()}finally{X9()}}}function HN(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let h=t.deps;h;h=h.nextDep)HN(h)}const r=e.dep.subs;r!==e&&(e.prevSub=r,r&&(r.nextSub=e)),e.dep.subs=e}}const kT=new WeakMap,wx=Symbol(""),vM=Symbol(""),x5=Symbol("");function D0(e,t,r){if(Og&&Df){let h=kT.get(e);h||kT.set(e,h=new Map);let M=h.get(r);M||(h.set(r,M=new Q9),M.map=h,M.key=r),M.track()}}function M1(e,t,r,h,M,$){const Y=kT.get(e);if(!Y){_5++;return}const ct=bt=>{bt&&bt.trigger()};if(Y9(),t==="clear")Y.forEach(ct);else{const bt=hu(e),At=bt&&K9(r);if(bt&&r==="length"){const Nt=Number(h);Y.forEach((te,xe)=>{(xe==="length"||xe===x5||!Rg(xe)&&xe>=Nt)&&ct(te)})}else switch((r!==void 0||Y.has(void 0))&&ct(Y.get(r)),At&&ct(Y.get(x5)),t){case"add":bt?At&&ct(Y.get("length")):(ct(Y.get(wx)),k2(e)&&ct(Y.get(vM)));break;case"delete":bt||(ct(Y.get(wx)),k2(e)&&ct(Y.get(vM)));break;case"set":k2(e)&&ct(Y.get(wx));break}}X9()}function xit(e,t){const r=kT.get(e);return r&&r.get(t)}function n2(e){const t=Du(e);return t===e?t:(D0(t,"iterate",x5),mg(e)?t:t.map(g0))}function oS(e){return D0(e=Du(e),"iterate",x5),e}const bit={__proto__:null,[Symbol.iterator](){return QC(this,Symbol.iterator,g0)},concat(...e){return n2(this).concat(...e.map(t=>hu(t)?n2(t):t))},entries(){return QC(this,"entries",e=>(e[1]=g0(e[1]),e))},every(e,t){return f1(this,"every",e,t,void 0,arguments)},filter(e,t){return f1(this,"filter",e,t,r=>r.map(g0),arguments)},find(e,t){return f1(this,"find",e,t,g0,arguments)},findIndex(e,t){return f1(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return f1(this,"findLast",e,t,g0,arguments)},findLastIndex(e,t){return f1(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return f1(this,"forEach",e,t,void 0,arguments)},includes(...e){return t7(this,"includes",e)},indexOf(...e){return t7(this,"indexOf",e)},join(e){return n2(this).join(e)},lastIndexOf(...e){return t7(this,"lastIndexOf",e)},map(e,t){return f1(this,"map",e,t,void 0,arguments)},pop(){return x3(this,"pop")},push(...e){return x3(this,"push",e)},reduce(e,...t){return aO(this,"reduce",e,t)},reduceRight(e,...t){return aO(this,"reduceRight",e,t)},shift(){return x3(this,"shift")},some(e,t){return f1(this,"some",e,t,void 0,arguments)},splice(...e){return x3(this,"splice",e)},toReversed(){return n2(this).toReversed()},toSorted(e){return n2(this).toSorted(e)},toSpliced(...e){return n2(this).toSpliced(...e)},unshift(...e){return x3(this,"unshift",e)},values(){return QC(this,"values",g0)}};function QC(e,t,r){const h=oS(e),M=h[t]();return h!==e&&!mg(e)&&(M._next=M.next,M.next=()=>{const $=M._next();return $.value&&($.value=r($.value)),$}),M}const wit=Array.prototype;function f1(e,t,r,h,M,$){const Y=oS(e),ct=Y!==e&&!mg(e),bt=Y[t];if(bt!==wit[t]){const te=bt.apply(e,$);return ct?g0(te):te}let At=r;Y!==e&&(ct?At=function(te,xe){return r.call(this,g0(te),xe,e)}:r.length>2&&(At=function(te,xe){return r.call(this,te,xe,e)}));const Nt=bt.call(Y,At,h);return ct&&M?M(Nt):Nt}function aO(e,t,r,h){const M=oS(e);let $=r;return M!==e&&(mg(e)?r.length>3&&($=function(Y,ct,bt){return r.call(this,Y,ct,bt,e)}):$=function(Y,ct,bt){return r.call(this,Y,g0(ct),bt,e)}),M[t]($,...h)}function t7(e,t,r){const h=Du(e);D0(h,"iterate",x5);const M=h[t](...r);return(M===-1||M===!1)&&rE(r[0])?(r[0]=Du(r[0]),h[t](...r)):M}function x3(e,t,r=[]){B1(),Y9();const h=Du(e)[t].apply(e,r);return X9(),R1(),h}const kit=q9("__proto__,__v_isRef,__isVue"),$N=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Rg));function Tit(e){Rg(e)||(e=String(e));const t=Du(this);return D0(t,"has",e),t.hasOwnProperty(e)}class VN{constructor(t=!1,r=!1){this._isReadonly=t,this._isShallow=r}get(t,r,h){if(r==="__v_skip")return t.__v_skip;const M=this._isReadonly,$=this._isShallow;if(r==="__v_isReactive")return!M;if(r==="__v_isReadonly")return M;if(r==="__v_isShallow")return $;if(r==="__v_raw")return h===(M?$?zit:GN:$?ZN:qN).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(h)?t:void 0;const Y=hu(t);if(!M){let bt;if(Y&&(bt=bit[r]))return bt;if(r==="hasOwnProperty")return Tit}const ct=Reflect.get(t,r,op(t)?t:h);return(Rg(r)?$N.has(r):kit(r))||(M||D0(t,"get",r),$)?ct:op(ct)?Y&&K9(r)?ct:ct.value:Sf(ct)?M?YN(ct):Lx(ct):ct}}class WN extends VN{constructor(t=!1){super(!1,t)}set(t,r,h,M){let $=t[r];if(!this._isShallow){const bt=u_($);if(!mg(h)&&!u_(h)&&($=Du($),h=Du(h)),!hu(t)&&op($)&&!op(h))return bt?!1:($.value=h,!0)}const Y=hu(t)&&K9(r)?Number(r)e,_k=e=>Reflect.getPrototypeOf(e);function Eit(e,t,r){return function(...h){const M=this.__v_raw,$=Du(M),Y=k2($),ct=e==="entries"||e===Symbol.iterator&&Y,bt=e==="keys"&&Y,At=M[e](...h),Nt=r?yM:t?TT:g0;return!t&&D0($,"iterate",bt?vM:wx),{next(){const{value:te,done:xe}=At.next();return xe?{value:te,done:xe}:{value:ct?[Nt(te[0]),Nt(te[1])]:Nt(te),done:xe}},[Symbol.iterator](){return this}}}}function xk(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Lit(e,t){const r={get(M){const $=this.__v_raw,Y=Du($),ct=Du(M);e||(a_(M,ct)&&D0(Y,"get",M),D0(Y,"get",ct));const{has:bt}=_k(Y),At=t?yM:e?TT:g0;if(bt.call(Y,M))return At($.get(M));if(bt.call(Y,ct))return At($.get(ct));$!==Y&&$.get(M)},get size(){const M=this.__v_raw;return!e&&D0(Du(M),"iterate",wx),Reflect.get(M,"size",M)},has(M){const $=this.__v_raw,Y=Du($),ct=Du(M);return e||(a_(M,ct)&&D0(Y,"has",M),D0(Y,"has",ct)),M===ct?$.has(M):$.has(M)||$.has(ct)},forEach(M,$){const Y=this,ct=Y.__v_raw,bt=Du(ct),At=t?yM:e?TT:g0;return!e&&D0(bt,"iterate",wx),ct.forEach((Nt,te)=>M.call($,At(Nt),At(te),Y))}};return Ip(r,e?{add:xk("add"),set:xk("set"),delete:xk("delete"),clear:xk("clear")}:{add(M){!t&&!mg(M)&&!u_(M)&&(M=Du(M));const $=Du(this);return _k($).has.call($,M)||($.add(M),M1($,"add",M,M)),this},set(M,$){!t&&!mg($)&&!u_($)&&($=Du($));const Y=Du(this),{has:ct,get:bt}=_k(Y);let At=ct.call(Y,M);At||(M=Du(M),At=ct.call(Y,M));const Nt=bt.call(Y,M);return Y.set(M,$),At?a_($,Nt)&&M1(Y,"set",M,$):M1(Y,"add",M,$),this},delete(M){const $=Du(this),{has:Y,get:ct}=_k($);let bt=Y.call($,M);bt||(M=Du(M),bt=Y.call($,M)),ct&&ct.call($,M);const At=$.delete(M);return bt&&M1($,"delete",M,void 0),At},clear(){const M=Du(this),$=M.size!==0,Y=M.clear();return $&&M1(M,"clear",void 0,void 0),Y}}),["keys","values","entries",Symbol.iterator].forEach(M=>{r[M]=Eit(M,e,t)}),r}function tE(e,t){const r=Lit(e,t);return(h,M,$)=>M==="__v_isReactive"?!e:M==="__v_isReadonly"?e:M==="__v_raw"?h:Reflect.get(qh(r,M)&&M in h?r:h,M,$)}const Pit={get:tE(!1,!1)},Iit={get:tE(!1,!0)},Dit={get:tE(!0,!1)};const qN=new WeakMap,ZN=new WeakMap,GN=new WeakMap,zit=new WeakMap;function Oit(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Bit(e){return e.__v_skip||!Object.isExtensible(e)?0:Oit(ait(e))}function Lx(e){return u_(e)?e:eE(e,!1,Ait,Pit,qN)}function KN(e){return eE(e,!1,Mit,Iit,ZN)}function YN(e){return eE(e,!0,Cit,Dit,GN)}function eE(e,t,r,h,M){if(!Sf(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const $=Bit(e);if($===0)return e;const Y=M.get(e);if(Y)return Y;const ct=new Proxy(e,$===2?h:r);return M.set(e,ct),ct}function o_(e){return u_(e)?o_(e.__v_raw):!!(e&&e.__v_isReactive)}function u_(e){return!!(e&&e.__v_isReadonly)}function mg(e){return!!(e&&e.__v_isShallow)}function rE(e){return e?!!e.__v_raw:!1}function Du(e){const t=e&&e.__v_raw;return t?Du(t):e}function iE(e){return!qh(e,"__v_skip")&&Object.isExtensible(e)&&mM(e,"__v_skip",!0),e}const g0=e=>Sf(e)?Lx(e):e,TT=e=>Sf(e)?YN(e):e;function op(e){return e?e.__v_isRef===!0:!1}function ma(e){return XN(e,!1)}function Rit(e){return XN(e,!0)}function XN(e,t){return op(e)?e:new Fit(e,t)}class Fit{constructor(t,r){this.dep=new Q9,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=r?t:Du(t),this._value=r?t:g0(t),this.__v_isShallow=r}get value(){return this.dep.track(),this._value}set value(t){const r=this._rawValue,h=this.__v_isShallow||mg(t)||u_(t);t=h?t:Du(t),a_(t,r)&&(this._rawValue=t,this._value=h?t:g0(t),this.dep.trigger())}}function Ul(e){return op(e)?e.value:e}const Nit={get:(e,t,r)=>t==="__v_raw"?e:Ul(Reflect.get(e,t,r)),set:(e,t,r,h)=>{const M=e[t];return op(M)&&!op(r)?(M.value=r,!0):Reflect.set(e,t,r,h)}};function JN(e){return o_(e)?e:new Proxy(e,Nit)}function jit(e){const t=hu(e)?new Array(e.length):{};for(const r in e)t[r]=Hit(e,r);return t}class Uit{constructor(t,r,h){this._object=t,this._key=r,this._defaultValue=h,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 xit(Du(this._object),this._key)}}function Hit(e,t,r){const h=e[t];return op(h)?h:new Uit(e,t,r)}class $it{constructor(t,r,h){this.fn=t,this.setter=r,this._value=void 0,this.dep=new Q9(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=_5-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!r,this.isSSR=h}notify(){if(this.flags|=16,!(this.flags&8)&&Df!==this)return RN(this,!0),!0}get value(){const t=this.dep.track();return jN(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Vit(e,t,r=!1){let h,M;return Ku(e)?h=e:(h=e.get,M=e.set),new $it(h,M,r)}const bk={},ST=new WeakMap;let ux;function Wit(e,t=!1,r=ux){if(r){let h=ST.get(r);h||ST.set(r,h=[]),h.push(e)}}function qit(e,t,r=Tf){const{immediate:h,deep:M,once:$,scheduler:Y,augmentJob:ct,call:bt}=r,At=_r=>M?_r:mg(_r)||M===!1||M===0?E1(_r,1):E1(_r);let Nt,te,xe,Le,He=!1,qe=!1;if(op(e)?(te=()=>e.value,He=mg(e)):o_(e)?(te=()=>At(e),He=!0):hu(e)?(qe=!0,He=e.some(_r=>o_(_r)||mg(_r)),te=()=>e.map(_r=>{if(op(_r))return _r.value;if(o_(_r))return At(_r);if(Ku(_r))return bt?bt(_r,2):_r()})):Ku(e)?t?te=bt?()=>bt(e,2):e:te=()=>{if(xe){B1();try{xe()}finally{R1()}}const _r=ux;ux=Nt;try{return bt?bt(e,3,[Le]):e(Le)}finally{ux=_r}}:te=Mv,t&&M){const _r=te,Br=M===!0?1/0:M;te=()=>E1(_r(),Br)}const lr=zN(),Dr=()=>{Nt.stop(),lr&&lr.active&&G9(lr.effects,Nt)};if($&&t){const _r=t;t=(...Br)=>{_r(...Br),Dr()}}let Bt=qe?new Array(e.length).fill(bk):bk;const Ai=_r=>{if(!(!(Nt.flags&1)||!Nt.dirty&&!_r))if(t){const Br=Nt.run();if(M||He||(qe?Br.some((_i,Ni)=>a_(_i,Bt[Ni])):a_(Br,Bt))){xe&&xe();const _i=ux;ux=Nt;try{const Ni=[Br,Bt===bk?void 0:qe&&Bt[0]===bk?[]:Bt,Le];Bt=Br,bt?bt(t,3,Ni):t(...Ni)}finally{ux=_i}}}else Nt.run()};return ct&&ct(Ai),Nt=new ON(te),Nt.scheduler=Y?()=>Y(Ai,!1):Ai,Le=_r=>Wit(_r,!1,Nt),xe=Nt.onStop=()=>{const _r=ST.get(Nt);if(_r){if(bt)bt(_r,4);else for(const Br of _r)Br();ST.delete(Nt)}},t?h?Ai(!0):Bt=Nt.run():Y?Y(Ai.bind(null,!0),!0):Nt.run(),Dr.pause=Nt.pause.bind(Nt),Dr.resume=Nt.resume.bind(Nt),Dr.stop=Dr,Dr}function E1(e,t=1/0,r){if(t<=0||!Sf(e)||e.__v_skip||(r=r||new Set,r.has(e)))return e;if(r.add(e),t--,op(e))E1(e.value,t,r);else if(hu(e))for(let h=0;h{E1(h,t,r)});else if(MN(e)){for(const h in e)E1(e[h],t,r);for(const h of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,h)&&E1(e[h],t,r)}return e}/** +**/let O0;class ZN{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=O0,!e&&O0&&(this.index=(O0.scopes||(O0.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,r;if(this.scopes)for(e=0,r=this.scopes.length;e0&&--this._on===0&&(O0=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let r,c;for(r=0,c=this.effects.length;r0)return;if(h5){let e=h5;for(h5=void 0;e;){const r=e.next;e.next=void 0,e.flags&=-9,e=r}}let t;for(;c5;){let e=c5;for(c5=void 0;e;){const r=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(c){t||(t=c)}e=r}}if(t)throw t}function ej(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function tj(t){let e,r=t.depsTail,c=r;for(;c;){const S=c.prevDep;c.version===-1?(c===r&&(r=S),uE(c),Fie(c)):e=c,c.dep.activeLink=c.prevActiveLink,c.prevActiveLink=void 0,c=S}t.deps=e,t.depsTail=r}function AM(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(rj(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function rj(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===A5)||(t.globalVersion=A5,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!AM(t))))return;t.flags|=2;const e=t.dep,r=zf,c=Bg;zf=t,Bg=!0;try{ej(t);const S=t.fn(t._value);(e.version===0||s_(S,t._value))&&(t.flags|=128,t._value=S,e.version++)}catch(S){throw e.version++,S}finally{zf=r,Bg=c,tj(t),t.flags&=-3}}function uE(t,e=!1){const{dep:r,prevSub:c,nextSub:S}=t;if(c&&(c.nextSub=S,t.prevSub=void 0),S&&(S.prevSub=c,t.nextSub=void 0),r.subs===t&&(r.subs=c,!c&&r.computed)){r.computed.flags&=-5;for(let H=r.computed.deps;H;H=H.nextDep)uE(H,!0)}!e&&!--r.sc&&r.map&&r.map.delete(r.key)}function Fie(t){const{prevDep:e,nextDep:r}=t;e&&(e.nextDep=r,t.prevDep=void 0),r&&(r.prevDep=e,t.nextDep=void 0)}let Bg=!0;const ij=[];function F1(){ij.push(Bg),Bg=!1}function N1(){const t=ij.pop();Bg=t===void 0?!0:t}function vO(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const r=zf;zf=void 0;try{e()}finally{zf=r}}}let A5=0;class Nie{constructor(e,r){this.sub=e,this.dep=r,this.version=r.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class cE{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!zf||!Bg||zf===this.computed)return;let r=this.activeLink;if(r===void 0||r.sub!==zf)r=this.activeLink=new Nie(zf,this),zf.deps?(r.prevDep=zf.depsTail,zf.depsTail.nextDep=r,zf.depsTail=r):zf.deps=zf.depsTail=r,nj(r);else if(r.version===-1&&(r.version=this.version,r.nextDep)){const c=r.nextDep;c.prevDep=r.prevDep,r.prevDep&&(r.prevDep.nextDep=c),r.prevDep=zf.depsTail,r.nextDep=void 0,zf.depsTail.nextDep=r,zf.depsTail=r,zf.deps===r&&(zf.deps=c)}return r}trigger(e){this.version++,A5++,this.notify(e)}notify(e){sE();try{for(let r=this.subs;r;r=r.prevSub)r.sub.notify()&&r.sub.dep.notify()}finally{lE()}}}function nj(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let c=e.deps;c;c=c.nextDep)nj(c)}const r=t.dep.subs;r!==t&&(t.prevSub=r,r&&(r.nextSub=t)),t.dep.subs=t}}const LT=new WeakMap,Cx=Symbol(""),CM=Symbol(""),C5=Symbol("");function B0(t,e,r){if(Bg&&zf){let c=LT.get(t);c||LT.set(t,c=new Map);let S=c.get(r);S||(c.set(r,S=new cE),S.map=c,S.key=r),S.track()}}function L1(t,e,r,c,S,H){const Z=LT.get(t);if(!Z){A5++;return}const ue=be=>{be&&be.trigger()};if(sE(),e==="clear")Z.forEach(ue);else{const be=fu(t),Se=be&&oE(r);if(be&&r==="length"){const Fe=Number(c);Z.forEach((Je,_t)=>{(_t==="length"||_t===C5||!Rg(_t)&&_t>=Fe)&&ue(Je)})}else switch((r!==void 0||Z.has(void 0))&&ue(Z.get(r)),Se&&ue(Z.get(C5)),e){case"add":be?Se&&ue(Z.get("length")):(ue(Z.get(Cx)),C2(t)&&ue(Z.get(CM)));break;case"delete":be||(ue(Z.get(Cx)),C2(t)&&ue(Z.get(CM)));break;case"set":C2(t)&&ue(Z.get(Cx));break}}lE()}function jie(t,e){const r=LT.get(t);return r&&r.get(e)}function c2(t){const e=Ou(t);return e===t?e:(B0(e,"iterate",C5),vg(t)?e:e.map(y0))}function dS(t){return B0(t=Ou(t),"iterate",C5),t}const Uie={__proto__:null,[Symbol.iterator](){return u7(this,Symbol.iterator,y0)},concat(...t){return c2(this).concat(...t.map(e=>fu(e)?c2(e):e))},entries(){return u7(this,"entries",t=>(t[1]=y0(t[1]),t))},every(t,e){return p1(this,"every",t,e,void 0,arguments)},filter(t,e){return p1(this,"filter",t,e,r=>r.map(y0),arguments)},find(t,e){return p1(this,"find",t,e,y0,arguments)},findIndex(t,e){return p1(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return p1(this,"findLast",t,e,y0,arguments)},findLastIndex(t,e){return p1(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return p1(this,"forEach",t,e,void 0,arguments)},includes(...t){return c7(this,"includes",t)},indexOf(...t){return c7(this,"indexOf",t)},join(t){return c2(this).join(t)},lastIndexOf(...t){return c7(this,"lastIndexOf",t)},map(t,e){return p1(this,"map",t,e,void 0,arguments)},pop(){return S3(this,"pop")},push(...t){return S3(this,"push",t)},reduce(t,...e){return yO(this,"reduce",t,e)},reduceRight(t,...e){return yO(this,"reduceRight",t,e)},shift(){return S3(this,"shift")},some(t,e){return p1(this,"some",t,e,void 0,arguments)},splice(...t){return S3(this,"splice",t)},toReversed(){return c2(this).toReversed()},toSorted(t){return c2(this).toSorted(t)},toSpliced(...t){return c2(this).toSpliced(...t)},unshift(...t){return S3(this,"unshift",t)},values(){return u7(this,"values",y0)}};function u7(t,e,r){const c=dS(t),S=c[e]();return c!==t&&!vg(t)&&(S._next=S.next,S.next=()=>{const H=S._next();return H.value&&(H.value=r(H.value)),H}),S}const $ie=Array.prototype;function p1(t,e,r,c,S,H){const Z=dS(t),ue=Z!==t&&!vg(t),be=Z[e];if(be!==$ie[e]){const Je=be.apply(t,H);return ue?y0(Je):Je}let Se=r;Z!==t&&(ue?Se=function(Je,_t){return r.call(this,y0(Je),_t,t)}:r.length>2&&(Se=function(Je,_t){return r.call(this,Je,_t,t)}));const Fe=be.call(Z,Se,c);return ue&&S?S(Fe):Fe}function yO(t,e,r,c){const S=dS(t);let H=r;return S!==t&&(vg(t)?r.length>3&&(H=function(Z,ue,be){return r.call(this,Z,ue,be,t)}):H=function(Z,ue,be){return r.call(this,Z,y0(ue),be,t)}),S[e](H,...c)}function c7(t,e,r){const c=Ou(t);B0(c,"iterate",C5);const S=c[e](...r);return(S===-1||S===!1)&&dE(r[0])?(r[0]=Ou(r[0]),c[e](...r)):S}function S3(t,e,r=[]){F1(),sE();const c=Ou(t)[e].apply(t,r);return lE(),N1(),c}const Hie=iE("__proto__,__v_isRef,__isVue"),aj=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Rg));function Vie(t){Rg(t)||(t=String(t));const e=Ou(this);return B0(e,"has",t),e.hasOwnProperty(t)}class oj{constructor(e=!1,r=!1){this._isReadonly=e,this._isShallow=r}get(e,r,c){if(r==="__v_skip")return e.__v_skip;const S=this._isReadonly,H=this._isShallow;if(r==="__v_isReactive")return!S;if(r==="__v_isReadonly")return S;if(r==="__v_isShallow")return H;if(r==="__v_raw")return c===(S?H?ene:cj:H?uj:lj).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(c)?e:void 0;const Z=fu(e);if(!S){let be;if(Z&&(be=Uie[r]))return be;if(r==="hasOwnProperty")return Vie}const ue=Reflect.get(e,r,up(e)?e:c);return(Rg(r)?aj.has(r):Hie(r))||(S||B0(e,"get",r),H)?ue:up(ue)?Z&&oE(r)?ue:ue.value:Cf(ue)?S?fj(ue):Ox(ue):ue}}class sj extends oj{constructor(e=!1){super(!1,e)}set(e,r,c,S){let H=e[r];if(!this._isShallow){const be=h_(H);if(!vg(c)&&!h_(c)&&(H=Ou(H),c=Ou(c)),!fu(e)&&up(H)&&!up(c))return be?!1:(H.value=c,!0)}const Z=fu(e)&&oE(r)?Number(r)t,Ak=t=>Reflect.getPrototypeOf(t);function Kie(t,e,r){return function(...c){const S=this.__v_raw,H=Ou(S),Z=C2(H),ue=t==="entries"||t===Symbol.iterator&&Z,be=t==="keys"&&Z,Se=S[t](...c),Fe=r?MM:e?PT:y0;return!e&&B0(H,"iterate",be?CM:Cx),{next(){const{value:Je,done:_t}=Se.next();return _t?{value:Je,done:_t}:{value:ue?[Fe(Je[0]),Fe(Je[1])]:Fe(Je),done:_t}},[Symbol.iterator](){return this}}}}function Ck(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function Yie(t,e){const r={get(S){const H=this.__v_raw,Z=Ou(H),ue=Ou(S);t||(s_(S,ue)&&B0(Z,"get",S),B0(Z,"get",ue));const{has:be}=Ak(Z),Se=e?MM:t?PT:y0;if(be.call(Z,S))return Se(H.get(S));if(be.call(Z,ue))return Se(H.get(ue));H!==Z&&H.get(S)},get size(){const S=this.__v_raw;return!t&&B0(Ou(S),"iterate",Cx),Reflect.get(S,"size",S)},has(S){const H=this.__v_raw,Z=Ou(H),ue=Ou(S);return t||(s_(S,ue)&&B0(Z,"has",S),B0(Z,"has",ue)),S===ue?H.has(S):H.has(S)||H.has(ue)},forEach(S,H){const Z=this,ue=Z.__v_raw,be=Ou(ue),Se=e?MM:t?PT:y0;return!t&&B0(be,"iterate",Cx),ue.forEach((Fe,Je)=>S.call(H,Se(Fe),Se(Je),Z))}};return zp(r,t?{add:Ck("add"),set:Ck("set"),delete:Ck("delete"),clear:Ck("clear")}:{add(S){!e&&!vg(S)&&!h_(S)&&(S=Ou(S));const H=Ou(this);return Ak(H).has.call(H,S)||(H.add(S),L1(H,"add",S,S)),this},set(S,H){!e&&!vg(H)&&!h_(H)&&(H=Ou(H));const Z=Ou(this),{has:ue,get:be}=Ak(Z);let Se=ue.call(Z,S);Se||(S=Ou(S),Se=ue.call(Z,S));const Fe=be.call(Z,S);return Z.set(S,H),Se?s_(H,Fe)&&L1(Z,"set",S,H):L1(Z,"add",S,H),this},delete(S){const H=Ou(this),{has:Z,get:ue}=Ak(H);let be=Z.call(H,S);be||(S=Ou(S),be=Z.call(H,S)),ue&&ue.call(H,S);const Se=H.delete(S);return be&&L1(H,"delete",S,void 0),Se},clear(){const S=Ou(this),H=S.size!==0,Z=S.clear();return H&&L1(S,"clear",void 0,void 0),Z}}),["keys","values","entries",Symbol.iterator].forEach(S=>{r[S]=Kie(S,t,e)}),r}function hE(t,e){const r=Yie(t,e);return(c,S,H)=>S==="__v_isReactive"?!t:S==="__v_isReadonly"?t:S==="__v_raw"?c:Reflect.get(Zh(r,S)&&S in c?r:c,S,H)}const Xie={get:hE(!1,!1)},Jie={get:hE(!1,!0)},Qie={get:hE(!0,!1)};const lj=new WeakMap,uj=new WeakMap,cj=new WeakMap,ene=new WeakMap;function tne(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function rne(t){return t.__v_skip||!Object.isExtensible(t)?0:tne(Sie(t))}function Ox(t){return h_(t)?t:fE(t,!1,qie,Xie,lj)}function hj(t){return fE(t,!1,Zie,Jie,uj)}function fj(t){return fE(t,!0,Gie,Qie,cj)}function fE(t,e,r,c,S){if(!Cf(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const H=rne(t);if(H===0)return t;const Z=S.get(t);if(Z)return Z;const ue=new Proxy(t,H===2?c:r);return S.set(t,ue),ue}function l_(t){return h_(t)?l_(t.__v_raw):!!(t&&t.__v_isReactive)}function h_(t){return!!(t&&t.__v_isReadonly)}function vg(t){return!!(t&&t.__v_isShallow)}function dE(t){return t?!!t.__v_raw:!1}function Ou(t){const e=t&&t.__v_raw;return e?Ou(e):t}function pE(t){return!Zh(t,"__v_skip")&&Object.isExtensible(t)&&SM(t,"__v_skip",!0),t}const y0=t=>Cf(t)?Ox(t):t,PT=t=>Cf(t)?fj(t):t;function up(t){return t?t.__v_isRef===!0:!1}function Sn(t){return dj(t,!1)}function ine(t){return dj(t,!0)}function dj(t,e){return up(t)?t:new nne(t,e)}class nne{constructor(e,r){this.dep=new cE,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=r?e:Ou(e),this._value=r?e:y0(e),this.__v_isShallow=r}get value(){return this.dep.track(),this._value}set value(e){const r=this._rawValue,c=this.__v_isShallow||vg(e)||h_(e);e=c?e:Ou(e),s_(e,r)&&(this._rawValue=e,this._value=c?e:y0(e),this.dep.trigger())}}function Vl(t){return up(t)?t.value:t}const ane={get:(t,e,r)=>e==="__v_raw"?t:Vl(Reflect.get(t,e,r)),set:(t,e,r,c)=>{const S=t[e];return up(S)&&!up(r)?(S.value=r,!0):Reflect.set(t,e,r,c)}};function pj(t){return l_(t)?t:new Proxy(t,ane)}function one(t){const e=fu(t)?new Array(t.length):{};for(const r in t)e[r]=lne(t,r);return e}class sne{constructor(e,r,c){this._object=e,this._key=r,this._defaultValue=c,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return jie(Ou(this._object),this._key)}}function lne(t,e,r){const c=t[e];return up(c)?c:new sne(t,e,r)}class une{constructor(e,r,c){this.fn=e,this.setter=r,this._value=void 0,this.dep=new cE(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=A5-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!r,this.isSSR=c}notify(){if(this.flags|=16,!(this.flags&8)&&zf!==this)return QN(this,!0),!0}get value(){const e=this.dep.track();return rj(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function cne(t,e,r=!1){let c,S;return Xu(t)?c=t:(c=t.get,S=t.set),new une(c,S,r)}const Mk={},IT=new WeakMap;let fx;function hne(t,e=!1,r=fx){if(r){let c=IT.get(r);c||IT.set(r,c=[]),c.push(t)}}function fne(t,e,r=Af){const{immediate:c,deep:S,once:H,scheduler:Z,augmentJob:ue,call:be}=r,Se=ur=>S?ur:vg(ur)||S===!1||S===0?P1(ur,1):P1(ur);let Fe,Je,_t,bt,Dt=!1,Nt=!1;if(up(t)?(Je=()=>t.value,Dt=vg(t)):l_(t)?(Je=()=>Se(t),Dt=!0):fu(t)?(Nt=!0,Dt=t.some(ur=>l_(ur)||vg(ur)),Je=()=>t.map(ur=>{if(up(ur))return ur.value;if(l_(ur))return Se(ur);if(Xu(ur))return be?be(ur,2):ur()})):Xu(t)?e?Je=be?()=>be(t,2):t:Je=()=>{if(_t){F1();try{_t()}finally{N1()}}const ur=fx;fx=Fe;try{return be?be(t,3,[bt]):t(bt)}finally{fx=ur}}:Je=Mv,e&&S){const ur=Je,Ir=S===!0?1/0:S;Je=()=>P1(ur(),Ir)}const rr=YN(),Er=()=>{Fe.stop(),rr&&rr.active&&aE(rr.effects,Fe)};if(H&&e){const ur=e;e=(...Ir)=>{ur(...Ir),Er()}}let Re=Nt?new Array(t.length).fill(Mk):Mk;const ki=ur=>{if(!(!(Fe.flags&1)||!Fe.dirty&&!ur))if(e){const Ir=Fe.run();if(S||Dt||(Nt?Ir.some((Ti,bi)=>s_(Ti,Re[bi])):s_(Ir,Re))){_t&&_t();const Ti=fx;fx=Fe;try{const bi=[Ir,Re===Mk?void 0:Nt&&Re[0]===Mk?[]:Re,bt];Re=Ir,be?be(e,3,bi):e(...bi)}finally{fx=Ti}}}else Fe.run()};return ue&&ue(ki),Fe=new XN(Je),Fe.scheduler=Z?()=>Z(ki,!1):ki,bt=ur=>hne(ur,!1,Fe),_t=Fe.onStop=()=>{const ur=IT.get(Fe);if(ur){if(be)be(ur,4);else for(const Ir of ur)Ir();IT.delete(Fe)}},e?c?ki(!0):Re=Fe.run():Z?Z(ki.bind(null,!0),!0):Fe.run(),Er.pause=Fe.pause.bind(Fe),Er.resume=Fe.resume.bind(Fe),Er.stop=Er,Er}function P1(t,e=1/0,r){if(e<=0||!Cf(t)||t.__v_skip||(r=r||new Set,r.has(t)))return t;if(r.add(t),e--,up(t))P1(t.value,e,r);else if(fu(t))for(let c=0;c{P1(c,e,r)});else if(VN(t)){for(const c in t)P1(t[c],e,r);for(const c of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,c)&&P1(t[c],e,r)}return t}/** * @vue/runtime-core v3.5.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function H5(e,t,r,h){try{return h?e(...h):e()}catch(M){sS(M,t,r)}}function Fg(e,t,r,h){if(Ku(e)){const M=H5(e,t,r,h);return M&&AN(M)&&M.catch($=>{sS($,t,r)}),M}if(hu(e)){const M=[];for(let $=0;$>>1,M=em[h],$=b5(M);$=b5(r)?em.push(e):em.splice(Git(t),0,e),e.flags|=1,tj()}}function tj(){AT||(AT=QN.then(rj))}function Kit(e){hu(e)?T2.push(...e):qy&&e.id===-1?qy.splice(d2+1,0,e):e.flags&1||(T2.push(e),e.flags|=1),tj()}function oO(e,t,r=xv+1){for(;rb5(r)-b5(h));if(T2.length=0,qy){qy.push(...t);return}for(qy=t,d2=0;d2e.id==null?e.flags&2?-1:1/0:e.id;function rj(e){try{for(xv=0;xv{h._d&&xO(-1);const $=CT(t);let Y;try{Y=e(...M)}finally{CT($),h._d&&xO(1)}return Y};return h._n=!0,h._c=!0,h._d=!0,h}function Ic(e,t){if(y0===null)return e;const r=dS(y0),h=e.dirs||(e.dirs=[]);for(let M=0;Me.__isTeleport,o5=e=>e&&(e.disabled||e.disabled===""),sO=e=>e&&(e.defer||e.defer===""),lO=e=>typeof SVGElement<"u"&&e instanceof SVGElement,uO=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,_M=(e,t)=>{const r=e&&e.to;return wd(r)?t?t(r):null:r},oj={name:"Teleport",__isTeleport:!0,process(e,t,r,h,M,$,Y,ct,bt,At){const{mc:Nt,pc:te,pbc:xe,o:{insert:Le,querySelector:He,createText:qe,createComment:lr}}=At,Dr=o5(t.props);let{shapeFlag:Bt,children:Ai,dynamicChildren:_r}=t;if(e==null){const Br=t.el=qe(""),_i=t.anchor=qe("");Le(Br,r,h),Le(_i,r,h);const Ni=(Xr,on)=>{Bt&16&&(M&&M.isCE&&(M.ce._teleportTarget=Xr),Nt(Ai,Xr,on,M,$,Y,ct,bt))},ji=()=>{const Xr=t.target=_M(t.props,He),on=sj(Xr,t,qe,Le);Xr&&(Y!=="svg"&&lO(Xr)?Y="svg":Y!=="mathml"&&uO(Xr)&&(Y="mathml"),Dr||(Ni(Xr,on),Qk(t,!1)))};Dr&&(Ni(r,_i),Qk(t,!0)),sO(t.props)?(t.el.__isMounted=!1,Q0(()=>{ji(),delete t.el.__isMounted},$)):ji()}else{if(sO(t.props)&&e.el.__isMounted===!1){Q0(()=>{oj.process(e,t,r,h,M,$,Y,ct,bt,At)},$);return}t.el=e.el,t.targetStart=e.targetStart;const Br=t.anchor=e.anchor,_i=t.target=e.target,Ni=t.targetAnchor=e.targetAnchor,ji=o5(e.props),Xr=ji?r:_i,on=ji?Br:Ni;if(Y==="svg"||lO(_i)?Y="svg":(Y==="mathml"||uO(_i))&&(Y="mathml"),_r?(xe(e.dynamicChildren,_r,Xr,M,$,Y,ct),cE(e,t,!0)):bt||te(e,t,Xr,on,M,$,Y,ct,!1),Dr)ji?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):wk(t,r,Br,At,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const Ri=t.target=_M(t.props,He);Ri&&wk(t,Ri,null,At,0)}else ji&&wk(t,_i,Ni,At,1);Qk(t,Dr)}},remove(e,t,r,{um:h,o:{remove:M}},$){const{shapeFlag:Y,children:ct,anchor:bt,targetStart:At,targetAnchor:Nt,target:te,props:xe}=e;if(te&&(M(At),M(Nt)),$&&M(bt),Y&16){const Le=$||!o5(xe);for(let He=0;He{e.isMounted=!0}),Ug(()=>{e.isUnmounting=!0}),e}const ag=[Function,Array],uj={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ag,onEnter:ag,onAfterEnter:ag,onEnterCancelled:ag,onBeforeLeave:ag,onLeave:ag,onAfterLeave:ag,onLeaveCancelled:ag,onBeforeAppear:ag,onAppear:ag,onAfterAppear:ag,onAppearCancelled:ag},cj=e=>{const t=e.subTree;return t.component?cj(t.component):t},Xit={name:"BaseTransition",props:uj,setup(e,{slots:t}){const r=fS(),h=lj();return()=>{const M=t.default&&oE(t.default(),!0);if(!M||!M.length)return;const $=hj(M),Y=Du(e),{mode:ct}=Y;if(h.isLeaving)return e7($);const bt=cO($);if(!bt)return e7($);let At=w5(bt,Y,h,r,te=>At=te);bt.type!==z0&&Px(bt,At);let Nt=r.subTree&&cO(r.subTree);if(Nt&&Nt.type!==z0&&!mx(bt,Nt)&&cj(r).type!==z0){let te=w5(Nt,Y,h,r);if(Px(Nt,te),ct==="out-in"&&bt.type!==z0)return h.isLeaving=!0,te.afterLeave=()=>{h.isLeaving=!1,r.job.flags&8||r.update(),delete te.afterLeave,Nt=void 0},e7($);ct==="in-out"&&bt.type!==z0?te.delayLeave=(xe,Le,He)=>{const qe=fj(h,Nt);qe[String(Nt.key)]=Nt,xe[Zy]=()=>{Le(),xe[Zy]=void 0,delete At.delayedLeave,Nt=void 0},At.delayedLeave=()=>{He(),delete At.delayedLeave,Nt=void 0}}:Nt=void 0}else Nt&&(Nt=void 0);return $}}};function hj(e){let t=e[0];if(e.length>1){for(const r of e)if(r.type!==z0){t=r;break}}return t}const Jit=Xit;function fj(e,t){const{leavingVNodes:r}=e;let h=r.get(t.type);return h||(h=Object.create(null),r.set(t.type,h)),h}function w5(e,t,r,h,M){const{appear:$,mode:Y,persisted:ct=!1,onBeforeEnter:bt,onEnter:At,onAfterEnter:Nt,onEnterCancelled:te,onBeforeLeave:xe,onLeave:Le,onAfterLeave:He,onLeaveCancelled:qe,onBeforeAppear:lr,onAppear:Dr,onAfterAppear:Bt,onAppearCancelled:Ai}=t,_r=String(e.key),Br=fj(r,e),_i=(Xr,on)=>{Xr&&Fg(Xr,h,9,on)},Ni=(Xr,on)=>{const Ri=on[1];_i(Xr,on),hu(Xr)?Xr.every(Lr=>Lr.length<=1)&&Ri():Xr.length<=1&&Ri()},ji={mode:Y,persisted:ct,beforeEnter(Xr){let on=bt;if(!r.isMounted)if($)on=lr||bt;else return;Xr[Zy]&&Xr[Zy](!0);const Ri=Br[_r];Ri&&mx(e,Ri)&&Ri.el[Zy]&&Ri.el[Zy](),_i(on,[Xr])},enter(Xr){let on=At,Ri=Nt,Lr=te;if(!r.isMounted)if($)on=Dr||At,Ri=Bt||Nt,Lr=Ai||te;else return;let pr=!1;const Cr=Xr[kk]=$r=>{pr||(pr=!0,$r?_i(Lr,[Xr]):_i(Ri,[Xr]),ji.delayedLeave&&ji.delayedLeave(),Xr[kk]=void 0)};on?Ni(on,[Xr,Cr]):Cr()},leave(Xr,on){const Ri=String(e.key);if(Xr[kk]&&Xr[kk](!0),r.isUnmounting)return on();_i(xe,[Xr]);let Lr=!1;const pr=Xr[Zy]=Cr=>{Lr||(Lr=!0,on(),Cr?_i(qe,[Xr]):_i(He,[Xr]),Xr[Zy]=void 0,Br[Ri]===e&&delete Br[Ri])};Br[Ri]=e,Le?Ni(Le,[Xr,pr]):pr()},clone(Xr){const on=w5(Xr,t,r,h,M);return M&&M(on),on}};return ji}function e7(e){if(lS(e))return e=c_(e),e.children=null,e}function cO(e){if(!lS(e))return aj(e.type)&&e.children?hj(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:r}=e;if(r){if(t&16)return r[0];if(t&32&&Ku(r.default))return r.default()}}function Px(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Px(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function oE(e,t=!1,r){let h=[],M=0;for(let $=0;$1)for(let $=0;$s5(He,t&&(hu(t)?t[qe]:t),r,h,M));return}if(S2(h)&&!M){h.shapeFlag&512&&h.type.__asyncResolved&&h.component.subTree.component&&s5(e,t,r,h.component.subTree);return}const $=h.shapeFlag&4?dS(h.component):h.el,Y=M?null:$,{i:ct,r:bt}=e,At=t&&t.r,Nt=ct.refs===Tf?ct.refs={}:ct.refs,te=ct.setupState,xe=Du(te),Le=te===Tf?()=>!1:He=>qh(xe,He);if(At!=null&&At!==bt&&(wd(At)?(Nt[At]=null,Le(At)&&(te[At]=null)):op(At)&&(At.value=null)),Ku(bt))H5(bt,ct,12,[Y,Nt]);else{const He=wd(bt),qe=op(bt);if(He||qe){const lr=()=>{if(e.f){const Dr=He?Le(bt)?te[bt]:Nt[bt]:bt.value;M?hu(Dr)&&G9(Dr,$):hu(Dr)?Dr.includes($)||Dr.push($):He?(Nt[bt]=[$],Le(bt)&&(te[bt]=Nt[bt])):(bt.value=[$],e.k&&(Nt[e.k]=bt.value))}else He?(Nt[bt]=Y,Le(bt)&&(te[bt]=Y)):qe&&(bt.value=Y,e.k&&(Nt[e.k]=Y))};Y?(lr.id=-1,Q0(lr,r)):lr()}}}aS().requestIdleCallback;aS().cancelIdleCallback;const S2=e=>!!e.type.__asyncLoader,lS=e=>e.type.__isKeepAlive;function Qit(e,t){pj(e,"a",t)}function tnt(e,t){pj(e,"da",t)}function pj(e,t,r=O0){const h=e.__wdc||(e.__wdc=()=>{let M=r;for(;M;){if(M.isDeactivated)return;M=M.parent}return e()});if(uS(t,h,r),r){let M=r.parent;for(;M&&M.parent;)lS(M.parent.vnode)&&ent(h,t,r,M),M=M.parent}}function ent(e,t,r,h){const M=uS(t,e,h,!0);F1(()=>{G9(h[t],M)},r)}function uS(e,t,r=O0,h=!1){if(r){const M=r[e]||(r[e]=[]),$=t.__weh||(t.__weh=(...Y)=>{B1();const ct=V5(r),bt=Fg(t,r,e,Y);return ct(),R1(),bt});return h?M.unshift($):M.push($),$}}const N1=e=>(t,r=O0)=>{(!S5||e==="sp")&&uS(e,(...h)=>t(...h),r)},rnt=N1("bm"),jd=N1("m"),int=N1("bu"),mj=N1("u"),Ug=N1("bum"),F1=N1("um"),nnt=N1("sp"),ant=N1("rtg"),ont=N1("rtc");function snt(e,t=O0){uS("ec",e,t)}const gj="components";function sE(e,t){return yj(gj,e,!0,t)||e}const vj=Symbol.for("v-ndc");function Qy(e){return wd(e)?yj(gj,e,!1)||e:e||vj}function yj(e,t,r=!0,h=!1){const M=y0||O0;if(M){const $=M.type;{const ct=Knt($,!1);if(ct&&(ct===t||ct===yg(t)||ct===nS(yg(t))))return $}const Y=hO(M[e]||$[e],t)||hO(M.appContext[e],t);return!Y&&h?$:Y}}function hO(e,t){return e&&(e[t]||e[yg(t)]||e[nS(yg(t))])}function Nu(e,t,r,h){let M;const $=r,Y=hu(e);if(Y||wd(e)){const ct=Y&&o_(e);let bt=!1,At=!1;ct&&(bt=!mg(e),At=u_(e),e=oS(e)),M=new Array(e.length);for(let Nt=0,te=e.length;Ntt(ct,bt,void 0,$));else{const ct=Object.keys(e);M=new Array(ct.length);for(let bt=0,At=ct.length;btT5(t)?!(t.type===z0||t.type===bl&&!_j(t.children)):!0)?e:null}const xM=e=>e?Fj(e)?dS(e):xM(e.parent):null,l5=Ip(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=>xM(e.parent),$root:e=>xM(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>bj(e),$forceUpdate:e=>e.f||(e.f=()=>{nE(e.update)}),$nextTick:e=>e.n||(e.n=wm.bind(e.proxy)),$watch:e=>Lnt.bind(e)}),r7=(e,t)=>e!==Tf&&!e.__isScriptSetup&&qh(e,t),unt={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:r,setupState:h,data:M,props:$,accessCache:Y,type:ct,appContext:bt}=e;let At;if(t[0]!=="$"){const Le=Y[t];if(Le!==void 0)switch(Le){case 1:return h[t];case 2:return M[t];case 4:return r[t];case 3:return $[t]}else{if(r7(h,t))return Y[t]=1,h[t];if(M!==Tf&&qh(M,t))return Y[t]=2,M[t];if((At=e.propsOptions[0])&&qh(At,t))return Y[t]=3,$[t];if(r!==Tf&&qh(r,t))return Y[t]=4,r[t];bM&&(Y[t]=0)}}const Nt=l5[t];let te,xe;if(Nt)return t==="$attrs"&&D0(e.attrs,"get",""),Nt(e);if((te=ct.__cssModules)&&(te=te[t]))return te;if(r!==Tf&&qh(r,t))return Y[t]=4,r[t];if(xe=bt.config.globalProperties,qh(xe,t))return xe[t]},set({_:e},t,r){const{data:h,setupState:M,ctx:$}=e;return r7(M,t)?(M[t]=r,!0):h!==Tf&&qh(h,t)?(h[t]=r,!0):qh(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:($[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:h,appContext:M,propsOptions:$}},Y){let ct;return!!r[Y]||e!==Tf&&qh(e,Y)||r7(t,Y)||(ct=$[0])&&qh(ct,Y)||qh(h,Y)||qh(l5,Y)||qh(M.config.globalProperties,Y)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:qh(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function fO(e){return hu(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}let bM=!0;function cnt(e){const t=bj(e),r=e.proxy,h=e.ctx;bM=!1,t.beforeCreate&&dO(t.beforeCreate,e,"bc");const{data:M,computed:$,methods:Y,watch:ct,provide:bt,inject:At,created:Nt,beforeMount:te,mounted:xe,beforeUpdate:Le,updated:He,activated:qe,deactivated:lr,beforeDestroy:Dr,beforeUnmount:Bt,destroyed:Ai,unmounted:_r,render:Br,renderTracked:_i,renderTriggered:Ni,errorCaptured:ji,serverPrefetch:Xr,expose:on,inheritAttrs:Ri,components:Lr,directives:pr,filters:Cr}=t;if(At&&hnt(At,h,null),Y)for(const Ur in Y){const Li=Y[Ur];Ku(Li)&&(h[Ur]=Li.bind(r))}if(M){const Ur=M.call(r,r);Sf(Ur)&&(e.data=Lx(Ur))}if(bM=!0,$)for(const Ur in $){const Li=$[Ur],qn=Ku(Li)?Li.bind(r,r):Ku(Li.get)?Li.get.bind(r,r):Mv,Qn=!Ku(Li)&&Ku(Li.set)?Li.set.bind(r):Mv,fo=Ho({get:qn,set:Qn});Object.defineProperty(h,Ur,{enumerable:!0,configurable:!0,get:()=>fo.value,set:ya=>fo.value=ya})}if(ct)for(const Ur in ct)xj(ct[Ur],h,r,Ur);if(bt){const Ur=Ku(bt)?bt.call(r):bt;Reflect.ownKeys(Ur).forEach(Li=>{tT(Li,Ur[Li])})}Nt&&dO(Nt,e,"c");function Mr(Ur,Li){hu(Li)?Li.forEach(qn=>Ur(qn.bind(r))):Li&&Ur(Li.bind(r))}if(Mr(rnt,te),Mr(jd,xe),Mr(int,Le),Mr(mj,He),Mr(Qit,qe),Mr(tnt,lr),Mr(snt,ji),Mr(ont,_i),Mr(ant,Ni),Mr(Ug,Bt),Mr(F1,_r),Mr(nnt,Xr),hu(on))if(on.length){const Ur=e.exposed||(e.exposed={});on.forEach(Li=>{Object.defineProperty(Ur,Li,{get:()=>r[Li],set:qn=>r[Li]=qn,enumerable:!0})})}else e.exposed||(e.exposed={});Br&&e.render===Mv&&(e.render=Br),Ri!=null&&(e.inheritAttrs=Ri),Lr&&(e.components=Lr),pr&&(e.directives=pr),Xr&&dj(e)}function hnt(e,t,r=Mv){hu(e)&&(e=wM(e));for(const h in e){const M=e[h];let $;Sf(M)?"default"in M?$=gg(M.from||h,M.default,!0):$=gg(M.from||h):$=gg(M),op($)?Object.defineProperty(t,h,{enumerable:!0,configurable:!0,get:()=>$.value,set:Y=>$.value=Y}):t[h]=$}}function dO(e,t,r){Fg(hu(e)?e.map(h=>h.bind(t.proxy)):e.bind(t.proxy),t,r)}function xj(e,t,r,h){let M=h.includes(".")?Dj(r,h):()=>r[h];if(wd(e)){const $=t[e];Ku($)&&Bg(M,$)}else if(Ku(e))Bg(M,e.bind(r));else if(Sf(e))if(hu(e))e.forEach($=>xj($,t,r,h));else{const $=Ku(e.handler)?e.handler.bind(r):t[e.handler];Ku($)&&Bg(M,$,e)}}function bj(e){const t=e.type,{mixins:r,extends:h}=t,{mixins:M,optionsCache:$,config:{optionMergeStrategies:Y}}=e.appContext,ct=$.get(t);let bt;return ct?bt=ct:!M.length&&!r&&!h?bt=t:(bt={},M.length&&M.forEach(At=>MT(bt,At,Y,!0)),MT(bt,t,Y)),Sf(t)&&$.set(t,bt),bt}function MT(e,t,r,h=!1){const{mixins:M,extends:$}=t;$&&MT(e,$,r,!0),M&&M.forEach(Y=>MT(e,Y,r,!0));for(const Y in t)if(!(h&&Y==="expose")){const ct=fnt[Y]||r&&r[Y];e[Y]=ct?ct(e[Y],t[Y]):t[Y]}return e}const fnt={data:pO,props:mO,emits:mO,methods:q3,computed:q3,beforeCreate:Y0,created:Y0,beforeMount:Y0,mounted:Y0,beforeUpdate:Y0,updated:Y0,beforeDestroy:Y0,beforeUnmount:Y0,destroyed:Y0,unmounted:Y0,activated:Y0,deactivated:Y0,errorCaptured:Y0,serverPrefetch:Y0,components:q3,directives:q3,watch:pnt,provide:pO,inject:dnt};function pO(e,t){return t?e?function(){return Ip(Ku(e)?e.call(this,this):e,Ku(t)?t.call(this,this):t)}:t:e}function dnt(e,t){return q3(wM(e),wM(t))}function wM(e){if(hu(e)){const t={};for(let r=0;r1)return r&&Ku(t)?t.call(h&&h.proxy):t}}function vnt(){return!!(fS()||kx)}const kj={},Tj=()=>Object.create(kj),Sj=e=>Object.getPrototypeOf(e)===kj;function ynt(e,t,r,h=!1){const M={},$=Tj();e.propsDefaults=Object.create(null),Aj(e,t,M,$);for(const Y in e.propsOptions[0])Y in M||(M[Y]=void 0);r?e.props=h?M:KN(M):e.type.props?e.props=M:e.props=$,e.attrs=$}function _nt(e,t,r,h){const{props:M,attrs:$,vnode:{patchFlag:Y}}=e,ct=Du(M),[bt]=e.propsOptions;let At=!1;if((h||Y>0)&&!(Y&16)){if(Y&8){const Nt=e.vnode.dynamicProps;for(let te=0;te{bt=!0;const[xe,Le]=Cj(te,t,!0);Ip(Y,xe),Le&&ct.push(...Le)};!r&&t.mixins.length&&t.mixins.forEach(Nt),e.extends&&Nt(e.extends),e.mixins&&e.mixins.forEach(Nt)}if(!$&&!bt)return Sf(e)&&h.set(e,w2),w2;if(hu($))for(let Nt=0;Nt<$.length;Nt++){const te=yg($[Nt]);gO(te)&&(Y[te]=Tf)}else if($)for(const Nt in $){const te=yg(Nt);if(gO(te)){const xe=$[Nt],Le=Y[te]=hu(xe)||Ku(xe)?{type:xe}:Ip({},xe),He=Le.type;let qe=!1,lr=!0;if(hu(He))for(let Dr=0;Dre==="_"||e==="__"||e==="_ctx"||e==="$stable",uE=e=>hu(e)?e.map(kv):[kv(e)],bnt=(e,t,r)=>{if(t._n)return t;const h=$5((...M)=>uE(t(...M)),r);return h._c=!1,h},Mj=(e,t,r)=>{const h=e._ctx;for(const M in e){if(lE(M))continue;const $=e[M];if(Ku($))t[M]=bnt(M,$,h);else if($!=null){const Y=uE($);t[M]=()=>Y}}},Ej=(e,t)=>{const r=uE(t);e.slots.default=()=>r},Lj=(e,t,r)=>{for(const h in t)(r||!lE(h))&&(e[h]=t[h])},wnt=(e,t,r)=>{const h=e.slots=Tj();if(e.vnode.shapeFlag&32){const M=t.__;M&&mM(h,"__",M,!0);const $=t._;$?(Lj(h,t,r),r&&mM(h,"_",$,!0)):Mj(t,h)}else t&&Ej(e,t)},knt=(e,t,r)=>{const{vnode:h,slots:M}=e;let $=!0,Y=Tf;if(h.shapeFlag&32){const ct=t._;ct?r&&ct===1?$=!1:Lj(M,t,r):($=!t.$stable,Mj(t,M)),Y=t}else t&&(Ej(e,t),Y={default:1});if($)for(const ct in M)!lE(ct)&&Y[ct]==null&&delete M[ct]},Q0=Rnt;function Tnt(e){return Snt(e)}function Snt(e,t){const r=aS();r.__VUE__=!0;const{insert:h,remove:M,patchProp:$,createElement:Y,createText:ct,createComment:bt,setText:At,setElementText:Nt,parentNode:te,nextSibling:xe,setScopeId:Le=Mv,insertStaticContent:He}=e,qe=(Vr,wi,en,mo=null,Co=null,Mo=null,ds=void 0,vs=null,is=!!wi.dynamicChildren)=>{if(Vr===wi)return;Vr&&!mx(Vr,wi)&&(mo=Hn(Vr),ya(Vr,Co,Mo,!0),Vr=null),wi.patchFlag===-2&&(is=!1,wi.dynamicChildren=null);const{type:Jo,ref:Ol,shapeFlag:Hs}=wi;switch(Jo){case hS:lr(Vr,wi,en,mo);break;case z0:Dr(Vr,wi,en,mo);break;case eT:Vr==null&&Bt(wi,en,mo,ds);break;case bl:Lr(Vr,wi,en,mo,Co,Mo,ds,vs,is);break;default:Hs&1?Br(Vr,wi,en,mo,Co,Mo,ds,vs,is):Hs&6?pr(Vr,wi,en,mo,Co,Mo,ds,vs,is):(Hs&64||Hs&128)&&Jo.process(Vr,wi,en,mo,Co,Mo,ds,vs,is,Ao)}Ol!=null&&Co?s5(Ol,Vr&&Vr.ref,Mo,wi||Vr,!wi):Ol==null&&Vr&&Vr.ref!=null&&s5(Vr.ref,null,Mo,Vr,!0)},lr=(Vr,wi,en,mo)=>{if(Vr==null)h(wi.el=ct(wi.children),en,mo);else{const Co=wi.el=Vr.el;wi.children!==Vr.children&&At(Co,wi.children)}},Dr=(Vr,wi,en,mo)=>{Vr==null?h(wi.el=bt(wi.children||""),en,mo):wi.el=Vr.el},Bt=(Vr,wi,en,mo)=>{[Vr.el,Vr.anchor]=He(Vr.children,wi,en,mo,Vr.el,Vr.anchor)},Ai=({el:Vr,anchor:wi},en,mo)=>{let Co;for(;Vr&&Vr!==wi;)Co=xe(Vr),h(Vr,en,mo),Vr=Co;h(wi,en,mo)},_r=({el:Vr,anchor:wi})=>{let en;for(;Vr&&Vr!==wi;)en=xe(Vr),M(Vr),Vr=en;M(wi)},Br=(Vr,wi,en,mo,Co,Mo,ds,vs,is)=>{wi.type==="svg"?ds="svg":wi.type==="math"&&(ds="mathml"),Vr==null?_i(wi,en,mo,Co,Mo,ds,vs,is):Xr(Vr,wi,Co,Mo,ds,vs,is)},_i=(Vr,wi,en,mo,Co,Mo,ds,vs)=>{let is,Jo;const{props:Ol,shapeFlag:Hs,transition:Wl,dirs:ku}=Vr;if(is=Vr.el=Y(Vr.type,Mo,Ol&&Ol.is,Ol),Hs&8?Nt(is,Vr.children):Hs&16&&ji(Vr.children,is,null,mo,Co,i7(Vr,Mo),ds,vs),ku&&Q_(Vr,null,mo,"created"),Ni(is,Vr,Vr.scopeId,ds,mo),Ol){for(const bh in Ol)bh!=="value"&&!i5(bh)&&$(is,bh,null,Ol[bh],Mo,mo);"value"in Ol&&$(is,"value",null,Ol.value,Mo),(Jo=Ol.onVnodeBeforeMount)&&hv(Jo,mo,Vr)}ku&&Q_(Vr,null,mo,"beforeMount");const oc=Ant(Co,Wl);oc&&Wl.beforeEnter(is),h(is,wi,en),((Jo=Ol&&Ol.onVnodeMounted)||oc||ku)&&Q0(()=>{Jo&&hv(Jo,mo,Vr),oc&&Wl.enter(is),ku&&Q_(Vr,null,mo,"mounted")},Co)},Ni=(Vr,wi,en,mo,Co)=>{if(en&&Le(Vr,en),mo)for(let Mo=0;Mo{for(let Jo=is;Jo{const vs=wi.el=Vr.el;let{patchFlag:is,dynamicChildren:Jo,dirs:Ol}=wi;is|=Vr.patchFlag&16;const Hs=Vr.props||Tf,Wl=wi.props||Tf;let ku;if(en&&tx(en,!1),(ku=Wl.onVnodeBeforeUpdate)&&hv(ku,en,wi,Vr),Ol&&Q_(wi,Vr,en,"beforeUpdate"),en&&tx(en,!0),(Hs.innerHTML&&Wl.innerHTML==null||Hs.textContent&&Wl.textContent==null)&&Nt(vs,""),Jo?on(Vr.dynamicChildren,Jo,vs,en,mo,i7(wi,Co),Mo):ds||Li(Vr,wi,vs,null,en,mo,i7(wi,Co),Mo,!1),is>0){if(is&16)Ri(vs,Hs,Wl,en,Co);else if(is&2&&Hs.class!==Wl.class&&$(vs,"class",null,Wl.class,Co),is&4&&$(vs,"style",Hs.style,Wl.style,Co),is&8){const oc=wi.dynamicProps;for(let bh=0;bh{ku&&hv(ku,en,wi,Vr),Ol&&Q_(wi,Vr,en,"updated")},mo)},on=(Vr,wi,en,mo,Co,Mo,ds)=>{for(let vs=0;vs{if(wi!==en){if(wi!==Tf)for(const Mo in wi)!i5(Mo)&&!(Mo in en)&&$(Vr,Mo,wi[Mo],null,Co,mo);for(const Mo in en){if(i5(Mo))continue;const ds=en[Mo],vs=wi[Mo];ds!==vs&&Mo!=="value"&&$(Vr,Mo,vs,ds,Co,mo)}"value"in en&&$(Vr,"value",wi.value,en.value,Co)}},Lr=(Vr,wi,en,mo,Co,Mo,ds,vs,is)=>{const Jo=wi.el=Vr?Vr.el:ct(""),Ol=wi.anchor=Vr?Vr.anchor:ct("");let{patchFlag:Hs,dynamicChildren:Wl,slotScopeIds:ku}=wi;ku&&(vs=vs?vs.concat(ku):ku),Vr==null?(h(Jo,en,mo),h(Ol,en,mo),ji(wi.children||[],en,Ol,Co,Mo,ds,vs,is)):Hs>0&&Hs&64&&Wl&&Vr.dynamicChildren?(on(Vr.dynamicChildren,Wl,en,Co,Mo,ds,vs),(wi.key!=null||Co&&wi===Co.subTree)&&cE(Vr,wi,!0)):Li(Vr,wi,en,Ol,Co,Mo,ds,vs,is)},pr=(Vr,wi,en,mo,Co,Mo,ds,vs,is)=>{wi.slotScopeIds=vs,Vr==null?wi.shapeFlag&512?Co.ctx.activate(wi,en,mo,ds,is):Cr(wi,en,mo,Co,Mo,ds,is):$r(Vr,wi,is)},Cr=(Vr,wi,en,mo,Co,Mo,ds)=>{const vs=Vr.component=Vnt(Vr,mo,Co);if(lS(Vr)&&(vs.ctx.renderer=Ao),Wnt(vs,!1,ds),vs.asyncDep){if(Co&&Co.registerDep(vs,Mr,ds),!Vr.el){const is=vs.subTree=Sl(z0);Dr(null,is,wi,en),Vr.placeholder=is.el}}else Mr(vs,Vr,wi,en,Co,Mo,ds)},$r=(Vr,wi,en)=>{const mo=wi.component=Vr.component;if(Ont(Vr,wi,en))if(mo.asyncDep&&!mo.asyncResolved){Ur(mo,wi,en);return}else mo.next=wi,mo.update();else wi.el=Vr.el,mo.vnode=wi},Mr=(Vr,wi,en,mo,Co,Mo,ds)=>{const vs=()=>{if(Vr.isMounted){let{next:Hs,bu:Wl,u:ku,parent:oc,vnode:bh}=Vr;{const om=Pj(Vr);if(om){Hs&&(Hs.el=bh.el,Ur(Vr,Hs,ds)),om.asyncDep.then(()=>{Vr.isUnmounted||vs()});return}}let Wc=Hs,zp;tx(Vr,!1),Hs?(Hs.el=bh.el,Ur(Vr,Hs,ds)):Hs=bh,Wl&&Jk(Wl),(zp=Hs.props&&Hs.props.onVnodeBeforeUpdate)&&hv(zp,oc,Hs,bh),tx(Vr,!0);const xp=yO(Vr),H0=Vr.subTree;Vr.subTree=xp,qe(H0,xp,te(H0.el),Hn(H0),Vr,Co,Mo),Hs.el=xp.el,Wc===null&&Bnt(Vr,xp.el),ku&&Q0(ku,Co),(zp=Hs.props&&Hs.props.onVnodeUpdated)&&Q0(()=>hv(zp,oc,Hs,bh),Co)}else{let Hs;const{el:Wl,props:ku}=wi,{bm:oc,m:bh,parent:Wc,root:zp,type:xp}=Vr,H0=S2(wi);tx(Vr,!1),oc&&Jk(oc),!H0&&(Hs=ku&&ku.onVnodeBeforeMount)&&hv(Hs,Wc,wi),tx(Vr,!0);{zp.ce&&zp.ce._def.shadowRoot!==!1&&zp.ce._injectChildStyle(xp);const om=Vr.subTree=yO(Vr);qe(null,om,en,mo,Vr,Co,Mo),wi.el=om.el}if(bh&&Q0(bh,Co),!H0&&(Hs=ku&&ku.onVnodeMounted)){const om=wi;Q0(()=>hv(Hs,Wc,om),Co)}(wi.shapeFlag&256||Wc&&S2(Wc.vnode)&&Wc.vnode.shapeFlag&256)&&Vr.a&&Q0(Vr.a,Co),Vr.isMounted=!0,wi=en=mo=null}};Vr.scope.on();const is=Vr.effect=new ON(vs);Vr.scope.off();const Jo=Vr.update=is.run.bind(is),Ol=Vr.job=is.runIfDirty.bind(is);Ol.i=Vr,Ol.id=Vr.uid,is.scheduler=()=>nE(Ol),tx(Vr,!0),Jo()},Ur=(Vr,wi,en)=>{wi.component=Vr;const mo=Vr.vnode.props;Vr.vnode=wi,Vr.next=null,_nt(Vr,wi.props,mo,en),knt(Vr,wi.children,en),B1(),oO(Vr),R1()},Li=(Vr,wi,en,mo,Co,Mo,ds,vs,is=!1)=>{const Jo=Vr&&Vr.children,Ol=Vr?Vr.shapeFlag:0,Hs=wi.children,{patchFlag:Wl,shapeFlag:ku}=wi;if(Wl>0){if(Wl&128){Qn(Jo,Hs,en,mo,Co,Mo,ds,vs,is);return}else if(Wl&256){qn(Jo,Hs,en,mo,Co,Mo,ds,vs,is);return}}ku&8?(Ol&16&&oa(Jo,Co,Mo),Hs!==Jo&&Nt(en,Hs)):Ol&16?ku&16?Qn(Jo,Hs,en,mo,Co,Mo,ds,vs,is):oa(Jo,Co,Mo,!0):(Ol&8&&Nt(en,""),ku&16&&ji(Hs,en,mo,Co,Mo,ds,vs,is))},qn=(Vr,wi,en,mo,Co,Mo,ds,vs,is)=>{Vr=Vr||w2,wi=wi||w2;const Jo=Vr.length,Ol=wi.length,Hs=Math.min(Jo,Ol);let Wl;for(Wl=0;WlOl?oa(Vr,Co,Mo,!0,!1,Hs):ji(wi,en,mo,Co,Mo,ds,vs,is,Hs)},Qn=(Vr,wi,en,mo,Co,Mo,ds,vs,is)=>{let Jo=0;const Ol=wi.length;let Hs=Vr.length-1,Wl=Ol-1;for(;Jo<=Hs&&Jo<=Wl;){const ku=Vr[Jo],oc=wi[Jo]=is?Gy(wi[Jo]):kv(wi[Jo]);if(mx(ku,oc))qe(ku,oc,en,null,Co,Mo,ds,vs,is);else break;Jo++}for(;Jo<=Hs&&Jo<=Wl;){const ku=Vr[Hs],oc=wi[Wl]=is?Gy(wi[Wl]):kv(wi[Wl]);if(mx(ku,oc))qe(ku,oc,en,null,Co,Mo,ds,vs,is);else break;Hs--,Wl--}if(Jo>Hs){if(Jo<=Wl){const ku=Wl+1,oc=kuWl)for(;Jo<=Hs;)ya(Vr[Jo],Co,Mo,!0),Jo++;else{const ku=Jo,oc=Jo,bh=new Map;for(Jo=oc;Jo<=Wl;Jo++){const Op=wi[Jo]=is?Gy(wi[Jo]):kv(wi[Jo]);Op.key!=null&&bh.set(Op.key,Jo)}let Wc,zp=0;const xp=Wl-oc+1;let H0=!1,om=0;const $g=new Array(xp);for(Jo=0;Jo=xp){ya(Op,Co,Mo,!0);continue}let sm;if(Op.key!=null)sm=bh.get(Op.key);else for(Wc=oc;Wc<=Wl;Wc++)if($g[Wc-oc]===0&&mx(Op,wi[Wc])){sm=Wc;break}sm===void 0?ya(Op,Co,Mo,!0):($g[sm-oc]=Jo+1,sm>=om?om=sm:H0=!0,qe(Op,wi[sm],en,null,Co,Mo,ds,vs,is),zp++)}const $1=H0?Cnt($g):w2;for(Wc=$1.length-1,Jo=xp-1;Jo>=0;Jo--){const Op=oc+Jo,sm=wi[Op],Vg=wi[Op+1],Ux=Op+1{const{el:Mo,type:ds,transition:vs,children:is,shapeFlag:Jo}=Vr;if(Jo&6){fo(Vr.component.subTree,wi,en,mo);return}if(Jo&128){Vr.suspense.move(wi,en,mo);return}if(Jo&64){ds.move(Vr,wi,en,Ao);return}if(ds===bl){h(Mo,wi,en);for(let Hs=0;Hsvs.enter(Mo),Co);else{const{leave:Hs,delayLeave:Wl,afterLeave:ku}=vs,oc=()=>{Vr.ctx.isUnmounted?M(Mo):h(Mo,wi,en)},bh=()=>{Hs(Mo,()=>{oc(),ku&&ku()})};Wl?Wl(Mo,oc,bh):bh()}else h(Mo,wi,en)},ya=(Vr,wi,en,mo=!1,Co=!1)=>{const{type:Mo,props:ds,ref:vs,children:is,dynamicChildren:Jo,shapeFlag:Ol,patchFlag:Hs,dirs:Wl,cacheIndex:ku}=Vr;if(Hs===-2&&(Co=!1),vs!=null&&(B1(),s5(vs,null,en,Vr,!0),R1()),ku!=null&&(wi.renderCache[ku]=void 0),Ol&256){wi.ctx.deactivate(Vr);return}const oc=Ol&1&&Wl,bh=!S2(Vr);let Wc;if(bh&&(Wc=ds&&ds.onVnodeBeforeUnmount)&&hv(Wc,wi,Vr),Ol&6)Gn(Vr.component,en,mo);else{if(Ol&128){Vr.suspense.unmount(en,mo);return}oc&&Q_(Vr,null,wi,"beforeUnmount"),Ol&64?Vr.type.remove(Vr,wi,en,Ao,mo):Jo&&!Jo.hasOnce&&(Mo!==bl||Hs>0&&Hs&64)?oa(Jo,wi,en,!1,!0):(Mo===bl&&Hs&384||!Co&&Ol&16)&&oa(is,wi,en),mo&&ga(Vr)}(bh&&(Wc=ds&&ds.onVnodeUnmounted)||oc)&&Q0(()=>{Wc&&hv(Wc,wi,Vr),oc&&Q_(Vr,null,wi,"unmounted")},en)},ga=Vr=>{const{type:wi,el:en,anchor:mo,transition:Co}=Vr;if(wi===bl){Dn(en,mo);return}if(wi===eT){_r(Vr);return}const Mo=()=>{M(en),Co&&!Co.persisted&&Co.afterLeave&&Co.afterLeave()};if(Vr.shapeFlag&1&&Co&&!Co.persisted){const{leave:ds,delayLeave:vs}=Co,is=()=>ds(en,Mo);vs?vs(Vr.el,Mo,is):is()}else Mo()},Dn=(Vr,wi)=>{let en;for(;Vr!==wi;)en=xe(Vr),M(Vr),Vr=en;M(wi)},Gn=(Vr,wi,en)=>{const{bum:mo,scope:Co,job:Mo,subTree:ds,um:vs,m:is,a:Jo,parent:Ol,slots:{__:Hs}}=Vr;vO(is),vO(Jo),mo&&Jk(mo),Ol&&hu(Hs)&&Hs.forEach(Wl=>{Ol.renderCache[Wl]=void 0}),Co.stop(),Mo&&(Mo.flags|=8,ya(ds,Vr,wi,en)),vs&&Q0(vs,wi),Q0(()=>{Vr.isUnmounted=!0},wi),wi&&wi.pendingBranch&&!wi.isUnmounted&&Vr.asyncDep&&!Vr.asyncResolved&&Vr.suspenseId===wi.pendingId&&(wi.deps--,wi.deps===0&&wi.resolve())},oa=(Vr,wi,en,mo=!1,Co=!1,Mo=0)=>{for(let ds=Mo;ds{if(Vr.shapeFlag&6)return Hn(Vr.component.subTree);if(Vr.shapeFlag&128)return Vr.suspense.next();const wi=xe(Vr.anchor||Vr.el),en=wi&&wi[nj];return en?xe(en):wi};let Wa=!1;const Ga=(Vr,wi,en)=>{Vr==null?wi._vnode&&ya(wi._vnode,null,null,!0):qe(wi._vnode||null,Vr,wi,null,null,null,en),wi._vnode=Vr,Wa||(Wa=!0,oO(),ej(),Wa=!1)},Ao={p:qe,um:ya,m:fo,r:ga,mt:Cr,mc:ji,pc:Li,pbc:on,n:Hn,o:e};return{render:Ga,hydrate:void 0,createApp:gnt(Ga)}}function i7({type:e,props:t},r){return r==="svg"&&e==="foreignObject"||r==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:r}function tx({effect:e,job:t},r){r?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ant(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function cE(e,t,r=!1){const h=e.children,M=t.children;if(hu(h)&&hu(M))for(let $=0;$>1,e[r[ct]]0&&(t[h]=r[$-1]),r[$]=h)}}for($=r.length,Y=r[$-1];$-- >0;)r[$]=Y,Y=t[Y];return r}function Pj(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Pj(t)}function vO(e){if(e)for(let t=0;tgg(Mnt);function Bg(e,t,r){return Ij(e,t,r)}function Ij(e,t,r=Tf){const{immediate:h,deep:M,flush:$,once:Y}=r,ct=Ip({},r),bt=t&&h||!t&&$!=="post";let At;if(S5){if($==="sync"){const Le=Ent();At=Le.__watcherHandles||(Le.__watcherHandles=[])}else if(!bt){const Le=()=>{};return Le.stop=Mv,Le.resume=Mv,Le.pause=Mv,Le}}const Nt=O0;ct.call=(Le,He,qe)=>Fg(Le,Nt,He,qe);let te=!1;$==="post"?ct.scheduler=Le=>{Q0(Le,Nt&&Nt.suspense)}:$!=="sync"&&(te=!0,ct.scheduler=(Le,He)=>{He?Le():nE(Le)}),ct.augmentJob=Le=>{t&&(Le.flags|=4),te&&(Le.flags|=2,Nt&&(Le.id=Nt.uid,Le.i=Nt))};const xe=qit(e,t,ct);return S5&&(At?At.push(xe):bt&&xe()),xe}function Lnt(e,t,r){const h=this.proxy,M=wd(e)?e.includes(".")?Dj(h,e):()=>h[e]:e.bind(h,h);let $;Ku(t)?$=t:($=t.handler,r=t);const Y=V5(this),ct=Ij(M,$.bind(h),r);return Y(),ct}function Dj(e,t){const r=t.split(".");return()=>{let h=e;for(let M=0;Mt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${yg(t)}Modifiers`]||e[`${d_(t)}Modifiers`];function Int(e,t,...r){if(e.isUnmounted)return;const h=e.vnode.props||Tf;let M=r;const $=t.startsWith("update:"),Y=$&&Pnt(h,t.slice(7));Y&&(Y.trim&&(M=r.map(Nt=>wd(Nt)?Nt.trim():Nt)),Y.number&&(M=r.map(wT)));let ct,bt=h[ct=YC(t)]||h[ct=YC(yg(t))];!bt&&$&&(bt=h[ct=YC(d_(t))]),bt&&Fg(bt,e,6,M);const At=h[ct+"Once"];if(At){if(!e.emitted)e.emitted={};else if(e.emitted[ct])return;e.emitted[ct]=!0,Fg(At,e,6,M)}}function zj(e,t,r=!1){const h=t.emitsCache,M=h.get(e);if(M!==void 0)return M;const $=e.emits;let Y={},ct=!1;if(!Ku(e)){const bt=At=>{const Nt=zj(At,t,!0);Nt&&(ct=!0,Ip(Y,Nt))};!r&&t.mixins.length&&t.mixins.forEach(bt),e.extends&&bt(e.extends),e.mixins&&e.mixins.forEach(bt)}return!$&&!ct?(Sf(e)&&h.set(e,null),null):(hu($)?$.forEach(bt=>Y[bt]=null):Ip(Y,$),Sf(e)&&h.set(e,Y),Y)}function cS(e,t){return!e||!eS(t)?!1:(t=t.slice(2).replace(/Once$/,""),qh(e,t[0].toLowerCase()+t.slice(1))||qh(e,d_(t))||qh(e,t))}function yO(e){const{type:t,vnode:r,proxy:h,withProxy:M,propsOptions:[$],slots:Y,attrs:ct,emit:bt,render:At,renderCache:Nt,props:te,data:xe,setupState:Le,ctx:He,inheritAttrs:qe}=e,lr=CT(e);let Dr,Bt;try{if(r.shapeFlag&4){const _r=M||h,Br=_r;Dr=kv(At.call(Br,_r,Nt,te,Le,xe,He)),Bt=ct}else{const _r=t;Dr=kv(_r.length>1?_r(te,{attrs:ct,slots:Y,emit:bt}):_r(te,null)),Bt=t.props?ct:Dnt(ct)}}catch(_r){u5.length=0,sS(_r,e,1),Dr=Sl(z0)}let Ai=Dr;if(Bt&&qe!==!1){const _r=Object.keys(Bt),{shapeFlag:Br}=Ai;_r.length&&Br&7&&($&&_r.some(Z9)&&(Bt=znt(Bt,$)),Ai=c_(Ai,Bt,!1,!0))}return r.dirs&&(Ai=c_(Ai,null,!1,!0),Ai.dirs=Ai.dirs?Ai.dirs.concat(r.dirs):r.dirs),r.transition&&Px(Ai,r.transition),Dr=Ai,CT(lr),Dr}const Dnt=e=>{let t;for(const r in e)(r==="class"||r==="style"||eS(r))&&((t||(t={}))[r]=e[r]);return t},znt=(e,t)=>{const r={};for(const h in e)(!Z9(h)||!(h.slice(9)in t))&&(r[h]=e[h]);return r};function Ont(e,t,r){const{props:h,children:M,component:$}=e,{props:Y,children:ct,patchFlag:bt}=t,At=$.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&bt>=0){if(bt&1024)return!0;if(bt&16)return h?_O(h,Y,At):!!Y;if(bt&8){const Nt=t.dynamicProps;for(let te=0;tee.__isSuspense;function Rnt(e,t){t&&t.pendingBranch?hu(e)?t.effects.push(...e):t.effects.push(e):Kit(e)}const bl=Symbol.for("v-fgt"),hS=Symbol.for("v-txt"),z0=Symbol.for("v-cmt"),eT=Symbol.for("v-stc"),u5=[];let Gm=null;function xi(e=!1){u5.push(Gm=e?null:[])}function Fnt(){u5.pop(),Gm=u5[u5.length-1]||null}let k5=1;function xO(e,t=!1){k5+=e,e<0&&Gm&&t&&(Gm.hasOnce=!0)}function Bj(e){return e.dynamicChildren=k5>0?Gm||w2:null,Fnt(),k5>0&&Gm&&Gm.push(e),e}function Ci(e,t,r,h,M,$){return Bj(jt(e,t,r,h,M,$,!0))}function _0(e,t,r,h,M){return Bj(Sl(e,t,r,h,M,!0))}function T5(e){return e?e.__v_isVNode===!0:!1}function mx(e,t){return e.type===t.type&&e.key===t.key}const Rj=({key:e})=>e??null,rT=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?wd(e)||op(e)||Ku(e)?{i:y0,r:e,k:t,f:!!r}:e:null);function jt(e,t=null,r=null,h=0,M=null,$=e===bl?0:1,Y=!1,ct=!1){const bt={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Rj(t),ref:t&&rT(t),scopeId:ij,slotScopeIds:null,children:r,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:$,patchFlag:h,dynamicProps:M,dynamicChildren:null,appContext:null,ctx:y0};return ct?(hE(bt,r),$&128&&e.normalize(bt)):r&&(bt.shapeFlag|=wd(r)?8:16),k5>0&&!Y&&Gm&&(bt.patchFlag>0||$&6)&&bt.patchFlag!==32&&Gm.push(bt),bt}const Sl=Nnt;function Nnt(e,t=null,r=null,h=0,M=null,$=!1){if((!e||e===vj)&&(e=z0),T5(e)){const ct=c_(e,t,!0);return r&&hE(ct,r),k5>0&&!$&&Gm&&(ct.shapeFlag&6?Gm[Gm.indexOf(e)]=ct:Gm.push(ct)),ct.patchFlag=-2,ct}if(Ynt(e)&&(e=e.__vccOpts),t){t=jnt(t);let{class:ct,style:bt}=t;ct&&!wd(ct)&&(t.class=to(ct)),Sf(bt)&&(rE(bt)&&!hu(bt)&&(bt=Ip({},bt)),t.style=km(bt))}const Y=wd(e)?1:Oj(e)?128:aj(e)?64:Sf(e)?4:Ku(e)?2:0;return jt(e,t,r,h,M,Y,$,!0)}function jnt(e){return e?rE(e)||Sj(e)?Ip({},e):e:null}function c_(e,t,r=!1,h=!1){const{props:M,ref:$,patchFlag:Y,children:ct,transition:bt}=e,At=t?Unt(M||{},t):M,Nt={__v_isVNode:!0,__v_skip:!0,type:e.type,props:At,key:At&&Rj(At),ref:t&&t.ref?r&&$?hu($)?$.concat(rT(t)):[$,rT(t)]:rT(t):$,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:ct,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==bl?Y===-1?16:Y|16:Y,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:bt,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&c_(e.ssContent),ssFallback:e.ssFallback&&c_(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return bt&&h&&Px(Nt,bt.clone(Nt)),Nt}function Pl(e=" ",t=0){return Sl(hS,null,e,t)}function zh(e,t){const r=Sl(eT,null,e);return r.staticCount=t,r}function io(e="",t=!1){return t?(xi(),_0(z0,null,e)):Sl(z0,null,e)}function kv(e){return e==null||typeof e=="boolean"?Sl(z0):hu(e)?Sl(bl,null,e.slice()):T5(e)?Gy(e):Sl(hS,null,String(e))}function Gy(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:c_(e)}function hE(e,t){let r=0;const{shapeFlag:h}=e;if(t==null)t=null;else if(hu(t))r=16;else if(typeof t=="object")if(h&65){const M=t.default;M&&(M._c&&(M._d=!1),hE(e,M()),M._c&&(M._d=!0));return}else{r=32;const M=t._;!M&&!Sj(t)?t._ctx=y0:M===3&&y0&&(y0.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ku(t)?(t={default:t,_ctx:y0},r=32):(t=String(t),h&64?(r=16,t=[Pl(t)]):r=8);e.children=t,e.shapeFlag|=r}function Unt(...e){const t={};for(let r=0;rO0||y0;let ET,TM;{const e=aS(),t=(r,h)=>{let M;return(M=e[r])||(M=e[r]=[]),M.push(h),$=>{M.length>1?M.forEach(Y=>Y($)):M[0]($)}};ET=t("__VUE_INSTANCE_SETTERS__",r=>O0=r),TM=t("__VUE_SSR_SETTERS__",r=>S5=r)}const V5=e=>{const t=O0;return ET(e),e.scope.on(),()=>{e.scope.off(),ET(t)}},bO=()=>{O0&&O0.scope.off(),ET(null)};function Fj(e){return e.vnode.shapeFlag&4}let S5=!1;function Wnt(e,t=!1,r=!1){t&&TM(t);const{props:h,children:M}=e.vnode,$=Fj(e);ynt(e,h,$,t),wnt(e,M,r||t);const Y=$?qnt(e,t):void 0;return t&&TM(!1),Y}function qnt(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,unt);const{setup:h}=r;if(h){B1();const M=e.setupContext=h.length>1?Gnt(e):null,$=V5(e),Y=H5(h,e,0,[e.props,M]),ct=AN(Y);if(R1(),$(),(ct||e.sp)&&!S2(e)&&dj(e),ct){if(Y.then(bO,bO),t)return Y.then(bt=>{wO(e,bt)}).catch(bt=>{sS(bt,e,0)});e.asyncDep=Y}else wO(e,Y)}else Nj(e)}function wO(e,t,r){Ku(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Sf(t)&&(e.setupState=JN(t)),Nj(e)}function Nj(e,t,r){const h=e.type;e.render||(e.render=h.render||Mv);{const M=V5(e);B1();try{cnt(e)}finally{R1(),M()}}}const Znt={get(e,t){return D0(e,"get",""),e[t]}};function Gnt(e){const t=r=>{e.exposed=r||{}};return{attrs:new Proxy(e.attrs,Znt),slots:e.slots,emit:e.emit,expose:t}}function dS(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(JN(iE(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in l5)return l5[r](e)},has(t,r){return r in t||r in l5}})):e.proxy}function Knt(e,t=!0){return Ku(e)?e.displayName||e.name:e.name||t&&e.__name}function Ynt(e){return Ku(e)&&"__vccOpts"in e}const Ho=(e,t)=>Vit(e,t,S5);function fE(e,t,r){const h=arguments.length;return h===2?Sf(t)&&!hu(t)?T5(t)?Sl(e,null,[t]):Sl(e,t):Sl(e,null,t):(h>3?r=Array.prototype.slice.call(arguments,2):h===3&&T5(r)&&(r=[r]),Sl(e,t,r))}const Xnt="3.5.18";/** +**/function Y5(t,e,r,c){try{return c?t(...c):t()}catch(S){pS(S,e,r)}}function Fg(t,e,r,c){if(Xu(t)){const S=Y5(t,e,r,c);return S&&$N(S)&&S.catch(H=>{pS(H,e,r)}),S}if(fu(t)){const S=[];for(let H=0;H>>1,S=nm[c],H=M5(S);H=M5(r)?nm.push(t):nm.splice(pne(e),0,t),t.flags|=1,gj()}}function gj(){DT||(DT=mj.then(yj))}function mne(t){fu(t)?M2.push(...t):Zy&&t.id===-1?Zy.splice(_2+1,0,t):t.flags&1||(M2.push(t),t.flags|=1),gj()}function _O(t,e,r=xv+1){for(;rM5(r)-M5(c));if(M2.length=0,Zy){Zy.push(...e);return}for(Zy=e,_2=0;_2t.id==null?t.flags&2?-1:1/0:t.id;function yj(t){try{for(xv=0;xv{c._d&&DO(-1);const H=zT(e);let Z;try{Z=t(...S)}finally{zT(H),c._d&&DO(1)}return Z};return c._n=!0,c._c=!0,c._d=!0,c}function Wl(t,e){if(b0===null)return t;const r=wS(b0),c=t.dirs||(t.dirs=[]);for(let S=0;St.__isTeleport,f5=t=>t&&(t.disabled||t.disabled===""),xO=t=>t&&(t.defer||t.defer===""),bO=t=>typeof SVGElement<"u"&&t instanceof SVGElement,wO=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,EM=(t,e)=>{const r=t&&t.to;return Ad(r)?e?e(r):null:r},wj={name:"Teleport",__isTeleport:!0,process(t,e,r,c,S,H,Z,ue,be,Se){const{mc:Fe,pc:Je,pbc:_t,o:{insert:bt,querySelector:Dt,createText:Nt,createComment:rr}}=Se,Er=f5(e.props);let{shapeFlag:Re,children:ki,dynamicChildren:ur}=e;if(t==null){const Ir=e.el=Nt(""),Ti=e.anchor=Nt("");bt(Ir,r,c),bt(Ti,r,c);const bi=(ri,Qi)=>{Re&16&&(S&&S.isCE&&(S.ce._teleportTarget=ri),Fe(ki,ri,Qi,S,H,Z,ue,be))},Pi=()=>{const ri=e.target=EM(e.props,Dt),Qi=kj(ri,e,Nt,bt);ri&&(Z!=="svg"&&bO(ri)?Z="svg":Z!=="mathml"&&wO(ri)&&(Z="mathml"),Er||(bi(ri,Qi),oT(e,!1)))};Er&&(bi(r,Ti),oT(e,!0)),xO(e.props)?(e.el.__isMounted=!1,rm(()=>{Pi(),delete e.el.__isMounted},H)):Pi()}else{if(xO(e.props)&&t.el.__isMounted===!1){rm(()=>{wj.process(t,e,r,c,S,H,Z,ue,be,Se)},H);return}e.el=t.el,e.targetStart=t.targetStart;const Ir=e.anchor=t.anchor,Ti=e.target=t.target,bi=e.targetAnchor=t.targetAnchor,Pi=f5(t.props),ri=Pi?r:Ti,Qi=Pi?Ir:bi;if(Z==="svg"||bO(Ti)?Z="svg":(Z==="mathml"||wO(Ti))&&(Z="mathml"),ur?(_t(t.dynamicChildren,ur,ri,S,H,Z,ue),_E(t,e,!0)):be||Je(t,e,ri,Qi,S,H,Z,ue,!1),Er)Pi?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):Ek(e,r,Ir,Se,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const vi=e.target=EM(e.props,Dt);vi&&Ek(e,vi,null,Se,0)}else Pi&&Ek(e,Ti,bi,Se,1);oT(e,Er)}},remove(t,e,r,{um:c,o:{remove:S}},H){const{shapeFlag:Z,children:ue,anchor:be,targetStart:Se,targetAnchor:Fe,target:Je,props:_t}=t;if(Je&&(S(Se),S(Fe)),H&&S(be),Z&16){const bt=H||!f5(_t);for(let Dt=0;Dt{t.isMounted=!0}),Ug(()=>{t.isUnmounting=!0}),t}const og=[Function,Array],Sj={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:og,onEnter:og,onAfterEnter:og,onEnterCancelled:og,onBeforeLeave:og,onLeave:og,onAfterLeave:og,onLeaveCancelled:og,onBeforeAppear:og,onAppear:og,onAfterAppear:og,onAppearCancelled:og},Aj=t=>{const e=t.subTree;return e.component?Aj(e.component):e},vne={name:"BaseTransition",props:Sj,setup(t,{slots:e}){const r=bS(),c=Tj();return()=>{const S=e.default&&gE(e.default(),!0);if(!S||!S.length)return;const H=Cj(S),Z=Ou(t),{mode:ue}=Z;if(c.isLeaving)return h7(H);const be=kO(H);if(!be)return h7(H);let Se=E5(be,Z,c,r,Je=>Se=Je);be.type!==R0&&Bx(be,Se);let Fe=r.subTree&&kO(r.subTree);if(Fe&&Fe.type!==R0&&!_x(be,Fe)&&Aj(r).type!==R0){let Je=E5(Fe,Z,c,r);if(Bx(Fe,Je),ue==="out-in"&&be.type!==R0)return c.isLeaving=!0,Je.afterLeave=()=>{c.isLeaving=!1,r.job.flags&8||r.update(),delete Je.afterLeave,Fe=void 0},h7(H);ue==="in-out"&&be.type!==R0?Je.delayLeave=(_t,bt,Dt)=>{const Nt=Mj(c,Fe);Nt[String(Fe.key)]=Fe,_t[Ky]=()=>{bt(),_t[Ky]=void 0,delete Se.delayedLeave,Fe=void 0},Se.delayedLeave=()=>{Dt(),delete Se.delayedLeave,Fe=void 0}}:Fe=void 0}else Fe&&(Fe=void 0);return H}}};function Cj(t){let e=t[0];if(t.length>1){for(const r of t)if(r.type!==R0){e=r;break}}return e}const yne=vne;function Mj(t,e){const{leavingVNodes:r}=t;let c=r.get(e.type);return c||(c=Object.create(null),r.set(e.type,c)),c}function E5(t,e,r,c,S){const{appear:H,mode:Z,persisted:ue=!1,onBeforeEnter:be,onEnter:Se,onAfterEnter:Fe,onEnterCancelled:Je,onBeforeLeave:_t,onLeave:bt,onAfterLeave:Dt,onLeaveCancelled:Nt,onBeforeAppear:rr,onAppear:Er,onAfterAppear:Re,onAppearCancelled:ki}=e,ur=String(t.key),Ir=Mj(r,t),Ti=(ri,Qi)=>{ri&&Fg(ri,c,9,Qi)},bi=(ri,Qi)=>{const vi=Qi[1];Ti(ri,Qi),fu(ri)?ri.every(vr=>vr.length<=1)&&vi():ri.length<=1&&vi()},Pi={mode:Z,persisted:ue,beforeEnter(ri){let Qi=be;if(!r.isMounted)if(H)Qi=rr||be;else return;ri[Ky]&&ri[Ky](!0);const vi=Ir[ur];vi&&_x(t,vi)&&vi.el[Ky]&&vi.el[Ky](),Ti(Qi,[ri])},enter(ri){let Qi=Se,vi=Fe,vr=Je;if(!r.isMounted)if(H)Qi=Er||Se,vi=Re||Fe,vr=ki||Je;else return;let dr=!1;const Cr=ri[Lk]=ei=>{dr||(dr=!0,ei?Ti(vr,[ri]):Ti(vi,[ri]),Pi.delayedLeave&&Pi.delayedLeave(),ri[Lk]=void 0)};Qi?bi(Qi,[ri,Cr]):Cr()},leave(ri,Qi){const vi=String(t.key);if(ri[Lk]&&ri[Lk](!0),r.isUnmounting)return Qi();Ti(_t,[ri]);let vr=!1;const dr=ri[Ky]=Cr=>{vr||(vr=!0,Qi(),Cr?Ti(Nt,[ri]):Ti(Dt,[ri]),ri[Ky]=void 0,Ir[vi]===t&&delete Ir[vi])};Ir[vi]=t,bt?bi(bt,[ri,dr]):dr()},clone(ri){const Qi=E5(ri,e,r,c,S);return S&&S(Qi),Qi}};return Pi}function h7(t){if(gS(t))return t=d_(t),t.children=null,t}function kO(t){if(!gS(t))return bj(t.type)&&t.children?Cj(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:r}=t;if(r){if(e&16)return r[0];if(e&32&&Xu(r.default))return r.default()}}function Bx(t,e){t.shapeFlag&6&&t.component?(t.transition=e,Bx(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function gE(t,e=!1,r){let c=[],S=0;for(let H=0;H1)for(let H=0;Hd5(Dt,e&&(fu(e)?e[Nt]:e),r,c,S));return}if(E2(c)&&!S){c.shapeFlag&512&&c.type.__asyncResolved&&c.component.subTree.component&&d5(t,e,r,c.component.subTree);return}const H=c.shapeFlag&4?wS(c.component):c.el,Z=S?null:H,{i:ue,r:be}=t,Se=e&&e.r,Fe=ue.refs===Af?ue.refs={}:ue.refs,Je=ue.setupState,_t=Ou(Je),bt=Je===Af?()=>!1:Dt=>Zh(_t,Dt);if(Se!=null&&Se!==be&&(Ad(Se)?(Fe[Se]=null,bt(Se)&&(Je[Se]=null)):up(Se)&&(Se.value=null)),Xu(be))Y5(be,ue,12,[Z,Fe]);else{const Dt=Ad(be),Nt=up(be);if(Dt||Nt){const rr=()=>{if(t.f){const Er=Dt?bt(be)?Je[be]:Fe[be]:be.value;S?fu(Er)&&aE(Er,H):fu(Er)?Er.includes(H)||Er.push(H):Dt?(Fe[be]=[H],bt(be)&&(Je[be]=Fe[be])):(be.value=[H],t.k&&(Fe[t.k]=be.value))}else Dt?(Fe[be]=Z,bt(be)&&(Je[be]=Z)):Nt&&(be.value=Z,t.k&&(Fe[t.k]=Z))};Z?(rr.id=-1,rm(rr,r)):rr()}}}fS().requestIdleCallback;fS().cancelIdleCallback;const E2=t=>!!t.type.__asyncLoader,gS=t=>t.type.__isKeepAlive;function _ne(t,e){Lj(t,"a",e)}function xne(t,e){Lj(t,"da",e)}function Lj(t,e,r=F0){const c=t.__wdc||(t.__wdc=()=>{let S=r;for(;S;){if(S.isDeactivated)return;S=S.parent}return t()});if(vS(e,c,r),r){let S=r.parent;for(;S&&S.parent;)gS(S.parent.vnode)&&bne(c,e,r,S),S=S.parent}}function bne(t,e,r,c){const S=vS(e,t,c,!0);Iv(()=>{aE(c[e],S)},r)}function vS(t,e,r=F0,c=!1){if(r){const S=r[t]||(r[t]=[]),H=e.__weh||(e.__weh=(...Z)=>{F1();const ue=X5(r),be=Fg(e,r,t,Z);return ue(),N1(),be});return c?S.unshift(H):S.push(H),H}}const U1=t=>(e,r=F0)=>{(!I5||t==="sp")&&vS(t,(...c)=>e(...c),r)},wne=U1("bm"),Cd=U1("m"),kne=U1("bu"),Pj=U1("u"),Ug=U1("bum"),Iv=U1("um"),Tne=U1("sp"),Sne=U1("rtg"),Ane=U1("rtc");function Cne(t,e=F0){vS("ec",t,e)}const Ij="components";function yS(t,e){return zj(Ij,t,!0,e)||t}const Dj=Symbol.for("v-ndc");function t_(t){return Ad(t)?zj(Ij,t,!1)||t:t||Dj}function zj(t,e,r=!0,c=!1){const S=b0||F0;if(S){const H=S.type;{const ue=mae(H,!1);if(ue&&(ue===e||ue===xg(e)||ue===hS(xg(e))))return H}const Z=TO(S[t]||H[t],e)||TO(S.appContext[t],e);return!Z&&c?H:Z}}function TO(t,e){return t&&(t[e]||t[xg(e)]||t[hS(xg(e))])}function vu(t,e,r,c){let S;const H=r,Z=fu(t);if(Z||Ad(t)){const ue=Z&&l_(t);let be=!1,Se=!1;ue&&(be=!vg(t),Se=h_(t),t=dS(t)),S=new Array(t.length);for(let Fe=0,Je=t.length;Fee(ue,be,void 0,H));else{const ue=Object.keys(t);S=new Array(ue.length);for(let be=0,Se=ue.length;beP5(e)?!(e.type===R0||e.type===qs&&!Oj(e.children)):!0)?t:null}const LM=t=>t?eU(t)?wS(t):LM(t.parent):null,p5=zp(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>LM(t.parent),$root:t=>LM(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>Rj(t),$forceUpdate:t=>t.f||(t.f=()=>{mE(t.update)}),$nextTick:t=>t.n||(t.n=x0.bind(t.proxy)),$watch:t=>Yne.bind(t)}),f7=(t,e)=>t!==Af&&!t.__isScriptSetup&&Zh(t,e),Ene={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:r,setupState:c,data:S,props:H,accessCache:Z,type:ue,appContext:be}=t;let Se;if(e[0]!=="$"){const bt=Z[e];if(bt!==void 0)switch(bt){case 1:return c[e];case 2:return S[e];case 4:return r[e];case 3:return H[e]}else{if(f7(c,e))return Z[e]=1,c[e];if(S!==Af&&Zh(S,e))return Z[e]=2,S[e];if((Se=t.propsOptions[0])&&Zh(Se,e))return Z[e]=3,H[e];if(r!==Af&&Zh(r,e))return Z[e]=4,r[e];PM&&(Z[e]=0)}}const Fe=p5[e];let Je,_t;if(Fe)return e==="$attrs"&&B0(t.attrs,"get",""),Fe(t);if((Je=ue.__cssModules)&&(Je=Je[e]))return Je;if(r!==Af&&Zh(r,e))return Z[e]=4,r[e];if(_t=be.config.globalProperties,Zh(_t,e))return _t[e]},set({_:t},e,r){const{data:c,setupState:S,ctx:H}=t;return f7(S,e)?(S[e]=r,!0):c!==Af&&Zh(c,e)?(c[e]=r,!0):Zh(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(H[e]=r,!0)},has({_:{data:t,setupState:e,accessCache:r,ctx:c,appContext:S,propsOptions:H}},Z){let ue;return!!r[Z]||t!==Af&&Zh(t,Z)||f7(e,Z)||(ue=H[0])&&Zh(ue,Z)||Zh(c,Z)||Zh(p5,Z)||Zh(S.config.globalProperties,Z)},defineProperty(t,e,r){return r.get!=null?t._.accessCache[e]=0:Zh(r,"value")&&this.set(t,e,r.value,null),Reflect.defineProperty(t,e,r)}};function SO(t){return fu(t)?t.reduce((e,r)=>(e[r]=null,e),{}):t}let PM=!0;function Lne(t){const e=Rj(t),r=t.proxy,c=t.ctx;PM=!1,e.beforeCreate&&AO(e.beforeCreate,t,"bc");const{data:S,computed:H,methods:Z,watch:ue,provide:be,inject:Se,created:Fe,beforeMount:Je,mounted:_t,beforeUpdate:bt,updated:Dt,activated:Nt,deactivated:rr,beforeDestroy:Er,beforeUnmount:Re,destroyed:ki,unmounted:ur,render:Ir,renderTracked:Ti,renderTriggered:bi,errorCaptured:Pi,serverPrefetch:ri,expose:Qi,inheritAttrs:vi,components:vr,directives:dr,filters:Cr}=e;if(Se&&Pne(Se,c,null),Z)for(const Jr in Z){const Di=Z[Jr];Xu(Di)&&(c[Jr]=Di.bind(r))}if(S){const Jr=S.call(r,r);Cf(Jr)&&(t.data=Ox(Jr))}if(PM=!0,H)for(const Jr in H){const Di=H[Jr],qn=Xu(Di)?Di.bind(r,r):Xu(Di.get)?Di.get.bind(r,r):Mv,Qn=!Xu(Di)&&Xu(Di.set)?Di.set.bind(r):Mv,ka=Ro({get:qn,set:Qn});Object.defineProperty(c,Jr,{enumerable:!0,configurable:!0,get:()=>ka.value,set:Ta=>ka.value=Ta})}if(ue)for(const Jr in ue)Bj(ue[Jr],c,r,Jr);if(be){const Jr=Xu(be)?be.call(r):be;Reflect.ownKeys(Jr).forEach(Di=>{sT(Di,Jr[Di])})}Fe&&AO(Fe,t,"c");function Yr(Jr,Di){fu(Di)?Di.forEach(qn=>Jr(qn.bind(r))):Di&&Jr(Di.bind(r))}if(Yr(wne,Je),Yr(Cd,_t),Yr(kne,bt),Yr(Pj,Dt),Yr(_ne,Nt),Yr(xne,rr),Yr(Cne,Pi),Yr(Ane,Ti),Yr(Sne,bi),Yr(Ug,Re),Yr(Iv,ur),Yr(Tne,ri),fu(Qi))if(Qi.length){const Jr=t.exposed||(t.exposed={});Qi.forEach(Di=>{Object.defineProperty(Jr,Di,{get:()=>r[Di],set:qn=>r[Di]=qn,enumerable:!0})})}else t.exposed||(t.exposed={});Ir&&t.render===Mv&&(t.render=Ir),vi!=null&&(t.inheritAttrs=vi),vr&&(t.components=vr),dr&&(t.directives=dr),ri&&Ej(t)}function Pne(t,e,r=Mv){fu(t)&&(t=IM(t));for(const c in t){const S=t[c];let H;Cf(S)?"default"in S?H=yg(S.from||c,S.default,!0):H=yg(S.from||c):H=yg(S),up(H)?Object.defineProperty(e,c,{enumerable:!0,configurable:!0,get:()=>H.value,set:Z=>H.value=Z}):e[c]=H}}function AO(t,e,r){Fg(fu(t)?t.map(c=>c.bind(e.proxy)):t.bind(e.proxy),e,r)}function Bj(t,e,r,c){let S=c.includes(".")?Kj(r,c):()=>r[c];if(Ad(t)){const H=e[t];Xu(H)&&w0(S,H)}else if(Xu(t))w0(S,t.bind(r));else if(Cf(t))if(fu(t))t.forEach(H=>Bj(H,e,r,c));else{const H=Xu(t.handler)?t.handler.bind(r):e[t.handler];Xu(H)&&w0(S,H,t)}}function Rj(t){const e=t.type,{mixins:r,extends:c}=e,{mixins:S,optionsCache:H,config:{optionMergeStrategies:Z}}=t.appContext,ue=H.get(e);let be;return ue?be=ue:!S.length&&!r&&!c?be=e:(be={},S.length&&S.forEach(Se=>OT(be,Se,Z,!0)),OT(be,e,Z)),Cf(e)&&H.set(e,be),be}function OT(t,e,r,c=!1){const{mixins:S,extends:H}=e;H&&OT(t,H,r,!0),S&&S.forEach(Z=>OT(t,Z,r,!0));for(const Z in e)if(!(c&&Z==="expose")){const ue=Ine[Z]||r&&r[Z];t[Z]=ue?ue(t[Z],e[Z]):e[Z]}return t}const Ine={data:CO,props:MO,emits:MO,methods:J3,computed:J3,beforeCreate:Q0,created:Q0,beforeMount:Q0,mounted:Q0,beforeUpdate:Q0,updated:Q0,beforeDestroy:Q0,beforeUnmount:Q0,destroyed:Q0,unmounted:Q0,activated:Q0,deactivated:Q0,errorCaptured:Q0,serverPrefetch:Q0,components:J3,directives:J3,watch:zne,provide:CO,inject:Dne};function CO(t,e){return e?t?function(){return zp(Xu(t)?t.call(this,this):t,Xu(e)?e.call(this,this):e)}:e:t}function Dne(t,e){return J3(IM(t),IM(e))}function IM(t){if(fu(t)){const e={};for(let r=0;r1)return r&&Xu(e)?e.call(c&&c.proxy):e}}function Rne(){return!!(bS()||Mx)}const Nj={},jj=()=>Object.create(Nj),Uj=t=>Object.getPrototypeOf(t)===Nj;function Fne(t,e,r,c=!1){const S={},H=jj();t.propsDefaults=Object.create(null),$j(t,e,S,H);for(const Z in t.propsOptions[0])Z in S||(S[Z]=void 0);r?t.props=c?S:hj(S):t.type.props?t.props=S:t.props=H,t.attrs=H}function Nne(t,e,r,c){const{props:S,attrs:H,vnode:{patchFlag:Z}}=t,ue=Ou(S),[be]=t.propsOptions;let Se=!1;if((c||Z>0)&&!(Z&16)){if(Z&8){const Fe=t.vnode.dynamicProps;for(let Je=0;Je{be=!0;const[_t,bt]=Hj(Je,e,!0);zp(Z,_t),bt&&ue.push(...bt)};!r&&e.mixins.length&&e.mixins.forEach(Fe),t.extends&&Fe(t.extends),t.mixins&&t.mixins.forEach(Fe)}if(!H&&!be)return Cf(t)&&c.set(t,A2),A2;if(fu(H))for(let Fe=0;Fet==="_"||t==="__"||t==="_ctx"||t==="$stable",yE=t=>fu(t)?t.map(kv):[kv(t)],Une=(t,e,r)=>{if(e._n)return e;const c=f_((...S)=>yE(e(...S)),r);return c._c=!1,c},Vj=(t,e,r)=>{const c=t._ctx;for(const S in t){if(vE(S))continue;const H=t[S];if(Xu(H))e[S]=Une(S,H,c);else if(H!=null){const Z=yE(H);e[S]=()=>Z}}},Wj=(t,e)=>{const r=yE(e);t.slots.default=()=>r},qj=(t,e,r)=>{for(const c in e)(r||!vE(c))&&(t[c]=e[c])},$ne=(t,e,r)=>{const c=t.slots=jj();if(t.vnode.shapeFlag&32){const S=e.__;S&&SM(c,"__",S,!0);const H=e._;H?(qj(c,e,r),r&&SM(c,"_",H,!0)):Vj(e,c)}else e&&Wj(t,e)},Hne=(t,e,r)=>{const{vnode:c,slots:S}=t;let H=!0,Z=Af;if(c.shapeFlag&32){const ue=e._;ue?r&&ue===1?H=!1:qj(S,e,r):(H=!e.$stable,Vj(e,S)),Z=e}else e&&(Wj(t,e),Z={default:1});if(H)for(const ue in S)!vE(ue)&&Z[ue]==null&&delete S[ue]},rm=iae;function Vne(t){return Wne(t)}function Wne(t,e){const r=fS();r.__VUE__=!0;const{insert:c,remove:S,patchProp:H,createElement:Z,createText:ue,createComment:be,setText:Se,setElementText:Fe,parentNode:Je,nextSibling:_t,setScopeId:bt=Mv,insertStaticContent:Dt}=t,Nt=(Ur,Ai,Xi,oo=null,go=null,ko=null,os=void 0,vs=null,is=!!Ai.dynamicChildren)=>{if(Ur===Ai)return;Ur&&!_x(Ur,Ai)&&(oo=zn(Ur),Ta(Ur,go,ko,!0),Ur=null),Ai.patchFlag===-2&&(is=!1,Ai.dynamicChildren=null);const{type:Jo,ref:Ol,shapeFlag:Hs}=Ai;switch(Jo){case xS:rr(Ur,Ai,Xi,oo);break;case R0:Er(Ur,Ai,Xi,oo);break;case lT:Ur==null&&Re(Ai,Xi,oo,os);break;case qs:vr(Ur,Ai,Xi,oo,go,ko,os,vs,is);break;default:Hs&1?Ir(Ur,Ai,Xi,oo,go,ko,os,vs,is):Hs&6?dr(Ur,Ai,Xi,oo,go,ko,os,vs,is):(Hs&64||Hs&128)&&Jo.process(Ur,Ai,Xi,oo,go,ko,os,vs,is,Io)}Ol!=null&&go?d5(Ol,Ur&&Ur.ref,ko,Ai||Ur,!Ai):Ol==null&&Ur&&Ur.ref!=null&&d5(Ur.ref,null,ko,Ur,!0)},rr=(Ur,Ai,Xi,oo)=>{if(Ur==null)c(Ai.el=ue(Ai.children),Xi,oo);else{const go=Ai.el=Ur.el;Ai.children!==Ur.children&&Se(go,Ai.children)}},Er=(Ur,Ai,Xi,oo)=>{Ur==null?c(Ai.el=be(Ai.children||""),Xi,oo):Ai.el=Ur.el},Re=(Ur,Ai,Xi,oo)=>{[Ur.el,Ur.anchor]=Dt(Ur.children,Ai,Xi,oo,Ur.el,Ur.anchor)},ki=({el:Ur,anchor:Ai},Xi,oo)=>{let go;for(;Ur&&Ur!==Ai;)go=_t(Ur),c(Ur,Xi,oo),Ur=go;c(Ai,Xi,oo)},ur=({el:Ur,anchor:Ai})=>{let Xi;for(;Ur&&Ur!==Ai;)Xi=_t(Ur),S(Ur),Ur=Xi;S(Ai)},Ir=(Ur,Ai,Xi,oo,go,ko,os,vs,is)=>{Ai.type==="svg"?os="svg":Ai.type==="math"&&(os="mathml"),Ur==null?Ti(Ai,Xi,oo,go,ko,os,vs,is):ri(Ur,Ai,go,ko,os,vs,is)},Ti=(Ur,Ai,Xi,oo,go,ko,os,vs)=>{let is,Jo;const{props:Ol,shapeFlag:Hs,transition:ql,dirs:Su}=Ur;if(is=Ur.el=Z(Ur.type,ko,Ol&&Ol.is,Ol),Hs&8?Fe(is,Ur.children):Hs&16&&Pi(Ur.children,is,null,oo,go,d7(Ur,ko),os,vs),Su&&rx(Ur,null,oo,"created"),bi(is,Ur,Ur.scopeId,os,oo),Ol){for(const kh in Ol)kh!=="value"&&!u5(kh)&&H(is,kh,null,Ol[kh],ko,oo);"value"in Ol&&H(is,"value",null,Ol.value,ko),(Jo=Ol.onVnodeBeforeMount)&&hv(Jo,oo,Ur)}Su&&rx(Ur,null,oo,"beforeMount");const lc=qne(go,ql);lc&&ql.beforeEnter(is),c(is,Ai,Xi),((Jo=Ol&&Ol.onVnodeMounted)||lc||Su)&&rm(()=>{Jo&&hv(Jo,oo,Ur),lc&&ql.enter(is),Su&&rx(Ur,null,oo,"mounted")},go)},bi=(Ur,Ai,Xi,oo,go)=>{if(Xi&&bt(Ur,Xi),oo)for(let ko=0;ko{for(let Jo=is;Jo{const vs=Ai.el=Ur.el;let{patchFlag:is,dynamicChildren:Jo,dirs:Ol}=Ai;is|=Ur.patchFlag&16;const Hs=Ur.props||Af,ql=Ai.props||Af;let Su;if(Xi&&ix(Xi,!1),(Su=ql.onVnodeBeforeUpdate)&&hv(Su,Xi,Ai,Ur),Ol&&rx(Ai,Ur,Xi,"beforeUpdate"),Xi&&ix(Xi,!0),(Hs.innerHTML&&ql.innerHTML==null||Hs.textContent&&ql.textContent==null)&&Fe(vs,""),Jo?Qi(Ur.dynamicChildren,Jo,vs,Xi,oo,d7(Ai,go),ko):os||Di(Ur,Ai,vs,null,Xi,oo,d7(Ai,go),ko,!1),is>0){if(is&16)vi(vs,Hs,ql,Xi,go);else if(is&2&&Hs.class!==ql.class&&H(vs,"class",null,ql.class,go),is&4&&H(vs,"style",Hs.style,ql.style,go),is&8){const lc=Ai.dynamicProps;for(let kh=0;kh{Su&&hv(Su,Xi,Ai,Ur),Ol&&rx(Ai,Ur,Xi,"updated")},oo)},Qi=(Ur,Ai,Xi,oo,go,ko,os)=>{for(let vs=0;vs{if(Ai!==Xi){if(Ai!==Af)for(const ko in Ai)!u5(ko)&&!(ko in Xi)&&H(Ur,ko,Ai[ko],null,go,oo);for(const ko in Xi){if(u5(ko))continue;const os=Xi[ko],vs=Ai[ko];os!==vs&&ko!=="value"&&H(Ur,ko,vs,os,go,oo)}"value"in Xi&&H(Ur,"value",Ai.value,Xi.value,go)}},vr=(Ur,Ai,Xi,oo,go,ko,os,vs,is)=>{const Jo=Ai.el=Ur?Ur.el:ue(""),Ol=Ai.anchor=Ur?Ur.anchor:ue("");let{patchFlag:Hs,dynamicChildren:ql,slotScopeIds:Su}=Ai;Su&&(vs=vs?vs.concat(Su):Su),Ur==null?(c(Jo,Xi,oo),c(Ol,Xi,oo),Pi(Ai.children||[],Xi,Ol,go,ko,os,vs,is)):Hs>0&&Hs&64&&ql&&Ur.dynamicChildren?(Qi(Ur.dynamicChildren,ql,Xi,go,ko,os,vs),(Ai.key!=null||go&&Ai===go.subTree)&&_E(Ur,Ai,!0)):Di(Ur,Ai,Xi,Ol,go,ko,os,vs,is)},dr=(Ur,Ai,Xi,oo,go,ko,os,vs,is)=>{Ai.slotScopeIds=vs,Ur==null?Ai.shapeFlag&512?go.ctx.activate(Ai,Xi,oo,os,is):Cr(Ai,Xi,oo,go,ko,os,is):ei(Ur,Ai,is)},Cr=(Ur,Ai,Xi,oo,go,ko,os)=>{const vs=Ur.component=cae(Ur,oo,go);if(gS(Ur)&&(vs.ctx.renderer=Io),hae(vs,!1,os),vs.asyncDep){if(go&&go.registerDep(vs,Yr,os),!Ur.el){const is=vs.subTree=sl(R0);Er(null,is,Ai,Xi),Ur.placeholder=is.el}}else Yr(vs,Ur,Ai,Xi,go,ko,os)},ei=(Ur,Ai,Xi)=>{const oo=Ai.component=Ur.component;if(tae(Ur,Ai,Xi))if(oo.asyncDep&&!oo.asyncResolved){Jr(oo,Ai,Xi);return}else oo.next=Ai,oo.update();else Ai.el=Ur.el,oo.vnode=Ai},Yr=(Ur,Ai,Xi,oo,go,ko,os)=>{const vs=()=>{if(Ur.isMounted){let{next:Hs,bu:ql,u:Su,parent:lc,vnode:kh}=Ur;{const lm=Gj(Ur);if(lm){Hs&&(Hs.el=kh.el,Jr(Ur,Hs,os)),lm.asyncDep.then(()=>{Ur.isUnmounted||vs()});return}}let qc=Hs,Bp;ix(Ur,!1),Hs?(Hs.el=kh.el,Jr(Ur,Hs,os)):Hs=kh,ql&&aT(ql),(Bp=Hs.props&&Hs.props.onVnodeBeforeUpdate)&&hv(Bp,lc,Hs,kh),ix(Ur,!0);const wp=PO(Ur),W0=Ur.subTree;Ur.subTree=wp,Nt(W0,wp,Je(W0.el),zn(W0),Ur,go,ko),Hs.el=wp.el,qc===null&&rae(Ur,wp.el),Su&&rm(Su,go),(Bp=Hs.props&&Hs.props.onVnodeUpdated)&&rm(()=>hv(Bp,lc,Hs,kh),go)}else{let Hs;const{el:ql,props:Su}=Ai,{bm:lc,m:kh,parent:qc,root:Bp,type:wp}=Ur,W0=E2(Ai);ix(Ur,!1),lc&&aT(lc),!W0&&(Hs=Su&&Su.onVnodeBeforeMount)&&hv(Hs,qc,Ai),ix(Ur,!0);{Bp.ce&&Bp.ce._def.shadowRoot!==!1&&Bp.ce._injectChildStyle(wp);const lm=Ur.subTree=PO(Ur);Nt(null,lm,Xi,oo,Ur,go,ko),Ai.el=lm.el}if(kh&&rm(kh,go),!W0&&(Hs=Su&&Su.onVnodeMounted)){const lm=Ai;rm(()=>hv(Hs,qc,lm),go)}(Ai.shapeFlag&256||qc&&E2(qc.vnode)&&qc.vnode.shapeFlag&256)&&Ur.a&&rm(Ur.a,go),Ur.isMounted=!0,Ai=Xi=oo=null}};Ur.scope.on();const is=Ur.effect=new XN(vs);Ur.scope.off();const Jo=Ur.update=is.run.bind(is),Ol=Ur.job=is.runIfDirty.bind(is);Ol.i=Ur,Ol.id=Ur.uid,is.scheduler=()=>mE(Ol),ix(Ur,!0),Jo()},Jr=(Ur,Ai,Xi)=>{Ai.component=Ur;const oo=Ur.vnode.props;Ur.vnode=Ai,Ur.next=null,Nne(Ur,Ai.props,oo,Xi),Hne(Ur,Ai.children,Xi),F1(),_O(Ur),N1()},Di=(Ur,Ai,Xi,oo,go,ko,os,vs,is=!1)=>{const Jo=Ur&&Ur.children,Ol=Ur?Ur.shapeFlag:0,Hs=Ai.children,{patchFlag:ql,shapeFlag:Su}=Ai;if(ql>0){if(ql&128){Qn(Jo,Hs,Xi,oo,go,ko,os,vs,is);return}else if(ql&256){qn(Jo,Hs,Xi,oo,go,ko,os,vs,is);return}}Su&8?(Ol&16&&an(Jo,go,ko),Hs!==Jo&&Fe(Xi,Hs)):Ol&16?Su&16?Qn(Jo,Hs,Xi,oo,go,ko,os,vs,is):an(Jo,go,ko,!0):(Ol&8&&Fe(Xi,""),Su&16&&Pi(Hs,Xi,oo,go,ko,os,vs,is))},qn=(Ur,Ai,Xi,oo,go,ko,os,vs,is)=>{Ur=Ur||A2,Ai=Ai||A2;const Jo=Ur.length,Ol=Ai.length,Hs=Math.min(Jo,Ol);let ql;for(ql=0;qlOl?an(Ur,go,ko,!0,!1,Hs):Pi(Ai,Xi,oo,go,ko,os,vs,is,Hs)},Qn=(Ur,Ai,Xi,oo,go,ko,os,vs,is)=>{let Jo=0;const Ol=Ai.length;let Hs=Ur.length-1,ql=Ol-1;for(;Jo<=Hs&&Jo<=ql;){const Su=Ur[Jo],lc=Ai[Jo]=is?Yy(Ai[Jo]):kv(Ai[Jo]);if(_x(Su,lc))Nt(Su,lc,Xi,null,go,ko,os,vs,is);else break;Jo++}for(;Jo<=Hs&&Jo<=ql;){const Su=Ur[Hs],lc=Ai[ql]=is?Yy(Ai[ql]):kv(Ai[ql]);if(_x(Su,lc))Nt(Su,lc,Xi,null,go,ko,os,vs,is);else break;Hs--,ql--}if(Jo>Hs){if(Jo<=ql){const Su=ql+1,lc=Suql)for(;Jo<=Hs;)Ta(Ur[Jo],go,ko,!0),Jo++;else{const Su=Jo,lc=Jo,kh=new Map;for(Jo=lc;Jo<=ql;Jo++){const Rp=Ai[Jo]=is?Yy(Ai[Jo]):kv(Ai[Jo]);Rp.key!=null&&kh.set(Rp.key,Jo)}let qc,Bp=0;const wp=ql-lc+1;let W0=!1,lm=0;const Hg=new Array(wp);for(Jo=0;Jo=wp){Ta(Rp,go,ko,!0);continue}let um;if(Rp.key!=null)um=kh.get(Rp.key);else for(qc=lc;qc<=ql;qc++)if(Hg[qc-lc]===0&&_x(Rp,Ai[qc])){um=qc;break}um===void 0?Ta(Rp,go,ko,!0):(Hg[um-lc]=Jo+1,um>=lm?lm=um:W0=!0,Nt(Rp,Ai[um],Xi,null,go,ko,os,vs,is),Bp++)}const W1=W0?Gne(Hg):A2;for(qc=W1.length-1,Jo=wp-1;Jo>=0;Jo--){const Rp=lc+Jo,um=Ai[Rp],Vg=Ai[Rp+1],Gx=Rp+1{const{el:ko,type:os,transition:vs,children:is,shapeFlag:Jo}=Ur;if(Jo&6){ka(Ur.component.subTree,Ai,Xi,oo);return}if(Jo&128){Ur.suspense.move(Ai,Xi,oo);return}if(Jo&64){os.move(Ur,Ai,Xi,Io);return}if(os===qs){c(ko,Ai,Xi);for(let Hs=0;Hsvs.enter(ko),go);else{const{leave:Hs,delayLeave:ql,afterLeave:Su}=vs,lc=()=>{Ur.ctx.isUnmounted?S(ko):c(ko,Ai,Xi)},kh=()=>{Hs(ko,()=>{lc(),Su&&Su()})};ql?ql(ko,lc,kh):kh()}else c(ko,Ai,Xi)},Ta=(Ur,Ai,Xi,oo=!1,go=!1)=>{const{type:ko,props:os,ref:vs,children:is,dynamicChildren:Jo,shapeFlag:Ol,patchFlag:Hs,dirs:ql,cacheIndex:Su}=Ur;if(Hs===-2&&(go=!1),vs!=null&&(F1(),d5(vs,null,Xi,Ur,!0),N1()),Su!=null&&(Ai.renderCache[Su]=void 0),Ol&256){Ai.ctx.deactivate(Ur);return}const lc=Ol&1&&ql,kh=!E2(Ur);let qc;if(kh&&(qc=os&&os.onVnodeBeforeUnmount)&&hv(qc,Ai,Ur),Ol&6)sn(Ur.component,Xi,oo);else{if(Ol&128){Ur.suspense.unmount(Xi,oo);return}lc&&rx(Ur,null,Ai,"beforeUnmount"),Ol&64?Ur.type.remove(Ur,Ai,Xi,Io,oo):Jo&&!Jo.hasOnce&&(ko!==qs||Hs>0&&Hs&64)?an(Jo,Ai,Xi,!1,!0):(ko===qs&&Hs&384||!go&&Ol&16)&&an(is,Ai,Xi),oo&&so(Ur)}(kh&&(qc=os&&os.onVnodeUnmounted)||lc)&&rm(()=>{qc&&hv(qc,Ai,Ur),lc&&rx(Ur,null,Ai,"unmounted")},Xi)},so=Ur=>{const{type:Ai,el:Xi,anchor:oo,transition:go}=Ur;if(Ai===qs){Yn(Xi,oo);return}if(Ai===lT){ur(Ur);return}const ko=()=>{S(Xi),go&&!go.persisted&&go.afterLeave&&go.afterLeave()};if(Ur.shapeFlag&1&&go&&!go.persisted){const{leave:os,delayLeave:vs}=go,is=()=>os(Xi,ko);vs?vs(Ur.el,ko,is):is()}else ko()},Yn=(Ur,Ai)=>{let Xi;for(;Ur!==Ai;)Xi=_t(Ur),S(Ur),Ur=Xi;S(Ai)},sn=(Ur,Ai,Xi)=>{const{bum:oo,scope:go,job:ko,subTree:os,um:vs,m:is,a:Jo,parent:Ol,slots:{__:Hs}}=Ur;LO(is),LO(Jo),oo&&aT(oo),Ol&&fu(Hs)&&Hs.forEach(ql=>{Ol.renderCache[ql]=void 0}),go.stop(),ko&&(ko.flags|=8,Ta(os,Ur,Ai,Xi)),vs&&rm(vs,Ai),rm(()=>{Ur.isUnmounted=!0},Ai),Ai&&Ai.pendingBranch&&!Ai.isUnmounted&&Ur.asyncDep&&!Ur.asyncResolved&&Ur.suspenseId===Ai.pendingId&&(Ai.deps--,Ai.deps===0&&Ai.resolve())},an=(Ur,Ai,Xi,oo=!1,go=!1,ko=0)=>{for(let os=ko;os{if(Ur.shapeFlag&6)return zn(Ur.component.subTree);if(Ur.shapeFlag&128)return Ur.suspense.next();const Ai=_t(Ur.anchor||Ur.el),Xi=Ai&&Ai[xj];return Xi?_t(Xi):Ai};let Ba=!1;const Ya=(Ur,Ai,Xi)=>{Ur==null?Ai._vnode&&Ta(Ai._vnode,null,null,!0):Nt(Ai._vnode||null,Ur,Ai,null,null,null,Xi),Ai._vnode=Ur,Ba||(Ba=!0,_O(),vj(),Ba=!1)},Io={p:Nt,um:Ta,m:ka,r:so,mt:Cr,mc:Pi,pc:Di,pbc:Qi,n:zn,o:t};return{render:Ya,hydrate:void 0,createApp:Bne(Ya)}}function d7({type:t,props:e},r){return r==="svg"&&t==="foreignObject"||r==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:r}function ix({effect:t,job:e},r){r?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function qne(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function _E(t,e,r=!1){const c=t.children,S=e.children;if(fu(c)&&fu(S))for(let H=0;H>1,t[r[ue]]0&&(e[c]=r[H-1]),r[H]=c)}}for(H=r.length,Z=r[H-1];H-- >0;)r[H]=Z,Z=e[Z];return r}function Gj(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Gj(e)}function LO(t){if(t)for(let e=0;eyg(Zne);function w0(t,e,r){return Zj(t,e,r)}function Zj(t,e,r=Af){const{immediate:c,deep:S,flush:H,once:Z}=r,ue=zp({},r),be=e&&c||!e&&H!=="post";let Se;if(I5){if(H==="sync"){const bt=Kne();Se=bt.__watcherHandles||(bt.__watcherHandles=[])}else if(!be){const bt=()=>{};return bt.stop=Mv,bt.resume=Mv,bt.pause=Mv,bt}}const Fe=F0;ue.call=(bt,Dt,Nt)=>Fg(bt,Fe,Dt,Nt);let Je=!1;H==="post"?ue.scheduler=bt=>{rm(bt,Fe&&Fe.suspense)}:H!=="sync"&&(Je=!0,ue.scheduler=(bt,Dt)=>{Dt?bt():mE(bt)}),ue.augmentJob=bt=>{e&&(bt.flags|=4),Je&&(bt.flags|=2,Fe&&(bt.id=Fe.uid,bt.i=Fe))};const _t=fne(t,e,ue);return I5&&(Se?Se.push(_t):be&&_t()),_t}function Yne(t,e,r){const c=this.proxy,S=Ad(t)?t.includes(".")?Kj(c,t):()=>c[t]:t.bind(c,c);let H;Xu(e)?H=e:(H=e.handler,r=e);const Z=X5(this),ue=Zj(S,H.bind(c),r);return Z(),ue}function Kj(t,e){const r=e.split(".");return()=>{let c=t;for(let S=0;Se==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${xg(e)}Modifiers`]||t[`${g_(e)}Modifiers`];function Jne(t,e,...r){if(t.isUnmounted)return;const c=t.vnode.props||Af;let S=r;const H=e.startsWith("update:"),Z=H&&Xne(c,e.slice(7));Z&&(Z.trim&&(S=r.map(Fe=>Ad(Fe)?Fe.trim():Fe)),Z.number&&(S=r.map(ET)));let ue,be=c[ue=o7(e)]||c[ue=o7(xg(e))];!be&&H&&(be=c[ue=o7(g_(e))]),be&&Fg(be,t,6,S);const Se=c[ue+"Once"];if(Se){if(!t.emitted)t.emitted={};else if(t.emitted[ue])return;t.emitted[ue]=!0,Fg(Se,t,6,S)}}function Yj(t,e,r=!1){const c=e.emitsCache,S=c.get(t);if(S!==void 0)return S;const H=t.emits;let Z={},ue=!1;if(!Xu(t)){const be=Se=>{const Fe=Yj(Se,e,!0);Fe&&(ue=!0,zp(Z,Fe))};!r&&e.mixins.length&&e.mixins.forEach(be),t.extends&&be(t.extends),t.mixins&&t.mixins.forEach(be)}return!H&&!ue?(Cf(t)&&c.set(t,null),null):(fu(H)?H.forEach(be=>Z[be]=null):zp(Z,H),Cf(t)&&c.set(t,Z),Z)}function _S(t,e){return!t||!lS(e)?!1:(e=e.slice(2).replace(/Once$/,""),Zh(t,e[0].toLowerCase()+e.slice(1))||Zh(t,g_(e))||Zh(t,e))}function PO(t){const{type:e,vnode:r,proxy:c,withProxy:S,propsOptions:[H],slots:Z,attrs:ue,emit:be,render:Se,renderCache:Fe,props:Je,data:_t,setupState:bt,ctx:Dt,inheritAttrs:Nt}=t,rr=zT(t);let Er,Re;try{if(r.shapeFlag&4){const ur=S||c,Ir=ur;Er=kv(Se.call(Ir,ur,Fe,Je,bt,_t,Dt)),Re=ue}else{const ur=e;Er=kv(ur.length>1?ur(Je,{attrs:ue,slots:Z,emit:be}):ur(Je,null)),Re=e.props?ue:Qne(ue)}}catch(ur){m5.length=0,pS(ur,t,1),Er=sl(R0)}let ki=Er;if(Re&&Nt!==!1){const ur=Object.keys(Re),{shapeFlag:Ir}=ki;ur.length&&Ir&7&&(H&&ur.some(nE)&&(Re=eae(Re,H)),ki=d_(ki,Re,!1,!0))}return r.dirs&&(ki=d_(ki,null,!1,!0),ki.dirs=ki.dirs?ki.dirs.concat(r.dirs):r.dirs),r.transition&&Bx(ki,r.transition),Er=ki,zT(rr),Er}const Qne=t=>{let e;for(const r in t)(r==="class"||r==="style"||lS(r))&&((e||(e={}))[r]=t[r]);return e},eae=(t,e)=>{const r={};for(const c in t)(!nE(c)||!(c.slice(9)in e))&&(r[c]=t[c]);return r};function tae(t,e,r){const{props:c,children:S,component:H}=t,{props:Z,children:ue,patchFlag:be}=e,Se=H.emitsOptions;if(e.dirs||e.transition)return!0;if(r&&be>=0){if(be&1024)return!0;if(be&16)return c?IO(c,Z,Se):!!Z;if(be&8){const Fe=e.dynamicProps;for(let Je=0;Jet.__isSuspense;function iae(t,e){e&&e.pendingBranch?fu(t)?e.effects.push(...t):e.effects.push(t):mne(t)}const qs=Symbol.for("v-fgt"),xS=Symbol.for("v-txt"),R0=Symbol.for("v-cmt"),lT=Symbol.for("v-stc"),m5=[];let Km=null;function Qr(t=!1){m5.push(Km=t?null:[])}function nae(){m5.pop(),Km=m5[m5.length-1]||null}let L5=1;function DO(t,e=!1){L5+=t,t<0&&Km&&e&&(Km.hasOnce=!0)}function Jj(t){return t.dynamicChildren=L5>0?Km||A2:null,nae(),L5>0&&Km&&Km.push(t),t}function ai(t,e,r,c,S,H){return Jj(Pe(t,e,r,c,S,H,!0))}function Td(t,e,r,c,S){return Jj(sl(t,e,r,c,S,!0))}function P5(t){return t?t.__v_isVNode===!0:!1}function _x(t,e){return t.type===e.type&&t.key===e.key}const Qj=({key:t})=>t??null,uT=({ref:t,ref_key:e,ref_for:r})=>(typeof t=="number"&&(t=""+t),t!=null?Ad(t)||up(t)||Xu(t)?{i:b0,r:t,k:e,f:!!r}:t:null);function Pe(t,e=null,r=null,c=0,S=null,H=t===qs?0:1,Z=!1,ue=!1){const be={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Qj(e),ref:e&&uT(e),scopeId:_j,slotScopeIds:null,children:r,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:H,patchFlag:c,dynamicProps:S,dynamicChildren:null,appContext:null,ctx:b0};return ue?(xE(be,r),H&128&&t.normalize(be)):r&&(be.shapeFlag|=Ad(r)?8:16),L5>0&&!Z&&Km&&(be.patchFlag>0||H&6)&&be.patchFlag!==32&&Km.push(be),be}const sl=aae;function aae(t,e=null,r=null,c=0,S=null,H=!1){if((!t||t===Dj)&&(t=R0),P5(t)){const ue=d_(t,e,!0);return r&&xE(ue,r),L5>0&&!H&&Km&&(ue.shapeFlag&6?Km[Km.indexOf(t)]=ue:Km.push(ue)),ue.patchFlag=-2,ue}if(gae(t)&&(t=t.__vccOpts),e){e=oae(e);let{class:ue,style:be}=e;ue&&!Ad(ue)&&(e.class=eo(ue)),Cf(be)&&(dE(be)&&!fu(be)&&(be=zp({},be)),e.style=Tm(be))}const Z=Ad(t)?1:Xj(t)?128:bj(t)?64:Cf(t)?4:Xu(t)?2:0;return Pe(t,e,r,c,S,Z,H,!0)}function oae(t){return t?dE(t)||Uj(t)?zp({},t):t:null}function d_(t,e,r=!1,c=!1){const{props:S,ref:H,patchFlag:Z,children:ue,transition:be}=t,Se=e?sae(S||{},e):S,Fe={__v_isVNode:!0,__v_skip:!0,type:t.type,props:Se,key:Se&&Qj(Se),ref:e&&e.ref?r&&H?fu(H)?H.concat(uT(e)):[H,uT(e)]:uT(e):H,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:ue,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==qs?Z===-1?16:Z|16:Z,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:be,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&d_(t.ssContent),ssFallback:t.ssFallback&&d_(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return be&&c&&Bx(Fe,be.clone(Fe)),Fe}function fl(t=" ",e=0){return sl(xS,null,t,e)}function ah(t,e){const r=sl(lT,null,t);return r.staticCount=e,r}function Fa(t="",e=!1){return e?(Qr(),Td(R0,null,t)):sl(R0,null,t)}function kv(t){return t==null||typeof t=="boolean"?sl(R0):fu(t)?sl(qs,null,t.slice()):P5(t)?Yy(t):sl(xS,null,String(t))}function Yy(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:d_(t)}function xE(t,e){let r=0;const{shapeFlag:c}=t;if(e==null)e=null;else if(fu(e))r=16;else if(typeof e=="object")if(c&65){const S=e.default;S&&(S._c&&(S._d=!1),xE(t,S()),S._c&&(S._d=!0));return}else{r=32;const S=e._;!S&&!Uj(e)?e._ctx=b0:S===3&&b0&&(b0.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Xu(e)?(e={default:e,_ctx:b0},r=32):(e=String(e),c&64?(r=16,e=[fl(e)]):r=8);t.children=e,t.shapeFlag|=r}function sae(...t){const e={};for(let r=0;rF0||b0;let BT,zM;{const t=fS(),e=(r,c)=>{let S;return(S=t[r])||(S=t[r]=[]),S.push(c),H=>{S.length>1?S.forEach(Z=>Z(H)):S[0](H)}};BT=e("__VUE_INSTANCE_SETTERS__",r=>F0=r),zM=e("__VUE_SSR_SETTERS__",r=>I5=r)}const X5=t=>{const e=F0;return BT(t),t.scope.on(),()=>{t.scope.off(),BT(e)}},zO=()=>{F0&&F0.scope.off(),BT(null)};function eU(t){return t.vnode.shapeFlag&4}let I5=!1;function hae(t,e=!1,r=!1){e&&zM(e);const{props:c,children:S}=t.vnode,H=eU(t);Fne(t,c,H,e),$ne(t,S,r||e);const Z=H?fae(t,e):void 0;return e&&zM(!1),Z}function fae(t,e){const r=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Ene);const{setup:c}=r;if(c){F1();const S=t.setupContext=c.length>1?pae(t):null,H=X5(t),Z=Y5(c,t,0,[t.props,S]),ue=$N(Z);if(N1(),H(),(ue||t.sp)&&!E2(t)&&Ej(t),ue){if(Z.then(zO,zO),e)return Z.then(be=>{OO(t,be)}).catch(be=>{pS(be,t,0)});t.asyncDep=Z}else OO(t,Z)}else tU(t)}function OO(t,e,r){Xu(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Cf(e)&&(t.setupState=pj(e)),tU(t)}function tU(t,e,r){const c=t.type;t.render||(t.render=c.render||Mv);{const S=X5(t);F1();try{Lne(t)}finally{N1(),S()}}}const dae={get(t,e){return B0(t,"get",""),t[e]}};function pae(t){const e=r=>{t.exposed=r||{}};return{attrs:new Proxy(t.attrs,dae),slots:t.slots,emit:t.emit,expose:e}}function wS(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(pj(pE(t.exposed)),{get(e,r){if(r in e)return e[r];if(r in p5)return p5[r](t)},has(e,r){return r in e||r in p5}})):t.proxy}function mae(t,e=!0){return Xu(t)?t.displayName||t.name:t.name||e&&t.__name}function gae(t){return Xu(t)&&"__vccOpts"in t}const Ro=(t,e)=>cne(t,e,I5);function bE(t,e,r){const c=arguments.length;return c===2?Cf(e)&&!fu(e)?P5(e)?sl(t,null,[e]):sl(t,e):sl(t,null,e):(c>3?r=Array.prototype.slice.call(arguments,2):c===3&&P5(r)&&(r=[r]),sl(t,e,r))}const vae="3.5.18";/** * @vue/runtime-dom v3.5.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let SM;const kO=typeof window<"u"&&window.trustedTypes;if(kO)try{SM=kO.createPolicy("vue",{createHTML:e=>e})}catch{}const jj=SM?e=>SM.createHTML(e):e=>e,Jnt="http://www.w3.org/2000/svg",Qnt="http://www.w3.org/1998/Math/MathML",S1=typeof document<"u"?document:null,TO=S1&&S1.createElement("template"),tat={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,h)=>{const M=t==="svg"?S1.createElementNS(Jnt,e):t==="mathml"?S1.createElementNS(Qnt,e):r?S1.createElement(e,{is:r}):S1.createElement(e);return e==="select"&&h&&h.multiple!=null&&M.setAttribute("multiple",h.multiple),M},createText:e=>S1.createTextNode(e),createComment:e=>S1.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>S1.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,h,M,$){const Y=r?r.previousSibling:t.lastChild;if(M&&(M===$||M.nextSibling))for(;t.insertBefore(M.cloneNode(!0),r),!(M===$||!(M=M.nextSibling)););else{TO.innerHTML=jj(h==="svg"?`${e}`:h==="mathml"?`${e}`:e);const ct=TO.content;if(h==="svg"||h==="mathml"){const bt=ct.firstChild;for(;bt.firstChild;)ct.appendChild(bt.firstChild);ct.removeChild(bt)}t.insertBefore(ct,r)}return[Y?Y.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},Iy="transition",b3="animation",L2=Symbol("_vtc"),Uj={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Hj=Ip({},uj,Uj),eat=e=>(e.displayName="Transition",e.props=Hj,e),$j=eat((e,{slots:t})=>fE(Jit,Vj(e),t)),ex=(e,t=[])=>{hu(e)?e.forEach(r=>r(...t)):e&&e(...t)},SO=e=>e?hu(e)?e.some(t=>t.length>1):e.length>1:!1;function Vj(e){const t={};for(const Lr in e)Lr in Uj||(t[Lr]=e[Lr]);if(e.css===!1)return t;const{name:r="v",type:h,duration:M,enterFromClass:$=`${r}-enter-from`,enterActiveClass:Y=`${r}-enter-active`,enterToClass:ct=`${r}-enter-to`,appearFromClass:bt=$,appearActiveClass:At=Y,appearToClass:Nt=ct,leaveFromClass:te=`${r}-leave-from`,leaveActiveClass:xe=`${r}-leave-active`,leaveToClass:Le=`${r}-leave-to`}=e,He=rat(M),qe=He&&He[0],lr=He&&He[1],{onBeforeEnter:Dr,onEnter:Bt,onEnterCancelled:Ai,onLeave:_r,onLeaveCancelled:Br,onBeforeAppear:_i=Dr,onAppear:Ni=Bt,onAppearCancelled:ji=Ai}=t,Xr=(Lr,pr,Cr,$r)=>{Lr._enterCancelled=$r,jy(Lr,pr?Nt:ct),jy(Lr,pr?At:Y),Cr&&Cr()},on=(Lr,pr)=>{Lr._isLeaving=!1,jy(Lr,te),jy(Lr,Le),jy(Lr,xe),pr&&pr()},Ri=Lr=>(pr,Cr)=>{const $r=Lr?Ni:Bt,Mr=()=>Xr(pr,Lr,Cr);ex($r,[pr,Mr]),AO(()=>{jy(pr,Lr?bt:$),vv(pr,Lr?Nt:ct),SO($r)||CO(pr,h,qe,Mr)})};return Ip(t,{onBeforeEnter(Lr){ex(Dr,[Lr]),vv(Lr,$),vv(Lr,Y)},onBeforeAppear(Lr){ex(_i,[Lr]),vv(Lr,bt),vv(Lr,At)},onEnter:Ri(!1),onAppear:Ri(!0),onLeave(Lr,pr){Lr._isLeaving=!0;const Cr=()=>on(Lr,pr);vv(Lr,te),Lr._enterCancelled?(vv(Lr,xe),AM()):(AM(),vv(Lr,xe)),AO(()=>{Lr._isLeaving&&(jy(Lr,te),vv(Lr,Le),SO(_r)||CO(Lr,h,lr,Cr))}),ex(_r,[Lr,Cr])},onEnterCancelled(Lr){Xr(Lr,!1,void 0,!0),ex(Ai,[Lr])},onAppearCancelled(Lr){Xr(Lr,!0,void 0,!0),ex(ji,[Lr])},onLeaveCancelled(Lr){on(Lr),ex(Br,[Lr])}})}function rat(e){if(e==null)return null;if(Sf(e))return[n7(e.enter),n7(e.leave)];{const t=n7(e);return[t,t]}}function n7(e){return lit(e)}function vv(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e[L2]||(e[L2]=new Set)).add(t)}function jy(e,t){t.split(/\s+/).forEach(h=>h&&e.classList.remove(h));const r=e[L2];r&&(r.delete(t),r.size||(e[L2]=void 0))}function AO(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let iat=0;function CO(e,t,r,h){const M=e._endId=++iat,$=()=>{M===e._endId&&h()};if(r!=null)return setTimeout($,r);const{type:Y,timeout:ct,propCount:bt}=Wj(e,t);if(!Y)return h();const At=Y+"end";let Nt=0;const te=()=>{e.removeEventListener(At,xe),$()},xe=Le=>{Le.target===e&&++Nt>=bt&&te()};setTimeout(()=>{Nt(r[He]||"").split(", "),M=h(`${Iy}Delay`),$=h(`${Iy}Duration`),Y=MO(M,$),ct=h(`${b3}Delay`),bt=h(`${b3}Duration`),At=MO(ct,bt);let Nt=null,te=0,xe=0;t===Iy?Y>0&&(Nt=Iy,te=Y,xe=$.length):t===b3?At>0&&(Nt=b3,te=At,xe=bt.length):(te=Math.max(Y,At),Nt=te>0?Y>At?Iy:b3:null,xe=Nt?Nt===Iy?$.length:bt.length:0);const Le=Nt===Iy&&/\b(transform|all)(,|$)/.test(h(`${Iy}Property`).toString());return{type:Nt,timeout:te,propCount:xe,hasTransform:Le}}function MO(e,t){for(;e.lengthEO(r)+EO(e[h])))}function EO(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function AM(){return document.body.offsetHeight}function nat(e,t,r){const h=e[L2];h&&(t=(t?[t,...h]:[...h]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const LT=Symbol("_vod"),qj=Symbol("_vsh"),p2={beforeMount(e,{value:t},{transition:r}){e[LT]=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):w3(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:h}){!t!=!r&&(h?t?(h.beforeEnter(e),w3(e,!0),h.enter(e)):h.leave(e,()=>{w3(e,!1)}):w3(e,t))},beforeUnmount(e,{value:t}){w3(e,t)}};function w3(e,t){e.style.display=t?e[LT]:"none",e[qj]=!t}const aat=Symbol(""),oat=/(^|;)\s*display\s*:/;function sat(e,t,r){const h=e.style,M=wd(r);let $=!1;if(r&&!M){if(t)if(wd(t))for(const Y of t.split(";")){const ct=Y.slice(0,Y.indexOf(":")).trim();r[ct]==null&&iT(h,ct,"")}else for(const Y in t)r[Y]==null&&iT(h,Y,"");for(const Y in r)Y==="display"&&($=!0),iT(h,Y,r[Y])}else if(M){if(t!==r){const Y=h[aat];Y&&(r+=";"+Y),h.cssText=r,$=oat.test(r)}}else t&&e.removeAttribute("style");LT in e&&(e[LT]=$?h.display:"",e[qj]&&(h.display="none"))}const LO=/\s*!important$/;function iT(e,t,r){if(hu(r))r.forEach(h=>iT(e,t,h));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const h=lat(e,t);LO.test(r)?e.setProperty(d_(h),r.replace(LO,""),"important"):e[h]=r}}const PO=["Webkit","Moz","ms"],a7={};function lat(e,t){const r=a7[t];if(r)return r;let h=yg(t);if(h!=="filter"&&h in e)return a7[t]=h;h=nS(h);for(let M=0;Mo7||(fat.then(()=>o7=0),o7=Date.now());function pat(e,t){const r=h=>{if(!h._vts)h._vts=Date.now();else if(h._vts<=r.attached)return;Fg(mat(h,r.value),t,5,[h])};return r.value=e,r.attached=dat(),r}function mat(e,t){if(hu(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(h=>M=>!M._stopped&&h&&h(M))}else return t}const RO=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,gat=(e,t,r,h,M,$)=>{const Y=M==="svg";t==="class"?nat(e,h,Y):t==="style"?sat(e,r,h):eS(t)?Z9(t)||cat(e,t,r,h,$):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):vat(e,t,h,Y))?(zO(e,t,h),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&DO(e,t,h,Y,$,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!wd(h))?zO(e,yg(t),h,$,t):(t==="true-value"?e._trueValue=h:t==="false-value"&&(e._falseValue=h),DO(e,t,h,Y))};function vat(e,t,r,h){if(h)return!!(t==="innerHTML"||t==="textContent"||t in e&&RO(t)&&Ku(r));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const M=e.tagName;if(M==="IMG"||M==="VIDEO"||M==="CANVAS"||M==="SOURCE")return!1}return RO(t)&&wd(r)?!1:t in e}const Zj=new WeakMap,Gj=new WeakMap,PT=Symbol("_moveCb"),FO=Symbol("_enterCb"),yat=e=>(delete e.props.mode,e),_at=yat({name:"TransitionGroup",props:Ip({},Hj,{tag:String,moveClass:String}),setup(e,{slots:t}){const r=fS(),h=lj();let M,$;return mj(()=>{if(!M.length)return;const Y=e.moveClass||`${e.name||"v"}-move`;if(!Tat(M[0].el,r.vnode.el,Y)){M=[];return}M.forEach(bat),M.forEach(wat);const ct=M.filter(kat);AM(),ct.forEach(bt=>{const At=bt.el,Nt=At.style;vv(At,Y),Nt.transform=Nt.webkitTransform=Nt.transitionDuration="";const te=At[PT]=xe=>{xe&&xe.target!==At||(!xe||/transform$/.test(xe.propertyName))&&(At.removeEventListener("transitionend",te),At[PT]=null,jy(At,Y))};At.addEventListener("transitionend",te)}),M=[]}),()=>{const Y=Du(e),ct=Vj(Y);let bt=Y.tag||bl;if(M=[],$)for(let At=0;At<$.length;At++){const Nt=$[At];Nt.el&&Nt.el instanceof Element&&(M.push(Nt),Px(Nt,w5(Nt,ct,h,r)),Zj.set(Nt,Nt.el.getBoundingClientRect()))}$=t.default?oE(t.default()):[];for(let At=0;At<$.length;At++){const Nt=$[At];Nt.key!=null&&Px(Nt,w5(Nt,ct,h,r))}return Sl(bt,null,$)}}}),xat=_at;function bat(e){const t=e.el;t[PT]&&t[PT](),t[FO]&&t[FO]()}function wat(e){Gj.set(e,e.el.getBoundingClientRect())}function kat(e){const t=Zj.get(e),r=Gj.get(e),h=t.left-r.left,M=t.top-r.top;if(h||M){const $=e.el.style;return $.transform=$.webkitTransform=`translate(${h}px,${M}px)`,$.transitionDuration="0s",e}}function Tat(e,t,r){const h=e.cloneNode(),M=e[L2];M&&M.forEach(ct=>{ct.split(/\s+/).forEach(bt=>bt&&h.classList.remove(bt))}),r.split(/\s+/).forEach(ct=>ct&&h.classList.add(ct)),h.style.display="none";const $=t.nodeType===1?t:t.parentNode;$.appendChild(h);const{hasTransform:Y}=Wj(h);return $.removeChild(h),Y}const P2=e=>{const t=e.props["onUpdate:modelValue"]||!1;return hu(t)?r=>Jk(t,r):t};function Sat(e){e.target.composing=!0}function NO(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const O1=Symbol("_assign"),mp={created(e,{modifiers:{lazy:t,trim:r,number:h}},M){e[O1]=P2(M);const $=h||M.props&&M.props.type==="number";Jy(e,t?"change":"input",Y=>{if(Y.target.composing)return;let ct=e.value;r&&(ct=ct.trim()),$&&(ct=wT(ct)),e[O1](ct)}),r&&Jy(e,"change",()=>{e.value=e.value.trim()}),t||(Jy(e,"compositionstart",Sat),Jy(e,"compositionend",NO),Jy(e,"change",NO))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:r,modifiers:{lazy:h,trim:M,number:$}},Y){if(e[O1]=P2(Y),e.composing)return;const ct=($||e.type==="number")&&!/^0\d/.test(e.value)?wT(e.value):e.value,bt=t??"";ct!==bt&&(document.activeElement===e&&e.type!=="range"&&(h&&t===r||M&&e.value.trim()===bt)||(e.value=bt))}},A5={created(e,{value:t},r){e.checked=E2(t,r.props.value),e[O1]=P2(r),Jy(e,"change",()=>{e[O1](C5(e))})},beforeUpdate(e,{value:t,oldValue:r},h){e[O1]=P2(h),t!==r&&(e.checked=E2(t,h.props.value))}},I2={deep:!0,created(e,{value:t,modifiers:{number:r}},h){const M=rS(t);Jy(e,"change",()=>{const $=Array.prototype.filter.call(e.options,Y=>Y.selected).map(Y=>r?wT(C5(Y)):C5(Y));e[O1](e.multiple?M?new Set($):$:$[0]),e._assigning=!0,wm(()=>{e._assigning=!1})}),e[O1]=P2(h)},mounted(e,{value:t}){jO(e,t)},beforeUpdate(e,t,r){e[O1]=P2(r)},updated(e,{value:t}){e._assigning||jO(e,t)}};function jO(e,t){const r=e.multiple,h=hu(t);if(!(r&&!h&&!rS(t))){for(let M=0,$=e.options.length;M<$;M++){const Y=e.options[M],ct=C5(Y);if(r)if(h){const bt=typeof ct;bt==="string"||bt==="number"?Y.selected=t.some(At=>String(At)===String(ct)):Y.selected=git(t,ct)>-1}else Y.selected=t.has(ct);else if(E2(C5(Y),t)){e.selectedIndex!==M&&(e.selectedIndex=M);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function C5(e){return"_value"in e?e._value:e.value}const Aat=["ctrl","shift","alt","meta"],Cat={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)=>Aat.some(r=>e[`${r}Key`]&&!t.includes(r))},j0=(e,t)=>{const r=e._withMods||(e._withMods={}),h=t.join(".");return r[h]||(r[h]=(M,...$)=>{for(let Y=0;Y{const r=e._withKeys||(e._withKeys={}),h=t.join(".");return r[h]||(r[h]=M=>{if(!("key"in M))return;const $=d_(M.key);if(t.some(Y=>Y===$||Mat[Y]===$))return e(M)})},Eat=Ip({patchProp:gat},tat);let UO;function Lat(){return UO||(UO=Tnt(Eat))}const Pat=(...e)=>{const t=Lat().createApp(...e),{mount:r}=t;return t.mount=h=>{const M=Dat(h);if(!M)return;const $=t._component;!Ku($)&&!$.render&&!$.template&&($.template=M.innerHTML),M.nodeType===1&&(M.textContent="");const Y=r(M,!1,Iat(M));return M instanceof Element&&(M.removeAttribute("v-cloak"),M.setAttribute("data-v-app","")),Y},t};function Iat(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Dat(e){return wd(e)?document.querySelector(e):e}/*! +**/let OM;const BO=typeof window<"u"&&window.trustedTypes;if(BO)try{OM=BO.createPolicy("vue",{createHTML:t=>t})}catch{}const rU=OM?t=>OM.createHTML(t):t=>t,yae="http://www.w3.org/2000/svg",_ae="http://www.w3.org/1998/Math/MathML",C1=typeof document<"u"?document:null,RO=C1&&C1.createElement("template"),xae={insert:(t,e,r)=>{e.insertBefore(t,r||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,r,c)=>{const S=e==="svg"?C1.createElementNS(yae,t):e==="mathml"?C1.createElementNS(_ae,t):r?C1.createElement(t,{is:r}):C1.createElement(t);return t==="select"&&c&&c.multiple!=null&&S.setAttribute("multiple",c.multiple),S},createText:t=>C1.createTextNode(t),createComment:t=>C1.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>C1.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,r,c,S,H){const Z=r?r.previousSibling:e.lastChild;if(S&&(S===H||S.nextSibling))for(;e.insertBefore(S.cloneNode(!0),r),!(S===H||!(S=S.nextSibling)););else{RO.innerHTML=rU(c==="svg"?`${t}`:c==="mathml"?`${t}`:t);const ue=RO.content;if(c==="svg"||c==="mathml"){const be=ue.firstChild;for(;be.firstChild;)ue.appendChild(be.firstChild);ue.removeChild(be)}e.insertBefore(ue,r)}return[Z?Z.nextSibling:e.firstChild,r?r.previousSibling:e.lastChild]}},zy="transition",A3="animation",z2=Symbol("_vtc"),iU={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},nU=zp({},Sj,iU),bae=t=>(t.displayName="Transition",t.props=nU,t),D5=bae((t,{slots:e})=>bE(yne,aU(t),e)),nx=(t,e=[])=>{fu(t)?t.forEach(r=>r(...e)):t&&t(...e)},FO=t=>t?fu(t)?t.some(e=>e.length>1):t.length>1:!1;function aU(t){const e={};for(const vr in t)vr in iU||(e[vr]=t[vr]);if(t.css===!1)return e;const{name:r="v",type:c,duration:S,enterFromClass:H=`${r}-enter-from`,enterActiveClass:Z=`${r}-enter-active`,enterToClass:ue=`${r}-enter-to`,appearFromClass:be=H,appearActiveClass:Se=Z,appearToClass:Fe=ue,leaveFromClass:Je=`${r}-leave-from`,leaveActiveClass:_t=`${r}-leave-active`,leaveToClass:bt=`${r}-leave-to`}=t,Dt=wae(S),Nt=Dt&&Dt[0],rr=Dt&&Dt[1],{onBeforeEnter:Er,onEnter:Re,onEnterCancelled:ki,onLeave:ur,onLeaveCancelled:Ir,onBeforeAppear:Ti=Er,onAppear:bi=Re,onAppearCancelled:Pi=ki}=e,ri=(vr,dr,Cr,ei)=>{vr._enterCancelled=ei,$y(vr,dr?Fe:ue),$y(vr,dr?Se:Z),Cr&&Cr()},Qi=(vr,dr)=>{vr._isLeaving=!1,$y(vr,Je),$y(vr,bt),$y(vr,_t),dr&&dr()},vi=vr=>(dr,Cr)=>{const ei=vr?bi:Re,Yr=()=>ri(dr,vr,Cr);nx(ei,[dr,Yr]),NO(()=>{$y(dr,vr?be:H),vv(dr,vr?Fe:ue),FO(ei)||jO(dr,c,Nt,Yr)})};return zp(e,{onBeforeEnter(vr){nx(Er,[vr]),vv(vr,H),vv(vr,Z)},onBeforeAppear(vr){nx(Ti,[vr]),vv(vr,be),vv(vr,Se)},onEnter:vi(!1),onAppear:vi(!0),onLeave(vr,dr){vr._isLeaving=!0;const Cr=()=>Qi(vr,dr);vv(vr,Je),vr._enterCancelled?(vv(vr,_t),BM()):(BM(),vv(vr,_t)),NO(()=>{vr._isLeaving&&($y(vr,Je),vv(vr,bt),FO(ur)||jO(vr,c,rr,Cr))}),nx(ur,[vr,Cr])},onEnterCancelled(vr){ri(vr,!1,void 0,!0),nx(ki,[vr])},onAppearCancelled(vr){ri(vr,!0,void 0,!0),nx(Pi,[vr])},onLeaveCancelled(vr){Qi(vr),nx(Ir,[vr])}})}function wae(t){if(t==null)return null;if(Cf(t))return[p7(t.enter),p7(t.leave)];{const e=p7(t);return[e,e]}}function p7(t){return Mie(t)}function vv(t,e){e.split(/\s+/).forEach(r=>r&&t.classList.add(r)),(t[z2]||(t[z2]=new Set)).add(e)}function $y(t,e){e.split(/\s+/).forEach(c=>c&&t.classList.remove(c));const r=t[z2];r&&(r.delete(e),r.size||(t[z2]=void 0))}function NO(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let kae=0;function jO(t,e,r,c){const S=t._endId=++kae,H=()=>{S===t._endId&&c()};if(r!=null)return setTimeout(H,r);const{type:Z,timeout:ue,propCount:be}=oU(t,e);if(!Z)return c();const Se=Z+"end";let Fe=0;const Je=()=>{t.removeEventListener(Se,_t),H()},_t=bt=>{bt.target===t&&++Fe>=be&&Je()};setTimeout(()=>{Fe(r[Dt]||"").split(", "),S=c(`${zy}Delay`),H=c(`${zy}Duration`),Z=UO(S,H),ue=c(`${A3}Delay`),be=c(`${A3}Duration`),Se=UO(ue,be);let Fe=null,Je=0,_t=0;e===zy?Z>0&&(Fe=zy,Je=Z,_t=H.length):e===A3?Se>0&&(Fe=A3,Je=Se,_t=be.length):(Je=Math.max(Z,Se),Fe=Je>0?Z>Se?zy:A3:null,_t=Fe?Fe===zy?H.length:be.length:0);const bt=Fe===zy&&/\b(transform|all)(,|$)/.test(c(`${zy}Property`).toString());return{type:Fe,timeout:Je,propCount:_t,hasTransform:bt}}function UO(t,e){for(;t.length$O(r)+$O(t[c])))}function $O(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function BM(){return document.body.offsetHeight}function Tae(t,e,r){const c=t[z2];c&&(e=(e?[e,...c]:[...c]).join(" ")),e==null?t.removeAttribute("class"):r?t.setAttribute("class",e):t.className=e}const RT=Symbol("_vod"),sU=Symbol("_vsh"),dx={beforeMount(t,{value:e},{transition:r}){t[RT]=t.style.display==="none"?"":t.style.display,r&&e?r.beforeEnter(t):C3(t,e)},mounted(t,{value:e},{transition:r}){r&&e&&r.enter(t)},updated(t,{value:e,oldValue:r},{transition:c}){!e!=!r&&(c?e?(c.beforeEnter(t),C3(t,!0),c.enter(t)):c.leave(t,()=>{C3(t,!1)}):C3(t,e))},beforeUnmount(t,{value:e}){C3(t,e)}};function C3(t,e){t.style.display=e?t[RT]:"none",t[sU]=!e}const Sae=Symbol(""),Aae=/(^|;)\s*display\s*:/;function Cae(t,e,r){const c=t.style,S=Ad(r);let H=!1;if(r&&!S){if(e)if(Ad(e))for(const Z of e.split(";")){const ue=Z.slice(0,Z.indexOf(":")).trim();r[ue]==null&&cT(c,ue,"")}else for(const Z in e)r[Z]==null&&cT(c,Z,"");for(const Z in r)Z==="display"&&(H=!0),cT(c,Z,r[Z])}else if(S){if(e!==r){const Z=c[Sae];Z&&(r+=";"+Z),c.cssText=r,H=Aae.test(r)}}else e&&t.removeAttribute("style");RT in t&&(t[RT]=H?c.display:"",t[sU]&&(c.display="none"))}const HO=/\s*!important$/;function cT(t,e,r){if(fu(r))r.forEach(c=>cT(t,e,c));else if(r==null&&(r=""),e.startsWith("--"))t.setProperty(e,r);else{const c=Mae(t,e);HO.test(r)?t.setProperty(g_(c),r.replace(HO,""),"important"):t[c]=r}}const VO=["Webkit","Moz","ms"],m7={};function Mae(t,e){const r=m7[e];if(r)return r;let c=xg(e);if(c!=="filter"&&c in t)return m7[e]=c;c=hS(c);for(let S=0;Sg7||(Iae.then(()=>g7=0),g7=Date.now());function zae(t,e){const r=c=>{if(!c._vts)c._vts=Date.now();else if(c._vts<=r.attached)return;Fg(Oae(c,r.value),e,5,[c])};return r.value=t,r.attached=Dae(),r}function Oae(t,e){if(fu(e)){const r=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{r.call(t),t._stopped=!0},e.map(c=>S=>!S._stopped&&c&&c(S))}else return e}const YO=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Bae=(t,e,r,c,S,H)=>{const Z=S==="svg";e==="class"?Tae(t,c,Z):e==="style"?Cae(t,r,c):lS(e)?nE(e)||Lae(t,e,r,c,H):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Rae(t,e,c,Z))?(GO(t,e,c),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&qO(t,e,c,Z,H,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!Ad(c))?GO(t,xg(e),c,H,e):(e==="true-value"?t._trueValue=c:e==="false-value"&&(t._falseValue=c),qO(t,e,c,Z))};function Rae(t,e,r,c){if(c)return!!(e==="innerHTML"||e==="textContent"||e in t&&YO(e)&&Xu(r));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const S=t.tagName;if(S==="IMG"||S==="VIDEO"||S==="CANVAS"||S==="SOURCE")return!1}return YO(e)&&Ad(r)?!1:e in t}const lU=new WeakMap,uU=new WeakMap,FT=Symbol("_moveCb"),XO=Symbol("_enterCb"),Fae=t=>(delete t.props.mode,t),Nae=Fae({name:"TransitionGroup",props:zp({},nU,{tag:String,moveClass:String}),setup(t,{slots:e}){const r=bS(),c=Tj();let S,H;return Pj(()=>{if(!S.length)return;const Z=t.moveClass||`${t.name||"v"}-move`;if(!Vae(S[0].el,r.vnode.el,Z)){S=[];return}S.forEach(Uae),S.forEach($ae);const ue=S.filter(Hae);BM(),ue.forEach(be=>{const Se=be.el,Fe=Se.style;vv(Se,Z),Fe.transform=Fe.webkitTransform=Fe.transitionDuration="";const Je=Se[FT]=_t=>{_t&&_t.target!==Se||(!_t||/transform$/.test(_t.propertyName))&&(Se.removeEventListener("transitionend",Je),Se[FT]=null,$y(Se,Z))};Se.addEventListener("transitionend",Je)}),S=[]}),()=>{const Z=Ou(t),ue=aU(Z);let be=Z.tag||qs;if(S=[],H)for(let Se=0;Se{ue.split(/\s+/).forEach(be=>be&&c.classList.remove(be))}),r.split(/\s+/).forEach(ue=>ue&&c.classList.add(ue)),c.style.display="none";const H=e.nodeType===1?e:e.parentNode;H.appendChild(c);const{hasTransform:Z}=oU(c);return H.removeChild(c),Z}const O2=t=>{const e=t.props["onUpdate:modelValue"]||!1;return fu(e)?r=>aT(e,r):e};function Wae(t){t.target.composing=!0}function JO(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const R1=Symbol("_assign"),Dc={created(t,{modifiers:{lazy:e,trim:r,number:c}},S){t[R1]=O2(S);const H=c||S.props&&S.props.type==="number";e_(t,e?"change":"input",Z=>{if(Z.target.composing)return;let ue=t.value;r&&(ue=ue.trim()),H&&(ue=ET(ue)),t[R1](ue)}),r&&e_(t,"change",()=>{t.value=t.value.trim()}),e||(e_(t,"compositionstart",Wae),e_(t,"compositionend",JO),e_(t,"change",JO))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:r,modifiers:{lazy:c,trim:S,number:H}},Z){if(t[R1]=O2(Z),t.composing)return;const ue=(H||t.type==="number")&&!/^0\d/.test(t.value)?ET(t.value):t.value,be=e??"";ue!==be&&(document.activeElement===t&&t.type!=="range"&&(c&&e===r||S&&t.value.trim()===be)||(t.value=be))}},z5={created(t,{value:e},r){t.checked=D2(e,r.props.value),t[R1]=O2(r),e_(t,"change",()=>{t[R1](O5(t))})},beforeUpdate(t,{value:e,oldValue:r},c){t[R1]=O2(c),e!==r&&(t.checked=D2(e,c.props.value))}},Ev={deep:!0,created(t,{value:e,modifiers:{number:r}},c){const S=uS(e);e_(t,"change",()=>{const H=Array.prototype.filter.call(t.options,Z=>Z.selected).map(Z=>r?ET(O5(Z)):O5(Z));t[R1](t.multiple?S?new Set(H):H:H[0]),t._assigning=!0,x0(()=>{t._assigning=!1})}),t[R1]=O2(c)},mounted(t,{value:e}){QO(t,e)},beforeUpdate(t,e,r){t[R1]=O2(r)},updated(t,{value:e}){t._assigning||QO(t,e)}};function QO(t,e){const r=t.multiple,c=fu(e);if(!(r&&!c&&!uS(e))){for(let S=0,H=t.options.length;SString(Se)===String(ue)):Z.selected=Bie(e,ue)>-1}else Z.selected=e.has(ue);else if(D2(O5(Z),e)){t.selectedIndex!==S&&(t.selectedIndex=S);return}}!r&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function O5(t){return"_value"in t?t._value:t.value}const qae=["ctrl","shift","alt","meta"],Gae={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>qae.some(r=>t[`${r}Key`]&&!e.includes(r))},od=(t,e)=>{const r=t._withMods||(t._withMods={}),c=e.join(".");return r[c]||(r[c]=(S,...H)=>{for(let Z=0;Z{const r=t._withKeys||(t._withKeys={}),c=e.join(".");return r[c]||(r[c]=S=>{if(!("key"in S))return;const H=g_(S.key);if(e.some(Z=>Z===H||Zae[Z]===H))return t(S)})},Kae=zp({patchProp:Bae},xae);let eB;function Yae(){return eB||(eB=Vne(Kae))}const Xae=(...t)=>{const e=Yae().createApp(...t),{mount:r}=e;return e.mount=c=>{const S=Qae(c);if(!S)return;const H=e._component;!Xu(H)&&!H.render&&!H.template&&(H.template=S.innerHTML),S.nodeType===1&&(S.textContent="");const Z=r(S,!1,Jae(S));return S instanceof Element&&(S.removeAttribute("v-cloak"),S.setAttribute("data-v-app","")),Z},e};function Jae(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function Qae(t){return Ad(t)?document.querySelector(t):t}/*! * pinia v3.0.4 * (c) 2025 Eduardo San Martin Morote * @license MIT - */let Kj;const pS=e=>Kj=e,Yj=Symbol();function CM(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var c5;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(c5||(c5={}));function zat(){const e=DN(!0),t=e.run(()=>ma({}));let r=[],h=[];const M=iE({install($){pS(M),M._a=$,$.provide(Yj,M),$.config.globalProperties.$pinia=M,h.forEach(Y=>r.push(Y)),h=[]},use($){return this._a?r.push($):h.push($),this},_p:r,_a:null,_e:e,_s:new Map,state:t});return M}const Xj=()=>{};function HO(e,t,r,h=Xj){e.add(t);const M=()=>{e.delete(t)&&h()};return!r&&zN()&&vit(M),M}function a2(e,...t){e.forEach(r=>{r(...t)})}const Oat=e=>e(),$O=Symbol(),s7=Symbol();function MM(e,t){e instanceof Map&&t instanceof Map?t.forEach((r,h)=>e.set(h,r)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const r in t){if(!t.hasOwnProperty(r))continue;const h=t[r],M=e[r];CM(M)&&CM(h)&&e.hasOwnProperty(r)&&!op(h)&&!o_(h)?e[r]=MM(M,h):e[r]=h}return e}const Bat=Symbol();function Rat(e){return!CM(e)||!Object.prototype.hasOwnProperty.call(e,Bat)}const{assign:Uy}=Object;function Fat(e){return!!(op(e)&&e.effect)}function Nat(e,t,r,h){const{state:M,actions:$,getters:Y}=t,ct=r.state.value[e];let bt;function At(){ct||(r.state.value[e]=M?M():{});const Nt=jit(r.state.value[e]);return Uy(Nt,$,Object.keys(Y||{}).reduce((te,xe)=>(te[xe]=iE(Ho(()=>{pS(r);const Le=r._s.get(e);return Y[xe].call(Le,Le)})),te),{}))}return bt=Jj(e,At,t,r,h,!0),bt}function Jj(e,t,r={},h,M,$){let Y;const ct=Uy({actions:{}},r),bt={deep:!0};let At,Nt,te=new Set,xe=new Set,Le;const He=h.state.value[e];!$&&!He&&(h.state.value[e]={}),ma({});let qe;function lr(ji){let Xr;At=Nt=!1,typeof ji=="function"?(ji(h.state.value[e]),Xr={type:c5.patchFunction,storeId:e,events:Le}):(MM(h.state.value[e],ji),Xr={type:c5.patchObject,payload:ji,storeId:e,events:Le});const on=qe=Symbol();wm().then(()=>{qe===on&&(At=!0)}),Nt=!0,a2(te,Xr,h.state.value[e])}const Dr=$?function(){const{state:Xr}=r,on=Xr?Xr():{};this.$patch(Ri=>{Uy(Ri,on)})}:Xj;function Bt(){Y.stop(),te.clear(),xe.clear(),h._s.delete(e)}const Ai=(ji,Xr="")=>{if($O in ji)return ji[s7]=Xr,ji;const on=function(){pS(h);const Ri=Array.from(arguments),Lr=new Set,pr=new Set;function Cr(Ur){Lr.add(Ur)}function $r(Ur){pr.add(Ur)}a2(xe,{args:Ri,name:on[s7],store:Br,after:Cr,onError:$r});let Mr;try{Mr=ji.apply(this&&this.$id===e?this:Br,Ri)}catch(Ur){throw a2(pr,Ur),Ur}return Mr instanceof Promise?Mr.then(Ur=>(a2(Lr,Ur),Ur)).catch(Ur=>(a2(pr,Ur),Promise.reject(Ur))):(a2(Lr,Mr),Mr)};return on[$O]=!0,on[s7]=Xr,on},_r={_p:h,$id:e,$onAction:HO.bind(null,xe),$patch:lr,$reset:Dr,$subscribe(ji,Xr={}){const on=HO(te,ji,Xr.detached,()=>Ri()),Ri=Y.run(()=>Bg(()=>h.state.value[e],Lr=>{(Xr.flush==="sync"?Nt:At)&&ji({storeId:e,type:c5.direct,events:Le},Lr)},Uy({},bt,Xr)));return on},$dispose:Bt},Br=Lx(_r);h._s.set(e,Br);const Ni=(h._a&&h._a.runWithContext||Oat)(()=>h._e.run(()=>(Y=DN()).run(()=>t({action:Ai}))));for(const ji in Ni){const Xr=Ni[ji];if(op(Xr)&&!Fat(Xr)||o_(Xr))$||(He&&Rat(Xr)&&(op(Xr)?Xr.value=He[ji]:MM(Xr,He[ji])),h.state.value[e][ji]=Xr);else if(typeof Xr=="function"){const on=Ai(Xr,ji);Ni[ji]=on,ct.actions[ji]=Xr}}return Uy(Br,Ni),Uy(Du(Br),Ni),Object.defineProperty(Br,"$state",{get:()=>h.state.value[e],set:ji=>{lr(Xr=>{Uy(Xr,ji)})}}),h._p.forEach(ji=>{Uy(Br,Y.run(()=>ji({store:Br,app:h._a,pinia:h,options:ct})))}),He&&$&&r.hydrate&&r.hydrate(Br.$state,He),At=!0,Nt=!0,Br}/*! #__NO_SIDE_EFFECTS__ */function dE(e,t,r){let h;const M=typeof t=="function";h=M?r:t;function $(Y,ct){const bt=vnt();return Y=Y||(bt?gg(Yj,null):null),Y&&pS(Y),Y=Kj,Y._s.has(e)||(M?Jj(e,t,h,Y):Nat(e,h,Y)),Y._s.get(e)}return $.$id=e,$}const jat="/assets/meshcore-DQNtEl5I.svg";/*! + */let cU;const kS=t=>cU=t,hU=Symbol();function RM(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var g5;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(g5||(g5={}));function eoe(){const t=KN(!0),e=t.run(()=>Sn({}));let r=[],c=[];const S=pE({install(H){kS(S),S._a=H,H.provide(hU,S),H.config.globalProperties.$pinia=S,c.forEach(Z=>r.push(Z)),c=[]},use(H){return this._a?r.push(H):c.push(H),this},_p:r,_a:null,_e:t,_s:new Map,state:e});return S}const fU=()=>{};function tB(t,e,r,c=fU){t.add(e);const S=()=>{t.delete(e)&&c()};return!r&&YN()&&Rie(S),S}function h2(t,...e){t.forEach(r=>{r(...e)})}const toe=t=>t(),rB=Symbol(),v7=Symbol();function FM(t,e){t instanceof Map&&e instanceof Map?e.forEach((r,c)=>t.set(c,r)):t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const r in e){if(!e.hasOwnProperty(r))continue;const c=e[r],S=t[r];RM(S)&&RM(c)&&t.hasOwnProperty(r)&&!up(c)&&!l_(c)?t[r]=FM(S,c):t[r]=c}return t}const roe=Symbol();function ioe(t){return!RM(t)||!Object.prototype.hasOwnProperty.call(t,roe)}const{assign:Hy}=Object;function noe(t){return!!(up(t)&&t.effect)}function aoe(t,e,r,c){const{state:S,actions:H,getters:Z}=e,ue=r.state.value[t];let be;function Se(){ue||(r.state.value[t]=S?S():{});const Fe=one(r.state.value[t]);return Hy(Fe,H,Object.keys(Z||{}).reduce((Je,_t)=>(Je[_t]=pE(Ro(()=>{kS(r);const bt=r._s.get(t);return Z[_t].call(bt,bt)})),Je),{}))}return be=dU(t,Se,e,r,c,!0),be}function dU(t,e,r={},c,S,H){let Z;const ue=Hy({actions:{}},r),be={deep:!0};let Se,Fe,Je=new Set,_t=new Set,bt;const Dt=c.state.value[t];!H&&!Dt&&(c.state.value[t]={}),Sn({});let Nt;function rr(Pi){let ri;Se=Fe=!1,typeof Pi=="function"?(Pi(c.state.value[t]),ri={type:g5.patchFunction,storeId:t,events:bt}):(FM(c.state.value[t],Pi),ri={type:g5.patchObject,payload:Pi,storeId:t,events:bt});const Qi=Nt=Symbol();x0().then(()=>{Nt===Qi&&(Se=!0)}),Fe=!0,h2(Je,ri,c.state.value[t])}const Er=H?function(){const{state:ri}=r,Qi=ri?ri():{};this.$patch(vi=>{Hy(vi,Qi)})}:fU;function Re(){Z.stop(),Je.clear(),_t.clear(),c._s.delete(t)}const ki=(Pi,ri="")=>{if(rB in Pi)return Pi[v7]=ri,Pi;const Qi=function(){kS(c);const vi=Array.from(arguments),vr=new Set,dr=new Set;function Cr(Jr){vr.add(Jr)}function ei(Jr){dr.add(Jr)}h2(_t,{args:vi,name:Qi[v7],store:Ir,after:Cr,onError:ei});let Yr;try{Yr=Pi.apply(this&&this.$id===t?this:Ir,vi)}catch(Jr){throw h2(dr,Jr),Jr}return Yr instanceof Promise?Yr.then(Jr=>(h2(vr,Jr),Jr)).catch(Jr=>(h2(dr,Jr),Promise.reject(Jr))):(h2(vr,Yr),Yr)};return Qi[rB]=!0,Qi[v7]=ri,Qi},ur={_p:c,$id:t,$onAction:tB.bind(null,_t),$patch:rr,$reset:Er,$subscribe(Pi,ri={}){const Qi=tB(Je,Pi,ri.detached,()=>vi()),vi=Z.run(()=>w0(()=>c.state.value[t],vr=>{(ri.flush==="sync"?Fe:Se)&&Pi({storeId:t,type:g5.direct,events:bt},vr)},Hy({},be,ri)));return Qi},$dispose:Re},Ir=Ox(ur);c._s.set(t,Ir);const bi=(c._a&&c._a.runWithContext||toe)(()=>c._e.run(()=>(Z=KN()).run(()=>e({action:ki}))));for(const Pi in bi){const ri=bi[Pi];if(up(ri)&&!noe(ri)||l_(ri))H||(Dt&&ioe(ri)&&(up(ri)?ri.value=Dt[Pi]:FM(ri,Dt[Pi])),c.state.value[t][Pi]=ri);else if(typeof ri=="function"){const Qi=ki(ri,Pi);bi[Pi]=Qi,ue.actions[Pi]=ri}}return Hy(Ir,bi),Hy(Ou(Ir),bi),Object.defineProperty(Ir,"$state",{get:()=>c.state.value[t],set:Pi=>{rr(ri=>{Hy(ri,Pi)})}}),c._p.forEach(Pi=>{Hy(Ir,Z.run(()=>Pi({store:Ir,app:c._a,pinia:c,options:ue})))}),Dt&&H&&r.hydrate&&r.hydrate(Ir.$state,Dt),Se=!0,Fe=!0,Ir}/*! #__NO_SIDE_EFFECTS__ */function wE(t,e,r){let c;const S=typeof e=="function";c=S?r:e;function H(Z,ue){const be=Rne();return Z=Z||(be?yg(hU,null):null),Z&&kS(Z),Z=cU,Z._s.has(t)||(S?dU(t,e,c,Z):aoe(t,c,Z)),Z._s.get(t)}return H.$id=t,H}/*! * vue-router v4.6.3 * (c) 2025 Eduardo San Martin Morote * @license MIT - */const m2=typeof document<"u";function Qj(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Uat(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Qj(e.default)}const Wh=Object.assign;function l7(e,t){const r={};for(const h in t){const M=t[h];r[h]=Ng(M)?M.map(e):e(M)}return r}const h5=()=>{},Ng=Array.isArray;function VO(e,t){const r={};for(const h in e)r[h]=h in t?t[h]:e[h];return r}const tU=/#/g,Hat=/&/g,$at=/\//g,Vat=/=/g,Wat=/\?/g,eU=/\+/g,qat=/%5B/g,Zat=/%5D/g,rU=/%5E/g,Gat=/%60/g,iU=/%7B/g,Kat=/%7C/g,nU=/%7D/g,Yat=/%20/g;function pE(e){return e==null?"":encodeURI(""+e).replace(Kat,"|").replace(qat,"[").replace(Zat,"]")}function Xat(e){return pE(e).replace(iU,"{").replace(nU,"}").replace(rU,"^")}function EM(e){return pE(e).replace(eU,"%2B").replace(Yat,"+").replace(tU,"%23").replace(Hat,"%26").replace(Gat,"`").replace(iU,"{").replace(nU,"}").replace(rU,"^")}function Jat(e){return EM(e).replace(Vat,"%3D")}function Qat(e){return pE(e).replace(tU,"%23").replace(Wat,"%3F")}function tot(e){return Qat(e).replace($at,"%2F")}function M5(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const eot=/\/$/,rot=e=>e.replace(eot,"");function u7(e,t,r="/"){let h,M={},$="",Y="";const ct=t.indexOf("#");let bt=t.indexOf("?");return bt=ct>=0&&bt>ct?-1:bt,bt>=0&&(h=t.slice(0,bt),$=t.slice(bt,ct>0?ct:t.length),M=e($.slice(1))),ct>=0&&(h=h||t.slice(0,ct),Y=t.slice(ct,t.length)),h=oot(h??t,r),{fullPath:h+$+Y,path:h,query:M,hash:M5(Y)}}function iot(e,t){const r=t.query?e(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}function WO(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function not(e,t,r){const h=t.matched.length-1,M=r.matched.length-1;return h>-1&&h===M&&D2(t.matched[h],r.matched[M])&&aU(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}function D2(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function aU(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(!aot(e[r],t[r]))return!1;return!0}function aot(e,t){return Ng(e)?qO(e,t):Ng(t)?qO(t,e):e===t}function qO(e,t){return Ng(t)?e.length===t.length&&e.every((r,h)=>r===t[h]):e.length===1&&e[0]===t}function oot(e,t){if(e.startsWith("/"))return e;if(!e)return t;const r=t.split("/"),h=e.split("/"),M=h[h.length-1];(M===".."||M===".")&&h.push("");let $=r.length-1,Y,ct;for(Y=0;Y1&&$--;else break;return r.slice(0,$).join("/")+"/"+h.slice(Y).join("/")}const Dy={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let LM=function(e){return e.pop="pop",e.push="push",e}({}),c7=function(e){return e.back="back",e.forward="forward",e.unknown="",e}({});function sot(e){if(!e)if(m2){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),rot(e)}const lot=/^[^#]+#/;function uot(e,t){return e.replace(lot,"#")+t}function cot(e,t){const r=document.documentElement.getBoundingClientRect(),h=e.getBoundingClientRect();return{behavior:t.behavior,left:h.left-r.left-(t.left||0),top:h.top-r.top-(t.top||0)}}const mS=()=>({left:window.scrollX,top:window.scrollY});function hot(e){let t;if("el"in e){const r=e.el,h=typeof r=="string"&&r.startsWith("#"),M=typeof r=="string"?h?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!M)return;t=cot(M,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 ZO(e,t){return(history.state?history.state.position-t:-1)+e}const PM=new Map;function fot(e,t){PM.set(e,t)}function dot(e){const t=PM.get(e);return PM.delete(e),t}function pot(e){return typeof e=="string"||e&&typeof e=="object"}function oU(e){return typeof e=="string"||typeof e=="symbol"}let zd=function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e}({});const sU=Symbol("");zd.MATCHER_NOT_FOUND+"",zd.NAVIGATION_GUARD_REDIRECT+"",zd.NAVIGATION_ABORTED+"",zd.NAVIGATION_CANCELLED+"",zd.NAVIGATION_DUPLICATED+"";function z2(e,t){return Wh(new Error,{type:e,[sU]:!0},t)}function d1(e,t){return e instanceof Error&&sU in e&&(t==null||!!(e.type&t))}const mot=["params","query","hash"];function got(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const r of mot)r in e&&(t[r]=e[r]);return JSON.stringify(t,null,2)}function vot(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let h=0;hM&&EM(M)):[h&&EM(h)]).forEach(M=>{M!==void 0&&(t+=(t.length?"&":"")+r,M!=null&&(t+="="+M))})}return t}function yot(e){const t={};for(const r in e){const h=e[r];h!==void 0&&(t[r]=Ng(h)?h.map(M=>M==null?null:""+M):h==null?h:""+h)}return t}const _ot=Symbol(""),KO=Symbol(""),gS=Symbol(""),mE=Symbol(""),IM=Symbol("");function k3(){let e=[];function t(h){return e.push(h),()=>{const M=e.indexOf(h);M>-1&&e.splice(M,1)}}function r(){e=[]}return{add:t,list:()=>e.slice(),reset:r}}function Ky(e,t,r,h,M,$=Y=>Y()){const Y=h&&(h.enterCallbacks[M]=h.enterCallbacks[M]||[]);return()=>new Promise((ct,bt)=>{const At=xe=>{xe===!1?bt(z2(zd.NAVIGATION_ABORTED,{from:r,to:t})):xe instanceof Error?bt(xe):pot(xe)?bt(z2(zd.NAVIGATION_GUARD_REDIRECT,{from:t,to:xe})):(Y&&h.enterCallbacks[M]===Y&&typeof xe=="function"&&Y.push(xe),ct())},Nt=$(()=>e.call(h&&h.instances[M],t,r,At));let te=Promise.resolve(Nt);e.length<3&&(te=te.then(At)),te.catch(xe=>bt(xe))})}function h7(e,t,r,h,M=$=>$()){const $=[];for(const Y of e)for(const ct in Y.components){let bt=Y.components[ct];if(!(t!=="beforeRouteEnter"&&!Y.instances[ct]))if(Qj(bt)){const At=(bt.__vccOpts||bt)[t];At&&$.push(Ky(At,r,h,Y,ct,M))}else{let At=bt();$.push(()=>At.then(Nt=>{if(!Nt)throw new Error(`Couldn't resolve component "${ct}" at "${Y.path}"`);const te=Uat(Nt)?Nt.default:Nt;Y.mods[ct]=Nt,Y.components[ct]=te;const xe=(te.__vccOpts||te)[t];return xe&&Ky(xe,r,h,Y,ct,M)()}))}}return $}function xot(e,t){const r=[],h=[],M=[],$=Math.max(t.matched.length,e.matched.length);for(let Y=0;Y<$;Y++){const ct=t.matched[Y];ct&&(e.matched.find(At=>D2(At,ct))?h.push(ct):r.push(ct));const bt=e.matched[Y];bt&&(t.matched.find(At=>D2(At,bt))||M.push(bt))}return[r,h,M]}/*! + */const x2=typeof document<"u";function pU(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function ooe(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&pU(t.default)}const Gh=Object.assign;function y7(t,e){const r={};for(const c in e){const S=e[c];r[c]=Ng(S)?S.map(t):t(S)}return r}const v5=()=>{},Ng=Array.isArray;function iB(t,e){const r={};for(const c in t)r[c]=c in e?e[c]:t[c];return r}const mU=/#/g,soe=/&/g,loe=/\//g,uoe=/=/g,coe=/\?/g,gU=/\+/g,hoe=/%5B/g,foe=/%5D/g,vU=/%5E/g,doe=/%60/g,yU=/%7B/g,poe=/%7C/g,_U=/%7D/g,moe=/%20/g;function kE(t){return t==null?"":encodeURI(""+t).replace(poe,"|").replace(hoe,"[").replace(foe,"]")}function goe(t){return kE(t).replace(yU,"{").replace(_U,"}").replace(vU,"^")}function NM(t){return kE(t).replace(gU,"%2B").replace(moe,"+").replace(mU,"%23").replace(soe,"%26").replace(doe,"`").replace(yU,"{").replace(_U,"}").replace(vU,"^")}function voe(t){return NM(t).replace(uoe,"%3D")}function yoe(t){return kE(t).replace(mU,"%23").replace(coe,"%3F")}function _oe(t){return yoe(t).replace(loe,"%2F")}function B5(t){if(t==null)return null;try{return decodeURIComponent(""+t)}catch{}return""+t}const xoe=/\/$/,boe=t=>t.replace(xoe,"");function _7(t,e,r="/"){let c,S={},H="",Z="";const ue=e.indexOf("#");let be=e.indexOf("?");return be=ue>=0&&be>ue?-1:be,be>=0&&(c=e.slice(0,be),H=e.slice(be,ue>0?ue:e.length),S=t(H.slice(1))),ue>=0&&(c=c||e.slice(0,ue),Z=e.slice(ue,e.length)),c=Soe(c??e,r),{fullPath:c+H+Z,path:c,query:S,hash:B5(Z)}}function woe(t,e){const r=e.query?t(e.query):"";return e.path+(r&&"?")+r+(e.hash||"")}function nB(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function koe(t,e,r){const c=e.matched.length-1,S=r.matched.length-1;return c>-1&&c===S&&B2(e.matched[c],r.matched[S])&&xU(e.params,r.params)&&t(e.query)===t(r.query)&&e.hash===r.hash}function B2(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function xU(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const r in t)if(!Toe(t[r],e[r]))return!1;return!0}function Toe(t,e){return Ng(t)?aB(t,e):Ng(e)?aB(e,t):t===e}function aB(t,e){return Ng(e)?t.length===e.length&&t.every((r,c)=>r===e[c]):t.length===1&&t[0]===e}function Soe(t,e){if(t.startsWith("/"))return t;if(!t)return e;const r=e.split("/"),c=t.split("/"),S=c[c.length-1];(S===".."||S===".")&&c.push("");let H=r.length-1,Z,ue;for(Z=0;Z1&&H--;else break;return r.slice(0,H).join("/")+"/"+c.slice(Z).join("/")}const Oy={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let jM=function(t){return t.pop="pop",t.push="push",t}({}),x7=function(t){return t.back="back",t.forward="forward",t.unknown="",t}({});function Aoe(t){if(!t)if(x2){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),boe(t)}const Coe=/^[^#]+#/;function Moe(t,e){return t.replace(Coe,"#")+e}function Eoe(t,e){const r=document.documentElement.getBoundingClientRect(),c=t.getBoundingClientRect();return{behavior:e.behavior,left:c.left-r.left-(e.left||0),top:c.top-r.top-(e.top||0)}}const TS=()=>({left:window.scrollX,top:window.scrollY});function Loe(t){let e;if("el"in t){const r=t.el,c=typeof r=="string"&&r.startsWith("#"),S=typeof r=="string"?c?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!S)return;e=Eoe(S,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function oB(t,e){return(history.state?history.state.position-e:-1)+t}const UM=new Map;function Poe(t,e){UM.set(t,e)}function Ioe(t){const e=UM.get(t);return UM.delete(t),e}function Doe(t){return typeof t=="string"||t&&typeof t=="object"}function bU(t){return typeof t=="string"||typeof t=="symbol"}let Nd=function(t){return t[t.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",t[t.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",t[t.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",t[t.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",t[t.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",t}({});const wU=Symbol("");Nd.MATCHER_NOT_FOUND+"",Nd.NAVIGATION_GUARD_REDIRECT+"",Nd.NAVIGATION_ABORTED+"",Nd.NAVIGATION_CANCELLED+"",Nd.NAVIGATION_DUPLICATED+"";function R2(t,e){return Gh(new Error,{type:t,[wU]:!0},e)}function m1(t,e){return t instanceof Error&&wU in t&&(e==null||!!(t.type&e))}const zoe=["params","query","hash"];function Ooe(t){if(typeof t=="string")return t;if(t.path!=null)return t.path;const e={};for(const r of zoe)r in t&&(e[r]=t[r]);return JSON.stringify(e,null,2)}function Boe(t){const e={};if(t===""||t==="?")return e;const r=(t[0]==="?"?t.slice(1):t).split("&");for(let c=0;cS&&NM(S)):[c&&NM(c)]).forEach(S=>{S!==void 0&&(e+=(e.length?"&":"")+r,S!=null&&(e+="="+S))})}return e}function Roe(t){const e={};for(const r in t){const c=t[r];c!==void 0&&(e[r]=Ng(c)?c.map(S=>S==null?null:""+S):c==null?c:""+c)}return e}const Foe=Symbol(""),lB=Symbol(""),SS=Symbol(""),TE=Symbol(""),$M=Symbol("");function M3(){let t=[];function e(c){return t.push(c),()=>{const S=t.indexOf(c);S>-1&&t.splice(S,1)}}function r(){t=[]}return{add:e,list:()=>t.slice(),reset:r}}function Xy(t,e,r,c,S,H=Z=>Z()){const Z=c&&(c.enterCallbacks[S]=c.enterCallbacks[S]||[]);return()=>new Promise((ue,be)=>{const Se=_t=>{_t===!1?be(R2(Nd.NAVIGATION_ABORTED,{from:r,to:e})):_t instanceof Error?be(_t):Doe(_t)?be(R2(Nd.NAVIGATION_GUARD_REDIRECT,{from:e,to:_t})):(Z&&c.enterCallbacks[S]===Z&&typeof _t=="function"&&Z.push(_t),ue())},Fe=H(()=>t.call(c&&c.instances[S],e,r,Se));let Je=Promise.resolve(Fe);t.length<3&&(Je=Je.then(Se)),Je.catch(_t=>be(_t))})}function b7(t,e,r,c,S=H=>H()){const H=[];for(const Z of t)for(const ue in Z.components){let be=Z.components[ue];if(!(e!=="beforeRouteEnter"&&!Z.instances[ue]))if(pU(be)){const Se=(be.__vccOpts||be)[e];Se&&H.push(Xy(Se,r,c,Z,ue,S))}else{let Se=be();H.push(()=>Se.then(Fe=>{if(!Fe)throw new Error(`Couldn't resolve component "${ue}" at "${Z.path}"`);const Je=ooe(Fe)?Fe.default:Fe;Z.mods[ue]=Fe,Z.components[ue]=Je;const _t=(Je.__vccOpts||Je)[e];return _t&&Xy(_t,r,c,Z,ue,S)()}))}}return H}function Noe(t,e){const r=[],c=[],S=[],H=Math.max(e.matched.length,t.matched.length);for(let Z=0;ZB2(Se,ue))?c.push(ue):r.push(ue));const be=t.matched[Z];be&&(e.matched.find(Se=>B2(Se,be))||S.push(be))}return[r,c,S]}/*! * vue-router v4.6.3 * (c) 2025 Eduardo San Martin Morote * @license MIT - */let bot=()=>location.protocol+"//"+location.host;function lU(e,t){const{pathname:r,search:h,hash:M}=t,$=e.indexOf("#");if($>-1){let Y=M.includes(e.slice($))?e.slice($).length:1,ct=M.slice(Y);return ct[0]!=="/"&&(ct="/"+ct),WO(ct,"")}return WO(r,e)+h+M}function wot(e,t,r,h){let M=[],$=[],Y=null;const ct=({state:xe})=>{const Le=lU(e,location),He=r.value,qe=t.value;let lr=0;if(xe){if(r.value=Le,t.value=xe,Y&&Y===He){Y=null;return}lr=qe?xe.position-qe.position:0}else h(Le);M.forEach(Dr=>{Dr(r.value,He,{delta:lr,type:LM.pop,direction:lr?lr>0?c7.forward:c7.back:c7.unknown})})};function bt(){Y=r.value}function At(xe){M.push(xe);const Le=()=>{const He=M.indexOf(xe);He>-1&&M.splice(He,1)};return $.push(Le),Le}function Nt(){if(document.visibilityState==="hidden"){const{history:xe}=window;if(!xe.state)return;xe.replaceState(Wh({},xe.state,{scroll:mS()}),"")}}function te(){for(const xe of $)xe();$=[],window.removeEventListener("popstate",ct),window.removeEventListener("pagehide",Nt),document.removeEventListener("visibilitychange",Nt)}return window.addEventListener("popstate",ct),window.addEventListener("pagehide",Nt),document.addEventListener("visibilitychange",Nt),{pauseListeners:bt,listen:At,destroy:te}}function YO(e,t,r,h=!1,M=!1){return{back:e,current:t,forward:r,replaced:h,position:window.history.length,scroll:M?mS():null}}function kot(e){const{history:t,location:r}=window,h={value:lU(e,r)},M={value:t.state};M.value||$(h.value,{back:null,current:h.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function $(bt,At,Nt){const te=e.indexOf("#"),xe=te>-1?(r.host&&document.querySelector("base")?e:e.slice(te))+bt:bot()+e+bt;try{t[Nt?"replaceState":"pushState"](At,"",xe),M.value=At}catch(Le){console.error(Le),r[Nt?"replace":"assign"](xe)}}function Y(bt,At){$(bt,Wh({},t.state,YO(M.value.back,bt,M.value.forward,!0),At,{position:M.value.position}),!0),h.value=bt}function ct(bt,At){const Nt=Wh({},M.value,t.state,{forward:bt,scroll:mS()});$(Nt.current,Nt,!0),$(bt,Wh({},YO(h.value,bt,null),{position:Nt.position+1},At),!1),h.value=bt}return{location:h,state:M,push:ct,replace:Y}}function Tot(e){e=sot(e);const t=kot(e),r=wot(e,t.state,t.location,t.replace);function h($,Y=!0){Y||r.pauseListeners(),history.go($)}const M=Wh({location:"",base:e,go:h,createHref:uot.bind(null,e)},t,r);return Object.defineProperty(M,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(M,"state",{enumerable:!0,get:()=>t.state.value}),M}let vx=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var Lp=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e}(Lp||{});const Sot={type:vx.Static,value:""},Aot=/[a-zA-Z0-9_]/;function Cot(e){if(!e)return[[]];if(e==="/")return[[Sot]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(Le){throw new Error(`ERR (${r})/"${At}": ${Le}`)}let r=Lp.Static,h=r;const M=[];let $;function Y(){$&&M.push($),$=[]}let ct=0,bt,At="",Nt="";function te(){At&&(r===Lp.Static?$.push({type:vx.Static,value:At}):r===Lp.Param||r===Lp.ParamRegExp||r===Lp.ParamRegExpEnd?($.length>1&&(bt==="*"||bt==="+")&&t(`A repeatable param (${At}) must be alone in its segment. eg: '/:ids+.`),$.push({type:vx.Param,value:At,regexp:Nt,repeatable:bt==="*"||bt==="+",optional:bt==="*"||bt==="?"})):t("Invalid state to consume buffer"),At="")}function xe(){At+=bt}for(;ctt.length?t.length===1&&t[0]===tm.Static+tm.Segment?1:-1:0}function uU(e,t){let r=0;const h=e.score,M=t.score;for(;r0&&t[t.length-1]<0}const Iot={strict:!1,end:!0,sensitive:!1};function Dot(e,t,r){const h=Lot(Cot(e.path),r),M=Wh(h,{record:e,parent:t,children:[],alias:[]});return t&&!M.record.aliasOf==!t.record.aliasOf&&t.children.push(M),M}function zot(e,t){const r=[],h=new Map;t=VO(Iot,t);function M(te){return h.get(te)}function $(te,xe,Le){const He=!Le,qe=tB(te);qe.aliasOf=Le&&Le.record;const lr=VO(t,te),Dr=[qe];if("alias"in te){const _r=typeof te.alias=="string"?[te.alias]:te.alias;for(const Br of _r)Dr.push(tB(Wh({},qe,{components:Le?Le.record.components:qe.components,path:Br,aliasOf:Le?Le.record:qe})))}let Bt,Ai;for(const _r of Dr){const{path:Br}=_r;if(xe&&Br[0]!=="/"){const _i=xe.record.path,Ni=_i[_i.length-1]==="/"?"":"/";_r.path=xe.record.path+(Br&&Ni+Br)}if(Bt=Dot(_r,xe,lr),Le?Le.alias.push(Bt):(Ai=Ai||Bt,Ai!==Bt&&Ai.alias.push(Bt),He&&te.name&&!eB(Bt)&&Y(te.name)),cU(Bt)&&bt(Bt),qe.children){const _i=qe.children;for(let Ni=0;Ni<_i.length;Ni++)$(_i[Ni],Bt,Le&&Le.children[Ni])}Le=Le||Bt}return Ai?()=>{Y(Ai)}:h5}function Y(te){if(oU(te)){const xe=h.get(te);xe&&(h.delete(te),r.splice(r.indexOf(xe),1),xe.children.forEach(Y),xe.alias.forEach(Y))}else{const xe=r.indexOf(te);xe>-1&&(r.splice(xe,1),te.record.name&&h.delete(te.record.name),te.children.forEach(Y),te.alias.forEach(Y))}}function ct(){return r}function bt(te){const xe=Rot(te,r);r.splice(xe,0,te),te.record.name&&!eB(te)&&h.set(te.record.name,te)}function At(te,xe){let Le,He={},qe,lr;if("name"in te&&te.name){if(Le=h.get(te.name),!Le)throw z2(zd.MATCHER_NOT_FOUND,{location:te});lr=Le.record.name,He=Wh(QO(xe.params,Le.keys.filter(Ai=>!Ai.optional).concat(Le.parent?Le.parent.keys.filter(Ai=>Ai.optional):[]).map(Ai=>Ai.name)),te.params&&QO(te.params,Le.keys.map(Ai=>Ai.name))),qe=Le.stringify(He)}else if(te.path!=null)qe=te.path,Le=r.find(Ai=>Ai.re.test(qe)),Le&&(He=Le.parse(qe),lr=Le.record.name);else{if(Le=xe.name?h.get(xe.name):r.find(Ai=>Ai.re.test(xe.path)),!Le)throw z2(zd.MATCHER_NOT_FOUND,{location:te,currentLocation:xe});lr=Le.record.name,He=Wh({},xe.params,te.params),qe=Le.stringify(He)}const Dr=[];let Bt=Le;for(;Bt;)Dr.unshift(Bt.record),Bt=Bt.parent;return{name:lr,path:qe,params:He,matched:Dr,meta:Bot(Dr)}}e.forEach(te=>$(te));function Nt(){r.length=0,h.clear()}return{addRoute:$,resolve:At,removeRoute:Y,clearRoutes:Nt,getRoutes:ct,getRecordMatcher:M}}function QO(e,t){const r={};for(const h of t)h in e&&(r[h]=e[h]);return r}function tB(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Oot(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 Oot(e){const t={},r=e.props||!1;if("component"in e)t.default=r;else for(const h in e.components)t[h]=typeof r=="object"?r[h]:r;return t}function eB(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Bot(e){return e.reduce((t,r)=>Wh(t,r.meta),{})}function Rot(e,t){let r=0,h=t.length;for(;r!==h;){const $=r+h>>1;uU(e,t[$])<0?h=$:r=$+1}const M=Fot(e);return M&&(h=t.lastIndexOf(M,h-1)),h}function Fot(e){let t=e;for(;t=t.parent;)if(cU(t)&&uU(e,t)===0)return t}function cU({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function rB(e){const t=gg(gS),r=gg(mE),h=Ho(()=>{const bt=Ul(e.to);return t.resolve(bt)}),M=Ho(()=>{const{matched:bt}=h.value,{length:At}=bt,Nt=bt[At-1],te=r.matched;if(!Nt||!te.length)return-1;const xe=te.findIndex(D2.bind(null,Nt));if(xe>-1)return xe;const Le=iB(bt[At-2]);return At>1&&iB(Nt)===Le&&te[te.length-1].path!==Le?te.findIndex(D2.bind(null,bt[At-2])):xe}),$=Ho(()=>M.value>-1&&$ot(r.params,h.value.params)),Y=Ho(()=>M.value>-1&&M.value===r.matched.length-1&&aU(r.params,h.value.params));function ct(bt={}){if(Hot(bt)){const At=t[Ul(e.replace)?"replace":"push"](Ul(e.to)).catch(h5);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>At),At}return Promise.resolve()}return{route:h,href:Ho(()=>h.value.href),isActive:$,isExactActive:Y,navigate:ct}}function Not(e){return e.length===1?e[0]:e}const jot=cc({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:rB,setup(e,{slots:t}){const r=Lx(rB(e)),{options:h}=gg(gS),M=Ho(()=>({[nB(e.activeClass,h.linkActiveClass,"router-link-active")]:r.isActive,[nB(e.exactActiveClass,h.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const $=t.default&&Not(t.default(r));return e.custom?$:fE("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:M.value},$)}}}),Uot=jot;function Hot(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 $ot(e,t){for(const r in t){const h=t[r],M=e[r];if(typeof h=="string"){if(h!==M)return!1}else if(!Ng(M)||M.length!==h.length||h.some(($,Y)=>$!==M[Y]))return!1}return!0}function iB(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const nB=(e,t,r)=>e??t??r,Vot=cc({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:r}){const h=gg(IM),M=Ho(()=>e.route||h.value),$=gg(KO,0),Y=Ho(()=>{let At=Ul($);const{matched:Nt}=M.value;let te;for(;(te=Nt[At])&&!te.components;)At++;return At}),ct=Ho(()=>M.value.matched[Y.value]);tT(KO,Ho(()=>Y.value+1)),tT(_ot,ct),tT(IM,M);const bt=ma();return Bg(()=>[bt.value,ct.value,e.name],([At,Nt,te],[xe,Le,He])=>{Nt&&(Nt.instances[te]=At,Le&&Le!==Nt&&At&&At===xe&&(Nt.leaveGuards.size||(Nt.leaveGuards=Le.leaveGuards),Nt.updateGuards.size||(Nt.updateGuards=Le.updateGuards))),At&&Nt&&(!Le||!D2(Nt,Le)||!xe)&&(Nt.enterCallbacks[te]||[]).forEach(qe=>qe(At))},{flush:"post"}),()=>{const At=M.value,Nt=e.name,te=ct.value,xe=te&&te.components[Nt];if(!xe)return aB(r.default,{Component:xe,route:At});const Le=te.props[Nt],He=Le?Le===!0?At.params:typeof Le=="function"?Le(At):Le:null,lr=fE(xe,Wh({},He,t,{onVnodeUnmounted:Dr=>{Dr.component.isUnmounted&&(te.instances[Nt]=null)},ref:bt}));return aB(r.default,{Component:lr,route:At})||lr}}});function aB(e,t){if(!e)return null;const r=e(t);return r.length===1?r[0]:r}const Wot=Vot;function qot(e){const t=zot(e.routes,e),r=e.parseQuery||vot,h=e.stringifyQuery||GO,M=e.history,$=k3(),Y=k3(),ct=k3(),bt=Rit(Dy);let At=Dy;m2&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const Nt=l7.bind(null,Hn=>""+Hn),te=l7.bind(null,tot),xe=l7.bind(null,M5);function Le(Hn,Wa){let Ga,Ao;return oU(Hn)?(Ga=t.getRecordMatcher(Hn),Ao=Wa):Ao=Hn,t.addRoute(Ao,Ga)}function He(Hn){const Wa=t.getRecordMatcher(Hn);Wa&&t.removeRoute(Wa)}function qe(){return t.getRoutes().map(Hn=>Hn.record)}function lr(Hn){return!!t.getRecordMatcher(Hn)}function Dr(Hn,Wa){if(Wa=Wh({},Wa||bt.value),typeof Hn=="string"){const en=u7(r,Hn,Wa.path),mo=t.resolve({path:en.path},Wa),Co=M.createHref(en.fullPath);return Wh(en,mo,{params:xe(mo.params),hash:M5(en.hash),redirectedFrom:void 0,href:Co})}let Ga;if(Hn.path!=null)Ga=Wh({},Hn,{path:u7(r,Hn.path,Wa.path).path});else{const en=Wh({},Hn.params);for(const mo in en)en[mo]==null&&delete en[mo];Ga=Wh({},Hn,{params:te(en)}),Wa.params=te(Wa.params)}const Ao=t.resolve(Ga,Wa),Ta=Hn.hash||"";Ao.params=Nt(xe(Ao.params));const Vr=iot(h,Wh({},Hn,{hash:Xat(Ta),path:Ao.path})),wi=M.createHref(Vr);return Wh({fullPath:Vr,hash:Ta,query:h===GO?yot(Hn.query):Hn.query||{}},Ao,{redirectedFrom:void 0,href:wi})}function Bt(Hn){return typeof Hn=="string"?u7(r,Hn,bt.value.path):Wh({},Hn)}function Ai(Hn,Wa){if(At!==Hn)return z2(zd.NAVIGATION_CANCELLED,{from:Wa,to:Hn})}function _r(Hn){return Ni(Hn)}function Br(Hn){return _r(Wh(Bt(Hn),{replace:!0}))}function _i(Hn,Wa){const Ga=Hn.matched[Hn.matched.length-1];if(Ga&&Ga.redirect){const{redirect:Ao}=Ga;let Ta=typeof Ao=="function"?Ao(Hn,Wa):Ao;return typeof Ta=="string"&&(Ta=Ta.includes("?")||Ta.includes("#")?Ta=Bt(Ta):{path:Ta},Ta.params={}),Wh({query:Hn.query,hash:Hn.hash,params:Ta.path!=null?{}:Hn.params},Ta)}}function Ni(Hn,Wa){const Ga=At=Dr(Hn),Ao=bt.value,Ta=Hn.state,Vr=Hn.force,wi=Hn.replace===!0,en=_i(Ga,Ao);if(en)return Ni(Wh(Bt(en),{state:typeof en=="object"?Wh({},Ta,en.state):Ta,force:Vr,replace:wi}),Wa||Ga);const mo=Ga;mo.redirectedFrom=Wa;let Co;return!Vr&¬(h,Ao,Ga)&&(Co=z2(zd.NAVIGATION_DUPLICATED,{to:mo,from:Ao}),fo(Ao,Ao,!0,!1)),(Co?Promise.resolve(Co):on(mo,Ao)).catch(Mo=>d1(Mo)?d1(Mo,zd.NAVIGATION_GUARD_REDIRECT)?Mo:Qn(Mo):Li(Mo,mo,Ao)).then(Mo=>{if(Mo){if(d1(Mo,zd.NAVIGATION_GUARD_REDIRECT))return Ni(Wh({replace:wi},Bt(Mo.to),{state:typeof Mo.to=="object"?Wh({},Ta,Mo.to.state):Ta,force:Vr}),Wa||mo)}else Mo=Lr(mo,Ao,!0,wi,Ta);return Ri(mo,Ao,Mo),Mo})}function ji(Hn,Wa){const Ga=Ai(Hn,Wa);return Ga?Promise.reject(Ga):Promise.resolve()}function Xr(Hn){const Wa=Dn.values().next().value;return Wa&&typeof Wa.runWithContext=="function"?Wa.runWithContext(Hn):Hn()}function on(Hn,Wa){let Ga;const[Ao,Ta,Vr]=xot(Hn,Wa);Ga=h7(Ao.reverse(),"beforeRouteLeave",Hn,Wa);for(const en of Ao)en.leaveGuards.forEach(mo=>{Ga.push(Ky(mo,Hn,Wa))});const wi=ji.bind(null,Hn,Wa);return Ga.push(wi),oa(Ga).then(()=>{Ga=[];for(const en of $.list())Ga.push(Ky(en,Hn,Wa));return Ga.push(wi),oa(Ga)}).then(()=>{Ga=h7(Ta,"beforeRouteUpdate",Hn,Wa);for(const en of Ta)en.updateGuards.forEach(mo=>{Ga.push(Ky(mo,Hn,Wa))});return Ga.push(wi),oa(Ga)}).then(()=>{Ga=[];for(const en of Vr)if(en.beforeEnter)if(Ng(en.beforeEnter))for(const mo of en.beforeEnter)Ga.push(Ky(mo,Hn,Wa));else Ga.push(Ky(en.beforeEnter,Hn,Wa));return Ga.push(wi),oa(Ga)}).then(()=>(Hn.matched.forEach(en=>en.enterCallbacks={}),Ga=h7(Vr,"beforeRouteEnter",Hn,Wa,Xr),Ga.push(wi),oa(Ga))).then(()=>{Ga=[];for(const en of Y.list())Ga.push(Ky(en,Hn,Wa));return Ga.push(wi),oa(Ga)}).catch(en=>d1(en,zd.NAVIGATION_CANCELLED)?en:Promise.reject(en))}function Ri(Hn,Wa,Ga){ct.list().forEach(Ao=>Xr(()=>Ao(Hn,Wa,Ga)))}function Lr(Hn,Wa,Ga,Ao,Ta){const Vr=Ai(Hn,Wa);if(Vr)return Vr;const wi=Wa===Dy,en=m2?history.state:{};Ga&&(Ao||wi?M.replace(Hn.fullPath,Wh({scroll:wi&&en&&en.scroll},Ta)):M.push(Hn.fullPath,Ta)),bt.value=Hn,fo(Hn,Wa,Ga,wi),Qn()}let pr;function Cr(){pr||(pr=M.listen((Hn,Wa,Ga)=>{if(!Gn.listening)return;const Ao=Dr(Hn),Ta=_i(Ao,Gn.currentRoute.value);if(Ta){Ni(Wh(Ta,{replace:!0,force:!0}),Ao).catch(h5);return}At=Ao;const Vr=bt.value;m2&&fot(ZO(Vr.fullPath,Ga.delta),mS()),on(Ao,Vr).catch(wi=>d1(wi,zd.NAVIGATION_ABORTED|zd.NAVIGATION_CANCELLED)?wi:d1(wi,zd.NAVIGATION_GUARD_REDIRECT)?(Ni(Wh(Bt(wi.to),{force:!0}),Ao).then(en=>{d1(en,zd.NAVIGATION_ABORTED|zd.NAVIGATION_DUPLICATED)&&!Ga.delta&&Ga.type===LM.pop&&M.go(-1,!1)}).catch(h5),Promise.reject()):(Ga.delta&&M.go(-Ga.delta,!1),Li(wi,Ao,Vr))).then(wi=>{wi=wi||Lr(Ao,Vr,!1),wi&&(Ga.delta&&!d1(wi,zd.NAVIGATION_CANCELLED)?M.go(-Ga.delta,!1):Ga.type===LM.pop&&d1(wi,zd.NAVIGATION_ABORTED|zd.NAVIGATION_DUPLICATED)&&M.go(-1,!1)),Ri(Ao,Vr,wi)}).catch(h5)}))}let $r=k3(),Mr=k3(),Ur;function Li(Hn,Wa,Ga){Qn(Hn);const Ao=Mr.list();return Ao.length?Ao.forEach(Ta=>Ta(Hn,Wa,Ga)):console.error(Hn),Promise.reject(Hn)}function qn(){return Ur&&bt.value!==Dy?Promise.resolve():new Promise((Hn,Wa)=>{$r.add([Hn,Wa])})}function Qn(Hn){return Ur||(Ur=!Hn,Cr(),$r.list().forEach(([Wa,Ga])=>Hn?Ga(Hn):Wa()),$r.reset()),Hn}function fo(Hn,Wa,Ga,Ao){const{scrollBehavior:Ta}=e;if(!m2||!Ta)return Promise.resolve();const Vr=!Ga&&dot(ZO(Hn.fullPath,0))||(Ao||!Ga)&&history.state&&history.state.scroll||null;return wm().then(()=>Ta(Hn,Wa,Vr)).then(wi=>wi&&hot(wi)).catch(wi=>Li(wi,Hn,Wa))}const ya=Hn=>M.go(Hn);let ga;const Dn=new Set,Gn={currentRoute:bt,listening:!0,addRoute:Le,removeRoute:He,clearRoutes:t.clearRoutes,hasRoute:lr,getRoutes:qe,resolve:Dr,options:e,push:_r,replace:Br,go:ya,back:()=>ya(-1),forward:()=>ya(1),beforeEach:$.add,beforeResolve:Y.add,afterEach:ct.add,onError:Mr.add,isReady:qn,install(Hn){Hn.component("RouterLink",Uot),Hn.component("RouterView",Wot),Hn.config.globalProperties.$router=Gn,Object.defineProperty(Hn.config.globalProperties,"$route",{enumerable:!0,get:()=>Ul(bt)}),m2&&!ga&&bt.value===Dy&&(ga=!0,_r(M.location).catch(Ao=>{}));const Wa={};for(const Ao in Dy)Object.defineProperty(Wa,Ao,{get:()=>bt.value[Ao],enumerable:!0});Hn.provide(gS,Gn),Hn.provide(mE,KN(Wa)),Hn.provide(IM,bt);const Ga=Hn.unmount;Dn.add(Hn),Hn.unmount=function(){Dn.delete(Hn),Dn.size<1&&(At=Dy,pr&&pr(),pr=null,bt.value=Dy,ga=!1,Ur=!1),Ga()}}};function oa(Hn){return Hn.reduce((Wa,Ga)=>Wa.then(()=>Xr(Ga)),Promise.resolve())}return Gn}function hU(){return gg(gS)}function fU(e){return gg(mE)}function dU(e,t){return function(){return e.apply(t,arguments)}}const{toString:Zot}=Object.prototype,{getPrototypeOf:gE}=Object,{iterator:vS,toStringTag:pU}=Symbol,yS=(e=>t=>{const r=Zot.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Hg=e=>(e=e.toLowerCase(),t=>yS(t)===e),_S=e=>t=>typeof t===e,{isArray:j2}=Array,O2=_S("undefined");function W5(e){return e!==null&&!O2(e)&&e.constructor!==null&&!O2(e.constructor)&&Tm(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const mU=Hg("ArrayBuffer");function Got(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&mU(e.buffer),t}const Kot=_S("string"),Tm=_S("function"),gU=_S("number"),q5=e=>e!==null&&typeof e=="object",Yot=e=>e===!0||e===!1,nT=e=>{if(yS(e)!=="object")return!1;const t=gE(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(pU in e)&&!(vS in e)},Xot=e=>{if(!q5(e)||W5(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},Jot=Hg("Date"),Qot=Hg("File"),tst=Hg("Blob"),est=Hg("FileList"),rst=e=>q5(e)&&Tm(e.pipe),ist=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Tm(e.append)&&((t=yS(e))==="formdata"||t==="object"&&Tm(e.toString)&&e.toString()==="[object FormData]"))},nst=Hg("URLSearchParams"),[ast,ost,sst,lst]=["ReadableStream","Request","Response","Headers"].map(Hg),ust=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Z5(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let h,M;if(typeof e!="object"&&(e=[e]),j2(e))for(h=0,M=e.length;h0;)if(M=r[h],t===M.toLowerCase())return M;return null}const yx=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,yU=e=>!O2(e)&&e!==yx;function DM(){const{caseless:e,skipUndefined:t}=yU(this)&&this||{},r={},h=(M,$)=>{const Y=e&&vU(r,$)||$;nT(r[Y])&&nT(M)?r[Y]=DM(r[Y],M):nT(M)?r[Y]=DM({},M):j2(M)?r[Y]=M.slice():(!t||!O2(M))&&(r[Y]=M)};for(let M=0,$=arguments.length;M<$;M++)arguments[M]&&Z5(arguments[M],h);return r}const cst=(e,t,r,{allOwnKeys:h}={})=>(Z5(t,(M,$)=>{r&&Tm(M)?e[$]=dU(M,r):e[$]=M},{allOwnKeys:h}),e),hst=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),fst=(e,t,r,h)=>{e.prototype=Object.create(t.prototype,h),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},dst=(e,t,r,h)=>{let M,$,Y;const ct={};if(t=t||{},e==null)return t;do{for(M=Object.getOwnPropertyNames(e),$=M.length;$-- >0;)Y=M[$],(!h||h(Y,e,t))&&!ct[Y]&&(t[Y]=e[Y],ct[Y]=!0);e=r!==!1&&gE(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},pst=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const h=e.indexOf(t,r);return h!==-1&&h===r},mst=e=>{if(!e)return null;if(j2(e))return e;let t=e.length;if(!gU(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},gst=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&gE(Uint8Array)),vst=(e,t)=>{const h=(e&&e[vS]).call(e);let M;for(;(M=h.next())&&!M.done;){const $=M.value;t.call(e,$[0],$[1])}},yst=(e,t)=>{let r;const h=[];for(;(r=e.exec(t))!==null;)h.push(r);return h},_st=Hg("HTMLFormElement"),xst=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,h,M){return h.toUpperCase()+M}),oB=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),bst=Hg("RegExp"),_U=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),h={};Z5(r,(M,$)=>{let Y;(Y=t(M,$,e))!==!1&&(h[$]=Y||M)}),Object.defineProperties(e,h)},wst=e=>{_U(e,(t,r)=>{if(Tm(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const h=e[r];if(Tm(h)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},kst=(e,t)=>{const r={},h=M=>{M.forEach($=>{r[$]=!0})};return j2(e)?h(e):h(String(e).split(t)),r},Tst=()=>{},Sst=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Ast(e){return!!(e&&Tm(e.append)&&e[pU]==="FormData"&&e[vS])}const Cst=e=>{const t=new Array(10),r=(h,M)=>{if(q5(h)){if(t.indexOf(h)>=0)return;if(W5(h))return h;if(!("toJSON"in h)){t[M]=h;const $=j2(h)?[]:{};return Z5(h,(Y,ct)=>{const bt=r(Y,M+1);!O2(bt)&&($[ct]=bt)}),t[M]=void 0,$}}return h};return r(e,0)},Mst=Hg("AsyncFunction"),Est=e=>e&&(q5(e)||Tm(e))&&Tm(e.then)&&Tm(e.catch),xU=((e,t)=>e?setImmediate:t?((r,h)=>(yx.addEventListener("message",({source:M,data:$})=>{M===yx&&$===r&&h.length&&h.shift()()},!1),M=>{h.push(M),yx.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Tm(yx.postMessage)),Lst=typeof queueMicrotask<"u"?queueMicrotask.bind(yx):typeof process<"u"&&process.nextTick||xU,Pst=e=>e!=null&&Tm(e[vS]),po={isArray:j2,isArrayBuffer:mU,isBuffer:W5,isFormData:ist,isArrayBufferView:Got,isString:Kot,isNumber:gU,isBoolean:Yot,isObject:q5,isPlainObject:nT,isEmptyObject:Xot,isReadableStream:ast,isRequest:ost,isResponse:sst,isHeaders:lst,isUndefined:O2,isDate:Jot,isFile:Qot,isBlob:tst,isRegExp:bst,isFunction:Tm,isStream:rst,isURLSearchParams:nst,isTypedArray:gst,isFileList:est,forEach:Z5,merge:DM,extend:cst,trim:ust,stripBOM:hst,inherits:fst,toFlatObject:dst,kindOf:yS,kindOfTest:Hg,endsWith:pst,toArray:mst,forEachEntry:vst,matchAll:yst,isHTMLForm:_st,hasOwnProperty:oB,hasOwnProp:oB,reduceDescriptors:_U,freezeMethods:wst,toObjectSet:kst,toCamelCase:xst,noop:Tst,toFiniteNumber:Sst,findKey:vU,global:yx,isContextDefined:yU,isSpecCompliantForm:Ast,toJSONObject:Cst,isAsyncFn:Mst,isThenable:Est,setImmediate:xU,asap:Lst,isIterable:Pst};function ac(e,t,r,h,M){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),r&&(this.config=r),h&&(this.request=h),M&&(this.response=M,this.status=M.status?M.status:null)}po.inherits(ac,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:po.toJSONObject(this.config),code:this.code,status:this.status}}});const bU=ac.prototype,wU={};["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=>{wU[e]={value:e}});Object.defineProperties(ac,wU);Object.defineProperty(bU,"isAxiosError",{value:!0});ac.from=(e,t,r,h,M,$)=>{const Y=Object.create(bU);po.toFlatObject(e,Y,function(Nt){return Nt!==Error.prototype},At=>At!=="isAxiosError");const ct=e&&e.message?e.message:"Error",bt=t==null&&e?e.code:t;return ac.call(Y,ct,bt,r,h,M),e&&Y.cause==null&&Object.defineProperty(Y,"cause",{value:e,configurable:!0}),Y.name=e&&e.name||"Error",$&&Object.assign(Y,$),Y};const Ist=null;function zM(e){return po.isPlainObject(e)||po.isArray(e)}function kU(e){return po.endsWith(e,"[]")?e.slice(0,-2):e}function sB(e,t,r){return e?e.concat(t).map(function(M,$){return M=kU(M),!r&&$?"["+M+"]":M}).join(r?".":""):t}function Dst(e){return po.isArray(e)&&!e.some(zM)}const zst=po.toFlatObject(po,{},null,function(t){return/^is[A-Z]/.test(t)});function xS(e,t,r){if(!po.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=po.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(qe,lr){return!po.isUndefined(lr[qe])});const h=r.metaTokens,M=r.visitor||Nt,$=r.dots,Y=r.indexes,bt=(r.Blob||typeof Blob<"u"&&Blob)&&po.isSpecCompliantForm(t);if(!po.isFunction(M))throw new TypeError("visitor must be a function");function At(He){if(He===null)return"";if(po.isDate(He))return He.toISOString();if(po.isBoolean(He))return He.toString();if(!bt&&po.isBlob(He))throw new ac("Blob is not supported. Use a Buffer instead.");return po.isArrayBuffer(He)||po.isTypedArray(He)?bt&&typeof Blob=="function"?new Blob([He]):Buffer.from(He):He}function Nt(He,qe,lr){let Dr=He;if(He&&!lr&&typeof He=="object"){if(po.endsWith(qe,"{}"))qe=h?qe:qe.slice(0,-2),He=JSON.stringify(He);else if(po.isArray(He)&&Dst(He)||(po.isFileList(He)||po.endsWith(qe,"[]"))&&(Dr=po.toArray(He)))return qe=kU(qe),Dr.forEach(function(Ai,_r){!(po.isUndefined(Ai)||Ai===null)&&t.append(Y===!0?sB([qe],_r,$):Y===null?qe:qe+"[]",At(Ai))}),!1}return zM(He)?!0:(t.append(sB(lr,qe,$),At(He)),!1)}const te=[],xe=Object.assign(zst,{defaultVisitor:Nt,convertValue:At,isVisitable:zM});function Le(He,qe){if(!po.isUndefined(He)){if(te.indexOf(He)!==-1)throw Error("Circular reference detected in "+qe.join("."));te.push(He),po.forEach(He,function(Dr,Bt){(!(po.isUndefined(Dr)||Dr===null)&&M.call(t,Dr,po.isString(Bt)?Bt.trim():Bt,qe,xe))===!0&&Le(Dr,qe?qe.concat(Bt):[Bt])}),te.pop()}}if(!po.isObject(e))throw new TypeError("data must be an object");return Le(e),t}function lB(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(h){return t[h]})}function vE(e,t){this._pairs=[],e&&xS(e,this,t)}const TU=vE.prototype;TU.append=function(t,r){this._pairs.push([t,r])};TU.toString=function(t){const r=t?function(h){return t.call(this,h,lB)}:lB;return this._pairs.map(function(M){return r(M[0])+"="+r(M[1])},"").join("&")};function Ost(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function SU(e,t,r){if(!t)return e;const h=r&&r.encode||Ost;po.isFunction(r)&&(r={serialize:r});const M=r&&r.serialize;let $;if(M?$=M(t,r):$=po.isURLSearchParams(t)?t.toString():new vE(t,r).toString(h),$){const Y=e.indexOf("#");Y!==-1&&(e=e.slice(0,Y)),e+=(e.indexOf("?")===-1?"?":"&")+$}return e}class uB{constructor(){this.handlers=[]}use(t,r,h){return this.handlers.push({fulfilled:t,rejected:r,synchronous:h?h.synchronous:!1,runWhen:h?h.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){po.forEach(this.handlers,function(h){h!==null&&t(h)})}}const AU={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Bst=typeof URLSearchParams<"u"?URLSearchParams:vE,Rst=typeof FormData<"u"?FormData:null,Fst=typeof Blob<"u"?Blob:null,Nst={isBrowser:!0,classes:{URLSearchParams:Bst,FormData:Rst,Blob:Fst},protocols:["http","https","file","blob","url","data"]},yE=typeof window<"u"&&typeof document<"u",OM=typeof navigator=="object"&&navigator||void 0,jst=yE&&(!OM||["ReactNative","NativeScript","NS"].indexOf(OM.product)<0),Ust=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Hst=yE&&window.location.href||"http://localhost",$st=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:yE,hasStandardBrowserEnv:jst,hasStandardBrowserWebWorkerEnv:Ust,navigator:OM,origin:Hst},Symbol.toStringTag,{value:"Module"})),B0={...$st,...Nst};function Vst(e,t){return xS(e,new B0.classes.URLSearchParams,{visitor:function(r,h,M,$){return B0.isNode&&po.isBuffer(r)?(this.append(h,r.toString("base64")),!1):$.defaultVisitor.apply(this,arguments)},...t})}function Wst(e){return po.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function qst(e){const t={},r=Object.keys(e);let h;const M=r.length;let $;for(h=0;h=r.length;return Y=!Y&&po.isArray(M)?M.length:Y,bt?(po.hasOwnProp(M,Y)?M[Y]=[M[Y],h]:M[Y]=h,!ct):((!M[Y]||!po.isObject(M[Y]))&&(M[Y]=[]),t(r,h,M[Y],$)&&po.isArray(M[Y])&&(M[Y]=qst(M[Y])),!ct)}if(po.isFormData(e)&&po.isFunction(e.entries)){const r={};return po.forEachEntry(e,(h,M)=>{t(Wst(h),M,r,0)}),r}return null}function Zst(e,t,r){if(po.isString(e))try{return(t||JSON.parse)(e),po.trim(e)}catch(h){if(h.name!=="SyntaxError")throw h}return(r||JSON.stringify)(e)}const G5={transitional:AU,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const h=r.getContentType()||"",M=h.indexOf("application/json")>-1,$=po.isObject(t);if($&&po.isHTMLForm(t)&&(t=new FormData(t)),po.isFormData(t))return M?JSON.stringify(CU(t)):t;if(po.isArrayBuffer(t)||po.isBuffer(t)||po.isStream(t)||po.isFile(t)||po.isBlob(t)||po.isReadableStream(t))return t;if(po.isArrayBufferView(t))return t.buffer;if(po.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let ct;if($){if(h.indexOf("application/x-www-form-urlencoded")>-1)return Vst(t,this.formSerializer).toString();if((ct=po.isFileList(t))||h.indexOf("multipart/form-data")>-1){const bt=this.env&&this.env.FormData;return xS(ct?{"files[]":t}:t,bt&&new bt,this.formSerializer)}}return $||M?(r.setContentType("application/json",!1),Zst(t)):t}],transformResponse:[function(t){const r=this.transitional||G5.transitional,h=r&&r.forcedJSONParsing,M=this.responseType==="json";if(po.isResponse(t)||po.isReadableStream(t))return t;if(t&&po.isString(t)&&(h&&!this.responseType||M)){const Y=!(r&&r.silentJSONParsing)&&M;try{return JSON.parse(t,this.parseReviver)}catch(ct){if(Y)throw ct.name==="SyntaxError"?ac.from(ct,ac.ERR_BAD_RESPONSE,this,null,this.response):ct}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:B0.classes.FormData,Blob:B0.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};po.forEach(["delete","get","head","post","put","patch"],e=>{G5.headers[e]={}});const Gst=po.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"]),Kst=e=>{const t={};let r,h,M;return e&&e.split(` -`).forEach(function(Y){M=Y.indexOf(":"),r=Y.substring(0,M).trim().toLowerCase(),h=Y.substring(M+1).trim(),!(!r||t[r]&&Gst[r])&&(r==="set-cookie"?t[r]?t[r].push(h):t[r]=[h]:t[r]=t[r]?t[r]+", "+h:h)}),t},cB=Symbol("internals");function T3(e){return e&&String(e).trim().toLowerCase()}function aT(e){return e===!1||e==null?e:po.isArray(e)?e.map(aT):String(e)}function Yst(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let h;for(;h=r.exec(e);)t[h[1]]=h[2];return t}const Xst=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function f7(e,t,r,h,M){if(po.isFunction(h))return h.call(this,t,r);if(M&&(t=r),!!po.isString(t)){if(po.isString(h))return t.indexOf(h)!==-1;if(po.isRegExp(h))return h.test(t)}}function Jst(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,h)=>r.toUpperCase()+h)}function Qst(e,t){const r=po.toCamelCase(" "+t);["get","set","has"].forEach(h=>{Object.defineProperty(e,h+r,{value:function(M,$,Y){return this[h].call(this,t,M,$,Y)},configurable:!0})})}let Sm=class{constructor(t){t&&this.set(t)}set(t,r,h){const M=this;function $(ct,bt,At){const Nt=T3(bt);if(!Nt)throw new Error("header name must be a non-empty string");const te=po.findKey(M,Nt);(!te||M[te]===void 0||At===!0||At===void 0&&M[te]!==!1)&&(M[te||bt]=aT(ct))}const Y=(ct,bt)=>po.forEach(ct,(At,Nt)=>$(At,Nt,bt));if(po.isPlainObject(t)||t instanceof this.constructor)Y(t,r);else if(po.isString(t)&&(t=t.trim())&&!Xst(t))Y(Kst(t),r);else if(po.isObject(t)&&po.isIterable(t)){let ct={},bt,At;for(const Nt of t){if(!po.isArray(Nt))throw TypeError("Object iterator must return a key-value pair");ct[At=Nt[0]]=(bt=ct[At])?po.isArray(bt)?[...bt,Nt[1]]:[bt,Nt[1]]:Nt[1]}Y(ct,r)}else t!=null&&$(r,t,h);return this}get(t,r){if(t=T3(t),t){const h=po.findKey(this,t);if(h){const M=this[h];if(!r)return M;if(r===!0)return Yst(M);if(po.isFunction(r))return r.call(this,M,h);if(po.isRegExp(r))return r.exec(M);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=T3(t),t){const h=po.findKey(this,t);return!!(h&&this[h]!==void 0&&(!r||f7(this,this[h],h,r)))}return!1}delete(t,r){const h=this;let M=!1;function $(Y){if(Y=T3(Y),Y){const ct=po.findKey(h,Y);ct&&(!r||f7(h,h[ct],ct,r))&&(delete h[ct],M=!0)}}return po.isArray(t)?t.forEach($):$(t),M}clear(t){const r=Object.keys(this);let h=r.length,M=!1;for(;h--;){const $=r[h];(!t||f7(this,this[$],$,t,!0))&&(delete this[$],M=!0)}return M}normalize(t){const r=this,h={};return po.forEach(this,(M,$)=>{const Y=po.findKey(h,$);if(Y){r[Y]=aT(M),delete r[$];return}const ct=t?Jst($):String($).trim();ct!==$&&delete r[$],r[ct]=aT(M),h[ct]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return po.forEach(this,(h,M)=>{h!=null&&h!==!1&&(r[M]=t&&po.isArray(h)?h.join(", "):h)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(` -`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const h=new this(t);return r.forEach(M=>h.set(M)),h}static accessor(t){const h=(this[cB]=this[cB]={accessors:{}}).accessors,M=this.prototype;function $(Y){const ct=T3(Y);h[ct]||(Qst(M,Y),h[ct]=!0)}return po.isArray(t)?t.forEach($):$(t),this}};Sm.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);po.reduceDescriptors(Sm.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(h){this[r]=h}}});po.freezeMethods(Sm);function d7(e,t){const r=this||G5,h=t||r,M=Sm.from(h.headers);let $=h.data;return po.forEach(e,function(ct){$=ct.call(r,$,M.normalize(),t?t.status:void 0)}),M.normalize(),$}function MU(e){return!!(e&&e.__CANCEL__)}function U2(e,t,r){ac.call(this,e??"canceled",ac.ERR_CANCELED,t,r),this.name="CanceledError"}po.inherits(U2,ac,{__CANCEL__:!0});function EU(e,t,r){const h=r.config.validateStatus;!r.status||!h||h(r.status)?e(r):t(new ac("Request failed with status code "+r.status,[ac.ERR_BAD_REQUEST,ac.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function tlt(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function elt(e,t){e=e||10;const r=new Array(e),h=new Array(e);let M=0,$=0,Y;return t=t!==void 0?t:1e3,function(bt){const At=Date.now(),Nt=h[$];Y||(Y=At),r[M]=bt,h[M]=At;let te=$,xe=0;for(;te!==M;)xe+=r[te++],te=te%e;if(M=(M+1)%e,M===$&&($=($+1)%e),At-Y{r=Nt,M=null,$&&(clearTimeout($),$=null),e(...At)};return[(...At)=>{const Nt=Date.now(),te=Nt-r;te>=h?Y(At,Nt):(M=At,$||($=setTimeout(()=>{$=null,Y(M)},h-te)))},()=>M&&Y(M)]}const IT=(e,t,r=3)=>{let h=0;const M=elt(50,250);return rlt($=>{const Y=$.loaded,ct=$.lengthComputable?$.total:void 0,bt=Y-h,At=M(bt),Nt=Y<=ct;h=Y;const te={loaded:Y,total:ct,progress:ct?Y/ct:void 0,bytes:bt,rate:At||void 0,estimated:At&&ct&&Nt?(ct-Y)/At:void 0,event:$,lengthComputable:ct!=null,[t?"download":"upload"]:!0};e(te)},r)},hB=(e,t)=>{const r=e!=null;return[h=>t[0]({lengthComputable:r,total:e,loaded:h}),t[1]]},fB=e=>(...t)=>po.asap(()=>e(...t)),ilt=B0.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,B0.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(B0.origin),B0.navigator&&/(msie|trident)/i.test(B0.navigator.userAgent)):()=>!0,nlt=B0.hasStandardBrowserEnv?{write(e,t,r,h,M,$,Y){if(typeof document>"u")return;const ct=[`${e}=${encodeURIComponent(t)}`];po.isNumber(r)&&ct.push(`expires=${new Date(r).toUTCString()}`),po.isString(h)&&ct.push(`path=${h}`),po.isString(M)&&ct.push(`domain=${M}`),$===!0&&ct.push("secure"),po.isString(Y)&&ct.push(`SameSite=${Y}`),document.cookie=ct.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function alt(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function olt(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function LU(e,t,r){let h=!alt(t);return e&&(h||r==!1)?olt(e,t):t}const dB=e=>e instanceof Sm?{...e}:e;function Ix(e,t){t=t||{};const r={};function h(At,Nt,te,xe){return po.isPlainObject(At)&&po.isPlainObject(Nt)?po.merge.call({caseless:xe},At,Nt):po.isPlainObject(Nt)?po.merge({},Nt):po.isArray(Nt)?Nt.slice():Nt}function M(At,Nt,te,xe){if(po.isUndefined(Nt)){if(!po.isUndefined(At))return h(void 0,At,te,xe)}else return h(At,Nt,te,xe)}function $(At,Nt){if(!po.isUndefined(Nt))return h(void 0,Nt)}function Y(At,Nt){if(po.isUndefined(Nt)){if(!po.isUndefined(At))return h(void 0,At)}else return h(void 0,Nt)}function ct(At,Nt,te){if(te in t)return h(At,Nt);if(te in e)return h(void 0,At)}const bt={url:$,method:$,data:$,baseURL:Y,transformRequest:Y,transformResponse:Y,paramsSerializer:Y,timeout:Y,timeoutMessage:Y,withCredentials:Y,withXSRFToken:Y,adapter:Y,responseType:Y,xsrfCookieName:Y,xsrfHeaderName:Y,onUploadProgress:Y,onDownloadProgress:Y,decompress:Y,maxContentLength:Y,maxBodyLength:Y,beforeRedirect:Y,transport:Y,httpAgent:Y,httpsAgent:Y,cancelToken:Y,socketPath:Y,responseEncoding:Y,validateStatus:ct,headers:(At,Nt,te)=>M(dB(At),dB(Nt),te,!0)};return po.forEach(Object.keys({...e,...t}),function(Nt){const te=bt[Nt]||M,xe=te(e[Nt],t[Nt],Nt);po.isUndefined(xe)&&te!==ct||(r[Nt]=xe)}),r}const PU=e=>{const t=Ix({},e);let{data:r,withXSRFToken:h,xsrfHeaderName:M,xsrfCookieName:$,headers:Y,auth:ct}=t;if(t.headers=Y=Sm.from(Y),t.url=SU(LU(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),ct&&Y.set("Authorization","Basic "+btoa((ct.username||"")+":"+(ct.password?unescape(encodeURIComponent(ct.password)):""))),po.isFormData(r)){if(B0.hasStandardBrowserEnv||B0.hasStandardBrowserWebWorkerEnv)Y.setContentType(void 0);else if(po.isFunction(r.getHeaders)){const bt=r.getHeaders(),At=["content-type","content-length"];Object.entries(bt).forEach(([Nt,te])=>{At.includes(Nt.toLowerCase())&&Y.set(Nt,te)})}}if(B0.hasStandardBrowserEnv&&(h&&po.isFunction(h)&&(h=h(t)),h||h!==!1&&ilt(t.url))){const bt=M&&$&&nlt.read($);bt&&Y.set(M,bt)}return t},slt=typeof XMLHttpRequest<"u",llt=slt&&function(e){return new Promise(function(r,h){const M=PU(e);let $=M.data;const Y=Sm.from(M.headers).normalize();let{responseType:ct,onUploadProgress:bt,onDownloadProgress:At}=M,Nt,te,xe,Le,He;function qe(){Le&&Le(),He&&He(),M.cancelToken&&M.cancelToken.unsubscribe(Nt),M.signal&&M.signal.removeEventListener("abort",Nt)}let lr=new XMLHttpRequest;lr.open(M.method.toUpperCase(),M.url,!0),lr.timeout=M.timeout;function Dr(){if(!lr)return;const Ai=Sm.from("getAllResponseHeaders"in lr&&lr.getAllResponseHeaders()),Br={data:!ct||ct==="text"||ct==="json"?lr.responseText:lr.response,status:lr.status,statusText:lr.statusText,headers:Ai,config:e,request:lr};EU(function(Ni){r(Ni),qe()},function(Ni){h(Ni),qe()},Br),lr=null}"onloadend"in lr?lr.onloadend=Dr:lr.onreadystatechange=function(){!lr||lr.readyState!==4||lr.status===0&&!(lr.responseURL&&lr.responseURL.indexOf("file:")===0)||setTimeout(Dr)},lr.onabort=function(){lr&&(h(new ac("Request aborted",ac.ECONNABORTED,e,lr)),lr=null)},lr.onerror=function(_r){const Br=_r&&_r.message?_r.message:"Network Error",_i=new ac(Br,ac.ERR_NETWORK,e,lr);_i.event=_r||null,h(_i),lr=null},lr.ontimeout=function(){let _r=M.timeout?"timeout of "+M.timeout+"ms exceeded":"timeout exceeded";const Br=M.transitional||AU;M.timeoutErrorMessage&&(_r=M.timeoutErrorMessage),h(new ac(_r,Br.clarifyTimeoutError?ac.ETIMEDOUT:ac.ECONNABORTED,e,lr)),lr=null},$===void 0&&Y.setContentType(null),"setRequestHeader"in lr&&po.forEach(Y.toJSON(),function(_r,Br){lr.setRequestHeader(Br,_r)}),po.isUndefined(M.withCredentials)||(lr.withCredentials=!!M.withCredentials),ct&&ct!=="json"&&(lr.responseType=M.responseType),At&&([xe,He]=IT(At,!0),lr.addEventListener("progress",xe)),bt&&lr.upload&&([te,Le]=IT(bt),lr.upload.addEventListener("progress",te),lr.upload.addEventListener("loadend",Le)),(M.cancelToken||M.signal)&&(Nt=Ai=>{lr&&(h(!Ai||Ai.type?new U2(null,e,lr):Ai),lr.abort(),lr=null)},M.cancelToken&&M.cancelToken.subscribe(Nt),M.signal&&(M.signal.aborted?Nt():M.signal.addEventListener("abort",Nt)));const Bt=tlt(M.url);if(Bt&&B0.protocols.indexOf(Bt)===-1){h(new ac("Unsupported protocol "+Bt+":",ac.ERR_BAD_REQUEST,e));return}lr.send($||null)})},ult=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let h=new AbortController,M;const $=function(At){if(!M){M=!0,ct();const Nt=At instanceof Error?At:this.reason;h.abort(Nt instanceof ac?Nt:new U2(Nt instanceof Error?Nt.message:Nt))}};let Y=t&&setTimeout(()=>{Y=null,$(new ac(`timeout ${t} of ms exceeded`,ac.ETIMEDOUT))},t);const ct=()=>{e&&(Y&&clearTimeout(Y),Y=null,e.forEach(At=>{At.unsubscribe?At.unsubscribe($):At.removeEventListener("abort",$)}),e=null)};e.forEach(At=>At.addEventListener("abort",$));const{signal:bt}=h;return bt.unsubscribe=()=>po.asap(ct),bt}},clt=function*(e,t){let r=e.byteLength;if(r{const M=hlt(e,t);let $=0,Y,ct=bt=>{Y||(Y=!0,h&&h(bt))};return new ReadableStream({async pull(bt){try{const{done:At,value:Nt}=await M.next();if(At){ct(),bt.close();return}let te=Nt.byteLength;if(r){let xe=$+=te;r(xe)}bt.enqueue(new Uint8Array(Nt))}catch(At){throw ct(At),At}},cancel(bt){return ct(bt),M.return()}},{highWaterMark:2})},mB=64*1024,{isFunction:Tk}=po,dlt=(({Request:e,Response:t})=>({Request:e,Response:t}))(po.global),{ReadableStream:gB,TextEncoder:vB}=po.global,yB=(e,...t)=>{try{return!!e(...t)}catch{return!1}},plt=e=>{e=po.merge.call({skipUndefined:!0},dlt,e);const{fetch:t,Request:r,Response:h}=e,M=t?Tk(t):typeof fetch=="function",$=Tk(r),Y=Tk(h);if(!M)return!1;const ct=M&&Tk(gB),bt=M&&(typeof vB=="function"?(He=>qe=>He.encode(qe))(new vB):async He=>new Uint8Array(await new r(He).arrayBuffer())),At=$&&ct&&yB(()=>{let He=!1;const qe=new r(B0.origin,{body:new gB,method:"POST",get duplex(){return He=!0,"half"}}).headers.has("Content-Type");return He&&!qe}),Nt=Y&&ct&&yB(()=>po.isReadableStream(new h("").body)),te={stream:Nt&&(He=>He.body)};M&&["text","arrayBuffer","blob","formData","stream"].forEach(He=>{!te[He]&&(te[He]=(qe,lr)=>{let Dr=qe&&qe[He];if(Dr)return Dr.call(qe);throw new ac(`Response type '${He}' is not supported`,ac.ERR_NOT_SUPPORT,lr)})});const xe=async He=>{if(He==null)return 0;if(po.isBlob(He))return He.size;if(po.isSpecCompliantForm(He))return(await new r(B0.origin,{method:"POST",body:He}).arrayBuffer()).byteLength;if(po.isArrayBufferView(He)||po.isArrayBuffer(He))return He.byteLength;if(po.isURLSearchParams(He)&&(He=He+""),po.isString(He))return(await bt(He)).byteLength},Le=async(He,qe)=>{const lr=po.toFiniteNumber(He.getContentLength());return lr??xe(qe)};return async He=>{let{url:qe,method:lr,data:Dr,signal:Bt,cancelToken:Ai,timeout:_r,onDownloadProgress:Br,onUploadProgress:_i,responseType:Ni,headers:ji,withCredentials:Xr="same-origin",fetchOptions:on}=PU(He),Ri=t||fetch;Ni=Ni?(Ni+"").toLowerCase():"text";let Lr=ult([Bt,Ai&&Ai.toAbortSignal()],_r),pr=null;const Cr=Lr&&Lr.unsubscribe&&(()=>{Lr.unsubscribe()});let $r;try{if(_i&&At&&lr!=="get"&&lr!=="head"&&($r=await Le(ji,Dr))!==0){let fo=new r(qe,{method:"POST",body:Dr,duplex:"half"}),ya;if(po.isFormData(Dr)&&(ya=fo.headers.get("content-type"))&&ji.setContentType(ya),fo.body){const[ga,Dn]=hB($r,IT(fB(_i)));Dr=pB(fo.body,mB,ga,Dn)}}po.isString(Xr)||(Xr=Xr?"include":"omit");const Mr=$&&"credentials"in r.prototype,Ur={...on,signal:Lr,method:lr.toUpperCase(),headers:ji.normalize().toJSON(),body:Dr,duplex:"half",credentials:Mr?Xr:void 0};pr=$&&new r(qe,Ur);let Li=await($?Ri(pr,on):Ri(qe,Ur));const qn=Nt&&(Ni==="stream"||Ni==="response");if(Nt&&(Br||qn&&Cr)){const fo={};["status","statusText","headers"].forEach(Gn=>{fo[Gn]=Li[Gn]});const ya=po.toFiniteNumber(Li.headers.get("content-length")),[ga,Dn]=Br&&hB(ya,IT(fB(Br),!0))||[];Li=new h(pB(Li.body,mB,ga,()=>{Dn&&Dn(),Cr&&Cr()}),fo)}Ni=Ni||"text";let Qn=await te[po.findKey(te,Ni)||"text"](Li,He);return!qn&&Cr&&Cr(),await new Promise((fo,ya)=>{EU(fo,ya,{data:Qn,headers:Sm.from(Li.headers),status:Li.status,statusText:Li.statusText,config:He,request:pr})})}catch(Mr){throw Cr&&Cr(),Mr&&Mr.name==="TypeError"&&/Load failed|fetch/i.test(Mr.message)?Object.assign(new ac("Network Error",ac.ERR_NETWORK,He,pr),{cause:Mr.cause||Mr}):ac.from(Mr,Mr&&Mr.code,He,pr)}}},mlt=new Map,IU=e=>{let t=e&&e.env||{};const{fetch:r,Request:h,Response:M}=t,$=[h,M,r];let Y=$.length,ct=Y,bt,At,Nt=mlt;for(;ct--;)bt=$[ct],At=Nt.get(bt),At===void 0&&Nt.set(bt,At=ct?new Map:plt(t)),Nt=At;return At};IU();const _E={http:Ist,xhr:llt,fetch:{get:IU}};po.forEach(_E,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const _B=e=>`- ${e}`,glt=e=>po.isFunction(e)||e===null||e===!1;function vlt(e,t){e=po.isArray(e)?e:[e];const{length:r}=e;let h,M;const $={};for(let Y=0;Y`adapter ${bt} `+(At===!1?"is not supported by the environment":"is not available in the build"));let ct=r?Y.length>1?`since : -`+Y.map(_B).join(` -`):" "+_B(Y[0]):"as no adapter specified";throw new ac("There is no suitable adapter to dispatch the request "+ct,"ERR_NOT_SUPPORT")}return M}const DU={getAdapter:vlt,adapters:_E};function p7(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new U2(null,e)}function xB(e){return p7(e),e.headers=Sm.from(e.headers),e.data=d7.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),DU.getAdapter(e.adapter||G5.adapter,e)(e).then(function(h){return p7(e),h.data=d7.call(e,e.transformResponse,h),h.headers=Sm.from(h.headers),h},function(h){return MU(h)||(p7(e),h&&h.response&&(h.response.data=d7.call(e,e.transformResponse,h.response),h.response.headers=Sm.from(h.response.headers))),Promise.reject(h)})}const zU="1.13.2",bS={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{bS[e]=function(h){return typeof h===e||"a"+(t<1?"n ":" ")+e}});const bB={};bS.transitional=function(t,r,h){function M($,Y){return"[Axios v"+zU+"] Transitional option '"+$+"'"+Y+(h?". "+h:"")}return($,Y,ct)=>{if(t===!1)throw new ac(M(Y," has been removed"+(r?" in "+r:"")),ac.ERR_DEPRECATED);return r&&!bB[Y]&&(bB[Y]=!0,console.warn(M(Y," has been deprecated since v"+r+" and will be removed in the near future"))),t?t($,Y,ct):!0}};bS.spelling=function(t){return(r,h)=>(console.warn(`${h} is likely a misspelling of ${t}`),!0)};function ylt(e,t,r){if(typeof e!="object")throw new ac("options must be an object",ac.ERR_BAD_OPTION_VALUE);const h=Object.keys(e);let M=h.length;for(;M-- >0;){const $=h[M],Y=t[$];if(Y){const ct=e[$],bt=ct===void 0||Y(ct,$,e);if(bt!==!0)throw new ac("option "+$+" must be "+bt,ac.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new ac("Unknown option "+$,ac.ERR_BAD_OPTION)}}const oT={assertOptions:ylt,validators:bS},fv=oT.validators;let Tx=class{constructor(t){this.defaults=t||{},this.interceptors={request:new uB,response:new uB}}async request(t,r){try{return await this._request(t,r)}catch(h){if(h instanceof Error){let M={};Error.captureStackTrace?Error.captureStackTrace(M):M=new Error;const $=M.stack?M.stack.replace(/^.+\n/,""):"";try{h.stack?$&&!String(h.stack).endsWith($.replace(/^.+\n.+\n/,""))&&(h.stack+=` -`+$):h.stack=$}catch{}}throw h}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Ix(this.defaults,r);const{transitional:h,paramsSerializer:M,headers:$}=r;h!==void 0&&oT.assertOptions(h,{silentJSONParsing:fv.transitional(fv.boolean),forcedJSONParsing:fv.transitional(fv.boolean),clarifyTimeoutError:fv.transitional(fv.boolean)},!1),M!=null&&(po.isFunction(M)?r.paramsSerializer={serialize:M}:oT.assertOptions(M,{encode:fv.function,serialize:fv.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),oT.assertOptions(r,{baseUrl:fv.spelling("baseURL"),withXsrfToken:fv.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let Y=$&&po.merge($.common,$[r.method]);$&&po.forEach(["delete","get","head","post","put","patch","common"],He=>{delete $[He]}),r.headers=Sm.concat(Y,$);const ct=[];let bt=!0;this.interceptors.request.forEach(function(qe){typeof qe.runWhen=="function"&&qe.runWhen(r)===!1||(bt=bt&&qe.synchronous,ct.unshift(qe.fulfilled,qe.rejected))});const At=[];this.interceptors.response.forEach(function(qe){At.push(qe.fulfilled,qe.rejected)});let Nt,te=0,xe;if(!bt){const He=[xB.bind(this),void 0];for(He.unshift(...ct),He.push(...At),xe=He.length,Nt=Promise.resolve(r);te{if(!h._listeners)return;let $=h._listeners.length;for(;$-- >0;)h._listeners[$](M);h._listeners=null}),this.promise.then=M=>{let $;const Y=new Promise(ct=>{h.subscribe(ct),$=ct}).then(M);return Y.cancel=function(){h.unsubscribe($)},Y},t(function($,Y,ct){h.reason||(h.reason=new U2($,Y,ct),r(h.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 r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=h=>{t.abort(h)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new OU(function(M){t=M}),cancel:t}}};function xlt(e){return function(r){return e.apply(null,r)}}function blt(e){return po.isObject(e)&&e.isAxiosError===!0}const BM={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,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(BM).forEach(([e,t])=>{BM[t]=e});function BU(e){const t=new Tx(e),r=dU(Tx.prototype.request,t);return po.extend(r,Tx.prototype,t,{allOwnKeys:!0}),po.extend(r,t,null,{allOwnKeys:!0}),r.create=function(M){return BU(Ix(e,M))},r}const Rd=BU(G5);Rd.Axios=Tx;Rd.CanceledError=U2;Rd.CancelToken=_lt;Rd.isCancel=MU;Rd.VERSION=zU;Rd.toFormData=xS;Rd.AxiosError=ac;Rd.Cancel=Rd.CanceledError;Rd.all=function(t){return Promise.all(t)};Rd.spread=xlt;Rd.isAxiosError=blt;Rd.mergeConfig=Ix;Rd.AxiosHeaders=Sm;Rd.formToJSON=e=>CU(po.isHTMLForm(e)?new FormData(e):e);Rd.getAdapter=DU.getAdapter;Rd.HttpStatusCode=BM;Rd.default=Rd;const{Axios:KPt,AxiosError:YPt,CanceledError:XPt,isCancel:JPt,CancelToken:QPt,VERSION:tIt,all:eIt,Cancel:rIt,isAxiosError:iIt,spread:nIt,toFormData:aIt,AxiosHeaders:oIt,HttpStatusCode:sIt,formToJSON:lIt,getAdapter:uIt,mergeConfig:cIt}=Rd,wlt="/api",klt="",Tlt=wlt,Slt=klt,gx=Rd.create({baseURL:Tlt,timeout:5e3,headers:{"Content-Type":"application/json"}});gx.interceptors.request.use(e=>e,e=>(console.error("API Request Error:",e),Promise.reject(e)));gx.interceptors.response.use(e=>e,e=>(console.error("API Response Error:",e.response?.data||e.message),Promise.reject(e)));class Zs{static async get(t,r){try{return(await gx.get(t,{params:r})).data}catch(h){throw this.handleError(h)}}static async post(t,r,h){try{return(await gx.post(t,r,h)).data}catch(M){throw this.handleError(M)}}static async put(t,r,h){try{return(await gx.put(t,r,h)).data}catch(M){throw this.handleError(M)}}static async delete(t,r){try{return(await gx.delete(t,r)).data}catch(h){throw this.handleError(h)}}static async getTransportKeys(){return this.get("transport_keys")}static async sendAdvert(){return this.post("send_advert",{},{headers:{"Content-Type":"application/json"}})}static async createTransportKey(t,r,h,M,$){const Y={name:t,flood_policy:r,parent_id:M,last_used:$};return h!==void 0&&(Y.transport_key=h),this.post("transport_keys",Y)}static async getTransportKey(t){return this.get(`transport_key/${t}`)}static async updateTransportKey(t,r,h,M,$,Y){return this.put(`transport_key/${t}`,{name:r,flood_policy:h,transport_key:M,parent_id:$,last_used:Y})}static async deleteTransportKey(t){return this.delete(`transport_key/${t}`)}static async updateGlobalFloodPolicy(t){return this.post("global_flood_policy",{global_flood_allow:t})}static async getLogs(){try{return(await gx.get("logs")).data}catch(t){throw this.handleError(t)}}static async deleteAdvert(t){return this.delete(`advert/${t}`)}static async pingNeighbor(t){return this.post("ping_neighbor",t)}static async getIdentities(){return this.get("identities")}static async getIdentity(t){return this.get("identity",{name:t})}static async createIdentity(t){return this.post("create_identity",t)}static async updateIdentity(t){return this.put("update_identity",t)}static async deleteIdentity(t){return this.delete(`delete_identity?name=${encodeURIComponent(t)}`)}static async sendRoomServerAdvert(t){return this.post("send_room_server_advert",{name:t})}static async getACLInfo(){return this.get("acl_info")}static async getACLClients(t){return this.get("acl_clients",t)}static async removeACLClient(t){return this.post("acl_remove_client",t)}static async getACLStats(){return this.get("acl_stats")}static async getRoomMessages(t){return this.get("room_messages",t)}static async postRoomMessage(t){return this.post("room_post_message",t)}static async deleteRoomMessage(t){return this.delete(`room_message?room_name=${encodeURIComponent(t.room_name)}&message_id=${t.message_id}`)}static async clearRoomMessages(t){return this.delete(`room_messages?room_name=${encodeURIComponent(t)}`)}static async getRoomStats(t){return this.get("room_stats",t?{room_name:t}:void 0)}static async getRoomClients(t){return this.get("room_clients",{room_name:t})}static handleError(t){if(Rd.isAxiosError(t)){if(t.response){const r=t.response.data?.error||t.response.data?.message||`HTTP ${t.response.status}`;return new Error(r)}else if(t.request)return new Error("Network error - no response received")}return new Error(t instanceof Error?t.message:"Unknown error occurred")}}const xg=dE("system",()=>{const e=ma(null),t=ma(!1),r=ma(null),h=ma(null),M=ma("forward"),$=ma(!0),Y=ma(0),ct=ma(10),bt=ma(!1),At=Ho(()=>e.value?.config?.node_name??"Unknown"),Nt=Ho(()=>{const pr=e.value?.public_key;return!pr||pr==="Unknown"?"Unknown":pr.length>=16?`${pr.slice(0,8)} ... ${pr.slice(-8)}`:`${pr}`}),te=Ho(()=>e.value!==null),xe=Ho(()=>e.value?.version??"Unknown"),Le=Ho(()=>e.value?.core_version??"Unknown"),He=Ho(()=>e.value?.noise_floor_dbm??null),qe=Ho(()=>ct.value>0?Math.min(Y.value/ct.value*100,100):0),lr=Ho(()=>M.value==="monitor"?{text:"Monitor Mode",title:"Monitoring only - not forwarding packets"}:$.value?{text:"Active",title:"Forwarding with duty cycle enforcement"}:{text:"No Limits",title:"Forwarding without duty cycle enforcement"}),Dr=Ho(()=>M.value==="monitor"?{active:!1,warning:!0}:{active:!0,warning:!1}),Bt=Ho(()=>$.value?{active:!0,warning:!1}:{active:!1,warning:!0}),Ai=pr=>{bt.value=pr};async function _r(){try{t.value=!0,r.value=null;const pr=await Zs.get("/stats");if(pr.success&&pr.data)return e.value=pr.data,h.value=new Date,Br(pr.data),pr.data;if(pr&&"version"in pr){const Cr=pr;return e.value=Cr,h.value=new Date,Br(Cr),Cr}else throw new Error(pr.error||"Failed to fetch stats")}catch(pr){throw r.value=pr instanceof Error?pr.message:"Unknown error occurred",console.error("Error fetching stats:",pr),pr}finally{t.value=!1}}function Br(pr){if(pr.config){const $r=pr.config.repeater?.mode;($r==="forward"||$r==="monitor")&&(M.value=$r);const Mr=pr.config.duty_cycle;if(Mr){$.value=Mr.enforcement_enabled!==!1;const Ur=Mr.max_airtime_percent;typeof Ur=="number"?ct.value=Ur:Ur&&typeof Ur=="object"&&"parsedValue"in Ur&&(ct.value=Ur.parsedValue||10)}}const Cr=pr.utilization_percent;typeof Cr=="number"?Y.value=Cr:Cr&&typeof Cr=="object"&&"parsedValue"in Cr&&(Y.value=Cr.parsedValue||0)}async function _i(pr){try{const Cr=await Zs.post("/set_mode",{mode:pr});if(Cr.success)return M.value=pr,!0;throw new Error(Cr.error||"Failed to set mode")}catch(Cr){throw r.value=Cr instanceof Error?Cr.message:"Unknown error occurred",console.error("Error setting mode:",Cr),Cr}}async function Ni(pr){try{const Cr=await Zs.post("/set_duty_cycle",{enabled:pr});if(Cr.success)return $.value=pr,!0;throw new Error(Cr.error||"Failed to set duty cycle")}catch(Cr){throw r.value=Cr instanceof Error?Cr.message:"Unknown error occurred",console.error("Error setting duty cycle:",Cr),Cr}}async function ji(){try{const pr=await Zs.post("/send_advert",{},{timeout:1e4});if(pr.success)return console.log("Advertisement sent successfully:",pr.data),!0;throw new Error(pr.error||"Failed to send advert")}catch(pr){throw r.value=pr instanceof Error?pr.message:"Unknown error occurred",console.error("Error sending advert:",pr),pr}}async function Xr(){const pr=M.value==="forward"?"monitor":"forward";return await _i(pr)}async function on(){return await Ni(!$.value)}async function Ri(pr=5e3){await _r();const Cr=setInterval(async()=>{try{await _r()}catch($r){console.error("Auto-refresh error:",$r)}},pr);return()=>clearInterval(Cr)}function Lr(){e.value=null,r.value=null,h.value=null,t.value=!1,M.value="forward",$.value=!0,Y.value=0,ct.value=10}return{stats:e,isLoading:t,error:r,lastUpdated:h,currentMode:M,dutyCycleEnabled:$,dutyCycleUtilization:Y,dutyCycleMax:ct,cadCalibrationRunning:bt,nodeName:At,pubKey:Nt,hasStats:te,version:xe,coreVersion:Le,noiseFloorDbm:He,dutyCyclePercentage:qe,statusBadge:lr,modeButtonState:Dr,dutyCycleButtonState:Bt,fetchStats:_r,setMode:_i,setDutyCycle:Ni,sendAdvert:ji,toggleMode:Xr,toggleDutyCycle:on,startAutoRefresh:Ri,reset:Lr,setCadCalibrationRunning:Ai}}),Af=(e,t)=>{const r=e.__vccOpts||e;for(const[h,M]of t)r[h]=M;return r},Alt={},Clt={width:"23",height:"25",viewBox:"0 0 23 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Mlt(e,t){return xi(),Ci("svg",Clt,t[0]||(t[0]=[jt("path",{d:"M2.84279 2.25795C2.90709 1.12053 3.17879 0.625914 3.95795 0.228723C4.79631 -0.198778 6.11858 0.000168182 7.67449 0.788054C8.34465 1.12757 8.41289 1.13448 9.58736 0.983905C11.1485 0.783681 13.1582 0.784388 14.5991 0.985738C15.6887 1.13801 15.7603 1.1304 16.4321 0.790174C18.6406 -0.328212 20.3842 -0.255036 21.0156 0.982491C21.3308 1.6002 21.3893 3.20304 21.1449 4.52503C21.0094 5.25793 21.0238 5.34943 21.3502 5.83037C23.6466 9.21443 21.9919 14.6998 18.0569 16.7469C17.7558 16.9036 17.502 17.0005 17.2952 17.0795C16.6602 17.3219 16.4674 17.3956 16.7008 18.5117C16.8132 19.0486 16.9486 20.3833 17.0018 21.478C17.098 23.4567 17.0966 23.4705 16.7495 23.8742C16.2772 24.4233 15.5963 24.4326 15.135 23.8962C14.8341 23.5464 14.8047 23.3812 14.8047 22.0315C14.8047 20.037 14.5861 18.7113 14.0695 17.5753C13.4553 16.2235 13.9106 15.7194 15.3154 15.4173C17.268 14.9973 18.793 13.7923 19.643 11.9978C20.4511 10.2921 20.5729 7.93485 19.1119 6.50124C18.6964 6.00746 18.6674 5.56022 18.9641 4.21159C19.075 3.70754 19.168 3.05725 19.1707 2.76637C19.1749 2.30701 19.1331 2.23764 18.8509 2.23764C18.6724 2.23764 17.9902 2.49736 17.3352 2.81474L16.2897 3.32145C16.1947 3.36751 16.0883 3.38522 15.9834 3.37318C13.3251 3.06805 10.7991 3.06334 8.12774 3.37438C8.02244 3.38663 7.91563 3.36892 7.82025 3.32263L6.77535 2.81559C6.12027 2.49764 5.43813 2.23764 5.25963 2.23764C4.84693 2.23764 4.84072 2.54233 5.2169 4.35258C5.44669 5.45816 5.60133 5.70451 4.93703 6.58851C3.94131 7.91359 3.69258 9.55902 4.22654 11.2878C4.89952 13.4664 6.54749 14.9382 8.86436 15.4292C10.261 15.7253 10.6261 16.1115 10.0928 17.713C9.67293 18.9734 9.40748 19.2982 8.79738 19.2982C7.97649 19.2982 7.46228 18.5871 7.74527 17.843C7.86991 17.5151 7.83283 17.4801 7.06383 17.1996C4.71637 16.3437 2.9209 14.4254 2.10002 11.8959C1.46553 9.94098 1.74471 7.39642 2.76257 5.85843C3.10914 5.33477 3.1145 5.29036 2.95277 4.28787C2.86126 3.72037 2.81177 2.80699 2.84279 2.25795Z",fill:"white"},null,-1),jt("path",{d:"M2.02306 16.5589C1.68479 16.0516 0.999227 15.9144 0.491814 16.2527C-0.0155884 16.591 -0.152708 17.2765 0.185564 17.7839C0.435301 18.1586 0.734065 18.4663 0.987777 18.72C1.03455 18.7668 1.08 18.8119 1.12438 18.856C1.3369 19.0671 1.52455 19.2535 1.71302 19.4748C2.12986 19.964 2.54572 20.623 2.78206 21.8047C2.88733 22.3311 3.26569 22.6147 3.47533 22.7386C3.70269 22.8728 3.9511 22.952 4.15552 23.0036C4.57369 23.109 5.08133 23.1638 5.56309 23.1957C6.09196 23.2308 6.665 23.2422 7.17743 23.2453C7.1778 23.8547 7.67202 24.3487 8.28162 24.3487C8.89146 24.3487 9.38582 23.8543 9.38582 23.2445V22.1403C9.38582 21.5305 8.89146 21.0361 8.28162 21.0361C8.17753 21.0361 8.06491 21.0364 7.94562 21.0369C7.29761 21.0389 6.45295 21.0414 5.70905 20.9922C5.35033 20.9684 5.05544 20.9347 4.8392 20.8936C4.50619 19.5863 3.96821 18.7165 3.39415 18.0426C3.14038 17.7448 2.87761 17.4842 2.66387 17.2722C2.62385 17.2326 2.58556 17.1946 2.54935 17.1584C2.30273 16.9118 2.1414 16.7365 2.02306 16.5589Z",fill:"white"},null,-1)]))}const Elt=Af(Alt,[["render",Mlt]]),Llt={},Plt={width:"17",height:"24",viewBox:"0 0 17 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Ilt(e,t){return xi(),Ci("svg",Plt,t[0]||(t[0]=[zh('',12)]))}const Dlt=Af(Llt,[["render",Ilt]]),K5=dE("packets",()=>{const e=ma(null),t=ma(null),r=ma([]),h=ma([]),M=ma(null),$=ma(!1),Y=ma(null),ct=ma(null),bt=ma([]),At=ma([]),Nt=Ho(()=>e.value!==null),te=Ho(()=>t.value!==null),xe=Ho(()=>r.value.length>0),Le=Ho(()=>h.value.length>0),He=Ho(()=>M.value?.avg_noise_floor??0),qe=Ho(()=>e.value?.total_packets??0),lr=Ho(()=>e.value?.avg_rssi??0),Dr=Ho(()=>e.value?.avg_snr??0),Bt=Ho(()=>t.value?.uptime_seconds??0),Ai=Ho(()=>{if(!e.value?.packet_types)return[];const Mr=e.value.packet_types,Ur=Mr.reduce((Li,qn)=>Li+qn.count,0);return Mr.map(Li=>({type:Li.type.toString(),count:Li.count,percentage:Ur>0?Li.count/Ur*100:0}))}),_r=Ho(()=>{const Mr={};return r.value.forEach(Ur=>{Mr[Ur.type]||(Mr[Ur.type]=[]),Mr[Ur.type].push(Ur)}),Mr});async function Br(){try{const Mr=await Zs.get("/stats");if(Mr.success&&Mr.data){t.value=Mr.data;const Ur=new Date;return At.value.push({timestamp:Ur,stats:Mr.data}),At.value.length>50&&(At.value=At.value.slice(-50)),Mr.data}else if(Mr&&"version"in Mr){const Ur=Mr;t.value=Ur;const Li=new Date;return At.value.push({timestamp:Li,stats:Ur}),At.value.length>50&&(At.value=At.value.slice(-50)),Ur}else throw new Error(Mr.error||"Failed to fetch system stats")}catch(Mr){throw Y.value=Mr instanceof Error?Mr.message:"Unknown error occurred",console.error("Error fetching system stats:",Mr),Mr}}async function _i(Mr={hours:24}){try{const Ur=await Zs.get("/noise_floor_history",Mr);if(Ur.success&&Ur.data&&Ur.data.history)return h.value=Ur.data.history,ct.value=new Date,Ur.data.history;throw new Error(Ur.error||"Failed to fetch noise floor history")}catch(Ur){throw Y.value=Ur instanceof Error?Ur.message:"Unknown error occurred",console.error("Error fetching noise floor history:",Ur),Ur}}async function Ni(Mr={hours:24}){try{const Ur=await Zs.get("/noise_floor_stats",Mr);if(Ur.success&&Ur.data&&Ur.data.stats)return M.value=Ur.data.stats,ct.value=new Date,Ur.data.stats;throw new Error(Ur.error||"Failed to fetch noise floor stats")}catch(Ur){throw Y.value=Ur instanceof Error?Ur.message:"Unknown error occurred",console.error("Error fetching noise floor stats:",Ur),Ur}}const ji=Ho(()=>!h.value||!Array.isArray(h.value)?[]:h.value.slice(-50).map(Mr=>Mr.noise_floor_dbm));async function Xr(Mr={hours:24}){try{$.value=!0,Y.value=null;const Ur=await Zs.get("/packet_stats",Mr);if(Ur.success&&Ur.data){e.value=Ur.data;const Li=new Date;bt.value.push({timestamp:Li,stats:Ur.data}),bt.value.length>50&&(bt.value=bt.value.slice(-50)),ct.value=Li}else throw new Error(Ur.error||"Failed to fetch packet stats")}catch(Ur){Y.value=Ur instanceof Error?Ur.message:"Unknown error occurred",console.error("Error fetching packet stats:",Ur)}finally{$.value=!1}}async function on(Mr={limit:100}){try{$.value=!0,Y.value=null;const Ur=await Zs.get("/recent_packets",Mr);if(Ur.success&&Ur.data)r.value=Ur.data,ct.value=new Date;else throw new Error(Ur.error||"Failed to fetch recent packets")}catch(Ur){Y.value=Ur instanceof Error?Ur.message:"Unknown error occurred",console.error("Error fetching recent packets:",Ur)}finally{$.value=!1}}async function Ri(Mr){try{$.value=!0,Y.value=null;const Ur=await Zs.get("/filtered_packets",Mr);if(Ur.success&&Ur.data)return r.value=Ur.data,ct.value=new Date,Ur.data;throw new Error(Ur.error||"Failed to fetch filtered packets")}catch(Ur){throw Y.value=Ur instanceof Error?Ur.message:"Unknown error occurred",console.error("Error fetching filtered packets:",Ur),Ur}finally{$.value=!1}}async function Lr(Mr){try{$.value=!0,Y.value=null;const Ur=await Zs.get("/packet_by_hash",{packet_hash:Mr});if(Ur.success&&Ur.data)return Ur.data;throw new Error(Ur.error||"Packet not found")}catch(Ur){throw Y.value=Ur instanceof Error?Ur.message:"Unknown error occurred",console.error("Error fetching packet by hash:",Ur),Ur}finally{$.value=!1}}const pr=Ho(()=>{const Mr=bt.value,Ur=At.value;return{totalPackets:Mr.map(Li=>Li.stats.total_packets),transmittedPackets:Mr.map(Li=>Li.stats.transmitted_packets),droppedPackets:Mr.map(Li=>Li.stats.dropped_packets),avgRssi:Mr.map(Li=>Li.stats.avg_rssi),uptimeHours:Ur.map(Li=>Math.floor((Li.stats.uptime_seconds||0)/3600))}});async function Cr(Mr=3e4){await Promise.all([Br(),Xr(),on(),_i({hours:1}),Ni({hours:1})]);const Ur=setInterval(async()=>{try{await Promise.all([Br(),Xr(),on(),_i({hours:1}),Ni({hours:1})])}catch(Li){console.error("Auto-refresh error:",Li)}},Mr);return()=>clearInterval(Ur)}function $r(){e.value=null,t.value=null,r.value=[],h.value=[],M.value=null,bt.value=[],At.value=[],Y.value=null,ct.value=null,$.value=!1}return{packetStats:e,systemStats:t,recentPackets:r,noiseFloorHistory:h,noiseFloorStats:M,packetStatsHistory:bt,systemStatsHistory:At,isLoading:$,error:Y,lastUpdated:ct,hasPacketStats:Nt,hasSystemStats:te,hasRecentPackets:xe,hasNoiseFloorData:Le,currentNoiseFloor:He,totalPackets:qe,averageRSSI:lr,averageSNR:Dr,uptime:Bt,packetTypeBreakdown:Ai,recentPacketsByType:_r,sparklineData:pr,noiseFloorSparklineData:ji,fetchSystemStats:Br,fetchPacketStats:Xr,fetchRecentPackets:on,fetchFilteredPackets:Ri,getPacketByHash:Lr,fetchNoiseFloorHistory:_i,fetchNoiseFloorStats:Ni,startAutoRefresh:Cr,reset:$r}}),zlt={class:"glass-card-green p-5 relative overflow-hidden"},Olt={key:0,class:"absolute inset-0 bg-black/60 backdrop-blur-sm flex items-center justify-center z-10 rounded-lg"},Blt={class:"flex items-baseline gap-2 mb-8"},Rlt={class:"text-primary text-2xl font-medium"},Flt={class:"absolute bottom-0 left-5 w-[196px] h-[30px]",viewBox:"0 0 196 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Nlt=["d"],jlt=["d"],Ult=["cy"],Hlt=cc({__name:"RFNoiseFloor",setup(e){const t=K5(),r=xg(),h=ma(null),M=Nt=>{if(Nt.length<2)return"";const te=196,xe=30,Le=4,He=-125,lr=-105-He;let Dr="";return Nt.forEach((Bt,Ai)=>{const _r=Ai/(Nt.length-1)*te,Br=(Bt-He)/lr,_i=xe-Br*(xe-Le*2)-Le;if(Ai===0)Dr+=`M ${_r} ${_i}`;else{const ji=((Ai-1)/(Nt.length-1)*te+_r)/2;Dr+=` Q ${ji} ${_i} ${_r} ${_i}`}}),Dr},$=async()=>{try{await Promise.all([t.fetchNoiseFloorHistory({hours:1}),t.fetchNoiseFloorStats({hours:1})])}catch(Nt){console.error("Error fetching noise floor data:",Nt)}};jd(()=>{$(),h.value=window.setInterval($,5e3)}),Ug(()=>{h.value&&clearInterval(h.value)});const Y=Ho(()=>{const Nt=t.noiseFloorSparklineData;return Nt&&Nt.length>0?Nt[Nt.length-1]:t.noiseFloorStats?.avg_noise_floor??-116}),ct=Ho(()=>t.noiseFloorSparklineData),bt=Ho(()=>M(ct.value)),At=Ho(()=>{if(ct.value.length===0)return 15;const Nt=ct.value[ct.value.length-1],te=-125,Le=-105-te;return 30-(Nt-te)/Le*22-4});return(Nt,te)=>(xi(),Ci("div",zlt,[Ul(r).cadCalibrationRunning?(xi(),Ci("div",Olt,te[0]||(te[0]=[zh('
CAD Calibration

In Progress

',1)]))):io("",!0),te[4]||(te[4]=jt("p",{class:"text-dark-text text-xs uppercase mb-2"},"RF NOISE FLOOR",-1)),jt("div",Blt,[jt("span",Rlt,Hi(Y.value),1),te[1]||(te[1]=jt("span",{class:"text-dark-text text-xs uppercase"},"dBm",-1))]),(xi(),Ci("svg",Flt,[te[3]||(te[3]=zh('',1)),ct.value.length>1?(xi(),Ci("path",{key:0,d:`${bt.value} L 196 30 L 0 30 Z`,fill:"url(#rf-noise-gradient)",class:"transition-all duration-500 ease-out"},null,8,Nlt)):io("",!0),ct.value.length>1?(xi(),Ci("path",{key:1,d:bt.value,stroke:"#B1FFFF","stroke-width":"2",fill:"none",filter:"url(#line-glow)",class:"transition-all duration-500 ease-out"},null,8,jlt)):io("",!0),ct.value.length>0?(xi(),Ci("circle",{key:2,cx:196,cy:At.value,r:"2",fill:"#B1FFFF",class:"animate-pulse"},te[2]||(te[2]=[jt("animate",{attributeName:"r",values:"2;3;2",dur:"2s",repeatCount:"indefinite"},null,-1)]),8,Ult)):io("",!0)]))]))}}),RU=Af(Hlt,[["__scopeId","data-v-ad12b3cb"]]),$lt={},Vlt={width:"800px",height:"800px",viewBox:"0 -1.5 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",class:"w-full h-full"};function Wlt(e,t){return xi(),Ci("svg",Vlt,t[0]||(t[0]=[jt("g",{id:"Page-1",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[jt("g",{transform:"translate(-420.000000, -3641.000000)",fill:"currentColor"},[jt("g",{id:"icons",transform:"translate(56.000000, 160.000000)"},[jt("path",{d:"M378.195439,3483.828 L376.781439,3485.242 C378.195439,3486.656 378.294439,3489.588 376.880439,3491.002 L378.294439,3492.417 C380.415439,3490.295 380.316439,3485.949 378.195439,3483.828 M381.023439,3481 L379.609439,3482.414 C382.438439,3485.242 382.537439,3491.002 379.708439,3493.831 L381.122439,3495.245 C385.365439,3491.002 384.559439,3484.535 381.023439,3481 M375.432439,3486.737 C375.409439,3486.711 375.392439,3486.682 375.367439,3486.656 L375.363439,3486.66 C374.582439,3485.879 373.243439,3485.952 372.536439,3486.659 C371.829439,3487.366 371.831439,3488.778 372.538439,3489.485 C372.547439,3489.494 372.558439,3489.499 372.567439,3489.508 C372.590439,3489.534 372.607439,3489.563 372.632439,3489.588 L372.636439,3489.585 C373.201439,3490.15 373.000439,3488.284 373.000439,3498 L375.000439,3498 C375.000439,3488.058 374.753439,3490.296 375.463439,3489.586 C376.170439,3488.879 376.168439,3487.467 375.461439,3486.76 C375.452439,3486.751 375.441439,3486.746 375.432439,3486.737 M371.119439,3485.242 L369.705439,3483.828 C367.584439,3485.949 367.683439,3490.295 369.804439,3492.417 L371.218439,3491.002 C369.804439,3489.588 369.705439,3486.656 371.119439,3485.242 M368.390439,3493.831 L366.976439,3495.245 C363.440439,3491.709 362.634439,3485.242 366.877439,3481 L368.291439,3482.414 C365.462439,3485.242 365.561439,3491.002 368.390439,3493.831",id:"radio_tower-[#1019]"})])])],-1)]))}const qlt=Af($lt,[["render",Wlt]]),Zlt={class:"text-center"},Glt={class:"relative flex items-center justify-center mb-8"},Klt={class:"relative w-32 h-32"},Ylt={class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2"},Xlt={key:0,class:"absolute inset-0 flex items-center justify-center"},Jlt={key:1,class:"absolute inset-0 flex items-center justify-center"},Qlt={key:2,class:"absolute inset-0"},tut={class:"mb-6"},eut={key:0,class:"text-white text-lg"},rut={key:1,class:"text-accent-green text-lg font-medium"},iut={key:2,class:"text-secondary text-lg"},nut={key:3,class:"text-accent-red text-lg"},aut={key:4,class:"text-dark-text"},out={key:5,class:"mt-3"},sut={key:0,class:"text-secondary text-sm"},lut={key:1,class:"text-accent-red text-sm"},uut={key:0,class:"flex gap-3"},cut={key:1,class:"text-dark-text text-sm"},hut=cc({name:"AdvertModal",__name:"AdvertModal",props:{isOpen:{type:Boolean},isLoading:{type:Boolean},isSuccess:{type:Boolean},error:{default:null}},emits:["close","send"],setup(e,{emit:t}){const r=e,h=t,M=ma(!1),$=ma(!1),Y=ma(!1);Bg(()=>r.isOpen,Nt=>{Nt?(M.value=!0,setTimeout(()=>{$.value=!0},50)):($.value=!1,Y.value=!1,setTimeout(()=>{M.value=!1},300))},{immediate:!0}),Bg(()=>r.isLoading,Nt=>{Nt||setTimeout(()=>{Y.value=!1},1e3)});const ct=()=>{r.isLoading||h("close")},bt=()=>{r.isLoading||(Y.value=!0,h("send"))},At=Nt=>Nt?.includes("Network error - no response received")||Nt?.includes("timeout");return(Nt,te)=>(xi(),_0(aE,{to:"body"},[M.value?(xi(),Ci("div",{key:0,class:"fixed inset-0 z-50 flex items-center justify-center p-4",onClick:j0(ct,["self"])},[jt("div",{class:to(["absolute inset-0 bg-black/60 backdrop-blur-sm transition-opacity duration-300",$.value?"opacity-100":"opacity-0"])},null,2),jt("div",{class:to(["relative glass-card rounded-[20px] p-8 max-w-md w-full transform transition-all duration-300",$.value?"scale-100 opacity-100":"scale-95 opacity-0"])},[Nt.isLoading?io("",!0):(xi(),Ci("button",{key:0,onClick:ct,class:"absolute top-4 right-4 text-dark-text hover:text-white transition-colors p-2"},te[0]||(te[0]=[jt("svg",{class:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[jt("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)]))),jt("div",Zlt,[te[6]||(te[6]=jt("h2",{class:"text-white text-xl font-semibold mb-6"},"Send Advertisement",-1)),jt("div",Glt,[jt("div",Klt,[jt("div",Ylt,[Sl(qlt,{class:to(["w-16 h-16 transition-all duration-500",[Nt.isLoading?"animate-pulse":"",Nt.isSuccess?"text-accent-green":Nt.error&&!At(Nt.error)?"text-accent-red":"text-primary"]]),style:km({filter:Nt.isLoading?"drop-shadow(0 0 8px currentColor)":Nt.isSuccess?"drop-shadow(0 0 8px #A5E5B6)":Nt.error&&!At(Nt.error)?"drop-shadow(0 0 8px #FB787B)":"drop-shadow(0 0 4px #AAE8E8)"})},null,8,["class","style"])]),Nt.isLoading||Nt.isSuccess?(xi(),Ci("div",Xlt,[jt("div",{class:to(["absolute w-16 h-16 rounded-full border-2 animate-ping",[Nt.isSuccess?"border-accent-green/60":"border-primary/60"]]),style:{"animation-duration":"1.5s"}},null,2),jt("div",{class:to(["absolute w-24 h-24 rounded-full border-2 animate-ping",[Nt.isSuccess?"border-accent-green/40":"border-primary/40"]]),style:{"animation-duration":"2s","animation-delay":"0.3s"}},null,2),jt("div",{class:to(["absolute w-32 h-32 rounded-full border-2 animate-ping",[Nt.isSuccess?"border-accent-green/20":"border-primary/20"]]),style:{"animation-duration":"2.5s","animation-delay":"0.6s"}},null,2)])):io("",!0),Y.value?(xi(),Ci("div",Jlt,te[1]||(te[1]=[jt("div",{class:"absolute w-8 h-8 rounded-full border-4 border-secondary animate-ping-fast"},null,-1),jt("div",{class:"absolute w-16 h-16 rounded-full border-3 border-secondary/70 animate-ping-fast",style:{"animation-delay":"0.1s"}},null,-1),jt("div",{class:"absolute w-24 h-24 rounded-full border-2 border-secondary/50 animate-ping-fast",style:{"animation-delay":"0.2s"}},null,-1),jt("div",{class:"absolute w-32 h-32 rounded-full border-2 border-secondary/30 animate-ping-fast",style:{"animation-delay":"0.3s"}},null,-1)]))):io("",!0),Nt.isLoading||Nt.isSuccess?(xi(),Ci("div",Qlt,[jt("div",{class:to(["absolute top-2 right-2 w-4 h-4 rounded-full transition-all duration-500 animate-pulse",[Nt.isSuccess?"bg-accent-green shadow-lg shadow-accent-green/50":"bg-primary/70 shadow-lg shadow-primary/30"]]),style:{"animation-delay":"0.5s"}},te[2]||(te[2]=[jt("div",{class:"w-2 h-2 bg-white rounded-full mx-auto mt-1"},null,-1)]),2),jt("div",{class:to(["absolute bottom-2 left-2 w-4 h-4 rounded-full transition-all duration-500 animate-pulse",[Nt.isSuccess?"bg-accent-green shadow-lg shadow-accent-green/50":"bg-primary/70 shadow-lg shadow-primary/30"]]),style:{"animation-delay":"1s"}},te[3]||(te[3]=[jt("div",{class:"w-2 h-2 bg-white rounded-full mx-auto mt-1"},null,-1)]),2),jt("div",{class:to(["absolute top-1/2 right-1 w-4 h-4 rounded-full transition-all duration-500 animate-pulse",[Nt.isSuccess?"bg-accent-green shadow-lg shadow-accent-green/50":"bg-primary/70 shadow-lg shadow-primary/30"]]),style:{"animation-delay":"1.5s",transform:"translateY(-50%)"}},te[4]||(te[4]=[jt("div",{class:"w-2 h-2 bg-white rounded-full mx-auto mt-1"},null,-1)]),2),jt("div",{class:to(["absolute top-3 left-3 w-4 h-4 rounded-full transition-all duration-500 animate-pulse",[Nt.isSuccess?"bg-accent-green shadow-lg shadow-accent-green/50":"bg-primary/70 shadow-lg shadow-primary/30"]]),style:{"animation-delay":"2s"}},te[5]||(te[5]=[jt("div",{class:"w-2 h-2 bg-white rounded-full mx-auto mt-1"},null,-1)]),2)])):io("",!0)])]),jt("div",tut,[Nt.isLoading?(xi(),Ci("p",eut," Broadcasting advertisement... ")):Nt.isSuccess?(xi(),Ci("p",rut," Advertisement sent successfully! ")):Nt.error&&At(Nt.error)?(xi(),Ci("p",iut," Advertisement likely sent ")):Nt.error?(xi(),Ci("p",nut," Failed to send advertisement ")):(xi(),Ci("p",aut," This will broadcast your node's presence to nearby nodes. ")),Nt.error?(xi(),Ci("div",out,[At(Nt.error)?(xi(),Ci("p",sut," Network timeout occurred, but the advertisement may have been successfully transmitted to nearby nodes. ")):(xi(),Ci("p",lut,Hi(Nt.error),1))])):io("",!0)]),!Nt.isLoading&&!Nt.isSuccess?(xi(),Ci("div",uut,[jt("button",{onClick:ct,class:"flex-1 glass-card border border-dark-border hover:border-primary rounded-[10px] px-6 py-3 text-dark-text hover:text-white transition-all duration-200"}," Cancel "),jt("button",{onClick:bt,class:to(["flex-1 rounded-[10px] px-6 py-3 font-medium transition-all duration-200 shadow-lg",[Nt.error&&At(Nt.error)?"bg-secondary hover:bg-secondary/90 text-dark-bg hover:shadow-secondary/20":"bg-primary hover:bg-primary/90 text-dark-bg hover:shadow-primary/20"]])},Hi(Nt.error&&At(Nt.error)?"Try Again":"Send Advertisement"),3)])):io("",!0),Nt.isSuccess?(xi(),Ci("div",cut," Closing automatically... ")):io("",!0)])],2)])):io("",!0)]))}}),FU=Af(hut,[["__scopeId","data-v-a5eb8c7f"]]),fut={},dut={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function put(e,t){return xi(),Ci("svg",dut,t[0]||(t[0]=[zh('',2)]))}const DT=Af(fut,[["render",put]]),mut={},gut={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function vut(e,t){return xi(),Ci("svg",gut,t[0]||(t[0]=[zh('',9)]))}const NU=Af(mut,[["render",vut]]),yut={},_ut={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function xut(e,t){return xi(),Ci("svg",_ut,t[0]||(t[0]=[zh('',2)]))}const jU=Af(yut,[["render",xut]]),but={},wut={width:"11",height:"14",viewBox:"0 0 11 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function kut(e,t){return xi(),Ci("svg",wut,t[0]||(t[0]=[jt("path",{d:"M9.81633 1.99133L8.5085 0.683492C8.29229 0.466088 8.03511 0.293723 7.75185 0.176372C7.46859 0.059021 7.16486 -0.000985579 6.85825 -0.000175002H1.75C1.28587 -0.000175002 0.840752 0.184199 0.512563 0.512388C0.184375 0.840577 0 1.2857 0 1.74983V13.9998H10.5V3.64099C10.4985 3.02248 10.2528 2.4296 9.81633 1.99133ZM8.9915 2.81616C9.02083 2.84799 9.04829 2.88149 9.07375 2.91649H7.58333V1.42608C7.61834 1.45153 7.65184 1.479 7.68367 1.50833L8.9915 2.81616ZM1.16667 12.8332V1.74983C1.16667 1.59512 1.22812 1.44674 1.33752 1.33735C1.44692 1.22795 1.59529 1.16649 1.75 1.16649H6.41667V4.08316H9.33333V12.8332H1.16667ZM2.33333 9.33316H8.16667V5.83316H2.33333V9.33316ZM3.5 6.99983H7V8.16649H3.5V6.99983ZM2.33333 10.4998H8.16667V11.6665H2.33333V10.4998Z",fill:"white"},null,-1)]))}const UU=Af(but,[["render",kut]]),Tut={},Sut={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Aut(e,t){return xi(),Ci("svg",Sut,t[0]||(t[0]=[jt("path",{d:"M12.25 0H1.75C1.28587 0 0.840752 0.184375 0.512563 0.512563C0.184375 0.840752 0 1.28587 0 1.75V12.25C0 12.7141 0.184375 13.1592 0.512563 13.4874C0.840752 13.8156 1.28587 14 1.75 14H12.25C12.7141 14 13.1592 13.8156 13.4874 13.4874C13.8156 13.1592 14 12.7141 14 12.25V1.75C14 1.28587 13.8156 0.840752 13.4874 0.512563C13.1592 0.184375 12.7141 0 12.25 0ZM12.8333 12.25C12.8333 12.4047 12.7719 12.5531 12.6625 12.6625C12.5531 12.7719 12.4047 12.8333 12.25 12.8333H1.75C1.59529 12.8333 1.44692 12.7719 1.33752 12.6625C1.22812 12.5531 1.16667 12.4047 1.16667 12.25V1.75C1.16667 1.59529 1.22812 1.44692 1.33752 1.33752C1.44692 1.22812 1.59529 1.16667 1.75 1.16667H12.25C12.4047 1.16667 12.5531 1.22812 12.6625 1.33752C12.7719 1.44692 12.8333 1.59529 12.8333 1.75V12.25ZM3.23583 7.41317L5.23583 9.41317C5.29134 9.46685 5.35738 9.50892 5.43004 9.53689C5.5027 9.56485 5.58055 9.57812 5.65892 9.57579C5.73729 9.57347 5.81418 9.5556 5.88513 9.52325C5.95608 9.4909 6.01963 9.44476 6.07175 9.38792C6.12387 9.33108 6.16351 9.26467 6.18833 9.19237C6.21315 9.12007 6.22263 9.04335 6.21618 8.96725C6.20973 8.89115 6.18746 8.81722 6.15078 8.74965C6.11411 8.68207 6.06376 8.62223 6.00292 8.57383L4.66708 7.23617L6.00292 5.90033C6.10827 5.78972 6.16669 5.64161 6.16522 5.48792C6.16375 5.33423 6.10251 5.1873 5.99491 5.07882C5.88731 4.97034 5.74082 4.90791 5.58716 4.90522C5.4335 4.90254 5.28489 4.95982 5.17367 5.06417L3.17367 7.06417C3.06317 7.17386 3.00063 7.32313 3.00063 7.47867C3.00063 7.63421 3.06317 7.78348 3.17367 7.89317L3.23583 7.41317ZM8.75 10.5H7.58333C7.4286 10.5 7.28025 10.5615 7.17085 10.6709C7.06146 10.7803 7 10.9286 7 11.0833C7 11.2381 7.06146 11.3864 7.17085 11.4958C7.28025 11.6052 7.4286 11.6667 7.58333 11.6667H8.75C8.90473 11.6667 9.05308 11.6052 9.16248 11.4958C9.27188 11.3864 9.33333 11.2381 9.33333 11.0833C9.33333 10.9286 9.27188 10.7803 9.16248 10.6709C9.05308 10.5615 8.90473 10.5 8.75 10.5Z",fill:"white"},null,-1)]))}const HU=Af(Tut,[["render",Aut]]),Cut={},Mut={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Eut(e,t){return xi(),Ci("svg",Mut,t[0]||(t[0]=[zh('',2)]))}const $U=Af(Cut,[["render",Eut]]),Lut={name:"SystemIcon"},Put={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Iut(e,t,r,h,M,$){return xi(),Ci("svg",Put,t[0]||(t[0]=[zh('',5)]))}const zT=Af(Lut,[["render",Iut]]),Dut={},zut={width:"11",height:"14",viewBox:"0 0 11 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Out(e,t){return xi(),Ci("svg",zut,t[0]||(t[0]=[jt("path",{d:"M10.5 14.0004H9.33333V11.0586C9.33287 10.6013 9.15099 10.1628 8.82761 9.83942C8.50422 9.51603 8.06575 9.33415 7.60842 9.33369H2.89158C2.43425 9.33415 1.99578 9.51603 1.67239 9.83942C1.34901 10.1628 1.16713 10.6013 1.16667 11.0586V14.0004H0V11.0586C0.000926233 10.292 0.305872 9.55705 0.847948 9.01497C1.39002 8.47289 2.12497 8.16795 2.89158 8.16702H7.60842C8.37503 8.16795 9.10998 8.47289 9.65205 9.01497C10.1941 9.55705 10.4991 10.292 10.5 11.0586V14.0004Z",fill:"white"},null,-1),jt("path",{d:"M5.25 6.99997C4.55777 6.99997 3.88108 6.7947 3.30551 6.41011C2.72993 6.02553 2.28133 5.4789 2.01642 4.83936C1.75152 4.19982 1.6822 3.49609 1.81725 2.81716C1.9523 2.13822 2.28564 1.51458 2.77513 1.0251C3.26461 0.535614 3.88825 0.202271 4.56719 0.0672226C5.24612 -0.0678257 5.94985 0.00148598 6.58939 0.266393C7.22894 0.531299 7.77556 0.979903 8.16015 1.55548C8.54473 2.13105 8.75 2.80774 8.75 3.49997C8.74908 4.42794 8.38003 5.31765 7.72385 5.97382C7.06768 6.63 6.17798 6.99904 5.25 6.99997ZM5.25 1.16664C4.78851 1.16664 4.33739 1.30349 3.95367 1.55988C3.56996 1.81627 3.27089 2.18068 3.09428 2.60704C2.91768 3.0334 2.87147 3.50256 2.9615 3.95518C3.05153 4.4078 3.27376 4.82357 3.60009 5.14989C3.92641 5.47621 4.34217 5.69844 4.79479 5.78847C5.24741 5.8785 5.71657 5.83229 6.14293 5.65569C6.56929 5.47909 6.93371 5.18002 7.1901 4.7963C7.44649 4.41259 7.58334 3.96146 7.58334 3.49997C7.58334 2.88113 7.3375 2.28764 6.89992 1.85006C6.46233 1.41247 5.86884 1.16664 5.25 1.16664Z",fill:"white"},null,-1)]))}const VU=Af(Dut,[["render",Out]]),But={},Rut={width:"11",height:"13",viewBox:"0 0 11 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Fut(e,t){return xi(),Ci("svg",Rut,t[0]||(t[0]=[jt("path",{d:"M6.77889 9.16667H10.1122V12.5M4.11222 3.83333H0.77889V0.5M10.3906 4.50227C10.0168 3.57711 9.39097 2.77536 8.58423 2.18815C7.77749 1.60094 6.82233 1.25168 5.82707 1.18034C4.8318 1.109 3.83627 1.31827 2.95402 1.78441C2.07177 2.25055 1.3381 2.95503 0.836182 3.81742M0.500244 8.49805C0.874034 9.42321 1.49986 10.225 2.30661 10.8122C3.11335 11.3994 4.06948 11.7482 5.06474 11.8195C6.06001 11.8909 7.05473 11.6816 7.93697 11.2155C8.81922 10.7494 9.55239 10.045 10.0543 9.18262",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))}const WU=Af(But,[["render",Fut]]),Nut={},jut={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Uut(e,t){return xi(),Ci("svg",jut,t[0]||(t[0]=[zh('',2)]))}const qU=Af(Nut,[["render",Uut]]),Hut={class:"w-[285px] flex-shrink-0 p-[15px] hidden lg:block"},$ut={class:"glass-card h-full p-6"},Vut={class:"mb-12"},Wut={class:"text-[#C3C3C3] text-sm"},qut=["title"],Zut={class:"text-[#C3C3C3] text-sm mt-1"},Gut={class:"mb-8"},Kut={class:"mb-8"},Yut={class:"space-y-2"},Xut=["onClick"],Jut={class:"mb-8"},Qut={class:"space-y-2"},tct=["onClick"],ect={class:"mb-8"},rct={class:"space-y-2"},ict=["onClick"],nct={class:"mb-8"},act={class:"space-y-2"},oct=["onClick"],sct=["disabled"],lct={class:"flex items-center gap-3"},uct=["disabled"],cct={class:"flex items-center gap-3"},hct={class:"mb-4"},fct={class:"flex items-center gap-2"},dct={class:"glass-card px-2 py-1 text-dark-text text-xs font-medium rounded border border-dark-border"},pct={class:"glass-card px-2 py-1 text-dark-text text-xs font-medium rounded border border-dark-border"},mct={key:0,class:"mb-4"},gct={class:"text-dark-text text-xs mb-2"},vct={class:"text-white"},yct={class:"w-full h-1 bg-white/10 rounded-full overflow-hidden"},_ct={class:"flex items-center justify-between"},xct={class:"flex items-center gap-2 text-dark-text text-xs"},bct={class:"flex items-center gap-2"},wct={href:"https://github.com/rightup",target:"_blank",class:"inline-block"},kct={href:"https://buymeacoffee.com/rightup",target:"_blank",class:"inline-block"},Tct=cc({name:"SidebarNav",__name:"Sidebar",setup(e){const t=hU(),r=fU(),h=xg(),M=ma(!1),$=ma(!1),Y=ma(!1),ct=ma(!1),bt=ma(!1),At=ma(null);let Nt=null;jd(async()=>{Nt=await h.startAutoRefresh(5e3)}),F1(()=>{Nt&&Nt()});const te={dashboard:NU,neighbors:VU,statistics:$U,"system-stats":zT,sessions:zT,configuration:DT,"room-servers":DT,logs:UU,terminal:HU,help:jU},xe=[{name:"Dashboard",icon:"dashboard",route:"/"},{name:"Neighbors",icon:"neighbors",route:"/neighbors"},{name:"Statistics",icon:"statistics",route:"/statistics"},{name:"System Stats",icon:"system-stats",route:"/system-stats"},{name:"Sessions",icon:"sessions",route:"/sessions"},{name:"Configuration",icon:"configuration",route:"/configuration"},{name:"Terminal",icon:"terminal",route:"/terminal"},{name:"Room Servers",icon:"room-servers",route:"/room-servers"},{name:"Logs",icon:"logs",route:"/logs"},{name:"Help",icon:"help",route:"/help"}],Le=Ho(()=>Br=>r.path===Br),He=Br=>{t.push(Br)},qe=async()=>{M.value=!0,At.value=null;try{await h.sendAdvert(),bt.value=!0,setTimeout(()=>{lr()},2e3)}catch(Br){At.value=Br instanceof Error?Br.message:"Unknown error occurred",console.error("Failed to send advert:",Br)}finally{M.value=!1}},lr=()=>{ct.value=!1,bt.value=!1,At.value=null,M.value=!1},Dr=async()=>{if(!$.value){$.value=!0;try{await h.toggleMode()}catch(Br){console.error("Failed to toggle mode:",Br)}finally{$.value=!1}}},Bt=async()=>{if(!Y.value){Y.value=!0;try{await h.toggleDutyCycle()}catch(Br){console.error("Failed to toggle duty cycle:",Br)}finally{Y.value=!1}}},Ai=ma(new Date().toLocaleTimeString());setInterval(()=>{Ai.value=new Date().toLocaleTimeString()},1e3);const _r=Ho(()=>{const Br=h.dutyCyclePercentage;let _i="#A5E5B6";return Br>90?_i="#FB787B":Br>70&&(_i="#FFC246"),{width:Br===0?"2px":`${Math.max(Br,2)}%`,backgroundColor:_i}});return(Br,_i)=>(xi(),Ci(bl,null,[jt("aside",Hut,[jt("div",$ut,[jt("div",Vut,[_i[1]||(_i[1]=jt("div",{class:"mb-2 flex justify-center"},[jt("img",{src:jat,alt:"MeshCore",class:"h-4 opacity-80"})],-1)),_i[2]||(_i[2]=jt("h1",{class:"text-white text-[22px] font-extrabold tracking-tight mb-3 text-center",style:{"font-family":"system-ui, -apple-system, sans-serif"}},"pyMC Repeater",-1)),jt("p",Wut,[Pl(Hi(Ul(h).nodeName)+" ",1),jt("span",{class:to(["inline-block w-2 h-2 rounded-full ml-2",Ul(h).statusBadge.text==="Active"?"bg-accent-green":Ul(h).statusBadge.text==="Monitor Mode"?"bg-secondary":"bg-accent-red"]),title:Ul(h).statusBadge.title},null,10,qut)]),jt("p",Zut,"<"+Hi(Ul(h).pubKey)+">",1)]),_i[13]||(_i[13]=jt("div",{class:"border-t border-dark-border mb-6"},null,-1)),jt("div",Gut,[_i[4]||(_i[4]=jt("p",{class:"text-dark-text text-xs uppercase mb-4"},"Actions",-1)),jt("button",{onClick:_i[0]||(_i[0]=Ni=>ct.value=!0),class:"w-full bg-white rounded-[10px] py-3 px-4 flex items-center gap-2 text-sm font-medium text-[#212122] hover:bg-gray-100 transition-colors"},_i[3]||(_i[3]=[jt("svg",{class:"w-3.5 h-3.5",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[jt("path",{d:"M7 0C5.61553 0 4.26216 0.410543 3.11101 1.17971C1.95987 1.94888 1.06266 3.04213 0.532846 4.32122C0.003033 5.6003 -0.13559 7.00777 0.134506 8.36563C0.404603 9.7235 1.07129 10.9708 2.05026 11.9497C3.02922 12.9287 4.2765 13.5954 5.63437 13.8655C6.99224 14.1356 8.3997 13.997 9.67879 13.4672C10.9579 12.9373 12.0511 12.0401 12.8203 10.889C13.5895 9.73785 14 8.38447 14 7C13.998 5.1441 13.2599 3.36479 11.9475 2.05247C10.6352 0.74015 8.8559 0.0020073 7 0V0ZM7 12.8333C5.84628 12.8333 4.71846 12.4912 3.75918 11.8502C2.79989 11.2093 2.05222 10.2982 1.61071 9.23232C1.16919 8.16642 1.05368 6.99353 1.27876 5.86197C1.50384 4.73042 2.05941 3.69102 2.87521 2.87521C3.69102 2.0594 4.73042 1.50383 5.86198 1.27875C6.99353 1.05367 8.16642 1.16919 9.23232 1.6107C10.2982 2.05221 11.2093 2.79989 11.8502 3.75917C12.4912 4.71846 12.8333 5.84628 12.8333 7C12.8316 8.54658 12.2165 10.0293 11.1229 11.1229C10.0293 12.2165 8.54658 12.8316 7 12.8333ZM8.16667 7C8.1676 7.20501 8.11448 7.40665 8.01268 7.58461C7.91087 7.76256 7.76397 7.91054 7.58677 8.01365C7.40957 8.11676 7.20833 8.17136 7.00332 8.17194C6.7983 8.17252 6.59675 8.11906 6.41897 8.01696C6.24119 7.91485 6.09346 7.7677 5.99065 7.59033C5.88784 7.41295 5.83358 7.21162 5.83335 7.0066C5.83312 6.80159 5.88691 6.60013 5.98932 6.42252C6.09172 6.24491 6.23912 6.09743 6.41667 5.99492V3.5H7.58334V5.99492C7.76016 6.09659 7.90713 6.24298 8.00952 6.41939C8.1119 6.5958 8.1661 6.79603 8.16667 7Z",fill:"#212122"})],-1),Pl(" Send Advert ",-1)]))]),jt("div",Kut,[_i[5]||(_i[5]=jt("p",{class:"text-dark-text text-xs uppercase mb-4"},"Monitoring",-1)),jt("div",Yut,[(xi(!0),Ci(bl,null,Nu(xe.slice(0,3),Ni=>(xi(),Ci("button",{key:Ni.name,onClick:ji=>He(Ni.route),class:to([Le.value(Ni.route)?"bg-primary/20 shadow-[0_0_6px_0_rgba(170,232,232,0.20)] text-primary":"text-white hover:bg-white/5","w-full rounded-[10px] py-3 px-4 flex items-center gap-3 text-sm transition-all"])},[(xi(),_0(Qy(te[Ni.icon]),{class:"w-3.5 h-3.5"})),Pl(" "+Hi(Ni.name),1)],10,Xut))),128))])]),jt("div",Jut,[_i[6]||(_i[6]=jt("p",{class:"text-dark-text text-xs uppercase mb-4"},"System",-1)),jt("div",Qut,[(xi(!0),Ci(bl,null,Nu(xe.slice(3,7),Ni=>(xi(),Ci("button",{key:Ni.name,onClick:ji=>He(Ni.route),class:to([Le.value(Ni.route)?"bg-primary/20 shadow-[0_0_6px_0_rgba(170,232,232,0.20)] text-primary":"text-white hover:bg-white/5","w-full rounded-[10px] py-3 px-4 flex items-center gap-3 text-sm transition-all"])},[(xi(),_0(Qy(te[Ni.icon]),{class:"w-3.5 h-3.5"})),Pl(" "+Hi(Ni.name),1)],10,tct))),128))])]),jt("div",ect,[_i[7]||(_i[7]=jt("p",{class:"text-dark-text text-xs uppercase mb-4"},"Room Servers",-1)),jt("div",rct,[(xi(!0),Ci(bl,null,Nu(xe.slice(7,8),Ni=>(xi(),Ci("button",{key:Ni.name,onClick:ji=>He(Ni.route),class:to([Le.value(Ni.route)?"bg-primary/20 shadow-[0_0_6px_0_rgba(170,232,232,0.20)] text-primary":"text-white hover:bg-white/5","w-full rounded-[10px] py-3 px-4 flex items-center gap-3 text-sm transition-all"])},[(xi(),_0(Qy(te[Ni.icon]),{class:"w-3.5 h-3.5"})),Pl(" "+Hi(Ni.name),1)],10,ict))),128))])]),jt("div",nct,[_i[8]||(_i[8]=jt("p",{class:"text-dark-text text-xs uppercase mb-4"},"Other",-1)),jt("div",act,[(xi(!0),Ci(bl,null,Nu(xe.slice(8),Ni=>(xi(),Ci("button",{key:Ni.name,onClick:ji=>He(Ni.route),class:to([Le.value(Ni.route)?"bg-primary/20 shadow-[0_0_6px_0_rgba(170,232,232,0.20)] text-primary":"text-white hover:bg-white/5","w-full rounded-[10px] py-3 px-4 flex items-center gap-3 text-sm transition-all"])},[(xi(),_0(Qy(te[Ni.icon]),{class:"w-3.5 h-3.5"})),Pl(" "+Hi(Ni.name),1)],10,oct))),128))])]),Sl(RU,{"current-value":Ul(h).noiseFloorDbm||-116,"update-interval":3e3,class:"mb-6"},null,8,["current-value"]),jt("button",{onClick:Dr,disabled:$.value,class:to(["p-4 flex items-center justify-between mb-4 w-full transition-all duration-200 cursor-pointer group",Ul(h).modeButtonState.warning?"glass-card-orange hover:bg-accent-red/10":"glass-card-green hover:bg-accent-green/10"])},[jt("div",lct,[Sl(WU,{class:"w-4 h-4 text-white group-hover:text-primary transition-colors"}),_i[9]||(_i[9]=jt("span",{class:"text-white text-sm group-hover:text-primary transition-colors"},"Mode",-1))]),jt("span",{class:to(["text-xs font-medium group-hover:text-white transition-colors",Ul(h).modeButtonState.warning?"text-accent-red":"text-accent-green"])},Hi($.value?"Changing...":Ul(h).currentMode.charAt(0).toUpperCase()+Ul(h).currentMode.slice(1)),3)],10,sct),jt("button",{onClick:Bt,disabled:Y.value,class:to(["p-4 flex items-center justify-between mb-4 w-full transition-all duration-200 cursor-pointer group",Ul(h).dutyCycleButtonState.warning?"glass-card-orange hover:bg-accent-red/10":"glass-card-green hover:bg-accent-green/10"])},[jt("div",cct,[Sl(qU,{class:"w-3.5 h-3.5 text-white group-hover:text-primary transition-colors"}),_i[10]||(_i[10]=jt("span",{class:"text-white text-sm group-hover:text-primary transition-colors"},"Duty Cycle",-1))]),jt("span",{class:to(["text-xs font-medium group-hover:text-white transition-colors",Ul(h).dutyCycleButtonState.warning?"text-accent-red":"text-primary"])},Hi(Y.value?"Changing...":Ul(h).dutyCycleEnabled?"Enabled":"Disabled"),3)],10,uct),jt("div",hct,[jt("div",fct,[jt("span",dct," R:v"+Hi(Ul(h).version),1),jt("span",pct," C:v"+Hi(Ul(h).coreVersion),1)])]),_i[14]||(_i[14]=jt("div",{class:"border-t border-accent-green mb-4"},null,-1)),Ul(h).dutyCycleEnabled?(xi(),Ci("div",mct,[jt("p",gct,[_i[11]||(_i[11]=Pl(" Duty Cycle: ",-1)),jt("span",vct,Hi(Ul(h).dutyCycleUtilization.toFixed(1))+"% / "+Hi(Ul(h).dutyCycleMax.toFixed(1))+"%",1)]),jt("div",yct,[jt("div",{class:"h-full rounded-full transition-all duration-300",style:km(_r.value)},null,4)])])):io("",!0),jt("div",_ct,[jt("div",xct,[_i[12]||(_i[12]=jt("svg",{class:"w-3 h-3",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[jt("path",{d:"M6.5 13C5.59722 13 4.75174 12.8286 3.96355 12.4858C3.17537 12.143 2.48926 11.6795 1.90522 11.0955C1.32119 10.5115 0.85776 9.82535 0.514945 9.03717C0.172131 8.24898 0.000482491 7.40326 1.0101e-06 6.5C-0.000480471 5.59674 0.171168 4.75126 0.514945 3.96356C0.858723 3.17585 1.32191 2.48974 1.9045 1.90522C2.48709 1.3207 3.1732 0.857278 3.96283 0.514944C4.75246 0.172611 5.59818 0.000962963 6.5 0C7.48703 0 8.42303 0.210648 9.30799 0.631944C10.193 1.05324 10.9421 1.64907 11.5555 2.41944V1.44444C11.5555 1.23981 11.6249 1.06841 11.7635 0.930222C11.9022 0.792037 12.0736 0.722704 12.2778 0.722222C12.4819 0.721741 12.6536 0.791074 12.7927 0.930222C12.9319 1.06937 13.001 1.24078 13 1.44444V4.33333C13 4.53796 12.9307 4.70961 12.792 4.84828C12.6533 4.98694 12.4819 5.05604 12.2778 5.05556H9.38888C9.18425 5.05556 9.01285 4.98622 8.87466 4.84756C8.73647 4.70889 8.66714 4.53748 8.66666 4.33333C8.66618 4.12919 8.73551 3.95778 8.87466 3.81911C9.01381 3.68044 9.18521 3.61111 9.38888 3.61111H10.6528C10.1593 2.93704 9.55138 2.40741 8.82916 2.02222C8.10694 1.63704 7.33055 1.44444 6.5 1.44444C5.09166 1.44444 3.89711 1.93507 2.91633 2.91633C1.93555 3.89759 1.44493 5.09215 1.44444 6.5C1.44396 7.90785 1.93459 9.10265 2.91633 10.0844C3.89807 11.0661 5.09263 11.5565 6.5 11.5556C7.64351 11.5556 8.66666 11.2125 9.56944 10.5264C10.4722 9.84028 11.068 8.95555 11.3569 7.87222C11.4171 7.67963 11.5255 7.53519 11.6819 7.43889C11.8384 7.34259 12.013 7.30648 12.2055 7.33055C12.4102 7.35463 12.5727 7.44178 12.693 7.592C12.8134 7.74222 12.8495 7.90785 12.8014 8.08889C12.4523 9.5213 11.694 10.698 10.5264 11.6191C9.35879 12.5402 8.01666 13.0005 6.5 13ZM7.22222 6.21111L9.02777 8.01667C9.16018 8.14907 9.22638 8.31759 9.22638 8.52222C9.22638 8.72685 9.16018 8.89537 9.02777 9.02778C8.89536 9.16018 8.72685 9.22639 8.52222 9.22639C8.31759 9.22639 8.14907 9.16018 8.01666 9.02778L5.99444 7.00556C5.92222 6.93333 5.86805 6.8522 5.83194 6.76217C5.79583 6.67213 5.77777 6.57872 5.77777 6.48194V3.61111C5.77777 3.40648 5.84711 3.23507 5.98577 3.09689C6.12444 2.9587 6.29585 2.88937 6.5 2.88889C6.70414 2.88841 6.87579 2.95774 7.01494 3.09689C7.15409 3.23604 7.22318 3.40744 7.22222 3.61111V6.21111Z",fill:"currentColor"})],-1)),Pl(" Last Updated: "+Hi(Ai.value),1)]),jt("div",bct,[jt("a",wct,[Sl(Elt,{class:"w-4 h-4 text-dark-text hover:text-white transition-colors"})]),jt("a",kct,[Sl(Dlt,{class:"w-4 h-4 text-dark-text hover:text-white transition-colors"})])])])])]),Sl(FU,{isOpen:ct.value,isLoading:M.value,isSuccess:bt.value,error:At.value,onClose:lr,onSend:qe},null,8,["isOpen","isLoading","isSuccess","error"])],64))}}),Sct={key:0,class:"fixed inset-0 z-[1010] lg:hidden"},Act={class:"absolute left-0 top-0 bottom-0 w-72 p-4"},Cct={class:"bg-black/20 backdrop-blur-xl border border-white/10 rounded-2xl h-full p-6 overflow-auto shadow-2xl"},Mct={class:"mb-6 flex items-center justify-between"},Ect={class:"text-[#C3C3C3] text-sm"},Lct=["title"],Pct={class:"text-[#C3C3C3] text-sm mt-1"},Ict={class:"mb-4"},Dct={class:"mb-4"},zct={class:"space-y-2 mb-3"},Oct=["onClick"],Bct={class:"mb-4"},Rct={class:"space-y-2 mb-3"},Fct=["onClick"],Nct={class:"mb-4"},jct={class:"space-y-2 mb-3"},Uct=["onClick"],Hct={class:"mb-4"},$ct={class:"space-y-2 mb-3"},Vct=["onClick"],Wct=["disabled"],qct={class:"flex items-center gap-3"},Zct=["disabled"],Gct={class:"flex items-center gap-3"},Kct={class:"mb-4"},Yct={class:"flex items-center gap-2"},Xct={class:"glass-card px-2 py-1 text-dark-text text-xs font-medium rounded border border-dark-border"},Jct={class:"glass-card px-2 py-1 text-dark-text text-xs font-medium rounded border border-dark-border"},Qct={key:0,class:"mb-4"},tht={class:"text-dark-text text-xs mb-2"},eht={class:"text-white"},rht={class:"w-full h-1 bg-white/10 rounded-full overflow-hidden"},iht={class:"text-dark-text text-xs"},nht=cc({name:"MobileSidebar",__name:"MobileSidebar",props:{showMobileSidebar:{type:Boolean}},emits:["update:showMobileSidebar"],setup(e,{emit:t}){const r=t,h=hU(),M=fU(),$=xg(),Y=ma(!1),ct=ma(!1),bt=ma(!1),At=ma(!1),Nt=ma(!1),te=ma(null);let xe=null;jd(async()=>{xe=await $.startAutoRefresh(5e3)}),F1(()=>{xe&&xe()});const Le={dashboard:NU,neighbors:VU,statistics:$U,"system-stats":zT,sessions:zT,configuration:DT,"room-servers":DT,logs:UU,terminal:HU,help:jU},He=[{name:"Dashboard",icon:"dashboard",route:"/"},{name:"Neighbors",icon:"neighbors",route:"/neighbors"},{name:"Statistics",icon:"statistics",route:"/statistics"},{name:"System Stats",icon:"system-stats",route:"/system-stats"},{name:"Sessions",icon:"sessions",route:"/sessions"},{name:"Configuration",icon:"configuration",route:"/configuration"},{name:"Terminal",icon:"terminal",route:"/terminal"},{name:"Room Servers",icon:"room-servers",route:"/room-servers"},{name:"Logs",icon:"logs",route:"/logs"},{name:"Help",icon:"help",route:"/help"}],qe=Ho(()=>ji=>M.path===ji),lr=ji=>{h.push(ji),Dr()},Dr=()=>{r("update:showMobileSidebar",!1)},Bt=async()=>{Y.value=!0,te.value=null;try{await $.sendAdvert(),Nt.value=!0,setTimeout(()=>{Ai()},2e3)}catch(ji){te.value=ji instanceof Error?ji.message:"Unknown error occurred",console.error("Failed to send advert:",ji)}finally{Y.value=!1}},Ai=()=>{At.value=!1,Nt.value=!1,te.value=null,Y.value=!1},_r=async()=>{if(!ct.value){ct.value=!0;try{await $.toggleMode()}catch(ji){console.error("Failed to toggle mode:",ji)}finally{ct.value=!1}}},Br=async()=>{if(!bt.value){bt.value=!0;try{await $.toggleDutyCycle()}catch(ji){console.error("Failed to toggle duty cycle:",ji)}finally{bt.value=!1}}},_i=ma(new Date().toLocaleTimeString());setInterval(()=>{_i.value=new Date().toLocaleTimeString()},1e3);const Ni=Ho(()=>{const ji=$.dutyCyclePercentage;let Xr="#A5E5B6";return ji>90?Xr="#FB787B":ji>70&&(Xr="#FFC246"),{width:ji===0?"2px":`${Math.max(ji,2)}%`,backgroundColor:Xr}});return(ji,Xr)=>(xi(),Ci(bl,null,[ji.showMobileSidebar?(xi(),Ci("div",Sct,[jt("div",{class:"absolute inset-0 bg-black/30 backdrop-blur-sm",onClick:Dr}),jt("div",Act,[jt("div",Cct,[jt("div",Mct,[jt("div",null,[Xr[1]||(Xr[1]=jt("h1",{class:"text-white text-[20px] font-bold"},"pyMC Repeater",-1)),jt("p",Ect,[Pl(Hi(Ul($).nodeName)+" ",1),jt("span",{class:to(["inline-block w-2 h-2 rounded-full ml-2",Ul($).statusBadge.text==="Active"?"bg-accent-green":Ul($).statusBadge.text==="Monitor Mode"?"bg-secondary":"bg-accent-red"]),title:Ul($).statusBadge.title},null,10,Lct)]),jt("p",Pct,"<"+Hi(Ul($).pubKey)+">",1)]),jt("button",{onClick:Dr,class:"text-dark-text"},"✕")]),Xr[11]||(Xr[11]=jt("div",{class:"border-t border-dark-border mb-4"},null,-1)),jt("div",Ict,[Xr[3]||(Xr[3]=jt("p",{class:"text-dark-text text-xs uppercase mb-2"},"Actions",-1)),jt("button",{onClick:Xr[0]||(Xr[0]=on=>{At.value=!0,Dr()}),class:"w-full bg-white rounded-[10px] py-3 px-4 flex items-center gap-2 text-sm font-medium text-[#212122] hover:bg-gray-100 transition-colors mb-2"},Xr[2]||(Xr[2]=[jt("svg",{class:"w-3.5 h-3.5",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[jt("path",{d:"M7 0C5.61553 0 4.26216 0.410543 3.11101 1.17971C1.95987 1.94888 1.06266 3.04213 0.532846 4.32122C0.003033 5.6003 -0.13559 7.00777 0.134506 8.36563C0.404603 9.7235 1.07129 10.9708 2.05026 11.9497C3.02922 12.9287 4.2765 13.5954 5.63437 13.8655C6.99224 14.1356 8.3997 13.997 9.67879 13.4672C10.9579 12.9373 12.0511 12.0401 12.8203 10.889C13.5895 9.73785 14 8.38447 14 7C13.998 5.1441 13.2599 3.36479 11.9475 2.05247C10.6352 0.74015 8.8559 0.0020073 7 0V0ZM7 12.8333C5.84628 12.8333 4.71846 12.4912 3.75918 11.8502C2.79989 11.2093 2.05222 10.2982 1.61071 9.23232C1.16919 8.16642 1.05368 6.99353 1.27876 5.86197C1.50384 4.73042 2.05941 3.69102 2.87521 2.87521C3.69102 2.0594 4.73042 1.50383 5.86198 1.27875C6.99353 1.05367 8.16642 1.16919 9.23232 1.6107C10.2982 2.05221 11.2093 2.79989 11.8502 3.75917C12.4912 4.71846 12.8333 5.84628 12.8333 7C12.8316 8.54658 12.2165 10.0293 11.1229 11.1229C10.0293 12.2165 8.54658 12.8316 7 12.8333ZM8.16667 7C8.1676 7.20501 8.11448 7.40665 8.01268 7.58461C7.91087 7.76256 7.76397 7.91054 7.58677 8.01365C7.40957 8.11676 7.20833 8.17136 7.00332 8.17194C6.7983 8.17252 6.59675 8.11906 6.41897 8.01696C6.24119 7.91485 6.09346 7.7677 5.99065 7.59033C5.88784 7.41295 5.83358 7.21162 5.83335 7.0066C5.83312 6.80159 5.88691 6.60013 5.98932 6.42252C6.09172 6.24491 6.23912 6.09743 6.41667 5.99492V3.5H7.58334V5.99492C7.76016 6.09659 7.90713 6.24298 8.00952 6.41939C8.1119 6.5958 8.1661 6.79603 8.16667 7Z",fill:"#212122"})],-1),Pl(" Send Advert ",-1)]))]),jt("div",Dct,[Xr[4]||(Xr[4]=jt("p",{class:"text-dark-text text-xs uppercase mb-2"},"Monitoring",-1)),jt("div",zct,[(xi(!0),Ci(bl,null,Nu(He.slice(0,3),on=>(xi(),Ci("button",{key:on.name,onClick:Ri=>lr(on.route),class:to([qe.value(on.route)?"bg-primary/20 shadow-[0_0_6px_0_rgba(170,232,232,0.20)] text-primary":"text-white hover:bg-white/5","w-full rounded-[10px] py-3 px-4 flex items-center gap-3 text-sm transition-all"])},[(xi(),_0(Qy(Le[on.icon]),{class:"w-3.5 h-3.5"})),Pl(" "+Hi(on.name),1)],10,Oct))),128))])]),jt("div",Bct,[Xr[5]||(Xr[5]=jt("p",{class:"text-dark-text text-xs uppercase mb-2"},"System",-1)),jt("div",Rct,[(xi(!0),Ci(bl,null,Nu(He.slice(3,7),on=>(xi(),Ci("button",{key:on.name,onClick:Ri=>lr(on.route),class:to([qe.value(on.route)?"bg-primary/20 shadow-[0_0_6px_0_rgba(170,232,232,0.20)] text-primary":"text-white hover:bg-white/5","w-full rounded-[10px] py-3 px-4 flex items-center gap-3 text-sm transition-all"])},[(xi(),_0(Qy(Le[on.icon]),{class:"w-3.5 h-3.5"})),Pl(" "+Hi(on.name),1)],10,Fct))),128))])]),jt("div",Nct,[Xr[6]||(Xr[6]=jt("p",{class:"text-dark-text text-xs uppercase mb-2"},"Room Servers",-1)),jt("div",jct,[(xi(!0),Ci(bl,null,Nu(He.slice(7,8),on=>(xi(),Ci("button",{key:on.name,onClick:Ri=>lr(on.route),class:to([qe.value(on.route)?"bg-primary/20 shadow-[0_0_6px_0_rgba(170,232,232,0.20)] text-primary":"text-white hover:bg-white/5","w-full rounded-[10px] py-3 px-4 flex items-center gap-3 text-sm transition-all"])},[(xi(),_0(Qy(Le[on.icon]),{class:"w-3.5 h-3.5"})),Pl(" "+Hi(on.name),1)],10,Uct))),128))])]),jt("div",Hct,[Xr[7]||(Xr[7]=jt("p",{class:"text-dark-text text-xs uppercase mb-2"},"Other",-1)),jt("div",$ct,[(xi(!0),Ci(bl,null,Nu(He.slice(8),on=>(xi(),Ci("button",{key:on.name,onClick:Ri=>lr(on.route),class:to([qe.value(on.route)?"bg-primary/20 shadow-[0_0_6px_0_rgba(170,232,232,0.20)] text-primary":"text-white hover:bg-white/5","w-full rounded-[10px] py-3 px-4 flex items-center gap-3 text-sm transition-all"])},[(xi(),_0(Qy(Le[on.icon]),{class:"w-3.5 h-3.5"})),Pl(" "+Hi(on.name),1)],10,Vct))),128))])]),Sl(RU,{"current-value":Ul($).noiseFloorDbm||-116,"update-interval":3e3,class:"mb-4"},null,8,["current-value"]),jt("button",{onClick:_r,disabled:ct.value,class:to(["p-4 flex items-center justify-between mb-3 w-full transition-all duration-200 cursor-pointer group",Ul($).modeButtonState.warning?"glass-card-orange hover:bg-accent-red/10":"glass-card-green hover:bg-accent-green/10"])},[jt("div",qct,[Sl(WU,{class:"w-4 h-4 text-white group-hover:text-primary transition-colors"}),Xr[8]||(Xr[8]=jt("span",{class:"text-white text-sm group-hover:text-primary transition-colors"},"Mode",-1))]),jt("span",{class:to(["text-xs font-medium group-hover:text-white transition-colors",Ul($).modeButtonState.warning?"text-accent-red":"text-accent-green"])},Hi(ct.value?"Changing...":Ul($).currentMode.charAt(0).toUpperCase()+Ul($).currentMode.slice(1)),3)],10,Wct),jt("button",{onClick:Br,disabled:bt.value,class:to(["p-4 flex items-center justify-between mb-3 w-full transition-all duration-200 cursor-pointer group",Ul($).dutyCycleButtonState.warning?"glass-card-orange hover:bg-accent-red/10":"glass-card-green hover:bg-accent-green/10"])},[jt("div",Gct,[Sl(qU,{class:"w-3.5 h-3.5 text-white group-hover:text-primary transition-colors"}),Xr[9]||(Xr[9]=jt("span",{class:"text-white text-sm group-hover:text-primary transition-colors"},"Duty Cycle",-1))]),jt("span",{class:to(["text-xs font-medium group-hover:text-white transition-colors",Ul($).dutyCycleButtonState.warning?"text-accent-red":"text-primary"])},Hi(bt.value?"Changing...":Ul($).dutyCycleEnabled?"Enabled":"Disabled"),3)],10,Zct),jt("div",Kct,[jt("div",Yct,[jt("span",Xct," R:v"+Hi(Ul($).version),1),jt("span",Jct," C:v"+Hi(Ul($).coreVersion),1)])]),Xr[12]||(Xr[12]=jt("div",{class:"border-t border-accent-green mb-4"},null,-1)),Ul($).dutyCycleEnabled?(xi(),Ci("div",Qct,[jt("p",tht,[Xr[10]||(Xr[10]=Pl(" Duty Cycle: ",-1)),jt("span",eht,Hi(Ul($).dutyCycleUtilization.toFixed(1))+"% / "+Hi(Ul($).dutyCycleMax.toFixed(1))+"%",1)]),jt("div",rht,[jt("div",{class:"h-full rounded-full transition-all duration-300",style:km(Ni.value)},null,4)])])):io("",!0),jt("p",iht,"Last Updated: "+Hi(_i.value),1)])])])):io("",!0),Sl(FU,{isOpen:At.value,isLoading:Y.value,isSuccess:Nt.value,error:te.value,onClose:Ai,onSend:Bt},null,8,["isOpen","isLoading","isSuccess","error"])],64))}}),aht={class:"glass-card p-3 sm:p-6 mb-5 rounded-[20px] relative z-10"},oht={class:"flex justify-between"},sht={class:"flex items-start gap-3"},lht={class:"text-right mr-2 sm:mr-4"},uht={key:0,class:"flex items-center gap-2"},cht={key:1,class:"space-y-1"},hht={class:"text-dark-text text-xs sm:text-sm"},fht={class:"text-primary font-medium"},dht={key:0,class:"text-xs text-dark-text/80"},pht={key:0},mht={key:1,class:"text-xs text-dark-text/60 hidden sm:block"},ght={key:2},vht={key:0,class:"text-xs text-dark-text/60 hidden sm:block"},yht={class:"flex items-center justify-between mb-3"},_ht={class:"flex items-center gap-2"},xht=["disabled"],bht=["disabled"],wht={class:"space-y-3 text-sm"},kht={key:0,class:"bg-[#0B1014] p-3 rounded-lg border border-accent-red/30 border-l-2 border-l-accent-red"},Tht={class:"flex items-center justify-between"},Sht={class:"text-accent-red font-bold"},Aht={class:"text-xs text-gray-400 mt-1"},Cht={key:1,class:"bg-[#0B1014] p-3 rounded-lg border border-white/10 border-l-2 border-l-accent-green"},Mht={class:"flex items-center justify-between"},Eht={class:"text-accent-green font-bold"},Lht={key:0,class:"text-xs text-gray-400 mt-1"},Pht={key:2,class:"bg-[#0B1014] p-3 rounded-lg border border-white/10"},Iht={key:3,class:"bg-[#0B1014] p-3 rounded-lg border border-accent-red/30 border-l-2 border-l-accent-red"},Dht={class:"text-xs text-gray-400"},zht={class:"bg-[#0B1014] p-3 rounded-lg border border-white/10 border-l-2 border-l-primary"},Oht={class:"flex items-center justify-between"},Bht={class:"text-primary font-bold"},Rht={key:0,class:"text-xs text-gray-400 mt-1"},Fht={class:"flex items-center justify-between"},Nht={class:"text-white font-medium"},jht={key:0,class:"mt-2"},Uht={class:"text-xs text-gray-400"},Hht={class:"text-gray-300"},$ht={key:4,class:"bg-[#0B1014] p-4 rounded-lg border border-white/10 text-center"},Vht={key:5,class:"bg-[#0B1014] p-3 rounded-lg border border-white/10 text-center"},Wht=cc({name:"TopBar",__name:"TopBar",emits:["toggleMobileSidebar"],setup(e,{emit:t}){const r=t,h=xg(),M=ma(!1),$=ma(null),Y=ma({hasUpdate:!1,currentVersion:"",latestVersion:"",isChecking:!1,lastChecked:null,error:null}),ct=ma({}),bt=ma(!0),At=ma(null),Nt=["Chat Node","Repeater","Room Server"];function te(ji){const Xr=ji.target;$.value&&!$.value.contains(Xr)&&(M.value=!1)}const xe=async()=>{try{bt.value=!0;const ji={};for(const Xr of Nt)try{const on=await Zs.get(`/adverts_by_contact_type?contact_type=${encodeURIComponent(Xr)}&hours=168`);on.success&&Array.isArray(on.data)?ji[Xr]=on.data:ji[Xr]=[]}catch(on){console.error(`Error fetching ${Xr} nodes:`,on),ji[Xr]=[]}ct.value=ji,At.value=new Date}catch(ji){console.error("Error updating tracked nodes:",ji)}finally{bt.value=!1}},Le=async()=>{if(!Y.value.isChecking)try{Y.value.isChecking=!0,Y.value.error=null,await h.fetchStats();const ji=h.version;if(!ji||ji==="Unknown"){Y.value.error="Unable to determine current version";return}const on=await fetch("https://raw.githubusercontent.com/rightup/pyMC_Repeater/main/repeater/__init__.py");if(!on.ok)throw new Error(`GitHub request failed: ${on.status}`);const Lr=(await on.text()).match(/__version__\s*=\s*["']([^"']+)["']/);if(!Lr)throw new Error("Could not parse version from GitHub file");const pr=Lr[1];Y.value.currentVersion=ji,Y.value.latestVersion=pr,Y.value.lastChecked=new Date,Y.value.hasUpdate=ji!==pr}catch(ji){console.error("Error checking for updates:",ji),Y.value.error=ji instanceof Error?ji.message:"Failed to check for updates"}finally{Y.value.isChecking=!1}},He=Ho(()=>Object.values(ct.value).reduce((Xr,on)=>Xr+on.length,0)),qe=Ho(()=>Nt.map(Xr=>({type:Xr,count:ct.value[Xr]?.length||0})).filter(Xr=>Xr.count>0)),lr=Ho(()=>Y.value.hasUpdate||He.value>0),Dr=ji=>({"Chat Node":"text-blue-400",Repeater:"text-accent-green","Room Server":"text-accent-purple"})[ji]||"text-gray-400",Bt=ji=>{const Xr=ct.value[ji]||[];return Xr.length===0?"None":Xr.reduce((Ri,Lr)=>Lr.last_seen>Ri.last_seen?Lr:Ri,Xr[0]).node_name||"Unknown Node"};let Ai=null,_r=null;const Br=()=>{Ai&&clearInterval(Ai),Ai=setInterval(()=>{xe()},3e4),_r&&clearInterval(_r),_r=setInterval(()=>{Le()},6e5)},_i=()=>{Ai&&(clearInterval(Ai),Ai=null),_r&&(clearInterval(_r),_r=null)};jd(()=>{document.addEventListener("click",te),xe(),Le(),Br()}),Ug(()=>{document.removeEventListener("click",te),_i()});const Ni=()=>{r("toggleMobileSidebar")};return(ji,Xr)=>(xi(),Ci("div",aht,[jt("div",oht,[jt("div",{class:"flex items-center gap-3"},[jt("button",{onClick:Ni,class:"lg:hidden w-10 h-10 rounded bg-[#1A1E1F] flex items-center justify-center hover:bg-[#2A2E2F] transition-colors"},Xr[2]||(Xr[2]=[jt("svg",{class:"w-5 h-5 text-white",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[jt("path",{d:"M3 6h14M3 10h14M3 14h14",stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])),Xr[3]||(Xr[3]=jt("div",{class:"hidden sm:block"},[jt("h1",{class:"text-white text-2xl lg:text-[35px] font-bold mb-1 sm:mb-2"},"Welcome👋")],-1))]),jt("div",sht,[jt("div",lht,[bt.value?(xi(),Ci("div",uht,Xr[4]||(Xr[4]=[jt("div",{class:"animate-spin rounded-full h-3 w-3 border-b-2 border-primary"},null,-1),jt("p",{class:"text-dark-text text-xs sm:text-sm"},"Loading...",-1)]))):He.value>0?(xi(),Ci("div",cht,[jt("p",hht,[Xr[5]||(Xr[5]=Pl(" Tracking: ",-1)),jt("span",fht,Hi(He.value)+" node"+Hi(He.value===1?"":"s"),1)]),qe.value.length>0?(xi(),Ci("div",dht,[(xi(!0),Ci(bl,null,Nu(qe.value,(on,Ri)=>(xi(),Ci("span",{key:on.type,class:"inline"},[Pl(Hi(on.count)+" "+Hi(on.type)+Hi(on.count===1?"":"s"),1),Ri