From 17d9560748a7bb29597cf9a88bab8deb5bbe2027 Mon Sep 17 00:00:00 2001 From: tofulm Date: Mon, 31 Mar 2025 15:32:20 +0200 Subject: [PATCH 1/2] feat: ajout possibilite vidanger le localstorage via une global `gamuza_version_demandee` --- dist/.vite/manifest.json | 2 +- dist/assets/gamutable-Cq_WjPEr.js | 51 ------------------------------ dist/assets/gamutable-DbZfumel.js | 52 +++++++++++++++++++++++++++++++ gamutable_fonctions.php | 17 ++++++++++ gamutable_options.php | 5 ++- inclure/gamutable.html | 6 ++++ src/components/gamuTable.vue | 16 ++++++++++ vite.config.js | 1 + 8 files changed, 97 insertions(+), 53 deletions(-) delete mode 100644 dist/assets/gamutable-Cq_WjPEr.js create mode 100644 dist/assets/gamutable-DbZfumel.js diff --git a/dist/.vite/manifest.json b/dist/.vite/manifest.json index ecfa4bb..b4d68f9 100644 --- a/dist/.vite/manifest.json +++ b/dist/.vite/manifest.json @@ -1,6 +1,6 @@ { "gamutable.js": { - "file": "assets/gamutable-Cq_WjPEr.js", + "file": "assets/gamutable-DbZfumel.js", "name": "gamutable", "src": "gamutable.js", "isEntry": true diff --git a/dist/assets/gamutable-Cq_WjPEr.js b/dist/assets/gamutable-Cq_WjPEr.js deleted file mode 100644 index fdce8d3..0000000 --- a/dist/assets/gamutable-Cq_WjPEr.js +++ /dev/null @@ -1,51 +0,0 @@ -function lf(e,t){for(var n=0;ns[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))s(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const r={};return i.integrity&&(r.integrity=i.integrity),i.referrerPolicy&&(r.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?r.credentials="include":i.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(i){if(i.ep)return;i.ep=!0;const r=n(i);fetch(i.href,r)}})();/** -* @vue/shared v3.4.32 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function kt(e,t){const n=new Set(e.split(","));return t?s=>n.has(s.toLowerCase()):s=>n.has(s)}const Ne={},es=[],et=()=>{},vi=()=>!1,Kn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),co=e=>e.startsWith("onUpdate:"),Re=Object.assign,uo=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},af=Object.prototype.hasOwnProperty,ke=(e,t)=>af.call(e,t),se=Array.isArray,ts=e=>vs(e)==="[object Map]",qn=e=>vs(e)==="[object Set]",sl=e=>vs(e)==="[object Date]",cf=e=>vs(e)==="[object RegExp]",ge=e=>typeof e=="function",be=e=>typeof e=="string",xt=e=>typeof e=="symbol",Fe=e=>e!==null&&typeof e=="object",fo=e=>(Fe(e)||ge(e))&&ge(e.then)&&ge(e.catch),ma=Object.prototype.toString,vs=e=>ma.call(e),uf=e=>vs(e).slice(8,-1),ya=e=>vs(e)==="[object Object]",ho=e=>be(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,hn=kt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ff=kt("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Ji=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},df=/-(\w)/g,Ue=Ji(e=>e.replace(df,(t,n)=>n?n.toUpperCase():"")),hf=/\B([A-Z])/g,bt=Ji(e=>e.replace(hf,"-$1").toLowerCase()),Wn=Ji(e=>e.charAt(0).toUpperCase()+e.slice(1)),ns=Ji(e=>e?`on${Wn(e)}`:""),$t=(e,t)=>!Object.is(e,t),ss=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},xi=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ki=e=>{const t=be(e)?Number(e):NaN;return isNaN(t)?e:t};let il;const ba=()=>il||(il=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),pf="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error",gf=kt(pf);function Hs(e){if(se(e)){const t={};for(let n=0;n{if(n){const s=n.split(yf);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ze(e){let t="";if(be(e))t=e;else if(se(e))for(let n=0;nvn(n,t))}const Ca=e=>!!(e&&e.__v_isRef===!0),It=e=>be(e)?e:e==null?"":se(e)||Fe(e)&&(e.toString===ma||!ge(e.toString))?Ca(e)?It(e.value):JSON.stringify(e,Ea,2):String(e),Ea=(e,t)=>Ca(t)?Ea(e,t.value):ts(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,i],r)=>(n[mr(s,r)+" =>"]=i,n),{})}:qn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>mr(n))}:xt(t)?mr(t):Fe(t)&&!se(t)&&!ya(t)?String(t):t,mr=(e,t="")=>{var n;return xt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** -* @vue/reactivity v3.4.32 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let Et;class po{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Et,!t&&Et&&(this.index=(Et.scopes||(Et.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Et;try{return Et=this,t()}finally{Et=n}}}on(){Et=this}off(){Et=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Tn()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=pn,n=Ln;try{return pn=!0,Ln=this,this._runnings++,rl(this),this.fn()}finally{ol(this),this._runnings--,Ln=n,pn=t}}stop(){this.active&&(rl(this),ol(this),this.onStop&&this.onStop(),this.active=!1)}}function Mf(e){return e.value}function rl(e){e._trackId++,e._depsLength=0}function ol(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{n.dirty&&n.run()});t&&(Re(n,t),t.scope&&Ta(n,t.scope)),(!t||!t.lazy)&&n.run();const s=n.run.bind(n);return s.effect=n,s}function Pf(e){e.effect.stop()}let pn=!0,Or=0;const xa=[];function En(){xa.push(pn),pn=!1}function Tn(){const e=xa.pop();pn=e===void 0?!0:e}function go(){Or++}function mo(){for(Or--;!Or&&Ar.length;)Ar.shift()()}function ka(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const s=e.deps[e._depsLength];s!==t?(s&&wa(s,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Ar=[];function Oa(e,t,n){go();for(const s of e.keys()){let i;s._dirtyLevel{const n=new Map;return n.cleanup=e,n.computed=t,n},Oi=new WeakMap,Pn=Symbol(""),Nr=Symbol("");function St(e,t,n){if(pn&&Ln){let s=Oi.get(e);s||Oi.set(e,s=new Map);let i=s.get(n);i||s.set(n,i=Aa(()=>s.delete(n))),ka(Ln,i)}}function Xt(e,t,n,s,i,r){const o=Oi.get(e);if(!o)return;let l=[];if(t==="clear")l=[...o.values()];else if(n==="length"&&se(e)){const a=Number(s);o.forEach((c,f)=>{(f==="length"||!xt(f)&&f>=a)&&l.push(c)})}else switch(n!==void 0&&l.push(o.get(n)),t){case"add":se(e)?ho(n)&&l.push(o.get("length")):(l.push(o.get(Pn)),ts(e)&&l.push(o.get(Nr)));break;case"delete":se(e)||(l.push(o.get(Pn)),ts(e)&&l.push(o.get(Nr)));break;case"set":ts(e)&&l.push(o.get(Pn));break}go();for(const a of l)a&&Oa(a,4);mo()}function Ff(e,t){const n=Oi.get(e);return n&&n.get(t)}const Bf=kt("__proto__,__v_isRef,__isVue"),Na=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(xt)),ll=Df();function Df(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=xe(this);for(let r=0,o=this.length;r{e[t]=function(...n){En(),go();const s=xe(this)[t].apply(this,n);return mo(),Tn(),s}}),e}function $f(e){xt(e)||(e=String(e));const t=xe(this);return St(t,"has",e),t.hasOwnProperty(e)}class Ra{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const i=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return r;if(n==="__v_raw")return s===(i?r?Da:Ba:r?Fa:Pa).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=se(t);if(!i){if(o&&ke(ll,n))return Reflect.get(ll,n,s);if(n==="hasOwnProperty")return $f}const l=Reflect.get(t,n,s);return(xt(n)?Na.has(n):Bf(n))||(i||St(t,"get",n),r)?l:je(l)?o&&ho(n)?l:l.value:Fe(l)?i?vo(l):Us(l):l}}class Ma extends Ra{constructor(t=!1){super(!1,t)}set(t,n,s,i){let r=t[n];if(!this._isShallow){const a=bn(r);if(!Vn(s)&&!bn(s)&&(r=xe(r),s=xe(s)),!se(t)&&je(r)&&!je(s))return a?!1:(r.value=s,!0)}const o=se(t)&&ho(n)?Number(n)e,Yi=e=>Reflect.getPrototypeOf(e);function ti(e,t,n=!1,s=!1){e=e.__v_raw;const i=xe(e),r=xe(t);n||($t(t,r)&&St(i,"get",t),St(i,"get",r));const{has:o}=Yi(i),l=s?yo:n?_o:As;if(o.call(i,t))return l(e.get(t));if(o.call(i,r))return l(e.get(r));e!==i&&e.get(t)}function ni(e,t=!1){const n=this.__v_raw,s=xe(n),i=xe(e);return t||($t(e,i)&&St(s,"has",e),St(s,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function si(e,t=!1){return e=e.__v_raw,!t&&St(xe(e),"iterate",Pn),Reflect.get(e,"size",e)}function al(e,t=!1){!t&&!Vn(e)&&!bn(e)&&(e=xe(e));const n=xe(this);return Yi(n).has.call(n,e)||(n.add(e),Xt(n,"add",e,e)),this}function cl(e,t,n=!1){!n&&!Vn(t)&&!bn(t)&&(t=xe(t));const s=xe(this),{has:i,get:r}=Yi(s);let o=i.call(s,e);o||(e=xe(e),o=i.call(s,e));const l=r.call(s,e);return s.set(e,t),o?$t(t,l)&&Xt(s,"set",e,t):Xt(s,"add",e,t),this}function ul(e){const t=xe(this),{has:n,get:s}=Yi(t);let i=n.call(t,e);i||(e=xe(e),i=n.call(t,e)),s&&s.call(t,e);const r=t.delete(e);return i&&Xt(t,"delete",e,void 0),r}function fl(){const e=xe(this),t=e.size!==0,n=e.clear();return t&&Xt(e,"clear",void 0,void 0),n}function ii(e,t){return function(s,i){const r=this,o=r.__v_raw,l=xe(o),a=t?yo:e?_o:As;return!e&&St(l,"iterate",Pn),o.forEach((c,f)=>s.call(i,a(c),a(f),r))}}function ri(e,t,n){return function(...s){const i=this.__v_raw,r=xe(i),o=ts(r),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,c=i[e](...s),f=n?yo:t?_o:As;return!t&&St(r,"iterate",a?Nr:Pn),{next(){const{value:d,done:y}=c.next();return y?{value:d,done:y}:{value:l?[f(d[0]),f(d[1])]:f(d),done:y}},[Symbol.iterator](){return this}}}}function sn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Kf(){const e={get(r){return ti(this,r)},get size(){return si(this)},has:ni,add:al,set:cl,delete:ul,clear:fl,forEach:ii(!1,!1)},t={get(r){return ti(this,r,!1,!0)},get size(){return si(this)},has:ni,add(r){return al.call(this,r,!0)},set(r,o){return cl.call(this,r,o,!0)},delete:ul,clear:fl,forEach:ii(!1,!0)},n={get(r){return ti(this,r,!0)},get size(){return si(this,!0)},has(r){return ni.call(this,r,!0)},add:sn("add"),set:sn("set"),delete:sn("delete"),clear:sn("clear"),forEach:ii(!0,!1)},s={get(r){return ti(this,r,!0,!0)},get size(){return si(this,!0)},has(r){return ni.call(this,r,!0)},add:sn("add"),set:sn("set"),delete:sn("delete"),clear:sn("clear"),forEach:ii(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=ri(r,!1,!1),n[r]=ri(r,!0,!1),t[r]=ri(r,!1,!0),s[r]=ri(r,!0,!0)}),[e,n,t,s]}const[qf,Wf,zf,Gf]=Kf();function Qi(e,t){const n=t?e?Gf:zf:e?Wf:qf;return(s,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?s:Reflect.get(ke(n,i)&&i in s?n:s,i,r)}const Jf={get:Qi(!1,!1)},Zf={get:Qi(!1,!0)},Yf={get:Qi(!0,!1)},Qf={get:Qi(!0,!0)},Pa=new WeakMap,Fa=new WeakMap,Ba=new WeakMap,Da=new WeakMap;function Xf(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ed(e){return e.__v_skip||!Object.isExtensible(e)?0:Xf(uf(e))}function Us(e){return bn(e)?e:Xi(e,!1,Vf,Jf,Pa)}function $a(e){return Xi(e,!1,Hf,Zf,Fa)}function vo(e){return Xi(e,!0,jf,Yf,Ba)}function td(e){return Xi(e,!0,Uf,Qf,Da)}function Xi(e,t,n,s,i){if(!Fe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=i.get(e);if(r)return r;const o=ed(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return i.set(e,l),l}function Fn(e){return bn(e)?Fn(e.__v_raw):!!(e&&e.__v_isReactive)}function bn(e){return!!(e&&e.__v_isReadonly)}function Vn(e){return!!(e&&e.__v_isShallow)}function bo(e){return e?!!e.__v_raw:!1}function xe(e){const t=e&&e.__v_raw;return t?xe(t):e}function Va(e){return Object.isExtensible(e)&&va(e,"__v_skip",!0),e}const As=e=>Fe(e)?Us(e):e,_o=e=>Fe(e)?vo(e):e;class ja{constructor(t,n,s,i){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new as(()=>t(this._value),()=>is(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=s}get value(){const t=xe(this);return(!t._cacheable||t.effect.dirty)&&$t(t._value,t._value=t.effect.run())&&is(t,4),So(t),t.effect._dirtyLevel>=2&&is(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function nd(e,t,n=!1){let s,i;const r=ge(e);return r?(s=e,i=et):(s=e.get,i=e.set),new ja(s,i,r||!i,n)}function So(e){var t;pn&&Ln&&(e=xe(e),ka(Ln,(t=e.dep)!=null?t:e.dep=Aa(()=>e.dep=void 0,e instanceof ja?e:void 0)))}function is(e,t=4,n,s){e=xe(e);const i=e.dep;i&&Oa(i,t)}function je(e){return!!(e&&e.__v_isRef===!0)}function me(e){return Ha(e,!1)}function sd(e){return Ha(e,!0)}function Ha(e,t){return je(e)?e:new id(e,t)}class id{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:xe(t),this._value=n?t:As(t)}get value(){return So(this),this._value}set value(t){const n=this.__v_isShallow||Vn(t)||bn(t);t=n?t:xe(t),$t(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:As(t),is(this,4))}}function rd(e){is(e,4)}function re(e){return je(e)?e.value:e}function od(e){return ge(e)?e():re(e)}const ld={get:(e,t,n)=>re(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const i=e[t];return je(i)&&!je(n)?(i.value=n,!0):Reflect.set(e,t,n,s)}};function Co(e){return Fn(e)?e:new Proxy(e,ld)}class ad{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=t(()=>So(this),()=>is(this));this._get=n,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function Ua(e){return new ad(e)}function cd(e){const t=se(e)?new Array(e.length):{};for(const n in e)t[n]=Ka(e,n);return t}class ud{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Ff(xe(this._object),this._key)}}class fd{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Cs(e,t,n){return je(e)?e:ge(e)?new fd(e):Fe(e)&&arguments.length>1?Ka(e,t,n):me(e)}function Ka(e,t,n){const s=e[t];return je(s)?s:new ud(e,t,n)}const dd={GET:"get",HAS:"has",ITERATE:"iterate"},hd={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"};/** -* @vue/runtime-core v3.4.32 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function pd(e,t){}const gd={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE"},md={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update"};function en(e,t,n,s){try{return s?e(...s):e()}catch(i){zn(i,t,n)}}function wt(e,t,n,s){if(ge(e)){const i=en(e,t,n,s);return i&&fo(i)&&i.catch(r=>{zn(r,t,n)}),i}if(se(e)){const i=[];for(let r=0;r>>1,i=ut[s],r=Rs(i);rUt&&ut.splice(t,1)}function Ai(e){se(e)?rs.push(...e):(!an||!an.includes(e,e.allowRecurse?On+1:On))&&rs.push(e),Wa()}function dl(e,t,n=Ns?Ut+1:0){for(;nRs(n)-Rs(s));if(rs.length=0,an){an.push(...t);return}for(an=t,On=0;One.id==null?1/0:e.id,_d=(e,t)=>{const n=Rs(e)-Rs(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function za(e){Rr=!1,Ns=!0,ut.sort(_d);try{for(Ut=0;UtQn.emit(i,...r)),oi=[]):typeof window<"u"&&window.HTMLElement&&!((s=(n=window.navigator)==null?void 0:n.userAgent)!=null&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(r=>{Ga(r,t)}),setTimeout(()=>{Qn||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,oi=[])},3e3)):oi=[]}let tt=null,tr=null;function Ms(e){const t=tt;return tt=e,tr=e&&e.type.__scopeId||null,t}function Sd(e){tr=e}function Cd(){tr=null}const Ed=e=>cs;function cs(e,t=tt,n){if(!t||e._n)return e;const s=(...i)=>{s._d&&jr(-1);const r=Ms(t);let o;try{o=e(...i)}finally{Ms(r),s._d&&jr(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function mt(e,t){if(tt===null)return e;const n=Zs(tt),s=e.dirs||(e.dirs=[]);for(let i=0;i{e.isMounted=!0}),rr(()=>{e.isUnmounting=!0}),e}const At=[Function,Array],Io={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:At,onEnter:At,onAfterEnter:At,onEnterCancelled:At,onBeforeLeave:At,onLeave:At,onAfterLeave:At,onLeaveCancelled:At,onBeforeAppear:At,onAppear:At,onAfterAppear:At,onAppearCancelled:At},Ja=e=>{const t=e.subTree;return t.component?Ja(t.component):t},Td={name:"BaseTransition",props:Io,setup(e,{slots:t}){const n=Wt(),s=To();return()=>{const i=t.default&&nr(t.default(),!0);if(!i||!i.length)return;let r=i[0];if(i.length>1){for(const y of i)if(y.type!==st){r=y;break}}const o=xe(e),{mode:l}=o;if(s.isLeaving)return yr(r);const a=hl(r);if(!a)return yr(r);let c=us(a,o,s,n,y=>c=y);_n(a,c);const f=n.subTree,d=f&&hl(f);if(d&&d.type!==st&&!Bt(a,d)&&Ja(n).type!==st){const y=us(d,o,s,n);if(_n(d,y),l==="out-in"&&a.type!==st)return s.isLeaving=!0,y.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},yr(r);l==="in-out"&&a.type!==st&&(y.delayLeave=(b,C,I)=>{const H=Ya(s,d);H[String(d.key)]=d,b[cn]=()=>{C(),b[cn]=void 0,delete c.delayedLeave},c.delayedLeave=I})}return r}}},Za=Td;function Ya(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function us(e,t,n,s,i){const{appear:r,mode:o,persisted:l=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:f,onEnterCancelled:d,onBeforeLeave:y,onLeave:b,onAfterLeave:C,onLeaveCancelled:I,onBeforeAppear:H,onAppear:q,onAfterAppear:N,onAppearCancelled:_}=t,k=String(e.key),R=Ya(n,e),E=(u,g)=>{u&&wt(u,s,9,g)},F=(u,g)=>{const T=g[1];E(u,g),se(u)?u.every(v=>v.length<=1)&&T():u.length<=1&&T()},p={mode:o,persisted:l,beforeEnter(u){let g=a;if(!n.isMounted)if(r)g=H||a;else return;u[cn]&&u[cn](!0);const T=R[k];T&&Bt(e,T)&&T.el[cn]&&T.el[cn](),E(g,[u])},enter(u){let g=c,T=f,v=d;if(!n.isMounted)if(r)g=q||c,T=N||f,v=_||d;else return;let O=!1;const K=u[li]=ee=>{O||(O=!0,ee?E(v,[u]):E(T,[u]),p.delayedLeave&&p.delayedLeave(),u[li]=void 0)};g?F(g,[u,K]):K()},leave(u,g){const T=String(e.key);if(u[li]&&u[li](!0),n.isUnmounting)return g();E(y,[u]);let v=!1;const O=u[cn]=K=>{v||(v=!0,g(),K?E(I,[u]):E(C,[u]),u[cn]=void 0,R[T]===e&&delete R[T])};R[T]=e,b?F(b,[u,O]):O()},clone(u){const g=us(u,t,n,s,i);return i&&i(g),g}};return p}function yr(e){if(Ks(e))return e=qt(e),e.children=null,e}function hl(e){if(!Ks(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ge(n.default))return n.default()}}function _n(e,t){e.shapeFlag&6&&e.component?_n(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function nr(e,t=!1,n){let s=[],i=0;for(let r=0;r1)for(let r=0;r!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Id(e){ge(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:i=200,timeout:r,suspensible:o=!0,onError:l}=e;let a=null,c,f=0;const d=()=>(f++,a=null,y()),y=()=>{let b;return a||(b=a=t().catch(C=>{if(C=C instanceof Error?C:new Error(String(C)),l)return new Promise((I,H)=>{l(C,()=>I(d()),()=>H(C),f+1)});throw C}).then(C=>b!==a&&a?a:(C&&(C.__esModule||C[Symbol.toStringTag]==="Module")&&(C=C.default),c=C,C)))};return sr({name:"AsyncComponentWrapper",__asyncLoader:y,get __asyncResolved(){return c},setup(){const b=Xe;if(c)return()=>vr(c,b);const C=N=>{a=null,zn(N,b,13,!s)};if(o&&b.suspense||Js)return y().then(N=>()=>vr(N,b)).catch(N=>(C(N),()=>s?Be(s,{error:N}):null));const I=me(!1),H=me(),q=me(!!i);return i&&setTimeout(()=>{q.value=!1},i),r!=null&&setTimeout(()=>{if(!I.value&&!H.value){const N=new Error(`Async component timed out after ${r}ms.`);C(N),H.value=N}},r),y().then(()=>{I.value=!0,b.parent&&Ks(b.parent.vnode)&&(b.parent.effect.dirty=!0,er(b.parent.update))}).catch(N=>{C(N),H.value=N}),()=>{if(I.value&&c)return vr(c,b);if(H.value&&s)return Be(s,{error:H.value});if(n&&!q.value)return Be(n)}}})}function vr(e,t){const{ref:n,props:s,children:i,ce:r}=t.vnode,o=Be(e,s,i);return o.ref=n,o.ce=r,delete t.vnode.ce,o}const Ks=e=>e.type.__isKeepAlive,wd={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Wt(),s=n.ctx;if(!s.renderer)return()=>{const N=t.default&&t.default();return N&&N.length===1?N[0]:N};const i=new Map,r=new Set;let o=null;const l=n.suspense,{renderer:{p:a,m:c,um:f,o:{createElement:d}}}=s,y=d("div");s.activate=(N,_,k,R,E)=>{const F=N.component;c(N,_,k,0,l),a(F.vnode,N,_,k,F,l,R,N.slotScopeIds,E),nt(()=>{F.isDeactivated=!1,F.a&&ss(F.a);const p=N.props&&N.props.onVnodeMounted;p&&yt(p,F.parent,N)},l)},s.deactivate=N=>{const _=N.component;Li(_.m),Li(_.a),c(N,y,null,1,l),nt(()=>{_.da&&ss(_.da);const k=N.props&&N.props.onVnodeUnmounted;k&&yt(k,_.parent,N),_.isDeactivated=!0},l)};function b(N){br(N),f(N,n,l,!0)}function C(N){i.forEach((_,k)=>{const R=Wr(_.type);R&&(!N||!N(R))&&I(k)})}function I(N){const _=i.get(N);!o||!Bt(_,o)?b(_):o&&br(o),i.delete(N),r.delete(N)}ct(()=>[e.include,e.exclude],([N,_])=>{N&&C(k=>Es(N,k)),_&&C(k=>!Es(_,k))},{flush:"post",deep:!0});let H=null;const q=()=>{H!=null&&($r(n.subTree.type)?nt(()=>{i.set(H,ai(n.subTree))},n.subTree.suspense):i.set(H,ai(n.subTree)))};return Gn(q),qs(q),rr(()=>{i.forEach(N=>{const{subTree:_,suspense:k}=n,R=ai(_);if(N.type===R.type&&N.key===R.key){br(R);const E=R.component.da;E&&nt(E,k);return}b(N)})}),()=>{if(H=null,!t.default)return null;const N=t.default(),_=N[0];if(N.length>1)return o=null,N;if(!Sn(_)||!(_.shapeFlag&4)&&!(_.shapeFlag&128))return o=null,_;let k=ai(_);const R=k.type,E=Wr(Bn(k)?k.type.__asyncResolved||{}:R),{include:F,exclude:p,max:u}=e;if(F&&(!E||!Es(F,E))||p&&E&&Es(p,E))return o=k,_;const g=k.key==null?R:k.key,T=i.get(g);return k.el&&(k=qt(k),_.shapeFlag&128&&(_.ssContent=k)),H=g,T?(k.el=T.el,k.component=T.component,k.transition&&_n(k,k.transition),k.shapeFlag|=512,r.delete(g),r.add(g)):(r.add(g),u&&r.size>parseInt(u,10)&&I(r.values().next().value)),k.shapeFlag|=256,o=k,$r(_.type)?_:k}}},xd=wd;function Es(e,t){return se(e)?e.some(n=>Es(n,t)):be(e)?e.split(",").includes(t):cf(e)?e.test(t):!1}function Qa(e,t){ec(e,"a",t)}function Xa(e,t){ec(e,"da",t)}function ec(e,t,n=Xe){const s=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(ir(t,s,n),n){let i=n.parent;for(;i&&i.parent;)Ks(i.parent.vnode)&&kd(s,t,n,i),i=i.parent}}function kd(e,t,n,s){const i=ir(t,e,s,!0);or(()=>{uo(s[t],i)},n)}function br(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ai(e){return e.shapeFlag&128?e.ssContent:e}function ir(e,t,n=Xe,s=!1){if(n){const i=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...o)=>{En();const l=Hn(n),a=wt(t,n,e,o);return l(),Tn(),a});return s?i.unshift(r):i.push(r),r}}const nn=e=>(t,n=Xe)=>{(!Js||e==="sp")&&ir(e,(...s)=>t(...s),n)},tc=nn("bm"),Gn=nn("m"),nc=nn("bu"),qs=nn("u"),rr=nn("bum"),or=nn("um"),sc=nn("sp"),ic=nn("rtg"),rc=nn("rtc");function oc(e,t=Xe){ir("ec",e,t)}const wo="components",Od="directives";function bi(e,t){return xo(wo,e,!0,t)||e}const lc=Symbol.for("v-ndc");function Ad(e){return be(e)?xo(wo,e,!1)||e:e||lc}function Nd(e){return xo(Od,e)}function xo(e,t,n=!0,s=!1){const i=tt||Xe;if(i){const r=i.type;if(e===wo){const l=Wr(r,!1);if(l&&(l===t||l===Ue(t)||l===Wn(Ue(t))))return r}const o=pl(i[e]||r[e],t)||pl(i.appContext[e],t);return!o&&s?r:o}}function pl(e,t){return e&&(e[t]||e[Ue(t)]||e[Wn(Ue(t))])}function Ct(e,t,n,s){let i;const r=n&&n[s];if(se(e)||be(e)){i=new Array(e.length);for(let o=0,l=e.length;ot(o,l,void 0,r&&r[l]));else{const o=Object.keys(e);i=new Array(o.length);for(let l=0,a=o.length;l{const r=s.fn(...i);return r&&(r.key=s.key),r}:s.fn)}return e}function Nt(e,t,n={},s,i){if(tt.isCE||tt.parent&&Bn(tt.parent)&&tt.parent.isCE)return t!=="default"&&(n.name=t),Be("slot",n,s&&s());let r=e[t];r&&r._c&&(r._d=!1),ae();const o=r&&ac(r(n)),l=zs(Oe,{key:(n.key||o&&o.key||`_${t}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&e._===1?64:-2);return!i&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),r&&r._c&&(r._d=!0),l}function ac(e){return e.some(t=>Sn(t)?!(t.type===st||t.type===Oe&&!ac(t.children)):!0)?e:null}function Md(e,t){const n={};for(const s in e)n[t&&/[A-Z]/.test(s)?`on:${s}`:ns(s)]=e[s];return n}const Mr=e=>e?Hc(e)?Zs(e):Mr(e.parent):null,Is=Re(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=>Mr(e.parent),$root:e=>Mr(e.root),$emit:e=>e.emit,$options:e=>ko(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,er(e.update)}),$nextTick:e=>e.n||(e.n=Kt.bind(e.proxy)),$watch:e=>mh.bind(e)}),_r=(e,t)=>e!==Ne&&!e.__isScriptSetup&&ke(e,t),Lr={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:i,props:r,accessCache:o,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const b=o[t];if(b!==void 0)switch(b){case 1:return s[t];case 2:return i[t];case 4:return n[t];case 3:return r[t]}else{if(_r(s,t))return o[t]=1,s[t];if(i!==Ne&&ke(i,t))return o[t]=2,i[t];if((c=e.propsOptions[0])&&ke(c,t))return o[t]=3,r[t];if(n!==Ne&&ke(n,t))return o[t]=4,n[t];Pr&&(o[t]=0)}}const f=Is[t];let d,y;if(f)return t==="$attrs"&&St(e.attrs,"get",""),f(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==Ne&&ke(n,t))return o[t]=4,n[t];if(y=a.config.globalProperties,ke(y,t))return y[t]},set({_:e},t,n){const{data:s,setupState:i,ctx:r}=e;return _r(i,t)?(i[t]=n,!0):s!==Ne&&ke(s,t)?(s[t]=n,!0):ke(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:i,propsOptions:r}},o){let l;return!!n[o]||e!==Ne&&ke(e,o)||_r(t,o)||(l=r[0])&&ke(l,o)||ke(s,o)||ke(Is,o)||ke(i.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ke(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Ld=Re({},Lr,{get(e,t){if(t!==Symbol.unscopables)return Lr.get(e,t,e)},has(e,t){return t[0]!=="_"&&!gf(t)}});function Pd(){return null}function Fd(){return null}function Bd(e){}function Dd(e){}function $d(){return null}function Vd(){}function jd(e,t){return null}function Hd(){return cc().slots}function Ud(){return cc().attrs}function cc(){const e=Wt();return e.setupContext||(e.setupContext=Wc(e))}function Ls(e){return se(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Kd(e,t){const n=Ls(e);for(const s in t){if(s.startsWith("__skip"))continue;let i=n[s];i?se(i)||ge(i)?i=n[s]={type:i,default:t[s]}:i.default=t[s]:i===null&&(i=n[s]={default:t[s]}),i&&t[`__skip_${s}`]&&(i.skipFactory=!0)}return n}function qd(e,t){return!e||!t?e||t:se(e)&&se(t)?e.concat(t):Re({},Ls(e),Ls(t))}function Wd(e,t){const n={};for(const s in e)t.includes(s)||Object.defineProperty(n,s,{enumerable:!0,get:()=>e[s]});return n}function zd(e){const t=Wt();let n=e();return Ur(),fo(n)&&(n=n.catch(s=>{throw Hn(t),s})),[n,()=>Hn(t)]}let Pr=!0;function Gd(e){const t=ko(e),n=e.proxy,s=e.ctx;Pr=!1,t.beforeCreate&&gl(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:o,watch:l,provide:a,inject:c,created:f,beforeMount:d,mounted:y,beforeUpdate:b,updated:C,activated:I,deactivated:H,beforeDestroy:q,beforeUnmount:N,destroyed:_,unmounted:k,render:R,renderTracked:E,renderTriggered:F,errorCaptured:p,serverPrefetch:u,expose:g,inheritAttrs:T,components:v,directives:O,filters:K}=t;if(c&&Jd(c,s,null),o)for(const V in o){const z=o[V];ge(z)&&(s[V]=z.bind(n))}if(i){const V=i.call(n,n);Fe(V)&&(e.data=Us(V))}if(Pr=!0,r)for(const V in r){const z=r[V],ie=ge(z)?z.bind(n,n):ge(z.get)?z.get.bind(n,n):et,Me=!ge(z)&&ge(z.set)?z.set.bind(n):et,ye=ze({get:ie,set:Me});Object.defineProperty(s,V,{enumerable:!0,configurable:!0,get:()=>ye.value,set:te=>ye.value=te})}if(l)for(const V in l)uc(l[V],s,n,V);if(a){const V=ge(a)?a.call(n):a;Reflect.ownKeys(V).forEach(z=>{Oo(z,V[z])})}f&&gl(f,e,"c");function W(V,z){se(z)?z.forEach(ie=>V(ie.bind(n))):z&&V(z.bind(n))}if(W(tc,d),W(Gn,y),W(nc,b),W(qs,C),W(Qa,I),W(Xa,H),W(oc,p),W(rc,E),W(ic,F),W(rr,N),W(or,k),W(sc,u),se(g))if(g.length){const V=e.exposed||(e.exposed={});g.forEach(z=>{Object.defineProperty(V,z,{get:()=>n[z],set:ie=>n[z]=ie})})}else e.exposed||(e.exposed={});R&&e.render===et&&(e.render=R),T!=null&&(e.inheritAttrs=T),v&&(e.components=v),O&&(e.directives=O)}function Jd(e,t,n=et){se(e)&&(e=Fr(e));for(const s in e){const i=e[s];let r;Fe(i)?"default"in i?r=gn(i.from||s,i.default,!0):r=gn(i.from||s):r=gn(i),je(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):t[s]=r}}function gl(e,t,n){wt(se(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function uc(e,t,n,s){const i=s.includes(".")?Rc(n,s):()=>n[s];if(be(e)){const r=t[e];ge(r)&&ct(i,r)}else if(ge(e))ct(i,e.bind(n));else if(Fe(e))if(se(e))e.forEach(r=>uc(r,t,n,s));else{const r=ge(e.handler)?e.handler.bind(n):t[e.handler];ge(r)&&ct(i,r,e)}}function ko(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,l=r.get(t);let a;return l?a=l:!i.length&&!n&&!s?a=t:(a={},i.length&&i.forEach(c=>Ri(a,c,o,!0)),Ri(a,t,o)),Fe(t)&&r.set(t,a),a}function Ri(e,t,n,s=!1){const{mixins:i,extends:r}=t;r&&Ri(e,r,n,!0),i&&i.forEach(o=>Ri(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=Zd[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Zd={data:ml,props:yl,emits:yl,methods:Ts,computed:Ts,beforeCreate:ht,created:ht,beforeMount:ht,mounted:ht,beforeUpdate:ht,updated:ht,beforeDestroy:ht,beforeUnmount:ht,destroyed:ht,unmounted:ht,activated:ht,deactivated:ht,errorCaptured:ht,serverPrefetch:ht,components:Ts,directives:Ts,watch:Qd,provide:ml,inject:Yd};function ml(e,t){return t?e?function(){return Re(ge(e)?e.call(this,this):e,ge(t)?t.call(this,this):t)}:t:e}function Yd(e,t){return Ts(Fr(e),Fr(t))}function Fr(e){if(se(e)){const t={};for(let n=0;n1)return n&&ge(t)?t.call(s&&s.proxy):t}}function th(){return!!(Xe||tt||os)}const dc={},hc=()=>Object.create(dc),pc=e=>Object.getPrototypeOf(e)===dc;function nh(e,t,n,s=!1){const i={},r=hc();e.propsDefaults=Object.create(null),gc(e,t,i,r);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);n?e.props=s?i:$a(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function sh(e,t,n,s){const{props:i,attrs:r,vnode:{patchFlag:o}}=e,l=xe(i),[a]=e.propsOptions;let c=!1;if((s||o>0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let d=0;d{a=!0;const[y,b]=mc(d,t,!0);Re(o,y),b&&l.push(...b)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!r&&!a)return Fe(e)&&s.set(e,es),es;if(se(r))for(let f=0;f-1,b[1]=I<0||C-1||ke(b,"default"))&&l.push(d)}}}const c=[o,l];return Fe(e)&&s.set(e,c),c}function vl(e){return e[0]!=="$"&&!hn(e)}function bl(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function _l(e,t){return bl(e)===bl(t)}function Sl(e,t){return se(t)?t.findIndex(n=>_l(n,e)):ge(t)&&_l(t,e)?0:-1}const yc=e=>e[0]==="_"||e==="$stable",Ao=e=>se(e)?e.map(vt):[vt(e)],rh=(e,t,n)=>{if(t._n)return t;const s=cs((...i)=>Ao(t(...i)),n);return s._c=!1,s},vc=(e,t,n)=>{const s=e._ctx;for(const i in e){if(yc(i))continue;const r=e[i];if(ge(r))t[i]=rh(i,r,s);else if(r!=null){const o=Ao(r);t[i]=()=>o}}},bc=(e,t)=>{const n=Ao(t);e.slots.default=()=>n},_c=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},oh=(e,t,n)=>{const s=e.slots=hc();if(e.vnode.shapeFlag&32){const i=t._;i?(_c(s,t,n),n&&va(s,"_",i,!0)):vc(t,s)}else t&&bc(e,t)},lh=(e,t,n)=>{const{vnode:s,slots:i}=e;let r=!0,o=Ne;if(s.shapeFlag&32){const l=t._;l?n&&l===1?r=!1:_c(i,t,n):(r=!t.$stable,vc(t,i)),o=t}else t&&(bc(e,t),o={default:1});if(r)for(const l in i)!yc(l)&&o[l]==null&&delete i[l]};function Mi(e,t,n,s,i=!1){if(se(e)){e.forEach((y,b)=>Mi(y,t&&(se(t)?t[b]:t),n,s,i));return}if(Bn(s)&&!i)return;const r=s.shapeFlag&4?Zs(s.component):s.el,o=i?null:r,{i:l,r:a}=e,c=t&&t.r,f=l.refs===Ne?l.refs={}:l.refs,d=l.setupState;if(c!=null&&c!==a&&(be(c)?(f[c]=null,ke(d,c)&&(d[c]=null)):je(c)&&(c.value=null)),ge(a))en(a,l,12,[o,f]);else{const y=be(a),b=je(a);if(y||b){const C=()=>{if(e.f){const I=y?ke(d,a)?d[a]:f[a]:a.value;i?se(I)&&uo(I,r):se(I)?I.includes(r)||I.push(r):y?(f[a]=[r],ke(d,a)&&(d[a]=f[a])):(a.value=[r],e.k&&(f[e.k]=a.value))}else y?(f[a]=o,ke(d,a)&&(d[a]=o)):b&&(a.value=o,e.k&&(f[e.k]=o))};o?(C.id=-1,nt(C,n)):C()}}}const Sc=Symbol("_vte"),ah=e=>e.__isTeleport,ws=e=>e&&(e.disabled||e.disabled===""),Cl=e=>typeof SVGElement<"u"&&e instanceof SVGElement,El=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Dr=(e,t)=>{const n=e&&e.to;return be(n)?t?t(n):null:n},ch={name:"Teleport",__isTeleport:!0,process(e,t,n,s,i,r,o,l,a,c){const{mc:f,pc:d,pbc:y,o:{insert:b,querySelector:C,createText:I,createComment:H}}=c,q=ws(t.props);let{shapeFlag:N,children:_,dynamicChildren:k}=t;if(e==null){const R=t.el=I(""),E=t.anchor=I(""),F=t.target=Dr(t.props,C),p=t.targetStart=I(""),u=t.targetAnchor=I("");b(R,n,s),b(E,n,s),p[Sc]=u,F&&(b(p,F),b(u,F),o==="svg"||Cl(F)?o="svg":(o==="mathml"||El(F))&&(o="mathml"));const g=(T,v)=>{N&16&&f(_,T,v,i,r,o,l,a)};q?g(n,E):F&&g(F,u)}else{t.el=e.el,t.targetStart=e.targetStart;const R=t.anchor=e.anchor,E=t.target=e.target,F=t.targetAnchor=e.targetAnchor,p=ws(e.props),u=p?n:E,g=p?R:F;if(o==="svg"||Cl(E)?o="svg":(o==="mathml"||El(E))&&(o="mathml"),k?(y(e.dynamicChildren,k,u,i,r,o,l),No(e,t,!0)):a||d(e,t,u,g,i,r,o,l,!1),q)p?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ci(t,n,R,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const T=t.target=Dr(t.props,C);T&&ci(t,T,null,c,0)}else p&&ci(t,E,F,c,1)}Cc(t)},remove(e,t,n,{um:s,o:{remove:i}},r){const{shapeFlag:o,children:l,anchor:a,targetStart:c,targetAnchor:f,target:d,props:y}=e;if(d&&(i(c),i(f)),r&&i(a),o&16){const b=r||!ws(y);for(let C=0;C{Tl||(console.error("Hydration completed but contains mismatches."),Tl=!0)},dh=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",hh=e=>e.namespaceURI.includes("MathML"),ui=e=>{if(dh(e))return"svg";if(hh(e))return"mathml"},fi=e=>e.nodeType===8;function ph(e){const{mt:t,p:n,o:{patchProp:s,createText:i,nextSibling:r,parentNode:o,remove:l,insert:a,createComment:c}}=e,f=(_,k)=>{if(!k.hasChildNodes()){n(null,_,k),Ni(),k._vnode=_;return}d(k.firstChild,_,null,null,null),Ni(),k._vnode=_},d=(_,k,R,E,F,p=!1)=>{p=p||!!k.dynamicChildren;const u=fi(_)&&_.data==="[",g=()=>I(_,k,R,E,F,u),{type:T,ref:v,shapeFlag:O,patchFlag:K}=k;let ee=_.nodeType;k.el=_,K===-2&&(p=!1,k.dynamicChildren=null);let W=null;switch(T){case mn:ee!==3?k.children===""?(a(k.el=i(""),o(_),_),W=_):W=g():(_.data!==k.children&&(Zn(),_.data=k.children),W=r(_));break;case st:N(_)?(W=r(_),q(k.el=_.content.firstChild,_,R)):ee!==8||u?W=g():W=r(_);break;case Dn:if(u&&(_=r(_),ee=_.nodeType),ee===1||ee===3){W=_;const V=!k.children.length;for(let z=0;z{p=p||!!k.dynamicChildren;const{type:u,props:g,patchFlag:T,shapeFlag:v,dirs:O,transition:K}=k,ee=u==="input"||u==="option";if(ee||T!==-1){O&&Ht(k,null,R,"created");let W=!1;if(N(_)){W=wc(E,K)&&R&&R.vnode.props&&R.vnode.props.appear;const z=_.content.firstChild;W&&K.beforeEnter(z),q(z,_,R),k.el=_=z}if(v&16&&!(g&&(g.innerHTML||g.textContent))){let z=b(_.firstChild,k,_,R,E,F,p);for(;z;){Zn();const ie=z;z=z.nextSibling,l(ie)}}else v&8&&_.textContent!==k.children&&(Zn(),_.textContent=k.children);if(g){if(ee||!p||T&48)for(const z in g)(ee&&(z.endsWith("value")||z==="indeterminate")||Kn(z)&&!hn(z)||z[0]===".")&&s(_,z,null,g[z],void 0,R);else if(g.onClick)s(_,"onClick",null,g.onClick,void 0,R);else if(T&4&&Fn(g.style))for(const z in g.style)g.style[z]}let V;(V=g&&g.onVnodeBeforeMount)&&yt(V,R,k),O&&Ht(k,null,R,"beforeMount"),((V=g&&g.onVnodeMounted)||O||W)&&Fc(()=>{V&&yt(V,R,k),W&&K.enter(_),O&&Ht(k,null,R,"mounted")},E)}return _.nextSibling},b=(_,k,R,E,F,p,u)=>{u=u||!!k.dynamicChildren;const g=k.children,T=g.length;for(let v=0;v{const{slotScopeIds:u}=k;u&&(F=F?F.concat(u):u);const g=o(_),T=b(r(_),k,g,R,E,F,p);return T&&fi(T)&&T.data==="]"?r(k.anchor=T):(Zn(),a(k.anchor=c("]"),g,T),T)},I=(_,k,R,E,F,p)=>{if(Zn(),k.el=null,p){const T=H(_);for(;;){const v=r(_);if(v&&v!==T)l(v);else break}}const u=r(_),g=o(_);return l(_),n(null,k,g,u,R,E,ui(g),F),u},H=(_,k="[",R="]")=>{let E=0;for(;_;)if(_=r(_),_&&fi(_)&&(_.data===k&&E++,_.data===R)){if(E===0)return r(_);E--}return _},q=(_,k,R)=>{const E=k.parentNode;E&&E.replaceChild(_,k);let F=R;for(;F;)F.vnode.el===k&&(F.vnode.el=F.subTree.el=_),F=F.parent},N=_=>_.nodeType===1&&_.tagName.toLowerCase()==="template";return[f,d]}const nt=Fc;function Ec(e){return Ic(e)}function Tc(e){return Ic(e,ph)}function Ic(e,t){const n=ba();n.__VUE__=!0;const{insert:s,remove:i,patchProp:r,createElement:o,createText:l,createComment:a,setText:c,setElementText:f,parentNode:d,nextSibling:y,setScopeId:b=et,insertStaticContent:C}=e,I=(h,m,w,L=null,D=null,j=null,Z=void 0,J=null,G=!!m.dynamicChildren)=>{if(h===m)return;h&&!Bt(h,m)&&(L=le(h),te(h,D,j,!0),h=null),m.patchFlag===-2&&(G=!1,m.dynamicChildren=null);const{type:P,ref:Y,shapeFlag:oe}=m;switch(P){case mn:H(h,m,w,L);break;case st:q(h,m,w,L);break;case Dn:h==null&&N(m,w,L,Z);break;case Oe:v(h,m,w,L,D,j,Z,J,G);break;default:oe&1?R(h,m,w,L,D,j,Z,J,G):oe&6?O(h,m,w,L,D,j,Z,J,G):(oe&64||oe&128)&&P.process(h,m,w,L,D,j,Z,J,G,he)}Y!=null&&D&&Mi(Y,h&&h.ref,j,m||h,!m)},H=(h,m,w,L)=>{if(h==null)s(m.el=l(m.children),w,L);else{const D=m.el=h.el;m.children!==h.children&&c(D,m.children)}},q=(h,m,w,L)=>{h==null?s(m.el=a(m.children||""),w,L):m.el=h.el},N=(h,m,w,L)=>{[h.el,h.anchor]=C(h.children,m,w,L,h.el,h.anchor)},_=({el:h,anchor:m},w,L)=>{let D;for(;h&&h!==m;)D=y(h),s(h,w,L),h=D;s(m,w,L)},k=({el:h,anchor:m})=>{let w;for(;h&&h!==m;)w=y(h),i(h),h=w;i(m)},R=(h,m,w,L,D,j,Z,J,G)=>{m.type==="svg"?Z="svg":m.type==="math"&&(Z="mathml"),h==null?E(m,w,L,D,j,Z,J,G):u(h,m,D,j,Z,J,G)},E=(h,m,w,L,D,j,Z,J)=>{let G,P;const{props:Y,shapeFlag:oe,transition:Q,dirs:de}=h;if(G=h.el=o(h.type,j,Y&&Y.is,Y),oe&8?f(G,h.children):oe&16&&p(h.children,G,null,L,D,Sr(h,j),Z,J),de&&Ht(h,null,L,"created"),F(G,h,h.scopeId,Z,L),Y){for(const Ie in Y)Ie!=="value"&&!hn(Ie)&&r(G,Ie,null,Y[Ie],j,L);"value"in Y&&r(G,"value",null,Y.value,j),(P=Y.onVnodeBeforeMount)&&yt(P,L,h)}de&&Ht(h,null,L,"beforeMount");const pe=wc(D,Q);pe&&Q.beforeEnter(G),s(G,m,w),((P=Y&&Y.onVnodeMounted)||pe||de)&&nt(()=>{P&&yt(P,L,h),pe&&Q.enter(G),de&&Ht(h,null,L,"mounted")},D)},F=(h,m,w,L,D)=>{if(w&&b(h,w),L)for(let j=0;j{for(let P=G;P{const J=m.el=h.el;let{patchFlag:G,dynamicChildren:P,dirs:Y}=m;G|=h.patchFlag&16;const oe=h.props||Ne,Q=m.props||Ne;let de;if(w&&In(w,!1),(de=Q.onVnodeBeforeUpdate)&&yt(de,w,m,h),Y&&Ht(m,h,w,"beforeUpdate"),w&&In(w,!0),(oe.innerHTML&&Q.innerHTML==null||oe.textContent&&Q.textContent==null)&&f(J,""),P?g(h.dynamicChildren,P,J,w,L,Sr(m,D),j):Z||z(h,m,J,null,w,L,Sr(m,D),j,!1),G>0){if(G&16)T(J,oe,Q,w,D);else if(G&2&&oe.class!==Q.class&&r(J,"class",null,Q.class,D),G&4&&r(J,"style",oe.style,Q.style,D),G&8){const pe=m.dynamicProps;for(let Ie=0;Ie{de&&yt(de,w,m,h),Y&&Ht(m,h,w,"updated")},L)},g=(h,m,w,L,D,j,Z)=>{for(let J=0;J{if(m!==w){if(m!==Ne)for(const j in m)!hn(j)&&!(j in w)&&r(h,j,m[j],null,D,L);for(const j in w){if(hn(j))continue;const Z=w[j],J=m[j];Z!==J&&j!=="value"&&r(h,j,J,Z,D,L)}"value"in w&&r(h,"value",m.value,w.value,D)}},v=(h,m,w,L,D,j,Z,J,G)=>{const P=m.el=h?h.el:l(""),Y=m.anchor=h?h.anchor:l("");let{patchFlag:oe,dynamicChildren:Q,slotScopeIds:de}=m;de&&(J=J?J.concat(de):de),h==null?(s(P,w,L),s(Y,w,L),p(m.children||[],w,Y,D,j,Z,J,G)):oe>0&&oe&64&&Q&&h.dynamicChildren?(g(h.dynamicChildren,Q,w,D,j,Z,J),(m.key!=null||D&&m===D.subTree)&&No(h,m,!0)):z(h,m,w,Y,D,j,Z,J,G)},O=(h,m,w,L,D,j,Z,J,G)=>{m.slotScopeIds=J,h==null?m.shapeFlag&512?D.ctx.activate(m,w,L,Z,G):K(m,w,L,D,j,Z,G):ee(h,m,G)},K=(h,m,w,L,D,j,Z)=>{const J=h.component=jc(h,L,D);if(Ks(h)&&(J.ctx.renderer=he),Uc(J,!1,Z),J.asyncDep){if(D&&D.registerDep(J,W,Z),!h.el){const G=J.subTree=Be(st);q(null,G,m,w)}}else W(J,h,m,w,D,j,Z)},ee=(h,m,w)=>{const L=m.component=h.component;if(Ch(h,m,w))if(L.asyncDep&&!L.asyncResolved){V(L,m,w);return}else L.next=m,bd(L.update),L.effect.dirty=!0,L.update();else m.el=h.el,L.vnode=m},W=(h,m,w,L,D,j,Z)=>{const J=()=>{if(h.isMounted){let{next:Y,bu:oe,u:Q,parent:de,vnode:pe}=h;{const We=xc(h);if(We){Y&&(Y.el=pe.el,V(h,Y,Z)),We.asyncDep.then(()=>{h.isUnmounted||J()});return}}let Ie=Y,ve;In(h,!1),Y?(Y.el=pe.el,V(h,Y,Z)):Y=pe,oe&&ss(oe),(ve=Y.props&&Y.props.onVnodeBeforeUpdate)&&yt(ve,de,Y,pe),In(h,!0);const Pe=_i(h),Ke=h.subTree;h.subTree=Pe,I(Ke,Pe,d(Ke.el),le(Ke),h,D,j),Y.el=Pe.el,Ie===null&&Ro(h,Pe.el),Q&&nt(Q,D),(ve=Y.props&&Y.props.onVnodeUpdated)&&nt(()=>yt(ve,de,Y,pe),D)}else{let Y;const{el:oe,props:Q}=m,{bm:de,m:pe,parent:Ie}=h,ve=Bn(m);if(In(h,!1),de&&ss(de),!ve&&(Y=Q&&Q.onVnodeBeforeMount)&&yt(Y,Ie,m),In(h,!0),oe&&Te){const Pe=()=>{h.subTree=_i(h),Te(oe,h.subTree,h,D,null)};ve?m.type.__asyncLoader().then(()=>!h.isUnmounted&&Pe()):Pe()}else{const Pe=h.subTree=_i(h);I(null,Pe,w,L,h,D,j),m.el=Pe.el}if(pe&&nt(pe,D),!ve&&(Y=Q&&Q.onVnodeMounted)){const Pe=m;nt(()=>yt(Y,Ie,Pe),D)}(m.shapeFlag&256||Ie&&Bn(Ie.vnode)&&Ie.vnode.shapeFlag&256)&&h.a&&nt(h.a,D),h.isMounted=!0,m=w=L=null}},G=h.effect=new as(J,et,()=>er(P),h.scope),P=h.update=()=>{G.dirty&&G.run()};P.i=h,P.id=h.uid,In(h,!0),P()},V=(h,m,w)=>{m.component=h;const L=h.vnode.props;h.vnode=m,h.next=null,sh(h,m.props,L,w),lh(h,m.children,w),En(),dl(h),Tn()},z=(h,m,w,L,D,j,Z,J,G=!1)=>{const P=h&&h.children,Y=h?h.shapeFlag:0,oe=m.children,{patchFlag:Q,shapeFlag:de}=m;if(Q>0){if(Q&128){Me(P,oe,w,L,D,j,Z,J,G);return}else if(Q&256){ie(P,oe,w,L,D,j,Z,J,G);return}}de&8?(Y&16&&ce(P,D,j),oe!==P&&f(w,oe)):Y&16?de&16?Me(P,oe,w,L,D,j,Z,J,G):ce(P,D,j,!0):(Y&8&&f(w,""),de&16&&p(oe,w,L,D,j,Z,J,G))},ie=(h,m,w,L,D,j,Z,J,G)=>{h=h||es,m=m||es;const P=h.length,Y=m.length,oe=Math.min(P,Y);let Q;for(Q=0;QY?ce(h,D,j,!0,!1,oe):p(m,w,L,D,j,Z,J,G,oe)},Me=(h,m,w,L,D,j,Z,J,G)=>{let P=0;const Y=m.length;let oe=h.length-1,Q=Y-1;for(;P<=oe&&P<=Q;){const de=h[P],pe=m[P]=G?un(m[P]):vt(m[P]);if(Bt(de,pe))I(de,pe,w,null,D,j,Z,J,G);else break;P++}for(;P<=oe&&P<=Q;){const de=h[oe],pe=m[Q]=G?un(m[Q]):vt(m[Q]);if(Bt(de,pe))I(de,pe,w,null,D,j,Z,J,G);else break;oe--,Q--}if(P>oe){if(P<=Q){const de=Q+1,pe=deQ)for(;P<=oe;)te(h[P],D,j,!0),P++;else{const de=P,pe=P,Ie=new Map;for(P=pe;P<=Q;P++){const S=m[P]=G?un(m[P]):vt(m[P]);S.key!=null&&Ie.set(S.key,P)}let ve,Pe=0;const Ke=Q-pe+1;let We=!1,Vt=0;const x=new Array(Ke);for(P=0;P=Ke){te(S,D,j,!0);continue}let B;if(S.key!=null)B=Ie.get(S.key);else for(ve=pe;ve<=Q;ve++)if(x[ve-pe]===0&&Bt(S,m[ve])){B=ve;break}B===void 0?te(S,D,j,!0):(x[B-pe]=P+1,B>=Vt?Vt=B:We=!0,I(S,m[B],w,null,D,j,Z,J,G),Pe++)}const A=We?gh(x):es;for(ve=A.length-1,P=Ke-1;P>=0;P--){const S=pe+P,B=m[S],ue=S+1{const{el:j,type:Z,transition:J,children:G,shapeFlag:P}=h;if(P&6){ye(h.component.subTree,m,w,L);return}if(P&128){h.suspense.move(m,w,L);return}if(P&64){Z.move(h,m,w,he);return}if(Z===Oe){s(j,m,w);for(let oe=0;oeJ.enter(j),D);else{const{leave:oe,delayLeave:Q,afterLeave:de}=J,pe=()=>s(j,m,w),Ie=()=>{oe(j,()=>{pe(),de&&de()})};Q?Q(j,pe,Ie):Ie()}else s(j,m,w)},te=(h,m,w,L=!1,D=!1)=>{const{type:j,props:Z,ref:J,children:G,dynamicChildren:P,shapeFlag:Y,patchFlag:oe,dirs:Q,cacheIndex:de}=h;if(oe===-2&&(D=!1),J!=null&&Mi(J,null,w,h,!0),de!=null&&(m.renderCache[de]=void 0),Y&256){m.ctx.deactivate(h);return}const pe=Y&1&&Q,Ie=!Bn(h);let ve;if(Ie&&(ve=Z&&Z.onVnodeBeforeUnmount)&&yt(ve,m,h),Y&6)U(h.component,w,L);else{if(Y&128){h.suspense.unmount(w,L);return}pe&&Ht(h,null,m,"beforeUnmount"),Y&64?h.type.remove(h,m,w,he,L):P&&!P.hasOnce&&(j!==Oe||oe>0&&oe&64)?ce(P,m,w,!1,!0):(j===Oe&&oe&384||!D&&Y&16)&&ce(G,m,w),L&&Ae(h)}(Ie&&(ve=Z&&Z.onVnodeUnmounted)||pe)&&nt(()=>{ve&&yt(ve,m,h),pe&&Ht(h,null,m,"unmounted")},w)},Ae=h=>{const{type:m,el:w,anchor:L,transition:D}=h;if(m===Oe){M(w,L);return}if(m===Dn){k(h);return}const j=()=>{i(w),D&&!D.persisted&&D.afterLeave&&D.afterLeave()};if(h.shapeFlag&1&&D&&!D.persisted){const{leave:Z,delayLeave:J}=D,G=()=>Z(w,j);J?J(h.el,j,G):G()}else j()},M=(h,m)=>{let w;for(;h!==m;)w=y(h),i(h),h=w;i(m)},U=(h,m,w)=>{const{bum:L,scope:D,update:j,subTree:Z,um:J,m:G,a:P}=h;Li(G),Li(P),L&&ss(L),D.stop(),j&&(j.active=!1,te(Z,h,m,w)),J&&nt(J,m),nt(()=>{h.isUnmounted=!0},m),m&&m.pendingBranch&&!m.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===m.pendingId&&(m.deps--,m.deps===0&&m.resolve())},ce=(h,m,w,L=!1,D=!1,j=0)=>{for(let Z=j;Z{if(h.shapeFlag&6)return le(h.component.subTree);if(h.shapeFlag&128)return h.suspense.next();const m=y(h.anchor||h.el),w=m&&m[Sc];return w?y(w):m};let Ce=!1;const X=(h,m,w)=>{h==null?m._vnode&&te(m._vnode,null,null,!0):I(m._vnode||null,h,m,null,null,null,w),Ce||(Ce=!0,dl(),Ni(),Ce=!1),m._vnode=h},he={p:I,um:te,m:ye,r:Ae,mt:K,mc:p,pc:z,pbc:g,n:le,o:e};let Ee,Te;return t&&([Ee,Te]=t(he)),{render:X,hydrate:Ee,createApp:eh(X,Ee)}}function Sr({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 In({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function wc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function No(e,t,n=!1){const s=e.children,i=t.children;if(se(s)&&se(i))for(let r=0;r>1,e[n[l]]0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,o=n[r-1];r-- >0;)n[r]=o,o=t[o];return n}function xc(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:xc(t)}function Li(e){if(e)for(let t=0;tgn(kc);function Zt(e,t){return Ws(e,null,t)}function Ac(e,t){return Ws(e,null,{flush:"post"})}function Nc(e,t){return Ws(e,null,{flush:"sync"})}const di={};function ct(e,t,n){return Ws(e,t,n)}function Ws(e,t,{immediate:n,deep:s,flush:i,once:r,onTrack:o,onTrigger:l}=Ne){if(t&&r){const E=t;t=(...F)=>{E(...F),R()}}const a=Xe,c=E=>s===!0?E:dn(E,s===!1?1:void 0);let f,d=!1,y=!1;if(je(e)?(f=()=>e.value,d=Vn(e)):Fn(e)?(f=()=>c(e),d=!0):se(e)?(y=!0,d=e.some(E=>Fn(E)||Vn(E)),f=()=>e.map(E=>{if(je(E))return E.value;if(Fn(E))return c(E);if(ge(E))return en(E,a,2)})):ge(e)?t?f=()=>en(e,a,2):f=()=>(b&&b(),wt(e,a,3,[C])):f=et,t&&s){const E=f;f=()=>dn(E())}let b,C=E=>{b=_.onStop=()=>{en(E,a,4),b=_.onStop=void 0}},I;if(Js)if(C=et,t?n&&wt(t,a,3,[f(),y?[]:void 0,C]):f(),i==="sync"){const E=Oc();I=E.__watcherHandles||(E.__watcherHandles=[])}else return et;let H=y?new Array(e.length).fill(di):di;const q=()=>{if(!(!_.active||!_.dirty))if(t){const E=_.run();(s||d||(y?E.some((F,p)=>$t(F,H[p])):$t(E,H)))&&(b&&b(),wt(t,a,3,[E,H===di?void 0:y&&H[0]===di?[]:H,C]),H=E)}else _.run()};q.allowRecurse=!!t;let N;i==="sync"?N=q:i==="post"?N=()=>nt(q,a&&a.suspense):(q.pre=!0,a&&(q.id=a.uid),N=()=>er(q));const _=new as(f,et,N),k=Ia(),R=()=>{_.stop(),k&&uo(k.effects,_)};return t?n?q():H=_.run():i==="post"?nt(_.run.bind(_),a&&a.suspense):_.run(),I&&I.push(R),R}function mh(e,t,n){const s=this.proxy,i=be(e)?e.includes(".")?Rc(s,e):()=>s[e]:e.bind(s,s);let r;ge(t)?r=t:(r=t.handler,n=t);const o=Hn(this),l=Ws(i,r.bind(s),n);return o(),l}function Rc(e,t){const n=t.split(".");return()=>{let s=e;for(let i=0;i{dn(s,t,n)});else if(ya(e)){for(const s in e)dn(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&dn(e[s],t,n)}return e}function yh(e,t,n=Ne){const s=Wt(),i=Ue(t),r=bt(t),o=Mc(e,t),l=Ua((a,c)=>{let f,d,y;return Nc(()=>{const b=e[t];$t(f,b)&&(f=b,c())}),{get(){return a(),n.get?n.get(f):f},set(b){if(!$t(b,f))return;const C=s.vnode.props;C&&(t in C||i in C||r in C)&&(`onUpdate:${t}`in C||`onUpdate:${i}`in C||`onUpdate:${r}`in C)||(f=b,c());const I=n.set?n.set(b):b;s.emit(`update:${t}`,I),b!==I&&b!==d&&I===y&&c(),d=b,y=I}}});return l[Symbol.iterator]=()=>{let a=0;return{next(){return a<2?{value:a++?o||Ne:l,done:!1}:{done:!0}}}},l}const Mc=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ue(t)}Modifiers`]||e[`${bt(t)}Modifiers`];function vh(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Ne;let i=n;const r=t.startsWith("update:"),o=r&&Mc(s,t.slice(7));o&&(o.trim&&(i=n.map(f=>be(f)?f.trim():f)),o.number&&(i=n.map(xi)));let l,a=s[l=ns(t)]||s[l=ns(Ue(t))];!a&&r&&(a=s[l=ns(bt(t))]),a&&wt(a,e,6,i);const c=s[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,wt(c,e,6,i)}}function Lc(e,t,n=!1){const s=t.emitsCache,i=s.get(e);if(i!==void 0)return i;const r=e.emits;let o={},l=!1;if(!ge(e)){const a=c=>{const f=Lc(c,t,!0);f&&(l=!0,Re(o,f))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!r&&!l?(Fe(e)&&s.set(e,null),null):(se(r)?r.forEach(a=>o[a]=null):Re(o,r),Fe(e)&&s.set(e,o),o)}function lr(e,t){return!e||!Kn(t)?!1:(t=t.slice(2).replace(/Once$/,""),ke(e,t[0].toLowerCase()+t.slice(1))||ke(e,bt(t))||ke(e,t))}function _i(e){const{type:t,vnode:n,proxy:s,withProxy:i,propsOptions:[r],slots:o,attrs:l,emit:a,render:c,renderCache:f,props:d,data:y,setupState:b,ctx:C,inheritAttrs:I}=e,H=Ms(e);let q,N;try{if(n.shapeFlag&4){const k=i||s,R=k;q=vt(c.call(R,k,f,d,b,y,C)),N=l}else{const k=t;q=vt(k.length>1?k(d,{attrs:l,slots:o,emit:a}):k(d,null)),N=t.props?l:_h(l)}}catch(k){xs.length=0,zn(k,e,1),q=Be(st)}let _=q;if(N&&I!==!1){const k=Object.keys(N),{shapeFlag:R}=_;k.length&&R&7&&(r&&k.some(co)&&(N=Sh(N,r)),_=qt(_,N,!1,!0))}return n.dirs&&(_=qt(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),q=_,Ms(H),q}function bh(e,t=!0){let n;for(let s=0;s{let t;for(const n in e)(n==="class"||n==="style"||Kn(n))&&((t||(t={}))[n]=e[n]);return t},Sh=(e,t)=>{const n={};for(const s in e)(!co(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Ch(e,t,n){const{props:s,children:i,component:r}=e,{props:o,children:l,patchFlag:a}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?Il(s,o,c):!!o;if(a&8){const f=t.dynamicProps;for(let d=0;de.__isSuspense;let Vr=0;const Eh={name:"Suspense",__isSuspense:!0,process(e,t,n,s,i,r,o,l,a,c){if(e==null)Ih(t,n,s,i,r,o,l,a,c);else{if(r&&r.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}wh(e,t,n,s,i,o,l,a,c)}},hydrate:xh,normalize:kh},Th=Eh;function Ps(e,t){const n=e.props&&e.props[t];ge(n)&&n()}function Ih(e,t,n,s,i,r,o,l,a){const{p:c,o:{createElement:f}}=a,d=f("div"),y=e.suspense=Pc(e,i,s,t,d,n,r,o,l,a);c(null,y.pendingBranch=e.ssContent,d,null,s,y,r,o),y.deps>0?(Ps(e,"onPending"),Ps(e,"onFallback"),c(null,e.ssFallback,t,n,s,null,r,o),ls(y,e.ssFallback)):y.resolve(!1,!0)}function wh(e,t,n,s,i,r,o,l,{p:a,um:c,o:{createElement:f}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const y=t.ssContent,b=t.ssFallback,{activeBranch:C,pendingBranch:I,isInFallback:H,isHydrating:q}=d;if(I)d.pendingBranch=y,Bt(y,I)?(a(I,y,d.hiddenContainer,null,i,d,r,o,l),d.deps<=0?d.resolve():H&&(q||(a(C,b,n,s,i,null,r,o,l),ls(d,b)))):(d.pendingId=Vr++,q?(d.isHydrating=!1,d.activeBranch=I):c(I,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=f("div"),H?(a(null,y,d.hiddenContainer,null,i,d,r,o,l),d.deps<=0?d.resolve():(a(C,b,n,s,i,null,r,o,l),ls(d,b))):C&&Bt(y,C)?(a(C,y,n,s,i,d,r,o,l),d.resolve(!0)):(a(null,y,d.hiddenContainer,null,i,d,r,o,l),d.deps<=0&&d.resolve()));else if(C&&Bt(y,C))a(C,y,n,s,i,d,r,o,l),ls(d,y);else if(Ps(t,"onPending"),d.pendingBranch=y,y.shapeFlag&512?d.pendingId=y.component.suspenseId:d.pendingId=Vr++,a(null,y,d.hiddenContainer,null,i,d,r,o,l),d.deps<=0)d.resolve();else{const{timeout:N,pendingId:_}=d;N>0?setTimeout(()=>{d.pendingId===_&&d.fallback(b)},N):N===0&&d.fallback(b)}}function Pc(e,t,n,s,i,r,o,l,a,c,f=!1){const{p:d,m:y,um:b,n:C,o:{parentNode:I,remove:H}}=c;let q;const N=Oh(e);N&&t&&t.pendingBranch&&(q=t.pendingId,t.deps++);const _=e.props?ki(e.props.timeout):void 0,k=r,R={vnode:e,parent:t,parentComponent:n,namespace:o,container:s,hiddenContainer:i,deps:0,pendingId:Vr++,timeout:typeof _=="number"?_:-1,activeBranch:null,pendingBranch:null,isInFallback:!f,isHydrating:f,isUnmounted:!1,effects:[],resolve(E=!1,F=!1){const{vnode:p,activeBranch:u,pendingBranch:g,pendingId:T,effects:v,parentComponent:O,container:K}=R;let ee=!1;R.isHydrating?R.isHydrating=!1:E||(ee=u&&g.transition&&g.transition.mode==="out-in",ee&&(u.transition.afterLeave=()=>{T===R.pendingId&&(y(g,K,r===k?C(u):r,0),Ai(v))}),u&&(I(u.el)!==R.hiddenContainer&&(r=C(u)),b(u,O,R,!0)),ee||y(g,K,r,0)),ls(R,g),R.pendingBranch=null,R.isInFallback=!1;let W=R.parent,V=!1;for(;W;){if(W.pendingBranch){W.effects.push(...v),V=!0;break}W=W.parent}!V&&!ee&&Ai(v),R.effects=[],N&&t&&t.pendingBranch&&q===t.pendingId&&(t.deps--,t.deps===0&&!F&&t.resolve()),Ps(p,"onResolve")},fallback(E){if(!R.pendingBranch)return;const{vnode:F,activeBranch:p,parentComponent:u,container:g,namespace:T}=R;Ps(F,"onFallback");const v=C(p),O=()=>{R.isInFallback&&(d(null,E,g,v,u,null,T,l,a),ls(R,E))},K=E.transition&&E.transition.mode==="out-in";K&&(p.transition.afterLeave=O),R.isInFallback=!0,b(p,u,null,!0),K||O()},move(E,F,p){R.activeBranch&&y(R.activeBranch,E,F,p),R.container=E},next(){return R.activeBranch&&C(R.activeBranch)},registerDep(E,F,p){const u=!!R.pendingBranch;u&&R.deps++;const g=E.vnode.el;E.asyncDep.catch(T=>{zn(T,E,0)}).then(T=>{if(E.isUnmounted||R.isUnmounted||R.pendingId!==E.suspenseId)return;E.asyncResolved=!0;const{vnode:v}=E;Kr(E,T,!1),g&&(v.el=g);const O=!g&&E.subTree.el;F(E,v,I(g||E.subTree.el),g?null:C(E.subTree),R,o,p),O&&H(O),Ro(E,v.el),u&&--R.deps===0&&R.resolve()})},unmount(E,F){R.isUnmounted=!0,R.activeBranch&&b(R.activeBranch,n,E,F),R.pendingBranch&&b(R.pendingBranch,n,E,F)}};return R}function xh(e,t,n,s,i,r,o,l,a){const c=t.suspense=Pc(t,s,n,e.parentNode,document.createElement("div"),null,i,r,o,l,!0),f=a(e,c.pendingBranch=t.ssContent,n,c,r,o);return c.deps===0&&c.resolve(!1,!0),f}function kh(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=wl(s?n.default:n),e.ssFallback=s?wl(n.fallback):Be(st)}function wl(e){let t;if(ge(e)){const n=jn&&e._c;n&&(e._d=!1,ae()),e=e(),n&&(e._d=!0,t=ft,Bc())}return se(e)&&(e=bh(e)),e=vt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Fc(e,t){t&&t.pendingBranch?se(e)?t.effects.push(...e):t.effects.push(e):Ai(e)}function ls(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,s&&s.subTree===n&&(s.vnode.el=i,Ro(s,i))}function Oh(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Oe=Symbol.for("v-fgt"),mn=Symbol.for("v-txt"),st=Symbol.for("v-cmt"),Dn=Symbol.for("v-stc"),xs=[];let ft=null;function ae(e=!1){xs.push(ft=e?null:[])}function Bc(){xs.pop(),ft=xs[xs.length-1]||null}let jn=1;function jr(e){jn+=e,e<0&&ft&&(ft.hasOnce=!0)}function Dc(e){return e.dynamicChildren=jn>0?ft||es:null,Bc(),jn>0&&ft&&ft.push(e),e}function fe(e,t,n,s,i,r){return Dc(ne(e,t,n,s,i,r,!0))}function zs(e,t,n,s,i){return Dc(Be(e,t,n,s,i,!0))}function Sn(e){return e?e.__v_isVNode===!0:!1}function Bt(e,t){return e.type===t.type&&e.key===t.key}function Ah(e){}const $c=({key:e})=>e??null,Si=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?be(e)||je(e)||ge(e)?{i:tt,r:e,k:t,f:!!n}:e:null);function ne(e,t=null,n=null,s=0,i=null,r=e===Oe?0:1,o=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&$c(t),ref:t&&Si(t),scopeId:tr,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:r,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:tt};return l?(Mo(a,n),r&128&&e.normalize(a)):n&&(a.shapeFlag|=be(n)?8:16),jn>0&&!o&&ft&&(a.patchFlag>0||r&6)&&a.patchFlag!==32&&ft.push(a),a}const Be=Nh;function Nh(e,t=null,n=null,s=0,i=null,r=!1){if((!e||e===lc)&&(e=st),Sn(e)){const l=qt(e,t,!0);return n&&Mo(l,n),jn>0&&!r&&ft&&(l.shapeFlag&6?ft[ft.indexOf(e)]=l:ft.push(l)),l.patchFlag=-2,l}if(Dh(e)&&(e=e.__vccOpts),t){t=Vc(t);let{class:l,style:a}=t;l&&!be(l)&&(t.class=Ze(l)),Fe(a)&&(bo(a)&&!se(a)&&(a=Re({},a)),t.style=Hs(a))}const o=be(e)?1:$r(e)?128:ah(e)?64:Fe(e)?4:ge(e)?2:0;return ne(e,t,n,s,i,o,r,!0)}function Vc(e){return e?bo(e)||pc(e)?Re({},e):e:null}function qt(e,t,n=!1,s=!1){const{props:i,ref:r,patchFlag:o,children:l,transition:a}=e,c=t?Gs(i||{},t):i,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&$c(c),ref:t&&t.ref?n&&r?se(r)?r.concat(Si(t)):[r,Si(t)]:Si(t):r,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!==Oe?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&qt(e.ssContent),ssFallback:e.ssFallback&&qt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&s&&_n(f,a.clone(f)),f}function ar(e=" ",t=0){return Be(mn,null,e,t)}function Rh(e,t){const n=Be(Dn,null,e);return n.staticCount=t,n}function $e(e="",t=!1){return t?(ae(),zs(st,null,e)):Be(st,null,e)}function vt(e){return e==null||typeof e=="boolean"?Be(st):se(e)?Be(Oe,null,e.slice()):typeof e=="object"?un(e):Be(mn,null,String(e))}function un(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:qt(e)}function Mo(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(se(t))n=16;else if(typeof t=="object")if(s&65){const i=t.default;i&&(i._c&&(i._d=!1),Mo(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!pc(t)?t._ctx=tt:i===3&&tt&&(tt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ge(t)?(t={default:t,_ctx:tt},n=32):(t=String(t),s&64?(n=16,t=[ar(t)]):n=8);e.children=t,e.shapeFlag|=n}function Gs(...e){const t={};for(let n=0;nXe||tt;let Pi,Hr;{const e=ba(),t=(n,s)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(s),r=>{i.length>1?i.forEach(o=>o(r)):i[0](r)}};Pi=t("__VUE_INSTANCE_SETTERS__",n=>Xe=n),Hr=t("__VUE_SSR_SETTERS__",n=>Js=n)}const Hn=e=>{const t=Xe;return Pi(e),e.scope.on(),()=>{e.scope.off(),Pi(t)}},Ur=()=>{Xe&&Xe.scope.off(),Pi(null)};function Hc(e){return e.vnode.shapeFlag&4}let Js=!1;function Uc(e,t=!1,n=!1){t&&Hr(t);const{props:s,children:i}=e.vnode,r=Hc(e);nh(e,s,r,t),oh(e,i,n);const o=r?Ph(e,t):void 0;return t&&Hr(!1),o}function Ph(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Lr);const{setup:s}=n;if(s){const i=e.setupContext=s.length>1?Wc(e):null,r=Hn(e);En();const o=en(s,e,0,[e.props,i]);if(Tn(),r(),fo(o)){if(o.then(Ur,Ur),t)return o.then(l=>{Kr(e,l,t)}).catch(l=>{zn(l,e,0)});e.asyncDep=o}else Kr(e,o,t)}else qc(e,t)}function Kr(e,t,n){ge(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Fe(t)&&(e.setupState=Co(t)),qc(e,n)}let Fi,qr;function Kc(e){Fi=e,qr=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Ld))}}const Fh=()=>!Fi;function qc(e,t,n){const s=e.type;if(!e.render){if(!t&&Fi&&!s.render){const i=s.template||ko(e).template;if(i){const{isCustomElement:r,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:a}=s,c=Re(Re({isCustomElement:r,delimiters:l},o),a);s.render=Fi(i,c)}}e.render=s.render||et,qr&&qr(e)}{const i=Hn(e);En();try{Gd(e)}finally{Tn(),i()}}}const Bh={get(e,t){return St(e,"get",""),e[t]}};function Wc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Bh),slots:e.slots,emit:e.emit,expose:t}}function Zs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Co(Va(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Is)return Is[n](e)},has(t,n){return n in t||n in Is}})):e.proxy}function Wr(e,t=!0){return ge(e)?e.displayName||e.name:e.name||t&&e.__name}function Dh(e){return ge(e)&&"__vccOpts"in e}const ze=(e,t)=>nd(e,t,Js);function zc(e,t,n){const s=arguments.length;return s===2?Fe(t)&&!se(t)?Sn(t)?Be(e,null,[t]):Be(e,t):Be(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Sn(n)&&(n=[n]),Be(e,t,n))}function $h(){}function Vh(e,t,n,s){const i=n[s];if(i&&Gc(i,e))return i;const r=t();return r.memo=e.slice(),r.cacheIndex=s,n[s]=r}function Gc(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let s=0;s0&&ft&&ft.push(e),!0}const Jc="3.4.32",jh=et,Hh=md,Uh=Qn,Kh=Ga,qh={createComponentInstance:jc,setupComponent:Uc,renderComponentRoot:_i,setCurrentRenderingInstance:Ms,isVNode:Sn,normalizeVNode:vt,getComponentPublicInstance:Zs},Wh=qh,zh=null,Gh=null,Jh=null;/** -* @vue/runtime-dom v3.4.32 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/const Zh="http://www.w3.org/2000/svg",Yh="http://www.w3.org/1998/Math/MathML",Yt=typeof document<"u"?document:null,xl=Yt&&Yt.createElement("template"),Qh={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 i=t==="svg"?Yt.createElementNS(Zh,e):t==="mathml"?Yt.createElementNS(Yh,e):n?Yt.createElement(e,{is:n}):Yt.createElement(e);return e==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:e=>Yt.createTextNode(e),createComment:e=>Yt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Yt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,i,r){const o=n?n.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===r||!(i=i.nextSibling)););else{xl.innerHTML=s==="svg"?`${e}`:s==="mathml"?`${e}`:e;const l=xl.content;if(s==="svg"||s==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},rn="transition",bs="animation",fs=Symbol("_vtc"),Lo=(e,{slots:t})=>zc(Za,Yc(e),t);Lo.displayName="Transition";const Zc={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Xh=Lo.props=Re({},Io,Zc),wn=(e,t=[])=>{se(e)?e.forEach(n=>n(...t)):e&&e(...t)},kl=e=>e?se(e)?e.some(t=>t.length>1):e.length>1:!1;function Yc(e){const t={};for(const v in e)v in Zc||(t[v]=e[v]);if(e.css===!1)return t;const{name:n="v",type:s,duration:i,enterFromClass:r=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=r,appearActiveClass:c=o,appearToClass:f=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:y=`${n}-leave-active`,leaveToClass:b=`${n}-leave-to`}=e,C=ep(i),I=C&&C[0],H=C&&C[1],{onBeforeEnter:q,onEnter:N,onEnterCancelled:_,onLeave:k,onLeaveCancelled:R,onBeforeAppear:E=q,onAppear:F=N,onAppearCancelled:p=_}=t,u=(v,O,K)=>{ln(v,O?f:l),ln(v,O?c:o),K&&K()},g=(v,O)=>{v._isLeaving=!1,ln(v,d),ln(v,b),ln(v,y),O&&O()},T=v=>(O,K)=>{const ee=v?F:N,W=()=>u(O,v,K);wn(ee,[O,W]),Ol(()=>{ln(O,v?a:r),Gt(O,v?f:l),kl(ee)||Al(O,s,I,W)})};return Re(t,{onBeforeEnter(v){wn(q,[v]),Gt(v,r),Gt(v,o)},onBeforeAppear(v){wn(E,[v]),Gt(v,a),Gt(v,c)},onEnter:T(!1),onAppear:T(!0),onLeave(v,O){v._isLeaving=!0;const K=()=>g(v,O);Gt(v,d),Gt(v,y),Xc(),Ol(()=>{v._isLeaving&&(ln(v,d),Gt(v,b),kl(k)||Al(v,s,H,K))}),wn(k,[v,K])},onEnterCancelled(v){u(v,!1),wn(_,[v])},onAppearCancelled(v){u(v,!0),wn(p,[v])},onLeaveCancelled(v){g(v),wn(R,[v])}})}function ep(e){if(e==null)return null;if(Fe(e))return[Cr(e.enter),Cr(e.leave)];{const t=Cr(e);return[t,t]}}function Cr(e){return ki(e)}function Gt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[fs]||(e[fs]=new Set)).add(t)}function ln(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[fs];n&&(n.delete(t),n.size||(e[fs]=void 0))}function Ol(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let tp=0;function Al(e,t,n,s){const i=e._endId=++tp,r=()=>{i===e._endId&&s()};if(n)return setTimeout(r,n);const{type:o,timeout:l,propCount:a}=Qc(e,t);if(!o)return s();const c=o+"end";let f=0;const d=()=>{e.removeEventListener(c,y),r()},y=b=>{b.target===e&&++f>=a&&d()};setTimeout(()=>{f(n[C]||"").split(", "),i=s(`${rn}Delay`),r=s(`${rn}Duration`),o=Nl(i,r),l=s(`${bs}Delay`),a=s(`${bs}Duration`),c=Nl(l,a);let f=null,d=0,y=0;t===rn?o>0&&(f=rn,d=o,y=r.length):t===bs?c>0&&(f=bs,d=c,y=a.length):(d=Math.max(o,c),f=d>0?o>c?rn:bs:null,y=f?f===rn?r.length:a.length:0);const b=f===rn&&/\b(transform|all)(,|$)/.test(s(`${rn}Property`).toString());return{type:f,timeout:d,propCount:y,hasTransform:b}}function Nl(e,t){for(;e.lengthRl(n)+Rl(e[s])))}function Rl(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Xc(){return document.body.offsetHeight}function np(e,t,n){const s=e[fs];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Bi=Symbol("_vod"),eu=Symbol("_vsh"),Pt={beforeMount(e,{value:t},{transition:n}){e[Bi]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):_s(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),_s(e,!0),s.enter(e)):s.leave(e,()=>{_s(e,!1)}):_s(e,t))},beforeUnmount(e,{value:t}){_s(e,t)}};function _s(e,t){e.style.display=t?e[Bi]:"none",e[eu]=!t}function sp(){Pt.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const tu=Symbol("");function ip(e){const t=Wt();if(!t)return;const n=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(r=>Gr(r,i))},s=()=>{const i=e(t.proxy);zr(t.subTree,i),n(i)};Gn(()=>{Ac(s);const i=new MutationObserver(s);i.observe(t.subTree.el.parentNode,{childList:!0}),or(()=>i.disconnect())})}function zr(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{zr(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Gr(e.el,t);else if(e.type===Oe)e.children.forEach(n=>zr(n,t));else if(e.type===Dn){let{el:n,anchor:s}=e;for(;n&&(Gr(n,t),n!==s);)n=n.nextSibling}}function Gr(e,t){if(e.nodeType===1){const n=e.style;let s="";for(const i in t)n.setProperty(`--${i}`,t[i]),s+=`--${i}: ${t[i]};`;n[tu]=s}}const rp=/(^|;)\s*display\s*:/;function op(e,t,n){const s=e.style,i=be(n);let r=!1;if(n&&!i){if(t)if(be(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&Ci(s,l,"")}else for(const o in t)n[o]==null&&Ci(s,o,"");for(const o in n)o==="display"&&(r=!0),Ci(s,o,n[o])}else if(i){if(t!==n){const o=s[tu];o&&(n+=";"+o),s.cssText=n,r=rp.test(n)}}else t&&e.removeAttribute("style");Bi in e&&(e[Bi]=r?s.display:"",e[eu]&&(s.display="none"))}const Ml=/\s*!important$/;function Ci(e,t,n){if(se(n))n.forEach(s=>Ci(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=lp(e,t);Ml.test(n)?e.setProperty(bt(s),n.replace(Ml,""),"important"):e[s]=n}}const Ll=["Webkit","Moz","ms"],Er={};function lp(e,t){const n=Er[t];if(n)return n;let s=Ue(t);if(s!=="filter"&&s in e)return Er[t]=s;s=Wn(s);for(let i=0;iTr||(dp.then(()=>Tr=0),Tr=Date.now());function pp(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;wt(gp(s,n.value),t,5,[s])};return n.value=e,n.attached=hp(),n}function gp(e,t){if(se(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>i=>!i._stopped&&s&&s(i))}else return t}const $l=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,mp=(e,t,n,s,i,r)=>{const o=i==="svg";t==="class"?np(e,s,o):t==="style"?op(e,n,s):Kn(t)?co(t)||up(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):yp(e,t,s,o))?(ap(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Fl(e,t,s,o,r,t!=="value")):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Fl(e,t,s,o))};function yp(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&$l(t)&&ge(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return $l(t)&&be(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function nu(e,t,n){const s=sr(e,t);class i extends cr{constructor(o){super(s,o,n)}}return i.def=s,i}/*! #__NO_SIDE_EFFECTS__ */const vp=(e,t)=>nu(e,t,du),bp=typeof HTMLElement<"u"?HTMLElement:class{};class cr extends bp{constructor(t,n={},s){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&s?s(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,Kt(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),Jr(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let s=0;s{for(const i of s)this._setAttr(i.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(s,i=!1)=>{const{props:r,styles:o}=s;let l;if(r&&!se(r))for(const a in r){const c=r[a];(c===Number||c&&c.type===Number)&&(a in this._props&&(this._props[a]=ki(this._props[a])),(l||(l=Object.create(null)))[Ue(a)]=!0)}this._numberProps=l,i&&this._resolveProps(s),this._applyStyles(o),this._update()},n=this._def.__asyncLoader;n?n().then(s=>t(s,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,s=se(n)?n:Object.keys(n||{});for(const i of Object.keys(this))i[0]!=="_"&&s.includes(i)&&this._setProp(i,this[i],!0,!1);for(const i of s.map(Ue))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(r){this._setProp(i,r)}})}_setAttr(t){let n=this.hasAttribute(t)?this.getAttribute(t):void 0;const s=Ue(t);this._numberProps&&this._numberProps[s]&&(n=ki(n)),this._setProp(s,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,s=!0,i=!0){n!==this._props[t]&&(this._props[t]=n,i&&this._instance&&this._update(),s&&(n===!0?this.setAttribute(bt(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(bt(t),n+""):n||this.removeAttribute(bt(t))))}_update(){Jr(this._createVNode(),this.shadowRoot)}_createVNode(){const t=Be(this._def,Re({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const s=(r,o)=>{this.dispatchEvent(new CustomEvent(r,{detail:o}))};n.emit=(r,...o)=>{s(r,o),bt(r)!==r&&s(bt(r),o)};let i=this;for(;i=i&&(i.parentNode||i.host);)if(i instanceof cr){n.parent=i._instance,n.provides=i._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const s=document.createElement("style");s.textContent=n,this.shadowRoot.appendChild(s)})}}function _p(e="$style"){{const t=Wt();if(!t)return Ne;const n=t.type.__cssModules;if(!n)return Ne;const s=n[e];return s||Ne}}const su=new WeakMap,iu=new WeakMap,Di=Symbol("_moveCb"),Vl=Symbol("_enterCb"),ru={name:"TransitionGroup",props:Re({},Xh,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Wt(),s=To();let i,r;return qs(()=>{if(!i.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!wp(i[0].el,n.vnode.el,o))return;i.forEach(Ep),i.forEach(Tp);const l=i.filter(Ip);Xc(),l.forEach(a=>{const c=a.el,f=c.style;Gt(c,o),f.transform=f.webkitTransform=f.transitionDuration="";const d=c[Di]=y=>{y&&y.target!==c||(!y||/transform$/.test(y.propertyName))&&(c.removeEventListener("transitionend",d),c[Di]=null,ln(c,o))};c.addEventListener("transitionend",d)})}),()=>{const o=xe(e),l=Yc(o);let a=o.tag||Oe;if(i=[],r)for(let c=0;cdelete e.mode;ru.props;const Cp=ru;function Ep(e){const t=e.el;t[Di]&&t[Di](),t[Vl]&&t[Vl]()}function Tp(e){iu.set(e,e.el.getBoundingClientRect())}function Ip(e){const t=su.get(e),n=iu.get(e),s=t.left-n.left,i=t.top-n.top;if(s||i){const r=e.el.style;return r.transform=r.webkitTransform=`translate(${s}px,${i}px)`,r.transitionDuration="0s",e}}function wp(e,t,n){const s=e.cloneNode(),i=e[fs];i&&i.forEach(l=>{l.split(/\s+/).forEach(a=>a&&s.classList.remove(a))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(s);const{hasTransform:o}=Qc(s);return r.removeChild(s),o}const Cn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return se(t)?n=>ss(t,n):t};function xp(e){e.target.composing=!0}function jl(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Lt=Symbol("_assign"),ds={created(e,{modifiers:{lazy:t,trim:n,number:s}},i){e[Lt]=Cn(i);const r=s||i.props&&i.props.type==="number";Qt(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),r&&(l=xi(l)),e[Lt](l)}),n&&Qt(e,"change",()=>{e.value=e.value.trim()}),t||(Qt(e,"compositionstart",xp),Qt(e,"compositionend",jl),Qt(e,"change",jl))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:i,number:r}},o){if(e[Lt]=Cn(o),e.composing)return;const l=(r||e.type==="number")&&!/^0\d/.test(e.value)?xi(e.value):e.value,a=t??"";l!==a&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||i&&e.value.trim()===a)||(e.value=a))}},ur={deep:!0,created(e,t,n){e[Lt]=Cn(n),Qt(e,"change",()=>{const s=e._modelValue,i=hs(e),r=e.checked,o=e[Lt];if(se(s)){const l=Zi(s,i),a=l!==-1;if(r&&!a)o(s.concat(i));else if(!r&&a){const c=[...s];c.splice(l,1),o(c)}}else if(qn(s)){const l=new Set(s);r?l.add(i):l.delete(i),o(l)}else o(ou(e,r))})},mounted:Hl,beforeUpdate(e,t,n){e[Lt]=Cn(n),Hl(e,t,n)}};function Hl(e,{value:t,oldValue:n},s){e._modelValue=t,se(t)?e.checked=Zi(t,s.props.value)>-1:qn(t)?e.checked=t.has(s.props.value):t!==n&&(e.checked=vn(t,ou(e,!0)))}const Po={created(e,{value:t},n){e.checked=vn(t,n.props.value),e[Lt]=Cn(n),Qt(e,"change",()=>{e[Lt](hs(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[Lt]=Cn(s),t!==n&&(e.checked=vn(t,s.props.value))}},Fo={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const i=qn(t);Qt(e,"change",()=>{const r=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?xi(hs(o)):hs(o));e[Lt](e.multiple?i?new Set(r):r:r[0]),e._assigning=!0,Kt(()=>{e._assigning=!1})}),e[Lt]=Cn(s)},mounted(e,{value:t,modifiers:{number:n}}){Ul(e,t)},beforeUpdate(e,t,n){e[Lt]=Cn(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||Ul(e,t)}};function Ul(e,t,n){const s=e.multiple,i=se(t);if(!(s&&!i&&!qn(t))){for(let r=0,o=e.options.length;rString(f)===String(a)):l.selected=Zi(t,a)>-1}else l.selected=t.has(a);else if(vn(hs(l),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!s&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function hs(e){return"_value"in e?e._value:e.value}function ou(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const lu={created(e,t,n){hi(e,t,n,null,"created")},mounted(e,t,n){hi(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){hi(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){hi(e,t,n,s,"updated")}};function au(e,t){switch(e){case"SELECT":return Fo;case"TEXTAREA":return ds;default:switch(t){case"checkbox":return ur;case"radio":return Po;default:return ds}}}function hi(e,t,n,s,i){const o=au(e.tagName,n.props&&n.props.type)[i];o&&o(e,t,n,s)}function kp(){ds.getSSRProps=({value:e})=>({value:e}),Po.getSSRProps=({value:e},t)=>{if(t.props&&vn(t.props.value,e))return{checked:!0}},ur.getSSRProps=({value:e},t)=>{if(se(e)){if(t.props&&Zi(e,t.props.value)>-1)return{checked:!0}}else if(qn(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},lu.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=au(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const Op=["ctrl","shift","alt","meta"],Ap={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)=>Op.some(n=>e[`${n}Key`]&&!t.includes(n))},De=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(i,...r)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=i=>{if(!("key"in i))return;const r=bt(i.key);if(t.some(o=>o===r||Np[o]===r))return e(i)})},cu=Re({patchProp:mp},Qh);let ks,Kl=!1;function uu(){return ks||(ks=Ec(cu))}function fu(){return ks=Kl?ks:Tc(cu),Kl=!0,ks}const Jr=(...e)=>{uu().render(...e)},du=(...e)=>{fu().hydrate(...e)},Zr=(...e)=>{const t=uu().createApp(...e),{mount:n}=t;return t.mount=s=>{const i=pu(s);if(!i)return;const r=t._component;!ge(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.innerHTML="";const o=n(i,!1,hu(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t},Rp=(...e)=>{const t=fu().createApp(...e),{mount:n}=t;return t.mount=s=>{const i=pu(s);if(i)return n(i,!0,hu(i))},t};function hu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function pu(e){return be(e)?document.querySelector(e):e}let ql=!1;const Mp=()=>{ql||(ql=!0,kp(),sp())},Lp=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Za,BaseTransitionPropsValidators:Io,Comment:st,DeprecationTypes:Jh,EffectScope:po,ErrorCodes:gd,ErrorTypeStrings:Hh,Fragment:Oe,KeepAlive:xd,ReactiveEffect:as,Static:Dn,Suspense:Th,Teleport:fh,Text:mn,TrackOpTypes:dd,Transition:Lo,TransitionGroup:Cp,TriggerOpTypes:hd,VueElement:cr,assertNumber:pd,callWithAsyncErrorHandling:wt,callWithErrorHandling:en,camelize:Ue,capitalize:Wn,cloneVNode:qt,compatUtils:Gh,computed:ze,createApp:Zr,createBlock:zs,createCommentVNode:$e,createElementBlock:fe,createElementVNode:ne,createHydrationRenderer:Tc,createPropsRestProxy:Wd,createRenderer:Ec,createSSRApp:Rp,createSlots:Rd,createStaticVNode:Rh,createTextVNode:ar,createVNode:Be,customRef:Ua,defineAsyncComponent:Id,defineComponent:sr,defineCustomElement:nu,defineEmits:Fd,defineExpose:Bd,defineModel:Vd,defineOptions:Dd,defineProps:Pd,defineSSRCustomElement:vp,defineSlots:$d,devtools:Uh,effect:Lf,effectScope:Nf,getCurrentInstance:Wt,getCurrentScope:Ia,getTransitionRawChildren:nr,guardReactiveProps:Vc,h:zc,handleError:zn,hasInjectionContext:th,hydrate:du,initCustomFormatter:$h,initDirectivesForSSR:Mp,inject:gn,isMemoSame:Gc,isProxy:bo,isReactive:Fn,isReadonly:bn,isRef:je,isRuntimeOnly:Fh,isShallow:Vn,isVNode:Sn,markRaw:Va,mergeDefaults:Kd,mergeModels:qd,mergeProps:Gs,nextTick:Kt,normalizeClass:Ze,normalizeProps:bf,normalizeStyle:Hs,onActivated:Qa,onBeforeMount:tc,onBeforeUnmount:rr,onBeforeUpdate:nc,onDeactivated:Xa,onErrorCaptured:oc,onMounted:Gn,onRenderTracked:rc,onRenderTriggered:ic,onScopeDispose:Rf,onServerPrefetch:sc,onUnmounted:or,onUpdated:qs,openBlock:ae,popScopeId:Cd,provide:Oo,proxyRefs:Co,pushScopeId:Sd,queuePostFlushCb:Ai,reactive:Us,readonly:vo,ref:me,registerRuntimeCompiler:Kc,render:Jr,renderList:Ct,renderSlot:Nt,resolveComponent:bi,resolveDirective:Nd,resolveDynamicComponent:Ad,resolveFilter:zh,resolveTransitionHooks:us,setBlockTracking:jr,setDevtoolsHook:Kh,setTransitionHooks:_n,shallowReactive:$a,shallowReadonly:td,shallowRef:sd,ssrContextKey:kc,ssrUtils:Wh,stop:Pf,toDisplayString:It,toHandlerKey:ns,toHandlers:Md,toRaw:xe,toRef:Cs,toRefs:cd,toValue:od,transformVNodeArgs:Ah,triggerRef:rd,unref:re,useAttrs:Ud,useCssModule:_p,useCssVars:ip,useModel:yh,useSSRContext:Oc,useSlots:Hd,useTransitionState:To,vModelCheckbox:ur,vModelDynamic:lu,vModelRadio:Po,vModelSelect:Fo,vModelText:ds,vShow:Pt,version:Jc,warn:jh,watch:ct,watchEffect:Zt,watchPostEffect:Ac,watchSyncEffect:Nc,withAsyncContext:zd,withCtx:cs,withDefaults:jd,withDirectives:mt,withKeys:An,withMemo:Vh,withModifiers:De,withScopeId:Ed},Symbol.toStringTag,{value:"Module"}));/** -* @vue/compiler-core v3.4.32 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/const Fs=Symbol(""),Os=Symbol(""),Bo=Symbol(""),$i=Symbol(""),gu=Symbol(""),Un=Symbol(""),mu=Symbol(""),yu=Symbol(""),Do=Symbol(""),$o=Symbol(""),Ys=Symbol(""),Vo=Symbol(""),vu=Symbol(""),jo=Symbol(""),Ho=Symbol(""),Uo=Symbol(""),Ko=Symbol(""),qo=Symbol(""),Wo=Symbol(""),bu=Symbol(""),_u=Symbol(""),fr=Symbol(""),Vi=Symbol(""),zo=Symbol(""),Go=Symbol(""),Bs=Symbol(""),Qs=Symbol(""),Jo=Symbol(""),Yr=Symbol(""),Pp=Symbol(""),Qr=Symbol(""),ji=Symbol(""),Fp=Symbol(""),Bp=Symbol(""),Zo=Symbol(""),Dp=Symbol(""),$p=Symbol(""),Yo=Symbol(""),Su=Symbol(""),ps={[Fs]:"Fragment",[Os]:"Teleport",[Bo]:"Suspense",[$i]:"KeepAlive",[gu]:"BaseTransition",[Un]:"openBlock",[mu]:"createBlock",[yu]:"createElementBlock",[Do]:"createVNode",[$o]:"createElementVNode",[Ys]:"createCommentVNode",[Vo]:"createTextVNode",[vu]:"createStaticVNode",[jo]:"resolveComponent",[Ho]:"resolveDynamicComponent",[Uo]:"resolveDirective",[Ko]:"resolveFilter",[qo]:"withDirectives",[Wo]:"renderList",[bu]:"renderSlot",[_u]:"createSlots",[fr]:"toDisplayString",[Vi]:"mergeProps",[zo]:"normalizeClass",[Go]:"normalizeStyle",[Bs]:"normalizeProps",[Qs]:"guardReactiveProps",[Jo]:"toHandlers",[Yr]:"camelize",[Pp]:"capitalize",[Qr]:"toHandlerKey",[ji]:"setBlockTracking",[Fp]:"pushScopeId",[Bp]:"popScopeId",[Zo]:"withCtx",[Dp]:"unref",[$p]:"isRef",[Yo]:"withMemo",[Su]:"isMemoSame"};function Vp(e){Object.getOwnPropertySymbols(e).forEach(t=>{ps[t]=e[t]})}const Ot={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function jp(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:Ot}}function Ds(e,t,n,s,i,r,o,l=!1,a=!1,c=!1,f=Ot){return e&&(l?(e.helper(Un),e.helper(ys(e.inSSR,c))):e.helper(ms(e.inSSR,c)),o&&e.helper(qo)),{type:13,tag:t,props:n,children:s,patchFlag:i,dynamicProps:r,directives:o,isBlock:l,disableTracking:a,isComponent:c,loc:f}}function Xs(e,t=Ot){return{type:17,loc:t,elements:e}}function Rt(e,t=Ot){return{type:15,loc:t,properties:e}}function Ge(e,t){return{type:16,loc:Ot,key:be(e)?Se(e,!0):e,value:t}}function Se(e,t=!1,n=Ot,s=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:s}}function Dt(e,t=Ot){return{type:8,loc:t,children:e}}function Qe(e,t=[],n=Ot){return{type:14,loc:n,callee:e,arguments:t}}function gs(e,t=void 0,n=!1,s=!1,i=Ot){return{type:18,params:e,returns:t,newline:n,isSlot:s,loc:i}}function Xr(e,t,n,s=!0){return{type:19,test:e,consequent:t,alternate:n,newline:s,loc:Ot}}function Hp(e,t,n=!1){return{type:20,index:e,value:t,isVOnce:n,loc:Ot}}function Up(e){return{type:21,body:e,loc:Ot}}function ms(e,t){return e||t?Do:$o}function ys(e,t){return e||t?mu:yu}function Qo(e,{helper:t,removeHelper:n,inSSR:s}){e.isBlock||(e.isBlock=!0,n(ms(s,e.isComponent)),t(Un),t(ys(s,e.isComponent)))}const Wl=new Uint8Array([123,123]),zl=new Uint8Array([125,125]);function Gl(e){return e>=97&&e<=122||e>=65&&e<=90}function Tt(e){return e===32||e===10||e===9||e===12||e===13}function on(e){return e===47||e===62||Tt(e)}function Hi(e){const t=new Uint8Array(e.length);for(let n=0;n=0;i--){const r=this.newlines[i];if(t>r){n=i+2,s=t-r;break}}return{column:s,line:n,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?on(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||Tt(t)){const n=this.index-this.currentSequence.length;if(this.sectionStart=t||(this.state===28?this.currentSequence===lt.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,n){}}function Jl(e,{compatConfig:t}){const n=t&&t[e];return e==="MODE"?n||3:n}function $n(e,t){const n=Jl("MODE",t),s=Jl(e,t);return n===3?s===!0:s!==!1}function $s(e,t,n,...s){return $n(e,t)}function Xo(e){throw e}function Cu(e){}function He(e,t,n,s){const i=`https://vuejs.org/error-reference/#compiler-${e}`,r=new SyntaxError(String(i));return r.code=e,r.loc=t,r}const _t=e=>e.type===4&&e.isStatic;function Eu(e){switch(e){case"Teleport":case"teleport":return Os;case"Suspense":case"suspense":return Bo;case"KeepAlive":case"keep-alive":return $i;case"BaseTransition":case"base-transition":return gu}}const qp=/^\d|[^\$\w\xA0-\uFFFF]/,el=e=>!qp.test(e),Wp=/[A-Za-z_$\xA0-\uFFFF]/,zp=/[\.\?\w$\xA0-\uFFFF]/,Gp=/\s+[.[]\s*|\s*[.[]\s+/g,Jp=e=>{e=e.trim().replace(Gp,o=>o.trim());let t=0,n=[],s=0,i=0,r=null;for(let o=0;ot.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function Ir(e){return e.type===5||e.type===2}function Yp(e){return e.type===7&&e.name==="slot"}function Ui(e){return e.type===1&&e.tagType===3}function Ki(e){return e.type===1&&e.tagType===2}const Qp=new Set([Bs,Qs]);function Iu(e,t=[]){if(e&&!be(e)&&e.type===14){const n=e.callee;if(!be(n)&&Qp.has(n))return Iu(e.arguments[0],t.concat(e))}return[e,t]}function qi(e,t,n){let s,i=e.type===13?e.props:e.arguments[2],r=[],o;if(i&&!be(i)&&i.type===14){const l=Iu(i);i=l[0],r=l[1],o=r[r.length-1]}if(i==null||be(i))s=Rt([t]);else if(i.type===14){const l=i.arguments[0];!be(l)&&l.type===15?Zl(t,l)||l.properties.unshift(t):i.callee===Jo?s=Qe(n.helper(Vi),[Rt([t]),i]):i.arguments.unshift(Rt([t])),!s&&(s=i)}else i.type===15?(Zl(t,i)||i.properties.unshift(t),s=i):(s=Qe(n.helper(Vi),[Rt([t]),i]),o&&o.callee===Qs&&(o=r[r.length-2]));e.type===13?o?o.arguments[0]=s:e.props=s:o?o.arguments[0]=s:e.arguments[2]=s}function Zl(e,t){let n=!1;if(e.key.type===4){const s=e.key.content;n=t.properties.some(i=>i.key.type===4&&i.key.content===s)}return n}function Vs(e,t){return`_${t}_${e.replace(/[^\w]/g,(n,s)=>n==="-"?"_":e.charCodeAt(s).toString())}`}function Xp(e){return e.type===14&&e.callee===Yo?e.arguments[1].returns:e}const eg=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,wu={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:vi,isPreTag:vi,isCustomElement:vi,onError:Xo,onWarn:Cu,comments:!1,prefixIdentifiers:!1};let Le=wu,js=null,tn="",at=null,we=null,gt="",Jt=-1,kn=-1,Wi=0,fn=!1,eo=null;const Ve=[],qe=new Kp(Ve,{onerr:zt,ontext(e,t){pi(rt(e,t),e,t)},ontextentity(e,t,n){pi(e,t,n)},oninterpolation(e,t){if(fn)return pi(rt(e,t),e,t);let n=e+qe.delimiterOpen.length,s=t-qe.delimiterClose.length;for(;Tt(tn.charCodeAt(n));)n++;for(;Tt(tn.charCodeAt(s-1));)s--;let i=rt(n,s);i.includes("&")&&(i=Le.decodeEntities(i,!1)),to({type:5,content:Ti(i,!1,Ye(n,s)),loc:Ye(e,t)})},onopentagname(e,t){const n=rt(e,t);at={type:1,tag:n,ns:Le.getNamespace(n,Ve[0],Le.ns),tagType:0,props:[],children:[],loc:Ye(e-1,t),codegenNode:void 0}},onopentagend(e){Ql(e)},onclosetag(e,t){const n=rt(e,t);if(!Le.isVoidTag(n)){let s=!1;for(let i=0;i0&&zt(24,Ve[0].loc.start.offset);for(let o=0;o<=i;o++){const l=Ve.shift();Ei(l,t,o(s.type===7?s.rawName:s.name)===n)&&zt(2,t)},onattribend(e,t){if(at&&we){if(Mn(we.loc,t),e!==0)if(gt.includes("&")&&(gt=Le.decodeEntities(gt,!0)),we.type===6)we.name==="class"&&(gt=Ou(gt).trim()),e===1&&!gt&&zt(13,t),we.value={type:2,content:gt,loc:e===1?Ye(Jt,kn):Ye(Jt-1,kn+1)},qe.inSFCRoot&&at.tag==="template"&&we.name==="lang"&>&>!=="html"&&qe.enterRCDATA(Hi("-1&&$s("COMPILER_V_BIND_SYNC",Le,we.loc,we.rawName)&&(we.name="model",we.modifiers.splice(s,1))}(we.type!==7||we.name!=="pre")&&at.props.push(we)}gt="",Jt=kn=-1},oncomment(e,t){Le.comments&&to({type:3,content:rt(e,t),loc:Ye(e-4,t+3)})},onend(){const e=tn.length;for(let t=0;t{const C=t.start.offset+y,I=C+d.length;return Ti(d,!1,Ye(C,I),0,b?1:0)},l={source:o(r.trim(),n.indexOf(r,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let a=i.trim().replace(tg,"").trim();const c=i.indexOf(a),f=a.match(Yl);if(f){a=a.replace(Yl,"").trim();const d=f[1].trim();let y;if(d&&(y=n.indexOf(d,c+a.length),l.key=o(d,y,!0)),f[2]){const b=f[2].trim();b&&(l.index=o(b,n.indexOf(b,l.key?y+d.length:c+a.length),!0))}}return a&&(l.value=o(a,c,!0)),l}function rt(e,t){return tn.slice(e,t)}function Ql(e){qe.inSFCRoot&&(at.innerLoc=Ye(e+1,e+1)),to(at);const{tag:t,ns:n}=at;n===0&&Le.isPreTag(t)&&Wi++,Le.isVoidTag(t)?Ei(at,e):(Ve.unshift(at),(n===1||n===2)&&(qe.inXML=!0)),at=null}function pi(e,t,n){{const r=Ve[0]&&Ve[0].tag;r!=="script"&&r!=="style"&&e.includes("&")&&(e=Le.decodeEntities(e,!1))}const s=Ve[0]||js,i=s.children[s.children.length-1];i&&i.type===2?(i.content+=e,Mn(i.loc,n)):s.children.push({type:2,content:e,loc:Ye(t,n)})}function Ei(e,t,n=!1){n?Mn(e.loc,xu(t,60)):Mn(e.loc,sg(t,62)+1),qe.inSFCRoot&&(e.children.length?e.innerLoc.end=Re({},e.children[e.children.length-1].loc.end):e.innerLoc.end=Re({},e.innerLoc.start),e.innerLoc.source=rt(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:s,ns:i}=e;fn||(s==="slot"?e.tagType=2:Xl(e)?e.tagType=3:rg(e)&&(e.tagType=1)),qe.inRCDATA||(e.children=ku(e.children,e.tag)),i===0&&Le.isPreTag(s)&&Wi--,eo===e&&(fn=qe.inVPre=!1,eo=null),qe.inXML&&(Ve[0]?Ve[0].ns:Le.ns)===0&&(qe.inXML=!1);{const r=e.props;if(!qe.inSFCRoot&&$n("COMPILER_NATIVE_TEMPLATE",Le)&&e.tag==="template"&&!Xl(e)){const l=Ve[0]||js,a=l.children.indexOf(e);l.children.splice(a,1,...e.children)}const o=r.find(l=>l.type===6&&l.name==="inline-template");o&&$s("COMPILER_INLINE_TEMPLATE",Le,o.loc)&&e.children.length&&(o.value={type:2,content:rt(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:o.loc})}}function sg(e,t){let n=e;for(;tn.charCodeAt(n)!==t&&n=0;)n--;return n}const ig=new Set(["if","else","else-if","for","slot"]);function Xl({tag:e,props:t}){if(e==="template"){for(let n=0;n64&&e<91}const lg=/\r\n/g;function ku(e,t){const n=Le.whitespace!=="preserve";let s=!1;for(let i=0;i0){if(a>=2){l.codegenNode.patchFlag=-1,l.codegenNode=t.hoist(l.codegenNode),r++;continue}}else{const c=l.codegenNode;if(c.type===13){const f=c.patchFlag;if((f===void 0||f===512||f===1)&&Ru(l,t)>=2){const d=Mu(l);d&&(c.props=t.hoist(d))}c.dynamicProps&&(c.dynamicProps=t.hoist(c.dynamicProps))}}}if(l.type===1){const a=l.tagType===1;a&&t.scopes.vSlot++,Ii(l,t),a&&t.scopes.vSlot--}else if(l.type===11)Ii(l,t,l.children.length===1);else if(l.type===9)for(let a=0;a1)for(let a=0;aT&&(p.childIndex--,p.onNodeRemoved()),p.parent.children.splice(T,1)},onNodeRemoved:et,addIdentifiers(u){},removeIdentifiers(u){},hoist(u){be(u)&&(u=Se(u)),p.hoists.push(u);const g=Se(`_hoisted_${p.hoists.length}`,!1,u.loc,2);return g.hoisted=u,g},cache(u,g=!1){return Hp(p.cached++,u,g)}};return p.filters=new Set,p}function mg(e,t){const n=gg(e,t);hr(e,n),t.hoistStatic&&hg(e,n),t.ssr||yg(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function yg(e,t){const{helper:n}=t,{children:s}=e;if(s.length===1){const i=s[0];if(Au(e,i)&&i.codegenNode){const r=i.codegenNode;r.type===13&&Qo(r,t),e.codegenNode=r}else e.codegenNode=i}else if(s.length>1){let i=64;e.codegenNode=Ds(t,n(Fs),void 0,e.children,i,void 0,void 0,!0,void 0,!1)}}function vg(e,t){let n=0;const s=()=>{n--};for(;ns===e:s=>e.test(s);return(s,i)=>{if(s.type===1){const{props:r}=s;if(s.tagType===3&&r.some(Yp))return;const o=[];for(let l=0;l`${ps[e]}: _${ps[e]}`;function bg(e,{mode:t="function",prefixIdentifiers:n=t==="module",sourceMap:s=!1,filename:i="template.vue.html",scopeId:r=null,optimizeImports:o=!1,runtimeGlobalName:l="Vue",runtimeModuleName:a="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:f=!1,isTS:d=!1,inSSR:y=!1}){const b={mode:t,prefixIdentifiers:n,sourceMap:s,filename:i,scopeId:r,optimizeImports:o,runtimeGlobalName:l,runtimeModuleName:a,ssrRuntimeModuleName:c,ssr:f,isTS:d,inSSR:y,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(I){return`_${ps[I]}`},push(I,H=-2,q){b.code+=I},indent(){C(++b.indentLevel)},deindent(I=!1){I?--b.indentLevel:C(--b.indentLevel)},newline(){C(b.indentLevel)}};function C(I){b.push(` -`+" ".repeat(I),0)}return b}function _g(e,t={}){const n=bg(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:s,push:i,prefixIdentifiers:r,indent:o,deindent:l,newline:a,scopeId:c,ssr:f}=n,d=Array.from(e.helpers),y=d.length>0,b=!r&&s!=="module";Sg(e,n);const I=f?"ssrRender":"render",q=(f?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(i(`function ${I}(${q}) {`),o(),b&&(i("with (_ctx) {"),o(),y&&(i(`const { ${d.map(Pu).join(", ")} } = _Vue -`,-1),a())),e.components.length&&(wr(e.components,"component",n),(e.directives.length||e.temps>0)&&a()),e.directives.length&&(wr(e.directives,"directive",n),e.temps>0&&a()),e.filters&&e.filters.length&&(a(),wr(e.filters,"filter",n),a()),e.temps>0){i("let ");for(let N=0;N0?", ":""}_temp${N}`)}return(e.components.length||e.directives.length||e.temps)&&(i(` -`,0),a()),f||i("return "),e.codegenNode?dt(e.codegenNode,n):i("null"),b&&(l(),i("}")),l(),i("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function Sg(e,t){const{ssr:n,prefixIdentifiers:s,push:i,newline:r,runtimeModuleName:o,runtimeGlobalName:l,ssrRuntimeModuleName:a}=t,c=l,f=Array.from(e.helpers);if(f.length>0&&(i(`const _Vue = ${c} -`,-1),e.hoists.length)){const d=[Do,$o,Ys,Vo,vu].filter(y=>f.includes(y)).map(Pu).join(", ");i(`const { ${d} } = _Vue -`,-1)}Cg(e.hoists,t),r(),i("return ")}function wr(e,t,{helper:n,push:s,newline:i,isTS:r}){const o=n(t==="filter"?Ko:t==="component"?jo:Uo);for(let l=0;l3||!1;t.push("["),n&&t.indent(),ei(e,t,n),n&&t.deindent(),t.push("]")}function ei(e,t,n=!1,s=!0){const{push:i,newline:r}=t;for(let o=0;on||"null")}function Og(e,t){const{push:n,helper:s,pure:i}=t,r=be(e.callee)?e.callee:s(e.callee);i&&n(pr),n(r+"(",-2,e),ei(e.arguments,t),n(")")}function Ag(e,t){const{push:n,indent:s,deindent:i,newline:r}=t,{properties:o}=e;if(!o.length){n("{}",-2,e);return}const l=o.length>1||!1;n(l?"{":"{ "),l&&s();for(let a=0;a "),(a||l)&&(n("{"),s()),o?(a&&n("return "),se(o)?tl(o,t):dt(o,t)):l&&dt(l,t),(a||l)&&(i(),n("}")),c&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function Mg(e,t){const{test:n,consequent:s,alternate:i,newline:r}=e,{push:o,indent:l,deindent:a,newline:c}=t;if(n.type===4){const d=!el(n.content);d&&o("("),Fu(n,t),d&&o(")")}else o("("),dt(n,t),o(")");r&&l(),t.indentLevel++,r||o(" "),o("? "),dt(s,t),t.indentLevel--,r&&c(),r||o(" "),o(": ");const f=i.type===19;f||t.indentLevel++,dt(i,t),f||t.indentLevel--,r&&a(!0)}function Lg(e,t){const{push:n,helper:s,indent:i,deindent:r,newline:o}=t;n(`_cache[${e.index}] || (`),e.isVOnce&&(i(),n(`${s(ji)}(-1),`),o(),n("(")),n(`_cache[${e.index}] = `),dt(e.value,t),e.isVOnce&&(n(`).cacheIndex = ${e.index},`),o(),n(`${s(ji)}(1),`),o(),n(`_cache[${e.index}]`),r()),n(")")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const Pg=Lu(/^(if|else|else-if)$/,(e,t,n)=>Fg(e,t,n,(s,i,r)=>{const o=n.parent.children;let l=o.indexOf(s),a=0;for(;l-->=0;){const c=o[l];c&&c.type===9&&(a+=c.branches.length)}return()=>{if(r)s.codegenNode=ta(i,a,n);else{const c=Bg(s.codegenNode);c.alternate=ta(i,a+s.branches.length-1,n)}}}));function Fg(e,t,n,s){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const i=t.exp?t.exp.loc:e.loc;n.onError(He(28,t.loc)),t.exp=Se("true",!1,i)}if(t.name==="if"){const i=ea(e,t),r={type:9,loc:e.loc,branches:[i]};if(n.replaceNode(r),s)return s(r,i,!0)}else{const i=n.parent.children;let r=i.indexOf(e);for(;r-->=-1;){const o=i[r];if(o&&o.type===3){n.removeNode(o);continue}if(o&&o.type===2&&!o.content.trim().length){n.removeNode(o);continue}if(o&&o.type===9){t.name==="else-if"&&o.branches[o.branches.length-1].condition===void 0&&n.onError(He(30,e.loc)),n.removeNode();const l=ea(e,t);o.branches.push(l);const a=s&&s(o,l,!1);hr(l,n),a&&a(),n.currentNode=null}else n.onError(He(30,e.loc));break}}}function ea(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!Ft(e,"for")?e.children:[e],userKey:dr(e,"key"),isTemplateIf:n}}function ta(e,t,n){return e.condition?Xr(e.condition,na(e,t,n),Qe(n.helper(Ys),['""',"true"])):na(e,t,n)}function na(e,t,n){const{helper:s}=n,i=Ge("key",Se(`${t}`,!1,Ot,2)),{children:r}=e,o=r[0];if(r.length!==1||o.type!==1)if(r.length===1&&o.type===11){const a=o.codegenNode;return qi(a,i,n),a}else return Ds(n,s(Fs),Rt([i]),r,64,void 0,void 0,!0,!1,!1,e.loc);else{const a=o.codegenNode,c=Xp(a);return c.type===13&&Qo(c,n),qi(c,i,n),a}}function Bg(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const Dg=(e,t,n)=>{const{modifiers:s,loc:i}=e,r=e.arg;let{exp:o}=e;if(o&&o.type===4&&!o.content.trim()&&(o=void 0),!o){if(r.type!==4||!r.isStatic)return n.onError(He(52,r.loc)),{props:[Ge(r,Se("",!0,i))]};Du(e),o=e.exp}return r.type!==4?(r.children.unshift("("),r.children.push(') || ""')):r.isStatic||(r.content=`${r.content} || ""`),s.includes("camel")&&(r.type===4?r.isStatic?r.content=Ue(r.content):r.content=`${n.helperString(Yr)}(${r.content})`:(r.children.unshift(`${n.helperString(Yr)}(`),r.children.push(")"))),n.inSSR||(s.includes("prop")&&sa(r,"."),s.includes("attr")&&sa(r,"^")),{props:[Ge(r,o)]}},Du=(e,t)=>{const n=e.arg,s=Ue(n.content);e.exp=Se(s,!1,n.loc)},sa=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},$g=Lu("for",(e,t,n)=>{const{helper:s,removeHelper:i}=n;return Vg(e,t,n,r=>{const o=Qe(s(Wo),[r.source]),l=Ui(e),a=Ft(e,"memo"),c=dr(e,"key",!1,!0);c&&c.type===7&&!c.exp&&Du(c);const f=c&&(c.type===6?c.value?Se(c.value.content,!0):void 0:c.exp),d=c&&f?Ge("key",f):null,y=r.source.type===4&&r.source.constType>0,b=y?64:c?128:256;return r.codegenNode=Ds(n,s(Fs),void 0,o,b,void 0,void 0,!0,!y,!1,e.loc),()=>{let C;const{children:I}=r,H=I.length!==1||I[0].type!==1,q=Ki(e)?e:l&&e.children.length===1&&Ki(e.children[0])?e.children[0]:null;if(q?(C=q.codegenNode,l&&d&&qi(C,d,n)):H?C=Ds(n,s(Fs),d?Rt([d]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(C=I[0].codegenNode,l&&d&&qi(C,d,n),C.isBlock!==!y&&(C.isBlock?(i(Un),i(ys(n.inSSR,C.isComponent))):i(ms(n.inSSR,C.isComponent))),C.isBlock=!y,C.isBlock?(s(Un),s(ys(n.inSSR,C.isComponent))):s(ms(n.inSSR,C.isComponent))),a){const N=gs(no(r.parseResult,[Se("_cached")]));N.body=Up([Dt(["const _memo = (",a.exp,")"]),Dt(["if (_cached",...f?[" && _cached.key === ",f]:[],` && ${n.helperString(Su)}(_cached, _memo)) return _cached`]),Dt(["const _item = ",C]),Se("_item.memo = _memo"),Se("return _item")]),o.arguments.push(N,Se("_cache"),Se(String(n.cached++)))}else o.arguments.push(gs(no(r.parseResult),C,!0))}})});function Vg(e,t,n,s){if(!t.exp){n.onError(He(31,t.loc));return}const i=t.forParseResult;if(!i){n.onError(He(32,t.loc));return}$u(i);const{addIdentifiers:r,removeIdentifiers:o,scopes:l}=n,{source:a,value:c,key:f,index:d}=i,y={type:11,loc:t.loc,source:a,valueAlias:c,keyAlias:f,objectIndexAlias:d,parseResult:i,children:Ui(e)?e.children:[e]};n.replaceNode(y),l.vFor++;const b=s&&s(y);return()=>{l.vFor--,b&&b()}}function $u(e,t){e.finalized||(e.finalized=!0)}function no({value:e,key:t,index:n},s=[]){return jg([e,t,n,...s])}function jg(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((n,s)=>n||Se("_".repeat(s+1),!1))}const ia=Se("undefined",!1),Hg=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=Ft(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Ug=(e,t,n,s)=>gs(e,n,!1,!0,n.length?n[0].loc:s);function Kg(e,t,n=Ug){t.helper(Zo);const{children:s,loc:i}=e,r=[],o=[];let l=t.scopes.vSlot>0||t.scopes.vFor>0;const a=Ft(e,"slot",!0);if(a){const{arg:H,exp:q}=a;H&&!_t(H)&&(l=!0),r.push(Ge(H||Se("default",!0),n(q,void 0,s,i)))}let c=!1,f=!1;const d=[],y=new Set;let b=0;for(let H=0;H{const _=n(q,void 0,N,i);return t.compatConfig&&(_.isNonScopedSlot=!0),Ge("default",_)};c?d.length&&d.some(q=>Vu(q))&&(f?t.onError(He(39,d[0].loc)):r.push(H(void 0,d))):r.push(H(void 0,s))}const C=l?2:wi(e.children)?3:1;let I=Rt(r.concat(Ge("_",Se(C+"",!1))),i);return o.length&&(I=Qe(t.helper(_u),[I,Xs(o)])),{slots:I,hasDynamicSlots:l}}function gi(e,t,n){const s=[Ge("name",e),Ge("fn",t)];return n!=null&&s.push(Ge("key",Se(String(n),!0))),Rt(s)}function wi(e){for(let t=0;tfunction(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:s,props:i}=e,r=e.tagType===1;let o=r?Wg(e,t):`"${s}"`;const l=Fe(o)&&o.callee===Ho;let a,c,f=0,d,y,b,C=l||o===Os||o===Bo||!r&&(s==="svg"||s==="foreignObject"||s==="math");if(i.length>0){const I=Hu(e,t,void 0,r,l);a=I.props,f=I.patchFlag,y=I.dynamicPropNames;const H=I.directives;b=H&&H.length?Xs(H.map(q=>Gg(q,t))):void 0,I.shouldUseBlock&&(C=!0)}if(e.children.length>0)if(o===$i&&(C=!0,f|=1024),r&&o!==Os&&o!==$i){const{slots:H,hasDynamicSlots:q}=Kg(e,t);c=H,q&&(f|=1024)}else if(e.children.length===1&&o!==Os){const H=e.children[0],q=H.type,N=q===5||q===8;N&&Mt(H,t)===0&&(f|=1),N||q===2?c=H:c=e.children}else c=e.children;y&&y.length&&(d=Jg(y)),e.codegenNode=Ds(t,o,a,c,f===0?void 0:f,d,b,!!C,!1,r,e.loc)};function Wg(e,t,n=!1){let{tag:s}=e;const i=so(s),r=dr(e,"is",!1,!0);if(r)if(i||$n("COMPILER_IS_ON_ELEMENT",t)){let l;if(r.type===6?l=r.value&&Se(r.value.content,!0):(l=r.exp,l||(l=Se("is",!1,r.loc))),l)return Qe(t.helper(Ho),[l])}else r.type===6&&r.value.content.startsWith("vue:")&&(s=r.value.content.slice(4));const o=Eu(s)||t.isBuiltInComponent(s);return o?(n||t.helper(o),o):(t.helper(jo),t.components.add(s),Vs(s,"component"))}function Hu(e,t,n=e.props,s,i,r=!1){const{tag:o,loc:l,children:a}=e;let c=[];const f=[],d=[],y=a.length>0;let b=!1,C=0,I=!1,H=!1,q=!1,N=!1,_=!1,k=!1;const R=[],E=g=>{c.length&&(f.push(Rt(ra(c),l)),c=[]),g&&f.push(g)},F=()=>{t.scopes.vFor>0&&c.push(Ge(Se("ref_for",!0),Se("true")))},p=({key:g,value:T})=>{if(_t(g)){const v=g.content,O=Kn(v);if(O&&(!s||i)&&v.toLowerCase()!=="onclick"&&v!=="onUpdate:modelValue"&&!hn(v)&&(N=!0),O&&hn(v)&&(k=!0),O&&T.type===14&&(T=T.arguments[0]),T.type===20||(T.type===4||T.type===8)&&Mt(T,t)>0)return;v==="ref"?I=!0:v==="class"?H=!0:v==="style"?q=!0:v!=="key"&&!R.includes(v)&&R.push(v),s&&(v==="class"||v==="style")&&!R.includes(v)&&R.push(v)}else _=!0};for(let g=0;g1?u=Qe(t.helper(Vi),f,l):u=f[0]):c.length&&(u=Rt(ra(c),l)),_?C|=16:(H&&!s&&(C|=2),q&&!s&&(C|=4),R.length&&(C|=8),N&&(C|=32)),!b&&(C===0||C===32)&&(I||k||d.length>0)&&(C|=512),!t.inSSR&&u)switch(u.type){case 15:let g=-1,T=-1,v=!1;for(let ee=0;eeGe(o,r)),i))}return Xs(n,e.loc)}function Jg(e){let t="[";for(let n=0,s=e.length;n{if(Ki(e)){const{children:n,loc:s}=e,{slotName:i,slotProps:r}=Yg(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let l=2;r&&(o[2]=r,l=3),n.length&&(o[3]=gs([],n,!1,!1,s),l=4),t.scopeId&&!t.slotted&&(l=5),o.splice(l),e.codegenNode=Qe(t.helper(bu),o,s)}};function Yg(e,t){let n='"default"',s;const i=[];for(let r=0;r0){const{props:r,directives:o}=Hu(e,t,i,!1,!1);s=r,o.length&&t.onError(He(36,o[0].loc))}return{slotName:n,slotProps:s}}const Qg=/^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Uu=(e,t,n,s)=>{const{loc:i,modifiers:r,arg:o}=e;!e.exp&&!r.length&&n.onError(He(35,i));let l;if(o.type===4)if(o.isStatic){let d=o.content;d.startsWith("vue:")&&(d=`vnode-${d.slice(4)}`);const y=t.tagType!==0||d.startsWith("vnode")||!/[A-Z]/.test(d)?ns(Ue(d)):`on:${d}`;l=Se(y,!0,o.loc)}else l=Dt([`${n.helperString(Qr)}(`,o,")"]);else l=o,l.children.unshift(`${n.helperString(Qr)}(`),l.children.push(")");let a=e.exp;a&&!a.content.trim()&&(a=void 0);let c=n.cacheHandlers&&!a&&!n.inVOnce;if(a){const d=Tu(a.content),y=!(d||Qg.test(a.content)),b=a.content.includes(";");(y||c&&d)&&(a=Dt([`${y?"$event":"(...args)"} => ${b?"{":"("}`,a,b?"}":")"]))}let f={props:[Ge(l,a||Se("() => {}",!1,i))]};return s&&(f=s(f)),c&&(f.props[0].value=n.cache(f.props[0].value)),f.props.forEach(d=>d.key.isHandlerKey=!0),f},Xg=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const n=e.children;let s,i=!1;for(let r=0;rr.type===7&&!t.directiveTransforms[r.name])&&e.tag!=="template")))for(let r=0;r{if(e.type===1&&Ft(e,"once",!0))return oa.has(e)||t.inVOnce||t.inSSR?void 0:(oa.add(e),t.inVOnce=!0,t.helper(ji),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0))})},Ku=(e,t,n)=>{const{exp:s,arg:i}=e;if(!s)return n.onError(He(41,e.loc)),mi();const r=s.loc.source,o=s.type===4?s.content:r,l=n.bindingMetadata[r];if(l==="props"||l==="props-aliased")return n.onError(He(44,s.loc)),mi();if(!o.trim()||!Tu(o)&&!!1)return n.onError(He(42,s.loc)),mi();const c=i||Se("modelValue",!0),f=i?_t(i)?`onUpdate:${Ue(i.content)}`:Dt(['"onUpdate:" + ',i]):"onUpdate:modelValue";let d;const y=n.isTS?"($event: any)":"$event";d=Dt([`${y} => ((`,s,") = $event)"]);const b=[Ge(c,e.exp),Ge(f,d)];if(e.modifiers.length&&t.tagType===1){const C=e.modifiers.map(H=>(el(H)?H:JSON.stringify(H))+": true").join(", "),I=i?_t(i)?`${i.content}Modifiers`:Dt([i,' + "Modifiers"']):"modelModifiers";b.push(Ge(I,Se(`{ ${C} }`,!1,e.loc,2)))}return mi(b)};function mi(e=[]){return{props:e}}const tm=/[\w).+\-_$\]]/,nm=(e,t)=>{$n("COMPILER_FILTERS",t)&&(e.type===5?zi(e.content,t):e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&zi(n.exp,t)}))};function zi(e,t){if(e.type===4)la(e,t);else for(let n=0;n=0&&(N=n.charAt(q),N===" ");q--);(!N||!tm.test(N))&&(o=!0)}}C===void 0?C=n.slice(0,b).trim():f!==0&&H();function H(){I.push(n.slice(f,b).trim()),f=b+1}if(I.length){for(b=0;b{if(e.type===1){const n=Ft(e,"memo");return!n||aa.has(e)?void 0:(aa.add(e),()=>{const s=e.codegenNode||t.currentNode.codegenNode;s&&s.type===13&&(e.tagType!==1&&Qo(s,t),e.codegenNode=Qe(t.helper(Yo),[n.exp,gs(void 0,s),"_cache",String(t.cached++)]))})}};function rm(e){return[[em,Pg,im,$g,nm,Zg,qg,Hg,Xg],{on:Uu,bind:Dg,model:Ku}]}function om(e,t={}){const n=t.onError||Xo,s=t.mode==="module";t.prefixIdentifiers===!0?n(He(47)):s&&n(He(48));const i=!1;t.cacheHandlers&&n(He(49)),t.scopeId&&!s&&n(He(50));const r=Re({},t,{prefixIdentifiers:i}),o=be(e)?dg(e,r):e,[l,a]=rm();return mg(o,Re({},r,{nodeTransforms:[...l,...t.nodeTransforms||[]],directiveTransforms:Re({},a,t.directiveTransforms||{})})),_g(o,r)}const lm=()=>({props:[]});/** -* @vue/compiler-dom v3.4.32 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/const qu=Symbol(""),Wu=Symbol(""),zu=Symbol(""),Gu=Symbol(""),io=Symbol(""),Ju=Symbol(""),Zu=Symbol(""),Yu=Symbol(""),Qu=Symbol(""),Xu=Symbol("");Vp({[qu]:"vModelRadio",[Wu]:"vModelCheckbox",[zu]:"vModelText",[Gu]:"vModelSelect",[io]:"vModelDynamic",[Ju]:"withModifiers",[Zu]:"withKeys",[Yu]:"vShow",[Qu]:"Transition",[Xu]:"TransitionGroup"});let Yn;function am(e,t=!1){return Yn||(Yn=document.createElement("div")),t?(Yn.innerHTML=`
`,Yn.children[0].getAttribute("foo")):(Yn.innerHTML=e,Yn.textContent)}const cm={parseMode:"html",isVoidTag:xf,isNativeTag:e=>Tf(e)||If(e)||wf(e),isPreTag:e=>e==="pre",decodeEntities:am,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return Qu;if(e==="TransitionGroup"||e==="transition-group")return Xu},getNamespace(e,t,n){let s=t?t.ns:n;if(t&&s===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(i=>i.type===6&&i.name==="encoding"&&i.value!=null&&(i.value.content==="text/html"||i.value.content==="application/xhtml+xml"))&&(s=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(s=0);else t&&s===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(s=0);if(s===0){if(e==="svg")return 1;if(e==="math")return 2}return s}},um=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[n]={type:7,name:"bind",arg:Se("style",!0,t.loc),exp:fm(t.value.content,t.loc),modifiers:[],loc:t.loc})})},fm=(e,t)=>{const n=_a(e);return Se(JSON.stringify(n),!1,t,3)};function yn(e,t){return He(e,t)}const dm=(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(yn(53,i)),t.children.length&&(n.onError(yn(54,i)),t.children.length=0),{props:[Ge(Se("innerHTML",!0,i),s||Se("",!0))]}},hm=(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(yn(55,i)),t.children.length&&(n.onError(yn(56,i)),t.children.length=0),{props:[Ge(Se("textContent",!0),s?Mt(s,n)>0?s:Qe(n.helperString(fr),[s],i):Se("",!0))]}},pm=(e,t,n)=>{const s=Ku(e,t,n);if(!s.props.length||t.tagType===1)return s;e.arg&&n.onError(yn(58,e.arg.loc));const{tag:i}=t,r=n.isCustomElement(i);if(i==="input"||i==="textarea"||i==="select"||r){let o=zu,l=!1;if(i==="input"||r){const a=dr(t,"type");if(a){if(a.type===7)o=io;else if(a.value)switch(a.value.content){case"radio":o=qu;break;case"checkbox":o=Wu;break;case"file":l=!0,n.onError(yn(59,e.loc));break}}else Zp(t)&&(o=io)}else i==="select"&&(o=Gu);l||(s.needRuntime=n.helper(o))}else n.onError(yn(57,e.loc));return s.props=s.props.filter(o=>!(o.key.type===4&&o.key.content==="modelValue")),s},gm=kt("passive,once,capture"),mm=kt("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),ym=kt("left,right"),ef=kt("onkeyup,onkeydown,onkeypress",!0),vm=(e,t,n,s)=>{const i=[],r=[],o=[];for(let l=0;l_t(e)&&e.content.toLowerCase()==="onclick"?Se(t,!0):e.type!==4?Dt(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,bm=(e,t,n)=>Uu(e,t,n,s=>{const{modifiers:i}=e;if(!i.length)return s;let{key:r,value:o}=s.props[0];const{keyModifiers:l,nonKeyModifiers:a,eventOptionModifiers:c}=vm(r,i,n,e.loc);if(a.includes("right")&&(r=ca(r,"onContextmenu")),a.includes("middle")&&(r=ca(r,"onMouseup")),a.length&&(o=Qe(n.helper(Ju),[o,JSON.stringify(a)])),l.length&&(!_t(r)||ef(r.content))&&(o=Qe(n.helper(Zu),[o,JSON.stringify(l)])),c.length){const f=c.map(Wn).join("");r=_t(r)?Se(`${r.content}${f}`,!0):Dt(["(",r,`) + "${f}"`])}return{props:[Ge(r,o)]}}),_m=(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(yn(61,i)),{props:[],needRuntime:n.helper(Yu)}},Sm=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},Cm=[um],Em={cloak:lm,html:dm,text:hm,model:pm,on:bm,show:_m};function Tm(e,t={}){return om(e,Re({},cm,t,{nodeTransforms:[Sm,...Cm,...t.nodeTransforms||[]],directiveTransforms:Re({},Em,t.directiveTransforms||{}),transformHoist:null}))}/** -* vue v3.4.32 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/const ua=new WeakMap;function Im(e){let t=ua.get(e??Ne);return t||(t=Object.create(null),ua.set(e??Ne,t)),t}function wm(e,t){if(!be(e))if(e.nodeType)e=e.innerHTML;else return et;const n=e,s=Im(t),i=s[n];if(i)return i;if(e[0]==="#"){const a=document.querySelector(e);e=a?a.innerHTML:""}const r=Re({hoistStatic:!0,onError:void 0,onWarn:et},t);!r.isCustomElement&&typeof customElements<"u"&&(r.isCustomElement=a=>!!customElements.get(a));const{code:o}=Tm(e,r),l=new Function("Vue",o)(Lp);return l._rc=!0,s[n]=l}Kc(wm);function nl(e){return(nl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function fa(e){return function(t){if(Array.isArray(t))return ro(t)}(e)||function(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||tf(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function tf(e,t){if(e){if(typeof e=="string")return ro(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ro(e,t):void 0}}function ro(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,s=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(a){throw a},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var r,o=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var a=n.next();return o=a.done,a},e:function(a){l=!0,r=a},f:function(){try{o||n.return==null||n.return()}finally{if(l)throw r}}}}var oo={inheritAttrs:!1,name:"vue-input",props:{autocomplete:{required:!1,type:String},modelValue:{required:!0,type:String},placeholder:{required:!0,type:String},disabled:{required:!0,type:Boolean},tabindex:{required:!0,type:Number},autofocus:{required:!0,type:Boolean},comboboxUid:{required:!0,type:Number}},emits:["update:modelValue","input","change","focus","blur","escape"],setup:function(e,t){var n=me(null);return Gn(function(){e.autofocus&&n.value.focus()}),qs(function(){e.autofocus&&n.value.focus()}),{handleInput:function(s){t.emit("input",s),t.emit("update:modelValue",s.target.value)},handleChange:function(s){t.emit("change",s),t.emit("update:modelValue",s.target.value)},handleFocus:function(s){t.emit("focus",s)},handleBlur:function(s){t.emit("blur",s)},input:n,handleEscape:function(s){n.value.blur(),t.emit("escape",s)}}}},xm={class:"vue-input"},km=["autocomplete","modelValue","placeholder","disabled","tabindex","autofocus","aria-controls","aria-labelledby"];oo.render=function(e,t,n,s,i,r){return ae(),fe("div",xm,[Nt(e.$slots,"prepend"),ne("input",{ref:"input",autocomplete:n.autocomplete,modelValue:n.modelValue,placeholder:n.placeholder,disabled:n.disabled,onInput:t[0]||(t[0]=function(){return s.handleInput&&s.handleInput.apply(s,arguments)}),onChange:t[1]||(t[1]=function(){return s.handleChange&&s.handleChange.apply(s,arguments)}),onFocus:t[2]||(t[2]=function(){return s.handleFocus&&s.handleFocus.apply(s,arguments)}),onBlur:t[3]||(t[3]=function(){return s.handleBlur&&s.handleBlur.apply(s,arguments)}),onKeyup:t[4]||(t[4]=An(De(function(){return s.handleEscape&&s.handleEscape.apply(s,arguments)},["exact"]),["esc"])),tabindex:n.tabindex,autofocus:n.autofocus,"aria-autocomplete":"list","aria-controls":"vs".concat(n.comboboxUid,"-listbox"),"aria-labelledby":"vs".concat(n.comboboxUid,"-combobox")},null,40,km),Nt(e.$slots,"append")])},oo.__file="src/components/input.vue";var lo={inheritAttrs:!1,name:"vue-tags",props:{modelValue:{required:!0,type:Array,validator:function(e){return e.every(function(t){return nl(t.key)!==void 0&&t.label!==void 0&&typeof t.selected=="boolean"})}},collapseTags:{type:Boolean}},emits:["click"],setup:function(e,t){return{dataAttrs:gn("dataAttrs"),handleClick:function(n){t.emit("click",n)}}}};lo.render=function(e,t,n,s,i,r){return ae(),fe("ul",Gs({class:["vue-tags",{collapsed:n.collapseTags}],onMousedown:t[0]||(t[0]=De(function(){},["prevent"])),tabindex:"-1",onClick:t[1]||(t[1]=function(){return s.handleClick&&s.handleClick.apply(s,arguments)})},s.dataAttrs),[(ae(!0),fe(Oe,null,Ct(n.modelValue,function(o){return ae(),fe(Oe,{key:o.key},[o.group?$e("v-if",!0):(ae(),fe("li",{key:0,class:Ze(["vue-tag",{selected:o.selected}])},[Nt(e.$slots,"default",{option:o},function(){return[ne("span",null,It(o.label),1)]})],2))],64)}),128))],16)},lo.__file="src/components/tags.vue";var ao={inheritAttrs:!1,name:"vue-dropdown",props:{modelValue:{required:!0,type:Array,validator:function(e){return e.every(function(t){return nl(t.key)!==void 0&&t.label!==void 0&&typeof t.selected=="boolean"})}},comboboxUid:{required:!0,type:Number},maxHeight:{required:!0},highlightedOriginalIndex:{required:!0}},emits:["click-item","mouseenter"],setup:function(e,t){return{dataAttrs:gn("dataAttrs"),handleClickItem:function(n,s){s.disabled||t.emit("click-item",n,s)},handleMouseenter:function(n,s){t.emit("mouseenter",n,s)}}}},Om=["id","aria-multiselectable","aria-busy","aria-disabled"],Am=["onClick","onMouseenter","id","aria-selected","aria-disabled"];ao.render=function(e,t,n,s,i,r){return ae(),fe("ul",Gs({class:"vue-dropdown",style:{maxHeight:n.maxHeight+"px"},onMousedown:t[0]||(t[0]=De(function(){},["prevent"]))},s.dataAttrs,{role:"listbox",id:"vs".concat(n.comboboxUid,"-listbox"),"aria-multiselectable":s.dataAttrs["data-multiple"],"aria-busy":s.dataAttrs["data-loading"],"aria-disabled":s.dataAttrs["data-disabled"]}),[(ae(!0),fe(Oe,null,Ct(n.modelValue,function(o,l){return ae(),fe(Oe,{key:o.key},[o.visible&&o.hidden===!1?(ae(),fe("li",{key:0,onClick:function(a){return s.handleClickItem(a,o)},class:Ze(["vue-dropdown-item",{selected:o.selected,disabled:o.disabled,highlighted:o.originalIndex===n.highlightedOriginalIndex,group:o.group}]),onMouseenter:function(a){return s.handleMouseenter(a,o)},role:"option",id:"vs".concat(n.comboboxUid,"-option-").concat(l),"aria-selected":!!o.selected||!!o.disabled&&void 0,"aria-disabled":o.disabled},[Nt(e.$slots,"default",{option:o},function(){return[ne("span",null,It(o.label),1)]})],42,Am)):$e("v-if",!0)],64)}),128))],16,Om)},ao.__file="src/components/dropdown.vue";var nf=function(e,t,n){var s=n.valueBy;return s(e)===s(t)},Xn=function(e,t,n){var s=n.valueBy;return e.some(function(i){return nf(i,t,{valueBy:s})})},xn=function(e,t,n){var s=n.valueBy;return e.find(function(i){return s(i)===t})},xr=function(e,t,n){var s=n.max,i=n.valueBy;return Xn(e,t,{valueBy:i})||e.length>=s?e:e.concat(t)},kr=function(e,t,n){var s=n.min,i=n.valueBy;return Xn(e,t,{valueBy:i})===!1||e.length<=s?e:e.filter(function(r){return nf(r,t,{valueBy:i})===!1})},yi=function(e){return ze(function(){return typeof e.value=="function"?e.value:typeof e.value=="string"?function(t){return e.value.split(".").reduce(function(n,s){return n[s]},t)}:function(t){return t}})},Nm=function(e,t){var n=ze(function(){return e.value.reduce(function(o,l){return Object.assign(o,(a={},c=l.originalIndex,f=l,c in a?Object.defineProperty(a,c,{value:f,enumerable:!0,configurable:!0,writable:!0}):a[c]=f,a));var a,c,f},{})}),s=function(o){var l=n.value[o];return l!==void 0&&i(l)!==!1&&(t.value=o,!0)},i=function(o){return!o.disabled&&!o.hidden&&o.visible},r=ze(function(){return e.value.some(function(o){return i(o)})});return Zt(function(){if(r.value===!1&&(t.value=null),t.value!==null&&e.value.length<=t.value){var o,l=Nn(e.value.reverse());try{for(l.s();!(o=l.n()).done;){var a=o.value;if(s(a.originalIndex))break}}catch(y){l.e(y)}finally{l.f()}}if(t.value===null||i(e.value[t.value])===!1){var c,f=Nn(e.value);try{for(f.s();!(c=f.n()).done;){var d=c.value;if(s(d.originalIndex))break}}catch(y){f.e(y)}finally{f.f()}}}),{pointerForward:function(){if(r.value!==!1&&t.value!==null)for(var o=t.value+1,l=0;o!==t.value&&l++o.value.$el.clientHeight+o.value.$el.scrollTop&&ce++n.min,"data-total-length":n.options.length,"data-multiple":e.multiple,"data-loading":e.loading,"data-disabled":e.disabled}});Oo("dataAttrs",ie);var Me=ze(function(){return g.value.filter(function(M){return M.selected}).filter(function(M){return!M.group})}),ye=ze(function(){return e.multiple?Me.value.length===0?e.placeholder:Me.value.length===1?"1 option selected":Me.value.length+" options selected":Me.value.length===0?e.placeholder:Me.value[0].label+""}),te=ze(function(){var M=Me.value.map(function(U){return U.originalOption});return e.multiple?M:M[0]||s.value}),Ae=me();return ct(function(){return[e.openDirection,c.value]},function(){var M,U;Ae.value=(U=(M=e.openDirection)!==null&&M!==void 0?M:function(){if(r.value!==void 0&&window!==void 0)return window.innerHeight-r.value.getBoundingClientRect().bottom>=e.maxHeight?"bottom":"top"}())!==null&&U!==void 0?U:"bottom"},{immediate:!0}),{instance:i,isFocusing:c,wrapper:r,dropdown:o,input:l,focus:f,blur:d,toggle:function(){c.value?d():f()},searchingInputValue:y,handleInputForInput:function(M){t.emit("search:input",M)},handleChangeForInput:function(M){t.emit("search:change",M)},handleFocusForInput:function(M){f()},handleBlurForInput:function(M){d()},optionsWithInfo:g,addOrRemoveOption:function(M,U){e.disabled||(U.group&&e.multiple?k(M,U):R(M,U),E(),e.closeOnSelect===!0&&(c.value=!1),e.clearOnSelect===!0&&y.value&&F())},dataAttrs:ie,innerPlaceholder:ye,selected:te,highlightedOriginalIndex:u,pointerForward:function(){v(),Kt(z)},pointerBackward:function(){O(),Kt(z)},pointerFirst:function(){var M,U=Nn(n.options.keys());try{for(U.s();!(M=U.n()).done;){var ce=M.value;if(K(ce))break}}catch(le){U.e(le)}finally{U.f()}Kt(z)},pointerLast:function(){var M,U=Nn(fa(n.options.keys()).reverse());try{for(U.s();!(M=U.n()).done;){var ce=M.value;if(K(ce))break}}catch(le){U.e(le)}finally{U.f()}Kt(z)},typeAhead:function(M){var U,ce;if(!e.searchable){var le=!1;if(W.test(M.key)?(ee+=M.key.toLowerCase(),le=!0):M.code==="Space"&&(ee+=" "),le){var Ce,X=Nn(V.value);try{for(X.s();!(Ce=X.n()).done;){var he=Ce.value;if(((ce=(U=n.labelBy(n.options[he]))===null||U===void 0?void 0:U.toLowerCase())===null||ce===void 0?void 0:ce.startsWith(ee))===!0&&K(he))break}}catch(Ee){X.e(Ee)}finally{X.f()}clearTimeout(_),_=setTimeout(function(){ee=""},500)}}},pointerSet:K,direction:Ae}},components:{VInput:oo,VTags:lo,VDropdown:ao}});Gi.__VERSION__="2.10.5";var Rm=["tabindex","id","role","aria-expanded","aria-owns","aria-activedescendant","aria-busy","aria-disabled"],Mm={class:"vue-select-header"},Lm={key:0,class:"vue-input"},Pm=["placeholder","autocomplete"],Fm=["onClick"],Bm=ne("span",{class:"icon loading"},[ne("div"),ne("div"),ne("div")],-1),Dm={key:0,class:"vue-select-input-wrapper"},$m=ne("span",{class:"icon loading"},[ne("div"),ne("div"),ne("div")],-1);Gi.render=function(e,t,n,s,i,r){var o=bi("v-tags"),l=bi("v-input"),a=bi("v-dropdown");return ae(),fe("div",Gs({ref:"wrapper",class:["vue-select",["direction-".concat(e.direction)]],tabindex:e.isFocusing?-1:e.tabindex,onFocus:t[9]||(t[9]=function(){return e.focus&&e.focus.apply(e,arguments)}),onBlur:t[10]||(t[10]=function(c){return!e.searchable&&e.blur(c)})},Object.assign({},e.dataAttrs,e.$attrs),{onKeypress:t[11]||(t[11]=An(De(function(){return e.highlightedOriginalIndex!==null&&e.addOrRemoveOption(e.$event,e.optionsWithInfo[e.highlightedOriginalIndex])},["prevent","exact"]),["enter"])),onKeydown:[t[12]||(t[12]=An(De(function(){return e.pointerForward&&e.pointerForward.apply(e,arguments)},["prevent","exact"]),["down"])),t[13]||(t[13]=An(De(function(){return e.pointerBackward&&e.pointerBackward.apply(e,arguments)},["prevent","exact"]),["up"])),t[14]||(t[14]=An(De(function(){return e.pointerFirst&&e.pointerFirst.apply(e,arguments)},["prevent","exact"]),["home"])),t[15]||(t[15]=An(De(function(){return e.pointerLast&&e.pointerLast.apply(e,arguments)},["prevent","exact"]),["end"])),t[16]||(t[16]=function(){return e.typeAhead&&e.typeAhead.apply(e,arguments)})],id:"vs".concat(e.instance.uid,"-combobox"),role:e.searchable?"combobox":null,"aria-expanded":e.isFocusing,"aria-haspopup":"listbox","aria-owns":"vs".concat(e.instance.uid,"-listbox"),"aria-activedescendant":e.highlightedOriginalIndex===null?null:"vs".concat(e.instance.uid,"-option-").concat(e.highlightedOriginalIndex),"aria-busy":e.loading,"aria-disabled":e.disabled}),[ne("div",Mm,[e.multiple&&e.taggable&&e.modelValue.length===0||e.searchable===!1&&e.taggable===!1?(ae(),fe("div",Lm,[Nt(e.$slots,"label",{selected:e.selected},function(){return[ne("input",{placeholder:e.innerPlaceholder,autocomplete:e.autocomplete,readonly:"",onClick:t[0]||(t[0]=function(){return e.focus&&e.focus.apply(e,arguments)})},null,8,Pm)]})])):$e("v-if",!0),e.multiple&&e.taggable?(ae(),fe(Oe,{key:1},[Be(o,{modelValue:e.optionsWithInfo,"collapse-tags":e.collapseTags,tabindex:"-1",onClick:e.focus},{default:cs(function(c){var f=c.option;return[Nt(e.$slots,"tag",{option:f.originalOption,remove:function(){return e.addOrRemoveOption(e.$event,f)}},function(){return[ne("span",null,It(f.label),1),ne("img",{src:"data:image/svg+xml;base64,PHN2ZyBpZD0iZGVsZXRlIiBkYXRhLW5hbWU9ImRlbGV0ZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiI+PHRpdGxlPmRlbGV0ZTwvdGl0bGU+PHBhdGggZD0iTTI1NiwyNEMzODMuOSwyNCw0ODgsMTI4LjEsNDg4LDI1NlMzODMuOSw0ODgsMjU2LDQ4OCwyNC4wNiwzODMuOSwyNC4wNiwyNTYsMTI4LjEsMjQsMjU2LDI0Wk0wLDI1NkMwLDM5Ny4xNiwxMTQuODQsNTEyLDI1Niw1MTJTNTEyLDM5Ny4xNiw1MTIsMjU2LDM5Ny4xNiwwLDI1NiwwLDAsMTE0Ljg0LDAsMjU2WiIgZmlsbD0iIzViNWI1ZiIvPjxwb2x5Z29uIHBvaW50cz0iMzgyIDE3Mi43MiAzMzkuMjkgMTMwLjAxIDI1NiAyMTMuMjkgMTcyLjcyIDEzMC4wMSAxMzAuMDEgMTcyLjcyIDIxMy4yOSAyNTYgMTMwLjAxIDMzOS4yOCAxNzIuNzIgMzgyIDI1NiAyOTguNzEgMzM5LjI5IDM4MS45OSAzODIgMzM5LjI4IDI5OC43MSAyNTYgMzgyIDE3Mi43MiIgZmlsbD0iIzViNWI1ZiIvPjwvc3ZnPg==",alt:"delete tag",class:"icon delete",onClick:De(function(){return e.addOrRemoveOption(e.$event,f)},["prevent","stop"])},null,8,Fm)]})]}),_:3},8,["modelValue","collapse-tags","onClick"]),Nt(e.$slots,"toggle",{isFocusing:e.isFocusing,toggle:e.toggle},function(){return[ne("span",{class:Ze(["icon arrow-downward",{active:e.isFocusing}]),onClick:t[1]||(t[1]=function(){return e.toggle&&e.toggle.apply(e,arguments)}),onMousedown:t[2]||(t[2]=De(function(){},["prevent","stop"]))},null,34)]})],64)):(ae(),fe(Oe,{key:2},[e.searchable?(ae(),zs(l,{key:0,ref:"input",modelValue:e.searchingInputValue,"onUpdate:modelValue":t[3]||(t[3]=function(c){return e.searchingInputValue=c}),disabled:e.disabled,autocomplete:e.autocomplete,placeholder:e.isFocusing?e.searchPlaceholder:e.innerPlaceholder,onInput:e.handleInputForInput,onChange:e.handleChangeForInput,onFocus:e.handleFocusForInput,onBlur:e.handleBlurForInput,onEscape:e.blur,autofocus:e.autofocus||e.taggable&&e.searchable,tabindex:e.tabindex,comboboxUid:e.instance.uid},null,8,["modelValue","disabled","autocomplete","placeholder","onInput","onChange","onFocus","onBlur","onEscape","autofocus","tabindex","comboboxUid"])):$e("v-if",!0),e.loading?Nt(e.$slots,"loading",{key:1},function(){return[Bm]}):Nt(e.$slots,"toggle",{key:2,isFocusing:e.isFocusing,toggle:e.toggle},function(){return[ne("span",{class:Ze(["icon arrow-downward",{active:e.isFocusing}]),onClick:t[4]||(t[4]=function(){return e.toggle&&e.toggle.apply(e,arguments)}),onMousedown:t[5]||(t[5]=De(function(){},["prevent","stop"]))},null,34)]})],64))]),e.multiple&&e.taggable&&e.searchable?(ae(),fe("div",Dm,[mt(Be(l,{ref:"input",modelValue:e.searchingInputValue,"onUpdate:modelValue":t[6]||(t[6]=function(c){return e.searchingInputValue=c}),disabled:e.disabled,autocomplete:e.autocomplete,placeholder:e.isFocusing?e.searchPlaceholder:e.innerPlaceholder,onInput:e.handleInputForInput,onChange:e.handleChangeForInput,onFocus:e.handleFocusForInput,onBlur:e.handleBlurForInput,onEscape:e.blur,autofocus:e.autofocus||e.taggable&&e.searchable,tabindex:e.tabindex,comboboxUid:e.instance.uid},null,8,["modelValue","disabled","autocomplete","placeholder","onInput","onChange","onFocus","onBlur","onEscape","autofocus","tabindex","comboboxUid"]),[[Pt,e.isFocusing]]),e.loading?Nt(e.$slots,"loading",{key:0},function(){return[$m]}):$e("v-if",!0)])):$e("v-if",!0),Be(a,{ref:"dropdown",modelValue:e.optionsWithInfo,"onUpdate:modelValue":t[7]||(t[7]=function(c){return e.optionsWithInfo=c}),onClickItem:e.addOrRemoveOption,onMouseenter:t[8]||(t[8]=function(c,f){return e.pointerSet(f.originalIndex)}),comboboxUid:e.instance.uid,maxHeight:e.maxHeight,highlightedOriginalIndex:e.highlightedOriginalIndex},{default:cs(function(c){var f=c.option;return[Nt(e.$slots,"dropdown-item",{option:f.originalOption},function(){return[ne("span",null,It(f.label),1)]})]}),_:3},8,["modelValue","onClickItem","comboboxUid","maxHeight","highlightedOriginalIndex"])],16,Rm)},Gi.__file="src/index.vue";function Ss(e,t){let n=-1;return e.forEach((s,i)=>{s.html.id===parseInt(t)&&(n=i)}),n}function da(e){try{return JSON.parse(e)}catch(t){return console.log("erreur recupJson ",t),!1}}function Vm(e,t){let n=document.createElement("a");n.href=e,n.setAttribute("target","_blank"),n.click()}function jm(e,t){if((Number.isInteger(e)||parseInt(e)==e)&&(Number.isInteger(t)||parseInt(t)==t))return parseInt(e)-parseInt(t);{let n=toString(e).toLowerCase(),s=toString(t).toLowerCase();return ns?1:0}}const ha=(e,t,n,s)=>e.sort((i,r)=>t.reduce((o,l,a)=>{if(o===0){let[c,f]=n&&n[a]==="desc"?[r[s][l],i[s][l]]:[i[s][l],r[s][l]];c=typeof c=="string"?c.toLowerCase():c,f=typeof f=="string"?f.toLowerCase():f;let d=/^(\d{2})\/(\d{2})\/(\d{2,4})$/;if(typeof c!="number"){let y=c.match(d);Array.isArray(y)&&(c=y[3]+y[2]+y[1]);let b=f.match(d);Array.isArray(b)&&(f=b[3]+b[2]+b[1])}o=c>f?1:c{localforage.setDriver(localforage[s.stockage.toUpperCase()]),h("maj")});const Ae=ze(()=>{if(z.value){const[x,A]=z.value.split(" "),[S,B,ue]=x.split("-"),[_e,Je,ot]=A.split(":");return`${ue}/${B}/${S} à ${_e}h${Je}min${ot}sec`}else return""}),M=ze(()=>{if(Pe(),!R.value&&!_.value)return ve(i.value);let x=i.value.filter(A=>{let S=!(Object.values(A[O.value]).toString().toLowerCase().indexOf(R.value.toLowerCase())<0);return S?(Object.keys(N.value).forEach(B=>{if(S){let ue=N.value[B];if(ue!==null){Array.isArray(ue)||(ue=[ue]);let _e=[];ue.forEach(Je=>{Number.isInteger(Je)&&_e.push(Je),Je.length>0&&_e.push(Je.toLowerCase())}),_e.length&&(q.value[B]==="select"?_e.some(ot=>{if(Number.isInteger(ot)){if(parseInt(A[O.value][B])===ot)return!0}else if(te[B]){if(A[O.value][B]!==void 0&&!(A[O.value][B].toString().toLowerCase().toString().indexOf(ot)===-1||!A[O.value][B].toString().toLowerCase()))return!0}else if(A[O.value][B]!==void 0&&!(ot.indexOf(A[O.value][B].toString().toLowerCase().toString())===-1||!A[O.value][B].toString().toLowerCase()))return!0})||(S=!1):A[O.value][B].toString().toLowerCase().indexOf(_e.toString())===-1&&(S=!1))}}}),S):!1});return ve(x)});function U(){var A;let x={};(A=a.value.filter(S=>S.source==="total")[0])==null||A.champs.forEach(S=>{let B=0;S.fonction==="somme"?B=le(S.nom,i.value):S.fonction==="somme_monnaie"?B=Ce(S.nom,i.value):S.fonction==="somme_champ"?B=le(S.args,i.value):S.fonction==="somme_champ_monnaie"?B=Ce(S.args,i.value):S.legende!==void 0&&(B=S.legende??""),x[S.nom]=B}),f.value=x}function ce(){var A;let x={};(A=a.value.filter(S=>S.source==="affiche")[0])==null||A.champs.forEach(S=>{let B=0;S.fonction==="somme"?B=le(S.nom,M.value):S.fonction==="somme_monnaie"?B=Ce(S.nom,M.value):S.fonction==="somme_champ"?B=le(S.args,M.value):S.fonction==="somme_champ_monnaie"?B=Ce(S.args,M.value):S.legende!==void 0&&(B=S.legende??""),x[S.nom]=B}),c.value=x}function le(x,A){let S=0;return A.map(B=>B.search).forEach(B=>{Object.entries(B).forEach(([ue,_e])=>{ue===x&&_e&&(S+=_e)})}),S}function Ce(x,A){let S=0;return A.map(ue=>ue.search).forEach(ue=>{Object.entries(ue).forEach(([_e,Je])=>{_e===x&&Je&&(S+=Je)})}),new Intl.NumberFormat("fr-FR",{style:"currency",currency:"EUR",minimumFractionDigits:2}).format(S)}ct(N,()=>{m()}),ct(p,x=>{parseInt(x)?F.value=x:F.value=i.value.length,sessionStorage.setItem("nbItems",F.value),sessionStorage.setItem("nbItemsChaine",p.value)}),ct(i,()=>{m(),localforage.setItem(ye,JSON.stringify(i.value)),U()}),ct(M,()=>{s.filtrecolmulti==="non"&&H.value.forEach(x=>{let A=[];M.value.forEach(S=>{let B=S[O.value][x];A.indexOf(B)===-1&&(A.push(B),filtreColValOk.value=!0)}),k.value[x]=A}),ce()}),ct(N,()=>{let x=[];N.value&&Object.entries(N.value).forEach(([A,S])=>{Array.isArray(S)||(S=[S]),x.push({champ:A,valeurs:S})}),V||localStorage.setItem("filtreselect_"+ye,JSON.stringify(x))},{deep:!0});function X(x){if(l.value=x.header,x.header_top!==void 0){r.value=x.header_top;let S=[],B=0;Object.values(x.header_top).forEach(ue=>{for(let _e=1;_e<=ue.colspan;_e++)S[B]=ue.class,B++}),o.value=S}x.footer!==void 0?a.value=x.footer:a.value=[],x.crayons!==void 0&&(d.value=x.crayons),x.maj!==void 0&&(z.value=x.maj),x.classes!==void 0&&(y.value=x.classes),x.checkbox!==void 0&&(b.value=x.checkbox,Object.keys(b.value).forEach(S=>{C.value[S]=[]})),x.ordreCol!==void 0&&(I.value=x.ordreCol);let A=[];return x.filtreCol!==void 0&&(A=x.filtreCol),x.filtreColValeurs!==void 0&&(te=x.filtreColValeurs),m(),A}function he(x,A=null){if(parseInt(A)>0)if(x.length>0){let S=Ss(i.value,A);S>=0?i.value[S]=x[0]:i.value.unshift(x[0])}else{let S=Ss(i.value,A);i.value.splice(S,1)}else A==="maj"?x.length&&(x[0]&&x[0].search&&(O.value="search"),x.length>0&&x.forEach((S,B)=>{let ue=Ss(i.value,S.html.id);ue>=0?i.value[ue]=x[B]:i.value.unshift(x[B])})):(i.value=x,x[0]&&x[0].search&&(O.value="search"));localforage.setItem(ye,JSON.stringify(i.value))}function Ee(x){x!==void 0&&(q.value=x,H.value=[],Object.keys(q.value).forEach(A=>{if(H.value.push(A),te[A])k.value[A]=te[A];else{let S=[];i.value.forEach(B=>{let ue=B[O.value][A];ue&&S.indexOf(ue)===-1&&S.push(ue)}),k.value[A]=S.sort()}N.value[A]=[]}))}function Te(x){x.a_supprimer&&x.a_supprimer.forEach(A=>{let S=Ss(i.value,A);S!==-1&&i.value.splice(S,1)})}function h(x){console.log("chargerJson pour ",x),K.value=!0;let A=s.apiuri;if(parseInt(x)>0)A+="&id="+x;else{let S=localStorage.getItem("header_"+ye);S=da(S),S&&S.header!==void 0&&i.value.length===0&&(console.log("charge LS"),localforage.getItem(ye).then(function(B){B=da(B);let ue=X(S);i.value=B,Ee(ue),s.nomblocajaxreload&&ajaxReload(s.nomblocajaxreload)}).catch(function(B){console.log(B)})),x==="maj"&&(z.value?A+="&maj="+z.value:S&&S.maj?A+="&maj="+S.maj:x=null)}fetch(A).then(S=>S.json()).then(S=>{let B=S.shift();Te(B);let ue=X(B);he(S,x),Ee(ue),Kt(()=>{K.value=!1;const _e=localStorage.getItem("filtreselect_"+ye),Je=localStorage.getItem("triCol_"+ye);let ot=[];if(s.filtreselect?(s.filtreselect.split(",").forEach(it=>{const[pt,...jt]=it.split("|"),Jn=ot.findIndex(gr=>gr.champ===pt);Jn===-1?ot.push({champ:pt,valeurs:jt}):ot[Jn].valeurs.push(jt[0])}),localStorage.setItem("filtreselect_"+ye,JSON.stringify(ot))):_e&&(ot=JSON.parse(_e)),ot.forEach(it=>{H.value.includes(it.champ)&&(N.value[it.champ]=[...N.value[it.champ],...it.valeurs])}),_.value++,V=!1,ie&&s.tparpage.includes(ie)&&(p.value=ie),Me?(Me.split(",").forEach(it=>{const[pt,jt]=it.split("|");H.value.includes(pt)&&Z(pt,jt)}),localStorage.setItem("triCol_"+ye,Me)):Je&&Je.split(",").forEach(it=>{const[pt,jt]=it.split("|");H.value.includes(pt)&&Z(pt,jt)}),parseInt(s._id)>0){let it=parseInt(s._id),pt=parseInt(F.value);if(parseInt(pt)){let jt=0;if(Object.values(i.value).forEach((Jn,gr)=>{it===Jn.html.id&&(jt=gr+1)}),jt>pt){let Jn=parseInt(jt/pt)+1;E.value=Jn}}P(it,"id")}s.nomblocajaxreload&&ajaxReload(s.nomblocajaxreload),I.value&&Object.entries(I.value).forEach(([it,pt])=>{Z(it,pt)}),$("td.crayon-init").removeClass("crayon-init")})}).catch(S=>console.log(S))}function m(){let x={header:l.value,header_top:r.value,footer:a.value,crayons:d.value,classes:y.value,filtreCol:q.value,ordreCol:I.value,maj:z.value};localStorage.setItem("header_"+ye,JSON.stringify(x))}function w(x){N.value[x]=[],m()}function L(){_.value++}function D(){return s.apiuri?s.apiuri.match(/.*page=(.*)/)[1]+"&gamuId="+s.id_auteur:""}function j(x,A){let S=A.crayons!==void 0&&A.crayons[x]!==void 0?A.crayons[x]:A.html.id;if(Object.keys(d.value).indexOf(x)!==-1)return`crayon ${d.value[x]}-${x}-${S}`}function Z(x,A=!1){const S=T.value.indexOf(x);S!==-1?(A||(A="asc",g.value[S]==="asc"&&(A="desc")),g.value[S]=A):(A||(A="asc"),T.value.push(x),g.value.push(A)),i.value=ha(i.value,T.value,g.value,O.value),I.value[x]=A,m()}function J(x,A){const S=T.value.indexOf(x);if(S!==-1&&g.value[S]===A)return"active"}function G(){i.value=ha(i.value,["id"],"",O.value),g.value=[],T.value=[],I.value=[],Object.keys(q.value).forEach(x=>{N.value[x]=[]}),localStorage.removeItem("filtreselect_"+ye),localStorage.removeItem("filtreCol_"+ye),localStorage.removeItem("triCol_"+ye)}function P(x,A){if(A==="id"&&parseInt(x)){let S=v.value.indexOf(x);S!==-1?v.value.splice(S,1):v.value.push(x)}}function Y(x="tableau"){let A=[],S=M.value;x==="table"&&(S=i.value),Object.values(S).forEach(_e=>{A.push(_e.html)});const B={fichierpdf:s.fichierpdf,langpdf:s.langpdf,namepdf:s.namepdf,header:l.value,arg:s.argpdf,Tdata:A};$.ajax({url:s.pdfuri,type:"POST",dataType:"text",data:B}).done(function(_e){_e&&Vm(_e)})}function oe(x="tableau"){let A=[],S=[],B=[],ue=M.value;x==="table"&&(ue=i.value),Object.keys(l.value).forEach(_e=>S.push(_e)),B=ue.reduce((_e,Je)=>{let ot=[];return Object.values(Je[s.champcsv]).forEach(it=>ot.push(it)),[..._e,[...ot]]},[]),A=[[...S],...B],Ke(A,s.delimitercsv,s.namecsv)}function Q(x){let A=W.value;return Object.keys(x).forEach(S=>{A=A.replace(`@@${S}@@`,x[S])}),A}function de(x){ee.value=x}function pe(x){C.value[x]!==void 0&&C.value[x].length?C.value[x]=[]:(C.value[x]=[],M.value.forEach(A=>{C.value[x].push(A.html.id)}))}function Ie(x,A){let S="page";if(A.includes("action=")&&(S="action"),S==="action")$.ajax({url:A,data:{data:C.value[x]},type:"POST"}).done(function(){h("maj")});else{const B=encodeURIComponent(JSON.stringify(C.value[x]));A+="&data="+B,A+="&var_zajax=content";const ue={};ue.onClose=()=>{h("maj")},$.modalbox(A,ue)}}function ve(x){let A=E.value*F.value-F.value,S=E.value*F.value;return x.slice(A,S)}function Pe(){let x=Math.ceil(i.value.length/F.value);u.value=[];for(let A=1;A<=x;A++)u.value.push(A)}function Ke(x,A,S){S.includes(".csv")&&(S=S.split(".")[0]);let B="";A?B=n.unparse(x,{delimiter:A}):B=n.unparse(x),n.download(B,S)}function We(x,A=!0){console.log("rechargerJson"),V=A,console.log("rechargerJson id ",x),Number.isInteger(x)&&x<0?Vt(x):h(x)}function Vt(x){x<0&&(x=x*-1),console.log("delLigne : ",x);let A=Ss(i.value,x);A!==-1&&i.value.splice(A,1)}return t({rechargerJson:We,delLigne:Vt}),(x,A)=>(ae(),fe("div",Hm,[ne("div",Um,[mt(ne("select",{id:"parPage","onUpdate:modelValue":A[0]||(A[0]=S=>je(p)?p.value=S:p=S)},[(ae(!0),fe(Oe,null,Ct(e.tparpage,S=>(ae(),fe("option",{key:S},It(S),1))),128))],512),[[Fo,re(p)]]),mt(ne("input",{class:"gamutable--rechercher",type:"text","onUpdate:modelValue":A[1]||(A[1]=S=>je(R)?R.value=S:R=S),placeholder:"Rechercher"},null,512),[[ds,re(R)]]),ne("button",{class:"btn gamutable--resetOrderBy",type:"button",onClick:A[2]||(A[2]=De(S=>G(),["stop"])),title:"Réinitialiser les tris des colonnes"},Wm),ne("button",{class:"btn var_gamutable rouge",type:"button",onClick:A[3]||(A[3]=De(S=>h(),["stop"])),title:"Rechargement complet du tableau"},Gm),ne("button",{class:"btn var_gamutable",type:"button",onClick:A[4]||(A[4]=De(S=>h("maj"),["stop"])),title:"Mise à jour du tableau - dernière version de la base de donnée le : "+Ae.value},Ym,8,Jm),re(W)?mt((ae(),fe("button",{key:0,class:"btn gamutable--vueTable",title:"Switcher en Vue tableau",onClick:A[5]||(A[5]=De(S=>de("tableau"),["stop"]))},Xm,512)),[[Pt,re(ee)==="bloc"]]):$e("",!0),re(W)?mt((ae(),fe("button",{key:1,class:"btn gamutable--vueBloc",title:"Switcher en Vue Bloc",onClick:A[6]||(A[6]=De(S=>de("bloc"),["stop"]))},ty,512)),[[Pt,re(ee)==="tableau"]]):$e("",!0),mt(ne("button",{class:"btn gamutable--exportCSV export--affiche",type:"button",onClick:A[7]||(A[7]=De(S=>oe(),["stop"])),title:"Exporter le tableau affiché en csv"},sy,512),[[Pt,e.namecsv]]),mt(ne("button",{class:"btn export--affiche",type:"button",onClick:A[8]||(A[8]=De(S=>Y(),["stop"])),title:"Générer le PDF du tableau affiché"},ry,512),[[Pt,e.fichierpdf]]),mt(ne("button",{class:"btn gamutable--exportCSV export--complet",type:"button",onClick:A[9]||(A[9]=De(S=>oe("table"),["stop"])),title:"Exporter le tableau complet en csv"},ly,512),[[Pt,e.namecsv]]),mt(ne("button",{class:"btn export--complet",type:"button",onClick:A[10]||(A[10]=De(S=>Y("table"),["stop"])),title:"Générer le PDF du tableau complet"},cy,512),[[Pt,e.fichierpdf]]),mt(ne("span",uy,hy,512),[[Pt,re(K)]]),mt(ne("span",py,my,512),[[Pt,!re(K)]]),ne("span",{class:"gamutable-nbrMax","data-nbrmax":re(i).length},It(M.value.length)+" / "+It(re(i).length)+" éléments",9,yy),ne("span",{class:"includespip",innerHTML:e.includespip},null,8,vy)]),re(ee)==="bloc"?(ae(),fe("div",by,[(ae(!0),fe(Oe,null,Ct(M.value,S=>(ae(),fe("div",{class:"vueBlocs-unbloc",key:S.id,innerHTML:Q(S.html)},null,8,_y))),128))])):$e("",!0),re(ee)==="tableau"?(ae(),fe("table",Sy,[ne("thead",null,[Object.keys(re(r)).length?(ae(),fe("tr",Cy,[(ae(!0),fe(Oe,null,Ct(re(r),(S,B,ue)=>(ae(),fe("th",{key:"header_top_"+ue,colspan:S.colspan,class:Ze(S.class)},[ne("span",{innerHTML:B},null,8,Ty)],10,Ey))),128))])):$e("",!0),ne("tr",null,[(ae(!0),fe(Oe,null,Ct(re(l),(S,B,ue)=>(ae(),fe("th",{key:"head_"+ue,class:Ze([B,re(y)[B],re(o)[ue]+"--header_top"])},[ne("span",Iy,[ne("span",{innerHTML:S},null,8,wy),ne("span",xy,[ne("i",{class:Ze(["gt-sort-up",J(B,"asc")]),"aria-hidden":"true",onClick:De(_e=>Z(B,"asc"),["stop"])},null,10,ky),ne("i",{class:Ze(["gt-sort-down",J(B,"desc")]),"aria-hidden":"true",onClick:De(_e=>Z(B,"desc"),["stop"])},null,10,Oy)])])],2))),128))]),re(H).length||Object.keys(re(b)).length?(ae(),fe("tr",Ay,[(ae(!0),fe(Oe,null,Ct(re(l),(S,B,ue)=>(ae(),fe("th",{key:"filtreCol_"+ue,class:Ze(B)},[re(b)[B]!==void 0?(ae(),fe("div",{key:0,id:"filtreCol_"+B,class:Ze([re(y)[B],"flex justify-between"])},[ne("input",{class:"ml-2",type:"checkbox",onClick:De(_e=>pe(B),["stop"])},null,8,Ry),ne("button",{onClick:De(_e=>Ie(B,re(b)[B]),["stop"])},Py,8,My)],10,Ny)):$e("",!0),re(H).indexOf(B)!==-1?(ae(),fe("div",{key:1,id:"filtreCol_"+B},[re(q)[B]==="select"?(ae(),zs(re(Gi),{key:0,modelValue:re(N)[B],"onUpdate:modelValue":_e=>re(N)[B]=_e,options:re(k)[B].sort(re(jm)),"hide-selected":"",multiple:"",taggable:"","close-on-select":"","clear-on-close":"",searchable:"",onSelected:L,"onSearch:focus":A[11]||(A[11]=()=>{})},{tag:cs(({option:_e,remove:Je})=>[ne("div",By,[ar(It(_e)+" ",1),ne("span",{class:"tag--remove pointer",title:"Cliquer pour supprimer ",onClick:De(Je,["stop"])},"x",8,Dy)])]),_:2},1032,["modelValue","onUpdate:modelValue","options"])):$e("",!0),re(q)[B]==="input"?mt((ae(),fe("input",{key:1,class:"gamutable__input--filtrer","onUpdate:modelValue":_e=>re(N)[B]=_e,type:"text",placeholder:"Rechercher",onKeydown:A[12]||(A[12]=()=>{})},null,40,$y)),[[ds,re(N)[B]]]):$e("",!0),re(q)[B]==="input"&&re(N)[B].length!==0?(ae(),fe("button",{key:2,onClick:De(_e=>w(B),["stop"]),title:"Vider ce champ",class:"gamutable__input--filtrer"}," X ",8,Vy)):$e("",!0)],8,Fy)):$e("",!0)],2))),128))])):$e("",!0)]),ne("tbody",null,[(ae(!0),fe(Oe,null,Ct(M.value,S=>(ae(),fe("tr",{key:S.html.id,class:Ze(re(v).indexOf(S.html.id)!==-1?"select":"")},[(ae(!0),fe(Oe,null,Ct(S.html,(B,ue,_e)=>(ae(),fe("td",{key:"td_"+_e,class:Ze([j(ue,S),ue,re(y)[ue],S.classes!==void 0?S.classes[ue]:""]),onClick:Je=>P(S.html.id,ue)},[re(b)[ue]!==void 0?(ae(),fe("div",Hy,[B.split("-")[0]==="dataid"?(ae(),fe("div",Uy,[ne("label",null,[mt(ne("input",{type:"checkbox","onUpdate:modelValue":Je=>re(C)[ue]=Je,value:B.split("-")[1]},null,8,Ky),[[ur,re(C)[ue]]])])])):(ae(),fe("div",{key:1,innerHTML:B},null,8,qy))])):(ae(),fe("div",{key:1,innerHTML:B},null,8,Wy))],10,jy))),128))],2))),128))]),ne("tfoot",null,[Object.keys(re(c)).length?(ae(),fe("tr",zy,[(ae(!0),fe(Oe,null,Ct(re(l),(S,B,ue)=>(ae(),fe("th",{key:"footerAffiche_"+ue,class:Ze([B,re(y)[B],re(o)[ue]+"--footer"])},[ne("div",{innerHTML:re(c)[B]??""},null,8,Gy)],2))),128))])):$e("",!0),Object.keys(re(f)).length?(ae(),fe("tr",Jy,[(ae(!0),fe(Oe,null,Ct(re(l),(S,B,ue)=>(ae(),fe("th",{key:"footerTotal_"+ue,class:Ze([B,re(y)[B],re(o)[ue]+"--footer"])},[ne("div",{innerHTML:re(f)[B]??""},null,8,Zy)],2))),128))])):$e("",!0)])])):$e("",!0),ne("div",Yy,[ne("div",Qy,It(M.value.length)+" / "+It(re(i).length)+" éléments ",1),ne("div",Xy,[ne("div",ev,[re(E)!=1?(ae(),fe("button",{key:0,type:"button",class:"page-link",onClick:A[13]||(A[13]=S=>je(E)?E.value=1:E=1)}," Premier ")):$e("",!0),re(E)!=1?(ae(),fe("button",{key:1,type:"button",class:"page-link",onClick:A[14]||(A[14]=S=>je(E)?E.value--:E--)}," Précédent ")):$e("",!0)]),ne("div",tv,[(ae(!0),fe(Oe,null,Ct(re(u).slice(re(E)-4<0?0:re(E)-4,re(E)+3),S=>(ae(),fe("button",{type:"button",class:Ze(["page-link",{on:S===re(E)}]),onClick:B=>je(E)?E.value=S:E=S},It(S),11,nv))),256))]),ne("div",sv,[re(E)je(E)?E.value++:E++),class:"page-link"}," Suivant ")):$e("",!0),re(E)je(E)?E.value=re(u).length:E=re(u).length),class:"page-link"}," Dernier ")):$e("",!0)])])])]))}};var rv=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ov(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var sf={exports:{}};/* @license -Papa Parse -v5.4.1 -https://github.com/mholt/PapaParse -License: MIT -*/(function(e,t){(function(n,s){e.exports=s()})(rv,function n(){var s=typeof self<"u"?self:typeof window<"u"?window:s!==void 0?s:{},i=!s.document&&!!s.postMessage,r=s.IS_PAPA_WORKER||!1,o={},l=0,a={parse:function(p,u){var g=(u=u||{}).dynamicTyping||!1;if(F(g)&&(u.dynamicTypingFunction=g,g={}),u.dynamicTyping=g,u.transform=!!F(u.transform)&&u.transform,u.worker&&a.WORKERS_SUPPORTED){var T=function(){if(!a.WORKERS_SUPPORTED)return!1;var O=(ee=s.URL||s.webkitURL||null,W=n.toString(),a.BLOB_URL||(a.BLOB_URL=ee.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",W,")();"],{type:"text/javascript"})))),K=new s.Worker(O),ee,W;return K.onmessage=N,K.id=l++,o[K.id]=K}();return T.userStep=u.step,T.userChunk=u.chunk,T.userComplete=u.complete,T.userError=u.error,u.step=F(u.step),u.chunk=F(u.chunk),u.complete=F(u.complete),u.error=F(u.error),delete u.worker,void T.postMessage({input:p,config:u,workerId:T.id})}var v=null;return a.NODE_STREAM_INPUT,typeof p=="string"?(p=function(O){return O.charCodeAt(0)===65279?O.slice(1):O}(p),v=u.download?new d(u):new b(u)):p.readable===!0&&F(p.read)&&F(p.on)?v=new C(u):(s.File&&p instanceof File||p instanceof Object)&&(v=new y(u)),v.stream(p)},unparse:function(p,u){var g=!1,T=!0,v=",",O=`\r -`,K='"',ee=K+K,W=!1,V=null,z=!1;(function(){if(typeof u=="object"){if(typeof u.delimiter!="string"||a.BAD_DELIMITERS.filter(function(te){return u.delimiter.indexOf(te)!==-1}).length||(v=u.delimiter),(typeof u.quotes=="boolean"||typeof u.quotes=="function"||Array.isArray(u.quotes))&&(g=u.quotes),typeof u.skipEmptyLines!="boolean"&&typeof u.skipEmptyLines!="string"||(W=u.skipEmptyLines),typeof u.newline=="string"&&(O=u.newline),typeof u.quoteChar=="string"&&(K=u.quoteChar),typeof u.header=="boolean"&&(T=u.header),Array.isArray(u.columns)){if(u.columns.length===0)throw new Error("Option columns is empty");V=u.columns}u.escapeChar!==void 0&&(ee=u.escapeChar+K),(typeof u.escapeFormulae=="boolean"||u.escapeFormulae instanceof RegExp)&&(z=u.escapeFormulae instanceof RegExp?u.escapeFormulae:/^[=+\-@\t\r].*$/)}})();var ie=new RegExp(H(K),"g");if(typeof p=="string"&&(p=JSON.parse(p)),Array.isArray(p)){if(!p.length||Array.isArray(p[0]))return Me(null,p,W);if(typeof p[0]=="object")return Me(V||Object.keys(p[0]),p,W)}else if(typeof p=="object")return typeof p.data=="string"&&(p.data=JSON.parse(p.data)),Array.isArray(p.data)&&(p.fields||(p.fields=p.meta&&p.meta.fields||V),p.fields||(p.fields=Array.isArray(p.data[0])?p.fields:typeof p.data[0]=="object"?Object.keys(p.data[0]):[]),Array.isArray(p.data[0])||typeof p.data[0]=="object"||(p.data=[p.data])),Me(p.fields||[],p.data||[],W);throw new Error("Unable to serialize unrecognized input");function Me(te,Ae,M){var U="";typeof te=="string"&&(te=JSON.parse(te)),typeof Ae=="string"&&(Ae=JSON.parse(Ae));var ce=Array.isArray(te)&&0=this._config.preview;if(r)s.postMessage({results:O,workerId:a.WORKER_ID,finished:ee});else if(F(this._config.chunk)&&!g){if(this._config.chunk(O,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);O=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(O.data),this._completeResults.errors=this._completeResults.errors.concat(O.errors),this._completeResults.meta=O.meta),this._completed||!ee||!F(this._config.complete)||O&&O.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),ee||O&&O.meta.paused||this._nextChunk(),O}this._halted=!0},this._sendError=function(u){F(this._config.error)?this._config.error(u):r&&this._config.error&&s.postMessage({workerId:a.WORKER_ID,error:u,finished:!1})}}function d(p){var u;(p=p||{}).chunkSize||(p.chunkSize=a.RemoteChunkSize),f.call(this,p),this._nextChunk=i?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(g){this._input=g,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(u=new XMLHttpRequest,this._config.withCredentials&&(u.withCredentials=this._config.withCredentials),i||(u.onload=E(this._chunkLoaded,this),u.onerror=E(this._chunkError,this)),u.open(this._config.downloadRequestBody?"POST":"GET",this._input,!i),this._config.downloadRequestHeaders){var g=this._config.downloadRequestHeaders;for(var T in g)u.setRequestHeader(T,g[T])}if(this._config.chunkSize){var v=this._start+this._config.chunkSize-1;u.setRequestHeader("Range","bytes="+this._start+"-"+v)}try{u.send(this._config.downloadRequestBody)}catch(O){this._chunkError(O.message)}i&&u.status===0&&this._chunkError()}},this._chunkLoaded=function(){u.readyState===4&&(u.status<200||400<=u.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:u.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(g){var T=g.getResponseHeader("Content-Range");return T===null?-1:parseInt(T.substring(T.lastIndexOf("/")+1))}(u),this.parseChunk(u.responseText)))},this._chunkError=function(g){var T=u.statusText||g;this._sendError(new Error(T))}}function y(p){var u,g;(p=p||{}).chunkSize||(p.chunkSize=a.LocalChunkSize),f.call(this,p);var T=typeof FileReader<"u";this.stream=function(v){this._input=v,g=v.slice||v.webkitSlice||v.mozSlice,T?((u=new FileReader).onload=E(this._chunkLoaded,this),u.onerror=E(this._chunkError,this)):u=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(v.target.result)},this._chunkError=function(){this._sendError(u.error)}}function b(p){var u;f.call(this,p=p||{}),this.stream=function(g){return u=g,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var g,T=this._config.chunkSize;return T?(g=u.substring(0,T),u=u.substring(T)):(g=u,u=""),this._finished=!u,this.parseChunk(g)}}}function C(p){f.call(this,p=p||{});var u=[],g=!0,T=!1;this.pause=function(){f.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){f.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(v){this._input=v,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){T&&u.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),u.length?this.parseChunk(u.shift()):g=!0},this._streamData=E(function(v){try{u.push(typeof v=="string"?v:v.toString(this._config.encoding)),g&&(g=!1,this._checkIsFinished(),this.parseChunk(u.shift()))}catch(O){this._streamError(O)}},this),this._streamError=E(function(v){this._streamCleanUp(),this._sendError(v)},this),this._streamEnd=E(function(){this._streamCleanUp(),T=!0,this._streamData("")},this),this._streamCleanUp=E(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function I(p){var u,g,T,v=Math.pow(2,53),O=-v,K=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,ee=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,W=this,V=0,z=0,ie=!1,Me=!1,ye=[],te={data:[],errors:[],meta:{}};if(F(p.step)){var Ae=p.step;p.step=function(X){if(te=X,ce())U();else{if(U(),te.data.length===0)return;V+=X.data.length,p.preview&&V>p.preview?g.abort():(te.data=te.data[0],Ae(te,W))}}}function M(X){return p.skipEmptyLines==="greedy"?X.join("").trim()==="":X.length===1&&X[0].length===0}function U(){return te&&T&&(Ce("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+a.DefaultDelimiter+"'"),T=!1),p.skipEmptyLines&&(te.data=te.data.filter(function(X){return!M(X)})),ce()&&function(){if(!te)return;function X(Ee,Te){F(p.transformHeader)&&(Ee=p.transformHeader(Ee,Te)),ye.push(Ee)}if(Array.isArray(te.data[0])){for(var he=0;ce()&&he=ye.length?"__parsed_extra":ye[h]),p.transform&&(L=p.transform(L,w)),L=le(w,L),w==="__parsed_extra"?(m[w]=m[w]||[],m[w].push(L)):m[w]=L}return p.header&&(h>ye.length?Ce("FieldMismatch","TooManyFields","Too many fields: expected "+ye.length+" fields but parsed "+h,z+Te):h=j.length/2?`\r -`:"\r"}(X,Te)),T=!1,p.delimiter)F(p.delimiter)&&(p.delimiter=p.delimiter(X),te.meta.delimiter=p.delimiter);else{var h=function(w,L,D,j,Z){var J,G,P,Y;Z=Z||[","," ","|",";",a.RECORD_SEP,a.UNIT_SEP];for(var oe=0;oe=K)return We(!0)}else for(Q=V,V++;;){if((Q=ie.indexOf(u,Q+1))===-1)return ye||Ce.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:le.length,index:V}),Pe();if(Q===te-1)return Pe(ie.substring(V,Q).replace(oe,u));if(u!==W||ie[Q+1]!==W){if(u===W||Q===0||ie[Q-1]!==W){P!==-1&&P=K)return We(!0);break}Ce.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:le.length,index:V}),Q++}}else Q++}return Pe();function Ie(x){le.push(x),he=V}function ve(x){var A=0;if(x!==-1){var S=ie.substring(Q+1,x);S&&S.trim()===""&&(A=S.length)}return A}function Pe(x){return ye||(x===void 0&&(x=ie.substring(V)),X.push(x),V=te,Ie(X),ce&&Vt()),We()}function Ke(x){V=x,Ie(X),X=[],Y=ie.indexOf(T,V)}function We(x){return{data:le,errors:Ce,meta:{delimiter:g,linebreak:T,aborted:z,truncated:!!x,cursor:he+(Me||0)}}}function Vt(){O(We()),le=[],Ce=[]}},this.abort=function(){z=!0},this.getCharIndex=function(){return V}}function N(p){var u=p.data,g=o[u.workerId],T=!1;if(u.error)g.userError(u.error,u.file);else if(u.results&&u.results.data){var v={abort:function(){T=!0,_(u.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:k,resume:k};if(F(g.userStep)){for(var O=0;O{try{const n=new Blob([e],{type:"text/csv"}),s=URL.createObjectURL(n),i=document.createElement("a");i.id=`csv-${parseInt(Math.random().toString().slice(2,16))}`,i.href=s,document.body.appendChild(i);const r=document.getElementById(i.id);return r.style.visibility="hidden",r.download=`${t}.csv`,r.click(),setTimeout(()=>{document.body.removeChild(i)},1),!0}catch{return!1}},uv=e=>e.map(t=>JSON.stringify(t)).reduce((t,n)=>(t.find(s=>s===n)||t.push(n),t),[]).map(t=>JSON.parse(t)),pa={install(e,t){const n={download:cv,dedupe:uv},s=Object.entries(av).reduce((r,[o,l])=>(r[o]=l,r),{}),i=Object.assign(s,n);"config"in e&&"globalProperties"in e.config?e.config.globalProperties.$papa=i:e.prototype.$papa=i}},ga={GamuTable:iv};try{const t=function(n,s){return new Array(s+1).join(n)}("gamutable ",100);localStorage.setItem("test_gamutable",t),localStorage.removeItem("test_gamutable")}catch(e){console.log(e.code),(e.code===22||e.code===1024)&&(console.error("On fait le ménage de tout le localstorage"),localStorage.clear())}of();function of(){let e=1;for(const t of document.getElementsByClassName("vue-gamutable"))e===1?(window.app=Zr({components:ga,mounted(){app.rechargerJson=this.$refs.montableau.rechargerJson,app.delLigne=this.$refs.montableau.delLigne}}),app.use(pa),app.provide("$papa",app.config.globalProperties.$papa),app.mount(t)):e===2&&(window.app2=Zr({components:ga,mounted(){app2.rechargerJson=this.$refs.montableau_deux.rechargerJson,app2.delLigne=this.$refs.montableau_deux.delLigne}}),app2.use(pa),app2.provide("$papa",app2.config.globalProperties.$papa),app2.mount(t)),e++}window.gamutable=of;$("#vueGamutable").on("click",".url_action, .url_action--ss_css",function(e){e.preventDefault(),e.stopPropagation();let t=$(this).data("confirm");if(t!==void 0&&!confirm(t))return;let n=$(this).attr("href"),s=$(this).data("id"),i="1";$(this).parents(".gamutableDeux").length&&(i="2"),$(this).data("treload")!==void 0&&(i=$(this).data("treload").toString());let r=i.indexOf("1")!==-1,o=i.indexOf("2")!==-1;$(this).has("i.icon, i.fa")&&$(this).find("i.icon, i.fa").eq(0).replaceWith('');let l=$(this).data("ajaxreload");$.ajax({url:n,dataType:"json",async:!0}).done(function(a){!$.isEmptyObject(a)&&!$.isEmptyObject(a.message_erreur)?alert(a.message_erreur):(parseInt(s)>0?(r&&app.rechargerJson(s),o&&app2.rechargerJson(s)):parseInt(s)<0?(r&&app.delLigne(s),o&&app2.delLigne(s)):(r&&app.rechargerJson("maj 1"),o&&app2.rechargerJson("maj 2")),l!==void 0&&ajaxReload(l,{args:{id:s},callback:function(){}}))})}); diff --git a/dist/assets/gamutable-DbZfumel.js b/dist/assets/gamutable-DbZfumel.js new file mode 100644 index 0000000..2f075f6 --- /dev/null +++ b/dist/assets/gamutable-DbZfumel.js @@ -0,0 +1,52 @@ +function Sf(e,t){for(var n=0;ns[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))s(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const r={};return i.integrity&&(r.integrity=i.integrity),i.referrerPolicy&&(r.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?r.credentials="include":i.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(i){if(i.ep)return;i.ep=!0;const r=n(i);fetch(i.href,r)}})();/** +* @vue/shared v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function Mt(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ke={},rs=[],at=()=>{},ks=()=>!1,Wn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),To=e=>e.startsWith("onUpdate:"),Ae=Object.assign,xo=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ef=Object.prototype.hasOwnProperty,Me=(e,t)=>Ef.call(e,t),te=Array.isArray,os=e=>Es(e)==="[object Map]",Jn=e=>Es(e)==="[object Set]",ml=e=>Es(e)==="[object Date]",Cf=e=>Es(e)==="[object RegExp]",ve=e=>typeof e=="function",_e=e=>typeof e=="string",It=e=>typeof e=="symbol",Le=e=>e!==null&&typeof e=="object",wo=e=>(Le(e)||ve(e))&&ve(e.then)&&ve(e.catch),Ia=Object.prototype.toString,Es=e=>Ia.call(e),Tf=e=>Es(e).slice(8,-1),ir=e=>Es(e)==="[object Object]",Io=e=>_e(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,bn=Mt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),xf=Mt("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),rr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},wf=/-(\w)/g,je=rr(e=>e.replace(wf,(t,n)=>n?n.toUpperCase():"")),If=/\B([A-Z])/g,xt=rr(e=>e.replace(If,"-$1").toLowerCase()),Gn=rr(e=>e.charAt(0).toUpperCase()+e.slice(1)),ls=rr(e=>e?`on${Gn(e)}`:""),vt=(e,t)=>!Object.is(e,t),as=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Li=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Di=e=>{const t=_e(e)?Number(e):NaN;return isNaN(t)?e:t};let yl;const or=()=>yl||(yl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function kf(e,t){return e+JSON.stringify(t,(n,s)=>typeof s=="function"?s.toString():s)}const Af="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",Of=Mt(Af);function ti(e){if(te(e)){const t={};for(let n=0;n{if(n){const s=n.split(Rf);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Qe(e){let t="";if(_e(e))t=e;else if(te(e))for(let n=0;nxn(n,t))}const Na=e=>!!(e&&e.__v_isRef===!0),Ot=e=>_e(e)?e:e==null?"":te(e)||Le(e)&&(e.toString===Ia||!ve(e.toString))?Na(e)?Ot(e.value):JSON.stringify(e,Ra,2):String(e),Ra=(e,t)=>Na(t)?Ra(e,t.value):os(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,i],r)=>(n[Ar(s,r)+" =>"]=i,n),{})}:Jn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ar(n))}:It(t)?Ar(t):Le(t)&&!te(t)&&!ir(t)?String(t):t,Ar=(e,t="")=>{var n;return It(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let yt;class ko{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=yt,!t&&yt&&(this.index=(yt.scopes||(yt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(Ms){let t=Ms;for(Ms=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Rs;){let t=Rs;for(Rs=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 Da(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Fa(e){let t,n=e.depsTail,s=n;for(;s;){const i=s.prevDep;s.version===-1?(s===n&&(n=i),No(s),Gf(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=i}e.deps=t,e.depsTail=n}function qr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ba(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ba(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===$s))return;e.globalVersion=$s;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!qr(e)){e.flags&=-3;return}const n=Be,s=Kt;Be=e,Kt=!0;try{Da(e);const i=e.fn(e._value);(t.version===0||vt(i,e._value))&&(e._value=i,t.version++)}catch(i){throw t.version++,i}finally{Be=n,Kt=s,Fa(e),e.flags&=-3}}function No(e,t=!1){const{dep:n,prevSub:s,nextSub:i}=e;if(s&&(s.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)No(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Gf(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function zf(e,t){e.effect instanceof Vs&&(e=e.effect.fn);const n=new Vs(e);t&&Ae(n,t);try{n.run()}catch(i){throw n.stop(),i}const s=n.run.bind(n);return s.effect=n,s}function Yf(e){e.effect.stop()}let Kt=!0;const Va=[];function kn(){Va.push(Kt),Kt=!1}function An(){const e=Va.pop();Kt=e===void 0?!0:e}function vl(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Be;Be=void 0;try{t()}finally{Be=n}}}let $s=0;class Zf{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 ar{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}track(t){if(!Be||!Kt||Be===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Be)n=this.activeLink=new Zf(Be,this),Be.deps?(n.prevDep=Be.depsTail,Be.depsTail.nextDep=n,Be.depsTail=n):Be.deps=Be.depsTail=n,$a(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=Be.depsTail,n.nextDep=void 0,Be.depsTail.nextDep=n,Be.depsTail=n,Be.deps===n&&(Be.deps=s)}return n}trigger(t){this.version++,$s++,this.notify(t)}notify(t){Ao();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Oo()}}}function $a(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)$a(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Fi=new WeakMap,Bn=Symbol(""),Wr=Symbol(""),js=Symbol("");function dt(e,t,n){if(Kt&&Be){let s=Fi.get(e);s||Fi.set(e,s=new Map);let i=s.get(n);i||(s.set(n,i=new ar),i.map=s,i.key=n),i.track()}}function sn(e,t,n,s,i,r){const o=Fi.get(e);if(!o){$s++;return}const l=a=>{a&&a.trigger()};if(Ao(),t==="clear")o.forEach(l);else{const a=te(e),c=a&&Io(n);if(a&&n==="length"){const u=Number(s);o.forEach((f,m)=>{(m==="length"||m===js||!It(m)&&m>=u)&&l(f)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),c&&l(o.get(js)),t){case"add":a?c&&l(o.get("length")):(l(o.get(Bn)),os(e)&&l(o.get(Wr)));break;case"delete":a||(l(o.get(Bn)),os(e)&&l(o.get(Wr)));break;case"set":os(e)&&l(o.get(Bn));break}}Oo()}function Qf(e,t){const n=Fi.get(e);return n&&n.get(t)}function Qn(e){const t=Ne(e);return t===e?t:(dt(t,"iterate",js),Rt(e)?t:t.map(ht))}function cr(e){return dt(e=Ne(e),"iterate",js),e}const Xf={__proto__:null,[Symbol.iterator](){return Nr(this,Symbol.iterator,ht)},concat(...e){return Qn(this).concat(...e.map(t=>te(t)?Qn(t):t))},entries(){return Nr(this,"entries",e=>(e[1]=ht(e[1]),e))},every(e,t){return Qt(this,"every",e,t,void 0,arguments)},filter(e,t){return Qt(this,"filter",e,t,n=>n.map(ht),arguments)},find(e,t){return Qt(this,"find",e,t,ht,arguments)},findIndex(e,t){return Qt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Qt(this,"findLast",e,t,ht,arguments)},findLastIndex(e,t){return Qt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Qt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Rr(this,"includes",e)},indexOf(...e){return Rr(this,"indexOf",e)},join(e){return Qn(this).join(e)},lastIndexOf(...e){return Rr(this,"lastIndexOf",e)},map(e,t){return Qt(this,"map",e,t,void 0,arguments)},pop(){return Ts(this,"pop")},push(...e){return Ts(this,"push",e)},reduce(e,...t){return bl(this,"reduce",e,t)},reduceRight(e,...t){return bl(this,"reduceRight",e,t)},shift(){return Ts(this,"shift")},some(e,t){return Qt(this,"some",e,t,void 0,arguments)},splice(...e){return Ts(this,"splice",e)},toReversed(){return Qn(this).toReversed()},toSorted(e){return Qn(this).toSorted(e)},toSpliced(...e){return Qn(this).toSpliced(...e)},unshift(...e){return Ts(this,"unshift",e)},values(){return Nr(this,"values",ht)}};function Nr(e,t,n){const s=cr(e),i=s[t]();return s!==e&&!Rt(e)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.value&&(r.value=n(r.value)),r}),i}const ed=Array.prototype;function Qt(e,t,n,s,i,r){const o=cr(e),l=o!==e&&!Rt(e),a=o[t];if(a!==ed[t]){const f=a.apply(e,r);return l?ht(f):f}let c=n;o!==e&&(l?c=function(f,m){return n.call(this,ht(f),m,e)}:n.length>2&&(c=function(f,m){return n.call(this,f,m,e)}));const u=a.call(o,c,s);return l&&i?i(u):u}function bl(e,t,n,s){const i=cr(e);let r=n;return i!==e&&(Rt(e)?n.length>3&&(r=function(o,l,a){return n.call(this,o,l,a,e)}):r=function(o,l,a){return n.call(this,o,ht(l),a,e)}),i[t](r,...s)}function Rr(e,t,n){const s=Ne(e);dt(s,"iterate",js);const i=s[t](...n);return(i===-1||i===!1)&&dr(n[0])?(n[0]=Ne(n[0]),s[t](...n)):i}function Ts(e,t,n=[]){kn(),Ao();const s=Ne(e)[t].apply(e,n);return Oo(),An(),s}const td=Mt("__proto__,__v_isRef,__isVue"),ja=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(It));function nd(e){It(e)||(e=String(e));const t=Ne(this);return dt(t,"has",e),t.hasOwnProperty(e)}class Ha{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return r;if(n==="__v_raw")return s===(i?r?Ga:Ja:r?Wa:qa).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=te(t);if(!i){let a;if(o&&(a=Xf[n]))return a;if(n==="hasOwnProperty")return nd}const l=Reflect.get(t,n,Ve(t)?t:s);return(It(n)?ja.has(n):td(n))||(i||dt(t,"get",n),r)?l:Ve(l)?o&&Io(n)?l:l.value:Le(l)?i?Ro(l):ni(l):l}}class Ua extends Ha{constructor(t=!1){super(!1,t)}set(t,n,s,i){let r=t[n];if(!this._isShallow){const a=wn(r);if(!Rt(s)&&!wn(s)&&(r=Ne(r),s=Ne(s)),!te(t)&&Ve(r)&&!Ve(s))return a?!1:(r.value=s,!0)}const o=te(t)&&Io(n)?Number(n)e,fi=e=>Reflect.getPrototypeOf(e);function ld(e,t,n){return function(...s){const i=this.__v_raw,r=Ne(i),o=os(r),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,c=i[e](...s),u=n?Jr:t?Gr:ht;return!t&&dt(r,"iterate",a?Wr:Bn),{next(){const{value:f,done:m}=c.next();return m?{value:f,done:m}:{value:l?[u(f[0]),u(f[1])]:u(f),done:m}},[Symbol.iterator](){return this}}}}function di(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ad(e,t){const n={get(i){const r=this.__v_raw,o=Ne(r),l=Ne(i);e||(vt(i,l)&&dt(o,"get",i),dt(o,"get",l));const{has:a}=fi(o),c=t?Jr:e?Gr:ht;if(a.call(o,i))return c(r.get(i));if(a.call(o,l))return c(r.get(l));r!==o&&r.get(i)},get size(){const i=this.__v_raw;return!e&&dt(Ne(i),"iterate",Bn),Reflect.get(i,"size",i)},has(i){const r=this.__v_raw,o=Ne(r),l=Ne(i);return e||(vt(i,l)&&dt(o,"has",i),dt(o,"has",l)),i===l?r.has(i):r.has(i)||r.has(l)},forEach(i,r){const o=this,l=o.__v_raw,a=Ne(l),c=t?Jr:e?Gr:ht;return!e&&dt(a,"iterate",Bn),l.forEach((u,f)=>i.call(r,c(u),c(f),o))}};return Ae(n,e?{add:di("add"),set:di("set"),delete:di("delete"),clear:di("clear")}:{add(i){!t&&!Rt(i)&&!wn(i)&&(i=Ne(i));const r=Ne(this);return fi(r).has.call(r,i)||(r.add(i),sn(r,"add",i,i)),this},set(i,r){!t&&!Rt(r)&&!wn(r)&&(r=Ne(r));const o=Ne(this),{has:l,get:a}=fi(o);let c=l.call(o,i);c||(i=Ne(i),c=l.call(o,i));const u=a.call(o,i);return o.set(i,r),c?vt(r,u)&&sn(o,"set",i,r):sn(o,"add",i,r),this},delete(i){const r=Ne(this),{has:o,get:l}=fi(r);let a=o.call(r,i);a||(i=Ne(i),a=o.call(r,i)),l&&l.call(r,i);const c=r.delete(i);return a&&sn(r,"delete",i,void 0),c},clear(){const i=Ne(this),r=i.size!==0,o=i.clear();return r&&sn(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=ld(i,e,t)}),n}function ur(e,t){const n=ad(e,t);return(s,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?s:Reflect.get(Me(n,i)&&i in s?n:s,i,r)}const cd={get:ur(!1,!1)},ud={get:ur(!1,!0)},fd={get:ur(!0,!1)},dd={get:ur(!0,!0)},qa=new WeakMap,Wa=new WeakMap,Ja=new WeakMap,Ga=new WeakMap;function hd(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function pd(e){return e.__v_skip||!Object.isExtensible(e)?0:hd(Tf(e))}function ni(e){return wn(e)?e:fr(e,!1,sd,cd,qa)}function za(e){return fr(e,!1,rd,ud,Wa)}function Ro(e){return fr(e,!0,id,fd,Ja)}function gd(e){return fr(e,!0,od,dd,Ga)}function fr(e,t,n,s,i){if(!Le(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=i.get(e);if(r)return r;const o=pd(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return i.set(e,l),l}function _n(e){return wn(e)?_n(e.__v_raw):!!(e&&e.__v_isReactive)}function wn(e){return!!(e&&e.__v_isReadonly)}function Rt(e){return!!(e&&e.__v_isShallow)}function dr(e){return e?!!e.__v_raw:!1}function Ne(e){const t=e&&e.__v_raw;return t?Ne(t):e}function Ya(e){return!Me(e,"__v_skip")&&Object.isExtensible(e)&&ka(e,"__v_skip",!0),e}const ht=e=>Le(e)?ni(e):e,Gr=e=>Le(e)?Ro(e):e;function Ve(e){return e?e.__v_isRef===!0:!1}function be(e){return Qa(e,!1)}function Za(e){return Qa(e,!0)}function Qa(e,t){return Ve(e)?e:new md(e,t)}class md{constructor(t,n){this.dep=new ar,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Ne(t),this._value=n?t:ht(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Rt(t)||wn(t);t=s?t:Ne(t),vt(t,n)&&(this._rawValue=t,this._value=s?t:ht(t),this.dep.trigger())}}function yd(e){e.dep&&e.dep.trigger()}function ie(e){return Ve(e)?e.value:e}function vd(e){return ve(e)?e():ie(e)}const bd={get:(e,t,n)=>t==="__v_raw"?e:ie(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const i=e[t];return Ve(i)&&!Ve(n)?(i.value=n,!0):Reflect.set(e,t,n,s)}};function Mo(e){return _n(e)?e:new Proxy(e,bd)}class _d{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new ar,{get:s,set:i}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=i}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Xa(e){return new _d(e)}function Sd(e){const t=te(e)?new Array(e.length):{};for(const n in e)t[n]=ec(e,n);return t}class Ed{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Qf(Ne(this._object),this._key)}}class Cd{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function As(e,t,n){return Ve(e)?e:ve(e)?new Cd(e):Le(e)&&arguments.length>1?ec(e,t,n):be(e)}function ec(e,t,n){const s=e[t];return Ve(s)?s:new Ed(e,t,n)}class Td{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new ar(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=$s-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&Be!==this)return La(this,!0),!0}get value(){const t=this.dep.track();return Ba(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function xd(e,t,n=!1){let s,i;return ve(e)?s=e:(s=e.get,i=e.set),new Td(s,i,n)}const wd={GET:"get",HAS:"has",ITERATE:"iterate"},Id={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},hi={},Bi=new WeakMap;let pn;function kd(){return pn}function tc(e,t=!1,n=pn){if(n){let s=Bi.get(n);s||Bi.set(n,s=[]),s.push(e)}}function Ad(e,t,n=ke){const{immediate:s,deep:i,once:r,scheduler:o,augmentJob:l,call:a}=n,c=E=>i?E:Rt(E)||i===!1||i===0?rn(E,1):rn(E);let u,f,m,v,T=!1,b=!1;if(Ve(e)?(f=()=>e.value,T=Rt(e)):_n(e)?(f=()=>c(e),T=!0):te(e)?(b=!0,T=e.some(E=>_n(E)||Rt(E)),f=()=>e.map(E=>{if(Ve(E))return E.value;if(_n(E))return c(E);if(ve(E))return a?a(E,2):E()})):ve(e)?t?f=a?()=>a(e,2):e:f=()=>{if(m){kn();try{m()}finally{An()}}const E=pn;pn=u;try{return a?a(e,3,[v]):e(v)}finally{pn=E}}:f=at,t&&i){const E=f,k=i===!0?1/0:i;f=()=>rn(E(),k)}const H=Ma(),V=()=>{u.stop(),H&&H.active&&xo(H.effects,u)};if(r&&t){const E=t;t=(...k)=>{E(...k),V()}}let O=b?new Array(e.length).fill(hi):hi;const _=E=>{if(!(!(u.flags&1)||!u.dirty&&!E))if(t){const k=u.run();if(i||T||(b?k.some((N,B)=>vt(N,O[B])):vt(k,O))){m&&m();const N=pn;pn=u;try{const B=[k,O===hi?void 0:b&&O[0]===hi?[]:O,v];a?a(t,3,B):t(...B),O=k}finally{pn=N}}}else u.run()};return l&&l(_),u=new Vs(f),u.scheduler=o?()=>o(_,!1):_,v=E=>tc(E,!1,u),m=u.onStop=()=>{const E=Bi.get(u);if(E){if(a)a(E,4);else for(const k of E)k();Bi.delete(u)}},t?s?_(!0):O=u.run():o?o(_.bind(null,!0),!0):u.run(),V.pause=u.pause.bind(u),V.resume=u.resume.bind(u),V.stop=V,V}function rn(e,t=1/0,n){if(t<=0||!Le(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Ve(e))rn(e.value,t,n);else if(te(e))for(let s=0;s{rn(s,t,n)});else if(ir(e)){for(const s in e)rn(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&rn(e[s],t,n)}return e}/** +* @vue/runtime-core v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const nc=[];function Od(e){nc.push(e)}function Nd(){nc.pop()}function Rd(e,t){}const Md={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},Pd={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function Cs(e,t,n,s){try{return s?e(...s):e()}catch(i){zn(i,t,n)}}function jt(e,t,n,s){if(ve(e)){const i=Cs(e,t,n,s);return i&&wo(i)&&i.catch(r=>{zn(r,t,n)}),i}if(te(e)){const i=[];for(let r=0;r>>1,i=bt[s],r=Us(i);r=Us(n)?bt.push(e):bt.splice(Dd(t),0,e),e.flags|=1,ic()}}function ic(){Vi||(Vi=sc.then(rc))}function Hs(e){te(e)?cs.push(...e):gn&&e.id===-1?gn.splice(ts+1,0,e):e.flags&1||(cs.push(e),e.flags|=1),ic()}function _l(e,t,n=Gt+1){for(;nUs(n)-Us(s));if(cs.length=0,gn){gn.push(...t);return}for(gn=t,ts=0;tse.id==null?e.flags&2?-1:1/0:e.id;function rc(e){try{for(Gt=0;Gtns.emit(i,...r)),pi=[]):typeof window<"u"&&window.HTMLElement&&!((s=(n=window.navigator)==null?void 0:n.userAgent)!=null&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(r=>{oc(r,t)}),setTimeout(()=>{ns||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,pi=[])},3e3)):pi=[]}let st=null,hr=null;function Ks(e){const t=st;return st=e,hr=e&&e.type.__scopeId||null,t}function Fd(e){hr=e}function Bd(){hr=null}const Vd=e=>fs;function fs(e,t=st,n){if(!t||e._n)return e;const s=(...i)=>{s._d&&no(-1);const r=Ks(t);let o;try{o=e(...i)}finally{Ks(r),s._d&&no(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Et(e,t){if(st===null)return e;const n=li(st),s=e.dirs||(e.dirs=[]);for(let i=0;ie.__isTeleport,Ps=e=>e&&(e.disabled||e.disabled===""),Sl=e=>e&&(e.defer||e.defer===""),El=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Cl=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,zr=(e,t)=>{const n=e&&e.to;return _e(n)?t?t(n):null:n},cc={name:"Teleport",__isTeleport:!0,process(e,t,n,s,i,r,o,l,a,c){const{mc:u,pc:f,pbc:m,o:{insert:v,querySelector:T,createText:b,createComment:H}}=c,V=Ps(t.props);let{shapeFlag:O,children:_,dynamicChildren:E}=t;if(e==null){const k=t.el=b(""),N=t.anchor=b("");v(k,n,s),v(N,n,s);const B=(d,g)=>{O&16&&(i&&i.isCE&&(i.ce._teleportTarget=d),u(_,d,g,i,r,o,l,a))},h=()=>{const d=t.target=zr(t.props,T),g=uc(d,t,b,v);d&&(o!=="svg"&&El(d)?o="svg":o!=="mathml"&&Cl(d)&&(o="mathml"),V||(B(d,g),xi(t,!1)))};V&&(B(n,N),xi(t,!0)),Sl(t.props)?et(()=>{h(),t.el.__isMounted=!0},r):h()}else{if(Sl(t.props)&&!e.el.__isMounted){et(()=>{cc.process(e,t,n,s,i,r,o,l,a,c),delete e.el.__isMounted},r);return}t.el=e.el,t.targetStart=e.targetStart;const k=t.anchor=e.anchor,N=t.target=e.target,B=t.targetAnchor=e.targetAnchor,h=Ps(e.props),d=h?n:N,g=h?k:B;if(o==="svg"||El(N)?o="svg":(o==="mathml"||Cl(N))&&(o="mathml"),E?(m(e.dynamicChildren,E,d,i,r,o,l),qo(e,t,!0)):a||f(e,t,d,g,i,r,o,l,!1),V)h?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):gi(t,n,k,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const w=t.target=zr(t.props,T);w&&gi(t,w,null,c,0)}else h&&gi(t,N,B,c,1);xi(t,V)}},remove(e,t,n,{um:s,o:{remove:i}},r){const{shapeFlag:o,children:l,anchor:a,targetStart:c,targetAnchor:u,target:f,props:m}=e;if(f&&(i(c),i(u)),r&&i(a),o&16){const v=r||!Ps(m);for(let T=0;T{e.isMounted=!0}),yr(()=>{e.isUnmounting=!0}),e}const Dt=[Function,Array],Do={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Dt,onEnter:Dt,onAfterEnter:Dt,onEnterCancelled:Dt,onBeforeLeave:Dt,onLeave:Dt,onAfterLeave:Dt,onLeaveCancelled:Dt,onBeforeAppear:Dt,onAppear:Dt,onAfterAppear:Dt,onAppearCancelled:Dt},fc=e=>{const t=e.subTree;return t.component?fc(t.component):t},Hd={name:"BaseTransition",props:Do,setup(e,{slots:t}){const n=Pt(),s=Lo();return()=>{const i=t.default&&pr(t.default(),!0);if(!i||!i.length)return;const r=dc(i),o=Ne(e),{mode:l}=o;if(s.isLeaving)return Mr(r);const a=Tl(r);if(!a)return Mr(r);let c=ds(a,o,s,n,f=>c=f);a.type!==Xe&&an(a,c);let u=n.subTree&&Tl(n.subTree);if(u&&u.type!==Xe&&!Ut(a,u)&&fc(n).type!==Xe){let f=ds(u,o,s,n);if(an(u,f),l==="out-in"&&a.type!==Xe)return s.isLeaving=!0,f.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,u=void 0},Mr(r);l==="in-out"&&a.type!==Xe?f.delayLeave=(m,v,T)=>{const b=pc(s,u);b[String(u.key)]=u,m[mn]=()=>{v(),m[mn]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{T(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return r}}};function dc(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Xe){t=n;break}}return t}const hc=Hd;function pc(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function ds(e,t,n,s,i){const{appear:r,mode:o,persisted:l=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:m,onLeave:v,onAfterLeave:T,onLeaveCancelled:b,onBeforeAppear:H,onAppear:V,onAfterAppear:O,onAppearCancelled:_}=t,E=String(e.key),k=pc(n,e),N=(d,g)=>{d&&jt(d,s,9,g)},B=(d,g)=>{const w=g[1];N(d,g),te(d)?d.every(S=>S.length<=1)&&w():d.length<=1&&w()},h={mode:o,persisted:l,beforeEnter(d){let g=a;if(!n.isMounted)if(r)g=H||a;else return;d[mn]&&d[mn](!0);const w=k[E];w&&Ut(e,w)&&w.el[mn]&&w.el[mn](),N(g,[d])},enter(d){let g=c,w=u,S=f;if(!n.isMounted)if(r)g=V||c,w=O||u,S=_||f;else return;let R=!1;const Z=d[mi]=X=>{R||(R=!0,X?N(S,[d]):N(w,[d]),h.delayedLeave&&h.delayedLeave(),d[mi]=void 0)};g?B(g,[d,Z]):Z()},leave(d,g){const w=String(e.key);if(d[mi]&&d[mi](!0),n.isUnmounting)return g();N(m,[d]);let S=!1;const R=d[mn]=Z=>{S||(S=!0,g(),Z?N(b,[d]):N(T,[d]),d[mn]=void 0,k[w]===e&&delete k[w])};k[w]=e,v?B(v,[d,R]):R()},clone(d){const g=ds(d,t,n,s,i);return i&&i(g),g}};return h}function Mr(e){if(si(e))return e=Zt(e),e.children=null,e}function Tl(e){if(!si(e))return ac(e.type)&&e.children?dc(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ve(n.default))return n.default()}}function an(e,t){e.shapeFlag&6&&e.component?(e.transition=t,an(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function pr(e,t=!1,n){let s=[],i=0;for(let r=0;r1)for(let r=0;rn.value,set:r=>n.value=r})}return n}function qs(e,t,n,s,i=!1){if(te(e)){e.forEach((T,b)=>qs(T,t&&(te(t)?t[b]:t),n,s,i));return}if(Sn(s)&&!i){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&qs(e,t,n,s.component.subTree);return}const r=s.shapeFlag&4?li(s.component):s.el,o=i?null:r,{i:l,r:a}=e,c=t&&t.r,u=l.refs===ke?l.refs={}:l.refs,f=l.setupState,m=Ne(f),v=f===ke?()=>!1:T=>Me(m,T);if(c!=null&&c!==a&&(_e(c)?(u[c]=null,v(c)&&(f[c]=null)):Ve(c)&&(c.value=null)),ve(a))Cs(a,l,12,[o,u]);else{const T=_e(a),b=Ve(a);if(T||b){const H=()=>{if(e.f){const V=T?v(a)?f[a]:u[a]:a.value;i?te(V)&&xo(V,r):te(V)?V.includes(r)||V.push(r):T?(u[a]=[r],v(a)&&(f[a]=u[a])):(a.value=[r],e.k&&(u[e.k]=a.value))}else T?(u[a]=o,v(a)&&(f[a]=o)):b&&(a.value=o,e.k&&(u[e.k]=o))};o?(H.id=-1,et(H,n)):H()}}}let xl=!1;const Xn=()=>{xl||(console.error("Hydration completed but contains mismatches."),xl=!0)},qd=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Wd=e=>e.namespaceURI.includes("MathML"),yi=e=>{if(e.nodeType===1){if(qd(e))return"svg";if(Wd(e))return"mathml"}},ss=e=>e.nodeType===8;function Jd(e){const{mt:t,p:n,o:{patchProp:s,createText:i,nextSibling:r,parentNode:o,remove:l,insert:a,createComment:c}}=e,u=(_,E)=>{if(!E.hasChildNodes()){n(null,_,E),$i(),E._vnode=_;return}f(E.firstChild,_,null,null,null),$i(),E._vnode=_},f=(_,E,k,N,B,h=!1)=>{h=h||!!E.dynamicChildren;const d=ss(_)&&_.data==="[",g=()=>b(_,E,k,N,B,d),{type:w,ref:S,shapeFlag:R,patchFlag:Z}=E;let X=_.nodeType;E.el=_,Z===-2&&(h=!1,E.dynamicChildren=null);let Y=null;switch(w){case Cn:X!==3?E.children===""?(a(E.el=i(""),o(_),_),Y=_):Y=g():(_.data!==E.children&&(Xn(),_.data=E.children),Y=r(_));break;case Xe:O(_)?(Y=r(_),V(E.el=_.content.firstChild,_,k)):X!==8||d?Y=g():Y=r(_);break;case $n:if(d&&(_=r(_),X=_.nodeType),X===1||X===3){Y=_;const J=!E.children.length;for(let W=0;W{h=h||!!E.dynamicChildren;const{type:d,props:g,patchFlag:w,shapeFlag:S,dirs:R,transition:Z}=E,X=d==="input"||d==="option";if(X||w!==-1){R&&zt(E,null,k,"created");let Y=!1;if(O(_)){Y=Vc(null,Z)&&k&&k.vnode.props&&k.vnode.props.appear;const W=_.content.firstChild;Y&&Z.beforeEnter(W),V(W,_,k),E.el=_=W}if(S&16&&!(g&&(g.innerHTML||g.textContent))){let W=v(_.firstChild,E,_,k,N,B,h);for(;W;){vi(_,1)||Xn();const ee=W;W=W.nextSibling,l(ee)}}else if(S&8){let W=E.children;W[0]===` +`&&(_.tagName==="PRE"||_.tagName==="TEXTAREA")&&(W=W.slice(1)),_.textContent!==W&&(vi(_,0)||Xn(),_.textContent=E.children)}if(g){if(X||!h||w&48){const W=_.tagName.includes("-");for(const ee in g)(X&&(ee.endsWith("value")||ee==="indeterminate")||Wn(ee)&&!bn(ee)||ee[0]==="."||W)&&s(_,ee,null,g[ee],void 0,k)}else if(g.onClick)s(_,"onClick",null,g.onClick,void 0,k);else if(w&4&&_n(g.style))for(const W in g.style)g.style[W]}let J;(J=g&&g.onVnodeBeforeMount)&&Ct(J,k,E),R&&zt(E,null,k,"beforeMount"),((J=g&&g.onVnodeMounted)||R||Y)&&Gc(()=>{J&&Ct(J,k,E),Y&&Z.enter(_),R&&zt(E,null,k,"mounted")},N)}return _.nextSibling},v=(_,E,k,N,B,h,d)=>{d=d||!!E.dynamicChildren;const g=E.children,w=g.length;for(let S=0;S{const{slotScopeIds:d}=E;d&&(B=B?B.concat(d):d);const g=o(_),w=v(r(_),E,g,k,N,B,h);return w&&ss(w)&&w.data==="]"?r(E.anchor=w):(Xn(),a(E.anchor=c("]"),g,w),w)},b=(_,E,k,N,B,h)=>{if(vi(_.parentElement,1)||Xn(),E.el=null,h){const w=H(_);for(;;){const S=r(_);if(S&&S!==w)l(S);else break}}const d=r(_),g=o(_);return l(_),n(null,E,g,d,k,N,yi(g),B),k&&(k.vnode.el=E.el,_r(k,E.el)),d},H=(_,E="[",k="]")=>{let N=0;for(;_;)if(_=r(_),_&&ss(_)&&(_.data===E&&N++,_.data===k)){if(N===0)return r(_);N--}return _},V=(_,E,k)=>{const N=E.parentNode;N&&N.replaceChild(_,E);let B=k;for(;B;)B.vnode.el===E&&(B.vnode.el=B.subTree.el=_),B=B.parent},O=_=>_.nodeType===1&&_.tagName==="TEMPLATE";return[u,f]}const wl="data-allow-mismatch",Gd={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function vi(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(wl);)e=e.parentElement;const n=e&&e.getAttribute(wl);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:n.split(",").includes(Gd[t])}}const zd=or().requestIdleCallback||(e=>setTimeout(e,1)),Yd=or().cancelIdleCallback||(e=>clearTimeout(e)),Zd=(e=1e4)=>t=>{const n=zd(t,{timeout:e});return()=>Yd(n)};function Qd(e){const{top:t,left:n,bottom:s,right:i}=e.getBoundingClientRect(),{innerHeight:r,innerWidth:o}=window;return(t>0&&t0&&s0&&n0&&i(t,n)=>{const s=new IntersectionObserver(i=>{for(const r of i)if(r.isIntersecting){s.disconnect(),t();break}},e);return n(i=>{if(i instanceof Element){if(Qd(i))return t(),s.disconnect(),!1;s.observe(i)}}),()=>s.disconnect()},eh=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},th=(e=[])=>(t,n)=>{_e(e)&&(e=[e]);let s=!1;const i=o=>{s||(s=!0,r(),t(),o.target.dispatchEvent(new o.constructor(o.type,o)))},r=()=>{n(o=>{for(const l of e)o.removeEventListener(l,i)})};return n(o=>{for(const l of e)o.addEventListener(l,i,{once:!0})}),r};function nh(e,t){if(ss(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(ss(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const Sn=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function sh(e){ve(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:i=200,hydrate:r,timeout:o,suspensible:l=!0,onError:a}=e;let c=null,u,f=0;const m=()=>(f++,c=null,v()),v=()=>{let T;return c||(T=c=t().catch(b=>{if(b=b instanceof Error?b:new Error(String(b)),a)return new Promise((H,V)=>{a(b,()=>H(m()),()=>V(b),f+1)});throw b}).then(b=>T!==c&&c?c:(b&&(b.__esModule||b[Symbol.toStringTag]==="Module")&&(b=b.default),u=b,b)))};return gr({name:"AsyncComponentWrapper",__asyncLoader:v,__asyncHydrate(T,b,H){const V=r?()=>{const O=r(H,_=>nh(T,_));O&&(b.bum||(b.bum=[])).push(O)}:H;u?V():v().then(()=>!b.isUnmounted&&V())},get __asyncResolved(){return u},setup(){const T=nt;if(Fo(T),u)return()=>Pr(u,T);const b=_=>{c=null,zn(_,T,13,!s)};if(l&&T.suspense||ps)return v().then(_=>()=>Pr(_,T)).catch(_=>(b(_),()=>s?De(s,{error:_}):null));const H=be(!1),V=be(),O=be(!!i);return i&&setTimeout(()=>{O.value=!1},i),o!=null&&setTimeout(()=>{if(!H.value&&!V.value){const _=new Error(`Async component timed out after ${o}ms.`);b(_),V.value=_}},o),v().then(()=>{H.value=!0,T.parent&&si(T.parent.vnode)&&T.parent.update()}).catch(_=>{b(_),V.value=_}),()=>{if(H.value&&u)return Pr(u,T);if(V.value&&s)return De(s,{error:V.value});if(n&&!O.value)return De(n)}}})}function Pr(e,t){const{ref:n,props:s,children:i,ce:r}=t.vnode,o=De(e,s,i);return o.ref=n,o.ce=r,delete t.vnode.ce,o}const si=e=>e.type.__isKeepAlive,ih={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Pt(),s=n.ctx;if(!s.renderer)return()=>{const O=t.default&&t.default();return O&&O.length===1?O[0]:O};const i=new Map,r=new Set;let o=null;const l=n.suspense,{renderer:{p:a,m:c,um:u,o:{createElement:f}}}=s,m=f("div");s.activate=(O,_,E,k,N)=>{const B=O.component;c(O,_,E,0,l),a(B.vnode,O,_,E,B,l,k,O.slotScopeIds,N),et(()=>{B.isDeactivated=!1,B.a&&as(B.a);const h=O.props&&O.props.onVnodeMounted;h&&Ct(h,B.parent,O)},l)},s.deactivate=O=>{const _=O.component;Hi(_.m),Hi(_.a),c(O,m,null,1,l),et(()=>{_.da&&as(_.da);const E=O.props&&O.props.onVnodeUnmounted;E&&Ct(E,_.parent,O),_.isDeactivated=!0},l)};function v(O){Lr(O),u(O,n,l,!0)}function T(O){i.forEach((_,E)=>{const k=lo(_.type);k&&!O(k)&&b(E)})}function b(O){const _=i.get(O);_&&(!o||!Ut(_,o))?v(_):o&&Lr(o),i.delete(O),r.delete(O)}lt(()=>[e.include,e.exclude],([O,_])=>{O&&T(E=>Os(O,E)),_&&T(E=>!Os(_,E))},{flush:"post",deep:!0});let H=null;const V=()=>{H!=null&&(Ui(n.subTree.type)?et(()=>{i.set(H,bi(n.subTree))},n.subTree.suspense):i.set(H,bi(n.subTree)))};return Yn(V),ii(V),yr(()=>{i.forEach(O=>{const{subTree:_,suspense:E}=n,k=bi(_);if(O.type===k.type&&O.key===k.key){Lr(k);const N=k.component.da;N&&et(N,E);return}v(O)})}),()=>{if(H=null,!t.default)return o=null;const O=t.default(),_=O[0];if(O.length>1)return o=null,O;if(!cn(_)||!(_.shapeFlag&4)&&!(_.shapeFlag&128))return o=null,_;let E=bi(_);if(E.type===Xe)return o=null,E;const k=E.type,N=lo(Sn(E)?E.type.__asyncResolved||{}:k),{include:B,exclude:h,max:d}=e;if(B&&(!N||!Os(B,N))||h&&N&&Os(h,N))return E.shapeFlag&=-257,o=E,_;const g=E.key==null?k:E.key,w=i.get(g);return E.el&&(E=Zt(E),_.shapeFlag&128&&(_.ssContent=E)),H=g,w?(E.el=w.el,E.component=w.component,E.transition&&an(E,E.transition),E.shapeFlag|=512,r.delete(g),r.add(g)):(r.add(g),d&&r.size>parseInt(d,10)&&b(r.values().next().value)),E.shapeFlag|=256,o=E,Ui(_.type)?_:E}}},rh=ih;function Os(e,t){return te(e)?e.some(n=>Os(n,t)):_e(e)?e.split(",").includes(t):Cf(e)?(e.lastIndex=0,e.test(t)):!1}function gc(e,t){yc(e,"a",t)}function mc(e,t){yc(e,"da",t)}function yc(e,t,n=nt){const s=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(mr(t,s,n),n){let i=n.parent;for(;i&&i.parent;)si(i.parent.vnode)&&oh(s,t,n,i),i=i.parent}}function oh(e,t,n,s){const i=mr(t,e,s,!0);vr(()=>{xo(s[t],i)},n)}function Lr(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function bi(e){return e.shapeFlag&128?e.ssContent:e}function mr(e,t,n=nt,s=!1){if(n){const i=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...o)=>{kn();const l=Kn(n),a=jt(t,n,e,o);return l(),An(),a});return s?i.unshift(r):i.push(r),r}}const un=e=>(t,n=nt)=>{(!ps||e==="sp")&&mr(e,(...s)=>t(...s),n)},vc=un("bm"),Yn=un("m"),Bo=un("bu"),ii=un("u"),yr=un("bum"),vr=un("um"),bc=un("sp"),_c=un("rtg"),Sc=un("rtc");function Ec(e,t=nt){mr("ec",e,t)}const Vo="components",lh="directives";function wi(e,t){return $o(Vo,e,!0,t)||e}const Cc=Symbol.for("v-ndc");function ah(e){return _e(e)?$o(Vo,e,!1)||e:e||Cc}function ch(e){return $o(lh,e)}function $o(e,t,n=!0,s=!1){const i=st||nt;if(i){const r=i.type;if(e===Vo){const l=lo(r,!1);if(l&&(l===t||l===je(t)||l===Gn(je(t))))return r}const o=Il(i[e]||r[e],t)||Il(i.appContext[e],t);return!o&&s?r:o}}function Il(e,t){return e&&(e[t]||e[je(t)]||e[Gn(je(t))])}function kt(e,t,n,s){let i;const r=n&&n[s],o=te(e);if(o||_e(e)){const l=o&&_n(e);let a=!1;l&&(a=!Rt(e),e=cr(e)),i=new Array(e.length);for(let c=0,u=e.length;ct(l,a,void 0,r&&r[a]));else{const l=Object.keys(e);i=new Array(l.length);for(let a=0,c=l.length;a{const r=s.fn(...i);return r&&(r.key=s.key),r}:s.fn)}return e}function Ft(e,t,n={},s,i){if(st.ce||st.parent&&Sn(st.parent)&&st.parent.ce)return t!=="default"&&(n.name=t),ae(),hs(Re,null,[De("slot",n,s&&s())],64);let r=e[t];r&&r._c&&(r._d=!1),ae();const o=r&&jo(r(n)),l=n.key||o&&o.key,a=hs(Re,{key:(l&&!It(l)?l:`_${t}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&e._===1?64:-2);return!i&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),r&&r._c&&(r._d=!0),a}function jo(e){return e.some(t=>cn(t)?!(t.type===Xe||t.type===Re&&!jo(t.children)):!0)?e:null}function fh(e,t){const n={};for(const s in e)n[t&&/[A-Z]/.test(s)?`on:${s}`:ls(s)]=e[s];return n}const Yr=e=>e?eu(e)?li(e):Yr(e.parent):null,Ls=Ae(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=>Yr(e.parent),$root:e=>Yr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ho(e),$forceUpdate:e=>e.f||(e.f=()=>{Po(e.update)}),$nextTick:e=>e.n||(e.n=Yt.bind(e.proxy)),$watch:e=>Hh.bind(e)}),Dr=(e,t)=>e!==ke&&!e.__isScriptSetup&&Me(e,t),Zr={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:i,props:r,accessCache:o,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const v=o[t];if(v!==void 0)switch(v){case 1:return s[t];case 2:return i[t];case 4:return n[t];case 3:return r[t]}else{if(Dr(s,t))return o[t]=1,s[t];if(i!==ke&&Me(i,t))return o[t]=2,i[t];if((c=e.propsOptions[0])&&Me(c,t))return o[t]=3,r[t];if(n!==ke&&Me(n,t))return o[t]=4,n[t];Qr&&(o[t]=0)}}const u=Ls[t];let f,m;if(u)return t==="$attrs"&&dt(e.attrs,"get",""),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==ke&&Me(n,t))return o[t]=4,n[t];if(m=a.config.globalProperties,Me(m,t))return m[t]},set({_:e},t,n){const{data:s,setupState:i,ctx:r}=e;return Dr(i,t)?(i[t]=n,!0):s!==ke&&Me(s,t)?(s[t]=n,!0):Me(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:i,propsOptions:r}},o){let l;return!!n[o]||e!==ke&&Me(e,o)||Dr(t,o)||(l=r[0])&&Me(l,o)||Me(s,o)||Me(Ls,o)||Me(i.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Me(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},dh=Ae({},Zr,{get(e,t){if(t!==Symbol.unscopables)return Zr.get(e,t,e)},has(e,t){return t[0]!=="_"&&!Of(t)}});function hh(){return null}function ph(){return null}function gh(e){}function mh(e){}function yh(){return null}function vh(){}function bh(e,t){return null}function _h(){return Tc().slots}function Sh(){return Tc().attrs}function Tc(){const e=Pt();return e.setupContext||(e.setupContext=iu(e))}function Ws(e){return te(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Eh(e,t){const n=Ws(e);for(const s in t){if(s.startsWith("__skip"))continue;let i=n[s];i?te(i)||ve(i)?i=n[s]={type:i,default:t[s]}:i.default=t[s]:i===null&&(i=n[s]={default:t[s]}),i&&t[`__skip_${s}`]&&(i.skipFactory=!0)}return n}function Ch(e,t){return!e||!t?e||t:te(e)&&te(t)?e.concat(t):Ae({},Ws(e),Ws(t))}function Th(e,t){const n={};for(const s in e)t.includes(s)||Object.defineProperty(n,s,{enumerable:!0,get:()=>e[s]});return n}function xh(e){const t=Pt();let n=e();return io(),wo(n)&&(n=n.catch(s=>{throw Kn(t),s})),[n,()=>Kn(t)]}let Qr=!0;function wh(e){const t=Ho(e),n=e.proxy,s=e.ctx;Qr=!1,t.beforeCreate&&kl(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:o,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:m,beforeUpdate:v,updated:T,activated:b,deactivated:H,beforeDestroy:V,beforeUnmount:O,destroyed:_,unmounted:E,render:k,renderTracked:N,renderTriggered:B,errorCaptured:h,serverPrefetch:d,expose:g,inheritAttrs:w,components:S,directives:R,filters:Z}=t;if(c&&Ih(c,s,null),o)for(const J in o){const W=o[J];ve(W)&&(s[J]=W.bind(n))}if(i){const J=i.call(n,n);Le(J)&&(e.data=ni(J))}if(Qr=!0,r)for(const J in r){const W=r[J],ee=ve(W)?W.bind(n,n):ve(W.get)?W.get.bind(n,n):at,xe=!ve(W)&&ve(W.set)?W.set.bind(n):at,ne=Ge({get:ee,set:xe});Object.defineProperty(s,J,{enumerable:!0,configurable:!0,get:()=>ne.value,set:ge=>ne.value=ge})}if(l)for(const J in l)xc(l[J],s,n,J);if(a){const J=ve(a)?a.call(n):a;Reflect.ownKeys(J).forEach(W=>{Uo(W,J[W])})}u&&kl(u,e,"c");function Y(J,W){te(W)?W.forEach(ee=>J(ee.bind(n))):W&&J(W.bind(n))}if(Y(vc,f),Y(Yn,m),Y(Bo,v),Y(ii,T),Y(gc,b),Y(mc,H),Y(Ec,h),Y(Sc,N),Y(_c,B),Y(yr,O),Y(vr,E),Y(bc,d),te(g))if(g.length){const J=e.exposed||(e.exposed={});g.forEach(W=>{Object.defineProperty(J,W,{get:()=>n[W],set:ee=>n[W]=ee})})}else e.exposed||(e.exposed={});k&&e.render===at&&(e.render=k),w!=null&&(e.inheritAttrs=w),S&&(e.components=S),R&&(e.directives=R),d&&Fo(e)}function Ih(e,t,n=at){te(e)&&(e=Xr(e));for(const s in e){const i=e[s];let r;Le(i)?"default"in i?r=En(i.from||s,i.default,!0):r=En(i.from||s):r=En(i),Ve(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):t[s]=r}}function kl(e,t,n){jt(te(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function xc(e,t,n,s){let i=s.includes(".")?Kc(n,s):()=>n[s];if(_e(e)){const r=t[e];ve(r)&<(i,r)}else if(ve(e))lt(i,e.bind(n));else if(Le(e))if(te(e))e.forEach(r=>xc(r,t,n,s));else{const r=ve(e.handler)?e.handler.bind(n):t[e.handler];ve(r)&<(i,r,e)}}function Ho(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,l=r.get(t);let a;return l?a=l:!i.length&&!n&&!s?a=t:(a={},i.length&&i.forEach(c=>ji(a,c,o,!0)),ji(a,t,o)),Le(t)&&r.set(t,a),a}function ji(e,t,n,s=!1){const{mixins:i,extends:r}=t;r&&ji(e,r,n,!0),i&&i.forEach(o=>ji(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=kh[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const kh={data:Al,props:Ol,emits:Ol,methods:Ns,computed:Ns,beforeCreate:mt,created:mt,beforeMount:mt,mounted:mt,beforeUpdate:mt,updated:mt,beforeDestroy:mt,beforeUnmount:mt,destroyed:mt,unmounted:mt,activated:mt,deactivated:mt,errorCaptured:mt,serverPrefetch:mt,components:Ns,directives:Ns,watch:Oh,provide:Al,inject:Ah};function Al(e,t){return t?e?function(){return Ae(ve(e)?e.call(this,this):e,ve(t)?t.call(this,this):t)}:t:e}function Ah(e,t){return Ns(Xr(e),Xr(t))}function Xr(e){if(te(e)){const t={};for(let n=0;n1)return n&&ve(t)?t.call(s&&s.proxy):t}}function Mh(){return!!(nt||st||Vn)}const Ic={},kc=()=>Object.create(Ic),Ac=e=>Object.getPrototypeOf(e)===Ic;function Ph(e,t,n,s=!1){const i={},r=kc();e.propsDefaults=Object.create(null),Oc(e,t,i,r);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);n?e.props=s?i:za(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function Lh(e,t,n,s){const{props:i,attrs:r,vnode:{patchFlag:o}}=e,l=Ne(i),[a]=e.propsOptions;let c=!1;if((s||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let f=0;f{a=!0;const[m,v]=Nc(f,t,!0);Ae(o,m),v&&l.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!a)return Le(e)&&s.set(e,rs),rs;if(te(r))for(let u=0;ue[0]==="_"||e==="$stable",Ko=e=>te(e)?e.map(Tt):[Tt(e)],Fh=(e,t,n)=>{if(t._n)return t;const s=fs((...i)=>Ko(t(...i)),n);return s._c=!1,s},Mc=(e,t,n)=>{const s=e._ctx;for(const i in e){if(Rc(i))continue;const r=e[i];if(ve(r))t[i]=Fh(i,r,s);else if(r!=null){const o=Ko(r);t[i]=()=>o}}},Pc=(e,t)=>{const n=Ko(t);e.slots.default=()=>n},Lc=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},Bh=(e,t,n)=>{const s=e.slots=kc();if(e.vnode.shapeFlag&32){const i=t._;i?(Lc(s,t,n),n&&ka(s,"_",i,!0)):Mc(t,s)}else t&&Pc(e,t)},Vh=(e,t,n)=>{const{vnode:s,slots:i}=e;let r=!0,o=ke;if(s.shapeFlag&32){const l=t._;l?n&&l===1?r=!1:Lc(i,t,n):(r=!t.$stable,Mc(t,i)),o=t}else t&&(Pc(e,t),o={default:1});if(r)for(const l in i)!Rc(l)&&o[l]==null&&delete i[l]},et=Gc;function Dc(e){return Bc(e)}function Fc(e){return Bc(e,Jd)}function Bc(e,t){const n=or();n.__VUE__=!0;const{insert:s,remove:i,patchProp:r,createElement:o,createText:l,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:m,setScopeId:v=at,insertStaticContent:T}=e,b=(p,y,I,P=null,D=null,L=null,U=void 0,K=null,G=!!y.dynamicChildren)=>{if(p===y)return;p&&!Ut(p,y)&&(P=fe(p),ge(p,D,L,!0),p=null),y.patchFlag===-2&&(G=!1,y.dynamicChildren=null);const{type:j,ref:de,shapeFlag:z}=y;switch(j){case Cn:H(p,y,I,P);break;case Xe:V(p,y,I,P);break;case $n:p==null&&O(y,I,P,U);break;case Re:S(p,y,I,P,D,L,U,K,G);break;default:z&1?k(p,y,I,P,D,L,U,K,G):z&6?R(p,y,I,P,D,L,U,K,G):(z&64||z&128)&&j.process(p,y,I,P,D,L,U,K,G,Se)}de!=null&&D&&qs(de,p&&p.ref,L,y||p,!y)},H=(p,y,I,P)=>{if(p==null)s(y.el=l(y.children),I,P);else{const D=y.el=p.el;y.children!==p.children&&c(D,y.children)}},V=(p,y,I,P)=>{p==null?s(y.el=a(y.children||""),I,P):y.el=p.el},O=(p,y,I,P)=>{[p.el,p.anchor]=T(p.children,y,I,P,p.el,p.anchor)},_=({el:p,anchor:y},I,P)=>{let D;for(;p&&p!==y;)D=m(p),s(p,I,P),p=D;s(y,I,P)},E=({el:p,anchor:y})=>{let I;for(;p&&p!==y;)I=m(p),i(p),p=I;i(y)},k=(p,y,I,P,D,L,U,K,G)=>{y.type==="svg"?U="svg":y.type==="math"&&(U="mathml"),p==null?N(y,I,P,D,L,U,K,G):d(p,y,D,L,U,K,G)},N=(p,y,I,P,D,L,U,K)=>{let G,j;const{props:de,shapeFlag:z,transition:se,dirs:re}=p;if(G=p.el=o(p.type,L,de&&de.is,de),z&8?u(G,p.children):z&16&&h(p.children,G,null,P,D,Fr(p,L),U,K),re&&zt(p,null,P,"created"),B(G,p,p.scopeId,U,P),de){for(const we in de)we!=="value"&&!bn(we)&&r(G,we,null,de[we],L,P);"value"in de&&r(G,"value",null,de.value,L),(j=de.onVnodeBeforeMount)&&Ct(j,P,p)}re&&zt(p,null,P,"beforeMount");const ye=Vc(D,se);ye&&se.beforeEnter(G),s(G,y,I),((j=de&&de.onVnodeMounted)||ye||re)&&et(()=>{j&&Ct(j,P,p),ye&&se.enter(G),re&&zt(p,null,P,"mounted")},D)},B=(p,y,I,P,D)=>{if(I&&v(p,I),P)for(let L=0;L{for(let j=G;j{const K=y.el=p.el;let{patchFlag:G,dynamicChildren:j,dirs:de}=y;G|=p.patchFlag&16;const z=p.props||ke,se=y.props||ke;let re;if(I&&On(I,!1),(re=se.onVnodeBeforeUpdate)&&Ct(re,I,y,p),de&&zt(y,p,I,"beforeUpdate"),I&&On(I,!0),(z.innerHTML&&se.innerHTML==null||z.textContent&&se.textContent==null)&&u(K,""),j?g(p.dynamicChildren,j,K,I,P,Fr(y,D),L):U||W(p,y,K,null,I,P,Fr(y,D),L,!1),G>0){if(G&16)w(K,z,se,I,D);else if(G&2&&z.class!==se.class&&r(K,"class",null,se.class,D),G&4&&r(K,"style",z.style,se.style,D),G&8){const ye=y.dynamicProps;for(let we=0;we{re&&Ct(re,I,y,p),de&&zt(y,p,I,"updated")},P)},g=(p,y,I,P,D,L,U)=>{for(let K=0;K{if(y!==I){if(y!==ke)for(const L in y)!bn(L)&&!(L in I)&&r(p,L,y[L],null,D,P);for(const L in I){if(bn(L))continue;const U=I[L],K=y[L];U!==K&&L!=="value"&&r(p,L,K,U,D,P)}"value"in I&&r(p,"value",y.value,I.value,D)}},S=(p,y,I,P,D,L,U,K,G)=>{const j=y.el=p?p.el:l(""),de=y.anchor=p?p.anchor:l("");let{patchFlag:z,dynamicChildren:se,slotScopeIds:re}=y;re&&(K=K?K.concat(re):re),p==null?(s(j,I,P),s(de,I,P),h(y.children||[],I,de,D,L,U,K,G)):z>0&&z&64&&se&&p.dynamicChildren?(g(p.dynamicChildren,se,I,D,L,U,K),(y.key!=null||D&&y===D.subTree)&&qo(p,y,!0)):W(p,y,I,de,D,L,U,K,G)},R=(p,y,I,P,D,L,U,K,G)=>{y.slotScopeIds=K,p==null?y.shapeFlag&512?D.ctx.activate(y,I,P,U,G):Z(y,I,P,D,L,U,G):X(p,y,G)},Z=(p,y,I,P,D,L,U)=>{const K=p.component=Xc(p,P,D);if(si(p)&&(K.ctx.renderer=Se),tu(K,!1,U),K.asyncDep){if(D&&D.registerDep(K,Y,U),!p.el){const G=K.subTree=De(Xe);V(null,G,y,I)}}else Y(K,p,y,I,D,L,U)},X=(p,y,I)=>{const P=y.component=p.component;if(Gh(p,y,I))if(P.asyncDep&&!P.asyncResolved){J(P,y,I);return}else P.next=y,P.update();else y.el=p.el,P.vnode=y},Y=(p,y,I,P,D,L,U)=>{const K=()=>{if(p.isMounted){let{next:z,bu:se,u:re,parent:ye,vnode:we}=p;{const We=$c(p);if(We){z&&(z.el=we.el,J(p,z,U)),We.asyncDep.then(()=>{p.isUnmounted||K()});return}}let Ie=z,it;On(p,!1),z?(z.el=we.el,J(p,z,U)):z=we,se&&as(se),(it=z.props&&z.props.onVnodeBeforeUpdate)&&Ct(it,ye,z,we),On(p,!0);const $e=Ii(p),He=p.subTree;p.subTree=$e,b(He,$e,f(He.el),fe(He),p,D,L),z.el=$e.el,Ie===null&&_r(p,$e.el),re&&et(re,D),(it=z.props&&z.props.onVnodeUpdated)&&et(()=>Ct(it,ye,z,we),D)}else{let z;const{el:se,props:re}=y,{bm:ye,m:we,parent:Ie,root:it,type:$e}=p,He=Sn(y);if(On(p,!1),ye&&as(ye),!He&&(z=re&&re.onVnodeBeforeMount)&&Ct(z,Ie,y),On(p,!0),se&&Ce){const We=()=>{p.subTree=Ii(p),Ce(se,p.subTree,p,D,null)};He&&$e.__asyncHydrate?$e.__asyncHydrate(se,p,We):We()}else{it.ce&&it.ce._injectChildStyle($e);const We=p.subTree=Ii(p);b(null,We,I,P,p,D,L),y.el=We.el}if(we&&et(we,D),!He&&(z=re&&re.onVnodeMounted)){const We=y;et(()=>Ct(z,Ie,We),D)}(y.shapeFlag&256||Ie&&Sn(Ie.vnode)&&Ie.vnode.shapeFlag&256)&&p.a&&et(p.a,D),p.isMounted=!0,y=I=P=null}};p.scope.on();const G=p.effect=new Vs(K);p.scope.off();const j=p.update=G.run.bind(G),de=p.job=G.runIfDirty.bind(G);de.i=p,de.id=p.uid,G.scheduler=()=>Po(de),On(p,!0),j()},J=(p,y,I)=>{y.component=p;const P=p.vnode.props;p.vnode=y,p.next=null,Lh(p,y.props,P,I),Vh(p,y.children,I),kn(),_l(p),An()},W=(p,y,I,P,D,L,U,K,G=!1)=>{const j=p&&p.children,de=p?p.shapeFlag:0,z=y.children,{patchFlag:se,shapeFlag:re}=y;if(se>0){if(se&128){xe(j,z,I,P,D,L,U,K,G);return}else if(se&256){ee(j,z,I,P,D,L,U,K,G);return}}re&8?(de&16&&ce(j,D,L),z!==j&&u(I,z)):de&16?re&16?xe(j,z,I,P,D,L,U,K,G):ce(j,D,L,!0):(de&8&&u(I,""),re&16&&h(z,I,P,D,L,U,K,G))},ee=(p,y,I,P,D,L,U,K,G)=>{p=p||rs,y=y||rs;const j=p.length,de=y.length,z=Math.min(j,de);let se;for(se=0;sede?ce(p,D,L,!0,!1,z):h(y,I,P,D,L,U,K,G,z)},xe=(p,y,I,P,D,L,U,K,G)=>{let j=0;const de=y.length;let z=p.length-1,se=de-1;for(;j<=z&&j<=se;){const re=p[j],ye=y[j]=G?yn(y[j]):Tt(y[j]);if(Ut(re,ye))b(re,ye,I,null,D,L,U,K,G);else break;j++}for(;j<=z&&j<=se;){const re=p[z],ye=y[se]=G?yn(y[se]):Tt(y[se]);if(Ut(re,ye))b(re,ye,I,null,D,L,U,K,G);else break;z--,se--}if(j>z){if(j<=se){const re=se+1,ye=rese)for(;j<=z;)ge(p[j],D,L,!0),j++;else{const re=j,ye=j,we=new Map;for(j=ye;j<=se;j++){const C=y[j]=G?yn(y[j]):Tt(y[j]);C.key!=null&&we.set(C.key,j)}let Ie,it=0;const $e=se-ye+1;let He=!1,We=0;const A=new Array($e);for(j=0;j<$e;j++)A[j]=0;for(j=re;j<=z;j++){const C=p[j];if(it>=$e){ge(C,D,L,!0);continue}let F;if(C.key!=null)F=we.get(C.key);else for(Ie=ye;Ie<=se;Ie++)if(A[Ie-ye]===0&&Ut(C,y[Ie])){F=Ie;break}F===void 0?ge(C,D,L,!0):(A[F-ye]=j+1,F>=We?We=F:He=!0,b(C,y[F],I,null,D,L,U,K,G),it++)}const x=He?$h(A):rs;for(Ie=x.length-1,j=$e-1;j>=0;j--){const C=ye+j,F=y[C],ue=C+1{const{el:L,type:U,transition:K,children:G,shapeFlag:j}=p;if(j&6){ne(p.component.subTree,y,I,P);return}if(j&128){p.suspense.move(y,I,P);return}if(j&64){U.move(p,y,I,Se);return}if(U===Re){s(L,y,I);for(let z=0;zK.enter(L),D);else{const{leave:z,delayLeave:se,afterLeave:re}=K,ye=()=>s(L,y,I),we=()=>{z(L,()=>{ye(),re&&re()})};se?se(L,ye,we):we()}else s(L,y,I)},ge=(p,y,I,P=!1,D=!1)=>{const{type:L,props:U,ref:K,children:G,dynamicChildren:j,shapeFlag:de,patchFlag:z,dirs:se,cacheIndex:re}=p;if(z===-2&&(D=!1),K!=null&&qs(K,null,I,p,!0),re!=null&&(y.renderCache[re]=void 0),de&256){y.ctx.deactivate(p);return}const ye=de&1&&se,we=!Sn(p);let Ie;if(we&&(Ie=U&&U.onVnodeBeforeUnmount)&&Ct(Ie,y,p),de&6)q(p.component,I,P);else{if(de&128){p.suspense.unmount(I,P);return}ye&&zt(p,null,y,"beforeUnmount"),de&64?p.type.remove(p,y,I,Se,P):j&&!j.hasOnce&&(L!==Re||z>0&&z&64)?ce(j,y,I,!1,!0):(L===Re&&z&384||!D&&de&16)&&ce(G,y,I),P&&le(p)}(we&&(Ie=U&&U.onVnodeUnmounted)||ye)&&et(()=>{Ie&&Ct(Ie,y,p),ye&&zt(p,null,y,"unmounted")},I)},le=p=>{const{type:y,el:I,anchor:P,transition:D}=p;if(y===Re){M(I,P);return}if(y===$n){E(p);return}const L=()=>{i(I),D&&!D.persisted&&D.afterLeave&&D.afterLeave()};if(p.shapeFlag&1&&D&&!D.persisted){const{leave:U,delayLeave:K}=D,G=()=>U(I,L);K?K(p.el,L,G):G()}else L()},M=(p,y)=>{let I;for(;p!==y;)I=m(p),i(p),p=I;i(y)},q=(p,y,I)=>{const{bum:P,scope:D,job:L,subTree:U,um:K,m:G,a:j}=p;Hi(G),Hi(j),P&&as(P),D.stop(),L&&(L.flags|=8,ge(U,p,y,I)),K&&et(K,y),et(()=>{p.isUnmounted=!0},y),y&&y.pendingBranch&&!y.isUnmounted&&p.asyncDep&&!p.asyncResolved&&p.suspenseId===y.pendingId&&(y.deps--,y.deps===0&&y.resolve())},ce=(p,y,I,P=!1,D=!1,L=0)=>{for(let U=L;U{if(p.shapeFlag&6)return fe(p.component.subTree);if(p.shapeFlag&128)return p.suspense.next();const y=m(p.anchor||p.el),I=y&&y[lc];return I?m(I):y};let pe=!1;const oe=(p,y,I)=>{p==null?y._vnode&&ge(y._vnode,null,null,!0):b(y._vnode||null,p,y,null,null,null,I),y._vnode=p,pe||(pe=!0,_l(),$i(),pe=!1)},Se={p:b,um:ge,m:ne,r:le,mt:Z,mc:h,pc:W,pbc:g,n:fe,o:e};let me,Ce;return t&&([me,Ce]=t(Se)),{render:oe,hydrate:me,createApp:Rh(oe,me)}}function Fr({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 On({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Vc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function qo(e,t,n=!1){const s=e.children,i=t.children;if(te(s)&&te(i))for(let r=0;r>1,e[n[l]]0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,o=n[r-1];r-- >0;)n[r]=o,o=t[o];return n}function $c(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:$c(t)}function Hi(e){if(e)for(let t=0;tEn(jc);function tn(e,t){return ri(e,null,t)}function jh(e,t){return ri(e,null,{flush:"post"})}function Uc(e,t){return ri(e,null,{flush:"sync"})}function lt(e,t,n){return ri(e,t,n)}function ri(e,t,n=ke){const{immediate:s,deep:i,flush:r,once:o}=n,l=Ae({},n),a=t&&s||!t&&r!=="post";let c;if(ps){if(r==="sync"){const v=Hc();c=v.__watcherHandles||(v.__watcherHandles=[])}else if(!a){const v=()=>{};return v.stop=at,v.resume=at,v.pause=at,v}}const u=nt;l.call=(v,T,b)=>jt(v,u,T,b);let f=!1;r==="post"?l.scheduler=v=>{et(v,u&&u.suspense)}:r!=="sync"&&(f=!0,l.scheduler=(v,T)=>{T?v():Po(v)}),l.augmentJob=v=>{t&&(v.flags|=4),f&&(v.flags|=2,u&&(v.id=u.uid,v.i=u))};const m=Ad(e,t,l);return ps&&(c?c.push(m):a&&m()),m}function Hh(e,t,n){const s=this.proxy,i=_e(e)?e.includes(".")?Kc(s,e):()=>s[e]:e.bind(s,s);let r;ve(t)?r=t:(r=t.handler,n=t);const o=Kn(this),l=ri(i,r.bind(s),n);return o(),l}function Kc(e,t){const n=t.split(".");return()=>{let s=e;for(let i=0;i{let u,f=ke,m;return Uc(()=>{const v=e[i];vt(u,v)&&(u=v,c())}),{get(){return a(),n.get?n.get(u):u},set(v){const T=n.set?n.set(v):v;if(!vt(T,u)&&!(f!==ke&&vt(v,f)))return;const b=s.vnode.props;b&&(t in b||i in b||r in b)&&(`onUpdate:${t}`in b||`onUpdate:${i}`in b||`onUpdate:${r}`in b)||(u=v,c()),s.emit(`update:${t}`,T),vt(v,T)&&vt(v,f)&&!vt(T,m)&&c(),f=v,m=T}}});return l[Symbol.iterator]=()=>{let a=0;return{next(){return a<2?{value:a++?o||ke:l,done:!1}:{done:!0}}}},l}const qc=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${je(t)}Modifiers`]||e[`${xt(t)}Modifiers`];function Kh(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ke;let i=n;const r=t.startsWith("update:"),o=r&&qc(s,t.slice(7));o&&(o.trim&&(i=n.map(u=>_e(u)?u.trim():u)),o.number&&(i=n.map(Li)));let l,a=s[l=ls(t)]||s[l=ls(je(t))];!a&&r&&(a=s[l=ls(xt(t))]),a&&jt(a,e,6,i);const c=s[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,jt(c,e,6,i)}}function Wc(e,t,n=!1){const s=t.emitsCache,i=s.get(e);if(i!==void 0)return i;const r=e.emits;let o={},l=!1;if(!ve(e)){const a=c=>{const u=Wc(c,t,!0);u&&(l=!0,Ae(o,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!r&&!l?(Le(e)&&s.set(e,null),null):(te(r)?r.forEach(a=>o[a]=null):Ae(o,r),Le(e)&&s.set(e,o),o)}function br(e,t){return!e||!Wn(t)?!1:(t=t.slice(2).replace(/Once$/,""),Me(e,t[0].toLowerCase()+t.slice(1))||Me(e,xt(t))||Me(e,t))}function Ii(e){const{type:t,vnode:n,proxy:s,withProxy:i,propsOptions:[r],slots:o,attrs:l,emit:a,render:c,renderCache:u,props:f,data:m,setupState:v,ctx:T,inheritAttrs:b}=e,H=Ks(e);let V,O;try{if(n.shapeFlag&4){const E=i||s,k=E;V=Tt(c.call(k,E,u,f,v,m,T)),O=l}else{const E=t;V=Tt(E.length>1?E(f,{attrs:l,slots:o,emit:a}):E(f,null)),O=t.props?l:Wh(l)}}catch(E){Ds.length=0,zn(E,e,1),V=De(Xe)}let _=V;if(O&&b!==!1){const E=Object.keys(O),{shapeFlag:k}=_;E.length&&k&7&&(r&&E.some(To)&&(O=Jh(O,r)),_=Zt(_,O,!1,!0))}return n.dirs&&(_=Zt(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&an(_,n.transition),V=_,Ks(H),V}function qh(e,t=!0){let n;for(let s=0;s{let t;for(const n in e)(n==="class"||n==="style"||Wn(n))&&((t||(t={}))[n]=e[n]);return t},Jh=(e,t)=>{const n={};for(const s in e)(!To(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Gh(e,t,n){const{props:s,children:i,component:r}=e,{props:o,children:l,patchFlag:a}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?Rl(s,o,c):!!o;if(a&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense;let to=0;const zh={name:"Suspense",__isSuspense:!0,process(e,t,n,s,i,r,o,l,a,c){if(e==null)Zh(t,n,s,i,r,o,l,a,c);else{if(r&&r.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Qh(e,t,n,s,i,o,l,a,c)}},hydrate:Xh,normalize:ep},Yh=zh;function Js(e,t){const n=e.props&&e.props[t];ve(n)&&n()}function Zh(e,t,n,s,i,r,o,l,a){const{p:c,o:{createElement:u}}=a,f=u("div"),m=e.suspense=Jc(e,i,s,t,f,n,r,o,l,a);c(null,m.pendingBranch=e.ssContent,f,null,s,m,r,o),m.deps>0?(Js(e,"onPending"),Js(e,"onFallback"),c(null,e.ssFallback,t,n,s,null,r,o),us(m,e.ssFallback)):m.resolve(!1,!0)}function Qh(e,t,n,s,i,r,o,l,{p:a,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const m=t.ssContent,v=t.ssFallback,{activeBranch:T,pendingBranch:b,isInFallback:H,isHydrating:V}=f;if(b)f.pendingBranch=m,Ut(m,b)?(a(b,m,f.hiddenContainer,null,i,f,r,o,l),f.deps<=0?f.resolve():H&&(V||(a(T,v,n,s,i,null,r,o,l),us(f,v)))):(f.pendingId=to++,V?(f.isHydrating=!1,f.activeBranch=b):c(b,i,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),H?(a(null,m,f.hiddenContainer,null,i,f,r,o,l),f.deps<=0?f.resolve():(a(T,v,n,s,i,null,r,o,l),us(f,v))):T&&Ut(m,T)?(a(T,m,n,s,i,f,r,o,l),f.resolve(!0)):(a(null,m,f.hiddenContainer,null,i,f,r,o,l),f.deps<=0&&f.resolve()));else if(T&&Ut(m,T))a(T,m,n,s,i,f,r,o,l),us(f,m);else if(Js(t,"onPending"),f.pendingBranch=m,m.shapeFlag&512?f.pendingId=m.component.suspenseId:f.pendingId=to++,a(null,m,f.hiddenContainer,null,i,f,r,o,l),f.deps<=0)f.resolve();else{const{timeout:O,pendingId:_}=f;O>0?setTimeout(()=>{f.pendingId===_&&f.fallback(v)},O):O===0&&f.fallback(v)}}function Jc(e,t,n,s,i,r,o,l,a,c,u=!1){const{p:f,m,um:v,n:T,o:{parentNode:b,remove:H}}=c;let V;const O=tp(e);O&&t&&t.pendingBranch&&(V=t.pendingId,t.deps++);const _=e.props?Di(e.props.timeout):void 0,E=r,k={vnode:e,parent:t,parentComponent:n,namespace:o,container:s,hiddenContainer:i,deps:0,pendingId:to++,timeout:typeof _=="number"?_:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(N=!1,B=!1){const{vnode:h,activeBranch:d,pendingBranch:g,pendingId:w,effects:S,parentComponent:R,container:Z}=k;let X=!1;k.isHydrating?k.isHydrating=!1:N||(X=d&&g.transition&&g.transition.mode==="out-in",X&&(d.transition.afterLeave=()=>{w===k.pendingId&&(m(g,Z,r===E?T(d):r,0),Hs(S))}),d&&(b(d.el)===Z&&(r=T(d)),v(d,R,k,!0)),X||m(g,Z,r,0)),us(k,g),k.pendingBranch=null,k.isInFallback=!1;let Y=k.parent,J=!1;for(;Y;){if(Y.pendingBranch){Y.effects.push(...S),J=!0;break}Y=Y.parent}!J&&!X&&Hs(S),k.effects=[],O&&t&&t.pendingBranch&&V===t.pendingId&&(t.deps--,t.deps===0&&!B&&t.resolve()),Js(h,"onResolve")},fallback(N){if(!k.pendingBranch)return;const{vnode:B,activeBranch:h,parentComponent:d,container:g,namespace:w}=k;Js(B,"onFallback");const S=T(h),R=()=>{k.isInFallback&&(f(null,N,g,S,d,null,w,l,a),us(k,N))},Z=N.transition&&N.transition.mode==="out-in";Z&&(h.transition.afterLeave=R),k.isInFallback=!0,v(h,d,null,!0),Z||R()},move(N,B,h){k.activeBranch&&m(k.activeBranch,N,B,h),k.container=N},next(){return k.activeBranch&&T(k.activeBranch)},registerDep(N,B,h){const d=!!k.pendingBranch;d&&k.deps++;const g=N.vnode.el;N.asyncDep.catch(w=>{zn(w,N,0)}).then(w=>{if(N.isUnmounted||k.isUnmounted||k.pendingId!==N.suspenseId)return;N.asyncResolved=!0;const{vnode:S}=N;ro(N,w,!1),g&&(S.el=g);const R=!g&&N.subTree.el;B(N,S,b(g||N.subTree.el),g?null:T(N.subTree),k,o,h),R&&H(R),_r(N,S.el),d&&--k.deps===0&&k.resolve()})},unmount(N,B){k.isUnmounted=!0,k.activeBranch&&v(k.activeBranch,n,N,B),k.pendingBranch&&v(k.pendingBranch,n,N,B)}};return k}function Xh(e,t,n,s,i,r,o,l,a){const c=t.suspense=Jc(t,s,n,e.parentNode,document.createElement("div"),null,i,r,o,l,!0),u=a(e,c.pendingBranch=t.ssContent,n,c,r,o);return c.deps===0&&c.resolve(!1,!0),u}function ep(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=Ml(s?n.default:n),e.ssFallback=s?Ml(n.fallback):De(Xe)}function Ml(e){let t;if(ve(e)){const n=Un&&e._c;n&&(e._d=!1,ae()),e=e(),n&&(e._d=!0,t=pt,zc())}return te(e)&&(e=qh(e)),e=Tt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Gc(e,t){t&&t.pendingBranch?te(e)?t.effects.push(...e):t.effects.push(e):Hs(e)}function us(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,s&&s.subTree===n&&(s.vnode.el=i,_r(s,i))}function tp(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Re=Symbol.for("v-fgt"),Cn=Symbol.for("v-txt"),Xe=Symbol.for("v-cmt"),$n=Symbol.for("v-stc"),Ds=[];let pt=null;function ae(e=!1){Ds.push(pt=e?null:[])}function zc(){Ds.pop(),pt=Ds[Ds.length-1]||null}let Un=1;function no(e,t=!1){Un+=e,e<0&&pt&&t&&(pt.hasOnce=!0)}function Yc(e){return e.dynamicChildren=Un>0?pt||rs:null,zc(),Un>0&&pt&&pt.push(e),e}function he(e,t,n,s,i,r){return Yc(Q(e,t,n,s,i,r,!0))}function hs(e,t,n,s,i){return Yc(De(e,t,n,s,i,!0))}function cn(e){return e?e.__v_isVNode===!0:!1}function Ut(e,t){return e.type===t.type&&e.key===t.key}function np(e){}const Zc=({key:e})=>e??null,ki=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?_e(e)||Ve(e)||ve(e)?{i:st,r:e,k:t,f:!!n}:e:null);function Q(e,t=null,n=null,s=0,i=null,r=e===Re?0:1,o=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Zc(t),ref:t&&ki(t),scopeId:hr,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:r,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:st};return l?(Wo(a,n),r&128&&e.normalize(a)):n&&(a.shapeFlag|=_e(n)?8:16),Un>0&&!o&&pt&&(a.patchFlag>0||r&6)&&a.patchFlag!==32&&pt.push(a),a}const De=sp;function sp(e,t=null,n=null,s=0,i=null,r=!1){if((!e||e===Cc)&&(e=Xe),cn(e)){const l=Zt(e,t,!0);return n&&Wo(l,n),Un>0&&!r&&pt&&(l.shapeFlag&6?pt[pt.indexOf(e)]=l:pt.push(l)),l.patchFlag=-2,l}if(up(e)&&(e=e.__vccOpts),t){t=Qc(t);let{class:l,style:a}=t;l&&!_e(l)&&(t.class=Qe(l)),Le(a)&&(dr(a)&&!te(a)&&(a=Ae({},a)),t.style=ti(a))}const o=_e(e)?1:Ui(e)?128:ac(e)?64:Le(e)?4:ve(e)?2:0;return Q(e,t,n,s,i,o,r,!0)}function Qc(e){return e?dr(e)||Ac(e)?Ae({},e):e:null}function Zt(e,t,n=!1,s=!1){const{props:i,ref:r,patchFlag:o,children:l,transition:a}=e,c=t?oi(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Zc(c),ref:t&&t.ref?n&&r?te(r)?r.concat(ki(t)):[r,ki(t)]:ki(t):r,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!==Re?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Zt(e.ssContent),ssFallback:e.ssFallback&&Zt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&s&&an(u,a.clone(u)),u}function Sr(e=" ",t=0){return De(Cn,null,e,t)}function ip(e,t){const n=De($n,null,e);return n.staticCount=t,n}function Ue(e="",t=!1){return t?(ae(),hs(Xe,null,e)):De(Xe,null,e)}function Tt(e){return e==null||typeof e=="boolean"?De(Xe):te(e)?De(Re,null,e.slice()):cn(e)?yn(e):De(Cn,null,String(e))}function yn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Zt(e)}function Wo(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(te(t))n=16;else if(typeof t=="object")if(s&65){const i=t.default;i&&(i._c&&(i._d=!1),Wo(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!Ac(t)?t._ctx=st:i===3&&st&&(st.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ve(t)?(t={default:t,_ctx:st},n=32):(t=String(t),s&64?(n=16,t=[Sr(t)]):n=8);e.children=t,e.shapeFlag|=n}function oi(...e){const t={};for(let n=0;nnt||st;let Ki,so;{const e=or(),t=(n,s)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(s),r=>{i.length>1?i.forEach(o=>o(r)):i[0](r)}};Ki=t("__VUE_INSTANCE_SETTERS__",n=>nt=n),so=t("__VUE_SSR_SETTERS__",n=>ps=n)}const Kn=e=>{const t=nt;return Ki(e),e.scope.on(),()=>{e.scope.off(),Ki(t)}},io=()=>{nt&&nt.scope.off(),Ki(null)};function eu(e){return e.vnode.shapeFlag&4}let ps=!1;function tu(e,t=!1,n=!1){t&&so(t);const{props:s,children:i}=e.vnode,r=eu(e);Ph(e,s,r,t),Bh(e,i,n);const o=r?lp(e,t):void 0;return t&&so(!1),o}function lp(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Zr);const{setup:s}=n;if(s){kn();const i=e.setupContext=s.length>1?iu(e):null,r=Kn(e),o=Cs(s,e,0,[e.props,i]),l=wo(o);if(An(),r(),(l||e.sp)&&!Sn(e)&&Fo(e),l){if(o.then(io,io),t)return o.then(a=>{ro(e,a,t)}).catch(a=>{zn(a,e,0)});e.asyncDep=o}else ro(e,o,t)}else su(e,t)}function ro(e,t,n){ve(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Le(t)&&(e.setupState=Mo(t)),su(e,n)}let qi,oo;function nu(e){qi=e,oo=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,dh))}}const ap=()=>!qi;function su(e,t,n){const s=e.type;if(!e.render){if(!t&&qi&&!s.render){const i=s.template||Ho(e).template;if(i){const{isCustomElement:r,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:a}=s,c=Ae(Ae({isCustomElement:r,delimiters:l},o),a);s.render=qi(i,c)}}e.render=s.render||at,oo&&oo(e)}{const i=Kn(e);kn();try{wh(e)}finally{An(),i()}}}const cp={get(e,t){return dt(e,"get",""),e[t]}};function iu(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,cp),slots:e.slots,emit:e.emit,expose:t}}function li(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Mo(Ya(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ls)return Ls[n](e)},has(t,n){return n in t||n in Ls}})):e.proxy}function lo(e,t=!0){return ve(e)?e.displayName||e.name:e.name||t&&e.__name}function up(e){return ve(e)&&"__vccOpts"in e}const Ge=(e,t)=>xd(e,t,ps);function ru(e,t,n){const s=arguments.length;return s===2?Le(t)&&!te(t)?cn(t)?De(e,null,[t]):De(e,t):De(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&cn(n)&&(n=[n]),De(e,t,n))}function fp(){}function dp(e,t,n,s){const i=n[s];if(i&&ou(i,e))return i;const r=t();return r.memo=e.slice(),r.cacheIndex=s,n[s]=r}function ou(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let s=0;s0&&pt&&pt.push(e),!0}const lu="3.5.13",hp=at,pp=Pd,gp=ns,mp=oc,yp={createComponentInstance:Xc,setupComponent:tu,renderComponentRoot:Ii,setCurrentRenderingInstance:Ks,isVNode:cn,normalizeVNode:Tt,getComponentPublicInstance:li,ensureValidVNode:jo,pushWarningContext:Od,popWarningContext:Nd},vp=yp,bp=null,_p=null,Sp=null;/** +* @vue/runtime-dom v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let ao;const Pl=typeof window<"u"&&window.trustedTypes;if(Pl)try{ao=Pl.createPolicy("vue",{createHTML:e=>e})}catch{}const au=ao?e=>ao.createHTML(e):e=>e,Ep="http://www.w3.org/2000/svg",Cp="http://www.w3.org/1998/Math/MathML",nn=typeof document<"u"?document:null,Ll=nn&&nn.createElement("template"),Tp={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 i=t==="svg"?nn.createElementNS(Ep,e):t==="mathml"?nn.createElementNS(Cp,e):n?nn.createElement(e,{is:n}):nn.createElement(e);return e==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:e=>nn.createTextNode(e),createComment:e=>nn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>nn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,i,r){const o=n?n.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===r||!(i=i.nextSibling)););else{Ll.innerHTML=au(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=Ll.content;if(s==="svg"||s==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},fn="transition",xs="animation",gs=Symbol("_vtc"),cu={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},uu=Ae({},Do,cu),xp=e=>(e.displayName="Transition",e.props=uu,e),wp=xp((e,{slots:t})=>ru(hc,fu(e),t)),Nn=(e,t=[])=>{te(e)?e.forEach(n=>n(...t)):e&&e(...t)},Dl=e=>e?te(e)?e.some(t=>t.length>1):e.length>1:!1;function fu(e){const t={};for(const S in e)S in cu||(t[S]=e[S]);if(e.css===!1)return t;const{name:n="v",type:s,duration:i,enterFromClass:r=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=r,appearActiveClass:c=o,appearToClass:u=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,T=Ip(i),b=T&&T[0],H=T&&T[1],{onBeforeEnter:V,onEnter:O,onEnterCancelled:_,onLeave:E,onLeaveCancelled:k,onBeforeAppear:N=V,onAppear:B=O,onAppearCancelled:h=_}=t,d=(S,R,Z,X)=>{S._enterCancelled=X,hn(S,R?u:l),hn(S,R?c:o),Z&&Z()},g=(S,R)=>{S._isLeaving=!1,hn(S,f),hn(S,v),hn(S,m),R&&R()},w=S=>(R,Z)=>{const X=S?B:O,Y=()=>d(R,S,Z);Nn(X,[R,Y]),Fl(()=>{hn(R,S?a:r),Jt(R,S?u:l),Dl(X)||Bl(R,s,b,Y)})};return Ae(t,{onBeforeEnter(S){Nn(V,[S]),Jt(S,r),Jt(S,o)},onBeforeAppear(S){Nn(N,[S]),Jt(S,a),Jt(S,c)},onEnter:w(!1),onAppear:w(!0),onLeave(S,R){S._isLeaving=!0;const Z=()=>g(S,R);Jt(S,f),S._enterCancelled?(Jt(S,m),co()):(co(),Jt(S,m)),Fl(()=>{S._isLeaving&&(hn(S,f),Jt(S,v),Dl(E)||Bl(S,s,H,Z))}),Nn(E,[S,Z])},onEnterCancelled(S){d(S,!1,void 0,!0),Nn(_,[S])},onAppearCancelled(S){d(S,!0,void 0,!0),Nn(h,[S])},onLeaveCancelled(S){g(S),Nn(k,[S])}})}function Ip(e){if(e==null)return null;if(Le(e))return[Br(e.enter),Br(e.leave)];{const t=Br(e);return[t,t]}}function Br(e){return Di(e)}function Jt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[gs]||(e[gs]=new Set)).add(t)}function hn(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[gs];n&&(n.delete(t),n.size||(e[gs]=void 0))}function Fl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let kp=0;function Bl(e,t,n,s){const i=e._endId=++kp,r=()=>{i===e._endId&&s()};if(n!=null)return setTimeout(r,n);const{type:o,timeout:l,propCount:a}=du(e,t);if(!o)return s();const c=o+"end";let u=0;const f=()=>{e.removeEventListener(c,m),r()},m=v=>{v.target===e&&++u>=a&&f()};setTimeout(()=>{u(n[T]||"").split(", "),i=s(`${fn}Delay`),r=s(`${fn}Duration`),o=Vl(i,r),l=s(`${xs}Delay`),a=s(`${xs}Duration`),c=Vl(l,a);let u=null,f=0,m=0;t===fn?o>0&&(u=fn,f=o,m=r.length):t===xs?c>0&&(u=xs,f=c,m=a.length):(f=Math.max(o,c),u=f>0?o>c?fn:xs:null,m=u?u===fn?r.length:a.length:0);const v=u===fn&&/\b(transform|all)(,|$)/.test(s(`${fn}Property`).toString());return{type:u,timeout:f,propCount:m,hasTransform:v}}function Vl(e,t){for(;e.length$l(n)+$l(e[s])))}function $l(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function co(){return document.body.offsetHeight}function Ap(e,t,n){const s=e[gs];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Wi=Symbol("_vod"),hu=Symbol("_vsh"),Ht={beforeMount(e,{value:t},{transition:n}){e[Wi]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):ws(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),ws(e,!0),s.enter(e)):s.leave(e,()=>{ws(e,!1)}):ws(e,t))},beforeUnmount(e,{value:t}){ws(e,t)}};function ws(e,t){e.style.display=t?e[Wi]:"none",e[hu]=!t}function Op(){Ht.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const pu=Symbol("");function Np(e){const t=Pt();if(!t)return;const n=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(r=>Ji(r,i))},s=()=>{const i=e(t.proxy);t.ce?Ji(t.ce,i):uo(t.subTree,i),n(i)};Bo(()=>{Hs(s)}),Yn(()=>{lt(s,at,{flush:"post"});const i=new MutationObserver(s);i.observe(t.subTree.el.parentNode,{childList:!0}),vr(()=>i.disconnect())})}function uo(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{uo(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Ji(e.el,t);else if(e.type===Re)e.children.forEach(n=>uo(n,t));else if(e.type===$n){let{el:n,anchor:s}=e;for(;n&&(Ji(n,t),n!==s);)n=n.nextSibling}}function Ji(e,t){if(e.nodeType===1){const n=e.style;let s="";for(const i in t)n.setProperty(`--${i}`,t[i]),s+=`--${i}: ${t[i]};`;n[pu]=s}}const Rp=/(^|;)\s*display\s*:/;function Mp(e,t,n){const s=e.style,i=_e(n);let r=!1;if(n&&!i){if(t)if(_e(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&Ai(s,l,"")}else for(const o in t)n[o]==null&&Ai(s,o,"");for(const o in n)o==="display"&&(r=!0),Ai(s,o,n[o])}else if(i){if(t!==n){const o=s[pu];o&&(n+=";"+o),s.cssText=n,r=Rp.test(n)}}else t&&e.removeAttribute("style");Wi in e&&(e[Wi]=r?s.display:"",e[hu]&&(s.display="none"))}const jl=/\s*!important$/;function Ai(e,t,n){if(te(n))n.forEach(s=>Ai(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Pp(e,t);jl.test(n)?e.setProperty(xt(s),n.replace(jl,""),"important"):e[s]=n}}const Hl=["Webkit","Moz","ms"],Vr={};function Pp(e,t){const n=Vr[t];if(n)return n;let s=je(t);if(s!=="filter"&&s in e)return Vr[t]=s;s=Gn(s);for(let i=0;i$r||(Bp.then(()=>$r=0),$r=Date.now());function $p(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;jt(jp(s,n.value),t,5,[s])};return n.value=e,n.attached=Vp(),n}function jp(e,t){if(te(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>i=>!i._stopped&&s&&s(i))}else return t}const Gl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Hp=(e,t,n,s,i,r)=>{const o=i==="svg";t==="class"?Ap(e,s,o):t==="style"?Mp(e,n,s):Wn(t)?To(t)||Dp(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Up(e,t,s,o))?(ql(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Kl(e,t,s,o,r,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!_e(s))?ql(e,je(t),s,r,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Kl(e,t,s,o))};function Up(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Gl(t)&&ve(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Gl(t)&&_e(n)?!1:t in e}const zl={};/*! #__NO_SIDE_EFFECTS__ */function gu(e,t,n){const s=gr(e,t);ir(s)&&Ae(s,t);class i extends Er{constructor(o){super(s,o,n)}}return i.def=s,i}/*! #__NO_SIDE_EFFECTS__ */const Kp=(e,t)=>gu(e,t,wu),qp=typeof HTMLElement<"u"?HTMLElement:class{};class Er extends qp{constructor(t,n={},s=Gs){super(),this._def=t,this._props=n,this._createApp=s,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&s!==Gs?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this,this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof Er){this._parent=t;break}this._instance||(this._resolved?(this._setParent(),this._update()):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._instance.provides=t._instance.provides)}disconnectedCallback(){this._connected=!1,Yt(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let s=0;s{for(const i of s)this._setAttr(i.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(s,i=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:r,styles:o}=s;let l;if(r&&!te(r))for(const a in r){const c=r[a];(c===Number||c&&c.type===Number)&&(a in this._props&&(this._props[a]=Di(this._props[a])),(l||(l=Object.create(null)))[je(a)]=!0)}this._numberProps=l,i&&this._resolveProps(s),this.shadowRoot&&this._applyStyles(o),this._mount(s)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(s=>t(this._def=s,!0)):t(this._def)}_mount(t){this._app=this._createApp(t),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const s in n)Me(this,s)||Object.defineProperty(this,s,{get:()=>ie(n[s])})}_resolveProps(t){const{props:n}=t,s=te(n)?n:Object.keys(n||{});for(const i of Object.keys(this))i[0]!=="_"&&s.includes(i)&&this._setProp(i,this[i]);for(const i of s.map(je))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(r){this._setProp(i,r,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let s=n?this.getAttribute(t):zl;const i=je(t);n&&this._numberProps&&this._numberProps[i]&&(s=Di(s)),this._setProp(i,s,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,s=!0,i=!1){if(n!==this._props[t]&&(n===zl?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),i&&this._instance&&this._update(),s)){const r=this._ob;r&&r.disconnect(),n===!0?this.setAttribute(xt(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(xt(t),n+""):n||this.removeAttribute(xt(t)),r&&r.observe(this,{attributes:!0})}}_update(){xu(this._createVNode(),this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=De(this._def,Ae(t,this._props));return this._instance||(n.ce=s=>{this._instance=s,s.ce=this,s.isCE=!0;const i=(r,o)=>{this.dispatchEvent(new CustomEvent(r,ir(o[0])?Ae({detail:o},o[0]):{detail:o}))};s.emit=(r,...o)=>{i(r,o),xt(r)!==r&&i(xt(r),o)},this._setParent()}),n}_applyStyles(t,n){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const s=this._nonce;for(let i=t.length-1;i>=0;i--){const r=document.createElement("style");s&&r.setAttribute("nonce",s),r.textContent=t[i],this.shadowRoot.prepend(r)}}_parseSlots(){const t=this._slots={};let n;for(;n=this.firstChild;){const s=n.nodeType===1&&n.getAttribute("slot")||"default";(t[s]||(t[s]=[])).push(n),this.removeChild(n)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),n=this._instance.type.__scopeId;for(let s=0;s(delete e.props.mode,e),zp=Gp({name:"TransitionGroup",props:Ae({},uu,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Pt(),s=Lo();let i,r;return ii(()=>{if(!i.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!eg(i[0].el,n.vnode.el,o))return;i.forEach(Zp),i.forEach(Qp);const l=i.filter(Xp);co(),l.forEach(a=>{const c=a.el,u=c.style;Jt(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const f=c[Gi]=m=>{m&&m.target!==c||(!m||/transform$/.test(m.propertyName))&&(c.removeEventListener("transitionend",f),c[Gi]=null,hn(c,o))};c.addEventListener("transitionend",f)})}),()=>{const o=Ne(e),l=fu(o);let a=o.tag||Re;if(i=[],r)for(let c=0;c{l.split(/\s+/).forEach(a=>a&&s.classList.remove(a))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(s);const{hasTransform:o}=du(s);return r.removeChild(s),o}const In=e=>{const t=e.props["onUpdate:modelValue"]||!1;return te(t)?n=>as(t,n):t};function tg(e){e.target.composing=!0}function Zl(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const $t=Symbol("_assign"),ms={created(e,{modifiers:{lazy:t,trim:n,number:s}},i){e[$t]=In(i);const r=s||i.props&&i.props.type==="number";on(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),r&&(l=Li(l)),e[$t](l)}),n&&on(e,"change",()=>{e.value=e.value.trim()}),t||(on(e,"compositionstart",tg),on(e,"compositionend",Zl),on(e,"change",Zl))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:i,number:r}},o){if(e[$t]=In(o),e.composing)return;const l=(r||e.type==="number")&&!/^0\d/.test(e.value)?Li(e.value):e.value,a=t??"";l!==a&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||i&&e.value.trim()===a)||(e.value=a))}},Cr={deep:!0,created(e,t,n){e[$t]=In(n),on(e,"change",()=>{const s=e._modelValue,i=ys(e),r=e.checked,o=e[$t];if(te(s)){const l=lr(s,i),a=l!==-1;if(r&&!a)o(s.concat(i));else if(!r&&a){const c=[...s];c.splice(l,1),o(c)}}else if(Jn(s)){const l=new Set(s);r?l.add(i):l.delete(i),o(l)}else o(bu(e,r))})},mounted:Ql,beforeUpdate(e,t,n){e[$t]=In(n),Ql(e,t,n)}};function Ql(e,{value:t,oldValue:n},s){e._modelValue=t;let i;if(te(t))i=lr(t,s.props.value)>-1;else if(Jn(t))i=t.has(s.props.value);else{if(t===n)return;i=xn(t,bu(e,!0))}e.checked!==i&&(e.checked=i)}const Jo={created(e,{value:t},n){e.checked=xn(t,n.props.value),e[$t]=In(n),on(e,"change",()=>{e[$t](ys(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[$t]=In(s),t!==n&&(e.checked=xn(t,s.props.value))}},Go={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const i=Jn(t);on(e,"change",()=>{const r=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?Li(ys(o)):ys(o));e[$t](e.multiple?i?new Set(r):r:r[0]),e._assigning=!0,Yt(()=>{e._assigning=!1})}),e[$t]=In(s)},mounted(e,{value:t}){Xl(e,t)},beforeUpdate(e,t,n){e[$t]=In(n)},updated(e,{value:t}){e._assigning||Xl(e,t)}};function Xl(e,t){const n=e.multiple,s=te(t);if(!(n&&!s&&!Jn(t))){for(let i=0,r=e.options.length;iString(c)===String(l)):o.selected=lr(t,l)>-1}else o.selected=t.has(l);else if(xn(ys(o),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ys(e){return"_value"in e?e._value:e.value}function bu(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const _u={created(e,t,n){_i(e,t,n,null,"created")},mounted(e,t,n){_i(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){_i(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){_i(e,t,n,s,"updated")}};function Su(e,t){switch(e){case"SELECT":return Go;case"TEXTAREA":return ms;default:switch(t){case"checkbox":return Cr;case"radio":return Jo;default:return ms}}}function _i(e,t,n,s,i){const o=Su(e.tagName,n.props&&n.props.type)[i];o&&o(e,t,n,s)}function ng(){ms.getSSRProps=({value:e})=>({value:e}),Jo.getSSRProps=({value:e},t)=>{if(t.props&&xn(t.props.value,e))return{checked:!0}},Cr.getSSRProps=({value:e},t)=>{if(te(e)){if(t.props&&lr(e,t.props.value)>-1)return{checked:!0}}else if(Jn(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},_u.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Su(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const sg=["ctrl","shift","alt","meta"],ig={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)=>sg.some(n=>e[`${n}Key`]&&!t.includes(n))},Fe=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(i,...r)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=i=>{if(!("key"in i))return;const r=xt(i.key);if(t.some(o=>o===r||rg[o]===r))return e(i)})},Eu=Ae({patchProp:Hp},Tp);let Fs,ea=!1;function Cu(){return Fs||(Fs=Dc(Eu))}function Tu(){return Fs=ea?Fs:Fc(Eu),ea=!0,Fs}const xu=(...e)=>{Cu().render(...e)},og=(...e)=>{Tu().hydrate(...e)},Gs=(...e)=>{const t=Cu().createApp(...e),{mount:n}=t;return t.mount=s=>{const i=ku(s);if(!i)return;const r=t._component;!ve(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=n(i,!1,Iu(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t},wu=(...e)=>{const t=Tu().createApp(...e),{mount:n}=t;return t.mount=s=>{const i=ku(s);if(i)return n(i,!0,Iu(i))},t};function Iu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ku(e){return _e(e)?document.querySelector(e):e}let ta=!1;const lg=()=>{ta||(ta=!0,ng(),Op())},ag=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:hc,BaseTransitionPropsValidators:Do,Comment:Xe,DeprecationTypes:Sp,EffectScope:ko,ErrorCodes:Md,ErrorTypeStrings:pp,Fragment:Re,KeepAlive:rh,ReactiveEffect:Vs,Static:$n,Suspense:Yh,Teleport:jd,Text:Cn,TrackOpTypes:wd,Transition:wp,TransitionGroup:Yp,TriggerOpTypes:Id,VueElement:Er,assertNumber:Rd,callWithAsyncErrorHandling:jt,callWithErrorHandling:Cs,camelize:je,capitalize:Gn,cloneVNode:Zt,compatUtils:_p,computed:Ge,createApp:Gs,createBlock:hs,createCommentVNode:Ue,createElementBlock:he,createElementVNode:Q,createHydrationRenderer:Fc,createPropsRestProxy:Th,createRenderer:Dc,createSSRApp:wu,createSlots:uh,createStaticVNode:ip,createTextVNode:Sr,createVNode:De,customRef:Xa,defineAsyncComponent:sh,defineComponent:gr,defineCustomElement:gu,defineEmits:ph,defineExpose:gh,defineModel:vh,defineOptions:mh,defineProps:hh,defineSSRCustomElement:Kp,defineSlots:yh,devtools:gp,effect:zf,effectScope:Wf,getCurrentInstance:Pt,getCurrentScope:Ma,getCurrentWatcher:kd,getTransitionRawChildren:pr,guardReactiveProps:Qc,h:ru,handleError:zn,hasInjectionContext:Mh,hydrate:og,hydrateOnIdle:Zd,hydrateOnInteraction:th,hydrateOnMediaQuery:eh,hydrateOnVisible:Xd,initCustomFormatter:fp,initDirectivesForSSR:lg,inject:En,isMemoSame:ou,isProxy:dr,isReactive:_n,isReadonly:wn,isRef:Ve,isRuntimeOnly:ap,isShallow:Rt,isVNode:cn,markRaw:Ya,mergeDefaults:Eh,mergeModels:Ch,mergeProps:oi,nextTick:Yt,normalizeClass:Qe,normalizeProps:Pf,normalizeStyle:ti,onActivated:gc,onBeforeMount:vc,onBeforeUnmount:yr,onBeforeUpdate:Bo,onDeactivated:mc,onErrorCaptured:Ec,onMounted:Yn,onRenderTracked:Sc,onRenderTriggered:_c,onScopeDispose:Jf,onServerPrefetch:bc,onUnmounted:vr,onUpdated:ii,onWatcherCleanup:tc,openBlock:ae,popScopeId:Bd,provide:Uo,proxyRefs:Mo,pushScopeId:Fd,queuePostFlushCb:Hs,reactive:ni,readonly:Ro,ref:be,registerRuntimeCompiler:nu,render:xu,renderList:kt,renderSlot:Ft,resolveComponent:wi,resolveDirective:ch,resolveDynamicComponent:ah,resolveFilter:bp,resolveTransitionHooks:ds,setBlockTracking:no,setDevtoolsHook:mp,setTransitionHooks:an,shallowReactive:za,shallowReadonly:gd,shallowRef:Za,ssrContextKey:jc,ssrUtils:vp,stop:Yf,toDisplayString:Ot,toHandlerKey:ls,toHandlers:fh,toRaw:Ne,toRef:As,toRefs:Sd,toValue:vd,transformVNodeArgs:np,triggerRef:yd,unref:ie,useAttrs:Sh,useCssModule:Jp,useCssVars:Np,useHost:mu,useId:Ud,useModel:Uh,useSSRContext:Hc,useShadowRoot:Wp,useSlots:_h,useTemplateRef:Kd,useTransitionState:Lo,vModelCheckbox:Cr,vModelDynamic:_u,vModelRadio:Jo,vModelSelect:Go,vModelText:ms,vShow:Ht,version:lu,warn:hp,watch:lt,watchEffect:tn,watchPostEffect:jh,watchSyncEffect:Uc,withAsyncContext:xh,withCtx:fs,withDefaults:bh,withDirectives:Et,withKeys:Pn,withMemo:dp,withModifiers:Fe,withScopeId:Vd},Symbol.toStringTag,{value:"Module"}));/** +* @vue/compiler-core v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const zs=Symbol(""),Bs=Symbol(""),zo=Symbol(""),zi=Symbol(""),Au=Symbol(""),qn=Symbol(""),Ou=Symbol(""),Nu=Symbol(""),Yo=Symbol(""),Zo=Symbol(""),ai=Symbol(""),Qo=Symbol(""),Ru=Symbol(""),Xo=Symbol(""),el=Symbol(""),tl=Symbol(""),nl=Symbol(""),sl=Symbol(""),il=Symbol(""),Mu=Symbol(""),Pu=Symbol(""),Tr=Symbol(""),Yi=Symbol(""),rl=Symbol(""),ol=Symbol(""),Ys=Symbol(""),ci=Symbol(""),ll=Symbol(""),fo=Symbol(""),cg=Symbol(""),ho=Symbol(""),Zi=Symbol(""),ug=Symbol(""),fg=Symbol(""),al=Symbol(""),dg=Symbol(""),hg=Symbol(""),cl=Symbol(""),Lu=Symbol(""),vs={[zs]:"Fragment",[Bs]:"Teleport",[zo]:"Suspense",[zi]:"KeepAlive",[Au]:"BaseTransition",[qn]:"openBlock",[Ou]:"createBlock",[Nu]:"createElementBlock",[Yo]:"createVNode",[Zo]:"createElementVNode",[ai]:"createCommentVNode",[Qo]:"createTextVNode",[Ru]:"createStaticVNode",[Xo]:"resolveComponent",[el]:"resolveDynamicComponent",[tl]:"resolveDirective",[nl]:"resolveFilter",[sl]:"withDirectives",[il]:"renderList",[Mu]:"renderSlot",[Pu]:"createSlots",[Tr]:"toDisplayString",[Yi]:"mergeProps",[rl]:"normalizeClass",[ol]:"normalizeStyle",[Ys]:"normalizeProps",[ci]:"guardReactiveProps",[ll]:"toHandlers",[fo]:"camelize",[cg]:"capitalize",[ho]:"toHandlerKey",[Zi]:"setBlockTracking",[ug]:"pushScopeId",[fg]:"popScopeId",[al]:"withCtx",[dg]:"unref",[hg]:"isRef",[cl]:"withMemo",[Lu]:"isMemoSame"};function pg(e){Object.getOwnPropertySymbols(e).forEach(t=>{vs[t]=e[t]})}const Lt={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function gg(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Lt}}function Zs(e,t,n,s,i,r,o,l=!1,a=!1,c=!1,u=Lt){return e&&(l?(e.helper(qn),e.helper(Ss(e.inSSR,c))):e.helper(_s(e.inSSR,c)),o&&e.helper(sl)),{type:13,tag:t,props:n,children:s,patchFlag:i,dynamicProps:r,directives:o,isBlock:l,disableTracking:a,isComponent:c,loc:u}}function jn(e,t=Lt){return{type:17,loc:t,elements:e}}function Vt(e,t=Lt){return{type:15,loc:t,properties:e}}function Ye(e,t){return{type:16,loc:Lt,key:_e(e)?Ee(e,!0):e,value:t}}function Ee(e,t=!1,n=Lt,s=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:s}}function qt(e,t=Lt){return{type:8,loc:t,children:e}}function tt(e,t=[],n=Lt){return{type:14,loc:n,callee:e,arguments:t}}function bs(e,t=void 0,n=!1,s=!1,i=Lt){return{type:18,params:e,returns:t,newline:n,isSlot:s,loc:i}}function po(e,t,n,s=!0){return{type:19,test:e,consequent:t,alternate:n,newline:s,loc:Lt}}function mg(e,t,n=!1,s=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:s,needArraySpread:!1,loc:Lt}}function yg(e){return{type:21,body:e,loc:Lt}}function _s(e,t){return e||t?Yo:Zo}function Ss(e,t){return e||t?Ou:Nu}function ul(e,{helper:t,removeHelper:n,inSSR:s}){e.isBlock||(e.isBlock=!0,n(_s(s,e.isComponent)),t(qn),t(Ss(s,e.isComponent)))}const na=new Uint8Array([123,123]),sa=new Uint8Array([125,125]);function ia(e){return e>=97&&e<=122||e>=65&&e<=90}function At(e){return e===32||e===10||e===9||e===12||e===13}function dn(e){return e===47||e===62||At(e)}function Qi(e){const t=new Uint8Array(e.length);for(let n=0;n=0;i--){const r=this.newlines[i];if(t>r){n=i+2,s=t-r;break}}return{column:s,line:n,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?dn(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||At(t)){const n=this.index-this.currentSequence.length;if(this.sectionStart=t||(this.state===28?this.currentSequence===ut.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,n){}}function ra(e,{compatConfig:t}){const n=t&&t[e];return e==="MODE"?n||3:n}function Hn(e,t){const n=ra("MODE",t),s=ra(e,t);return n===3?s===!0:s!==!1}function Qs(e,t,n,...s){return Hn(e,t)}function fl(e){throw e}function Du(e){}function qe(e,t,n,s){const i=`https://vuejs.org/error-reference/#compiler-${e}`,r=new SyntaxError(String(i));return r.code=e,r.loc=t,r}const wt=e=>e.type===4&&e.isStatic;function Fu(e){switch(e){case"Teleport":case"teleport":return Bs;case"Suspense":case"suspense":return zo;case"KeepAlive":case"keep-alive":return zi;case"BaseTransition":case"base-transition":return Au}}const bg=/^\d|[^\$\w\xA0-\uFFFF]/,dl=e=>!bg.test(e),_g=/[A-Za-z_$\xA0-\uFFFF]/,Sg=/[\.\?\w$\xA0-\uFFFF]/,Eg=/\s+[.[]\s*|\s*[.[]\s+/g,Bu=e=>e.type===4?e.content:e.loc.source,Cg=e=>{const t=Bu(e).trim().replace(Eg,l=>l.trim());let n=0,s=[],i=0,r=0,o=null;for(let l=0;l|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,xg=e=>Tg.test(Bu(e)),wg=xg;function Bt(e,t,n=!1){for(let s=0;st.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function jr(e){return e.type===5||e.type===2}function kg(e){return e.type===7&&e.name==="slot"}function Xi(e){return e.type===1&&e.tagType===3}function er(e){return e.type===1&&e.tagType===2}const Ag=new Set([Ys,ci]);function $u(e,t=[]){if(e&&!_e(e)&&e.type===14){const n=e.callee;if(!_e(n)&&Ag.has(n))return $u(e.arguments[0],t.concat(e))}return[e,t]}function tr(e,t,n){let s,i=e.type===13?e.props:e.arguments[2],r=[],o;if(i&&!_e(i)&&i.type===14){const l=$u(i);i=l[0],r=l[1],o=r[r.length-1]}if(i==null||_e(i))s=Vt([t]);else if(i.type===14){const l=i.arguments[0];!_e(l)&&l.type===15?oa(t,l)||l.properties.unshift(t):i.callee===ll?s=tt(n.helper(Yi),[Vt([t]),i]):i.arguments.unshift(Vt([t])),!s&&(s=i)}else i.type===15?(oa(t,i)||i.properties.unshift(t),s=i):(s=tt(n.helper(Yi),[Vt([t]),i]),o&&o.callee===ci&&(o=r[r.length-2]));e.type===13?o?o.arguments[0]=s:e.props=s:o?o.arguments[0]=s:e.arguments[2]=s}function oa(e,t){let n=!1;if(e.key.type===4){const s=e.key.content;n=t.properties.some(i=>i.key.type===4&&i.key.content===s)}return n}function Xs(e,t){return`_${t}_${e.replace(/[^\w]/g,(n,s)=>n==="-"?"_":e.charCodeAt(s).toString())}`}function Og(e){return e.type===14&&e.callee===cl?e.arguments[1].returns:e}const Ng=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,ju={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:ks,isPreTag:ks,isIgnoreNewlineTag:ks,isCustomElement:ks,onError:fl,onWarn:Du,comments:!1,prefixIdentifiers:!1};let Pe=ju,ei=null,ln="",ft=null,Oe=null,St="",en=-1,Mn=-1,hl=0,vn=!1,go=null;const Ke=[],Je=new vg(Ke,{onerr:Xt,ontext(e,t){Si(ot(e,t),e,t)},ontextentity(e,t,n){Si(e,t,n)},oninterpolation(e,t){if(vn)return Si(ot(e,t),e,t);let n=e+Je.delimiterOpen.length,s=t-Je.delimiterClose.length;for(;At(ln.charCodeAt(n));)n++;for(;At(ln.charCodeAt(s-1));)s--;let i=ot(n,s);i.includes("&")&&(i=Pe.decodeEntities(i,!1)),mo({type:5,content:Ni(i,!1,ze(n,s)),loc:ze(e,t)})},onopentagname(e,t){const n=ot(e,t);ft={type:1,tag:n,ns:Pe.getNamespace(n,Ke[0],Pe.ns),tagType:0,props:[],children:[],loc:ze(e-1,t),codegenNode:void 0}},onopentagend(e){aa(e)},onclosetag(e,t){const n=ot(e,t);if(!Pe.isVoidTag(n)){let s=!1;for(let i=0;i0&&Xt(24,Ke[0].loc.start.offset);for(let o=0;o<=i;o++){const l=Ke.shift();Oi(l,t,o(s.type===7?s.rawName:s.name)===n)&&Xt(2,t)},onattribend(e,t){if(ft&&Oe){if(Fn(Oe.loc,t),e!==0)if(St.includes("&")&&(St=Pe.decodeEntities(St,!0)),Oe.type===6)Oe.name==="class"&&(St=Ku(St).trim()),e===1&&!St&&Xt(13,t),Oe.value={type:2,content:St,loc:e===1?ze(en,Mn):ze(en-1,Mn+1)},Je.inSFCRoot&&ft.tag==="template"&&Oe.name==="lang"&&St&&St!=="html"&&Je.enterRCDATA(Qi("i.content==="sync"))>-1&&Qs("COMPILER_V_BIND_SYNC",Pe,Oe.loc,Oe.rawName)&&(Oe.name="model",Oe.modifiers.splice(s,1))}(Oe.type!==7||Oe.name!=="pre")&&ft.props.push(Oe)}St="",en=Mn=-1},oncomment(e,t){Pe.comments&&mo({type:3,content:ot(e,t),loc:ze(e-4,t+3)})},onend(){const e=ln.length;for(let t=0;t{const T=t.start.offset+m,b=T+f.length;return Ni(f,!1,ze(T,b),0,v?1:0)},l={source:o(r.trim(),n.indexOf(r,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let a=i.trim().replace(Rg,"").trim();const c=i.indexOf(a),u=a.match(la);if(u){a=a.replace(la,"").trim();const f=u[1].trim();let m;if(f&&(m=n.indexOf(f,c+a.length),l.key=o(f,m,!0)),u[2]){const v=u[2].trim();v&&(l.index=o(v,n.indexOf(v,l.key?m+f.length:c+a.length),!0))}}return a&&(l.value=o(a,c,!0)),l}function ot(e,t){return ln.slice(e,t)}function aa(e){Je.inSFCRoot&&(ft.innerLoc=ze(e+1,e+1)),mo(ft);const{tag:t,ns:n}=ft;n===0&&Pe.isPreTag(t)&&hl++,Pe.isVoidTag(t)?Oi(ft,e):(Ke.unshift(ft),(n===1||n===2)&&(Je.inXML=!0)),ft=null}function Si(e,t,n){{const r=Ke[0]&&Ke[0].tag;r!=="script"&&r!=="style"&&e.includes("&")&&(e=Pe.decodeEntities(e,!1))}const s=Ke[0]||ei,i=s.children[s.children.length-1];i&&i.type===2?(i.content+=e,Fn(i.loc,n)):s.children.push({type:2,content:e,loc:ze(t,n)})}function Oi(e,t,n=!1){n?Fn(e.loc,Hu(t,60)):Fn(e.loc,Pg(t,62)+1),Je.inSFCRoot&&(e.children.length?e.innerLoc.end=Ae({},e.children[e.children.length-1].loc.end):e.innerLoc.end=Ae({},e.innerLoc.start),e.innerLoc.source=ot(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:s,ns:i,children:r}=e;if(vn||(s==="slot"?e.tagType=2:ca(e)?e.tagType=3:Dg(e)&&(e.tagType=1)),Je.inRCDATA||(e.children=Uu(r)),i===0&&Pe.isIgnoreNewlineTag(s)){const o=r[0];o&&o.type===2&&(o.content=o.content.replace(/^\r?\n/,""))}i===0&&Pe.isPreTag(s)&&hl--,go===e&&(vn=Je.inVPre=!1,go=null),Je.inXML&&(Ke[0]?Ke[0].ns:Pe.ns)===0&&(Je.inXML=!1);{const o=e.props;if(!Je.inSFCRoot&&Hn("COMPILER_NATIVE_TEMPLATE",Pe)&&e.tag==="template"&&!ca(e)){const a=Ke[0]||ei,c=a.children.indexOf(e);a.children.splice(c,1,...e.children)}const l=o.find(a=>a.type===6&&a.name==="inline-template");l&&Qs("COMPILER_INLINE_TEMPLATE",Pe,l.loc)&&e.children.length&&(l.value={type:2,content:ot(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:l.loc})}}function Pg(e,t){let n=e;for(;ln.charCodeAt(n)!==t&&n=0;)n--;return n}const Lg=new Set(["if","else","else-if","for","slot"]);function ca({tag:e,props:t}){if(e==="template"){for(let n=0;n64&&e<91}const Bg=/\r\n/g;function Uu(e,t){const n=Pe.whitespace!=="preserve";let s=!1;for(let i=0;i0){if(m>=2){f.codegenNode.patchFlag=-1,o.push(f);continue}}else{const v=f.codegenNode;if(v.type===13){const T=v.patchFlag;if((T===void 0||T===512||T===1)&&Ju(f,n)>=2){const b=Gu(f);b&&(v.props=n.hoist(b))}v.dynamicProps&&(v.dynamicProps=n.hoist(v.dynamicProps))}}}else if(f.type===12&&(s?0:Nt(f,n))>=2){o.push(f);continue}if(f.type===1){const m=f.tagType===1;m&&n.scopes.vSlot++,Ri(f,e,n,!1,i),m&&n.scopes.vSlot--}else if(f.type===11)Ri(f,e,n,f.children.length===1,!0);else if(f.type===9)for(let m=0;mv.key===f||v.key.content===f);return m&&m.value}}o.length&&n.transformHoist&&n.transformHoist(r,n,e)}function Nt(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const s=n.get(e);if(s!==void 0)return s;const i=e.codegenNode;if(i.type!==13||i.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject"&&e.tag!=="math")return 0;if(i.patchFlag===void 0){let o=3;const l=Ju(e,t);if(l===0)return n.set(e,0),0;l1)for(let a=0;aw&&(h.childIndex--,h.onNodeRemoved()),h.parent.children.splice(w,1)},onNodeRemoved:at,addIdentifiers(d){},removeIdentifiers(d){},hoist(d){_e(d)&&(d=Ee(d)),h.hoists.push(d);const g=Ee(`_hoisted_${h.hoists.length}`,!1,d.loc,2);return g.hoisted=d,g},cache(d,g=!1,w=!1){const S=mg(h.cached.length,d,g,w);return h.cached.push(S),S}};return h.filters=new Set,h}function Gg(e,t){const n=Jg(e,t);wr(e,n),t.hoistStatic&&qg(e,n),t.ssr||zg(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function zg(e,t){const{helper:n}=t,{children:s}=e;if(s.length===1){const i=s[0];if(qu(e,i)&&i.codegenNode){const r=i.codegenNode;r.type===13&&ul(r,t),e.codegenNode=r}else e.codegenNode=i}else if(s.length>1){let i=64;e.codegenNode=Zs(t,n(zs),void 0,e.children,i,void 0,void 0,!0,void 0,!1)}}function Yg(e,t){let n=0;const s=()=>{n--};for(;ns===e:s=>e.test(s);return(s,i)=>{if(s.type===1){const{props:r}=s;if(s.tagType===3&&r.some(kg))return;const o=[];for(let l=0;l`${vs[e]}: _${vs[e]}`;function Zg(e,{mode:t="function",prefixIdentifiers:n=t==="module",sourceMap:s=!1,filename:i="template.vue.html",scopeId:r=null,optimizeImports:o=!1,runtimeGlobalName:l="Vue",runtimeModuleName:a="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:u=!1,isTS:f=!1,inSSR:m=!1}){const v={mode:t,prefixIdentifiers:n,sourceMap:s,filename:i,scopeId:r,optimizeImports:o,runtimeGlobalName:l,runtimeModuleName:a,ssrRuntimeModuleName:c,ssr:u,isTS:f,inSSR:m,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(b){return`_${vs[b]}`},push(b,H=-2,V){v.code+=b},indent(){T(++v.indentLevel)},deindent(b=!1){b?--v.indentLevel:T(--v.indentLevel)},newline(){T(v.indentLevel)}};function T(b){v.push(` +`+" ".repeat(b),0)}return v}function Qg(e,t={}){const n=Zg(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:s,push:i,prefixIdentifiers:r,indent:o,deindent:l,newline:a,scopeId:c,ssr:u}=n,f=Array.from(e.helpers),m=f.length>0,v=!r&&s!=="module";Xg(e,n);const b=u?"ssrRender":"render",V=(u?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(i(`function ${b}(${V}) {`),o(),v&&(i("with (_ctx) {"),o(),m&&(i(`const { ${f.map(Yu).join(", ")} } = _Vue +`,-1),a())),e.components.length&&(Hr(e.components,"component",n),(e.directives.length||e.temps>0)&&a()),e.directives.length&&(Hr(e.directives,"directive",n),e.temps>0&&a()),e.filters&&e.filters.length&&(a(),Hr(e.filters,"filter",n),a()),e.temps>0){i("let ");for(let O=0;O0?", ":""}_temp${O}`)}return(e.components.length||e.directives.length||e.temps)&&(i(` +`,0),a()),u||i("return "),e.codegenNode?gt(e.codegenNode,n):i("null"),v&&(l(),i("}")),l(),i("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function Xg(e,t){const{ssr:n,prefixIdentifiers:s,push:i,newline:r,runtimeModuleName:o,runtimeGlobalName:l,ssrRuntimeModuleName:a}=t,c=l,u=Array.from(e.helpers);if(u.length>0&&(i(`const _Vue = ${c} +`,-1),e.hoists.length)){const f=[Yo,Zo,ai,Qo,Ru].filter(m=>u.includes(m)).map(Yu).join(", ");i(`const { ${f} } = _Vue +`,-1)}em(e.hoists,t),r(),i("return ")}function Hr(e,t,{helper:n,push:s,newline:i,isTS:r}){const o=n(t==="filter"?nl:t==="component"?Xo:tl);for(let l=0;l3||!1;t.push("["),n&&t.indent(),ui(e,t,n),n&&t.deindent(),t.push("]")}function ui(e,t,n=!1,s=!0){const{push:i,newline:r}=t;for(let o=0;on||"null")}function lm(e,t){const{push:n,helper:s,pure:i}=t,r=_e(e.callee)?e.callee:s(e.callee);i&&n(Ir),n(r+"(",-2,e),ui(e.arguments,t),n(")")}function am(e,t){const{push:n,indent:s,deindent:i,newline:r}=t,{properties:o}=e;if(!o.length){n("{}",-2,e);return}const l=o.length>1||!1;n(l?"{":"{ "),l&&s();for(let a=0;a "),(a||l)&&(n("{"),s()),o?(a&&n("return "),te(o)?pl(o,t):gt(o,t)):l&>(l,t),(a||l)&&(i(),n("}")),c&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function fm(e,t){const{test:n,consequent:s,alternate:i,newline:r}=e,{push:o,indent:l,deindent:a,newline:c}=t;if(n.type===4){const f=!dl(n.content);f&&o("("),Zu(n,t),f&&o(")")}else o("("),gt(n,t),o(")");r&&l(),t.indentLevel++,r||o(" "),o("? "),gt(s,t),t.indentLevel--,r&&c(),r||o(" "),o(": ");const u=i.type===19;u||t.indentLevel++,gt(i,t),u||t.indentLevel--,r&&a(!0)}function dm(e,t){const{push:n,helper:s,indent:i,deindent:r,newline:o}=t,{needPauseTracking:l,needArraySpread:a}=e;a&&n("[...("),n(`_cache[${e.index}] || (`),l&&(i(),n(`${s(Zi)}(-1`),e.inVOnce&&n(", true"),n("),"),o(),n("(")),n(`_cache[${e.index}] = `),gt(e.value,t),l&&(n(`).cacheIndex = ${e.index},`),o(),n(`${s(Zi)}(1),`),o(),n(`_cache[${e.index}]`),r()),n(")"),a&&n(")]")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const hm=zu(/^(if|else|else-if)$/,(e,t,n)=>pm(e,t,n,(s,i,r)=>{const o=n.parent.children;let l=o.indexOf(s),a=0;for(;l-->=0;){const c=o[l];c&&c.type===9&&(a+=c.branches.length)}return()=>{if(r)s.codegenNode=fa(i,a,n);else{const c=gm(s.codegenNode);c.alternate=fa(i,a+s.branches.length-1,n)}}}));function pm(e,t,n,s){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const i=t.exp?t.exp.loc:e.loc;n.onError(qe(28,t.loc)),t.exp=Ee("true",!1,i)}if(t.name==="if"){const i=ua(e,t),r={type:9,loc:jg(e.loc),branches:[i]};if(n.replaceNode(r),s)return s(r,i,!0)}else{const i=n.parent.children;let r=i.indexOf(e);for(;r-->=-1;){const o=i[r];if(o&&o.type===3){n.removeNode(o);continue}if(o&&o.type===2&&!o.content.trim().length){n.removeNode(o);continue}if(o&&o.type===9){t.name==="else-if"&&o.branches[o.branches.length-1].condition===void 0&&n.onError(qe(30,e.loc)),n.removeNode();const l=ua(e,t);o.branches.push(l);const a=s&&s(o,l,!1);wr(l,n),a&&a(),n.currentNode=null}else n.onError(qe(30,e.loc));break}}}function ua(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!Bt(e,"for")?e.children:[e],userKey:xr(e,"key"),isTemplateIf:n}}function fa(e,t,n){return e.condition?po(e.condition,da(e,t,n),tt(n.helper(ai),['""',"true"])):da(e,t,n)}function da(e,t,n){const{helper:s}=n,i=Ye("key",Ee(`${t}`,!1,Lt,2)),{children:r}=e,o=r[0];if(r.length!==1||o.type!==1)if(r.length===1&&o.type===11){const a=o.codegenNode;return tr(a,i,n),a}else return Zs(n,s(zs),Vt([i]),r,64,void 0,void 0,!0,!1,!1,e.loc);else{const a=o.codegenNode,c=Og(a);return c.type===13&&ul(c,n),tr(c,i,n),a}}function gm(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const mm=(e,t,n)=>{const{modifiers:s,loc:i}=e,r=e.arg;let{exp:o}=e;if(o&&o.type===4&&!o.content.trim()&&(o=void 0),!o){if(r.type!==4||!r.isStatic)return n.onError(qe(52,r.loc)),{props:[Ye(r,Ee("",!0,i))]};Xu(e),o=e.exp}return r.type!==4?(r.children.unshift("("),r.children.push(') || ""')):r.isStatic||(r.content=`${r.content} || ""`),s.some(l=>l.content==="camel")&&(r.type===4?r.isStatic?r.content=je(r.content):r.content=`${n.helperString(fo)}(${r.content})`:(r.children.unshift(`${n.helperString(fo)}(`),r.children.push(")"))),n.inSSR||(s.some(l=>l.content==="prop")&&ha(r,"."),s.some(l=>l.content==="attr")&&ha(r,"^")),{props:[Ye(r,o)]}},Xu=(e,t)=>{const n=e.arg,s=je(n.content);e.exp=Ee(s,!1,n.loc)},ha=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},ym=zu("for",(e,t,n)=>{const{helper:s,removeHelper:i}=n;return vm(e,t,n,r=>{const o=tt(s(il),[r.source]),l=Xi(e),a=Bt(e,"memo"),c=xr(e,"key",!1,!0);c&&c.type===7&&!c.exp&&Xu(c);let f=c&&(c.type===6?c.value?Ee(c.value.content,!0):void 0:c.exp);const m=c&&f?Ye("key",f):null,v=r.source.type===4&&r.source.constType>0,T=v?64:c?128:256;return r.codegenNode=Zs(n,s(zs),void 0,o,T,void 0,void 0,!0,!v,!1,e.loc),()=>{let b;const{children:H}=r,V=H.length!==1||H[0].type!==1,O=er(e)?e:l&&e.children.length===1&&er(e.children[0])?e.children[0]:null;if(O?(b=O.codegenNode,l&&m&&tr(b,m,n)):V?b=Zs(n,s(zs),m?Vt([m]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(b=H[0].codegenNode,l&&m&&tr(b,m,n),b.isBlock!==!v&&(b.isBlock?(i(qn),i(Ss(n.inSSR,b.isComponent))):i(_s(n.inSSR,b.isComponent))),b.isBlock=!v,b.isBlock?(s(qn),s(Ss(n.inSSR,b.isComponent))):s(_s(n.inSSR,b.isComponent))),a){const _=bs(yo(r.parseResult,[Ee("_cached")]));_.body=yg([qt(["const _memo = (",a.exp,")"]),qt(["if (_cached",...f?[" && _cached.key === ",f]:[],` && ${n.helperString(Lu)}(_cached, _memo)) return _cached`]),qt(["const _item = ",b]),Ee("_item.memo = _memo"),Ee("return _item")]),o.arguments.push(_,Ee("_cache"),Ee(String(n.cached.length))),n.cached.push(null)}else o.arguments.push(bs(yo(r.parseResult),b,!0))}})});function vm(e,t,n,s){if(!t.exp){n.onError(qe(31,t.loc));return}const i=t.forParseResult;if(!i){n.onError(qe(32,t.loc));return}ef(i);const{addIdentifiers:r,removeIdentifiers:o,scopes:l}=n,{source:a,value:c,key:u,index:f}=i,m={type:11,loc:t.loc,source:a,valueAlias:c,keyAlias:u,objectIndexAlias:f,parseResult:i,children:Xi(e)?e.children:[e]};n.replaceNode(m),l.vFor++;const v=s&&s(m);return()=>{l.vFor--,v&&v()}}function ef(e,t){e.finalized||(e.finalized=!0)}function yo({value:e,key:t,index:n},s=[]){return bm([e,t,n,...s])}function bm(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((n,s)=>n||Ee("_".repeat(s+1),!1))}const pa=Ee("undefined",!1),_m=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=Bt(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Sm=(e,t,n,s)=>bs(e,n,!1,!0,n.length?n[0].loc:s);function Em(e,t,n=Sm){t.helper(al);const{children:s,loc:i}=e,r=[],o=[];let l=t.scopes.vSlot>0||t.scopes.vFor>0;const a=Bt(e,"slot",!0);if(a){const{arg:H,exp:V}=a;H&&!wt(H)&&(l=!0),r.push(Ye(H||Ee("default",!0),n(V,void 0,s,i)))}let c=!1,u=!1;const f=[],m=new Set;let v=0;for(let H=0;H{const _=n(V,void 0,O,i);return t.compatConfig&&(_.isNonScopedSlot=!0),Ye("default",_)};c?f.length&&f.some(V=>tf(V))&&(u?t.onError(qe(39,f[0].loc)):r.push(H(void 0,f))):r.push(H(void 0,s))}const T=l?2:Mi(e.children)?3:1;let b=Vt(r.concat(Ye("_",Ee(T+"",!1))),i);return o.length&&(b=tt(t.helper(Pu),[b,jn(o)])),{slots:b,hasDynamicSlots:l}}function Ei(e,t,n){const s=[Ye("name",e),Ye("fn",t)];return n!=null&&s.push(Ye("key",Ee(String(n),!0))),Vt(s)}function Mi(e){for(let t=0;tfunction(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:s,props:i}=e,r=e.tagType===1;let o=r?Tm(e,t):`"${s}"`;const l=Le(o)&&o.callee===el;let a,c,u=0,f,m,v,T=l||o===Bs||o===zo||!r&&(s==="svg"||s==="foreignObject"||s==="math");if(i.length>0){const b=sf(e,t,void 0,r,l);a=b.props,u=b.patchFlag,m=b.dynamicPropNames;const H=b.directives;v=H&&H.length?jn(H.map(V=>wm(V,t))):void 0,b.shouldUseBlock&&(T=!0)}if(e.children.length>0)if(o===zi&&(T=!0,u|=1024),r&&o!==Bs&&o!==zi){const{slots:H,hasDynamicSlots:V}=Em(e,t);c=H,V&&(u|=1024)}else if(e.children.length===1&&o!==Bs){const H=e.children[0],V=H.type,O=V===5||V===8;O&&Nt(H,t)===0&&(u|=1),O||V===2?c=H:c=e.children}else c=e.children;m&&m.length&&(f=Im(m)),e.codegenNode=Zs(t,o,a,c,u===0?void 0:u,f,v,!!T,!1,r,e.loc)};function Tm(e,t,n=!1){let{tag:s}=e;const i=vo(s),r=xr(e,"is",!1,!0);if(r)if(i||Hn("COMPILER_IS_ON_ELEMENT",t)){let l;if(r.type===6?l=r.value&&Ee(r.value.content,!0):(l=r.exp,l||(l=Ee("is",!1,r.arg.loc))),l)return tt(t.helper(el),[l])}else r.type===6&&r.value.content.startsWith("vue:")&&(s=r.value.content.slice(4));const o=Fu(s)||t.isBuiltInComponent(s);return o?(n||t.helper(o),o):(t.helper(Xo),t.components.add(s),Xs(s,"component"))}function sf(e,t,n=e.props,s,i,r=!1){const{tag:o,loc:l,children:a}=e;let c=[];const u=[],f=[],m=a.length>0;let v=!1,T=0,b=!1,H=!1,V=!1,O=!1,_=!1,E=!1;const k=[],N=g=>{c.length&&(u.push(Vt(ga(c),l)),c=[]),g&&u.push(g)},B=()=>{t.scopes.vFor>0&&c.push(Ye(Ee("ref_for",!0),Ee("true")))},h=({key:g,value:w})=>{if(wt(g)){const S=g.content,R=Wn(S);if(R&&(!s||i)&&S.toLowerCase()!=="onclick"&&S!=="onUpdate:modelValue"&&!bn(S)&&(O=!0),R&&bn(S)&&(E=!0),R&&w.type===14&&(w=w.arguments[0]),w.type===20||(w.type===4||w.type===8)&&Nt(w,t)>0)return;S==="ref"?b=!0:S==="class"?H=!0:S==="style"?V=!0:S!=="key"&&!k.includes(S)&&k.push(S),s&&(S==="class"||S==="style")&&!k.includes(S)&&k.push(S)}else _=!0};for(let g=0;gxe.content==="prop")&&(T|=32);const ee=t.directiveTransforms[S];if(ee){const{props:xe,needRuntime:ne}=ee(w,e,t);!r&&xe.forEach(h),W&&R&&!wt(R)?N(Vt(xe,l)):c.push(...xe),ne&&(f.push(w),It(ne)&&nf.set(w,ne))}else xf(S)||(f.push(w),m&&(v=!0))}}let d;if(u.length?(N(),u.length>1?d=tt(t.helper(Yi),u,l):d=u[0]):c.length&&(d=Vt(ga(c),l)),_?T|=16:(H&&!s&&(T|=2),V&&!s&&(T|=4),k.length&&(T|=8),O&&(T|=32)),!v&&(T===0||T===32)&&(b||E||f.length>0)&&(T|=512),!t.inSSR&&d)switch(d.type){case 15:let g=-1,w=-1,S=!1;for(let X=0;XYe(o,r)),i))}return jn(n,e.loc)}function Im(e){let t="[";for(let n=0,s=e.length;n{if(er(e)){const{children:n,loc:s}=e,{slotName:i,slotProps:r}=Am(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let l=2;r&&(o[2]=r,l=3),n.length&&(o[3]=bs([],n,!1,!1,s),l=4),t.scopeId&&!t.slotted&&(l=5),o.splice(l),e.codegenNode=tt(t.helper(Mu),o,s)}};function Am(e,t){let n='"default"',s;const i=[];for(let r=0;r0){const{props:r,directives:o}=sf(e,t,i,!1,!1);s=r,o.length&&t.onError(qe(36,o[0].loc))}return{slotName:n,slotProps:s}}const rf=(e,t,n,s)=>{const{loc:i,modifiers:r,arg:o}=e;!e.exp&&!r.length&&n.onError(qe(35,i));let l;if(o.type===4)if(o.isStatic){let f=o.content;f.startsWith("vue:")&&(f=`vnode-${f.slice(4)}`);const m=t.tagType!==0||f.startsWith("vnode")||!/[A-Z]/.test(f)?ls(je(f)):`on:${f}`;l=Ee(m,!0,o.loc)}else l=qt([`${n.helperString(ho)}(`,o,")"]);else l=o,l.children.unshift(`${n.helperString(ho)}(`),l.children.push(")");let a=e.exp;a&&!a.content.trim()&&(a=void 0);let c=n.cacheHandlers&&!a&&!n.inVOnce;if(a){const f=Vu(a),m=!(f||wg(a)),v=a.content.includes(";");(m||c&&f)&&(a=qt([`${m?"$event":"(...args)"} => ${v?"{":"("}`,a,v?"}":")"]))}let u={props:[Ye(l,a||Ee("() => {}",!1,i))]};return s&&(u=s(u)),c&&(u.props[0].value=n.cache(u.props[0].value)),u.props.forEach(f=>f.key.isHandlerKey=!0),u},Om=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const n=e.children;let s,i=!1;for(let r=0;rr.type===7&&!t.directiveTransforms[r.name])&&e.tag!=="template")))for(let r=0;r{if(e.type===1&&Bt(e,"once",!0))return ma.has(e)||t.inVOnce||t.inSSR?void 0:(ma.add(e),t.inVOnce=!0,t.helper(Zi),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0,!0))})},of=(e,t,n)=>{const{exp:s,arg:i}=e;if(!s)return n.onError(qe(41,e.loc)),Ci();const r=s.loc.source.trim(),o=s.type===4?s.content:r,l=n.bindingMetadata[r];if(l==="props"||l==="props-aliased")return n.onError(qe(44,s.loc)),Ci();if(!o.trim()||!Vu(s))return n.onError(qe(42,s.loc)),Ci();const a=i||Ee("modelValue",!0),c=i?wt(i)?`onUpdate:${je(i.content)}`:qt(['"onUpdate:" + ',i]):"onUpdate:modelValue";let u;const f=n.isTS?"($event: any)":"$event";u=qt([`${f} => ((`,s,") = $event)"]);const m=[Ye(a,e.exp),Ye(c,u)];if(e.modifiers.length&&t.tagType===1){const v=e.modifiers.map(b=>b.content).map(b=>(dl(b)?b:JSON.stringify(b))+": true").join(", "),T=i?wt(i)?`${i.content}Modifiers`:qt([i,' + "Modifiers"']):"modelModifiers";m.push(Ye(T,Ee(`{ ${v} }`,!1,e.loc,2)))}return Ci(m)};function Ci(e=[]){return{props:e}}const Rm=/[\w).+\-_$\]]/,Mm=(e,t)=>{Hn("COMPILER_FILTERS",t)&&(e.type===5?nr(e.content,t):e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&nr(n.exp,t)}))};function nr(e,t){if(e.type===4)ya(e,t);else for(let n=0;n=0&&(O=n.charAt(V),O===" ");V--);(!O||!Rm.test(O))&&(o=!0)}}T===void 0?T=n.slice(0,v).trim():u!==0&&H();function H(){b.push(n.slice(u,v).trim()),u=v+1}if(b.length){for(v=0;v{if(e.type===1){const n=Bt(e,"memo");return!n||va.has(e)?void 0:(va.add(e),()=>{const s=e.codegenNode||t.currentNode.codegenNode;s&&s.type===13&&(e.tagType!==1&&ul(s,t),e.codegenNode=tt(t.helper(cl),[n.exp,bs(void 0,s),"_cache",String(t.cached.length)]),t.cached.push(null))})}};function Dm(e){return[[Nm,hm,Lm,ym,Mm,km,Cm,_m,Om],{on:rf,bind:mm,model:of}]}function Fm(e,t={}){const n=t.onError||fl,s=t.mode==="module";t.prefixIdentifiers===!0?n(qe(47)):s&&n(qe(48));const i=!1;t.cacheHandlers&&n(qe(49)),t.scopeId&&!s&&n(qe(50));const r=Ae({},t,{prefixIdentifiers:i}),o=_e(e)?Kg(e,r):e,[l,a]=Dm();return Gg(o,Ae({},r,{nodeTransforms:[...l,...t.nodeTransforms||[]],directiveTransforms:Ae({},a,t.directiveTransforms||{})})),Qg(o,r)}const Bm=()=>({props:[]});/** +* @vue/compiler-dom v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const lf=Symbol(""),af=Symbol(""),cf=Symbol(""),uf=Symbol(""),bo=Symbol(""),ff=Symbol(""),df=Symbol(""),hf=Symbol(""),pf=Symbol(""),gf=Symbol("");pg({[lf]:"vModelRadio",[af]:"vModelCheckbox",[cf]:"vModelText",[uf]:"vModelSelect",[bo]:"vModelDynamic",[ff]:"withModifiers",[df]:"withKeys",[hf]:"vShow",[pf]:"Transition",[gf]:"TransitionGroup"});let es;function Vm(e,t=!1){return es||(es=document.createElement("div")),t?(es.innerHTML=`
`,es.children[0].getAttribute("foo")):(es.innerHTML=e,es.textContent)}const $m={parseMode:"html",isVoidTag:Hf,isNativeTag:e=>Vf(e)||$f(e)||jf(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:Vm,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return pf;if(e==="TransitionGroup"||e==="transition-group")return gf},getNamespace(e,t,n){let s=t?t.ns:n;if(t&&s===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(i=>i.type===6&&i.name==="encoding"&&i.value!=null&&(i.value.content==="text/html"||i.value.content==="application/xhtml+xml"))&&(s=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(s=0);else t&&s===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(s=0);if(s===0){if(e==="svg")return 1;if(e==="math")return 2}return s}},jm=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[n]={type:7,name:"bind",arg:Ee("style",!0,t.loc),exp:Hm(t.value.content,t.loc),modifiers:[],loc:t.loc})})},Hm=(e,t)=>{const n=Aa(e);return Ee(JSON.stringify(n),!1,t,3)};function Tn(e,t){return qe(e,t)}const Um=(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(Tn(53,i)),t.children.length&&(n.onError(Tn(54,i)),t.children.length=0),{props:[Ye(Ee("innerHTML",!0,i),s||Ee("",!0))]}},Km=(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(Tn(55,i)),t.children.length&&(n.onError(Tn(56,i)),t.children.length=0),{props:[Ye(Ee("textContent",!0),s?Nt(s,n)>0?s:tt(n.helperString(Tr),[s],i):Ee("",!0))]}},qm=(e,t,n)=>{const s=of(e,t,n);if(!s.props.length||t.tagType===1)return s;e.arg&&n.onError(Tn(58,e.arg.loc));const{tag:i}=t,r=n.isCustomElement(i);if(i==="input"||i==="textarea"||i==="select"||r){let o=cf,l=!1;if(i==="input"||r){const a=xr(t,"type");if(a){if(a.type===7)o=bo;else if(a.value)switch(a.value.content){case"radio":o=lf;break;case"checkbox":o=af;break;case"file":l=!0,n.onError(Tn(59,e.loc));break}}else Ig(t)&&(o=bo)}else i==="select"&&(o=uf);l||(s.needRuntime=n.helper(o))}else n.onError(Tn(57,e.loc));return s.props=s.props.filter(o=>!(o.key.type===4&&o.key.content==="modelValue")),s},Wm=Mt("passive,once,capture"),Jm=Mt("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Gm=Mt("left,right"),mf=Mt("onkeyup,onkeydown,onkeypress"),zm=(e,t,n,s)=>{const i=[],r=[],o=[];for(let l=0;lwt(e)&&e.content.toLowerCase()==="onclick"?Ee(t,!0):e.type!==4?qt(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Ym=(e,t,n)=>rf(e,t,n,s=>{const{modifiers:i}=e;if(!i.length)return s;let{key:r,value:o}=s.props[0];const{keyModifiers:l,nonKeyModifiers:a,eventOptionModifiers:c}=zm(r,i,n,e.loc);if(a.includes("right")&&(r=ba(r,"onContextmenu")),a.includes("middle")&&(r=ba(r,"onMouseup")),a.length&&(o=tt(n.helper(ff),[o,JSON.stringify(a)])),l.length&&(!wt(r)||mf(r.content.toLowerCase()))&&(o=tt(n.helper(df),[o,JSON.stringify(l)])),c.length){const u=c.map(Gn).join("");r=wt(r)?Ee(`${r.content}${u}`,!0):qt(["(",r,`) + "${u}"`])}return{props:[Ye(r,o)]}}),Zm=(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(Tn(61,i)),{props:[],needRuntime:n.helper(hf)}},Qm=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},Xm=[jm],ey={cloak:Bm,html:Um,text:Km,model:qm,on:Ym,show:Zm};function ty(e,t={}){return Fm(e,Ae({},$m,t,{nodeTransforms:[Qm,...Xm,...t.nodeTransforms||[]],directiveTransforms:Ae({},ey,t.directiveTransforms||{}),transformHoist:null}))}/** +* vue v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const _a=Object.create(null);function ny(e,t){if(!_e(e))if(e.nodeType)e=e.innerHTML;else return at;const n=kf(e,t),s=_a[n];if(s)return s;if(e[0]==="#"){const l=document.querySelector(e);e=l?l.innerHTML:""}const i=Ae({hoistStatic:!0,onError:void 0,onWarn:at},t);!i.isCustomElement&&typeof customElements<"u"&&(i.isCustomElement=l=>!!customElements.get(l));const{code:r}=ty(e,i),o=new Function("Vue",r)(ag);return o._rc=!0,_a[n]=o}nu(ny);function gl(e){return(gl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function Sa(e){return function(t){if(Array.isArray(t))return _o(t)}(e)||function(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||yf(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function yf(e,t){if(e){if(typeof e=="string")return _o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_o(e,t):void 0}}function _o(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,s=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(a){throw a},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var r,o=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var a=n.next();return o=a.done,a},e:function(a){l=!0,r=a},f:function(){try{o||n.return==null||n.return()}finally{if(l)throw r}}}}var So={inheritAttrs:!1,name:"vue-input",props:{autocomplete:{required:!1,type:String},modelValue:{required:!0,type:String},placeholder:{required:!0,type:String},disabled:{required:!0,type:Boolean},tabindex:{required:!0,type:Number},autofocus:{required:!0,type:Boolean},comboboxUid:{required:!0,type:Number}},emits:["update:modelValue","input","change","focus","blur","escape"],setup:function(e,t){var n=be(null);return Yn(function(){e.autofocus&&n.value.focus()}),ii(function(){e.autofocus&&n.value.focus()}),{handleInput:function(s){t.emit("input",s),t.emit("update:modelValue",s.target.value)},handleChange:function(s){t.emit("change",s),t.emit("update:modelValue",s.target.value)},handleFocus:function(s){t.emit("focus",s)},handleBlur:function(s){t.emit("blur",s)},input:n,handleEscape:function(s){n.value.blur(),t.emit("escape",s)}}}},sy={class:"vue-input"},iy=["autocomplete","modelValue","placeholder","disabled","tabindex","autofocus","aria-controls","aria-labelledby"];So.render=function(e,t,n,s,i,r){return ae(),he("div",sy,[Ft(e.$slots,"prepend"),Q("input",{ref:"input",autocomplete:n.autocomplete,modelValue:n.modelValue,placeholder:n.placeholder,disabled:n.disabled,onInput:t[0]||(t[0]=function(){return s.handleInput&&s.handleInput.apply(s,arguments)}),onChange:t[1]||(t[1]=function(){return s.handleChange&&s.handleChange.apply(s,arguments)}),onFocus:t[2]||(t[2]=function(){return s.handleFocus&&s.handleFocus.apply(s,arguments)}),onBlur:t[3]||(t[3]=function(){return s.handleBlur&&s.handleBlur.apply(s,arguments)}),onKeyup:t[4]||(t[4]=Pn(Fe(function(){return s.handleEscape&&s.handleEscape.apply(s,arguments)},["exact"]),["esc"])),tabindex:n.tabindex,autofocus:n.autofocus,"aria-autocomplete":"list","aria-controls":"vs".concat(n.comboboxUid,"-listbox"),"aria-labelledby":"vs".concat(n.comboboxUid,"-combobox")},null,40,iy),Ft(e.$slots,"append")])},So.__file="src/components/input.vue";var Eo={inheritAttrs:!1,name:"vue-tags",props:{modelValue:{required:!0,type:Array,validator:function(e){return e.every(function(t){return gl(t.key)!==void 0&&t.label!==void 0&&typeof t.selected=="boolean"})}},collapseTags:{type:Boolean}},emits:["click"],setup:function(e,t){return{dataAttrs:En("dataAttrs"),handleClick:function(n){t.emit("click",n)}}}};Eo.render=function(e,t,n,s,i,r){return ae(),he("ul",oi({class:["vue-tags",{collapsed:n.collapseTags}],onMousedown:t[0]||(t[0]=Fe(function(){},["prevent"])),tabindex:"-1",onClick:t[1]||(t[1]=function(){return s.handleClick&&s.handleClick.apply(s,arguments)})},s.dataAttrs),[(ae(!0),he(Re,null,kt(n.modelValue,function(o){return ae(),he(Re,{key:o.key},[o.group?Ue("v-if",!0):(ae(),he("li",{key:0,class:Qe(["vue-tag",{selected:o.selected}])},[Ft(e.$slots,"default",{option:o},function(){return[Q("span",null,Ot(o.label),1)]})],2))],64)}),128))],16)},Eo.__file="src/components/tags.vue";var Co={inheritAttrs:!1,name:"vue-dropdown",props:{modelValue:{required:!0,type:Array,validator:function(e){return e.every(function(t){return gl(t.key)!==void 0&&t.label!==void 0&&typeof t.selected=="boolean"})}},comboboxUid:{required:!0,type:Number},maxHeight:{required:!0},highlightedOriginalIndex:{required:!0}},emits:["click-item","mouseenter"],setup:function(e,t){return{dataAttrs:En("dataAttrs"),handleClickItem:function(n,s){s.disabled||t.emit("click-item",n,s)},handleMouseenter:function(n,s){t.emit("mouseenter",n,s)}}}},ry=["id","aria-multiselectable","aria-busy","aria-disabled"],oy=["onClick","onMouseenter","id","aria-selected","aria-disabled"];Co.render=function(e,t,n,s,i,r){return ae(),he("ul",oi({class:"vue-dropdown",style:{maxHeight:n.maxHeight+"px"},onMousedown:t[0]||(t[0]=Fe(function(){},["prevent"]))},s.dataAttrs,{role:"listbox",id:"vs".concat(n.comboboxUid,"-listbox"),"aria-multiselectable":s.dataAttrs["data-multiple"],"aria-busy":s.dataAttrs["data-loading"],"aria-disabled":s.dataAttrs["data-disabled"]}),[(ae(!0),he(Re,null,kt(n.modelValue,function(o,l){return ae(),he(Re,{key:o.key},[o.visible&&o.hidden===!1?(ae(),he("li",{key:0,onClick:function(a){return s.handleClickItem(a,o)},class:Qe(["vue-dropdown-item",{selected:o.selected,disabled:o.disabled,highlighted:o.originalIndex===n.highlightedOriginalIndex,group:o.group}]),onMouseenter:function(a){return s.handleMouseenter(a,o)},role:"option",id:"vs".concat(n.comboboxUid,"-option-").concat(l),"aria-selected":!!o.selected||!!o.disabled&&void 0,"aria-disabled":o.disabled},[Ft(e.$slots,"default",{option:o},function(){return[Q("span",null,Ot(o.label),1)]})],42,oy)):Ue("v-if",!0)],64)}),128))],16,ry)},Co.__file="src/components/dropdown.vue";var vf=function(e,t,n){var s=n.valueBy;return s(e)===s(t)},is=function(e,t,n){var s=n.valueBy;return e.some(function(i){return vf(i,t,{valueBy:s})})},Rn=function(e,t,n){var s=n.valueBy;return e.find(function(i){return s(i)===t})},Ur=function(e,t,n){var s=n.max,i=n.valueBy;return is(e,t,{valueBy:i})||e.length>=s?e:e.concat(t)},Kr=function(e,t,n){var s=n.min,i=n.valueBy;return is(e,t,{valueBy:i})===!1||e.length<=s?e:e.filter(function(r){return vf(r,t,{valueBy:i})===!1})},Ti=function(e){return Ge(function(){return typeof e.value=="function"?e.value:typeof e.value=="string"?function(t){return e.value.split(".").reduce(function(n,s){return n[s]},t)}:function(t){return t}})},ly=function(e,t){var n=Ge(function(){return e.value.reduce(function(o,l){return Object.assign(o,(a={},c=l.originalIndex,u=l,c in a?Object.defineProperty(a,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):a[c]=u,a));var a,c,u},{})}),s=function(o){var l=n.value[o];return l!==void 0&&i(l)!==!1&&(t.value=o,!0)},i=function(o){return!o.disabled&&!o.hidden&&o.visible},r=Ge(function(){return e.value.some(function(o){return i(o)})});return tn(function(){if(r.value===!1&&(t.value=null),t.value!==null&&e.value.length<=t.value){var o,l=Ln(e.value.reverse());try{for(l.s();!(o=l.n()).done;){var a=o.value;if(s(a.originalIndex))break}}catch(m){l.e(m)}finally{l.f()}}if(t.value===null||i(e.value[t.value])===!1){var c,u=Ln(e.value);try{for(u.s();!(c=u.n()).done;){var f=c.value;if(s(f.originalIndex))break}}catch(m){u.e(m)}finally{u.f()}}}),{pointerForward:function(){if(r.value!==!1&&t.value!==null)for(var o=t.value+1,l=0;o!==t.value&&l++o.value.$el.clientHeight+o.value.$el.scrollTop&&ce++n.min,"data-total-length":n.options.length,"data-multiple":e.multiple,"data-loading":e.loading,"data-disabled":e.disabled}});Uo("dataAttrs",ee);var xe=Ge(function(){return g.value.filter(function(M){return M.selected}).filter(function(M){return!M.group})}),ne=Ge(function(){return e.multiple?xe.value.length===0?e.placeholder:xe.value.length===1?"1 option selected":xe.value.length+" options selected":xe.value.length===0?e.placeholder:xe.value[0].label+""}),ge=Ge(function(){var M=xe.value.map(function(q){return q.originalOption});return e.multiple?M:M[0]||s.value}),le=be();return lt(function(){return[e.openDirection,c.value]},function(){var M,q;le.value=(q=(M=e.openDirection)!==null&&M!==void 0?M:function(){if(r.value!==void 0&&window!==void 0)return window.innerHeight-r.value.getBoundingClientRect().bottom>=e.maxHeight?"bottom":"top"}())!==null&&q!==void 0?q:"bottom"},{immediate:!0}),{instance:i,isFocusing:c,wrapper:r,dropdown:o,input:l,focus:u,blur:f,toggle:function(){c.value?f():u()},searchingInputValue:m,handleInputForInput:function(M){t.emit("search:input",M)},handleChangeForInput:function(M){t.emit("search:change",M)},handleFocusForInput:function(M){u()},handleBlurForInput:function(M){f()},optionsWithInfo:g,addOrRemoveOption:function(M,q){e.disabled||(q.group&&e.multiple?E(M,q):k(M,q),N(),e.closeOnSelect===!0&&(c.value=!1),e.clearOnSelect===!0&&m.value&&B())},dataAttrs:ee,innerPlaceholder:ne,selected:ge,highlightedOriginalIndex:d,pointerForward:function(){S(),Yt(W)},pointerBackward:function(){R(),Yt(W)},pointerFirst:function(){var M,q=Ln(n.options.keys());try{for(q.s();!(M=q.n()).done;){var ce=M.value;if(Z(ce))break}}catch(fe){q.e(fe)}finally{q.f()}Yt(W)},pointerLast:function(){var M,q=Ln(Sa(n.options.keys()).reverse());try{for(q.s();!(M=q.n()).done;){var ce=M.value;if(Z(ce))break}}catch(fe){q.e(fe)}finally{q.f()}Yt(W)},typeAhead:function(M){var q,ce;if(!e.searchable){var fe=!1;if(Y.test(M.key)?(X+=M.key.toLowerCase(),fe=!0):M.code==="Space"&&(X+=" "),fe){var pe,oe=Ln(J.value);try{for(oe.s();!(pe=oe.n()).done;){var Se=pe.value;if(((ce=(q=n.labelBy(n.options[Se]))===null||q===void 0?void 0:q.toLowerCase())===null||ce===void 0?void 0:ce.startsWith(X))===!0&&Z(Se))break}}catch(me){oe.e(me)}finally{oe.f()}clearTimeout(_),_=setTimeout(function(){X=""},500)}}},pointerSet:Z,direction:le}},components:{VInput:So,VTags:Eo,VDropdown:Co}});sr.__VERSION__="2.10.5";var ay=["tabindex","id","role","aria-expanded","aria-owns","aria-activedescendant","aria-busy","aria-disabled"],cy={class:"vue-select-header"},uy={key:0,class:"vue-input"},fy=["placeholder","autocomplete"],dy=["onClick"],hy=Q("span",{class:"icon loading"},[Q("div"),Q("div"),Q("div")],-1),py={key:0,class:"vue-select-input-wrapper"},gy=Q("span",{class:"icon loading"},[Q("div"),Q("div"),Q("div")],-1);sr.render=function(e,t,n,s,i,r){var o=wi("v-tags"),l=wi("v-input"),a=wi("v-dropdown");return ae(),he("div",oi({ref:"wrapper",class:["vue-select",["direction-".concat(e.direction)]],tabindex:e.isFocusing?-1:e.tabindex,onFocus:t[9]||(t[9]=function(){return e.focus&&e.focus.apply(e,arguments)}),onBlur:t[10]||(t[10]=function(c){return!e.searchable&&e.blur(c)})},Object.assign({},e.dataAttrs,e.$attrs),{onKeypress:t[11]||(t[11]=Pn(Fe(function(){return e.highlightedOriginalIndex!==null&&e.addOrRemoveOption(e.$event,e.optionsWithInfo[e.highlightedOriginalIndex])},["prevent","exact"]),["enter"])),onKeydown:[t[12]||(t[12]=Pn(Fe(function(){return e.pointerForward&&e.pointerForward.apply(e,arguments)},["prevent","exact"]),["down"])),t[13]||(t[13]=Pn(Fe(function(){return e.pointerBackward&&e.pointerBackward.apply(e,arguments)},["prevent","exact"]),["up"])),t[14]||(t[14]=Pn(Fe(function(){return e.pointerFirst&&e.pointerFirst.apply(e,arguments)},["prevent","exact"]),["home"])),t[15]||(t[15]=Pn(Fe(function(){return e.pointerLast&&e.pointerLast.apply(e,arguments)},["prevent","exact"]),["end"])),t[16]||(t[16]=function(){return e.typeAhead&&e.typeAhead.apply(e,arguments)})],id:"vs".concat(e.instance.uid,"-combobox"),role:e.searchable?"combobox":null,"aria-expanded":e.isFocusing,"aria-haspopup":"listbox","aria-owns":"vs".concat(e.instance.uid,"-listbox"),"aria-activedescendant":e.highlightedOriginalIndex===null?null:"vs".concat(e.instance.uid,"-option-").concat(e.highlightedOriginalIndex),"aria-busy":e.loading,"aria-disabled":e.disabled}),[Q("div",cy,[e.multiple&&e.taggable&&e.modelValue.length===0||e.searchable===!1&&e.taggable===!1?(ae(),he("div",uy,[Ft(e.$slots,"label",{selected:e.selected},function(){return[Q("input",{placeholder:e.innerPlaceholder,autocomplete:e.autocomplete,readonly:"",onClick:t[0]||(t[0]=function(){return e.focus&&e.focus.apply(e,arguments)})},null,8,fy)]})])):Ue("v-if",!0),e.multiple&&e.taggable?(ae(),he(Re,{key:1},[De(o,{modelValue:e.optionsWithInfo,"collapse-tags":e.collapseTags,tabindex:"-1",onClick:e.focus},{default:fs(function(c){var u=c.option;return[Ft(e.$slots,"tag",{option:u.originalOption,remove:function(){return e.addOrRemoveOption(e.$event,u)}},function(){return[Q("span",null,Ot(u.label),1),Q("img",{src:"data:image/svg+xml;base64,PHN2ZyBpZD0iZGVsZXRlIiBkYXRhLW5hbWU9ImRlbGV0ZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiI+PHRpdGxlPmRlbGV0ZTwvdGl0bGU+PHBhdGggZD0iTTI1NiwyNEMzODMuOSwyNCw0ODgsMTI4LjEsNDg4LDI1NlMzODMuOSw0ODgsMjU2LDQ4OCwyNC4wNiwzODMuOSwyNC4wNiwyNTYsMTI4LjEsMjQsMjU2LDI0Wk0wLDI1NkMwLDM5Ny4xNiwxMTQuODQsNTEyLDI1Niw1MTJTNTEyLDM5Ny4xNiw1MTIsMjU2LDM5Ny4xNiwwLDI1NiwwLDAsMTE0Ljg0LDAsMjU2WiIgZmlsbD0iIzViNWI1ZiIvPjxwb2x5Z29uIHBvaW50cz0iMzgyIDE3Mi43MiAzMzkuMjkgMTMwLjAxIDI1NiAyMTMuMjkgMTcyLjcyIDEzMC4wMSAxMzAuMDEgMTcyLjcyIDIxMy4yOSAyNTYgMTMwLjAxIDMzOS4yOCAxNzIuNzIgMzgyIDI1NiAyOTguNzEgMzM5LjI5IDM4MS45OSAzODIgMzM5LjI4IDI5OC43MSAyNTYgMzgyIDE3Mi43MiIgZmlsbD0iIzViNWI1ZiIvPjwvc3ZnPg==",alt:"delete tag",class:"icon delete",onClick:Fe(function(){return e.addOrRemoveOption(e.$event,u)},["prevent","stop"])},null,8,dy)]})]}),_:3},8,["modelValue","collapse-tags","onClick"]),Ft(e.$slots,"toggle",{isFocusing:e.isFocusing,toggle:e.toggle},function(){return[Q("span",{class:Qe(["icon arrow-downward",{active:e.isFocusing}]),onClick:t[1]||(t[1]=function(){return e.toggle&&e.toggle.apply(e,arguments)}),onMousedown:t[2]||(t[2]=Fe(function(){},["prevent","stop"]))},null,34)]})],64)):(ae(),he(Re,{key:2},[e.searchable?(ae(),hs(l,{key:0,ref:"input",modelValue:e.searchingInputValue,"onUpdate:modelValue":t[3]||(t[3]=function(c){return e.searchingInputValue=c}),disabled:e.disabled,autocomplete:e.autocomplete,placeholder:e.isFocusing?e.searchPlaceholder:e.innerPlaceholder,onInput:e.handleInputForInput,onChange:e.handleChangeForInput,onFocus:e.handleFocusForInput,onBlur:e.handleBlurForInput,onEscape:e.blur,autofocus:e.autofocus||e.taggable&&e.searchable,tabindex:e.tabindex,comboboxUid:e.instance.uid},null,8,["modelValue","disabled","autocomplete","placeholder","onInput","onChange","onFocus","onBlur","onEscape","autofocus","tabindex","comboboxUid"])):Ue("v-if",!0),e.loading?Ft(e.$slots,"loading",{key:1},function(){return[hy]}):Ft(e.$slots,"toggle",{key:2,isFocusing:e.isFocusing,toggle:e.toggle},function(){return[Q("span",{class:Qe(["icon arrow-downward",{active:e.isFocusing}]),onClick:t[4]||(t[4]=function(){return e.toggle&&e.toggle.apply(e,arguments)}),onMousedown:t[5]||(t[5]=Fe(function(){},["prevent","stop"]))},null,34)]})],64))]),e.multiple&&e.taggable&&e.searchable?(ae(),he("div",py,[Et(De(l,{ref:"input",modelValue:e.searchingInputValue,"onUpdate:modelValue":t[6]||(t[6]=function(c){return e.searchingInputValue=c}),disabled:e.disabled,autocomplete:e.autocomplete,placeholder:e.isFocusing?e.searchPlaceholder:e.innerPlaceholder,onInput:e.handleInputForInput,onChange:e.handleChangeForInput,onFocus:e.handleFocusForInput,onBlur:e.handleBlurForInput,onEscape:e.blur,autofocus:e.autofocus||e.taggable&&e.searchable,tabindex:e.tabindex,comboboxUid:e.instance.uid},null,8,["modelValue","disabled","autocomplete","placeholder","onInput","onChange","onFocus","onBlur","onEscape","autofocus","tabindex","comboboxUid"]),[[Ht,e.isFocusing]]),e.loading?Ft(e.$slots,"loading",{key:0},function(){return[gy]}):Ue("v-if",!0)])):Ue("v-if",!0),De(a,{ref:"dropdown",modelValue:e.optionsWithInfo,"onUpdate:modelValue":t[7]||(t[7]=function(c){return e.optionsWithInfo=c}),onClickItem:e.addOrRemoveOption,onMouseenter:t[8]||(t[8]=function(c,u){return e.pointerSet(u.originalIndex)}),comboboxUid:e.instance.uid,maxHeight:e.maxHeight,highlightedOriginalIndex:e.highlightedOriginalIndex},{default:fs(function(c){var u=c.option;return[Ft(e.$slots,"dropdown-item",{option:u.originalOption},function(){return[Q("span",null,Ot(u.label),1)]})]}),_:3},8,["modelValue","onClickItem","comboboxUid","maxHeight","highlightedOriginalIndex"])],16,ay)},sr.__file="src/index.vue";function Is(e,t){let n=-1;return e.forEach((s,i)=>{s.html.id===parseInt(t)&&(n=i)}),n}function Ea(e){try{return JSON.parse(e)}catch(t){return console.log("erreur recupJson ",t),!1}}function my(e,t){let n=document.createElement("a");n.href=e,n.setAttribute("target","_blank"),n.click()}function yy(e,t){if((Number.isInteger(e)||parseInt(e)==e)&&(Number.isInteger(t)||parseInt(t)==t))return parseInt(e)-parseInt(t);{let n=toString(e).toLowerCase(),s=toString(t).toLowerCase();return ns?1:0}}const Ca=(e,t,n,s)=>e.sort((i,r)=>t.reduce((o,l,a)=>{if(o===0){let[c,u]=n&&n[a]==="desc"?[r[s][l],i[s][l]]:[i[s][l],r[s][l]];c=typeof c=="string"?c.toLowerCase():c,u=typeof u=="string"?u.toLowerCase():u;let f=/^(\d{2})\/(\d{2})\/(\d{2,4})$/;if(typeof c!="number"){let m=c.match(f);Array.isArray(m)&&(c=m[3]+m[2]+m[1]);let v=u.match(f);Array.isArray(v)&&(u=v[3]+v[2]+v[1])}o=c>u?1:c{localforage.setDriver(localforage[s.stockage.toUpperCase()]),p("maj")});const le=Ge(()=>{if(W.value){const[A,x]=W.value.split(" "),[C,F,ue]=A.split("-"),[Te,Ze,ct]=x.split(":");return`${ue}/${F}/${C} à ${Te}h${Ze}min${ct}sec`}else return""}),M=Ge(()=>{if(it(),!k.value&&!_.value)return Ie(i.value);let A=i.value.filter(x=>{let C=!(Object.values(x[R.value]).toString().toLowerCase().indexOf(k.value.toLowerCase())<0);return C?(Object.keys(O.value).forEach(F=>{if(C){let ue=O.value[F];if(ue!==null){Array.isArray(ue)||(ue=[ue]);let Te=[];ue.forEach(Ze=>{Number.isInteger(Ze)&&Te.push(Ze),Ze.length>0&&Te.push(Ze.toLowerCase())}),Te.length&&(V.value[F]==="select"?Te.some(ct=>{if(Number.isInteger(ct)){if(parseInt(x[R.value][F])===ct)return!0}else if(ge[F]){if(x[R.value][F]!==void 0&&!(x[R.value][F].toString().toLowerCase().toString().indexOf(ct)===-1||!x[R.value][F].toString().toLowerCase()))return!0}else if(x[R.value][F]!==void 0&&!(ct.indexOf(x[R.value][F].toString().toLowerCase().toString())===-1||!x[R.value][F].toString().toLowerCase()))return!0})||(C=!1):x[R.value][F].toString().toLowerCase().indexOf(Te.toString())===-1&&(C=!1))}}}),C):!1});return Ie(A)});function q(){var x;let A={};(x=a.value.filter(C=>C.source==="total")[0])==null||x.champs.forEach(C=>{let F=0;C.fonction==="somme"?F=fe(C.nom,i.value):C.fonction==="somme_monnaie"?F=pe(C.nom,i.value):C.fonction==="somme_champ"?F=fe(C.args,i.value):C.fonction==="somme_champ_monnaie"?F=pe(C.args,i.value):C.legende!==void 0&&(F=C.legende??""),A[C.nom]=F}),u.value=A}function ce(){var x;let A={};(x=a.value.filter(C=>C.source==="affiche")[0])==null||x.champs.forEach(C=>{let F=0;C.fonction==="somme"?F=fe(C.nom,M.value):C.fonction==="somme_monnaie"?F=pe(C.nom,M.value):C.fonction==="somme_champ"?F=fe(C.args,M.value):C.fonction==="somme_champ_monnaie"?F=pe(C.args,M.value):C.legende!==void 0&&(F=C.legende??""),A[C.nom]=F}),c.value=A}function fe(A,x){let C=0;return x.map(F=>F.search).forEach(F=>{Object.entries(F).forEach(([ue,Te])=>{ue===A&&Te&&(C+=Te)})}),C}function pe(A,x){let C=0;return x.map(ue=>ue.search).forEach(ue=>{Object.entries(ue).forEach(([Te,Ze])=>{Te===A&&Ze&&(C+=Ze)})}),new Intl.NumberFormat("fr-FR",{style:"currency",currency:"EUR",minimumFractionDigits:2}).format(C)}lt(O,()=>{y()}),lt(h,A=>{parseInt(A)?B.value=A:B.value=i.value.length,sessionStorage.setItem("nbItems",B.value),sessionStorage.setItem("nbItemsChaine",h.value)}),lt(i,()=>{y(),localforage.setItem(ne,JSON.stringify(i.value)),q()}),lt(M,()=>{s.filtrecolmulti==="non"&&H.value.forEach(A=>{let x=[];M.value.forEach(C=>{let F=C[R.value][A];x.indexOf(F)===-1&&(x.push(F),filtreColValOk.value=!0)}),E.value[A]=x}),ce()}),lt(O,()=>{let A=[];O.value&&Object.entries(O.value).forEach(([x,C])=>{Array.isArray(C)||(C=[C]),A.push({champ:x,valeurs:C})}),J||localStorage.setItem("filtreselect_"+ne,JSON.stringify(A))},{deep:!0});function oe(A){if(l.value=A.header,A.header_top!==void 0){r.value=A.header_top;let C=[],F=0;Object.values(A.header_top).forEach(ue=>{for(let Te=1;Te<=ue.colspan;Te++)C[F]=ue.class,F++}),o.value=C}A.footer!==void 0?a.value=A.footer:a.value=[],A.crayons!==void 0&&(f.value=A.crayons),A.maj!==void 0&&(W.value=A.maj),A.classes!==void 0&&(m.value=A.classes),A.checkbox!==void 0&&(v.value=A.checkbox,Object.keys(v.value).forEach(C=>{T.value[C]=[]})),A.ordreCol!==void 0&&(b.value=A.ordreCol);let x=[];return A.filtreCol!==void 0&&(x=A.filtreCol),A.filtreColValeurs!==void 0&&(ge=A.filtreColValeurs),y(),x}function Se(A,x=null){if(parseInt(x)>0)if(A.length>0){let C=Is(i.value,x);C>=0?i.value[C]=A[0]:i.value.unshift(A[0])}else{let C=Is(i.value,x);i.value.splice(C,1)}else x==="maj"?A.length&&(A[0]&&A[0].search&&(R.value="search"),A.length>0&&A.forEach((C,F)=>{let ue=Is(i.value,C.html.id);ue>=0?i.value[ue]=A[F]:i.value.unshift(A[F])})):(i.value=A,A[0]&&A[0].search&&(R.value="search"));localforage.setItem(ne,JSON.stringify(i.value))}function me(A){A!==void 0&&(V.value=A,H.value=[],Object.keys(V.value).forEach(x=>{if(H.value.push(x),ge[x])E.value[x]=ge[x];else{let C=[];i.value.forEach(F=>{let ue=F[R.value][x];ue&&C.indexOf(ue)===-1&&C.push(ue)}),E.value[x]=C.sort()}O.value[x]=[]}))}function Ce(A){A.a_supprimer&&A.a_supprimer.forEach(x=>{let C=Is(i.value,x);C!==-1&&i.value.splice(C,1)})}function p(A){console.log("chargerJson pour ",A),Z.value=!0;let x=s.apiuri;if(parseInt(A)>0)x+="&id="+A;else{let C=localStorage.getItem("header_"+ne);C=Ea(C),C&&C.header!==void 0&&i.value.length===0&&(console.log("charge LS"),localforage.getItem(ne).then(function(F){F=Ea(F);let ue=oe(C);i.value=F,me(ue),s.nomblocajaxreload&&ajaxReload(s.nomblocajaxreload)}).catch(function(F){console.log(F)})),A==="maj"&&(W.value?x+="&maj="+W.value:C&&C.maj?x+="&maj="+C.maj:A=null)}fetch(x).then(C=>C.json()).then(C=>{let F=C.shift();Ce(F);let ue=oe(F);Se(C,A),me(ue),Yt(()=>{Z.value=!1;const Te=localStorage.getItem("filtreselect_"+ne),Ze=localStorage.getItem("triCol_"+ne);let ct=[];if(s.filtreselect?(s.filtreselect.split(",").forEach(rt=>{const[_t,...Wt]=rt.split("|"),Zn=ct.findIndex(kr=>kr.champ===_t);Zn===-1?ct.push({champ:_t,valeurs:Wt}):ct[Zn].valeurs.push(Wt[0])}),localStorage.setItem("filtreselect_"+ne,JSON.stringify(ct))):Te&&(ct=JSON.parse(Te)),ct.forEach(rt=>{H.value.includes(rt.champ)&&(O.value[rt.champ]=[...O.value[rt.champ],...rt.valeurs])}),_.value++,J=!1,ee&&s.tparpage.includes(ee)&&(h.value=ee),xe?(xe.split(",").forEach(rt=>{const[_t,Wt]=rt.split("|");H.value.includes(_t)&&U(_t,Wt)}),localStorage.setItem("triCol_"+ne,xe)):Ze&&Ze.split(",").forEach(rt=>{const[_t,Wt]=rt.split("|");H.value.includes(_t)&&U(_t,Wt)}),parseInt(s._id)>0){let rt=parseInt(s._id),_t=parseInt(B.value);if(parseInt(_t)){let Wt=0;if(Object.values(i.value).forEach((Zn,kr)=>{rt===Zn.html.id&&(Wt=kr+1)}),Wt>_t){let Zn=parseInt(Wt/_t)+1;N.value=Zn}}j(rt,"id")}s.nomblocajaxreload&&ajaxReload(s.nomblocajaxreload),b.value&&Object.entries(b.value).forEach(([rt,_t])=>{U(rt,_t)}),$("td.crayon-init").removeClass("crayon-init")})}).catch(C=>console.log(C))}function y(){let A={header:l.value,header_top:r.value,footer:a.value,crayons:f.value,classes:m.value,filtreCol:V.value,ordreCol:b.value,maj:W.value};localStorage.setItem("header_"+ne,JSON.stringify(A))}function I(A){O.value[A]=[],y()}function P(){_.value++}function D(){return s.apiuri?s.apiuri.match(/.*page=(.*)/)[1]+"&gamuId="+s.id_auteur:""}function L(A,x){let C=x.crayons!==void 0&&x.crayons[A]!==void 0?x.crayons[A]:x.html.id;if(Object.keys(f.value).indexOf(A)!==-1)return`crayon ${f.value[A]}-${A}-${C}`}function U(A,x=!1){const C=w.value.indexOf(A);C!==-1?(x||(x="asc",g.value[C]==="asc"&&(x="desc")),g.value[C]=x):(x||(x="asc"),w.value.push(A),g.value.push(x)),i.value=Ca(i.value,w.value,g.value,R.value),b.value[A]=x,y()}function K(A,x){const C=w.value.indexOf(A);if(C!==-1&&g.value[C]===x)return"active"}function G(){i.value=Ca(i.value,["id"],"",R.value),g.value=[],w.value=[],b.value=[],Object.keys(V.value).forEach(A=>{O.value[A]=[]}),localStorage.removeItem("filtreselect_"+ne),localStorage.removeItem("filtreCol_"+ne),localStorage.removeItem("triCol_"+ne)}function j(A,x){if(x==="id"&&parseInt(A)){let C=S.value.indexOf(A);C!==-1?S.value.splice(C,1):S.value.push(A)}}function de(A="tableau"){let x=[],C=M.value;A==="table"&&(C=i.value),Object.values(C).forEach(Te=>{x.push(Te.html)});const F={fichierpdf:s.fichierpdf,langpdf:s.langpdf,namepdf:s.namepdf,header:l.value,arg:s.argpdf,Tdata:x};$.ajax({url:s.pdfuri,type:"POST",dataType:"text",data:F}).done(function(Te){Te&&my(Te)})}function z(A="tableau"){let x=[],C=[],F=[],ue=M.value;A==="table"&&(ue=i.value),Object.keys(l.value).forEach(Te=>C.push(Te)),F=ue.reduce((Te,Ze)=>{let ct=[];return Object.values(Ze[s.champcsv]).forEach(rt=>ct.push(rt)),[...Te,[...ct]]},[]),x=[[...C],...F],$e(x,s.delimitercsv,s.namecsv)}function se(A){let x=Y.value;return Object.keys(A).forEach(C=>{x=x.replace(`@@${C}@@`,A[C])}),x}function re(A){X.value=A}function ye(A){T.value[A]!==void 0&&T.value[A].length?T.value[A]=[]:(T.value[A]=[],M.value.forEach(x=>{T.value[A].push(x.html.id)}))}function we(A,x){let C="page";if(x.includes("action=")&&(C="action"),C==="action")$.ajax({url:x,data:{data:T.value[A]},type:"POST"}).done(function(){p("maj")});else{const F=encodeURIComponent(JSON.stringify(T.value[A]));x+="&data="+F,x+="&var_zajax=content";const ue={};ue.onClose=()=>{p("maj")},$.modalbox(x,ue)}}function Ie(A){let x=N.value*B.value-B.value,C=N.value*B.value;return A.slice(x,C)}function it(){let A=Math.ceil(i.value.length/B.value);d.value=[];for(let x=1;x<=A;x++)d.value.push(x)}function $e(A,x,C){C.includes(".csv")&&(C=C.split(".")[0]);let F="";x?F=n.unparse(A,{delimiter:x}):F=n.unparse(A),n.download(F,C)}function He(A,x=!0){console.log("rechargerJson"),J=x,console.log("rechargerJson id ",A),Number.isInteger(A)&&A<0?We(A):p(A)}function We(A){A<0&&(A=A*-1),console.log("delLigne : ",A);let x=Is(i.value,A);x!==-1&&i.value.splice(x,1)}return t({rechargerJson:He,delLigne:We}),(A,x)=>(ae(),he("div",vy,[Q("div",by,[Et(Q("select",{id:"parPage","onUpdate:modelValue":x[0]||(x[0]=C=>Ve(h)?h.value=C:h=C)},[(ae(!0),he(Re,null,kt(e.tparpage,C=>(ae(),he("option",{key:C},Ot(C),1))),128))],512),[[Go,ie(h)]]),Et(Q("input",{class:"gamutable--rechercher",type:"text","onUpdate:modelValue":x[1]||(x[1]=C=>Ve(k)?k.value=C:k=C),placeholder:"Rechercher"},null,512),[[ms,ie(k)]]),Q("button",{class:"btn gamutable--resetOrderBy",type:"button",onClick:x[2]||(x[2]=Fe(C=>G(),["stop"])),title:"Réinitialiser les tris des colonnes"},x[17]||(x[17]=[Q("i",{class:"gt-eraser rouge"},null,-1),Q("i",{class:"gt-filter"},null,-1)])),Q("button",{class:"btn var_gamutable rouge",type:"button",onClick:x[3]||(x[3]=Fe(C=>p(),["stop"])),title:"Rechargement complet du tableau"},x[18]||(x[18]=[Q("i",{class:"gt-refresh"},null,-1)])),Q("button",{class:"btn var_gamutable",type:"button",onClick:x[4]||(x[4]=Fe(C=>p("maj"),["stop"])),title:"Mise à jour du tableau - dernière version de la base de donnée le : "+le.value},x[19]||(x[19]=[Q("i",{class:"gt-refresh"},null,-1)]),8,_y),ie(Y)?Et((ae(),he("button",{key:0,class:"btn gamutable--vueTable",title:"Switcher en Vue tableau",onClick:x[5]||(x[5]=Fe(C=>re("tableau"),["stop"]))},x[20]||(x[20]=[Q("i",{class:"gt-table"},null,-1)]),512)),[[Ht,ie(X)==="bloc"]]):Ue("",!0),ie(Y)?Et((ae(),he("button",{key:1,class:"btn gamutable--vueBloc",title:"Switcher en Vue Bloc",onClick:x[6]||(x[6]=Fe(C=>re("bloc"),["stop"]))},x[21]||(x[21]=[Q("i",{class:"gt-block"},null,-1)]),512)),[[Ht,ie(X)==="tableau"]]):Ue("",!0),Et(Q("button",{class:"btn gamutable--exportCSV export--affiche",type:"button",onClick:x[7]||(x[7]=Fe(C=>z(),["stop"])),title:"Exporter le tableau affiché en csv"},x[22]||(x[22]=[Q("i",{class:"gt-csv","aria-hidden":"true"},null,-1)]),512),[[Ht,e.namecsv]]),Et(Q("button",{class:"btn export--affiche",type:"button",onClick:x[8]||(x[8]=Fe(C=>de(),["stop"])),title:"Générer le PDF du tableau affiché"},x[23]||(x[23]=[Q("i",{class:"gt-pdf rouge","aria-hidden":"true",alt:"pdf"},null,-1)]),512),[[Ht,e.fichierpdf]]),Et(Q("button",{class:"btn gamutable--exportCSV export--complet",type:"button",onClick:x[9]||(x[9]=Fe(C=>z("table"),["stop"])),title:"Exporter le tableau complet en csv"},x[24]||(x[24]=[Q("i",{class:"gt-csv-alt","aria-hidden":"true",alt:"csv"},null,-1)]),512),[[Ht,e.namecsv]]),Et(Q("button",{class:"btn export--complet",type:"button",onClick:x[10]||(x[10]=Fe(C=>de("table"),["stop"])),title:"Générer le PDF du tableau complet"},x[25]||(x[25]=[Q("i",{class:"gt-pdf-alt rouge","aria-hidden":"true",alt:"pdf"},null,-1)]),512),[[Ht,e.fichierpdf]]),Et(Q("span",Sy,x[26]||(x[26]=[Q("i",{class:"gt-spin animate-spin rouge"},null,-1),Q("span",{class:"texteMajBDD"}," Mise à jour de la base de donnée ",-1)]),512),[[Ht,ie(Z)]]),Et(Q("span",Ey,x[27]||(x[27]=[Q("i",{class:"gt-database"},null,-1)]),512),[[Ht,!ie(Z)]]),Q("span",{class:"gamutable-nbrMax","data-nbrmax":ie(i).length},Ot(M.value.length)+" / "+Ot(ie(i).length)+" éléments",9,Cy),Q("span",{class:"includespip",innerHTML:e.includespip},null,8,Ty)]),ie(X)==="bloc"?(ae(),he("div",xy,[(ae(!0),he(Re,null,kt(M.value,C=>(ae(),he("div",{class:"vueBlocs-unbloc",key:C.id,innerHTML:se(C.html)},null,8,wy))),128))])):Ue("",!0),ie(X)==="tableau"?(ae(),he("table",Iy,[Q("thead",null,[Object.keys(ie(r)).length?(ae(),he("tr",ky,[(ae(!0),he(Re,null,kt(ie(r),(C,F,ue)=>(ae(),he("th",{key:"header_top_"+ue,colspan:C.colspan,class:Qe(C.class)},[Q("span",{innerHTML:F},null,8,Oy)],10,Ay))),128))])):Ue("",!0),Q("tr",null,[(ae(!0),he(Re,null,kt(ie(l),(C,F,ue)=>(ae(),he("th",{key:"head_"+ue,class:Qe([F,ie(m)[F],ie(o)[ue]+"--header_top"])},[Q("span",Ny,[Q("span",{innerHTML:C},null,8,Ry),Q("span",My,[Q("i",{class:Qe(["gt-sort-up",K(F,"asc")]),"aria-hidden":"true",onClick:Fe(Te=>U(F,"asc"),["stop"])},null,10,Py),Q("i",{class:Qe(["gt-sort-down",K(F,"desc")]),"aria-hidden":"true",onClick:Fe(Te=>U(F,"desc"),["stop"])},null,10,Ly)])])],2))),128))]),ie(H).length||Object.keys(ie(v)).length?(ae(),he("tr",Dy,[(ae(!0),he(Re,null,kt(ie(l),(C,F,ue)=>(ae(),he("th",{key:"filtreCol_"+ue,class:Qe(F)},[ie(v)[F]!==void 0?(ae(),he("div",{key:0,id:"filtreCol_"+F,class:Qe([ie(m)[F],"flex justify-between"])},[Q("input",{class:"ml-2",type:"checkbox",onClick:Fe(Te=>ye(F),["stop"])},null,8,By),Q("button",{onClick:Fe(Te=>we(F,ie(v)[F]),["stop"])},x[28]||(x[28]=[Q("i",{class:"gt-check"},null,-1)]),8,Vy)],10,Fy)):Ue("",!0),ie(H).indexOf(F)!==-1?(ae(),he("div",{key:1,id:"filtreCol_"+F},[ie(V)[F]==="select"?(ae(),hs(ie(sr),{key:0,modelValue:ie(O)[F],"onUpdate:modelValue":Te=>ie(O)[F]=Te,options:ie(E)[F].sort(ie(yy)),"hide-selected":"",multiple:"",taggable:"","close-on-select":"","clear-on-close":"",searchable:"",onSelected:P,"onSearch:focus":x[11]||(x[11]=()=>{})},{tag:fs(({option:Te,remove:Ze})=>[Q("div",jy,[Sr(Ot(Te)+" ",1),Q("span",{class:"tag--remove pointer",title:"Cliquer pour supprimer ",onClick:Fe(Ze,["stop"])},"x",8,Hy)])]),_:2},1032,["modelValue","onUpdate:modelValue","options"])):Ue("",!0),ie(V)[F]==="input"?Et((ae(),he("input",{key:1,class:"gamutable__input--filtrer","onUpdate:modelValue":Te=>ie(O)[F]=Te,type:"text",placeholder:"Rechercher",onKeydown:x[12]||(x[12]=()=>{})},null,40,Uy)),[[ms,ie(O)[F]]]):Ue("",!0),ie(V)[F]==="input"&&ie(O)[F].length!==0?(ae(),he("button",{key:2,onClick:Fe(Te=>I(F),["stop"]),title:"Vider ce champ",class:"gamutable__input--filtrer"}," X ",8,Ky)):Ue("",!0)],8,$y)):Ue("",!0)],2))),128))])):Ue("",!0)]),Q("tbody",null,[(ae(!0),he(Re,null,kt(M.value,C=>(ae(),he("tr",{key:C.html.id,class:Qe(ie(S).indexOf(C.html.id)!==-1?"select":"")},[(ae(!0),he(Re,null,kt(C.html,(F,ue,Te)=>(ae(),he("td",{key:"td_"+Te,class:Qe([L(ue,C),ue,ie(m)[ue],C.classes!==void 0?C.classes[ue]:""]),onClick:Ze=>j(C.html.id,ue)},[ie(v)[ue]!==void 0?(ae(),he("div",Wy,[F.split("-")[0]==="dataid"?(ae(),he("div",Jy,[Q("label",null,[Et(Q("input",{type:"checkbox","onUpdate:modelValue":Ze=>ie(T)[ue]=Ze,value:F.split("-")[1]},null,8,Gy),[[Cr,ie(T)[ue]]])])])):(ae(),he("div",{key:1,innerHTML:F},null,8,zy))])):(ae(),he("div",{key:1,innerHTML:F},null,8,Yy))],10,qy))),128))],2))),128))]),Q("tfoot",null,[Object.keys(ie(c)).length?(ae(),he("tr",Zy,[(ae(!0),he(Re,null,kt(ie(l),(C,F,ue)=>(ae(),he("th",{key:"footerAffiche_"+ue,class:Qe([F,ie(m)[F],ie(o)[ue]+"--footer"])},[Q("div",{innerHTML:ie(c)[F]??""},null,8,Qy)],2))),128))])):Ue("",!0),Object.keys(ie(u)).length?(ae(),he("tr",Xy,[(ae(!0),he(Re,null,kt(ie(l),(C,F,ue)=>(ae(),he("th",{key:"footerTotal_"+ue,class:Qe([F,ie(m)[F],ie(o)[ue]+"--footer"])},[Q("div",{innerHTML:ie(u)[F]??""},null,8,ev)],2))),128))])):Ue("",!0)])])):Ue("",!0),Q("div",tv,[Q("div",nv,Ot(M.value.length)+" / "+Ot(ie(i).length)+" éléments ",1),Q("div",sv,[Q("div",iv,[ie(N)!=1?(ae(),he("button",{key:0,type:"button",class:"page-link",onClick:x[13]||(x[13]=C=>Ve(N)?N.value=1:N=1)}," Premier ")):Ue("",!0),ie(N)!=1?(ae(),he("button",{key:1,type:"button",class:"page-link",onClick:x[14]||(x[14]=C=>Ve(N)?N.value--:N--)}," Précédent ")):Ue("",!0)]),Q("div",rv,[(ae(!0),he(Re,null,kt(ie(d).slice(ie(N)-4<0?0:ie(N)-4,ie(N)+3),C=>(ae(),he("button",{type:"button",class:Qe(["page-link",{on:C===ie(N)}]),onClick:F=>Ve(N)?N.value=C:N=C},Ot(C),11,ov))),256))]),Q("div",lv,[ie(N)Ve(N)?N.value++:N++),class:"page-link"}," Suivant ")):Ue("",!0),ie(N)Ve(N)?N.value=ie(d).length:N=ie(d).length),class:"page-link"}," Dernier ")):Ue("",!0)])])])]))}};function cv(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Pi={exports:{}};/* @license +Papa Parse +v5.5.2 +https://github.com/mholt/PapaParse +License: MIT +*/var uv=Pi.exports,Ta;function fv(){return Ta||(Ta=1,function(e,t){((n,s)=>{e.exports=s()})(uv,function n(){var s=typeof self<"u"?self:typeof window<"u"?window:s!==void 0?s:{},i,r=!s.document&&!!s.postMessage,o=s.IS_PAPA_WORKER||!1,l={},a=0,c={};function u(h){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},(function(d){var g=k(d);g.chunkSize=parseInt(g.chunkSize),d.step||d.chunk||(g.chunkSize=null),this._handle=new b(g),(this._handle.streamer=this)._config=g}).call(this,h),this.parseChunk=function(d,g){var w=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0=this._config.preview),o)s.postMessage({results:S,workerId:c.WORKER_ID,finished:w});else if(B(this._config.chunk)&&!g){if(this._config.chunk(S,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=S=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(S.data),this._completeResults.errors=this._completeResults.errors.concat(S.errors),this._completeResults.meta=S.meta),this._completed||!w||!B(this._config.complete)||S&&S.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),w||S&&S.meta.paused||this._nextChunk(),S}this._halted=!0},this._sendError=function(d){B(this._config.error)?this._config.error(d):o&&this._config.error&&s.postMessage({workerId:c.WORKER_ID,error:d,finished:!1})}}function f(h){var d;(h=h||{}).chunkSize||(h.chunkSize=c.RemoteChunkSize),u.call(this,h),this._nextChunk=r?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(g){this._input=g,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(d=new XMLHttpRequest,this._config.withCredentials&&(d.withCredentials=this._config.withCredentials),r||(d.onload=N(this._chunkLoaded,this),d.onerror=N(this._chunkError,this)),d.open(this._config.downloadRequestBody?"POST":"GET",this._input,!r),this._config.downloadRequestHeaders){var g,w=this._config.downloadRequestHeaders;for(g in w)d.setRequestHeader(g,w[g])}var S;this._config.chunkSize&&(S=this._start+this._config.chunkSize-1,d.setRequestHeader("Range","bytes="+this._start+"-"+S));try{d.send(this._config.downloadRequestBody)}catch(R){this._chunkError(R.message)}r&&d.status===0&&this._chunkError()}},this._chunkLoaded=function(){d.readyState===4&&(d.status<200||400<=d.status?this._chunkError():(this._start+=this._config.chunkSize||d.responseText.length,this._finished=!this._config.chunkSize||this._start>=(g=>(g=g.getResponseHeader("Content-Range"))!==null?parseInt(g.substring(g.lastIndexOf("/")+1)):-1)(d),this.parseChunk(d.responseText)))},this._chunkError=function(g){g=d.statusText||g,this._sendError(new Error(g))}}function m(h){(h=h||{}).chunkSize||(h.chunkSize=c.LocalChunkSize),u.call(this,h);var d,g,w=typeof FileReader<"u";this.stream=function(S){this._input=S,g=S.slice||S.webkitSlice||S.mozSlice,w?((d=new FileReader).onload=N(this._chunkLoaded,this),d.onerror=N(this._chunkError,this)):d=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(S.target.result)},this._chunkError=function(){this._sendError(d.error)}}function v(h){var d;u.call(this,h=h||{}),this.stream=function(g){return d=g,this._nextChunk()},this._nextChunk=function(){var g,w;if(!this._finished)return g=this._config.chunkSize,d=g?(w=d.substring(0,g),d.substring(g)):(w=d,""),this._finished=!d,this.parseChunk(w)}}function T(h){u.call(this,h=h||{});var d=[],g=!0,w=!1;this.pause=function(){u.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){u.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(S){this._input=S,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){w&&d.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),d.length?this.parseChunk(d.shift()):g=!0},this._streamData=N(function(S){try{d.push(typeof S=="string"?S:S.toString(this._config.encoding)),g&&(g=!1,this._checkIsFinished(),this.parseChunk(d.shift()))}catch(R){this._streamError(R)}},this),this._streamError=N(function(S){this._streamCleanUp(),this._sendError(S)},this),this._streamEnd=N(function(){this._streamCleanUp(),w=!0,this._streamData("")},this),this._streamCleanUp=N(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function b(h){var d,g,w,S,R=Math.pow(2,53),Z=-R,X=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,Y=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,J=this,W=0,ee=0,xe=!1,ne=!1,ge=[],le={data:[],errors:[],meta:{}};function M(pe){return h.skipEmptyLines==="greedy"?pe.join("").trim()==="":pe.length===1&&pe[0].length===0}function q(){if(le&&w&&(fe("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+c.DefaultDelimiter+"'"),w=!1),h.skipEmptyLines&&(le.data=le.data.filter(function(Ce){return!M(Ce)})),ce()){let Ce=function(p,y){B(h.transformHeader)&&(p=h.transformHeader(p,y)),ge.push(p)};var me=Ce;if(le)if(Array.isArray(le.data[0])){for(var pe=0;ce()&&pe(K=>(h.dynamicTypingFunction&&h.dynamicTyping[K]===void 0&&(h.dynamicTyping[K]=h.dynamicTypingFunction(K)),(h.dynamicTyping[K]||h.dynamicTyping)===!0))(L)?U==="true"||U==="TRUE"||U!=="false"&&U!=="FALSE"&&((K=>{if(X.test(K)&&(K=parseFloat(K),Z=ge.length?"__parsed_extra":ge[I]:P,D=h.transform?h.transform(D,P):D);P==="__parsed_extra"?(y[P]=y[P]||[],y[P].push(D)):y[P]=D}return h.header&&(I>ge.length?fe("FieldMismatch","TooManyFields","Too many fields: expected "+ge.length+" fields but parsed "+I,ee+p):Ih.preview?g.abort():(le.data=le.data[0],S(le,J))))}),this.parse=function(pe,oe,Se){var me=h.quoteChar||'"',me=(h.newline||(h.newline=this.guessLineEndings(pe,me)),w=!1,h.delimiter?B(h.delimiter)&&(h.delimiter=h.delimiter(pe),le.meta.delimiter=h.delimiter):((me=((Ce,p,y,I,P)=>{var D,L,U,K;P=P||[","," ","|",";",c.RECORD_SEP,c.UNIT_SEP];for(var G=0;G=Se.length/2?`\r +`:"\r"}}function H(h){return h.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function V(h){var d=(h=h||{}).delimiter,g=h.newline,w=h.comments,S=h.step,R=h.preview,Z=h.fastMode,X=null,Y=!1,J=h.quoteChar==null?'"':h.quoteChar,W=J;if(h.escapeChar!==void 0&&(W=h.escapeChar),(typeof d!="string"||-1=R)return z(!0);break}Se.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:oe.length,index:ee}),L++}}else if(w&&me.length===0&&ne.substring(ee,ee+fe)===w){if(P===-1)return z();ee=P+ce,P=ne.indexOf(g,ee),I=ne.indexOf(d,ee)}else if(I!==-1&&(I=R)return z(!0)}return j();function K(re){oe.push(re),Ce=ee}function G(re){var ye=0;return ye=re!==-1&&(re=ne.substring(L+1,re))&&re.trim()===""?re.length:ye}function j(re){return le||(re===void 0&&(re=ne.substring(ee)),me.push(re),ee=M,K(me),pe&&se()),z()}function de(re){ee=re,K(me),me=[],P=ne.indexOf(g,ee)}function z(re){if(h.header&&!ge&&oe.length&&!Y){var ye=oe[0],we={},Ie=new Set(ye);let it=!1;for(let $e=0;$ew.charCodeAt(0)!==65279?w:w.slice(1))(h),g=new(d.download?f:v)(d)):h.readable===!0&&B(h.read)&&B(h.on)?g=new T(d):(s.File&&h instanceof File||h instanceof Object)&&(g=new m(d)),g.stream(h);(g=(()=>{var w;return!!c.WORKERS_SUPPORTED&&(w=(()=>{var S=s.URL||s.webkitURL||null,R=n.toString();return c.BLOB_URL||(c.BLOB_URL=S.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",R,")();"],{type:"text/javascript"})))})(),(w=new s.Worker(w)).onmessage=O,w.id=a++,l[w.id]=w)})()).userStep=d.step,g.userChunk=d.chunk,g.userComplete=d.complete,g.userError=d.error,d.step=B(d.step),d.chunk=B(d.chunk),d.complete=B(d.complete),d.error=B(d.error),delete d.worker,g.postMessage({input:h,config:d,workerId:g.id})},c.unparse=function(h,d){var g=!1,w=!0,S=",",R=`\r +`,Z='"',X=Z+Z,Y=!1,J=null,W=!1,ee=((()=>{if(typeof d=="object"){if(typeof d.delimiter!="string"||c.BAD_DELIMITERS.filter(function(ge){return d.delimiter.indexOf(ge)!==-1}).length||(S=d.delimiter),typeof d.quotes!="boolean"&&typeof d.quotes!="function"&&!Array.isArray(d.quotes)||(g=d.quotes),typeof d.skipEmptyLines!="boolean"&&typeof d.skipEmptyLines!="string"||(Y=d.skipEmptyLines),typeof d.newline=="string"&&(R=d.newline),typeof d.quoteChar=="string"&&(Z=d.quoteChar),typeof d.header=="boolean"&&(w=d.header),Array.isArray(d.columns)){if(d.columns.length===0)throw new Error("Option columns is empty");J=d.columns}d.escapeChar!==void 0&&(X=d.escapeChar+Z),d.escapeFormulae instanceof RegExp?W=d.escapeFormulae:typeof d.escapeFormulae=="boolean"&&d.escapeFormulae&&(W=/^[=+\-@\t\r].*$/)}})(),new RegExp(H(Z),"g"));if(typeof h=="string"&&(h=JSON.parse(h)),Array.isArray(h)){if(!h.length||Array.isArray(h[0]))return xe(null,h,Y);if(typeof h[0]=="object")return xe(J||Object.keys(h[0]),h,Y)}else if(typeof h=="object")return typeof h.data=="string"&&(h.data=JSON.parse(h.data)),Array.isArray(h.data)&&(h.fields||(h.fields=h.meta&&h.meta.fields||J),h.fields||(h.fields=Array.isArray(h.data[0])?h.fields:typeof h.data[0]=="object"?Object.keys(h.data[0]):[]),Array.isArray(h.data[0])||typeof h.data[0]=="object"||(h.data=[h.data])),xe(h.fields||[],h.data||[],Y);throw new Error("Unable to serialize unrecognized input");function xe(ge,le,M){var q="",ce=(typeof ge=="string"&&(ge=JSON.parse(ge)),typeof le=="string"&&(le=JSON.parse(le)),Array.isArray(ge)&&0{for(var pe=0;pe{try{const n=new Blob([e],{type:"text/csv"}),s=URL.createObjectURL(n),i=document.createElement("a");i.id=`csv-${parseInt(Math.random().toString().slice(2,16))}`,i.href=s,document.body.appendChild(i);const r=document.getElementById(i.id);return r.style.visibility="hidden",r.download=`${t}.csv`,r.click(),setTimeout(()=>{document.body.removeChild(i)},1),!0}catch{return!1}},gv=e=>e.map(t=>JSON.stringify(t)).reduce((t,n)=>(t.find(s=>s===n)||t.push(n),t),[]).map(t=>JSON.parse(t)),xa={install(e,t){const n={download:pv,dedupe:gv},s=Object.entries(hv).reduce((r,[o,l])=>(r[o]=l,r),{}),i=Object.assign(s,n);"config"in e&&"globalProperties"in e.config?e.config.globalProperties.$papa=i:e.prototype.$papa=i}},wa={GamuTable:av};try{const t=function(n,s){return new Array(s+1).join(n)}("gamutable ",100);localStorage.setItem("test_gamutable",t),localStorage.removeItem("test_gamutable")}catch(e){console.log(e.code),(e.code===22||e.code===1024)&&(console.error("On fait le ménage de tout le localstorage"),localStorage.clear())}_f();function _f(){let e=1;for(const t of document.getElementsByClassName("vue-gamutable"))e===1?(window.app=Gs({components:wa,mounted(){app.rechargerJson=this.$refs.montableau.rechargerJson,app.delLigne=this.$refs.montableau.delLigne}}),app.use(xa),app.provide("$papa",app.config.globalProperties.$papa),app.mount(t)):e===2&&(window.app2=Gs({components:wa,mounted(){app2.rechargerJson=this.$refs.montableau_deux.rechargerJson,app2.delLigne=this.$refs.montableau_deux.delLigne}}),app2.use(xa),app2.provide("$papa",app2.config.globalProperties.$papa),app2.mount(t)),e++}window.gamutable=_f;$("#vueGamutable").on("click",".url_action, .url_action--ss_css",function(e){e.preventDefault(),e.stopPropagation();let t=$(this).data("confirm");if(t!==void 0&&!confirm(t))return;let n=$(this).attr("href"),s=$(this).data("id"),i="1";$(this).parents(".gamutableDeux").length&&(i="2"),$(this).data("treload")!==void 0&&(i=$(this).data("treload").toString());let r=i.indexOf("1")!==-1,o=i.indexOf("2")!==-1;$(this).has("i.icon, i.fa")&&$(this).find("i.icon, i.fa").eq(0).replaceWith('');let l=$(this).data("ajaxreload");$.ajax({url:n,dataType:"json",async:!0}).done(function(a){!$.isEmptyObject(a)&&!$.isEmptyObject(a.message_erreur)?alert(a.message_erreur):(parseInt(s)>0?(r&&app.rechargerJson(s),o&&app2.rechargerJson(s)):parseInt(s)<0?(r&&app.delLigne(s),o&&app2.delLigne(s)):(r&&app.rechargerJson("maj 1"),o&&app2.rechargerJson("maj 2")),l!==void 0&&ajaxReload(l,{args:{id:s},callback:function(){}}))})}); diff --git a/gamutable_fonctions.php b/gamutable_fonctions.php index bb86894..b4e2d75 100644 --- a/gamutable_fonctions.php +++ b/gamutable_fonctions.php @@ -118,3 +118,20 @@ function gamutable_recharger_tableau($id_objet = 9999999999, $num = null):string EOJS; return $html; } + +function gamutable_vider_localstorage():int { + $version_prod = (int) lire_config('gamutable/version_stockage', 1); + $version_demandee = (int) ($GLOBALS['gamutable_version_stockage'] ?? 1); + if ($version_demandee > $version_prod) { + ecrire_config('gamutable/version_stockage', $version_demandee); + return 1; + } + return 0; +} + +function gamutableGetGlobals(string $name, string $defaut = ''):string { + if (empty($name)) { + return ''; + } + return $GLOBALS[$name] ?? $defaut; +} diff --git a/gamutable_options.php b/gamutable_options.php index ef6c542..7ba2854 100644 --- a/gamutable_options.php +++ b/gamutable_options.php @@ -12,7 +12,10 @@ if (!defined('_ECRIRE_INC_VERSION')) { return; } - +/* + * Global pour indiquer le numero de version de gamutable + */ +// $GLOBALS['gamutable_version_demandee'] = 1; if (_request('var_mode') == 'gamutable') { include_spip('inc/invalideur'); diff --git a/inclure/gamutable.html b/inclure/gamutable.html index 3c2c414..dbc8b4d 100644 --- a/inclure/gamutable.html +++ b/inclure/gamutable.html @@ -25,6 +25,9 @@ [(#ENV{fichierVueBloc}|oui) [(#SET{htmlvuebloc,#INCLURE{fond=#ENV{fichierVueBloc}}|replace{'"',"'"}})] ] + +[(#SET{gamutable_version_demandee,#VAL{gamutable_version_demandee}|gamutableGetGlobals{1}})] +
@@ -53,6 +56,7 @@ trier="[(#ENV{trier})]" langpdf="[(#ENV{langpdf})]" :id_auteur="[(#SESSION{id_auteur}|intval)]" + :gamutable_version_demandee="#GET{gamutable_version_demandee,1}" >
@@ -90,6 +94,7 @@ trier="[(#ENV{trier_deux})]" langpdf="[(#ENV{langpdf})]" :id_auteur="[(#SESSION{id_auteur}|intval)]" + :gamutable_version_demandee="#GET{gamutable_version_demandee,1}" >
@@ -102,6 +107,7 @@ + [(#CONFIG{gamutable/charger_modalbox}|=={oui}|oui) ] diff --git a/src/components/gamuTable.vue b/src/components/gamuTable.vue index 6bd14b7..58f8343 100644 --- a/src/components/gamuTable.vue +++ b/src/components/gamuTable.vue @@ -188,6 +188,7 @@