4 lines
127 KiB
JavaScript
4 lines
127 KiB
JavaScript
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/LoginView-vgmTzwMY.js","assets/forms-CldYEw0_.js","assets/RegisterView-nufsS1aS.js","assets/ForgotView-DoDmip1X.js","assets/ResetView-C9HzRA0A.js","assets/DashboardView-kNawprTz.js","assets/PageHead.vue_vue_type_script_setup_true_lang-4URWY3a8.js","assets/LoadState.vue_vue_type_script_setup_true_lang-BlmCGQyT.js","assets/ElectiveBar.vue_vue_type_script_setup_true_lang-uCbzryQF.js","assets/format-bcE-cYHJ.js","assets/ScheduleView-zkV0QlQm.js","assets/DeadlinesView-BLmc5nVX.js","assets/CoursesView-C-tWjZpO.js","assets/CourseView-C_He6ekq.js","assets/ReadingItem.vue_vue_type_script_setup_true_lang-DwAOXYUn.js","assets/ReadingsView-CXDG8jVk.js","assets/MaterialsView-CsgUp-1k.js","assets/MaterialView-DsIAl7oy.js","assets/SyllabiView-sJhGsO7B.js","assets/QuizzesView-BKYNp0DB.js","assets/quizzes-a80XeEqs.js","assets/QuizView-CKA4GLy2.js","assets/MoreView-CZhMrMoT.js","assets/ProfileView-DwWtTsmu.js","assets/MyPresentationsView-CNgpFbYe.js","assets/presentations-CfZEeG4U.js","assets/PresentationSpeakerView-BlMF4Net.js","assets/DeckViewer.vue_vue_type_style_index_0_lang-v_Gmwa2F.js","assets/DeckViewer-CkU9_t5d.css","assets/700-D54I7Duj.css","assets/realtime-DMEc2XGa.js","assets/PresentationSpeakerView-BSvpqjSO.css","assets/PresentationRemoteView-BTQhHxTy.js","assets/_plugin-vue_export-helper-DlAUqK2U.js","assets/PresentationRemoteView-DVUglyxS.css","assets/PresentationPublicView-Cma572RE.js","assets/PresentationPublicView-BfVrlmS5.css","assets/NotFoundView-BCR-HL8O.js"])))=>i.map(i=>d[i]);
|
|
var Ll=Object.defineProperty;var Vl=(e,t,n)=>t in e?Ll(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Kt=(e,t,n)=>Vl(e,typeof t!="symbol"?t+"":t,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();function vr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const oe={},kt=[],it=()=>{},ei=()=>!1,ps=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),gs=e=>e.startsWith("onUpdate:"),Ee=Object.assign,br=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},kl=Object.prototype.hasOwnProperty,te=(e,t)=>kl.call(e,t),H=Array.isArray,It=e=>Hn(e)==="[object Map]",_t=e=>Hn(e)==="[object Set]",$r=e=>Hn(e)==="[object Date]",K=e=>typeof e=="function",ue=e=>typeof e=="string",Be=e=>typeof e=="symbol",ne=e=>e!==null&&typeof e=="object",ti=e=>(ne(e)||K(e))&&K(e.then)&&K(e.catch),ni=Object.prototype.toString,Hn=e=>ni.call(e),Fl=e=>Hn(e).slice(8,-1),si=e=>Hn(e)==="[object Object]",ms=e=>ue(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,bn=vr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),_s=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Hl=/-\w/g,je=_s(e=>e.replace(Hl,t=>t.slice(1).toUpperCase())),Bl=/\B([A-Z])/g,zt=_s(e=>e.replace(Bl,"-$1").toLowerCase()),ys=_s(e=>e.charAt(0).toUpperCase()+e.slice(1)),js=_s(e=>e?`on${ys(e)}`:""),rt=(e,t)=>!Object.is(e,t),Xn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ri=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},vs=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Kr;const bs=()=>Kr||(Kr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Er(e){if(H(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=ue(s)?$l(s):Er(s);if(r)for(const o in r)t[o]=r[o]}return t}else if(ue(e)||ne(e))return e}const Ul=/;(?![^(]*\))/g,zl=/:([^]+)/,ql=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function $l(e){const t={};return e.replace(ql,n=>n.startsWith("/*")?"":n).split(Ul).forEach(n=>{if(n){const s=n.split(zl);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Tn(e){let t="";if(ue(e))t=e;else if(H(e))for(let n=0;n<e.length;n++){const s=Tn(e[n]);s&&(t+=s+" ")}else if(ne(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Kl="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Gl=vr(Kl);function oi(e){return!!e||e===""}function Wl(e,t,n){if(e.length!==t.length)return!1;let s=!0;for(let r=0;s&&r<e.length;r++)s=yt(e[r],t[r],n);return s}function Gr(e,t,n){if(e.size!==t.size)return!1;const s=Array.from(t),r=new Uint8Array(s.length);for(const o of e){let i=-1;for(let l=0;l<s.length;l++)if(!r[l]&&yt(o,s[l],n)){i=l;break}if(i<0)return!1;r[i]=1}return!0}function Jl(e,t,n){let s=It(e),r=It(t);if(s||r||(s=_t(e),r=_t(t),s||r))return s&&r?Gr(e,t,n):!1;const o=Object.keys(e).length,i=Object.keys(t).length;if(o!==i)return!1;for(const l in e){const c=e.hasOwnProperty(l),u=t.hasOwnProperty(l);if(c&&!u||!c&&u||!yt(e[l],t[l],n))return!1}return String(e)===String(t)}function Wr(e,t,n,s){n||(n=[new Map,new Map]);const[r,o]=n;if(r.has(e)||o.has(t))return r.get(e)===t&&o.get(t)===e;r.set(e,t),o.set(t,e);const i=s(e,t,n);return r.delete(e),o.delete(t),i}function yt(e,t,n){if(e===t)return!0;let s=$r(e),r=$r(t);return s||r?s&&r?e.getTime()===t.getTime():!1:(s=Be(e),r=Be(t),s||r?e===t:(s=H(e),r=H(t),s||r?s&&r?Wr(e,t,n,Wl):!1:(s=ne(e),r=ne(t),s||r?!s||!r?!1:Wr(e,t,n,Jl):String(e)===String(t))))}function wr(e,t){return e.findIndex(n=>yt(n,t))}const ii=e=>!!(e&&e.__v_isRef===!0),mn=e=>ue(e)?e:e==null?"":H(e)||ne(e)&&(e.toString===ni||!K(e.toString))?ii(e)?mn(e.value):JSON.stringify(e,li,2):String(e),li=(e,t)=>ii(t)?li(e,t.value):It(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Ds(s,o)+" =>"]=r,n),{})}:_t(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ds(n))}:Be(t)?Ds(t):ne(t)&&!H(t)&&!si(t)?String(t):t,Ds=(e,t="")=>{var n;return Be(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let ve;class ci{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&ve&&(ve.active?(this.parent=ve,this.index=(ve.scopes||(ve.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const s=this.scopes.slice();for(t=0,n=s.length;t<n;t++)s[t].pause()}for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes){const r=this.scopes.slice();for(t=0,n=r.length;t<n;t++)r[t].resume()}const s=this.effects.slice();for(t=0,n=s.length;t<n;t++)s[t].resume()}}run(t){if(this._active){const n=ve;try{return ve=this,t()}finally{ve=n}}}on(){++this._on===1&&(this.prevScope=ve,ve=this)}off(){if(this._on>0&&--this._on===0){if(ve===this)ve=this.prevScope;else{let t=ve;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){const r=this.scopes.slice();for(n=0,s=r.length;n<s;n++)r[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function ai(e){return new ci(e)}function ui(){return ve}function Ql(e,t=!1){ve&&ve.cleanups.push(e)}let le;const Ls=new WeakSet;class fi{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ve&&(ve.active?ve.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ls.has(this)&&(Ls.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||hi(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Jr(this),pi(this);const t=le,n=Ge;le=this,Ge=!0;try{return this.fn()}finally{gi(this),le=t,Ge=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Rr(t);this.deps=this.depsTail=void 0,Jr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ls.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){tr(this)&&this.run()}get dirty(){return tr(this)}}let di=0,En,wn;function hi(e,t=!1){if(e.flags|=8,t){e.next=wn,wn=e;return}e.next=En,En=e}function Sr(){di++}function Ar(){if(--di>0)return;if(wn){let t=wn;for(wn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;En;){let t=En;for(En=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function pi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function gi(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Rr(s),Yl(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function tr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(mi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function mi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===In)||(e.globalVersion=In,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!tr(e))))return;e.flags|=2;const t=e.dep,n=le,s=Ge;le=e,Ge=!0;try{pi(e);const r=e.fn(e._value);(t.version===0||rt(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{le=n,Ge=s,gi(e),e.flags&=-3}}function Rr(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Rr(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Yl(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ge=!0;const _i=[];function vt(){_i.push(Ge),Ge=!1}function bt(){const e=_i.pop();Ge=e===void 0?!0:e}function Jr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=le;le=void 0;try{t()}finally{le=n}}}let In=0;class Xl{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class xr{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!le||!Ge||le===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==le)n=this.activeLink=new Xl(le,this),le.deps?(n.prevDep=le.depsTail,le.depsTail.nextDep=n,le.depsTail=n):le.deps=le.depsTail=n,yi(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=le.depsTail,n.nextDep=void 0,le.depsTail.nextDep=n,le.depsTail=n,le.deps===n&&(le.deps=s)}return n}trigger(t){this.version++,In++,this.notify(t)}notify(t){Sr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ar()}}}function yi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)yi(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ns=new WeakMap,Bt=Symbol(""),nr=Symbol(""),Mn=Symbol("");function Ce(e,t,n){if(Ge&&le){let s=ns.get(e);s||ns.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new xr),r.map=s,r.key=n),r.track()}}function pt(e,t,n,s,r,o){const i=ns.get(e);if(!i){In++;return}const l=c=>{c&&c.trigger()};if(Sr(),t==="clear")i.forEach(l);else{const c=H(e),u=c&&ms(n);if(c&&n==="length"){const a=Number(s);i.forEach((f,p)=>{(p==="length"||p===Mn||!Be(p)&&p>=a)&&l(f)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),u&&l(i.get(Mn)),t){case"add":c?u&&l(i.get("length")):(l(i.get(Bt)),It(e)&&l(i.get(nr)));break;case"delete":c||(l(i.get(Bt)),It(e)&&l(i.get(nr)));break;case"set":It(e)&&l(i.get(Bt));break}}Ar()}function Zl(e,t){const n=ns.get(e);return n&&n.get(t)}function Gt(e){const t=Y(e);return t===e||(Ce(t,"iterate",Mn),He(e))?t:ct(e)?lt(e)?t.map(n=>Mt(qe(n))):t.map(Mt):t.map(qe)}function Es(e){return Ce(e=Y(e),"iterate",Mn),e}function nt(e,t){return ct(e)?Mt(lt(e)?qe(t):t):qe(t)}const ec={__proto__:null,[Symbol.iterator](){return Vs(this,Symbol.iterator,e=>nt(this,e))},concat(...e){return Gt(this).concat(...e.map(t=>H(t)?Gt(t):t))},entries(){return Vs(this,"entries",e=>(e[1]=nt(this,e[1]),e))},every(e,t){return ut(this,"every",e,t,void 0,arguments)},filter(e,t){return ut(this,"filter",e,t,n=>n.map(s=>nt(this,s)),arguments)},find(e,t){return ut(this,"find",e,t,n=>nt(this,n),arguments)},findIndex(e,t){return ut(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ut(this,"findLast",e,t,n=>nt(this,n),arguments)},findLastIndex(e,t){return ut(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ut(this,"forEach",e,t,void 0,arguments)},includes(...e){return ks(this,"includes",e)},indexOf(...e){return ks(this,"indexOf",e)},join(e){return Gt(this).join(e)},lastIndexOf(...e){return ks(this,"lastIndexOf",e)},map(e,t){return ut(this,"map",e,t,void 0,arguments)},pop(){return fn(this,"pop")},push(...e){return fn(this,"push",e)},reduce(e,...t){return Qr(this,"reduce",e,t)},reduceRight(e,...t){return Qr(this,"reduceRight",e,t)},shift(){return fn(this,"shift")},some(e,t){return ut(this,"some",e,t,void 0,arguments)},splice(...e){return fn(this,"splice",e)},toReversed(){return Gt(this).toReversed()},toSorted(e){return Gt(this).toSorted(e)},toSpliced(...e){return Gt(this).toSpliced(...e)},unshift(...e){return fn(this,"unshift",e)},values(){return Vs(this,"values",e=>nt(this,e))}};function Vs(e,t,n){const s=Es(e),r=s[t]();return s!==e&&!He(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.done||(o.value=n(o.value)),o}),r}const tc=Array.prototype;function ut(e,t,n,s,r,o){const i=Es(e),l=i!==e&&!He(e),c=i[t];if(c!==tc[t]){const f=c.apply(e,o);return l?qe(f):f}let u=n;i!==e&&(l?u=function(f,p){return n.call(this,nt(e,f),p,e)}:n.length>2&&(u=function(f,p){return n.call(this,f,p,e)}));const a=c.call(i,u,s);return l&&r?r(a):a}function Qr(e,t,n,s){const r=Es(e),o=r!==e&&!He(e);let i=n,l=!1;r!==e&&(o?(l=s.length===0,i=function(u,a,f){return l&&(l=!1,u=nt(e,u)),n.call(this,u,nt(e,a),f,e)}):n.length>3&&(i=function(u,a,f){return n.call(this,u,a,f,e)}));const c=r[t](i,...s);return l?nt(e,c):c}function ks(e,t,n){const s=Y(e);Ce(s,"iterate",Mn);const r=s[t](...n);return(r===-1||r===!1)&&ws(n[0])?(n[0]=Y(n[0]),s[t](...n)):r}function fn(e,t,n=[]){vt(),Sr();const s=Y(e)[t].apply(e,n);return Ar(),bt(),s}const nc=vr("__proto__,__v_isRef,__isVue"),vi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Be));function sc(e){Be(e)||(e=String(e));const t=Y(this);return Ce(t,"has",e),t.hasOwnProperty(e)}class bi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?hc:Ai:o?Si:wi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=H(t);if(!r){let c;if(i&&(c=ec[n]))return c;if(n==="hasOwnProperty")return sc}const l=Reflect.get(t,n,ge(t)?t:s);if((Be(n)?vi.has(n):nc(n))||(r||Ce(t,"get",n),o))return l;if(ge(l)){const c=i&&ms(n)?l:l.value;return r&&ne(c)?rr(c):c}return ne(l)?r?rr(l):Bn(l):l}}class Ei extends bi{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];const i=H(t)&&ms(n);if(!this._isShallow){const u=ct(o);if(!He(s)&&!ct(s)&&(o=Y(o),s=Y(s)),!i&&ge(o)&&!ge(s))return u||(o.value=s),!0}const l=i?Number(n)<t.length:te(t,n),c=Reflect.set(t,n,s,ge(t)?t:r);return t===Y(r)&&c&&(l?rt(s,o)&&pt(t,"set",n,s):pt(t,"add",n,s)),c}deleteProperty(t,n){const s=te(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&pt(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!Be(n)||!vi.has(n))&&Ce(t,"has",n),s}ownKeys(t){return Ce(t,"iterate",H(t)?"length":Bt),Reflect.ownKeys(t)}}class rc extends bi{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const oc=new Ei,ic=new rc,lc=new Ei(!0);const sr=e=>e,$n=e=>Reflect.getPrototypeOf(e);function cc(e,t,n){return function(...s){const r=this.__v_raw,o=Y(r),i=It(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,u=r[e](...s),a=n?sr:t?Mt:qe;return!t&&Ce(o,"iterate",c?nr:Bt),Ee(Object.create(u),{next(){const{value:f,done:p}=u.next();return p?{value:f,done:p}:{value:l?[a(f[0]),a(f[1])]:a(f),done:p}}})}}function Kn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ac(e,t){const n={get(r){const o=this.__v_raw,i=Y(o),l=Y(r);e||(rt(r,l)&&Ce(i,"get",r),Ce(i,"get",l));const{has:c}=$n(i),u=t?sr:e?Mt:qe;if(c.call(i,r))return u(o.get(r));if(c.call(i,l))return u(o.get(l));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&Ce(Y(r),"iterate",Bt),r.size},has(r){const o=this.__v_raw,i=Y(o),l=Y(r);return e||(rt(r,l)&&Ce(i,"has",r),Ce(i,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const i=this,l=i.__v_raw,c=Y(l),u=t?sr:e?Mt:qe;return!e&&Ce(c,"iterate",Bt),l.forEach((a,f)=>r.call(o,u(a),u(f),i))}};return Ee(n,e?{add:Kn("add"),set:Kn("set"),delete:Kn("delete"),clear:Kn("clear")}:{add(r){const o=Y(this),i=$n(o),l=Y(r),c=!t&&!He(r)&&!ct(r)?l:r;return i.has.call(o,c)||rt(r,c)&&i.has.call(o,r)||rt(l,c)&&i.has.call(o,l)||(o.add(c),pt(o,"add",c,c)),this},set(r,o){!t&&!He(o)&&!ct(o)&&(o=Y(o));const i=Y(this),{has:l,get:c}=$n(i);let u=l.call(i,r);u||(r=Y(r),u=l.call(i,r));const a=c.call(i,r);return i.set(r,o),u?rt(o,a)&&pt(i,"set",r,o):pt(i,"add",r,o),this},delete(r){const o=Y(this),{has:i,get:l}=$n(o);let c=i.call(o,r);c||(r=Y(r),c=i.call(o,r)),l&&l.call(o,r);const u=o.delete(r);return c&&pt(o,"delete",r,void 0),u},clear(){const r=Y(this),o=r.size!==0,i=r.clear();return o&&pt(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=cc(r,e,t)}),n}function Cr(e,t){const n=ac(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(te(n,r)&&r in s?n:s,r,o)}const uc={get:Cr(!1,!1)},fc={get:Cr(!1,!0)},dc={get:Cr(!0,!1)};const wi=new WeakMap,Si=new WeakMap,Ai=new WeakMap,hc=new WeakMap;function pc(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Bn(e){return ct(e)?e:Pr(e,!1,oc,uc,wi)}function Ri(e){return Pr(e,!1,lc,fc,Si)}function rr(e){return Pr(e,!0,ic,dc,Ai)}function Pr(e,t,n,s,r){if(!ne(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const o=r.get(e);if(o)return o;const i=pc(Fl(e));if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function lt(e){return ct(e)?lt(e.__v_raw):!!(e&&e.__v_isReactive)}function ct(e){return!!(e&&e.__v_isReadonly)}function He(e){return!!(e&&e.__v_isShallow)}function ws(e){return e?!!e.__v_raw:!1}function Y(e){const t=e&&e.__v_raw;return t?Y(t):e}function Or(e){return!te(e,"__v_skip")&&Object.isExtensible(e)&&ri(e,"__v_skip",!0),e}const qe=e=>ne(e)?Bn(e):e,Mt=e=>ne(e)?rr(e):e;function ge(e){return e?e.__v_isRef===!0:!1}function be(e){return xi(e,!1)}function ss(e){return xi(e,!0)}function xi(e,t){return ge(e)?e:new gc(e,t)}class gc{constructor(t,n){this.dep=new xr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Y(t),this._value=n?t:qe(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||He(t)||ct(t);t=s?t:Y(t),rt(t,n)&&(this._rawValue=t,this._value=s?t:qe(t),this.dep.trigger())}}function xe(e){return ge(e)?e.value:e}const mc={get:(e,t,n)=>t==="__v_raw"?e:xe(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ge(r)&&!ge(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Ci(e){return lt(e)?e:new Proxy(e,mc)}function _c(e){const t=H(e)?new Array(e.length):{};for(const n in e)t[n]=vc(e,n);return t}class yc{constructor(t,n,s){this._object=t,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._key=Be(n)?n:String(n),this._raw=Y(t);let r=!0,o=t;if(!H(t)||Be(this._key)||!ms(this._key))do r=!ws(o)||He(o);while(r&&(o=o.__v_raw));this._shallow=r}get value(){let t=this._object[this._key];return this._shallow&&(t=xe(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&ge(this._raw[this._key])){const n=this._object[this._key];if(ge(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Zl(this._raw,this._key)}}function vc(e,t,n){return new yc(e,t,n)}class bc{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new xr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=In-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&le!==this)return hi(this,!0),!0}get value(){const t=this.dep.track();return mi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ec(e,t,n=!1){let s,r;return K(e)?s=e:(s=e.get,r=e.set),new bc(s,r,n)}const Gn={},rs=new WeakMap;let Lt;function wc(e,t=!1,n=Lt){if(n){let s=rs.get(n);s||rs.set(n,s=[]),s.push(e)}}function Sc(e,t,n=oe){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:l,call:c}=n,u=T=>r?T:He(T)||r===!1||r===0?gt(T,1):gt(T);let a,f,p,g,y=!1,_=!1;if(ge(e)?(f=()=>e.value,y=He(e)):lt(e)?(f=()=>u(e),y=!0):H(e)?(_=!0,y=e.some(T=>lt(T)||He(T)),f=()=>e.map(T=>{if(ge(T))return T.value;if(lt(T))return u(T);if(K(T))return c?c(T,2):T()})):K(e)?t?f=c?()=>c(e,2):e:f=()=>{if(p){vt();try{p()}finally{bt()}}const T=Lt;Lt=a;try{return c?c(e,3,[g]):e(g)}finally{Lt=T}}:f=it,t&&r){const T=f,D=r===!0?1/0:r;f=()=>gt(T(),D)}const x=ui(),R=()=>{a.stop(),x&&x.active&&br(x.effects,a)};if(o&&t){const T=t;t=(...D)=>{const X=T(...D);return R(),X}}let S=_?new Array(e.length).fill(Gn):Gn;const I=T=>{if(!(!(a.flags&1)||!a.dirty&&!T))if(t){const D=a.run();if(T||r||y||(_?D.some((X,L)=>rt(X,S[L])):rt(D,S))){p&&p();const X=Lt;Lt=a;try{const L=[D,S===Gn?void 0:_&&S[0]===Gn?[]:S,g];S=D,c?c(t,3,L):t(...L)}finally{Lt=X}}}else a.run()};return l&&l(I),a=new fi(f),a.scheduler=i?()=>i(I,!1):I,g=T=>wc(T,!1,a),p=a.onStop=()=>{const T=rs.get(a);if(T){if(c)c(T,4);else for(const D of T)D();rs.delete(a)}},t?s?I(!0):S=a.run():i?i(I.bind(null,!0),!0):a.run(),R.pause=a.pause.bind(a),R.resume=a.resume.bind(a),R.stop=R,R}function gt(e,t=1/0,n){if(t<=0||!ne(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,ge(e))gt(e.value,t,n);else if(H(e))for(let s=0;s<e.length;s++)gt(e[s],t,n);else if(_t(e)||It(e))e.forEach(s=>{gt(s,t,n)});else if(si(e)){for(const s in e)gt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&>(e[s],t,n)}return e}function Un(e,t,n,s){try{return s?e(...s):e()}catch(r){zn(r,t,n)}}function We(e,t,n,s){if(K(e)){const r=Un(e,t,n,s);return r&&ti(r)&&r.catch(o=>{zn(o,t,n)}),r}if(H(e)){const r=[];for(let o=0;o<e.length;o++)r.push(We(e[o],t,n,s));return r}}function zn(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||oe;if(t){let l=t.parent;const c=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const a=l.ec;if(a){for(let f=0;f<a.length;f++)if(a[f](e,c,u)===!1)return}l=l.parent}if(o){vt(),Un(o,null,10,[e,c,u]),bt();return}}Ac(e,n,r,s,i)}function Ac(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const Ne=[];let tt=-1;const Zt=[];let Pt=null,Qt=0;const Pi=Promise.resolve();let os=null;function Ss(e){const t=os||Pi;return e?t.then(this?e.bind(this):e):t}function Rc(e){let t=tt+1,n=Ne.length;for(;t<n;){const s=t+n>>>1,r=Ne[s],o=Nn(r);o<e||o===e&&r.flags&2?t=s+1:n=s}return t}function Tr(e){if(!(e.flags&1)){const t=Nn(e),n=Ne[Ne.length-1];!n||!(e.flags&2)&&t>=Nn(n)?Ne.push(e):Ne.splice(Rc(t),0,e),e.flags|=1,Oi()}}function Oi(){os||(os=Pi.then(Ii))}function xc(e){if(!H(e))Pt&&e.id===-1?Pt.splice(Qt+1,0,e):e.flags&1||(Zt.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)Zt.push(e[t]);Oi()}function Yr(e,t,n=tt+1){for(;n<Ne.length;n++){const s=Ne[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Ne.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Ti(e){if(Zt.length){const t=[...new Set(Zt)].sort((n,s)=>Nn(n)-Nn(s));if(Zt.length=0,Pt){for(let n=0;n<t.length;n++)Pt.push(t[n]);return}for(Pt=t,Qt=0;Qt<Pt.length;Qt++){const n=Pt[Qt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Pt=null,Qt=0}}const Nn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Ii(e){try{for(tt=0;tt<Ne.length;tt++){const t=Ne[tt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Un(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;tt<Ne.length;tt++){const t=Ne[tt];t&&(t.flags&=-2)}tt=-1,Ne.length=0,Ti(),os=null,(Ne.length||Zt.length)&&Ii()}}let Ae=null,Mi=null;function is(e){const t=Ae;return Ae=e,Mi=e&&e.type.__scopeId||null,t}function Sn(e,t=Ae,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&as(-1);const o=is(t),i=mt.length;let l;try{l=e(...r)}finally{for(let c=mt.length;c>i;c--)Vr();is(o),s._d&&as(1)}return l};return s._n=!0,s._c=!0,s._d=!0,s}function Cc(e,t){if(Ae===null)return e;const n=Os(Ae),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,i,l,c=oe]=t[r];o&&(K(o)&&(o={mounted:o,updated:o}),o.deep&>(i),s.push({dir:o,instance:n,value:i,oldValue:void 0,arg:l,modifiers:c}))}return e}function jt(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let i=0;i<r.length;i++){const l=r[i];o&&(l.oldValue=o[i].value);let c=l.dir[s];c&&(vt(),We(c,n,8,[e.el,l,e,t]),bt())}}function Zn(e,t){if(Se){let n=Se.provides;const s=Se.parent&&Se.parent.provides;s===n&&(n=Se.provides=Object.create(s)),n[e]=t}}function ze(e,t,n=!1){const s=rl();if(s||Ut){let r=Ut?Ut._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&K(t)?t.call(s&&s.proxy):t}}function Pc(){return!!(rl()||Ut)}const Oc=Symbol.for("v-scx"),Tc=()=>ze(Oc);function en(e,t,n){return Ni(e,t,n)}function Ni(e,t,n=oe){const{immediate:s,deep:r,flush:o,once:i}=n,l=Ee({},n),c=t&&s||!t&&o!=="post";let u;if(sn){if(o==="sync"){const g=Tc();u=g.__watcherHandles||(g.__watcherHandles=[])}else if(!c){const g=()=>{};return g.stop=it,g.resume=it,g.pause=it,g}}const a=Se;l.call=(g,y,_)=>We(g,a,y,_);let f=!1;o==="post"?l.scheduler=g=>{Ie(g,a&&a.suspense)}:o!=="sync"&&(f=!0,l.scheduler=(g,y)=>{y?g():Tr(g)}),l.augmentJob=g=>{t&&(g.flags|=4),f&&(g.flags|=2,a&&(g.id=a.uid,g.i=a))};const p=Sc(e,t,l);return sn&&(u?u.push(p):c&&p()),p}function Ic(e,t,n){const s=this.proxy,r=ue(e)?e.includes(".")?ji(s,e):()=>s[e]:e.bind(s,s);let o;K(t)?o=t:(o=t.handler,n=t);const i=qn(this),l=Ni(r,o.bind(s),n);return i(),l}function ji(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}const Rt=new WeakMap,Di=Symbol("_vte"),As=e=>e.__isTeleport,Vt=e=>e&&(e.disabled||e.disabled===""),Mc=e=>e&&(e.defer||e.defer===""),Xr=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Zr=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,or=(e,t)=>{const n=e&&e.to;return ue(n)?t?t(n):null:n},Nc={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,o,i,l,c,u){const{mc:a,pc:f,pbc:p,o:{insert:g,querySelector:y,createText:_,createComment:x,parentNode:R}}=u,S=Vt(t.props);let{dynamicChildren:I}=t;const T=(L,B,V)=>{L.shapeFlag&16&&a(L.children,B,V,r,o,i,l,c)},D=(L=t)=>{const B=Vt(L.props),V=L.target=or(L.props,y),Z=ir(V,L,_,g);V&&(i!=="svg"&&Xr(V)?i="svg":i!=="mathml"&&Zr(V)&&(i="mathml"),r&&r.isCE&&(r.ce._teleportTargets||(r.ce._teleportTargets=new Set)).add(V),B||(T(L,V,Z),_n(L,!1)))},X=L=>{const B=()=>{if(Rt.get(L)===B){if(Rt.delete(L),Vt(L.props)){const V=R(L.el)||n;T(L,V,L.anchor),_n(L,!0)}D(L)}};Rt.set(L,B),Ie(B,o)};if(e==null){const L=t.el=_(""),B=t.anchor=_("");if(g(L,n,s),g(B,n,s),Mc(t.props)||o&&o.pendingBranch){X(t);return}S&&(T(t,n,B),_n(t,!0)),D()}else{t.el=e.el;const L=t.anchor=e.anchor,B=Rt.get(e);if(B){B.flags|=8,Rt.delete(e),X(t);return}t.targetStart=e.targetStart;const V=t.target=e.target,Z=t.targetAnchor=e.targetAnchor,fe=Vt(e.props),U=fe?n:V,de=fe?L:Z;if(i==="svg"||Xr(V)?i="svg":(i==="mathml"||Zr(V))&&(i="mathml"),I?(p(e.dynamicChildren,I,U,r,o,i,l),Lr(e,t,!0)):c||f(e,t,U,de,r,o,i,l,!1),S)fe?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Wn(t,n,L,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const me=or(t.props,y);me&&(t.target=me,Wn(t,me,null,u,0))}else fe&&Wn(t,V,Z,u,1);_n(t,S)}},remove(e,t,n,{um:s,o:{remove:r}},o){const{shapeFlag:i,children:l,anchor:c,targetStart:u,targetAnchor:a,target:f,props:p}=e,g=Vt(p),y=o||!g,_=Rt.get(e);if(_&&(_.flags|=8,Rt.delete(e)),f&&(r(u),r(a)),o&&r(c),!_&&(g||f)&&i&16)for(let x=0;x<l.length;x++){const R=l[x];s(R,t,n,y,!!R.dynamicChildren)}},move:Wn,hydrate:jc};function Wn(e,t,n,{o:{insert:s},m:r},o=2){o===0&&s(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:c,children:u,props:a}=e,f=o===2;if(f&&s(i,t,n),!Rt.has(e)&&(!f||Vt(a))&&c&16)for(let p=0;p<u.length;p++)r(u[p],t,n,2);f&&s(l,t,n)}function jc(e,t,n,s,r,o,{o:{nextSibling:i,parentNode:l,querySelector:c,insert:u,createText:a}},f){function p(x,R){let S=R;for(;S;){if(S&&S.nodeType===8){if(S.data==="teleport start anchor")t.targetStart=S;else if(S.data==="teleport anchor"){t.targetAnchor=S,x._lpa=t.targetAnchor&&i(t.targetAnchor);break}}S=i(S)}}function g(x,R){R.anchor=f(i(x),R,l(x),n,s,r,o)}const y=t.target=or(t.props,c),_=Vt(t.props);if(y){const x=y._lpa||y.firstChild;t.shapeFlag&16&&(_?(g(e,t),p(y,x),t.targetAnchor||ir(y,t,a,u,l(e)===y?e:null)):(t.anchor=i(e),p(y,x),t.targetAnchor||ir(y,t,a,u),f(x&&i(x),t,y,n,s,r,o))),_n(t,_)}else _&&t.shapeFlag&16&&(g(e,t),t.targetStart=e,t.targetAnchor=i(e));return t.anchor&&i(t.anchor)}const ed=Nc;function _n(e,t){const n=e.ctx;if(n&&n.ut){let s,r;for(t?(s=e.el,r=e.anchor):(s=e.targetStart,r=e.targetAnchor);s&&s!==r;)s.nodeType===1&&s.setAttribute("data-v-owner",n.uid),s=s.nextSibling;n.ut()}}function ir(e,t,n,s,r=null){const o=t.targetStart=n(""),i=t.targetAnchor=n("");return o[Di]=i,e&&(s(o,e,r),s(i,e,r)),i}const Fs=Symbol("_leaveCb");function Dc(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==at){t=n;break}}return t}function Li(e){if(!Rs(e))return As(e.type)&&e.children?Dc(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&K(n.default))return n.default()}}function Ir(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const n=e.component.subTree;Ir(As(n.type)&&Li(n)||n,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function cn(e,t){return K(e)?Ee({name:e.name},t,{setup:e}):e}function Mr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function eo(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const ls=new WeakMap;function An(e,t,n,s,r=!1){if(H(e)){e.forEach((_,x)=>An(_,t&&(H(t)?t[x]:t),n,s,r));return}if(tn(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&An(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?Os(s.component):s.el,i=r?null:o,{i:l,r:c}=e,u=t&&t.r,a=l.refs===oe?l.refs={}:l.refs,f=l.setupState,p=Y(f),g=f===oe?ei:_=>eo(a,_)?!1:te(p,_),y=(_,x)=>!(x&&eo(a,x));if(u!=null&&u!==c){if(to(t),ue(u))a[u]=null,g(u)&&(f[u]=null);else if(ge(u)){const _=t;y(u,_.k)&&(u.value=null),_.k&&(a[_.k]=null)}}if(K(c))Un(c,l,12,[i,a]);else{const _=ue(c),x=ge(c);if(_||x){const R=()=>{if(e.f){const S=_?g(c)?f[c]:a[c]:y()||!e.k?c.value:a[e.k];if(r)H(S)&&br(S,o);else if(H(S))S.includes(o)||S.push(o);else if(_)a[c]=[o],g(c)&&(f[c]=a[c]);else{const I=[o];y(c,e.k)&&(c.value=I),e.k&&(a[e.k]=I)}}else _?(a[c]=i,g(c)&&(f[c]=i)):x&&(y(c,e.k)&&(c.value=i),e.k&&(a[e.k]=i))};if(i){const S=()=>{R(),ls.delete(e)};S.id=-1,ls.set(e,S),Ie(S,n)}else to(e),R()}}}function to(e){const t=ls.get(e);t&&(t.flags|=8,ls.delete(e))}const no=e=>e.nodeType===8;bs().requestIdleCallback;bs().cancelIdleCallback;function Lc(e,t){if(no(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(no(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const tn=e=>!!e.type.__asyncLoader;function td(e){K(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,hydrate:o,timeout:i,suspensible:l=!0,onError:c}=e;let u=null,a,f=0;const p=()=>(f++,u=null,g()),g=()=>{let y;return u||(y=u=t().catch(_=>{if(_=_ instanceof Error?_:new Error(String(_)),c)return new Promise((x,R)=>{c(_,()=>x(p()),()=>R(_),f+1)});throw _}).then(_=>y!==u&&u?u:(_&&(_.__esModule||_[Symbol.toStringTag]==="Module")&&(_=_.default),a=_,_)))};return cn({name:"AsyncComponentWrapper",__asyncLoader:g,__asyncHydrate(y,_,x){const R=y.isConnected;let S=!1;(_.bu||(_.bu=[])).push(()=>S=!0);const I=()=>{S||!y.parentNode||R&&!y.isConnected||x()},T=o?()=>{const D=o(I,X=>Lc(y,X));D&&(_.bum||(_.bum=[])).push(D)}:I;a?T():g().then(()=>!_.isUnmounted&&T())},get __asyncResolved(){return a},setup(){const y=Se;if(Mr(y),a)return()=>Jn(a,y);const _=D=>{u=null,zn(D,y,13,!s)};if(l&&y.suspense||sn)return g().then(D=>()=>Jn(D,y)).catch(D=>(_(D),()=>s?ae(s,{error:D}):null));const x=be(!1),R=be(),S=be(!!r);let I,T;return Nr(()=>{I!=null&&clearTimeout(I),T!=null&&clearTimeout(T)}),r&&(T=setTimeout(()=>{y.isUnmounted||(S.value=!1)},r)),i!=null&&(I=setTimeout(()=>{if(!y.isUnmounted&&!x.value&&!R.value){const D=new Error(`Async component timed out after ${i}ms.`);_(D),R.value=D}},i)),g().then(()=>{y.isUnmounted||(x.value=!0,y.parent&&Rs(y.parent.vnode)&&y.parent.update())}).catch(D=>{if(y.isUnmounted){u=null;return}_(D),R.value=D}),()=>{if(x.value&&a)return Jn(a,y);if(R.value&&s)return ae(s,{error:R.value});if(n&&!S.value)return Jn(n,y)}}})}function Jn(e,t){const{ref:n,props:s,children:r,ce:o}=t.vnode,i=ae(e,s,r);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const Rs=e=>e.type.__isKeepAlive;function Vc(e,t){Vi(e,"a",t)}function kc(e,t){Vi(e,"da",t)}function Vi(e,t,n=Se){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(xs(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Rs(r.parent.vnode)&&Fc(s,t,n,r),r=r.parent}}function Fc(e,t,n,s){const r=xs(t,e,s,!0);Nr(()=>{br(s[t],r)},n)}function xs(e,t,n=Se,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{vt();const l=qn(n),c=We(t,n,e,i);return l(),bt(),c});return s?r.unshift(o):r.push(o),o}}const Et=e=>(t,n=Se)=>{(!sn||e==="sp")&&xs(e,(...s)=>t(...s),n)},Hc=Et("bm"),Bc=Et("m"),Uc=Et("bu"),zc=Et("u"),qc=Et("bum"),Nr=Et("um"),$c=Et("sp"),Kc=Et("rtg"),Gc=Et("rtc");function Wc(e,t=Se){xs("ec",e,t)}const Jc="components";function ki(e,t){return Yc(Jc,e,!0,t)||e}const Qc=Symbol.for("v-ndc");function Yc(e,t,n=!0,s=!1){const r=Ae||Se;if(r){const o=r.type;{const l=Da(o,!1);if(l&&(l===t||l===je(t)||l===ys(je(t))))return o}const i=so(r[e]||o[e],t)||so(r.appContext[e],t);return!i&&s?o:i}}function so(e,t){return e&&(e[t]||e[je(t)]||e[ys(je(t))])}function ro(e,t,n,s){let r;const o=n,i=H(e);if(i||ue(e)){const l=i&<(e);let c=!1,u=!1;l&&(c=!He(e),u=ct(e),e=Es(e)),r=new Array(e.length);for(let a=0,f=e.length;a<f;a++)r[a]=t(c?u?Mt(qe(e[a])):qe(e[a]):e[a],a,void 0,o)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,o)}else if(ne(e))if(e[Symbol.iterator])r=Array.from(e,(l,c)=>t(l,c,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,u=l.length;c<u;c++){const a=l[c];r[c]=t(e[a],a,c,o)}}else r=[];return r}function Xc(e,t,n,s,r,o){if(n==null&&(n={}),Ae.ce||Ae.parent&&tn(Ae.parent)&&Ae.parent.ce){const u=o!=null&&n.key==null?Ee({},n,{key:o}):n,a=Object.keys(u).length>0;return t!=="default"&&(u.name=t),Ke(),Dn(Le,null,[ae("slot",u,s)],a?-2:64)}let i=e[t];i&&i._c&&(i._d=!1);const l=mt.length;Ke();let c;try{const u=i&&Fi(i(n)),a=n.key||o||u&&u.key;c=Dn(Le,{key:(a&&!Be(a)?a:`_${t}`)+(!u&&s?"_fb":"")},u||(s?s():[]),u&&e._===1?64:-2)}catch(u){for(let a=mt.length;a>l;a--)Vr();throw u}finally{i&&i._c&&(i._d=!0)}return c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),c}function Fi(e){return e.some(t=>Ln(t)?!(t.type===at||t.type===Le&&!Fi(t.children)):!0)?e:null}const lr=e=>e?ol(e)?Os(e):lr(e.parent):null,Rn=Ee(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=>lr(e.parent),$root:e=>lr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Bi(e),$forceUpdate:e=>e.f||(e.f=()=>{Tr(e.update)}),$nextTick:e=>e.n||(e.n=Ss.bind(e.proxy)),$watch:e=>Ic.bind(e)}),Hs=(e,t)=>e!==oe&&!e.__isScriptSetup&&te(e,t),Zc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(Hs(s,t))return i[t]=1,s[t];if(r!==oe&&te(r,t))return i[t]=2,r[t];if(te(o,t))return i[t]=3,o[t];if(n!==oe&&te(n,t))return i[t]=4,n[t];cr&&(i[t]=0)}}const u=Rn[t];let a,f;if(u)return t==="$attrs"&&Ce(e.attrs,"get",""),u(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(n!==oe&&te(n,t))return i[t]=4,n[t];if(f=c.config.globalProperties,te(f,t))return f[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return Hs(r,t)?(r[t]=n,!0):s!==oe&&te(s,t)?(s[t]=n,!0):te(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,props:o,type:i}},l){let c;return!!(n[l]||e!==oe&&l[0]!=="$"&&te(e,l)||Hs(t,l)||te(o,l)||te(s,l)||te(Rn,l)||te(r.config.globalProperties,l)||(c=i.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:te(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function oo(e){return H(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let cr=!0;function ea(e){const t=Bi(e),n=e.proxy,s=e.ctx;cr=!1,t.beforeCreate&&io(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:u,created:a,beforeMount:f,mounted:p,beforeUpdate:g,updated:y,activated:_,deactivated:x,beforeDestroy:R,beforeUnmount:S,destroyed:I,unmounted:T,render:D,renderTracked:X,renderTriggered:L,errorCaptured:B,serverPrefetch:V,expose:Z,inheritAttrs:fe,components:U,directives:de,filters:me}=t;if(u&&ta(u,s,null),i)for(const $ in i){const G=i[$];K(G)&&(s[$]=G.bind(n))}if(r){const $=r.call(n,n);ne($)&&(e.data=Bn($))}if(cr=!0,o)for(const $ in o){const G=o[$],Ve=K(G)?G.bind(n,n):K(G.get)?G.get.bind(n,n):it,wt=!K(G)&&K(G.set)?G.set.bind(n):it,Qe=W({get:Ve,set:wt});Object.defineProperty(s,$,{enumerable:!0,configurable:!0,get:()=>Qe.value,set:Pe=>Qe.value=Pe})}if(l)for(const $ in l)Hi(l[$],s,n,$);if(c){const $=K(c)?c.call(n):c;Reflect.ownKeys($).forEach(G=>{Zn(G,$[G])})}a&&io(a,e,"c");function ie($,G){H(G)?G.forEach(Ve=>$(Ve.bind(n))):G&&$(G.bind(n))}if(ie(Hc,f),ie(Bc,p),ie(Uc,g),ie(zc,y),ie(Vc,_),ie(kc,x),ie(Wc,B),ie(Gc,X),ie(Kc,L),ie(qc,S),ie(Nr,T),ie($c,V),H(Z))if(Z.length){const $=e.exposed||(e.exposed={});Z.forEach(G=>{Object.defineProperty($,G,{get:()=>n[G],set:Ve=>n[G]=Ve,enumerable:!0})})}else e.exposed||(e.exposed={});D&&e.render===it&&(e.render=D),fe!=null&&(e.inheritAttrs=fe),U&&(e.components=U),de&&(e.directives=de),V&&Mr(e)}function ta(e,t,n=it){H(e)&&(e=ar(e));for(const s in e){const r=e[s];let o;ne(r)?"default"in r?o=ze(r.from||s,r.default,!0):o=ze(r.from||s):o=ze(r),ge(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function io(e,t,n){We(H(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Hi(e,t,n,s){let r=s.includes(".")?ji(n,s):()=>n[s];if(ue(e)){const o=t[e];K(o)&&en(r,o)}else if(K(e))en(r,e.bind(n));else if(ne(e))if(H(e))e.forEach(o=>Hi(o,t,n,s));else{const o=K(e.handler)?e.handler.bind(n):t[e.handler];K(o)&&en(r,o,e)}}function Bi(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(u=>cs(c,u,i,!0)),cs(c,t,i)),ne(t)&&o.set(t,c),c}function cs(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&cs(e,o,n,!0),r&&r.forEach(i=>cs(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=na[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const na={data:lo,props:co,emits:co,methods:yn,computed:yn,beforeCreate:Te,created:Te,beforeMount:Te,mounted:Te,beforeUpdate:Te,updated:Te,beforeDestroy:Te,beforeUnmount:Te,destroyed:Te,unmounted:Te,activated:Te,deactivated:Te,errorCaptured:Te,serverPrefetch:Te,components:yn,directives:yn,watch:ra,provide:lo,inject:sa};function lo(e,t){return t?e?function(){return Ee(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function sa(e,t){return yn(ar(e),ar(t))}function ar(e){if(H(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Te(e,t){return e?[...new Set([].concat(e,t))]:t}function yn(e,t){return e?Ee(Object.create(null),e,t):t}function co(e,t){return e?H(e)&&H(t)?[...new Set([...e,...t])]:Ee(Object.create(null),oo(e),oo(t??{})):t}function ra(e,t){if(!e)return t;if(!t)return e;const n=Ee(Object.create(null),e);for(const s in t)n[s]=Te(e[s],t[s]);return n}function Ui(){return{app:null,config:{isNativeTag:ei,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 oa=0;function ia(e,t){return function(s,r=null){K(s)||(s=Ee({},s)),r!=null&&!ne(r)&&(r=null);const o=Ui(),i=new WeakSet,l=[];let c=!1;const u=o.app={_uid:oa++,_component:s,_props:r,_container:null,_context:o,_instance:null,version:Va,get config(){return o.config},set config(a){},use(a,...f){return i.has(a)||(a&&K(a.install)?(i.add(a),a.install(u,...f)):K(a)&&(i.add(a),a(u,...f))),u},mixin(a){return o.mixins.includes(a)||o.mixins.push(a),u},component(a,f){return f?(o.components[a]=f,u):o.components[a]},directive(a,f){return f?(o.directives[a]=f,u):o.directives[a]},mount(a,f,p){if(!c){const g=u._ceVNode||ae(s,r);return g.appContext=o,p===!0?p="svg":p===!1&&(p=void 0),e(g,a,p),c=!0,u._container=a,a.__vue_app__=u,Os(g.component)}},onUnmount(a){l.push(a)},unmount(){c&&(We(l,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(a,f){return o.provides[a]=f,u},runWithContext(a){const f=Ut;Ut=u;try{return a()}finally{Ut=f}}};return u}}let Ut=null;const la=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${je(t)}Modifiers`]||e[`${zt(t)}Modifiers`];function ca(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||oe;let r=n;const o=t.startsWith("update:"),i=o&&la(s,t.slice(7));i&&(i.trim&&(r=n.map(a=>ue(a)?a.trim():a)),i.number&&(r=r.map(vs)));let l,c=s[l=js(t)]||s[l=js(je(t))];!c&&o&&(c=s[l=js(zt(t))]),c&&We(c,e,6,r);const u=s[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,We(u,e,6,r)}}const aa=new WeakMap;function zi(e,t,n=!1){const s=n?aa:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!K(e)){const c=u=>{const a=zi(u,t,!0);a&&(l=!0,Ee(i,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(ne(e)&&s.set(e,null),null):(H(o)?o.forEach(c=>i[c]=null):Ee(i,o),ne(e)&&s.set(e,i),i)}function Cs(e,t){return!e||!ps(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),te(e,t[0].toLowerCase()+t.slice(1))||te(e,zt(t))||te(e,t))}function ao(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:c,render:u,renderCache:a,props:f,data:p,setupState:g,ctx:y,inheritAttrs:_}=e,x=is(e);let R,S;try{if(n.shapeFlag&4){const T=r||s,D=T;R=st(u.call(D,T,a,f,g,p,y)),S=l}else{const T=t;R=st(T.length>1?T(f,{attrs:l,slots:i,emit:c}):T(f,null)),S=t.props?l:ua(l)}}catch(T){mt.length=0,zn(T,e,1),R=ae(at)}let I=R;if(S&&_!==!1){const T=Object.keys(S),{shapeFlag:D}=I;T.length&&D&7&&(o&&T.some(gs)&&(S=fa(S,o)),I=nn(I,S,!1,!0))}if(n.dirs&&(I=nn(I,null,!1,!0),I.dirs=I.dirs?I.dirs.concat(n.dirs):n.dirs),n.transition){const T=As(I.type)&&Li(I)||I;Ir(T,n.transition)}return R=I,is(x),R}const ua=e=>{let t;for(const n in e)(n==="class"||n==="style"||ps(n))&&((t||(t={}))[n]=e[n]);return t},fa=(e,t)=>{const n={};for(const s in e)(!gs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function da(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?uo(s,i,u):!!i;if(c&8){const a=t.dynamicProps;for(let f=0;f<a.length;f++){const p=a[f];if(qi(i,s,p)&&!Cs(u,p))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===i?!1:s?i?uo(s,i,u):!0:!!i;return!1}function uo(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const o=s[r];if(qi(t,e,o)&&!Cs(n,o))return!0}return!1}function qi(e,t,n){const s=e[n],r=t[n];return n==="style"&&ne(s)&&ne(r)?!yt(s,r):s!==r}function ha({vnode:e,parent:t,suspense:n},s){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.suspense.vnode.el=r.el=s,e=r),r===e)(e=t.vnode).el=s,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=s)}const $i={},Ki=()=>Object.create($i),Gi=e=>Object.getPrototypeOf(e)===$i;function pa(e,t,n,s=!1){const r={},o=Ki();e.propsDefaults=Object.create(null),Wi(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:Ri(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function ga(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=Y(r),[c]=e.propsOptions;let u=!1;if((s||i>0)&&!(i&16)){if(i&8){const a=e.vnode.dynamicProps;for(let f=0;f<a.length;f++){let p=a[f];if(Cs(e.emitsOptions,p))continue;const g=t[p];if(c)if(te(o,p))g!==o[p]&&(o[p]=g,u=!0);else{const y=je(p);r[y]=ur(c,l,y,g,e,!1)}else g!==o[p]&&(o[p]=g,u=!0)}}}else{Wi(e,t,r,o)&&(u=!0);let a;for(const f in l)(!t||!te(t,f)&&((a=zt(f))===f||!te(t,a)))&&(c?n&&(n[f]!==void 0||n[a]!==void 0)&&(r[f]=ur(c,l,f,void 0,e,!0)):delete r[f]);if(o!==l)for(const f in o)(!t||!te(t,f))&&(delete o[f],u=!0)}u&&pt(e.attrs,"set","")}function Wi(e,t,n,s){const[r,o]=e.propsOptions;let i=!1,l;if(t)for(let c in t){if(bn(c))continue;const u=t[c];let a;r&&te(r,a=je(c))?!o||!o.includes(a)?n[a]=u:(l||(l={}))[a]=u:Cs(e.emitsOptions,c)||(!(c in s)||u!==s[c])&&(s[c]=u,i=!0)}if(o){const c=Y(n),u=l||oe;for(let a=0;a<o.length;a++){const f=o[a];n[f]=ur(r,c,f,u[f],e,!te(u,f))}}return i}function ur(e,t,n,s,r,o){const i=e[n];if(i!=null){const l=te(i,"default");if(l&&s===void 0){const c=i.default;if(i.type!==Function&&!i.skipFactory&&K(c)){const{propsDefaults:u}=r;if(n in u)s=u[n];else{const a=qn(r);s=u[n]=c.call(null,t),a()}}else s=c;r.ce&&r.ce._setProp(n,s)}i[0]&&(o&&!l?s=!1:i[1]&&(s===""||s===zt(n))&&(s=!0))}return s}const ma=new WeakMap;function Ji(e,t,n=!1){const s=n?ma:t.propsCache,r=s.get(e);if(r)return r;const o=e.props,i={},l=[];let c=!1;if(!K(e)){const a=f=>{c=!0;const[p,g]=Ji(f,t,!0);Ee(i,p),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!o&&!c)return ne(e)&&s.set(e,kt),kt;if(H(o))for(let a=0;a<o.length;a++){const f=je(o[a]);fo(f)&&(i[f]=oe)}else if(o)for(const a in o){const f=je(a);if(fo(f)){const p=o[a],g=i[f]=H(p)||K(p)?{type:p}:Ee({},p),y=g.type;let _=!1,x=!0;if(H(y))for(let R=0;R<y.length;++R){const S=y[R],I=K(S)&&S.name;if(I==="Boolean"){_=!0;break}else I==="String"&&(x=!1)}else _=K(y)&&y.name==="Boolean";g[0]=_,g[1]=x,(_||te(g,"default"))&&l.push(f)}}const u=[i,l];return ne(e)&&s.set(e,u),u}function fo(e){return e[0]!=="$"&&!bn(e)}const jr=e=>e==="_"||e==="_ctx"||e==="$stable",Dr=e=>H(e)?e.map(st):[st(e)],_a=(e,t,n)=>{if(t._n)return t;const s=Sn((...r)=>Dr(t(...r)),n);return s._c=!1,s},Qi=(e,t,n)=>{const s=e._ctx;for(const r in e){if(jr(r))continue;const o=e[r];if(K(o))t[r]=_a(r,o,s);else if(o!=null){const i=Dr(o);t[r]=()=>i}}},Yi=(e,t)=>{const n=Dr(t);e.slots.default=()=>n},Xi=(e,t,n)=>{for(const s in t)(n||!jr(s))&&(e[s]=t[s])},ya=(e,t,n)=>{const s=e.slots=Ki();if(e.vnode.shapeFlag&32){const r=t._;r?(Xi(s,t,n),n&&ri(s,"_",r,!0)):Qi(t,s)}else t&&Yi(e,t)},va=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=oe;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:Xi(r,t,n):(o=!t.$stable,Qi(t,r)),i=t}else t&&(Yi(e,t),i={default:1});if(o)for(const l in r)!jr(l)&&i[l]==null&&delete r[l]},Ie=Aa;function ba(e){return Ea(e)}function Ea(e,t){const n=bs();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:u,setElementText:a,parentNode:f,nextSibling:p,setScopeId:g=it,insertStaticContent:y}=e,_=(d,h,m,b=null,w=null,v=null,O=void 0,P=null,C=!!h.dynamicChildren)=>{if(d===h)return;d&&!dn(d,h)&&(b=E(d),Pe(d,w,v,!0),d=null),h.patchFlag===-2&&(C=!1,h.dynamicChildren=null),h.dynamicChildren&&d&&d.dynamicChildren&&d.dynamicChildren.hasOnce&&(h.dynamicChildren===kt&&(h.dynamicChildren=[]),h.dynamicChildren.hasOnce=!0);const{type:A,ref:z,shapeFlag:N}=h;switch(A){case Ps:x(d,h,m,b);break;case at:R(d,h,m,b);break;case Us:d==null&&S(h,m,b,O);break;case Le:U(d,h,m,b,w,v,O,P,C);break;default:N&1?D(d,h,m,b,w,v,O,P,C):N&6?de(d,h,m,b,w,v,O,P,C):(N&64||N&128)&&A.process(d,h,m,b,w,v,O,P,C,k)}z!=null&&w?An(z,d&&d.ref,v,h||d,!h):z==null&&d&&d.ref!=null&&An(d.ref,null,v,d,!0)},x=(d,h,m,b)=>{if(d==null)s(h.el=l(h.children),m,b);else{const w=h.el=d.el;h.children!==d.children&&u(w,h.children)}},R=(d,h,m,b)=>{d==null?s(h.el=c(h.children||""),m,b):h.el=d.el},S=(d,h,m,b)=>{[d.el,d.anchor]=y(d.children,h,m,b,d.el,d.anchor)},I=({el:d,anchor:h},m,b)=>{let w;for(;d&&d!==h;)w=p(d),s(d,m,b),d=w;s(h,m,b)},T=({el:d,anchor:h})=>{let m;for(;d&&d!==h;)m=p(d),r(d),d=m;r(h)},D=(d,h,m,b,w,v,O,P,C)=>{if(h.type==="svg"?O="svg":h.type==="math"&&(O="mathml"),d==null)X(h,m,b,w,v,O,P,C);else{const A=d.el&&d.el._isVueCE?d.el:null;try{A&&A._beginPatch(),V(d,h,w,v,O,P,C)}finally{A&&A._endPatch()}}},X=(d,h,m,b,w,v,O,P)=>{let C,A;const{props:z,shapeFlag:N,transition:F,dirs:q}=d;if(C=d.el=i(d.type,v,z&&z.is,z),N&8?a(C,d.children):N&16&&B(d.children,C,null,b,w,Bs(d,v),O,P),q&&jt(d,null,b,"created"),L(C,d,d.scopeId,O,b),z){for(const re in z)re!=="value"&&!bn(re)&&o(C,re,null,z[re],v,b);"value"in z&&o(C,"value",null,z.value,v),(A=z.onVnodeBeforeMount)&&et(A,b,d)}q&&jt(d,null,b,"beforeMount");const Q=wa(w,F);Q&&F.beforeEnter(C),s(C,h,m),((A=z&&z.onVnodeMounted)||Q||q)&&Ie(()=>{A&&et(A,b,d),Q&&F.enter(C),q&&jt(d,null,b,"mounted")},w)},L=(d,h,m,b,w)=>{if(m&&g(d,m),b)for(let v=0;v<b.length;v++)g(d,b[v]);if(w){let v=w.subTree;if(h===v||tl(v.type)&&(v.ssContent===h||v.ssFallback===h)){const O=w.vnode;L(d,O,O.scopeId,O.slotScopeIds,w.parent)}}},B=(d,h,m,b,w,v,O,P,C=0)=>{for(let A=C;A<d.length;A++){const z=d[A]=P?ht(d[A]):st(d[A]);_(null,z,h,m,b,w,v,O,P)}},V=(d,h,m,b,w,v,O)=>{const P=h.el=d.el;let{patchFlag:C,dynamicChildren:A,dirs:z}=h;C|=d.patchFlag&16;const N=d.props||oe,F=h.props||oe;let q;if(m&&Dt(m,!1),(q=F.onVnodeBeforeUpdate)&&et(q,m,h,d),z&&jt(h,d,m,"beforeUpdate"),m&&Dt(m,!0),A&&(!d.dynamicChildren||d.dynamicChildren.length!==A.length)&&(C=0,O=!1,A=null),(N.innerHTML&&F.innerHTML==null||N.textContent&&F.textContent==null)&&a(P,""),A?Z(d.dynamicChildren,A,P,m,b,Bs(h,w),v):O||G(d,h,P,null,m,b,Bs(h,w),v,!1),C>0){if(C&16)fe(P,N,F,m,w);else if(C&2&&N.class!==F.class&&o(P,"class",null,F.class,w),C&4&&o(P,"style",N.style,F.style,w),C&8){const Q=h.dynamicProps;for(let re=0;re<Q.length;re++){const se=Q[re],_e=N[se],we=F[se];(we!==_e||se==="value")&&o(P,se,_e,we,w,m)}}C&1&&d.children!==h.children&&a(P,h.children)}else!O&&A==null&&fe(P,N,F,m,w);((q=F.onVnodeUpdated)||z)&&Ie(()=>{q&&et(q,m,h,d),z&&jt(h,d,m,"updated")},b)},Z=(d,h,m,b,w,v,O)=>{for(let P=0;P<h.length;P++){const C=d[P],A=h[P],z=C.el&&(C.type===Le||!dn(C,A)||C.shapeFlag&198)?f(C.el):m;_(C,A,z,null,b,w,v,O,!0)}},fe=(d,h,m,b,w)=>{if(h!==m){if(h!==oe)for(const v in h)!bn(v)&&!(v in m)&&o(d,v,h[v],null,w,b);for(const v in m){if(bn(v))continue;const O=m[v],P=h[v];O!==P&&v!=="value"&&o(d,v,P,O,w,b)}"value"in m&&o(d,"value",h.value,m.value,w)}},U=(d,h,m,b,w,v,O,P,C)=>{const A=h.el=d?d.el:l(""),z=h.anchor=d?d.anchor:l("");let{patchFlag:N,dynamicChildren:F,slotScopeIds:q}=h;q&&(P=P?P.concat(q):q),d==null?(s(A,m,b),s(z,m,b),B(h.children||[],m,z,w,v,O,P,C)):N>0&&N&64&&F&&d.dynamicChildren&&d.dynamicChildren.length===F.length?(Z(d.dynamicChildren,F,m,w,v,O,P),(h.key!=null||w&&h===w.subTree)&&Lr(d,h,!0)):G(d,h,m,z,w,v,O,P,C)},de=(d,h,m,b,w,v,O,P,C)=>{h.slotScopeIds=P,d==null?h.shapeFlag&512?w.ctx.activate(h,m,b,O,C):me(h,m,b,w,v,O,C):$e(d,h,C)},me=(d,h,m,b,w,v,O)=>{const P=d.component=Ta(d,b,w);if(Rs(d)&&(P.ctx.renderer=k),Ia(P,!1,O),P.asyncDep){if(w&&w.registerDep(P,ie,O),!d.el){const C=P.subTree=ae(at);R(null,C,h,m),d.placeholder=C.el}}else ie(P,d,h,m,w,v,O)},$e=(d,h,m)=>{const b=h.component=d.component;if(da(d,h,m))if(b.asyncDep&&!b.asyncResolved){h.el=d.el,$(b,h,m);return}else b.next=h,b.update();else h.el=d.el,b.vnode=h},ie=(d,h,m,b,w,v,O)=>{const P=()=>{if(d.isMounted){let{next:N,bu:F,u:q,parent:Q,vnode:re}=d;{const Xe=Zi(d);if(Xe){N&&(N.el=re.el,$(d,N,O)),Xe.asyncDep.then(()=>{Ie(()=>{d.isUnmounted||A()},w)});return}}let se=N,_e;Dt(d,!1),N?(N.el=re.el,$(d,N,O)):N=re,F&&Xn(F),(_e=N.props&&N.props.onVnodeBeforeUpdate)&&et(_e,Q,N,re),Dt(d,!0);const we=ao(d),Ye=d.subTree;d.subTree=we,_(Ye,we,f(Ye.el),E(Ye),d,w,v),N.el=we.el,se===null&&ha(d,we.el),q&&Ie(q,w),(_e=N.props&&N.props.onVnodeUpdated)&&Ie(()=>et(_e,Q,N,re),w)}else{let N;const{el:F,props:q}=h,{bm:Q,m:re,parent:se,root:_e,type:we}=d,Ye=tn(h);Dt(d,!1),Q&&Xn(Q),!Ye&&(N=q&&q.onVnodeBeforeMount)&&et(N,se,h),Dt(d,!0);{_e.ce&&_e.ce._hasShadowRoot()&&_e.ce._injectChildStyle(we,d.parent?d.parent.type:void 0);const Xe=d.subTree=ao(d);_(null,Xe,m,b,d,w,v),h.el=Xe.el}if(re&&Ie(re,w),!Ye&&(N=q&&q.onVnodeMounted)){const Xe=h;Ie(()=>et(N,se,Xe),w)}(h.shapeFlag&256||se&&tn(se.vnode)&&se.vnode.shapeFlag&256)&&d.a&&Ie(d.a,w),d.isMounted=!0,h=m=b=null}};d.scope.on();const C=d.effect=new fi(P);d.scope.off();const A=d.update=C.run.bind(C),z=d.job=C.runIfDirty.bind(C);z.i=d,z.id=d.uid,C.scheduler=()=>Tr(z),Dt(d,!0),A()},$=(d,h,m)=>{h.component=d;const b=d.vnode.props;d.vnode=h,d.next=null,ga(d,h.props,b,m),va(d,h.children,m),vt(),Yr(d),bt()},G=(d,h,m,b,w,v,O,P,C=!1)=>{const A=d&&d.children,z=d?d.shapeFlag:0,N=h.children,{patchFlag:F,shapeFlag:q}=h;if(F>0){if(F&128){wt(A,N,m,b,w,v,O,P,C);return}else if(F&256){Ve(A,N,m,b,w,v,O,P,C);return}}q&8?(z&16&&Ue(A,w,v),N!==A&&a(m,N)):z&16?q&16?wt(A,N,m,b,w,v,O,P,C):Ue(A,w,v,!0):(z&8&&a(m,""),q&16&&B(N,m,b,w,v,O,P,C))},Ve=(d,h,m,b,w,v,O,P,C)=>{d=d||kt,h=h||kt;const A=d.length,z=h.length,N=Math.min(A,z);let F;for(F=0;F<N;F++){const q=h[F]=C?ht(h[F]):st(h[F]);_(d[F],q,m,null,w,v,O,P,C)}A>z?Ue(d,w,v,!0,!1,N):B(h,m,b,w,v,O,P,C,N)},wt=(d,h,m,b,w,v,O,P,C)=>{let A=0;const z=h.length;let N=d.length-1,F=z-1;for(;A<=N&&A<=F;){const q=d[A],Q=h[A]=C?ht(h[A]):st(h[A]);if(dn(q,Q))_(q,Q,m,null,w,v,O,P,C);else break;A++}for(;A<=N&&A<=F;){const q=d[N],Q=h[F]=C?ht(h[F]):st(h[F]);if(dn(q,Q))_(q,Q,m,null,w,v,O,P,C);else break;N--,F--}if(A>N){if(A<=F){const q=F+1,Q=q<z?h[q].el:b;for(;A<=F;)_(null,h[A]=C?ht(h[A]):st(h[A]),m,Q,w,v,O,P,C),A++}}else if(A>F)for(;A<=N;)Pe(d[A],w,v,!0),A++;else{const q=A,Q=A,re=new Map;for(A=Q;A<=F;A++){const ke=h[A]=C?ht(h[A]):st(h[A]);ke.key!=null&&re.set(ke.key,A)}let se,_e=0;const we=F-Q+1;let Ye=!1,Xe=0;const un=new Array(we);for(A=0;A<we;A++)un[A]=0;for(A=q;A<=N;A++){const ke=d[A];if(_e>=we){Pe(ke,w,v,!0);continue}let Ze;if(ke.key!=null)Ze=re.get(ke.key);else for(se=Q;se<=F;se++)if(un[se-Q]===0&&dn(ke,h[se])){Ze=se;break}Ze===void 0?Pe(ke,w,v,!0):(un[Ze-Q]=A+1,Ze>=Xe?Xe=Ze:Ye=!0,_(ke,h[Ze],m,null,w,v,O,P,C),_e++)}const Ur=Ye?Sa(un):kt;for(se=Ur.length-1,A=we-1;A>=0;A--){const ke=Q+A,Ze=h[ke],zr=h[ke+1],qr=ke+1<z?zr.el||el(zr):b;un[A]===0?_(null,Ze,m,qr,w,v,O,P,C):Ye&&(se<0||A!==Ur[se]?Qe(Ze,m,qr,2):se--)}}},Qe=(d,h,m,b,w=null)=>{const{el:v,type:O,transition:P,children:C,shapeFlag:A}=d;if(A&6){Qe(d.component.subTree,h,m,b);return}if(A&128){d.suspense.move(h,m,b);return}if(A&64){O.move(d,h,m,k);return}if(O===Le){s(v,h,m);for(let N=0;N<C.length;N++)Qe(C[N],h,m,b);s(d.anchor,h,m);return}if(O===Us){I(d,h,m);return}if(b!==2&&A&1&&P)if(b===0)P.persisted&&!v[Fs]?s(v,h,m):(P.beforeEnter(v),s(v,h,m),Ie(()=>P.enter(v),w));else{const{leave:N,delayLeave:F,afterLeave:q}=P,Q=()=>{d.ctx.isUnmounted?r(v):s(v,h,m)},re=()=>{const se=v._isLeaving||!!v[Fs];v._isLeaving&&v[Fs](!0),P.persisted&&!se?Q():N(v,()=>{Q(),q&&q()})};F?F(v,Q,re):re()}else s(v,h,m)},Pe=(d,h,m,b=!1,w=!1)=>{const{type:v,props:O,ref:P,children:C,dynamicChildren:A,shapeFlag:z,patchFlag:N,dirs:F,cacheIndex:q,memo:Q}=d;if((N===-2||A&&A.hasOnce)&&(w=!1),P!=null&&(vt(),An(P,null,m,d,!0),bt()),q!=null&&(!d.ctx||d.ctx===h)&&(h.renderCache[q]=void 0),z&256){h.ctx.deactivate(d);return}const re=z&1&&F,se=!tn(d);let _e;if(se&&(_e=O&&O.onVnodeBeforeUnmount)&&et(_e,h,d),z&6)Nt(d.component,m,b);else{if(z&128){d.suspense.unmount(m,b);return}re&&jt(d,null,h,"beforeUnmount"),z&64?d.type.remove(d,h,m,k,b):A&&!A.hasOnce&&(v!==Le||N>0&&N&64)?Ue(A,h,m,!1,!0):(v===Le&&N&384||!w&&z&16)&&Ue(C,h,m),b&&qt(d)}const we=Q!=null&&q==null;(se&&(_e=O&&O.onVnodeUnmounted)||re||we)&&Ie(()=>{_e&&et(_e,h,d),re&&jt(d,null,h,"unmounted"),we&&(d.el=null)},m)},qt=d=>{const{type:h,el:m,anchor:b,transition:w}=d;if(h===Le){$t(m,b);return}if(h===Us){T(d),w&&!w.persisted&&w.afterLeave&&w.afterLeave();return}const v=()=>{r(m),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(d.shapeFlag&1&&w&&!w.persisted){const{leave:O,delayLeave:P}=w,C=()=>O(m,v);P?P(d.el,v,C):C()}else v()},$t=(d,h)=>{let m;for(;d!==h;)m=p(d),r(d),d=m;r(h)},Nt=(d,h,m)=>{const{bum:b,scope:w,job:v,subTree:O,um:P,m:C,a:A}=d;ho(C),ho(A),b&&Xn(b),w.stop(),v?(v.flags|=8,Pe(O,d,h,m)):d.vnode.el&&O&&(O.transition=d.vnode.transition,Pe(O,d,h,m)),P&&Ie(P,h),Ie(()=>{d.isUnmounted=!0},h)},Ue=(d,h,m,b=!1,w=!1,v=0)=>{for(let O=v;O<d.length;O++)Pe(d[O],h,m,b,w)},E=d=>{if(d.shapeFlag&6)return E(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const h=p(d.anchor||d.el),m=h&&h[Di];return m?p(m):h};let j=!1;const M=(d,h,m)=>{let b;d==null?h._vnode&&(Pe(h._vnode,null,null,!0),b=h._vnode.component):_(h._vnode||null,d,h,null,null,null,m),h._vnode=d,j||(j=!0,Yr(b),Ti(),j=!1)},k={p:_,um:Pe,m:Qe,r:qt,mt:me,mc:B,pc:G,pbc:Z,n:E,o:e};return{render:M,hydrate:void 0,createApp:ia(M)}}function Bs({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Dt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function wa(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Lr(e,t,n=!1){const s=e.children,r=t.children;if(H(s)&&H(r))for(let o=0;o<s.length;o++){const i=s[o];let l=r[o];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[o]=ht(r[o]),l.el=i.el),!n&&l.patchFlag!==-2&&Lr(i,l)),l.type===Ps&&(l.patchFlag===-1&&(l=r[o]=ht(l)),l.el=i.el),l.type===at&&!l.el&&(l.el=i.el)}}function Sa(e){const t=e.slice(),n=[0];let s,r,o,i,l;const c=e.length;for(s=0;s<c;s++){const u=e[s];if(u!==0){if(r=n[n.length-1],e[r]<u){t[s]=r,n.push(s);continue}for(o=0,i=n.length-1;o<i;)l=o+i>>1,e[n[l]]<u?o=l+1:i=l;u<e[n[o]]&&(o>0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Zi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Zi(t)}function ho(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function el(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?el(t.subTree):null}const tl=e=>e.__isSuspense;function Aa(e,t){t&&t.pendingBranch?H(e)?t.effects.push(...e):t.effects.push(e):xc(e)}const Le=Symbol.for("v-fgt"),Ps=Symbol.for("v-txt"),at=Symbol.for("v-cmt"),Us=Symbol.for("v-stc"),mt=[];let Fe=null;function Ke(e=!1){mt.push(Fe=e?null:[])}function Vr(){mt.pop(),Fe=mt[mt.length-1]||null}let jn=1;function as(e,t=!1){jn+=e,e<0&&Fe&&t&&(Fe.hasOnce=!0)}function nl(e){return e.dynamicChildren=jn>0?Fe||kt:null,Vr(),jn>0&&Fe&&Fe.push(e),e}function Yt(e,t,n,s,r,o){return nl(Re(e,t,n,s,r,o,!0))}function Dn(e,t,n,s,r){return nl(ae(e,t,n,s,r,!0))}function Ln(e){return e?e.__v_isVNode===!0:!1}function dn(e,t){return e.type===t.type&&e.key===t.key}const sl=({key:e})=>e??null,es=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ue(e)||ge(e)||K(e)?{i:Ae,r:e,k:t,f:!!n}:e:null);function Re(e,t=null,n=null,s=0,r=null,o=e===Le?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&sl(t),ref:t&&es(t),scopeId:Mi,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Ae};return l?(us(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=ue(n)?8:16),jn>0&&!i&&Fe&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Fe.push(c),c}const ae=Ra;function Ra(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Qc)&&(e=at),Ln(e)){const l=nn(e,t,!0);return n&&us(l,n),jn>0&&!o&&Fe&&(l.shapeFlag&6?Fe[Fe.indexOf(e)]=l:Fe.push(l)),l.patchFlag=-2,l}if(La(e)&&(e=e.__vccOpts),t){t=xa(t);let{class:l,style:c}=t;l&&!ue(l)&&(t.class=Tn(l)),ne(c)&&(ws(c)&&!H(c)&&(c=Ee({},c)),t.style=Er(c))}const i=ue(e)?1:tl(e)?128:As(e)?64:ne(e)?4:K(e)?2:0;return Re(e,t,n,s,r,i,o,!0)}function xa(e){return e?ws(e)||Gi(e)?Ee({},e):e:null}function nn(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:c}=e,u=t?Ca(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&sl(u),ref:t&&t.ref?n&&o?H(o)?o.concat(es(t)):[o,es(t)]:es(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Le?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&nn(e.ssContent),ssFallback:e.ssFallback&&nn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce,cacheIndex:e.cacheIndex};return c&&s&&Ir(a,c.clone(a)),a}function fr(e=" ",t=0){return ae(Ps,null,e,t)}function po(e="",t=!1){return t?(Ke(),Dn(at,null,e)):ae(at,null,e)}function st(e){return e==null||typeof e=="boolean"?ae(at):H(e)?ae(Le,null,e.slice()):Ln(e)?ht(e):ae(Ps,null,String(e))}function ht(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nn(e)}function us(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(H(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),us(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Gi(t)?t._ctx=Ae:r===3&&Ae&&(Ae.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(K(t)){if(s&65){us(e,{default:t});return}t={default:t,_ctx:Ae},n=32}else t=String(t),s&64?(n=16,t=[fr(t)]):n=8;e.children=t,e.shapeFlag|=n}function Ca(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=Tn([t.class,s.class]));else if(r==="style")t.style=Er([t.style,s.style]);else if(ps(r)){const o=t[r],i=s[r];i&&o!==i&&!(H(o)&&o.includes(i))?t[r]=o?[].concat(o,i):i:i==null&&o==null&&!gs(r)&&(t[r]=i)}else r!==""&&(t[r]=s[r])}return t}function et(e,t,n,s=null){We(e,t,7,[n,s])}const Pa=Ui();let Oa=0;function Ta(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Pa,o={uid:Oa++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ci(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ji(s,r),emitsOptions:zi(s,r),emit:null,emitted:null,propsDefaults:oe,inheritAttrs:s.inheritAttrs,ctx:oe,data:oe,props:oe,attrs:oe,slots:oe,refs:oe,setupState:oe,setupContext:null,suspense:n,suspenseId:n?n.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=ca.bind(null,o),e.ce&&e.ce(o),o}let Se=null;const rl=()=>Se||Ae;let fs,Vn;{const e=bs(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};fs=t("__VUE_INSTANCE_SETTERS__",n=>Se=n),Vn=t("__VUE_SSR_SETTERS__",n=>sn=n)}const qn=e=>{const t=Se;return fs(e),e.scope.on(),()=>{e.scope.off(),fs(t)}},go=()=>{Se&&Se.scope.off(),fs(null)};function ol(e){return e.vnode.shapeFlag&4}let sn=!1;function Ia(e,t=!1,n=!1){t&&Vn(t);const{props:s,children:r}=e.vnode,o=ol(e);pa(e,s,o,t),ya(e,r,n||t);const i=o?Ma(e,t):void 0;return t&&Vn(!1),i}function Ma(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Zc);const{setup:s}=n;if(s){vt();const r=e.setupContext=s.length>1?ja(e):null,o=qn(e),i=Un(s,e,0,[e.props,r]),l=ti(i);if(bt(),o(),(l||e.sp)&&!tn(e)&&Mr(e),l){if(i.then(go,go),t)return i.then(c=>{Vn(!0);try{mo(e,c,t)}finally{Vn(!1)}}).catch(c=>{zn(c,e,0)});e.asyncDep=i}else mo(e,i)}else il(e)}function mo(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ne(t)&&(e.setupState=Ci(t)),il(e)}function il(e,t,n){const s=e.type;e.render||(e.render=s.render||it);{const r=qn(e);vt();try{ea(e)}finally{bt(),r()}}}const Na={get(e,t){return Ce(e,"get",""),e[t]}};function ja(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Na),slots:e.slots,emit:e.emit,expose:t}}function Os(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ci(Or(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Rn)return Rn[n](e)},has(t,n){return n in t||n in Rn}})):e.proxy}function Da(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function La(e){return K(e)&&"__vccOpts"in e}const W=(e,t)=>Ec(e,t,sn);function ll(e,t,n){try{as(-1);const s=arguments.length;return s===2?ne(t)&&!H(t)?Ln(t)?ae(e,null,[t]):ae(e,t):ae(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Ln(n)&&(n=[n]),ae(e,t,n))}finally{as(1)}}const Va="3.5.43";let dr;const _o=typeof window<"u"&&window.trustedTypes;if(_o)try{dr=_o.createPolicy("vue",{createHTML:e=>e})}catch{}const cl=dr?e=>dr.createHTML(e):e=>e,ka="http://www.w3.org/2000/svg",Fa="http://www.w3.org/1998/Math/MathML",dt=typeof document<"u"?document:null,yo=dt&&dt.createElement("template"),Ha={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?dt.createElementNS(ka,e):t==="mathml"?dt.createElementNS(Fa,e):n?dt.createElement(e,{is:n}):dt.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>dt.createTextNode(e),createComment:e=>dt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>dt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{yo.innerHTML=cl(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=yo.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ba=Symbol("_vtc");function Ua(e,t,n){const s=e[Ba];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ds=Symbol("_vod"),al=Symbol("_vsh"),za={name:"show",beforeMount(e,{value:t},{transition:n}){e[ds]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):hn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),hn(e,!0),s.enter(e)):s.leave(e,()=>{hn(e,!1)}):hn(e,t))},beforeUnmount(e,{value:t}){hn(e,t)}};function hn(e,t){e.style.display=t?e[ds]:"none",e[al]=!t}const qa=Symbol(""),$a=/(?:^|;)\s*display\s*:/;function Ka(e,t,n){const s=e.style,r=ue(n);let o=!1;if(n&&!r){if(t)if(ue(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&vn(s,l,"")}else for(const i in t)n[i]==null&&vn(s,i,"");for(const i in n){i==="display"&&(o=!0);const l=n[i];l!=null?Wa(e,i,!ue(t)&&t?t[i]:void 0,l)||vn(s,i,l):vn(s,i,"")}}else if(r){if(t!==n){const i=s[qa];i&&(n+=";"+i),s.cssText=n,o=$a.test(n)}}else t&&e.removeAttribute("style");ds in e&&(e[ds]=o?s.display:"",e[al]&&(s.display="none"))}const Qn=/\s*!important$/;function vn(e,t,n){if(H(n))n.forEach(s=>vn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))Qn.test(n)?e.setProperty(t,n.replace(Qn,""),"important"):e.setProperty(t,n);else{const s=Ga(e,t);Qn.test(n)?e.setProperty(zt(s),n.replace(Qn,""),"important"):e[s]=n}}const vo=["Webkit","Moz","ms"],zs={};function Ga(e,t){const n=zs[t];if(n)return n;let s=je(t);if(s!=="filter"&&s in e)return zs[t]=s;s=ys(s);for(let r=0;r<vo.length;r++){const o=vo[r]+s;if(o in e)return zs[t]=o}return t}function Wa(e,t,n,s){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&ue(s)&&n===s}const bo="http://www.w3.org/1999/xlink";function Eo(e,t,n,s,r,o=Gl(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(bo,t.slice(6,t.length)):e.setAttributeNS(bo,t,n):n==null||o&&!oi(n)?e.removeAttribute(t):e.setAttribute(t,o?"":Be(n)?String(n):n)}function wo(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?cl(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const l=o==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=oi(n):n==null&&l==="string"?(n="",i=!0):l==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(r||t)}function Tt(e,t,n,s){e.addEventListener(t,n,s)}function Ja(e,t,n,s){e.removeEventListener(t,n,s)}const So=Symbol("_vei");function Qa(e,t,n,s,r=null){const o=e[So]||(e[So]={}),i=o[t];if(s&&i)i.value=s;else{const[l,c]=Za(t);if(s){const u=o[t]=nu(s,r);Tt(e,l,u,c)}else i&&(Ja(e,l,i,c),o[t]=void 0)}}const Ya=/(Once|Passive|Capture)$/,Xa=/^on:?(?:Once|Passive|Capture)$/;function Za(e){let t,n;for(;(n=e.match(Ya))&&!Xa.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):zt(e.slice(2)),t]}let qs=0;const eu=Promise.resolve(),tu=()=>qs||(eu.then(()=>qs=0),qs=Date.now());function nu(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;const r=n.value;if(H(r)){const o=s.stopImmediatePropagation;s.stopImmediatePropagation=()=>{o.call(s),s._stopped=!0};const i=r.slice(),l=[s];for(let c=0;c<i.length&&!s._stopped;c++){const u=i[c];u&&We(u,t,5,l)}}else We(r,t,5,[s])};return n.value=e,n.attached=tu(),n}const Ao=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,su=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?Ua(e,s,i):t==="style"?Ka(e,n,s):ps(t)?gs(t)||Qa(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ru(e,t,s,i))?(wo(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Eo(e,t,s,i,o,t!=="value")):e._isVueCE&&(ou(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!ue(s)))?wo(e,je(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Eo(e,t,s,i))};function ru(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ao(t)&&K(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Ao(t)&&ue(n)?!1:t in e}function ou(e,t){const n=e._def.props;if(!n)return!1;const s=je(t);return Array.isArray(n)?n.some(r=>je(r)===s):Object.keys(n).some(r=>je(r)===s)}const rn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return H(t)?n=>Xn(t,n):t};function iu(e){e.target.composing=!0}function Ro(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ot=Symbol("_assign"),Yn=Symbol("_initialValue");function $s(e,t,n){return t&&(e=e.trim()),n&&(e=vs(e)),e}const nd={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e.parentNode&&(e.type==="text"?e[Yn]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[Yn]=e.defaultValue.replace(/\r\n?/g,`
|
|
`))),e[ot]=rn(r);const o=s||r.props&&r.props.type==="number";Tt(e,t?"change":"input",i=>{i.target.composing||e[ot]($s(e.value,n,o))}),(n||o)&&Tt(e,"change",()=>{e.value=$s(e.value,n,o)}),t||(Tt(e,"compositionstart",iu),Tt(e,"compositionend",Ro),Tt(e,"change",Ro))},mounted(e,{value:t,modifiers:{trim:n,number:s}}){const r=t??"",o=e[Yn];delete e[Yn],o!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==o?e[ot]($s(e.value,n,s)):e.value=r},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[ot]=rn(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?vs(e.value):e.value,c=t??"";if(l===c)return;const u=e.getRootNode();(u instanceof Document||u instanceof ShadowRoot)&&u.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c)}},sd={deep:!0,created(e,t,n){e[ot]=rn(n),Tt(e,"change",()=>{const s=e._modelValue,r=kn(e),o=e.checked,i=e[ot];if(H(s)){const l=wr(s,r),c=l!==-1;if(o&&!c)i(s.concat(r));else if(!o&&c){const u=[...s];u.splice(l,1),i(u)}}else if(_t(s)){const l=new Set(s);o?l.add(r):l.delete(r),i(l)}else i(ul(e,o))})},mounted:xo,beforeUpdate(e,t,n){e[ot]=rn(n),xo(e,t,n)}};function xo(e,{value:t,oldValue:n},s){e._modelValue=t;let r;if(H(t))r=wr(t,s.props.value)>-1;else if(_t(t))r=t.has(s.props.value);else{if(t===n)return;r=yt(t,ul(e,!0))}e.checked!==r&&(e.checked=r)}const rd={deep:!0,created(e,{value:t,modifiers:{number:n}},s){e._modelValue=t,Tt(e,"change",()=>{const r=Array.prototype.filter.call(e.options,c=>c.selected).map(c=>n?vs(kn(c)):kn(c)),o=e.multiple,i=o?_t(e._modelValue)?new Set(r):r:r[0],l=e._pendingValue=[o,o?H(i)?r.slice():r:i];try{e[ot](i)}finally{Ss(()=>{e._pendingValue===l&&(e._pendingValue=void 0)})}}),e[ot]=rn(s)},mounted(e,{value:t}){Co(e,t)},beforeUpdate(e,{value:t},n){e._modelValue=t,e[ot]=rn(n)},updated(e,{value:t}){const n=e._pendingValue;e._pendingValue=void 0,(!n||n[0]!==e.multiple||!lu(t,n[1],n[0]))&&Co(e,t)}};function lu(e,t,n){if(!n||H(e))return yt(e,t);if(_t(e)){if(e.size!==t.length)return!1;for(const s of t)if(!e.has(s))return!1;return!0}return!1}function Co(e,t){const n=e.multiple,s=H(t);if(!(n&&!s&&!_t(t))){for(let r=0,o=e.options.length;r<o;r++){const i=e.options[r],l=kn(i);if(n)if(s){const c=typeof l;c==="string"||c==="number"?i.selected=t.some(u=>String(u)===String(l)):i.selected=wr(t,l)>-1}else i.selected=t.has(l);else if(yt(kn(i),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function kn(e){return"_value"in e?e._value:e.value}function ul(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const cu=["ctrl","shift","alt","meta"],au={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>cu.some(n=>e[`${n}Key`]&&!t.includes(n))},od=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((r,...o)=>{for(let i=0;i<t.length;i++){const l=au[t[i]];if(l&&l(r,t))return}return e(r,...o)}))},uu=Ee({patchProp:su},Ha);let Po;function fu(){return Po||(Po=ba(uu))}const du=((...e)=>{const t=fu().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=pu(s);if(!r)return;const o=t._component;!K(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,hu(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t});function hu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function pu(e){return ue(e)?document.querySelector(e):e}let fl;const Ts=e=>fl=e,dl=Symbol();function hr(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var xn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(xn||(xn={}));function gu(){const e=ai(!0),t=e.run(()=>be({}));let n=[],s=[];const r=Or({install(o){Ts(r),r._a=o,o.provide(dl,r),o.config.globalProperties.$pinia=r,s.forEach(i=>n.push(i)),s=[]},use(o){return this._a?n.push(o):s.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const hl=()=>{};function Oo(e,t,n,s=hl){e.add(t);const r=()=>{e.delete(t)&&s()};return!n&&ui()&&Ql(r),r}function Wt(e,...t){e.forEach(n=>{n(...t)})}const mu=e=>e(),To=Symbol(),Ks=Symbol();function pr(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];hr(r)&&hr(s)&&e.hasOwnProperty(n)&&!ge(s)&&!lt(s)?e[n]=pr(r,s):e[n]=s}return e}const _u=Symbol();function yu(e){return!hr(e)||!Object.prototype.hasOwnProperty.call(e,_u)}const{assign:xt}=Object;function vu(e){return!!(ge(e)&&e.effect)}function bu(e,t,n,s){const{state:r,actions:o,getters:i}=t,l=n.state.value[e];let c;function u(){l||(n.state.value[e]=r?r():{});const a=_c(n.state.value[e]);return xt(a,o,Object.keys(i||{}).reduce((f,p)=>(f[p]=Or(W(()=>{Ts(n);const g=n._s.get(e);return i[p].call(g,g)})),f),{}))}return c=pl(e,u,t,n,s,!0),c}function pl(e,t,n={},s,r,o){let i;const l=xt({actions:{}},n),c={deep:!0};let u,a,f=new Set,p=new Set,g;const y=s.state.value[e];!o&&!y&&(s.state.value[e]={});let _;function x(B){let V;u=a=!1,typeof B=="function"?(B(s.state.value[e]),V={type:xn.patchFunction,storeId:e,events:g}):(pr(s.state.value[e],B),V={type:xn.patchObject,payload:B,storeId:e,events:g});const Z=_=Symbol();Ss().then(()=>{_===Z&&(u=!0)}),a=!0,Wt(f,V,s.state.value[e])}const R=o?function(){const{state:V}=n,Z=V?V():{};this.$patch(fe=>{xt(fe,Z)})}:hl;function S(){i.stop(),f.clear(),p.clear(),s._s.delete(e)}const I=(B,V="")=>{if(To in B)return B[Ks]=V,B;const Z=function(){Ts(s);const fe=Array.from(arguments),U=new Set,de=new Set;function me($){U.add($)}function $e($){de.add($)}Wt(p,{args:fe,name:Z[Ks],store:D,after:me,onError:$e});let ie;try{ie=B.apply(this&&this.$id===e?this:D,fe)}catch($){throw Wt(de,$),$}return ie instanceof Promise?ie.then($=>(Wt(U,$),$)).catch($=>(Wt(de,$),Promise.reject($))):(Wt(U,ie),ie)};return Z[To]=!0,Z[Ks]=V,Z},T={_p:s,$id:e,$onAction:Oo.bind(null,p),$patch:x,$reset:R,$subscribe(B,V={}){const Z=Oo(f,B,V.detached,()=>fe()),fe=i.run(()=>en(()=>s.state.value[e],U=>{(V.flush==="sync"?a:u)&&B({storeId:e,type:xn.direct,events:g},U)},xt({},c,V)));return Z},$dispose:S},D=Bn(T);s._s.set(e,D);const L=(s._a&&s._a.runWithContext||mu)(()=>s._e.run(()=>(i=ai()).run(()=>t({action:I}))));for(const B in L){const V=L[B];if(ge(V)&&!vu(V)||lt(V))o||(y&&yu(V)&&(ge(V)?V.value=y[B]:pr(V,y[B])),s.state.value[e][B]=V);else if(typeof V=="function"){const Z=I(V,B);L[B]=Z,l.actions[B]=V}}return xt(D,L),xt(Y(D),L),Object.defineProperty(D,"$state",{get:()=>s.state.value[e],set:B=>{x(V=>{xt(V,B)})}}),s._p.forEach(B=>{xt(D,i.run(()=>B({store:D,app:s._a,pinia:s,options:l})))}),y&&o&&n.hydrate&&n.hydrate(D.$state,y),u=!0,a=!0,D}function an(e,t,n){let s;const r=typeof t=="function";s=r?n:t;function o(i,l){const c=Pc();return i=i||(c?ze(dl,null):null),i&&Ts(i),i=fl,i._s.has(e)||(r?pl(e,t,s,i):bu(e,s,i)),i._s.get(e)}return o.$id=e,o}const id=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),ld=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),cd=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),ad=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));const Xt=typeof document<"u";function gl(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Eu(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&gl(e.default)}const ee=Object.assign;function Gs(e,t){const n={};for(const s in t){const r=t[s];n[s]=Je(r)?r.map(e):e(r)}return n}const Cn=()=>{},Je=Array.isArray;function Io(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const ml=/#/g,wu=/&/g,Su=/\//g,Au=/=/g,Ru=/\?/g,_l=/\+/g,xu=/%5B/g,Cu=/%5D/g,yl=/%5E/g,Pu=/%60/g,vl=/%7B/g,Ou=/%7C/g,bl=/%7D/g,Tu=/%20/g;function kr(e){return e==null?"":encodeURI(""+e).replace(Ou,"|").replace(xu,"[").replace(Cu,"]")}function Iu(e){return kr(e).replace(vl,"{").replace(bl,"}").replace(yl,"^")}function gr(e){return kr(e).replace(_l,"%2B").replace(Tu,"+").replace(ml,"%23").replace(wu,"%26").replace(Pu,"`").replace(vl,"{").replace(bl,"}").replace(yl,"^")}function Mu(e){return gr(e).replace(Au,"%3D")}function Nu(e){return kr(e).replace(ml,"%23").replace(Ru,"%3F")}function ju(e){return Nu(e).replace(Su,"%2F")}function Fn(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const Du=/\/$/,Lu=e=>e.replace(Du,"");function Ws(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return c=l>=0&&c>l?-1:c,c>=0&&(s=t.slice(0,c),o=t.slice(c,l>0?l:t.length),r=e(o.slice(1))),l>=0&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=Hu(s??t,n),{fullPath:s+o+i,path:s,query:r,hash:Fn(i)}}function Vu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Mo(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function ku(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&on(t.matched[s],n.matched[r])&&El(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function on(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function El(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Fu(e[n],t[n]))return!1;return!0}function Fu(e,t){return Je(e)?No(e,t):Je(t)?No(t,e):e?.valueOf()===t?.valueOf()}function No(e,t){return Je(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Hu(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,l;for(i=0;i<s.length;i++)if(l=s[i],l!==".")if(l==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const St={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let mr=(function(e){return e.pop="pop",e.push="push",e})({}),Js=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function Bu(e){if(!e)if(Xt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Lu(e)}const Uu=/^[^#]+#/;function zu(e,t){return e.replace(Uu,"#")+t}function qu(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Is=()=>({left:window.scrollX,top:window.scrollY});function $u(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=qu(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function jo(e,t){return(history.state?history.state.position-t:-1)+e}const _r=new Map;function Ku(e,t){_r.set(e,t)}function Gu(e){const t=_r.get(e);return _r.delete(e),t}function Wu(e){return typeof e=="string"||e&&typeof e=="object"}function wl(e){return typeof e=="string"||typeof e=="symbol"}let pe=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const Sl=Symbol("");pe.MATCHER_NOT_FOUND+"",pe.NAVIGATION_GUARD_REDIRECT+"",pe.NAVIGATION_ABORTED+"",pe.NAVIGATION_CANCELLED+"",pe.NAVIGATION_DUPLICATED+"";function ln(e,t){return ee(new Error,{type:e,[Sl]:!0},t)}function ft(e,t){return e instanceof Error&&Sl in e&&(t==null||!!(e.type&t))}const Ju=["params","query","hash"];function Qu(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Ju)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function Yu(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 r=n[s].replace(_l," "),o=r.indexOf("="),i=Fn(o<0?r:r.slice(0,o)),l=o<0?null:Fn(r.slice(o+1));if(i in t){let c=t[i];Je(c)||(c=t[i]=[c]),c.push(l)}else t[i]=l}return t}function Do(e){let t="";for(let n in e){const s=e[n];if(n=Mu(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Je(s)?s.map(r=>r&&gr(r)):[s&&gr(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function Xu(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Je(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Zu=Symbol(""),Lo=Symbol(""),Ms=Symbol(""),Fr=Symbol(""),yr=Symbol("");function pn(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ot(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const u=p=>{p===!1?c(ln(pe.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?c(p):Wu(p)?c(ln(pe.NAVIGATION_GUARD_REDIRECT,{from:t,to:p})):(i&&s.enterCallbacks[r]===i&&typeof p=="function"&&i.push(p),l())},a=o(()=>e.call(s&&s.instances[r],t,n,u));let f=Promise.resolve(a);e.length<3&&(f=f.then(u)),f.catch(p=>c(p))})}function Qs(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(gl(c)){const u=(c.__vccOpts||c)[t];u&&o.push(Ot(u,n,s,i,l,r))}else{let u=c();o.push(()=>u.then(a=>{if(!a)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const f=Eu(a)?a.default:a;i.mods[l]=a,i.components[l]=f;const p=(f.__vccOpts||f)[t];return p&&Ot(p,n,s,i,l,r)()}))}}return o}function ef(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const l=t.matched[i];l&&(e.matched.find(u=>on(u,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(u=>on(u,c))||r.push(c))}return[n,s,r]}let tf=()=>location.protocol+"//"+location.host;function Al(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let i=r.includes(e.slice(o))?e.slice(o).length:1,l=r.slice(i);return l[0]!=="/"&&(l="/"+l),Mo(l,"")}return Mo(n,e)+s+r}function nf(e,t,n,s){let r=[],o=[],i=null;const l=({state:p})=>{const g=Al(e,location),y=n.value,_=t.value;let x=0;if(p){if(n.value=g,t.value=p,i&&i===y){i=null;return}x=_?p.position-_.position:0}else s(g);r.forEach(R=>{R(n.value,y,{delta:x,type:mr.pop,direction:x?x>0?Js.forward:Js.back:Js.unknown})})};function c(){i=n.value}function u(p){r.push(p);const g=()=>{const y=r.indexOf(p);y>-1&&r.splice(y,1)};return o.push(g),g}function a(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(ee({},p.state,{scroll:Is()}),"")}}function f(){for(const p of o)p();o=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",a),document.removeEventListener("visibilitychange",a)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",a),document.addEventListener("visibilitychange",a),{pauseListeners:c,listen:u,destroy:f}}function Vo(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Is():null}}function sf(e){const{history:t,location:n}=window,s={value:Al(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,u,a){const f=e.indexOf("#"),p=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:tf()+e+c;try{t[a?"replaceState":"pushState"](u,"",p),r.value=u}catch(g){console.error(g),n[a?"replace":"assign"](p)}}function i(c,u){o(c,ee({},t.state,Vo(r.value.back,c,r.value.forward,!0),u,{position:r.value.position}),!0),s.value=c}function l(c,u){const a=ee({},r.value,t.state,{forward:c,scroll:Is()});o(a.current,a,!0),o(c,ee({},Vo(s.value,c,null),{position:a.position+1},u),!1),s.value=c}return{location:s,state:r,push:l,replace:i}}function rf(e){e=Bu(e);const t=sf(e),n=nf(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=ee({location:"",base:e,go:s,createHref:zu.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}let Ft=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var ye=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(ye||{});const of={type:Ft.Static,value:""},lf=/[a-zA-Z0-9_]/;function cf(e){if(!e)return[[]];if(e==="/")return[[of]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${u}": ${g}`)}let n=ye.Static,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,c,u="",a="";function f(){u&&(n===ye.Static?o.push({type:Ft.Static,value:u}):n===ye.Param||n===ye.ParamRegExp||n===ye.ParamRegExpEnd?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:Ft.Param,value:u,regexp:a,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function p(){u+=c}for(;l<e.length;){if(c=e[l++],c==="\\"&&n!==ye.ParamRegExp){s=n,n=ye.EscapeNext;continue}switch(n){case ye.Static:c==="/"?(u&&f(),i()):c===":"?(f(),n=ye.Param):p();break;case ye.EscapeNext:p(),n=s;break;case ye.Param:c==="("?n=ye.ParamRegExp:lf.test(c)?p():(f(),n=ye.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--);break;case ye.ParamRegExp:c===")"?a[a.length-1]=="\\"?a=a.slice(0,-1)+c:n=ye.ParamRegExpEnd:a+=c;break;case ye.ParamRegExpEnd:f(),n=ye.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--,a="";break;default:t("Unknown state");break}}return n===ye.ParamRegExp&&t(`Unfinished custom RegExp for param "${u}"`),f(),i(),r}const ko="[^/]+?",af={sensitive:!1,strict:!1,start:!0,end:!0};var Me=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(Me||{});const uf=/[.+*?^${}()[\]/\\]/g;function ff(e,t){const n=ee({},af,t),s=[];let r=n.start?"^":"";const o=[];for(const u of e){const a=u.length?[]:[Me.Root];n.strict&&!u.length&&(r+="/");for(let f=0;f<u.length;f++){const p=u[f];let g=Me.Segment+(n.sensitive?Me.BonusCaseSensitive:0);if(p.type===Ft.Static)f||(r+="/"),r+=p.value.replace(uf,"\\$&"),g+=Me.Static;else if(p.type===Ft.Param){const{value:y,repeatable:_,optional:x,regexp:R}=p;o.push({name:y,repeatable:_,optional:x});const S=R||ko;if(S!==ko){g+=Me.BonusCustomRegExp;try{`${S}`}catch(T){throw new Error(`Invalid custom RegExp for param "${y}" (${S}): `+T.message)}}let I=_?`((?:${S})(?:/(?:${S}))*)`:`(${S})`;f||(I=x&&u.length<2?`(?:/${I})`:"/"+I),x&&(I+="?"),r+=I,g+=Me.Dynamic,x&&(g+=Me.BonusOptional),_&&(g+=Me.BonusRepeatable),S===".*"&&(g+=Me.BonusWildcard)}a.push(g)}s.push(a)}if(n.strict&&n.end){const u=s.length-1;s[u][s[u].length-1]+=Me.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");function l(u){const a=u.match(i),f={};if(!a)return null;for(let p=1;p<a.length;p++){const g=a[p]||"",y=o[p-1];f[y.name]=g&&y.repeatable?g.split("/"):g}return f}function c(u){let a="",f=!1;for(const p of e){(!f||!a.endsWith("/"))&&(a+="/"),f=!1;for(const g of p)if(g.type===Ft.Static)a+=g.value;else if(g.type===Ft.Param){const{value:y,repeatable:_,optional:x}=g,R=y in u?u[y]:"";if(Je(R)&&!_)throw new Error(`Provided param "${y}" is an array but it is not repeatable (* or + modifiers)`);const S=Je(R)?R.join("/"):R;if(!S)if(x)p.length<2&&(a.endsWith("/")?a=a.slice(0,-1):f=!0);else throw new Error(`Missing required param "${y}"`);a+=S}}return a||"/"}return{re:i,score:s,keys:o,parse:l,stringify:c}}function df(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===Me.Static+Me.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Me.Static+Me.Segment?1:-1:0}function Rl(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const o=df(s[n],r[n]);if(o)return o;n++}if(Math.abs(r.length-s.length)===1){if(Fo(s))return 1;if(Fo(r))return-1}return r.length-s.length}function Fo(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const hf={strict:!1,end:!0,sensitive:!1};function pf(e,t,n){const s=ff(cf(e.path),n),r=ee(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function gf(e,t){const n=[],s=new Map;t=Io(hf,t);function r(f){return s.get(f)}function o(f,p,g){const y=!g,_=Bo(f);_.aliasOf=g&&g.record;const x=Io(t,f),R=[_];if("alias"in f){const T=typeof f.alias=="string"?[f.alias]:f.alias;for(const D of T)R.push(Bo(ee({},_,{components:g?g.record.components:_.components,path:D,aliasOf:g?g.record:_})))}let S,I;for(const T of R){const{path:D}=T;if(p&&D[0]!=="/"){const X=p.record.path,L=X[X.length-1]==="/"?"":"/";T.path=p.record.path+(D&&L+D)}if(S=pf(T,p,x),g?g.alias.push(S):(I=I||S,I!==S&&I.alias.push(S),y&&f.name&&!Uo(S)&&i(f.name)),xl(S)&&c(S),_.children){const X=_.children;for(let L=0;L<X.length;L++)o(X[L],S,g&&g.children[L])}g=g||S}return I?()=>{i(I)}:Cn}function i(f){if(wl(f)){const p=s.get(f);p&&(s.delete(f),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(f);p>-1&&(n.splice(p,1),f.record.name&&s.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function l(){return n}function c(f){const p=yf(f,n);n.splice(p,0,f),f.record.name&&!Uo(f)&&s.set(f.record.name,f)}function u(f,p){let g,y={},_,x;if("name"in f&&f.name){if(g=s.get(f.name),!g)throw ln(pe.MATCHER_NOT_FOUND,{location:f});x=g.record.name,y=ee(Ho(p.params,g.keys.filter(I=>!I.optional).concat(g.parent?g.parent.keys.filter(I=>I.optional):[]).map(I=>I.name)),f.params&&Ho(f.params,g.keys.map(I=>I.name))),_=g.stringify(y)}else if(f.path!=null)_=f.path,g=n.find(I=>I.re.test(_)),g&&(y=g.parse(_),x=g.record.name);else{if(g=p.name?s.get(p.name):n.find(I=>I.re.test(p.path)),!g)throw ln(pe.MATCHER_NOT_FOUND,{location:f,currentLocation:p});x=g.record.name,y=ee({},p.params,f.params),_=g.stringify(y)}const R=[];let S=g;for(;S;)R.unshift(S.record),S=S.parent;return{name:x,path:_,params:y,matched:R,meta:_f(R)}}e.forEach(f=>o(f));function a(){n.length=0,s.clear()}return{addRoute:o,resolve:u,removeRoute:i,clearRoutes:a,getRoutes:l,getRecordMatcher:r}}function Ho(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Bo(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:mf(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function mf(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Uo(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function _f(e){return e.reduce((t,n)=>ee(t,n.meta),{})}function yf(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;Rl(e,t[o])<0?s=o:n=o+1}const r=vf(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function vf(e){let t=e;for(;t=t.parent;)if(xl(t)&&Rl(e,t)===0)return t}function xl({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function zo(e){const t=ze(Ms),n=ze(Fr),s=W(()=>{const c=xe(e.to);return t.resolve(c)}),r=W(()=>{const{matched:c}=s.value,{length:u}=c,a=c[u-1],f=n.matched;if(!a||!f.length)return-1;const p=f.findIndex(on.bind(null,a));if(p>-1)return p;const g=qo(c[u-2]);return u>1&&qo(a)===g&&f[f.length-1].path!==g?f.findIndex(on.bind(null,c[u-2])):p}),o=W(()=>r.value>-1&&Af(n.params,s.value.params)),i=W(()=>r.value>-1&&r.value===n.matched.length-1&&El(n.params,s.value.params));function l(c={}){if(Sf(c)){const u=t[xe(e.replace)?"replace":"push"](xe(e.to)).catch(Cn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:s,href:W(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}function bf(e){return e.length===1?e[0]:e}const Ef=cn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:zo,setup(e,{slots:t}){const n=Bn(zo(e)),{options:s}=ze(Ms),r=W(()=>({[$o(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[$o(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&bf(t.default(n));return e.custom?o:ll("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),wf=Ef;function Sf(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 Af(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Je(r)||r.length!==s.length||s.some((o,i)=>o.valueOf()!==r[i].valueOf()))return!1}return!0}function qo(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const $o=(e,t,n)=>e??t??n,Rf=cn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=ze(yr),r=W(()=>e.route||s.value),o=ze(Lo,0),i=W(()=>{let u=xe(o);const{matched:a}=r.value;let f;for(;(f=a[u])&&!f.components;)u++;return u}),l=W(()=>r.value.matched[i.value]);Zn(Lo,W(()=>i.value+1)),Zn(Zu,l),Zn(yr,r);const c=be();return en(()=>[c.value,l.value,e.name],([u,a,f],[p,g,y])=>{a&&(a.instances[f]=u,g&&g!==a&&u&&u===p&&(a.leaveGuards.size||(a.leaveGuards=g.leaveGuards),a.updateGuards.size||(a.updateGuards=g.updateGuards))),u&&a&&(!g||!on(a,g)||!p)&&(a.enterCallbacks[f]||[]).forEach(_=>_(u))},{flush:"post"}),()=>{const u=r.value,a=e.name,f=l.value,p=f&&f.components[a];if(!p)return Ko(n.default,{Component:p,route:u});const g=f.props[a],y=g?g===!0?u.params:typeof g=="function"?g(u):g:null,x=ll(p,ee({},y,t,{onVnodeUnmounted:R=>{R.component.isUnmounted&&(f.instances[a]=null)},ref:c}));return Ko(n.default,{Component:x,route:u})||x}}});function Ko(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const xf=Rf;function Cf(e){const t=gf(e.routes,e),n=e.parseQuery||Yu,s=e.stringifyQuery||Do,r=e.history,o=pn(),i=pn(),l=pn(),c=ss(St);let u=St;Xt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const a=Gs.bind(null,E=>""+E),f=Gs.bind(null,ju),p=Gs.bind(null,Fn);function g(E,j){let M,k;return wl(E)?(M=t.getRecordMatcher(E),k=j):k=E,t.addRoute(k,M)}function y(E){const j=t.getRecordMatcher(E);j&&t.removeRoute(j)}function _(){return t.getRoutes().map(E=>E.record)}function x(E){return!!t.getRecordMatcher(E)}function R(E,j){if(j=ee({},j||c.value),typeof E=="string"){const m=Ws(n,E,j.path),b=t.resolve({path:m.path},j),w=r.createHref(m.fullPath);return ee(m,b,{params:p(b.params),hash:Fn(m.hash),redirectedFrom:void 0,href:w})}let M;if(E.path!=null)M=ee({},E,{path:Ws(n,E.path,j.path).path});else{const m=ee({},E.params);for(const b in m)m[b]==null&&delete m[b];M=ee({},E,{params:f(m)}),j.params=f(j.params)}const k=t.resolve(M,j),J=E.hash||"";k.params=a(p(k.params));const d=Vu(s,ee({},E,{hash:Iu(J),path:k.path})),h=r.createHref(d);return ee({fullPath:d,hash:J,query:s===Do?Xu(E.query):E.query||{}},k,{redirectedFrom:void 0,href:h})}function S(E){return typeof E=="string"?Ws(n,E,c.value.path):ee({},E)}function I(E,j){if(u!==E)return ln(pe.NAVIGATION_CANCELLED,{from:j,to:E})}function T(E){return L(E)}function D(E){return T(ee(S(E),{replace:!0}))}function X(E,j){const M=E.matched[E.matched.length-1];if(M&&M.redirect){const{redirect:k}=M;let J=typeof k=="function"?k(E,j):k;return typeof J=="string"&&(J=J.includes("?")||J.includes("#")?J=S(J):{path:J},J.params={}),ee({query:E.query,hash:E.hash,params:J.path!=null?{}:E.params},J)}}function L(E,j){const M=u=R(E),k=c.value,J=E.state,d=E.force,h=E.replace===!0,m=X(M,k);if(m)return L(ee(S(m),{state:typeof m=="object"?ee({},J,m.state):J,force:d,replace:h}),j||M);const b=M;b.redirectedFrom=j;let w;return!d&&ku(s,k,M)&&(w=ln(pe.NAVIGATION_DUPLICATED,{to:b,from:k}),Qe(k,k,!0,!1)),(w?Promise.resolve(w):Z(b,k)).catch(v=>ft(v)?ft(v,pe.NAVIGATION_GUARD_REDIRECT)?v:wt(v):G(v,b,k)).then(v=>{if(v){if(ft(v,pe.NAVIGATION_GUARD_REDIRECT))return L(ee({replace:h},S(v.to),{state:typeof v.to=="object"?ee({},J,v.to.state):J,force:d}),j||b)}else v=U(b,k,!0,h,J);return fe(b,k,v),v})}function B(E,j){const M=I(E,j);return M?Promise.reject(M):Promise.resolve()}function V(E){const j=$t.values().next().value;return j&&typeof j.runWithContext=="function"?j.runWithContext(E):E()}function Z(E,j){let M;const[k,J,d]=ef(E,j);M=Qs(k.reverse(),"beforeRouteLeave",E,j);for(const m of k)m.leaveGuards.forEach(b=>{M.push(Ot(b,E,j))});const h=B.bind(null,E,j);return M.push(h),Ue(M).then(()=>{M=[];for(const m of o.list())M.push(Ot(m,E,j));return M.push(h),Ue(M)}).then(()=>{M=Qs(J,"beforeRouteUpdate",E,j);for(const m of J)m.updateGuards.forEach(b=>{M.push(Ot(b,E,j))});return M.push(h),Ue(M)}).then(()=>{M=[];for(const m of d)if(m.beforeEnter)if(Je(m.beforeEnter))for(const b of m.beforeEnter)M.push(Ot(b,E,j));else M.push(Ot(m.beforeEnter,E,j));return M.push(h),Ue(M)}).then(()=>(E.matched.forEach(m=>m.enterCallbacks={}),M=Qs(d,"beforeRouteEnter",E,j,V),M.push(h),Ue(M))).then(()=>{M=[];for(const m of i.list())M.push(Ot(m,E,j));return M.push(h),Ue(M)}).catch(m=>ft(m,pe.NAVIGATION_CANCELLED)?m:Promise.reject(m))}function fe(E,j,M){l.list().forEach(k=>V(()=>k(E,j,M)))}function U(E,j,M,k,J){const d=I(E,j);if(d)return d;const h=j===St,m=Xt?history.state:{};M&&(k||h?r.replace(E.fullPath,ee({scroll:h&&m&&m.scroll},J)):r.push(E.fullPath,J)),c.value=E,Qe(E,j,M,h),wt()}let de;function me(){de||(de=r.listen((E,j,M)=>{if(!Nt.listening)return;const k=R(E),J=X(k,Nt.currentRoute.value);if(J){L(ee(J,{replace:!0,force:!0}),k).catch(Cn);return}u=k;const d=c.value;Xt&&Ku(jo(d.fullPath,M.delta),Is()),Z(k,d).catch(h=>ft(h,pe.NAVIGATION_ABORTED|pe.NAVIGATION_CANCELLED)?h:ft(h,pe.NAVIGATION_GUARD_REDIRECT)?(L(ee(S(h.to),{force:!0}),k).then(m=>{ft(m,pe.NAVIGATION_ABORTED|pe.NAVIGATION_DUPLICATED)&&!M.delta&&M.type===mr.pop&&r.go(-1,!1)}).catch(Cn),Promise.reject()):(M.delta&&r.go(-M.delta,!1),G(h,k,d))).then(h=>{h=h||U(k,d,!1),h&&(M.delta&&!ft(h,pe.NAVIGATION_CANCELLED)?r.go(-M.delta,!1):M.type===mr.pop&&ft(h,pe.NAVIGATION_ABORTED|pe.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),fe(k,d,h)}).catch(Cn)}))}let $e=pn(),ie=pn(),$;function G(E,j,M){wt(E);const k=ie.list();return k.length?k.forEach(J=>J(E,j,M)):console.error(E),Promise.reject(E)}function Ve(){return $&&c.value!==St?Promise.resolve():new Promise((E,j)=>{$e.add([E,j])})}function wt(E){return $||($=!E,me(),$e.list().forEach(([j,M])=>E?M(E):j()),$e.reset()),E}function Qe(E,j,M,k){const{scrollBehavior:J}=e;if(!Xt||!J)return Promise.resolve();const d=!M&&Gu(jo(E.fullPath,0))||(k||!M)&&history.state&&history.state.scroll||null;return Ss().then(()=>J(E,j,d)).then(h=>h&&$u(h)).catch(h=>G(h,E,j))}const Pe=E=>r.go(E);let qt;const $t=new Set,Nt={currentRoute:c,listening:!0,addRoute:g,removeRoute:y,clearRoutes:t.clearRoutes,hasRoute:x,getRoutes:_,resolve:R,options:e,push:T,replace:D,go:Pe,back:()=>Pe(-1),forward:()=>Pe(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:ie.add,isReady:Ve,install(E){E.component("RouterLink",wf),E.component("RouterView",xf),E.config.globalProperties.$router=Nt,Object.defineProperty(E.config.globalProperties,"$route",{enumerable:!0,get:()=>xe(c)}),Xt&&!qt&&c.value===St&&(qt=!0,T(r.location).catch(k=>{}));const j={};for(const k in St)Object.defineProperty(j,k,{get:()=>c.value[k],enumerable:!0});E.provide(Ms,Nt),E.provide(Fr,Ri(j)),E.provide(yr,c);const M=E.unmount;$t.add(E),E.unmount=function(){$t.delete(E),$t.size<1&&(u=St,de&&de(),de=null,c.value=St,qt=!1,$=!1),M()}}};function Ue(E){return E.reduce((j,M)=>j.then(()=>V(M)),Promise.resolve())}return Nt}function ud(){return ze(Ms)}function Cl(e){return ze(Fr)}const Pf={viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},Of=["d"],Go=cn({__name:"Icon",props:{name:{}},setup(e){const t=e,n={home:"M3 11l9-8 9 8M5 10v10h5v-6h4v6h5V10",calendar:"M4 6h16v14H4zM4 10h16M8 3v5M16 3v5",book:"M5 4h10a3 3 0 013 3v13H8a3 3 0 01-3-3zM5 17a3 3 0 013-3h10",quiz:"M12 21a9 9 0 100-18 9 9 0 000 18zM9.5 9.5a2.5 2.5 0 114 2c-.9.6-1.5 1-1.5 2M12 17h.01",more:"M5 12h.01M12 12h.01M19 12h.01",flag:"M5 21V4M5 4h11l-2 4 2 4H5",grad:"M2 9l10-5 10 5-10 5zM6 11.5V16c0 1.5 3 3 6 3s6-1.5 6-3v-4.5",file:"M7 3h7l5 5v13H7zM14 3v5h5M10 13h6M10 17h6",slides:"M3 4h18v12H3zM12 16v4M8 20h8",user:"M12 12a4 4 0 100-8 4 4 0 000 8zM4 21c0-4 4-6 8-6s8 2 8 6",out:"M10 4H5v16h5M15 8l4 4-4 4M19 12H9",chevron:"M9 6l6 6-6 6","arrow-left":"M19 12H5M11 6l-6 6 6 6","arrow-right":"M5 12h14M13 6l6 6-6 6"};return(s,r)=>(Ke(),Yt("svg",Pf,[Re("path",{d:n[t.name]??""},null,8,Of)]))}});class ts extends Error{constructor(n,s,r={}){super(s);Kt(this,"status");Kt(this,"errors");this.name="ApiError",this.status=n,this.errors=r}}const Ys="bm.token";class Tf{constructor(t,n){Kt(this,"local");Kt(this,"session");Kt(this,"memory",null);this.local=t,this.session=n}read(t){try{return t?.getItem(Ys)??null}catch{return null}}get(){return this.read(this.local)??this.read(this.session)??this.memory}get remembered(){return this.read(this.local)!==null}set(t,n){this.clear();try{(n?this.local:this.session)?.setItem(Ys,t)}catch{}this.get()===null&&(this.memory=t)}replace(t){this.set(t,this.remembered)}clear(){this.memory=null;for(const t of[this.local,this.session])try{t?.removeItem(Ys)}catch{}}}function If(e){const t=e.fetch??((...g)=>fetch(...g)),{tokens:n}=e;let s=null;function r(g,y){if(!y)return g;const _=new URLSearchParams;for(const[R,S]of Object.entries(y))S!=null&&S!==""&&_.set(R,String(S));const x=_.toString();return x?`${g}?${x}`:g}async function o(g,y){const _={Accept:"application/json"},x=n.get();y.auth!==!1&&x&&(_.Authorization=`Bearer ${x}`);let R;return y.body!==void 0&&(_["Content-Type"]="application/json",R=JSON.stringify(y.body)),t(r(g,y.query),{method:y.method??"GET",headers:_,body:R})}function i(){return s||(s=(async()=>{try{const g=await o("/_user/api/v1/refresh",{method:"POST"});if(!g.ok)return!1;const y=await g.json(),_=y.token??y.data?.token;return _?(n.replace(_),!0):!1}catch{return!1}finally{queueMicrotask(()=>{s=null})}})()),s}async function l(g){const y=await g.text();if(!y)return null;try{return JSON.parse(y)}catch{return null}}function c(g,y){const _=y??{},x=typeof _.error=="string"&&_.error||typeof _.message=="string"&&_.message||(g.status>=500?"Błąd serwera. Spróbuj ponownie za chwilę.":`Błąd ${g.status}`);return new ts(g.status,x,_.errors??{})}async function u(g,y){let _;const x=n.get();try{_=await o(g,y)}catch{throw new ts(0,"Brak połączenia z serwerem.")}if(_.status===401&&y.auth!==!1&&x){const R=n.get();if(R!==null&&R!==x?!0:await i())try{_=await o(g,y)}catch{throw new ts(0,"Brak połączenia z serwerem.")}_.status===401&&(n.clear(),e.onUnauthorized?.())}return _}async function a(g,y={}){const _=await u(g,y),x=await l(_);if(!_.ok)throw c(_,x);return x}async function f(g,y={}){const _=await u(g,y);if(!_.ok){const x=await l(_);throw c(_,x)}return _.blob()}async function p(g,y={}){const _=await a(g,y);return _&&typeof _=="object"&&"data"in _?_.data:_}return{request:p,raw:a,blob:f}}function Wo(e){try{return e()}catch{return null}}const Ct=new Tf(Wo(()=>window.localStorage),Wo(()=>window.sessionStorage));let Pl=()=>{};function Mf(e){Pl=e}const ce=If({tokens:Ct,onUnauthorized:()=>Pl()}),At="/_user/api/v1",gn={login:e=>ce.request(`${At}/login`,{method:"POST",body:e,auth:!1}),register:e=>ce.request(`${At}/register`,{method:"POST",body:e,auth:!1}),fetch:()=>ce.request(`${At}/fetch`),logout:()=>ce.request(`${At}/logout`,{method:"POST"}),forgotPassword:e=>ce.request(`${At}/forgot-password`,{method:"POST",body:{email:e},auth:!1}),resetPassword:e=>ce.request(`${At}/reset-password`,{method:"POST",body:e,auth:!1}),update:e=>ce.request(`${At}/update`,{method:"POST",body:e}),changePassword:e=>ce.request(`${At}/change-password`,{method:"POST",body:e})},Nf="modulepreload",jf=function(e){return"/"+e},Jo={},he=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){let c=function(u){return Promise.all(u.map(a=>Promise.resolve(a).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),l=i?.nonce||i?.getAttribute("nonce");r=c(n.map(u=>{if(u=jf(u),u in Jo)return;Jo[u]=!0;const a=u.endsWith(".css"),f=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${f}`))return;const p=document.createElement("link");if(p.rel=a?"stylesheet":Nf,a||(p.as="script"),p.crossOrigin="",p.href=u,l&&p.setAttribute("nonce",l),document.head.appendChild(p),a)return new Promise((g,y)=>{p.addEventListener("load",g),p.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${u}`)))})}))}function o(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return r.then(i=>{for(const l of i||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})},hs="bm.lastPilot";function Ns(){try{return window.localStorage}catch{return null}}function Ol(e){return typeof e=="string"&&e.trim()!==""&&e.length<=255&&!e.includes("/")}function fd(e,t=Ns()){if(!(!t||!Ol(e)))try{t.setItem(hs,e)}catch{}}function Df(e=Ns()){if(!e)return null;try{const t=e.getItem(hs);return Ol(t)?t:null}catch{return null}}function dd(e,t=Ns()){if(t)try{t.getItem(hs)===e&&t.removeItem(hs)}catch{}}function Lf(e=Ns()){const t=Df(e);return t?{name:"presentation-remote",params:{slug:t}}:{name:"my-presentations"}}const Ht=Cf({history:rf("/"),scrollBehavior:(e,t,n)=>e.meta.bare?!1:n??(e.hash?{el:e.hash,top:12}:e.path===t.path?void 0:{top:0}),routes:[{path:"/logowanie",name:"login",component:()=>he(()=>import("./LoginView-vgmTzwMY.js"),__vite__mapDeps([0,1])),meta:{public:!0,guest:!0,title:"Logowanie"}},{path:"/rejestracja",name:"register",component:()=>he(()=>import("./RegisterView-nufsS1aS.js"),__vite__mapDeps([2,1])),meta:{public:!0,guest:!0,title:"Rejestracja"}},{path:"/przypomnij-haslo",name:"forgot",component:()=>he(()=>import("./ForgotView-DoDmip1X.js"),__vite__mapDeps([3,1])),meta:{public:!0,title:"Przypomnienie hasła"}},{path:"/reset-password",alias:"/reset-hasla",name:"reset",component:()=>he(()=>import("./ResetView-C9HzRA0A.js"),__vite__mapDeps([4,1])),meta:{public:!0,title:"Nowe hasło"}},{path:"/",name:"dashboard",component:()=>he(()=>import("./DashboardView-kNawprTz.js"),__vite__mapDeps([5,6,7,8,9])),meta:{title:"Pulpit"}},{path:"/plan",name:"schedule",component:()=>he(()=>import("./ScheduleView-zkV0QlQm.js"),__vite__mapDeps([10,6,7,8,9])),meta:{title:"Plan zajęć"}},{path:"/terminarz",name:"deadlines",component:()=>he(()=>import("./DeadlinesView-BLmc5nVX.js"),__vite__mapDeps([11,6,7,8,9])),meta:{title:"Terminarz"}},{path:"/przedmioty",name:"courses",component:()=>he(()=>import("./CoursesView-C-tWjZpO.js"),__vite__mapDeps([12,6,7,8,9])),meta:{title:"Przedmioty"}},{path:"/przedmioty/:id(\\d+)",name:"course",component:()=>he(()=>import("./CourseView-C_He6ekq.js"),__vite__mapDeps([13,6,7,14,9])),props:!0,meta:{title:"Przedmiot"}},{path:"/lektury",name:"readings",component:()=>he(()=>import("./ReadingsView-CXDG8jVk.js"),__vite__mapDeps([15,6,7,8,9,14])),meta:{title:"Lektury"}},{path:"/materialy",name:"materials",component:()=>he(()=>import("./MaterialsView-CsgUp-1k.js"),__vite__mapDeps([16,6,9])),meta:{title:"Materiały"}},{path:"/materialy/:id(\\d+)",name:"material",component:()=>he(()=>import("./MaterialView-DsIAl7oy.js"),__vite__mapDeps([17,6,7,9])),props:!0,meta:{title:"Materiał"}},{path:"/sylabusy",name:"syllabi",component:()=>he(()=>import("./SyllabiView-sJhGsO7B.js"),__vite__mapDeps([18,6])),meta:{title:"Sylabusy"}},{path:"/quiz",redirect:"/quizy/powtorka-1-zjazd"},{path:"/quizy",name:"quizzes",component:()=>he(()=>import("./QuizzesView-BKYNp0DB.js"),__vite__mapDeps([19,6,7,20,9])),meta:{title:"Quizy"}},{path:"/quizy/:slug",name:"quiz",component:()=>he(()=>import("./QuizView-CKA4GLy2.js"),__vite__mapDeps([21,6,7,20,9])),props:!0,meta:{title:"Quiz"}},{path:"/wiecej",name:"more",component:()=>he(()=>import("./MoreView-CZhMrMoT.js"),__vite__mapDeps([22,6])),meta:{title:"Więcej"}},{path:"/profil",name:"profile",component:()=>he(()=>import("./ProfileView-DwWtTsmu.js"),__vite__mapDeps([23,6,1])),meta:{title:"Profil"}},{path:"/moje-prezentacje",name:"my-presentations",component:()=>he(()=>import("./MyPresentationsView-CNgpFbYe.js"),__vite__mapDeps([24,6,7,25,9])),meta:{title:"Moje prezentacje"}},{path:"/moje-prezentacje/:slug",name:"presentation-speaker",component:()=>he(()=>import("./PresentationSpeakerView-BlMF4Net.js"),__vite__mapDeps([26,25,27,28,29,30,31])),props:!0,meta:{bare:!0,title:"Prezentacja"}},{path:"/moje-prezentacje/:slug/pilot",name:"presentation-remote",component:()=>he(()=>import("./PresentationRemoteView-BTQhHxTy.js"),__vite__mapDeps([32,25,30,33,34,29])),props:!0,meta:{bare:!0,title:"Pilot"}},{path:"/pilot",name:"pilot",redirect:()=>Lf()},{path:"/prezentacje/:slugHash",name:"presentation-public",component:()=>he(()=>import("./PresentationPublicView-Cma572RE.js"),__vite__mapDeps([35,25,27,28,29,36])),props:!0,meta:{public:!0,bare:!0,title:"Prezentacja"}},{path:"/:rest(.*)*",name:"notfound",component:()=>he(()=>import("./NotFoundView-BCR-HL8O.js"),__vite__mapDeps([37,33])),meta:{title:"Nie znaleziono"}}]});Ht.beforeEach(async e=>{const t=Nl();return t.ready||await t.restore(e),!e.meta.public&&!t.loggedIn?{name:"login",query:e.fullPath==="/"?{}:{redirect:e.fullPath}}:e.meta.guest&&t.loggedIn?{name:"dashboard"}:!0});Ht.afterEach(e=>{const t=e.meta.title;document.title=t?`${t} · BM II°`:"BM II°"});const Oe="/_bm/api/v1",De={dashboard:()=>ce.request(`${Oe}/dashboard`),courses:e=>ce.request(`${Oe}/courses`,{query:{semester:e}}),course:e=>ce.request(`${Oe}/courses/${e}`),schedule:(e,t)=>ce.request(`${Oe}/schedule`,{query:{from:e,to:t}}),meetings:()=>ce.request(`${Oe}/meetings`),deadlines:(e,t)=>ce.request(`${Oe}/deadlines`,{query:{from:e,to:t}}),readings:e=>ce.request(`${Oe}/readings`,{query:{course:e}}),markRead:e=>ce.request(`${Oe}/readings/${e}/progress`,{method:"PUT"}),unmarkRead:e=>ce.request(`${Oe}/readings/${e}/progress`,{method:"DELETE"}),materials:(e={})=>ce.raw(`${Oe}/materials`,{query:{...e}}),material:e=>ce.request(`${Oe}/materials/${e}`),calendarFeed:()=>ce.request(`${Oe}/calendar-feed`),saveCalendarFeed:e=>ce.request(`${Oe}/calendar-feed`,{method:"PUT",body:e}),rotateCalendarFeed:()=>ce.request(`${Oe}/calendar-feed/rotate`,{method:"POST"}),deleteCalendarFeed:()=>ce.request(`${Oe}/calendar-feed`,{method:"DELETE"})},Vf={"historia-koncepcje":"Historia / koncepcje wojny i pokoju",specjalnosc:"Specjalność"};function hd(e){return Vf[e]??e}function Hr(e){const t=new Map;for(const n of e){if(!n.elective_group)continue;const s=t.get(n.elective_group)??[];s.includes(n.name)||s.push(n.name),t.set(n.elective_group,s)}return[...t].map(([n,s])=>({code:n,options:s}))}function kf(e,t){const n={};for(const s of Hr(e)){const r=t[s.code];r&&s.options.includes(r)&&(n[s.code]=r)}return n}function Ff(e,t){if(!e.elective_group)return!1;const n=t[e.elective_group];return n!==void 0&&n!==e.name}function Tl(e,t,n=!1){const s=new Set;if(n)return s;for(const r of e)Ff(r,t)&&s.add(r.id);return s}function Xs(e,t){return t.size===0?e:e.filter(n=>n.course_id===null||!t.has(n.course_id))}function Hf(e,t){return Hr(e).filter(n=>n.options.length>1&&!t[n.code])}function pd(e,t){return!!e.elective_group&&!t[e.elective_group]}const Qo="bm.showAllElectives";function Yo(e){try{return localStorage.getItem(e)}catch{return null}}function Xo(e,t){try{localStorage.setItem(e,t)}catch{}}const Pn=an("electives",()=>{const e=be({}),t=be(Yo(Qo)==="1"),n=be(null),s=()=>n.value===null?null:`bm.electives.${n.value}`,r=()=>{const f=s();f&&Xo(f,JSON.stringify(e.value))};function o(f){n.value=f;try{const p=JSON.parse(Yo(`bm.electives.${f}`)??"{}");e.value=p&&typeof p=="object"?p:{}}catch{e.value={}}}const i=W(()=>Object.keys(e.value).length>0);function l(f,p){const g={...e.value};p===null?delete g[f]:g[f]=p,e.value=g,r()}function c(f){t.value=f,Xo(Qo,f?"1":"0")}function u(f){const p=kf(f,e.value);Object.keys(p).length!==Object.keys(e.value).length&&(e.value=p,r())}function a(){e.value={},n.value=null}return{choices:e,showAll:t,userId:n,hasChoices:i,load:o,choose:l,setShowAll:c,prune:u,reset:a}}),Br=an("toast",()=>{const e=be("");let t;function n(r,o=4e3){e.value=r,clearTimeout(t),t=setTimeout(()=>e.value="",o)}function s(){e.value=""}return{message:e,show:n,clear:s}});function On(e){return e instanceof ts?e.message:"Nie udało się wczytać danych."}function Jt(e){const t=ss(null),n=be(!1),s=be("");let r=null;function o(l=!1){return r||(t.value!==null&&!l?Promise.resolve():(n.value=!0,s.value="",r=e().then(c=>{t.value=c}).catch(c=>{s.value=On(c)}).finally(()=>{n.value=!1,r=null}),r))}function i(){t.value=null,s.value="",n.value=!1,r=null}return{data:t,loading:n,error:s,load:o,reset:i}}const Zo="2000-01-01",Il=an("bm",()=>{const e=Jt(()=>De.courses()),t=Jt(()=>De.meetings()),n=Jt(()=>De.schedule(Zo)),s=Jt(()=>De.deadlines(Zo)),r=Jt(()=>De.readings()),o=Jt(()=>De.dashboard()),i=W(()=>e.data.value),l=W(()=>t.data.value),c=W(()=>o.data.value),u=Pn(),a=W(()=>Hr(i.value??[])),f=W(()=>Hf(i.value??[],u.choices)),p=W(()=>Tl(i.value??[],u.choices,u.showAll)),g=W(()=>Xs(n.data.value??[],p.value)),y=W(()=>Xs(s.data.value??[],p.value)),_=W(()=>Xs(r.data.value??[],p.value)),x=W(()=>r.data.value??[]),R=W(()=>(i.value??[]).filter(U=>!p.value.has(U.id))),S=W(()=>{const U=_.value,de=U.filter(me=>me.is_required);return{total:U.length,read:U.filter(me=>me.read_at).length,requiredTotal:de.length,requiredRead:de.filter(me=>me.read_at).length}}),I=W(()=>new Map((i.value??[]).map(U=>[U.id,U])));async function T(U=!1){await e.load(U),e.data.value&&u.prune(e.data.value)}async function D(U,de){const me=r.data.value,$e=me?.find(G=>G.id===U);if(!me||!$e)return;const ie=$e.read_at,$=G=>{r.data.value=me.map(Ve=>Ve.id===U?{...Ve,read_at:G}:Ve)};$(de?new Date().toISOString():null);try{const G=de?await De.markRead(U):await De.unmarkRead(U);$(G.read_at)}catch(G){$(ie),Br().show(`Nie udało się zapisać zmiany. ${On(G)}`)}}const X=[e,t,n,s,r,o],L=W(()=>X.some(U=>U.loading.value)),B=W(()=>X.find(U=>U.error.value)?.error.value??""),V=W(()=>({courses:e.data.value!==null,meetings:t.data.value!==null,schedule:n.data.value!==null,deadlines:s.data.value!==null,readings:r.data.value!==null,dashboard:o.data.value!==null}));function Z(){for(const U of X)U.error.value&&U.load(!0)}function fe(){for(const U of X)U.reset()}return{courses:i,electiveGroups:a,pendingElectives:f,hidden:p,meetings:l,dashboard:c,schedule:g,deadlines:y,readings:_,allReadings:x,visibleCourses:R,readingStats:S,courseById:I,loading:L,error:B,loaded:V,retry:Z,loadCourses:T,loadMeetings:(U=!1)=>t.load(U),loadSchedule:(U=!1)=>n.load(U),loadDeadlines:(U=!1)=>s.load(U),loadReadings:(U=!1)=>r.load(U),loadDashboard:(U=!1)=>o.load(U),toggleReading:D,reset:fe}});function Bf(e,t){return[...Tl(e,t,!1)].sort((n,s)=>n-s)}function Uf(e,t){if(e.length!==t.length)return!1;const n=[...e].sort((r,o)=>r-o),s=[...t].sort((r,o)=>r-o);return n.every((r,o)=>r===s[o])}async function gd(e){try{if(navigator.clipboard&&window.isSecureContext)return await navigator.clipboard.writeText(e),!0}catch{}try{const t=document.createElement("textarea");t.value=e,t.setAttribute("readonly",""),t.style.position="fixed",t.style.top="-1000px",document.body.appendChild(t),t.select();const n=document.execCommand("copy");return document.body.removeChild(t),n}catch{return!1}}const Ml=an("calendarFeed",()=>{const e=be(void 0),t=be(!1),n=be(!1),s=be(""),r=Il(),o=Pn();let i=Promise.resolve();function l(R){const S=i.then(R,R);return i=S.catch(()=>{}),S}async function c(R=!1){if(!(e.value!==void 0&&!R)){t.value=!0,s.value="";try{e.value=await De.calendarFeed()}catch(S){s.value=On(S)}finally{t.value=!1}}}async function u(){await r.loadCourses();const R=r.courses;return R?Bf(R,o.choices):null}async function a(R){n.value=!0,s.value="";try{await l(R)}catch(S){s.value=On(S)}finally{n.value=!1}}function f(){return a(async()=>{const R=await u();e.value=await De.saveCalendarFeed(R?{excluded_course_ids:R}:{})})}function p(R){return a(async()=>{e.value=await De.saveCalendarFeed(R)})}function g(){return a(async()=>{e.value=await De.rotateCalendarFeed()})}function y(){return a(async()=>{await De.deleteCalendarFeed(),e.value=null})}function _(){return l(async()=>{e.value===void 0&&await c();const R=e.value;if(!R)return;const S=await u();if(!(!S||Uf(S,R.excluded_course_ids)))try{e.value=await De.saveCalendarFeed({excluded_course_ids:S})}catch(I){Br().show(`Nie udało się zaktualizować kalendarza. ${On(I)}`)}})}en(()=>o.choices,()=>{o.userId!==null&&_()});function x(){e.value=void 0,s.value="",t.value=!1,n.value=!1}return{feed:e,loading:t,busy:n,error:s,load:c,create:f,save:p,rotate:g,remove:y,sync:_,reset:x}});let Zs=null;const Nl=an("auth",()=>{const e=be(null),t=be(Ct.get()),n=be(!1),s=W(()=>t.value!==null),r=W(()=>{const g=e.value;return g?[g.name,g.surname].filter(Boolean).join(" ")||g.email:""});function o(g,y,_){Ct.set(g,_),t.value=Ct.get(),y&&(e.value=y,Pn().load(y.id))}function i(){Ct.clear(),t.value=null,e.value=null,Il().reset(),Pn().reset(),Ml().reset()}async function l(g){g&&(Zs={public:g.meta.public===!0,fullPath:g.fullPath});try{if(Ct.get())try{const y=await gn.fetch();e.value=y.user,t.value=Ct.get(),Pn().load(y.user.id)}catch{Ct.get()||i()}n.value=!0}finally{Zs=null}}async function c(g,y,_){const x=await gn.login({email:g,password:y});o(x.token,x.user,_)}async function u(g,y){const _=await gn.register(g);return _.token?(o(_.token,_.user,y),{signedIn:!0,message:""}):{signedIn:!1,message:_.message??""}}async function a(){try{await gn.logout()}catch{}i(),await Ht.push({name:"login"})}async function f(g){const y=await gn.update(g);e.value=y.user}function p(){const g=Zs??{public:Ht.currentRoute.value.meta.public===!0,fullPath:Ht.currentRoute.value.fullPath},y=s.value||e.value!==null;i(),y&&!g.public&&Ht.push({name:"login",query:{redirect:g.fullPath,expired:"1"}})}return Mf(p),{user:e,token:t,ready:n,loggedIn:s,displayName:r,restore:l,login:c,register:u,logout:a,updateProfile:f}});let er=!1;const jl=an("pwa",()=>{const e=be(!1),t=ss(null),n=ss(null);let s=!1;const r=W(()=>!e.value&&t.value!==null),o=W(()=>n.value!==null);function i(){s||typeof window>"u"||(s=!0,e.value=window.matchMedia?.("(display-mode: standalone)").matches===!0||navigator.standalone===!0,window.addEventListener("beforeinstallprompt",f=>{f.preventDefault(),t.value=f}),window.addEventListener("appinstalled",()=>{e.value=!0,t.value=null}),"serviceWorker"in navigator&&(document.readyState==="complete"?l():window.addEventListener("load",l,{once:!0})))}async function l(){const f=navigator.serviceWorker;f.addEventListener("controllerchange",()=>{er&&(er=!1,window.location.reload())});try{const p=await f.register("/sw.js",{scope:"/",updateViaCache:"none"});p.waiting&&f.controller&&(n.value=p.waiting),p.addEventListener("updatefound",()=>{const g=p.installing;g&&g.addEventListener("statechange",()=>{g.state==="installed"&&f.controller&&(n.value=g)})}),document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&p.update().catch(()=>{})})}catch{}}async function c(){const f=t.value;if(f){t.value=null;try{await f.prompt(),(await f.userChoice).outcome==="accepted"&&(e.value=!0)}catch{}}}function u(){const f=n.value;f&&(er=!0,f.postMessage({type:"SKIP_WAITING"}))}function a(){n.value=null}return{installed:e,deferred:t,waiting:n,canInstall:r,updateReady:o,start:i,install:c,applyUpdate:u,dismissUpdate:a}}),zf={class:"shell"},qf={class:"sidebar"},$f={"aria-label":"Główna nawigacja"},Kf={class:"who"},Gf={class:"muted"},Wf={class:"main",id:"main"},Jf={class:"tabbar","aria-label":"Nawigacja"},Qf={key:0,class:"update-bar",role:"status","aria-live":"polite"},Yf=cn({__name:"AppShell",setup(e){const t=Nl(),n=Br(),s=jl(),r=Cl();Ml();const o=[{to:"/",label:"Pulpit",icon:"home",match:["dashboard"]},{to:"/plan",label:"Plan zajęć",icon:"calendar",match:["schedule"]},{to:"/terminarz",label:"Terminarz",icon:"flag",match:["deadlines"]},{to:"/przedmioty",label:"Przedmioty",icon:"grad",match:["courses","course"]},{to:"/lektury",label:"Lektury",icon:"book",match:["readings"]},{to:"/materialy",label:"Materiały",icon:"file",match:["materials","material"]},{to:"/sylabusy",label:"Sylabusy",icon:"file",match:["syllabi"]},{to:"/quizy",label:"Quizy",icon:"quiz",match:["quizzes","quiz"]},{to:"/moje-prezentacje",label:"Moje prezentacje",icon:"slides",match:["my-presentations"]},{to:"/profil",label:"Profil",icon:"user",match:["profile"]}],i=[{to:"/",label:"Pulpit",icon:"home",match:["dashboard"]},{to:"/plan",label:"Plan",icon:"calendar",match:["schedule"]},{to:"/lektury",label:"Lektury",icon:"book",match:["readings"]},{to:"/quizy",label:"Quizy",icon:"quiz",match:["quizzes","quiz"]},{to:"/wiecej",label:"Więcej",icon:"more",match:["more","deadlines","courses","course","materials","material","syllabi","my-presentations","profile"]}],l=W(()=>String(r.name??"")),c=u=>u.includes(l.value);return(u,a)=>{const f=ki("router-link");return Ke(),Yt("div",zf,[Re("aside",qf,[ae(f,{to:"/",class:"brand"},{default:Sn(()=>[...a[4]||(a[4]=[Re("span",{class:"eyebrow"},"UWr · ISMiB",-1),Re("b",null,"BM II°",-1)])]),_:1}),Re("nav",$f,[(Ke(),Yt(Le,null,ro(o,p=>ae(f,{key:p.to,to:p.to,class:Tn({active:c(p.match)}),"aria-current":c(p.match)?"page":void 0},{default:Sn(()=>[ae(Go,{name:p.icon},null,8,["name"]),fr(mn(p.label),1)]),_:2},1032,["to","class","aria-current"])),64))]),Re("div",Kf,[Re("span",Gf,mn(xe(t).displayName),1),xe(s).canInstall?(Ke(),Yt("button",{key:0,class:"btn small",type:"button",onClick:a[0]||(a[0]=p=>xe(s).install())},"Zainstaluj aplikację")):po("",!0),Re("button",{class:"btn small ghost",type:"button",onClick:a[1]||(a[1]=p=>xe(t).logout())},"Wyloguj")])]),Re("main",Wf,[Xc(u.$slots,"default")]),Re("nav",Jf,[(Ke(),Yt(Le,null,ro(i,p=>ae(f,{key:p.to,to:p.to,class:Tn({active:c(p.match)}),"aria-current":c(p.match)?"page":void 0},{default:Sn(()=>[ae(Go,{name:p.icon},null,8,["name"]),fr(mn(p.label),1)]),_:2},1032,["to","class","aria-current"])),64))]),Cc(Re("div",{class:"toast",role:"status","aria-live":"polite"},mn(xe(n).message),513),[[za,xe(n).message]]),xe(s).updateReady?(Ke(),Yt("div",Qf,[a[5]||(a[5]=Re("span",null,"Dostępna jest nowa wersja aplikacji.",-1)),Re("button",{class:"btn small",type:"button",onClick:a[2]||(a[2]=p=>xe(s).applyUpdate())},"Odśwież"),Re("button",{class:"btn small ghost",type:"button",onClick:a[3]||(a[3]=p=>xe(s).dismissUpdate())},"Później")])):po("",!0)])}}}),Xf=cn({__name:"App",setup(e){const t=Cl(),n=W(()=>t.meta.public===!0||t.meta.bare===!0);return(s,r)=>{const o=ki("router-view");return n.value?(Ke(),Dn(o,{key:0})):(Ke(),Dn(Yf,{key:1},{default:Sn(()=>[ae(o)]),_:1}))}}}),Dl=gu();du(Xf).use(Dl).use(Ht).mount("#app");jl(Dl).start();export{Ct as $,en as A,Dn as B,Pn as C,pd as D,De as E,Le as F,On as G,rd as H,Bn as I,qc as J,Ss as K,ce as L,jl as M,Df as N,Ml as O,Br as P,gd as Q,hd as R,ts as S,Xc as T,Nr as U,fd as V,dd as W,td as X,he as Y,ed as Z,Go as _,Re as a,za as a0,id as a1,ld as a2,cd as a3,ad as a4,xe as b,Yt as c,cn as d,po as e,sd as f,od as g,ae as h,Sn as i,Cl as j,ki as k,ud as l,fr as m,gn as n,Ke as o,Il as p,Bc as q,be as r,W as s,mn as t,Nl as u,nd as v,Cc as w,Tn as x,ro as y,Er as z};
|