The Vue SPA is now built locally and its frontend/dist/ committed (force-added). Dockerfile is a single-stage runtime: copy prebuilt dist + python:3.11 + Flask. No node/npm inside the image -> deterministic, no npm/esbuild postinstall flakiness. To update UI: edit src, npm run build, commit frontend/dist/.
28 lines
108 KiB
JavaScript
28 lines
108 KiB
JavaScript
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Login-B9kRT3Au.js","assets/_plugin-vue_export-helper-DlAUqK2U.js","assets/Login-D3svPLnW.css","assets/Setup-BN6K74g6.js","assets/Setup-BdS_6JlN.css","assets/WeakAreas-D4pzX9E5.js","assets/WeakAreas-CZWFyB_H.css","assets/GenPersona-C6rMCac6.js","assets/GenPersona-CDFUWMM8.css","assets/Training-BV7L6DKk.js","assets/Training-n3r0grEv.css","assets/Personas-hA5thick.js","assets/Personas-GPRGTf-A.css","assets/Chat-D-rkKKd4.js","assets/Chat-D5cDjkYb.css","assets/GroupEdit-Cb7ZBl3o.js","assets/GroupEdit-BpqVXcH5.css","assets/Analytics-D4Q7AW2d.js","assets/Analytics-CtniKRSj.css"])))=>i.map(i=>d[i]);
|
|
(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 i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();/**
|
|
* @vue/shared v3.5.41
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/function Fs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Z={},kt=[],Je=()=>{},si=()=>!1,jn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Gn=e=>e.startsWith("onUpdate:"),pe=Object.assign,Bs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Co=Object.prototype.hasOwnProperty,q=(e,t)=>Co.call(e,t),V=Array.isArray,Ht=e=>vn(e)==="[object Map]",Jt=e=>vn(e)==="[object Set]",or=e=>vn(e)==="[object Date]",H=e=>typeof e=="function",re=e=>typeof e=="string",Ye=e=>typeof e=="symbol",z=e=>e!==null&&typeof e=="object",ri=e=>(z(e)||H(e))&&H(e.then)&&H(e.catch),ii=Object.prototype.toString,vn=e=>ii.call(e),Oo=e=>vn(e).slice(8,-1),oi=e=>vn(e)==="[object Object]",ks=e=>re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,rn=Fs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Kn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Io=/-\w/g,Se=Kn(e=>e.replace(Io,t=>t.slice(1).toUpperCase())),No=/\B([A-Z])/g,Et=Kn(e=>e.replace(No,"-$1").toLowerCase()),Wn=Kn(e=>e.charAt(0).toUpperCase()+e.slice(1)),ss=Kn(e=>e?`on${Wn(e)}`:""),ze=(e,t)=>!Object.is(e,t),Cn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},li=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},$n=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let lr;const qn=()=>lr||(lr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Hs(e){if(V(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=re(s)?Vo(s):Hs(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(re(e)||z(e))return e}const Mo=/;(?![^(]*\))/g,Do=/:([^]+)/,Lo=/\/\*[^]*?\*\//g;function Vo(e){const t={};return e.replace(Lo,"").split(Mo).forEach(n=>{if(n){const s=n.split(Do);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ut(e){let t="";if(re(e))t=e;else if(V(e))for(let n=0;n<e.length;n++){const s=Ut(e[n]);s&&(t+=s+" ")}else if(z(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Fo="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Bo=Fs(Fo);function ci(e){return!!e||e===""}function ko(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=vt(e[s],t[s]);return n}function vt(e,t){if(e===t)return!0;let n=or(e),s=or(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=Ye(e),s=Ye(t),n||s)return e===t;if(n=V(e),s=V(t),n||s)return n&&s?ko(e,t):!1;if(n=z(e),s=z(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const o in e){const l=e.hasOwnProperty(o),c=t.hasOwnProperty(o);if(l&&!c||!l&&c||!vt(e[o],t[o]))return!1}}return String(e)===String(t)}function Us(e,t){return e.findIndex(n=>vt(n,t))}const ai=e=>!!(e&&e.__v_isRef===!0),tt=e=>re(e)?e:e==null?"":V(e)||z(e)&&(e.toString===ii||!H(e.toString))?ai(e)?tt(e.value):JSON.stringify(e,ui,2):String(e),ui=(e,t)=>ai(t)?ui(e,t.value):Ht(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[rs(s,i)+" =>"]=r,n),{})}:Jt(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>rs(n))}:Ye(t)?rs(t):z(t)&&!V(t)&&!oi(t)?String(t):t,rs=(e,t="")=>{var n;return Ye(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
* @vue/reactivity v3.5.41
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let de;class Ho{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&&de&&(de.active?(this.parent=de,this.index=(de.scopes||(de.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=de;try{return de=this,t()}finally{de=n}}}on(){++this._on===1&&(this.prevScope=de,de=this)}off(){if(this._on>0&&--this._on===0){if(de===this)de=this.prevScope;else{let t=de;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 Uo(){return de}let ee;const is=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,de&&(de.active?de.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,is.has(this)&&(is.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,cr(this),pi(this);const t=ee,n=Ne;ee=this,Ne=!0;try{return this.fn()}finally{gi(this),ee=t,Ne=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ks(t);this.deps=this.depsTail=void 0,cr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?is.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ws(this)&&this.run()}get dirty(){return ws(this)}}let di=0,on,ln;function hi(e,t=!1){if(e.flags|=8,t){e.next=ln,ln=e;return}e.next=on,on=e}function js(){di++}function Gs(){if(--di>0)return;if(ln){let t=ln;for(ln=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;on;){let t=on;for(on=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),Ks(s),jo(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function ws(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===dn)||(e.globalVersion=dn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ws(e))))return;e.flags|=2;const t=e.dep,n=ee,s=Ne;ee=e,Ne=!0;try{pi(e);const r=e.fn(e._value);(t.version===0||ze(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ee=n,Ne=s,gi(e),e.flags&=-3}}function Ks(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 i=n.computed.deps;i;i=i.nextDep)Ks(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function jo(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ne=!0;const _i=[];function ct(){_i.push(Ne),Ne=!1}function at(){const e=_i.pop();Ne=e===void 0?!0:e}function cr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ee;ee=void 0;try{t()}finally{ee=n}}}let dn=0;class Go{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 Ws{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(!ee||!Ne||ee===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ee)n=this.activeLink=new Go(ee,this),ee.deps?(n.prevDep=ee.depsTail,ee.depsTail.nextDep=n,ee.depsTail=n):ee.deps=ee.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=ee.depsTail,n.nextDep=void 0,ee.depsTail.nextDep=n,ee.depsTail=n,ee.deps===n&&(ee.deps=s)}return n}trigger(t){this.version++,dn++,this.notify(t)}notify(t){js();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Gs()}}}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 Ss=new WeakMap,Pt=Symbol(""),As=Symbol(""),hn=Symbol("");function ge(e,t,n){if(Ne&&ee){let s=Ss.get(e);s||Ss.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Ws),r.map=s,r.key=n),r.track()}}function it(e,t,n,s,r,i){const o=Ss.get(e);if(!o){dn++;return}const l=c=>{c&&c.trigger()};if(js(),t==="clear")o.forEach(l);else{const c=V(e),f=c&&ks(n);if(c&&n==="length"){const u=Number(s);o.forEach((h,g)=>{(g==="length"||g===hn||!Ye(g)&&g>=u)&&l(h)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),f&&l(o.get(hn)),t){case"add":c?f&&l(o.get("length")):(l(o.get(Pt)),Ht(e)&&l(o.get(As)));break;case"delete":c||(l(o.get(Pt)),Ht(e)&&l(o.get(As)));break;case"set":Ht(e)&&l(o.get(Pt));break}}Gs()}function Dt(e){const t=$(e);return t===e?t:(ge(t,"iterate",hn),Ie(e)?t:t.map(De))}function zn(e){return ge(e=$(e),"iterate",hn),e}function $e(e,t){return ut(e)?Kt(Ct(e)?De(t):t):De(t)}const Ko={__proto__:null,[Symbol.iterator](){return os(this,Symbol.iterator,e=>$e(this,e))},concat(...e){return Dt(this).concat(...e.map(t=>V(t)?Dt(t):t))},entries(){return os(this,"entries",e=>(e[1]=$e(this,e[1]),e))},every(e,t){return Xe(this,"every",e,t,void 0,arguments)},filter(e,t){return Xe(this,"filter",e,t,n=>n.map(s=>$e(this,s)),arguments)},find(e,t){return Xe(this,"find",e,t,n=>$e(this,n),arguments)},findIndex(e,t){return Xe(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Xe(this,"findLast",e,t,n=>$e(this,n),arguments)},findLastIndex(e,t){return Xe(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Xe(this,"forEach",e,t,void 0,arguments)},includes(...e){return ls(this,"includes",e)},indexOf(...e){return ls(this,"indexOf",e)},join(e){return Dt(this).join(e)},lastIndexOf(...e){return ls(this,"lastIndexOf",e)},map(e,t){return Xe(this,"map",e,t,void 0,arguments)},pop(){return Zt(this,"pop")},push(...e){return Zt(this,"push",e)},reduce(e,...t){return ar(this,"reduce",e,t)},reduceRight(e,...t){return ar(this,"reduceRight",e,t)},shift(){return Zt(this,"shift")},some(e,t){return Xe(this,"some",e,t,void 0,arguments)},splice(...e){return Zt(this,"splice",e)},toReversed(){return Dt(this).toReversed()},toSorted(e){return Dt(this).toSorted(e)},toSpliced(...e){return Dt(this).toSpliced(...e)},unshift(...e){return Zt(this,"unshift",e)},values(){return os(this,"values",e=>$e(this,e))}};function os(e,t,n){const s=zn(e),r=s[t]();return s!==e&&!Ie(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=n(i.value)),i}),r}const Wo=Array.prototype;function Xe(e,t,n,s,r,i){const o=zn(e),l=o!==e&&!Ie(e),c=o[t];if(c!==Wo[t]){const h=c.apply(e,i);return l?De(h):h}let f=n;o!==e&&(l?f=function(h,g){return n.call(this,$e(e,h),g,e)}:n.length>2&&(f=function(h,g){return n.call(this,h,g,e)}));const u=c.call(o,f,s);return l&&r?r(u):u}function ar(e,t,n,s){const r=zn(e),i=r!==e&&!Ie(e);let o=n,l=!1;r!==e&&(i?(l=s.length===0,o=function(f,u,h){return l&&(l=!1,f=$e(e,f)),n.call(this,f,$e(e,u),h,e)}):n.length>3&&(o=function(f,u,h){return n.call(this,f,u,h,e)}));const c=r[t](o,...s);return l?$e(e,c):c}function ls(e,t,n){const s=$(e);ge(s,"iterate",hn);const r=s[t](...n);return(r===-1||r===!1)&&zs(n[0])?(n[0]=$(n[0]),s[t](...n)):r}function Zt(e,t,n=[]){ct(),js();const s=$(e)[t].apply(e,n);return Gs(),at(),s}const $o=Fs("__proto__,__v_isRef,__isVue"),vi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ye));function qo(e){Ye(e)||(e=String(e));const t=$(this);return ge(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,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?sl:Ai:i?Si:wi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=V(t);if(!r){let c;if(o&&(c=Ko[n]))return c;if(n==="hasOwnProperty")return qo}const l=Reflect.get(t,n,_e(t)?t:s);if((Ye(n)?vi.has(n):$o(n))||(r||ge(t,"get",n),i))return l;if(_e(l)){const c=o&&ks(n)?l:l.value;return r&&z(c)?Rs(c):c}return z(l)?r?Rs(l):Yt(l):l}}class Ei extends bi{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];const o=V(t)&&ks(n);if(!this._isShallow){const f=ut(i);if(!Ie(s)&&!ut(s)&&(i=$(i),s=$(s)),!o&&_e(i)&&!_e(s))return f||(i.value=s),!0}const l=o?Number(n)<t.length:q(t,n),c=Reflect.set(t,n,s,_e(t)?t:r);return t===$(r)&&c&&(l?ze(s,i)&&it(t,"set",n,s):it(t,"add",n,s)),c}deleteProperty(t,n){const s=q(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&it(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!Ye(n)||!vi.has(n))&&ge(t,"has",n),s}ownKeys(t){return ge(t,"iterate",V(t)?"length":Pt),Reflect.ownKeys(t)}}class zo extends bi{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Jo=new Ei,Yo=new zo,Qo=new Ei(!0);const xs=e=>e,wn=e=>Reflect.getPrototypeOf(e);function Xo(e,t,n){return function(...s){const r=this.__v_raw,i=$(r),o=Ht(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,f=r[e](...s),u=n?xs:t?Kt:De;return!t&&ge(i,"iterate",c?As:Pt),pe(Object.create(f),{next(){const{value:h,done:g}=f.next();return g?{value:h,done:g}:{value:l?[u(h[0]),u(h[1])]:u(h),done:g}}})}}function Sn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Zo(e,t){const n={get(r){const i=this.__v_raw,o=$(i),l=$(r);e||(ze(r,l)&&ge(o,"get",r),ge(o,"get",l));const{has:c}=wn(o),f=t?xs:e?Kt:De;if(c.call(o,r))return f(i.get(r));if(c.call(o,l))return f(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&ge($(r),"iterate",Pt),r.size},has(r){const i=this.__v_raw,o=$(i),l=$(r);return e||(ze(r,l)&&ge(o,"has",r),ge(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,c=$(l),f=t?xs:e?Kt:De;return!e&&ge(c,"iterate",Pt),l.forEach((u,h)=>r.call(i,f(u),f(h),o))}};return pe(n,e?{add:Sn("add"),set:Sn("set"),delete:Sn("delete"),clear:Sn("clear")}:{add(r){const i=$(this),o=wn(i),l=$(r),c=!t&&!Ie(r)&&!ut(r)?l:r;return o.has.call(i,c)||ze(r,c)&&o.has.call(i,r)||ze(l,c)&&o.has.call(i,l)||(i.add(c),it(i,"add",c,c)),this},set(r,i){!t&&!Ie(i)&&!ut(i)&&(i=$(i));const o=$(this),{has:l,get:c}=wn(o);let f=l.call(o,r);f||(r=$(r),f=l.call(o,r));const u=c.call(o,r);return o.set(r,i),f?ze(i,u)&&it(o,"set",r,i):it(o,"add",r,i),this},delete(r){const i=$(this),{has:o,get:l}=wn(i);let c=o.call(i,r);c||(r=$(r),c=o.call(i,r)),l&&l.call(i,r);const f=i.delete(r);return c&&it(i,"delete",r,void 0),f},clear(){const r=$(this),i=r.size!==0,o=r.clear();return i&&it(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Xo(r,e,t)}),n}function $s(e,t){const n=Zo(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(q(n,r)&&r in s?n:s,r,i)}const el={get:$s(!1,!1)},tl={get:$s(!1,!0)},nl={get:$s(!0,!1)};const wi=new WeakMap,Si=new WeakMap,Ai=new WeakMap,sl=new WeakMap;function rl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Yt(e){return ut(e)?e:qs(e,!1,Jo,el,wi)}function xi(e){return qs(e,!1,Qo,tl,Si)}function Rs(e){return qs(e,!0,Yo,nl,Ai)}function qs(e,t,n,s,r){if(!z(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const i=r.get(e);if(i)return i;const o=rl(Oo(e));if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function Ct(e){return ut(e)?Ct(e.__v_raw):!!(e&&e.__v_isReactive)}function ut(e){return!!(e&&e.__v_isReadonly)}function Ie(e){return!!(e&&e.__v_isShallow)}function zs(e){return e?!!e.__v_raw:!1}function $(e){const t=e&&e.__v_raw;return t?$(t):e}function il(e){return!q(e,"__v_skip")&&Object.isExtensible(e)&&li(e,"__v_skip",!0),e}const De=e=>z(e)?Yt(e):e,Kt=e=>z(e)?Rs(e):e;function _e(e){return e?e.__v_isRef===!0:!1}function ol(e){return Ri(e,!1)}function ll(e){return Ri(e,!0)}function Ri(e,t){return _e(e)?e:new cl(e,t)}class cl{constructor(t,n){this.dep=new Ws,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:$(t),this._value=n?t:De(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Ie(t)||ut(t);t=s?t:$(t),ze(t,n)&&(this._rawValue=t,this._value=s?t:De(t),this.dep.trigger())}}function ce(e){return _e(e)?e.value:e}const al={get:(e,t,n)=>t==="__v_raw"?e:ce(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return _e(r)&&!_e(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Ti(e){return Ct(e)?e:new Proxy(e,al)}class ul{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ws(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=dn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ee!==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 fl(e,t,n=!1){let s,r;return H(e)?s=e:(s=e.get,r=e.set),new ul(s,r,n)}const An={},Mn=new WeakMap;let Rt;function dl(e,t=!1,n=Rt){if(n){let s=Mn.get(n);s||Mn.set(n,s=[]),s.push(e)}}function hl(e,t,n=Z){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,f=O=>r?O:Ie(O)||r===!1||r===0?ot(O,1):ot(O);let u,h,g,m,I=!1,x=!1;if(_e(e)?(h=()=>e.value,I=Ie(e)):Ct(e)?(h=()=>f(e),I=!0):V(e)?(x=!0,I=e.some(O=>Ct(O)||Ie(O)),h=()=>e.map(O=>{if(_e(O))return O.value;if(Ct(O))return f(O);if(H(O))return c?c(O,2):O()})):H(e)?t?h=c?()=>c(e,2):e:h=()=>{if(g){ct();try{g()}finally{at()}}const O=Rt;Rt=u;try{return c?c(e,3,[m]):e(m)}finally{Rt=O}}:h=Je,t&&r){const O=h,Q=r===!0?1/0:r;h=()=>ot(O(),Q)}const k=Uo(),F=()=>{u.stop(),k&&k.active&&Bs(k.effects,u)};if(i&&t){const O=t;t=(...Q)=>{const oe=O(...Q);return F(),oe}}let P=x?new Array(e.length).fill(An):An;const N=O=>{if(!(!(u.flags&1)||!u.dirty&&!O))if(t){const Q=u.run();if(O||r||I||(x?Q.some((oe,ne)=>ze(oe,P[ne])):ze(Q,P))){g&&g();const oe=Rt;Rt=u;try{const ne=[Q,P===An?void 0:x&&P[0]===An?[]:P,m];P=Q,c?c(t,3,ne):t(...ne)}finally{Rt=oe}}}else u.run()};return l&&l(N),u=new fi(h),u.scheduler=o?()=>o(N,!1):N,m=O=>dl(O,!1,u),g=u.onStop=()=>{const O=Mn.get(u);if(O){if(c)c(O,4);else for(const Q of O)Q();Mn.delete(u)}},t?s?N(!0):P=u.run():o?o(N.bind(null,!0),!0):u.run(),F.pause=u.pause.bind(u),F.resume=u.resume.bind(u),F.stop=F,F}function ot(e,t=1/0,n){if(t<=0||!z(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,_e(e))ot(e.value,t,n);else if(V(e))for(let s=0;s<e.length;s++)ot(e[s],t,n);else if(Jt(e)||Ht(e))e.forEach(s=>{ot(s,t,n)});else if(oi(e)){for(const s in e)ot(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&ot(e[s],t,n)}return e}/**
|
|
* @vue/runtime-core v3.5.41
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/function bn(e,t,n,s){try{return s?e(...s):e()}catch(r){Jn(r,t,n)}}function Le(e,t,n,s){if(H(e)){const r=bn(e,t,n,s);return r&&ri(r)&&r.catch(i=>{Jn(i,t,n)}),r}if(V(e)){const r=[];for(let i=0;i<e.length;i++)r.push(Le(e[i],t,n,s));return r}}function Jn(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||Z;if(t){let l=t.parent;const c=t.proxy,f=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const u=l.ec;if(u){for(let h=0;h<u.length;h++)if(u[h](e,c,f)===!1)return}l=l.parent}if(i){ct(),bn(i,null,10,[e,c,f]),at();return}}pl(e,n,r,s,o)}function pl(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const Ee=[];let We=-1;const jt=[];let _t=null,Lt=0;const Pi=Promise.resolve();let Dn=null;function Js(e){const t=Dn||Pi;return e?t.then(this?e.bind(this):e):t}function gl(e){let t=We+1,n=Ee.length;for(;t<n;){const s=t+n>>>1,r=Ee[s],i=pn(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function Ys(e){if(!(e.flags&1)){const t=pn(e),n=Ee[Ee.length-1];!n||!(e.flags&2)&&t>=pn(n)?Ee.push(e):Ee.splice(gl(t),0,e),e.flags|=1,Ci()}}function Ci(){Dn||(Dn=Pi.then(Ii))}function ml(e){if(!V(e))_t&&e.id===-1?_t.splice(Lt+1,0,e):e.flags&1||(jt.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)jt.push(e[t]);Ci()}function ur(e,t,n=We+1){for(;n<Ee.length;n++){const s=Ee[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Ee.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Oi(e){if(jt.length){const t=[...new Set(jt)].sort((n,s)=>pn(n)-pn(s));if(jt.length=0,_t){for(let n=0;n<t.length;n++)_t.push(t[n]);return}for(_t=t,Lt=0;Lt<_t.length;Lt++){const n=_t[Lt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}_t=null,Lt=0}}const pn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Ii(e){try{for(We=0;We<Ee.length;We++){const t=Ee[We];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),bn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;We<Ee.length;We++){const t=Ee[We];t&&(t.flags&=-2)}We=-1,Ee.length=0,Oi(),Dn=null,(Ee.length||jt.length)&&Ii()}}let Te=null,Ni=null;function Ln(e){const t=Te;return Te=e,Ni=e&&e.type.__scopeId||null,t}function Vt(e,t=Te,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Bn(-1);const i=Ln(t),o=Ot.length;let l;try{l=e(...r)}finally{for(let c=Ot.length;c>o;c--)ro();Ln(i),s._d&&Bn(1)}return l};return s._n=!0,s._c=!0,s._d=!0,s}function Ru(e,t){if(Te===null)return e;const n=es(Te),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,l,c=Z]=t[r];i&&(H(i)&&(i={mounted:i,updated:i}),i.deep&&ot(o),s.push({dir:i,instance:n,value:o,oldValue:void 0,arg:l,modifiers:c}))}return e}function At(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let c=l.dir[s];c&&(ct(),Le(c,n,8,[e.el,l,e,t]),at())}}function On(e,t){if(me){let n=me.provides;const s=me.parent&&me.parent.provides;s===n&&(n=me.provides=Object.create(s)),n[e]=t}}function Me(e,t,n=!1){const s=pc();if(s||Gt){let r=Gt?Gt._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&&H(t)?t.call(s&&s.proxy):t}}const _l=Symbol.for("v-scx"),yl=()=>Me(_l);function In(e,t,n){return Mi(e,t,n)}function Mi(e,t,n=Z){const{immediate:s,deep:r,flush:i,once:o}=n,l=pe({},n),c=t&&s||!t&&i!=="post";let f;if(_n){if(i==="sync"){const m=yl();f=m.__watcherHandles||(m.__watcherHandles=[])}else if(!c){const m=()=>{};return m.stop=Je,m.resume=Je,m.pause=Je,m}}const u=me;l.call=(m,I,x)=>Le(m,u,I,x);let h=!1;i==="post"?l.scheduler=m=>{xe(m,u&&u.suspense)}:i!=="sync"&&(h=!0,l.scheduler=(m,I)=>{I?m():Ys(m)}),l.augmentJob=m=>{t&&(m.flags|=4),h&&(m.flags|=2,u&&(m.id=u.uid,m.i=u))};const g=hl(e,t,l);return _n&&(f?f.push(g):c&&g()),g}function vl(e,t,n){const s=this.proxy,r=re(e)?e.includes(".")?Di(s,e):()=>s[e]:e.bind(s,s);let i;H(t)?i=t:(i=t.handler,n=t);const o=En(this),l=Mi(r,i.bind(s),n);return o(),l}function Di(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 bl=Symbol("_vte"),Yn=e=>e.__isTeleport,cs=Symbol("_leaveCb");function El(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ft){t=n;break}}return t}function Li(e){if(!Xs(e))return Yn(e.type)&&e.children?El(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&&H(n.default))return n.default()}}function Qs(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const n=e.component.subTree;Qs(Yn(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 Vi(e,t){return H(e)?pe({name:e.name},t,{setup:e}):e}function Fi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function fr(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Vn=new WeakMap;function cn(e,t,n,s,r=!1){if(V(e)){e.forEach((x,k)=>cn(x,t&&(V(t)?t[k]:t),n,s,r));return}if(an(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&cn(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?es(s.component):s.el,o=r?null:i,{i:l,r:c}=e,f=t&&t.r,u=l.refs===Z?l.refs={}:l.refs,h=l.setupState,g=$(h),m=h===Z?si:x=>fr(u,x)?!1:q(g,x),I=(x,k)=>!(k&&fr(u,k));if(f!=null&&f!==c){if(dr(t),re(f))u[f]=null,m(f)&&(h[f]=null);else if(_e(f)){const x=t;I(f,x.k)&&(f.value=null),x.k&&(u[x.k]=null)}}if(H(c))bn(c,l,12,[o,u]);else{const x=re(c),k=_e(c);if(x||k){const F=()=>{if(e.f){const P=x?m(c)?h[c]:u[c]:I()||!e.k?c.value:u[e.k];if(r)V(P)&&Bs(P,i);else if(V(P))P.includes(i)||P.push(i);else if(x)u[c]=[i],m(c)&&(h[c]=u[c]);else{const N=[i];I(c,e.k)&&(c.value=N),e.k&&(u[e.k]=N)}}else x?(u[c]=o,m(c)&&(h[c]=o)):k&&(I(c,e.k)&&(c.value=o),e.k&&(u[e.k]=o))};if(o){const P=()=>{F(),Vn.delete(e)};P.id=-1,Vn.set(e,P),xe(P,n)}else dr(e),F()}}}function dr(e){const t=Vn.get(e);t&&(t.flags|=8,Vn.delete(e))}qn().requestIdleCallback;qn().cancelIdleCallback;const an=e=>!!e.type.__asyncLoader,Xs=e=>e.type.__isKeepAlive;function wl(e,t){Bi(e,"a",t)}function Sl(e,t){Bi(e,"da",t)}function Bi(e,t,n=me){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Qn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Xs(r.parent.vnode)&&Al(s,t,n,r),r=r.parent}}function Al(e,t,n,s){const r=Qn(t,e,s,!0);Hi(()=>{Bs(s[t],r)},n)}function Qn(e,t,n=me,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{ct();const l=En(n),c=Le(t,n,e,o);return l(),at(),c});return s?r.unshift(i):r.push(i),i}}const dt=e=>(t,n=me)=>{(!_n||e==="sp")&&Qn(e,(...s)=>t(...s),n)},xl=dt("bm"),ki=dt("m"),Rl=dt("bu"),Tl=dt("u"),Pl=dt("bum"),Hi=dt("um"),Cl=dt("sp"),Ol=dt("rtg"),Il=dt("rtc");function Nl(e,t=me){Qn("ec",e,t)}const Ml="components";function hr(e,t){return Ll(Ml,e,!0,t)||e}const Dl=Symbol.for("v-ndc");function Ll(e,t,n=!0,s=!1){const r=Te||me;if(r){const i=r.type;{const l=vc(i,!1);if(l&&(l===t||l===Se(t)||l===Wn(Se(t))))return i}const o=pr(r[e]||i[e],t)||pr(r.appContext[e],t);return!o&&s?i:o}}function pr(e,t){return e&&(e[t]||e[Se(t)]||e[Wn(Se(t))])}function Tu(e,t,n,s){let r;const i=n,o=V(e);if(o||re(e)){const l=o&&Ct(e);let c=!1,f=!1;l&&(c=!Ie(e),f=ut(e),e=zn(e)),r=new Array(e.length);for(let u=0,h=e.length;u<h;u++)r[u]=t(c?f?Kt(De(e[u])):De(e[u]):e[u],u,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,i)}else if(z(e))if(e[Symbol.iterator])r=Array.from(e,(l,c)=>t(l,c,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,f=l.length;c<f;c++){const u=l[c];r[c]=t(e[u],u,c,i)}}else r=[];return r}const Ts=e=>e?ao(e)?es(e):Ts(e.parent):null,un=pe(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=>Ts(e.parent),$root:e=>Ts(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ji(e),$forceUpdate:e=>e.f||(e.f=()=>{Ys(e.update)}),$nextTick:e=>e.n||(e.n=Js.bind(e.proxy)),$watch:e=>vl.bind(e)}),as=(e,t)=>e!==Z&&!e.__isScriptSetup&&q(e,t),Vl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;if(t[0]!=="$"){const g=o[t];if(g!==void 0)switch(g){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(as(s,t))return o[t]=1,s[t];if(r!==Z&&q(r,t))return o[t]=2,r[t];if(q(i,t))return o[t]=3,i[t];if(n!==Z&&q(n,t))return o[t]=4,n[t];Ps&&(o[t]=0)}}const f=un[t];let u,h;if(f)return t==="$attrs"&&ge(e.attrs,"get",""),f(e);if((u=l.__cssModules)&&(u=u[t]))return u;if(n!==Z&&q(n,t))return o[t]=4,n[t];if(h=c.config.globalProperties,q(h,t))return h[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return as(r,t)?(r[t]=n,!0):s!==Z&&q(s,t)?(s[t]=n,!0):q(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,props:i,type:o}},l){let c;return!!(n[l]||e!==Z&&l[0]!=="$"&&q(e,l)||as(t,l)||q(i,l)||q(s,l)||q(un,l)||q(r.config.globalProperties,l)||(c=o.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:q(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function gr(e){return V(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ps=!0;function Fl(e){const t=ji(e),n=e.proxy,s=e.ctx;Ps=!1,t.beforeCreate&&mr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:f,created:u,beforeMount:h,mounted:g,beforeUpdate:m,updated:I,activated:x,deactivated:k,beforeDestroy:F,beforeUnmount:P,destroyed:N,unmounted:O,render:Q,renderTracked:oe,renderTriggered:ne,errorCaptured:Fe,serverPrefetch:ht,expose:Be,inheritAttrs:pt,components:wt,directives:ke,filters:Qt}=t;if(f&&Bl(f,s,null),o)for(const J in o){const K=o[J];H(K)&&(s[J]=K.bind(n))}if(r){const J=r.call(n,n);z(J)&&(e.data=Yt(J))}if(Ps=!0,i)for(const J in i){const K=i[J],Qe=H(K)?K.bind(n,n):H(K.get)?K.get.bind(n,n):Je,gt=!H(K)&&H(K.set)?K.set.bind(n):Je,He=we({get:Qe,set:gt});Object.defineProperty(s,J,{enumerable:!0,configurable:!0,get:()=>He.value,set:Ae=>He.value=Ae})}if(l)for(const J in l)Ui(l[J],s,n,J);if(c){const J=H(c)?c.call(n):c;Reflect.ownKeys(J).forEach(K=>{On(K,J[K])})}u&&mr(u,e,"c");function ae(J,K){V(K)?K.forEach(Qe=>J(Qe.bind(n))):K&&J(K.bind(n))}if(ae(xl,h),ae(ki,g),ae(Rl,m),ae(Tl,I),ae(wl,x),ae(Sl,k),ae(Nl,Fe),ae(Il,oe),ae(Ol,ne),ae(Pl,P),ae(Hi,O),ae(Cl,ht),V(Be))if(Be.length){const J=e.exposed||(e.exposed={});Be.forEach(K=>{Object.defineProperty(J,K,{get:()=>n[K],set:Qe=>n[K]=Qe,enumerable:!0})})}else e.exposed||(e.exposed={});Q&&e.render===Je&&(e.render=Q),pt!=null&&(e.inheritAttrs=pt),wt&&(e.components=wt),ke&&(e.directives=ke),ht&&Fi(e)}function Bl(e,t,n=Je){V(e)&&(e=Cs(e));for(const s in e){const r=e[s];let i;z(r)?"default"in r?i=Me(r.from||s,r.default,!0):i=Me(r.from||s):i=Me(r),_e(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function mr(e,t,n){Le(V(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ui(e,t,n,s){let r=s.includes(".")?Di(n,s):()=>n[s];if(re(e)){const i=t[e];H(i)&&In(r,i)}else if(H(e))In(r,e.bind(n));else if(z(e))if(V(e))e.forEach(i=>Ui(i,t,n,s));else{const i=H(e.handler)?e.handler.bind(n):t[e.handler];H(i)&&In(r,i,e)}}function ji(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(f=>Fn(c,f,o,!0)),Fn(c,t,o)),z(t)&&i.set(t,c),c}function Fn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Fn(e,i,n,!0),r&&r.forEach(o=>Fn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=kl[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const kl={data:_r,props:yr,emits:yr,methods:nn,computed:nn,beforeCreate:ve,created:ve,beforeMount:ve,mounted:ve,beforeUpdate:ve,updated:ve,beforeDestroy:ve,beforeUnmount:ve,destroyed:ve,unmounted:ve,activated:ve,deactivated:ve,errorCaptured:ve,serverPrefetch:ve,components:nn,directives:nn,watch:Ul,provide:_r,inject:Hl};function _r(e,t){return t?e?function(){return pe(H(e)?e.call(this,this):e,H(t)?t.call(this,this):t)}:t:e}function Hl(e,t){return nn(Cs(e),Cs(t))}function Cs(e){if(V(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ve(e,t){return e?[...new Set([].concat(e,t))]:t}function nn(e,t){return e?pe(Object.create(null),e,t):t}function yr(e,t){return e?V(e)&&V(t)?[...new Set([...e,...t])]:pe(Object.create(null),gr(e),gr(t??{})):t}function Ul(e,t){if(!e)return t;if(!t)return e;const n=pe(Object.create(null),e);for(const s in t)n[s]=ve(e[s],t[s]);return n}function Gi(){return{app:null,config:{isNativeTag:si,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 jl=0;function Gl(e,t){return function(s,r=null){H(s)||(s=pe({},s)),r!=null&&!z(r)&&(r=null);const i=Gi(),o=new WeakSet,l=[];let c=!1;const f=i.app={_uid:jl++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:Ec,get config(){return i.config},set config(u){},use(u,...h){return o.has(u)||(u&&H(u.install)?(o.add(u),u.install(f,...h)):H(u)&&(o.add(u),u(f,...h))),f},mixin(u){return i.mixins.includes(u)||i.mixins.push(u),f},component(u,h){return h?(i.components[u]=h,f):i.components[u]},directive(u,h){return h?(i.directives[u]=h,f):i.directives[u]},mount(u,h,g){if(!c){const m=f._ceVNode||ue(s,r);return m.appContext=i,g===!0?g="svg":g===!1&&(g=void 0),e(m,u,g),c=!0,f._container=u,u.__vue_app__=f,es(m.component)}},onUnmount(u){l.push(u)},unmount(){c&&(Le(l,f._instance,16),e(null,f._container),delete f._container.__vue_app__)},provide(u,h){return i.provides[u]=h,f},runWithContext(u){const h=Gt;Gt=f;try{return u()}finally{Gt=h}}};return f}}let Gt=null;const Kl=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Se(t)}Modifiers`]||e[`${Et(t)}Modifiers`];function Wl(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Z;let r=n;const i=t.startsWith("update:"),o=i&&Kl(s,t.slice(7));o&&(o.trim&&(r=n.map(u=>re(u)?u.trim():u)),o.number&&(r=n.map($n)));let l,c=s[l=ss(t)]||s[l=ss(Se(t))];!c&&i&&(c=s[l=ss(Et(t))]),c&&Le(c,e,6,r);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Le(f,e,6,r)}}const $l=new WeakMap;function Ki(e,t,n=!1){const s=n?$l:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!H(e)){const c=f=>{const u=Ki(f,t,!0);u&&(l=!0,pe(o,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(z(e)&&s.set(e,null),null):(V(i)?i.forEach(c=>o[c]=null):pe(o,i),z(e)&&s.set(e,o),o)}function Xn(e,t){return!e||!jn(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),q(e,t[0].toLowerCase()+t.slice(1))||q(e,Et(t))||q(e,t))}function vr(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:f,renderCache:u,props:h,data:g,setupState:m,ctx:I,inheritAttrs:x}=e,k=Ln(e);let F,P;try{if(n.shapeFlag&4){const O=r||s,Q=O;F=qe(f.call(Q,O,u,h,m,g,I)),P=l}else{const O=t;F=qe(O.length>1?O(h,{attrs:l,slots:o,emit:c}):O(h,null)),P=t.props?l:ql(l)}}catch(O){Ot.length=0,Jn(O,e,1),F=ue(ft)}let N=F;if(P&&x!==!1){const O=Object.keys(P),{shapeFlag:Q}=N;O.length&&Q&7&&(i&&O.some(Gn)&&(P=zl(P,i)),N=Wt(N,P,!1,!0))}if(n.dirs&&(N=Wt(N,null,!1,!0),N.dirs=N.dirs?N.dirs.concat(n.dirs):n.dirs),n.transition){const O=Yn(N.type)&&Li(N)||N;Qs(O,n.transition)}return F=N,Ln(k),F}const ql=e=>{let t;for(const n in e)(n==="class"||n==="style"||jn(n))&&((t||(t={}))[n]=e[n]);return t},zl=(e,t)=>{const n={};for(const s in e)(!Gn(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Jl(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?br(s,o,f):!!o;if(c&8){const u=t.dynamicProps;for(let h=0;h<u.length;h++){const g=u[h];if(Wi(o,s,g)&&!Xn(f,g))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?br(s,o,f):!0:!!o;return!1}function br(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 i=s[r];if(Wi(t,e,i)&&!Xn(n,i))return!0}return!1}function Wi(e,t,n){const s=e[n],r=t[n];return n==="style"&&z(s)&&z(r)?!vt(s,r):s!==r}function Yl({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={},qi=()=>Object.create($i),zi=e=>Object.getPrototypeOf(e)===$i;function Ql(e,t,n,s=!1){const r={},i=qi();e.propsDefaults=Object.create(null),Ji(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:xi(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Xl(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=$(r),[c]=e.propsOptions;let f=!1;if((s||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let h=0;h<u.length;h++){let g=u[h];if(Xn(e.emitsOptions,g))continue;const m=t[g];if(c)if(q(i,g))m!==i[g]&&(i[g]=m,f=!0);else{const I=Se(g);r[I]=Os(c,l,I,m,e,!1)}else m!==i[g]&&(i[g]=m,f=!0)}}}else{Ji(e,t,r,i)&&(f=!0);let u;for(const h in l)(!t||!q(t,h)&&((u=Et(h))===h||!q(t,u)))&&(c?n&&(n[h]!==void 0||n[u]!==void 0)&&(r[h]=Os(c,l,h,void 0,e,!0)):delete r[h]);if(i!==l)for(const h in i)(!t||!q(t,h))&&(delete i[h],f=!0)}f&&it(e.attrs,"set","")}function Ji(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let c in t){if(rn(c))continue;const f=t[c];let u;r&&q(r,u=Se(c))?!i||!i.includes(u)?n[u]=f:(l||(l={}))[u]=f:Xn(e.emitsOptions,c)||(!(c in s)||f!==s[c])&&(s[c]=f,o=!0)}if(i){const c=$(n),f=l||Z;for(let u=0;u<i.length;u++){const h=i[u];n[h]=Os(r,c,h,f[h],e,!q(f,h))}}return o}function Os(e,t,n,s,r,i){const o=e[n];if(o!=null){const l=q(o,"default");if(l&&s===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&H(c)){const{propsDefaults:f}=r;if(n in f)s=f[n];else{const u=En(r);s=f[n]=c.call(null,t),u()}}else s=c;r.ce&&r.ce._setProp(n,s)}o[0]&&(i&&!l?s=!1:o[1]&&(s===""||s===Et(n))&&(s=!0))}return s}const Zl=new WeakMap;function Yi(e,t,n=!1){const s=n?Zl:t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},l=[];let c=!1;if(!H(e)){const u=h=>{c=!0;const[g,m]=Yi(h,t,!0);pe(o,g),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!c)return z(e)&&s.set(e,kt),kt;if(V(i))for(let u=0;u<i.length;u++){const h=Se(i[u]);Er(h)&&(o[h]=Z)}else if(i)for(const u in i){const h=Se(u);if(Er(h)){const g=i[u],m=o[h]=V(g)||H(g)?{type:g}:pe({},g),I=m.type;let x=!1,k=!0;if(V(I))for(let F=0;F<I.length;++F){const P=I[F],N=H(P)&&P.name;if(N==="Boolean"){x=!0;break}else N==="String"&&(k=!1)}else x=H(I)&&I.name==="Boolean";m[0]=x,m[1]=k,(x||q(m,"default"))&&l.push(h)}}const f=[o,l];return z(e)&&s.set(e,f),f}function Er(e){return e[0]!=="$"&&!rn(e)}const Zs=e=>e==="_"||e==="_ctx"||e==="$stable",er=e=>V(e)?e.map(qe):[qe(e)],ec=(e,t,n)=>{if(t._n)return t;const s=Vt((...r)=>er(t(...r)),n);return s._c=!1,s},Qi=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Zs(r))continue;const i=e[r];if(H(i))t[r]=ec(r,i,s);else if(i!=null){const o=er(i);t[r]=()=>o}}},Xi=(e,t)=>{const n=er(t);e.slots.default=()=>n},Zi=(e,t,n)=>{for(const s in t)(n||!Zs(s))&&(e[s]=t[s])},tc=(e,t,n)=>{const s=e.slots=qi();if(e.vnode.shapeFlag&32){const r=t._;r?(Zi(s,t,n),n&&li(s,"_",r,!0)):Qi(t,s)}else t&&Xi(e,t)},nc=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=Z;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:Zi(r,t,n):(i=!t.$stable,Qi(t,r)),o=t}else t&&(Xi(e,t),o={default:1});if(i)for(const l in r)!Zs(l)&&o[l]==null&&delete r[l]},xe=lc;function sc(e){return rc(e)}function rc(e,t){const n=qn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:f,setElementText:u,parentNode:h,nextSibling:g,setScopeId:m=Je,insertStaticContent:I}=e,x=(a,d,p,y=null,b=null,_=null,A=void 0,S=null,w=!!d.dynamicChildren)=>{if(a===d)return;a&&!en(a,d)&&(y=v(a),Ae(a,b,_,!0),a=null),d.patchFlag===-2&&(w=!1,d.dynamicChildren=null);const{type:E,ref:L,shapeFlag:T}=d;switch(E){case Zn:k(a,d,p,y);break;case ft:F(a,d,p,y);break;case fs:a==null&&P(d,p,y,A);break;case st:wt(a,d,p,y,b,_,A,S,w);break;default:T&1?Q(a,d,p,y,b,_,A,S,w):T&6?ke(a,d,p,y,b,_,A,S,w):(T&64||T&128)&&E.process(a,d,p,y,b,_,A,S,w,M)}L!=null&&b?cn(L,a&&a.ref,_,d||a,!d):L==null&&a&&a.ref!=null&&cn(a.ref,null,_,a,!0)},k=(a,d,p,y)=>{if(a==null)s(d.el=l(d.children),p,y);else{const b=d.el=a.el;d.children!==a.children&&f(b,d.children)}},F=(a,d,p,y)=>{a==null?s(d.el=c(d.children||""),p,y):d.el=a.el},P=(a,d,p,y)=>{[a.el,a.anchor]=I(a.children,d,p,y,a.el,a.anchor)},N=({el:a,anchor:d},p,y)=>{let b;for(;a&&a!==d;)b=g(a),s(a,p,y),a=b;s(d,p,y)},O=({el:a,anchor:d})=>{let p;for(;a&&a!==d;)p=g(a),r(a),a=p;r(d)},Q=(a,d,p,y,b,_,A,S,w)=>{if(d.type==="svg"?A="svg":d.type==="math"&&(A="mathml"),a==null)oe(d,p,y,b,_,A,S,w);else{const E=a.el&&a.el._isVueCE?a.el:null;try{E&&E._beginPatch(),ht(a,d,b,_,A,S,w)}finally{E&&E._endPatch()}}},oe=(a,d,p,y,b,_,A,S)=>{let w,E;const{props:L,shapeFlag:T,transition:D,dirs:B}=a;if(w=a.el=o(a.type,_,L&&L.is,L),T&8?u(w,a.children):T&16&&Fe(a.children,w,null,y,b,us(a,_),A,S),B&&At(a,null,y,"created"),ne(w,a,a.scopeId,A,y),L){for(const X in L)X!=="value"&&!rn(X)&&i(w,X,null,L[X],_,y);"value"in L&&i(w,"value",null,L.value,_),(E=L.onVnodeBeforeMount)&&Ke(E,y,a)}B&&At(a,null,y,"beforeMount");const j=ic(b,D);j&&D.beforeEnter(w),s(w,d,p),((E=L&&L.onVnodeMounted)||j||B)&&xe(()=>{try{E&&Ke(E,y,a),j&&D.enter(w),B&&At(a,null,y,"mounted")}finally{}},b)},ne=(a,d,p,y,b)=>{if(p&&m(a,p),y)for(let _=0;_<y.length;_++)m(a,y[_]);if(b){let _=b.subTree;if(d===_||so(_.type)&&(_.ssContent===d||_.ssFallback===d)){const A=b.vnode;ne(a,A,A.scopeId,A.slotScopeIds,b.parent)}}},Fe=(a,d,p,y,b,_,A,S,w=0)=>{for(let E=w;E<a.length;E++){const L=a[E]=S?rt(a[E]):qe(a[E]);x(null,L,d,p,y,b,_,A,S)}},ht=(a,d,p,y,b,_,A)=>{const S=d.el=a.el;let{patchFlag:w,dynamicChildren:E,dirs:L}=d;w|=a.patchFlag&16;const T=a.props||Z,D=d.props||Z;let B;if(p&&xt(p,!1),(B=D.onVnodeBeforeUpdate)&&Ke(B,p,d,a),L&&At(d,a,p,"beforeUpdate"),p&&xt(p,!0),E&&(!a.dynamicChildren||a.dynamicChildren.length!==E.length)&&(w=0,A=!1,E=null),(T.innerHTML&&D.innerHTML==null||T.textContent&&D.textContent==null)&&u(S,""),E?Be(a.dynamicChildren,E,S,p,y,us(d,b),_):A||K(a,d,S,null,p,y,us(d,b),_,!1),w>0){if(w&16)pt(S,T,D,p,b);else if(w&2&&T.class!==D.class&&i(S,"class",null,D.class,b),w&4&&i(S,"style",T.style,D.style,b),w&8){const j=d.dynamicProps;for(let X=0;X<j.length;X++){const Y=j[X],ie=T[Y],fe=D[Y];(fe!==ie||Y==="value")&&i(S,Y,ie,fe,b,p)}}w&1&&a.children!==d.children&&u(S,d.children)}else!A&&E==null&&pt(S,T,D,p,b);((B=D.onVnodeUpdated)||L)&&xe(()=>{B&&Ke(B,p,d,a),L&&At(d,a,p,"updated")},y)},Be=(a,d,p,y,b,_,A)=>{for(let S=0;S<d.length;S++){const w=a[S],E=d[S],L=w.el&&(w.type===st||!en(w,E)||w.shapeFlag&198)?h(w.el):p;x(w,E,L,null,y,b,_,A,!0)}},pt=(a,d,p,y,b)=>{if(d!==p){if(d!==Z)for(const _ in d)!rn(_)&&!(_ in p)&&i(a,_,d[_],null,b,y);for(const _ in p){if(rn(_))continue;const A=p[_],S=d[_];A!==S&&_!=="value"&&i(a,_,S,A,b,y)}"value"in p&&i(a,"value",d.value,p.value,b)}},wt=(a,d,p,y,b,_,A,S,w)=>{const E=d.el=a?a.el:l(""),L=d.anchor=a?a.anchor:l("");let{patchFlag:T,dynamicChildren:D,slotScopeIds:B}=d;B&&(S=S?S.concat(B):B),a==null?(s(E,p,y),s(L,p,y),Fe(d.children||[],p,L,b,_,A,S,w)):T>0&&T&64&&D&&a.dynamicChildren&&a.dynamicChildren.length===D.length?(Be(a.dynamicChildren,D,p,b,_,A,S),(d.key!=null||b&&d===b.subTree)&&eo(a,d,!0)):K(a,d,p,L,b,_,A,S,w)},ke=(a,d,p,y,b,_,A,S,w)=>{d.slotScopeIds=S,a==null?d.shapeFlag&512?b.ctx.activate(d,p,y,A,w):Qt(d,p,y,b,_,A,w):It(a,d,w)},Qt=(a,d,p,y,b,_,A)=>{const S=a.component=hc(a,y,b);if(Xs(a)&&(S.ctx.renderer=M),gc(S,!1,A),S.asyncDep){if(b&&b.registerDep(S,ae,A),!a.el){const w=S.subTree=ue(ft);F(null,w,d,p),a.placeholder=w.el}}else ae(S,a,d,p,b,_,A)},It=(a,d,p)=>{const y=d.component=a.component;if(Jl(a,d,p))if(y.asyncDep&&!y.asyncResolved){J(y,d,p);return}else y.next=d,y.update();else d.el=a.el,y.vnode=d},ae=(a,d,p,y,b,_,A)=>{const S=()=>{if(a.isMounted){let{next:T,bu:D,u:B,parent:j,vnode:X}=a;{const je=to(a);if(je){T&&(T.el=X.el,J(a,T,A)),je.asyncDep.then(()=>{xe(()=>{a.isUnmounted||E()},b)});return}}let Y=T,ie;xt(a,!1),T?(T.el=X.el,J(a,T,A)):T=X,D&&Cn(D),(ie=T.props&&T.props.onVnodeBeforeUpdate)&&Ke(ie,j,T,X),xt(a,!0);const fe=vr(a),Ue=a.subTree;a.subTree=fe,x(Ue,fe,h(Ue.el),v(Ue),a,b,_),T.el=fe.el,Y===null&&Yl(a,fe.el),B&&xe(B,b),(ie=T.props&&T.props.onVnodeUpdated)&&xe(()=>Ke(ie,j,T,X),b)}else{let T;const{el:D,props:B}=d,{bm:j,m:X,parent:Y,root:ie,type:fe}=a,Ue=an(d);xt(a,!1),j&&Cn(j),!Ue&&(T=B&&B.onVnodeBeforeMount)&&Ke(T,Y,d),xt(a,!0);{ie.ce&&ie.ce._hasShadowRoot()&&ie.ce._injectChildStyle(fe,a.parent?a.parent.type:void 0);const je=a.subTree=vr(a);x(null,je,p,y,a,b,_),d.el=je.el}if(X&&xe(X,b),!Ue&&(T=B&&B.onVnodeMounted)){const je=d;xe(()=>Ke(T,Y,je),b)}(d.shapeFlag&256||Y&&an(Y.vnode)&&Y.vnode.shapeFlag&256)&&a.a&&xe(a.a,b),a.isMounted=!0,d=p=y=null}};a.scope.on();const w=a.effect=new fi(S);a.scope.off();const E=a.update=w.run.bind(w),L=a.job=w.runIfDirty.bind(w);L.i=a,L.id=a.uid,w.scheduler=()=>Ys(L),xt(a,!0),E()},J=(a,d,p)=>{d.component=a;const y=a.vnode.props;a.vnode=d,a.next=null,Xl(a,d.props,y,p),nc(a,d.children,p),ct(),ur(a),at()},K=(a,d,p,y,b,_,A,S,w=!1)=>{const E=a&&a.children,L=a?a.shapeFlag:0,T=d.children,{patchFlag:D,shapeFlag:B}=d;if(D>0){if(D&128){gt(E,T,p,y,b,_,A,S,w);return}else if(D&256){Qe(E,T,p,y,b,_,A,S,w);return}}B&8?(L&16&&Oe(E,b,_),T!==E&&u(p,T)):L&16?B&16?gt(E,T,p,y,b,_,A,S,w):Oe(E,b,_,!0):(L&8&&u(p,""),B&16&&Fe(T,p,y,b,_,A,S,w))},Qe=(a,d,p,y,b,_,A,S,w)=>{a=a||kt,d=d||kt;const E=a.length,L=d.length,T=Math.min(E,L);let D;for(D=0;D<T;D++){const B=d[D]=w?rt(d[D]):qe(d[D]);x(a[D],B,p,null,b,_,A,S,w)}E>L?Oe(a,b,_,!0,!1,T):Fe(d,p,y,b,_,A,S,w,T)},gt=(a,d,p,y,b,_,A,S,w)=>{let E=0;const L=d.length;let T=a.length-1,D=L-1;for(;E<=T&&E<=D;){const B=a[E],j=d[E]=w?rt(d[E]):qe(d[E]);if(en(B,j))x(B,j,p,null,b,_,A,S,w);else break;E++}for(;E<=T&&E<=D;){const B=a[T],j=d[D]=w?rt(d[D]):qe(d[D]);if(en(B,j))x(B,j,p,null,b,_,A,S,w);else break;T--,D--}if(E>T){if(E<=D){const B=D+1,j=B<L?d[B].el:y;for(;E<=D;)x(null,d[E]=w?rt(d[E]):qe(d[E]),p,j,b,_,A,S,w),E++}}else if(E>D)for(;E<=T;)Ae(a[E],b,_,!0),E++;else{const B=E,j=E,X=new Map;for(E=j;E<=D;E++){const Re=d[E]=w?rt(d[E]):qe(d[E]);Re.key!=null&&X.set(Re.key,E)}let Y,ie=0;const fe=D-j+1;let Ue=!1,je=0;const Xt=new Array(fe);for(E=0;E<fe;E++)Xt[E]=0;for(E=B;E<=T;E++){const Re=a[E];if(ie>=fe){Ae(Re,b,_,!0);continue}let Ge;if(Re.key!=null)Ge=X.get(Re.key);else for(Y=j;Y<=D;Y++)if(Xt[Y-j]===0&&en(Re,d[Y])){Ge=Y;break}Ge===void 0?Ae(Re,b,_,!0):(Xt[Ge-j]=E+1,Ge>=je?je=Ge:Ue=!0,x(Re,d[Ge],p,null,b,_,A,S,w),ie++)}const sr=Ue?oc(Xt):kt;for(Y=sr.length-1,E=fe-1;E>=0;E--){const Re=j+E,Ge=d[Re],rr=d[Re+1],ir=Re+1<L?rr.el||no(rr):y;Xt[E]===0?x(null,Ge,p,ir,b,_,A,S,w):Ue&&(Y<0||E!==sr[Y]?He(Ge,p,ir,2):Y--)}}},He=(a,d,p,y,b=null)=>{const{el:_,type:A,transition:S,children:w,shapeFlag:E}=a;if(E&6){He(a.component.subTree,d,p,y);return}if(E&128){a.suspense.move(d,p,y);return}if(E&64){A.move(a,d,p,M);return}if(A===st){s(_,d,p);for(let T=0;T<w.length;T++)He(w[T],d,p,y);s(a.anchor,d,p);return}if(A===fs){N(a,d,p);return}if(y!==2&&E&1&&S)if(y===0)S.persisted&&!_[cs]?s(_,d,p):(S.beforeEnter(_),s(_,d,p),xe(()=>S.enter(_),b));else{const{leave:T,delayLeave:D,afterLeave:B}=S,j=()=>{a.ctx.isUnmounted?r(_):s(_,d,p)},X=()=>{const Y=_._isLeaving||!!_[cs];_._isLeaving&&_[cs](!0),S.persisted&&!Y?j():T(_,()=>{j(),B&&B()})};D?D(_,j,X):X()}else s(_,d,p)},Ae=(a,d,p,y=!1,b=!1)=>{const{type:_,props:A,ref:S,children:w,dynamicChildren:E,shapeFlag:L,patchFlag:T,dirs:D,cacheIndex:B,memo:j}=a;if(T===-2&&(b=!1),S!=null&&(ct(),cn(S,null,p,a,!0),at()),B!=null&&(d.renderCache[B]=void 0),L&256){d.ctx.deactivate(a);return}const X=L&1&&D,Y=!an(a);let ie;if(Y&&(ie=A&&A.onVnodeBeforeUnmount)&&Ke(ie,d,a),L&6)St(a.component,p,y);else{if(L&128){a.suspense.unmount(p,y);return}X&&At(a,null,d,"beforeUnmount"),L&64?a.type.remove(a,d,p,M,y):E&&!E.hasOnce&&(_!==st||T>0&&T&64)?Oe(E,d,p,!1,!0):(_===st&&T&384||!b&&L&16)&&Oe(w,d,p),y&&Nt(a)}const fe=j!=null&&B==null;(Y&&(ie=A&&A.onVnodeUnmounted)||X||fe)&&xe(()=>{ie&&Ke(ie,d,a),X&&At(a,null,d,"unmounted"),fe&&(a.el=null)},p)},Nt=a=>{const{type:d,el:p,anchor:y,transition:b}=a;if(d===st){Mt(p,y);return}if(d===fs){O(a);return}const _=()=>{r(p),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(a.shapeFlag&1&&b&&!b.persisted){const{leave:A,delayLeave:S}=b,w=()=>A(p,_);S?S(a.el,_,w):w()}else _()},Mt=(a,d)=>{let p;for(;a!==d;)p=g(a),r(a),a=p;r(d)},St=(a,d,p)=>{const{bum:y,scope:b,job:_,subTree:A,um:S,m:w,a:E}=a;wr(w),wr(E),y&&Cn(y),b.stop(),_&&(_.flags|=8,Ae(A,a,d,p)),S&&xe(S,d),xe(()=>{a.isUnmounted=!0},d)},Oe=(a,d,p,y=!1,b=!1,_=0)=>{for(let A=_;A<a.length;A++)Ae(a[A],d,p,y,b)},v=a=>{if(a.shapeFlag&6)return v(a.component.subTree);if(a.shapeFlag&128)return a.suspense.next();const d=g(a.anchor||a.el),p=d&&d[bl];return p?g(p):d};let C=!1;const R=(a,d,p)=>{let y;a==null?d._vnode&&(Ae(d._vnode,null,null,!0),y=d._vnode.component):x(d._vnode||null,a,d,null,null,null,p),d._vnode=a,C||(C=!0,ur(y),Oi(),C=!1)},M={p:x,um:Ae,m:He,r:Nt,mt:Qt,mc:Fe,pc:K,pbc:Be,n:v,o:e};return{render:R,hydrate:void 0,createApp:Gl(R)}}function us({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 xt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ic(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function eo(e,t,n=!1){const s=e.children,r=t.children;if(V(s)&&V(r))for(let i=0;i<s.length;i++){const o=s[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=rt(r[i]),l.el=o.el),!n&&l.patchFlag!==-2&&eo(o,l)),l.type===Zn&&(l.patchFlag===-1&&(l=r[i]=rt(l)),l.el=o.el),l.type===ft&&!l.el&&(l.el=o.el)}}function oc(e){const t=e.slice(),n=[0];let s,r,i,o,l;const c=e.length;for(s=0;s<c;s++){const f=e[s];if(f!==0){if(r=n[n.length-1],e[r]<f){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<f?i=l+1:o=l;f<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function to(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:to(t)}function wr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function no(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?no(t.subTree):null}const so=e=>e.__isSuspense;function lc(e,t){t&&t.pendingBranch?V(e)?t.effects.push(...e):t.effects.push(e):ml(e)}const st=Symbol.for("v-fgt"),Zn=Symbol.for("v-txt"),ft=Symbol.for("v-cmt"),fs=Symbol.for("v-stc"),Ot=[];let Pe=null;function Ft(e=!1){Ot.push(Pe=e?null:[])}function ro(){Ot.pop(),Pe=Ot[Ot.length-1]||null}let gn=1;function Bn(e,t=!1){gn+=e,e<0&&Pe&&t&&(Pe.hasOnce=!0)}function io(e){return e.dynamicChildren=gn>0?Pe||kt:null,ro(),gn>0&&Pe&&Pe.push(e),e}function xn(e,t,n,s,r,i){return io(G(e,t,n,s,r,i,!0))}function oo(e,t,n,s,r){return io(ue(e,t,n,s,r,!0))}function kn(e){return e?e.__v_isVNode===!0:!1}function en(e,t){return e.type===t.type&&e.key===t.key}const lo=({key:e})=>e??null,Nn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?re(e)||_e(e)||H(e)?{i:Te,r:e,k:t,f:!!n}:e:null);function G(e,t=null,n=null,s=0,r=null,i=e===st?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&lo(t),ref:t&&Nn(t),scopeId:Ni,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:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Te};return l?(Hn(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=re(n)?8:16),gn>0&&!o&&Pe&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Pe.push(c),c}const ue=cc;function cc(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Dl)&&(e=ft),kn(e)){const l=Wt(e,t,!0);return n&&Hn(l,n),gn>0&&!i&&Pe&&(l.shapeFlag&6?Pe[Pe.indexOf(e)]=l:Pe.push(l)),l.patchFlag=-2,l}if(bc(e)&&(e=e.__vccOpts),t){t=ac(t);let{class:l,style:c}=t;l&&!re(l)&&(t.class=Ut(l)),z(c)&&(zs(c)&&!V(c)&&(c=pe({},c)),t.style=Hs(c))}const o=re(e)?1:so(e)?128:Yn(e)?64:z(e)?4:H(e)?2:0;return G(e,t,n,s,r,o,i,!0)}function ac(e){return e?zs(e)||zi(e)?pe({},e):e:null}function Wt(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,f=t?uc(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&lo(f),ref:t&&t.ref?n&&i?V(i)?i.concat(Nn(t)):[i,Nn(t)]:Nn(t):i,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!==st?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Wt(e.ssContent),ssFallback:e.ssFallback&&Wt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Qs(u,c.clone(u)),u}function co(e=" ",t=0){return ue(Zn,null,e,t)}function Rn(e="",t=!1){return t?(Ft(),oo(ft,null,e)):ue(ft,null,e)}function qe(e){return e==null||typeof e=="boolean"?ue(ft):V(e)?ue(st,null,e.slice()):kn(e)?rt(e):ue(Zn,null,String(e))}function rt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Wt(e)}function Hn(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(V(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Hn(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!zi(t)?t._ctx=Te:r===3&&Te&&(Te.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(H(t)){if(s&65){Hn(e,{default:t});return}t={default:t,_ctx:Te},n=32}else t=String(t),s&64?(n=16,t=[co(t)]):n=8;e.children=t,e.shapeFlag|=n}function uc(...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=Ut([t.class,s.class]));else if(r==="style")t.style=Hs([t.style,s.style]);else if(jn(r)){const i=t[r],o=s[r];o&&i!==o&&!(V(i)&&i.includes(o))?t[r]=i?[].concat(i,o):o:o==null&&i==null&&!Gn(r)&&(t[r]=o)}else r!==""&&(t[r]=s[r])}return t}function Ke(e,t,n,s=null){Le(e,t,7,[n,s])}const fc=Gi();let dc=0;function hc(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||fc,i={uid:dc++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Ho(!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:Yi(s,r),emitsOptions:Ki(s,r),emit:null,emitted:null,propsDefaults:Z,inheritAttrs:s.inheritAttrs,ctx:Z,data:Z,props:Z,attrs:Z,slots:Z,refs:Z,setupState:Z,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 i.ctx={_:i},i.root=t?t.root:i,i.emit=Wl.bind(null,i),e.ce&&e.ce(i),i}let me=null;const pc=()=>me||Te;let Un,mn;{const e=qn(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Un=t("__VUE_INSTANCE_SETTERS__",n=>me=n),mn=t("__VUE_SSR_SETTERS__",n=>_n=n)}const En=e=>{const t=me;return Un(e),e.scope.on(),()=>{e.scope.off(),Un(t)}},Sr=()=>{me&&me.scope.off(),Un(null)};function ao(e){return e.vnode.shapeFlag&4}let _n=!1;function gc(e,t=!1,n=!1){t&&mn(t);const{props:s,children:r}=e.vnode,i=ao(e);Ql(e,s,i,t),tc(e,r,n||t);const o=i?mc(e,t):void 0;return t&&mn(!1),o}function mc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Vl);const{setup:s}=n;if(s){ct();const r=e.setupContext=s.length>1?yc(e):null,i=En(e),o=bn(s,e,0,[e.props,r]),l=ri(o);if(at(),i(),(l||e.sp)&&!an(e)&&Fi(e),l){if(o.then(Sr,Sr),t)return o.then(c=>{mn(!0);try{Ar(e,c,t)}finally{mn(!1)}}).catch(c=>{Jn(c,e,0)});e.asyncDep=o}else Ar(e,o)}else uo(e)}function Ar(e,t,n){H(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:z(t)&&(e.setupState=Ti(t)),uo(e)}function uo(e,t,n){const s=e.type;e.render||(e.render=s.render||Je);{const r=En(e);ct();try{Fl(e)}finally{at(),r()}}}const _c={get(e,t){return ge(e,"get",""),e[t]}};function yc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,_c),slots:e.slots,emit:e.emit,expose:t}}function es(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ti(il(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in un)return un[n](e)},has(t,n){return n in t||n in un}})):e.proxy}function vc(e,t=!0){return H(e)?e.displayName||e.name:e.name||t&&e.__name}function bc(e){return H(e)&&"__vccOpts"in e}const we=(e,t)=>fl(e,t,_n);function fo(e,t,n){try{Bn(-1);const s=arguments.length;return s===2?z(t)&&!V(t)?kn(t)?ue(e,null,[t]):ue(e,t):ue(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&kn(n)&&(n=[n]),ue(e,t,n))}finally{Bn(1)}}const Ec="3.5.41";/**
|
|
* @vue/runtime-dom v3.5.41
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let Is;const xr=typeof window<"u"&&window.trustedTypes;if(xr)try{Is=xr.createPolicy("vue",{createHTML:e=>e})}catch{}const ho=Is?e=>Is.createHTML(e):e=>e,wc="http://www.w3.org/2000/svg",Sc="http://www.w3.org/1998/Math/MathML",nt=typeof document<"u"?document:null,Rr=nt&&nt.createElement("template"),Ac={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"?nt.createElementNS(wc,e):t==="mathml"?nt.createElementNS(Sc,e):n?nt.createElement(e,{is:n}):nt.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>nt.createTextNode(e),createComment:e=>nt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>nt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Rr.innerHTML=ho(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=Rr.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[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},xc=Symbol("_vtc");function Rc(e,t,n){const s=e[xc];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Tr=Symbol("_vod"),Tc=Symbol("_vsh"),Pc=Symbol(""),Cc=/(?:^|;)\s*display\s*:/;function Oc(e,t,n){const s=e.style,r=re(n);let i=!1;if(n&&!r){if(t)if(re(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&sn(s,l,"")}else for(const o in t)n[o]==null&&sn(s,o,"");for(const o in n){o==="display"&&(i=!0);const l=n[o];l!=null?Nc(e,o,!re(t)&&t?t[o]:void 0,l)||sn(s,o,l):sn(s,o,"")}}else if(r){if(t!==n){const o=s[Pc];o&&(n+=";"+o),s.cssText=n,i=Cc.test(n)}}else t&&e.removeAttribute("style");Tr in e&&(e[Tr]=i?s.display:"",e[Tc]&&(s.display="none"))}const Pr=/\s*!important$/;function sn(e,t,n){if(V(n))n.forEach(s=>sn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Ic(e,t);Pr.test(n)?e.setProperty(Et(s),n.replace(Pr,""),"important"):e[s]=n}}const Cr=["Webkit","Moz","ms"],ds={};function Ic(e,t){const n=ds[t];if(n)return n;let s=Se(t);if(s!=="filter"&&s in e)return ds[t]=s;s=Wn(s);for(let r=0;r<Cr.length;r++){const i=Cr[r]+s;if(i in e)return ds[t]=i}return t}function Nc(e,t,n,s){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&re(s)&&n===s}const Or="http://www.w3.org/1999/xlink";function Ir(e,t,n,s,r,i=Bo(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Or,t.slice(6,t.length)):e.setAttributeNS(Or,t,n):n==null||i&&!ci(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Ye(n)?String(n):n)}function Nr(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?ho(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="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 o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=ci(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(r||t)}function lt(e,t,n,s){e.addEventListener(t,n,s)}function Mc(e,t,n,s){e.removeEventListener(t,n,s)}const Mr=Symbol("_vei");function Dc(e,t,n,s,r=null){const i=e[Mr]||(e[Mr]={}),o=i[t];if(s&&o)o.value=s;else{const[l,c]=Fc(t);if(s){const f=i[t]=Hc(s,r);lt(e,l,f,c)}else o&&(Mc(e,l,o,c),i[t]=void 0)}}const Lc=/(Once|Passive|Capture)$/,Vc=/^on:?(?:Once|Passive|Capture)$/;function Fc(e){let t,n;for(;(n=e.match(Lc))&&!Vc.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):Et(e.slice(2)),t]}let hs=0;const Bc=Promise.resolve(),kc=()=>hs||(Bc.then(()=>hs=0),hs=Date.now());function Hc(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;const r=n.value;if(V(r)){const i=s.stopImmediatePropagation;s.stopImmediatePropagation=()=>{i.call(s),s._stopped=!0};const o=r.slice(),l=[s];for(let c=0;c<o.length&&!s._stopped;c++){const f=o[c];f&&Le(f,t,5,l)}}else Le(r,t,5,[s])};return n.value=e,n.attached=kc(),n}const Dr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Uc=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?Rc(e,s,o):t==="style"?Oc(e,n,s):jn(t)?Gn(t)||Dc(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):jc(e,t,s,o))?(Nr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ir(e,t,s,o,i,t!=="value")):e._isVueCE&&(Gc(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!re(s)))?Nr(e,Se(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Ir(e,t,s,o))};function jc(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Dr(t)&&H(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 Dr(t)&&re(n)?!1:t in e}function Gc(e,t){const n=e._def.props;if(!n)return!1;const s=Se(t);return Array.isArray(n)?n.some(r=>Se(r)===s):Object.keys(n).some(r=>Se(r)===s)}const bt=e=>{const t=e.props["onUpdate:modelValue"]||!1;return V(t)?n=>Cn(t,n):t};function Kc(e){e.target.composing=!0}function Lr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ce=Symbol("_assign"),Tn=Symbol("_initialValue");function ps(e,t,n){return t&&(e=e.trim()),n&&(e=$n(e)),e}const Vr={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e.parentNode&&(e.type==="text"?e[Tn]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[Tn]=e.defaultValue.replace(/\r\n?/g,`
|
|
`))),e[Ce]=bt(r);const i=s||r.props&&r.props.type==="number";lt(e,t?"change":"input",o=>{o.target.composing||e[Ce](ps(e.value,n,i))}),(n||i)&<(e,"change",()=>{e.value=ps(e.value,n,i)}),t||(lt(e,"compositionstart",Kc),lt(e,"compositionend",Lr),lt(e,"change",Lr))},mounted(e,{value:t,modifiers:{trim:n,number:s}}){const r=t??"",i=e[Tn];delete e[Tn],i!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==i?e[Ce](ps(e.value,n,s)):e.value=r},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[Ce]=bt(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?$n(e.value):e.value,c=t??"";if(l===c)return;const f=e.getRootNode();(f instanceof Document||f instanceof ShadowRoot)&&f.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c)}},Wc={deep:!0,created(e,t,n){e[Ce]=bt(n),lt(e,"change",()=>{const s=e._modelValue,r=$t(e),i=e.checked,o=e[Ce];if(V(s)){const l=Us(s,r),c=l!==-1;if(i&&!c)o(s.concat(r));else if(!i&&c){const f=[...s];f.splice(l,1),o(f)}}else if(Jt(s)){const l=new Set(s);i?l.add(r):l.delete(r),o(l)}else o(po(e,i))})},mounted:Fr,beforeUpdate(e,t,n){e[Ce]=bt(n),Fr(e,t,n)}};function Fr(e,{value:t,oldValue:n},s){e._modelValue=t;let r;if(V(t))r=Us(t,s.props.value)>-1;else if(Jt(t))r=t.has(s.props.value);else{if(t===n)return;r=vt(t,po(e,!0))}e.checked!==r&&(e.checked=r)}const $c={created(e,{value:t},n){e.checked=vt(t,n.props.value),e[Ce]=bt(n),lt(e,"change",()=>{e[Ce]($t(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[Ce]=bt(s),t!==n&&(e.checked=vt(t,s.props.value))}},qc={deep:!0,created(e,{value:t,modifiers:{number:n}},s){e._modelValue=t,lt(e,"change",()=>{const r=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?$n($t(i)):$t(i));e[Ce](e.multiple?Jt(e._modelValue)?new Set(r):r:r[0]),e._assigning=!0,Js(()=>{e._assigning=!1})}),e[Ce]=bt(s)},mounted(e,{value:t}){Br(e,t)},beforeUpdate(e,{value:t},n){e._modelValue=t,e[Ce]=bt(n)},updated(e,{value:t}){e._assigning||Br(e,t)}};function Br(e,t){const n=e.multiple,s=V(t);if(!(n&&!s&&!Jt(t))){for(let r=0,i=e.options.length;r<i;r++){const o=e.options[r],l=$t(o);if(n)if(s){const c=typeof l;c==="string"||c==="number"?o.selected=t.some(f=>String(f)===String(l)):o.selected=Us(t,l)>-1}else o.selected=t.has(l);else if(vt($t(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function $t(e){return"_value"in e?e._value:e.value}function po(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Pu={created(e,t,n){Pn(e,t,n,null,"created")},mounted(e,t,n){Pn(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){Pn(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){Pn(e,t,n,s,"updated")}};function zc(e,t){switch(e){case"SELECT":return qc;case"TEXTAREA":return Vr;default:switch(t){case"checkbox":return Wc;case"radio":return $c;default:return Vr}}}function Pn(e,t,n,s,r){const o=zc(e.tagName,n.props&&n.props.type)[r];o&&o(e,t,n,s)}const Jc=["ctrl","shift","alt","meta"],Yc={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)=>Jc.some(n=>e[`${n}Key`]&&!t.includes(n))},Cu=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...i)=>{for(let o=0;o<t.length;o++){const l=Yc[t[o]];if(l&&l(r,t))return}return e(r,...i)})},Qc={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Ou=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const i=Et(r.key);if(t.some(o=>o===i||Qc[o]===i))return e(r)})},Xc=pe({patchProp:Uc},Ac);let kr;function Zc(){return kr||(kr=sc(Xc))}const ea=(...e)=>{const t=Zc().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=na(s);if(!r)return;const i=t._component;!H(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,ta(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function ta(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function na(e){return re(e)?document.querySelector(e):e}/*!
|
|
* vue-router v4.6.4
|
|
* (c) 2025 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/const Bt=typeof document<"u";function go(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function sa(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&go(e.default)}const W=Object.assign;function gs(e,t){const n={};for(const s in t){const r=t[s];n[s]=Ve(r)?r.map(e):e(r)}return n}const fn=()=>{},Ve=Array.isArray;function Hr(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const mo=/#/g,ra=/&/g,ia=/\//g,oa=/=/g,la=/\?/g,_o=/\+/g,ca=/%5B/g,aa=/%5D/g,yo=/%5E/g,ua=/%60/g,vo=/%7B/g,fa=/%7C/g,bo=/%7D/g,da=/%20/g;function tr(e){return e==null?"":encodeURI(""+e).replace(fa,"|").replace(ca,"[").replace(aa,"]")}function ha(e){return tr(e).replace(vo,"{").replace(bo,"}").replace(yo,"^")}function Ns(e){return tr(e).replace(_o,"%2B").replace(da,"+").replace(mo,"%23").replace(ra,"%26").replace(ua,"`").replace(vo,"{").replace(bo,"}").replace(yo,"^")}function pa(e){return Ns(e).replace(oa,"%3D")}function ga(e){return tr(e).replace(mo,"%23").replace(la,"%3F")}function ma(e){return ga(e).replace(ia,"%2F")}function yn(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const _a=/\/$/,ya=e=>e.replace(_a,"");function ms(e,t,n="/"){let s,r={},i="",o="";const l=t.indexOf("#");let c=t.indexOf("?");return c=l>=0&&c>l?-1:c,c>=0&&(s=t.slice(0,c),i=t.slice(c,l>0?l:t.length),r=e(i.slice(1))),l>=0&&(s=s||t.slice(0,l),o=t.slice(l,t.length)),s=wa(s??t,n),{fullPath:s+i+o,path:s,query:r,hash:yn(o)}}function va(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ur(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function ba(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&qt(t.matched[s],n.matched[r])&&Eo(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function qt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Eo(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Ea(e[n],t[n]))return!1;return!0}function Ea(e,t){return Ve(e)?jr(e,t):Ve(t)?jr(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function jr(e,t){return Ve(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function wa(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 i=n.length-1,o,l;for(o=0;o<s.length;o++)if(l=s[o],l!==".")if(l==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o).join("/")}const mt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Ms=function(e){return e.pop="pop",e.push="push",e}({}),_s=function(e){return e.back="back",e.forward="forward",e.unknown="",e}({});function Sa(e){if(!e)if(Bt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),ya(e)}const Aa=/^[^#]+#/;function xa(e,t){return e.replace(Aa,"#")+t}function Ra(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 ts=()=>({left:window.scrollX,top:window.scrollY});function Ta(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=Ra(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 Gr(e,t){return(history.state?history.state.position-t:-1)+e}const Ds=new Map;function Pa(e,t){Ds.set(e,t)}function Ca(e){const t=Ds.get(e);return Ds.delete(e),t}function Oa(e){return typeof e=="string"||e&&typeof e=="object"}function wo(e){return typeof e=="string"||typeof e=="symbol"}let se=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 So=Symbol("");se.MATCHER_NOT_FOUND+"",se.NAVIGATION_GUARD_REDIRECT+"",se.NAVIGATION_ABORTED+"",se.NAVIGATION_CANCELLED+"",se.NAVIGATION_DUPLICATED+"";function zt(e,t){return W(new Error,{type:e,[So]:!0},t)}function Ze(e,t){return e instanceof Error&&So in e&&(t==null||!!(e.type&t))}const Ia=["params","query","hash"];function Na(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Ia)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function Ma(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(_o," "),i=r.indexOf("="),o=yn(i<0?r:r.slice(0,i)),l=i<0?null:yn(r.slice(i+1));if(o in t){let c=t[o];Ve(c)||(c=t[o]=[c]),c.push(l)}else t[o]=l}return t}function Kr(e){let t="";for(let n in e){const s=e[n];if(n=pa(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Ve(s)?s.map(r=>r&&Ns(r)):[s&&Ns(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function Da(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Ve(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const La=Symbol(""),Wr=Symbol(""),ns=Symbol(""),nr=Symbol(""),Ls=Symbol("");function tn(){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 yt(e,t,n,s,r,i=o=>o()){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const f=g=>{g===!1?c(zt(se.NAVIGATION_ABORTED,{from:n,to:t})):g instanceof Error?c(g):Oa(g)?c(zt(se.NAVIGATION_GUARD_REDIRECT,{from:t,to:g})):(o&&s.enterCallbacks[r]===o&&typeof g=="function"&&o.push(g),l())},u=i(()=>e.call(s&&s.instances[r],t,n,f));let h=Promise.resolve(u);e.length<3&&(h=h.then(f)),h.catch(g=>c(g))})}function ys(e,t,n,s,r=i=>i()){const i=[];for(const o of e)for(const l in o.components){let c=o.components[l];if(!(t!=="beforeRouteEnter"&&!o.instances[l]))if(go(c)){const f=(c.__vccOpts||c)[t];f&&i.push(yt(f,n,s,o,l,r))}else{let f=c();i.push(()=>f.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${l}" at "${o.path}"`);const h=sa(u)?u.default:u;o.mods[l]=u,o.components[l]=h;const g=(h.__vccOpts||h)[t];return g&&yt(g,n,s,o,l,r)()}))}}return i}function Va(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const l=t.matched[o];l&&(e.matched.find(f=>qt(f,l))?s.push(l):n.push(l));const c=e.matched[o];c&&(t.matched.find(f=>qt(f,c))||r.push(c))}return[n,s,r]}/*!
|
|
* vue-router v4.6.4
|
|
* (c) 2025 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/let Fa=()=>location.protocol+"//"+location.host;function Ao(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let o=r.includes(e.slice(i))?e.slice(i).length:1,l=r.slice(o);return l[0]!=="/"&&(l="/"+l),Ur(l,"")}return Ur(n,e)+s+r}function Ba(e,t,n,s){let r=[],i=[],o=null;const l=({state:g})=>{const m=Ao(e,location),I=n.value,x=t.value;let k=0;if(g){if(n.value=m,t.value=g,o&&o===I){o=null;return}k=x?g.position-x.position:0}else s(m);r.forEach(F=>{F(n.value,I,{delta:k,type:Ms.pop,direction:k?k>0?_s.forward:_s.back:_s.unknown})})};function c(){o=n.value}function f(g){r.push(g);const m=()=>{const I=r.indexOf(g);I>-1&&r.splice(I,1)};return i.push(m),m}function u(){if(document.visibilityState==="hidden"){const{history:g}=window;if(!g.state)return;g.replaceState(W({},g.state,{scroll:ts()}),"")}}function h(){for(const g of i)g();i=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:c,listen:f,destroy:h}}function $r(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?ts():null}}function ka(e){const{history:t,location:n}=window,s={value:Ao(e,n)},r={value:t.state};r.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(c,f,u){const h=e.indexOf("#"),g=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+c:Fa()+e+c;try{t[u?"replaceState":"pushState"](f,"",g),r.value=f}catch(m){console.error(m),n[u?"replace":"assign"](g)}}function o(c,f){i(c,W({},t.state,$r(r.value.back,c,r.value.forward,!0),f,{position:r.value.position}),!0),s.value=c}function l(c,f){const u=W({},r.value,t.state,{forward:c,scroll:ts()});i(u.current,u,!0),i(c,W({},$r(s.value,c,null),{position:u.position+1},f),!1),s.value=c}return{location:s,state:r,push:l,replace:o}}function Ha(e){e=Sa(e);const t=ka(e),n=Ba(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=W({location:"",base:e,go:s,createHref:xa.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 Tt=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var le=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}(le||{});const Ua={type:Tt.Static,value:""},ja=/[a-zA-Z0-9_]/;function Ga(e){if(!e)return[[]];if(e==="/")return[[Ua]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${f}": ${m}`)}let n=le.Static,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let l=0,c,f="",u="";function h(){f&&(n===le.Static?i.push({type:Tt.Static,value:f}):n===le.Param||n===le.ParamRegExp||n===le.ParamRegExpEnd?(i.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),i.push({type:Tt.Param,value:f,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),f="")}function g(){f+=c}for(;l<e.length;){if(c=e[l++],c==="\\"&&n!==le.ParamRegExp){s=n,n=le.EscapeNext;continue}switch(n){case le.Static:c==="/"?(f&&h(),o()):c===":"?(h(),n=le.Param):g();break;case le.EscapeNext:g(),n=s;break;case le.Param:c==="("?n=le.ParamRegExp:ja.test(c)?g():(h(),n=le.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--);break;case le.ParamRegExp:c===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+c:n=le.ParamRegExpEnd:u+=c;break;case le.ParamRegExpEnd:h(),n=le.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--,u="";break;default:t("Unknown state");break}}return n===le.ParamRegExp&&t(`Unfinished custom RegExp for param "${f}"`),h(),o(),r}const qr="[^/]+?",Ka={sensitive:!1,strict:!1,start:!0,end:!0};var be=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}(be||{});const Wa=/[.+*?^${}()[\]/\\]/g;function $a(e,t){const n=W({},Ka,t),s=[];let r=n.start?"^":"";const i=[];for(const f of e){const u=f.length?[]:[be.Root];n.strict&&!f.length&&(r+="/");for(let h=0;h<f.length;h++){const g=f[h];let m=be.Segment+(n.sensitive?be.BonusCaseSensitive:0);if(g.type===Tt.Static)h||(r+="/"),r+=g.value.replace(Wa,"\\$&"),m+=be.Static;else if(g.type===Tt.Param){const{value:I,repeatable:x,optional:k,regexp:F}=g;i.push({name:I,repeatable:x,optional:k});const P=F||qr;if(P!==qr){m+=be.BonusCustomRegExp;try{`${P}`}catch(O){throw new Error(`Invalid custom RegExp for param "${I}" (${P}): `+O.message)}}let N=x?`((?:${P})(?:/(?:${P}))*)`:`(${P})`;h||(N=k&&f.length<2?`(?:/${N})`:"/"+N),k&&(N+="?"),r+=N,m+=be.Dynamic,k&&(m+=be.BonusOptional),x&&(m+=be.BonusRepeatable),P===".*"&&(m+=be.BonusWildcard)}u.push(m)}s.push(u)}if(n.strict&&n.end){const f=s.length-1;s[f][s[f].length-1]+=be.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const o=new RegExp(r,n.sensitive?"":"i");function l(f){const u=f.match(o),h={};if(!u)return null;for(let g=1;g<u.length;g++){const m=u[g]||"",I=i[g-1];h[I.name]=m&&I.repeatable?m.split("/"):m}return h}function c(f){let u="",h=!1;for(const g of e){(!h||!u.endsWith("/"))&&(u+="/"),h=!1;for(const m of g)if(m.type===Tt.Static)u+=m.value;else if(m.type===Tt.Param){const{value:I,repeatable:x,optional:k}=m,F=I in f?f[I]:"";if(Ve(F)&&!x)throw new Error(`Provided param "${I}" is an array but it is not repeatable (* or + modifiers)`);const P=Ve(F)?F.join("/"):F;if(!P)if(k)g.length<2&&(u.endsWith("/")?u=u.slice(0,-1):h=!0);else throw new Error(`Missing required param "${I}"`);u+=P}}return u||"/"}return{re:o,score:s,keys:i,parse:l,stringify:c}}function qa(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]===be.Static+be.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===be.Static+be.Segment?1:-1:0}function xo(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=qa(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(zr(s))return 1;if(zr(r))return-1}return r.length-s.length}function zr(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const za={strict:!1,end:!0,sensitive:!1};function Ja(e,t,n){const s=$a(Ga(e.path),n),r=W(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Ya(e,t){const n=[],s=new Map;t=Hr(za,t);function r(h){return s.get(h)}function i(h,g,m){const I=!m,x=Yr(h);x.aliasOf=m&&m.record;const k=Hr(t,h),F=[x];if("alias"in h){const O=typeof h.alias=="string"?[h.alias]:h.alias;for(const Q of O)F.push(Yr(W({},x,{components:m?m.record.components:x.components,path:Q,aliasOf:m?m.record:x})))}let P,N;for(const O of F){const{path:Q}=O;if(g&&Q[0]!=="/"){const oe=g.record.path,ne=oe[oe.length-1]==="/"?"":"/";O.path=g.record.path+(Q&&ne+Q)}if(P=Ja(O,g,k),m?m.alias.push(P):(N=N||P,N!==P&&N.alias.push(P),I&&h.name&&!Qr(P)&&o(h.name)),Ro(P)&&c(P),x.children){const oe=x.children;for(let ne=0;ne<oe.length;ne++)i(oe[ne],P,m&&m.children[ne])}m=m||P}return N?()=>{o(N)}:fn}function o(h){if(wo(h)){const g=s.get(h);g&&(s.delete(h),n.splice(n.indexOf(g),1),g.children.forEach(o),g.alias.forEach(o))}else{const g=n.indexOf(h);g>-1&&(n.splice(g,1),h.record.name&&s.delete(h.record.name),h.children.forEach(o),h.alias.forEach(o))}}function l(){return n}function c(h){const g=Za(h,n);n.splice(g,0,h),h.record.name&&!Qr(h)&&s.set(h.record.name,h)}function f(h,g){let m,I={},x,k;if("name"in h&&h.name){if(m=s.get(h.name),!m)throw zt(se.MATCHER_NOT_FOUND,{location:h});k=m.record.name,I=W(Jr(g.params,m.keys.filter(N=>!N.optional).concat(m.parent?m.parent.keys.filter(N=>N.optional):[]).map(N=>N.name)),h.params&&Jr(h.params,m.keys.map(N=>N.name))),x=m.stringify(I)}else if(h.path!=null)x=h.path,m=n.find(N=>N.re.test(x)),m&&(I=m.parse(x),k=m.record.name);else{if(m=g.name?s.get(g.name):n.find(N=>N.re.test(g.path)),!m)throw zt(se.MATCHER_NOT_FOUND,{location:h,currentLocation:g});k=m.record.name,I=W({},g.params,h.params),x=m.stringify(I)}const F=[];let P=m;for(;P;)F.unshift(P.record),P=P.parent;return{name:k,path:x,params:I,matched:F,meta:Xa(F)}}e.forEach(h=>i(h));function u(){n.length=0,s.clear()}return{addRoute:i,resolve:f,removeRoute:o,clearRoutes:u,getRoutes:l,getRecordMatcher:r}}function Jr(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Yr(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Qa(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 Qa(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 Qr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Xa(e){return e.reduce((t,n)=>W(t,n.meta),{})}function Za(e,t){let n=0,s=t.length;for(;n!==s;){const i=n+s>>1;xo(e,t[i])<0?s=i:n=i+1}const r=eu(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function eu(e){let t=e;for(;t=t.parent;)if(Ro(t)&&xo(e,t)===0)return t}function Ro({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Xr(e){const t=Me(ns),n=Me(nr),s=we(()=>{const c=ce(e.to);return t.resolve(c)}),r=we(()=>{const{matched:c}=s.value,{length:f}=c,u=c[f-1],h=n.matched;if(!u||!h.length)return-1;const g=h.findIndex(qt.bind(null,u));if(g>-1)return g;const m=Zr(c[f-2]);return f>1&&Zr(u)===m&&h[h.length-1].path!==m?h.findIndex(qt.bind(null,c[f-2])):g}),i=we(()=>r.value>-1&&iu(n.params,s.value.params)),o=we(()=>r.value>-1&&r.value===n.matched.length-1&&Eo(n.params,s.value.params));function l(c={}){if(ru(c)){const f=t[ce(e.replace)?"replace":"push"](ce(e.to)).catch(fn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:s,href:we(()=>s.value.href),isActive:i,isExactActive:o,navigate:l}}function tu(e){return e.length===1?e[0]:e}const nu=Vi({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:Xr,setup(e,{slots:t}){const n=Yt(Xr(e)),{options:s}=Me(ns),r=we(()=>({[ei(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[ei(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&tu(t.default(n));return e.custom?i:fo("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),su=nu;function ru(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 iu(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(!Ve(r)||r.length!==s.length||s.some((i,o)=>i.valueOf()!==r[o].valueOf()))return!1}return!0}function Zr(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ei=(e,t,n)=>e??t??n,ou=Vi({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Me(Ls),r=we(()=>e.route||s.value),i=Me(Wr,0),o=we(()=>{let f=ce(i);const{matched:u}=r.value;let h;for(;(h=u[f])&&!h.components;)f++;return f}),l=we(()=>r.value.matched[o.value]);On(Wr,we(()=>o.value+1)),On(La,l),On(Ls,r);const c=ol();return In(()=>[c.value,l.value,e.name],([f,u,h],[g,m,I])=>{u&&(u.instances[h]=f,m&&m!==u&&f&&f===g&&(u.leaveGuards.size||(u.leaveGuards=m.leaveGuards),u.updateGuards.size||(u.updateGuards=m.updateGuards))),f&&u&&(!m||!qt(u,m)||!g)&&(u.enterCallbacks[h]||[]).forEach(x=>x(f))},{flush:"post"}),()=>{const f=r.value,u=e.name,h=l.value,g=h&&h.components[u];if(!g)return ti(n.default,{Component:g,route:f});const m=h.props[u],I=m?m===!0?f.params:typeof m=="function"?m(f):m:null,k=fo(g,W({},I,t,{onVnodeUnmounted:F=>{F.component.isUnmounted&&(h.instances[u]=null)},ref:c}));return ti(n.default,{Component:k,route:f})||k}}});function ti(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const lu=ou;function cu(e){const t=Ya(e.routes,e),n=e.parseQuery||Ma,s=e.stringifyQuery||Kr,r=e.history,i=tn(),o=tn(),l=tn(),c=ll(mt);let f=mt;Bt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=gs.bind(null,v=>""+v),h=gs.bind(null,ma),g=gs.bind(null,yn);function m(v,C){let R,M;return wo(v)?(R=t.getRecordMatcher(v),M=C):M=v,t.addRoute(M,R)}function I(v){const C=t.getRecordMatcher(v);C&&t.removeRoute(C)}function x(){return t.getRoutes().map(v=>v.record)}function k(v){return!!t.getRecordMatcher(v)}function F(v,C){if(C=W({},C||c.value),typeof v=="string"){const p=ms(n,v,C.path),y=t.resolve({path:p.path},C),b=r.createHref(p.fullPath);return W(p,y,{params:g(y.params),hash:yn(p.hash),redirectedFrom:void 0,href:b})}let R;if(v.path!=null)R=W({},v,{path:ms(n,v.path,C.path).path});else{const p=W({},v.params);for(const y in p)p[y]==null&&delete p[y];R=W({},v,{params:h(p)}),C.params=h(C.params)}const M=t.resolve(R,C),U=v.hash||"";M.params=u(g(M.params));const a=va(s,W({},v,{hash:ha(U),path:M.path})),d=r.createHref(a);return W({fullPath:a,hash:U,query:s===Kr?Da(v.query):v.query||{}},M,{redirectedFrom:void 0,href:d})}function P(v){return typeof v=="string"?ms(n,v,c.value.path):W({},v)}function N(v,C){if(f!==v)return zt(se.NAVIGATION_CANCELLED,{from:C,to:v})}function O(v){return ne(v)}function Q(v){return O(W(P(v),{replace:!0}))}function oe(v,C){const R=v.matched[v.matched.length-1];if(R&&R.redirect){const{redirect:M}=R;let U=typeof M=="function"?M(v,C):M;return typeof U=="string"&&(U=U.includes("?")||U.includes("#")?U=P(U):{path:U},U.params={}),W({query:v.query,hash:v.hash,params:U.path!=null?{}:v.params},U)}}function ne(v,C){const R=f=F(v),M=c.value,U=v.state,a=v.force,d=v.replace===!0,p=oe(R,M);if(p)return ne(W(P(p),{state:typeof p=="object"?W({},U,p.state):U,force:a,replace:d}),C||R);const y=R;y.redirectedFrom=C;let b;return!a&&ba(s,M,R)&&(b=zt(se.NAVIGATION_DUPLICATED,{to:y,from:M}),He(M,M,!0,!1)),(b?Promise.resolve(b):Be(y,M)).catch(_=>Ze(_)?Ze(_,se.NAVIGATION_GUARD_REDIRECT)?_:gt(_):K(_,y,M)).then(_=>{if(_){if(Ze(_,se.NAVIGATION_GUARD_REDIRECT))return ne(W({replace:d},P(_.to),{state:typeof _.to=="object"?W({},U,_.to.state):U,force:a}),C||y)}else _=wt(y,M,!0,d,U);return pt(y,M,_),_})}function Fe(v,C){const R=N(v,C);return R?Promise.reject(R):Promise.resolve()}function ht(v){const C=Mt.values().next().value;return C&&typeof C.runWithContext=="function"?C.runWithContext(v):v()}function Be(v,C){let R;const[M,U,a]=Va(v,C);R=ys(M.reverse(),"beforeRouteLeave",v,C);for(const p of M)p.leaveGuards.forEach(y=>{R.push(yt(y,v,C))});const d=Fe.bind(null,v,C);return R.push(d),Oe(R).then(()=>{R=[];for(const p of i.list())R.push(yt(p,v,C));return R.push(d),Oe(R)}).then(()=>{R=ys(U,"beforeRouteUpdate",v,C);for(const p of U)p.updateGuards.forEach(y=>{R.push(yt(y,v,C))});return R.push(d),Oe(R)}).then(()=>{R=[];for(const p of a)if(p.beforeEnter)if(Ve(p.beforeEnter))for(const y of p.beforeEnter)R.push(yt(y,v,C));else R.push(yt(p.beforeEnter,v,C));return R.push(d),Oe(R)}).then(()=>(v.matched.forEach(p=>p.enterCallbacks={}),R=ys(a,"beforeRouteEnter",v,C,ht),R.push(d),Oe(R))).then(()=>{R=[];for(const p of o.list())R.push(yt(p,v,C));return R.push(d),Oe(R)}).catch(p=>Ze(p,se.NAVIGATION_CANCELLED)?p:Promise.reject(p))}function pt(v,C,R){l.list().forEach(M=>ht(()=>M(v,C,R)))}function wt(v,C,R,M,U){const a=N(v,C);if(a)return a;const d=C===mt,p=Bt?history.state:{};R&&(M||d?r.replace(v.fullPath,W({scroll:d&&p&&p.scroll},U)):r.push(v.fullPath,U)),c.value=v,He(v,C,R,d),gt()}let ke;function Qt(){ke||(ke=r.listen((v,C,R)=>{if(!St.listening)return;const M=F(v),U=oe(M,St.currentRoute.value);if(U){ne(W(U,{replace:!0,force:!0}),M).catch(fn);return}f=M;const a=c.value;Bt&&Pa(Gr(a.fullPath,R.delta),ts()),Be(M,a).catch(d=>Ze(d,se.NAVIGATION_ABORTED|se.NAVIGATION_CANCELLED)?d:Ze(d,se.NAVIGATION_GUARD_REDIRECT)?(ne(W(P(d.to),{force:!0}),M).then(p=>{Ze(p,se.NAVIGATION_ABORTED|se.NAVIGATION_DUPLICATED)&&!R.delta&&R.type===Ms.pop&&r.go(-1,!1)}).catch(fn),Promise.reject()):(R.delta&&r.go(-R.delta,!1),K(d,M,a))).then(d=>{d=d||wt(M,a,!1),d&&(R.delta&&!Ze(d,se.NAVIGATION_CANCELLED)?r.go(-R.delta,!1):R.type===Ms.pop&&Ze(d,se.NAVIGATION_ABORTED|se.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),pt(M,a,d)}).catch(fn)}))}let It=tn(),ae=tn(),J;function K(v,C,R){gt(v);const M=ae.list();return M.length?M.forEach(U=>U(v,C,R)):console.error(v),Promise.reject(v)}function Qe(){return J&&c.value!==mt?Promise.resolve():new Promise((v,C)=>{It.add([v,C])})}function gt(v){return J||(J=!v,Qt(),It.list().forEach(([C,R])=>v?R(v):C()),It.reset()),v}function He(v,C,R,M){const{scrollBehavior:U}=e;if(!Bt||!U)return Promise.resolve();const a=!R&&Ca(Gr(v.fullPath,0))||(M||!R)&&history.state&&history.state.scroll||null;return Js().then(()=>U(v,C,a)).then(d=>d&&Ta(d)).catch(d=>K(d,v,C))}const Ae=v=>r.go(v);let Nt;const Mt=new Set,St={currentRoute:c,listening:!0,addRoute:m,removeRoute:I,clearRoutes:t.clearRoutes,hasRoute:k,getRoutes:x,resolve:F,options:e,push:O,replace:Q,go:Ae,back:()=>Ae(-1),forward:()=>Ae(1),beforeEach:i.add,beforeResolve:o.add,afterEach:l.add,onError:ae.add,isReady:Qe,install(v){v.component("RouterLink",su),v.component("RouterView",lu),v.config.globalProperties.$router=St,Object.defineProperty(v.config.globalProperties,"$route",{enumerable:!0,get:()=>ce(c)}),Bt&&!Nt&&c.value===mt&&(Nt=!0,O(r.location).catch(M=>{}));const C={};for(const M in mt)Object.defineProperty(C,M,{get:()=>c.value[M],enumerable:!0});v.provide(ns,St),v.provide(nr,xi(C)),v.provide(Ls,c);const R=v.unmount;Mt.add(v),v.unmount=function(){Mt.delete(v),Mt.size<1&&(f=mt,ke&&ke(),ke=null,c.value=mt,Nt=!1,J=!1),R()}}};function Oe(v){return v.reduce((C,R)=>C.then(()=>ht(R)),Promise.resolve())}return St}function au(){return Me(ns)}function uu(e){return Me(nr)}const Vs="st_token";function To(){return localStorage.getItem(Vs)}function vs(e){e?localStorage.setItem(Vs,e):localStorage.removeItem(Vs)}async function te(e,t,n,s=!1){const r={},i=To();i&&(r.Authorization=`Bearer ${i}`);let o=n;!s&&n!==void 0&&n!==null&&(r["Content-Type"]="application/json",o=JSON.stringify(n));const l=await fetch(t,{method:e,headers:r,body:o});let c=null;try{c=await l.json()}catch{}if(!l.ok){const f=c&&(c.error||c.message)||`HTTP ${l.status}`;throw new Error(f)}return c}const bs={login:(e,t)=>te("POST","/api/auth/login",{username:e,password:t}),me:()=>te("GET","/api/auth/me"),setup:e=>te("POST","/api/auth/setup",e),changePassword:e=>te("POST","/api/auth/change-password",e),updateProfile:e=>te("PUT","/api/auth/profile",e),adminCreateUser:e=>te("POST","/api/admin/users",e),adminListUsers:()=>te("GET","/api/admin/users"),adminUpdateUser:(e,t)=>te("PUT",`/api/admin/users/${e}`,t),createGroup:e=>te("POST","/api/groups",e,!0),listGroups:()=>te("GET","/api/groups"),getGroup:e=>te("GET",`/api/groups/${e}`),analyzeGroup:e=>te("POST",`/api/groups/${e}/analyze`),listPersonas:e=>te("GET",`/api/groups/${e}/personas`),getPersona:(e,t)=>te("GET",`/api/groups/${e}/personas/${t}`),updatePersona:(e,t,n)=>te("PUT",`/api/groups/${e}/personas/${t}`,n),chatStart:(e,t)=>te("POST",`/api/chat/${e}/personas/${t}/chat/start`),chatSend:(e,t,n)=>te("POST",`/api/chat/${e}/personas/${t}/chat/send`,{text:n}),chatFinish:(e,t)=>te("POST",`/api/chat/${e}/personas/${t}/chat/finish`),mySessions:()=>te("GET","/api/chat/sessions"),myBoard:()=>te("GET","/api/me/board"),weakAreas:()=>te("GET","/api/me/weak-areas"),myPersonas:()=>te("GET","/api/me/personas"),generatePersona:e=>te("POST","/api/me/personas/generate",e),analytics:()=>te("GET","/api/analytics"),analyticsWithQuery:e=>te("GET",`/api/analytics${e}`)},he=Yt({user:null,token:To(),mustSetup:!1,get role(){return this.user?this.user.role:null},get isAdmin(){return this.role==="admin"||this.role==="super_admin"},async load(){var e;if(!this.token)return null;try{const t=await bs.me();return this.user=t.user,this.mustSetup=!!((e=t.user)!=null&&e.must_setup),this.user}catch{return this.user=null,this.mustSetup=!1,vs(null),null}},async login(e,t){const n=await bs.login(e,t);return this.token=n.token,vs(n.token),this.user=n.user,this.mustSetup=!!n.must_setup,n.user},async finishSetup(e,t){const n=await bs.setup({username:this.user.username||this.user.id,email:e,password:t});return this.user=n.user,this.mustSetup=!1,n.user},logout(){this.user=null,this.token=null,this.mustSetup=!1,vs(null)}}),Es={en:{app:"Sales Trainer",login:"Login",logout:"Logout",username:"Username",email:"Email",password:"Password",newPassword:"New password",confirmPassword:"Confirm password",save:"Save",passwordTooShort:"Password must be at least 4 characters",passwordMismatch:"Passwords do not match",setupTitle:"Set up your account",setupSubtitle:"First login for ",loginError:"Invalid credentials",dashboard:"Dashboard",groups:"Persona Groups",myTraining:"My Training",adminTools:"Admin Tools",users:"Users",analytics:"Analytics",groupBuilder:"Group Builder",create:"Create",analyze:"Analyze",manual:"Manual",edit:"Edit",product:"Product",segment:"Initial customer segment (optional)",description:"Additional description / scenario (optional)",channel:"Channel",facebook:"Facebook",line:"LINE",language:"Language",thai:"Thai",english:"English",personas:"Personas",tierA:"Tier A — Ready to buy",tierB:"Tier B — Unsure",tierC:"Tier C — Not interested but has pain",selectPersona:"Select a persona to practice",chat:"Chat",start:"Start",send:"Send",finish:"Finish & get result",debrief:"Result & Coaching",won:"Won",lost:"Lost",notTried:"Not tried",score:"Score",pain:"Pain",why:"Reason",reveal:"Revealed persona details",generatePersona:"Generate my persona",weakAreas:"My weak areas",mySessions:"My sessions",openSaleTask:"The customer did NOT message first. You must open the sale.",sellerInitiated:"You must open the sale (outbound)",customerInitiated:"The customer will message you first",tabAdminDash:"Overview",tabMyDash:"My Dashboard",tabTraining:"Training",settings:"Settings",settingsTitle:"Settings",settingsProfile:"Profile",settingsSecurity:"Change password",settingsProfileDesc:"Update your display name and email.",settingsSecurityDesc:"Change your account password.",displayName:"Display name",currentPassword:"Current password",changePassword:"Change password",passwordChanged:"Password changed successfully",profileSaved:"Profile saved successfully",currentPasswordWrong:"Current password is incorrect",account:"Account",status:"Status",role:"Role",noData:"No data yet"},th:{app:"ตัวฝึกขาย",login:"เข้าสู่ระบบ",logout:"ออกจากระบบ",username:"ชื่อผู้ใช้",email:"อีเมล",password:"รหัสผ่าน",newPassword:"รหัสผ่านใหม่",confirmPassword:"ยืนยันรหัสผ่าน",save:"บันทึก",passwordTooShort:"รหัสผ่านต้องอย่างน้อย 4 ตัวอักษร",passwordMismatch:"รหัสผ่านไม่ตรงกัน",setupTitle:"ตั้งค่าบัญชีของคุณ",setupSubtitle:"เข้าสู่ระบบครั้งแรกสำหรับ ",loginError:"ชื่อผู้ใช้หรือรหัสผ่านไม่ถูกต้อง",dashboard:"หน้าหลัก",groups:"กลุ่มลูกค้า (Persona)",myTraining:"การฝึกของฉัน",adminTools:"เครื่องมือ Admin",users:"ผู้ใช้",analytics:"สถิติ",groupBuilder:"สร้างกลุ่มลูกค้า",create:"สร้าง",analyze:"วิเคราะห์",manual:"กำหนดเอง",edit:"แก้ไข",product:"สินค้า/บริการ",segment:"กลุ่มลูกค้าเบื้องต้น (ไม่บังคับ)",description:"คำอธิบาย/สถานการณ์เพิ่มเติม (ไม่บังคับ)",channel:"ช่องทาง",facebook:"Facebook",line:"LINE",language:"ภาษา",thai:"ไทย",english:"อังกฤษ",personas:"Persona",tierA:"ระดับ A — ตั้งใจซื้อ",tierB:"ระดับ B — ยังไม่แน่ใจ",tierC:"ระดับ C — ไม่สนใจแต่มี pain",selectPersona:"เลือก persona เพื่อฝึก",chat:"แชท",start:"เริ่ม",send:"ส่ง",finish:"สรุปผล",debrief:"ผลลัพธ์และคำแนะนำ",won:"ขายได้",lost:"ขายไม่ได้",notTried:"ยังไม่ได้ฝึก",score:"คะแนน",pain:"Pain",why:"เหตุผล",reveal:"ข้อมูล persona ที่ถูกซ่อนไว้",generatePersona:"สร้าง persona ของฉัน",weakAreas:"จุดที่ฉันแพ้บ่อย",mySessions:"การฝึกของฉัน",openSaleTask:"ลูกค้ายังไม่ได้ทักมา คุณต้องเป็นฝ่ายเปิดการขายเอง",sellerInitiated:"คุณต้องเปิดการขาย (เชิงรุก)",customerInitiated:"ลูกค้าจะทักมาเองก่อน",tabAdminDash:"ภาพรวม",tabMyDash:"แดชบอร์ดของฉัน",tabTraining:"การฝึก",settings:"ตั้งค่า",settingsTitle:"ตั้งค่า",settingsProfile:"โปรไฟล์",settingsSecurity:"เปลี่ยนรหัสผ่าน",settingsProfileDesc:"อัปเดตชื่อและอีเมลของคุณ",settingsSecurityDesc:"เปลี่ยนรหัสผ่านบัญชีของคุณ",displayName:"ชื่อที่แสดง",currentPassword:"รหัสผ่านปัจจุบัน",changePassword:"เปลี่ยนรหัสผ่าน",passwordChanged:"เปลี่ยนรหัสผ่านสำเร็จ",profileSaved:"บันทึกโปรไฟล์สำเร็จ",currentPasswordWrong:"รหัสผ่านปัจจุบันไม่ถูกต้อง",account:"บัญชี",status:"สถานะ",role:"บทบาท",noData:"ยังไม่มีข้อมูล"}},et=Yt({locale:localStorage.getItem("locale")||"th",t(e){return Es[this.locale]&&Es[this.locale][e]||Es.en[e]||e},set(e){this.locale=e,localStorage.setItem("locale",e)}}),fu={class:"shell"},du={key:0,class:"shell-header"},hu={class:"shell-actions"},pu={class:"shell-user"},gu={class:"avatar"},mu={class:"muted"},_u={key:0,class:"badge"},yu=["title"],vu={key:1,class:"tabbar","aria-label":"Main"},bu={class:"shell-main"},Eu={__name:"App",setup(e){const t=au(),n=uu(),s=we(()=>{var u,h;return(((u=he.user)==null?void 0:u.name)||((h=he.user)==null?void 0:h.username)||"?").trim().slice(0,1).toUpperCase()}),r=we(()=>n.path==="/"),i=we(()=>n.path.startsWith("/my")),o=we(()=>n.path.startsWith("/training"));function l(){et.set(et.locale==="th"?"en":"th")}function c(){he.logout(),t.push("/login")}return ki(()=>{he.token&&!he.user&&he.load()}),(f,u)=>{const h=hr("router-link"),g=hr("router-view");return Ft(),xn("div",fu,[ce(he).user?(Ft(),xn("header",du,[ue(h,{to:"/",class:"shell-brand"},{default:Vt(()=>[u[0]||(u[0]=G("span",{class:"logo"},"🎯",-1)),co(" "+tt(ce(et).t("app")),1)]),_:1}),G("div",hu,[G("button",{onClick:l,class:"lang"},tt(ce(et).locale==="th"?"EN":"TH"),1),G("div",pu,[G("span",gu,tt(s.value),1),G("span",mu,tt(ce(he).user.name),1),ce(he).isAdmin?(Ft(),xn("span",_u,tt(ce(he).role),1)):Rn("",!0)]),ue(h,{to:"/settings",class:"icon-btn",title:ce(et).t("settings"),"aria-label":"Settings"},{default:Vt(()=>[...u[1]||(u[1]=[G("svg",{class:"icon-16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[G("circle",{cx:"12",cy:"12",r:"3"}),G("path",{d:"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 1 1-4 0v-.09a1.65 1.65 0 0 0-1-1.51 1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 1 1 0-4h.09a1.65 1.65 0 0 0 1.51-1 1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33h0a1.65 1.65 0 0 0 1-1.51V3a2 2 0 1 1 4 0v.09a1.65 1.65 0 0 0 1 1.51h0a1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82v0a1.65 1.65 0 0 0 1.51 1H21a2 2 0 1 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z"})],-1)])]),_:1},8,["title"]),G("button",{class:"icon-btn",onClick:c,title:ce(et).t("logout"),"aria-label":"Logout"},[...u[2]||(u[2]=[G("svg",{class:"icon-16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[G("path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"}),G("polyline",{points:"16 17 21 12 16 7"}),G("line",{x1:"21",y1:"12",x2:"9",y2:"12"})],-1)])],8,yu)])])):Rn("",!0),ce(he).user?(Ft(),xn("nav",vu,[ce(he).isAdmin?(Ft(),oo(h,{key:0,to:"/",class:Ut(["tab",{active:r.value}])},{default:Vt(()=>[u[3]||(u[3]=G("svg",{class:"tab-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[G("path",{d:"M3 3v18h18"}),G("path",{d:"M18 17V9"}),G("path",{d:"M13 17V5"}),G("path",{d:"M8 17v-3"})],-1)),G("span",null,tt(ce(et).t("tabAdminDash")),1)]),_:1},8,["class"])):Rn("",!0),ue(h,{to:"/my/board",class:Ut(["tab",{active:i.value}])},{default:Vt(()=>[u[4]||(u[4]=G("svg",{class:"tab-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[G("circle",{cx:"12",cy:"7",r:"4"}),G("path",{d:"M5 21v-2a7 7 0 0 1 14 0v2"})],-1)),G("span",null,tt(ce(et).t("tabMyDash")),1)]),_:1},8,["class"]),ue(h,{to:"/training",class:Ut(["tab",{active:o.value}])},{default:Vt(()=>[u[5]||(u[5]=G("svg",{class:"tab-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[G("path",{d:"M4 19.5A2.5 2.5 0 0 1 6.5 17H20"}),G("path",{d:"M4 19.5V5a2 2 0 0 1 2-2h13a1 1 0 0 1 1 1v13.5"}),G("path",{d:"M9 7h6"}),G("path",{d:"M9 11h4"})],-1)),G("span",null,tt(ce(et).t("tabTraining")),1)]),_:1},8,["class"])])):Rn("",!0),G("main",bu,[ue(g)])])}}},wu="modulepreload",Su=function(e){return"/"+e},ni={},ye=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),l=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));r=Promise.allSettled(n.map(c=>{if(c=Su(c),c in ni)return;ni[c]=!0;const f=c.endsWith(".css"),u=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${u}`))return;const h=document.createElement("link");if(h.rel=f?"stylesheet":wu,f||(h.as="script"),h.crossOrigin="",h.href=c,l&&h.setAttribute("nonce",l),document.head.appendChild(h),f)return new Promise((g,m)=>{h.addEventListener("load",g),h.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(o){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o}return r.then(o=>{for(const l of o||[])l.status==="rejected"&&i(l.reason);return t().catch(i)})},Au=[{path:"/login",component:()=>ye(()=>import("./Login-B9kRT3Au.js"),__vite__mapDeps([0,1,2])),meta:{public:!0}},{path:"/setup",component:()=>ye(()=>import("./Setup-BN6K74g6.js"),__vite__mapDeps([3,1,4]))},{path:"/",component:()=>ye(()=>import("./Dashboard-DYRZN6Ut.js"),[]),meta:{admin:!0}},{path:"/my/board",component:()=>ye(()=>import("./MyBoard-FXk4x7AF.js"),[])},{path:"/my/sessions",component:()=>ye(()=>import("./MySessions-DePM3ACg.js"),[])},{path:"/my/weak-areas",component:()=>ye(()=>import("./WeakAreas-D4pzX9E5.js"),__vite__mapDeps([5,1,6]))},{path:"/my/generate",component:()=>ye(()=>import("./GenPersona-C6rMCac6.js"),__vite__mapDeps([7,1,8]))},{path:"/training",component:()=>ye(()=>import("./Training-BV7L6DKk.js"),__vite__mapDeps([9,1,10]))},{path:"/groups/:gid/personas",component:()=>ye(()=>import("./Personas-hA5thick.js"),__vite__mapDeps([11,1,12]))},{path:"/groups/:gid/chat/:pid",component:()=>ye(()=>import("./Chat-D-rkKKd4.js"),__vite__mapDeps([13,1,14]))},{path:"/settings",component:()=>ye(()=>import("./Settings-D6D_gNDm.js"),[])},{path:"/admin/new-group",component:()=>ye(()=>import("./GroupBuilder-sLZNwdMq.js"),[]),meta:{admin:!0}},{path:"/admin/groups/:gid/edit",component:()=>ye(()=>import("./GroupEdit-Cb7ZBl3o.js"),__vite__mapDeps([15,1,16])),meta:{admin:!0}},{path:"/admin/users",component:()=>ye(()=>import("./AdminUsers-D6GzLMgo.js"),[]),meta:{admin:!0}},{path:"/admin/analytics",component:()=>ye(()=>import("./Analytics-D4Q7AW2d.js"),__vite__mapDeps([17,1,18])),meta:{admin:!0}}],Po=cu({history:Ha(),routes:Au});function xu(e){return!!(e&&e.must_setup)}Po.beforeEach(async e=>e.meta.public?!0:(he.user||await he.load(),he.user?xu(he.user)&&e.path!=="/setup"?{path:"/setup"}:e.meta.admin&&!he.isAdmin?{path:"/my/board"}:!0:{path:"/login",query:{redirect:e.fullPath}}));ea(Eu).use(Po).mount("#app");export{Cu as A,Yt as B,qc as C,st as F,G as a,Ou as b,xn as c,Pu as d,Rn as e,he as f,au as g,uu as h,et as i,co as j,ki as k,ue as l,Vt as m,Tu as n,Ft as o,bs as p,hr as q,ol as r,we as s,tt as t,ce as u,Vr as v,Ru as w,Ut as x,oo as y,Js as z};
|