mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-06-28 09:16:55 +00:00
42 lines
272 KiB
JavaScript
42 lines
272 KiB
JavaScript
|
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&s(a)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/**
|
||
|
* @vue/shared v3.5.16
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**//*! #__NO_SIDE_EFFECTS__ */function ll(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Fe={},qs=[],rn=()=>{},Gb=()=>!1,qi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),cl=e=>e.startsWith("onUpdate:"),et=Object.assign,ul=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Jb=Object.prototype.hasOwnProperty,$e=(e,t)=>Jb.call(e,t),de=Array.isArray,Ks=e=>Hr(e)==="[object Map]",er=e=>Hr(e)==="[object Set]",mu=e=>Hr(e)==="[object Date]",me=e=>typeof e=="function",Ye=e=>typeof e=="string",ln=e=>typeof e=="symbol",He=e=>e!==null&&typeof e=="object",fl=e=>(He(e)||me(e))&&me(e.then)&&me(e.catch),cd=Object.prototype.toString,Hr=e=>cd.call(e),Qb=e=>Hr(e).slice(8,-1),ud=e=>Hr(e)==="[object Object]",dl=e=>Ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,yr=ll(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ki=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Xb=/-(\w)/g,Vt=Ki(e=>e.replace(Xb,(t,n)=>n?n.toUpperCase():"")),Zb=/\B([A-Z])/g,ys=Ki(e=>e.replace(Zb,"-$1").toLowerCase()),Wi=Ki(e=>e.charAt(0).toUpperCase()+e.slice(1)),zo=Ki(e=>e?`on${Wi(e)}`:""),Hn=(e,t)=>!Object.is(e,t),wi=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},fd=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Di=e=>{const t=parseFloat(e);return isNaN(t)?e:t},dd=e=>{const t=Ye(e)?Number(e):NaN;return isNaN(t)?e:t};let gu;const zi=()=>gu||(gu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function hl(e){if(de(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=Ye(s)?sv(s):hl(s);if(r)for(const o in r)t[o]=r[o]}return t}else if(Ye(e)||He(e))return e}const ev=/;(?![^(]*\))/g,tv=/:([^]+)/,nv=/\/\*[^]*?\*\//g;function sv(e){const t={};return e.replace(nv,"").split(ev).forEach(n=>{if(n){const s=n.split(tv);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function bn(e){let t="";if(Ye(e))t=e;else if(de(e))for(let n=0;n<e.length;n++){const s=bn(e[n]);s&&(t+=s+" ")}else if(He(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const rv="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",iv=ll(rv);function hd(e){return!!e||e===""}function ov(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=gs(e[s],t[s]);return n}function gs(e,t){if(e===t)return!0;let n=mu(e),s=mu(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=ln(e),s=ln(t),n||s)return e===t;if(n=de(e),s=de(t),n||s)return n&&s?ov(e,t):!1;if(n=He(e),s=He(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,o=Object.keys(t).length;if(r!==o)return!1;for(const a in e){const l=e.hasOwnProperty(a),u=t.hasOwnProperty(a);if(l&&!u||!l&&u||!gs(e[a],t[a]))return!1}}return String(e)===String(t)}function pl(e,t){return e.findIndex(n=>gs(n,t))}const pd=e=>!!(e&&e.__v_isRef===!0),yn=e=>Ye(e)?e:e==null?"":de(e)||He(e)&&(e.toString===cd||!me(e.toString))?pd(e)?yn(e.value):JSON.stringify(e,md,2):String(e),md=(e,t)=>pd(t)?md(e,t.value):Ks(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Yo(s,o)+" =>"]=r,n),{})}:er(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Yo(n))}:ln(t)?Yo(t):He(t)&&!de(t)&&!ud(t)?String(t):t,Yo=(e,t="")=>{var n;return ln(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||
|
* @vue/reactivity v3.5.16
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**/let ft;class gd{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ft,!t&&ft&&(this.index=(ft.scopes||(ft.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=ft;try{return ft=this,t()}finally{ft=n}}}on(){++this._on===1&&(this.prevScope=ft,ft=this)}off(){this._on>0&&--this._on===0&&(ft=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function _d(e){return new gd(e)}function bd(){return ft}function av(e,t=!1){ft&&ft.cleanups.push(e)}let Ue;const Go=new WeakSet;class vd{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ft&&ft.active&&ft.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Go.has(this)&&(Go.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ed(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,_u(this),wd(this);const t=Ue,n=Wt;Ue=this,Wt=!0;try{return this.fn()}finally{Td(this),Ue=t,Wt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)_l(t);this.deps=this.depsTail=void 0,_u(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Go.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ma(this)&&this.run()}get dirty(){return Ma(this)}}let yd=0,Er,wr;function Ed(e,t=!1){if(e.flags|=8,t){e.next=wr,wr=e;return}e.next=Er,Er=e}function ml(){yd++}function gl(){if(--yd>0)return;if(wr){let t=wr;for(wr=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Er;){let t=Er;for(Er=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function wd(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Td(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),_l(s),lv(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Ma(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ad(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ad(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Nr)||(e.globalVersion=Nr,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ma(e))))return;e.flags|=2;const t=e.dep,n=Ue,s=Wt;Ue=e,Wt=!0;try{wd(e);const r=e.fn(e._value);(t.version===0||Hn(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{Ue=n,Wt=s,Td(e),e.flags&=-3}}function _l(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)_l(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function lv(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Wt=!0;const Cd=[];function En(){Cd.push(Wt),Wt=!1}function wn(){const e=Cd.pop();Wt=e===void 0?!0:e}function _u(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ue;Ue=void 0;try{t()}finally{Ue=n}}}let Nr=0;class cv{constructor(t
|
||
|
* @vue/runtime-core v3.5.16
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**/function Vr(e,t,n,s){try{return s?e(...s):e()}catch(r){Ur(r,t,n)}}function zt(e,t,n,s){if(me(e)){const r=Vr(e,t,n,s);return r&&fl(r)&&r.catch(o=>{Ur(o,t,n)}),r}if(de(e)){const r=[];for(let o=0;o<e.length;o++)r.push(zt(e[o],t,n,s));return r}}function Ur(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||Fe;if(t){let l=t.parent;const u=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const h=l.ec;if(h){for(let p=0;p<h.length;p++)if(h[p](e,u,d)===!1)return}l=l.parent}if(o){En(),Vr(o,null,10,[e,u,d]),wn();return}}kv(e,n,r,s,a)}function kv(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const yt=[];let nn=-1;const Ws=[];let Mn=null,Us=0;const kd=Promise.resolve();let Mi=null;function Gi(e){const t=Mi||kd;return e?t.then(this?e.bind(this):e):t}function Bv(e){let t=nn+1,n=yt.length;for(;t<n;){const s=t+n>>>1,r=yt[s],o=Pr(r);o<e||o===e&&r.flags&2?t=s+1:n=s}return t}function Tl(e){if(!(e.flags&1)){const t=Pr(e),n=yt[yt.length-1];!n||!(e.flags&2)&&t>=Pr(n)?yt.push(e):yt.splice(Bv(t),0,e),e.flags|=1,Bd()}}function Bd(){Mi||(Mi=kd.then(Hd))}function Fa(e){de(e)?Ws.push(...e):Mn&&e.id===-1?Mn.splice(Us+1,0,e):e.flags&1||(Ws.push(e),e.flags|=1),Bd()}function vu(e,t,n=nn+1){for(;n<yt.length;n++){const s=yt[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;yt.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Fd(e){if(Ws.length){const t=[...new Set(Ws)].sort((n,s)=>Pr(n)-Pr(s));if(Ws.length=0,Mn){Mn.push(...t);return}for(Mn=t,Us=0;Us<Mn.length;Us++){const n=Mn[Us];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Mn=null,Us=0}}const Pr=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Hd(e){try{for(nn=0;nn<yt.length;nn++){const t=yt[nn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Vr(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;nn<yt.length;nn++){const t=yt[nn];t&&(t.flags&=-2)}nn=-1,yt.length=0,Fd(),Mi=null,(yt.length||Ws.length)&&Hd()}}let Et=null,Vd=null;function ki(e){const t=Et;return Et=e,Vd=e&&e.type.__scopeId||null,t}function $t(e,t=Et,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Pu(-1);const o=ki(t);let a;try{a=e(...r)}finally{ki(o),s._d&&Pu(1)}return a};return s._n=!0,s._c=!0,s._d=!0,s}function an(e,t){if(Et===null)return e;const n=eo(Et),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,a,l,u=Fe]=t[r];o&&(me(o)&&(o={mounted:o,updated:o}),o.deep&&gn(a),s.push({dir:o,instance:n,value:a,oldValue:void 0,arg:l,modifiers:u}))}return e}function ls(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let a=0;a<r.length;a++){const l=r[a];o&&(l.oldValue=o[a].value);let u=l.dir[s];u&&(En(),zt(u,n,8,[e.el,l,e,t]),wn())}}const Fv=Symbol("_vte"),Ud=e=>e.__isTeleport,kn=Symbol("_leaveCb"),vi=Symbol("_enterCb");function jd(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Es(()=>{e.isMounted=!0}),Xd(()=>{e.isUnmounting=!0}),e}const kt=[Function,Array],qd={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:kt,onEnter:kt,onAfterEnter:kt,onEnterCancelled:kt,onBeforeLeave:kt,onLeave:kt,onAfterLeave:kt,onLeaveCancelled:kt,onBeforeAppear:kt,onAppear:kt,onAfterAppear:kt,onAppearCancelled:kt},Kd=e=>{const t=e.subTree;return t.component?Kd(t.component):t},Hv={name:"BaseTransition",props:qd,setup(e,{slots:t}){const n=xl(),s=jd();return()=>{const r=t.default&&Al(t.default(),!0);if(!r||!r.length)return;const o=Wd(r),a=Oe(e),{mode:l}=a;if(s.isLeaving)return Xo(o);const u=yu(o);if(!u)return Xo(o);let d=Dr(u,a,s,n,p=>d=p);u.type!==lt&&_s(u,d);let h=n.subTree&&yu(n.subTree);if(h&&h.type!==lt&&!sn(u,h)&&Kd(n).type!==lt){let p=Dr(h,a,s,n);if(_s(h,p),l==="out-in"&&u.type!==lt)return s.isLeaving=!0,p.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete p.afterLeave,h=void 0},Xo(o);l==="in-out"&&u.type!==lt?p.delayLeave=(_,g,E)=>{const T=zd(s,h);T[String(h.key)]=h,_[kn]=()=>{g(),_[kn]=void 0,delete d.delayedLeave,h=void 0},d.delayedLeave=()=>{E(),delete d.delayedLeave,h=void 0}}:h=void 0}else h&&(h=void 0);return o}}};function Wd(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==lt){t=n;break}
|
||
|
* @vue/runtime-dom v3.5.16
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**/let Ya;const Du=typeof window<"u"&&window.trustedTypes;if(Du)try{Ya=Du.createPolicy("vue",{createHTML:e=>e})}catch{}const Sh=Ya?e=>Ya.createHTML(e):e=>e,Gy="http://www.w3.org/2000/svg",Jy="http://www.w3.org/1998/Math/MathML",pn=typeof document<"u"?document:null,$u=pn&&pn.createElement("template"),Qy={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?pn.createElementNS(Gy,e):t==="mathml"?pn.createElementNS(Jy,e):n?pn.createElement(e,{is:n}):pn.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>pn.createTextNode(e),createComment:e=>pn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>pn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const a=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{$u.innerHTML=Sh(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=$u.content;if(s==="svg"||s==="mathml"){const u=l.firstChild;for(;u.firstChild;)l.appendChild(u.firstChild);l.removeChild(u)}t.insertBefore(l,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Pn="transition",mr="animation",Js=Symbol("_vtc"),Oh={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},Rh=et({},qd,Oh),Xy=e=>(e.displayName="Transition",e.props=Rh,e),to=Xy((e,{slots:t})=>Pl(Vv,Nh(e),t)),us=(e,t=[])=>{de(e)?e.forEach(n=>n(...t)):e&&e(...t)},Lu=e=>e?de(e)?e.some(t=>t.length>1):e.length>1:!1;function Nh(e){const t={};for(const $ in e)$ in Oh||(t[$]=e[$]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:u=o,appearActiveClass:d=a,appearToClass:h=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:_=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,E=Zy(r),T=E&&E[0],k=E&&E[1],{onBeforeEnter:P,onEnter:D,onEnterCancelled:I,onLeave:B,onLeaveCancelled:j,onBeforeAppear:N=P,onAppear:K=D,onAppearCancelled:H=I}=t,O=($,Q,W,X)=>{$._enterCancelled=X,Ln($,Q?h:l),Ln($,Q?d:a),W&&W()},F=($,Q)=>{$._isLeaving=!1,Ln($,p),Ln($,g),Ln($,_),Q&&Q()},U=$=>(Q,W)=>{const X=$?K:D,z=()=>O(Q,$,W);us(X,[Q,z]),Iu(()=>{Ln(Q,$?u:o),tn(Q,$?h:l),Lu(X)||Mu(Q,s,T,z)})};return et(t,{onBeforeEnter($){us(P,[$]),tn($,o),tn($,a)},onBeforeAppear($){us(N,[$]),tn($,u),tn($,d)},onEnter:U(!1),onAppear:U(!0),onLeave($,Q){$._isLeaving=!0;const W=()=>F($,Q);tn($,p),$._enterCancelled?(tn($,_),Ga()):(Ga(),tn($,_)),Iu(()=>{$._isLeaving&&(Ln($,p),tn($,g),Lu(B)||Mu($,s,k,W))}),us(B,[$,W])},onEnterCancelled($){O($,!1,void 0,!0),us(I,[$])},onAppearCancelled($){O($,!0,void 0,!0),us(H,[$])},onLeaveCancelled($){F($),us(j,[$])}})}function Zy(e){if(e==null)return null;if(He(e))return[ta(e.enter),ta(e.leave)];{const t=ta(e);return[t,t]}}function ta(e){return dd(e)}function tn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Js]||(e[Js]=new Set)).add(t)}function Ln(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Js];n&&(n.delete(t),n.size||(e[Js]=void 0))}function Iu(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let eE=0;function Mu(e,t,n,s){const r=e._endId=++eE,o=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(o,n);const{type:a,timeout:l,propCount:u}=xh(e,t);if(!a)return s();const d=a+"end";let h=0;const p=()=>{e.removeEventListener(d,_),o()},_=g=>{g.target===e&&++h>=u&&p()};setTimeout(()=>{h<u&&p()},l+1),e.addEventListener(d,_)}function xh(e,t){const n=window.getComputedStyle(e),s=E=>(n[E]||"").split(", "),r=s(`${Pn}Delay`),o=s(`${Pn}Duration`),a=ku(r,o),l=s(`${mr}Delay`),u=s(`${mr}Duration`
|
||
|
* pinia v3.0.2
|
||
|
* (c) 2025 Eduardo San Martin Morote
|
||
|
* @license MIT
|
||
|
*/let Lh;const no=e=>Lh=e,Ih=Symbol();function Ja(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Sr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Sr||(Sr={}));function $E(){const e=_d(!0),t=e.run(()=>At({}));let n=[],s=[];const r=wl({install(o){no(r),r._a=o,o.provide(Ih,r),o.config.globalProperties.$pinia=r,s.forEach(a=>n.push(a)),s=[]},use(o){return this._a?n.push(o):s.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const Mh=()=>{};function Zu(e,t,n,s=Mh){e.push(t);const r=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),s())};return!n&&bd()&&av(r),r}function Hs(e,...t){e.slice().forEach(n=>{n(...t)})}const LE=e=>e(),ef=Symbol(),ia=Symbol();function Qa(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];Ja(r)&&Ja(s)&&e.hasOwnProperty(n)&&!Qe(s)&&!Vn(s)?e[n]=Qa(r,s):e[n]=s}return e}const IE=Symbol();function ME(e){return!Ja(e)||!Object.prototype.hasOwnProperty.call(e,IE)}const{assign:In}=Object;function kE(e){return!!(Qe(e)&&e.effect)}function BE(e,t,n,s){const{state:r,actions:o,getters:a}=t,l=n.state.value[e];let u;function d(){l||(n.state.value[e]=r?r():{});const h=xv(n.state.value[e]);return In(h,o,Object.keys(a||{}).reduce((p,_)=>(p[_]=wl(st(()=>{no(n);const g=n._s.get(e);return a[_].call(g,g)})),p),{}))}return u=kh(e,d,t,n,s,!0),u}function kh(e,t,n={},s,r,o){let a;const l=In({actions:{}},n),u={deep:!0};let d,h,p=[],_=[],g;const E=s.state.value[e];!o&&!E&&(s.state.value[e]={}),At({});let T;function k(H){let O;d=h=!1,typeof H=="function"?(H(s.state.value[e]),O={type:Sr.patchFunction,storeId:e,events:g}):(Qa(s.state.value[e],H),O={type:Sr.patchObject,payload:H,storeId:e,events:g});const F=T=Symbol();Gi().then(()=>{T===F&&(d=!0)}),h=!0,Hs(p,O,s.state.value[e])}const P=o?function(){const{state:O}=n,F=O?O():{};this.$patch(U=>{In(U,F)})}:Mh;function D(){a.stop(),p=[],_=[],s._s.delete(e)}const I=(H,O="")=>{if(ef in H)return H[ia]=O,H;const F=function(){no(s);const U=Array.from(arguments),$=[],Q=[];function W(J){$.push(J)}function X(J){Q.push(J)}Hs(_,{args:U,name:F[ia],store:j,after:W,onError:X});let z;try{z=H.apply(this&&this.$id===e?this:j,U)}catch(J){throw Hs(Q,J),J}return z instanceof Promise?z.then(J=>(Hs($,J),J)).catch(J=>(Hs(Q,J),Promise.reject(J))):(Hs($,z),z)};return F[ef]=!0,F[ia]=O,F},B={_p:s,$id:e,$onAction:Zu.bind(null,_),$patch:k,$reset:P,$subscribe(H,O={}){const F=Zu(p,H,O.detached,()=>U()),U=a.run(()=>zs(()=>s.state.value[e],$=>{(O.flush==="sync"?h:d)&&H({storeId:e,type:Sr.direct,events:g},$)},In({},u,O)));return F},$dispose:D},j=Tn(B);s._s.set(e,j);const K=(s._a&&s._a.runWithContext||LE)(()=>s._e.run(()=>(a=_d()).run(()=>t({action:I}))));for(const H in K){const O=K[H];if(Qe(O)&&!kE(O)||Vn(O))o||(E&&ME(O)&&(Qe(O)?O.value=E[H]:Qa(O,E[H])),s.state.value[e][H]=O);else if(typeof O=="function"){const F=I(O,H);K[H]=F,l.actions[H]=O}}return In(j,K),In(Oe(j),K),Object.defineProperty(j,"$state",{get:()=>s.state.value[e],set:H=>{k(O=>{In(O,H)})}}),s._p.forEach(H=>{In(j,a.run(()=>H({store:j,app:s._a,pinia:s,options:l})))}),E&&o&&n.hydrate&&n.hydrate(j.$state,E),d=!0,h=!0,j}/*! #__NO_SIDE_EFFECTS__ */function FE(e,t,n){let s;const r=typeof t=="function";s=r?n:t;function o(a,l){const u=ay();return a=a||(u?Ft(Ih,null):null),a&&no(a),a=Lh,a._s.has(e)||(r?kh(e,t,s,a):BE(e,s,a)),a._s.get(e)}return o.$id=e,o}const ot=[];for(let e=0;e<256;++e)ot.push((e+256).toString(16).slice(1));function HE(e,t=0){return(ot[e[t+0]]+ot[e[t+1]]+ot[e[t+2]]+ot[e[t+3]]+"-"+ot[e[t+4]]+ot[e[t+5]]+"-"+ot[e[t+6]]+ot[e[t+7]]+"-"+ot[e[t+8]]+ot[e[t+9]]+"-"+ot[e[t+10]]+ot[e[t+11]]+ot[e[t+12]]+ot[e[t+13]]+ot[e[t+14]]+ot[e[t+15]]).toLowerCase()}let oa;const VE=new Uint8Array(16);function UE(){if(!oa){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");oa=crypto.getRan
|
||
|
`).forEach(function(a){r=a.indexOf(":"),n=a.substring(0,r).trim().toLowerCase(),s=a.substring(r+1).trim(),!(!n||t[n]&&Gw[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},lf=Symbol("internals");function gr(e){return e&&String(e).trim().toLowerCase()}function Ni(e){return e===!1||e==null?e:x.isArray(e)?e.map(Ni):String(e)}function Qw(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const Xw=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function aa(e,t,n,s,r){if(x.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!x.isString(t)){if(x.isString(s))return t.indexOf(s)!==-1;if(x.isRegExp(s))return s.test(t)}}function Zw(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function e0(e,t){const n=x.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,o,a){return this[s].call(this,t,r,o,a)},configurable:!0})})}let St=class{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function o(l,u,d){const h=gr(u);if(!h)throw new Error("header name must be a non-empty string");const p=x.findKey(r,h);(!p||r[p]===void 0||d===!0||d===void 0&&r[p]!==!1)&&(r[p||u]=Ni(l))}const a=(l,u)=>x.forEach(l,(d,h)=>o(d,h,u));if(x.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(x.isString(t)&&(t=t.trim())&&!Xw(t))a(Jw(t),n);else if(x.isObject(t)&&x.isIterable(t)){let l={},u,d;for(const h of t){if(!x.isArray(h))throw TypeError("Object iterator must return a key-value pair");l[d=h[0]]=(u=l[d])?x.isArray(u)?[...u,h[1]]:[u,h[1]]:h[1]}a(l,n)}else t!=null&&o(n,t,s);return this}get(t,n){if(t=gr(t),t){const s=x.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return Qw(r);if(x.isFunction(n))return n.call(this,r,s);if(x.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=gr(t),t){const s=x.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||aa(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function o(a){if(a=gr(a),a){const l=x.findKey(s,a);l&&(!n||aa(s,s[l],l,n))&&(delete s[l],r=!0)}}return x.isArray(t)?t.forEach(o):o(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const o=n[s];(!t||aa(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const n=this,s={};return x.forEach(this,(r,o)=>{const a=x.findKey(s,o);if(a){n[a]=Ni(r),delete n[o];return}const l=t?Zw(o):String(o).trim();l!==o&&delete n[o],n[l]=Ni(r),s[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return x.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&x.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
||
|
`)}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,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[lf]=this[lf]={accessors:{}}).accessors,r=this.prototype;function o(a){const l=gr(a);s[l]||(e0(r,a),s[l]=!0)}return x.isArray(t)?t.forEach(o):o(t),this}};St.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);x.reduceDescriptors(St.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});x.freezeMethods(St);function la(e,t){const n=this||Kr,s=t||n,r=St.from(s.headers);let o=s.data;return x.forEach(e,function(l){o=l.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function tp(e){return!!(e&&e.__CANCEL__)}function nr(e,t,n){ve.call(this,e??"canceled",ve.ERR_CANCELED,t,n),this.name="CanceledError"}x.inherits(nr,ve,{__CANCEL__:!0});function np(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new ve("Request failed with status code "+n.status,[ve.ERR_BAD_REQUEST,ve.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function t0(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function n0(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,o=0,a;return t=t!==void 0?t:1e3,function(u){const d=Date.now(),h=s[o];a||(a=d),n[r]=u,s[r]=d;let p=o,_=0;for(;p!==r;)_+=n[p++],p=p%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),d-a<t)return;const g=h&&d-h;return g?Math.round(_*1e3/g):void 0}}function s0(e,t){let n=0,s=1e3/t,r,o;const a=(d,h=Date.now())=>{n=h,r=null,o&&(clearTimeout(o),o=null),e.apply(null,d)};return[(...d)=>{const h=Date.now(),p=h-n;p>=s?a(d,h):(r=d,o||(o=setTimeout(()=>{o=null,a(r)},s-p)))},()=>r&&a(r)]}const Ui=(e,t,n=3)=>{let s=0;const r=n0(50,250);return s0(o=>{const a=o.loaded,l=o.lengthComputable?o.total:void 0,u=a-s,d=r(u),h=a<=l;s=a;const p={loaded:a,total:l,progress:l?a/l:void 0,bytes:u,rate:d||void 0,estimated:d&&l&&h?(l-a)/d:void 0,event:o,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(p)},n)},cf=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},uf=e=>(...t)=>x.asap(()=>e(...t)),r0=ht.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,ht.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(ht.origin),ht.navigator&&/(msie|trident)/i.test(ht.navigator.userAgent)):()=>!0,i0=ht.hasStandardBrowserEnv?{write(e,t,n,s,r,o){const a=[e+"="+encodeURIComponent(t)];x.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),x.isString(s)&&a.push("path="+s),x.isString(r)&&a.push("domain="+r),o===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function o0(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function a0(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function sp(e,t,n){let s=!o0(t);return e&&(s||n==!1)?a0(e,t):t}const ff=e=>e instanceof St?{...e}:e;function vs(e,t){t=t||{};const n={};function s(d,h,p,_){return x.isPlainObject(d)&&x.isPlainObject(h)?x.merge.call({caseless:_},d,h):x.isPlainObject(h)?x.merge({},h):x.isArray(h)?h.slice():h}function r(d,h,p,_){if(x.isUndefined(h)){if(!x.isUndefined(d))return s(void 0,d,p,_)}else return s(d,h,p,_)}function o(d,h){if(!x.isUndefined(h))return s(void 0,h)}function a(d,h){if(x.isUndefined(h)){if(!x.isUndefined(d))return s(void 0,d)}else return s(void 0,h)}function l(d,h,p){if(p in t)return s(d,h);if(p in e)return s(void 0,d)}const u={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelTo
|
||
|
`+o.map(pf).join(`
|
||
|
`):" "+pf(o[0]):"as no adapter specified";throw new ve("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return s},adapters:nl};function ca(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new nr(null,e)}function mf(e){return ca(e),e.headers=St.from(e.headers),e.data=la.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ap.getAdapter(e.adapter||Kr.adapter)(e).then(function(s){return ca(e),s.data=la.call(e,e.transformResponse,s),s.headers=St.from(s.headers),s},function(s){return tp(s)||(ca(e),s&&s.response&&(s.response.data=la.call(e,e.transformResponse,s.response),s.response.headers=St.from(s.response.headers))),Promise.reject(s)})}const lp="1.9.0",co={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{co[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const gf={};co.transitional=function(t,n,s){function r(o,a){return"[Axios v"+lp+"] Transitional option '"+o+"'"+a+(s?". "+s:"")}return(o,a,l)=>{if(t===!1)throw new ve(r(a," has been removed"+(n?" in "+n:"")),ve.ERR_DEPRECATED);return n&&!gf[a]&&(gf[a]=!0,console.warn(r(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,a,l):!0}};co.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function y0(e,t,n){if(typeof e!="object")throw new ve("options must be an object",ve.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const o=s[r],a=t[o];if(a){const l=e[o],u=l===void 0||a(l,o,e);if(u!==!0)throw new ve("option "+o+" must be "+u,ve.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ve("Unknown option "+o,ve.ERR_BAD_OPTION)}}const xi={assertOptions:y0,validators:co},Zt=xi.validators;let ms=class{constructor(t){this.defaults=t||{},this.interceptors={request:new af,response:new af}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const o=r.stack?r.stack.replace(/^.+\n/,""):"";try{s.stack?o&&!String(s.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(s.stack+=`
|
||
|
`+o):s.stack=o}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=vs(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&xi.assertOptions(s,{silentJSONParsing:Zt.transitional(Zt.boolean),forcedJSONParsing:Zt.transitional(Zt.boolean),clarifyTimeoutError:Zt.transitional(Zt.boolean)},!1),r!=null&&(x.isFunction(r)?n.paramsSerializer={serialize:r}:xi.assertOptions(r,{encode:Zt.function,serialize:Zt.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),xi.assertOptions(n,{baseUrl:Zt.spelling("baseURL"),withXsrfToken:Zt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=o&&x.merge(o.common,o[n.method]);o&&x.forEach(["delete","get","head","post","put","patch","common"],E=>{delete o[E]}),n.headers=St.concat(a,o);const l=[];let u=!0;this.interceptors.request.forEach(function(T){typeof T.runWhen=="function"&&T.runWhen(n)===!1||(u=u&&T.synchronous,l.unshift(T.fulfilled,T.rejected))});const d=[];this.interceptors.response.forEach(function(T){d.push(T.fulfilled,T.rejected)});let h,p=0,_;if(!u){const E=[mf.bind(this),void 0];for(E.unshift.apply(E,l),E.push.apply(E,d),_=E.length,h=Promise.resolve(n);p<_;)h=h.then(E[p++],E[p++]);return h}_=l.length;let g=n;for(p=0;p<_;){const E=l[p++],T=l[p++];try{g=E(g)}catch(k){T.call(this,k);break}}try{h=mf.call(this,g)}catch(E){return Promise.reject(E)}for(p=0,_=d.length;p<_;)h=h.then(d[p++],d[p++]);return h}getUri(t){t=vs(this.defaults,t);const n=sp(t.baseURL,t.url,t.allowAbsoluteUrls);return Xh(n,t.params,t.paramsSerializer)}};x.forEach(["delete","get","head","options"],function(t){ms.prototype[t]=function(n,s){return this.request(vs(s||{},{method:t,url:n,data:(s||{}).data}))}});x.forEach(["post","put","patch"],function(t){function n(s){return function(o,a,l){return this.request(vs(l||{},{method:t,headers:s?{"Content-Type":"multipart/form-data"}:{},url:o,data:a}))}}ms.prototype[t]=n(),ms.prototype[t+"Form"]=n(!0)});let E0=class cp{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const s=this;this.promise.then(r=>{if(!s._listeners)return;let o=s._listeners.length;for(;o-- >0;)s._listeners[o](r);s._listeners=null}),this.promise.then=r=>{let o;const a=new Promise(l=>{s.subscribe(l),o=l}).then(r);return a.cancel=function(){s.unsubscribe(o)},a},t(function(o,a,l){s.reason||(s.reason=new nr(o,a,l),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new cp(function(r){t=r}),cancel:t}}};function w0(e){return function(n){return e.apply(null,n)}}function T0(e){return x.isObject(e)&&e.isAxiosError===!0}const sl={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,RequestHeaderFieldsToo
|
||
|
* vue-router v4.5.1
|
||
|
* (c) 2025 Eduardo San Martin Morote
|
||
|
* @license MIT
|
||
|
*/const js=typeof document<"u";function fp(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function B0(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&fp(e.default)}const De=Object.assign;function ua(e,t){const n={};for(const s in t){const r=t[s];n[s]=Yt(r)?r.map(e):e(r)}return n}const Or=()=>{},Yt=Array.isArray,dp=/#/g,F0=/&/g,H0=/\//g,V0=/=/g,U0=/\?/g,hp=/\+/g,j0=/%5B/g,q0=/%5D/g,pp=/%5E/g,K0=/%60/g,mp=/%7B/g,W0=/%7C/g,gp=/%7D/g,z0=/%20/g;function Ml(e){return encodeURI(""+e).replace(W0,"|").replace(j0,"[").replace(q0,"]")}function Y0(e){return Ml(e).replace(mp,"{").replace(gp,"}").replace(pp,"^")}function il(e){return Ml(e).replace(hp,"%2B").replace(z0,"+").replace(dp,"%23").replace(F0,"%26").replace(K0,"`").replace(mp,"{").replace(gp,"}").replace(pp,"^")}function G0(e){return il(e).replace(V0,"%3D")}function J0(e){return Ml(e).replace(dp,"%23").replace(U0,"%3F")}function Q0(e){return e==null?"":J0(e).replace(H0,"%2F")}function Br(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const X0=/\/$/,Z0=e=>e.replace(X0,"");function fa(e,t,n="/"){let s,r={},o="",a="";const l=t.indexOf("#");let u=t.indexOf("?");return l<u&&l>=0&&(u=-1),u>-1&&(s=t.slice(0,u),o=t.slice(u+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),a=t.slice(l,t.length)),s=sT(s??t,n),{fullPath:s+(o&&"?")+o+a,path:s,query:r,hash:Br(a)}}function eT(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function _f(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function tT(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Xs(t.matched[s],n.matched[r])&&_p(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Xs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function _p(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!nT(e[n],t[n]))return!1;return!0}function nT(e,t){return Yt(e)?bf(e,t):Yt(t)?bf(t,e):e===t}function bf(e,t){return Yt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function sT(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,a,l;for(a=0;a<s.length;a++)if(l=s[a],l!==".")if(l==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(a).join("/")}const Dn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Fr;(function(e){e.pop="pop",e.push="push"})(Fr||(Fr={}));var Rr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Rr||(Rr={}));function rT(e){if(!e)if(js){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Z0(e)}const iT=/^[^#]+#/;function oT(e,t){return e.replace(iT,"#")+t}function aT(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const uo=()=>({left:window.scrollX,top:window.scrollY});function lT(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=aT(r,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 vf(e,t){return(history.state?history.state.position-t:-1)+e}const ol=new Map;function cT(e,t){ol.set(e,t)}function uT(e){const t=ol.get(e);return ol.delete(e),t}let fT=()=>location.protocol+"//"+location.host;function bp(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,u=r.slice(l);return u[0]!=="/"&&(u="/"+u),_f(u,"")}return _f(n,e)+s+r}function dT(e,t,n,s){let r=[],o=[],a=null;const l=({state:_})=>{const g=bp(e,location),E=n.value,T=t.value;let k=0;if(_){if(n.value=g,t.value=_,a&&a===E){a=null;return}k=T?_.position
|
||
|
]))+`;en.KANJI=new RegExp(n,"g"),en.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),en.BYTE=new RegExp(s,"g"),en.NUMERIC=new RegExp(e,"g"),en.ALPHANUMERIC=new RegExp(t,"g");const r=new RegExp("^"+n+"$"),o=new RegExp("^"+e+"$"),a=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return en.testKanji=function(u){return r.test(u)},en.testNumeric=function(u){return o.test(u)},en.testAlphanumeric=function(u){return a.test(u)},en}var Yf;function Ts(){return Yf||(Yf=1,function(e){const t=Cp(),n=Sp();e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(o,a){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!t.isValid(a))throw new Error("Invalid version: "+a);return a>=1&&a<10?o.ccBits[0]:a<27?o.ccBits[1]:o.ccBits[2]},e.getBestModeForData=function(o){return n.testNumeric(o)?e.NUMERIC:n.testAlphanumeric(o)?e.ALPHANUMERIC:n.testKanji(o)?e.KANJI:e.BYTE},e.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},e.isValid=function(o){return o&&o.bit&&o.ccBits};function s(r){if(typeof r!="string")throw new Error("Param is not a string");switch(r.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+r)}}e.from=function(o,a){if(e.isValid(o))return o;try{return s(o)}catch{return a}}}(Aa)),Aa}var Gf;function XT(){return Gf||(Gf=1,function(e){const t=ws(),n=Ap(),s=Bl(),r=Ts(),o=Cp(),a=7973,l=t.getBCHDigit(a);function u(_,g,E){for(let T=1;T<=40;T++)if(g<=e.getCapacity(T,E,_))return T}function d(_,g){return r.getCharCountIndicator(_,g)+4}function h(_,g){let E=0;return _.forEach(function(T){const k=d(T.mode,g);E+=k+T.getBitsLength()}),E}function p(_,g){for(let E=1;E<=40;E++)if(h(_,E)<=e.getCapacity(E,g,r.MIXED))return E}e.from=function(g,E){return o.isValid(g)?parseInt(g,10):E},e.getCapacity=function(g,E,T){if(!o.isValid(g))throw new Error("Invalid QR Code version");typeof T>"u"&&(T=r.BYTE);const k=t.getSymbolTotalCodewords(g),P=n.getTotalCodewordsCount(g,E),D=(k-P)*8;if(T===r.MIXED)return D;const I=D-d(T,g);switch(T){case r.NUMERIC:return Math.floor(I/10*3);case r.ALPHANUMERIC:return Math.floor(I/11*2);case r.KANJI:return Math.floor(I/13);case r.BYTE:default:return Math.floor(I/8)}},e.getBestVersionForData=function(g,E){let T;const k=s.from(E,s.M);if(Array.isArray(g)){if(g.length>1)return p(g,k);if(g.length===0)return 1;T=g[0]}else T=g;return u(T.mode,T.getLength(),k)},e.getEncodedBits=function(g){if(!o.isValid(g)||g<7)throw new Error("Invalid QR Code version");let E=g<<12;for(;t.getBCHDigit(E)-l>=0;)E^=a<<t.getBCHDigit(E)-l;return g<<12|E}}(Ta)),Ta}var Sa={},Jf;function ZT(){if(Jf)return Sa;Jf=1;const e=ws(),t=1335,n=21522,s=e.getBCHDigit(t);return Sa.getEncodedBits=function(o,a){const l=o.bit<<3|a;let u=l<<10;for(;e.getBCHDigit(u)-s>=0;)u^=t<<e.getBCHDigit(u)-s;return(l<<10|u)^n},Sa}var Oa={},Ra,Qf;function eA(){if(Qf)return Ra;Qf=1;const e=Ts();function t(n){this.mode=e.NUMERIC,this.data=n.toString()}return t.getBitsLength=function(s){return 10*Math.floor(s/3)+(s%3?s%3*3+1:0)},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(s){let r,o,a;for(r=0;r+3<=this.data.length;r+=3)o=this.data.substr(r,3),a=parseInt(o,10),s.put(a,10);const l=this.data.length-r;l>0&&(o=this.data.substr(r),a=parseInt(o,10),s.put(a,l*3+1))},Ra=t,Ra}var Na,Xf;function tA(){if(Xf)return Na;Xf=1;const e=Ts(),t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function n(s){this.mode=e.ALPHANUMERIC,this.data=s}return n.getBitsLength=function(r){return 11*Math.floor(r/2)+6*(r%2)},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.len
|
||
|
Make sure your charset is UTF-8`);o=(o>>>8&255)*192+(o&255),s.put(o,13)}},Pa=n,Pa}var Da={exports:{}},td;function rA(){return td||(td=1,function(e){var t={single_source_shortest_paths:function(n,s,r){var o={},a={};a[s]=0;var l=t.PriorityQueue.make();l.push(s,0);for(var u,d,h,p,_,g,E,T,k;!l.empty();){u=l.pop(),d=u.value,p=u.cost,_=n[d]||{};for(h in _)_.hasOwnProperty(h)&&(g=_[h],E=p+g,T=a[h],k=typeof a[h]>"u",(k||T>E)&&(a[h]=E,l.push(h,E),o[h]=d))}if(typeof r<"u"&&typeof a[r]>"u"){var P=["Could not find a path from ",s," to ",r,"."].join("");throw new Error(P)}return o},extract_shortest_path_from_predecessor_list:function(n,s){for(var r=[],o=s;o;)r.push(o),n[o],o=n[o];return r.reverse(),r},find_path:function(n,s,r){var o=t.single_source_shortest_paths(n,s,r);return t.extract_shortest_path_from_predecessor_list(o,r)},PriorityQueue:{make:function(n){var s=t.PriorityQueue,r={},o;n=n||{};for(o in s)s.hasOwnProperty(o)&&(r[o]=s[o]);return r.queue=[],r.sorter=n.sorter||s.default_sorter,r},default_sorter:function(n,s){return n.cost-s.cost},push:function(n,s){var r={value:n,cost:s};this.queue.push(r),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t}(Da)),Da.exports}var nd;function iA(){return nd||(nd=1,function(e){const t=Ts(),n=eA(),s=tA(),r=nA(),o=sA(),a=Sp(),l=ws(),u=rA();function d(P){return unescape(encodeURIComponent(P)).length}function h(P,D,I){const B=[];let j;for(;(j=P.exec(I))!==null;)B.push({data:j[0],index:j.index,mode:D,length:j[0].length});return B}function p(P){const D=h(a.NUMERIC,t.NUMERIC,P),I=h(a.ALPHANUMERIC,t.ALPHANUMERIC,P);let B,j;return l.isKanjiModeEnabled()?(B=h(a.BYTE,t.BYTE,P),j=h(a.KANJI,t.KANJI,P)):(B=h(a.BYTE_KANJI,t.BYTE,P),j=[]),D.concat(I,B,j).sort(function(K,H){return K.index-H.index}).map(function(K){return{data:K.data,mode:K.mode,length:K.length}})}function _(P,D){switch(D){case t.NUMERIC:return n.getBitsLength(P);case t.ALPHANUMERIC:return s.getBitsLength(P);case t.KANJI:return o.getBitsLength(P);case t.BYTE:return r.getBitsLength(P)}}function g(P){return P.reduce(function(D,I){const B=D.length-1>=0?D[D.length-1]:null;return B&&B.mode===I.mode?(D[D.length-1].data+=I.data,D):(D.push(I),D)},[])}function E(P){const D=[];for(let I=0;I<P.length;I++){const B=P[I];switch(B.mode){case t.NUMERIC:D.push([B,{data:B.data,mode:t.ALPHANUMERIC,length:B.length},{data:B.data,mode:t.BYTE,length:B.length}]);break;case t.ALPHANUMERIC:D.push([B,{data:B.data,mode:t.BYTE,length:B.length}]);break;case t.KANJI:D.push([B,{data:B.data,mode:t.BYTE,length:d(B.data)}]);break;case t.BYTE:D.push([{data:B.data,mode:t.BYTE,length:d(B.data)}])}}return D}function T(P,D){const I={},B={start:{}};let j=["start"];for(let N=0;N<P.length;N++){const K=P[N],H=[];for(let O=0;O<K.length;O++){const F=K[O],U=""+N+O;H.push(U),I[U]={node:F,lastCount:0},B[U]={};for(let $=0;$<j.length;$++){const Q=j[$];I[Q]&&I[Q].node.mode===F.mode?(B[Q][U]=_(I[Q].lastCount+F.length,F.mode)-_(I[Q].lastCount,F.mode),I[Q].lastCount+=F.length):(I[Q]&&(I[Q].lastCount=F.length),B[Q][U]=_(F.length,F.mode)+4+t.getCharCountIndicator(F.mode,D))}}j=H}for(let N=0;N<j.length;N++)B[j[N]].end=0;return{map:B,table:I}}function k(P,D){let I;const B=t.getBestModeForData(P);if(I=t.from(D,B),I!==t.BYTE&&I.bit<B.bit)throw new Error('"'+P+'" cannot be encoded with mode '+t.toString(I)+`.
|
||
|
Suggested mode is: `+t.toString(B));switch(I===t.KANJI&&!l.isKanjiModeEnabled()&&(I=t.BYTE),I){case t.NUMERIC:return new n(P);case t.ALPHANUMERIC:return new s(P);case t.KANJI:return new o(P);case t.BYTE:return new r(P)}}e.fromArray=function(D){return D.reduce(function(I,B){return typeof B=="string"?I.push(k(B,null)):B.data&&I.push(k(B.data,B.mode)),I},[])},e.fromString=function(D,I){const B=p(D,l.isKanjiModeEnabled()),j=E(B),N=T(j,I),K=u.find_path(N.map,"start","end"),H=[];for(let O=1;O<K.length-1;O++)H.push(N.table[K[O]].node);return e.fromArray(g(H))},e.rawSplit=function(D){return e.fromArray(p(D,l.isKanjiModeEnabled()))}}(Oa)),Oa}var sd;function oA(){if(sd)return pa;sd=1;const e=ws(),t=Bl(),n=qT(),s=KT(),r=WT(),o=zT(),a=YT(),l=Ap(),u=QT(),d=XT(),h=ZT(),p=Ts(),_=iA();function g(N,K){const H=N.size,O=o.getPositions(K);for(let F=0;F<O.length;F++){const U=O[F][0],$=O[F][1];for(let Q=-1;Q<=7;Q++)if(!(U+Q<=-1||H<=U+Q))for(let W=-1;W<=7;W++)$+W<=-1||H<=$+W||(Q>=0&&Q<=6&&(W===0||W===6)||W>=0&&W<=6&&(Q===0||Q===6)||Q>=2&&Q<=4&&W>=2&&W<=4?N.set(U+Q,$+W,!0,!0):N.set(U+Q,$+W,!1,!0))}}function E(N){const K=N.size;for(let H=8;H<K-8;H++){const O=H%2===0;N.set(H,6,O,!0),N.set(6,H,O,!0)}}function T(N,K){const H=r.getPositions(K);for(let O=0;O<H.length;O++){const F=H[O][0],U=H[O][1];for(let $=-2;$<=2;$++)for(let Q=-2;Q<=2;Q++)$===-2||$===2||Q===-2||Q===2||$===0&&Q===0?N.set(F+$,U+Q,!0,!0):N.set(F+$,U+Q,!1,!0)}}function k(N,K){const H=N.size,O=d.getEncodedBits(K);let F,U,$;for(let Q=0;Q<18;Q++)F=Math.floor(Q/3),U=Q%3+H-8-3,$=(O>>Q&1)===1,N.set(F,U,$,!0),N.set(U,F,$,!0)}function P(N,K,H){const O=N.size,F=h.getEncodedBits(K,H);let U,$;for(U=0;U<15;U++)$=(F>>U&1)===1,U<6?N.set(U,8,$,!0):U<8?N.set(U+1,8,$,!0):N.set(O-15+U,8,$,!0),U<8?N.set(8,O-U-1,$,!0):U<9?N.set(8,15-U-1+1,$,!0):N.set(8,15-U-1,$,!0);N.set(O-8,8,1,!0)}function D(N,K){const H=N.size;let O=-1,F=H-1,U=7,$=0;for(let Q=H-1;Q>0;Q-=2)for(Q===6&&Q--;;){for(let W=0;W<2;W++)if(!N.isReserved(F,Q-W)){let X=!1;$<K.length&&(X=(K[$]>>>U&1)===1),N.set(F,Q-W,X),U--,U===-1&&($++,U=7)}if(F+=O,F<0||H<=F){F-=O,O=-O;break}}}function I(N,K,H){const O=new n;H.forEach(function(W){O.put(W.mode.bit,4),O.put(W.getLength(),p.getCharCountIndicator(W.mode,N)),W.write(O)});const F=e.getSymbolTotalCodewords(N),U=l.getTotalCodewordsCount(N,K),$=(F-U)*8;for(O.getLengthInBits()+4<=$&&O.put(0,4);O.getLengthInBits()%8!==0;)O.putBit(0);const Q=($-O.getLengthInBits())/8;for(let W=0;W<Q;W++)O.put(W%2?17:236,8);return B(O,N,K)}function B(N,K,H){const O=e.getSymbolTotalCodewords(K),F=l.getTotalCodewordsCount(K,H),U=O-F,$=l.getBlocksCount(K,H),Q=O%$,W=$-Q,X=Math.floor(O/$),z=Math.floor(U/$),J=z+1,G=X-z,ce=new u(G);let ue=0;const ge=new Array($),be=new Array($);let Re=0;const Ie=new Uint8Array(N.buffer);for(let te=0;te<$;te++){const ie=te<W?z:J;ge[te]=Ie.slice(ue,ue+ie),be[te]=ce.encode(ge[te]),ue+=ie,Re=Math.max(Re,ie)}const je=new Uint8Array(O);let We=0,M,w;for(M=0;M<Re;M++)for(w=0;w<$;w++)M<ge[w].length&&(je[We++]=ge[w][M]);for(M=0;M<G;M++)for(w=0;w<$;w++)je[We++]=be[w][M];return je}function j(N,K,H,O){let F;if(Array.isArray(N))F=_.fromArray(N);else if(typeof N=="string"){let X=K;if(!X){const z=_.rawSplit(N);X=d.getBestVersionForData(z,H)}F=_.fromString(N,X||40)}else throw new Error("Invalid data");const U=d.getBestVersionForData(F,H);if(!U)throw new Error("The amount of data is too big to be stored in a QR Code");if(!K)K=U;else if(K<U)throw new Error(`
|
||
|
The chosen QR Code version cannot contain this amount of data.
|
||
|
Minimum version required to store current data is: `+U+`.
|
||
|
`);const $=I(K,H,F),Q=e.getSymbolSize(K),W=new s(Q);return g(W,K),E(W),T(W,K),P(W,H,0),K>=7&&k(W,K),D(W,$),isNaN(O)&&(O=a.getBestMask(W,P.bind(null,W,H))),a.applyMask(O,W),P(W,H,O),{modules:W,version:K,errorCorrectionLevel:H,maskPattern:O,segments:F}}return pa.create=function(K,H){if(typeof K>"u"||K==="")throw new Error("No input text");let O=t.M,F,U;return typeof H<"u"&&(O=t.from(H.errorCorrectionLevel,t.M),F=d.from(H.version),U=a.from(H.maskPattern),H.toSJISFunc&&e.setToSJISFunction(H.toSJISFunc)),j(K,F,O,U)},pa}var $a={},La={},rd;function Op(){return rd||(rd=1,function(e){function t(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let s=n.slice().replace("#","").split("");if(s.length<3||s.length===5||s.length>8)throw new Error("Invalid hex color: "+n);(s.length===3||s.length===4)&&(s=Array.prototype.concat.apply([],s.map(function(o){return[o,o]}))),s.length===6&&s.push("F","F");const r=parseInt(s.join(""),16);return{r:r>>24&255,g:r>>16&255,b:r>>8&255,a:r&255,hex:"#"+s.slice(0,6).join("")}}e.getOptions=function(s){s||(s={}),s.color||(s.color={});const r=typeof s.margin>"u"||s.margin===null||s.margin<0?4:s.margin,o=s.width&&s.width>=21?s.width:void 0,a=s.scale||4;return{width:o,scale:o?4:a,margin:r,color:{dark:t(s.color.dark||"#000000ff"),light:t(s.color.light||"#ffffffff")},type:s.type,rendererOpts:s.rendererOpts||{}}},e.getScale=function(s,r){return r.width&&r.width>=s+r.margin*2?r.width/(s+r.margin*2):r.scale},e.getImageWidth=function(s,r){const o=e.getScale(s,r);return Math.floor((s+r.margin*2)*o)},e.qrToImageData=function(s,r,o){const a=r.modules.size,l=r.modules.data,u=e.getScale(a,o),d=Math.floor((a+o.margin*2)*u),h=o.margin*u,p=[o.color.light,o.color.dark];for(let _=0;_<d;_++)for(let g=0;g<d;g++){let E=(_*d+g)*4,T=o.color.light;if(_>=h&&g>=h&&_<d-h&&g<d-h){const k=Math.floor((_-h)/u),P=Math.floor((g-h)/u);T=p[l[k*a+P]?1:0]}s[E++]=T.r,s[E++]=T.g,s[E++]=T.b,s[E]=T.a}}}(La)),La}var id;function aA(){return id||(id=1,function(e){const t=Op();function n(r,o,a){r.clearRect(0,0,o.width,o.height),o.style||(o.style={}),o.height=a,o.width=a,o.style.height=a+"px",o.style.width=a+"px"}function s(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(o,a,l){let u=l,d=a;typeof u>"u"&&(!a||!a.getContext)&&(u=a,a=void 0),a||(d=s()),u=t.getOptions(u);const h=t.getImageWidth(o.modules.size,u),p=d.getContext("2d"),_=p.createImageData(h,h);return t.qrToImageData(_.data,o,u),n(p,d,h),p.putImageData(_,0,0),d},e.renderToDataURL=function(o,a,l){let u=l;typeof u>"u"&&(!a||!a.getContext)&&(u=a,a=void 0),u||(u={});const d=e.render(o,a,u),h=u.type||"image/png",p=u.rendererOpts||{};return d.toDataURL(h,p.quality)}}($a)),$a}var Ia={},od;function lA(){if(od)return Ia;od=1;const e=Op();function t(r,o){const a=r.a/255,l=o+'="'+r.hex+'"';return a<1?l+" "+o+'-opacity="'+a.toFixed(2).slice(1)+'"':l}function n(r,o,a){let l=r+o;return typeof a<"u"&&(l+=" "+a),l}function s(r,o,a){let l="",u=0,d=!1,h=0;for(let p=0;p<r.length;p++){const _=Math.floor(p%o),g=Math.floor(p/o);!_&&!d&&(d=!0),r[p]?(h++,p>0&&_>0&&r[p-1]||(l+=d?n("M",_+a,.5+g+a):n("m",u,0),u=0,d=!1),_+1<o&&r[p+1]||(l+=n("h",h),h=0)):u++}return l}return Ia.render=function(o,a,l){const u=e.getOptions(a),d=o.modules.size,h=o.modules.data,p=d+u.margin*2,_=u.color.light.a?"<path "+t(u.color.light,"fill")+' d="M0 0h'+p+"v"+p+'H0z"/>':"",g="<path "+t(u.color.dark,"stroke")+' d="'+s(h,d,u.margin)+'"/>',E='viewBox="0 0 '+p+" "+p+'"',k='<svg xmlns="http://www.w3.org/2000/svg" '+(u.width?'width="'+u.width+'" height="'+u.width+'" ':"")+E+' shape-rendering="crispEdges">'+_+g+`</svg>
|
||
|
`;return typeof l=="function"&&l(null,k),k},Ia}var ad;function cA(){if(ad)return Vs;ad=1;const e=jT(),t=oA(),n=aA(),s=lA();function r(o,a,l,u,d){const h=[].slice.call(arguments,1),p=h.length,_=typeof h[p-1]=="function";if(!_&&!e())throw new Error("Callback required as last argument");if(_){if(p<2)throw new Error("Too few arguments provided");p===2?(d=l,l=a,a=u=void 0):p===3&&(a.getContext&&typeof d>"u"?(d=u,u=void 0):(d=u,u=l,l=a,a=void 0))}else{if(p<1)throw new Error("Too few arguments provided");return p===1?(l=a,a=u=void 0):p===2&&!a.getContext&&(u=l,l=a,a=void 0),new Promise(function(g,E){try{const T=t.create(l,u);g(o(T,a,u))}catch(T){E(T)}})}try{const g=t.create(l,u);d(null,o(g,a,u))}catch(g){d(g)}}return Vs.create=t.create,Vs.toCanvas=r.bind(null,n.render),Vs.toDataURL=r.bind(null,n.renderToDataURL),Vs.toString=r.bind(null,function(o,a,l){return s.render(o,l)}),Vs}var uA=cA();const fA=Fh(uA),dA=["id"],Rp={__name:"qrcode",props:["content"],setup(e){const t=e,n=Bh().toString();return Es(()=>{fA.toCanvas(document.getElementById(`qrcode_${n}`),t.content,function(s){})}),(s,r)=>(Te(),Le("div",null,[L("canvas",{id:"qrcode_"+on(n),class:"rounded-3"},null,8,dA)]))}},hA={class:"p-2 position-fixed top-0 start-0 vw-100 vh-100 d-flex qrcodeContainer p-3 overflow-scroll"},pA={class:"m-auto d-flex gap-3 flex-column p-3"},mA={__name:"configurationQRCode",props:["qrcodeData"],emits:["back"],setup(e,{emit:t}){const n=e,s=t;return(r,o)=>(Te(),Le("div",hA,[L("div",pA,[L("div",null,[L("a",{role:"button",onClick:o[0]||(o[0]=a=>s("back")),class:"btn btn-body rounded-3 btn-sm"},o[1]||(o[1]=[L("i",{class:"me-2 bi bi-x-lg"},null,-1),Xe(" Dismiss ")]))]),xe(Rp,{content:n.qrcodeData},null,8,["content"]),o[2]||(o[2]=L("button",{class:"btn bg-primary-subtle border-primary-subtle rounded-3"},[L("i",{class:"bi bi-download me-2"}),Xe("Download ")],-1))])]))}},gA=sr(mA,[["__scopeId","data-v-cc8c55c7"]]),_A={class:"card rounded-3 border-0"},bA={class:"card-body p-3"},vA={class:"row gy-3"},yA={class:"col-sm-6 d-flex flex-column gap-3"},EA={class:"fw-bold mb-0"},wA={class:"mt-auto"},TA={class:"col-sm-6 d-flex flex-column gap-3"},AA={class:"d-flex gap-2"},CA={__name:"configuration",props:["config"],setup(e){const t=e,n=At(!1);return(s,r)=>(Te(),Le("div",_A,[L("div",bA,[L("div",vA,[L("div",yA,[L("h6",EA,yn(t.config.name),1),L("div",wA,[L("button",{class:"btn btn-outline-body rounded-3 flex-grow-1 fw-bold w-100",onClick:r[0]||(r[0]=o=>n.value=!0)},r[2]||(r[2]=[L("i",{class:"bi bi-link-45deg me-2"},null,-1),L("small",null,"Connect",-1)]))])]),L("div",TA,[L("div",AA,[r[3]||(r[3]=L("small",{class:"text-muted"},[L("i",{class:"bi bi-bar-chart-fill me-1"}),Xe(" Protocol ")],-1)),t.config.protocol==="wg"?(Te(),Le("span",{key:0,class:bn(["badge rounded-3 shadow ms-auto",[t.config.protocol==="wg"?"wireguardBg":"amneziawgBg"]])},yn(t.config.protocol==="wg"?"WireGuard":"AmneziaWG"),3)):Ir("",!0)]),r[4]||(r[4]=ky('<div class="d-flex gap-2" data-v-67ad03e2><small class="text-muted" data-v-67ad03e2><i class="bi bi-bar-chart-fill me-1" data-v-67ad03e2></i> Data Usage </small><small class="fw-bold flex-grow-1 text-end" data-v-67ad03e2> 3.42 / 4.00 GB </small></div><div class="d-flex gap-2" data-v-67ad03e2><small class="text-muted" data-v-67ad03e2><i class="bi bi-calendar me-1" data-v-67ad03e2></i> Valid Until </small><small class="fw-bold flex-grow-1 text-end" data-v-67ad03e2> 2025-08-31 00:00:00 </small></div>',2))])])]),xe(to,{name:"app"},{default:$t(()=>[n.value?(Te(),jn(gA,{key:0,onBack:r[1]||(r[1]=o=>n.value=!1),"qrcode-data":e.config.peer_configuration_data.file},null,8,["qrcode-data"])):Ir("",!0)]),_:1})]))}},SA=sr(CA,[["__scopeId","data-v-67ad03e2"]]),OA={class:"p-sm-3"},RA={class:"w-100 d-flex align-items-center"},NA={class:"ms-auto px-3 d-flex gap-2 nav-links"},xA={key:0,class:"d-flex flex-column gap-3"},PA={class:"p-3 d-flex flex-column gap-3"},DA={key:1,class:"d-flex py-4"},$A={__name:"index",setup(e){const t=Cn(),n=At(!0),s=st(()=>t.configurations);return Es(async()=>{await t.getConfigurations(),n.value=!1}),(r,o)=>{const a=jr("RouterLink");return Te(),Le
|
||
|
* Bootstrap v5.3.6 (https://getbootstrap.com/)
|
||
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
||
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||
|
*/var M1=Pi.exports,ld;function k1(){return ld||(ld=1,function(e,t){(function(n,s){e.exports=s()})(M1,function(){const n=new Map,s={set(f,i,c){n.has(f)||n.set(f,new Map);const m=n.get(f);if(!m.has(i)&&m.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(m.keys())[0]}.`);return}m.set(i,c)},get(f,i){return n.has(f)&&n.get(f).get(i)||null},remove(f,i){if(!n.has(f))return;const c=n.get(f);c.delete(i),c.size===0&&n.delete(f)}},r=1e6,o=1e3,a="transitionend",l=f=>(f&&window.CSS&&window.CSS.escape&&(f=f.replace(/#([^\s"#']+)/g,(i,c)=>`#${CSS.escape(c)}`)),f),u=f=>f==null?`${f}`:Object.prototype.toString.call(f).match(/\s([a-z]+)/i)[1].toLowerCase(),d=f=>{do f+=Math.floor(Math.random()*r);while(document.getElementById(f));return f},h=f=>{if(!f)return 0;let{transitionDuration:i,transitionDelay:c}=window.getComputedStyle(f);const m=Number.parseFloat(i),y=Number.parseFloat(c);return!m&&!y?0:(i=i.split(",")[0],c=c.split(",")[0],(Number.parseFloat(i)+Number.parseFloat(c))*o)},p=f=>{f.dispatchEvent(new Event(a))},_=f=>!f||typeof f!="object"?!1:(typeof f.jquery<"u"&&(f=f[0]),typeof f.nodeType<"u"),g=f=>_(f)?f.jquery?f[0]:f:typeof f=="string"&&f.length>0?document.querySelector(l(f)):null,E=f=>{if(!_(f)||f.getClientRects().length===0)return!1;const i=getComputedStyle(f).getPropertyValue("visibility")==="visible",c=f.closest("details:not([open])");if(!c)return i;if(c!==f){const m=f.closest("summary");if(m&&m.parentNode!==c||m===null)return!1}return i},T=f=>!f||f.nodeType!==Node.ELEMENT_NODE||f.classList.contains("disabled")?!0:typeof f.disabled<"u"?f.disabled:f.hasAttribute("disabled")&&f.getAttribute("disabled")!=="false",k=f=>{if(!document.documentElement.attachShadow)return null;if(typeof f.getRootNode=="function"){const i=f.getRootNode();return i instanceof ShadowRoot?i:null}return f instanceof ShadowRoot?f:f.parentNode?k(f.parentNode):null},P=()=>{},D=f=>{f.offsetHeight},I=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,B=[],j=f=>{document.readyState==="loading"?(B.length||document.addEventListener("DOMContentLoaded",()=>{for(const i of B)i()}),B.push(f)):f()},N=()=>document.documentElement.dir==="rtl",K=f=>{j(()=>{const i=I();if(i){const c=f.NAME,m=i.fn[c];i.fn[c]=f.jQueryInterface,i.fn[c].Constructor=f,i.fn[c].noConflict=()=>(i.fn[c]=m,f.jQueryInterface)}})},H=(f,i=[],c=f)=>typeof f=="function"?f.call(...i):c,O=(f,i,c=!0)=>{if(!c){H(f);return}const y=h(i)+5;let S=!1;const R=({target:q})=>{q===i&&(S=!0,i.removeEventListener(a,R),H(f))};i.addEventListener(a,R),setTimeout(()=>{S||p(i)},y)},F=(f,i,c,m)=>{const y=f.length;let S=f.indexOf(i);return S===-1?!c&&m?f[y-1]:f[0]:(S+=c?1:-1,m&&(S=(S+y)%y),f[Math.max(0,Math.min(S,y-1))])},U=/[^.]*(?=\..*)\.|.*/,$=/\..*/,Q=/::\d+$/,W={};let X=1;const z={mouseenter:"mouseover",mouseleave:"mouseout"},J=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function G(f,i){return i&&`${i}::${X++}`||f.uidEvent||X++}function ce(f){const i=G(f);return f.uidEvent=i,W[i]=W[i]||{},W[i]}function ue(f,i){return function c(m){return te(m,{delegateTarget:f}),c.oneOff&&w.off(f,m.type,i),i.apply(f,[m])}}function ge(f,i,c){return function m(y){const S=f.querySelectorAll(i);for(let{target:R}=y;R&&R!==this;R=R.parentNode)for(const q of S)if(q===R)return te(y,{delegateTarget:R}),m.oneOff&&w.off(f,y.type,i,c),c.apply(R,[y])}}function be(f,i,c=null){return Object.values(f).find(m=>m.callable===i&&m.delegationSelector===c)}function Re(f,i,c){const m=typeof i=="string",y=m?c:i||c;let S=M(f);return J.has(S)||(S=f),[m,y,S]}function
|