22 lines
111 KiB
JavaScript
22 lines
111 KiB
JavaScript
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))n(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const c of o.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&n(c)}).observe(document,{childList:!0,subtree:!0});function r(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(s){if(s.ep)return;s.ep=!0;const o=r(s);fetch(s.href,o)}})();function Jr(e,t){const r=Object.create(null),n=e.split(",");for(let s=0;s<n.length;s++)r[n[s]]=!0;return t?s=>!!r[s.toLowerCase()]:s=>!!r[s]}const ge={},Ot=[],Ue=()=>{},Fo=()=>!1,cr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Yr=e=>e.startsWith("onUpdate:"),ye=Object.assign,Qr=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},Po=Object.prototype.hasOwnProperty,le=(e,t)=>Po.call(e,t),se=Array.isArray,Ut=e=>ar(e)==="[object Map]",Io=e=>ar(e)==="[object Set]",oe=e=>typeof e=="function",we=e=>typeof e=="string",lr=e=>typeof e=="symbol",me=e=>e!==null&&typeof e=="object",bs=e=>(me(e)||oe(e))&&oe(e.then)&&oe(e.catch),To=Object.prototype.toString,ar=e=>To.call(e),Oo=e=>ar(e).slice(8,-1),Uo=e=>ar(e)==="[object Object]",Xr=e=>we(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Qt=Jr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ur=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},Mo=/-(\w)/g,xt=ur(e=>e.replace(Mo,(t,r)=>r?r.toUpperCase():"")),Lo=/\B([A-Z])/g,kt=ur(e=>e.replace(Lo,"-$1").toLowerCase()),ys=ur(e=>e.charAt(0).toUpperCase()+e.slice(1)),yr=ur(e=>e?`on${ys(e)}`:""),lt=(e,t)=>!Object.is(e,t),wr=(e,t)=>{for(let r=0;r<e.length;r++)e[r](t)},tr=(e,t,r)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},No=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let En;const Tr=()=>En||(En=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Zr(e){if(se(e)){const t={};for(let r=0;r<e.length;r++){const n=e[r],s=we(n)?Ko(n):Zr(n);if(s)for(const o in s)t[o]=s[o]}return t}else if(we(e)||me(e))return e}const jo=/;(?![^(]*\))/g,Ho=/:([^]+)/,Bo=/\/\*[^]*?\*\//g;function Ko(e){const t={};return e.replace(Bo,"").split(jo).forEach(r=>{if(r){const n=r.split(Ho);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Gr(e){let t="";if(we(e))t=e;else if(se(e))for(let r=0;r<e.length;r++){const n=Gr(e[r]);n&&(t+=n+" ")}else if(me(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}const Do="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",$o=Jr(Do);function ws(e){return!!e||e===""}let Ie;class _s{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ie,!t&&Ie&&(this.index=(Ie.scopes||(Ie.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const r=Ie;try{return Ie=this,t()}finally{Ie=r}}}on(){Ie=this}off(){Ie=this.parent}stop(t){if(this._active){let r,n;for(r=0,n=this.effects.length;r<n;r++)this.effects[r].stop();for(r=0,n=this.cleanups.length;r<n;r++)this.cleanups[r]();if(this.scopes)for(r=0,n=this.scopes.length;r<n;r++)this.scopes[r].stop(!0);if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}function zo(e){return new _s(e)}function Wo(e,t=Ie){t&&t.active&&t.effects.push(e)}function Vo(){return Ie}const en=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Es=e=>(e.w&tt)>0,ks=e=>(e.n&tt)>0,qo=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=tt},Jo=e=>{const{deps:t}=e;if(t.length){let r=0;for(let n=0;n<t.length;n++){const s=t[n];Es(s)&&!ks(s)?s.delete(e):t[r++]=s,s.w&=~tt,s.n&=~tt}t.length=r}},Or=new WeakMap;let Pt=0,tt=1;const Ur=30;let Te;const it=Symbol(""),Mr=Symbol("");class tn{constructor(t,r=null,n){this.fn=t,this.scheduler=r,this.active=!0,this.deps=[],this.parent=void 0,Wo(this,n)}run(){if(!this.active)return this.fn();let t=Te,r=Ge;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Te,Te=this,Ge=!0,tt=1<<++Pt,Pt<=Ur?qo(this):kn(this),this.fn()}finally{Pt<=Ur&&Jo(this),tt=1<<--Pt,Te=this.parent,Ge=r,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Te===this?this.deferStop=!0:this.active&&(kn(this),this.onStop&&this.onStop(),this.active=!1)}}function kn(e){const{deps:t}=e;if(t.length){for(let r=0;r<t.length;r++)t[r].delete(e);t.length=0}}let Ge=!0;const As=[];function At(){As.push(Ge),Ge=!1}function Rt(){const e=As.pop();Ge=e===void 0?!0:e}function Se(e,t,r){if(Ge&&Te){let n=Or.get(e);n||Or.set(e,n=new Map);let s=n.get(r);s||n.set(r,s=en()),Rs(s)}}function Rs(e,t){let r=!1;Pt<=Ur?ks(e)||(e.n|=tt,r=!Es(e)):r=!e.has(Te),r&&(e.add(Te),Te.deps.push(e))}function Ve(e,t,r,n,s,o){const c=Or.get(e);if(!c)return;let a=[];if(t==="clear")a=[...c.values()];else if(r==="length"&&se(e)){const i=Number(n);c.forEach((h,d)=>{(d==="length"||!lr(d)&&d>=i)&&a.push(h)})}else switch(r!==void 0&&a.push(c.get(r)),t){case"add":se(e)?Xr(r)&&a.push(c.get("length")):(a.push(c.get(it)),Ut(e)&&a.push(c.get(Mr)));break;case"delete":se(e)||(a.push(c.get(it)),Ut(e)&&a.push(c.get(Mr)));break;case"set":Ut(e)&&a.push(c.get(it));break}if(a.length===1)a[0]&&Lr(a[0]);else{const i=[];for(const h of a)h&&i.push(...h);Lr(en(i))}}function Lr(e,t){const r=se(e)?e:[...e];for(const n of r)n.computed&&An(n);for(const n of r)n.computed||An(n)}function An(e,t){(e!==Te||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Yo=Jr("__proto__,__v_isRef,__isVue"),Ss=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(lr)),Rn=Qo();function Qo(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){const n=fe(this);for(let o=0,c=this.length;o<c;o++)Se(n,"get",o+"");const s=n[t](...r);return s===-1||s===!1?n[t](...r.map(fe)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...r){At();const n=fe(this)[t].apply(this,r);return Rt(),n}}),e}function Xo(e){const t=fe(this);return Se(t,"has",e),t.hasOwnProperty(e)}class Cs{constructor(t=!1,r=!1){this._isReadonly=t,this._shallow=r}get(t,r,n){const s=this._isReadonly,o=this._shallow;if(r==="__v_isReactive")return!s;if(r==="__v_isReadonly")return s;if(r==="__v_isShallow")return o;if(r==="__v_raw"&&n===(s?o?ui:Ts:o?Is:Ps).get(t))return t;const c=se(t);if(!s){if(c&&le(Rn,r))return Reflect.get(Rn,r,n);if(r==="hasOwnProperty")return Xo}const a=Reflect.get(t,r,n);return(lr(r)?Ss.has(r):Yo(r))||(s||Se(t,"get",r),o)?a:ke(a)?c&&Xr(r)?a:a.value:me(a)?s?Us(a):dr(a):a}}class Fs extends Cs{constructor(t=!1){super(!1,t)}set(t,r,n,s){let o=t[r];if(bt(o)&&ke(o)&&!ke(n))return!1;if(!this._shallow&&(!rr(n)&&!bt(n)&&(o=fe(o),n=fe(n)),!se(t)&&ke(o)&&!ke(n)))return o.value=n,!0;const c=se(t)&&Xr(r)?Number(r)<t.length:le(t,r),a=Reflect.set(t,r,n,s);return t===fe(s)&&(c?lt(n,o)&&Ve(t,"set",r,n):Ve(t,"add",r,n)),a}deleteProperty(t,r){const n=le(t,r);t[r];const s=Reflect.deleteProperty(t,r);return s&&n&&Ve(t,"delete",r,void 0),s}has(t,r){const n=Reflect.has(t,r);return(!lr(r)||!Ss.has(r))&&Se(t,"has",r),n}ownKeys(t){return Se(t,"iterate",se(t)?"length":it),Reflect.ownKeys(t)}}class Zo extends Cs{constructor(t=!1){super(!0,t)}set(t,r){return!0}deleteProperty(t,r){return!0}}const Go=new Fs,ei=new Zo,ti=new Fs(!0),rn=e=>e,fr=e=>Reflect.getPrototypeOf(e);function zt(e,t,r=!1,n=!1){e=e.__v_raw;const s=fe(e),o=fe(t);r||(lt(t,o)&&Se(s,"get",t),Se(s,"get",o));const{has:c}=fr(s),a=n?rn:r?cn:jt;if(c.call(s,t))return a(e.get(t));if(c.call(s,o))return a(e.get(o));e!==s&&e.get(t)}function Wt(e,t=!1){const r=this.__v_raw,n=fe(r),s=fe(e);return t||(lt(e,s)&&Se(n,"has",e),Se(n,"has",s)),e===s?r.has(e):r.has(e)||r.has(s)}function Vt(e,t=!1){return e=e.__v_raw,!t&&Se(fe(e),"iterate",it),Reflect.get(e,"size",e)}function Sn(e){e=fe(e);const t=fe(this);return fr(t).has.call(t,e)||(t.add(e),Ve(t,"add",e,e)),this}function Cn(e,t){t=fe(t);const r=fe(this),{has:n,get:s}=fr(r);let o=n.call(r,e);o||(e=fe(e),o=n.call(r,e));const c=s.call(r,e);return r.set(e,t),o?lt(t,c)&&Ve(r,"set",e,t):Ve(r,"add",e,t),this}function Fn(e){const t=fe(this),{has:r,get:n}=fr(t);let s=r.call(t,e);s||(e=fe(e),s=r.call(t,e)),n&&n.call(t,e);const o=t.delete(e);return s&&Ve(t,"delete",e,void 0),o}function Pn(){const e=fe(this),t=e.size!==0,r=e.clear();return t&&Ve(e,"clear",void 0,void 0),r}function qt(e,t){return function(n,s){const o=this,c=o.__v_raw,a=fe(c),i=t?rn:e?cn:jt;return!e&&Se(a,"iterate",it),c.forEach((h,d)=>n.call(s,i(h),i(d),o))}}function Jt(e,t,r){return function(...n){const s=this.__v_raw,o=fe(s),c=Ut(o),a=e==="entries"||e===Symbol.iterator&&c,i=e==="keys"&&c,h=s[e](...n),d=r?rn:t?cn:jt;return!t&&Se(o,"iterate",i?Mr:it),{next(){const{value:v,done:b}=h.next();return b?{value:v,done:b}:{value:a?[d(v[0]),d(v[1])]:d(v),done:b}},[Symbol.iterator](){return this}}}}function Ye(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ri(){const e={get(o){return zt(this,o)},get size(){return Vt(this)},has:Wt,add:Sn,set:Cn,delete:Fn,clear:Pn,forEach:qt(!1,!1)},t={get(o){return zt(this,o,!1,!0)},get size(){return Vt(this)},has:Wt,add:Sn,set:Cn,delete:Fn,clear:Pn,forEach:qt(!1,!0)},r={get(o){return zt(this,o,!0)},get size(){return Vt(this,!0)},has(o){return Wt.call(this,o,!0)},add:Ye("add"),set:Ye("set"),delete:Ye("delete"),clear:Ye("clear"),forEach:qt(!0,!1)},n={get(o){return zt(this,o,!0,!0)},get size(){return Vt(this,!0)},has(o){return Wt.call(this,o,!0)},add:Ye("add"),set:Ye("set"),delete:Ye("delete"),clear:Ye("clear"),forEach:qt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Jt(o,!1,!1),r[o]=Jt(o,!0,!1),t[o]=Jt(o,!1,!0),n[o]=Jt(o,!0,!0)}),[e,r,t,n]}const[ni,si,oi,ii]=ri();function nn(e,t){const r=t?e?ii:oi:e?si:ni;return(n,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?n:Reflect.get(le(r,s)&&s in n?r:n,s,o)}const ci={get:nn(!1,!1)},li={get:nn(!1,!0)},ai={get:nn(!0,!1)},Ps=new WeakMap,Is=new WeakMap,Ts=new WeakMap,ui=new WeakMap;function fi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function di(e){return e.__v_skip||!Object.isExtensible(e)?0:fi(Oo(e))}function dr(e){return bt(e)?e:sn(e,!1,Go,ci,Ps)}function Os(e){return sn(e,!1,ti,li,Is)}function Us(e){return sn(e,!0,ei,ai,Ts)}function sn(e,t,r,n,s){if(!me(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const c=di(e);if(c===0)return e;const a=new Proxy(e,c===2?n:r);return s.set(e,a),a}function gt(e){return bt(e)?gt(e.__v_raw):!!(e&&e.__v_isReactive)}function bt(e){return!!(e&&e.__v_isReadonly)}function rr(e){return!!(e&&e.__v_isShallow)}function Ms(e){return gt(e)||bt(e)}function fe(e){const t=e&&e.__v_raw;return t?fe(t):e}function on(e){return tr(e,"__v_skip",!0),e}const jt=e=>me(e)?dr(e):e,cn=e=>me(e)?Us(e):e;function Ls(e){Ge&&Te&&(e=fe(e),Rs(e.dep||(e.dep=en())))}function Ns(e,t){e=fe(e);const r=e.dep;r&&Lr(r)}function ke(e){return!!(e&&e.__v_isRef===!0)}function ln(e){return js(e,!1)}function hi(e){return js(e,!0)}function js(e,t){return ke(e)?e:new pi(e,t)}class pi{constructor(t,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:fe(t),this._value=r?t:jt(t)}get value(){return Ls(this),this._value}set value(t){const r=this.__v_isShallow||rr(t)||bt(t);t=r?t:fe(t),lt(t,this._rawValue)&&(this._rawValue=t,this._value=r?t:jt(t),Ns(this))}}function mt(e){return ke(e)?e.value:e}const gi={get:(e,t,r)=>mt(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const s=e[t];return ke(s)&&!ke(r)?(s.value=r,!0):Reflect.set(e,t,r,n)}};function Hs(e){return gt(e)?e:new Proxy(e,gi)}class mi{constructor(t,r,n,s){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new tn(t,()=>{this._dirty||(this._dirty=!0,Ns(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=n}get value(){const t=fe(this);return Ls(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function vi(e,t,r=!1){let n,s;const o=oe(e);return o?(n=e,s=Ue):(n=e.get,s=e.set),new mi(n,s,o||!s,r)}function et(e,t,r,n){let s;try{s=n?e(...n):e()}catch(o){hr(o,t,r)}return s}function Me(e,t,r,n){if(oe(e)){const o=et(e,t,r,n);return o&&bs(o)&&o.catch(c=>{hr(c,t,r)}),o}const s=[];for(let o=0;o<e.length;o++)s.push(Me(e[o],t,r,n));return s}function hr(e,t,r,n=!0){const s=t?t.vnode:null;if(t){let o=t.parent;const c=t.proxy,a=r;for(;o;){const h=o.ec;if(h){for(let d=0;d<h.length;d++)if(h[d](e,c,a)===!1)return}o=o.parent}const i=t.appContext.config.errorHandler;if(i){et(i,null,10,[e,c,a]);return}}xi(e,r,s,n)}function xi(e,t,r,n=!0){console.error(e)}let Ht=!1,Nr=!1;const _e=[];let Ke=0;const vt=[];let We=null,st=0;const Bs=Promise.resolve();let an=null;function Ks(e){const t=an||Bs;return e?t.then(this?e.bind(this):e):t}function bi(e){let t=Ke+1,r=_e.length;for(;t<r;){const n=t+r>>>1,s=_e[n],o=Bt(s);o<e||o===e&&s.pre?t=n+1:r=n}return t}function un(e){(!_e.length||!_e.includes(e,Ht&&e.allowRecurse?Ke+1:Ke))&&(e.id==null?_e.push(e):_e.splice(bi(e.id),0,e),Ds())}function Ds(){!Ht&&!Nr&&(Nr=!0,an=Bs.then(zs))}function yi(e){const t=_e.indexOf(e);t>Ke&&_e.splice(t,1)}function wi(e){se(e)?vt.push(...e):(!We||!We.includes(e,e.allowRecurse?st+1:st))&&vt.push(e),Ds()}function In(e,t=Ht?Ke+1:0){for(;t<_e.length;t++){const r=_e[t];r&&r.pre&&(_e.splice(t,1),t--,r())}}function $s(e){if(vt.length){const t=[...new Set(vt)];if(vt.length=0,We){We.push(...t);return}for(We=t,We.sort((r,n)=>Bt(r)-Bt(n)),st=0;st<We.length;st++)We[st]();We=null,st=0}}const Bt=e=>e.id==null?1/0:e.id,_i=(e,t)=>{const r=Bt(e)-Bt(t);if(r===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return r};function zs(e){Nr=!1,Ht=!0,_e.sort(_i);const t=Ue;try{for(Ke=0;Ke<_e.length;Ke++){const r=_e[Ke];r&&r.active!==!1&&et(r,null,14)}}finally{Ke=0,_e.length=0,$s(),Ht=!1,an=null,(_e.length||vt.length)&&zs()}}function Ei(e,t,...r){if(e.isUnmounted)return;const n=e.vnode.props||ge;let s=r;const o=t.startsWith("update:"),c=o&&t.slice(7);if(c&&c in n){const d=`${c==="modelValue"?"model":c}Modifiers`,{number:v,trim:b}=n[d]||ge;b&&(s=r.map(k=>we(k)?k.trim():k)),v&&(s=r.map(No))}let a,i=n[a=yr(t)]||n[a=yr(xt(t))];!i&&o&&(i=n[a=yr(kt(t))]),i&&Me(i,e,6,s);const h=n[a+"Once"];if(h){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Me(h,e,6,s)}}function Ws(e,t,r=!1){const n=t.emitsCache,s=n.get(e);if(s!==void 0)return s;const o=e.emits;let c={},a=!1;if(!oe(e)){const i=h=>{const d=Ws(h,t,!0);d&&(a=!0,ye(c,d))};!r&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}return!o&&!a?(me(e)&&n.set(e,null),null):(se(o)?o.forEach(i=>c[i]=null):ye(c,o),me(e)&&n.set(e,c),c)}function pr(e,t){return!e||!cr(t)?!1:(t=t.slice(2).replace(/Once$/,""),le(e,t[0].toLowerCase()+t.slice(1))||le(e,kt(t))||le(e,t))}let $e=null,Vs=null;function nr(e){const t=$e;return $e=e,Vs=e&&e.type.__scopeId||null,t}function ki(e,t=$e,r){if(!t||e._n)return e;const n=(...s)=>{n._d&&Kn(-1);const o=nr(t);let c;try{c=e(...s)}finally{nr(o),n._d&&Kn(1)}return c};return n._n=!0,n._c=!0,n._d=!0,n}function _r(e){const{type:t,vnode:r,proxy:n,withProxy:s,props:o,propsOptions:[c],slots:a,attrs:i,emit:h,render:d,renderCache:v,data:b,setupState:k,ctx:K,inheritAttrs:W}=e;let J,q;const $=nr(e);try{if(r.shapeFlag&4){const V=s||n,ae=V;J=Be(d.call(ae,V,v,o,k,b,K)),q=i}else{const V=t;J=Be(V.length>1?V(o,{attrs:i,slots:a,emit:h}):V(o,null)),q=t.props?i:Ai(i)}}catch(V){hr(V,e,1),J=be(Kt)}let X=J;if(q&&W!==!1){const V=Object.keys(q),{shapeFlag:ae}=X;V.length&&ae&7&&(c&&V.some(Yr)&&(q=Ri(q,c)),X=yt(X,q))}return r.dirs&&(X=yt(X),X.dirs=X.dirs?X.dirs.concat(r.dirs):r.dirs),r.transition&&(X.transition=r.transition),J=X,nr($),J}const Ai=e=>{let t;for(const r in e)(r==="class"||r==="style"||cr(r))&&((t||(t={}))[r]=e[r]);return t},Ri=(e,t)=>{const r={};for(const n in e)(!Yr(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function Si(e,t,r){const{props:n,children:s,component:o}=e,{props:c,children:a,patchFlag:i}=t,h=o.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&i>=0){if(i&1024)return!0;if(i&16)return n?Tn(n,c,h):!!c;if(i&8){const d=t.dynamicProps;for(let v=0;v<d.length;v++){const b=d[v];if(c[b]!==n[b]&&!pr(h,b))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:n===c?!1:n?c?Tn(n,c,h):!0:!!c;return!1}function Tn(e,t,r){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let s=0;s<n.length;s++){const o=n[s];if(t[o]!==e[o]&&!pr(r,o))return!0}return!1}function Ci({vnode:e,parent:t},r){for(;t&&t.subTree===e;)(e=t.vnode).el=r,t=t.parent}const Fi=Symbol.for("v-ndc"),Pi=e=>e.__isSuspense;function Ii(e,t){t&&t.pendingBranch?se(e)?t.effects.push(...e):t.effects.push(e):wi(e)}const Yt={};function Xt(e,t,r){return qs(e,t,r)}function qs(e,t,{immediate:r,deep:n,flush:s,onTrack:o,onTrigger:c}=ge){var a;const i=Vo()===((a=Ee)==null?void 0:a.scope)?Ee:null;let h,d=!1,v=!1;if(ke(e)?(h=()=>e.value,d=rr(e)):gt(e)?(h=()=>e,n=!0):se(e)?(v=!0,d=e.some(V=>gt(V)||rr(V)),h=()=>e.map(V=>{if(ke(V))return V.value;if(gt(V))return ht(V);if(oe(V))return et(V,i,2)})):oe(e)?t?h=()=>et(e,i,2):h=()=>{if(!(i&&i.isUnmounted))return b&&b(),Me(e,i,3,[k])}:h=Ue,t&&n){const V=h;h=()=>ht(V())}let b,k=V=>{b=$.onStop=()=>{et(V,i,4),b=$.onStop=void 0}},K;if(Dt)if(k=Ue,t?r&&Me(t,i,3,[h(),v?[]:void 0,k]):h(),s==="sync"){const V=wc();K=V.__watcherHandles||(V.__watcherHandles=[])}else return Ue;let W=v?new Array(e.length).fill(Yt):Yt;const J=()=>{if($.active)if(t){const V=$.run();(n||d||(v?V.some((ae,_)=>lt(ae,W[_])):lt(V,W)))&&(b&&b(),Me(t,i,3,[V,W===Yt?void 0:v&&W[0]===Yt?[]:W,k]),W=V)}else $.run()};J.allowRecurse=!!t;let q;s==="sync"?q=J:s==="post"?q=()=>Re(J,i&&i.suspense):(J.pre=!0,i&&(J.id=i.uid),q=()=>un(J));const $=new tn(h,q);t?r?J():W=$.run():s==="post"?Re($.run.bind($),i&&i.suspense):$.run();const X=()=>{$.stop(),i&&i.scope&&Qr(i.scope.effects,$)};return K&&K.push(X),X}function Ti(e,t,r){const n=this.proxy,s=we(e)?e.includes(".")?Js(n,e):()=>n[e]:e.bind(n,n);let o;oe(t)?o=t:(o=t.handler,r=t);const c=Ee;wt(this);const a=qs(s,o.bind(n),r);return c?wt(c):ct(),a}function Js(e,t){const r=t.split(".");return()=>{let n=e;for(let s=0;s<r.length&&n;s++)n=n[r[s]];return n}}function ht(e,t){if(!me(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),ke(e))ht(e.value,t);else if(se(e))for(let r=0;r<e.length;r++)ht(e[r],t);else if(Io(e)||Ut(e))e.forEach(r=>{ht(r,t)});else if(Uo(e))for(const r in e)ht(e[r],t);return e}function rt(e,t,r,n){const s=e.dirs,o=t&&t.dirs;for(let c=0;c<s.length;c++){const a=s[c];o&&(a.oldValue=o[c].value);let i=a.dir[n];i&&(At(),Me(i,r,8,[e.el,a,e,t]),Rt())}}/*! #__NO_SIDE_EFFECTS__ */function Ys(e,t){return oe(e)?(()=>ye({name:e.name},t,{setup:e}))():e}const Zt=e=>!!e.type.__asyncLoader,Qs=e=>e.type.__isKeepAlive;function Oi(e,t){Xs(e,"a",t)}function Ui(e,t){Xs(e,"da",t)}function Xs(e,t,r=Ee){const n=e.__wdc||(e.__wdc=()=>{let s=r;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(gr(t,n,r),r){let s=r.parent;for(;s&&s.parent;)Qs(s.parent.vnode)&&Mi(n,t,r,s),s=s.parent}}function Mi(e,t,r,n){const s=gr(t,e,n,!0);eo(()=>{Qr(n[t],s)},r)}function gr(e,t,r=Ee,n=!1){if(r){const s=r[e]||(r[e]=[]),o=t.__weh||(t.__weh=(...c)=>{if(r.isUnmounted)return;At(),wt(r);const a=Me(t,r,e,c);return ct(),Rt(),a});return n?s.unshift(o):s.push(o),o}}const Je=e=>(t,r=Ee)=>(!Dt||e==="sp")&&gr(e,(...n)=>t(...n),r),Zs=Je("bm"),Li=Je("m"),Ni=Je("bu"),ji=Je("u"),Gs=Je("bum"),eo=Je("um"),Hi=Je("sp"),Bi=Je("rtg"),Ki=Je("rtc");function Di(e,t=Ee){gr("ec",e,t)}const jr=e=>e?uo(e)?mn(e)||e.proxy:jr(e.parent):null,Mt=ye(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=>jr(e.parent),$root:e=>jr(e.root),$emit:e=>e.emit,$options:e=>fn(e),$forceUpdate:e=>e.f||(e.f=()=>un(e.update)),$nextTick:e=>e.n||(e.n=Ks.bind(e.proxy)),$watch:e=>Ti.bind(e)}),Er=(e,t)=>e!==ge&&!e.__isScriptSetup&&le(e,t),$i={get({_:e},t){const{ctx:r,setupState:n,data:s,props:o,accessCache:c,type:a,appContext:i}=e;let h;if(t[0]!=="$"){const k=c[t];if(k!==void 0)switch(k){case 1:return n[t];case 2:return s[t];case 4:return r[t];case 3:return o[t]}else{if(Er(n,t))return c[t]=1,n[t];if(s!==ge&&le(s,t))return c[t]=2,s[t];if((h=e.propsOptions[0])&&le(h,t))return c[t]=3,o[t];if(r!==ge&&le(r,t))return c[t]=4,r[t];Hr&&(c[t]=0)}}const d=Mt[t];let v,b;if(d)return t==="$attrs"&&Se(e,"get",t),d(e);if((v=a.__cssModules)&&(v=v[t]))return v;if(r!==ge&&le(r,t))return c[t]=4,r[t];if(b=i.config.globalProperties,le(b,t))return b[t]},set({_:e},t,r){const{data:n,setupState:s,ctx:o}=e;return Er(s,t)?(s[t]=r,!0):n!==ge&&le(n,t)?(n[t]=r,!0):le(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:n,appContext:s,propsOptions:o}},c){let a;return!!r[c]||e!==ge&&le(e,c)||Er(t,c)||(a=o[0])&&le(a,c)||le(n,c)||le(Mt,c)||le(s.config.globalProperties,c)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:le(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function On(e){return se(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}let Hr=!0;function zi(e){const t=fn(e),r=e.proxy,n=e.ctx;Hr=!1,t.beforeCreate&&Un(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:c,watch:a,provide:i,inject:h,created:d,beforeMount:v,mounted:b,beforeUpdate:k,updated:K,activated:W,deactivated:J,beforeDestroy:q,beforeUnmount:$,destroyed:X,unmounted:V,render:ae,renderTracked:_,renderTriggered:T,errorCaptured:D,serverPrefetch:L,expose:N,inheritAttrs:O,components:Z,directives:S,filters:G}=t;if(h&&Wi(h,n,null),c)for(const ee in c){const te=c[ee];oe(te)&&(n[ee]=te.bind(r))}if(s){const ee=s.call(r,r);me(ee)&&(e.data=dr(ee))}if(Hr=!0,o)for(const ee in o){const te=o[ee],ne=oe(te)?te.bind(r,r):oe(te.get)?te.get.bind(r,r):Ue,ve=!oe(te)&&oe(te.set)?te.set.bind(r):Ue,u=Oe({get:ne,set:ve});Object.defineProperty(n,ee,{enumerable:!0,configurable:!0,get:()=>u.value,set:g=>u.value=g})}if(a)for(const ee in a)to(a[ee],n,r,ee);if(i){const ee=oe(i)?i.call(r):i;Reflect.ownKeys(ee).forEach(te=>{Gt(te,ee[te])})}d&&Un(d,e,"c");function ie(ee,te){se(te)?te.forEach(ne=>ee(ne.bind(r))):te&&ee(te.bind(r))}if(ie(Zs,v),ie(Li,b),ie(Ni,k),ie(ji,K),ie(Oi,W),ie(Ui,J),ie(Di,D),ie(Ki,_),ie(Bi,T),ie(Gs,$),ie(eo,V),ie(Hi,L),se(N))if(N.length){const ee=e.exposed||(e.exposed={});N.forEach(te=>{Object.defineProperty(ee,te,{get:()=>r[te],set:ne=>r[te]=ne})})}else e.exposed||(e.exposed={});ae&&e.render===Ue&&(e.render=ae),O!=null&&(e.inheritAttrs=O),Z&&(e.components=Z),S&&(e.directives=S)}function Wi(e,t,r=Ue){se(e)&&(e=Br(e));for(const n in e){const s=e[n];let o;me(s)?"default"in s?o=qe(s.from||n,s.default,!0):o=qe(s.from||n):o=qe(s),ke(o)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:c=>o.value=c}):t[n]=o}}function Un(e,t,r){Me(se(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function to(e,t,r,n){const s=n.includes(".")?Js(r,n):()=>r[n];if(we(e)){const o=t[e];oe(o)&&Xt(s,o)}else if(oe(e))Xt(s,e.bind(r));else if(me(e))if(se(e))e.forEach(o=>to(o,t,r,n));else{const o=oe(e.handler)?e.handler.bind(r):t[e.handler];oe(o)&&Xt(s,o,e)}}function fn(e){const t=e.type,{mixins:r,extends:n}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:c}}=e.appContext,a=o.get(t);let i;return a?i=a:!s.length&&!r&&!n?i=t:(i={},s.length&&s.forEach(h=>sr(i,h,c,!0)),sr(i,t,c)),me(t)&&o.set(t,i),i}function sr(e,t,r,n=!1){const{mixins:s,extends:o}=t;o&&sr(e,o,r,!0),s&&s.forEach(c=>sr(e,c,r,!0));for(const c in t)if(!(n&&c==="expose")){const a=Vi[c]||r&&r[c];e[c]=a?a(e[c],t[c]):t[c]}return e}const Vi={data:Mn,props:Ln,emits:Ln,methods:It,computed:It,beforeCreate:Ae,created:Ae,beforeMount:Ae,mounted:Ae,beforeUpdate:Ae,updated:Ae,beforeDestroy:Ae,beforeUnmount:Ae,destroyed:Ae,unmounted:Ae,activated:Ae,deactivated:Ae,errorCaptured:Ae,serverPrefetch:Ae,components:It,directives:It,watch:Ji,provide:Mn,inject:qi};function Mn(e,t){return t?e?function(){return ye(oe(e)?e.call(this,this):e,oe(t)?t.call(this,this):t)}:t:e}function qi(e,t){return It(Br(e),Br(t))}function Br(e){if(se(e)){const t={};for(let r=0;r<e.length;r++)t[e[r]]=e[r];return t}return e}function Ae(e,t){return e?[...new Set([].concat(e,t))]:t}function It(e,t){return e?ye(Object.create(null),e,t):t}function Ln(e,t){return e?se(e)&&se(t)?[...new Set([...e,...t])]:ye(Object.create(null),On(e),On(t??{})):t}function Ji(e,t){if(!e)return t;if(!t)return e;const r=ye(Object.create(null),e);for(const n in t)r[n]=Ae(e[n],t[n]);return r}function ro(){return{app:null,config:{isNativeTag:Fo,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Yi=0;function Qi(e,t){return function(n,s=null){oe(n)||(n=ye({},n)),s!=null&&!me(s)&&(s=null);const o=ro(),c=new WeakSet;let a=!1;const i=o.app={_uid:Yi++,_component:n,_props:s,_container:null,_context:o,_instance:null,version:_c,get config(){return o.config},set config(h){},use(h,...d){return c.has(h)||(h&&oe(h.install)?(c.add(h),h.install(i,...d)):oe(h)&&(c.add(h),h(i,...d))),i},mixin(h){return o.mixins.includes(h)||o.mixins.push(h),i},component(h,d){return d?(o.components[h]=d,i):o.components[h]},directive(h,d){return d?(o.directives[h]=d,i):o.directives[h]},mount(h,d,v){if(!a){const b=be(n,s);return b.appContext=o,d&&t?t(b,h):e(b,h,v),a=!0,i._container=h,h.__vue_app__=i,mn(b.component)||b.component.proxy}},unmount(){a&&(e(null,i._container),delete i._container.__vue_app__)},provide(h,d){return o.provides[h]=d,i},runWithContext(h){or=i;try{return h()}finally{or=null}}};return i}}let or=null;function Gt(e,t){if(Ee){let r=Ee.provides;const n=Ee.parent&&Ee.parent.provides;n===r&&(r=Ee.provides=Object.create(n)),r[e]=t}}function qe(e,t,r=!1){const n=Ee||$e;if(n||or){const s=n?n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:or._context.provides;if(s&&e in s)return s[e];if(arguments.length>1)return r&&oe(t)?t.call(n&&n.proxy):t}}function Xi(e,t,r,n=!1){const s={},o={};tr(o,vr,1),e.propsDefaults=Object.create(null),no(e,t,s,o);for(const c in e.propsOptions[0])c in s||(s[c]=void 0);r?e.props=n?s:Os(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Zi(e,t,r,n){const{props:s,attrs:o,vnode:{patchFlag:c}}=e,a=fe(s),[i]=e.propsOptions;let h=!1;if((n||c>0)&&!(c&16)){if(c&8){const d=e.vnode.dynamicProps;for(let v=0;v<d.length;v++){let b=d[v];if(pr(e.emitsOptions,b))continue;const k=t[b];if(i)if(le(o,b))k!==o[b]&&(o[b]=k,h=!0);else{const K=xt(b);s[K]=Kr(i,a,K,k,e,!1)}else k!==o[b]&&(o[b]=k,h=!0)}}}else{no(e,t,s,o)&&(h=!0);let d;for(const v in a)(!t||!le(t,v)&&((d=kt(v))===v||!le(t,d)))&&(i?r&&(r[v]!==void 0||r[d]!==void 0)&&(s[v]=Kr(i,a,v,void 0,e,!0)):delete s[v]);if(o!==a)for(const v in o)(!t||!le(t,v))&&(delete o[v],h=!0)}h&&Ve(e,"set","$attrs")}function no(e,t,r,n){const[s,o]=e.propsOptions;let c=!1,a;if(t)for(let i in t){if(Qt(i))continue;const h=t[i];let d;s&&le(s,d=xt(i))?!o||!o.includes(d)?r[d]=h:(a||(a={}))[d]=h:pr(e.emitsOptions,i)||(!(i in n)||h!==n[i])&&(n[i]=h,c=!0)}if(o){const i=fe(r),h=a||ge;for(let d=0;d<o.length;d++){const v=o[d];r[v]=Kr(s,i,v,h[v],e,!le(h,v))}}return c}function Kr(e,t,r,n,s,o){const c=e[r];if(c!=null){const a=le(c,"default");if(a&&n===void 0){const i=c.default;if(c.type!==Function&&!c.skipFactory&&oe(i)){const{propsDefaults:h}=s;r in h?n=h[r]:(wt(s),n=h[r]=i.call(null,t),ct())}else n=i}c[0]&&(o&&!a?n=!1:c[1]&&(n===""||n===kt(r))&&(n=!0))}return n}function so(e,t,r=!1){const n=t.propsCache,s=n.get(e);if(s)return s;const o=e.props,c={},a=[];let i=!1;if(!oe(e)){const d=v=>{i=!0;const[b,k]=so(v,t,!0);ye(c,b),k&&a.push(...k)};!r&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!o&&!i)return me(e)&&n.set(e,Ot),Ot;if(se(o))for(let d=0;d<o.length;d++){const v=xt(o[d]);Nn(v)&&(c[v]=ge)}else if(o)for(const d in o){const v=xt(d);if(Nn(v)){const b=o[d],k=c[v]=se(b)||oe(b)?{type:b}:ye({},b);if(k){const K=Bn(Boolean,k.type),W=Bn(String,k.type);k[0]=K>-1,k[1]=W<0||K<W,(K>-1||le(k,"default"))&&a.push(v)}}}const h=[c,a];return me(e)&&n.set(e,h),h}function Nn(e){return e[0]!=="$"}function jn(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Hn(e,t){return jn(e)===jn(t)}function Bn(e,t){return se(t)?t.findIndex(r=>Hn(r,e)):oe(t)&&Hn(t,e)?0:-1}const oo=e=>e[0]==="_"||e==="$stable",dn=e=>se(e)?e.map(Be):[Be(e)],Gi=(e,t,r)=>{if(t._n)return t;const n=ki((...s)=>dn(t(...s)),r);return n._c=!1,n},io=(e,t,r)=>{const n=e._ctx;for(const s in e){if(oo(s))continue;const o=e[s];if(oe(o))t[s]=Gi(s,o,n);else if(o!=null){const c=dn(o);t[s]=()=>c}}},co=(e,t)=>{const r=dn(t);e.slots.default=()=>r},ec=(e,t)=>{if(e.vnode.shapeFlag&32){const r=t._;r?(e.slots=fe(t),tr(t,"_",r)):io(t,e.slots={})}else e.slots={},t&&co(e,t);tr(e.slots,vr,1)},tc=(e,t,r)=>{const{vnode:n,slots:s}=e;let o=!0,c=ge;if(n.shapeFlag&32){const a=t._;a?r&&a===1?o=!1:(ye(s,t),!r&&a===1&&delete s._):(o=!t.$stable,io(t,s)),c=t}else t&&(co(e,t),c={default:1});if(o)for(const a in s)!oo(a)&&c[a]==null&&delete s[a]};function Dr(e,t,r,n,s=!1){if(se(e)){e.forEach((b,k)=>Dr(b,t&&(se(t)?t[k]:t),r,n,s));return}if(Zt(n)&&!s)return;const o=n.shapeFlag&4?mn(n.component)||n.component.proxy:n.el,c=s?null:o,{i:a,r:i}=e,h=t&&t.r,d=a.refs===ge?a.refs={}:a.refs,v=a.setupState;if(h!=null&&h!==i&&(we(h)?(d[h]=null,le(v,h)&&(v[h]=null)):ke(h)&&(h.value=null)),oe(i))et(i,a,12,[c,d]);else{const b=we(i),k=ke(i);if(b||k){const K=()=>{if(e.f){const W=b?le(v,i)?v[i]:d[i]:i.value;s?se(W)&&Qr(W,o):se(W)?W.includes(o)||W.push(o):b?(d[i]=[o],le(v,i)&&(v[i]=d[i])):(i.value=[o],e.k&&(d[e.k]=i.value))}else b?(d[i]=c,le(v,i)&&(v[i]=c)):k&&(i.value=c,e.k&&(d[e.k]=c))};c?(K.id=-1,Re(K,r)):K()}}}const Re=Ii;function rc(e){return nc(e)}function nc(e,t){const r=Tr();r.__VUE__=!0;const{insert:n,remove:s,patchProp:o,createElement:c,createText:a,createComment:i,setText:h,setElementText:d,parentNode:v,nextSibling:b,setScopeId:k=Ue,insertStaticContent:K}=e,W=(l,f,m,w=null,A=null,F=null,B=!1,M=null,j=!!f.dynamicChildren)=>{if(l===f)return;l&&!Ct(l,f)&&(w=p(l),g(l,A,F,!0),l=null),f.patchFlag===-2&&(j=!1,f.dynamicChildren=null);const{type:P,ref:Y,shapeFlag:z}=f;switch(P){case mr:J(l,f,m,w);break;case Kt:q(l,f,m,w);break;case kr:l==null&&$(f,m,w,B);break;case He:Z(l,f,m,w,A,F,B,M,j);break;default:z&1?ae(l,f,m,w,A,F,B,M,j):z&6?S(l,f,m,w,A,F,B,M,j):(z&64||z&128)&&P.process(l,f,m,w,A,F,B,M,j,y)}Y!=null&&A&&Dr(Y,l&&l.ref,F,f||l,!f)},J=(l,f,m,w)=>{if(l==null)n(f.el=a(f.children),m,w);else{const A=f.el=l.el;f.children!==l.children&&h(A,f.children)}},q=(l,f,m,w)=>{l==null?n(f.el=i(f.children||""),m,w):f.el=l.el},$=(l,f,m,w)=>{[l.el,l.anchor]=K(l.children,f,m,w,l.el,l.anchor)},X=({el:l,anchor:f},m,w)=>{let A;for(;l&&l!==f;)A=b(l),n(l,m,w),l=A;n(f,m,w)},V=({el:l,anchor:f})=>{let m;for(;l&&l!==f;)m=b(l),s(l),l=m;s(f)},ae=(l,f,m,w,A,F,B,M,j)=>{B=B||f.type==="svg",l==null?_(f,m,w,A,F,B,M,j):L(l,f,A,F,B,M,j)},_=(l,f,m,w,A,F,B,M)=>{let j,P;const{type:Y,props:z,shapeFlag:Q,transition:re,dirs:ce}=l;if(j=l.el=c(l.type,F,z&&z.is,z),Q&8?d(j,l.children):Q&16&&D(l.children,j,null,w,A,F&&Y!=="foreignObject",B,M),ce&&rt(l,null,w,"created"),T(j,l,l.scopeId,B,w),z){for(const he in z)he!=="value"&&!Qt(he)&&o(j,he,null,z[he],F,l.children,w,A,U);"value"in z&&o(j,"value",null,z.value),(P=z.onVnodeBeforeMount)&&je(P,w,l)}ce&&rt(l,null,w,"beforeMount");const pe=sc(A,re);pe&&re.beforeEnter(j),n(j,f,m),((P=z&&z.onVnodeMounted)||pe||ce)&&Re(()=>{P&&je(P,w,l),pe&&re.enter(j),ce&&rt(l,null,w,"mounted")},A)},T=(l,f,m,w,A)=>{if(m&&k(l,m),w)for(let F=0;F<w.length;F++)k(l,w[F]);if(A){let F=A.subTree;if(f===F){const B=A.vnode;T(l,B,B.scopeId,B.slotScopeIds,A.parent)}}},D=(l,f,m,w,A,F,B,M,j=0)=>{for(let P=j;P<l.length;P++){const Y=l[P]=M?Xe(l[P]):Be(l[P]);W(null,Y,f,m,w,A,F,B,M)}},L=(l,f,m,w,A,F,B)=>{const M=f.el=l.el;let{patchFlag:j,dynamicChildren:P,dirs:Y}=f;j|=l.patchFlag&16;const z=l.props||ge,Q=f.props||ge;let re;m&&nt(m,!1),(re=Q.onVnodeBeforeUpdate)&&je(re,m,f,l),Y&&rt(f,l,m,"beforeUpdate"),m&&nt(m,!0);const ce=A&&f.type!=="foreignObject";if(P?N(l.dynamicChildren,P,M,m,w,ce,F):B||te(l,f,M,null,m,w,ce,F,!1),j>0){if(j&16)O(M,f,z,Q,m,w,A);else if(j&2&&z.class!==Q.class&&o(M,"class",null,Q.class,A),j&4&&o(M,"style",z.style,Q.style,A),j&8){const pe=f.dynamicProps;for(let he=0;he<pe.length;he++){const xe=pe[he],Pe=z[xe],at=Q[xe];(at!==Pe||xe==="value")&&o(M,xe,Pe,at,A,l.children,m,w,U)}}j&1&&l.children!==f.children&&d(M,f.children)}else!B&&P==null&&O(M,f,z,Q,m,w,A);((re=Q.onVnodeUpdated)||Y)&&Re(()=>{re&&je(re,m,f,l),Y&&rt(f,l,m,"updated")},w)},N=(l,f,m,w,A,F,B)=>{for(let M=0;M<f.length;M++){const j=l[M],P=f[M],Y=j.el&&(j.type===He||!Ct(j,P)||j.shapeFlag&70)?v(j.el):m;W(j,P,Y,null,w,A,F,B,!0)}},O=(l,f,m,w,A,F,B)=>{if(m!==w){if(m!==ge)for(const M in m)!Qt(M)&&!(M in w)&&o(l,M,m[M],null,B,f.children,A,F,U);for(const M in w){if(Qt(M))continue;const j=w[M],P=m[M];j!==P&&M!=="value"&&o(l,M,P,j,B,f.children,A,F,U)}"value"in w&&o(l,"value",m.value,w.value)}},Z=(l,f,m,w,A,F,B,M,j)=>{const P=f.el=l?l.el:a(""),Y=f.anchor=l?l.anchor:a("");let{patchFlag:z,dynamicChildren:Q,slotScopeIds:re}=f;re&&(M=M?M.concat(re):re),l==null?(n(P,m,w),n(Y,m,w),D(f.children,m,Y,A,F,B,M,j)):z>0&&z&64&&Q&&l.dynamicChildren?(N(l.dynamicChildren,Q,m,A,F,B,M),(f.key!=null||A&&f===A.subTree)&&lo(l,f,!0)):te(l,f,m,Y,A,F,B,M,j)},S=(l,f,m,w,A,F,B,M,j)=>{f.slotScopeIds=M,l==null?f.shapeFlag&512?A.ctx.activate(f,m,w,B,j):G(f,m,w,A,F,B,j):ue(l,f,j)},G=(l,f,m,w,A,F,B)=>{const M=l.component=pc(l,w,A);if(Qs(l)&&(M.ctx.renderer=y),gc(M),M.asyncDep){if(A&&A.registerDep(M,ie),!l.el){const j=M.subTree=be(Kt);q(null,j,f,m)}return}ie(M,l,f,m,A,F,B)},ue=(l,f,m)=>{const w=f.component=l.component;if(Si(l,f,m))if(w.asyncDep&&!w.asyncResolved){ee(w,f,m);return}else w.next=f,yi(w.update),w.update();else f.el=l.el,w.vnode=f},ie=(l,f,m,w,A,F,B)=>{const M=()=>{if(l.isMounted){let{next:Y,bu:z,u:Q,parent:re,vnode:ce}=l,pe=Y,he;nt(l,!1),Y?(Y.el=ce.el,ee(l,Y,B)):Y=ce,z&&wr(z),(he=Y.props&&Y.props.onVnodeBeforeUpdate)&&je(he,re,Y,ce),nt(l,!0);const xe=_r(l),Pe=l.subTree;l.subTree=xe,W(Pe,xe,v(Pe.el),p(Pe),l,A,F),Y.el=xe.el,pe===null&&Ci(l,xe.el),Q&&Re(Q,A),(he=Y.props&&Y.props.onVnodeUpdated)&&Re(()=>je(he,re,Y,ce),A)}else{let Y;const{el:z,props:Q}=f,{bm:re,m:ce,parent:pe}=l,he=Zt(f);if(nt(l,!1),re&&wr(re),!he&&(Y=Q&&Q.onVnodeBeforeMount)&&je(Y,pe,f),nt(l,!0),z&&H){const xe=()=>{l.subTree=_r(l),H(z,l.subTree,l,A,null)};he?f.type.__asyncLoader().then(()=>!l.isUnmounted&&xe()):xe()}else{const xe=l.subTree=_r(l);W(null,xe,m,w,l,A,F),f.el=xe.el}if(ce&&Re(ce,A),!he&&(Y=Q&&Q.onVnodeMounted)){const xe=f;Re(()=>je(Y,pe,xe),A)}(f.shapeFlag&256||pe&&Zt(pe.vnode)&&pe.vnode.shapeFlag&256)&&l.a&&Re(l.a,A),l.isMounted=!0,f=m=w=null}},j=l.effect=new tn(M,()=>un(P),l.scope),P=l.update=()=>j.run();P.id=l.uid,nt(l,!0),P()},ee=(l,f,m)=>{f.component=l;const w=l.vnode.props;l.vnode=f,l.next=null,Zi(l,f.props,w,m),tc(l,f.children,m),At(),In(),Rt()},te=(l,f,m,w,A,F,B,M,j=!1)=>{const P=l&&l.children,Y=l?l.shapeFlag:0,z=f.children,{patchFlag:Q,shapeFlag:re}=f;if(Q>0){if(Q&128){ve(P,z,m,w,A,F,B,M,j);return}else if(Q&256){ne(P,z,m,w,A,F,B,M,j);return}}re&8?(Y&16&&U(P,A,F),z!==P&&d(m,z)):Y&16?re&16?ve(P,z,m,w,A,F,B,M,j):U(P,A,F,!0):(Y&8&&d(m,""),re&16&&D(z,m,w,A,F,B,M,j))},ne=(l,f,m,w,A,F,B,M,j)=>{l=l||Ot,f=f||Ot;const P=l.length,Y=f.length,z=Math.min(P,Y);let Q;for(Q=0;Q<z;Q++){const re=f[Q]=j?Xe(f[Q]):Be(f[Q]);W(l[Q],re,m,null,A,F,B,M,j)}P>Y?U(l,A,F,!0,!1,z):D(f,m,w,A,F,B,M,j,z)},ve=(l,f,m,w,A,F,B,M,j)=>{let P=0;const Y=f.length;let z=l.length-1,Q=Y-1;for(;P<=z&&P<=Q;){const re=l[P],ce=f[P]=j?Xe(f[P]):Be(f[P]);if(Ct(re,ce))W(re,ce,m,null,A,F,B,M,j);else break;P++}for(;P<=z&&P<=Q;){const re=l[z],ce=f[Q]=j?Xe(f[Q]):Be(f[Q]);if(Ct(re,ce))W(re,ce,m,null,A,F,B,M,j);else break;z--,Q--}if(P>z){if(P<=Q){const re=Q+1,ce=re<Y?f[re].el:w;for(;P<=Q;)W(null,f[P]=j?Xe(f[P]):Be(f[P]),m,ce,A,F,B,M,j),P++}}else if(P>Q)for(;P<=z;)g(l[P],A,F,!0),P++;else{const re=P,ce=P,pe=new Map;for(P=ce;P<=Q;P++){const Ce=f[P]=j?Xe(f[P]):Be(f[P]);Ce.key!=null&&pe.set(Ce.key,P)}let he,xe=0;const Pe=Q-ce+1;let at=!1,yn=0;const St=new Array(Pe);for(P=0;P<Pe;P++)St[P]=0;for(P=re;P<=z;P++){const Ce=l[P];if(xe>=Pe){g(Ce,A,F,!0);continue}let Ne;if(Ce.key!=null)Ne=pe.get(Ce.key);else for(he=ce;he<=Q;he++)if(St[he-ce]===0&&Ct(Ce,f[he])){Ne=he;break}Ne===void 0?g(Ce,A,F,!0):(St[Ne-ce]=P+1,Ne>=yn?yn=Ne:at=!0,W(Ce,f[Ne],m,null,A,F,B,M,j),xe++)}const wn=at?oc(St):Ot;for(he=wn.length-1,P=Pe-1;P>=0;P--){const Ce=ce+P,Ne=f[Ce],_n=Ce+1<Y?f[Ce+1].el:w;St[P]===0?W(null,Ne,m,_n,A,F,B,M,j):at&&(he<0||P!==wn[he]?u(Ne,m,_n,2):he--)}}},u=(l,f,m,w,A=null)=>{const{el:F,type:B,transition:M,children:j,shapeFlag:P}=l;if(P&6){u(l.component.subTree,f,m,w);return}if(P&128){l.suspense.move(f,m,w);return}if(P&64){B.move(l,f,m,y);return}if(B===He){n(F,f,m);for(let z=0;z<j.length;z++)u(j[z],f,m,w);n(l.anchor,f,m);return}if(B===kr){X(l,f,m);return}if(w!==2&&P&1&&M)if(w===0)M.beforeEnter(F),n(F,f,m),Re(()=>M.enter(F),A);else{const{leave:z,delayLeave:Q,afterLeave:re}=M,ce=()=>n(F,f,m),pe=()=>{z(F,()=>{ce(),re&&re()})};Q?Q(F,ce,pe):pe()}else n(F,f,m)},g=(l,f,m,w=!1,A=!1)=>{const{type:F,props:B,ref:M,children:j,dynamicChildren:P,shapeFlag:Y,patchFlag:z,dirs:Q}=l;if(M!=null&&Dr(M,null,m,l,!0),Y&256){f.ctx.deactivate(l);return}const re=Y&1&&Q,ce=!Zt(l);let pe;if(ce&&(pe=B&&B.onVnodeBeforeUnmount)&&je(pe,f,l),Y&6)R(l.component,m,w);else{if(Y&128){l.suspense.unmount(m,w);return}re&&rt(l,null,f,"beforeUnmount"),Y&64?l.type.remove(l,f,m,A,y,w):P&&(F!==He||z>0&&z&64)?U(P,f,m,!1,!0):(F===He&&z&384||!A&&Y&16)&&U(j,f,m),w&&C(l)}(ce&&(pe=B&&B.onVnodeUnmounted)||re)&&Re(()=>{pe&&je(pe,f,l),re&&rt(l,null,f,"unmounted")},m)},C=l=>{const{type:f,el:m,anchor:w,transition:A}=l;if(f===He){I(m,w);return}if(f===kr){V(l);return}const F=()=>{s(m),A&&!A.persisted&&A.afterLeave&&A.afterLeave()};if(l.shapeFlag&1&&A&&!A.persisted){const{leave:B,delayLeave:M}=A,j=()=>B(m,F);M?M(l.el,F,j):j()}else F()},I=(l,f)=>{let m;for(;l!==f;)m=b(l),s(l),l=m;s(f)},R=(l,f,m)=>{const{bum:w,scope:A,update:F,subTree:B,um:M}=l;w&&wr(w),A.stop(),F&&(F.active=!1,g(B,l,f,m)),M&&Re(M,f),Re(()=>{l.isUnmounted=!0},f),f&&f.pendingBranch&&!f.isUnmounted&&l.asyncDep&&!l.asyncResolved&&l.suspenseId===f.pendingId&&(f.deps--,f.deps===0&&f.resolve())},U=(l,f,m,w=!1,A=!1,F=0)=>{for(let B=F;B<l.length;B++)g(l[B],f,m,w,A)},p=l=>l.shapeFlag&6?p(l.component.subTree):l.shapeFlag&128?l.suspense.next():b(l.anchor||l.el),x=(l,f,m)=>{l==null?f._vnode&&g(f._vnode,null,null,!0):W(f._vnode||null,l,f,null,null,null,m),In(),$s(),f._vnode=l},y={p:W,um:g,m:u,r:C,mt:G,mc:D,pc:te,pbc:N,n:p,o:e};let E,H;return t&&([E,H]=t(y)),{render:x,hydrate:E,createApp:Qi(x,E)}}function nt({effect:e,update:t},r){e.allowRecurse=t.allowRecurse=r}function sc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function lo(e,t,r=!1){const n=e.children,s=t.children;if(se(n)&&se(s))for(let o=0;o<n.length;o++){const c=n[o];let a=s[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[o]=Xe(s[o]),a.el=c.el),r||lo(c,a)),a.type===mr&&(a.el=c.el)}}function oc(e){const t=e.slice(),r=[0];let n,s,o,c,a;const i=e.length;for(n=0;n<i;n++){const h=e[n];if(h!==0){if(s=r[r.length-1],e[s]<h){t[n]=s,r.push(n);continue}for(o=0,c=r.length-1;o<c;)a=o+c>>1,e[r[a]]<h?o=a+1:c=a;h<e[r[o]]&&(o>0&&(t[n]=r[o-1]),r[o]=n)}}for(o=r.length,c=r[o-1];o-- >0;)r[o]=c,c=t[c];return r}const ic=e=>e.__isTeleport,He=Symbol.for("v-fgt"),mr=Symbol.for("v-txt"),Kt=Symbol.for("v-cmt"),kr=Symbol.for("v-stc");let pt=null,hn=1;function Kn(e){hn+=e}function $r(e){return e?e.__v_isVNode===!0:!1}function Ct(e,t){return e.type===t.type&&e.key===t.key}const vr="__vInternal",ao=({key:e})=>e??null,er=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?we(e)||ke(e)||oe(e)?{i:$e,r:e,k:t,f:!!r}:e:null);function cc(e,t=null,r=null,n=0,s=null,o=e===He?0:1,c=!1,a=!1){const i={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ao(t),ref:t&&er(t),scopeId:Vs,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:n,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:$e};return a?(pn(i,r),o&128&&e.normalize(i)):r&&(i.shapeFlag|=we(r)?8:16),hn>0&&!c&&pt&&(i.patchFlag>0||o&6)&&i.patchFlag!==32&&pt.push(i),i}const be=lc;function lc(e,t=null,r=null,n=0,s=null,o=!1){if((!e||e===Fi)&&(e=Kt),$r(e)){const a=yt(e,t,!0);return r&&pn(a,r),hn>0&&!o&&pt&&(a.shapeFlag&6?pt[pt.indexOf(e)]=a:pt.push(a)),a.patchFlag|=-2,a}if(bc(e)&&(e=e.__vccOpts),t){t=ac(t);let{class:a,style:i}=t;a&&!we(a)&&(t.class=Gr(a)),me(i)&&(Ms(i)&&!se(i)&&(i=ye({},i)),t.style=Zr(i))}const c=we(e)?1:Pi(e)?128:ic(e)?64:me(e)?4:oe(e)?2:0;return cc(e,t,r,n,s,c,o,!0)}function ac(e){return e?Ms(e)||vr in e?ye({},e):e:null}function yt(e,t,r=!1){const{props:n,ref:s,patchFlag:o,children:c}=e,a=t?fc(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&ao(a),ref:t&&t.ref?r&&s?se(s)?s.concat(er(t)):[s,er(t)]:er(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==He?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&yt(e.ssContent),ssFallback:e.ssFallback&&yt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function uc(e=" ",t=0){return be(mr,null,e,t)}function Be(e){return e==null||typeof e=="boolean"?be(Kt):se(e)?be(He,null,e.slice()):typeof e=="object"?Xe(e):be(mr,null,String(e))}function Xe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:yt(e)}function pn(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(se(t))r=16;else if(typeof t=="object")if(n&65){const s=t.default;s&&(s._c&&(s._d=!1),pn(e,s()),s._c&&(s._d=!0));return}else{r=32;const s=t._;!s&&!(vr in t)?t._ctx=$e:s===3&&$e&&($e.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else oe(t)?(t={default:t,_ctx:$e},r=32):(t=String(t),n&64?(r=16,t=[uc(t)]):r=8);e.children=t,e.shapeFlag|=r}function fc(...e){const t={};for(let r=0;r<e.length;r++){const n=e[r];for(const s in n)if(s==="class")t.class!==n.class&&(t.class=Gr([t.class,n.class]));else if(s==="style")t.style=Zr([t.style,n.style]);else if(cr(s)){const o=t[s],c=n[s];c&&o!==c&&!(se(o)&&o.includes(c))&&(t[s]=o?[].concat(o,c):c)}else s!==""&&(t[s]=n[s])}return t}function je(e,t,r,n=null){Me(e,t,7,[r,n])}const dc=ro();let hc=0;function pc(e,t,r){const n=e.type,s=(t?t.appContext:e.appContext)||dc,o={uid:hc++,vnode:e,type:n,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new _s(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:so(n,s),emitsOptions:Ws(n,s),emit:null,emitted:null,propsDefaults:ge,inheritAttrs:n.inheritAttrs,ctx:ge,data:ge,props:ge,attrs:ge,slots:ge,refs:ge,setupState:ge,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=Ei.bind(null,o),e.ce&&e.ce(o),o}let Ee=null,gn,ut,Dn="__VUE_INSTANCE_SETTERS__";(ut=Tr()[Dn])||(ut=Tr()[Dn]=[]),ut.push(e=>Ee=e),gn=e=>{ut.length>1?ut.forEach(t=>t(e)):ut[0](e)};const wt=e=>{gn(e),e.scope.on()},ct=()=>{Ee&&Ee.scope.off(),gn(null)};function uo(e){return e.vnode.shapeFlag&4}let Dt=!1;function gc(e,t=!1){Dt=t;const{props:r,children:n}=e.vnode,s=uo(e);Xi(e,r,s,t),ec(e,n);const o=s?mc(e,t):void 0;return Dt=!1,o}function mc(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=on(new Proxy(e.ctx,$i));const{setup:n}=r;if(n){const s=e.setupContext=n.length>1?xc(e):null;wt(e),At();const o=et(n,e,0,[e.props,s]);if(Rt(),ct(),bs(o)){if(o.then(ct,ct),t)return o.then(c=>{$n(e,c,t)}).catch(c=>{hr(c,e,0)});e.asyncDep=o}else $n(e,o,t)}else fo(e,t)}function $n(e,t,r){oe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:me(t)&&(e.setupState=Hs(t)),fo(e,r)}let zn;function fo(e,t,r){const n=e.type;if(!e.render){if(!t&&zn&&!n.render){const s=n.template||fn(e).template;if(s){const{isCustomElement:o,compilerOptions:c}=e.appContext.config,{delimiters:a,compilerOptions:i}=n,h=ye(ye({isCustomElement:o,delimiters:a},c),i);n.render=zn(s,h)}}e.render=n.render||Ue}{wt(e),At();try{zi(e)}finally{Rt(),ct()}}}function vc(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,r){return Se(e,"get","$attrs"),t[r]}}))}function xc(e){const t=r=>{e.exposed=r||{}};return{get attrs(){return vc(e)},slots:e.slots,emit:e.emit,expose:t}}function mn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Hs(on(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in Mt)return Mt[r](e)},has(t,r){return r in t||r in Mt}}))}function bc(e){return oe(e)&&"__vccOpts"in e}const Oe=(e,t)=>vi(e,t,Dt);function ho(e,t,r){const n=arguments.length;return n===2?me(t)&&!se(t)?$r(t)?be(e,null,[t]):be(e,t):be(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&$r(r)&&(r=[r]),be(e,t,r))}const yc=Symbol.for("v-scx"),wc=()=>qe(yc),_c="3.3.10",Ec="http://www.w3.org/2000/svg",ot=typeof document<"u"?document:null,Wn=ot&&ot.createElement("template"),kc={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const s=t?ot.createElementNS(Ec,e):ot.createElement(e,r?{is:r}:void 0);return e==="select"&&n&&n.multiple!=null&&s.setAttribute("multiple",n.multiple),s},createText:e=>ot.createTextNode(e),createComment:e=>ot.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ot.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,n,s,o){const c=r?r.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),r),!(s===o||!(s=s.nextSibling)););else{Wn.innerHTML=n?`<svg>${e}</svg>`:e;const a=Wn.content;if(n){const i=a.firstChild;for(;i.firstChild;)a.appendChild(i.firstChild);a.removeChild(i)}t.insertBefore(a,r)}return[c?c.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},Ac=Symbol("_vtc");function Rc(e,t,r){const n=e[Ac];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const Sc=Symbol("_vod");function Cc(e,t,r){const n=e.style,s=we(r);if(r&&!s){if(t&&!we(t))for(const o in t)r[o]==null&&zr(n,o,"");for(const o in r)zr(n,o,r[o])}else{const o=n.display;s?t!==r&&(n.cssText=r):t&&e.removeAttribute("style"),Sc in e&&(n.display=o)}}const Vn=/\s*!important$/;function zr(e,t,r){if(se(r))r.forEach(n=>zr(e,t,n));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=Fc(e,t);Vn.test(r)?e.setProperty(kt(n),r.replace(Vn,""),"important"):e[n]=r}}const qn=["Webkit","Moz","ms"],Ar={};function Fc(e,t){const r=Ar[t];if(r)return r;let n=xt(t);if(n!=="filter"&&n in e)return Ar[t]=n;n=ys(n);for(let s=0;s<qn.length;s++){const o=qn[s]+n;if(o in e)return Ar[t]=o}return t}const Jn="http://www.w3.org/1999/xlink";function Pc(e,t,r,n,s){if(n&&t.startsWith("xlink:"))r==null?e.removeAttributeNS(Jn,t.slice(6,t.length)):e.setAttributeNS(Jn,t,r);else{const o=$o(t);r==null||o&&!ws(r)?e.removeAttribute(t):e.setAttribute(t,o?"":r)}}function Ic(e,t,r,n,s,o,c){if(t==="innerHTML"||t==="textContent"){n&&c(n,s,o),e[t]=r??"";return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){e._value=r;const h=a==="OPTION"?e.getAttribute("value"):e.value,d=r??"";h!==d&&(e.value=d),r==null&&e.removeAttribute(t);return}let i=!1;if(r===""||r==null){const h=typeof e[t];h==="boolean"?r=ws(r):r==null&&h==="string"?(r="",i=!0):h==="number"&&(r=0,i=!0)}try{e[t]=r}catch{}i&&e.removeAttribute(t)}function Tc(e,t,r,n){e.addEventListener(t,r,n)}function Oc(e,t,r,n){e.removeEventListener(t,r,n)}const Yn=Symbol("_vei");function Uc(e,t,r,n,s=null){const o=e[Yn]||(e[Yn]={}),c=o[t];if(n&&c)c.value=n;else{const[a,i]=Mc(t);if(n){const h=o[t]=jc(n,s);Tc(e,a,h,i)}else c&&(Oc(e,a,c,i),o[t]=void 0)}}const Qn=/(?:Once|Passive|Capture)$/;function Mc(e){let t;if(Qn.test(e)){t={};let n;for(;n=e.match(Qn);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):kt(e.slice(2)),t]}let Rr=0;const Lc=Promise.resolve(),Nc=()=>Rr||(Lc.then(()=>Rr=0),Rr=Date.now());function jc(e,t){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;Me(Hc(n,r.value),t,5,[n])};return r.value=e,r.attached=Nc(),r}function Hc(e,t){if(se(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(n=>s=>!s._stopped&&n&&n(s))}else return t}const Xn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Bc=(e,t,r,n,s=!1,o,c,a,i)=>{t==="class"?Rc(e,n,s):t==="style"?Cc(e,r,n):cr(t)?Yr(t)||Uc(e,t,r,n,c):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Kc(e,t,n,s))?Ic(e,t,n,o,c,a,i):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Pc(e,t,n,s))};function Kc(e,t,r,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Xn(t)&&oe(r));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;return!(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")}return Xn(t)&&we(r)?!1:t in e}const Dc=ye({patchProp:Bc},kc);let Zn;function $c(){return Zn||(Zn=rc(Dc))}const zc=(...e)=>{const t=$c().createApp(...e),{mount:r}=t;return t.mount=n=>{const s=Wc(n);if(!s)return;const o=t._component;!oe(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const c=r(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),c},t};function Wc(e){return we(e)?document.querySelector(e):e}var Vc=!1;/*!
|
|
* pinia v2.1.7
|
|
* (c) 2023 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/const qc=Symbol();var Gn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Gn||(Gn={}));function Jc(){const e=zo(!0),t=e.run(()=>ln({}));let r=[],n=[];const s=on({install(o){s._a=o,o.provide(qc,s),o.config.globalProperties.$pinia=s,n.forEach(c=>r.push(c)),n=[]},use(o){return!this._a&&!Vc?n.push(o):r.push(o),this},_p:r,_a:null,_e:e,_s:new Map,state:t});return s}/*!
|
|
* vue-router v4.2.5
|
|
* (c) 2023 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/const dt=typeof window<"u";function Yc(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const de=Object.assign;function Sr(e,t){const r={};for(const n in t){const s=t[n];r[n]=Le(s)?s.map(e):e(s)}return r}const Lt=()=>{},Le=Array.isArray,Qc=/\/$/,Xc=e=>e.replace(Qc,"");function Cr(e,t,r="/"){let n,s={},o="",c="";const a=t.indexOf("#");let i=t.indexOf("?");return a<i&&a>=0&&(i=-1),i>-1&&(n=t.slice(0,i),o=t.slice(i+1,a>-1?a:t.length),s=e(o)),a>-1&&(n=n||t.slice(0,a),c=t.slice(a,t.length)),n=tl(n??t,r),{fullPath:n+(o&&"?")+o+c,path:n,query:s,hash:c}}function Zc(e,t){const r=t.query?e(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}function es(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Gc(e,t,r){const n=t.matched.length-1,s=r.matched.length-1;return n>-1&&n===s&&_t(t.matched[n],r.matched[s])&&po(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}function _t(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function po(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(!el(e[r],t[r]))return!1;return!0}function el(e,t){return Le(e)?ts(e,t):Le(t)?ts(t,e):e===t}function ts(e,t){return Le(t)?e.length===t.length&&e.every((r,n)=>r===t[n]):e.length===1&&e[0]===t}function tl(e,t){if(e.startsWith("/"))return e;if(!e)return t;const r=t.split("/"),n=e.split("/"),s=n[n.length-1];(s===".."||s===".")&&n.push("");let o=r.length-1,c,a;for(c=0;c<n.length;c++)if(a=n[c],a!==".")if(a==="..")o>1&&o--;else break;return r.slice(0,o).join("/")+"/"+n.slice(c-(c===n.length?1:0)).join("/")}var $t;(function(e){e.pop="pop",e.push="push"})($t||($t={}));var Nt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Nt||(Nt={}));function rl(e){if(!e)if(dt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Xc(e)}const nl=/^[^#]+#/;function sl(e,t){return e.replace(nl,"#")+t}function ol(e,t){const r=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-r.left-(t.left||0),top:n.top-r.top-(t.top||0)}}const xr=()=>({left:window.pageXOffset,top:window.pageYOffset});function il(e){let t;if("el"in e){const r=e.el,n=typeof r=="string"&&r.startsWith("#"),s=typeof r=="string"?n?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!s)return;t=ol(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function rs(e,t){return(history.state?history.state.position-t:-1)+e}const Wr=new Map;function cl(e,t){Wr.set(e,t)}function ll(e){const t=Wr.get(e);return Wr.delete(e),t}let al=()=>location.protocol+"//"+location.host;function go(e,t){const{pathname:r,search:n,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,i=s.slice(a);return i[0]!=="/"&&(i="/"+i),es(i,"")}return es(r,e)+n+s}function ul(e,t,r,n){let s=[],o=[],c=null;const a=({state:b})=>{const k=go(e,location),K=r.value,W=t.value;let J=0;if(b){if(r.value=k,t.value=b,c&&c===K){c=null;return}J=W?b.position-W.position:0}else n(k);s.forEach(q=>{q(r.value,K,{delta:J,type:$t.pop,direction:J?J>0?Nt.forward:Nt.back:Nt.unknown})})};function i(){c=r.value}function h(b){s.push(b);const k=()=>{const K=s.indexOf(b);K>-1&&s.splice(K,1)};return o.push(k),k}function d(){const{history:b}=window;b.state&&b.replaceState(de({},b.state,{scroll:xr()}),"")}function v(){for(const b of o)b();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:i,listen:h,destroy:v}}function ns(e,t,r,n=!1,s=!1){return{back:e,current:t,forward:r,replaced:n,position:window.history.length,scroll:s?xr():null}}function fl(e){const{history:t,location:r}=window,n={value:go(e,r)},s={value:t.state};s.value||o(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(i,h,d){const v=e.indexOf("#"),b=v>-1?(r.host&&document.querySelector("base")?e:e.slice(v))+i:al()+e+i;try{t[d?"replaceState":"pushState"](h,"",b),s.value=h}catch(k){console.error(k),r[d?"replace":"assign"](b)}}function c(i,h){const d=de({},t.state,ns(s.value.back,i,s.value.forward,!0),h,{position:s.value.position});o(i,d,!0),n.value=i}function a(i,h){const d=de({},s.value,t.state,{forward:i,scroll:xr()});o(d.current,d,!0);const v=de({},ns(n.value,i,null),{position:d.position+1},h);o(i,v,!1),n.value=i}return{location:n,state:s,push:a,replace:c}}function dl(e){e=rl(e);const t=fl(e),r=ul(e,t.state,t.location,t.replace);function n(o,c=!0){c||r.pauseListeners(),history.go(o)}const s=de({location:"",base:e,go:n,createHref:sl.bind(null,e)},t,r);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function hl(e){return typeof e=="string"||e&&typeof e=="object"}function mo(e){return typeof e=="string"||typeof e=="symbol"}const Qe={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},vo=Symbol("");var ss;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ss||(ss={}));function Et(e,t){return de(new Error,{type:e,[vo]:!0},t)}function ze(e,t){return e instanceof Error&&vo in e&&(t==null||!!(e.type&t))}const os="[^/]+?",pl={sensitive:!1,strict:!1,start:!0,end:!0},gl=/[.+*?^${}()[\]/\\]/g;function ml(e,t){const r=de({},pl,t),n=[];let s=r.start?"^":"";const o=[];for(const h of e){const d=h.length?[]:[90];r.strict&&!h.length&&(s+="/");for(let v=0;v<h.length;v++){const b=h[v];let k=40+(r.sensitive?.25:0);if(b.type===0)v||(s+="/"),s+=b.value.replace(gl,"\\$&"),k+=40;else if(b.type===1){const{value:K,repeatable:W,optional:J,regexp:q}=b;o.push({name:K,repeatable:W,optional:J});const $=q||os;if($!==os){k+=10;try{new RegExp(`(${$})`)}catch(V){throw new Error(`Invalid custom RegExp for param "${K}" (${$}): `+V.message)}}let X=W?`((?:${$})(?:/(?:${$}))*)`:`(${$})`;v||(X=J&&h.length<2?`(?:/${X})`:"/"+X),J&&(X+="?"),s+=X,k+=20,J&&(k+=-8),W&&(k+=-20),$===".*"&&(k+=-50)}d.push(k)}n.push(d)}if(r.strict&&r.end){const h=n.length-1;n[h][n[h].length-1]+=.7000000000000001}r.strict||(s+="/?"),r.end?s+="$":r.strict&&(s+="(?:/|$)");const c=new RegExp(s,r.sensitive?"":"i");function a(h){const d=h.match(c),v={};if(!d)return null;for(let b=1;b<d.length;b++){const k=d[b]||"",K=o[b-1];v[K.name]=k&&K.repeatable?k.split("/"):k}return v}function i(h){let d="",v=!1;for(const b of e){(!v||!d.endsWith("/"))&&(d+="/"),v=!1;for(const k of b)if(k.type===0)d+=k.value;else if(k.type===1){const{value:K,repeatable:W,optional:J}=k,q=K in h?h[K]:"";if(Le(q)&&!W)throw new Error(`Provided param "${K}" is an array but it is not repeatable (* or + modifiers)`);const $=Le(q)?q.join("/"):q;if(!$)if(J)b.length<2&&(d.endsWith("/")?d=d.slice(0,-1):v=!0);else throw new Error(`Missing required param "${K}"`);d+=$}}return d||"/"}return{re:c,score:n,keys:o,parse:a,stringify:i}}function vl(e,t){let r=0;for(;r<e.length&&r<t.length;){const n=t[r]-e[r];if(n)return n;r++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function xl(e,t){let r=0;const n=e.score,s=t.score;for(;r<n.length&&r<s.length;){const o=vl(n[r],s[r]);if(o)return o;r++}if(Math.abs(s.length-n.length)===1){if(is(n))return 1;if(is(s))return-1}return s.length-n.length}function is(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const bl={type:0,value:""},yl=/[a-zA-Z0-9_]/;function wl(e){if(!e)return[[]];if(e==="/")return[[bl]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(k){throw new Error(`ERR (${r})/"${h}": ${k}`)}let r=0,n=r;const s=[];let o;function c(){o&&s.push(o),o=[]}let a=0,i,h="",d="";function v(){h&&(r===0?o.push({type:0,value:h}):r===1||r===2||r===3?(o.length>1&&(i==="*"||i==="+")&&t(`A repeatable param (${h}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:h,regexp:d,repeatable:i==="*"||i==="+",optional:i==="*"||i==="?"})):t("Invalid state to consume buffer"),h="")}function b(){h+=i}for(;a<e.length;){if(i=e[a++],i==="\\"&&r!==2){n=r,r=4;continue}switch(r){case 0:i==="/"?(h&&v(),c()):i===":"?(v(),r=1):b();break;case 4:b(),r=n;break;case 1:i==="("?r=2:yl.test(i)?b():(v(),r=0,i!=="*"&&i!=="?"&&i!=="+"&&a--);break;case 2:i===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+i:r=3:d+=i;break;case 3:v(),r=0,i!=="*"&&i!=="?"&&i!=="+"&&a--,d="";break;default:t("Unknown state");break}}return r===2&&t(`Unfinished custom RegExp for param "${h}"`),v(),c(),s}function _l(e,t,r){const n=ml(wl(e.path),r),s=de(n,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function El(e,t){const r=[],n=new Map;t=as({strict:!1,end:!0,sensitive:!1},t);function s(d){return n.get(d)}function o(d,v,b){const k=!b,K=kl(d);K.aliasOf=b&&b.record;const W=as(t,d),J=[K];if("alias"in d){const X=typeof d.alias=="string"?[d.alias]:d.alias;for(const V of X)J.push(de({},K,{components:b?b.record.components:K.components,path:V,aliasOf:b?b.record:K}))}let q,$;for(const X of J){const{path:V}=X;if(v&&V[0]!=="/"){const ae=v.record.path,_=ae[ae.length-1]==="/"?"":"/";X.path=v.record.path+(V&&_+V)}if(q=_l(X,v,W),b?b.alias.push(q):($=$||q,$!==q&&$.alias.push(q),k&&d.name&&!ls(q)&&c(d.name)),K.children){const ae=K.children;for(let _=0;_<ae.length;_++)o(ae[_],q,b&&b.children[_])}b=b||q,(q.record.components&&Object.keys(q.record.components).length||q.record.name||q.record.redirect)&&i(q)}return $?()=>{c($)}:Lt}function c(d){if(mo(d)){const v=n.get(d);v&&(n.delete(d),r.splice(r.indexOf(v),1),v.children.forEach(c),v.alias.forEach(c))}else{const v=r.indexOf(d);v>-1&&(r.splice(v,1),d.record.name&&n.delete(d.record.name),d.children.forEach(c),d.alias.forEach(c))}}function a(){return r}function i(d){let v=0;for(;v<r.length&&xl(d,r[v])>=0&&(d.record.path!==r[v].record.path||!xo(d,r[v]));)v++;r.splice(v,0,d),d.record.name&&!ls(d)&&n.set(d.record.name,d)}function h(d,v){let b,k={},K,W;if("name"in d&&d.name){if(b=n.get(d.name),!b)throw Et(1,{location:d});W=b.record.name,k=de(cs(v.params,b.keys.filter($=>!$.optional).map($=>$.name)),d.params&&cs(d.params,b.keys.map($=>$.name))),K=b.stringify(k)}else if("path"in d)K=d.path,b=r.find($=>$.re.test(K)),b&&(k=b.parse(K),W=b.record.name);else{if(b=v.name?n.get(v.name):r.find($=>$.re.test(v.path)),!b)throw Et(1,{location:d,currentLocation:v});W=b.record.name,k=de({},v.params,d.params),K=b.stringify(k)}const J=[];let q=b;for(;q;)J.unshift(q.record),q=q.parent;return{name:W,path:K,params:k,matched:J,meta:Rl(J)}}return e.forEach(d=>o(d)),{addRoute:o,resolve:h,removeRoute:c,getRoutes:a,getRecordMatcher:s}}function cs(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}function kl(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Al(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Al(e){const t={},r=e.props||!1;if("component"in e)t.default=r;else for(const n in e.components)t[n]=typeof r=="object"?r[n]:r;return t}function ls(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Rl(e){return e.reduce((t,r)=>de(t,r.meta),{})}function as(e,t){const r={};for(const n in e)r[n]=n in t?t[n]:e[n];return r}function xo(e,t){return t.children.some(r=>r===e||xo(e,r))}const bo=/#/g,Sl=/&/g,Cl=/\//g,Fl=/=/g,Pl=/\?/g,yo=/\+/g,Il=/%5B/g,Tl=/%5D/g,wo=/%5E/g,Ol=/%60/g,_o=/%7B/g,Ul=/%7C/g,Eo=/%7D/g,Ml=/%20/g;function vn(e){return encodeURI(""+e).replace(Ul,"|").replace(Il,"[").replace(Tl,"]")}function Ll(e){return vn(e).replace(_o,"{").replace(Eo,"}").replace(wo,"^")}function Vr(e){return vn(e).replace(yo,"%2B").replace(Ml,"+").replace(bo,"%23").replace(Sl,"%26").replace(Ol,"`").replace(_o,"{").replace(Eo,"}").replace(wo,"^")}function Nl(e){return Vr(e).replace(Fl,"%3D")}function jl(e){return vn(e).replace(bo,"%23").replace(Pl,"%3F")}function Hl(e){return e==null?"":jl(e).replace(Cl,"%2F")}function ir(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Bl(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<n.length;++s){const o=n[s].replace(yo," "),c=o.indexOf("="),a=ir(c<0?o:o.slice(0,c)),i=c<0?null:ir(o.slice(c+1));if(a in t){let h=t[a];Le(h)||(h=t[a]=[h]),h.push(i)}else t[a]=i}return t}function us(e){let t="";for(let r in e){const n=e[r];if(r=Nl(r),n==null){n!==void 0&&(t+=(t.length?"&":"")+r);continue}(Le(n)?n.map(o=>o&&Vr(o)):[n&&Vr(n)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+r,o!=null&&(t+="="+o))})}return t}function Kl(e){const t={};for(const r in e){const n=e[r];n!==void 0&&(t[r]=Le(n)?n.map(s=>s==null?null:""+s):n==null?n:""+n)}return t}const Dl=Symbol(""),fs=Symbol(""),xn=Symbol(""),ko=Symbol(""),qr=Symbol("");function Ft(){let e=[];function t(n){return e.push(n),()=>{const s=e.indexOf(n);s>-1&&e.splice(s,1)}}function r(){e=[]}return{add:t,list:()=>e.slice(),reset:r}}function Ze(e,t,r,n,s){const o=n&&(n.enterCallbacks[s]=n.enterCallbacks[s]||[]);return()=>new Promise((c,a)=>{const i=v=>{v===!1?a(Et(4,{from:r,to:t})):v instanceof Error?a(v):hl(v)?a(Et(2,{from:t,to:v})):(o&&n.enterCallbacks[s]===o&&typeof v=="function"&&o.push(v),c())},h=e.call(n&&n.instances[s],t,r,i);let d=Promise.resolve(h);e.length<3&&(d=d.then(i)),d.catch(v=>a(v))})}function Fr(e,t,r,n){const s=[];for(const o of e)for(const c in o.components){let a=o.components[c];if(!(t!=="beforeRouteEnter"&&!o.instances[c]))if($l(a)){const h=(a.__vccOpts||a)[t];h&&s.push(Ze(h,r,n,o,c))}else{let i=a();s.push(()=>i.then(h=>{if(!h)return Promise.reject(new Error(`Couldn't resolve component "${c}" at "${o.path}"`));const d=Yc(h)?h.default:h;o.components[c]=d;const b=(d.__vccOpts||d)[t];return b&&Ze(b,r,n,o,c)()}))}}return s}function $l(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ds(e){const t=qe(xn),r=qe(ko),n=Oe(()=>t.resolve(mt(e.to))),s=Oe(()=>{const{matched:i}=n.value,{length:h}=i,d=i[h-1],v=r.matched;if(!d||!v.length)return-1;const b=v.findIndex(_t.bind(null,d));if(b>-1)return b;const k=hs(i[h-2]);return h>1&&hs(d)===k&&v[v.length-1].path!==k?v.findIndex(_t.bind(null,i[h-2])):b}),o=Oe(()=>s.value>-1&&ql(r.params,n.value.params)),c=Oe(()=>s.value>-1&&s.value===r.matched.length-1&&po(r.params,n.value.params));function a(i={}){return Vl(i)?t[mt(e.replace)?"replace":"push"](mt(e.to)).catch(Lt):Promise.resolve()}return{route:n,href:Oe(()=>n.value.href),isActive:o,isExactActive:c,navigate:a}}const zl=Ys({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:ds,setup(e,{slots:t}){const r=dr(ds(e)),{options:n}=qe(xn),s=Oe(()=>({[ps(e.activeClass,n.linkActiveClass,"router-link-active")]:r.isActive,[ps(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const o=t.default&&t.default(r);return e.custom?o:ho("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:s.value},o)}}}),Wl=zl;function Vl(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 ql(e,t){for(const r in t){const n=t[r],s=e[r];if(typeof n=="string"){if(n!==s)return!1}else if(!Le(s)||s.length!==n.length||n.some((o,c)=>o!==s[c]))return!1}return!0}function hs(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ps=(e,t,r)=>e??t??r,Jl=Ys({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:r}){const n=qe(qr),s=Oe(()=>e.route||n.value),o=qe(fs,0),c=Oe(()=>{let h=mt(o);const{matched:d}=s.value;let v;for(;(v=d[h])&&!v.components;)h++;return h}),a=Oe(()=>s.value.matched[c.value]);Gt(fs,Oe(()=>c.value+1)),Gt(Dl,a),Gt(qr,s);const i=ln();return Xt(()=>[i.value,a.value,e.name],([h,d,v],[b,k,K])=>{d&&(d.instances[v]=h,k&&k!==d&&h&&h===b&&(d.leaveGuards.size||(d.leaveGuards=k.leaveGuards),d.updateGuards.size||(d.updateGuards=k.updateGuards))),h&&d&&(!k||!_t(d,k)||!b)&&(d.enterCallbacks[v]||[]).forEach(W=>W(h))},{flush:"post"}),()=>{const h=s.value,d=e.name,v=a.value,b=v&&v.components[d];if(!b)return gs(r.default,{Component:b,route:h});const k=v.props[d],K=k?k===!0?h.params:typeof k=="function"?k(h):k:null,J=ho(b,de({},K,t,{onVnodeUnmounted:q=>{q.component.isUnmounted&&(v.instances[d]=null)},ref:i}));return gs(r.default,{Component:J,route:h})||J}}});function gs(e,t){if(!e)return null;const r=e(t);return r.length===1?r[0]:r}const Ao=Jl;function Yl(e){const t=El(e.routes,e),r=e.parseQuery||Bl,n=e.stringifyQuery||us,s=e.history,o=Ft(),c=Ft(),a=Ft(),i=hi(Qe);let h=Qe;dt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Sr.bind(null,p=>""+p),v=Sr.bind(null,Hl),b=Sr.bind(null,ir);function k(p,x){let y,E;return mo(p)?(y=t.getRecordMatcher(p),E=x):E=p,t.addRoute(E,y)}function K(p){const x=t.getRecordMatcher(p);x&&t.removeRoute(x)}function W(){return t.getRoutes().map(p=>p.record)}function J(p){return!!t.getRecordMatcher(p)}function q(p,x){if(x=de({},x||i.value),typeof p=="string"){const m=Cr(r,p,x.path),w=t.resolve({path:m.path},x),A=s.createHref(m.fullPath);return de(m,w,{params:b(w.params),hash:ir(m.hash),redirectedFrom:void 0,href:A})}let y;if("path"in p)y=de({},p,{path:Cr(r,p.path,x.path).path});else{const m=de({},p.params);for(const w in m)m[w]==null&&delete m[w];y=de({},p,{params:v(m)}),x.params=v(x.params)}const E=t.resolve(y,x),H=p.hash||"";E.params=d(b(E.params));const l=Zc(n,de({},p,{hash:Ll(H),path:E.path})),f=s.createHref(l);return de({fullPath:l,hash:H,query:n===us?Kl(p.query):p.query||{}},E,{redirectedFrom:void 0,href:f})}function $(p){return typeof p=="string"?Cr(r,p,i.value.path):de({},p)}function X(p,x){if(h!==p)return Et(8,{from:x,to:p})}function V(p){return T(p)}function ae(p){return V(de($(p),{replace:!0}))}function _(p){const x=p.matched[p.matched.length-1];if(x&&x.redirect){const{redirect:y}=x;let E=typeof y=="function"?y(p):y;return typeof E=="string"&&(E=E.includes("?")||E.includes("#")?E=$(E):{path:E},E.params={}),de({query:p.query,hash:p.hash,params:"path"in E?{}:p.params},E)}}function T(p,x){const y=h=q(p),E=i.value,H=p.state,l=p.force,f=p.replace===!0,m=_(y);if(m)return T(de($(m),{state:typeof m=="object"?de({},H,m.state):H,force:l,replace:f}),x||y);const w=y;w.redirectedFrom=x;let A;return!l&&Gc(n,E,y)&&(A=Et(16,{to:w,from:E}),u(E,E,!0,!1)),(A?Promise.resolve(A):N(w,E)).catch(F=>ze(F)?ze(F,2)?F:ve(F):te(F,w,E)).then(F=>{if(F){if(ze(F,2))return T(de({replace:f},$(F.to),{state:typeof F.to=="object"?de({},H,F.to.state):H,force:l}),x||w)}else F=Z(w,E,!0,f,H);return O(w,E,F),F})}function D(p,x){const y=X(p,x);return y?Promise.reject(y):Promise.resolve()}function L(p){const x=I.values().next().value;return x&&typeof x.runWithContext=="function"?x.runWithContext(p):p()}function N(p,x){let y;const[E,H,l]=Ql(p,x);y=Fr(E.reverse(),"beforeRouteLeave",p,x);for(const m of E)m.leaveGuards.forEach(w=>{y.push(Ze(w,p,x))});const f=D.bind(null,p,x);return y.push(f),U(y).then(()=>{y=[];for(const m of o.list())y.push(Ze(m,p,x));return y.push(f),U(y)}).then(()=>{y=Fr(H,"beforeRouteUpdate",p,x);for(const m of H)m.updateGuards.forEach(w=>{y.push(Ze(w,p,x))});return y.push(f),U(y)}).then(()=>{y=[];for(const m of l)if(m.beforeEnter)if(Le(m.beforeEnter))for(const w of m.beforeEnter)y.push(Ze(w,p,x));else y.push(Ze(m.beforeEnter,p,x));return y.push(f),U(y)}).then(()=>(p.matched.forEach(m=>m.enterCallbacks={}),y=Fr(l,"beforeRouteEnter",p,x),y.push(f),U(y))).then(()=>{y=[];for(const m of c.list())y.push(Ze(m,p,x));return y.push(f),U(y)}).catch(m=>ze(m,8)?m:Promise.reject(m))}function O(p,x,y){a.list().forEach(E=>L(()=>E(p,x,y)))}function Z(p,x,y,E,H){const l=X(p,x);if(l)return l;const f=x===Qe,m=dt?history.state:{};y&&(E||f?s.replace(p.fullPath,de({scroll:f&&m&&m.scroll},H)):s.push(p.fullPath,H)),i.value=p,u(p,x,y,f),ve()}let S;function G(){S||(S=s.listen((p,x,y)=>{if(!R.listening)return;const E=q(p),H=_(E);if(H){T(de(H,{replace:!0}),E).catch(Lt);return}h=E;const l=i.value;dt&&cl(rs(l.fullPath,y.delta),xr()),N(E,l).catch(f=>ze(f,12)?f:ze(f,2)?(T(f.to,E).then(m=>{ze(m,20)&&!y.delta&&y.type===$t.pop&&s.go(-1,!1)}).catch(Lt),Promise.reject()):(y.delta&&s.go(-y.delta,!1),te(f,E,l))).then(f=>{f=f||Z(E,l,!1),f&&(y.delta&&!ze(f,8)?s.go(-y.delta,!1):y.type===$t.pop&&ze(f,20)&&s.go(-1,!1)),O(E,l,f)}).catch(Lt)}))}let ue=Ft(),ie=Ft(),ee;function te(p,x,y){ve(p);const E=ie.list();return E.length?E.forEach(H=>H(p,x,y)):console.error(p),Promise.reject(p)}function ne(){return ee&&i.value!==Qe?Promise.resolve():new Promise((p,x)=>{ue.add([p,x])})}function ve(p){return ee||(ee=!p,G(),ue.list().forEach(([x,y])=>p?y(p):x()),ue.reset()),p}function u(p,x,y,E){const{scrollBehavior:H}=e;if(!dt||!H)return Promise.resolve();const l=!y&&ll(rs(p.fullPath,0))||(E||!y)&&history.state&&history.state.scroll||null;return Ks().then(()=>H(p,x,l)).then(f=>f&&il(f)).catch(f=>te(f,p,x))}const g=p=>s.go(p);let C;const I=new Set,R={currentRoute:i,listening:!0,addRoute:k,removeRoute:K,hasRoute:J,getRoutes:W,resolve:q,options:e,push:V,replace:ae,go:g,back:()=>g(-1),forward:()=>g(1),beforeEach:o.add,beforeResolve:c.add,afterEach:a.add,onError:ie.add,isReady:ne,install(p){const x=this;p.component("RouterLink",Wl),p.component("RouterView",Ao),p.config.globalProperties.$router=x,Object.defineProperty(p.config.globalProperties,"$route",{enumerable:!0,get:()=>mt(i)}),dt&&!C&&i.value===Qe&&(C=!0,V(s.location).catch(H=>{}));const y={};for(const H in Qe)Object.defineProperty(y,H,{get:()=>i.value[H],enumerable:!0});p.provide(xn,x),p.provide(ko,Os(y)),p.provide(qr,i);const E=p.unmount;I.add(p),p.unmount=function(){I.delete(p),I.size<1&&(h=Qe,S&&S(),S=null,i.value=Qe,C=!1,ee=!1),E()}}};function U(p){return p.reduce((x,y)=>x.then(()=>L(y)),Promise.resolve())}return R}function Ql(e,t){const r=[],n=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let c=0;c<o;c++){const a=t.matched[c];a&&(e.matched.find(h=>_t(h,a))?n.push(a):r.push(a));const i=e.matched[c];i&&(t.matched.find(h=>_t(h,i))||s.push(i))}return[r,n,s]}const Xl=new Array(400).fill("0x1312").join(" "),ms=()=>Math.ceil(window.innerWidth/100)*Math.ceil(window.innerHeight/100),Zl={setup(){const e=ln(ms()),t=()=>setTimeout(()=>{e.value=ms()},10);return Zs(()=>{console.log("before mount"),window.addEventListener("resize",t)}),Gs(()=>{console.log("before unmount"),window.removeEventListener("resize",t)}),()=>be("div",{class:"ps-background"},[be("div",{id:"x1312",class:"ps-background--1312"},[Xl]),new Array(e.value).fill(null).map(()=>be("div",{class:"ps-background--logo ps-logo"},[be("img",{class:"ps-logo--base",src:`${window.globals.resourceUrl}/logo.svg`},null)]))])}},Gl={setup(){return()=>be(He,null,[be(Ao,null,null),be(Zl,null,null)])}},ea="modulepreload",ta=function(e){return"/"+e},vs={},ra=function(t,r,n){if(!r||r.length===0)return t();const s=document.getElementsByTagName("link");return Promise.all(r.map(o=>{if(o=ta(o),o in vs)return;vs[o]=!0;const c=o.endsWith(".css"),a=c?'[rel="stylesheet"]':"";if(!!n)for(let d=s.length-1;d>=0;d--){const v=s[d];if(v.href===o&&(!c||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${a}`))return;const h=document.createElement("link");if(h.rel=c?"stylesheet":ea,c||(h.as="script",h.crossOrigin=""),h.href=o,document.head.appendChild(h),c)return new Promise((d,v)=>{h.addEventListener("load",d),h.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t()).catch(o=>{const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=o,window.dispatchEvent(c),!c.defaultPrevented)throw o})},na=Yl({history:dl("/"),routes:[{path:"/",name:"home",component:()=>ra(()=>import("./Home-7c18ddb3.js"),[])}]});var sa=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function oa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ia(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var s=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,s.get?s:{enumerable:!0,get:function(){return e[n]}})}),r}var br={};br.byteLength=aa;br.toByteArray=fa;br.fromByteArray=pa;var De=[],Fe=[],ca=typeof Uint8Array<"u"?Uint8Array:Array,Pr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var ft=0,la=Pr.length;ft<la;++ft)De[ft]=Pr[ft],Fe[Pr.charCodeAt(ft)]=ft;Fe["-".charCodeAt(0)]=62;Fe["_".charCodeAt(0)]=63;function Ro(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function aa(e){var t=Ro(e),r=t[0],n=t[1];return(r+n)*3/4-n}function ua(e,t,r){return(t+r)*3/4-r}function fa(e){var t,r=Ro(e),n=r[0],s=r[1],o=new ca(ua(e,n,s)),c=0,a=s>0?n-4:n,i;for(i=0;i<a;i+=4)t=Fe[e.charCodeAt(i)]<<18|Fe[e.charCodeAt(i+1)]<<12|Fe[e.charCodeAt(i+2)]<<6|Fe[e.charCodeAt(i+3)],o[c++]=t>>16&255,o[c++]=t>>8&255,o[c++]=t&255;return s===2&&(t=Fe[e.charCodeAt(i)]<<2|Fe[e.charCodeAt(i+1)]>>4,o[c++]=t&255),s===1&&(t=Fe[e.charCodeAt(i)]<<10|Fe[e.charCodeAt(i+1)]<<4|Fe[e.charCodeAt(i+2)]>>2,o[c++]=t>>8&255,o[c++]=t&255),o}function da(e){return De[e>>18&63]+De[e>>12&63]+De[e>>6&63]+De[e&63]}function ha(e,t,r){for(var n,s=[],o=t;o<r;o+=3)n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(e[o+2]&255),s.push(da(n));return s.join("")}function pa(e){for(var t,r=e.length,n=r%3,s=[],o=16383,c=0,a=r-n;c<a;c+=o)s.push(ha(e,c,c+o>a?a:c+o));return n===1?(t=e[r-1],s.push(De[t>>2]+De[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],s.push(De[t>>10]+De[t>>4&63]+De[t<<2&63]+"=")),s.join("")}var So={exports:{}};const ga={},ma=Object.freeze(Object.defineProperty({__proto__:null,default:ga},Symbol.toStringTag,{value:"Module"})),xs=ia(ma);/**
|
|
* [js-sha256]{@link https://github.com/emn178/js-sha256}
|
|
*
|
|
* @version 0.10.1
|
|
* @author Chen, Yi-Cyuan [emn178@gmail.com]
|
|
* @copyright Chen, Yi-Cyuan 2014-2023
|
|
* @license MIT
|
|
*/(function(e){(function(){var t="input is invalid type",r=typeof window=="object",n=r?window:{};n.JS_SHA256_NO_WINDOW&&(r=!1);var s=!r&&typeof self=="object",o=!n.JS_SHA256_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node;o?n=sa:s&&(n=self);var c=!n.JS_SHA256_NO_COMMON_JS&&!0&&e.exports,a=!n.JS_SHA256_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",i="0123456789abcdef".split(""),h=[-2147483648,8388608,32768,128],d=[24,16,8,0],v=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],b=["hex","array","digest","arrayBuffer"],k=[];(n.JS_SHA256_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(_){return Object.prototype.toString.call(_)==="[object Array]"}),a&&(n.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(_){return typeof _=="object"&&_.buffer&&_.buffer.constructor===ArrayBuffer});var K=function(_,T){return function(D){return new X(T,!0).update(D)[_]()}},W=function(_){var T=K("hex",_);o&&(T=J(T,_)),T.create=function(){return new X(_)},T.update=function(N){return T.create().update(N)};for(var D=0;D<b.length;++D){var L=b[D];T[L]=K(L,_)}return T},J=function(_,T){var D=xs,L=xs.Buffer,N=T?"sha224":"sha256",O;L.from&&!n.JS_SHA256_NO_BUFFER_FROM?O=L.from:O=function(S){return new L(S)};var Z=function(S){if(typeof S=="string")return D.createHash(N).update(S,"utf8").digest("hex");if(S==null)throw new Error(t);return S.constructor===ArrayBuffer&&(S=new Uint8Array(S)),Array.isArray(S)||ArrayBuffer.isView(S)||S.constructor===L?D.createHash(N).update(O(S)).digest("hex"):_(S)};return Z},q=function(_,T){return function(D,L){return new V(D,T,!0).update(L)[_]()}},$=function(_){var T=q("hex",_);T.create=function(N){return new V(N,_)},T.update=function(N,O){return T.create(N).update(O)};for(var D=0;D<b.length;++D){var L=b[D];T[L]=q(L,_)}return T};function X(_,T){T?(k[0]=k[16]=k[1]=k[2]=k[3]=k[4]=k[5]=k[6]=k[7]=k[8]=k[9]=k[10]=k[11]=k[12]=k[13]=k[14]=k[15]=0,this.blocks=k):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],_?(this.h0=3238371032,this.h1=914150663,this.h2=812702999,this.h3=4144912697,this.h4=4290775857,this.h5=1750603025,this.h6=1694076839,this.h7=3204075428):(this.h0=1779033703,this.h1=3144134277,this.h2=1013904242,this.h3=2773480762,this.h4=1359893119,this.h5=2600822924,this.h6=528734635,this.h7=1541459225),this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0,this.is224=_}X.prototype.update=function(_){if(!this.finalized){var T,D=typeof _;if(D!=="string"){if(D==="object"){if(_===null)throw new Error(t);if(a&&_.constructor===ArrayBuffer)_=new Uint8Array(_);else if(!Array.isArray(_)&&(!a||!ArrayBuffer.isView(_)))throw new Error(t)}else throw new Error(t);T=!0}for(var L,N=0,O,Z=_.length,S=this.blocks;N<Z;){if(this.hashed&&(this.hashed=!1,S[0]=this.block,S[16]=S[1]=S[2]=S[3]=S[4]=S[5]=S[6]=S[7]=S[8]=S[9]=S[10]=S[11]=S[12]=S[13]=S[14]=S[15]=0),T)for(O=this.start;N<Z&&O<64;++N)S[O>>2]|=_[N]<<d[O++&3];else for(O=this.start;N<Z&&O<64;++N)L=_.charCodeAt(N),L<128?S[O>>2]|=L<<d[O++&3]:L<2048?(S[O>>2]|=(192|L>>6)<<d[O++&3],S[O>>2]|=(128|L&63)<<d[O++&3]):L<55296||L>=57344?(S[O>>2]|=(224|L>>12)<<d[O++&3],S[O>>2]|=(128|L>>6&63)<<d[O++&3],S[O>>2]|=(128|L&63)<<d[O++&3]):(L=65536+((L&1023)<<10|_.charCodeAt(++N)&1023),S[O>>2]|=(240|L>>18)<<d[O++&3],S[O>>2]|=(128|L>>12&63)<<d[O++&3],S[O>>2]|=(128|L>>6&63)<<d[O++&3],S[O>>2]|=(128|L&63)<<d[O++&3]);this.lastByteIndex=O,this.bytes+=O-this.start,O>=64?(this.block=S[16],this.start=O-64,this.hash(),this.hashed=!0):this.start=O}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},X.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var _=this.blocks,T=this.lastByteIndex;_[16]=this.block,_[T>>2]|=h[T&3],this.block=_[16],T>=56&&(this.hashed||this.hash(),_[0]=this.block,_[16]=_[1]=_[2]=_[3]=_[4]=_[5]=_[6]=_[7]=_[8]=_[9]=_[10]=_[11]=_[12]=_[13]=_[14]=_[15]=0),_[14]=this.hBytes<<3|this.bytes>>>29,_[15]=this.bytes<<3,this.hash()}},X.prototype.hash=function(){var _=this.h0,T=this.h1,D=this.h2,L=this.h3,N=this.h4,O=this.h5,Z=this.h6,S=this.h7,G=this.blocks,ue,ie,ee,te,ne,ve,u,g,C,I,R;for(ue=16;ue<64;++ue)ne=G[ue-15],ie=(ne>>>7|ne<<25)^(ne>>>18|ne<<14)^ne>>>3,ne=G[ue-2],ee=(ne>>>17|ne<<15)^(ne>>>19|ne<<13)^ne>>>10,G[ue]=G[ue-16]+ie+G[ue-7]+ee<<0;for(R=T&D,ue=0;ue<64;ue+=4)this.first?(this.is224?(g=300032,ne=G[0]-1413257819,S=ne-150054599<<0,L=ne+24177077<<0):(g=704751109,ne=G[0]-210244248,S=ne-1521486534<<0,L=ne+143694565<<0),this.first=!1):(ie=(_>>>2|_<<30)^(_>>>13|_<<19)^(_>>>22|_<<10),ee=(N>>>6|N<<26)^(N>>>11|N<<21)^(N>>>25|N<<7),g=_&T,te=g^_&D^R,u=N&O^~N&Z,ne=S+ee+u+v[ue]+G[ue],ve=ie+te,S=L+ne<<0,L=ne+ve<<0),ie=(L>>>2|L<<30)^(L>>>13|L<<19)^(L>>>22|L<<10),ee=(S>>>6|S<<26)^(S>>>11|S<<21)^(S>>>25|S<<7),C=L&_,te=C^L&T^g,u=S&N^~S&O,ne=Z+ee+u+v[ue+1]+G[ue+1],ve=ie+te,Z=D+ne<<0,D=ne+ve<<0,ie=(D>>>2|D<<30)^(D>>>13|D<<19)^(D>>>22|D<<10),ee=(Z>>>6|Z<<26)^(Z>>>11|Z<<21)^(Z>>>25|Z<<7),I=D&L,te=I^D&_^C,u=Z&S^~Z&N,ne=O+ee+u+v[ue+2]+G[ue+2],ve=ie+te,O=T+ne<<0,T=ne+ve<<0,ie=(T>>>2|T<<30)^(T>>>13|T<<19)^(T>>>22|T<<10),ee=(O>>>6|O<<26)^(O>>>11|O<<21)^(O>>>25|O<<7),R=T&D,te=R^T&L^I,u=O&Z^~O&S,ne=N+ee+u+v[ue+3]+G[ue+3],ve=ie+te,N=_+ne<<0,_=ne+ve<<0,this.chromeBugWorkAround=!0;this.h0=this.h0+_<<0,this.h1=this.h1+T<<0,this.h2=this.h2+D<<0,this.h3=this.h3+L<<0,this.h4=this.h4+N<<0,this.h5=this.h5+O<<0,this.h6=this.h6+Z<<0,this.h7=this.h7+S<<0},X.prototype.hex=function(){this.finalize();var _=this.h0,T=this.h1,D=this.h2,L=this.h3,N=this.h4,O=this.h5,Z=this.h6,S=this.h7,G=i[_>>28&15]+i[_>>24&15]+i[_>>20&15]+i[_>>16&15]+i[_>>12&15]+i[_>>8&15]+i[_>>4&15]+i[_&15]+i[T>>28&15]+i[T>>24&15]+i[T>>20&15]+i[T>>16&15]+i[T>>12&15]+i[T>>8&15]+i[T>>4&15]+i[T&15]+i[D>>28&15]+i[D>>24&15]+i[D>>20&15]+i[D>>16&15]+i[D>>12&15]+i[D>>8&15]+i[D>>4&15]+i[D&15]+i[L>>28&15]+i[L>>24&15]+i[L>>20&15]+i[L>>16&15]+i[L>>12&15]+i[L>>8&15]+i[L>>4&15]+i[L&15]+i[N>>28&15]+i[N>>24&15]+i[N>>20&15]+i[N>>16&15]+i[N>>12&15]+i[N>>8&15]+i[N>>4&15]+i[N&15]+i[O>>28&15]+i[O>>24&15]+i[O>>20&15]+i[O>>16&15]+i[O>>12&15]+i[O>>8&15]+i[O>>4&15]+i[O&15]+i[Z>>28&15]+i[Z>>24&15]+i[Z>>20&15]+i[Z>>16&15]+i[Z>>12&15]+i[Z>>8&15]+i[Z>>4&15]+i[Z&15];return this.is224||(G+=i[S>>28&15]+i[S>>24&15]+i[S>>20&15]+i[S>>16&15]+i[S>>12&15]+i[S>>8&15]+i[S>>4&15]+i[S&15]),G},X.prototype.toString=X.prototype.hex,X.prototype.digest=function(){this.finalize();var _=this.h0,T=this.h1,D=this.h2,L=this.h3,N=this.h4,O=this.h5,Z=this.h6,S=this.h7,G=[_>>24&255,_>>16&255,_>>8&255,_&255,T>>24&255,T>>16&255,T>>8&255,T&255,D>>24&255,D>>16&255,D>>8&255,D&255,L>>24&255,L>>16&255,L>>8&255,L&255,N>>24&255,N>>16&255,N>>8&255,N&255,O>>24&255,O>>16&255,O>>8&255,O&255,Z>>24&255,Z>>16&255,Z>>8&255,Z&255];return this.is224||G.push(S>>24&255,S>>16&255,S>>8&255,S&255),G},X.prototype.array=X.prototype.digest,X.prototype.arrayBuffer=function(){this.finalize();var _=new ArrayBuffer(this.is224?28:32),T=new DataView(_);return T.setUint32(0,this.h0),T.setUint32(4,this.h1),T.setUint32(8,this.h2),T.setUint32(12,this.h3),T.setUint32(16,this.h4),T.setUint32(20,this.h5),T.setUint32(24,this.h6),this.is224||T.setUint32(28,this.h7),_};function V(_,T,D){var L,N=typeof _;if(N==="string"){var O=[],Z=_.length,S=0,G;for(L=0;L<Z;++L)G=_.charCodeAt(L),G<128?O[S++]=G:G<2048?(O[S++]=192|G>>6,O[S++]=128|G&63):G<55296||G>=57344?(O[S++]=224|G>>12,O[S++]=128|G>>6&63,O[S++]=128|G&63):(G=65536+((G&1023)<<10|_.charCodeAt(++L)&1023),O[S++]=240|G>>18,O[S++]=128|G>>12&63,O[S++]=128|G>>6&63,O[S++]=128|G&63);_=O}else if(N==="object"){if(_===null)throw new Error(t);if(a&&_.constructor===ArrayBuffer)_=new Uint8Array(_);else if(!Array.isArray(_)&&(!a||!ArrayBuffer.isView(_)))throw new Error(t)}else throw new Error(t);_.length>64&&(_=new X(T,!0).update(_).array());var ue=[],ie=[];for(L=0;L<64;++L){var ee=_[L]||0;ue[L]=92^ee,ie[L]=54^ee}X.call(this,T,D),this.update(ie),this.oKeyPad=ue,this.inner=!0,this.sharedMemory=D}V.prototype=new X,V.prototype.finalize=function(){if(X.prototype.finalize.call(this),this.inner){this.inner=!1;var _=this.array();X.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(_),X.prototype.finalize.call(this)}};var ae=W();ae.sha256=ae,ae.sha224=W(!0),ae.sha256.hmac=$(),ae.sha224.hmac=$(!0),c?e.exports=ae:(n.sha256=ae.sha256,n.sha224=ae.sha224)})()})(So);var va=So.exports;const xa=oa(va);class Tt extends Error{}Tt.prototype.name="InvalidTokenError";function ba(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,r)=>{let n=r.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}function ya(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return ba(t)}catch{return atob(t)}}function Ir(e,t){if(typeof e!="string")throw new Tt("Invalid token specified: must be a string");t||(t={});const r=t.header===!0?0:1,n=e.split(".")[r];if(typeof n!="string")throw new Tt(`Invalid token specified: missing part #${r+1}`);let s;try{s=ya(n)}catch(o){throw new Tt(`Invalid token specified: invalid base64 for part #${r+1} (${o.message})`)}try{return JSON.parse(s)}catch(o){throw new Tt(`Invalid token specified: invalid json for part #${r+1} (${o.message})`)}}if(typeof Promise>"u")throw Error("Keycloak requires an environment that supports Promises. Make sure that you include the appropriate polyfill.");function Co(e){if(!(this instanceof Co))throw new Error("The 'Keycloak' constructor must be invoked with 'new'.");for(var t=this,r,n=[],s,o={enable:!0,callbackList:[],interval:5},c=document.getElementsByTagName("script"),a=0;a<c.length;a++)(c[a].src.indexOf("keycloak.js")!==-1||c[a].src.indexOf("keycloak.min.js")!==-1)&&c[a].src.indexOf("version=")!==-1&&(t.iframeVersion=c[a].src.substring(c[a].src.indexOf("version=")+8).split("&")[0]);var i=!0,h=ve(console.info),d=ve(console.warn);t.init=function(u){if(t.didInitialize)throw new Error("A 'Keycloak' instance can only be initialized once.");t.didInitialize=!0,t.authenticated=!1,s=ne();var g=["default","cordova","cordova-native"];if(u&&g.indexOf(u.adapter)>-1?r=ie(u.adapter):u&&typeof u.adapter=="object"?r=u.adapter:window.Cordova||window.cordova?r=ie("cordova"):r=ie(),u){if(typeof u.useNonce<"u"&&(i=u.useNonce),typeof u.checkLoginIframe<"u"&&(o.enable=u.checkLoginIframe),u.checkLoginIframeInterval&&(o.interval=u.checkLoginIframeInterval),u.onLoad==="login-required"&&(t.loginRequired=!0),u.responseMode)if(u.responseMode==="query"||u.responseMode==="fragment")t.responseMode=u.responseMode;else throw"Invalid value for responseMode";if(u.flow){switch(u.flow){case"standard":t.responseType="code";break;case"implicit":t.responseType="id_token token";break;case"hybrid":t.responseType="code id_token token";break;default:throw"Invalid value for flow"}t.flow=u.flow}if(u.timeSkew!=null&&(t.timeSkew=u.timeSkew),u.redirectUri&&(t.redirectUri=u.redirectUri),u.silentCheckSsoRedirectUri&&(t.silentCheckSsoRedirectUri=u.silentCheckSsoRedirectUri),typeof u.silentCheckSsoFallback=="boolean"?t.silentCheckSsoFallback=u.silentCheckSsoFallback:t.silentCheckSsoFallback=!0,u.pkceMethod){if(u.pkceMethod!=="S256")throw"Invalid value for pkceMethod";t.pkceMethod=u.pkceMethod}typeof u.enableLogging=="boolean"?t.enableLogging=u.enableLogging:t.enableLogging=!1,typeof u.scope=="string"&&(t.scope=u.scope),typeof u.acrValues=="string"&&(t.acrValues=u.acrValues),typeof u.messageReceiveTimeout=="number"&&u.messageReceiveTimeout>0?t.messageReceiveTimeout=u.messageReceiveTimeout:t.messageReceiveTimeout=1e4}t.responseMode||(t.responseMode="fragment"),t.responseType||(t.responseType="code",t.flow="standard");var C=N(),I=N();I.promise.then(function(){t.onReady&&t.onReady(t.authenticated),C.setSuccess(t.authenticated)}).catch(function(y){C.setError(y)});var R=X();function U(){var y=function(l){l||(H.prompt="none"),u&&u.locale&&(H.locale=u.locale),t.login(H).then(function(){I.setSuccess()}).catch(function(f){I.setError(f)})},E=function(){var l=document.createElement("iframe"),f=t.createLoginUrl({prompt:"none",redirectUri:t.silentCheckSsoRedirectUri});l.setAttribute("src",f),l.setAttribute("sandbox","allow-storage-access-by-user-activation allow-scripts allow-same-origin"),l.setAttribute("title","keycloak-silent-check-sso"),l.style.display="none",document.body.appendChild(l);var m=function(w){if(!(w.origin!==window.location.origin||l.contentWindow!==w.source)){var A=T(w.data);$(A,I),document.body.removeChild(l),window.removeEventListener("message",m)}};window.addEventListener("message",m)},H={};switch(u.onLoad){case"check-sso":o.enable?Z().then(function(){G().then(function(l){l?I.setSuccess():t.silentCheckSsoRedirectUri?E():y(!1)}).catch(function(l){I.setError(l)})}):t.silentCheckSsoRedirectUri?E():y(!1);break;case"login-required":y(!0);break;default:throw"Invalid value for onLoad"}}function p(){var y=T(window.location.href);if(y&&window.history.replaceState(window.history.state,null,y.newUrl),y&&y.valid)return Z().then(function(){$(y,I)}).catch(function(E){I.setError(E)});u?u.token&&u.refreshToken?(ae(u.token,u.refreshToken,u.idToken),o.enable?Z().then(function(){G().then(function(E){E?(t.onAuthSuccess&&t.onAuthSuccess(),I.setSuccess(),S()):I.setSuccess()}).catch(function(E){I.setError(E)})}):t.updateToken(-1).then(function(){t.onAuthSuccess&&t.onAuthSuccess(),I.setSuccess()}).catch(function(E){t.onAuthError&&t.onAuthError(),u.onLoad?U():I.setError(E)})):u.onLoad?U():I.setSuccess():I.setSuccess()}function x(){var y=N(),E=function(){(document.readyState==="interactive"||document.readyState==="complete")&&(document.removeEventListener("readystatechange",E),y.setSuccess())};return document.addEventListener("readystatechange",E),E(),y.promise}return R.then(function(){x().then(ue).then(p).catch(function(y){C.setError(y)})}),R.catch(function(y){C.setError(y)}),C.promise},t.login=function(u){return r.login(u)};function v(u){var g=null,C=window.crypto||window.msCrypto;if(C&&C.getRandomValues&&window.Uint8Array)return g=new Uint8Array(u),C.getRandomValues(g),g;g=new Array(u);for(var I=0;I<g.length;I++)g[I]=Math.floor(256*Math.random());return g}function b(u){return k(u,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789")}function k(u,g){for(var C=v(u),I=new Array(u),R=0;R<u;R++)I[R]=g.charCodeAt(C[R]%g.length);return String.fromCharCode.apply(null,I)}function K(u,g){switch(u){case"S256":var C=new Uint8Array(xa.arrayBuffer(g)),I=br.fromByteArray(C).replace(/\+/g,"-").replace(/\//g,"_").replace(/\=/g,"");return I;default:throw"Invalid value for pkceMethod"}}function W(u){var g={id_token:{acr:u}};return JSON.stringify(g)}t.createLoginUrl=function(u){var g=_(),C=_(),I=r.redirectUri(u),R={state:g,nonce:C,redirectUri:encodeURIComponent(I)};u&&u.prompt&&(R.prompt=u.prompt);var U;u&&u.action=="register"?U=t.endpoints.register():U=t.endpoints.authorize();var p=u&&u.scope||t.scope;p?p.indexOf("openid")===-1&&(p="openid "+p):p="openid";var x=U+"?client_id="+encodeURIComponent(t.clientId)+"&redirect_uri="+encodeURIComponent(I)+"&state="+encodeURIComponent(g)+"&response_mode="+encodeURIComponent(t.responseMode)+"&response_type="+encodeURIComponent(t.responseType)+"&scope="+encodeURIComponent(p);if(i&&(x=x+"&nonce="+encodeURIComponent(C)),u&&u.prompt&&(x+="&prompt="+encodeURIComponent(u.prompt)),u&&u.maxAge&&(x+="&max_age="+encodeURIComponent(u.maxAge)),u&&u.loginHint&&(x+="&login_hint="+encodeURIComponent(u.loginHint)),u&&u.idpHint&&(x+="&kc_idp_hint="+encodeURIComponent(u.idpHint)),u&&u.action&&u.action!="register"&&(x+="&kc_action="+encodeURIComponent(u.action)),u&&u.locale&&(x+="&ui_locales="+encodeURIComponent(u.locale)),u&&u.acr){var y=W(u.acr);x+="&claims="+encodeURIComponent(y)}if((u&&u.acrValues||t.acrValues)&&(x+="&acr_values="+encodeURIComponent(u.acrValues||t.acrValues)),t.pkceMethod){var E=b(96);R.pkceCodeVerifier=E;var H=K(t.pkceMethod,E);x+="&code_challenge="+H,x+="&code_challenge_method="+t.pkceMethod}return s.add(R),x},t.logout=function(u){return r.logout(u)},t.createLogoutUrl=function(u){var g=t.endpoints.logout()+"?client_id="+encodeURIComponent(t.clientId)+"&post_logout_redirect_uri="+encodeURIComponent(r.redirectUri(u,!1));return t.idToken&&(g+="&id_token_hint="+encodeURIComponent(t.idToken)),g},t.register=function(u){return r.register(u)},t.createRegisterUrl=function(u){return u||(u={}),u.action="register",t.createLoginUrl(u)},t.createAccountUrl=function(u){var g=J(),C=void 0;return typeof g<"u"&&(C=g+"/account?referrer="+encodeURIComponent(t.clientId)+"&referrer_uri="+encodeURIComponent(r.redirectUri(u))),C},t.accountManagement=function(){return r.accountManagement()},t.hasRealmRole=function(u){var g=t.realmAccess;return!!g&&g.roles.indexOf(u)>=0},t.hasResourceRole=function(u,g){if(!t.resourceAccess)return!1;var C=t.resourceAccess[g||t.clientId];return!!C&&C.roles.indexOf(u)>=0},t.loadUserProfile=function(){var u=J()+"/account",g=new XMLHttpRequest;g.open("GET",u,!0),g.setRequestHeader("Accept","application/json"),g.setRequestHeader("Authorization","bearer "+t.token);var C=N();return g.onreadystatechange=function(){g.readyState==4&&(g.status==200?(t.profile=JSON.parse(g.responseText),C.setSuccess(t.profile)):C.setError())},g.send(),C.promise},t.loadUserInfo=function(){var u=t.endpoints.userinfo(),g=new XMLHttpRequest;g.open("GET",u,!0),g.setRequestHeader("Accept","application/json"),g.setRequestHeader("Authorization","bearer "+t.token);var C=N();return g.onreadystatechange=function(){g.readyState==4&&(g.status==200?(t.userInfo=JSON.parse(g.responseText),C.setSuccess(t.userInfo)):C.setError())},g.send(),C.promise},t.isTokenExpired=function(u){if(!t.tokenParsed||!t.refreshToken&&t.flow!="implicit")throw"Not authenticated";if(t.timeSkew==null)return h("[KEYCLOAK] Unable to determine if token is expired as timeskew is not set"),!0;var g=t.tokenParsed.exp-Math.ceil(new Date().getTime()/1e3)+t.timeSkew;if(u){if(isNaN(u))throw"Invalid minValidity";g-=u}return g<0},t.updateToken=function(u){var g=N();if(!t.refreshToken)return g.setError(),g.promise;u=u||5;var C=function(){var R=!1;if(u==-1?(R=!0,h("[KEYCLOAK] Refreshing token: forced refresh")):(!t.tokenParsed||t.isTokenExpired(u))&&(R=!0,h("[KEYCLOAK] Refreshing token: token expired")),!R)g.setSuccess(!1);else{var U="grant_type=refresh_token&refresh_token="+t.refreshToken,p=t.endpoints.token();if(n.push(g),n.length==1){var x=new XMLHttpRequest;x.open("POST",p,!0),x.setRequestHeader("Content-type","application/x-www-form-urlencoded"),x.withCredentials=!0,U+="&client_id="+encodeURIComponent(t.clientId);var y=new Date().getTime();x.onreadystatechange=function(){if(x.readyState==4)if(x.status==200){h("[KEYCLOAK] Token refreshed"),y=(y+new Date().getTime())/2;var E=JSON.parse(x.responseText);ae(E.access_token,E.refresh_token,E.id_token,y),t.onAuthRefreshSuccess&&t.onAuthRefreshSuccess();for(var H=n.pop();H!=null;H=n.pop())H.setSuccess(!0)}else{d("[KEYCLOAK] Failed to refresh token"),x.status==400&&t.clearToken(),t.onAuthRefreshError&&t.onAuthRefreshError();for(var H=n.pop();H!=null;H=n.pop())H.setError(!0)}},x.send(U)}}};if(o.enable){var I=G();I.then(function(){C()}).catch(function(R){g.setError(R)})}else C();return g.promise},t.clearToken=function(){t.token&&(ae(null,null,null),t.onAuthLogout&&t.onAuthLogout(),t.loginRequired&&t.login())};function J(){if(typeof t.authServerUrl<"u")return t.authServerUrl.charAt(t.authServerUrl.length-1)=="/"?t.authServerUrl+"realms/"+encodeURIComponent(t.realm):t.authServerUrl+"/realms/"+encodeURIComponent(t.realm)}function q(){return window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")}function $(u,g){var C=u.code,I=u.error,R=u.prompt,U=new Date().getTime();if(u.kc_action_status&&t.onActionUpdate&&t.onActionUpdate(u.kc_action_status),I){if(R!="none"){var p={error:I,error_description:u.error_description};t.onAuthError&&t.onAuthError(p),g&&g.setError(p)}else g&&g.setSuccess();return}else t.flow!="standard"&&(u.access_token||u.id_token)&&H(u.access_token,null,u.id_token,!0);if(t.flow!="implicit"&&C){var x="code="+C+"&grant_type=authorization_code",y=t.endpoints.token(),E=new XMLHttpRequest;E.open("POST",y,!0),E.setRequestHeader("Content-type","application/x-www-form-urlencoded"),x+="&client_id="+encodeURIComponent(t.clientId),x+="&redirect_uri="+u.redirectUri,u.pkceCodeVerifier&&(x+="&code_verifier="+u.pkceCodeVerifier),E.withCredentials=!0,E.onreadystatechange=function(){if(E.readyState==4)if(E.status==200){var l=JSON.parse(E.responseText);H(l.access_token,l.refresh_token,l.id_token,t.flow==="standard"),S()}else t.onAuthError&&t.onAuthError(),g&&g.setError()},E.send(x)}function H(l,f,m,w){U=(U+new Date().getTime())/2,ae(l,f,m,U),i&&(t.tokenParsed&&t.tokenParsed.nonce!=u.storedNonce||t.refreshTokenParsed&&t.refreshTokenParsed.nonce!=u.storedNonce||t.idTokenParsed&&t.idTokenParsed.nonce!=u.storedNonce)?(h("[KEYCLOAK] Invalid nonce, clearing token"),t.clearToken(),g&&g.setError()):w&&(t.onAuthSuccess&&t.onAuthSuccess(),g&&g.setSuccess())}}function X(u){var g=N(),C;e?typeof e=="string"&&(C=e):C="keycloak.json";function I(E){E?t.endpoints={authorize:function(){return E.authorization_endpoint},token:function(){return E.token_endpoint},logout:function(){if(!E.end_session_endpoint)throw"Not supported by the OIDC server";return E.end_session_endpoint},checkSessionIframe:function(){if(!E.check_session_iframe)throw"Not supported by the OIDC server";return E.check_session_iframe},register:function(){throw'Redirection to "Register user" page not supported in standard OIDC mode'},userinfo:function(){if(!E.userinfo_endpoint)throw"Not supported by the OIDC server";return E.userinfo_endpoint}}:t.endpoints={authorize:function(){return J()+"/protocol/openid-connect/auth"},token:function(){return J()+"/protocol/openid-connect/token"},logout:function(){return J()+"/protocol/openid-connect/logout"},checkSessionIframe:function(){var H=J()+"/protocol/openid-connect/login-status-iframe.html";return t.iframeVersion&&(H=H+"?version="+t.iframeVersion),H},thirdPartyCookiesIframe:function(){var H=J()+"/protocol/openid-connect/3p-cookies/step1.html";return t.iframeVersion&&(H=H+"?version="+t.iframeVersion),H},register:function(){return J()+"/protocol/openid-connect/registrations"},userinfo:function(){return J()+"/protocol/openid-connect/userinfo"}}}if(C){var R=new XMLHttpRequest;R.open("GET",C,!0),R.setRequestHeader("Accept","application/json"),R.onreadystatechange=function(){if(R.readyState==4)if(R.status==200||V(R)){var E=JSON.parse(R.responseText);t.authServerUrl=E["auth-server-url"],t.realm=E.realm,t.clientId=E.resource,I(null),g.setSuccess()}else g.setError()},R.send()}else{if(!e.clientId)throw"clientId missing";t.clientId=e.clientId;var U=e.oidcProvider;if(U)if(typeof U=="string"){var y;U.charAt(U.length-1)=="/"?y=U+".well-known/openid-configuration":y=U+"/.well-known/openid-configuration";var R=new XMLHttpRequest;R.open("GET",y,!0),R.setRequestHeader("Accept","application/json"),R.onreadystatechange=function(){if(R.readyState==4)if(R.status==200||V(R)){var H=JSON.parse(R.responseText);I(H),g.setSuccess()}else g.setError()},R.send()}else I(U),g.setSuccess();else{if(!e.url){for(var p=document.getElementsByTagName("script"),x=0;x<p.length;x++)if(p[x].src.match(/.*keycloak\.js/)){e.url=p[x].src.substr(0,p[x].src.indexOf("/js/keycloak.js"));break}}if(!e.realm)throw"realm missing";t.authServerUrl=e.url,t.realm=e.realm,I(null),g.setSuccess()}}return g.promise}function V(u){return u.status==0&&u.responseText&&u.responseURL.startsWith("file:")}function ae(u,g,C,I){if(t.tokenTimeoutHandle&&(clearTimeout(t.tokenTimeoutHandle),t.tokenTimeoutHandle=null),g?(t.refreshToken=g,t.refreshTokenParsed=Ir(g)):(delete t.refreshToken,delete t.refreshTokenParsed),C?(t.idToken=C,t.idTokenParsed=Ir(C)):(delete t.idToken,delete t.idTokenParsed),u){if(t.token=u,t.tokenParsed=Ir(u),t.sessionId=t.tokenParsed.session_state,t.authenticated=!0,t.subject=t.tokenParsed.sub,t.realmAccess=t.tokenParsed.realm_access,t.resourceAccess=t.tokenParsed.resource_access,I&&(t.timeSkew=Math.floor(I/1e3)-t.tokenParsed.iat),t.timeSkew!=null&&(h("[KEYCLOAK] Estimated time difference between browser and server is "+t.timeSkew+" seconds"),t.onTokenExpired)){var R=(t.tokenParsed.exp-new Date().getTime()/1e3+t.timeSkew)*1e3;h("[KEYCLOAK] Token expires in "+Math.round(R/1e3)+" s"),R<=0?t.onTokenExpired():t.tokenTimeoutHandle=setTimeout(t.onTokenExpired,R)}}else delete t.token,delete t.tokenParsed,delete t.subject,delete t.realmAccess,delete t.resourceAccess,t.authenticated=!1}function _(){var u="0123456789abcdef",g=k(36,u).split("");g[14]="4",g[19]=u.substr(g[19]&3|8,1),g[8]=g[13]=g[18]=g[23]="-";var C=g.join("");return C}function T(u){var g=D(u);if(g){var C=s.get(g.state);return C&&(g.valid=!0,g.redirectUri=C.redirectUri,g.storedNonce=C.nonce,g.prompt=C.prompt,g.pkceCodeVerifier=C.pkceCodeVerifier),g}}function D(u){var g;switch(t.flow){case"standard":g=["code","state","session_state","kc_action_status","iss"];break;case"implicit":g=["access_token","token_type","id_token","state","session_state","expires_in","kc_action_status","iss"];break;case"hybrid":g=["access_token","token_type","id_token","code","state","session_state","expires_in","kc_action_status","iss"];break}g.push("error"),g.push("error_description"),g.push("error_uri");var C=u.indexOf("?"),I=u.indexOf("#"),R,U;if(t.responseMode==="query"&&C!==-1?(R=u.substring(0,C),U=L(u.substring(C+1,I!==-1?I:u.length),g),U.paramsString!==""&&(R+="?"+U.paramsString),I!==-1&&(R+=u.substring(I))):t.responseMode==="fragment"&&I!==-1&&(R=u.substring(0,I),U=L(u.substring(I+1),g),U.paramsString!==""&&(R+="#"+U.paramsString)),U&&U.oauthParams){if(t.flow==="standard"||t.flow==="hybrid"){if((U.oauthParams.code||U.oauthParams.error)&&U.oauthParams.state)return U.oauthParams.newUrl=R,U.oauthParams}else if(t.flow==="implicit"&&(U.oauthParams.access_token||U.oauthParams.error)&&U.oauthParams.state)return U.oauthParams.newUrl=R,U.oauthParams}}function L(u,g){for(var C=u.split("&"),I={paramsString:"",oauthParams:{}},R=0;R<C.length;R++){var U=C[R].indexOf("="),p=C[R].slice(0,U);g.indexOf(p)!==-1?I.oauthParams[p]=C[R].slice(U+1):(I.paramsString!==""&&(I.paramsString+="&"),I.paramsString+=C[R])}return I}function N(){var u={setSuccess:function(g){u.resolve(g)},setError:function(g){u.reject(g)}};return u.promise=new Promise(function(g,C){u.resolve=g,u.reject=C}),u}function O(u,g,C){var I=null,R=new Promise(function(U,p){I=setTimeout(function(){p({error:C||"Promise is not settled within timeout of "+g+"ms"})},g)});return Promise.race([u,R]).finally(function(){clearTimeout(I)})}function Z(){var u=N();if(!o.enable||o.iframe)return u.setSuccess(),u.promise;var g=document.createElement("iframe");o.iframe=g,g.onload=function(){var R=t.endpoints.authorize();R.charAt(0)==="/"?o.iframeOrigin=q():o.iframeOrigin=R.substring(0,R.indexOf("/",8)),u.setSuccess()};var C=t.endpoints.checkSessionIframe();g.setAttribute("src",C),g.setAttribute("sandbox","allow-storage-access-by-user-activation allow-scripts allow-same-origin"),g.setAttribute("title","keycloak-session-iframe"),g.style.display="none",document.body.appendChild(g);var I=function(R){if(!(R.origin!==o.iframeOrigin||o.iframe.contentWindow!==R.source)&&(R.data=="unchanged"||R.data=="changed"||R.data=="error")){R.data!="unchanged"&&t.clearToken();for(var U=o.callbackList.splice(0,o.callbackList.length),p=U.length-1;p>=0;--p){var x=U[p];R.data=="error"?x.setError():x.setSuccess(R.data=="unchanged")}}};return window.addEventListener("message",I,!1),u.promise}function S(){o.enable&&t.token&&setTimeout(function(){G().then(function(u){u&&S()})},o.interval*1e3)}function G(){var u=N();if(o.iframe&&o.iframeOrigin){var g=t.clientId+" "+(t.sessionId?t.sessionId:"");o.callbackList.push(u);var C=o.iframeOrigin;o.callbackList.length==1&&o.iframe.contentWindow.postMessage(g,C)}else u.setSuccess();return u.promise}function ue(){var u=N();if(o.enable||t.silentCheckSsoRedirectUri){var g=document.createElement("iframe");g.setAttribute("src",t.endpoints.thirdPartyCookiesIframe()),g.setAttribute("sandbox","allow-storage-access-by-user-activation allow-scripts allow-same-origin"),g.setAttribute("title","keycloak-3p-check-iframe"),g.style.display="none",document.body.appendChild(g);var C=function(I){g.contentWindow===I.source&&(I.data!=="supported"&&I.data!=="unsupported"||(I.data==="unsupported"&&(d(`[KEYCLOAK] Your browser is blocking access to 3rd-party cookies, this means:
|
|
|
|
- It is not possible to retrieve tokens without redirecting to the Keycloak server (a.k.a. no support for silent authentication).
|
|
- It is not possible to automatically detect changes to the session status (such as the user logging out in another tab).
|
|
|
|
For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_modern_browsers`),o.enable=!1,t.silentCheckSsoFallback&&(t.silentCheckSsoRedirectUri=!1)),document.body.removeChild(g),window.removeEventListener("message",C),u.setSuccess()))};window.addEventListener("message",C,!1)}else u.setSuccess();return O(u.promise,t.messageReceiveTimeout,"Timeout when waiting for 3rd party check iframe message.")}function ie(u){if(!u||u=="default")return{login:function(p){return window.location.assign(t.createLoginUrl(p)),N().promise},logout:function(p){return window.location.replace(t.createLogoutUrl(p)),N().promise},register:function(p){return window.location.assign(t.createRegisterUrl(p)),N().promise},accountManagement:function(){var p=t.createAccountUrl();if(typeof p<"u")window.location.href=p;else throw"Not supported by the OIDC server";return N().promise},redirectUri:function(p,x){return p&&p.redirectUri?p.redirectUri:t.redirectUri?t.redirectUri:location.href}};if(u=="cordova"){o.enable=!1;var g=function(p,x,y){return window.cordova&&window.cordova.InAppBrowser?window.cordova.InAppBrowser.open(p,x,y):window.open(p,x,y)},C=function(p){return p&&p.cordovaOptions?Object.keys(p.cordovaOptions).reduce(function(x,y){return x[y]=p.cordovaOptions[y],x},{}):{}},I=function(p){return Object.keys(p).reduce(function(x,y){return x.push(y+"="+p[y]),x},[]).join(",")},R=function(p){var x=C(p);return x.location="no",p&&p.prompt=="none"&&(x.hidden="yes"),I(x)},U=function(){return t.redirectUri||"http://localhost"};return{login:function(p){var x=N(),y=R(p),E=t.createLoginUrl(p),H=g(E,"_blank",y),l=!1,f=!1,m=function(){f=!0,H.close()};return H.addEventListener("loadstart",function(w){if(w.url.indexOf(U())==0){var A=T(w.url);$(A,x),m(),l=!0}}),H.addEventListener("loaderror",function(w){if(!l)if(w.url.indexOf(U())==0){var A=T(w.url);$(A,x),m(),l=!0}else x.setError(),m()}),H.addEventListener("exit",function(w){f||x.setError({reason:"closed_by_user"})}),x.promise},logout:function(p){var x=N(),y=t.createLogoutUrl(p),E=g(y,"_blank","location=no,hidden=yes,clearcache=yes"),H;return E.addEventListener("loadstart",function(l){l.url.indexOf(U())==0&&E.close()}),E.addEventListener("loaderror",function(l){l.url.indexOf(U())==0||(H=!0),E.close()}),E.addEventListener("exit",function(l){H?x.setError():(t.clearToken(),x.setSuccess())}),x.promise},register:function(p){var x=N(),y=t.createRegisterUrl(),E=R(p),H=g(y,"_blank",E);return H.addEventListener("loadstart",function(l){if(l.url.indexOf(U())==0){H.close();var f=T(l.url);$(f,x)}}),x.promise},accountManagement:function(){var p=t.createAccountUrl();if(typeof p<"u"){var x=g(p,"_blank","location=no");x.addEventListener("loadstart",function(y){y.url.indexOf(U())==0&&x.close()})}else throw"Not supported by the OIDC server"},redirectUri:function(p){return U()}}}if(u=="cordova-native")return o.enable=!1,{login:function(p){var x=N(),y=t.createLoginUrl(p);return universalLinks.subscribe("keycloak",function(E){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close();var H=T(E.url);$(H,x)}),window.cordova.plugins.browsertab.openUrl(y),x.promise},logout:function(p){var x=N(),y=t.createLogoutUrl(p);return universalLinks.subscribe("keycloak",function(E){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),t.clearToken(),x.setSuccess()}),window.cordova.plugins.browsertab.openUrl(y),x.promise},register:function(p){var x=N(),y=t.createRegisterUrl(p);return universalLinks.subscribe("keycloak",function(E){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close();var H=T(E.url);$(H,x)}),window.cordova.plugins.browsertab.openUrl(y),x.promise},accountManagement:function(){var p=t.createAccountUrl();if(typeof p<"u")window.cordova.plugins.browsertab.openUrl(p);else throw"Not supported by the OIDC server"},redirectUri:function(p){return p&&p.redirectUri?p.redirectUri:t.redirectUri?t.redirectUri:"http://localhost"}};throw"invalid adapter type: "+u}var ee=function(){if(!(this instanceof ee))return new ee;localStorage.setItem("kc-test","test"),localStorage.removeItem("kc-test");var u=this;function g(){for(var C=new Date().getTime(),I=0;I<localStorage.length;I++){var R=localStorage.key(I);if(R&&R.indexOf("kc-callback-")==0){var U=localStorage.getItem(R);if(U)try{var p=JSON.parse(U).expires;(!p||p<C)&&localStorage.removeItem(R)}catch{localStorage.removeItem(R)}}}}u.get=function(C){if(C){var I="kc-callback-"+C,R=localStorage.getItem(I);return R&&(localStorage.removeItem(I),R=JSON.parse(R)),g(),R}},u.add=function(C){g();var I="kc-callback-"+C.state;C.expires=new Date().getTime()+60*60*1e3,localStorage.setItem(I,JSON.stringify(C))}},te=function(){if(!(this instanceof te))return new te;var u=this;u.get=function(R){if(R){var U=C("kc-callback-"+R);if(I("kc-callback-"+R,"",g(-100)),U)return JSON.parse(U)}},u.add=function(R){I("kc-callback-"+R.state,JSON.stringify(R),g(60))},u.removeItem=function(R){I(R,"",g(-100))};var g=function(R){var U=new Date;return U.setTime(U.getTime()+R*60*1e3),U},C=function(R){for(var U=R+"=",p=document.cookie.split(";"),x=0;x<p.length;x++){for(var y=p[x];y.charAt(0)==" ";)y=y.substring(1);if(y.indexOf(U)==0)return y.substring(U.length,y.length)}return""},I=function(R,U,p){var x=R+"="+U+"; expires="+p.toUTCString()+"; ";document.cookie=x}};function ne(){try{return new ee}catch{}return new te}function ve(u){return function(){t.enableLogging&&u.apply(console,Array.prototype.slice.call(arguments))}}}const wa=new Co({url:window.location.origin,realm:window.globals.realm,clientId:window.globals.clientId}),_a=new Promise(async(e,t)=>{try{const r=await wa.init({onLoad:"check-sso",silentCheckSsoRedirectUri:`${location.origin}/silent-check-sso.html`,pkceMethod:"S256"});console.log(`User is ${r?"authenticated":"not authenticated"}`),e(r)}catch(r){console.error("Failed to initialize adapter:",r),t(r)}}),bn=zc(Gl);bn.use(Jc());bn.use(na);bn.mount("#app");console.log(_a);export{be as c};
|