slim-select 2.0.2 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/dist/render.d.ts +1 -1
  3. package/dist/slimselect.cjs.js +54 -16
  4. package/dist/slimselect.es.js +54 -16
  5. package/dist/slimselect.global.js +54 -16
  6. package/dist/slimselect.js +54 -16
  7. package/dist/slimselect.min.js +1 -1
  8. package/dist/slimselect.umd.js +54 -16
  9. package/dist/slimselect.umd.min.js +1 -1
  10. package/docs/assets/index.css +1 -1
  11. package/docs/assets/index.js +7 -7
  12. package/docs/assets/index3.js +25 -16
  13. package/docs/assets/index5.js +145 -9
  14. package/docs/assets/install.js +4 -4
  15. package/package.json +11 -3
  16. package/src/docs/app.vue +4 -4
  17. package/src/docs/{images → assets/images}/check-mark.svg +0 -0
  18. package/src/docs/{images → assets/images}/chrome.svg +0 -0
  19. package/src/docs/{images → assets/images}/firefox.svg +0 -0
  20. package/src/docs/{images → assets/images}/github.png +0 -0
  21. package/src/docs/{images → assets/images}/ie.svg +0 -0
  22. package/src/docs/{images → assets/images}/npm.png +0 -0
  23. package/src/docs/{images → assets/images}/opera.svg +0 -0
  24. package/src/docs/{images → assets/images}/safari.svg +0 -0
  25. package/src/docs/assets/scss/misc.scss +7 -0
  26. package/src/docs/env.d.ts +1 -0
  27. package/src/docs/pages/events/addable.vue +22 -6
  28. package/src/docs/pages/events/before_after_change.vue +15 -1
  29. package/src/docs/pages/events/search.vue +2 -1
  30. package/src/docs/pages/frameworks/vue.vue +373 -7
  31. package/src/docs/pages/home.vue +18 -18
  32. package/src/docs/pages/methods/get_data.vue +2 -1
  33. package/src/docs/pages/methods/open_close.vue +1 -1
  34. package/src/slim-select/index.ts +1 -1
  35. package/src/slim-select/render.ts +83 -25
  36. package/src/slim-select/rollup.config.mjs +5 -0
  37. package/src/slim-select/select.ts +14 -5
  38. package/src/vue/dist/slimselectvue.es.js +1655 -0
  39. package/src/vue/dist/slimselectvue.global.js +1658 -0
  40. package/src/vue/dist/slimselectvue.ssr.js +1657 -0
  41. package/src/vue/hello.ts +5 -0
  42. package/src/vue/package.json +27 -0
  43. package/src/vue/rollup.config.mjs +44 -0
  44. package/src/vue/slimselect.vue +39 -5
  45. package/src/vue/tsconfig.json +14 -0
@@ -1,16 +1,16 @@
1
- var Or=Object.defineProperty;var Tr=(e,t,s)=>t in e?Or(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var M=(e,t,s)=>(Tr(e,typeof t!="symbol"?t+"":t,s),s);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const l of r.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&n(l)}).observe(document,{childList:!0,subtree:!0});function s(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 n(i){if(i.ep)return;i.ep=!0;const r=s(i);fetch(i.href,r)}})();function Qs(e,t){const s=Object.create(null),n=e.split(",");for(let i=0;i<n.length;i++)s[n[i]]=!0;return t?i=>!!s[i.toLowerCase()]:i=>!!s[i]}function Gs(e){if(Y(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],i=de(n)?Fr(n):Gs(n);if(i)for(const r in i)t[r]=i[r]}return t}else{if(de(e))return e;if(ae(e))return e}}const Rr=/;(?![^(]*\))/g,Pr=/:([^]+)/,Lr=/\/\*.*?\*\//gs;function Fr(e){const t={};return e.replace(Lr,"").split(Rr).forEach(s=>{if(s){const n=s.split(Pr);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Js(e){let t="";if(de(e))t=e;else if(Y(e))for(let s=0;s<e.length;s++){const n=Js(e[s]);n&&(t+=n+" ")}else if(ae(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const kr="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ir=Qs(kr);function gi(e){return!!e||e===""}const Dr=e=>de(e)?e:e==null?"":Y(e)||ae(e)&&(e.toString===yi||!q(e.toString))?JSON.stringify(e,mi,2):String(e),mi=(e,t)=>t&&t.__v_isRef?mi(e,t.value):wt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,i])=>(s[`${n} =>`]=i,s),{})}:vi(t)?{[`Set(${t.size})`]:[...t.values()]}:ae(t)&&!Y(t)&&!wi(t)?String(t):t,oe={},yt=[],ke=()=>{},Mr=()=>!1,Nr=/^on[^a-z]/,ps=e=>Nr.test(e),Zs=e=>e.startsWith("onUpdate:"),Ee=Object.assign,Xs=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Br=Object.prototype.hasOwnProperty,Z=(e,t)=>Br.call(e,t),Y=Array.isArray,wt=e=>gs(e)==="[object Map]",vi=e=>gs(e)==="[object Set]",q=e=>typeof e=="function",de=e=>typeof e=="string",en=e=>typeof e=="symbol",ae=e=>e!==null&&typeof e=="object",bi=e=>ae(e)&&q(e.then)&&q(e.catch),yi=Object.prototype.toString,gs=e=>yi.call(e),Hr=e=>gs(e).slice(8,-1),wi=e=>gs(e)==="[object Object]",tn=e=>de(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ts=Qs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ms=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},Ur=/-(\w)/g,$e=ms(e=>e.replace(Ur,(t,s)=>s?s.toUpperCase():"")),jr=/\B([A-Z])/g,Rt=ms(e=>e.replace(jr,"-$1").toLowerCase()),vs=ms(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ss=ms(e=>e?`on${vs(e)}`:""),jt=(e,t)=>!Object.is(e,t),Os=(e,t)=>{for(let s=0;s<e.length;s++)e[s](t)},os=(e,t,s)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:s})},Ai=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let _n;const $r=()=>_n||(_n=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let He;class Vr{constructor(t=!1){this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=He,!t&&He&&(this.index=(He.scopes||(He.scopes=[])).push(this)-1)}run(t){if(this.active){const s=He;try{return He=this,t()}finally{He=s}}}on(){He=this}off(){He=this.parent}stop(t){if(this.active){let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.scopes)for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this.active=!1}}}function zr(e,t=He){t&&t.active&&t.effects.push(e)}const sn=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Ei=e=>(e.w&rt)>0,xi=e=>(e.n&rt)>0,Wr=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=rt},Kr=e=>{const{deps:t}=e;if(t.length){let s=0;for(let n=0;n<t.length;n++){const i=t[n];Ei(i)&&!xi(i)?i.delete(e):t[s++]=i,i.w&=~rt,i.n&=~rt}t.length=s}},Ds=new WeakMap;let Dt=0,rt=1;const Ms=30;let Le;const dt=Symbol(""),Ns=Symbol("");class nn{constructor(t,s=null,n){this.fn=t,this.scheduler=s,this.active=!0,this.deps=[],this.parent=void 0,zr(this,n)}run(){if(!this.active)return this.fn();let t=Le,s=nt;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Le,Le=this,nt=!0,rt=1<<++Dt,Dt<=Ms?Wr(this):Cn(this),this.fn()}finally{Dt<=Ms&&Kr(this),rt=1<<--Dt,Le=this.parent,nt=s,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Le===this?this.deferStop=!0:this.active&&(Cn(this),this.onStop&&this.onStop(),this.active=!1)}}function Cn(e){const{deps:t}=e;if(t.length){for(let s=0;s<t.length;s++)t[s].delete(e);t.length=0}}let nt=!0;const _i=[];function Pt(){_i.push(nt),nt=!1}function Lt(){const e=_i.pop();nt=e===void 0?!0:e}function Oe(e,t,s){if(nt&&Le){let n=Ds.get(e);n||Ds.set(e,n=new Map);let i=n.get(s);i||n.set(s,i=sn()),Ci(i)}}function Ci(e,t){let s=!1;Dt<=Ms?xi(e)||(e.n|=rt,s=!Ei(e)):s=!e.has(Le),s&&(e.add(Le),Le.deps.push(e))}function Qe(e,t,s,n,i,r){const l=Ds.get(e);if(!l)return;let o=[];if(t==="clear")o=[...l.values()];else if(s==="length"&&Y(e)){const a=Ai(n);l.forEach((u,f)=>{(f==="length"||f>=a)&&o.push(u)})}else switch(s!==void 0&&o.push(l.get(s)),t){case"add":Y(e)?tn(s)&&o.push(l.get("length")):(o.push(l.get(dt)),wt(e)&&o.push(l.get(Ns)));break;case"delete":Y(e)||(o.push(l.get(dt)),wt(e)&&o.push(l.get(Ns)));break;case"set":wt(e)&&o.push(l.get(dt));break}if(o.length===1)o[0]&&Bs(o[0]);else{const a=[];for(const u of o)u&&a.push(...u);Bs(sn(a))}}function Bs(e,t){const s=Y(e)?e:[...e];for(const n of s)n.computed&&Sn(n);for(const n of s)n.computed||Sn(n)}function Sn(e,t){(e!==Le||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Yr=Qs("__proto__,__v_isRef,__isVue"),Si=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(en)),qr=rn(),Qr=rn(!1,!0),Gr=rn(!0),On=Jr();function Jr(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...s){const n=X(this);for(let r=0,l=this.length;r<l;r++)Oe(n,"get",r+"");const i=n[t](...s);return i===-1||i===!1?n[t](...s.map(X)):i}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...s){Pt();const n=X(this)[t].apply(this,s);return Lt(),n}}),e}function rn(e=!1,t=!1){return function(n,i,r){if(i==="__v_isReactive")return!e;if(i==="__v_isReadonly")return e;if(i==="__v_isShallow")return t;if(i==="__v_raw"&&r===(e?t?dl:Li:t?Pi:Ri).get(n))return n;const l=Y(n);if(!e&&l&&Z(On,i))return Reflect.get(On,i,r);const o=Reflect.get(n,i,r);return(en(i)?Si.has(i):Yr(i))||(e||Oe(n,"get",i),t)?o:ve(o)?l&&tn(i)?o:o.value:ae(o)?e?Fi(o):qt(o):o}}const Zr=Oi(),Xr=Oi(!0);function Oi(e=!1){return function(s,n,i,r){let l=s[n];if(_t(l)&&ve(l)&&!ve(i))return!1;if(!e&&(!as(i)&&!_t(i)&&(l=X(l),i=X(i)),!Y(s)&&ve(l)&&!ve(i)))return l.value=i,!0;const o=Y(s)&&tn(n)?Number(n)<s.length:Z(s,n),a=Reflect.set(s,n,i,r);return s===X(r)&&(o?jt(i,l)&&Qe(s,"set",n,i):Qe(s,"add",n,i)),a}}function el(e,t){const s=Z(e,t);e[t];const n=Reflect.deleteProperty(e,t);return n&&s&&Qe(e,"delete",t,void 0),n}function tl(e,t){const s=Reflect.has(e,t);return(!en(t)||!Si.has(t))&&Oe(e,"has",t),s}function sl(e){return Oe(e,"iterate",Y(e)?"length":dt),Reflect.ownKeys(e)}const Ti={get:qr,set:Zr,deleteProperty:el,has:tl,ownKeys:sl},nl={get:Gr,set(e,t){return!0},deleteProperty(e,t){return!0}},il=Ee({},Ti,{get:Qr,set:Xr}),ln=e=>e,bs=e=>Reflect.getPrototypeOf(e);function Qt(e,t,s=!1,n=!1){e=e.__v_raw;const i=X(e),r=X(t);s||(t!==r&&Oe(i,"get",t),Oe(i,"get",r));const{has:l}=bs(i),o=n?ln:s?cn:$t;if(l.call(i,t))return o(e.get(t));if(l.call(i,r))return o(e.get(r));e!==i&&e.get(t)}function Gt(e,t=!1){const s=this.__v_raw,n=X(s),i=X(e);return t||(e!==i&&Oe(n,"has",e),Oe(n,"has",i)),e===i?s.has(e):s.has(e)||s.has(i)}function Jt(e,t=!1){return e=e.__v_raw,!t&&Oe(X(e),"iterate",dt),Reflect.get(e,"size",e)}function Tn(e){e=X(e);const t=X(this);return bs(t).has.call(t,e)||(t.add(e),Qe(t,"add",e,e)),this}function Rn(e,t){t=X(t);const s=X(this),{has:n,get:i}=bs(s);let r=n.call(s,e);r||(e=X(e),r=n.call(s,e));const l=i.call(s,e);return s.set(e,t),r?jt(t,l)&&Qe(s,"set",e,t):Qe(s,"add",e,t),this}function Pn(e){const t=X(this),{has:s,get:n}=bs(t);let i=s.call(t,e);i||(e=X(e),i=s.call(t,e)),n&&n.call(t,e);const r=t.delete(e);return i&&Qe(t,"delete",e,void 0),r}function Ln(){const e=X(this),t=e.size!==0,s=e.clear();return t&&Qe(e,"clear",void 0,void 0),s}function Zt(e,t){return function(n,i){const r=this,l=r.__v_raw,o=X(l),a=t?ln:e?cn:$t;return!e&&Oe(o,"iterate",dt),l.forEach((u,f)=>n.call(i,a(u),a(f),r))}}function Xt(e,t,s){return function(...n){const i=this.__v_raw,r=X(i),l=wt(r),o=e==="entries"||e===Symbol.iterator&&l,a=e==="keys"&&l,u=i[e](...n),f=s?ln:t?cn:$t;return!t&&Oe(r,"iterate",a?Ns:dt),{next(){const{value:d,done:p}=u.next();return p?{value:d,done:p}:{value:o?[f(d[0]),f(d[1])]:f(d),done:p}},[Symbol.iterator](){return this}}}}function Ze(e){return function(...t){return e==="delete"?!1:this}}function rl(){const e={get(r){return Qt(this,r)},get size(){return Jt(this)},has:Gt,add:Tn,set:Rn,delete:Pn,clear:Ln,forEach:Zt(!1,!1)},t={get(r){return Qt(this,r,!1,!0)},get size(){return Jt(this)},has:Gt,add:Tn,set:Rn,delete:Pn,clear:Ln,forEach:Zt(!1,!0)},s={get(r){return Qt(this,r,!0)},get size(){return Jt(this,!0)},has(r){return Gt.call(this,r,!0)},add:Ze("add"),set:Ze("set"),delete:Ze("delete"),clear:Ze("clear"),forEach:Zt(!0,!1)},n={get(r){return Qt(this,r,!0,!0)},get size(){return Jt(this,!0)},has(r){return Gt.call(this,r,!0)},add:Ze("add"),set:Ze("set"),delete:Ze("delete"),clear:Ze("clear"),forEach:Zt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=Xt(r,!1,!1),s[r]=Xt(r,!0,!1),t[r]=Xt(r,!1,!0),n[r]=Xt(r,!0,!0)}),[e,s,t,n]}const[ll,ol,al,cl]=rl();function on(e,t){const s=t?e?cl:al:e?ol:ll;return(n,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(Z(s,i)&&i in n?s:n,i,r)}const ul={get:on(!1,!1)},fl={get:on(!1,!0)},hl={get:on(!0,!1)},Ri=new WeakMap,Pi=new WeakMap,Li=new WeakMap,dl=new WeakMap;function pl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function gl(e){return e.__v_skip||!Object.isExtensible(e)?0:pl(Hr(e))}function qt(e){return _t(e)?e:an(e,!1,Ti,ul,Ri)}function ml(e){return an(e,!1,il,fl,Pi)}function Fi(e){return an(e,!0,nl,hl,Li)}function an(e,t,s,n,i){if(!ae(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=i.get(e);if(r)return r;const l=gl(e);if(l===0)return e;const o=new Proxy(e,l===2?n:s);return i.set(e,o),o}function At(e){return _t(e)?At(e.__v_raw):!!(e&&e.__v_isReactive)}function _t(e){return!!(e&&e.__v_isReadonly)}function as(e){return!!(e&&e.__v_isShallow)}function ki(e){return At(e)||_t(e)}function X(e){const t=e&&e.__v_raw;return t?X(t):e}function Ii(e){return os(e,"__v_skip",!0),e}const $t=e=>ae(e)?qt(e):e,cn=e=>ae(e)?Fi(e):e;function Di(e){nt&&Le&&(e=X(e),Ci(e.dep||(e.dep=sn())))}function Mi(e,t){e=X(e),e.dep&&Bs(e.dep)}function ve(e){return!!(e&&e.__v_isRef===!0)}function vl(e){return Ni(e,!1)}function bl(e){return Ni(e,!0)}function Ni(e,t){return ve(e)?e:new yl(e,t)}class yl{constructor(t,s){this.__v_isShallow=s,this.dep=void 0,this.__v_isRef=!0,this._rawValue=s?t:X(t),this._value=s?t:$t(t)}get value(){return Di(this),this._value}set value(t){const s=this.__v_isShallow||as(t)||_t(t);t=s?t:X(t),jt(t,this._rawValue)&&(this._rawValue=t,this._value=s?t:$t(t),Mi(this))}}function Et(e){return ve(e)?e.value:e}const wl={get:(e,t,s)=>Et(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const i=e[t];return ve(i)&&!ve(s)?(i.value=s,!0):Reflect.set(e,t,s,n)}};function Bi(e){return At(e)?e:new Proxy(e,wl)}var Hi;class Al{constructor(t,s,n,i){this._setter=s,this.dep=void 0,this.__v_isRef=!0,this[Hi]=!1,this._dirty=!0,this.effect=new nn(t,()=>{this._dirty||(this._dirty=!0,Mi(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const t=X(this);return Di(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}Hi="__v_isReadonly";function El(e,t,s=!1){let n,i;const r=q(e);return r?(n=e,i=ke):(n=e.get,i=e.set),new Al(n,i,r||!i,s)}function it(e,t,s,n){let i;try{i=n?e(...n):e()}catch(r){ys(r,t,s)}return i}function Ie(e,t,s,n){if(q(e)){const r=it(e,t,s,n);return r&&bi(r)&&r.catch(l=>{ys(l,t,s)}),r}const i=[];for(let r=0;r<e.length;r++)i.push(Ie(e[r],t,s,n));return i}function ys(e,t,s,n=!0){const i=t?t.vnode:null;if(t){let r=t.parent;const l=t.proxy,o=s;for(;r;){const u=r.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,l,o)===!1)return}r=r.parent}const a=t.appContext.config.errorHandler;if(a){it(a,null,10,[e,l,o]);return}}xl(e,s,i,n)}function xl(e,t,s,n=!0){console.error(e)}let Vt=!1,Hs=!1;const me=[];let je=0;const xt=[];let We=null,ft=0;const Ui=Promise.resolve();let un=null;function ji(e){const t=un||Ui;return e?t.then(this?e.bind(this):e):t}function _l(e){let t=je+1,s=me.length;for(;t<s;){const n=t+s>>>1;zt(me[n])<e?t=n+1:s=n}return t}function fn(e){(!me.length||!me.includes(e,Vt&&e.allowRecurse?je+1:je))&&(e.id==null?me.push(e):me.splice(_l(e.id),0,e),$i())}function $i(){!Vt&&!Hs&&(Hs=!0,un=Ui.then(zi))}function Cl(e){const t=me.indexOf(e);t>je&&me.splice(t,1)}function Sl(e){Y(e)?xt.push(...e):(!We||!We.includes(e,e.allowRecurse?ft+1:ft))&&xt.push(e),$i()}function Fn(e,t=Vt?je+1:0){for(;t<me.length;t++){const s=me[t];s&&s.pre&&(me.splice(t,1),t--,s())}}function Vi(e){if(xt.length){const t=[...new Set(xt)];if(xt.length=0,We){We.push(...t);return}for(We=t,We.sort((s,n)=>zt(s)-zt(n)),ft=0;ft<We.length;ft++)We[ft]();We=null,ft=0}}const zt=e=>e.id==null?1/0:e.id,Ol=(e,t)=>{const s=zt(e)-zt(t);if(s===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return s};function zi(e){Hs=!1,Vt=!0,me.sort(Ol);const t=ke;try{for(je=0;je<me.length;je++){const s=me[je];s&&s.active!==!1&&it(s,null,14)}}finally{je=0,me.length=0,Vi(),Vt=!1,un=null,(me.length||xt.length)&&zi()}}function Tl(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||oe;let i=s;const r=t.startsWith("update:"),l=r&&t.slice(7);if(l&&l in n){const f=`${l==="modelValue"?"model":l}Modifiers`,{number:d,trim:p}=n[f]||oe;p&&(i=s.map(w=>de(w)?w.trim():w)),d&&(i=s.map(Ai))}let o,a=n[o=Ss(t)]||n[o=Ss($e(t))];!a&&r&&(a=n[o=Ss(Rt(t))]),a&&Ie(a,e,6,i);const u=n[o+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[o])return;e.emitted[o]=!0,Ie(u,e,6,i)}}function Wi(e,t,s=!1){const n=t.emitsCache,i=n.get(e);if(i!==void 0)return i;const r=e.emits;let l={},o=!1;if(!q(e)){const a=u=>{const f=Wi(u,t,!0);f&&(o=!0,Ee(l,f))};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!r&&!o?(ae(e)&&n.set(e,null),null):(Y(r)?r.forEach(a=>l[a]=null):Ee(l,r),ae(e)&&n.set(e,l),l)}function ws(e,t){return!e||!ps(t)?!1:(t=t.slice(2).replace(/Once$/,""),Z(e,t[0].toLowerCase()+t.slice(1))||Z(e,Rt(t))||Z(e,t))}let Ae=null,Ki=null;function cs(e){const t=Ae;return Ae=e,Ki=e&&e.type.__scopeId||null,t}function Rl(e,t=Ae,s){if(!t||e._n)return e;const n=(...i)=>{n._d&&jn(-1);const r=cs(t);let l;try{l=e(...i)}finally{cs(r),n._d&&jn(1)}return l};return n._n=!0,n._c=!0,n._d=!0,n}function Ts(e){const{type:t,vnode:s,proxy:n,withProxy:i,props:r,propsOptions:[l],slots:o,attrs:a,emit:u,render:f,renderCache:d,data:p,setupState:w,ctx:F,inheritAttrs:L}=e;let I,O;const m=cs(e);try{if(s.shapeFlag&4){const A=i||n;I=Ue(f.call(A,A,d,r,w,p,F)),O=a}else{const A=t;I=Ue(A.length>1?A(r,{attrs:a,slots:o,emit:u}):A(r,null)),O=t.props?a:Pl(a)}}catch(A){Bt.length=0,ys(A,e,1),I=be(lt)}let g=I;if(O&&L!==!1){const A=Object.keys(O),{shapeFlag:_}=g;A.length&&_&7&&(l&&A.some(Zs)&&(O=Ll(O,l)),g=Ct(g,O))}return s.dirs&&(g=Ct(g),g.dirs=g.dirs?g.dirs.concat(s.dirs):s.dirs),s.transition&&(g.transition=s.transition),I=g,cs(m),I}const Pl=e=>{let t;for(const s in e)(s==="class"||s==="style"||ps(s))&&((t||(t={}))[s]=e[s]);return t},Ll=(e,t)=>{const s={};for(const n in e)(!Zs(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function Fl(e,t,s){const{props:n,children:i,component:r}=e,{props:l,children:o,patchFlag:a}=t,u=r.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&a>=0){if(a&1024)return!0;if(a&16)return n?kn(n,l,u):!!l;if(a&8){const f=t.dynamicProps;for(let d=0;d<f.length;d++){const p=f[d];if(l[p]!==n[p]&&!ws(u,p))return!0}}}else return(i||o)&&(!o||!o.$stable)?!0:n===l?!1:n?l?kn(n,l,u):!0:!!l;return!1}function kn(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let i=0;i<n.length;i++){const r=n[i];if(t[r]!==e[r]&&!ws(s,r))return!0}return!1}function kl({vnode:e,parent:t},s){for(;t&&t.subTree===e;)(e=t.vnode).el=s,t=t.parent}const Il=e=>e.__isSuspense;function Dl(e,t){t&&t.pendingBranch?Y(e)?t.effects.push(...e):t.effects.push(e):Sl(e)}function ss(e,t){if(pe){let s=pe.provides;const n=pe.parent&&pe.parent.provides;n===s&&(s=pe.provides=Object.create(n)),s[e]=t}}function qe(e,t,s=!1){const n=pe||Ae;if(n){const i=n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides;if(i&&e in i)return i[e];if(arguments.length>1)return s&&q(t)?t.call(n.proxy):t}}const es={};function ns(e,t,s){return Yi(e,t,s)}function Yi(e,t,{immediate:s,deep:n,flush:i,onTrack:r,onTrigger:l}=oe){const o=pe;let a,u=!1,f=!1;if(ve(e)?(a=()=>e.value,u=as(e)):At(e)?(a=()=>e,n=!0):Y(e)?(f=!0,u=e.some(g=>At(g)||as(g)),a=()=>e.map(g=>{if(ve(g))return g.value;if(At(g))return bt(g);if(q(g))return it(g,o,2)})):q(e)?t?a=()=>it(e,o,2):a=()=>{if(!(o&&o.isUnmounted))return d&&d(),Ie(e,o,3,[p])}:a=ke,t&&n){const g=a;a=()=>bt(g())}let d,p=g=>{d=O.onStop=()=>{it(g,o,4)}},w;if(Kt)if(p=ke,t?s&&Ie(t,o,3,[a(),f?[]:void 0,p]):a(),i==="sync"){const g=Fo();w=g.__watcherHandles||(g.__watcherHandles=[])}else return ke;let F=f?new Array(e.length).fill(es):es;const L=()=>{if(!!O.active)if(t){const g=O.run();(n||u||(f?g.some((A,_)=>jt(A,F[_])):jt(g,F)))&&(d&&d(),Ie(t,o,3,[g,F===es?void 0:f&&F[0]===es?[]:F,p]),F=g)}else O.run()};L.allowRecurse=!!t;let I;i==="sync"?I=L:i==="post"?I=()=>_e(L,o&&o.suspense):(L.pre=!0,o&&(L.id=o.uid),I=()=>fn(L));const O=new nn(a,I);t?s?L():F=O.run():i==="post"?_e(O.run.bind(O),o&&o.suspense):O.run();const m=()=>{O.stop(),o&&o.scope&&Xs(o.scope.effects,O)};return w&&w.push(m),m}function Ml(e,t,s){const n=this.proxy,i=de(e)?e.includes(".")?qi(n,e):()=>n[e]:e.bind(n,n);let r;q(t)?r=t:(r=t.handler,s=t);const l=pe;St(this);const o=Yi(i,r.bind(n),s);return l?St(l):pt(),o}function qi(e,t){const s=t.split(".");return()=>{let n=e;for(let i=0;i<s.length&&n;i++)n=n[s[i]];return n}}function bt(e,t){if(!ae(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),ve(e))bt(e.value,t);else if(Y(e))for(let s=0;s<e.length;s++)bt(e[s],t);else if(vi(e)||wt(e))e.forEach(s=>{bt(s,t)});else if(wi(e))for(const s in e)bt(e[s],t);return e}function hn(e){return q(e)?{setup:e,name:e.name}:e}const Mt=e=>!!e.type.__asyncLoader,Qi=e=>e.type.__isKeepAlive;function Nl(e,t){Gi(e,"a",t)}function Bl(e,t){Gi(e,"da",t)}function Gi(e,t,s=pe){const n=e.__wdc||(e.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(As(t,n,s),s){let i=s.parent;for(;i&&i.parent;)Qi(i.parent.vnode)&&Hl(n,t,s,i),i=i.parent}}function Hl(e,t,s,n){const i=As(t,e,n,!0);Ji(()=>{Xs(n[t],i)},s)}function As(e,t,s=pe,n=!1){if(s){const i=s[e]||(s[e]=[]),r=t.__weh||(t.__weh=(...l)=>{if(s.isUnmounted)return;Pt(),St(s);const o=Ie(t,s,e,l);return pt(),Lt(),o});return n?i.unshift(r):i.push(r),r}}const Ge=e=>(t,s=pe)=>(!Kt||e==="sp")&&As(e,(...n)=>t(...n),s),Ul=Ge("bm"),jl=Ge("m"),$l=Ge("bu"),Vl=Ge("u"),zl=Ge("bum"),Ji=Ge("um"),Wl=Ge("sp"),Kl=Ge("rtg"),Yl=Ge("rtc");function ql(e,t=pe){As("ec",e,t)}function at(e,t,s,n){const i=e.dirs,r=t&&t.dirs;for(let l=0;l<i.length;l++){const o=i[l];r&&(o.oldValue=r[l].value);let a=o.dir[n];a&&(Pt(),Ie(a,s,8,[e.el,o,e,t]),Lt())}}const Zi="components";function Ql(e,t){return Jl(Zi,e,!0,t)||e}const Gl=Symbol();function Jl(e,t,s=!0,n=!1){const i=Ae||pe;if(i){const r=i.type;if(e===Zi){const o=Ro(r,!1);if(o&&(o===t||o===$e(t)||o===vs($e(t))))return r}const l=In(i[e]||r[e],t)||In(i.appContext[e],t);return!l&&n?r:l}}function In(e,t){return e&&(e[t]||e[$e(t)]||e[vs($e(t))])}function Tc(e,t,s,n){let i;const r=s&&s[n];if(Y(e)||de(e)){i=new Array(e.length);for(let l=0,o=e.length;l<o;l++)i[l]=t(e[l],l,void 0,r&&r[l])}else if(typeof e=="number"){i=new Array(e);for(let l=0;l<e;l++)i[l]=t(l+1,l,void 0,r&&r[l])}else if(ae(e))if(e[Symbol.iterator])i=Array.from(e,(l,o)=>t(l,o,void 0,r&&r[o]));else{const l=Object.keys(e);i=new Array(l.length);for(let o=0,a=l.length;o<a;o++){const u=l[o];i[o]=t(e[u],u,o,r&&r[o])}}else i=[];return s&&(s[n]=i),i}function Rc(e,t,s={},n,i){if(Ae.isCE||Ae.parent&&Mt(Ae.parent)&&Ae.parent.isCE)return t!=="default"&&(s.name=t),be("slot",s,n&&n());let r=e[t];r&&r._c&&(r._d=!1),gn();const l=r&&Xi(r(s)),o=cr(Te,{key:s.key||l&&l.key||`_${t}`},l||(n?n():[]),l&&e._===1?64:-2);return!i&&o.scopeId&&(o.slotScopeIds=[o.scopeId+"-s"]),r&&r._c&&(r._d=!0),o}function Xi(e){return e.some(t=>fs(t)?!(t.type===lt||t.type===Te&&!Xi(t.children)):!0)?e:null}const Us=e=>e?fr(e)?vn(e)||e.proxy:Us(e.parent):null,Nt=Ee(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Us(e.parent),$root:e=>Us(e.root),$emit:e=>e.emit,$options:e=>dn(e),$forceUpdate:e=>e.f||(e.f=()=>fn(e.update)),$nextTick:e=>e.n||(e.n=ji.bind(e.proxy)),$watch:e=>Ml.bind(e)}),Rs=(e,t)=>e!==oe&&!e.__isScriptSetup&&Z(e,t),Zl={get({_:e},t){const{ctx:s,setupState:n,data:i,props:r,accessCache:l,type:o,appContext:a}=e;let u;if(t[0]!=="$"){const w=l[t];if(w!==void 0)switch(w){case 1:return n[t];case 2:return i[t];case 4:return s[t];case 3:return r[t]}else{if(Rs(n,t))return l[t]=1,n[t];if(i!==oe&&Z(i,t))return l[t]=2,i[t];if((u=e.propsOptions[0])&&Z(u,t))return l[t]=3,r[t];if(s!==oe&&Z(s,t))return l[t]=4,s[t];js&&(l[t]=0)}}const f=Nt[t];let d,p;if(f)return t==="$attrs"&&Oe(e,"get",t),f(e);if((d=o.__cssModules)&&(d=d[t]))return d;if(s!==oe&&Z(s,t))return l[t]=4,s[t];if(p=a.config.globalProperties,Z(p,t))return p[t]},set({_:e},t,s){const{data:n,setupState:i,ctx:r}=e;return Rs(i,t)?(i[t]=s,!0):n!==oe&&Z(n,t)?(n[t]=s,!0):Z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:i,propsOptions:r}},l){let o;return!!s[l]||e!==oe&&Z(e,l)||Rs(t,l)||(o=r[0])&&Z(o,l)||Z(n,l)||Z(Nt,l)||Z(i.config.globalProperties,l)},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:Z(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};let js=!0;function Xl(e){const t=dn(e),s=e.proxy,n=e.ctx;js=!1,t.beforeCreate&&Dn(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:l,watch:o,provide:a,inject:u,created:f,beforeMount:d,mounted:p,beforeUpdate:w,updated:F,activated:L,deactivated:I,beforeDestroy:O,beforeUnmount:m,destroyed:g,unmounted:A,render:_,renderTracked:C,renderTriggered:N,errorCaptured:W,serverPrefetch:H,expose:J,inheritAttrs:le,components:he,directives:Ve,filters:Me}=t;if(u&&eo(u,n,null,e.appContext.config.unwrapInjectedRef),l)for(const ee in l){const V=l[ee];q(V)&&(n[ee]=V.bind(s))}if(i){const ee=i.call(s,s);ae(ee)&&(e.data=qt(ee))}if(js=!0,r)for(const ee in r){const V=r[ee],ue=q(V)?V.bind(s,s):q(V.get)?V.get.bind(s,s):ke,xe=!q(V)&&q(V.set)?V.set.bind(s):ke,ge=Re({get:ue,set:xe});Object.defineProperty(n,ee,{enumerable:!0,configurable:!0,get:()=>ge.value,set:ie=>ge.value=ie})}if(o)for(const ee in o)er(o[ee],n,s,ee);if(a){const ee=q(a)?a.call(s):a;Reflect.ownKeys(ee).forEach(V=>{ss(V,ee[V])})}f&&Dn(f,e,"c");function ce(ee,V){Y(V)?V.forEach(ue=>ee(ue.bind(s))):V&&ee(V.bind(s))}if(ce(Ul,d),ce(jl,p),ce($l,w),ce(Vl,F),ce(Nl,L),ce(Bl,I),ce(ql,W),ce(Yl,C),ce(Kl,N),ce(zl,m),ce(Ji,A),ce(Wl,H),Y(J))if(J.length){const ee=e.exposed||(e.exposed={});J.forEach(V=>{Object.defineProperty(ee,V,{get:()=>s[V],set:ue=>s[V]=ue})})}else e.exposed||(e.exposed={});_&&e.render===ke&&(e.render=_),le!=null&&(e.inheritAttrs=le),he&&(e.components=he),Ve&&(e.directives=Ve)}function eo(e,t,s=ke,n=!1){Y(e)&&(e=$s(e));for(const i in e){const r=e[i];let l;ae(r)?"default"in r?l=qe(r.from||i,r.default,!0):l=qe(r.from||i):l=qe(r),ve(l)&&n?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>l.value,set:o=>l.value=o}):t[i]=l}}function Dn(e,t,s){Ie(Y(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function er(e,t,s,n){const i=n.includes(".")?qi(s,n):()=>s[n];if(de(e)){const r=t[e];q(r)&&ns(i,r)}else if(q(e))ns(i,e.bind(s));else if(ae(e))if(Y(e))e.forEach(r=>er(r,t,s,n));else{const r=q(e.handler)?e.handler.bind(s):t[e.handler];q(r)&&ns(i,r,e)}}function dn(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:l}}=e.appContext,o=r.get(t);let a;return o?a=o:!i.length&&!s&&!n?a=t:(a={},i.length&&i.forEach(u=>us(a,u,l,!0)),us(a,t,l)),ae(t)&&r.set(t,a),a}function us(e,t,s,n=!1){const{mixins:i,extends:r}=t;r&&us(e,r,s,!0),i&&i.forEach(l=>us(e,l,s,!0));for(const l in t)if(!(n&&l==="expose")){const o=to[l]||s&&s[l];e[l]=o?o(e[l],t[l]):t[l]}return e}const to={data:Mn,props:ut,emits:ut,methods:ut,computed:ut,beforeCreate:ye,created:ye,beforeMount:ye,mounted:ye,beforeUpdate:ye,updated:ye,beforeDestroy:ye,beforeUnmount:ye,destroyed:ye,unmounted:ye,activated:ye,deactivated:ye,errorCaptured:ye,serverPrefetch:ye,components:ut,directives:ut,watch:no,provide:Mn,inject:so};function Mn(e,t){return t?e?function(){return Ee(q(e)?e.call(this,this):e,q(t)?t.call(this,this):t)}:t:e}function so(e,t){return ut($s(e),$s(t))}function $s(e){if(Y(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function ye(e,t){return e?[...new Set([].concat(e,t))]:t}function ut(e,t){return e?Ee(Ee(Object.create(null),e),t):t}function no(e,t){if(!e)return t;if(!t)return e;const s=Ee(Object.create(null),e);for(const n in t)s[n]=ye(e[n],t[n]);return s}function io(e,t,s,n=!1){const i={},r={};os(r,xs,1),e.propsDefaults=Object.create(null),tr(e,t,i,r);for(const l in e.propsOptions[0])l in i||(i[l]=void 0);s?e.props=n?i:ml(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function ro(e,t,s,n){const{props:i,attrs:r,vnode:{patchFlag:l}}=e,o=X(i),[a]=e.propsOptions;let u=!1;if((n||l>0)&&!(l&16)){if(l&8){const f=e.vnode.dynamicProps;for(let d=0;d<f.length;d++){let p=f[d];if(ws(e.emitsOptions,p))continue;const w=t[p];if(a)if(Z(r,p))w!==r[p]&&(r[p]=w,u=!0);else{const F=$e(p);i[F]=Vs(a,o,F,w,e,!1)}else w!==r[p]&&(r[p]=w,u=!0)}}}else{tr(e,t,i,r)&&(u=!0);let f;for(const d in o)(!t||!Z(t,d)&&((f=Rt(d))===d||!Z(t,f)))&&(a?s&&(s[d]!==void 0||s[f]!==void 0)&&(i[d]=Vs(a,o,d,void 0,e,!0)):delete i[d]);if(r!==o)for(const d in r)(!t||!Z(t,d)&&!0)&&(delete r[d],u=!0)}u&&Qe(e,"set","$attrs")}function tr(e,t,s,n){const[i,r]=e.propsOptions;let l=!1,o;if(t)for(let a in t){if(ts(a))continue;const u=t[a];let f;i&&Z(i,f=$e(a))?!r||!r.includes(f)?s[f]=u:(o||(o={}))[f]=u:ws(e.emitsOptions,a)||(!(a in n)||u!==n[a])&&(n[a]=u,l=!0)}if(r){const a=X(s),u=o||oe;for(let f=0;f<r.length;f++){const d=r[f];s[d]=Vs(i,a,d,u[d],e,!Z(u,d))}}return l}function Vs(e,t,s,n,i,r){const l=e[s];if(l!=null){const o=Z(l,"default");if(o&&n===void 0){const a=l.default;if(l.type!==Function&&q(a)){const{propsDefaults:u}=i;s in u?n=u[s]:(St(i),n=u[s]=a.call(null,t),pt())}else n=a}l[0]&&(r&&!o?n=!1:l[1]&&(n===""||n===Rt(s))&&(n=!0))}return n}function sr(e,t,s=!1){const n=t.propsCache,i=n.get(e);if(i)return i;const r=e.props,l={},o=[];let a=!1;if(!q(e)){const f=d=>{a=!0;const[p,w]=sr(d,t,!0);Ee(l,p),w&&o.push(...w)};!s&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!r&&!a)return ae(e)&&n.set(e,yt),yt;if(Y(r))for(let f=0;f<r.length;f++){const d=$e(r[f]);Nn(d)&&(l[d]=oe)}else if(r)for(const f in r){const d=$e(f);if(Nn(d)){const p=r[f],w=l[d]=Y(p)||q(p)?{type:p}:Object.assign({},p);if(w){const F=Un(Boolean,w.type),L=Un(String,w.type);w[0]=F>-1,w[1]=L<0||F<L,(F>-1||Z(w,"default"))&&o.push(d)}}}const u=[l,o];return ae(e)&&n.set(e,u),u}function Nn(e){return e[0]!=="$"}function Bn(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Hn(e,t){return Bn(e)===Bn(t)}function Un(e,t){return Y(t)?t.findIndex(s=>Hn(s,e)):q(t)&&Hn(t,e)?0:-1}const nr=e=>e[0]==="_"||e==="$stable",pn=e=>Y(e)?e.map(Ue):[Ue(e)],lo=(e,t,s)=>{if(t._n)return t;const n=Rl((...i)=>pn(t(...i)),s);return n._c=!1,n},ir=(e,t,s)=>{const n=e._ctx;for(const i in e){if(nr(i))continue;const r=e[i];if(q(r))t[i]=lo(i,r,n);else if(r!=null){const l=pn(r);t[i]=()=>l}}},rr=(e,t)=>{const s=pn(t);e.slots.default=()=>s},oo=(e,t)=>{if(e.vnode.shapeFlag&32){const s=t._;s?(e.slots=X(t),os(t,"_",s)):ir(t,e.slots={})}else e.slots={},t&&rr(e,t);os(e.slots,xs,1)},ao=(e,t,s)=>{const{vnode:n,slots:i}=e;let r=!0,l=oe;if(n.shapeFlag&32){const o=t._;o?s&&o===1?r=!1:(Ee(i,t),!s&&o===1&&delete i._):(r=!t.$stable,ir(t,i)),l=t}else t&&(rr(e,t),l={default:1});if(r)for(const o in i)!nr(o)&&!(o in l)&&delete i[o]};function lr(){return{app:null,config:{isNativeTag:Mr,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let co=0;function uo(e,t){return function(n,i=null){q(n)||(n=Object.assign({},n)),i!=null&&!ae(i)&&(i=null);const r=lr(),l=new Set;let o=!1;const a=r.app={_uid:co++,_component:n,_props:i,_container:null,_context:r,_instance:null,version:ko,get config(){return r.config},set config(u){},use(u,...f){return l.has(u)||(u&&q(u.install)?(l.add(u),u.install(a,...f)):q(u)&&(l.add(u),u(a,...f))),a},mixin(u){return r.mixins.includes(u)||r.mixins.push(u),a},component(u,f){return f?(r.components[u]=f,a):r.components[u]},directive(u,f){return f?(r.directives[u]=f,a):r.directives[u]},mount(u,f,d){if(!o){const p=be(n,i);return p.appContext=r,f&&t?t(p,u):e(p,u,d),o=!0,a._container=u,u.__vue_app__=a,vn(p.component)||p.component.proxy}},unmount(){o&&(e(null,a._container),delete a._container.__vue_app__)},provide(u,f){return r.provides[u]=f,a}};return a}}function zs(e,t,s,n,i=!1){if(Y(e)){e.forEach((p,w)=>zs(p,t&&(Y(t)?t[w]:t),s,n,i));return}if(Mt(n)&&!i)return;const r=n.shapeFlag&4?vn(n.component)||n.component.proxy:n.el,l=i?null:r,{i:o,r:a}=e,u=t&&t.r,f=o.refs===oe?o.refs={}:o.refs,d=o.setupState;if(u!=null&&u!==a&&(de(u)?(f[u]=null,Z(d,u)&&(d[u]=null)):ve(u)&&(u.value=null)),q(a))it(a,o,12,[l,f]);else{const p=de(a),w=ve(a);if(p||w){const F=()=>{if(e.f){const L=p?Z(d,a)?d[a]:f[a]:a.value;i?Y(L)&&Xs(L,r):Y(L)?L.includes(r)||L.push(r):p?(f[a]=[r],Z(d,a)&&(d[a]=f[a])):(a.value=[r],e.k&&(f[e.k]=a.value))}else p?(f[a]=l,Z(d,a)&&(d[a]=l)):w&&(a.value=l,e.k&&(f[e.k]=l))};l?(F.id=-1,_e(F,s)):F()}}}const _e=Dl;function fo(e){return ho(e)}function ho(e,t){const s=$r();s.__VUE__=!0;const{insert:n,remove:i,patchProp:r,createElement:l,createText:o,createComment:a,setText:u,setElementText:f,parentNode:d,nextSibling:p,setScopeId:w=ke,insertStaticContent:F}=e,L=(c,h,v,b=null,E=null,T=null,D=!1,S=null,P=!!h.dynamicChildren)=>{if(c===h)return;c&&!kt(c,h)&&(b=R(c),ie(c,E,T,!0),c=null),h.patchFlag===-2&&(P=!1,h.dynamicChildren=null);const{type:x,ref:j,shapeFlag:B}=h;switch(x){case Es:I(c,h,v,b);break;case lt:O(c,h,v,b);break;case is:c==null&&m(h,v,b,D);break;case Te:he(c,h,v,b,E,T,D,S,P);break;default:B&1?_(c,h,v,b,E,T,D,S,P):B&6?Ve(c,h,v,b,E,T,D,S,P):(B&64||B&128)&&x.process(c,h,v,b,E,T,D,S,P,Q)}j!=null&&E&&zs(j,c&&c.ref,T,h||c,!h)},I=(c,h,v,b)=>{if(c==null)n(h.el=o(h.children),v,b);else{const E=h.el=c.el;h.children!==c.children&&u(E,h.children)}},O=(c,h,v,b)=>{c==null?n(h.el=a(h.children||""),v,b):h.el=c.el},m=(c,h,v,b)=>{[c.el,c.anchor]=F(c.children,h,v,b,c.el,c.anchor)},g=({el:c,anchor:h},v,b)=>{let E;for(;c&&c!==h;)E=p(c),n(c,v,b),c=E;n(h,v,b)},A=({el:c,anchor:h})=>{let v;for(;c&&c!==h;)v=p(c),i(c),c=v;i(h)},_=(c,h,v,b,E,T,D,S,P)=>{D=D||h.type==="svg",c==null?C(h,v,b,E,T,D,S,P):H(c,h,E,T,D,S,P)},C=(c,h,v,b,E,T,D,S)=>{let P,x;const{type:j,props:B,shapeFlag:$,transition:z,dirs:G}=c;if(P=c.el=l(c.type,T,B&&B.is,B),$&8?f(P,c.children):$&16&&W(c.children,P,null,b,E,T&&j!=="foreignObject",D,S),G&&at(c,null,b,"created"),B){for(const se in B)se!=="value"&&!ts(se)&&r(P,se,null,B[se],T,c.children,b,E,k);"value"in B&&r(P,"value",null,B.value),(x=B.onVnodeBeforeMount)&&Be(x,b,c)}N(P,c,c.scopeId,D,b),G&&at(c,null,b,"beforeMount");const re=(!E||E&&!E.pendingBranch)&&z&&!z.persisted;re&&z.beforeEnter(P),n(P,h,v),((x=B&&B.onVnodeMounted)||re||G)&&_e(()=>{x&&Be(x,b,c),re&&z.enter(P),G&&at(c,null,b,"mounted")},E)},N=(c,h,v,b,E)=>{if(v&&w(c,v),b)for(let T=0;T<b.length;T++)w(c,b[T]);if(E){let T=E.subTree;if(h===T){const D=E.vnode;N(c,D,D.scopeId,D.slotScopeIds,E.parent)}}},W=(c,h,v,b,E,T,D,S,P=0)=>{for(let x=P;x<c.length;x++){const j=c[x]=S?tt(c[x]):Ue(c[x]);L(null,j,h,v,b,E,T,D,S)}},H=(c,h,v,b,E,T,D)=>{const S=h.el=c.el;let{patchFlag:P,dynamicChildren:x,dirs:j}=h;P|=c.patchFlag&16;const B=c.props||oe,$=h.props||oe;let z;v&&ct(v,!1),(z=$.onVnodeBeforeUpdate)&&Be(z,v,h,c),j&&at(h,c,v,"beforeUpdate"),v&&ct(v,!0);const G=E&&h.type!=="foreignObject";if(x?J(c.dynamicChildren,x,S,v,b,G,T):D||V(c,h,S,null,v,b,G,T,!1),P>0){if(P&16)le(S,h,B,$,v,b,E);else if(P&2&&B.class!==$.class&&r(S,"class",null,$.class,E),P&4&&r(S,"style",B.style,$.style,E),P&8){const re=h.dynamicProps;for(let se=0;se<re.length;se++){const fe=re[se],Pe=B[fe],gt=$[fe];(gt!==Pe||fe==="value")&&r(S,fe,Pe,gt,E,c.children,v,b,k)}}P&1&&c.children!==h.children&&f(S,h.children)}else!D&&x==null&&le(S,h,B,$,v,b,E);((z=$.onVnodeUpdated)||j)&&_e(()=>{z&&Be(z,v,h,c),j&&at(h,c,v,"updated")},b)},J=(c,h,v,b,E,T,D)=>{for(let S=0;S<h.length;S++){const P=c[S],x=h[S],j=P.el&&(P.type===Te||!kt(P,x)||P.shapeFlag&70)?d(P.el):v;L(P,x,j,null,b,E,T,D,!0)}},le=(c,h,v,b,E,T,D)=>{if(v!==b){if(v!==oe)for(const S in v)!ts(S)&&!(S in b)&&r(c,S,v[S],null,D,h.children,E,T,k);for(const S in b){if(ts(S))continue;const P=b[S],x=v[S];P!==x&&S!=="value"&&r(c,S,x,P,D,h.children,E,T,k)}"value"in b&&r(c,"value",v.value,b.value)}},he=(c,h,v,b,E,T,D,S,P)=>{const x=h.el=c?c.el:o(""),j=h.anchor=c?c.anchor:o("");let{patchFlag:B,dynamicChildren:$,slotScopeIds:z}=h;z&&(S=S?S.concat(z):z),c==null?(n(x,v,b),n(j,v,b),W(h.children,v,j,E,T,D,S,P)):B>0&&B&64&&$&&c.dynamicChildren?(J(c.dynamicChildren,$,v,E,T,D,S),(h.key!=null||E&&h===E.subTree)&&or(c,h,!0)):V(c,h,v,j,E,T,D,S,P)},Ve=(c,h,v,b,E,T,D,S,P)=>{h.slotScopeIds=S,c==null?h.shapeFlag&512?E.ctx.activate(h,v,b,D,P):Me(h,v,b,E,T,D,P):ot(c,h,P)},Me=(c,h,v,b,E,T,D)=>{const S=c.component=_o(c,b,E);if(Qi(c)&&(S.ctx.renderer=Q),Co(S),S.asyncDep){if(E&&E.registerDep(S,ce),!c.el){const P=S.subTree=be(lt);O(null,P,h,v)}return}ce(S,c,h,v,E,T,D)},ot=(c,h,v)=>{const b=h.component=c.component;if(Fl(c,h,v))if(b.asyncDep&&!b.asyncResolved){ee(b,h,v);return}else b.next=h,Cl(b.update),b.update();else h.el=c.el,b.vnode=h},ce=(c,h,v,b,E,T,D)=>{const S=()=>{if(c.isMounted){let{next:j,bu:B,u:$,parent:z,vnode:G}=c,re=j,se;ct(c,!1),j?(j.el=G.el,ee(c,j,D)):j=G,B&&Os(B),(se=j.props&&j.props.onVnodeBeforeUpdate)&&Be(se,z,j,G),ct(c,!0);const fe=Ts(c),Pe=c.subTree;c.subTree=fe,L(Pe,fe,d(Pe.el),R(Pe),c,E,T),j.el=fe.el,re===null&&kl(c,fe.el),$&&_e($,E),(se=j.props&&j.props.onVnodeUpdated)&&_e(()=>Be(se,z,j,G),E)}else{let j;const{el:B,props:$}=h,{bm:z,m:G,parent:re}=c,se=Mt(h);if(ct(c,!1),z&&Os(z),!se&&(j=$&&$.onVnodeBeforeMount)&&Be(j,re,h),ct(c,!0),B&&K){const fe=()=>{c.subTree=Ts(c),K(B,c.subTree,c,E,null)};se?h.type.__asyncLoader().then(()=>!c.isUnmounted&&fe()):fe()}else{const fe=c.subTree=Ts(c);L(null,fe,v,b,c,E,T),h.el=fe.el}if(G&&_e(G,E),!se&&(j=$&&$.onVnodeMounted)){const fe=h;_e(()=>Be(j,re,fe),E)}(h.shapeFlag&256||re&&Mt(re.vnode)&&re.vnode.shapeFlag&256)&&c.a&&_e(c.a,E),c.isMounted=!0,h=v=b=null}},P=c.effect=new nn(S,()=>fn(x),c.scope),x=c.update=()=>P.run();x.id=c.uid,ct(c,!0),x()},ee=(c,h,v)=>{h.component=c;const b=c.vnode.props;c.vnode=h,c.next=null,ro(c,h.props,b,v),ao(c,h.children,v),Pt(),Fn(),Lt()},V=(c,h,v,b,E,T,D,S,P=!1)=>{const x=c&&c.children,j=c?c.shapeFlag:0,B=h.children,{patchFlag:$,shapeFlag:z}=h;if($>0){if($&128){xe(x,B,v,b,E,T,D,S,P);return}else if($&256){ue(x,B,v,b,E,T,D,S,P);return}}z&8?(j&16&&k(x,E,T),B!==x&&f(v,B)):j&16?z&16?xe(x,B,v,b,E,T,D,S,P):k(x,E,T,!0):(j&8&&f(v,""),z&16&&W(B,v,b,E,T,D,S,P))},ue=(c,h,v,b,E,T,D,S,P)=>{c=c||yt,h=h||yt;const x=c.length,j=h.length,B=Math.min(x,j);let $;for($=0;$<B;$++){const z=h[$]=P?tt(h[$]):Ue(h[$]);L(c[$],z,v,null,E,T,D,S,P)}x>j?k(c,E,T,!0,!1,B):W(h,v,b,E,T,D,S,P,B)},xe=(c,h,v,b,E,T,D,S,P)=>{let x=0;const j=h.length;let B=c.length-1,$=j-1;for(;x<=B&&x<=$;){const z=c[x],G=h[x]=P?tt(h[x]):Ue(h[x]);if(kt(z,G))L(z,G,v,null,E,T,D,S,P);else break;x++}for(;x<=B&&x<=$;){const z=c[B],G=h[$]=P?tt(h[$]):Ue(h[$]);if(kt(z,G))L(z,G,v,null,E,T,D,S,P);else break;B--,$--}if(x>B){if(x<=$){const z=$+1,G=z<j?h[z].el:b;for(;x<=$;)L(null,h[x]=P?tt(h[x]):Ue(h[x]),v,G,E,T,D,S,P),x++}}else if(x>$)for(;x<=B;)ie(c[x],E,T,!0),x++;else{const z=x,G=x,re=new Map;for(x=G;x<=$;x++){const Se=h[x]=P?tt(h[x]):Ue(h[x]);Se.key!=null&&re.set(Se.key,x)}let se,fe=0;const Pe=$-G+1;let gt=!1,An=0;const Ft=new Array(Pe);for(x=0;x<Pe;x++)Ft[x]=0;for(x=z;x<=B;x++){const Se=c[x];if(fe>=Pe){ie(Se,E,T,!0);continue}let Ne;if(Se.key!=null)Ne=re.get(Se.key);else for(se=G;se<=$;se++)if(Ft[se-G]===0&&kt(Se,h[se])){Ne=se;break}Ne===void 0?ie(Se,E,T,!0):(Ft[Ne-G]=x+1,Ne>=An?An=Ne:gt=!0,L(Se,h[Ne],v,null,E,T,D,S,P),fe++)}const En=gt?po(Ft):yt;for(se=En.length-1,x=Pe-1;x>=0;x--){const Se=G+x,Ne=h[Se],xn=Se+1<j?h[Se+1].el:b;Ft[x]===0?L(null,Ne,v,xn,E,T,D,S,P):gt&&(se<0||x!==En[se]?ge(Ne,v,xn,2):se--)}}},ge=(c,h,v,b,E=null)=>{const{el:T,type:D,transition:S,children:P,shapeFlag:x}=c;if(x&6){ge(c.component.subTree,h,v,b);return}if(x&128){c.suspense.move(h,v,b);return}if(x&64){D.move(c,h,v,Q);return}if(D===Te){n(T,h,v);for(let B=0;B<P.length;B++)ge(P[B],h,v,b);n(c.anchor,h,v);return}if(D===is){g(c,h,v);return}if(b!==2&&x&1&&S)if(b===0)S.beforeEnter(T),n(T,h,v),_e(()=>S.enter(T),E);else{const{leave:B,delayLeave:$,afterLeave:z}=S,G=()=>n(T,h,v),re=()=>{B(T,()=>{G(),z&&z()})};$?$(T,G,re):re()}else n(T,h,v)},ie=(c,h,v,b=!1,E=!1)=>{const{type:T,props:D,ref:S,children:P,dynamicChildren:x,shapeFlag:j,patchFlag:B,dirs:$}=c;if(S!=null&&zs(S,null,v,c,!0),j&256){h.ctx.deactivate(c);return}const z=j&1&&$,G=!Mt(c);let re;if(G&&(re=D&&D.onVnodeBeforeUnmount)&&Be(re,h,c),j&6)y(c.component,v,b);else{if(j&128){c.suspense.unmount(v,b);return}z&&at(c,null,h,"beforeUnmount"),j&64?c.type.remove(c,h,v,E,Q,b):x&&(T!==Te||B>0&&B&64)?k(x,h,v,!1,!0):(T===Te&&B&384||!E&&j&16)&&k(P,h,v),b&&Je(c)}(G&&(re=D&&D.onVnodeUnmounted)||z)&&_e(()=>{re&&Be(re,h,c),z&&at(c,null,h,"unmounted")},v)},Je=c=>{const{type:h,el:v,anchor:b,transition:E}=c;if(h===Te){Ce(v,b);return}if(h===is){A(c);return}const T=()=>{i(v),E&&!E.persisted&&E.afterLeave&&E.afterLeave()};if(c.shapeFlag&1&&E&&!E.persisted){const{leave:D,delayLeave:S}=E,P=()=>D(v,T);S?S(c.el,T,P):P()}else T()},Ce=(c,h)=>{let v;for(;c!==h;)v=p(c),i(c),c=v;i(h)},y=(c,h,v)=>{const{bum:b,scope:E,update:T,subTree:D,um:S}=c;b&&Os(b),E.stop(),T&&(T.active=!1,ie(D,c,h,v)),S&&_e(S,h),_e(()=>{c.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},k=(c,h,v,b=!1,E=!1,T=0)=>{for(let D=T;D<c.length;D++)ie(c[D],h,v,b,E)},R=c=>c.shapeFlag&6?R(c.component.subTree):c.shapeFlag&128?c.suspense.next():p(c.anchor||c.el),U=(c,h,v)=>{c==null?h._vnode&&ie(h._vnode,null,null,!0):L(h._vnode||null,c,h,null,null,null,v),Fn(),Vi(),h._vnode=c},Q={p:L,um:ie,m:ge,r:Je,mt:Me,mc:W,pc:V,pbc:J,n:R,o:e};let ne,K;return t&&([ne,K]=t(Q)),{render:U,hydrate:ne,createApp:uo(U,ne)}}function ct({effect:e,update:t},s){e.allowRecurse=t.allowRecurse=s}function or(e,t,s=!1){const n=e.children,i=t.children;if(Y(n)&&Y(i))for(let r=0;r<n.length;r++){const l=n[r];let o=i[r];o.shapeFlag&1&&!o.dynamicChildren&&((o.patchFlag<=0||o.patchFlag===32)&&(o=i[r]=tt(i[r]),o.el=l.el),s||or(l,o)),o.type===Es&&(o.el=l.el)}}function po(e){const t=e.slice(),s=[0];let n,i,r,l,o;const a=e.length;for(n=0;n<a;n++){const u=e[n];if(u!==0){if(i=s[s.length-1],e[i]<u){t[n]=i,s.push(n);continue}for(r=0,l=s.length-1;r<l;)o=r+l>>1,e[s[o]]<u?r=o+1:l=o;u<e[s[r]]&&(r>0&&(t[n]=s[r-1]),s[r]=n)}}for(r=s.length,l=s[r-1];r-- >0;)s[r]=l,l=t[l];return s}const go=e=>e.__isTeleport,Te=Symbol(void 0),Es=Symbol(void 0),lt=Symbol(void 0),is=Symbol(void 0),Bt=[];let Fe=null;function gn(e=!1){Bt.push(Fe=e?null:[])}function mo(){Bt.pop(),Fe=Bt[Bt.length-1]||null}let Wt=1;function jn(e){Wt+=e}function ar(e){return e.dynamicChildren=Wt>0?Fe||yt:null,mo(),Wt>0&&Fe&&Fe.push(e),e}function vo(e,t,s,n,i,r){return ar(Ye(e,t,s,n,i,r,!0))}function cr(e,t,s,n,i){return ar(be(e,t,s,n,i,!0))}function fs(e){return e?e.__v_isVNode===!0:!1}function kt(e,t){return e.type===t.type&&e.key===t.key}const xs="__vInternal",ur=({key:e})=>e!=null?e:null,rs=({ref:e,ref_key:t,ref_for:s})=>e!=null?de(e)||ve(e)||q(e)?{i:Ae,r:e,k:t,f:!!s}:e:null;function Ye(e,t=null,s=null,n=0,i=null,r=e===Te?0:1,l=!1,o=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ur(t),ref:t&&rs(t),scopeId:Ki,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Ae};return o?(mn(a,s),r&128&&e.normalize(a)):s&&(a.shapeFlag|=de(s)?8:16),Wt>0&&!l&&Fe&&(a.patchFlag>0||r&6)&&a.patchFlag!==32&&Fe.push(a),a}const be=bo;function bo(e,t=null,s=null,n=0,i=null,r=!1){if((!e||e===Gl)&&(e=lt),fs(e)){const o=Ct(e,t,!0);return s&&mn(o,s),Wt>0&&!r&&Fe&&(o.shapeFlag&6?Fe[Fe.indexOf(e)]=o:Fe.push(o)),o.patchFlag|=-2,o}if(Po(e)&&(e=e.__vccOpts),t){t=yo(t);let{class:o,style:a}=t;o&&!de(o)&&(t.class=Js(o)),ae(a)&&(ki(a)&&!Y(a)&&(a=Ee({},a)),t.style=Gs(a))}const l=de(e)?1:Il(e)?128:go(e)?64:ae(e)?4:q(e)?2:0;return Ye(e,t,s,n,i,l,r,!0)}function yo(e){return e?ki(e)||xs in e?Ee({},e):e:null}function Ct(e,t,s=!1){const{props:n,ref:i,patchFlag:r,children:l}=e,o=t?Ao(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:o,key:o&&ur(o),ref:t&&t.ref?s&&i?Y(i)?i.concat(rs(t)):[i,rs(t)]:rs(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Te?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ct(e.ssContent),ssFallback:e.ssFallback&&Ct(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx}}function ls(e=" ",t=0){return be(Es,null,e,t)}function wo(e,t){const s=be(is,null,e);return s.staticCount=t,s}function Pc(e="",t=!1){return t?(gn(),cr(lt,null,e)):be(lt,null,e)}function Ue(e){return e==null||typeof e=="boolean"?be(lt):Y(e)?be(Te,null,e.slice()):typeof e=="object"?tt(e):be(Es,null,String(e))}function tt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ct(e)}function mn(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(Y(t))s=16;else if(typeof t=="object")if(n&65){const i=t.default;i&&(i._c&&(i._d=!1),mn(e,i()),i._c&&(i._d=!0));return}else{s=32;const i=t._;!i&&!(xs in t)?t._ctx=Ae:i===3&&Ae&&(Ae.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else q(t)?(t={default:t,_ctx:Ae},s=32):(t=String(t),n&64?(s=16,t=[ls(t)]):s=8);e.children=t,e.shapeFlag|=s}function Ao(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const i in n)if(i==="class")t.class!==n.class&&(t.class=Js([t.class,n.class]));else if(i==="style")t.style=Gs([t.style,n.style]);else if(ps(i)){const r=t[i],l=n[i];l&&r!==l&&!(Y(r)&&r.includes(l))&&(t[i]=r?[].concat(r,l):l)}else i!==""&&(t[i]=n[i])}return t}function Be(e,t,s,n=null){Ie(e,t,7,[s,n])}const Eo=lr();let xo=0;function _o(e,t,s){const n=e.type,i=(t?t.appContext:e.appContext)||Eo,r={uid:xo++,vnode:e,type:n,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new Vr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:sr(n,i),emitsOptions:Wi(n,i),emit:null,emitted:null,propsDefaults:oe,inheritAttrs:n.inheritAttrs,ctx:oe,data:oe,props:oe,attrs:oe,slots:oe,refs:oe,setupState:oe,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=t?t.root:r,r.emit=Tl.bind(null,r),e.ce&&e.ce(r),r}let pe=null;const St=e=>{pe=e,e.scope.on()},pt=()=>{pe&&pe.scope.off(),pe=null};function fr(e){return e.vnode.shapeFlag&4}let Kt=!1;function Co(e,t=!1){Kt=t;const{props:s,children:n}=e.vnode,i=fr(e);io(e,s,i,t),oo(e,n);const r=i?So(e,t):void 0;return Kt=!1,r}function So(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=Ii(new Proxy(e.ctx,Zl));const{setup:n}=s;if(n){const i=e.setupContext=n.length>1?To(e):null;St(e),Pt();const r=it(n,e,0,[e.props,i]);if(Lt(),pt(),bi(r)){if(r.then(pt,pt),t)return r.then(l=>{$n(e,l,t)}).catch(l=>{ys(l,e,0)});e.asyncDep=r}else $n(e,r,t)}else hr(e,t)}function $n(e,t,s){q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ae(t)&&(e.setupState=Bi(t)),hr(e,s)}let Vn;function hr(e,t,s){const n=e.type;if(!e.render){if(!t&&Vn&&!n.render){const i=n.template||dn(e).template;if(i){const{isCustomElement:r,compilerOptions:l}=e.appContext.config,{delimiters:o,compilerOptions:a}=n,u=Ee(Ee({isCustomElement:r,delimiters:o},l),a);n.render=Vn(i,u)}}e.render=n.render||ke}St(e),Pt(),Xl(e),Lt(),pt()}function Oo(e){return new Proxy(e.attrs,{get(t,s){return Oe(e,"get","$attrs"),t[s]}})}function To(e){const t=n=>{e.exposed=n||{}};let s;return{get attrs(){return s||(s=Oo(e))},slots:e.slots,emit:e.emit,expose:t}}function vn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Bi(Ii(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Nt)return Nt[s](e)},has(t,s){return s in t||s in Nt}}))}function Ro(e,t=!0){return q(e)?e.displayName||e.name:e.name||t&&e.__name}function Po(e){return q(e)&&"__vccOpts"in e}const Re=(e,t)=>El(e,t,Kt);function dr(e,t,s){const n=arguments.length;return n===2?ae(t)&&!Y(t)?fs(t)?be(e,null,[t]):be(e,t):be(e,null,t):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&fs(s)&&(s=[s]),be(e,t,s))}const Lo=Symbol(""),Fo=()=>qe(Lo),ko="3.2.45",Io="http://www.w3.org/2000/svg",ht=typeof document<"u"?document:null,zn=ht&&ht.createElement("template"),Do={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const i=t?ht.createElementNS(Io,e):ht.createElement(e,s?{is:s}:void 0);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>ht.createTextNode(e),createComment:e=>ht.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ht.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,i,r){const l=s?s.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),s),!(i===r||!(i=i.nextSibling)););else{zn.innerHTML=n?`<svg>${e}</svg>`:e;const o=zn.content;if(n){const a=o.firstChild;for(;a.firstChild;)o.appendChild(a.firstChild);o.removeChild(a)}t.insertBefore(o,s)}return[l?l.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}};function Mo(e,t,s){const n=e._vtc;n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}function No(e,t,s){const n=e.style,i=de(s);if(s&&!i){for(const r in s)Ws(n,r,s[r]);if(t&&!de(t))for(const r in t)s[r]==null&&Ws(n,r,"")}else{const r=n.display;i?t!==s&&(n.cssText=s):t&&e.removeAttribute("style"),"_vod"in e&&(n.display=r)}}const Wn=/\s*!important$/;function Ws(e,t,s){if(Y(s))s.forEach(n=>Ws(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=Bo(e,t);Wn.test(s)?e.setProperty(Rt(n),s.replace(Wn,""),"important"):e[n]=s}}const Kn=["Webkit","Moz","ms"],Ps={};function Bo(e,t){const s=Ps[t];if(s)return s;let n=$e(t);if(n!=="filter"&&n in e)return Ps[t]=n;n=vs(n);for(let i=0;i<Kn.length;i++){const r=Kn[i]+n;if(r in e)return Ps[t]=r}return t}const Yn="http://www.w3.org/1999/xlink";function Ho(e,t,s,n,i){if(n&&t.startsWith("xlink:"))s==null?e.removeAttributeNS(Yn,t.slice(6,t.length)):e.setAttributeNS(Yn,t,s);else{const r=Ir(t);s==null||r&&!gi(s)?e.removeAttribute(t):e.setAttribute(t,r?"":s)}}function Uo(e,t,s,n,i,r,l){if(t==="innerHTML"||t==="textContent"){n&&l(n,i,r),e[t]=s==null?"":s;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=s;const a=s==null?"":s;(e.value!==a||e.tagName==="OPTION")&&(e.value=a),s==null&&e.removeAttribute(t);return}let o=!1;if(s===""||s==null){const a=typeof e[t];a==="boolean"?s=gi(s):s==null&&a==="string"?(s="",o=!0):a==="number"&&(s=0,o=!0)}try{e[t]=s}catch{}o&&e.removeAttribute(t)}function jo(e,t,s,n){e.addEventListener(t,s,n)}function $o(e,t,s,n){e.removeEventListener(t,s,n)}function Vo(e,t,s,n,i=null){const r=e._vei||(e._vei={}),l=r[t];if(n&&l)l.value=n;else{const[o,a]=zo(t);if(n){const u=r[t]=Yo(n,i);jo(e,o,u,a)}else l&&($o(e,o,l,a),r[t]=void 0)}}const qn=/(?:Once|Passive|Capture)$/;function zo(e){let t;if(qn.test(e)){t={};let n;for(;n=e.match(qn);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Rt(e.slice(2)),t]}let Ls=0;const Wo=Promise.resolve(),Ko=()=>Ls||(Wo.then(()=>Ls=0),Ls=Date.now());function Yo(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Ie(qo(n,s.value),t,5,[n])};return s.value=e,s.attached=Ko(),s}function qo(e,t){if(Y(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>i=>!i._stopped&&n&&n(i))}else return t}const Qn=/^on[a-z]/,Qo=(e,t,s,n,i=!1,r,l,o,a)=>{t==="class"?Mo(e,n,i):t==="style"?No(e,s,n):ps(t)?Zs(t)||Vo(e,t,s,n,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Go(e,t,n,i))?Uo(e,t,n,r,l,o,a):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Ho(e,t,n,i))};function Go(e,t,s,n){return n?!!(t==="innerHTML"||t==="textContent"||t in e&&Qn.test(t)&&q(s)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Qn.test(t)&&de(s)?!1:t in e}const Jo=Ee({patchProp:Qo},Do);let Gn;function Zo(){return Gn||(Gn=fo(Jo))}const Xo=(...e)=>{const t=Zo().createApp(...e),{mount:s}=t;return t.mount=n=>{const i=ea(n);if(!i)return;const r=t._component;!q(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.innerHTML="";const l=s(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),l},t};function ea(e){return de(e)?document.querySelector(e):e}const ta="modulepreload",sa=function(e){return"/"+e},Jn={},Xe=function(t,s,n){if(!s||s.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(s.map(r=>{if(r=sa(r),r in Jn)return;Jn[r]=!0;const l=r.endsWith(".css"),o=l?'[rel="stylesheet"]':"";if(!!n)for(let f=i.length-1;f>=0;f--){const d=i[f];if(d.href===r&&(!l||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${o}`))return;const u=document.createElement("link");if(u.rel=l?"stylesheet":ta,l||(u.as="script",u.crossOrigin=""),u.href=r,document.head.appendChild(u),l)return new Promise((f,d)=>{u.addEventListener("load",f),u.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())};/*!
1
+ var Or=Object.defineProperty;var Tr=(e,t,s)=>t in e?Or(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var M=(e,t,s)=>(Tr(e,typeof t!="symbol"?t+"":t,s),s);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const l of r.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&n(l)}).observe(document,{childList:!0,subtree:!0});function s(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 n(i){if(i.ep)return;i.ep=!0;const r=s(i);fetch(i.href,r)}})();function Qs(e,t){const s=Object.create(null),n=e.split(",");for(let i=0;i<n.length;i++)s[n[i]]=!0;return t?i=>!!s[i.toLowerCase()]:i=>!!s[i]}function Gs(e){if(Y(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],i=de(n)?kr(n):Gs(n);if(i)for(const r in i)t[r]=i[r]}return t}else{if(de(e))return e;if(ae(e))return e}}const Rr=/;(?![^(]*\))/g,Lr=/:([^]+)/,Pr=/\/\*.*?\*\//gs;function kr(e){const t={};return e.replace(Pr,"").split(Rr).forEach(s=>{if(s){const n=s.split(Lr);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Js(e){let t="";if(de(e))t=e;else if(Y(e))for(let s=0;s<e.length;s++){const n=Js(e[s]);n&&(t+=n+" ")}else if(ae(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const Fr="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ir=Qs(Fr);function gi(e){return!!e||e===""}const Dr=e=>de(e)?e:e==null?"":Y(e)||ae(e)&&(e.toString===yi||!q(e.toString))?JSON.stringify(e,mi,2):String(e),mi=(e,t)=>t&&t.__v_isRef?mi(e,t.value):wt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,i])=>(s[`${n} =>`]=i,s),{})}:vi(t)?{[`Set(${t.size})`]:[...t.values()]}:ae(t)&&!Y(t)&&!wi(t)?String(t):t,oe={},yt=[],Fe=()=>{},Mr=()=>!1,Nr=/^on[^a-z]/,ps=e=>Nr.test(e),Zs=e=>e.startsWith("onUpdate:"),Ae=Object.assign,Xs=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Br=Object.prototype.hasOwnProperty,Z=(e,t)=>Br.call(e,t),Y=Array.isArray,wt=e=>gs(e)==="[object Map]",vi=e=>gs(e)==="[object Set]",q=e=>typeof e=="function",de=e=>typeof e=="string",en=e=>typeof e=="symbol",ae=e=>e!==null&&typeof e=="object",bi=e=>ae(e)&&q(e.then)&&q(e.catch),yi=Object.prototype.toString,gs=e=>yi.call(e),Hr=e=>gs(e).slice(8,-1),wi=e=>gs(e)==="[object Object]",tn=e=>de(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ts=Qs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ms=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},Ur=/-(\w)/g,$e=ms(e=>e.replace(Ur,(t,s)=>s?s.toUpperCase():"")),jr=/\B([A-Z])/g,Rt=ms(e=>e.replace(jr,"-$1").toLowerCase()),vs=ms(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ss=ms(e=>e?`on${vs(e)}`:""),jt=(e,t)=>!Object.is(e,t),Os=(e,t)=>{for(let s=0;s<e.length;s++)e[s](t)},os=(e,t,s)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:s})},Ai=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let _n;const $r=()=>_n||(_n=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let He;class Vr{constructor(t=!1){this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=He,!t&&He&&(this.index=(He.scopes||(He.scopes=[])).push(this)-1)}run(t){if(this.active){const s=He;try{return He=this,t()}finally{He=s}}}on(){He=this}off(){He=this.parent}stop(t){if(this.active){let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.scopes)for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this.active=!1}}}function zr(e,t=He){t&&t.active&&t.effects.push(e)}const sn=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Ei=e=>(e.w&rt)>0,xi=e=>(e.n&rt)>0,Wr=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=rt},Kr=e=>{const{deps:t}=e;if(t.length){let s=0;for(let n=0;n<t.length;n++){const i=t[n];Ei(i)&&!xi(i)?i.delete(e):t[s++]=i,i.w&=~rt,i.n&=~rt}t.length=s}},Ds=new WeakMap;let Dt=0,rt=1;const Ms=30;let Pe;const dt=Symbol(""),Ns=Symbol("");class nn{constructor(t,s=null,n){this.fn=t,this.scheduler=s,this.active=!0,this.deps=[],this.parent=void 0,zr(this,n)}run(){if(!this.active)return this.fn();let t=Pe,s=nt;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Pe,Pe=this,nt=!0,rt=1<<++Dt,Dt<=Ms?Wr(this):Cn(this),this.fn()}finally{Dt<=Ms&&Kr(this),rt=1<<--Dt,Pe=this.parent,nt=s,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Pe===this?this.deferStop=!0:this.active&&(Cn(this),this.onStop&&this.onStop(),this.active=!1)}}function Cn(e){const{deps:t}=e;if(t.length){for(let s=0;s<t.length;s++)t[s].delete(e);t.length=0}}let nt=!0;const _i=[];function Lt(){_i.push(nt),nt=!1}function Pt(){const e=_i.pop();nt=e===void 0?!0:e}function Oe(e,t,s){if(nt&&Pe){let n=Ds.get(e);n||Ds.set(e,n=new Map);let i=n.get(s);i||n.set(s,i=sn()),Ci(i)}}function Ci(e,t){let s=!1;Dt<=Ms?xi(e)||(e.n|=rt,s=!Ei(e)):s=!e.has(Pe),s&&(e.add(Pe),Pe.deps.push(e))}function Qe(e,t,s,n,i,r){const l=Ds.get(e);if(!l)return;let o=[];if(t==="clear")o=[...l.values()];else if(s==="length"&&Y(e)){const a=Ai(n);l.forEach((f,u)=>{(u==="length"||u>=a)&&o.push(f)})}else switch(s!==void 0&&o.push(l.get(s)),t){case"add":Y(e)?tn(s)&&o.push(l.get("length")):(o.push(l.get(dt)),wt(e)&&o.push(l.get(Ns)));break;case"delete":Y(e)||(o.push(l.get(dt)),wt(e)&&o.push(l.get(Ns)));break;case"set":wt(e)&&o.push(l.get(dt));break}if(o.length===1)o[0]&&Bs(o[0]);else{const a=[];for(const f of o)f&&a.push(...f);Bs(sn(a))}}function Bs(e,t){const s=Y(e)?e:[...e];for(const n of s)n.computed&&Sn(n);for(const n of s)n.computed||Sn(n)}function Sn(e,t){(e!==Pe||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Yr=Qs("__proto__,__v_isRef,__isVue"),Si=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(en)),qr=rn(),Qr=rn(!1,!0),Gr=rn(!0),On=Jr();function Jr(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...s){const n=X(this);for(let r=0,l=this.length;r<l;r++)Oe(n,"get",r+"");const i=n[t](...s);return i===-1||i===!1?n[t](...s.map(X)):i}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...s){Lt();const n=X(this)[t].apply(this,s);return Pt(),n}}),e}function rn(e=!1,t=!1){return function(n,i,r){if(i==="__v_isReactive")return!e;if(i==="__v_isReadonly")return e;if(i==="__v_isShallow")return t;if(i==="__v_raw"&&r===(e?t?dl:Pi:t?Li:Ri).get(n))return n;const l=Y(n);if(!e&&l&&Z(On,i))return Reflect.get(On,i,r);const o=Reflect.get(n,i,r);return(en(i)?Si.has(i):Yr(i))||(e||Oe(n,"get",i),t)?o:ve(o)?l&&tn(i)?o:o.value:ae(o)?e?ki(o):qt(o):o}}const Zr=Oi(),Xr=Oi(!0);function Oi(e=!1){return function(s,n,i,r){let l=s[n];if(_t(l)&&ve(l)&&!ve(i))return!1;if(!e&&(!as(i)&&!_t(i)&&(l=X(l),i=X(i)),!Y(s)&&ve(l)&&!ve(i)))return l.value=i,!0;const o=Y(s)&&tn(n)?Number(n)<s.length:Z(s,n),a=Reflect.set(s,n,i,r);return s===X(r)&&(o?jt(i,l)&&Qe(s,"set",n,i):Qe(s,"add",n,i)),a}}function el(e,t){const s=Z(e,t);e[t];const n=Reflect.deleteProperty(e,t);return n&&s&&Qe(e,"delete",t,void 0),n}function tl(e,t){const s=Reflect.has(e,t);return(!en(t)||!Si.has(t))&&Oe(e,"has",t),s}function sl(e){return Oe(e,"iterate",Y(e)?"length":dt),Reflect.ownKeys(e)}const Ti={get:qr,set:Zr,deleteProperty:el,has:tl,ownKeys:sl},nl={get:Gr,set(e,t){return!0},deleteProperty(e,t){return!0}},il=Ae({},Ti,{get:Qr,set:Xr}),ln=e=>e,bs=e=>Reflect.getPrototypeOf(e);function Qt(e,t,s=!1,n=!1){e=e.__v_raw;const i=X(e),r=X(t);s||(t!==r&&Oe(i,"get",t),Oe(i,"get",r));const{has:l}=bs(i),o=n?ln:s?cn:$t;if(l.call(i,t))return o(e.get(t));if(l.call(i,r))return o(e.get(r));e!==i&&e.get(t)}function Gt(e,t=!1){const s=this.__v_raw,n=X(s),i=X(e);return t||(e!==i&&Oe(n,"has",e),Oe(n,"has",i)),e===i?s.has(e):s.has(e)||s.has(i)}function Jt(e,t=!1){return e=e.__v_raw,!t&&Oe(X(e),"iterate",dt),Reflect.get(e,"size",e)}function Tn(e){e=X(e);const t=X(this);return bs(t).has.call(t,e)||(t.add(e),Qe(t,"add",e,e)),this}function Rn(e,t){t=X(t);const s=X(this),{has:n,get:i}=bs(s);let r=n.call(s,e);r||(e=X(e),r=n.call(s,e));const l=i.call(s,e);return s.set(e,t),r?jt(t,l)&&Qe(s,"set",e,t):Qe(s,"add",e,t),this}function Ln(e){const t=X(this),{has:s,get:n}=bs(t);let i=s.call(t,e);i||(e=X(e),i=s.call(t,e)),n&&n.call(t,e);const r=t.delete(e);return i&&Qe(t,"delete",e,void 0),r}function Pn(){const e=X(this),t=e.size!==0,s=e.clear();return t&&Qe(e,"clear",void 0,void 0),s}function Zt(e,t){return function(n,i){const r=this,l=r.__v_raw,o=X(l),a=t?ln:e?cn:$t;return!e&&Oe(o,"iterate",dt),l.forEach((f,u)=>n.call(i,a(f),a(u),r))}}function Xt(e,t,s){return function(...n){const i=this.__v_raw,r=X(i),l=wt(r),o=e==="entries"||e===Symbol.iterator&&l,a=e==="keys"&&l,f=i[e](...n),u=s?ln:t?cn:$t;return!t&&Oe(r,"iterate",a?Ns:dt),{next(){const{value:d,done:p}=f.next();return p?{value:d,done:p}:{value:o?[u(d[0]),u(d[1])]:u(d),done:p}},[Symbol.iterator](){return this}}}}function Ze(e){return function(...t){return e==="delete"?!1:this}}function rl(){const e={get(r){return Qt(this,r)},get size(){return Jt(this)},has:Gt,add:Tn,set:Rn,delete:Ln,clear:Pn,forEach:Zt(!1,!1)},t={get(r){return Qt(this,r,!1,!0)},get size(){return Jt(this)},has:Gt,add:Tn,set:Rn,delete:Ln,clear:Pn,forEach:Zt(!1,!0)},s={get(r){return Qt(this,r,!0)},get size(){return Jt(this,!0)},has(r){return Gt.call(this,r,!0)},add:Ze("add"),set:Ze("set"),delete:Ze("delete"),clear:Ze("clear"),forEach:Zt(!0,!1)},n={get(r){return Qt(this,r,!0,!0)},get size(){return Jt(this,!0)},has(r){return Gt.call(this,r,!0)},add:Ze("add"),set:Ze("set"),delete:Ze("delete"),clear:Ze("clear"),forEach:Zt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=Xt(r,!1,!1),s[r]=Xt(r,!0,!1),t[r]=Xt(r,!1,!0),n[r]=Xt(r,!0,!0)}),[e,s,t,n]}const[ll,ol,al,cl]=rl();function on(e,t){const s=t?e?cl:al:e?ol:ll;return(n,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(Z(s,i)&&i in n?s:n,i,r)}const ul={get:on(!1,!1)},fl={get:on(!1,!0)},hl={get:on(!0,!1)},Ri=new WeakMap,Li=new WeakMap,Pi=new WeakMap,dl=new WeakMap;function pl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function gl(e){return e.__v_skip||!Object.isExtensible(e)?0:pl(Hr(e))}function qt(e){return _t(e)?e:an(e,!1,Ti,ul,Ri)}function ml(e){return an(e,!1,il,fl,Li)}function ki(e){return an(e,!0,nl,hl,Pi)}function an(e,t,s,n,i){if(!ae(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=i.get(e);if(r)return r;const l=gl(e);if(l===0)return e;const o=new Proxy(e,l===2?n:s);return i.set(e,o),o}function At(e){return _t(e)?At(e.__v_raw):!!(e&&e.__v_isReactive)}function _t(e){return!!(e&&e.__v_isReadonly)}function as(e){return!!(e&&e.__v_isShallow)}function Fi(e){return At(e)||_t(e)}function X(e){const t=e&&e.__v_raw;return t?X(t):e}function Ii(e){return os(e,"__v_skip",!0),e}const $t=e=>ae(e)?qt(e):e,cn=e=>ae(e)?ki(e):e;function Di(e){nt&&Pe&&(e=X(e),Ci(e.dep||(e.dep=sn())))}function Mi(e,t){e=X(e),e.dep&&Bs(e.dep)}function ve(e){return!!(e&&e.__v_isRef===!0)}function vl(e){return Ni(e,!1)}function bl(e){return Ni(e,!0)}function Ni(e,t){return ve(e)?e:new yl(e,t)}class yl{constructor(t,s){this.__v_isShallow=s,this.dep=void 0,this.__v_isRef=!0,this._rawValue=s?t:X(t),this._value=s?t:$t(t)}get value(){return Di(this),this._value}set value(t){const s=this.__v_isShallow||as(t)||_t(t);t=s?t:X(t),jt(t,this._rawValue)&&(this._rawValue=t,this._value=s?t:$t(t),Mi(this))}}function Et(e){return ve(e)?e.value:e}const wl={get:(e,t,s)=>Et(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const i=e[t];return ve(i)&&!ve(s)?(i.value=s,!0):Reflect.set(e,t,s,n)}};function Bi(e){return At(e)?e:new Proxy(e,wl)}var Hi;class Al{constructor(t,s,n,i){this._setter=s,this.dep=void 0,this.__v_isRef=!0,this[Hi]=!1,this._dirty=!0,this.effect=new nn(t,()=>{this._dirty||(this._dirty=!0,Mi(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const t=X(this);return Di(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}Hi="__v_isReadonly";function El(e,t,s=!1){let n,i;const r=q(e);return r?(n=e,i=Fe):(n=e.get,i=e.set),new Al(n,i,r||!i,s)}function it(e,t,s,n){let i;try{i=n?e(...n):e()}catch(r){ys(r,t,s)}return i}function Ie(e,t,s,n){if(q(e)){const r=it(e,t,s,n);return r&&bi(r)&&r.catch(l=>{ys(l,t,s)}),r}const i=[];for(let r=0;r<e.length;r++)i.push(Ie(e[r],t,s,n));return i}function ys(e,t,s,n=!0){const i=t?t.vnode:null;if(t){let r=t.parent;const l=t.proxy,o=s;for(;r;){const f=r.ec;if(f){for(let u=0;u<f.length;u++)if(f[u](e,l,o)===!1)return}r=r.parent}const a=t.appContext.config.errorHandler;if(a){it(a,null,10,[e,l,o]);return}}xl(e,s,i,n)}function xl(e,t,s,n=!0){console.error(e)}let Vt=!1,Hs=!1;const me=[];let je=0;const xt=[];let We=null,ft=0;const Ui=Promise.resolve();let un=null;function ji(e){const t=un||Ui;return e?t.then(this?e.bind(this):e):t}function _l(e){let t=je+1,s=me.length;for(;t<s;){const n=t+s>>>1;zt(me[n])<e?t=n+1:s=n}return t}function fn(e){(!me.length||!me.includes(e,Vt&&e.allowRecurse?je+1:je))&&(e.id==null?me.push(e):me.splice(_l(e.id),0,e),$i())}function $i(){!Vt&&!Hs&&(Hs=!0,un=Ui.then(zi))}function Cl(e){const t=me.indexOf(e);t>je&&me.splice(t,1)}function Sl(e){Y(e)?xt.push(...e):(!We||!We.includes(e,e.allowRecurse?ft+1:ft))&&xt.push(e),$i()}function kn(e,t=Vt?je+1:0){for(;t<me.length;t++){const s=me[t];s&&s.pre&&(me.splice(t,1),t--,s())}}function Vi(e){if(xt.length){const t=[...new Set(xt)];if(xt.length=0,We){We.push(...t);return}for(We=t,We.sort((s,n)=>zt(s)-zt(n)),ft=0;ft<We.length;ft++)We[ft]();We=null,ft=0}}const zt=e=>e.id==null?1/0:e.id,Ol=(e,t)=>{const s=zt(e)-zt(t);if(s===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return s};function zi(e){Hs=!1,Vt=!0,me.sort(Ol);const t=Fe;try{for(je=0;je<me.length;je++){const s=me[je];s&&s.active!==!1&&it(s,null,14)}}finally{je=0,me.length=0,Vi(),Vt=!1,un=null,(me.length||xt.length)&&zi()}}function Tl(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||oe;let i=s;const r=t.startsWith("update:"),l=r&&t.slice(7);if(l&&l in n){const u=`${l==="modelValue"?"model":l}Modifiers`,{number:d,trim:p}=n[u]||oe;p&&(i=s.map(y=>de(y)?y.trim():y)),d&&(i=s.map(Ai))}let o,a=n[o=Ss(t)]||n[o=Ss($e(t))];!a&&r&&(a=n[o=Ss(Rt(t))]),a&&Ie(a,e,6,i);const f=n[o+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[o])return;e.emitted[o]=!0,Ie(f,e,6,i)}}function Wi(e,t,s=!1){const n=t.emitsCache,i=n.get(e);if(i!==void 0)return i;const r=e.emits;let l={},o=!1;if(!q(e)){const a=f=>{const u=Wi(f,t,!0);u&&(o=!0,Ae(l,u))};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!r&&!o?(ae(e)&&n.set(e,null),null):(Y(r)?r.forEach(a=>l[a]=null):Ae(l,r),ae(e)&&n.set(e,l),l)}function ws(e,t){return!e||!ps(t)?!1:(t=t.slice(2).replace(/Once$/,""),Z(e,t[0].toLowerCase()+t.slice(1))||Z(e,Rt(t))||Z(e,t))}let we=null,Ki=null;function cs(e){const t=we;return we=e,Ki=e&&e.type.__scopeId||null,t}function Rl(e,t=we,s){if(!t||e._n)return e;const n=(...i)=>{n._d&&jn(-1);const r=cs(t);let l;try{l=e(...i)}finally{cs(r),n._d&&jn(1)}return l};return n._n=!0,n._c=!0,n._d=!0,n}function Ts(e){const{type:t,vnode:s,proxy:n,withProxy:i,props:r,propsOptions:[l],slots:o,attrs:a,emit:f,render:u,renderCache:d,data:p,setupState:y,ctx:k,inheritAttrs:P}=e;let I,O;const m=cs(e);try{if(s.shapeFlag&4){const A=i||n;I=Ue(u.call(A,A,d,r,y,p,k)),O=a}else{const A=t;I=Ue(A.length>1?A(r,{attrs:a,slots:o,emit:f}):A(r,null)),O=t.props?a:Ll(a)}}catch(A){Bt.length=0,ys(A,e,1),I=be(lt)}let g=I;if(O&&P!==!1){const A=Object.keys(O),{shapeFlag:_}=g;A.length&&_&7&&(l&&A.some(Zs)&&(O=Pl(O,l)),g=Ct(g,O))}return s.dirs&&(g=Ct(g),g.dirs=g.dirs?g.dirs.concat(s.dirs):s.dirs),s.transition&&(g.transition=s.transition),I=g,cs(m),I}const Ll=e=>{let t;for(const s in e)(s==="class"||s==="style"||ps(s))&&((t||(t={}))[s]=e[s]);return t},Pl=(e,t)=>{const s={};for(const n in e)(!Zs(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function kl(e,t,s){const{props:n,children:i,component:r}=e,{props:l,children:o,patchFlag:a}=t,f=r.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&a>=0){if(a&1024)return!0;if(a&16)return n?Fn(n,l,f):!!l;if(a&8){const u=t.dynamicProps;for(let d=0;d<u.length;d++){const p=u[d];if(l[p]!==n[p]&&!ws(f,p))return!0}}}else return(i||o)&&(!o||!o.$stable)?!0:n===l?!1:n?l?Fn(n,l,f):!0:!!l;return!1}function Fn(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let i=0;i<n.length;i++){const r=n[i];if(t[r]!==e[r]&&!ws(s,r))return!0}return!1}function Fl({vnode:e,parent:t},s){for(;t&&t.subTree===e;)(e=t.vnode).el=s,t=t.parent}const Il=e=>e.__isSuspense;function Dl(e,t){t&&t.pendingBranch?Y(e)?t.effects.push(...e):t.effects.push(e):Sl(e)}function ss(e,t){if(pe){let s=pe.provides;const n=pe.parent&&pe.parent.provides;n===s&&(s=pe.provides=Object.create(n)),s[e]=t}}function qe(e,t,s=!1){const n=pe||we;if(n){const i=n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides;if(i&&e in i)return i[e];if(arguments.length>1)return s&&q(t)?t.call(n.proxy):t}}const es={};function ns(e,t,s){return Yi(e,t,s)}function Yi(e,t,{immediate:s,deep:n,flush:i,onTrack:r,onTrigger:l}=oe){const o=pe;let a,f=!1,u=!1;if(ve(e)?(a=()=>e.value,f=as(e)):At(e)?(a=()=>e,n=!0):Y(e)?(u=!0,f=e.some(g=>At(g)||as(g)),a=()=>e.map(g=>{if(ve(g))return g.value;if(At(g))return bt(g);if(q(g))return it(g,o,2)})):q(e)?t?a=()=>it(e,o,2):a=()=>{if(!(o&&o.isUnmounted))return d&&d(),Ie(e,o,3,[p])}:a=Fe,t&&n){const g=a;a=()=>bt(g())}let d,p=g=>{d=O.onStop=()=>{it(g,o,4)}},y;if(Kt)if(p=Fe,t?s&&Ie(t,o,3,[a(),u?[]:void 0,p]):a(),i==="sync"){const g=ko();y=g.__watcherHandles||(g.__watcherHandles=[])}else return Fe;let k=u?new Array(e.length).fill(es):es;const P=()=>{if(!!O.active)if(t){const g=O.run();(n||f||(u?g.some((A,_)=>jt(A,k[_])):jt(g,k)))&&(d&&d(),Ie(t,o,3,[g,k===es?void 0:u&&k[0]===es?[]:k,p]),k=g)}else O.run()};P.allowRecurse=!!t;let I;i==="sync"?I=P:i==="post"?I=()=>xe(P,o&&o.suspense):(P.pre=!0,o&&(P.id=o.uid),I=()=>fn(P));const O=new nn(a,I);t?s?P():k=O.run():i==="post"?xe(O.run.bind(O),o&&o.suspense):O.run();const m=()=>{O.stop(),o&&o.scope&&Xs(o.scope.effects,O)};return y&&y.push(m),m}function Ml(e,t,s){const n=this.proxy,i=de(e)?e.includes(".")?qi(n,e):()=>n[e]:e.bind(n,n);let r;q(t)?r=t:(r=t.handler,s=t);const l=pe;St(this);const o=Yi(i,r.bind(n),s);return l?St(l):pt(),o}function qi(e,t){const s=t.split(".");return()=>{let n=e;for(let i=0;i<s.length&&n;i++)n=n[s[i]];return n}}function bt(e,t){if(!ae(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),ve(e))bt(e.value,t);else if(Y(e))for(let s=0;s<e.length;s++)bt(e[s],t);else if(vi(e)||wt(e))e.forEach(s=>{bt(s,t)});else if(wi(e))for(const s in e)bt(e[s],t);return e}function hn(e){return q(e)?{setup:e,name:e.name}:e}const Mt=e=>!!e.type.__asyncLoader,Qi=e=>e.type.__isKeepAlive;function Nl(e,t){Gi(e,"a",t)}function Bl(e,t){Gi(e,"da",t)}function Gi(e,t,s=pe){const n=e.__wdc||(e.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(As(t,n,s),s){let i=s.parent;for(;i&&i.parent;)Qi(i.parent.vnode)&&Hl(n,t,s,i),i=i.parent}}function Hl(e,t,s,n){const i=As(t,e,n,!0);Ji(()=>{Xs(n[t],i)},s)}function As(e,t,s=pe,n=!1){if(s){const i=s[e]||(s[e]=[]),r=t.__weh||(t.__weh=(...l)=>{if(s.isUnmounted)return;Lt(),St(s);const o=Ie(t,s,e,l);return pt(),Pt(),o});return n?i.unshift(r):i.push(r),r}}const Ge=e=>(t,s=pe)=>(!Kt||e==="sp")&&As(e,(...n)=>t(...n),s),Ul=Ge("bm"),jl=Ge("m"),$l=Ge("bu"),Vl=Ge("u"),zl=Ge("bum"),Ji=Ge("um"),Wl=Ge("sp"),Kl=Ge("rtg"),Yl=Ge("rtc");function ql(e,t=pe){As("ec",e,t)}function at(e,t,s,n){const i=e.dirs,r=t&&t.dirs;for(let l=0;l<i.length;l++){const o=i[l];r&&(o.oldValue=r[l].value);let a=o.dir[n];a&&(Lt(),Ie(a,s,8,[e.el,o,e,t]),Pt())}}const Zi="components";function Ql(e,t){return Jl(Zi,e,!0,t)||e}const Gl=Symbol();function Jl(e,t,s=!0,n=!1){const i=we||pe;if(i){const r=i.type;if(e===Zi){const o=Ro(r,!1);if(o&&(o===t||o===$e(t)||o===vs($e(t))))return r}const l=In(i[e]||r[e],t)||In(i.appContext[e],t);return!l&&n?r:l}}function In(e,t){return e&&(e[t]||e[$e(t)]||e[vs($e(t))])}function Tc(e,t,s,n){let i;const r=s&&s[n];if(Y(e)||de(e)){i=new Array(e.length);for(let l=0,o=e.length;l<o;l++)i[l]=t(e[l],l,void 0,r&&r[l])}else if(typeof e=="number"){i=new Array(e);for(let l=0;l<e;l++)i[l]=t(l+1,l,void 0,r&&r[l])}else if(ae(e))if(e[Symbol.iterator])i=Array.from(e,(l,o)=>t(l,o,void 0,r&&r[o]));else{const l=Object.keys(e);i=new Array(l.length);for(let o=0,a=l.length;o<a;o++){const f=l[o];i[o]=t(e[f],f,o,r&&r[o])}}else i=[];return s&&(s[n]=i),i}function Rc(e,t,s={},n,i){if(we.isCE||we.parent&&Mt(we.parent)&&we.parent.isCE)return t!=="default"&&(s.name=t),be("slot",s,n&&n());let r=e[t];r&&r._c&&(r._d=!1),gn();const l=r&&Xi(r(s)),o=cr(Te,{key:s.key||l&&l.key||`_${t}`},l||(n?n():[]),l&&e._===1?64:-2);return!i&&o.scopeId&&(o.slotScopeIds=[o.scopeId+"-s"]),r&&r._c&&(r._d=!0),o}function Xi(e){return e.some(t=>fs(t)?!(t.type===lt||t.type===Te&&!Xi(t.children)):!0)?e:null}const Us=e=>e?fr(e)?vn(e)||e.proxy:Us(e.parent):null,Nt=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=>Us(e.parent),$root:e=>Us(e.root),$emit:e=>e.emit,$options:e=>dn(e),$forceUpdate:e=>e.f||(e.f=()=>fn(e.update)),$nextTick:e=>e.n||(e.n=ji.bind(e.proxy)),$watch:e=>Ml.bind(e)}),Rs=(e,t)=>e!==oe&&!e.__isScriptSetup&&Z(e,t),Zl={get({_:e},t){const{ctx:s,setupState:n,data:i,props:r,accessCache:l,type:o,appContext:a}=e;let f;if(t[0]!=="$"){const y=l[t];if(y!==void 0)switch(y){case 1:return n[t];case 2:return i[t];case 4:return s[t];case 3:return r[t]}else{if(Rs(n,t))return l[t]=1,n[t];if(i!==oe&&Z(i,t))return l[t]=2,i[t];if((f=e.propsOptions[0])&&Z(f,t))return l[t]=3,r[t];if(s!==oe&&Z(s,t))return l[t]=4,s[t];js&&(l[t]=0)}}const u=Nt[t];let d,p;if(u)return t==="$attrs"&&Oe(e,"get",t),u(e);if((d=o.__cssModules)&&(d=d[t]))return d;if(s!==oe&&Z(s,t))return l[t]=4,s[t];if(p=a.config.globalProperties,Z(p,t))return p[t]},set({_:e},t,s){const{data:n,setupState:i,ctx:r}=e;return Rs(i,t)?(i[t]=s,!0):n!==oe&&Z(n,t)?(n[t]=s,!0):Z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:i,propsOptions:r}},l){let o;return!!s[l]||e!==oe&&Z(e,l)||Rs(t,l)||(o=r[0])&&Z(o,l)||Z(n,l)||Z(Nt,l)||Z(i.config.globalProperties,l)},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:Z(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};let js=!0;function Xl(e){const t=dn(e),s=e.proxy,n=e.ctx;js=!1,t.beforeCreate&&Dn(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:l,watch:o,provide:a,inject:f,created:u,beforeMount:d,mounted:p,beforeUpdate:y,updated:k,activated:P,deactivated:I,beforeDestroy:O,beforeUnmount:m,destroyed:g,unmounted:A,render:_,renderTracked:C,renderTriggered:N,errorCaptured:W,serverPrefetch:H,expose:J,inheritAttrs:le,components:he,directives:Ve,filters:Me}=t;if(f&&eo(f,n,null,e.appContext.config.unwrapInjectedRef),l)for(const ee in l){const V=l[ee];q(V)&&(n[ee]=V.bind(s))}if(i){const ee=i.call(s,s);ae(ee)&&(e.data=qt(ee))}if(js=!0,r)for(const ee in r){const V=r[ee],ue=q(V)?V.bind(s,s):q(V.get)?V.get.bind(s,s):Fe,Ee=!q(V)&&q(V.set)?V.set.bind(s):Fe,ge=Re({get:ue,set:Ee});Object.defineProperty(n,ee,{enumerable:!0,configurable:!0,get:()=>ge.value,set:ie=>ge.value=ie})}if(o)for(const ee in o)er(o[ee],n,s,ee);if(a){const ee=q(a)?a.call(s):a;Reflect.ownKeys(ee).forEach(V=>{ss(V,ee[V])})}u&&Dn(u,e,"c");function ce(ee,V){Y(V)?V.forEach(ue=>ee(ue.bind(s))):V&&ee(V.bind(s))}if(ce(Ul,d),ce(jl,p),ce($l,y),ce(Vl,k),ce(Nl,P),ce(Bl,I),ce(ql,W),ce(Yl,C),ce(Kl,N),ce(zl,m),ce(Ji,A),ce(Wl,H),Y(J))if(J.length){const ee=e.exposed||(e.exposed={});J.forEach(V=>{Object.defineProperty(ee,V,{get:()=>s[V],set:ue=>s[V]=ue})})}else e.exposed||(e.exposed={});_&&e.render===Fe&&(e.render=_),le!=null&&(e.inheritAttrs=le),he&&(e.components=he),Ve&&(e.directives=Ve)}function eo(e,t,s=Fe,n=!1){Y(e)&&(e=$s(e));for(const i in e){const r=e[i];let l;ae(r)?"default"in r?l=qe(r.from||i,r.default,!0):l=qe(r.from||i):l=qe(r),ve(l)&&n?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>l.value,set:o=>l.value=o}):t[i]=l}}function Dn(e,t,s){Ie(Y(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function er(e,t,s,n){const i=n.includes(".")?qi(s,n):()=>s[n];if(de(e)){const r=t[e];q(r)&&ns(i,r)}else if(q(e))ns(i,e.bind(s));else if(ae(e))if(Y(e))e.forEach(r=>er(r,t,s,n));else{const r=q(e.handler)?e.handler.bind(s):t[e.handler];q(r)&&ns(i,r,e)}}function dn(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:l}}=e.appContext,o=r.get(t);let a;return o?a=o:!i.length&&!s&&!n?a=t:(a={},i.length&&i.forEach(f=>us(a,f,l,!0)),us(a,t,l)),ae(t)&&r.set(t,a),a}function us(e,t,s,n=!1){const{mixins:i,extends:r}=t;r&&us(e,r,s,!0),i&&i.forEach(l=>us(e,l,s,!0));for(const l in t)if(!(n&&l==="expose")){const o=to[l]||s&&s[l];e[l]=o?o(e[l],t[l]):t[l]}return e}const to={data:Mn,props:ut,emits:ut,methods:ut,computed:ut,beforeCreate:ye,created:ye,beforeMount:ye,mounted:ye,beforeUpdate:ye,updated:ye,beforeDestroy:ye,beforeUnmount:ye,destroyed:ye,unmounted:ye,activated:ye,deactivated:ye,errorCaptured:ye,serverPrefetch:ye,components:ut,directives:ut,watch:no,provide:Mn,inject:so};function Mn(e,t){return t?e?function(){return Ae(q(e)?e.call(this,this):e,q(t)?t.call(this,this):t)}:t:e}function so(e,t){return ut($s(e),$s(t))}function $s(e){if(Y(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function ye(e,t){return e?[...new Set([].concat(e,t))]:t}function ut(e,t){return e?Ae(Ae(Object.create(null),e),t):t}function no(e,t){if(!e)return t;if(!t)return e;const s=Ae(Object.create(null),e);for(const n in t)s[n]=ye(e[n],t[n]);return s}function io(e,t,s,n=!1){const i={},r={};os(r,xs,1),e.propsDefaults=Object.create(null),tr(e,t,i,r);for(const l in e.propsOptions[0])l in i||(i[l]=void 0);s?e.props=n?i:ml(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function ro(e,t,s,n){const{props:i,attrs:r,vnode:{patchFlag:l}}=e,o=X(i),[a]=e.propsOptions;let f=!1;if((n||l>0)&&!(l&16)){if(l&8){const u=e.vnode.dynamicProps;for(let d=0;d<u.length;d++){let p=u[d];if(ws(e.emitsOptions,p))continue;const y=t[p];if(a)if(Z(r,p))y!==r[p]&&(r[p]=y,f=!0);else{const k=$e(p);i[k]=Vs(a,o,k,y,e,!1)}else y!==r[p]&&(r[p]=y,f=!0)}}}else{tr(e,t,i,r)&&(f=!0);let u;for(const d in o)(!t||!Z(t,d)&&((u=Rt(d))===d||!Z(t,u)))&&(a?s&&(s[d]!==void 0||s[u]!==void 0)&&(i[d]=Vs(a,o,d,void 0,e,!0)):delete i[d]);if(r!==o)for(const d in r)(!t||!Z(t,d)&&!0)&&(delete r[d],f=!0)}f&&Qe(e,"set","$attrs")}function tr(e,t,s,n){const[i,r]=e.propsOptions;let l=!1,o;if(t)for(let a in t){if(ts(a))continue;const f=t[a];let u;i&&Z(i,u=$e(a))?!r||!r.includes(u)?s[u]=f:(o||(o={}))[u]=f:ws(e.emitsOptions,a)||(!(a in n)||f!==n[a])&&(n[a]=f,l=!0)}if(r){const a=X(s),f=o||oe;for(let u=0;u<r.length;u++){const d=r[u];s[d]=Vs(i,a,d,f[d],e,!Z(f,d))}}return l}function Vs(e,t,s,n,i,r){const l=e[s];if(l!=null){const o=Z(l,"default");if(o&&n===void 0){const a=l.default;if(l.type!==Function&&q(a)){const{propsDefaults:f}=i;s in f?n=f[s]:(St(i),n=f[s]=a.call(null,t),pt())}else n=a}l[0]&&(r&&!o?n=!1:l[1]&&(n===""||n===Rt(s))&&(n=!0))}return n}function sr(e,t,s=!1){const n=t.propsCache,i=n.get(e);if(i)return i;const r=e.props,l={},o=[];let a=!1;if(!q(e)){const u=d=>{a=!0;const[p,y]=sr(d,t,!0);Ae(l,p),y&&o.push(...y)};!s&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!a)return ae(e)&&n.set(e,yt),yt;if(Y(r))for(let u=0;u<r.length;u++){const d=$e(r[u]);Nn(d)&&(l[d]=oe)}else if(r)for(const u in r){const d=$e(u);if(Nn(d)){const p=r[u],y=l[d]=Y(p)||q(p)?{type:p}:Object.assign({},p);if(y){const k=Un(Boolean,y.type),P=Un(String,y.type);y[0]=k>-1,y[1]=P<0||k<P,(k>-1||Z(y,"default"))&&o.push(d)}}}const f=[l,o];return ae(e)&&n.set(e,f),f}function Nn(e){return e[0]!=="$"}function Bn(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Hn(e,t){return Bn(e)===Bn(t)}function Un(e,t){return Y(t)?t.findIndex(s=>Hn(s,e)):q(t)&&Hn(t,e)?0:-1}const nr=e=>e[0]==="_"||e==="$stable",pn=e=>Y(e)?e.map(Ue):[Ue(e)],lo=(e,t,s)=>{if(t._n)return t;const n=Rl((...i)=>pn(t(...i)),s);return n._c=!1,n},ir=(e,t,s)=>{const n=e._ctx;for(const i in e){if(nr(i))continue;const r=e[i];if(q(r))t[i]=lo(i,r,n);else if(r!=null){const l=pn(r);t[i]=()=>l}}},rr=(e,t)=>{const s=pn(t);e.slots.default=()=>s},oo=(e,t)=>{if(e.vnode.shapeFlag&32){const s=t._;s?(e.slots=X(t),os(t,"_",s)):ir(t,e.slots={})}else e.slots={},t&&rr(e,t);os(e.slots,xs,1)},ao=(e,t,s)=>{const{vnode:n,slots:i}=e;let r=!0,l=oe;if(n.shapeFlag&32){const o=t._;o?s&&o===1?r=!1:(Ae(i,t),!s&&o===1&&delete i._):(r=!t.$stable,ir(t,i)),l=t}else t&&(rr(e,t),l={default:1});if(r)for(const o in i)!nr(o)&&!(o in l)&&delete i[o]};function lr(){return{app:null,config:{isNativeTag:Mr,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let co=0;function uo(e,t){return function(n,i=null){q(n)||(n=Object.assign({},n)),i!=null&&!ae(i)&&(i=null);const r=lr(),l=new Set;let o=!1;const a=r.app={_uid:co++,_component:n,_props:i,_container:null,_context:r,_instance:null,version:Fo,get config(){return r.config},set config(f){},use(f,...u){return l.has(f)||(f&&q(f.install)?(l.add(f),f.install(a,...u)):q(f)&&(l.add(f),f(a,...u))),a},mixin(f){return r.mixins.includes(f)||r.mixins.push(f),a},component(f,u){return u?(r.components[f]=u,a):r.components[f]},directive(f,u){return u?(r.directives[f]=u,a):r.directives[f]},mount(f,u,d){if(!o){const p=be(n,i);return p.appContext=r,u&&t?t(p,f):e(p,f,d),o=!0,a._container=f,f.__vue_app__=a,vn(p.component)||p.component.proxy}},unmount(){o&&(e(null,a._container),delete a._container.__vue_app__)},provide(f,u){return r.provides[f]=u,a}};return a}}function zs(e,t,s,n,i=!1){if(Y(e)){e.forEach((p,y)=>zs(p,t&&(Y(t)?t[y]:t),s,n,i));return}if(Mt(n)&&!i)return;const r=n.shapeFlag&4?vn(n.component)||n.component.proxy:n.el,l=i?null:r,{i:o,r:a}=e,f=t&&t.r,u=o.refs===oe?o.refs={}:o.refs,d=o.setupState;if(f!=null&&f!==a&&(de(f)?(u[f]=null,Z(d,f)&&(d[f]=null)):ve(f)&&(f.value=null)),q(a))it(a,o,12,[l,u]);else{const p=de(a),y=ve(a);if(p||y){const k=()=>{if(e.f){const P=p?Z(d,a)?d[a]:u[a]:a.value;i?Y(P)&&Xs(P,r):Y(P)?P.includes(r)||P.push(r):p?(u[a]=[r],Z(d,a)&&(d[a]=u[a])):(a.value=[r],e.k&&(u[e.k]=a.value))}else p?(u[a]=l,Z(d,a)&&(d[a]=l)):y&&(a.value=l,e.k&&(u[e.k]=l))};l?(k.id=-1,xe(k,s)):k()}}}const xe=Dl;function fo(e){return ho(e)}function ho(e,t){const s=$r();s.__VUE__=!0;const{insert:n,remove:i,patchProp:r,createElement:l,createText:o,createComment:a,setText:f,setElementText:u,parentNode:d,nextSibling:p,setScopeId:y=Fe,insertStaticContent:k}=e,P=(c,h,v,b=null,E=null,T=null,D=!1,S=null,L=!!h.dynamicChildren)=>{if(c===h)return;c&&!Ft(c,h)&&(b=R(c),ie(c,E,T,!0),c=null),h.patchFlag===-2&&(L=!1,h.dynamicChildren=null);const{type:x,ref:j,shapeFlag:B}=h;switch(x){case Es:I(c,h,v,b);break;case lt:O(c,h,v,b);break;case is:c==null&&m(h,v,b,D);break;case Te:he(c,h,v,b,E,T,D,S,L);break;default:B&1?_(c,h,v,b,E,T,D,S,L):B&6?Ve(c,h,v,b,E,T,D,S,L):(B&64||B&128)&&x.process(c,h,v,b,E,T,D,S,L,Q)}j!=null&&E&&zs(j,c&&c.ref,T,h||c,!h)},I=(c,h,v,b)=>{if(c==null)n(h.el=o(h.children),v,b);else{const E=h.el=c.el;h.children!==c.children&&f(E,h.children)}},O=(c,h,v,b)=>{c==null?n(h.el=a(h.children||""),v,b):h.el=c.el},m=(c,h,v,b)=>{[c.el,c.anchor]=k(c.children,h,v,b,c.el,c.anchor)},g=({el:c,anchor:h},v,b)=>{let E;for(;c&&c!==h;)E=p(c),n(c,v,b),c=E;n(h,v,b)},A=({el:c,anchor:h})=>{let v;for(;c&&c!==h;)v=p(c),i(c),c=v;i(h)},_=(c,h,v,b,E,T,D,S,L)=>{D=D||h.type==="svg",c==null?C(h,v,b,E,T,D,S,L):H(c,h,E,T,D,S,L)},C=(c,h,v,b,E,T,D,S)=>{let L,x;const{type:j,props:B,shapeFlag:$,transition:z,dirs:G}=c;if(L=c.el=l(c.type,T,B&&B.is,B),$&8?u(L,c.children):$&16&&W(c.children,L,null,b,E,T&&j!=="foreignObject",D,S),G&&at(c,null,b,"created"),B){for(const se in B)se!=="value"&&!ts(se)&&r(L,se,null,B[se],T,c.children,b,E,F);"value"in B&&r(L,"value",null,B.value),(x=B.onVnodeBeforeMount)&&Be(x,b,c)}N(L,c,c.scopeId,D,b),G&&at(c,null,b,"beforeMount");const re=(!E||E&&!E.pendingBranch)&&z&&!z.persisted;re&&z.beforeEnter(L),n(L,h,v),((x=B&&B.onVnodeMounted)||re||G)&&xe(()=>{x&&Be(x,b,c),re&&z.enter(L),G&&at(c,null,b,"mounted")},E)},N=(c,h,v,b,E)=>{if(v&&y(c,v),b)for(let T=0;T<b.length;T++)y(c,b[T]);if(E){let T=E.subTree;if(h===T){const D=E.vnode;N(c,D,D.scopeId,D.slotScopeIds,E.parent)}}},W=(c,h,v,b,E,T,D,S,L=0)=>{for(let x=L;x<c.length;x++){const j=c[x]=S?tt(c[x]):Ue(c[x]);P(null,j,h,v,b,E,T,D,S)}},H=(c,h,v,b,E,T,D)=>{const S=h.el=c.el;let{patchFlag:L,dynamicChildren:x,dirs:j}=h;L|=c.patchFlag&16;const B=c.props||oe,$=h.props||oe;let z;v&&ct(v,!1),(z=$.onVnodeBeforeUpdate)&&Be(z,v,h,c),j&&at(h,c,v,"beforeUpdate"),v&&ct(v,!0);const G=E&&h.type!=="foreignObject";if(x?J(c.dynamicChildren,x,S,v,b,G,T):D||V(c,h,S,null,v,b,G,T,!1),L>0){if(L&16)le(S,h,B,$,v,b,E);else if(L&2&&B.class!==$.class&&r(S,"class",null,$.class,E),L&4&&r(S,"style",B.style,$.style,E),L&8){const re=h.dynamicProps;for(let se=0;se<re.length;se++){const fe=re[se],Le=B[fe],gt=$[fe];(gt!==Le||fe==="value")&&r(S,fe,Le,gt,E,c.children,v,b,F)}}L&1&&c.children!==h.children&&u(S,h.children)}else!D&&x==null&&le(S,h,B,$,v,b,E);((z=$.onVnodeUpdated)||j)&&xe(()=>{z&&Be(z,v,h,c),j&&at(h,c,v,"updated")},b)},J=(c,h,v,b,E,T,D)=>{for(let S=0;S<h.length;S++){const L=c[S],x=h[S],j=L.el&&(L.type===Te||!Ft(L,x)||L.shapeFlag&70)?d(L.el):v;P(L,x,j,null,b,E,T,D,!0)}},le=(c,h,v,b,E,T,D)=>{if(v!==b){if(v!==oe)for(const S in v)!ts(S)&&!(S in b)&&r(c,S,v[S],null,D,h.children,E,T,F);for(const S in b){if(ts(S))continue;const L=b[S],x=v[S];L!==x&&S!=="value"&&r(c,S,x,L,D,h.children,E,T,F)}"value"in b&&r(c,"value",v.value,b.value)}},he=(c,h,v,b,E,T,D,S,L)=>{const x=h.el=c?c.el:o(""),j=h.anchor=c?c.anchor:o("");let{patchFlag:B,dynamicChildren:$,slotScopeIds:z}=h;z&&(S=S?S.concat(z):z),c==null?(n(x,v,b),n(j,v,b),W(h.children,v,j,E,T,D,S,L)):B>0&&B&64&&$&&c.dynamicChildren?(J(c.dynamicChildren,$,v,E,T,D,S),(h.key!=null||E&&h===E.subTree)&&or(c,h,!0)):V(c,h,v,j,E,T,D,S,L)},Ve=(c,h,v,b,E,T,D,S,L)=>{h.slotScopeIds=S,c==null?h.shapeFlag&512?E.ctx.activate(h,v,b,D,L):Me(h,v,b,E,T,D,L):ot(c,h,L)},Me=(c,h,v,b,E,T,D)=>{const S=c.component=_o(c,b,E);if(Qi(c)&&(S.ctx.renderer=Q),Co(S),S.asyncDep){if(E&&E.registerDep(S,ce),!c.el){const L=S.subTree=be(lt);O(null,L,h,v)}return}ce(S,c,h,v,E,T,D)},ot=(c,h,v)=>{const b=h.component=c.component;if(kl(c,h,v))if(b.asyncDep&&!b.asyncResolved){ee(b,h,v);return}else b.next=h,Cl(b.update),b.update();else h.el=c.el,b.vnode=h},ce=(c,h,v,b,E,T,D)=>{const S=()=>{if(c.isMounted){let{next:j,bu:B,u:$,parent:z,vnode:G}=c,re=j,se;ct(c,!1),j?(j.el=G.el,ee(c,j,D)):j=G,B&&Os(B),(se=j.props&&j.props.onVnodeBeforeUpdate)&&Be(se,z,j,G),ct(c,!0);const fe=Ts(c),Le=c.subTree;c.subTree=fe,P(Le,fe,d(Le.el),R(Le),c,E,T),j.el=fe.el,re===null&&Fl(c,fe.el),$&&xe($,E),(se=j.props&&j.props.onVnodeUpdated)&&xe(()=>Be(se,z,j,G),E)}else{let j;const{el:B,props:$}=h,{bm:z,m:G,parent:re}=c,se=Mt(h);if(ct(c,!1),z&&Os(z),!se&&(j=$&&$.onVnodeBeforeMount)&&Be(j,re,h),ct(c,!0),B&&K){const fe=()=>{c.subTree=Ts(c),K(B,c.subTree,c,E,null)};se?h.type.__asyncLoader().then(()=>!c.isUnmounted&&fe()):fe()}else{const fe=c.subTree=Ts(c);P(null,fe,v,b,c,E,T),h.el=fe.el}if(G&&xe(G,E),!se&&(j=$&&$.onVnodeMounted)){const fe=h;xe(()=>Be(j,re,fe),E)}(h.shapeFlag&256||re&&Mt(re.vnode)&&re.vnode.shapeFlag&256)&&c.a&&xe(c.a,E),c.isMounted=!0,h=v=b=null}},L=c.effect=new nn(S,()=>fn(x),c.scope),x=c.update=()=>L.run();x.id=c.uid,ct(c,!0),x()},ee=(c,h,v)=>{h.component=c;const b=c.vnode.props;c.vnode=h,c.next=null,ro(c,h.props,b,v),ao(c,h.children,v),Lt(),kn(),Pt()},V=(c,h,v,b,E,T,D,S,L=!1)=>{const x=c&&c.children,j=c?c.shapeFlag:0,B=h.children,{patchFlag:$,shapeFlag:z}=h;if($>0){if($&128){Ee(x,B,v,b,E,T,D,S,L);return}else if($&256){ue(x,B,v,b,E,T,D,S,L);return}}z&8?(j&16&&F(x,E,T),B!==x&&u(v,B)):j&16?z&16?Ee(x,B,v,b,E,T,D,S,L):F(x,E,T,!0):(j&8&&u(v,""),z&16&&W(B,v,b,E,T,D,S,L))},ue=(c,h,v,b,E,T,D,S,L)=>{c=c||yt,h=h||yt;const x=c.length,j=h.length,B=Math.min(x,j);let $;for($=0;$<B;$++){const z=h[$]=L?tt(h[$]):Ue(h[$]);P(c[$],z,v,null,E,T,D,S,L)}x>j?F(c,E,T,!0,!1,B):W(h,v,b,E,T,D,S,L,B)},Ee=(c,h,v,b,E,T,D,S,L)=>{let x=0;const j=h.length;let B=c.length-1,$=j-1;for(;x<=B&&x<=$;){const z=c[x],G=h[x]=L?tt(h[x]):Ue(h[x]);if(Ft(z,G))P(z,G,v,null,E,T,D,S,L);else break;x++}for(;x<=B&&x<=$;){const z=c[B],G=h[$]=L?tt(h[$]):Ue(h[$]);if(Ft(z,G))P(z,G,v,null,E,T,D,S,L);else break;B--,$--}if(x>B){if(x<=$){const z=$+1,G=z<j?h[z].el:b;for(;x<=$;)P(null,h[x]=L?tt(h[x]):Ue(h[x]),v,G,E,T,D,S,L),x++}}else if(x>$)for(;x<=B;)ie(c[x],E,T,!0),x++;else{const z=x,G=x,re=new Map;for(x=G;x<=$;x++){const Se=h[x]=L?tt(h[x]):Ue(h[x]);Se.key!=null&&re.set(Se.key,x)}let se,fe=0;const Le=$-G+1;let gt=!1,An=0;const kt=new Array(Le);for(x=0;x<Le;x++)kt[x]=0;for(x=z;x<=B;x++){const Se=c[x];if(fe>=Le){ie(Se,E,T,!0);continue}let Ne;if(Se.key!=null)Ne=re.get(Se.key);else for(se=G;se<=$;se++)if(kt[se-G]===0&&Ft(Se,h[se])){Ne=se;break}Ne===void 0?ie(Se,E,T,!0):(kt[Ne-G]=x+1,Ne>=An?An=Ne:gt=!0,P(Se,h[Ne],v,null,E,T,D,S,L),fe++)}const En=gt?po(kt):yt;for(se=En.length-1,x=Le-1;x>=0;x--){const Se=G+x,Ne=h[Se],xn=Se+1<j?h[Se+1].el:b;kt[x]===0?P(null,Ne,v,xn,E,T,D,S,L):gt&&(se<0||x!==En[se]?ge(Ne,v,xn,2):se--)}}},ge=(c,h,v,b,E=null)=>{const{el:T,type:D,transition:S,children:L,shapeFlag:x}=c;if(x&6){ge(c.component.subTree,h,v,b);return}if(x&128){c.suspense.move(h,v,b);return}if(x&64){D.move(c,h,v,Q);return}if(D===Te){n(T,h,v);for(let B=0;B<L.length;B++)ge(L[B],h,v,b);n(c.anchor,h,v);return}if(D===is){g(c,h,v);return}if(b!==2&&x&1&&S)if(b===0)S.beforeEnter(T),n(T,h,v),xe(()=>S.enter(T),E);else{const{leave:B,delayLeave:$,afterLeave:z}=S,G=()=>n(T,h,v),re=()=>{B(T,()=>{G(),z&&z()})};$?$(T,G,re):re()}else n(T,h,v)},ie=(c,h,v,b=!1,E=!1)=>{const{type:T,props:D,ref:S,children:L,dynamicChildren:x,shapeFlag:j,patchFlag:B,dirs:$}=c;if(S!=null&&zs(S,null,v,c,!0),j&256){h.ctx.deactivate(c);return}const z=j&1&&$,G=!Mt(c);let re;if(G&&(re=D&&D.onVnodeBeforeUnmount)&&Be(re,h,c),j&6)w(c.component,v,b);else{if(j&128){c.suspense.unmount(v,b);return}z&&at(c,null,h,"beforeUnmount"),j&64?c.type.remove(c,h,v,E,Q,b):x&&(T!==Te||B>0&&B&64)?F(x,h,v,!1,!0):(T===Te&&B&384||!E&&j&16)&&F(L,h,v),b&&Je(c)}(G&&(re=D&&D.onVnodeUnmounted)||z)&&xe(()=>{re&&Be(re,h,c),z&&at(c,null,h,"unmounted")},v)},Je=c=>{const{type:h,el:v,anchor:b,transition:E}=c;if(h===Te){Ce(v,b);return}if(h===is){A(c);return}const T=()=>{i(v),E&&!E.persisted&&E.afterLeave&&E.afterLeave()};if(c.shapeFlag&1&&E&&!E.persisted){const{leave:D,delayLeave:S}=E,L=()=>D(v,T);S?S(c.el,T,L):L()}else T()},Ce=(c,h)=>{let v;for(;c!==h;)v=p(c),i(c),c=v;i(h)},w=(c,h,v)=>{const{bum:b,scope:E,update:T,subTree:D,um:S}=c;b&&Os(b),E.stop(),T&&(T.active=!1,ie(D,c,h,v)),S&&xe(S,h),xe(()=>{c.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},F=(c,h,v,b=!1,E=!1,T=0)=>{for(let D=T;D<c.length;D++)ie(c[D],h,v,b,E)},R=c=>c.shapeFlag&6?R(c.component.subTree):c.shapeFlag&128?c.suspense.next():p(c.anchor||c.el),U=(c,h,v)=>{c==null?h._vnode&&ie(h._vnode,null,null,!0):P(h._vnode||null,c,h,null,null,null,v),kn(),Vi(),h._vnode=c},Q={p:P,um:ie,m:ge,r:Je,mt:Me,mc:W,pc:V,pbc:J,n:R,o:e};let ne,K;return t&&([ne,K]=t(Q)),{render:U,hydrate:ne,createApp:uo(U,ne)}}function ct({effect:e,update:t},s){e.allowRecurse=t.allowRecurse=s}function or(e,t,s=!1){const n=e.children,i=t.children;if(Y(n)&&Y(i))for(let r=0;r<n.length;r++){const l=n[r];let o=i[r];o.shapeFlag&1&&!o.dynamicChildren&&((o.patchFlag<=0||o.patchFlag===32)&&(o=i[r]=tt(i[r]),o.el=l.el),s||or(l,o)),o.type===Es&&(o.el=l.el)}}function po(e){const t=e.slice(),s=[0];let n,i,r,l,o;const a=e.length;for(n=0;n<a;n++){const f=e[n];if(f!==0){if(i=s[s.length-1],e[i]<f){t[n]=i,s.push(n);continue}for(r=0,l=s.length-1;r<l;)o=r+l>>1,e[s[o]]<f?r=o+1:l=o;f<e[s[r]]&&(r>0&&(t[n]=s[r-1]),s[r]=n)}}for(r=s.length,l=s[r-1];r-- >0;)s[r]=l,l=t[l];return s}const go=e=>e.__isTeleport,Te=Symbol(void 0),Es=Symbol(void 0),lt=Symbol(void 0),is=Symbol(void 0),Bt=[];let ke=null;function gn(e=!1){Bt.push(ke=e?null:[])}function mo(){Bt.pop(),ke=Bt[Bt.length-1]||null}let Wt=1;function jn(e){Wt+=e}function ar(e){return e.dynamicChildren=Wt>0?ke||yt:null,mo(),Wt>0&&ke&&ke.push(e),e}function vo(e,t,s,n,i,r){return ar(Ye(e,t,s,n,i,r,!0))}function cr(e,t,s,n,i){return ar(be(e,t,s,n,i,!0))}function fs(e){return e?e.__v_isVNode===!0:!1}function Ft(e,t){return e.type===t.type&&e.key===t.key}const xs="__vInternal",ur=({key:e})=>e!=null?e:null,rs=({ref:e,ref_key:t,ref_for:s})=>e!=null?de(e)||ve(e)||q(e)?{i:we,r:e,k:t,f:!!s}:e:null;function Ye(e,t=null,s=null,n=0,i=null,r=e===Te?0:1,l=!1,o=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ur(t),ref:t&&rs(t),scopeId:Ki,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:we};return o?(mn(a,s),r&128&&e.normalize(a)):s&&(a.shapeFlag|=de(s)?8:16),Wt>0&&!l&&ke&&(a.patchFlag>0||r&6)&&a.patchFlag!==32&&ke.push(a),a}const be=bo;function bo(e,t=null,s=null,n=0,i=null,r=!1){if((!e||e===Gl)&&(e=lt),fs(e)){const o=Ct(e,t,!0);return s&&mn(o,s),Wt>0&&!r&&ke&&(o.shapeFlag&6?ke[ke.indexOf(e)]=o:ke.push(o)),o.patchFlag|=-2,o}if(Lo(e)&&(e=e.__vccOpts),t){t=yo(t);let{class:o,style:a}=t;o&&!de(o)&&(t.class=Js(o)),ae(a)&&(Fi(a)&&!Y(a)&&(a=Ae({},a)),t.style=Gs(a))}const l=de(e)?1:Il(e)?128:go(e)?64:ae(e)?4:q(e)?2:0;return Ye(e,t,s,n,i,l,r,!0)}function yo(e){return e?Fi(e)||xs in e?Ae({},e):e:null}function Ct(e,t,s=!1){const{props:n,ref:i,patchFlag:r,children:l}=e,o=t?Ao(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:o,key:o&&ur(o),ref:t&&t.ref?s&&i?Y(i)?i.concat(rs(t)):[i,rs(t)]:rs(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Te?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ct(e.ssContent),ssFallback:e.ssFallback&&Ct(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx}}function ls(e=" ",t=0){return be(Es,null,e,t)}function wo(e,t){const s=be(is,null,e);return s.staticCount=t,s}function Lc(e="",t=!1){return t?(gn(),cr(lt,null,e)):be(lt,null,e)}function Ue(e){return e==null||typeof e=="boolean"?be(lt):Y(e)?be(Te,null,e.slice()):typeof e=="object"?tt(e):be(Es,null,String(e))}function tt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ct(e)}function mn(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(Y(t))s=16;else if(typeof t=="object")if(n&65){const i=t.default;i&&(i._c&&(i._d=!1),mn(e,i()),i._c&&(i._d=!0));return}else{s=32;const i=t._;!i&&!(xs in t)?t._ctx=we:i===3&&we&&(we.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else q(t)?(t={default:t,_ctx:we},s=32):(t=String(t),n&64?(s=16,t=[ls(t)]):s=8);e.children=t,e.shapeFlag|=s}function Ao(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const i in n)if(i==="class")t.class!==n.class&&(t.class=Js([t.class,n.class]));else if(i==="style")t.style=Gs([t.style,n.style]);else if(ps(i)){const r=t[i],l=n[i];l&&r!==l&&!(Y(r)&&r.includes(l))&&(t[i]=r?[].concat(r,l):l)}else i!==""&&(t[i]=n[i])}return t}function Be(e,t,s,n=null){Ie(e,t,7,[s,n])}const Eo=lr();let xo=0;function _o(e,t,s){const n=e.type,i=(t?t.appContext:e.appContext)||Eo,r={uid:xo++,vnode:e,type:n,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new Vr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:sr(n,i),emitsOptions:Wi(n,i),emit:null,emitted:null,propsDefaults:oe,inheritAttrs:n.inheritAttrs,ctx:oe,data:oe,props:oe,attrs:oe,slots:oe,refs:oe,setupState:oe,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=t?t.root:r,r.emit=Tl.bind(null,r),e.ce&&e.ce(r),r}let pe=null;const St=e=>{pe=e,e.scope.on()},pt=()=>{pe&&pe.scope.off(),pe=null};function fr(e){return e.vnode.shapeFlag&4}let Kt=!1;function Co(e,t=!1){Kt=t;const{props:s,children:n}=e.vnode,i=fr(e);io(e,s,i,t),oo(e,n);const r=i?So(e,t):void 0;return Kt=!1,r}function So(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=Ii(new Proxy(e.ctx,Zl));const{setup:n}=s;if(n){const i=e.setupContext=n.length>1?To(e):null;St(e),Lt();const r=it(n,e,0,[e.props,i]);if(Pt(),pt(),bi(r)){if(r.then(pt,pt),t)return r.then(l=>{$n(e,l,t)}).catch(l=>{ys(l,e,0)});e.asyncDep=r}else $n(e,r,t)}else hr(e,t)}function $n(e,t,s){q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ae(t)&&(e.setupState=Bi(t)),hr(e,s)}let Vn;function hr(e,t,s){const n=e.type;if(!e.render){if(!t&&Vn&&!n.render){const i=n.template||dn(e).template;if(i){const{isCustomElement:r,compilerOptions:l}=e.appContext.config,{delimiters:o,compilerOptions:a}=n,f=Ae(Ae({isCustomElement:r,delimiters:o},l),a);n.render=Vn(i,f)}}e.render=n.render||Fe}St(e),Lt(),Xl(e),Pt(),pt()}function Oo(e){return new Proxy(e.attrs,{get(t,s){return Oe(e,"get","$attrs"),t[s]}})}function To(e){const t=n=>{e.exposed=n||{}};let s;return{get attrs(){return s||(s=Oo(e))},slots:e.slots,emit:e.emit,expose:t}}function vn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Bi(Ii(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Nt)return Nt[s](e)},has(t,s){return s in t||s in Nt}}))}function Ro(e,t=!0){return q(e)?e.displayName||e.name:e.name||t&&e.__name}function Lo(e){return q(e)&&"__vccOpts"in e}const Re=(e,t)=>El(e,t,Kt);function dr(e,t,s){const n=arguments.length;return n===2?ae(t)&&!Y(t)?fs(t)?be(e,null,[t]):be(e,t):be(e,null,t):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&fs(s)&&(s=[s]),be(e,t,s))}const Po=Symbol(""),ko=()=>qe(Po),Fo="3.2.45",Io="http://www.w3.org/2000/svg",ht=typeof document<"u"?document:null,zn=ht&&ht.createElement("template"),Do={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const i=t?ht.createElementNS(Io,e):ht.createElement(e,s?{is:s}:void 0);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>ht.createTextNode(e),createComment:e=>ht.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ht.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,i,r){const l=s?s.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),s),!(i===r||!(i=i.nextSibling)););else{zn.innerHTML=n?`<svg>${e}</svg>`:e;const o=zn.content;if(n){const a=o.firstChild;for(;a.firstChild;)o.appendChild(a.firstChild);o.removeChild(a)}t.insertBefore(o,s)}return[l?l.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}};function Mo(e,t,s){const n=e._vtc;n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}function No(e,t,s){const n=e.style,i=de(s);if(s&&!i){for(const r in s)Ws(n,r,s[r]);if(t&&!de(t))for(const r in t)s[r]==null&&Ws(n,r,"")}else{const r=n.display;i?t!==s&&(n.cssText=s):t&&e.removeAttribute("style"),"_vod"in e&&(n.display=r)}}const Wn=/\s*!important$/;function Ws(e,t,s){if(Y(s))s.forEach(n=>Ws(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=Bo(e,t);Wn.test(s)?e.setProperty(Rt(n),s.replace(Wn,""),"important"):e[n]=s}}const Kn=["Webkit","Moz","ms"],Ls={};function Bo(e,t){const s=Ls[t];if(s)return s;let n=$e(t);if(n!=="filter"&&n in e)return Ls[t]=n;n=vs(n);for(let i=0;i<Kn.length;i++){const r=Kn[i]+n;if(r in e)return Ls[t]=r}return t}const Yn="http://www.w3.org/1999/xlink";function Ho(e,t,s,n,i){if(n&&t.startsWith("xlink:"))s==null?e.removeAttributeNS(Yn,t.slice(6,t.length)):e.setAttributeNS(Yn,t,s);else{const r=Ir(t);s==null||r&&!gi(s)?e.removeAttribute(t):e.setAttribute(t,r?"":s)}}function Uo(e,t,s,n,i,r,l){if(t==="innerHTML"||t==="textContent"){n&&l(n,i,r),e[t]=s==null?"":s;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=s;const a=s==null?"":s;(e.value!==a||e.tagName==="OPTION")&&(e.value=a),s==null&&e.removeAttribute(t);return}let o=!1;if(s===""||s==null){const a=typeof e[t];a==="boolean"?s=gi(s):s==null&&a==="string"?(s="",o=!0):a==="number"&&(s=0,o=!0)}try{e[t]=s}catch{}o&&e.removeAttribute(t)}function jo(e,t,s,n){e.addEventListener(t,s,n)}function $o(e,t,s,n){e.removeEventListener(t,s,n)}function Vo(e,t,s,n,i=null){const r=e._vei||(e._vei={}),l=r[t];if(n&&l)l.value=n;else{const[o,a]=zo(t);if(n){const f=r[t]=Yo(n,i);jo(e,o,f,a)}else l&&($o(e,o,l,a),r[t]=void 0)}}const qn=/(?:Once|Passive|Capture)$/;function zo(e){let t;if(qn.test(e)){t={};let n;for(;n=e.match(qn);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Rt(e.slice(2)),t]}let Ps=0;const Wo=Promise.resolve(),Ko=()=>Ps||(Wo.then(()=>Ps=0),Ps=Date.now());function Yo(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Ie(qo(n,s.value),t,5,[n])};return s.value=e,s.attached=Ko(),s}function qo(e,t){if(Y(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>i=>!i._stopped&&n&&n(i))}else return t}const Qn=/^on[a-z]/,Qo=(e,t,s,n,i=!1,r,l,o,a)=>{t==="class"?Mo(e,n,i):t==="style"?No(e,s,n):ps(t)?Zs(t)||Vo(e,t,s,n,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Go(e,t,n,i))?Uo(e,t,n,r,l,o,a):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Ho(e,t,n,i))};function Go(e,t,s,n){return n?!!(t==="innerHTML"||t==="textContent"||t in e&&Qn.test(t)&&q(s)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Qn.test(t)&&de(s)?!1:t in e}const Jo=Ae({patchProp:Qo},Do);let Gn;function Zo(){return Gn||(Gn=fo(Jo))}const Xo=(...e)=>{const t=Zo().createApp(...e),{mount:s}=t;return t.mount=n=>{const i=ea(n);if(!i)return;const r=t._component;!q(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.innerHTML="";const l=s(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),l},t};function ea(e){return de(e)?document.querySelector(e):e}const ta="modulepreload",sa=function(e){return"/"+e},Jn={},Xe=function(t,s,n){if(!s||s.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(s.map(r=>{if(r=sa(r),r in Jn)return;Jn[r]=!0;const l=r.endsWith(".css"),o=l?'[rel="stylesheet"]':"";if(!!n)for(let u=i.length-1;u>=0;u--){const d=i[u];if(d.href===r&&(!l||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${o}`))return;const f=document.createElement("link");if(f.rel=l?"stylesheet":ta,l||(f.as="script",f.crossOrigin=""),f.href=r,document.head.appendChild(f),l)return new Promise((u,d)=>{f.addEventListener("load",u),f.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())};/*!
2
2
  * vue-router v4.1.6
3
3
  * (c) 2022 Eduardo San Martin Morote
4
4
  * @license MIT
5
- */const vt=typeof window<"u";function na(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const te=Object.assign;function Fs(e,t){const s={};for(const n in t){const i=t[n];s[n]=De(i)?i.map(e):e(i)}return s}const Ht=()=>{},De=Array.isArray,ia=/\/$/,ra=e=>e.replace(ia,"");function ks(e,t,s="/"){let n,i={},r="",l="";const o=t.indexOf("#");let a=t.indexOf("?");return o<a&&o>=0&&(a=-1),a>-1&&(n=t.slice(0,a),r=t.slice(a+1,o>-1?o:t.length),i=e(r)),o>-1&&(n=n||t.slice(0,o),l=t.slice(o,t.length)),n=ca(n!=null?n:t,s),{fullPath:n+(r&&"?")+r+l,path:n,query:i,hash:l}}function la(e,t){const s=t.query?e(t.query):"";return t.path+(s&&"?")+s+(t.hash||"")}function Zn(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function oa(e,t,s){const n=t.matched.length-1,i=s.matched.length-1;return n>-1&&n===i&&Ot(t.matched[n],s.matched[i])&&pr(t.params,s.params)&&e(t.query)===e(s.query)&&t.hash===s.hash}function Ot(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function pr(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const s in e)if(!aa(e[s],t[s]))return!1;return!0}function aa(e,t){return De(e)?Xn(e,t):De(t)?Xn(t,e):e===t}function Xn(e,t){return De(t)?e.length===t.length&&e.every((s,n)=>s===t[n]):e.length===1&&e[0]===t}function ca(e,t){if(e.startsWith("/"))return e;if(!e)return t;const s=t.split("/"),n=e.split("/");let i=s.length-1,r,l;for(r=0;r<n.length;r++)if(l=n[r],l!==".")if(l==="..")i>1&&i--;else break;return s.slice(0,i).join("/")+"/"+n.slice(r-(r===n.length?1:0)).join("/")}var Yt;(function(e){e.pop="pop",e.push="push"})(Yt||(Yt={}));var Ut;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ut||(Ut={}));function ua(e){if(!e)if(vt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),ra(e)}const fa=/^[^#]+#/;function ha(e,t){return e.replace(fa,"#")+t}function da(e,t){const s=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-s.left-(t.left||0),top:n.top-s.top-(t.top||0)}}const _s=()=>({left:window.pageXOffset,top:window.pageYOffset});function pa(e){let t;if("el"in e){const s=e.el,n=typeof s=="string"&&s.startsWith("#"),i=typeof s=="string"?n?document.getElementById(s.slice(1)):document.querySelector(s):s;if(!i)return;t=da(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function ei(e,t){return(history.state?history.state.position-t:-1)+e}const Ks=new Map;function ga(e,t){Ks.set(e,t)}function ma(e){const t=Ks.get(e);return Ks.delete(e),t}let va=()=>location.protocol+"//"+location.host;function gr(e,t){const{pathname:s,search:n,hash:i}=t,r=e.indexOf("#");if(r>-1){let o=i.includes(e.slice(r))?e.slice(r).length:1,a=i.slice(o);return a[0]!=="/"&&(a="/"+a),Zn(a,"")}return Zn(s,e)+n+i}function ba(e,t,s,n){let i=[],r=[],l=null;const o=({state:p})=>{const w=gr(e,location),F=s.value,L=t.value;let I=0;if(p){if(s.value=w,t.value=p,l&&l===F){l=null;return}I=L?p.position-L.position:0}else n(w);i.forEach(O=>{O(s.value,F,{delta:I,type:Yt.pop,direction:I?I>0?Ut.forward:Ut.back:Ut.unknown})})};function a(){l=s.value}function u(p){i.push(p);const w=()=>{const F=i.indexOf(p);F>-1&&i.splice(F,1)};return r.push(w),w}function f(){const{history:p}=window;!p.state||p.replaceState(te({},p.state,{scroll:_s()}),"")}function d(){for(const p of r)p();r=[],window.removeEventListener("popstate",o),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",o),window.addEventListener("beforeunload",f),{pauseListeners:a,listen:u,destroy:d}}function ti(e,t,s,n=!1,i=!1){return{back:e,current:t,forward:s,replaced:n,position:window.history.length,scroll:i?_s():null}}function ya(e){const{history:t,location:s}=window,n={value:gr(e,s)},i={value:t.state};i.value||r(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(a,u,f){const d=e.indexOf("#"),p=d>-1?(s.host&&document.querySelector("base")?e:e.slice(d))+a:va()+e+a;try{t[f?"replaceState":"pushState"](u,"",p),i.value=u}catch(w){console.error(w),s[f?"replace":"assign"](p)}}function l(a,u){const f=te({},t.state,ti(i.value.back,a,i.value.forward,!0),u,{position:i.value.position});r(a,f,!0),n.value=a}function o(a,u){const f=te({},i.value,t.state,{forward:a,scroll:_s()});r(f.current,f,!0);const d=te({},ti(n.value,a,null),{position:f.position+1},u);r(a,d,!1),n.value=a}return{location:n,state:i,push:o,replace:l}}function wa(e){e=ua(e);const t=ya(e),s=ba(e,t.state,t.location,t.replace);function n(r,l=!0){l||s.pauseListeners(),history.go(r)}const i=te({location:"",base:e,go:n,createHref:ha.bind(null,e)},t,s);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function Aa(e){return typeof e=="string"||e&&typeof e=="object"}function mr(e){return typeof e=="string"||typeof e=="symbol"}const et={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},vr=Symbol("");var si;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(si||(si={}));function Tt(e,t){return te(new Error,{type:e,[vr]:!0},t)}function ze(e,t){return e instanceof Error&&vr in e&&(t==null||!!(e.type&t))}const ni="[^/]+?",Ea={sensitive:!1,strict:!1,start:!0,end:!0},xa=/[.+*?^${}()[\]/\\]/g;function _a(e,t){const s=te({},Ea,t),n=[];let i=s.start?"^":"";const r=[];for(const u of e){const f=u.length?[]:[90];s.strict&&!u.length&&(i+="/");for(let d=0;d<u.length;d++){const p=u[d];let w=40+(s.sensitive?.25:0);if(p.type===0)d||(i+="/"),i+=p.value.replace(xa,"\\$&"),w+=40;else if(p.type===1){const{value:F,repeatable:L,optional:I,regexp:O}=p;r.push({name:F,repeatable:L,optional:I});const m=O||ni;if(m!==ni){w+=10;try{new RegExp(`(${m})`)}catch(A){throw new Error(`Invalid custom RegExp for param "${F}" (${m}): `+A.message)}}let g=L?`((?:${m})(?:/(?:${m}))*)`:`(${m})`;d||(g=I&&u.length<2?`(?:/${g})`:"/"+g),I&&(g+="?"),i+=g,w+=20,I&&(w+=-8),L&&(w+=-20),m===".*"&&(w+=-50)}f.push(w)}n.push(f)}if(s.strict&&s.end){const u=n.length-1;n[u][n[u].length-1]+=.7000000000000001}s.strict||(i+="/?"),s.end?i+="$":s.strict&&(i+="(?:/|$)");const l=new RegExp(i,s.sensitive?"":"i");function o(u){const f=u.match(l),d={};if(!f)return null;for(let p=1;p<f.length;p++){const w=f[p]||"",F=r[p-1];d[F.name]=w&&F.repeatable?w.split("/"):w}return d}function a(u){let f="",d=!1;for(const p of e){(!d||!f.endsWith("/"))&&(f+="/"),d=!1;for(const w of p)if(w.type===0)f+=w.value;else if(w.type===1){const{value:F,repeatable:L,optional:I}=w,O=F in u?u[F]:"";if(De(O)&&!L)throw new Error(`Provided param "${F}" is an array but it is not repeatable (* or + modifiers)`);const m=De(O)?O.join("/"):O;if(!m)if(I)p.length<2&&(f.endsWith("/")?f=f.slice(0,-1):d=!0);else throw new Error(`Missing required param "${F}"`);f+=m}}return f||"/"}return{re:l,score:n,keys:r,parse:o,stringify:a}}function Ca(e,t){let s=0;for(;s<e.length&&s<t.length;){const n=t[s]-e[s];if(n)return n;s++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function Sa(e,t){let s=0;const n=e.score,i=t.score;for(;s<n.length&&s<i.length;){const r=Ca(n[s],i[s]);if(r)return r;s++}if(Math.abs(i.length-n.length)===1){if(ii(n))return 1;if(ii(i))return-1}return i.length-n.length}function ii(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Oa={type:0,value:""},Ta=/[a-zA-Z0-9_]/;function Ra(e){if(!e)return[[]];if(e==="/")return[[Oa]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(w){throw new Error(`ERR (${s})/"${u}": ${w}`)}let s=0,n=s;const i=[];let r;function l(){r&&i.push(r),r=[]}let o=0,a,u="",f="";function d(){!u||(s===0?r.push({type:0,value:u}):s===1||s===2||s===3?(r.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:u,regexp:f,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),u="")}function p(){u+=a}for(;o<e.length;){if(a=e[o++],a==="\\"&&s!==2){n=s,s=4;continue}switch(s){case 0:a==="/"?(u&&d(),l()):a===":"?(d(),s=1):p();break;case 4:p(),s=n;break;case 1:a==="("?s=2:Ta.test(a)?p():(d(),s=0,a!=="*"&&a!=="?"&&a!=="+"&&o--);break;case 2:a===")"?f[f.length-1]=="\\"?f=f.slice(0,-1)+a:s=3:f+=a;break;case 3:d(),s=0,a!=="*"&&a!=="?"&&a!=="+"&&o--,f="";break;default:t("Unknown state");break}}return s===2&&t(`Unfinished custom RegExp for param "${u}"`),d(),l(),i}function Pa(e,t,s){const n=_a(Ra(e.path),s),i=te(n,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function La(e,t){const s=[],n=new Map;t=oi({strict:!1,end:!0,sensitive:!1},t);function i(f){return n.get(f)}function r(f,d,p){const w=!p,F=Fa(f);F.aliasOf=p&&p.record;const L=oi(t,f),I=[F];if("alias"in f){const g=typeof f.alias=="string"?[f.alias]:f.alias;for(const A of g)I.push(te({},F,{components:p?p.record.components:F.components,path:A,aliasOf:p?p.record:F}))}let O,m;for(const g of I){const{path:A}=g;if(d&&A[0]!=="/"){const _=d.record.path,C=_[_.length-1]==="/"?"":"/";g.path=d.record.path+(A&&C+A)}if(O=Pa(g,d,L),p?p.alias.push(O):(m=m||O,m!==O&&m.alias.push(O),w&&f.name&&!li(O)&&l(f.name)),F.children){const _=F.children;for(let C=0;C<_.length;C++)r(_[C],O,p&&p.children[C])}p=p||O,(O.record.components&&Object.keys(O.record.components).length||O.record.name||O.record.redirect)&&a(O)}return m?()=>{l(m)}:Ht}function l(f){if(mr(f)){const d=n.get(f);d&&(n.delete(f),s.splice(s.indexOf(d),1),d.children.forEach(l),d.alias.forEach(l))}else{const d=s.indexOf(f);d>-1&&(s.splice(d,1),f.record.name&&n.delete(f.record.name),f.children.forEach(l),f.alias.forEach(l))}}function o(){return s}function a(f){let d=0;for(;d<s.length&&Sa(f,s[d])>=0&&(f.record.path!==s[d].record.path||!br(f,s[d]));)d++;s.splice(d,0,f),f.record.name&&!li(f)&&n.set(f.record.name,f)}function u(f,d){let p,w={},F,L;if("name"in f&&f.name){if(p=n.get(f.name),!p)throw Tt(1,{location:f});L=p.record.name,w=te(ri(d.params,p.keys.filter(m=>!m.optional).map(m=>m.name)),f.params&&ri(f.params,p.keys.map(m=>m.name))),F=p.stringify(w)}else if("path"in f)F=f.path,p=s.find(m=>m.re.test(F)),p&&(w=p.parse(F),L=p.record.name);else{if(p=d.name?n.get(d.name):s.find(m=>m.re.test(d.path)),!p)throw Tt(1,{location:f,currentLocation:d});L=p.record.name,w=te({},d.params,f.params),F=p.stringify(w)}const I=[];let O=p;for(;O;)I.unshift(O.record),O=O.parent;return{name:L,path:F,params:w,matched:I,meta:Ia(I)}}return e.forEach(f=>r(f)),{addRoute:r,resolve:u,removeRoute:l,getRoutes:o,getRecordMatcher:i}}function ri(e,t){const s={};for(const n of t)n in e&&(s[n]=e[n]);return s}function Fa(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:ka(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function ka(e){const t={},s=e.props||!1;if("component"in e)t.default=s;else for(const n in e.components)t[n]=typeof s=="boolean"?s:s[n];return t}function li(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ia(e){return e.reduce((t,s)=>te(t,s.meta),{})}function oi(e,t){const s={};for(const n in e)s[n]=n in t?t[n]:e[n];return s}function br(e,t){return t.children.some(s=>s===e||br(e,s))}const yr=/#/g,Da=/&/g,Ma=/\//g,Na=/=/g,Ba=/\?/g,wr=/\+/g,Ha=/%5B/g,Ua=/%5D/g,Ar=/%5E/g,ja=/%60/g,Er=/%7B/g,$a=/%7C/g,xr=/%7D/g,Va=/%20/g;function bn(e){return encodeURI(""+e).replace($a,"|").replace(Ha,"[").replace(Ua,"]")}function za(e){return bn(e).replace(Er,"{").replace(xr,"}").replace(Ar,"^")}function Ys(e){return bn(e).replace(wr,"%2B").replace(Va,"+").replace(yr,"%23").replace(Da,"%26").replace(ja,"`").replace(Er,"{").replace(xr,"}").replace(Ar,"^")}function Wa(e){return Ys(e).replace(Na,"%3D")}function Ka(e){return bn(e).replace(yr,"%23").replace(Ba,"%3F")}function Ya(e){return e==null?"":Ka(e).replace(Ma,"%2F")}function hs(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function qa(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;i<n.length;++i){const r=n[i].replace(wr," "),l=r.indexOf("="),o=hs(l<0?r:r.slice(0,l)),a=l<0?null:hs(r.slice(l+1));if(o in t){let u=t[o];De(u)||(u=t[o]=[u]),u.push(a)}else t[o]=a}return t}function ai(e){let t="";for(let s in e){const n=e[s];if(s=Wa(s),n==null){n!==void 0&&(t+=(t.length?"&":"")+s);continue}(De(n)?n.map(r=>r&&Ys(r)):[n&&Ys(n)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+s,r!=null&&(t+="="+r))})}return t}function Qa(e){const t={};for(const s in e){const n=e[s];n!==void 0&&(t[s]=De(n)?n.map(i=>i==null?null:""+i):n==null?n:""+n)}return t}const Ga=Symbol(""),ci=Symbol(""),yn=Symbol(""),_r=Symbol(""),qs=Symbol("");function It(){let e=[];function t(n){return e.push(n),()=>{const i=e.indexOf(n);i>-1&&e.splice(i,1)}}function s(){e=[]}return{add:t,list:()=>e,reset:s}}function st(e,t,s,n,i){const r=n&&(n.enterCallbacks[i]=n.enterCallbacks[i]||[]);return()=>new Promise((l,o)=>{const a=d=>{d===!1?o(Tt(4,{from:s,to:t})):d instanceof Error?o(d):Aa(d)?o(Tt(2,{from:t,to:d})):(r&&n.enterCallbacks[i]===r&&typeof d=="function"&&r.push(d),l())},u=e.call(n&&n.instances[i],t,s,a);let f=Promise.resolve(u);e.length<3&&(f=f.then(a)),f.catch(d=>o(d))})}function Is(e,t,s,n){const i=[];for(const r of e)for(const l in r.components){let o=r.components[l];if(!(t!=="beforeRouteEnter"&&!r.instances[l]))if(Ja(o)){const u=(o.__vccOpts||o)[t];u&&i.push(st(u,s,n,r,l))}else{let a=o();i.push(()=>a.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${l}" at "${r.path}"`));const f=na(u)?u.default:u;r.components[l]=f;const p=(f.__vccOpts||f)[t];return p&&st(p,s,n,r,l)()}))}}return i}function Ja(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ui(e){const t=qe(yn),s=qe(_r),n=Re(()=>t.resolve(Et(e.to))),i=Re(()=>{const{matched:a}=n.value,{length:u}=a,f=a[u-1],d=s.matched;if(!f||!d.length)return-1;const p=d.findIndex(Ot.bind(null,f));if(p>-1)return p;const w=fi(a[u-2]);return u>1&&fi(f)===w&&d[d.length-1].path!==w?d.findIndex(Ot.bind(null,a[u-2])):p}),r=Re(()=>i.value>-1&&tc(s.params,n.value.params)),l=Re(()=>i.value>-1&&i.value===s.matched.length-1&&pr(s.params,n.value.params));function o(a={}){return ec(a)?t[Et(e.replace)?"replace":"push"](Et(e.to)).catch(Ht):Promise.resolve()}return{route:n,href:Re(()=>n.value.href),isActive:r,isExactActive:l,navigate:o}}const Za=hn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:ui,setup(e,{slots:t}){const s=qt(ui(e)),{options:n}=qe(yn),i=Re(()=>({[hi(e.activeClass,n.linkActiveClass,"router-link-active")]:s.isActive,[hi(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:s.isExactActive}));return()=>{const r=t.default&&t.default(s);return e.custom?r:dr("a",{"aria-current":s.isExactActive?e.ariaCurrentValue:null,href:s.href,onClick:s.navigate,class:i.value},r)}}}),Xa=Za;function ec(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function tc(e,t){for(const s in t){const n=t[s],i=e[s];if(typeof n=="string"){if(n!==i)return!1}else if(!De(i)||i.length!==n.length||n.some((r,l)=>r!==i[l]))return!1}return!0}function fi(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const hi=(e,t,s)=>e!=null?e:t!=null?t:s,sc=hn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:s}){const n=qe(qs),i=Re(()=>e.route||n.value),r=qe(ci,0),l=Re(()=>{let u=Et(r);const{matched:f}=i.value;let d;for(;(d=f[u])&&!d.components;)u++;return u}),o=Re(()=>i.value.matched[l.value]);ss(ci,Re(()=>l.value+1)),ss(Ga,o),ss(qs,i);const a=vl();return ns(()=>[a.value,o.value,e.name],([u,f,d],[p,w,F])=>{f&&(f.instances[d]=u,w&&w!==f&&u&&u===p&&(f.leaveGuards.size||(f.leaveGuards=w.leaveGuards),f.updateGuards.size||(f.updateGuards=w.updateGuards))),u&&f&&(!w||!Ot(f,w)||!p)&&(f.enterCallbacks[d]||[]).forEach(L=>L(u))},{flush:"post"}),()=>{const u=i.value,f=e.name,d=o.value,p=d&&d.components[f];if(!p)return di(s.default,{Component:p,route:u});const w=d.props[f],F=w?w===!0?u.params:typeof w=="function"?w(u):w:null,I=dr(p,te({},F,t,{onVnodeUnmounted:O=>{O.component.isUnmounted&&(d.instances[f]=null)},ref:a}));return di(s.default,{Component:I,route:u})||I}}});function di(e,t){if(!e)return null;const s=e(t);return s.length===1?s[0]:s}const nc=sc;function ic(e){const t=La(e.routes,e),s=e.parseQuery||qa,n=e.stringifyQuery||ai,i=e.history,r=It(),l=It(),o=It(),a=bl(et);let u=et;vt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=Fs.bind(null,y=>""+y),d=Fs.bind(null,Ya),p=Fs.bind(null,hs);function w(y,k){let R,U;return mr(y)?(R=t.getRecordMatcher(y),U=k):U=y,t.addRoute(U,R)}function F(y){const k=t.getRecordMatcher(y);k&&t.removeRoute(k)}function L(){return t.getRoutes().map(y=>y.record)}function I(y){return!!t.getRecordMatcher(y)}function O(y,k){if(k=te({},k||a.value),typeof y=="string"){const c=ks(s,y,k.path),h=t.resolve({path:c.path},k),v=i.createHref(c.fullPath);return te(c,h,{params:p(h.params),hash:hs(c.hash),redirectedFrom:void 0,href:v})}let R;if("path"in y)R=te({},y,{path:ks(s,y.path,k.path).path});else{const c=te({},y.params);for(const h in c)c[h]==null&&delete c[h];R=te({},y,{params:d(y.params)}),k.params=d(k.params)}const U=t.resolve(R,k),Q=y.hash||"";U.params=f(p(U.params));const ne=la(n,te({},y,{hash:za(Q),path:U.path})),K=i.createHref(ne);return te({fullPath:ne,hash:Q,query:n===ai?Qa(y.query):y.query||{}},U,{redirectedFrom:void 0,href:K})}function m(y){return typeof y=="string"?ks(s,y,a.value.path):te({},y)}function g(y,k){if(u!==y)return Tt(8,{from:k,to:y})}function A(y){return N(y)}function _(y){return A(te(m(y),{replace:!0}))}function C(y){const k=y.matched[y.matched.length-1];if(k&&k.redirect){const{redirect:R}=k;let U=typeof R=="function"?R(y):R;return typeof U=="string"&&(U=U.includes("?")||U.includes("#")?U=m(U):{path:U},U.params={}),te({query:y.query,hash:y.hash,params:"path"in U?{}:y.params},U)}}function N(y,k){const R=u=O(y),U=a.value,Q=y.state,ne=y.force,K=y.replace===!0,c=C(R);if(c)return N(te(m(c),{state:typeof c=="object"?te({},Q,c.state):Q,force:ne,replace:K}),k||R);const h=R;h.redirectedFrom=k;let v;return!ne&&oa(n,U,R)&&(v=Tt(16,{to:h,from:U}),xe(U,U,!0,!1)),(v?Promise.resolve(v):H(h,U)).catch(b=>ze(b)?ze(b,2)?b:ue(b):ee(b,h,U)).then(b=>{if(b){if(ze(b,2))return N(te({replace:K},m(b.to),{state:typeof b.to=="object"?te({},Q,b.to.state):Q,force:ne}),k||h)}else b=le(h,U,!0,K,Q);return J(h,U,b),b})}function W(y,k){const R=g(y,k);return R?Promise.reject(R):Promise.resolve()}function H(y,k){let R;const[U,Q,ne]=rc(y,k);R=Is(U.reverse(),"beforeRouteLeave",y,k);for(const c of U)c.leaveGuards.forEach(h=>{R.push(st(h,y,k))});const K=W.bind(null,y,k);return R.push(K),mt(R).then(()=>{R=[];for(const c of r.list())R.push(st(c,y,k));return R.push(K),mt(R)}).then(()=>{R=Is(Q,"beforeRouteUpdate",y,k);for(const c of Q)c.updateGuards.forEach(h=>{R.push(st(h,y,k))});return R.push(K),mt(R)}).then(()=>{R=[];for(const c of y.matched)if(c.beforeEnter&&!k.matched.includes(c))if(De(c.beforeEnter))for(const h of c.beforeEnter)R.push(st(h,y,k));else R.push(st(c.beforeEnter,y,k));return R.push(K),mt(R)}).then(()=>(y.matched.forEach(c=>c.enterCallbacks={}),R=Is(ne,"beforeRouteEnter",y,k),R.push(K),mt(R))).then(()=>{R=[];for(const c of l.list())R.push(st(c,y,k));return R.push(K),mt(R)}).catch(c=>ze(c,8)?c:Promise.reject(c))}function J(y,k,R){for(const U of o.list())U(y,k,R)}function le(y,k,R,U,Q){const ne=g(y,k);if(ne)return ne;const K=k===et,c=vt?history.state:{};R&&(U||K?i.replace(y.fullPath,te({scroll:K&&c&&c.scroll},Q)):i.push(y.fullPath,Q)),a.value=y,xe(y,k,R,K),ue()}let he;function Ve(){he||(he=i.listen((y,k,R)=>{if(!Ce.listening)return;const U=O(y),Q=C(U);if(Q){N(te(Q,{replace:!0}),U).catch(Ht);return}u=U;const ne=a.value;vt&&ga(ei(ne.fullPath,R.delta),_s()),H(U,ne).catch(K=>ze(K,12)?K:ze(K,2)?(N(K.to,U).then(c=>{ze(c,20)&&!R.delta&&R.type===Yt.pop&&i.go(-1,!1)}).catch(Ht),Promise.reject()):(R.delta&&i.go(-R.delta,!1),ee(K,U,ne))).then(K=>{K=K||le(U,ne,!1),K&&(R.delta&&!ze(K,8)?i.go(-R.delta,!1):R.type===Yt.pop&&ze(K,20)&&i.go(-1,!1)),J(U,ne,K)}).catch(Ht)}))}let Me=It(),ot=It(),ce;function ee(y,k,R){ue(y);const U=ot.list();return U.length?U.forEach(Q=>Q(y,k,R)):console.error(y),Promise.reject(y)}function V(){return ce&&a.value!==et?Promise.resolve():new Promise((y,k)=>{Me.add([y,k])})}function ue(y){return ce||(ce=!y,Ve(),Me.list().forEach(([k,R])=>y?R(y):k()),Me.reset()),y}function xe(y,k,R,U){const{scrollBehavior:Q}=e;if(!vt||!Q)return Promise.resolve();const ne=!R&&ma(ei(y.fullPath,0))||(U||!R)&&history.state&&history.state.scroll||null;return ji().then(()=>Q(y,k,ne)).then(K=>K&&pa(K)).catch(K=>ee(K,y,k))}const ge=y=>i.go(y);let ie;const Je=new Set,Ce={currentRoute:a,listening:!0,addRoute:w,removeRoute:F,hasRoute:I,getRoutes:L,resolve:O,options:e,push:A,replace:_,go:ge,back:()=>ge(-1),forward:()=>ge(1),beforeEach:r.add,beforeResolve:l.add,afterEach:o.add,onError:ot.add,isReady:V,install(y){const k=this;y.component("RouterLink",Xa),y.component("RouterView",nc),y.config.globalProperties.$router=k,Object.defineProperty(y.config.globalProperties,"$route",{enumerable:!0,get:()=>Et(a)}),vt&&!ie&&a.value===et&&(ie=!0,A(i.location).catch(Q=>{}));const R={};for(const Q in et)R[Q]=Re(()=>a.value[Q]);y.provide(yn,k),y.provide(_r,qt(R)),y.provide(qs,a);const U=y.unmount;Je.add(y),y.unmount=function(){Je.delete(y),Je.size<1&&(u=et,he&&he(),he=null,a.value=et,ie=!1,ce=!1),U()}}};return Ce}function mt(e){return e.reduce((t,s)=>t.then(()=>s()),Promise.resolve())}function rc(e,t){const s=[],n=[],i=[],r=Math.max(t.matched.length,e.matched.length);for(let l=0;l<r;l++){const o=t.matched[l];o&&(e.matched.find(u=>Ot(u,o))?n.push(o):s.push(o));const a=e.matched[l];a&&(t.matched.find(u=>Ot(u,a))||i.push(a))}return[s,n,i]}const lc=ic({history:wa(),linkActiveClass:"active",routes:[{path:"/",name:"Home",component:()=>Xe(()=>import("./home.js"),["assets/home.js","assets/home.css"])},{path:"/install",name:"Install",component:()=>Xe(()=>import("./install.js"),[])},{path:"/selects",name:"Selects",component:()=>Xe(()=>import("./selects.js"),[])},{path:"/data",name:"Data",component:()=>Xe(()=>import("./data.js"),[])},{path:"/settings",name:"Settings",component:()=>Xe(()=>import("./index2.js"),["assets/index2.js","assets/index.css"])},{path:"/events",name:"Events",component:()=>Xe(()=>import("./index3.js"),[])},{path:"/methods",name:"Methods",component:()=>Xe(()=>import("./index4.js"),[])},{path:"/frameworks",name:"Frameworks",component:()=>Xe(()=>import("./index5.js"),[])}]});function Cs(){return Math.random().toString(36).substring(2,10)}function oc(e,t){function s(i,r){return r&&i&&i.classList&&i.classList.contains(r)||r&&i&&i.dataset&&i.dataset.id&&i.dataset.id===t?i:null}function n(i,r){return!i||i===document?null:s(i,r)?i:n(i.parentNode,r)}return s(e,t)||n(e,t)}function ds(e,t=50,s=!1){let n;return function(...i){const r=self,l=()=>{n=null,s||e.apply(r,i)},o=s&&!n;clearTimeout(n),n=setTimeout(l,t),o&&e.apply(r,i)}}function ac(e){const t=e.replace(/[A-Z\u00C0-\u00D6\u00D8-\u00DE]/g,s=>"-"+s.toLowerCase());return e[0]===e[0].toUpperCase()?t.substring(1):t}class Ke{constructor(t){M(this,"id");M(this,"label");M(this,"options");if(this.id=!t.id||t.id===""?Cs():t.id,this.label=t.label||"",this.options=[],t.options)for(const s of t.options)this.options.push(new we(s))}}class we{constructor(t){M(this,"id");M(this,"value");M(this,"text");M(this,"html");M(this,"selected");M(this,"display");M(this,"disabled");M(this,"placeholder");M(this,"class");M(this,"style");M(this,"data");M(this,"mandatory");this.id=!t.id||t.id===""?Cs():t.id,this.value=t.value===void 0?t.text:t.value,this.text=t.text||"",this.html=t.html||"",this.selected=t.selected!==void 0?t.selected:!1,this.display=t.display!==void 0?t.display:!0,this.disabled=t.disabled!==void 0?t.disabled:!1,this.mandatory=t.mandatory!==void 0?t.mandatory:!1,this.placeholder=t.placeholder!==void 0?t.placeholder:!1,this.class=t.class||"",this.style=t.style||"",this.data=t.data||{}}}class cc{constructor(t,s){M(this,"selectType","single");M(this,"data",[]);this.selectType=t,this.setData(s)}validateDataArray(t){if(!Array.isArray(t))return new Error("Data must be an array");for(let s of t)if(s instanceof Ke||"label"in s){if(!("label"in s))return new Error("Optgroup must have a label");if("options"in s&&s.options)for(let n of s.options)return this.validateOption(n)}else return s instanceof we||"text"in s?this.validateOption(s):new Error("Data object must be a valid optgroup or option");return null}validateOption(t){return"text"in t?null:new Error("Option must have a text")}partialToFullData(t){let s=[];return t.forEach(n=>{if(n instanceof Ke||"label"in n){let i=[];"options"in n&&n.options&&n.options.forEach(r=>{i.push(new we(r))}),i.length>0&&s.push(new Ke(n))}(n instanceof we||"text"in n)&&s.push(new we(n))}),s}setData(t){this.data=this.partialToFullData(t),this.selectType==="single"&&this.setSelectedBy("value",this.getSelected())}getData(){return this.filter(null,!0)}getDataOptions(){return this.filter(null,!1)}addOption(t){this.setData(this.getData().concat(new we(t)))}setSelectedBy(t,s){let n=null,i=!1;for(let r of this.data){if(r instanceof Ke)for(let l of r.options)n||(n=l),l.selected=i?!1:s.includes(l[t]),l.selected&&this.selectType==="single"&&(i=!0);r instanceof we&&(n||(n=r),r.selected=i?!1:s.includes(r[t]),r.selected&&this.selectType==="single"&&(i=!0))}this.selectType==="single"&&n&&!i&&(n.selected=!0)}getSelected(){let t=this.getSelectedOptions(),s=[];return t.forEach(n=>{s.push(n.value)}),s}getSelectedOptions(){return this.filter(t=>t.selected,!1)}getSelectedIDs(){let t=this.getSelectedOptions(),s=[];return t.forEach(n=>{s.push(n.id)}),s}getOptionByID(t){let s=this.filter(n=>n.id===t,!1);return s.length?s[0]:null}search(t,s){return t=t.trim(),t===""?this.getData():this.filter(n=>s(n,t),!0)}filter(t,s){const n=[];return this.data.forEach(i=>{if(i instanceof Ke)if(!s)i.options.forEach(r=>{t&&t(r)&&n.push(r)});else{let r=[];i.options.forEach(l=>{(!t||t(l))&&r.push(new we(l))}),r.length>0&&n.push(new Ke({id:i.id,label:i.label,options:r}))}i instanceof we&&(!t||t(i))&&n.push(new we(i))}),n}}class uc{constructor(t,s,n){M(this,"settings");M(this,"store");M(this,"callbacks");M(this,"main");M(this,"content");M(this,"classes",{main:"ss-main",placeholder:"ss-placeholder",values:"ss-values",single:"ss-single",value:"ss-value",valueText:"ss-value-text",valueDelete:"ss-value-delete",valueOut:"ss-value-out",deselect:"ss-deselect",deselectPath:"M10,10 L90,90 M10,90 L90,10",arrow:"ss-arrow",arrowClose:"M10,30 L50,70 L90,30",arrowOpen:"M10,70 L50,30 L90,70",content:"ss-content",openAbove:"ss-open-above",openBelow:"ss-open-below",search:"ss-search",searchHighlighter:"ss-search-highlight",searching:"ss-searching",addable:"ss-addable",addablePath:"M50,10 L50,90 M10,50 L90,50",list:"ss-list",optgroup:"ss-optgroup",optgroupLabel:"ss-optgroup-label",optgroupSelectable:"ss-optgroup-selectable",option:"ss-option",optionSelected:"ss-option-selected",optionDelete:"M10,10 L90,90 M10,90 L90,10",highlighted:"ss-highlighted",error:"ss-error",disabled:"ss-disabled",hide:"ss-hide"});this.store=s,this.settings=t,this.callbacks=n,this.main=this.mainDiv(),this.content=this.contentDiv(),this.renderValues(),this.renderOptions(this.store.getData()),this.settings.contentLocation.appendChild(this.content.main)}enable(){this.main.main.classList.remove(this.classes.disabled),this.content.search.input.disabled=!1}disable(){this.main.main.classList.add(this.classes.disabled),this.content.search.input.disabled=!0}open(){this.main.arrow.path.setAttribute("d",this.classes.arrowOpen),this.main.main.classList.add(this.settings.openPosition==="up"?this.classes.openAbove:this.classes.openBelow),this.moveContent(),this.renderOptions(this.store.getData()),this.settings.contentPosition==="relative"?this.moveContentBelow():this.settings.openPosition.toLowerCase()==="up"?this.moveContentAbove():this.settings.openPosition.toLowerCase()==="down"?this.moveContentBelow():this.putContent(this.content.main,this.settings.isOpen)==="up"?this.moveContentAbove():this.moveContentBelow();const t=this.store.getSelectedOptions();if(t.length){const s=t[t.length-1].id,n=this.content.list.querySelector('[data-id="'+s+'"]');n&&this.ensureElementInView(this.content.list,n)}}close(){this.main.main.classList.remove(this.classes.openAbove),this.main.main.classList.remove(this.classes.openBelow),this.content.main.classList.remove(this.classes.openAbove),this.content.main.classList.remove(this.classes.openBelow),this.main.arrow.path.setAttribute("d",this.classes.arrowClose)}mainDiv(){const t=document.createElement("div");if(t.tabIndex=0,t.style.cssText=this.settings.style!==""?this.settings.style:"",t.className="",t.classList.add(this.settings.id),t.classList.add(this.classes.main),this.settings.class)for(const a of this.settings.class)a.trim()!==""&&t.classList.add(a.trim());t.onfocus=()=>{this.settings.triggerFocus&&this.callbacks.open()},t.onkeydown=a=>{switch(a.key){case"ArrowUp":case"ArrowDown":return this.callbacks.open(),a.key==="ArrowDown"?this.highlight("down"):this.highlight("up"),!1;case"Tab":return this.callbacks.close(),!0;case"Enter":const u=this.content.list.querySelector("."+this.classes.highlighted);return u&&u.click(),!1;case"Escape":return this.callbacks.close(),!1}},t.onclick=a=>{!this.settings.isEnabled||(this.settings.isOpen?this.callbacks.close():this.callbacks.open())};const s=document.createElement("div");s.classList.add(this.classes.values),t.appendChild(s);const n=document.createElement("div");n.classList.add(this.classes.deselect),(!this.settings.allowDeselect||this.settings.isMultiple)&&n.classList.add(this.classes.hide),n.onclick=a=>{a.stopPropagation(),this.settings.isEnabled&&this.callbacks.setSelected([""])};const i=document.createElementNS("http://www.w3.org/2000/svg","svg");i.setAttribute("viewBox","0 0 100 100");const r=document.createElementNS("http://www.w3.org/2000/svg","path");r.setAttribute("d",this.classes.deselectPath),i.appendChild(r),n.appendChild(i),t.appendChild(n);const l=document.createElementNS("http://www.w3.org/2000/svg","svg");l.classList.add(this.classes.arrow),l.setAttribute("viewBox","0 0 100 100");const o=document.createElementNS("http://www.w3.org/2000/svg","path");return o.setAttribute("d",this.classes.arrowClose),this.settings.alwaysOpen&&l.classList.add(this.classes.hide),l.appendChild(o),t.appendChild(l),{main:t,values:s,deselect:{main:n,svg:i,path:r},arrow:{main:l,path:o}}}mainFocus(t){t||(this.settings.triggerFocus=!1),this.main.main.focus({preventScroll:!0}),this.settings.triggerFocus=!0}placeholder(){const t=this.store.filter(i=>i.placeholder,!1);let s=this.settings.placeholderText;t.length&&(t[0].html!==""?s=t[0].html:t[0].text!==""&&(s=t[0].text));const n=document.createElement("div");return n.classList.add(this.classes.placeholder),n.innerHTML=s,n}renderValues(){if(!this.settings.isMultiple){this.renderSingleValue();return}this.renderMultipleValues()}renderSingleValue(){const t=this.store.filter(n=>n.selected&&!n.placeholder,!1),s=t.length>0?t[0]:null;if(!s)this.main.values.innerHTML=this.placeholder().outerHTML;else{const n=document.createElement("div");n.classList.add(this.classes.single),n.innerHTML=s.html?s.html:s.text,this.main.values.innerHTML=n.outerHTML}!this.settings.allowDeselect||!t.length?this.main.deselect.main.classList.add(this.classes.hide):this.main.deselect.main.classList.remove(this.classes.hide)}renderMultipleValues(){let t=this.main.values.childNodes,s=this.store.filter(i=>i.selected&&i.display,!1);if(s.length===0){this.main.values.innerHTML=this.placeholder().outerHTML;return}else{const i=this.main.values.querySelector("."+this.classes.placeholder);i&&i.remove()}let n=[];for(let i=0;i<t.length;i++){const r=t[i],l=r.getAttribute("data-id");l&&(s.filter(a=>a.id===l,!1).length||n.push(r))}for(const i of n)i.classList.add(this.classes.valueOut),setTimeout(()=>{this.main.values.removeChild(i)},100);t=this.main.values.childNodes;for(let i=0;i<s.length;i++){let r=!0;for(let l=0;l<t.length;l++)s[i].id===String(t[l].dataset.id)&&(r=!1);r&&(t.length===0?this.main.values.appendChild(this.multipleValue(s[i])):i===0?this.main.values.insertBefore(this.multipleValue(s[i]),t[i]):t[i-1].insertAdjacentElement("afterend",this.multipleValue(s[i])))}}multipleValue(t){const s=document.createElement("div");s.classList.add(this.classes.value),s.dataset.id=t.id;const n=document.createElement("div");if(n.classList.add(this.classes.valueText),n.innerHTML=t.text,s.appendChild(n),!t.mandatory){const i=document.createElement("div");i.classList.add(this.classes.valueDelete),i.onclick=o=>{o.preventDefault(),o.stopPropagation();let a=!0;const u=this.store.getSelectedOptions(),f=u.filter(d=>d.selected&&d.id!==t.id,!0);if(!(this.settings.minSelected&&f.length<this.settings.minSelected)&&(this.callbacks.beforeChange&&(a=this.callbacks.beforeChange(f,u)===!0),a)){let d=[];for(const p of f){if(p instanceof Ke)for(const w of p.options)d.push(w.value);p instanceof we&&d.push(p.value)}this.callbacks.setSelected(d),this.settings.closeOnSelect&&this.callbacks.close(),this.callbacks.afterChange&&this.callbacks.afterChange(f)}};const r=document.createElementNS("http://www.w3.org/2000/svg","svg");r.setAttribute("viewBox","0 0 100 100");const l=document.createElementNS("http://www.w3.org/2000/svg","path");l.setAttribute("d",this.classes.optionDelete),r.appendChild(l),i.appendChild(r),s.appendChild(i)}return s}contentDiv(){const t=document.createElement("div");if(t.classList.add(this.classes.content),t.dataset.id=this.settings.id,this.settings.style!==""&&(t.style.cssText=this.settings.style),this.settings.contentPosition==="relative"&&t.classList.add("ss-"+this.settings.contentPosition),this.settings.class.length)for(const i of this.settings.class)i.trim()!==""&&t.classList.add(i.trim());const s=this.searchDiv();t.appendChild(s.main);const n=this.listDiv();return t.appendChild(n),{main:t,search:s,list:n}}moveContent(){if(this.settings.contentPosition==="relative")return;const t=this.main.main.getBoundingClientRect();this.content.main.style.top=t.top+t.height+window.scrollY+"px",this.content.main.style.left=t.left+window.scrollX+"px",this.content.main.style.width=t.width+"px"}searchDiv(){const t=document.createElement("div"),s=document.createElement("input"),n=document.createElement("div");t.classList.add(this.classes.search);const i={main:t,input:s};if(this.settings.showSearch||(t.classList.add(this.classes.hide),s.readOnly=!0),s.type="search",s.placeholder=this.settings.searchPlaceholder,s.tabIndex=-1,s.setAttribute("aria-label",this.settings.searchPlaceholder),s.setAttribute("autocapitalize","off"),s.setAttribute("autocomplete","off"),s.setAttribute("autocorrect","off"),s.oninput=ds(r=>{this.callbacks.search(r.target.value)},100),s.onkeydown=r=>{switch(r.key){case"ArrowUp":case"ArrowDown":return this.callbacks.open(),r.key==="ArrowDown"?this.highlight("down"):this.highlight("up"),!1;case"Tab":return this.callbacks.close(),!0;case"Escape":return this.callbacks.close(),!1;case"Enter":if(this.callbacks.addable&&r.ctrlKey)n.click();else{const l=this.content.list.querySelector("."+this.classes.highlighted);l&&l.click()}return!1}},s.onfocus=()=>{this.settings.isOpen||this.callbacks.open()},t.appendChild(s),this.callbacks.addable){n.classList.add(this.classes.addable);const r=document.createElementNS("http://www.w3.org/2000/svg","svg");r.setAttribute("viewBox","0 0 100 100");const l=document.createElementNS("http://www.w3.org/2000/svg","path");l.setAttribute("d",this.classes.addablePath),r.appendChild(l),n.appendChild(r),n.onclick=o=>{if(o.preventDefault(),o.stopPropagation(),!this.callbacks.addable)return;const a=this.content.search.input.value.trim();if(a===""){this.content.search.input.focus();return}const u=this.callbacks.addable(a);typeof u=="string"?this.callbacks.addOption(new we({text:u,value:u})):this.callbacks.addOption(new we(u)),this.callbacks.setSelected([a]),this.callbacks.search(""),this.settings.closeOnSelect&&setTimeout(()=>{this.callbacks.close()},100)},t.appendChild(n),i.addable={main:n,svg:r,path:l}}return i}searchFocus(t){t||(this.settings.triggerFocus=!1),this.content.search.input.focus(),this.settings.triggerFocus=!0}getOptions(t=!1,s=!1,n=!1){let i="."+this.classes.option;return t&&(i+=":not(."+this.classes.placeholder+")"),s&&(i+=":not(."+this.classes.disabled+")"),n&&(i+=":not(."+this.classes.hide+")"),Array.from(this.content.list.querySelectorAll(i))}highlight(t){const s=this.getOptions(!0,!0,!0);if(s.length!==0){if(s.length===1&&!s[0].classList.contains(this.classes.highlighted)){s[0].classList.add(this.classes.highlighted);return}for(let n=0;n<s.length;n++)if(s[n].classList.contains(this.classes.highlighted)){s[n].classList.remove(this.classes.highlighted),t==="down"?n+1<s.length?(s[n+1].classList.add(this.classes.highlighted),this.ensureElementInView(this.content.list,s[n+1])):(s[0].classList.add(this.classes.highlighted),this.ensureElementInView(this.content.list,s[0])):n-1>=0?(s[n-1].classList.add(this.classes.highlighted),this.ensureElementInView(this.content.list,s[n-1])):(s[s.length-1].classList.add(this.classes.highlighted),this.ensureElementInView(this.content.list,s[s.length-1]));return}s[t==="down"?0:s.length-1].classList.add(this.classes.highlighted),this.ensureElementInView(this.content.list,s[t==="down"?0:s.length-1])}}listDiv(){const t=document.createElement("div");return t.classList.add(this.classes.list),t.setAttribute("role","listbox"),t}renderError(t){this.content.list.innerHTML="";const s=document.createElement("div");s.classList.add(this.classes.error),s.textContent=t,this.content.list.appendChild(s)}renderSearching(){this.content.list.innerHTML="";const t=document.createElement("div");t.classList.add(this.classes.searching),t.textContent=this.settings.searchingText,this.content.list.appendChild(t)}renderOptions(t){if(this.content.list.innerHTML="",t.length===0){const s=document.createElement("div");s.classList.add(this.classes.option),s.classList.add(this.classes.disabled),s.innerHTML=this.settings.searchText,this.content.list.appendChild(s);return}for(const s of t){if(s instanceof Ke){const n=document.createElement("div");n.classList.add(this.classes.optgroup);const i=document.createElement("div");i.classList.add(this.classes.optgroupLabel),i.innerHTML=s.label,this.settings.selectByGroup&&this.settings.isMultiple&&(i.classList.add(this.classes.optgroupSelectable),i.addEventListener("click",r=>{r.preventDefault(),r.stopPropagation();for(const l of n.children)l.className.indexOf(this.classes.option)!==-1&&l.click()})),n.appendChild(i);for(const r of s.options)n.appendChild(this.option(r));this.content.list.appendChild(n)}s instanceof we&&this.content.list.appendChild(this.option(s))}}option(t){if(t.placeholder){const n=document.createElement("div");return n.classList.add(this.classes.option),n.classList.add(this.classes.hide),n}const s=document.createElement("div");if(s.dataset.id=t.id,s.classList.add(this.classes.option),s.setAttribute("role","option"),t.class&&t.class.split(" ").forEach(n=>{s.classList.add(n)}),t.style&&(s.style.cssText=t.style),this.settings.searchHighlight&&this.content.search.input.value.trim()!==""){const n=t.html!==""?t.html:t.text;s.innerHTML=this.highlightText(n,this.content.search.input.value,this.classes.searchHighlighter)}else t.html!==""?s.innerHTML=t.html:s.textContent=t.text;return this.settings.showOptionTooltips&&s.textContent&&s.setAttribute("title",s.textContent),(t.selected&&!this.settings.allowDeselect||t.disabled&&!this.settings.allowDeselect)&&s.classList.add(this.classes.disabled),t.selected&&this.settings.hideSelected&&s.classList.add(this.classes.hide),t.selected?s.classList.add(this.classes.optionSelected):s.classList.remove(this.classes.optionSelected),s.addEventListener("click",n=>{n.preventDefault(),n.stopPropagation();const i=this.store.getSelected(),r=n.currentTarget,l=String(r.dataset.id);if(t.disabled||t.selected&&!this.settings.allowDeselect||this.settings.isMultiple&&Array.isArray(i)&&this.settings.maxSelected<=i.length)return;let o=!1;const a=this.store.getSelectedOptions();let u=[];this.settings.isMultiple&&(t.selected?u=a.filter(f=>f.id!==l):u=a.concat(t)),this.settings.isMultiple||(t.selected?u=[]:u=[t]),this.callbacks.beforeChange||(o=!0),this.callbacks.beforeChange&&(this.callbacks.beforeChange(u,a)===!1?o=!1:o=!0),o&&(this.store.getOptionByID(l)||this.callbacks.addOption(t),this.callbacks.setSelected(u.map(f=>f.value)),this.settings.closeOnSelect&&this.callbacks.close(),this.callbacks.afterChange&&this.callbacks.afterChange(u))}),s}destroy(){this.main.main.remove(),this.content.main.remove()}highlightText(t,s,n){let i=t;const r=new RegExp("("+s.trim()+")(?![^<]*>[^<>]*</)","i");if(!t.match(r))return t;const l=t.match(r).index,o=l+t.match(r)[0].toString().length,a=t.substring(l,o);return i=i.replace(r,`<mark class="${n}">${a}</mark>`),i}moveContentAbove(){let t=this.main.main.offsetHeight;const s=this.content.main.offsetHeight,n=t+s-1;this.content.main.style.margin="-"+n+"px 0px 0px 0px",this.content.main.style.transformOrigin="center bottom",this.main.main.classList.remove(this.classes.openBelow),this.main.main.classList.add(this.classes.openAbove),this.content.main.classList.remove(this.classes.openBelow),this.content.main.classList.add(this.classes.openAbove)}moveContentBelow(){this.content.main.style.margin="-1px 0px 0px 0px",this.content.main.style.transformOrigin="center top",this.main.main.classList.remove(this.classes.openAbove),this.main.main.classList.add(this.classes.openBelow),this.content.main.classList.remove(this.classes.openAbove),this.content.main.classList.add(this.classes.openBelow)}ensureElementInView(t,s){const n=t.scrollTop+t.offsetTop,i=n+t.clientHeight,r=s.offsetTop,l=r+s.clientHeight;r<n?t.scrollTop-=n-r:l>i&&(t.scrollTop+=l-i)}putContent(t,s){const n=t.offsetHeight,i=t.getBoundingClientRect(),r=s?i.top:i.top-n,l=s?i.bottom:i.bottom+n;return r<=0?"down":l>=window.innerHeight?"up":"down"}}class fc{constructor(t){M(this,"select");M(this,"listen",!1);M(this,"onSelectChange");M(this,"onValueChange");M(this,"observer",null);this.select=t}enable(){this.disconnectObserver(),this.select.disabled=!1,this.connectObserver()}disable(){this.disconnectObserver(),this.select.disabled=!0,this.connectObserver()}hideUI(){this.select.tabIndex=-1,this.select.style.display="none",this.select.setAttribute("aria-hidden","true")}showUI(){this.select.removeAttribute("tabindex"),this.select.style.display="",this.select.removeAttribute("aria-hidden")}changeListen(t){this.listen=t,this.listen?this.connectObserver():this.disconnectObserver()}addSelectChangeListener(t){this.onSelectChange=t,this.addObserver(),this.connectObserver(),this.changeListen(!0)}removeSelectChangeListener(){this.changeListen(!1),this.onSelectChange=void 0}addValueChangeListener(t){this.onValueChange=t,this.select.addEventListener("change",this.valueChange.bind(this))}removeValueChangeListener(){this.onValueChange=void 0,this.select.removeEventListener("change",this.valueChange.bind(this))}valueChange(t){this.onValueChange&&this.onValueChange(this.getSelectedValues())}observeWrapper(t){this.onSelectChange&&this.onSelectChange(this.getData())}addObserver(){this.observer&&(this.disconnectObserver(),this.observer=null),this.observer=new MutationObserver(this.observeWrapper)}connectObserver(){this.observer&&this.observer.observe(this.select,{attributes:!0,childList:!0,characterData:!0,subtree:!0})}disconnectObserver(){this.observer&&this.observer.disconnect()}getData(){let t=[];const s=this.select.childNodes;for(const n of s)n.nodeName==="OPTGROUP"&&t.push(this.getDataFromOptgroup(n)),n.nodeName==="OPTION"&&t.push(this.getDataFromOption(n));return t}getDataFromOptgroup(t){let s={id:"",label:t.label,options:[]};const n=t.childNodes;for(const i of n)i.nodeName==="OPTION"&&s.options.push(this.getDataFromOption(i));return s}getSelectedValues(){let t=[];const s=this.select.childNodes;for(const n of s){if(n.nodeName==="OPTGROUP"){const i=n.childNodes;for(const r of i)if(r.nodeName==="OPTION"){const l=r;l.selected&&t.push(l.value)}}if(n.nodeName==="OPTION"){const i=n;i.selected&&t.push(i.value)}}return t}getDataFromOption(t){return{id:(t.dataset?t.dataset.id:!1)||Cs(),value:t.value,text:t.text,html:t.innerHTML,selected:t.selected,display:t.style.display!=="none",disabled:t.disabled,mandatory:t.dataset?t.dataset.mandatory==="true":!1,placeholder:t.dataset.placeholder==="true",class:t.className,style:t.style.cssText,data:t.dataset}}setSelected(t){const s=this.select.childNodes;for(const n of s){if(n.nodeName==="OPTGROUP"){const r=n.childNodes;for(const l of r)if(l.nodeName==="OPTION"){const o=l;o.selected=t.includes(o.value)}}if(n.nodeName==="OPTION"){const i=n;i.selected=t.includes(i.value)}}}updateSelect(t,s,n){this.changeListen(!1),t&&(this.select.id=t),s&&(this.select.style.cssText=s),n&&(this.select.className="",n.forEach(i=>{i.trim()!==""&&this.select.classList.add(i.trim())})),this.changeListen(!0)}updateOptions(t){this.changeListen(!1),this.select.innerHTML="";for(const s of t)s instanceof Ke&&this.select.appendChild(this.createOptgroup(s)),s instanceof we&&this.select.appendChild(this.createOption(s));this.changeListen(!0)}createOptgroup(t){const s=document.createElement("optgroup");if(s.id=t.id,s.label=t.label,t.options)for(const n of t.options)s.appendChild(this.createOption(n));return s}createOption(t){const s=document.createElement("option");return s.value=t.value!==""?t.value:t.text,s.innerHTML=t.html||t.text,t.selected&&(s.selected=t.selected),t.disabled&&(s.disabled=!0),t.display===!1&&(s.style.display="none"),t.placeholder&&s.setAttribute("data-placeholder","true"),t.mandatory&&s.setAttribute("data-mandatory","true"),t.class&&t.class.split(" ").forEach(n=>{s.classList.add(n)}),t.data&&typeof t.data=="object"&&Object.keys(t.data).forEach(n=>{s.setAttribute("data-"+ac(n),t.data[n])}),s}destroy(){this.changeListen(!1),this.disconnectObserver(),this.removeSelectChangeListener(),this.removeValueChangeListener(),this.showUI()}}class hc{constructor(t){M(this,"id","");M(this,"style","");M(this,"class",[]);M(this,"isMultiple",!1);M(this,"isOpen",!1);M(this,"triggerFocus",!0);M(this,"intervalMove",null);M(this,"mainHeight",30);M(this,"contentHeight",0);M(this,"isEnabled");M(this,"alwaysOpen");M(this,"showSearch");M(this,"searchPlaceholder");M(this,"searchText");M(this,"searchingText");M(this,"searchHighlight");M(this,"closeOnSelect");M(this,"contentLocation");M(this,"contentPosition");M(this,"openPosition");M(this,"placeholderText");M(this,"allowDeselect");M(this,"hideSelected");M(this,"showOptionTooltips");M(this,"selectByGroup");M(this,"minSelected");M(this,"maxSelected");M(this,"timeoutDelay");t||(t={}),this.id="ss-"+Cs(),this.style=t.style||"",this.class=t.class||[],this.isEnabled=t.isEnabled!==void 0?t.isEnabled:!0,this.alwaysOpen=t.alwaysOpen!==void 0?t.alwaysOpen:!1,this.showSearch=t.showSearch!==void 0?t.showSearch:!0,this.searchPlaceholder=t.searchPlaceholder||"Search",this.searchText=t.searchText||"No Results",this.searchingText=t.searchingText||"Searching...",this.searchHighlight=t.searchHighlight!==void 0?t.searchHighlight:!1,this.closeOnSelect=t.closeOnSelect!==void 0?t.closeOnSelect:!0,this.contentLocation=t.contentLocation||document.body,this.contentPosition=t.contentPosition||"absolute",this.openPosition=t.openPosition||"auto",this.placeholderText=t.placeholderText||"Select Value",this.allowDeselect=t.allowDeselect!==void 0?t.allowDeselect:!1,this.hideSelected=t.hideSelected!==void 0?t.hideSelected:!1,this.showOptionTooltips=t.showOptionTooltips!==void 0?t.showOptionTooltips:!1,this.selectByGroup=t.selectByGroup!==void 0?t.selectByGroup:!1,this.minSelected=t.minSelected||0,this.maxSelected=t.maxSelected||1e3,this.timeoutDelay=t.timeoutDelay||200}}class dc{constructor(t){M(this,"selectEl");M(this,"settings");M(this,"select");M(this,"store");M(this,"render");M(this,"events",{search:void 0,searchFilter:(t,s)=>t.text.toLowerCase().indexOf(s.toLowerCase())!==-1,addable:void 0,beforeChange:void 0,afterChange:void 0,beforeOpen:void 0,afterOpen:void 0,beforeClose:void 0,afterClose:void 0});M(this,"windowResize",ds(()=>{!this.settings.isOpen||this.render.moveContent()}));M(this,"windowScroll",ds(()=>{if(!!this.settings.isOpen){if(this.settings.openPosition==="down"){this.render.moveContentBelow();return}else if(this.settings.openPosition==="up"){this.render.moveContentAbove();return}this.settings.contentPosition==="relative"?this.render.moveContentBelow():this.render.putContent(this.render.content.main,this.settings.isOpen)==="up"?this.render.moveContentAbove():this.render.moveContentBelow()}}));M(this,"documentClick",t=>{!this.settings.isOpen||t.target&&!oc(t.target,this.settings.id)&&this.close()});if(this.selectEl=typeof t.select=="string"?document.querySelector(t.select):t.select,!this.selectEl){t.events&&t.events.error&&t.events.error(new Error("Could not find select element"));return}if(this.selectEl.tagName!=="SELECT"){t.events&&t.events.error&&t.events.error(new Error("Element isnt of type select"));return}this.selectEl.dataset.ssid&&this.destroy(),this.settings=new hc(t.settings);for(const n in t.events)t.events.hasOwnProperty(n)&&(this.events[n]=t.events[n]);this.settings.isMultiple=this.selectEl.multiple,this.settings.style=this.selectEl.style.cssText,this.settings.class=this.selectEl.className.split(" "),this.select=new fc(this.selectEl),this.select.updateSelect(this.settings.id,this.settings.style,this.settings.class),this.select.hideUI(),this.select.addSelectChangeListener(n=>{this.setData(n)}),this.select.addValueChangeListener(n=>{this.setSelected(n)}),this.store=new cc(this.settings.isMultiple?"multiple":"single",t.data?t.data:this.select.getData()),t.data&&this.select.updateOptions(this.store.getData());const s={open:this.open.bind(this),close:this.close.bind(this),addable:this.events.addable?this.events.addable:void 0,setSelected:this.setSelected.bind(this),addOption:this.addOption.bind(this),search:this.search.bind(this),beforeChange:this.events.beforeChange,afterChange:this.events.afterChange};this.render=new uc(this.settings,this.store,s),this.selectEl.parentNode&&this.selectEl.parentNode.insertBefore(this.render.main.main,this.selectEl.nextSibling),document.addEventListener("click",this.documentClick),window.addEventListener("resize",this.windowResize,!1),this.settings.openPosition==="auto"&&window.addEventListener("scroll",this.windowScroll,!1),this.settings.isEnabled||this.disable(),this.settings.alwaysOpen&&this.open(),this.selectEl.slim=this}enable(){this.settings.isEnabled=!0,this.select.enable(),this.render.enable()}disable(){this.settings.isEnabled=!1,this.select.disable(),this.render.disable()}getData(){return this.store.getData()}setData(t){const s=this.store.validateDataArray(t);if(s){this.events.error&&this.events.error(s);return}this.store.setData(t);const n=this.store.getData();this.select.updateOptions(n),this.render.renderValues(),this.render.renderOptions(n)}getSelected(){return this.store.getSelected()}setSelected(t){this.store.setSelectedBy("value",Array.isArray(t)?t:[t]);const s=this.store.getData();this.select.updateOptions(s),this.render.renderValues(),this.render.renderOptions(s)}addOption(t){this.store.addOption(t);const s=this.store.getData();this.select.updateOptions(s),this.render.renderValues(),this.render.renderOptions(s)}open(){!this.settings.isEnabled||this.settings.isOpen||(this.events.beforeOpen&&this.events.beforeOpen(),this.render.open(),this.settings.showSearch&&this.render.searchFocus(!1),setTimeout(()=>{this.events.afterOpen&&this.events.afterOpen(),this.settings.isOpen=!0},this.settings.timeoutDelay),this.settings.intervalMove&&clearInterval(this.settings.intervalMove),this.settings.intervalMove=setInterval(this.render.moveContent.bind(this.render),500))}close(){!this.settings.isOpen||this.settings.alwaysOpen||(this.events.beforeClose&&this.events.beforeClose(),this.render.close(),this.search(""),this.render.mainFocus(!1),setTimeout(()=>{this.events.afterClose&&this.events.afterClose(),this.settings.isOpen=!1},this.settings.timeoutDelay),this.settings.intervalMove&&clearInterval(this.settings.intervalMove))}search(t){if(this.render.content.search.input.value!==t&&(this.render.content.search.input.value=t),!this.events.search){this.render.renderOptions(t===""?this.store.getData():this.store.search(t,this.events.searchFilter));return}this.render.renderSearching();const s=this.events.search(t,this.store.getSelectedOptions());if(s instanceof Promise){s.then(n=>{this.render.renderOptions(this.store.partialToFullData(n))}).catch(n=>{this.render.renderError(typeof n=="string"?n:n.message)});return}else Array.isArray(s)?this.render.renderOptions(this.store.partialToFullData(s)):this.render.renderError("Search event must return a promise or an array of data")}destroy(){document.removeEventListener("click",this.documentClick),window.removeEventListener("resize",this.windowResize,!1),this.settings.openPosition==="auto"&&window.removeEventListener("scroll",this.windowScroll,!1),this.store.setData([]),this.render.destroy(),this.select.destroy()}}const pc=hn({name:"App",data(){return{nav:null,navDebounce:ds(()=>{this.setDemensions()},100),year:new Date().getFullYear(),width:0,height:0,navData:[{text:"Home",value:"/",class:"label"},{text:"Install",value:"install",class:"label"},{text:"npm",value:"install#npm",class:"mar-l-l"},{text:"cdn",value:"install#cdn",class:"mar-l-l"},{text:"download",value:"install#download",class:"mar-l-l"},{text:"Selects",value:"selects",class:"label"},{text:"single",value:"selects#single",class:"mar-l-l"},{text:"multiple",value:"selects#multiple",class:"mar-l-l"},{text:"Data",value:"data",class:"label"},{text:"types",value:"data#types",class:"mar-l-l"},{text:"field",value:"data#field",class:"mar-l-l"},{text:"Settings",value:"settings",class:"label"},{text:"select",value:"settings#select",class:"mar-l-l"},{text:"alwaysOpen",value:"settings#alwaysOpen",class:"mar-l-l"},{text:"contentLocation",value:"settings#contentLocation",class:"mar-l-l"},{text:"contentPosition",value:"settings#contentPosition",class:"mar-l-l"},{text:"openPosition",value:"settings#openPosition",class:"mar-l-l"},{text:"placeholder",value:"settings#placeholder",class:"mar-l-l"},{text:"allowDeselect",value:"settings#allowDeselect",class:"mar-l-l"},{text:"display",value:"settings#display",class:"mar-l-l"},{text:"mandatory",value:"settings#mandatory",class:"mar-l-l"},{text:"minmax",value:"settings#minmax",class:"mar-l-l"},{text:"dataAttributes",value:"settings#dataAttributes",class:"mar-l-l"},{text:"cssClass",value:"settings#cssClass",class:"mar-l-l"},{text:"inlineStyles",value:"settings#inlineStyles",class:"mar-l-l"},{text:"html",value:"settings#html",class:"mar-l-l"},{text:"search",value:"settings#search",class:"mar-l-l"},{text:"closeOnSelect",value:"settings#closeOnSelect",class:"mar-l-l"},{text:"showOptionTooltips",value:"settings#showOptionTooltips",class:"mar-l-l"},{text:"selectByGroup",value:"settings#selectByGroup",class:"mar-l-l"},{text:"hideSelected",value:"settings#hideSelected",class:"mar-l-l"},{text:"Events",value:"events",class:"label"},{text:"error",value:"events#error",class:"mar-l-l"},{text:"beforeChange",value:"events#beforeChange",class:"mar-l-l"},{text:"afterChange",value:"events#afterChange",class:"mar-l-l"},{text:"open",value:"events#open",class:"mar-l-l"},{text:"search",value:"events#search",class:"mar-l-l"},{text:"searchFilter",value:"events#searchFilter",class:"mar-l-l"},{text:"addable",value:"events#addable",class:"mar-l-l"},{text:"Methods",value:"methods",class:"label"},{text:"getSelected",value:"methods#getSelected",class:"mar-l-l"},{text:"setSelected",value:"methods#setSelected",class:"mar-l-l"},{text:"getData",value:"methods#getData",class:"mar-l-l"},{text:"setData",value:"methods#setData",class:"mar-l-l"},{text:"enableDisable",value:"methods#enableDisable",class:"mar-l-l"},{text:"search",value:"methods#search",class:"mar-l-l"},{text:"destroy",value:"methods#destroy",class:"mar-l-l"}]}},mounted(){this.runNav(),this.$router.isReady().then(()=>{this.nav&&this.nav.setSelected(this.$router.currentRoute.value.fullPath.replace("/",""))}),this.$router.afterEach(()=>{if(this.$route.query.p){setTimeout(()=>{this.$route.query.p&&this.$router.push({path:this.$route.query.p.toString(),hash:this.$route.hash})},200);return}setTimeout(()=>{const e=this.$route.hash;if(e===""&&window.scroll({top:0,behavior:"smooth"}),e){const t=document.querySelector(e);if(t){const s=document.querySelector("header"),n=document.querySelector("nav"),i=s?s.clientHeight+(window.innerWidth<700?n.clientHeight:0)+8:0;window.scroll({top:t.offsetTop-i,behavior:"smooth"})}}},200)}),this.setDemensions(),window.addEventListener("resize",this.navDebounce)},unmounted(){var e;window.removeEventListener("resize",this.navDebounce),(e=this.nav)==null||e.destroy()},watch:{width(){this.runNav()}},methods:{setDemensions(){this.width=document.documentElement.clientWidth,this.height=document.documentElement.clientHeight},runNav(){this.nav&&(this.nav.destroy(),this.nav=null);let e={searchHighlight:!0,openContent:"below"};this.width>700&&(e.alwaysOpen=!0,e.contentPosition="relative",e.contentLocation=this.$refs.navContent),this.nav=new dc({select:this.$refs.nav,data:this.navData,settings:e,events:{afterChange:t=>{const n=t[0].value.split("#"),i=n[0],r=n[1]?"#"+n[1]:void 0;this.$router.push({path:i,hash:r})}}})}}}),gc="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpFNTE3OEEyRTk5QTAxMUUyOUExNUJDMTA0NkE4OTA0RCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpFNTE3OEEyRjk5QTAxMUUyOUExNUJDMTA0NkE4OTA0RCI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkU1MTc4QTJDOTlBMDExRTI5QTE1QkMxMDQ2QTg5MDREIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkU1MTc4QTJEOTlBMDExRTI5QTE1QkMxMDQ2QTg5MDREIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+FYrpWAAABrNJREFUeNrkW2lsVFUUvjMWirYUkS5BXApUa2vd6gL+wAWjoP5RiW2EUBajAiqSuPADQ0w1UUQTrcFAUUSJEKriEuMWFKuJIElFSS24YNpQK6WoBbuAktbva880M8O8vnfevJm+CSf5cme599xzvnfffffce17AJFjycnLzUVwDXAgUAucBY4BMIEOqdQIdwJ/Az4J64OvWtoONibQvkACHgyiuBe4CbgLOjVNlE/AZsAmoBSE9viQAjueieBCYC5yVoAvWDKwHqkBEmy8IgON09lHgXmCESY4cBaqBlSCieUgIgOPDUCwBngBOM0MjXdL/CyDiv6QRAOcvR7EBKDL+kD3AbJBQl1AC4DjrLwaeBYYbf8m/ciu+BCJ6PScAzp+K4nXgTuNveQuYAxK6PSMAzo9C8TFwtUkN2Q7cDBIOx02AOP8FUGpSSzgf3GBHQsDGec7unwOTTWrKDiGhS02ATHjvALeb1JZ3gRlWE+MpVq0yMzIekRk/1YWP6o7Ors5vHI8AXH1Odl8BaTbKrwd4j10MTAduS8JqkKvA94BPgN0A56htNm2OMyDDKNhuSwCcT5dIrMBG6S4oLI1qezqKBcBjwGiPHW8HVgCr0W97VL/fobjMpv2vQAnaHgv/MdYVXurAeSNPhggRw56BQatRVgL3A0H5+xDwI8Dw9g/5Hlq+clmdDYwF8iV0zpb/GP2tApZHOx4m2xwQUCC+VVqOABg+AUUDkO6AgHkwaL2DJXORxPVNylUnw+gpXObaLXFRlxHoaw7U8uoXQ99vViNgqUPnKQfsKojhdW7GuxDW5JUtIuni432hH4JhLJ7Dq6qwcZiPZnpNXDJPfI0kQEJbjVM5PiIgW3nhlkQQILH9LGWnV/iIAK0ts8TngREwDchVKrnKRwRobckVnwcIKFcq4ONrkY8IWBT2SHUq5eEE3Khs/CRm6Z1+8V5sqVQ26/M5gHuhSJ79TqUFmIhOj/ppwQ8/Rshqb5yiWXFQFhsaWeU352UU0KaXlc2mBI1+Y3OzjyO/Gm2kSAIKFQ2awfQ+v3oP23gL/K5oUhh0GPiEZG8KxP97FHULgsqwtTUFCDioqHsGCRipaHA8BQjQrAcyg4roj5KVAgSMUtRNDyqVj0wBAlQ2koBuRf3xKUBAvqJuN1eCrYpAiHNAltNjpyFYDfL47oix38wdmDA5AvYr+kjzWRgcLVcqnKfsJwGNyk5u9TEBtyjrNwaVgRClTPKA/Db8aVOZslkDG2nD2vEuOkqGlLmYpHcGJLlJu8LjtvJFgx06Jvnq8xC33gUBeUE4waWjduua5wdVPrr6VS6cr6PvoXv5Ixed3g3mH/fB1V9OW1w07fM5IEouUEZR4bIWWJzsTRJ55r8I3ONSRRFs3hsIU8hkgkkulf0CPAx8qElQcuk4beYp9Epgoks138LOvqSPgfyAzIwMZlnFSobgIegc4H3gH6AkxmKDub9Mjb0DeoYDrZ1dne0eO14AvfPx8RXgAYaycahbBvt+GLgFpIM0md3PjqrMTMxpYKxB6p1v+s/n7bbSuMCqldmZyc+fRh9ND+IsAxrmG3C3qtj0J1uP84hLrnwnwJbjEQRIxzw0XB2jER93C9Bog9TjsRgzLpzuJr0BzHV6e8gwf9XoziqdCv1YE/oSTQBHwfem/3w+5syPxuukLtfdO0zk+WIs+YuPKLQ7ohzyWTIix3joPPMTLg1d/Yg5gIL7ogf32U/4WGGhYDr+34J6bUALPpPA62w6XYMOP9BaCv3HoD/PeJubODN6U/eEq4cKTIurttpBAZ4L+87TmKdtOt0ah8FbPXS+WnyLEKskqUy5FaweM5dA2e6w+pNkZuajhfMD3/zYBfDKb3Y6+cWwgytOL7bh98nQ73BEgHReIvd4Roy/a6Cs3CRYJOnq7zjV8HWcybC33mpLLKZIA84FPRYhcSokUNL2Civnjd0MjoZbUCy0+PtNkDDD5wQsFB8sxWm2+GJZd8eSt4HnZXnZ66Nb4CHYYxuxat4XmI1inbHeczskq77DMrK4z8AgK3+Q/L5EEMBn/PzQos0zAsQgvg5XY3TpNKOTSAD3NsrQX63TBqq9PVHM9NgvfXi/06ZSjfNqAoQEHj9Pled+pw8cpw2co6aKbSoJxDlJnYniKdP/sqSVrrEw7IBL/TnG+rSXEy7fYVoG/S1uffDkzVEYypB1qewJRCdb5rp9yxN6mQDZFmOS2wisCIXo8Yin7w7LiKiQEcFYfhOMnBmnzo1CLIO09Qyt47niJxDQ29trTmY56Qn4X4ABAFR7IoDmVT5NAAAAAElFTkSuQmCC",mc="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACAAQMAAAD58POIAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAZQTFRFyzg3////IltC9QAAAAFiS0dEAf8CLd4AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAkSURBVEjHY2AYBYMV/IeDUQG4AJgeFRgVGBUYFSBNYBQMPgAARjtdvxo6xaMAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTEtMDUtMzBUMjM6MTA6NDQtMDc6MDCm4GvfAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDEwLTEyLTA2VDEyOjIwOjEyLTA4OjAwpIGEmQAAADJ0RVh0UE5HOmNIUk0AY2h1bmsgd2FzIGZvdW5kIChzZWUgQ2hyb21hdGljaXR5LCBhYm92ZSkH0UjaAAAAKXRFWHRQTkc6Z0FNQQBnYW1tYT0wLjQ1NDU1IChTZWUgR2FtbWEsIGFib3ZlKRISLKcAAAAUdEVYdFBORzpJSERSLmJpdF9kZXB0aAA4KYV+UAAAABV0RVh0UE5HOklIRFIuY29sb3JfdHlwZQA2BkqnKwAAABt0RVh0UE5HOklIRFIuaW50ZXJsYWNlX21ldGhvZAAw+zsHjAAAABx0RVh0UE5HOklIRFIud2lkdGgsaGVpZ2h0ADE2LCAxNjjVBg0AAAAodEVYdFBORzpwSFlzAHhfcmVzPTI4MzUsIHlfcmVzPTI4MzUsIHVuaXRzPTGCKXI+AAAAKHRFWHRQTkc6c1JHQgBpbnRlbnQ9MCAoU2VlIFJlbmRlcmluZyBpbnRlbnQp8hEU9QAAAABJRU5ErkJggg==",vc=(e,t)=>{const s=e.__vccOpts||e;for(const[n,i]of t)s[n]=i;return s},bc=wo('<header><div class="top"><div class="text"><h1 class="logo">Slim Select <small>2.0</small></h1></div><div class="socials"><a href="https://github.com/brianvoe/slim-select" target="_blank"><img src="'+gc+'"></a><a href="https://www.npmjs.com/package/slim-select" target="_blank"><img src="'+mc+'"></a></div></div><div class="bar"><div class="tagline">Advanced select dropdown</div><div class="drop"><svg viewBox="0 0 100 100"><path d="M10,30 L50,70 L90,30"></path></svg></div></div></header>',1),yc={ref:"nav"},wc={class:"nav-content",ref:"navContent"},Ac=Ye("a",{href:"http://webiswhatido.com",style:{color:"#ffffff"},target:"_blank"},"Brian Voelker",-1),Ec=Ye("br",null,null,-1);function xc(e,t,s,n,i,r){const l=Ql("router-view");return gn(),vo(Te,null,[bc,Ye("nav",null,[Ye("select",yc,null,512),Ye("div",wc,null,512)]),Ye("main",null,[be(l),Ye("footer",null,[ls(" \xA9 "+Dr(e.year)+" ",1),Ac,ls(". "),Ec,ls(" Slim Select is under the MIT license. ")])])],64)}const _c=vc(pc,[["render",xc]]);var pi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Cr={exports:{}};(function(e){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
5
+ */const vt=typeof window<"u";function na(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const te=Object.assign;function ks(e,t){const s={};for(const n in t){const i=t[n];s[n]=De(i)?i.map(e):e(i)}return s}const Ht=()=>{},De=Array.isArray,ia=/\/$/,ra=e=>e.replace(ia,"");function Fs(e,t,s="/"){let n,i={},r="",l="";const o=t.indexOf("#");let a=t.indexOf("?");return o<a&&o>=0&&(a=-1),a>-1&&(n=t.slice(0,a),r=t.slice(a+1,o>-1?o:t.length),i=e(r)),o>-1&&(n=n||t.slice(0,o),l=t.slice(o,t.length)),n=ca(n!=null?n:t,s),{fullPath:n+(r&&"?")+r+l,path:n,query:i,hash:l}}function la(e,t){const s=t.query?e(t.query):"";return t.path+(s&&"?")+s+(t.hash||"")}function Zn(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function oa(e,t,s){const n=t.matched.length-1,i=s.matched.length-1;return n>-1&&n===i&&Ot(t.matched[n],s.matched[i])&&pr(t.params,s.params)&&e(t.query)===e(s.query)&&t.hash===s.hash}function Ot(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function pr(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const s in e)if(!aa(e[s],t[s]))return!1;return!0}function aa(e,t){return De(e)?Xn(e,t):De(t)?Xn(t,e):e===t}function Xn(e,t){return De(t)?e.length===t.length&&e.every((s,n)=>s===t[n]):e.length===1&&e[0]===t}function ca(e,t){if(e.startsWith("/"))return e;if(!e)return t;const s=t.split("/"),n=e.split("/");let i=s.length-1,r,l;for(r=0;r<n.length;r++)if(l=n[r],l!==".")if(l==="..")i>1&&i--;else break;return s.slice(0,i).join("/")+"/"+n.slice(r-(r===n.length?1:0)).join("/")}var Yt;(function(e){e.pop="pop",e.push="push"})(Yt||(Yt={}));var Ut;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ut||(Ut={}));function ua(e){if(!e)if(vt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),ra(e)}const fa=/^[^#]+#/;function ha(e,t){return e.replace(fa,"#")+t}function da(e,t){const s=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-s.left-(t.left||0),top:n.top-s.top-(t.top||0)}}const _s=()=>({left:window.pageXOffset,top:window.pageYOffset});function pa(e){let t;if("el"in e){const s=e.el,n=typeof s=="string"&&s.startsWith("#"),i=typeof s=="string"?n?document.getElementById(s.slice(1)):document.querySelector(s):s;if(!i)return;t=da(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function ei(e,t){return(history.state?history.state.position-t:-1)+e}const Ks=new Map;function ga(e,t){Ks.set(e,t)}function ma(e){const t=Ks.get(e);return Ks.delete(e),t}let va=()=>location.protocol+"//"+location.host;function gr(e,t){const{pathname:s,search:n,hash:i}=t,r=e.indexOf("#");if(r>-1){let o=i.includes(e.slice(r))?e.slice(r).length:1,a=i.slice(o);return a[0]!=="/"&&(a="/"+a),Zn(a,"")}return Zn(s,e)+n+i}function ba(e,t,s,n){let i=[],r=[],l=null;const o=({state:p})=>{const y=gr(e,location),k=s.value,P=t.value;let I=0;if(p){if(s.value=y,t.value=p,l&&l===k){l=null;return}I=P?p.position-P.position:0}else n(y);i.forEach(O=>{O(s.value,k,{delta:I,type:Yt.pop,direction:I?I>0?Ut.forward:Ut.back:Ut.unknown})})};function a(){l=s.value}function f(p){i.push(p);const y=()=>{const k=i.indexOf(p);k>-1&&i.splice(k,1)};return r.push(y),y}function u(){const{history:p}=window;!p.state||p.replaceState(te({},p.state,{scroll:_s()}),"")}function d(){for(const p of r)p();r=[],window.removeEventListener("popstate",o),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",o),window.addEventListener("beforeunload",u),{pauseListeners:a,listen:f,destroy:d}}function ti(e,t,s,n=!1,i=!1){return{back:e,current:t,forward:s,replaced:n,position:window.history.length,scroll:i?_s():null}}function ya(e){const{history:t,location:s}=window,n={value:gr(e,s)},i={value:t.state};i.value||r(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(a,f,u){const d=e.indexOf("#"),p=d>-1?(s.host&&document.querySelector("base")?e:e.slice(d))+a:va()+e+a;try{t[u?"replaceState":"pushState"](f,"",p),i.value=f}catch(y){console.error(y),s[u?"replace":"assign"](p)}}function l(a,f){const u=te({},t.state,ti(i.value.back,a,i.value.forward,!0),f,{position:i.value.position});r(a,u,!0),n.value=a}function o(a,f){const u=te({},i.value,t.state,{forward:a,scroll:_s()});r(u.current,u,!0);const d=te({},ti(n.value,a,null),{position:u.position+1},f);r(a,d,!1),n.value=a}return{location:n,state:i,push:o,replace:l}}function wa(e){e=ua(e);const t=ya(e),s=ba(e,t.state,t.location,t.replace);function n(r,l=!0){l||s.pauseListeners(),history.go(r)}const i=te({location:"",base:e,go:n,createHref:ha.bind(null,e)},t,s);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function Aa(e){return typeof e=="string"||e&&typeof e=="object"}function mr(e){return typeof e=="string"||typeof e=="symbol"}const et={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},vr=Symbol("");var si;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(si||(si={}));function Tt(e,t){return te(new Error,{type:e,[vr]:!0},t)}function ze(e,t){return e instanceof Error&&vr in e&&(t==null||!!(e.type&t))}const ni="[^/]+?",Ea={sensitive:!1,strict:!1,start:!0,end:!0},xa=/[.+*?^${}()[\]/\\]/g;function _a(e,t){const s=te({},Ea,t),n=[];let i=s.start?"^":"";const r=[];for(const f of e){const u=f.length?[]:[90];s.strict&&!f.length&&(i+="/");for(let d=0;d<f.length;d++){const p=f[d];let y=40+(s.sensitive?.25:0);if(p.type===0)d||(i+="/"),i+=p.value.replace(xa,"\\$&"),y+=40;else if(p.type===1){const{value:k,repeatable:P,optional:I,regexp:O}=p;r.push({name:k,repeatable:P,optional:I});const m=O||ni;if(m!==ni){y+=10;try{new RegExp(`(${m})`)}catch(A){throw new Error(`Invalid custom RegExp for param "${k}" (${m}): `+A.message)}}let g=P?`((?:${m})(?:/(?:${m}))*)`:`(${m})`;d||(g=I&&f.length<2?`(?:/${g})`:"/"+g),I&&(g+="?"),i+=g,y+=20,I&&(y+=-8),P&&(y+=-20),m===".*"&&(y+=-50)}u.push(y)}n.push(u)}if(s.strict&&s.end){const f=n.length-1;n[f][n[f].length-1]+=.7000000000000001}s.strict||(i+="/?"),s.end?i+="$":s.strict&&(i+="(?:/|$)");const l=new RegExp(i,s.sensitive?"":"i");function o(f){const u=f.match(l),d={};if(!u)return null;for(let p=1;p<u.length;p++){const y=u[p]||"",k=r[p-1];d[k.name]=y&&k.repeatable?y.split("/"):y}return d}function a(f){let u="",d=!1;for(const p of e){(!d||!u.endsWith("/"))&&(u+="/"),d=!1;for(const y of p)if(y.type===0)u+=y.value;else if(y.type===1){const{value:k,repeatable:P,optional:I}=y,O=k in f?f[k]:"";if(De(O)&&!P)throw new Error(`Provided param "${k}" is an array but it is not repeatable (* or + modifiers)`);const m=De(O)?O.join("/"):O;if(!m)if(I)p.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${k}"`);u+=m}}return u||"/"}return{re:l,score:n,keys:r,parse:o,stringify:a}}function Ca(e,t){let s=0;for(;s<e.length&&s<t.length;){const n=t[s]-e[s];if(n)return n;s++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function Sa(e,t){let s=0;const n=e.score,i=t.score;for(;s<n.length&&s<i.length;){const r=Ca(n[s],i[s]);if(r)return r;s++}if(Math.abs(i.length-n.length)===1){if(ii(n))return 1;if(ii(i))return-1}return i.length-n.length}function ii(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Oa={type:0,value:""},Ta=/[a-zA-Z0-9_]/;function Ra(e){if(!e)return[[]];if(e==="/")return[[Oa]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(y){throw new Error(`ERR (${s})/"${f}": ${y}`)}let s=0,n=s;const i=[];let r;function l(){r&&i.push(r),r=[]}let o=0,a,f="",u="";function d(){!f||(s===0?r.push({type:0,value:f}):s===1||s===2||s===3?(r.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:f,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),f="")}function p(){f+=a}for(;o<e.length;){if(a=e[o++],a==="\\"&&s!==2){n=s,s=4;continue}switch(s){case 0:a==="/"?(f&&d(),l()):a===":"?(d(),s=1):p();break;case 4:p(),s=n;break;case 1:a==="("?s=2:Ta.test(a)?p():(d(),s=0,a!=="*"&&a!=="?"&&a!=="+"&&o--);break;case 2:a===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+a:s=3:u+=a;break;case 3:d(),s=0,a!=="*"&&a!=="?"&&a!=="+"&&o--,u="";break;default:t("Unknown state");break}}return s===2&&t(`Unfinished custom RegExp for param "${f}"`),d(),l(),i}function La(e,t,s){const n=_a(Ra(e.path),s),i=te(n,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function Pa(e,t){const s=[],n=new Map;t=oi({strict:!1,end:!0,sensitive:!1},t);function i(u){return n.get(u)}function r(u,d,p){const y=!p,k=ka(u);k.aliasOf=p&&p.record;const P=oi(t,u),I=[k];if("alias"in u){const g=typeof u.alias=="string"?[u.alias]:u.alias;for(const A of g)I.push(te({},k,{components:p?p.record.components:k.components,path:A,aliasOf:p?p.record:k}))}let O,m;for(const g of I){const{path:A}=g;if(d&&A[0]!=="/"){const _=d.record.path,C=_[_.length-1]==="/"?"":"/";g.path=d.record.path+(A&&C+A)}if(O=La(g,d,P),p?p.alias.push(O):(m=m||O,m!==O&&m.alias.push(O),y&&u.name&&!li(O)&&l(u.name)),k.children){const _=k.children;for(let C=0;C<_.length;C++)r(_[C],O,p&&p.children[C])}p=p||O,(O.record.components&&Object.keys(O.record.components).length||O.record.name||O.record.redirect)&&a(O)}return m?()=>{l(m)}:Ht}function l(u){if(mr(u)){const d=n.get(u);d&&(n.delete(u),s.splice(s.indexOf(d),1),d.children.forEach(l),d.alias.forEach(l))}else{const d=s.indexOf(u);d>-1&&(s.splice(d,1),u.record.name&&n.delete(u.record.name),u.children.forEach(l),u.alias.forEach(l))}}function o(){return s}function a(u){let d=0;for(;d<s.length&&Sa(u,s[d])>=0&&(u.record.path!==s[d].record.path||!br(u,s[d]));)d++;s.splice(d,0,u),u.record.name&&!li(u)&&n.set(u.record.name,u)}function f(u,d){let p,y={},k,P;if("name"in u&&u.name){if(p=n.get(u.name),!p)throw Tt(1,{location:u});P=p.record.name,y=te(ri(d.params,p.keys.filter(m=>!m.optional).map(m=>m.name)),u.params&&ri(u.params,p.keys.map(m=>m.name))),k=p.stringify(y)}else if("path"in u)k=u.path,p=s.find(m=>m.re.test(k)),p&&(y=p.parse(k),P=p.record.name);else{if(p=d.name?n.get(d.name):s.find(m=>m.re.test(d.path)),!p)throw Tt(1,{location:u,currentLocation:d});P=p.record.name,y=te({},d.params,u.params),k=p.stringify(y)}const I=[];let O=p;for(;O;)I.unshift(O.record),O=O.parent;return{name:P,path:k,params:y,matched:I,meta:Ia(I)}}return e.forEach(u=>r(u)),{addRoute:r,resolve:f,removeRoute:l,getRoutes:o,getRecordMatcher:i}}function ri(e,t){const s={};for(const n of t)n in e&&(s[n]=e[n]);return s}function ka(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Fa(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Fa(e){const t={},s=e.props||!1;if("component"in e)t.default=s;else for(const n in e.components)t[n]=typeof s=="boolean"?s:s[n];return t}function li(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ia(e){return e.reduce((t,s)=>te(t,s.meta),{})}function oi(e,t){const s={};for(const n in e)s[n]=n in t?t[n]:e[n];return s}function br(e,t){return t.children.some(s=>s===e||br(e,s))}const yr=/#/g,Da=/&/g,Ma=/\//g,Na=/=/g,Ba=/\?/g,wr=/\+/g,Ha=/%5B/g,Ua=/%5D/g,Ar=/%5E/g,ja=/%60/g,Er=/%7B/g,$a=/%7C/g,xr=/%7D/g,Va=/%20/g;function bn(e){return encodeURI(""+e).replace($a,"|").replace(Ha,"[").replace(Ua,"]")}function za(e){return bn(e).replace(Er,"{").replace(xr,"}").replace(Ar,"^")}function Ys(e){return bn(e).replace(wr,"%2B").replace(Va,"+").replace(yr,"%23").replace(Da,"%26").replace(ja,"`").replace(Er,"{").replace(xr,"}").replace(Ar,"^")}function Wa(e){return Ys(e).replace(Na,"%3D")}function Ka(e){return bn(e).replace(yr,"%23").replace(Ba,"%3F")}function Ya(e){return e==null?"":Ka(e).replace(Ma,"%2F")}function hs(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function qa(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;i<n.length;++i){const r=n[i].replace(wr," "),l=r.indexOf("="),o=hs(l<0?r:r.slice(0,l)),a=l<0?null:hs(r.slice(l+1));if(o in t){let f=t[o];De(f)||(f=t[o]=[f]),f.push(a)}else t[o]=a}return t}function ai(e){let t="";for(let s in e){const n=e[s];if(s=Wa(s),n==null){n!==void 0&&(t+=(t.length?"&":"")+s);continue}(De(n)?n.map(r=>r&&Ys(r)):[n&&Ys(n)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+s,r!=null&&(t+="="+r))})}return t}function Qa(e){const t={};for(const s in e){const n=e[s];n!==void 0&&(t[s]=De(n)?n.map(i=>i==null?null:""+i):n==null?n:""+n)}return t}const Ga=Symbol(""),ci=Symbol(""),yn=Symbol(""),_r=Symbol(""),qs=Symbol("");function It(){let e=[];function t(n){return e.push(n),()=>{const i=e.indexOf(n);i>-1&&e.splice(i,1)}}function s(){e=[]}return{add:t,list:()=>e,reset:s}}function st(e,t,s,n,i){const r=n&&(n.enterCallbacks[i]=n.enterCallbacks[i]||[]);return()=>new Promise((l,o)=>{const a=d=>{d===!1?o(Tt(4,{from:s,to:t})):d instanceof Error?o(d):Aa(d)?o(Tt(2,{from:t,to:d})):(r&&n.enterCallbacks[i]===r&&typeof d=="function"&&r.push(d),l())},f=e.call(n&&n.instances[i],t,s,a);let u=Promise.resolve(f);e.length<3&&(u=u.then(a)),u.catch(d=>o(d))})}function Is(e,t,s,n){const i=[];for(const r of e)for(const l in r.components){let o=r.components[l];if(!(t!=="beforeRouteEnter"&&!r.instances[l]))if(Ja(o)){const f=(o.__vccOpts||o)[t];f&&i.push(st(f,s,n,r,l))}else{let a=o();i.push(()=>a.then(f=>{if(!f)return Promise.reject(new Error(`Couldn't resolve component "${l}" at "${r.path}"`));const u=na(f)?f.default:f;r.components[l]=u;const p=(u.__vccOpts||u)[t];return p&&st(p,s,n,r,l)()}))}}return i}function Ja(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ui(e){const t=qe(yn),s=qe(_r),n=Re(()=>t.resolve(Et(e.to))),i=Re(()=>{const{matched:a}=n.value,{length:f}=a,u=a[f-1],d=s.matched;if(!u||!d.length)return-1;const p=d.findIndex(Ot.bind(null,u));if(p>-1)return p;const y=fi(a[f-2]);return f>1&&fi(u)===y&&d[d.length-1].path!==y?d.findIndex(Ot.bind(null,a[f-2])):p}),r=Re(()=>i.value>-1&&tc(s.params,n.value.params)),l=Re(()=>i.value>-1&&i.value===s.matched.length-1&&pr(s.params,n.value.params));function o(a={}){return ec(a)?t[Et(e.replace)?"replace":"push"](Et(e.to)).catch(Ht):Promise.resolve()}return{route:n,href:Re(()=>n.value.href),isActive:r,isExactActive:l,navigate:o}}const Za=hn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:ui,setup(e,{slots:t}){const s=qt(ui(e)),{options:n}=qe(yn),i=Re(()=>({[hi(e.activeClass,n.linkActiveClass,"router-link-active")]:s.isActive,[hi(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:s.isExactActive}));return()=>{const r=t.default&&t.default(s);return e.custom?r:dr("a",{"aria-current":s.isExactActive?e.ariaCurrentValue:null,href:s.href,onClick:s.navigate,class:i.value},r)}}}),Xa=Za;function ec(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function tc(e,t){for(const s in t){const n=t[s],i=e[s];if(typeof n=="string"){if(n!==i)return!1}else if(!De(i)||i.length!==n.length||n.some((r,l)=>r!==i[l]))return!1}return!0}function fi(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const hi=(e,t,s)=>e!=null?e:t!=null?t:s,sc=hn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:s}){const n=qe(qs),i=Re(()=>e.route||n.value),r=qe(ci,0),l=Re(()=>{let f=Et(r);const{matched:u}=i.value;let d;for(;(d=u[f])&&!d.components;)f++;return f}),o=Re(()=>i.value.matched[l.value]);ss(ci,Re(()=>l.value+1)),ss(Ga,o),ss(qs,i);const a=vl();return ns(()=>[a.value,o.value,e.name],([f,u,d],[p,y,k])=>{u&&(u.instances[d]=f,y&&y!==u&&f&&f===p&&(u.leaveGuards.size||(u.leaveGuards=y.leaveGuards),u.updateGuards.size||(u.updateGuards=y.updateGuards))),f&&u&&(!y||!Ot(u,y)||!p)&&(u.enterCallbacks[d]||[]).forEach(P=>P(f))},{flush:"post"}),()=>{const f=i.value,u=e.name,d=o.value,p=d&&d.components[u];if(!p)return di(s.default,{Component:p,route:f});const y=d.props[u],k=y?y===!0?f.params:typeof y=="function"?y(f):y:null,I=dr(p,te({},k,t,{onVnodeUnmounted:O=>{O.component.isUnmounted&&(d.instances[u]=null)},ref:a}));return di(s.default,{Component:I,route:f})||I}}});function di(e,t){if(!e)return null;const s=e(t);return s.length===1?s[0]:s}const nc=sc;function ic(e){const t=Pa(e.routes,e),s=e.parseQuery||qa,n=e.stringifyQuery||ai,i=e.history,r=It(),l=It(),o=It(),a=bl(et);let f=et;vt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=ks.bind(null,w=>""+w),d=ks.bind(null,Ya),p=ks.bind(null,hs);function y(w,F){let R,U;return mr(w)?(R=t.getRecordMatcher(w),U=F):U=w,t.addRoute(U,R)}function k(w){const F=t.getRecordMatcher(w);F&&t.removeRoute(F)}function P(){return t.getRoutes().map(w=>w.record)}function I(w){return!!t.getRecordMatcher(w)}function O(w,F){if(F=te({},F||a.value),typeof w=="string"){const c=Fs(s,w,F.path),h=t.resolve({path:c.path},F),v=i.createHref(c.fullPath);return te(c,h,{params:p(h.params),hash:hs(c.hash),redirectedFrom:void 0,href:v})}let R;if("path"in w)R=te({},w,{path:Fs(s,w.path,F.path).path});else{const c=te({},w.params);for(const h in c)c[h]==null&&delete c[h];R=te({},w,{params:d(w.params)}),F.params=d(F.params)}const U=t.resolve(R,F),Q=w.hash||"";U.params=u(p(U.params));const ne=la(n,te({},w,{hash:za(Q),path:U.path})),K=i.createHref(ne);return te({fullPath:ne,hash:Q,query:n===ai?Qa(w.query):w.query||{}},U,{redirectedFrom:void 0,href:K})}function m(w){return typeof w=="string"?Fs(s,w,a.value.path):te({},w)}function g(w,F){if(f!==w)return Tt(8,{from:F,to:w})}function A(w){return N(w)}function _(w){return A(te(m(w),{replace:!0}))}function C(w){const F=w.matched[w.matched.length-1];if(F&&F.redirect){const{redirect:R}=F;let U=typeof R=="function"?R(w):R;return typeof U=="string"&&(U=U.includes("?")||U.includes("#")?U=m(U):{path:U},U.params={}),te({query:w.query,hash:w.hash,params:"path"in U?{}:w.params},U)}}function N(w,F){const R=f=O(w),U=a.value,Q=w.state,ne=w.force,K=w.replace===!0,c=C(R);if(c)return N(te(m(c),{state:typeof c=="object"?te({},Q,c.state):Q,force:ne,replace:K}),F||R);const h=R;h.redirectedFrom=F;let v;return!ne&&oa(n,U,R)&&(v=Tt(16,{to:h,from:U}),Ee(U,U,!0,!1)),(v?Promise.resolve(v):H(h,U)).catch(b=>ze(b)?ze(b,2)?b:ue(b):ee(b,h,U)).then(b=>{if(b){if(ze(b,2))return N(te({replace:K},m(b.to),{state:typeof b.to=="object"?te({},Q,b.to.state):Q,force:ne}),F||h)}else b=le(h,U,!0,K,Q);return J(h,U,b),b})}function W(w,F){const R=g(w,F);return R?Promise.reject(R):Promise.resolve()}function H(w,F){let R;const[U,Q,ne]=rc(w,F);R=Is(U.reverse(),"beforeRouteLeave",w,F);for(const c of U)c.leaveGuards.forEach(h=>{R.push(st(h,w,F))});const K=W.bind(null,w,F);return R.push(K),mt(R).then(()=>{R=[];for(const c of r.list())R.push(st(c,w,F));return R.push(K),mt(R)}).then(()=>{R=Is(Q,"beforeRouteUpdate",w,F);for(const c of Q)c.updateGuards.forEach(h=>{R.push(st(h,w,F))});return R.push(K),mt(R)}).then(()=>{R=[];for(const c of w.matched)if(c.beforeEnter&&!F.matched.includes(c))if(De(c.beforeEnter))for(const h of c.beforeEnter)R.push(st(h,w,F));else R.push(st(c.beforeEnter,w,F));return R.push(K),mt(R)}).then(()=>(w.matched.forEach(c=>c.enterCallbacks={}),R=Is(ne,"beforeRouteEnter",w,F),R.push(K),mt(R))).then(()=>{R=[];for(const c of l.list())R.push(st(c,w,F));return R.push(K),mt(R)}).catch(c=>ze(c,8)?c:Promise.reject(c))}function J(w,F,R){for(const U of o.list())U(w,F,R)}function le(w,F,R,U,Q){const ne=g(w,F);if(ne)return ne;const K=F===et,c=vt?history.state:{};R&&(U||K?i.replace(w.fullPath,te({scroll:K&&c&&c.scroll},Q)):i.push(w.fullPath,Q)),a.value=w,Ee(w,F,R,K),ue()}let he;function Ve(){he||(he=i.listen((w,F,R)=>{if(!Ce.listening)return;const U=O(w),Q=C(U);if(Q){N(te(Q,{replace:!0}),U).catch(Ht);return}f=U;const ne=a.value;vt&&ga(ei(ne.fullPath,R.delta),_s()),H(U,ne).catch(K=>ze(K,12)?K:ze(K,2)?(N(K.to,U).then(c=>{ze(c,20)&&!R.delta&&R.type===Yt.pop&&i.go(-1,!1)}).catch(Ht),Promise.reject()):(R.delta&&i.go(-R.delta,!1),ee(K,U,ne))).then(K=>{K=K||le(U,ne,!1),K&&(R.delta&&!ze(K,8)?i.go(-R.delta,!1):R.type===Yt.pop&&ze(K,20)&&i.go(-1,!1)),J(U,ne,K)}).catch(Ht)}))}let Me=It(),ot=It(),ce;function ee(w,F,R){ue(w);const U=ot.list();return U.length?U.forEach(Q=>Q(w,F,R)):console.error(w),Promise.reject(w)}function V(){return ce&&a.value!==et?Promise.resolve():new Promise((w,F)=>{Me.add([w,F])})}function ue(w){return ce||(ce=!w,Ve(),Me.list().forEach(([F,R])=>w?R(w):F()),Me.reset()),w}function Ee(w,F,R,U){const{scrollBehavior:Q}=e;if(!vt||!Q)return Promise.resolve();const ne=!R&&ma(ei(w.fullPath,0))||(U||!R)&&history.state&&history.state.scroll||null;return ji().then(()=>Q(w,F,ne)).then(K=>K&&pa(K)).catch(K=>ee(K,w,F))}const ge=w=>i.go(w);let ie;const Je=new Set,Ce={currentRoute:a,listening:!0,addRoute:y,removeRoute:k,hasRoute:I,getRoutes:P,resolve:O,options:e,push:A,replace:_,go:ge,back:()=>ge(-1),forward:()=>ge(1),beforeEach:r.add,beforeResolve:l.add,afterEach:o.add,onError:ot.add,isReady:V,install(w){const F=this;w.component("RouterLink",Xa),w.component("RouterView",nc),w.config.globalProperties.$router=F,Object.defineProperty(w.config.globalProperties,"$route",{enumerable:!0,get:()=>Et(a)}),vt&&!ie&&a.value===et&&(ie=!0,A(i.location).catch(Q=>{}));const R={};for(const Q in et)R[Q]=Re(()=>a.value[Q]);w.provide(yn,F),w.provide(_r,qt(R)),w.provide(qs,a);const U=w.unmount;Je.add(w),w.unmount=function(){Je.delete(w),Je.size<1&&(f=et,he&&he(),he=null,a.value=et,ie=!1,ce=!1),U()}}};return Ce}function mt(e){return e.reduce((t,s)=>t.then(()=>s()),Promise.resolve())}function rc(e,t){const s=[],n=[],i=[],r=Math.max(t.matched.length,e.matched.length);for(let l=0;l<r;l++){const o=t.matched[l];o&&(e.matched.find(f=>Ot(f,o))?n.push(o):s.push(o));const a=e.matched[l];a&&(t.matched.find(f=>Ot(f,a))||i.push(a))}return[s,n,i]}const lc=ic({history:wa(),linkActiveClass:"active",routes:[{path:"/",name:"Home",component:()=>Xe(()=>import("./home.js"),["assets/home.js","assets/home.css"])},{path:"/install",name:"Install",component:()=>Xe(()=>import("./install.js"),[])},{path:"/selects",name:"Selects",component:()=>Xe(()=>import("./selects.js"),[])},{path:"/data",name:"Data",component:()=>Xe(()=>import("./data.js"),[])},{path:"/settings",name:"Settings",component:()=>Xe(()=>import("./index2.js"),["assets/index2.js","assets/index.css"])},{path:"/events",name:"Events",component:()=>Xe(()=>import("./index3.js"),[])},{path:"/methods",name:"Methods",component:()=>Xe(()=>import("./index4.js"),[])},{path:"/frameworks",name:"Frameworks",component:()=>Xe(()=>import("./index5.js"),[])}]});function Cs(){return Math.random().toString(36).substring(2,10)}function oc(e,t){function s(i,r){return r&&i&&i.classList&&i.classList.contains(r)||r&&i&&i.dataset&&i.dataset.id&&i.dataset.id===t?i:null}function n(i,r){return!i||i===document?null:s(i,r)?i:n(i.parentNode,r)}return s(e,t)||n(e,t)}function ds(e,t=50,s=!1){let n;return function(...i){const r=self,l=()=>{n=null,s||e.apply(r,i)},o=s&&!n;clearTimeout(n),n=setTimeout(l,t),o&&e.apply(r,i)}}function ac(e){const t=e.replace(/[A-Z\u00C0-\u00D6\u00D8-\u00DE]/g,s=>"-"+s.toLowerCase());return e[0]===e[0].toUpperCase()?t.substring(1):t}class Ke{constructor(t){M(this,"id");M(this,"label");M(this,"options");if(this.id=!t.id||t.id===""?Cs():t.id,this.label=t.label||"",this.options=[],t.options)for(const s of t.options)this.options.push(new _e(s))}}class _e{constructor(t){M(this,"id");M(this,"value");M(this,"text");M(this,"html");M(this,"selected");M(this,"display");M(this,"disabled");M(this,"placeholder");M(this,"class");M(this,"style");M(this,"data");M(this,"mandatory");this.id=!t.id||t.id===""?Cs():t.id,this.value=t.value===void 0?t.text:t.value,this.text=t.text||"",this.html=t.html||"",this.selected=t.selected!==void 0?t.selected:!1,this.display=t.display!==void 0?t.display:!0,this.disabled=t.disabled!==void 0?t.disabled:!1,this.mandatory=t.mandatory!==void 0?t.mandatory:!1,this.placeholder=t.placeholder!==void 0?t.placeholder:!1,this.class=t.class||"",this.style=t.style||"",this.data=t.data||{}}}class cc{constructor(t,s){M(this,"selectType","single");M(this,"data",[]);this.selectType=t,this.setData(s)}validateDataArray(t){if(!Array.isArray(t))return new Error("Data must be an array");for(let s of t)if(s instanceof Ke||"label"in s){if(!("label"in s))return new Error("Optgroup must have a label");if("options"in s&&s.options)for(let n of s.options)return this.validateOption(n)}else return s instanceof _e||"text"in s?this.validateOption(s):new Error("Data object must be a valid optgroup or option");return null}validateOption(t){return"text"in t?null:new Error("Option must have a text")}partialToFullData(t){let s=[];return t.forEach(n=>{if(n instanceof Ke||"label"in n){let i=[];"options"in n&&n.options&&n.options.forEach(r=>{i.push(new _e(r))}),i.length>0&&s.push(new Ke(n))}(n instanceof _e||"text"in n)&&s.push(new _e(n))}),s}setData(t){this.data=this.partialToFullData(t),this.selectType==="single"&&this.setSelectedBy("value",this.getSelected())}getData(){return this.filter(null,!0)}getDataOptions(){return this.filter(null,!1)}addOption(t){this.setData(this.getData().concat(new _e(t)))}setSelectedBy(t,s){let n=null,i=!1;for(let r of this.data){if(r instanceof Ke)for(let l of r.options)n||(n=l),l.selected=i?!1:s.includes(l[t]),l.selected&&this.selectType==="single"&&(i=!0);r instanceof _e&&(n||(n=r),r.selected=i?!1:s.includes(r[t]),r.selected&&this.selectType==="single"&&(i=!0))}this.selectType==="single"&&n&&!i&&(n.selected=!0)}getSelected(){let t=this.getSelectedOptions(),s=[];return t.forEach(n=>{s.push(n.value)}),s}getSelectedOptions(){return this.filter(t=>t.selected,!1)}getSelectedIDs(){let t=this.getSelectedOptions(),s=[];return t.forEach(n=>{s.push(n.id)}),s}getOptionByID(t){let s=this.filter(n=>n.id===t,!1);return s.length?s[0]:null}search(t,s){return t=t.trim(),t===""?this.getData():this.filter(n=>s(n,t),!0)}filter(t,s){const n=[];return this.data.forEach(i=>{if(i instanceof Ke)if(!s)i.options.forEach(r=>{t&&t(r)&&n.push(r)});else{let r=[];i.options.forEach(l=>{(!t||t(l))&&r.push(new _e(l))}),r.length>0&&n.push(new Ke({id:i.id,label:i.label,options:r}))}i instanceof _e&&(!t||t(i))&&n.push(new _e(i))}),n}}class uc{constructor(t,s,n){M(this,"settings");M(this,"store");M(this,"callbacks");M(this,"main");M(this,"content");M(this,"classes",{main:"ss-main",placeholder:"ss-placeholder",values:"ss-values",single:"ss-single",value:"ss-value",valueText:"ss-value-text",valueDelete:"ss-value-delete",valueOut:"ss-value-out",deselect:"ss-deselect",deselectPath:"M10,10 L90,90 M10,90 L90,10",arrow:"ss-arrow",arrowClose:"M10,30 L50,70 L90,30",arrowOpen:"M10,70 L50,30 L90,70",content:"ss-content",openAbove:"ss-open-above",openBelow:"ss-open-below",search:"ss-search",searchHighlighter:"ss-search-highlight",searching:"ss-searching",addable:"ss-addable",addablePath:"M50,10 L50,90 M10,50 L90,50",list:"ss-list",optgroup:"ss-optgroup",optgroupLabel:"ss-optgroup-label",optgroupSelectable:"ss-optgroup-selectable",option:"ss-option",optionSelected:"ss-option-selected",optionDelete:"M10,10 L90,90 M10,90 L90,10",highlighted:"ss-highlighted",error:"ss-error",disabled:"ss-disabled",hide:"ss-hide"});this.store=s,this.settings=t,this.callbacks=n,this.main=this.mainDiv(),this.content=this.contentDiv(),this.renderValues(),this.renderOptions(this.store.getData()),this.settings.contentLocation.appendChild(this.content.main)}enable(){this.main.main.classList.remove(this.classes.disabled),this.content.search.input.disabled=!1}disable(){this.main.main.classList.add(this.classes.disabled),this.content.search.input.disabled=!0}open(){this.main.arrow.path.setAttribute("d",this.classes.arrowOpen),this.main.main.classList.add(this.settings.openPosition==="up"?this.classes.openAbove:this.classes.openBelow),this.moveContent(),this.renderOptions(this.store.getData()),this.settings.contentPosition==="relative"?this.moveContentBelow():this.settings.openPosition.toLowerCase()==="up"?this.moveContentAbove():this.settings.openPosition.toLowerCase()==="down"?this.moveContentBelow():this.putContent(this.content.main,this.settings.isOpen)==="up"?this.moveContentAbove():this.moveContentBelow();const t=this.store.getSelectedOptions();if(t.length){const s=t[t.length-1].id,n=this.content.list.querySelector('[data-id="'+s+'"]');n&&this.ensureElementInView(this.content.list,n)}}close(){this.main.main.classList.remove(this.classes.openAbove),this.main.main.classList.remove(this.classes.openBelow),this.content.main.classList.remove(this.classes.openAbove),this.content.main.classList.remove(this.classes.openBelow),this.main.arrow.path.setAttribute("d",this.classes.arrowClose)}mainDiv(){const t=document.createElement("div");if(t.tabIndex=0,t.style.cssText=this.settings.style!==""?this.settings.style:"",t.className="",t.classList.add(this.settings.id),t.classList.add(this.classes.main),this.settings.class)for(const a of this.settings.class)a.trim()!==""&&t.classList.add(a.trim());t.onfocus=()=>{this.settings.triggerFocus&&this.callbacks.open()},t.onkeydown=a=>{switch(a.key){case"ArrowUp":case"ArrowDown":return this.callbacks.open(),a.key==="ArrowDown"?this.highlight("down"):this.highlight("up"),!1;case"Tab":return this.callbacks.close(),!0;case"Enter":const f=this.content.list.querySelector("."+this.classes.highlighted);return f&&f.click(),!1;case"Escape":return this.callbacks.close(),!1}},t.onclick=a=>{!this.settings.isEnabled||(this.settings.isOpen?this.callbacks.close():this.callbacks.open())};const s=document.createElement("div");s.classList.add(this.classes.values),t.appendChild(s);const n=document.createElement("div");n.classList.add(this.classes.deselect),(!this.settings.allowDeselect||this.settings.isMultiple)&&n.classList.add(this.classes.hide),n.onclick=a=>{if(a.stopPropagation(),!this.settings.isEnabled)return;let f=!0;const u=this.store.getSelectedOptions(),d=[];this.callbacks.beforeChange&&(f=this.callbacks.beforeChange(d,u)===!0),f&&(this.callbacks.setSelected([""]),this.settings.closeOnSelect&&this.callbacks.close(),this.callbacks.afterChange&&this.callbacks.afterChange(d))};const i=document.createElementNS("http://www.w3.org/2000/svg","svg");i.setAttribute("viewBox","0 0 100 100");const r=document.createElementNS("http://www.w3.org/2000/svg","path");r.setAttribute("d",this.classes.deselectPath),i.appendChild(r),n.appendChild(i),t.appendChild(n);const l=document.createElementNS("http://www.w3.org/2000/svg","svg");l.classList.add(this.classes.arrow),l.setAttribute("viewBox","0 0 100 100");const o=document.createElementNS("http://www.w3.org/2000/svg","path");return o.setAttribute("d",this.classes.arrowClose),this.settings.alwaysOpen&&l.classList.add(this.classes.hide),l.appendChild(o),t.appendChild(l),{main:t,values:s,deselect:{main:n,svg:i,path:r},arrow:{main:l,path:o}}}mainFocus(t){t||(this.settings.triggerFocus=!1),this.main.main.focus({preventScroll:!0}),this.settings.triggerFocus=!0}placeholder(){const t=this.store.filter(i=>i.placeholder,!1);let s=this.settings.placeholderText;t.length&&(t[0].html!==""?s=t[0].html:t[0].text!==""&&(s=t[0].text));const n=document.createElement("div");return n.classList.add(this.classes.placeholder),n.innerHTML=s,n}renderValues(){if(!this.settings.isMultiple){this.renderSingleValue();return}this.renderMultipleValues()}renderSingleValue(){const t=this.store.filter(n=>n.selected&&!n.placeholder,!1),s=t.length>0?t[0]:null;if(!s)this.main.values.innerHTML=this.placeholder().outerHTML;else{const n=document.createElement("div");n.classList.add(this.classes.single),n.innerHTML=s.html?s.html:s.text,this.main.values.innerHTML=n.outerHTML}!this.settings.allowDeselect||!t.length?this.main.deselect.main.classList.add(this.classes.hide):this.main.deselect.main.classList.remove(this.classes.hide)}renderMultipleValues(){let t=this.main.values.childNodes,s=this.store.filter(i=>i.selected&&i.display,!1);if(s.length===0){this.main.values.innerHTML=this.placeholder().outerHTML;return}else{const i=this.main.values.querySelector("."+this.classes.placeholder);i&&i.remove()}let n=[];for(let i=0;i<t.length;i++){const r=t[i],l=r.getAttribute("data-id");l&&(s.filter(a=>a.id===l,!1).length||n.push(r))}for(const i of n)i.classList.add(this.classes.valueOut),setTimeout(()=>{this.main.values.removeChild(i)},100);t=this.main.values.childNodes;for(let i=0;i<s.length;i++){let r=!0;for(let l=0;l<t.length;l++)s[i].id===String(t[l].dataset.id)&&(r=!1);r&&(t.length===0?this.main.values.appendChild(this.multipleValue(s[i])):i===0?this.main.values.insertBefore(this.multipleValue(s[i]),t[i]):t[i-1].insertAdjacentElement("afterend",this.multipleValue(s[i])))}}multipleValue(t){const s=document.createElement("div");s.classList.add(this.classes.value),s.dataset.id=t.id;const n=document.createElement("div");if(n.classList.add(this.classes.valueText),n.innerHTML=t.text,s.appendChild(n),!t.mandatory){const i=document.createElement("div");i.classList.add(this.classes.valueDelete),i.onclick=o=>{o.preventDefault(),o.stopPropagation();let a=!0;const f=this.store.getSelectedOptions(),u=f.filter(d=>d.selected&&d.id!==t.id,!0);if(!(this.settings.minSelected&&u.length<this.settings.minSelected)&&(this.callbacks.beforeChange&&(a=this.callbacks.beforeChange(u,f)===!0),a)){let d=[];for(const p of u){if(p instanceof Ke)for(const y of p.options)d.push(y.value);p instanceof _e&&d.push(p.value)}this.callbacks.setSelected(d),this.settings.closeOnSelect&&this.callbacks.close(),this.callbacks.afterChange&&this.callbacks.afterChange(u)}};const r=document.createElementNS("http://www.w3.org/2000/svg","svg");r.setAttribute("viewBox","0 0 100 100");const l=document.createElementNS("http://www.w3.org/2000/svg","path");l.setAttribute("d",this.classes.optionDelete),r.appendChild(l),i.appendChild(r),s.appendChild(i)}return s}contentDiv(){const t=document.createElement("div");if(t.classList.add(this.classes.content),t.dataset.id=this.settings.id,this.settings.style!==""&&(t.style.cssText=this.settings.style),this.settings.contentPosition==="relative"&&t.classList.add("ss-"+this.settings.contentPosition),this.settings.class.length)for(const i of this.settings.class)i.trim()!==""&&t.classList.add(i.trim());const s=this.searchDiv();t.appendChild(s.main);const n=this.listDiv();return t.appendChild(n),{main:t,search:s,list:n}}moveContent(){if(this.settings.contentPosition==="relative")return;const t=this.main.main.getBoundingClientRect();this.content.main.style.top=t.top+t.height+window.scrollY+"px",this.content.main.style.left=t.left+window.scrollX+"px",this.content.main.style.width=t.width+"px"}searchDiv(){const t=document.createElement("div"),s=document.createElement("input"),n=document.createElement("div");t.classList.add(this.classes.search);const i={main:t,input:s};if(this.settings.showSearch||(t.classList.add(this.classes.hide),s.readOnly=!0),s.type="search",s.placeholder=this.settings.searchPlaceholder,s.tabIndex=-1,s.setAttribute("aria-label",this.settings.searchPlaceholder),s.setAttribute("autocapitalize","off"),s.setAttribute("autocomplete","off"),s.setAttribute("autocorrect","off"),s.oninput=ds(r=>{this.callbacks.search(r.target.value)},100),s.onkeydown=r=>{switch(r.key){case"ArrowUp":case"ArrowDown":return this.callbacks.open(),r.key==="ArrowDown"?this.highlight("down"):this.highlight("up"),!1;case"Tab":return this.callbacks.close(),!0;case"Escape":return this.callbacks.close(),!1;case"Enter":if(this.callbacks.addable&&r.ctrlKey)n.click();else{const l=this.content.list.querySelector("."+this.classes.highlighted);l&&l.click()}return!1}},s.onfocus=()=>{this.settings.isOpen||this.callbacks.open()},t.appendChild(s),this.callbacks.addable){n.classList.add(this.classes.addable);const r=document.createElementNS("http://www.w3.org/2000/svg","svg");r.setAttribute("viewBox","0 0 100 100");const l=document.createElementNS("http://www.w3.org/2000/svg","path");l.setAttribute("d",this.classes.addablePath),r.appendChild(l),n.appendChild(r),n.onclick=o=>{if(o.preventDefault(),o.stopPropagation(),!this.callbacks.addable)return;const a=this.content.search.input.value.trim();if(a===""){this.content.search.input.focus();return}const f=d=>{let p=new _e(d);if(this.callbacks.addOption(p),this.settings.isMultiple){let y=this.store.getSelected();y.push(p.value),this.callbacks.setSelected(y)}else this.callbacks.setSelected([p.value]);this.callbacks.search(""),this.settings.closeOnSelect&&setTimeout(()=>{this.callbacks.close()},100)},u=this.callbacks.addable(a);u instanceof Promise?u.then(d=>{f(typeof d=="string"?{text:d,value:d}:d)}):f(typeof u=="string"?{text:u,value:u}:u)},t.appendChild(n),i.addable={main:n,svg:r,path:l}}return i}searchFocus(t){t||(this.settings.triggerFocus=!1),this.content.search.input.focus(),this.settings.triggerFocus=!0}getOptions(t=!1,s=!1,n=!1){let i="."+this.classes.option;return t&&(i+=":not(."+this.classes.placeholder+")"),s&&(i+=":not(."+this.classes.disabled+")"),n&&(i+=":not(."+this.classes.hide+")"),Array.from(this.content.list.querySelectorAll(i))}highlight(t){const s=this.getOptions(!0,!0,!0);if(s.length!==0){if(s.length===1&&!s[0].classList.contains(this.classes.highlighted)){s[0].classList.add(this.classes.highlighted);return}for(let n=0;n<s.length;n++)if(s[n].classList.contains(this.classes.highlighted)){s[n].classList.remove(this.classes.highlighted),t==="down"?n+1<s.length?(s[n+1].classList.add(this.classes.highlighted),this.ensureElementInView(this.content.list,s[n+1])):(s[0].classList.add(this.classes.highlighted),this.ensureElementInView(this.content.list,s[0])):n-1>=0?(s[n-1].classList.add(this.classes.highlighted),this.ensureElementInView(this.content.list,s[n-1])):(s[s.length-1].classList.add(this.classes.highlighted),this.ensureElementInView(this.content.list,s[s.length-1]));return}s[t==="down"?0:s.length-1].classList.add(this.classes.highlighted),this.ensureElementInView(this.content.list,s[t==="down"?0:s.length-1])}}listDiv(){const t=document.createElement("div");return t.classList.add(this.classes.list),t.setAttribute("role","listbox"),t}renderError(t){this.content.list.innerHTML="";const s=document.createElement("div");s.classList.add(this.classes.error),s.textContent=t,this.content.list.appendChild(s)}renderSearching(){this.content.list.innerHTML="";const t=document.createElement("div");t.classList.add(this.classes.searching),t.textContent=this.settings.searchingText,this.content.list.appendChild(t)}renderOptions(t){if(this.content.list.innerHTML="",t.length===0){const s=document.createElement("div");s.classList.add(this.classes.option),s.classList.add(this.classes.disabled),s.innerHTML=this.settings.searchText,this.content.list.appendChild(s);return}for(const s of t){if(s instanceof Ke){const n=document.createElement("div");n.classList.add(this.classes.optgroup);const i=document.createElement("div");i.classList.add(this.classes.optgroupLabel),i.innerHTML=s.label,this.settings.selectByGroup&&this.settings.isMultiple&&(i.classList.add(this.classes.optgroupSelectable),i.addEventListener("click",r=>{r.preventDefault(),r.stopPropagation();for(const l of n.children)l.className.indexOf(this.classes.option)!==-1&&l.click()})),n.appendChild(i);for(const r of s.options)n.appendChild(this.option(r));this.content.list.appendChild(n)}s instanceof _e&&this.content.list.appendChild(this.option(s))}}option(t){if(t.placeholder){const n=document.createElement("div");return n.classList.add(this.classes.option),n.classList.add(this.classes.hide),n}const s=document.createElement("div");if(s.dataset.id=t.id,s.classList.add(this.classes.option),s.setAttribute("role","option"),t.class&&t.class.split(" ").forEach(n=>{s.classList.add(n)}),t.style&&(s.style.cssText=t.style),this.settings.searchHighlight&&this.content.search.input.value.trim()!==""){const n=t.html!==""?t.html:t.text;s.innerHTML=this.highlightText(n,this.content.search.input.value,this.classes.searchHighlighter)}else t.html!==""?s.innerHTML=t.html:s.textContent=t.text;return this.settings.showOptionTooltips&&s.textContent&&s.setAttribute("title",s.textContent),(t.selected&&!this.settings.allowDeselect||t.disabled&&!this.settings.allowDeselect)&&s.classList.add(this.classes.disabled),t.selected&&this.settings.hideSelected&&s.classList.add(this.classes.hide),t.selected?s.classList.add(this.classes.optionSelected):s.classList.remove(this.classes.optionSelected),s.addEventListener("click",n=>{n.preventDefault(),n.stopPropagation();const i=this.store.getSelected(),r=n.currentTarget,l=String(r.dataset.id);if(t.disabled||t.selected&&!this.settings.allowDeselect||this.settings.isMultiple&&Array.isArray(i)&&this.settings.maxSelected<=i.length)return;let o=!1;const a=this.store.getSelectedOptions();let f=[];this.settings.isMultiple&&(t.selected?f=a.filter(u=>u.id!==l):f=a.concat(t)),this.settings.isMultiple||(t.selected?f=[]:f=[t]),this.callbacks.beforeChange||(o=!0),this.callbacks.beforeChange&&(this.callbacks.beforeChange(f,a)===!1?o=!1:o=!0),o&&(this.store.getOptionByID(l)||this.callbacks.addOption(t),this.callbacks.setSelected(f.map(u=>u.value)),this.settings.closeOnSelect&&this.callbacks.close(),this.callbacks.afterChange&&this.callbacks.afterChange(f))}),s}destroy(){this.main.main.remove(),this.content.main.remove()}highlightText(t,s,n){let i=t;const r=new RegExp("("+s.trim()+")(?![^<]*>[^<>]*</)","i");if(!t.match(r))return t;const l=t.match(r).index,o=l+t.match(r)[0].toString().length,a=t.substring(l,o);return i=i.replace(r,`<mark class="${n}">${a}</mark>`),i}moveContentAbove(){let t=this.main.main.offsetHeight;const s=this.content.main.offsetHeight,n=t+s-1;this.content.main.style.margin="-"+n+"px 0px 0px 0px",this.content.main.style.transformOrigin="center bottom",this.main.main.classList.remove(this.classes.openBelow),this.main.main.classList.add(this.classes.openAbove),this.content.main.classList.remove(this.classes.openBelow),this.content.main.classList.add(this.classes.openAbove)}moveContentBelow(){this.content.main.style.margin="-1px 0px 0px 0px",this.content.main.style.transformOrigin="center top",this.main.main.classList.remove(this.classes.openAbove),this.main.main.classList.add(this.classes.openBelow),this.content.main.classList.remove(this.classes.openAbove),this.content.main.classList.add(this.classes.openBelow)}ensureElementInView(t,s){const n=t.scrollTop+t.offsetTop,i=n+t.clientHeight,r=s.offsetTop,l=r+s.clientHeight;r<n?t.scrollTop-=n-r:l>i&&(t.scrollTop+=l-i)}putContent(t,s){const n=t.offsetHeight,i=t.getBoundingClientRect(),r=s?i.top:i.top-n,l=s?i.bottom:i.bottom+n;return r<=0?"down":l>=window.innerHeight?"up":"down"}}class fc{constructor(t){M(this,"select");M(this,"listen",!1);M(this,"onSelectChange");M(this,"onValueChange");M(this,"observer",null);this.select=t}enable(){this.disconnectObserver(),this.select.disabled=!1,this.connectObserver()}disable(){this.disconnectObserver(),this.select.disabled=!0,this.connectObserver()}hideUI(){this.select.tabIndex=-1,this.select.style.display="none",this.select.setAttribute("aria-hidden","true")}showUI(){this.select.removeAttribute("tabindex"),this.select.style.display="",this.select.removeAttribute("aria-hidden")}changeListen(t){this.listen=t,this.listen?this.connectObserver():this.disconnectObserver()}addSelectChangeListener(t){this.onSelectChange=t,this.addObserver(),this.connectObserver(),this.changeListen(!0)}removeSelectChangeListener(){this.changeListen(!1),this.onSelectChange=void 0}addValueChangeListener(t){this.onValueChange=t,this.select.addEventListener("change",this.valueChange.bind(this))}removeValueChangeListener(){this.onValueChange=void 0,this.select.removeEventListener("change",this.valueChange.bind(this))}valueChange(t){this.onValueChange&&this.onValueChange(this.getSelectedValues())}observeWrapper(t){this.onSelectChange&&(this.changeListen(!1),this.onSelectChange(this.getData()),this.changeListen(!0))}addObserver(){this.observer&&(this.disconnectObserver(),this.observer=null),this.observer=new MutationObserver(this.observeWrapper.bind(this))}connectObserver(){this.observer&&this.observer.observe(this.select,{childList:!0})}disconnectObserver(){this.observer&&this.observer.disconnect()}getData(){let t=[];const s=this.select.childNodes;for(const n of s)n.nodeName==="OPTGROUP"&&t.push(this.getDataFromOptgroup(n)),n.nodeName==="OPTION"&&t.push(this.getDataFromOption(n));return t}getDataFromOptgroup(t){let s={id:"",label:t.label,options:[]};const n=t.childNodes;for(const i of n)i.nodeName==="OPTION"&&s.options.push(this.getDataFromOption(i));return s}getSelectedValues(){let t=[];const s=this.select.childNodes;for(const n of s){if(n.nodeName==="OPTGROUP"){const i=n.childNodes;for(const r of i)if(r.nodeName==="OPTION"){const l=r;l.selected&&t.push(l.value)}}if(n.nodeName==="OPTION"){const i=n;i.selected&&t.push(i.value)}}return t}getDataFromOption(t){return{id:(t.dataset?t.dataset.id:!1)||Cs(),value:t.value,text:t.text,html:t.innerHTML,selected:t.selected,display:t.style.display!=="none",disabled:t.disabled,mandatory:t.dataset?t.dataset.mandatory==="true":!1,placeholder:t.dataset.placeholder==="true",class:t.className,style:t.style.cssText,data:t.dataset}}setSelected(t){const s=this.select.childNodes;for(const n of s){if(n.nodeName==="OPTGROUP"){const r=n.childNodes;for(const l of r)if(l.nodeName==="OPTION"){const o=l;o.selected=t.includes(o.value)}}if(n.nodeName==="OPTION"){const i=n;i.selected=t.includes(i.value)}}}updateSelect(t,s,n){this.changeListen(!1),t&&(this.select.id=t),s&&(this.select.style.cssText=s),n&&(this.select.className="",n.forEach(i=>{i.trim()!==""&&this.select.classList.add(i.trim())})),this.changeListen(!0)}updateOptions(t){this.changeListen(!1),this.select.innerHTML="";for(const s of t)s instanceof Ke&&this.select.appendChild(this.createOptgroup(s)),s instanceof _e&&this.select.appendChild(this.createOption(s));this.changeListen(!0)}createOptgroup(t){const s=document.createElement("optgroup");if(s.id=t.id,s.label=t.label,t.options)for(const n of t.options)s.appendChild(this.createOption(n));return s}createOption(t){const s=document.createElement("option");return s.value=t.value!==""?t.value:t.text,s.innerHTML=t.html||t.text,t.selected&&(s.selected=t.selected),t.disabled&&(s.disabled=!0),t.display===!1&&(s.style.display="none"),t.placeholder&&s.setAttribute("data-placeholder","true"),t.mandatory&&s.setAttribute("data-mandatory","true"),t.class&&t.class.split(" ").forEach(n=>{s.classList.add(n)}),t.data&&typeof t.data=="object"&&Object.keys(t.data).forEach(n=>{s.setAttribute("data-"+ac(n),t.data[n])}),s}destroy(){this.changeListen(!1),this.disconnectObserver(),this.removeSelectChangeListener(),this.removeValueChangeListener(),this.showUI()}}class hc{constructor(t){M(this,"id","");M(this,"style","");M(this,"class",[]);M(this,"isMultiple",!1);M(this,"isOpen",!1);M(this,"triggerFocus",!0);M(this,"intervalMove",null);M(this,"mainHeight",30);M(this,"contentHeight",0);M(this,"isEnabled");M(this,"alwaysOpen");M(this,"showSearch");M(this,"searchPlaceholder");M(this,"searchText");M(this,"searchingText");M(this,"searchHighlight");M(this,"closeOnSelect");M(this,"contentLocation");M(this,"contentPosition");M(this,"openPosition");M(this,"placeholderText");M(this,"allowDeselect");M(this,"hideSelected");M(this,"showOptionTooltips");M(this,"selectByGroup");M(this,"minSelected");M(this,"maxSelected");M(this,"timeoutDelay");t||(t={}),this.id="ss-"+Cs(),this.style=t.style||"",this.class=t.class||[],this.isEnabled=t.isEnabled!==void 0?t.isEnabled:!0,this.alwaysOpen=t.alwaysOpen!==void 0?t.alwaysOpen:!1,this.showSearch=t.showSearch!==void 0?t.showSearch:!0,this.searchPlaceholder=t.searchPlaceholder||"Search",this.searchText=t.searchText||"No Results",this.searchingText=t.searchingText||"Searching...",this.searchHighlight=t.searchHighlight!==void 0?t.searchHighlight:!1,this.closeOnSelect=t.closeOnSelect!==void 0?t.closeOnSelect:!0,this.contentLocation=t.contentLocation||document.body,this.contentPosition=t.contentPosition||"absolute",this.openPosition=t.openPosition||"auto",this.placeholderText=t.placeholderText||"Select Value",this.allowDeselect=t.allowDeselect!==void 0?t.allowDeselect:!1,this.hideSelected=t.hideSelected!==void 0?t.hideSelected:!1,this.showOptionTooltips=t.showOptionTooltips!==void 0?t.showOptionTooltips:!1,this.selectByGroup=t.selectByGroup!==void 0?t.selectByGroup:!1,this.minSelected=t.minSelected||0,this.maxSelected=t.maxSelected||1e3,this.timeoutDelay=t.timeoutDelay||200}}class dc{constructor(t){M(this,"selectEl");M(this,"settings");M(this,"select");M(this,"store");M(this,"render");M(this,"events",{search:void 0,searchFilter:(t,s)=>t.text.toLowerCase().indexOf(s.toLowerCase())!==-1,addable:void 0,beforeChange:void 0,afterChange:void 0,beforeOpen:void 0,afterOpen:void 0,beforeClose:void 0,afterClose:void 0});M(this,"windowResize",ds(()=>{!this.settings.isOpen||this.render.moveContent()}));M(this,"windowScroll",ds(()=>{if(!!this.settings.isOpen){if(this.settings.openPosition==="down"){this.render.moveContentBelow();return}else if(this.settings.openPosition==="up"){this.render.moveContentAbove();return}this.settings.contentPosition==="relative"?this.render.moveContentBelow():this.render.putContent(this.render.content.main,this.settings.isOpen)==="up"?this.render.moveContentAbove():this.render.moveContentBelow()}}));M(this,"documentClick",t=>{!this.settings.isOpen||t.target&&!oc(t.target,this.settings.id)&&this.close()});if(this.selectEl=typeof t.select=="string"?document.querySelector(t.select):t.select,!this.selectEl){t.events&&t.events.error&&t.events.error(new Error("Could not find select element"));return}if(this.selectEl.tagName!=="SELECT"){t.events&&t.events.error&&t.events.error(new Error("Element isnt of type select"));return}this.selectEl.dataset.ssid&&this.destroy(),this.settings=new hc(t.settings);for(const n in t.events)t.events.hasOwnProperty(n)&&(this.events[n]=t.events[n]);this.settings.isMultiple=this.selectEl.multiple,this.settings.style=this.selectEl.style.cssText,this.settings.class=this.selectEl.className.split(" "),this.select=new fc(this.selectEl),this.select.updateSelect(this.settings.id,this.settings.style,this.settings.class),this.select.hideUI(),this.select.addSelectChangeListener(n=>{this.setData(n)}),this.select.addValueChangeListener(n=>{this.setSelected(n)}),this.store=new cc(this.settings.isMultiple?"multiple":"single",t.data?t.data:this.select.getData()),t.data&&this.select.updateOptions(this.store.getData());const s={open:this.open.bind(this),close:this.close.bind(this),addable:this.events.addable?this.events.addable:void 0,setSelected:this.setSelected.bind(this),addOption:this.addOption.bind(this),search:this.search.bind(this),beforeChange:this.events.beforeChange,afterChange:this.events.afterChange};this.render=new uc(this.settings,this.store,s),this.selectEl.parentNode&&this.selectEl.parentNode.insertBefore(this.render.main.main,this.selectEl.nextSibling),document.addEventListener("click",this.documentClick),window.addEventListener("resize",this.windowResize,!1),this.settings.openPosition==="auto"&&window.addEventListener("scroll",this.windowScroll,!1),this.settings.isEnabled||this.disable(),this.settings.alwaysOpen&&this.open(),this.selectEl.slim=this}enable(){this.settings.isEnabled=!0,this.select.enable(),this.render.enable()}disable(){this.settings.isEnabled=!1,this.select.disable(),this.render.disable()}getData(){return this.store.getData()}setData(t){const s=this.store.validateDataArray(t);if(s){this.events.error&&this.events.error(s);return}this.store.setData(t);const n=this.store.getData();this.select.updateOptions(n),this.render.renderValues(),this.render.renderOptions(n)}getSelected(){return this.store.getSelected()}setSelected(t){this.store.setSelectedBy("value",Array.isArray(t)?t:[t]);const s=this.store.getData();this.select.updateOptions(s),this.render.renderValues(),this.render.renderOptions(s)}addOption(t){this.store.addOption(t);const s=this.store.getData();this.select.updateOptions(s),this.render.renderValues(),this.render.renderOptions(s)}open(){!this.settings.isEnabled||this.settings.isOpen||(this.events.beforeOpen&&this.events.beforeOpen(),this.render.open(),this.settings.showSearch&&this.render.searchFocus(!1),setTimeout(()=>{this.events.afterOpen&&this.events.afterOpen(),this.settings.isOpen=!0},this.settings.timeoutDelay),this.settings.intervalMove&&clearInterval(this.settings.intervalMove),this.settings.intervalMove=setInterval(this.render.moveContent.bind(this.render),500))}close(){!this.settings.isOpen||this.settings.alwaysOpen||(this.events.beforeClose&&this.events.beforeClose(),this.render.close(),this.search(""),this.render.mainFocus(!1),setTimeout(()=>{this.events.afterClose&&this.events.afterClose(),this.settings.isOpen=!1},this.settings.timeoutDelay),this.settings.intervalMove&&clearInterval(this.settings.intervalMove))}search(t){if(this.render.content.search.input.value!==t&&(this.render.content.search.input.value=t),!this.events.search){this.render.renderOptions(t===""?this.store.getData():this.store.search(t,this.events.searchFilter));return}this.render.renderSearching();const s=this.events.search(t,this.store.getSelectedOptions());if(s instanceof Promise){s.then(n=>{this.render.renderOptions(this.store.partialToFullData(n))}).catch(n=>{this.render.renderError(typeof n=="string"?n:n.message)});return}else Array.isArray(s)?this.render.renderOptions(this.store.partialToFullData(s)):this.render.renderError("Search event must return a promise or an array of data")}destroy(){document.removeEventListener("click",this.documentClick),window.removeEventListener("resize",this.windowResize,!1),this.settings.openPosition==="auto"&&window.removeEventListener("scroll",this.windowScroll,!1),this.store.setData([]),this.render.destroy(),this.select.destroy()}}const pc=hn({name:"App",data(){return{nav:null,navDebounce:ds(()=>{this.setDemensions()},100),year:new Date().getFullYear(),width:0,height:0,navData:[{text:"Home",value:"/",class:"label"},{text:"Install",value:"install",class:"label"},{text:"npm",value:"install#npm",class:"mar-l-l"},{text:"cdn",value:"install#cdn",class:"mar-l-l"},{text:"download",value:"install#download",class:"mar-l-l"},{text:"Selects",value:"selects",class:"label"},{text:"single",value:"selects#single",class:"mar-l-l"},{text:"multiple",value:"selects#multiple",class:"mar-l-l"},{text:"Data",value:"data",class:"label"},{text:"types",value:"data#types",class:"mar-l-l"},{text:"field",value:"data#field",class:"mar-l-l"},{text:"Settings",value:"settings",class:"label"},{text:"select",value:"settings#select",class:"mar-l-l"},{text:"alwaysOpen",value:"settings#alwaysOpen",class:"mar-l-l"},{text:"contentLocation",value:"settings#contentLocation",class:"mar-l-l"},{text:"contentPosition",value:"settings#contentPosition",class:"mar-l-l"},{text:"openPosition",value:"settings#openPosition",class:"mar-l-l"},{text:"placeholder",value:"settings#placeholder",class:"mar-l-l"},{text:"allowDeselect",value:"settings#allowDeselect",class:"mar-l-l"},{text:"display",value:"settings#display",class:"mar-l-l"},{text:"mandatory",value:"settings#mandatory",class:"mar-l-l"},{text:"minmax",value:"settings#minmax",class:"mar-l-l"},{text:"dataAttributes",value:"settings#dataAttributes",class:"mar-l-l"},{text:"cssClass",value:"settings#cssClass",class:"mar-l-l"},{text:"inlineStyles",value:"settings#inlineStyles",class:"mar-l-l"},{text:"html",value:"settings#html",class:"mar-l-l"},{text:"search",value:"settings#search",class:"mar-l-l"},{text:"closeOnSelect",value:"settings#closeOnSelect",class:"mar-l-l"},{text:"showOptionTooltips",value:"settings#showOptionTooltips",class:"mar-l-l"},{text:"selectByGroup",value:"settings#selectByGroup",class:"mar-l-l"},{text:"hideSelected",value:"settings#hideSelected",class:"mar-l-l"},{text:"Events",value:"events",class:"label"},{text:"error",value:"events#error",class:"mar-l-l"},{text:"beforeChange",value:"events#beforeChange",class:"mar-l-l"},{text:"afterChange",value:"events#afterChange",class:"mar-l-l"},{text:"open",value:"events#open",class:"mar-l-l"},{text:"search",value:"events#search",class:"mar-l-l"},{text:"searchFilter",value:"events#searchFilter",class:"mar-l-l"},{text:"addable",value:"events#addable",class:"mar-l-l"},{text:"Methods",value:"methods",class:"label"},{text:"getSelected",value:"methods#getSelected",class:"mar-l-l"},{text:"setSelected",value:"methods#setSelected",class:"mar-l-l"},{text:"getData",value:"methods#getData",class:"mar-l-l"},{text:"setData",value:"methods#setData",class:"mar-l-l"},{text:"enableDisable",value:"methods#enableDisable",class:"mar-l-l"},{text:"search",value:"methods#search",class:"mar-l-l"},{text:"destroy",value:"methods#destroy",class:"mar-l-l"},{text:"Frameworks",value:"frameworks",class:"label"},{text:"vue",value:"frameworks#vue",class:"mar-l-l"}]}},mounted(){this.runNav(),this.$router.isReady().then(()=>{this.nav&&this.nav.setSelected(this.$router.currentRoute.value.fullPath.replace("/",""))}),this.$router.afterEach(()=>{if(this.$route.query.p){setTimeout(()=>{this.$route.query.p&&this.$router.push({path:this.$route.query.p.toString(),hash:this.$route.hash})},200);return}setTimeout(()=>{const e=this.$route.hash;if(e===""&&window.scroll({top:0,behavior:"smooth"}),e){const t=document.querySelector(e);if(t){const s=document.querySelector("header"),n=document.querySelector("nav"),i=s?s.clientHeight+(window.innerWidth<700?n.clientHeight:0)+8:0;window.scroll({top:t.offsetTop-i,behavior:"smooth"})}}},200)}),this.setDemensions(),window.addEventListener("resize",this.navDebounce)},unmounted(){var e;window.removeEventListener("resize",this.navDebounce),(e=this.nav)==null||e.destroy()},watch:{width(){this.runNav()}},methods:{setDemensions(){this.width=document.documentElement.clientWidth,this.height=document.documentElement.clientHeight},runNav(){this.nav&&(this.nav.destroy(),this.nav=null);let e={searchHighlight:!0,openContent:"below"};this.width>700&&(e.alwaysOpen=!0,e.contentPosition="relative",e.contentLocation=this.$refs.navContent),this.nav=new dc({select:this.$refs.nav,data:this.navData,settings:e,events:{afterChange:t=>{const n=t[0].value.split("#"),i=n[0],r=n[1]?"#"+n[1]:void 0;this.$router.push({path:i,hash:r})}}})}}}),gc="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpFNTE3OEEyRTk5QTAxMUUyOUExNUJDMTA0NkE4OTA0RCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpFNTE3OEEyRjk5QTAxMUUyOUExNUJDMTA0NkE4OTA0RCI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkU1MTc4QTJDOTlBMDExRTI5QTE1QkMxMDQ2QTg5MDREIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkU1MTc4QTJEOTlBMDExRTI5QTE1QkMxMDQ2QTg5MDREIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+FYrpWAAABrNJREFUeNrkW2lsVFUUvjMWirYUkS5BXApUa2vd6gL+wAWjoP5RiW2EUBajAiqSuPADQ0w1UUQTrcFAUUSJEKriEuMWFKuJIElFSS24YNpQK6WoBbuAktbva880M8O8vnfevJm+CSf5cme599xzvnfffffce17AJFjycnLzUVwDXAgUAucBY4BMIEOqdQIdwJ/Az4J64OvWtoONibQvkACHgyiuBe4CbgLOjVNlE/AZsAmoBSE9viQAjueieBCYC5yVoAvWDKwHqkBEmy8IgON09lHgXmCESY4cBaqBlSCieUgIgOPDUCwBngBOM0MjXdL/CyDiv6QRAOcvR7EBKDL+kD3AbJBQl1AC4DjrLwaeBYYbf8m/ciu+BCJ6PScAzp+K4nXgTuNveQuYAxK6PSMAzo9C8TFwtUkN2Q7cDBIOx02AOP8FUGpSSzgf3GBHQsDGec7unwOTTWrKDiGhS02ATHjvALeb1JZ3gRlWE+MpVq0yMzIekRk/1YWP6o7Ors5vHI8AXH1Odl8BaTbKrwd4j10MTAduS8JqkKvA94BPgN0A56htNm2OMyDDKNhuSwCcT5dIrMBG6S4oLI1qezqKBcBjwGiPHW8HVgCr0W97VL/fobjMpv2vQAnaHgv/MdYVXurAeSNPhggRw56BQatRVgL3A0H5+xDwI8Dw9g/5Hlq+clmdDYwF8iV0zpb/GP2tApZHOx4m2xwQUCC+VVqOABg+AUUDkO6AgHkwaL2DJXORxPVNylUnw+gpXObaLXFRlxHoaw7U8uoXQ99vViNgqUPnKQfsKojhdW7GuxDW5JUtIuni432hH4JhLJ7Dq6qwcZiPZnpNXDJPfI0kQEJbjVM5PiIgW3nhlkQQILH9LGWnV/iIAK0ts8TngREwDchVKrnKRwRobckVnwcIKFcq4ONrkY8IWBT2SHUq5eEE3Khs/CRm6Z1+8V5sqVQ26/M5gHuhSJ79TqUFmIhOj/ppwQ8/Rshqb5yiWXFQFhsaWeU352UU0KaXlc2mBI1+Y3OzjyO/Gm2kSAIKFQ2awfQ+v3oP23gL/K5oUhh0GPiEZG8KxP97FHULgsqwtTUFCDioqHsGCRipaHA8BQjQrAcyg4roj5KVAgSMUtRNDyqVj0wBAlQ2koBuRf3xKUBAvqJuN1eCrYpAiHNAltNjpyFYDfL47oix38wdmDA5AvYr+kjzWRgcLVcqnKfsJwGNyk5u9TEBtyjrNwaVgRClTPKA/Db8aVOZslkDG2nD2vEuOkqGlLmYpHcGJLlJu8LjtvJFgx06Jvnq8xC33gUBeUE4waWjduua5wdVPrr6VS6cr6PvoXv5Ixed3g3mH/fB1V9OW1w07fM5IEouUEZR4bIWWJzsTRJ55r8I3ONSRRFs3hsIU8hkgkkulf0CPAx8qElQcuk4beYp9Epgoks138LOvqSPgfyAzIwMZlnFSobgIegc4H3gH6AkxmKDub9Mjb0DeoYDrZ1dne0eO14AvfPx8RXgAYaycahbBvt+GLgFpIM0md3PjqrMTMxpYKxB6p1v+s/n7bbSuMCqldmZyc+fRh9ND+IsAxrmG3C3qtj0J1uP84hLrnwnwJbjEQRIxzw0XB2jER93C9Bog9TjsRgzLpzuJr0BzHV6e8gwf9XoziqdCv1YE/oSTQBHwfem/3w+5syPxuukLtfdO0zk+WIs+YuPKLQ7ohzyWTIix3joPPMTLg1d/Yg5gIL7ogf32U/4WGGhYDr+34J6bUALPpPA62w6XYMOP9BaCv3HoD/PeJubODN6U/eEq4cKTIurttpBAZ4L+87TmKdtOt0ah8FbPXS+WnyLEKskqUy5FaweM5dA2e6w+pNkZuajhfMD3/zYBfDKb3Y6+cWwgytOL7bh98nQ73BEgHReIvd4Roy/a6Cs3CRYJOnq7zjV8HWcybC33mpLLKZIA84FPRYhcSokUNL2Civnjd0MjoZbUCy0+PtNkDDD5wQsFB8sxWm2+GJZd8eSt4HnZXnZ66Nb4CHYYxuxat4XmI1inbHeczskq77DMrK4z8AgK3+Q/L5EEMBn/PzQos0zAsQgvg5XY3TpNKOTSAD3NsrQX63TBqq9PVHM9NgvfXi/06ZSjfNqAoQEHj9Pled+pw8cpw2co6aKbSoJxDlJnYniKdP/sqSVrrEw7IBL/TnG+rSXEy7fYVoG/S1uffDkzVEYypB1qewJRCdb5rp9yxN6mQDZFmOS2wisCIXo8Yin7w7LiKiQEcFYfhOMnBmnzo1CLIO09Qyt47niJxDQ29trTmY56Qn4X4ABAFR7IoDmVT5NAAAAAElFTkSuQmCC",mc="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACAAQMAAAD58POIAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAZQTFRFyzg3////IltC9QAAAAFiS0dEAf8CLd4AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAkSURBVEjHY2AYBYMV/IeDUQG4AJgeFRgVGBUYFSBNYBQMPgAARjtdvxo6xaMAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTEtMDUtMzBUMjM6MTA6NDQtMDc6MDCm4GvfAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDEwLTEyLTA2VDEyOjIwOjEyLTA4OjAwpIGEmQAAADJ0RVh0UE5HOmNIUk0AY2h1bmsgd2FzIGZvdW5kIChzZWUgQ2hyb21hdGljaXR5LCBhYm92ZSkH0UjaAAAAKXRFWHRQTkc6Z0FNQQBnYW1tYT0wLjQ1NDU1IChTZWUgR2FtbWEsIGFib3ZlKRISLKcAAAAUdEVYdFBORzpJSERSLmJpdF9kZXB0aAA4KYV+UAAAABV0RVh0UE5HOklIRFIuY29sb3JfdHlwZQA2BkqnKwAAABt0RVh0UE5HOklIRFIuaW50ZXJsYWNlX21ldGhvZAAw+zsHjAAAABx0RVh0UE5HOklIRFIud2lkdGgsaGVpZ2h0ADE2LCAxNjjVBg0AAAAodEVYdFBORzpwSFlzAHhfcmVzPTI4MzUsIHlfcmVzPTI4MzUsIHVuaXRzPTGCKXI+AAAAKHRFWHRQTkc6c1JHQgBpbnRlbnQ9MCAoU2VlIFJlbmRlcmluZyBpbnRlbnQp8hEU9QAAAABJRU5ErkJggg==",vc=(e,t)=>{const s=e.__vccOpts||e;for(const[n,i]of t)s[n]=i;return s},bc=wo('<header><div class="top"><div class="text"><h1 class="logo">Slim Select <small>2.0</small></h1></div><div class="socials"><a href="https://github.com/brianvoe/slim-select" target="_blank"><img src="'+gc+'"></a><a href="https://www.npmjs.com/package/slim-select" target="_blank"><img src="'+mc+'"></a></div></div><div class="bar"><div class="tagline">Advanced select dropdown</div><div class="drop"><svg viewBox="0 0 100 100"><path d="M10,30 L50,70 L90,30"></path></svg></div></div></header>',1),yc={ref:"nav"},wc={class:"nav-content",ref:"navContent"},Ac=Ye("a",{href:"http://webiswhatido.com",style:{color:"#ffffff"},target:"_blank"},"Brian Voelker",-1),Ec=Ye("br",null,null,-1);function xc(e,t,s,n,i,r){const l=Ql("router-view");return gn(),vo(Te,null,[bc,Ye("nav",null,[Ye("select",yc,null,512),Ye("div",wc,null,512)]),Ye("main",null,[be(l),Ye("footer",null,[ls(" \xA9 "+Dr(e.year)+" ",1),Ac,ls(". "),Ec,ls(" Slim Select is under the MIT license. ")])])],64)}const _c=vc(pc,[["render",xc]]);var pi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Cr={exports:{}};(function(e){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
6
6
  * Prism: Lightweight, robust, elegant syntax highlighting
7
7
  *
8
8
  * @license MIT <https://opensource.org/licenses/MIT>
9
9
  * @author Lea Verou <https://lea.verou.me>
10
10
  * @namespace
11
11
  * @public
12
- */var s=function(n){var i=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,r=0,l={},o={manual:n.Prism&&n.Prism.manual,disableWorkerMessageHandler:n.Prism&&n.Prism.disableWorkerMessageHandler,util:{encode:function m(g){return g instanceof a?new a(g.type,m(g.content),g.alias):Array.isArray(g)?g.map(m):g.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(m){return Object.prototype.toString.call(m).slice(8,-1)},objId:function(m){return m.__id||Object.defineProperty(m,"__id",{value:++r}),m.__id},clone:function m(g,A){A=A||{};var _,C;switch(o.util.type(g)){case"Object":if(C=o.util.objId(g),A[C])return A[C];_={},A[C]=_;for(var N in g)g.hasOwnProperty(N)&&(_[N]=m(g[N],A));return _;case"Array":return C=o.util.objId(g),A[C]?A[C]:(_=[],A[C]=_,g.forEach(function(W,H){_[H]=m(W,A)}),_);default:return g}},getLanguage:function(m){for(;m;){var g=i.exec(m.className);if(g)return g[1].toLowerCase();m=m.parentElement}return"none"},setLanguage:function(m,g){m.className=m.className.replace(RegExp(i,"gi"),""),m.classList.add("language-"+g)},currentScript:function(){if(typeof document>"u")return null;if("currentScript"in document&&1<2)return document.currentScript;try{throw new Error}catch(_){var m=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(_.stack)||[])[1];if(m){var g=document.getElementsByTagName("script");for(var A in g)if(g[A].src==m)return g[A]}return null}},isActive:function(m,g,A){for(var _="no-"+g;m;){var C=m.classList;if(C.contains(g))return!0;if(C.contains(_))return!1;m=m.parentElement}return!!A}},languages:{plain:l,plaintext:l,text:l,txt:l,extend:function(m,g){var A=o.util.clone(o.languages[m]);for(var _ in g)A[_]=g[_];return A},insertBefore:function(m,g,A,_){_=_||o.languages;var C=_[m],N={};for(var W in C)if(C.hasOwnProperty(W)){if(W==g)for(var H in A)A.hasOwnProperty(H)&&(N[H]=A[H]);A.hasOwnProperty(W)||(N[W]=C[W])}var J=_[m];return _[m]=N,o.languages.DFS(o.languages,function(le,he){he===J&&le!=m&&(this[le]=N)}),N},DFS:function m(g,A,_,C){C=C||{};var N=o.util.objId;for(var W in g)if(g.hasOwnProperty(W)){A.call(g,W,g[W],_||W);var H=g[W],J=o.util.type(H);J==="Object"&&!C[N(H)]?(C[N(H)]=!0,m(H,A,null,C)):J==="Array"&&!C[N(H)]&&(C[N(H)]=!0,m(H,A,W,C))}}},plugins:{},highlightAll:function(m,g){o.highlightAllUnder(document,m,g)},highlightAllUnder:function(m,g,A){var _={callback:A,container:m,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};o.hooks.run("before-highlightall",_),_.elements=Array.prototype.slice.apply(_.container.querySelectorAll(_.selector)),o.hooks.run("before-all-elements-highlight",_);for(var C=0,N;N=_.elements[C++];)o.highlightElement(N,g===!0,_.callback)},highlightElement:function(m,g,A){var _=o.util.getLanguage(m),C=o.languages[_];o.util.setLanguage(m,_);var N=m.parentElement;N&&N.nodeName.toLowerCase()==="pre"&&o.util.setLanguage(N,_);var W=m.textContent,H={element:m,language:_,grammar:C,code:W};function J(he){H.highlightedCode=he,o.hooks.run("before-insert",H),H.element.innerHTML=H.highlightedCode,o.hooks.run("after-highlight",H),o.hooks.run("complete",H),A&&A.call(H.element)}if(o.hooks.run("before-sanity-check",H),N=H.element.parentElement,N&&N.nodeName.toLowerCase()==="pre"&&!N.hasAttribute("tabindex")&&N.setAttribute("tabindex","0"),!H.code){o.hooks.run("complete",H),A&&A.call(H.element);return}if(o.hooks.run("before-highlight",H),!H.grammar){J(o.util.encode(H.code));return}if(g&&n.Worker){var le=new Worker(o.filename);le.onmessage=function(he){J(he.data)},le.postMessage(JSON.stringify({language:H.language,code:H.code,immediateClose:!0}))}else J(o.highlight(H.code,H.grammar,H.language))},highlight:function(m,g,A){var _={code:m,grammar:g,language:A};if(o.hooks.run("before-tokenize",_),!_.grammar)throw new Error('The language "'+_.language+'" has no grammar.');return _.tokens=o.tokenize(_.code,_.grammar),o.hooks.run("after-tokenize",_),a.stringify(o.util.encode(_.tokens),_.language)},tokenize:function(m,g){var A=g.rest;if(A){for(var _ in A)g[_]=A[_];delete g.rest}var C=new d;return p(C,C.head,m),f(m,C,g,C.head,0),F(C)},hooks:{all:{},add:function(m,g){var A=o.hooks.all;A[m]=A[m]||[],A[m].push(g)},run:function(m,g){var A=o.hooks.all[m];if(!(!A||!A.length))for(var _=0,C;C=A[_++];)C(g)}},Token:a};n.Prism=o;function a(m,g,A,_){this.type=m,this.content=g,this.alias=A,this.length=(_||"").length|0}a.stringify=function m(g,A){if(typeof g=="string")return g;if(Array.isArray(g)){var _="";return g.forEach(function(J){_+=m(J,A)}),_}var C={type:g.type,content:m(g.content,A),tag:"span",classes:["token",g.type],attributes:{},language:A},N=g.alias;N&&(Array.isArray(N)?Array.prototype.push.apply(C.classes,N):C.classes.push(N)),o.hooks.run("wrap",C);var W="";for(var H in C.attributes)W+=" "+H+'="'+(C.attributes[H]||"").replace(/"/g,"&quot;")+'"';return"<"+C.tag+' class="'+C.classes.join(" ")+'"'+W+">"+C.content+"</"+C.tag+">"};function u(m,g,A,_){m.lastIndex=g;var C=m.exec(A);if(C&&_&&C[1]){var N=C[1].length;C.index+=N,C[0]=C[0].slice(N)}return C}function f(m,g,A,_,C,N){for(var W in A)if(!(!A.hasOwnProperty(W)||!A[W])){var H=A[W];H=Array.isArray(H)?H:[H];for(var J=0;J<H.length;++J){if(N&&N.cause==W+","+J)return;var le=H[J],he=le.inside,Ve=!!le.lookbehind,Me=!!le.greedy,ot=le.alias;if(Me&&!le.pattern.global){var ce=le.pattern.toString().match(/[imsuy]*$/)[0];le.pattern=RegExp(le.pattern.source,ce+"g")}for(var ee=le.pattern||le,V=_.next,ue=C;V!==g.tail&&!(N&&ue>=N.reach);ue+=V.value.length,V=V.next){var xe=V.value;if(g.length>m.length)return;if(!(xe instanceof a)){var ge=1,ie;if(Me){if(ie=u(ee,ue,m,Ve),!ie||ie.index>=m.length)break;var k=ie.index,Je=ie.index+ie[0].length,Ce=ue;for(Ce+=V.value.length;k>=Ce;)V=V.next,Ce+=V.value.length;if(Ce-=V.value.length,ue=Ce,V.value instanceof a)continue;for(var y=V;y!==g.tail&&(Ce<Je||typeof y.value=="string");y=y.next)ge++,Ce+=y.value.length;ge--,xe=m.slice(ue,Ce),ie.index-=ue}else if(ie=u(ee,0,xe,Ve),!ie)continue;var k=ie.index,R=ie[0],U=xe.slice(0,k),Q=xe.slice(k+R.length),ne=ue+xe.length;N&&ne>N.reach&&(N.reach=ne);var K=V.prev;U&&(K=p(g,K,U),ue+=U.length),w(g,K,ge);var c=new a(W,he?o.tokenize(R,he):R,ot,R);if(V=p(g,K,c),Q&&p(g,V,Q),ge>1){var h={cause:W+","+J,reach:ne};f(m,g,A,V.prev,ue,h),N&&h.reach>N.reach&&(N.reach=h.reach)}}}}}}function d(){var m={value:null,prev:null,next:null},g={value:null,prev:m,next:null};m.next=g,this.head=m,this.tail=g,this.length=0}function p(m,g,A){var _=g.next,C={value:A,prev:g,next:_};return g.next=C,_.prev=C,m.length++,C}function w(m,g,A){for(var _=g.next,C=0;C<A&&_!==m.tail;C++)_=_.next;g.next=_,_.prev=g,m.length-=C}function F(m){for(var g=[],A=m.head.next;A!==m.tail;)g.push(A.value),A=A.next;return g}if(!n.document)return n.addEventListener&&(o.disableWorkerMessageHandler||n.addEventListener("message",function(m){var g=JSON.parse(m.data),A=g.language,_=g.code,C=g.immediateClose;n.postMessage(o.highlight(_,o.languages[A],A)),C&&n.close()},!1)),o;var L=o.util.currentScript();L&&(o.filename=L.src,L.hasAttribute("data-manual")&&(o.manual=!0));function I(){o.manual||o.highlightAll()}if(!o.manual){var O=document.readyState;O==="loading"||O==="interactive"&&L&&L.defer?document.addEventListener("DOMContentLoaded",I):window.requestAnimationFrame?window.requestAnimationFrame(I):window.setTimeout(I,16)}return o}(t);e.exports&&(e.exports=s),typeof pi<"u"&&(pi.Prism=s),s.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},s.languages.markup.tag.inside["attr-value"].inside.entity=s.languages.markup.entity,s.languages.markup.doctype.inside["internal-subset"].inside=s.languages.markup,s.hooks.add("wrap",function(n){n.type==="entity"&&(n.attributes.title=n.content.replace(/&amp;/,"&"))}),Object.defineProperty(s.languages.markup.tag,"addInlined",{value:function(i,r){var l={};l["language-"+r]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:s.languages[r]},l.cdata=/^<!\[CDATA\[|\]\]>$/i;var o={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:l}};o["language-"+r]={pattern:/[\s\S]+/,inside:s.languages[r]};var a={};a[i]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return i}),"i"),lookbehind:!0,greedy:!0,inside:o},s.languages.insertBefore("markup","cdata",a)}}),Object.defineProperty(s.languages.markup.tag,"addAttribute",{value:function(n,i){s.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+n+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[i,"language-"+i],inside:s.languages[i]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),s.languages.html=s.languages.markup,s.languages.mathml=s.languages.markup,s.languages.svg=s.languages.markup,s.languages.xml=s.languages.extend("markup",{}),s.languages.ssml=s.languages.xml,s.languages.atom=s.languages.xml,s.languages.rss=s.languages.xml,function(n){var i=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;n.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+i.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+i.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+i.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+i.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:i,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},n.languages.css.atrule.inside.rest=n.languages.css;var r=n.languages.markup;r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))}(s),s.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},s.languages.javascript=s.languages.extend("clike",{"class-name":[s.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),s.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,s.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:s.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:s.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:s.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:s.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:s.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),s.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:s.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),s.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),s.languages.markup&&(s.languages.markup.tag.addInlined("script","javascript"),s.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),s.languages.js=s.languages.javascript,function(){if(typeof s>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var n="Loading\u2026",i=function(L,I){return"\u2716 Error "+L+" while fetching file: "+I},r="\u2716 Error: File does not exist or is empty",l={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},o="data-src-status",a="loading",u="loaded",f="failed",d="pre[data-src]:not(["+o+'="'+u+'"]):not(['+o+'="'+a+'"])';function p(L,I,O){var m=new XMLHttpRequest;m.open("GET",L,!0),m.onreadystatechange=function(){m.readyState==4&&(m.status<400&&m.responseText?I(m.responseText):m.status>=400?O(i(m.status,m.statusText)):O(r))},m.send(null)}function w(L){var I=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(L||"");if(I){var O=Number(I[1]),m=I[2],g=I[3];return m?g?[O,Number(g)]:[O,void 0]:[O,O]}}s.hooks.add("before-highlightall",function(L){L.selector+=", "+d}),s.hooks.add("before-sanity-check",function(L){var I=L.element;if(I.matches(d)){L.code="",I.setAttribute(o,a);var O=I.appendChild(document.createElement("CODE"));O.textContent=n;var m=I.getAttribute("data-src"),g=L.language;if(g==="none"){var A=(/\.(\w+)$/.exec(m)||[,"none"])[1];g=l[A]||A}s.util.setLanguage(O,g),s.util.setLanguage(I,g);var _=s.plugins.autoloader;_&&_.loadLanguages(g),p(m,function(C){I.setAttribute(o,u);var N=w(I.getAttribute("data-range"));if(N){var W=C.split(/\r\n?|\n/g),H=N[0],J=N[1]==null?W.length:N[1];H<0&&(H+=W.length),H=Math.max(0,Math.min(H-1,W.length)),J<0&&(J+=W.length),J=Math.max(0,Math.min(J,W.length)),C=W.slice(H,J).join(`
13
- `),I.hasAttribute("data-start")||I.setAttribute("data-start",String(H+1))}O.textContent=C,s.highlightElement(O)},function(C){I.setAttribute(o,f),O.textContent=C})}}),s.plugins.fileHighlight={highlight:function(I){for(var O=(I||document).querySelectorAll(d),m=0,g;g=O[m++];)s.highlightElement(g)}};var F=!1;s.fileHighlight=function(){F||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),F=!0),s.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(Cr);const Cc=Cr.exports;var Sr={exports:{}};(function(e){(function(){if(typeof Prism>"u")return;var t=Object.assign||function(l,o){for(var a in o)o.hasOwnProperty(a)&&(l[a]=o[a]);return l};function s(l){this.defaults=t({},l)}function n(l){return l.replace(/-(\w)/g,function(o,a){return a.toUpperCase()})}function i(l){for(var o=0,a=0;a<l.length;++a)l.charCodeAt(a)==" ".charCodeAt(0)&&(o+=3);return l.length+o}var r={"remove-trailing":"boolean","remove-indent":"boolean","left-trim":"boolean","right-trim":"boolean","break-lines":"number",indent:"number","remove-initial-line-feed":"boolean","tabs-to-spaces":"number","spaces-to-tabs":"number"};s.prototype={setDefaults:function(l){this.defaults=t(this.defaults,l)},normalize:function(l,o){o=t(this.defaults,o);for(var a in o){var u=n(a);a!=="normalize"&&u!=="setDefaults"&&o[a]&&this[u]&&(l=this[u].call(this,l,o[a]))}return l},leftTrim:function(l){return l.replace(/^\s+/,"")},rightTrim:function(l){return l.replace(/\s+$/,"")},tabsToSpaces:function(l,o){return o=o|0||4,l.replace(/\t/g,new Array(++o).join(" "))},spacesToTabs:function(l,o){return o=o|0||4,l.replace(RegExp(" {"+o+"}","g")," ")},removeTrailing:function(l){return l.replace(/\s*?$/gm,"")},removeInitialLineFeed:function(l){return l.replace(/^(?:\r?\n|\r)/,"")},removeIndent:function(l){var o=l.match(/^[^\S\n\r]*(?=\S)/gm);return!o||!o[0].length||(o.sort(function(a,u){return a.length-u.length}),!o[0].length)?l:l.replace(RegExp("^"+o[0],"gm"),"")},indent:function(l,o){return l.replace(/^[^\S\n\r]*(?=\S)/gm,new Array(++o).join(" ")+"$&")},breakLines:function(l,o){o=o===!0?80:o|0||80;for(var a=l.split(`
14
- `),u=0;u<a.length;++u)if(!(i(a[u])<=o)){for(var f=a[u].split(/(\s+)/g),d=0,p=0;p<f.length;++p){var w=i(f[p]);d+=w,d>o&&(f[p]=`
15
- `+f[p],d=w)}a[u]=f.join("")}return a.join(`
16
- `)}},e.exports&&(e.exports=s),Prism.plugins.NormalizeWhitespace=new s({"remove-trailing":!0,"remove-indent":!0,"left-trim":!0,"right-trim":!0}),Prism.hooks.add("before-sanity-check",function(l){var o=Prism.plugins.NormalizeWhitespace;if(!(l.settings&&l.settings["whitespace-normalization"]===!1)&&!!Prism.util.isActive(l.element,"whitespace-normalization",!0)){if((!l.element||!l.element.parentNode)&&l.code){l.code=o.normalize(l.code,l.settings);return}var a=l.element.parentNode;if(!(!l.code||!a||a.nodeName.toLowerCase()!=="pre")){l.settings==null&&(l.settings={});for(var u in r)if(Object.hasOwnProperty.call(r,u)){var f=r[u];if(a.hasAttribute("data-"+u))try{var d=JSON.parse(a.getAttribute("data-"+u)||"true");typeof d===f&&(l.settings[u]=d)}catch{}}for(var p=a.childNodes,w="",F="",L=!1,I=0;I<p.length;++I){var O=p[I];O==l.element?L=!0:O.nodeName==="#text"&&(L?F+=O.nodeValue:w+=O.nodeValue,a.removeChild(O),--I)}if(!l.element.children.length||!Prism.plugins.KeepMarkup)l.code=w+l.code+F,l.code=o.normalize(l.code,l.settings);else{var m=w+l.element.innerHTML+F;l.element.innerHTML=o.normalize(m,l.settings),l.code=l.element.textContent}}}})})()})(Sr);const Sc=Sr.exports;(function(){if(typeof Prism>"u"||typeof document>"u")return;var e=[],t={},s=function(){};Prism.plugins.toolbar={};var n=Prism.plugins.toolbar.registerButton=function(l,o){var a;if(typeof o=="function"?a=o:a=function(u){var f;return typeof o.onClick=="function"?(f=document.createElement("button"),f.type="button",f.addEventListener("click",function(){o.onClick.call(this,u)})):typeof o.url=="string"?(f=document.createElement("a"),f.href=o.url):f=document.createElement("span"),o.className&&f.classList.add(o.className),f.textContent=o.text,f},l in t){console.warn('There is a button with the key "'+l+'" registered already.');return}e.push(t[l]=a)};function i(l){for(;l;){var o=l.getAttribute("data-toolbar-order");if(o!=null)return o=o.trim(),o.length?o.split(/\s*,\s*/g):[];l=l.parentElement}}var r=Prism.plugins.toolbar.hook=function(l){var o=l.element.parentNode;if(!(!o||!/pre/i.test(o.nodeName))&&!o.parentNode.classList.contains("code-toolbar")){var a=document.createElement("div");a.classList.add("code-toolbar"),o.parentNode.insertBefore(a,o),a.appendChild(o);var u=document.createElement("div");u.classList.add("toolbar");var f=e,d=i(l.element);d&&(f=d.map(function(p){return t[p]||s})),f.forEach(function(p){var w=p(l);if(!!w){var F=document.createElement("div");F.classList.add("toolbar-item"),F.appendChild(w),u.appendChild(F)}}),a.appendChild(u)}};n("label",function(l){var o=l.element.parentNode;if(!(!o||!/pre/i.test(o.nodeName))&&!!o.hasAttribute("data-label")){var a,u,f=o.getAttribute("data-label");try{u=document.querySelector("template#"+f)}catch{}return u?a=u.content:(o.hasAttribute("data-url")?(a=document.createElement("a"),a.href=o.getAttribute("data-url")):a=document.createElement("span"),a.textContent=f),a}}),Prism.hooks.add("complete",r)})();new Sc({"remove-trailing":!0,"remove-indent":!0,"left-trim":!0,"right-trim":!0});const wn=Xo(_c);wn.use(lc);wn.mixin({updated(){Cc.highlightAll()}});wn.mount("#app");export{Te as F,dc as S,vc as _,Ye as a,wo as b,vo as c,hn as d,pi as e,ls as f,Ql as g,be as h,Pc as i,vl as j,jl as k,Rc as l,gn as o,Tc as r,Dr as t,Rl as w};
12
+ */var s=function(n){var i=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,r=0,l={},o={manual:n.Prism&&n.Prism.manual,disableWorkerMessageHandler:n.Prism&&n.Prism.disableWorkerMessageHandler,util:{encode:function m(g){return g instanceof a?new a(g.type,m(g.content),g.alias):Array.isArray(g)?g.map(m):g.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(m){return Object.prototype.toString.call(m).slice(8,-1)},objId:function(m){return m.__id||Object.defineProperty(m,"__id",{value:++r}),m.__id},clone:function m(g,A){A=A||{};var _,C;switch(o.util.type(g)){case"Object":if(C=o.util.objId(g),A[C])return A[C];_={},A[C]=_;for(var N in g)g.hasOwnProperty(N)&&(_[N]=m(g[N],A));return _;case"Array":return C=o.util.objId(g),A[C]?A[C]:(_=[],A[C]=_,g.forEach(function(W,H){_[H]=m(W,A)}),_);default:return g}},getLanguage:function(m){for(;m;){var g=i.exec(m.className);if(g)return g[1].toLowerCase();m=m.parentElement}return"none"},setLanguage:function(m,g){m.className=m.className.replace(RegExp(i,"gi"),""),m.classList.add("language-"+g)},currentScript:function(){if(typeof document>"u")return null;if("currentScript"in document&&1<2)return document.currentScript;try{throw new Error}catch(_){var m=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(_.stack)||[])[1];if(m){var g=document.getElementsByTagName("script");for(var A in g)if(g[A].src==m)return g[A]}return null}},isActive:function(m,g,A){for(var _="no-"+g;m;){var C=m.classList;if(C.contains(g))return!0;if(C.contains(_))return!1;m=m.parentElement}return!!A}},languages:{plain:l,plaintext:l,text:l,txt:l,extend:function(m,g){var A=o.util.clone(o.languages[m]);for(var _ in g)A[_]=g[_];return A},insertBefore:function(m,g,A,_){_=_||o.languages;var C=_[m],N={};for(var W in C)if(C.hasOwnProperty(W)){if(W==g)for(var H in A)A.hasOwnProperty(H)&&(N[H]=A[H]);A.hasOwnProperty(W)||(N[W]=C[W])}var J=_[m];return _[m]=N,o.languages.DFS(o.languages,function(le,he){he===J&&le!=m&&(this[le]=N)}),N},DFS:function m(g,A,_,C){C=C||{};var N=o.util.objId;for(var W in g)if(g.hasOwnProperty(W)){A.call(g,W,g[W],_||W);var H=g[W],J=o.util.type(H);J==="Object"&&!C[N(H)]?(C[N(H)]=!0,m(H,A,null,C)):J==="Array"&&!C[N(H)]&&(C[N(H)]=!0,m(H,A,W,C))}}},plugins:{},highlightAll:function(m,g){o.highlightAllUnder(document,m,g)},highlightAllUnder:function(m,g,A){var _={callback:A,container:m,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};o.hooks.run("before-highlightall",_),_.elements=Array.prototype.slice.apply(_.container.querySelectorAll(_.selector)),o.hooks.run("before-all-elements-highlight",_);for(var C=0,N;N=_.elements[C++];)o.highlightElement(N,g===!0,_.callback)},highlightElement:function(m,g,A){var _=o.util.getLanguage(m),C=o.languages[_];o.util.setLanguage(m,_);var N=m.parentElement;N&&N.nodeName.toLowerCase()==="pre"&&o.util.setLanguage(N,_);var W=m.textContent,H={element:m,language:_,grammar:C,code:W};function J(he){H.highlightedCode=he,o.hooks.run("before-insert",H),H.element.innerHTML=H.highlightedCode,o.hooks.run("after-highlight",H),o.hooks.run("complete",H),A&&A.call(H.element)}if(o.hooks.run("before-sanity-check",H),N=H.element.parentElement,N&&N.nodeName.toLowerCase()==="pre"&&!N.hasAttribute("tabindex")&&N.setAttribute("tabindex","0"),!H.code){o.hooks.run("complete",H),A&&A.call(H.element);return}if(o.hooks.run("before-highlight",H),!H.grammar){J(o.util.encode(H.code));return}if(g&&n.Worker){var le=new Worker(o.filename);le.onmessage=function(he){J(he.data)},le.postMessage(JSON.stringify({language:H.language,code:H.code,immediateClose:!0}))}else J(o.highlight(H.code,H.grammar,H.language))},highlight:function(m,g,A){var _={code:m,grammar:g,language:A};if(o.hooks.run("before-tokenize",_),!_.grammar)throw new Error('The language "'+_.language+'" has no grammar.');return _.tokens=o.tokenize(_.code,_.grammar),o.hooks.run("after-tokenize",_),a.stringify(o.util.encode(_.tokens),_.language)},tokenize:function(m,g){var A=g.rest;if(A){for(var _ in A)g[_]=A[_];delete g.rest}var C=new d;return p(C,C.head,m),u(m,C,g,C.head,0),k(C)},hooks:{all:{},add:function(m,g){var A=o.hooks.all;A[m]=A[m]||[],A[m].push(g)},run:function(m,g){var A=o.hooks.all[m];if(!(!A||!A.length))for(var _=0,C;C=A[_++];)C(g)}},Token:a};n.Prism=o;function a(m,g,A,_){this.type=m,this.content=g,this.alias=A,this.length=(_||"").length|0}a.stringify=function m(g,A){if(typeof g=="string")return g;if(Array.isArray(g)){var _="";return g.forEach(function(J){_+=m(J,A)}),_}var C={type:g.type,content:m(g.content,A),tag:"span",classes:["token",g.type],attributes:{},language:A},N=g.alias;N&&(Array.isArray(N)?Array.prototype.push.apply(C.classes,N):C.classes.push(N)),o.hooks.run("wrap",C);var W="";for(var H in C.attributes)W+=" "+H+'="'+(C.attributes[H]||"").replace(/"/g,"&quot;")+'"';return"<"+C.tag+' class="'+C.classes.join(" ")+'"'+W+">"+C.content+"</"+C.tag+">"};function f(m,g,A,_){m.lastIndex=g;var C=m.exec(A);if(C&&_&&C[1]){var N=C[1].length;C.index+=N,C[0]=C[0].slice(N)}return C}function u(m,g,A,_,C,N){for(var W in A)if(!(!A.hasOwnProperty(W)||!A[W])){var H=A[W];H=Array.isArray(H)?H:[H];for(var J=0;J<H.length;++J){if(N&&N.cause==W+","+J)return;var le=H[J],he=le.inside,Ve=!!le.lookbehind,Me=!!le.greedy,ot=le.alias;if(Me&&!le.pattern.global){var ce=le.pattern.toString().match(/[imsuy]*$/)[0];le.pattern=RegExp(le.pattern.source,ce+"g")}for(var ee=le.pattern||le,V=_.next,ue=C;V!==g.tail&&!(N&&ue>=N.reach);ue+=V.value.length,V=V.next){var Ee=V.value;if(g.length>m.length)return;if(!(Ee instanceof a)){var ge=1,ie;if(Me){if(ie=f(ee,ue,m,Ve),!ie||ie.index>=m.length)break;var F=ie.index,Je=ie.index+ie[0].length,Ce=ue;for(Ce+=V.value.length;F>=Ce;)V=V.next,Ce+=V.value.length;if(Ce-=V.value.length,ue=Ce,V.value instanceof a)continue;for(var w=V;w!==g.tail&&(Ce<Je||typeof w.value=="string");w=w.next)ge++,Ce+=w.value.length;ge--,Ee=m.slice(ue,Ce),ie.index-=ue}else if(ie=f(ee,0,Ee,Ve),!ie)continue;var F=ie.index,R=ie[0],U=Ee.slice(0,F),Q=Ee.slice(F+R.length),ne=ue+Ee.length;N&&ne>N.reach&&(N.reach=ne);var K=V.prev;U&&(K=p(g,K,U),ue+=U.length),y(g,K,ge);var c=new a(W,he?o.tokenize(R,he):R,ot,R);if(V=p(g,K,c),Q&&p(g,V,Q),ge>1){var h={cause:W+","+J,reach:ne};u(m,g,A,V.prev,ue,h),N&&h.reach>N.reach&&(N.reach=h.reach)}}}}}}function d(){var m={value:null,prev:null,next:null},g={value:null,prev:m,next:null};m.next=g,this.head=m,this.tail=g,this.length=0}function p(m,g,A){var _=g.next,C={value:A,prev:g,next:_};return g.next=C,_.prev=C,m.length++,C}function y(m,g,A){for(var _=g.next,C=0;C<A&&_!==m.tail;C++)_=_.next;g.next=_,_.prev=g,m.length-=C}function k(m){for(var g=[],A=m.head.next;A!==m.tail;)g.push(A.value),A=A.next;return g}if(!n.document)return n.addEventListener&&(o.disableWorkerMessageHandler||n.addEventListener("message",function(m){var g=JSON.parse(m.data),A=g.language,_=g.code,C=g.immediateClose;n.postMessage(o.highlight(_,o.languages[A],A)),C&&n.close()},!1)),o;var P=o.util.currentScript();P&&(o.filename=P.src,P.hasAttribute("data-manual")&&(o.manual=!0));function I(){o.manual||o.highlightAll()}if(!o.manual){var O=document.readyState;O==="loading"||O==="interactive"&&P&&P.defer?document.addEventListener("DOMContentLoaded",I):window.requestAnimationFrame?window.requestAnimationFrame(I):window.setTimeout(I,16)}return o}(t);e.exports&&(e.exports=s),typeof pi<"u"&&(pi.Prism=s),s.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},s.languages.markup.tag.inside["attr-value"].inside.entity=s.languages.markup.entity,s.languages.markup.doctype.inside["internal-subset"].inside=s.languages.markup,s.hooks.add("wrap",function(n){n.type==="entity"&&(n.attributes.title=n.content.replace(/&amp;/,"&"))}),Object.defineProperty(s.languages.markup.tag,"addInlined",{value:function(i,r){var l={};l["language-"+r]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:s.languages[r]},l.cdata=/^<!\[CDATA\[|\]\]>$/i;var o={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:l}};o["language-"+r]={pattern:/[\s\S]+/,inside:s.languages[r]};var a={};a[i]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return i}),"i"),lookbehind:!0,greedy:!0,inside:o},s.languages.insertBefore("markup","cdata",a)}}),Object.defineProperty(s.languages.markup.tag,"addAttribute",{value:function(n,i){s.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+n+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[i,"language-"+i],inside:s.languages[i]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),s.languages.html=s.languages.markup,s.languages.mathml=s.languages.markup,s.languages.svg=s.languages.markup,s.languages.xml=s.languages.extend("markup",{}),s.languages.ssml=s.languages.xml,s.languages.atom=s.languages.xml,s.languages.rss=s.languages.xml,function(n){var i=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;n.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+i.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+i.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+i.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+i.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:i,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},n.languages.css.atrule.inside.rest=n.languages.css;var r=n.languages.markup;r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))}(s),s.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},s.languages.javascript=s.languages.extend("clike",{"class-name":[s.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),s.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,s.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:s.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:s.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:s.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:s.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:s.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),s.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:s.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),s.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),s.languages.markup&&(s.languages.markup.tag.addInlined("script","javascript"),s.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),s.languages.js=s.languages.javascript,function(){if(typeof s>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var n="Loading\u2026",i=function(P,I){return"\u2716 Error "+P+" while fetching file: "+I},r="\u2716 Error: File does not exist or is empty",l={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},o="data-src-status",a="loading",f="loaded",u="failed",d="pre[data-src]:not(["+o+'="'+f+'"]):not(['+o+'="'+a+'"])';function p(P,I,O){var m=new XMLHttpRequest;m.open("GET",P,!0),m.onreadystatechange=function(){m.readyState==4&&(m.status<400&&m.responseText?I(m.responseText):m.status>=400?O(i(m.status,m.statusText)):O(r))},m.send(null)}function y(P){var I=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(P||"");if(I){var O=Number(I[1]),m=I[2],g=I[3];return m?g?[O,Number(g)]:[O,void 0]:[O,O]}}s.hooks.add("before-highlightall",function(P){P.selector+=", "+d}),s.hooks.add("before-sanity-check",function(P){var I=P.element;if(I.matches(d)){P.code="",I.setAttribute(o,a);var O=I.appendChild(document.createElement("CODE"));O.textContent=n;var m=I.getAttribute("data-src"),g=P.language;if(g==="none"){var A=(/\.(\w+)$/.exec(m)||[,"none"])[1];g=l[A]||A}s.util.setLanguage(O,g),s.util.setLanguage(I,g);var _=s.plugins.autoloader;_&&_.loadLanguages(g),p(m,function(C){I.setAttribute(o,f);var N=y(I.getAttribute("data-range"));if(N){var W=C.split(/\r\n?|\n/g),H=N[0],J=N[1]==null?W.length:N[1];H<0&&(H+=W.length),H=Math.max(0,Math.min(H-1,W.length)),J<0&&(J+=W.length),J=Math.max(0,Math.min(J,W.length)),C=W.slice(H,J).join(`
13
+ `),I.hasAttribute("data-start")||I.setAttribute("data-start",String(H+1))}O.textContent=C,s.highlightElement(O)},function(C){I.setAttribute(o,u),O.textContent=C})}}),s.plugins.fileHighlight={highlight:function(I){for(var O=(I||document).querySelectorAll(d),m=0,g;g=O[m++];)s.highlightElement(g)}};var k=!1;s.fileHighlight=function(){k||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),k=!0),s.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(Cr);const Cc=Cr.exports;var Sr={exports:{}};(function(e){(function(){if(typeof Prism>"u")return;var t=Object.assign||function(l,o){for(var a in o)o.hasOwnProperty(a)&&(l[a]=o[a]);return l};function s(l){this.defaults=t({},l)}function n(l){return l.replace(/-(\w)/g,function(o,a){return a.toUpperCase()})}function i(l){for(var o=0,a=0;a<l.length;++a)l.charCodeAt(a)==" ".charCodeAt(0)&&(o+=3);return l.length+o}var r={"remove-trailing":"boolean","remove-indent":"boolean","left-trim":"boolean","right-trim":"boolean","break-lines":"number",indent:"number","remove-initial-line-feed":"boolean","tabs-to-spaces":"number","spaces-to-tabs":"number"};s.prototype={setDefaults:function(l){this.defaults=t(this.defaults,l)},normalize:function(l,o){o=t(this.defaults,o);for(var a in o){var f=n(a);a!=="normalize"&&f!=="setDefaults"&&o[a]&&this[f]&&(l=this[f].call(this,l,o[a]))}return l},leftTrim:function(l){return l.replace(/^\s+/,"")},rightTrim:function(l){return l.replace(/\s+$/,"")},tabsToSpaces:function(l,o){return o=o|0||4,l.replace(/\t/g,new Array(++o).join(" "))},spacesToTabs:function(l,o){return o=o|0||4,l.replace(RegExp(" {"+o+"}","g")," ")},removeTrailing:function(l){return l.replace(/\s*?$/gm,"")},removeInitialLineFeed:function(l){return l.replace(/^(?:\r?\n|\r)/,"")},removeIndent:function(l){var o=l.match(/^[^\S\n\r]*(?=\S)/gm);return!o||!o[0].length||(o.sort(function(a,f){return a.length-f.length}),!o[0].length)?l:l.replace(RegExp("^"+o[0],"gm"),"")},indent:function(l,o){return l.replace(/^[^\S\n\r]*(?=\S)/gm,new Array(++o).join(" ")+"$&")},breakLines:function(l,o){o=o===!0?80:o|0||80;for(var a=l.split(`
14
+ `),f=0;f<a.length;++f)if(!(i(a[f])<=o)){for(var u=a[f].split(/(\s+)/g),d=0,p=0;p<u.length;++p){var y=i(u[p]);d+=y,d>o&&(u[p]=`
15
+ `+u[p],d=y)}a[f]=u.join("")}return a.join(`
16
+ `)}},e.exports&&(e.exports=s),Prism.plugins.NormalizeWhitespace=new s({"remove-trailing":!0,"remove-indent":!0,"left-trim":!0,"right-trim":!0}),Prism.hooks.add("before-sanity-check",function(l){var o=Prism.plugins.NormalizeWhitespace;if(!(l.settings&&l.settings["whitespace-normalization"]===!1)&&!!Prism.util.isActive(l.element,"whitespace-normalization",!0)){if((!l.element||!l.element.parentNode)&&l.code){l.code=o.normalize(l.code,l.settings);return}var a=l.element.parentNode;if(!(!l.code||!a||a.nodeName.toLowerCase()!=="pre")){l.settings==null&&(l.settings={});for(var f in r)if(Object.hasOwnProperty.call(r,f)){var u=r[f];if(a.hasAttribute("data-"+f))try{var d=JSON.parse(a.getAttribute("data-"+f)||"true");typeof d===u&&(l.settings[f]=d)}catch{}}for(var p=a.childNodes,y="",k="",P=!1,I=0;I<p.length;++I){var O=p[I];O==l.element?P=!0:O.nodeName==="#text"&&(P?k+=O.nodeValue:y+=O.nodeValue,a.removeChild(O),--I)}if(!l.element.children.length||!Prism.plugins.KeepMarkup)l.code=y+l.code+k,l.code=o.normalize(l.code,l.settings);else{var m=y+l.element.innerHTML+k;l.element.innerHTML=o.normalize(m,l.settings),l.code=l.element.textContent}}}})})()})(Sr);const Sc=Sr.exports;(function(){if(typeof Prism>"u"||typeof document>"u")return;var e=[],t={},s=function(){};Prism.plugins.toolbar={};var n=Prism.plugins.toolbar.registerButton=function(l,o){var a;if(typeof o=="function"?a=o:a=function(f){var u;return typeof o.onClick=="function"?(u=document.createElement("button"),u.type="button",u.addEventListener("click",function(){o.onClick.call(this,f)})):typeof o.url=="string"?(u=document.createElement("a"),u.href=o.url):u=document.createElement("span"),o.className&&u.classList.add(o.className),u.textContent=o.text,u},l in t){console.warn('There is a button with the key "'+l+'" registered already.');return}e.push(t[l]=a)};function i(l){for(;l;){var o=l.getAttribute("data-toolbar-order");if(o!=null)return o=o.trim(),o.length?o.split(/\s*,\s*/g):[];l=l.parentElement}}var r=Prism.plugins.toolbar.hook=function(l){var o=l.element.parentNode;if(!(!o||!/pre/i.test(o.nodeName))&&!o.parentNode.classList.contains("code-toolbar")){var a=document.createElement("div");a.classList.add("code-toolbar"),o.parentNode.insertBefore(a,o),a.appendChild(o);var f=document.createElement("div");f.classList.add("toolbar");var u=e,d=i(l.element);d&&(u=d.map(function(p){return t[p]||s})),u.forEach(function(p){var y=p(l);if(!!y){var k=document.createElement("div");k.classList.add("toolbar-item"),k.appendChild(y),f.appendChild(k)}}),a.appendChild(f)}};n("label",function(l){var o=l.element.parentNode;if(!(!o||!/pre/i.test(o.nodeName))&&!!o.hasAttribute("data-label")){var a,f,u=o.getAttribute("data-label");try{f=document.querySelector("template#"+u)}catch{}return f?a=f.content:(o.hasAttribute("data-url")?(a=document.createElement("a"),a.href=o.getAttribute("data-url")):a=document.createElement("span"),a.textContent=u),a}}),Prism.hooks.add("complete",r)})();new Sc({"remove-trailing":!0,"remove-indent":!0,"left-trim":!0,"right-trim":!0});const wn=Xo(_c);wn.use(lc);wn.mixin({updated(){Cc.highlightAll()}});wn.mount("#app");export{Te as F,dc as S,vc as _,Ye as a,wo as b,vo as c,hn as d,pi as e,ls as f,Ql as g,be as h,Lc as i,vl as j,jl as k,Rc as l,gn as o,Tc as r,Dr as t,Rl as w};