slim-select 2.0.1 → 2.0.2

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 (61) hide show
  1. package/dist/{helper.d.ts → helpers.d.ts} +0 -0
  2. package/dist/index.d.ts +0 -6
  3. package/dist/settings.d.ts +1 -1
  4. package/dist/slimselect.cjs.js +1551 -2
  5. package/dist/slimselect.css +1 -1
  6. package/dist/slimselect.css.map +1 -1
  7. package/dist/slimselect.es.js +1549 -2
  8. package/dist/slimselect.global.js +1554 -2
  9. package/dist/slimselect.js +1557 -2
  10. package/dist/slimselect.min.js +1 -0
  11. package/dist/slimselect.umd.js +1557 -2
  12. package/dist/slimselect.umd.min.js +1 -0
  13. package/dist/store.d.ts +5 -5
  14. package/docs/404.html +18 -12
  15. package/docs/assets/home.js +1 -1
  16. package/docs/assets/index.css +1 -1
  17. package/docs/assets/index.js +5 -5
  18. package/docs/assets/index5.js +11 -0
  19. package/docs/assets/install.js +6 -6
  20. package/docs/index.html +20 -2
  21. package/index.html +20 -2
  22. package/package.json +8 -5
  23. package/public/404.html +18 -12
  24. package/src/docs/app.vue +8 -2
  25. package/src/docs/assets/scss/_variables.scss +1 -1
  26. package/src/docs/pages/frameworks/index.vue +18 -0
  27. package/src/docs/pages/frameworks/vue.vue +39 -0
  28. package/src/docs/pages/home.vue +1 -1
  29. package/src/docs/pages/install.vue +27 -6
  30. package/src/docs/router.ts +5 -0
  31. package/src/slim-select/{helper.ts → helpers.ts} +0 -0
  32. package/src/slim-select/index.ts +1 -11
  33. package/src/slim-select/render.ts +1 -1
  34. package/src/slim-select/rollup.config.mjs +112 -30
  35. package/src/slim-select/select.ts +1 -1
  36. package/src/slim-select/settings.ts +1 -1
  37. package/src/slim-select/slimselect.scss +7 -0
  38. package/src/slim-select/store.ts +1 -1
  39. package/src/vue/slimselect.vue +30 -48
  40. package/dist/slimselect.cjs.js.map +0 -1
  41. package/dist/slimselect.es.js.map +0 -1
  42. package/dist/slimselect.global.js.map +0 -1
  43. package/dist/slimselect.js.map +0 -1
  44. package/dist/slimselect.umd.js.map +0 -1
  45. package/docs/images/check-mark.svg +0 -6
  46. package/docs/images/chrome.svg +0 -22
  47. package/docs/images/firefox.svg +0 -58
  48. package/docs/images/github.png +0 -0
  49. package/docs/images/ie.svg +0 -11
  50. package/docs/images/npm.png +0 -0
  51. package/docs/images/opera.svg +0 -15
  52. package/docs/images/safari.svg +0 -22
  53. package/public/images/check-mark.svg +0 -6
  54. package/public/images/chrome.svg +0 -22
  55. package/public/images/firefox.svg +0 -58
  56. package/public/images/github.png +0 -0
  57. package/public/images/ie.svg +0 -11
  58. package/public/images/npm.png +0 -0
  59. package/public/images/opera.svg +0 -15
  60. package/public/images/safari.svg +0 -22
  61. package/public/index.html +0 -28
@@ -1,16 +1,16 @@
1
- var xr=Object.defineProperty;var _r=(e,t,s)=>t in e?xr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var M=(e,t,s)=>(_r(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 Ks(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]}const Cr="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Or=Ks(Cr);function di(e){return!!e||e===""}function Ys(e){if(Y(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],i=de(n)?Rr(n):Ys(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 Sr=/;(?![^(]*\))/g,Tr=/:(.+)/;function Rr(e){const t={};return e.split(Sr).forEach(s=>{if(s){const n=s.split(Tr);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function qs(e){let t="";if(de(e))t=e;else if(Y(e))for(let s=0;s<e.length;s++){const n=qs(e[s]);n&&(t+=n+" ")}else if(ae(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const Pr=e=>de(e)?e:e==null?"":Y(e)||ae(e)&&(e.toString===vi||!q(e.toString))?JSON.stringify(e,pi,2):String(e),pi=(e,t)=>t&&t.__v_isRef?pi(e,t.value):wt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,i])=>(s[`${n} =>`]=i,s),{})}:gi(t)?{[`Set(${t.size})`]:[...t.values()]}:ae(t)&&!Y(t)&&!bi(t)?String(t):t,le={},yt=[],Le=()=>{},Lr=()=>!1,Fr=/^on[^a-z]/,hs=e=>Fr.test(e),Qs=e=>e.startsWith("onUpdate:"),Ae=Object.assign,Gs=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},kr=Object.prototype.hasOwnProperty,J=(e,t)=>kr.call(e,t),Y=Array.isArray,wt=e=>ds(e)==="[object Map]",gi=e=>ds(e)==="[object Set]",q=e=>typeof e=="function",de=e=>typeof e=="string",Js=e=>typeof e=="symbol",ae=e=>e!==null&&typeof e=="object",mi=e=>ae(e)&&q(e.then)&&q(e.catch),vi=Object.prototype.toString,ds=e=>vi.call(e),Dr=e=>ds(e).slice(8,-1),bi=e=>ds(e)==="[object Object]",Zs=e=>de(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Zt=Ks(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ps=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},Ir=/-(\w)/g,je=ps(e=>e.replace(Ir,(t,s)=>s?s.toUpperCase():"")),Mr=/\B([A-Z])/g,Rt=ps(e=>e.replace(Mr,"-$1").toLowerCase()),gs=ps(e=>e.charAt(0).toUpperCase()+e.slice(1)),xs=ps(e=>e?`on${gs(e)}`:""),Ht=(e,t)=>!Object.is(e,t),_s=(e,t)=>{for(let s=0;s<e.length;s++)e[s](t)},rs=(e,t,s)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:s})},Nr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let An;const Br=()=>An||(An=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Ne;class Hr{constructor(t=!1){this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Ne,!t&&Ne&&(this.index=(Ne.scopes||(Ne.scopes=[])).push(this)-1)}run(t){if(this.active){const s=Ne;try{return Ne=this,t()}finally{Ne=s}}}on(){Ne=this}off(){Ne=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 Ur(e,t=Ne){t&&t.active&&t.effects.push(e)}const Xs=e=>{const t=new Set(e);return t.w=0,t.n=0,t},yi=e=>(e.w&it)>0,wi=e=>(e.n&it)>0,$r=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=it},jr=e=>{const{deps:t}=e;if(t.length){let s=0;for(let n=0;n<t.length;n++){const i=t[n];yi(i)&&!wi(i)?i.delete(e):t[s++]=i,i.w&=~it,i.n&=~it}t.length=s}},Ls=new WeakMap;let It=0,it=1;const Fs=30;let Re;const ht=Symbol(""),ks=Symbol("");class en{constructor(t,s=null,n){this.fn=t,this.scheduler=s,this.active=!0,this.deps=[],this.parent=void 0,Ur(this,n)}run(){if(!this.active)return this.fn();let t=Re,s=tt;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Re,Re=this,tt=!0,it=1<<++It,It<=Fs?$r(this):En(this),this.fn()}finally{It<=Fs&&jr(this),it=1<<--It,Re=this.parent,tt=s,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Re===this?this.deferStop=!0:this.active&&(En(this),this.onStop&&this.onStop(),this.active=!1)}}function En(e){const{deps:t}=e;if(t.length){for(let s=0;s<t.length;s++)t[s].delete(e);t.length=0}}let tt=!0;const Ai=[];function Pt(){Ai.push(tt),tt=!1}function Lt(){const e=Ai.pop();tt=e===void 0?!0:e}function Oe(e,t,s){if(tt&&Re){let n=Ls.get(e);n||Ls.set(e,n=new Map);let i=n.get(s);i||n.set(s,i=Xs()),Ei(i)}}function Ei(e,t){let s=!1;It<=Fs?wi(e)||(e.n|=it,s=!yi(e)):s=!e.has(Re),s&&(e.add(Re),Re.deps.push(e))}function qe(e,t,s,n,i,r){const l=Ls.get(e);if(!l)return;let o=[];if(t==="clear")o=[...l.values()];else if(s==="length"&&Y(e))l.forEach((a,u)=>{(u==="length"||u>=n)&&o.push(a)});else switch(s!==void 0&&o.push(l.get(s)),t){case"add":Y(e)?Zs(s)&&o.push(l.get("length")):(o.push(l.get(ht)),wt(e)&&o.push(l.get(ks)));break;case"delete":Y(e)||(o.push(l.get(ht)),wt(e)&&o.push(l.get(ks)));break;case"set":wt(e)&&o.push(l.get(ht));break}if(o.length===1)o[0]&&Ds(o[0]);else{const a=[];for(const u of o)u&&a.push(...u);Ds(Xs(a))}}function Ds(e,t){const s=Y(e)?e:[...e];for(const n of s)n.computed&&xn(n);for(const n of s)n.computed||xn(n)}function xn(e,t){(e!==Re||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const zr=Ks("__proto__,__v_isRef,__isVue"),xi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Js)),Vr=tn(),Wr=tn(!1,!0),Kr=tn(!0),_n=Yr();function Yr(){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 tn(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?cl:Ti:t?Si:Oi).get(n))return n;const l=Y(n);if(!e&&l&&J(_n,i))return Reflect.get(_n,i,r);const o=Reflect.get(n,i,r);return(Js(i)?xi.has(i):zr(i))||(e||Oe(n,"get",i),t)?o:ve(o)?l&&Zs(i)?o:o.value:ae(o)?e?Ri(o):Kt(o):o}}const qr=_i(),Qr=_i(!0);function _i(e=!1){return function(s,n,i,r){let l=s[n];if(_t(l)&&ve(l)&&!ve(i))return!1;if(!e&&(!ls(i)&&!_t(i)&&(l=X(l),i=X(i)),!Y(s)&&ve(l)&&!ve(i)))return l.value=i,!0;const o=Y(s)&&Zs(n)?Number(n)<s.length:J(s,n),a=Reflect.set(s,n,i,r);return s===X(r)&&(o?Ht(i,l)&&qe(s,"set",n,i):qe(s,"add",n,i)),a}}function Gr(e,t){const s=J(e,t);e[t];const n=Reflect.deleteProperty(e,t);return n&&s&&qe(e,"delete",t,void 0),n}function Jr(e,t){const s=Reflect.has(e,t);return(!Js(t)||!xi.has(t))&&Oe(e,"has",t),s}function Zr(e){return Oe(e,"iterate",Y(e)?"length":ht),Reflect.ownKeys(e)}const Ci={get:Vr,set:qr,deleteProperty:Gr,has:Jr,ownKeys:Zr},Xr={get:Kr,set(e,t){return!0},deleteProperty(e,t){return!0}},el=Ae({},Ci,{get:Wr,set:Qr}),sn=e=>e,ms=e=>Reflect.getPrototypeOf(e);function Yt(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}=ms(i),o=n?sn:s?ln:Ut;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 qt(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 Qt(e,t=!1){return e=e.__v_raw,!t&&Oe(X(e),"iterate",ht),Reflect.get(e,"size",e)}function Cn(e){e=X(e);const t=X(this);return ms(t).has.call(t,e)||(t.add(e),qe(t,"add",e,e)),this}function On(e,t){t=X(t);const s=X(this),{has:n,get:i}=ms(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?Ht(t,l)&&qe(s,"set",e,t):qe(s,"add",e,t),this}function Sn(e){const t=X(this),{has:s,get:n}=ms(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 Tn(){const e=X(this),t=e.size!==0,s=e.clear();return t&&qe(e,"clear",void 0,void 0),s}function Gt(e,t){return function(n,i){const r=this,l=r.__v_raw,o=X(l),a=t?sn:e?ln:Ut;return!e&&Oe(o,"iterate",ht),l.forEach((u,f)=>n.call(i,a(u),a(f),r))}}function Jt(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?sn:t?ln:Ut;return!t&&Oe(r,"iterate",a?ks:ht),{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 Je(e){return function(...t){return e==="delete"?!1:this}}function tl(){const e={get(r){return Yt(this,r)},get size(){return Qt(this)},has:qt,add:Cn,set:On,delete:Sn,clear:Tn,forEach:Gt(!1,!1)},t={get(r){return Yt(this,r,!1,!0)},get size(){return Qt(this)},has:qt,add:Cn,set:On,delete:Sn,clear:Tn,forEach:Gt(!1,!0)},s={get(r){return Yt(this,r,!0)},get size(){return Qt(this,!0)},has(r){return qt.call(this,r,!0)},add:Je("add"),set:Je("set"),delete:Je("delete"),clear:Je("clear"),forEach:Gt(!0,!1)},n={get(r){return Yt(this,r,!0,!0)},get size(){return Qt(this,!0)},has(r){return qt.call(this,r,!0)},add:Je("add"),set:Je("set"),delete:Je("delete"),clear:Je("clear"),forEach:Gt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=Jt(r,!1,!1),s[r]=Jt(r,!0,!1),t[r]=Jt(r,!1,!0),n[r]=Jt(r,!0,!0)}),[e,s,t,n]}const[sl,nl,il,rl]=tl();function nn(e,t){const s=t?e?rl:il:e?nl:sl;return(n,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(J(s,i)&&i in n?s:n,i,r)}const ll={get:nn(!1,!1)},ol={get:nn(!1,!0)},al={get:nn(!0,!1)},Oi=new WeakMap,Si=new WeakMap,Ti=new WeakMap,cl=new WeakMap;function ul(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function fl(e){return e.__v_skip||!Object.isExtensible(e)?0:ul(Dr(e))}function Kt(e){return _t(e)?e:rn(e,!1,Ci,ll,Oi)}function hl(e){return rn(e,!1,el,ol,Si)}function Ri(e){return rn(e,!0,Xr,al,Ti)}function rn(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=fl(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 ls(e){return!!(e&&e.__v_isShallow)}function Pi(e){return At(e)||_t(e)}function X(e){const t=e&&e.__v_raw;return t?X(t):e}function Li(e){return rs(e,"__v_skip",!0),e}const Ut=e=>ae(e)?Kt(e):e,ln=e=>ae(e)?Ri(e):e;function Fi(e){tt&&Re&&(e=X(e),Ei(e.dep||(e.dep=Xs())))}function ki(e,t){e=X(e),e.dep&&Ds(e.dep)}function ve(e){return!!(e&&e.__v_isRef===!0)}function dl(e){return Di(e,!1)}function pl(e){return Di(e,!0)}function Di(e,t){return ve(e)?e:new gl(e,t)}class gl{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:Ut(t)}get value(){return Fi(this),this._value}set value(t){const s=this.__v_isShallow||ls(t)||_t(t);t=s?t:X(t),Ht(t,this._rawValue)&&(this._rawValue=t,this._value=s?t:Ut(t),ki(this))}}function Et(e){return ve(e)?e.value:e}const ml={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 Ii(e){return At(e)?e:new Proxy(e,ml)}var Mi;class vl{constructor(t,s,n,i){this._setter=s,this.dep=void 0,this.__v_isRef=!0,this[Mi]=!1,this._dirty=!0,this.effect=new en(t,()=>{this._dirty||(this._dirty=!0,ki(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const t=X(this);return Fi(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}Mi="__v_isReadonly";function bl(e,t,s=!1){let n,i;const r=q(e);return r?(n=e,i=Le):(n=e.get,i=e.set),new vl(n,i,r||!i,s)}function st(e,t,s,n){let i;try{i=n?e(...n):e()}catch(r){vs(r,t,s)}return i}function Fe(e,t,s,n){if(q(e)){const r=st(e,t,s,n);return r&&mi(r)&&r.catch(l=>{vs(l,t,s)}),r}const i=[];for(let r=0;r<e.length;r++)i.push(Fe(e[r],t,s,n));return i}function vs(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){st(a,null,10,[e,l,o]);return}}yl(e,s,i,n)}function yl(e,t,s,n=!0){console.error(e)}let $t=!1,Is=!1;const me=[];let Ue=0;const xt=[];let We=null,ut=0;const Ni=Promise.resolve();let on=null;function Bi(e){const t=on||Ni;return e?t.then(this?e.bind(this):e):t}function wl(e){let t=Ue+1,s=me.length;for(;t<s;){const n=t+s>>>1;jt(me[n])<e?t=n+1:s=n}return t}function an(e){(!me.length||!me.includes(e,$t&&e.allowRecurse?Ue+1:Ue))&&(e.id==null?me.push(e):me.splice(wl(e.id),0,e),Hi())}function Hi(){!$t&&!Is&&(Is=!0,on=Ni.then($i))}function Al(e){const t=me.indexOf(e);t>Ue&&me.splice(t,1)}function El(e){Y(e)?xt.push(...e):(!We||!We.includes(e,e.allowRecurse?ut+1:ut))&&xt.push(e),Hi()}function Rn(e,t=$t?Ue+1:0){for(;t<me.length;t++){const s=me[t];s&&s.pre&&(me.splice(t,1),t--,s())}}function Ui(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)=>jt(s)-jt(n)),ut=0;ut<We.length;ut++)We[ut]();We=null,ut=0}}const jt=e=>e.id==null?1/0:e.id,xl=(e,t)=>{const s=jt(e)-jt(t);if(s===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return s};function $i(e){Is=!1,$t=!0,me.sort(xl);const t=Le;try{for(Ue=0;Ue<me.length;Ue++){const s=me[Ue];s&&s.active!==!1&&st(s,null,14)}}finally{Ue=0,me.length=0,Ui(),$t=!1,on=null,(me.length||xt.length)&&$i()}}function _l(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||le;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]||le;p&&(i=s.map(w=>w.trim())),d&&(i=s.map(Nr))}let o,a=n[o=xs(t)]||n[o=xs(je(t))];!a&&r&&(a=n[o=xs(Rt(t))]),a&&Fe(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,Fe(u,e,6,i)}}function ji(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=ji(u,t,!0);f&&(o=!0,Ae(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):Ae(l,r),ae(e)&&n.set(e,l),l)}function bs(e,t){return!e||!hs(t)?!1:(t=t.slice(2).replace(/Once$/,""),J(e,t[0].toLowerCase()+t.slice(1))||J(e,Rt(t))||J(e,t))}let $e=null,zi=null;function os(e){const t=$e;return $e=e,zi=e&&e.type.__scopeId||null,t}function Cl(e,t=$e,s){if(!t||e._n)return e;const n=(...i)=>{n._d&&Hn(-1);const r=os(t);let l;try{l=e(...i)}finally{os(r),n._d&&Hn(1)}return l};return n._n=!0,n._c=!0,n._d=!0,n}function Cs(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:k}=e;let L,_;const g=os(e);try{if(s.shapeFlag&4){const A=i||n;L=He(f.call(A,A,d,r,w,p,F)),_=a}else{const A=t;L=He(A.length>1?A(r,{attrs:a,slots:o,emit:u}):A(r,null)),_=t.props?a:Ol(a)}}catch(A){Mt.length=0,vs(A,e,1),L=we(pt)}let m=L;if(_&&k!==!1){const A=Object.keys(_),{shapeFlag:C}=m;A.length&&C&7&&(l&&A.some(Qs)&&(_=Sl(_,l)),m=Ct(m,_))}return s.dirs&&(m=Ct(m),m.dirs=m.dirs?m.dirs.concat(s.dirs):s.dirs),s.transition&&(m.transition=s.transition),L=m,os(g),L}const Ol=e=>{let t;for(const s in e)(s==="class"||s==="style"||hs(s))&&((t||(t={}))[s]=e[s]);return t},Sl=(e,t)=>{const s={};for(const n in e)(!Qs(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function Tl(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?Pn(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]&&!bs(u,p))return!0}}}else return(i||o)&&(!o||!o.$stable)?!0:n===l?!1:n?l?Pn(n,l,u):!0:!!l;return!1}function Pn(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]&&!bs(s,r))return!0}return!1}function Rl({vnode:e,parent:t},s){for(;t&&t.subTree===e;)(e=t.vnode).el=s,t=t.parent}const Pl=e=>e.__isSuspense;function Ll(e,t){t&&t.pendingBranch?Y(e)?t.effects.push(...e):t.effects.push(e):El(e)}function Xt(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 nt(e,t,s=!1){const n=pe||$e;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 Ln={};function es(e,t,s){return Vi(e,t,s)}function Vi(e,t,{immediate:s,deep:n,flush:i,onTrack:r,onTrigger:l}=le){const o=pe;let a,u=!1,f=!1;if(ve(e)?(a=()=>e.value,u=ls(e)):At(e)?(a=()=>e,n=!0):Y(e)?(f=!0,u=e.some(_=>At(_)||ls(_)),a=()=>e.map(_=>{if(ve(_))return _.value;if(At(_))return bt(_);if(q(_))return st(_,o,2)})):q(e)?t?a=()=>st(e,o,2):a=()=>{if(!(o&&o.isUnmounted))return d&&d(),Fe(e,o,3,[p])}:a=Le,t&&n){const _=a;a=()=>bt(_())}let d,p=_=>{d=L.onStop=()=>{st(_,o,4)}};if(Vt)return p=Le,t?s&&Fe(t,o,3,[a(),f?[]:void 0,p]):a(),Le;let w=f?[]:Ln;const F=()=>{if(!!L.active)if(t){const _=L.run();(n||u||(f?_.some((g,m)=>Ht(g,w[m])):Ht(_,w)))&&(d&&d(),Fe(t,o,3,[_,w===Ln?void 0:w,p]),w=_)}else L.run()};F.allowRecurse=!!t;let k;i==="sync"?k=F:i==="post"?k=()=>xe(F,o&&o.suspense):(F.pre=!0,o&&(F.id=o.uid),k=()=>an(F));const L=new en(a,k);return t?s?F():w=L.run():i==="post"?xe(L.run.bind(L),o&&o.suspense):L.run(),()=>{L.stop(),o&&o.scope&&Gs(o.scope.effects,L)}}function Fl(e,t,s){const n=this.proxy,i=de(e)?e.includes(".")?Wi(n,e):()=>n[e]:e.bind(n,n);let r;q(t)?r=t:(r=t.handler,s=t);const l=pe;Ot(this);const o=Vi(i,r.bind(n),s);return l?Ot(l):dt(),o}function Wi(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(gi(e)||wt(e))e.forEach(s=>{bt(s,t)});else if(bi(e))for(const s in e)bt(e[s],t);return e}function cn(e){return q(e)?{setup:e,name:e.name}:e}const ts=e=>!!e.type.__asyncLoader,Ki=e=>e.type.__isKeepAlive;function kl(e,t){Yi(e,"a",t)}function Dl(e,t){Yi(e,"da",t)}function Yi(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(ys(t,n,s),s){let i=s.parent;for(;i&&i.parent;)Ki(i.parent.vnode)&&Il(n,t,s,i),i=i.parent}}function Il(e,t,s,n){const i=ys(t,e,n,!0);qi(()=>{Gs(n[t],i)},s)}function ys(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(),Ot(s);const o=Fe(t,s,e,l);return dt(),Lt(),o});return n?i.unshift(r):i.push(r),r}}const Qe=e=>(t,s=pe)=>(!Vt||e==="sp")&&ys(e,(...n)=>t(...n),s),Ml=Qe("bm"),Nl=Qe("m"),Bl=Qe("bu"),Hl=Qe("u"),Ul=Qe("bum"),qi=Qe("um"),$l=Qe("sp"),jl=Qe("rtg"),zl=Qe("rtc");function Vl(e,t=pe){ys("ec",e,t)}function lt(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(),Fe(a,s,8,[e.el,o,e,t]),Lt())}}const Qi="components";function Wl(e,t){return Yl(Qi,e,!0,t)||e}const Kl=Symbol();function Yl(e,t,s=!0,n=!1){const i=$e||pe;if(i){const r=i.type;if(e===Qi){const o=Oo(r,!1);if(o&&(o===t||o===je(t)||o===gs(je(t))))return r}const l=Fn(i[e]||r[e],t)||Fn(i.appContext[e],t);return!l&&n?r:l}}function Fn(e,t){return e&&(e[t]||e[je(t)]||e[gs(je(t))])}function xc(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}const Ms=e=>e?or(e)?pn(e)||e.proxy:Ms(e.parent):null,as=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=>Ms(e.parent),$root:e=>Ms(e.root),$emit:e=>e.emit,$options:e=>un(e),$forceUpdate:e=>e.f||(e.f=()=>an(e.update)),$nextTick:e=>e.n||(e.n=Bi.bind(e.proxy)),$watch:e=>Fl.bind(e)}),ql={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(n!==le&&J(n,t))return l[t]=1,n[t];if(i!==le&&J(i,t))return l[t]=2,i[t];if((u=e.propsOptions[0])&&J(u,t))return l[t]=3,r[t];if(s!==le&&J(s,t))return l[t]=4,s[t];Ns&&(l[t]=0)}}const f=as[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!==le&&J(s,t))return l[t]=4,s[t];if(p=a.config.globalProperties,J(p,t))return p[t]},set({_:e},t,s){const{data:n,setupState:i,ctx:r}=e;return i!==le&&J(i,t)?(i[t]=s,!0):n!==le&&J(n,t)?(n[t]=s,!0):J(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!==le&&J(e,l)||t!==le&&J(t,l)||(o=r[0])&&J(o,l)||J(n,l)||J(as,l)||J(i.config.globalProperties,l)},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:J(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};let Ns=!0;function Ql(e){const t=un(e),s=e.proxy,n=e.ctx;Ns=!1,t.beforeCreate&&kn(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:k,deactivated:L,beforeDestroy:_,beforeUnmount:g,destroyed:m,unmounted:A,render:C,renderTracked:O,renderTriggered:N,errorCaptured:W,serverPrefetch:H,expose:Z,inheritAttrs:oe,components:he,directives:ze,filters:De}=t;if(u&&Gl(u,n,null,e.appContext.config.unwrapInjectedRef),l)for(const ee in l){const z=l[ee];q(z)&&(n[ee]=z.bind(s))}if(i){const ee=i.call(s,s);ae(ee)&&(e.data=Kt(ee))}if(Ns=!0,r)for(const ee in r){const z=r[ee],ue=q(z)?z.bind(s,s):q(z.get)?z.get.bind(s,s):Le,Ee=!q(z)&&q(z.set)?z.set.bind(s):Le,ge=Se({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)Gi(o[ee],n,s,ee);if(a){const ee=q(a)?a.call(s):a;Reflect.ownKeys(ee).forEach(z=>{Xt(z,ee[z])})}f&&kn(f,e,"c");function ce(ee,z){Y(z)?z.forEach(ue=>ee(ue.bind(s))):z&&ee(z.bind(s))}if(ce(Ml,d),ce(Nl,p),ce(Bl,w),ce(Hl,F),ce(kl,k),ce(Dl,L),ce(Vl,W),ce(zl,O),ce(jl,N),ce(Ul,g),ce(qi,A),ce($l,H),Y(Z))if(Z.length){const ee=e.exposed||(e.exposed={});Z.forEach(z=>{Object.defineProperty(ee,z,{get:()=>s[z],set:ue=>s[z]=ue})})}else e.exposed||(e.exposed={});C&&e.render===Le&&(e.render=C),oe!=null&&(e.inheritAttrs=oe),he&&(e.components=he),ze&&(e.directives=ze)}function Gl(e,t,s=Le,n=!1){Y(e)&&(e=Bs(e));for(const i in e){const r=e[i];let l;ae(r)?"default"in r?l=nt(r.from||i,r.default,!0):l=nt(r.from||i):l=nt(r),ve(l)&&n?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>l.value,set:o=>l.value=o}):t[i]=l}}function kn(e,t,s){Fe(Y(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function Gi(e,t,s,n){const i=n.includes(".")?Wi(s,n):()=>s[n];if(de(e)){const r=t[e];q(r)&&es(i,r)}else if(q(e))es(i,e.bind(s));else if(ae(e))if(Y(e))e.forEach(r=>Gi(r,t,s,n));else{const r=q(e.handler)?e.handler.bind(s):t[e.handler];q(r)&&es(i,r,e)}}function un(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=>cs(a,u,l,!0)),cs(a,t,l)),ae(t)&&r.set(t,a),a}function cs(e,t,s,n=!1){const{mixins:i,extends:r}=t;r&&cs(e,r,s,!0),i&&i.forEach(l=>cs(e,l,s,!0));for(const l in t)if(!(n&&l==="expose")){const o=Jl[l]||s&&s[l];e[l]=o?o(e[l],t[l]):t[l]}return e}const Jl={data:Dn,props:ct,emits:ct,methods:ct,computed:ct,beforeCreate:be,created:be,beforeMount:be,mounted:be,beforeUpdate:be,updated:be,beforeDestroy:be,beforeUnmount:be,destroyed:be,unmounted:be,activated:be,deactivated:be,errorCaptured:be,serverPrefetch:be,components:ct,directives:ct,watch:Xl,provide:Dn,inject:Zl};function Dn(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 Zl(e,t){return ct(Bs(e),Bs(t))}function Bs(e){if(Y(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function be(e,t){return e?[...new Set([].concat(e,t))]:t}function ct(e,t){return e?Ae(Ae(Object.create(null),e),t):t}function Xl(e,t){if(!e)return t;if(!t)return e;const s=Ae(Object.create(null),e);for(const n in t)s[n]=be(e[n],t[n]);return s}function eo(e,t,s,n=!1){const i={},r={};rs(r,ws,1),e.propsDefaults=Object.create(null),Ji(e,t,i,r);for(const l in e.propsOptions[0])l in i||(i[l]=void 0);s?e.props=n?i:hl(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function to(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(bs(e.emitsOptions,p))continue;const w=t[p];if(a)if(J(r,p))w!==r[p]&&(r[p]=w,u=!0);else{const F=je(p);i[F]=Hs(a,o,F,w,e,!1)}else w!==r[p]&&(r[p]=w,u=!0)}}}else{Ji(e,t,i,r)&&(u=!0);let f;for(const d in o)(!t||!J(t,d)&&((f=Rt(d))===d||!J(t,f)))&&(a?s&&(s[d]!==void 0||s[f]!==void 0)&&(i[d]=Hs(a,o,d,void 0,e,!0)):delete i[d]);if(r!==o)for(const d in r)(!t||!J(t,d)&&!0)&&(delete r[d],u=!0)}u&&qe(e,"set","$attrs")}function Ji(e,t,s,n){const[i,r]=e.propsOptions;let l=!1,o;if(t)for(let a in t){if(Zt(a))continue;const u=t[a];let f;i&&J(i,f=je(a))?!r||!r.includes(f)?s[f]=u:(o||(o={}))[f]=u:bs(e.emitsOptions,a)||(!(a in n)||u!==n[a])&&(n[a]=u,l=!0)}if(r){const a=X(s),u=o||le;for(let f=0;f<r.length;f++){const d=r[f];s[d]=Hs(i,a,d,u[d],e,!J(u,d))}}return l}function Hs(e,t,s,n,i,r){const l=e[s];if(l!=null){const o=J(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]:(Ot(i),n=u[s]=a.call(null,t),dt())}else n=a}l[0]&&(r&&!o?n=!1:l[1]&&(n===""||n===Rt(s))&&(n=!0))}return n}function Zi(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]=Zi(d,t,!0);Ae(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=je(r[f]);In(d)&&(l[d]=le)}else if(r)for(const f in r){const d=je(f);if(In(d)){const p=r[f],w=l[d]=Y(p)||q(p)?{type:p}:p;if(w){const F=Bn(Boolean,w.type),k=Bn(String,w.type);w[0]=F>-1,w[1]=k<0||F<k,(F>-1||J(w,"default"))&&o.push(d)}}}const u=[l,o];return ae(e)&&n.set(e,u),u}function In(e){return e[0]!=="$"}function Mn(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Nn(e,t){return Mn(e)===Mn(t)}function Bn(e,t){return Y(t)?t.findIndex(s=>Nn(s,e)):q(t)&&Nn(t,e)?0:-1}const Xi=e=>e[0]==="_"||e==="$stable",fn=e=>Y(e)?e.map(He):[He(e)],so=(e,t,s)=>{if(t._n)return t;const n=Cl((...i)=>fn(t(...i)),s);return n._c=!1,n},er=(e,t,s)=>{const n=e._ctx;for(const i in e){if(Xi(i))continue;const r=e[i];if(q(r))t[i]=so(i,r,n);else if(r!=null){const l=fn(r);t[i]=()=>l}}},tr=(e,t)=>{const s=fn(t);e.slots.default=()=>s},no=(e,t)=>{if(e.vnode.shapeFlag&32){const s=t._;s?(e.slots=X(t),rs(t,"_",s)):er(t,e.slots={})}else e.slots={},t&&tr(e,t);rs(e.slots,ws,1)},io=(e,t,s)=>{const{vnode:n,slots:i}=e;let r=!0,l=le;if(n.shapeFlag&32){const o=t._;o?s&&o===1?r=!1:(Ae(i,t),!s&&o===1&&delete i._):(r=!t.$stable,er(t,i)),l=t}else t&&(tr(e,t),l={default:1});if(r)for(const o in i)!Xi(o)&&!(o in l)&&delete i[o]};function sr(){return{app:null,config:{isNativeTag:Lr,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 ro=0;function lo(e,t){return function(n,i=null){q(n)||(n=Object.assign({},n)),i!=null&&!ae(i)&&(i=null);const r=sr(),l=new Set;let o=!1;const a=r.app={_uid:ro++,_component:n,_props:i,_container:null,_context:r,_instance:null,version:To,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=we(n,i);return p.appContext=r,f&&t?t(p,u):e(p,u,d),o=!0,a._container=u,u.__vue_app__=a,pn(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 Us(e,t,s,n,i=!1){if(Y(e)){e.forEach((p,w)=>Us(p,t&&(Y(t)?t[w]:t),s,n,i));return}if(ts(n)&&!i)return;const r=n.shapeFlag&4?pn(n.component)||n.component.proxy:n.el,l=i?null:r,{i:o,r:a}=e,u=t&&t.r,f=o.refs===le?o.refs={}:o.refs,d=o.setupState;if(u!=null&&u!==a&&(de(u)?(f[u]=null,J(d,u)&&(d[u]=null)):ve(u)&&(u.value=null)),q(a))st(a,o,12,[l,f]);else{const p=de(a),w=ve(a);if(p||w){const F=()=>{if(e.f){const k=p?J(d,a)?d[a]:f[a]:a.value;i?Y(k)&&Gs(k,r):Y(k)?k.includes(r)||k.push(r):p?(f[a]=[r],J(d,a)&&(d[a]=f[a])):(a.value=[r],e.k&&(f[e.k]=a.value))}else p?(f[a]=l,J(d,a)&&(d[a]=l)):w&&(a.value=l,e.k&&(f[e.k]=l))};l?(F.id=-1,xe(F,s)):F()}}}const xe=Ll;function oo(e){return ao(e)}function ao(e,t){const s=Br();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=Le,insertStaticContent:F}=e,k=(c,h,v,b=null,E=null,T=null,I=!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:$,shapeFlag:B}=h;switch(x){case hn:L(c,h,v,b);break;case pt:_(c,h,v,b);break;case ss:c==null&&g(h,v,b,I);break;case Be:he(c,h,v,b,E,T,I,S,P);break;default:B&1?C(c,h,v,b,E,T,I,S,P):B&6?ze(c,h,v,b,E,T,I,S,P):(B&64||B&128)&&x.process(c,h,v,b,E,T,I,S,P,Q)}$!=null&&E&&Us($,c&&c.ref,T,h||c,!h)},L=(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)}},_=(c,h,v,b)=>{c==null?n(h.el=a(h.children||""),v,b):h.el=c.el},g=(c,h,v,b)=>{[c.el,c.anchor]=F(c.children,h,v,b,c.el,c.anchor)},m=({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=(c,h,v,b,E,T,I,S,P)=>{I=I||h.type==="svg",c==null?O(h,v,b,E,T,I,S,P):H(c,h,E,T,I,S,P)},O=(c,h,v,b,E,T,I,S)=>{let P,x;const{type:$,props:B,shapeFlag:j,transition:V,dirs:G}=c;if(P=c.el=l(c.type,T,B&&B.is,B),j&8?f(P,c.children):j&16&&W(c.children,P,null,b,E,T&&$!=="foreignObject",I,S),G&&lt(c,null,b,"created"),B){for(const se in B)se!=="value"&&!Zt(se)&&r(P,se,null,B[se],T,c.children,b,E,D);"value"in B&&r(P,"value",null,B.value),(x=B.onVnodeBeforeMount)&&Me(x,b,c)}N(P,c,c.scopeId,I,b),G&&lt(c,null,b,"beforeMount");const re=(!E||E&&!E.pendingBranch)&&V&&!V.persisted;re&&V.beforeEnter(P),n(P,h,v),((x=B&&B.onVnodeMounted)||re||G)&&xe(()=>{x&&Me(x,b,c),re&&V.enter(P),G&&lt(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 I=E.vnode;N(c,I,I.scopeId,I.slotScopeIds,E.parent)}}},W=(c,h,v,b,E,T,I,S,P=0)=>{for(let x=P;x<c.length;x++){const $=c[x]=S?Xe(c[x]):He(c[x]);k(null,$,h,v,b,E,T,I,S)}},H=(c,h,v,b,E,T,I)=>{const S=h.el=c.el;let{patchFlag:P,dynamicChildren:x,dirs:$}=h;P|=c.patchFlag&16;const B=c.props||le,j=h.props||le;let V;v&&ot(v,!1),(V=j.onVnodeBeforeUpdate)&&Me(V,v,h,c),$&&lt(h,c,v,"beforeUpdate"),v&&ot(v,!0);const G=E&&h.type!=="foreignObject";if(x?Z(c.dynamicChildren,x,S,v,b,G,T):I||z(c,h,S,null,v,b,G,T,!1),P>0){if(P&16)oe(S,h,B,j,v,b,E);else if(P&2&&B.class!==j.class&&r(S,"class",null,j.class,E),P&4&&r(S,"style",B.style,j.style,E),P&8){const re=h.dynamicProps;for(let se=0;se<re.length;se++){const fe=re[se],Te=B[fe],gt=j[fe];(gt!==Te||fe==="value")&&r(S,fe,Te,gt,E,c.children,v,b,D)}}P&1&&c.children!==h.children&&f(S,h.children)}else!I&&x==null&&oe(S,h,B,j,v,b,E);((V=j.onVnodeUpdated)||$)&&xe(()=>{V&&Me(V,v,h,c),$&&lt(h,c,v,"updated")},b)},Z=(c,h,v,b,E,T,I)=>{for(let S=0;S<h.length;S++){const P=c[S],x=h[S],$=P.el&&(P.type===Be||!kt(P,x)||P.shapeFlag&70)?d(P.el):v;k(P,x,$,null,b,E,T,I,!0)}},oe=(c,h,v,b,E,T,I)=>{if(v!==b){if(v!==le)for(const S in v)!Zt(S)&&!(S in b)&&r(c,S,v[S],null,I,h.children,E,T,D);for(const S in b){if(Zt(S))continue;const P=b[S],x=v[S];P!==x&&S!=="value"&&r(c,S,x,P,I,h.children,E,T,D)}"value"in b&&r(c,"value",v.value,b.value)}},he=(c,h,v,b,E,T,I,S,P)=>{const x=h.el=c?c.el:o(""),$=h.anchor=c?c.anchor:o("");let{patchFlag:B,dynamicChildren:j,slotScopeIds:V}=h;V&&(S=S?S.concat(V):V),c==null?(n(x,v,b),n($,v,b),W(h.children,v,$,E,T,I,S,P)):B>0&&B&64&&j&&c.dynamicChildren?(Z(c.dynamicChildren,j,v,E,T,I,S),(h.key!=null||E&&h===E.subTree)&&nr(c,h,!0)):z(c,h,v,$,E,T,I,S,P)},ze=(c,h,v,b,E,T,I,S,P)=>{h.slotScopeIds=S,c==null?h.shapeFlag&512?E.ctx.activate(h,v,b,I,P):De(h,v,b,E,T,I,P):rt(c,h,P)},De=(c,h,v,b,E,T,I)=>{const S=c.component=Ao(c,b,E);if(Ki(c)&&(S.ctx.renderer=Q),Eo(S),S.asyncDep){if(E&&E.registerDep(S,ce),!c.el){const P=S.subTree=we(pt);_(null,P,h,v)}return}ce(S,c,h,v,E,T,I)},rt=(c,h,v)=>{const b=h.component=c.component;if(Tl(c,h,v))if(b.asyncDep&&!b.asyncResolved){ee(b,h,v);return}else b.next=h,Al(b.update),b.update();else h.el=c.el,b.vnode=h},ce=(c,h,v,b,E,T,I)=>{const S=()=>{if(c.isMounted){let{next:$,bu:B,u:j,parent:V,vnode:G}=c,re=$,se;ot(c,!1),$?($.el=G.el,ee(c,$,I)):$=G,B&&_s(B),(se=$.props&&$.props.onVnodeBeforeUpdate)&&Me(se,V,$,G),ot(c,!0);const fe=Cs(c),Te=c.subTree;c.subTree=fe,k(Te,fe,d(Te.el),R(Te),c,E,T),$.el=fe.el,re===null&&Rl(c,fe.el),j&&xe(j,E),(se=$.props&&$.props.onVnodeUpdated)&&xe(()=>Me(se,V,$,G),E)}else{let $;const{el:B,props:j}=h,{bm:V,m:G,parent:re}=c,se=ts(h);if(ot(c,!1),V&&_s(V),!se&&($=j&&j.onVnodeBeforeMount)&&Me($,re,h),ot(c,!0),B&&K){const fe=()=>{c.subTree=Cs(c),K(B,c.subTree,c,E,null)};se?h.type.__asyncLoader().then(()=>!c.isUnmounted&&fe()):fe()}else{const fe=c.subTree=Cs(c);k(null,fe,v,b,c,E,T),h.el=fe.el}if(G&&xe(G,E),!se&&($=j&&j.onVnodeMounted)){const fe=h;xe(()=>Me($,re,fe),E)}(h.shapeFlag&256||re&&ts(re.vnode)&&re.vnode.shapeFlag&256)&&c.a&&xe(c.a,E),c.isMounted=!0,h=v=b=null}},P=c.effect=new en(S,()=>an(x),c.scope),x=c.update=()=>P.run();x.id=c.uid,ot(c,!0),x()},ee=(c,h,v)=>{h.component=c;const b=c.vnode.props;c.vnode=h,c.next=null,to(c,h.props,b,v),io(c,h.children,v),Pt(),Rn(),Lt()},z=(c,h,v,b,E,T,I,S,P=!1)=>{const x=c&&c.children,$=c?c.shapeFlag:0,B=h.children,{patchFlag:j,shapeFlag:V}=h;if(j>0){if(j&128){Ee(x,B,v,b,E,T,I,S,P);return}else if(j&256){ue(x,B,v,b,E,T,I,S,P);return}}V&8?($&16&&D(x,E,T),B!==x&&f(v,B)):$&16?V&16?Ee(x,B,v,b,E,T,I,S,P):D(x,E,T,!0):($&8&&f(v,""),V&16&&W(B,v,b,E,T,I,S,P))},ue=(c,h,v,b,E,T,I,S,P)=>{c=c||yt,h=h||yt;const x=c.length,$=h.length,B=Math.min(x,$);let j;for(j=0;j<B;j++){const V=h[j]=P?Xe(h[j]):He(h[j]);k(c[j],V,v,null,E,T,I,S,P)}x>$?D(c,E,T,!0,!1,B):W(h,v,b,E,T,I,S,P,B)},Ee=(c,h,v,b,E,T,I,S,P)=>{let x=0;const $=h.length;let B=c.length-1,j=$-1;for(;x<=B&&x<=j;){const V=c[x],G=h[x]=P?Xe(h[x]):He(h[x]);if(kt(V,G))k(V,G,v,null,E,T,I,S,P);else break;x++}for(;x<=B&&x<=j;){const V=c[B],G=h[j]=P?Xe(h[j]):He(h[j]);if(kt(V,G))k(V,G,v,null,E,T,I,S,P);else break;B--,j--}if(x>B){if(x<=j){const V=j+1,G=V<$?h[V].el:b;for(;x<=j;)k(null,h[x]=P?Xe(h[x]):He(h[x]),v,G,E,T,I,S,P),x++}}else if(x>j)for(;x<=B;)ie(c[x],E,T,!0),x++;else{const V=x,G=x,re=new Map;for(x=G;x<=j;x++){const Ce=h[x]=P?Xe(h[x]):He(h[x]);Ce.key!=null&&re.set(Ce.key,x)}let se,fe=0;const Te=j-G+1;let gt=!1,bn=0;const Ft=new Array(Te);for(x=0;x<Te;x++)Ft[x]=0;for(x=V;x<=B;x++){const Ce=c[x];if(fe>=Te){ie(Ce,E,T,!0);continue}let Ie;if(Ce.key!=null)Ie=re.get(Ce.key);else for(se=G;se<=j;se++)if(Ft[se-G]===0&&kt(Ce,h[se])){Ie=se;break}Ie===void 0?ie(Ce,E,T,!0):(Ft[Ie-G]=x+1,Ie>=bn?bn=Ie:gt=!0,k(Ce,h[Ie],v,null,E,T,I,S,P),fe++)}const yn=gt?co(Ft):yt;for(se=yn.length-1,x=Te-1;x>=0;x--){const Ce=G+x,Ie=h[Ce],wn=Ce+1<$?h[Ce+1].el:b;Ft[x]===0?k(null,Ie,v,wn,E,T,I,S,P):gt&&(se<0||x!==yn[se]?ge(Ie,v,wn,2):se--)}}},ge=(c,h,v,b,E=null)=>{const{el:T,type:I,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){I.move(c,h,v,Q);return}if(I===Be){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(I===ss){m(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:j,afterLeave:V}=S,G=()=>n(T,h,v),re=()=>{B(T,()=>{G(),V&&V()})};j?j(T,G,re):re()}else n(T,h,v)},ie=(c,h,v,b=!1,E=!1)=>{const{type:T,props:I,ref:S,children:P,dynamicChildren:x,shapeFlag:$,patchFlag:B,dirs:j}=c;if(S!=null&&Us(S,null,v,c,!0),$&256){h.ctx.deactivate(c);return}const V=$&1&&j,G=!ts(c);let re;if(G&&(re=I&&I.onVnodeBeforeUnmount)&&Me(re,h,c),$&6)y(c.component,v,b);else{if($&128){c.suspense.unmount(v,b);return}V&&lt(c,null,h,"beforeUnmount"),$&64?c.type.remove(c,h,v,E,Q,b):x&&(T!==Be||B>0&&B&64)?D(x,h,v,!1,!0):(T===Be&&B&384||!E&&$&16)&&D(P,h,v),b&&Ge(c)}(G&&(re=I&&I.onVnodeUnmounted)||V)&&xe(()=>{re&&Me(re,h,c),V&&lt(c,null,h,"unmounted")},v)},Ge=c=>{const{type:h,el:v,anchor:b,transition:E}=c;if(h===Be){_e(v,b);return}if(h===ss){A(c);return}const T=()=>{i(v),E&&!E.persisted&&E.afterLeave&&E.afterLeave()};if(c.shapeFlag&1&&E&&!E.persisted){const{leave:I,delayLeave:S}=E,P=()=>I(v,T);S?S(c.el,T,P):P()}else T()},_e=(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:I,um:S}=c;b&&_s(b),E.stop(),T&&(T.active=!1,ie(I,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())},D=(c,h,v,b=!1,E=!1,T=0)=>{for(let I=T;I<c.length;I++)ie(c[I],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):k(h._vnode||null,c,h,null,null,null,v),Rn(),Ui(),h._vnode=c},Q={p:k,um:ie,m:ge,r:Ge,mt:De,mc:W,pc:z,pbc:Z,n:R,o:e};let ne,K;return t&&([ne,K]=t(Q)),{render:U,hydrate:ne,createApp:lo(U,ne)}}function ot({effect:e,update:t},s){e.allowRecurse=t.allowRecurse=s}function nr(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]=Xe(i[r]),o.el=l.el),s||nr(l,o))}}function co(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 uo=e=>e.__isTeleport,Be=Symbol(void 0),hn=Symbol(void 0),pt=Symbol(void 0),ss=Symbol(void 0),Mt=[];let Pe=null;function ir(e=!1){Mt.push(Pe=e?null:[])}function fo(){Mt.pop(),Pe=Mt[Mt.length-1]||null}let zt=1;function Hn(e){zt+=e}function rr(e){return e.dynamicChildren=zt>0?Pe||yt:null,fo(),zt>0&&Pe&&Pe.push(e),e}function ho(e,t,s,n,i,r){return rr(Ye(e,t,s,n,i,r,!0))}function po(e,t,s,n,i){return rr(we(e,t,s,n,i,!0))}function $s(e){return e?e.__v_isVNode===!0:!1}function kt(e,t){return e.type===t.type&&e.key===t.key}const ws="__vInternal",lr=({key:e})=>e!=null?e:null,ns=({ref:e,ref_key:t,ref_for:s})=>e!=null?de(e)||ve(e)||q(e)?{i:$e,r:e,k:t,f:!!s}:e:null;function Ye(e,t=null,s=null,n=0,i=null,r=e===Be?0:1,l=!1,o=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&lr(t),ref:t&&ns(t),scopeId:zi,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};return o?(dn(a,s),r&128&&e.normalize(a)):s&&(a.shapeFlag|=de(s)?8:16),zt>0&&!l&&Pe&&(a.patchFlag>0||r&6)&&a.patchFlag!==32&&Pe.push(a),a}const we=go;function go(e,t=null,s=null,n=0,i=null,r=!1){if((!e||e===Kl)&&(e=pt),$s(e)){const o=Ct(e,t,!0);return s&&dn(o,s),zt>0&&!r&&Pe&&(o.shapeFlag&6?Pe[Pe.indexOf(e)]=o:Pe.push(o)),o.patchFlag|=-2,o}if(So(e)&&(e=e.__vccOpts),t){t=mo(t);let{class:o,style:a}=t;o&&!de(o)&&(t.class=qs(o)),ae(a)&&(Pi(a)&&!Y(a)&&(a=Ae({},a)),t.style=Ys(a))}const l=de(e)?1:Pl(e)?128:uo(e)?64:ae(e)?4:q(e)?2:0;return Ye(e,t,s,n,i,l,r,!0)}function mo(e){return e?Pi(e)||ws in e?Ae({},e):e:null}function Ct(e,t,s=!1){const{props:n,ref:i,patchFlag:r,children:l}=e,o=t?bo(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:o,key:o&&lr(o),ref:t&&t.ref?s&&i?Y(i)?i.concat(ns(t)):[i,ns(t)]:ns(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!==Be?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}}function is(e=" ",t=0){return we(hn,null,e,t)}function vo(e,t){const s=we(ss,null,e);return s.staticCount=t,s}function _c(e="",t=!1){return t?(ir(),po(pt,null,e)):we(pt,null,e)}function He(e){return e==null||typeof e=="boolean"?we(pt):Y(e)?we(Be,null,e.slice()):typeof e=="object"?Xe(e):we(hn,null,String(e))}function Xe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ct(e)}function dn(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),dn(e,i()),i._c&&(i._d=!0));return}else{s=32;const i=t._;!i&&!(ws in t)?t._ctx=$e:i===3&&$e&&($e.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else q(t)?(t={default:t,_ctx:$e},s=32):(t=String(t),n&64?(s=16,t=[is(t)]):s=8);e.children=t,e.shapeFlag|=s}function bo(...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=qs([t.class,n.class]));else if(i==="style")t.style=Ys([t.style,n.style]);else if(hs(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 Me(e,t,s,n=null){Fe(e,t,7,[s,n])}const yo=sr();let wo=0;function Ao(e,t,s){const n=e.type,i=(t?t.appContext:e.appContext)||yo,r={uid:wo++,vnode:e,type:n,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new Hr(!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:Zi(n,i),emitsOptions:ji(n,i),emit:null,emitted:null,propsDefaults:le,inheritAttrs:n.inheritAttrs,ctx:le,data:le,props:le,attrs:le,slots:le,refs:le,setupState:le,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=_l.bind(null,r),e.ce&&e.ce(r),r}let pe=null;const Ot=e=>{pe=e,e.scope.on()},dt=()=>{pe&&pe.scope.off(),pe=null};function or(e){return e.vnode.shapeFlag&4}let Vt=!1;function Eo(e,t=!1){Vt=t;const{props:s,children:n}=e.vnode,i=or(e);eo(e,s,i,t),no(e,n);const r=i?xo(e,t):void 0;return Vt=!1,r}function xo(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=Li(new Proxy(e.ctx,ql));const{setup:n}=s;if(n){const i=e.setupContext=n.length>1?Co(e):null;Ot(e),Pt();const r=st(n,e,0,[e.props,i]);if(Lt(),dt(),mi(r)){if(r.then(dt,dt),t)return r.then(l=>{Un(e,l,t)}).catch(l=>{vs(l,e,0)});e.asyncDep=r}else Un(e,r,t)}else ar(e,t)}function Un(e,t,s){q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ae(t)&&(e.setupState=Ii(t)),ar(e,s)}let $n;function ar(e,t,s){const n=e.type;if(!e.render){if(!t&&$n&&!n.render){const i=n.template||un(e).template;if(i){const{isCustomElement:r,compilerOptions:l}=e.appContext.config,{delimiters:o,compilerOptions:a}=n,u=Ae(Ae({isCustomElement:r,delimiters:o},l),a);n.render=$n(i,u)}}e.render=n.render||Le}Ot(e),Pt(),Ql(e),Lt(),dt()}function _o(e){return new Proxy(e.attrs,{get(t,s){return Oe(e,"get","$attrs"),t[s]}})}function Co(e){const t=n=>{e.exposed=n||{}};let s;return{get attrs(){return s||(s=_o(e))},slots:e.slots,emit:e.emit,expose:t}}function pn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Ii(Li(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in as)return as[s](e)}}))}function Oo(e,t=!0){return q(e)?e.displayName||e.name:e.name||t&&e.__name}function So(e){return q(e)&&"__vccOpts"in e}const Se=(e,t)=>bl(e,t,Vt);function cr(e,t,s){const n=arguments.length;return n===2?ae(t)&&!Y(t)?$s(t)?we(e,null,[t]):we(e,t):we(e,null,t):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&$s(s)&&(s=[s]),we(e,t,s))}const To="3.2.41",Ro="http://www.w3.org/2000/svg",ft=typeof document<"u"?document:null,jn=ft&&ft.createElement("template"),Po={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?ft.createElementNS(Ro,e):ft.createElement(e,s?{is:s}:void 0);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>ft.createTextNode(e),createComment:e=>ft.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ft.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{jn.innerHTML=n?`<svg>${e}</svg>`:e;const o=jn.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 Lo(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 Fo(e,t,s){const n=e.style,i=de(s);if(s&&!i){for(const r in s)js(n,r,s[r]);if(t&&!de(t))for(const r in t)s[r]==null&&js(n,r,"")}else{const r=n.display;i?t!==s&&(n.cssText=s):t&&e.removeAttribute("style"),"_vod"in e&&(n.display=r)}}const zn=/\s*!important$/;function js(e,t,s){if(Y(s))s.forEach(n=>js(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=ko(e,t);zn.test(s)?e.setProperty(Rt(n),s.replace(zn,""),"important"):e[n]=s}}const Vn=["Webkit","Moz","ms"],Os={};function ko(e,t){const s=Os[t];if(s)return s;let n=je(t);if(n!=="filter"&&n in e)return Os[t]=n;n=gs(n);for(let i=0;i<Vn.length;i++){const r=Vn[i]+n;if(r in e)return Os[t]=r}return t}const Wn="http://www.w3.org/1999/xlink";function Do(e,t,s,n,i){if(n&&t.startsWith("xlink:"))s==null?e.removeAttributeNS(Wn,t.slice(6,t.length)):e.setAttributeNS(Wn,t,s);else{const r=Or(t);s==null||r&&!di(s)?e.removeAttribute(t):e.setAttribute(t,r?"":s)}}function Io(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=di(s):s==null&&a==="string"?(s="",o=!0):a==="number"&&(s=0,o=!0)}try{e[t]=s}catch{}o&&e.removeAttribute(t)}function Mo(e,t,s,n){e.addEventListener(t,s,n)}function No(e,t,s,n){e.removeEventListener(t,s,n)}function Bo(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]=Ho(t);if(n){const u=r[t]=jo(n,i);Mo(e,o,u,a)}else l&&(No(e,o,l,a),r[t]=void 0)}}const Kn=/(?:Once|Passive|Capture)$/;function Ho(e){let t;if(Kn.test(e)){t={};let n;for(;n=e.match(Kn);)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 Ss=0;const Uo=Promise.resolve(),$o=()=>Ss||(Uo.then(()=>Ss=0),Ss=Date.now());function jo(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Fe(zo(n,s.value),t,5,[n])};return s.value=e,s.attached=$o(),s}function zo(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 Yn=/^on[a-z]/,Vo=(e,t,s,n,i=!1,r,l,o,a)=>{t==="class"?Lo(e,n,i):t==="style"?Fo(e,s,n):hs(t)?Qs(t)||Bo(e,t,s,n,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Wo(e,t,n,i))?Io(e,t,n,r,l,o,a):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Do(e,t,n,i))};function Wo(e,t,s,n){return n?!!(t==="innerHTML"||t==="textContent"||t in e&&Yn.test(t)&&q(s)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Yn.test(t)&&de(s)?!1:t in e}const Ko=Ae({patchProp:Vo},Po);let qn;function Yo(){return qn||(qn=oo(Ko))}const qo=(...e)=>{const t=Yo().createApp(...e),{mount:s}=t;return t.mount=n=>{const i=Qo(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 Qo(e){return de(e)?document.querySelector(e):e}const Go="modulepreload",Jo=function(e){return"/"+e},Qn={},at=function(t,s,n){if(!s||s.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(s.map(r=>{if(r=Jo(r),r in Qn)return;Qn[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":Go,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)?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())};/*!
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 Zo(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const te=Object.assign;function Ts(e,t){const s={};for(const n in t){const i=t[n];s[n]=ke(i)?i.map(e):e(i)}return s}const Nt=()=>{},ke=Array.isArray,Xo=/\/$/,ea=e=>e.replace(Xo,"");function Rs(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=ia(n!=null?n:t,s),{fullPath:n+(r&&"?")+r+l,path:n,query:i,hash:l}}function ta(e,t){const s=t.query?e(t.query):"";return t.path+(s&&"?")+s+(t.hash||"")}function Gn(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function sa(e,t,s){const n=t.matched.length-1,i=s.matched.length-1;return n>-1&&n===i&&St(t.matched[n],s.matched[i])&&ur(t.params,s.params)&&e(t.query)===e(s.query)&&t.hash===s.hash}function St(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ur(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const s in e)if(!na(e[s],t[s]))return!1;return!0}function na(e,t){return ke(e)?Jn(e,t):ke(t)?Jn(t,e):e===t}function Jn(e,t){return ke(t)?e.length===t.length&&e.every((s,n)=>s===t[n]):e.length===1&&e[0]===t}function ia(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 Wt;(function(e){e.pop="pop",e.push="push"})(Wt||(Wt={}));var Bt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Bt||(Bt={}));function ra(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),ea(e)}const la=/^[^#]+#/;function oa(e,t){return e.replace(la,"#")+t}function aa(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 As=()=>({left:window.pageXOffset,top:window.pageYOffset});function ca(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=aa(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 Zn(e,t){return(history.state?history.state.position-t:-1)+e}const zs=new Map;function ua(e,t){zs.set(e,t)}function fa(e){const t=zs.get(e);return zs.delete(e),t}let ha=()=>location.protocol+"//"+location.host;function fr(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),Gn(a,"")}return Gn(s,e)+n+i}function da(e,t,s,n){let i=[],r=[],l=null;const o=({state:p})=>{const w=fr(e,location),F=s.value,k=t.value;let L=0;if(p){if(s.value=w,t.value=p,l&&l===F){l=null;return}L=k?p.position-k.position:0}else n(w);i.forEach(_=>{_(s.value,F,{delta:L,type:Wt.pop,direction:L?L>0?Bt.forward:Bt.back:Bt.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:As()}),"")}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 Xn(e,t,s,n=!1,i=!1){return{back:e,current:t,forward:s,replaced:n,position:window.history.length,scroll:i?As():null}}function pa(e){const{history:t,location:s}=window,n={value:fr(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:ha()+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,Xn(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:As()});r(f.current,f,!0);const d=te({},Xn(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 ga(e){e=ra(e);const t=pa(e),s=da(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:oa.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 ma(e){return typeof e=="string"||e&&typeof e=="object"}function hr(e){return typeof e=="string"||typeof e=="symbol"}const Ze={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},dr=Symbol("");var ei;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ei||(ei={}));function Tt(e,t){return te(new Error,{type:e,[dr]:!0},t)}function Ve(e,t){return e instanceof Error&&dr in e&&(t==null||!!(e.type&t))}const ti="[^/]+?",va={sensitive:!1,strict:!1,start:!0,end:!0},ba=/[.+*?^${}()[\]/\\]/g;function ya(e,t){const s=te({},va,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(ba,"\\$&"),w+=40;else if(p.type===1){const{value:F,repeatable:k,optional:L,regexp:_}=p;r.push({name:F,repeatable:k,optional:L});const g=_||ti;if(g!==ti){w+=10;try{new RegExp(`(${g})`)}catch(A){throw new Error(`Invalid custom RegExp for param "${F}" (${g}): `+A.message)}}let m=k?`((?:${g})(?:/(?:${g}))*)`:`(${g})`;d||(m=L&&u.length<2?`(?:/${m})`:"/"+m),L&&(m+="?"),i+=m,w+=20,L&&(w+=-8),k&&(w+=-20),g===".*"&&(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:k,optional:L}=w,_=F in u?u[F]:"";if(ke(_)&&!k)throw new Error(`Provided param "${F}" is an array but it is not repeatable (* or + modifiers)`);const g=ke(_)?_.join("/"):_;if(!g)if(L)p.length<2&&(f.endsWith("/")?f=f.slice(0,-1):d=!0);else throw new Error(`Missing required param "${F}"`);f+=g}}return f||"/"}return{re:l,score:n,keys:r,parse:o,stringify:a}}function wa(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 Aa(e,t){let s=0;const n=e.score,i=t.score;for(;s<n.length&&s<i.length;){const r=wa(n[s],i[s]);if(r)return r;s++}if(Math.abs(i.length-n.length)===1){if(si(n))return 1;if(si(i))return-1}return i.length-n.length}function si(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Ea={type:0,value:""},xa=/[a-zA-Z0-9_]/;function _a(e){if(!e)return[[]];if(e==="/")return[[Ea]];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:xa.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 Ca(e,t,s){const n=ya(_a(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 Oa(e,t){const s=[],n=new Map;t=ri({strict:!1,end:!0,sensitive:!1},t);function i(f){return n.get(f)}function r(f,d,p){const w=!p,F=Sa(f);F.aliasOf=p&&p.record;const k=ri(t,f),L=[F];if("alias"in f){const m=typeof f.alias=="string"?[f.alias]:f.alias;for(const A of m)L.push(te({},F,{components:p?p.record.components:F.components,path:A,aliasOf:p?p.record:F}))}let _,g;for(const m of L){const{path:A}=m;if(d&&A[0]!=="/"){const C=d.record.path,O=C[C.length-1]==="/"?"":"/";m.path=d.record.path+(A&&O+A)}if(_=Ca(m,d,k),p?p.alias.push(_):(g=g||_,g!==_&&g.alias.push(_),w&&f.name&&!ii(_)&&l(f.name)),F.children){const C=F.children;for(let O=0;O<C.length;O++)r(C[O],_,p&&p.children[O])}p=p||_,(_.record.components&&Object.keys(_.record.components).length||_.record.name||_.record.redirect)&&a(_)}return g?()=>{l(g)}:Nt}function l(f){if(hr(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&&Aa(f,s[d])>=0&&(f.record.path!==s[d].record.path||!pr(f,s[d]));)d++;s.splice(d,0,f),f.record.name&&!ii(f)&&n.set(f.record.name,f)}function u(f,d){let p,w={},F,k;if("name"in f&&f.name){if(p=n.get(f.name),!p)throw Tt(1,{location:f});k=p.record.name,w=te(ni(d.params,p.keys.filter(g=>!g.optional).map(g=>g.name)),f.params&&ni(f.params,p.keys.map(g=>g.name))),F=p.stringify(w)}else if("path"in f)F=f.path,p=s.find(g=>g.re.test(F)),p&&(w=p.parse(F),k=p.record.name);else{if(p=d.name?n.get(d.name):s.find(g=>g.re.test(d.path)),!p)throw Tt(1,{location:f,currentLocation:d});k=p.record.name,w=te({},d.params,f.params),F=p.stringify(w)}const L=[];let _=p;for(;_;)L.unshift(_.record),_=_.parent;return{name:k,path:F,params:w,matched:L,meta:Ra(L)}}return e.forEach(f=>r(f)),{addRoute:r,resolve:u,removeRoute:l,getRoutes:o,getRecordMatcher:i}}function ni(e,t){const s={};for(const n of t)n in e&&(s[n]=e[n]);return s}function Sa(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Ta(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 Ta(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 ii(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ra(e){return e.reduce((t,s)=>te(t,s.meta),{})}function ri(e,t){const s={};for(const n in e)s[n]=n in t?t[n]:e[n];return s}function pr(e,t){return t.children.some(s=>s===e||pr(e,s))}const gr=/#/g,Pa=/&/g,La=/\//g,Fa=/=/g,ka=/\?/g,mr=/\+/g,Da=/%5B/g,Ia=/%5D/g,vr=/%5E/g,Ma=/%60/g,br=/%7B/g,Na=/%7C/g,yr=/%7D/g,Ba=/%20/g;function gn(e){return encodeURI(""+e).replace(Na,"|").replace(Da,"[").replace(Ia,"]")}function Ha(e){return gn(e).replace(br,"{").replace(yr,"}").replace(vr,"^")}function Vs(e){return gn(e).replace(mr,"%2B").replace(Ba,"+").replace(gr,"%23").replace(Pa,"%26").replace(Ma,"`").replace(br,"{").replace(yr,"}").replace(vr,"^")}function Ua(e){return Vs(e).replace(Fa,"%3D")}function $a(e){return gn(e).replace(gr,"%23").replace(ka,"%3F")}function ja(e){return e==null?"":$a(e).replace(La,"%2F")}function us(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function za(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(mr," "),l=r.indexOf("="),o=us(l<0?r:r.slice(0,l)),a=l<0?null:us(r.slice(l+1));if(o in t){let u=t[o];ke(u)||(u=t[o]=[u]),u.push(a)}else t[o]=a}return t}function li(e){let t="";for(let s in e){const n=e[s];if(s=Ua(s),n==null){n!==void 0&&(t+=(t.length?"&":"")+s);continue}(ke(n)?n.map(r=>r&&Vs(r)):[n&&Vs(n)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+s,r!=null&&(t+="="+r))})}return t}function Va(e){const t={};for(const s in e){const n=e[s];n!==void 0&&(t[s]=ke(n)?n.map(i=>i==null?null:""+i):n==null?n:""+n)}return t}const Wa=Symbol(""),oi=Symbol(""),mn=Symbol(""),wr=Symbol(""),Ws=Symbol("");function Dt(){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 et(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):ma(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 Ps(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(Ka(o)){const u=(o.__vccOpts||o)[t];u&&i.push(et(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=Zo(u)?u.default:u;r.components[l]=f;const p=(f.__vccOpts||f)[t];return p&&et(p,s,n,r,l)()}))}}return i}function Ka(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ai(e){const t=nt(mn),s=nt(wr),n=Se(()=>t.resolve(Et(e.to))),i=Se(()=>{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(St.bind(null,f));if(p>-1)return p;const w=ci(a[u-2]);return u>1&&ci(f)===w&&d[d.length-1].path!==w?d.findIndex(St.bind(null,a[u-2])):p}),r=Se(()=>i.value>-1&&Ga(s.params,n.value.params)),l=Se(()=>i.value>-1&&i.value===s.matched.length-1&&ur(s.params,n.value.params));function o(a={}){return Qa(a)?t[Et(e.replace)?"replace":"push"](Et(e.to)).catch(Nt):Promise.resolve()}return{route:n,href:Se(()=>n.value.href),isActive:r,isExactActive:l,navigate:o}}const Ya=cn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:ai,setup(e,{slots:t}){const s=Kt(ai(e)),{options:n}=nt(mn),i=Se(()=>({[ui(e.activeClass,n.linkActiveClass,"router-link-active")]:s.isActive,[ui(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:s.isExactActive}));return()=>{const r=t.default&&t.default(s);return e.custom?r:cr("a",{"aria-current":s.isExactActive?e.ariaCurrentValue:null,href:s.href,onClick:s.navigate,class:i.value},r)}}}),qa=Ya;function Qa(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 Ga(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(!ke(i)||i.length!==n.length||n.some((r,l)=>r!==i[l]))return!1}return!0}function ci(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ui=(e,t,s)=>e!=null?e:t!=null?t:s,Ja=cn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:s}){const n=nt(Ws),i=Se(()=>e.route||n.value),r=nt(oi,0),l=Se(()=>{let u=Et(r);const{matched:f}=i.value;let d;for(;(d=f[u])&&!d.components;)u++;return u}),o=Se(()=>i.value.matched[l.value]);Xt(oi,Se(()=>l.value+1)),Xt(Wa,o),Xt(Ws,i);const a=dl();return es(()=>[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||!St(f,w)||!p)&&(f.enterCallbacks[d]||[]).forEach(k=>k(u))},{flush:"post"}),()=>{const u=i.value,f=e.name,d=o.value,p=d&&d.components[f];if(!p)return fi(s.default,{Component:p,route:u});const w=d.props[f],F=w?w===!0?u.params:typeof w=="function"?w(u):w:null,L=cr(p,te({},F,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(d.instances[f]=null)},ref:a}));return fi(s.default,{Component:L,route:u})||L}}});function fi(e,t){if(!e)return null;const s=e(t);return s.length===1?s[0]:s}const Za=Ja;function Xa(e){const t=Oa(e.routes,e),s=e.parseQuery||za,n=e.stringifyQuery||li,i=e.history,r=Dt(),l=Dt(),o=Dt(),a=pl(Ze);let u=Ze;vt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=Ts.bind(null,y=>""+y),d=Ts.bind(null,ja),p=Ts.bind(null,us);function w(y,D){let R,U;return hr(y)?(R=t.getRecordMatcher(y),U=D):U=y,t.addRoute(U,R)}function F(y){const D=t.getRecordMatcher(y);D&&t.removeRoute(D)}function k(){return t.getRoutes().map(y=>y.record)}function L(y){return!!t.getRecordMatcher(y)}function _(y,D){if(D=te({},D||a.value),typeof y=="string"){const c=Rs(s,y,D.path),h=t.resolve({path:c.path},D),v=i.createHref(c.fullPath);return te(c,h,{params:p(h.params),hash:us(c.hash),redirectedFrom:void 0,href:v})}let R;if("path"in y)R=te({},y,{path:Rs(s,y.path,D.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)}),D.params=d(D.params)}const U=t.resolve(R,D),Q=y.hash||"";U.params=f(p(U.params));const ne=ta(n,te({},y,{hash:Ha(Q),path:U.path})),K=i.createHref(ne);return te({fullPath:ne,hash:Q,query:n===li?Va(y.query):y.query||{}},U,{redirectedFrom:void 0,href:K})}function g(y){return typeof y=="string"?Rs(s,y,a.value.path):te({},y)}function m(y,D){if(u!==y)return Tt(8,{from:D,to:y})}function A(y){return N(y)}function C(y){return A(te(g(y),{replace:!0}))}function O(y){const D=y.matched[y.matched.length-1];if(D&&D.redirect){const{redirect:R}=D;let U=typeof R=="function"?R(y):R;return typeof U=="string"&&(U=U.includes("?")||U.includes("#")?U=g(U):{path:U},U.params={}),te({query:y.query,hash:y.hash,params:"path"in U?{}:y.params},U)}}function N(y,D){const R=u=_(y),U=a.value,Q=y.state,ne=y.force,K=y.replace===!0,c=O(R);if(c)return N(te(g(c),{state:typeof c=="object"?te({},Q,c.state):Q,force:ne,replace:K}),D||R);const h=R;h.redirectedFrom=D;let v;return!ne&&sa(n,U,R)&&(v=Tt(16,{to:h,from:U}),Ee(U,U,!0,!1)),(v?Promise.resolve(v):H(h,U)).catch(b=>Ve(b)?Ve(b,2)?b:ue(b):ee(b,h,U)).then(b=>{if(b){if(Ve(b,2))return N(te({replace:K},g(b.to),{state:typeof b.to=="object"?te({},Q,b.to.state):Q,force:ne}),D||h)}else b=oe(h,U,!0,K,Q);return Z(h,U,b),b})}function W(y,D){const R=m(y,D);return R?Promise.reject(R):Promise.resolve()}function H(y,D){let R;const[U,Q,ne]=ec(y,D);R=Ps(U.reverse(),"beforeRouteLeave",y,D);for(const c of U)c.leaveGuards.forEach(h=>{R.push(et(h,y,D))});const K=W.bind(null,y,D);return R.push(K),mt(R).then(()=>{R=[];for(const c of r.list())R.push(et(c,y,D));return R.push(K),mt(R)}).then(()=>{R=Ps(Q,"beforeRouteUpdate",y,D);for(const c of Q)c.updateGuards.forEach(h=>{R.push(et(h,y,D))});return R.push(K),mt(R)}).then(()=>{R=[];for(const c of y.matched)if(c.beforeEnter&&!D.matched.includes(c))if(ke(c.beforeEnter))for(const h of c.beforeEnter)R.push(et(h,y,D));else R.push(et(c.beforeEnter,y,D));return R.push(K),mt(R)}).then(()=>(y.matched.forEach(c=>c.enterCallbacks={}),R=Ps(ne,"beforeRouteEnter",y,D),R.push(K),mt(R))).then(()=>{R=[];for(const c of l.list())R.push(et(c,y,D));return R.push(K),mt(R)}).catch(c=>Ve(c,8)?c:Promise.reject(c))}function Z(y,D,R){for(const U of o.list())U(y,D,R)}function oe(y,D,R,U,Q){const ne=m(y,D);if(ne)return ne;const K=D===Ze,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,Ee(y,D,R,K),ue()}let he;function ze(){he||(he=i.listen((y,D,R)=>{if(!_e.listening)return;const U=_(y),Q=O(U);if(Q){N(te(Q,{replace:!0}),U).catch(Nt);return}u=U;const ne=a.value;vt&&ua(Zn(ne.fullPath,R.delta),As()),H(U,ne).catch(K=>Ve(K,12)?K:Ve(K,2)?(N(K.to,U).then(c=>{Ve(c,20)&&!R.delta&&R.type===Wt.pop&&i.go(-1,!1)}).catch(Nt),Promise.reject()):(R.delta&&i.go(-R.delta,!1),ee(K,U,ne))).then(K=>{K=K||oe(U,ne,!1),K&&(R.delta&&!Ve(K,8)?i.go(-R.delta,!1):R.type===Wt.pop&&Ve(K,20)&&i.go(-1,!1)),Z(U,ne,K)}).catch(Nt)}))}let De=Dt(),rt=Dt(),ce;function ee(y,D,R){ue(y);const U=rt.list();return U.length?U.forEach(Q=>Q(y,D,R)):console.error(y),Promise.reject(y)}function z(){return ce&&a.value!==Ze?Promise.resolve():new Promise((y,D)=>{De.add([y,D])})}function ue(y){return ce||(ce=!y,ze(),De.list().forEach(([D,R])=>y?R(y):D()),De.reset()),y}function Ee(y,D,R,U){const{scrollBehavior:Q}=e;if(!vt||!Q)return Promise.resolve();const ne=!R&&fa(Zn(y.fullPath,0))||(U||!R)&&history.state&&history.state.scroll||null;return Bi().then(()=>Q(y,D,ne)).then(K=>K&&ca(K)).catch(K=>ee(K,y,D))}const ge=y=>i.go(y);let ie;const Ge=new Set,_e={currentRoute:a,listening:!0,addRoute:w,removeRoute:F,hasRoute:L,getRoutes:k,resolve:_,options:e,push:A,replace:C,go:ge,back:()=>ge(-1),forward:()=>ge(1),beforeEach:r.add,beforeResolve:l.add,afterEach:o.add,onError:rt.add,isReady:z,install(y){const D=this;y.component("RouterLink",qa),y.component("RouterView",Za),y.config.globalProperties.$router=D,Object.defineProperty(y.config.globalProperties,"$route",{enumerable:!0,get:()=>Et(a)}),vt&&!ie&&a.value===Ze&&(ie=!0,A(i.location).catch(Q=>{}));const R={};for(const Q in Ze)R[Q]=Se(()=>a.value[Q]);y.provide(mn,D),y.provide(wr,Kt(R)),y.provide(Ws,a);const U=y.unmount;Ge.add(y),y.unmount=function(){Ge.delete(y),Ge.size<1&&(u=Ze,he&&he(),he=null,a.value=Ze,ie=!1,ce=!1),U()}}};return _e}function mt(e){return e.reduce((t,s)=>t.then(()=>s()),Promise.resolve())}function ec(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=>St(u,o))?n.push(o):s.push(o));const a=e.matched[l];a&&(t.matched.find(u=>St(u,a))||i.push(a))}return[s,n,i]}const tc=Xa({history:ga(),linkActiveClass:"active",routes:[{path:"/",name:"Home",component:()=>at(()=>import("./home.js"),["assets/home.js","assets/home.css"])},{path:"/install",name:"Install",component:()=>at(()=>import("./install.js"),[])},{path:"/selects",name:"Selects",component:()=>at(()=>import("./selects.js"),[])},{path:"/data",name:"Data",component:()=>at(()=>import("./data.js"),[])},{path:"/settings",name:"Settings",component:()=>at(()=>import("./index2.js"),["assets/index2.js","assets/index.css"])},{path:"/events",name:"Events",component:()=>at(()=>import("./index3.js"),[])},{path:"/methods",name:"Methods",component:()=>at(()=>import("./index4.js"),[])}]});function Es(){return Math.random().toString(36).substring(2,10)}function sc(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 fs(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 nc(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===""?Es():t.id,this.label=t.label||"",this.options=[],t.options)for(const s of t.options)this.options.push(new ye(s))}}class ye{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===""?Es():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 ic{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 ye||"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 ye(r))}),i.length>0&&s.push(new Ke(n))}(n instanceof ye||"text"in n)&&s.push(new ye(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 ye(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 ye&&(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 ye(l))}),r.length>0&&n.push(new Ke({id:i.id,label:i.label,options:r}))}i instanceof ye&&(!t||t(i))&&n.push(new ye(i))}),n}}class rc{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 ye&&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=fs(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 ye({text:u,value:u})):this.callbacks.addOption(new ye(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 ye&&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 lc{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)||Es(),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 ye&&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-"+nc(n),t.data[n])}),s}destroy(){this.changeListen(!1),this.disconnectObserver(),this.removeSelectChangeListener(),this.removeValueChangeListener(),this.showUI()}}class oc{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-"+Es(),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 ac{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",fs(()=>{!this.settings.isOpen||this.render.moveContent()}));M(this,"windowScroll",fs(()=>{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&&!sc(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 oc(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 lc(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 ic(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 rc(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 cc=cn({name:"App",data(){return{nav:null,navDebounce:fs(()=>{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 ac({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})}}})}}}),uc="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",fc="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACAAQMAAAD58POIAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAZQTFRFyzg3////IltC9QAAAAFiS0dEAf8CLd4AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAkSURBVEjHY2AYBYMV/IeDUQG4AJgeFRgVGBUYFSBNYBQMPgAARjtdvxo6xaMAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTEtMDUtMzBUMjM6MTA6NDQtMDc6MDCm4GvfAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDEwLTEyLTA2VDEyOjIwOjEyLTA4OjAwpIGEmQAAADJ0RVh0UE5HOmNIUk0AY2h1bmsgd2FzIGZvdW5kIChzZWUgQ2hyb21hdGljaXR5LCBhYm92ZSkH0UjaAAAAKXRFWHRQTkc6Z0FNQQBnYW1tYT0wLjQ1NDU1IChTZWUgR2FtbWEsIGFib3ZlKRISLKcAAAAUdEVYdFBORzpJSERSLmJpdF9kZXB0aAA4KYV+UAAAABV0RVh0UE5HOklIRFIuY29sb3JfdHlwZQA2BkqnKwAAABt0RVh0UE5HOklIRFIuaW50ZXJsYWNlX21ldGhvZAAw+zsHjAAAABx0RVh0UE5HOklIRFIud2lkdGgsaGVpZ2h0ADE2LCAxNjjVBg0AAAAodEVYdFBORzpwSFlzAHhfcmVzPTI4MzUsIHlfcmVzPTI4MzUsIHVuaXRzPTGCKXI+AAAAKHRFWHRQTkc6c1JHQgBpbnRlbnQ9MCAoU2VlIFJlbmRlcmluZyBpbnRlbnQp8hEU9QAAAABJRU5ErkJggg==",hc=(e,t)=>{const s=e.__vccOpts||e;for(const[n,i]of t)s[n]=i;return s},dc=vo('<header><div class="top"><div class="text"><h1 class="logo">Slim Select</h1></div><div class="socials"><a href="https://github.com/brianvoe/slim-select" target="_blank"><img src="'+uc+'"></a><a href="https://www.npmjs.com/package/slim-select" target="_blank"><img src="'+fc+'"></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),pc={ref:"nav"},gc={class:"nav-content",ref:"navContent"},mc=Ye("a",{href:"http://webiswhatido.com",style:{color:"#ffffff"},target:"_blank"},"Brian Voelker",-1),vc=Ye("br",null,null,-1);function bc(e,t,s,n,i,r){const l=Wl("router-view");return ir(),ho(Be,null,[dc,Ye("nav",null,[Ye("select",pc,null,512),Ye("div",gc,null,512)]),Ye("main",null,[we(l),Ye("footer",null,[is(" \xA9 "+Pr(e.year)+" ",1),mc,is(". "),vc,is(" Slim Select is under the MIT license. ")])])],64)}const yc=hc(cc,[["render",bc]]);var hi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ar={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 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:{};/**
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 g(m){return m instanceof a?new a(m.type,g(m.content),m.alias):Array.isArray(m)?m.map(g):m.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(g){return Object.prototype.toString.call(g).slice(8,-1)},objId:function(g){return g.__id||Object.defineProperty(g,"__id",{value:++r}),g.__id},clone:function g(m,A){A=A||{};var C,O;switch(o.util.type(m)){case"Object":if(O=o.util.objId(m),A[O])return A[O];C={},A[O]=C;for(var N in m)m.hasOwnProperty(N)&&(C[N]=g(m[N],A));return C;case"Array":return O=o.util.objId(m),A[O]?A[O]:(C=[],A[O]=C,m.forEach(function(W,H){C[H]=g(W,A)}),C);default:return m}},getLanguage:function(g){for(;g;){var m=i.exec(g.className);if(m)return m[1].toLowerCase();g=g.parentElement}return"none"},setLanguage:function(g,m){g.className=g.className.replace(RegExp(i,"gi"),""),g.classList.add("language-"+m)},currentScript:function(){if(typeof document>"u")return null;if("currentScript"in document&&1<2)return document.currentScript;try{throw new Error}catch(C){var g=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(C.stack)||[])[1];if(g){var m=document.getElementsByTagName("script");for(var A in m)if(m[A].src==g)return m[A]}return null}},isActive:function(g,m,A){for(var C="no-"+m;g;){var O=g.classList;if(O.contains(m))return!0;if(O.contains(C))return!1;g=g.parentElement}return!!A}},languages:{plain:l,plaintext:l,text:l,txt:l,extend:function(g,m){var A=o.util.clone(o.languages[g]);for(var C in m)A[C]=m[C];return A},insertBefore:function(g,m,A,C){C=C||o.languages;var O=C[g],N={};for(var W in O)if(O.hasOwnProperty(W)){if(W==m)for(var H in A)A.hasOwnProperty(H)&&(N[H]=A[H]);A.hasOwnProperty(W)||(N[W]=O[W])}var Z=C[g];return C[g]=N,o.languages.DFS(o.languages,function(oe,he){he===Z&&oe!=g&&(this[oe]=N)}),N},DFS:function g(m,A,C,O){O=O||{};var N=o.util.objId;for(var W in m)if(m.hasOwnProperty(W)){A.call(m,W,m[W],C||W);var H=m[W],Z=o.util.type(H);Z==="Object"&&!O[N(H)]?(O[N(H)]=!0,g(H,A,null,O)):Z==="Array"&&!O[N(H)]&&(O[N(H)]=!0,g(H,A,W,O))}}},plugins:{},highlightAll:function(g,m){o.highlightAllUnder(document,g,m)},highlightAllUnder:function(g,m,A){var C={callback:A,container:g,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};o.hooks.run("before-highlightall",C),C.elements=Array.prototype.slice.apply(C.container.querySelectorAll(C.selector)),o.hooks.run("before-all-elements-highlight",C);for(var O=0,N;N=C.elements[O++];)o.highlightElement(N,m===!0,C.callback)},highlightElement:function(g,m,A){var C=o.util.getLanguage(g),O=o.languages[C];o.util.setLanguage(g,C);var N=g.parentElement;N&&N.nodeName.toLowerCase()==="pre"&&o.util.setLanguage(N,C);var W=g.textContent,H={element:g,language:C,grammar:O,code:W};function Z(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){Z(o.util.encode(H.code));return}if(m&&n.Worker){var oe=new Worker(o.filename);oe.onmessage=function(he){Z(he.data)},oe.postMessage(JSON.stringify({language:H.language,code:H.code,immediateClose:!0}))}else Z(o.highlight(H.code,H.grammar,H.language))},highlight:function(g,m,A){var C={code:g,grammar:m,language:A};if(o.hooks.run("before-tokenize",C),!C.grammar)throw new Error('The language "'+C.language+'" has no grammar.');return C.tokens=o.tokenize(C.code,C.grammar),o.hooks.run("after-tokenize",C),a.stringify(o.util.encode(C.tokens),C.language)},tokenize:function(g,m){var A=m.rest;if(A){for(var C in A)m[C]=A[C];delete m.rest}var O=new d;return p(O,O.head,g),f(g,O,m,O.head,0),F(O)},hooks:{all:{},add:function(g,m){var A=o.hooks.all;A[g]=A[g]||[],A[g].push(m)},run:function(g,m){var A=o.hooks.all[g];if(!(!A||!A.length))for(var C=0,O;O=A[C++];)O(m)}},Token:a};n.Prism=o;function a(g,m,A,C){this.type=g,this.content=m,this.alias=A,this.length=(C||"").length|0}a.stringify=function g(m,A){if(typeof m=="string")return m;if(Array.isArray(m)){var C="";return m.forEach(function(Z){C+=g(Z,A)}),C}var O={type:m.type,content:g(m.content,A),tag:"span",classes:["token",m.type],attributes:{},language:A},N=m.alias;N&&(Array.isArray(N)?Array.prototype.push.apply(O.classes,N):O.classes.push(N)),o.hooks.run("wrap",O);var W="";for(var H in O.attributes)W+=" "+H+'="'+(O.attributes[H]||"").replace(/"/g,"&quot;")+'"';return"<"+O.tag+' class="'+O.classes.join(" ")+'"'+W+">"+O.content+"</"+O.tag+">"};function u(g,m,A,C){g.lastIndex=m;var O=g.exec(A);if(O&&C&&O[1]){var N=O[1].length;O.index+=N,O[0]=O[0].slice(N)}return O}function f(g,m,A,C,O,N){for(var W in A)if(!(!A.hasOwnProperty(W)||!A[W])){var H=A[W];H=Array.isArray(H)?H:[H];for(var Z=0;Z<H.length;++Z){if(N&&N.cause==W+","+Z)return;var oe=H[Z],he=oe.inside,ze=!!oe.lookbehind,De=!!oe.greedy,rt=oe.alias;if(De&&!oe.pattern.global){var ce=oe.pattern.toString().match(/[imsuy]*$/)[0];oe.pattern=RegExp(oe.pattern.source,ce+"g")}for(var ee=oe.pattern||oe,z=C.next,ue=O;z!==m.tail&&!(N&&ue>=N.reach);ue+=z.value.length,z=z.next){var Ee=z.value;if(m.length>g.length)return;if(!(Ee instanceof a)){var ge=1,ie;if(De){if(ie=u(ee,ue,g,ze),!ie||ie.index>=g.length)break;var D=ie.index,Ge=ie.index+ie[0].length,_e=ue;for(_e+=z.value.length;D>=_e;)z=z.next,_e+=z.value.length;if(_e-=z.value.length,ue=_e,z.value instanceof a)continue;for(var y=z;y!==m.tail&&(_e<Ge||typeof y.value=="string");y=y.next)ge++,_e+=y.value.length;ge--,Ee=g.slice(ue,_e),ie.index-=ue}else if(ie=u(ee,0,Ee,ze),!ie)continue;var D=ie.index,R=ie[0],U=Ee.slice(0,D),Q=Ee.slice(D+R.length),ne=ue+Ee.length;N&&ne>N.reach&&(N.reach=ne);var K=z.prev;U&&(K=p(m,K,U),ue+=U.length),w(m,K,ge);var c=new a(W,he?o.tokenize(R,he):R,rt,R);if(z=p(m,K,c),Q&&p(m,z,Q),ge>1){var h={cause:W+","+Z,reach:ne};f(g,m,A,z.prev,ue,h),N&&h.reach>N.reach&&(N.reach=h.reach)}}}}}}function d(){var g={value:null,prev:null,next:null},m={value:null,prev:g,next:null};g.next=m,this.head=g,this.tail=m,this.length=0}function p(g,m,A){var C=m.next,O={value:A,prev:m,next:C};return m.next=O,C.prev=O,g.length++,O}function w(g,m,A){for(var C=m.next,O=0;O<A&&C!==g.tail;O++)C=C.next;m.next=C,C.prev=m,g.length-=O}function F(g){for(var m=[],A=g.head.next;A!==g.tail;)m.push(A.value),A=A.next;return m}if(!n.document)return n.addEventListener&&(o.disableWorkerMessageHandler||n.addEventListener("message",function(g){var m=JSON.parse(g.data),A=m.language,C=m.code,O=m.immediateClose;n.postMessage(o.highlight(C,o.languages[A],A)),O&&n.close()},!1)),o;var k=o.util.currentScript();k&&(o.filename=k.src,k.hasAttribute("data-manual")&&(o.manual=!0));function L(){o.manual||o.highlightAll()}if(!o.manual){var _=document.readyState;_==="loading"||_==="interactive"&&k&&k.defer?document.addEventListener("DOMContentLoaded",L):window.requestAnimationFrame?window.requestAnimationFrame(L):window.setTimeout(L,16)}return o}(t);e.exports&&(e.exports=s),typeof hi<"u"&&(hi.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(k,L){return"\u2716 Error "+k+" while fetching file: "+L},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(k,L,_){var g=new XMLHttpRequest;g.open("GET",k,!0),g.onreadystatechange=function(){g.readyState==4&&(g.status<400&&g.responseText?L(g.responseText):g.status>=400?_(i(g.status,g.statusText)):_(r))},g.send(null)}function w(k){var L=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(k||"");if(L){var _=Number(L[1]),g=L[2],m=L[3];return g?m?[_,Number(m)]:[_,void 0]:[_,_]}}s.hooks.add("before-highlightall",function(k){k.selector+=", "+d}),s.hooks.add("before-sanity-check",function(k){var L=k.element;if(L.matches(d)){k.code="",L.setAttribute(o,a);var _=L.appendChild(document.createElement("CODE"));_.textContent=n;var g=L.getAttribute("data-src"),m=k.language;if(m==="none"){var A=(/\.(\w+)$/.exec(g)||[,"none"])[1];m=l[A]||A}s.util.setLanguage(_,m),s.util.setLanguage(L,m);var C=s.plugins.autoloader;C&&C.loadLanguages(m),p(g,function(O){L.setAttribute(o,u);var N=w(L.getAttribute("data-range"));if(N){var W=O.split(/\r\n?|\n/g),H=N[0],Z=N[1]==null?W.length:N[1];H<0&&(H+=W.length),H=Math.max(0,Math.min(H-1,W.length)),Z<0&&(Z+=W.length),Z=Math.max(0,Math.min(Z,W.length)),O=W.slice(H,Z).join(`
13
- `),L.hasAttribute("data-start")||L.setAttribute("data-start",String(H+1))}_.textContent=O,s.highlightElement(_)},function(O){L.setAttribute(o,f),_.textContent=O})}}),s.plugins.fileHighlight={highlight:function(L){for(var _=(L||document).querySelectorAll(d),g=0,m;m=_[g++];)s.highlightElement(m)}};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)}}()})(Ar);const wc=Ar.exports;var Er={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(`
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
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
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="",k=!1,L=0;L<p.length;++L){var _=p[L];_==l.element?k=!0:_.nodeName==="#text"&&(k?F+=_.nodeValue:w+=_.nodeValue,a.removeChild(_),--L)}if(!l.element.children.length||!Prism.plugins.KeepMarkup)l.code=w+l.code+F,l.code=o.normalize(l.code,l.settings);else{var g=w+l.element.innerHTML+F;l.element.innerHTML=o.normalize(g,l.settings),l.code=l.element.textContent}}}})})()})(Er);const Ac=Er.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 Ac({"remove-trailing":!0,"remove-indent":!0,"left-trim":!0,"right-trim":!0});const vn=qo(yc);vn.use(tc);vn.mixin({updated(){wc.highlightAll()}});vn.mount("#app");export{Be as F,ac as S,hc as _,Ye as a,vo as b,ho as c,cn as d,hi as e,is as f,Wl as g,we as h,_c as i,dl as j,Nl as k,ir as o,xc as r,Pr as t,Cl as w};
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};