From 84acf6c29ff5fa5693929aa9539ab4c8de9b6ac6 Mon Sep 17 00:00:00 2001 From: NotXia Date: Sun, 19 Mar 2023 11:15:15 +0000 Subject: [PATCH] deploy: 3b36125f20422090020c17b6c4957b31de4a8131 --- assets/index-49987032.js | 76 +++++++++++++++++++ ...{index-dd5fd2a8.css => index-7abf184a.css} | 2 +- assets/index-df33dc05.js | 76 ------------------- index.html | 4 +- 4 files changed, 79 insertions(+), 79 deletions(-) create mode 100644 assets/index-49987032.js rename assets/{index-dd5fd2a8.css => index-7abf184a.css} (98%) delete mode 100644 assets/index-df33dc05.js diff --git a/assets/index-49987032.js b/assets/index-49987032.js new file mode 100644 index 0000000..ebbbaf1 --- /dev/null +++ b/assets/index-49987032.js @@ -0,0 +1,76 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerpolicy&&(i.referrerPolicy=r.referrerpolicy),r.crossorigin==="use-credentials"?i.credentials="include":r.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();function ds(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}function cn(e){if(me(e)){const t={};for(let n=0;n{if(n){const s=n.split(Wc);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Fn(e){let t="";if(Ve(e))t=e;else if(me(e))for(let n=0;nVe(e)?e:e==null?"":me(e)||Ne(e)&&(e.toString===Ha||!ge(e.toString))?JSON.stringify(e,Da,2):String(e),Da=(e,t)=>t&&t.__v_isRef?Da(e,t.value):Sn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:Fa(t)?{[`Set(${t.size})`]:[...t.values()]}:Ne(t)&&!me(t)&&!Wa(t)?String(t):t,Oe={},kn=[],gt=()=>{},Gc=()=>!1,Kc=/^on[^a-z]/,cr=e=>Kc.test(e),hs=e=>e.startsWith("onUpdate:"),Ze=Object.assign,ps=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Yc=Object.prototype.hasOwnProperty,ke=(e,t)=>Yc.call(e,t),me=Array.isArray,Sn=e=>ur(e)==="[object Map]",Fa=e=>ur(e)==="[object Set]",ge=e=>typeof e=="function",Ve=e=>typeof e=="string",ms=e=>typeof e=="symbol",Ne=e=>e!==null&&typeof e=="object",Ba=e=>Ne(e)&&ge(e.then)&&ge(e.catch),Ha=Object.prototype.toString,ur=e=>Ha.call(e),Xc=e=>ur(e).slice(8,-1),Wa=e=>ur(e)==="[object Object]",gs=e=>Ve(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Hi=ds(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),fr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},qc=/-(\w)/g,Lt=fr(e=>e.replace(qc,(t,n)=>n?n.toUpperCase():"")),Qc=/\B([A-Z])/g,Bn=fr(e=>e.replace(Qc,"-$1").toLowerCase()),dr=fr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Cr=fr(e=>e?`on${dr(e)}`:""),li=(e,t)=>!Object.is(e,t),Ar=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ja=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let to;const Jc=()=>to||(to=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let kt;class Ua{constructor(t=!1){this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=kt,!t&&kt&&(this.index=(kt.scopes||(kt.scopes=[])).push(this)-1)}run(t){if(this.active){const n=kt;try{return kt=this,t()}finally{kt=n}}}on(){kt=this}off(){kt=this.parent}stop(t){if(this.active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Va=e=>(e.w&Xt)>0,za=e=>(e.n&Xt)>0,tu=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(u==="length"||u>=a)&&l.push(d)})}else switch(n!==void 0&&l.push(o.get(n)),t){case"add":me(e)?gs(n)&&l.push(o.get("length")):(l.push(o.get(hn)),Sn(e)&&l.push(o.get(Hr)));break;case"delete":me(e)||(l.push(o.get(hn)),Sn(e)&&l.push(o.get(Hr)));break;case"set":Sn(e)&&l.push(o.get(hn));break}if(l.length===1)l[0]&&Wr(l[0]);else{const a=[];for(const d of l)d&&a.push(...d);Wr(vs(a))}}function Wr(e,t){const n=me(e)?e:[...e];for(const s of n)s.computed&&io(s);for(const s of n)s.computed||io(s)}function io(e,t){(e!==ht||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const iu=ds("__proto__,__v_isRef,__isVue"),Ya=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ms)),ru=ys(),su=ys(!1,!0),ou=ys(!0),ro=au();function au(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=Ae(this);for(let i=0,o=this.length;i{e[t]=function(...n){Hn();const s=Ae(this)[t].apply(this,n);return Wn(),s}}),e}function ys(e=!1,t=!1){return function(s,r,i){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&i===(e?t?Eu:Za:t?Ja:Qa).get(s))return s;const o=me(s);if(!e&&o&&ke(ro,r))return Reflect.get(ro,r,i);const l=Reflect.get(s,r,i);return(ms(r)?Ya.has(r):iu(r))||(e||st(s,"get",r),t)?l:Ye(l)?o&&gs(r)?l:l.value:Ne(l)?e?el(l):xi(l):l}}const lu=Xa(),cu=Xa(!0);function Xa(e=!1){return function(n,s,r,i){let o=n[s];if(Tn(o)&&Ye(o)&&!Ye(r))return!1;if(!e&&(!Gi(r)&&!Tn(r)&&(o=Ae(o),r=Ae(r)),!me(n)&&Ye(o)&&!Ye(r)))return o.value=r,!0;const l=me(n)&&gs(s)?Number(s)e,hr=e=>Reflect.getPrototypeOf(e);function Ci(e,t,n=!1,s=!1){e=e.__v_raw;const r=Ae(e),i=Ae(t);n||(t!==i&&st(r,"get",t),st(r,"get",i));const{has:o}=hr(r),l=s?xs:n?Es:ci;if(o.call(r,t))return l(e.get(t));if(o.call(r,i))return l(e.get(i));e!==r&&e.get(t)}function Ai(e,t=!1){const n=this.__v_raw,s=Ae(n),r=Ae(e);return t||(e!==r&&st(s,"has",e),st(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Ti(e,t=!1){return e=e.__v_raw,!t&&st(Ae(e),"iterate",hn),Reflect.get(e,"size",e)}function so(e){e=Ae(e);const t=Ae(this);return hr(t).has.call(t,e)||(t.add(e),$t(t,"add",e,e)),this}function oo(e,t){t=Ae(t);const n=Ae(this),{has:s,get:r}=hr(n);let i=s.call(n,e);i||(e=Ae(e),i=s.call(n,e));const o=r.call(n,e);return n.set(e,t),i?li(t,o)&&$t(n,"set",e,t):$t(n,"add",e,t),this}function ao(e){const t=Ae(this),{has:n,get:s}=hr(t);let r=n.call(t,e);r||(e=Ae(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&&$t(t,"delete",e,void 0),i}function lo(){const e=Ae(this),t=e.size!==0,n=e.clear();return t&&$t(e,"clear",void 0,void 0),n}function Pi(e,t){return function(s,r){const i=this,o=i.__v_raw,l=Ae(o),a=t?xs:e?Es:ci;return!e&&st(l,"iterate",hn),o.forEach((d,u)=>s.call(r,a(d),a(u),i))}}function Li(e,t,n){return function(...s){const r=this.__v_raw,i=Ae(r),o=Sn(i),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,d=r[e](...s),u=n?xs:t?Es:ci;return!t&&st(i,"iterate",a?Hr:hn),{next(){const{value:h,done:f}=d.next();return f?{value:h,done:f}:{value:l?[u(h[0]),u(h[1])]:u(h),done:f}},[Symbol.iterator](){return this}}}}function Bt(e){return function(...t){return e==="delete"?!1:this}}function mu(){const e={get(i){return Ci(this,i)},get size(){return Ti(this)},has:Ai,add:so,set:oo,delete:ao,clear:lo,forEach:Pi(!1,!1)},t={get(i){return Ci(this,i,!1,!0)},get size(){return Ti(this)},has:Ai,add:so,set:oo,delete:ao,clear:lo,forEach:Pi(!1,!0)},n={get(i){return Ci(this,i,!0)},get size(){return Ti(this,!0)},has(i){return Ai.call(this,i,!0)},add:Bt("add"),set:Bt("set"),delete:Bt("delete"),clear:Bt("clear"),forEach:Pi(!0,!1)},s={get(i){return Ci(this,i,!0,!0)},get size(){return Ti(this,!0)},has(i){return Ai.call(this,i,!0)},add:Bt("add"),set:Bt("set"),delete:Bt("delete"),clear:Bt("clear"),forEach:Pi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Li(i,!1,!1),n[i]=Li(i,!0,!1),t[i]=Li(i,!1,!0),s[i]=Li(i,!0,!0)}),[e,n,t,s]}const[gu,vu,_u,yu]=mu();function bs(e,t){const n=t?e?yu:_u:e?vu:gu;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(ke(n,r)&&r in s?n:s,r,i)}const xu={get:bs(!1,!1)},bu={get:bs(!1,!0)},wu={get:bs(!0,!1)},Qa=new WeakMap,Ja=new WeakMap,Za=new WeakMap,Eu=new WeakMap;function ku(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Su(e){return e.__v_skip||!Object.isExtensible(e)?0:ku(Xc(e))}function xi(e){return Tn(e)?e:ws(e,!1,qa,xu,Qa)}function Cu(e){return ws(e,!1,pu,bu,Ja)}function el(e){return ws(e,!0,hu,wu,Za)}function ws(e,t,n,s,r){if(!Ne(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=Su(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function Cn(e){return Tn(e)?Cn(e.__v_raw):!!(e&&e.__v_isReactive)}function Tn(e){return!!(e&&e.__v_isReadonly)}function Gi(e){return!!(e&&e.__v_isShallow)}function tl(e){return Cn(e)||Tn(e)}function Ae(e){const t=e&&e.__v_raw;return t?Ae(t):e}function nl(e){return zi(e,"__v_skip",!0),e}const ci=e=>Ne(e)?xi(e):e,Es=e=>Ne(e)?el(e):e;function il(e){Kt&&ht&&(e=Ae(e),Ka(e.dep||(e.dep=vs())))}function rl(e,t){e=Ae(e),e.dep&&Wr(e.dep)}function Ye(e){return!!(e&&e.__v_isRef===!0)}function _e(e){return ol(e,!1)}function sl(e){return ol(e,!0)}function ol(e,t){return Ye(e)?e:new Au(e,t)}class Au{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Ae(t),this._value=n?t:ci(t)}get value(){return il(this),this._value}set value(t){const n=this.__v_isShallow||Gi(t)||Tn(t);t=n?t:Ae(t),li(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:ci(t),rl(this))}}function $(e){return Ye(e)?e.value:e}const Tu={get:(e,t,n)=>$(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Ye(r)&&!Ye(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function al(e){return Cn(e)?e:new Proxy(e,Tu)}var ll;class Pu{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[ll]=!1,this._dirty=!0,this.effect=new _s(t,()=>{this._dirty||(this._dirty=!0,rl(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=Ae(this);return il(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}ll="__v_isReadonly";function Lu(e,t,n=!1){let s,r;const i=ge(e);return i?(s=e,r=gt):(s=e.get,r=e.set),new Pu(s,r,i||!r,n)}function Yt(e,t,n,s){let r;try{r=s?e(...s):e()}catch(i){pr(i,t,n)}return r}function vt(e,t,n,s){if(ge(e)){const i=Yt(e,t,n,s);return i&&Ba(i)&&i.catch(o=>{pr(o,t,n)}),i}const r=[];for(let i=0;i>>1;fi(qe[s])At&&qe.splice(t,1)}function Ru(e){me(e)?An.push(...e):(!Nt||!Nt.includes(e,e.allowRecurse?sn+1:sn))&&An.push(e),fl()}function co(e,t=ui?At+1:0){for(;tfi(n)-fi(s)),sn=0;sne.id==null?1/0:e.id,Nu=(e,t)=>{const n=fi(e)-fi(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function hl(e){jr=!1,ui=!0,qe.sort(Nu);const t=gt;try{for(At=0;AtVe(c)?c.trim():c)),h&&(r=n.map(ja))}let l,a=s[l=Cr(t)]||s[l=Cr(Lt(t))];!a&&i&&(a=s[l=Cr(Bn(t))]),a&&vt(a,e,6,r);const d=s[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,vt(d,e,6,r)}}function pl(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!ge(e)){const a=d=>{const u=pl(d,t,!0);u&&(l=!0,Ze(o,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(Ne(e)&&s.set(e,null),null):(me(i)?i.forEach(a=>o[a]=null):Ze(o,i),Ne(e)&&s.set(e,o),o)}function mr(e,t){return!e||!cr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ke(e,t[0].toLowerCase()+t.slice(1))||ke(e,Bn(t))||ke(e,t))}let Xe=null,ml=null;function Ki(e){const t=Xe;return Xe=e,ml=e&&e.type.__scopeId||null,t}function Re(e,t=Xe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&yo(-1);const i=Ki(t);let o;try{o=e(...r)}finally{Ki(i),s._d&&yo(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Tr(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:l,attrs:a,emit:d,render:u,renderCache:h,data:f,setupState:c,ctx:m,inheritAttrs:p}=e;let _,v;const k=Ki(e);try{if(n.shapeFlag&4){const g=r||s;_=St(u.call(g,g,h,i,c,f,m)),v=a}else{const g=t;_=St(g.length>1?g(i,{attrs:a,slots:l,emit:d}):g(i,null)),v=t.props?a:Du(a)}}catch(g){Zn.length=0,pr(g,e,1),_=X(qt)}let S=_;if(v&&p!==!1){const g=Object.keys(v),{shapeFlag:y}=S;g.length&&y&7&&(o&&g.some(hs)&&(v=Fu(v,o)),S=Pn(S,v))}return n.dirs&&(S=Pn(S),S.dirs=S.dirs?S.dirs.concat(n.dirs):n.dirs),n.transition&&(S.transition=n.transition),_=S,Ki(k),_}const Du=e=>{let t;for(const n in e)(n==="class"||n==="style"||cr(n))&&((t||(t={}))[n]=e[n]);return t},Fu=(e,t)=>{const n={};for(const s in e)(!hs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Bu(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:a}=t,d=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?uo(s,o,d):!!o;if(a&8){const u=t.dynamicProps;for(let h=0;he.__isSuspense;function ju(e,t){t&&t.pendingBranch?me(e)?t.effects.push(...e):t.effects.push(e):Ru(e)}function Wi(e,t){if(ze){let n=ze.provides;const s=ze.parent&&ze.parent.provides;s===n&&(n=ze.provides=Object.create(s)),n[e]=t}}function _t(e,t,n=!1){const s=ze||Xe;if(s){const r=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&ge(t)?t.call(s.proxy):t}}const Ii={};function Tt(e,t,n){return gl(e,t,n)}function gl(e,t,{immediate:n,deep:s,flush:r,onTrack:i,onTrigger:o}=Oe){const l=ze;let a,d=!1,u=!1;if(Ye(e)?(a=()=>e.value,d=Gi(e)):Cn(e)?(a=()=>e,s=!0):me(e)?(u=!0,d=e.some(S=>Cn(S)||Gi(S)),a=()=>e.map(S=>{if(Ye(S))return S.value;if(Cn(S))return un(S);if(ge(S))return Yt(S,l,2)})):ge(e)?t?a=()=>Yt(e,l,2):a=()=>{if(!(l&&l.isUnmounted))return h&&h(),vt(e,l,3,[f])}:a=gt,t&&s){const S=a;a=()=>un(S())}let h,f=S=>{h=v.onStop=()=>{Yt(S,l,4)}},c;if(pi)if(f=gt,t?n&&vt(t,l,3,[a(),u?[]:void 0,f]):a(),r==="sync"){const S=Nf();c=S.__watcherHandles||(S.__watcherHandles=[])}else return gt;let m=u?new Array(e.length).fill(Ii):Ii;const p=()=>{if(v.active)if(t){const S=v.run();(s||d||(u?S.some((g,y)=>li(g,m[y])):li(S,m)))&&(h&&h(),vt(t,l,3,[S,m===Ii?void 0:u&&m[0]===Ii?[]:m,f]),m=S)}else v.run()};p.allowRecurse=!!t;let _;r==="sync"?_=p:r==="post"?_=()=>tt(p,l&&l.suspense):(p.pre=!0,l&&(p.id=l.uid),_=()=>Ss(p));const v=new _s(a,_);t?n?p():m=v.run():r==="post"?tt(v.run.bind(v),l&&l.suspense):v.run();const k=()=>{v.stop(),l&&l.scope&&ps(l.scope.effects,v)};return c&&c.push(k),k}function Uu(e,t,n){const s=this.proxy,r=Ve(e)?e.includes(".")?vl(s,e):()=>s[e]:e.bind(s,s);let i;ge(t)?i=t:(i=t.handler,n=t);const o=ze;Ln(this);const l=gl(r,i.bind(s),n);return o?Ln(o):pn(),l}function vl(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{un(n,t)});else if(Wa(e))for(const n in e)un(e[n],t);return e}function he(e){return ge(e)?{setup:e,name:e.name}:e}const Qn=e=>!!e.type.__asyncLoader,_l=e=>e.type.__isKeepAlive;function Vu(e,t){yl(e,"a",t)}function zu(e,t){yl(e,"da",t)}function yl(e,t,n=ze){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(gr(t,s,n),n){let r=n.parent;for(;r&&r.parent;)_l(r.parent.vnode)&&Gu(s,t,n,r),r=r.parent}}function Gu(e,t,n,s){const r=gr(t,e,s,!0);Cs(()=>{ps(s[t],r)},n)}function gr(e,t,n=ze,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Hn(),Ln(n);const l=vt(t,n,e,o);return pn(),Wn(),l});return s?r.unshift(i):r.push(i),i}}const Ft=e=>(t,n=ze)=>(!pi||e==="sp")&&gr(e,(...s)=>t(...s),n),xl=Ft("bm"),ut=Ft("m"),Ku=Ft("bu"),Yu=Ft("u"),Xu=Ft("bum"),Cs=Ft("um"),qu=Ft("sp"),Qu=Ft("rtg"),Ju=Ft("rtc");function Zu(e,t=ze){gr("ec",e,t)}function fn(e,t){const n=Xe;if(n===null)return e;const s=_r(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;it(o,l,void 0,i&&i[l]));else{const o=Object.keys(e);r=new Array(o.length);for(let l=0,a=o.length;lqi(t)?!(t.type===qt||t.type===Be&&!wl(t.children)):!0)?e:null}const Ur=e=>e?Ml(e)?_r(e)||e.proxy:Ur(e.parent):null,Jn=Ze(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=>Ur(e.parent),$root:e=>Ur(e.root),$emit:e=>e.emit,$options:e=>Ts(e),$forceUpdate:e=>e.f||(e.f=()=>Ss(e.update)),$nextTick:e=>e.n||(e.n=ul.bind(e.proxy)),$watch:e=>Uu.bind(e)}),Pr=(e,t)=>e!==Oe&&!e.__isScriptSetup&&ke(e,t),rf={get({_:e},t){const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:a}=e;let d;if(t[0]!=="$"){const c=o[t];if(c!==void 0)switch(c){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Pr(s,t))return o[t]=1,s[t];if(r!==Oe&&ke(r,t))return o[t]=2,r[t];if((d=e.propsOptions[0])&&ke(d,t))return o[t]=3,i[t];if(n!==Oe&&ke(n,t))return o[t]=4,n[t];Vr&&(o[t]=0)}}const u=Jn[t];let h,f;if(u)return t==="$attrs"&&st(e,"get",t),u(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==Oe&&ke(n,t))return o[t]=4,n[t];if(f=a.config.globalProperties,ke(f,t))return f[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Pr(r,t)?(r[t]=n,!0):s!==Oe&&ke(s,t)?(s[t]=n,!0):ke(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let l;return!!n[o]||e!==Oe&&ke(e,o)||Pr(t,o)||(l=i[0])&&ke(l,o)||ke(s,o)||ke(Jn,o)||ke(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ke(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let Vr=!0;function sf(e){const t=Ts(e),n=e.proxy,s=e.ctx;Vr=!1,t.beforeCreate&&ho(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:a,inject:d,created:u,beforeMount:h,mounted:f,beforeUpdate:c,updated:m,activated:p,deactivated:_,beforeDestroy:v,beforeUnmount:k,destroyed:S,unmounted:g,render:y,renderTracked:b,renderTriggered:w,errorCaptured:P,serverPrefetch:T,expose:O,inheritAttrs:L,components:N,directives:F,filters:z}=t;if(d&&of(d,s,null,e.appContext.config.unwrapInjectedRef),o)for(const q in o){const ne=o[q];ge(ne)&&(s[q]=ne.bind(n))}if(r){const q=r.call(n,n);Ne(q)&&(e.data=xi(q))}if(Vr=!0,i)for(const q in i){const ne=i[q],re=ge(ne)?ne.bind(n,n):ge(ne.get)?ne.get.bind(n,n):gt,pe=!ge(ne)&&ge(ne.set)?ne.set.bind(n):gt,fe=De({get:re,set:pe});Object.defineProperty(s,q,{enumerable:!0,configurable:!0,get:()=>fe.value,set:ce=>fe.value=ce})}if(l)for(const q in l)El(l[q],s,n,q);if(a){const q=ge(a)?a.call(n):a;Reflect.ownKeys(q).forEach(ne=>{Wi(ne,q[ne])})}u&&ho(u,e,"c");function U(q,ne){me(ne)?ne.forEach(re=>q(re.bind(n))):ne&&q(ne.bind(n))}if(U(xl,h),U(ut,f),U(Ku,c),U(Yu,m),U(Vu,p),U(zu,_),U(Zu,P),U(Ju,b),U(Qu,w),U(Xu,k),U(Cs,g),U(qu,T),me(O))if(O.length){const q=e.exposed||(e.exposed={});O.forEach(ne=>{Object.defineProperty(q,ne,{get:()=>n[ne],set:re=>n[ne]=re})})}else e.exposed||(e.exposed={});y&&e.render===gt&&(e.render=y),L!=null&&(e.inheritAttrs=L),N&&(e.components=N),F&&(e.directives=F)}function of(e,t,n=gt,s=!1){me(e)&&(e=zr(e));for(const r in e){const i=e[r];let o;Ne(i)?"default"in i?o=_t(i.from||r,i.default,!0):o=_t(i.from||r):o=_t(i),Ye(o)&&s?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:l=>o.value=l}):t[r]=o}}function ho(e,t,n){vt(me(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function El(e,t,n,s){const r=s.includes(".")?vl(n,s):()=>n[s];if(Ve(e)){const i=t[e];ge(i)&&Tt(r,i)}else if(ge(e))Tt(r,e.bind(n));else if(Ne(e))if(me(e))e.forEach(i=>El(i,t,n,s));else{const i=ge(e.handler)?e.handler.bind(n):t[e.handler];ge(i)&&Tt(r,i,e)}}function Ts(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let a;return l?a=l:!r.length&&!n&&!s?a=t:(a={},r.length&&r.forEach(d=>Xi(a,d,o,!0)),Xi(a,t,o)),Ne(t)&&i.set(t,a),a}function Xi(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Xi(e,i,n,!0),r&&r.forEach(o=>Xi(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=af[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const af={data:po,props:rn,emits:rn,methods:rn,computed:rn,beforeCreate:Qe,created:Qe,beforeMount:Qe,mounted:Qe,beforeUpdate:Qe,updated:Qe,beforeDestroy:Qe,beforeUnmount:Qe,destroyed:Qe,unmounted:Qe,activated:Qe,deactivated:Qe,errorCaptured:Qe,serverPrefetch:Qe,components:rn,directives:rn,watch:cf,provide:po,inject:lf};function po(e,t){return t?e?function(){return Ze(ge(e)?e.call(this,this):e,ge(t)?t.call(this,this):t)}:t:e}function lf(e,t){return rn(zr(e),zr(t))}function zr(e){if(me(e)){const t={};for(let n=0;n0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let h=0;h{a=!0;const[f,c]=Sl(h,t,!0);Ze(o,f),c&&l.push(...c)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!a)return Ne(e)&&s.set(e,kn),kn;if(me(i))for(let u=0;u-1,c[1]=p<0||m-1||ke(c,"default"))&&l.push(h)}}}const d=[o,l];return Ne(e)&&s.set(e,d),d}function mo(e){return e[0]!=="$"}function go(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function vo(e,t){return go(e)===go(t)}function _o(e,t){return me(t)?t.findIndex(n=>vo(n,e)):ge(t)&&vo(t,e)?0:-1}const Cl=e=>e[0]==="_"||e==="$stable",Ps=e=>me(e)?e.map(St):[St(e)],df=(e,t,n)=>{if(t._n)return t;const s=Re((...r)=>Ps(t(...r)),n);return s._c=!1,s},Al=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Cl(r))continue;const i=e[r];if(ge(i))t[r]=df(r,i,s);else if(i!=null){const o=Ps(i);t[r]=()=>o}}},Tl=(e,t)=>{const n=Ps(t);e.slots.default=()=>n},hf=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Ae(t),zi(t,"_",n)):Al(t,e.slots={})}else e.slots={},t&&Tl(e,t);zi(e.slots,vr,1)},pf=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=Oe;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(Ze(r,t),!n&&l===1&&delete r._):(i=!t.$stable,Al(t,r)),o=t}else t&&(Tl(e,t),o={default:1});if(i)for(const l in r)!Cl(l)&&!(l in o)&&delete r[l]};function Pl(){return{app:null,config:{isNativeTag:Gc,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 mf=0;function gf(e,t){return function(s,r=null){ge(s)||(s=Object.assign({},s)),r!=null&&!Ne(r)&&(r=null);const i=Pl(),o=new Set;let l=!1;const a=i.app={_uid:mf++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:$f,get config(){return i.config},set config(d){},use(d,...u){return o.has(d)||(d&&ge(d.install)?(o.add(d),d.install(a,...u)):ge(d)&&(o.add(d),d(a,...u))),a},mixin(d){return i.mixins.includes(d)||i.mixins.push(d),a},component(d,u){return u?(i.components[d]=u,a):i.components[d]},directive(d,u){return u?(i.directives[d]=u,a):i.directives[d]},mount(d,u,h){if(!l){const f=X(s,r);return f.appContext=i,u&&t?t(f,d):e(f,d,h),l=!0,a._container=d,d.__vue_app__=a,_r(f.component)||f.component.proxy}},unmount(){l&&(e(null,a._container),delete a._container.__vue_app__)},provide(d,u){return i.provides[d]=u,a}};return a}}function Kr(e,t,n,s,r=!1){if(me(e)){e.forEach((f,c)=>Kr(f,t&&(me(t)?t[c]:t),n,s,r));return}if(Qn(s)&&!r)return;const i=s.shapeFlag&4?_r(s.component)||s.component.proxy:s.el,o=r?null:i,{i:l,r:a}=e,d=t&&t.r,u=l.refs===Oe?l.refs={}:l.refs,h=l.setupState;if(d!=null&&d!==a&&(Ve(d)?(u[d]=null,ke(h,d)&&(h[d]=null)):Ye(d)&&(d.value=null)),ge(a))Yt(a,l,12,[o,u]);else{const f=Ve(a),c=Ye(a);if(f||c){const m=()=>{if(e.f){const p=f?ke(h,a)?h[a]:u[a]:a.value;r?me(p)&&ps(p,i):me(p)?p.includes(i)||p.push(i):f?(u[a]=[i],ke(h,a)&&(h[a]=u[a])):(a.value=[i],e.k&&(u[e.k]=a.value))}else f?(u[a]=o,ke(h,a)&&(h[a]=o)):c&&(a.value=o,e.k&&(u[e.k]=o))};o?(m.id=-1,tt(m,n)):m()}}}const tt=ju;function vf(e){return _f(e)}function _f(e,t){const n=Jc();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:a,setText:d,setElementText:u,parentNode:h,nextSibling:f,setScopeId:c=gt,insertStaticContent:m}=e,p=(C,x,E,A=null,M=null,H=null,j=!1,V=null,G=!!x.dynamicChildren)=>{if(C===x)return;C&&!Vn(C,x)&&(A=K(C),ce(C,M,H,!0),C=null),x.patchFlag===-2&&(G=!1,x.dynamicChildren=null);const{type:W,ref:R,shapeFlag:D}=x;switch(W){case bi:_(C,x,E,A);break;case qt:v(C,x,E,A);break;case Lr:C==null&&k(x,E,A,j);break;case Be:N(C,x,E,A,M,H,j,V,G);break;default:D&1?y(C,x,E,A,M,H,j,V,G):D&6?F(C,x,E,A,M,H,j,V,G):(D&64||D&128)&&W.process(C,x,E,A,M,H,j,V,G,le)}R!=null&&M&&Kr(R,C&&C.ref,H,x||C,!x)},_=(C,x,E,A)=>{if(C==null)s(x.el=l(x.children),E,A);else{const M=x.el=C.el;x.children!==C.children&&d(M,x.children)}},v=(C,x,E,A)=>{C==null?s(x.el=a(x.children||""),E,A):x.el=C.el},k=(C,x,E,A)=>{[C.el,C.anchor]=m(C.children,x,E,A,C.el,C.anchor)},S=({el:C,anchor:x},E,A)=>{let M;for(;C&&C!==x;)M=f(C),s(C,E,A),C=M;s(x,E,A)},g=({el:C,anchor:x})=>{let E;for(;C&&C!==x;)E=f(C),r(C),C=E;r(x)},y=(C,x,E,A,M,H,j,V,G)=>{j=j||x.type==="svg",C==null?b(x,E,A,M,H,j,V,G):T(C,x,M,H,j,V,G)},b=(C,x,E,A,M,H,j,V)=>{let G,W;const{type:R,props:D,shapeFlag:ie,transition:se,dirs:de}=C;if(G=C.el=o(C.type,H,D&&D.is,D),ie&8?u(G,C.children):ie&16&&P(C.children,G,null,A,M,H&&R!=="foreignObject",j,V),de&&tn(C,null,A,"created"),D){for(const ye in D)ye!=="value"&&!Hi(ye)&&i(G,ye,null,D[ye],H,C.children,A,M,Y);"value"in D&&i(G,"value",null,D.value),(W=D.onVnodeBeforeMount)&&wt(W,A,C)}w(G,C,C.scopeId,j,A),de&&tn(C,null,A,"beforeMount");const Ee=(!M||M&&!M.pendingBranch)&&se&&!se.persisted;Ee&&se.beforeEnter(G),s(G,x,E),((W=D&&D.onVnodeMounted)||Ee||de)&&tt(()=>{W&&wt(W,A,C),Ee&&se.enter(G),de&&tn(C,null,A,"mounted")},M)},w=(C,x,E,A,M)=>{if(E&&c(C,E),A)for(let H=0;H{for(let W=G;W{const V=x.el=C.el;let{patchFlag:G,dynamicChildren:W,dirs:R}=x;G|=C.patchFlag&16;const D=C.props||Oe,ie=x.props||Oe;let se;E&&nn(E,!1),(se=ie.onVnodeBeforeUpdate)&&wt(se,E,x,C),R&&tn(x,C,E,"beforeUpdate"),E&&nn(E,!0);const de=M&&x.type!=="foreignObject";if(W?O(C.dynamicChildren,W,V,E,A,de,H):j||ne(C,x,V,null,E,A,de,H,!1),G>0){if(G&16)L(V,x,D,ie,E,A,M);else if(G&2&&D.class!==ie.class&&i(V,"class",null,ie.class,M),G&4&&i(V,"style",D.style,ie.style,M),G&8){const Ee=x.dynamicProps;for(let ye=0;ye{se&&wt(se,E,x,C),R&&tn(x,C,E,"updated")},A)},O=(C,x,E,A,M,H,j)=>{for(let V=0;V{if(E!==A){if(E!==Oe)for(const V in E)!Hi(V)&&!(V in A)&&i(C,V,E[V],null,j,x.children,M,H,Y);for(const V in A){if(Hi(V))continue;const G=A[V],W=E[V];G!==W&&V!=="value"&&i(C,V,W,G,j,x.children,M,H,Y)}"value"in A&&i(C,"value",E.value,A.value)}},N=(C,x,E,A,M,H,j,V,G)=>{const W=x.el=C?C.el:l(""),R=x.anchor=C?C.anchor:l("");let{patchFlag:D,dynamicChildren:ie,slotScopeIds:se}=x;se&&(V=V?V.concat(se):se),C==null?(s(W,E,A),s(R,E,A),P(x.children,E,R,M,H,j,V,G)):D>0&&D&64&&ie&&C.dynamicChildren?(O(C.dynamicChildren,ie,E,M,H,j,V),(x.key!=null||M&&x===M.subTree)&&Ll(C,x,!0)):ne(C,x,E,R,M,H,j,V,G)},F=(C,x,E,A,M,H,j,V,G)=>{x.slotScopeIds=V,C==null?x.shapeFlag&512?M.ctx.activate(x,E,A,j,G):z(x,E,A,M,H,j,G):J(C,x,G)},z=(C,x,E,A,M,H,j)=>{const V=C.component=Af(C,A,M);if(_l(C)&&(V.ctx.renderer=le),Tf(V),V.asyncDep){if(M&&M.registerDep(V,U),!C.el){const G=V.subTree=X(qt);v(null,G,x,E)}return}U(V,C,x,E,M,H,j)},J=(C,x,E)=>{const A=x.component=C.component;if(Bu(C,x,E))if(A.asyncDep&&!A.asyncResolved){q(A,x,E);return}else A.next=x,Mu(A.update),A.update();else x.el=C.el,A.vnode=x},U=(C,x,E,A,M,H,j)=>{const V=()=>{if(C.isMounted){let{next:R,bu:D,u:ie,parent:se,vnode:de}=C,Ee=R,ye;nn(C,!1),R?(R.el=de.el,q(C,R,j)):R=de,D&&Ar(D),(ye=R.props&&R.props.onVnodeBeforeUpdate)&&wt(ye,se,R,de),nn(C,!0);const Fe=Tr(C),ot=C.subTree;C.subTree=Fe,p(ot,Fe,h(ot.el),K(ot),C,M,H),R.el=Fe.el,Ee===null&&Hu(C,Fe.el),ie&&tt(ie,M),(ye=R.props&&R.props.onVnodeUpdated)&&tt(()=>wt(ye,se,R,de),M)}else{let R;const{el:D,props:ie}=x,{bm:se,m:de,parent:Ee}=C,ye=Qn(x);if(nn(C,!1),se&&Ar(se),!ye&&(R=ie&&ie.onVnodeBeforeMount)&&wt(R,Ee,x),nn(C,!0),D&&ae){const Fe=()=>{C.subTree=Tr(C),ae(D,C.subTree,C,M,null)};ye?x.type.__asyncLoader().then(()=>!C.isUnmounted&&Fe()):Fe()}else{const Fe=C.subTree=Tr(C);p(null,Fe,E,A,C,M,H),x.el=Fe.el}if(de&&tt(de,M),!ye&&(R=ie&&ie.onVnodeMounted)){const Fe=x;tt(()=>wt(R,Ee,Fe),M)}(x.shapeFlag&256||Ee&&Qn(Ee.vnode)&&Ee.vnode.shapeFlag&256)&&C.a&&tt(C.a,M),C.isMounted=!0,x=E=A=null}},G=C.effect=new _s(V,()=>Ss(W),C.scope),W=C.update=()=>G.run();W.id=C.uid,nn(C,!0),W()},q=(C,x,E)=>{x.component=C;const A=C.vnode.props;C.vnode=x,C.next=null,ff(C,x.props,A,E),pf(C,x.children,E),Hn(),co(),Wn()},ne=(C,x,E,A,M,H,j,V,G=!1)=>{const W=C&&C.children,R=C?C.shapeFlag:0,D=x.children,{patchFlag:ie,shapeFlag:se}=x;if(ie>0){if(ie&128){pe(W,D,E,A,M,H,j,V,G);return}else if(ie&256){re(W,D,E,A,M,H,j,V,G);return}}se&8?(R&16&&Y(W,M,H),D!==W&&u(E,D)):R&16?se&16?pe(W,D,E,A,M,H,j,V,G):Y(W,M,H,!0):(R&8&&u(E,""),se&16&&P(D,E,A,M,H,j,V,G))},re=(C,x,E,A,M,H,j,V,G)=>{C=C||kn,x=x||kn;const W=C.length,R=x.length,D=Math.min(W,R);let ie;for(ie=0;ieR?Y(C,M,H,!0,!1,D):P(x,E,A,M,H,j,V,G,D)},pe=(C,x,E,A,M,H,j,V,G)=>{let W=0;const R=x.length;let D=C.length-1,ie=R-1;for(;W<=D&&W<=ie;){const se=C[W],de=x[W]=G?jt(x[W]):St(x[W]);if(Vn(se,de))p(se,de,E,null,M,H,j,V,G);else break;W++}for(;W<=D&&W<=ie;){const se=C[D],de=x[ie]=G?jt(x[ie]):St(x[ie]);if(Vn(se,de))p(se,de,E,null,M,H,j,V,G);else break;D--,ie--}if(W>D){if(W<=ie){const se=ie+1,de=seie)for(;W<=D;)ce(C[W],M,H,!0),W++;else{const se=W,de=W,Ee=new Map;for(W=de;W<=ie;W++){const rt=x[W]=G?jt(x[W]):St(x[W]);rt.key!=null&&Ee.set(rt.key,W)}let ye,Fe=0;const ot=ie-de+1;let _n=!1,Js=0;const Un=new Array(ot);for(W=0;W=ot){ce(rt,M,H,!0);continue}let bt;if(rt.key!=null)bt=Ee.get(rt.key);else for(ye=de;ye<=ie;ye++)if(Un[ye-de]===0&&Vn(rt,x[ye])){bt=ye;break}bt===void 0?ce(rt,M,H,!0):(Un[bt-de]=W+1,bt>=Js?Js=bt:_n=!0,p(rt,x[bt],E,null,M,H,j,V,G),Fe++)}const Zs=_n?yf(Un):kn;for(ye=Zs.length-1,W=ot-1;W>=0;W--){const rt=de+W,bt=x[rt],eo=rt+1{const{el:H,type:j,transition:V,children:G,shapeFlag:W}=C;if(W&6){fe(C.component.subTree,x,E,A);return}if(W&128){C.suspense.move(x,E,A);return}if(W&64){j.move(C,x,E,le);return}if(j===Be){s(H,x,E);for(let D=0;DV.enter(H),M);else{const{leave:D,delayLeave:ie,afterLeave:se}=V,de=()=>s(H,x,E),Ee=()=>{D(H,()=>{de(),se&&se()})};ie?ie(H,de,Ee):Ee()}else s(H,x,E)},ce=(C,x,E,A=!1,M=!1)=>{const{type:H,props:j,ref:V,children:G,dynamicChildren:W,shapeFlag:R,patchFlag:D,dirs:ie}=C;if(V!=null&&Kr(V,null,E,C,!0),R&256){x.ctx.deactivate(C);return}const se=R&1&&ie,de=!Qn(C);let Ee;if(de&&(Ee=j&&j.onVnodeBeforeUnmount)&&wt(Ee,x,C),R&6)B(C.component,E,A);else{if(R&128){C.suspense.unmount(E,A);return}se&&tn(C,null,x,"beforeUnmount"),R&64?C.type.remove(C,x,E,M,le,A):W&&(H!==Be||D>0&&D&64)?Y(W,x,E,!1,!0):(H===Be&&D&384||!M&&R&16)&&Y(G,x,E),A&&ve(C)}(de&&(Ee=j&&j.onVnodeUnmounted)||se)&&tt(()=>{Ee&&wt(Ee,x,C),se&&tn(C,null,x,"unmounted")},E)},ve=C=>{const{type:x,el:E,anchor:A,transition:M}=C;if(x===Be){Ce(E,A);return}if(x===Lr){g(C);return}const H=()=>{r(E),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(C.shapeFlag&1&&M&&!M.persisted){const{leave:j,delayLeave:V}=M,G=()=>j(E,H);V?V(C.el,H,G):G()}else H()},Ce=(C,x)=>{let E;for(;C!==x;)E=f(C),r(C),C=E;r(x)},B=(C,x,E)=>{const{bum:A,scope:M,update:H,subTree:j,um:V}=C;A&&Ar(A),M.stop(),H&&(H.active=!1,ce(j,C,x,E)),V&&tt(V,x),tt(()=>{C.isUnmounted=!0},x),x&&x.pendingBranch&&!x.isUnmounted&&C.asyncDep&&!C.asyncResolved&&C.suspenseId===x.pendingId&&(x.deps--,x.deps===0&&x.resolve())},Y=(C,x,E,A=!1,M=!1,H=0)=>{for(let j=H;jC.shapeFlag&6?K(C.component.subTree):C.shapeFlag&128?C.suspense.next():f(C.anchor||C.el),te=(C,x,E)=>{C==null?x._vnode&&ce(x._vnode,null,null,!0):p(x._vnode||null,C,x,null,null,null,E),co(),dl(),x._vnode=C},le={p,um:ce,m:fe,r:ve,mt:z,mc:P,pc:ne,pbc:O,n:K,o:e};let xe,ae;return t&&([xe,ae]=t(le)),{render:te,hydrate:xe,createApp:gf(te,xe)}}function nn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ll(e,t,n=!1){const s=e.children,r=t.children;if(me(s)&&me(r))for(let i=0;i>1,e[n[l]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}const xf=e=>e.__isTeleport,Be=Symbol(void 0),bi=Symbol(void 0),qt=Symbol(void 0),Lr=Symbol(void 0),Zn=[];let pt=null;function Z(e=!1){Zn.push(pt=e?null:[])}function bf(){Zn.pop(),pt=Zn[Zn.length-1]||null}let di=1;function yo(e){di+=e}function Il(e){return e.dynamicChildren=di>0?pt||kn:null,bf(),di>0&&pt&&pt.push(e),e}function oe(e,t,n,s,r,i){return Il(I(e,t,n,s,r,i,!0))}function Ke(e,t,n,s,r){return Il(X(e,t,n,s,r,!0))}function qi(e){return e?e.__v_isVNode===!0:!1}function Vn(e,t){return e.type===t.type&&e.key===t.key}const vr="__vInternal",Ol=({key:e})=>e??null,ji=({ref:e,ref_key:t,ref_for:n})=>e!=null?Ve(e)||Ye(e)||ge(e)?{i:Xe,r:e,k:t,f:!!n}:e:null;function I(e,t=null,n=null,s=0,r=null,i=e===Be?0:1,o=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ol(t),ref:t&&ji(t),scopeId:ml,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Xe};return l?(Ls(a,n),i&128&&e.normalize(a)):n&&(a.shapeFlag|=Ve(n)?8:16),di>0&&!o&&pt&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&pt.push(a),a}const X=wf;function wf(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===tf)&&(e=qt),qi(e)){const l=Pn(e,t,!0);return n&&Ls(l,n),di>0&&!i&&pt&&(l.shapeFlag&6?pt[pt.indexOf(e)]=l:pt.push(l)),l.patchFlag|=-2,l}if(Mf(e)&&(e=e.__vccOpts),t){t=Ef(t);let{class:l,style:a}=t;l&&!Ve(l)&&(t.class=Fn(l)),Ne(a)&&(tl(a)&&!me(a)&&(a=Ze({},a)),t.style=cn(a))}const o=Ve(e)?1:Wu(e)?128:xf(e)?64:Ne(e)?4:ge(e)?2:0;return I(e,t,n,s,r,o,i,!0)}function Ef(e){return e?tl(e)||vr in e?Ze({},e):e:null}function Pn(e,t,n=!1){const{props:s,ref:r,patchFlag:i,children:o}=e,l=t?kf(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Ol(l),ref:t&&t.ref?n&&r?me(r)?r.concat(ji(t)):[r,ji(t)]:ji(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Be?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Pn(e.ssContent),ssFallback:e.ssFallback&&Pn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx}}function Ie(e=" ",t=0){return X(bi,null,e,t)}function Me(e="",t=!1){return t?(Z(),Ke(qt,null,e)):X(qt,null,e)}function St(e){return e==null||typeof e=="boolean"?X(qt):me(e)?X(Be,null,e.slice()):typeof e=="object"?jt(e):X(bi,null,String(e))}function jt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Pn(e)}function Ls(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(me(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Ls(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(vr in t)?t._ctx=Xe:r===3&&Xe&&(Xe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ge(t)?(t={default:t,_ctx:Xe},n=32):(t=String(t),s&64?(n=16,t=[Ie(t)]):n=8);e.children=t,e.shapeFlag|=n}function kf(...e){const t={};for(let n=0;nze||Xe,Ln=e=>{ze=e,e.scope.on()},pn=()=>{ze&&ze.scope.off(),ze=null};function Ml(e){return e.vnode.shapeFlag&4}let pi=!1;function Tf(e,t=!1){pi=t;const{props:n,children:s}=e.vnode,r=Ml(e);uf(e,n,r,t),hf(e,s);const i=r?Pf(e,t):void 0;return pi=!1,i}function Pf(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=nl(new Proxy(e.ctx,rf));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?If(e):null;Ln(e),Hn();const i=Yt(s,e,0,[e.props,r]);if(Wn(),pn(),Ba(i)){if(i.then(pn,pn),t)return i.then(o=>{xo(e,o,t)}).catch(o=>{pr(o,e,0)});e.asyncDep=i}else xo(e,i,t)}else Rl(e,t)}function xo(e,t,n){ge(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ne(t)&&(e.setupState=al(t)),Rl(e,n)}let bo;function Rl(e,t,n){const s=e.type;if(!e.render){if(!t&&bo&&!s.render){const r=s.template||Ts(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:a}=s,d=Ze(Ze({isCustomElement:i,delimiters:l},o),a);s.render=bo(r,d)}}e.render=s.render||gt}Ln(e),Hn(),sf(e),Wn(),pn()}function Lf(e){return new Proxy(e.attrs,{get(t,n){return st(e,"get","$attrs"),t[n]}})}function If(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=Lf(e))},slots:e.slots,emit:e.emit,expose:t}}function _r(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(al(nl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Jn)return Jn[n](e)},has(t,n){return n in t||n in Jn}}))}function Of(e,t=!0){return ge(e)?e.displayName||e.name:e.name||t&&e.__name}function Mf(e){return ge(e)&&"__vccOpts"in e}const De=(e,t)=>Lu(e,t,pi);function yr(e,t,n){const s=arguments.length;return s===2?Ne(t)&&!me(t)?qi(t)?X(e,null,[t]):X(e,t):X(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&qi(n)&&(n=[n]),X(e,t,n))}const Rf=Symbol(""),Nf=()=>_t(Rf),$f="3.2.45",Df="http://www.w3.org/2000/svg",on=typeof document<"u"?document:null,wo=on&&on.createElement("template"),Ff={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t?on.createElementNS(Df,e):on.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>on.createTextNode(e),createComment:e=>on.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>on.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{wo.innerHTML=s?`${e}`:e;const l=wo.content;if(s){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Bf(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Hf(e,t,n){const s=e.style,r=Ve(n);if(n&&!r){for(const i in n)Yr(s,i,n[i]);if(t&&!Ve(t))for(const i in t)n[i]==null&&Yr(s,i,"")}else{const i=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=i)}}const Eo=/\s*!important$/;function Yr(e,t,n){if(me(n))n.forEach(s=>Yr(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Wf(e,t);Eo.test(n)?e.setProperty(Bn(s),n.replace(Eo,""),"important"):e[s]=n}}const ko=["Webkit","Moz","ms"],Ir={};function Wf(e,t){const n=Ir[t];if(n)return n;let s=Lt(t);if(s!=="filter"&&s in e)return Ir[t]=s;s=dr(s);for(let r=0;rOr||(Yf.then(()=>Or=0),Or=Date.now());function qf(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;vt(Qf(s,n.value),t,5,[s])};return n.value=e,n.attached=Xf(),n}function Qf(e,t){if(me(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Ao=/^on[a-z]/,Jf=(e,t,n,s,r=!1,i,o,l,a)=>{t==="class"?Bf(e,s,r):t==="style"?Hf(e,n,s):cr(t)?hs(t)||Gf(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Zf(e,t,s,r))?Uf(e,t,s,i,o,l,a):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),jf(e,t,s,r))};function Zf(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&Ao.test(t)&&ge(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Ao.test(t)&&Ve(n)?!1:t in e}const dn={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):zn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),zn(e,!0),s.enter(e)):s.leave(e,()=>{zn(e,!1)}):zn(e,t))},beforeUnmount(e,{value:t}){zn(e,t)}};function zn(e,t){e.style.display=t?e._vod:"none"}const ed=Ze({patchProp:Jf},Ff);let To;function td(){return To||(To=vf(ed))}const nd=(...e)=>{const t=td().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=id(s);if(!r)return;const i=t._component;!ge(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const o=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function id(e){return Ve(e)?document.querySelector(e):e}/*! + * vue-router v4.1.6 + * (c) 2022 Eduardo San Martin Morote + * @license MIT + */const xn=typeof window<"u";function rd(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Te=Object.assign;function Mr(e,t){const n={};for(const s in t){const r=t[s];n[s]=yt(r)?r.map(e):e(r)}return n}const ei=()=>{},yt=Array.isArray,sd=/\/$/,od=e=>e.replace(sd,"");function Rr(e,t,n="/"){let s,r={},i="",o="";const l=t.indexOf("#");let a=t.indexOf("?");return l=0&&(a=-1),a>-1&&(s=t.slice(0,a),i=t.slice(a+1,l>-1?l:t.length),r=e(i)),l>-1&&(s=s||t.slice(0,l),o=t.slice(l,t.length)),s=ud(s??t,n),{fullPath:s+(i&&"?")+i+o,path:s,query:r,hash:o}}function ad(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Po(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function ld(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&In(t.matched[s],n.matched[r])&&Nl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function In(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Nl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!cd(e[n],t[n]))return!1;return!0}function cd(e,t){return yt(e)?Lo(e,t):yt(t)?Lo(t,e):e===t}function Lo(e,t){return yt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function ud(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/");let r=n.length-1,i,o;for(i=0;i1&&r--;else break;return n.slice(0,r).join("/")+"/"+s.slice(i-(i===s.length?1:0)).join("/")}var mi;(function(e){e.pop="pop",e.push="push"})(mi||(mi={}));var ti;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ti||(ti={}));function fd(e){if(!e)if(xn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),od(e)}const dd=/^[^#]+#/;function hd(e,t){return e.replace(dd,"#")+t}function pd(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const xr=()=>({left:window.pageXOffset,top:window.pageYOffset});function md(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=pd(r,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 Io(e,t){return(history.state?history.state.position-t:-1)+e}const Xr=new Map;function gd(e,t){Xr.set(e,t)}function vd(e){const t=Xr.get(e);return Xr.delete(e),t}let _d=()=>location.protocol+"//"+location.host;function $l(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let l=r.includes(e.slice(i))?e.slice(i).length:1,a=r.slice(l);return a[0]!=="/"&&(a="/"+a),Po(a,"")}return Po(n,e)+s+r}function yd(e,t,n,s){let r=[],i=[],o=null;const l=({state:f})=>{const c=$l(e,location),m=n.value,p=t.value;let _=0;if(f){if(n.value=c,t.value=f,o&&o===m){o=null;return}_=p?f.position-p.position:0}else s(c);r.forEach(v=>{v(n.value,m,{delta:_,type:mi.pop,direction:_?_>0?ti.forward:ti.back:ti.unknown})})};function a(){o=n.value}function d(f){r.push(f);const c=()=>{const m=r.indexOf(f);m>-1&&r.splice(m,1)};return i.push(c),c}function u(){const{history:f}=window;f.state&&f.replaceState(Te({},f.state,{scroll:xr()}),"")}function h(){for(const f of i)f();i=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u),{pauseListeners:a,listen:d,destroy:h}}function Oo(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?xr():null}}function xd(e){const{history:t,location:n}=window,s={value:$l(e,n)},r={value:t.state};r.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(a,d,u){const h=e.indexOf("#"),f=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+a:_d()+e+a;try{t[u?"replaceState":"pushState"](d,"",f),r.value=d}catch(c){console.error(c),n[u?"replace":"assign"](f)}}function o(a,d){const u=Te({},t.state,Oo(r.value.back,a,r.value.forward,!0),d,{position:r.value.position});i(a,u,!0),s.value=a}function l(a,d){const u=Te({},r.value,t.state,{forward:a,scroll:xr()});i(u.current,u,!0);const h=Te({},Oo(s.value,a,null),{position:u.position+1},d);i(a,h,!1),s.value=a}return{location:s,state:r,push:l,replace:o}}function bd(e){e=fd(e);const t=xd(e),n=yd(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=Te({location:"",base:e,go:s,createHref:hd.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function wd(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),bd(e)}function Ed(e){return typeof e=="string"||e&&typeof e=="object"}function Dl(e){return typeof e=="string"||typeof e=="symbol"}const Ht={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Fl=Symbol("");var Mo;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Mo||(Mo={}));function On(e,t){return Te(new Error,{type:e,[Fl]:!0},t)}function Mt(e,t){return e instanceof Error&&Fl in e&&(t==null||!!(e.type&t))}const Ro="[^/]+?",kd={sensitive:!1,strict:!1,start:!0,end:!0},Sd=/[.+*?^${}()[\]/\\]/g;function Cd(e,t){const n=Te({},kd,t),s=[];let r=n.start?"^":"";const i=[];for(const d of e){const u=d.length?[]:[90];n.strict&&!d.length&&(r+="/");for(let h=0;ht.length?t.length===1&&t[0]===40+40?1:-1:0}function Td(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const Pd={type:0,value:""},Ld=/[a-zA-Z0-9_]/;function Id(e){if(!e)return[[]];if(e==="/")return[[Pd]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(c){throw new Error(`ERR (${n})/"${d}": ${c}`)}let n=0,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let l=0,a,d="",u="";function h(){d&&(n===0?i.push({type:0,value:d}):n===1||n===2||n===3?(i.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:d,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),d="")}function f(){d+=a}for(;l{o(k)}:ei}function o(u){if(Dl(u)){const h=s.get(u);h&&(s.delete(u),n.splice(n.indexOf(h),1),h.children.forEach(o),h.alias.forEach(o))}else{const h=n.indexOf(u);h>-1&&(n.splice(h,1),u.record.name&&s.delete(u.record.name),u.children.forEach(o),u.alias.forEach(o))}}function l(){return n}function a(u){let h=0;for(;h=0&&(u.record.path!==n[h].record.path||!Bl(u,n[h]));)h++;n.splice(h,0,u),u.record.name&&!Do(u)&&s.set(u.record.name,u)}function d(u,h){let f,c={},m,p;if("name"in u&&u.name){if(f=s.get(u.name),!f)throw On(1,{location:u});p=f.record.name,c=Te($o(h.params,f.keys.filter(k=>!k.optional).map(k=>k.name)),u.params&&$o(u.params,f.keys.map(k=>k.name))),m=f.stringify(c)}else if("path"in u)m=u.path,f=n.find(k=>k.re.test(m)),f&&(c=f.parse(m),p=f.record.name);else{if(f=h.name?s.get(h.name):n.find(k=>k.re.test(h.path)),!f)throw On(1,{location:u,currentLocation:h});p=f.record.name,c=Te({},h.params,u.params),m=f.stringify(c)}const _=[];let v=f;for(;v;)_.unshift(v.record),v=v.parent;return{name:p,path:m,params:c,matched:_,meta:$d(_)}}return e.forEach(u=>i(u)),{addRoute:i,resolve:d,removeRoute:o,getRoutes:l,getRecordMatcher:r}}function $o(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Rd(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Nd(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 Nd(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="boolean"?n:n[s];return t}function Do(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function $d(e){return e.reduce((t,n)=>Te(t,n.meta),{})}function Fo(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Bl(e,t){return t.children.some(n=>n===e||Bl(e,n))}const Hl=/#/g,Dd=/&/g,Fd=/\//g,Bd=/=/g,Hd=/\?/g,Wl=/\+/g,Wd=/%5B/g,jd=/%5D/g,jl=/%5E/g,Ud=/%60/g,Ul=/%7B/g,Vd=/%7C/g,Vl=/%7D/g,zd=/%20/g;function Is(e){return encodeURI(""+e).replace(Vd,"|").replace(Wd,"[").replace(jd,"]")}function Gd(e){return Is(e).replace(Ul,"{").replace(Vl,"}").replace(jl,"^")}function qr(e){return Is(e).replace(Wl,"%2B").replace(zd,"+").replace(Hl,"%23").replace(Dd,"%26").replace(Ud,"`").replace(Ul,"{").replace(Vl,"}").replace(jl,"^")}function Kd(e){return qr(e).replace(Bd,"%3D")}function Yd(e){return Is(e).replace(Hl,"%23").replace(Hd,"%3F")}function Xd(e){return e==null?"":Yd(e).replace(Fd,"%2F")}function Qi(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function qd(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ri&&qr(i)):[s&&qr(s)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function Qd(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=yt(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Jd=Symbol(""),Ho=Symbol(""),Os=Symbol(""),Ms=Symbol(""),Qr=Symbol("");function Gn(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function Ut(e,t,n,s,r){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((o,l)=>{const a=h=>{h===!1?l(On(4,{from:n,to:t})):h instanceof Error?l(h):Ed(h)?l(On(2,{from:t,to:h})):(i&&s.enterCallbacks[r]===i&&typeof h=="function"&&i.push(h),o())},d=e.call(s&&s.instances[r],t,n,a);let u=Promise.resolve(d);e.length<3&&(u=u.then(a)),u.catch(h=>l(h))})}function Nr(e,t,n,s){const r=[];for(const i of e)for(const o in i.components){let l=i.components[o];if(!(t!=="beforeRouteEnter"&&!i.instances[o]))if(Zd(l)){const d=(l.__vccOpts||l)[t];d&&r.push(Ut(d,n,s,i,o))}else{let a=l();r.push(()=>a.then(d=>{if(!d)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${i.path}"`));const u=rd(d)?d.default:d;i.components[o]=u;const f=(u.__vccOpts||u)[t];return f&&Ut(f,n,s,i,o)()}))}}return r}function Zd(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Wo(e){const t=_t(Os),n=_t(Ms),s=De(()=>t.resolve($(e.to))),r=De(()=>{const{matched:a}=s.value,{length:d}=a,u=a[d-1],h=n.matched;if(!u||!h.length)return-1;const f=h.findIndex(In.bind(null,u));if(f>-1)return f;const c=jo(a[d-2]);return d>1&&jo(u)===c&&h[h.length-1].path!==c?h.findIndex(In.bind(null,a[d-2])):f}),i=De(()=>r.value>-1&&ih(n.params,s.value.params)),o=De(()=>r.value>-1&&r.value===n.matched.length-1&&Nl(n.params,s.value.params));function l(a={}){return nh(a)?t[$(e.replace)?"replace":"push"]($(e.to)).catch(ei):Promise.resolve()}return{route:s,href:De(()=>s.value.href),isActive:i,isExactActive:o,navigate:l}}const eh=he({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:Wo,setup(e,{slots:t}){const n=xi(Wo(e)),{options:s}=_t(Os),r=De(()=>({[Uo(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Uo(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:yr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),th=eh;function nh(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 ih(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!yt(r)||r.length!==s.length||s.some((i,o)=>i!==r[o]))return!1}return!0}function jo(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Uo=(e,t,n)=>e??t??n,rh=he({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=_t(Qr),r=De(()=>e.route||s.value),i=_t(Ho,0),o=De(()=>{let d=$(i);const{matched:u}=r.value;let h;for(;(h=u[d])&&!h.components;)d++;return d}),l=De(()=>r.value.matched[o.value]);Wi(Ho,De(()=>o.value+1)),Wi(Jd,l),Wi(Qr,r);const a=_e();return Tt(()=>[a.value,l.value,e.name],([d,u,h],[f,c,m])=>{u&&(u.instances[h]=d,c&&c!==u&&d&&d===f&&(u.leaveGuards.size||(u.leaveGuards=c.leaveGuards),u.updateGuards.size||(u.updateGuards=c.updateGuards))),d&&u&&(!c||!In(u,c)||!f)&&(u.enterCallbacks[h]||[]).forEach(p=>p(d))},{flush:"post"}),()=>{const d=r.value,u=e.name,h=l.value,f=h&&h.components[u];if(!f)return Vo(n.default,{Component:f,route:d});const c=h.props[u],m=c?c===!0?d.params:typeof c=="function"?c(d):c:null,_=yr(f,Te({},m,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(h.instances[u]=null)},ref:a}));return Vo(n.default,{Component:_,route:d})||_}}});function Vo(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const zl=rh;function sh(e){const t=Md(e.routes,e),n=e.parseQuery||qd,s=e.stringifyQuery||Bo,r=e.history,i=Gn(),o=Gn(),l=Gn(),a=sl(Ht);let d=Ht;xn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Mr.bind(null,B=>""+B),h=Mr.bind(null,Xd),f=Mr.bind(null,Qi);function c(B,Y){let K,te;return Dl(B)?(K=t.getRecordMatcher(B),te=Y):te=B,t.addRoute(te,K)}function m(B){const Y=t.getRecordMatcher(B);Y&&t.removeRoute(Y)}function p(){return t.getRoutes().map(B=>B.record)}function _(B){return!!t.getRecordMatcher(B)}function v(B,Y){if(Y=Te({},Y||a.value),typeof B=="string"){const C=Rr(n,B,Y.path),x=t.resolve({path:C.path},Y),E=r.createHref(C.fullPath);return Te(C,x,{params:f(x.params),hash:Qi(C.hash),redirectedFrom:void 0,href:E})}let K;if("path"in B)K=Te({},B,{path:Rr(n,B.path,Y.path).path});else{const C=Te({},B.params);for(const x in C)C[x]==null&&delete C[x];K=Te({},B,{params:h(B.params)}),Y.params=h(Y.params)}const te=t.resolve(K,Y),le=B.hash||"";te.params=u(f(te.params));const xe=ad(s,Te({},B,{hash:Gd(le),path:te.path})),ae=r.createHref(xe);return Te({fullPath:xe,hash:le,query:s===Bo?Qd(B.query):B.query||{}},te,{redirectedFrom:void 0,href:ae})}function k(B){return typeof B=="string"?Rr(n,B,a.value.path):Te({},B)}function S(B,Y){if(d!==B)return On(8,{from:Y,to:B})}function g(B){return w(B)}function y(B){return g(Te(k(B),{replace:!0}))}function b(B){const Y=B.matched[B.matched.length-1];if(Y&&Y.redirect){const{redirect:K}=Y;let te=typeof K=="function"?K(B):K;return typeof te=="string"&&(te=te.includes("?")||te.includes("#")?te=k(te):{path:te},te.params={}),Te({query:B.query,hash:B.hash,params:"path"in te?{}:B.params},te)}}function w(B,Y){const K=d=v(B),te=a.value,le=B.state,xe=B.force,ae=B.replace===!0,C=b(K);if(C)return w(Te(k(C),{state:typeof C=="object"?Te({},le,C.state):le,force:xe,replace:ae}),Y||K);const x=K;x.redirectedFrom=Y;let E;return!xe&&ld(s,te,K)&&(E=On(16,{to:x,from:te}),pe(te,te,!0,!1)),(E?Promise.resolve(E):T(x,te)).catch(A=>Mt(A)?Mt(A,2)?A:re(A):q(A,x,te)).then(A=>{if(A){if(Mt(A,2))return w(Te({replace:ae},k(A.to),{state:typeof A.to=="object"?Te({},le,A.to.state):le,force:xe}),Y||x)}else A=L(x,te,!0,ae,le);return O(x,te,A),A})}function P(B,Y){const K=S(B,Y);return K?Promise.reject(K):Promise.resolve()}function T(B,Y){let K;const[te,le,xe]=oh(B,Y);K=Nr(te.reverse(),"beforeRouteLeave",B,Y);for(const C of te)C.leaveGuards.forEach(x=>{K.push(Ut(x,B,Y))});const ae=P.bind(null,B,Y);return K.push(ae),yn(K).then(()=>{K=[];for(const C of i.list())K.push(Ut(C,B,Y));return K.push(ae),yn(K)}).then(()=>{K=Nr(le,"beforeRouteUpdate",B,Y);for(const C of le)C.updateGuards.forEach(x=>{K.push(Ut(x,B,Y))});return K.push(ae),yn(K)}).then(()=>{K=[];for(const C of B.matched)if(C.beforeEnter&&!Y.matched.includes(C))if(yt(C.beforeEnter))for(const x of C.beforeEnter)K.push(Ut(x,B,Y));else K.push(Ut(C.beforeEnter,B,Y));return K.push(ae),yn(K)}).then(()=>(B.matched.forEach(C=>C.enterCallbacks={}),K=Nr(xe,"beforeRouteEnter",B,Y),K.push(ae),yn(K))).then(()=>{K=[];for(const C of o.list())K.push(Ut(C,B,Y));return K.push(ae),yn(K)}).catch(C=>Mt(C,8)?C:Promise.reject(C))}function O(B,Y,K){for(const te of l.list())te(B,Y,K)}function L(B,Y,K,te,le){const xe=S(B,Y);if(xe)return xe;const ae=Y===Ht,C=xn?history.state:{};K&&(te||ae?r.replace(B.fullPath,Te({scroll:ae&&C&&C.scroll},le)):r.push(B.fullPath,le)),a.value=B,pe(B,Y,K,ae),re()}let N;function F(){N||(N=r.listen((B,Y,K)=>{if(!Ce.listening)return;const te=v(B),le=b(te);if(le){w(Te(le,{replace:!0}),te).catch(ei);return}d=te;const xe=a.value;xn&&gd(Io(xe.fullPath,K.delta),xr()),T(te,xe).catch(ae=>Mt(ae,12)?ae:Mt(ae,2)?(w(ae.to,te).then(C=>{Mt(C,20)&&!K.delta&&K.type===mi.pop&&r.go(-1,!1)}).catch(ei),Promise.reject()):(K.delta&&r.go(-K.delta,!1),q(ae,te,xe))).then(ae=>{ae=ae||L(te,xe,!1),ae&&(K.delta&&!Mt(ae,8)?r.go(-K.delta,!1):K.type===mi.pop&&Mt(ae,20)&&r.go(-1,!1)),O(te,xe,ae)}).catch(ei)}))}let z=Gn(),J=Gn(),U;function q(B,Y,K){re(B);const te=J.list();return te.length?te.forEach(le=>le(B,Y,K)):console.error(B),Promise.reject(B)}function ne(){return U&&a.value!==Ht?Promise.resolve():new Promise((B,Y)=>{z.add([B,Y])})}function re(B){return U||(U=!B,F(),z.list().forEach(([Y,K])=>B?K(B):Y()),z.reset()),B}function pe(B,Y,K,te){const{scrollBehavior:le}=e;if(!xn||!le)return Promise.resolve();const xe=!K&&vd(Io(B.fullPath,0))||(te||!K)&&history.state&&history.state.scroll||null;return ul().then(()=>le(B,Y,xe)).then(ae=>ae&&md(ae)).catch(ae=>q(ae,B,Y))}const fe=B=>r.go(B);let ce;const ve=new Set,Ce={currentRoute:a,listening:!0,addRoute:c,removeRoute:m,hasRoute:_,getRoutes:p,resolve:v,options:e,push:g,replace:y,go:fe,back:()=>fe(-1),forward:()=>fe(1),beforeEach:i.add,beforeResolve:o.add,afterEach:l.add,onError:J.add,isReady:ne,install(B){const Y=this;B.component("RouterLink",th),B.component("RouterView",zl),B.config.globalProperties.$router=Y,Object.defineProperty(B.config.globalProperties,"$route",{enumerable:!0,get:()=>$(a)}),xn&&!ce&&a.value===Ht&&(ce=!0,g(r.location).catch(le=>{}));const K={};for(const le in Ht)K[le]=De(()=>a.value[le]);B.provide(Os,Y),B.provide(Ms,xi(K)),B.provide(Qr,a);const te=B.unmount;ve.add(B),B.unmount=function(){ve.delete(B),ve.size<1&&(d=Ht,N&&N(),N=null,a.value=Ht,ce=!1,U=!1),te()}}};return Ce}function yn(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function oh(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;oIn(d,l))?s.push(l):n.push(l));const a=e.matched[o];a&&(t.matched.find(d=>In(d,a))||r.push(a))}return[n,s,r]}function Rs(){return _t(Ms)}function Ji(){return localStorage.getItem("theme")??"dark"}function ah(e){e!=="dark"&&e!=="light"&&(e="dark"),localStorage.setItem("theme",e)}function lh(){ah(Ji()==="dark"?"light":"dark")}function Gl(e){switch(e||(e=Ji()),e){case"dark":document.documentElement.classList.add("dark");break;case"light":document.documentElement.classList.remove("dark");break;default:document.documentElement.classList.add("dark");break}}var $r=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},dt={},ch={get exports(){return dt},set exports(e){dt=e}};/*! + * matter-js 0.18.0 by @liabru + * http://brm.io/matter-js/ + * License MIT + * + * The MIT License (MIT) + * + * Copyright (c) Liam Brummitt and contributors. + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */(function(e,t){(function(s,r){e.exports=r()})($r,function(){return function(n){var s={};function r(i){if(s[i])return s[i].exports;var o=s[i]={i,l:!1,exports:{}};return n[i].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=n,r.c=s,r.d=function(i,o,l){r.o(i,o)||Object.defineProperty(i,o,{enumerable:!0,get:l})},r.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},r.t=function(i,o){if(o&1&&(i=r(i)),o&8||o&4&&typeof i=="object"&&i&&i.__esModule)return i;var l=Object.create(null);if(r.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:i}),o&2&&typeof i!="string")for(var a in i)r.d(l,a,function(d){return i[d]}.bind(null,a));return l},r.n=function(i){var o=i&&i.__esModule?function(){return i.default}:function(){return i};return r.d(o,"a",o),o},r.o=function(i,o){return Object.prototype.hasOwnProperty.call(i,o)},r.p="",r(r.s=21)}([function(n,s){var r={};n.exports=r,function(){r._nextId=0,r._seed=0,r._nowStartTime=+new Date,r._warnedOnce={},r._decomp=null,r.extend=function(o,l){var a,d;typeof l=="boolean"?(a=2,d=l):(a=1,d=!0);for(var u=a;u0;l--){var a=Math.floor(r.random()*(l+1)),d=o[l];o[l]=o[a],o[a]=d}return o},r.choose=function(o){return o[Math.floor(r.random()*o.length)]},r.isElement=function(o){return typeof HTMLElement<"u"?o instanceof HTMLElement:!!(o&&o.nodeType&&o.nodeName)},r.isArray=function(o){return Object.prototype.toString.call(o)==="[object Array]"},r.isFunction=function(o){return typeof o=="function"},r.isPlainObject=function(o){return typeof o=="object"&&o.constructor===Object},r.isString=function(o){return toString.call(o)==="[object String]"},r.clamp=function(o,l,a){return oa?a:o},r.sign=function(o){return o<0?-1:1},r.now=function(){if(typeof window<"u"&&window.performance){if(window.performance.now)return window.performance.now();if(window.performance.webkitNow)return window.performance.webkitNow()}return Date.now?Date.now():new Date-r._nowStartTime},r.random=function(o,l){return o=typeof o<"u"?o:0,l=typeof l<"u"?l:1,o+i()*(l-o)};var i=function(){return r._seed=(r._seed*9301+49297)%233280,r._seed/233280};r.colorToNumber=function(o){return o=o.replace("#",""),o.length==3&&(o=o.charAt(0)+o.charAt(0)+o.charAt(1)+o.charAt(1)+o.charAt(2)+o.charAt(2)),parseInt(o,16)},r.logLevel=1,r.log=function(){console&&r.logLevel>0&&r.logLevel<=3&&console.log.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},r.info=function(){console&&r.logLevel>0&&r.logLevel<=2&&console.info.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},r.warn=function(){console&&r.logLevel>0&&r.logLevel<=3&&console.warn.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},r.warnOnce=function(){var o=Array.prototype.slice.call(arguments).join(" ");r._warnedOnce[o]||(r.warn(o),r._warnedOnce[o]=!0)},r.deprecated=function(o,l,a){o[l]=r.chain(function(){r.warnOnce("🔅 deprecated 🔅",a)},o[l])},r.nextId=function(){return r._nextId++},r.indexOf=function(o,l){if(o.indexOf)return o.indexOf(l);for(var a=0;ai.max.x&&(i.max.x=d.x),d.xi.max.y&&(i.max.y=d.y),d.y0?i.max.x+=l.x:i.min.x+=l.x,l.y>0?i.max.y+=l.y:i.min.y+=l.y)},r.contains=function(i,o){return o.x>=i.min.x&&o.x<=i.max.x&&o.y>=i.min.y&&o.y<=i.max.y},r.overlaps=function(i,o){return i.min.x<=o.max.x&&i.max.x>=o.min.x&&i.max.y>=o.min.y&&i.min.y<=o.max.y},r.translate=function(i,o){i.min.x+=o.x,i.max.x+=o.x,i.min.y+=o.y,i.max.y+=o.y},r.shift=function(i,o){var l=i.max.x-i.min.x,a=i.max.y-i.min.y;i.min.x=o.x,i.max.x=o.x+l,i.min.y=o.y,i.max.y=o.y+a}}()},function(n,s){var r={};n.exports=r,function(){r.create=function(i,o){return{x:i||0,y:o||0}},r.clone=function(i){return{x:i.x,y:i.y}},r.magnitude=function(i){return Math.sqrt(i.x*i.x+i.y*i.y)},r.magnitudeSquared=function(i){return i.x*i.x+i.y*i.y},r.rotate=function(i,o,l){var a=Math.cos(o),d=Math.sin(o);l||(l={});var u=i.x*a-i.y*d;return l.y=i.x*d+i.y*a,l.x=u,l},r.rotateAbout=function(i,o,l,a){var d=Math.cos(o),u=Math.sin(o);a||(a={});var h=l.x+((i.x-l.x)*d-(i.y-l.y)*u);return a.y=l.y+((i.x-l.x)*u+(i.y-l.y)*d),a.x=h,a},r.normalise=function(i){var o=r.magnitude(i);return o===0?{x:0,y:0}:{x:i.x/o,y:i.y/o}},r.dot=function(i,o){return i.x*o.x+i.y*o.y},r.cross=function(i,o){return i.x*o.y-i.y*o.x},r.cross3=function(i,o,l){return(o.x-i.x)*(l.y-i.y)-(o.y-i.y)*(l.x-i.x)},r.add=function(i,o,l){return l||(l={}),l.x=i.x+o.x,l.y=i.y+o.y,l},r.sub=function(i,o,l){return l||(l={}),l.x=i.x-o.x,l.y=i.y-o.y,l},r.mult=function(i,o){return{x:i.x*o,y:i.y*o}},r.div=function(i,o){return{x:i.x/o,y:i.y/o}},r.perp=function(i,o){return o=o===!0?-1:1,{x:o*-i.y,y:o*i.x}},r.neg=function(i){return{x:-i.x,y:-i.y}},r.angle=function(i,o){return Math.atan2(o.y-i.y,o.x-i.x)},r._temp=[r.create(),r.create(),r.create(),r.create(),r.create(),r.create()]}()},function(n,s,r){var i={};n.exports=i;var o=r(2),l=r(0);(function(){i.create=function(a,d){for(var u=[],h=0;h0)return!1;c=m}return!0},i.scale=function(a,d,u,h){if(d===1&&u===1)return a;h=h||i.centre(a);for(var f,c,m=0;m=0?m-1:a.length-1],_=a[m],v=a[(m+1)%a.length],k=d[m0&&(d|=2),d===3)return!1;return d!==0?!0:null},i.hull=function(a){var d=[],u=[],h,f;for(a=a.slice(0),a.sort(function(c,m){var p=c.x-m.x;return p!==0?p:c.y-m.y}),f=0;f=2&&o.cross3(u[u.length-2],u[u.length-1],h)<=0;)u.pop();u.push(h)}for(f=a.length-1;f>=0;f-=1){for(h=a[f];d.length>=2&&o.cross3(d[d.length-2],d[d.length-1],h)<=0;)d.pop();d.push(h)}return d.pop(),u.pop(),d.concat(u)}})()},function(n,s,r){var i={};n.exports=i;var o=r(0);(function(){i.on=function(l,a,d){for(var u=a.split(" "),h,f=0;f0){d||(d={}),u=a.split(" ");for(var p=0;p0&&l.rotateAbout(v.position,p,c.position,v.position)}},i.setVelocity=function(c,m){c.positionPrev.x=c.position.x-m.x,c.positionPrev.y=c.position.y-m.y,c.velocity.x=m.x,c.velocity.y=m.y,c.speed=l.magnitude(c.velocity)},i.setAngularVelocity=function(c,m){c.anglePrev=c.angle-m,c.angularVelocity=m,c.angularSpeed=Math.abs(c.angularVelocity)},i.translate=function(c,m){i.setPosition(c,l.add(c.position,m))},i.rotate=function(c,m,p){if(!p)i.setAngle(c,c.angle+m);else{var _=Math.cos(m),v=Math.sin(m),k=c.position.x-p.x,S=c.position.y-p.y;i.setPosition(c,{x:p.x+(k*_-S*v),y:p.y+(k*v+S*_)}),i.setAngle(c,c.angle+m)}},i.scale=function(c,m,p,_){var v=0,k=0;_=_||c.position;for(var S=0;S0&&(v+=g.area,k+=g.inertia),g.position.x=_.x+(g.position.x-_.x)*m,g.position.y=_.y+(g.position.y-_.y)*p,u.update(g.bounds,g.vertices,c.velocity)}c.parts.length>1&&(c.area=v,c.isStatic||(i.setMass(c,c.density*v),i.setInertia(c,k))),c.circleRadius&&(m===p?c.circleRadius*=m:c.circleRadius=null)},i.update=function(c,m,p,_){var v=Math.pow(m*p*c.timeScale,2),k=1-c.frictionAir*p*c.timeScale,S=c.position.x-c.positionPrev.x,g=c.position.y-c.positionPrev.y;c.velocity.x=S*k*_+c.force.x/c.mass*v,c.velocity.y=g*k*_+c.force.y/c.mass*v,c.positionPrev.x=c.position.x,c.positionPrev.y=c.position.y,c.position.x+=c.velocity.x,c.position.y+=c.velocity.y,c.angularVelocity=(c.angle-c.anglePrev)*k*_+c.torque/c.inertia*v,c.anglePrev=c.angle,c.angle+=c.angularVelocity,c.speed=l.magnitude(c.velocity),c.angularSpeed=Math.abs(c.angularVelocity);for(var y=0;y0&&(b.position.x+=c.velocity.x,b.position.y+=c.velocity.y),c.angularVelocity!==0&&(o.rotate(b.vertices,c.angularVelocity,c.position),h.rotate(b.axes,c.angularVelocity),y>0&&l.rotateAbout(b.position,c.angularVelocity,c.position,b.position)),u.update(b.bounds,b.vertices,c.velocity)}},i.applyForce=function(c,m,p){c.force.x+=p.x,c.force.y+=p.y;var _={x:m.x-c.position.x,y:m.y-c.position.y};c.torque+=_.x*p.y-_.y*p.x},i._totalProperties=function(c){for(var m={mass:0,area:0,inertia:0,centre:{x:0,y:0}},p=c.parts.length===1?0:1;p0&&h.motion=h.sleepThreshold&&i.set(h,!0)):h.sleepCounter>0&&(h.sleepCounter-=1)}},i.afterCollisions=function(l,a){for(var d=a*a*a,u=0;ui._motionWakeThreshold*d&&i.set(p,!1)}}}},i.set=function(l,a){var d=l.isSleeping;a?(l.isSleeping=!0,l.sleepCounter=l.sleepThreshold,l.positionImpulse.x=0,l.positionImpulse.y=0,l.positionPrev.x=l.position.x,l.positionPrev.y=l.position.y,l.anglePrev=l.angle,l.speed=0,l.angularSpeed=0,l.motion=0,d||o.trigger(l,"sleepStart")):(l.isSleeping=!1,l.sleepCounter=0,d&&o.trigger(l,"sleepEnd"))}})()},function(n,s,r){var i={};n.exports=i;var o=r(3),l=r(9);(function(){var a=[],d={overlap:0,axis:null},u={overlap:0,axis:null};i.create=function(h,f){return{pair:null,collided:!1,bodyA:h,bodyB:f,parentA:h.parent,parentB:f.parent,depth:0,normal:{x:0,y:0},tangent:{x:0,y:0},penetration:{x:0,y:0},supports:[]}},i.collides=function(h,f,c){if(i._overlapAxes(d,h.vertices,f.vertices,h.axes),d.overlap<=0||(i._overlapAxes(u,f.vertices,h.vertices,f.axes),u.overlap<=0))return null;var m=c&&c.table[l.id(h,f)],p;m?p=m.collision:(p=i.create(h,f),p.collided=!0,p.bodyA=h.idre?re=L:Lpe?pe=L:Lp?p=v:vm.frictionStatic?c.frictionStatic:m.frictionStatic,l.restitution=c.restitution>m.restitution?c.restitution:m.restitution,l.slop=c.slop>m.slop?c.slop:m.slop,a.pair=l,f.length=0;for(var _=0;_0?1:.7),c.damping=c.damping||0,c.angularStiffness=c.angularStiffness||0,c.angleA=c.bodyA?c.bodyA.angle:c.angleA,c.angleB=c.bodyB?c.bodyB.angle:c.angleB,c.plugin={};var v={visible:!0,lineWidth:2,strokeStyle:"#ffffff",type:"line",anchors:!0};return c.length===0&&c.stiffness>.1?(v.type="pin",v.anchors=!1):c.stiffness<.9&&(v.type="spring"),c.render=h.extend(v,c.render),c},i.preSolveAll=function(f){for(var c=0;c0&&(v.position.x+=p.x,v.position.y+=p.y),p.angle!==0&&(o.rotate(v.vertices,p.angle,m.position),u.rotate(v.axes,p.angle),_>0&&l.rotateAbout(v.position,p.angle,m.position,v.position)),d.update(v.bounds,v.vertices,m.velocity)}p.angle*=i._warming,p.x*=i._warming,p.y*=i._warming}}},i.pointAWorld=function(f){return{x:(f.bodyA?f.bodyA.position.x:0)+f.pointA.x,y:(f.bodyA?f.bodyA.position.y:0)+f.pointA.y}},i.pointBWorld=function(f){return{x:(f.bodyB?f.bodyB.position.x:0)+f.pointB.x,y:(f.bodyB?f.bodyB.position.y:0)+f.pointB.y}}})()},function(n,s,r){var i={};n.exports=i;var o=r(2),l=r(0);(function(){i.fromVertices=function(a){for(var d={},u=0;u0&&o.area(ne)1?(y=a.create(l.extend({parts:b.slice(0)},m)),a.setPosition(y,{x:h,y:f}),y):b[0]}})()},function(n,s,r){var i={};n.exports=i;var o=r(0);(function(){i.create=function(l){var a={};return l||o.log("Mouse.create: element was undefined, defaulting to document.body","warn"),a.element=l||document.body,a.absolute={x:0,y:0},a.position={x:0,y:0},a.mousedownPosition={x:0,y:0},a.mouseupPosition={x:0,y:0},a.offset={x:0,y:0},a.scale={x:1,y:1},a.wheelDelta=0,a.button=-1,a.pixelRatio=parseInt(a.element.getAttribute("data-pixel-ratio"),10)||1,a.sourceEvents={mousemove:null,mousedown:null,mouseup:null,mousewheel:null},a.mousemove=function(d){var u=i._getRelativeMousePosition(d,a.element,a.pixelRatio),h=d.changedTouches;h&&(a.button=0,d.preventDefault()),a.absolute.x=u.x,a.absolute.y=u.y,a.position.x=a.absolute.x*a.scale.x+a.offset.x,a.position.y=a.absolute.y*a.scale.y+a.offset.y,a.sourceEvents.mousemove=d},a.mousedown=function(d){var u=i._getRelativeMousePosition(d,a.element,a.pixelRatio),h=d.changedTouches;h?(a.button=0,d.preventDefault()):a.button=d.button,a.absolute.x=u.x,a.absolute.y=u.y,a.position.x=a.absolute.x*a.scale.x+a.offset.x,a.position.y=a.absolute.y*a.scale.y+a.offset.y,a.mousedownPosition.x=a.position.x,a.mousedownPosition.y=a.position.y,a.sourceEvents.mousedown=d},a.mouseup=function(d){var u=i._getRelativeMousePosition(d,a.element,a.pixelRatio),h=d.changedTouches;h&&d.preventDefault(),a.button=-1,a.absolute.x=u.x,a.absolute.y=u.y,a.position.x=a.absolute.x*a.scale.x+a.offset.x,a.position.y=a.absolute.y*a.scale.y+a.offset.y,a.mouseupPosition.x=a.position.x,a.mouseupPosition.y=a.position.y,a.sourceEvents.mouseup=d},a.mousewheel=function(d){a.wheelDelta=Math.max(-1,Math.min(1,d.wheelDelta||-d.detail)),d.preventDefault()},i.setElement(a,a.element),a},i.setElement=function(l,a){l.element=a,a.addEventListener("mousemove",l.mousemove),a.addEventListener("mousedown",l.mousedown),a.addEventListener("mouseup",l.mouseup),a.addEventListener("mousewheel",l.mousewheel),a.addEventListener("DOMMouseScroll",l.mousewheel),a.addEventListener("touchmove",l.mousemove),a.addEventListener("touchstart",l.mousedown),a.addEventListener("touchend",l.mouseup)},i.clearSourceEvents=function(l){l.sourceEvents.mousemove=null,l.sourceEvents.mousedown=null,l.sourceEvents.mouseup=null,l.sourceEvents.mousewheel=null,l.wheelDelta=0},i.setOffset=function(l,a){l.offset.x=a.x,l.offset.y=a.y,l.position.x=l.absolute.x*l.scale.x+l.offset.x,l.position.y=l.absolute.y*l.scale.y+l.offset.y},i.setScale=function(l,a){l.scale.x=a.x,l.scale.y=a.y,l.position.x=l.absolute.x*l.scale.x+l.offset.x,l.position.y=l.absolute.y*l.scale.y+l.offset.y},i._getRelativeMousePosition=function(l,a,d){var u=a.getBoundingClientRect(),h=document.documentElement||document.body.parentNode||document.body,f=window.pageXOffset!==void 0?window.pageXOffset:h.scrollLeft,c=window.pageYOffset!==void 0?window.pageYOffset:h.scrollTop,m=l.changedTouches,p,_;return m?(p=m[0].pageX-u.left-f,_=m[0].pageY-u.top-c):(p=l.pageX-u.left-f,_=l.pageY-u.top-c),{x:p/(a.clientWidth/(a.width||a.clientWidth)*d),y:_/(a.clientHeight/(a.height||a.clientHeight)*d)}}})()},function(n,s,r){var i={};n.exports=i;var o=r(0),l=r(8);(function(){i.create=function(a){var d={bodies:[],pairs:null};return o.extend(d,a)},i.setBodies=function(a,d){a.bodies=d.slice(0)},i.clear=function(a){a.bodies=[]},i.collisions=function(a){var d=[],u=a.pairs,h=a.bodies,f=h.length,c=i.canCollide,m=l.collides,p,_;for(h.sort(i._compareBoundsX),p=0;pS)break;if(!(gO.max.y)&&!(b&&(T.isStatic||T.isSleeping))&&c(v.collisionFilter,T.collisionFilter)){var L=T.parts.length;if(P&&L===1){var N=m(v,T,u);N&&d.push(N)}else for(var F=w>1?1:0,z=L>1?1:0,J=F;JO.max.x||k.max.xO.max.y)){var N=m(U,ne,u);N&&d.push(N)}}}}}return d},i.canCollide=function(a,d){return a.group===d.group&&a.group!==0?a.group>0:(a.mask&d.category)!==0&&(d.mask&a.category)!==0},i._compareBoundsX=function(a,d){return a.bounds.min.x-d.bounds.min.x}})()},function(n,s,r){var i={};n.exports=i;var o=r(0);(function(){i._registry={},i.register=function(l){if(i.isPlugin(l)||o.warn("Plugin.register:",i.toString(l),"does not implement all required fields."),l.name in i._registry){var a=i._registry[l.name],d=i.versionParse(l.version).number,u=i.versionParse(a.version).number;d>u?(o.warn("Plugin.register:",i.toString(a),"was upgraded to",i.toString(l)),i._registry[l.name]=l):d-1},i.isFor=function(l,a){var d=l.for&&i.dependencyParse(l.for);return!l.for||a.name===d.name&&i.versionSatisfies(a.version,d.range)},i.use=function(l,a){if(l.uses=(l.uses||[]).concat(a||[]),l.uses.length===0){o.warn("Plugin.use:",i.toString(l),"does not specify any dependencies to install.");return}for(var d=i.dependencies(l),u=o.topologicalSort(d),h=[],f=0;f0&&o.info(h.join(" "))},i.dependencies=function(l,a){var d=i.dependencyParse(l),u=d.name;if(a=a||{},!(u in a)){l=i.resolve(l)||l,a[u]=o.map(l.uses||[],function(f){i.isPlugin(f)&&i.register(f);var c=i.dependencyParse(f),m=i.resolve(f);return m&&!i.versionSatisfies(m.version,c.range)?(o.warn("Plugin.dependencies:",i.toString(m),"does not satisfy",i.toString(c),"used by",i.toString(d)+"."),m._warned=!0,l._warned=!0):m||(o.warn("Plugin.dependencies:",i.toString(f),"used by",i.toString(d),"could not be resolved."),l._warned=!0),c.name});for(var h=0;h=|>)?\s*((\d+)\.(\d+)\.(\d+))(-[0-9A-Za-z-+]+)?$/;a.test(l)||o.warn("Plugin.versionParse:",l,"is not a valid version or range.");var d=a.exec(l),u=Number(d[4]),h=Number(d[5]),f=Number(d[6]);return{isRange:Boolean(d[1]||d[2]),version:d[3],range:l,operator:d[1]||d[2]||"",major:u,minor:h,patch:f,parts:[u,h,f],prerelease:d[7],number:u*1e8+h*1e4+f}},i.versionSatisfies=function(l,a){a=a||"*";var d=i.versionParse(a),u=i.versionParse(l);if(d.isRange){if(d.operator==="*"||l==="*")return!0;if(d.operator===">")return u.number>d.number;if(d.operator===">=")return u.number>=d.number;if(d.operator==="~")return u.major===d.major&&u.minor===d.minor&&u.patch>=d.patch;if(d.operator==="^")return d.major>0?u.major===d.major&&u.number>=d.number:d.minor>0?u.minor===d.minor&&u.patch>=d.patch:u.patch===d.patch}return l===a||l==="*"}})()},function(n,s,r){var i={};n.exports=i;var o=r(0),l=r(5),a=r(1),d=r(4),u=r(2),h=r(13);(function(){var f,c;typeof window<"u"&&(f=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(g){window.setTimeout(function(){g(o.now())},1e3/60)},c=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame),i._goodFps=30,i._goodDelta=1e3/60,i.create=function(g){var y={controller:i,engine:null,element:null,canvas:null,mouse:null,frameRequestId:null,timing:{historySize:60,delta:0,deltaHistory:[],lastTime:0,lastTimestamp:0,lastElapsed:0,timestampElapsed:0,timestampElapsedHistory:[],engineDeltaHistory:[],engineElapsedHistory:[],elapsedHistory:[]},options:{width:800,height:600,pixelRatio:1,background:"#14151f",wireframeBackground:"#14151f",hasBounds:!!g.bounds,enabled:!0,wireframes:!0,showSleeping:!0,showDebug:!1,showStats:!1,showPerformance:!1,showBounds:!1,showVelocity:!1,showCollisions:!1,showSeparations:!1,showAxes:!1,showPositions:!1,showAngleIndicator:!1,showIds:!1,showVertexNumbers:!1,showConvexHulls:!1,showInternalEdges:!1,showMousePosition:!1}},b=o.extend(y,g);return b.canvas&&(b.canvas.width=b.options.width||b.canvas.width,b.canvas.height=b.options.height||b.canvas.height),b.mouse=g.mouse,b.engine=g.engine,b.canvas=b.canvas||_(b.options.width,b.options.height),b.context=b.canvas.getContext("2d"),b.textures={},b.bounds=b.bounds||{min:{x:0,y:0},max:{x:b.canvas.width,y:b.canvas.height}},b.options.showBroadphase=!1,b.options.pixelRatio!==1&&i.setPixelRatio(b,b.options.pixelRatio),o.isElement(b.element)?b.element.appendChild(b.canvas):b.canvas.parentNode||o.log("Render.create: options.element was undefined, render.canvas was created but not appended","warn"),b},i.run=function(g){(function y(b){g.frameRequestId=f(y),m(g,b),i.world(g,b),(g.options.showStats||g.options.showDebug)&&i.stats(g,g.context,b),(g.options.showPerformance||g.options.showDebug)&&i.performance(g,g.context,b)})()},i.stop=function(g){c(g.frameRequestId)},i.setPixelRatio=function(g,y){var b=g.options,w=g.canvas;y==="auto"&&(y=v(w)),b.pixelRatio=y,w.setAttribute("data-pixel-ratio",y),w.width=b.width*y,w.height=b.height*y,w.style.width=b.width+"px",w.style.height=b.height+"px"},i.lookAt=function(g,y,b,w){w=typeof w<"u"?w:!0,y=o.isArray(y)?y:[y],b=b||{x:0,y:0};for(var P={min:{x:1/0,y:1/0},max:{x:-1/0,y:-1/0}},T=0;TP.max.x&&(P.max.x=N.x),L.yP.max.y&&(P.max.y=N.y))}var F=P.max.x-P.min.x+2*b.x,z=P.max.y-P.min.y+2*b.y,J=g.canvas.height,U=g.canvas.width,q=U/J,ne=F/z,re=1,pe=1;ne>q?pe=ne/q:re=q/ne,g.options.hasBounds=!0,g.bounds.min.x=P.min.x,g.bounds.max.x=P.min.x+F*re,g.bounds.min.y=P.min.y,g.bounds.max.y=P.min.y+z*pe,w&&(g.bounds.min.x+=F*.5-F*re*.5,g.bounds.max.x+=F*.5-F*re*.5,g.bounds.min.y+=z*.5-z*pe*.5,g.bounds.max.y+=z*.5-z*pe*.5),g.bounds.min.x-=b.x,g.bounds.max.x-=b.x,g.bounds.min.y-=b.y,g.bounds.max.y-=b.y,g.mouse&&(h.setScale(g.mouse,{x:(g.bounds.max.x-g.bounds.min.x)/g.canvas.width,y:(g.bounds.max.y-g.bounds.min.y)/g.canvas.height}),h.setOffset(g.mouse,g.bounds.min))},i.startViewTransform=function(g){var y=g.bounds.max.x-g.bounds.min.x,b=g.bounds.max.y-g.bounds.min.y,w=y/g.options.width,P=b/g.options.height;g.context.setTransform(g.options.pixelRatio/w,0,0,g.options.pixelRatio/P,0,0),g.context.translate(-g.bounds.min.x,-g.bounds.min.y)},i.endViewTransform=function(g){g.context.setTransform(g.options.pixelRatio,0,0,g.options.pixelRatio,0,0)},i.world=function(g,y){var b=o.now(),w=g.engine,P=w.world,T=g.canvas,O=g.context,L=g.options,N=g.timing,F=l.allBodies(P),z=l.allConstraints(P),J=L.wireframes?L.wireframeBackground:L.background,U=[],q=[],ne,re={timestamp:w.timing.timestamp};if(d.trigger(g,"beforeRender",re),g.currentBackground!==J&&S(g,J),O.globalCompositeOperation="source-in",O.fillStyle="transparent",O.fillRect(0,0,T.width,T.height),O.globalCompositeOperation="source-over",L.hasBounds){for(ne=0;ne1?1:0;F1?1:0;F1?1:0;O1?1:0;N1?1:0;L1?1:0;L1?1:0;T0)){var J=T.activeContacts[0].vertex.x,U=T.activeContacts[0].vertex.y;T.activeContacts.length===2&&(J=(T.activeContacts[0].vertex.x+T.activeContacts[1].vertex.x)/2,U=(T.activeContacts[0].vertex.y+T.activeContacts[1].vertex.y)/2),O.bodyB===O.supports[0].body||O.bodyA.isStatic===!0?w.moveTo(J-O.normal.x*8,U-O.normal.y*8):w.moveTo(J+O.normal.x*8,U+O.normal.y*8),w.lineTo(J,U)}P.wireframes?w.strokeStyle="rgba(255,165,0,0.7)":w.strokeStyle="orange",w.lineWidth=1,w.stroke()},i.separations=function(g,y,b){var w=b,P=g.options,T,O,L,N,F;for(w.beginPath(),F=0;F0&&u.trigger(p,"collisionStart",{pairs:y.collisionStart}),l.preSolvePosition(y.list),P=0;P0&&u.trigger(p,"collisionActive",{pairs:y.collisionActive}),y.collisionEnd.length>0&&u.trigger(p,"collisionEnd",{pairs:y.collisionEnd}),i._bodiesClearForces(O),u.trigger(p,"afterUpdate",T),p.timing.lastElapsed=c.now()-k,p},i.merge=function(p,_){if(c.extend(p,_),_.world){p.world=_.world,i.clear(p);for(var v=h.allBodies(p.world),k=0;kA||-C>A?(v=C>0?C:-C,_=g.friction*(C>0?1:-1)*u,_<-v?_=-v:_>v&&(_=v)):(_=C,v=m);var M=fe*L-ce*O,H=ve*L-Ce*O,j=U/(q+b.inverseInertia*M*M+w.inverseInertia*H*H),V=(1+g.restitution)*ae*j;if(_*=j,ae*ae>h&&ae<0)re.normalImpulse=0;else{var G=re.normalImpulse;re.normalImpulse+=V,re.normalImpulse=Math.min(re.normalImpulse,0),V=re.normalImpulse-G}if(C*C>c)re.tangentImpulse=0;else{var W=re.tangentImpulse;re.tangentImpulse+=_,re.tangentImpulse<-v&&(re.tangentImpulse=-v),re.tangentImpulse>v&&(re.tangentImpulse=v),_=re.tangentImpulse-W}var R=O*V+N*_,D=L*V+F*_;b.isStatic||b.isSleeping||(b.positionPrev.x+=R*b.inverseMass,b.positionPrev.y+=D*b.inverseMass,b.anglePrev+=(fe*D-ce*R)*b.inverseInertia),w.isStatic||w.isSleeping||(w.positionPrev.x-=R*w.inverseMass,w.positionPrev.y-=D*w.inverseMass,w.anglePrev-=(ve*D-Ce*R)*w.inverseInertia)}}}}})()},function(n,s,r){var i={};n.exports=i;var o=r(9),l=r(0);(function(){i.create=function(a){return l.extend({table:{},list:[],collisionStart:[],collisionActive:[],collisionEnd:[]},a)},i.update=function(a,d,u){var h=a.list,f=h.length,c=a.table,m=d.length,p=a.collisionStart,_=a.collisionEnd,v=a.collisionActive,k,S,g,y;for(p.length=0,_.length=0,v.length=0,y=0;yT&&(T=N),d.translate(L,{x:F*.5,y:N*.5}),g=L.bounds.max.x+_,o.addBody(S,L),b=L,w+=1}else g+=_}y+=T+v,g=f}return S},i.chain=function(f,c,m,p,_,v){for(var k=f.bodies,S=1;S0)for(S=0;S0&&(b=v[S-1+(k-1)*c],o.addConstraint(f,l.create(a.extend({bodyA:b,bodyB:y},_)))),p&&ST)){b=T-b;var L=b,N=m-1-b;if(!(yN)){P===1&&d.translate(w,{x:(y+(m%2===1?1:-1))*O,y:0});var F=w?y*O:0;return k(f+F+y*_,g,y,b,w,P)}}})},i.newtonsCradle=function(f,c,m,p,_){for(var v=o.create({label:"Newtons Cradle"}),k=0;k_.bounds.max.x||y.bounds.max.y<_.bounds.min.y||y.bounds.min.y>_.bounds.max.y))){var b=i._getRegion(d,y);if(!y.region||b.id!==y.region.id||f){(!y.region||f)&&(y.region=b);var w=i._regionUnion(b,y.region);for(m=w.startCol;m<=w.endCol;m++)for(p=w.startRow;p<=w.endRow;p++){S=i._getBucketId(m,p),k=v[S];var P=m>=b.startCol&&m<=b.endCol&&p>=b.startRow&&p<=b.endRow,T=m>=y.region.startCol&&m<=y.region.endCol&&p>=y.region.startRow&&p<=y.region.endRow;!P&&T&&T&&k&&i._bucketRemoveBody(d,k,y),(y.region===b||P&&!T||f)&&(k||(k=i._createBucket(v,S)),i._bucketAddBody(d,k,y))}y.region=b,g=!0}}}g&&(d.pairsList=i._createActivePairsList(d))},a(i,"update","Grid.update ➤ replaced by Matter.Detector"),i.clear=function(d){d.buckets={},d.pairs={},d.pairsList=[]},a(i,"clear","Grid.clear ➤ replaced by Matter.Detector"),i._regionUnion=function(d,u){var h=Math.min(d.startCol,u.startCol),f=Math.max(d.endCol,u.endCol),c=Math.min(d.startRow,u.startRow),m=Math.max(d.endRow,u.endRow);return i._createRegion(h,f,c,m)},i._getRegion=function(d,u){var h=u.bounds,f=Math.floor(h.min.x/d.bucketWidth),c=Math.floor(h.max.x/d.bucketWidth),m=Math.floor(h.min.y/d.bucketHeight),p=Math.floor(h.max.y/d.bucketHeight);return i._createRegion(f,c,m,p)},i._createRegion=function(d,u,h,f){return{id:d+","+u+","+h+","+f,startCol:d,endCol:u,startRow:h,endRow:f}},i._getBucketId=function(d,u){return"C"+d+"R"+u},i._createBucket=function(d,u){var h=d[u]=[];return h},i._bucketAddBody=function(d,u,h){var f=d.pairs,c=o.id,m=u.length,p;for(p=0;p0?m.push(u):delete h[f[p]];return m}})()},function(n,s,r){var i={};n.exports=i;var o=r(3),l=r(7),a=r(13),d=r(4),u=r(14),h=r(10),f=r(5),c=r(0),m=r(1);(function(){i.create=function(p,_){var v=(p?p.mouse:null)||(_?_.mouse:null);v||(p&&p.render&&p.render.canvas?v=a.create(p.render.canvas):_&&_.element?v=a.create(_.element):(v=a.create(),c.warn("MouseConstraint.create: options.mouse was undefined, options.element was undefined, may not function as expected")));var k=h.create({label:"Mouse Constraint",pointA:v.position,pointB:{x:0,y:0},length:.01,stiffness:.1,angularStiffness:1,render:{strokeStyle:"#90EE90",lineWidth:3}}),S={type:"mouseConstraint",mouse:v,element:null,body:null,constraint:k,collisionFilter:{category:1,mask:4294967295,group:0}},g=c.extend(S,_);return d.on(p,"beforeUpdate",function(){var y=f.allBodies(p.world);i.update(g,y),i._triggerEvents(g)}),g},i.update=function(p,_){var v=p.mouse,k=p.constraint,S=p.body;if(v.button===0){if(k.bodyB)l.set(k.bodyB,!1),k.pointA=v.position;else for(var g=0;g<_.length;g++)if(S=_[g],m.contains(S.bounds,v.position)&&u.canCollide(S.collisionFilter,p.collisionFilter))for(var y=S.parts.length>1?1:0;yf.deltaMax?f.deltaMax:v,_=v/f.delta,f.delta=v),f.timeScalePrev!==0&&(_*=p.timeScale/f.timeScalePrev),p.timeScale===0&&(_=0),f.timeScalePrev=p.timeScale,f.correction=_,f.frameCounter+=1,m-f.counterTimestamp>=1e3&&(f.fps=f.frameCounter*((m-f.counterTimestamp)/1e3),f.counterTimestamp=m,f.frameCounter=0),o.trigger(f,"tick",k),o.trigger(f,"beforeUpdate",k),l.update(c,v,_),o.trigger(f,"afterUpdate",k),o.trigger(f,"afterTick",k)},i.stop=function(f){u(f.frameRequestId)},i.start=function(f,c){i.run(f,c)}})()},function(n,s,r){var i={};n.exports=i;var o=r(8),l=r(0),a=l.deprecated;(function(){i.collides=function(d,u){return o.collides(d,u)},a(i,"collides","SAT.collides ➤ replaced by Collision.collides")})()},function(n,s,r){var i={};n.exports=i,r(1);var o=r(0);(function(){i.pathToVertices=function(l,a){typeof window<"u"&&!("SVGPathSeg"in window)&&o.warn("Svg.pathToVertices: SVGPathSeg not defined, a polyfill is required.");var d,u,h,f,c,m,p,_,v,k,S=[],g,y,b=0,w=0,P=0;a=a||15;var T=function(L,N,F){var z=F%2===1&&F>1;if(!v||L!=v.x||N!=v.y){v&&z?(g=v.x,y=v.y):(g=0,y=0);var J={x:g+L,y:y+N};(z||!v)&&(v=J),S.push(J),w=g+L,P=y+N}},O=function(L){var N=L.pathSegTypeAsLetter.toUpperCase();if(N!=="Z"){switch(N){case"M":case"L":case"T":case"C":case"S":case"Q":w=L.x,P=L.y;break;case"H":w=L.x;break;case"V":P=L.y;break}T(w,P,L.pathSegType)}};for(i._svgPathToAbsolute(l),h=l.getTotalLength(),m=[],d=0;dph?Symbol(e):e,mh=(e,t,n)=>gh({l:e,k:t,s:n}),gh=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),je=e=>typeof e=="number"&&isFinite(e),vh=e=>$s(e)==="[object Date]",Qt=e=>$s(e)==="[object RegExp]",br=e=>ue(e)&&Object.keys(e).length===0;function _h(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Ge=Object.assign;let Go;const ni=()=>Go||(Go=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ko(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const yh=Object.prototype.hasOwnProperty;function Ns(e,t){return yh.call(e,t)}const Pe=Array.isArray,He=e=>typeof e=="function",ee=e=>typeof e=="string",we=e=>typeof e=="boolean",Le=e=>e!==null&&typeof e=="object",Xl=Object.prototype.toString,$s=e=>Xl.call(e),ue=e=>$s(e)==="[object Object]",xh=e=>e==null?"":Pe(e)||ue(e)&&e.toString===Xl?JSON.stringify(e,null,2):String(e);/*! + * message-compiler v9.2.2 + * (c) 2022 kazuya kawaguchi + * Released under the MIT License. + */const Se={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,__EXTEND_POINT__:15};function wr(e,t,n={}){const{domain:s,messages:r,args:i}=n,o=e,l=new SyntaxError(String(o));return l.code=e,t&&(l.location=t),l.domain=s,l}function bh(e){throw e}function wh(e,t,n){return{line:e,column:t,offset:n}}function Zr(e,t,n){const s={start:e,end:t};return n!=null&&(s.source=n),s}const Rt=" ",Eh="\r",Je=` +`,kh=String.fromCharCode(8232),Sh=String.fromCharCode(8233);function Ch(e){const t=e;let n=0,s=1,r=1,i=0;const o=w=>t[w]===Eh&&t[w+1]===Je,l=w=>t[w]===Je,a=w=>t[w]===Sh,d=w=>t[w]===kh,u=w=>o(w)||l(w)||a(w)||d(w),h=()=>n,f=()=>s,c=()=>r,m=()=>i,p=w=>o(w)||a(w)||d(w)?Je:t[w],_=()=>p(n),v=()=>p(n+i);function k(){return i=0,u(n)&&(s++,r=0),o(n)&&n++,n++,r++,t[n]}function S(){return o(n+i)&&i++,i++,t[n+i]}function g(){n=0,s=1,r=1,i=0}function y(w=0){i=w}function b(){const w=n+i;for(;w!==n;)k();i=0}return{index:h,line:f,column:c,peekOffset:m,charAt:p,currentChar:_,currentPeek:v,next:k,peek:S,reset:g,resetPeek:y,skipToPeek:b}}const Wt=void 0,Yo="'",Ah="tokenizer";function Th(e,t={}){const n=t.location!==!1,s=Ch(e),r=()=>s.index(),i=()=>wh(s.line(),s.column(),s.index()),o=i(),l=r(),a={currentType:14,offset:l,startLoc:o,endLoc:o,lastType:14,lastOffset:l,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},d=()=>a,{onError:u}=t;function h(x,E,A,...M){const H=d();if(E.column+=A,E.offset+=A,u){const j=Zr(H.startLoc,E),V=wr(x,j,{domain:Ah,args:M});u(V)}}function f(x,E,A){x.endLoc=i(),x.currentType=E;const M={type:E};return n&&(M.loc=Zr(x.startLoc,x.endLoc)),A!=null&&(M.value=A),M}const c=x=>f(x,14);function m(x,E){return x.currentChar()===E?(x.next(),E):(h(Se.EXPECTED_TOKEN,i(),0,E),"")}function p(x){let E="";for(;x.currentPeek()===Rt||x.currentPeek()===Je;)E+=x.currentPeek(),x.peek();return E}function _(x){const E=p(x);return x.skipToPeek(),E}function v(x){if(x===Wt)return!1;const E=x.charCodeAt(0);return E>=97&&E<=122||E>=65&&E<=90||E===95}function k(x){if(x===Wt)return!1;const E=x.charCodeAt(0);return E>=48&&E<=57}function S(x,E){const{currentType:A}=E;if(A!==2)return!1;p(x);const M=v(x.currentPeek());return x.resetPeek(),M}function g(x,E){const{currentType:A}=E;if(A!==2)return!1;p(x);const M=x.currentPeek()==="-"?x.peek():x.currentPeek(),H=k(M);return x.resetPeek(),H}function y(x,E){const{currentType:A}=E;if(A!==2)return!1;p(x);const M=x.currentPeek()===Yo;return x.resetPeek(),M}function b(x,E){const{currentType:A}=E;if(A!==8)return!1;p(x);const M=x.currentPeek()===".";return x.resetPeek(),M}function w(x,E){const{currentType:A}=E;if(A!==9)return!1;p(x);const M=v(x.currentPeek());return x.resetPeek(),M}function P(x,E){const{currentType:A}=E;if(!(A===8||A===12))return!1;p(x);const M=x.currentPeek()===":";return x.resetPeek(),M}function T(x,E){const{currentType:A}=E;if(A!==10)return!1;const M=()=>{const j=x.currentPeek();return j==="{"?v(x.peek()):j==="@"||j==="%"||j==="|"||j===":"||j==="."||j===Rt||!j?!1:j===Je?(x.peek(),M()):v(j)},H=M();return x.resetPeek(),H}function O(x){p(x);const E=x.currentPeek()==="|";return x.resetPeek(),E}function L(x){const E=p(x),A=x.currentPeek()==="%"&&x.peek()==="{";return x.resetPeek(),{isModulo:A,hasSpace:E.length>0}}function N(x,E=!0){const A=(H=!1,j="",V=!1)=>{const G=x.currentPeek();return G==="{"?j==="%"?!1:H:G==="@"||!G?j==="%"?!0:H:G==="%"?(x.peek(),A(H,"%",!0)):G==="|"?j==="%"||V?!0:!(j===Rt||j===Je):G===Rt?(x.peek(),A(!0,Rt,V)):G===Je?(x.peek(),A(!0,Je,V)):!0},M=A();return E&&x.resetPeek(),M}function F(x,E){const A=x.currentChar();return A===Wt?Wt:E(A)?(x.next(),A):null}function z(x){return F(x,A=>{const M=A.charCodeAt(0);return M>=97&&M<=122||M>=65&&M<=90||M>=48&&M<=57||M===95||M===36})}function J(x){return F(x,A=>{const M=A.charCodeAt(0);return M>=48&&M<=57})}function U(x){return F(x,A=>{const M=A.charCodeAt(0);return M>=48&&M<=57||M>=65&&M<=70||M>=97&&M<=102})}function q(x){let E="",A="";for(;E=J(x);)A+=E;return A}function ne(x){_(x);const E=x.currentChar();return E!=="%"&&h(Se.EXPECTED_TOKEN,i(),0,E),x.next(),"%"}function re(x){let E="";for(;;){const A=x.currentChar();if(A==="{"||A==="}"||A==="@"||A==="|"||!A)break;if(A==="%")if(N(x))E+=A,x.next();else break;else if(A===Rt||A===Je)if(N(x))E+=A,x.next();else{if(O(x))break;E+=A,x.next()}else E+=A,x.next()}return E}function pe(x){_(x);let E="",A="";for(;E=z(x);)A+=E;return x.currentChar()===Wt&&h(Se.UNTERMINATED_CLOSING_BRACE,i(),0),A}function fe(x){_(x);let E="";return x.currentChar()==="-"?(x.next(),E+=`-${q(x)}`):E+=q(x),x.currentChar()===Wt&&h(Se.UNTERMINATED_CLOSING_BRACE,i(),0),E}function ce(x){_(x),m(x,"'");let E="",A="";const M=j=>j!==Yo&&j!==Je;for(;E=F(x,M);)E==="\\"?A+=ve(x):A+=E;const H=x.currentChar();return H===Je||H===Wt?(h(Se.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),H===Je&&(x.next(),m(x,"'")),A):(m(x,"'"),A)}function ve(x){const E=x.currentChar();switch(E){case"\\":case"'":return x.next(),`\\${E}`;case"u":return Ce(x,E,4);case"U":return Ce(x,E,6);default:return h(Se.UNKNOWN_ESCAPE_SEQUENCE,i(),0,E),""}}function Ce(x,E,A){m(x,E);let M="";for(let H=0;HH!=="{"&&H!=="}"&&H!==Rt&&H!==Je;for(;E=F(x,M);)A+=E;return A}function Y(x){let E="",A="";for(;E=z(x);)A+=E;return A}function K(x){const E=(A=!1,M)=>{const H=x.currentChar();return H==="{"||H==="%"||H==="@"||H==="|"||!H||H===Rt?M:H===Je?(M+=H,x.next(),E(A,M)):(M+=H,x.next(),E(!0,M))};return E(!1,"")}function te(x){_(x);const E=m(x,"|");return _(x),E}function le(x,E){let A=null;switch(x.currentChar()){case"{":return E.braceNest>=1&&h(Se.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),x.next(),A=f(E,2,"{"),_(x),E.braceNest++,A;case"}":return E.braceNest>0&&E.currentType===2&&h(Se.EMPTY_PLACEHOLDER,i(),0),x.next(),A=f(E,3,"}"),E.braceNest--,E.braceNest>0&&_(x),E.inLinked&&E.braceNest===0&&(E.inLinked=!1),A;case"@":return E.braceNest>0&&h(Se.UNTERMINATED_CLOSING_BRACE,i(),0),A=xe(x,E)||c(E),E.braceNest=0,A;default:let H=!0,j=!0,V=!0;if(O(x))return E.braceNest>0&&h(Se.UNTERMINATED_CLOSING_BRACE,i(),0),A=f(E,1,te(x)),E.braceNest=0,E.inLinked=!1,A;if(E.braceNest>0&&(E.currentType===5||E.currentType===6||E.currentType===7))return h(Se.UNTERMINATED_CLOSING_BRACE,i(),0),E.braceNest=0,ae(x,E);if(H=S(x,E))return A=f(E,5,pe(x)),_(x),A;if(j=g(x,E))return A=f(E,6,fe(x)),_(x),A;if(V=y(x,E))return A=f(E,7,ce(x)),_(x),A;if(!H&&!j&&!V)return A=f(E,13,B(x)),h(Se.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,A.value),_(x),A;break}return A}function xe(x,E){const{currentType:A}=E;let M=null;const H=x.currentChar();switch((A===8||A===9||A===12||A===10)&&(H===Je||H===Rt)&&h(Se.INVALID_LINKED_FORMAT,i(),0),H){case"@":return x.next(),M=f(E,8,"@"),E.inLinked=!0,M;case".":return _(x),x.next(),f(E,9,".");case":":return _(x),x.next(),f(E,10,":");default:return O(x)?(M=f(E,1,te(x)),E.braceNest=0,E.inLinked=!1,M):b(x,E)||P(x,E)?(_(x),xe(x,E)):w(x,E)?(_(x),f(E,12,Y(x))):T(x,E)?(_(x),H==="{"?le(x,E)||M:f(E,11,K(x))):(A===8&&h(Se.INVALID_LINKED_FORMAT,i(),0),E.braceNest=0,E.inLinked=!1,ae(x,E))}}function ae(x,E){let A={type:14};if(E.braceNest>0)return le(x,E)||c(E);if(E.inLinked)return xe(x,E)||c(E);switch(x.currentChar()){case"{":return le(x,E)||c(E);case"}":return h(Se.UNBALANCED_CLOSING_BRACE,i(),0),x.next(),f(E,3,"}");case"@":return xe(x,E)||c(E);default:if(O(x))return A=f(E,1,te(x)),E.braceNest=0,E.inLinked=!1,A;const{isModulo:H,hasSpace:j}=L(x);if(H)return j?f(E,0,re(x)):f(E,4,ne(x));if(N(x))return f(E,0,re(x));break}return A}function C(){const{currentType:x,offset:E,startLoc:A,endLoc:M}=a;return a.lastType=x,a.lastOffset=E,a.lastStartLoc=A,a.lastEndLoc=M,a.offset=r(),a.startLoc=i(),s.currentChar()===Wt?f(a,14):ae(s,a)}return{nextToken:C,currentOffset:r,currentPosition:i,context:d}}const Ph="parser",Lh=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Ih(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const s=parseInt(t||n,16);return s<=55295||s>=57344?String.fromCodePoint(s):"�"}}}function Oh(e={}){const t=e.location!==!1,{onError:n}=e;function s(v,k,S,g,...y){const b=v.currentPosition();if(b.offset+=g,b.column+=g,n){const w=Zr(S,b),P=wr(k,w,{domain:Ph,args:y});n(P)}}function r(v,k,S){const g={type:v,start:k,end:k};return t&&(g.loc={start:S,end:S}),g}function i(v,k,S,g){v.end=k,g&&(v.type=g),t&&v.loc&&(v.loc.end=S)}function o(v,k){const S=v.context(),g=r(3,S.offset,S.startLoc);return g.value=k,i(g,v.currentOffset(),v.currentPosition()),g}function l(v,k){const S=v.context(),{lastOffset:g,lastStartLoc:y}=S,b=r(5,g,y);return b.index=parseInt(k,10),v.nextToken(),i(b,v.currentOffset(),v.currentPosition()),b}function a(v,k){const S=v.context(),{lastOffset:g,lastStartLoc:y}=S,b=r(4,g,y);return b.key=k,v.nextToken(),i(b,v.currentOffset(),v.currentPosition()),b}function d(v,k){const S=v.context(),{lastOffset:g,lastStartLoc:y}=S,b=r(9,g,y);return b.value=k.replace(Lh,Ih),v.nextToken(),i(b,v.currentOffset(),v.currentPosition()),b}function u(v){const k=v.nextToken(),S=v.context(),{lastOffset:g,lastStartLoc:y}=S,b=r(8,g,y);return k.type!==12?(s(v,Se.UNEXPECTED_EMPTY_LINKED_MODIFIER,S.lastStartLoc,0),b.value="",i(b,g,y),{nextConsumeToken:k,node:b}):(k.value==null&&s(v,Se.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Et(k)),b.value=k.value||"",i(b,v.currentOffset(),v.currentPosition()),{node:b})}function h(v,k){const S=v.context(),g=r(7,S.offset,S.startLoc);return g.value=k,i(g,v.currentOffset(),v.currentPosition()),g}function f(v){const k=v.context(),S=r(6,k.offset,k.startLoc);let g=v.nextToken();if(g.type===9){const y=u(v);S.modifier=y.node,g=y.nextConsumeToken||v.nextToken()}switch(g.type!==10&&s(v,Se.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Et(g)),g=v.nextToken(),g.type===2&&(g=v.nextToken()),g.type){case 11:g.value==null&&s(v,Se.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Et(g)),S.key=h(v,g.value||"");break;case 5:g.value==null&&s(v,Se.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Et(g)),S.key=a(v,g.value||"");break;case 6:g.value==null&&s(v,Se.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Et(g)),S.key=l(v,g.value||"");break;case 7:g.value==null&&s(v,Se.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Et(g)),S.key=d(v,g.value||"");break;default:s(v,Se.UNEXPECTED_EMPTY_LINKED_KEY,k.lastStartLoc,0);const y=v.context(),b=r(7,y.offset,y.startLoc);return b.value="",i(b,y.offset,y.startLoc),S.key=b,i(S,y.offset,y.startLoc),{nextConsumeToken:g,node:S}}return i(S,v.currentOffset(),v.currentPosition()),{node:S}}function c(v){const k=v.context(),S=k.currentType===1?v.currentOffset():k.offset,g=k.currentType===1?k.endLoc:k.startLoc,y=r(2,S,g);y.items=[];let b=null;do{const T=b||v.nextToken();switch(b=null,T.type){case 0:T.value==null&&s(v,Se.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Et(T)),y.items.push(o(v,T.value||""));break;case 6:T.value==null&&s(v,Se.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Et(T)),y.items.push(l(v,T.value||""));break;case 5:T.value==null&&s(v,Se.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Et(T)),y.items.push(a(v,T.value||""));break;case 7:T.value==null&&s(v,Se.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Et(T)),y.items.push(d(v,T.value||""));break;case 8:const O=f(v);y.items.push(O.node),b=O.nextConsumeToken||null;break}}while(k.currentType!==14&&k.currentType!==1);const w=k.currentType===1?k.lastOffset:v.currentOffset(),P=k.currentType===1?k.lastEndLoc:v.currentPosition();return i(y,w,P),y}function m(v,k,S,g){const y=v.context();let b=g.items.length===0;const w=r(1,k,S);w.cases=[],w.cases.push(g);do{const P=c(v);b||(b=P.items.length===0),w.cases.push(P)}while(y.currentType!==14);return b&&s(v,Se.MUST_HAVE_MESSAGES_IN_PLURAL,S,0),i(w,v.currentOffset(),v.currentPosition()),w}function p(v){const k=v.context(),{offset:S,startLoc:g}=k,y=c(v);return k.currentType===14?y:m(v,S,g,y)}function _(v){const k=Th(v,Ge({},e)),S=k.context(),g=r(0,S.offset,S.startLoc);return t&&g.loc&&(g.loc.source=v),g.body=p(k),S.currentType!==14&&s(k,Se.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,v[S.offset]||""),i(g,k.currentOffset(),k.currentPosition()),g}return{parse:_}}function Et(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Mh(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function Xo(e,t){for(let n=0;no;function a(p,_){o.code+=p}function d(p,_=!0){const v=_?r:"";a(i?v+" ".repeat(p):v)}function u(p=!0){const _=++o.indentLevel;p&&d(_)}function h(p=!0){const _=--o.indentLevel;p&&d(_)}function f(){d(o.indentLevel)}return{context:l,push:a,indent:u,deindent:h,newline:f,helper:p=>`_${p}`,needIndent:()=>o.needIndent}}function $h(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Mn(e,t.key),t.modifier?(e.push(", "),Mn(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Dh(e,t){const{helper:n,needIndent:s}=e;e.push(`${n("normalize")}([`),e.indent(s());const r=t.items.length;for(let i=0;i1){e.push(`${n("plural")}([`),e.indent(s());const r=t.cases.length;for(let i=0;i{const n=ee(t.mode)?t.mode:"normal",s=ee(t.filename)?t.filename:"message.intl",r=!!t.sourceMap,i=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` +`,o=t.needIndent?t.needIndent:n!=="arrow",l=e.helpers||[],a=Nh(e,{mode:n,filename:s,sourceMap:r,breakLineCode:i,needIndent:o});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(o),l.length>0&&(a.push(`const { ${l.map(h=>`${h}: _${h}`).join(", ")} } = ctx`),a.newline()),a.push("return "),Mn(a,e),a.deindent(o),a.push("}");const{code:d,map:u}=a.context();return{ast:e,code:d,map:u?u.toJSON():void 0}};function Wh(e,t={}){const n=Ge({},t),r=Oh(n).parse(e);return Rh(r,n),Hh(r,n)}/*! + * devtools-if v9.2.2 + * (c) 2022 kazuya kawaguchi + * Released under the MIT License. + */const ql={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*! + * core-base v9.2.2 + * (c) 2022 kazuya kawaguchi + * Released under the MIT License. + */const Zt=[];Zt[0]={w:[0],i:[3,0],["["]:[4],o:[7]};Zt[1]={w:[1],["."]:[2],["["]:[4],o:[7]};Zt[2]={w:[2],i:[3,0],[0]:[3,0]};Zt[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]};Zt[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]};Zt[5]={["'"]:[4,0],o:8,l:[5,0]};Zt[6]={['"']:[4,0],o:8,l:[6,0]};const jh=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Uh(e){return jh.test(e)}function Vh(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function zh(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Gh(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Uh(t)?Vh(t):"*"+t}function Kh(e){const t=[];let n=-1,s=0,r=0,i,o,l,a,d,u,h;const f=[];f[0]=()=>{o===void 0?o=l:o+=l},f[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},f[2]=()=>{f[0](),r++},f[3]=()=>{if(r>0)r--,s=4,f[0]();else{if(r=0,o===void 0||(o=Gh(o),o===!1))return!1;f[1]()}};function c(){const m=e[n+1];if(s===5&&m==="'"||s===6&&m==='"')return n++,l="\\"+m,f[0](),!0}for(;s!==null;)if(n++,i=e[n],!(i==="\\"&&c())){if(a=zh(i),h=Zt[s],d=h[a]||h.l||8,d===8||(s=d[0],d[1]!==void 0&&(u=f[d[1]],u&&(l=i,u()===!1))))return;if(s===7)return t}}const qo=new Map;function Yh(e,t){return Le(e)?e[t]:null}function Xh(e,t){if(!Le(e))return null;let n=qo.get(t);if(n||(n=Kh(t),n&&qo.set(t,n)),!n)return null;const s=n.length;let r=e,i=0;for(;ie,Qh=e=>"",Jh="text",Zh=e=>e.length===0?"":e.join(""),ep=xh;function Qo(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function tp(e){const t=je(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(je(e.named.count)||je(e.named.n))?je(e.named.count)?e.named.count:je(e.named.n)?e.named.n:t:t}function np(e,t){t.count||(t.count=e),t.n||(t.n=e)}function ip(e={}){const t=e.locale,n=tp(e),s=Le(e.pluralRules)&&ee(t)&&He(e.pluralRules[t])?e.pluralRules[t]:Qo,r=Le(e.pluralRules)&&ee(t)&&He(e.pluralRules[t])?Qo:void 0,i=v=>v[s(n,v.length,r)],o=e.list||[],l=v=>o[v],a=e.named||{};je(e.pluralIndex)&&np(n,a);const d=v=>a[v];function u(v){const k=He(e.messages)?e.messages(v):Le(e.messages)?e.messages[v]:!1;return k||(e.parent?e.parent.message(v):Qh)}const h=v=>e.modifiers?e.modifiers[v]:qh,f=ue(e.processor)&&He(e.processor.normalize)?e.processor.normalize:Zh,c=ue(e.processor)&&He(e.processor.interpolate)?e.processor.interpolate:ep,m=ue(e.processor)&&ee(e.processor.type)?e.processor.type:Jh,_={list:l,named:d,plural:i,linked:(v,...k)=>{const[S,g]=k;let y="text",b="";k.length===1?Le(S)?(b=S.modifier||b,y=S.type||y):ee(S)&&(b=S||b):k.length===2&&(ee(S)&&(b=S||b),ee(g)&&(y=g||y));let w=u(v)(_);return y==="vnode"&&Pe(w)&&b&&(w=w[0]),b?h(b)(w,y):w},message:u,type:m,interpolate:c,normalize:f};return _}let gi=null;function rp(e){gi=e}function sp(e,t,n){gi&&gi.emit(ql.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:n})}const op=ap(ql.FunctionTranslate);function ap(e){return t=>gi&&gi.emit(e,t)}const lp={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,__EXTEND_POINT__:7};function cp(e,t,n){return[...new Set([n,...Pe(t)?t:Le(t)?Object.keys(t):ee(t)?[t]:[n]])]}function Ql(e,t,n){const s=ee(n)?n:wi,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let i=r.__localeChainCache.get(s);if(!i){i=[];let o=[n];for(;Pe(o);)o=Jo(i,o,t);const l=Pe(t)||!ue(t)?t:t.default?t.default:null;o=ee(l)?[l]:l,Pe(o)&&Jo(i,o,!1),r.__localeChainCache.set(s,i)}return i}function Jo(e,t,n){let s=!0;for(let r=0;r`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function hp(){return{upper:(e,t)=>t==="text"&&ee(e)?e.toUpperCase():t==="vnode"&&Le(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ee(e)?e.toLowerCase():t==="vnode"&&Le(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ee(e)?ea(e):t==="vnode"&&Le(e)&&"__v_isVNode"in e?ea(e.children):e}}let Jl;function pp(e){Jl=e}let Zl;function mp(e){Zl=e}let ec;function gp(e){ec=e}let tc=null;const ta=e=>{tc=e},vp=()=>tc;let nc=null;const na=e=>{nc=e},_p=()=>nc;let ia=0;function yp(e={}){const t=ee(e.version)?e.version:dp,n=ee(e.locale)?e.locale:wi,s=Pe(e.fallbackLocale)||ue(e.fallbackLocale)||ee(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,r=ue(e.messages)?e.messages:{[n]:{}},i=ue(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},o=ue(e.numberFormats)?e.numberFormats:{[n]:{}},l=Ge({},e.modifiers||{},hp()),a=e.pluralRules||{},d=He(e.missing)?e.missing:null,u=we(e.missingWarn)||Qt(e.missingWarn)?e.missingWarn:!0,h=we(e.fallbackWarn)||Qt(e.fallbackWarn)?e.fallbackWarn:!0,f=!!e.fallbackFormat,c=!!e.unresolving,m=He(e.postTranslation)?e.postTranslation:null,p=ue(e.processor)?e.processor:null,_=we(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter,k=He(e.messageCompiler)?e.messageCompiler:Jl,S=He(e.messageResolver)?e.messageResolver:Zl||Yh,g=He(e.localeFallbacker)?e.localeFallbacker:ec||cp,y=Le(e.fallbackContext)?e.fallbackContext:void 0,b=He(e.onWarn)?e.onWarn:_h,w=e,P=Le(w.__datetimeFormatters)?w.__datetimeFormatters:new Map,T=Le(w.__numberFormatters)?w.__numberFormatters:new Map,O=Le(w.__meta)?w.__meta:{};ia++;const L={version:t,cid:ia,locale:n,fallbackLocale:s,messages:r,modifiers:l,pluralRules:a,missing:d,missingWarn:u,fallbackWarn:h,fallbackFormat:f,unresolving:c,postTranslation:m,processor:p,warnHtmlMessage:_,escapeParameter:v,messageCompiler:k,messageResolver:S,localeFallbacker:g,fallbackContext:y,onWarn:b,__meta:O};return L.datetimeFormats=i,L.numberFormats=o,L.__datetimeFormatters=P,L.__numberFormatters=T,__INTLIFY_PROD_DEVTOOLS__&&sp(L,t,O),L}function Fs(e,t,n,s,r){const{missing:i,onWarn:o}=e;if(i!==null){const l=i(e,n,t,r);return ee(l)?l:t}else return t}function Kn(e,t,n){const s=e;s.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}const xp=e=>e;let ra=Object.create(null);function bp(e,t={}){{const s=(t.onCacheKey||xp)(e),r=ra[s];if(r)return r;let i=!1;const o=t.onError||bh;t.onError=d=>{i=!0,o(d)};const{code:l}=Wh(e,t),a=new Function(`return ${l}`)();return i?a:ra[s]=a}}let ic=Se.__EXTEND_POINT__;const Dr=()=>++ic,bn={INVALID_ARGUMENT:ic,INVALID_DATE_ARGUMENT:Dr(),INVALID_ISO_DATE_ARGUMENT:Dr(),__EXTEND_POINT__:Dr()};function wn(e){return wr(e,null,void 0)}const sa=()=>"",Ct=e=>He(e);function oa(e,...t){const{fallbackFormat:n,postTranslation:s,unresolving:r,messageCompiler:i,fallbackLocale:o,messages:l}=e,[a,d]=es(...t),u=we(d.missingWarn)?d.missingWarn:e.missingWarn,h=we(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,f=we(d.escapeParameter)?d.escapeParameter:e.escapeParameter,c=!!d.resolvedMessage,m=ee(d.default)||we(d.default)?we(d.default)?i?a:()=>a:d.default:n?i?a:()=>a:"",p=n||m!=="",_=ee(d.locale)?d.locale:e.locale;f&&wp(d);let[v,k,S]=c?[a,_,l[_]||{}]:rc(e,a,_,o,h,u),g=v,y=a;if(!c&&!(ee(g)||Ct(g))&&p&&(g=m,y=g),!c&&(!(ee(g)||Ct(g))||!ee(k)))return r?Er:a;let b=!1;const w=()=>{b=!0},P=Ct(g)?g:sc(e,a,k,g,y,w);if(b)return g;const T=Sp(e,k,S,d),O=ip(T),L=Ep(e,P,O),N=s?s(L,a):L;if(__INTLIFY_PROD_DEVTOOLS__){const F={timestamp:Date.now(),key:ee(a)?a:Ct(g)?g.key:"",locale:k||(Ct(g)?g.locale:""),format:ee(g)?g:Ct(g)?g.source:"",message:N};F.meta=Ge({},e.__meta,vp()||{}),op(F)}return N}function wp(e){Pe(e.list)?e.list=e.list.map(t=>ee(t)?Ko(t):t):Le(e.named)&&Object.keys(e.named).forEach(t=>{ee(e.named[t])&&(e.named[t]=Ko(e.named[t]))})}function rc(e,t,n,s,r,i){const{messages:o,onWarn:l,messageResolver:a,localeFallbacker:d}=e,u=d(e,s,n);let h={},f,c=null;const m="translate";for(let p=0;ps;return d.locale=n,d.key=t,d}const a=o(s,kp(e,n,r,s,l,i));return a.locale=n,a.key=t,a.source=s,a}function Ep(e,t,n){return t(n)}function es(...e){const[t,n,s]=e,r={};if(!ee(t)&&!je(t)&&!Ct(t))throw wn(bn.INVALID_ARGUMENT);const i=je(t)?String(t):(Ct(t),t);return je(n)?r.plural=n:ee(n)?r.default=n:ue(n)&&!br(n)?r.named=n:Pe(n)&&(r.list=n),je(s)?r.plural=s:ee(s)?r.default=s:ue(s)&&Ge(r,s),[i,r]}function kp(e,t,n,s,r,i){return{warnHtmlMessage:r,onError:o=>{throw i&&i(o),o},onCacheKey:o=>mh(t,n,o)}}function Sp(e,t,n,s){const{modifiers:r,pluralRules:i,messageResolver:o,fallbackLocale:l,fallbackWarn:a,missingWarn:d,fallbackContext:u}=e,f={locale:t,modifiers:r,pluralRules:i,messages:c=>{let m=o(n,c);if(m==null&&u){const[,,p]=rc(u,c,t,l,a,d);m=o(p,c)}if(ee(m)){let p=!1;const v=sc(e,c,t,m,c,()=>{p=!0});return p?sa:v}else return Ct(m)?m:sa}};return e.processor&&(f.processor=e.processor),s.list&&(f.list=s.list),s.named&&(f.named=s.named),je(s.plural)&&(f.pluralIndex=s.plural),f}function aa(e,...t){const{datetimeFormats:n,unresolving:s,fallbackLocale:r,onWarn:i,localeFallbacker:o}=e,{__datetimeFormatters:l}=e,[a,d,u,h]=ts(...t),f=we(u.missingWarn)?u.missingWarn:e.missingWarn;we(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const c=!!u.part,m=ee(u.locale)?u.locale:e.locale,p=o(e,r,m);if(!ee(a)||a==="")return new Intl.DateTimeFormat(m,h).format(d);let _={},v,k=null;const S="datetime format";for(let b=0;b{oc.includes(a)?o[a]=n[a]:i[a]=n[a]}),ee(s)?i.locale=s:ue(s)&&(o=s),ue(r)&&(o=r),[i.key||"",l,i,o]}function la(e,t,n){const s=e;for(const r in n){const i=`${t}__${r}`;s.__datetimeFormatters.has(i)&&s.__datetimeFormatters.delete(i)}}function ca(e,...t){const{numberFormats:n,unresolving:s,fallbackLocale:r,onWarn:i,localeFallbacker:o}=e,{__numberFormatters:l}=e,[a,d,u,h]=ns(...t),f=we(u.missingWarn)?u.missingWarn:e.missingWarn;we(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const c=!!u.part,m=ee(u.locale)?u.locale:e.locale,p=o(e,r,m);if(!ee(a)||a==="")return new Intl.NumberFormat(m,h).format(d);let _={},v,k=null;const S="number format";for(let b=0;b{ac.includes(a)?o[a]=n[a]:i[a]=n[a]}),ee(s)?i.locale=s:ue(s)&&(o=s),ue(r)&&(o=r),[i.key||"",l,i,o]}function ua(e,t,n){const s=e;for(const r in n){const i=`${t}__${r}`;s.__numberFormatters.has(i)&&s.__numberFormatters.delete(i)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ni().__INTLIFY_PROD_DEVTOOLS__=!1);/*! + * vue-i18n v9.2.2 + * (c) 2022 kazuya kawaguchi + * Released under the MIT License. + */const Cp="9.2.2";function Ap(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(ni().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(ni().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ni().__INTLIFY_PROD_DEVTOOLS__=!1)}lp.__EXTEND_POINT__;let lc=Se.__EXTEND_POINT__;const et=()=>++lc,We={UNEXPECTED_RETURN_TYPE:lc,INVALID_ARGUMENT:et(),MUST_BE_CALL_SETUP_TOP:et(),NOT_INSLALLED:et(),NOT_AVAILABLE_IN_LEGACY_MODE:et(),REQUIRED_VALUE:et(),INVALID_VALUE:et(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:et(),NOT_INSLALLED_WITH_PROVIDE:et(),UNEXPECTED_ERROR:et(),NOT_COMPATIBLE_LEGACY_VUE_I18N:et(),BRIDGE_SUPPORT_VUE_2_ONLY:et(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:et(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:et(),__EXTEND_POINT__:et()};function Ue(e,...t){return wr(e,null,void 0)}const is=Jt("__transrateVNode"),rs=Jt("__datetimeParts"),ss=Jt("__numberParts"),cc=Jt("__setPluralRules");Jt("__intlifyMeta");const uc=Jt("__injectWithOption");function os(e){if(!Le(e))return e;for(const t in e)if(Ns(e,t))if(!t.includes("."))Le(e[t])&&os(e[t]);else{const n=t.split("."),s=n.length-1;let r=e;for(let i=0;i{if("locale"in l&&"resource"in l){const{locale:a,resource:d}=l;a?(o[a]=o[a]||{},ii(d,o[a])):ii(d,o)}else ee(l)&&ii(JSON.parse(l),o)}),r==null&&i)for(const l in o)Ns(o,l)&&os(o[l]);return o}const Oi=e=>!Le(e)||Pe(e);function ii(e,t){if(Oi(e)||Oi(t))throw Ue(We.INVALID_VALUE);for(const n in e)Ns(e,n)&&(Oi(e[n])||Oi(t[n])?t[n]=e[n]:ii(e[n],t[n]))}function fc(e){return e.type}function dc(e,t,n){let s=Le(t.messages)?t.messages:{};"__i18nGlobal"in n&&(s=kr(e.locale.value,{messages:s,__i18n:n.__i18nGlobal}));const r=Object.keys(s);r.length&&r.forEach(i=>{e.mergeLocaleMessage(i,s[i])});{if(Le(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(o=>{e.mergeDateTimeFormat(o,t.datetimeFormats[o])})}if(Le(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(o=>{e.mergeNumberFormat(o,t.numberFormats[o])})}}}function fa(e){return X(bi,null,e,0)}const da="__INTLIFY_META__";let ha=0;function pa(e){return(t,n,s,r)=>e(n,s,hi()||void 0,r)}const Tp=()=>{const e=hi();let t=null;return e&&(t=fc(e)[da])?{[da]:t}:null};function Bs(e={},t){const{__root:n}=e,s=n===void 0;let r=we(e.inheritLocale)?e.inheritLocale:!0;const i=_e(n&&r?n.locale.value:ee(e.locale)?e.locale:wi),o=_e(n&&r?n.fallbackLocale.value:ee(e.fallbackLocale)||Pe(e.fallbackLocale)||ue(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i.value),l=_e(kr(i.value,e)),a=_e(ue(e.datetimeFormats)?e.datetimeFormats:{[i.value]:{}}),d=_e(ue(e.numberFormats)?e.numberFormats:{[i.value]:{}});let u=n?n.missingWarn:we(e.missingWarn)||Qt(e.missingWarn)?e.missingWarn:!0,h=n?n.fallbackWarn:we(e.fallbackWarn)||Qt(e.fallbackWarn)?e.fallbackWarn:!0,f=n?n.fallbackRoot:we(e.fallbackRoot)?e.fallbackRoot:!0,c=!!e.fallbackFormat,m=He(e.missing)?e.missing:null,p=He(e.missing)?pa(e.missing):null,_=He(e.postTranslation)?e.postTranslation:null,v=n?n.warnHtmlMessage:we(e.warnHtmlMessage)?e.warnHtmlMessage:!0,k=!!e.escapeParameter;const S=n?n.modifiers:ue(e.modifiers)?e.modifiers:{};let g=e.pluralRules||n&&n.pluralRules,y;y=(()=>{s&&na(null);const R={version:Cp,locale:i.value,fallbackLocale:o.value,messages:l.value,modifiers:S,pluralRules:g,missing:p===null?void 0:p,missingWarn:u,fallbackWarn:h,fallbackFormat:c,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:v,escapeParameter:k,messageResolver:e.messageResolver,__meta:{framework:"vue"}};R.datetimeFormats=a.value,R.numberFormats=d.value,R.__datetimeFormatters=ue(y)?y.__datetimeFormatters:void 0,R.__numberFormatters=ue(y)?y.__numberFormatters:void 0;const D=yp(R);return s&&na(D),D})(),Kn(y,i.value,o.value);function w(){return[i.value,o.value,l.value,a.value,d.value]}const P=De({get:()=>i.value,set:R=>{i.value=R,y.locale=i.value}}),T=De({get:()=>o.value,set:R=>{o.value=R,y.fallbackLocale=o.value,Kn(y,i.value,R)}}),O=De(()=>l.value),L=De(()=>a.value),N=De(()=>d.value);function F(){return He(_)?_:null}function z(R){_=R,y.postTranslation=R}function J(){return m}function U(R){R!==null&&(p=pa(R)),m=R,y.missing=p}const q=(R,D,ie,se,de,Ee)=>{w();let ye;if(__INTLIFY_PROD_DEVTOOLS__)try{ta(Tp()),s||(y.fallbackContext=n?_p():void 0),ye=R(y)}finally{ta(null),s||(y.fallbackContext=void 0)}else ye=R(y);if(je(ye)&&ye===Er){const[Fe,ot]=D();return n&&f?se(n):de(Fe)}else{if(Ee(ye))return ye;throw Ue(We.UNEXPECTED_RETURN_TYPE)}};function ne(...R){return q(D=>Reflect.apply(oa,null,[D,...R]),()=>es(...R),"translate",D=>Reflect.apply(D.t,D,[...R]),D=>D,D=>ee(D))}function re(...R){const[D,ie,se]=R;if(se&&!Le(se))throw Ue(We.INVALID_ARGUMENT);return ne(D,ie,Ge({resolvedMessage:!0},se||{}))}function pe(...R){return q(D=>Reflect.apply(aa,null,[D,...R]),()=>ts(...R),"datetime format",D=>Reflect.apply(D.d,D,[...R]),()=>Zo,D=>ee(D))}function fe(...R){return q(D=>Reflect.apply(ca,null,[D,...R]),()=>ns(...R),"number format",D=>Reflect.apply(D.n,D,[...R]),()=>Zo,D=>ee(D))}function ce(R){return R.map(D=>ee(D)||je(D)||we(D)?fa(String(D)):D)}const Ce={normalize:ce,interpolate:R=>R,type:"vnode"};function B(...R){return q(D=>{let ie;const se=D;try{se.processor=Ce,ie=Reflect.apply(oa,null,[se,...R])}finally{se.processor=null}return ie},()=>es(...R),"translate",D=>D[is](...R),D=>[fa(D)],D=>Pe(D))}function Y(...R){return q(D=>Reflect.apply(ca,null,[D,...R]),()=>ns(...R),"number format",D=>D[ss](...R),()=>[],D=>ee(D)||Pe(D))}function K(...R){return q(D=>Reflect.apply(aa,null,[D,...R]),()=>ts(...R),"datetime format",D=>D[rs](...R),()=>[],D=>ee(D)||Pe(D))}function te(R){g=R,y.pluralRules=g}function le(R,D){const ie=ee(D)?D:i.value,se=C(ie);return y.messageResolver(se,R)!==null}function xe(R){let D=null;const ie=Ql(y,o.value,i.value);for(let se=0;se{r&&(i.value=R,y.locale=R,Kn(y,i.value,o.value))}),Tt(n.fallbackLocale,R=>{r&&(o.value=R,y.fallbackLocale=R,Kn(y,i.value,o.value))}));const W={id:ha,locale:P,fallbackLocale:T,get inheritLocale(){return r},set inheritLocale(R){r=R,R&&n&&(i.value=n.locale.value,o.value=n.fallbackLocale.value,Kn(y,i.value,o.value))},get availableLocales(){return Object.keys(l.value).sort()},messages:O,get modifiers(){return S},get pluralRules(){return g||{}},get isGlobal(){return s},get missingWarn(){return u},set missingWarn(R){u=R,y.missingWarn=u},get fallbackWarn(){return h},set fallbackWarn(R){h=R,y.fallbackWarn=h},get fallbackRoot(){return f},set fallbackRoot(R){f=R},get fallbackFormat(){return c},set fallbackFormat(R){c=R,y.fallbackFormat=c},get warnHtmlMessage(){return v},set warnHtmlMessage(R){v=R,y.warnHtmlMessage=R},get escapeParameter(){return k},set escapeParameter(R){k=R,y.escapeParameter=R},t:ne,getLocaleMessage:C,setLocaleMessage:x,mergeLocaleMessage:E,getPostTranslationHandler:F,setPostTranslationHandler:z,getMissingHandler:J,setMissingHandler:U,[cc]:te};return W.datetimeFormats=L,W.numberFormats=N,W.rt=re,W.te=le,W.tm=ae,W.d=pe,W.n=fe,W.getDateTimeFormat=A,W.setDateTimeFormat=M,W.mergeDateTimeFormat=H,W.getNumberFormat=j,W.setNumberFormat=V,W.mergeNumberFormat=G,W[uc]=e.__injectWithOption,W[is]=B,W[rs]=K,W[ss]=Y,W}function Pp(e){const t=ee(e.locale)?e.locale:wi,n=ee(e.fallbackLocale)||Pe(e.fallbackLocale)||ue(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,s=He(e.missing)?e.missing:void 0,r=we(e.silentTranslationWarn)||Qt(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=we(e.silentFallbackWarn)||Qt(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=we(e.fallbackRoot)?e.fallbackRoot:!0,l=!!e.formatFallbackMessages,a=ue(e.modifiers)?e.modifiers:{},d=e.pluralizationRules,u=He(e.postTranslation)?e.postTranslation:void 0,h=ee(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,f=!!e.escapeParameterHtml,c=we(e.sync)?e.sync:!0;let m=e.messages;if(ue(e.sharedMessages)){const y=e.sharedMessages;m=Object.keys(y).reduce((w,P)=>{const T=w[P]||(w[P]={});return Ge(T,y[P]),w},m||{})}const{__i18n:p,__root:_,__injectWithOption:v}=e,k=e.datetimeFormats,S=e.numberFormats,g=e.flatJson;return{locale:t,fallbackLocale:n,messages:m,flatJson:g,datetimeFormats:k,numberFormats:S,missing:s,missingWarn:r,fallbackWarn:i,fallbackRoot:o,fallbackFormat:l,modifiers:a,pluralRules:d,postTranslation:u,warnHtmlMessage:h,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:c,__i18n:p,__root:_,__injectWithOption:v}}function as(e={},t){{const n=Bs(Pp(e)),s={id:n.id,get locale(){return n.locale.value},set locale(r){n.locale.value=r},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(r){n.fallbackLocale.value=r},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(r){},get missing(){return n.getMissingHandler()},set missing(r){n.setMissingHandler(r)},get silentTranslationWarn(){return we(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(r){n.missingWarn=we(r)?!r:r},get silentFallbackWarn(){return we(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(r){n.fallbackWarn=we(r)?!r:r},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(r){n.fallbackFormat=r},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(r){n.setPostTranslationHandler(r)},get sync(){return n.inheritLocale},set sync(r){n.inheritLocale=r},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){n.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(r){n.escapeParameter=r},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(r){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...r){const[i,o,l]=r,a={};let d=null,u=null;if(!ee(i))throw Ue(We.INVALID_ARGUMENT);const h=i;return ee(o)?a.locale=o:Pe(o)?d=o:ue(o)&&(u=o),Pe(l)?d=l:ue(l)&&(u=l),Reflect.apply(n.t,n,[h,d||u||{},a])},rt(...r){return Reflect.apply(n.rt,n,[...r])},tc(...r){const[i,o,l]=r,a={plural:1};let d=null,u=null;if(!ee(i))throw Ue(We.INVALID_ARGUMENT);const h=i;return ee(o)?a.locale=o:je(o)?a.plural=o:Pe(o)?d=o:ue(o)&&(u=o),ee(l)?a.locale=l:Pe(l)?d=l:ue(l)&&(u=l),Reflect.apply(n.t,n,[h,d||u||{},a])},te(r,i){return n.te(r,i)},tm(r){return n.tm(r)},getLocaleMessage(r){return n.getLocaleMessage(r)},setLocaleMessage(r,i){n.setLocaleMessage(r,i)},mergeLocaleMessage(r,i){n.mergeLocaleMessage(r,i)},d(...r){return Reflect.apply(n.d,n,[...r])},getDateTimeFormat(r){return n.getDateTimeFormat(r)},setDateTimeFormat(r,i){n.setDateTimeFormat(r,i)},mergeDateTimeFormat(r,i){n.mergeDateTimeFormat(r,i)},n(...r){return Reflect.apply(n.n,n,[...r])},getNumberFormat(r){return n.getNumberFormat(r)},setNumberFormat(r,i){n.setNumberFormat(r,i)},mergeNumberFormat(r,i){n.mergeNumberFormat(r,i)},getChoiceIndex(r,i){return-1},__onComponentInstanceCreated(r){const{componentInstanceCreatedListener:i}=e;i&&i(r,s)}};return s}}const Hs={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Lp({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((s,r)=>s=[...s,...Pe(r.children)?r.children:[r]],[]):t.reduce((n,s)=>{const r=e[s];return r&&(n[s]=r()),n},{})}function hc(e){return Be}const ma={name:"i18n-t",props:Ge({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>je(e)||!isNaN(e)}},Hs),setup(e,t){const{slots:n,attrs:s}=t,r=e.i18n||be({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(h=>h!=="_"),o={};e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=ee(e.plural)?+e.plural:e.plural);const l=Lp(t,i),a=r[is](e.keypath,l,o),d=Ge({},s),u=ee(e.tag)||Le(e.tag)?e.tag:hc();return yr(u,d,a)}}};function Ip(e){return Pe(e)&&!ee(e[0])}function pc(e,t,n,s){const{slots:r,attrs:i}=t;return()=>{const o={part:!0};let l={};e.locale&&(o.locale=e.locale),ee(e.format)?o.key=e.format:Le(e.format)&&(ee(e.format.key)&&(o.key=e.format.key),l=Object.keys(e.format).reduce((f,c)=>n.includes(c)?Ge({},f,{[c]:e.format[c]}):f,{}));const a=s(e.value,o,l);let d=[o.key];Pe(a)?d=a.map((f,c)=>{const m=r[f.type],p=m?m({[f.type]:f.value,index:c,parts:a}):[f.value];return Ip(p)&&(p[0].key=`${f.type}-${c}`),p}):ee(a)&&(d=[a]);const u=Ge({},i),h=ee(e.tag)||Le(e.tag)?e.tag:hc();return yr(h,u,d)}}const ga={name:"i18n-n",props:Ge({value:{type:Number,required:!0},format:{type:[String,Object]}},Hs),setup(e,t){const n=e.i18n||be({useScope:"parent",__useComponent:!0});return pc(e,t,ac,(...s)=>n[ss](...s))}},va={name:"i18n-d",props:Ge({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Hs),setup(e,t){const n=e.i18n||be({useScope:"parent",__useComponent:!0});return pc(e,t,oc,(...s)=>n[rs](...s))}};function Op(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const s=n.__getInstance(t);return s!=null?s.__composer:e.global.__composer}}function Mp(e){const t=o=>{const{instance:l,modifiers:a,value:d}=o;if(!l||!l.$)throw Ue(We.UNEXPECTED_ERROR);const u=Op(e,l.$),h=_a(d);return[Reflect.apply(u.t,u,[...ya(h)]),u]};return{created:(o,l)=>{const[a,d]=t(l);Jr&&e.global===d&&(o.__i18nWatcher=Tt(d.locale,()=>{l.instance&&l.instance.$forceUpdate()})),o.__composer=d,o.textContent=a},unmounted:o=>{Jr&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:l})=>{if(o.__composer){const a=o.__composer,d=_a(l);o.textContent=Reflect.apply(a.t,a,[...ya(d)])}},getSSRProps:o=>{const[l]=t(o);return{textContent:l}}}}function _a(e){if(ee(e))return{path:e};if(ue(e)){if(!("path"in e))throw Ue(We.REQUIRED_VALUE,"path");return e}else throw Ue(We.INVALID_VALUE)}function ya(e){const{path:t,locale:n,args:s,choice:r,plural:i}=e,o={},l=s||{};return ee(n)&&(o.locale=n),je(r)&&(o.plural=r),je(i)&&(o.plural=i),[t,l,o]}function Rp(e,t,...n){const s=ue(n[0])?n[0]:{},r=!!s.useI18nComponentName;(we(s.globalInstall)?s.globalInstall:!0)&&(e.component(r?"i18n":ma.name,ma),e.component(ga.name,ga),e.component(va.name,va)),e.directive("t",Mp(t))}function Np(e,t,n){return{beforeCreate(){const s=hi();if(!s)throw Ue(We.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const i=r.i18n;r.__i18n&&(i.__i18n=r.__i18n),i.__root=t,this===this.$root?this.$i18n=xa(e,i):(i.__injectWithOption=!0,this.$i18n=as(i))}else r.__i18n?this===this.$root?this.$i18n=xa(e,r):this.$i18n=as({__i18n:r.__i18n,__injectWithOption:!0,__root:t}):this.$i18n=e;r.__i18nGlobal&&dc(t,r,r),e.__onComponentInstanceCreated(this.$i18n),n.__setInstance(s,this.$i18n),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$tc=(...i)=>this.$i18n.tc(...i),this.$te=(i,o)=>this.$i18n.te(i,o),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i)},mounted(){},unmounted(){const s=hi();if(!s)throw Ue(We.UNEXPECTED_ERROR);delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,n.__deleteInstance(s),delete this.$i18n}}}function xa(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[cc](t.pluralizationRules||e.pluralizationRules);const n=kr(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(s=>e.mergeLocaleMessage(s,n[s])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(s=>e.mergeDateTimeFormat(s,t.datetimeFormats[s])),t.numberFormats&&Object.keys(t.numberFormats).forEach(s=>e.mergeNumberFormat(s,t.numberFormats[s])),e}const $p=Jt("global-vue-i18n");function Dp(e={},t){const n=__VUE_I18N_LEGACY_API__&&we(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,s=we(e.globalInjection)?e.globalInjection:!0,r=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,i=new Map,[o,l]=Fp(e,n),a=Jt("");function d(f){return i.get(f)||null}function u(f,c){i.set(f,c)}function h(f){i.delete(f)}{const f={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return r},async install(c,...m){c.__VUE_I18N_SYMBOL__=a,c.provide(c.__VUE_I18N_SYMBOL__,f),!n&&s&&Kp(c,f.global),__VUE_I18N_FULL_INSTALL__&&Rp(c,f,...m),__VUE_I18N_LEGACY_API__&&n&&c.mixin(Np(l,l.__composer,f));const p=c.unmount;c.unmount=()=>{f.dispose(),p()}},get global(){return l},dispose(){o.stop()},__instances:i,__getInstance:d,__setInstance:u,__deleteInstance:h};return f}}function be(e={}){const t=hi();if(t==null)throw Ue(We.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Ue(We.NOT_INSLALLED);const n=Bp(t),s=Wp(n),r=fc(t),i=Hp(e,r);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw Ue(We.NOT_AVAILABLE_IN_LEGACY_MODE);return Vp(t,i,s,e)}if(i==="global")return dc(s,e,r),s;if(i==="parent"){let a=jp(n,t,e.__useComponent);return a==null&&(a=s),a}const o=n;let l=o.__getInstance(t);if(l==null){const a=Ge({},e);"__i18n"in r&&(a.__i18n=r.__i18n),s&&(a.__root=s),l=Bs(a),Up(o,t),o.__setInstance(t,l)}return l}function Fp(e,t,n){const s=Zc();{const r=__VUE_I18N_LEGACY_API__&&t?s.run(()=>as(e)):s.run(()=>Bs(e));if(r==null)throw Ue(We.UNEXPECTED_ERROR);return[s,r]}}function Bp(e){{const t=_t(e.isCE?$p:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Ue(e.isCE?We.NOT_INSLALLED_WITH_PROVIDE:We.UNEXPECTED_ERROR);return t}}function Hp(e,t){return br(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Wp(e){return e.mode==="composition"?e.global:e.global.__composer}function jp(e,t,n=!1){let s=null;const r=t.root;let i=t.parent;for(;i!=null;){const o=e;if(e.mode==="composition")s=o.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const l=o.__getInstance(i);l!=null&&(s=l.__composer,n&&s&&!s[uc]&&(s=null))}if(s!=null||r===i)break;i=i.parent}return s}function Up(e,t,n){ut(()=>{},t),Cs(()=>{e.__deleteInstance(t)},t)}function Vp(e,t,n,s={}){const r=t==="local",i=sl(null);if(r&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Ue(We.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const o=we(s.inheritLocale)?s.inheritLocale:!0,l=_e(r&&o?n.locale.value:ee(s.locale)?s.locale:wi),a=_e(r&&o?n.fallbackLocale.value:ee(s.fallbackLocale)||Pe(s.fallbackLocale)||ue(s.fallbackLocale)||s.fallbackLocale===!1?s.fallbackLocale:l.value),d=_e(kr(l.value,s)),u=_e(ue(s.datetimeFormats)?s.datetimeFormats:{[l.value]:{}}),h=_e(ue(s.numberFormats)?s.numberFormats:{[l.value]:{}}),f=r?n.missingWarn:we(s.missingWarn)||Qt(s.missingWarn)?s.missingWarn:!0,c=r?n.fallbackWarn:we(s.fallbackWarn)||Qt(s.fallbackWarn)?s.fallbackWarn:!0,m=r?n.fallbackRoot:we(s.fallbackRoot)?s.fallbackRoot:!0,p=!!s.fallbackFormat,_=He(s.missing)?s.missing:null,v=He(s.postTranslation)?s.postTranslation:null,k=r?n.warnHtmlMessage:we(s.warnHtmlMessage)?s.warnHtmlMessage:!0,S=!!s.escapeParameter,g=r?n.modifiers:ue(s.modifiers)?s.modifiers:{},y=s.pluralRules||r&&n.pluralRules;function b(){return[l.value,a.value,d.value,u.value,h.value]}const w=De({get:()=>i.value?i.value.locale.value:l.value,set:E=>{i.value&&(i.value.locale.value=E),l.value=E}}),P=De({get:()=>i.value?i.value.fallbackLocale.value:a.value,set:E=>{i.value&&(i.value.fallbackLocale.value=E),a.value=E}}),T=De(()=>i.value?i.value.messages.value:d.value),O=De(()=>u.value),L=De(()=>h.value);function N(){return i.value?i.value.getPostTranslationHandler():v}function F(E){i.value&&i.value.setPostTranslationHandler(E)}function z(){return i.value?i.value.getMissingHandler():_}function J(E){i.value&&i.value.setMissingHandler(E)}function U(E){return b(),E()}function q(...E){return i.value?U(()=>Reflect.apply(i.value.t,null,[...E])):U(()=>"")}function ne(...E){return i.value?Reflect.apply(i.value.rt,null,[...E]):""}function re(...E){return i.value?U(()=>Reflect.apply(i.value.d,null,[...E])):U(()=>"")}function pe(...E){return i.value?U(()=>Reflect.apply(i.value.n,null,[...E])):U(()=>"")}function fe(E){return i.value?i.value.tm(E):{}}function ce(E,A){return i.value?i.value.te(E,A):!1}function ve(E){return i.value?i.value.getLocaleMessage(E):{}}function Ce(E,A){i.value&&(i.value.setLocaleMessage(E,A),d.value[E]=A)}function B(E,A){i.value&&i.value.mergeLocaleMessage(E,A)}function Y(E){return i.value?i.value.getDateTimeFormat(E):{}}function K(E,A){i.value&&(i.value.setDateTimeFormat(E,A),u.value[E]=A)}function te(E,A){i.value&&i.value.mergeDateTimeFormat(E,A)}function le(E){return i.value?i.value.getNumberFormat(E):{}}function xe(E,A){i.value&&(i.value.setNumberFormat(E,A),h.value[E]=A)}function ae(E,A){i.value&&i.value.mergeNumberFormat(E,A)}const C={get id(){return i.value?i.value.id:-1},locale:w,fallbackLocale:P,messages:T,datetimeFormats:O,numberFormats:L,get inheritLocale(){return i.value?i.value.inheritLocale:o},set inheritLocale(E){i.value&&(i.value.inheritLocale=E)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(d.value)},get modifiers(){return i.value?i.value.modifiers:g},get pluralRules(){return i.value?i.value.pluralRules:y},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:f},set missingWarn(E){i.value&&(i.value.missingWarn=E)},get fallbackWarn(){return i.value?i.value.fallbackWarn:c},set fallbackWarn(E){i.value&&(i.value.missingWarn=E)},get fallbackRoot(){return i.value?i.value.fallbackRoot:m},set fallbackRoot(E){i.value&&(i.value.fallbackRoot=E)},get fallbackFormat(){return i.value?i.value.fallbackFormat:p},set fallbackFormat(E){i.value&&(i.value.fallbackFormat=E)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:k},set warnHtmlMessage(E){i.value&&(i.value.warnHtmlMessage=E)},get escapeParameter(){return i.value?i.value.escapeParameter:S},set escapeParameter(E){i.value&&(i.value.escapeParameter=E)},t:q,getPostTranslationHandler:N,setPostTranslationHandler:F,getMissingHandler:z,setMissingHandler:J,rt:ne,d:re,n:pe,tm:fe,te:ce,getLocaleMessage:ve,setLocaleMessage:Ce,mergeLocaleMessage:B,getDateTimeFormat:Y,setDateTimeFormat:K,mergeDateTimeFormat:te,getNumberFormat:le,setNumberFormat:xe,mergeNumberFormat:ae};function x(E){E.locale.value=l.value,E.fallbackLocale.value=a.value,Object.keys(d.value).forEach(A=>{E.mergeLocaleMessage(A,d.value[A])}),Object.keys(u.value).forEach(A=>{E.mergeDateTimeFormat(A,u.value[A])}),Object.keys(h.value).forEach(A=>{E.mergeNumberFormat(A,h.value[A])}),E.escapeParameter=S,E.fallbackFormat=p,E.fallbackRoot=m,E.fallbackWarn=c,E.missingWarn=f,E.warnHtmlMessage=k}return xl(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Ue(We.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const E=i.value=e.proxy.$i18n.__composer;t==="global"?(l.value=E.locale.value,a.value=E.fallbackLocale.value,d.value=E.messages.value,u.value=E.datetimeFormats.value,h.value=E.numberFormats.value):r&&x(E)}),C}const zp=["locale","fallbackLocale","availableLocales"],Gp=["t","rt","d","n","tm"];function Kp(e,t){const n=Object.create(null);zp.forEach(s=>{const r=Object.getOwnPropertyDescriptor(t,s);if(!r)throw Ue(We.UNEXPECTED_ERROR);const i=Ye(r.value)?{get(){return r.value.value},set(o){r.value.value=o}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,s,i)}),e.config.globalProperties.$i18n=n,Gp.forEach(s=>{const r=Object.getOwnPropertyDescriptor(t,s);if(!r||!r.value)throw Ue(We.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,r)})}pp(bp);mp(Xh);gp(Ql);Ap();if(__INTLIFY_PROD_DEVTOOLS__){const e=ni();e.__INTLIFY__=!0,rp(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const mc=["cookie","future","change-something","picture-bright","picture-nolights"];function vi(e){if(!mc.includes(e))return;let t=new Set(JSON.parse(localStorage.getItem("eastereggs")??"[]"));const n=!t.has(e);t.add(e),localStorage.setItem("eastereggs",JSON.stringify([...t])),n&&document.dispatchEvent(new CustomEvent("easteregg",{detail:e}))}function Ws(){return JSON.parse(localStorage.getItem("eastereggs")??"[]")}function ba(){return Ws().length}function Yp(){return mc.length}const Xp={en:{"cookie policy title":"Cookie policy","cookie policy":"This website uses cookies but not for analysis purposes and they are not sent to third parties. The only cookies here are those that I ate this morning, although I prefer a savory breakfast. I don't know why you are reading this, but thanks for keeping me company, I wish you a great day. If you would like some cookies too, do not hesitate to click on the following link:","cookie policy link":"Click here to read the policy",accept:"Accept",reject:"Reject"},it:{"cookie policy title":"Informativa cookie","cookie policy":"Questo sito utilizza cookie ma non per fini di profilazione e non sono inviati a terze parti. Gli unici cookie presenti sono quelli che ho mangiato questa mattina, anche se in realtà preferisco una colazione salata. Non so perché stai leggendo questo, ma ti ringrazio per avermi fatto compagnia e ti auguro una buona giornata. Se gradisci dei biscotti, non esitare a cliccare l'informativa al seguente link:","cookie policy link":"Clicca qui per l'informativa cookie",accept:"Accetta",reject:"Rifiuta"}},qp={key:0,class:"w-full h-full"},Qp=["width","height"],Jp={ref:"banner",class:"fixed bottom-0 left-0 z-50 bg-slate-200/90 border-slate-700 dark:bg-slate-800/90 dark:border-slate-400 border rounded w-fit lg:w-1/2 p-3 px-5 m-5"},Zp={class:"text-sm"},em={class:"text-xs"},tm={class:"flex justify-end mt-2 text-sm"},nm=he({__name:"Cookie",setup(e){const{t}=be({messages:Xp}),n=_e(),s=_e(),r=_e(zo()),i=_e(u()),o=_e(h());let l=null;ut(()=>{zo()&&(c(),new ResizeObserver(()=>{f()}).observe(document.body))});function a(){dh(),r.value=!1}function d(){hh(),r.value=!1}function u(){return document.body.clientWidth}function h(){return document.body.scrollHeight}function f(){i.value=u(),o.value=h()}function c(){if(!l){l=dt.Engine.create();let _=dt.Render.create({element:n.value,canvas:s.value,engine:l,options:{width:u(),height:h(),wireframes:!1,background:"#00000000"}});dt.Render.run(_),dt.Runner.run(dt.Runner.create(),l)}f()}function m(){if(vi("cookie"),!l)return;let _=dt.Bodies.circle(fh(0,u()),document.documentElement.scrollTop+window.screen.height,30,{render:{sprite:{texture:Kl,xScale:.08,yScale:.08}}});dt.Composite.add(l.world,[_]);const v=.02*_.mass;dt.Body.applyForce(_,_.position,{x:v*(_.position.x>u()/2?-1:1),y:-v*Yl(3,6)}),p(_)}function p(_){_.position.y>document.body.scrollHeight+1e3?dt.Composite.remove(l.world,_):setTimeout(()=>{p(_)},5e3)}return(_,v)=>r.value?(Z(),oe("div",qp,[I("div",{ref_key:"container_cookie",ref:n,class:"absolute top-0 left-0 h-full w-full pointer-events-none z-40"},[I("canvas",{ref_key:"canvas_cookie",ref:s,width:i.value,height:o.value},null,8,Qp)],512),I("div",Jp,[I("p",Zp,Q($(t)("cookie policy title")),1),I("div",em,[I("span",null,[Ie(Q($(t)("cookie policy"))+" ",1),I("button",{onclick:m,class:"underline"},Q($(t)("cookie policy link")),1)])]),I("div",tm,[I("button",{onclick:d,class:"mx-1 hover:text-slate-500 dark:hover:text-slate-300"},Q($(t)("reject")),1),I("button",{onclick:a,class:"rounded p-2 mx-1 bg-slate-300 hover:bg-slate-400 dark:bg-slate-700 dark:hover:bg-slate-600"},Q($(t)("accept")),1)])],512)])):Me("",!0)}}),jn={en:{"easter eggs found":"easter eggs found","all easter eggs found":"You found all easter eggs 🥚","cookie.title":"Who wants a cookie?","cookie.description":"It appears that you read the cookie policy","future.title":"What a wonderful future","future.description":"What will happen next?","bright.title":"It's bright","bright.description":"I don't like the light","bright_either.description":"I don't like the light either","dark.title":"It's dark","dark.description":"I don't like the dark","dark_either.description":"I don't like the dark either","something.title":"You didn't like that?","something.description":"I hope this one is better"},it:{"easter eggs found":"easter egg trovati","all easter eggs found":"Hai trovato tutti gli easter egg 🥚","cookie.title":"Chi vuole un biscotto?","cookie.description":"Sembra che hai letto l'informativa cookie","future.title":"Che bello il futuro","future.description":"Cosa ci riserverà?","bright.title":"È luminoso","bright.description":"Non mi piace la luce","bright_either.description":"Non mi piace nemmeno la luce","dark.title":"È buio","dark.description":"Non mi piace il buio","dark_either.description":"Non mi piace nemmeno il buio","something.title":"Non ti piaceva?","something.description":"Spero che questo sia meglio"}},im={class:"flex justify-center text-sm"},rm={class:"flex items-center justify-center"},sm={class:"w-10 h-10 flex items-center justify-center overflow-hidden"},om=["src"],am={class:"flex-1 ml-2"},lm={class:"font-bold text-base"},cm=he({__name:"Cookie",setup(e){const{t}=be({messages:jn});return(n,s)=>(Z(),oe("div",im,[I("div",rm,[I("div",sm,[I("img",{src:$(Kl),alt:"",class:"h-full w-full"},null,8,om)])]),I("div",am,[I("p",lm,Q($(t)("cookie.title")),1),I("p",null,Q($(t)("cookie.description")),1)])]))}}),um="/assets/future-cbee0ccf.png",fm={class:"flex text-sm"},dm={class:"flex items-center justify-center"},hm={class:"w-10 h-10 flex items-center justify-center overflow-hidden"},pm=["src"],mm={class:"flex-1 ml-2"},gm={class:"font-bold text-base"},vm=he({__name:"Future",setup(e){const{t}=be({messages:jn});return(n,s)=>(Z(),oe("div",fm,[I("div",dm,[I("div",hm,[I("img",{src:$(um),alt:"",class:"h-full w-full"},null,8,pm)])]),I("div",mm,[I("p",gm,Q($(t)("future.title")),1),I("p",null,Q($(t)("future.description")),1)])]))}}),_m="/assets/sad-334039fc.svg",ym={class:"flex text-sm"},xm={class:"flex items-center justify-center"},bm={class:"w-10 h-10 flex items-center justify-center overflow-hidden"},wm=["src"],Em={class:"flex-1 ml-2"},km={class:"font-bold text-base"},Sm=he({__name:"Something",setup(e){const{t}=be({messages:jn});return(n,s)=>(Z(),oe("div",ym,[I("div",xm,[I("div",bm,[I("img",{src:$(_m),alt:"",class:"h-full w-full dark:invert"},null,8,wm)])]),I("div",Em,[I("p",km,Q($(t)("something.title")),1),I("p",null,Q($(t)("something.description")),1)])]))}}),Cm="/assets/sun-2c52867b.png",Am={class:"flex text-sm"},Tm={class:"flex items-center justify-center"},Pm={class:"w-10 h-10 flex items-center justify-center overflow-hidden"},Lm=["src"],Im={class:"flex-1 ml-2"},Om={class:"font-bold text-base"},Mm={key:0},Rm={key:1},Nm=he({__name:"PictureBright",setup(e){const{t}=be({messages:jn}),n=_e(Ws().includes("picture-nolights"));return(s,r)=>(Z(),oe("div",Am,[I("div",Tm,[I("div",Pm,[I("img",{src:$(Cm),alt:"",class:"h-full w-full"},null,8,Lm)])]),I("div",Im,[I("p",Om,Q($(t)("bright.title")),1),n.value?Me("",!0):(Z(),oe("p",Mm,Q($(t)("bright.description")),1)),n.value?(Z(),oe("p",Rm,Q($(t)("bright_either.description")),1)):Me("",!0)])]))}}),$m="/assets/moon-907b4d10.png",Dm={class:"flex text-sm"},Fm={class:"flex items-center justify-center"},Bm={class:"w-10 h-10 flex items-center justify-center overflow-hidden"},Hm=["src"],Wm={class:"flex-1 ml-2"},jm={class:"font-bold text-base"},Um={key:0},Vm={key:1},zm=he({__name:"PictureNoLight",setup(e){const{t}=be({messages:jn}),n=_e(Ws().includes("picture-bright"));return(s,r)=>(Z(),oe("div",Dm,[I("div",Fm,[I("div",Bm,[I("img",{src:$($m),alt:"",class:"h-full w-full"},null,8,Hm)])]),I("div",Wm,[I("p",jm,Q($(t)("dark.title")),1),n.value?Me("",!0):(Z(),oe("p",Um,Q($(t)("dark.description")),1)),n.value?(Z(),oe("p",Vm,Q($(t)("dark_either.description")),1)):Me("",!0)])]))}}),Gm={key:0,class:"fixed top-0 left-0 w-full pointer-events-none z-50"},Km={class:"flex text-sm"},Ym={class:"flex-1"},Xm={class:"mt-1 text-center"},qm={key:0},Qm={key:1},Jm=he({__name:"EastereggBanner",setup(e,{expose:t}){const n=_e(!1),s=_e(""),r=_e(Yp()),i=_e(ba()),{t:o}=be({messages:jn});let l=null;function a(u){s.value=u,i.value=ba(),n.value=!0,l&&clearTimeout(l),l=setTimeout(()=>{d()},7e3)}function d(){n.value=!1}return t({show:a}),(u,h)=>n.value?(Z(),oe("div",Gm,[I("div",{class:Fn(`border rounded-sm mx-auto w-fit max-w-xs md:max-w-md pointer-events-auto + bg-slate-200/90 border-slate-700 dark:bg-slate-800/90 dark:border-slate-400 + transition-opacity ${n.value?"opacity-100 duration-300 p-3 px-5 my-2":"opacity-0 duration-200"}`),onClick:d},[I("div",Km,[I("div",Ym,[s.value==="cookie"?(Z(),Ke(cm,{key:0})):Me("",!0),s.value==="future"?(Z(),Ke(vm,{key:1})):Me("",!0),s.value==="change-something"?(Z(),Ke(Sm,{key:2})):Me("",!0),s.value==="picture-bright"?(Z(),Ke(Nm,{key:3})):Me("",!0),s.value==="picture-nolights"?(Z(),Ke(zm,{key:4})):Me("",!0),I("div",Xm,[i.value!=r.value?(Z(),oe("p",qm,Q(i.value)+"/"+Q(r.value)+" "+Q($(o)("easter eggs found")),1)):Me("",!0),i.value===r.value?(Z(),oe("p",Qm,Q($(o)("all easter eggs found")),1)):Me("",!0)])])])],2)])):Me("",!0)}}),Zm={en:{title_home:"Hello",title_about:"About",title_projects:"Projects",title_resume:"Résumé",title_contacts:"Say hello",log_hello:"Hello 🐡"},it:{title_home:"Ciao",title_about:"Chi sono",title_projects:"Progetti",title_resume:"CV",title_contacts:"Salutami",log_hello:"Ciao 🐡"}},eg={class:"bg-gray-100 text-gray-900 min-h-screen h-full dark:bg-gray-900 dark:text-slate-50",style:{"font-family":"'Comfortaa'","overflow-x":"hidden"}},tg={style:{"margin-right":"calc(-1 * (100vw - 100%))"}},ng={class:"container mx-auto pb-8 px-3 md:px-8 min-h-screen w-screen flex flex-col"},ig=he({__name:"App",setup(e){const{t,locale:n}=be({messages:Zm}),s=Rs(),r=_e();return ut(()=>{Gl(),document.addEventListener("easteregg",i=>{r.value.show(i.detail)}),console.log(t("log_hello"))}),Tt([()=>s.params,n],()=>{document.title=t(`title_${s.name}`)}),(i,o)=>(Z(),oe("div",eg,[I("div",tg,[I("div",ng,[X($(zl))])]),X(nm),X(Jm,{ref_key:"easteregg",ref:r},null,512)]))}}),Yn=he({__name:"NavLink",props:{to:{type:String,required:!0},label:String},setup(e){const t=e,n=Rs(),s=_e(n.path===t.to);return(r,i)=>{const o=ef("router-link");return Z(),oe("li",null,[X(o,{to:t.to,"aria-current":s.value?"page":null,class:Fn(`block py-2 md:p-0 text-right md:text-center + ${s.value?"font-bold text-zinc-900 dark:text-zinc-400":"font-normal hover:underline text-gray-700 dark:text-slate-50"}`)},{default:Re(()=>[Ie(Q(t.label),1)]),_:1},8,["to","aria-current","class"])])}}}),rg="/assets/moon-275e1fc7.svg",sg="/assets/sun-d3368bbf.svg",og={class:"w-5 h-5 flex items-center justify-center"},ag={key:0},lg=["src"],cg={key:1},ug=["src"],fg=he({__name:"ThemeSwitch",setup(e){const t=_e(Ji());function n(){lh(),t.value=Ji(),Gl(t.value)}return(s,r)=>(Z(),oe("button",{class:"rounded-full p-1 hover:bg-slate-200 dark:hover:bg-slate-700",onclick:n},[I("div",og,[t.value==="light"?(Z(),oe("div",ag,[I("img",{src:$(rg),alt:"Dark theme",class:"h-full w-full"},null,8,lg)])):Me("",!0),t.value==="dark"?(Z(),oe("div",cg,[I("img",{src:$(sg),alt:"Light theme",class:"invert h-full w-full"},null,8,ug)])):Me("",!0)])]))}});var dg=function(){function e(t,n){n===void 0&&(n=[]),this._eventType=t,this._eventFunctions=n}return e.prototype.init=function(){var t=this;this._eventFunctions.forEach(function(n){typeof window<"u"&&window.addEventListener(t._eventType,n)})},e}(),Zi=globalThis&&globalThis.__assign||function(){return Zi=Object.assign||function(e){for(var t,n=1,s=arguments.length;n"u")return!1;var t=ft(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Tg(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var s=t.styles[n]||{},r=t.attributes[n]||{},i=t.elements[n];!at(i)||!It(i)||(Object.assign(i.style,s),Object.keys(r).forEach(function(o){var l=r[o];l===!1?i.removeAttribute(o):i.setAttribute(o,l===!0?"":l)}))})}function Pg(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(s){var r=t.elements[s],i=t.attributes[s]||{},o=Object.keys(t.styles.hasOwnProperty(s)?t.styles[s]:n[s]),l=o.reduce(function(a,d){return a[d]="",a},{});!at(r)||!It(r)||(Object.assign(r.style,l),Object.keys(i).forEach(function(a){r.removeAttribute(a)}))})}}const Lg={name:"applyStyles",enabled:!0,phase:"write",fn:Tg,effect:Pg,requires:["computeStyles"]};function Pt(e){return e.split("-")[0]}var mn=Math.max,ir=Math.min,Nn=Math.round;function ls(){var e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Ec(){return!/^((?!chrome|android).)*safari/i.test(ls())}function $n(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var s=e.getBoundingClientRect(),r=1,i=1;t&&at(e)&&(r=e.offsetWidth>0&&Nn(s.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Nn(s.height)/e.offsetHeight||1);var o=gn(e)?ft(e):window,l=o.visualViewport,a=!Ec()&&n,d=(s.left+(a&&l?l.offsetLeft:0))/r,u=(s.top+(a&&l?l.offsetTop:0))/i,h=s.width/r,f=s.height/i;return{width:h,height:f,top:u,right:d+h,bottom:u+f,left:d,x:d,y:u}}function Vs(e){var t=$n(e),n=e.offsetWidth,s=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-s)<=1&&(s=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:s}}function kc(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Us(n)){var s=t;do{if(s&&e.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function Dt(e){return ft(e).getComputedStyle(e)}function Ig(e){return["table","td","th"].indexOf(It(e))>=0}function en(e){return((gn(e)?e.ownerDocument:e.document)||window.document).documentElement}function Sr(e){return It(e)==="html"?e:e.assignedSlot||e.parentNode||(Us(e)?e.host:null)||en(e)}function Sa(e){return!at(e)||Dt(e).position==="fixed"?null:e.offsetParent}function Og(e){var t=/firefox/i.test(ls()),n=/Trident/i.test(ls());if(n&&at(e)){var s=Dt(e);if(s.position==="fixed")return null}var r=Sr(e);for(Us(r)&&(r=r.host);at(r)&&["html","body"].indexOf(It(r))<0;){var i=Dt(r);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return r;r=r.parentNode}return null}function ki(e){for(var t=ft(e),n=Sa(e);n&&Ig(n)&&Dt(n).position==="static";)n=Sa(n);return n&&(It(n)==="html"||It(n)==="body"&&Dt(n).position==="static")?t:n||Og(e)||t}function zs(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ri(e,t,n){return mn(e,ir(t,n))}function Mg(e,t,n){var s=ri(e,t,n);return s>n?n:s}function Sc(){return{top:0,right:0,bottom:0,left:0}}function Cc(e){return Object.assign({},Sc(),e)}function Ac(e,t){return t.reduce(function(n,s){return n[s]=e,n},{})}var Rg=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Cc(typeof t!="number"?t:Ac(t,Ei))};function Ng(e){var t,n=e.state,s=e.name,r=e.options,i=n.elements.arrow,o=n.modifiersData.popperOffsets,l=Pt(n.placement),a=zs(l),d=[it,ct].indexOf(l)>=0,u=d?"height":"width";if(!(!i||!o)){var h=Rg(r.padding,n),f=Vs(i),c=a==="y"?nt:it,m=a==="y"?lt:ct,p=n.rects.reference[u]+n.rects.reference[a]-o[a]-n.rects.popper[u],_=o[a]-n.rects.reference[a],v=ki(i),k=v?a==="y"?v.clientHeight||0:v.clientWidth||0:0,S=p/2-_/2,g=h[c],y=k-f[u]-h[m],b=k/2-f[u]/2+S,w=ri(g,b,y),P=a;n.modifiersData[s]=(t={},t[P]=w,t.centerOffset=w-b,t)}}function $g(e){var t=e.state,n=e.options,s=n.element,r=s===void 0?"[data-popper-arrow]":s;r!=null&&(typeof r=="string"&&(r=t.elements.popper.querySelector(r),!r)||kc(t.elements.popper,r)&&(t.elements.arrow=r))}const Dg={name:"arrow",enabled:!0,phase:"main",fn:Ng,effect:$g,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Dn(e){return e.split("-")[1]}var Fg={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Bg(e){var t=e.x,n=e.y,s=window,r=s.devicePixelRatio||1;return{x:Nn(t*r)/r||0,y:Nn(n*r)/r||0}}function Ca(e){var t,n=e.popper,s=e.popperRect,r=e.placement,i=e.variation,o=e.offsets,l=e.position,a=e.gpuAcceleration,d=e.adaptive,u=e.roundOffsets,h=e.isFixed,f=o.x,c=f===void 0?0:f,m=o.y,p=m===void 0?0:m,_=typeof u=="function"?u({x:c,y:p}):{x:c,y:p};c=_.x,p=_.y;var v=o.hasOwnProperty("x"),k=o.hasOwnProperty("y"),S=it,g=nt,y=window;if(d){var b=ki(n),w="clientHeight",P="clientWidth";if(b===ft(n)&&(b=en(n),Dt(b).position!=="static"&&l==="absolute"&&(w="scrollHeight",P="scrollWidth")),b=b,r===nt||(r===it||r===ct)&&i===_i){g=lt;var T=h&&b===y&&y.visualViewport?y.visualViewport.height:b[w];p-=T-s.height,p*=a?1:-1}if(r===it||(r===nt||r===lt)&&i===_i){S=ct;var O=h&&b===y&&y.visualViewport?y.visualViewport.width:b[P];c-=O-s.width,c*=a?1:-1}}var L=Object.assign({position:l},d&&Fg),N=u===!0?Bg({x:c,y:p}):{x:c,y:p};if(c=N.x,p=N.y,a){var F;return Object.assign({},L,(F={},F[g]=k?"0":"",F[S]=v?"0":"",F.transform=(y.devicePixelRatio||1)<=1?"translate("+c+"px, "+p+"px)":"translate3d("+c+"px, "+p+"px, 0)",F))}return Object.assign({},L,(t={},t[g]=k?p+"px":"",t[S]=v?c+"px":"",t.transform="",t))}function Hg(e){var t=e.state,n=e.options,s=n.gpuAcceleration,r=s===void 0?!0:s,i=n.adaptive,o=i===void 0?!0:i,l=n.roundOffsets,a=l===void 0?!0:l,d={placement:Pt(t.placement),variation:Dn(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Ca(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:a})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ca(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Wg={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Hg,data:{}};var Mi={passive:!0};function jg(e){var t=e.state,n=e.instance,s=e.options,r=s.scroll,i=r===void 0?!0:r,o=s.resize,l=o===void 0?!0:o,a=ft(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&d.forEach(function(u){u.addEventListener("scroll",n.update,Mi)}),l&&a.addEventListener("resize",n.update,Mi),function(){i&&d.forEach(function(u){u.removeEventListener("scroll",n.update,Mi)}),l&&a.removeEventListener("resize",n.update,Mi)}}const Ug={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:jg,data:{}};var Vg={left:"right",right:"left",bottom:"top",top:"bottom"};function Vi(e){return e.replace(/left|right|bottom|top/g,function(t){return Vg[t]})}var zg={start:"end",end:"start"};function Aa(e){return e.replace(/start|end/g,function(t){return zg[t]})}function Gs(e){var t=ft(e),n=t.pageXOffset,s=t.pageYOffset;return{scrollLeft:n,scrollTop:s}}function Ks(e){return $n(en(e)).left+Gs(e).scrollLeft}function Gg(e,t){var n=ft(e),s=en(e),r=n.visualViewport,i=s.clientWidth,o=s.clientHeight,l=0,a=0;if(r){i=r.width,o=r.height;var d=Ec();(d||!d&&t==="fixed")&&(l=r.offsetLeft,a=r.offsetTop)}return{width:i,height:o,x:l+Ks(e),y:a}}function Kg(e){var t,n=en(e),s=Gs(e),r=(t=e.ownerDocument)==null?void 0:t.body,i=mn(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=mn(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),l=-s.scrollLeft+Ks(e),a=-s.scrollTop;return Dt(r||n).direction==="rtl"&&(l+=mn(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:o,x:l,y:a}}function Ys(e){var t=Dt(e),n=t.overflow,s=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+s)}function Tc(e){return["html","body","#document"].indexOf(It(e))>=0?e.ownerDocument.body:at(e)&&Ys(e)?e:Tc(Sr(e))}function si(e,t){var n;t===void 0&&(t=[]);var s=Tc(e),r=s===((n=e.ownerDocument)==null?void 0:n.body),i=ft(s),o=r?[i].concat(i.visualViewport||[],Ys(s)?s:[]):s,l=t.concat(o);return r?l:l.concat(si(Sr(o)))}function cs(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Yg(e,t){var n=$n(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Ta(e,t,n){return t===bc?cs(Gg(e,n)):gn(t)?Yg(t,n):cs(Kg(en(e)))}function Xg(e){var t=si(Sr(e)),n=["absolute","fixed"].indexOf(Dt(e).position)>=0,s=n&&at(e)?ki(e):e;return gn(s)?t.filter(function(r){return gn(r)&&kc(r,s)&&It(r)!=="body"}):[]}function qg(e,t,n,s){var r=t==="clippingParents"?Xg(e):[].concat(t),i=[].concat(r,[n]),o=i[0],l=i.reduce(function(a,d){var u=Ta(e,d,s);return a.top=mn(u.top,a.top),a.right=ir(u.right,a.right),a.bottom=ir(u.bottom,a.bottom),a.left=mn(u.left,a.left),a},Ta(e,o,s));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Pc(e){var t=e.reference,n=e.element,s=e.placement,r=s?Pt(s):null,i=s?Dn(s):null,o=t.x+t.width/2-n.width/2,l=t.y+t.height/2-n.height/2,a;switch(r){case nt:a={x:o,y:t.y-n.height};break;case lt:a={x:o,y:t.y+t.height};break;case ct:a={x:t.x+t.width,y:l};break;case it:a={x:t.x-n.width,y:l};break;default:a={x:t.x,y:t.y}}var d=r?zs(r):null;if(d!=null){var u=d==="y"?"height":"width";switch(i){case Rn:a[d]=a[d]-(t[u]/2-n[u]/2);break;case _i:a[d]=a[d]+(t[u]/2-n[u]/2);break}}return a}function yi(e,t){t===void 0&&(t={});var n=t,s=n.placement,r=s===void 0?e.placement:s,i=n.strategy,o=i===void 0?e.strategy:i,l=n.boundary,a=l===void 0?gg:l,d=n.rootBoundary,u=d===void 0?bc:d,h=n.elementContext,f=h===void 0?Xn:h,c=n.altBoundary,m=c===void 0?!1:c,p=n.padding,_=p===void 0?0:p,v=Cc(typeof _!="number"?_:Ac(_,Ei)),k=f===Xn?vg:Xn,S=e.rects.popper,g=e.elements[m?k:f],y=qg(gn(g)?g:g.contextElement||en(e.elements.popper),a,u,o),b=$n(e.elements.reference),w=Pc({reference:b,element:S,strategy:"absolute",placement:r}),P=cs(Object.assign({},S,w)),T=f===Xn?P:b,O={top:y.top-T.top+v.top,bottom:T.bottom-y.bottom+v.bottom,left:y.left-T.left+v.left,right:T.right-y.right+v.right},L=e.modifiersData.offset;if(f===Xn&&L){var N=L[r];Object.keys(O).forEach(function(F){var z=[ct,lt].indexOf(F)>=0?1:-1,J=[nt,lt].indexOf(F)>=0?"y":"x";O[F]+=N[J]*z})}return O}function Qg(e,t){t===void 0&&(t={});var n=t,s=n.placement,r=n.boundary,i=n.rootBoundary,o=n.padding,l=n.flipVariations,a=n.allowedAutoPlacements,d=a===void 0?wc:a,u=Dn(s),h=u?l?ka:ka.filter(function(m){return Dn(m)===u}):Ei,f=h.filter(function(m){return d.indexOf(m)>=0});f.length===0&&(f=h);var c=f.reduce(function(m,p){return m[p]=yi(e,{placement:p,boundary:r,rootBoundary:i,padding:o})[Pt(p)],m},{});return Object.keys(c).sort(function(m,p){return c[m]-c[p]})}function Jg(e){if(Pt(e)===js)return[];var t=Vi(e);return[Aa(e),t,Aa(t)]}function Zg(e){var t=e.state,n=e.options,s=e.name;if(!t.modifiersData[s]._skip){for(var r=n.mainAxis,i=r===void 0?!0:r,o=n.altAxis,l=o===void 0?!0:o,a=n.fallbackPlacements,d=n.padding,u=n.boundary,h=n.rootBoundary,f=n.altBoundary,c=n.flipVariations,m=c===void 0?!0:c,p=n.allowedAutoPlacements,_=t.options.placement,v=Pt(_),k=v===_,S=a||(k||!m?[Vi(_)]:Jg(_)),g=[_].concat(S).reduce(function(Ce,B){return Ce.concat(Pt(B)===js?Qg(t,{placement:B,boundary:u,rootBoundary:h,padding:d,flipVariations:m,allowedAutoPlacements:p}):B)},[]),y=t.rects.reference,b=t.rects.popper,w=new Map,P=!0,T=g[0],O=0;O=0,J=z?"width":"height",U=yi(t,{placement:L,boundary:u,rootBoundary:h,altBoundary:f,padding:d}),q=z?F?ct:it:F?lt:nt;y[J]>b[J]&&(q=Vi(q));var ne=Vi(q),re=[];if(i&&re.push(U[N]<=0),l&&re.push(U[q]<=0,U[ne]<=0),re.every(function(Ce){return Ce})){T=L,P=!1;break}w.set(L,re)}if(P)for(var pe=m?3:1,fe=function(B){var Y=g.find(function(K){var te=w.get(K);if(te)return te.slice(0,B).every(function(le){return le})});if(Y)return T=Y,"break"},ce=pe;ce>0;ce--){var ve=fe(ce);if(ve==="break")break}t.placement!==T&&(t.modifiersData[s]._skip=!0,t.placement=T,t.reset=!0)}}const ev={name:"flip",enabled:!0,phase:"main",fn:Zg,requiresIfExists:["offset"],data:{_skip:!1}};function Pa(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function La(e){return[nt,ct,lt,it].some(function(t){return e[t]>=0})}function tv(e){var t=e.state,n=e.name,s=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,o=yi(t,{elementContext:"reference"}),l=yi(t,{altBoundary:!0}),a=Pa(o,s),d=Pa(l,r,i),u=La(a),h=La(d);t.modifiersData[n]={referenceClippingOffsets:a,popperEscapeOffsets:d,isReferenceHidden:u,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":h})}const nv={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:tv};function iv(e,t,n){var s=Pt(e),r=[it,nt].indexOf(s)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,o=i[0],l=i[1];return o=o||0,l=(l||0)*r,[it,ct].indexOf(s)>=0?{x:l,y:o}:{x:o,y:l}}function rv(e){var t=e.state,n=e.options,s=e.name,r=n.offset,i=r===void 0?[0,0]:r,o=wc.reduce(function(u,h){return u[h]=iv(h,t.rects,i),u},{}),l=o[t.placement],a=l.x,d=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=a,t.modifiersData.popperOffsets.y+=d),t.modifiersData[s]=o}const sv={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:rv};function ov(e){var t=e.state,n=e.name;t.modifiersData[n]=Pc({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const av={name:"popperOffsets",enabled:!0,phase:"read",fn:ov,data:{}};function lv(e){return e==="x"?"y":"x"}function cv(e){var t=e.state,n=e.options,s=e.name,r=n.mainAxis,i=r===void 0?!0:r,o=n.altAxis,l=o===void 0?!1:o,a=n.boundary,d=n.rootBoundary,u=n.altBoundary,h=n.padding,f=n.tether,c=f===void 0?!0:f,m=n.tetherOffset,p=m===void 0?0:m,_=yi(t,{boundary:a,rootBoundary:d,padding:h,altBoundary:u}),v=Pt(t.placement),k=Dn(t.placement),S=!k,g=zs(v),y=lv(g),b=t.modifiersData.popperOffsets,w=t.rects.reference,P=t.rects.popper,T=typeof p=="function"?p(Object.assign({},t.rects,{placement:t.placement})):p,O=typeof T=="number"?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),L=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,N={x:0,y:0};if(b){if(i){var F,z=g==="y"?nt:it,J=g==="y"?lt:ct,U=g==="y"?"height":"width",q=b[g],ne=q+_[z],re=q-_[J],pe=c?-P[U]/2:0,fe=k===Rn?w[U]:P[U],ce=k===Rn?-P[U]:-w[U],ve=t.elements.arrow,Ce=c&&ve?Vs(ve):{width:0,height:0},B=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Sc(),Y=B[z],K=B[J],te=ri(0,w[U],Ce[U]),le=S?w[U]/2-pe-te-Y-O.mainAxis:fe-te-Y-O.mainAxis,xe=S?-w[U]/2+pe+te+K+O.mainAxis:ce+te+K+O.mainAxis,ae=t.elements.arrow&&ki(t.elements.arrow),C=ae?g==="y"?ae.clientTop||0:ae.clientLeft||0:0,x=(F=L==null?void 0:L[g])!=null?F:0,E=q+le-x-C,A=q+xe-x,M=ri(c?ir(ne,E):ne,q,c?mn(re,A):re);b[g]=M,N[g]=M-q}if(l){var H,j=g==="x"?nt:it,V=g==="x"?lt:ct,G=b[y],W=y==="y"?"height":"width",R=G+_[j],D=G-_[V],ie=[nt,it].indexOf(v)!==-1,se=(H=L==null?void 0:L[y])!=null?H:0,de=ie?R:G-w[W]-P[W]-se+O.altAxis,Ee=ie?G+w[W]+P[W]-se-O.altAxis:D,ye=c&&ie?Mg(de,G,Ee):ri(c?de:R,G,c?Ee:D);b[y]=ye,N[y]=ye-G}t.modifiersData[s]=N}}const uv={name:"preventOverflow",enabled:!0,phase:"main",fn:cv,requiresIfExists:["offset"]};function fv(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function dv(e){return e===ft(e)||!at(e)?Gs(e):fv(e)}function hv(e){var t=e.getBoundingClientRect(),n=Nn(t.width)/e.offsetWidth||1,s=Nn(t.height)/e.offsetHeight||1;return n!==1||s!==1}function pv(e,t,n){n===void 0&&(n=!1);var s=at(t),r=at(t)&&hv(t),i=en(t),o=$n(e,r,n),l={scrollLeft:0,scrollTop:0},a={x:0,y:0};return(s||!s&&!n)&&((It(t)!=="body"||Ys(i))&&(l=dv(t)),at(t)?(a=$n(t,!0),a.x+=t.clientLeft,a.y+=t.clientTop):i&&(a.x=Ks(i))),{x:o.left+l.scrollLeft-a.x,y:o.top+l.scrollTop-a.y,width:o.width,height:o.height}}function mv(e){var t=new Map,n=new Set,s=[];e.forEach(function(i){t.set(i.name,i)});function r(i){n.add(i.name);var o=[].concat(i.requires||[],i.requiresIfExists||[]);o.forEach(function(l){if(!n.has(l)){var a=t.get(l);a&&r(a)}}),s.push(i)}return e.forEach(function(i){n.has(i.name)||r(i)}),s}function gv(e){var t=mv(e);return Ag.reduce(function(n,s){return n.concat(t.filter(function(r){return r.phase===s}))},[])}function vv(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function _v(e){var t=e.reduce(function(n,s){var r=n[s.name];return n[s.name]=r?Object.assign({},r,s,{options:Object.assign({},r.options,s.options),data:Object.assign({},r.data,s.data)}):s,n},{});return Object.keys(t).map(function(n){return t[n]})}var Ia={placement:"bottom",modifiers:[],strategy:"absolute"};function Oa(){for(var e=arguments.length,t=new Array(e),n=0;n